Cartesian closed structure on Cat
#
The category of small categories is cartesian closed, with the exponential at a category C
defined by the functor category mapping out of C
.
Adjoint transposition is defined by currying and uncurrying.
TODO: It would be useful to investigate and formalize further compatibilities along the
lines of Cat.ihom_obj
and Cat.ihom_map
, relating currying of functors with currying in
monoidal closed categories and precomposition with left whiskering. These may not be
definitional equalities but may have to be phrased using eqToIso
.
A category C
induces a functor from Cat
to itself defined
by forming the category of functors out of C
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The isomorphism of categories of bifunctors given by currying.
Equations
Instances For
The isomorphism of categories of bifunctors given by flipping the arguments.
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.
Equations
- CategoryTheory.Cat.cartesianClosed = { closed := fun (C : CategoryTheory.Cat) => CategoryTheory.Cat.closed ↑C }