Contents
Long code (mathematics)
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.
Definition
Let for k=\log n be the list of all functions from. Then the long code encoding of a message is the string where \circ denotes concatenation of strings. This string has length 2^n=2^{2^k}. The Walsh-Hadamard code is a subcode of the long code, and can be obtained by only using functions f_i that are linear functions when interpreted as functions on the finite field with two elements. Since there are only 2^k such functions, the block length of the Walsh-Hadamard code is 2^k. An equivalent definition of the long code is as follows: The Long code encoding of j\in[n] is defined to be the truth table of the Boolean dictatorship function on the jth coordinate, i.e., the truth table of with. Thus, the Long code encodes a (\log n)-bit string as a 2^n-bit string.
Properties
The long code does not contain repetitions, in the sense that the function f_i computing the ith bit of the output is different from any function f_j computing the jth bit of the output for j\neq i. Among all codes that do not contain repetitions, the long code has the longest possible output. Moreover, it contains all non-repeating codes as a subcode.
This article is derived from Wikipedia and licensed under CC BY-SA 4.0. View the original article.
Wikipedia® is a registered trademark of the
Wikimedia Foundation, Inc.
Bliptext is not
affiliated with or endorsed by Wikipedia or the
Wikimedia Foundation.