Canonical: https://knowlpedia.com/langlands/moduli-stack-of-g-local-systems/

# Moduli stack of G-local systems

The derived moduli stack LocSys_G(X) of principal G-bundles with flat connection.

Let \(X\) be a [smooth projective curve](https://knowlpedia.com/algebraic-geometry-foundations/smooth-projective-curve/) over a characteristic-zero field and
let \(G\) be a [reductive algebraic group](https://knowlpedia.com/algebraic-geometry-foundations/reductive-algebraic-group/). The de Rham **moduli stack of
\(G\)-local systems** is the derived mapping stack
\[
\operatorname{LocSys}^{\mathrm{dR}}_G(X)
=\operatorname{Map}(X_{\mathrm{dR}},BG).
\]
It parametrizes [principal \(G\)-bundles with flat
connection](https://knowlpedia.com/langlands/g-local-system/) in families.

When \(X\) is a compact [Riemann surface](https://knowlpedia.com/differential-geometry/riemann-surface/), the Betti moduli stack is the
derived character stack
\[
\operatorname{LocSys}^{\mathrm{B}}_G(X)
=\operatorname{Map}(X_{\mathrm{Betti}},BG),
\]
whose classical points are representations of \(\pi_1(X)\) in \(G\) modulo
conjugation. Riemann–Hilbert comparison relates the analytifications of the
de Rham and Betti stacks; it does not identify their algebraic structures.

## Why the derived stack matters

Automorphisms and deformation-obstruction groups are part of the moduli
problem. The derived enhancement records them. For a [smooth projective curve](https://knowlpedia.com/algebraic-geometry-foundations/smooth-projective-curve/),
\(\operatorname{LocSys}^{\mathrm{dR}}_G(X)\) is quasi-smooth, so coherent
sheaves on it have a
[singular support](https://knowlpedia.com/langlands/singular-support-of-coherent-sheaf/).

## Spectral role

Geometric Langlands uses
\(\operatorname{LocSys}_{\widehat G}(X)\), where \(\widehat G\) is the
[dual group](https://knowlpedia.com/langlands/langlands-dual-group/). Its relevant
sheaf category is generally
[\(\operatorname{IndCoh}_{\mathcal N}\)](https://knowlpedia.com/langlands/ind-coherent-sheaves-with-nilpotent-singular-support/),
not merely quasi-coherent sheaves.

## References

1. Dima Arinkin and Dennis Gaitsgory, “Singular support of coherent sheaves,
   and the geometric Langlands conjecture,” *Selecta Mathematica* 21 (2015),
   1–199. [arXiv](https://arxiv.org/abs/1201.6343).
