We propose a general framework to build certified proofs of distributed self-stabilizing algorithms with the proof assistant Coq. We first define in Coq the locally shared memory model with composite atomicity, the most commonly used model in the self-stabilizing area. We then validate our framework by certifying a non trivial part of an existing silent self-stabilizing algorithm which builds a k-clustering of the network. We also certify a quantitative property related to the output of this algorithm. Precisely, we show that the computed k-clustering contains at most ⌊k+1n−1⌋+1 clusterheads, where n is the number of nodes in the network. To obtain these results, we also developed a library which contains general tools related to potential functions and cardinality of sets.
@article{arxiv.1610.08685,
title = {A Framework for Certified Self-Stabilization},
author = {Karine Altisen and Pierre Corbineau and Stephane Devismes},
journal= {arXiv preprint arXiv:1610.08685},
year = {2023}
}