A Logical Account of Subtyping for Session Types

Ross Horne
(University of Luxembourg)
Luca Padovani
(University of Camerino)

We study the notion of subtyping for session types in a logical setting, where session types are propositions of multiplicative/additive linear logic extended with least and greatest fixed points. The resulting subtyping relation admits a simple characterization that can be roughly spelled out as the following lapalissade: every session type is larger than the smallest session type and smaller than the largest session type. At the same time, we observe that this subtyping, unlike traditional ones, preserves termination in addition to the usual safety properties of sessions. We present a calculus of sessions that adopts this subtyping relation and we show that subtyping, while useful in practice, is superfluous in the theory: every use of subtyping can be "compiled away" via a coercion semantics.

In Ilaria Castellani and Alceste Scalas: Proceedings 14th Workshop on Programming Language Approaches to Concurrency and Communication-cEntric Software (PLACES 2023), Paris, France, 22 April 2023, Electronic Proceedings in Theoretical Computer Science 378, pp. 26–37.
Published: 13th April 2023.

ArXived at: https://dx.doi.org/10.4204/EPTCS.378.3 bibtex PDF
References in reconstructed bibtex, XML and HTML format (approximated).
Comments and questions to: eptcs@eptcs.org
For website issues: webmaster@eptcs.org