arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1909.05537cs.DC
收藏

并发算法模块化证明中的任务

Tasks in Modular Proofs of Concurrent Algorithms

Armando Castañeda, Aurélie Hurault, Philippe Quéinnec, Matthieu Roy

摘要:

证明分布式或并发算法的正确性是一个具有挑战性和复杂性的过程。推理中的轻微错误很难发现,需要计算机检查证明系统。为了使用常用的工具(如Coq或TLA+)构建计算机检查的证明,在给定算法中用作构建块的所有基本对象的顺序规范是提供通过组合构建的模块化证明的必要条件。遗憾的是,许多并发对象没有顺序规范。本文描述了一种系统的方法来转换任何任务,规范方法,捕捉并发的一次性分布式问题,到一个顺序规范涉及两个调用,设置和获取。这种转换允许系统设计者组成证明,从而为使用任务和顺序对象作为构建块设计的算法的模块化计算机检查证明提供框架。使用分割器重命名的Moir&Anderson实现是通过组合设计的此类算法的标志性示例。

英文摘要:

Proving correctness of distributed or concurrent algorithms is a mind-challenging and complex process. Slight errors in the reasoning are difficult to find, calling for computer-checked proof systems. In order to build computer-checked proofs with usual tools, such as Coq or TLA+, having sequential specifications of all base objects that are used as building blocks in a given algorithm is a requisite to provide a modular proof built by composition. Alas, many concurrent objects do not have a sequential specification. This article describes a systematic method to transform any task, a specification method that captures concurrent one-shot distributed problems, into a sequential specification involving two calls, Set and Get. This transformation allows system designers to compose proofs, thus providing a framework for modular computer-checked proofs of algorithms designed using tasks and sequential objects as building blocks. The Moir&Anderson implementation of renaming using splitters is an iconic example of such algorithms designed by composition.

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

↑