Showing changes from revision #9 to #10:
Added | Removed | Changed
The definition of functor in homotopy type theory is a straightforward translation of the ordinary one. However, the notion of (univalent) category allows us to construct some such functors that in classical mathematics would require either the (classical) axiom of choice or the use of anafunctors.
Let and be precategories. Informally, a functor consists of
Formally, the type of functors from to is
A formal definition in Coq? can be found in Ahrens-Kapulkin-Shulman 13.
By induction on identity, a functor also preserves (See precategory).
For functors and , their composite is given by
Composition of functors is associative .
Proof: Since composition of functions is associative, this follows immediately for the actions on objects and on homs. And since hom-sets are sets, the rest of the data is automatic.
Lemma 9.2.9 is coherent, i.e. the following pentagon of equalities commutes:
Category theory natural transformation full functor faithful functor
Benedikt Ahrens, Chris Kapulkin, Michael Shulman, section 4 of Univalent categories and the Rezk completion, Mathematical Structures in Computer Science 25.5 (2015): 1010-1039 (arXiv:1303.0584)
Univalent Foundations Project, section 9.2 of Homotopy Type Theory – Univalent Foundations of Mathematics, IAS 2013
Coq? code formalizing the concept of functors includes the following: