Three Subtyping Algorithms for Binary Session Types and their Complexity Analyses (full version)

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Udomsrirungruang, Thien, Yoshida, Nobuko
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911876964679680
author Udomsrirungruang, Thien
Yoshida, Nobuko
author_facet Udomsrirungruang, Thien
Yoshida, Nobuko
contents Session types are a type discipline for describing and specifying communication behaviours of concurrent processes. Session subtyping, firstly introduced by Gay and Hole, is widely used for enlarging typability of session programs. This paper gives the complexity analysis of three algorithms for subtyping of synchronous binary session types. First, we analyse the complexity of the algorithm from the original paper, which is based on an inductive tree search. We then introduce its optimised version, which improves the complexity, but is still exponential against the size of the two types. Finally, we propose a new quadratic algorithm based on a graph search using the concept of $\mathcal{XYZW}$-simulation, recently introduced by Silva et al.
format Preprint
id arxiv_https___arxiv_org_abs_2402_06988
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Three Subtyping Algorithms for Binary Session Types and their Complexity Analyses (full version)
Udomsrirungruang, Thien
Yoshida, Nobuko
Programming Languages
Session types are a type discipline for describing and specifying communication behaviours of concurrent processes. Session subtyping, firstly introduced by Gay and Hole, is widely used for enlarging typability of session programs. This paper gives the complexity analysis of three algorithms for subtyping of synchronous binary session types. First, we analyse the complexity of the algorithm from the original paper, which is based on an inductive tree search. We then introduce its optimised version, which improves the complexity, but is still exponential against the size of the two types. Finally, we propose a new quadratic algorithm based on a graph search using the concept of $\mathcal{XYZW}$-simulation, recently introduced by Silva et al.
title Three Subtyping Algorithms for Binary Session Types and their Complexity Analyses (full version)
topic Programming Languages
url https://arxiv.org/abs/2402.06988