Documentation

HexResultantMathlib.Basic

Horner evaluation of a dense polynomial agrees with evaluation after conversion to Mathlib's polynomial representation.

noncomputable def Hex.DensePoly.specialize {R : Type u} [CommRing R] [DecidableEq R] (f : DensePoly (DensePoly R)) (a : R) :

Specialize the coefficient variable of a dense bivariate polynomial while retaining its outer polynomial variable.

Equations
Instances For
    @[simp]
    theorem Hex.DensePoly.coeff_specialize {R : Type u} [CommRing R] [DecidableEq R] (f : DensePoly (DensePoly R)) (a : R) (n : ) :
    (f.specialize a).coeff n = (f.coeff n).eval a

    Specialization evaluates each stored coefficient, with the dense zero extension supplying the coefficients outside the stored range.

    @[simp]
    theorem Hex.DensePoly.specialize_zero {R : Type u} [CommRing R] [DecidableEq R] (a : R) :

    The zero dense polynomial specializes to the zero Mathlib polynomial.

    noncomputable def Hex.DensePoly.evalBivariate {R : Type u} [CommRing R] [DecidableEq R] (f : DensePoly (DensePoly R)) (a b : R) :
    R

    Evaluate a dense bivariate polynomial at (a, b).

    Equations
    Instances For