Trustworthy Systems

Relational characterisations of paths

Authors

Rudolf Brghammer, Hitoshi Furusawa, Walter Guttmann and Peter Hoefner

DATA61

University of Canterbury

Kagoshima University

Christian-Albrechts-Universität zu Kiel

Australian National University

Abstract

Binary relations are one of the standard ways to encode, characterise and reason about graphs. Relation algebras provide equational axioms for a large fragment of the calculus of binary relations. Although relations are standard tools in many areas of mathematics and computing, researchers usually fall back to point-wise reasoning when it comes to arguments about paths in a graph. We present a purely algebraic way to specify different kinds of paths in relation algebras. We study the relationship between paths with a designated root vertex and paths without such a vertex. Since we stay in first-order logic this development helps with mechanising proofs. To demonstrate the applicability of the algebraic framework we verify the correctness of three basic graph algorithms. All results of this paper are formally verified using Isabelle/HOL.

BibTeX Entry

  @techreport{Berghammer_FGH_18:tr,
    author           = {Brghammer, Rudolf and Furusawa, Hitoshi and Guttmann, Walter and H\"{o}fner, Peter},
    date             = {2018-1-12},
    institution      = {Data61, CSIRO},
    keywords         = {relation algebra; path; tree},
    month            = jan,
    numpages         = {23},
    paperurl         = {https://trustworthy.systems/publications/full_text/Berghammer_FGH_18%3Atr.pdf},
    publisher        = {arXiv.org},
    title            = {Relational Characterisations of Paths},
    year             = {2018}
  }

Download