paperbot · PL 论文追踪

RSS

Dependent Session Protocols in Separation Logic from First Principles (Functional Pearl)

ICFP 7(ICFP)2023
Jules Jacobs, Jonas Kastberg Hinrichsen, Robbert Krebbers

尚未生成 AI 速览(可能缺少 API key 或等待下次运行补跑)。

原文摘要(Abstract)

We develop an account of dependent session protocols in concurrent separation logic for a functional language with message-passing. Inspired by minimalistic session calculi, we present a layered design: starting from mutable references, we build one-shot channels, session channels, and imperative channels. Whereas previous work on dependent session protocols in concurrent separation logic required advanced mechanisms such as recursive domain equations and higher-order ghost state, we only require the most basic mechanisms to verify that our one-shot channels satisfy one-shot protocols, and subsequently treat their specification as a black box on top of which we define dependent session protocols. This has a number of advantages in terms of simplicity, elegance, and flexibility: support for subprotocols and guarded recursion automatically transfers from the one-shot protocols to the dependent session protocols, and we easily obtain various forms of channel closing. Because the meta theory of our results is so simple, we are able to give all definitions as part of this paper, and mechanize all our results using the Iris framework in less than 1000 lines of Coq.

链接与引用

DOI 原文 ·

BibTeX
@article{paperbot1905,
  title = {Dependent Session Protocols in Separation Logic from First Principles (Functional Pearl)},
  author = {Jules Jacobs and Jonas Kastberg Hinrichsen and Robbert Krebbers},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {7},
  number = {ICFP},
  year = {2023},
  doi = {10.1145/3607856}
}