Grothendieck–Lefschetz trace formula mod for a lisse sheaf on an affine curve over , on the compactly supported cochain complex of
ProvedFunctionField.lefschetz_trace_formula_cone_complexLet be a finite field with elements ( prime, ) and let be a function field over (a finite separable extension of ) of characteristic . Let be the integral closure of , so that is the affine curve obtained from the complete curve of by removing the places over , and let be the integral closure of the valuation ring of at infinity. Fix an algebraic closure and let be the compositum of all finite Galois extensions in that are unramified over : for every prime of the integral closure of in , the only with for all is . Thus with its Krull topology is , and
is the geometric fundamental group . Let act on these constants by (such a exists exactly when the constant field of is ).
Coefficients. Let be a finite Galois extension of unramified over (in the same sense), a finite group and a homomorphism whose kernel is . Let be a prime, , and a free -module of finite rank with a representation . So with the action of is a lisse sheaf of free -modules on , trivialized on the étale cover .
Points. Let with , let be an algebraically closed field with , let and fix a ring homomorphism . Let be the finite set of ring homomorphisms that agree with on and satisfy ; these are the -rational points of (for the -structure on given by ). For each let be an arithmetic Frobenius element at : some ring homomorphism from the integral closure of in to extends , agrees with on , and satisfies for all .
For a subgroup write for the -module of locally constant -cocycles , . Then there are a finite set and nonzero primes () of the integral closure of in forming a system of representatives of the nonzero primes of modulo (every one is for some and , and with forces ; so is the set of points of ), a map and elements with , such that the following holds. Let be the inertia group of . Then
is a -linear endomorphism of ,
is a -linear endomorphism of , and
Role: , and are the terms in degrees of the cone of the restriction map (truncated using that and have -cohomological dimension ), a complex of continuous cochains computing , and are the action of the geometric Frobenius on it. The identity is the Grothendieck–Lefschetz trace formula
at the cochain level, for a lisse sheaf of free -modules (with geometric Frobenius on both sides); applied for all it gives the rationality of modulo . No hypothesis on the Picard group is needed.
Formalization Note: is AlgebraicClosure F; is FunctionField.ringOfIntegers Fq F and is integralClosure (RatFunc.inftyValuation Fq).valuationSubring F; integral closures in intermediate fields are integralClosure _ L. is KU ≃ₐ[F] KU with Mathlib's Krull topology. , , , and (Z1) are variables with defining conditions hKU, hΓ, hMf, hCr, hZ1; in the conclusion the inertia groups and the modules (Z2 s) are universally quantified variables with defining conditions. Congruences mod a prime are written elementwise (∃ c ∈ P, (c : L) = g b - b), and is described by b ∈ Q ↔ ∃ c ∈ P s, (b : KU) = g c. is Gf, the kernel condition on is hπ (and hπo records that the kernel is open). is ¬ l ∣ Fintype.card Fq. The point set is a Finset S with defining condition hS, where "agrees with on " 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 and the maps are existential; 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 with constant field : for example , , trivial and , where the right side is the number of points of , i.e. , modulo .
import Mathlib set_option autoImplicit false
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