计算机科学 > 程序设计语言
[提交于 2024年4月24日]
标题:MAG$\pi$!: The Role of Replication in Typing Failure-Prone Communication
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:MAG$\pi$ is a Multiparty, Asynchronous and Generalised $\pi$-calculus that introduces timeouts into session types as a means of reasoning about failure-prone communication. Its type system guarantees that all possible message-loss is handled by timeout branches. In this work, we argue that the previous is unnecessarily strict. We present MAG$\pi$!, an extension serving as the first introduction of replication into Multiparty Session Types (MPST). Replication is a standard $\pi$-calculus construct used to model infinitely available servers. We lift this construct to type-level, and show that it simplifies specification of distributed client-server interactions. We prove properties relevant to generalised MPST: subject reduction, session fidelity and process property verification.
提交历史
来自:Matthew Alan Le Brun[v1] 2024年4月24日 星期三 21:21:51 UTC