Riemann hypothesis: the Lean proof, cleaned up together
The 2026 Lean proof of the Riemann hypothesis and GRH, machine-checked by others, not refereed, no word from Clay; cleaned up together: more readable, faster to build, the theorems unchanged

| 1 | module |
| 2 | |
| 3 | public import Mathlib.AlgebraicGeometry.Morphisms.Proper |
| 4 | public import Mathlib.AlgebraicGeometry.Morphisms.Smooth |
| 5 | public import Lib.GaloisRep.Main.LocalConditions |
| 6 | public import Lib.Cohomology.Etale.EllAdicCohomology |
| 7 | public import Lib.PadicComparison.HodgeTate.Map |
| 8 | public import Lib.PadicComparison.Primitive.PeriodCoefficients |
| 9 | import Lib.General.Geometry.PointsOfProperSchemes |
| 10 | import Lib.PadicComparison.Descent.TestCovers |
| 11 | import Lib.PadicComparison.HodgeTate.GaloisWeight |
| 12 | import Lib.PadicComparison.Primitive.ComparisonTheorem |
| 13 | import Lib.PadicComparison.Primitive.Periods |
| 14 | |
| 15 | /-! |
| 16 | # The period map for ℓ-adic cohomology on p-adic tests, and Hodge–Tate weights |
| 17 | |
| 18 | This file compares the geometric cohomology `New.Variety.ellAdicCohom R Ω n` of an `R`-scheme `Y` |
| 19 | (`Ω` an `R`-algebra on which a group `Γ` acts by ring maps fixing the image of `R`), written |
| 20 | `V^n(Y)`, with the cohomology of the points of `Y` in `p`-adic tests. A vector has weight `h` |
| 21 | (`New.HasHodgeTateWeight`) if Galois acts on it by the `(-h)`-th power of the cyclotomic character. |
| 22 | |
| 23 | ## Main definitions and results |
| 24 | |
| 25 | * `New.Variety.toTwistAlg`: the identity of a `p`-adic test as an `R`-algebra map to its Galois |
| 26 | twist. |
| 27 | * `New.Variety.exists_period_map`: the period map is natural, Galois equivariant, and bijective for |
| 28 | proper charted `Y`. It is the pull-back along the comparison of |
| 29 | `New.Variety.exists_primitive_period_comparison`. |
| 30 | * `New.Variety.exists_hasHodgeTateWeight`: the value of the Hodge–Tate map on a Hodge class comes |
| 31 | from a vector of weight `h`, naturally in maps to `Y`. |
| 32 | |
| 33 | Notions from other files: |
| 34 | * `New.Variety.PadicTest`: A p-adic test c: a non-empty family of cells, whose product is the ring |
| 35 | `c.ProdRing`, with a ring map from O_C, the integers of ℂ_p, to that product. |
| 36 | * `New.Variety.PadicTest.twist`: For g in G_p, the endofunctor of p-adic tests that keeps the ring |
| 37 | and precomposes its structure map O_C → c.ProdRing with the action of g. |
| 38 | |
| 39 | ## Relation to the literature |
| 40 | |
| 41 | Known result: The primitive comparison theorem and the period isomorphism. Here coefficients are |
| 42 | constant, schemes are proper and charted (`New.Variety.IsCharted`), cohomology is taken on test |
| 43 | rings, and the maximal ideal is put into the coefficients. The result is deduced from the duality |
| 44 | comparison on products of projective lines, without almost finiteness. Source: P. Scholze, p-adic |
| 45 | Hodge theory for rigid-analytic varieties, Forum Math. Pi 1 (2013), Thm 1.3 and 5.1; for the method, |
| 46 | B. Zavyalov, Poincaré duality in abstract 6-functor formalisms, arXiv 2301.03821, Thm 3.3.3 and |
| 47 | Appl. 1.3.4; Li–Reinecke–Zavyalov, arXiv 2410.08200, §6.4. |
| 48 | |
| 49 | Known result: The Hodge–Tate map from Hodge cohomology to p-adic étale cohomology. The target here |
| 50 | is cohomology on test rings, which is not identified with étale cohomology. Only the natural |
| 51 | multiplicative map into the part of weight h is built, from the torsor of lifts modulo the square of |
| 52 | the kernel of Fontaine's map, and bijectivity is not proved. Source: Scholze, p-adic Hodge theory |
| 53 | for rigid-analytic varieties, Forum Math. Pi 1 (2013), Cor. 1.8; the construction follows Bhatt, The |
| 54 | Hodge–Tate decomposition via perfectoid spaces, Arizona Winter School 2017, §3.4. |
| 55 | -/ |
| 56 | |
| 57 | @[expose] public section |
| 58 | |
| 59 | /-! |
| 60 | ## The period map on p-adic tests |
| 61 | |
| 62 | The period map compares the geometric `p`-adic cohomology `New.Variety.ellAdicCohom R Ω n` of an |
| 63 | `R`-scheme `Y`, extended to a period ring `K`, with the cohomology of the points of `Y` in `p`-adic |
| 64 | tests (`New.Variety.PadicTest`, `New.Variety.testPoints`) with coefficients `Ψ`. Here `θ` identifies |
| 65 | `Ψ c` with `K ⊗_S (S ⊗_{A_inf} W(c^♭))^`, the hat denoting `p`-adic completion, for an |
| 66 | `A_inf`-algebra `S`. |
| 67 | -/ |
| 68 | |
| 69 | namespace New.Variety |
| 70 | |
| 71 | open CategoryTheory TensorProduct Function AlgebraicGeometry Functor AlgebraTensorModule Period |
| 72 | Comparison PadicTest ModuleCat.Algebra Module |
| 73 | |
| 74 | variable {p : ℕ} [ThePrime p] {R : CommRingCat} [Algebra R OC] [Algebra R Ω] |
| 75 | {e : Ω →+* PadicAlgCl p} (he : ∀ r : R, e (algebraMap R Ω r) = (algebraMap R OC r : ℂ_[p])) |
| 76 | {S : Type} [CommRing S] [Algebra Ainf S] |
| 77 | (K : Type) [CommRing K] [Algebra S K] [Algebra ℚ_[p] K] [Algebra ℤ_[p] K] |
| 78 | [IsScalarTower ℤ_[p] ℚ_[p] K] {Ψ : PadicTest ⥤ ModuleCat K} |
| 79 | (θ : asModules (tilt ⋙ periodAlg S) ⋙ tensorWith K K ≅ Ψ) (n : ℕ) |
| 80 | {Γ : Type*} [Group Γ] [MulSemiringAction Γ Ω] [SMulCommClass Γ R Ω] |
| 81 | {j : Γ → Gp p} (hj : ∀ (g : Γ) (x : Ω), j g (e x) = e (g • x)) |
| 82 | |
| 83 | /-- The identity of a test is a map of `R`-algebras to its twist by `j g`. Here |
| 84 | `algFunctor ⋙ restrictAlg R OC` sends a test `c` to the ring `c.ProdRing`, made an `R`-algebra |
| 85 | through `R → O_C`. -/ |
| 86 | noncomputable def toTwistAlg (g : Γ) : |
| 87 | algFunctor ⋙ restrictAlg R OC ⟶ PadicTest.twist (j g) ⋙ algFunctor ⋙ restrictAlg R OC where |
| 88 | -- `g` fixes the image of `R` in `Ω`, so `j g` fixes its image in `OC`. |
| 89 | app c := CommAlg.homOfRingHom (RingHom.id ((algFunctor ⋙ restrictAlg R OC).obj c)) fun z ↦ |
| 90 | congrArg c.structureMap (Subtype.ext (by simp [← he, hj])) |
| 91 | |
| 92 | /-- A point of `Y` in a test is a point of `Y` in the twist of the test by `j g`. -/ |
| 93 | noncomputable def toTwistPoints (g : Γ) (Y : Over (Spec R)) : |
| 94 | testPoints.obj Y ⟶ PadicTest.twist (j g) ⋙ testPoints.obj Y := |
| 95 | whiskerRight (toTwistAlg he hj g) (algPointsOf R R Y) |
| 96 | |
| 97 | /-- `ℚ_p` is a localization of `ℤ_p`, so the two scalar actions on `K ⊗ M` agree. -/ |
| 98 | instance (M : ModuleCat ℚ_[p]) : CompatibleSMul ℤ_[p] ℚ_[p] K M := |
| 99 | IsLocalization.tensorProduct_compatibleSMul (nonZeroDivisors _) .. |
| 100 | |
| 101 | section |
| 102 | |
| 103 | variable {K n} |
| 104 | |
| 105 | /-- The element `θ (a ⊗ 1 ⊗ w)` of `Ψ c`, for `a` in `K` and a Witt vector `w` over the tilt of |
| 106 | the test `c`. -/ |
| 107 | noncomputable abbrev periodTmul (c : PadicTest) (a : K) (w : WittVector p c.TiltRing) : Ψ.obj c := |
| 108 | θ.hom.app c (a ⊗ₜ AdicCompletion.of _ _ (1 ⊗ₜ w)) |
| 109 | |
| 110 | /-- The map of coefficients `β`, from the twist of `Ψ` by `g` to `Ψ`, acts as `σ` on the elements |
| 111 | `θ (a ⊗ 1 ⊗ w)`, where `w` is a Witt vector whose coordinates are fixed by Frobenius. |
| 112 | `moduleCoeff Ψ` is `Ψ` with values lifted by `ULift`, and `⟨_⟩` wraps an element of `Ψ c`. -/ |
| 113 | def ActsAsOnFrobeniusFixed (g : Gp p) (β : PadicTest.twist g ⋙ moduleCoeff Ψ ⟶ moduleCoeff Ψ) |
| 114 | (σ : K → K) : Prop := |
| 115 | ∀ (c : PadicTest) (a : K) (w : WittVector p c.TiltRing), (∀ i : ℕ, w.coeff i ^ p = w.coeff i) → |
| 116 | β.app c ⟨periodTmul θ ((PadicTest.twist g).obj c) a w⟩ = ⟨periodTmul θ c (σ a) w⟩ |
| 117 | |
| 118 | /-- A `p`-adic period map: `K`-linear maps `J Y` from `K ⊗ V^n(Y)` to `H^n` of the points of `Y` |
| 119 | in tests, with coefficients `Ψ`, that are natural, Galois equivariant and bijective on proper |
| 120 | charted `Y`. Here `V^n(Y)` is the geometric `p`-adic cohomology `ellAdicCohom R Ω n` of `Y`. -/ |
| 121 | structure IsPadicPeriodMap |
| 122 | (J : ∀ Y : Over (Spec R), K ⊗[ℤ_[p]] (ellAdicCohom R Ω n).obj ⟨Y⟩ →ₗ[K] |
| 123 | H (freeAb.obj (testPoints.obj Y)) (moduleCoeff Ψ) n) : Prop where |
| 124 | /-- `J` commutes with the pull-back along `f : W ⟶ Y`. -/ |
| 125 | natural (W Y : Over (Spec R)) (f : W ⟶ Y) (x : K ⊗[ℤ_[p]] (ellAdicCohom R Ω n).obj ⟨Y⟩) : |
| 126 | J W ((((ellAdicCohom R Ω n).map f.op).hom.restrictScalars ℤ_[p]).baseChange K x) = |
| 127 | H.map (moduleCoeff Ψ) (freeAb.map (testPoints.map f)) n (J Y x) |
| 128 | /-- `J` carries `σ ⊗ g` to the pull-back along `β` and the twist by `j g`, if `β` acts as `σ`. -/ |
| 129 | equivariant (Y : Over (Spec R)) (g : Γ) (σ : K →ₗ[ℤ_[p]] K) |
| 130 | (β : PadicTest.twist (j g) ⋙ moduleCoeff Ψ ⟶ moduleCoeff Ψ) |
| 131 | (hβ : ActsAsOnFrobeniusFixed θ (j g) β σ) (x : K ⊗[ℤ_[p]] (ellAdicCohom R Ω n).obj ⟨Y⟩) : |
| 132 | J Y (TensorProduct.map σ |
| 133 | ((ellAdicCohom.galoisAction R Ω Γ Y n g).restrictScalars ℤ_[p]) x) = |
| 134 | (Comparison.of (PadicTest.twist (j g)) β).pull (freeAbMap (toTwistPoints he hj g Y)) n |
| 135 | (J Y x) |
| 136 | /-- `J Y` is bijective if `Y` is proper and charted over `Ω`. -/ |
| 137 | bijective (Y : Over (Spec R)) [IsCharted Y Ω] [IsProper Y.hom] : Bijective (J Y) |
| 138 | |
| 139 | end |
| 140 | |
| 141 | omit [Algebra ℚ_[p] K] [IsScalarTower ℤ_[p] ℚ_[p] K] in |
| 142 | /-- Let `γ` send `a ⊗ x` to `θ (a ⊗ 1 ⊗ w)`, where `w` is the Witt vector over the tilt obtained |
| 143 | from `x`, and let `β` act as `σ` on the elements `θ (a ⊗ 1 ⊗ w)` with `w` fixed by Frobenius |
| 144 | (`ActsAsOnFrobeniusFixed`). Then the comparison `x ↦ γ (σ a ⊗ x)` is the comparison |
| 145 | `x ↦ γ (a ⊗ x)` followed by `β`, since Witt vectors of locally constant `𝔽_p`-valued functions are |
| 146 | fixed by Frobenius. -/ |
| 147 | private lemma coeffHom_eq_coeffHom_trans_of_actsAsOnFrobeniusFixed |
| 148 | (γ : genericTest ⋙ asModules (wittLocConst p) ⋙ tensorWith K K ⟶ Ψ) |
| 149 | (hγ : ∀ (c : PadicTest) (a : K) (x : (wittLocConst p).obj (genericTest.obj c)), |
| 150 | γ.app c (a ⊗ₜ x) = |
| 151 | θ.hom.app c (a ⊗ₜ wittToPeriodAlg S (tilt.obj c) |
| 152 | (WittVector.map (locConstToTilt.app c).hom.toRingHom x))) |
| 153 | {g : Gp p} {σ : K →ₗ[ℤ_[p]] K} {β : PadicTest.twist g ⋙ moduleCoeff Ψ ⟶ moduleCoeff Ψ} |
| 154 | (hβ : ActsAsOnFrobeniusFixed θ g β σ) (a : K) : |
| 155 | -- `cmp b` is the comparison `x ↦ γ (b ⊗ x)` |
| 156 | let cmp (b : K) : Comparison ellAdicCoeff (moduleCoeff Ψ) := |
| 157 | ⟨genericTest, whiskerLeft genericTest (tensorWith.mk K b _) ≫ coeffMap γ⟩ |
| 158 | (cmp (σ a)).coeffHom = ((cmp a).trans (Comparison.of (PadicTest.twist g) β)).coeffHom := by |
| 159 | intro cmp |
| 160 | ext c ⟨w⟩ |
| 161 | let w' : WittVector p c.TiltRing := WittVector.map (locConstToTilt.app c).hom.toRingHom w |
| 162 | have h_frob (i : ℕ) : w'.coeff i ^ p = w'.coeff i := |
| 163 | (map_pow ..).symm.trans (congrArg _ (LocallyConstant.ext fun _ ↦ ZMod.pow_card _)) |
| 164 | have h_acts : β.app c ⟨periodTmul θ ((PadicTest.twist g).obj c) a w'⟩ = |
| 165 | ⟨periodTmul θ c (σ a) w'⟩ := hβ c a w' h_frob |
| 166 | -- both sides are `θ (σ a ⊗ 1 ⊗ w')`: the left one by `hγ`, the right one by `hγ` and `hβ` |
| 167 | have h_lhs : (cmp (σ a)).coeffHom.app c ⟨w⟩ = ⟨periodTmul θ c (σ a) w'⟩ := |
| 168 | congrArg ULift.up (hγ c (σ a) w) |
| 169 | have h_rhs : ((cmp a).trans (Comparison.of (PadicTest.twist g) β)).coeffHom.app c ⟨w⟩ = |
| 170 | β.app c ⟨periodTmul θ ((PadicTest.twist g).obj c) a w'⟩ := |
| 171 | congrArg (β.app c) (congrArg ULift.up (hγ (PadicTest.twist g c) a w)) |
| 172 | exact h_lhs.trans (h_rhs.trans h_acts).symm |
| 173 | |
| 174 | /-- Let `(S, K)` be a period ring pair (`New.Variety.IsPeriodRingPair`: `S` is a `p`-torsion-free, |
| 175 | `p`-adically complete `A_inf`-algebra in which `p` divides `ξ`, and `τ` is a unit in `K`), with `K` |
| 176 | flat over `S`. Let `Ψ` be a functor from `p`-adic tests `B` to `K`-modules, identified by `θ` with |
| 177 | `K ⊗_S (p-adic completion of S ⊗_{A_inf} W(B^♭))`. Let `e : Ω →+* ℚ̄_p` agree with `R → O_C` on `R`, |
| 178 | and let `j : Γ → G_p` satisfy `j g (e x) = e (g • x)`. Then there are `K`-linear maps `J Y` from |
| 179 | `K ⊗ V^n(Y)` to `H^n` of `ℤ[Y(B)]` (the `R`-points of `Y` in tests), with coefficients `Ψ`, that |
| 180 | form a `p`-adic period map (`IsPadicPeriodMap`): natural in `Y`, Galois equivariant, and bijective |
| 181 | for proper charted `Y`. -/ |
| 182 | lemma exists_period_map [Algebra ℤ_[p] S] [IsScalarTower ℤ_[p] Ainf S] [IsScalarTower ℤ_[p] S K] |
| 183 | [Flat S K] (hS : IsPeriodRingPair p S K) : |
| 184 | ∃ J : ∀ Y : Over (Spec R), K ⊗[ℤ_[p]] (ellAdicCohom R Ω n).obj ⟨Y⟩ →ₗ[K] |
| 185 | H (freeAb.obj (testPoints.obj Y)) (moduleCoeff Ψ) n, IsPadicPeriodMap he θ hj J := by |
| 186 | -- `J` is the composite of `K ⊗ V^n(Y) = K ⊗ H^n(Y_Ω, ℤ_p)`, the map `baseChangeMap` that moves |
| 187 | -- `K` into the coefficients, and the pull-back along the primitive comparison `γ`. |
| 188 | let E (Y : Over (Spec R)) := |
| 189 | equivOfCompatibleSMul ℚ_[p] ℤ_[p] K K (ellAdicCohom R Ω n ⟨Y⟩) ≪≫ₗ cancelBaseChange .. |
| 190 | -- `γ : K ⊗ W(LC(Spec c[1/p], 𝔽_p)) → Ψ c` sends `a ⊗ w` to `θ (a ⊗ 1 ⊗ w)` (`hγ`); it is |
| 191 | -- bijective on cohomology as soon as `primitiveMap` is modulo `p`, given flat base change |
| 192 | -- and finiteness (`hγ_bij`). |
| 193 | obtain ⟨γ, hγ, hγ_bij⟩ := exists_primitive_period_comparison K θ hS |
| 194 | algebraize [(algebraMap _ ℂ_[p]).comp e] |
| 195 | let α (Y : Over (Spec R)) : |
| 196 | freeAb (testPoints Y) ⟶ genericTest ⋙ freeAb (testIncl ⋙ geomPoints R Ω Y) := |
| 197 | freeAbMap (toGenericPoints Ω he Y ≫ whiskerLeft _ (whiskerLeft _ (algToBaseChange Ω Y))) |
| 198 | let J (Y : Over (Spec R)) : K ⊗[ℤ_[p]] (ellAdicCohom R Ω n).obj ⟨Y⟩ →ₗ[K] |
| 199 | H (freeAb.obj (testPoints.obj Y)) (moduleCoeff Ψ) n := |
| 200 | pullₗ γ (α Y) n ∘ₗ |
| 201 | baseChangeMap K K (freeAb.obj (testIncl ⋙ (geomPoints R Ω).obj Y)) |
| 202 | (asModules (wittLocConst p)) n ∘ₗ (E Y).toLinearMap |
| 203 | -- On `a ⊗ x` the map `J` is the pull-back of `x` along the comparison `w ↦ γ (a ⊗ w)`. |
| 204 | let cmp (a : K) : Comparison ellAdicCoeff (moduleCoeff Ψ) := |
| 205 | ⟨genericTest, whiskerLeft _ (tensorWith.mk K a _) ≫ coeffMap γ⟩ |
| 206 | have J_tmul (Y : Over (Spec R)) (a : K) |
| 207 | (x : H (freeAb (testIncl ⋙ geomPoints R Ω Y)) ellAdicCoeff n) : |
| 208 | J Y ((E Y).symm (a ⊗ₜ x)) = (cmp a).pull (α Y) n x := by |
| 209 | -- `baseChangeMap` sends `a ⊗ x` to the push-forward of `x` along `w ↦ a ⊗ w`; pulling back |
| 210 | -- along `γ` after that push-forward is pulling back along the composite `cmp a`. |
| 211 | simp only [J, LinearMap.comp_apply, LinearEquiv.coe_coe, LinearEquiv.apply_symm_apply] |
| 212 | exact (pull_push ⟨_, _⟩ (h := rfl) ..).trans (Abelian.Ext.comp_mk₀_id _) |
| 213 | -- Additive maps out of the source of `J Y` agree if they agree on transported pure tensors. |
| 214 | have ext_tmul (Y : Over (Spec R)) {M : Type _} [AddCommMonoid M] |
| 215 | (f g : K ⊗[ℤ_[p]] (ellAdicCohom R Ω n).obj ⟨Y⟩ →+ M) |
| 216 | (h : ∀ a x, f ((E Y).symm (a ⊗ₜ x)) = g ((E Y).symm (a ⊗ₜ x))) (z) : f z = g z := by |
| 217 | obtain ⟨z, rfl⟩ := (E Y).symm.surjective z |
| 218 | induction z with |
| 219 | | tmul a x => exact h a x |
| 220 | | add x y hx hy => rw [LinearEquiv.map_add, f.map_add, g.map_add, hx, hy] |
| 221 | refine ⟨J, fun W Y f x ↦ ?_, fun Y g σ β hβ x ↦ ?_, fun Y _ _ ↦ ?_⟩ |
| 222 | · -- Naturality in `Y`, checked on pure tensors. |
| 223 | refine ext_tmul Y ((J W).toAddMonoidHom.comp |
| 224 | ((((ellAdicCohom R Ω n).map f.op).hom.restrictScalars ℤ_[p]).baseChange K).toAddMonoidHom) |
| 225 | ((H.map _ _ n).comp (J Y).toAddMonoidHom) (fun a x ↦ ?_) x |
| 226 | simp only [AddMonoidHom.comp_apply, LinearMap.toAddMonoidHom_coe, J_tmul] |
| 227 | refine (J_tmul W a (x.map _ _ n)).trans (map_pull_eq_pull_map ?_ n x).symm |
| 228 | exact freeAb.hom_ext fun _ _ ↦ by rfl |
| 229 | · -- Equivariance, checked on pure tensors. |
| 230 | refine ext_tmul Y ((J Y).toAddMonoidHom.comp (TensorProduct.map σ |
| 231 | ((ellAdicCohom.galoisAction R Ω Γ Y n g).restrictScalars ℤ_[p])).toAddMonoidHom) |
| 232 | (((Comparison.of (PadicTest.twist (j g)) β).pull _ n).comp (J Y).toAddMonoidHom) |
| 233 | (fun a x ↦ ?_) x |
| 234 | simp only [AddMonoidHom.comp_apply, LinearMap.toAddMonoidHom_coe] |
| 235 | refine (J_tmul Y (σ a) (x.map _ _ n)).trans ?_ |
| 236 | rw [J_tmul, pull_trans] |
| 237 | -- Two steps. The two pull-backs are along the same comparison by `hβ`: Witt vectors of |
| 238 | -- locally constant `𝔽_p`-valued functions are fixed by Frobenius. |
| 239 | refine (congrArg (fun φ ↦ Comparison.pull ⟨_, φ⟩ _ n _) |
| 240 | (coeffHom_eq_coeffHom_trans_of_actsAsOnFrobeniusFixed K θ γ hγ hβ a)).trans ?_ |
| 241 | -- And they are along the same map of points, as `e` is equivariant. |
| 242 | refine (map_pull_eq_pull_map (a' := 𝟙 _) ((Category.id_comp _).trans (.symm ?_)) n |
| 243 | x).symm.trans (H.map_id ..) |
| 244 | refine freeAb.hom_ext fun c y ↦ |
| 245 | congrArg FreeAddCommGroup.of (baseChangeOf.ext (congrArg ULift.up ?_) fun z ↦ ?_) |
| 246 | · apply Spec.map_comp_assoc (𝟙 _) (CommRingCat.ofHom (algebraMap c.ProdRing c.GenericRing)) |
| 247 | · -- `genericStructureMap_twist` matches the structure map of the twisted test only up to |
| 248 | -- instances |
| 249 | exact .symm ((c.genericStructureMap_twist (j g) _).trans (congrArg c.genericStructureMap |
| 250 | ((UniformSpace.Completion.algEquiv_smul_coe ..).trans (congrArg _ (hj ..))))) |
| 251 | · -- For `Y` proper and charted each of the three factors is bijective: `E Y` as a linear |
| 252 | -- equivalence, `baseChangeMap` by flat base change, the pull-back by |
| 253 | -- `finite_and_primitive_comparison`. The acyclicity hypothesis of the latter is almost descent, |
| 254 | -- which applies since `p ∣ ξ` in `S`. |
| 255 | obtain ⟨h_geo, -, h_prim⟩ := |
| 256 | finite_and_primitive_comparison Ω (isAcyclicOnPerfect_almostCoeff hS.pFlat_smul_eq_zero) Y |
| 257 | have h_pts : HasFlatBaseChange (freeAb (testPoints Y)) := by |
| 258 | apply (isAffinelyCovered_algPointsOf (ι := algFunctor) (fun c ↦ c.isTest.isComparableRing) |
| 259 | Y).hasFlatBaseChange |
| 260 | exact (hγ_bij h_geo h_pts finite_padic_cohomology (h_prim he) n).comp |
| 261 | ((h_geo ..).comp (E Y).bijective) |
| 262 | |
| 263 | end New.Variety |
| 264 | |
| 265 | /-! ## Hodge–Tate weights of values of the Hodge–Tate map -/ |
| 266 | |
| 267 | section HodgeTateVectors |
| 268 | |
| 269 | open CategoryTheory AlgebraicGeometry New Period IsScalarTower Variety PadicTest freeAb H |
| 270 | PairRestrictBijective ModuleCat.Algebra |
| 271 | open scoped TensorProduct |
| 272 | |
| 273 | /-- Let `Y`, `W` be proper over `R`, with `Y` smooth of relative dimension `d` and charted over `Ω`. |
| 274 | Let `E` be a field between `R` and `Ω` that is mapped to `k ⊆ ℚ̄_p`, and `A` a subring of `Ω` |
| 275 | containing the image of `R`. Let `e : Ω → ℚ̄_p` be a `p`-adic place embedding for `A` over `E` |
| 276 | (`New.GaloisRep.PadicPlaceEmbedding`) agreeing with `E → k → ℚ̄_p` on `E`, and `ε` a section of |
| 277 | `k → ℚ̄_p`. Take any `h` and a Hodge class `x` of degree `q` of `Y` over `E` (in Ext^q from |
| 278 | `(S, M) ↦ ℤ[Y(S ⊕ M)]` to `(S, M) ↦ ⋀_S M`). Then there are a vector `v` of `ℂ_p ⊗ V^(q+h)(Y)` and |
| 279 | an `ε`-semilinear map `Θ` from `ℂ_p ⊗ V^(q+h)(W)` to cohomology on pairs with coefficients `S[1/p]` |
| 280 | (`PairH`) such that: (a) `v` has Hodge–Tate weight `h` for the decomposition group of `A` in |
| 281 | `Gal(Ω/E)`; (b) `hodgeTateMap h (u^* x) = Θ (u^* v)` for all `u : W ⟶ Y`, where `hodgeTateMap h` |
| 282 | pulls back along `B_{S,M} → T ⊕ M` and applies the `h`-th power of the contraction class. -/ |
| 283 | lemma New.Variety.exists_hasHodgeTateWeight {p h : ℕ} {R : CommRingCat} {E k : Type} [Field k] |
| 284 | [Field E] [EmbeddedInQpBar p k] [Algebra R Ω] [Algebra R E] [Algebra E k] [Algebra E Ω] |
| 285 | [IsScalarTower R E Ω] {Y : Over (Spec R)} [IsCharted Y Ω] [IsProper Y.hom] {A : ClosurePlace} |
| 286 | [I : GaloisRep.PadicPlaceEmbedding E A p] (hR : ∀ r : R, algebraMap R Ω r ∈ A) |
| 287 | (he_compat : ∀ x : E, algebraMap k (PadicAlgCl p) (algebraMap E k x) = I.e (algebraMap E Ω x)) |
| 288 | (d : ℕ) [SmoothOfRelativeDimension d Y.hom] (ε : PadicAlgCl p →+* k) |
| 289 | (hε_section : ∀ z : PadicAlgCl p, algebraMap k (PadicAlgCl p) (ε z) = z) |
| 290 | {W : Over (Spec R)} [IsProper W.hom] {q : ℕ} |
| 291 | (x : HodgeH (freeAb.obj ((algPoints E R).obj Y)) q) : |
| 292 | ∃ v : ℂ_[p] ⊗[ℤ_[p]] (ellAdicCohom R Ω (q + h)).obj ⟨Y⟩, |
| 293 | ∃ Θ : ℂ_[p] ⊗[ℤ_[p]] (ellAdicCohom R Ω (q + h)).obj ⟨W⟩ →ₛₗ[ε] |
| 294 | PairH (restrictAlg E k ⋙ freeAb.obj (algPointsOf E R W)), |
| 295 | -- (a) `v` has Hodge–Tate weight `h` under the decomposition group of `A` |
| 296 | HasHodgeTateWeight (ellAdicCohom.galoisAction R Ω (decompGroup Gal(Ω/E) A) Y (q + h)) h v ∧ |
| 297 | -- (b) `Θ` sends the pull-back of `v` along any `u` to `hodgeTateMap h` of the pull-back of |
| 298 | -- `x` |
| 299 | ∀ u : W ⟶ Y, hodgeTateMap h (x.map (freeAb.map ((algPoints E R).map u))).baseChange = |
| 300 | Θ ((((ellAdicCohom R Ω (q + h)).map u.op).hom.restrictScalars ℤ_[p]).baseChange ℂ_[p] |
| 301 | v) := by |
| 302 | -- `hodgeTateMap h x` comes from a class `ξ` on `p`-adic tests. The period map `J` and the passage |
| 303 | -- `B` to integral points have the same target, and `J Y` is bijective; `v` is defined by |
| 304 | -- `J Y v = B Y ξ`. |
| 305 | obtain ⟨e, ⟨rfl, hj⟩, _⟩ := I |
| 306 | -- `θ` identifies the period algebra of a test `c` with `c[1/p]`, through Fontaine's map. |
| 307 | obtain ⟨θ, hθ⟩ := exists_periodAlg_iso_genericAlg |
| 308 | -- As `R` maps into the place `A`, the embedding `e` carries it into `OC`. |
| 309 | algebraize [theta.comp (algebraMap ℤ_[p] _), (algebraMap E k).comp (algebraMap R E), |
| 310 | (.codRestrict (.comp (algebraMap ..) (e.comp _)) _ (by simpa) : R →+* OC)] |
| 311 | have := IsScalarTower.of_algebraMap_eq (R := ℤ_[p]) (S := OC) (A := ℂ_[p]) fun z ↦ |
| 312 | ((OC.toPadicIntAlgHom _).commutes z).symm |
| 313 | -- `J Z'` maps `ℂ_p ⊗ V^(q+h)(Z')` to `H^(q+h)` of the points of `Z'` in tests `c`, with |
| 314 | -- coefficients `c[1/p]`; it is natural in `Z'`, Galois equivariant, and bijective for `Z'` |
| 315 | -- proper and charted. |
| 316 | obtain ⟨J, J_nat, J_twist, J_bij⟩ := |
| 317 | exists_period_map (R := R) (fun _ ↦ rfl) _ θ (q + h) hj isPeriodRingPair_OC |
| 318 | have h_compat (r : R) : algebraMap k ℂ_[p] (algebraMap R k r) = algebraMap R OC r := by |
| 319 | have h_e : algebraMap k (PadicAlgCl p) (algebraMap E k (algebraMap R E r)) = |
| 320 | e (algebraMap R Ω r) := by |
| 321 | rw [he_compat, ← algebraMap_apply R E Ω r] |
| 322 | -- `I.e` is `e`: the instance `I` was taken apart above |
| 323 | rfl |
| 324 | exact congrArg (algebraMap (PadicAlgCl p) ℂ_[p]) h_e |
| 325 | -- By the valuative criterion, points over `c[1/p]` of a proper scheme extend uniquely to `c`. |
| 326 | let B {n : ℕ} (Z' : Over (Spec R)) [IsProper Z'.hom] : |
| 327 | H (genericOver ⋙ restrictAlg E k ⋙ freeAb (algPointsOf E R Z')) genericCoeff n ≃ₗ[k] _ := |
| 328 | .ofBijective (mapₗ ..) |
| 329 | (IsCohomEquiv.of_bijective (p := toGenericPoints k h_compat Z') |
| 330 | (fun c ↦ c.bijective_generic_points) n) |
| 331 | -- `J` is `ℂ_[p]`-linear, hence semilinear along the section `ε` of `k → PadicAlgCl p`. |
| 332 | have J_semi (Z' : Over (Spec R)) (z : PadicAlgCl p) |
| 333 | (y : ℂ_[p] ⊗[ℤ_[p]] (ellAdicCohom R Ω (q + h)).obj ⟨Z'⟩) : J Z' (z • y) = ε z • J Z' y := by |
| 334 | -- `ε z` acts on the target through its image in `ℂ_[p]`, which is the image of `z` |
| 335 | have h_scalar : algebraMap k ℂ_[p] (ε z) = algebraMap (PadicAlgCl p) ℂ_[p] z := |
| 336 | congrArg (algebraMap (PadicAlgCl p) ℂ_[p]) (hε_section z) |
| 337 | change J Z' (z • y) = algebraMap k ℂ_[p] (ε z) • J Z' y |
| 338 | rw [h_scalar, ← (J Z').map_smul, _root_.algebraMap_smul] |
| 339 | -- `Y` is smooth, so covered by étale charts. |
| 340 | have h_den : PairRestrictBijective (restrictAlg E k ⋙ freeAb (algPointsOf E R Y)) := by |
| 341 | apply (hasAtlas_algPointsOf d).isChartCovered.pairRestrictBijective |
| 342 | obtain ⟨ξ, hξ⟩ : ∃ ξ : H (genericOver ⋙ restrictAlg E k ⋙ freeAb (algPointsOf E R Y)) |
| 343 | genericCoeff (q + h), hodgeTateMap h x.baseChange = restrictToPairs (n := q + h) ξ := |
| 344 | h_den.exists_hodgeTateMap_eq h _ |
| 345 | obtain ⟨v, hv⟩ := (J_bij Y).surjective (B Y ξ) |
| 346 | -- `Θ` is `J W` followed by the inverse of `B W` and by `restrictToPairs`. |
| 347 | refine ⟨v, restrictToPairs ∘ₛₗ (B W).symm.comp ⟨_, J_semi W⟩, fun g ↦ (J_bij Y).injective ?_, |
| 348 | fun u ↦ ?_⟩ |
| 349 | · -- `J` turns the action of `g` into the pull-back along the twist of tests by `toGp g`. That |
| 350 | -- pull-back commutes with `B` and multiplies `ξ` by the `h`-th power of the cyclotomic |
| 351 | -- character of `(toGp g)⁻¹` (`hodgeTateMap_galois_twist`, `restrictToPairs` being injective). |
| 352 | have h_fix (z : E) : toGp g (algebraMap k _ (algebraMap E k z)) = |
| 353 | algebraMap k _ (algebraMap E k z) := by simp [he_compat, hj] |
| 354 | calc |
| 355 | _ = (Comparison.of _ (twistGenericCoeff (toGp g))).pull |
| 356 | (freeAbMap (toTwistPoints (fun _ ↦ rfl) hj g Y)) (q + h) (J Y v) := by |
| 357 | refine J_twist Y g _ (twistGenericCoeff _) (fun c a w _ ↦ ?_) v |
| 358 | -- `hθ` and `genericStructureMap_twist` match the twisted test only up to instances |
| 359 | exact (congrArg (fun t ↦ (twistGenericCoeff (toGp g)).app c ⟨t⟩) |
| 360 | ((hθ ((PadicTest.twist (toGp g)).obj c) a w).trans |
| 361 | (congrArg (· * _) (c.genericStructureMap_twist (toGp g) a)))).trans |
| 362 | (congrArg ULift.up (hθ c _ w).symm) |
| 363 | _ = B Y (ε (algebraMap _ _ (cyclotomicGp (toGp g)⁻¹).val) ^ h • ξ) := by |
| 364 | -- `g` multiplies `ξ` by this scalar |
| 365 | have h_weight := h_den.injective_restrictToPairs |
| 366 | (hodgeTateMap_galois_twist h_fix hξ (hε_section _)) |
| 367 | rw [hv] |
| 368 | refine (Comparison.map_pull_eq_pull_map (hom_ext fun c _ ↦ ?_) ..).symm.trans |
| 369 | (congrArg (B Y) h_weight) |
| 370 | -- The twist of points is compatible with passing to `c[1/p]`: functoriality of `Spec`. |
| 371 | refine congrArg FreeAddCommGroup.of (congrArg ULift.up (Over.OverMorphism.ext ?_)) |
| 372 | exact |
| 373 | (Spec.map_comp_assoc (CommRingCat.ofHom (algebraMap c.ProdRing c.GenericRing)) (𝟙 _) |
| 374 | _).symm.trans |
| 375 | (Spec.map_comp_assoc (𝟙 _) (CommRingCat.ofHom (algebraMap c.ProdRing c.GenericRing)) _) |
| 376 | _ = J Y ((cyclotomicGp (toGp g) ^ (-h : ℤ)).val • v) := by |
| 377 | simp [algebra_compatible_smul (PadicAlgCl p), J_semi, hv] |
| 378 | · -- Naturality of `hodgeTateMap`, `restrictToPairs`, `J` and `B` in `u`. |
| 379 | simp only [HodgeH.baseChange_map, hodgeTateMap_map, hξ, ← restrictToPairs_map, J_nat, hv, |
| 380 | LinearMap.comp_apply, LinearEquiv.coe_coe, LinearMap.coe_mk, LinearMap.coe_toAddHom] |
| 381 | -- It remains that `B` commutes with the pull-back along `u`: `B` is `mapₗ` along the maps |
| 382 | -- `toGenericPoints`, which are natural in the scheme. |
| 383 | rw [(B W).symm_apply_eq.mpr] |
| 384 | -- `τ Z'` is that map, typed with the source of `B Z'`, so that unification does not unfold `B` |
| 385 | let τ (Z' : Over (Spec R)) : freeAb.obj (testPoints.obj Z') ⟶ |
| 386 | genericOver ⋙ restrictAlg E k ⋙ freeAb (algPointsOf E R Z') := by |
| 387 | apply freeAb.map (toGenericPoints k h_compat Z') |
| 388 | refine (map_comp _ (τ Y) ξ).symm.trans (.trans ?_ (map_comp (τ W) _ ξ)) |
| 389 | -- the two composite maps of points agree |
| 390 | exact congrArg (H.map genericCoeff · (q + h) ξ) hom_ext |
| 391 | |
| 392 | end HodgeTateVectors |