Next: Decoding Reed-Solomon Codes (continued)
Up: Topics on Computational Algebra
Previous: Affine Variety Codes
MTHSC 985 Spring 2001 Clemson University
Topics on Computational Algebra
Instructor: Shuhong Gao
Lecture 18, April 2 Scribe: Fred Block
Let n=q be a prime power. We fix an order of the elements in
as
Then an
[n, k, n-k+1] Reed-Solomon code
consists of codewords of the form
for some
with
.
Suppose
was sent but received as
where
is the error vector.
The received vector will be written as
How do we recover c from r?
Consider the collection of points
and the vanishing ideal
![\begin{displaymath}
{\mathbf I}=\{g\in {\mathbb F}_{q}[x,y]:\,g(a_i,b_i)=0,\, 1\leq i \leq n \}.
\end{displaymath}](img827.gif) |
(25) |
As a special case, consider
.
It is easy to check that
 |
(26) |
and
In fact, g0 and g1 form a Gröbner basis for
I under lexicographical
order with y>x.
(Note that
.)
Here g1 has degree k-1, which is ``small'' compared to n.
This hints that a ``small'' element in a Gröbner basis for
I may give
us some information about f(x) (or the codeword c).
Lemma 18.1
For any

,
define
g0 as in (
27) and
g1=y-u(x)
where
![$u(x)\in {\mathbb F}_{q}[x]$](img833.gif)
satisfies
Then

is a Gröbner basis for the vanishing ideal
I under lexicographical order with
y>
x.
Proof. Given by some student project?
Suppose r=c+e as before. Assume that the Hamming weight of eis t. That is, there are t errors, say at locations
.
Let
be the error locator polynomial. Then w(ai)=0 if and only if
(i.e.
),
.
Hence
as
.
The polynomial g3 is
of the form
 |
(27) |
Pictorially, g has the shape shown in Figure 1.
Figure 1:
The Newton polytope of g.
![\includegraphics[width=0.6\textwidth,height=0.2\textwidth]{lect18_fig}](img843.gif) |
Theorem 18.2 (Berlekamp and Welch)
Let
I be the vanishing ideal in (
26) where

comes from a code word defined by
![$f(x)\in {\mathbb F}_{q}[x]$](img820.gif)
with

.
Suppose
t<(
n-
k+1)/2. Then, for any

that has the form (
28),
we have
Such a polynomial
g(
x,
y) can be found in polynomial time, so
Reed-Solomon codes can be decoded in polynomial time (for
t<(
n-
k+1)/2).
Proof.
Since
,
we have
Also, we know
i.e.
Then
Hence the polynomial
h(x)=w(x)(u0(x)-f(x)u1(x))
vanishes at
.
But
if
t<(n-k+1)/2.
So h(x) must be identically zero. That is,
w(x)(u0(x)-f(x)u1(x))=0.
Hence
u0(x)=f(x)u1(x). The theorem follows.
What can be done if
t>(n-k+1)/2?
Next: Decoding Reed-Solomon Codes (continued)
Up: Topics on Computational Algebra
Previous: Affine Variety Codes
Xuhong Gao
2001-05-10