Skip to main content
Top
Published in:
Cover of the book

Open Access 2022 | OriginalPaper | Chapter

The Different Shades of Infinite Session Types

Authors : Simon J. Gay, Diogo Poças, Vasco T. Vasconcelos

Published in: Foundations of Software Science and Computation Structures

Publisher: Springer International Publishing

loading …

Many type systems include infinite types. In session type systems, infinite types are important because they specify communication protocols that are unbounded in time. Usually infinite session types are introduced as simple finite-state expressions or by non-parametric equational definitions . 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, 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 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.

Metadata
Title
The Different Shades of Infinite Session Types
Authors
Simon J. Gay
Diogo Poças
Vasco T. Vasconcelos
Copyright Year
2022
DOI
https://doi.org/10.1007/978-3-030-99253-8_18

Premium Partner