Bounded Quantifier Instantiation for Checking Inductive Invariants
Yotam M. Y. Feldman, Oded Padon, Neil Immerman, Mooly Sagiv, Sharon, Shoham

TL;DR
This paper introduces Bounded-Horizon instantiation, a method to ensure termination of SMT solvers when checking inductive invariants with quantifier alternation, and demonstrates its effectiveness and power in uninterpreted domains.
Contribution
It presents Bounded-Horizon as a powerful, automatic technique for verifying quantified invariants, matching manual instrumentation methods without code modification.
Findings
Bounded-Horizon guarantees termination for certain classes of invariants.
The method can simulate natural instrumentation techniques automatically.
Prototype implementation successfully verified several examples with bound 1.
Abstract
We consider the problem of checking whether a proposed invariant expressed in first-order logic with quantifier alternation is inductive, i.e. preserved by a piece of code. While the problem is undecidable, modern SMT solvers can sometimes solve it automatically. However, they employ powerful quantifier instantiation methods that may diverge, especially when is not preserved. A notable difficulty arises due to counterexamples of infinite size. This paper studies Bounded-Horizon instantiation, a natural method for guaranteeing the termination of SMT solvers. The method bounds the depth of terms used in the quantifier instantiation process. We show that this method is surprisingly powerful for checking quantified invariants in uninterpreted domains. Furthermore, by producing partial models it can help the user diagnose the case when is not inductive,…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
