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
- CategoryTheory.Functor.category = CategoryTheory.Category.mk ⋯ ⋯ ⋯
A natural transformation is a monomorphism if each component is.
A natural transformation is an epimorphism if each component is.
hcomp α β
is the horizontal composition of natural transformations.
Equations
- α ◫ β = { app := fun (X : C) => CategoryTheory.CategoryStruct.comp (β.app (F.obj X)) (I.map (α.app X)), naturality := ⋯ }
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.