Fagin's theorem
Fagin's theorem is the oldest result of descriptive complexity theory, a branch of computational complexity theory that characterizes complexity classes in terms of logic-based descriptions of their problems rather than by the behavior of algorithms for solving those problems. The theorem states that the set of all properties expressible in existential second-order logic is precisely the complexity class NP.
It was proven by Ronald Fagin in 1973 in his doctoral thesis, and appears in his 1974 paper.[1] The arity required by the second-order formula was improved (in one direction) by James Lynch in 1981,[2] and several results of Grandjean have provided tighter bounds on nondeterministic random-access machines.[citation needed]
Proof
In addition to Fagin's 1974 paper,[1] the 1999 textbook by Immerman provides a detailed proof of the theorem.[3] It is straightforward to show that every existential second-order formula can be recognized in NP, by nondeterministically choosing the value of all existentially-qualified variables, so the main part of the proof is to show that every language in NP can be described by an existential second-order formula. To do so, one can use second-order existential quantifiers to arbitrarily choose a computation tableau. In more detail, for every timestep of an execution trace of a non-deterministic Turing machine, this tableau encodes the state of the Turing machine, its position in the tape, the contents of every tape cell, and which nondeterministic choice the machine makes at that step. A first-order formula can constrain this encoded information so that it describes a valid execution trace, one in which the tape contents and Turing machine state and position at each timestep follow from the previous timestep.
A key lemma used in the proof is that it is possible to encode a linear order of length [math]\displaystyle{ n^k }[/math] (such as the linear orders of timesteps and tape contents at any timestep) as a [math]\displaystyle{ 2k }[/math]-ary relation [math]\displaystyle{ R }[/math] on a universe [math]\displaystyle{ A }[/math] of size [math]\displaystyle{ n }[/math]. One way to achieve this is to choose a linear ordering [math]\displaystyle{ L }[/math] of [math]\displaystyle{ A }[/math] and then define [math]\displaystyle{ R }[/math] to be the lexicographical ordering of [math]\displaystyle{ k }[/math]-tuples from [math]\displaystyle{ A }[/math] with respect to [math]\displaystyle{ L }[/math].
See also
Notes
- ↑ 1.0 1.1 Fagin 1974.
- ↑ Lynch 1981.
- ↑ Immerman 1999.
References
- "Complexity of Computation: Proceedings of a Symposium in Applied Mathematics of the American Mathematical Society and the Society for industrial and Applied Mathematics held in New York City, April 18–19, 1973". 7. American Mathematical Society. 1974. pp. 43–73. ISBN 978-0-8218-1327-0.
- Immerman, Neil (1999). Descriptive Complexity. New York: Springer-Verlag. pp. 113–119. ISBN 0-387-98600-6.
- Lynch, James (December 1981). "Complexity classes and theories of finite models". Mathematical Systems Theory 15: 127–144. doi:10.1007/BF01786976. https://link.springer.com/article/10.1007/BF01786976.
- Grädel, Erich; Kolaitis, Phokion G.; Libkin, Leonid; Marx, Maarten; Spencer, Joel; Vardi, Moshe Y.; Venema, Yde; Weinstein, Scott (2007). Finite model theory and its applications. Texts in Theoretical Computer Science. An EATCS Series. Berlin: Springer-Verlag. ISBN 978-3-540-00428-8.
Original source: https://en.wikipedia.org/wiki/Fagin's theorem.
Read more |