首页> 外文期刊>Science of Computer Programming >A machine-checked correctness proof for Pastry
【24h】

A machine-checked correctness proof for Pastry

机译:机器检查的糕点正确性证明

获取原文
获取原文并翻译 | 示例

摘要

Protocols implemented on overlay networks in a peer-to-peer (P2P) setting promise flexibility, performance, and scalability due to the possibility for nodes to join and leave the network while the protocol is running. These protocols must ensure that all nodes maintain a consistent view of the network, in the absence of centralized control, so that requests can be routed to the intended destination. This aspect represents an interesting target for formal verification. In previous work, Lu studied the Pastry algorithm for implementing a distributed hash table (DHT) over a P2P network and identified problems in published versions of the algorithm. He suggested a variant of the algorithm, together with a machine-checked proof in the TLA+Proof System (tlaps), assuming the absence of node failures. We identify and correct problems in Lu's proof that are due to unchecked assumptions concerning modulus arithmetic and underlying data structures. We introduce higher-level abstractions into the specifications and proofs that are intended for improving the degree of automation achieved by the proof backends. These abstractions are instrumental for presenting the first complete formal proof. Finally, we formally prove that an even simpler version of Lu's algorithm, in which the final phase of the join protocol is omitted, is still correct, again assuming that nodes do not fail.
机译:在对等(P2P)设置中在覆盖网络上实现的协议具有灵活性,性能和可伸缩性,这是由于协议运行时节点可能会加入和离开网络。这些协议必须确保在没有集中控制的情况下,所有节点都可以保持网络的一致视图,以便可以将请求路由到预期的目的地。这是正式验证的有趣目标。在先前的工作中,Lu研究了用于在P2P网络上实现分布式哈希表(DHT)的Pastry算法,并确定了该算法的已发布版本中的问题。他提出了该算法的一种变体,并在不存在节点故障的情况下,在TLA + Proof System(纸叠)中进行了机器检查的证明。我们确定并纠正了Lu的证明中的问题,这些问题是由于与模数算法和基础数据结构有关的未经检验的假设所致。我们在规范和证明中引入了更高级别的抽象,旨在提高证明后端实现的自动化程度。这些抽象有助于呈现第一个完整的形式证明。最终,我们正式证明了Lu算法的一个更简单的版本,即省略了加入协议的最后阶段,仍然是正确的,再次假设节点没有失败。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号