Lune

OOPSLA2023Top-tier venue

Hybrid Multiparty Session Types: Compositionality for Protocol Specification through Endpoint Projection

Lorenzo Gheri, Nobuko Yoshida

Abstract

Multiparty session types (MPST) are a specification and verification framework for distributed message-passing systems. The communication protocol of the system is specified as a global type , from which a collection of local types (local process implementations) is obtained by endpoint projection . A global type is a single disciplining entity for the whole system, specified by one designer that has full knowledge of the communication protocol. On the other hand, distributed systems are often described in terms of their components : a different designer is in charge of providing a subprotocol for each component. The problem of modular specification of global protocols has been addressed in the literature, but the state of the art focuses only on dual input/output compatibility. Our work overcomes this limitation. We propose the first MPST theory of multiparty compositionality for distributed protocol specification that is semantics-preserving, allows the composition of two or more components, and retains full MPST expressiveness. We introduce hybrid types for describing subprotocols interacting with each other, define a novel compatibility relation , explicitly describe an algorithm for composing multiple subprotocols into a well-formed global type , and prove that compositionality preserves projection, thus retaining semantic guarantees, such as liveness and deadlock freedom. Finally, we test our work against real-world case studies and we smoothly extend our novel compatibility to MPST with delegation and explicit connections.

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.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Zooid: a DSL for certified multiparty computation: from mechanised metatheory to certified multiparty processes cites Statically verified refinements for multiparty protocols
  • 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 CAMP: cost-aware multiparty session protocols
  • Top-Down = Bottom-Up: Sound and Complete Characterisations of Liveness by Multiparty Global Protocols cites Assuming Just Enough Fairness to make Session Types Complete for Lock-freedom
  • 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
  • CAMP: cost-aware multiparty session protocols cites Statically verified refinements for multiparty protocols
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. Top-Down = Bottom-Up: Sound and Complete Characterisations of Liveness by Multiparty Global ProtocolsKai Pischke, Nobuko YoshidaOOPSLA 2026

Builds on5

  1. Statically verified refinements for multiparty protocolsFangyi Zhou, Francisco Ferreira, Raymond Hu, Rumyana Neykova et al.OOPSLA 2020 · 38 citations
  2. 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
  3. CAMP: cost-aware multiparty session protocolsDavid Castro-Perez, Nobuko YoshidaOOPSLA 2020 · 16 citations
  4. A multiparty session typing discipline for fault-tolerant event-driven distributed programmingMalte Viering, Raymond Hu, Patrick Eugster, Lukasz ZiarekOOPSLA 2021 · 13 citations
  5. Assuming Just Enough Fairness to make Session Types Complete for Lock-freedomRob van Glabbeek, Peter Höfner, Ross HorneLICS 2021 · 4 citations

Related papers

  1. A Synthetic Reconstruction of Multiparty Session TypesDavid Castro-Perez, Francisco Ferreira, Sung-Shik JongmansPOPL 2026
  2. Top-Down or Bottom-Up? Complexity Analyses of Synchronous Multiparty Session TypesThien Udomsrirungruang, Nobuko YoshidaPOPL 2025 · 7 citations
  3. Complete Multiparty Session Type Projection with AutomataElaine Li, Felix Stutz, Thomas Wies, Damien ZuffereyCAV 2023 · 17 citations
  4. Mixed Choice in Asynchronous Multiparty Session TypesLaura Bocchi, Raymond Hu, Adriana Laura Voinea, Simon ThompsonOOPSLA 2026
  5. Separation and Encodability in Mixed Choice Multiparty SessionsKirstin Peters, Nobuko YoshidaLICS 2024 · 10 citations
Dusk over the sea between two cliffs drawn in fine vertical lines