Documentation

CslibFrontier.Foundations.RingTheory.MvPolynomial.Line

A multivariate polynomial along a line #

MvPolynomial.line u p is the univariate polynomial t ↦ p (t • u): the restriction of p to the line through 0 and u, the case of origin 0 of MvPolynomial.affineLineHom (CslibFrontier/Foundations/Data/MvPolynomial/AffineLine.lean). Its constant coefficient is that of p (MvPolynomial.coeff_zero_line), and its value at 1 is the value of p at u (MvPolynomial.eval_one_line); for a polynomial of low degree that value is the sum of its first coefficients along the line (MvPolynomial.sum_coeff_line_eq_eval). Polynomial.coeff_mul_succ splits a positive coefficient of a product into the parts that involve a constant coefficient and the rest.

Along a line, the coefficient of degree i of p is the value at the point of its homogeneous part of degree i (MvPolynomial.coeff_line).

From the proof of Lemma K.2 of VP ≠ VNP over every field [Ant26], modules Nc.LowDegree, Nc.Acc.Line and Paper.LowDeg (line_coeff_eq).

Main definitions #

Main results #

noncomputable def MvPolynomial.line {F : Type u_1} [CommSemiring F] {σ : Type u_2} (u : σ → F) :

p along the line through 0 and u: the polynomial t ↦ p (t • u), the affine line 0 + t • u.

theorem MvPolynomial.line_apply {F : Type u_1} [CommSemiring F] {σ : Type u_2} (u : σ → F) (p : MvPolynomial σ F) :
@[simp]
theorem MvPolynomial.line_X {F : Type u_1} [CommSemiring F] {σ : Type u_2} (u : σ → F) (i : σ) :
theorem MvPolynomial.coeff_zero_line {F : Type u_1} [CommSemiring F] {σ : Type u_2} (u : σ → F) (p : MvPolynomial σ F) :

The constant coefficient along a line is the constant coefficient.

theorem MvPolynomial.eval_one_line {F : Type u_1} [CommSemiring F] {σ : Type u_2} (u : σ → F) (p : MvPolynomial σ F) :
Polynomial.eval 1 ((line u) p) = (eval u) p

At t = 1 the line passes through u.

theorem MvPolynomial.sum_coeff_line_eq_eval {F : Type u_1} [CommSemiring F] {σ : Type u_2} (u : σ → F) (p : MvPolynomial σ F) {d n : ℕ} (hd : p.totalDegree ≤ d) (hn : d < n) :
∑ i ∈ Finset.range n, ((line u) p).coeff i = (eval u) p

A polynomial of total degree at most d is the sum of its first n > d coefficients along any line, evaluated at 1.

theorem MvPolynomial.coeff_line {F : Type u_1} [CommSemiring F] {σ : Type u_2} (u : σ → F) (p : MvPolynomial σ F) (i : ℕ) :
((line u) p).coeff i = (eval u) ((homogeneousComponent i) p)

The part of degree i is what the point scales by the ith power.

theorem Polynomial.coeff_mul_succ {F : Type u_1} [CommSemiring F] (a b : Polynomial F) (m : ℕ) :
(a * b).coeff (m + 1) = a.coeff 0 * b.coeff (m + 1) + b.coeff 0 * a.coeff (m + 1) + ∑ j ∈ Finset.range m, a.coeff (j + 1) * b.coeff (m - j)

A positive coefficient of a product: the two terms with a constant coefficient, and the products of positive coefficients.