The algebraic-coefficient root driver always produces a checked root set.
The total algebraic-coefficient root API is exactly the output of its checked driver.
The algebraic-coefficient driver returns .all exactly for the zero
polynomial.
Semantic membership in the algebraic-coefficient output is exactly polynomial vanishing.
Algebraic-coefficient root multiplicities agree with Mathlib.
The algebraic-coefficient driver produces positive multiplicities.
The algebraic-coefficient driver merges all semantic duplicates.
The algebraic-coefficient driver uses its deterministic canonical order.
theorem
Hex.AlgebraicPoly.totalMultiplicity_roots
(f : AlgebraicPoly)
(hfPolynomial : f.toPolynomial ≠ 0)
:
For a nonzero algebraic-coefficient polynomial, output multiplicities sum to its degree.