,
Luca Padovani
,
Gianluigi Zavattaro
Creative Commons Attribution 4.0 International license
Session types are abstractions of communication protocols enabling the static analysis of message-passing processes. Refinement notions for session types are key to support safe forms of process substitution while preserving their compatibility with the rest of the system. Recently, a fair refinement relation for asynchronous session types has been defined allowing the anticipation of message outputs with respect to an unbounded number of message inputs. This refinement is useful to capture common patterns in communication protocols that take advantage of asynchrony. However, while the semantic (à la testing) definition of such refinement is straightforward, its characterization has proved to be quite challenging. In fact, only a sound but not complete characterization is known so far. In this paper we close this open problem by presenting a sound and complete characterization of asynchronous fair refinement for session types. We relate this characterization to those given in the literature for synchronous session types by leveraging a novel labelled transition system of session types that embeds their asynchronous semantics.
@InProceedings{bravetti_et_al:LIPIcs.CONCUR.2025.11,
author = {Bravetti, Mario and Padovani, Luca and Zavattaro, Gianluigi},
title = {{A Sound and Complete Characterization of Fair Asynchronous Session Subtyping}},
booktitle = {36th International Conference on Concurrency Theory (CONCUR 2025)},
pages = {11:1--11:17},
series = {Leibniz International Proceedings in Informatics (LIPIcs)},
ISBN = {978-3-95977-389-8},
ISSN = {1868-8969},
year = {2025},
volume = {348},
editor = {Bouyer, Patricia and van de Pol, Jaco},
publisher = {Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik},
address = {Dagstuhl, Germany},
URL = {https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.CONCUR.2025.11},
URN = {urn:nbn:de:0030-drops-239615},
doi = {10.4230/LIPIcs.CONCUR.2025.11},
annote = {Keywords: Binary sessions, session types, fair asynchronous subtyping}
}