Formalizing restriction categories

James Chapman, Tarmo Uustalu, Niccolò Veltri

Research output: Contribution to journalArticle

1 Citation (Scopus)
20 Downloads (Pure)

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.
Original languageEnglish
Pages (from-to)1-36
Number of pages36
JournalJournal of Formalized Reasoning
Volume10
Issue number1
DOIs
Publication statusPublished - 10 Mar 2017

    Fingerprint

Keywords

  • restriction categories
  • fuctions
  • Agda formalization

Cite this