计算机科学 > 程序设计语言
[提交于 2019年8月9日]
标题:Intrinsically-Typed Mechanized Semantics for Session Types
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Session types have emerged as a powerful paradigm for structuring communication-based programs. They guarantee type soundness and session fidelity for concurrent programs with sophisticated communication protocols. As type soundness proofs for languages with session types are tedious and technically involved, it is rare to see mechanized soundness proofs for these systems. We present an executable intrinsically typed small-step semantics for a realistic functional session type calculus. The calculus includes linearity, recursion, and recursive sessions with subtyping. Asynchronous communication is modeled with an encoding. The semantics is implemented in Agda as an intrinsically typed, interruptible CEK machine. This implementation proves type preservation and a particular notion of progress by construction.
提交历史
来自:Peter Thiemann[v1] 2019年8月9日 星期五 00:00:00 UTC