arXiv · 2307.05661
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 $\mathcal{XYZW}$-simulation, which generalizes $\mathcal{XY}$-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.
Explore related subjects
Keep this discovery
Gil Silva, Andreia Mordido, Vasco T. Vasconcelos. 2023-07-11. Subtyping Context-Free Session Types. https://doi.org/10.4230/lipics.concur.2023.11
Cite the original work for its findings. Save a collection to share your selection of sources.