arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2105.08996cs.PL
收藏

平滑分离会话

Separating Sessions Smoothly

Simon Fowler, Wen Kokke, Ornela Dardha, Sam Lindley, J. Garrett Morris

AI总结:

本文提出核心演算HGV,利用超环境保证结构同构保类型,实现与进程演算HCP的操作对应及双向归约保持,并平滑扩展支持Mix规则。

摘要:

本文引入了Hypersequent GV(HGV),这是一种用于会话类型函数式编程的模块化且可扩展的核心演算,具有无死锁、合流性和强规范化的特性。HGV利用超环境(即类型环境的集合)来确保结构同构保持类型。由此,我们获得了HGV与HCP之间的操作对应关系——HCP是一种基于超串的进程演算,并与经典线性逻辑(CLL)存在“命题即类型”的对应关系。我们从HGV到HCP及其反向翻译均保持并反映了归约。HGV平滑扩展以支持Girard的Mix规则,这是通道转发和异常的关键要素。

英文摘要:

This paper introduces Hypersequent GV (HGV), a modular and extensible core calculus for functional programming with session types that enjoys deadlock freedom, confluence, and strong normalisation. HGV exploits hyper-environments, which are collections of type environments, to ensure that structural congruence is type preserving. As a consequence we obtain an operational correspondence between HGV and HCP -- a process calculus based on hypersequents and in a propositions-as-types correspondence with classical linear logic (CLL). Our translations from HGV to HCP and vice-versa both preserve and reflect reduction. HGV scales smoothly to support Girard's Mix rule, a crucial ingredient for channel forwarding and exceptions.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑