A Proof Recipe for Linearizability in Relaxed Memory Separation Logic
Sunho Park, Jaewoo Kim, Ike Mulder, Jaehwang Jung, Janggun Lee, Robbert Krebbers, Jeehoon Kang
摘要
Linearizability is the de facto standard for correctness of concurrent objects–it essentially says that all the object’s operations behave as if they were atomic. There have been a number of recent advances in developing increasingly strong linearizability specifications for relaxed memory consistency (RMC), but scalable proof methods for these specifications do not exist due to the challenges arising from out-of-order executions (requiring event reordering) and selected synchronization (requiring tracking of view transfers). We propose a proof recipe for the linearizable history specifications by Dang et al . in the Iris-based iRC11 concurrent separation logic in Coq. Key to our proof recipe is the notion of object modification order (OMO) , which generalizes the modification order of the C11 memory model to an object-local setting. Using OMO we minimize the conditions that need to be proved for event reordering. To enable proof reuse for concurrent libraries that are built on top of others, OMO provides the novel notion of a commit-with relation that connects the linearization points of the lower and upper libraries. Using our recipe, we verify the linearizability of the Michael–Scott queue, the elimination stack, and Folly’s MPMC queue in RMC for the first time; and verify stronger specifications of a spinlock and atomic reference counting in RMC than prior work.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 4 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Verified Lock-Free Session Channels with Linking 引用了 Compass: strong and compositional library specifications in relaxed memory separation logic
- Verifying Lock-Free Traversals in Relaxed Memory Separation Logic 引用了 RustBelt meets relaxed memory
- Verifying Lock-Free Traversals in Relaxed Memory Separation Logic 引用了 Compass: strong and compositional library specifications in relaxed memory separation logic
- Verifying Lock-Free Traversals in Relaxed Memory Separation Logic 引用了 Diaframe: automated verification of fine-grained concurrent programs in Iris
- Verifying Lock-Free Traversals in Relaxed Memory Separation Logic 引用了 An Operational Approach to Library Abstraction under Relaxed Memory Concurrency
- Verifying Lock-Free Traversals in Relaxed Memory Separation Logic 引用了 Verifying General-Purpose RCU for Reclamation in Relaxed Memory Separation Logic
- Verifying Lock-Free Traversals in Relaxed Memory Separation Logic 引用了 The future is ours: prophecy variables in separation logic
- Compass: strong and compositional library specifications in relaxed memory separation logic 引用了 RustBelt meets relaxed memory
- Compass: strong and compositional library specifications in relaxed memory separation logic 引用了 The future is ours: prophecy variables in separation logic
- Lilo: A Higher-Order, Relational Concurrent Separation Logic for Liveness 引用了 Compass: strong and compositional library specifications in relaxed memory separation logic
- Lilo: A Higher-Order, Relational Concurrent Separation Logic for Liveness 引用了 The future is ours: prophecy variables in separation logic
- Diaframe: automated verification of fine-grained concurrent programs in Iris 引用了 RustBelt meets relaxed memory
- Diaframe: automated verification of fine-grained concurrent programs in Iris 引用了 The future is ours: prophecy variables in separation logic
- Verifying General-Purpose RCU for Reclamation in Relaxed Memory Separation Logic 引用了 RustBelt meets relaxed memory
- Verifying General-Purpose RCU for Reclamation in Relaxed Memory Separation Logic 引用了 Compass: strong and compositional library specifications in relaxed memory separation logic
- Verifying General-Purpose RCU for Reclamation in Relaxed Memory Separation Logic 引用了 The future is ours: prophecy variables in separation logic
引用它的顶会 Paper4
- Lilo: A Higher-Order, Relational Concurrent Separation Logic for LivenessDongjae Lee, Janggun Lee, Taeyoung Yoon, Minki Cho 等OOPSLA 2025 · 3 次引用
- Verified Lock-Free Session Channels with LinkingThomas Somers, Robbert KrebbersOOPSLA 2024 · 2 次引用
- Verifying Lock-Free Traversals in Relaxed Memory Separation LogicSunho Park, Jaehwang Jung, Janggun Lee, Jeehoon KangPLDI 2025 · 1 次引用
- Verifying General-Purpose RCU for Reclamation in Relaxed Memory Separation LogicJaehwang Jung, Sunho Park, Janggun Lee, Jeho Yeon 等PLDI 2025 · 1 次引用
它引用的 Paper9
- RustBelt meets relaxed memoryHoang-Hai Dang, Jacques-Henri Jourdan, Jan-Oliver Kaiser, Derek DreyerPOPL 2020 · 68 次引用
- The future is ours: prophecy variables in separation logicRalf Jung, Rodolphe Lepigre, Gaurav Parthasarathy, Marianna Rapoport 等POPL 2020 · 62 次引用
- Diaframe: automated verification of fine-grained concurrent programs in IrisIke Mulder, Robbert Krebbers, Herman GeuversPLDI 2022 · 27 次引用
- Compass: strong and compositional library specifications in relaxed memory separation logicHoang-Hai Dang, Jaehwang Jung, Jaemin Choi, Duc-Than Nguyen 等PLDI 2022 · 19 次引用
- An Operational Approach to Library Abstraction under Relaxed Memory ConcurrencyAbhishek Kr Singh, Ori LahavPOPL 2023 · 11 次引用
相关 Paper
- Scenario-Based Proofs for Concurrent ObjectsConstantin Enea, Eric KoskinenOOPSLA 2024 · 2 次引用
- Proof Automation for Linearizability in Separation LogicIke Mulder, Robbert KrebbersOOPSLA 2023 · 8 次引用
- Automated Robustness Verification of Concurrent Data Structure Libraries against Relaxed Memory ModelsKartik Nagar, Anmol Sahoo, Romit Roy Chowdhury, Suresh JagannathanOOPSLA 2024 · 1 次引用
- Raven: An SMT-Based Concurrency VerifierEkanshdeep Gupta, Nisarg Patel, Thomas WiesCAV 2025 · 1 次引用
- RELINCHE: Automatically Checking Linearizability under Relaxed Memory ConsistencyPavel Golovin, Michalis Kokologiannakis, Viktor VafeiadisPOPL 2025 · 4 次引用
