Declarative distributed algorithms as axiomatic theories in three-valued modal logic over semitopologies
Murdoch J. Gabbay

TL;DR
This paper demonstrates how to specify distributed algorithms declaratively using modal logic, enabling high-level reasoning and verification of protocols like broadcast and agreement.
Contribution
It introduces a novel modal logic-based axiomatic approach to specify distributed algorithms, facilitating correctness proofs and error detection.
Findings
Successfully specified protocols in modal logic
Found errors in an industrial protocol using the method
Formalized proofs in Lean 4
Abstract
We illustrate how to formally specify distributed algorithms as declarative axiomatic theories in a modal logic, using as illustrative examples a simple voting protocol, a simple broadcast protocol (Bracha Broadcast), and a simple agreement protocol (Crusader Agreement). The methods scale well and have been used to find errors in a proposed industrial protocol. The key novelty is to use modal logic to capture a declarative, high-level representation of essential system properties -- the logical essence of the algorithm -- while abstracting away from explicit state transitions of an abstract machine that implements it. It is like the difference between specifying code in a functional or logic programming language, versus specifying code in an imperative one. Thus we present axiomatisations of Declarative Bracha Broacast and Declarative Crusader Agreement. A logical axiomatisation in…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
