The Different Shades of Infinite Session Types

01/20/2022
βˆ™
by   Simon J. Gay, et al.
βˆ™
0
βˆ™

Many type systems include infinite types. In session type systems, which are the focus of this paper, infinite types are important because they allow the specification of communication protocols that are unbounded in time. Usually infinite session types are introduced as simple finite-state expressions 𝗋𝖾𝖼 X.T or by non-parametric equational definitions X≐ T. Alternatively, some systems of label- or value-dependent session types go beyond simple recursive types. However, leaving dependent types aside, there is a much richer world of infinite session types, ranging through various forms of parametric equational definitions, all the way to arbitrary infinite types in a coinductively defined space. We study infinite session types across a spectrum of shades of grey on the way to the bright light of general infinite types. We identify four points on the spectrum, characterised by different styles of equational definitions, and show that they form a strict hierarchy by establishing bidirectional correspondences with classes of automata: finite-state, 1-counter, pushdown and 2-counter. This allows us to establish decidability and undecidability results for the problems of type formation, type equivalence and duality in each class of types. We also consider previous work on context-free session types (and extend it to higher-order) and nested session types, and locate them on our spectrum of infinite types.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
βˆ™ 06/12/2021

Polymorphic Context-free Session Types

Context-free session types provide a typing discipline for recursive str...
research
βˆ™ 04/03/2020

Duality of Session Types: The Final Cut

Duality is a central concept in the theory of session types. Since a fla...
research
βˆ™ 03/24/2022

Higher-order Context-free Session Types in System F

We present an extension of System F with higher-order context-free sessi...
research
βˆ™ 06/30/2019

A Sound Algorithm for Asynchronous Session Subtyping (extended version)

Session types, types for structuring communication between endpoints in ...
research
βˆ™ 03/28/2021

Subtyping on Nested Polymorphic Session Types

The importance of subtyping to enable a wider range of well-typed progra...
research
βˆ™ 04/02/2019

Service Equivalence via Multiparty Session Type Isomorphisms

This paper addresses a problem found within the construction of Service ...
research
βˆ™ 04/02/2019

Value-Dependent Session Design in a Dependently Typed Language

Session Types offer a typing discipline that allows protocol specificati...

Please sign up or login with your details

Forgot password? Click here to reset