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

编排程序设计的形式化理论

A Formal Theory of Choreographic Programming

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

摘要:

编排编程是一种从全局角度为分布式系统编写协调计划的范例,可以自动生成正确的分布式实现。舞蹈编排理论通常包括一些复杂的结果,证明了结构归纳。大量的案件和微妙的细节,在一些这些证明已导致重要的错误被发现在出版的作品。在这项工作中,我们正式理论的舞蹈程序设计语言在Coq。我们的发展包括这种语言的基本属性,证明其图灵完备性,编译过程的过程语言,和操作特性的正确性,这个过程。我们的形式化经验说明了使用定理证明器的好处:我们从机械化证明中获得了额外的信心,并大大简化了基础理论。我们的研究结果提供了一个基础,为未来的形式化发展的舞蹈语言。

英文摘要:

Choreographic programming is a paradigm for writing coordination plans for distributed systems from a global point of view, from which correct-by-construction decentralised implementations can be generated automatically. Theory of choreographies typically includes a number of complex results that are proved by structural induction. The high number of cases and the subtle details in some of these proofs has led to important errors being found in published works. In this work, we formalise the theory of a choreographic programming language in Coq. Our development includes the basic properties of this language, a proof of its Turing completeness, a compilation procedure to a process language, and an operational characterisation of the correctness of this procedure. Our formalisation experience illustrates the benefits of using a theorem prover: we get both an additional degree of confidence from the mechanised proof, and a significant simplification of the underlying theory. Our results offer a foundation for the future formal development of choreographic languages.

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

↑