FO-Complete Program Verification for Heap Logics
Open Access
- 9 April 2025
- journal article
- Published by Association for Computing Machinery (ACM) in Proceedings of the ACM on Programming Languages
- Vol. 9 (OOPSLA1) , 730-758
Abstract
Program verification techniques for expressive heap logics are inevitably incomplete. In this work we argue that algorithmic techniques for reasoning with expressive heap logics can be held up to a different robust theoretical standard for completeness: FO-Completeness. FO-completeness is a theoretical guarantee that all theorems that are valid when recursive definitions are interpreted as fixpoint definitions (instead of least fixpoint) are guaranteed to be eventually proven by the system. We illustrate a set of principles to design such logics and develop the first two heap logics that have implicit heaplets and that admit FO-Complete program verification. The logics we develop are a frame logic (FL) and a separation logic (SL-FL) that has an alternate semantics inspired by frame logic. We show a verification condition generation technique that is amenable to FO-complete reasoning using quantifier instantiation and SMT solvers. We implement tools that realize our technique and show the expressiveness of our logics and the efficacy of the verification technique on a suite of benchmarks that manipulate data structures.Keywords
All Related Versions
Funding Information
- Amazon (Research Gift)
This publication has 64 references indexed in Scilit:
- Verification Algorithms for Automated Separation Logic Verifiers2024
- Automated Mutual Explicit Induction Proof in Separation Logic2016
- Automating Separation Logic with Trees and Data2014
- Property-Directed Shape Analysis2014
- A Basis for Verifying Multi-threaded Programs2009
- Regional Logic for Local Reasoning about Global Invariants2008
- Enhancing Program Verification with Lemmas2008
- Smallfoot: Modular Automatic Assertion Checking with Separation Logic2006
- Symbolic Execution with Separation Logic2005
- A Decidable Fragment of Separation Logic2004