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

异步多方会话的子类型判定

Deciding Subtyping for Asynchronous Multiparty Sessions

Elaine Li, Felix Stutz, Thomas Wies

AI总结:

针对异步多方会话类型的子类型判定问题,提出以通信状态机为实现模型的精确子类型关系,证明局部实现替代与全局类型实现判定两个问题均可在多项式时间内求解。

摘要:

多方会话类型(MSTs)是一种基于类型的通信协议验证方法,在该框架中以全局类型表示。我们提出了一种以通信状态机(CSMs)为实现模型的异步MST的精确子类型关系。我们解决两个问题:局部实现何时可安全替代另一实现,以及任意CSM何时实现一个全局类型。我们基于子协议保真度和无死锁性,针对给定全局类型定义安全性。我们的实现模型涵盖了现有考虑受限选择局部类型的研究。我们利用MST子类型与精化之间的关联,制定了可在候选实现上直接检查的简洁条件,并据此证明这两个问题均可在多项式时间内判定。

英文摘要:

Multiparty session types (MSTs) are a type-based approach to verifying communication protocols, represented as global types in the framework. We present a precise subtyping relation for asynchronous MSTs with communicating state machines (CSMs) as implementation model. We address two problems: when can a local implementation safely substitute another, and when does an arbitrary CSM implement a global type? We define safety with respect to a given global type, in terms of subprotocol fidelity and deadlock freedom. Our implementation model subsumes existing work which considers local types with restricted choice. We exploit the connection between MST subtyping and refinement to formulate concise conditions that are directly checkable on the candidate implementations, and use them to show that both problems are decidable in polynomial time.

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

↑