nLab geometry of physics - universal constructions

Universal constructions

Universal constructions

What makes category theory be theory, as opposed to just a language, is the concept of universal constructions. This refers to the idea of objects with a prescribed property which are universal with this property, in that they “know about” or “subsume” every other object with that same kind of property. Category theory allows to make precise what this means, and then to discover and prove theorems about it.

Universal constructions are all over the place in mathematics. Iteratively finding the universal constructions in a prescribed situation essentially amounts to systematically following the unravelling of the given situation or problem or theory that one is studying.

There are several different formulations of the concept of universal constructions, discussed below:

But these three kinds of constructions all turn out to be special cases of each other, hence they really reflect different perspectives on a single topic of universal constructions. In fact, all three are also special cases of the concept of adjunction (Def. ), thus re-amplifying that category theory is really the theory of adjunctions and hence, if we follow (Lambek 82), of duality.

\,

Limits and colimits

Maybe the most hands-on version of universal constructions are limits (Def. below), which is short for limiting cones (Remark below). The formally dual concept (Example ) is called colimits (which are hence limits in an opposite category). Other terminology is in use, too:

A\phantom{A} lim\underset{\longleftarrow}{\lim} A\phantom{A}A\phantom{A} lim\underset{\longrightarrow}{\lim} A\phantom{A}
A\phantom{A} limit A\phantom{A}A\phantom{A} colimit A\phantom{A}
A\phantom{A} inverse limit A\phantom{A}A\phantom{A} direct limitA\phantom{A}

There is a variety of different kinds of limits/colimits, depending on the diagram shape that they are limiting (co-)cones over. This includes universal constructions known as equalizers, products, fiber products/pullbacks, filtered limits and various others, all of which are basic tools frequently used whenever category theory applies.

A key fact of category theory, regarding limits, is that right adjoints preserve limits and left adjoints preserve colimits (Prop. below). This will be used all the time. A partial converse to this statement is that if a functor preserves limits/colimits, then its adjoint functor is, if it exists, objectwise given by a limit/colimit over a comma category under/over the given functor (Prop. below). Since these comma categories are in general not small, this involves set-theoretic size subtleties that are dealt with by the adjoint functor theorem (Remark below). We discuss in detail a very special but also very useful special case of this in Prop. , further below.

\,

Definition

(limit and colimit)

Let 𝒞\mathcal{C} be a small category (Def. ), and let 𝒟\mathcal{D} be any category (Def. ). In this case one also says that a functor

F:𝒞𝒟 F \;\colon\; \mathcal{C} \longrightarrow \mathcal{D}

is a diagram of shape 𝒞\mathcal{C} in 𝒟\mathcal{D}.

Recalling the functor category (Example ) [𝒞,𝒟][\mathcal{C}, \mathcal{D}], there is the constant diagram-functor

const:𝒟[𝒞,𝒟] const \;\colon\; \mathcal{D} \longrightarrow [\mathcal{C}, \mathcal{D}]

which sends an object X𝒟X \in \mathcal{D} to the functor that sends every c𝒞c \in \mathcal{C} to XX, and every morphism in 𝒞\mathcal{C} to the identity morphism on XX. Accordingly, every morphism in 𝒟\mathcal{D} is sent by constconst to the natural transformation (Def. ) all whose components are equal to that morphism.

Now:

  1. if constconst has a right adjoint (Def. ), this is called the construction of forming the limiting cone of 𝒞\mathcal{C}-shaped diagrams in 𝒟\mathcal{D}, or just limit (or inverse limit) for short, and denoted

    lim𝒞:[𝒞,𝒟]𝒟 \underset{\underset{\mathcal{C}}{\longleftarrow}}{\lim} \;\colon\; [\mathcal{C}, \mathcal{D}] \longrightarrow \mathcal{D}
  2. if constconst has a left adjoint (Def. ), this is called the construction of forming the colimiting cocone of 𝒞\mathcal{C}-shaped diagrams in 𝒟\mathcal{D}, or just colimit (or direct limit) for short, and denoted

    lim𝒞:[𝒞,𝒟]𝒟 \underset{\underset{\mathcal{C}}{\longrightarrow}}{\lim} \;\colon\; [\mathcal{C}, \mathcal{D}] \longrightarrow \mathcal{D}
(1)[𝒞,𝒟]AAlim𝒞AA AAconstAA AAlim𝒞AA𝒟. [\mathcal{C}, \mathcal{D}] \array{ \overset{ \phantom{AA}\underset{\underset{\mathcal{C}}{\longrightarrow}}{\lim} \phantom{AA} }{\longrightarrow} \\ \overset{\phantom{AA} const \phantom{AA} }{ \longleftarrow } \\ \overset{ \phantom{AA} \underset{\underset{\mathcal{C}}{\longleftarrow}}{\lim} \phantom{AA}}{\longrightarrow} } \mathcal{D} \,.

If lim𝒞\underset{\underset{\mathcal{C}}{\longleftarrow}}{\lim} (lim𝒞\underset{\underset{\mathcal{C}}{\longrightarrow}}{\lim}) exists for a given 𝒟\mathcal{D}, one says that 𝒟\mathcal{D} has all limits (_has all colimits_) of shape 𝒞\mathcal{C}_ or that all limits (colimits) of shape 𝒟\mathcal{D} exist in 𝒟\mathcal{D}. If this is the case for all small diagrams 𝒞\mathcal{C}, one says that 𝒟\mathcal{D} has all limits (_has all colimits_) or that all limits exist in 𝒟\mathcal{D}, (_all colimits exist in 𝒟\mathcal{D}.)

Remark

(limit cones)

Unwinding Definition of limits and colimits, it says the following.

First of all, for d𝒟d \in \mathcal{D} any object and F:𝒞𝒟F \;\colon\; \mathcal{C} \longrightarrow \mathcal{D} any functor, a natural transformation (Def. ) of the form

(2)const diF const_d \overset{i}{\Rightarrow} F

has component morphisms

d i c F(c) \array{ d \\ \big\downarrow^{\mathrlap{i_c}} \\ F(c) }

in 𝒟\mathcal{D}, for each c𝒞c \in \mathcal{C}, and the naturality condition (?) says that these form a commuting diagram (Def. ) of the form

(3) d i c 1 i c 2 F(c 1) AAF(f)AA F(c 2) \array{ && d \\ & {}^{\mathllap{ i_{c_1} } }\swarrow && \searrow^{\mathrlap{ i_{c_2} }} \\ F(c_1) && \underset{ \phantom{AA} F(f) \phantom{AA} }{\longrightarrow} && F(c_2) }

for each morphism c 1fc 2c_1 \overset{f}{\to} c_2 in 𝒞\mathcal{C}. Due to the look of this diagram, one also calls such a natural transformation a cone over the functor FF.

Now the counit (Def. ) of the (constlim)(const \dashv \underset{\longleftarrow}{\lim})-adjunction (1) is a natural transformation of the form

const limFAAϵ FAAF const_{\underset{\longleftarrow}{\lim} F} \overset{ \phantom{AA} \epsilon_{F} \phantom{AA} }{\longrightarrow} F

and hence is, in components, a cone (3) over FF:

(4) limF ϵ F(c 1) ϵ F(c 2) F(c 1) AAF(f)AA F(c 2) \array{ && \underset{\longleftarrow}{\lim} F \\ & {}^{\mathllap{ \epsilon_F(c_1) } }\swarrow && \searrow^{\mathrlap{ \epsilon_F(c_2) }} \\ F(c_1) && \underset{ \phantom{AA} F(f) \phantom{AA} }{\longrightarrow} && F(c_2) }

to be called the limiting cone over FF

But the universal property of adjunctions says that this is a very special cone: By Prop. the defining property of the limit is equivalently that for every natural transformation of the form (2), hence for every cone of the form (3), there is a unique natural transformation

const d i˜ const lim \array{ const_d &\overset{\widetilde i}{\Rightarrow}& const_{ \underset{ \longleftarrow }{\lim} } }

which, due to constancy of the two functors applied in the naturality condition (?), has a constant component morphism

(5)di˜limF d \overset{ \widetilde i }{\longrightarrow} \underset{\longleftarrow}{\lim} F

such that

const d i˜ const limF ϵ F i F \array{ const_d && \overset{\widetilde i}{\longrightarrow} && const_{ \underset{\longleftarrow}{\lim} F } \\ & {}_{\mathllap{ \epsilon_F }} \searrow && \swarrow_{ \mathrlap{i} } \\ && F }

hence such that (5) factors the given cone (3) through the special cone (4):

d i c 1 i c 2 F(c 1) AAF(f)AAF(c 2)AAA=AAA d i˜ limF ϵ F(c 1) ϵ F(c 2) F(c 1) AAF(f)AAF(c 2) \array{ && d \\ & {}^{\mathllap{ i_{c_1} } }\swarrow && \searrow^{\mathrlap{ i_{c_2} }} \\ F(c_1) && \underset{ \phantom{AA} F(f) \phantom{AA} }{\longrightarrow} F(c_2) } \phantom{AAA} = \phantom{AAA} \array{ && d \\ && \big\downarrow^{ \mathrlap{ \widetilde i } } \\ && \underset{\longleftarrow}{\lim} F \\ & {}^{\mathllap{ \epsilon_F(c_1) } }\swarrow && \searrow^{\mathrlap{ \epsilon_F(c_2) }} \\ F(c_1) && \underset{ \phantom{AA} F(f) \phantom{AA} }{\longrightarrow} F(c_2) }

In this case one also says that i˜\widetilde i is a morphism of cones.

Hence a limit cone is a cone over FF, such that every other cone factors through it in a unique way.

Of course this concept of (co)limiting cone over a functor F:𝒞𝒟F \;\colon\; \mathcal{C} \to \mathcal{D} makes sense also when

  1. 𝒞\mathcal{C} is not small,

  2. and/or when a (co-)limiting cone exists only for some but not for all functors of this form.

Example

(terminal/initial object is empty limit/colimit)

Let 𝒞\mathcal{C} be a category, and let *𝒞\ast \in \mathcal{C} be an object. The following are equivalent:

  1. *\ast is a terminal object of 𝒞\mathcal{C} (Def. );

  2. *\ast is the limit of the empty diagram.

And formally dual (example ): Let 𝒞\emptyset \in \mathcal{C} be an object. The following are equivalent:

  1. \emptyset is an initial object of 𝒞\mathcal{C} (Def. );

  2. \emptyset is the colimit of the empty diagram.

Proof

We discuss the case of the terminal object, the other case is formally dual (Example ).

It suffices to observe that a cone over the empty diagram (Remark ) is clearly just a plain object of 𝒞\mathcal{C}. Hence a morphism of such cones is just a plain morphism of 𝒞\mathcal{C}. This way the condition on a limiting cone is now manifestly the same as the condition on a terminal object.

Example

(initial object is limit over identity functor)

Let 𝒞\mathcal{C} be a category, and let 𝒞\emptyset \in \mathcal{C} be an object. The following are equivalent:

  1. \emptyset is an initial object of 𝒞\mathcal{C} (Def. );

  2. \emptyset is the tip of a limit cone (Remark ) over the identity functor on 𝒞\mathcal{C}.

Proof

First let \emptyset be an initial object. Then, by definition, it is the tip of a unique cone over the identity functor

(6)const AA i i c 1 i c 2 id 𝒞 c 1 f c 2 \array{ const_{\emptyset}&\phantom{AA}& && \emptyset \\ {}^{\mathllap{i^{\emptyset}}}\Downarrow && & {}^{\mathllap{i^{\emptyset}_{c_1}}}\swarrow && \searrow^{\mathrlap{i^{\emptyset}_{c_2}}} \\ id_{\mathcal{C}} && c_1 && \underset{f}{\longrightarrow} && c_2 }

We need to show that that every other cone i xi^x

const x AA x i x i c 1 x i c 2 x id 𝒞 c 1 f c 2 \array{ const_{x}&\phantom{AA}& && x \\ {}^{\mathllap{\mathllap{i^x}}}\Downarrow && & {}^{i^x_{c_1}}\swarrow && \searrow^{\mathrlap{i^x_{c_2}}} \\ id_{\mathcal{C}} && c_1 && \underset{f}{\longrightarrow} && c_2 }

factors uniquely through i i^\emptyset.

First of all, since the cones are over the identity functor, there is the component i x:xi^x_{\emptyset} \;\colon\; x \to \emptyset, and it is a morphism of cones.

To see that this is the unique morphism of cones, consider any morphism of cones j xj^x_\emptyset, hence a morphism in 𝒞\mathcal{C} such that i c x=i c j xi^x_c = i^\emptyset_c \circ j^x_\emptyset for all c𝒞c \in \mathcal{C}. Taking here c=c = \emptyset yields

i x =i =id j x =j x, \begin{aligned} i^x_\emptyset & = \underset{ = id_\emptyset }{\underbrace{i^\emptyset_{\emptyset}}} \circ j^x_{\emptyset} \\ & = j^x_\emptyset \,, \end{aligned}

where under the brace we used that \emptyset is initial. This proves that i i^\emptyset is the limiting cone.

For the converse, assume now that i i^\emptyset is a limiting cone over the identity functor, with labels as in (6). We need to show that its tip \emptyset is an initial object.

Now the cone condition applied for any object x𝒞x \in \mathcal{C} over the morphims fi x f \coloneqq i^\emptyset_x says that

i x i =i x i^{\emptyset}_x \circ i^\emptyset_\emptyset = i^\emptyset_x

which means that i i^\emptyset_\emptyset constitutes a morphism of cones from i i^\emptyset to itself. But since i i^\emptyset is assumed to be a limiting cone, and since the identity morphism on \emptyset is of course also a morphism of cones from i i^\emptyset to itsely, we deduce that

(7)i =id . i^\emptyset_\emptyset \;=\; id_{\emptyset} \,.

Now consider any morphism of the form fx\emptyset \overset{f}{\to} x. Since we already have the morphism i x x\emptyset \overset{i^\emptyset_x}{\to} x, to show initiality of \emptyset we need to show that f=i x f = i^\emptyset_x.

Indeed, the cone condition of i x i^\emptyset_x applied to ff now yields

i x =fi =id =f, \begin{aligned} i^\emptyset_x & = f \circ \underset{ = id_{\emptyset} }{\underbrace{i^\emptyset_\emptyset}} \\ & = f\,, \end{aligned}

where under the brace we used (7).

Example

(limits of presheaves are computed objectwise)

Let 𝒞\mathcal{C} be a category and write [𝒞 op,Set][\mathcal{C}^{op}, Set] for its category of presheaves (Example ). Let moreover 𝒟\mathcal{D} be a small category and consider any functor

F:𝒟[𝒞 op,𝒟], F \;\colon\; \mathcal{D} \longrightarrow [\mathcal{C}^{op}, \mathcal{D}] \,,

hence a 𝒟\mathcal{D}-shaped diagram in the category of presheaves.

Then

  1. The limit (Def. ) of FF exists, and is the presheaf which over any object c𝒞c \in \mathcal{C} is given by the limit in Set of the values of the presheaves at cc:

    (limd𝒟F(d))(c)limd𝒟F(d)(c) \left( \underset{\underset{d \in \mathcal{D}}{\longleftarrow}}{\lim} F(d) \right)(c) \;\simeq\; \underset{\underset{d \in \mathcal{D}}{\longleftarrow}}{\lim} F(d)(c)
  2. The colimit (Def. ) of FF exists, and is the presheaf which over any object c𝒞c \in \mathcal{C} is given by the colimit in Set of the values of the presheaves at cc:

    (limd𝒟F(d))(c)limd𝒟F(d)(c) \left( \underset{\underset{d \in \mathcal{D}}{\longrightarrow}}{\lim} F(d) \right)(c) \;\simeq\; \underset{\underset{d \in \mathcal{D}}{\longrightarrow}}{\lim} F(d)(c)
Proof

We discuss the case of limits, the other case is formally dual (Example ).

Observe that there is a canonical equivalence (Def. )

[𝒟,[𝒞 op,Set]][𝒟×𝒞 op,Set] [\mathcal{D}, [\mathcal{C}^{op}, \Set]] \simeq [\mathcal{D} \times \mathcal{C}^{op}, Set]

where 𝒟×𝒞 op\mathcal{D} \times \mathcal{C}^{op} is the product category.

This makes manifest that a functor F:𝒟[𝒞 op,Set]F \;\colon\; \mathcal{D} \to [\mathcal{C}^{op}, Set] is equivalently a diagram of the form

F(d 1)(c 2) AA F(d 2)(c 2) F(d 1)(c 1) AA F(d 2)(c 1) \array{ && \vdots && && \vdots \\ && \big\downarrow && && \big\downarrow \\ \cdots &\longrightarrow& F(d_1)(c_2) && \overset{\phantom{AA}}{\longrightarrow} && F(d_2)(c_2) &\longrightarrow& \cdots \\ && \big\downarrow && && \big\downarrow \\ \cdots &\longrightarrow& F(d_1)(c_1) && \overset{\phantom{AA}}{\longrightarrow} && F(d_2)(c_1) &\longrightarrow& \cdots \\ && \big\downarrow && && \big\downarrow \\ && \vdots && && \vdots }

Then observe that taking the limit of each “horizontal row” in such a diagram indead does yield a presheaf on 𝒞\mathcal{C}, in that the construction extends from objects to morphisms, and uniquely so: This is because for any morphism c 1gc 2c_1 \overset{g}{\to} c_2 in 𝒞\mathcal{C}, a cone over F()(c 2)F(-)(c_2) (Remark ) induces a cone over F()(c 1)F(-)(c_1), by vertical composition with F()(g)F(-)(g)

limd𝒟F(d)(c 2) F(d 1)(c 2) AA F(d 2)(c 2) F(d 1)(g) F(d 2)(g) F(d 1)(c 1) AA F(d 2)(c 1) \array{ && \underset{\underset{d \in \mathcal{D}}{\longleftarrow}}{lim} F(d)(c_2) \\ & {}^{ }\swarrow && \searrow \\ F(d_1)(c_2) && \overset{\phantom{AA}}{\longrightarrow} && F(d_2)(c_2) \\ {}^{\mathllap{F(d_1)(g)}}\big\downarrow && && \big\downarrow^{\mathrlap{F(d_2)(g)}} \\ F(d_1)(c_1) && \overset{\phantom{AA}}{\longrightarrow} && F(d_2)(c_1) }

From this, the universal property of limits of sets (as in Remark ) implies that there is a unique morphism between the pointwise limits which constitutes a presheaf over 𝒞\mathcal{C}

limd𝒟F(d)(c 2) limd𝒟F(d)(g) limd𝒟F(d)(c 1) \array{ \underset{\underset{d \in \mathcal{D}}{\longleftarrow}}{lim} F(d)(c_2) \\ \big\downarrow^{\mathrlap{ \underset{\underset{d \in \mathcal{D}}{\longleftarrow}}{lim} F(d)(g) }} \\ \underset{\underset{d \in \mathcal{D}}{\longleftarrow}}{lim} F(d)(c_1) }

and that is the tip of a cone over the diagram F()F(-) in presheaves.

Hence it remains to see that this cone of presheaves is indeed universal.

Now if II is any other cone over FF in the category of presheaves, then by the universal property of the pointswise limits, there is for each c𝒞c \in \mathcal{C} a unique morphism of cones in sets

I(c)limd𝒟F(d)(c). I(c) \longrightarrow \underset{\underset{d \in \mathcal{D}}{\longleftarrow}}{lim} F(d)(c) \,.

Hence there is at most one morphisms of cones of presheaves, namely if these components make all their naturality squares commute.

I(c 2) limd𝒟F(d)(c 2) I(c 1) limd𝒟F(d)(c 1). \array{ I(c_2) &\longrightarrow& \underset{\underset{d \in \mathcal{D}}{\longleftarrow}}{lim} F(d)(c_2) \\ \big\downarrow && \big\downarrow \\ I(c_1) &\longrightarrow& \underset{\underset{d \in \mathcal{D}}{\longleftarrow}}{lim} F(d)(c_1) } \,.

But since everything else commutes, the two ways of going around this diagram constitute two morphisms from a cone over F()(c 1)F(-)(c_1) to the limit cone over F()(c 1)F(-)(c_1), and hence they must be equal, by the universal property of limits.

Proposition

(hom-functor preserves limits)

Let 𝒞\mathcal{C} be a category and write

Hom 𝒞:𝒞 op×𝒞Set Hom_{\mathcal{C}} \;\colon\; \mathcal{C}^{op} \times \mathcal{C} \longrightarrow Set

for its hom-functor. This preserves limits (Def. ) in both its arguments (recalling that a limit in the opposite category 𝒞 op\mathcal{C}^{op} is a colimit in 𝒞\mathcal{C}).

More in detail, let X :𝒞X_\bullet \colon \mathcal{I} \longrightarrow \mathcal{C} be a diagram. Then:

  1. If the limit lim iX i\underset{\longleftarrow}{\lim}_i X_i exists in 𝒞\mathcal{C} then for all Y𝒞Y \in \mathcal{C} there is a natural isomorphism

    Hom 𝒞(Y,lim iX i)lim i(Hom 𝒞(Y,X i)), Hom_{\mathcal{C}}\left(Y, \underset{\longleftarrow}{\lim}_i X_i \right) \simeq \underset{\longleftarrow}{\lim}_i \left( Hom_{\mathcal{C}}\left( Y, X_i \right) \right) \,,

    where on the right we have the limit over the diagram of hom-sets given by

    Hom 𝒞(Y,)X:X𝒞Hom 𝒞(Y,)Set. Hom_{\mathcal{C}}(Y,-) \circ X \;\colon\; \mathcal{I} \overset{X}{\longrightarrow} \mathcal{C} \overset{Hom_{\mathcal{C}}(Y,-) }{\longrightarrow} Set\,.
  2. If the colimit lim iX i\underset{\longrightarrow}{\lim}_i X_i exists in 𝒞\mathcal{C} then for all Y𝒞Y \in \mathcal{C} there is a natural isomorphism

    Hom 𝒞(lim iX i,Y)lim i(Hom 𝒞(X i,Y)), Hom_{\mathcal{C}}\left(\underset{\longrightarrow}{\lim}_i X_i ,Y\right) \simeq \underset{\longleftarrow}{\lim}_i \left( Hom_{\mathcal{C}}\left( X_i , Y\right) \right) \,,

    where on the right we have the limit over the diagram of hom-sets given by

    Hom 𝒞(,Y)X: opX𝒞 opHom 𝒞(,Y)Set. Hom_{\mathcal{C}}(-,Y) \circ X \;\colon\; \mathcal{I}^{op} \overset{X}{\longrightarrow} \mathcal{C}^{op} \overset{Hom_{\mathcal{C}}(-,Y) }{\longrightarrow} Set\,.
Proof

We give the proof of the first statement, the proof of the second statement is formally dual (Example ).

First observe that, by the very definition of limiting cones, maps out of some YY into them are in natural bijection with the set Cones(Y,X )Cones\left(Y, X_\bullet \right) of cones over the diagram X X_\bullet with tip YY:

Hom(Y,lim iX i)Cones(Y,X ). Hom\left( Y, \underset{\longleftarrow}{\lim}_{i} X_i \right) \;\simeq\; Cones\left( Y, X_\bullet \right) \,.

Hence it remains to show that there is also a natural bijection like so:

Cones(Y,X )lim i(Hom(Y,X i)). Cones\left( Y, X_\bullet \right) \;\simeq\; \underset{\longleftarrow}{\lim}_{i} \left( Hom(Y,X_i) \right) \,.

Now, again by the very definition of limiting cones, a single element in the limit on the right is equivalently a cone of the form

{ * const p i const p j Hom(Y,X i) X α() Hom(Y,X j)} i,jObj(),αHom (i,j). \left\{ \array{ && \ast \\ & {}^{\mathllap{const_{p_i}}}\swarrow && \searrow^{\mathrlap{const_{p_j}}} \\ Hom(Y,X_i) && \underset{X_\alpha \circ (-)}{\longrightarrow} && Hom(Y,X_j) } \right\}_{i, j \in Obj(\mathcal{I}), \alpha \in Hom_{\mathcal{I}}(i,j) } \,.

This is equivalently for each object ii \in \mathcal{I} a choice of morphism p i:YX ip_i \colon Y \to X_i , such that for each pair of objects i,ji,j \in \mathcal{I} and each αHom (i,j)\alpha \in Hom_{\mathcal{I}}(i,j) we have X αp i=p jX_\alpha \circ p_i = p_j. And indeed, this is precisely the characterization of an element in the set Cones(Y,X }) Cones\left( Y, X_\bullet\} \right).

Example

(initial and terminal object in terms of adjunction)

Let 𝒞\mathcal{C} be a category (Def. ).

  1. The following are equivalent:

    1. 𝒞\mathcal{C} has a terminal object (Def. );

    2. the unique functor 𝒞*\mathcal{C} \to \ast (Def. ) to the terminal category (Example ) has a right adjoint (Def. )

      *𝒞 \ast \underoverset {\underset{}{\longrightarrow}} {\overset{}{\longleftarrow}} {\bot} \mathcal{C}

    Under this equivalence, the terminal object is identified with the image under the right adjoint of the unique object of the terminal category.

  2. Dually, the following are equivalent:

    1. 𝒞\mathcal{C} has an initial object (Def. );

    2. the unique functor 𝒞*\mathcal{C} \to \ast to the terminal category has a left adjoint

      𝒞* \mathcal{C} \underoverset {\underset{}{\longrightarrow}} {\overset{}{\longleftarrow}} {\bot} \ast

    Under this equivalence, the initial object is identified with the image under the left adjoint of the unique object of the terminal category.

Proof

Since the unique hom-set in the terminal category is the singleton, the hom-isomorphism (?) characterizing the adjoint functors is directly the universal property of an initial object in 𝒞\mathcal{C}

Hom 𝒞(L(*),X)Hom *(*,R(X))=* Hom_{\mathcal{C}}( L(\ast) , X ) \;\simeq\; Hom_{\ast}( \ast, R(X) ) = \ast

or of a terminal object

Hom 𝒞(X,R(*))Hom *(L(X),*)=*, Hom_{\mathcal{C}}( X , R(\ast) ) \;\simeq\; Hom_{\ast}( L(X), \ast ) = \ast \,,

respectively.

Proposition

(left adjoints preserve colimits and right adjoints preserve limits)

Let (LR):𝒟𝒞(L \dashv R) \colon \mathcal{D} \to \mathcal{C} be a pair of adjoint functors (Def. ). Then

  • LL preserves all colimits (Def. ) that exist in 𝒞\mathcal{C},

  • RR preserves all limits (Def. ) in 𝒟\mathcal{D}.

Proof

Let y:I𝒟y : I \to \mathcal{D} be a diagram whose limit lim iy i\lim_{\leftarrow_i} y_i exists. Then we have a sequence of natural isomorphisms, natural in xCx \in C

Hom 𝒞(x,Rlim iy i) Hom 𝒟(Lx,lim iy i) lim iHom 𝒟(Lx,y i) lim iHom 𝒞(x,Ry i) Hom 𝒞(x,lim iRy i), \begin{aligned} Hom_{\mathcal{C}}(x, R {\lim_\leftarrow}_i y_i) & \simeq Hom_{\mathcal{D}}(L x, {\lim_\leftarrow}_i y_i) \\ & \simeq {\lim_\leftarrow}_i Hom_{\mathcal{D}}(L x, y_i) \\ & \simeq {\lim_\leftarrow}_i Hom_{\mathcal{C}}( x, R y_i) \\ & \simeq Hom_{\mathcal{C}}( x, {\lim_\leftarrow}_i R y_i) \,, \end{aligned}

where we used the hom-isomorphism (?) and the fact that any hom-functor preserves limits (Def. ). Because this is natural in xx the Yoneda lemma implies that we have an isomorphism

Rlim iy ilim iRy i. R {\lim_\leftarrow}_i y_i \simeq {\lim_\leftarrow}_i R y_i \,.

The argument that shows the preservation of colimits by LL is analogous.

Proposition

(limits commute with limits)

Let 𝒟\mathcal{D} and 𝒟\mathcal{D}' be small categories (Def. ) and let 𝒞\mathcal{C} be a category (Def. ) which admits limits (Def. ) of shape 𝒟\mathcal{D} as well as limits of shape 𝒟\mathcal{D}'. Then these limits “commute” with each other, in that for F:𝒟×𝒟𝒞F \;\colon\; \mathcal{D} \times {\mathcal{D}'} \to \mathcal{C} a functor (hence a diagram of shape the product category), with corresponding adjunct functors (via Example )

𝒟F 𝒟[𝒟,𝒞]AAA𝒟F 𝒟[𝒟,𝒞] {\mathcal{D}'} \overset{F_{\mathcal{D}}}{\longrightarrow} [\mathcal{D},\mathcal{C}] \phantom{AAA} {\mathcal{D}} \overset{F_{\mathcal{D}'}}{\longrightarrow} [{\mathcal{D}'}, \mathcal{C}]

we have that the canonical comparison morphism

(8)limFlim 𝒟(lim 𝒟F 𝒟)lim 𝒟(lim 𝒟F 𝒟) lim F \simeq lim_{\mathcal{D}} (lim_{\mathcal{D}'} F_{\mathcal{D}} ) \simeq lim_{\mathcal{D}'} (lim_{\mathcal{D}} F_{\mathcal{D}'} )

is an isomorphism.

Proof

Since the limit-construction is the right adjoint functor to the constant diagram-functor, this is a special case of right adjoints preserve limits (Prop. ).

See limits and colimits by example for what formula (8) says for instance for the special case 𝒞=\mathcal{C} = Set.

Remark

(general non-commutativity of limits with colimits)

In general limits do not commute with colimits. But under a number of special conditions of interest they do. Special cases and concrete examples are discussed at commutativity of limits and colimits.

\,

Proposition

(pointwise expression of left adjoints in terms of limits over comma categories)

A functor R:𝒞𝒟R \;\colon\; \mathcal{C} \longrightarrow \mathcal{D} (Def. ) has a left adjoint L:𝒟𝒞L \;\colon\; \mathcal{D} \longrightarrow \mathcal{C} (Def. ) precisely if

  1. RR preserves all limits (Def. ) that exist in 𝒞\mathcal{C};

  2. for each object d𝒟d \in \mathcal{D}, the limit (Def. ) of the canonical functor (?) out of the comma category (Example )

    d/R𝒞 d/R \longrightarrow \mathcal{C}

    exists.

In this case the value of the left adjoint LL on dd is given by that limit:

(9)L(d)lim(c,d f R(c))d/Rc L(d) \;\simeq\; \underset{\underset{ \left( c, \array{ d \\ \downarrow^{\mathrlap{f}} \\ R(c) } \right) \in d/R }{\longleftarrow}}{\lim} c
Proof

First assume that the left adjoint exist. Then

  1. RR is a right adjoint and hence preserves limits since all right adjoints preserve limits (Prop. );

  2. by Prop. the adjunction unit provides a universal morphism η d\eta_d into L(d)L(d), and hence, by Prop. , exhibits (L(d),η d)(L(d), \eta_d) as the initial object of the comma category d/Rd/R. The limit over any category with an initial object exists, as it is given by that initial object.

Conversely, assume that the two conditions are satisfied and let L(d)L(d) be given by (9). We need to show that this yields a left adjoint.

By the assumption that RR preserves all limits that exist, we have

(10)R(L(d)) =R(lim(c,d f R(c))d/Rc) lim(c,d f R(c))d/RR(c) \array{ R(L(d)) & = R\left( \underset{\underset{ \left( c, \array{ d \\ \downarrow^{\mathrlap{f}} \\ R(c) } \right) \in d/R }{\longleftarrow}}{\lim} c \right) \\ & \simeq \underset{\underset{ \left( c, \array{ d \\ \downarrow^{\mathrlap{f}} \\ R(c) } \right) \in d/R }{\longleftarrow}}{\lim} R(c) }

Since the dfR(d)d \overset{f}{\to} R(d) constitute a cone over the diagram of the R(d)R(d), there is universal morphism

dAAη dAAR(L(d)). d \overset{\phantom{AA} \eta_d \phantom{AA}}{\longrightarrow} R(L(d)) \,.

By Prop. it is now sufficient to show that η d\eta_d is a universal morphism into L(d)L(d), hence that for all c𝒞c \in \mathcal{C} and dgR(c)d \overset{g}{\longrightarrow} R(c) there is a unique morphism L(d)f˜cL(d) \overset{\widetilde f}{\longrightarrow} c such that

d η d f R(L(d)) AAR(f˜)AA R(c) L(d) AAf˜AA c \array{ && d \\ & {}^{\mathllap{ \eta_d }}\swarrow && \searrow^{\mathrlap{f}} \\ R(L(d)) && \underset{\phantom{AA}R(\widetilde f)\phantom{AA}}{\longrightarrow} && R(c) \\ L(d) &&\underset{\phantom{AA}\widetilde f\phantom{AA}}{\longrightarrow}&& c }

By Prop. , this is equivalent to (L(d),η d)(L(d), \eta_d) being the initial object in the comma category c/Rc/R, which in turn is equivalent to it being the limit of the identity functor on c/Rc/R (by Example ). But this follows directly from the limit formulas (9) and (10).

Remark

(adjoint functor theorem)

Beware the subtle point in Prop. , that the comma category c/Fc/F is in general not a small category (Def. ): It has typically “as many” objects as 𝒞\mathcal{C} has, and 𝒞\mathcal{C} is not assumed to be small (while of course it may happen to be). But typical categories, such as notably the category of sets (Example ) are generally guaranteed only to admit limits over small categories. For this reason, Prop. is rarely useful for finding an adjoint functor which is not already established to exist by other means.

But there are good sufficient conditions known, on top of the condition that RR preserves limits, which guarantee the existence of an adjoint functor, after all. This is the topic of the adjoint functor theorem (one of the rare instances of useful and non-trivial theorems in mathematics for which issues of set theoretic size play a crucial role for their statement and proof).

A very special but also very useful case of the adjoint functor theorem is the existence of adjoints of base change functors between categories of (enriched) presheaves via Kan extension. This we discuss as Prop. below. Since this is most conveniently phrased in terms of special limits/colimits called ends/coends (Def. below) we first discuss these.

\,

Ends and coends

For working with enriched categories (Def. ) , a certain shape of limits/colimits (Def. ) is particularly relevant: these are called ends and coends (Def. below). We here introduce these and then derive some of their basic properties, such as notably the expression for Kan extension in terms of (co-)ends (prop. below).

\,

Definition

((co)end)

Let 𝒞\mathcal{C} be a small 𝒱\mathcal{V}-enriched category (Def. ). Let

F:𝒞 op×𝒞𝒱 F \;\colon\; \mathcal{C}^{op} \times \mathcal{C} \longrightarrow \mathcal{V}

be an enriched functor (Def. ) out of the enriched product category of 𝒞\mathcal{C} with its opposite category (Def. ). Then:

  1. The coend of FF, denoted

    c𝒞F(c,c)𝒱, \overset{c \in \mathcal{C}}{\int} F(c,c) \;\in\; \mathcal{V} \,,

    is the coequalizer in 𝒱\mathcal{V} of the two actions encoded in FF via Example :

    c,d𝒞𝒞(c,d)F(d,c)AAAAAAAAc,dρ (d,c)(c)c,dρ (c,d)(d)c𝒞F(c,c)coeqc𝒞F(c,c). \underset{c,d \in \mathcal{C}}{\coprod} \mathcal{C}(c,d) \otimes F(d,c) \underoverset {\underset{\underset{c,d}{\sqcup} \rho_{(d,c)}(c) }{\longrightarrow}} {\overset{\underset{c,d}{\sqcup} \rho_{(c,d)}(d) }{\longrightarrow}} {\phantom{AAAAAAAA}} \underset{c \in \mathcal{C}}{\coprod} F(c,c) \overset{coeq}{\longrightarrow} \overset{c\in \mathcal{C}}{\int} F(c,c) \,.
  2. The end of FF, denoted

    c𝒞F(c,c)𝒱, \underset{c\in \mathcal{C}}{\int} F(c,c) \;\in\; \mathcal{V} \,,

    is the equalizer in 𝒱\mathcal{V} of the adjuncts of the two actions encoded in FF via example :

    c𝒞F(c,c)equc𝒞F(c,c)AAAAAAAAc,dρ˜ (c,d)(c)c,dρ˜ d,c(d)c𝒞[𝒞(c,d),F(c,d)]. \underset{c\in \mathcal{C}}{\int} F(c,c) \overset{\;\;equ\;\;}{\longrightarrow} \underset{c \in \mathcal{C}}{\prod} F(c,c) \underoverset {\underset{\underset{c,d}{\sqcup} \tilde \rho_{(c,d)}(c) }{\longrightarrow}} {\overset{\underset{c,d}{\sqcup} \tilde\rho_{d,c}(d)}{\longrightarrow}} {\phantom{AAAAAAAA}} \underset{c\in \mathcal{C}}{\prod} \big[ \mathcal{C}\left(c,d\right), \; F\left(c,d\right) \big] \,.
Example

For 𝒱\mathcal{V} a cosmos, let G𝒱G \in \mathcal{V} be a group object. There is the n the one-object 𝒱\mathcal{V}-enriched category BG\mathbf{B}G as in Example .

Then a 𝒱\mathcal{V}-enriched functor

(X,ρ l):BG𝒱 (X,\rho_l) \;\colon\; \mathbf{B}G \longrightarrow \mathcal{V}

is an object XF(*)𝒱X \coloneqq F(\ast) \; \in \mathcal{V} equipped with a morphism

ρ l:GXX \rho_l \;\colon\; G \otimes X \longrightarrow X

satisfying the action property. Hence this is equivalently an action of GG on XX.

The opposite category (def. ) (BG) op(\mathbf{B}G)^{op} comes from the opposite group-object

(BG) op=B(G op). (\mathbf{B}G)^{op} = \mathbf{B}(G^{op}) \,.

(The isomorphism GG opG \simeq G^{op} induces a canonical euqivalence of enriched categories (BG) opBG(\mathbf{B}G)^{op} \simeq \mathbf{B}G.)

So an enriched functor

(Y,ρ r):(BG) op𝒱 (Y,\rho_r) \;\colon\; (\mathbf{B} G)^{op} \longrightarrow \mathcal{V}

is equivalently a right action of GG.

Therefore the coend of two such functors (def. ) coequalizes the relation

(xg,y)(x,gy) (x g,\;y) \sim (x,\; g y)

(where juxtaposition denotes left/right action) and is the quotient of the plain tensor product by the diagonal action of the group GG:

*B(G +)(Y,ρ r)(*)(X,ρ l)(*)Y GX. \overset{\ast \in \mathbf{B}(G_+)}{\int} (Y,\rho_r)(\ast) \,\otimes\, (X,\rho_l)(\ast) \;\simeq\; Y \otimes_G X \,.
Example

(enriched natural transformations as ends)

Let 𝒞\mathcal{C} be a small enriched category (Def. ). For F,G:𝒞𝒱 F, G \;\colon\; \mathcal{C} \longrightarrow \mathcal{V} two enriched presheaves (Example ), the end (def. ) of the internal-hom-functor

[F(),G()]:𝒞 op×𝒞𝒱 [F(-),G(-)] \;\colon\; \mathcal{C}^{op} \times \mathcal{C} \longrightarrow \mathcal{V}

is an object of 𝒱\mathcal{V} whose underlying set (Example ) is the set of enriched natural transformations FGF \Rightarrow G (Def. )

Hom 𝒱(1,(c𝒞[F(c),G(c)]))Hom [𝒞,𝒱](F,G). Hom_{\mathcal{V}}\left(1, \left( \underset{c \in \mathcal{C}}{\int} \big[ F(c),G(c) \big] \right) \right) \;\simeq\; Hom_{[\mathcal{C}, \mathcal{V}]}(F,G) \,.
Proof

The underlying pointed set functor Hom 𝒱(1,):𝒱SetHom_{\mathcal{V}}(1,-)\colon \mathcal{V}\to Set preserves all limits, since hom-functors preserve limits (Prop. ). Therefore there is an equalizer diagram in Set of the form

Hom 𝒱(1,(c𝒞[F(c),G(c)]))equc𝒞Hom 𝒱(F(c),G(c))AAAAAAAAc,dU(ρ˜ (c,d)(c))c,dU(ρ˜ d,c(d))c,d𝒞Hom 𝒱(𝒞(c,d),[F(c),G(d)]), Hom_{\mathcal{V}}\left(1, \left( \underset{c\in \mathcal{C}}{\int} [F(c),G(c)] \right) \right) \overset{equ}{\longrightarrow} \underset{c\in \mathcal{C}}{\prod} Hom_{\mathcal{V}}(F(c),G(c)) \underoverset {\underset{\underset{c,d}{\sqcup} U(\tilde \rho_{(c,d)}(c)) }{\longrightarrow}} {\overset{\underset{c,d}{\sqcup} U(\tilde\rho_{d,c}(d))}{\longrightarrow}} {\phantom{AAAAAAAA}} \underset{c,d\in \mathcal{C}}{\prod} Hom_{\mathcal{V}}( \mathcal{C}(c,d), [F(c),G(d)] ) \,,

where we used Example to identify underlying sets of internal homs with hom-sets.

Here the object in the middle is just the set of indexed sets of component morphisms {F(c)η cG(c)} c𝒞\left\{ F(c)\overset{\eta_c}{\to} G(c)\right\}_{c\in \mathcal{C}}. The two parallel maps in the equalizer diagram take such a collection to the indexed set of composites (?) and (?). Hence that these two are equalized is precisely the condition that the indexed set of components constitutes an enriched natural transformation.

Conversely, example says that ends over bifunctors of the form [F(),G())][F(-),G(-))] constitute hom-spaces between pointed topologically enriched functors:

Definition

(enriched presheaf category)

For 𝒱\mathcal{V} a cosmos (Def. ), let 𝒞\mathcal{C} be a small 𝒱\mathcal{V}-enriched category (Def. ).

Then the 𝒱\mathcal{V}-enriched presheaf category [𝒞,𝒱][\mathcal{C}, \mathcal{V}] is 𝒱\mathcal{V}-enriched functor category from 𝒞\mathcal{C} to 𝒱\mathcal{V}, hence is the following 𝒱\mathcal{V}-enriched category (Def. )

  1. the objects are the 𝒞\mathcal{C}-enriched functors 𝒞F𝒱\mathcal{C} \overset{F}{\to}\mathcal{V} (Def. );

  2. the hom-objects are the ends

    (11)[𝒞,𝒱](F,G) c𝒞[F(c),G(c)] [\mathcal{C}, \mathcal{V}](F,G) \;\coloneqq\; \int_{c\in \mathcal{C}} [F(c),G(c)]
  3. the composition operation on these is defined to be the one induced by the composite maps

    (c𝒞[F(c),G(c)])(c𝒞[G(c),H(c)])c𝒞[F(c),G(c)][G(c),H(c)]( F(c),G(c),H(c)) c𝒞c𝒞[F(c),H(c)], \left( \underset{c\in \mathcal{C}}{\int} [F(c),G(c)] \right) \otimes \left( \underset{c \in \mathcal{C}}{\int} [G(c),H(c)] \right) \overset{}{\longrightarrow} \underset{c\in \mathcal{C}}{\prod} [F(c),G(c)] \otimes [G(c),H(c)] \overset{(\circ_{F(c),G(c),H(c)})_{c\in \mathcal{C}}}{\longrightarrow} \underset{c \in \mathcal{C}}{\prod} [F(c),H(c)] \,,

    where the first morphism is degreewise given by projection out of the limits that defined the ends. This composite evidently equalizes the two relevant adjunct actions (as in the proof of example ) and hence defines a map into the end

    (c𝒞[F(c),G(c)])(c𝒞[G(c),H(c)])c𝒞[F(c),H(c)]. \left( \underset{c\in \mathcal{C}}{\int} [F(c),G(c)] \right) \otimes \left( \underset{c \in \mathcal{C}}{\int} [G(c),H(c)] \right) \longrightarrow \underset{c\in \mathcal{C}}{\int} [F(c),H(c)] \,.

By Example , the underlying plain category (Example ) of this enriched functor category is the plain functor category of enriched functors from Example .

Proposition

(enriched Yoneda lemma)

For 𝒱\mathcal{V} a cosmos (Def. ) let 𝒞\mathcal{C} be a small enriched category (Def. ). For F:𝒞𝒱F \colon \mathcal{C} \to \mathcal{V} an enriched presheaf (Example ) and for c𝒞c\in \mathcal{C} an object, there is a natural isomorphism

[𝒞,𝒱](𝒞(c,),F)F(c) [\mathcal{C}, \mathcal{V}](\mathcal{C}(c,-),\; F) \;\simeq\; F(c)

between the hom-object of the enriched functor category (Def. ), from the functor represented by cc to FF, and the value of FF on cc.

In terms of the ends (def. ) defining these hom-objects (11), this means that

d𝒞[𝒞(c,d),F(d)]F(c). \underset{d\in \mathcal{C}}{\int} [\mathcal{C}(c,d), F(d)] \;\simeq\; F(c) \,.

In this form the statement is also known as Yoneda reduction.

Now that natural transformations are expressed in terms of ends (example ), as is the enriched Yoneda lemma (prop. ), it is natural to consider the dual statement (Example ) involving coends:

Proposition

(enriched co-Yoneda lemma)

For 𝒱\mathcal{V} a cosmos (Def. ), let 𝒞\mathcal{C} be a small 𝒱\mathcal{V}-enriched category (Def. ). For F:𝒞𝒱F \colon \mathcal{C}\to \mathcal{V} an enriched presheaf (Def. ) and for c𝒞c\in \mathcal{C} an object, there is a natural isomorphism

F()c𝒞𝒞(c,)F(c). F(-) \simeq \overset{c \in \mathcal{C}}{\int} \mathcal{C}(c,-) \otimes F(c) \,.

Moreover, the morphism that hence exhibits F(c)F(c) as the coequalizer of the two morphisms in def. is componentwise the canonical action

𝒞(c,d)F(c)F(d) \mathcal{C}(c,d) \otimes F(c) \longrightarrow F(d)

which is adjunct to the component map 𝒞(d,c)[F(c),F(d)]\mathcal{C}(d,c) \to [F(c),F(d)] of the enriched functor FF.

(e.g. MMSS 00, lemma 1.6)

Proof

By the definition of coends and the universal property of colimits, enriched natural transformations of the form

(c𝒞𝒞(c,)F(c))G \left( \overset{c \in \mathcal{C}}{\int} \mathcal{C}(c,-) \otimes F(c) \right) \longrightarrow G

are in natural bijection with systems of component morphisms

𝒞(c,d)F(c)G(d) \mathcal{C}(c,d) \otimes F(c) \longrightarrow G(d)

which satisfy some compatibility conditions in their dependence on cc and dd (natural in dd and “extranatural” in cc). By the internal hom adjunction, these are in natural bijection to systems of morphisms of the form

F(c)[𝒞(c,d),G(d)] F(c) \longrightarrow [\mathcal{C}(c,d), G(d)]

satisfying the analogous compatibility conditions. By Example these are in natural bijection with systems of morphisms

F(c)[𝒞,𝒱](𝒞(c,),G()) F(c) \longrightarrow [\mathcal{C},\mathcal{V}](\mathcal{C}(c,-), G(-))

natural in cc

By the enriched Yoneda lemma (Prop. ), these, finally, are in natural bijection with systems of morphisms

F(c)G(c) F(c) \longrightarrow G(c)

natural in cc. Moreover, all these identifications are also natural in GG. Therefore, in summary, this shows that there is a natural isomorphism

Hom [𝒞,𝒱](c𝒞𝒞(c,)F(c),())Hom [𝒞,𝒱](F,()). Hom_{[\mathcal{C},\mathcal{V}]} \left( \overset{c \in \mathcal{C}}{\int} \mathcal{C}(c,-) \otimes F(c) \;,\; (-) \right) \;\simeq\; Hom_{[\mathcal{C},\mathcal{V}]} \left( F, (-) \right) \,.

With this, the ordinary Yoneda lemma (Prop. ) in the form of the Yoneda embedding of [𝒞,𝒱][\mathcal{C},\mathcal{V}] implies the required isomorphism.

Example

(co-Yoneda lemma over Set)

Consider the co-Yoneda lemma (Prop. ) in the special case 𝒱=\mathcal{V} = Set (Example ).

In this case the coequalizer in question is the set of equivalence classes of pairs

(cc 0,x)𝒞(c,c 0)F(c), ( c \overset{}{\to} c_0,\; x ) \;\; \in \mathcal{C}(c,c_0) \otimes F(c) \,,

where two such pairs

(cfc 0,xF(c)),(dgc 0,yF(d)) ( c \overset{f}{\to} c_0,\; x \in F(c) ) \,,\;\;\;\; ( d \overset{g}{\to} c_0,\; y \in F(d) )

are regarded as equivalent if there exists

cϕd c \overset{\phi}{\to} d

such that

f=gϕ,andy=ϕ(x). f = g \circ \phi \,, \;\;\;\;\;and\;\;\;\;\; y = \phi(x) \,.

(Because then the two pairs are the two images of the pair (g,x)(g,x) under the two morphisms being coequalized.)

But now considering the case that d=c 0d = c_0 and g=id c 0g = id_{c_0}, so that f=ϕf = \phi shows that any pair

(cϕc 0,xF(c)) ( c \overset{\phi}{\to} c_0, \; x \in F(c))

is identified, in the coequalizer, with the pair

(id c 0,ϕ(x)F(c 0)), (id_{c_0},\; \phi(x) \in F(c_0)) \,,

hence with ϕ(x)F(c 0)\phi(x)\in F(c_0).

As a conceptually important corollary we obtain:

Proposition

(category of presheaves is free co-completion)

For 𝒞\mathcal{C} a small category (Def. ), its Yoneda embedding 𝒞y[𝒞 op,Set]\mathcal{C} \overset{y}{\hookrightarrow} [\mathcal{C}^{op}, Set] (Prop. ) exhibits the category of presheaves [𝒞 op,Set][\mathcal{C}^{op}, Set] (Example ) as the free co-completion of 𝒞\mathcal{C} under forming colimits (Def. ), in that it is a universal morphism, as in Def. but “up to natural isomorphism”, into a category with all colimits (by Example ) in the following sense:

  1. for 𝒟\mathcal{D} any category with all colimits (Def. );

  2. for F:𝒞𝒟F \;\colon\; \mathcal{C} \longrightarrow \mathcal{D} any functor;

there is a functor F˜:[𝒞 op,Set]𝒟\widetilde F \;\colon\; [\mathcal{C}^{op}, Set] \longrightarrow \mathcal{D}, unique up to natural isomorphism such that

  1. F˜\widetilde F preserves all colimits,

  2. F˜\widetilde F extends FF through the Yoneda embedding, in that the following diagram commutes, up to natural isomorphism (Def. ):

𝒞 y F [𝒞 op,Set] F˜ 𝒟 \array{ && \mathcal{C} \\ & {}^{y}\swarrow &\swArrow& \searrow^{\mathrlap{F}} \\ \mathrlap{ \!\!\!\!\!\!\!\!\!\!\!\!\! [\mathcal{C}^{op}, Set] } && \underset{ \widetilde F }{\longrightarrow} && \mathcal{D} }

Hence when interpreting presheaves as generalized spaces, this says that “generalized spaces are precisely what is obtained from allowing arbitrary gluings of ordinary spaces”, see also Remark below.

Proof

The last condition says that F˜\widetilde F is fixed on representable presheaves by

(12)F˜(y(c))F(c). \widetilde F( y(c) ) \simeq F(c) \,.

and in fact naturally so:

(13)c 1 F˜(y(c 1)) F(c 1) f F(y(f)) F(f) c 2 F˜(y(c 2)) F(c 2) \array{ c_1&& \widetilde F( y(c_1) ) &\simeq& F(c_1) \\ {}^{\mathllap{f}}\big\downarrow && {}^{\mathllap{ F(y(f)) }}\big\downarrow && \big\downarrow^{\mathrlap{ F(f) }} \\ c_2 && \widetilde F (y(c_2)) &\simeq& F(c_2) }

But the co-Yoneda lemma (Prop. ) expresses every presheaf X[𝒞 op,Set]\mathbf{X} \in [\mathcal{C}^{op}, Set] as a colimit of representable presheaves (in the special case of enrichment over SetSet, Example )

X c𝒞y(c)X(c). \mathbf{X} \;\simeq\; \int^{c \in \mathcal{C}} y(c) \cdot \mathbf{X}(c) \,.

Since F˜\tilde F is required to preserve any colimit and hence these particular colimits, (12) implies that F˜\widetilde F is fixed to act, up to isomorphism, as

F˜(X) =F˜( c𝒞y(c)X(c)) c𝒞F(c)X(c)𝒟 \begin{aligned} \widetilde F(\mathbf{X}) & = \widetilde F \left( \int^{c \in \mathcal{C}} y(c) \cdot \mathbf{X}(c) \right) & \coloneqq \int^{c \in \mathcal{C}} F(c) \cdot \mathbf{X}(c) \;\;\;\;\in \mathcal{D} \end{aligned}

(where the colimit on the right is computed in 𝒟\mathcal{D}!).

Remark

The statement of the co-Yoneda lemma in prop. is a kind of categorification of the following statement in analysis (whence the notation with the integral signs):

For XX a topological space, f:Xf \colon X \to\mathbb{R} a continuous function and δ(,x 0)\delta(-,x_0) denoting the Dirac distribution, then

xXδ(x,x 0)f(x)=f(x 0). \int_{x \in X} \delta(x,x_0) f(x) = f(x_0) \,.

It is this analogy that gives the name to the following statement:

Proposition

(Fubini theorem for (co)-ends)

For 𝒱\mathcal{V} a cosmos (Def. ), let 𝒞 1,𝒞 2\mathcal{C}_1, \mathcal{C}_2 be two 𝒱\mathcal{V}-enriched categories (Def. ) and

F:(𝒞 1×𝒞 2) op×(𝒞 1×𝒞 2)𝒱 F \;\colon\; \left( \mathcal{C}_1\times\mathcal{C}_2 \right)^{op} \times (\mathcal{C}_1 \times\mathcal{C}_2) \longrightarrow \mathcal{V}

a 𝒱\mathcal{V}-enriched functor (Def. ) from the product category with opposite categories (Def. ), as shown.

Then its end and coend (def. ) is equivalently formed consecutively over each variable, in either order:

(c 1,c 2)F((c 1,c 2),(c 1,c 2))c 1c 2F((c 1,c 2),(c 1,c 2))c 2c 1F((c 1,c 2),(c 1,c 2)) \overset{(c_1,c_2)}{\int} F((c_1,c_2), (c_1,c_2)) \simeq \overset{c_1}{\int} \overset{c_2}{\int} F((c_1,c_2), (c_1,c_2)) \simeq \overset{c_2}{\int} \overset{c_1}{\int} F((c_1,c_2), (c_1,c_2))

and

(c 1,c 2)F((c 1,c 2),(c 1,c 2))c 1c 2F((c 1,c 2),(c 1,c 2))c 2c 1F((c 1,c 2),(c 1,c 2)). \underset{(c_1,c_2)}{\int} F((c_1,c_2), (c_1,c_2)) \simeq \underset{c_1}{\int} \underset{c_2}{\int} F((c_1,c_2), (c_1,c_2)) \simeq \underset{c_2}{\int} \underset{c_1}{\int} F((c_1,c_2), (c_1,c_2)) \,.
Proof

Because limits commute with limits, and colimits commute with colimits.

Remark

(internal hom preserves ends)

Let 𝒱\mathcal{V} be a cosmos (Def. ). Since the internal hom-functor in 𝒱\mathcal{V} (Def. ) preserves limits in both variables (Prop. ), in particular it preserves ends (Def. ) in the second variable, and sends coends in the second variable to ends:

For all small 𝒞\mathcal{C}-enriched categories, 𝒱\mathcal{V}-enriched functors F:𝒞 op𝒞𝒱F \;\colon\; \mathcal{C}^{op} \otimes \mathcal{C} \to \mathcal{V} (Def. ) and all objects X𝒱X \in \mathcal{V} we have natural isomorphisms

[X, c𝒞F(c,c)] c𝒞[X,F(c,c)] \left[ X , \int^{c \in \mathcal{C}} F(c,c) \right] \;\simeq\; \int^{c \in \mathcal{C}} \left[ X, F(c,c) \right]

and

[ c𝒞F(c,c),X] c𝒞[F(c,c),X]. \left[ \int_{c \in \mathcal{C}} F(c,c) , X \right] \;\simeq\; \int^{c \in \mathcal{C}} \left[ F(c,c), X \right] \,.

With this coend calculus in hand, there is an elegant proof of the defining universal property of the smash tensoring and powering enriched presheaves

Definition

(tensoring and powering of enriched presheaves)

Let 𝒞\mathcal{C} be a 𝒱\mathcal{V}-enriched category, def. , with [𝒞,𝒱][\mathcal{C}, \mathcal{V}] its functor category of enriched functors (Example ).

  1. Define a functor

    ()():[𝒞,𝒱]×𝒱[𝒞,𝒱] (-)\cdot(-) \;\colon\; [\mathcal{C}, \mathcal{V}] \times \mathcal{V} \longrightarrow [\mathcal{C}, \mathcal{V}]

    by forming objectwise tensor products

    FX:cF(c)X. F \cdot X \;\colon\; c \mapsto F(c) \otimes X \,.

    This is called the tensoring of [𝒞,𝒱][\mathcal{C}, \mathcal{V}] over 𝒱\mathcal{V}.

  2. Define a functor

    () ():𝒱 op×[𝒞,𝒱][𝒞,𝒱] (-)^{(-)} \;\colon\; \mathcal{V}^{op} \times [\mathcal{C}, \mathcal{V}] \longrightarrow [\mathcal{C}, \mathcal{V}]

    by forming objectwise internal homs (Def. )

    F X:c[X,F(c)]. F^X \;\colon\; c \mapsto [X,F(c)] \,.

    This is called the powering of [𝒞,𝒱][\mathcal{C}, \mathcal{V}] over 𝒱\mathcal{V}.

Proposition

(universal property of tensoring and powering of enriched presheaves)

For 𝒱\mathcal{V} a cosmos (Def. ), let 𝒞\mathcal{C} be a small 𝒱\mathcal{V}-enriched category (Def. ), with [𝒞,𝒱][\mathcal{C},\mathcal{V}] the corresponding enriched presheaf category.

Then there are natural isomorphisms

[𝒞,𝒱](XK,Y)[K,([𝒞,𝒱](X,Y))] [\mathcal{C}, \mathcal{V}]( X \cdot K ,\, Y ) \;\simeq\; [K,\big( [\mathcal{C}, \mathcal{V}]\left( X, Y \right) \big)]

and

[𝒞,𝒱](X,Y K)[K,([𝒞,𝒞](X,Y))] [\mathcal{C}, \mathcal{V}]\left( X,\, Y^K \right) \;\simeq\; [K, \big( [\mathcal{C}, \mathcal{C}](X,Y) \big) ]

for all X,Y[𝒞,𝒱]X,Y \in [\mathcal{C}, \mathcal{V}] and all K𝒞K \in \mathcal{C}, where () K(-)^K is the powering and ()K(-)\cdot K the tensoring from Def. .

In particular there is the composite natural isomorphism

[𝒞,𝒱](XK,Y)[𝒞,𝒱](X,Y K) [\mathcal{C}, \mathcal{V}](X \cdot K, Y) \;\simeq\; [\mathcal{C}, \mathcal{V}]\left( X, Y^K \right)

exhibiting a pair of adjoint functors

[𝒞,𝒱]() K()K[𝒞,𝒱]. [\mathcal{C}, \mathcal{V}] \underoverset {\underset{(-)^K}{\longrightarrow}} {\overset{(-) \cdot K}{\longleftarrow}} {\bot} [\mathcal{C}, \mathcal{V}] \,.
Proof

Via the end-expression for [𝒞,𝒱](,)[\mathcal{C}, \mathcal{V}](-,-) from Example , and the fact (remark ) that the internal hom-functor ends in the second variable, this reduces to the fact that [,][-,-] is the internal hom in the closed monoidal category 𝒱\mathcal{V} (Example ) and hence satisfies the internal tensor/hom-adjunction isomorphism (prop. ):

[𝒞,𝒱](XK,Y) =c[(XK)(c),Y(c)] c[X(c)K,Y(x)] c[K,[X(c),Y(c)]] [K,c[X(c),Y(c)]] =[K,([𝒞,𝒱](X,Y))] \begin{aligned} [\mathcal{C}, \mathcal{V}](X \cdot K, Y) & = \underset{c}{\int} [ (X \cdot K)(c), Y(c) ] \\ & \simeq \underset{c}{\int} [X(c) \otimes K, Y(x)] \\ & \simeq \underset{c}{\int} [K,[X(c), Y(c)]] \\ & \simeq [K, \underset{c}{\int} [X(c),Y(c)]] \\ & = [K,\left( [\mathcal{C},\mathcal{V}](X,Y)\right)] \end{aligned}

and

[𝒞,𝒱](X,Y K) =c[X(c),Y K(c)] c[X(c),[K,Y(c)]] c[X(c)K,Y(c)] c[K,[X(c),Y(c)]] [K,c[X(c),Y(c)]] [K,[𝒞,𝒱](X,Y]. \begin{aligned} [\mathcal{C}, \mathcal{V}](X, Y^K) & = \underset{c}{\int} [X(c), Y^K(c)] \\ & \simeq \underset{c}{\int} [ X(c), [K,Y(c)] ] \\ & \simeq \underset{c}{\int} [ X(c) \otimes K, Y(c) ] \\ & \simeq \underset{c}{\int} [K, [X(c),Y(c)]] \\ & \simeq [K, \underset{c}{\int} [X(c),Y(c)] ] \\ & \simeq [K, [\mathcal{C}, \mathcal{V}](X,Y] \,. \end{aligned}

\,

Tensoring and cotensoring

We make explicit the general concept of which Prpp. provides a key class of examples:

\,

Definition

(tensoring and cotensoring)

For 𝒱\mathcal{V} a cosmos (Def. ) let 𝒞\mathcal{C} be a 𝒱\mathcal{V}-enriched category (Def. ). Recall the enriched hom-functors (Example )

𝒞(,):𝒞 op×𝒞𝒱 \mathcal{C}(-,-) \;\colon\; \mathcal{C}^{op} \times \mathcal{C} \longrightarrow \mathcal{V}

and (via Example )

𝒱(,)=[,]:𝒱 op×𝒱𝒱. \mathcal{V}(-,-) = [-,-] \;\colon\; \mathcal{V}^{op} \times \mathcal{V} \longrightarrow \mathcal{V} \,.
  1. A powering (or cotensoring) of 𝒞\mathcal{C} over 𝒱\mathcal{V} is

    1. a functor (Def. )

      [,]:𝒱 op×𝒞𝒞 [-,-] \;\colon\; \mathcal{V}^{op} \times \mathcal{C} \longrightarrow \mathcal{C}
    2. for each v𝒱v \in \mathcal{V} a natural isomorphism (Def. ) of the form

      (14)𝒱(v,𝒞(c 1,c 2))𝒞(c 1,[v,c 2]) \mathcal{V}(v, \mathcal{C}(c_1,c_2) ) \;\simeq\; \mathcal{C}(c_1,[v,c_2])
  2. A copowering (or tensoring) of 𝒞\mathcal{C} over 𝒱\mathcal{V} is

    1. a functor (Def. )

      ()():𝒱×𝒞𝒞 (-)\otimes(-) \;\colon\; \mathcal{V} \times \mathcal{C} \longrightarrow \mathcal{C}
    2. for each v𝒱v \in \mathcal{V} a natural isomorphism (Def. ) of the form

      (15)𝒞(vc 1,c 2)𝒱(v,𝒞(c 1,c 2)) \mathcal{C}(v \otimes c_1, c_2) \;\simeq\; \mathcal{V}(v, \mathcal{C}(c_1,c_2) )

If 𝒞\mathcal{C} is equipped with a (co-)powering it is called (co-)powered over 𝒱\mathcal{V}.

Proposition

(tensoring left adjoint to cotensoring)

For 𝒱\mathcal{V} a cosmos (Def. ) let 𝒞\mathcal{C} be a 𝒱\mathcal{V}-enriched category (Def. ).

If 𝒞\mathcal{C} is both tensored and cotensored over 𝒱\mathcal{V} (Def. ), then for fixed v𝒱v \in \mathcal{V} the operations of tensoring with vv and of cotensoring with 𝒱\mathcal{V} form a pair of adjoint functors (Def. )

𝒞AAAA[v,]v()𝒞 \mathcal{C} \underoverset {\underset{ [v,-] }{\longrightarrow}} {\overset{ v \otimes (-) }{\longleftarrow}} {\phantom{AA}\bot\phantom{AA}} \mathcal{C}
Proof

The hom-isomorphism (?) characterizing the pair of adjoint functors is provided by the composition of the natural isomorphisms (14) and (15):

𝒞(vc 1,c 2)𝒱(v,𝒞(c 1,c 2))𝒞(c 1,[v,c 2]) \array{ \mathcal{C}(v \otimes c_1, c_2) \;\simeq\; \mathcal{V}(v, \mathcal{C}(c_1,c_2) ) \;\simeq\; \mathcal{C}(c_1,[v,c_2]) }
Proposition

(in tensored and cotensored categories initial/terminal objects are enriched initial/terminal)

For 𝒱\mathcal{V} a cosmos (Def. ) let 𝒞\mathcal{C} be a 𝒱\mathcal{V}-enriched category (Def. ).

If 𝒞\mathcal{C} is both tensored and cotensored over 𝒱\mathcal{V} (Def. ) then

  1. an initial object \emptyset (Def. ) of the underlying category of 𝒞\mathcal{C} (Example ) is also enriched initial, in that the hom-object out of it is the terminal object *\ast of 𝒱\mathcal{V}

    𝒞(,c)* \mathcal{C}(\emptyset, c) \;\simeq\; \ast
  2. a terminal object *\ast (Def. ) of the underlying category of 𝒞\mathcal{C} (Example ) is also enriched terminal, in that the hom-object into it is the terminal object of 𝒱\mathcal{V}:

    𝒞(c,*)* \mathcal{C}(c, \ast) \;\simeq\; \ast
Proof

We discuss the first claim, the second is formally dual.

By prop. , tensoring is a left adjoint. Since left adjoints preserve colimits (Prop. ), and since an initial object is the colimit over the empty diagram (Example ), it follows that

v v \otimes \emptyset \;\simeq\; \emptyset

for all v𝒱v \in \mathcal{V}, in particular for 𝒱\emptyset \in \mathcal{V}. Therefore the natural isomorphism (15) implies for all v𝒱v \in \mathcal{V} that

𝒞(,c)𝒞(,c)𝒱(,𝒞(,c))* \mathcal{C}(\emptyset, c) \;\simeq\; \mathcal{C}( \emptyset \otimes \emptyset, c ) \;\simeq\; \mathcal{V}( \emptyset, \mathcal{C}(\emptyset, c) ) \;\simeq\; \ast

where in the last step we used that the internal hom 𝒱(,)=[,]\mathcal{V}(-,-) = [-,-] in 𝒱\mathcal{V} sends colimits in its first argument to limits (Prop. ) and used that a terminal object is the limit over the empty diagram (Example ).

\,

Kan extensions

Proposition

(Kan extension)

For 𝒱\mathcal{V} a cosmos (Def. ), let 𝒞,𝒟\mathcal{C}, \mathcal{D} be small 𝒱\mathcal{V}-enriched categories (Def. ) and let

p:𝒞𝒟 p \;\colon\; \mathcal{C} \longrightarrow \mathcal{D}

be a 𝒱\mathcal{V}-enriched functor (Def. ). Then precomposition with pp constitutes a functor between the corresponding 𝒱\mathcal{V}-enriched presheaf categories (Def. )

(16)p *:[𝒟,𝒱] [𝒞,𝒱] G Gp p^\ast \;\colon\; \array{ [\mathcal{D}, \mathcal{V}] &\longrightarrow& [\mathcal{C}, \mathcal{V}] \\ G &\mapsto& G \circ p }
  1. This enriched functor p *p^\ast (16) has an enriched left adjoint Lan pLan_p (Def. ), called left Kan extension along pp

    [𝒟,𝒱]p *Lan p[𝒞,𝒱] [\mathcal{D}, \mathcal{V}] \underoverset {\underset{p^\ast}{\longrightarrow}} {\overset{Lan_p }{\longleftarrow}} {\bot} [\mathcal{C}, \mathcal{V}]

    which is given objectwise by the coend (def. ):

    (17)(Lan pF):dc𝒞𝒟(p(c),d)F(c). (Lan_p F) \;\colon\; d \;\mapsto \; \overset{c\in \mathcal{C}}{\int} \mathcal{D}(p(c),d) \otimes F(c) \,.
  2. The enriched functor p *p^\ast (16) has an enriched right adjoint Ran pRan_p (Def. ), called right Kan extension along pp

    [𝒞,𝒱]Ran pp *[𝒟,𝒱] [\mathcal{C}, \mathcal{V}] \underoverset {\underset{Ran_p}{\longrightarrow}} {\overset{p^\ast}{\longleftarrow}} {\bot} [\mathcal{D}, \mathcal{V}]

    which is given objectwise by the end (def. ):

    (18)(Ran pF):dc𝒞[𝒟(d,p(c)),F(c)]. (Ran_p F) \;\colon\; d \;\mapsto \; \underset{c\in \mathcal{C}}{\int} [\mathcal{D}(d,p(c)), F(c)] \,.

In summary, this means that the enriched functor

𝒞p𝒟 \mathcal{C} \overset{p}{\longrightarrow} \mathcal{D}

induces, via Kan extension, an adjoint triple (Remark ) of enriched functors

(19)Lan pp *Ran p:[𝒞,𝒱][𝒟,𝒱]. Lan_p \;\dashv\; p^\ast \;\dashv\; Ran_p \;\colon\; [\mathcal{C},\mathcal{V}] \leftrightarrow [\mathcal{D}, \mathcal{V}] \,.
Proof

Use the expression of enriched natural transformations in terms of coends (example and def. ), then use the respect of [,][-,-] for ends/coends (remark ), use the internal-hom adjunction (?), use the Fubini theorem (prop. ) and finally use Yoneda reduction (prop. ) to obtain a sequence of natural isomorphisms as follows:

[𝒟,𝒱](Lan pF,G) =d𝒟[(Lan pF)(d),G(d)] =d𝒟[c𝒞𝒟(p(c),d)F(c),G(d)] d𝒟c𝒞[𝒟(p(c),d)F(c),G(d)] c𝒞d𝒟[F(c),[𝒟(p(c),d),G(d)]] c𝒞[F(c),d𝒟[𝒟(p(c),d),G(d)]] c𝒞[F(c),G(p(c))] =[𝒞,𝒱](F,p *G). \begin{aligned} [\mathcal{D}, \mathcal{V}]( Lan_p F, \, G ) & = \underset{d \in \mathcal{D}}{\int} [ (Lan_p F)(d), \, G(d) ] \\ & = \underset{d\in \mathcal{D}}{\int} \left[ \overset{c \in \mathcal{C}}{\int} \mathcal{D}(p(c),d) \otimes F(c) ,\; G(d) \right] \\ &\simeq \underset{d \in \mathcal{D}}{\int} \underset{c \in \mathcal{C}}{\int} [ \mathcal{D}(p(c),d) \otimes F(c) \,,\; G(d) ] \\ & \simeq \underset{c\in \mathcal{C}}{\int} \underset{d\in \mathcal{D}}{\int} [F(c), [ \mathcal{D}(p(c),d) , \, G(d) ] ] \\ & \simeq \underset{c\in \mathcal{C}}{\int} [F(c), \underset{d\in \mathcal{D}}{\int} [ \mathcal{D}(p(c),d) , \, G(d) ] ] \\ & \simeq \underset{c\in \mathcal{C}}{\int} [ F(c), G(p(c)) ] \\ & = [\mathcal{C}, \mathcal{V}](F,p^\ast G) \end{aligned} \,.

and similarly:

[𝒟,𝒱](G,Ran pF) d𝒟[G(d),(Ran pF)(d),] d𝒟[G(d),c𝒞[𝒟(d,p(c)),F(c)]] d𝒟c𝒞[G(d)𝒟(d,p(c)),F(c)] c𝒞[d𝒟G(d)𝒟(d,p(c)),F(c)] c𝒟[G(p(c)),F(c)] [𝒞,𝒱](p *G,F) \begin{aligned} [\mathcal{D}, \mathcal{V}]( G,\, Ran_p F ) & \simeq \underset{d \in \mathcal{D}}{\int} [ G(d) ,\, (Ran_p F)(d), \, ] \\ & \simeq \underset{d \in \mathcal{D}}{\int} \left[ G(d) ,\, \underset{c\in \mathcal{C}}{\int} [\mathcal{D}(d,p(c)), F(c)] \right] \\ & \simeq \underset{d \in \mathcal{D}}{\int} \underset{c\in \mathcal{C}}{\int} \left[ G(d) \otimes \mathcal{D}(d,p(c)),\, F(c) \right] \\ & \simeq \underset{c\in \mathcal{C}}{\int} \left[ \overset{d \in \mathcal{D}}{\int} G(d) \otimes \mathcal{D}(d,p(c)),\, F(c) \right] \\ & \simeq \underset{c \in \mathcal{D}}{\int} \left[ G(p(c)),\, F(c) \right] \\ & \simeq [\mathcal{C}, \mathcal{V}]( p^\ast G , F ) \end{aligned}
Example

(coend formula for left Kan extension of ordinary presheaves)

Consider the cosmos to be 𝒱=\mathcal{V} = Set, via Example , so that small 𝒱\mathcal{V}-enriched categories (Def. ) are just a plain small category (Def. ) by Example , and 𝒱\mathcal{V}-enriched presheaves (Example ) are just plain presheaves (Example ).

Then for any plain functor (Def. )

𝒞 opAApAA(𝒞) op \mathcal{C}^{op} \overset{\phantom{AA} p \phantom{AA}}{\longrightarrow} (\mathcal{C}')^{op}

the general formula (17) for left Kan extension

[𝒞 op,Set]Lan p[(𝒞) op,Set] [\mathcal{C}^{op},Set] \overset{Lan_p}{\longrightarrow} [(\mathcal{C}')^{op}, Set]

is

(Lan pF)(c) cCC(c,p(c))×F(c). (Lan_p F)(c') \simeq \int^{c \in C} C'(c', p(c)) \times F(c) \,.

Using here the Yoneda lemma (Prop. ) to rewrite F(c)Hom PSh(C)(c,F)F(c) \simeq Hom_{PSh(C)}(c,F), this is

(Lan pF)(c) cCHom C(c,p(c))×Hom PSh(C)(c,F). (Lan_p F)(c') \simeq \int^{c \in C} Hom_{C'}(c', p(c)) \times Hom_{PSh(C)}(c,F) \,.

Hence this coend-set consists of equivalence classes of pairs of morphisms

(cp(c),cF) (c' \to p(c), c \to F)

where two such are regarded as equivalent whenever there is f:c 1c 2f \colon c'_1 \to c'_2 such that

c p(c 1) p(f) p(c 2) c 1 f c 2 F. \array{ && c' \\ & \swarrow && \searrow \\ p(c_1) && \stackrel{p(f)}{\longrightarrow} && p(c_2) \\ c_1 && \stackrel{f}{\longrightarrow} && c_2 \\ & \searrow && \swarrow \\ && F } \,.

This is particularly suggestive when pp is a full subcategory inclusion (Def. ). For in that case we may imagine that a representative pair (cp(c),cF)(c' \to p(c), c \to F) is a stand-in for the actual pullback of elements of FF along the would-be composite “ccFc'\to c \to F”, only that this composite need not be defined. But the above equivalence relation is precisely that under which this composite would be invariant.

Further properties

We collect here further key properties of the various universal constructions considered above.

\,

Proposition

(left Kan extension preserves representable functors)

For 𝒱\mathcal{V} a cosmos (Def. ), let

𝒞p𝒟 \mathcal{C} \overset{p}{\longrightarrow} \mathcal{D}

be a 𝒱\mathcal{V}-enriched functor (Def. ) between small 𝒱\mathcal{V}-enriched categories (Def. ).

Then the left Kan extension Lan pLan_p (Prop. ) takes representable enriched presheaves 𝒞(c,):𝒞𝒱\mathcal{C}(c,-) \;\colon\; \mathcal{C} \to \mathcal{V} to their image under pp:

Lan p𝒞(c,)𝒟(p(c),) Lan_p \mathcal{C}(c, -) \;\simeq\; \mathcal{D}(p(c), -)

for all cCc \in C.

Proof

By the coend formula (17) we have, naturally in d𝒟d' \in \mathcal{D}, the expression

Lan p𝒞(c,):d cC𝒟(p(c),d)𝒞(c,)(c) cC𝒟(p(c),d)𝒞(c,c) 𝒟(p(c),d), \begin{aligned} Lan_p \mathcal{C}(c,-) \;\colon\; d' \mapsto & \int^{c' \in C} \mathcal{D}(p(c'), d') \otimes \mathcal{C}(c,-)(c') \\ & \simeq \int^{c' \in C} \mathcal{D}(p(c'), d') \otimes \mathcal{C}(c,c') \\ & \simeq \mathcal{D}(p(c), d') \end{aligned} \,,

where the last step is the co-Yoneda lemma (Prop. ).

Example

(Kan extension of adjoint pair is adjoint quadruple)

For 𝒱\mathcal{V} a cosmos (Def. ), let 𝒞\mathcal{C}, 𝒟\mathcal{D} be two small 𝒱\mathcal{V}-enriched categories (Def. ) and let

𝒞pq𝒟 \mathcal{C} \underoverset {\underset{p}{\longrightarrow}} {\overset{q}{\longleftarrow}} {\bot} \mathcal{D}

be a 𝒱\mathcal{V}-enriched adjunction (Def. ). Then there are 𝒱\mathcal{V}-enriched natural isomorphisms (Def. )

(q op) *Lan p op:[𝒞 op,𝒱][𝒟 op,𝒱] (q^{op})^\ast \;\simeq\; Lan_{p^{op}} \;\colon\; [\mathcal{C}^{op},\mathcal{V}] \longrightarrow [\mathcal{D}^{op},\mathcal{V}]
(p op) *Ran q op:[𝒟 op,𝒱][𝒞 op,𝒱] (p^{op})^\ast \;\simeq\; Ran_{q^{op}} \;\colon\; [\mathcal{D}^{op},\mathcal{V}] \longrightarrow [\mathcal{C}^{op},\mathcal{V}]

between the precomposition on enriched presheaves with one functor and the left/right Kan extension of the other (Def. ).

By essential uniqueness of adjoint functors, this means that the two adjoint triples (Remark ) given by Kan extension (19) of qq and pp

Lan q op (q op) * Ran q op Lan p op (p op) * Ran p op \array{ Lan_{q^{op}} &\dashv& (q^{op})^\ast &\dashv& Ran_{q^{op}} \\ && Lan_{p^{op}} &\dashv& (p^{op})^\ast &\dashv& Ran_{p^{op}} }

merge into an adjoint quadruple (Remark )

Lan q op (q op) * (p op) * Ran p op:[𝒞 op,𝒱][𝒟 op,𝒱] \array{ Lan_{q^{op}} &\dashv& (q^{op})^\ast &\dashv& (p^{op})^\ast &\dashv& Ran_{p^{op}} } \;\colon\; [\mathcal{C}^{op},\mathcal{V}] \leftrightarrow [\mathcal{D}^{op}, \mathcal{V}]
Proof

For every enriched presheaf F:𝒞 op𝒱F \;\colon\; \mathcal{C}^{op} \to \mathcal{V} we have a sequence of 𝒱\mathcal{V}-enriched natural isomorphism as follows

(Lan p opF)(d) c𝒞𝒟(d,p(c))F(c) c𝒞𝒞(q(d),c)F(c) F(q(d)) =((q op) *F)(d). \begin{aligned} (Lan_{p^{op}} F)(d) & \simeq \int^{ c \in \mathcal{C} } \mathcal{D}(d,p(c)) \otimes F(c) \\ & \simeq \int^{ c \in \mathcal{C} } \mathcal{C}(q(d),c) \otimes F(c) \\ & \simeq F(q(d)) \\ & = \left( (q^{op})^\ast F\right) (d) \,. \end{aligned}

Here the first step is the coend-formula for left Kan extension (Prop. ), the second step if the enriched adjunction-isomorphism (?) for qpq \dashv p and the third step is the co-Yoneda lemma.

This shows the first statement, which, by essential uniqueness of adjoints, implies the following statements.

Proposition

(left Kan extension along fully faithful functor is fully faithful)

For 𝒱\mathcal{V} a cosmos (Def. ), let

𝒞AApAA𝒟 \mathcal{C} \overset{\phantom{AA} p \phantom{AA}}{\hookrightarrow} \mathcal{D}

be a fully faithful 𝒱\mathcal{V}-enriched functor (Def. ) between small 𝒱\mathcal{V}-enriched categories (Def. ).

Then for all c𝒞c \in \mathcal{C}

p *(Lan pc)c p^* (Lan_p c) \simeq c

and in fact the (Lan FF *)(Lan_F \dashv F^*)-unit of an adjunction is a natural isomorphism

Idp *Lan p. Id \stackrel{\simeq}{\to} p^* \circ Lan_{p} \,.

hence, by Prop. ,

[𝒞 op,Set]AALan pAA[𝒟 op,Set] [\mathcal{C}^{op}, Set] \overset{\phantom{AA} Lan_p \phantom{AA}}{\hookrightarrow} [\mathcal{D}^{op}, Set]

is a fully faithful functor.

Proof

By the coend formula (17) we have, naturally in d𝒟d' \in \mathcal{D}, the left Kan extension of any F:𝒞𝒱F \;\colon\; \mathcal{C} \to \mathcal{V} on the image of pp is

Lan pF:p(c) cC𝒟(p(c),p(c))F(c) cC𝒞(c,c)F(c) F(c), \begin{aligned} Lan_p F \;\colon\; p(c) \mapsto & \int^{c' \in C} \mathcal{D}(p(c'), p(c)) \cdot F(c') \\ & \simeq \int^{c' \in C} \mathcal{C}(c', c) \cdot F(c') \\ & \simeq F(c) \end{aligned} \,,

where in the second step we used the assumption of fully faithfulness of pp and in the last step we used the co-Yoneda lemma (Prop. ).

Lemma

(colimit of representable is singleton)

Let 𝒞\mathcal{C} be a small category (Def. ). Then the colimit of a representable presheaf (Def. ), regarded as a functor

y(c):𝒞 opSet y(c) \;\colon\; \mathcal{C}^{op} \longrightarrow Set

is the singleton set.

(20)lim𝒟 opy(c)*. \underset{\underset{\mathcal{D}^{op}}{\longrightarrow}}{\lim} y(c) \;\simeq\; \ast \,.
Proof

One way to see this is to regard the colimit as the left Kan extension (Prop. ) along the unique functor 𝒞 opp*\mathcal{C}^{op} \overset{p}{\to} \ast to the terminal category (Def. ). By the formula (17) this is

lim𝒟 opy(c) c 1𝒞*(,p(c 1))const *(c 1)×y(c)(c 1) c 1𝒞const *(c 1)×𝒞(c 1,c) const *(c) * \begin{aligned} \underset{\underset{\mathcal{D}^{op}}{\longrightarrow}}{\lim} y(c) & \simeq \int^{c_1 \in \mathcal{C}} \underset{const_\ast(c_1)}{\underbrace{\ast(-,p(c_1))}} \times y(c)(c_1) \\ & \simeq \int^{c_1 \in \mathcal{C}} const_\ast(c_1) \times \mathcal{C}(c_1,c) \\ & \simeq const_\ast(c) \\ & \simeq \ast \end{aligned}

where we made explicit the constant functor const *:𝒞Setconst_\ast \;\colon\; \mathcal{C} \to Set, constant on the singleton set *\ast, and then applied the co-Yoneda lemma (Prop. ).

Proposition

(categories with finite products are cosifted

Let 𝒞\mathcal{C} be a small category (Def. ) which has finite products. Then 𝒞\mathcal{C} is a cosifted category, equivalently its opposite category 𝒞 op\mathcal{C}^{op} is a sifted category, equivalently colimits over 𝒞 op\mathcal{C}^{op} with values in Set are sifted colimits, equivalently colimits over 𝒞 op\mathcal{C}^{op} with values in Set commute with finite products, as follows:

For X,Y[𝒞 op,Set]\mathbf{X}, \mathbf{Y} \in [\mathcal{C}^{op}, Set] to functors on the opposite category of 𝒞\mathcal{C} (hence two presheaves on 𝒞\mathcal{C}, Example ) we have a natural isomorphism (Def. )

lim𝒞 op(X×Y)(lim𝒞 opX)×(lim𝒞 opY) \underset{\underset{\mathcal{C}^{op}}{\longrightarrow}}{\lim} \left( \mathbf{X} \times \mathbf{Y} \right) \;\simeq\; \left( \underset{\underset{\mathcal{C}^{op}}{\longrightarrow}}{\lim} \mathbf{X} \right) \times \left( \underset{\underset{\mathcal{C}^{op}}{\longrightarrow}}{\lim} \mathbf{Y} \right)

between the colimit of their Cartesian product and the Cartesian product of their separate colimits.

Proof

First observe that for X,Y[𝒞 op,Set]\mathbf{X}, \mathbf{Y} \in [\mathcal{C}^{op}, Set] two presheaves, their Cartesian product is a colimit over presheaves represented by Cartesian products in 𝒞\mathcal{C}. Explicity, using coend-notation, we have:

(21)X×Y c 1,c 2𝒞y(c 1×c 2)×X(c 1)×Y(c 2), \mathbf{X} \times \mathbf{Y} \;\simeq\; \int^{c_1,c_2 \in \mathcal{C}} y(c_1 \times c_2) \times \mathbf{X}(c_1) \times \mathbf{Y}(c_2) \,,

where y:𝒞[𝒞 op,Set]y \;\colon\; \mathcal{C} \hookrightarrow [\mathcal{C}^{op}, Set] denotes the Yoneda embedding.

This is due to the following sequence of natural isomorphisms:

(X×Y)(c) ( c 1𝒞𝒞(c,c 1)×X(c 1))×( c 2𝒞𝒞(c,c 2)×Y(c 2)) c 1𝒞 c 2𝒞𝒞(c,c 1)×𝒞(c,c 2)𝒸(c,c 1×c 2)×(X(c 1)×X(c 2)) c 1𝒞 c 2𝒞𝒞(c,c 1×c 2)×X(c 1)×X(c 2), \begin{aligned} (\mathbf{X} \times \mathbf{Y})(c) & \simeq \left( \int^{c_1 \in \mathcal{C}} \mathcal{C}(c,c_1) \times \mathbf{X}(c_1) \right) \times \left( \int^{c_2 \in \mathcal{C}} \mathcal{C}(c,c_2) \times \mathbf{Y}(c_2) \right) \\ & \simeq \int^{c_1 \in \mathcal{C}} \int^{c_2 \in \mathcal{C}} \underset{ \simeq \mathcal{c}(c, c_1 \times c_2) }{ \underbrace{ \mathcal{C}(c,c_1) \times \mathcal{C}(c,c_2) }} \times \left( \mathbf{X}(c_1) \times \mathbf{X}(c_2) \right) \\ & \simeq \int^{c_1 \in \mathcal{C}} \int^{c_2 \in \mathcal{C}} \mathcal{C}(c,c_1 \times c_2) \times \mathbf{X}(c_1) \times \mathbf{X}(c_2) \,, \end{aligned}

where the first step expands out both presheaves as colimits of representables separately, via the co-Yoneda lemma (Prop. ), the second step uses that the Cartesian product of presheaves is a two-variable left adjoint (by the symmetric closed monoidal structure on presheaves) and as such preserves colimits (in particular coends) in each variable separately (Prop. ), and under the brace we use the defining universal property of the Cartesian products, assumed to exist in 𝒞\mathcal{C}.

With this, we have the following sequence of natural isomorphisms:

lim𝒟 op(X×Y) lim𝒟 op c 1,c 2𝒞y(c 1×c 2)×X(c 1)×Y(c 2) c 1,c 2𝒞lim𝒟 op(y(c 1×c 2)×X(c 1)×Y(c 2)) c 1,c 2𝒞(lim𝒟 opy(c 1×c 2)*)×X(c 1)×Y(c 2) c 1,c 2𝒞(X(c 1)×Y(c 2)) ( c 1𝒞X(c 1))×( c 2𝒞Y(c 2)) (lim𝒞 opX)×(lim𝒞 opY) \begin{aligned} \underset{\underset{\mathcal{D}^{op}}{\longrightarrow}}{\lim} \left( \mathbf{X} \times \mathbf{Y} \right) & \simeq \underset{\underset{\mathcal{D}^{op}}{\longrightarrow}}{\lim} \int^{c_1,c_2 \in \mathcal{C}} y(c_1 \times c_2) \times \mathbf{X}(c_1) \times \mathbf{Y}(c_2) \\ & \simeq \int^{c_1,c_2 \in \mathcal{C}} \underset{\underset{\mathcal{D}^{op}}{\longrightarrow}}{\lim} \left( y(c_1 \times c_2) \times \mathbf{X}(c_1) \times \mathbf{Y}(c_2) \right) \\ & \simeq \int^{c_1,c_2 \in \mathcal{C}} \left( \underset{ \simeq \ast }{ \underbrace{ \underset{\underset{\mathcal{D}^{op}}{\longrightarrow}}{\lim} y(c_1 \times c_2) }} \right) \times \mathbf{X}(c_1) \times \mathbf{Y}(c_2) \\ & \simeq \int^{c_1,c_2 \in \mathcal{C}} \left( \mathbf{X}(c_1) \times \mathbf{Y}(c_2) \right) \\ & \simeq \left( \int^{c_1\in \mathcal{C}} \mathbf{X}(c_1) \right) \times \left( \int^{c_2\in \mathcal{C}} \mathbf{Y}(c_2) \right) \\ & \simeq \left( \underset{\underset{\mathcal{C}^{op}}{\longrightarrow}}{\lim} \mathbf{X} \right) \times \left( \underset{\underset{\mathcal{C}^{op}}{\longrightarrow}}{\lim} \mathbf{Y} \right) \end{aligned}

Here the first step is (21), the second uses that colimits commute with colimits (Prop. ), the third uses again that the Cartesian product respects colimits in each variable separately, the fourth is by Lemma , the last step is again the respect for colimits of the Cartesian product in each variable separately.

Last revised on June 11, 2022 at 10:35:20. See the history of this page for a list of all contributions to it.