We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:

Download:

Current browse context:

cs.PL

Change to browse by:

cs

References & Citations

DBLP - CS Bibliography

Bookmark

(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo

Computer Science > Programming Languages

Title: Label-Dependent Session Types

Authors: Peter Thiemann (University of Freiburg, Germany), Vasco T. Vasconcelos (University of Lisbon, Portugal)
Abstract: Session types have emerged as a typing discipline for communication protocols. Existing calculi with session types come equipped with many different primitives that combine communication with the introduction or elimination of the transmitted value.
We present a foundational session type calculus with a lightweight operational semantics. It fully decouples communication from the introduction and elimination of data and thus features a single communication reduction, which acts as a rendezvous between senders and receivers. We achieve this decoupling by introducing label-dependent session types, a minimalist value-dependent session type system with subtyping. The system is sufficiently powerful to simulate existing functional session type systems. Compared to such systems, label-dependent session types place fewer restrictions on the code. We further introduce primitive recursion over natural numbers at the type level, thus allowing to describe protocols whose behaviour depends on numbers exchanged in messages. An algorithmic type checking system is introduced and proved equivalent to its declarative counterpart. The new calculus showcases a novel lightweight integration of dependent types and linear typing, with has uses beyond session type systems.
Comments: POPL 2020
Subjects: Programming Languages (cs.PL)
Journal reference: Proc. ACM Program. Lang. 4, POPL, Article 67 (January 2020)
DOI: 10.1145/3371135
Cite as: arXiv:1911.00705 [cs.PL]
  (or arXiv:1911.00705v2 [cs.PL] for this version)

Submission history

From: Peter Thiemann [view email]
[v1] Sat, 2 Nov 2019 12:39:54 GMT (99kb)
[v2] Mon, 11 Nov 2019 18:20:33 GMT (101kb)

Link back to: arXiv, form interface, contact.