Self-correction of Reed–Muller codes by interpolation along lines #
A received word w that differs from a Reed–Muller codeword p of degree d on few points can
be corrected by reading w at d + 1 points x + ν i • v of a line through x, for fixed
distinct nonzero nodes ν i, and interpolating: p x = ∑ i, λ i * p (x + ν i • v) for the
Lagrange weights λ i of the nodes at 0 (Cslib.Code.lagrangeDecode_eq_of_mem_reedMuller). Each
queried point is uniformly distributed over the directions v, so at every point x at most
(d + 1) * Δ(w, p) directions make the step err (Cslib.Code.card_lagrangeDecode_ne_le)
Arora and Barak, Chapter 19. Combined with ternary majority trees
(Cslib.majTree, Cslib.exists_forall_majTree_eq), this corrects w everywhere on a bounded set
with fixed directions.
Main definitions #
Cslib.Code.affineLineEquiv: the affine bijectionv ↦ x + c • von a module overFforc ≠ 0.Cslib.Code.lagrangeWeight,Cslib.Code.lagrangeDecode: interpolation along a line.Cslib.Code.nonzeroNodes: canonical choice ofd + 1distinct nonzero evaluation nodes inFwhend + 2 ≤ Fintype.card F.
Main results #
Cslib.Code.exists_nonzero_nodes_of_le_card,Cslib.Code.nonzeroNodes_ne_zero:d + 1distinct nonzero evaluation nodes exist wheneverd + 2 ≤ Fintype.card F.Cslib.Code.lagrangeDecode_eq_of_exists_natDegree_le: interpolation along a line is exact whenever the line restriction has degree at mostd.Cslib.Code.card_lagrangeDecode_ne_le_of_forall_eq: at most(d + 1) * Δ(w, p)directions err over any finite vector space whenpis reconstructed along lines.Cslib.Code.lagrangeDecode_eq_of_mem_reedMuller: interpolation is exact on codewords.Cslib.Code.card_lagrangeDecode_ne_le: few directions err for Reed–Muller codewords.Cslib.Code.card_false_line_claim_le: few directions admit a passing but false polynomial reply.
References #
For a nonzero scalar c : F and base point x : V in a module over F, the affine map
v ↦ x + c • v is a bijection on V.
Canonical choice of d + 1 distinct nonzero evaluation nodes in F when
d + 2 ≤ Fintype.card F.
A polynomial of degree at most d is determined at 0 by its values at d + 1 nodes.
Interpolation along a line is exact whenever the restriction of p to the line
t ↦ p (x + t • v) agrees with a polynomial of degree at most d.
Few directions err along lines. Over any finite vector space V over F, if p is
reconstructed along every line through x, at most (d + 1) * Δ(w, p) directions v
make interpolation along the line through x in direction v err when the nodes are nonzero.
Interpolation is exact on codewords of the Reed–Muller code of degree d, for every
direction.
Few directions err. At every point x, at most (d + 1) * Δ(w, p) directions v make
interpolation along the line through x in the direction v err, when the nodes are nonzero.
A prover can supply a univariate polynomial for each direction instead of the verifier
computing Lagrange coefficients. Even when the claim depends on the direction, at most
(d + 1) * Δ(w, p) directions pass all node checks and give an incorrect value at zero.