Floodsub协议正确性的形式化
A Formalization of the Correctness of the Floodsub Protocol
AI总结:
本文提出省略实现细节的Broadcastsub规范,并利用良基模拟(WFS)机械化证明真实pubsub协议Floodsub是其模拟精化。
摘要:
Floodsub是一种简单、健壮且流行的点对点发布/订阅(pubsub)协议,其中节点可以任意离开或加入网络、订阅或取消订阅主题,并将新收到的消息转发给其所有邻居,但不包括发送者或发起对等节点。为了证明Floodsub的正确性,我们提出了其规范:Broadcastsub,其中省略了网络连接和邻居订阅等实现细节。为了表明Floodsub确实实现了Broadcastsub,必须证明两个系统具有相关的无限计算。我们通过使用良基模拟(Well-Founded Simulation,WFS)对状态及其后继状态进行局部推理来证明这一点。在本文中,我们专注于一个证明的机械化,该证明使用WFS表明Floodsub是Broadcastsub的模拟精化。据我们所知,我们的工作是首个针对真实世界pubsub协议的、基于精化的机械化验证。
英文摘要:
Floodsub is a simple, robust and popular peer-to-peer publish/subscribe (pubsub) protocol, where nodes can arbitrarily leave or join the network, subscribe to or unsubscribe from topics and forward newly received messages to all of their neighbors, except the sender or the originating peer. To show the correctness of Floodsub, we propose its specification: Broadcastsub, in which implementation details like network connections and neighbor subscriptions are elided. To show that Floodsub does really implement Broadcastsub, one would have to show that the two systems have related infinite computations. We prove this by reasoning locally about states and their successors using Well-Founded Simulation (WFS). In this paper, we focus on the mechanization of a proof which shows that Floodsub is a simulation refinement of Broadcastsub using WFS. To the best of our knowledge, ours is the first mechanized refinement-based verification of a real world pubsub protocol.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。