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.GroupWithZero.Submonoid.CancelMulZero |
| 4 | import Mathlib.RingTheory.PicardGroup |
| 5 | public import Lib.General.NumberTheory.CoefficientRings |
| 6 | public import Lib.PadicHodge.Kisin.Bicommutant |
| 7 | public import Lib.PadicHodge.Kisin.KummerChartExistence |
| 8 | public import Lib.PadicHodge.TateSen |
| 9 | import Lib.PadicHodge.Crystalline.FixedRatios |
| 10 | import Lib.PadicHodge.Kisin.PeriodMatrixBasis |
| 11 | |
| 12 | /-! |
| 13 | # Kummer charts: the different, the primes φ^a E of A_inf and their images in B_dR |
| 14 | |
| 15 | Fix a Kummer chart `k` (`New.Lift.KummerChart`) with ring `S ⊆ A_inf` and distinguished element `E`. |
| 16 | The file studies the elements p_a = φ^a E and δ = zτ of A_inf and bounds the different of the chart. |
| 17 | |
| 18 | ## Main definitions and results |
| 19 | |
| 20 | * `New.Lift.KummerChart.exists_derivative_dvd_p_pow`: a bound for the different. |
| 21 | * `New.Lift.phiInvToBdR`: the map `r ↦ φ^{-a} r` from `A_inf` to `B_dR`. |
| 22 | * `New.Lift.KummerChart.phiInvToBdR_mem_hodgeFil_one_iff`, |
| 23 | `New.Lift.KummerChart.phiInvToBdR_frobE_zpow_mem_hodgeFil`: it sends `r` to an element of positive |
| 24 | order exactly when `φ^a E` divides `r`, and the `m`-th power of the image of `φ^a E` has order at |
| 25 | least `m`. |
| 26 | * `New.Lift.KummerChart.valueField`: the subfield `𝒦_a` of `B_dR` in which values are taken. |
| 27 | * `New.Lift.KummerChart.sum_phiInvToBdR_map_mul_mem_of_mem_valueField`: `S`-linear maps `A_inf → S` |
| 28 | preserve linear relations over `𝒦_a`. |
| 29 | * `New.Lift.KummerChart.smul_sub_mem_hodgeFil_of_valueField`: if `φ^a E` divides `gs − s` for all |
| 30 | `s` in `S`, then `g` fixes the elements of `𝒦_a` of order at least `0` modulo `t`; more generally, |
| 31 | the same holds for the sums `∑ l, t l s` and `∑ l, t l x`, with the `t l` in the Galois monoid. |
| 32 | |
| 33 | Notions from other files: |
| 34 | * `New.Period.Ainf`: the ring A_inf of p-typical Witt vectors over the tilt O^♭ of the ring O_C of |
| 35 | integers of C_p. |
| 36 | * `New.Period.tau`, `New.Period.xi`: τ = [ε^(1/p)] − 1, with φ τ = μ = [ε] − 1, and ξ = μ/τ. |
| 37 | * `New.Lift.FrobGroup`: the group ℤ × Γ, acting on A_inf by (n, g) ↦ φ^n j(g). |
| 38 | * `New.Lift.Chart.S`, `New.Lift.Chart.bicommutant`: for a chart, the Λ-subalgebra S of A_inf that is |
| 39 | the image of the chart's map Λ[[X]] → A_inf, with `k.coord₀ : A_inf → S` an S-linear retraction of |
| 40 | A_inf onto S, and the subalgebra S_B of B^+ of the elements whose multiplication commutes with |
| 41 | every S-linear map of B^+ that keeps the image of A_max. |
| 42 | * `New.Period.hodgeFil`: the step Fil^n = t^n B_dR^+ of the filtration of B_dR, for n in ℤ. |
| 43 | |
| 44 | ## Relation to the literature |
| 45 | |
| 46 | Known; see `Lib.PadicHodge.Kisin.PeriodMatrixFrame` for sources. |
| 47 | -/ |
| 48 | |
| 49 | @[expose] public section |
| 50 | |
| 51 | noncomputable section |
| 52 | |
| 53 | namespace New.Lift.KummerChart |
| 54 | |
| 55 | open Period Polynomial FrobGroup ValuationRing NeZero |
| 56 | |
| 57 | variable {p : ℕ} [ThePrime p] [Γ : GroupOverGp p] [k : KummerChart Γ] (a : ℕ) |
| 58 | |
| 59 | /-! ### The primes p_a = φ^a E and the element δ = zτ -/ |
| 60 | |
| 61 | /-- The submonoid of ℤ × Γ consisting of the elements (0,g) with g in the subgroup Γ' of the |
| 62 | Kummer chart. -/ |
| 63 | def galMonoid : Submonoid (FrobGroup Γ) := MonoidHom.mrange (inr.comp k.subgroup.subtype) |
| 64 | |
| 65 | /-- The element δ = zτ of A_inf, where z is the coordinate of the Kummer chart. -/ |
| 66 | def zTau : Ainf := tau * k.z |
| 67 | |
| 68 | /-- The value of the Frobenius iterate `k.frobE a` is given by `φ ^ a • k.E`. -/ |
| 69 | lemma val_frobE : (k.frobE a).val = φ ^ a • k.E := by |
| 70 | rw [phi_pow_smul] |
| 71 | exact k.coe_phi_pow a k.E |
| 72 | |
| 73 | /-- The prime p does not divide p_a = φ^a E in A_inf. -/ |
| 74 | lemma not_p_dvd_val_frobE : ¬↑p ∣ (k.frobE a).val := by |
| 75 | -- Undoing `φ ^ a` would give `p ∣ E`, and `E` divides `ξ`. |
| 76 | rintro ⟨y, hy⟩ |
| 77 | have h_E : k.E.val = ↑p * ((φ ^ a)⁻¹ • y) := by |
| 78 | simpa [val_frobE, ← eq_inv_smul_iff] using hy |
| 79 | exact not_p_dvd_xi ((Dvd.intro _ h_E.symm).trans k.associated_E_xi.dvd) |
| 80 | |
| 81 | /-- The image in W(C^♭) of p_a = φ^a(E), as a unit; it is invertible because p does not divide |
| 82 | p_a in A_inf. -/ |
| 83 | def frobEUnit : WittCFlatˣ := (isUnit_algebraMap_wittCFlat_of_not_p_dvd |
| 84 | (not_p_dvd_val_frobE a)).unit |
| 85 | |
| 86 | /-- The image in W(C^♭) of δ = zτ, as a unit; it is invertible because p divides neither z nor τ |
| 87 | in A_inf. -/ |
| 88 | def zTauUnit : WittCFlatˣ := |
| 89 | (isUnit_algebraMap_wittCFlat_of_not_p_dvd |
| 90 | (Ainf.prime_p.not_dvd_mul not_p_dvd_tau k.not_p_dvd_z)).unit |
| 91 | |
| 92 | variable {a : ℕ} {b : ℕ} (g : k.galMonoid) |
| 93 | |
| 94 | /-- The value of the Frobenius iterate `k.frobE a` is nonzero. -/ |
| 95 | @[simp high] |
| 96 | lemma frobE_ne_zero : (k.frobE a).val ≠ 0 := fun h ↦ not_p_dvd_val_frobE a (by simp [h]) |
| 97 | |
| 98 | /-- A polynomial `Q` over `WittFq k.f` of degree `< e`, with `e = k.e`, such that `p ^ m` divides |
| 99 | `θ (Q(z))` in `O_C`, is `p ^ m` times a polynomial: both `Q` and `p ^ m • rem x` are the Weierstrass |
| 100 | remainder of `p ^ m * x` modulo `E`, where `x` is a quotient given by |
| 101 | `exists_frobE_dvd_sub_of_dvd`. -/ |
| 102 | private lemma exists_eq_smul_of_dvd_theta {m : ℕ} {Q : (WittFq k.f)[X]} |
| 103 | (hQ : Q ∈ (WittFq k.f)[X]_k.e) (h_dvd : (p : OC) ^ m ∣ theta (aeval k.z Q).val) : |
| 104 | ∃ Q' : (WittFq k.f)[X], Q = p ^ m • Q' := by |
| 105 | choose rem h_rem h_uniq using k.weierstrass_division 0 (one_mul k.e) |
| 106 | -- the quotient can be taken in `S` modulo `E`: apply `exists_frobE_dvd_sub_of_dvd` to an |
| 107 | -- `S`-linear retraction of `A_inf` onto `S` |
| 108 | have h_theta_zero (r : Ainf) : thetaPhiInv 0 r = theta r := by |
| 109 | simpa using thetaPhiInv_phi_pow 0 r |
| 110 | have h_dvd_zero : thetaPhiInv 0 ((p ^ m : k.S) : Ainf) ∣ thetaPhiInv 0 (aeval k.z Q).val := by |
| 111 | simpa [h_theta_zero] using h_dvd |
| 112 | -- (the type of `hx` is left to the elaborator: stated, it sends the check into long unfolding) |
| 113 | obtain ⟨x, hx⟩ := k.exists_frobE_dvd_sub_of_dvd 0 k.coord₀ (p ^ m) _ h_dvd_zero |
| 114 | rw [k.coord₀_coe] at hx |
| 115 | -- `Q` and `p ^ m • rem x` have degree `< e` and are both remainders of `p ^ m * x` modulo `E` |
| 116 | -- the polynomials are left to unification: written out, elaboration times out |
| 117 | have h_left : (⟨_, hQ⟩ : (WittFq k.f)[X]_k.e) = rem (p ^ m * x) := |
| 118 | h_uniq (p ^ m * x) ⟨_, hQ⟩ (dvd_sub_comm.mp hx) |
| 119 | have h_mul : k.frobE 0 ∣ p ^ m * x - (p ^ m • rem x).val.aeval k.z := by |
| 120 | simpa [mul_sub] using (h_rem x).mul_left (p ^ m) |
| 121 | have h_right : p ^ m • rem x = rem (p ^ m * x) := h_uniq (p ^ m * x) _ h_mul |
| 122 | exact ⟨(rem x).val, congrArg Subtype.val (h_left.trans h_right.symm)⟩ |
| 123 | |
| 124 | /-- Bound for the different of a chart: write the Kummer chart as S = Λ⟦z⟧ ⊂ A_inf with |
| 125 | Λ = `WittFq k.f` (Witt vectors of a finite field), let E = `k.E` ∈ S be the image of X^e A + p, and |
| 126 | let e be the ramification index of the chart. Then there is a polynomial P over Λ with E ∣ P(z) in S |
| 127 | such that θ(P'(z)) divides p^d in O_C, where θ : A_inf → O_C is Fontaine's map, where |
| 128 | d = `differentBound` is 0 if e = 1 and v_p(e) + 1 otherwise. -/ |
| 129 | lemma exists_derivative_dvd_p_pow : |
| 130 | ∃ P : (WittFq k.f)[X], |
| 131 | k.E ∣ aeval k.z P ∧ theta (aeval k.z P.derivative).val ∣ p ^ k.differentBound := by |
| 132 | -- Take `P = X ^ e - R`, with `R` the remainder of `z ^ e` modulo `E`. If `θ (P'(z))` did not |
| 133 | -- divide `p ^ (v_p e + 1)`, this power would divide `P'`, whose top coefficient is `e`. |
| 134 | -- Divide the one element `z ^ e` by `E` and take its remainder of degree less than `e`. |
| 135 | obtain ⟨r, hR : k.frobE 0 ∣ k.z ^ k.e - r.val.aeval k.z⟩ := |
| 136 | (k.weierstrass_division 0 (one_mul k.e) (k.z ^ k.e)).exists |
| 137 | let R := r.val |
| 138 | have hR_deg : ∀ i, k.e ≤ i → R.coeff i = 0 := by simpa [R, degreeLT] using r.property |
| 139 | have hP_dvd : k.E ∣ aeval k.z (X ^ k.e - R) := by simpa [Chart.frobE] using hR |
| 140 | refine ⟨X ^ k.e - R, hP_dvd, ?_⟩ |
| 141 | unfold differentBound |
| 142 | split_ifs with he_one |
| 143 | · -- for `e = 1` the remainder `R` is a constant, so `P' = 1` |
| 144 | have hR_derivative : R.derivative = 0 := by |
| 145 | ext i |
| 146 | simp [coeff_derivative, hR_deg (i + 1) (by omega)] |
| 147 | simp [he_one, hR_derivative] |
| 148 | set m : ℕ := padicValNat p k.e + 1 |
| 149 | -- divisibility in `O_C` is total, so it suffices to exclude `p ^ m ∣ θ (P'(z))` |
| 150 | refine (dvd_total _ _).resolve_right fun h_dvd ↦ ?_ |
| 151 | apply pow_succ_multiplicity_not_dvd (p := p) (NeZero.ne k.e) |
| 152 | rw [← Nat.padicValNat_def] |
| 153 | -- `P'` has degree `< e`, so it is `p ^ m` times a polynomial `Q` |
| 154 | have h_deg : (X ^ k.e - R).derivative ∈ (WittFq k.f)[X]_k.e := by |
| 155 | simp only [degreeLT, Submodule.mem_iInf, LinearMap.mem_ker, lcoeff_apply] |
| 156 | intro i hi |
| 157 | simp [coeff_derivative, coeff_X_pow, hR_deg (i + 1) (by omega), show i + 1 ≠ k.e by omega] |
| 158 | obtain ⟨Q, h_eq⟩ := exists_eq_smul_of_dvd_theta h_deg h_dvd |
| 159 | -- the coefficient of `X ^ (e - 1)` in `P'` is `e`, so `p ^ m` divides `e` in `Λ` |
| 160 | have h_coeff : ((p ^ m : ℕ) : WittFq k.f) ∣ (k.e : WittFq k.f) := by |
| 161 | have h_top : (X ^ k.e - R).derivative.coeff (k.e - 1) = (k.e : WittFq k.f) := by |
| 162 | simp [coeff_derivative, hR_deg, NeZero.one_le] |
| 163 | exact ⟨Q.coeff (k.e - 1), by |
| 164 | rw [← h_top, h_eq, AddMonoidAlgebra.coeff_smul_apply, nsmul_eq_mul]⟩ |
| 165 | -- pass from `Λ` to `O_C` by `θ`, and on to `ℕ` by `p`-adic norms |
| 166 | have h_coeff_OC : ((p ^ m : ℕ) : OC) ∣ (k.e : OC) := by |
| 167 | simpa using (theta.comp (algebraMap (WittFq k.f) Ainf)).map_dvd h_coeff |
| 168 | have h_norm : ‖((k.e : ℤ) : ℚ_[p])‖ ≤ (p : ℝ) ^ (-(m : ℤ)) := by |
| 169 | simpa [← PadicComplex.norm_extends', valRingCp.dvd_iff_norm_le, norm_p_eq_inv] using h_coeff_OC |
| 170 | exact_mod_cast (Padic.norm_int_le_pow_iff_dvd _ _).mp h_norm |
| 171 | |
| 172 | /-- The subgroup Γ', with the restriction of j, is a group over G_p: its image is open. -/ |
| 173 | @[simps] |
| 174 | instance : OverGp k.subgroup p where |
| 175 | toGp := toGp.comp k.subgroup.subtype |
| 176 | isOpen_range := |
| 177 | ⟨Subgroup.isOpen_of_mem_nhds _ (nhds_one_le_map_nearOne Γ (nearOne_le fun g ↦ ⟨g, rfl⟩))⟩ |
| 178 | |
| 179 | /-- The element `(k.frobE a).val` does not divide the prime `p`. -/ |
| 180 | lemma not_frobE_dvd_p (a : ℕ) : ¬(k.frobE a).val ∣ p := by simp [frobE_dvd_iff, NeZero.ne] |
| 181 | |
| 182 | /-- For `a < b`, the element `φ^a E` divides `φ^b τ` in A_inf. -/ |
| 183 | lemma frobE_dvd_phi_pow_tau (h_lt : a < b) : (k.frobE a).val ∣ φ ^ b • tau := by |
| 184 | -- Write `b` as `a + c + 1`: `thetaPhiInv a` sends `φ ^ (a + c + 1) τ` to `θ (φ ^ c μ) = 0`, as |
| 185 | -- `φ τ = μ`. |
| 186 | obtain ⟨c, rfl⟩ : ∃ c : ℕ, b = a + c + 1 := Nat.exists_eq_add_of_lt h_lt |
| 187 | simp [pow_add, mul_smul, phi_smul_ainf, phi_pow_smul c, frobE_dvd_iff] |
| 188 | |
| 189 | /-- For a ≠ b, the element p_a = φ^a E does not divide p_b = φ^b E in A_inf. -/ |
| 190 | lemma not_frobE_dvd_frobE_of_ne (h_ne : a ≠ b) : ¬(k.frobE a).val ∣ k.frobE b := by |
| 191 | -- Both elements are prime, so each would divide the other. The one of smaller index divides |
| 192 | -- `φ ^ n τ`, with `n` the larger index; the one of index `n` does not. |
| 193 | intro h_dvd |
| 194 | have prime (n : ℕ) : Prime (k.frobE n).val := by |
| 195 | simp [Prime, isUnit_iff_dvd_one, frobE_dvd_iff] |
| 196 | have not_dvd (n : ℕ) : ¬(k.frobE n).val ∣ φ ^ n • tau := by simp [frobE_dvd_iff] |
| 197 | obtain hab | hba := h_ne.lt_or_gt |
| 198 | · exact not_dvd b (((prime a).associated_of_dvd (prime b) h_dvd).dvd'.trans |
| 199 | (frobE_dvd_phi_pow_tau hab)) |
| 200 | · exact not_dvd a (h_dvd.trans (frobE_dvd_phi_pow_tau hba)) |
| 201 | |
| 202 | /-- For any action of ℤ × Γ on a type X, an element g of the Galois monoid of the chart commutes |
| 203 | with φ^a. -/ |
| 204 | lemma smul_phi_pow_comm {X : Type*} [MulAction (FrobGroup Γ) X] (x : X) : |
| 205 | g • φ ^ a • x = φ ^ a • g • x := by |
| 206 | -- the second component of `φ` is `1`, and the first factor `ℤ` is commutative |
| 207 | have h_comm : Commute (g : FrobGroup Γ) (φ ^ a) := |
| 208 | (Commute.prod (.all _ _) (.one_right _)).pow_right a |
| 209 | simp only [Submonoid.smul_def, smul_smul, h_comm.eq] |
| 210 | |
| 211 | /-- The coordinate z is a Teichmüller lift, so φ^a z = z^(p^a). -/ |
| 212 | lemma phi_pow_smul_z : φ ^ a • k.z.val = k.z ^ p ^ a := by simp [phi_pow_smul, k.z_eq_teichmuller] |
| 213 | |
| 214 | /-- The element `zτ` divides `φ^a (zτ)` in A_inf. -/ |
| 215 | lemma zTau_dvd_phi_pow_smul (a : ℕ) : k.zTau ∣ φ ^ a • k.zTau := by |
| 216 | simp [k.z_eq_teichmuller, phi_pow_smul, mul_dvd_mul, tau, sub_one_dvd_pow_sub_one, zTau, |
| 217 | NeZero.ne] |
| 218 | |
| 219 | /-- The element `φ^a E` does not divide `zτ` in A_inf. -/ |
| 220 | lemma not_frobE_dvd_zTau (a : ℕ) : ¬(k.frobE a : Ainf) ∣ k.zTau := by |
| 221 | -- `zTau` divides `φ ^ a • zTau`, and `φ ^ a • E` does not divide the latter. |
| 222 | intro h |
| 223 | simpa [zTau, frobE_dvd_iff, Chart.theta_z_ne_zero] using h.trans (zTau_dvd_phi_pow_smul a) |
| 224 | |
| 225 | /-! ### The action of Γ' on the chart -/ |
| 226 | |
| 227 | /-- Let Γ' be the subgroup of Γ of index prime to p attached to the Kummer chart S = Λ⟦z⟧, and let g |
| 228 | be in the Galois monoid, that is, an element (0, γ) of ℤ × Γ with γ ∈ Γ', acting through γ. Then for |
| 229 | every s ∈ S, the element zτ·E divides gs − s in A_inf, where zτ = `zTau` and z is the coordinate of |
| 230 | the chart. -/ |
| 231 | lemma zTau_mul_E_dvd_smul_sub (s : k.S) : k.zTau * k.E ∣ g • s - s := by |
| 232 | -- As `τ E` is associated to `μ` and `g` fixes the constants, it is enough that `z μ ∣ g z - z`. |
| 233 | obtain ⟨_, γ, rfl⟩ := g |
| 234 | obtain ⟨h_const, h_fix⟩ : FixesLambda k.f (toGp (γ : Γ)) ∧ |
| 235 | toGp (γ : Γ) • theta k.z = theta k.z := fixes γ |
| 236 | have hz : theta k.z ≠ 0 := k.theta_z_ne_zero |
| 237 | grw [zTau, mul_rotate, mul_assoc, k.associated_E_mul_tau_mu.dvd] |
| 238 | apply k.dvd_smul_sub_of_fixesLambda _ h_const |
| 239 | -- `z = [ϖ]` and `g z = [ϖ']` with `ϖ' = g ϖ`; `ϖ'` has the same untilt as `ϖ`, so `ϖ' = ϖ η`. |
| 240 | let a : FrobGal := MonoidHom.inr (Multiplicative ℕ) (Gp p) (toGp (γ : Γ)) |
| 241 | have h_z : k.z.val = WittVector.teichmuller p k.varpiFlat := k.z_eq_teichmuller |
| 242 | have h_fix' : theta (a • k.z.val) = theta k.z.val := |
| 243 | (theta_smul (toGp (γ : Γ)) k.z.val).trans h_fix |
| 244 | change k.z.val * mu ∣ a • k.z.val - k.z.val |
| 245 | rw [h_z, smul_teichmuller] at h_fix' ⊢ |
| 246 | rw [h_z] at hz |
| 247 | generalize a • k.varpiFlat = ϖ' at h_fix' ⊢ |
| 248 | have h_untilt_dvd : k.varpiFlat.untilt ∣ ϖ'.untilt := by simpa using h_fix'.symm.dvd |
| 249 | obtain ⟨η, hη⟩ : k.varpiFlat ∣ ϖ' := PreTilt.untilt_dvd_untilt_iff.mp h_untilt_dvd |
| 250 | -- `η` has untilt `1`, as `ϖ` and `ϖ η` have the same nonzero untilt; so `θ (φ ^ n ([η] - 1)) = 0` |
| 251 | -- for all `n`, which makes `[η] - 1` a multiple of `μ` (`mu_dvd_of_theta_frobEnd`) |
| 252 | have hη_one : η.untilt = 1 := by |
| 253 | have h_untilt : k.varpiFlat.untilt * η.untilt = k.varpiFlat.untilt := by simpa [hη] using h_fix' |
| 254 | have h_ne : k.varpiFlat.untilt ≠ 0 := by simpa using hz |
| 255 | exact (mul_eq_left₀ h_ne).mp h_untilt |
| 256 | have h_theta (j : ℕ) : theta (frobEnd^[j] (WittVector.teichmuller p η - 1)) = 0 := by |
| 257 | simp [hη_one] |
| 258 | have h_mu : mu ∣ WittVector.teichmuller p η - 1 := mu_dvd_of_theta_frobEnd h_theta |
| 259 | rw [hη, map_mul, ← mul_sub_one] |
| 260 | exact mul_dvd_mul_left _ h_mu |
| 261 | |
| 262 | end New.Lift.KummerChart |
| 263 | |
| 264 | /-! ## The fields 𝒦_a in B_dR and linearity of coordinate maps over them -/ |
| 265 | |
| 266 | namespace New.Lift |
| 267 | |
| 268 | open Period Algebra IntermediateField algebraAdjoinAdjoin BdRPlus Submodule FrobGroup Finset |
| 269 | |
| 270 | variable {p : ℕ} [ThePrime p] [Γ : GroupOverGp p] [k : KummerChart Γ] |
| 271 | (a : ℕ) {n : ℤ} {x y : BdR} {r : Ainf} |
| 272 | |
| 273 | /-- The ring homomorphism `A_inf → B_dR` that sends `r` to the image of `φ^{-a} r`. -/ |
| 274 | def phiInvToBdR : Ainf →+* BdR := |
| 275 | (algebraMap Ainf BdR).comp (MulSemiringAction.toRingHom (FrobGroup Γ) Ainf (φ ^ a)⁻¹) |
| 276 | |
| 277 | /-- The subfield `𝒦_a` of `B_dR` generated over the fixed field of `Γ'` by the products |
| 278 | `b * φ^{-a} s` with `b` in `S_B` and `s` in `S`. It is the field generated by the images of `S_B` |
| 279 | and of `φ^{-a} S`, see `KummerChart.valueField_eq_adjoin_union`. -/ |
| 280 | def KummerChart.valueField : IntermediateField (localFieldOf k.subgroup) BdR := |
| 281 | IntermediateField.adjoin (localFieldOf k.subgroup) |
| 282 | (Set.range fun q : k.bicommutant × k.S ↦ |
| 283 | algebraMap k.bicommutant BdR q.1 * phiInvToBdR a q.2) |
| 284 | |
| 285 | variable {a} |
| 286 | |
| 287 | omit [KummerChart Γ] in |
| 288 | /-- The map `r ↦ φ^{-a} r` from A_inf to B_dR sends `r` to `0` if and only if `r = 0`. -/ |
| 289 | @[simp] lemma phiInvToBdR_eq_zero_iff : phiInvToBdR a r = 0 ↔ r = 0 := by |
| 290 | simp [phiInvToBdR, inv_smul_eq_iff] |
| 291 | |
| 292 | omit Γ k in |
| 293 | /-- The filtration step `Fil^n = t^n B_dR^+` of B_dR is stable under every element `g` of `Gp p`. -/ |
| 294 | lemma smul_mem_hodgeFil (g : Gp p) (hx : x ∈ hodgeFil n) : g • x ∈ hodgeFil n := by |
| 295 | -- `g` multiplies `tUnit ^ n` by a scalar (`smul_tUnit_zpow`) |
| 296 | obtain ⟨y, rfl⟩ := mem_hodgeFil.mp hx |
| 297 | -- `↓` rewrites `g • tUnit ^ n` by `smul_tUnit_zpow` before `simp` splits the power |
| 298 | simp [↓smul_mul', ↓smul_tUnit_zpow, smul_of_tower_mem, mem_hodgeFil] |
| 299 | |
| 300 | namespace KummerChart |
| 301 | |
| 302 | variable (g : k.galMonoid) |
| 303 | |
| 304 | /-- The Galois monoid acts on B_dR through the Galois group G_p. -/ |
| 305 | instance : MulSemiringAction k.galMonoid BdR := .compHom _ ((toGp.comp snd).domRestrict _) |
| 306 | |
| 307 | /-- The action of the Galois monoid on B_dR is compatible with its action on A_inf. -/ |
| 308 | instance : SMulDistribClass k.galMonoid Ainf BdR := ⟨fun ⟨_, γ, rfl⟩ ↦ smul_distrib_smul (toGp γ)⟩ |
| 309 | |
| 310 | /-- An element g of the Galois monoid commutes with the map `r ↦ φ^{-a} r` from A_inf to |
| 311 | BdR. -/ |
| 312 | @[simp] lemma smul_phiInvToBdR : g • phiInvToBdR a r = phiInvToBdR a (g • r) := by |
| 313 | simp [phiInvToBdR, eq_inv_smul_iff, ← smul_phi_pow_comm] |
| 314 | |
| 315 | /-- The filtration step `Fil^n = t^n B_dR^+` of B_dR is stable under every element of the Galois |
| 316 | monoid. -/ |
| 317 | lemma galMonoid_smul_mem_hodgeFil (hx : x ∈ hodgeFil n) : g • x ∈ hodgeFil n := |
| 318 | smul_mem_hodgeFil _ hx |
| 319 | |
| 320 | /-- For r in A_inf, the image of φ^{−a}(r) in B_dR lies in tB_dR^+ if and only if φ^a(E) divides |
| 321 | r in A_inf. -/ |
| 322 | lemma phiInvToBdR_mem_hodgeFil_one_iff : |
| 323 | phiInvToBdR a r ∈ hodgeFil 1 ↔ (k.frobE a : Ainf) ∣ r := |
| 324 | algebraMap_mem_hodgeFil_one_iff.trans (by simp [frobE_dvd_iff, ← thetaPhiInv_phi_pow a]) |
| 325 | |
| 326 | /-- Let `r` in A_inf be prime to `φ^a E`. Then for every integer `m` and every `y` in B_dR, the |
| 327 | product of `(φ^{-a} r)^m` and `y` lies in Fil^n = t^n B_dR^+ exactly when `y` does. -/ |
| 328 | lemma mul_mem_hodgeFil_iff_of_not_frobE_dvd (hr : ¬(k.frobE a : Ainf) ∣ r) (m : ℤ) : |
| 329 | phiInvToBdR a r ^ m * y ∈ hodgeFil n ↔ y ∈ hodgeFil n := by |
| 330 | -- `phiInvToBdR a r` comes from a unit of `BdRPlus`: a non-unit lies in `hodgeFil 1`, which |
| 331 | -- forces `k.frobE a ∣ r`. |
| 332 | have hu : IsUnit (algebraMap Ainf BdRPlus ((φ ^ a)⁻¹ • r)) := |
| 333 | isUnit_iff.mpr fun h_fil ↦ |
| 334 | hr (phiInvToBdR_mem_hodgeFil_one_iff.mp (algebraMap_mem_hodgeFil_one_iff.mpr h_fil)) |
| 335 | have h_unit : phiInvToBdR a r = algebraMap BdRPlus BdR hu.unit := rfl |
| 336 | have h_smul : phiInvToBdR a r ^ m * y = hu.unit ^ m • y := by |
| 337 | cases m <;> simp [h_unit, Units.smul_def, smul_def'] |
| 338 | rw [h_smul, smul_mem_iff'] |
| 339 | |
| 340 | /-- For every integer m, let u be the image in B_dR of φ^{−a}(φ^a E), that is, of E. Then u^m lies |
| 341 | in Fil^m = t^m B_dR^+. -/ |
| 342 | lemma phiInvToBdR_frobE_zpow_mem_hodgeFil (a : ℕ) (m : ℤ) : |
| 343 | phiInvToBdR a (k.frobE a) ^ m ∈ hodgeFil m := by |
| 344 | -- `phiInvToBdR a (k.frobE a)` is the image of `E`, and `E w = t` for a unit `w` of `BdRPlus`. |
| 345 | obtain ⟨w, hw⟩ : Associated (algebraMap Ainf BdRPlus k.E) tPeriod := |
| 346 | (k.associated_E_xi.map _).trans associated_xi_tPeriod |
| 347 | refine mem_hodgeFil.mpr ⟨↑(w ^ m)⁻¹, ?_⟩ |
| 348 | cases m <;> |
| 349 | simp [phiInvToBdR, val_frobE, tUnit, ← hw, mul_pow, field, ← IsScalarTower.algebraMap_apply] |
| 350 | |
| 351 | /-- The image in B_dR of `φ^{-a} s`, for `s` in `S`, lies in the field `𝒦_a`. -/ |
| 352 | lemma phiInvToBdR_mem_valueField (s : k.S) : phiInvToBdR a s ∈ valueField a := |
| 353 | subset_adjoin _ _ ⟨(1, s), by simp⟩ |
| 354 | |
| 355 | /-- The image in B_dR of an element `b` of `S_B` lies in the field `𝒦_a`. -/ |
| 356 | lemma algebraMap_bicommutant_mem_valueField (b : k.bicommutant) : |
| 357 | algebraMap k.bicommutant BdR b ∈ valueField a := |
| 358 | subset_adjoin _ _ ⟨(b, 1), by simp⟩ |
| 359 | |
| 360 | /-- The field `𝒦_a` is generated by the images of `S_B` and of `φ^{-a} S`. -/ |
| 361 | lemma valueField_eq_adjoin_union : |
| 362 | valueField a = IntermediateField.adjoin (localFieldOf k.subgroup) |
| 363 | (Set.range (algebraMap k.bicommutant BdR) ∪ Set.range fun s : k.S ↦ phiInvToBdR a s) := by |
| 364 | apply le_antisymm |
| 365 | · exact IntermediateField.adjoin_le_iff.mpr (Set.forall_mem_range.mpr fun (b, s) ↦ |
| 366 | mul_mem (subset_adjoin _ _ (.inl ⟨b, rfl⟩)) (subset_adjoin _ _ (.inr ⟨s, rfl⟩))) |
| 367 | · exact IntermediateField.adjoin_le_iff.mpr (Set.union_subset |
| 368 | (Set.forall_mem_range.mpr algebraMap_bicommutant_mem_valueField) |
| 369 | (Set.forall_mem_range.mpr phiInvToBdR_mem_valueField)) |
| 370 | |
| 371 | /-- The field `𝒦_0` is contained in `𝒦_a`. -/ |
| 372 | lemma valueField_zero_le : valueField 0 ≤ valueField a := by |
| 373 | rw [valueField_eq_adjoin_union (a := 0)] |
| 374 | refine IntermediateField.adjoin_le_iff.mpr (Set.union_subset |
| 375 | (Set.forall_mem_range.mpr algebraMap_bicommutant_mem_valueField) |
| 376 | (Set.forall_mem_range.mpr fun s ↦ ?_)) |
| 377 | -- At level `0` the image of `S` lies in the image of `S_B`. |
| 378 | rw [show phiInvToBdR 0 (s : Ainf) = algebraMap Ainf BdR s by simp [phiInvToBdR]] |
| 379 | exact algebraMap_bicommutant_mem_valueField ⟨Chart.ainfToBPlus s, k.ainfToBPlus_mem_bicommutant s⟩ |
| 380 | |
| 381 | /-- An element of `B_dR` fixed by `Γ'` lies in `Fil⁰` and in `𝒦₀`. -/ |
| 382 | lemma mem_hodgeFil_zero_and_mem_valueField_zero_of_fixed |
| 383 | (h_fixed : ∀ g : k.subgroup, x = toGp (g : Γ) • x) : |
| 384 | x ∈ hodgeFil 0 ∧ x ∈ valueField 0 := by |
| 385 | -- Tate–Sen: a fixed element of `BdR` is a constant `c` in the fixed field of `toGp Γ'`. |
| 386 | obtain ⟨c, rfl⟩ := BdR.exists_eq_of_forall_smul_eq k.subgroup fun g ↦ (h_fixed g).symm |
| 387 | exact ⟨algebraMap_mem_hodgeFil_zero, (valueField 0).algebraMap_mem c⟩ |
| 388 | |
| 389 | /-- The retraction `k.coord₀ : A_inf → S` sends `1` to `1`. -/ |
| 390 | @[simp] |
| 391 | lemma coord₀_one : k.coord₀ 1 = 1 := k.coord₀_coe 1 |
| 392 | |
| 393 | /-- Let `f : A_inf → S` be `S`-linear, and let the `v l` lie in `𝒦_a` = `valueField a`, the subfield |
| 394 | of `B_dR` generated over the fixed field of Γ' by the images of `S_B` and of φ^{-a} S. If the sum of |
| 395 | the `φ^{-a} (r l) * v l` lies in a `B_dR^+`-submodule `W` of `B_dR`, then so does the sum of the |
| 396 | `φ^{-a} (f (r l)) * v l`. -/ |
| 397 | lemma sum_phiInvToBdR_map_mul_mem_of_mem_valueField (f : Ainf →ₗ[k.S] k.S) {ι : Type*} [Fintype ι] |
| 398 | (v : ι → BdR) (r : ι → Ainf) (hv : ∀ l : ι, v l ∈ valueField a) {W : Submodule BdRPlus BdR} |
| 399 | (h_sum : ∑ l : ι, phiInvToBdR a (r l) * v l ∈ W) : |
| 400 | ∑ l : ι, phiInvToBdR a (f (r l)) * v l ∈ W := by |
| 401 | -- Let `A` be the algebra generated over the constants by the products `b * φ^{-a} s`. |
| 402 | let prod : k.bicommutant × k.S →* BdR := (algebraMap k.bicommutant BdR).toMonoidHom.coprod |
| 403 | ((phiInvToBdR a).domRestrict k.S).toMonoidHom |
| 404 | let A : Subalgebra (localFieldOf k.subgroup) BdR := |
| 405 | Algebra.adjoin (localFieldOf k.subgroup) (Set.range prod) |
| 406 | -- Clear denominators: `𝒦_a` is the fraction field of `A`. |
| 407 | obtain ⟨d, hd⟩ := IsLocalization.exist_integer_multiples_of_finite (nonZeroDivisors A) |
| 408 | fun l ↦ (⟨v l, hv l⟩ : IntermediateField.adjoin (localFieldOf k.subgroup) (Set.range prod)) |
| 409 | choose w hw using hd |
| 410 | have hw (l : ι) : ((d : A) : BdR)⁻¹ * w l = v l := by |
| 411 | simpa [Subtype.ext_iff, smul_def' (d : A), ← inv_mul_eq_iff_eq_mul₀] using! hw l |
| 412 | -- The products form a monoid, so they span `A` over the constants. |
| 413 | choose q _ c hc using fun l ↦ (mem_span_image_iff_exists_fun _).mp |
| 414 | (by simpa using (adjoin_eq_span _ (Set.range prod)).le (w l).property : |
| 415 | (w l : BdR) ∈ span (localFieldOf k.subgroup) (prod '' Set.univ)) |
| 416 | -- The conjugate `f' = φ^{-a} ∘ f ∘ φ^a` is again `S`-linear. |
| 417 | let f' : Ainf →ₗ[k.S] Ainf := |
| 418 | { toFun x := (φ ^ a)⁻¹ • f (φ ^ a • x) |
| 419 | map_add' := by simp |
| 420 | map_smul' s x := by |
| 421 | simpa [smul_def', inv_smul_eq_iff, Subtype.ext_iff] using |
| 422 | f.map_smul ⟨φ ^ a • s, by simp [phi_pow_smul, ← k.coe_phi_pow]⟩ (φ ^ a • x) } |
| 423 | -- Applying the extension of `f'` to `BPlus` multiplies the weighted sum by some `u : BdRPlus`. |
| 424 | let term (i : Σ l, q l) : BPlus := |
| 425 | i.2.val.1 * Chart.ainfToBPlus ((φ ^ a)⁻¹ • i.2.val.2 • r i.1) |
| 426 | obtain ⟨u, hu⟩ := k.isChartOf.dvd_extendToBPlus _ |
| 427 | (fun i : Σ l, q l ↦ (c i.1 i.2).property) f' term |
| 428 | simp [term, f', k.extendToBPlus_mul, k.extendToBPlus_ainfToBPlus, |
| 429 | -not_isEmpty_of_nonempty] at hu |
| 430 | have h_mul : ∑ l, w l * phiInvToBdR a (f (r l)) = |
| 431 | (∑ l, w l * phiInvToBdR a (r l)) * algebraMap BdRPlus BdR u := by |
| 432 | simpa [← hc, prod, sum_mul, sum_sigma', smul_def', mul_assoc, |
| 433 | -not_isEmpty_of_nonempty] using! congr(algebraMap BdRPlus BdR $hu) |
| 434 | -- Multiply by `d⁻¹`: the new sum is `u` times the old one. |
| 435 | have h_scale (z : ι → BdR) : ∑ l, z l * v l = ((d : A) : BdR)⁻¹ * ∑ l, w l * z l := by |
| 436 | simp only [← hw, mul_sum, mul_assoc, mul_comm (z _)] |
| 437 | convert smul_mem W u h_sum using 1 |
| 438 | rw [h_scale, h_scale, h_mul, Algebra.smul_def] |
| 439 | ring |
| 440 | |
| 441 | /-- Let `g` and `t 0, …, t (m - 1)` be elements of the Galois monoid of the chart, that is, elements |
| 442 | (0, γ) of ℤ × Γ with γ in the subgroup Γ', each acting through γ. Let `x` be an element of `𝒦_a` |
| 443 | (the subfield of `B_dR` generated over the fixed field of Γ' by `S_B` and φ^{-a} S) that lies in |
| 444 | Fil⁰ = B_dR^+. Suppose that for every `s` in `S`, `φ^a E` divides `g (∑ l, t l s) - ∑ l, t l s` in |
| 445 | A_inf; then `g (∑ l, t l x) - ∑ l, t l x` lies in Fil¹ = t B_dR^+. -/ |
| 446 | lemma smul_sub_mem_hodgeFil_of_valueField {m : ℕ} (t : Fin m → k.galMonoid) |
| 447 | (hx : x ∈ valueField a) (hx_int : x ∈ hodgeFil 0) |
| 448 | (hg : ∀ s : k.S, |
| 449 | (k.frobE a : Ainf) ∣ g • ∑ l : Fin m, t l • (s : Ainf) - ∑ l : Fin m, t l • (s : Ainf)) : |
| 450 | g • ∑ l : Fin m, t l • x - ∑ l : Fin m, t l • x ∈ hodgeFil 1 := by |
| 451 | -- By density, `p ^ e * x ≡ r` modulo `hodgeFil 1` for some `e` and some `r` in `Ainf`. |
| 452 | obtain ⟨y, hy⟩ : ∃ y : BdRPlus, algebraMap BdRPlus BdR y = x := by |
| 453 | simpa using mem_hodgeFil.mp hx_int |
| 454 | obtain ⟨e, r, hr⟩ : ∃ e : ℕ, ∃ r : Ainf, |
| 455 | algebraMap Ainf BdRPlus xi ^ 1 ∣ p ^ e * y - algebraMap Ainf BdRPlus r := |
| 456 | y.exists_Ainf_approx 1 |
| 457 | -- Read this as a relation with coefficients `1`, `φ ^ a • r` between `p ^ e • x` and `-1`, and |
| 458 | -- apply the retraction `k.coord₀ : Ainf → S` to the coefficients: `r` is replaced by `φ^{-a} s`. |
| 459 | let s : k.S := k.coord₀ (φ ^ a • r) |
| 460 | have h_rel : ∑ l : Fin 2, phiInvToBdR a (![1, φ ^ a • r] l) * ![p ^ e • x, -1] l ∈ |
| 461 | hodgeFil 1 := by |
| 462 | simpa [phiInvToBdR, ← hy, sub_eq_add_neg, IsScalarTower.algebraMap_apply Ainf BdRPlus BdR] using |
| 463 | algebraMap_mem_hodgeFil_iff_xi_pow_dvd.mpr hr |
| 464 | have approx : p ^ e • x - phiInvToBdR a s ∈ hodgeFil 1 := by |
| 465 | simpa [← sub_eq_add_neg] using sum_phiInvToBdR_map_mul_mem_of_mem_valueField k.coord₀ |
| 466 | ![p ^ e • x, -1] |
| 467 | ![1, φ ^ a • r] (Fin.forall_fin_two.mpr ⟨nsmul_mem hx (p ^ e), neg_mem (one_mem _)⟩) h_rel |
| 468 | -- By `hg` the claim holds for `φ^{-a} s`, hence for `p ^ e • x`; `p` is prime to `k.frobE a`. |
| 469 | refine (mul_mem_hodgeFil_iff_of_not_frobE_dvd (not_frobE_dvd_p a) e).mp ?_ |
| 470 | have h_fix_s : |
| 471 | phiInvToBdR a (g • ∑ l, t l • (s : Ainf) - ∑ l, t l • (s : Ainf)) ∈ hodgeFil 1 := |
| 472 | phiInvToBdR_mem_hodgeFil_one_iff.mpr (hg s) |
| 473 | have approx_sum : ∑ l, t l • (p ^ e • x - phiInvToBdR a s) ∈ hodgeFil 1 := |
| 474 | sum_mem fun l _ ↦ galMonoid_smul_mem_hodgeFil (t l) approx |
| 475 | have h_fix_approx : g • ∑ l, t l • (p ^ e • x - phiInvToBdR a s) ∈ hodgeFil 1 := |
| 476 | galMonoid_smul_mem_hodgeFil g approx_sum |
| 477 | -- `p ^ e` times the claim is the sum of `h_fix_approx` and `h_fix_s` minus `approx_sum` |
| 478 | simpa [mul_sub, mul_sum, smul_sum, smul_sub, ← sub_eq_add_neg] using |
| 479 | sub_mem (add_mem h_fix_approx h_fix_s) approx_sum |
| 480 | |
| 481 | end KummerChart |
| 482 | |
| 483 | end New.Lift |
| 484 | |
| 485 | end |