Curve-batched, Johnson-bound, and uniquely decoded interleaved Reed–Solomon codes #
CslibFrontier.Foundations.Data.Code.Interleaved formalizes κ-interleaved linear codes
Cslib.Code.interleavedLinear κ C and random-vector row combinations
i ↦ ∑ r : Fin m, z r • W i r up to one-third minimum distance for general linear codes and up to
the unique-decoding radius 2 * e + k ≤ |ι| for Reed–Solomon codes. This module extends that API in
three directions for #5968 and #643:
- Uniqueness and joint Berlekamp–Welch decoding in the unique-decoding regime
(
eq_of_mem_interleavedLinear_reedSolomon,berlekampWelchInterleaved): inside2 * e + k ≤ |ι|, at most one interleaved Reed–Solomon codeword lies within column-Hamming distanceeof a received matrixW : ι → κ → F, and runningCslib.Code.berlekampWelchon each row followed by a joint column-distance check≤ esucceeds if and only if the rows share correlated agreement on at least|ι| - ecoordinates (berlekampWelchInterleaved_eq_some_iff,berlekampWelchInterleaved_eq_none_iff). - Single-scalar power / parameterized-curve batching in the unique-decoding regime
(
toOuterMeasure_sum_pow_smul_reedSolomon_close_le,exists_unique_mem_interleavedLinear_reedSolomon_of_pow, derived from [BenSassonCarmonIshaiKoppartySaraf2020, Theorems 1.5 and 6.1] viaCslib.Code.exists_correlatedAgreement_curve_unique): replacingmindependent random scalarsz : Fin m → Fby powers1, z, …, z ^ (m - 1)of a single uniform scalarz : Fbounds the false-closeness probability of anye-far matrixW : ι → Fin m → Fby((m - 1) * |ι|) / |F|uniformly for allm : ℕ, with unique interleaved-codeword recovery above that threshold. - Johnson-bound (
1 - √ρ) interleaved Reed–Solomon proximity bounds for both affine-vector batching (z : Fin m → F, row-count-independent error) and single-scalar power batching (z : F):- explicit-parameter Guruswami–Sudan
(m_GS, D)steps viaCslib.Code.ProximityGap.johnsonCurveBound(toOuterMeasure_sum_smul_reedSolomon_close_le_johnson_exact,toOuterMeasure_sum_pow_smul_reedSolomon_close_le_johnson_exact); - closed-form multiplicity and
η-gap ((e : ℝ) / |ι| ≤ 1 - √(k / |ι|) - η) bounds using this library's explicit Siegel constants1800 * [(m - 1) *] (m_GS + 1) ^ 6 * |ι| ^ 2 / (ρ * |F|)and115200 * [(m - 1) *] |ι| ^ 2 / (ρ * η ^ 6 * |F|)(original finite-constant variants in the setting of [BenSassonCarmonIshaiKoppartySaraf2020, Theorems 1.2, 1.5, 1.6, and 6.2], matchingCslibFrontier.Foundations.Data.Code.ProximityGap.Curve).
- explicit-parameter Guruswami–Sudan
Main definitions #
Cslib.Code.berlekampWelchInterleaved: row-wise Berlekamp–Welch decoder with a joint column-Hamming distance check≤ eforκ-interleaved Reed–Solomon codes.
Main results #
Cslib.Code.eq_of_mem_interleavedLinear_reedSolomon: uniqueness of interleaved Reed–Solomon decoding within2 * e + k ≤ |ι|.Cslib.Code.degree_lt_of_berlekampWelchInterleaved_eq_some,Cslib.Code.hammingDist_le_of_berlekampWelchInterleaved_eq_some,Cslib.Code.berlekampWelchInterleaved_eq_some_iff,Cslib.Code.berlekampWelchInterleaved_eq_none_iff: unconditional soundness and unique-decoding characterization ofberlekampWelchInterleaved.Cslib.Code.toOuterMeasure_sum_pow_smul_reedSolomon_close_le,Cslib.Code.exists_unique_mem_interleavedLinear_reedSolomon_of_pow: single-scalar((m - 1) * |ι|) / |F|interleaved Reed–Solomon proximity bound and unique extraction in the unique-decoding regime.Cslib.Code.toOuterMeasure_sum_smul_reedSolomon_close_le_johnson_exact,Cslib.Code.toOuterMeasure_sum_smul_reedSolomon_close_le_johnson,Cslib.Code.toOuterMeasure_sum_smul_reedSolomon_close_le_johnson_of_eta: row-count-independent affine-vector interleaved Reed–Solomon proximity bounds up to the Johnson bound.Cslib.Code.toOuterMeasure_sum_pow_smul_reedSolomon_close_le_johnson_exact,Cslib.Code.toOuterMeasure_sum_pow_smul_reedSolomon_close_le_johnson,Cslib.Code.toOuterMeasure_sum_pow_smul_reedSolomon_close_le_johnson_of_eta: single-scalar curve-batched interleaved Reed–Solomon proximity bounds up to the Johnson bound.
References #
Uniqueness and joint Berlekamp–Welch decoding for interleaved Reed–Solomon codes #
Unique decoding for interleaved Reed–Solomon codes: with distinct evaluation points
α : ι → F and 2 * e + k ≤ |ι|, at most one interleaved codeword
V ∈ interleavedLinear κ (reedSolomon α k) lies within column-Hamming distance e of W.
Joint Berlekamp–Welch decoder for κ-interleaved Reed–Solomon codes: decodes each row
i ↦ W i r (r : κ) via Cslib.Code.berlekampWelch α e k and accepts the resulting polynomial
family P : κ → F[X] when the joint column-Hamming distance from i r ↦ (P r).eval (α i) to W
is at most e (enforcing correlated agreement across all rows, not merely independent per-row
proximity). As with Cslib.Code.berlekampWelch, solutions are chosen noncomputably and no running
time is claimed.
Degree soundness of berlekampWelchInterleaved: for every received matrix W, every row
polynomial returned by berlekampWelchInterleaved α e k W has degree strictly less than k.
Joint distance soundness of berlekampWelchInterleaved: for every received matrix W, an
output P of berlekampWelchInterleaved α e k W evaluates to an interleaved codeword within
column-Hamming distance e of W.
Characterization of berlekampWelchInterleaved in the unique-decoding regime
(2 * e + k ≤ |ι|): with distinct evaluation points α : ι → F, the decoder returns some P if
and only if every P r has degree < k and i r ↦ (P r).eval (α i) has column-Hamming distance
at most e from W.
Failure characterization of berlekampWelchInterleaved in the unique-decoding regime
(2 * e + k ≤ |ι|): the decoder returns none if and only if W has column-Hamming distance
strictly greater than e from every codeword of interleavedLinear κ (reedSolomon α k).
Single-scalar curve-batched Reed–Solomon proximity in the unique-decoding regime #
Single-scalar curve-batched Reed–Solomon proximity bound in the unique-decoding regime
(2 * e + k ≤ |ι|, derived from [BenSassonCarmonIshaiKoppartySaraf2020, Theorems 1.5 and 6.1] via
Cslib.Code.exists_correlatedAgreement_curve_unique): over a finite field F with distinct
evaluation points α : ι → F, if W : ι → Fin m → F has column-Hamming distance strictly greater
than e from interleavedLinear (Fin m) (reedSolomon α k), then a single uniformly sampled scalar
z : F produces a power row combination i ↦ ∑ r : Fin m, z ^ (r : ℕ) • W i r within Hamming
distance e of reedSolomon α k with probability at most ((m - 1) * |ι|) / |F| uniformly for all
m : ℕ.
Single-scalar curve-batched correlated agreement and unique extraction in the
unique-decoding regime (2 * e + k ≤ |ι|): if i ↦ ∑ r : Fin m, z ^ (r : ℕ) • W i r lies within
Hamming distance e of reedSolomon α k with probability strictly greater than
((m - 1) * |ι|) / |F| over uniform z : F, then there exists a unique interleaved codeword
V ∈ interleavedLinear (Fin m) (reedSolomon α k) within column-Hamming distance e of W.
Johnson-bound (1 - √ρ) interleaved Reed–Solomon proximity bounds #
Explicit-parameter Guruswami–Sudan interleaved Reed–Solomon proximity bound up to the Johnson
bound (affine-vector batching) (in the setting of
[BenSassonCarmonIshaiKoppartySaraf2020, Theorems 1.2 and 1.6], derived via
Cslib.Code.exists_correlatedAgreement_affine_johnson): for any Guruswami–Sudan multiplicity
m_GS ≥ 1 and weighted degree D satisfying k ≤ |ι| - e,
|ι| * (m_GS * (m_GS + 1) / 2) < #(Sudan.monomials (k - 1) D), and D < m_GS * (|ι| - e), any
e-far word W : ι → Fin m → F produces an e-close uniform row combination
i ↦ ∑ r, z r • W i r with probability at most
johnsonCurveBound |ι| m_GS (k - 1) D 1 |ι| / |F|, with zero dependence on the row count m
and no auxiliary list-size hypothesis.
Original explicit-constant interleaved Reed–Solomon proximity bound up to the Johnson bound
(affine-vector batching, multiplicity form) (in the setting of
[BenSassonCarmonIshaiKoppartySaraf2020, Theorems 1.2 and 1.6], derived via
Cslib.Code.exists_correlatedAgreement_affine_johnson_of_multiplicity): for 1 ≤ k ≤ |ι|,
m_GS ≥ 1, and (e : ℝ) / |ι| ≤ 1 - √ρ - √ρ / (2 * m_GS) (ρ = k / |ι|), an e-far word
W : ι → Fin m → F produces an e-close uniform row combination with probability at most
1800 * (m_GS + 1) ^ 6 * |ι| ^ 2 / (ρ * |F|), uniformly for all m : ℕ (using this library's
explicit Siegel constant rather than the paper's displayed finite constant).
Original explicit-constant interleaved Reed–Solomon proximity bound up to 1 - √ρ - η
(affine-vector batching) (in the setting of
[BenSassonCarmonIshaiKoppartySaraf2020, Theorems 1.2 and 1.6], derived via
toOuterMeasure_sum_smul_reedSolomon_close_le_johnson and
Cslib.Code.ProximityGap.exists_multiplicity_of_eta): for 1 ≤ k ≤ |ι|, η > 0, and
(e : ℝ) / |ι| ≤ 1 - √ρ - η, an e-far word W : ι → Fin m → F produces an e-close uniform row
combination with probability at most 115200 * |ι| ^ 2 / (ρ * η ^ 6 * |F|), independent of the row
count m : ℕ (using this library's explicit Siegel constant).
Explicit-parameter Guruswami–Sudan interleaved Reed–Solomon proximity bound up to the Johnson
bound (single-scalar power batching) (in the setting of
[BenSassonCarmonIshaiKoppartySaraf2020, Theorems 1.5 and 6.2], derived via
Cslib.Code.exists_correlatedAgreement_curve_johnson): for any e-far word W : ι → Fin m → F,
a single uniform scalar z : F produces an e-close power combination
i ↦ ∑ r : Fin m, z ^ (r : ℕ) • W i r with probability at most
johnsonCurveBound |ι| m_GS (k - 1) D (m - 1) |ι| / |F| uniformly for all m : ℕ.
Original explicit-constant interleaved Reed–Solomon proximity bound up to the Johnson bound
(single-scalar power batching, multiplicity form) (in the setting of
[BenSassonCarmonIshaiKoppartySaraf2020, Theorems 1.5 and 6.2]): for 1 ≤ k ≤ |ι|, m_GS ≥ 1, and
(e : ℝ) / |ι| ≤ 1 - √ρ - √ρ / (2 * m_GS), an e-far word W : ι → Fin m → F produces an
e-close single-scalar power combination with probability at most
1800 * (m - 1) * (m_GS + 1) ^ 6 * |ι| ^ 2 / (ρ * |F|) uniformly for all m : ℕ (using this
library's explicit Siegel constant).
Original explicit-constant interleaved Reed–Solomon proximity bound up to 1 - √ρ - η
(single-scalar power batching) (in the setting of
[BenSassonCarmonIshaiKoppartySaraf2020, Theorems 1.5 and 6.2]): for 1 ≤ k ≤ |ι|, η > 0, and
(e : ℝ) / |ι| ≤ 1 - √ρ - η, an e-far word W : ι → Fin m → F produces an e-close
single-scalar power combination with probability at most
115200 * (m - 1) * |ι| ^ 2 / (ρ * η ^ 6 * |F|) uniformly for all m : ℕ (using this library's
explicit Siegel constant).