Proximity gaps for Reed–Solomon codes in the unique-decoding regime #
This module proves correlated agreement and proximity gaps for Reed–Solomon codes in the
unique-decoding regime 2 * e + k ≤ |ι| over arbitrary fields, following Ben-Sasson, Carmon,
Ishai, Kopparty, and Saraf [BSCI+23], Theorem 4.1 (affine lines),
Theorem 6.1 (parameterized curves), and Theorem 1.2 (the finite-field proximity-gap dichotomy).
Mathematical overview #
Let α : ι → F be distinct evaluation points with n = |ι| and let e, k : ℕ satisfy
2 * e + k ≤ n. Given d + 1 words u : Fin (d + 1) → (ι → F) and a finite set S : Finset F
of size strictly greater than d * n such that every curve point ∑ j, z ^ (j : ℕ) • u j
(z ∈ S) lies within Hamming distance e of reedSolomon α k, there exists a single shared
coordinate subset D' : Finset ι of size at least n - e together with codewords
v : Fin (d + 1) → (ι → F) in reedSolomon α k such that u j i = v j i for all i ∈ D' and
all j (Cslib.Code.exists_correlatedAgreement_curve_unique). Specializing d = 1 yields
correlated agreement on affine lines u₀ + z • u₁ above the exact threshold n < #S
(Cslib.Code.exists_correlatedAgreement_unique).
The proof follows the bivariate Berlekamp–Welch interpolation strategy of [BenSassonCarmonIshaiKoppartySaraf2020, Section 4]:
- Form the
n × (2 * e + k + 1)Berlekamp–Welch linear system overF[Z]whose firstk + ecolumns haveZ-degree0and whose laste + 1columns haveZ-degree at mostd. - Show the system has nontrivial kernel over
FractionRing F[Z](usingCslib.Code.BerlekampWelch.exists_isSolutionat everyz ∈ Sto annihilate any square full minor ofZ-degree at mostd * (e + 1) < #S) and extract a nonzero polynomial kernel vector(A, B) ∈ F[Z][X] × F[Z][X]viaMatrix.crameron a maximal independent column subset, givingdeg_X A < k + e,deg_X B ≤ e,deg_Z A ≤ d * (e + 1), anddeg_Z B ≤ d * e. - Divide out the
F[Z]-content ofB(using Lagrange interpolation onk + epoints to show it also dividesA), obtaining primitiveBso thatB(X, z) ≠ 0for everyz : F. - Factor out
g = gcd A Bin the GCD domainF[Z][X]to obtain relatively primeA₀, B₀, and apply a padded Sylvester resultant multiplicity bound symmetrically in bothXandZ(viaPolynomial.Bivariate.swap). The two resultant degree bounds forcedeg_Z B₀ ≤ d * deg_X B₀anddeg_X B₀ * #S ≤ d * n * deg_X B₀, forcingB₀to be a nonzero scalar inF. - Thus
B ∣ AinF[Z][X], and the quotientP = A / BhasX-degree< kand agrees with∑ j, u j i * Z ^ jonD' = {i | B(α i, Z) ≠ 0}of size at leastn - e.
Main results #
Cslib.Code.hammingDist_curve_le_of_eq_on: shared agreement ofd + 1words on a subset of size at least|ι| - eimplies Hamming distance at mosteat every point on the curve.Cslib.Code.hammingDist_add_smul_le_of_eq_on: line specialization ofCslib.Code.hammingDist_curve_le_of_eq_on.Cslib.Code.exists_correlatedAgreement_curve_unique: correlated agreement on parameterized curves of degreedin the unique-decoding regime whend * |ι| < #S([BenSassonCarmonIshaiKoppartySaraf2020, Theorem 6.1]).Cslib.Code.exists_correlatedAgreement_unique: correlated agreement on affine linesu₀ + z • u₁in the unique-decoding regime when|ι| < #S([BenSassonCarmonIshaiKoppartySaraf2020, Theorem 4.1]).Cslib.Code.exists_uniqueMaximal_correlatedAgreement_of_exists: generic uniqueness step in the unique-decoding regime: given an existing correlated-agreement witness for any indexed word family, upgrades it to the unique maximal shared agreement set and unique codewords.Cslib.Code.exists_uniqueMaximal_correlatedAgreement_curve_unique: unique maximal agreement set and unique codewords on degree-dparameterized curves in the unique-decoding regime ([BenSassonCarmonIshaiKoppartySaraf2020, Theorem 1.5 & Theorem 6.1]).Cslib.Code.exists_uniqueMaximal_correlatedAgreement_unique: unique maximal agreement set and unique codewords on affine lines in the unique-decoding regime ([BenSassonCarmonIshaiKoppartySaraf2020, Theorem 1.4, Theorem 4.1 & Remark 4.1]).Cslib.Code.proximityGap_curve_unique: finite-field proximity-gap dichotomy for parameterized curves in the unique-decoding regime.Cslib.Code.proximityGap_unique: finite-field proximity-gap dichotomy for affine lines in the unique-decoding regime ([BenSassonCarmonIshaiKoppartySaraf2020, Theorem 1.2]).
References #
Private algebraic helpers: degree bounds, Gauss coprimality, and Sylvester resultants #
Linear algebra helper: invertible submatrix and Cramer kernel extraction #
Stage 1: primitive bivariate Berlekamp–Welch interpolant #
Stage 2: symmetric Sylvester resultant elimination forces B ∣ A #
Stage 3: assembling the positive-regime curve theorem #
Public correlated agreement and proximity-gap theorems #
If d + 1 words u j agree with v j on a shared subset D' of size at least |ι| - e,
then every linear combination ∑ j, z ^ j • u j on the parameterized curve is within Hamming
distance e of ∑ j, z ^ j • v j.
If two words u₀, u₁ agree with v₀, v₁ on a shared subset D' of size at least |ι| - e,
then u₀ + z • u₁ is within Hamming distance e of v₀ + z • v₁ for every scalar z : F.
Proximity-gap dichotomy for parameterized curves in the unique-decoding regime ([BenSassonCarmonIshaiKoppartySaraf2020, Theorem 6.1]).
Over a finite field F, for any d + 1 words u : Fin (d + 1) → (ι → F) and 2 * e + k ≤ |ι|,
either every point on the curve ∑ j, z ^ j • u j lies within Hamming distance e of
reedSolomon α k, or at most d * |ι| scalars z : F do.
Proximity-gap dichotomy for affine lines in the unique-decoding regime ([BenSassonCarmonIshaiKoppartySaraf2020, Theorem 1.2]).
Over a finite field F, for any two words u₀, u₁ : ι → F and 2 * e + k ≤ |ι|, either every
point u₀ + z • u₁ on the affine line lies within Hamming distance e of reedSolomon α k, or
at most |ι| scalars z : F do.