Category of categories #
This file contains the definition of the category Cat of all categories.
In this category objects are categories and
morphisms are functors between these categories.
Implementation notes #
Though Cat is not a concrete category, we use bundled to define
its carrier type.
Category of categories.
Equations
Instances For
The 1-morphism in Cat corresponding to a functor.
Equations
Instances For
The equivalence between the type of functors between two categories and the type of 1-morphisms in Cat between the objects corresponding to those categories.
Equations
Instances For
The equivalence between the type of 1-morphisms in Cat between two objects and the type of functors between the categories corresponding to those objects.
Equations
Instances For
The 2-morphism in Cat corresponding to a natural transformation between functors.
Equations
Instances For
Equations
The 2-iso in Cat corresponding to a natural isomorphism.
Equations
Instances For
The natural isomorphism corresponding to a 2-iso in Cat
Equations
Instances For
Bicategory structure on Cat
Equations
Cat is a strict bicategory.
Category structure on Cat
Equations
The identity in the category of categories equals the identity functor.
Composition in the category of categories equals functor composition.
Functor that gets the set of objects of a category. It is not
called forget, because it is not a faithful functor.
Equations
Instances For
See through the defeq objects.obj X = X.
Equations
Under certain hypotheses, an equivalence of categories actually
defines an isomorphism in Cat.
Equations
Instances For
Embedding Type into Cat as discrete categories.
This ought to be modelled as a 2-functor!