The Complexity of Reachability Problems for Flat Counter Machines with Periodic Loops
Marius Bozga, Radu Iosif, Filip Konecny

TL;DR
This paper establishes that the reachability problem for flat counter machines with difference bounds and octagonal relations is NP-complete, using periodic matrix sequences to analyze the problem's complexity.
Contribution
It proves NP-completeness of reachability for a significant class of counter machines by encoding relation powers as periodic matrix sequences.
Findings
NP-completeness of reachability for flat counter machines with difference bounds.
Encoding of relation powers as periodic matrix sequences.
Characterization of complexity impacting program verification.
Abstract
This paper proves the NP-completeness of the reachability problem for the class of flat counter machines with difference bounds and, more generally, octagonal relations, labeling the transitions on the loops. The proof is based on the fact that the sequence of powers of such relations can be encoded as a periodic sequence of matrices, and that both the prefix and the period of this sequence are in the size of the binary encoding of a relation . This result allows to characterize the complexity of the reachability problem for one of the most studied class of counter machines \cite{cav10,comon-jurski98}, and has a potential impact for other problems in program verification.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsFormal Methods in Verification · semigroups and automata theory · Machine Learning and Algorithms
