Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Discriminant DGD_GDG​, endoscopic subsystem ΦH\Phi_HΦH​ and resultant RHGR^G_HRHG​

Definition
NgoEndoscopicDiscriminant

by LG · Sep 13, 2026 · Mathlib 0df444a (Lean v4.33.1)

algebranumber-theoryrepresentation-theory

This file sets up the root-theoretic objects of §1.10 of Ngo's paper.

Let Φ\PhiΦ be the root system of a split reductive group GGG with maximal torus TTT. Roots are indexed by a type ι\iotaι; the character module MMM plays the role of X∗(T)X^*(T)X∗(T) and the module NNN the role of the cocharacter lattice X∗(T)X_*(T)X∗​(T), which is also the Cartan on which each root is evaluated. For an index iii corresponding to a root α\alphaα, the linear form dαd\alphadα on the Cartan is the evaluation x↦⟨α,x⟩x \mapsto \langle \alpha, x\ranglex↦⟨α,x⟩.

The file introduces:

  • negIdx(i)\mathrm{negIdx}(i)negIdx(i), the index of the opposite root −α-\alpha−α;
  • the discriminant DG(x)=∏α∈Φdα(x)D_G(x) = \prod_{\alpha \in \Phi} d\alpha(x)DG​(x)=∏α∈Φ​dα(x);
  • the discriminant DH(x)=∏α∈ΦHdα(x)D_H(x) = \prod_{\alpha \in \Phi_H} d\alpha(x)DH​(x)=∏α∈ΦH​​dα(x) of a subsystem indexed by a finite set sss;
  • the resultant RHG(x)=∏α∈Λdα(x)R^G_H(x) = \prod_{\alpha \in \Lambda} d\alpha(x)RHG​(x)=∏α∈Λ​dα(x) attached to a finite set Λ\LambdaΛ of indices;
  • the predicate closed subsystem: a set of indices stable under α↦−α\alpha \mapsto -\alphaα↦−α and under its own reflections;
  • the predicate half system: Λ⊆T\Lambda \subseteq TΛ⊆T contains exactly one index out of each pair {α,−α}\{\alpha,-\alpha\}{α,−α} with α\alphaα indexed by TTT, and TTT is stable under α↦−α\alpha \mapsto -\alphaα↦−α;
  • the Weyl group WHW_HWH​ of a subsystem, as the subgroup of linear automorphisms of the Cartan generated by the reflections attached to the roots of the subsystem;
  • the endoscopic subsystem ΦH={α∈Φ:κ(α∨)=1}\Phi_H = \{\alpha \in \Phi : \kappa(\alpha^\vee) = 1\}ΦH​={α∈Φ:κ(α∨)=1} attached to an element κ\kappaκ of the dual torus T^=Hom⁡(X∗(T),Gm)\hat T = \operatorname{Hom}(X_*(T), \mathbb{G}_m)T^=Hom(X∗​(T),Gm​), for a root datum with integral coefficients.

These are the objects out of which the transfer factor of the Langlands-Shelstad conjecture is built, and they are the common vocabulary of every statement in this mission.

Definition code
import Mathlib

/-!
# Discriminant and resultant for an endoscopic pair of root data

Formalization layer for §1.10 of B.-C. Ngô, *Le lemme fondamental pour les algèbres de
Lie*, Publ. Math. IHÉS **111** (2010), 1–169.

For a split reductive group `G` with maximal torus `T`, Ngô writes `Φ` for the root
system, and for each root `α ∈ Φ` he writes `dα` for the differential of the character
`α : T → 𝔾ₘ`, a linear form on the Cartan `t = Lie T`.  The discriminant is
`D_G = ∏_{α ∈ Φ} dα`.  An endoscopic datum is an element `κ` of the dual torus
`T̂ = Hom(X_*(T), 𝔾ₘ)`; the endoscopic group `H` has root system
`Φ_H = {α ∈ Φ : κ(α^∨) = 1}`, and `R^G_H = ∏_{α ∈ Λ} dα` for a set `Λ` of
representatives of the pairs `{±α} ⊆ Φ - Φ_H`.

Here roots are modelled by `RootPairing ι R M N`: `M` plays the role of the character
module `X^*(T)`, `N` the role of the cocharacter module `X_*(T)`, and the Cartan on
which the `dα` are evaluated is `N`.  `P.root' i : N →ₗ[R] R` is the linear form `dα`
attached to the root indexed by `i`.
-/

namespace NgoFL

open scoped BigOperators

variable {ι R M N : Type*} [CommRing R] [AddCommGroup M] [Module R M]
  [AddCommGroup N] [Module R N]

/-- The index of the root `-α`, for `α` the root indexed by `i`. -/
def negIdx (P : RootPairing ι R M N) (i : ι) : ι := P.reflectionPerm i i

/-- The discriminant `D_G = ∏_{α ∈ Φ} dα`, evaluated at a point of the Cartan. -/
def discriminant [Fintype ι] (P : RootPairing ι R M N) (x : N) : R := ∏ i, P.root' i x

/-- The discriminant of the subsystem indexed by `s`, i.e. `D_H = ∏_{α ∈ Φ_H} dα`. -/
def subDiscriminant (P : RootPairing ι R M N) (s : Finset ι) (x : N) : R :=
  ∏ i ∈ s, P.root' i x

/-- The resultant `R^G_H = ∏_{α ∈ Λ} dα` attached to a set `Λ` of representatives of the
pairs of opposite roots outside the endoscopic subsystem. -/
def resultant (P : RootPairing ι R M N) (L : Finset ι) (x : N) : R := ∏ i ∈ L, P.root' i x

/-- `s` indexes a closed subsystem: it is stable under `α ↦ -α` and under its own
reflections.  This is the property enjoyed by the root system `Φ_H` of an endoscopic
group. -/
structure IsClosedSubsystem (P : RootPairing ι R M N) (s : Set ι) : Prop where
  neg_mem : ∀ i ∈ s, negIdx P i ∈ s
  reflectionPerm_mem : ∀ i ∈ s, ∀ j ∈ s, P.reflectionPerm i j ∈ s

/-- `L` picks exactly one root out of each pair `{α, -α}` of opposite roots indexed by
`T`.  (The exclusive-or condition forces `α ≠ -α` for every `α` indexed by `T`.) -/
structure IsHalfSystem (P : RootPairing ι R M N) (T L : Finset ι) : Prop where
  subset : L ⊆ T
  neg_mem : ∀ i ∈ T, negIdx P i ∈ T
  xor_mem : ∀ i ∈ T, Xor (i ∈ L) (negIdx P i ∈ L)

/-- The Weyl group `W_H` of the subsystem indexed by `s`, acting on the Cartan `N`. -/
def weylSubgroup (P : RootPairing ι R M N) (s : Set ι) : Subgroup (N ≃ₗ[R] N) :=
  Subgroup.closure {f | ∃ i ∈ s, f = P.coreflection i}

/-- The root subsystem `Φ_H = {α ∈ Φ : κ(α^∨) = 1}` cut out by an element `κ` of the dual
torus `T̂ = Hom(X_*(T), 𝔾ₘ)`, for a root datum (coefficients in `ℤ`). -/
def endoscopicIndex {ι M N A : Type*} [AddCommGroup M] [AddCommGroup N] [CommGroup A]
    (P : RootPairing ι ℤ M N) (κ : Multiplicative N →* A) : Set ι :=
  {i | κ (Multiplicative.ofAdd (P.coroot i)) = 1}

end NgoFL
Source
Bao Chau Ngo, *Le lemme fondamental pour les algebres de Lie*, Publications mathematiques de l'IHES 111 (2010), 1-169, DOI 10.1007/s10240-010-0026-7, pp. 17-21, §1.8 and §1.10 (definition of DGD_GDG​, of the endoscopic root system, and of RHGR^G_HRHG​)
Read-back

What the Lean code literally says, in plain math · Aristotle (Harmonic)

Non-blind read-back — not independent testimony. This read-back was written by the same agent that drafted the Lean statement above, from full knowledge of the intended meaning and of the source paper. It was not produced blind by a separate auditor, so it cannot serve as an independent check that the formalization matches the intent: an error in the drafting is likely to be repeated here. It is supplied only as the author's own literal rendering of the code, and should be replaced by, or checked against, a genuinely independent blind read-back before the proposal is submitted.

The file declares six notions relative to a root pairing PPP with index type ι\iotaι, coefficient ring RRR, character module MMM and cocharacter module NNN. For an index iii, PPP provides a root αi∈M\alpha_i \in Mαi​∈M, a coroot αi∨∈N\alpha_i^\vee \in Nαi∨​∈N, a permutation rpi\mathrm{rp}_irpi​ of ι\iotaι recording the action of the reflection in αi\alpha_iαi​ on indices, and a linear form αi′:N→R\alpha_i' : N \to Rαi′​:N→R obtained by pairing αi\alpha_iαi​ with elements of NNN.

  • negIdx(P,i)\mathrm{negIdx}(P, i)negIdx(P,i) is defined to be rpi(i)\mathrm{rp}_i(i)rpi​(i), with no further condition imposed.
  • For a finite index type, discriminant(P,x)=∏i∈ιαi′(x)\mathrm{discriminant}(P, x) = \prod_{i \in \iota} \alpha_i'(x)discriminant(P,x)=∏i∈ι​αi′​(x), a product over all indices, evaluated at an arbitrary x∈Nx \in Nx∈N.
  • For a finite set sss of indices, subDiscriminant(P,s,x)=∏i∈sαi′(x)\mathrm{subDiscriminant}(P, s, x) = \prod_{i \in s} \alpha_i'(x)subDiscriminant(P,s,x)=∏i∈s​αi′​(x); resultant(P,L,x)=∏i∈Lαi′(x)\mathrm{resultant}(P, L, x) = \prod_{i \in L} \alpha_i'(x)resultant(P,L,x)=∏i∈L​αi′​(x) is the same construction under another name. Both are 111 when the finite set is empty.
  • IsClosedSubsystem(P,s)\mathrm{IsClosedSubsystem}(P, s)IsClosedSubsystem(P,s), for a set sss of indices, asserts two things: for every i∈si \in si∈s one has negIdx(P,i)∈s\mathrm{negIdx}(P,i) \in snegIdx(P,i)∈s; and for all i,j∈si, j \in si,j∈s one has rpi(j)∈s\mathrm{rp}_i(j) \in srpi​(j)∈s.
  • IsHalfSystem(P,T,L)\mathrm{IsHalfSystem}(P, T, L)IsHalfSystem(P,T,L), for finite sets TTT and LLL, asserts three things: L⊆TL \subseteq TL⊆T; for every i∈Ti \in Ti∈T also negIdx(P,i)∈T\mathrm{negIdx}(P,i) \in TnegIdx(P,i)∈T; and for every i∈Ti \in Ti∈T exactly one of the statements i∈Li \in Li∈L and negIdx(P,i)∈L\mathrm{negIdx}(P,i) \in LnegIdx(P,i)∈L holds. Note that the last clause fails whenever negIdx(P,i)=i\mathrm{negIdx}(P,i) = inegIdx(P,i)=i, so it implicitly forbids such indices inside TTT; it is vacuous when TTT is empty, in which case LLL must also be empty.
  • weylSubgroup(P,s)\mathrm{weylSubgroup}(P, s)weylSubgroup(P,s), for a set sss of indices, is the subgroup of the group of RRR-linear automorphisms of NNN generated by the set of maps {P.coreflection i:i∈s}\{P.\mathrm{coreflection}\ i : i \in s\}{P.coreflection i:i∈s}, where P.coreflection iP.\mathrm{coreflection}\ iP.coreflection i is the reflection y↦y−αi′(y)αi∨y \mapsto y - \alpha_i'(y) \alpha_i^\veey↦y−αi′​(y)αi∨​ of NNN.
  • endoscopicIndex(P,κ)\mathrm{endoscopicIndex}(P,\kappa)endoscopicIndex(P,κ) is defined only for coefficient ring Z\mathbb{Z}Z: given a group homomorphism κ\kappaκ from the multiplicative copy of NNN to a commutative group AAA, it is the set of indices iii with κ(αi∨)=1\kappa(\alpha_i^\vee) = 1κ(αi∨​)=1.

No finiteness, reducedness or spanning hypothesis is imposed anywhere except the Fintype assumption needed to form the product over all of ι\iotaι in the discriminant, and no relation between the subsystem sss and κ\kappaκ is built into the definitions: they are independent parameters wherever both occur.

Human review
  • Endorsed by Shuze Chen · Sep 15, 2026

  • Endorsed by LG · Sep 15, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me