A Synthetic Reconstruction of Multiparty Session Types
David Castro-Perez, Francisco Ferreira, Sung-Shik Jongmans
摘要
Multiparty session types (MPST) provide a rigorous foundation for verifying the safety and liveness of concurrent systems. However, existing approaches often force a difficult trade-off: classical, projection-based techniques are compositional but limited in expressiveness, while more recent techniques achieve higher expressiveness by relying on non-compositional, whole-system model checking, which scales poorly.
This paper introduces a new approach to MPST that delivers both expressiveness and compositionality, called the synthetic approach. Our key innovation is a type system that verifies each process directly against a global protocol specification, represented as a labelled transition system (LTS) in general, with global types as a special case. This approach uniquely avoids the need for intermediate local types and projection.
We demonstrate that our approach, while conceptually simpler, supports a benchmark of challenging protocols that were previously beyond the reach of compositional techniques in the MPST literature. We generalise our type system, showing that it can validate processes against any specification that constitutes a "well-behaved" LTS, supporting protocols not expressible with the standard global type syntax. The entire framework, including all theorems and many examples, has been formalised and mechanised in Agda, and we have developed a prototype implementation as an extension to VS Code.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 1 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- 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
- Top-Down = Bottom-Up: Sound and Complete Characterisations of Liveness by Multiparty Global Protocols 引用了 Top-Down or Bottom-Up? Complexity Analyses of Synchronous Multiparty Session Types
- Top-Down = Bottom-Up: Sound and Complete Characterisations of Liveness by Multiparty Global Protocols 引用了 Separation and Encodability in Mixed Choice Multiparty Sessions
- Top-Down or Bottom-Up? Complexity Analyses of Synchronous Multiparty Session Types 引用了 Complete Multiparty Session Type Projection with Automata
- Top-Down or Bottom-Up? Complexity Analyses of Synchronous Multiparty Session Types 引用了 Separation and Encodability in Mixed Choice Multiparty Sessions
- Connectivity graphs: a method for proving deadlock freedom based on separation logic 引用了 Zooid: a DSL for certified multiparty computation: from mechanised metatheory to certified multiparty processes
- Separation and Encodability in Mixed Choice Multiparty Sessions 引用了 Complete Multiparty Session Type Projection with Automata
引用它的顶会 Paper1
它引用的 Paper6
- Connectivity graphs: a method for proving deadlock freedom based on separation logicJules Jacobs, Stephanie Balzer, Robbert KrebbersPOPL 2022 · 36 次引用
- 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 次引用
- Separation and Encodability in Mixed Choice Multiparty SessionsKirstin Peters, Nobuko YoshidaLICS 2024 · 10 次引用
- Top-Down or Bottom-Up? Complexity Analyses of Synchronous Multiparty Session TypesThien Udomsrirungruang, Nobuko YoshidaPOPL 2025 · 7 次引用
相关 Paper
- Hybrid Multiparty Session Types: Compositionality for Protocol Specification through Endpoint ProjectionLorenzo Gheri, Nobuko YoshidaOOPSLA 2023 · 5 次引用
- Statically verified refinements for multiparty protocolsFangyi Zhou, Francisco Ferreira, Raymond Hu, Rumyana Neykova 等OOPSLA 2020 · 38 次引用
- Speak Now: Safe Actor Programming with Multiparty Session TypesSimon Fowler, Raymond HuOOPSLA 2026
- Parameterized Algebraic ProtocolsAndreia Mordido, Janek Spaderna, Peter Thiemann, Vasco T. VasconcelosPLDI 2023 · 4 次引用
- Mixed Choice in Asynchronous Multiparty Session TypesLaura Bocchi, Raymond Hu, Adriana Laura Voinea, Simon ThompsonOOPSLA 2026
