Relation-Algebraic Verification of Disjoint-Set Forests

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteur principal: Guttmann, Walter
Format: Preprint
Publié: 2023
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866911572362788864
author Guttmann, Walter
author_facet Guttmann, Walter
contents This paper studies how to use relation algebras, which are useful for high-level specification and verification, for proving the correctness of lower-level array-based implementations of algorithms. 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 using the union-by-rank strategy and find operations with path compression, path splitting and path halving. All results are formally proved in Isabelle/HOL. This paper is an extended version of [1].
format Preprint
id arxiv_https___arxiv_org_abs_2301_10311
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Relation-Algebraic Verification of Disjoint-Set Forests
Guttmann, Walter
Logic in Computer Science
F.3.1; F.3.2
This paper studies how to use relation algebras, which are useful for high-level specification and verification, for proving the correctness of lower-level array-based implementations of algorithms. 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 using the union-by-rank strategy and find operations with path compression, path splitting and path halving. All results are formally proved in Isabelle/HOL. This paper is an extended version of [1].
title Relation-Algebraic Verification of Disjoint-Set Forests
topic Logic in Computer Science
F.3.1; F.3.2
url https://arxiv.org/abs/2301.10311