arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2305.17079cs.FLcs.DCcs.PL
收藏

基于自动机的完全多方会话类型投影

Complete Multiparty Session Type Projection with Automata

Elaine Li, Felix Stutz, Thomas Wies, Damien Zufferey

AI总结:

提出首个可靠、完备且高效的MST投影算子,分离合成与可实现性检查,证明MST可实现性属于PSPACE,改进了先前EXPSPACE的结果,并通过原型实现验证了有效性。

摘要:

多方会话类型(MSTs)是一种基于类型的通信协议验证方法。MSTs的核心是投影算子:一个偏函数,将表示为全局类型的协议映射到每个参与者的正确构造实现,表示为通信状态机。现有投影算子在本质上是语法层面的,以牺牲完备性换取效率。我们提出了首个可靠、完备且高效的投影算子。我们的投影将合成与可实现性检查分离。对于合成,我们使用简单的自动机理论构造;对于检查可实现性,我们提出了简洁的条件,总结了对可实现性属性的深刻见解。我们利用这些条件证明MST可实现性属于PSPACE。这改进了此前属于EXPSPACE且适用于更小类MSTs的判定过程。我们通过原型实现展示了该方法的有效性,该实现能够处理先前工作不支持的全局类型,且不牺牲性能。

英文摘要:

Multiparty session types (MSTs) are a type-based approach to verifying communication protocols. Central to MSTs is a projection operator: a partial function that maps protocols represented as global types to correct-by-construction implementations for each participant, represented as a communicating state machine. Existing projection operators are syntactic in nature, and trade efficiency for completeness. We present the first projection operator that is sound, complete, and efficient. Our projection separates synthesis from checking implementability. For synthesis, we use a simple automata-theoretic construction; for checking implementability, we present succinct conditions that summarize insights into the property of implementability. We use these conditions to show that MST implementability is in PSPACE. This improves upon a previous decision procedure that is in EXPSPACE and applies to a smaller class of MSTs. We demonstrate the effectiveness of our approach using a prototype implementation, which handles global types not supported by previous work without sacrificing performance.

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

↑