Beyond Backtracking: Connections in Fine-Grained Concurrent Separation Logic
Ike Mulder, Lukasz Czajka, Robbert Krebbers
摘要
Concurrent separation logic has been responsible for major advances in the formal verification of fine-grained concurrent algorithms and data structures such as locks, barriers, queues, and reference counters. The key ingredient of the verification of a fine-grained program is an invariant, which relates the physical data representation (on the heap) to a logical representation (in mathematics) and to the state of the threads (using a form of ghost state). An invariant is typically represented as a disjunction of logical states, but this disjunctive nature makes invariants a difficult target for automated verification. Current approaches roughly suffer from two problems. They use backtracking to introduce disjunctions in an uninformed manner, which can lead to unprovable goals if an appropriate case analysis has not been made before choosing the disjunct. Moreover, they eliminate disjunctions too eagerly, which can cause poor efficiency. While disjunctions are no problem for automated provers based on classical (i.e., non-separating) logic, the challenges with disjunctions are prominent in the study of proof automation for intuitionistic logic. We take inspiration from that area—specifically, based on ideas from connection calculus , we design a simple multi-succedent calculus for separation logic with disjunctions featuring a novel concept of a connection . While our calculus is not complete, it has the advantage that it can be extended with features of the state-of-the-art concurrent separation logic Iris (such as modalities, higher-order quantification, ghost state, and invariants), and can be implemented effectively in the Coq proof assistant with little need for backtracking. We evaluate the practicality on 24 challenging benchmarks, 14 of which we can verify fully automatically.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 2 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Proof Automation for Linearizability in Separation Logic 引用了 RefinedC: automating the foundational verification of C code with refined ownership types
- Proof Automation for Linearizability in Separation Logic 引用了 Diaframe: automated verification of fine-grained concurrent programs in Iris
- Proof Automation for Linearizability in Separation Logic 引用了 Concise Outlines for a Complex Logic: A Proof Outline Checker for TaDA
- The Functional Essence of Imperative Binary Search Trees 引用了 Diaframe: automated verification of fine-grained concurrent programs in Iris
- Diaframe: automated verification of fine-grained concurrent programs in Iris 引用了 RefinedC: automating the foundational verification of C code with refined ownership types
- Diaframe: automated verification of fine-grained concurrent programs in Iris 引用了 Concise Outlines for a Complex Logic: A Proof Outline Checker for TaDA
引用它的顶会 Paper2
它引用的 Paper4
- RefinedC: automating the foundational verification of C code with refined ownership typesMichael Sammler, Rodolphe Lepigre, Robbert Krebbers, Kayvan Memarian 等PLDI 2021 · 83 次引用
- Diaframe: automated verification of fine-grained concurrent programs in IrisIke Mulder, Robbert Krebbers, Herman GeuversPLDI 2022 · 27 次引用
- Concise Outlines for a Complex Logic: A Proof Outline Checker for TaDAFelix A. Wolf, Malte Schwerhoff, Peter MüllerFM 2021 · 10 次引用
- Proof Automation for Linearizability in Separation LogicIke Mulder, Robbert KrebbersOOPSLA 2023 · 8 次引用
相关 Paper
- Raven: An SMT-Based Concurrency VerifierEkanshdeep Gupta, Nisarg Patel, Thomas WiesCAV 2025 · 1 次引用
- A concurrent program logic with a future and historyRoland Meyer, Thomas Wies, Sebastian WolffOOPSLA 2022 · 9 次引用
- Lawyer: Modular Obligations-Based Liveness Reasoning in Higher-Order Impredicative Concurrent Separation LogicEgor Namakonov, Justus Fasse, Bart Jacobs, Lars Birkedal 等OOPSLA 2026
- Program Logics à la CarteMax Vistrup, Michael Sammler, Ralf JungPOPL 2025 · 4 次引用
- A separation logic for effect handlersPaulo Emílio de Vilhena, François PottierPOPL 2021 · 24 次引用
