Verifying the Correctness of Disjoint-Set Forests with Kleene Relation Algebras
- 1 April 2020
- book chapter
- Published by Springer Nature
- Vol. 12062, 134-151
Abstract
We give a simple relation-algebraic semantics of read and write operations on associative arrays. The array operations seamlessly integrate with assignments in computation models supporting while-programs. As a result, relation algebras can be used for verifying programs with associative arrays. We verify the correctness of an array-based implementation of disjoint-set forests with a naive union operation and a find operation with path compression. All results are formally proved in Isabelle/HOL.Keywords
This publication has 26 references indexed in Scilit:
- Verifying the Correctness and Amortized Complexity of a Union-Find Implementation in Separation Logic with Time CreditsJournal of Automated Reasoning, 2017
- On Automated Program Construction and VerificationLecture Notes in Computer Science, 2010
- A persistent union-find data structure2007
- Pointer Kleene Algebra2004
- Combining relational calculus and the Dijkstra–Gries method for deriving relational programsInformation Sciences, 1999
- Reasoning algebraically about loopsActa Informatica, 1999
- Relation-algebraic derivation of spanning tree algorithms1998
- Refinement Calculus1998
- Regular Algebra Applied to Path-finding ProblemsIMA Journal of Applied Mathematics, 1975
- An improved equivalence algorithmCommunications of the ACM, 1964