Interleaved linear codes and random-linear-combination proximity bounds #
Given a linear code C : Submodule R (ι → M) of length |ι| over alphabet M and a row-index
type κ, the κ-interleaved linear code Cslib.Code.interleavedLinear κ C consists of the
column-indexed words W : ι → κ → M whose rows i ↦ W i r (r : κ) all belong to C. Viewing
words column-wise over the block alphabet κ → M reuses Mathlib's hammingDist and
Cslib.Code.minDist directly: the Hamming distance between W, V : ι → κ → M counts the columns
i : ι on which at least one row disagrees, so proximity hammingDist W V ≤ e to
interleavedLinear κ C is equivalent to correlated agreement of the rows on a shared coordinate
subset D' : Finset ι of size at least |ι| - e
(Cslib.Code.exists_mem_interleavedLinear_hammingDist_le_iff), and interleaving over a nonempty
row set preserves minimum distance (Cslib.Code.minDist_interleavedLinear).
For random row linear combinations i ↦ ∑ r : Fin m, z r • W i r with uniform weights
z : Fin m → F over a finite field F, this module proves two complementary proximity bounds:
- Universal linear-code
d / 3bound (3 * (e : ℕ∞) < minDist C, step toward#643and#5968after Ames, Hazay, Ishai, and Venkitasubramaniam [AHIV17]; locator not re-verified against primary PDF): an elementary characteristic-free 1D affine-line argument shows that if more thane + 1points onu₀ + z • u₁lie within distanceeofC, thenu₀andu₁share correlated agreement on at least|ι| - ecoordinates (Cslib.Code.exists_correlatedAgreement_of_three_mul_lt_minDist). Lifting throughCslib.Code.exists_weighted_correlatedAgreement_affine_of_linebounds the probability that a uniform row combination of ane-far word lands within distanceeofCby(e + 1) / |F|uniformly for allm : ℕ(Cslib.Code.toOuterMeasure_sum_smul_close_le_of_three_mul_lt_minDist), with unique-codeword extraction above(e + 1) / |F|(Cslib.Code.exists_unique_mem_interleavedLinear_of_three_mul_lt_minDist). - Reed–Solomon unique-decoding
d / 2bound (2 * e + k ≤ |ι|, derived from [BenSassonCarmonIshaiKoppartySaraf2020, Theorem 1.6 / eq. (1.2)] viaCslib.Code.exists_uniqueMaximal_correlatedAgreement_affine_unique): forCslib.Code.reedSolomon α kwith distinct evaluation pointsα : ι → F, ane-far column-wordW : ι → Fin m → Fproduces ane-close uniform row linear combination with probability at most|ι| / |F|uniformly for allm : ℕ(Cslib.Code.toOuterMeasure_sum_smul_reedSolomon_close_le), and exceeding|ι| / |F|uniquely determines the nearest interleaved codewordV ∈ interleavedLinear (Fin m) (reedSolomon α k)(Cslib.Code.exists_unique_mem_interleavedLinear_reedSolomon).
Main definitions #
Cslib.Code.interleavedLinear: theκ-interleaved linear codeSubmodule R (ι → κ → M).
Main results #
Cslib.Code.minDist_interleavedLinear: interleaving over a nonempty row index preservesCslib.Code.minDist.Cslib.Code.exists_mem_interleavedLinear_hammingDist_le_iff: equivalence between column-Hamming proximity≤ etointerleavedLinear κ Cand row correlated agreement on≥ |ι| - ecoordinates.Cslib.Code.hammingDist_sum_smul_le: taking a row linear combination cannot increase column Hamming distance.Cslib.Code.exists_correlatedAgreement_of_three_mul_lt_minDist: 1D affine-line correlated agreement for arbitrary linear codes when3 * e < minDist Cande + 1 < #S.Cslib.Code.toOuterMeasure_sum_smul_close_le_of_three_mul_lt_minDist&Cslib.Code.exists_unique_mem_interleavedLinear_of_three_mul_lt_minDist: universal(e + 1) / |F|interleaved proximity bound and unique-decoding extraction for linear codes withind / 3.Cslib.Code.toOuterMeasure_sum_smul_reedSolomon_close_le&Cslib.Code.exists_unique_mem_interleavedLinear_reedSolomon:|ι| / |F|interleaved proximity bound and unique-decoding extraction for Reed–Solomon codes up to2 * e + k ≤ |ι|.
References #
Interleaved linear codes, minimum distance, and correlated agreement #
The κ-interleaved linear code of C : Submodule R (ι → M) over column alphabet κ → M:
a column-indexed word W : ι → κ → M belongs to interleavedLinear κ C iff every row
i ↦ W i r (r : κ) belongs to C.
Membership in interleavedLinear κ C means every row belongs to C.
Any linear combination of the rows of a codeword W ∈ interleavedLinear κ C belongs to C.
Taking a row linear combination cannot increase column Hamming distance.
Minimum distance of an interleaved linear code: when the row index κ is nonempty,
interleaving preserves Cslib.Code.minDist.
Interleaved proximity iff correlated agreement: W : ι → κ → M lies within column-Hamming
distance e of interleavedLinear κ C if and only if its rows share a single agreement set
D' : Finset ι of size at least |ι| - e with codewords v r ∈ C.
Universal linear-code d / 3 correlated agreement and interleaved proximity #
Step toward #643 and #5968 after [AHIV17] (locator not
re-verified against primary PDF; universal linear-code d / 3 interleaved proximity bound): over a
finite field F, if 3 * (e : ℕ∞) < minDist C and W : ι → Fin m → F has column-Hamming distance
strictly greater than e from every codeword of interleavedLinear (Fin m) C, then a uniformly
random row linear combination i ↦ ∑ r, z r • W i r lies within Hamming distance e of C with
probability at most (e + 1) / |F|, uniformly for all m : ℕ.
Unique-decoding extraction for linear codes within d / 3: if 3 * (e : ℕ∞) < minDist C
and a uniform row linear combination of W : ι → Fin m → F lies within Hamming distance e of C
with probability strictly greater than (e + 1) / |F|, then there exists a unique interleaved
codeword V ∈ interleavedLinear (Fin m) C within column-Hamming distance e of W.
Reed–Solomon unique-decoding d / 2 interleaved proximity bound #
Reed–Solomon interleaved proximity bound in the unique-decoding regime (2 * e + k ≤ |ι|,
derived from [BenSassonCarmonIshaiKoppartySaraf2020, Theorem 1.6 / eq. (1.2)]): 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 uniformly
random row linear combination i ↦ ∑ r, z r • W i r lies within Hamming distance e of
reedSolomon α k with probability at most |ι| / |F|, uniformly for all m : ℕ.
Reed–Solomon interleaved correlated agreement and unique-codeword extraction in the
unique-decoding regime (2 * e + k ≤ |ι|): if a uniform row linear combination of
W : ι → Fin m → F lies within Hamming distance e of reedSolomon α k with probability strictly
greater than |ι| / |F|, then there exists a unique interleaved codeword
V ∈ interleavedLinear (Fin m) (reedSolomon α k) within column-Hamming distance e of W
(equivalently, unique Reed–Solomon row codewords agreeing with W on at least |ι| - e shared
columns).