Showing changes from revision #82 to #83:
Added | Removed | Changed
Ingredients
Incarnations
Properties
Universal aspects
Classification
Induced theorems
…
In higher category theory
The Yoneda lemma says that the set of morphisms from a representable presheaf into an arbitrary presheaf is in natural bijection with the set assigned by to the representing object .
The Yoneda lemma is an elementary but deep and central result in category theory and in particular in sheaf and topos theory. It is essential background behind the central concepts of representable functors, universal constructions, and universal elements.
(functor underlying the Yoneda embedding)
For a locally small category we write
for the functor category out of the opposite category of into Set.
This is also called the category of presheaves on . Other notation used for it includes or .
There is a functor
(called the Yoneda embedding for reasons explained below) from to its category of presheaves, which sends each object to the hom-functor into that object, also called the presheaf represented by .
(Yoneda embedding is adjunct of hom-functor)
The Yoneda embedding functor from Def. 1 is equivalently the adjunct of the hom-functor
under the product category/functor category adjunction
in the closed symmetric monoidal category of categories.
Let be a locally small category, with category of presheaves denoted , according to Def. 1.
For any presheaf, there is a canonical isomorphism
between the hom-set of presheaf homomorphisms from the representable presheaf to , and the value of at .
This is the standard notation used mostly in pure category theory and enriched category theory. In other parts of the literature it is customary to denote the presheaf represented by as . In that case the above is often written
or
to emphasize that the morphisms of presheaves are natural transformations of the corresponding functors.
The proof is by chasing the element around both legs of a naturality square for a natural transformation (hence a homomorphism of presheaves):
What this diagram shows is that the entire transformation is completely determined from the single value , because for each object of , the component must take an element (i.e., a morphism ) to , according to the commutativity of this diagram.
The crucial point is that the naturality condition on any natural transformation is sufficient to ensure that is already entirely fixed by the value of its component on the identity morphism . And every such value extends to a natural transformation .
More in detail, the bijection is established by the map
where the first step is taking the component of a natural transformation at and the second step is evaluation at .
The inverse of this map takes to the natural transformation with components
Discussion in homotopy type theory.
Note: the HoTT book calls a internal category in HoTT a “precategory” and a univalent category a “category”, but here we shall refer to the standard terminology of “category” and “univalent category” respectively.
By Lemma 9.5.3 in the HoTT book (see product category), we have an induced functor which we call the yoneda embedding.
Theorem 9.5.4 (The Yoneda Lemma) For any category , any , and any functor , we have an isomorphism
Moreover this is natural in both and .
Proof. Given a natural transformation , we can consider the component . Since , we have , so that . This gives a function from left to right in (9.5.5).
In the other direction, given , we define by
Naturality is easy to check, so this gives a function from right to left in (9.5.5).
To show that these are inverses, first suppose given . Then with defined as above, we have and define as above, then for any we have
Thus, both composites are equal to identities. The proof of naturality follows from this.
Corollary 9.5.6 The Yoneda embedding is fully faithful.
Proof. By the Yoneda lemma, we have
It is easy to check that this isomorphism is in fact the action of on hom-sets.
The Yoneda lemma has the following direct consequences. As the Yoneda lemma itself, these are as easily established as they are useful and important.
The Yoneda lemma implies that the Yoneda embedding functor really is an embedding in that it is a full and faithful functor, because for it naturally induces the isomorphism of Hom-sets.
Since the Yoneda embedding is a full and faithful functor, an isomorphism of representable presheaves must come from an isomorphism of the representing objects :
A presheaf is representable precisely if the comma category has a terminal object. If a terminal object is then .
This follows from unwrapping the definition of morphisms in the comma category and applying the Yoneda lemma to find
Hence says precisely that is a bijection.
For emphasis, here is the interpretation of these three corollaries in words:
corollary I says that the interpretation of presheaves on as generalized objects probeable by objects of is consistent: the probes of by are indeed the maps of generalized objects from into ;
corollary II says that probes by objects of are sufficient to distinguish objects of : two objects of are the same if they have the same probes by other objects of .
corollary III characterizes representable functors by a universal property and is hence the bridge between the notion of representable functor and universal constructions.
The Yoneda lemma tends to carry over to all important generalizations of the context of categories:
There is an analog of the Yoneda lemma in enriched category theory. See enriched Yoneda lemma.
In the context of modules (see also Day convolution) the Yoneda lemma becomes the important statement of Yoneda reduction, which identifies the bimodule as a unit bimodule.
There is a Yoneda lemma for bicategories.
There is a Yoneda lemma for tricategories.
There is a Yoneda lemma for (∞,1)-categories.
In functional programming, the Yoneda embedding is related to the continuation passing style transform.
Formulation of the lemma in dependent type theory: A type theoretical Yoneda lemma at homotopytypetheory.org
The assumption of naturality is necessary for the Yoneda lemma to hold. A simple counter-example is given by a category with two objects and , in which , the set of integers greater than or equal to , in which , the set of integers greater than or equal to , and in which composition is addition. Here it is certainly the case that is isomorphic to for any choice of , but and are not isomorphic (composition with any arrow is greater than or equal to , so cannot have an inverse, since is the identity on and ).
A finite counter-example is given by the category with two objects and , in which , in which , and composition is multiplication modulo 2. Here, again, it is certainly the case that is isomorphic to for any choice of , but and are not isomorphic (composition with any arrow is , so cannot have an inverse, since is the identity on and ).
On the other hand, there have been examples of locally finite categories where naturality is not necessary. For example, (Lovász, Theorem 3.6 (iv)) states precisely that finite relational structures and are isomorphic if, and only if, for every finite relational structure . Later (Pultr, Theorem 2.2) generalised the result to finitely well-powered, locally finite categories with (extremal epi, mono) factorization system.
An interesting phenomenon arises in the case of semicategories i.e. “categories” (possibly) lacking identity morphisms:
the Yoneda lemma fails in general, since its validity in a semicategory implies that is in fact already a category because the Yoneda lemma permits to embed into and the latter is always a category, the embedding then implying that is itself a category!
But for regular semicategories there is a unity of opposites in the category of all semipresheaves on between the so called regular presheaves that are colimits of representables and presheaves satisfying the Yoneda lemma, whence the Yoneda lemma holds dialectically for regular presheaves!
For some of the details see at regular semicategory and the references therein.
The Yoneda lemma is the or a central ingredient in various reconstruction theorems, such as those of Tannaka duality. See there for a detailed account.
In its incarnations as Yoneda reduction the Yoneda lemma governs the algebra of ends and coends and hence that of bimodules and profunctors.
The Yoneda lemma is effectively the reason that Isbell conjugation exists. This is a fundamental duality that relates geometry and algebra in large part of mathematics.
\linebreak
For general references see any text on category theory, as listed in the references there.
The term Yoneda lemma originated in an interview of Nobuo Yoneda by Saunders Mac Lane at Paris Gare du Nord:
Yoshiki Kinoshita, Yoshiki Kinoshita, Nobuo Yoneda (1930-1996)
&
Saunders MacLane, The Yoneda Lemma,
Math. Japonica, 47, No. 1 (1998) 155-156
(pdf pdf, also: posting to catlist in 1996)
In Categories for the Working Mathematician MacLane writes that this happened in 1954.
Review and exposition:
Alexander Grothendieck, Section A.1 of: Technique de descente et théorèmes d’existence en géométrie algébriques. II. Le théorème d’existence en théorie formelle des modules, Séminaire Bourbaki : années 1958/59 - 1959/60, exposés 169-204, Séminaire Bourbaki, no. 5 (1960), Exposé no. 195, 22 p. (numdam:SB_1958-1960__5__369_0)
Saunders MacLane, §III.2 of: Categories for the Working Mathematician, Graduate Texts in Mathematics 5 Springer (second ed. 1997) [[doi:10.1007/978-1-4757-4721-8](https://link.springer.com/book/10.1007/978-1-4757-4721-8)]
Emily Riehl, Category Theory in Context. Chapter 2. Universal Properties, Representability, and the Yoneda Lemma pdf
Marie La Palme Reyes, Gonzalo E. Reyes, and Houman Zolfaghari, Generic figures and their glueings: A constructive approach to functor categories, Polimetrica sas, 2004 (author page,pdf).
Paolo Perrone, Notes on Category Theory with examples from basic mathematics, Chapter 2. (arXiv)
A discussion of the Yoneda lemma from the point of view of universal algebra is in
A treatment of the Yoneda lemma for categories internal to an (∞,1)-topos is in
Early Lovász-Type results include
Last revised on June 1, 2024 at 19:36:24. See the history of this page for a list of all contributions to it.