Documentation

CslibFrontier.Foundations.Data.Code.ProximityGap.Johnson.Recurrence

Step 5: Universal Power-Series-Free Taylor Recurrence (recPoly) #

Defines the γ²-scaled Hensel-lift recurrence polynomials N_n(Z, Y) ∈ F[Z][Y] (recPoly) without PowerSeries imports, proves weighted/total Z-degree and Y-degree bounds using DegBound, and establishes exact coefficient specialization for polynomial roots of S.

Main definitions and results #

noncomputable def Cslib.Code.ProximityGap.shiftedCoeff {F : Type u_1} [Field F] (S : Polynomial (Polynomial (Polynomial F))) (x₀ : F) (a : ℕ) :

Coefficient S̃_a(Z, Y) ∈ F[Z][Y] of (X - x₀)^a in S(Z, X + x₀, Y).

theorem Cslib.Code.ProximityGap.taylor_eval_map_eq_sum {F : Type u_1} [Field F] {A : Type u_2} [CommRing A] (ψ : Polynomial F →+* A) (S : Polynomial (Polynomial (Polynomial F))) (x₀ : F) {w D : ℕ} (hS_wd : ∀ (a b : ℕ), (S.coeff b).coeff a ≠ 0 → a + w * b ≤ D) (P : Polynomial A) :

Shifting S(Z, X, P(X)) by x₀ after mapping F[Z] →+* A matches evaluating Sshift at taylor (ψ (C x₀)) P.

@[irreducible]
noncomputable def Cslib.Code.ProximityGap.recPoly {F : Type u_1} [Field F] (S : Polynomial (Polynomial (Polynomial F))) (x₀ : F) (s : ℕ) :

Universal γ²-scaled Taylor recurrence polynomials N_n(Z, Y) ∈ F[Z][Y] (zero PowerSeries).

theorem Cslib.Code.ProximityGap.degZ₂_recPoly_le {F : Type u_1} [Field F] {S : Polynomial (Polynomial (Polynomial F))} {x₀ : F} {s B_Z : ℕ} (hS_degZ : degZ S ≤ B_Z) (n : ℕ) :
1 ≤ n → degZ₂ (recPoly S x₀ s n) ≤ (2 * n - 1) * B_Z
theorem Cslib.Code.ProximityGap.natDegree_recPoly_le {F : Type u_1} [Field F] {S : Polynomial (Polynomial (Polynomial F))} {x₀ : F} {s : ℕ} (hS_deg : S.natDegree ≤ s) (n : ℕ) :
1 ≤ n → (recPoly S x₀ s n).natDegree ≤ (2 * n - 1) * s
theorem Cslib.Code.ProximityGap.coeff_eq_map_recPoly {F : Type u_1} [Field F] {A : Type u_2} [CommRing A] [IsDomain A] {S : Polynomial (Polynomial (Polynomial F))} {x₀ : F} {s w D : ℕ} (hs1 : 1 ≤ s) (hS_deg : S.natDegree ≤ s) (hS_wd : ∀ (a b : ℕ), (S.coeff b).coeff a ≠ 0 → a + w * b ≤ D) (φ : Polynomial (Polynomial F) →+* A) (hγ_ne : φ (Polynomial.derivative (Polynomial.map (Polynomial.evalRingHom (Polynomial.C x₀)) S)) ≠ 0) {W : Polynomial A} (hW0 : W.coeff 0 = φ Polynomial.X) (hWeq : ∑ a ∈ Finset.range (D + 1), Polynomial.eval₂ (Polynomial.C.comp (φ.comp Polynomial.C)) W (shiftedCoeff S x₀ a) * Polynomial.X ^ a = 0) (n : ℕ) :
1 ≤ n → φ (Polynomial.derivative (Polynomial.map (Polynomial.evalRingHom (Polynomial.C x₀)) S)) ^ (2 * n - 1) * W.coeff n = φ (recPoly S x₀ s n)

Specialization uniqueness: for any domain homomorphism φ : F[Z][Y] →+* A with φ S₀ = 0 and φ γ ≠ 0, any polynomial W ∈ A[X] solving ∑_a S̃_a(W) X^a = 0 with W(0) = φ Y satisfies (φ γ)^(2 n - 1) * W.coeff n = φ (N_n) for every n ≥ 1.