-
Low rank MSO
Abstract: We introduce a new logic for describing properties of graphs, which we call low rank MSO. This is the fragment of monadic second-order logic in which set quantification is restricted to vertex sets of bounded cutrank. We prove the following statements about the expressive power of low rank MSO. - Over any class of graphs that is weakly sparse, low rank MSO has the same expressive power as separa… ▽ More
Submitted 12 February, 2025; originally announced February 2025.
Comments: 33 pages
-
Graphs of unbounded linear cliquewidth must transduce all trees
Abstract: The Pathwidth Theorem states that if a class of graphs has unbounded pathwidth, then it contains all trees as graph minors. We prove a similar result for dense graphs: if a class of graphs has unbounded linear cliquewidth, then it can produce all trees via some fixed CMSO transduction.
Submitted 29 January, 2025; originally announced January 2025.
-
Function spaces for orbit-finite sets
Abstract: Orbit-finite sets are a generalisation of finite sets, and as such support many operations allowed for finite sets, such as pairing, quotienting, or taking subsets. However, they do not support function spaces, i.e. if X and Y are orbit-finite sets, then the space of finitely supported functions from X to Y is not orbit-finite. In this paper we propose two solutions to this problem: one is obtaine… ▽ More
Submitted 8 April, 2024; originally announced April 2024.
-
Rank-decreasing transductions
Abstract: We propose to study transformations on graphs, and more generally structures, by looking at how the cut-rank (as introduced by Oum) of subsets is affected when going from the input structure to the output structure. We consider transformations in which the underlying sets are the same for both the input and output, and so the cut-ranks of subsets can be easily compared. The purpose of this paper i… ▽ More
Submitted 24 January, 2024; originally announced January 2024.
Comments: 22 pages, 13 figures
-
Polyregular functions on unordered trees of bounded height
Abstract: We consider injective first-order interpretations that input and output trees of bounded height. The corresponding functions have polynomial output size, since a first-order interpretation can use a k-tuple of input nodes to represent a single output node. We prove that the equivalence problem for such functions is decidable, i.e. given two such interpretations, one can decide whether, for every i… ▽ More
Submitted 7 November, 2023; originally announced November 2023.
Comments: Authors' version of a paper published at 51st ACM SIGPLAN Symposium on Principles of Programming Languages (POPL 2024)
-
The category of MSO transductions
Abstract: MSO transductions are binary relations between structures which are defined using monadic second-order logic. MSO transductions form a category, since they are closed under composition. We show that many notions from language theory, such as recognizability or tree decompositions, can be defined in an abstract way that only refers to MSO transductions and their compositions.
Submitted 29 May, 2023; originally announced May 2023.
-
Folding interpretations
Abstract: We study the polyregular string-to-string functions, which are certain functions of polynomial output size that can be described using automata and logic. We describe a system of combinators that generates exactly these functions. Unlike previous systems, the present system includes an iteration mechanism, namely fold. Although unrestricted fold can define all primitive recursive functions, we ide… ▽ More
Submitted 26 April, 2023; v1 submitted 12 January, 2023; originally announced January 2023.
Comments: Author's version of a LICS 23 paper
-
On the growth rate of polyregular functions
Abstract: We consider polyregular functions, which are certain string-to-string functions that have polynomial output size. We prove that a polyregular function has output size $\mathcal O(n^k)$ if and only if it can be defined by an MSO interpretation of dimension $k$, i.e. a string-to-string transformation where every output position is interpreted, using monadic second-order logic MSO, in some $k$-tuple… ▽ More
Submitted 26 April, 2023; v1 submitted 22 December, 2022; originally announced December 2022.
Comments: Author version of LICS 23 paper
Journal ref: Author version of a LICS 2023 paper
-
arXiv:2201.09969 [pdf, ps, other]
Monadic Monadic Second Order Logic
Abstract: One of the main reasons for the correspondence of regular languages and monadic second-order logic is that the class of regular languages is closed under images of surjective letter-to-letter homomorphisms. This closure property holds for structures such as finite words, finite trees, infinite words, infinite trees, elements of the free group, etc. Such structures can be modelled using monads. In… ▽ More
Submitted 24 January, 2022; originally announced January 2022.
-
Separator logic and star-free expressions for graphs
Abstract: We describe two formalisms for defining graph languages, and prove that they are equivalent: 1. Separator logic. This is first-order logic on graphs which is allowed to use the edge relation, and for every $n \in \{0,1,\ldots \}$ a relation of arity $n+2$ which says that "vertex $s$ can be connected to vertex $t$ by a path that avoids vertices $v_1,\ldots,v_n$". 2. Star-free graph expressions.… ▽ More
Submitted 2 September, 2021; v1 submitted 29 July, 2021; originally announced July 2021.
-
Orbit-Finite-Dimensional Vector Spaces and Weighted Register Automata
Abstract: We develop a theory of vector spaces spanned by orbit-finite sets. Using this theory, we give a decision procedure for equivalence of weighted register automata, which are the common generalization of weighted automata and register automata for infinite alphabets. The algorithm runs in exponential time, and in polynomial time for a fixed number of registers. As a special case, we can decide, with… ▽ More
Submitted 3 May, 2024; v1 submitted 6 April, 2021; originally announced April 2021.
Comments: Journal Version for TheoretiCS
ACM Class: F.1.1; F.4.3
Journal ref: TheoretiCS, Volume 3 (May 6, 2024) theoretics:11208
-
Languages recognised by finite semigroups, and their generalisations to objects such as trees and graphs, with an emphasis on definability in monadic second-order logic
Abstract: These are lecture notes on the algebraic approach to regular languages. The classical algebraic approach is for finite words; it uses semigroups instead of automata. However, the algebraic approach can be extended to structures beyond words, e.g.~infinite words, or trees or graphs. The purpose of this book is to describe the algebraic approach in a way that covers these extensions.
Submitted 26 August, 2020; originally announced August 2020.
Comments: The most recent version can be found here: https://www.mimuw.edu.pl/~bojan/2019-2020/algebraic-language-theory-2020
-
arXiv:2002.09393 [pdf, ps, other]
Extensions of $ω$-Regular Languages
Abstract: We consider extensions of monadic second order logic over $ω$-words, which are obtained by adding one language that is not $ω$-regular. We show that if the added language $L$ has a neutral letter, then the resulting logic is necessarily undecidable. A corollary is that the $ω$-regular languages are the only decidable Boolean-closed full trio over $ω$-words.
Submitted 21 February, 2020; originally announced February 2020.
-
First-order tree-to-tree functions
Abstract: We study tree-to-tree transformations that can be defined in first-order logic or monadic second-order logic. We prove a decomposition theorem, which shows that every transformation can be obtained from prime transformations, such as tree-to-tree homomorphisms or pre-order traversal, by using combinators such as function composition.
Submitted 30 January, 2023; v1 submitted 21 February, 2020; originally announced February 2020.
Comments: This version contains an erratum. Theorem 6.1 in the published version was not valid in its full generality
-
Single use register automata for data words
Abstract: Our starting point are register automata for data words, in the style of Kaminski and Francez. We study the effects of the single-use restriction, which says that a register is emptied immediately after being used. We show that under the single-use restriction, the theory of automata for data words becomes much more robust. The main results are: (a) five different machine models are equivalent as… ▽ More
Submitted 7 May, 2020; v1 submitted 24 July, 2019; originally announced July 2019.
Comments: 59 pages
ACM Class: F.1.1; F.4.3
-
String-to-String Interpretations with Polynomial-Size Output
Abstract: String-to-string MSO interpretations are like Courcelle's MSO transductions, except that a single output position can be represented using a tuple of input positions instead of just a single input position. In particular, the output length is polynomial in the input length, as opposed to MSO transductions, which have output of linear length. We show that string-to-string MSO interpretations are ex… ▽ More
Submitted 30 May, 2019; originally announced May 2019.
Comments: 35 pages, full version of a paper accepted for the 46th International Colloquium on Automata, Languages and Programming (ICALP 2019)
-
MSO+nabla is undecidable
Abstract: This paper is about an extension of monadic second-order logic over the full binary tree, which has a quantifier saying ``almost surely a branch π \in {0, 1}^w satisfies a formula φ(π)''. This logic was introduced by Michalewski and Mio; we call it MSO+nabla following notation of Shelah and Lehmann. The logic MSO+nabla subsumes many qualitative probabilistic formalisms, including qualitative proba… ▽ More
Submitted 29 April, 2019; v1 submitted 21 January, 2019; originally announced January 2019.
Comments: Accepted to LICS 2019
-
Polyregular Functions
Abstract: This paper is about certain string-to-string functions, called the polyregular functions. These are like the regular string-to-string functions, except that they can have polynomial (and not just linear) growth. The class has four equivalent definitions: 1. deterministic two-way transducers with pebbles; 2 the smallest class of string-to-string functions that is closed under composition, contains… ▽ More
Submitted 20 October, 2018; originally announced October 2018.
Comments: 95 pages
-
Undecidability of a weak version of MSO+U
Abstract: We prove the undecidability of MSO on $ω$-words extended with the second-order predicate $U_1(X)$ which says that the distance between consecutive positions in a set $X \subseteq \mathbb{N}$ is unbounded. This is achieved by showing that adding $U_1$ to MSO gives a logic with the same expressive power as $MSO+U$, a logic on $ω$-words with undecidable satisfiability. As a corollary, we prove that M… ▽ More
Submitted 10 February, 2020; v1 submitted 23 July, 2018; originally announced July 2018.
Journal ref: Logical Methods in Computer Science, Volume 16, Issue 1 (February 11, 2020) lmcs:5059
-
Regular tree languages in low levels of the Wadge Hierarchy
Abstract: In this article we provide effective characterisations of regular languages of infinite trees that belong to the low levels of the Wadge hierarchy. More precisely we prove decidability for each of the finite levels of the hierarchy; for the class of the Boolean combinations of open sets $BC(Σ_1^0)$ (i.e. the union of the first $ω$ levels); and for the Borel class $Δ_2^0$ (i.e. for the union of the… ▽ More
Submitted 2 September, 2019; v1 submitted 6 June, 2018; originally announced June 2018.
Journal ref: Logical Methods in Computer Science, Volume 15, Issue 3 (September 4, 2019) lmcs:4647
-
Two monads for graphs
Abstract: An introduction to algebras for graphs, based on Courcelle's algebras of hyperedge replacement and vertex replacement. The paper uses monad notation.
Submitted 25 April, 2018; originally announced April 2018.
-
A non-regular language of infinite trees that is recognizable by a sort-wise finite algebra
Abstract: $ω$-clones are multi-sorted structures that naturally emerge as algebras for infinite trees, just as $ω… ▽ More
Submitted 26 November, 2019; v1 submitted 18 April, 2018; originally announced April 2018.
MSC Class: F.4.3 ACM Class: F.4.3
Journal ref: Logical Methods in Computer Science, Volume 15, Issue 4 (November 29, 2019) lmcs:4447
-
Regular and First Order List Functions
Abstract: We define two classes of functions, called regular (respectively, first-order) list functions, which manipulate objects such as lists, lists of lists, pairs of lists, lists of pairs of lists, etc. The definition is in the style of regular expressions: the functions are constructed by starting with some basic functions (e.g. projections from pairs, or head and tail operations on lists) and putting… ▽ More
Submitted 16 March, 2018; originally announced March 2018.
-
Definable decompositions for graphs of bounded linear cliquewidth
Abstract: We prove that for every positive integer k, there exists an MSO_1-transduction that given a graph of linear cliquewidth at most k outputs, nondeterministically, some cliquewidth decomposition of the graph of width bounded by a function of k. A direct corollary of this result is the equivalence of the notions of CMSO_1-definability and recognizability on graphs of bounded linear cliquewidth.
Submitted 21 January, 2021; v1 submitted 15 March, 2018; originally announced March 2018.
Journal ref: Logical Methods in Computer Science, Volume 17, Issue 1 (January 25, 2021) lmcs:5295
-
arXiv:1708.09765 [pdf, ps, other]
Boundedness in languages of infinite words
Abstract: We define a new class of languages of $ω$-words, strictly extending $ω$-regular languages. One way to present this new class is by a type of regular expressions. The new expressions are an extension of $ω$-regular expressions where two new variants of the Kleene star $L^*$ are added: $L^B$ and $L^S$. These new exponents are used to say that parts of the input word have bounded size, and that par… ▽ More
Submitted 25 October, 2017; v1 submitted 31 August, 2017; originally announced August 2017.
Journal ref: Logical Methods in Computer Science, Volume 13, Issue 4 (October 26, 2017) lmcs:3916
-
Star Height via Games
Abstract: This paper proposes a new algorithm deciding the star height problem. As shown by Kirsten, the star height problem reduces to a problem concerning automata with counters, called limitedness. The new contribution is a different algorithm for the limitedness problem, which reduces it to solving a Gale-Stewart game with an ω-regular winning condition.
Submitted 11 August, 2017; originally announced August 2017.
-
arXiv:1703.04997 [pdf, ps, other]
It is undecidable if two regular tree languages can be separated by a deterministic tree-walking automaton
Abstract: The following problem is shown undecidable: given regular languages L,K of finite trees, decide if there exists a deterministic tree-walking automaton which accepts all trees in L and rejects all trees in K. The proof uses a technique of Kopczyński from LICS 2016.
Submitted 20 March, 2017; v1 submitted 15 March, 2017; originally announced March 2017.
-
Some connections between universal algebra and logics for trees
Abstract: One of the major open problems in automata and logic is the following: is there an algorithm which inputs a regular tree language and decides if the language can be defined in first-order logic? The goal of this paper is to present this problem and similar ones using the language of universal algebra, highlighting potential connections to the structural theory of finite algebras, including Tame Co… ▽ More
Submitted 14 March, 2017; originally announced March 2017.
-
arXiv:1702.06858 [pdf, ps, other]
Emptiness of zero automata is decidable
Abstract: Zero automata are a probabilistic extension of parity automata on infinite trees. The satisfiability of a certain probabilistic variant of mso, called tmso + zero, reduces to the emptiness problem for zero automata. We introduce a variant of zero automata called nonzero automata. We prove that for every zero automaton there is an equivalent nonzero automaton of quadratic size and the emptiness pro… ▽ More
Submitted 28 March, 2017; v1 submitted 22 February, 2017; originally announced February 2017.
-
Optimizing tree decompositions in MSO
Abstract: The classic algorithm of Bodlaender and Kloks [J. Algorithms, 1996] solves the following problem in linear fixed-parameter time: given a tree decomposition of a graph of (possibly suboptimal) width k, compute an optimum-width tree decomposition of the graph. In this work, we prove that this problem can also be solved in mso in the following sense: for every positive integer k, there is an mso tran… ▽ More
Submitted 2 February, 2022; v1 submitted 24 January, 2017; originally announced January 2017.
Journal ref: Logical Methods in Computer Science, Volume 18, Issue 1 (February 3, 2022) lmcs:6993
-
On the Regular Emptiness Problem of Subzero Automata
Abstract: Subzero automata is a class of tree automata whose acceptance condition can express probabilistic constraints. Our main result is that the problem of determining if a subzero automaton accepts some regular tree is decidable.
Submitted 10 August, 2016; originally announced August 2016.
Comments: In Proceedings ICE 2016, arXiv:1608.03131
Journal ref: EPTCS 223, 2016, pp. 1-23
-
Definability equals recognizability for graphs of bounded treewidth
Abstract: We prove a conjecture of Courcelle, which states that a graph property is definable in MSO with modular counting predicates on graphs of constant treewidth if, and only if it is recognizable in the following sense: constant-width tree decompositions of graphs satisfying the property can be recognized by tree automata. While the forward implication is a classic fact known as Courcelle's theorem, th… ▽ More
Submitted 10 May, 2016; originally announced May 2016.
Comments: 21 pages, an extended abstract will appear in the proceedings of LICS 2016
-
Recognisable languages over monads
Abstract: The principle behind algebraic language theory for various kinds of structures, such as words or trees, is to use a compositional function from the structures into a finite set. To talk about compositionality, one needs some way of composing structures into bigger structures. It so happens that category theory has an abstract concept for this, namely a monad. The goal of this paper is to propose m… ▽ More
Submitted 17 February, 2015; originally announced February 2015.
-
The MSO+U theory of (N, <) is undecidable
Abstract: We consider the logic MSO+U, which is monadic second-order logic extended with the unbounding quantifier. The unbounding quantifier is used to say that a property of finite sets holds for sets of arbitrarily large size. We prove that the logic is undecidable on infinite words, i.e. the MSO+U theory of (N,<) is undecidable. This settles an open problem about the logic, and improves a previous undec… ▽ More
Submitted 17 February, 2015; v1 submitted 16 February, 2015; originally announced February 2015.
Comments: 9 pages, with 2 figures
-
Decomposition Theorems and Model-Checking for the Modal $μ$-Calculus
Abstract: We prove a general decomposition theorem for the modal $μ$-calculus $L_μ$ in the spirit of Feferman and Vaught's theorem for disjoint unions. In particular, we show that if a structure (i.e., transition system) is composed of two substructures $M_1$ and $M_2$ plus edges from $M_1$ to $M_2$, then the formulas true at a node in $M$ only depend on the formulas true in the respective substructures in… ▽ More
Submitted 9 May, 2014; originally announced May 2014.
ACM Class: F.4.1
-
Weak MSO+U with Path Quantifiers over Infinite Trees
Abstract: This paper shows that over infinite trees, satisfiability is decidable for weak monadic second-order logic extended by the unbounding quantifier U and quantification over infinite paths. The proof is by reduction to emptiness for a certain automaton model, while emptiness for the automaton model is decided using profinite trees.
Submitted 29 April, 2014; originally announced April 2014.
Comments: version of an ICALP 2014 paper with appendices
-
arXiv:1402.0897 [pdf, ps, other]
Automata theory in nominal sets
Abstract: We study languages over infinite alphabets equipped with some structure that can be tested by recognizing automata. We develop a framework for studying such alphabets and the ensuing automata theory, where the key role is played by an automorphism group of the alphabet. In the process, we generalize nominal sets due to Gabbay and Pitts.
Submitted 14 August, 2014; v1 submitted 4 February, 2014; originally announced February 2014.
Journal ref: Logical Methods in Computer Science, Volume 10, Issue 3 (August 15, 2014) lmcs:1157
-
Transducers with origin information
Abstract: Call a string-to-string transducer regular if it can be realised by one of the following equivalent models: mso transductions, two-way deterministic automata with output, and streaming transducers with registers. This paper proposes to treat origin information as part of the semantics of a regular string-to-string transducer. With such semantics, the model admits a machine-independent characterisa… ▽ More
Submitted 24 September, 2013; originally announced September 2013.
-
arXiv:1210.4980 [pdf, ps, other]
Minimization of semilinear automata
Abstract: We investigate finite deterministic automata in sets with non-homogeneous atoms: integers with successor. As there are uncount- ably many deterministic finite automata in this setting, we restrict our attention to automata with semilinear transition function. The main re- sults is a minimization procedure for semilinear automata. The proof is subtle and refers to decidability of existential Presbu… ▽ More
Submitted 17 October, 2012; originally announced October 2012.
-
arXiv:1208.6172 [pdf, ps, other]
Wreath Products of Forest Algebras, with Applications to Tree Logics
Abstract: We use the recently developed theory of forest algebras to find algebraic characterizations of the languages of unranked trees and forests definable in various logics. These include the temporal logics CTL and EF, and first-order logic over the ancestor relation. While the characterizations are in general non-effective, we are able to use them to formulate necessary conditions for definability an… ▽ More
Submitted 16 September, 2012; v1 submitted 30 August, 2012; originally announced August 2012.
ACM Class: F.4.3
Journal ref: Logical Methods in Computer Science, Volume 8, Issue 3 (September 19, 2012) lmcs:1215
-
arXiv:1208.5129 [pdf, ps, other]
Piecewise testable tree languages
Abstract: This paper presents a decidable characterization of tree languages that can be defined by a boolean combination of Sigma_1 sentences. This is a tree extension of the Simon theorem, which says that a string language can be defined by a boolean combination of Sigma_1 sentences if and only if its syntactic monoid is J-trivial.
Submitted 28 September, 2012; v1 submitted 25 August, 2012; originally announced August 2012.
ACM Class: F.4.3,F.4.1
Journal ref: Logical Methods in Computer Science, Volume 8, Issue 3 (September 29, 2012) lmcs:1216
-
arXiv:1204.4906 [pdf, ps, other]
Rigidity is undecidable
Abstract: We show that the problem `whether a finite set of regular-linear axioms defines a rigid theory' is undecidable.
Submitted 22 April, 2012; originally announced April 2012.
Comments: 8 pages
MSC Class: 03D35; 03C05; 03G30; 18C10; 18C15
Journal ref: Math. Struct. Comp. Sci. 24 (2014) e240605
-
An extension of data automata that captures XPath
Abstract: We define a new kind of automata recognizing properties of data words or data trees and prove that the automata capture all queries definable in Regular XPath. We show that the automata-theoretic approach may be applied to answer decidability and expressibility questions for XPath.
Submitted 15 February, 2012; v1 submitted 3 January, 2012; originally announced January 2012.
ACM Class: F.1.1, H.2.3
Journal ref: Logical Methods in Computer Science, Volume 8, Issue 1 (February 16, 2012) lmcs:672
-
arXiv:1104.2262 [pdf, ps, other]
Finite Satisfiability for Guarded Fixpoint Logic
Abstract: The finite satisfiability problem for guarded fixpoint logic is decidable and complete for 2ExpTime (resp. ExpTime for formulas of bounded width).
Submitted 9 February, 2012; v1 submitted 12 April, 2011; originally announced April 2011.
-
Tree Languages Defined in First-Order Logic with One Quantifier Alternation
Abstract: We study tree languages that can be defined in Δ_2 . These are tree languages definable by a first-order formula whose quantifier prefix is forall exists, and simultaneously by a first-order formula whose quantifier prefix is . For the quantifier free part we consider two signatures, either the descendant relation alone or together with the lexicographical order relation on nodes. We provide an e… ▽ More
Submitted 20 October, 2010; v1 submitted 15 September, 2010; originally announced September 2010.
ACM Class: cs.LO
Journal ref: Logical Methods in Computer Science, Volume 6, Issue 4 (October 20, 2010) lmcs:699
-
arXiv:0904.4119 [pdf, ps, other]
Two-Way Unary Temporal Logic over Trees
Abstract: We consider a temporal logic EF+F^-1 for unranked, unordered finite trees. The logic has two operators: EFφ, which says "in some proper descendant φholds", and F^-1φ, which says "in some proper ancestor φholds". We present an algorithm for deciding if a regular language of unranked finite trees can be expressed in EF+F^-1. The algorithm uses a characterization expressed in terms of forest algebr… ▽ More
Submitted 5 August, 2009; v1 submitted 27 April, 2009; originally announced April 2009.
Comments: 29 pages. Journal version of a LICS 07 paper
ACM Class: F.4.1
Journal ref: Logical Methods in Computer Science, Volume 5, Issue 3 (August 5, 2009) lmcs:917
-
arXiv:0902.1042 [pdf, ps, other]
Weak Mso with the Unbounding Quantifier
Abstract: A new class of languages of infinite words is introduced, called the max-regular languages, extending the class of $ω$-regular languages. The class has two equivalent descriptions: in terms of automata (a type of deterministic counter automaton), and in terms of logic (weak monadic second-order logic with a bounding quantifier). Effective translations between the logic and automata are given.
Submitted 6 February, 2009; originally announced February 2009.
Journal ref: 26th International Symposium on Theoretical Aspects of Computer Science STACS 2009 (2009) 159-170