Poincaré duality on an affine curve over : is perfect, with Frobenius factor
ProvedFunctionField.cupPairing_compactH1_geomH1_isPerfect_of_picDivisibleLet be a finite field of characteristic , with , and let be a function field over (a finite separable extension of ) whose constant field is exactly . Let be the integral closure of , so that is the smooth 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 .
The nonzero primes of the integral closure of in are the places of over the points at infinity. Let be a finite nonempty set and () nonzero primes of forming a system of representatives of these primes modulo (every one is for some and , and with forces ); so is the set of points of . Let be the inertia group of .
Let be a prime, , a finite commutative ring with , and a continuous action of on by -linear maps (a continuous character with values in ) that is trivial on . Assume the two divisor-class facts that are the input of the computation of :
- (Pic of is -divisible) for every finite extension of and every divisor of the affine curve there are and in with on (that is, for every prime of over the prime of );
- ( is -divisible) for every finite all of whose places at infinity have the same residue field size, and every divisor supported at infinity of total multiplicity , there are and in with on and at the places at infinity of .
In cochain form (as is trivial), and is the first cohomology of the cone of restriction to the boundary: pairs with vanishing on every and , modulo the pairs . Then there are such that:
- for all the -cocycle is a coboundary: for some locally constant ;
- the pairing
with any such primitive of , is well defined, its left kernel is exactly , its right kernel is , and every -linear functional on either side (vanishing on for the left side) is of the form , respectively : the pairing is perfect; 3. for every acting by on the constants there are and with , such that the Frobenius twists and are again cocycles and
Role: Poincaré duality for the cohomology in degree of a curve over with constant (or -trivial) coefficients, , written entirely in terms of continuous cochains of the Galois group of the maximal extension unramified over ; the factor in item 3 is the Tate twist . The two hypotheses are the divisibility of and of by ; both hold for every curve when (the Jacobian is a divisible group), and they are assumed only because that fact is not available in Mathlib.
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 _ M. The constant field condition is algebraicClosure Fq F = ⊥. , the constant field levels (CL m, the adjunction of the roots of ), and the inertia groups are variables with defining equations hKU, hCL, hΓ, hI; 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 KU ≃ₐ[F] KU with Mathlib's Krull topology; continuity of maps is IsLocallyConstant, the character is a Representation Λ (KU ≃ₐ[F] KU) Λ with open kernel, and is ((l ^ n : ℕ) : Λ) = 0 with as (l : F) ≠ 0. Cochains are plain functions; an element of is represented by x : (Γ → Λ) × (S → Λ) satisfying the cocycle conditions, the pairing is a function pair on representatives given by the formula of item 2 for every primitive u, and perfectness is stated elementwise (kernels and representability of additive, -homogeneous functionals). Divisors are finitely supported functions on IsDedekindDomain.HeightOneSpectrum of the relevant integral closure, is WithZero.log (w.valuation _ a) (up to sign, which does not matter for the divisibility conditions), and " lies over " is written elementwise in ; the Dedekind and fraction-ring instances of these integral closures are taken as instance arguments inside the hypotheses. The hypotheses are satisfiable for every as above (they are theorems for every curve and every ), for example for , where , is a single point and .
import Mathlib set_option autoImplicit false
theorem FunctionField.cupPairing_compactH1_geomH1_isPerfect_of_picDivisible
(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)
(hk : algebraicClosure Fq F = ⊥)
(l : ℕ) [Fact l.Prime] (hl : (l : F) ≠ 0) (n : ℕ)
(CL : ℕ → IntermediateField F (AlgebraicClosure F))
(hCL : ∀ m, CL m = IntermediateField.adjoin F
(((Polynomial.X : Polynomial F) ^ (p ^ m) - Polynomial.X).rootSet (AlgebraicClosure F)))
(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)
(hPicU : ∀ M : IntermediateField F (AlgebraicClosure F), FiniteDimensional F M → M ≤ KU →
∀ [IsDedekindDomain (integralClosure (FunctionField.ringOfIntegers Fq F) M)]
[IsFractionRing (integralClosure (FunctionField.ringOfIntegers Fq F) M) M]
(D : IsDedekindDomain.HeightOneSpectrum (integralClosure (FunctionField.ringOfIntegers Fq F) M) → ℤ),
(Function.support D).Finite →
∃ m : ℕ, 0 < m ∧ ∃ a : ↥(M ⊔ CL m), a ≠ 0 ∧
∀ [IsDedekindDomain (integralClosure (FunctionField.ringOfIntegers Fq F) ↥(M ⊔ CL m))]
[IsFractionRing (integralClosure (FunctionField.ringOfIntegers Fq F) ↥(M ⊔ CL m))
↥(M ⊔ CL m)]
(w : IsDedekindDomain.HeightOneSpectrum (integralClosure (FunctionField.ringOfIntegers Fq F)
↥(M ⊔ CL m)))
(v : IsDedekindDomain.HeightOneSpectrum (integralClosure (FunctionField.ringOfIntegers Fq F) M)),
(∀ x : integralClosure (FunctionField.ringOfIntegers Fq F) M, x ∈ v.asIdeal ↔
∃ y ∈ w.asIdeal, ((y : ↥(M ⊔ CL m)) :
AlgebraicClosure F) = ((x : M) : AlgebraicClosure F)) →
(l : ℤ) ∣ D v + WithZero.log (w.valuation ↥(M ⊔ CL m) a))
(hPic : ∀ M : IntermediateField F (AlgebraicClosure F), FiniteDimensional F M → M ≤ KU →
∀ [IsDedekindDomain (integralClosure (integralClosure (RatFunc.inftyValuation Fq).valuationSubring F) M)]
[IsFractionRing (integralClosure (integralClosure (RatFunc.inftyValuation Fq).valuationSubring F) M) M]
(r : ℕ),
(∀ w : IsDedekindDomain.HeightOneSpectrum
(integralClosure (integralClosure (RatFunc.inftyValuation Fq).valuationSubring F) M),
Nat.card (integralClosure (integralClosure (RatFunc.inftyValuation Fq).valuationSubring F) M ⧸
w.asIdeal) = r) →
∀ D : IsDedekindDomain.HeightOneSpectrum
(integralClosure (integralClosure (RatFunc.inftyValuation Fq).valuationSubring F) M) → ℤ,
(Function.support D).Finite → ∑ᶠ w, D w = 0 →
∃ m : ℕ, 0 < m ∧ ∃ a : ↥(M ⊔ CL m), a ≠ 0 ∧
(∀ [IsDedekindDomain (integralClosure (FunctionField.ringOfIntegers Fq F)
↥(M ⊔ CL m))]
[IsFractionRing (integralClosure (FunctionField.ringOfIntegers Fq F) ↥(M ⊔ CL m))
↥(M ⊔ CL m)]
(y : IsDedekindDomain.HeightOneSpectrum (integralClosure (FunctionField.ringOfIntegers Fq F)
↥(M ⊔ CL m))),
((l ^ n : ℕ) : ℤ) ∣ WithZero.log (y.valuation ↥(M ⊔ CL m) a)) ∧
∀ [IsDedekindDomain (integralClosure (integralClosure (RatFunc.inftyValuation Fq).valuationSubring F)
↥(M ⊔ CL m))]
[IsFractionRing (integralClosure (integralClosure (RatFunc.inftyValuation Fq).valuationSubring F)
↥(M ⊔ CL m))
↥(M ⊔ CL m)]
(w : IsDedekindDomain.HeightOneSpectrum
(integralClosure (integralClosure (RatFunc.inftyValuation Fq).valuationSubring F)
↥(M ⊔ CL m)))
(v : IsDedekindDomain.HeightOneSpectrum
(integralClosure (integralClosure (RatFunc.inftyValuation Fq).valuationSubring F) M)),
(∀ x : integralClosure (integralClosure (RatFunc.inftyValuation Fq).valuationSubring F) M,
x ∈ v.asIdeal ↔ ∃ y ∈ w.asIdeal, ((y : ↥(M ⊔ CL m)) :
AlgebraicClosure F) = ((x : M) : AlgebraicClosure F)) →
((l ^ n : ℕ) : ℤ) ∣ D v + WithZero.log (w.valuation ↥(M ⊔ CL m) a))
(Γ : Subgroup (KU ≃ₐ[F] KU))
(hΓ : ∀ g : KU ≃ₐ[F] KU, g ∈ Γ ↔
∀ x : KU, (∃ k : ℕ, 0 < k ∧ x ^ (Fintype.card Fq) ^ k = x) → g x = x)
(S : Type) [Fintype S] [DecidableEq S] [Nonempty S]
(P : S → Ideal (integralClosure (integralClosure (RatFunc.inftyValuation Fq).valuationSubring F) KU))
(hP : ∀ s, (P s).IsPrime ∧ P s ≠ ⊥)
(hcover : ∀ 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))
(hdisj : ∀ 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')
(I : S → Subgroup (KU ≃ₐ[F] KU))
(hI : ∀ 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)
(Λ : Type) [CommRing Λ] [Finite Λ] (hΛ : ((l ^ n : ℕ) : Λ) = 0)
(σ : Representation Λ (KU ≃ₐ[F] KU) Λ) (hσ : IsOpen (σ.ker : Set (KU ≃ₐ[F] KU)))
(htriv : ∀ g ∈ Γ, ∀ x : Λ, σ g x = x) :
∃ t : S → Γ, (∀ s, (t s : KU ≃ₐ[F] KU) ∈ I s) ∧
(∀ c d : Γ → Λ, (IsLocallyConstant c ∧ ∀ g h, c (g * h) = c g + c h) →
(IsLocallyConstant d ∧ ∀ g h, d (g * h) = d g + d h) →
∃ u : Γ → Λ, IsLocallyConstant u ∧ ∀ g h, c g * d h = u h - u (g * h) + u g) ∧
∃ pair : (Γ → Λ) × (S → Λ) → (Γ → Λ) → Λ,
(∀ (x : (Γ → Λ) × (S → Λ)) (d u : Γ → Λ),
(IsLocallyConstant x.1 ∧ (∀ g h, x.1 (g * h) = x.1 g + x.1 h) ∧
∀ s (g : Γ), (g : KU ≃ₐ[F] KU) ∈ I s → x.1 g = 0) →
(IsLocallyConstant d ∧ ∀ g h, d (g * h) = d g + d h) →
(IsLocallyConstant u ∧ ∀ g h, x.1 g * d h = u h - u (g * h) + u g) →
pair x d = ∑ s, (x.2 s * d (t s) - u (t s))) ∧
(∀ x : (Γ → Λ) × (S → Λ),
(IsLocallyConstant x.1 ∧ (∀ g h, x.1 (g * h) = x.1 g + x.1 h) ∧
∀ s (g : Γ), (g : KU ≃ₐ[F] KU) ∈ I s → x.1 g = 0) →
(∀ d : Γ → Λ, (IsLocallyConstant d ∧ ∀ g h, d (g * h) = d g + d h) → pair x d = 0) →
x.1 = 0 ∧ ∃ a : Λ, ∀ s, x.2 s = a) ∧
(∀ d : Γ → Λ, (IsLocallyConstant d ∧ ∀ g h, d (g * h) = d g + d h) →
(∀ x : (Γ → Λ) × (S → Λ),
(IsLocallyConstant x.1 ∧ (∀ g h, x.1 (g * h) = x.1 g + x.1 h) ∧
∀ s (g : Γ), (g : KU ≃ₐ[F] KU) ∈ I s → x.1 g = 0) → pair x d = 0) →
d = 0) ∧
(∀ f : (Γ → Λ) → Λ,
(∀ d d' : Γ → Λ, (IsLocallyConstant d ∧ ∀ g h, d (g * h) = d g + d h) →
(IsLocallyConstant d' ∧ ∀ g h, d' (g * h) = d' g + d' h) → f (d + d') = f d + f d') →
(∀ (a : Λ) (d : Γ → Λ), (IsLocallyConstant d ∧ ∀ g h, d (g * h) = d g + d h) →
f (a • d) = a * f d) →
∃ x : (Γ → Λ) × (S → Λ),
(IsLocallyConstant x.1 ∧ (∀ g h, x.1 (g * h) = x.1 g + x.1 h) ∧
∀ s (g : Γ), (g : KU ≃ₐ[F] KU) ∈ I s → x.1 g = 0) ∧
∀ d : Γ → Λ, (IsLocallyConstant d ∧ ∀ g h, d (g * h) = d g + d h) → pair x d = f d) ∧
(∀ f : (Γ → Λ) × (S → Λ) → Λ,
(∀ x y : (Γ → Λ) × (S → Λ),
(IsLocallyConstant x.1 ∧ (∀ g h, x.1 (g * h) = x.1 g + x.1 h) ∧
∀ s (g : Γ), (g : KU ≃ₐ[F] KU) ∈ I s → x.1 g = 0) →
(IsLocallyConstant y.1 ∧ (∀ g h, y.1 (g * h) = y.1 g + y.1 h) ∧
∀ s (g : Γ), (g : KU ≃ₐ[F] KU) ∈ I s → y.1 g = 0) → f (x + y) = f x + f y) →
(∀ (a : Λ) (x : (Γ → Λ) × (S → Λ)),
(IsLocallyConstant x.1 ∧ (∀ g h, x.1 (g * h) = x.1 g + x.1 h) ∧
∀ s (g : Γ), (g : KU ≃ₐ[F] KU) ∈ I s → x.1 g = 0) → f (a • x) = a * f x) →
(∀ a : Λ, f (0, fun _ => a) = 0) →
∃ d : Γ → Λ, (IsLocallyConstant d ∧ ∀ g h, d (g * h) = d g + d h) ∧
∀ x : (Γ → Λ) × (S → Λ),
(IsLocallyConstant x.1 ∧ (∀ g h, x.1 (g * h) = x.1 g + x.1 h) ∧
∀ s (g : Γ), (g : KU ≃ₐ[F] KU) ∈ I s → x.1 g = 0) → pair x d = f x) ∧
∀ φ : KU ≃ₐ[F] KU, (∀ x : KU, (∃ k : ℕ, 0 < k ∧ x ^ (Fintype.card Fq) ^ k = x) →
φ x = x ^ Fintype.card Fq) →
∃ τ : S → S, ∃ η : S → Γ,
(∀ s (b : integralClosure (integralClosure (RatFunc.inftyValuation Fq).valuationSubring F) KU), (∃ c ∈ P s, (b : KU) = φ (c : KU)) ↔
∃ c ∈ P (τ s), (b : KU) = (η s : KU ≃ₐ[F] KU) (c : KU)) ∧
∀ (x : (Γ → Λ) × (S → Λ)) (d c' d' : Γ → Λ),
(IsLocallyConstant x.1 ∧ (∀ g h, x.1 (g * h) = x.1 g + x.1 h) ∧
∀ s (g : Γ), (g : KU ≃ₐ[F] KU) ∈ I s → x.1 g = 0) →
(IsLocallyConstant d ∧ ∀ g h, d (g * h) = d g + d h) →
(∀ g g' : Γ, (g' : KU ≃ₐ[F] KU) = φ * g * φ⁻¹ → c' g = x.1 g' ∧ d' g = σ φ⁻¹ (d g')) →
(IsLocallyConstant c' ∧ (∀ g h, c' (g * h) = c' g + c' h) ∧
∀ s (g : Γ), (g : KU ≃ₐ[F] KU) ∈ I s → c' g = 0) ∧
(IsLocallyConstant d' ∧ ∀ g h, d' (g * h) = d' g + d' h) ∧
pair (c', fun s => x.2 (τ s) - x.1 (η s)) d' =
((Fintype.card Fq : Λ) * σ φ⁻¹ 1) * pair x d := by sorry