Subtyping Context-Free Session Types
Abstract
Context-free session types describe structured patterns of communication on heterogeneously-typed channels, allowing the specification of protocols unconstrained by tail recursion. The enhanced expressive power provided by non-regular recursion comes, however, at the cost of the decidability of subtyping, even if equivalence is still decidable. We present an approach to subtyping context-free session types based on a novel kind of observational preorder we call -simulation, which generalizes -simulation (also known as covariant-contravariant simulation) and therefore also bisimulation and plain simulation. We further propose a subtyping algorithm that we prove to be sound, and present an empirical evaluation in the context of a compiler for a programming language. Due to the general nature of the simulation relation upon which it is built, this algorithm may also find applications in other domains.
Keywords
Cite
@article{arxiv.2307.05661,
title = {Subtyping Context-Free Session Types},
author = {Gil Silva and Andreia Mordido and Vasco T. Vasconcelos},
journal= {arXiv preprint arXiv:2307.05661},
year = {2023}
}
Comments
34 pages, 6 figures, technical report of a paper published in the conference proceedings of CONCUR 2023