Comma category

In mathematics, a comma category (a special case being a slice category) is a construction in category theory. It provides another way of looking at morphisms: instead of simply relating objects of a category to one another, morphisms become objects in their own right. This notion was introduced in 1963 by F. W. Lawvere (Lawvere, 1963 p. 36), although the technique did not become generally known until many years later. Several mathematical concepts can be treated as comma categories. Comma categories also guarantee the existence of some limits and colimits. The name comes from the notation originally used by Lawvere, which involved the comma punctuation mark. Although standard notation has changed since the use of a comma as an operator is potentially confusing, and even Lawvere dislikes the uninformative term "comma category" (Lawvere, 1963 p. 13), the name still persists.

Definition

The most general comma category construction involves two functors with the same codomain. Often one of these will have domain 1 (the one-object one-morphism category). Some accounts of category theory consider only these special cases, but the term comma category is actually much more general.

General form

Suppose that \mathcal{A}, \mathcal{B}, and \mathcal{C} are categories, and S and T (for source and target) are functors

\mathcal A \xrightarrow{\;\; S\;\;} \mathcal C\xleftarrow{\;\; T\;\;} \mathcal B

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

\begin{matrix} S(\alpha) & \xrightarrow{S(g)} & S(\alpha')\\ f \Bigg\downarrow & & \Bigg\downarrow f'\\ T(\beta) & \xrightarrow[T(h)]{} & T(\beta') \end{matrix}

Morphisms are composed by taking (g, h) \circ (g', h') to be (g \circ g', h \circ h'), whenever the latter expression is defined. The identity morphism on an object (\alpha, \beta, f) is (\mathrm{id}_{\alpha}, \mathrm{id}_{\beta}).

Slice category

The first special case occurs when \mathcal A = \mathcal{C}, S is the identity functor, and \mathcal{B}=\textbf{1} (the category with one object * and one morphism). Then T(*) = A for some object A in \mathcal{C}. In this case, the comma category is written (\mathcal{C} \downarrow A), and is often called the slice category over A or the category of objects over A. The objects (\alpha, *, f) can be simplified to pairs (\alpha, f), where f : \alpha \rightarrow A. Sometimes, f is denoted \pi_\alpha. A morphism from (B, \pi_B) to (B', \pi_{B'}) in the slice category is then an arrow g : B \rightarrow B' making the following diagram commute:

Coslice category

The dual concept to a slice category is a coslice category. Here, S has domain 1 and T is an identity functor. In this case, the comma category is often written (A\downarrow \mathcal{C}), where A is the object of \mathcal{C} selected by S. It is called the coslice category with respect to A, or the category of objects under A. The objects are pairs (B, i_B) with i_B : A \rightarrow B. Given (B, i_B) and (B', i_{B'}), a morphism in the coslice category is a map h : B \rightarrow B' making the following diagram commute:

Arrow category

S and T are identity functors on \mathcal{C} (so \mathcal{A} = \mathcal{B} = \mathcal{C}). In this case, the comma category is the arrow category \mathcal{C}^\rightarrow. Its objects are the morphisms of \mathcal{C}, and its morphisms are commuting squares in \mathcal{C}.[1]

Other variations

In the case of the slice or coslice category, 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 T is the forgetful functor mapping an abelian group to its underlying set, and s is some fixed set (regarded as a functor from 1), then the comma category (s \downarrow T) has objects that are maps from s to a set underlying a group. This relates to the left adjoint of T, which is the functor that maps a set to the free abelian group having that set as its basis. In particular, the initial object of (s \downarrow T) is the canonical injection s\rightarrow T(G), where G is the free group generated by s.

An object of (s \downarrow T) is called a morphism from s to T or a T-structured arrow with domain s in.[1] An object of (S \downarrow t) is called a morphism from S to t or a S-costructured arrow with codomain t in.[1]

Another special case occurs when both S and T are functors with domain 1. If S(*)=A and T(*)=B, then the comma category (S \downarrow T), written (A\downarrow B), is the discrete category whose objects are morphisms from A to B.

Properties

For each comma category there are forgetful functors from it.

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". If \mathcal{A} and \mathcal{B} are cocomplete, S : \mathcal{A} \rightarrow \mathcal{C} is a cocontinuous functor, and T : \mathcal{B} \rightarrow \mathcal{C} another functor (not necessarily cocontinuous), then the comma category (S \downarrow T) 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) colimits exist. This result is much harder to obtain directly.

If \mathcal{A} and \mathcal{B} are complete, and both S : \mathcal{A} \rightarrow \mathcal{C} and T : \mathcal{B} \rightarrow \mathcal{C} are continuous functors,[2] then the comma category (S \downarrow T) is also complete, and the projection functors (S\downarrow T) \rightarrow \mathcal{A} and (S\downarrow T) \rightarrow \mathcal{B} are limit preserving.

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 id_\mathcal{D}) and (id_\mathcal{C} \downarrow G), with id_\mathcal{D} and id_\mathcal{C} the identity functors on \mathcal{C} and \mathcal{D} respectively, 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.

Natural transformations

If the domains of S, T are equal, then the diagram which defines morphisms in S\downarrow T with \alpha=\beta, \alpha'=\beta', g=h is identical to the diagram which defines a natural transformation S\to T. The difference between the two notions is that a natural transformation is a particular collection of morphisms of type of the form S(\alpha)\to T(\alpha), while objects of the comma category contains all morphisms of type of such form. A functor to the comma category selects that particular collection of morphisms. This is described succinctly by an observation by Huq that a natural transformation \eta:S\to T, with S, T:\mathcal A \to \mathcal C, corresponds to a functor \mathcal A \to (S\downarrow T) which maps each object \alpha to (\alpha, \alpha, \eta_\alpha) and maps each morphism g to (g, g). This is a bijective correspondence between natural transformations S\to T and functors \mathcal A \to (S\downarrow T) which are sections of both forgetful functors from S\downarrow T.

References

  1. 1.0 1.1 1.2 Adámek, Jiří; Herrlich, Horst; Strecker, George E. (1990). Abstract and Concrete Categories (PDF). John Wiley & Sons. ISBN 0-471-60922-6.
  2. See I. 2.16.1 in Francis Borceux (1994), Handbook of Categorical Algebra 1, Cambridge University Press. ISBN 0-521-44178-1.

External links