arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2604.10646cs.PL
收藏

异步多方会话类型的指称推理

Denotational reasoning for asynchronous multiparty session types

University of Oxford(牛津大学)

Dylan McDermott, Nobuko Yoshida

AI总结:

本文首次为异步多方会话类型提供指称语义,通过精确的异步子类型化,实现对非阻塞消息传递的推理,证明通信优化的正确性,特别是消息重排序的正确性。

摘要:

我们为异步多方会话类型提供了首个指称语义,具有精确的异步子类型化。我们的语义使我们能够推导非阻塞的消息传递,其中消息发送是非阻塞的。它使我们能够证明通信优化的正确性,特别是涉及消息重排序的那些。我们的开发关键依赖于将消息传递建模为计算效果。我们应用分级,一种用于跟踪计算效果的范式,到异步消息传递中,证明多方会话类型可以视为分级的一个实例。我们通过展示该模型能够为一种值传递的异步消息传递演算形成充分的指称语义,证明其在存在通信优化时确保通信安全、死锁自由和活度。

英文摘要:

We provide the first denotational semantics for asynchronous multiparty session types with precise asynchronous subtyping. Our semantics enables us to reason about asynchronous message-passing, in which message-sending is non-blocking. It enables us to prove the correctness of communication optimisations, in particular, those involving reordering of messages. Our development crucially relies on modelling message-passing as a computational effect. We apply grading, a paradigm for tracking computational effects, to asynchronous message-passing, demonstrating that multiparty session typing can be viewed as an instance of grading. We demonstrate the utility of our model by showing that it forms an adequate denotational semantics for a call-by-value asynchronous message-passing calculus, that ensures communication safety, deadlock-freedom and liveness in the presence of communication optimisations.

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

↑