Paper record

W1970168990

Inductive invariant generation via abductive inference

Işıl Dillig, Thomas Dillig, Boyang Li, Ken L. McMillan

Year
2013
Venue
Conference on Object-Oriented Programming Systems, Languages, and Applications
References
39
Cited by
152

Details and counts from OpenAlex.

Abstract

This paper presents a new method for generating inductive loop invariants that are expressible as boolean combinations of linear integer constraints. The key idea underlying our technique is to perform a backtracking search that combines Hoare-style verification condition generation with a logical abduction procedure based on quantifier elimination to speculate candidate invariants. Starting with true, our method iteratively strengthens loop invariants until they are inductive and strong enough to verify the program. A key feature of our technique is that it is lazy: It only infers those invariants that are necessary for verifying program correctness. Furthermore, our technique can infer arbitrary boolean combinations (including disjunctions) of linear invariants. We have implemented the proposed approach in a tool called HOLA. Our experiments demonstrate that HOLA can infer interesting invariants that are beyond the reach of existing state-of-the-art invariant generation tools.