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.LinearAlgebra.SModEq.Pow |
| 4 | import Mathlib.NumberTheory.Multiplicity |
| 5 | public import Mathlib.RingTheory.Etale.Field -- shake: keep (needed public by an exposed definition) |
| 6 | import Mathlib.RingTheory.Henselian |
| 7 | import Mathlib.RingTheory.PicardGroup |
| 8 | import Mathlib.RingTheory.RegularLocalRing.Defs |
| 9 | public import Mathlib.RingTheory.Smooth.AdicCompletion -- shake: keep (needed public by an exposed definition) |
| 10 | import Mathlib.Topology.Separation.CompletelyRegular |
| 11 | public import Lib.PadicHodge.PeriodRings.CrystallineRings |
| 12 | import Lib.ClassField.Places.DecompositionCyclotomic |
| 13 | |
| 14 | /-! |
| 15 | # The cyclotomic action on μ, the period t, and the de Rham field B_dR |
| 16 | |
| 17 | This file studies the Galois and Frobenius actions on Fontaine's period rings for `ℂ_[p]`. We write |
| 18 | A_inf = `New.Period.Ainf` (Witt vectors of `OFlat`, the tilt of the integers of `ℂ_[p]`), |
| 19 | ε = `New.Period.epsTilt` (a compatible system of `p`-power roots of unity in the tilt), μ = [ε] − 1, |
| 20 | ξ for the generator of the kernel of θ, φ for Frobenius (`New.Period.frobEnd`) and χ for the |
| 21 | cyclotomic character `New.cyclotomicGp`. Let B_dR⁺ = `New.Period.BdRPlus`, the ξ-adic completion of |
| 22 | B⁺ = `New.Period.BPlus`. The fraction field B_dR of B_dR⁺ contains B = B⁺[1/μ] and Q̄_p |
| 23 | equivariantly. |
| 24 | |
| 25 | ## Main definitions and results |
| 26 | |
| 27 | * `New.Lift.mu_sq_dvd_smul_mu_sub`: in `New.Period.Ainf`, the Witt vectors of the tilt of the |
| 28 | integers of `ℂ_[p]`, an element `g` of the Galois group `New.Gp p` sends `μ = [ε] - 1` to `χ(g) μ` |
| 29 | modulo `μ ^ 2`. Here `ε` is `New.Period.epsTilt` and `χ` is the cyclotomic character. The |
| 30 | divisibility `μ ^ 2 ∣ g μ - χ(g) μ` holds in `A_inf` itself; the proof checks it modulo every |
| 31 | power of the ideal `(p, ξ)`, where `ξ` generates the kernel of Fontaine's map `θ`. |
| 32 | * `New.Period.exists_tPeriod`: some unit multiple `t` of `p μ` has `φ t = p t` and `g t = χ(g) t`. |
| 33 | * `New.Period.BdR`: the fraction field of B_dR⁺; G_p acts on it and B embeds in it equivariantly. |
| 34 | * An embedding of Q̄_p in B_dR⁺, got by lifting along θ since Q̄_p is formally étale over ℚ_p; |
| 35 | `New.Period.thetaBdR_algebraMap_padicAlgCl` says it is a section of θ, |
| 36 | `New.Period.BdR.smul_algebraMap_padicAlgCl` that it is G_p-equivariant. |
| 37 | * `New.Period.Bmax.fundamental_sequence_surjective`: (φ − 1, inclusion) maps B onto |
| 38 | B × B_dR / B_dR⁺, the surjectivity in the fundamental exact sequence. |
| 39 | |
| 40 | Notions from other files: |
| 41 | * `New.Period.Amax`: The ring A, the p-adic completion of A_inf[ξ/p]; B⁺ = A[1/p]. |
| 42 | * `New.Period.mu`, `New.Period.tau`, `New.Period.xi`: The elements μ = [ε] − 1, τ = [ε^{1/p}] − 1 |
| 43 | and ξ = Σ_{0 ≤ i < p} [ε^{1/p}]^i of A_inf; ξτ = μ and φ(τ) = μ. |
| 44 | |
| 45 | ## Relation to the literature |
| 46 | |
| 47 | Known result: Fontaine's period rings and the fundamental exact sequence. Here Colmez's B_max |
| 48 | replaces B_cris and the period t is built without logarithms. The part of Fontaine's regularity that |
| 49 | is used, namely that the invariants of the fraction field of B already lie in B, is proved in |
| 50 | `Lib.PadicHodge.Crystalline.Regularity` (`New.Period.fontaine_regularity`). Source: P. Colmez, |
| 51 | Théorie d'Iwasawa des représentations de de Rham d'un corps local, Ann. of Math. 148 (1998), |
| 52 | III.2-III.3; J.-M. Fontaine, Le corps des périodes p-adiques, Astérisque 223 (1994); X. Caruso, An |
| 53 | introduction to p-adic period rings (2019), §3. |
| 54 | -/ |
| 55 | |
| 56 | @[expose] public section |
| 57 | |
| 58 | noncomputable section |
| 59 | |
| 60 | /-! ## The action of G_p on μ modulo μ² -/ |
| 61 | |
| 62 | namespace New.Lift |
| 63 | |
| 64 | open Period Ideal WittVector SModEq Ainf |
| 65 | |
| 66 | variable {p : ℕ} [ThePrime p] |
| 67 | |
| 68 | @[simp] |
| 69 | lemma iterate_frobEnd_teichmuller (x : OFlat) (n : ℕ) : |
| 70 | frobEnd^[n] (teichmuller p x) = teichmuller p x ^ p ^ n := by |
| 71 | simpa only [map_pow] using Period.iterate_frobEnd_teichmuller n x |
| 72 | |
| 73 | /-- If `ξ` divides `x - y` in `A_inf`, then `x ^ p ^ m - y ^ p ^ m` lies in the `m`-th power of the |
| 74 | ideal `(p, ξ)`. -/ |
| 75 | lemma pow_p_pow_sub_mem_of_xi_dvd {x y : Ainf} (h_xi_dvd : xi ∣ x - y) (m : ℕ) : |
| 76 | x ^ p ^ m - y ^ p ^ m ∈ span {↑p, xi} ^ m := by |
| 77 | have h_mod : x ≡ y [SMOD span {(p : Ainf), xi}] := |
| 78 | SModEq.sub_mem.mpr (mem_of_dvd _ h_xi_dvd (subset_span (by simp))) |
| 79 | have h_pow : x ^ p ^ m ≡ y ^ p ^ m [SMOD span {↑p, xi} ^ (m + 1)] := |
| 80 | pow_pow_add_one (subset_span (by simp)) h_mod m |
| 81 | exact Ideal.pow_le_pow_right m.le_succ (SModEq.sub_mem.mp h_pow) |
| 82 | |
| 83 | /-- Let `g` be an element of the Galois group `G_p` and `χ(g)` in `ℤ_[p]ˣ` its cyclotomic |
| 84 | character. Then `μ ^ 2` divides `g μ - χ(g) μ` in `A_inf`, where `μ = [ε] - 1`: the element `g` |
| 85 | sends `μ` to `χ(g) μ` modulo `μ ^ 2`. -/ |
| 86 | lemma mu_sq_dvd_smul_mu_sub (g : Gp p) : mu ^ 2 ∣ g • mu - (cyclotomicGp g : ℤ_[p]) • mu := by |
| 87 | -- As `p` does not divide `μ ^ 2`, it suffices (`dvd_of_forall_exists_sub_mem_span_pow`) to prove |
| 88 | -- the divisibility modulo `(p, ξ) ^ m` for every `m`. |
| 89 | have hp_not_dvd : ¬(p : Ainf) ∣ mu ^ 2 := by |
| 90 | simp [Witt.p_dvd_iff, -constantCoeff_apply, constantCoeff_mu_ne_zero] |
| 91 | refine dvd_of_forall_exists_sub_mem_span_pow prime_p.not_isUnit prime_xi.not_isUnit hp_not_dvd |
| 92 | fun m ↦ ?_ |
| 93 | -- Let `u = [ε^{1/p^m}]` and let `a` be the cyclotomic character of `g` modulo `p ^ m`. |
| 94 | let u : Ainf := teichmuller p ((frobeniusEquiv _ p).symm^[m] epsTilt) |
| 95 | let a : ℕ := (cyclotomicCharMod ℂ_[p] (p ^ m) g : ZMod (p ^ m)).val |
| 96 | have hu : u ^ p ^ m = 1 + mu := by simp [u, mu_eq, ← map_pow] |
| 97 | -- `θ u` is a `p ^ m`-th root of unity, as `u ^ p ^ m = 1 + μ` and `θ μ = 0`; `g` acts on it as |
| 98 | -- the `a`-th power, and `ker θ = (ξ)`. |
| 99 | have h_root : theta u ^ p ^ m = 1 := by |
| 100 | simp [← map_pow, hu, theta_eq_zero_iff_xi_dvd.mpr (Dvd.intro tau xi_mul_tau)] |
| 101 | have h_act : g • (theta u : ℂ_[p]) = (theta u : ℂ_[p]) ^ a := |
| 102 | smul_eq_pow_cyclotomicCharMod g (mod_cast h_root) |
| 103 | have h_xi : xi ∣ g • u - u ^ a := by |
| 104 | simpa [← theta_eq_zero_iff_xi_dvd, u, Subtype.ext_iff, sub_eq_zero] using h_act |
| 105 | have h_pow : 1 + g • mu - (1 + mu) ^ a ∈ span {↑p, xi} ^ m := by |
| 106 | simpa [← smul_pow', pow_right_comm u a, hu] using pow_p_pow_sub_mem_of_xi_dvd h_xi m |
| 107 | -- The cyclotomic characters of the algebraic closure and of its completion agree. |
| 108 | have h_chi : (p : ℤ_[p]) ^ m ∣ (cyclotomicGp g).val - a := by |
| 109 | rw [cyclotomicGp, |
| 110 | cyclotomicChar_eq_of_equivariant p (j := algebraMap _ ℂ_[p]) |
| 111 | fun x ↦ (UniformSpace.Completion.algEquiv_smul_coe g x).symm] |
| 112 | exact (pow_dvd_cyclotomicChar_sub_iff m).mpr (ZMod.natCast_zmod_val _).symm |
| 113 | have h_lin : (p : Ainf) ^ m ∣ (cyclotomicGp g : ℤ_[p]) • mu - a * mu := by |
| 114 | simpa [sub_mul, Algebra.smul_def] using (map_dvd (algebraMap _ Ainf) h_chi).mul_right mu |
| 115 | -- Binomial expansion: `(1 + μ) ^ a = 1 + a μ + μ² x`. |
| 116 | obtain ⟨x, hx⟩ : mu ^ 2 ∣ (1 + mu) ^ a - mu * a - 1 := by |
| 117 | simpa using sq_dvd_add_pow_sub_sub mu 1 a |
| 118 | have h_eq : g • mu - (cyclotomicGp g : ℤ_[p]) • mu - mu ^ 2 * x = |
| 119 | (1 + g • mu - (1 + mu) ^ a) - ((cyclotomicGp g : ℤ_[p]) • mu - a * mu) := by |
| 120 | linear_combination hx |
| 121 | use x |
| 122 | rw [h_eq] |
| 123 | exact sub_mem h_pow (mem_of_dvd _ h_lin (pow_mem_pow (subset_span (by simp)) m)) |
| 124 | |
| 125 | end New.Lift |
| 126 | |
| 127 | namespace New.Period |
| 128 | |
| 129 | /-! |
| 130 | ## The period t with φt = pt and gt = χ(g)t |
| 131 | |
| 132 | The period is constructed without logarithms, in `New.Period.Amax`, the `p`-adic completion of |
| 133 | `A_inf[ξ / p]`. |
| 134 | -/ |
| 135 | |
| 136 | section PeriodT |
| 137 | |
| 138 | open Amax Algebra algebraMap NeZero |
| 139 | |
| 140 | variable {p : ℕ} [ThePrime p] |
| 141 | |
| 142 | /-- If `u` is divisible by `p` in `Amax`, the equation `c - u φ(c) = w` has a unique solution |
| 143 | in `Amax`, where `φ` is the Frobenius `frobEnd`. -/ |
| 144 | lemma Amax.existsUnique_sub_mul_frobEnd_eq {u : Amax} (hp_dvd : (p : Amax) ∣ u) (w : Amax) : |
| 145 | ∃! c : Amax, c - u * frobEnd c = w := by |
| 146 | -- The map is the identity modulo `p`, so it is onto by successive approximation. |
| 147 | let f : Amax →+ Amax := .id Amax - u • frobEnd.toAddMonoidHom |
| 148 | have h_step (v : Amax) : ∃ n y : Amax, v = f n + (p : ℤ) • y := by |
| 149 | obtain ⟨y, hy⟩ : (p : Amax) ∣ u * frobEnd v := hp_dvd.mul_right _ |
| 150 | exact ⟨v, y, by simp [f, ← hy]⟩ |
| 151 | obtain ⟨c, hc⟩ : ∃ c : Amax, c - u * frobEnd c = w := by |
| 152 | simpa [f] using mem_range_of_approx f (map_zsmul f p) id h_step w |
| 153 | refine ⟨c, hc, fun d hd ↦ eq_of_forall_pow_dvd_sub p ?_⟩ |
| 154 | -- The difference of two solutions is multiplied by `u` after Frobenius, gaining a factor of p. |
| 155 | have h_diff : d - c = u * frobEnd (d - c) := by |
| 156 | rw [map_sub] |
| 157 | linear_combination hd - hc |
| 158 | intro n |
| 159 | induction n with |
| 160 | | zero => simp |
| 161 | | succ n ih => |
| 162 | have h_phi : (p : Amax) ^ n ∣ frobEnd (d - c) := by |
| 163 | simpa only [map_pow, map_natCast] using map_dvd frobEnd ih |
| 164 | rw [h_diff, pow_succ'] |
| 165 | exact mul_dvd_mul hp_dvd h_phi |
| 166 | |
| 167 | /-- Let `u` be a unit of `Amax` with `φ μ = p u μ`, for `μ = [ε] - 1` and `φ = frobEnd`. If `δ` is |
| 168 | divisible by `μ ^ 2` and `φ δ = p δ`, then `δ = 0`. -/ |
| 169 | private lemma eq_zero_of_frobEnd_eq_mul_of_mu_sq_dvd {u : Amaxˣ} |
| 170 | (phi_μ : frobEnd (mu : Amax) = p * u * (mu : Amax)) {δ : Amax} |
| 171 | (phi_δ : frobEnd δ = p * δ) (hδ : (mu : Amax) ^ 2 ∣ δ) : δ = 0 := by |
| 172 | set μ : Amax := ↑mu with hμ |
| 173 | obtain ⟨z, hz⟩ := hδ |
| 174 | have h_mu_ne : μ ≠ 0 := by |
| 175 | intro h_zero |
| 176 | apply BPlus.mu_ne_zero (p := p) |
| 177 | simpa [hμ, ← IsScalarTower.algebraMap_apply] using congrArg (algebraMap Amax BPlus) h_zero |
| 178 | have h_z : z - p * u ^ 2 * frobEnd z = 0 := by |
| 179 | apply (mul_left_cancel₀ (mul_ne_zero (ne (p : Amax)) (pow_ne_zero 2 h_mu_ne))) |
| 180 | rw [mul_zero] |
| 181 | rw [hz, map_mul, map_pow, phi_μ] at phi_δ |
| 182 | linear_combination -phi_δ |
| 183 | have hz_zero : z = 0 := |
| 184 | (existsUnique_sub_mul_frobEnd_eq (dvd_mul_right _ _) (0 : Amax)).unique h_z (by simp) |
| 185 | simpa [hz_zero] using hz |
| 186 | |
| 187 | /-- There is an element `t` of Colmez's period ring `Amax` (the p-adic completion of |
| 188 | `A_inf[X]/(pX − ξ)`) that is a unit multiple of `μ p`, where `μ = [ε] − 1` is the element `mu` of |
| 189 | `A_inf`. It satisfies `φ t = p t` and `g t = χ(g) t` for all `g` in `G_p = Gal(Q̄_p/Q_p)`, where `χ` |
| 190 | is the p-adic cyclotomic character. |
| 191 | |
| 192 | The element `t` plays the role of Fontaine's period `t`, up to the factor `p`. -/ |
| 193 | lemma exists_tPeriod : ∃ t : Amax, |
| 194 | Associated (mu * p : Amax) t ∧ |
| 195 | frobEnd t = p * t ∧ |
| 196 | ∀ g : Gp p, g • t = (cyclotomicGp g : ℤ_[p]) • t := by |
| 197 | -- Write `φ ξ = p u` with `u` a unit and `φ ξ - p = μ w`. Then `φ μ = p u μ`, and |
| 198 | -- `t = μ (p + μ c)` works, where `c` solves `c - p u² φ c = w`. |
| 199 | set μ : Amax := ↑mu with hμ |
| 200 | obtain ⟨u, hu⟩ : ∃ u : Amaxˣ, p * (u : Amax) = frobEnd xi := associated_p_frobEnd_xi |
| 201 | -- apply `φ` to `τ ∣ ξ - p`, with `φ τ = μ` |
| 202 | obtain ⟨w, hw⟩ : μ ∣ p * u - p := by |
| 203 | simpa [hu, hμ, -isUnit_map_iff] using |
| 204 | map_dvd (algebraMap Ainf Amax) (map_dvd frobEnd tau_dvd_xi_sub_p) |
| 205 | obtain ⟨c, hc, -⟩ : ∃! c : Amax, c - p * u ^ 2 * frobEnd c = w := |
| 206 | existsUnique_sub_mul_frobEnd_eq (dvd_mul_right _ _) w |
| 207 | have phi_μ : frobEnd μ = p * u * μ := by |
| 208 | rw [hu, hμ, frobEnd_algebraMap, ← map_mul, ← frobEnd_tau, ← map_mul, xi_mul_tau, frobEnd_tau] |
| 209 | let t : Amax := μ * (p + μ * c) |
| 210 | -- expand `t` with `μ w = p u - p` and `c = w + p u² φ c` |
| 211 | have t_eq : μ * p * (u + μ * u ^ 2 * frobEnd c) = t := by |
| 212 | linear_combination μ * hw - μ ^ 2 * hc |
| 213 | -- `φ t = p u μ (p + p u μ φ c)` is `p` times the left side of `t_eq` |
| 214 | have phi_t : frobEnd t = p * t := by |
| 215 | rw [map_mul, map_add, map_mul, map_natCast, phi_μ, ← t_eq] |
| 216 | ring |
| 217 | -- `p ∣ ξ ∣ μ` in `Amax`, so the last factor in `t_eq` is the unit `u` modulo `p` |
| 218 | have h_p_dvd : (p : Amax) ∣ u + μ * u ^ 2 * frobEnd c - u := by |
| 219 | simp [μ, ← xi_mul_tau, mul_assoc] |
| 220 | have h_unit : IsUnit (u + μ * u ^ 2 * frobEnd c) := isUnit_of_dvd_sub u.isUnit h_p_dvd |
| 221 | refine ⟨t, ⟨h_unit.unit, t_eq⟩, phi_t, fun g ↦ ?_⟩ |
| 222 | -- After removing the factor `μ²`, the Galois defect satisfies the homogeneous equation. |
| 223 | set χ : ℤ_[p] := ↑(cyclotomicGp g) |
| 224 | set δ : Amax := g • t - χ • t with hδ |
| 225 | have phi_δ : frobEnd δ = p * δ := by |
| 226 | have phi_smul : frobEnd (χ • t) = χ • frobEnd t := by |
| 227 | let φ : FrobGal := (Multiplicative.ofAdd 1, 1) |
| 228 | exact smul_comm φ χ t |
| 229 | simp [hδ, ← smul_frobEnd, phi_smul, phi_t, mul_sub] |
| 230 | have hδ_dvd : μ ^ 2 ∣ δ := by |
| 231 | -- `g μ = μ² d + χ(g) μ` and `t = μ (p + μ c)`; expand `g t - χ(g) t`. |
| 232 | obtain ⟨d, hd⟩ : mu ^ 2 ∣ g • mu - χ • mu := Lift.mu_sq_dvd_smul_mu_sub g |
| 233 | have h_gμ : g • μ = μ ^ 2 * d + algebraMap ℤ_[p] Amax χ * μ := by |
| 234 | simp [μ, χ, eq_add_of_sub_eq hd, Algebra.smul_def, ← IsScalarTower.algebraMap_apply] |
| 235 | have h_gt : g • t = g • μ * (p + g • μ * g • c) := by simp [t, smul_mul', smul_add] |
| 236 | refine ⟨p * d + (algebraMap ℤ_[p] Amax χ + μ * d) ^ 2 * g • c - χ • c, ?_⟩ |
| 237 | rw [hδ, h_gt, h_gμ, Algebra.smul_def χ c, Algebra.smul_def χ t] |
| 238 | ring |
| 239 | -- A multiple of `μ²` with `φ δ = p δ` vanishes. |
| 240 | exact sub_eq_zero.mp (eq_zero_of_frobEnd_eq_mul_of_mu_sq_dvd phi_μ phi_δ hδ_dvd) |
| 241 | |
| 242 | /-- A chosen element `t` of `Amax` with the three properties of `exists_tPeriod`. These properties |
| 243 | are unchanged when `t` is multiplied by a unit of `ℤ_[p]`, so they do not fix a normalisation. -/ |
| 244 | noncomputable def tPeriodAmax : Amax := exists_tPeriod.choose |
| 245 | |
| 246 | /-- In Colmez's ring `Amax` (A_max), the product of μ = [ε] − 1 (the Teichmüller lift of ε minus |
| 247 | one) with p is associated to the chosen period `tPeriodAmax`. That is, `mu * p` equals `tPeriodAmax` |
| 248 | times a unit of `Amax`. -/ |
| 249 | lemma associated_mu_mul_p_tPeriodAmax : Associated (mu * p : Amax) tPeriodAmax := |
| 250 | exists_tPeriod.choose_spec.1 |
| 251 | |
| 252 | /-- For every `g` in the absolute Galois group G_p of Q_p, `g` acts on the chosen period |
| 253 | `tPeriodAmax` in `Amax` by multiplication by χ(`g`) ∈ ℤ_p, where χ = `cyclotomicGp` is the p-adic |
| 254 | cyclotomic character. -/ |
| 255 | lemma smul_tPeriodAmax (g : Gp p) : g • tPeriodAmax = (cyclotomicGp g : ℤ_[p]) • tPeriodAmax := by |
| 256 | obtain ⟨-, -, h_smul⟩ := (exists_tPeriod (p := p)).choose_spec |
| 257 | exact h_smul g |
| 258 | |
| 259 | /-- The image of `tPeriodAmax` in `B_dR⁺`. It plays the role of `p` times Fontaine's period `t`. -/ |
| 260 | noncomputable def tPeriod : BdRPlus := algebraMap Amax BdRPlus tPeriodAmax |
| 261 | |
| 262 | end PeriodT |
| 263 | |
| 264 | /-! |
| 265 | ## The field B_dR, the embedding of Q̄_p, and the fundamental sequence |
| 266 | |
| 267 | The de Rham period field and its relation to the crystalline ring. Notation: |
| 268 | B⁺ = `New.Period.BPlus`, B = B⁺[1/μ] = `New.Period.Bmax`, B_dR⁺ = `New.Period.BdRPlus` (the ξ-adic |
| 269 | completion of B⁺), with θ : B_dR⁺ → ℂ_p (`New.Period.thetaBdR`) and the Frobenius φ on B |
| 270 | (`New.Period.frobEnd`). |
| 271 | -/ |
| 272 | |
| 273 | section BdR |
| 274 | |
| 275 | open Ideal MulSemiringAction nonZeroDivisors AdicCompletion IsLocalization Away BdRPlus Amax Algebra |
| 276 | FormallySmooth IsScalarTower BPlus NeZero IsFractionRing algebraMap |
| 277 | |
| 278 | variable {p : ℕ} [ThePrime p] |
| 279 | {R : Type*} [CommRing R] [SMul (Gp p) R] [Algebra R BPlus] [SMulDistribClass (Gp p) R BPlus] |
| 280 | {S : Type*} [CommRing S] [SMul R S] |
| 281 | |
| 282 | instance : SMulCommClass FrobGal ℚ_[p] Bmax where |
| 283 | smul_comm g := map_smul ((toAlgHom ℤ_[p] Bmax g).extendScalarsOfIsLocalization ℚ_[p] ℤ_[p]⁰) |
| 284 | |
| 285 | /-! ### The Galois action on B_dR⁺ and the field B_dR -/ |
| 286 | |
| 287 | /-- `G_p` acts on `B_dR⁺`. -/ |
| 288 | instance actBdRPlus : MulSemiringAction (Gp p) BdRPlus := by |
| 289 | -- `g` keeps the ideal `(ξ) = ker θ` of `BPlus`, so it extends to the completion. |
| 290 | apply actionOfHoms _ fun g ↦ |
| 291 | adicMap (toRingHom _ _ g) (by simp [mem_span_singleton, ↓← thetaBPlus_eq_zero_iff]) |
| 292 | -- The two laws are checked on classes of Cauchy sequences, modulo each power of `ξ`. |
| 293 | · exact DFunLike.ext' (map_ext _ fun x ↦ ext_evalₐ (by simp)) |
| 294 | · exact fun a b ↦ DFunLike.ext' (map_ext _ fun x ↦ ext_evalₐ (by simp [mul_smul])) |
| 295 | |
| 296 | instance : SMulDistribClass (Gp p) R BdRPlus := |
| 297 | smulDistribClass_of_tower fun _ : BPlus ↦ by apply adicMap_algebraMap |
| 298 | |
| 299 | /-- The de Rham period field B_dR, defined as the fraction field of the ring B_dR⁺. -/ |
| 300 | @[instance_reducible] |
| 301 | def BdR : Type := FractionRing BdRPlus |
| 302 | deriving Field |
| 303 | |
| 304 | variable [Algebra R BdRPlus] [Algebra S BdRPlus] [IsScalarTower R S BdRPlus] |
| 305 | [FaithfulSMul R BdRPlus] in |
| 306 | deriving instance Algebra R, IsScalarTower R S, IsFractionRing BdRPlus, FaithfulSMul R for @BdR p _ |
| 307 | |
| 308 | instance : CharZero BdR := charZero_of_charZero ℚ_[p] _ |
| 309 | |
| 310 | /-- `G_p` acts on `B_dR`. -/ |
| 311 | instance actBdR : MulSemiringAction (Gp p) BdR := mulSemiringAction _ BdRPlus _ |
| 312 | |
| 313 | instance : SMulDistribClass (Gp p) R BdR := smulDistribClass_of_tower fun _ : BdRPlus ↦ by simp |
| 314 | |
| 315 | /-- `B = B⁺[1/μ]` maps to `B_dR`, since `μ` is nonzero in the field `B_dR`. -/ |
| 316 | instance : Algebra Bmax BdR := |
| 317 | (Away.lift _ ((coe_eq_zero_iff ..).ne.mpr mu_ne_zero).isUnit).toAlgebra |
| 318 | |
| 319 | instance : IsScalarTower R Bmax BdR := of_algebraMap_eq fun _ ↦ .symm (lift_eq _ _) |
| 320 | |
| 321 | instance : FaithfulSMul Bmax BdR := |
| 322 | .of_injective (ofId Bmax BdR) |
| 323 | ((lift_injective_iff _).mpr (by simp [injective_BPlus_Bmax.eq_iff])) |
| 324 | |
| 325 | attribute [local instance] FormallyEtale.of_isSeparable |
| 326 | |
| 327 | /-- The embedding of `Q̄_p` in `B_dR⁺`: `Q̄_p` is formally étale over `ℚ_p`, so its map to |
| 328 | `B⁺/ξ ≃ ℂ_p` lifts to the `ξ`-adic completion `B_dR⁺`. -/ |
| 329 | instance : Algebra (PadicAlgCl p) BdRPlus := |
| 330 | (Exists.choose |
| 331 | (exists_adicCompletionEvalOneₐ_comp_eq (thetaEquiv.symm.toAlgHom.comp (algHom ..))) : |
| 332 | _ →ₐ[ℚ_[p]] BdRPlus).toAlgebra |
| 333 | |
| 334 | instance : IsScalarTower ℤ_[p] (PadicAlgCl p) BdRPlus := to₁₃₄ _ ℚ_[p] .. |
| 335 | |
| 336 | /-- In B_dR⁺ the period t (`tPeriod`) equals ξ times a unit. |
| 337 | |
| 338 | This is Fontaine's result that the period t is a uniformiser of B_dR^+, in the form that t and ξ |
| 339 | agree up to a unit. -/ |
| 340 | lemma BdRPlus.associated_xi_tPeriod : Associated (xi : BdRPlus) tPeriod := by |
| 341 | -- `tPeriod` is associated to `μ * p = ξ * τ * p`, and `τ`, `p` are units of `BdRPlus` since |
| 342 | -- `thetaBdR` does not kill them. |
| 343 | have h_xi : Associated (xi : BdRPlus) (algebraMap Amax BdRPlus (mu * p)) := by |
| 344 | simp [associated_mul_isUnit_right_iff, ne, ← xi_mul_tau, ← IsScalarTower.algebraMap_apply, |
| 345 | -p_mul_X] |
| 346 | exact h_xi.trans (associated_mu_mul_p_tPeriodAmax.map _) |
| 347 | |
| 348 | /-- For every `g` in the absolute Galois group G_p of Q_p, `g` acts on `tPeriod` by multiplication |
| 349 | by χ(`g`) ∈ ℤ_p, where χ = `cyclotomicGp` is the p-adic cyclotomic character. Here `tPeriod` is the |
| 350 | image of `tPeriodAmax` in B_dR⁺, which plays the role of p times Fontaine's t. -/ |
| 351 | lemma smul_tPeriod (g : Gp p) : g • tPeriod = (cyclotomicGp g : ℤ_[p]) • tPeriod := by |
| 352 | simp [tPeriod, smul_tPeriodAmax, smul_def, ← IsScalarTower.algebraMap_apply] |
| 353 | |
| 354 | /-! ### θ, the embedding of Q̄_p, and the fundamental sequence -/ |
| 355 | |
| 356 | /-- For x in Q̄_p, the map θ: B_dR⁺ → ℂ_p sends the image of x in B_dR⁺ to x itself, viewed in |
| 357 | ℂ_p. -/ |
| 358 | @[simp] |
| 359 | lemma thetaBdR_algebraMap_padicAlgCl (x : PadicAlgCl p) : thetaBdR x = .coe' x := |
| 360 | thetaEquiv.eq_symm_apply.mp |
| 361 | (AlgHom.congr_fun (exists_adicCompletionEvalOneₐ_comp_eq _).choose_spec x) |
| 362 | |
| 363 | @[simp] |
| 364 | lemma thetaBdR_smul (g : Gp p) (x : BdRPlus) : thetaBdR (g • x) = g • thetaBdR x := by |
| 365 | -- Modulo `xi`, which `thetaBdR` kills, `p ^ n * x` is an element `r` of `Ainf`, and on `Ainf` the |
| 366 | -- map is equivariant. So both sides agree after multiplying by `p ^ n`. |
| 367 | obtain ⟨n, r, c, h_approx⟩ := x.exists_Ainf_approx 1 |
| 368 | have h_left : p ^ n * thetaBdR (g • x) = g • thetaBdR r := by |
| 369 | simpa [smul_sub, sub_eq_zero] using congrArg (fun y : BdRPlus ↦ thetaBdR (g • y)) h_approx |
| 370 | have h_right : p ^ n * g • thetaBdR x = g • thetaBdR r := by |
| 371 | simpa [smul_sub, sub_eq_zero] using congrArg (fun y : BdRPlus ↦ g • thetaBdR y) h_approx |
| 372 | simpa [ne] using h_left.trans h_right.symm |
| 373 | |
| 374 | instance : SMulDistribClass (Gp p) Bmax BdR := by |
| 375 | -- two ring maps out of the localisation `Bmax` agree as soon as they agree on `BPlus` |
| 376 | refine smulDistribClass_of_tower (B := Bmax) (congrFun ?_) |
| 377 | apply IsLocalization.ext (.powers (mu : BPlus)) <;> simp [← IsScalarTower.algebraMap_apply] |
| 378 | |
| 379 | /-- The embedding of Q̄_p in B_dR is G_p-equivariant: g applied to the image of x is the image of |
| 380 | g(x). |
| 381 | |
| 382 | This is the G_p-equivariance of the embedding of Q̄_p in B_dR^+ (Caruso; Brinon–Conrad), stated |
| 383 | after passing to the field B_dR. -/ |
| 384 | @[simp] |
| 385 | lemma BdR.smul_algebraMap_padicAlgCl (g : Gp p) (x : PadicAlgCl p) : g • (x : BdR) = g x := by |
| 386 | -- The action of `g` on `BdR` is a `ℚ_[p]`-algebra map, so it restricts to some endomorphism `σ` |
| 387 | -- of the normal extension `PadicAlgCl p`. |
| 388 | let act : BdR (p := p) →ₐ[ℚ_[p]] BdR := |
| 389 | (toAlgHom ℤ_[p] BdR g).extendScalarsOfIsLocalization ℚ_[p] ℤ_[p]⁰ |
| 390 | let σ : PadicAlgCl p →ₐ[ℚ_[p]] PadicAlgCl p := act.restrictNormal (PadicAlgCl p) |
| 391 | have hσ : (σ x : BdR) = g • (x : BdR) := act.restrictNormal_commutes _ x |
| 392 | -- This holds already in `BdRPlus`; applying the equivariant map `thetaBdR` gives `σ x = g x`. |
| 393 | have h_tower : g • ((x : BdRPlus) : BdR) = ((g • (x : BdRPlus) : BdRPlus) : BdR) := |
| 394 | smul_algebraMap_eq_algebraMap_smul g (x : BdRPlus) |
| 395 | have hσ_plus : (σ x : BdRPlus) = g • (x : BdRPlus) := coe_inj.mp (hσ.trans h_tower) |
| 396 | have hσ_eq : σ x = g x := by simpa using congrArg thetaBdR hσ_plus |
| 397 | rw [← hσ, hσ_eq] |
| 398 | |
| 399 | /-- An element of `A_inf` that divides `μ` becomes a unit in `B = B⁺[1/μ]`. -/ |
| 400 | private lemma isUnit_coe_Bmax_of_dvd_mu {a : Ainf} (ha : a ∣ mu) : IsUnit (a : Bmax (p := p)) := by |
| 401 | simpa only [one_smul] using isUnit_smul_of_dvd_mu 1 ha |
| 402 | |
| 403 | /-- For every `β` in `B_dR` there are `y` in `B` and `x` in `B_dR⁺` with `x = y - β` in `B_dR`: |
| 404 | every element of `B_dR` is congruent modulo `B_dR⁺` to an element of `B`. -/ |
| 405 | lemma Bmax.exists_coe_eq_sub (β : BdR (p := p)) : |
| 406 | ∃ (y : Bmax) (x : BdRPlus), (x : BdR) = y - β := by |
| 407 | -- Write `β = x / (ξ ^ k u)` with `u` a unit, and `x / u = y + ξ ^ k x₀` with `y` in `B⁺`. |
| 408 | obtain ⟨x, z, hz, hβ⟩ := div_surjective BdRPlus β |
| 409 | obtain ⟨k, u, rfl⟩ := exists_associated_xi_pow (ne_zero hz) |
| 410 | obtain ⟨y, x₀, h_approx⟩ := (x * ↑u⁻¹).exists_xi_pow_dvd_sub k |
| 411 | -- As `ξ` is a unit of `B`, the element `y / ξ ^ k`, which equals `β - x₀`, lies in `B`. |
| 412 | obtain ⟨r, hr⟩ : IsUnit ((xi : Bmax) ^ k) := |
| 413 | (isUnit_coe_Bmax_of_dvd_mu (Dvd.intro tau xi_mul_tau)).pow k |
| 414 | refine ⟨y • ↑r⁻¹, -x₀, ?_⟩ |
| 415 | linear_combination (norm := skip) |
| 416 | -(hβ - (((r⁻¹ : Bmaxˣ) : Bmax) : BdR) * congrArg (algebraMap BdRPlus BdR) h_approx) |
| 417 | -- In the field `B_dR` the inverses of `r` and `u` become `(ξ ^ k)⁻¹` and `u⁻¹`, and `ξ ≠ 0`. |
| 418 | simp [smul_def, Ainf.prime_xi.ne_zero, hr, ← IsScalarTower.algebraMap_apply, sub_eq_zero] |
| 419 | ring |
| 420 | |
| 421 | /-- For every `a` in `B` there is `y` in `B` with `φ y - y = a` whose image in `B_dR` is the image |
| 422 | of some `x` in `B_dR⁺`: the map `φ - 1` sends `B ∩ B_dR⁺` onto `B`. -/ |
| 423 | lemma Bmax.exists_frobEnd_sub_eq_and_coe_eq (a : Bmax (p := p)) : |
| 424 | ∃ (y : Bmax) (x : BdRPlus), frobEnd y - y = a ∧ (x : BdR) = y := by |
| 425 | -- Write `a = b / μ ^ m` and `p ^ n b = e + p ^ n μ ^ (m + 1) w` with `e` in `A_inf`, `w` in `A`. |
| 426 | obtain ⟨m, b, hb⟩ := surj (mu : BPlus) a |
| 427 | obtain ⟨n, e, _, ⟨w, rfl⟩, h_dense⟩ := b.exists_Ainf_approx 0 (m + 1) |
| 428 | -- Solve `e = φ c - ξ ^ m c` and `w = d - φ(ξ) φ(d)` (since `p ∣ φ(ξ)` in `A`). |
| 429 | obtain ⟨c, rfl⟩ := e.exists_frobEnd_sub_xi_pow_mul_eq m |
| 430 | obtain ⟨d, rfl, -⟩ := existsUnique_sub_mul_frobEnd_eq associated_p_frobEnd_xi.dvd w |
| 431 | -- The denominator `p ^ n τ ^ m` is a unit `s` of `B` and a unit `v` of `B_dR⁺`. |
| 432 | have h_tau : IsUnit (tau : Bmax) := isUnit_coe_Bmax_of_dvd_mu (Dvd.intro_left xi xi_mul_tau) |
| 433 | obtain ⟨s, hs⟩ : IsUnit ((p : BPlus) ^ n • (tau : Bmax) ^ m) := |
| 434 | (h_tau.pow m).smul (isUnit_p.pow n).unit |
| 435 | obtain ⟨v, hv⟩ : IsUnit (tau ^ m * p ^ n : BdRPlus) := by simp [ne] |
| 436 | refine ⟨c • ↑s⁻¹ - mu * d, c • ↑v⁻¹ - mu * d, ?_, ?_⟩ |
| 437 | -- Multiply by the unit `s ξ ^ m = p ^ n μ ^ m` to clear the denominator. |
| 438 | · apply (s * (isUnit_coe_Bmax_of_dvd_mu (Dvd.intro tau xi_mul_tau)).unit ^ m).mul_right_inj.mp |
| 439 | linear_combination (norm := skip) |
| 440 | congrArg (fun u : Bmax ↦ frobEnd (c • u)) s.mul_inv - |
| 441 | congrArg (fun u : Bmax ↦ xi ^ m • c • u) s.mul_inv - |
| 442 | congrArg ((p : Bmax) ^ n * ·) hb - congrArg (algebraMap BPlus Bmax) h_dense |
| 443 | simp [smul_def, hs, ← xi_mul_tau, ← IsScalarTower.algebraMap_apply, sub_eq_zero] |
| 444 | ring |
| 445 | · simp [smul_def, hs, hv, mul_comm, ← IsScalarTower.algebraMap_apply] |
| 446 | |
| 447 | /-- Surjectivity in the fundamental exact sequence: for a in B and β in B_dR there is y in B |
| 448 | with φ(y) − y = a and y − β in B_dR⁺. -/ |
| 449 | lemma Bmax.fundamental_sequence_surjective (a : Bmax) (β : BdR) : |
| 450 | ∃ y : Bmax, ∃ x : BdRPlus, frobEnd y - y = a ∧ (x : BdR) = y - β := by |
| 451 | -- Take `y₀` congruent to `β` and correct `φ y₀ - y₀` by an element `y₁` of `B ∩ B_dR⁺`. |
| 452 | obtain ⟨y₀, x₀, h₀⟩ := exists_coe_eq_sub β |
| 453 | obtain ⟨y₁, x₁, h_phi, h₁⟩ := exists_frobEnd_sub_eq_and_coe_eq (a - (frobEnd y₀ - y₀)) |
| 454 | refine ⟨y₀ + y₁, x₀ + x₁, ?_, ?_⟩ |
| 455 | · rw [map_add] |
| 456 | linear_combination h_phi |
| 457 | · rw [algebraMap.coe_add, algebraMap.coe_add] |
| 458 | linear_combination h₀ + h₁ |
| 459 | |
| 460 | end BdR |
| 461 | |
| 462 | end New.Period |
| 463 | |
| 464 | end |