Documentation

HexPolyZMathlib.Squarefree

@[reducible, inline]

The rational cast of an executable integer polynomial.

Equations
Instances For

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

    toRatPoly corresponds to the rational cast under toPolynomial.

    @[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.