Pré-Publication, Document De Travail Année : 2025

Realisability and Complementability of Multiparty Session Types

Résumé

Multiparty session types (MPST) are a type-based approach for specifying message-passing distributed systems. They rely on the notion of global type specifying the global behaviour and local types, which are the projections of the global behaviour onto each local participant. An essential property of global types is realisability, i.e., whether the composition of the local behaviours conforms to those specified by the global type. We explore how realisability of MPST relates to their complementability, i.e., whether there exists a global type that describes the complementary behaviour of the original global type. First, we show that if a global type is realisable with p2p communications, then it is realisable with synchronous communications. Second, we show that if a global type is realisable in the synchronous model, then it is complementable, in the sense that there exists a global type that describes the complementary behaviour of the original global type.

Third, we give an algorithm to decide whether a complementable global type, given with an explicit complement, is realisable in p2p. As a side contribution, we propose a complementation construction for global types with sender-driven choice, and more generally commutation-deterministic, with a linear blowup in the size of the global type.

Fichier principal
Vignette du fichier
ppdp-arxiv/mainarXiv.pdf (467.54 Ko) Télécharger le fichier
ppdp-arxiv/lipics/.git/hooks/pre-receive.sample (544 B) Télécharger le fichier
Origine Fichiers produits par l'(les) auteur(s)
Licence

Dates et versions

hal-05166255 , version 1 (22-07-2025)
hal-05166255 , version 2 (08-08-2025)

Licence

Identifiants

  • HAL Id : hal-05166255 , version 2

Citer

Cinzia Di Giusto, Etienne Lozes, Pascal Urso. Realisability and Complementability of Multiparty Session Types. 2025. ⟨hal-05166255v2⟩
210 Consultations
245 Téléchargements

Partager

  • More