Low degree is fast: the quadratic equations of the series #
For a polynomial p computed within s ≤ 2 ^ M nodes (Arithmetic.ComputedWithin), the parts of
positive degree of the gates along a line (LowDegree.ser) are power series. They satisfy quadratic
equations whose constants are indexed by numbers below 2 ^ M (LowDegree.exists_series). The list
of gates comes from Arithmetic.ComputedWithin.exists_steps. LowDegree.W sums the coefficients of
products of the series.
From VP ≠ VNP over every field [Ant26], module Nc.Acc.LowDeg.
Main definitions #
Main results #
noncomputable def Cslib.Circuits.Arithmetic.Separation.LowDegree.ser {F : Type u_1} [CommRing F] {σ : Type u_2} (u : σ → F) (q : MvPolynomial σ F) :
The parts of positive degree along the line.
theorem Cslib.Circuits.Arithmetic.Separation.LowDegree.exists_series {F : Type u_1} [CommRing F] {σ : Type u_2} {s : ℕ} [Fintype σ] {p : MvPolynomial σ F} {M : ℕ} (hp : ComputedWithin p s) (hs : s ≤ 2 ^ M) :
∃ (κ : ℕ → ℕ → ℕ → F) (lam : ℕ → σ → F) (P : ℕ → MvPolynomial σ F),
∃ out < 2 ^ M,
P out = p ∧ ∀ (u : σ → F) (g : ℕ),
ser u (P g) = PowerSeries.C (∑ i : σ, lam g i * u i) + PowerSeries.X * ∑ l ∈ Finset.range (2 ^ M),
∑ r ∈ Finset.range (2 ^ M), PowerSeries.C (κ g l r) * (ser u (P l) * ser u (P r))
The quadratic equations.
noncomputable def Cslib.Circuits.Arithmetic.Separation.LowDegree.W {F : Type u_1} [CommRing F] (E : ℕ → PowerSeries F) (b : ℕ) (gs : List ℕ) :
F
The sum of the coefficients of degree at most b of a product.
theorem Cslib.Circuits.Arithmetic.Separation.LowDegree.W_cons {F : Type u_1} [CommRing F] {E : ℕ → PowerSeries F} {g : ℕ} {a : F} {n : ℕ} {κ : ℕ → ℕ → F} (h :
E g = PowerSeries.C a + PowerSeries.X * ∑ l ∈ Finset.range n, ∑ r ∈ Finset.range n, PowerSeries.C (κ l r) * (E l * E r)) (b : ℕ) (gs : List ℕ) :
theorem Cslib.Circuits.Arithmetic.Separation.LowDegree.sum_coeff_line {F : Type u_1} [CommRing F] {σ : Type u_2} (u : σ → F) (P : ℕ → MvPolynomial σ F) (out N : ℕ) (hN : 0 < N) :
∑ i ∈ Finset.range (N + 1), ((MvPolynomial.line u) (P out)).coeff i = MvPolynomial.constantCoeff (P out) + W (fun (g : ℕ) => ser u (P g)) (N - 1) [out]
The parts of degree at most N.