LoopInvGen: A Loop Invariant Generator based on Precondition Inference
Preprint
Abstract
We describe the LoopInvGen tool for generating loop invariants that can provably guarantee correctness of a program with respect to a given specification. LoopInvGen is an efficient implementation of the inference technique originally proposed in our earlier work on PIE (https://doi.org/10.1145/2908080.2908099). In contrast to existing techniques, LoopInvGen is not restricted to a fixed set of features -- atomic predicates that are composed together to build complex loop invariants. Instead, we start with no initial features, and use program synthesis techniques to grow the set on demand. This not only enables a less onerous and more expressive approach, but also appears to be significantly faster than the existing tools over the SyGuS-COMP 2018 benchmarks from the INV track.Keywords
All Related Versions
This publication has 8 references indexed in Scilit:
- Overfitting in Synthesis: Theory and Practice2019
- SyGuS-Comp 2016: Results and AnalysisElectronic Proceedings in Theoretical Computer Science, 2016
- Data-driven precondition inference with learned features2016
- Inductive invariant generation via abductive inference2013
- CVC42011
- Z3: An Efficient SMT Solver2008
- Automatic predicate abstraction of C programs2001
- An Introduction to Computational Learning Theory1994