Jump to content

Locally testable code

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Tcshasaposse (talk | contribs) at 14:08, 3 March 2009 (introduced basic definition, still needs examples). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

In theoretical computer science, a locally testable code is an error correcting code for which membership can be tested by a non-adaptive property testing algorithm.

Locally testable codes have applications in average-case complexity and the design of probabilistically checkable proofs.

Definition

A family of error-correcting codes Cn ⊆ {0, 1}n is locally testable with soundness s(n, δ), and query complexity q(n) if there exists a non-adaptive oracle algorithm T (the tester) that on input 1n and given oracle access to a string y ∈ {0, 1}n satisfies the following:

  • Completeness: If y ∈ C, then T(1n)y accepts with probability 1.
  • Soundness: If the Hamming distance between y and C is δn, then T(1n)y accepts with probability at most s(n, ε).

Examples

An example of a locally testable code is the Hadamard code. The Hadamard code is testable with 3 queries and soundness 1 - δ.