Monadic second-order logic: Difference between revisions

Content deleted Content added
Correct description of SO quantification in MSO.
top: rewrite example for clarity
Line 3:
Second-order logic allows quantification over [[Predicate (mathematical logic)|predicates]]. However, MSO is the [[Fragment (logic)|fragment]] in which second-order quantification is limited to monadic predicates (predicates having a single argument). This is often described as quantification over "sets" because monadic predicates are equivalent in expressive power to sets (the set of elements for which the predicate is true).
 
Existential monadic second-order logic (EMSO) is the fragment of MSO in which all quantifiers over sets must be [[existential quantifier]]s, outside of any other part of the formula. The first-order quantifiers are not restricted. By analogy to [[Fagin's theorem]], according to which existential (non-monadic) second-order logic captures precisely the [[descriptive complexity]] of the complexity class [[NP (complexity)|NP]], the class of problems that may be expressed in existential monadic second-order logic has been called monadic NP. The restriction to monadic logic makes it possible to prove separations in this logic that remain unproven for non-monadic second-order logic;. forFor instance, testingin the [[Connectivity (graph theory)|connectivitylogic of graphs]], belongstesting towhether monadica co-NPgraph (theis [[ComplementConnectivity (setgraph theory)|complementdisconnected]] ofbelongs to monadic NP), butas the test can be represented by a formula that describes the existence of a proper subset of vertices with no edges connecting them to the rest of the graph; however, the complementary problem, testing whether a graph is connected, does not belong to monadic NP itself.<ref>{{citation
| last = Fagin | first = Ronald | author1-link = Ronald Fagin
| journal = Zeitschrift für Mathematische Logik und Grundlagen der Mathematik
Line 18:
| publisher = Institute of Electrical and Electronics Engineers
| title = Proceedings of the Eighth Annual Structure in Complexity Theory Conference
| year = 1993}}.</ref> The existence of an analogous pair of complementary problems, only one of which has an existential second-order formula (without the restriction to monadic formulas) is equivalent to the equality of NP and [[coNP]], an open question in computational complexity.
| year = 1993}}.</ref>
 
==References==