Simplified and Verified: A Second Look at a Proof-Producing Union-Find Algorithm
Logic in Computer Science
2025-08-12 v2
Abstract
Using Isabelle/HOL, we verify a union-find data structure with an explain operation due to Nieuwenhuis and Oliveras. We devise a simpler, more naive version of the explain operation whose soundness and completeness is easy to verify. Then, we prove the original formulation of the explain operation to be equal to our version. Finally, we refine this data structure to Imperative HOL, enabling us to export efficient imperative code. The formalisation provides a stepping stone towards the verification of proof-producing congruence closure algorithms which are a core ingredient of Satisfiability Modulo Theories (SMT) solvers.
Cite
@article{arxiv.2504.10246,
title = {Simplified and Verified: A Second Look at a Proof-Producing Union-Find Algorithm},
author = {Lukas Stevens and Rebecca Ghidini},
journal= {arXiv preprint arXiv:2504.10246},
year = {2025}
}