English

The complexity of separability for semilinear sets and Parikh automata

Formal Languages and Automata Theory 2025-07-02 v4

Abstract

In a \emph{separability problem}, we are given two sets KK and LL from a class C\mathcal{C}, and we want to decide whether there exists a set SS from a class S\mathcal{S} such that KSK\subseteq S and SL=S\cap L=\emptyset. In this case, we speak of \emph{separability of sets in C\mathcal{C} by sets in S\mathcal{S}}. We study two types of separability problems. First, we consider separability of semilinear sets (i.e. subsets of Nd\mathbb{N}^d for some dd) by sets definable by quantifier-free monadic Presburger formulas (or equivalently, the recognizable subsets of Nd\mathbb{N}^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 coNP-complete. In the case of semilinear sets, coNP-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 Σ×Nd\Sigma^*\times\mathbb{N}^d (shown decidable by Choffrut and Grigorieff) is coNP-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 coNP-complete as well.

Keywords

Cite

@article{arxiv.2410.00548,
  title  = {The complexity of separability for semilinear sets and Parikh automata},
  author = {Elias Rojas Collins and Chris Köcher and Georg Zetzsche},
  journal= {arXiv preprint arXiv:2410.00548},
  year   = {2025}
}

Comments

accepted for MFCS 2025