Proof Automation for Linearizability in Separation Logic
Ike Mulder, Robbert Krebbers
Abstract
Recent advances in concurrent separation logic enabled the formal verification of increasingly sophisticated fine-grained ( i.e. , lock-free) concurrent programs. For such programs, the golden standard of correctness is linearizability , which expresses that concurrent executions always behave as some valid sequence of sequential executions. Compositional approaches to linearizability (such as contextual refinement and logical atomicity) make it possible to prove linearizability of whole programs or compound data structures ( e.g. , a ticket lock) using proofs of linearizability of their individual components ( e.g. , a counter). While powerful, these approaches are also laborious—state-of-the-art tools such as Iris, FCSL, and Voila all require a form of interactive proof. This paper develops proof automation for contextual refinement and logical atomicity in Iris. The key ingredient of our proof automation is a collection of proof rules whose application is directed by both the program and the logical state. This gives rise to effective proof search strategies that can prove linearizability of simple examples fully automatically. For more complex examples, we ensure the proof automation cooperates well with interactive proof tactics by minimizing the use of backtracking. We implement our proof automation in Coq by extending and generalizing Diaframe, a proof automation extension for Iris. While the old version (Diaframe 1.0) was limited to ordinary Hoare triples, the new version (Diaframe 2.0) is extensible in its support for program verification styles: our proof search strategies for contextual refinement and logical atomicity are implemented as modules for Diaframe 2.0. We evaluate our proof automation on a set of existing benchmarks and novel proofs, showing that it provides significant reduction of proof work for both approaches to linearizability.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
6 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Modular Verification of Safe Memory Reclamation in Concurrent Separation Logic cites Diaframe: automated verification of fine-grained concurrent programs in Iris
- Modular Verification of Safe Memory Reclamation in Concurrent Separation Logic cites The future is ours: prophecy variables in separation logic
- Verifying Lock-Free Traversals in Relaxed Memory Separation Logic cites Modular Verification of Safe Memory Reclamation in Concurrent Separation Logic
- Verifying Lock-Free Traversals in Relaxed Memory Separation Logic cites Diaframe: automated verification of fine-grained concurrent programs in Iris
- Verifying Lock-Free Traversals in Relaxed Memory Separation Logic cites A Proof Recipe for Linearizability in Relaxed Memory Separation Logic
- Verifying Lock-Free Traversals in Relaxed Memory Separation Logic cites The future is ours: prophecy variables in separation logic
- RefinedC: automating the foundational verification of C code with refined ownership types cites The future is ours: prophecy variables in separation logic
- Diaframe: automated verification of fine-grained concurrent programs in Iris cites RefinedC: automating the foundational verification of C code with refined ownership types
- Diaframe: automated verification of fine-grained concurrent programs in Iris cites The future is ours: prophecy variables in separation logic
- Beyond Backtracking: Connections in Fine-Grained Concurrent Separation Logic cites RefinedC: automating the foundational verification of C code with refined ownership types
- Beyond Backtracking: Connections in Fine-Grained Concurrent Separation Logic cites Diaframe: automated verification of fine-grained concurrent programs in Iris
- Zoo: A Framework for the Verification of Concurrent OCaml 5 Programs using Separation Logic cites RefinedC: automating the foundational verification of C code with refined ownership types
- Zoo: A Framework for the Verification of Concurrent OCaml 5 Programs using Separation Logic cites Diaframe: automated verification of fine-grained concurrent programs in Iris
- Zoo: A Framework for the Verification of Concurrent OCaml 5 Programs using Separation Logic cites The future is ours: prophecy variables in separation logic
- A Proof Recipe for Linearizability in Relaxed Memory Separation Logic cites Diaframe: automated verification of fine-grained concurrent programs in Iris
- A Proof Recipe for Linearizability in Relaxed Memory Separation Logic cites The future is ours: prophecy variables in separation logic
- Simuliris: a separation logic framework for verifying concurrent program optimizations cites RefinedC: automating the foundational verification of C code with refined ownership types
Cited by top-tier papers6
- Modular Verification of Safe Memory Reclamation in Concurrent Separation LogicJaehwang Jung, Janggun Lee, Jaemin Choi, Jaewoo Kim et al.OOPSLA 2023 · 10 citations
- A Proof Recipe for Linearizability in Relaxed Memory Separation LogicSunho Park, Jaewoo Kim, Ike Mulder, Jaehwang Jung et al.PLDI 2024 · 4 citations
- Beyond Backtracking: Connections in Fine-Grained Concurrent Separation LogicIke Mulder, Lukasz Czajka, Robbert KrebbersPLDI 2023 · 2 citations
- Zoo: A Framework for the Verification of Concurrent OCaml 5 Programs using Separation LogicClément Allain, Gabriel SchererPOPL 2026 · 2 citations
- Verifying Lock-Free Traversals in Relaxed Memory Separation LogicSunho Park, Jaehwang Jung, Janggun Lee, Jeehoon KangPLDI 2025 · 1 citation
Builds on13
- RefinedC: automating the foundational verification of C code with refined ownership typesMichael Sammler, Rodolphe Lepigre, Robbert Krebbers, Kayvan Memarian et al.PLDI 2021 · 83 citations
- The future is ours: prophecy variables in separation logicRalf Jung, Rodolphe Lepigre, Gaurav Parthasarathy, Marianna Rapoport et al.POPL 2020 · 62 citations
- Simuliris: a separation logic framework for verifying concurrent program optimizationsLennard Gäher, Michael Sammler, Simon Spies, Ralf Jung et al.POPL 2022 · 33 citations
- GoJournal: a verified, concurrent, crash-safe journaling systemTej Chajed, Joseph Tassarotti, Mark Theng, Ralf Jung et al.OSDI 2021 · 31 citations
- Diaframe: automated verification of fine-grained concurrent programs in IrisIke Mulder, Robbert Krebbers, Herman GeuversPLDI 2022 · 27 citations
Related papers
- Lawyer: Modular Obligations-Based Liveness Reasoning in Higher-Order Impredicative Concurrent Separation LogicEgor Namakonov, Justus Fasse, Bart Jacobs, Lars Birkedal et al.OOPSLA 2026
- Concise Outlines for a Complex Logic: A Proof Outline Checker for TaDAFelix A. Wolf, Malte Schwerhoff, Peter MüllerFM 2021 · 10 citations
- Raven: An SMT-Based Concurrency VerifierEkanshdeep Gupta, Nisarg Patel, Thomas WiesCAV 2025 · 1 citation
- Verifying concurrent search structure templatesSiddharth Krishna, Nisarg Patel, Dennis E. Shasha, Thomas WiesPLDI 2020 · 19 citations
- Program Logics à la CarteMax Vistrup, Michael Sammler, Ralf JungPOPL 2025 · 4 citations
