In the mathematical field of category theory , 2 categories are the simplest examples of higher categories .
definition
A 2-category consists of a class of objects , a class of morphisms between objects and a class of morphisms between morphisms.



That means both

as well as

each form a category .
Examples

- for everyone .

![{\ displaystyle Mor_ {2} (f_ {0}, f_ {1}) = \ left \ {H \ colon X \ times \ left [0,1 \ right] \ to Y \ colon H (x, i) = f_ {i} (x) \ \ forall \ x \ in X, i \ in \ left \ {0,1 \ right \} \ right \}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/92f11f47bd05b9c663f16e1894594db8e811c598)
- for everyone .


- for everyone .

literature
Web links