Second order monadic predicate logic

from Wikipedia, the free encyclopedia

The second level monadic predicate logic, also called MSO for short after the English monadic second order logic , is a term from the field of mathematical logic . It is the fragment of the second- order predicate logic that only considers the single-digit predicates.

definition

For a signature, consider the language of the second order predicate logic. The formulas of the MSO are precisely those formulas in which all occurring relation variables are single-digit . This describes the syntax of the MSO. The semantics is the restriction of the semantics of the second order predicate logic.

Note that multi-digit relations can occur in the MSO, but these must then be part of the signature. This cannot be used to quantify.

Since single-digit relations are subsets of the basic set in every interpretation , statements about all subsets of the associated structures can be made in the MSO and quantified using these as required. You cannot quantify using function symbols or multi-digit relation symbols.

Examples

First order predicate logic

Every expression of the first-order predicate logic is an MSO expression, because such an expression does not contain any relation variables at all, especially no multi-place variables.

Induction axiom

As is well known, Peano arithmetic can be described with the signature , where 0 is a constant and a function symbol. The constant is interpreted as a zero element and s as a successor function. The so-called induction axiom

is apparently an MSO sentence.

Relationship between graphs

If for a two-digit relation symbol , then every structure is a graph , whereby this is the universe, i.e. the basic set, of the structure and the interpretation of the edge relation is on . Then

a syntactically correct MSO expression, because the only occurring relation variable is one-digit. The two-digit relation symbol belongs to the signature and is therefore not a relation variable. The semantics of this expression are: For every subset ( ) the following applies: if the subset is not empty ( ) and its complement is not empty either ( ), then there is an edge ( ) between it and its complement . This is obviously equivalent to the connection of the graph and we note that one can describe the connection of graphs in the MSO. This is not possible in the first level predicate logic, see locality (logic) , so that MSO proves to be genuinely more expressive through this example.

Even number of elements

For there is no MSO theorem that expresses on a set that is assumed to be finite that it is even. In the second level predicate logic this is possible by expressing, for example, that there is a subset and a bijective function of on its complement:

,

It is clear that the sub-clauses enclosed in apostrophes can even be formulated in the first-order predicate logic. Since the two-digit relation variable is used here , it is not an MSO sentence. This example shows that second order predicate logic is genuinely more expressive than MSO.

MSO on words

Models of words

The second-order monadic predicate logic is suitable for the formulation of statements about words over a finite alphabet . For this we use as a signature , where the characters are of the alphabet and we formulate that <is a linear order on the universe and that form a partition of the universe.

expresses the linear order, and

expresses the partition property.

A finite universe can then be assumed to be isomorphic , where <is interpreted as the natural order and an a is in the place of the , corresponding for and so on.

Is, for example , the word defines a structure on the universe with the interpretations for , for , for and the natural order for <. The words from , that is, the finite strings above the alphabet , are exactly the models in this sense .

MSO definability

Subsets of such character strings can now be described using MSO expressions. If an MSO sentence, i.e. an MSO formula without free variables, is

the set (language) of all words which are the model for , that is, which satisfy. A language of this form is called MSO-definable .

For example, we can describe the language of all strings containing an even number of 's as follows:

In words that means

The 's are distributed over two sets and , which are disjoint,
and the first is in
and the last one lies in
and between two different elements from there is one
and between two different elements from there is one .

It is then clear that this is the set of character strings that contains an even number of 's, that is, this language is MSO-definable.

Theorem by Büchi

Büchi's theorem, named after Julius Richard Büchi , provides information about which languages ​​are MSO-definable:

  • A language can be MSO defined if and only if it is regular .

This sentence, dating from 1960, establishes a very early connection between mathematical logic and theoretical computer science ; it is considered the first result of descriptive complexity theory . The phrase was also found independently by Boris Trakhtenbrot .

Analysis of the evidence shows that even using MSO expressions of the species

gets by, where an expression of the first-level predicate logic is in a signature extended by. The set of these expressions is called . For languages, therefore, regularity, MSO definability and definability are equivalent.

Individual evidence

  1. Heinz-Dieter Ebbinghaus, Jörg Flum: Finite Model Theory , Springer-Verlag 1999, ISBN 3-540-28787-6 , Chapter 3.1: Second-Order Logic
  2. ^ Leonid Libkin: Elements of Finite Model Theory , Springer-Verlag (2004), ISBN 3-540-21202-7 , sentence 7.14 for a more precise statement
  3. ^ Leonid Libkin: Elements of Finite Model Theory , Springer-Verlag (2004), ISBN 3-540-21202-7 , sentence 7.12
  4. JR Büchi: Weak second-order arithmetic and finite automota , Journal for mathematical logic and foundations of mathematics (1960), Volume 6, pages 66-92
  5. ^ Leonid Libkin: Elements of Finite Model Theory , Springer-Verlag (2004), ISBN 3-540-21202-7 , sentence 7.21
  6. B. Trahtenbrot: Finite automata and the logic of monadic predicates (Russian) , Sibirskij Mat. Zhurnal (1962), Volume 3, pages 103-131
  7. Heinz-Dieter Ebbinghaus, Jörg Flum: Finite Model Theory , Springer Verlag 1999, ISBN 3-540-28787-6 , sentence 6.2.3