A formal theory of undirected graphs in higher-order logc

  • Ching-Tsun Chou
Invited Paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 859)


This paper describes a formal theory of undirected (labeled) graphs in higher-order logic developed using the mechanical theoremproving system HOL. It formalizes and proves theorems about such notions as the empty graph, single-node graphs, finite graphs, subgraphs, adjacency relations, walks, paths, cycles, bridges, reachability, connectedness, acyclicity, trees, trees oriented with respect to roots, oriented trees viewed as family trees, top-down and bottom-up inductions in a family tree, distributing associative and commutative operations with identities recursively over subtrees of a family tree, and merging disjoint subgraphs of a graph. The main contribution of this work lies in the precise formalization of these graph-theoretic notions and the rigorous derivation of their properties in higher-order logic. This is significant because there is little tradition of formalization in graph theory due to the concreteness of graphs. A companion paper [2] describes the application of this formal graph theory to the mechanical verification of distributed algorithms.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    N.G. de Bruijn, “Checking Mathematics with Computer Assistance”, in Notices of the American Mathematical Society, Vol. 38, No. 1, pp. 8–15, Jan. 1991.Google Scholar
  2. 2.
    Ching-Tsun Chou, “Mechanical Verification of Distributed Algorithms in Higher-Order Logic”, in this Proceedings.Google Scholar
  3. 3.
    Shimon Even, Graph Algorithms, Computer Science Press, 1979.Google Scholar
  4. 4.
    R.G. Gallager, P.A. Humblet, and P.M. Spira, “A Distributed Algorithm for Minimum-Weight Spanning Trees”, in ACM Trans. on Programming Languages and Systems, Vol. 5, No. 1, pp. 66–77, Jan. 1983.Google Scholar
  5. 5.
    Michael J.C. Gordon, “HOL: A Proof Generating System for Higher-Order Logic”, pp. 73–128 of G. Birtwistle and P.A. Subrahmanyam (ed.), VLSI Specification, Verification and Synthesis, Kluwer Academic Publishers, 1988.Google Scholar
  6. 6.
    Michael J.C. Gordon and Tom F. Melham (ed.), Introduction to HOL: A Theorem-Proving Environment for Higher-Order Logic, Cambridge University Press, 1993.Google Scholar
  7. 7.
    Tom F. Melham, The HOL pred_set Library, University of Cambridge Computer Laboratory, Feb. 1992.Google Scholar
  8. 8.
    Adrian Segall, “Distributed Network Protocols”, in IEEE Trans. on Information Theory, Vol. 29, No. 1, pp. 23–35, Jan. 1983.Google Scholar
  9. 9.
    Wai Wong, “A Simple Graph Theory and Its Application in Railway Signalling”, pp. 395–409 of M. Archer et al. (ed.), Proc. of 1991 Workshop on the HOL Theorem Proving System and Its Applications, IEEE Computer Society Press, 1992.Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 1994

Authors and Affiliations

  • Ching-Tsun Chou
    • 1
  1. 1.Computer Science DepartmentUniversity of California at Los AngelesLos AngelesUSA

Personalised recommendations