The category of functors and natural transformations between two fixed categories. #
We provide the category instance on C ⥤ D
, with morphisms the natural transformations.
Universes #
If C
and D
are both small categories at the same universe level,
this is another small category at that level.
However if C
and D
are both large categories at the same universe level,
this is a small category at the next higher level.
Functor.category C D
gives the category structure on functors and natural transformations
between categories C
and D
.
Notice that if C
and D
are both small categories at the same universe level,
this is another small category at that level.
However if C
and D
are both large categories at the same universe level,
this is a small category at the next higher level.
Equations
A natural transformation is a monomorphism if each component is.
A natural transformation is an epimorphism if each component is.
The monoid of natural transformations of the identity is commutative.
hcomp α β
is the horizontal composition of natural transformations.
Equations
Instances For
Notation for horizontal composition of natural transformations.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Flip the arguments of a bifunctor. See also Currying.lean
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The functor (C ⥤ D ⥤ E) ⥤ D ⥤ C ⥤ E
which flips the variables.
Equations
- One or more equations did not get rendered due to their size.