Content deleted Content added
No edit summary |
m Open access bot: url-access updated in citation with #oabot. |
||
(19 intermediate revisions by 14 users not shown) | |||
Line 1:
{{Short description|Form of second-order logic}}
In [[mathematical logic]], '''monadic second-order logic''' ('''MSO''') is the fragment of [[
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).
== Variants ==
Monadic second-order logic comes in two variants. In the variant considered over structures such as graphs and in Courcelle's theorem, the formula may involve non-monadic predicates (in this case the binary edge predicate <math>E(x, y)</math>), but quantification is restricted to be over monadic predicates only. In the variant considered in automata theory and the Büchi–Elgot–Trakhtenbrot theorem, all predicates, including those in the formula itself, must be monadic, with the exceptions of equality (<math>=</math>) and ordering (<math><</math>) relations.
== Computational complexity of evaluation ==
Line 20 ⟶ 25:
| publisher = Institute of Electrical and Electronics Engineers
| title = Proceedings of the Eighth Annual Structure in Complexity Theory Conference
| year = 1993| s2cid = 32740047 }}.</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 inequality of NP and [[coNP]], an open question in computational complexity.
By contrast, when we wish to check whether a Boolean MSO formula is satisfied by an input finite [[tree (data structure)|tree]], this problem can be solved in linear time in the tree, by translating the Boolean MSO formula to a [[tree automaton]]<ref>{{Cite journal|
For MSO formulas that have [[free variable]]s, when the input data is a tree or has bounded treewidth, there are efficient [[enumeration algorithm]]s to produce the set of all solutions,<ref>{{Cite journal|last=Bagan|first=Guillaume|date=2006|editor-last=Ésik|editor-first=Zoltán|title=MSO Queries on Tree Decomposable Structures Are Computable with Linear Delay|journal=Computer Science Logic|volume=4207|series=Lecture Notes in Computer Science|language=en|publisher=Springer Berlin Heidelberg|pages=167–181|doi=10.1007/11874683_11|isbn=9783540454595}}</ref>
== Decidability and complexity of satisfiability ==
The satisfiability problem for monadic second-order logic is undecidable in general because this logic subsumes [[
The monadic second
* The monadic second-order theory of trees.
* The monadic second
*
For each of these theories (S2S, S1S,
=== Use of satisfiability of MSO on trees in verification ===
Monadic second-order logic of trees has applications in [[
==See also==
* [[Descriptive complexity theory]]
* [[Monadic predicate calculus]]
* [[Second-order logic]]
==References==
{{reflist}}
{{Mathematical logic}}
[[Category:Mathematical logic]]
|