Adjoints, Representables, and Limits Together/Limits and Colimits of Presheaves

Lesson 6.21,364 words

Limits and Colimits of Presheaves

Representables preserve limits, and limits in a functor category are computed one object at a time, so a presheaf category is complete and cocomplete with all its structure inherited pointwise from Set. The Yoneda embedding then preserves limits but not colimits, and the density theorem repairs the colimit side: every presheaf is a canonical colimit of representables.

╌╌╌╌

A presheaf on is a functor , and presheaves on form the category . Limits and colimits in this category are computed pointwise, so it inherits completeness and cocompleteness from . The Yoneda embedding preserves limits but not colimits, and although a colimit of representables need not be representable, every presheaf is a colimit of representables.1

Hom-functors turn limits into limits.

Representables preserve limits

Fix a locally small category and an object . The hom-functor sends an object to the set of maps . For a product, a map into is a pair of maps, so

naturally in every argument. The same pattern holds for equalizers: a map into is a map with , which is exactly an element of the equalizer of and in . These are two instances of a single statement.2

The lemma is a reading of the explicit limit formula in . An element of is a compatible family with and for every . That compatibility is , which is the cone condition. Combined with the representation of the cone functor, , the lemma gives the headline.

Dualizing replaces by : the contravariant hom-functor preserves limits, which means it turns colimits in into limits in ,

The covariant hom-functor turns limits into limits and the contravariant one turns colimits into limits; neither produces a colimit. The duality is not symmetric.

Limits in functor categories

Now let be small and locally small, so is again locally small. For each the evaluation functor sends to . Given a diagram of functors, evaluating at produces an ordinary diagram . The claim is that the limit of is computed by taking the limit of each and reassembling.

In short, limits in a functor category are computed pointwise, the points being the objects of . The proof assembles the pointwise limits into a functor: a map induces a map as the unique factorization from the induced-map lemma, the projections then form a cone in , and universality is checked one object at a time.3 Colimits are computed pointwise by the dual argument.

The pointwise limit: evaluate the diagram of functors at each object (here and ), take the limit in with projections at and at , and the maps assemble the values into the limit functor.

Two consequences:

  • Completeness is inherited. If has all limits (respectively colimits) of shape , so does , and each evaluation functor preserves them.
  • Presheaf categories are complete and cocomplete. Since has all small limits and colimits, has them too, computed pointwise, for any small .

A caution attaches to the first point. When lacks some limits, the functor category can still contain a limit of that shape which no evaluation functor preserves; such limits are not pointwise. The theorem only builds pointwise limits from limits already present in .4

Limits commute with limits

Pointwise computation gives a clean proof that the order of taking limits does not matter. For shapes , and a category with all limits, a functor can be curried either way, and its three possible limits agree.5

A limit over a product shape (here both factors discrete on two objects): the vertex projects to every , and taking the limit one factor at a time gives the same in either order.

The proof runs each side through the representation isomorphism until both name a representing object for , then invokes uniqueness. By analogy with swapping the order of integration, the result is sometimes called a Fubini theorem. The analogy is only partial: colimits commute with colimits, but limits do not in general commute with colimits. Taking with four one-element sets,

so a product of sums differs from the corresponding sum of products.

The Yoneda embedding and limits

The Yoneda embedding sends to the representable . Since representables preserve limits and limits of presheaves are pointwise, the embedding carries limits in to limits in the presheaf category.

Concretely, if has binary products then , which evaluated at is the familiar . Viewing as sitting inside its presheaf category, the corollary says a limit of representables never leaves : it is again representable.

The Yoneda embedding sends the product cone on (left, with projections ) to a product cone on ; evaluating the presheaf isomorphism at recovers the hom-set identity.

Colimits are the opposite story. The embedding does not preserve them. If has an initial object , then is a one-element set, whereas the initial presheaf is constant at . So is not initial: the embedding sends the initial object of to a non-initial presheaf.6 The next section addresses this failure: every presheaf is nonetheless a colimit of representables.

Every presheaf is a colimit of representables

A canonical construction writes every presheaf as a colimit of representables; its indexing category is the category of elements.

The objects of are the elements of gathered across all objects of ; by Yoneda they are just the generalized elements of of representable shape. Composing the projection with the Yoneda embedding gives a diagram of representables indexed by these elements.

The density diagram: the category of elements projects to by , then embeds into presheaves by Yoneda, and the colimit of the composite recovers .

The proof computes cocones. A cocone on with vertex is a family of natural transformations , one per element , compatible across maps of . By the Yoneda lemma each transformation is an element of , and the compatibility condition turns the family into a single natural transformation . So cocones on with vertex correspond naturally to maps , which is the universal property of the colimit.7 The name echoes topology: is dense in its presheaf category because every presheaf is a colimit (a limit-of-points, in the topological sense) of objects of .

The density theorem exhibits as a colimit of representables: one representable for each element , glued over the category of elements.
Presheaf structureUnder the density theorem
An element an object of
A map with a map in
The presheaf the colimit of over
A map a cocone on with vertex

The density theorem is dual to the Yoneda lemma; the two are the same statement seen from opposite sides, one about maps out of representables and one about maps into them. Together they say that a presheaf category is generated by its representables under colimits, which makes the free cocompletion of .

Footnotes

  1. Leinster, Basic Category Theory, §6.2 opening — the three questions about limits and colimits in functor categories, and the program of answering them through representability.
  2. Leinster, Basic Category Theory, §6.2, Lemma 6.2.1 and Proposition 6.2.2 — cones are a limit of hom-sets, hence representables preserve limits; the product and equalizer cases are worked as motivation.
  3. Leinster, Basic Category Theory, §6.2, Theorem 6.2.5 — limits in a functor category are computed pointwise, with the two-part proof assembling the pointwise limits into a functor and checking universality object by object.
  4. Leinster, Basic Category Theory, §6.2, Corollary 6.2.6 and Warning 6.2.7 — completeness of inherited from , and the caveat that non-pointwise limits can appear when is incomplete.
  5. Leinster, Basic Category Theory, §6.2, Proposition 6.2.8 and Warning 6.2.10 — limits commute with limits (the Fubini analogy), and the counterexample showing products need not commute with sums.
  6. Leinster, Basic Category Theory, §6.2, Corollary 6.2.12 and Warning 6.2.14 — the Yoneda embedding preserves limits but not colimits, witnessed by the initial object.
  7. Leinster, Basic Category Theory, §6.2, Definition 6.2.16 and Theorem 6.2.17 — the category of elements and the density theorem exhibiting every presheaf as a canonical colimit of representables, secretly dual to Yoneda.

╌╌ END ╌╌