Computer Laboratory

Technical reports

Relational properties of domains

Andrew M. Pitts

December 1993, 38 pages

Abstract

New tools are presented for reasoning about properties of recursively defined domains. We work within a general, category-theoretic framework for various notions of ‘relation’ on domains and for actions of domain constructors on relations. Freyd’s analysis of recursive types in terms of a property of mixed initiality/finality is transferred to a corresponding property of invariant relations. The existence of invariant relations is proved under completeness assumptions about the notion of relation. We show how this leads to simpler proofs of the computational adequacy of denotational semantics for functional programming languages with user-declared datatypes. We show how the initiality/finality property of invariant relations can be specialized to yield an induction principle for admissible subsets of recursively defined domains, generalizing the principle of structural induction for inductively defined sets. We also show how the initiality/finality property gives rise to the co-induction principle studied by the author (in UCAM-CL-TR-252), by which equalities between elements of recursively defined domains may be proved via an appropriate notion of ‘bisimulation’.

Full text

PS (0.2 MB)

BibTeX record

@TechReport{UCAM-CL-TR-321,
  author =	 {Pitts, Andrew M.},
  title = 	 {{Relational properties of domains}},
  year = 	 1993,
  month = 	 dec,
  url = 	 {http://www.cl.cam.ac.uk/techreports/UCAM-CL-TR-321.ps.gz},
  institution =  {University of Cambridge, Computer Laboratory},
  number = 	 {UCAM-CL-TR-321}
}