On the Impact of the Communication Model on Realisability
Cinzia Di Giusto, Etienne Lozes, Pascal Urso
TL;DR
This paper develops a parameterised framework for realisability and subtyping of Multiparty Session Types (MPST) across diverse communication models, representing global protocols as MSC-based automata and projecting to CFSMs. A key theoretical insight is that subtyping is model-agnostic, while realisability depends on the communication model; the authors introduce complementability to bridge complexity gaps and enable reductions to synchronous realisability. They prove decidability results, obtaining PSPACE bounds for synchronous realisability and EXPSPACE bounds for causally closed asynchronous models, with subtyping decidable in NLOGSPACE given explicit complements. Complementation by duality and by renunciation for sender-driven choices provide practical methods to obtain complements for several classes of global types. Overall, the work delivers a unified, semantically-grounded treatment of realisability across models and lays foundations for scalable verification tools in MPST-enabled distributed systems.
Abstract
Multiparty Session Types (MPST) provide a type-theoretic foundation for specifying and verifying communication protocols in distributed systems. MPST rely on the notion of global type which specifies the global behaviour and local types, which are the projections of the global behaviour onto each local participant. A central notion in MPST is realisability - whether local implementations derived from a global specification correctly realise the intended protocol under a given communication model. While realisability has been extensively studied under peer-to-peer semantics, it remains poorly understood in alternative communication models such as bag-based, causally ordered, or synchronous communications. In this paper, we develop a unified framework for reasoning about realisability and subtyping across a spectrum of communication models. We show that the communication model does not impact the notion of subtyping, but that it impacts the notion of realisability. We introduce several decision procedures for subtyping checking and realisability checking with complexities ranging from NLOGSPACE to EXPSPACE depending on the assumptions made on the global types, in particular depending on their complementability and the size of a given complement.
