Computing Linear Arithmetic Representation of Reachability Relation of One-Counter Automata

Xie Li,Taolue Chen,Zhilin Wu,Mingji Xia
DOI: https://doi.org/10.1007/978-3-030-62822-2_6
2020-01-01
Abstract:One-counter automata (OCA) are a well-studied automata model that extends finite-state automata with one counter. The reachability problem of OCA was shown to be NP-complete when the integers in the OCA are encoded in binary. In this paper, we study the problem of computing the reachability relation of OCA. We show that, for each OCA, an existential Presburger arithmetic (EPA) formula of polynomial size can be computed in polynomial time to represent its reachability relation. This yields a polynomial-time reduction from the reachability problem of OCA to the satisfiability problem of EPA, enabling its solution via off-the-shelf SMT solvers. We implement the algorithm and provide the first tool OCAReach for the reachability problem of OCA. The experimental results demonstrate the efficacy of our approach.
What problem does this paper attempt to address?