Publication Type
Conference Proceeding Article
Version
publishedVersion
Publication Date
6-2021
Abstract
We present a new approach to proving non-termination of non-deterministic integer programs. Our technique is rather simple but efficient. It relies on a purely syntactic reversal of the program's transition system followed by a constraint-based invariant synthesis with constraints coming from both the original and the reversed transition system. The latter task is performed by a simple call to an off-the-shelf SMT-solver, which allows us to leverage the latest advances in SMT-solving. Moreover, our method offers a combination of features not present (as a whole) in previous approaches: it handles programs with non-determinism, provides relative completeness guarantees and supports programs with polynomial arithmetic. The experiments performed with our prototype tool RevTerm show that our approach, despite its simplicity and stronger theoretical guarantees, is at least on par with the state-of-the-art tools, often achieving a non-trivial improvement under a proper configuration of its parameters.
Keywords
Static Analysis, Program Termination, Backward Analysis, Invariant Generation, Completeness Guarantees
Discipline
Programming Languages and Compilers
Research Areas
Intelligent Systems and Optimization
Areas of Excellence
Digital transformation
Publication
PLDI 2021: Proceedings of the 42nd ACM SIGPLAN International Conference on Programming Language Design and Implementation, Virtual Conference, June 20-25
First Page
1033
Last Page
1048
ISBN
9781450383912
Identifier
10.1145/3453483.3454093
Publisher
ACM
City or Country
New York
Citation
CHATTERJEE, Krishnendu; GOHARSHADY, Ehsan Kafshdar; NOVOTNÝ, Petr; and ZIKELIC, Dorde.
Proving non-termination by program reversal. (2021). PLDI 2021: Proceedings of the 42nd ACM SIGPLAN International Conference on Programming Language Design and Implementation, Virtual Conference, June 20-25. 1033-1048.
Available at: https://ink.library.smu.edu.sg/sis_research/9072
Copyright Owner and License
Authors
Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-No Derivative Works 4.0 International License.
Additional URL
https://doi.org/10.1145/3453483.3454093