Documentation

CslibFrontier.Foundations.Data.MvPolynomial.AffineLine

Restricting a multivariate polynomial to an affine line #

Substituting uᵢ + t vᵢ for each variable gives a univariate polynomial: the algebra homomorphism MvPolynomial.affineLineHom u v, applied to P in MvPolynomial.restrictAffineLine. Its degree is bounded by the total degree, by the sum of individual degrees of the moving coordinates, and by the degree of the single variable in the axis-parallel case. The line through 0 in direction u is MvPolynomial.line (CslibFrontier/Foundations/RingTheory/MvPolynomial/Line.lean).

noncomputable def MvPolynomial.affineLineHom {ι : Type u_1} {R : Type u_2} [CommSemiring R] (u v : ι → R) :

Evaluation on the parameterized affine line u + t • v, as an algebra homomorphism to univariate polynomials in t.

noncomputable def MvPolynomial.restrictAffineLine {ι : Type u_1} {R : Type u_2} [CommSemiring R] (P : MvPolynomial ι R) (u v : ι → R) :

Polynomial obtained by evaluating P on the parameterized affine line u + t • v.

theorem MvPolynomial.eval_restrictAffineLine {ι : Type u_1} {R : Type u_2} [CommSemiring R] (P : MvPolynomial ι R) (u v : ι → R) (t : R) :
theorem MvPolynomial.natDegree_restrictAffineLine_le {ι : Type u_1} {R : Type u_2} [CommSemiring R] (P : MvPolynomial ι R) (u v : ι → R) :

Restriction to any affine line has degree at most the total degree.

theorem MvPolynomial.natDegree_restrictAffineLine_le_sum_degreeOf {ι : Type u_1} {R : Type u_2} [CommSemiring R] [Fintype ι] [DecidableEq R] (P : MvPolynomial ι R) (u v : ι → R) :
(P.restrictAffineLine u v).natDegree ≤ ∑ i : ι with v i ≠ 0, degreeOf i P

Only variables with nonzero direction coordinates contribute to the degree.

theorem MvPolynomial.natDegree_restrictAffineLine_single_le {ι : Type u_1} {R : Type u_2} [CommSemiring R] [DecidableEq ι] (P : MvPolynomial ι R) (u : ι → R) (i : ι) :

Axis-parallel restriction has degree at most that of the moving variable.