Math logic | |
Block Length: | 2n n\in\N |
Message Length: | logn |
Alphabet Size: | 2 |
Notation: | (2n,logn)2 |
In theoretical computer science and coding theory, the long code is an error-correcting code that is locally decodable. Long codes have an extremely poor rate, but play a fundamental role in the theory of hardness of approximation.
Let
f1,...,f
2n |
:\{0,1\}k\to\{0,1\}
k=logn
\{0,1\}k\to\{0,1\}
x\in\{0,1\}k
f1(x)\circf2(x)\circ...\circ
f | |
2n |
(x)
\circ
2n=2
2k | |
The Walsh-Hadamard code is a subcode of the long code, and can be obtained by only using functions
fi
k\toF | |
F | |
2 |
2k
2k
An equivalent definition of the long code is as follows:The Long code encoding of
j\in[n]
j
f:\{0,1\}n\to\{0,1\}
f(x1,...,xn)=xj
(logn)
2n
The long code does not contain repetitions, in the sense that the function
fi
i
fj
j
j ≠ i