Verification of Peterson's Algorithm for Leader Election in a Unidirectional Asynchronous Ring Using NuSMV
Amin Ansari

TL;DR
This paper uses NuSMV model checking to verify Peterson's leader election algorithm in a unidirectional asynchronous ring, demonstrating that with certain assumptions, larger networks can be analyzed efficiently.
Contribution
It introduces effective limiting assumptions that enable model checking of Peterson's algorithm for larger ring sizes without losing correctness.
Findings
Model checking with NuSMV is feasible for rings up to eight nodes.
Limiting assumptions significantly reduce computational resources needed.
Verification confirms correctness of Peterson's algorithm under specified conditions.
Abstract
The finite intrinsic nature of the most distributed algorithms gives us this ability to use model checking tools for verification of this type of algorithms. In this paper, I attempt to use NuSMV as a model checking tool for verifying necessary properties of Peterson's algorithm for leader election problem in a unidirectional asynchronous ring topology. Peterson's algorithm for an asynchronous ring supposes that each node in the ring has a unique ID and also a queue for dealing with storage problem. By considering that the queue can have any combination of values, a constructed model for a ring with only four nodes will have more than a billion states. Although it seems that model checking is not a feasible approach for this problem, I attempt to use several effective limiting assumptions for hiring formal model checking approach without losing the correct functionality of the…
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.
Taxonomy
TopicsDistributed systems and fault tolerance · Interconnection Networks and Systems · Parallel Computing and Optimization Techniques
