Skip to content
The Lumenary
Advanced undergraduateCategory TheoryPlanned

The Yoneda lemma

The Yoneda lemma, Nat(Hom(A, −), F) ≅ F(A); the full and faithful Yoneda embedding of a category into presheaves; and the principle that an object is determined up to isomorphism by the morphisms into it.

math.cat.yoneda

The lesson for this topic has not been written yet. The outline below is part of the curriculum map and has not been reviewed.

Builds on

Required prerequisites, all the way down: 18

You will learn to

  • State and prove the Yoneda lemma, including its naturality in A and F.
  • Deduce that the Yoneda embedding C → [Cᵒᵖ, Set] is full and faithful, and that Hom(−, A) ≅ Hom(−, B) implies A ≅ B.
  • Apply the Yoneda lemma in familiar settings, for example to recover Cayley's theorem for groups.

Definition

  • For a locally small category C, the Yoneda embedding y : C → [Cᵒᵖ, Set] sends A to Hom(−, A).
  • A presheaf on C is a functor Cᵒᵖ → Set.

Theorem

  • Yoneda lemma: for every functor F : C → Set and object A, natural transformations Hom(A, −) ⇒ F correspond bijectively to elements of F(A), via α ↦ α_A(id_A).
  • The Yoneda embedding is full and faithful; hence A ≅ B whenever Hom(−, A) ≅ Hom(−, B).
  • Applied to a group regarded as a one-object category, the Yoneda lemma yields Cayley's theorem.
  • Every presheaf on a small category is a colimit of representable presheaves.

Common misconceptions

  • Reading Yoneda as saying an object 'is' its set of elements; it says an object is determined by the morphisms into it from all objects.
  • Expecting the lemma to be hard to prove; its proof is short, and its power lies in how widely it applies.

Leads to

Optional discoveries

Learning pathways

Further reading

  • Emily Riehl, Category Theory in Context (2016)
  • Tom Leinster, Basic Category Theory (2014)
  • Saunders Mac Lane, Categories for the Working Mathematician (1971)