paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Fair Asynchronous Session Subtyping

公平异步会话子类型
LMCS vol.Volume 20, Issue 42024匹配度 2/10 · 该论文属于 PL 与并发形式化方法中的会话类型理论,虽含不可判定性证明与实现,但未涉及 LLM/Agent、静态分析、浮点程序分析或贝叶斯程序分析,与研究画像的核心交叉方向关联弱。引用 1 inbox
Mario Bravetti, Julien Lange, Gianluigi Zavattaro
crossref: 2026-09-10

AI 速览

一句话:提出公平异步会话子类型,可在无界消费前提前发送,并证明其不可判定、给出可靠算法与实现。

本文研究会话类型中异步消息传递系统的精化关系。已有异步会话子类型只允许相对于有界数量的消息消费提前发送;作者引入公平合规与公平精化,以刻画相对于无界消费提前发送的情形。受服务契约理论中的可控性启发,提出一种新的会话子类型,并证明它可靠地刻画公平精化。文章进一步证明公平精化与该子类型均不可判定,随后给出一个可靠算法,可处理具有潜在无界缓冲的实例,并在合成基准上实现和评估。

问题
异步会话类型中,如何定义并刻画一种精化关系,使组件可以相对于无界数量的消息消费提前发送消息,同时保持系统兼容性。
方法
引入公平合规与公平精化,并借助服务契约理论的可控性概念,提出新的异步会话子类型;从理论上证明其可靠性与不可判定性,并设计可靠算法。
评估
证明公平精化和新子类型不可判定;实现算法并在合成基准上进行经验评估,覆盖可能无界缓冲的示例。
原文摘要(Abstract)

Session types are widely used as abstractions of asynchronous message passing systems. Refinement for such abstractions is crucial as it allows improvements of a given component without compromising its compatibility with the rest of the system. In the context of session types, the most general notion of refinement is asynchronous session subtyping, which allows message emissions to be anticipated w.r.t. a bounded amount of message consumptions. In this paper we investigate the possibility to anticipate emissions w.r.t. an unbounded amount of consumptions: to this aim we propose to consider fair compliance over asynchronous session types and fair refinement as the relation that preserves it. This allows us to propose a novel variant of session subtyping that leverages the notion of controllability from service contract theory and that is a sound characterisation of fair refinement. In addition, we show that both fair refinement and our novel subtyping are undecidable. We also present a sound algorithm which deals with examples that feature potentially unbounded buffering. Finally, we present an implementation of our algorithm and an empirical evaluation of it on synthetic benchmarks.

链接与引用

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

BibTeX
@article{paperbot2717,
  title = {Fair Asynchronous Session Subtyping},
  author = {Mario Bravetti and Julien Lange and Gianluigi Zavattaro},
  journal = {Logical Methods in Computer Science},
  volume = {Volume 20, Issue 4},
  year = {2024},
  doi = {10.46298/lmcs-20(4:5)2024}
}