Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Grothendieck–Lefschetz trace formula mod ℓn\ell^nℓn for a lisse sheaf on an affine curve over Fq\mathbb F_qFq​, on the compactly supported cochain complex of π1\pi_1π1​

Proved
FunctionField.lefschetz_trace_formula_cone_complex

by Nickrobbins95 · Nov 18, 2026 · Mathlib 0df444a (Lean v4.33.1)

algebraic-geometryfinite-fieldsnumber-theory

Let Fq\mathbb F_qFq​ be a finite field with q=peq=p^eq=pe elements (ppp prime, e≥1e\ge1e≥1) and let FFF be a function field over Fq\mathbb F_qFq​ (a finite separable extension of Fq(t)\mathbb F_q(t)Fq​(t)) of characteristic ppp. Let A⊂FA\subset FA⊂F be the integral closure of Fq[t]\mathbb F_q[t]Fq​[t], so that U=Spec⁡AU=\operatorname{Spec}AU=SpecA is the affine curve obtained from the complete curve XXX of FFF by removing the places over t=∞t=\inftyt=∞, and let R∞⊂FR_\infty\subset FR∞​⊂F be the integral closure of the valuation ring of Fq(t)\mathbb F_q(t)Fq​(t) at infinity. Fix an algebraic closure F‾\overline FF and let KU⊂F‾K_U\subset\overline FKU​⊂F be the compositum of all finite Galois extensions L/FL/FL/F in F‾\overline FF that are unramified over AAA: for every prime P\mathfrak PP of the integral closure ALA_LAL​ of AAA in LLL, the only g∈Gal(L/F)g\in\mathrm{Gal}(L/F)g∈Gal(L/F) with g(b)≡b(modP)g(b)\equiv b\pmod{\mathfrak P}g(b)≡b(modP) for all b∈ALb\in A_Lb∈AL​ is g=1g=1g=1. Thus Gal(KU/F)\mathrm{Gal}(K_U/F)Gal(KU​/F) with its Krull topology is π1(U)\pi_1(U)π1​(U), and

Γ={g∈Gal(KU/F): g(x)=x for every x∈KU with xqk=x for some k≥1}\Gamma=\{g\in\mathrm{Gal}(K_U/F):\ g(x)=x\text{ for every }x\in K_U\text{ with }x^{q^k}=x\text{ for some }k\ge1\}Γ={g∈Gal(KU​/F): g(x)=x for every x∈KU​ with xqk=x for some k≥1}

is the geometric fundamental group π1(Uˉ)\pi_1(\bar U)π1​(Uˉ). Let φ∈Gal(KU/F)\varphi\in\mathrm{Gal}(K_U/F)φ∈Gal(KU​/F) act on these constants by x↦xqx\mapsto x^qx↦xq (such a φ\varphiφ exists exactly when the constant field of FFF is Fq\mathbb F_qFq​).

Coefficients. Let Mf⊆KUM_f\subseteq K_UMf​⊆KU​ be a finite Galois extension of FFF unramified over AAA (in the same sense), GGG a finite group and π:Gal(KU/F)→G\pi:\mathrm{Gal}(K_U/F)\to Gπ:Gal(KU​/F)→G a homomorphism whose kernel is Gal(KU/Mf)\mathrm{Gal}(K_U/M_f)Gal(KU​/Mf​). Let ℓ∤q\ell\nmid qℓ∤q be a prime, n≥1n\ge1n≥1, and MMM a free Z/ℓn\mathbb Z/\ell^nZ/ℓn-module of finite rank with a representation τ:G→GL(M)\tau:G\to\mathrm{GL}(M)τ:G→GL(M). So MMM with the action τ∘π\tau\circ\piτ∘π of π1(U)\pi_1(U)π1​(U) is a lisse sheaf of free Z/ℓn\mathbb Z/\ell^nZ/ℓn-modules on UUU, trivialized on the étale cover Spec⁡AMf→U\operatorname{Spec}A_{M_f}\to USpecAMf​​→U.

Points. Let m,r≥1m,r\ge1m,r≥1 with m ∣G∣∣rm\,|G|\mid rm∣G∣∣r, let Ω\OmegaΩ be an algebraically closed field with Fr(z)=zqm\mathrm{Fr}(z)=z^{q^m}Fr(z)=zqm, let Cr={x∈KU: xqr=x}≅FqrC_r=\{x\in K_U:\ x^{q^r}=x\}\cong\mathbb F_{q^r}Cr​={x∈KU​: xqr=x}≅Fqr​ and fix a ring homomorphism ι:Cr→Ω\iota:C_r\to\Omegaι:Cr​→Ω. Let SSS be the finite set of ring homomorphisms u:A→Ωu:A\to\Omegau:A→Ω that agree with ι\iotaι on Fq\mathbb F_qFq​ and satisfy Fr∘u=u\mathrm{Fr}\circ u=uFr∘u=u; these are the Fqm\mathbb F_{q^m}Fqm​-rational points of UUU (for the Fq\mathbb F_qFq​-structure on Ω\OmegaΩ given by ι\iotaι). For each u∈Su\in Su∈S let Fru∈Gal(KU/F)\mathrm{Fr}_u\in\mathrm{Gal}(K_U/F)Fru​∈Gal(KU​/F) be an arithmetic Frobenius element at uuu: some ring homomorphism www from the integral closure AKUA_{K_U}AKU​​ of AAA in KUK_UKU​ to Ω\OmegaΩ extends uuu, agrees with ι\iotaι on CrC_rCr​, and satisfies w(Fru b)=Fr(w(b))w(\mathrm{Fr}_u\,b)=\mathrm{Fr}(w(b))w(Fru​b)=Fr(w(b)) for all b∈AKUb\in A_{K_U}b∈AKU​​.

For a subgroup H≤ΓH\le\GammaH≤Γ write Z1(H,M)Z^1(H,M)Z1(H,M) for the Z/ℓn\mathbb Z/\ell^nZ/ℓn-module of locally constant 111-cocycles c:H→Mc:H\to Mc:H→M, c(gh)=c(g)+τ(πg) c(h)c(gh)=c(g)+\tau(\pi g)\,c(h)c(gh)=c(g)+τ(πg)c(h). Then there are a finite set BBB and nonzero primes Ps\mathfrak P_sPs​ (s∈Bs\in Bs∈B) of the integral closure R∞,UR_{\infty,U}R∞,U​ of R∞R_\inftyR∞​ in KUK_UKU​ forming a system of representatives of the nonzero primes of R∞,UR_{\infty,U}R∞,U​ modulo Γ\GammaΓ (every one is g(Ps)g(\mathfrak P_s)g(Ps​) for some sss and g∈Γg\in\Gammag∈Γ, and g(Ps)=Ps′g(\mathfrak P_s)=\mathfrak P_{s'}g(Ps​)=Ps′​ with g∈Γg\in\Gammag∈Γ forces s=s′s=s's=s′; so BBB is the set of points of Xˉ∖Uˉ\bar X\setminus\bar UXˉ∖Uˉ), a map t:B→Bt:B\to Bt:B→B and elements hs∈Γh_s\in\Gammahs​∈Γ with φ(Ps)=hs(Pt(s))\varphi(\mathfrak P_s)=h_s(\mathfrak P_{t(s)})φ(Ps​)=hs​(Pt(s)​), such that the following holds. Let Is={g: g(b)≡b(modPs) for all b∈R∞,U}I_s=\{g:\ g(b)\equiv b\pmod{\mathfrak P_s}\text{ for all }b\in R_{\infty,U}\}Is​={g: g(b)≡b(modPs​) for all b∈R∞,U​} be the inertia group of Ps\mathfrak P_sPs​. Then

F1(c,y)=(g↦τ(πφ−1) c(φgφ−1),  s↦τ(πφ−1)(τ(πhs) yt(s)−c(hs)))F_1(c,y)=\Big(g\mapsto\tau(\pi\varphi^{-1})\,c(\varphi g\varphi^{-1}),\ \ s\mapsto\tau(\pi\varphi^{-1})\big(\tau(\pi h_s)\,y_{t(s)}-c(h_s)\big)\Big)F1​(c,y)=(g↦τ(πφ−1)c(φgφ−1),  s↦τ(πφ−1)(τ(πhs​)yt(s)​−c(hs​)))

is a Z/ℓn\mathbb Z/\ell^nZ/ℓn-linear endomorphism of Z1(Γ,M)×MBZ^1(\Gamma,M)\times M^BZ1(Γ,M)×MB,

F2(x)s(g)=τ(π(φ−1hs)) xt(s)(hs−1φgφ−1hs)(g∈Γ∩Is)F_2(x)_s(g)=\tau\big(\pi(\varphi^{-1}h_s)\big)\,x_{t(s)}\big(h_s^{-1}\varphi g\varphi^{-1}h_s\big)\qquad(g\in\Gamma\cap I_s)F2​(x)s​(g)=τ(π(φ−1hs​))xt(s)​(hs−1​φgφ−1hs​)(g∈Γ∩Is​)

is a Z/ℓn\mathbb Z/\ell^nZ/ℓn-linear endomorphism of ∏s∈BZ1(Γ∩Is,M)\prod_{s\in B}Z^1(\Gamma\cap I_s,M)∏s∈B​Z1(Γ∩Is​,M), and

Tr⁡(τ(πφ−1)m∣M)−Tr⁡(F1m∣Z1(Γ,M)×MB)+Tr⁡(F2m ∣ ∏s∈BZ1(Γ∩Is,M))=∑u∈STr⁡(τ(π Fru)−1∣M).\operatorname{Tr}\big(\tau(\pi\varphi^{-1})^m\mid M\big)-\operatorname{Tr}\big(F_1^m\mid Z^1(\Gamma,M)\times M^B\big)+\operatorname{Tr}\Big(F_2^m\ \Big|\ \prod_{s\in B}Z^1(\Gamma\cap I_s,M)\Big)=\sum_{u\in S}\operatorname{Tr}\big(\tau(\pi\,\mathrm{Fr}_u)^{-1}\mid M\big).Tr(τ(πφ−1)m∣M)−Tr(F1m​∣Z1(Γ,M)×MB)+Tr(F2m​ ​ s∈B∏​Z1(Γ∩Is​,M))=u∈S∑​Tr(τ(πFru​)−1∣M).

Role: MMM, Z1(Γ,M)×MBZ^1(\Gamma,M)\times M^BZ1(Γ,M)×MB and ∏sZ1(Γ∩Is,M)\prod_s Z^1(\Gamma\cap I_s,M)∏s​Z1(Γ∩Is​,M) are the terms in degrees 0,1,20,1,20,1,2 of the cone of the restriction map C∙(Γ,M)→∏sC∙(Γ∩Is,M)C^\bullet(\Gamma,M)\to\prod_{s}C^\bullet(\Gamma\cap I_s,M)C∙(Γ,M)→∏s​C∙(Γ∩Is​,M) (truncated using that Γ\GammaΓ and Γ∩Is\Gamma\cap I_sΓ∩Is​ have ℓ\ellℓ-cohomological dimension ≤1\le1≤1), a complex of continuous cochains computing RΓc(Uˉ,M)R\Gamma_c(\bar U,M)RΓc​(Uˉ,M), and F1,F2F_1,F_2F1​,F2​ are the action of the geometric Frobenius φ−1\varphi^{-1}φ−1 on it. The identity is the Grothendieck–Lefschetz trace formula

∑i(−1)iTr⁡(Fm∣Hci(Uˉ,M))=∑x∈U(Fqm)Tr⁡(Frobx∣Mxˉ)\sum_i(-1)^i\operatorname{Tr}\big(F^m\mid H^i_c(\bar U,M)\big)=\sum_{x\in U(\mathbb F_{q^m})}\operatorname{Tr}\big(\mathrm{Frob}_x\mid M_{\bar x}\big)i∑​(−1)iTr(Fm∣Hci​(Uˉ,M))=x∈U(Fqm​)∑​Tr(Frobx​∣Mxˉ​)

at the cochain level, for a lisse sheaf of free Z/ℓn\mathbb Z/\ell^nZ/ℓn-modules (with geometric Frobenius on both sides); applied for all mmm it gives the rationality of L(U,M,t)L(U,M,t)L(U,M,t) modulo ℓn\ell^nℓn. No hypothesis on the Picard group is needed.

Formalization Note: F‾\overline FF is AlgebraicClosure F; AAA is FunctionField.ringOfIntegers Fq F and R∞R_\inftyR∞​ is integralClosure (RatFunc.inftyValuation Fq).valuationSubring F; integral closures in intermediate fields are integralClosure _ L. Gal(KU/F)\mathrm{Gal}(K_U/F)Gal(KU​/F) is KU ≃ₐ[F] KU with Mathlib's Krull topology. KUK_UKU​, Γ\GammaΓ, MfM_fMf​, CrC_rCr​ and Z1(Γ,M)Z^1(\Gamma,M)Z1(Γ,M) (Z1) are variables with defining conditions hKU, hΓ, hMf, hCr, hZ1; in the conclusion the inertia groups IsI_sIs​ and the modules Z1(Γ∩Is,M)Z^1(\Gamma\cap I_s,M)Z1(Γ∩Is​,M) (Z2 s) are universally quantified variables with defining conditions. Congruences mod a prime are written elementwise (∃ c ∈ P, (c : L) = g b - b), and g(P)g(\mathfrak P)g(P) is described by b ∈ Q ↔ ∃ c ∈ P s, (b : KU) = g c. GGG is Gf, the kernel condition on π\piπ is hπ (and hπo records that the kernel is open). ℓ∤q\ell\nmid qℓ∤q is ¬ l ∣ Fintype.card Fq. The point set is a Finset S with defining condition hS, where "agrees with ι\iotaι on Fq\mathbb F_qFq​" is u c = ιS x whenever x ∈ Cr is the image of c ∈ Fq; the Frobenius elements form a function Fu constrained only on S by hFu. The boundary data B,Ps,t,hsB,\mathfrak P_s,t,h_sB,Ps​,t,hs​ and the maps F1,F2F_1,F_2F1​,F2​ are existential; F1,F2F_1,F_2F1​,F2​ are pinned down completely by the displayed formulas (stated for every g' equal to the conjugate), and the identity holds for every choice of boundary data (the statement asserts it for one choice). Traces are LinearMap.trace over ZMod (l ^ n); the three modules are free of finite rank, so these are ordinary traces. The hypotheses are satisfiable for every FFF with constant field Fq\mathbb F_qFq​: for example F=Fq(t)F=\mathbb F_q(t)F=Fq​(t), Mf=FM_f=FMf​=F, GGG trivial and M=Z/ℓnM=\mathbb Z/\ell^nM=Z/ℓn, where the right side is the number of points of A1(Fqm)\mathbb A^1(\mathbb F_{q^m})A1(Fqm​), i.e. qmq^mqm, modulo ℓn\ell^nℓn.

Preamble
import Mathlib

set_option autoImplicit false
Formal statement
theorem FunctionField.lefschetz_trace_formula_cone_complex
    (Fq : Type) [Field Fq] [Fintype Fq] [DecidableEq (RatFunc Fq)]
    (F : Type) [Field F] [Algebra Fq F] [Algebra (Polynomial Fq) F] [Algebra (RatFunc Fq) F]
    [IsScalarTower (Polynomial Fq) (RatFunc Fq) F] [IsScalarTower Fq (Polynomial Fq) F]
    [FunctionField Fq F] [Algebra.IsSeparable (RatFunc Fq) F]
    (p e : ℕ) [Fact p.Prime] [CharP F p] (hq : Fintype.card Fq = p ^ e) (he : 0 < e)
    (l n : ℕ) [Fact l.Prime] (hn : 0 < n) (hlq : ¬ l ∣ Fintype.card Fq)
    (KU : IntermediateField F (AlgebraicClosure F))
    (hKU : KU = ⨆ L : {L : IntermediateField F (AlgebraicClosure F) //
        FiniteDimensional F L ∧ IsGalois F L ∧
        ∀ P : Ideal (integralClosure (FunctionField.ringOfIntegers Fq F) L), P.IsPrime →
          ∀ g : L ≃ₐ[F] L,
            (∀ b : integralClosure (FunctionField.ringOfIntegers Fq F) L, ∃ c ∈ P, (c : L) = g b - b) →
              g = 1}, L.1)
    (Γ : Subgroup (KU ≃ₐ[F] KU))
    (hΓ : ∀ g : KU ≃ₐ[F] KU, g ∈ Γ ↔
      ∀ x : KU, (∃ k : ℕ, 0 < k ∧ x ^ (Fintype.card Fq) ^ k = x) → g x = x)
    (φ : KU ≃ₐ[F] KU)
    (hφ : ∀ x : KU, (∃ k : ℕ, 0 < k ∧ x ^ (Fintype.card Fq) ^ k = x) → φ x = x ^ Fintype.card Fq)
    (Mf : IntermediateField F (AlgebraicClosure F))
    (hMf : FiniteDimensional F Mf ∧ IsGalois F Mf ∧
      ∀ P : Ideal (integralClosure (FunctionField.ringOfIntegers Fq F) Mf), P.IsPrime →
        ∀ g : Mf ≃ₐ[F] Mf,
          (∀ b : integralClosure (FunctionField.ringOfIntegers Fq F) Mf, ∃ c ∈ P, (c : Mf) = g b - b) →
            g = 1)
    (hMfU : Mf ≤ KU)
    (Gf : Type) [Group Gf] [Fintype Gf] (π : (KU ≃ₐ[F] KU) →* Gf)
    (hπ : ∀ σ : KU ≃ₐ[F] KU, π σ = 1 ↔ ∀ x : KU, (x : AlgebraicClosure F) ∈ Mf → σ x = x)
    (hπo : IsOpen (π.ker : Set (KU ≃ₐ[F] KU)))
    (M : Type) [AddCommGroup M] [Module (ZMod (l ^ n)) M] [Module.Free (ZMod (l ^ n)) M]
    [Module.Finite (ZMod (l ^ n)) M] (τ : Representation (ZMod (l ^ n)) Gf M)
    (Z1 : Submodule (ZMod (l ^ n)) (Γ → M))
    (hZ1 : ∀ c : Γ → M, c ∈ Z1 ↔ IsLocallyConstant c ∧ ∀ g h : Γ, c (g * h) = c g + τ (π g) (c h))
    (m : ℕ) (hm : 0 < m) (r : ℕ) (hr : 0 < r) (hmr : m * Fintype.card Gf ∣ r)
    (Ω : Type) [Field Ω] [IsAlgClosed Ω] (Fr : Ω →+* Ω) (hFr : ∀ z, Fr z = z ^ (Fintype.card Fq ^ m))
    (Cr : Subfield KU) (hCr : ∀ x : KU, x ∈ Cr ↔ x ^ (Fintype.card Fq ^ r) = x) (ιS : Cr →+* Ω)
    (S : Finset (FunctionField.ringOfIntegers Fq F →+* Ω))
    (hS : ∀ u, u ∈ S ↔ (∀ (c : Fq) (x : Cr), (x : KU) = algebraMap F KU (algebraMap Fq F c) →
        u (algebraMap Fq (FunctionField.ringOfIntegers Fq F) c) = ιS x) ∧ Fr.comp u = u)
    (Fu : (FunctionField.ringOfIntegers Fq F →+* Ω) → (KU ≃ₐ[F] KU))
    (hFu : ∀ u ∈ S, ∃ w : integralClosure (FunctionField.ringOfIntegers Fq F) KU →+* Ω,
      (∀ a : FunctionField.ringOfIntegers Fq F, w (algebraMap _ _ a) = u a) ∧
      (∀ b b' : integralClosure (FunctionField.ringOfIntegers Fq F) KU,
        (b' : KU) = Fu u (b : KU) → w b' = Fr (w b)) ∧
      ∀ (x : Cr) (b : integralClosure (FunctionField.ringOfIntegers Fq F) KU), (b : KU) = x → w b = ιS x) :
    ∃ (B : Type) (P : B → Ideal (integralClosure
        (integralClosure (RatFunc.inftyValuation Fq).valuationSubring F) KU)),
      Finite B ∧ (∀ s, (P s).IsPrime ∧ P s ≠ ⊥) ∧
      (∀ Q : Ideal (integralClosure (integralClosure (RatFunc.inftyValuation Fq).valuationSubring F) KU),
        Q.IsPrime → Q ≠ ⊥ → ∃ s, ∃ g ∈ Γ,
          ∀ b : integralClosure (integralClosure (RatFunc.inftyValuation Fq).valuationSubring F) KU,
            b ∈ Q ↔ ∃ c ∈ P s, (b : KU) = g (c : KU)) ∧
      (∀ s s', ∀ g ∈ Γ,
        (∀ b : integralClosure (integralClosure (RatFunc.inftyValuation Fq).valuationSubring F) KU,
          b ∈ P s' ↔ ∃ c ∈ P s, (b : KU) = g (c : KU)) → s = s') ∧
      ∃ (t : B → B) (h : B → Γ),
        (∀ s (b : integralClosure (integralClosure (RatFunc.inftyValuation Fq).valuationSubring F) KU),
          (∃ c ∈ P s, (b : KU) = φ (c : KU)) ↔
            ∃ c ∈ P (t s), (b : KU) = (h s : KU ≃ₐ[F] KU) (c : KU)) ∧
        ∀ I : B → Subgroup (KU ≃ₐ[F] KU),
          (∀ s (g : KU ≃ₐ[F] KU), g ∈ I s ↔
            ∀ b : integralClosure (integralClosure (RatFunc.inftyValuation Fq).valuationSubring F) KU,
              ∃ c ∈ P s, (c : KU) = g (b : KU) - b) →
        ∀ Z2 : (s : B) → Submodule (ZMod (l ^ n)) (↥(Γ ⊓ I s) → M),
          (∀ s (c : ↥(Γ ⊓ I s) → M), c ∈ Z2 s ↔
            IsLocallyConstant c ∧ ∀ g h : ↥(Γ ⊓ I s), c (g * h) = c g + τ (π g) (c h)) →
        ∃ (F1 : (↥Z1 × (B → M)) →ₗ[ZMod (l ^ n)] (↥Z1 × (B → M)))
          (F2 : ((s : B) → ↥(Z2 s)) →ₗ[ZMod (l ^ n)] ((s : B) → ↥(Z2 s))),
          (∀ (c : ↥Z1) (y : B → M) (g g' : Γ), (g' : KU ≃ₐ[F] KU) = φ * g * φ⁻¹ →
            ((F1 (c, y)).1 : Γ → M) g = τ (π φ⁻¹) ((c : Γ → M) g')) ∧
          (∀ (c : ↥Z1) (y : B → M) (s : B),
            (F1 (c, y)).2 s = τ (π φ⁻¹) (τ (π (h s)) (y (t s)) - (c : Γ → M) (h s))) ∧
          (∀ (x : (s : B) → ↥(Z2 s)) (s : B) (g : ↥(Γ ⊓ I s)) (g' : ↥(Γ ⊓ I (t s))),
            (g' : KU ≃ₐ[F] KU) = (h s : KU ≃ₐ[F] KU)⁻¹ * φ * g * φ⁻¹ * h s →
            ((F2 x s : ↥(Z2 s)) : ↥(Γ ⊓ I s) → M) g =
              τ (π (φ⁻¹ * h s)) (((x (t s) : ↥(Z2 (t s))) : ↥(Γ ⊓ I (t s)) → M) g')) ∧
          LinearMap.trace (ZMod (l ^ n)) M (τ (π φ⁻¹) ^ m) -
              LinearMap.trace (ZMod (l ^ n)) (↥Z1 × (B → M)) (F1 ^ m) +
              LinearMap.trace (ZMod (l ^ n)) ((s : B) → ↥(Z2 s)) (F2 ^ m) =
            ∑ u ∈ S, LinearMap.trace (ZMod (l ^ n)) M (τ (π (Fu u))⁻¹) := by sorry
Source
A. Grothendieck, Formule de Lefschetz et rationalité des fonctions L, Séminaire Bourbaki, exposé 279 (1964/65); P. Deligne, Cohomologie étale (SGA 4½), Lecture Notes in Math. 569, Springer (1977), « Rapport sur la formule des traces »; J. S. Milne, Étale Cohomology, Princeton University Press (1980), Chapter VI, §13

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