Jump to content

Sparse language

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Dcoetzee (talk | contribs) at 19:38, 14 August 2007 (Define, examples, relationships to other complexity classes). 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 computational complexity theory, a sparse language is a formal language (a set of strings) such that the number of strings of length n in the language is bounded by a polynomial function of n. They are used primarily in the study of the relationship of the complexity class NP with other classes. The complexity class of all sparse languages is called SPARSE.

Sparse languages are called sparse because there are a total of 2n strings of length n, and if a language only contains polynomially many of these, then the proportion of strings of length n that it contains rapidly goes to zero as n grows. All unary languages are sparse. An example of a nontrivial sparse language is the set of binary strings containing exactly k 1 bits for some fixed k; for each n, there are only n choose k strings in the language, which is bounded by nk.

Relationships to other complexity classes

SPARSE contains TALLY, the class of unary languages, since these have at most one string of any one length. If any sparse language is NP-complete, then P = NP, as shown by Mahaney in 1982.[1] A simpler proof of this based on left-sets was given by Ogihara and Osamu in 1991.[2] EXPTIMENEXPTIME if and only if there exist sparse languages in NP that are not in P.[3] If there exists a sparse P-complete problem, then P is contained in DSPACE[log2 n].[4]

References

  1. ^ S. R. Mahaney. Sparse complete sets for NP: Solution of a conjecture by Berman and Hartmanis. Journal of Computer and System Sciences 25:130-143. 1982.
  2. ^ M. Ogiwara and O. Watanabe. On polynomial time bounded truth-table reducibility of NP sets to sparse sets. SIAM Journal on Computing volume 20, pp.471–483. 1991.
  3. ^ Juris Hartmanis, Neil Immerman, Vivian Sewelson. Sparse Sets in NP-P: EXPTIME versus NEXPTIME. Information and Control, volume 65, issue 2/3, pp.158–181. 1985. At ACM Digital Library
  4. ^ M. Ogihara. Sparse hard sets for P yield space-efficient algorithms. In Proceedings of the 36th Annual Symposium on Foundations of Computer Science, pp.354–361. At Citeseer