Authors: Grigory Fedyukovich, Yueling Zhang and Aarti Gupta
Paper Information
Title: | Syntax-Guided Termination Analysis |
Authors: | Grigory Fedyukovich, Yueling Zhang and Aarti Gupta |
Proceedings: | CAV All Papers |
Editors: | Georg Weissenbacher, Hana Chockler and Igor Konnov |
Keywords: | Program Verification, Program Synthesis, Termination Proving, Non-termination Proving, Inductive Invariants |
Abstract: | ABSTRACT. We present new algorithms for proving program termination and non-termination using syntax-guided synthesis. They exploit the symbolic encoding of program and automatically construct a formal grammar for symbolic constraints that are used to synthesize either a termination argument or a never-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 FreqTerm, shows that although the number of constraints is always finite and 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 the state-of-the-art on a wide range of terminating and non-terminating benchmarks, and it significantly outperforms the state-of-the-art on proving non-termination of a class of programs arising from large-scale Event-Condition-Action systems. |
Pages: | 19 |
Talk: | Jul 14 11:15 (Session 95A: Model Checking) |
Paper: |