A Formalization of the Correctness of the Floodsub Protocol

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.

Authors

Institutions

Publication Details

Journal
Electronic Proceedings in Theoretical Computer Science
Published
2025-07-24
DOI
https://doi.org/10.4204/eptcs.423.9
Primary Topic
Peer-to-Peer Network Technologies
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A Formalization of the Correctness of the Floodsub Protocol

Panagiotis Manolios, Ankit Kumar
Electronic Proceedings in Theoretical Computer Science
Peer-to-Peer Network Technologies
article

A Formalization of the Correctness of the Floodsub Protocol

Panagiotis Manolios, Ankit Kumar
article en

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.

Electronic Proceedings in Theoretical Computer ScienceVol. 423
Universidad del Noreste (MX)
Climate action
Openalex Percentile: Top 80%
Peer-to-Peer Network Technologies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

A Formalization of the Correctness of the Floodsub Protocol — Panagiotis Manolios, Ankit Kumar · Electronic Proceedings in Theoretical Computer Science (2025) | TGRS Research Map | TGRS