Documentation

CslibFrontier.Foundations.Data.MvPolynomial.LowDegreeRoot

A closed formula for the low-degree part of a root #

Let P (x, y) be a polynomial over a field F of characteristic zero and f (x) a polynomial with P (x, f) = 0.

Simple root at the origin (MvPolynomial.truncateTotalDegree_root_eq). If f (0) = 0 and a = (∂P/∂y) (0, 0) ≠ 0, then for every D, with G = y - P / a,

f_{≤ D} = (∑ m ∈ {1, …, 2 D + 2}, (1 / m) [y ^ (m - 1)] G ^ m)_{≤ D},

where the subscript is the truncation to total degree at most D (MvPolynomial.truncateTotalDegree) and [y ^ j] is the coefficient of y ^ j. This is Lagrange inversion (Polynomial.sub_sum_coeff_pow_mem_of_eval_eq) for the ideal of the variables, whose n-th power consists of the polynomials vanishing to order n at the origin (Mathlib's MvPolynomial.idealOfVars). It is the formula for power-series roots of Bhattacharjee, Kumar, Rai, Ramanathan, Saptharishi and Saraf [BhattacharjeeEtAl2025, Corollary 3.3 and Theorem 4.1], for a polynomial root and without the scaling x ↦ t x.

Any root (MvPolynomial.exists_shift_eq_truncate_sum_of_root). For P ≠ 0 some iterated y-derivative of P has f as a root with nonvanishing next derivative (exists_iterate_derivative_eval_ne_zero); shifting x to a point x₀ where that derivative does not vanish at f, and y by f (x₀), reduces to the first case.

The point of the formula for circuit complexity is that the root is obtained from P by powers, coefficients in y and a truncation, with no iteration: a root of a polynomial with a small formula of constant depth has a small formula of constant depth.

Main results #

References #

Order of vanishing at the origin #

A polynomial is in the ideal of the variables exactly when it has no constant term.

theorem MvPolynomial.truncateTotalDegree_eq_of_sub_mem {σ : Type u_1} {F : Type u_2} [Field F] {d : ℕ} {p q : MvPolynomial σ F} (h : p - q ∈ idealOfVars σ F ^ (d + 1)) :

Polynomials that agree to order d + 1 have the same truncation to degree at most d.

A simple root at the origin #

theorem MvPolynomial.truncateTotalDegree_root_eq {σ : Type u_1} {F : Type u_2} [Field F] [CharZero F] {P : Polynomial (MvPolynomial σ F)} {f : MvPolynomial σ F} (hf0 : constantCoeff f = 0) (hroot : Polynomial.eval f P = 0) (ha : constantCoeff (P.coeff 1) ≠ 0) (D : ℕ) :

The low-degree part of a simple root at the origin. Let P be a polynomial in y over F[x], in characteristic zero, and f a polynomial without constant term with P (f) = 0. If the constant term a of the coefficient of y in P is not zero, then the truncation of f to degree at most D is the truncation of ∑ m ∈ {1, …, 2 D + 2}, (1 / m) [y ^ (m - 1)] (y - P / a) ^ m.

Any root #

theorem MvPolynomial.exists_iterate_derivative_eval_ne_zero {σ : Type u_1} {F : Type u_2} [Field F] [CharZero F] {P : Polynomial (MvPolynomial σ F)} (hP : P ≠ 0) {f : MvPolynomial σ F} (hroot : Polynomial.eval f P = 0) :

In characteristic zero a root f of a nonzero polynomial P is a root of some iterated derivative of P whose next derivative does not vanish at f.

theorem MvPolynomial.exists_shift_eq_truncate_sum_of_root {σ : Type u_1} {F : Type u_2} [Field F] [CharZero F] {P : Polynomial (MvPolynomial σ F)} (hP : P ≠ 0) {f : MvPolynomial σ F} (hroot : Polynomial.eval f P = 0) :
∃ (j : ℕ) (x₀ : σ → F), constantCoeff (((Polynomial.taylor (C ((eval x₀) f))) (Polynomial.map (shift x₀).toRingHom ((⇑Polynomial.derivative)^[j] P))).coeff 1) ≠ 0 ∧ ∀ (D : ℕ), f.totalDegree ≤ D → (shift x₀) f = C ((eval x₀) f) + truncateTotalDegree D (∑ m ∈ Finset.range (2 * (D + 1)), (↑m + 1)⁻¹ • ((Polynomial.X - Polynomial.C (C (constantCoeff (((Polynomial.taylor (C ((eval x₀) f))) (Polynomial.map (shift x₀).toRingHom ((⇑Polynomial.derivative)^[j] P))).coeff 1))⁻¹) * (Polynomial.taylor (C ((eval x₀) f))) (Polynomial.map (shift x₀).toRingHom ((⇑Polynomial.derivative)^[j] P))) ^ (m + 1)).coeff m)

The low-degree part of any root. Let P ≠ 0 be a polynomial in y over F[x], in characteristic zero, and f a polynomial with P (f) = 0. Then for some j and some point x₀, with Q the j-th y-derivative of P shifted by x₀ in x and by f (x₀) in y, the constant term a of the coefficient of y in Q is not zero and, for every D at least the total degree of f, f (x + x₀) = f (x₀) + (∑ m ∈ {1, …, 2 D + 2}, (1 / m) [y ^ (m - 1)] (y - Q / a) ^ m)_{≤ D}.