The complexity of separability for semilinear sets and Parikh automata
Abstract
In a \emph{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 \emph{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 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 (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