Membership and separation problems inside two-variable first order logic

Viktor Henriksson
This thesis studies the expressive power of restricted fragments of first order logic on words with the order predicate. In particular, we consider particular instances of the following two questions.Given a regular language L, and a fragment of first order logic, can L be described by formulae in this fragment?Given two regular languages L1 and L2, and a fragment of first order logic, can we find a language L which can be described by formulae in this fragment such that L1 is a subset of L and
more » ... the intersection of L2 and L is empty.The former is known as the membership problem, and the latter the separation problem. These problems are well studied in the theory of regular languages, and their solution has often relied on tools from algebra, such as finite monoids and pointlikes.We consider formulae using only two variables, a fragment known as FO2[For languages of finite words, membership for these fragments has already been solved. We generalise these results in multiple directions.First, we solve the membership problem for the aforementioned fragments for inf-regular languages, i.e. languages consisting of both infinitely and finitely long words. This in particular solves the membership problem for omega-regular languages, i.e. those containing only infinitely long words. Our main tool is to impose algebraic conditions on the syntactic monoid: a monoid which can be computed from any major presentation of regular languages. For the lower levels, we also need to consider topological properties of the languages.The above shows that membership for inf- and omega-regular languages is decidable. However, given a language presented by an automata, calculating the syntactic monoid is generally not efficient. Our second main contribution is therefore an efficient way to decide membership for languages presented by deterministic finite automata (for regular languages) and Carton--Michel automata (for omega-regular languages). We give forbidden patterns for these fragments; that is, we specify [...]
doi:10.26174/thesis.lboro.17872106 fatcat:xg6ajzwsh5hyxerq6kz6aengua