- Descriptive complexity
Descriptive complexity is a branch of
finite model theory , a subfield ofcomputational complexity theory andmathematical logic , which seeks to characterizecomplexity class es by the type of logic needed to express the languages in them. For example, PH, the union of all complexity classes in the polynomial hierarchy, is precisely the class of languages expressible by statements ofsecond-order logic . This connection between complexity and logic allows results to be transferred easily from one area to the other, facilitating new proof methods and providing additional evidence that the main complexity classes are somehow "natural" and not tied to the specificabstract machine s used to define them.Specifically, each
logical system produces a set of queries expressible in it. The queries correspond to thecomputational problem s of traditional complexity theory.The first main result of descriptive complexity was
Fagin's theorem , shown by Ronald Fagin in 1974, [http://www.almaden.ibm.com/cs/people/fagin/ R. Fagin] . [http://www.almaden.ibm.com/cs/people/fagin/genspec.pdf Generalized First-Order Spectra and Polynomial-Time Recognizable Sets] . "Complexity of Computation", ed. R. Karp, SIAM-AMS Proceedings 7, pp. 27-41. 1974.] which established that NP is precisely the set of languages expressible by sentences of existentialsecond-order logic ; that is, second order logic excluding universal quantification over relations, functions, and subsets. Many other classes were later characterized in such a manner, most of them byNeil Immerman :
*First-order logic defines the class FO, corresponding to AC0, the languages recognized by polynomial-size circuits of bounded depth, which equals the languages recognized by aconcurrent random access machine in constant time.
* First-order logic with a commutative,transitive closure operator added yields SL, which equals L, problems solvable in logarithmic space.
* First-order logic with atransitive closure operator yields NL, the problems solvable in nondeterministic logarithmic space.
* In the presence of linear order, first-order logic with aleast fixed point operator gives P, the problems solvable in deterministic polynomial time.
* Existential second-order logic yields NP, as mentioned above.
* Universal second-order logic (excluding existential second-order quantification) yields co-NP.
* Second-order logic corresponds to PH.
* Second-order logic with atransitive closure (commutative or not) yieldsPSPACE , the problems solvable in polynomial space.
* Second-order logic with aleast fixed point operator givesEXPTIME , the problems solvable in exponential time.References
* [http://www.almaden.ibm.com/cs/people/fagin/ R. Fagin] . [http://www.almaden.ibm.com/cs/people/fagin/tcs93.pdf Finite model theory-a personal perspective] . Theoretical Computer Science 116, 1993, pp. 3-31.
* Neil Immerman. [http://www.cs.umass.edu/~immerman/pub/capture.pdf Languages Which Capture Complexity Classes] . "15th ACM STOC Symposium", pp.347-354. 1983.
* [http://www.cs.umass.edu/~immerman/descriptive_complexity.html Neil Immerman's descriptive complexity page] , including a diagram
Wikimedia Foundation. 2010.