Mixed Choice Multiparty Session Types, Precisely
Jake Masters, Nobuko Yoshida
Key points
From the paper's conclusion- We then extend the preciseness results to a family of mixed choice multiparty session types.
Abstract
A precise (sound and complete) subtyping relation $\leq$ specifies that $T'$ is a subtype of $T$ if and only if a program of type $T'$ can always safely replace a program of type $T$ without compromising the safety of a larger program. This paper formulates and proves preciseness of subtyping for mixed choice multiparty session types with session delegation, creation, and interleaving. We prove soundness by developing the first general type system for a full mixed choice multiparty session $π$-calculus. To prove completeness, we introduce the three-party lock, which is a minimal and general form of liveness error for handling interleaved sessions, and we establish a new proof technique based on a construction of scheduler processes which enable exhaustive detection for all failures of the subtyping relation. We then extend the preciseness results to a family of mixed choice multiparty session types. Algorithms for checking (1) subtyping and (2) safety, deadlock-freedom, and liveness of typing contexts are fully implemented and optimised to run in quadratic time with respect to the size of the state space and typing context, and have been evaluated with (mixed choice) case studies from the literature.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Model Checking Probabilistic Multiparty Session TypesarXiv · 2026
- Formalising Asynchronous Session SubtypingACM Transactions on Computational Logic · 2026
- Top-Down = Bottom-Up: Sound and Complete Characterisations of Liveness by Multiparty Global ProtocolsProceedings of the ACM on Programming Languages · 2026
- What is a Good Projection?: Correctness and Separation Results of End-Point ProjectionsarXiv · 2026
- On the Expressiveness of Asynchronous Processes with Nested Session TypesarXiv · 2026
- Session Type State Spaces Form LatticesarXiv · 2026