Dependently-typed formalisation of relation-algebraic abstractions

  • Authors:
  • Wolfram Kahl

  • Affiliations:
  • McMaster University, Hamilton, Ontario, Canada

  • Venue:
  • RAMICS'11 Proceedings of the 12th international conference on Relational and algebraic methods in computer science
  • Year:
  • 2011

Quantified Score

Hi-index 0.00

Visualization

Abstract

We present a formalisation in the dependently-typed programming language Agda2 of basic category and allegory theory, and of generalised algebras where function symbols are interpreted in a parameter category. We use this nestable algebra construction as the basis for nestable category and allegory constructions, ultimately aiming at a formalised foundation of the algebraic approach to graph transformation, which uses constructions in categories of graph structures considered as unary algebras. The features of Agda permit strongly-typed programming with these nested algebras and with relational homomorphisms between them in a natural mathematical style and with remarkable ease, far beyond what can be achieved even in Haskell.