Yoneda Lemma

Summary

The Yoneda lemma states that for a locally small category , any functor , and any , there is a natural bijection . Natural transformations from a representable functor are determined by a single element — what a representable “sees” in is exactly the data of at the representing object.

Overview

The Yoneda lemma is arguably the single most important result in category theory. It says that an object is completely determined by the functor it represents: to know is to know . This has the immediate corollary that the Yoneda embedding is fully faithful — the category embeds into its presheaf category without loss of information.

Main Content

Theorem 4.2.1: Yoneda Lemma

Let be a locally small category, a functor, and . There is a bijection

that is natural in both and .

The inverse sends to the natural transformation with components

How to read the bijection: A natural transformation is a coherent family of functions for all . The lemma says this entire infinite family is determined by just one piece of data: the single element obtained by evaluating the -component on the identity .

Proof sketch: Given and , naturality forces:

so is completely determined by . Conversely, given , defining yields a natural transformation by functoriality of .

Covariant Yoneda Lemma

The covariant version: for and :

where .

Yoneda Lemma and Representability

Corollary 4.2.3: Yoneda and Representations

A functor is representable by if and only if contains a universal element such that for all and , there is a unique with .

The natural isomorphism corresponds to .

Example: Yoneda for the Product (BCT, Ch. 4.2)

The product in a category represents the functor . The universal element is the pair of projections .

The Yoneda bijection recovers the universal property: every pair of maps corresponds to a unique map .

Example: Yoneda Applied to Hom-Sets (BCT, Ch. 4.2)

Taking , the Yoneda lemma gives:

Natural transformations are in bijection with maps . This is the key computation for full faithfulness of the Yoneda embedding.

Naturality of the Yoneda Bijection

The bijection is natural in both (contravariantly) and (covariantly). This naturality is essential for the consequences in Yoneda Embedding and Consequences.

Connections

  • The Yoneda lemma is the foundation for the Yoneda embedding (Yoneda Embedding and Consequences).
  • Limits via representables (Limits via Representables): the cone functor is a presheaf, and the limit represents it.
  • Density theorem (Limits in Presheaf Categories): every presheaf is a colimit of representables.
  • In Adjunctions: the natural bijection is a Yoneda-type statement about representability.

See Also