A Sound Algorithm for Asynchronous Session Subtyping
- Mario Bravetti,
- ,
- Julien Lange,
- Nobuko Yoshida,
- Gianluigi Zavattaro
- University of Bologna,
- ,
- ,
- University of Kent,
- Imperial College London
Research Output:
Journal Article or Conference Article in Journal
Conference article
Peer-reviewOpen access
Publication Information
Output type
Research Output:
Journal Article or Conference Article in Journal
Conference article
Peer-reviewOriginal language
EnglishPages from-to (Number of pages)
Pages 34:1–34:16Journal (Volume, Issue Number)
Leibniz International Proceedings in Informatics (LIPIcs) (Volume 140)Publication milestones
- Published - 2019
Publication status
Published - 2019
ISSN
1868-8969Publication IDs
- Scopus: 85071618264
Abstract
Session types, types for structuring communication between endpoints in distributed systems, are recently being integrated into mainstream programming languages. In practice, a very important notion for dealing with such types is that of subtyping, since it allows for typing larger classes of system, where a program has not precisely the expected behavior but a similar one. Unfortunately, recent work has shown that subtyping for session types in an asynchronous setting is undecidable. To cope with this negative result, the only approaches we are aware of either restrict the syntax of session types or limit communication (by considering forms of bounded asynchrony). Both approaches are too restrictive in practice, hence we proceed differently by presenting an algorithm for checking subtyping which is sound, but not complete (in some cases it terminates without returning a decisive verdict). The algorithm is based on a tree representation of the coinductive definition of asynchronous subtyping; this tree could be infinite, and the algorithm checks for the presence of finite witnesses of infinite successful subtrees. Furthermore, we provide a tool that implements our algorithm and we apply it to many examples that cannot be managed with the previous approaches.
Publication metrics
PlumX, opens in new tab
Captures
3
Citations
12
Access to documents
Final published version
License:CC BY, opens in new tab
Related Event
Title
30th International Conference on Concurrency Theory
