A Formalization of the Correctness of the Floodsub Protocol
Authors:
- Ankit KumarAKAnkit Kumar
- Panagiotis ManoliosPMPanagiotis Manolios
Preprint
Abstract
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.Keywords
All Related Versions
This publication has 29 references indexed in Scilit:
- Peer-to-Peer Publish-Subscribe Systems2018
- A Rigorous Correctness Proof for Pastry2016
- The ACL2 Sedan Theorem Proving System2011
- Termination Analysis with Calling Context GraphsLecture Notes in Computer Science, 2006
- Ordinal Arithmetic: Algorithms and MechanizationJournal of Automated Reasoning, 2005
- Integrating Reasoning About Ordinal Arithmetic into ACL22004
- Algorithms for Ordinal Arithmetic2003
- Pastry: Scalable, Decentralized Object Location, and Routing for Large-Scale Peer-to-Peer Systems2001
- Computer-Aided Reasoning2000
- Computer-Aided Reasoning2000