Circuits for Reed–Solomon decoding with a hint #
Sudan decoding with a hint (Cslib.Code.hintDecode) is an arithmetic computation on the received
word, the hint and fixed constants: elimination for the interpolant of least Y-degree, then
Newton iteration evaluated on all of F. Over the full binary basis of the field, where every
operation on at most two field elements is one gate, it therefore has circuits of size polynomial
in |F|, the number of points and the number of monomials. For n points, M monomials of
(1, d)-weighted degree at most D, ℓ = D / d and q = |F|:
- the interpolant costs at most
interpolantCost n M ℓgates (Cslib.Circuits.Synthesis.full_interpolantCoeffs), dominated byℓ + 1eliminations ofkernelVecCost n Mgates each; - Newton iteration to degree
dcosts at mosthenselCost q M dgates (Cslib.Circuits.Synthesis.full_henselValue); - the whole decoder costs at most
hintDecodeCost n q M ℓ d, their sum (Cslib.Circuits.Synthesis.full_hintDecode).
The word, the hint position and the hint value may be arbitrary available functions of the circuit's inputs.
Main definitions #
Cslib.Circuits.interpolantCost,Cslib.Circuits.henselStepCost,Cslib.Circuits.henselCost,Cslib.Circuits.hintDecodeCost: the gate budgets.
Main results #
Cslib.Circuits.Synthesis.full_interpolantCoeffs: the interpolant of leastY-degree.Cslib.Circuits.Synthesis.full_henselValue: Newton iteration.Cslib.Circuits.Synthesis.full_hintDecode: decoding with a hint.
References #
- [M. Sudan, L. Trevisan, S. Vadhan, Pseudorandom generators without the XOR lemma] [STV01]
- M. Sudan, Decoding of Reed Solomon codes beyond the error-correction bound
The gate budget of the least-Y-degree interpolant for n points, M monomials and
Y-degrees up to ℓ.
Instances For
The gate budget of one Newton step over a field with q elements, for M monomials and
degree at most d.
Instances For
The gate budget of Newton iteration to degree d.
Instances For
The gate budget of decoding with a hint.
Instances For
Newton iteration #
Newton iteration by a circuit. Given the coefficients on M of Q, the hint position and
the hint value as available functions, henselValue Q τ a d costs at most henselCost q M d
gates of the full binary basis.
The interpolant #
The least-Y-degree interpolant by a circuit. Given the received word as available
functions, its interpolant coefficients on monomials d D cost at most
interpolantCost n M (D / d) gates of the full binary basis, for n points and M monomials.
Decoding with a hint by a circuit. Given the received word, the hint position and the
hint value as available functions, hintDecode α w d D τ a costs at most
hintDecodeCost n q M (D / d) d gates of the full binary basis, for n points, q = |F| and
M monomials of (1, d)-weighted degree at most D.