Sparse language
In computational complexity theory, a sparse language is a formal language (a set of strings) such that the complexity function, counting 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. All unary languages are sparse, trivially. Consequently, the concept of sparse language is usually only used for languages with at least 2 letters. Sparse languages are called sparse because over some finite alphabet Σ {\displaystyle \Sigma } there are | Σ | n {\displaystyle {|\Sigma |}^{n}} strings of length n. So, when the language is not unary, the probability of a uniformly randomly sampled length-n string belongs to the language converges exponentially to 0
In computational complexity theory, a sparse language is a formal language (a set of strings) such that the complexity function, counting 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.
All unary languages are sparse, trivially. Consequently, the concept of sparse language is usually only used for languages with at least 2 letters.
Sparse languages are called sparse because over some finite alphabet there are strings of length n. So, when the language is not unary, the probability of a uniformly randomly sampled length-n string belongs to the language converges exponentially to 0
Examples
[edit]For any fixed integer k, Consider the set of binary strings containing exactly k repeats of the bit . For each n, there are only strings in the language. Thus it is sparse.
Relationships to other complexity classes
[edit]- SPARSE contains TALLY, the class of unary languages, since these have at most one string of any one length.
- E ≠ NE if and only if there exist sparse languages in NP that are not in P.[1]
- If any sparse language is NP-hard with respect to Turing reductions, then PH collapses to . This is a consequence of the Karp–Lipton theorem.[2] This result was improved in 2005, showing that PH collapses further than .[3]
Mahaney's theorem
[edit](Fortune, 1979) showed that if any sparse language is co-NP-complete, then P = NP.[4] (Mahaney, 1982) used this to prove Mahaney's theorem that if any sparse language is NP-complete, then P = NP.[5] Mahaney's argument does not actually require the sparse language to be in NP (because the existence of an NP-hard sparse set implies the existence of an NP-complete sparse set), so there is a sparse NP-hard set if and only if P = NP.[6]
(Ogihara and Watanabe, 1991) gives a simplified proof of Mahaney's theorem based on left-sets.[7]
(Jin-Yi Cai and D. Sivakumar, 1999), building on work by Ogihara, showed that, if there exists a sparse language that is P-complete under logspace (many-one) reduction, then L = P.[8]
P/poly
[edit]Although not all languages in P/poly are sparse, there is a polynomial-time Turing reduction from any language in P/poly to a sparse language.[9]
There is a Turing reduction (as opposed to the Karp reduction from Mahaney's theorem) from an NP-complete language to a sparse language if and only if .
References
[edit]- ^ 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
- ^ Karp, Richard M.; Lipton, Richard J. (1980). "Some connections between nonuniform and uniform complexity classes". In Miller, Raymond E.; Ginsburg, Seymour; Burkhard, Walter A.; Lipton, Richard J. (eds.). Proceedings of the 12th Annual ACM Symposium on Theory of Computing, April 28-30, 1980, Los Angeles, California, USA. ACM. pp. 302–309. doi:10.1145/800141.804678.
- ^ Cai, Jin-Yi; Chakaravarthy, Venkatesan T.; Hemaspaandra, Lane A.; Ogihara, Mitsunori (2003). Alt, Helmut; Habib, Michel (eds.). "Competing Provers Yield Improved Karp-Lipton Collapse Results". STACS 2003. Berlin, Heidelberg: Springer: 535–546. doi:10.1007/3-540-36494-3_47. ISBN 978-3-540-36494-8.
- ^ S. Fortune. A note on sparse complete sets. SIAM Journal on Computing, volume 8, issue 3, pp.431–433. 1979.
- ^ 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.
- ^ Balcázar, José Luis; Díaz, Josep; Gabarró, Joaquim (1990). Structural Complexity II. Springer. pp. 130–131. ISBN 3-540-52079-1.
- ^ Ogiwara, Mitsunori; Watanabe, Osamu (1991). "On polynomial-time bounded truth-table reducibility of NP sets to sparse sets". SIAM Journal on Computing. 20 (3): 471–483. doi:10.1137/0220030. MR 1094526.
- ^ Cai, Jin-Yi; Sivakumar, D. (1999-04-01). "Sparse Hard Sets for P". J. Comput. Syst. Sci. 58 (2): 280–296. doi:10.1006/jcss.1998.1615. ISSN 0022-0000.
- ^ Jin-Yi Cai. Lecture 11: P=poly, Sparse Sets, and Mahaney's Theorem. CS 810: Introduction to Complexity Theory. The University of Wisconsin–Madison. September 18, 2003 (PDF)
External links
[edit]- Lance Fortnow. Favorite Theorems: Small Sets. April 18, 2006.
- William Gasarch. Sparse Sets (Tribute to Mahaney). June 29, 2007.
- Complexity Zoo: SPARSE