Electronic Proceedings in Theoretical Computer Science (Jan 2011)

Session Types = Intersection Types + Union Types

  • Luca Padovani

DOI
https://doi.org/10.4204/EPTCS.45.6
Journal volume & issue
Vol. 45, no. Proc. ITRS 2010
pp. 71 – 89

Abstract

Read online

We propose a semantically grounded theory of session types which relies on intersection and union types. We argue that intersection and union types are natural candidates for modeling branching points in session types and we show that the resulting theory overcomes some important defects of related behavioral theories. In particular, intersections and unions provide a native solution to the problem of computing joins and meets of session types. Also, the subtyping relation turns out to be a pre-congruence, while this is not always the case in related behavioral theories.