Documentation

CslibFrontier.Foundations.Data.MvPolynomial.FirstVariable

First-variable coefficient polynomials #

Viewing a multivariate polynomial as univariate in coordinate zero gives coefficient polynomials in the remaining coordinates. The evaluation agrees with successive substitution, and each coefficient inherits the original degree and coefficient norm bounds.

Adapted from FirstVariableCoefficients in lean-canny at 970f28a5ecefc1327402ade16c068aa4b1b2c183.

theorem MvPolynomial.eval₂_finSuccEquiv {n : ℕ} {R : Type u_1} {S : Type u_2} [CommSemiring R] [CommSemiring S] (f : R →+* S) (y : S) (x : Fin n → S) (P : MvPolynomial (Fin (n + 1)) R) :

Evaluating the polynomial split at coordinate zero agrees with evaluating the original multivariate polynomial at the assembled point.

Removing the first variable cannot increase the total degree of a coefficient.

Each coefficient polynomial uses a subset of the integer coefficients of the input.