The 2-Yoneda Lemma
The 2-Yoneda lemma is the fundamental representability result for categories fibered in groupoids. It establishes an equivalence between the category of morphisms from a representable CFG to an arbitrary CFG , and the fiber . This result is the engine behind the "functor of points" approach to algebraic stacks.
Formal Statement
Let be a category and let be a category fibered in groupoids over . For every object , there is an equivalence of categories
where is the CFG represented by (the slice category with discrete fibers), and is the category of morphisms over (1-morphisms as objects, 2-morphisms as morphisms).
A quasi-inverse is given by the evaluation functor
Construction of the Equivalence
Fix a cleavage for (choice of pullbacks). Given an object , define the morphism as follows:
On objects: For (an object of over ), set , where is the chosen pullback.
On morphisms: For a morphism in from to given by with , set to be the unique morphism in lying over making the diagram of cartesian arrows commute. (This exists and is unique because and are both cartesian over and respectively, and .)
On morphisms in the fiber: Given an isomorphism in , define a 2-morphism by setting the component at to be .
The quasi-inverse sends:
On objects: A morphism to .
On morphisms: A 2-morphism to the component in .
Proof
We verify that and .
Step 1: .
For , we have . By the cleavage, there is a canonical isomorphism . These isomorphisms are natural in , giving a natural isomorphism .
Step 2: .
For a morphism , set . We need a 2-isomorphism .
For any , we have and . Now maps the morphism in to a morphism in lying over . Since is fibered in groupoids, every morphism is cartesian, so this morphism is a cartesian lift of at . By uniqueness of cartesian lifts up to unique isomorphism, there is a unique isomorphism in .
The collection defines a 2-isomorphism . Naturality of follows from the universal property of cartesian arrows.
Step 3: Functoriality and coherence.
The isomorphisms in Steps 1 and 2 are natural in and respectively, giving the required equivalence of categories. The coherence conditions (triangle identities for the adjunction) follow from the uniqueness assertions in the universal property of cartesian morphisms.
Key Consequences
The 2-Yoneda embedding , , is 2-fully faithful: for all ,
where the right-hand side is a discrete category (set).
Apply the 2-Yoneda lemma with . Then , which is a set viewed as a discrete groupoid. In particular, there are no non-identity 2-morphisms between morphisms of representable CFGs.
Let be a morphism of CFGs over . Then is an equivalence if and only if for every , the induced functor
is an equivalence of categories. By the 2-Yoneda lemma, this is equivalent to requiring that is an equivalence for all .
Applications
For (moduli of genus- curves), the 2-Yoneda lemma gives:
\operatorname{Hom}(h_S, \mathcal{M}_g) \simeq \mathcal{M}_g(S) = \left\{\parbox{20em}{\centering smooth proper morphisms $C \to S$ with geometrically connected fibers of genus $g$}\right\}
A morphism is a family of curves over . A 2-morphism between two morphisms is an isomorphism between the corresponding families. The automorphism group of a morphism is , the automorphism group of the corresponding family.
A CFG is representable by an object if and only if there exists and an equivalence . By the 2-Yoneda lemma, this is equivalent to:
- is a discrete groupoid (set) for all .
- The functor is representable.
For stacks on , condition (1) means all automorphism groups are trivial.
For stacks with morphisms and , the 2-fiber product is characterized by:
where the right-hand side is the 2-fiber product of groupoids. This follows from the 2-Yoneda lemma since .
The diagonal of a stack is representable if and only if for every and every pair of objects , the presheaf is representable (by an object of , or an algebraic space).
By the 2-Yoneda lemma, a morphism corresponds to a pair , and: So representability of amounts to representability of all Isom functors.
An atlas (or presentation) of a stack is a representable morphism that is a smooth surjection. By the 2-Yoneda lemma, corresponds to an object .
The conditions on translate to:
- Surjective: For every field and , there exists a field extension and an isomorphism in . (Locally, every object comes from .)
- Smooth: The fiber product (the groupoid scheme ) is smooth over via both projections.
For a stack , the identity morphism corresponds (by a generalized 2-Yoneda) to the universal object over . For example:
- For : the identity corresponds to the universal curve .
- For : the identity corresponds to the universal torsor (which is the morphism corresponding to the trivial torsor).
- For : the identity corresponds to the universal line bundle on .
These universal objects are constructed abstractly from the 2-Yoneda lemma.
Enriched Versions
Let be a site with subcanonical topology (representable presheaves are sheaves). Then for any stack on and :
The same equivalence holds with replaced by , since the representable CFG is already a stack (it is a sheaf of sets).
If and we allow algebraic spaces, then for an algebraic space (which is a sheaf on the etale site, but not necessarily representable by a scheme):
where is defined by extending from schemes to algebraic spaces (using the etale presentation and descent). This allows us to treat algebraic spaces on equal footing with schemes in the functor-of-points language.
In derived algebraic geometry (Lurie, Toen-Vezzosi), the 2-Yoneda lemma generalizes to the -Yoneda lemma: for a derived stack (a functor satisfying descent, where is the -category of spaces):
as an equivalence of spaces (not just groupoids). Here is the mapping space in the -category of derived stacks. The classical 2-Yoneda lemma is the truncation to and .
Naturality
The equivalence is natural in both and :
(a) In : For a morphism in , the diagram 2-commutes, where the right vertical map is precomposition with .
(b) In : For a morphism of CFGs, the diagram 2-commutes, where is postcomposition with .
Naturality in means: if corresponds to , then the pullback corresponds to . In moduli terms: if is a family (corresponding to ) and , then corresponds to the composition .
Summary
The 2-Yoneda lemma is used constantly in the theory of stacks:
- Object = morphism: An object of is a morphism . This is the "functor of points."
- Automorphism = 2-automorphism: , the group of self-2-morphisms.
- Representability: is a scheme iff all fibers are discrete groupoids.
- Fiber products: .
- Representable morphisms: is representable iff is representable for all .
- Universal objects: The identity gives the universal family.
- Atlases: A smooth surjection (an object of ) presents .
These principles reduce questions about stacks to questions about groupoids and schemes.