The Yoneda Lemma is a fundamental result in category theory that establishes a deep connection between objects and functors. It shows how we can understand an object by looking at all the morphisms going into it, providing a powerful tool for analyzing categorical structures.
This lemma has far-reaching consequences, from proving uniqueness of representing objects to enabling the Yoneda embedding. It's a cornerstone for understanding natural transformations and representable functors, making it essential for grasping advanced concepts in category theory.
The Yoneda Lemma
Yoneda lemma statement and proof
- Establishes an isomorphism between the set of natural transformations from a representable functor to any other functor and the set of elements of that functor applied to the representing object
- For a locally small category , a functor , and an object in , there is an isomorphism:
- Isomorphism is natural in both and (functorial in and )
- For a locally small category , a functor , and an object in , there is an isomorphism:
- Proof:
- Define the isomorphism :
- For a natural transformation , let
- Define the inverse :
- For an element , define a natural transformation by:
- For each object in and morphism , let
- For an element , define a natural transformation by:
- Prove that and are inverses:
- for all
- for all
- Define the isomorphism :

Applications of Yoneda lemma
- Proves uniqueness of certain natural transformations
- If are functors and is an object in , then any natural transformation is uniquely determined by its component
- Proves existence of certain natural transformations
- If is a functor and is an object in , then for any element , there exists a unique natural transformation such that
- Used to solve problems involving natural transformations between functors (e.g. proving isomorphisms, finding inverses)

Yoneda lemma vs Yoneda embedding
- Yoneda embedding is a full and faithful functor defined by:
- For each object in ,
- For each morphism in , is the natural transformation
- Yoneda lemma implies the Yoneda embedding is full and faithful:
- For any objects in , the Yoneda lemma gives an isomorphism:
- This isomorphism shows that the Yoneda embedding reflects and preserves morphisms (fully faithful)
- For any objects in , the Yoneda lemma gives an isomorphism:
Consequences of Yoneda Lemma
Consequences of Yoneda lemma
- Implies uniqueness of representing objects up to unique isomorphism
- If is a representable functor, then any two representing objects for are uniquely isomorphic
- Suppose and are objects in such that and
- The Yoneda lemma gives isomorphisms:
- The identity natural transformation corresponds to a unique isomorphism
- If is a representable functor, then any two representing objects for are uniquely isomorphic
- Used to prove the co-Yoneda lemma for contravariant representable functors
- Co-Yoneda lemma: for a locally small category , a functor , and an object in , there is an isomorphism:
- Co-Yoneda lemma derived from Yoneda lemma by considering the opposite category (dual statement)
- Co-Yoneda lemma: for a locally small category , a functor , and an object in , there is an isomorphism: