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 | import Mathlib.Algebra.CharP.Pi |
| 4 | import Mathlib.RingTheory.DualNumber |
| 5 | public import Lib.Cohomology.Hodge.FixedPointFormula |
| 6 | public import Lib.Cohomology.PointClass.ProjectiveSpace |
| 7 | public import Lib.PadicComparison.HodgeTate.Map |
| 8 | public import Lib.Cohomology.ProjectiveLine.PerfectLine |
| 9 | import Lib.Cohomology.ProjectiveLine.TiltedLineFormula |
| 10 | |
| 11 | /-! |
| 12 | # The Hodge–Tate map does not kill point classes of the projective line and space |
| 13 | |
| 14 | Let `k` be a field with an embedding in `ℚ̄_p`, and let `λ_h = New.Variety.hodgeTateMap h` be the |
| 15 | Hodge–Tate map of weight `h`, from Hodge cohomology to `p`-adic cohomology. We compute `λ₁` of the |
| 16 | symbol `[dT / T]` of the pair `(𝔸¹, 𝔸¹ ∖ 0)` through the extension `0 → T → Bˣ → Tˣ → 0`. |
| 17 | |
| 18 | ## Main definitions and results |
| 19 | |
| 20 | * `New.Variety.thickeningOver.oneSubMu`, `New.Variety.thickeningOver.shortExact_oneSubMu`: the short |
| 21 | exact sequence `0 → T → Bˣ → Tˣ → 0` whose first map is `t ↦ 1 - μ t`. |
| 22 | * `New.Variety.hodgeTateMap_symbolClass`: the image of `[dT / T]` comes from the product of the |
| 23 | boundary class of the pair with the class of this extension. |
| 24 | * `New.Variety.projSpace.exists_hodgeTateMap_pointClass_line`: `λ₁` of the class of `[1 : 0]` in |
| 25 | `ℙ¹` comes from a degree-two class `η` on `p`-adic tests such that `x ↦ x × η` is injective on |
| 26 | functors with flat values. |
| 27 | * `New.Variety.projSpace.hodgeTateMap_pointClass_ne_zero`: the class of a point of `ℙ^d` has a |
| 28 | nonzero image under the Hodge–Tate map of weight `d`. |
| 29 | |
| 30 | Notions from other files: |
| 31 | * `New.Variety.PadicTest`: a `p`-adic test, a non-empty family of cells (`New.Variety.IsCell`) with |
| 32 | a ring map from `O_C` to their product; `R` denotes its ring. |
| 33 | * `New.Variety.thickeningOver`: the functor sending a `p`-adic test with ring `R` to the `k`-algebra |
| 34 | `B = W(R♭)[1/p] / (ker θ)²`. `New.Variety.genericOver` sends it to `T = R[1/p]`, and |
| 35 | `New.Variety.thickeningOver.proj : B → T` is the projection; its kernel is `μ T`, `μ = [ε] - 1`. |
| 36 | * `New.Variety.hodgeTateMap`: `λ_h` sends a Hodge class to a class on Hodge–Tate pairs (a `p`-adic |
| 37 | test with a finite free module `M` over `T`). It restricts along `B ×_T (T ⊕ M) → T ⊕ M`, applies |
| 38 | the `h`-th power of the contraction class, and projects `⋀M` to degree zero. |
| 39 | `New.Variety.restrictToPairs` maps cohomology on `p`-adic tests to the same target. |
| 40 | * `New.Variety.symbolClass`: the class `[dT / T]` in the Hodge cohomology of the pair |
| 41 | `(𝔸^d, 𝔸^d ∖ 0)`. |
| 42 | * `New.Variety.pointClass`: the class of a `k`-point `z` in Hodge cohomology of degree `d`, the |
| 43 | image of a chosen class with support `z` and multiplicity `1` at `z`. Projective space |
| 44 | `New.Variety.projSpace k d` sends `A` to the unimodular vectors in `A ^ (d + 1)` modulo units. |
| 45 | |
| 46 | ## Relation to the literature |
| 47 | |
| 48 | Known; see `Lib.Cohomology.PointClass.LinearIndependence` for sources. |
| 49 | -/ |
| 50 | |
| 51 | @[expose] public section |
| 52 | |
| 53 | noncomputable section |
| 54 | |
| 55 | /-! |
| 56 | ## The Hodge–Tate map of the symbol [dT/T] |
| 57 | |
| 58 | For a `p`-adic test with ring `R`, `T = R[1/p]` is `New.Variety.genericOver`, with additive group |
| 59 | `New.Variety.genericCoeff`. |
| 60 | -/ |
| 61 | |
| 62 | section KummerSymbol |
| 63 | |
| 64 | |
| 65 | namespace New.Variety |
| 66 | |
| 67 | open CategoryTheory AddCommGrpCat TotalH thickeningOver |
| 68 | |
| 69 | variable {p : ℕ} {k : Type} [Field k] [EmbeddedInQpBar p k] |
| 70 | |
| 71 | /-- A unimodular vector `v` of length one over a `k`-algebra `A` (an `A`-point of `𝔸¹ ∖ 0`) has a |
| 72 | unit as its only coordinate `v 0`. -/ |
| 73 | lemma isUnit_of_unimodular_one {A : CommAlg k} (v : (unimodular (d := 1)).toFunctor.obj A) : |
| 74 | IsUnit (v.val.down 0) := by |
| 75 | simpa [unimodular, Set.range_unique] using v.prop |
| 76 | |
| 77 | /-- The coordinate of `𝔸¹ ∖ 0` as a map to the multiplicative group: the morphism from `ℤ[𝔸¹ ∖ 0]`, |
| 78 | the free abelian group on the unimodular vectors of length one, to `A ↦ Aˣ` (written additively) |
| 79 | on `k`-algebras. It sends a generator `[v]` to the coordinate `v 0`, a unit by |
| 80 | `New.Variety.isUnit_of_unimodular_one`. -/ |
| 81 | def Gm.ofCoord : |
| 82 | freeAb (unimodular (k := k) (d := 1)).toFunctor ⟶ forget₂ (CommAlg k) CommRingCat ⋙ Gm := |
| 83 | freeAb.desc (fun _ v ↦ ⟨(isUnit_of_unimodular_one v).unit⟩) fun _ _ _ _ ↦ ext.2 rfl |
| 84 | |
| 85 | /-- On `p`-adic tests with ring `R`, the morphism `t ↦ 1 - μ t` from the additive group of |
| 86 | `T = R[1/p]` (`New.Variety.genericCoeff`) to the units of `B = W(R♭)[1/p] / (ker θ)²`. Here `μ t` is |
| 87 | `New.Variety.thickeningOver.mulMu`, the product with `μ = [ε] - 1`. As `(μ s) * (μ t) = 0`, the |
| 88 | map sends sums to products, so its values are units. -/ |
| 89 | def thickeningOver.oneSubMu : |
| 90 | genericCoeff ⟶ thickeningOver ⋙ forget₂ (CommAlg k) CommRingCat ⋙ Gm where |
| 91 | app c := |
| 92 | uliftFunctor.map <| ofHom <| MonoidHom.toAdditiveRight <| MonoidHom.toHomUnits |
| 93 | { toFun t := 1 - mulMu c t.toAdd |
| 94 | map_one' := by |
| 95 | change 1 - mulMu c 0 = 1 |
| 96 | rw [map_zero, sub_zero] |
| 97 | -- The product of two terms in the image of `mulMu` vanishes. |
| 98 | map_mul' := by |
| 99 | intro s t |
| 100 | let x : genericOver.obj c := s.toAdd |
| 101 | let y : genericOver.obj c := t.toAdd |
| 102 | change 1 - mulMu c (x + y) = (1 - mulMu c x) * (1 - mulMu c y) |
| 103 | have h_zero : mulMu c x * mulMu c y = 0 := by |
| 104 | exact (mulMu_proj_mul c (mulMu c x) y).symm.trans |
| 105 | (by rw [proj_mulMu, zero_mul, map_zero]) |
| 106 | rw [map_add, mul_sub, sub_mul, sub_mul, mul_one, one_mul, h_zero, sub_zero, sub_sub, |
| 107 | mul_one] } |
| 108 | naturality c d f := by |
| 109 | refine ext fun t ↦ Gm.ext.2 (.symm ?_) |
| 110 | change thickeningOver.map f (1 - mulMu c t.down) = 1 - mulMu d (genericOver.map f t.down) |
| 111 | calc |
| 112 | _ = thickeningOver.map f 1 - thickeningOver.map f (mulMu c t.down) := |
| 113 | map_sub _ _ _ |
| 114 | _ = _ := congrArg₂ (· - ·) (map_one _) (map_mulMu c d f t.down) |
| 115 | |
| 116 | /-- On `p`-adic tests the sequence `0 → T → Bˣ → Tˣ → 0` is short exact: its first map is |
| 117 | `t ↦ 1 - μ t` (`New.Variety.thickeningOver.oneSubMu`), its second is induced on units by the |
| 118 | projection `New.Variety.thickeningOver.proj : B → T`, and `w` says that their composite is zero. -/ |
| 119 | lemma thickeningOver.shortExact_oneSubMu : |
| 120 | ∃ w : oneSubMu ≫ Functor.whiskerRight proj (forget₂ (CommAlg k) CommRingCat ⋙ Gm) = 0, |
| 121 | ShortComplex.ShortExact |
| 122 | ⟨oneSubMu, Functor.whiskerRight proj (forget₂ (CommAlg k) CommRingCat ⋙ Gm), w⟩ := by |
| 123 | -- At each test `c` the additive sequence `0 → T → B → T → 0` of `mulMu` and `proj` is exact. |
| 124 | choose h_surj h_inj h_exact using exact_mulMu_proj (k := k) |
| 125 | refine shortExact_of_app (fun c ⟨s⟩ ⟨t⟩ h_eq ↦ ?_) (fun c ⟨u⟩ ↦ ?_) fun c ⟨u⟩ ↦ ?_ |
| 126 | · -- `1 - μ s = 1 - μ t` forces `s = t`. |
| 127 | have h_app (x : (asModules PadicTest.genericAlg).obj c) : |
| 128 | (show (thickeningOver.obj c)ˣ from ((oneSubMu.app c).hom ⟨x⟩).down).val = |
| 129 | 1 - mulMu c x := rfl |
| 130 | have h_val := (h_app s).symm.trans ((Gm.ext.mp h_eq).trans (h_app t)) |
| 131 | exact congrArg ULift.up (h_inj c (sub_right_injective h_val)) |
| 132 | · -- Exactness applied to `1 - u`: the units with image `1` are those of the form `1 - mulMu t`. |
| 133 | have hproj : proj c (1 - u.val) = 1 - proj c u.val := |
| 134 | (c.thickeningProj.map_sub 1 u.val).trans |
| 135 | (congrArg (· - proj c u.val) c.thickeningProj.map_one) |
| 136 | have h_one : proj c u.val = 1 ↔ ∃ t, 1 - mulMu c t = u.val := by |
| 137 | calc |
| 138 | _ ↔ proj c (1 - u.val) = 0 := by rw [hproj, sub_eq_zero]; exact eq_comm |
| 139 | _ ↔ ∃ t, mulMu c t = 1 - u.val := h_exact c (1 - u.val) |
| 140 | _ ↔ _ := exists_congr fun _ ↦ eq_comm.trans sub_eq_iff_comm |
| 141 | constructor |
| 142 | · intro h |
| 143 | obtain ⟨t, ht⟩ := h_one.mp (Gm.ext.mp h) |
| 144 | exact ⟨⟨t⟩, Gm.ext.mpr ht⟩ |
| 145 | · rintro ⟨⟨t⟩, ht⟩ |
| 146 | exact Gm.ext.mpr (h_one.mpr ⟨t, Gm.ext.mp ht⟩) |
| 147 | · -- A lift `b` of the unit `u` is a unit, as the kernel has square zero. |
| 148 | obtain ⟨b, hb⟩ : ∃ b : thickeningOver.obj c, proj c b = u.val := h_surj c u.val |
| 149 | have h_unit : IsUnit b := (IsNilpotent.isUnit_quotient_mk_iff ⟨2, c.ker_thickeningProj_sq⟩).mp |
| 150 | (.of_map (RingHom.quotientKerEquivOfSurjective (h_surj c)) _ ⟨u, hb.symm⟩) |
| 151 | exact ⟨⟨h_unit.unit⟩, Gm.ext.mpr hb⟩ |
| 152 | |
| 153 | /-- Let `ω` be a form on `𝔸¹ ∖ 0` over Hodge tests that sends a point `a + m` to a one-form `w` |
| 154 | with `a • w = m`, so that `ω = dT / T` (such an `ω` is given by `New.Variety.symbolClass_one`). On |
| 155 | Hodge–Tate pairs, the pull-back of `ω` followed by one contraction |
| 156 | (`New.Variety.HodgeTatePair.contractionPow 1`) is the pull-back of the class of the extension |
| 157 | `0 → T → Bˣ → Tˣ → 0` (`New.Variety.thickeningOver.shortExact_oneSubMu`) along the coordinate |
| 158 | `New.Variety.Gm.ofCoord`. -/ |
| 159 | private lemma pull_mk₀_comp_contractionPow_one_eq_pull_extClass_oneSubMu |
| 160 | (ω : HodgeTest.sqZeroExt ⋙ freeAb.obj (unimodular (k := k) (d := 1)).toFunctor ⟶ hodgeCoeff) |
| 161 | (hω : ∀ (c : HodgeTest k) |
| 162 | (v : (unimodular (k := k) (d := 1)).toFunctor.obj (HodgeTest.sqZeroExt.obj c)), |
| 163 | ∃ w : c.Index → c.baseAlg, (v.val.down 0).fst • w = (v.val.down 0).snd ∧ |
| 164 | ω.app c (FreeAddCommGroup.of v) = ⟨ExteriorAlgebra.ι c.baseAlg w⟩) : |
| 165 | comp |
| 166 | ((Comparison.restrict HodgeTatePair.toHodgeTest hodgeCoeff).pull |
| 167 | (Functor.whiskerRight HodgeTatePair.toSqZero |
| 168 | (freeAb.obj (unimodular (k := k) (d := 1)).toFunctor)) 0 (.mk₀ ω)).toTotalH |
| 169 | (HodgeTatePair.contractionPow 1) = |
| 170 | ((Comparison.restrict HodgeTatePair.toTest genericCoeff).pull |
| 171 | (Functor.whiskerRight HodgeTatePair.toGeneric |
| 172 | (freeAb.obj (unimodular (k := k) (d := 1)).toFunctor)) 1 |
| 173 | (H.map genericCoeff (genericOver.whiskerLeft Gm.ofCoord) 1 |
| 174 | shortExact_oneSubMu.2.extClass)).toTotalH := by |
| 175 | -- Both sides are computed by explicit cocycles on pairs. |
| 176 | let N : CommAlg k ⥤ AddCommGrpCat := freeAb.obj (unimodular (k := k) (d := 1)).toFunctor |
| 177 | let α : HodgeTatePair.pairAlg ⋙ N ⟶ HodgeTatePair.toHodgeTest ⋙ hodgeCoeff := |
| 178 | Functor.whiskerRight HodgeTatePair.toSqZero N ≫ HodgeTatePair.toHodgeTest.whiskerLeft ω |
| 179 | simp [Comparison.pull, H.map, H.push, Abelian.Ext.toTotalH, Functor.mapExtAddHom, |
| 180 | Abelian.Ext.mapExactFunctor_mk₀, Abelian.Ext.mapExactFunctor_comp, |
| 181 | Abelian.Ext.mapExactFunctor_extClass] |
| 182 | -- The left side is `α` (the form `ω` on pairs), then one contraction, then the projection |
| 183 | -- `HodgeTatePair.contractionPow 0` of `⋀ M` to degree zero; with `D` below it is the class of the |
| 184 | -- cocycle `D` (the form `ω`, then contraction along `f`), followed by that projection. |
| 185 | change TotalH.comp (TotalH.homClass α) |
| 186 | (TotalH.comp HodgeTatePair.contractionCocycle.cohomClass (HodgeTatePair.contractionPow 0)) = _ |
| 187 | let D : Cocycle (HodgeTatePair.pairAlg ⋙ N) HodgeTatePair.formCoeff := |
| 188 | ⟨fun {c d} f ↦ α.app c ≫ HodgeTatePair.contractionCocycle.component f, |
| 189 | -- `↓`: without it, simp leaves the naturality square of `α` open. |
| 190 | by simp [Cocycle.cocycle_comp, ↓NatTrans.naturality_assoc]⟩ |
| 191 | -- `α` carries `D` to the contraction cocycle (`New.Variety.Cocycle.cohomClass_naturality`). |
| 192 | have h_nat : D.cohomClass.comp (TotalH.homClass (𝟙 _)) = |
| 193 | pullbackAlong α HodgeTatePair.contractionCocycle.cohomClass := |
| 194 | D.cohomClass_naturality _ α (𝟙 _) fun c d f ↦ (Category.comp_id _).symm |
| 195 | rw [comp_assoc_of_eq h_nat.symm, comp_id] |
| 196 | refine Eq.trans ?_ (pullbackAlong_of _) |
| 197 | -- A unit of `B ×_T (T ⊕ M)` has a first component in `Bˣ`, which lifts its image in `Tˣ`. By |
| 198 | -- `Cocycle.cohomClass_comp_eq_extClass` it remains to check that this is a lift, and that its |
| 199 | -- failure to be natural in the pair is the cocycle `D`, carried into `Bˣ`. |
| 200 | refine Cocycle.cohomClass_comp_eq_extClass _ |
| 201 | (shortExact_oneSubMu.2.map_of_exact (restrictAlong _)) _ _ |
| 202 | (fun _ ↦ Gm.ofCoord _ ≫ Gm.map (CommRingCat.ofHom (.pullbackFst ..))) (fun X ↦ ?_) |
| 203 | fun X Y f ↦ hom_ext (FreeAddCommGroup.lift_ext _ _ fun ⟨⟨v⟩, hv⟩ ↦ ?_) |
| 204 | · -- On a point `(b, t)` of `B ×_T (T ⊕ M)`, `proj b` is the first component of `t`. |
| 205 | simp [← Functor.map_comp] |
| 206 | congr with ⟨⟨b, t⟩, h_pullback⟩ |
| 207 | exact h_pullback |
| 208 | · -- On the unit `v 0 = a + m`, `ω` takes the value `w` with `a • w = m`. The lift at `Y` is |
| 209 | -- the image under `f` of the lift at `X`, times `1 + mulMu t` for the contraction `t` of `w`. |
| 210 | let y : (unimodular (d := 1)).toFunctor.obj (HodgeTatePair.pairAlg.obj X) := ⟨⟨v⟩, hv⟩ |
| 211 | let q := HodgeTatePair.toSqZero.app X |
| 212 | let z := ((unimodular (d := 1)).toFunctor.map q) y |
| 213 | obtain ⟨w, hw_smul, hω_app⟩ := hω (HodgeTatePair.toHodgeTest.obj X) z |
| 214 | simp [D, α, ← Functor.map_comp] |
| 215 | erw [AddMonoidHom.add_apply] |
| 216 | iterate 4 erw [AddMonoidHom.comp_apply] |
| 217 | have h_map : (N.map q).hom (.of y) = |
| 218 | FreeAddCommGroup.of (((unimodular (d := 1)).toFunctor.map q) y) := by |
| 219 | change FreeAddCommGroup.map _ (.of y) = _ |
| 220 | exact FreeAddCommGroup.map_of_apply y |
| 221 | erw [h_map] |
| 222 | erw [AddMonoidHom.comp_apply, AddMonoidHom.comp_apply] |
| 223 | erw [hω_app, ← sub_eq_iff_eq_add', freeAb.desc_of, Gm.ext] |
| 224 | change _ * |
| 225 | (1 - mulMu (HodgeTatePair.toTest.obj Y) |
| 226 | (-ExteriorAlgebra.algebraMapInv (contraction f.2 (.ι _ w)))) = _ + _ |
| 227 | -- `mulMu` is linear over `B` (`mulMu_proj_mul`); `v 0 = (b, a + m)` with `proj b = a` (the |
| 228 | -- fibre product condition) and `m = a • w` (`hw_smul`). |
| 229 | let a : X.GenericRing := (v 0).val.2.fst |
| 230 | let m : Fin X.rank → X.GenericRing := (v 0).val.2.snd |
| 231 | let w' : Fin X.rank → X.GenericRing := w |
| 232 | change a • w' = m at hw_smul |
| 233 | erw [freeAb.desc_of] |
| 234 | have h_proj : (proj.app Y.test) (thickeningOver.map f.fst (v 0).val.fst) = |
| 235 | genericOver.map f.fst a := |
| 236 | (proj.naturality_apply f.fst (v 0).val.fst).trans |
| 237 | (congrArg (genericOver.map f.fst) (v 0).property) |
| 238 | rw [mul_one_sub] |
| 239 | let b : thickeningOver.obj X.test := (v 0).val.1 |
| 240 | let b' := thickeningOver.map f.fst b |
| 241 | change b' - b' * mulMu Y.test (-ExteriorAlgebra.algebraMapInv |
| 242 | (contraction f.snd (.ι _ w'))) = b' + mulMu Y.test (f.snd m).fst |
| 243 | rw [← mulMu_proj_mul, h_proj] |
| 244 | let a' : Y.GenericRing := genericOver.map f.fst a |
| 245 | change b' - mulMu Y.test (a' * -ExteriorAlgebra.algebraMapInv |
| 246 | (contraction f.snd (.ι _ w'))) = b' + mulMu Y.test (f.snd m).fst |
| 247 | rw [← hw_smul, map_smulₛₗ] |
| 248 | -- After unfolding `contraction`, both sides read `f b + mulMu (f a * f w)`, through maps of |
| 249 | -- pairs that agree by definition. |
| 250 | simp [contraction] |
| 251 | rfl |
| 252 | |
| 253 | /-- The Hodge–Tate map on `[dT / T]` in dimension one: `λ₁ [dT / T]` is the image under |
| 254 | `New.Variety.restrictToPairs` of a degree-two class on `p`-adic tests. This class is the Yoneda |
| 255 | product of the boundary class of the pair `(𝔸¹, 𝔸¹ ∖ 0)` (the extension class of |
| 256 | `0 → ℤ[𝔸¹ ∖ 0] → ℤ[𝔸¹] → ℤ[𝔸¹] / ℤ[𝔸¹ ∖ 0] → 0`, restricted to tests) with the class of the |
| 257 | extension `0 → T → Bˣ → Tˣ → 0` of `New.Variety.thickeningOver.shortExact_oneSubMu`, pulled back |
| 258 | along the coordinate `New.Variety.Gm.ofCoord`. -/ |
| 259 | lemma hodgeTateMap_symbolClass : |
| 260 | hodgeTateMap 1 symbolClass = |
| 261 | restrictToPairs |
| 262 | (relFreeAb.shortExact unimodular |
| 263 | |>.2 |
| 264 | |>.map_of_exact (restrictAlong genericOver) |
| 265 | |>.extClass.comp |
| 266 | (H.map genericCoeff (genericOver.whiskerLeft Gm.ofCoord) 1 |
| 267 | shortExact_oneSubMu.2.extClass) |
| 268 | rfl) := by |
| 269 | -- Both sides are boundaries for the pair `(𝔸¹, 𝔸¹ ∖ 0)`, so it suffices to compare two degree-one |
| 270 | -- classes on `𝔸¹ ∖ 0`: the contraction of `ω = dT / T` and the class of the extension of units |
| 271 | -- pulled back along `Gm.ofCoord`. `hθ` says that the symbol is the boundary of `ω`. |
| 272 | obtain ⟨ω, hω, hθ⟩ := symbolClass_one k |
| 273 | -- Compose the comparison on `𝔸¹ ∖ 0` with the boundary class of the pair, which commutes with |
| 274 | -- restriction (`New.Variety.Comparison.pull_comp_restrictAlong`), on the Hodge side and on the |
| 275 | -- side of tests. Up to `hθ`, `h_chain` is the goal with `hodgeTateMap` and `restrictToPairs` |
| 276 | -- unfolded. |
| 277 | have h_chain := (comp_assoc_of_eq |
| 278 | (Comparison.pull_comp_restrictAlong (relFreeAb.shortExact unimodular).2.extClass (.mk₀ ω) |
| 279 | (rfl : 1 + 0 = 1)) _).symm.trans |
| 280 | ((congrArg _ (pull_mk₀_comp_contractionPow_one_eq_pull_extClass_oneSubMu ω hω)).trans |
| 281 | (Comparison.pull_comp_restrictAlong (relFreeAb.shortExact unimodular).2.extClass _ |
| 282 | (rfl : 1 + 1 = 2))) |
| 283 | simpa [hθ, Abelian.Ext.mapExactFunctor_extClass, hodgeTateMap, restrictToPairs] using! h_chain |
| 284 | |
| 285 | end New.Variety |
| 286 | |
| 287 | end KummerSymbol |
| 288 | |
| 289 | /-! |
| 290 | ## The point class of the projective line |
| 291 | |
| 292 | `New.Variety.hodgeTateMap h` is the Hodge–Tate map `λ_h` on Hodge cohomology. |
| 293 | `New.Variety.pointClass d z` is the class of a `k`-point `z`, and `New.Variety.cup` is the external |
| 294 | product of classes. |
| 295 | -/ |
| 296 | |
| 297 | section LinePointClass |
| 298 | |
| 299 | |
| 300 | namespace New.Variety |
| 301 | |
| 302 | open CategoryTheory MvPolynomial TotalH PadicTest Period PerfectLine thickeningOver CommAlgCat |
| 303 | WittVector Functor freeAb NNRat |
| 304 | |
| 305 | variable {p : ℕ} {k : Type} [Field k] [EmbeddedInQpBar p k] |
| 306 | |
| 307 | /-- For a `p`-adic test `c` with ring `R`, in `B = W(R♭)[1/p] / (ker θ)²` the Teichmüller lift of |
| 308 | `ε` (`Period.epsTilt`, mapped to the tilt `R♭`) is `1 + μ`, where `μ = mulMu c 1` is the image of |
| 309 | `[ε] - 1`. -/ |
| 310 | lemma thickeningOver.teichmullerLift_epsTilt (c : PadicTest) : |
| 311 | teichmullerLift c (algebraMap OFlat (tilt.obj c) Period.epsTilt) = 1 + mulMu c 1 := by |
| 312 | -- `mulMu c 1` is the image of `mu = [ε] - 1`, so it remains to compare the two lifts of `ε`. |
| 313 | -- The lift `[·]` commutes with the map `O♭ → R♭`, and `W(O♭) → B` is `W(O♭) → W(R♭) → B`. |
| 314 | have h_lift : teichmullerLift (k := k) c (algebraMap OFlat (tilt.obj c) epsTilt) = |
| 315 | algebraMap (WittVector p OFlat) c.Thickening (teichmuller p epsTilt) := |
| 316 | congrArg (algebraMap (WittVector p c.TiltRing) c.Thickening) (map_teichmuller ..).symm |
| 317 | have h_mu : mulMu c (1 : genericOver.obj c) = algebraMap Ainf c.Thickening mu := |
| 318 | (congrArg (mulMu c) c.thickeningProj.map_one).symm.trans |
| 319 | ((mulMu_thickeningProj c 1).trans (mul_one _)) |
| 320 | refine h_lift.trans (Eq.trans ?_ (congrArg (fun z : c.Thickening ↦ 1 + z) h_mu).symm) |
| 321 | simp only [mu_eq, _root_.map_sub, map_one] |
| 322 | let x : c.Thickening := algebraMap Ainf c.Thickening (teichmuller p epsTilt) |
| 323 | change x = 1 + (x - 1) |
| 324 | rw [add_comm, sub_add_cancel] |
| 325 | |
| 326 | /-- Let `V` be covered by charts of dimension one (`New.Variety.IsChartCovered 1 V`) and `U` an |
| 327 | open subfunctor of `V`. Then restriction from `p`-adic tests to Hodge–Tate pairs is bijective |
| 328 | (`New.Variety.PairRestrictBijective`) on the cohomology of `relFreeAb U = ℤ[V] / ℤ[U]`. -/ |
| 329 | lemma pairRestrictBijective_relFreeAb_of_isOpenSubfunctor {V : CommAlg k ⥤ Type 1} |
| 330 | {U : Subfunctor V} [hV : IsChartCovered 1 V] (hU : IsOpenSubfunctor U) : |
| 331 | PairRestrictBijective (relFreeAb U) := by |
| 332 | -- Two out of three in the sequence `0 → ℤ[U] → ℤ[V] → relFreeAb U → 0`: the property holds for |
| 333 | -- `ℤ[V]`, and for `ℤ[U]` since `U` is again covered by charts. |
| 334 | have hU_charts : IsChartCovered 1 U.toFunctor := hV.comap U.ι (by simpa using hU) |
| 335 | have h_closed : IsClosedClass fun N : CommAlg k ⥤ AddCommGrpCat ↦ PairRestrictBijective N := |
| 336 | (Comparison.restrict HodgeTatePair.toTest genericCoeff).isClosedClass HodgeTatePair.toGeneric |
| 337 | exact (h_closed.right _ (relFreeAb.shortExact U).2 hU_charts.pairRestrictBijective).mp |
| 338 | hV.pairRestrictBijective |
| 339 | |
| 340 | /-- On the chart `0` of the projective line (the points `[1 : x]`), the coordinate `X` cuts out the |
| 341 | point `affinePoint 0 0 = [1 : 0]`: a map `α` from the chart's ring to a `k`-algebra `C` kills `X` |
| 342 | exactly when it sends the chart's point to `[1 : 0]` (`New.Variety.CutsOutLocus`). -/ |
| 343 | lemma projSpace.cutsOutLocus_stdChart_zero_X : |
| 344 | CutsOutLocus (projSpace k 1) (ComesFromPoints {affinePoint 0 0}) (stdChart k 1 0).point X := by |
| 345 | -- The image of the chart's point under `α` is `[1 : α X]`, which is `[1 : 0]` iff `α X = 0`. |
| 346 | intro C α |
| 347 | simp [ComesFromPoints] |
| 348 | -- Both sides of the equation are points `[v]`; compare them by cross products. |
| 349 | change _ ↔ projSpace.mk _ _ = projSpace.mk _ _ |
| 350 | refine Iff.trans ?_ mk_eq_mk_iff_cross_mul.symm |
| 351 | simp +contextual |
| 352 | change Ideal.span (Set.range X) ≤ RingHom.ker α.hom ↔ |
| 353 | 0 = α.hom (X 0) ∧ α.hom (X 0) = 0 |
| 354 | constructor |
| 355 | · intro h |
| 356 | have h₀ : α.hom (X 0) = 0 := Ideal.span_le.mp h ⟨0, rfl⟩ |
| 357 | exact ⟨h₀.symm, h₀⟩ |
| 358 | · rintro ⟨_, h₀⟩ |
| 359 | apply Ideal.span_le.mpr |
| 360 | rintro _ ⟨i, rfl⟩ |
| 361 | rw [Subsingleton.elim i 0] |
| 362 | exact h₀ |
| 363 | |
| 364 | /-- The points of the chart `1` of the projective line (the points `[x : 1]`) avoid |
| 365 | `affinePoint 0 0 = [1 : 0]`: for every map `ψ` from the chart's ring to `A`, the image of the |
| 366 | chart's point is zero in `ℤ[ℙ¹] / ℤ[ℙ¹ ∖ [1 : 0]]` (`New.Variety.relFreeAb` of |
| 367 | `New.Variety.offPoints`). -/ |
| 368 | lemma projSpace.relFreeAb_mk_stdChart_one_eq_zero (A : CommAlg k) |
| 369 | (ψ : (stdChart k 1 1).coordRing ⟶ A) : |
| 370 | relFreeAb.mk (offPoints {affinePoint 0 0}) |
| 371 | ((projSpace k 1).map ψ (stdChart k 1 1).point) = 0 := by |
| 372 | -- At a field `K`, a point of the chart `1` has a unit as its coordinate `1`, and `[1 : 0]` has |
| 373 | -- `0` there. |
| 374 | refine relFreeAb.mk_eq_zero ((offPoints _).map ψ ?_) |
| 375 | rintro K φ hK ⟨z, rfl, h_eq⟩ |
| 376 | have : Nontrivial K := hK.nontrivial |
| 377 | simpa using (mk_mem_stdChart_iff ..).mp ⟨_, h_eq⟩ |
| 378 | |
| 379 | /-- There is a degree-two class `ξT` in the cohomology on `p`-adic tests with coefficients |
| 380 | `genericCoeff` (a test with ring R ↦ R[1/p]) of ℤ[ℙ¹]/ℤ[`offPoints {affinePoint 0 0}`] composed with |
| 381 | `genericOver`. It satisfies two conditions. First, `hodgeTateMap 1` of the class of the point |
| 382 | `affinePoint 0 0 = [1 : 0]` of `ℙ¹` is `restrictToPairs` of the image of `ξT` in the cohomology of |
| 383 | ℤ[ℙ¹]. Second, the pull-back of `ξT` to the chart `stdChart k 1 0` equals the pull-back, along the |
| 384 | identification of that chart with the pair `(𝔸¹, 𝔸¹ ∖ 0)`, of the product of the boundary class of |
| 385 | `0 → ℤ[𝔸¹ ∖ 0] → ℤ[𝔸¹] → ℤ[𝔸¹]/ℤ[𝔸¹ ∖ 0] → 0` with the pull-back along `Gm.ofCoord` of the |
| 386 | degree-one class of the extension of units `thickeningOver.shortExact_oneSubMu`. -/ |
| 387 | lemma projSpace.exists_relative_point_class : |
| 388 | ∃ ξT : H (genericOver ⋙ relFreeAb (offPoints {affinePoint 0 0})) genericCoeff 2, |
| 389 | hodgeTateMap 1 (pointClass 1 (affinePoint (k := k) (d := 1) 0 0)) = |
| 390 | restrictToPairs |
| 391 | (H.map genericCoeff (genericOver.whiskerLeft (relFreeAb.π (offPoints {affinePoint 0 0}))) |
| 392 | 2 ξT) ∧ |
| 393 | H.map genericCoeff |
| 394 | (genericOver.whiskerLeft (relFreeAb.map (pointMap (stdChart k 1 0).point) le_rfl)) 2 ξT = |
| 395 | H.map genericCoeff |
| 396 | (genericOver.whiskerLeft |
| 397 | (relFreeAb.map _ cutsOutLocus_stdChart_zero_X.preimage_fieldLocus_not.le)) |
| 398 | 2 |
| 399 | (relFreeAb.shortExact (unimodular (k := k) (d := 1)) |
| 400 | |>.2 |
| 401 | |>.map_of_exact (restrictAlong genericOver) |
| 402 | |>.extClass.comp |
| 403 | (H.map genericCoeff (genericOver.whiskerLeft Gm.ofCoord) 1 |
| 404 | shortExact_oneSubMu.2.extClass) |
| 405 | rfl) := by |
| 406 | -- The class of the point comes from a relative class `ξ` that equals `[dX / X]` on the chart. |
| 407 | obtain ⟨ξ, ⟨h_cut, h_chart, hξ_local⟩, hξ_point⟩ : |
| 408 | ∃ ξ : HodgeH (relFreeAb (offPoints {affinePoint 0 0})) 1, |
| 409 | IsLocalSymbol ξ (stdChart k 1 0).point (ComesFromPoints {affinePoint 0 0}) X 1 ∧ |
| 410 | IsPointSum {affinePoint 0 0} 1 ξ := |
| 411 | (stdChart k 1 0).exists_isLocalSymbol cutsOutLocus_stdChart_zero_X |
| 412 | ((mk_mem_stdChart_iff _).mpr isUnit_one) |
| 413 | obtain ⟨ξT, hξ⟩ : ∃ ξT, hodgeTateMap 1 ξ = restrictToPairs (n := 1 + 1) ξT := |
| 414 | (pairRestrictBijective_relFreeAb_of_isOpenSubfunctor |
| 415 | isOpenSubfunctor_offPoints).exists_hodgeTateMap_eq 1 ξ |
| 416 | refine ⟨ξT, ?_, ?_⟩ |
| 417 | · -- `ξ` has multiplicity `1` at the point, so it maps to the point class. |
| 418 | have h_point : HodgeH.map (relFreeAb.π _) ξ = pointClass 1 (affinePoint 0 0) := |
| 419 | hξ_point.map_eq_smul_pointClass.trans (one_smul k _) |
| 420 | rw [← h_point, hodgeTateMap_map, hξ, restrictToPairs_map] |
| 421 | · -- `restrictToPairs` is injective on the chart. By `hξ` and `hodgeTateMap_symbolClass`, it sends |
| 422 | -- the two sides of the goal to `λ₁` of the two sides of `hξ_local`. |
| 423 | apply (pairRestrictBijective_relFreeAb_of_isOpenSubfunctor |
| 424 | (hV := .comap _ (EtaleChart.isOpenSubfunctor _)) |
| 425 | (isOpenSubfunctor_offPoints.preimage _)).injective_restrictToPairs |
| 426 | apply_fun hodgeTateMap 1 at hξ_local |
| 427 | rw [one_smul, hodgeTateMap_map, hodgeTateMap_map, hξ, hodgeTateMap_symbolClass] at hξ_local |
| 428 | rw [restrictToPairs_map] |
| 429 | exact hξ_local.trans (restrictToPairs_map _ _).symm |
| 430 | |
| 431 | /-- The Teichmüller lift is natural in the test: for a map `f : c ⟶ d` of `p`-adic tests, |
| 432 | `thickeningOver.map f` sends `[x]` to `[tilt.map f x]`. -/ |
| 433 | private lemma thickeningOver.teichmullerLift_map {c d : PadicTest} (f : c ⟶ d) (x : tilt.obj c) : |
| 434 | teichmullerLift d (tilt.map f x) = thickeningOver.map f (teichmullerLift c x) := by |
| 435 | -- `with_unfolding_all`: only then is `thickeningOver.map f` seen as a map of localizations, |
| 436 | -- which sends `[x]` to `[tilt.map f x]` by `WittVector.map_teichmuller`. |
| 437 | with_unfolding_all |
| 438 | exact congr(.mk _ $(.symm ((IsLocalization.map_eq (powers_le_comap_powers ..) _).trans |
| 439 | (congrArg _ (map_teichmuller ..))))) |
| 440 | |
| 441 | /-- The Teichmüller coordinate. For a `p`-adic test with ring `R`, a point `t` of the perfect disc |
| 442 | over the tilt is an `O♭`-algebra map `O♭[ℚ≥0] → R♭` with coordinate `u = t (T ^ 1)`; it goes to the |
| 443 | Teichmüller lift `[u]`, a point of the affine line over `B = W(R♭)[1/p] / (ker θ)²`. -/ |
| 444 | def teichmullerCoordinate : tilt ⋙ reprBy (monoidAlg ℚ≥0) ⟶ thickeningOver ⋙ affineSpace k 1 := |
| 445 | ⟨fun c ↦ ↾fun t ↦ ⟨fun _ ↦ teichmullerLift c (t.down.hom (.single 1 1))⟩, fun c d f ↦ by |
| 446 | ext t |
| 447 | exact congrArg (fun b ↦ ULift.up fun (_ : Fin 1) ↦ b) (teichmullerLift_map f _)⟩ |
| 448 | |
| 449 | /-- On a point of the torus `O♭[ℚ] → R♭`, the Teichmüller coordinates at `u` and at `u⁻¹` multiply |
| 450 | to `1`. -/ |
| 451 | lemma teichmullerCoordinate_mul_inv (c : PadicTest) (t : monoidAlg ℚ ⟶ tilt c) : |
| 452 | (teichmullerCoordinate (k := k) c ⟨discToTorus coeHom ≫ t⟩).down 0 * |
| 453 | (teichmullerCoordinate (k := k) c ⟨discToTorus (-coeHom) ≫ t⟩).down 0 = 1 := by |
| 454 | have h_coord (g : ℚ≥0 →+ ℚ) : |
| 455 | (discToTorus g ≫ t).hom (AddMonoidAlgebra.single 1 1) = |
| 456 | t.hom (AddMonoidAlgebra.single (g 1) 1) := by |
| 457 | change t.hom (AddMonoidAlgebra.mapDomain g (AddMonoidAlgebra.single 1 1)) = _ |
| 458 | exact congrArg t.hom (AddMonoidAlgebra.mapDomain_single ..) |
| 459 | let liftCoord := (teichmullerLift (k := k) c).comp t.hom.toMonoidHom |
| 460 | let u : AddMonoidAlgebra OFlat ℚ := .single 1 1 |
| 461 | let v : AddMonoidAlgebra OFlat ℚ := .single (-1) 1 |
| 462 | have h_mul : u * v = 1 := by |
| 463 | simp [u, v, AddMonoidAlgebra.single_mul_single, AddMonoidAlgebra.one_def] |
| 464 | change teichmullerLift c ((discToTorus coeHom ≫ t).hom (.single 1 1)) * |
| 465 | teichmullerLift c ((discToTorus (-coeHom) ≫ t).hom (.single 1 1)) = 1 |
| 466 | calc |
| 467 | _ = liftCoord u * liftCoord v := |
| 468 | congrArg₂ (· * ·) (congrArg (teichmullerLift (k := k) c) (h_coord coeHom)) |
| 469 | (congrArg (teichmullerLift (k := k) c) (h_coord (-coeHom))) |
| 470 | _ = liftCoord (u * v) := (liftCoord.map_mul u v).symm |
| 471 | _ = 1 := (congrArg liftCoord h_mul).trans liftCoord.map_one |
| 472 | |
| 473 | /-- Followed by the projection `B → T = R[1/p]`, the Teichmüller coordinate does not change when the |
| 474 | point is twisted by `charTwist`, which multiplies `u` by `ε` or by `ε⁻¹`. -/ |
| 475 | lemma teichmullerCoordinate_comp_proj_charTwist (c : PadicTest) (i : Bool) |
| 476 | (t : (tilt ⋙ reprBy (monoidAlg ℚ≥0)).obj c) : |
| 477 | (teichmullerCoordinate ≫ whiskerRight proj (affineSpace k 1)) c |
| 478 | ⟨charTwist epsPow (cond i coeHom (-coeHom)) ≫ t.down⟩ = |
| 479 | (teichmullerCoordinate ≫ whiskerRight proj (affineSpace k 1)) c t := by |
| 480 | -- The twist multiplies `[u]` by `[ε ^ (±1)]`, and `[ε] = 1 + mulMu c 1` maps to `1` under `proj`. |
| 481 | let θ : Multiplicative ℚ →* genericOver.obj c := |
| 482 | (proj (k := k) c).hom.toRingHom.toMonoidHom.comp |
| 483 | ((teichmullerLift c).comp ((algebraMap OFlat _).toMonoidHom.comp epsPow)) |
| 484 | let g : ℚ≥0 →+ ℚ := cond i coeHom (-coeHom) |
| 485 | let sign : Multiplicative ℚ := .ofAdd (g 1) |
| 486 | have h_eps : sign ∈ θ.ker := by |
| 487 | cases i <;> simp [θ, sign, g, teichmullerLift_epsTilt, proj_mulMu] |
| 488 | have h_twist : (charTwist epsPow g ≫ t.down).hom |
| 489 | (AddMonoidAlgebra.single 1 1) = |
| 490 | algebraMap OFlat (tilt.obj c) (epsPow sign) * t.down.hom (.single 1 1) := by |
| 491 | change t.down.hom (AddMonoidAlgebra.lift OFlat (AddMonoidAlgebra OFlat ℚ≥0) ℚ≥0 |
| 492 | (((algebraMap OFlat (AddMonoidAlgebra OFlat ℚ≥0)).toMonoidHom.comp |
| 493 | (epsPow.comp g.toMultiplicative)) * |
| 494 | AddMonoidAlgebra.of OFlat ℚ≥0) (AddMonoidAlgebra.of OFlat ℚ≥0 (.ofAdd 1))) = _ |
| 495 | simp only [AddMonoidAlgebra.lift_of, MonoidHom.mul_apply, _root_.map_mul] |
| 496 | exact congrArg (fun z ↦ z * t.down.hom (.single 1 1)) (t.down.hom.commutes (epsPow sign)) |
| 497 | apply ULift.down_injective |
| 498 | funext j |
| 499 | change proj c (teichmullerLift c ((charTwist epsPow g ≫ |
| 500 | t.down).hom (.single 1 1))) = proj c (teichmullerLift c (t.down.hom (.single 1 1))) |
| 501 | let F : tilt.obj c →* genericOver.obj c := |
| 502 | (proj (k := k) c).hom.toRingHom.toMonoidHom.comp (teichmullerLift c) |
| 503 | refine (congrArg F h_twist).trans ((map_mul F _ _).trans ?_) |
| 504 | change θ sign * proj c (teichmullerLift c (t.down.hom (.single 1 1))) = _ |
| 505 | rw [θ.mem_ker.mp h_eps, one_mul] |
| 506 | |
| 507 | /-- The Teichmüller coordinate `A = New.Variety.teichmullerCoordinate` with its three properties: |
| 508 | (a) its formula, (b) `[u] [u⁻¹] = 1` on the torus, (c) invariance under `charTwist` after the |
| 509 | projection to `R[1/p]`. -/ |
| 510 | lemma exists_teichmuller_coordinate : |
| 511 | ∃ A : tilt ⋙ reprBy (monoidAlg ℚ≥0) ⟶ thickeningOver ⋙ affineSpace k 1, |
| 512 | -- (a) |
| 513 | (∀ (c : PadicTest) (t : (tilt ⋙ reprBy (monoidAlg ℚ≥0)).obj c), |
| 514 | A c t = ⟨fun (_ : Fin 1) ↦ teichmullerLift c (t.down.hom (AddMonoidAlgebra.single 1 1))⟩) ∧ |
| 515 | -- (b) |
| 516 | (∀ (c : PadicTest) (t : monoidAlg ℚ ⟶ tilt c), |
| 517 | (A c ⟨discToTorus coeHom ≫ t⟩).down 0 * (A c ⟨discToTorus (-coeHom) ≫ t⟩).down 0 = 1) ∧ |
| 518 | -- (c) |
| 519 | ∀ (c : PadicTest) (i : Bool) (t : (tilt ⋙ reprBy (monoidAlg ℚ≥0)).obj c), |
| 520 | (A ≫ whiskerRight proj (affineSpace k 1)) c |
| 521 | ⟨charTwist epsPow (cond i coeHom (-coeHom)) ≫ t.down⟩ = |
| 522 | (A ≫ whiskerRight proj (affineSpace k 1)) c t := |
| 523 | ⟨teichmullerCoordinate, fun _ _ ↦ rfl, teichmullerCoordinate_mul_inv, |
| 524 | teichmullerCoordinate_comp_proj_charTwist⟩ |
| 525 | |
| 526 | /-- If `one` is a unit for `mult`, that is, `x ↦ x ⊗ one` followed by `mult` is the identity of `F`, |
| 527 | then pulling the class `x ⊗ F` followed by `mult` back along `S ↦ S ⊗ one` recovers `x`. -/ |
| 528 | lemma pullbackAlong_tensorPoint_comp_eq_self {N F : AbFunctor PadicTest} [HasFlatValues F] |
| 529 | (x : TotalH N F) {one : freeAb (onePointFunctor PadicTest) ⟶ F} {mult : abTensor F F ⟶ F} |
| 530 | (h_unit : tensorPoint one F ≫ mult = 𝟙 F) : |
| 531 | pullbackAlong (tensorPoint one N) |
| 532 | (TotalH.comp (TotalH.map (abTensor.flip F) x) (TotalH.homClass mult)) = x := by |
| 533 | -- `S ↦ S ⊗ one` is natural in `S`, so the pull-back moves past `x`; then `h_unit` applies. |
| 534 | calc |
| 535 | _ = TotalH.comp (TotalH.map (𝟭 _) x) (pullbackAlong (tensorPoint one F) (.homClass mult)) := |
| 536 | (TotalH.comp_assoc_of_sq (naturality ..) _).symm |
| 537 | _ = x := by |
| 538 | rw [TotalH.map_id, ← homClass_comp, h_unit] |
| 539 | exact comp_id |
| 540 | |
| 541 | /-- The class on `p`-adic tests that `λ₁` gives on the symbol `[dT/T]` |
| 542 | (`New.Variety.hodgeTateMap_symbolClass`): the boundary class of the pair `(𝔸¹, 𝔸¹ ∖ 0)` times the |
| 543 | class of the extension `0 → T → Bˣ → Tˣ → 0` of `New.Variety.thickeningOver.shortExact_oneSubMu`, |
| 544 | pulled back along `New.Variety.Gm.ofCoord`. -/ |
| 545 | private def unitsExtClass : |
| 546 | H (genericOver ⋙ relFreeAb (unimodular (k := k) (d := 1))) genericCoeff 2 := |
| 547 | ((relFreeAb.shortExact (unimodular (k := k) (d := 1))).2.map_of_exact |
| 548 | (restrictAlong genericOver)).extClass.comp |
| 549 | (H.map _ (genericOver.whiskerLeft Gm.ofCoord) 1 shortExact_oneSubMu.2.extClass) rfl |
| 550 | |
| 551 | /-- Let `s` be a section of the map of pairs induced by the coordinate of the chart `0` of `ℙ¹` |
| 552 | (`h_section`), and let `ξT` restrict on the chart `0` to the pull-back of |
| 553 | `New.Variety.unitsExtClass` along that coordinate (`h_compare`). If `j'` lifts `j` followed by `s` |
| 554 | and the inclusion of the chart (`hj'`), then the pull-back of `unitsExtClass` along `j` is the |
| 555 | pull-back along `j'` of the image of `ξT` in `ℤ[ℙ¹]`. -/ |
| 556 | private lemma projSpace.map_unitsExtClass_eq_map_of_comp_eq {B : AbFunctor PadicTest} |
| 557 | {s : relFreeAb (unimodular (k := k) (d := 1)) ⟶ |
| 558 | relFreeAb ((offPoints {affinePoint 0 0}).preimage (pointMap (stdChart k 1 0).point))} |
| 559 | (h_section : s ≫ relFreeAb.map _ cutsOutLocus_stdChart_zero_X.preimage_fieldLocus_not.le = |
| 560 | 𝟙 (relFreeAb (unimodular (d := 1)))) |
| 561 | {ξT : H (genericOver ⋙ relFreeAb (offPoints {affinePoint 0 0})) genericCoeff 2} |
| 562 | (h_compare : |
| 563 | H.map genericCoeff |
| 564 | (genericOver.whiskerLeft (relFreeAb.map (pointMap (stdChart k 1 0).point) le_rfl)) 2 ξT = |
| 565 | H.map genericCoeff |
| 566 | (genericOver.whiskerLeft |
| 567 | (relFreeAb.map _ cutsOutLocus_stdChart_zero_X.preimage_fieldLocus_not.le)) |
| 568 | 2 unitsExtClass) |
| 569 | {j : B ⟶ genericOver ⋙ relFreeAb (unimodular (k := k) (d := 1))} |
| 570 | {j' : B ⟶ genericOver ⋙ freeAb.obj (projSpace k 1)} |
| 571 | (hj' : j' ≫ genericOver.whiskerLeft (relFreeAb.π (offPoints {affinePoint 0 0})) = |
| 572 | j ≫ genericOver.whiskerLeft (s ≫ relFreeAb.map (pointMap (stdChart k 1 0).point) le_rfl)) : |
| 573 | H.map genericCoeff j 2 unitsExtClass = |
| 574 | H.map genericCoeff j' 2 |
| 575 | (H.map genericCoeff (genericOver.whiskerLeft (relFreeAb.π (offPoints {affinePoint 0 0}))) |
| 576 | 2 ξT) := by |
| 577 | -- `r` is the inclusion of the chart; `s` is a section of the coordinate map, so `ξT` pulls back |
| 578 | -- to `unitsExtClass` along `s ≫ r`. |
| 579 | let r : relFreeAb _ ⟶ relFreeAb (offPoints {affinePoint 0 0}) := |
| 580 | relFreeAb.map (pointMap (stdChart k 1 0).point) le_rfl |
| 581 | have h_local : H.map genericCoeff (genericOver.whiskerLeft (s ≫ r)) 2 ξT = unitsExtClass := |
| 582 | calc |
| 583 | _ = H.map genericCoeff |
| 584 | (genericOver.whiskerLeft |
| 585 | (s ≫ relFreeAb.map _ cutsOutLocus_stdChart_zero_X.preimage_fieldLocus_not.le)) |
| 586 | 2 unitsExtClass := by |
| 587 | rw [whiskerLeft_comp, H.map_comp, h_compare] |
| 588 | exact (H.map_comp ..).symm |
| 589 | _ = unitsExtClass := by rw [h_section, whiskerLeft_id', H.map_id] |
| 590 | calc |
| 591 | _ = H.map genericCoeff (j ≫ genericOver.whiskerLeft (s ≫ r)) 2 ξT := by |
| 592 | rw [H.map_comp, h_local] |
| 593 | _ = H.map genericCoeff |
| 594 | (j' ≫ genericOver.whiskerLeft (relFreeAb.π (offPoints {affinePoint 0 0}))) 2 ξT := by |
| 595 | rw [hj'] |
| 596 | _ = _ := H.map_comp .. |
| 597 | |
| 598 | /-- The map `j` of a Toda cancellation lifts through the projective line. Let `A` be a natural map |
| 599 | from the perfect disc to the affine line over `B` whose values at `u` and `u⁻¹` multiply to `1` on |
| 600 | the torus (`hA_inv`), and let its image `a` in `R[1/p]` be invariant under the twists of the two |
| 601 | discs (`hA_twist`). Let `(j, y, ω)` cancel `New.Variety.unitsExtClass` in the sense of |
| 602 | `New.Variety.IsTodaCancellation`, for the gluing of the two discs and the map induced by `a`. Let |
| 603 | `ξT` be a class on tests relative to the complement of `[1 : 0]` whose restriction to the chart `0` |
| 604 | is the pull-back of `unitsExtClass` along the coordinate (`h_compare`). Then the pull-back of |
| 605 | `unitsExtClass` along `j` is the pull-back along some `j'` of the image of `ξT` in `ℤ[ℙ¹]`. -/ |
| 606 | private lemma projSpace.exists_map_eq_map_of_isTodaCancellation |
| 607 | (A : tilt ⋙ reprBy (monoidAlg ℚ≥0) ⟶ thickeningOver ⋙ affineSpace k 1) |
| 608 | (hA_inv : ∀ (c : PadicTest) (t : monoidAlg ℚ ⟶ tilt c), |
| 609 | (A c ⟨discToTorus coeHom ≫ t⟩).down 0 * (A c ⟨discToTorus (-coeHom) ≫ t⟩).down 0 = 1) |
| 610 | (hA_twist : |
| 611 | ∀ (c : PadicTest) (i : ULift.{1} Bool) (t : (tilt ⋙ reprBy (monoidAlg ℚ≥0)).obj c), |
| 612 | (A ≫ whiskerRight proj (affineSpace k 1)) c ⟨discTwist epsPow i ≫ t.down⟩ = |
| 613 | (A ≫ whiskerRight proj (affineSpace k 1)) c t) |
| 614 | {B K Z₀ : AbFunctor PadicTest} {ε : Z₀ ⟶ genericCoeff} {y : Z₀ ⟶ K} {ω : TotalH B K} |
| 615 | {j : B ⟶ genericOver ⋙ relFreeAb (unimodular (k := k) (d := 1))} |
| 616 | (h_toda : IsTodaCancellation gluing (oneSub (discTwist epsPow)) |
| 617 | ((projFirst ≫ freeAb.map (A ≫ whiskerRight proj (affineSpace k 1))) ≫ |
| 618 | genericOver.whiskerLeft (relFreeAb.π unimodular)) |
| 619 | unitsExtClass ε j y ω) |
| 620 | (ξT : H (genericOver ⋙ relFreeAb (offPoints {affinePoint 0 0})) genericCoeff 2) |
| 621 | (h_compare : |
| 622 | H.map genericCoeff |
| 623 | (genericOver.whiskerLeft (relFreeAb.map (pointMap (stdChart k 1 0).point) le_rfl)) 2 ξT = |
| 624 | H.map genericCoeff |
| 625 | (genericOver.whiskerLeft |
| 626 | (relFreeAb.map _ cutsOutLocus_stdChart_zero_X.preimage_fieldLocus_not.le)) |
| 627 | 2 unitsExtClass) : |
| 628 | ∃ j' : B ⟶ genericOver ⋙ freeAb.obj (projSpace k 1), |
| 629 | H.map genericCoeff j 2 unitsExtClass = |
| 630 | H.map genericCoeff j' 2 |
| 631 | (H.map genericCoeff (genericOver.whiskerLeft (relFreeAb.π (offPoints {affinePoint 0 0}))) |
| 632 | 2 ξT) := by |
| 633 | let a : tilt ⋙ reprBy (monoidAlg ℚ≥0) ⟶ genericOver ⋙ affineSpace k 1 := A ≫ whiskerRight proj _ |
| 634 | -- `hA_twist` stated for the let `a`, the form in which `simp` meets it below. |
| 635 | have ha_twist (c : PadicTest) (i : ULift.{1} Bool) (t) : |
| 636 | a c ⟨discTwist epsPow i ≫ t.down⟩ = a c t := |
| 637 | hA_twist c i t |
| 638 | -- `φ` maps the disc `true` to the chart `0` and the disc `false` to the chart `1`. |
| 639 | let T : affineSpace k 1 ⟶ reprBy (stdChart k 1 0).coordRing := |
| 640 | ⟨fun _ ↦ ↾fun v ↦ ⟨ofHom (aeval v.down)⟩, |
| 641 | fun _ _ _ ↦ by ext; congrm ⟨ofHom $((comp_aeval ..).symm)⟩⟩ |
| 642 | let φ : twoDiscs ⟶ genericOver ⋙ projSpace k 1 := |
| 643 | sigma.desc fun i ↦ a ≫ whiskerLeft _ (T ≫ pointMap (stdChart k 1 (cond i.down 0 1)).point) |
| 644 | -- A unit `v` gives a point `[1 : v]` other than `[1 : 0]`; `r` is the inclusion of the chart `0`. |
| 645 | let s : |
| 646 | relFreeAb unimodular ⟶ |
| 647 | relFreeAb ((offPoints {affinePoint 0 0}).preimage (pointMap (stdChart k 1 0).point)) := |
| 648 | relFreeAb.map T fun _ v hv ↦ cutsOutLocus_stdChart_zero_X.preimage_fieldLocus_not.ge _ |
| 649 | (.trans (congrArg _ (congrArg _ (funext (aeval_X _)))) hv) |
| 650 | let r : |
| 651 | relFreeAb ((offPoints {affinePoint 0 0}).preimage (pointMap (stdChart k 1 0).point)) ⟶ |
| 652 | relFreeAb (offPoints {affinePoint 0 0}) := |
| 653 | relFreeAb.map (pointMap (stdChart k 1 0).point) le_rfl |
| 654 | let F := freeAb.map φ - origin ⟨false⟩ twoDiscs ≫ freeAb.map φ |
| 655 | have hF (c : PadicTest) (u : twoDiscs.obj c) : |
| 656 | (F.app c).hom (.of u) = .of (φ c u) - |
| 657 | .of (φ c ⟨⟨false⟩, ⟨evalZero (tilt.obj c)⟩⟩) := by |
| 658 | let z : twoDiscs.obj c := ⟨⟨false⟩, ⟨evalZero (tilt.obj c)⟩⟩ |
| 659 | have ho : ((origin ⟨false⟩ twoDiscs).app c).hom (.of u) = .of z := freeAb.desc_of .. |
| 660 | let m := ((freeAb.map φ).app c).hom |
| 661 | let o := ((origin ⟨false⟩ twoDiscs).app c).hom |
| 662 | change (m - m.comp o) (.of u) = _ |
| 663 | exact (AddMonoidHom.sub_apply m (m.comp o) _).trans |
| 664 | (congrArg₂ (· - ·) (freeAb.map_of ..) ((congrArg m ho).trans (freeAb.map_of ..))) |
| 665 | -- The map `x ↦ [φ x] - [∞]` on the discs, `∞` the image of the origin of the disc `false`, lifts |
| 666 | -- `j` to `j'` with values in `freeAb (projSpace k 1)`. |
| 667 | obtain ⟨j', hj'⟩ : |
| 668 | ∃ j', |
| 669 | j' ≫ genericOver.whiskerLeft (relFreeAb.π (offPoints {affinePoint 0 0})) = |
| 670 | j ≫ genericOver.whiskerLeft (s ≫ r) := by |
| 671 | refine h_toda.exists_lift F _ _ |
| 672 | (hom_ext ?_) (hom_ext fun c t ↦ ?_) (hom_ext ?_) |
| 673 | · -- The two charts are glued along `u ↦ u⁻¹`. |
| 674 | rintro c ⟨⟨_ | _⟩, t⟩ |
| 675 | · let u : (tiltPointsSum pointOrTorus).obj c := ⟨⟨false⟩, t⟩ |
| 676 | change (F.app c).hom ((gluing.app c).hom (.of u)) = 0 |
| 677 | let z : twoDiscs.obj c := ⟨⟨false⟩, ⟨evalZero (tilt.obj c)⟩⟩ |
| 678 | let z' : twoDiscs.obj c := ⟨⟨false⟩, ⟨evalZero _ ≫ t.down⟩⟩ |
| 679 | have h_origin : z' = z := |
| 680 | congrArg (fun f ↦ (⟨⟨false⟩, ⟨f⟩⟩ : twoDiscs.obj c)) (evalZero_comp t.down) |
| 681 | refine (congrArg (F.app c).hom (gluing_apply_point c t)).trans ((hF c z').trans ?_) |
| 682 | exact sub_eq_zero.mpr (congrArg (fun v ↦ FreeAddCommGroup.of (φ c v)) h_origin) |
| 683 | · let u : (tiltPointsSum pointOrTorus).obj c := ⟨⟨true⟩, t⟩ |
| 684 | let u₀ : twoDiscs.obj c := ⟨⟨false⟩, ⟨discToTorus (-coeHom) ≫ t.down⟩⟩ |
| 685 | let u₁ : twoDiscs.obj c := ⟨⟨true⟩, ⟨discToTorus coeHom ≫ t.down⟩⟩ |
| 686 | have h_eq : φ c u₀ = φ c u₁ := by |
| 687 | change projSpace.mk _ _ = projSpace.mk _ _ |
| 688 | apply mk_eq_mk_iff_cross_mul.mpr |
| 689 | let b₀ := a c u₀.snd |
| 690 | let b₁ := a c u₁.snd |
| 691 | have h_mul : b₁.down 0 * b₀.down 0 = 1 := by |
| 692 | change proj c ((A c u₁.snd).down 0) * proj c ((A c u₀.snd).down 0) = 1 |
| 693 | exact ((_root_.map_mul (proj c).hom _ _).symm.trans |
| 694 | (congrArg (proj c).hom (hA_inv c t.down))).trans (map_one _) |
| 695 | let v₀ : Fin 2 → MvPolynomial (Fin 1) k := |
| 696 | Fin.insertNth (α := fun _ ↦ MvPolynomial (Fin 1) k) 1 1 X |
| 697 | let v₁ : Fin 2 → MvPolynomial (Fin 1) k := |
| 698 | Fin.insertNth (α := fun _ ↦ MvPolynomial (Fin 1) k) 0 1 X |
| 699 | change ∀ i j, aeval b₀.down (v₀ i) * aeval b₁.down (v₁ j) = |
| 700 | aeval b₁.down (v₁ i) * aeval b₀.down (v₀ j) |
| 701 | have hv₀ : v₀ 0 = X 0 := |
| 702 | Fin.insertNth_apply_succAbove (α := fun _ ↦ MvPolynomial (Fin 1) k) 1 1 X 0 |
| 703 | have hv₀' : v₀ 1 = 1 := |
| 704 | Fin.insertNth_apply_same (α := fun _ ↦ MvPolynomial (Fin 1) k) 1 1 X |
| 705 | have hv₁ : v₁ 0 = 1 := |
| 706 | Fin.insertNth_apply_same (α := fun _ ↦ MvPolynomial (Fin 1) k) 0 1 X |
| 707 | have hv₁' : v₁ 1 = X 0 := |
| 708 | Fin.insertNth_apply_succAbove (α := fun _ ↦ MvPolynomial (Fin 1) k) 0 1 X 0 |
| 709 | -- Two of the four cross products are trivial, and the other two are `h_mul`. |
| 710 | simp only [Fin.forall_fin_two, hv₀, hv₀', hv₁, hv₁', map_one, aeval_X, mul_one, one_mul, |
| 711 | true_and, and_true] |
| 712 | exact ⟨(mul_comm _ _).trans h_mul, h_mul.symm⟩ |
| 713 | change (F.app c).hom ((gluing.app c).hom (.of u)) = 0 |
| 714 | refine (congrArg (F.app c).hom (gluing_apply_torus c t)).trans ?_ |
| 715 | refine (_root_.map_sub (F.app c).hom _ _).trans ?_ |
| 716 | refine (congrArg₂ (· - ·) (hF c u₀) (hF c u₁)).trans ?_ |
| 717 | rw [h_eq, sub_self] |
| 718 | · -- `φ` is invariant under the twist, by `ha_twist`. |
| 719 | let t' : twoDiscs.obj c := ⟨t.fst, ⟨discTwist epsPow t.fst ≫ t.snd.down⟩⟩ |
| 720 | have h_twist : ((oneSub (discTwist epsPow)).app c).hom (.of t) = |
| 721 | .of t - .of t' := freeAb.desc_of .. |
| 722 | have h_eq : φ c t = φ c t' := by |
| 723 | exact congrArg ((T ≫ pointMap (stdChart k 1 (cond t.fst.down 0 1)).point) |
| 724 | (genericOver.obj c)) (ha_twist c t.fst t.snd).symm |
| 725 | change (F.app c).hom (((oneSub (discTwist epsPow)).app c).hom (.of t)) = 0 |
| 726 | refine (congrArg (F.app c).hom h_twist).trans ?_ |
| 727 | refine (_root_.map_sub (F.app c).hom _ _).trans ?_ |
| 728 | refine (congrArg₂ (· - ·) (hF c t) (hF c t')).trans ?_ |
| 729 | rw [h_eq, sub_self] |
| 730 | · -- Modulo the complement of the point, `∞` and the whole disc `false` vanish. |
| 731 | intro c u |
| 732 | let Z : Subfunctor (projSpace k 1) := offPoints {affinePoint 0 0} |
| 733 | let C := genericOver.obj c |
| 734 | let P := (relFreeAb.π Z).app C |
| 735 | let J := (relFreeAb.π (unimodular (k := k) (d := 1))).app C |
| 736 | let z : twoDiscs.obj c := ⟨⟨false⟩, ⟨evalZero (tilt.obj c)⟩⟩ |
| 737 | have hz : relFreeAb.mk Z (φ c z) = 0 := relFreeAb_mk_stdChart_one_eq_zero C _ |
| 738 | change P.hom ((F.app c).hom (.of u)) = |
| 739 | (r.app C).hom ((s.app C).hom (J.hom (((freeAb.map a).app c).hom |
| 740 | (((projFirst (B := fun _ ↦ monoidAlg ℚ≥0)).app c).hom (.of u))))) |
| 741 | refine (congrArg P.hom (hF c u)).trans ((_root_.map_sub P.hom _ _).trans ?_) |
| 742 | change relFreeAb.mk Z (φ c u) - relFreeAb.mk Z (φ c z) = _ |
| 743 | rw [hz, sub_zero] |
| 744 | let descend := (r.app C).hom.comp ((s.app C).hom.comp |
| 745 | (J.hom.comp ((freeAb.map a).app c).hom)) |
| 746 | obtain ⟨⟨_ | _⟩, t⟩ := u |
| 747 | · refine Eq.trans (relFreeAb_mk_stdChart_one_eq_zero C _) ?_ |
| 748 | symm |
| 749 | refine (congrArg descend |
| 750 | (projFirst_false (B := fun _ ↦ monoidAlg ℚ≥0) c t)).trans ?_ |
| 751 | exact map_zero descend |
| 752 | · refine Eq.trans ?_ (congrArg |
| 753 | descend |
| 754 | (projFirst_true (B := fun _ ↦ monoidAlg ℚ≥0) c t)).symm |
| 755 | have h_map : ((freeAb.map a).app c).hom (.of t) = |
| 756 | FreeAddCommGroup.of (a c t) := freeAb.map_of .. |
| 757 | exact (congrArg (fun x ↦ (r.app C).hom ((s.app C).hom (J.hom x))) h_map).symm |
| 758 | -- `T` is a section of the coordinate map. |
| 759 | have h_section : s ≫ relFreeAb.map _ cutsOutLocus_stdChart_zero_X.preimage_fieldLocus_not.le = 𝟙 |
| 760 | _ := |
| 761 | relFreeAb.hom_ext fun _ _ ↦ congrArg (relFreeAb.mk unimodular ⟨·⟩) (funext (aeval_X _)) |
| 762 | exact ⟨j', map_unitsExtClass_eq_map_of_comp_eq h_section h_compare hj'⟩ |
| 763 | |
| 764 | /-- Let `(j, y, ω)` cancel `New.Variety.unitsExtClass` in the sense of |
| 765 | `New.Variety.IsTodaCancellation`, for the gluing of the two perfect discs, where `ε` sends the point |
| 766 | to a unit for the multiplication of `R[1/p]` (`h_unit`). If the pull-back of `unitsExtClass` along |
| 767 | `j` is the pull-back of `η` along `j'` (`h_pull`), then for `N` with flat values and `x` in |
| 768 | `H^n(N, R[1/p])`, the product `x × η` vanishes only if `x = 0`. -/ |
| 769 | private lemma eq_zero_of_cup_eq_zero_of_isTodaCancellation {B K : AbFunctor PadicTest} |
| 770 | {q : freeAb twoDiscs ⟶ genericOver ⋙ relFreeAb (unimodular (k := k) (d := 1))} |
| 771 | {ε : freeAb (onePointFunctor PadicTest) ⟶ genericCoeff} |
| 772 | {j : B ⟶ genericOver ⋙ relFreeAb (unimodular (k := k) (d := 1))} |
| 773 | {y : freeAb (onePointFunctor PadicTest) ⟶ K} {ω : TotalH B K} |
| 774 | (h_toda : IsTodaCancellation gluing (oneSub (discTwist epsPow)) q unitsExtClass ε j y ω) |
| 775 | (h_unit : |
| 776 | tensorPoint ε genericCoeff ≫ |
| 777 | (genericAlg ⋙ forget₂ (CommAlg ℂ_[p]) (AlgCat ℂ_[p])).mulPairing = |
| 778 | 𝟙 genericCoeff) |
| 779 | {η : H (genericOver ⋙ freeAb.obj (projSpace k 1)) genericCoeff 2} |
| 780 | {j' : B ⟶ genericOver ⋙ freeAb.obj (projSpace k 1)} |
| 781 | (h_pull : H.map genericCoeff j 2 unitsExtClass = H.map genericCoeff j' 2 η) |
| 782 | {N : AbFunctor PadicTest} [HasFlatValues N] {n : ℕ} (x : H N genericCoeff n) |
| 783 | (hx : cup (genericAlg ⋙ forget₂ (CommAlg ℂ_[p]) (AlgCat ℂ_[p])).mulPairing x η (add_comm 2 n) = |
| 784 | 0) : |
| 785 | x = 0 := by |
| 786 | -- Apply `h_toda` to `Φ = N ⊗ -` and `m`, the class `x ⊗ genericCoeff` followed by multiplication: |
| 787 | -- its product with `j^* unitsExtClass` is the pull-back along `j'` of `x × η = 0`. |
| 788 | let Φ : AbFunctor PadicTest ⥤ AbFunctor PadicTest := abTensor N |
| 789 | let mult : abTensor genericCoeff genericCoeff ⟶ genericCoeff := |
| 790 | (genericAlg ⋙ forget₂ (CommAlg ℂ_[p]) (AlgCat ℂ_[p])).mulPairing |
| 791 | let m : TotalH (Φ genericCoeff) genericCoeff := |
| 792 | TotalH.comp (TotalH.map (abTensor.flip genericCoeff) x.toTotalH) (.homClass mult) |
| 793 | have h_zero : |
| 794 | pullbackAlong (Φ.map j) (TotalH.comp (TotalH.map Φ unitsExtClass.toTotalH) m) = 0 := |
| 795 | calc |
| 796 | _ = TotalH.comp (TotalH.map Φ (pullbackAlong j unitsExtClass.toTotalH)) m := by |
| 797 | rw [TotalH.map_comp_assoc, map_homClass] |
| 798 | _ = TotalH.comp (TotalH.map Φ (pullbackAlong j' η.toTotalH)) m := by |
| 799 | rw [Abelian.Ext.toTotalH, Abelian.Ext.toTotalH, pullbackAlong_of, pullbackAlong_of, h_pull] |
| 800 | _ = pullbackAlong (Φ.map j') (TotalH.comp (TotalH.map Φ η.toTotalH) m) := by |
| 801 | rw [TotalH.map_comp_assoc, map_homClass] |
| 802 | _ = pullbackAlong (Φ.map j') (cup mult x η (add_comm 2 n)).toTotalH := |
| 803 | congrArg _ ((comp_assoc_of_eq rfl _).trans (cup_of ..)) |
| 804 | _ = 0 := by |
| 805 | rw [hx] |
| 806 | exact (congrArg _ (map_zero _)).trans (map_zero _) |
| 807 | -- Pulling `m` back along `S ↦ S ⊗ ε` recovers `x`, and by `h_toda` this pull-back is zero; |
| 808 | -- `subsingleton_H_cokernel_gluing` gives the acyclicity of the cokernel of the gluing that it |
| 809 | -- needs. |
| 810 | have h_vanish : pullbackAlong (tensorPoint ε N) m = 0 := |
| 811 | (h_toda.pullbackAlong_comp_map_eq Φ (subsingleton_H_cokernel_gluing isCohomEquiv_gluing_generic |
| 812 | N) |
| 813 | (tensorPoint (𝟙 _) _) m 0 (h_zero.trans (map_zero _).symm)).trans (map_zero _) |
| 814 | rw [pullbackAlong_tensorPoint_comp_eq_self x.toTotalH h_unit] at h_vanish |
| 815 | exact DirectSum.of_injective n (h_vanish.trans (map_zero _).symm) |
| 816 | |
| 817 | private lemma teichmullerCoordinate_cancel_twist (c : PadicTest) |
| 818 | (t : monoidAlg ℚ ⟶ tilt.obj c) : |
| 819 | (1 - mulMu c (1 : genericOver (k := k) |>.obj c)) * |
| 820 | teichmullerLift c ((discToTorus NNRat.coeHom ≫ charTwist epsPow (AddMonoidHom.id ℚ) ≫ t).hom |
| 821 | (AddMonoidAlgebra.single 1 1)) = |
| 822 | teichmullerLift c ((discToTorus NNRat.coeHom ≫ t).hom (AddMonoidAlgebra.single 1 1)) := by |
| 823 | let q : AddMonoidAlgebra OFlat ℚ := AddMonoidAlgebra.single 1 1 |
| 824 | let s : AddMonoidAlgebra OFlat ℚ≥0 := AddMonoidAlgebra.single 1 1 |
| 825 | have h_disc : (discToTorus NNRat.coeHom).hom s = q := by |
| 826 | change AddMonoidAlgebra.mapDomain NNRat.coeHom s = q |
| 827 | rw [AddMonoidAlgebra.mapDomain_single] |
| 828 | rfl |
| 829 | have h_twist : (charTwist epsPow (AddMonoidHom.id ℚ)).hom q = |
| 830 | algebraMap OFlat (AddMonoidAlgebra OFlat ℚ) epsTilt * q := by |
| 831 | change AddMonoidAlgebra.lift OFlat (AddMonoidAlgebra OFlat ℚ) ℚ |
| 832 | (((algebraMap OFlat (AddMonoidAlgebra OFlat ℚ)).toMonoidHom.comp epsPow) * |
| 833 | AddMonoidAlgebra.of OFlat ℚ) (AddMonoidAlgebra.of OFlat ℚ (.ofAdd 1)) = _ |
| 834 | rw [AddMonoidAlgebra.lift_of, MonoidHom.mul_apply, MonoidHom.comp_apply, epsPow_one] |
| 835 | rfl |
| 836 | change (1 - mulMu c _) * teichmullerLift c |
| 837 | (t.hom ((charTwist epsPow (AddMonoidHom.id ℚ)).hom ((discToTorus NNRat.coeHom).hom s))) = |
| 838 | teichmullerLift c (t.hom ((discToTorus NNRat.coeHom).hom s)) |
| 839 | rw [h_disc, h_twist, _root_.map_mul, t.hom.commutes, _root_.map_mul, teichmullerLift_epsTilt] |
| 840 | let μ : thickeningOver (k := k) |>.obj c := mulMu c 1 |
| 841 | let u : thickeningOver (k := k) |>.obj c := teichmullerLift c (t.hom q) |
| 842 | change (1 - μ) * ((1 + μ) * u) = u |
| 843 | have h_sq : μ * μ = 0 := by |
| 844 | change mulMu c 1 * mulMu c 1 = 0 |
| 845 | rw [← mulMu_proj_mul, proj_mulMu, zero_mul, map_zero] |
| 846 | have h_cancel : (1 - μ) * (1 + μ) = 1 := by |
| 847 | calc |
| 848 | _ = 1 - μ * μ := by ring |
| 849 | _ = 1 := by rw [h_sq, sub_zero] |
| 850 | rw [← mul_assoc, h_cancel, one_mul] |
| 851 | |
| 852 | /-- Let `k` be a field of characteristic `0` with an embedding in `ℚ̄_p`. There is a degree-two |
| 853 | cohomology class `η` of the functor `S ↦ ℤ[ℙ¹(S[1/p])]` on `p`-adic tests `S` (with ring `R`, |
| 854 | written `S[1/p] = R[1/p]`), with coefficients `S ↦ R[1/p]` (`genericCoeff`), such that the following |
| 855 | hold. (a) The Hodge–Tate map `hodgeTateMap 1` sends the class of the point `[1 : 0]` to |
| 856 | `restrictToPairs η`. (b) For every functor `N` from `p`-adic tests to abelian groups with flat |
| 857 | values and every `x` in the degree-`n` cohomology of `N` with coefficients `R[1/p]`, the cup product |
| 858 | of `x` and `η` (paired by multiplication in `R[1/p]`) vanishes only if `x = 0`. -/ |
| 859 | lemma projSpace.exists_hodgeTateMap_pointClass_line : |
| 860 | ∃ η : H (genericOver ⋙ freeAb.obj (projSpace k 1)) genericCoeff 2, |
| 861 | -- (a) |
| 862 | hodgeTateMap 1 (pointClass 1 (affinePoint (k := k) (d := 1) 0 0)) = restrictToPairs η ∧ |
| 863 | -- (b) |
| 864 | ∀ {N : AbFunctor PadicTest} {n : ℕ} [HasFlatValues N] (x : H N genericCoeff n), |
| 865 | cup (genericAlg ⋙ forget₂ (CommAlg ℂ_[p]) (AlgCat ℂ_[p])).mulPairing x η (add_comm 2 n) = 0 → |
| 866 | x = 0 := by |
| 867 | -- `hodgeTateMap 1` of the point comes from `unitsExtClass`; `exists_isTodaCancellation`, for two |
| 868 | -- perfect discs mapping to the charts of `ℙ¹`, gives a map `j` along which `unitsExtClass` comes |
| 869 | -- from `η`, and `x × η = 0` then forces `x = 0`. |
| 870 | obtain ⟨ξT, h_point, h_compare⟩ := exists_relative_point_class (k := k) |
| 871 | let η : H (genericOver ⋙ freeAb.obj (projSpace k 1)) genericCoeff 2 := |
| 872 | H.map _ (genericOver.whiskerLeft (relFreeAb.π (offPoints {affinePoint 0 0}))) 2 ξT |
| 873 | refine ⟨η, h_point, fun {N n} _ x hx ↦ ?_⟩ |
| 874 | -- `A` sends `u` to `[u]`; its image `a` in `R[1/p]` is invariant under the twist `charTwist`. |
| 875 | obtain ⟨A, hA, hA_inv, hA_twist⟩ := exists_teichmuller_coordinate (k := k) |
| 876 | let a : tilt ⋙ reprBy (monoidAlg ℚ≥0) ⟶ genericOver ⋙ affineSpace k 1 := A ≫ whiskerRight proj _ |
| 877 | have ha_twist (c : PadicTest) (i : ULift.{1} Bool) (t : (tilt ⋙ reprBy (monoidAlg ℚ≥0)).obj c) : |
| 878 | a c ⟨discTwist epsPow i ≫ t.down⟩ = a c t := by |
| 879 | obtain ⟨_ | _⟩ := i |
| 880 | exacts [hA_twist c false t, hA_twist c true t] |
| 881 | -- On the torus `[u]` is a unit, so a point of `unimodular` over `thickeningOver`; `W` kills the |
| 882 | -- extra point of `pointOrTorus`. |
| 883 | let torusPoint (c : PadicTest) (t : (tilt ⋙ reprBy (monoidAlg ℚ)).obj c) : |
| 884 | (unimodular (d := 1)).toFunctor.obj (thickeningOver.obj c) := |
| 885 | ⟨A c ⟨discToTorus coeHom ≫ t.down⟩, |
| 886 | span_eq_top_of_isUnit 0 (.of_mul_eq_one _ (hA_inv c t.down))⟩ |
| 887 | let W : |
| 888 | freeAb (tiltPointsSum pointOrTorus) ⟶ |
| 889 | thickeningOver ⋙ freeAb (unimodular (k := k) (d := 1)).toFunctor := |
| 890 | projFirst ≫ desc (fun c t ↦ .of (torusPoint c t)) |
| 891 | fun _ _ f _ ↦ .symm congr(.of $(Subtype.ext (A.naturality_apply ..).symm)) |
| 892 | have h_W_false (c : PadicTest) (t : (tilt ⋙ reprBy (CommAlgCat.of OFlat OFlat)).obj c) : |
| 893 | (W.app c).hom (.of (⟨⟨false⟩, t⟩ : (tiltPointsSum pointOrTorus).obj c)) = 0 := by |
| 894 | let u : (tiltPointsSum pointOrTorus).obj c := ⟨⟨false⟩, t⟩ |
| 895 | change (FreeAddCommGroup.lift (fun t ↦ FreeAddCommGroup.of (torusPoint c t))) |
| 896 | (((projFirst (B := pointOrTorus)).app c).hom (.of u)) = 0 |
| 897 | exact (congrArg (FreeAddCommGroup.lift (fun t ↦ FreeAddCommGroup.of (torusPoint c t))) |
| 898 | (projFirst_false (B := pointOrTorus) c t)).trans (map_zero _) |
| 899 | have h_W_true (c : PadicTest) (t : (tilt ⋙ reprBy (monoidAlg ℚ)).obj c) : |
| 900 | (W.app c).hom (.of (⟨⟨true⟩, t⟩ : (tiltPointsSum pointOrTorus).obj c)) = |
| 901 | .of (torusPoint c t) := by |
| 902 | let u : (tiltPointsSum pointOrTorus).obj c := ⟨⟨true⟩, t⟩ |
| 903 | change (FreeAddCommGroup.lift (fun t ↦ FreeAddCommGroup.of (torusPoint c t))) |
| 904 | (((projFirst (B := pointOrTorus)).app c).hom (.of u)) = _ |
| 905 | exact (congrArg (FreeAddCommGroup.lift (fun t ↦ FreeAddCommGroup.of (torusPoint c t))) |
| 906 | (projFirst_true (B := pointOrTorus) c t)).trans (FreeAddCommGroup.lift_apply_of ..) |
| 907 | -- `one` sends every point to the unit of `genericAlg`. |
| 908 | let one {X : PadicTest ⥤ Type 1} : freeAb X ⟶ genericCoeff := |
| 909 | desc (fun c _ ↦ ⟨(1 : genericAlg c)⟩) fun _ _ _ _ ↦ |
| 910 | congrArg _ (map_one (genericAlg.map _).hom').symm |
| 911 | let f : freeAb twoDiscs ⟶ genericOver ⋙ freeAb.obj (affineSpace k 1) := |
| 912 | projFirst ≫ freeAb.map a |
| 913 | have h_f_false (c : PadicTest) (t : (tilt ⋙ reprBy (monoidAlg ℚ≥0)).obj c) : |
| 914 | (f.app c).hom (.of (⟨⟨false⟩, t⟩ : twoDiscs.obj c)) = 0 := by |
| 915 | let u : twoDiscs.obj c := ⟨⟨false⟩, t⟩ |
| 916 | change ((freeAb.map a).app c).hom |
| 917 | (((projFirst (B := fun _ ↦ monoidAlg ℚ≥0)).app c).hom (.of u)) = 0 |
| 918 | exact (congrArg ((freeAb.map a).app c).hom |
| 919 | (projFirst_false (B := fun _ ↦ monoidAlg ℚ≥0) c t)).trans (map_zero _) |
| 920 | have h_f_true (c : PadicTest) (t : (tilt ⋙ reprBy (monoidAlg ℚ≥0)).obj c) : |
| 921 | (f.app c).hom (.of (⟨⟨true⟩, t⟩ : twoDiscs.obj c)) = |
| 922 | FreeAddCommGroup.of (a c t) := by |
| 923 | let u : twoDiscs.obj c := ⟨⟨true⟩, t⟩ |
| 924 | change ((freeAb.map a).app c).hom |
| 925 | (((projFirst (B := fun _ ↦ monoidAlg ℚ≥0)).app c).hom (.of u)) = _ |
| 926 | exact (congrArg ((freeAb.map a).app c).hom |
| 927 | (projFirst_true (B := fun _ ↦ monoidAlg ℚ≥0) c t)).trans (freeAb.map_of ..) |
| 928 | have h_origin : origin ⟨true⟩ ≫ oneSub (discTwist epsPow) = 0 := by |
| 929 | refine freeAb.hom_ext fun c t ↦ ?_ |
| 930 | let z : twoDiscs.obj c := ⟨⟨true⟩, ⟨evalZero (tilt.obj c)⟩⟩ |
| 931 | let z' : twoDiscs.obj c := |
| 932 | ⟨⟨true⟩, ⟨discTwist epsPow ⟨true⟩ ≫ evalZero (tilt.obj c)⟩⟩ |
| 933 | have ho : ((origin ⟨true⟩).app c).hom (.of t) = .of z := freeAb.desc_of .. |
| 934 | have hd : ((oneSub (discTwist epsPow)).app c).hom (.of z) = .of z - .of z' := |
| 935 | freeAb.desc_of .. |
| 936 | have hz : z' = z := by |
| 937 | exact congrArg (fun w ↦ (⟨⟨true⟩, ⟨w⟩⟩ : twoDiscs.obj c)) |
| 938 | (charTwist_comp_evalZero ..) |
| 939 | change ((oneSub (discTwist epsPow)).app c).hom (((origin ⟨true⟩).app c).hom (.of t)) = 0 |
| 940 | erw [ho, hd, hz, sub_self] |
| 941 | let κ : freeAb twoDiscs ⟶ genericCoeff := projFirst ≫ one |
| 942 | have h_κ (c : PadicTest) (b : Bool) (t : (tilt ⋙ reprBy (monoidAlg ℚ≥0)).obj c) : |
| 943 | (κ.app c).hom (.of (⟨⟨b⟩, t⟩ : twoDiscs.obj c)) = |
| 944 | if b then ⟨(1 : genericAlg c)⟩ else 0 := by |
| 945 | let u : twoDiscs.obj c := ⟨⟨b⟩, t⟩ |
| 946 | change (one.app c).hom (((projFirst (B := fun _ ↦ monoidAlg ℚ≥0)).app c).hom (.of u)) = _ |
| 947 | cases b |
| 948 | · exact (congrArg (one.app c).hom |
| 949 | (projFirst_false (B := fun _ ↦ monoidAlg ℚ≥0) c t)).trans (map_zero _) |
| 950 | · exact (congrArg (one.app c).hom |
| 951 | (projFirst_true (B := fun _ ↦ monoidAlg ℚ≥0) c t)).trans (freeAb.desc_of ..) |
| 952 | -- `exists_isTodaCancellation` for the gluing, with `δ`, `δ'` one minus the twist and `origin` |
| 953 | -- that of the disc `true`; `h_toda` says that `j^* (unitsExtClass m) = 0` kills the pull-back of |
| 954 | -- `m` along `one`. |
| 955 | obtain ⟨B, K, j, y, ω, h_toda⟩ := by |
| 956 | refine exists_isTodaCancellation (oneSub_comp_gluing epsPow) (origin ⟨true⟩) |
| 957 | h_origin |
| 958 | ((relFreeAb.shortExact unimodular).2.map_of_exact (restrictAlong _)) shortExact_oneSubMu.2 |
| 959 | (f := f) |
| 960 | (α := (-W) ≫ whiskerLeft _ Gm.ofCoord) (κ := κ) (n := whiskerLeft _ Gm.ofCoord) |
| 961 | (α₁ := (-W) ≫ whiskerRight proj _) (freeAb.hom_ext ?_) (freeAb.hom_ext ?_) (freeAb.hom_ext ?_) |
| 962 | (freeAb.hom_ext ?_) |
| 963 | · -- Both sides send a point `u` of the torus to `-[a u]`. |
| 964 | intro c u |
| 965 | let D := (freeAb.obj (unimodular (d := 1)).toFunctor).map (proj.app c) |
| 966 | let I := (freeAb.map (unimodular (d := 1)).ι).app (genericOver.obj c) |
| 967 | change I.hom (D.hom (((-W).app c).hom (.of u))) = |
| 968 | (f.app c).hom ((gluing.app c).hom (.of u)) |
| 969 | erw [NatTrans.app_neg, AddCommGrpCat.hom_neg, AddMonoidHom.neg_apply] |
| 970 | obtain ⟨⟨_ | _⟩, t⟩ := u |
| 971 | · erw [h_W_false, gluing_apply_point c t, h_f_false] |
| 972 | · have h_D : D.hom (.of (torusPoint c t)) = |
| 973 | FreeAddCommGroup.of (((unimodular (d := 1)).toFunctor.map (proj.app c)) |
| 974 | (torusPoint c t)) := by |
| 975 | change FreeAddCommGroup.map _ (.of (torusPoint c t)) = _ |
| 976 | exact FreeAddCommGroup.map_of_apply _ |
| 977 | erw [h_W_true, gluing_apply_torus c t, _root_.map_sub, h_f_false, h_f_true, zero_sub, |
| 978 | _root_.map_neg, _root_.map_neg, h_D, freeAb.map_of] |
| 979 | rfl |
| 980 | · -- `a` is invariant under the twist. |
| 981 | intro c u |
| 982 | let u' : twoDiscs.obj c := ⟨u.fst, ⟨discTwist epsPow u.fst ≫ u.snd.down⟩⟩ |
| 983 | have hd : ((oneSub (discTwist epsPow)).app c).hom (.of u) = .of u - .of u' := |
| 984 | freeAb.desc_of .. |
| 985 | change (f.app c).hom (((oneSub (discTwist epsPow)).app c).hom (.of u)) = 0 |
| 986 | erw [hd, _root_.map_sub] |
| 987 | obtain ⟨⟨_ | _⟩, t⟩ := u |
| 988 | · erw [h_f_false, sub_zero] |
| 989 | · erw [h_f_true, h_f_true, ha_twist, sub_self] |
| 990 | · -- With `μ = mulMu c 1`, which has square zero: |
| 991 | -- `(1 - μ) * [ε * u] = (1 - μ) * (1 + μ) * [u] = [u]`. |
| 992 | intro c u |
| 993 | let G := Gm.ofCoord.app (thickeningOver.obj c) |
| 994 | let T := (oneSub (pointOrTorusTwist epsPow)).app c |
| 995 | let u' : (tiltPointsSum pointOrTorus).obj c := |
| 996 | ⟨u.fst, ⟨pointOrTorusTwist epsPow u.fst ≫ u.snd.down⟩⟩ |
| 997 | have ht : T.hom (.of u) = .of u - .of u' := freeAb.desc_of .. |
| 998 | change G.hom (((-W).app c).hom (T.hom (.of u))) = |
| 999 | (oneSubMu.app c).hom ((κ.app c).hom ((gluing.app c).hom (.of u))) |
| 1000 | erw [NatTrans.app_neg, AddCommGrpCat.hom_neg, AddMonoidHom.neg_apply, ht, _root_.map_sub, _root_.map_neg, _root_.map_sub, neg_sub] |
| 1001 | obtain ⟨⟨_ | _⟩, t⟩ := u |
| 1002 | · erw [h_W_false, gluing_apply_point c t, h_κ] |
| 1003 | rw [sub_self] |
| 1004 | change 0 = (oneSubMu.app c).hom 0 |
| 1005 | exact (map_zero (oneSubMu.app c).hom).symm |
| 1006 | · let t' : (tilt ⋙ reprBy (monoidAlg ℚ)).obj c := |
| 1007 | ⟨charTwist epsPow (AddMonoidHom.id ℚ) ≫ t.down⟩ |
| 1008 | have h_W_twist : (W.app c).hom (.of u') = .of (torusPoint c t') := |
| 1009 | h_W_true c t' |
| 1010 | erw [gluing_apply_torus c t, _root_.map_sub (κ.app c).hom, h_κ c false, h_κ c true, |
| 1011 | h_W_true c t, h_W_twist] |
| 1012 | apply neg_injective |
| 1013 | rw [neg_sub] |
| 1014 | let one_c : genericCoeff.obj c := ⟨(1 : genericAlg c)⟩ |
| 1015 | change G.hom (.of (torusPoint c t)) - G.hom (.of (torusPoint c t')) = |
| 1016 | -((oneSubMu.app c).hom (0 - one_c)) |
| 1017 | rw [zero_sub, _root_.map_neg, neg_neg] |
| 1018 | refine sub_eq_of_eq_add (Gm.ext.2 (.symm ?_)) |
| 1019 | change (1 - mulMu c _) * _ = _ |
| 1020 | erw [desc_of, desc_of, IsUnit.unit_spec, IsUnit.unit_spec] |
| 1021 | have h_coord (u : (tilt ⋙ reprBy (monoidAlg ℚ)).obj c) : |
| 1022 | (torusPoint c u).val.down 0 = |
| 1023 | teichmullerLift c ((discToTorus coeHom ≫ u.down).hom (.single 1 1)) := |
| 1024 | congrArg (fun a ↦ a.down 0) (hA c ⟨discToTorus coeHom ≫ u.down⟩) |
| 1025 | rw [h_coord t', h_coord t] |
| 1026 | exact teichmullerCoordinate_cancel_twist c t.down |
| 1027 | · -- `Gm.ofCoord` commutes with `proj`. |
| 1028 | intro c u |
| 1029 | let e : (freeAb.obj (tiltPointsSum pointOrTorus)).obj c := .of u |
| 1030 | let v := ((-W).app c).hom e |
| 1031 | exact Gm.ofCoord.naturality_apply (proj.app c) v |
| 1032 | obtain ⟨j', h_pull⟩ := |
| 1033 | exists_map_eq_map_of_isTodaCancellation A hA_inv ha_twist h_toda ξT h_compare |
| 1034 | -- The point goes to `1`, a unit for the multiplication of `R[1/p]`. |
| 1035 | have h_unit : |
| 1036 | tensorPoint (origin ⟨true⟩ ≫ projFirst ≫ one) genericCoeff ≫ |
| 1037 | (genericAlg ⋙ forget₂ (CommAlg ℂ_[p]) (AlgCat ℂ_[p])).mulPairing = |
| 1038 | 𝟙 genericCoeff := by |
| 1039 | ext c ⟨x⟩ |
| 1040 | let o : twoDiscs.obj c := ⟨⟨true⟩, ⟨evalZero (tilt.obj c)⟩⟩ |
| 1041 | have ho : ((origin ⟨true⟩).app c).hom (.of PUnit.unit) = .of o := freeAb.desc_of .. |
| 1042 | have h_one : (one.app c).hom (.of o.snd) = ⟨(1 : genericAlg c)⟩ := freeAb.desc_of .. |
| 1043 | let x' : genericAlg c := x |
| 1044 | let y : genericAlg c := ((one.app c).hom (((projFirst (B := fun _ ↦ monoidAlg ℚ≥0)).app c).hom |
| 1045 | (((origin ⟨true⟩).app c).hom (.of PUnit.unit)))).down |
| 1046 | change ULift.up (x' * y) = ULift.up x' |
| 1047 | have hy : y = 1 := by |
| 1048 | dsimp only [y] |
| 1049 | erw [ho, projFirst_true (B := fun _ ↦ monoidAlg ℚ≥0) c o.snd, h_one] |
| 1050 | rw [hy, mul_one] |
| 1051 | exact eq_zero_of_cup_eq_zero_of_isTodaCancellation h_toda h_unit h_pull x hx |
| 1052 | |
| 1053 | end New.Variety |
| 1054 | |
| 1055 | end LinePointClass |
| 1056 | |
| 1057 | /-! ## Point classes of projective space -/ |
| 1058 | |
| 1059 | section ProjectivePointClass |
| 1060 | |
| 1061 | open CategoryTheory Finset CartesianMonoidalCategory CommAlgCat Fin Polynomial |
| 1062 | |
| 1063 | |
| 1064 | /-- All `k`-points of projective space have the same class: a global function takes the same value |
| 1065 | at all of them. -/ |
| 1066 | lemma New.Variety.projSpace.pointClass_eq_pointClass_affinePoint {k : Type} [Field k] [CharZero k] |
| 1067 | {d : ℕ} (z : (projSpace k d).obj (of k k)) : |
| 1068 | pointClass d z = pointClass d (affinePoint 0 0 : (projSpace k d).obj (of k k)) := by |
| 1069 | obtain ⟨⟨u⟩, hu⟩ := z |
| 1070 | refine pointClass_eq_of_functions_eq fun g ↦ ?_ |
| 1071 | -- `val x` is the value of `g` at a point `x`; it commutes with algebra maps. |
| 1072 | let val {A : CommAlg k} (x : (projSpace k d).obj A) : A := (g.app A x).down 0 |
| 1073 | have val_map {A B : CommAlg k} (ψ : A ⟶ B) (x : (projSpace k d).obj A) (y : (projSpace k d).obj B) |
| 1074 | (hy : y = (projSpace k d).map ψ x) : val y = ψ (val x) := by |
| 1075 | subst hy |
| 1076 | exact congrArg (fun a ↦ a.down 0) (g.naturality_apply ψ x) |
| 1077 | by_cases h : ∃ j, u (succ j) ≠ 0 |
| 1078 | swap |
| 1079 | · -- If all coordinates but the first vanish, the point is `affinePoint 0 0`. |
| 1080 | simp only [not_exists, not_not] at h |
| 1081 | refine val_map (𝟙 _) _ _ (mk_eq_mk_iff_cross_mul.mpr ?_) |
| 1082 | simp [forall_fin_succ, h] |
| 1083 | -- The line through the two points is covered by the `k[X]`-points `x = [X : u₁ : ⋯]` and |
| 1084 | -- `x' = [1 : u₁ X : ⋯]`, which agree over `k[X, X⁻¹]` after `X ↦ X⁻¹`. |
| 1085 | obtain ⟨j, hj⟩ := h |
| 1086 | have h_unit : IsUnit ((cons X (C ∘ u ∘ succ) : Fin (d + 1) → k[X]) j.succ) := by simpa using hj |
| 1087 | let x : (projSpace k d).obj (of k k[X]) := |
| 1088 | mk (cons X (C ∘ u ∘ succ)) (span_eq_top_of_isUnit j.succ h_unit) |
| 1089 | let x' : (projSpace k d).obj (of k k[X]) := affinePoint 0 (monomial 1 ∘ u ∘ succ) |
| 1090 | have glue : toLaurent (val x) = LaurentPolynomial.invert (toLaurent (val x')) := by |
| 1091 | refine (val_map (ofHom toLaurentAlg) x _ (mk_eq_mk_iff_cross_mul.mpr ?_)).symm.trans |
| 1092 | (val_map (ofHom (LaurentPolynomial.invert.toAlgHom.comp toLaurentAlg)) x' _ rfl) |
| 1093 | simp [forall_fin_succ] |
| 1094 | grind |
| 1095 | -- `P(T) = Q(T⁻¹)` forces `P` and `Q` to be one constant. |
| 1096 | obtain ⟨c, val_x, val_x'⟩ : ∃ c : k, val x = C c ∧ val x' = C c := |
| 1097 | eq_C_of_toLaurent_eq _ _ glue |
| 1098 | -- The first point is `x` at `X = u 0`, the second is `x'` at `X = 0`. |
| 1099 | have hx_eval : mk u hu = (projSpace k d).map (ofHom (aeval (u 0))) x := |
| 1100 | mk_eq_mk_iff_cross_mul.mpr (by simp [forall_fin_succ]) |
| 1101 | have hx'_eval : affinePoint 0 0 = (projSpace k d).map (ofHom (aeval (0 : k))) x' := |
| 1102 | mk_eq_mk_iff_cross_mul.mpr (by simp [forall_fin_succ]) |
| 1103 | calc |
| 1104 | val (mk u hu) = aeval (u 0) (val x) := val_map (ofHom (aeval (u 0))) x _ hx_eval |
| 1105 | _ = aeval 0 (val x') := by simp [val_x, val_x'] |
| 1106 | _ = val (affinePoint 0 0) := (val_map (ofHom (aeval 0)) x' _ hx'_eval).symm |
| 1107 | |
| 1108 | /-- Let `k` be a field of characteristic zero with an embedding in `ℚ̄_p`, and let `X` be a functor |
| 1109 | on `k`-algebras with an atlas of dimension `d` (separated, with finitely many charts, each having |
| 1110 | `d` étale coordinates, that together contain every field-valued point). For a `k`-point `z` of `X`, |
| 1111 | the class `pointClass d z` of `z` in degree-`d` Hodge cohomology is killed by `hodgeTateMap l` for |
| 1112 | every `l ≠ d`. -/ |
| 1113 | lemma New.Variety.hodgeTateMap_pointClass_eq_zero_of_ne {p : ℕ} {k : Type} [Field k] |
| 1114 | [EmbeddedInQpBar p k] {d l : ℕ} |
| 1115 | {X : CommAlg k ⥤ Type 1} [hX : HasAtlas d X] (z : X.obj (of k k)) (hl : l ≠ d) : |
| 1116 | hodgeTateMap l (pointClass (X := X) d z) = 0 := by |
| 1117 | -- By the fixed point formula for the identity and the constant map `z`, one class `x` has |
| 1118 | -- `HodgeH.scale t x = t ^ d • pointClass d z` for all `t`. Compare `t = 1` and `t = 2` under |
| 1119 | -- `hodgeTateMap l`, which turns `HodgeH.scale t` into `t ^ l` (`hodgeTateMap_scale`). |
| 1120 | obtain ⟨δ, hδ⟩ := exists_diagonal_map_scaledGraph_eq_sum_pointClass hX |
| 1121 | have h_coincidence : IsCoincidenceSet (𝟙 X) (constMap z) {z} := by |
| 1122 | simp [IsCoincidenceSet, ConstIfCoincident, constMap, map_map_structureMap (k := k)] |
| 1123 | have h_jacobian (t : k) (w : X.obj (of k k)) : |
| 1124 | HasJacobianRatio (E := k) (𝟙 X) (constMap z) d t (Matrix.scalar (Fin d) t).det w := by |
| 1125 | refine fun A _ ↦ ⟨.scalar _ t, rfl, fun _ _ γ _ _ hγ ↦ ?_⟩ |
| 1126 | rw [A.eq_comp_of_map_point_eq _ (h_coincidence.1 _ hγ.symm)] |
| 1127 | simp |
| 1128 | -- The tangent vector of the constant map is zero. |
| 1129 | change _ - (0 : Fin d → k) = t • (_ - (0 : Fin d → k)) |
| 1130 | simp only [sub_zero] |
| 1131 | let x : HodgeH (freeAb.obj X) d := HodgeH.map (freeAb.map (lift (𝟙 X) (constMap z))) δ.baseChange |
| 1132 | have h_scale_eq (t : k) : HodgeH.scale t x = t ^ d • pointClass d z := |
| 1133 | by |
| 1134 | let g := freeAb.map (lift (𝟙 X) (constMap z)) |
| 1135 | let S := HodgeTest.scaleModule t (HodgeTest.sqZeroExt ⋙ freeAb.obj X) |
| 1136 | let g' := HodgeTest.sqZeroExt.whiskerLeft g |
| 1137 | have h_graph : S ≫ g' = freeAb.map (scaledGraph t (𝟙 X) (constMap z)) := by |
| 1138 | change freeAb.map (HodgeTest.scaleModule t (HodgeTest.sqZeroExt ⋙ X)) ≫ |
| 1139 | freeAb.map (HodgeTest.sqZeroExt.whiskerLeft (lift (𝟙 X) (constMap z))) = _ |
| 1140 | rw [← freeAb.map_comp] |
| 1141 | congr 1 |
| 1142 | have h_scale : |
| 1143 | HodgeH.scale t x = H.map hodgeCoeff (freeAb.map (scaledGraph t (𝟙 X) (constMap z))) d |
| 1144 | δ.baseChange := by |
| 1145 | change H.map hodgeCoeff S d (H.map hodgeCoeff g' d δ.baseChange) = _ |
| 1146 | exact (H.map_comp ..).symm.trans |
| 1147 | (congrArg (fun f ↦ H.map hodgeCoeff f d δ.baseChange) h_graph) |
| 1148 | refine h_scale.trans ?_ |
| 1149 | have h_sum := hδ _ _ _ t _ h_coincidence fun w _ ↦ h_jacobian t w |
| 1150 | exact h_sum.trans (by simp; rfl) |
| 1151 | have h_one : hodgeTateMap l x = hodgeTateMap l (pointClass d z) := by |
| 1152 | simpa [hodgeTateMap_scale] using congrArg (hodgeTateMap l) (h_scale_eq 1) |
| 1153 | have h_two : (2 : k) ^ l • hodgeTateMap l (pointClass d z) = |
| 1154 | (2 : k) ^ d • hodgeTateMap l (pointClass d z) := by |
| 1155 | simpa [hodgeTateMap_scale, h_one] using congrArg (hodgeTateMap l) (h_scale_eq 2) |
| 1156 | by_contra h_ne |
| 1157 | have h_pow_cast : ((2 ^ l : ℕ) : k) = (2 ^ d : ℕ) := by simpa [smul_left_inj h_ne] using h_two |
| 1158 | exact hl (Nat.pow_right_injective le_rfl (Nat.cast_injective h_pow_cast)) |
| 1159 | |
| 1160 | /-- In characteristic zero, let `z` be a `k`-point of `ℙ^d` and |
| 1161 | `lineProductMap k d : ℙ^d × ℙ¹ → ℙ^(d+1)` the map sending `([v], [w 0 : w 1])` to the point with |
| 1162 | coordinates `w 0 * ∑ i, v i` and `(w 1 - i * w 0) * v i`. Then the pull-back along this map of the |
| 1163 | Hodge class of the point `affinePoint 0 0 = [1 : 0 : … : 0]` of `ℙ^(d+1)` is a positive multiple `n` |
| 1164 | of the image in the Hodge cohomology of `ℤ[ℙ^d × ℙ¹]` of the cup product (exterior-algebra |
| 1165 | multiplication) of the classes of `z` and of `[1 : 0]` in `ℙ¹`. -/ |
| 1166 | lemma New.Variety.projSpace.exists_map_pointClass_eq_nsmul_map_cup {k : Type} [Field k] [CharZero k] |
| 1167 | {d : ℕ} (z : (projSpace k d).obj (of k k)) : |
| 1168 | ∃ n ≠ (0 : ℕ), |
| 1169 | HodgeH.map (freeAb.map (lineProductMap k d)) (pointClass (d + 1) (affinePoint 0 0)) = |
| 1170 | n • |
| 1171 | HodgeH.map (freeAb.prod (projSpace k d) (projSpace k 1)) |
| 1172 | (cup (exteriorAlg (k := k)).mulPairing (pointClass d z) (pointClass 1 (affinePoint 0 0)) |
| 1173 | (add_comm 1 d)) := by |
| 1174 | classical |
| 1175 | let W : CommAlg k ⥤ Type 1 := MonoidalCategory.tensorObj (projSpace k d) (projSpace k 1) |
| 1176 | let y (j : Fin (d + 1)) : W.obj (of k k) := (affinePoint j 0, affinePoint 0 ![j]) |
| 1177 | -- Over a local ring, a point of the fibre is one of the `y j`. |
| 1178 | have fibre {B : CommAlg k} {v : (projSpace k d).obj B} {u : (projSpace k 1).obj B} |
| 1179 | (e : |
| 1180 | (lineProductMap k d).app B (v, u) = (projSpace k d.succ).map structureMap (affinePoint 0 0)) |
| 1181 | [IsLocalRing B] : ∃ j : Fin (d + 1), (v, u) = W.map structureMap (y j) := by |
| 1182 | induction v, u using Quot.induction_on₂ |
| 1183 | refine exists_eq_map_affinePoint_of_mul_eq_zero _ _ fun i ↦ ?_ |
| 1184 | simpa using mk_eq_mk_iff_cross_mul.mp e i.succ 0 |
| 1185 | have coin : |
| 1186 | IsCoincidenceSet (constMap (affinePoint 0 0)) (lineProductMap k d) (univ.image y) := by |
| 1187 | refine ⟨fun (v, u) e ↦ ?_, forall_mem_image.mpr fun j _ ↦ ?_, fun B field (v, u) e ↦ ?_⟩ |
| 1188 | · obtain ⟨j, hj⟩ := fibre e |
| 1189 | rw [hj, map_map_structureMap] |
| 1190 | · exact mk_eq_mk_iff_cross_mul.mpr (by simp [forall_fin_succ, Pi.single_apply]) |
| 1191 | · let : Field B := field.toField |
| 1192 | exact exists_mem_image.mpr ((fibre e).imp fun j hj ↦ ⟨mem_univ j, hj⟩) |
| 1193 | refine ⟨#(univ.image y), by simp [Finset.ext_iff], ?_⟩ |
| 1194 | -- The class pulls back to the sum of the classes of the points of the reduced fibre. |
| 1195 | rw [map_pointClass_eq_sum_of_isCoincidenceSet _ _ coin] |
| 1196 | -- The class of a point `(v, w)` is the product of the classes, which do not depend on the points. |
| 1197 | refine sum_eq_card_nsmul fun ⟨v, w⟩ _ ↦ ?_ |
| 1198 | erw [← IsPointSum.cup_pointClass, pointClass_eq_pointClass_affinePoint v, |
| 1199 | pointClass_eq_pointClass_affinePoint w, pointClass_eq_pointClass_affinePoint z] |
| 1200 | |
| 1201 | -- Keeps definitional checks from unfolding the Ext groups. |
| 1202 | seal CategoryTheory.Abelian.Ext in |
| 1203 | /-- Let `k` be a field of characteristic zero with an embedding in `ℚ̄_p`, and let `η` be a |
| 1204 | degree-two cohomology class on `ℙ¹` with coefficients `genericCoeff` whose restriction |
| 1205 | `restrictToPairs η` is `hodgeTateMap 1` of the class of `[1 : 0]` (`affinePoint 0 0`) and whose |
| 1206 | cup product with classes on flat functors of `p`-adic tests vanishes only on zero. Then for any |
| 1207 | `k`-point `z` of projective `d`-space, `hodgeTateMap (d + 1)` kills the pull-back of |
| 1208 | `pointClass (d + 1) (affinePoint 0 0)` along `lineProductMap k d` if and only if `hodgeTateMap d` |
| 1209 | kills `pointClass d z`. -/ |
| 1210 | private lemma New.Variety.projSpace.hodgeTateMap_map_lineProductMap_eq_zero_iff {p : ℕ} {k : Type} |
| 1211 | [Field k] [EmbeddedInQpBar p k] |
| 1212 | {η : H (genericOver ⋙ freeAb.obj (projSpace k 1)) genericCoeff 2} |
| 1213 | (hη : hodgeTateMap 1 (pointClass 1 (affinePoint (k := k) (d := 1) 0 0)) = restrictToPairs η) |
| 1214 | (η_reg : ∀ {N : AbFunctor PadicTest} {n : ℕ} [HasFlatValues N] (x : H N genericCoeff n), |
| 1215 | cup (PadicTest.genericAlg ⋙ forget₂ (CommAlg ℂ_[p]) (AlgCat ℂ_[p])).mulPairing x η |
| 1216 | (add_comm 2 n) = 0 → |
| 1217 | x = 0) |
| 1218 | {d : ℕ} (z : (projSpace k d).obj (of k k)) : |
| 1219 | hodgeTateMap (d + 1) |
| 1220 | (.map (freeAb.map (lineProductMap k d)) (pointClass (d + 1) (affinePoint 0 0))) = 0 ↔ |
| 1221 | hodgeTateMap d (pointClass d z) = 0 := by |
| 1222 | obtain ⟨ξ, hξ⟩ : ∃ ξ, hodgeTateMap d (pointClass d z) = restrictToPairs (n := d + d) ξ := |
| 1223 | IsChartCovered.pairRestrictBijective.exists_hodgeTateMap_eq d (pointClass d z) |
| 1224 | obtain ⟨n, n_ne, hn⟩ := exists_map_pointClass_eq_nsmul_map_cup z |
| 1225 | -- Only the term `h = d` of the product formula survives; its coefficient is `± n * (d + 1)`. |
| 1226 | trans PairH.map (freeAb.prod (projSpace k d) (projSpace k 1)) |
| 1227 | (HodgeTatePair.cross (restrictToPairs η) (restrictToPairs ξ)) = 0 |
| 1228 | · erw [hn, map_nsmul, hodgeTateMap_map, hodgeTateMap_cup, sum_eq_single d _ (by simp)] |
| 1229 | · simp [n_ne, hξ, hη, ← Nat.cast_smul_eq_nsmul k] |
| 1230 | let y : PairH (abTensor (freeAb.obj (projSpace k d)) (freeAb.obj (projSpace k 1))) := |
| 1231 | HodgeTatePair.cross (restrictToPairs η) (restrictToPairs ξ) |
| 1232 | change PairH.map (freeAb.prod (projSpace k d) (projSpace k 1)) ((↑d + 1 : k) • y) = 0 ↔ |
| 1233 | PairH.map (freeAb.prod (projSpace k d) (projSpace k 1)) y = 0 |
| 1234 | rw [LinearMap.map_smul] |
| 1235 | simp [Nat.cast_add_one_ne_zero] |
| 1236 | · intro h _ h_ne |
| 1237 | simp [hodgeTateMap_pointClass_eq_zero_of_ne z h_ne] |
| 1238 | rw [hξ] |
| 1239 | refine ⟨fun h ↦ ?_, fun h ↦ ?_⟩ |
| 1240 | swap |
| 1241 | · rw [h, map_zero] |
| 1242 | exact map_zero (PairH.map (freeAb.prod (projSpace k d) (projSpace k 1))) |
| 1243 | -- The product comes from the product `x` of `ξ` and `η` on tests, and `η` is regular. |
| 1244 | let x := |
| 1245 | cup (PadicTest.genericAlg ⋙ forget₂ _ (AlgCat ℂ_[p])).mulPairing ξ η (add_comm 2 (d + d)) |
| 1246 | have restrictToPairs_x : |
| 1247 | restrictToPairs |
| 1248 | (N := (abTensor.obj (freeAb.obj (projSpace k d))).obj (freeAb.obj (projSpace k 1))) x = |
| 1249 | HodgeTatePair.cross (restrictToPairs η) (restrictToPairs ξ) := by |
| 1250 | let c := Comparison.restrict HodgeTatePair.toTest genericCoeff |
| 1251 | let F := HodgeTatePair.toTest ⋙ genericCoeff |
| 1252 | let μ : (abTensor.obj F).obj F ⟶ F := HodgeTatePair.toTest.whiskerLeft |
| 1253 | (PadicTest.genericAlg ⋙ forget₂ _ (AlgCat ℂ_[p])).mulPairing |
| 1254 | -- `abTensor_hom_ext` is given explicitly: `simp` is slow here. |
| 1255 | have pull_x := c.pull_cup (μ' := μ) (η := HodgeTatePair.toGeneric) |
| 1256 | (abTensor_hom_ext fun _ _ _ ↦ rfl) ξ η (add_comm 2 (d + d)) |
| 1257 | exact (congrArg Abelian.Ext.toTotalH pull_x).trans (TotalH.cup_of μ ..).symm |
| 1258 | have x_zero : x = 0 := by |
| 1259 | let g := freeAb.prod (projSpace k d) (projSpace k 1) |
| 1260 | let q := genericOver.whiskerLeft g |
| 1261 | have : IsIso q := Functor.isIso_whiskerLeft _ _ |
| 1262 | have h_inj := (IsCohomEquiv.of_isIso (F := genericCoeff) (α := q) (d + d + 2)).1 |
| 1263 | have h_pull : restrictToPairs (H.map genericCoeff q _ x) = 0 := |
| 1264 | (restrictToPairs_map g x).trans ((congrArg (PairH.map g) restrictToPairs_x).trans h) |
| 1265 | apply h_inj |
| 1266 | apply IsChartCovered.pairRestrictBijective.injective_restrictToPairs |
| 1267 | exact h_pull.trans ((congrArg restrictToPairs |
| 1268 | (map_zero (H.map genericCoeff q (d + d + 2)))).trans (map_zero restrictToPairs)).symm |
| 1269 | rw [η_reg (N := _ ⋙ freeAb.obj (projSpace k d)) ξ x_zero, map_zero] |
| 1270 | |
| 1271 | -- Keeps definitional checks from unfolding the Ext groups. |
| 1272 | seal CategoryTheory.Abelian.Ext in |
| 1273 | /-- Let `k` be a field of characteristic zero with an embedding in `ℚ̄_p`, and let `z` be a |
| 1274 | `k`-point of projective `d`-space. The Hodge–Tate map `hodgeTateMap d` does not kill the class |
| 1275 | `pointClass d z` of `z` in the degree-`d` Hodge cohomology of projective `d`-space. -/ |
| 1276 | lemma New.Variety.projSpace.hodgeTateMap_pointClass_ne_zero {p : ℕ} {k : Type} [Field k] |
| 1277 | [EmbeddedInQpBar p k] {d : ℕ} (z : (projSpace k d).obj (of k k)) : |
| 1278 | hodgeTateMap d (pointClass d z) ≠ 0 := by |
| 1279 | -- Induct on `d`, pulling the class of `affinePoint 0 0` back along `lineProductMap k d`; `η` |
| 1280 | -- lifts `hodgeTateMap 1` of the class of `[1 : 0]` (`hη`), and `x × η = 0` forces `x = 0`. |
| 1281 | obtain ⟨η, hη, η_reg⟩ := exists_hodgeTateMap_pointClass_line (k := k) |
| 1282 | -- The pull-back of the class of `affinePoint 0 0` is killed by `hodgeTateMap (d + 1)` exactly if |
| 1283 | -- the class of `z` is killed by `hodgeTateMap d`. |
| 1284 | have key_iff {d} (z : (projSpace k d).obj (of k k)) : |
| 1285 | hodgeTateMap (d + 1) |
| 1286 | (.map (freeAb.map (lineProductMap k d)) (pointClass (d + 1) (affinePoint 0 0))) = 0 ↔ |
| 1287 | hodgeTateMap d (pointClass d z) = 0 := |
| 1288 | hodgeTateMap_map_lineProductMap_eq_zero_iff hη η_reg z |
| 1289 | induction d with |
| 1290 | | succ d ih => |
| 1291 | rw [pointClass_eq_pointClass_affinePoint z] |
| 1292 | intro h_zero |
| 1293 | have h_pullback_zero : |
| 1294 | hodgeTateMap (d + 1) |
| 1295 | (.map (freeAb.map (lineProductMap k d)) (pointClass (d + 1) (affinePoint 0 0))) = 0 := by |
| 1296 | rw [hodgeTateMap_map, h_zero, map_zero] |
| 1297 | exact ih (affinePoint 0 0) ((key_iff _).1 h_pullback_zero) |
| 1298 | | zero => |
| 1299 | -- Here `lineProductMap k 0` has a section `σ`, so `key_iff` would give `η = 0`. |
| 1300 | intro h |
| 1301 | let σ : projSpace k 1 ⟶ MonoidalCategory.tensorObj (projSpace k 0) (projSpace k 1) := |
| 1302 | lift (constMap (affinePoint 0 0)) (𝟙 _) |
| 1303 | have σ_mul : σ ≫ lineProductMap k 0 = 𝟙 _ := by |
| 1304 | ext _ ⟨⟩ |
| 1305 | exact mk_eq_mk_iff_cross_mul.2 (by simp) |
| 1306 | have η_zero : η = 0 := by |
| 1307 | have h_pullback := congrArg (PairH.map (freeAb.map σ)) ((key_iff z).2 h) |
| 1308 | -- Since `σ` is a section, the left side is `hodgeTateMap 1` of the class of `[1 : 0]`, the |
| 1309 | -- restriction of `η`. |
| 1310 | erw [← hodgeTateMap_map, ← HodgeH.map_comp, ← freeAb.map_comp, σ_mul, freeAb.map_id, H.map_id, |
| 1311 | hη, map_zero, |
| 1312 | map_eq_zero_iff _ IsChartCovered.pairRestrictBijective.injective_restrictToPairs] |
| 1313 | at h_pullback |
| 1314 | exact h_pullback |
| 1315 | -- Then every class on tests vanishes, so the coefficients `genericCoeff` are zero; but `1 ≠ 0` |
| 1316 | -- at the test `T`. |
| 1317 | have id_zero : 𝟙 genericCoeff = 0 := by simpa [cup, η_zero] using η_reg (.mk₀ (𝟙 genericCoeff)) |
| 1318 | let T : PadicTest := ⟨Unit, _, Pi.constRingHom ..⟩ |
| 1319 | have h_one_eq_zero : algebraMap T.ProdRing T.GenericRing 1 = 0 := |
| 1320 | congr(($(id_zero).app T ⟨algebraMap T.ProdRing T.GenericRing 1⟩).down) |
| 1321 | simpa using T.eq_zero_of_algebraMap_genericRing 1 h_one_eq_zero |
| 1322 | |
| 1323 | end ProjectivePointClass |
| 1324 | |
| 1325 | end |