The Complexity of Separability for Semilinear Sets and Parikh Automata
Abstract
In a separability problem, we are given two sets and from a class , and we want to decide whether there exists a set from a class such that and . In this case, we speak of separability of sets in by sets in .
We study two types of separability problems. First, we consider separability of semilinear sets (i.e. subsets of for some ) by sets definable by quantifier-free monadic Presburger formulas (or equivalently, the recognizable subsets of ). Here, a formula is monadic if each atom uses at most one variable. Second, we consider separability of languages of Parikh automata by regular languages. A Parikh automaton is a machine with access to counters that can only be incremented, and have to meet a semilinear constraint at the end of the run. Both of these separability problems are known to be decidable with elementary complexity.
Our main results are that both problems are -complete. In the case of semilinear sets, -completeness holds regardless of whether the input sets are specified by existential Presburger formulas, quantifier-free formulas, or semilinear representations. Our results imply that recognizable separability of rational subsets of (shown decidable by Choffrut and Grigorieff) is -complete as well. Another application is that regularity of deterministic Parikh automata (where the target set is specified using a quantifier-free Presburger formula) is -complete as well.
Keywords and phrases:
Vector Addition System, Separability, Regular LanguageCopyright and License:
2012 ACM Subject Classification:
Theory of computation Models of computation ; Theory of computation Regular languagesFunding:
††margin:
Funded by the European Union (ERC, FINABIS, 101077902). Views and opinions expressed are however those of the author(s) only and do not necessarily reflect those of the European Union or the European Research Council Executive Agency. Neither the European Union nor the granting authority can be held responsible for them.
Editors:
Paweł Gawrychowski, Filip Mazowiecki, and Michał SkrzypczakSeries and Publisher:
Leibniz International Proceedings in Informatics, Schloss Dagstuhl – Leibniz-Zentrum für Informatik
1 Introduction
Separability.
In a separability problem, we are given two sets and from a class , and we want to decide whether there exists a set from a class such that and . Here, the sets in are the admissible separators, and is said to separate the sets and . In the case where is a class of non-regular languages and is the class of regular languages, then the problem is called regular separability (problem) for . While the problem turned out to be undecidable for context-free languages in the 1970s [47, 34], the last decade saw a significant amount of attention on regular separability for subclasses (or variants) of vector addition systems with states (VASS). Regular separability was studied for coverability languages of VASS (and, more generally, well-structured transition systems) [18, 38, 41], one-counter automata and one-dimensional VASS [17], Parikh automata [15], commutative VASS languages [16], concerning its relationship with the intersection problem [48], Büchi VASS [2, 3], and also for settings where one input language is an arbitrary VASS and the other is from some subclass [19]. Recently, this line of work culminated in the breakthrough result that regular separability for general VASS languages is decidable and Ackermann-complete [39]. However, for subclasses of VASS languages, the complexity landscape is far from understood.
Separating Parikh automata.
An important example of such a subclass is the class of languages accepted by Parikh automata, which are non-deterministic automata equipped with counters that can only be incremented. Here, a run is accepting if the final counter values belong to a particular semilinear set. Languages of Parikh automata have received significant attention over many decades [35, 26, 1, 37, 9, 7, 10, 23, 5, 51, 12, 52], including a lot of work in recent years [20, 29, 22, 27, 11, 46]. This is because they are expressive enough to model non-trivial counting behavior, but still enjoy low complexity for many algorithmic tasks (e.g. the emptiness problem is -complete). Example applications are monadic second-order logic with cardinalities [40] (this paper introduced the specific model of Parikh automata), solving subword constraints [33], and model-checking FIFO channel systems [8]. Moreover, these languages have other equivalent characterizations, such as reversal-bounded counter automata – a classic (and intensely studied) type of infinite-state systems with nice decidability properties [35, 5] – and automata with -counters, also called -VASS [26, 30]111See [1] for efficient translation among Parikh automata, reversal-bounded counter automata, and -VASS..
Decidability of regular separability was shown by Clemente, Czerwiński, Lasota, and Paperman [15] in 2017 as one of the first decidability results for regular separability. Moreover, this result was a key ingredient in Keskin and Meyer’s algorithm to decide regular separability for general VASS [39]. However, despite the strong interest in Parikh automata and in regular separability, the complexity of this problem remained unknown. In [15, Section 7], the authors provide an elementary complexity upper bound.
Separating semilinear sets: Monadic interpolants.
One of the steps in the algorithm from [15] is to decide separability of sets defined in Presburger arithmetic, the first-order theory of . Separators of logically defined sets can also be viewed as interpolants. If and are (first-order or propositional) formulas such that holds, then a formula is a Craig interpolant if and both hold. Here, are each a vector of variables, meaning only mentions variables that occur both in and . Equivalently, the set defined by is a separator of the sets defined by the existential formulas and . In Interpolation-Based Model Checking (ITP) [43, 50], Craig interpolants are used to safely overapproximate sets of states: If describes reachable states and describes the set of safe states, then overapproximates without adding unsafe states. Note that in Presburger logic there are implications that do not have a Craig interpolant (this is in contrast to propositional logic). So, before constructing an interpolant, a first step of ITP is to decide whether there even exists such an interpolant.
In the case of Presburger arithmetic, the definable sets are the semilinear sets. For many infinite-state systems, the step relation (or even the reachability relation) is semilinear, and thus, separators can play the role of Craig interpolants in infinite-state model checking. For the separators, a natural choice is the class of recognizable sets, which are those defined by monadic Presburger formulas, meaning each atom refers to at most one variable. Monadic formulas have recently received attention [49, 4, 32, 31] because of their applications in query optimization in constraint databases [28, 42] and symbolic automata [49]. Thus, deciding recognizable separability of semilinear sets can be viewed as synthesizing monadic Craig interpolants.
Recognizable separability was shown decidable by Choffrut and Grigorieff [14] (see [16] for an extension beyond semilinear sets). This was a key ingredient for separability of Parikh automata in [15]. Choffrut and Grigorieff’s algorithm has elementary complexity [15, Section 7], but the exact complexity of recognizable separability of semilinear sets remained unknown.
Contribution.
Our first main result is that for given existential Presburger formulas, recognizable separability (i.e. monadic separability) is -complete. In particular, recognizable separability is -complete for given semilinear representations. Moreover, our result implies that recognizable separability is -complete for rational subsets of monoids as considered by Choffrut and Grigorieff [14]. Building on the methods of the first result, our second main result is that regular separability for Parikh automata is -complete.
Application I: Monadic decomposability.
Our first main result strengthens a recent result on monadic decomposability. A formula in Presburger arithmetic is monadically decomposable if it has a monadic equivalent. It was shown recently that (i) deciding whether a given quantifier-free formula is monadically decomposable (i.e. whether it has a monadic equivalent) is -complete [32, Theorem 1] (see [4, Corollary 8.1] for an alternative proof; and see [13, Proposition 3] for improved bounds for the approach in [32]), whereas (ii) for existential formulas, the problem is -complete [31, Corollary 3.6]. Our first main result strengthens (i): If is a quantifier-free formula, then the sets defined by and are separable by a monadic formula if and only if is monadically decomposable. Perhaps surprisingly, our upper bound still holds for existential Presburger formulas, for which monadic decomposability is known to be -complete222This is not a contradiction to the above reduction from monadic decomposability to recognizable separation, since this reduction would require complementing an existential formula..
Application II: Regularity of Parikh automata.
Another consequence of our results is that regularity of deterministic Parikh automata, i.e. deciding whether a given deterministic Parikh automaton accepts a regular language, is -complete: Given a deterministic Parikh automaton for a language , one can construct in polynomial time a Parikh automaton for . Then, is regular if and only if and are regularly separable. Here, we assume that the semilinear target set is given as a quantifier-free Presburger formula. Decidability of this problem has been shown by Cadilhac, Finkel, and McKenzie [10, Theorem 25] (even in the more general case of unambiguous constrained automata).
Key ingredients.
The existing elementary-complexity algorithm for recognizable separability of semilinear sets works with semilinear representations and distinguishes two cases: If in one component , one of the input sets is bounded by some , then it considers each and recursively decides separability of and , where is just restricted to having in this bounded component. If, however, all components in both sets are unbounded, then it checks feasibility of a system of linear Diophantine equations. This approach leads to repeated intersection of semilinear sets, and thus exponential time. We provide a characterization (Proposition 4.5) that describes inseparability directly as the non-empty intersection of two semilinear sets associated with . This easily yields an procedure for inseparability, even if the input sets are given as existential Presburger formulas.
This characterization is then the first key ingredient for deciding regular separability of Parikh automata in . This is because in [15], it is shown that, after some preprocessing, the languages of Parikh automata and are separable if and only if two semilinear sets associated with and are separable by a recognizable set. These semilinear sets consist of vectors, each of which counts for some run of , how many times each simple cycles occurs in this run. Thus, our first result tells us that it suffices to decide whether and are disjoint. Unfortunately, the vectors of have exponential dimension , since there are exponentially many simple cycles in each . Thus, applying our first result directly using existential Presburger arithmetic would only yield a upper bound.
To avoid this blowup, the second key idea is to encode the vectors in and as words, where the cycle occurrences appear as a concatenation in some order. By constructing -VASS for the encodings of the vectors in , we reduce separability to intersection emptiness of and . The latter, in turn, easily reduces to non-reachability in a product -VASS, which is in .
2 Preliminaries
By we denote the set of all non-negative integers. Let be a number and be a set of indices. By we denote the projection of vectors in to vectors in , i.e., for each and . The support of a vector is the set of all coordinates in with non-zero value, i.e. .
Semilinear sets.
A set is linear if there is a vector and a finite set of so-called periods such that holds. Here, for , the set is defined as A subset is called semilinear if it is a finite union of linear sets. In case we specify by way of a finite union of linear sets, then we call this description a semilinear representation. The set is called hyperlinear if there are finite sets such that holds. It is well known that the semilinear sets are precisely those definable in Presburger arithmetic [25], the first-order theory of the structure . Here is the predicate where if and only if is divisible by . By quantifier elimination, every formula in Presburger arithmetic has a quantifier-free equivalent.
Parikh automata.
Intuitively, a Parikh automaton has finitely many control states and access to counters. Upon reading a letter (or the empty word), it can add a vector to its counters. Moreover, for each state , it specifies a target set . An input word is accepted if at the end of the run, the accumulated counter values belong to , where is the state at the end of the run. Formally, a Parikh automaton is a tuple , where is a finite set of states, is its finite set of transitions, is the initial state, and is the target set in state , for each . For an input word , a run on is a sequence of transitions in with . The run is accepting if . The language of is then the set of all words such that has an accepting run on .
Remark 2.1.
For our results on general Parikh automata, we assume that the target sets are specified using existential Presburger formulas. However, this is not an important aspect: Given a Parikh automaton, one can in polynomial time modify the automaton (and the target set) so that the target set is given, e.g. by a semilinear representation, or a quantifier-free Presburger formula. This is a simple consequence of the fact that one can translate Parikh automata into integer VASS in logarithmic space [1, Corollary 1]. However, this conversion does not preserve determinism, and for deterministic Parikh automata, it can be important how target sets are given (see Corollary 3.7 and the discussion after it). Therefore, for deterministic Parikh automata, we always specify how the targets sets are given.
Separability.
A subset of a monoid is recognizable if there is a morphism into some finite monoid such that . The recognizable subsets of form a Boolean algebra [6, Chapter III, Prop. 1.1]. We say that sets are (recognizably) separable, denoted , if there is a morphism into some finite monoid such that . Equivalently, we have if and only if there is a recognizable with and . Here, is called a separator of and . Clearly, we have if and only if : if is a separator of and then separates and .
In the case for some alphabet , the recognizable sets in are exactly the regular languages (cf. [44, Theorem II.2.1]), and thus we speak of regular separability. In the case for some , then the recognizable subsets of are precisely the finite unions of cartesian products , where each is ultimately periodic [6, Theorem 5.1]. Here, a set is ultimately periodic if there are such that for all , we have if and only if . This implies that the recognizable subsets of are precisely those definable by a monadic Presburger formula, i.e. one where every atom only refers to one variable [49]. For these reasons, in the case of , we also sometimes speak of monadic separability.
In a recognizable separability problem, we are given two subsets and from a monoid as input, and we want to decide whether and are recognizably separable. Again, in the case of , we also call this the regular separability problem.
3 Main results
Recognizable separability of semilinear sets.
Our first main result is the following.
Theorem 3.1.
Given two semilinear sets defined by existential Presburger formulas, recognizable separability is -complete.
The lower bound follows with a simple reduction from the emptiness problem for sets defined by existential Presburger formulas: If defines a subset , then if and only if is empty. We prove the upper bound in Section 5. By the same argument, recognizable separability is -hard for input sets given by quantifier-free formulas. Thus:
Corollary 3.2.
Given two semilinear sets defined by quantifier-free Presburger formulas, recognizable separability is -complete.
In particular, this re-proves the upper bound for monadic decomposability of quantifier-free formulas, as originally shown by Hague, Lin, Rümmer, and Wu [32, Theorem 1].
Remark 3.3.
Our result also implies that for existential Presburger formulas over defining , it is -complete to decide whether they are separable by a monadically defined subset of . Indeed, consider the injective map , where with for and for . Then is monadically definable if and only if is monadically definable333This is easily shown by translating each atomic formula (over a single variable) into a monadic formula in each direction. However, note that within , monadic definability is not the same as recognizability. For example, the sets and are monadically separable, but not separable by a recognizable subset of , since every non-empty recognizable subset of is infinite [6, Chapter III, Example 1.4].. Thus, are monadically separable if and only if are monadically separable. Finally, one easily constructs existential formulas for .
Since for a given semilinear representation of a set , it is easy to construct an existential Presburger formula defining , Theorem 3.1 also implies the following.
Corollary 3.4.
Given two semilinear representations, recognizable separability is -complete.
In this case, the lower bound comes from the -hard membership problem for semilinear sets (even if all numbers are written in unary) [36, Lemma 10]: For a semilinear subset and a vector , we have if and only if . Finally, Theorem 3.1 allows us to settle the complexity of recognizable separability of rational subsets of .
Corollary 3.5.
Given and two rational subsets of , deciding recognizable separability is -complete.
Decidability was first shown by Choffrut and Grigorieff [14, Theorem 1]. The upper bound follows because Choffrut and Grigorieff [14, Theorem 10] reduce recognizable separability of subsets of to recognizable separability of rational subsets of (and their reduction is clearly in polynomial time). Moreover, for a given rational subset of , one can construct in polynomial time an equivalent existential Presburger formula [45, Theorem 1]. Thus, the upper bound follows from Theorem 3.1. Since semilinear sets in (given by a semilinear representation) can be viewed as rational subsets of (and hence of ), the lower bound is inherited from Corollary 3.4.
Regular separability of Parikh automata.
Our second main result is the following:
Theorem 3.6.
Regular separability for Parikh automata is -complete.
The lower bound comes via the -complete emptiness problem: For a given Parikh automaton accepting a language , we have if and only if . Thus, the interesting part is the upper bound, which we prove in Section 6. This is a significant improvement to the previously known elementary (or finitely iterated exponential time) complexity upper bound by Clemente, Czerwiński, Lasota, and Paperman [15].
Theorem 3.6 can also be applied to deciding regularity of deterministic Parikh automata.
Corollary 3.7.
For deterministic Parikh automata with target sets given as quantifier-free Presburger formulas, deciding regularity is -complete.
Decidability of regularity was shown by Cadilhac, Finkel, and McKenzie [10, Theorem 25] (in the slightly more general setting of unambiguous constrained automata). For the upper bound, note that for a language given by a deterministic Parikh automaton (with quantifier-free formulas for the target sets), one can in polynomial time construct the same type of automaton for the complement . Since is regular if and only if and are separable by a regular language, we can invoke Theorem 3.6. The lower bound is inherited from monadic decomposability of quantifier-free formulas. Indeed, given a quantifier-free Presburger formula with free variables , one easily constructs a deterministic Parikh automaton (with quantifier-free target sets) for the language . As shown by Ginsburg and Spanier [24, Theorem 1.2], is regular if and only if is monadically decomposable. However, monadic decomposability for quantifier-free formulas is -complete [32, Theorem 1].
For the upper bound in Corollary 3.7, we cannot drop the assumption that the formula be quantifier-free. This is because if the target sets can be existential Presburger formulas, then the regularity problem is -hard. This follows by the same reduction from monadic decomposability: If we construct as above using an existential formula , then again, is regular if and only if is monadically decomposable. Moreover, monadic decomposability for existential formulas is -complete [31, Corollary 3.6].
4 A characterization of separability in hyperlinear sets
Before we prove our two main results, Theorems 3.1 and 3.6, we should recall the ideas of the existing algorithms [14, 16] for recognizable separability of linear sets. We will use these ideas to obtain a new characterization of separability in hyperlinear sets.
Let be two linear sets. The algorithms [14, 16] rely on a procedure that successively eliminates “bounded components”: If, say, is bounded in component by some , then one can observe that if, and only if, for every . Here, is restricted to those vectors that have in the -th component, and then projected to all components . Therefore, the algorithms of [14, 16] recursively check separability of and for each . This process invokes several expensive intersection operations on semilinear sets and thus has high complexity. Instead, our approach immediately guesses and verifies the set of components that remain after the elimination process. The corresponding checks involve the notion of twin-unboundedness.
Twin-unbounded components.
Our notion applies, slightly more generally, to hyperlinear sets. Hence, let and be two hyperlinear sets where are finite sets.
Definition 4.1.
A coordinate is twin-unbounded for and if there exist and such that .
Hence, intuitively, twin-unbounded coordinates are those that can be made large/driven up in in the same way as in . There is yet another characterization of twin-unbounded coordinates. Let . We say the -th coordinate of the hyperlinear set is bounded if there is no period vector in with support on , i.e., for all . We say that a subset of coordinates is bounded in if each is bounded in . Consider the following process: Given two hyperlinear sets and . We modify and by performing each of the following three steps for each coordinate until the sets of remaining period vectors in and stabilize:
-
If neither nor is bounded at , we leave and untouched.
-
If only is bounded at , we remove all period vectors from which have support on .
-
If only is bounded at , we remove all period vectors from which have support on .
Then, the coordinates that remain unbounded are precisely the twin-unbounded ones.
Example 4.2.
Consider and . Then is bounded by the value at coordinate . So and are separable if and only if and restricted to the vectors having the value in the second coordinate. So, we only consider this restriction of – in our algorithm this is reflected by the deletion of the period vector of . After deletion of the period vector , is bounded at coordinate by the value . So, we remove the period vector from . Finally, the period vector of gets removed since is now bounded at coordinate . Hence, our algorithm terminates in this case with no twin-unbounded coordinates. This example shows that even if and both are unbounded in coordinates and , none of these coordinates is twin-unbounded.
If and , then no coordinate is bounded in and . Hence, all coordinates are twin-unbounded and no period vector gets removed.
For , we write and .
Separating by modular constraints.
As observed in [14, 16], if all coordinates of two linear sets are unbounded, then separability holds if and only if the two sets can be separated by modulo constraints. This relies on the well known fact that finitely generated abelian groups are subgroup separable, i.e. that for every element that does not belong to a subgroup , there exists a homomorphism into a finite group such that (i) is included in the kernel of and (ii) . In our characterization (Proposition 4.5) we will use similar arguments and therefore we will recall subgroup separability here. We include a short proof in the full version.
Lemma 4.3 (Subgroup separability).
If is a subgroup and , then there is an , , and a morphism with (i) and (ii) .
Separability vs. intersection emptiness.
We will now characterize inseparability of hyperlinear sets via the intersection of two hyperlinear sets and associated with . The proof will rely on an equivalence relation of vectors. For vectors and , we write if for every , we have
-
(1)
or
-
(2)
and .
The following was shown in [16, Prop. 18].
Lemma 4.4.
For any sets , the following are equivalent:
-
(1)
and are not separable by a recognizable set.
-
(2)
for each there are and with .
Let be such that divides . We can observe that implies in this case. Thus, to show recognizable inseparability of two sets , it suffices to find and for almost all numbers . We will use this fact in the proof of the following characterization of inseparability.
Proposition 4.5.
Let and be hyperlinear sets. Then and are not separable by a recognizable set if and only if the intersection
| (1) |
is non-empty, where is the set of coordinates that are twin-unbounded for .
Proof.
Suppose there is a vector in the intersection (1). Then we can write and with , , , and . Since is twin-unbounded for and , there are – by definition – and with for each . Then for and we infer . Now for each , consider the vectors
Then we have for each . We claim that for all . Indeed, on coordinates , the vectors and coincide with . Moreover, on coordinates , both vectors and are larger than and also congruent to . Hence, . Since clearly and , Lemma 4.4 implies that and are not separable.
Conversely, suppose that and are not separable. Then by Lemma 4.4 there are and with for every . We claim that the sequences and have subsequences and such that for every , we have (i) , (ii) and (iii) .
The claim is easy to observe: Note that by picking subsequences, we may assume that even for every . Moreover, the latter property is preserved by taking subsequences. Thus, since are finite, by picking subsequences again, we may assume that there are and such that and and for . Then, by Dickson’s lemma, we may assume that in addition and for every (here, we apply Dickson’s lemma to the -dimensional vectors of coefficients at period vectors in and similarly for ). Now since for every , it follows that the sequences and are unbounded on the same set of coordinates. Then clearly, is twin-unbounded for and . This means, for all but finitely many , we have and . Hence, by picking another subsequence, we may assume that the latter holds for every . Then, and satisfy the properties (i–iii) above, establishing our claim.
We now claim that belongs to the group generated by . Towards a contradiction, suppose does not belong to . By Lemma 4.3, there must be an , , and a morphism such that and . However, the vector
belongs to , but also agrees with under (since all components of are divisible by ), contradicting Lemma 4.3. Hence .
This means, we can write with and . But then the vector belongs to the intersection (1).
With Proposition 4.5, we have now characterized inseparability of subsets of via a particular intersection of two sets in . It will later be more convenient to work with intersections of sets in , which motivates the following reformulation of Proposition 4.5.
Theorem 4.6.
Let and be hyperlinear sets. Then and are not separable by a recognizable set if and only if the intersection
| (2) |
is non-empty, where is the set of coordinates that are twin-unbounded for .
Proof.
Direct consequence of Proposition 4.5, since clearly intersects if and only if intersects .
5 Separability of semilinear sets is in
Using the characterization Theorem 4.6, we can now explain our algorithm for the upper bound in Theorem 3.1. We describe an algorithm that establishes inseparability.
Algorithm Step I: Solution sets to linear Diophantine equations.
Let us first see that we can reduce the problem to the case where both input sets are given as projections of solution sets of linear Diophantine equations. We may assume that the input formulas are of the form , where is a formula consisting of conjunction and disjunction (i.e. no negation) of atoms of the form , where is a linear combination of variables and integer coefficients, and is a constant.
Let be a formula as described above. It is a well known fact that can be transformed into disjunctive normal form. This means, is equivalent to a formula , where each (a so-called clause) has the form such that is a conjunction of atoms appearing in . In general, the number of clauses of is exponential.
Now, let and be the input formulas of the algorithm and let and be their equivalent formulas in disjunctive normal form. Since the number of clauses is exponential, we cannot compute all clauses for and . However, the solution sets of and are recognizably inseparable if, and only if, for some pair , the solution sets of the formulas and are recognizably inseparable. This is due to the following fact, which follows standard ideas (see the full version for a proof in this particular setting).
Lemma 5.1.
Let be sets from a monoid such that . Then if, and only if, for all .
Thus, for deciding the inseparability of the solution sets of and in it is sufficient to guess (in polynomial time) clauses and and show that inseparability of the solution sets of these two formulas is decidable in . Therefore, from now on we can assume that the input formulas are (existentially quantified) conjunctions of atoms of the form .
In particular, each of the two input sets is a projection of the solution set of a system of linear Diophantine inequalities. By introducing slack variables (which will also be projected away), we can turn inequalities into equations. Thus, we have as input sets with
| (3) |
where is the projection to the first components, are integer matrices, and are integer vectors. Note that here, assuming that the numbers of columns and the number of rows is the same for and means no loss of generality.
Algorithm Step II: Recognizable inseparability as satisfiability.
In the second step, we will reduce recognizable inseparability of and to satisfiability of an existential Presburger formula. To this end, we use the fact that the solution sets to (resp. ) are hyperlinear sets, which allows us to apply Theorem 4.6.
Proposition 5.2.
and are recognizably inseparable if, and only if, there are vectors with
-
(1)
, , ,
-
(2)
, , and ,
-
(3)
, , and .
Proof.
We apply Theorem 4.6. To this end, we use the standard hyperlinear representation for solution sets of systems of linear Diophantine equalities. Let be the set of all (component-wise) minimal solutions to , and let be the set of all minimal solutions to . Then it is well known that and are finite and also . In the same way, we obtain a hyperlinear representation . Then, we can show the Proposition using Theorem 4.6. For a full proof, see the full version.
Finally, Proposition 5.2 can be used to complete the proof of our first main result:
Proof of Theorem 3.1.
Let and be two existential Presburger formulas without negation and using only atoms of the form , where is a linear combination of variables and integer coefficients. We give an algorithm deciding inseparability by a recognizable set.
Since the solution sets of and are inseparable if, and only if, their disjunctive normal forms have at least one pair of inseparable clauses, we guess such a pair of these clauses and (cf. Lemma 5.1). We can transform and into Diophantine equations and . Using Proposition 5.2 we obtain in polynomial time an existential Presburger formula that is satisfiable if, and only if, the solution sets of and are inseparable if, and only if, and are inseparable. Finally, the result follows from -completeness of the existential fragment of Presburger arithmetic.
6 Regular separability of Parikh automata
We now prove our second main result: the upper bound of regular separability of Parikh automata (Theorem 3.6). For this, it will be technically simpler to work with -VASS, which are equivalent to Parikh automata. In [1, Corollary 1], it was shown that the two automata models can be converted (while preserving the language) into each other in logarithmic space. Therefore, showing the upper bound for -VASS implies it for Parikh automata.
Integer VASS.
A (-dimensional) integer vector addition system with states (-VASS, for short) is a quintuple where is a finite set of states, is an alphabet, is a finite set of transitions, and are its source and target state, respectively. Here, . A -VASS is called deterministic if has no -labeled transitions and for each and there is at most one transition of the form (where and ).
A configuration of is a tuple from . For two configurations and a word we write if there are states , vectors , and letters such that , , , and for each we have a transition with . In this case, the sequence is called a (-labeled) run of . The accepted language of is .
Let be a set of indices. Then we can generalize the acceptance behavior of the -VASS as follows:
Note that holds.
An overview of the proof of Theorem 3.6.
The remaining part of this section is dedicated to the proof of our second main result, Theorem 3.6. The first few steps (Lemmas 6.1, 6.2, 6.3, and 6.5) are essentially the same as in [15], for which we briefly give an overview: The authors reduce regular separability to recognizable separability of semilinear sets in (for some dimension ). Concretely, instead of asking for the regular separability in two given -VASS we are counting the cycles within runs of these -VASS. Accordingly, the dimension corresponds to the number of (simple) cycles. Unfortunately, this number is exponential in the size of the input and therefore we cannot just use our first main result (Theorem 3.1) to prove the upper complexity bound. Instead we will construct two -VASS (of polynomial dimension) accepting sequences of cycles such that their language intersection corresponds to the intersection (2) from Theorem 4.6 (which is non-empty if, and only if, the -VASS from the input are regularly inseparable). Intersection for -VASS is known to be in implying also the upper complexity bound for the regular inseparability problem resp. the upper bound for the separability problem of -VASS.
Reduction to a single integer VASS.
As announced, we will first follow the reduction from [15]. In the first step, the regular separability problem of nondeterministic -VASS can be reduced to the same problem in deterministic -VASS. This reduction is possible in polynomial time which is a bit surprising at first glance since determinization typically requires at least an exponential blowup. However, in this reduction we determinize the -VASS “up to some homomorphic preimage”, i.e., from two given -VASS and one constructs two deterministic -VASS and with (i) where is a homomorphism and (ii) if, and only if, holds. Since our setting is technically slightly different, we include a proof in the full version.
Lemma 6.1 ([15, Lemma 7]).
Regular separability for -VASS reduces in polynomial time to the regular separability problem for deterministic -VASS.
Next, we reduce regular separability for deterministic -VASS to regular separability of two languages accepted by the same deterministic -VASS, but with different sets of counters. To this end, given -dim. -VASS and we construct one -dim. -VASS (using product construction) and two index sets such that . We include a detailed proof for our setting in the full version.
Lemma 6.2 ([15, Proposition 1]).
Regular separability for deterministic -VASS reduces in polynomial time to the following:
-
Given: A -dimensional deterministic -VASS with two subsets .
-
Question: Are the languages and regularly separable?
Therefore, we now fix a -VASS .
Skeletons.
Now, we want to further simplify the regular separability problem. Concretely, we want to consider only runs in that are in some sense similar. We consider some base paths – so called skeletons – in . Two runs in are similar if they follow the same base path and only differ in the order and repetition of some cycles. We define the function such that for a path in such that is a sub-path of the original path in which we keep the same set of visited states while removing all cycles that do not increase the set of visited states. Here, is called the skeleton of .
Let be a path in , i.e., we have for each . The map is defined inductively as follows: and . For assume that is already constructed and that is a path ending in . Now we consider the transition . If there is no transition (with ) such that this transition ends in the state , we set . Note that is a path ending in the state .
Otherwise, let be maximal such that ends in . Then is a cycle in (note that starts with since is a path). If all states occurring in the cycle also occur in the path , then we set , i.e., we omit the cycle in the skeleton. Note that the skeleton is a path ending in . Otherwise at least one state in the cycle does not occur in the path . In this case, we simply add resulting in where is also a path ending in . Note that any skeleton of has length at most quadratic in the number of transitions as shown in [15, Lemma 10].
Let be a skeleton. A -cycle is a cycle that only visits states occurring in ; a -run is a run with skeleton (i.e., is obtained from by inserting -cycles). We write for the set of all words in accepted via -runs.
Lemma 6.3 ([15, Lemma 11]).
We have if, and only if, holds for every skeleton .
Although this was essentially shown in [15, Lemma 11], our setting is strictly speaking slightly different (e.g. we have all short rather than only simple cycles), so we include a detailed proof in the full version. Thus, it suffices to show that for a given skeleton , one can decide regular inseparability of and in . So, from now on, we fix a skeleton and simply write for . Since we only consider runs that visit states that occur in , we may also assume that consists only of the states occurring on . In particular, we only say cycle instead of “-cycle”.
Counting cycles.
We now phrase a characterization of regular separability from [15] in our setting. It says that regular separability of the languages and is equivalent to recognizable separability of vectors that count cycles. Here, we only count short cycles of length at most . This is possible since each cycle can be decomposed into short cycles. In the following, we fix the set of all short cycles in .444Although Lemmas 6.1, 6.2, 6.3, and 6.5 are essentially the same as in [15], we are working with short cycles, whereas [15] uses simple cycles. This will be crucial later, because short cycles can be guessed on-the-fly in a finite automaton without storing the whole cycle.
For , we define: if is a transition then the effect of to the components in is , i.e. the projection of the counter update to . If is a path, then the effect of to the components in is the sum of the effects of all transitions on this path, i.e. . Now, let be a multiset of short cycles. Then the effect of to the components in is . If is a multiset of transitions, then the effect of to the components in is . In case of we will also write instead of . Finally, we define
Hence, is the set of multisets of short cycles such that inserting them into would lead to an accepting run with acceptance condition . Since is the solution set of linear Diophantine equations, it is hyperlinear (see the full version for a proof).
Observation 6.4.
Let . Then is hyperlinear, i.e., for two finite sets .
The following equivalence between regular separability of the languages and recognizable separability of the (hyperlinear) sets was shown in [15, Lemma 12]. It is straightforward to adapt it to our situation (see the full version).
Lemma 6.5.
We have if, and only if, .
Reducing inseparability to intersection.
At this point, our proof deviates from the approach of [15]. According to Lemma 6.5, it remains to decide whether , where and are sets of vectors of dimension , which is exponential. In Theorem 4.6, we saw that recognizable separability of vector sets and reduces to intersection emptiness of and , where is a subset of the twin-unbounded components. However, the exponential dimension of means a direct translation into existential Presburger arithmetic would incur an exponential blowup.
Instead, our key observation is that one can reduce inseparability to intersection emptiness of -VASS: The idea is to encode the intersecting vectors , where , , as words containing the participating cycles. Thus, we guess a subset of the twin-unbounded components, and then construct in polynomial time two -VASS and such that
| (4) | ||||
| (5) |
where for cycles , the so-called Parikh vector counts how many times each short cycle occurs in : If , then is the number of indices with . Note that then clearly, if and only if .
The main challenge in constructing and is to guess a subset of twin-unbounded components, and for the -VASS to verify that a given cycle belongs to , without being able to store an entire cycle in its state. To solve this, we we will characterize the twin-unbounded cycles in terms of its set of occurring transitions.
Characterizing twin-unbounded cycles.
We define for any the set
Thus, is the set of all short cycles that consist solely of transitions from .
Our characterization uses an adaptation of the notion of “cancelable productions” in -grammars used in [1]. We define the homomorphism as follows: for each transition we set , where and are unit vectors. Thus, is the number of incoming transitions to , minus the number of outgoing edges from , weighted by the coefficients in . A flow is a vector with . The following is a standard fact in graph theory. For a proof that even applies to context-free grammars (rather than automata), see [21, Theorem 3.1].
Lemma 6.6.
A vector is a flow if and only if it is a sum of (the Parikh vectors of) cycles.
The following notion will be key in characterizing which cycles are twin-unbounded for and . A transition is bi-cancelable if there exist flows such that (i) and , (ii) occurs in both and in , and (iii) . In other words, is bi-cancelable if it is part of two flows and with the same support and with effect zero (wrt. the components resp. ).
Lemma 6.7.
A cycle is twin-unbounded for and if, and only if, every transition in is bi-cancelable.
Proof.
For the “only if” direction, suppose that is twin-unbounded for and . Then by definition there exist sums of period vectors of resp. with . Define , where maps cycles to the number of occurrences of each transition in these cycles. Then clearly are flows with , occurs in both and in , and . Hence, all transitions in are bi-cancelable.
For the “if” direction, suppose a cycle only contains bi-cancelable transitions and write for . For each , there are flows and witnessing that is bi-cancelable. Notice that and are flows as well and they have . As flows, both and can be written as a sum of cycles: There are with and . Observe that , meaning and are sums of period vectors of and , respectively. If we knew that occurs in both and in , and had the same support, we could conclude twin-unboundedness of . Since may not have these properties, we will now modify them. Consider the set ; hence is the set of short cycles such that . By the choice of and , we know . For each cycle , the vectors and are again flows, because is a flow. Now observe
for (cf. Figure 1). Hence, the flow can be written as a sum of cycles in which each cycle from occurs. Moreover, in this sum, every occurring cycle belongs to . This means, have the same support , which includes . Moreover, since , we know that , meaning is a sum of period vectors of , for . This means, is indeed twin-unbounded for and .
To construct our -VASS and , we first guess a set of transitions and then verify that all of them are bi-cancelable. For the verification, we translate the definition of bi-cancelability into an existential Presburger formula which is satisfiable if, and only if, is bi-cancelable (see the full version).
Lemma 6.8.
Given a transition , we can decide in whether it is bi-cancelable.
Constructing the -VASS.
Let us now describe in more detail how the -VASS and are constructed. Instead of literally guessing the set of twin-unbounded cycles (which could require exponentially many bits), we guess a set of transitions in and then verify in that they are all bi-cancelable using Lemma 6.8. Then, we build -VASS that satisfy Equations 4 and 5 for the specific choice . This means, we will have
| (6) | ||||
| (7) |
and from now on, we will also write . Note that the result of our algorithm is correct, even when the guess for is not the entire set of bi-cancelable transitions: when intersects for some choice of , it will do so for any larger choice of .
Ensuring membership in .
The idea for constructing (and analogously ) is simple. For each cycle in the input, it guesses whether it belongs to or to . Let and be the collection of cycles guessed to be in and in , respectively. To make sure that , we note that is equivalent to , where is the skeleton guessed earlier in the algorithm. Thus, we can use counters to sum up the effect of the cycles and add once in the end. Hence, these counters being zero in the end is equivalent to .
Ensuring membership in .
To make sure that , we note that this is equivalent to and . Thus, our -VASS has a separate set of counters that carry the total effect of all the cycles in . Moreover, it is easy to check that all cycles in only use transitions in .
Note that membership in and in are checked similarly. With this polynomial-time construction of and , we are ready to prove Theorem 3.6:
Proof of Theorem 3.6.
We give an algorithm for regular inseparability of two -VASS (which can be obtained from Parikh automata in logarithmic space [1, Corollary 1]).
Let and be two -dimensional -VASS. From and we can compute a single -dimensional deterministic -VASS and two sets in polynomial time such that holds if, and only if, (Lemmas 6.1 and 6.2). According to Lemma 6.3 we have if, and only if, for each skeleton in holds. So, we guess a skeleton and check regular inseparability of and certifying regular inseparability of and .
Additionally, we will guess a set of transitions and verify in that all of them are bi-cancelable (Lemma 6.8). Then we can construct in polynomial time two -VASS and such that (6) and (7) hold. If , the algorithm reports “inseparable”. For this, it uses a simple product construction to obtain a -VASS for the intersection , and decide in whether an accepting configuration can be reached in .
This is sound: We have if and only if for ; and by Lemma 6.5, we know that the latter rules out . For completeness, note that if does not hold, then there exists a choice for such that : Take the set of all bi-cancelable transitions.
References
- [1] Pascal Baumann, Flavio D’Alessandro, Moses Ganardi, Oscar Ibarra, Ian McQuillan, Lia Schütze, and Georg Zetzsche. Unboundedness problems for machines with reversal-bounded counters. In Orna Kupferman and Pawel Sobocinski, editors, Foundations of Software Science and Computation Structures, pages 240–264, Cham, 2023. Springer Nature Switzerland. doi:10.1007/978-3-031-30829-1_12.
- [2] Pascal Baumann, Eren Keskin, Roland Meyer, and Georg Zetzsche. Separability in Büchi VASS and singly non-linear systems of inequalities. In Karl Bringmann, Martin Grohe, Gabriele Puppis, and Ola Svensson, editors, 51st International Colloquium on Automata, Languages, and Programming, ICALP 2024, July 8-12, 2024, Tallinn, Estonia, volume 297 of LIPIcs, pages 126:1–126:19. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2024. doi:10.4230/LIPICS.ICALP.2024.126.
- [3] Pascal Baumann, Roland Meyer, and Georg Zetzsche. Regular separability in Büchi VASS. In Petra Berenbrink, Patricia Bouyer, Anuj Dawar, and Mamadou Moustapha Kanté, editors, 40th International Symposium on Theoretical Aspects of Computer Science, STACS 2023, March 7-9, 2023, Hamburg, Germany, volume 254 of LIPIcs, pages 9:1–9:19. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2023. doi:10.4230/LIPICS.STACS.2023.9.
- [4] Pascal Bergsträßer, Moses Ganardi, Anthony W. Lin, and Georg Zetzsche. Ramsey quantifiers in linear arithmetics. Proc. ACM Program. Lang., 8(POPL):1–32, 2024. doi:10.1145/3632843.
- [5] Marcello M. Bersani and Stéphane Demri. The complexity of reversal-bounded model-checking. In Cesare Tinelli and Viorica Sofronie-Stokkermans, editors, Frontiers of Combining Systems, 8th International Symposium, FroCoS 2011, Saarbrücken, Germany, October 5-7, 2011. Proceedings, volume 6989 of Lecture Notes in Computer Science, pages 71–86. Springer, 2011. doi:10.1007/978-3-642-24364-6_6.
- [6] Jean Berstel. Transductions and Context-Free Languages. Teubner, 1979. doi:10.1007/978-3-663-09367-1.
- [7] Alin Bostan, Arnaud Carayol, Florent Koechlin, and Cyril Nicaud. Weakly-unambiguous Parikh automata and their link to holonomic series. In Artur Czumaj, Anuj Dawar, and Emanuela Merelli, editors, 47th International Colloquium on Automata, Languages, and Programming, ICALP 2020, July 8-11, 2020, Saarbrücken, Germany (Virtual Conference), volume 168 of LIPIcs, pages 114:1–114:16. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2020. doi:10.4230/LIPICS.ICALP.2020.114.
- [8] Ahmed Bouajjani and Peter Habermehl. Symbolic reachability analysis of FIFO-channel systems with nonregular sets of configurations. Theor. Comput. Sci., 221(1-2):211–250, 1999. doi:10.1016/S0304-3975(99)00033-X.
- [9] Michaël Cadilhac, Alain Finkel, and Pierre McKenzie. Affine Parikh automata. RAIRO Theor. Informatics Appl., 46(4):511–545, 2012. doi:10.1051/ITA/2012013.
- [10] Michaël Cadilhac, Alain Finkel, and Pierre McKenzie. Unambiguous constrained automata. Int. J. Found. Comput. Sci., 24(7):1099–1116, 2013. doi:10.1142/S0129054113400339.
- [11] Michaël Cadilhac, Arka Ghosh, Guillermo A. Pérez, and Ritam Raha. Parikh one-counter automata. In Jérôme Leroux, Sylvain Lombardy, and David Peleg, editors, 48th International Symposium on Mathematical Foundations of Computer Science, MFCS 2023, August 28 to September 1, 2023, Bordeaux, France, volume 272 of LIPIcs, pages 30:1–30:15. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2023. doi:10.4230/LIPICS.MFCS.2023.30.
- [12] Michaël Cadilhac, Andreas Krebs, and Pierre McKenzie. The algebraic theory of Parikh automata. Theory Comput. Syst., 62(5):1241–1268, 2018. doi:10.1007/S00224-017-9817-2.
- [13] Dmitry Chistikov, Christoph Haase, and Alessio Mansutti. Quantifier elimination for counting extensions of presburger arithmetic. In Patricia Bouyer and Lutz Schröder, editors, Foundations of Software Science and Computation Structures - 25th International Conference, FOSSACS 2022, Held as Part of the European Joint Conferences on Theory and Practice of Software, ETAPS 2022, Munich, Germany, April 2-7, 2022, Proceedings, volume 13242 of Lecture Notes in Computer Science, pages 225–243. Springer, 2022. doi:10.1007/978-3-030-99253-8_12.
- [14] Christian Choffrut and Serge Grigorieff. Separability of rational relations in by recognizable relations is decidable. Information Processing Letters, 99(1):27–32, 2006. doi:10.1016/j.ipl.2005.09.018.
- [15] Lorenzo Clemente, Wojciech Czerwiński, Slawomir Lasota, and Charles Paperman. Regular Separability of Parikh Automata. In Ioannis Chatzigiannakis, Piotr Indyk, Fabian Kuhn, and Anca Muscholl, editors, 44th International Colloquium on Automata, Languages, and Programming (ICALP 2017), volume 80 of Leibniz International Proceedings in Informatics (LIPIcs), pages 117:1–117:13, Dagstuhl, Germany, 2017. Schloss Dagstuhl – Leibniz-Zentrum für Informatik. doi:10.4230/LIPIcs.ICALP.2017.117.
- [16] Lorenzo Clemente, Wojciech Czerwiński, Slawomir Lasota, and Charles Paperman. Separability of reachability sets of vector addition systems. In Heribert Vollmer and Brigitte Vallée, editors, 34th Symposium on Theoretical Aspects of Computer Science, STACS 2017, March 8-11, 2017, Hannover, Germany, volume 66 of LIPIcs, pages 24:1–24:14. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2017. doi:10.4230/LIPICS.STACS.2017.24.
- [17] Wojciech Czerwiński and Slawomir Lasota. Regular separability of one counter automata. In 32nd Annual ACM/IEEE Symposium on Logic in Computer Science, LICS 2017, Reykjavik, Iceland, June 20-23, 2017, pages 1–12. IEEE Computer Society, 2017. doi:10.1109/LICS.2017.8005079.
- [18] Wojciech Czerwiński, Slawomir Lasota, Roland Meyer, Sebastian Muskalla, K. Narayan Kumar, and Prakash Saivasan. Regular separability of well-structured transition systems. In Sven Schewe and Lijun Zhang, editors, 29th International Conference on Concurrency Theory, CONCUR 2018, September 4-7, 2018, Beijing, China, volume 118 of LIPIcs, pages 35:1–35:18. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2018. doi:10.4230/LIPICS.CONCUR.2018.35.
- [19] Wojciech Czerwiński and Georg Zetzsche. An approach to regular separability in vector addition systems. In Proceedings of the 35th Annual ACM/IEEE Symposium on Logic in Computer Science, LICS ’20, pages 341–354, New York, NY, USA, 2020. Association for Computing Machinery. doi:10.1145/3373718.3394776.
- [20] Enzo Erlich, Shibashis Guha, Ismaël Jecker, Karoliina Lehtinen, and Martin Zimmermann. History-deterministic Parikh automata. In Guillermo A. Pérez and Jean-François Raskin, editors, 34th International Conference on Concurrency Theory, CONCUR 2023, September 18-23, 2023, Antwerp, Belgium, volume 279 of LIPIcs, pages 31:1–31:16. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2023. doi:10.4230/LIPICS.CONCUR.2023.31.
- [21] Javier Esparza. Petri nets, commutative context-free grammars, and basic parallel processes. Fundam. Informaticae, 31(1):13–25, 1997. doi:10.3233/FI-1997-3112.
- [22] Emmanuel Filiot, Shibashis Guha, and Nicolas Mazzocchi. Two-way Parikh automata. In Arkadev Chattopadhyay and Paul Gastin, editors, 39th IARCS Annual Conference on Foundations of Software Technology and Theoretical Computer Science, FSTTCS 2019, December 11-13, 2019, Bombay, India, volume 150 of LIPIcs, pages 40:1–40:14. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2019. doi:10.4230/LIPICS.FSTTCS.2019.40.
- [23] Alain Finkel and Arnaud Sangnier. Reversal-bounded counter machines revisited. In Edward Ochmanski and Jerzy Tyszkiewicz, editors, Mathematical Foundations of Computer Science 2008, 33rd International Symposium, MFCS 2008, Torun, Poland, August 25-29, 2008, Proceedings, volume 5162 of Lecture Notes in Computer Science, pages 323–334. Springer, 2008. doi:10.1007/978-3-540-85238-4_26.
- [24] Seymour Ginsburg and Edwin H. Spanier. Bounded regular sets. Proceedings of the American Mathematical Society, 17(5):1043–1049, 1966. doi:10.1090/S0002-9939-1966-0201310-3.
- [25] Seymour Ginsburg and Edwin H. Spanier. Semigroups, Presburger formulas, and languages. Pacific Journal of Mathematics, 16(2):285–296, February 1966.
- [26] Sheila A. Greibach. Remarks on blind and partially blind one-way multicounter machines. Theoretical Computer Science, 7(3):311–324, 1978. doi:10.1016/0304-3975(78)90020-8.
- [27] Mario Grobler, Leif Sabellek, and Sebastian Siebertz. Remarks on Parikh-recognizable omega-languages. In Aniello Murano and Alexandra Silva, editors, 32nd EACSL Annual Conference on Computer Science Logic, CSL 2024, February 19-23, 2024, Naples, Italy, volume 288 of LIPIcs, pages 31:1–31:21. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2024. doi:10.4230/LIPICS.CSL.2024.31.
- [28] Stéphane Grumbach, Philippe Rigaux, and Luc Segoufin. Spatio-temporal data handling with constraints. In Robert Laurini, Kia Makki, and Niki Pissinou, editors, ACM-GIS ’98, Proceedings of the 6th international symposium on Advances in Geographic Information Systems, November 6-7, 1998, Washington, DC, USA, pages 106–111. ACM, 1998. doi:10.1145/288692.288712.
- [29] Shibashis Guha, Ismaël Jecker, Karoliina Lehtinen, and Martin Zimmermann. Parikh automata over infinite words. In Anuj Dawar and Venkatesan Guruswami, editors, 42nd IARCS Annual Conference on Foundations of Software Technology and Theoretical Computer Science, FSTTCS 2022, December 18-20, 2022, IIT Madras, Chennai, India, volume 250 of LIPIcs, pages 40:1–40:20. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2022. doi:10.4230/LIPICS.FSTTCS.2022.40.
- [30] Christoph Haase and Simon Halfon. Integer vector addition systems with states. In Joël Ouaknine, Igor Potapov, and James Worrell, editors, Reachability Problems - 8th International Workshop, RP 2014, Oxford, UK, September 22-24, 2014. Proceedings, volume 8762 of Lecture Notes in Computer Science, pages 112–124. Springer, 2014. doi:10.1007/978-3-319-11439-2_9.
- [31] Christoph Haase, Shankara Narayanan Krishna, Khushraj Madnani, Om Swostik Mishra, and Georg Zetzsche. An efficient quantifier elimination procedure for Presburger arithmetic. In Karl Bringmann, Martin Grohe, Gabriele Puppis, and Ola Svensson, editors, 51st International Colloquium on Automata, Languages, and Programming, ICALP 2024, July 8-12, 2024, Tallinn, Estonia, volume 297 of LIPIcs, pages 142:1–142:17. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2024. doi:10.4230/LIPICS.ICALP.2024.142.
- [32] Matthew Hague, Anthony W. Lin, Philipp Rümmer, and Zhilin Wu. Monadic decomposition in integer linear arithmetic. In Nicolas Peltier and Viorica Sofronie-Stokkermans, editors, Automated Reasoning - 10th International Joint Conference, IJCAR 2020, Paris, France, July 1-4, 2020, Proceedings, Part I, volume 12166 of Lecture Notes in Computer Science, pages 122–140. Springer, 2020. doi:10.1007/978-3-030-51074-9_8.
- [33] Simon Halfon, Philippe Schnoebelen, and Georg Zetzsche. Decidability, complexity, and expressiveness of first-order logic over the subword ordering. In 32nd Annual ACM/IEEE Symposium on Logic in Computer Science, LICS 2017, Reykjavik, Iceland, June 20-23, 2017, pages 1–12. IEEE Computer Society, 2017. doi:10.1109/LICS.2017.8005141.
- [34] Harry B. Hunt III. On the Decidability of Grammar Problems. Journal of the ACM, 29(2):429–447, 1982. doi:10.1145/322307.322317.
- [35] Oscar H Ibarra. Reversal-bounded multicounter machines and their decision problems. Journal of the ACM (JACM), 25(1):116–133, 1978. doi:10.1145/322047.322058.
- [36] Oscar H. Ibarra and Bala Ravikumar. On the Parikh Membership Problem for FAs, PDAs, and CMs. In Adrian-Horia Dediu, Carlos Martín-Vide, José-Luis Sierra-Rodríguez, and Bianca Truthe, editors, Language and Automata Theory and Applications, pages 14–31, Cham, 2014. Springer International Publishing. doi:10.1007/978-3-319-04921-2_2.
- [37] Matthias Jantzen and Alexy Kurganskyy. Refining the hierarchy of blind multicounter languages and twist-closed trios. Inf. Comput., 185(2):159–181, 2003. doi:10.1016/S0890-5401(03)00087-7.
- [38] Eren Keskin and Roland Meyer. Separability and non-determinizability of WSTS. In Guillermo A. Pérez and Jean-François Raskin, editors, 34th International Conference on Concurrency Theory, CONCUR 2023, September 18-23, 2023, Antwerp, Belgium, volume 279 of LIPIcs, pages 8:1–8:17. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2023. doi:10.4230/LIPICS.CONCUR.2023.8.
- [39] Eren Keskin and Roland Meyer. On the separability problem of VASS reachability languages. In Pawel Sobocinski, Ugo Dal Lago, and Javier Esparza, editors, Proceedings of the 39th Annual ACM/IEEE Symposium on Logic in Computer Science, LICS 2024, Tallinn, Estonia, July 8-11, 2024, pages 49:1–49:14. ACM, 2024. doi:10.1145/3661814.3662116.
- [40] Felix Klaedtke and Harald Rueß. Monadic second-order logics with cardinalities. In Jos C. M. Baeten, Jan Karel Lenstra, Joachim Parrow, and Gerhard J. Woeginger, editors, Automata, Languages and Programming, 30th International Colloquium, ICALP 2003, Eindhoven, The Netherlands, June 30 - July 4, 2003. Proceedings, volume 2719 of Lecture Notes in Computer Science, pages 681–696. Springer, 2003. doi:10.1007/3-540-45061-0_54.
- [41] Chris Köcher and Georg Zetzsche. Regular separators for VASS coverability languages. In Patricia Bouyer and Srikanth Srinivasan, editors, 43rd IARCS Annual Conference on Foundations of Software Technology and Theoretical Computer Science, FSTTCS 2023, December 18-20, 2023, IIIT Hyderabad, Telangana, India, volume 284 of LIPIcs, pages 15:1–15:19. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2023. doi:10.4230/LIPICS.FSTTCS.2023.15.
- [42] Gabriel Kuper, Leonid Libkin, and Jan Paredaens. Constraint databases. Springer Science & Business Media, 2013. doi:10.1007/978-3-662-04031-7.
- [43] Kenneth L. McMillan. Interpolation and SAT-based model checking. In Warren A. Hunt Jr. and Fabio Somenzi, editors, Computer Aided Verification, 15th International Conference, CAV 2003, Boulder, CO, USA, July 8-12, 2003, Proceedings, volume 2725 of Lecture Notes in Computer Science, pages 1–13. Springer, 2003. doi:10.1007/978-3-540-45069-6_1.
- [44] Jacques Sakarovitch. Elements of Automata Theory. Cambridge University Press, Cambridge, 2009. doi:10.1017/CBO9781139195218.
- [45] Helmut Seidl, Thomas Schwentick, Anca Muscholl, and Peter Habermehl. Counting in trees for free. In Josep Díaz, Juhani Karhumäki, Arto Lepistö, and Donald Sannella, editors, Automata, Languages and Programming: 31st International Colloquium, ICALP 2004, Turku, Finland, July 12-16, 2004. Proceedings, volume 3142 of Lecture Notes in Computer Science, pages 1136–1149. Springer, 2004. doi:10.1007/978-3-540-27836-8_94.
- [46] Yousef Shakiba, Henry Sinclair-Banks, and Georg Zetzsche. A complexity dichotomy for semilinear target sets in automata with one counter, 2025. To appear in Proc. of LICS 2025. doi:10.48550/arXiv.2505.13749.
- [47] Thomas G. Szymanski and John H. Williams. Noncanonical extensions of bottom-up parsing techniques. SIAM Journal on Computing, 5(2), 1976. doi:10.1137/0205019.
- [48] Ramanathan S. Thinniyam and Georg Zetzsche. Regular separability and intersection emptiness are independent problems. In Arkadev Chattopadhyay and Paul Gastin, editors, 39th IARCS Annual Conference on Foundations of Software Technology and Theoretical Computer Science, FSTTCS 2019, December 11-13, 2019, Bombay, India, volume 150 of LIPIcs, pages 51:1–51:15. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2019. doi:10.4230/LIPICS.FSTTCS.2019.51.
- [49] Margus Veanes, Nikolaj S. Bjørner, Lev Nachmanson, and Sergey Bereg. Monadic decomposition. J. ACM, 64(2):14:1–14:28, 2017. doi:10.1145/3040488.
- [50] Yakir Vizel, Georg Weissenbacher, and Sharad Malik. Boolean satisfiability solvers and their applications in model checking. Proc. IEEE, 103(11):2021–2035, 2015. doi:10.1109/JPROC.2015.2455034.
- [51] Georg Zetzsche. Silent transitions in automata with storage. In Fedor V. Fomin, Rusins Freivalds, Marta Z. Kwiatkowska, and David Peleg, editors, Automata, Languages, and Programming - 40th International Colloquium, ICALP 2013, Riga, Latvia, July 8-12, 2013, Proceedings, Part II, volume 7966 of Lecture Notes in Computer Science, pages 434–445. Springer, 2013. doi:10.1007/978-3-642-39212-2_39.
- [52] Georg Zetzsche. The complexity of downward closure comparisons. In Ioannis Chatzigiannakis, Michael Mitzenmacher, Yuval Rabani, and Davide Sangiorgi, editors, 43rd International Colloquium on Automata, Languages, and Programming, ICALP 2016, July 11-15, 2016, Rome, Italy, volume 55 of LIPIcs, pages 123:1–123:14. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2016. doi:10.4230/LIPICS.ICALP.2016.123.
