Sound and Complete Witnesses for Template-based Verification of LTL Properties on Polynomial Programs
Krishnendu Chatterjee, Amir Kafshdar Goharshady, Ehsan Kafshdar Goharshady, Mehrdad Karrabi, Đorđe Žikelić
TL;DR
The paper addresses verifying LTL specifications over imperative polynomial programs by introducing a unified family of sound and complete witnesses, enabling both verification and refutation. It connects LTL verification to Büchi automata, and develops a template-based synthesis procedure that constructs polynomial witnesses (EBRFs and UBRFs) for polynomial transition systems; the core reduction relies on Putinar’s Positivstellensatz to transform existential constraints into a quadratic programming problem solvable by SMT solvers. The approach is shown to be sound and semi-complete, with sub-exponential complexity for fixed polynomial degree, and an implemented prototype demonstrates effectiveness on linear and non-linear benchmarks beyond prior tools. This yields a practical, general framework for LTL model checking over polynomial programs, combining theoretical unification with scalable, automated witness synthesis and empirical validation. The work advances verification by enabling semi-complete, template-based certified reasoning for a broad class of dynamic systems, with potential extensions to heap-manipulating programs via numerical abstractions.
Abstract
We study the classical problem of verifying programs with respect to formal specifications given in the linear temporal logic (LTL). We first present novel sound and complete witnesses for LTL verification over imperative programs. Our witnesses are applicable to both verification (proving) and refutation (finding bugs) settings. We then consider LTL formulas in which atomic propositions can be polynomial constraints and turn our focus to polynomial arithmetic programs, i.e. programs in which every assignment and guard consists only of polynomial expressions. For this setting, we provide an efficient algorithm to automatically synthesize such LTL witnesses. Our synthesis procedure is both sound and semi-complete. Finally, we present experimental results demonstrating the effectiveness of our approach and that it can handle programs which were beyond the reach of previous state-of-the-art tools.
