Documentation

CslibFrontier.Foundations.Data.MvPolynomial.Degrees

Total-degree bounds without nontriviality assumptions, and the degree vector #

A formal variable has total degree at most one, even over the trivial coefficient semiring. Mapping coefficients cannot increase total degree, whether or not the coefficient map is injective. These bounds support divided differences and residue specialization without importing an application of the degree calculus.

The degree vector degreeVec F : σ →₀ ℕ collects the degrees degreeOf i F of F in each variable (degreeVec_apply). Every monomial of F lies below it (le_degreeVec), so the monomials of F lie in the degree box Iic (degreeVec F).

theorem MvPolynomial.totalDegree_X_le {ι : Type u_1} {R : Type u_2} [CommSemiring R] (i : ι) :

Every formal variable X i has total degree at most 1, without requiring Nontrivial R.

theorem MvPolynomial.totalDegree_X_mul_X_le {ι : Type u_1} {R : Type u_2} [CommSemiring R] (i j : ι) :
(X i * X j).totalDegree ≤ 2

The product of two variables has total degree at most two.

theorem MvPolynomial.totalDegree_map_le {S : Type u_1} {T : Type u_2} {σ : Type u_3} [CommSemiring S] [CommSemiring T] (φ : S →+* T) (v : MvPolynomial σ S) :

Mapping coefficients cannot increase total degree, even when coefficients vanish.

noncomputable def MvPolynomial.degreeVec {σ : Type u_1} {R : Type u_2} [CommSemiring R] [DecidableEq σ] (F : MvPolynomial σ R) :

The degree vector of F: its degree degreeOf i F in each variable i.

@[simp]
theorem MvPolynomial.degreeVec_apply {σ : Type u_1} {R : Type u_2} [CommSemiring R] [DecidableEq σ] (F : MvPolynomial σ R) (i : σ) :
theorem MvPolynomial.le_degreeVec {σ : Type u_1} {R : Type u_2} [CommSemiring R] [DecidableEq σ] {F : MvPolynomial σ R} {s : σ →₀ ℕ} (hs : s ∈ F.support) :

Every monomial of F lies coordinatewise below the degree vector of F.