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

分布式系统重构的推理

Reasoning about Reconfigurations of Distributed Systems

Emma Ahrens, Marius Bozga, Radu Iosif, Joost-Pieter Katoen

摘要:

本文提出了一种霍尔式演算的形式化推理的分布式系统的重构程序。这些程序创建和删除组件和/或交互(连接器),而系统组件根据其内部行为更改状态。我们的证明演算使用资源逻辑,在分离逻辑的精神,给本地规格的重新配置行动。此外,分布式系统与无限数量的组件描述使用归纳定义的谓词。重构程序的正确性依赖于破坏不变量,即关于不受重构引起的结构变化影响的系统部分中正在进行的交互的断言。我们提出了一个证明系统,这样的不变量在一个假设/可靠保证风格。我们说明了我们的方法的可行性,通过证明现实生活中的分布式系统的可重构(自调整)树架构的正确性。

英文摘要:

This paper presents a Hoare-style calculus for formal reasoning about reconfiguration programs of distributed systems. Such programs create and delete components and/or interactions (connectors) while the system components change state according to their internal behaviour. Our proof calculus uses a resource logic, in the spirit of Separation Logic, to give local specifications of reconfiguration actions. Moreover, distributed systems with an unbounded number of components are described using inductively defined predicates. The correctness of reconfiguration programs relies on havoc invariants, that are assertions about the ongoing interactions in a part of the system that is not affected by the structural change caused by the reconfiguration. We present a proof system for such invariants in an assume/rely-guarantee style. We illustrate the feasibility of our approach by proving the correctness of real-life distributed systems with reconfigurable (self-adjustable) tree architectures.

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

↑