English

System $F^\mu_\omega$ with Context-free Session Types

Logic in Computer Science 2023-01-23 v1 Formal Languages and Automata Theory Programming Languages

Abstract

We study increasingly expressive type systems, from FμF^\mu -- an extension of the polymorphic lambda calculus with equirecursive types -- to Fωμ;F^{\mu;}_\omega -- the higher-order polymorphic lambda calculus with equirecursive types and context-free session types. Type equivalence is given by a standard bisimulation defined over a novel labelled transition system for types. Our system subsumes the contractive fragment of FωμF^\mu_\omega as studied in the literature. Decidability results for type equivalence of the various type languages are obtained from the translation of types into objects of an appropriate computational model: finite-state automata, simple grammars and deterministic pushdown automata. We show that type equivalence is decidable for a significant fragment of the type language. We further propose a message-passing, concurrent functional language equipped with the expressive type language and show that it enjoys preservation and absence of runtime errors for typable processes.

Keywords

Cite

@article{arxiv.2301.08659,
  title  = {System $F^\mu_\omega$ with Context-free Session Types},
  author = {Diana Costa and Andreia Mordido and Diogo Poças and Vasco T. Vasconcelos},
  journal= {arXiv preprint arXiv:2301.08659},
  year   = {2023}
}

Comments

38 pages, 13 figures

R2 v1 2026-06-28T08:16:23.713Z