Logical Methods in Computer Science (Jan 2023)

Deconfined Global Types for Asynchronous Sessions

  • Francesco Dagnino,
  • Paola Giannini,
  • Mariangiola Dezani-Ciancaglini

DOI
https://doi.org/10.46298/lmcs-19(1:3)2023
Journal volume & issue
Vol. Volume 19, Issue 1

Abstract

Read online

Multiparty sessions with asynchronous communications and global types play an important role for the modelling of interaction protocols in distributed systems. In designing such calculi the aim is to enforce, by typing, good properties for all participants, maximising, at the same time, the accepted behaviours. Our type system improves the state-of-the-art by typing all asynchronous sessions and preserving the key properties of Subject Reduction, Session Fidelity and Progress when some well-formedness conditions are satisfied. The type system comes together with a sound and complete type inference algorithm. The well-formedness conditions are undecidable, but an algorithm checking an expressive restriction of them recovers the effectiveness of typing.

Keywords