Documentation

HexPolyZTheory.Squarefree

A dense polynomial stores at most one coefficient exactly when its Mathlib image has natural degree zero.

@[simp]

Coefficients of the rational cast are the rational casts of the integer coefficients.

Evaluation of the rational cast is the degree-indexed coefficient sum.

The rational cast of a nonzero executable polynomial is nonzero.

For a nonzero executable integer polynomial, the executable rational-gcd test is equivalent to squarefreeness of its rational cast.

Passing to the executable square-free core preserves every complex root of a nonzero integer polynomial.