现在它编译!不可编译协议的认证自动修复
Now It Compiles! Certified Automatic Repair of Uncompilable Protocols
摘要:
Choreographic Programming是一种范式,开发人员编写通信系统的全局规范(称为Choreography),然后自动编译正确的分布式实现。不幸的是,由于与称为选择知识的协议属性相关的问题,可能会编写无法编译的编排。这迫使程序员手动推理可能与他们正在编写的协议正交的实现细节。修正是一个自动修复不可编译编排的过程。我们提出了一个正式的文献修正案,建立在现有的形式化编排节目。然而,在形式化这个过程的预期属性的过程中,我们发现了一个微妙的反例,使最初发表和同行评议的纸笔理论无效。我们将讨论如何使用定理证明器使我们既找到问题,并说明和证明一个正确的制定的性质的修正案。
英文摘要:
Choreographic programming is a paradigm where developers write the global specification (called choreography) of a communicating system, and then a correct-by-construction distributed implementation is compiled automatically. Unfortunately, it is possible to write choreographies that cannot be compiled, because of issues related to an agreement property known as knowledge of choice. This forces programmers to reason manually about implementation details that may be orthogonal to the protocol that they are writing. Amendment is an automatic procedure for repairing uncompilable choreographies. We present a formalisation of amendment from the literature, built upon an existing formalisation of choreographic programming. However, in the process of formalising the expected properties of this procedure, we discovered a subtle counterexample that invalidates the original published and peer-reviewed pen-and-paper theory. We discuss how using a theorem prover led us to both finding the issue, and stating and proving a correct formulation of the properties of amendment.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。