论文标题
在鲁棒网络中正式验证的渐近共识
Formally verified asymptotic consensus in robust networks
论文作者
论文摘要
分布式体系结构用于提高各种系统的性能和可靠性。示例包括无人机群和负载平衡服务器。分布式体系结构的重要能力是能够在其所有节点之间达成共识。已经提出了几种共识算法,其中许多算法都带有复杂的正确性证明,这些证据未经机械检查。在控制社区中,算法通常渐近地达成共识,例如,对于人类控制系统的设计或鸟类植物等自然系统的分析。这与诸如Paxos之类的确切共识算法相反,Paxos在正式方法社区中受到了更新的关注。 本文介绍了渐近共识算法的第一个正式证明,并解决了其形式化的各种挑战。使用COQ证明助手,我们验证了分布式控制社区中广泛使用的共识算法的正确性,即加权均值的子序列减少(W-MSR)算法。我们正式为假定的攻击者模型实现弹性渐近共识所需的必要条件。在形式化期间,我们阐明了证明纸张的几个不确定,包括对主要定理中量化器的不精确性。
Distributed architectures are used to improve performance and reliability of various systems. Examples include drone swarms and load-balancing servers. An important capability of a distributed architecture is the ability to reach consensus among all its nodes. Several consensus algorithms have been proposed, and many of these algorithms come with intricate proofs of correctness, that are not mechanically checked. In the controls community, algorithms often achieve consensus asymptotically, e.g., for problems such as the design of human control systems, or the analysis of natural systems like bird flocking. This is in contrast to exact consensus algorithm such as Paxos, which have received much more recent attention in the formal methods community. This paper presents the first formal proof of an asymptotic consensus algorithm, and addresses various challenges in its formalization. Using the Coq proof assistant, we verify the correctness of a widely used consensus algorithm in the distributed controls community, the Weighted-Mean Subsequence Reduced (W-MSR) algorithm. We formalize the necessary and sufficient conditions required to achieve resilient asymptotic consensus under the assumed attacker model. During the formalization, we clarify several imprecisions in the paper proof, including an imprecision on quantifiers in the main theorem.