HOME

TheInfoList



OR:

In
mathematics Mathematics is an area of knowledge that includes the topics of numbers, formulas and related structures, shapes and the spaces in which they are contained, and quantities and their changes. These topics are represented in modern mathematics ...
, the Yoneda lemma is arguably the most important result in
category theory Category theory is a general theory of mathematical structures and their relations that was introduced by Samuel Eilenberg and Saunders Mac Lane in the middle of the 20th century in their foundational work on algebraic topology. Nowadays, ca ...
. It is an abstract result on functors of the type ''morphisms into a fixed object''. It is a vast generalisation of Cayley's theorem from
group theory In abstract algebra, group theory studies the algebraic structures known as groups. The concept of a group is central to abstract algebra: other well-known algebraic structures, such as rings, fields, and vector spaces, can all be seen ...
(viewing a group as a miniature category with just one object and only isomorphisms). It allows the embedding of any locally small category into a category of functors (contravariant set-valued functors) defined on that category. It also clarifies how the embedded category, of representable functors and their natural transformations, relates to the other objects in the larger functor category. It is an important tool that underlies several modern developments in
algebraic geometry Algebraic geometry is a branch of mathematics, classically studying zeros of multivariate polynomials. Modern algebraic geometry is based on the use of abstract algebraic techniques, mainly from commutative algebra, for solving geometrical ...
and representation theory. It is named after
Nobuo Yoneda was a Japanese mathematician and computer scientist. In 1952, he graduated the Department of Mathematics, the Faculty of Science, the University of Tokyo, and obtained his Bachelor of Science. That same year, he was appointed Assistant Profess ...
.


Generalities

The Yoneda lemma suggests that instead of studying the locally small category \mathcal , one should study the category of all functors of \mathcal into \mathbf (the category of sets with functions as morphisms). \mathbf is a category we think we understand well, and a functor of \mathcal into \mathbf can be seen as a "representation" of \mathcal in terms of known structures. The original category \mathcal is contained in this functor category, but new objects appear in the functor category, which were absent and "hidden" in \mathcal . 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 a ring by investigating the
modules Broadly speaking, modularity is the degree to which a system's components may be separated and recombined, often with the benefit of flexibility and variety in use. The concept of modularity is used primarily to reduce complexity by breaking a s ...
over that ring. The ring takes the place of the category \mathcal , and the category of modules over the ring is a category of functors defined on \mathcal .


Formal statement

Yoneda's lemma concerns functors from a fixed category \mathcal to the category of sets, \mathbf . If \mathcal is a locally small category (i.e. the hom-sets are actual sets and not proper classes), then each object A of \mathcal gives rise to a natural functor to \mathbf called a hom-functor. This functor is denoted: :h_A = \mathrm(A,-). The ( covariant) hom-functor h_A sends X to the set of morphisms \mathrm(A,X) and sends a morphism f \colon X \to Y (where X and Y are objects in \mathcal ) to the morphism f \circ - (composition with f on the left) that sends a morphism g in \mathrm(A,X) to the morphism f \circ g in \mathrm(A,Y). That is, : h_A(f) = \mathrm(A,f), \text : h_A(f)(g) = f \circ g Yoneda's lemma says that: Here the notation \mathbf^\mathcal denotes the category of functors from \mathcal to \mathbf . Given a natural transformation \Phi from h_A to F , the corresponding element of F(A) is u = \Phi_A(\mathrm_A); and given an element u of F(A) , the corresponding natural transformation is given by \Phi(f) = F(f)(u).


Contravariant version

There is a contravariant version of Yoneda's lemma, which concerns contravariant functors from \mathcal to \mathbf . This version involves the contravariant hom-functor :h^A = \mathrm(-, A), which sends X to the hom-set \mathrm(X,A) . Given an arbitrary contravariant functor G from \mathcal to \mathbf , Yoneda's lemma asserts that :\mathrm(h^A,G) \cong G(A).


Naming conventions

The use of h_A for the covariant hom-functor and h^A for 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 with Alexander Grothendieck's foundational EGA use the convention in this article. The mnemonic "falling into something" can be helpful in remembering that h_A is the covariant hom-functor. When the letter A is falling (i.e. a subscript), h_A assigns to an object X the morphisms from A into X .


Proof

Since \Phi is a natural transformation, we have the following
commutative diagram 350px, The commutative diagram used in the proof of the five lemma. In mathematics, and especially in category theory, a commutative diagram is a diagram such that all directed paths in the diagram with the same start and endpoints lead to the s ...
: This diagram shows that the natural transformation \Phi is completely determined by \Phi_A(\mathrm_A)=u since for each morphism f \colon A \to X one has :\Phi_X(f) = (Ff)u. Moreover, any element u \in F(A) defines a natural transformation in this way. The proof in the contravariant case is completely analogous.


The Yoneda embedding

An important special case of Yoneda's lemma is when the functor F from \mathcal to \mathbf is another hom-functor h_B . In this case, the covariant version of Yoneda's lemma states that :\mathrm(h_A,h_B) \cong \mathrm(B,A). 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 morphism f \colon B \to A the associated natural transformation is denoted \mathrm(f,-). Mapping each object A in \mathcal to its associated hom-functor h_A = \mathrm(A,-) and each morphism f \colon B \to A to the corresponding natural transformation \mathrm(f,-) determines a contravariant functor h_ from \mathcal to \mathbf^\mathcal , the functor category of all (covariant) functors from \mathcal to \mathbf . One can interpret h_ as a
covariant functor In mathematics, specifically category theory, a functor is a mapping between categories. Functors were first considered in algebraic topology, where algebraic objects (such as the fundamental group) are associated to topological spaces, and m ...
: :h_\colon \mathcal^ \to \mathbf^\mathcal. The meaning of Yoneda's lemma in this setting is that the functor h_ is fully faithful, and therefore gives an embedding of \mathcal^ in the category of functors to \mathbf . The collection of all functors \ is a subcategory of \mathbf^ . Therefore, Yoneda embedding implies that the category \mathcal^ is isomorphic to the category \. The contravariant version of Yoneda's lemma states that :\mathrm(h^A,h^B) \cong \mathrm(A,B). Therefore, h^ gives rise to a covariant functor from \mathcal to the category of contravariant functors to \mathbf : :h^\colon \mathcal \to \mathbf^. Yoneda's lemma then states that any locally small category \mathcal can be embedded in the category of contravariant functors from \mathcal to \mathbf via h^. This is called the ''Yoneda embedding''. The Yoneda embedding is sometimes denoted by よ, the
Hiragana is a Japanese syllabary, part of the Japanese writing system, along with ''katakana'' as well as ''kanji''. It is a phonetic lettering system. The word ''hiragana'' literally means "flowing" or "simple" kana ("simple" originally as contras ...
kana The term may refer to a number of syllabaries used to write Japanese phonological units, morae. Such syllabaries include (1) the original kana, or , which were Chinese characters ( kanji) used phonetically to transcribe Japanese, the most ...
Yo.


Representable functor

The Yoneda embedding essentially states that for every (locally small) category, objects in that category can be represented by
presheaves In mathematics, a sheaf is a tool for systematically tracking data (such as sets, abelian groups, rings) attached to the open sets of a topological space and defined locally with regard to them. For example, for each open set, the data could ...
, in a full and faithful manner. That is, :\mathrm(h^A,P) \cong P(A) for a presheaf ''P''. Many common categories are, in fact, categories of pre-sheaves, and on closer inspection, prove to be categories of sheaves, and as such examples are commonly topological in nature, they can be seen to be topoi in 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

Given two categories \mathbf and \mathbf with two functors F, G : \mathbf \to \mathbf, natural transformations between them can be written as the following end. :\mathrm(F, G) = \int_ \mathrm_\mathbf(Fc, Gc) For any functors K \colon \mathbf^ \to \mathbf and H \colon \mathbf \to \mathbf the following formulas are all formulations of the Yoneda lemma. : K \cong \int^ Kc \times \mathrm_\mathbf(-,c), \qquad K \cong \int_ (Kc)^, : H \cong \int^ Hc \times \mathrm_\mathbf(c,-), \qquad H \cong \int_ (Hc)^.


Preadditive categories, rings and modules

A '' preadditive category'' is a category where the morphism sets form
abelian group In mathematics, an abelian group, also called a commutative group, is a group in which the result of applying the group operation to two group elements does not depend on the order in which they are written. That is, the group operation is comm ...
s and the composition of morphisms is bilinear; 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 of rings. Rings are preadditive categories with one object. The Yoneda lemma remains true for preadditive categories if we choose as our extension the category of '' additive'' contravariant 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 a '' module category'' over 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 an abelian category, a much more powerful condition. In the case of a ring R, the extended category is the category of all right
modules Broadly speaking, modularity is the degree to which a system's components may be separated and recombined, often with the benefit of flexibility and variety in use. The concept of modularity is used primarily to reduce complexity by breaking a s ...
over R, and the statement of the Yoneda lemma reduces to the well-known isomorphism : M \cong \mathrm_R(R,M)   for all right modules M over R.


Relationship to Cayley's theorem

As stated above, the Yoneda lemma may be considered as a vast generalization of Cayley's theorem from
group theory In abstract algebra, group theory studies the algebraic structures known as groups. The concept of a group is central to abstract algebra: other well-known algebraic structures, such as rings, fields, and vector spaces, can all be seen ...
. To see this, let \mathcal be a category with a single object * such that every morphism is an
isomorphism In mathematics, an isomorphism is a structure-preserving mapping between two structures of the same type that can be reversed by an inverse mapping. Two mathematical structures are isomorphic if an isomorphism exists between them. The word i ...
(i.e. a groupoid with one object). Then G=\mathrm_(*,*) forms a group under the operation of composition, and any group can be realized as a category in this way. In this context, a covariant functor \mathcal \to \mathbf consists of a set X and a group homomorphism G\to\mathrm(X), where \mathrm(X) is the group of
permutation In mathematics, a permutation of a set is, loosely speaking, an arrangement of its members into a sequence or linear order, or if the set is already ordered, a rearrangement of its elements. The word "permutation" also refers to the act or pro ...
s of X; in other words, X is a G-set. A natural transformation between such functors is the same thing as an equivariant map between G-sets: a set function \alpha \colon X \to Y with the property that \alpha(g\cdot x)=g\cdot\alpha(x) for all g in G and x in X. (On the left side of this equation, the \cdot denotes the action of G on X, and on the right side the action on Y.) Now the covariant hom-functor \mathrm_(*,-) corresponds to the action of G on itself by left-multiplication (the contravariant version corresponds to right-multiplication). The Yoneda lemma with F=\mathrm_(*,-) states that :\mathrm(\mathrm_(*,-),\mathrm_(*,-)) \cong \mathrm_(*,*), that is, the equivariant maps from this G-set to itself are in bijection with G. But it is easy to see that (1) these maps form a group under composition, which is a subgroup of \mathrm(G), and (2) the function which gives the bijection is a group homomorphism. (Going in the reverse direction, it associates to every g in G the equivariant map of right-multiplication by g.) Thus G is isomorphic to a subgroup of \mathrm(G), which is the statement of Cayley's theorem.


History

Yoshiki Kinoshita stated in 1996 that the term "Yoneda lemma" was coined by Saunders Mac Lane following an interview he had with Yoneda in the Gare du Nord station.


See also

* Representation theorem


Notes


References

* . * * *


External links

* Mizar system proof: {{cite journal , first=M. , last=Wojciechowski , title=Yoneda Embedding , journal=Formalized Mathematics journal , volume=6 , issue=3 , pages=377–380 , date=1997 , citeseerx=10.1.1.73.7127 Representable functors Lemmas in category theory Articles containing proofs