Documentation

HexNumberFieldMathlib.IntegerSelection

Exactifying the lazy isolations recovers the canonical integer-root computation.

Every integer polynomial has a successfully certified lazy root list.

theorem Hex.RootSelection.integerRoots?_mem (p : ZPoly) (hp : p ≠ 0) {roots : Array AlgebraicRoot} (h : integerRoots? p = some roots) (z : ℂ) :
(∃ r ∈ roots.toList, r.toComplex = z) ↔ (HexRootsMathlib.toPolyℂ p).IsRoot z

The lazy list contains exactly the complex roots of a nonzero integer polynomial.