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 03:50, 4 March 2009. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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(δ) (where s(δ) < 1 for every δ > 0), 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 Ty(1n) accepts with probability 1.
  • Soundness: If the Hamming distance between y and C is δn, then Ty(1n) accepts with probability at most s(δ).

In theoretical computer science, one is typically interested in locally testable codes whose query complexity is constant or at most logarithmic.

Examples

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