Research indexBook chapter
Syntax-Guided Termination Analysis
Fedyukovich, Zhang, Gupta
Lecture notes in computer science1 Jan 2018Open access
NobleIDark:/48914/w1/20260516/50D68C97DOI10.1007/978-3-319-96145-3_7
Syntax-Guided Termination Analysis
Fedyukovich, Zhang, Gupta · Lecture notes in computer science · 2018
NobleIDark:/48914/w1/20260516/50D68C97DOI10.1007/978-3-319-96145-3_7
Free to read at the publisher
You can read the abstract here, or the full text at the publisher.
Abstract
We present new algorithms for proving program termination and non-termination using syntax-guided synthesis. They exploit the symbolic encoding of programs and automatically construct a formal grammar for symbolic constraints that are used to synthesize either a termination argument or a non-terminating program refinement. The constraints are then added back to the program encoding, and an off-the-shelf constraint solver decides on their fitness and on the progress of the algorithms. The evaluation of our implementation, called Freq-Term, shows that although the formal grammar is limited to the syntax of the program, in the majority of cases our algorithms are effective and fast. Importantly, FreqTerm is competitive with state-of-the-art on a wide range of terminating and non-terminating benchmarks, and it significantly outperforms state-of-the-art on proving non-termination of a class of programs arising from large-scale Event-Condition-Action systems.