刻画具有无限状态和数据的全局协议的可实现性
Characterizing Implementability of Global Protocols with Infinite States and Data
AI总结:
本文通过将全局协议可实现性归约为参与者局部(共)可达性,给出无限状态符号协议的语义刻画与可靠且相对完备的判定算法,并证明有限协议在显式和符号表示下分别为 co-NP 完全与 PSPACE 完全。
摘要:
我们研究一类涉及多个参与者的、表达能力丰富的符号通信协议的可实现性问题。我们的符号协议使用依赖细化谓词来描述无限状态和数据值。可实现性询问一个全局协议规范是否允许一种分布式、异步的实现,即为每个参与者提供一个实现,该实现无死锁并表现出与规范相同的行为。我们通过对无限协议可实现性的精确语义刻画,对看似互不相同的不可实现性来源给出了统一解释。我们的刻画将可实现性问题归约为限制到每个参与者的全局协议中的(共)可达性。这种组合式归约产生了首个用于检查符号协议可实现性的可靠且相对完备的算法。我们利用该刻画表明,对于有限协议,显式表示下的可实现性是 co-NP 完全的,而符号表示下是 PSPACE 完全的。有限、显式片段包含了先前研究的多方会话类型片段,对于该片段,我们的刻画产生了一个 co-NP 判定过程,收紧了先前的 PSPACE 上界。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。