Relative Monads Formalised

Thorsten Altenkirch, James Chapman, Tarmo Uustalu

Abstract


Relative monads are a generalisation of ordinary monads where the underlying functor need not be an endofunctor. In this paper, we describe a formalisation of the basic theory of relative monads in the interactive theorem prover and dependently typed programming language Agda. The formalisation comprises the requisite basic category theory, the central concepts of the theory of relative monads and adjunctions, which are compared to their ordinary counterparts, and two running examples from programming theory. 


Full Text:

PDF (English)


DOI: 10.6092/issn.1972-5787/4389

Copyright (c) 2014 Thorsten Altenkirch, James Chapman, Tarmo Uustalu

Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 Unported License.