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.RingTheory.PiTensorProduct |
| 4 | public import Lib.Cohomology.Hodge.FixedPointFormula |
| 5 | public import Lib.General.Geometry.ProjectiveSpace |
| 6 | public import Lib.PadicComparison.HodgeTate.Map |
| 7 | import Lib.Cohomology.Hodge.Kunneth |
| 8 | import Lib.Cohomology.PointClass.LinearIndependence |
| 9 | import Lib.General.Geometry.PointsOfProperSchemes |
| 10 | |
| 11 | /-! |
| 12 | # Woods Hole (half of Atiyah–Bott): maps killed under λ_h on Hodge classes are h-null |
| 13 | |
| 14 | The main theorem, `New.Variety.ellAdicCohom.woods_hole`: if a combination `∑ b_i u_i` of maps |
| 15 | `W → Y` kills all Hodge classes of `Y` under the Hodge–Tate map `λ_h` (`New.Variety.hodgeTateMap`), |
| 16 | then for every `c : W → Y` the local terms of weight `h` at the coincidences of `c` and the `u_i` |
| 17 | add up to zero (`New.Variety.IsNullFamily`). The proof pulls back the diagonal class of |
| 18 | `New.Variety.exists_diagonal_local_terms`, writes it as a sum of cross products |
| 19 | (`New.Variety.kunneth`) and compares two polynomials in the scaling parameter. On a cross product, |
| 20 | `New.Variety.map_scaledGraph_baseChange_cross` computes the pull-back and the Hodge–Tate cup |
| 21 | product formula expands its image in powers of `t`. By additivity, |
| 22 | `New.Variety.exists_polynomial_scaledGraph_coeff_eq_zero` gives a polynomial with vanishing |
| 23 | coefficient of degree `h`. On the diagonal class its values agree with the sum of the normalized |
| 24 | tangent polynomials at the coincidences. |
| 25 | `New.Variety.HodgeH` is Hodge cohomology, `New.Variety.algPoints` the functor of points, and |
| 26 | `New.Variety.HasAtlas` a finite cover by charts with `d` étale coordinates. |
| 27 | |
| 28 | ## Overview of this theory |
| 29 | |
| 30 | Throughout, `ℓ` is a fixed prime. Cohomology of a functor `X` to sets, with coefficients in a |
| 31 | functor `F` to abelian groups, is `Extⁿ(ℤ[X], F)`. Here `ℤ[X]` is the free abelian group functor on |
| 32 | `X`, and the Ext is taken in functors on test objects: rings, or pairs of a ring and a module. |
| 33 | |
| 34 | On absolutely integrally closed rings `A` (every monic polynomial of positive degree has a root), |
| 35 | locally constant functions on `Spec A` give `𝔽_ℓ`-cohomology. Their Witt vectors give |
| 36 | `ℤ_ℓ`-cohomology. `New.Variety.ellAdicCohom` is `X ↦ ℚ_ℓ ⊗ Hⁿ(X ×_R Ω, ℤ_ℓ)`, for `X` over a ring |
| 37 | `R` and an `R`-algebra `Ω`. Test objects may also be pairs `(B, M)` of a `k`-algebra `B` and a |
| 38 | `B`-module `M`. On these, `New.Variety.HodgeH` of a functor `N` in degree `q` is `Ext^q` from |
| 39 | `(B, M) ↦ N(B ⊕ M)` to `(B, M) ↦ ⋀_B M`. |
| 40 | |
| 41 | * `New.Variety.IsProperOver.proper_base_change`: let `A` be an absolutely integrally closed local |
| 42 | domain that is a valuation ring, with `ℓ` a unit in `A`. Let `Y` be proper over `Spec A`. Then |
| 43 | restriction from `Y` to its closed fibre is bijective on `𝔽_ℓ`-cohomology in every degree. |
| 44 | * `New.Variety.isTestCohomEquiv_baseChangeTransition`: let `A` be a valuation ring of an algebraic |
| 45 | closure `ℚ̄` of `ℚ`, with a prime `p` in its maximal ideal and `ℓ` a unit. Let `A` be an algebra |
| 46 | over a ring `R`, and let `Y` over `R` be built from charts étale over tori |
| 47 | (`New.Variety.IsCharted`). Then pull-back `Hⁿ(Y_A, 𝔽_ℓ) → Hⁿ(Y_ℚ̄, 𝔽_ℓ)` is bijective for all `n`. |
| 48 | * `New.Variety.ellAdicCohom.woods_hole`: let `R ⊆ E → k ⊆ ℚ̄_p`, with `E` a field of characteristic |
| 49 | 0 and `k` algebraically closed. Let `Y` be proper and `W` projective over `R`. Let `Y` over `E` |
| 50 | and `W` over `k` have atlases of dimension `d`. Let `uᵢ : W ⟶ Y` be maps, and let `bᵢ ∈ k` be |
| 51 | almost all zero. Let `λ_h` be the Hodge–Tate map `New.Variety.hodgeTateMap h`. Assume that |
| 52 | `h > d`, or that `∑ bᵢ λ_h(uᵢ^* x) = 0`, read over `k`, for all `x` of degree at most `d` in |
| 53 | `HodgeH` of `Y` over `E`. Then `New.Variety.IsNullFamily` holds: for `c : W ⟶ Y`, if each |
| 54 | coincidence `c y = uᵢ y`, `y ∈ W(k)`, has a tangent polynomial `P` with `P(1) ≠ 0`, the terms |
| 55 | `bᵢ · (coefficient of degree h of P) / P(1)` add up to zero. |
| 56 | |
| 57 | These replace proper base change (SGA 4, XII) and smooth base change (SGA 4), here with coefficients |
| 58 | `𝔽_ℓ` over such rings. They also replace half of the holomorphic Lefschetz (Woods Hole) formula of |
| 59 | Atiyah and Bott, for `h`-forms and correspondences. No comparison with étale or coherent cohomology |
| 60 | is stated. |
| 61 | |
| 62 | Structure of the development. `Etale`: descent, Mayer–Vietoris, limits, `ℓ`-adic coefficients. |
| 63 | `ProperBaseChange`: cover `X` by points with values in valuation rings, and reduce to the valuation |
| 64 | rings of a single field. `LerayHirsch`, `TorsionTheories`, `ProjectiveLine`: `1` and the first Chern |
| 65 | class of `O(1)` form a basis of the cohomology of `ℙ¹`. With duality from `Lib.PadicComparison`, |
| 66 | `SmoothBaseChange` follows. `Hodge`: point classes, the Künneth formula, local terms of the |
| 67 | diagonal. `PointClass`: the Hodge–Tate map of `Lib.PadicComparison` keeps distinct point classes |
| 68 | independent, by reduction to `ℙᵈ` and `ℙ¹`. |
| 69 | |
| 70 | ## This file |
| 71 | |
| 72 | Notions from other files: |
| 73 | * `New.Variety.HodgeH.baseChange`: Base change: for an E-algebra k, the additive map from the Hodge |
| 74 | cohomology over E of N to that over k of N restricted to k-algebras. |
| 75 | |
| 76 | ## Relation to the literature |
| 77 | |
| 78 | Known result: Half of the holomorphic Lefschetz (Woods Hole) formula for h-forms and |
| 79 | correspondences. No trace is computed here. The statement is that if a combination of pull-backs |
| 80 | kills the Hodge classes of degree at most the dimension d under the Hodge–Tate map λ_h, then the z^h |
| 81 | coefficients of the local terms det(1−zA)/det(1−A) at simple coincidences add up to zero. Source: |
| 82 | M. F. Atiyah, R. Bott, A Lefschetz fixed point formula for elliptic complexes II, Ann. of Math. 88 |
| 83 | (1968) 451-491, formula (4.9) with (4.10), p. 458, for a single map with transversal fixed points |
| 84 | (bundle version Thm 4.12, pp. 458–459); there the local term of weight h is tr Λ^h A / det(1−A), |
| 85 | which differs from the z^h coefficient above by the sign (−1)^h; G. Kondyrev, A. Prikhodko, |
| 86 | Holomorphic Atiyah-Bott formula for correspondences, Arnold Math. J. (2022), for correspondences; |
| 87 | SGA5 III 6.12. |
| 88 | -/ |
| 89 | |
| 90 | @[expose] public section |
| 91 | |
| 92 | open CategoryTheory AlgebraicGeometry Polynomial Finset CartesianMonoidalCategory Functor |
| 93 | MonoidalCategory |
| 94 | |
| 95 | /-- Let `f g : W ⟶ X` be maps from a functor on `k`-algebras to a functor on `E`-algebras restricted |
| 96 | to `k`-algebras, and `t` in `k`. Pulling the cross product `x × y` of two Hodge classes of `X` back |
| 97 | along `scaledGraph t f g` (`w ↦ (f (s_t w), g w)`, where `s_t : (a, m) ↦ (a, t m)` scales the module |
| 98 | part of `A ⊕ M`), after base change to `k`, gives the cup product of the scaled pull-back |
| 99 | `s_t f^* x` and of `g^* y`, restricted to the diagonal of `W`. -/ |
| 100 | lemma New.Variety.map_scaledGraph_baseChange_cross {E k : Type} [Field E] [CharZero E] [Field k] |
| 101 | [CharZero k] [Algebra E k] {X : CommAlg E ⥤ Type 1} {W : CommAlg k ⥤ Type 1} |
| 102 | (f g : W ⟶ restrictAlg E k ⋙ X) (t : k) {d q q' : ℕ} (e : q' + q = d) |
| 103 | (x : HodgeH (freeAb X) q) (y : HodgeH (freeAb X) q') : |
| 104 | H.map hodgeCoeff (freeAb.map (scaledGraph t f g)) d |
| 105 | (HodgeH.baseChange (HodgeH.map (freeAb.prod X X) (cup exteriorAlg.mulPairing x y e :))) = |
| 106 | HodgeH.map (freeAb.map (lift (𝟙 W) (𝟙 W)) ≫ freeAb.prod W W) |
| 107 | (cup exteriorAlg.mulPairing (HodgeH.scale t (HodgeH.map (freeAbMap f) x.baseChange)) |
| 108 | (HodgeH.map (freeAbMap g) y.baseChange) e :) := by |
| 109 | -- base change commutes with the cross product; then the pull-back of a cup product is the cup |
| 110 | -- product of the pull-backs (`cup_map`) |
| 111 | have h_bc : |
| 112 | (HodgeH.map (freeAb.prod X X) (cup exteriorAlg.mulPairing x y e :)).baseChange (k := k) = |
| 113 | .map (whiskerLeft _ (freeAb.prod X X)) |
| 114 | (cup (exteriorAlg (k := k)).mulPairing x.baseChange y.baseChange e :) := |
| 115 | (HodgeH.baseChange_map (freeAb.prod X X) (cup exteriorAlg.mulPairing x y e :)).trans |
| 116 | (congrArg _ ((HodgeTest.baseComparison (k := k) (E := E)).pull_cup |
| 117 | (abTensor_hom_ext fun _ _ _ ↦ by rfl) x y _)) |
| 118 | refine (congrArg (H.map _ _ d) h_bc).trans ?_ |
| 119 | -- `using!`: the pull-back along `scaledGraph` matches the composite `γ` of `cup_map` only up to |
| 120 | -- unfolding |
| 121 | simpa only [H.map_comp] using! |
| 122 | cup_map (γ := _ ≫ _) exteriorAlg.mulPairing x.baseChange y.baseChange e |
| 123 | (HodgeTest.scaleModule t _ ≫ whiskerLeft _ (freeAbMap f)) |
| 124 | (whiskerLeft _ (freeAbMap g)) freeAb.hom_ext |
| 125 | |
| 126 | /-- Applying `hodgeTateMap d` to the pull-back of a cross product `x × y` along `scaledGraph t f g` |
| 127 | expands as a polynomial in `t` of degree `d`, whose `t ^ j` coefficient is the diagonal pull-back of |
| 128 | the cross product of `λ_{d - j} (g^* y)` and `λ_j (f^* x)` with the Koszul sign and binomial weight |
| 129 | from `hodgeTateMap_cup`. -/ |
| 130 | private lemma New.Variety.hodgeTateMap_scaledGraph_baseChange_cross {p : ℕ} {E k : Type} |
| 131 | [Field E] [CharZero E] [Field k] [EmbeddedInQpBar p k] [Algebra E k] |
| 132 | {X : CommAlg E ⥤ Type 1} {W : CommAlg k ⥤ Type 1} |
| 133 | (f g : W ⟶ restrictAlg E k ⋙ X) (t : k) {d q q' : ℕ} (e : q' + q = d) |
| 134 | (x : HodgeH (freeAb X) q) (y : HodgeH (freeAb X) q') : |
| 135 | hodgeTateMap (N := freeAb W) d |
| 136 | (H.map hodgeCoeff (freeAb.map (scaledGraph t f g)) d |
| 137 | (HodgeH.baseChange (HodgeH.map (freeAb.prod X X) |
| 138 | (cup exteriorAlg.mulPairing x y e :)))) = |
| 139 | ∑ j ∈ range (d + 1), t ^ j • |
| 140 | PairH.map (freeAb.map (lift (𝟙 W) (𝟙 W)) ≫ freeAb.prod W W) |
| 141 | ((d.choose j • (-1 : k) ^ ((q + j) * (d - j)) • |
| 142 | HodgeTatePair.cross (M := HodgeTatePair.pairAlg ⋙ freeAb.obj W) |
| 143 | (hodgeTateMap (d - j) (HodgeH.map (freeAbMap g) y.baseChange))) |
| 144 | (hodgeTateMap j (HodgeH.map (freeAbMap f) x.baseChange))) := by |
| 145 | let Δ := PairH.map (freeAb.map (lift (𝟙 W) (𝟙 W)) ≫ freeAb.prod W W) |
| 146 | refine (congrArg (hodgeTateMap (N := freeAb W) d) |
| 147 | (map_scaledGraph_baseChange_cross f g t e x y)).trans ?_ |
| 148 | refine (hodgeTateMap_map _ _).trans ?_ |
| 149 | rw [hodgeTateMap_cup] |
| 150 | refine (_root_.map_sum Δ _ _).trans (sum_congr rfl fun j _ ↦ ?_) |
| 151 | rw [hodgeTateMap_scale] |
| 152 | exact (congrArg Δ (_root_.map_smul _ _ _)).trans (_root_.map_smul _ _ _) |
| 153 | |
| 154 | /-- The weighted pull-back of a cross product along the scaled graphs is polynomial in the scale. |
| 155 | Its coefficient of degree `h` vanishes when the weighted pull-backs of the first factor vanish |
| 156 | under the weight-`h` Hodge–Tate map. -/ |
| 157 | private lemma New.Variety.exists_polynomial_scaledGraph_cross {p : ℕ} {E k : Type} |
| 158 | {d h : ℕ} {I : Type} [Field E] [CharZero E] [Field k] [EmbeddedInQpBar p k] [Algebra E k] |
| 159 | {X : CommAlg E ⥤ Type 1} {W : CommAlg k ⥤ Type 1} |
| 160 | (f : I → (W ⟶ restrictAlg E k ⋙ X)) (g : W ⟶ restrictAlg E k ⋙ X) {b : I →₀ k} |
| 161 | {q q' : ℕ} (e : q' + q = d) (x : HodgeH (freeAb X) q) (y : HodgeH (freeAb X) q') |
| 162 | (h_wt : h ≤ d → |
| 163 | ∑ i : b.support, b i • hodgeTateMap h (HodgeH.map (freeAbMap (f i)) x.baseChange) = 0) |
| 164 | (φ : Module.Dual k (PairH (freeAb W))) : |
| 165 | ∃ Q : k[X], Q.coeff h = 0 ∧ ∀ t : k, Q.eval t = ∑ i : b.support, b i * φ (hodgeTateMap d |
| 166 | (H.map hodgeCoeff (freeAb.map (scaledGraph t (f i) g)) d |
| 167 | (HodgeH.baseChange (HodgeH.map (freeAb.prod X X) |
| 168 | (cup exteriorAlg.mulPairing x y e :))))) := by |
| 169 | let Δ := PairH.map (freeAb.map (lift (𝟙 W) (𝟙 W)) ≫ freeAb.prod W W) |
| 170 | let M (j : ℕ) : PairH (freeAb W) →ₗ[k] k := φ ∘ₗ Δ ∘ₗ |
| 171 | (d.choose j • (-1 : k) ^ ((q + j) * (d - j)) • HodgeTatePair.cross |
| 172 | (hodgeTateMap (d - j) (HodgeH.map (freeAbMap g) y.baseChange))) |
| 173 | -- The coefficient at j pairs the weighted Hodge–Tate image of x with the image of y. |
| 174 | let v (i : b.support) (j : ℕ) := hodgeTateMap j (HodgeH.map (freeAbMap (f i)) x.baseChange) |
| 175 | refine ⟨∑ j ∈ range (d + 1), monomial j (M j (∑ i : b.support, b i • v i j)), ?_, fun t ↦ ?_⟩ |
| 176 | · rw [finsetSum_coeff] |
| 177 | simp only [coeff_monomial, Finsupp.single_apply, sum_ite_eq', mem_range, Nat.lt_succ_iff] |
| 178 | split_ifs with hd |
| 179 | · rw [show (∑ i : b.support, b i • v i h) = 0 from h_wt hd, map_zero] |
| 180 | · rfl |
| 181 | · simp only [eval_finsetSum, eval_monomial, _root_.map_sum, _root_.map_smul, smul_eq_mul] |
| 182 | rw [sum_comm] |
| 183 | refine sum_congr rfl fun i _ ↦ ?_ |
| 184 | rw [hodgeTateMap_scaledGraph_baseChange_cross (f i) g t e x y, _root_.map_sum, mul_sum] |
| 185 | refine sum_congr rfl fun j _ ↦ ?_ |
| 186 | rw [_root_.map_smul, smul_eq_mul] |
| 187 | change b i * M j (v i j) * t ^ j = b i * (t ^ j * M j (v i j)) |
| 188 | ring |
| 189 | |
| 190 | /-- The vanishing half of the Woods Hole argument. Let `u i : W ⟶ Y` be maps over `R` and `b i ∈ k` |
| 191 | almost all zero. Assume that `Y` over `E` (`algPointsOf E R Y`, the functor of `E`-algebra points of |
| 192 | `Y`) has an atlas of dimension `d`, and that `h > d` or the sum of the `b i • λ_h ((u i)^* x)` is |
| 193 | zero for the Hodge classes `x` of `Y` of degree at most `d`, where `λ_h` is the Hodge–Tate map |
| 194 | `hodgeTateMap`. Let `c : W ⟶ Y`, and let `φ` be a linear form on `PairH` of `W`, the target of |
| 195 | `λ_d`: total cohomology on pairs `(S, M)` of `Z[W](B_{S,M})` with coefficients `S[1/p]`. For |
| 196 | every class `z` of `Y × Y`, the sum of the `b i · φ (λ_d (Φ t i z))` is polynomial in `t` |
| 197 | with vanishing coefficient of degree `h`. |
| 198 | Here `Φ t i z` is `z` pulled back along `(u i ∘ s_t, c)` (`New.Variety.scaledGraph`), with |
| 199 | `s_t : (a, m) ↦ (a, t m)` on the square-zero extension `B ⊕ M` of a `k`-algebra `B`. -/ |
| 200 | lemma New.Variety.exists_polynomial_scaledGraph_coeff_eq_zero {p : ℕ} {A : Type*} {E k : Type} |
| 201 | {d h : ℕ} {I : Type} [CommRing A] [Field E] [CharZero E] [Algebra A E] [Field k] |
| 202 | [EmbeddedInQpBar p k] [Algebra E k] {R : Subalgebra A E} |
| 203 | {W Y : Over (Spec (CommRingCat.of R))} {u : I → (W ⟶ Y)} {b : I →₀ k} |
| 204 | (hY_atlas : HasAtlas d (algPointsOf E (CommRingCat.of R) Y)) |
| 205 | (h_null : h ≤ d → ∀ q : ℕ, q ≤ d → |
| 206 | ∀ x : HodgeH (freeAb.obj ((algPoints E (CommRingCat.of R)).obj Y)) q, |
| 207 | (b.linearCombination k fun i : I ↦ |
| 208 | hodgeTateMap h (x.map (freeAb.map |
| 209 | ((algPoints E (CommRingCat.of R)).map (u i)))).baseChange) = 0) |
| 210 | (c : W ⟶ Y) (φ : Module.Dual k (PairH (freeAb (algPointsOf k (CommRingCat.of R) W)))) |
| 211 | (z : HodgeH (freeAb.obj |
| 212 | (algPointsOf E (CommRingCat.of R) Y ⊗ algPointsOf E (CommRingCat.of R) Y)) d) : |
| 213 | ∃ Q : k[X], Q.coeff h = 0 ∧ ∀ t : k, Q.eval t = ∑ i : b.support, b i * φ (hodgeTateMap d |
| 214 | (H.map hodgeCoeff (freeAb.map (scaledGraph t ((algPoints k (CommRingCat.of R)).map (u i)) |
| 215 | ((algPoints k (CommRingCat.of R)).map c))) d (HodgeH.baseChange z))) := by |
| 216 | let XY : CommAlg E ⥤ Type 1 := algPointsOf E (CommRingCat.of R) Y |
| 217 | let XW : CommAlg k ⥤ Type 1 := algPointsOf k (CommRingCat.of R) W |
| 218 | let D (f : W ⟶ Y) : XW ⟶ restrictAlg E k ⋙ XY := (algPoints k (CommRingCat.of R)).map f |
| 219 | -- `Φ t i` is base change to `k` followed by pull-back along `(u i ∘ s_t, c)`. |
| 220 | let Φ (t : k) (i : b.support) : HodgeH (freeAb.obj (XY ⊗ XY)) d →+ HodgeH (freeAb XW) d := |
| 221 | (H.map hodgeCoeff (freeAb.map (scaledGraph t (D (u i)) (D c))) d).comp HodgeH.baseChange |
| 222 | -- restate the goal with `Φ`, and `φ`, `z` in terms of `XW`, `XY` |
| 223 | revert φ z |
| 224 | intro (φ : Module.Dual k (PairH (freeAb XW))) (z : HodgeH (freeAb.obj (XY ⊗ XY)) d) |
| 225 | change ∃ Q : k[X], Q.coeff h = 0 ∧ ∀ t : k, |
| 226 | Q.eval t = ∑ i : b.support, b i * φ (hodgeTateMap d (Φ t i z)) |
| 227 | -- Künneth expresses the class as a sum of cross products. Add their polynomials. |
| 228 | induction kunneth z using AddSubmonoid.closure_induction_left with |
| 229 | | zero => exact ⟨0, by simp, by simp⟩ |
| 230 | | add_left g hg z _ ih => |
| 231 | obtain ⟨q, q', e, x, y, rfl⟩ := hg |
| 232 | -- the sum of `h_null`, read through the pull-backs along `D (u i)` |
| 233 | have h_wt (hd : h ≤ d) : |
| 234 | ∑ i : b.support, b i • hodgeTateMap h (.map (freeAbMap (D (u i))) x.baseChange) = 0 := by |
| 235 | -- `using!`: `h_null` pulls back along `algPoints E` then restricts, `D` along `algPoints k`; |
| 236 | -- the two agree only by unfolding |
| 237 | simpa using! (sum_attach b.support _).trans (h_null hd q (by omega) x) |
| 238 | obtain ⟨P, hP, hPeval⟩ := |
| 239 | exists_polynomial_scaledGraph_cross (fun i ↦ D (u i)) (D c) e x y h_wt φ |
| 240 | obtain ⟨Q, hQ, hQeval⟩ := ih |
| 241 | exact ⟨P + Q, by simp [hP, hQ], fun t ↦ by |
| 242 | simp only [eval_add, hPeval, hQeval, _root_.map_add, mul_add, sum_add_distrib] |
| 243 | rfl⟩ |
| 244 | |
| 245 | /-- Reducedness of the coincidences of `c` and `u i` from nonvanishing tangent polynomials: |
| 246 | given an atlas `hW_atlas` of `W` over `k` and tangent polynomials `P` with `P(1) ≠ 0` at every |
| 247 | coincidence in `S`, each `u i` and `c` have a finite coincidence set `s i` whose union is `S`. -/ |
| 248 | private lemma New.Variety.exists_coincidenceSet_of_isTangentPoly {A : Type*} {E k : Type} |
| 249 | {d : ℕ} {I : Type} [CommRing A] [Field E] [Field k] [IsAlgClosed k] [Algebra A E] [Algebra E k] |
| 250 | {R : Subalgebra A E} |
| 251 | {W Y : Over (Spec (CommRingCat.of R))} [IsSeparated Y.hom] {u : I → (W ⟶ Y)} {b : I →₀ k} |
| 252 | (hW_atlas : HasAtlas d (algPointsOf k (CommRingCat.of R) W)) (c : W ⟶ Y) |
| 253 | {S : Set (Σ _ : b.support, PointsIn W (CommAlgCat.of k k))} |
| 254 | (hS_def : ∀ w : Σ _ : b.support, PointsIn W (CommAlgCat.of k k), |
| 255 | w ∈ S ↔ ((algPoints k (CommRingCat.of R)).map c).app _ w.snd = |
| 256 | ((algPoints k (CommRingCat.of R)).map (u w.fst)).app _ w.snd) |
| 257 | {P : (Σ _ : b.support, PointsIn W (CommAlgCat.of k k)) → k[X]} |
| 258 | (hP : ∀ y ∈ S, IsTangentPoly d ((algPoints k (CommRingCat.of R)).map c) |
| 259 | ((algPoints k (CommRingCat.of R)).map (u y.fst)) y.snd (P y) ∧ (P y).eval 1 ≠ 0) : |
| 260 | ∃ s : b.support → Finset ((algPointsOf k (CommRingCat.of R) W).obj (CommAlgCat.of k k)), |
| 261 | (∀ i : b.support, IsCoincidenceSet ((algPoints k (CommRingCat.of R)).map (u i)) |
| 262 | ((algPoints k (CommRingCat.of R)).map c) (s i)) ∧ |
| 263 | S = univ.sigma s := by |
| 264 | let XW : CommAlg k ⥤ Type 1 := algPointsOf k (CommRingCat.of R) W |
| 265 | let D (f : W ⟶ Y) : XW ⟶ restrictAlg E k ⋙ algPointsOf E (CommRingCat.of R) Y := |
| 266 | (algPoints k (CommRingCat.of R)).map f |
| 267 | have h_const (y : Σ _ : b.support, PointsIn W (CommAlgCat.of k k)) (hy : y ∈ S) |
| 268 | (x : XW.obj (CommAlgCat.of k (DualNumber k))) (hx : XW.map SqZeroExt.fst x = y.snd) : |
| 269 | ConstIfCoincident (D (u y.fst)) (D c) x := |
| 270 | IsTangentPoly.constIfCoincident (c := D c) (hP y hy).left hW_atlas.isChartCovered |
| 271 | (hP y hy).right hx |
| 272 | have h_coin (i : b.support) : |
| 273 | ∃ s : Finset (XW.obj (CommAlgCat.of k k)), IsCoincidenceSet (D (u i)) (D c) s := by |
| 274 | obtain ⟨r, chart, h_cover⟩ := hW_atlas.exists_finite_charts |
| 275 | -- a `k[ε]`-valued coincidence reduces to a `k`-valued one, a point of `S` |
| 276 | have h_mem_red (x : XW.obj (CommAlgCat.of k (DualNumber k))) |
| 277 | (e : (D c).app _ x = (D (u i)).app _ x) : |
| 278 | (⟨i, XW.map SqZeroExt.fst x⟩ : Σ _ : b.support, PointsIn W (CommAlgCat.of k k)) ∈ S := by |
| 279 | rw [hS_def] |
| 280 | exact ULift.down_inj.1 (by congrm _ ≫ $e.1) |
| 281 | exact exists_isCoincidenceSet _ _ (hX := isSeparatedFunctor_algPointsOf) |
| 282 | (fun x e ↦ h_const ⟨i, XW.map SqZeroExt.fst x⟩ (h_mem_red x e) x rfl e) chart |
| 283 | fun K hK x _ ↦ h_cover K hK x |
| 284 | choose s hs using h_coin |
| 285 | refine ⟨s, hs, Set.ext fun w ↦ ⟨fun hw ↦ ?_, fun hw ↦ ?_⟩⟩ |
| 286 | · -- a coincidence at a `k`-point comes from a point of `s` |
| 287 | obtain ⟨-, -, hs_all⟩ := hs w.fst |
| 288 | simpa using hs_all _ (Field.toIsField k) _ ((hS_def w).1 hw) |
| 289 | · obtain ⟨-, hs_coin, -⟩ := hs w.fst |
| 290 | exact (hS_def w).2 (hs_coin w.snd (by simpa using hw)) |
| 291 | |
| 292 | /-- Half of the Atiyah–Bott formula. Let `Y` be proper and `W` projective over `R`, a subalgebra of |
| 293 | `E`; let `R → E → k → ℚ̄_p` with `E`, `k` fields of characteristic 0 and `k` algebraically closed |
| 294 | (`EmbeddedInQpBar p k`); let `Y` over `E` and `W` over `k` have atlases of dimension `d` |
| 295 | (`New.Variety.HasAtlas`: finitely many charts with `d` étale coordinates). Let `u i : W ⟶ Y` be maps |
| 296 | and `b i ∈ k` almost all zero. Assume that `h > d`, or that `∑ b i • λ_h ((u i)^* x) = 0` for every |
| 297 | Hodge class `x` of `Y` over `E` of degree `q ≤ d`, read over `k`, with `λ_h` the Hodge–Tate map |
| 298 | `New.Variety.hodgeTateMap h`. Then `∑ b i [u i]` is `h`-null: for every `c : W ⟶ Y`, the local terms |
| 299 | of weight `h` at the coincidences of `c` and the `u i` add up to zero (`New.Variety.IsNullFamily`). |
| 300 | -/ |
| 301 | lemma New.Variety.ellAdicCohom.woods_hole {p : ℕ} {A : Type*} {E k : Type} {d h : ℕ} {I : Type} |
| 302 | [CommRing A] [Field E] [CharZero E] [Algebra A E] [Field k] [IsAlgClosed k] |
| 303 | [EmbeddedInQpBar p k] [Algebra E k] {R : Subalgebra A E} |
| 304 | {W Y : Over (Spec (CommRingCat.of R))} [IsProper Y.hom] {u : I → (W ⟶ Y)} {b : I →₀ k} |
| 305 | (hY_atlas : HasAtlas d (algPointsOf E (CommRingCat.of R) Y)) |
| 306 | (hW_atlas : HasAtlas d (algPointsOf k (CommRingCat.of R) W)) |
| 307 | (h_proj : HasProjEmbedding W.hom) |
| 308 | (h_null : h ≤ d → ∀ q : ℕ, q ≤ d → |
| 309 | ∀ x : HodgeH (freeAb.obj ((algPoints E (CommRingCat.of R)).obj Y)) q, |
| 310 | (b.linearCombination k fun i : I ↦ |
| 311 | hodgeTateMap h (x.map (freeAb.map |
| 312 | ((algPoints E (CommRingCat.of R)).map (u i)))).baseChange) = 0) : |
| 313 | IsNullFamily u b d h := by |
| 314 | -- Apply a linear form taking point classes to one to the weighted pull-back of the diagonal. |
| 315 | -- Künneth gives a polynomial with zero coefficient at h. The fixed-point formula computes its |
| 316 | -- values from the tangent polynomials at the coincidences. |
| 317 | let XY : CommAlg E ⥤ Type 1 := algPointsOf E (CommRingCat.of R) Y |
| 318 | let XW : CommAlg k ⥤ Type 1 := algPointsOf k (CommRingCat.of R) W |
| 319 | let D (f : W ⟶ Y) : XW ⟶ restrictAlg E k ⋙ XY := (algPoints k (CommRingCat.of R)).map f |
| 320 | -- `IsNullFamily`: given `c`, the set `S` of pairs `(i, y)` with `c y = u i y` at a `k`-point |
| 321 | -- `y`, and tangent polynomials `P` with `P(1) ≠ 0` at them (`hP`), the local terms add up to zero |
| 322 | intro (c : W ⟶ Y) S (P : (Σ _ : b.support, PointsIn W (CommAlgCat.of k k)) → k[X]) |
| 323 | (hP : ∀ y ∈ S, IsTangentPoly d (D c) (D (u y.fst)) y.snd (P y) ∧ (P y).eval 1 ≠ 0) |
| 324 | -- `δ` is the class of the diagonal; `hδ` computes its pull-backs (`exists_diagonal_local_terms`) |
| 325 | obtain ⟨δ, hδ⟩ := exists_diagonal_local_terms hY_atlas |
| 326 | obtain ⟨φ, hφ⟩ : |
| 327 | ∃ φ : Module.Dual k (PairH (freeAb XW)), ∀ z ∈ Set.range (pointClass d), |
| 328 | φ (hodgeTateMap d z) = 1 := |
| 329 | Module.exists_dual_forall_apply_eq_one (linearIndepOn_hodgeTateMap_pointClass h_proj) |
| 330 | -- `Φ t i` is base change to `k` followed by pull-back along `(u i ∘ s_t, c)`. |
| 331 | let Φ (t : k) (i : b.support) : HodgeH (freeAb.obj (XY ⊗ XY)) d →+ HodgeH (freeAb XW) d := |
| 332 | (H.map hodgeCoeff (freeAb.map (scaledGraph t (D (u i)) (D c))) d).comp HodgeH.baseChange |
| 333 | -- A coincidence `y` has Jacobian ratio `P y t / P y 1` and is reduced, so the coincidences of `c` |
| 334 | -- and `u i` form a finite set `s i` of `k`-points. |
| 335 | have h_ratio (y : Σ _ : b.support, PointsIn W (CommAlgCat.of k k)) (hy : y ∈ S) (t : k) : |
| 336 | HasJacobianRatio (D (u y.fst)) (D c) d t ((P y).eval t / (P y).eval 1) y.snd := |
| 337 | IsTangentPoly.hasJacobianRatio_eval_div (c := D c) (hP y hy).left hW_atlas.isChartCovered |
| 338 | (hP y hy).right t |
| 339 | obtain ⟨s, hs, hS⟩ := |
| 340 | exists_coincidenceSet_of_isTangentPoly hW_atlas c (fun _ ↦ ULift.down_inj) hP |
| 341 | have h_mem (i : b.support) (w : XW.obj (CommAlgCat.of k k)) (hw : w ∈ s i) : |
| 342 | (⟨i, w⟩ : Σ _ : b.support, PointsIn W (CommAlgCat.of k k)) ∈ S := by |
| 343 | rw [hS] |
| 344 | simpa using hw |
| 345 | have h_fix (i : b.support) (t : k) : |
| 346 | Φ t i δ = ∑ w ∈ s i, ((P ⟨i, w⟩).eval t / (P ⟨i, w⟩).eval 1) • pointClass d w := |
| 347 | (hδ (D (u i)) (D c) (s i) t (fun w ↦ (P ⟨i, w⟩).eval t / (P ⟨i, w⟩).eval 1) (hs i) |
| 348 | fun w hw ↦ h_ratio ⟨i, w⟩ (h_mem i w hw) t).right |
| 349 | obtain ⟨Q, hQ, hQeval⟩ := |
| 350 | exists_polynomial_scaledGraph_coeff_eq_zero hY_atlas h_null c φ δ |
| 351 | -- The diagonal formula identifies the polynomial by its values at every scale. |
| 352 | have h_local : Q = ∑ i : b.support, ∑ w ∈ s i, |
| 353 | (b i / (P ⟨i, w⟩).eval 1) • P ⟨i, w⟩ := by |
| 354 | apply Polynomial.funext |
| 355 | intro t |
| 356 | change Q.eval t = _ |
| 357 | rw [hQeval] |
| 358 | change (∑ i : b.support, b i * φ (hodgeTateMap d (Φ t i δ))) = _ |
| 359 | simp [h_fix, hφ, eval_finsetSum, mul_sum, div_eq_mul_inv, mul_comm, mul_left_comm] |
| 360 | rw [hS] |
| 361 | refine ⟨finite_toSet _, ?_⟩ |
| 362 | rw [finsum_mem_coe_finset, sum_sigma] |
| 363 | simpa [h_local, finsetSum_coeff, div_eq_mul_inv, mul_comm, mul_left_comm, mul_assoc] using hQ |