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

多方对称和类型

Multiparty Symmetric Sum Types

Lasse Nielsen, Nobuko Yoshida, Kohei Honda

摘要:

本文介绍了一种新的基于对称和类型的多方会话类型的理论,我们可以类型的非确定性的编排选择行为。虽然会话类型中的原始分支类型可以表示由单个参与者做出并被其他参与者接受的决定会话如何进行的选择,但对称和类型表示由会话的所有参与者之间的协议做出的选择。这种行为可以在许多实际系统中找到,包括用于临床实践指南(CPG)的医疗保健系统中的协作工作流。使用对称和的过程可以嵌入到使用导体过程的原始分支类型中。我们表明,这种类型驱动的嵌入保留类型,满足语义的健全性和完整性,并满足编码标准适应类型设置。该理论导致了一个有效的实现的原型工具,自动翻译的原始CPG规范从一个表示称为过程矩阵的对称和类型,类型检查程序,并执行它们。

英文摘要:

This paper introduces a new theory of multiparty session types based on symmetric sum types, by which we can type non-deterministic orchestration choice behaviours. While the original branching type in session types can represent a choice made by a single participant and accepted by others determining how the session proceeds, the symmetric sum type represents a choice made by agreement among all the participants of a session. Such behaviour can be found in many practical systems, including collaborative workflow in healthcare systems for clinical practice guidelines (CPGs). Processes using the symmetric sums can be embedded into the original branching types using conductor processes. We show that this type-driven embedding preserves typability, satisfies semantic soundness and completeness, and meets the encodability criteria adapted to the typed setting. The theory leads to an efficient implementation of a prototypical tool for CPGs which automatically translates the original CPG specifications from a representation called the Process Matrix to symmetric sum types, type checks programs and executes them.

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

↑