计算机科学 > 形式语言与自动机理论
[提交于 2024年1月29日]
标题:Deciding Subtyping for Asynchronous Multiparty Sessions
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.
提交历史
来自:Elaine Li[v1] 2024年1月29日 星期一 18:36:28 UTC