Abstract

An equivalence relation can be constructed from a given (homogeneous, binary) relation in two steps: first, construct the smallest reflexive and transitive relation containing the given relation (the “star” of the relation) and, second, construct the largest symmetric relation that is included in the result of the first step. The fact that the final result is also reflexive and transitive (as well as symmetric), and thus an equivalence relation, is not immediately obvious, although straightforward to prove. Rather than prove that the defining properties of reflexivity and transitivity are satisfied, we establish reflexivity and transitivity constructively by exhibiting a starth root—in a way that emphasises the creative process in its construction. The resulting construction is fundamental to algorithms that determine the strongly connected components of a graph as well as the decomposition of a graph into its strongly connected components together with an acyclic graph connecting such components.

Details

Title
An example of goal-directed, calculational proof
Author
Backhouse, Roland Carl 1   VIAFID ORCID Logo  ; Guttmann, Walter 2   VIAFID ORCID Logo  ; Winter, Michael 3   VIAFID ORCID Logo 

 School of Computer Science, University of Nottingham, Nottingham NG8 1BB, UK (e-mail: [email protected]
 Computer Science and Software Engineering, University of Canterbury, Christchurch, New Zealand (e-mail: [email protected]
 Department of Computer Science, Brock University, St. Catharines, Ontario, Canada (e-mail: [email protected]
Section
Theoretical Pearl
Publication year
2024
Publication date
Dec 2024
Publisher
Cambridge University Press
ISSN
09567968
e-ISSN
14697653
Source type
Scholarly Journal
Language of publication
English
ProQuest document ID
3142782666
Copyright
© The Author(s), 2024. Published by Cambridge University Press. This work is licensed under the Creative Commons Attribution License This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited. (the “License”). Notwithstanding the ProQuest Terms and Conditions, you may use this content in accordance with the terms of the License.