Invariants for One-Counter Automata with Disequality Tests
<|reference_start|>Invariants for One-Counter Automata with Disequality Tests: We study the reachability problem for one-counter automata in which transitions can carry disequality tests. A disequality test is a guard that prohibits a specified counter value. This reachability problem has been known to be NP-hard and in PSPACE, and characterising its computational complexity has been left as a challenging open question by Almagor, Cohen, P\'erez, Shirmohammadi, and Worrell (2020). We reduce the complexity gap, placing the problem into the second level of the polynomial hierarchy, namely into the class $\mathsf{coNP}^{\mathsf{NP}}$. In the presence of both equality and disequality tests, our upper bound is at the third level, $\mathsf{P}^{\mathsf{NP}^{\mathsf{NP}}}$.   To prove this result, we show that non-reachability can be witnessed by a pair of invariants (forward and backward). These invariants are almost inductive. They aim to over-approximate only a "core" of the reachability set instead of the entire set. The invariants are also leaky: it is possible to escape the set. We complement this with separate checks as the leaks can only occur in a controlled way.<|reference_end|>
@article{chistikov2024invariants,
    title={Invariants for One-Counter Automata with Disequality Tests},
    author={Dmitry Chistikov and J'er^ome Leroux and Henry Sinclair-Banks and
  Nicolas Waldburger},
    journal={arXiv preprint arXiv:2408.11908},
    year={2024},
    archivePrefix={arXiv},
    eprint={2408.11908},
    primaryClass={cs.FL cs.LO}
}