Math 2.0

Category theory; homological algebra Representability and the Yoneda lemma Lemma

Yoneda lemma

Builds on CategoryHom functorPresheafNatural transformationOpposite category

Statement

Let ๐’ž\mathcal{C} be a locally small category and let AA be an object of ๐’ž\mathcal{C}. Let ๐’๐ž๐ญ\mathbf{Set} be the category of sets and let ๐’žop\mathcal{C}^{\mathrm{op}} be the opposite category. Let Fโ€‰โฃ:๐’žopโ†’๐’๐ž๐ญF \colon \mathcal{C}^{\mathrm{op}} \to \mathbf{Set} be a presheaf on ๐’ž\mathcal{C}. Let Nat(Homโก(โˆ’,A),F)\mathrm{Nat}(\Hom(-, A), F) be the class of natural transformations from the hom functor Homโก(โˆ’,A)\Hom(-, A) to FF. Then the map Nat(Homโก(โˆ’,A),F)โ†’F(A),ฮฑโ†ฆฮฑA(idโกA)\mathrm{Nat}(\Hom(-, A), F) \to F(A), \qquad \alpha \mapsto \alpha_A(\id_A) is a bijection. Its inverse sends xโˆˆF(A)x \in F(A) to the natural transformation ฮฑ\alpha with ฮฑX(f)=F(f)(x)\alpha_X(f) = F(f)(x) for every object XX and every fโ€‰โฃ:Xโ†’Af \colon X \to A. The bijection is natural in both AA and FF.

Remarks

Proof idea: let ฮฑ\alpha be natural and x=ฮฑA(idโกA)x = \alpha_A(\id_A). For fโ€‰โฃ:Xโ†’Af \colon X \to A, naturality applied to ff and the element idโกA\id_A gives ฮฑX(idโกAโˆ˜f)=F(f)(ฮฑA(idโกA))\alpha_X(\id_A \circ f) = F(f)(\alpha_A(\id_A)), that is, ฮฑX(f)=F(f)(x)\alpha_X(f) = F(f)(x). So ฮฑ\alpha is determined by xx, and a direct check shows that every xx defines a natural transformation in this way.

Example: take F=Homโก(โˆ’,B)F = \Hom(-, B) for an object BB. The lemma says that natural transformations Homโก(โˆ’,A)โ†’Homโก(โˆ’,B)\Hom(-, A) \to \Hom(-, B) correspond to elements of Homโก(A,B)\Hom(A, B), that is, to morphisms Aโ†’BA \to B; each one is post-composition with that morphism.

The covariant form is the same: for a functor Gโ€‰โฃ:๐’žโ†’๐’๐ž๐ญG \colon \mathcal{C} \to \mathbf{Set}, natural transformations Homโก(A,โˆ’)โ†’G\Hom(A, -) \to G correspond to elements of G(A)G(A). Local smallness is needed for Homโก(โˆ’,A)\Hom(-, A) to take values in ๐’๐ž๐ญ\mathbf{Set}.

Going deeper

For a student

The lemma is the reason that the Yoneda embedding Aโ†ฆHomโก(โˆ’,A)A \mapsto \Hom(-, A) is fully faithful, so every category sits inside a category of presheaves without loss of information. It implies that a representing object of a representable functor is unique up to unique isomorphism. This is why objects defined by a universal property are unique up to unique isomorphism. In practice it is used to prove that two objects are isomorphic by showing that their hom functors are naturally isomorphic. Applied to a group seen as a one-object category, it gives Cayley's theorem, that every group embeds in a group of permutations of its own elements.

Reading path

To understand this page from the ground up, read these 6 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. Hom functor concept
  3. Natural transformation concept
  4. Opposite category concept
  5. Presheaf concept
  6. Yoneda lemma statement

Where this leads

2 pages build on this one.

Further reading

  1. Web https://en.wikipedia.org/wiki/Yoneda_lemma
About this page
TagD6DF1ARPVD
URIm2://D6DF1ARPVD
Kindstatement, lemma
WritingW0 stub
MSC18A25, 18A23
StatusThis copy of the site has no build data. Run m2 status D6DF1ARPVD.
AboutHom functor, Presheaf
UsesCategory, Hom functor, Presheaf, Natural transformation, Opposite category
Same as

Markdown ยท JSON ยท Edit on GitHub

What this page needs for W1

  • 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

Used by