Guruswami–Sudan list decoding for Reed–Solomon codes #
Let w : ι → F be a received word on n = |ι| distinct evaluation points α : ι → F over an
arbitrary field F (of any characteristic). The Guruswami–Sudan list decoder
[GS99b], [GuruswamiRudraSudan2019, §§12.2.3–12.2.4, Definitions 12.2.8–9,
Algorithm 12.2.3, Lemmas 12.2.10–11, and Theorem 12.2.12 (pp. 253–259)] strengthens Sudan's decoder
(Cslib.Code.sudan) by requiring the bivariate interpolant Q(X, Y) ∈ F[X][Y] of
(1, d)-weighted degree at most D to vanish to multiplicity at least m (or per-point
multiplicity mult i) at every point (α i, w i).
The underlying polynomial algebra — bivariate Taylor shifts (Polynomial.Bivariate.shift),
bivariate Hasse derivatives (Polynomial.Bivariate.hasseDerivBiv), characteristic-independent
multiplicity-m vanishing (Polynomial.Bivariate.VanishesToOrder), (1, d)-weighted degree
(Polynomial.Bivariate.weightedDegree), and primitive/square-free/irreducible factor refinement —
lives in CslibFrontier.Foundations.Algebra.Polynomial.Bivariate. The bounded-monomial linear
system and least-Y-degree elimination machinery
(Cslib.Code.Sudan.exists_weightedDegreeLE_eq_zero, Cslib.Code.Sudan.minDegPoly) are shared with
CslibFrontier.Foundations.Data.Code.SudanInterpolant.
Each point with multiplicity mult i imposes mult i * (mult i + 1) / 2 homogeneous linear
equations on the coefficients of Q (Cslib.Code.GuruswamiSudan.card_multPairs), so a nonzero
weighted-multiplicity interpolant (Cslib.Code.GuruswamiSudan.IsWeightedInterpolant) exists
whenever ∑ i, mult i * (mult i + 1) / 2 < #(Sudan.monomials d D)
(Cslib.Code.GuruswamiSudan.exists_isWeightedInterpolant). Specializing to a constant profile
fun _ => m gives uniform multiplicity-m interpolants (Cslib.Code.GuruswamiSudan.IsInterpolant,
Cslib.Code.GuruswamiSudan.exists_isInterpolant), which exist whenever 1 ≤ d and
n * d * m * (m + 1) < (D + 1) * (D + 2) (Cslib.Code.GuruswamiSudan.exists_isInterpolant_of_lt).
Instantiating Cslib.Code.Sudan.minDegPoly with shifted-coefficient rows
(Cslib.Code.GuruswamiSudan.shiftEntry) yields explicit least-Y-degree elimination interpolants
(Cslib.Code.GuruswamiSudan.weightedInterpolant, Cslib.Code.GuruswamiSudan.interpolant)
satisfying Cslib.Code.GuruswamiSudan.isWeightedInterpolant_weightedInterpolant and
Cslib.Code.GuruswamiSudan.natDegree_weightedInterpolant_le; minimizing Y-degree also caps every
polynomial root's multiplicity
(Cslib.Code.GuruswamiSudan.IsWeightedInterpolant.rootMultiplicity_le_of_min).
If P has natDegree ≤ d and D < ∑ i ∈ {i | P.eval (α i) = w i}, mult i (in the uniform case
D < m * #{i | P.eval (α i) = w i}), then Q.eval P = 0 and Y - C P ∣ Q
(Cslib.Code.GuruswamiSudan.IsWeightedInterpolant.eval_eq_zero,
Cslib.Code.GuruswamiSudan.IsInterpolant.X_sub_C_dvd).
For Reed–Solomon codes of dimension k ≥ 2, Cslib.Code.guruswamiSudan achieves list decoding up
to the full Johnson radius n * (k - 1) < (n - e) ^ 2
(Cslib.Code.mem_guruswamiSudan_johnson_iff), and asymptotically up to δ = 1 - √ρ - ε for every
ε > 0 with multiplicity depending only on ε (Cslib.Code.exists_guruswamiSudan_of_eps). As in
Cslib.Code.sudan, roots in F[X][Y] are taken noncomputably via Polynomial.roots and no
running time is formalized here.
Main definitions #
Cslib.Code.GuruswamiSudan.multPairs: them * (m + 1) / 2pairs(r, s)withr + s < m.Cslib.Code.GuruswamiSudan.IsWeightedInterpolant: per-point multiplicity interpolants for arbitrary multiplicity profilesmult : ι → ℕ.Cslib.Code.GuruswamiSudan.IsInterpolant: uniform multiplicity-minterpolants, specializingIsWeightedInterpolanttofun _ => m.Cslib.Code.GuruswamiSudan.shiftEntry: shifted-coefficient matrix entries for linear elimination.Cslib.Code.GuruswamiSudan.weightedInterpolant,Cslib.Code.GuruswamiSudan.interpolant: explicit least-Y-degree weighted and uniform interpolants viaSudan.minDegPoly.Cslib.Code.guruswamiSudan: the Guruswami–Sudan list decoder for Reed–Solomon codes.
Main results #
Cslib.Code.GuruswamiSudan.coeff_coeff_shift_bivariateOf: shifted coefficients ofSudan.bivariateOf.Cslib.Code.GuruswamiSudan.card_multPairs: each point of multiplicitymimposesm * (m + 1) / 2linear constraints.Cslib.Code.GuruswamiSudan.isInterpolant_one_iff_sudan: multiplicity-1interpolants are Sudan interpolants.Cslib.Code.GuruswamiSudan.IsWeightedInterpolant.rootMultiplicity_le_of_min,Cslib.Code.GuruswamiSudan.IsInterpolant.rootMultiplicity_le_of_min: least-Y-degree interpolants bound root multiplicity by the maximum interpolation multiplicity.Cslib.Code.GuruswamiSudan.exists_isWeightedInterpolant,Cslib.Code.GuruswamiSudan.exists_isWeightedInterpolant_min_natDegree,Cslib.Code.GuruswamiSudan.exists_isInterpolant,Cslib.Code.GuruswamiSudan.exists_isInterpolant_of_lt: existence of weighted and uniform multiplicity interpolants.Cslib.Code.GuruswamiSudan.IsWeightedInterpolant.eval_eq_zero,Cslib.Code.GuruswamiSudan.IsWeightedInterpolant.X_sub_C_dvd,Cslib.Code.GuruswamiSudan.IsInterpolant.eval_eq_zero,Cslib.Code.GuruswamiSudan.IsInterpolant.X_sub_C_dvd: root containment from weighted and uniform agreement.Cslib.Code.GuruswamiSudan.isWeightedInterpolant_weightedInterpolant,Cslib.Code.GuruswamiSudan.isInterpolant_interpolant,Cslib.Code.GuruswamiSudan.natDegree_weightedInterpolant_le: correctness and least-Y-degree minimality of the explicit elimination interpolant.Cslib.Code.mem_guruswamiSudan_iff,Cslib.Code.mem_guruswamiSudan_iff_of_lt,Cslib.Code.card_guruswamiSudan_mul_le,Cslib.Code.card_guruswamiSudan_le: completeness, soundness, and list-size bounds ofguruswamiSudan.Cslib.Code.mem_guruswamiSudan_johnson_iff,Cslib.Code.exists_guruswamiSudan_of_eps: list decoding up to the exact integer and asymptotic Johnson radii.
References #
- [V. Guruswami and M. Sudan, Improved Decoding of Reed–Solomon and Algebraic-Geometry Codes] [GS99b]
- V. Guruswami, A. Rudra, M. Sudan, Essential Coding Theory, draft of 26 August 2025, §§12.2.3–12.2.4, pp. 253–259
Q is a weighted-multiplicity Guruswami–Sudan interpolant for the received word w at
evaluation points α, with per-point multiplicities mult : ι → ℕ, weight d, and weighted
degree bound D: a nonzero bivariate polynomial of (1, d)-weighted degree at most D vanishing
to order at least mult i at each (α i, w i).
- ne_zero : Q ≠ 0
The interpolant is nonzero.
- weightedDegree_le : Sudan.WeightedDegreeLE d D Q
Every monomial
X ^ a * Y ^ bofQhas(1, d)-weighted degreea + d * bat mostD. - vanishes (i : ι) : Polynomial.Bivariate.VanishesToOrder (mult i) (α i) (w i) Q
The interpolant vanishes to order at least
mult iat each point(α i, w i).
Q is a multiplicity-m Guruswami–Sudan interpolant for the received word w at evaluation
points α, with weight d and weighted degree bound D: the specialization of
IsWeightedInterpolant to the constant multiplicity profile fun _ => m.
The Y-degree of a weighted interpolant satisfies Q.natDegree * d ≤ D.
Multiplicity-1 Guruswami–Sudan interpolants are Sudan interpolants.
Least-Y-degree multiplicity bound. If Q is a weighted-multiplicity interpolant of
minimum Y-degree and every point multiplicity satisfies mult i ≤ m, then no polynomial
P : F[X] is a root of Q of multiplicity strictly exceeding m.
Least-Y-degree multiplicity bound for uniform multiplicity-m interpolants: no
polynomial P : F[X] is a root of Q of multiplicity strictly exceeding m.
Existence of a weighted-multiplicity interpolant. Whenever the number of monomials of
(1, d)-weighted degree at most D exceeds ∑ i, mult i * (mult i + 1) / 2, every received word
has a nonzero weighted-multiplicity interpolant.
Existence of a weighted-multiplicity interpolant of least Y-degree (valid for all d,
including d = 0).
Existence of a multiplicity-m interpolant. Whenever the number of monomials of
(1, d)-weighted degree at most D exceeds |ι| * (m * (m + 1) / 2), every received word has a
nonzero multiplicity-m interpolant.
Closed-form existence of a multiplicity-m interpolant. For d ≥ 1, whenever
|ι| * d * m * (m + 1) < (D + 1) * (D + 2), there are strictly more monomials of (1, d)-weighted
degree at most D than multiplicity-m constraints, so an interpolant exists.
Existence of a multiplicity-m interpolant from |ι| * d * m * (m + 1) < (D + 1) * (D + 2).
Weighted multiplicity root containment. With distinct points α, if P has
natDegree ≤ d and D < ∑ i ∈ {i | P.eval (α i) = w i}, mult i, then Q.eval P = 0 for every
weighted-multiplicity interpolant Q.
Under the hypotheses of IsWeightedInterpolant.eval_eq_zero, Y - C P divides Q.
Under the hypotheses of IsWeightedInterpolant.eval_eq_zero, P is a root of Q.
Multiplicity root containment. With distinct points α, if P has natDegree ≤ d and
D < m * #{i | P.eval (α i) = w i}, then Q.eval P = 0 for every multiplicity-m interpolant
Q.
Multiplicity root divisibility. Under the hypotheses of IsInterpolant.eval_eq_zero,
Y - C P divides every multiplicity-m interpolant Q.
Under the hypotheses of IsInterpolant.eval_eq_zero, P is a root of Q in F[X][Y].
Explicit least-Y-degree multiplicity interpolant #
An explicit weighted-multiplicity interpolant of least Y-degree, computed by Gaussian
elimination via Sudan.minDegPoly.
An explicit uniform multiplicity-m interpolant of least Y-degree, specializing
weightedInterpolant to the constant multiplicity profile fun _ => m.
The elimination interpolant always has (1, d)-weighted degree at most D.
The elimination interpolant always has Y-degree at most D (for all d, including
d = 0).
The elimination interpolant always vanishes to order mult i at each (α i, w i) (including
when no nonzero interpolant exists and it evaluates to 0).
The elimination interpolant is a weighted-multiplicity interpolant. For d ≥ 1 and
strictly more monomials of (1, d)-weighted degree at most D than multiplicity constraints,
weightedInterpolant α w mult d D satisfies IsWeightedInterpolant α w mult d D.
The elimination interpolant has least Y-degree among all weighted-multiplicity
interpolants (and in particular, for mult = fun _ => m, among all uniform multiplicity-m
interpolants).
The uniform elimination interpolant is a multiplicity-m interpolant. For d ≥ 1 and
strictly more monomials of (1, d)-weighted degree at most D than multiplicity-m constraints,
interpolant α w m d D satisfies IsInterpolant α w m d D.
Guruswami–Sudan list decoder for Reed–Solomon codes #
Guruswami–Sudan list decoder [GS99b], [GuruswamiRudraSudan2019,
Algorithm 12.2.3 (p. 256)] for Reed–Solomon codes of dimension k, multiplicity m, and
(1, k - 1)-weighted degree bound D: the roots P in F[X] of the least-Y-degree
multiplicity-m interpolant GuruswamiSudan.interpolant α w m (k - 1) D that have degree less
than k and satisfy D < m * #{i | P.eval (α i) = w i}. Roots in F[X][Y] are taken
noncomputably via Polynomial.roots.
Every polynomial returned by guruswamiSudan has degree less than k and satisfies
D < m * #{i | P.eval (α i) = w i}.
The list size of guruswamiSudan is at most the Y-degree of the elimination interpolant.
The list size of guruswamiSudan is always at most D (including the case k = 1).
List size of the Guruswami–Sudan decoder. The list size L satisfies L * (k - 1) ≤ D,
so at most D / (k - 1) polynomials are returned when k ≥ 2.
Completeness and soundness of Guruswami–Sudan list decoding. With distinct points α,
k ≥ 2, and |ι| * (m * (m + 1) / 2) < #(Sudan.monomials (k - 1) D), the decoder lists exactly
the polynomials of degree less than k with D < m * #{i | P.eval (α i) = w i}.
Guruswami–Sudan list decoding [GS99b], [GuruswamiRudraSudan2019,
Lemmas 12.2.10–11 (pp. 256–257)] under the closed-form condition
|ι| * (k - 1) * m * (m + 1) < (D + 1) * (D + 2).
Every Reed–Solomon codeword agreeing with w at more than D / m points is decoded by
guruswamiSudan.
List decoding up to the full Johnson radius #
Exact integer Johnson-bound parameter choice: whenever n * d < t ^ 2, choosing
m = n * d / (t ^ 2 - n * d) + 1 and D = m * t - 1 satisfies the Guruswami–Sudan interpolation
inequality n * d * m * (m + 1) < (D + 1) * (D + 2).
Guruswami–Sudan list decoding up to the exact integer Johnson radius [GS99b],
[GuruswamiRudraSudan2019, Theorem 12.2.12 (pp. 257–259)]. With distinct points α, k ≥ 2, and
n * (k - 1) < (n - e) ^ 2 (equivalently e < n - √(n * (k - 1))), choosing
m = n * (k - 1) / ((n - e) ^ 2 - n * (k - 1)) + 1 and D = m * (n - e) - 1,
guruswamiSudan α w m k D lists exactly the polynomials of degree less than k whose codeword is
within Hamming distance e of w.
Asymptotic / real Johnson-bound corollary [GS99b], [GuruswamiRudraSudan2019,
Theorem 12.2.12 (pp. 257–259)]. For any nonempty set of n distinct evaluation points α,
dimension 2 ≤ k ≤ n, and any ε > 0, there exist multiplicity m (bounded by
⌊1 / (2 * ε)⌋₊ + 1, independent of n and k) and weighted degree D < m * n such that for
every received word w, guruswamiSudan α w m k D recovers every polynomial P of degree less
than k within relative Hamming distance 1 - √(k / n) - ε, with list size bounded by
D / (k - 1) (in particular
#(guruswamiSudan α w m k D) ≤ (1 / (2 * ε) + 1) / ((k - 1) / n)).