Mixed Choice in Asynchronous Multiparty Session Types
Laura Bocchi, Raymond Hu, Adriana Laura Voinea, Simon Thompson
Abstract
We present a multiparty session type (MST) framework with asynchronous mixed choice (MC). We propose a core construct for MC that allows transient inconsistencies in protocol state between distributed participants, but ensures all participants can always eventually reach a mutually consistent state. We prove the correctness of our system by establishing a progress property and an operational correspondence between global types and distributed local type projections. Based on our theory, we implement a practical toolchain for specifying and validating asynchronous MST protocols featuring MC, and programming compliant gen_statem processes in Erlang/OTP. We test our framework by using our toolchain to specify and reimplement part of the amqp_client of the RabbitMQ broker for Erlang.
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.
1 top-tier paper has 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
- 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 Complete Multiparty Session Type Projection with Automata
- Top-Down = Bottom-Up: Sound and Complete Characterisations of Liveness by Multiparty Global Protocols cites A multiparty session typing discipline for fault-tolerant event-driven distributed programming
- Top-Down = Bottom-Up: Sound and Complete Characterisations of Liveness by Multiparty Global Protocols cites Separation and Encodability in Mixed Choice Multiparty Sessions
- Complete Multiparty Session Type Projection with Automata cites A multiparty session typing discipline for fault-tolerant event-driven distributed programming
- Separation and Encodability in Mixed Choice Multiparty Sessions cites Complete Multiparty Session Type Projection with Automata
Cited by top-tier papers1
Builds on6
- Statically verified refinements for multiparty protocolsFangyi Zhou, Francisco Ferreira, Raymond Hu, Rumyana Neykova et al.OOPSLA 2020 · 38 citations
- Complete Multiparty Session Type Projection with AutomataElaine Li, Felix Stutz, Thomas Wies, Damien ZuffereyCAV 2023 · 17 citations
- A multiparty session typing discipline for fault-tolerant event-driven distributed programmingMalte Viering, Raymond Hu, Patrick Eugster, Lukasz ZiarekOOPSLA 2021 · 13 citations
- Separation and Encodability in Mixed Choice Multiparty SessionsKirstin Peters, Nobuko YoshidaLICS 2024 · 10 citations
- Validating IoT Devices with Rate-Based Session TypesGrant Iraci, Cheng-En Chuang, Raymond Hu, Lukasz ZiarekOOPSLA 2023 · 4 citations
Related papers
- Hybrid Multiparty Session Types: Compositionality for Protocol Specification through Endpoint ProjectionLorenzo Gheri, Nobuko YoshidaOOPSLA 2023 · 5 citations
- Mixtris: Mechanised Higher-Order Separation Logic for Mixed Choice Multiparty Message PassingJonas Kastberg Hinrichsen, Iwan Quémerais, Lars BirkedalOOPSLA 2026
- Speak Now: Safe Actor Programming with Multiparty Session TypesSimon Fowler, Raymond HuOOPSLA 2026
- 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
- Multris: Functional Verification of Multiparty Message Passing in Separation LogicJonas Kastberg Hinrichsen, Jules Jacobs, Robbert KrebbersOOPSLA 2024 · 6 citations
