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

消息观测会话

Message-Observing Sessions

Ryan Kavanagh, Brigitte Pientka

AI总结:

本研究提出带消息观测会话类型的进程语言Most,通过类型级计算扩展二元会话类型以支持依赖其他通道消息的通信协议,基于带绑定的迹构建语义并证明类型可靠性与组合性,为进程全局不变量的组合式表达与更精确的通信保证提供了新进展。

摘要:

我们提出了Most,一种带有消息观测会话类型的进程语言。消息观测会话类型通过类型级计算扩展了二元会话类型,用于指定根据其他通道上观测到的消息而变化的通信协议。因此,Most允许我们以自底向上、组合式的方式表达进程的全局不变量,而非仅局部不变量。我们使用带绑定的迹(一种在名称生成存在下对迹进行组合式推理的语义方法)为Most提供语义基础,并利用该语义证明了Most进程的类型可靠性与组合性。我们认为这是在捕获消息依赖关系、为进程提供更精确保证方面的重要一步。

英文摘要:

We present Most, a process language with message-observing session types. Message-observing session types extend binary session types with type-level computation to specify communication protocols that vary based on messages observed on other channels. Hence, Most allows us to express global invariants about processes, rather than just local invariants, in a bottom-up, compositional way. We give Most a semantic foundation using traces with binding, a semantic approach for compositionally reasoning about traces in the presence of name generation. We use this semantics to prove type soundness and compositionality for Most processes. We see this as a significant step towards capturing message-dependencies and providing more precise guarantees about processes.

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

↑