- Reed–Muller code
Reed-Muller codes are a family of linear
error-correcting code s used in communications. They are named after their discoverers,Irving S. Reed andD. E. Muller . Muller discovered the codes, and Reed proposed the majority logic decoding for the first time. A first order Reed-Muller code is equivalent to aHadamard code . Reed-Muller codes are listed as RM(d,r), where d is the order of the code, and r is parameterrelated to the length of code, . RM codes are related to binary functions on field over the elements [0,1] .RM(0,r) codes are repetition codes of length , rate and minimum distance .
RM(1,r) codes are parity check codes of length , rate and minimum distance .
RM(r-1,r) codes are parity check codes of length .
RM(r-2,r) codes are the family of extended Hamming codes of length with minimum distance . [Trellis and Turbo Coding, C. Schlegel & L. Perez, Wiley Interscience, 2004, p149.]
Construction
A generating matrix for a Reed–Muller code of length "n" = 2"d" can be constructed like this. Let us write:
:
We define in n-dimensional space the indicator vectors
:
on subsets by:
:
together with, also in , the binary operation
:
referred to as the "wedge product".
is a "d"-dimensional vector space over the field , so it is possible to write
We define in "n"-dimensional space the following vectors with length "n": "v"0 = (1, 1, 1, 1, 1, 1, 1, 1) and:
where the "H""i" are hyperplanes in (with dimension d −1):
:
The Reed–Muller RM("d", "r") code of order "r" and length "n" = 2"d" is the code generated by "v"0 and the wedge products of up to "r" of the "v""i" (where by convention a wedge product of fewer than one vector is the identity for the operation).
Example 1
Let "d" = 3. Then "n" = 8, and
:
and
:
The RM(3,1) code is generated by the set
:
or more explicitly by the rows of the matrix
:
Example 2
The RM(3,2) code is generated by the set::
or more explicitly by the rows of the matrix:
:
Properties
The following properties hold:
1 The set of all possible wedge products of up to "d" of the "v""i" form a basis for .
2 The RM ("d", "r") code has rank::
3 RM ("d", "r") = RM ("d "− 1, "r") | RM ("d" − 1, "r" − 1) where '|' denotes the bar product of two codes.
4 RM ("d", "r") has minimum
Hamming weight 2"d" − "r".Proof
1:There are
::
:such vectors and has dimension "n" so it is sufficient to check that the "n" vectors span; equivalently it is sufficient to check that RM(d, d) = .
:Let "x" be an element of "X" and define
::
:Then
:Expansion via the distributivity of the wedge product gives . Then since the vectors span we have RM(d, d) = .
2:By 1, all such wedge products must be linearly independent, so the rank of RM(d, r) must simply be the number of such vectors.
3:Omitted.
4:By induction.
:The RM(d,0) code is the repetition code of length "n=2d" and weight "n = 2d-0 = 2d-0". By 1 RM(d, d) = and has weight "1 = 20 = 2d-d".
:The article
bar product (coding theory) gives a proof that the weight of the bar product of two codes "C1 , C2" is given by::
:If "0 < r < d" and if:: i) RM(d-1,r) has weight 2d-1-r:: ii) RM(d-1,r-1) has weight 2d-1-(r-1) = 2d-r
:then the bar product has weight
::
Decoding RM codes
RM(r,m) codes can be decoded using the majority logic decoding. The basic idea of majority logic decoding isto build several checksums for each received code word element. Since each of the different checksums must all have the same value (i.e the value of the message word element weight), we can use a majority logic decoding to decipherthe value of the message word element. Once each order of the polynomial is decoded, the received word is modifiedaccordingly by removing the corresponding codewords weighted by the decoded message contributions, up to the present stage.So for a -th order RM code, we have to decode iteratively r+1, times before we arrive at the finalreceived code-word. Also, the values of the message bits are calculated through this scheme; finally we can calculatethe codeword by multiplying the message word (just decoded) with the generator matrix.
One clue if the decoding succeeded, is to have an all-zero modified received word, at the end of r+1-stage decodingthrough the majority logic decoding. This technique was proposed by Irving. S. Reed, and is more general when appliedto other finite geometry codes.
See also
*
Reed-Solomon code References
* Chapter 4.
* Chapter 4.5.
Wikimedia Foundation. 2010.