Author:
BARBANERA FRANCO,DE'LIGUORO UGO
Abstract
We propose a refinement and a simplification of the behavioural semantics of session types, based on the concepts of compliance and sub-behaviour from the theory of web contracts. We introduce three relations on a suitable class of behaviours with higher-order input/output, called ‘session behaviours’. Such relations, depending on each other, represent the idea of sub-behaviour from the point of view of a client, a server or a peer, respectively. A restriction of the intersection of the first two relations characterizes the ‘usual’ sub-behaviour relation from the literature. We then device an algorithmic formal system for three subtyping relations (dubbed CSP-subtyping) for session types that takes into account the role played by a user of a channel during an interaction, so extending Gay and Hole subtyping theory. We show that our session behaviours and sub-behaviour relations provide sound and complete semantics for CSP-subtyping, and for Gay and Hole subtyping as a by-product.
Publisher
Cambridge University Press (CUP)
Subject
Computer Science Applications,Mathematics (miscellaneous)
Cited by
25 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Deciding Subtyping for Asynchronous Multiparty Sessions;Lecture Notes in Computer Science;2024
2. Composition of synchronous communicating systems;Journal of Logical and Algebraic Methods in Programming;2023-10
3. On Composing Communicating Systems;Electronic Proceedings in Theoretical Computer Science;2022-08-09
4. A fixed-points based framework for compliance of behavioural contracts;Journal of Logical and Algebraic Methods in Programming;2021-04
5. Asynchronous session subtyping as communicating automata refinement;Software and Systems Modeling;2021-01-04