GO-V.ORG
As seen in

Monadic second-order logic

In mathematical logic, monadic second-order logic (MSO) is the fragment of second-order logic where the second-order quantification is limited to quantification over sets. It is particularly important in the logic of graphs, because of Courcelle's theorem, which provides algorithms for evaluating monadic second-order formulas over graphs of bounded treewidth. It is also of fundamental importance in automata theory, where the Büchi–Elgot–Trakhtenbrot theorem gives a logical characterization of the regular languages. Second-order logic allows quantification over predicates. However, MSO is the fragment in which second-order quantification is limited to monadic predicates (predicates having a... Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.

In mathematical logic, monadic second-order logic (MSO) is the fragment of second-order logic where the second-order quantification is limited to quantification over sets. It is particularly important in the logic of graphs, because of Courcelle's theorem, which provides algorithms for evaluating monadic second-order formulas over graphs of bounded treewidth. It is also of fundamental importance in automata theory, where the Büchi–Elgot–Trakhtenbrot theorem gives a logical characterization of the regular languages. Second-order logic allows quantification over predicates. However, MSO is the 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). Monadic second-order logic is expressively equivalent to plural logic. 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 predicate constants (in this case the binary edge predicate E(x, y) ), but quantification is restricted to be over monadic predicate variables only. In the variant considered in automata theory and the Büchi–Elgot–Trakhtenbrot theorem, all predicates, constant or variable, must be monadic, with the exceptions of equality ( = ) and ordering ( ) relations. In the logic of graphs, testing whether a graph is disconnected is in MNP, as 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. The complementary problem, testing whether a graph is connected, does not belong to monadic NP. That is, it is a problem in co-MNP \ MNP. By symmetry, graph disconnection testing is in MNP \ co-MNP, showing that neither complexity class contains the other. The addition of "monadic" makes the question easier. The analogous question, of whether NP = co-NP, is 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, this problem can be solved in linear time in the tree, by translating the Boolean MSO formula to a tree automaton and evaluating the automaton on the tree. In terms of the query, however, the complexity of this process is generally nonelementary. Thanks to Courcelle's theorem, we can also evaluate a Boolean MSO formula in linear time on an input graph if the treewidth of the graph is bounded by a constant. For MSO formulas that have free variables, when the input data is a tree or has bounded treewidth, there are efficient enumeration algorithms to produce the set of all solutions, ensuring that the input data is preprocessed in linear time and that each solution is then produced in a delay linear in the size of each solution, i.e., constant-delay in the common case where all free variables of the query are first-order variables (i.e., they do not represent sets). There are also efficient algorithms for counting the number of solutions of the MSO formula in that case. ==See also== Descriptive complexity theory Monadic predicate calculus Second-order logic ==References==

source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"Monadic second-order logic". 1777757757. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1352231887

JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy

Save to pass ·