ConceptComplete

Categories Fibered in Groupoids

Categories fibered in groupoids (CFGs) are the natural categorical structures underlying moduli problems. The key insight is that in moduli theory, we classify objects up to isomorphism, meaning all morphisms between objects in the same fiber should be invertible. This is precisely the condition that the fibers are groupoids.


Groupoids

Definition2.2.1Groupoid

A groupoid is a category in which every morphism is an isomorphism. Equivalently, a groupoid is a category G\mathcal{G} such that for any two objects x,y∈Gx, y \in \mathcal{G}, the set Hom⁑G(x,y)\operatorname{Hom}_\mathcal{G}(x, y) is either empty or a torsor for Aut⁑(x)\operatorname{Aut}(x) (equivalently, for Aut⁑(y)\operatorname{Aut}(y)).

A groupoid is connected if any two objects are isomorphic. Every groupoid decomposes into connected components. A connected groupoid is determined up to equivalence by the automorphism group of any of its objects.

ExampleSets as groupoids

Any set SS can be viewed as a discrete groupoid: the objects are elements of SS, and the only morphisms are identities. The isomorphism classes form the set SS itself. A discrete groupoid has trivial automorphism groups.

ExampleGroups as groupoids

Any group GG defines a groupoid BGBG with a single object βˆ—* and Aut⁑(βˆ—)=G\operatorname{Aut}(*) = G. This is a connected groupoid with ∣BG∣={βˆ—}|BG| = \{*\} (one isomorphism class). The groupoid cardinality is ∣BG∣=1/∣G∣|BG| = 1/|G| in the sense of Baez-Dolan.

More generally, any group action Gβ†·SG \curvearrowright S defines a translation groupoid [S/G][S/G] (or action groupoid): objects are elements of SS, and Hom⁑(s,t)={g∈G:gβ‹…s=t}\operatorname{Hom}(s, t) = \{g \in G : g \cdot s = t\}.

ExampleFundamental groupoid

For a topological space XX, the fundamental groupoid Ξ 1(X)\Pi_1(X) has points of XX as objects and homotopy classes of paths as morphisms. The automorphism group of x∈Xx \in X is Ο€1(X,x)\pi_1(X, x). Connected components of Ξ 1(X)\Pi_1(X) correspond to path components of XX.


Definition of CFG

Definition2.2.2Category fibered in groupoids

A fibered category p:Fβ†’Cp : \mathcal{F} \to \mathcal{C} is fibered in groupoids if for every object U∈CU \in \mathcal{C}, the fiber category FU\mathcal{F}_U is a groupoid -- that is, every morphism in FU\mathcal{F}_U is an isomorphism.

Equivalently, p:F→Cp : \mathcal{F} \to \mathcal{C} is fibered in groupoids if and only if:

  1. For every morphism f:Vβ†’Uf : V \to U in C\mathcal{C} and every x∈FUx \in \mathcal{F}_U, there exists a morphism Ο•:yβ†’x\phi : y \to x with p(Ο•)=fp(\phi) = f.
  2. Every morphism in F\mathcal{F} is cartesian.

Condition (2) is the key simplification: in a CFG, one does not need to distinguish between cartesian and non-cartesian morphisms.

RemarkWhy condition (2) is equivalent

If every morphism in F\mathcal{F} lying over an identity is an isomorphism (i.e., fibers are groupoids), then every morphism in F\mathcal{F} is automatically cartesian. The converse also holds. To see why: suppose Ο•:yβ†’x\phi : y \to x lies over f:Vβ†’Uf : V \to U and we want to verify the cartesian property. Given ψ:zβ†’x\psi : z \to x lying over f∘hf \circ h, we need a unique lift Ο‡:zβ†’y\chi : z \to y over hh. Since the fiber is a groupoid, any two lifts differ by an automorphism that maps to id⁑\operatorname{id} in the base, and such an automorphism must be the identity (by the universal property inherited from the existence of some cartesian lift).

ExampleAlternative characterization

A category F\mathcal{F} over C\mathcal{C} is fibered in groupoids if and only if for every commutative triangle in C\mathcal{C}: Wβ†’gVβ†’fU,f∘g=hW \xrightarrow{g} V \xrightarrow{f} U, \quad f \circ g = h and every pair of morphisms Ο•:yβ†’x\phi : y \to x over ff and ψ:zβ†’x\psi : z \to x over hh in F\mathcal{F}, there exists a unique morphism Ο‡:zβ†’y\chi : z \to y over gg with Ο•βˆ˜Ο‡=ψ\phi \circ \chi = \psi.

This is a very practical criterion: given any diagram in the base and compatible lifts of two of the three arrows, the third lift exists uniquely.


Examples from Moduli Problems

ExampleElliptic curves

Define M1,1\mathcal{M}_{1,1} over Sch\mathbf{Sch}: objects over SS are elliptic curves Eβ†’SE \to S (smooth proper morphisms with geometrically connected fibers of genus 1, equipped with a section e:Sβ†’Ee : S \to E). Morphisms over f:Tβ†’Sf : T \to S are isomorphisms ETβ‰…fβˆ—EE_T \cong f^*E of elliptic curves over TT respecting the sections.

This is fibered in groupoids because:

  • Pullback exists by base change.
  • Morphisms in each fiber are isomorphisms of elliptic curves.
  • The fiber M1,1(Spec⁑k)\mathcal{M}_{1,1}(\operatorname{Spec} k) is the groupoid of elliptic curves over kk, where Aut⁑(E)β‰ {1}\operatorname{Aut}(E) \neq \{1\} in general (e.g., j=0j = 0 has extra automorphisms in characteristic β‰ 2,3\neq 2, 3).

The fact that Aut⁑(E)\operatorname{Aut}(E) can be nontrivial is precisely why M1,1\mathcal{M}_{1,1} is a stack rather than a scheme.

ExampleVector bundles of rank n

Define Bunn\mathcal{B}un_n over Sch\mathbf{Sch}: objects over SS are vector bundles (locally free sheaves) E\mathcal{E} of rank nn on SS. Morphisms from (T,F)(T, \mathcal{F}) to (S,E)(S, \mathcal{E}) over f:Tβ†’Sf : T \to S are isomorphisms Fβ‰…fβˆ—E\mathcal{F} \cong f^*\mathcal{E}.

This is fibered in groupoids. The fiber over SS is the groupoid of rank-nn vector bundles on SS. The automorphism group of E\mathcal{E} is Aut⁑(E)=GLn(Ξ“(S,End⁑(E)))\operatorname{Aut}(\mathcal{E}) = GL_n(\Gamma(S, \operatorname{End}(\mathcal{E}))).

For n=1n = 1, this is the Picard groupoid, and the set of isomorphism classes is Pic⁑(S)\operatorname{Pic}(S).

ExampleLine bundles (the Picard stack)

The special case n=1n = 1 of the previous example: Pic\mathcal{P}ic over Sch\mathbf{Sch} with objects (S,L)(S, \mathcal{L}) where L\mathcal{L} is an invertible sheaf on SS. For any line bundle L\mathcal{L}, Aut⁑(L)=OS(S)Γ—=Gm(S)\operatorname{Aut}(\mathcal{L}) = \mathcal{O}_S(S)^{\times} = \mathbb{G}_m(S). So every object has automorphism group Gm\mathbb{G}_m.

As a stack, Pic≅BGm\mathcal{P}ic \cong B\mathbb{G}_m, the classifying stack of Gm\mathbb{G}_m.

ExampleSmooth curves of genus g

The fibered category Mg\mathcal{M}_g over Sch\mathbf{Sch} parametrizes smooth proper curves of genus gg. Objects over SS are smooth proper morphisms C→SC \to S with geometrically connected fibers of genus gg. Morphisms are isomorphisms compatible with base change.

  • For g=0g = 0: every fiber is P1\mathbb{P}^1, but Aut⁑(P1)=PGL2\operatorname{Aut}(\mathbb{P}^1) = PGL_2. So M0β‰…BPGL2\mathcal{M}_0 \cong BPGL_2.
  • For g=1g = 1 (without marked point): Aut⁑(E)\operatorname{Aut}(E) contains the elliptic curve itself (translation), so automorphisms are large.
  • For gβ‰₯2g \geq 2: Aut⁑(C)\operatorname{Aut}(C) is a finite group (bounded by 84(gβˆ’1)84(g-1) by Hurwitz), and is trivial for a "general" curve.

The Deligne-Mumford theorem states that Mg\mathcal{M}_g (for gβ‰₯2g \geq 2) is a smooth proper Deligne-Mumford stack over Z\mathbb{Z}, and its coarse moduli space MgM_g is a quasi-projective variety.

ExampleThe classifying stack BG

For an algebraic group GG over SS, the classifying stack BGBG is the CFG over Sch/S\mathbf{Sch}/S where BG(T)={principalΒ GT-torsorsΒ overΒ T}BG(T) = \{\text{principal } G_T\text{-torsors over } T\}. Morphisms are GG-equivariant isomorphisms.

Key features:

  • BG(Spec⁑k)={G-torsorsΒ overΒ k}=H1(k,G)BG(\operatorname{Spec} k) = \{G\text{-torsors over } k\} = H^1(k, G) (as a pointed set, first Galois cohomology).
  • Every object has Aut⁑(P)=G(T)\operatorname{Aut}(P) = G(T) when PP is trivial (and a form of GG in general).
  • BGBG is an Artin stack (algebraic stack in the sense of Artin).

Specific instances:

  • BGmB\mathbb{G}_m: classifies line bundles. The Picard stack.
  • BGLnBGL_n: classifies rank-nn vector bundles.
  • BΞΌnB\mu_n: classifies ΞΌn\mu_n-torsors, related to nn-th roots of line bundles.
  • B(Z/2Z)B(\mathbb{Z}/2\mathbb{Z}): classifies etale double covers.
ExamplePointed curves

The fibered category Mg,n\mathcal{M}_{g,n} over Sch\mathbf{Sch} parametrizes smooth curves of genus gg with nn distinct marked points. Objects over SS are tuples (Cβ†’S,Οƒ1,…,Οƒn)(C \to S, \sigma_1, \ldots, \sigma_n) where Οƒi:Sβ†’C\sigma_i : S \to C are disjoint sections. Morphisms are isomorphisms respecting base change and marked points.

The condition 2gβˆ’2+n>02g - 2 + n > 0 ensures stability (finite automorphisms). For example:

  • M0,3\mathcal{M}_{0,3}: genus 0 with 3 points. Aut⁑=1\operatorname{Aut} = 1 (3 points determine an isomorphism of P1\mathbb{P}^1), so M0,3β‰…Spec⁑Z\mathcal{M}_{0,3} \cong \operatorname{Spec} \mathbb{Z}.
  • M0,4\mathcal{M}_{0,4}: genus 0 with 4 points. M0,4β‰…P1βˆ–{0,1,∞}\mathcal{M}_{0,4} \cong \mathbb{P}^1 \setminus \{0, 1, \infty\} (the cross-ratio).
  • M1,1\mathcal{M}_{1,1}: the moduli of elliptic curves, a Deligne-Mumford stack with coarse space the jj-line.

The Fiber Functor and Its Properties

Definition2.2.3Fiber functor

Given a CFG p:Fβ†’Cp : \mathcal{F} \to \mathcal{C} with a cleavage, the associated fiber functor (or pseudofunctor) is: F:Copβ†’GrpdF : \mathcal{C}^{\mathrm{op}} \to \mathbf{Grpd} U↦FU,(f:Vβ†’U)↦(fβˆ—:FUβ†’FV)U \mapsto \mathcal{F}_U, \quad (f : V \to U) \mapsto (f^* : \mathcal{F}_U \to \mathcal{F}_V)

Since all fibers are groupoids, this is a pseudofunctor landing in the 2-category Grpd\mathbf{Grpd} of groupoids, rather than Cat\mathbf{Cat}.

The set of isomorphism classes defines a presheaf of sets: FΛ‰:Copβ†’Set,U↦π0(FU)=Ob⁑(FU)/ ⁣ ⁣≅\bar{F} : \mathcal{C}^{\mathrm{op}} \to \mathbf{Set}, \quad U \mapsto \pi_0(\mathcal{F}_U) = \operatorname{Ob}(\mathcal{F}_U)/\!\!\cong

ExampleFrom CFG to moduli functor

For Mg\mathcal{M}_g, the set of isomorphism classes Ο€0(Mg(S))\pi_0(\mathcal{M}_g(S)) is the set of isomorphism classes of smooth genus-gg curves over SS. Taking S=Spec⁑kS = \operatorname{Spec} k for an algebraically closed field kk, this is the classical moduli set Mg(k)M_g(k).

However, the passage FU↦π0(FU)\mathcal{F}_U \mapsto \pi_0(\mathcal{F}_U) loses information about automorphisms. Two CFGs can have the same isomorphism classes but different automorphism groups, hence different stacks. This is why working with the full groupoid-valued functor is essential.

ExampleFiber functor for BG

For BGBG where GG is a finite group over a field kk, the fiber functor sends SS to the groupoid of GG-torsors over SS. The presheaf of isomorphism classes sends SS to Het1(S,G)H^1_{\mathrm{et}}(S, G).

Over Spec⁑k\operatorname{Spec} k with kk algebraically closed: every GG-torsor is trivial, so Ο€0(BG(k))={βˆ—}\pi_0(BG(k)) = \{*\} (a single point). But BG(k)≃BGBG(k) \simeq BG as a groupoid (one object with automorphism group GG). The automorphism information is invisible at the level of isomorphism classes but crucial for the stack structure.


CFGs vs. Fibered Categories

RemarkWhy groupoids suffice for moduli

In algebraic geometry, moduli problems naturally produce CFGs rather than arbitrary fibered categories because:

  1. Moduli classify up to isomorphism: The fundamental question is "what are the isomorphism classes of objects?" not "what are the homomorphisms?" This forces all fiber morphisms to be invertible.

  2. Descent is for isomorphisms: When gluing objects from local data, the compatibility condition involves isomorphisms on overlaps, not arbitrary morphisms.

  3. Representability: A CFG F\mathcal{F} over Sch\mathbf{Sch} is representable by a scheme XX if and only if F\mathcal{F} is equivalent to the CFG hXh_X with hX(S)=Hom⁑(S,X)h_X(S) = \operatorname{Hom}(S, X) (viewed as a discrete groupoid). Schemes always give CFGs (in fact, sheaves of sets).

However, for derived algebraic geometry and higher stacks, one works with fibered categories that are not necessarily groupoids (e.g., the category of perfect complexes has non-invertible morphisms in its fibers).


Morphisms of CFGs

Definition2.2.4Morphisms and 2-morphisms of CFGs

Let F,G\mathcal{F}, \mathcal{G} be CFGs over C\mathcal{C}.

A 1-morphism F:F→GF : \mathcal{F} \to \mathcal{G} is a functor commuting with the structure functors to C\mathcal{C} (not necessarily preserving cartesian arrows -- this is automatic for CFGs!).

A 2-morphism α:F⇒G\alpha : F \Rightarrow G is a natural transformation with vertical components (lying over identities in C\mathcal{C}).

CFGs over C\mathcal{C} form a 2-category CFG(C)\mathbf{CFG}(\mathcal{C}). We say FF is an equivalence if there exists G:Gβ†’FG : \mathcal{G} \to \mathcal{F} with G∘Fβ‰…id⁑FG \circ F \cong \operatorname{id}_\mathcal{F} and F∘Gβ‰…id⁑GF \circ G \cong \operatorname{id}_\mathcal{G} (2-isomorphisms).

ExampleForgetting the section

The morphism M1,1β†’M1\mathcal{M}_{1,1} \to \mathcal{M}_1 that sends (E,e)(E, e) (an elliptic curve with origin) to EE (the underlying genus-1 curve, forgetting the marked point) is a morphism of CFGs. On fibers over SS, this is the functor that forgets the section.

This is not an equivalence because M1\mathcal{M}_1 has "more" automorphisms: the automorphism group of an elliptic curve in M1\mathcal{M}_1 includes all translations, while in M1,1\mathcal{M}_{1,1} only origin-preserving automorphisms survive.

ExampleDeterminant morphism

The determinant gives a morphism of CFGs: det⁑:Bunnβ†’Pic\det : \mathcal{B}un_n \to \mathcal{P}ic sending a rank-nn vector bundle E\mathcal{E} to its determinant line bundle det⁑(E)=β‹€nE\det(\mathcal{E}) = \bigwedge^n \mathcal{E}. This is compatible with pullback since det⁑(fβˆ—E)β‰…fβˆ—det⁑(E)\det(f^*\mathcal{E}) \cong f^*\det(\mathcal{E}).


Fiber Products of CFGs

Definition2.2.52-fiber product

Given morphisms F:Xβ†’ZF : \mathcal{X} \to \mathcal{Z} and G:Yβ†’ZG : \mathcal{Y} \to \mathcal{Z} of CFGs over C\mathcal{C}, the 2-fiber product XΓ—ZY\mathcal{X} \times_\mathcal{Z} \mathcal{Y} is the CFG over C\mathcal{C} whose fiber over U∈CU \in \mathcal{C} is the groupoid:

(XΓ—ZY)(U)={(x,y,Ξ±):x∈X(U),y∈Y(U),Ξ±:F(x)β†’βˆΌG(y)Β inΒ Z(U)}(\mathcal{X} \times_\mathcal{Z} \mathcal{Y})(U) = \{(x, y, \alpha) : x \in \mathcal{X}(U), y \in \mathcal{Y}(U), \alpha : F(x) \xrightarrow{\sim} G(y) \text{ in } \mathcal{Z}(U)\}

Morphisms (x,y,Ξ±)β†’(xβ€²,yβ€²,Ξ±β€²)(x, y, \alpha) \to (x', y', \alpha') are pairs (Ο•:xβ†’xβ€²,ψ:yβ†’yβ€²)(\phi : x \to x', \psi : y \to y') with Ξ±β€²βˆ˜F(Ο•)=G(ψ)∘α\alpha' \circ F(\phi) = G(\psi) \circ \alpha.

This is the correct "homotopy pullback" -- it remembers the isomorphism Ξ±\alpha rather than requiring strict equality F(x)=G(y)F(x) = G(y).

ExampleInertia stack

Taking F=G=id⁑:Xβ†’XF = G = \operatorname{id} : \mathcal{X} \to \mathcal{X} and forming the 2-fiber product XΓ—XΓ—XX\mathcal{X} \times_{\mathcal{X} \times \mathcal{X}} \mathcal{X}, we get the inertia stack IX\mathcal{I}_\mathcal{X}:

IX(U)={(x,α):x∈X(U),α∈Aut⁑(x)}\mathcal{I}_\mathcal{X}(U) = \{(x, \alpha) : x \in \mathcal{X}(U), \alpha \in \operatorname{Aut}(x)\}

The inertia stack encodes the automorphism groups of objects. For a scheme XX (viewed as a CFG), IX=X\mathcal{I}_X = X (all automorphisms are trivial). For BGBG, the inertia stack is [G/G][G/G] where GG acts on itself by conjugation.

ExampleLevel structures

Consider the morphism M1,1β†’B(Z/nZ)2\mathcal{M}_{1,1} \to B(\mathbb{Z}/n\mathbb{Z})^2 that sends an elliptic curve EE to its nn-torsion E[n]E[n] (as a torsor). The fiber product M1,1(n)=M1,1Γ—B(Z/nZ)2Spec⁑Z[1/n]\mathcal{M}_{1,1}(n) = \mathcal{M}_{1,1} \times_{B(\mathbb{Z}/n\mathbb{Z})^2} \operatorname{Spec}\mathbb{Z}[1/n] parametrizes elliptic curves with full level-nn structure. For nβ‰₯3n \geq 3, the automorphisms are killed and M1,1(n)\mathcal{M}_{1,1}(n) is a scheme (the modular curve Y(n)Y(n)).


The Isom Presheaf

Definition2.2.6Isom presheaf

Let p:Fβ†’Cp : \mathcal{F} \to \mathcal{C} be a CFG over a site C\mathcal{C}. For two objects x,y∈FUx, y \in \mathcal{F}_U, the Isom presheaf is the presheaf on C/U\mathcal{C}/U defined by:

Isom⁑(x,y)(f:Vβ†’U)=Isom⁑FV(fβˆ—x,fβˆ—y)\operatorname{Isom}(x, y)(f : V \to U) = \operatorname{Isom}_{\mathcal{F}_V}(f^*x, f^*y)

This presheaf plays a central role in the definition of stacks: F\mathcal{F} is a prestack (or separated prestack) if Isom⁑(x,y)\operatorname{Isom}(x, y) is a sheaf for all x,yx, y.

ExampleIsom sheaf for BG

For BGBG with GG a smooth group scheme, let P,QP, Q be two GG-torsors over SS. Then Isom⁑(P,Q)\operatorname{Isom}(P, Q) is the sheaf on Sch/S\mathbf{Sch}/S sending Tβ†’ST \to S to the set of GG-equivariant isomorphisms PTβ†’QTP_T \to Q_T. This is representable by the scheme Isom⁑G(P,Q)=PΓ—GQop\operatorname{Isom}_G(P, Q) = P \times^G Q^{\mathrm{op}} (a twisted form of GG).

In particular, Aut⁑(P)=Isom⁑(P,P)\operatorname{Aut}(P) = \operatorname{Isom}(P, P) is a form of GG (equal to GG when PP is trivial).


Summary

RemarkCFGs in the landscape

Categories fibered in groupoids sit at a crucial position:

PresheavesΒ ofΒ setsβ†ͺCFGsβ†ͺFiberedΒ categories\text{Presheaves of sets} \hookrightarrow \text{CFGs} \hookrightarrow \text{Fibered categories}

  • A presheaf of sets is a CFG where all fibers are discrete groupoids (only identity automorphisms).
  • A CFG is a fibered category where all fibers are groupoids.
  • General fibered categories allow non-invertible fiber morphisms.

For the theory of algebraic stacks, CFGs are the right level of generality: they capture automorphisms (which schemes miss) without the extra complexity of non-invertible morphisms (which would require higher categorical technology).

The next step is to impose descent conditions on a CFG, turning it from a "prestack" into a genuine stack.