paperbot · PL 论文追踪

全部论文 待读 收藏

P2 On the Preciseness of Subtyping in Session Types

论会话类型中子类型的精确性
LMCS vol.Volume 13, Issue 22017匹配度 1/10 · 该论文研究会话类型中的子类型可靠性/完备性,属于并发类型论与形式化方法,但未涉及静态分析在机器学习/Agentic 程序中的应用,也未涉及 LLM/Agent 改进静态分析或形式化验证、浮点程序分析或贝叶斯程序分析。引用 35 inbox
Tzu-chun Chen, Mariangiola Dezani-Ciancaglini, Alceste Scalas, Nobuko Yoshida
crossref: 2026-09-10

AI 速览

一句话:证明同步会话演算中分支-选择子类型既可靠又完备,并构造异步演算下可靠完备的子类型系统。

会话类型中的子类型关系通常只被证明是可靠的,以保类型安全,而其完备性(能否刻画最大安全子类型关系)长期被忽视。本文形式化移动进程子类型的精确性,即同时要求可靠性与完备性,并在同步和异步会话演算中研究。作者证明经典的分支-选择子类型对同步演算可靠且完备;但在异步演算中该关系对类型安全并不完备:存在可安全视为子类型却无法推导的情形。为此提出一个新的异步子类型系统,证明其对异步演算可靠且完备,并给出设计满足安全性质的基于通道子类型的通用指导。演算先限于线性通道,后扩展至会话初始化与表达式通信(含共享通道)。

问题
会话类型子类型通常仅被证明可靠以保类型安全,完备性——即是否刻画了最大安全子类型关系——在同步与异步会话演算中尚未被系统研究。
方法
形式化子类型的精确性(可靠性与完备性),分析经典分支-选择子类型,并为异步会话演算提出新的子类型系统;演算先含线性通道,再扩展会话初始化与表达式通信。
评估
通过证明同步演算中分支-选择子类型既可靠又完备,给出异步演算中其不完备的反例,并证明新异步子类型系统可靠且完备。
原文摘要(Abstract)

Subtyping in concurrency has been extensively studied since early 1990s as one of the most interesting issues in type theory. The correctness of subtyping relations has been usually provided as the soundness for type safety. The converse direction, the completeness, has been largely ignored in spite of its usefulness to define the largest subtyping relation ensuring type safety. This paper formalises preciseness (i.e. both soundness and completeness) of subtyping for mobile processes and studies it for the synchronous and the asynchronous session calculi. We first prove that the well-known session subtyping, the branching-selection subtyping, is sound and complete for the synchronous calculus. Next we show that in the asynchronous calculus, this subtyping is incomplete for type-safety: that is, there exist session types T and S such that T can safely be considered as a subtype of S, but T < S is not derivable by the subtyping. We then propose an asynchronous subtyping system which is sound and complete for the asynchronous calculus. The method gives a general guidance to design rigorous channel-based subtypings respecting desired safety properties. Both the synchronous and the asynchronous calculus are first considered with lin ear channels only, and then they are extended with session initialisations and c ommunications of expressions (including shared channels).

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@article{paperbot155,
  title = {On the Preciseness of Subtyping in Session Types},
  author = {Tzu-chun Chen and Mariangiola Dezani-Ciancaglini and Alceste Scalas and Nobuko Yoshida},
  journal = {Logical Methods in Computer Science},
  volume = {Volume 13, Issue 2},
  year = {2017},
  doi = {10.23638/lmcs-13(2:12)2017}
}