Inmathematics,theYoneda lemmais a fundamental result incategory theory.[1]It is an abstract result onfunctorsof the typemorphisms into a fixed object.It is a vast generalisation ofCayley's theoremfromgroup theory(viewing a group as a miniature category with just one object and only isomorphisms). It allows theembeddingof anylocally small categoryinto acategory of functors(contravariantset-valued functors) defined on that category. It also clarifies how the embedded category, ofrepresentable functorsand theirnatural transformations,relates to the other objects in the larger functor category. It is an important tool that underlies several modern developments inalgebraic geometryandrepresentation theory.It is named afterNobuo Yoneda.

Generalities

edit

The Yoneda lemma suggests that instead of studying thelocally smallcategory,one should study the category of all functors ofinto(thecategory of setswithfunctionsasmorphisms).is a category we think we understand well, and a functor ofintocan be seen as a "representation" ofin terms of known structures. The original categoryis contained in this functor category, but new objects appear in the functor category, which were absent and "hidden" in.Treating these new objects just like the old ones often unifies and simplifies the theory.

This approach is akin to (and in fact generalizes) the common method of studying aringby investigating themodulesover that ring. The ring takes the place of the category,and the category of modules over the ring is a category of functors defined on.

Formal statement

edit

Yoneda's lemma concerns functors from a fixed categoryto acategory of sets,.Ifis alocally small category(i.e. thehom-setsare actual sets and notproper classes), then each objectofgives rise to a functor tocalled ahom-functor.This functor is denoted:

.

The (covariant) hom-functorsendsto the set ofmorphismsand sends a morphism(where) to the morphism(composition withon the left) that sends a morphisminto the morphismin.That is,

Yoneda's lemma says that:

Lemma(Yoneda)Letbe a functor from a locally small categoryto.Then for each objectof,thenatural transformationsfromtoare in one-to-one correspondence with the elements of.That is,

Moreover, this isomorphism isnaturalinandwhen both sides are regarded as functors fromto.

Here the notationdenotes the category of functors fromto.

Given a natural transformationfromto,the corresponding element ofis;[a]and given an elementof,the corresponding natural transformation is given bywhich assigns to a morphisma value of.

Contravariant version

edit

There is a contravariant version of Yoneda's lemma,[2]which concernscontravariant functorsfromto.This version involves the contravariant hom-functor

which sendsto the hom-set.Given an arbitrary contravariant functorfromto,Yoneda's lemma asserts that

Naturality

edit

The bijections provided in the (covariant) Yoneda lemma (for eachand) are the components of anatural isomorphismbetween two certain functors fromto.[3]: 61 One of the two functors is the evaluation functor

that sends a pairof a morphisminand anatural transformationto the map

This is enough to determine the other functor since we know what the natural isomorphism is. Under the second functor

the image of a pairis the map

that sends a natural transformationto the natural transformation,whose components are

Naming conventions

edit

The use offor the covariant hom-functor andfor the contravariant hom-functor is not completely standard. Many texts and articles either use the opposite convention or completely unrelated symbols for these two functors. However, most modern algebraic geometry texts starting withAlexander Grothendieck's foundationalEGAuse the convention in this article.[b]

The mnemonic "falling into something" can be helpful in remembering thatis the covariant hom-functor. When the letterisfalling(i.e. a subscript),assigns to an objectthe morphisms frominto.

Proof

edit

Sinceis a natural transformation, we have the followingcommutative diagram:

Proof of Yoneda's lemma

This diagram shows that the natural transformationis completely determined bysince for each morphismone has

Moreover, any elementdefines a natural transformation in this way. The proof in the contravariant case is completely analogous.[1]

The Yoneda embedding

edit

An important special case of Yoneda's lemma is when the functorfromtois another hom-functor.In this case, the covariant version of Yoneda's lemma states that

That is, natural transformations between hom-functors are in one-to-one correspondence with morphisms (in the reverse direction) between the associated objects. Given a morphismthe associated natural transformation is denoted.

Mapping each objectinto its associated hom-functorand each morphismto the corresponding natural transformationdetermines a contravariant functorfromto,thefunctor categoryof all (covariant) functors fromto.One can interpretas acovariant functor:

The meaning of Yoneda's lemma in this setting is that the functorisfully faithful,and therefore gives an embedding ofin the category of functors to.The collection of all functorsis a subcategory of.Therefore, Yoneda embedding implies that the categoryis isomorphic to the category.

The contravariant version of Yoneda's lemma states that

Therefore,gives rise to a covariant functor fromto the category of contravariant functors to:

Yoneda's lemma then states that any locally small categorycan be embedded in the category of contravariant functors fromtovia.This is called theYoneda embedding.

The Yoneda embedding is sometimes denoted by よ, thehiraganaYo.[4]

Representable functor

edit

The Yoneda embedding essentially states that for every (locally small) category, objects in that category can berepresentedbypresheaves,in a full and faithful manner. That is,

for a presheafP.Many common categories are, in fact, categories of pre-sheaves, and on closer inspection, prove to be categories ofsheaves,and as such examples are commonly topological in nature, they can be seen to betopoiin general. The Yoneda lemma provides a point of leverage by which the topological structure of a category can be studied and understood.

In terms of (co)end calculus

edit

Given two categoriesandwith two functors,natural transformations between them can be written as the followingend.[5]

For any functorsandthe following formulas are all formulations of the Yoneda lemma.[6]

Preadditive categories, rings and modules

edit

Apreadditive categoryis a category where the morphism sets formabelian groupsand the composition of morphisms isbilinear;examples are categories of abelian groups or modules. In a preadditive category, there is both a "multiplication" and an "addition" of morphisms, which is why preadditive categories are viewed as generalizations ofrings.Rings are preadditive categories with one object.

The Yoneda lemma remains true for preadditive categories if we choose as our extension the category ofadditivecontravariant functors from the original category into the category of abelian groups; these are functors which are compatible with the addition of morphisms and should be thought of as forming amodule categoryover the original category. The Yoneda lemma then yields the natural procedure to enlarge a preadditive category so that the enlarged version remains preadditive — in fact, the enlarged version is anabelian category,a much more powerful condition. In the case of a ring,the extended category is the category of all rightmodulesover,and the statement of the Yoneda lemma reduces to the well-known isomorphism

for all right modulesover.

Relationship to Cayley's theorem

edit

As stated above, the Yoneda lemma may be considered as a vast generalization ofCayley's theoremfromgroup theory.To see this, letbe a category with a single objectsuch that every morphism is anisomorphism(i.e. agroupoidwith one object). Thenforms agroupunder the operation of composition, and any group can be realized as a category in this way.

In this context, a covariant functorconsists of a setand agroup homomorphism,whereis the group ofpermutationsof;in other words,is aG-set.A natural transformation between such functors is the same thing as anequivariant mapbetween-sets: a set functionwith the property thatfor allinandin.(On the left side of this equation, thedenotes the action ofon,and on the right side the action on.)

Now the covariant hom-functorcorresponds to the action ofon itself by left-multiplication (the contravariant version corresponds to right-multiplication). The Yoneda lemma withstates that

,

that is, the equivariant maps from this-set to itself are in bijection with.But it is easy to see that (1) these maps form a group under composition, which is asubgroupof,and (2) the function which gives the bijection is a group homomorphism. (Going in the reverse direction, it associates to everyinthe equivariant map of right-multiplication by.) Thusis isomorphic to a subgroup of,which is the statement of Cayley's theorem.

History

edit

Yoshiki Kinoshita stated in 1996 that the term "Yoneda lemma" was coined bySaunders Mac Lanefollowing an interview he had with Yoneda in theGare du Nordstation.[7][8]

See also

edit

Notes

edit
  1. ^Recall thatso the last expression is well-defined and sends a morphism fromto,to an element in.
  2. ^A notable exception to modern algebraic geometry texts following the conventions of this article isCommutative algebra with a view toward algebraic geometry/ David Eisenbud (1995), which usesto mean the covariant hom-functor. However, the later bookThe geometry of schemes/ David Eisenbud, Joe Harris (1998) reverses this and usesto mean the contravariant hom-functor.

References

edit
  1. ^abRiehl, Emily(2017).Category Theory in Context(PDF).Dover.ISBN978-0-486-82080-4.
  2. ^Beurier & Pastor (2019),Lemma 2.10 (Contravariant Yoneda lemma).
  3. ^Mac Lane, Saunders (1998).Categories for the working mathematician.Graduate Texts in Mathematics. Vol. 5 (2 ed.). New York, NY: Springer.doi:10.1007/978-1-4757-4721-8.ISBN978-0-387-98403-2.ISSN0072-5285.MR1712872.Zbl0906.18001.
  4. ^"Yoneda embedding".nLab.Retrieved6 July2019.
  5. ^Loregian (2021),Theorem 1.4.1.
  6. ^Loregian (2021),Proposition 2.2.1 (Ninja Yoneda Lemma).
  7. ^Kinoshita, Yoshiki (23 April 1996)."Prof. Nobuo Yoneda passed away".Retrieved21 December2013.
  8. ^"le lemme de la Gare du Nord".neverendingbooks.18 November 2016.Retrieved2022-09-10.
edit