Content deleted Content added
→Expressive power: Use proper math and a textual explanation instead of badly formatted and colorized without the explanation |
|||
Line 135:
== Relation to computational complexity==
{{anchor|Applications to complexity|relation to computational complexity}}
The expressive power of various forms of second-order logic on finite structures is intimately tied to [[computational complexity theory]]. The field of [[descriptive complexity]] studies which computational [[complexity class]]es can be characterized by the power of the logic needed to express languages (sets of finite strings) in
This identification leads to the following characterizations of variants of second-order logic over finite structures:
* REG (the [[regular language]]s) is the set of languages definable by monadic, second-order formulas ([[Büchi-Elgot-Trakhtenbrot theorem]], 1960).
* [[NP (complexity)|NP]] is the set of languages definable by existential, second-order formulas ([[Fagin's theorem]], 1974).
* [[co-NP]] is the set of languages definable by universal, second-order formulas.
|