计算机科学 > 计算机科学中的逻辑
[提交于 2023年10月13日]
标题:An example of goal-directed, calculational proof
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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 particular starth root -- in a way that emphasises the creative process in its construction. The constructed starth root 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.
提交历史
来自:Roland Backhouse[v1] 2023年10月13日 星期五 08:24:50 UTC