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 Lib.PadicComparison.HodgeTate.Map |
| 4 | import Lib.PadicHodge.PeriodRings.DeRhamPeriods |
| 5 | |
| 6 | /-! |
| 7 | # Galois twists and the weight of the Hodge–Tate map |
| 8 | |
| 9 | An element `g` of `Gal(ℚ̄_p/ℚ_p)` twists a p-adic test `c` by precomposing its structure map |
| 10 | `O_C → R` with `g` (`New.Variety.PadicTest.twist`). The twist leaves the rings `R`, `K = R[1/p]` and |
| 11 | `B = W(R♭)[1/p] / (ker θ)²` unchanged. Write `μ = [ε] − 1` and `χ` for the cyclotomic character. |
| 12 | Suppose `g` fixes `E` and `New.Variety.restrictToPairs ξ` is the image under |
| 13 | `New.Variety.hodgeTateMap h` of a Hodge class defined over `E`, and that `χ(g⁻¹)` is the image in |
| 14 | ℚ̄_p of some `t : k`. Then the twist by `g` multiplies `New.Variety.restrictToPairs ξ` by |
| 15 | `χ(g⁻¹)^h`. |
| 16 | |
| 17 | ## Main definitions and results |
| 18 | |
| 19 | * `New.Variety.thickeningOver.mulMu_twist`: the inclusion `ι : K → B` (multiplication by `μ`) |
| 20 | changes by the cyclotomic character `χ(g⁻¹)` (`New.cyclotomicGp`), as `g⁻¹ μ ≡ χ(g⁻¹) μ` modulo |
| 21 | `μ²`. |
| 22 | * `New.Variety.HodgeTatePair.galTwist`: the twist on pairs `(c, K^n)` (`New.Variety.HodgeTatePair`). |
| 23 | * `New.Variety.HodgeTatePair.contractionPow_galTwist`: the classes |
| 24 | `New.Variety.HodgeTatePair.contractionPow` (the `h`-th power of the contraction class, then the |
| 25 | projection to degree zero) are compatible with the twist. |
| 26 | |
| 27 | Notions from other files: |
| 28 | * `New.Variety.PadicTest`: A p-adic test: a non-empty family of cells (`New.Variety.IsCell`) with a |
| 29 | ring map from O_C to their product R. |
| 30 | * `New.Variety.thickeningOver.mulMu`: The additive map ι: K → B sending θ(x) to the class of μx, |
| 31 | where μ = [ε] − 1. |
| 32 | * `New.Variety.HodgeTatePair`: A pair (S,M) of a p-adic test S and a free module M of finite rank |
| 33 | over T = S[1/p]; `New.Variety.HodgeTatePair.pairAlg` sends it to B_{S,M} = B_S ×_T (T ⊕ M). |
| 34 | * `New.Variety.hodgeTateMap`: The map λ_h: restrict a Hodge class along B_{S,M} → T ⊕ M, apply the |
| 35 | h-th power of the contraction class, and project ⋀M to degree zero. |
| 36 | * `New.Variety.restrictToPairs`: Restriction along B_{S,M} → T, from the cohomology of N(T) on |
| 37 | p-adic tests S to that of N(B_{S,M}) on pairs. `New.Variety.PairRestrictBijective` says that it is |
| 38 | bijective in all degrees. |
| 39 | |
| 40 | ## Relation to the literature |
| 41 | |
| 42 | Known; see `Lib.PadicComparison.HodgeTate.PeriodMap` for sources. |
| 43 | -/ |
| 44 | |
| 45 | @[expose] public section |
| 46 | |
| 47 | noncomputable section |
| 48 | |
| 49 | namespace New.Variety |
| 50 | |
| 51 | /-! ## Twisting p-adic tests, pairs and contraction classes -/ |
| 52 | |
| 53 | section GaloisTwist |
| 54 | |
| 55 | open CategoryTheory Period PadicTest MulSemiringAction AddCommGrpCat TotalH |
| 56 | |
| 57 | variable {p : ℕ} {k : Type} [Field k] |
| 58 | |
| 59 | /-- The structure map `ℂ_p → R[1/p]` of the `g`-twist of a test `c` is `g` followed by the |
| 60 | structure map of `c`. -/ |
| 61 | lemma PadicTest.genericStructureMap_twist [ThePrime p] (g : Gp p) (c : PadicTest) (z : ℂ_[p]) : |
| 62 | (twist g c).genericStructureMap z = c.genericStructureMap (g • z) := by |
| 63 | -- Ring maps out of the localization `ℂ_[p]` of `OC` at `p` are determined on `OC`. |
| 64 | have h_eq : (twist g c).genericStructureMap = |
| 65 | c.genericStructureMap.comp (toRingHom (Gp p) ℂ_[p] g) := by |
| 66 | refine IsLocalization.ringHom_ext (.powers (p : OC)) ?_ |
| 67 | ext |
| 68 | exact (genericStructureMap_coe ..).trans (c.genericStructureMap_coe _).symm |
| 69 | exact RingHom.congr_fun h_eq z |
| 70 | |
| 71 | /-- The lift of the `g`-twist of a test `c` to its thickening is `g` followed by the lift for `c`: |
| 72 | both lifts reduce to the structure map, and the lift is unique (`PadicTest.eq_uniqueLift`). -/ |
| 73 | lemma PadicTest.uniqueLift_comp_eq_uniqueLift_twist [ThePrime p] (g : Gp p) (c : PadicTest) : |
| 74 | c.uniqueLift.comp (g.toAlgHom.restrictScalars ℤ_[p]) = (PadicTest.twist g c).uniqueLift := by |
| 75 | refine (PadicTest.twist g c).eq_uniqueLift _ fun z ↦ ?_ |
| 76 | rw [c.genericStructureMap_twist, UniformSpace.Completion.algEquiv_smul_coe] |
| 77 | exact c.thickeningProj_uniqueLift (g z) |
| 78 | |
| 79 | /-- For a `p`-adic test `c` with ring `R`, let `ι = mulMu` be the additive map from `K = R[1/p]` to |
| 80 | `B = W(R♭)[1/p]/(ker θ)²` sending `θ(x)` to the class of `μx`, where `μ = [ε] − 1`. For `g ∈ G_p`, |
| 81 | the `g`-twist of `c` has the same `K` and `B`, and `ι` of `c` at `t` equals `ι` of the twist at |
| 82 | `χ(g⁻¹) t`. Here `χ` is the cyclotomic character, and `χ(g⁻¹)` is mapped into `K` by the structure |
| 83 | map `ℂ_p → K`. -/ |
| 84 | lemma thickeningOver.mulMu_twist [EmbeddedInQpBar p k] (g : Gp p) (c : PadicTest) |
| 85 | (t : c.GenericRing) : |
| 86 | mulMu c t = mulMu (PadicTest.twist g c) |
| 87 | (c.genericStructureMap (algebraMap ℤ_[p] (PadicAlgCl p) (cyclotomicGp g⁻¹).val) * t) := by |
| 88 | -- The ring `c.Thickening` is the same for `c` and its twist `c'`, but the structure map is |
| 89 | -- twisted by `g`. So `μ` for `c` is `g⁻¹ • μ ≡ χ(g⁻¹) μ` for `c'`, modulo `μ²`, which is zero in |
| 90 | -- `c'.Thickening`. |
| 91 | let c' : PadicTest := PadicTest.twist g c |
| 92 | obtain ⟨x, rfl⟩ : ∃ x : c.Thickening, c.thickeningProj x = t := c.thickeningProj_surjective t |
| 93 | obtain ⟨a, ha⟩ : ∃ a : Ainf, g⁻¹ • mu - (cyclotomicGp g⁻¹ : ℤ_[p]) • mu = mu ^ 2 * a := |
| 94 | Lift.mu_sq_dvd_smul_mu_sub g⁻¹ |
| 95 | have h_tw (a : Ainf) : |
| 96 | algebraMap Ainf c.Thickening (g • a) = algebraMap Ainf c'.Thickening a := by |
| 97 | refine congrArg (algebraMap (WittVector p c.TiltRing) c.Thickening) ?_ |
| 98 | ext : 1 |
| 99 | exact (congrArg (PreTilt.map p c.structureMap) (pow_one _)).trans |
| 100 | (RingHom.congr_fun (PreTilt.map_comp p c.structureMap (toRingHom (Gp p) OC g)) _).symm |
| 101 | have h_mu : mu = g • ((cyclotomicGp g⁻¹).val • mu + mu ^ 2 * a) := |
| 102 | inv_smul_eq_iff.mp (eq_add_of_sub_eq' ha) |
| 103 | have h_sq : algebraMap Ainf c'.Thickening mu ^ 2 = 0 := by |
| 104 | simpa only [pow_two] using |
| 105 | c'.mul_eq_zero_of_mem_ker_thickeningProj c'.thetaGeneric_mu c'.thetaGeneric_mu |
| 106 | rw [mulMu_thickeningProj, h_mu, h_tw] |
| 107 | -- Lift the scalar to the thickening and move it out of `mulMu`. |
| 108 | let χ := (cyclotomicGp g⁻¹).val |
| 109 | let z := algebraMap ℤ_[p] (PadicAlgCl p) χ |
| 110 | let lift : c'.Thickening := c.uniqueLift z |
| 111 | have h_proj : c'.thickeningProj lift = c.genericStructureMap z := |
| 112 | c.thickeningProj_uniqueLift z |
| 113 | let m : c'.Thickening := mulMu c' (c'.thickeningProj x) |
| 114 | have h_mu_scalar : mulMu c' (c.genericStructureMap z * c.thickeningProj x) = |
| 115 | lift * m := |
| 116 | (congrArg (fun s : c'.GenericRing ↦ mulMu c' (s * c'.thickeningProj x)) h_proj.symm).trans |
| 117 | (mulMu_proj_mul c' lift (c'.thickeningProj x)) |
| 118 | refine Eq.trans ?_ h_mu_scalar.symm |
| 119 | refine Eq.trans ?_ (congrArg (fun y : c'.Thickening ↦ lift * y) |
| 120 | (mulMu_thickeningProj c' x)).symm |
| 121 | have h_lift : lift = algebraMap ℤ_[p] c'.Thickening χ := |
| 122 | c.uniqueLift.commutes χ |
| 123 | rw [h_lift] |
| 124 | simp [Algebra.smul_def, ← IsScalarTower.algebraMap_apply, h_sq] |
| 125 | -- what remains is associativity, in rings that agree only up to unfolding the twist |
| 126 | exact mul_assoc _ _ _ |
| 127 | |
| 128 | /-- The natural map from `New.Variety.genericCoeff` after the `g`-twist to |
| 129 | `New.Variety.genericCoeff`. It is the identity on each `R[1/p]`. -/ |
| 130 | def twistGenericCoeff [ThePrime p] (g : Gp p) : |
| 131 | PadicTest.twist g ⋙ genericCoeff ⟶ genericCoeff where |
| 132 | app c := ofHom (AddMonoidHom.id (ULift c.GenericRing)) |
| 133 | |
| 134 | /-- For `g` in the Galois group of `ℚ̄_p/ℚ_p`, the endofunctor of `New.Variety.HodgeTatePair` |
| 135 | twisting the structure map of the underlying test by `g` and keeping all other data. -/ |
| 136 | def HodgeTatePair.galTwist [EmbeddedInQpBar p k] (g : Gp p) : HodgeTatePair ⥤ HodgeTatePair where |
| 137 | obj X := ⟨PadicTest.twist g X.test, X.rank⟩ |
| 138 | map f := ⟨(PadicTest.twist g).map f.1, f.2⟩ |
| 139 | |
| 140 | /-- The identity of the exterior algebra of K^n, K = R[1/p], as a natural map from |
| 141 | `New.Variety.HodgeTatePair.formCoeff` to `New.Variety.HodgeTatePair.formCoeff` composed with the |
| 142 | g-twist. -/ |
| 143 | def HodgeTatePair.twistForms [EmbeddedInQpBar p k] (g : Gp p) : |
| 144 | formCoeff ⟶ galTwist g ⋙ formCoeff where |
| 145 | app X := ofHom (AddMonoidHom.id (ULift |
| 146 | (ExteriorAlgebra X.test.GenericRing ((toHodgeTest.obj X).Index → X.test.GenericRing)))) |
| 147 | |
| 148 | /-- The class `contractionPow h` is compatible with the `g`-twist. Restrict it along the twist of |
| 149 | pairs. Compose it with the identification `twistGenericCoeff g` of the coefficients. Then pull it |
| 150 | back along the identification `twistForms g` of the exterior algebras. The result is the class |
| 151 | `contractionPow h` itself. -/ |
| 152 | lemma HodgeTatePair.contractionPow_galTwist [EmbeddedInQpBar p k] (g : Gp p) (h : ℕ) : |
| 153 | pullbackAlong (twistForms g) |
| 154 | (comp (TotalH.map (restrictAlong (galTwist g)) (contractionPow h)) |
| 155 | (TotalH.homClass (toTest.whiskerLeft (twistGenericCoeff g)))) = |
| 156 | contractionPow h := by |
| 157 | induction h with |
| 158 | | zero => |
| 159 | -- both sides are the class of the projection to degree zero |
| 160 | rw [contractionPow, map_homClass, pullbackAlong_pullbackAlong] |
| 161 | -- The exterior algebras of `Index → baseAlg` and of `Index → X.test.GenericRing` carry |
| 162 | -- the same module structure only up to unfolding, so `homClass_comp` matches only up to that. |
| 163 | exact (homClass_comp ..).symm |
| 164 | | succ h ih => |
| 165 | -- Move `twistForms g` past the class of the cocycle `contractionCocycle`, then use the |
| 166 | -- induction hypothesis. The side goal, that `twistForms g` carries the twisted cocycle to |
| 167 | -- `contractionCocycle`, holds by definition. |
| 168 | rw [contractionPow, map_comp_assoc, Cocycle.map_cohomClass_restrict, |
| 169 | ← comp_assoc_of_sq (contractionCocycle.cohomClass_naturality ..), ih] |
| 170 | intro _ _ _ |
| 171 | rfl |
| 172 | |
| 173 | end GaloisTwist |
| 174 | |
| 175 | /-! ## Galois action in weight h -/ |
| 176 | |
| 177 | section GaloisWeight |
| 178 | |
| 179 | open CategoryTheory Functor TotalH HodgeTatePair |
| 180 | |
| 181 | variable {p : ℕ} {k E : Type} [Field k] [EmbeddedInQpBar p k] {g : Gp p} [Field E] [Algebra E k] |
| 182 | |
| 183 | /-- The map of thickenings induced by a morphism `u` of `p`-adic tests agrees with that of its |
| 184 | `g`-twist: both are induced by the map on Witt vectors of the tilts with `p` inverted, without |
| 185 | using the structure maps. -/ |
| 186 | private lemma mapThickening_twist {c d : PadicTest (p := p)} (u : c ⟶ d) : |
| 187 | ∀ b : c.Thickening, |
| 188 | PadicTest.mapThickening u b = PadicTest.mapThickening ((PadicTest.twist g).map u) b := by |
| 189 | have h_can {c' d' : PadicTest} (u' : c' ⟶ d') |
| 190 | (y : Localization.Away (p : WittVector p c'.TiltRing)) : |
| 191 | PadicTest.mapThickening u' (Ideal.Quotient.mk _ y) = |
| 192 | Ideal.Quotient.mk (RingHom.ker d'.thetaGeneric ^ 2) |
| 193 | (IsLocalization.map (Localization.Away (p : WittVector p d'.TiltRing)) |
| 194 | (WittVector.map (p := p) (PreTilt.map p u'.toRingHom : c'.TiltRing →+* d'.TiltRing)) |
| 195 | (powers_le_comap_powers p _) y) := |
| 196 | rfl |
| 197 | exact Ideal.Quotient.mk_surjective.forall.2 fun y ↦ |
| 198 | (h_can u y).trans (h_can ((PadicTest.twist g).map u) y).symm |
| 199 | |
| 200 | /-- When `g` fixes `E` and `t : k` maps to `χ(g⁻¹)`, any natural `E`-algebra map `S` from the |
| 201 | square-zero extension functor to its `g`-twist that fixes the base ring and scales the module by |
| 202 | `t` lifts via the identity on `thickeningOver` to a natural transformation `T` from |
| 203 | `pairAlg ⋙ restrictAlg E k` to its `g`-twist. -/ |
| 204 | private lemma exists_pairAlg_galTwist_natTrans |
| 205 | (hg : ∀ z : E, g (algebraMap k (PadicAlgCl p) (algebraMap E k z)) = |
| 206 | algebraMap k (PadicAlgCl p) (algebraMap E k z)) |
| 207 | {t : k} |
| 208 | (ht : algebraMap k (PadicAlgCl p) t = algebraMap ℤ_[p] (PadicAlgCl p) (cyclotomicGp g⁻¹).val) |
| 209 | {S : (toHodgeTest ⋙ (HodgeTest.baseComparison (k := k) (E := E)).functor) ⋙ |
| 210 | HodgeTest.sqZeroExt ⟶ |
| 211 | galTwist g ⋙ (toHodgeTest ⋙ (HodgeTest.baseComparison (k := k) (E := E)).functor) ⋙ |
| 212 | HodgeTest.sqZeroExt} |
| 213 | (hS_fst : ∀ (X : HodgeTatePair) |
| 214 | (r : TrivSqZeroExt X.GenericRing (Fin X.rank → X.GenericRing)), (S X r).fst = r.fst) |
| 215 | (hS_snd : ∀ (X : HodgeTatePair) |
| 216 | (r : TrivSqZeroExt X.GenericRing (Fin X.rank → X.GenericRing)), (S X r).snd = t • r.snd) : |
| 217 | let A : HodgeTatePair ⥤ CommAlg E := pairAlg ⋙ restrictAlg E k |
| 218 | ∃ T : A ⟶ galTwist g ⋙ A, |
| 219 | ∀ (X : HodgeTatePair) (x : A.obj X), (T X x).val.snd = S X x.val.snd := by |
| 220 | intro A |
| 221 | -- The components of `T`: the identity on `thickeningOver` and `S` on the square-zero extension. |
| 222 | -- They are `E`-linear because `g` fixes `E`. |
| 223 | let T₀ (X : HodgeTatePair) : A.obj X ⟶ (galTwist g ⋙ A).obj X := CommAlg.homOfRingHom |
| 224 | ((RingHom.prodMap (.id _) (S X).hom.toRingHom).restrict _ _ fun _ hx ↦ |
| 225 | hx.trans (hS_fst X _).symm) fun z ↦ |
| 226 | Subtype.ext (Prod.ext ((congrArg _ (hg z).symm).trans (DFunLike.congr_fun |
| 227 | (PadicTest.uniqueLift_comp_eq_uniqueLift_twist g X.test) _)) ((S X).hom.commutes' z)) |
| 228 | have h_nat (X Y : HodgeTatePair) (f : X ⟶ Y) : |
| 229 | A.map f ≫ T₀ Y = T₀ X ≫ (galTwist g ⋙ A).map f := by |
| 230 | -- The factor `t` from `hS_snd` is the factor `cyclotomicGp g⁻¹` by which the twist changes |
| 231 | -- `mulMu` (`thickeningOver.mulMu_twist`). |
| 232 | have h_scal (m : Fin X.rank → X.GenericRing) : |
| 233 | Y.test.genericStructureMap (algebraMap ℤ_[p] (PadicAlgCl p) (cyclotomicGp g⁻¹).val) * |
| 234 | (show Y.test.GenericRing from (f.snd m).1) = (f.snd (t • m)).1 := by |
| 235 | rw [← ht, ← algebraMap_smul X.GenericRing, map_smulₛₗ, RingHom.coe_coe, AlgHom.commutes] |
| 236 | rfl |
| 237 | -- first component: `mapThickening_twist`, `mulMu_twist` and `h_scal`; second: `S` is natural |
| 238 | ext z |
| 239 | refine Subtype.ext (Prod.ext ?_ (ConcreteCategory.congr_hom (S.naturality f) _)) |
| 240 | have h_snd : (S X z.val.snd).snd = t • z.val.snd.snd := hS_snd X z.val.snd |
| 241 | exact congrArg₂ (fun b c : Y.test.Thickening ↦ b + c) (mapThickening_twist (g := g) f.1 _) |
| 242 | ((thickeningOver.mulMu_twist g Y.test _).trans |
| 243 | (congrArg _ ((h_scal _).trans (congrArg (fun m ↦ (f.snd m).1) h_snd.symm)))) |
| 244 | exact ⟨⟨T₀, h_nat⟩, fun _ _ ↦ rfl⟩ |
| 245 | |
| 246 | /-- Restricting the `g`-twisted class of `ξ` from `p`-adic tests to `HodgeTatePair` via |
| 247 | `restrictToPairs` agrees with twisting `restrictToPairs ξ` along `T` and `twistGenericCoeff g`, |
| 248 | whenever `T` agrees with `τ` on the base ring component of `pairAlg`. -/ |
| 249 | private lemma restrictToPairs_pull_galTwist {N : AbFunctor (CommAlg E)} {n : ℕ} |
| 250 | (τ : genericOver ⋙ restrictAlg E k ⟶ PadicTest.twist g ⋙ genericOver ⋙ restrictAlg E k) |
| 251 | (T : pairAlg ⋙ restrictAlg E k ⟶ galTwist g ⋙ pairAlg ⋙ restrictAlg E k) |
| 252 | (hT : ∀ (X : HodgeTatePair) (z : (pairAlg ⋙ restrictAlg E k).obj X), |
| 253 | (T X z).val.snd.fst = τ X.test z.val.snd.fst) |
| 254 | (ξ : H (genericOver ⋙ restrictAlg E k ⋙ N) genericCoeff n) : |
| 255 | let A : HodgeTatePair ⥤ CommAlg E := pairAlg ⋙ restrictAlg E k |
| 256 | let α : TotalH (A ⋙ N) (galTwist g ⋙ A ⋙ N) := homClass (whiskerRight T N) |
| 257 | let β : TotalH (galTwist g ⋙ scalarCoeff) scalarCoeff := |
| 258 | homClass (toTest.whiskerLeft (twistGenericCoeff g)) |
| 259 | restrictToPairs |
| 260 | ((Comparison.of (PadicTest.twist g) (twistGenericCoeff g)).pull (whiskerRight τ N) n ξ : |
| 261 | H (genericOver ⋙ restrictAlg E k ⋙ N) genericCoeff n) = |
| 262 | TotalH.comp α |
| 263 | (TotalH.comp (TotalH.map (restrictAlong (galTwist g)) (restrictToPairs ξ)) β) := by |
| 264 | intro A α β |
| 265 | -- The classes live over `(restrictAlong F).obj G` on one side and `F ⋙ G` on the other, |
| 266 | -- which agree only up to unfolding, so `M` is given and the lemmas are applied by unification |
| 267 | refine .trans ?_ ((pullbackAlong_of _).symm.trans (congrArg _ |
| 268 | ((of_comp_homClass (M := (restrictAlong (galTwist g)).obj _) _).symm.trans |
| 269 | (congrArg (TotalH.comp · β) (map_of ..).symm)))) |
| 270 | simp [restrictToPairs, Comparison.pull, H.map, H.push, mapExactFunctor_mapExactFunctor, |
| 271 | mapExtAddHom, Abelian.Ext.mapExactFunctor_comp, Abelian.Ext.mapExactFunctor_mk₀] |
| 272 | congr 3 with : 2 |
| 273 | exact (N.map_commSq ⟨by ext; apply hT⟩).w.symm |
| 274 | |
| 275 | /-- Let `g` in `Gal(ℚ̄_p/ℚ_p)` fix the subfield `E` of `k ⊆ ℚ̄_p`. Let `x` be a Hodge class of `N` |
| 276 | over `E`, meaning a degree-`q` Ext class from `(A, M) ↦ N(A ⊕ M)` to `(A, M) ↦ ⋀_A M`. Let `ξ` be a |
| 277 | degree-`n` class on `p`-adic tests `S` (families of valuation rings over O_C) with coefficients |
| 278 | `S[1/p]`, such that `hodgeTateMap h x.baseChange = restrictToPairs ξ`. Here `hodgeTateMap h` uses |
| 279 | the `h`-th power of the contraction class, and `restrictToPairs` is the restriction from tests to |
| 280 | pairs of a test and a free module. Let `t : k` map to the value of the cyclotomic character at |
| 281 | `g⁻¹`. Let `τ` be the identity of each ring `S[1/p]`, viewed as an `E`-algebra map from the ring of |
| 282 | `S` to that of its twist by `g`. Then the pull-back of `ξ` along the twist by `g`, `τ` and the |
| 283 | identification `twistGenericCoeff g` of the coefficients has the same image under `restrictToPairs` |
| 284 | as `t ^ h • ξ`. -/ |
| 285 | theorem hodgeTateMap_galois_twist |
| 286 | (hg : ∀ z : E, g (algebraMap k (PadicAlgCl p) (algebraMap E k z)) = |
| 287 | algebraMap k (PadicAlgCl p) (algebraMap E k z)) |
| 288 | {N : AbFunctor (CommAlg E)} {q h n : ℕ} {x : HodgeH N q} {t : k} |
| 289 | {ξ : H (genericOver ⋙ restrictAlg E k ⋙ N) genericCoeff n} |
| 290 | (hξ : hodgeTateMap h x.baseChange = restrictToPairs ξ) |
| 291 | (ht : algebraMap k (PadicAlgCl p) t = algebraMap ℤ_[p] (PadicAlgCl p) (cyclotomicGp g⁻¹).val) : |
| 292 | let τ : genericOver ⋙ restrictAlg E k ⟶ PadicTest.twist g ⋙ genericOver ⋙ restrictAlg E k := |
| 293 | .mk fun (c : PadicTest) ↦ |
| 294 | CommAlg.homOfRingHom (.id c.GenericRing) fun (z : E) ↦ |
| 295 | ((c.genericStructureMap_twist g _).trans (congrArg c.genericStructureMap |
| 296 | ((UniformSpace.Completion.algEquiv_smul_coe ..).trans (congrArg _ (hg z))))).symm |
| 297 | restrictToPairs |
| 298 | ((Comparison.of (PadicTest.twist g) (twistGenericCoeff g)).pull (whiskerRight τ N) n ξ : |
| 299 | H (genericOver ⋙ restrictAlg E k ⋙ N) genericCoeff n) = |
| 300 | restrictToPairs (t ^ h • ξ) := by |
| 301 | -- The twist by `g`, combined with scaling the module of a pair by `t`, gives a map `T` over `E` |
| 302 | -- from `pairAlg` to its twist. The claim is then a computation of Yoneda products: twisting moves |
| 303 | -- past `contractionPow h` (`contractionPow_galTwist`) and turns into the scaling |
| 304 | -- `HodgeTest.scaleModule t` (`pull_twist`). |
| 305 | intro τ |
| 306 | let φ : HodgeTest k ⥤ HodgeTest E := (HodgeTest.baseComparison (k := k) (E := E)).functor |
| 307 | let σ : toHodgeTest ⋙ φ ⟶ galTwist g ⋙ toHodgeTest ⋙ φ := |
| 308 | toHodgeTest.whiskerLeft (HodgeTest.scaleModule t φ) ≫ .mk fun X ↦ ⟨τ X.test, .id⟩ |
| 309 | let S : (toHodgeTest ⋙ φ) ⋙ HodgeTest.sqZeroExt ⟶ |
| 310 | galTwist g ⋙ (toHodgeTest ⋙ φ) ⋙ HodgeTest.sqZeroExt := |
| 311 | whiskerRight σ HodgeTest.sqZeroExt |
| 312 | let A : HodgeTatePair ⥤ CommAlg E := pairAlg ⋙ restrictAlg E k |
| 313 | obtain ⟨T, hT⟩ := exists_pairAlg_galTwist_natTrans hg ht (S := S) (fun _ _ ↦ rfl) (fun _ _ ↦ rfl) |
| 314 | let y : H (A ⋙ N) (toHodgeTest ⋙ hodgeCoeff) q := |
| 315 | (Comparison.restrict toHodgeTest _).pull (whiskerRight toSqZero (restrictAlg E k ⋙ N)) q |
| 316 | x.baseChange |
| 317 | let α : TotalH (A ⋙ N) (galTwist g ⋙ A ⋙ N) := homClass (whiskerRight T N) |
| 318 | let β : TotalH (galTwist g ⋙ scalarCoeff) scalarCoeff := |
| 319 | homClass (toTest.whiskerLeft (twistGenericCoeff g)) |
| 320 | let u : TotalH (galTwist g ⋙ formCoeff) scalarCoeff := |
| 321 | TotalH.comp (TotalH.map (restrictAlong (galTwist g)) (contractionPow h)) β |
| 322 | let s : formCoeff ⟶ formCoeff := toHodgeTest.whiskerLeft (HodgeTest.scaleModule t hodgeCoeff) |
| 323 | have h_tw : pullbackAlong (twistForms g) u = contractionPow h := contractionPow_galTwist g h |
| 324 | -- The class `y` comes from the Hodge class `x` over `E`, so its twist along `T` is its scaling |
| 325 | -- by `t`. |
| 326 | have h_pull : TotalH.comp α (TotalH.map (restrictAlong (galTwist g)) y.toTotalH) = |
| 327 | TotalH.comp y.toTotalH (homClass (s ≫ twistForms g)) := by |
| 328 | refine pull_twist (Comparison.pull_trans _) σ (whiskerRight T N) (by ext; rfl) ?_ |
| 329 | ext : 2 |
| 330 | -- `using!`: the goal carries identity whiskerings `toHodgeTest.whiskerLeft (𝟙 _)` that `simp` |
| 331 | -- does not remove; they unfold to `𝟙` |
| 332 | simpa using! (N.map_commSq ⟨by ext; apply hT⟩).w |
| 333 | -- Here `restrictToPairs ξ = TotalH.comp y.toTotalH (contractionPow h)` by `hξ`. |
| 334 | calc |
| 335 | _ = TotalH.comp α |
| 336 | (TotalH.comp (TotalH.map (restrictAlong (galTwist g)) (restrictToPairs ξ)) β) := |
| 337 | restrictToPairs_pull_galTwist τ T (fun X z ↦ |
| 338 | show (T X z).val.snd.fst = (S X z.val.snd).fst from congrArg TrivSqZeroExt.fst (hT X z)) ξ |
| 339 | _ = TotalH.comp α (TotalH.comp (TotalH.map (restrictAlong (galTwist g)) y.toTotalH) u) := by |
| 340 | rw [← hξ] |
| 341 | exact congrArg _ (TotalH.map_comp_assoc ..) |
| 342 | _ = TotalH.comp y.toTotalH (pullbackAlong (s ≫ twistForms g) u) := comp_assoc_of_sq h_pull _ |
| 343 | _ = TotalH.comp y.toTotalH (pullbackAlong s (contractionPow h)) := by |
| 344 | rw [← pullbackAlong_pullbackAlong, h_tw] |
| 345 | _ = restrictToPairs (t ^ h • ξ) := by |
| 346 | -- scaling the module by `t` multiplies `contractionPow h` by `t ^ h` |
| 347 | rw [restrictToPairs.map_smul, ← hξ, scaleModule_comp_contractionPow, comp_smul] |
| 348 | rfl |
| 349 | |
| 350 | end GaloisWeight |
| 351 | |
| 352 | end New.Variety |
| 353 | |
| 354 | end |