Math 2.0

Category theory; homological algebra Representability and the Yoneda lemma Theorem

Density theorem

Builds on CategoryPresheafYoneda embeddingColimitCategory of elementsRepresentable functorFunctor category

Statement

Let ๐’ž\mathcal{C} be a small category, let ๐’ž^=[๐’žop,๐’๐ž๐ญ]\widehat{\mathcal{C}} = [\mathcal{C}^{\mathrm{op}}, \mathbf{Set}] be the functor category of presheaves on ๐’ž\mathcal{C}, and let yโ€‰โฃ:๐’žโ†’๐’ž^y \colon \mathcal{C} \to \widehat{\mathcal{C}} be the Yoneda embedding. Let PP be a presheaf on ๐’ž\mathcal{C}, and let โˆซP\int P be its category of elements, with objects the pairs (c,x)(c, x) such that xโˆˆP(c)x \in P(c). Let ฯ€โ€‰โฃ:โˆซPโ†’๐’ž\pi \colon \int P \to \mathcal{C} be the projection (c,x)โ†ฆc(c, x) \mapsto c. Then PP is the colimit of the diagram yโˆ˜ฯ€โ€‰โฃ:โˆซPโ†’๐’ž^y \circ \pi \colon \int P \to \widehat{\mathcal{C}}. The colimit cocone has components y(c)โ†’Py(c) \to P given by the natural transformations that correspond to xโˆˆP(c)x \in P(c) under the Yoneda lemma.

Remarks

Proof idea: colimits in ๐’ž^\widehat{\mathcal{C}} are computed objectwise in ๐’๐ž๐ญ\mathbf{Set}. At an object dd, the colimit of the sets Homโก(d,c)\Hom(d, c) over (c,x)โˆˆโˆซP(c, x) \in \int P is a quotient of the set of pairs (gโ€‰โฃ:dโ†’c,xโˆˆP(c))(g \colon d \to c, x \in P(c)), and each pair is identified with (idโกd,P(g)(x))(\id_d, P(g)(x)). So the colimit at dd is P(d)P(d), and the identifications are compatible with the maps of PP.

Example: if P=y(a)P = y(a) is itself representable, then โˆซP\int P is the slice category over aa, which has the terminal object (a,idโกa)(a, \id_a), and the colimit is just y(a)y(a).

In short: every presheaf is a colimit of representable presheaves. Smallness of ๐’ž\mathcal{C} makes โˆซP\int P small, so the colimit is a small colimit.

Going deeper

For a student

The theorem is used to extend a functor Fโ€‰โฃ:๐’žโ†’โ„ฐF \colon \mathcal{C} \to \mathcal{E} to all presheaves when โ„ฐ\mathcal{E} has colimits: send PP to the colimit of Fโˆ˜ฯ€F \circ \pi. This extension is the left Kan extension of FF along yy, and it is left adjoint to the functor Eโ†ฆHomโกโ„ฐ(F(โˆ’),E)E \mapsto \Hom_{\mathcal{E}}(F(-), E). Geometric realisation of simplicial sets is built this way, from the standard simplices. The theorem also shows that ๐’ž^\widehat{\mathcal{C}} is the free cocompletion of ๐’ž\mathcal{C}.

Reading path

To understand this page from the ground up, read these 8 pages in order. The foundations come first.

Show the path as a graph
Each page uses the pages above it. The colour of the bar on a box shows how strong the evidence is, and the box also gives it as text. The list has the same pages.
  • no evidence level
  1. Category concept
  2. Category of elements concept
  3. Colimit concept
  4. Functor category concept
  5. Presheaf concept
  6. Representable functor concept
  7. Yoneda embedding concept
  8. Density theorem statement

Further reading

  1. Web https://en.wikipedia.org/wiki/Density_theorem_(category_theory)
About this page
Tag8P9PJG95H3
URIm2://8P9PJG95H3
Kindstatement, theorem
WritingW0 stub
MSC18A25, 18A30
StatusThis copy of the site has no build data. Run m2 status 8P9PJG95H3.
AboutPresheaf, Representable functor
UsesCategory, Presheaf, Yoneda embedding, Colimit, Category of elements, Representable functor, Functor category
Same as
Changed2 November 2026

Markdown ยท JSON ยท Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)
  • a source with a locator (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.