In
mathematics
Mathematics is an area of knowledge that includes the topics of numbers, formulas and related structures, shapes and the spaces in which they are contained, and quantities and their changes. These topics are represented in modern mathematics ...
, a 2-functor is a morphism between
2-categories
In category theory, a strict 2-category is a category with "morphisms between morphisms", that is, where each hom-set itself carries the structure of a category. It can be formally defined as a category enriched over Cat (the category of catego ...
. They may be defined formally using
enrichment
Enrichment may refer to:
* Behavioral enrichment, the practice of providing animals under managed care with stimuli such as natural and artificial objects
* Data enrichment, appending or enhancing data with relevant context from other sources, se ...
by saying that a 2-category is exactly a ''Cat''-enriched category and a 2-functor is a ''Cat''-functor.
Explicitly, if ''C'' and ''D'' are 2-categories then a 2-functor
consists of
* a function
, and
* for each pair of objects
a functor
such that each
strictly preserves identity objects and they commute with horizontal composition in ''C'' and ''D''.
See
for more details and for
lax versions.
References
Functors
Higher category theory
{{categorytheory-stub