An Infinite Needle in a Finite Haystack: Finding Infinite Counter-Models in Deductive Verification
Neta Elad, Oded Padon, Sharon Shoham

TL;DR
This paper introduces a novel approach for finding infinite models in first-order logic formulas, aiding in debugging and verification by identifying models that existing solvers cannot find, especially in cases involving infinite structures.
Contribution
The paper presents symbolic structures for representing infinite models, an effective model finding procedure, and a new decidable fragment of first-order logic that guarantees the existence of such models.
Findings
Successfully finds infinite counter-models in verification problems
Outperforms SMT solvers like Z3, cvc5, and Vampire which diverge on these problems
Demonstrates applicability to distributed protocols and heap programs
Abstract
First-order logic, and quantifiers in particular, are widely used in deductive verification. Quantifiers are essential for describing systems with unbounded domains, but prove difficult for automated solvers. Significant effort has been dedicated to finding quantifier instantiations that establish unsatisfiability, thus ensuring validity of a system's verification conditions. However, in many cases the formulas are satisfiable: this is often the case in intermediate steps of the verification process. For such cases, existing tools are limited to finding finite models as counterexamples. Yet, some quantified formulas are satisfiable but only have infinite models. Such infinite counter-models are especially typical when first-order logic is used to approximate inductive definitions such as linked lists or the natural numbers. The inability of solvers to find infinite models makes them…
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.
Taxonomy
TopicsSoftware Testing and Debugging Techniques · Security and Verification in Computing · Formal Methods in Verification
