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.
Mots clés
- 2012 ACM Subject Classification Theory of computation → Regular languages Theory of computation → Process calculi Theory of computation → Type theory phrases Multiparty session types
- deadlock-freedom
- synchronizability
- messagesequence-charts Digital Object Identifier 10.4230/LIPIcs
- 2012 ACM Subject Classification Theory of computation → Regular languages
- Theory of computation → Process calculi
- Theory of computation → Type theory phrases Multiparty session types
Domaines
| Origine | Fichiers produits par l'(les) auteur(s) |
|---|---|
| Licence |
| Licence |
|---|