Multris: Functional Verification of Multiparty Message Passing in Separation Logic
Jonas Kastberg Hinrichsen, Jules Jacobs, Robbert Krebbers
Abstract
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.
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.
5 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
- Characterizing Implementability of Global Protocols with Infinite States and Data cites Statically verified refinements for multiparty protocols
- Characterizing Implementability of Global Protocols with Infinite States and Data cites Actris: session-type based reasoning in separation logic
- Characterizing Implementability of Global Protocols with Infinite States and Data cites Complete Multiparty Session Type Projection with Automata
- Characterizing Implementability of Global Protocols with Infinite States and Data cites 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 cites Deadlock-Free Separation Logic: Linearity Yields Progress for Dependent Higher-Order Message Passing
- Verified Lock-Free Session Channels with Linking cites Actris: session-type based reasoning in separation logic
- Verified Lock-Free Session Channels with Linking cites Deadlock-Free Separation Logic: Linearity Yields Progress for Dependent Higher-Order Message Passing
- Statically verified refinements for multiparty protocols cites Actris: session-type based reasoning in separation logic
- Zooid: a DSL for certified multiparty computation: from mechanised metatheory to certified multiparty processes cites Statically verified refinements for multiparty protocols
- Zooid: a DSL for certified multiparty computation: from mechanised metatheory to certified multiparty processes cites Actris: session-type based reasoning in separation logic
- Top-Down = Bottom-Up: Sound and Complete Characterisations of Liveness by Multiparty Global Protocols cites Characterizing Implementability of Global Protocols with Infinite States and Data
- Top-Down = Bottom-Up: Sound and Complete Characterisations of Liveness by Multiparty Global Protocols cites 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 cites Statically verified refinements for multiparty protocols
- Top-Down = Bottom-Up: Sound and Complete Characterisations of Liveness by Multiparty Global Protocols cites 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 cites Complete Multiparty Session Type Projection with Automata
- Implementability of Global Distributed Protocols Modulo Network Architectures cites Characterizing Implementability of Global Protocols with Infinite States and Data
- Implementability of Global Distributed Protocols Modulo Network Architectures cites Statically verified refinements for multiparty protocols
- Implementability of Global Distributed Protocols Modulo Network Architectures cites Actris: session-type based reasoning in separation logic
- Implementability of Global Distributed Protocols Modulo Network Architectures cites Complete Multiparty Session Type Projection with Automata
- Deadlock-Free Separation Logic: Linearity Yields Progress for Dependent Higher-Order Message Passing cites 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 cites Actris: session-type based reasoning in separation logic
Cited by top-tier papers5
- Characterizing Implementability of Global Protocols with Infinite States and DataElaine Li, Felix Stutz, Thomas Wies, Damien ZuffereyOOPSLA 2025 · 2 citations
- Verified Lock-Free Session Channels with LinkingThomas Somers, Robbert KrebbersOOPSLA 2024 · 2 citations
- 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
Builds on6
- Actris: session-type based reasoning in separation logicJonas Kastberg Hinrichsen, Jesper Bengtson, Robbert KrebbersPOPL 2020 · 44 citations
- Statically verified refinements for multiparty protocolsFangyi Zhou, Francisco Ferreira, Raymond Hu, Rumyana Neykova et al.OOPSLA 2020 · 38 citations
- Zooid: a DSL for certified multiparty computation: from mechanised metatheory to certified multiparty processesDavid Castro-Perez, Francisco Ferreira, Lorenzo Gheri, Nobuko YoshidaPLDI 2021 · 25 citations
- Complete Multiparty Session Type Projection with AutomataElaine Li, Felix Stutz, Thomas Wies, Damien ZuffereyCAV 2023 · 17 citations
- Deadlock-Free Separation Logic: Linearity Yields Progress for Dependent Higher-Order Message PassingJules Jacobs, Jonas Kastberg Hinrichsen, Robbert KrebbersPOPL 2024 · 12 citations
Related papers
- Hybrid Multiparty Session Types: Compositionality for Protocol Specification through Endpoint ProjectionLorenzo Gheri, Nobuko YoshidaOOPSLA 2023 · 5 citations
- 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 citations
- A Proof Recipe for Linearizability in Relaxed Memory Separation LogicSunho Park, Jaewoo Kim, Ike Mulder, Jaehwang Jung et al.PLDI 2024 · 4 citations
- Modular verification of op-based CRDTs in separation logicAbel Nieto, Léon Gondelman, Alban Reynaud, Amin Timany et al.OOPSLA 2022 · 16 citations
