English

Type-Based Analysis for Session Inference

Programming Languages 2016-04-14 v4

Abstract

We propose a type-based analysis to infer the session protocols of channels in an ML-like concurrent functional language. Combining and extending well-known techniques, we develop a type-checking system that separates the underlying ML type system from the typing of sessions. Without using linearity, our system guarantees communication safety and partial lock freedom. It also supports provably complete session inference for finite sessions with no programmer annotations. We exhibit the usefulness of our system with interesting examples, including one which is not typable in substructural type systems.

Keywords

Cite

@article{arxiv.1510.03929,
  title  = {Type-Based Analysis for Session Inference},
  author = {Carlo Spaccasassi and Vasileios Koutavas},
  journal= {arXiv preprint arXiv:1510.03929},
  year   = {2016}
}
R2 v1 2026-06-22T11:19:42.417Z