paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Characterizing Implementability of Global Protocols with Infinite States and Data

刻画具有无限状态与数据的全局协议的可实现性
OOPSLA 9(OOPSLA1)2025匹配度 3/10 · 论文属于程序验证/形式化方法,研究通信协议的可实现性与复杂度,但未涉及用户核心关注的LLM/Agent与静态分析/形式化验证交叉、浮点程序分析或贝叶斯程序分析,仅与广义PL/形式化验证领域有较弱关联。引用 2 inbox
Elaine Li, Felix Stutz, Thomas Wies, Damien Zufferey
crossref: 2026-09-10

AI 速览

一句话:对带无限状态与数据的符号通信协议,给出可实现性的精确语义刻画、检查算法及复杂度结果。

本文研究涉及多个参与者的符号通信协议的可实现性问题。此类协议用依赖精化谓词描述无限状态和数据值;可实现性要求全局协议规范存在分布、异步的参与者实现,既无死锁又与规范行为一致。作者通过精确的语义刻画统一解释了看似不同的不可实现性来源,将可实现性归约为限制到各参与者上的全局协议(余)可达性,并据此给出首个可靠且相对完备的符号协议可实现性检查算法。对有限协议,显式表示下该问题是 co-NP完全的,符号表示下是 PSPACE 完全的;显式有限片段还涵盖已研究的多方会话类型片段,将其上界从 PSPACE 收紧到 co-NP。

问题
研究多个参与者符号通信协议的可实现性问题:给定用依赖精化谓词描述无限状态与数据的全局协议,判断是否存在分布、异步且无死锁、行为等价的参与者实现。
方法
提出精确的语义刻画,将可实现性归约为各参与者限制下的全局协议(余)可达性,并由此构造可靠且相对完备的检查算法。
评估
证明有限协议下显式表示的可实现性为 co-NP 完全、符号表示为 PSPACE 完全,并将多方会话类型片段的上界从 PSPACE 收紧至 co-NP。
原文摘要(Abstract)

We study the implementability problem for an expressive class of symbolic communication protocols involving multiple participants. Our symbolic protocols describe infinite states and data values using dependent refinement predicates. Implementability asks whether a global protocol specification admits a distributed, asynchronous implementation, namely one for each participant, that is deadlock-free and exhibits the same behavior as the specification. We provide a unified explanation of seemingly disparate sources of non-implementability through a precise semantic characterization of implementability for infinite protocols. Our characterization reduces the problem of implementability to (co)reachability in the global protocol restricted to each participant. This compositional reduction yields the first sound and relatively complete algorithm for checking implementability of symbolic protocols. We use our characterization to show that for finite protocols, implementability is co-NP-complete for explicit representations and PSPACE-complete for symbolic representations. The finite, explicit fragment subsumes a previously studied fragment of multiparty session types for which our characterization yields a co-NP decision procedure, tightening a prior PSPACE upper bound.

链接与引用

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

BibTeX
@article{paperbot3156,
  title = {Characterizing Implementability of Global Protocols with Infinite States and Data},
  author = {Elaine Li and Felix Stutz and Thomas Wies and Damien Zufferey},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {9},
  number = {OOPSLA1},
  year = {2025},
  doi = {10.1145/3720493}
}