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:
- Even if there are a bunch of morphisms in the diagram, the limit of the diagram talks fundamentally about the product of the "starting" objects of the diagram (think of: XβββYβββZ, etc.).
- If your original diagram has non-commuting features, the limit of the diagram talks about equalisers of these features (think of: parallel diagram, reverse-parallel diagram β, other cycles, a diagram with non-trivial automorphisms).
- Adding commuting stuff doesn't change the limit (i.e. the limit of XβββYβββZ is the same if you add another morphism XβββZ).
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
