Back to Search Start Over

Formalizing of Category Theory in Agda

Authors :
Hu, Jason Z. S.
Carette, Jacques
Publication Year :
2020

Abstract

The generality and pervasiness of category theory in modern mathematics makes it a frequent and useful target of formalization. It is however quite challenging to formalize, for a variety of reasons. Agda currently (i.e. in 2020) does not have a standard, working formalization of category theory. We document our work on solving this dilemma. The formalization revealed a number of potential design choices, and we present, motivate and explain the ones we picked. In particular, we find that alternative definitions or alternative proofs from those found in standard textbooks can be advantageous, as well as "fit" Agda's type theory more smoothly. Some definitions regarded as equivalent in standard textbooks turn out to make different "universe level" assumptions, with some being more polymorphic than others. We also pay close attention to engineering issues so that the library integrates well with Agda's own standard library, as well as being compatible with as many of supported type theories in Agda as possible.

Details

Database :
arXiv
Publication Type :
Report
Accession number :
edsarx.2005.07059
Document Type :
Working Paper
Full Text :
https://doi.org/10.1145/3437992.3439922