Definition
The notion discussed here is that of a strict 2-category. For the somewhat more general notion that is also loosely referred to by the same name, refer bicategory. The main difference is the loosening of the requirement for strict composition of the 1-morphisms.
Definition as a category enriched over categories
A 2-category is an category enriched over the category of categories (in particular cases, it is usually enough to enrich over the category of locally small categories, which presents fewer foundational hassles).
Raw definition
A 2-category
is the following data:
- Objects: A collection
of objects.
- 1-morphisms: For any objects
, a collection
of morphisms. Every element in
is termed a morphism from
(i.e., with source or domain
) to
(i.e., with target or co-domain
). The morphism sets for different pairs of objects are disjoint. Note that
is also written as
. The collection
is sometimes also denoted
or simply
.
- Identity 1-morphism: For every object
, a distinguished morphism
. This is called the identity morphism of
.
- Composition rule: For
, a map, called composition of morphisms, from
to
. This map is denoted by
.
- 2-morphisms: For any two objects
and any two morphisms
, a collection
of 2-morphisms from
to
. If
is such a morphism, we write
. The collection of such 2-morphisms may be denoted
.
- Identity 2-morphism: For any two objects
and any morphism
, a 2-morphism
.
- Composition of 2-morphisms: For any two objects
, and any three morphisms
, a map
.
- Horizontal composition of 2-morphisms: For any three objects
, with morphisms
and morphisms
, an operator
.
satisfying the following conditions:
- Associativity of composition of 1-morphisms: For
, with
, we have
.
- Identity 1-morphism behaves as an identity: For
, with
, we have
.
- Associativity of composition of 2-morphisms
- Identity 2-morphism behaves as an identity
- Associativity of horizontal composition
Definition in terms of category definition
A 2-category
is a category (that we'll also call
), along with, for every
, a category whose collection of objects is the collection of morphisms from
to
, along with a horizontal composition...Fill this in later