Formalizing Restriction Categories

Authors

  • James Chapman
  • Tarmo Uustalu
  • Niccolò Veltri

DOI:

https://doi.org/10.6092/issn.1972-5787/6237

Abstract

Restriction categories are an abstract axiomatic framework by Cockett and Lack for reasoning about (generalizations of the idea of) partiality of functions. In a restriction category, every map defines an endomap on its domain, the corresponding partial identity map. Restriction categories cover a number of examples of different flavors and are sound and complete with respect to the more synthetic and concrete partial map categories. A partial map category is based on a given category (of total maps) and a map in it is a map from a subobject of the domain. In this paper, we report on an Agda formalization of the first chapters of the theory of restriction categories, including the challenging completeness result. We explain the mathematics formalized, comment on the design decisions we made for the formalization, and illustrate them at work.

Downloads

Published

2017-03-10

How to Cite

Chapman, J., Uustalu, T., & Veltri, N. (2017). Formalizing Restriction Categories. Journal of Formalized Reasoning, 10(1), 1–36. https://doi.org/10.6092/issn.1972-5787/6237

Issue

Section

Articles