HOME

TheInfoList



OR:

In
theoretical computer science Theoretical computer science (TCS) is a subset of general computer science and mathematics that focuses on mathematical aspects of computer science such as the theory of computation, lambda calculus, and type theory. It is difficult to circumsc ...
and
coding theory Coding theory is the study of the properties of codes and their respective fitness for specific applications. Codes are used for data compression, cryptography, error detection and correction, data transmission and data storage. Codes are stud ...
, the long code is an
error-correcting code In computing, telecommunication, information theory, and coding theory, an error correction code, sometimes error correcting code, (ECC) is used for controlling errors in data over unreliable or noisy communication channels. The central idea i ...
that is
locally decodable In mathematics, a mathematical object is said to satisfy a property locally, if the property is satisfied on some limited, immediate portions of the object (e.g., on some ''sufficiently small'' or ''arbitrarily small'' neighborhoods of points). Pr ...
. Long codes have an extremely poor rate, but play a fundamental role in the theory of
hardness of approximation In computer science, hardness of approximation is a field that studies the algorithmic complexity of finding near-optimal solutions to optimization problems. Scope Hardness of approximation complements the study of approximation algorithms by pro ...
.


Definition

Let f_1,\dots,f_ : \^k\to \ for k=\log n be the list of ''all'' functions from \^k\to\. Then the long code encoding of a message x\in\^k is the string f_1(x)\circ f_2(x)\circ\dots\circ f_(x) where \circ denotes concatenation of strings. This string has length 2^n=2^. The
Walsh-Hadamard code The Hadamard code is an error-correcting code named after Jacques Hadamard that is used for error detection and correction when transmitting messages over very noisy or unreliable channels. In 1971, the code was used to transmit photos of M ...
is a subcode of the long code, and can be obtained by only using functions f_i that are
linear function In mathematics, the term linear function refers to two distinct but related notions: * In calculus and related areas, a linear function is a function whose graph is a straight line, that is, a polynomial function of degree zero or one. For di ...
s when interpreted as functions \mathbb F_2^k\to\mathbb F_2 on the
finite field In mathematics, a finite field or Galois field (so-named in honor of Évariste Galois) is a field that contains a finite number of elements. As with any field, a finite field is a set on which the operations of multiplication, addition, subt ...
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 /math> is defined to be the truth table of the Boolean dictatorship function on the jth coordinate, i.e., the truth table of f:\^n\to\ with f(x_1,\dots,x_n)=x_j.Definition 7.3.1 i
Limits of Approximation Algorithms: PCPs and Unique Games (DIMACS Tutorial Lecture Notes)
/ref> 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.


References

{{reflist Coding theory Error detection and correction