I'll be teaching reed muller decoding shortly. Now I'm asking myself: in the case of rm(1,5) why not simply try out all 64 codewords and decode to the one with the least distance. In other words. Can I justify majority logic decoding on practical grounds or is it more a matter of mathematical beauty?
2026-03-28 22:06:23.1774735583
brute force decoding of reed muller
654 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
There are 1 best solutions below
Related Questions in CODING-THEORY
- Solving overdetermined linear systems in GF(2)
- Inverting a generator matrix - Coding Theory
- Probability of a block error of the (N, K) Hamming code used for a binary symmetric channel.
- How to decode a Hadamard message that was encoded using the inner product method?
- How to decode a Hadamard message that was encoded using a generator matrix?
- Find the two missing digits in 10-ISBN code
- Characterize ideals in $\mathbb{F}_l[x]/(x-1) \oplus \mathbb{F}_l[x]/(\frac{x^p-1}{x-1})$
- Number of codes with max codeword length over an alphabet
- Dimension of ASCII code
- Prove how many errors CRC code can detect
Trending Questions
- Induction on the number of equations
- How to convince a math teacher of this simple and obvious fact?
- Find $E[XY|Y+Z=1 ]$
- Refuting the Anti-Cantor Cranks
- What are imaginary numbers?
- Determine the adjoint of $\tilde Q(x)$ for $\tilde Q(x)u:=(Qu)(x)$ where $Q:U→L^2(Ω,ℝ^d$ is a Hilbert-Schmidt operator and $U$ is a Hilbert space
- Why does this innovative method of subtraction from a third grader always work?
- How do we know that the number $1$ is not equal to the number $-1$?
- What are the Implications of having VΩ as a model for a theory?
- Defining a Galois Field based on primitive element versus polynomial?
- Can't find the relationship between two columns of numbers. Please Help
- Is computer science a branch of mathematics?
- Is there a bijection of $\mathbb{R}^n$ with itself such that the forward map is connected but the inverse is not?
- Identification of a quadrilateral as a trapezoid, rectangle, or square
- Generator of inertia group in function field extension
Popular # Hahtags
second-order-logic
numerical-methods
puzzle
logic
probability
number-theory
winding-number
real-analysis
integration
calculus
complex-analysis
sequences-and-series
proof-writing
set-theory
functions
homotopy-theory
elementary-number-theory
ordinary-differential-equations
circles
derivatives
game-theory
definite-integrals
elementary-set-theory
limits
multivariable-calculus
geometry
algebraic-number-theory
proof-verification
partial-derivative
algebra-precalculus
Popular Questions
- What is the integral of 1/x?
- How many squares actually ARE in this picture? Is this a trick question with no right answer?
- Is a matrix multiplied with its transpose something special?
- What is the difference between independent and mutually exclusive events?
- Visually stunning math concepts which are easy to explain
- taylor series of $\ln(1+x)$?
- How to tell if a set of vectors spans a space?
- Calculus question taking derivative to find horizontal tangent line
- How to determine if a function is one-to-one?
- Determine if vectors are linearly independent
- What does it mean to have a determinant equal to zero?
- Is this Batman equation for real?
- How to find perpendicular vector to another vector?
- How to find mean and median from histogram
- How many sides does a circle have?
The answer to your question depends on your definition of Reed-Muller codes and what is meant by "decoding". The canonical definition of Reed-Muller codes is as nonsystematic codes (see e.g. the first part of this answer of mine) in which case it is not sufficient to just determine which codeword $\hat{\mathbf c}$ is most likely to have been the cause of the received vector $\mathbf r$; one must then process $\hat{\mathbf c}$ in order to determine the information bits that were transmitted. As a result, in general, majority-logic decoding of Reed-Muller codes is both the most practical way of decoding Reed-Muller codes as well as the most beautiful, because the algorithm produces the information bits directly from without $\mathbf r$ without ever explicitly calculating $\hat{\mathbf c}$.
Let us then consider how maximum-likelihood decoding of a $RM(1,n)$ code via comparing $\mathbf r$ to each of the $2^{n+1}$ codewords stacks up against a canonical Reed-Muller decoder.
To my mind, at least, the canonical decoding algorithm is far superior to the "compare to all codewords" by any criterion that one might choose to make the comparison.
That being said, there is a decoding method for the $RM(1,n)$ codes effectively implements the "compare to all codewords" method, and is not only quite efficient but can also be applied to decode "soft-decision" outputs. If $\mathbf r \in \mathbb Z_2^{2^n}$ is the received vector, create a vector $\mathbf x \in \{+1, -1\}^{2^n}$ by setting $x_i = (-1)^{r_i}$. Let $H_n$ denote the $2^n\times 2^n$ Hadamard matrix in Sylvester form, that is, $$H_n = \left[\begin{matrix}H_{n-1} & H_{n-1}\\ H_{n-1} & -H_{n-1}\end{matrix}\right]; \qquad H_1 = \left[\begin{matrix}+1 & +1\\ +1 & -1\end{matrix}\right].$$ Note that the rows of $H_n$ are the "degree-1" codewords in the $RM(1,n)$ code translated from the $\{0,1\}$ alphabet to the $\{+1, -1\}$ alphabet. Then, $\mathbf y = \mathbf xH$ is a vector whose $k$-th entry has value $2^n -d_k$ where $d_k$ is the Hamming distance between $\mathbf r$ and the $k$-th codeword, $0 \leq k \leq 2^n-1$. The decoding algorithm then is to compute $\mathbf y$ and to determine $$D = \operatorname{argmax} |y_k|.$$ If the standard binary representation of $D$ is $$D = \sum_{i=1}^n D_i 2^{I-1},$$ then $(D_n, D_{n-1}, \cdots, D_1)$ are the $n$ "degree-1" information bits while $D_0 = \frac{1-\sgn y_D}{2}$ is the degree-0 information bit. All this is fine and dandy but the real point is that there exists a Fast Hadamard Transform algorithm (very similar to the radix-2 Fast Fourier transform algorithm) that reduces the computational effort of finding $\mathbf y$ from $(2^n)^2$ multiplications and additions to $n2^n$ operations, and this Fast Hadamard Transform algorithm makes this decoder eminently practical and efficient. It was implemented over 45 years ago in the Mariner missions to Mars. See this answer of mine on mathoverflow for some more details and references.