Abstracting our abstractions: "limits of cones", universal properties

The last article, Abstracting some categorical definitions, saw the same kind of construction repeated over and over: given some diagram, we'd ask for an object with morphisms to or from that diagram (demanding that the diagram commute) – such an object would be a "candidate" for our construction, and we'd then ask for the "maximum" or "minimum" among such constructions.

That this notion appears so frequently makes sense. It's really a generalisation of the notions of initial and final topologies, and comes from the notion that an object is defined by its morphisms to or from other objects, and that we're interested in constructions that are unique up to isomorphism.

So consider some diagram in π’ž. As we will later see, this is formally a "functor" (morphism between categories) from an indexing category ℐ to π’ž – denote it as X :β€„β„β€„β†’β€„π’ž.

We define a *cone*Β to π’ž as an object M together with morphisms mi : M → Xi such that it *commutes*Β with the existing diagramΒ (formally, such that for every morphism f : i → j in ℐ, we have F(f)β€…βˆ˜β€…mi = mj).

Now this necessarily represents an object with "more information than each Xi" – so we're interested in the "infimum" of these cones, the one with the least information, the one to which there exists a morphism from any other cone. The *limsup*Β of cones, if you will:

We define the *limit*Β (L,β„“i) of the diagram to be a cone such that for any cone (M,mi) to the diagram, βˆƒ!Β u : M → L such that the diagram commutes, i.e. mi = ℓiβ€…βˆ˜β€…u forall i.

#+ATTRHTML: :width 400

|

The above diagram commutes, and the purple morphism is unique.

And the dual notion is also observed, a liminf:

We define a *co-cone*Β from π’ž as an object $\overline{M}$ together with morphisms $\overline{m}_i:X_i\to \overline{M}$ such that it *commutes*Β with the existing diagramΒ (formally, such that for every morphism f : i → j in ℐ, we have $\overline{m}_j\circ F(f)=\overline{m}_i$).

We define the *co-limit*Β $(\overline{L},\overline{\ell}_i)$ of the diagram to be a cone such that for any cone $(\overline{M},\overline{m}_i)$ to the diagram, $\exists!\ u:\overline{L}\to \overline{M}$ such that the diagram commutes, i.e. $\overline{m}_i=u\circ\overline{\ell}_i$ forall i.

The below diagram commutes, and the purple morphism is unique.
#+ATTRHTML: :width 400

| Alternatively, the limit and colimit may be characterised as the *final object in the category ofΒ **cones*Β and the *initial object in the category of co-cones*Β respectively (check that this makes sense).

Examples:

Diagrams captioned by their limits.

(empty diagram)

Limit: final object

Co-limit: initial object |

#+ATTRHTML: :width 400

| (discrete diagram)

Limit: product

Co-limit: co-product

This answers the difficult cases of the empty product (it's just the final object) and the power (use the constant functor). |

#+ATTRHTML: :width 400

| (parallel diagram)

Limit: equaliser

Co-limit: co-equaliser |

*

*Exercises:*Β Do some examples to convince yourself of the following ideas:


Universal objects and comma categories

*

You may have noticed that images and coimages cannot be written as limits and colimits (do you see why?). We made a fairly specific specialisation when defining limits/colimits that doesn't really have to do with our "limsup/liminf" intuition – we insisted we had morphisms either from or to the diagram, whereas we could in general have a more complicated property.

In general, instead of dealing with the category of cones, we could deal with some other category (called the comma category) and discuss its initial and final objects instead.

The key insight regarding this generalisation is as follows: one can see the limit as a construction in the *category π’žβ„ of diagrams*Β in $π’ž$Β of a certain shape ℐ. The limit object (which is an object in π’ž) can be "upgraded" to that category as the *constant diagram*Β (an element of π’žβ„ that maps every node in the diagram shape to the same object in ℐ)Β (this "upgrading" is called the *diagonal functor* Δ :β€„π’žβ€„β†’β€„π’žβ„β€„:= λM.Β (Ξ»i.Β M)) with a morphism to the object of π’žβ„ we're actually taking the limit of.

So more generally, we can consider some category other than π’žβ„, and a more general functor than Ξ”, in order to formalise a more general notion of being a limiting object. We make the following definition:

We define the final morphism from a functor F :β€„π’žβ€„β†’β€„π’Ÿ to an object Dβ€„βˆˆβ€„π’Ÿ as a morphism ℓ : F(L) → D such that for any morphism m : F(M) → D, there βˆƒ!Β u : M → L such that the diagram commutes, i.e. m =β€„β„“β€…βˆ˜β€…F(u).

You may observe that F generalised Ξ”, π’Ÿ is the generalisation of the "category of diagrams", and the final morphism generalises the limit (with L being the limit "object" in π’ž). Analogously we define, generalising the colimit:

We define the initial morphism to a functor F :β€„π’žβ€„β†’β€„π’Ÿ from an object Dβ€„βˆˆβ€„π’Ÿ as a morphism $\overline{\ell}:D\to F(\overline{L})$ such that for any morphism $\overline{m}:D\to F(\overline{M})$, there $\exists!\ u: \overline{L}\to \overline{M}$ such that the diagram commutes, i.e. $\overline{m}=F(u)\circ\overline{\ell}$.

Pitfall: These terms "final morphism" and "initial morphism" are not to be confused with the morphisms to and from an initial object or a final object, that we defined previously. Typically, these terms are used in neither context – one simply says "universal morphism" to/from D from/to F; and in the previous context, one simply says morphisms to a final object/from an initial object.

In general, these morphisms are referred to as universal morphisms or universal objects.

(By the way: the term "universal property" is just used to refer to the property of being initial or terminal or whatever.)

This notion can easily be restated as follows: given an object Dβ€„βˆˆβ€„π’Ÿ and a functor F :β€„π’žβ€„β†’β€„π’Ÿ, one can construct the following:

The *comma category*Β [Fβ†’D] is a category whose objects are the morphisms m : F(M) → D, and whose morphisms from m1 → m2 are given by morphisms u : M1 → M2 such that the diagram commutes, i.e. such that m1 = m2β€…βˆ˜β€…F(u).

The *cocomma category*Β [Dβ†’F] is a category whose objects are the morphisms m : D → F(M) and whose morphisms from m1 → m2 are given by morphisms u : M1 → M2 such that the diagram commutes, i.e. such that m2 = F(u)β€…βˆ˜β€…m1

Then a final morphism is the final object in the comma category, and an initial morphism is the initial morphism is the initial object in the cocomma category. If π’Ÿβ€„=β€„π’žβ„ (i.e. is a diagram category) and F is the diagonal functor, then the comma category is the category of cones, and the cocomma category is the category of cocones.

One might dislike the asymmetry between F and D and decide to go a step further, generalising D to another functor. So given two functors F :β€„π’œβ€„β†’β€„π’Ÿ and G :β€„β„¬β€„β†’β€„π’Ÿ, we can construct:

The comma category [Fβ†’G] is a category whose objects are the morphisms m : F(M) → G(N) and whose morphisms from m1 → m2 are given by morphisms u : M1 → M2,Β v : N1 → N2 such that the following diagram commutes:

The previous definition of comma and cocomma categories then occur when ℬ and π’œ respectively are replaced by a singleton (and D is the only object in their image in π’Ÿ).


Examples: free group, image