Representable functors and the Yoneda lemma
In the tree of ModernMath: ModernMath › 18-XX Category theory; homological algebra › 18Axx General theory of categories and functors › 18A40 Adjoint functors (universal constructions, reflective subcategories, Kan extensions, etc.) , the subject of its primary MSC2020 code; its secondary code 18A25 Functor categories, comma categories is a cross-reference. Show it in the tree and the cross-reference graph .
An object of a category is determined, up to a unique isomorphism, by the
morphisms into it, or by the morphisms out of it. The Yoneda lemma makes this
precise: the natural transformations out of a represented functor
C ( c , − ) \mathcal{C}(c,-) C ( c , − ) are the elements of their target at c c c . Universal
properties, such as those of free objects, tensor products and the limits of
Limits and colimits , are statements that certain functors are
representable.
Let C \mathcal{C} C be locally small. A functor F : C → S e t F\colon\mathcal{C}\to\mathbf{Set} F : C → Set
(respectively, F : C o p → S e t F\colon\mathcal{C}^{\mathrm{op}}\to\mathbf{Set} F : C op → Set ) is
representable if it is naturally isomorphic to C ( c , − ) \mathcal{C}(c,-) C ( c , − )
(respectively, C ( − , c ) \mathcal{C}(-,c) C ( − , c ) ) for some object c c c ; a
representation of F F F is such an object c c c together with a specified
natural isomorphism (Definition 2.1.4 of Riehl (2016) ). A presheaf on a
category C \mathcal{C} C is a functor C o p → S e t \mathcal{C}^{\mathrm{op}}\to\mathbf{Set} C op → Set
(p. 222 of Riehl (2016) ).
The identity functor of S e t \mathbf{Set} Set is represented by a one-point set; the
forgetful functor from groups to sets is represented by Z \mathbb{Z} Z , since a
homomorphism Z → G \mathbb{Z}\to G Z → G is determined by the image of 1; and the
forgetful functor from unital rings to sets is represented by the polynomial
ring Z [ x ] \mathbb{Z}[x] Z [ x ] (Example 2.1.5 of Riehl (2016) ). A locally small category
has a terminal object if and only if the constant functor
C o p → S e t \mathcal{C}^{\mathrm{op}}\to\mathbf{Set} C op → Set with value a one-point set is
representable (p. 51 of Riehl (2016) ).
Let C \mathcal{C} C be a locally small category, F : C → S e t F\colon\mathcal{C}\to
\mathbf{Set} F : C → Set a functor and c c c an object of C \mathcal{C} C . The map
N a t ( C ( c , − ) , F ) → F c , α ↦ α c ( 1 c ) , \mathrm{Nat}(\mathcal{C}(c,-),F)\to Fc,\qquad \alpha\mapsto\alpha_c(1_c), Nat ( C ( c , − ) , F ) → F c , α ↦ α c ( 1 c ) , is a bijection, natural in c c c and in F F F ; its inverse sends x ∈ F c x\in Fc x ∈ F c to the
natural transformation whose component at d d d is f ↦ F f ( x ) f\mapsto Ff(x) f ↦ F f ( x )
(Theorem 2.2.4 of Riehl (2016) ). Dually, natural transformations
C ( − , c ) ⇒ F \mathcal{C}(-,c)\Rightarrow F C ( − , c ) ⇒ F to a functor F : C o p → S e t F\colon\mathcal{C}^{\mathrm{op}}
\to\mathbf{Set} F : C op → Set correspond to the elements of F c Fc F c
(Exercise 2.2.i of Riehl (2016) ). Riehl notes that the lemma first appeared in
print in a paper of Grothendieck (p. 57, footnote 7 of Riehl (2016) ).
Write Φ ( α ) = α c ( 1 c ) \Phi(\alpha)=\alpha_c(1_c) Φ ( α ) = α c ( 1 c ) and, for x ∈ F c x\in Fc x ∈ F c , define
Ψ ( x ) d : C ( c , d ) → F d \Psi(x)_d\colon\mathcal{C}(c,d)\to Fd Ψ ( x ) d : C ( c , d ) → F d by Ψ ( x ) d ( f ) = F f ( x ) \Psi(x)_d(f)=Ff(x) Ψ ( x ) d ( f ) = F f ( x ) . For
g : d → e g\colon d\to e g : d → e and f ∈ C ( c , d ) f\in\mathcal{C}(c,d) f ∈ C ( c , d ) one has Ψ ( x ) e ( g f ) = F ( g f ) ( x ) = F g ( F f ( x ) ) \Psi(x)_e(gf)=F(gf)(x)=
Fg(Ff(x)) Ψ ( x ) e ( g f ) = F ( g f ) ( x ) = F g ( F f ( x )) , so Ψ ( x ) \Psi(x) Ψ ( x ) is natural, and Φ Ψ ( x ) = F ( 1 c ) ( x ) = x \Phi\Psi(x)=F(1_c)(x)=x ΦΨ ( x ) = F ( 1 c ) ( x ) = x . Conversely,
if α \alpha α is natural, then for f : c → d f\colon c\to d f : c → d naturality applied to
1 c ∈ C ( c , c ) 1_c\in\mathcal{C}(c,c) 1 c ∈ C ( c , c ) gives α d ( f ) = F f ( α c ( 1 c ) ) \alpha_d(f)=Ff(\alpha_c(1_c)) α d ( f ) = F f ( α c ( 1 c )) , that is,
Ψ Φ ( α ) = α \Psi\Phi(\alpha)=\alpha ΨΦ ( α ) = α (proof of Theorem 2.2.4 of Riehl (2016) ). The
naturality of the bijection in c c c and in F F F is checked in the same way.
For a locally small category C \mathcal{C} C , the functors
y : C → S e t C o p y\colon\mathcal{C}\to\mathbf{Set}^{\mathcal{C}^{\mathrm{op}}} y : C → Set C op ,
c ↦ C ( − , c ) c\mapsto\mathcal{C}(-,c) c ↦ C ( − , c ) , and C o p → S e t C \mathcal{C}^{\mathrm{op}}\to
\mathbf{Set}^{\mathcal{C}} C op → Set C , c ↦ C ( c , − ) c\mapsto\mathcal{C}(c,-) c ↦ C ( c , − ) , are fully faithful
embeddings: every natural transformation C ( − , c ) ⇒ C ( − , d ) \mathcal{C}(-,c)\Rightarrow
\mathcal{C}(-,d) C ( − , c ) ⇒ C ( − , d ) is composition with a unique morphism c → d c\to d c → d
(Corollary 2.2.8 of Riehl (2016) ).
By Theorem 65.3 , applied to the functor F = C ( − , d ) F=\mathcal{C}(-,d) F = C ( − , d ) ,
the natural transformations C ( − , c ) ⇒ C ( − , d ) \mathcal{C}(-,c)\Rightarrow\mathcal{C}(-,d) C ( − , c ) ⇒ C ( − , d ) correspond to
elements of C ( c , d ) \mathcal{C}(c,d) C ( c , d ) , and the transformation corresponding to
f : c → d f\colon c\to d f : c → d is composition with f f f
(proof of Corollary 2.2.8 of Riehl (2016) ).
If two objects x x x and y y y of a locally small category represent the same
functor, then they are isomorphic, and there is a unique isomorphism between
them compatible with the two representations
(Proposition 2.3.1 and p. 62 of Riehl (2016) ).
The composite of the two representations is a natural isomorphism
C ( − , x ) ⇒ C ( − , y ) \mathcal{C}(-,x)\Rightarrow\mathcal{C}(-,y) C ( − , x ) ⇒ C ( − , y ) (or between the covariant
represented functors). By Corollary 65.4 it is
composition with a unique morphism x → y x\to y x → y , which is an isomorphism because a
fully faithful functor reflects isomorphisms
(Definition 62.5 ).
A universal property of an object c c c is a representable functor F F F
together with a universal element x ∈ F c x\in Fc x ∈ F c that defines, through the
Yoneda lemma, a natural isomorphism C ( c , − ) ≅ F \mathcal{C}(c,-)\cong F C ( c , − ) ≅ F or
C ( − , c ) ≅ F \mathcal{C}(-,c)\cong F C ( − , c ) ≅ F (Definition 2.3.3 of Riehl (2016) ). For instance,
x ∈ Z [ x ] x\in\mathbb{Z}[x] x ∈ Z [ x ] is the universal element of the forgetful functor from
unital rings to sets, and a ring homomorphism Z [ x ] → R \mathbb{Z}[x]\to R Z [ x ] → R corresponds
to its value at x x x (Example 2.3.4 of Riehl (2016) ). The category of
elements of a functor F : C → S e t F\colon\mathcal{C}\to\mathbf{Set} F : C → Set has as objects the
pairs ( c , x ) (c,x) ( c , x ) with x ∈ F c x\in Fc x ∈ F c and as morphisms ( c , x ) → ( c ′ , x ′ ) (c,x)\to(c',x') ( c , x ) → ( c ′ , x ′ ) the morphisms
f : c → c ′ f\colon c\to c' f : c → c ′ with F f ( x ) = x ′ Ff(x)=x' F f ( x ) = x ′ ; the functor F F F is representable if and only
if its category of elements has an initial object, and dually a contravariant
functor is representable if and only if its category of elements has a terminal
object (Definition 2.4.1 and Proposition 2.4.8 of Riehl (2016) ).
Source of this page: myst/18-category-theory/05-yoneda-lemma.md (history , edit ) and latex/entries/18-category-theory/05-yoneda-lemma.tex (history , edit ). To propose a change, see how to contribute .
Riehl, E. (2016). Category theory in context . Dover Publications.