Complexity and Information in Invariant Inference
Yotam M. Y. Feldman, Neil Immerman, Mooly Sagiv, Sharon Shoham

TL;DR
This paper analyzes the complexity of SAT-based invariant inference, showing exponential lower bounds in a black-box model and demonstrating that rich Hoare queries, as used in PDR, can significantly improve efficiency over simpler methods.
Contribution
It introduces a formal complexity analysis of invariant inference in the Hoare-query model and compares the efficiency of PDR with other approaches, highlighting the importance of rich queries.
Findings
Exponential lower bounds for general Hoare-query algorithms.
PDR with rich Hoare queries can infer invariants efficiently.
Learning from counterexamples to induction is harder than classical exact learning.
Abstract
This paper addresses the complexity of SAT-based invariant inference, a prominent approach to safety verification. We consider the problem of inferring an inductive invariant of polynomial length given a transition system and a safety property. We analyze the complexity of this problem in a black-box model, called the Hoare-query model, which is general enough to capture algorithms such as IC3/PDR and its variants. An algorithm in this model learns about the system's reachable states by querying the validity of Hoare triples. We show that in general an algorithm in the Hoare-query model requires an exponential number of queries. Our lower bound is information-theoretic and applies even to computationally unrestricted algorithms, showing that no choice of generalization from the partial information obtained in a polynomial number of Hoare queries can lead to an efficient invariant…
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.
