Abstract 1 Introduction 2 Preliminaries 3 Main results 4 A characterization of separability in hyperlinear sets 5 Separability of semilinear sets is in 𝗰𝗼𝗡𝗣 6 Regular separability of Parikh automata References

The Complexity of Separability for Semilinear Sets and Parikh Automata

Elias Rojas Collins ORCID Massachusetts Institute of Technology, Cambridge, MA, USA Chris Köcher ORCID Max Planck Institute for Software Systems, Kaiserslautern, Germany Georg Zetzsche ORCID Max Planck Institute for Software Systems, Kaiserslautern, Germany
Abstract

In a separability problem, we are given two sets K and L from a class 𝒞, and we want to decide whether there exists a set S from a class 𝒮 such that KS and SL=. 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 d for some d) by sets definable by quantifier-free monadic Presburger formulas (or equivalently, the recognizable subsets of d). 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 Σ×d (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 Language
Copyright and License:
[Uncaptioned image] © Elias Rojas Collins, Chris Köcher, and Georg Zetzsche; licensed under Creative Commons License CC-BY 4.0
2012 ACM Subject Classification:
Theory of computation Models of computation
; Theory of computation Regular languages
Related Version:
Full Version: https://arxiv.org/abs/2505.11199
Funding:
margin: [Uncaptioned image] 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ł Skrzypczak

1 Introduction

Separability.

In a separability problem, we are given two sets K and L from a class 𝒞, and we want to decide whether there exists a set S from a class 𝒮 such that KS and SL=. Here, the sets in 𝒮 are the admissible separators, and S is said to separate the sets K and L. 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 (;+,,0,1). 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 Σ×d 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 LΣ, one can construct in polynomial time a Parikh automaton for K=ΣL. Then, L is regular if and only if L and K 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 j, one of the input sets S1,S2d is bounded by some b0, then it considers each x[0,b] and recursively decides separability of S1[jx] and S2[jx], where Si[jx] is just Si restricted to having x 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 S^1,S^2d associated with S1,S2. 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 𝒜1 and 𝒜2 are separable if and only if two semilinear sets C1,C2d associated with 𝒜1 and 𝒜2 are separable by a recognizable set. These semilinear sets consist of vectors, each of which counts for some run of 𝒜i, how many times each simple cycles occurs in this run. Thus, our first result tells us that it suffices to decide whether C^1 and C^2 are disjoint. Unfortunately, the vectors of C1,C2 have exponential dimension d, since there are exponentially many simple cycles in each 𝒜i. 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 C^1 and C^2 as words, where the cycle occurrences appear as a concatenation in some order. By constructing -VASS 𝒲1,𝒲2 for the encodings of the vectors in C^1,C^2, we reduce separability to intersection emptiness of 𝒲1 and 𝒲2. The latter, in turn, easily reduces to non-reachability in a product -VASS, which is in 𝖼𝗈𝖭𝖯.

2 Preliminaries

By ={0,1,2,} we denote the set of all non-negative integers. Let d be a number and I[1,d] be a set of indices. By πI:dI we denote the projection of vectors in d to vectors in I, i.e., πI(𝒗)[i]=𝒗[i] for each 𝒗d and iI. The support of a vector 𝒗d is the set of all coordinates in 𝒗 with non-zero value, i.e. supp(𝒗)={i[1,d]𝒗[i]0}.

Semilinear sets.

A set Sd is linear if there is a vector 𝒖d and a finite set Pd of so-called periods such that S=𝒖+P holds. Here, for P={𝒖1,,𝒖n}, the set P is defined as P={λ1𝒖1++λn𝒖nλ1,,λn}. A subset Sd is called semilinear if it is a finite union of linear sets. In case we specify S by way of a finite union of linear sets, then we call this description a semilinear representation. The set Sd is called hyperlinear if there are finite sets B,Pd such that S=B+P holds. It is well known that the semilinear sets are precisely those definable in Presburger arithmetic [25], the first-order theory of the structure (;+,,0,1,(m)m{0}). Here m is the predicate where xmy if and only if xy is divisible by m. 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 d0 counters. Upon reading a letter (or the empty word), it can add a vector 𝒖d to its counters. Moreover, for each state qQ, it specifies a target set Cqd. An input word is accepted if at the end of the run, the accumulated counter values belong to Cq, where q is the state at the end of the run. Formally, a Parikh automaton is a tuple 𝒜=(Q,Σ,T,q0,(Cq)qQ), where Q is a finite set of states, TQ×(Σ{ε})×d×Q is its finite set of transitions, q0Q is the initial state, and Cqd is the target set in state q, for each qQ. For an input word wΣ, a run on w is a sequence (q0,w1,𝒖1,q1)(qn1,wn,𝒖n,qn) of transitions in T with w=w1wn. The run is accepting if 𝒖1++𝒖nCqn. The language of 𝒜 is then the set of all words wΣ such that 𝒜 has an accepting run on w.

 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 LM of a monoid M is recognizable if there is a morphism φ:MF into some finite monoid F such that φ1(φ(L))=L. The recognizable subsets of M form a Boolean algebra [6, Chapter III, Prop. 1.1]. We say that sets K,LM are (recognizably) separable, denoted K|L, if there is a morphism φ:MF into some finite monoid F such that φ(K)φ(L)=. Equivalently, we have K|L if and only if there is a recognizable SM with KS and SL=. Here, S is called a separator of K and L. Clearly, we have K|L if and only if L|K: if S is a separator of K and L then MS separates L and K.

In the case M=Σ 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 M=d for some d0, then the recognizable subsets of d are precisely the finite unions of cartesian products U1××Ud, where each Ui is ultimately periodic [6, Theorem 5.1]. Here, a set U is ultimately periodic if there are n0,p{0} such that for all nn0, we have nU if and only if n+pU. This implies that the recognizable subsets of d 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 M=d, we also sometimes speak of monadic separability.

In a recognizable separability problem, we are given two subsets K and L from a monoid M as input, and we want to decide whether K and L are recognizably separable. Again, in the case of M=Σ, 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 Kd, then K|d if and only if K 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 (;+,, 0,1,(m)m{0}) defining K,Ld, it is 𝖼𝗈𝖭𝖯-complete to decide whether they are separable by a monadically defined subset of d. Indeed, consider the injective map ν:d2d, where ν(x1,,xd)=(σ(x1),|x1|,,σ(xd),|xd|) with σ(x)=0 for x0 and σ(x)=1 for x<0. Then Sd is monadically definable if and only if ν(S) 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 d, monadic definability is not the same as recognizability. For example, the sets {0} and {0} 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, K,Ld are monadically separable if and only if ν(K),ν(L)2d are monadically separable. Finally, one easily constructs existential formulas for ν(K),ν(L).

Since for a given semilinear representation of a set Sd, it is easy to construct an existential Presburger formula defining S, 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 Sd and a vector 𝒖d, we have 𝒖S if and only if S|{𝒖}. Finally, Theorem 3.1 allows us to settle the complexity of recognizable separability of rational subsets of Σ×d.

Corollary 3.5.

Given d and two rational subsets of Σ×d, 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 Σ×d to recognizable separability of rational subsets of 2d (and their reduction is clearly in polynomial time). Moreover, for a given rational subset of 2d, 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 d (given by a semilinear representation) can be viewed as rational subsets of d (and hence of Σ×d), 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 KΣ, we have K|Σ if and only if K=. 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 LΣ 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 ΣL. Since L is regular if and only if L and ΣL 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 φ(x1,,xn) with free variables (x1,,xn), one easily constructs a deterministic Parikh automaton (with quantifier-free target sets) for the language Lφ={a1x1anxnφ(x1,,xn)}. As shown by Ginsburg and Spanier [24, Theorem 1.2], Lφ 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 Lφ as above using an existential formula φ, then again, Lφ 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 L1,L2d be two linear sets. The algorithms [14, 16] rely on a procedure that successively eliminates “bounded components”: If, say, L1 is bounded in component j by some b, then one can observe that L1|L2 if, and only if, L1[jx]|L2[jx] for every x[0,b]. Here, Li[jx] is Li restricted to those vectors that have x in the j-th component, and then projected to all components j. Therefore, the algorithms of [14, 16] recursively check separability of L1[jx] and L2[jx] for each x[0,b]. 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 R=A+Ud and S=B+Vd be two hyperlinear sets where A,B,U,Vd are finite sets.

Definition 4.1.

A coordinate j[1,d] is twin-unbounded for R and S if there exist 𝐩U and 𝐪V such that jsupp(𝐩)=supp(𝐪).

Hence, intuitively, twin-unbounded coordinates are those that can be made large/driven up in R in the same way as in S. There is yet another characterization of twin-unbounded coordinates. Let j[1,d]. We say the j-th coordinate of the hyperlinear set S=B+V is bounded if there is no period vector in V with support on j, i.e., jsupp(𝒑) for all 𝒑V. We say that a subset J[1,d] of coordinates is bounded in S if each jJ is bounded in S. Consider the following process: Given two hyperlinear sets R and S. We modify R and S by performing each of the following three steps for each coordinate j[1,d] until the sets of remaining period vectors in R and S stabilize:

  • If neither R nor S is bounded at j, we leave S and R untouched.

  • If only R is bounded at j, we remove all period vectors from S which have support on j.

  • If only S is bounded at j, we remove all period vectors from R which have support on j.

Then, the coordinates that remain unbounded are precisely the twin-unbounded ones.

Example 4.2.

Consider R={(1,0,1)} and S={(1,1,0),(0,0,1)}. Then R is bounded by the value 0 at coordinate 2. So R and S are separable if and only if R and S restricted to the vectors having the value 0 in the second coordinate. So, we only consider this restriction of S – in our algorithm this is reflected by the deletion of the period vector (1,1,0) of S. After deletion of the period vector (1,1,0), S is bounded at coordinate 1 by the value 0. So, we remove the period vector (1,0,1) from R. Finally, the period vector (0,0,1) of S gets removed since R is now bounded at coordinate 3. Hence, our algorithm terminates in this case with no twin-unbounded coordinates. This example shows that even if R and S both are unbounded in coordinates 1 and 3, none of these coordinates is twin-unbounded.

If R={(1,0,1),(0,1,0)} and S={(1,1,0),(0,0,1)}, then no coordinate is bounded in R and S. Hence, all coordinates are twin-unbounded and no period vector gets removed.

For J[1,d], we write UJ={𝒑Usupp(𝒑)J} and VJ={𝒒Vsupp(𝒒)J}.

Separating by modular constraints.

As observed in [14, 16], if all coordinates of two linear sets L1,L2 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 𝒖d that does not belong to a subgroup Ad, there exists a homomorphism φ:d𝔽 into a finite group 𝔽 such that (i) A is included in the kernel of φ and (ii) φ(𝒖)0. 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 Ad is a subgroup and 𝐮dA, then there is an s, s>0, and a morphism φ:d/s with (i) φ(A)=0 and (ii) φ(𝐮)0.

Separability vs. intersection emptiness.

We will now characterize inseparability of hyperlinear sets R,S via the intersection of two hyperlinear sets R^ and S^ associated with R,S. The proof will rely on an equivalence relation of vectors. For vectors 𝒖,𝒗d and k{0}, we write 𝒖k𝒗 if for every i[1,d], we have

  1. (1)

    𝒖[i]=𝒗[i]k or

  2. (2)

    𝒖[i],𝒗[i]>k and 𝒖[i]𝒗[i]modk.

The following was shown in [16, Prop. 18].

Lemma 4.4.

For any sets X,Yd, the following are equivalent:

  1. (1)

    X and Y are not separable by a recognizable set.

  2. (2)

    for each k{0} there are 𝒙kX and 𝒚kY with 𝒙kk𝒚k.

Let k,{0} be such that k divides . We can observe that 𝒖𝒗 implies 𝒖k𝒗 in this case. Thus, to show recognizable inseparability of two sets X,Yd, it suffices to find 𝒙kX and 𝒚kY for almost all numbers k{0}. We will use this fact in the proof of the following characterization of inseparability.

Proposition 4.5.

Let R=A+Ud and S=B+Vd be hyperlinear sets. Then R and S are not separable by a recognizable set if and only if the intersection

(A+UUJ)(B+VVJ) (1)

is non-empty, where J[1,d] is the set of coordinates that are twin-unbounded for R,S.

Proof.

Suppose there is a vector 𝒙 in the intersection (1). Then we can write 𝒙=𝒖𝒖¯ and 𝒙=𝒗𝒗¯ with 𝒖A+U, 𝒗B+V, 𝒖¯UJ, and 𝒗¯VJ. Since J is twin-unbounded for R and S, there are – by definition – 𝒑jU and 𝒒jV with jsupp(𝒑j)=supp(𝒒j) for each jJ. Then for 𝒑:=jJ𝒑j and 𝒒:=jJ𝒒j we infer Jsupp(𝒑)=supp(𝒒). Now for each k{0}, consider the vectors

𝒖k=𝒖𝒖¯+2k𝒑+k𝒖¯and𝒗k=𝒗𝒗¯+2k𝒒+k𝒗¯.

Then we have 𝒖k,𝒗kd for each k{0}. We claim that 𝒖kk𝒗k for all k. Indeed, on coordinates j[1,d]supp(𝒑), the vectors 𝒖k and 𝒗k coincide with 𝒙. Moreover, on coordinates jsupp(𝒑), both vectors 𝒖k and 𝒗k are larger than k and also congruent to 𝒙[j]modk. Hence, 𝒖kk𝒗k. Since clearly 𝒖k=𝒖+2k𝒑+(k1)𝒖¯R and 𝒗k=𝒗+2k𝒒+(k1)𝒗¯S, Lemma 4.4 implies that R and S are not separable.

Conversely, suppose that R and S are not separable. Then by Lemma 4.4 there are 𝒖kR and 𝒗kS with 𝒖kk𝒗k for every k{0}. We claim that the sequences 𝒖1,𝒖2, and 𝒗1,𝒗2, have subsequences 𝒖1,𝒖2, and 𝒗1,𝒗2, such that for every k1, we have (i) 𝒖k+1𝒖k+UJ, (ii) 𝒗k+1𝒗k+VJ and (iii) 𝒖kk𝒗k.

The claim is easy to observe: Note that by picking subsequences, we may assume that even 𝒖kk!𝒗k for every k1. Moreover, the latter property is preserved by taking subsequences. Thus, since A,B are finite, by picking subsequences again, we may assume that there are 𝒓A and 𝒔B such that 𝒖k𝒓+U and 𝒖k𝒔+V and 𝒖kk!𝒗k for k1. Then, by Dickson’s lemma, we may assume that in addition 𝒖k+1𝒖k+U and 𝒗k+1𝒗k+V for every k1 (here, we apply Dickson’s lemma to the |U|-dimensional vectors of coefficients at period vectors in U and similarly for V). Now since 𝒖kk!𝒗k for every k, it follows that the sequences 𝒖1,𝒖2, and 𝒗1,𝒗2, are unbounded on the same set J[1,d] of coordinates. Then clearly, J is twin-unbounded for R and S. This means, for all but finitely many k, we have 𝒖k+1𝒖k+UJ and 𝒗k+1𝒗k+VJ. Hence, by picking another subsequence, we may assume that the latter holds for every k1. Then, 𝒖1,𝒖2, and 𝒗1,𝒗2, satisfy the properties (i–iii) above, establishing our claim.

We now claim that 𝒖1𝒗1 belongs to the group UJVJ generated by UJVJ. Towards a contradiction, suppose 𝒖1𝒗1 does not belong to UJVJ. By Lemma 4.3, there must be an s, s>0, and a morphism φ:d/s such that φ(UJVJ)=0 and φ(𝒖1𝒗1)0. However, the vector

(𝒖s𝒗s)(𝒖1𝒗1)=(𝒖s𝒖1)UJ(𝒗s𝒗1)VJ

belongs to UJVJ, but also agrees with 𝒖1𝒗1 under φ (since all components of 𝒖s𝒗s are divisible by s), contradicting Lemma 4.3. Hence 𝒖1𝒗1UJVJ.

This means, we can write 𝒖1𝒗1=𝒗𝒗¯(𝒖𝒖¯) with 𝒖,𝒖¯UJ and 𝒗,𝒗¯VJ. But then the vector 𝒖1+𝒖𝒖¯=𝒗1+𝒗𝒗¯ belongs to the intersection (1).

With Proposition 4.5, we have now characterized inseparability of subsets of d via a particular intersection of two sets in d. It will later be more convenient to work with intersections of sets in d, which motivates the following reformulation of Proposition 4.5.

Theorem 4.6.

Let R=A+Ud and S=B+Vd be hyperlinear sets. Then R and S are not separable by a recognizable set if and only if the intersection

(A+U+VJ)(B+V+UJ) (2)

is non-empty, where J[1,d] is the set of coordinates that are twin-unbounded for R,S.

Proof.

Direct consequence of Proposition 4.5, since clearly A+UUJ intersects B+VVJ if and only if A+U+VJ intersects B+V+UJ.

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 ta, where t is a linear combination of variables 𝒙=(x1,,xn),𝒚=(y1,,ym) and integer coefficients, and a 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 φ1φk, where each φi (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 φ1φk and ψ1ψ 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 i,j, the solution sets of the formulas φi and ψj 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 K,K1,,Kn,LM be sets from a monoid M such that K=K1Kn. Then K|L if, and only if, Ki|L for all 1in.

Thus, for deciding the inseparability of the solution sets of φ and ψ in 𝖭𝖯 it is sufficient to guess (in polynomial time) clauses φi and ψj 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 ta.

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 K,Ld with

K=π({𝒙rA𝒙=𝒃})andL=π({𝒙rC𝒙=𝒅}), (3)

where π:rd is the projection to the first d components, A,Cs×r are integer matrices, and 𝒃,𝒅s are integer vectors. Note that here, assuming that the numbers r of columns and the number s of rows is the same for K and L means no loss of generality.

Algorithm Step II: Recognizable inseparability as satisfiability.

In the second step, we will reduce recognizable inseparability of K and L to satisfiability of an existential Presburger formula. To this end, we use the fact that the solution sets to A𝒙=𝒃 (resp. C𝒙=𝒅) are hyperlinear sets, which allows us to apply Theorem 4.6.

Proposition 5.2.

K and L are recognizably inseparable if, and only if, there are vectors 𝐩,𝐪,𝐮,𝐯,𝐱,𝐲r with

  1. (1)

    A𝒑=𝟎, C𝒒=𝟎, supp(π(𝒑))=supp(π(𝒒)),

  2. (2)

    supp(π(𝒖)),supp(π(𝒗))supp(π(𝒑)), A𝒖=𝟎, and C𝒗=𝟎,

  3. (3)

    A𝒙=𝒃, C𝒚=𝒅, 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 A0r be the set of all (component-wise) minimal solutions to A𝒙=𝒃, and let Ur be the set of all minimal solutions to A𝒙=𝟎. Then it is well known that A0 and U are finite and also K=π(A0+U)=π(A0)+π(U). In the same way, we obtain a hyperlinear representation L=π(B0+V)=π(B0)+π(V). 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 t0, where t 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 φi and ψj (cf. Lemma 5.1). We can transform φi and ψj into Diophantine equations A𝒙=𝒃 and C𝒙=𝒅. Using Proposition 5.2 we obtain in polynomial time an existential Presburger formula that is satisfiable if, and only if, the solution sets of A𝒙=𝒃 and C𝒙=𝒅 are inseparable if, and only if, φi and ψj 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 (d-dimensional) integer vector addition system with states (-VASS, for short) is a quintuple 𝒱=(Q,Σ,T,ι,f) where Q is a finite set of states, Σ is an alphabet, TQ×Σε×d×Q is a finite set of transitions, and ι,fQ are its source and target state, respectively. Here, Σε=Σ{ε}. A -VASS 𝒱=(Q,Σ,T,ι,f) is called deterministic if 𝒱 has no ε-labeled transitions and for each pQ and aΣ there is at most one transition of the form (p,a,𝒗,q)T (where 𝒗d and qQ).

A configuration of 𝒱 is a tuple from Q×d. For two configurations (p,𝒖),(q,𝒗) and a word wΣ we write (p,𝒖)𝑤𝒱(q,𝒗) if there are states q0,q1,,qQ, vectors 𝒗0,𝒗1,,𝒗d, and letters a1,,aΣε such that w=a1a2a, (p,𝒖)=(q0,𝒗0), (q,𝒗)=(q,𝒗), and for each 1i we have a transition ti=(qi1,ai,𝒙i,qi)T with 𝒗i=𝒗i1+𝒙i. In this case, the sequence t1t2t is called a (w-labeled) run of 𝒱. The accepted language of 𝒱 is L(𝒱)={wΣ(ι,𝟎)𝑤𝒱(f,𝟎)}.

Let I[1,d] be a set of indices. Then we can generalize the acceptance behavior of the -VASS 𝒱 as follows:

L(𝒱,I)={wΣ|𝒗d:(ι,𝟎)𝑤𝒱(f,𝒗) and πI(𝒗)=𝟎}.

Note that L(𝒱,[1,d])=L(𝒱) 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 d (for some dimension d). 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 d 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 𝒱1 and 𝒱2 one constructs two deterministic -VASS 𝒲1 and 𝒲2 with (i) L(𝒲i)=h1(L(𝒱i)) where h:ΓΣ is a homomorphism and (ii) L(𝒱1)|L(𝒱2) if, and only if, L(𝒲1)|L(𝒲2) 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 d-dim. -VASS 𝒱1 and 𝒱2 we construct one 2d-dim. -VASS 𝒱 (using product construction) and two index sets I1,I2[1,2d] such that L(𝒱i)=L(𝒱,Ii). 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 d-dimensional deterministic -VASS 𝒱 with two subsets I1,I2[1,d].

  • Question: Are the languages L(𝒱,I1) and L(𝒱,I2) regularly separable?

Therefore, we now fix a -VASS 𝒱=(Q,Σ,T,ι,f).

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 skel:TT such that skel(r)=ρ for a path rT in 𝒱 such that ρ is a sub-path of the original path r 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 r.

Let t1tT be a path in 𝒱, i.e., we have ti=(qi1,ai,𝒙i,qi)T for each 1i. The map skel is defined inductively as follows: skel(ε)=ε and skel(t1)=t1. For 1i< assume that skel(t1ti)=s1sj is already constructed and that s1sj is a path ending in qi. Now we consider the transition ti+1. If there is no transition sk (with 0kj) such that this transition ends in the state qi+1, we set skel(t1titi+1)=s1sjti+1. Note that s1sjti+1 is a path ending in the state qi+1.

Otherwise, let 0kj be maximal such that sk ends in qi+1. Then sk+1sjti+1 is a cycle in 𝒱 (note that sk+1 starts with qi+1 since s1sj is a path). If all states occurring in the cycle sk+1sjti+1 also occur in the path s1sk, then we set skel(t1titi+1)=s1sk, i.e., we omit the cycle sk+1sjti+1 in the skeleton. Note that the skeleton s1sk is a path ending in qi+1. Otherwise at least one state in the cycle does not occur in the path s1sk. In this case, we simply add ti+1 resulting in skel(t1titi+1)=s1sjti+1 where s1sjti+1 is also a path ending in qi+1. Note that any skeleton of 𝒱 has length at most quadratic in the number of transitions |T| 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 rT with skeleton skel(r)=ρ (i.e., r is obtained from ρ by inserting ρ-cycles). We write L(𝒱,I,ρ) for the set of all words in L(𝒱,I) accepted via ρ-runs.

Lemma 6.3 ([15, Lemma 11]).

We have L(𝒱,I1)|L(𝒱,I2) if, and only if, L(𝒱,I1,ρ)|L(𝒱,I2,ρ) 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 L(𝒱,I1,ρ) and L(𝒱,I2,ρ) in 𝖭𝖯. So, from now on, we fix a skeleton ρ and simply write L(Ii) for L(𝒱,Ii,ρ). 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 L(I1) and L(I2) is equivalent to recognizable separability of vectors that count cycles. Here, we only count short cycles of length at most |Q|. This is possible since each cycle can be decomposed into short cycles. In the following, we fix the set ST|Q| 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 I[1,d], we define: if t=(p,a,𝒙,q)T is a transition then the effect ΔI(t) of t to the components in I is ΔI(t)=πI(𝒙), i.e. the projection of the counter update 𝒙 to I. If r=t1t2tT is a path, then the effect ΔI(r) of r to the components in I is the sum of the effects of all transitions on this path, i.e. ΔI(r)=i=1ΔI(ti). Now, let 𝒖S be a multiset of short cycles. Then the effect of 𝒖 to the components in I is ΔI(𝒖)=cS𝒖[c]ΔI(c). If 𝒗T is a multiset of transitions, then the effect of 𝒗 to the components in I is ΔI(𝒗)=tT𝒗[t]ΔI(t). In case of I=[1,d] we will also write Δ instead of ΔI. Finally, we define

M(I)={𝒖S|ΔI(ρ)+ΔI(𝒖)=𝟎}.

Hence, M(I) is the set of multisets of short cycles such that inserting them into ρ would lead to an accepting run with acceptance condition I[1,d]. Since M(I) is the solution set of linear Diophantine equations, it is hyperlinear (see the full version for a proof).

Observation 6.4.

Let I[1,d]. Then M(I) is hyperlinear, i.e., M(I)=B+V for two finite sets B,VS.

The following equivalence between regular separability of the languages L(Ii) and recognizable separability of the (hyperlinear) sets M(Ii) was shown in [15, Lemma 12]. It is straightforward to adapt it to our situation (see the full version).

Lemma 6.5.

We have L(I1)|L(I2) if, and only if, M(I1)|M(I2).

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 M(I1)|M(I2), where M(I1) and M(I2) are sets of vectors of dimension |S|, which is exponential. In Theorem 4.6, we saw that recognizable separability of vector sets A+U and B+V reduces to intersection emptiness of A+U+VJ and B+V+UJ, where J is a subset of the twin-unbounded components. However, the exponential dimension of M(I1),M(I2) 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 𝒖(A+U+VJ)(B+V+UJ), where M(I1)=A+U, M(I2)=B+V, as words containing the participating cycles. Thus, we guess a subset J of the twin-unbounded components, and then construct in polynomial time two -VASS 𝒲1 and 𝒲2 such that

L(𝒲1) ={#c1#c2#cmm,c1,,cmS,Φ(c1,,cm)A+U+VJ}, (4)
L(𝒲2) ={#c1#c2#cmm,c1,,cmS,Φ(c1,,cm)B+V+UJ}, (5)

where for cycles c1,,cmS, the so-called Parikh vector Φ(c1,,cm)S counts how many times each short cycle occurs in c1,,cm: If cS, then Φ(c1,,cm)[c] is the number of indices i[1,m] with ci=c. Note that then clearly, (A+U+VJ)(B+V+UJ) if and only if L(𝒲1)L(𝒲2).

The main challenge in constructing 𝒲1 and 𝒲2 is to guess a subset J of twin-unbounded components, and for the -VASS to verify that a given cycle belongs to J, 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 T^T the set

S[T^]={cT^|Q||c is a cycle}.

Thus, S[T^]S is the set of all short cycles that consist solely of transitions from T^.

Our characterization uses an adaptation of the notion of “cancelable productions” in -grammars used in [1]. We define the homomorphism :TQ as follows: for each transition t=(p,a,𝒙,q)T we set (𝒆t)=𝒆q𝒆p, where 𝒆tT and 𝒆p,𝒆qQ are unit vectors. Thus, (𝒖)[q] is the number of incoming transitions to q, minus the number of outgoing edges from q, weighted by the coefficients in 𝒖. A flow is a vector 𝒇T 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 𝐟T 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 M(I1) and M(I2). A transition tT is bi-cancelable if there exist flows 𝒇1,𝒇2T such that (i) ΔI1(𝒇1)=𝟎 and ΔI2(𝒇2)=𝟎, (ii) t occurs in both 𝒇1 and in 𝒇2, and (iii) supp(𝒇1)=supp(𝒇2). In other words, t is bi-cancelable if it is part of two flows 𝒇1 and 𝒇2 with the same support and with effect zero (wrt. the components I1 resp. I2).

Lemma 6.7.

A cycle cS is twin-unbounded for M(I1) and M(I2) if, and only if, every transition in c is bi-cancelable.

Proof.

For the “only if” direction, suppose that c is twin-unbounded for M(I1) and M(I2). Then by definition there exist sums of period vectors 𝒖1,𝒖2S of M(I1) resp. M(I2) with csupp(𝒖1)=supp(𝒖2). Define 𝒇i=τ(𝒖i)T, where τ:ST maps cycles to the number of occurrences of each transition in these cycles. Then clearly 𝒇i are flows with ΔIi(𝒇i)=ΔIi(𝒖i)=𝟎, c occurs in both 𝒇1 and in 𝒇2, and supp(𝒇1)=supp(𝒇2). Hence, all transitions in c are bi-cancelable.

For the “if” direction, suppose a cycle cS only contains bi-cancelable transitions and write c=t1tn for t1,,tnT. For each ti, there are flows 𝒇i,1 and 𝒇i,2 witnessing that ti is bi-cancelable. Notice that 𝒇1:=𝒇1,1++𝒇n,1 and 𝒇2=𝒇1,2++𝒇n,2 are flows as well and they have supp(𝒇1)=supp(𝒇2). As flows, both 𝒇1 and 𝒇2 can be written as a sum of cycles: There are 𝒖1,𝒖2S with τ(𝒖1)=𝒇1 and τ(𝒖2)=𝒇2. Observe that ΔI1(𝒖1)=ΔI2(𝒖2)=𝟎, meaning 𝒖1 and 𝒖2 are sums of period vectors of M(I1) and M(I2), respectively. If we knew that c occurs in both 𝒖1 and in 𝒖2, and 𝒖1,𝒖2 had the same support, we could conclude twin-unboundedness of c. Since 𝒖1,𝒖2 may not have these properties, we will now modify them. Consider the set S=S[supp(𝒇1)]=S[supp(𝒇2)]; hence S is the set of short cycles uT such that supp(u)supp(𝒇1)=supp(𝒇2). By the choice of 𝒇1 and 𝒇2, we know cS. For each cycle uS, the vectors 𝒇1τ(𝒆u) and 𝒇2τ(𝒆u) are again flows, because τ(𝒆u) is a flow. Now observe

uSτ(𝒆u)+(𝒇iτ(𝒆u))=|S|𝒇i

for i=1,2 (cf. Figure 1). Hence, the flow |S|𝒇i can be written as a sum of cycles in which each cycle from S occurs. Moreover, in this sum, every occurring cycle belongs to S. This means, 𝒖1,𝒖2 have the same support S, which includes c. Moreover, since τ(𝒖i)=|S|𝒇i, we know that ΔIi(𝒖i)=𝟎, meaning 𝒖i is a sum of period vectors of M(Ii), for i=1,2. This means, c is indeed twin-unbounded for M(I1) and M(I2).

Figure 1: The flow τ(𝒆u)+(𝒇iτ(𝒆u)) where the cycle u is depicted in bold blue and the cycles of the flow 𝒇iτ(𝒆u) are depicted in red. Note that the new flower shaped cycle is not necessarily short, but can be easily split into short cycles.

To construct our -VASS 𝒲1 and 𝒲2, 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 φt which is satisfiable if, and only if, t is bi-cancelable (see the full version).

Lemma 6.8.

Given a transition tT, we can decide in 𝖭𝖯 whether it is bi-cancelable.

Constructing the -VASS.

Let us now describe in more detail how the -VASS 𝒲1 and 𝒲2 are constructed. Instead of literally guessing the set J of twin-unbounded cycles (which could require exponentially many bits), we guess a set T^T 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 J=S[T^]. This means, we will have

L(𝒲1) ={#c1#c2#cmm,c1,,cmS,Φ(c1,,cm)A+U+VS[T^]} (6)
L(𝒲2) ={#c1#c2#cmm,c1,,cmS,Φ(c1,,cm)B+V+US[T^]} (7)

and from now on, we will also write J=S[T^]. Note that the result of our algorithm is correct, even when the guess for T^ is not the entire set of bi-cancelable transitions: when L(𝒲1) intersects L(𝒲2) for some choice of T^, it will do so for any larger choice of T^.

Ensuring membership in 𝑨+𝑼.

The idea for constructing 𝒲1 (and analogously 𝒲2) is simple. For each cycle in the input, it guesses whether it belongs to A+U or to VS[T^]. Let 𝒖0S and 𝒖1S be the collection of cycles guessed to be in A+U and in VS[T^], respectively. To make sure that 𝒖0A+U, we note that 𝒖0A+U is equivalent to ΔI1(𝒖0)+ΔI1(ρ)=𝟎, where ρ is the skeleton guessed earlier in the algorithm. Thus, we can use |I1| counters to sum up the effect of the cycles 𝒖0 and add ΔI1(ρ) once in the end. Hence, these counters being zero in the end is equivalent to 𝒖0A+U.

Ensuring membership in 𝑽𝑺[𝑻^].

To make sure that 𝒖1VS[T^], we note that this is equivalent to ΔI2(𝒖1)=𝟎 and supp(𝒖1)S[T^]. Thus, our -VASS has a separate set of |I2| counters that carry the total effect of all the cycles in 𝒖1. Moreover, it is easy to check that all cycles in 𝒖1 only use transitions in T^.

Note that membership in B+V and in US[T^] are checked similarly. With this polynomial-time construction of 𝒲1 and 𝒲2, 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 𝒱1 and 𝒱2 be two d-dimensional -VASS. From 𝒱1 and 𝒱2 we can compute a single 2d-dimensional deterministic -VASS 𝒱 and two sets I1,I2[1,2d] in polynomial time such that L(𝒱1)|L(𝒱2) holds if, and only if, L(𝒱,I1)|L(𝒱,I2) (Lemmas 6.1 and 6.2). According to Lemma 6.3 we have L(𝒱,I1)|L(𝒱,I2) if, and only if, L(𝒱,I1,ρ)|L(𝒱,I2,ρ) for each skeleton ρ in 𝒱 holds. So, we guess a skeleton ρ and check regular inseparability of L(𝒱,I1,ρ) and L(𝒱,I2,ρ) certifying regular inseparability of L(𝒱,I1) and L(𝒱,I2).

Additionally, we will guess a set T^T of transitions and verify in 𝖭𝖯 that all of them are bi-cancelable (Lemma 6.8). Then we can construct in polynomial time two -VASS 𝒲1 and 𝒲2 such that (6) and (7) hold. If L(𝒲1)L(𝒲2), the algorithm reports “inseparable”. For this, it uses a simple product construction to obtain a -VASS 𝒲 for the intersection L(𝒲1)L(𝒲2), and decide in 𝖭𝖯 whether an accepting configuration can be reached in 𝒲.

This is sound: We have L(𝒲1)L(𝒲2) if and only if (A+U+VJ)(B+V+UJ) for J=S[T^]; and by Lemma 6.5, we know that the latter rules out M(I1)|M(I2). For completeness, note that if M(I1)|M(I2) does not hold, then there exists a choice for T^ such that L(𝒲1)L(𝒲2): 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 A×m 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.