Step 7: Weighted Double Counting and Lagrange Interpolation #
Converts the algebraic-closure lifted polynomial and surviving scalar set T'' into
correlated Reed–Solomon codewords v : Fin (r + 1) → (ι → F) agreeing on a common heavy set
D' via weighted double counting and Lagrange interpolation.
Main results #
Cslib.Code.ProximityGap.exists_correlatedAgreement_of_lifted_poly: extracts the final correlated-agreement subset and codeword tuple.
theorem Cslib.Code.ProximityGap.exists_correlatedAgreement_of_lifted_poly {F : Type u_1} [Field F] {ι : Type u_2} [Fintype ι] [DecidableEq F] {α : ι → F} (hα : Function.Injective α) {k r d D B_Z D_Y M W_tot B_W μ : ℕ} (hk : 1 ≤ k) (hd : d = k - 1) (hM : 0 < M) {W : ι → ℕ} (hW_le : ∀ (i : ι), W i ≤ M) (hW_sum : ∑ i : ι, W i ≤ W_tot) (hk_le_t : k ≤ (B_W + M - 1) / M) {u : Fin (r + 1) → ι → F} {S : Polynomial (Polynomial (Polynomial F))} {Fstar : Polynomial (Polynomial F)} {x₀ : F} {T'' : Finset F} (hT''_card : W_tot * D_Y * (4 * D * B_Z + r * D_Y) < T''.card) (hT''_mem :
∀ z ∈ T'',
∃ (P : Polynomial F),
P.natDegree ≤ d ∧ Polynomial.eval (P ^ μ) ((evZ₂ z) S) = 0 ∧ Polynomial.eval (Polynomial.eval x₀ (P ^ μ)) (Polynomial.map (evZ z) Fstar) = 0 ∧ Polynomial.eval (Polynomial.eval x₀ (P ^ μ))
(Polynomial.map (evZ z)
(Polynomial.derivative (Polynomial.map (Polynomial.evalRingHom (Polynomial.C x₀)) S))) ≠ 0 ∧ B_W ≤ ∑ i : ι with Polynomial.eval (α i) P = Polynomial.eval z (curveWord u i), W i) (Pstar : Polynomial (AlgebraicClosure (FractionRing (Polynomial F)))) (Istar : Finset ι) (hPstar_deg : Pstar.natDegree ≤ d) (hIstar_agree :
∀ i ∈ Istar,
Polynomial.eval
(((algebraMap (FractionRing (Polynomial F)) (AlgebraicClosure (FractionRing (Polynomial F)))).comp
(algebraMap (Polynomial F) (FractionRing (Polynomial F))))
(Polynomial.C (α i)))
Pstar = ((algebraMap (FractionRing (Polynomial F)) (AlgebraicClosure (FractionRing (Polynomial F)))).comp
(algebraMap (Polynomial F) (FractionRing (Polynomial F))))
(curveWord u i)) (hIstar_bad :
∀ i ∉ Istar,
∃ (res : Polynomial F),
res ≠ 0 ∧ res.natDegree ≤ 4 * D * D_Y * B_Z + r * D_Y ^ 2 ∧ ∀ z ∈ T'',
∀ (P : Polynomial F),
P.natDegree ≤ d →
Polynomial.eval (P ^ μ) ((evZ₂ z) S) = 0 →
Polynomial.eval (Polynomial.eval x₀ (P ^ μ)) (Polynomial.map (evZ z) Fstar) = 0 →
Polynomial.eval (Polynomial.eval x₀ (P ^ μ))
(Polynomial.map (evZ z)
(Polynomial.derivative (Polynomial.map (Polynomial.evalRingHom (Polynomial.C x₀)) S))) ≠ 0 →
Polynomial.eval (α i) P = Polynomial.eval z (curveWord u i) → Polynomial.eval z res = 0) :
Step 7: Weighted double-counting shows B_W ≤ ∑ i ∈ Istar, W i, giving k ≤ #Istar, and
Lagrange interpolation on a k-element subset J ⊆ Istar pulls Pstar ∈ L[X] down to r + 1
Reed–Solomon codewords v : Fin (r + 1) → (ι → F) agreeing with u on Istar.