Definition
A 2-category
is the following data:
- Objects: A collection
of objects.
- 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 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 morphisms: For
, with
, we have
.
- Identity 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