Module 4: The Yoneda Lemma

The Yoneda Lemma is one of the most fundamental results in category theory. It states that an object is completely determined by how other objects map into it — a mathematical formalization of the principle that something is defined entirely by its relationships, not its internal constitution. This module proves the lemma in full, explores its consequences for the Yoneda embedding, and connects the result to the engineering practice of interface-based specification: if two objects have the same interface (same hom-sets), they are the same object.

Learning Objectives

  • Define representable functors and the hom-functor hom(c, −) for a fixed object c.
  • State and prove the Yoneda Lemma: Nat(hom(c, −), F) ≅ F(c).
  • Explain the Yoneda embedding as a fully faithful functor C → [C^op, Set].
  • Apply Yoneda to conclude that two objects with isomorphic hom-sets are themselves isomorphic.
  • Connect the Yoneda principle to interface-based specification in software engineering.
  • Recognize the Yoneda Lemma as a categorical generalization of Cayley's theorem for groups.

Materials

Key Concepts

Central Concepts from Prerequisites