arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2304.14539cs.PLcs.LO
收藏

关于编排程序的推理

Reasoning about Choreographic Programs

Luís Cruz-Filipe, Eva Graversen, Fabrizio Montesi, Marco Peressotti

AI总结:

本文针对编排编程领域其他性质验证研究不足的问题,提出一种Hoare风格的编排行为推理逻辑,证明其可靠性与完备性,且编排的功能正确性性质可传递至编译后的分布式实现。

摘要:

编排编程是一种以自顶向下方式开发并发或分布式系统的范式。被称为编排(choreography)的程序详细定义了进程间期望的交互行为,可被编译为基于消息传递的分布式实现。编排语言通常能保证无死锁特性,并提供编排与其编译后实现之间的操作对应关系,但迄今为止,针对其他性质验证的研究工作仍较少。\n本文提出了一种用于推理编排行为的Hoare风格逻辑,并通过典型示例说明了其用法。我们证明了该逻辑具备可靠性与完备性,并讨论了其判断的可判定性。借助编排编程领域的现有研究结果,我们证明,任何经证实适用于某编排的功能正确性性质,同样适用于其编译后的实现。

英文摘要:

Choreographic programming is a paradigm where a concurrent or distributed system is developed in a top-down fashion. Programs, called choreographies, detail the desired interactions between processes, and can be compiled to distributed implementations based on message passing. Choreographic languages usually guarantee deadlock-freedom and provide an operational correspondence between choreographies and their compiled implementations, but until now little work has been done on verifying other properties. This paper presents a Hoare-style logic for reasoning about the behaviour of choreographies, and illustrate its usage in representative examples. We show that this logic is sound and complete, and discuss decidability of its judgements. Using existing results from choreographic programming, we show that any functional correctness property proven for a choreography also holds for its compiled implementation.

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

↑