arXiv · 2301.08659
System $F^μ_ω$ with Context-free Session Types
Abstract
We study increasingly expressive type systems, from $F^μ$ -- an extension of the polymorphic lambda calculus with equirecursive types -- to $F^{μ;}_ω$ -- 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^μ_ω$ 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.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Diana Costa, Andreia Mordido, Diogo Poças, Vasco T. Vasconcelos. 2023-01-20. System $F^μ_ω$ with Context-free Session Types. https://arxiv.org/abs/2301.08659
Cite the original work for its findings. Save a collection to share your selection of sources.