Comma category

A comma category (also sometimes called a slice category) is a construction in category theory, a branch of mathematics. It provides another way of looking at morphisms: instead of simply relating objects of a category to one another, they become objects in their own right. This notion was introduced in 1963 by F. W. Lawvere, although the technique did not become generally known until many years later. Today, it has become particularly important to mathematicians, because several important mathematical concepts can be treated as comma categories. There are also certain guarantees about the existence of limits and colimits in the context of comma categories. The name comes from the notation originally used by Lawvere, which involved the comma punctuation mark. Although standard notation has changed, the use of a comma as an operator being potentially confusing, the name persists.

Contents

Definition

The most general comma category construction involves two converging functors. Typically, one of these will be a "selection" or "constant" functor: many accounts of category theory consider these special cases only, but the term is actually much more general. (A selection functor maps every object in the domain category to the same, fixed object in the codomain category, and every domain morphism to the identity morphism of that fixed object. Often, the choice of domain category is not relevant; typically, the discrete category having only one object is used.)

General form

Suppose that \mathcal{A}, \mathcal{B}, and \mathcal{C} are categories, and T and S are functors

Missing image
CommaCategory-04.png
Image:CommaCategory-04.png

We can form the comma category (T \downarrow S) as follows:

Missing image
CommaCategory-03.png
Morphisms in (T ↓ S)

Morphisms are composed by taking (g, h) \circ (g', h') to be (g \circ g', h \circ h'), whenever the latter expression is defined.

Category of objects under A

The first special case occurs with T being a selection functor, and S an identity functor (so \mathcal{B} = \mathcal{C}). (Then T(α) = A for some fixed A in \mathcal{C} and every α in \mathcal{A}). We then have the category of objects under A, sometimes called objects co-over A, written (A \downarrow \mathcal{C}). This is also known as the coslice category with respect to A. The objects (α,β,f) can be simplified to (β,f), since fixing A makes α irrelevant; and f : T(\alpha) \rightarrow S(\beta) simplifies to f : A \rightarrow \beta - often, f is called something like iβ, to indicate injection. In a similar way, morphisms like (g, h) : (B, i_B) \rightarrow (B', i_{B'}) reduce to simply h : B \rightarrow B', as g is just the identity morphism on A. The following must be a commutative diagram:

Missing image
CommaCategory-02.png
Image:CommaCategory-02.png

Category of objects over A

Similarly, T might be an identity functor and S a selection functor: this is the category of objects over A (where A is the object of \mathcal{C} selected by S), written (\mathcal{C} \downarrow A). This is also known as the slice category over A. It is the dual concept to objects-under-A. The objects are pairs (β,πβ) with \pi_\beta : \beta \rightarrow A; the π stands for projection onto A. Given (BB) and (B',πB'), a morphism in the comma category is a map g : B \rightarrow B' making the following diagram commute:

Missing image
CommaCategory-01.png
Image:CommaCategory-01.png

Other variations

In either of these two cases, the identity functor may be replaced with some other functor; this yields a family of categories particularly useful in the study of adjoint functors. For example, if S is the forgetful functor mapping an abelian group to its underlying set, and t is the set selected by T, then (t \downarrow S) is a comma category whose objects are maps from t to certain sets. This relates to the left adjoint of S, which is the functor that maps a set to the free abelian group having that set as its basis: some of the objects of (t \downarrow S) will be sets underlying such groups.

Another special case occurs when both S and T are selection functors. If S selects A and T selects B, then the comma category produced is equivalent to the set of morphisms between A and B. (Strictly, it is a discrete category - all the morphisms are identity morphisms - which may be identified with the set of its objects.)

Examples of use

Some notable categories

Several interesting categories have a natural definition in terms of comma categories.

Limits and universal morphisms

Colimits in comma categories may be "inherited". There is a theorem which says that if \mathcal{A} and \mathcal{B} are cocomplete, T : \mathcal{A} \rightarrow \mathcal{C} is a cocontinuous functor, and S : \mathcal{B} \rightarrow \mathcal{C} another functor (not necessarily cocontinuous), then the comma category (T \downarrow S) produced will also be cocomplete. For example, in the above construction of the category of graphs, the category of sets is cocomplete, and the identity functor is cocontinuous: so graphs are also cocomplete - all (small) limits exist. This result is much harder to obtain directly. See Limit (category theory) for more information on the terminology used in this example.

The notion of a universal morphism to a particular colimit, or from a limit, can be expressed in terms of a comma category. Essentially, we create a category whose objects are cones, and where the limiting cone is a terminal object; then, each universal morphism for the limit is just the morphism to the terminal object. This works in the dual case, with a category of cocones having an initial object. For example, let \mathcal{C} be a category with F : \mathcal{C} \rightarrow \mathcal{C} \times \mathcal{C} the functor taking each object c to (c,c) and each arrow f to (f,f). A universal morphism from (a,b) to F consists, by definition, of an object (c,c) and morphism \rho : (a, b) \rightarrow (c, c) with the universal property that for any morphism \rho' : (a, b) \rightarrow (d, d) there is a unique morphism \sigma : c \rightarrow d with F(\sigma) \circ \rho = \rho'. In other words, it is an object in the comma category ((a, b) \downarrow F) having a morphism to any other object in that category; it is initial. This serves to define the coproduct in \mathcal{C}, when it exists.

Adjunctions

Lawvere showed that the functors F : \mathcal{C} \rightarrow \mathcal{D} and G : \mathcal{D} \rightarrow \mathcal{C} are adjoint if and only if the comma categories (F \downarrow \mathcal{D}) and (\mathcal{C} \downarrow G) are isomorphic, and equivalent elements in the comma category can be projected onto the same element of \mathcal{C} \times \mathcal{D}. This allows adjunctions to be described without involving sets, and was in fact the original motivation for introducing comma categories.

See also: Comma category, 1963, Abelian group, Adjoint functor, Adjoint functors, Cartesian closed, Category (mathematics), Category of sets, Category theory, Colimit