关于通信模型对可实现性的影响
On the Impact of the Communication Model on Realisability
AI总结:
本文研究了不同通信模型对多方会话类型中可实现性的影响,提出统一框架并设计了不同复杂度的决策程序。
摘要:
多方会话类型(MPST)为分布式系统中通信协议的指定和验证提供了类型论基础。MPST依赖于全局类型的概念,该类型规定了全局行为和局部类型,后者是将全局行为投影到每个局部参与者上的结果。MPST中的核心概念之一是可实现性——是否从全局规范导出的局部实现能够在给定的通信模型下正确实现预期的协议。尽管可实现性已在对等语义下得到了广泛研究,但在其他通信模型如袋式、因果有序或同步通信中仍缺乏深入理解。在本文中,我们开发了一个统一的框架,用于在一系列通信模型中推理可实现性和子类型化。我们证明通信模型不影响子类型化的概念,但会影响可实现性的概念。我们引入了几种决策程序用于子类型检查和可实现性检查,其复杂度从NLOGSPACE到EXPSPACE不等,具体取决于对全局类型所做假设,特别是取决于其可补性和给定补集的大小。
英文摘要:
Multiparty Session Types (MPST) provide a type-theoretic foundation for specifying and verifying communication protocols in distributed systems. MPST rely on the notion of global type which specifies the global behaviour and local types, which are the projections of the global behaviour onto each local participant. A central notion in MPST is realisability - whether local implementations derived from a global specification correctly realise the intended protocol under a given communication model. While realisability has been extensively studied under peer-to-peer semantics, it remains poorly understood in alternative communication models such as bag-based, causally ordered, or synchronous communications. In this paper, we develop a unified framework for reasoning about realisability and subtyping across a spectrum of communication models. We show that the communication model does not impact the notion of subtyping, but that it impacts the notion of realisability. We introduce several decision procedures for subtyping checking and realisability checking with complexities ranging from NLOGSPACE to EXPSPACE depending on the assumptions made on the global types, in particular depending on their complementability and the size of a given complement.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。