Multris: Functional Verification of Multiparty Message Passing in Separation Logic
Jonas Kastberg Hinrichsen, Jules Jacobs, Robbert Krebbers
摘要
We introduce Multris, a separation logic for verifying functional correctness of programs that combine multiparty message-passing communication with shared-memory concurrency. The foundation of our work is a novel concept of multiparty protocol consistency , which guarantees safe communication among a set of parties, provided each party adheres to its prescribed protocol. Our concept of protocol consistency is inspired by the bottom-up approach for multiparty session types. However, by considering it in the context of separation logic instead of a type system, we go further in terms of generality by supporting new notions of implicit transfer of knowledge and implicit transfer of resources . We develop tactics for automatically verifying protocol consistency and for reasoning about message-passing operations in Multris. We evaluate Multris on a range of examples, including the well-known two- and three-buyer protocols, as well as a new verification benchmark based on Chang and Roberts's ring leader election protocol. To ensure the reliability of our work, we prove soundness of Multris w.r.t. a low-level channel semantics using the Iris framework in Coq.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 5 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Characterizing Implementability of Global Protocols with Infinite States and Data 引用了 Statically verified refinements for multiparty protocols
- Characterizing Implementability of Global Protocols with Infinite States and Data 引用了 Actris: session-type based reasoning in separation logic
- Characterizing Implementability of Global Protocols with Infinite States and Data 引用了 Complete Multiparty Session Type Projection with Automata
- Characterizing Implementability of Global Protocols with Infinite States and Data 引用了 Deadlock-Free Separation Logic: Linearity Yields Progress for Dependent Higher-Order Message Passing
- Mixtris: Mechanised Higher-Order Separation Logic for Mixed Choice Multiparty Message Passing 引用了 Deadlock-Free Separation Logic: Linearity Yields Progress for Dependent Higher-Order Message Passing
- Verified Lock-Free Session Channels with Linking 引用了 Actris: session-type based reasoning in separation logic
- Verified Lock-Free Session Channels with Linking 引用了 Deadlock-Free Separation Logic: Linearity Yields Progress for Dependent Higher-Order Message Passing
- Statically verified refinements for multiparty protocols 引用了 Actris: session-type based reasoning in separation logic
- Zooid: a DSL for certified multiparty computation: from mechanised metatheory to certified multiparty processes 引用了 Statically verified refinements for multiparty protocols
- Zooid: a DSL for certified multiparty computation: from mechanised metatheory to certified multiparty processes 引用了 Actris: session-type based reasoning in separation logic
- Top-Down = Bottom-Up: Sound and Complete Characterisations of Liveness by Multiparty Global Protocols 引用了 Characterizing Implementability of Global Protocols with Infinite States and Data
- Top-Down = Bottom-Up: Sound and Complete Characterisations of Liveness by Multiparty Global Protocols 引用了 Mixtris: Mechanised Higher-Order Separation Logic for Mixed Choice Multiparty Message Passing
- Top-Down = Bottom-Up: Sound and Complete Characterisations of Liveness by Multiparty Global Protocols 引用了 Statically verified refinements for multiparty protocols
- Top-Down = Bottom-Up: Sound and Complete Characterisations of Liveness by Multiparty Global Protocols 引用了 Zooid: a DSL for certified multiparty computation: from mechanised metatheory to certified multiparty processes
- Top-Down = Bottom-Up: Sound and Complete Characterisations of Liveness by Multiparty Global Protocols 引用了 Complete Multiparty Session Type Projection with Automata
- Implementability of Global Distributed Protocols Modulo Network Architectures 引用了 Characterizing Implementability of Global Protocols with Infinite States and Data
- Implementability of Global Distributed Protocols Modulo Network Architectures 引用了 Statically verified refinements for multiparty protocols
- Implementability of Global Distributed Protocols Modulo Network Architectures 引用了 Actris: session-type based reasoning in separation logic
- Implementability of Global Distributed Protocols Modulo Network Architectures 引用了 Complete Multiparty Session Type Projection with Automata
- Deadlock-Free Separation Logic: Linearity Yields Progress for Dependent Higher-Order Message Passing 引用了 Zooid: a DSL for certified multiparty computation: from mechanised metatheory to certified multiparty processes
- Deadlock-Free Separation Logic: Linearity Yields Progress for Dependent Higher-Order Message Passing 引用了 Actris: session-type based reasoning in separation logic
引用它的顶会 Paper5
- Characterizing Implementability of Global Protocols with Infinite States and DataElaine Li, Felix Stutz, Thomas Wies, Damien ZuffereyOOPSLA 2025 · 2 次引用
- Verified Lock-Free Session Channels with LinkingThomas Somers, Robbert KrebbersOOPSLA 2024 · 2 次引用
- Mixtris: Mechanised Higher-Order Separation Logic for Mixed Choice Multiparty Message PassingJonas Kastberg Hinrichsen, Iwan Quémerais, Lars BirkedalOOPSLA 2026
- Top-Down = Bottom-Up: Sound and Complete Characterisations of Liveness by Multiparty Global ProtocolsKai Pischke, Nobuko YoshidaOOPSLA 2026
- Implementability of Global Distributed Protocols Modulo Network ArchitecturesElaine Li, Thomas WiesPLDI 2026
它引用的 Paper6
- Actris: session-type based reasoning in separation logicJonas Kastberg Hinrichsen, Jesper Bengtson, Robbert KrebbersPOPL 2020 · 44 次引用
- Statically verified refinements for multiparty protocolsFangyi Zhou, Francisco Ferreira, Raymond Hu, Rumyana Neykova 等OOPSLA 2020 · 38 次引用
- Zooid: a DSL for certified multiparty computation: from mechanised metatheory to certified multiparty processesDavid Castro-Perez, Francisco Ferreira, Lorenzo Gheri, Nobuko YoshidaPLDI 2021 · 25 次引用
- Complete Multiparty Session Type Projection with AutomataElaine Li, Felix Stutz, Thomas Wies, Damien ZuffereyCAV 2023 · 17 次引用
- Deadlock-Free Separation Logic: Linearity Yields Progress for Dependent Higher-Order Message PassingJules Jacobs, Jonas Kastberg Hinrichsen, Robbert KrebbersPOPL 2024 · 12 次引用
相关 Paper
- Hybrid Multiparty Session Types: Compositionality for Protocol Specification through Endpoint ProjectionLorenzo Gheri, Nobuko YoshidaOOPSLA 2023 · 5 次引用
- Mixed Choice in Asynchronous Multiparty Session TypesLaura Bocchi, Raymond Hu, Adriana Laura Voinea, Simon ThompsonOOPSLA 2026
- Program Logics à la CarteMax Vistrup, Michael Sammler, Ralf JungPOPL 2025 · 4 次引用
- A Proof Recipe for Linearizability in Relaxed Memory Separation LogicSunho Park, Jaewoo Kim, Ike Mulder, Jaehwang Jung 等PLDI 2024 · 4 次引用
- Modular verification of op-based CRDTs in separation logicAbel Nieto, Léon Gondelman, Alban Reynaud, Amin Timany 等OOPSLA 2022 · 16 次引用
