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.Henselian |
| 5 | import Mathlib.RingTheory.PicardGroup |
| 6 | import Mathlib.RingTheory.RegularLocalRing.Defs |
| 7 | import Mathlib.RingTheory.ZMod.UnitsCyclic |
| 8 | import TauCeti.LinearAlgebra.Matrix.Nonsingular.Basic |
| 9 | public import Lib.PadicHodge.Crystalline.HodgeTateJumps |
| 10 | public import Lib.General.NumberTheory.CoefficientRings |
| 11 | public import Lib.PadicHodge.Kisin.Bicommutant |
| 12 | import Lib.General.Topology |
| 13 | import Lib.PadicHodge.Crystalline.FixedRatios |
| 14 | import Lib.PadicHodge.Crystalline.Regularity |
| 15 | |
| 16 | /-! |
| 17 | # Period matrices over a chart: lattice bases and existence for crystalline lattices |
| 18 | |
| 19 | This file studies period matrices over a chart `c` (`New.Lift.Chart`). `A_inf ⊂ B⁺ = A_max[1/p]` are |
| 20 | the period rings `New.Period.Ainf`, `New.Period.BPlus`, and `amaxImage` is the image of `A_max` in |
| 21 | `B⁺`. A chart gives a subring `S` of `A_inf` with elements `z` and `E`. Here `E` is `ξ` times a |
| 22 | unit, and `ξ` generates the kernel of `θ`. `S_B` denotes `New.Lift.Chart.bicommutant`. Write |
| 23 | `μ = [ε] - 1` (`New.Period.mu`) and `τ = [ε^{1/p}] - 1` (`New.Period.tau`). Then `E τ` is `μ` times |
| 24 | a unit. |
| 25 | |
| 26 | ## Main definitions and results |
| 27 | |
| 28 | * `New.Lift.Chart.IsPeriodMatrix`: period matrices `U` over `B⁺` of height `h`. |
| 29 | * `New.Lift.Chart.IsPeriodMatrix.exists_basis`: a basis `Q`, `Z` for `U` |
| 30 | (`New.Lift.Chart.IsPeriodBasis`): the `x` over `A_inf` with `E ^ h x ∈ U S_B ^ d` are the `S`-span |
| 31 | of the columns of a nonsingular matrix `Q`. |
| 32 | * `New.Lift.Chart.IsChartOf.exists_mem_bicommutant_of_fixed`: elements of `New.Period.Bmax` fixed by |
| 33 | `Γ` come from `c.bicommutant`, an `S`-subalgebra of `New.Period.BPlus` in which `p` is invertible |
| 34 | (defined as a commutant, `New.Lift.Chart.bicommutant`). |
| 35 | * `New.Lift.Chart.IsChartOf.exists_isPeriodMatrixOf`: if the Hodge–Tate jumps lie in `[-a, b]`, an |
| 36 | invariant basis `M` gives the period matrix `(E τ) ^ a M` of height `a + b` |
| 37 | (`New.Lift.Chart.IsPeriodMatrix`). |
| 38 | |
| 39 | Notions from other files: |
| 40 | * `New.Period.mu`, `New.Period.tau`, `New.Period.xi`: The elements μ = [ε] − 1, τ = [ε^{1/p}] − 1 |
| 41 | and ξ = ∑_{i<p} [ε^{1/p}]^i of A_inf, with ξτ = μ; brackets denote Teichmüller lifts, and ε = (1, |
| 42 | ζ_p, ζ_{p²}, …) is `New.Period.epsTilt`. |
| 43 | * `New.Lift.Chart.z`, `New.Lift.Chart.E`: For a chart, the images in S of X and of the series X^e |
| 44 | A + p, A a unit of Λ[[X]]. Here Λ = `New.Lift.WittFq` = W(F_{p^f}). |
| 45 | * `New.Period.jump`: The multiplicity of an integer as a Hodge–Tate jump of ρ at an embedding. |
| 46 | * `New.Lift.Chart.IsChartOf`: The field of the chart contains the field fixed by the image of j: |
| 47 | Γ → G_p: every g in G_p that fixes Λ pointwise and fixes θ(z) lies in the image of j. |
| 48 | * `New.Lift.Chart.extendToBPlus`: a chosen `S`-linear extension to `B⁺` of an `S`-linear map |
| 49 | `A_inf → A_inf`; it maps `amaxImage` into itself. |
| 50 | * `New.Period.frobEnd`: the Frobenius endomorphism `φ` of the period rings. |
| 51 | |
| 52 | ## Relation to the literature |
| 53 | |
| 54 | Known; see `Lib.PadicHodge.Kisin.PeriodMatrixFrame` for sources. |
| 55 | -/ |
| 56 | |
| 57 | @[expose] public section |
| 58 | |
| 59 | /-! |
| 60 | ## Lifting the exponent and bases for period matrices |
| 61 | |
| 62 | Denominators are bounded uniformly: first in `A_max`, then in `A_inf` by |
| 63 | `New.Period.exists_Ainf_eq_of_contraction`. |
| 64 | -/ |
| 65 | |
| 66 | section PeriodMatrixBasis |
| 67 | |
| 68 | namespace New.Lift |
| 69 | |
| 70 | open Period Ainf BPlus Fintype RingHom Function Algebra Matrix Amax Fact Ideal |
| 71 | |
| 72 | variable {p : ℕ} [ThePrime p] {d : Type} |
| 73 | (c : Chart) [Fintype d] [DecidableEq d] |
| 74 | (U : Matrix d d BPlus) (h : ℕ) (v : Ainfˣ) |
| 75 | |
| 76 | @[simp] |
| 77 | lemma tau_ne_zero : tau ≠ 0 := ne_zero_of_map theta_tau_ne_zero |
| 78 | |
| 79 | /-! ### Lifting the exponent -/ |
| 80 | |
| 81 | /-- If `x - 1` is not a unit of `A_inf` and `p ∤ m`, then `1 + x + ⋯ + x ^ (m - 1)` is a unit. -/ |
| 82 | lemma isUnit_geom_sum {x : Ainf} {m : ℕ} (hx : ¬IsUnit (x - 1)) (hm : ¬p ∣ m) : |
| 83 | IsUnit (∑ i ∈ Finset.range m, x ^ i) := by |
| 84 | -- The sum is `m` modulo `x - 1`, and `A_inf` is `(x - 1)`-adically complete. |
| 85 | have h_complete : IsAdicComplete (span {x - 1}) Ainf := isAdicComplete_span_singleton hx |
| 86 | have hm_unit : IsUnit (m : Ainf) := by |
| 87 | simp [Ainf.isUnit_iff_isUnit_constantCoeff, CharP.isUnit_natCast_iff (out : p.Prime), hm] |
| 88 | have h_sum : x - 1 ∣ ∑ i ∈ .range m, x ^ i - m := by |
| 89 | simpa using (Finset.range m).dvd_sum fun i _ ↦ sub_one_dvd_pow_sub_one x i |
| 90 | exact isUnit_of_dvd_sub hm_unit h_sum |
| 91 | |
| 92 | /-- Lifting the exponent. Let f: A_inf → R be a surjective ring map, v a non-unit dividing x − 1, |
| 93 | with p·f(x − 1)·f(v) dividing f(x − 1)^p. For n ≠ 0, f(x^n − 1) divides p^{v_p(n)} f(x − 1). -/ |
| 94 | lemma lifting_the_exponent {R : Type*} [CommRing R] {f : Ainf →+* R} (hf : Surjective f) |
| 95 | (x v : Ainf) {n : ℕ} (hv : ¬IsUnit v) (hvx : v ∣ x - 1) |
| 96 | (h_dvd : p * f (x - 1) * f v ∣ f (x - 1) ^ p) (hn : n ≠ 0) : |
| 97 | f (x ^ n - 1) ∣ p ^ padicValNat p n * f (x - 1) := by |
| 98 | -- Write `n = n' * p ^ k` with `p ∤ n'` and `x ^ n' = 1 + (x - 1) * s`. Raising to the power |
| 99 | -- `p ^ k` gives `f (x ^ n - 1) = p ^ k * f (x - 1) * f (s + v * y)`, and `s + v * y` is a unit. |
| 100 | set s : Ainf := ∑ i ∈ .range (n.divMaxPow p), x ^ i with hs |
| 101 | obtain ⟨y, hy⟩ : ∃ y : Ainf, (1 + f (x - 1) * f s) ^ p ^ padicValNat p n = |
| 102 | 1 + p ^ padicValNat p n * f (x - 1) * (f s + f v * f y) := |
| 103 | hf.exists.mp (ZMod.exists_one_add_mul_pow_prime_pow_eq out (map_dvd f hvx) h_dvd (f s) _) |
| 104 | have hs_unit : IsUnit s := isUnit_geom_sum (fun h_unit ↦ hv (isUnit_of_dvd_unit hvx h_unit)) |
| 105 | (Nat.not_dvd_divMaxPow (out : p.Prime).one_lt hn) |
| 106 | -- `A_inf` is `v`-adically complete, so an element congruent to a unit modulo `v` is a unit. |
| 107 | have h_complete : IsAdicComplete (span {v}) Ainf := isAdicComplete_span_singleton hv |
| 108 | have h_unit : IsUnit (s + v * y) := isUnit_of_dvd_sub hs_unit (by simp : v ∣ s + v * y - s) |
| 109 | have h_geom : (x - 1) * s = x ^ n.divMaxPow p - 1 := by rw [hs, mul_geom_sum] |
| 110 | have h_pow : x ^ n = (1 + (x - 1) * s) ^ p ^ padicValNat p n := by |
| 111 | simp [h_geom, ← pow_mul, Nat.divMaxPow_mul_pow_padicValNat] |
| 112 | have h_eq : f (x ^ n - 1) = p ^ padicValNat p n * f (x - 1) * f (s + v * y) := by |
| 113 | calc f (x ^ n - 1) = (1 + f (x - 1) * f s) ^ p ^ padicValNat p n - 1 := by simp [h_pow] |
| 114 | _ = p ^ padicValNat p n * f (x - 1) * f (s + v * y) := by |
| 115 | rw [hy, add_sub_cancel_left, map_add f, map_mul f] |
| 116 | rw [h_eq] |
| 117 | exact (h_unit.map f).mul_right_dvd.mpr dvd_rfl |
| 118 | |
| 119 | namespace Chart |
| 120 | |
| 121 | /-- Let `b` be in `B⁺` and let `φ` be `frobEnd`. If `φ(τ) ^ n` divides `φ(b)`, then `τ ^ n` divides |
| 122 | `b`. The case `n = 1`: if `φ(τ)` divides `φ(a)`, then `θ(φ^j a) = 0` for all `j ≥ 1`, which gives |
| 123 | `τ ∣ a`. -/ |
| 124 | lemma tau_pow_dvd_of_frobEnd_tau_pow_dvd {b : BPlus} {n : ℕ} |
| 125 | (h_dvd : frobEnd (ainfToBPlus tau) ^ n ∣ frobEnd b) : ainfToBPlus tau ^ n ∣ b := by |
| 126 | have h_mu : (mu : Ainf) ≠ 0 := ne_zero_of_map constantCoeff_mu_ne_zero |
| 127 | have h_nzd : frobEnd (ainfToBPlus tau) ∈ nonZeroDivisors BPlus := by simp [h_mu] |
| 128 | have h_one (a : BPlus) (h_dvd_one : frobEnd (ainfToBPlus tau) ∣ frobEnd a) : |
| 129 | ainfToBPlus tau ∣ a := by |
| 130 | obtain ⟨q, hq⟩ := h_dvd_one |
| 131 | have h_theta : ∀ j : ℕ, thetaBPlus (frobEnd^[j + 1] a) = 0 := by simp [hq] |
| 132 | exact a.dvd_of_thetaBPlus_frobEnd_eq_zero tau_dvd_of_theta_frobEnd h_theta |
| 133 | exact pow_dvd_of_map (map_mul frobEnd _) h_nzd h_one h_dvd |
| 134 | |
| 135 | /-- `E τ` and `μ` are associated in `A_inf`, as `E` is `ξ` up to a unit and `ξ τ = μ`. -/ |
| 136 | lemma associated_E_mul_tau_mu : Associated (c.E * tau) mu := by |
| 137 | rw [← xi_mul_tau] |
| 138 | exact c.associated_E_xi.mul_right tau |
| 139 | |
| 140 | /-- `E` is associated in `A_inf` to its translate `g E` by any `g` in `Gal(ℚ̄_p/ℚ_p)`. -/ |
| 141 | lemma associated_smul_E (g : Gp p) : Associated c.E.val (g • c.E.val) := by |
| 142 | -- `E` generates the kernel of `θ`, which every `g` preserves, so `E` divides each translate. |
| 143 | have h_dvd (g : Gp p) : c.E.val ∣ g • c.E.val := by |
| 144 | simp [c.associated_E_xi.dvd_iff_dvd_left, ← theta_eq_zero_iff_xi_dvd, theta_E] |
| 145 | exact (associated_smul_of_dvd g h_dvd).symm |
| 146 | |
| 147 | /-- For every `a`, the element `[ε] ^ p ^ a - 1 = φ^a μ` of `A_inf` is associated to the product |
| 148 | of `τ = [ε^{1/p}] - 1` and the `φ^b E = c.frobE b` for `b ≤ a`. Here `[ε]` is the Teichmüller lift |
| 149 | of `epsTilt`. -/ |
| 150 | lemma associated_teichmuller_pow_p_pow_sub_one (a : ℕ) : |
| 151 | Associated (WittVector.teichmuller p epsTilt ^ p ^ a - 1) |
| 152 | (tau * ∏ b ∈ Finset.range (a + 1), (c.frobE b).val) := by |
| 153 | -- `φ^b μ` is `φ^b τ · φ^b E` up to a unit, since `E τ` and `μ` are associated, and |
| 154 | -- `φ^(b + 1) τ = φ^b μ`. |
| 155 | have h_step (b : ℕ) : Associated (frobEnd^[b] mu) (frobEnd^[b] tau * (c.frobE b).val) := by |
| 156 | have h_map := c.associated_E_mul_tau_mu.map (frobEnd ^ b : Ainf →+* Ainf) |
| 157 | rw [map_mul, RingHom.coe_pow] at h_map |
| 158 | rw [frobE, c.coe_phi_pow, mul_comm] |
| 159 | exact h_map.symm |
| 160 | rw [← map_pow, ← iterate_frobEnd_mu] |
| 161 | induction a with |
| 162 | | zero => simpa using h_step 0 |
| 163 | | succ a ih => |
| 164 | refine (h_step (a + 1)).trans ?_ |
| 165 | rw [Finset.prod_range_succ, ← mul_assoc, Function.iterate_succ_apply, frobEnd_tau] |
| 166 | exact ih.mul_right _ |
| 167 | |
| 168 | /-- For a chart `c`, take `S` to be its ring inside `A_inf` and `φ` the Frobenius of `S`. The chart |
| 169 | is a Λ-algebra map Λ[[X]] → A_inf sending a series X^e A + p to `E`, which is ξ times a unit. Then |
| 170 | for `n ≠ 0`, the element `[ε] ^ n - 1` of `A_inf` is associated to the product of |
| 171 | `τ = [ε^{1/p}] - 1` with the `φ^a(E) = c.frobE a` for `a ≤ v_p(n)`, where `[ε]` is the Teichmüller |
| 172 | lift of `epsTilt`, ε = (1, ζ_p, ζ_{p²}, …) ∈ O^♭. -/ |
| 173 | lemma associated_teichmuller_pow_sub_one {n : ℕ} (hn : n ≠ 0) : |
| 174 | Associated (WittVector.teichmuller p epsTilt ^ n - 1) |
| 175 | (tau * ∏ a ∈ Finset.range (padicValNat p n + 1), (c.frobE a).val) := by |
| 176 | -- Write `n = m p ^ v` with `p ∤ m` and `x = [ε] ^ p ^ v`. Then `x ^ m - 1` is `x - 1` times the |
| 177 | -- unit `1 + x + ⋯ + x ^ (m - 1)`. |
| 178 | refine Associated.trans ?_ (c.associated_teichmuller_pow_p_pow_sub_one (padicValNat p n)) |
| 179 | set x : Ainf := WittVector.teichmuller p epsTilt ^ p ^ padicValNat p n with hx |
| 180 | have h_theta : theta (x - 1) = 0 := by simp [hx, theta_teichmuller, untilt_epsTilt] |
| 181 | have h_unit : IsUnit (∑ i ∈ .range (n.divMaxPow p), x ^ i) := |
| 182 | isUnit_geom_sum (fun h_unit ↦ (h_unit.map theta).ne_zero h_theta) |
| 183 | (Nat.not_dvd_divMaxPow (out : p.Prime).one_lt hn) |
| 184 | have h_pow : WittVector.teichmuller p epsTilt ^ n = x ^ n.divMaxPow p := by |
| 185 | rw [hx, ← pow_mul, mul_comm, Nat.divMaxPow_mul_pow_padicValNat] |
| 186 | rw [h_pow, ← mul_geom_sum] |
| 187 | exact associated_mul_unit_left _ _ h_unit |
| 188 | |
| 189 | /-- For `n ≠ 0`, the element `[ε] ^ n - 1` divides `τ E (p ^ v_p(n) + β z)` in `A_inf` for some |
| 190 | `β`. -/ |
| 191 | lemma exists_tau_mul_E_eq_mul_epsTilt_pow_sub_one {n : ℕ} (hn : n ≠ 0) : |
| 192 | ∃ α β : Ainf, |
| 193 | tau * c.E * (p ^ padicValNat p n + β * c.z) = α * (.teichmuller p epsTilt ^ n - 1) := by |
| 194 | -- `[ε] ^ n - 1` is `τ E` times the product of the `φ^a E`, `1 ≤ a ≤ v_p(n)`, up to a unit, and |
| 195 | -- each `φ^a E` is `p` modulo `z`. |
| 196 | obtain ⟨α, hα⟩ : WittVector.teichmuller p epsTilt ^ n - 1 ∣ |
| 197 | tau * ∏ a ∈ Finset.range (padicValNat p n + 1), (c.frobE a).val := |
| 198 | (c.associated_teichmuller_pow_sub_one hn).dvd |
| 199 | have h_factor (a : ℕ) : |
| 200 | Ideal.Quotient.mk (span {c.z.val}) (c.frobE a).val = Ideal.Quotient.mk (span {c.z.val}) p := |
| 201 | mk_span_eq_iff_dvd_sub.mpr (c.dvd_iff_coe_dvd.mp (c.z_dvd_frobE_sub_p a)) |
| 202 | obtain ⟨β, hβ⟩ : c.z.val ∣ |
| 203 | ∏ a ∈ Finset.range (padicValNat p n), (c.frobE (a + 1)).val - p ^ padicValNat p n := by |
| 204 | rw [← mk_span_eq_iff_dvd_sub, map_prod, map_pow] |
| 205 | simp only [h_factor, Finset.prod_const, Finset.card_range] |
| 206 | rw [Finset.prod_range_succ', show (c.frobE 0).val = c.E by simp [frobE]] at hα |
| 207 | exact ⟨α, β, by linear_combination hα - tau * c.E * hβ⟩ |
| 208 | |
| 209 | /-- `U` over `B⁺` is a period matrix of height `h`, with the unit `v` of `A_inf` as Frobenius |
| 210 | factor: `U` divides `(E τ) ^ h`; `φ(U) = v U F` with `F` over `S_B` and invertible over `B⁺`; every |
| 211 | `g` satisfying `c.FixesThetaZ` (`g` fixes Λ pointwise and fixes θ(z)) acts on `U` through matrices |
| 212 | over `A_inf`; and divisibility of `U y` by `E ^ h` is kept when `c.extendToBPlus f` is applied to |
| 213 | `y`. -/ |
| 214 | structure IsPeriodMatrix where |
| 215 | /-- `U` divides the scalar matrix `(E τ) ^ h` over `B⁺`; here `E τ` is `μ` up to a unit. -/ |
| 216 | exists_mul_eq_smul_one : ∃ W : Matrix d d BPlus, U * W = (c.E * tau) ^ h • 1 |
| 217 | /-- `φ(U) = v U F` for a matrix `F` with entries in `S_B` that has a left inverse over `B⁺`. -/ |
| 218 | exists_frob : ∃ F F' : Matrix d d BPlus, |
| 219 | (∀ i j : d, F i j ∈ c.bicommutant) ∧ F' * F = 1 ∧ U.map frobEnd = v • (U * F) |
| 220 | /-- If `g` satisfies `c.FixesThetaZ`, then `U = ρ g(U)` for a matrix `ρ` over `A_inf`. -/ |
| 221 | exists_gal (g : Gp p) : |
| 222 | c.FixesThetaZ g → ∃ ρ : Matrix d d Ainf, Matrix.map ρ ainfToBPlus * g • U = U |
| 223 | /-- If `E ^ h` divides `U y`, it divides `U y'`, where `y'` is `y` with the extension |
| 224 | `c.extendToBPlus f` of an `S`-linear map `f` applied to each coordinate. -/ |
| 225 | extendToBPlus_stable (f : Ainf →ₗ[c.S] Ainf) (y : d → BPlus) : |
| 226 | (∃ w : d → BPlus, U *ᵥ y = c.E.val ^ h • w) → |
| 227 | ∃ w : d → BPlus, U *ᵥ c.extendToBPlus f ∘ y = c.E.val ^ h • w |
| 228 | |
| 229 | /-- `E` is nonzero, being associated to the prime `ξ`. -/ |
| 230 | lemma E_ne_zero : c.E.val ≠ 0 := (c.associated_E_xi.symm.prime prime_xi).ne_zero |
| 231 | |
| 232 | /-- `E` is nonzero as an element of the subring `S`. -/ |
| 233 | lemma E_ne_zero' : c.E ≠ 0 := fun h_E_zero ↦ c.E_ne_zero (congrArg Subtype.val h_E_zero) |
| 234 | |
| 235 | /-- Let `f`, `f'` be `S`-linear maps `A_inf → A_inf` with `φ ∘ f' = f ∘ φ`, where `φ` is `frobEnd`. |
| 236 | Then the same holds for their extensions `c.extendToBPlus` to `B⁺`: the difference of the two |
| 237 | sides is additive, keeps `amaxImage` and vanishes on the image of `A_inf`. -/ |
| 238 | lemma frobEnd_extendToBPlus_eq_extendToBPlus_frobEnd_of_comm {f f' : Ainf →ₗ[c.S] Ainf} |
| 239 | (h_comm : ∀ a : Ainf, frobEnd (f' a) = f (frobEnd a)) (b : BPlus) : |
| 240 | frobEnd (c.extendToBPlus f' b) = c.extendToBPlus f (frobEnd b) := by |
| 241 | let G : BPlus →+ BPlus := |
| 242 | .mk' (fun a ↦ frobEnd (c.extendToBPlus f' a) - c.extendToBPlus f (frobEnd a)) |
| 243 | fun _ _ ↦ by simp [sub_add_sub_comm] |
| 244 | have hG_int (a : BPlus) (ha : a ∈ amaxImage) : G a ∈ amaxImage := by |
| 245 | apply_rules [sub_mem, extendToBPlus_mem_amaxImage, smul_mem_amaxImage] |
| 246 | have hG_zero (a : Ainf) : G (ainfToBPlus a) = 0 := by simp [G, h_comm, extendToBPlus_ainfToBPlus] |
| 247 | exact sub_eq_zero.mp (eq_zero_of_map_ainfToBPlus_eq_zero G hG_int hG_zero) |
| 248 | |
| 249 | /-- Let `ψ` be a right inverse of `φ = frobEnd` on `A_inf`, and let `φ` be injective. For an |
| 250 | `S`-linear map `f` on `A_inf`, the map `ψ ∘ f ∘ φ` is again `S`-linear, since `φ` maps `S` into |
| 251 | itself. -/ |
| 252 | private noncomputable def frobeniusConj (f : Ainf →ₗ[c.S] Ainf) {ψ : Ainf → Ainf} |
| 253 | (φ_inj : Injective (frobEnd : Ainf → Ainf)) (hψ : ∀ a : Ainf, frobEnd (ψ a) = a) : |
| 254 | Ainf →ₗ[c.S] Ainf where |
| 255 | toFun := ψ ∘ f ∘ frobEnd |
| 256 | map_add' a₁ a₂ := φ_inj (by simp [hψ]) |
| 257 | map_smul' s a := by |
| 258 | have h_φ_coe : ((c.φ s : c.S) : Ainf) = frobEnd (s : Ainf) := rfl |
| 259 | apply φ_inj |
| 260 | simpa [smul_def, hψ, h_φ_coe] using f.map_smul' (c.φ s) (frobEnd a) |
| 261 | |
| 262 | omit [DecidableEq d] in |
| 263 | /-- Let `e` divide `μ`. There is `k`, depending only on `U`, `h` and `e`, such that |
| 264 | `U y = e ^ h w` with `y` over the image of `A_max` puts `p ^ k w` over the image of `A_max`. -/ |
| 265 | lemma exists_p_pow_mul_mem_amaxImage {e : Ainf} (he : e ∣ mu) : |
| 266 | ∃ k : ℕ, ∀ {y w : d → BPlus}, U *ᵥ y = e ^ h • w → |
| 267 | (∀ i : d, y i ∈ amaxImage) → ∀ i : d, p ^ k * w i ∈ amaxImage := by |
| 268 | -- `p ^ k` clears the denominators of `U`; `amaxImage.p_pow_mul_mem_of_dvd_mu` then removes |
| 269 | -- `e ^ h` at the cost of a further factor `p ^ (2 * h)`. |
| 270 | obtain ⟨⟨_, k, rfl⟩, hk⟩ : ∃ b : Submonoid.powers (p : Amax), ∀ ij : d × d, |
| 271 | IsLocalization.IsInteger Amax ((b : Amax) • U.uncurry ij) := |
| 272 | IsLocalization.exist_integer_multiples_of_finite (.powers (p : Amax)) U.uncurry |
| 273 | refine ⟨2 * h + k, fun {y w} h_Uy hy i ↦ ?_⟩ |
| 274 | have h_U_int (j : d) : (p : BPlus) ^ k * U i j ∈ amaxImage := |
| 275 | (hk (i, j)).imp fun a ha ↦ by simpa [Algebra.smul_def, uncurry] using ha |
| 276 | have h_int : e ^ h • (p ^ k * w i) ∈ amaxImage := by |
| 277 | rw [← mul_smul_comm, ← Pi.smul_apply, ← h_Uy, mulVec, dotProduct, Finset.mul_sum] |
| 278 | exact sum_mem fun j _ ↦ by simpa [mul_assoc] using mul_mem (h_U_int j) (hy j) |
| 279 | simpa [pow_add, mul_assoc] using amaxImage.p_pow_mul_mem_of_dvd_mu he h_int |
| 280 | |
| 281 | variable {c U h v} |
| 282 | |
| 283 | /-- Let `W` invert `U` up to `(E τ) ^ h`, let `F'` be a left inverse of `F`, and suppose that |
| 284 | `U a = r x'` implies `F φ(a) = φ(r) y` for every `r` in `A_inf` and `a` over `B⁺`, where `φ` is |
| 285 | `frobEnd`. Then `U y' = E ^ h x'` has a solution `y'` over `B⁺`: `φ (W x')` is divisible by |
| 286 | `φ(τ) ^ h`, hence `W x'` by `τ ^ h` (`tau_pow_dvd_of_frobEnd_tau_pow_dvd`), and |
| 287 | `y' = τ ^ (-h) W x'`. -/ |
| 288 | lemma exists_mulVec_eq_smul_of_frobEnd {W F F' : Matrix d d BPlus} {x' : d → Ainf} |
| 289 | {y : d → BPlus} (hW : ∀ x : d → BPlus, U *ᵥ W *ᵥ x = (c.E * tau) ^ h • x) (hF' : F' * F = 1) |
| 290 | (h_frob : ∀ {r : Ainf} {a : d → BPlus}, U *ᵥ a = r • ainfToBPlus ∘ x' → |
| 291 | F *ᵥ frobEnd ∘ a = frobEnd (ainfToBPlus r) • y) : |
| 292 | ∃ y' : d → BPlus, U *ᵥ y' = c.E.val ^ h • ainfToBPlus ∘ x' := by |
| 293 | have h_dvd (i : d) : ∃ q : BPlus, (W *ᵥ ainfToBPlus ∘ x') i = ainfToBPlus tau ^ h * q := by |
| 294 | -- apply `F'` to `F φ(W x') = φ(E τ) ^ h y` |
| 295 | have h_phi : frobEnd ((W *ᵥ ainfToBPlus ∘ x') i) = |
| 296 | frobEnd (ainfToBPlus tau) ^ h * (frobEnd (ainfToBPlus c.E.val) ^ h * (F' *ᵥ y) i) := by |
| 297 | simpa [hF', mul_left_comm, mulVec_smul, mul_pow, mul_assoc] using |
| 298 | congrArg (fun a : d → BPlus ↦ (F' *ᵥ a) i) (h_frob (hW _)) |
| 299 | exact tau_pow_dvd_of_frobEnd_tau_pow_dvd ⟨_, h_phi⟩ |
| 300 | choose y' hy' using h_dvd |
| 301 | have h_U_vec : ainfToBPlus tau ^ h • U *ᵥ y' = U *ᵥ W *ᵥ ainfToBPlus ∘ x' := by |
| 302 | rw [← mulVec_smul, funext hy'] |
| 303 | rfl |
| 304 | refine ⟨y', ?_⟩ |
| 305 | simpa [hW, smul_def, mul_left_comm, funext_iff, mulVec_smul, mul_pow, mul_assoc] using h_U_vec |
| 306 | |
| 307 | omit [DecidableEq d] in |
| 308 | /-- Let `P` be an `S`-submodule of `A_inf ^ d` whose members `j` have vectors `y j` over `S_B` |
| 309 | with the same `A_inf`-linear relations as the `j`. Then the rank of `P` over `S` is at most `d`: |
| 310 | the coordinates `c.extendedCoord i` turn an `A_inf`-relation among members of `P` into |
| 311 | `S`-relations. -/ |
| 312 | lemma rank_le_card_of_sum_smul_eq_zero_iff {P : Submodule c.S (d → Ainf)} |
| 313 | (y : P → d → c.bicommutant) |
| 314 | (h_rel : ∀ {b : Finset P} {a : b → Ainf}, |
| 315 | ∑ j : b, a j • Subtype.val ∘ y j = 0 ↔ ∑ j : b, a j • ((j : P) : d → Ainf) = 0) : |
| 316 | Module.rank c.S P ≤ card d := by |
| 317 | refine rank_le fun b hb ↦ ?_ |
| 318 | have hb' : LinearIndependent Ainf fun j : b ↦ ((j : P) : d → Ainf) := by |
| 319 | refine linearIndependent_iff.mpr fun a ha j ↦ c.adicBasis.eq_zero_of_coord fun i ↦ ?_ |
| 320 | refine linearIndependent_iff.mp hb (fun j ↦ c.adicBasis.coord i (a j)) ?_ j |
| 321 | ext1 |
| 322 | have h_rel_coord : |
| 323 | ∑ j : b, (c.adicBasis.coord i (a j) : Ainf) • Subtype.val ∘ y j = 0 := by |
| 324 | simpa [smul_def, mul_comm, funext_iff, extendToBPlus_mul, extendToBPlus_ainfToBPlus] using |
| 325 | congrArg (c.extendedCoord i ∘ ·) (h_rel.mpr ha) |
| 326 | simpa [Subalgebra.smul_def] using h_rel.mp h_rel_coord |
| 327 | rw [← card_coe, ← Module.finrank_fintype_fun_eq_card Ainf (η := d)] |
| 328 | exact hb'.fintype_card_le_finrank |
| 329 | |
| 330 | /-- `Q` over `A_inf` and `Z` over `B⁺` form a basis for the period matrix `U` of height `h`: `Q` is |
| 331 | nonsingular, `Z` lies over `c.bicommutant` with `U Z = E ^ h Q`, the columns of `Q` span the `x` |
| 332 | that have solutions over `c.bicommutant`, and `Q` controls divisibility for solutions over `B⁺`. -/ |
| 333 | structure IsPeriodBasis (c : Chart) (U : Matrix d d BPlus) (h : ℕ) (Q : Matrix d d Ainf) |
| 334 | (Z : Matrix d d BPlus) : Prop where |
| 335 | /-- `Q` is nonsingular. -/ |
| 336 | det_ne_zero : Q.det ≠ 0 |
| 337 | /-- The entries of `Z` lie in `c.bicommutant`. -/ |
| 338 | mem_bicommutant : ∀ i j : d, Z i j ∈ c.bicommutant |
| 339 | /-- `U Z = E ^ h Q` over `B⁺`. -/ |
| 340 | mul_eq : U * Z = c.E.val ^ h • Q.map ainfToBPlus |
| 341 | /-- Every `x` over `A_inf` with `U y = E ^ h x` for some `y` over `c.bicommutant` is `Q s` with |
| 342 | `s` over `c.S`. -/ |
| 343 | exists_mulVec_eq : ∀ (x : d → Ainf) (y : d → BPlus), (∀ i : d, y i ∈ c.bicommutant) → |
| 344 | U *ᵥ y = c.E.val ^ h • ainfToBPlus ∘ x → ∃ s : d → c.S, Q *ᵥ (↑) ∘ s = x |
| 345 | /-- If `U y = E ^ h x` with `y` over `B⁺`, `p ∤ δ` and `l Q = δ g`, then `δ` divides `l · x`. -/ |
| 346 | dvd_dotProduct : ∀ (x : d → Ainf) (y : d → BPlus), U *ᵥ y = c.E.val ^ h • ainfToBPlus ∘ x → |
| 347 | ∀ (δ : Ainf) (l g : d → Ainf), ¬↑p ∣ δ → l ᵥ* Q = δ • g → δ ∣ l ⬝ᵥ x |
| 348 | |
| 349 | namespace IsPeriodMatrix |
| 350 | |
| 351 | /-- A period matrix acts injectively on vectors over `B⁺`, since it has a right inverse up to a |
| 352 | nonzero scalar. -/ |
| 353 | lemma mulVec_injective (hU : c.IsPeriodMatrix U h v) : Injective U.mulVec := by |
| 354 | obtain ⟨W, hW⟩ := hU.exists_mul_eq_smul_one |
| 355 | have h_scalar : ainfToBPlus ((c.E.val * tau) ^ h) ≠ 0 := by |
| 356 | simp [c.E_ne_zero, tau_ne_zero] |
| 357 | rw [← algebraMap_smul BPlus ((c.E.val * tau) ^ h)] at hW |
| 358 | exact Matrix.mulVec_injective_of_mul_eq_smul_one (IsRegular.of_ne_zero h_scalar).left hW |
| 359 | |
| 360 | /-- The field `exists_mul_eq_smul_one` read on vectors: there is a matrix `W` over `B⁺` with |
| 361 | `U (W x) = (E τ) ^ h x` for every vector `x`. -/ |
| 362 | lemma exists_mulVec_mulVec_eq_smul (hU : c.IsPeriodMatrix U h v) : |
| 363 | ∃ W : Matrix d d BPlus, ∀ x : d → BPlus, U *ᵥ W *ᵥ x = (c.E * tau) ^ h • x := by |
| 364 | obtain ⟨W, hW⟩ := hU.exists_mul_eq_smul_one |
| 365 | exact ⟨W, fun x ↦ by rw [mulVec_mulVec, hW, smul_mulVec, one_mulVec]⟩ |
| 366 | |
| 367 | /-- A single power `p ^ m` puts every vector `w` with `U (c.extendToBPlus f ∘ y) = E ^ h w` into |
| 368 | `amaxImage`, where `y` over `B⁺` runs through the solutions of `U y = E ^ h x` with `x` over |
| 369 | `A_inf`, and `f` through the `S`-linear maps `A_inf → A_inf`. -/ |
| 370 | lemma exists_pow_mul_mem_amaxImage (hU : c.IsPeriodMatrix U h v) : |
| 371 | ∃ m : ℕ, ∀ {x : d → Ainf} {y w : d → BPlus} {f : Ainf →ₗ[c.S] Ainf}, |
| 372 | U *ᵥ y = c.E.val ^ h • ainfToBPlus ∘ x → |
| 373 | U *ᵥ c.extendToBPlus f ∘ y = c.E.val ^ h • w → |
| 374 | ∀ i : d, p ^ m * w i ∈ amaxImage := by |
| 375 | obtain ⟨W, hW⟩ : ∃ W : Matrix d d BPlus, ∀ x : d → BPlus, U *ᵥ W *ᵥ x = (c.E * tau) ^ h • x := |
| 376 | hU.exists_mulVec_mulVec_eq_smul |
| 377 | obtain ⟨n, hn⟩ : ∃ n : ℕ, ∀ {y w : d → BPlus}, W *ᵥ y = (c.E * tau) ^ h • w → |
| 378 | (∀ i : d, y i ∈ amaxImage) → ∀ i : d, p ^ n * w i ∈ amaxImage := |
| 379 | exists_p_pow_mul_mem_amaxImage W h c.associated_E_mul_tau_mu.dvd |
| 380 | obtain ⟨k, hk⟩ : ∃ k : ℕ, ∀ {y w : d → BPlus}, U *ᵥ y = c.E.val ^ h • w → |
| 381 | (∀ i : d, y i ∈ amaxImage) → ∀ i : d, p ^ k * w i ∈ amaxImage := |
| 382 | exists_p_pow_mul_mem_amaxImage U h (dvd_of_mul_right_dvd c.associated_E_mul_tau_mu.dvd) |
| 383 | refine ⟨k + n, fun {x y w f} hy hw i ↦ ?_⟩ |
| 384 | -- `W` inverts `U` up to `(E τ) ^ h`, so `p ^ n y` is integral; `c.extendToBPlus f` preserves |
| 385 | -- `amaxImage` |
| 386 | have hWU : W *ᵥ U *ᵥ y = (c.E * tau) ^ h • y := hU.mulVec_injective (by rw [hW, mulVec_smul]) |
| 387 | -- the entries of `U y = E ^ h x` lie in `amaxImage` |
| 388 | have hUy_int (j : d) : (U *ᵥ y) j ∈ amaxImage := by |
| 389 | rw [hy, Pi.smul_apply] |
| 390 | exact amaxImage.smul_mem (amaxImage.algebraMap_mem (x j)) _ |
| 391 | have h_eq : U *ᵥ (p ^ n • c.extendToBPlus f ∘ y) = c.E.val ^ h • p ^ n • w := by |
| 392 | rw [smul_comm, ← hw, ← mulVec_smul] |
| 393 | have h_hat_int (j : d) : (p ^ n • c.extendToBPlus f ∘ y) j ∈ amaxImage := by |
| 394 | simpa [map_p_pow_mul] using c.extendToBPlus_mem_amaxImage f _ (hn hWU hUy_int j) |
| 395 | simpa [pow_add, mul_assoc] using hk h_eq h_hat_int i |
| 396 | |
| 397 | /-- Descent along Frobenius. Let `U` be a period matrix of height `h` with Frobenius factor `v` for |
| 398 | the chart `c` (`IsPeriodMatrix`), and let `f` be a `c.S`-linear map of `A_inf`. Suppose |
| 399 | `U y = E ^ h x` with `x` over `A_inf`, and `U (c.extendToBPlus f ∘ y) = E ^ h w`. Then there are |
| 400 | `x'`, `y'`, `w'`, `f'` satisfying the same two equations with `φ w' = v E ^ h w`, where `φ` is |
| 401 | `frobEnd`. The proof takes `x' = φ⁻¹ (v E ^ h x)` and `f' = φ⁻¹ f φ`. -/ |
| 402 | lemma exists_frobenius_preimage (hU : c.IsPeriodMatrix U h v) {x : d → Ainf} {y w : d → BPlus} |
| 403 | {f : Ainf →ₗ[c.S] Ainf} (hy : U *ᵥ y = c.E.val ^ h • ainfToBPlus ∘ x) |
| 404 | (hw : U *ᵥ c.extendToBPlus f ∘ y = c.E.val ^ h • w) : |
| 405 | ∃ (x' : d → Ainf) (y' w' : d → BPlus) (f' : Ainf →ₗ[c.S] Ainf), |
| 406 | U *ᵥ y' = c.E.val ^ h • ainfToBPlus ∘ x' ∧ |
| 407 | U *ᵥ c.extendToBPlus f' ∘ y' = c.E.val ^ h • w' ∧ |
| 408 | ∀ i : d, frobEnd (w' i) = (v * c.E.val ^ h) • w i := by |
| 409 | -- Solve `U y' = E ^ h x'` by `y' = τ ^ (-h) W x'`, which lies over `B⁺` because `φ (W x')` is |
| 410 | -- divisible by `φ(τ) ^ h`; then apply `φ` to the equation of `w'` and cancel `φ(E) ^ h`. |
| 411 | obtain ⟨W, hW⟩ := hU.exists_mulVec_mulVec_eq_smul |
| 412 | obtain ⟨F, F', hF, hF', hUF⟩ := hU.exists_frob |
| 413 | have φ_inj : Injective (frobEnd : Ainf → Ainf) := frobEnd_bijective.injective |
| 414 | obtain ⟨ψ, hψ⟩ : ∃ ψ : Ainf → Ainf, ∀ a : Ainf, frobEnd (ψ a) = a := |
| 415 | frobEnd_bijective.surjective.hasRightInverse |
| 416 | let x' : d → Ainf := ψ ∘ (v • c.E.val ^ h • x) |
| 417 | -- apply `φ` to `U a = r x'` and use `φ U = v U F` |
| 418 | have h_frob {r : Ainf} {a : d → BPlus} (ha : U *ᵥ a = r • ainfToBPlus ∘ x') : |
| 419 | F *ᵥ frobEnd ∘ a = frobEnd (ainfToBPlus r) • y := by |
| 420 | have h_map : U.map frobEnd *ᵥ frobEnd ∘ a = |
| 421 | frobEnd (ainfToBPlus r) • frobEnd ∘ ainfToBPlus ∘ x' := by |
| 422 | simpa [map_mulVec, funext_iff, smul_def (A := BPlus)] using congrArg (frobEnd ∘ ·) ha |
| 423 | have h_x' : frobEnd ∘ ainfToBPlus ∘ x' = ((v : Ainf) * c.E.val ^ h) • ainfToBPlus ∘ x := |
| 424 | funext fun i ↦ by simp [x', hψ, smul_def (A := BPlus), Units.smul_def, mul_assoc] |
| 425 | -- cancel `v` in `v U F φ(a) = φ(r) v E ^ h x = φ(r) v U y` |
| 426 | apply hU.mulVec_injective |
| 427 | simpa [hUF, h_x', hy, smul_mulVec, ← mulVec_mulVec, mulVec_smul, Units.smul_def, |
| 428 | smul_def (A := BPlus), mul_assoc, mul_left_comm, funext_iff] using h_map |
| 429 | obtain ⟨y', hUy'⟩ : ∃ y' : d → BPlus, U *ᵥ y' = c.E.val ^ h • ainfToBPlus ∘ x' := |
| 430 | exists_mulVec_eq_smul_of_frobEnd hW hF' h_frob |
| 431 | let f' : Ainf →ₗ[c.S] Ainf := frobeniusConj c f φ_inj hψ |
| 432 | obtain ⟨w', hw'⟩ := hU.extendToBPlus_stable f' y' ⟨_, hUy'⟩ |
| 433 | refine ⟨x', y', w', f', hUy', hw', fun i ↦ ?_⟩ |
| 434 | -- `φ f' = f φ` on `A_inf`, hence on `B⁺` for the extensions |
| 435 | have h_comm : frobEnd ∘ c.extendToBPlus f' ∘ y' = c.extendToBPlus f ∘ frobEnd ∘ y' := |
| 436 | funext fun j ↦ c.frobEnd_extendToBPlus_eq_extendToBPlus_frobEnd_of_comm (fun _ ↦ hψ _) (y' j) |
| 437 | -- `c.extendToBPlus f` is linear over `c.bicommutant`, which contains the entries of `F` and `φ E` |
| 438 | have h_hat : F *ᵥ c.extendToBPlus f ∘ frobEnd ∘ y' = |
| 439 | frobEnd (ainfToBPlus (c.E.val ^ h)) • c.extendToBPlus f ∘ y := by |
| 440 | have h_φE_mem : ainfToBPlus (frobEnd c.E.val) ^ h ∈ c.bicommutant := by |
| 441 | simpa using pow_mem (c.frobEnd_mem_bicommutant (c.ainfToBPlus_mem_bicommutant c.E)) h |
| 442 | simpa [mulVec, dotProduct, hF, h_φE_mem, funext_iff, extendToBPlus_mul] using |
| 443 | congrArg (c.extendToBPlus f ∘ ·) (h_frob hUy') |
| 444 | -- apply `φ` to the equation of `w'` and cancel `φ(E) ^ h`, which is nonzero |
| 445 | have h_φE_ne : frobEnd (ainfToBPlus c.E.val) ^ h ≠ 0 := by |
| 446 | simp [map_eq_zero_iff _ φ_inj, c.E_ne_zero'] |
| 447 | refine mul_left_cancel₀ h_φE_ne ?_ |
| 448 | calc frobEnd (ainfToBPlus c.E.val) ^ h * frobEnd (w' i) |
| 449 | = frobEnd ((c.E.val ^ h • w') i) := by simp [smul_def (A := BPlus)] |
| 450 | _ = (v • U *ᵥ frobEnd (ainfToBPlus (c.E.val ^ h)) • c.extendToBPlus f ∘ y) i := by |
| 451 | rw [← hw', map_mulVec, h_comm, hUF, smul_mulVec, ← mulVec_mulVec, h_hat] |
| 452 | _ = frobEnd (ainfToBPlus c.E.val) ^ h * (v * c.E.val ^ h) • w i := by |
| 453 | simp [hw, mulVec_smul, Units.smul_def, smul_def (A := BPlus), mul_left_comm, mul_assoc] |
| 454 | |
| 455 | /-- Let `U` be a period matrix of height `h` with Frobenius factor `v` for the chart `c` |
| 456 | (`IsPeriodMatrix`). A single power `p ^ N` puts into the image of `A_inf` every vector `w` with |
| 457 | `U (c.extendToBPlus f ∘ y) = E ^ h w`, for every `c.S`-linear map `f` of `A_inf` and every `y` over |
| 458 | `BPlus` with `U y = E ^ h x`, `x` over `A_inf`. These vectors lie in `amaxImage` after one power of |
| 459 | `p` and are closed under descent along Frobenius, so `exists_Ainf_eq_of_contraction` applies. -/ |
| 460 | lemma exists_ainfToBPlus_eq_pow_mul (hU : c.IsPeriodMatrix U h v) : |
| 461 | ∃ N : ℕ, ∀ {x : d → Ainf} {y w : d → BPlus} {f : Ainf →ₗ[c.S] Ainf}, |
| 462 | U *ᵥ y = c.E.val ^ h • ainfToBPlus ∘ x → |
| 463 | U *ᵥ c.extendToBPlus f ∘ y = c.E.val ^ h • w → |
| 464 | ∃ a : d → Ainf, ∀ i : d, ainfToBPlus (a i) = p ^ N * w i := by |
| 465 | obtain ⟨m, hm⟩ := hU.exists_pow_mul_mem_amaxImage |
| 466 | obtain ⟨η, hη⟩ : c.E.val ∣ xi := c.associated_E_xi.dvd |
| 467 | -- `exists_Ainf_eq_of_contraction`: if `V` lies in `amaxImage` and each `a ∈ V` has |
| 468 | -- `ξ ^ h a = u φ a'` with `a' ∈ V` and a fixed `u`, then `p ^ (h + 1) V` lies over `Ainf` |
| 469 | let V : Set BPlus := {a | ∃ (x : d → Ainf) (y w : d → BPlus) (f : Ainf →ₗ[c.S] Ainf) (i : d), |
| 470 | U *ᵥ y = c.E.val ^ h • ainfToBPlus ∘ x ∧ U *ᵥ c.extendToBPlus f ∘ y = c.E.val ^ h • w ∧ |
| 471 | p ^ m * w i = a} |
| 472 | have hV_int : ∀ a ∈ V, a ∈ amaxImage := by |
| 473 | rintro _ ⟨x, y, w, f, i, hy, hw, rfl⟩ |
| 474 | exact hm hy hw i |
| 475 | have hV_desc : ∀ a ∈ V, ∃ a' ∈ V, xi ^ h • a = (η ^ h * ↑v⁻¹ : Ainf) • frobEnd a' := by |
| 476 | rintro _ ⟨x, y, w, f, i, hy, hw, rfl⟩ |
| 477 | obtain ⟨x', y', w', f', hy', hw', hφ⟩ := hU.exists_frobenius_preimage hy hw |
| 478 | refine ⟨p ^ m * w' i, ⟨x', y', w', f', i, hy', hw', rfl⟩, ?_⟩ |
| 479 | -- `φ w' = v E ^ h w` and `ξ = E η` |
| 480 | simp [hφ, hη, smul_smul, mul_comm _ η, mul_pow, mul_assoc] |
| 481 | refine ⟨h + 1 + m, fun {x y w f} hy hw ↦ ?_⟩ |
| 482 | have h_lift (i : d) : ∃ a : Ainf, ainfToBPlus a = p ^ (h + 1) * (p ^ m * w i) := |
| 483 | exists_Ainf_eq_of_contraction V h _ hV_int hV_desc _ ⟨x, y, w, f, i, hy, hw, rfl⟩ |
| 484 | choose a ha using h_lift |
| 485 | exact ⟨a, fun i ↦ by rw [ha, pow_add _ _ m, mul_assoc]⟩ |
| 486 | |
| 487 | /-- Let `U` over `B⁺` be a period matrix of height `h` with Frobenius factor `v`. The `x` over |
| 488 | `A_inf` for which `U y = E ^ h x` has a solution `y` with entries in `S_B` (`c.bicommutant`) form |
| 489 | an `S`-module spanned by the columns of a square matrix `Q` over `A_inf`; moreover `U Z = E ^ h Q` |
| 490 | for a matrix `Z` with entries in `S_B`. -/ |
| 491 | lemma exists_spanning_matrix (hU : c.IsPeriodMatrix U h v) : |
| 492 | ∃ (Q : Matrix d d Ainf) (Z : Matrix d d BPlus), |
| 493 | (∀ i j : d, Z i j ∈ c.bicommutant) ∧ |
| 494 | U * Z = c.E.val ^ h • Q.map ainfToBPlus ∧ |
| 495 | ∀ (x : d → Ainf) (y : d → BPlus), |
| 496 | (∀ i : d, y i ∈ c.bicommutant) → |
| 497 | U *ᵥ y = c.E.val ^ h • ainfToBPlus ∘ x → |
| 498 | ∃ s : d → c.S, Q *ᵥ (↑) ∘ s = x := by |
| 499 | obtain ⟨u, hu, hup⟩ : ∃ u ∈ c.bicommutant, u * p = 1 := c.exists_bicommutant_mul_p_eq_one |
| 500 | let g : (d → Ainf) →ₗ[Ainf] d → BPlus := c.E.val ^ h • (Algebra.linearMap Ainf BPlus).compLeft d |
| 501 | let P : Submodule c.S (d → Ainf) := |
| 502 | (mulVecBilin ℕ _ U ∘ₗ c.bicommutant.val.toLinearMap.compLeft d).range.comap |
| 503 | (g.restrictScalars _) |
| 504 | -- each member `j` of `P` has a solution `y j` over `S_B` of `U (y j) = E ^ h j` |
| 505 | have h_sol : ∀ j : P, ∃ y : d → c.bicommutant, U *ᵥ Subtype.val ∘ y = g j := P.coe_mem |
| 506 | choose y hy using h_sol |
| 507 | -- members of `P` and their solutions `y` have the same `Ainf`-relations |
| 508 | have h_rel {b : Finset P} {a : b → Ainf} : |
| 509 | ∑ j : b, a j • Subtype.val ∘ y j = 0 ↔ ∑ j : b, a j • ((j : P) : d → Ainf) = 0 := by |
| 510 | have hg : Injective g := fun a₁ a₂ ↦ by simp [g, smul_def, funext_iff, c.E_ne_zero'] |
| 511 | rw [← hU.mulVec_injective.eq_iff, ← g.map_eq_zero_iff hg] |
| 512 | simp [hy, mulVec_sum, mulVec_smul] |
| 513 | -- the coordinates `c.extendedCoord i` bound the rank of `P` by `card d` |
| 514 | have h_rank : Module.rank c.S P ≤ card d := rank_le_card_of_sum_smul_eq_zero_iff y h_rel |
| 515 | -- `z` is injective on `P / p P`: in `Ainf` the prime `p` does not divide `z`, and `P` is |
| 516 | -- `p`-saturated because `p` is a unit of `c.bicommutant` |
| 517 | have h_sat (a b : P) (hab : c.z • a.val = (p : c.S) • b.val) : |
| 518 | ∃ w : P, a.val = (p : c.S) • w.val := by |
| 519 | obtain ⟨x, hx_mem⟩ := a |
| 520 | obtain ⟨y₀, hx⟩ : ∃ y₀ : d → c.bicommutant, U *ᵥ Subtype.val ∘ y₀ = g x := hx_mem |
| 521 | have h_entry (i : d) : (c.z : Ainf) * x i = p * (b : d → Ainf) i := congrFun hab i |
| 522 | obtain ⟨w, rfl⟩ : (p : d → Ainf) ∣ x := |
| 523 | pi_dvd_iff.mpr fun i ↦ (prime_p.dvd_or_dvd ⟨_, h_entry i⟩).resolve_left c.not_p_dvd_z |
| 524 | refine ⟨⟨w, fun i ↦ ⟨u, hu⟩ * y₀ i, ?_⟩, rfl⟩ |
| 525 | -- `u` inverts `p` in `S_B`, so `u y₀` solves the equation for `w` |
| 526 | change U *ᵥ (u • Subtype.val ∘ y₀) = g w |
| 527 | rw [mulVec_smul, hx, ← nsmul_eq_mul, map_nsmul, ← Nat.cast_smul_eq_nsmul BPlus, smul_smul, hup, |
| 528 | one_smul] |
| 529 | -- `P` is also `(p, z)`-adically separated, `p`-torsion free and of bounded rank, hence free |
| 530 | -- over the complete ring `c.S` |
| 531 | have h_sat_P (a b : P) (hab : c.z • a = (p : c.S) • b) : ∃ w : P, a = (p : c.S) • w := |
| 532 | (h_sat a b (congrArg Subtype.val hab)).imp fun _ hw ↦ Subtype.ext hw |
| 533 | have h_torsion : ∀ a : P, (p : c.S) • a = 0 → (p : c.S) = 0 ∨ a = 0 := by simp |
| 534 | obtain ⟨⟨κ, b⟩, -⟩ : Module.Free c.S P ∧ Module.Finite c.S P := |
| 535 | free_finite_of_rank_le rfl |
| 536 | (isHausdorff_of_injective_pi c.maxIdeal P.subtype P.injective_subtype) |
| 537 | h_sat_P (card d) h_rank h_torsion |
| 538 | -- pad the basis `b` of `P` to a family `q` indexed by `d` |
| 539 | obtain ⟨e⟩ : Nonempty (κ ↪ d) := by |
| 540 | rwa [← Cardinal.le_def, b.mk_eq_rank'', Cardinal.mk_fintype] |
| 541 | obtain ⟨q, hq⟩ : ∃ q : d → P, q ∘ e = b := e.injective.surjective_comp_right b |
| 542 | have hZ_mem : ∀ i j : d, (of fun j i ↦ (y (q j) i).val)ᵀ i j ∈ c.bicommutant := by simp |
| 543 | refine ⟨(of fun j ↦ (q j).val)ᵀ, (of fun j i ↦ (y (q j) i).val)ᵀ, hZ_mem, |
| 544 | ext_col fun j ↦ hy (q j), fun x y₀ hy₀ hx ↦ ?_⟩ |
| 545 | -- the basis `b = q ∘ e` spans `P`, so the columns `q` do |
| 546 | have h_span_b : ⟨x, fun i : d ↦ ⟨y₀ i, hy₀ i⟩, hx⟩ ∈ Submodule.span c.S (Set.range (q ∘ e)) := by |
| 547 | simp [hq] |
| 548 | have h_span : ⟨x, fun i : d ↦ ⟨y₀ i, hy₀ i⟩, hx⟩ ∈ Submodule.span c.S (Set.range q) := |
| 549 | Submodule.span_mono (Set.range_comp_subset_range e q) h_span_b |
| 550 | obtain ⟨s, hs⟩ : ∃ s : d → c.S, ∑ i : d, s i • q i = ⟨x, fun i : d ↦ ⟨y₀ i, hy₀ i⟩, hx⟩ := |
| 551 | (Submodule.mem_span_range_iff_exists_fun _).mp h_span |
| 552 | have h_vals : ∑ i : d, s i • ((q i : P) : d → Ainf) = x := by |
| 553 | simpa using congrArg Subtype.val hs |
| 554 | refine ⟨s, funext fun k ↦ ?_⟩ |
| 555 | simpa [mulVec, dotProduct, Finset.sum_apply, Subalgebra.smul_def, mul_comm] using |
| 556 | congrFun h_vals k |
| 557 | |
| 558 | /-- The approximation step of `dvd_dotProduct_of_spanning`. Let `U` be a period matrix of height `h` |
| 559 | with Frobenius factor `v` for `c` (`IsPeriodMatrix`). Let `Q` over `A_inf` be such that every `x` |
| 560 | with `U y = E ^ h x` for some `y` over `S_B = c.bicommutant` equals `Q s` with `s` over `c.S`. Let |
| 561 | `U y = E ^ h x` with `x` over `A_inf` and `y` over `BPlus`, and let `l Q = δ g` over `A_inf`. Then |
| 562 | for some `N` and every `m`, some `z` has `l · (p ^ N x) - δ z` in the ideal `(p, ξ) ^ m` of |
| 563 | `A_inf`. -/ |
| 564 | lemma exists_dotProduct_pow_smul_sub_mul_mem_span_pow (hU : c.IsPeriodMatrix U h v) |
| 565 | {Q : Matrix d d Ainf} |
| 566 | (hQ : ∀ (x : d → Ainf) (y : d → BPlus), |
| 567 | (∀ i : d, y i ∈ c.bicommutant) → |
| 568 | U *ᵥ y = c.E.val ^ h • ainfToBPlus ∘ x → |
| 569 | ∃ s : d → c.S, Q *ᵥ (↑) ∘ s = x) |
| 570 | (x : d → Ainf) (y : d → BPlus) (hy : U *ᵥ y = c.E.val ^ h • ainfToBPlus ∘ x) (δ : Ainf) |
| 571 | (l g : d → Ainf) (hl : l ᵥ* Q = δ • g) : |
| 572 | ∃ N : ℕ, ∀ m : ℕ, ∃ z : Ainf, l ⬝ᵥ p ^ N • x - δ * z ∈ span {(p : Ainf), xi} ^ m := by |
| 573 | classical |
| 574 | obtain ⟨u, -, hup⟩ := c.exists_bicommutant_mul_p_eq_one |
| 575 | obtain ⟨N, hN⟩ := hU.exists_ainfToBPlus_eq_pow_mul |
| 576 | obtain ⟨k, hk⟩ := |
| 577 | exists_p_pow_mul_mem_amaxImage U h (dvd_of_mul_right_dvd c.associated_E_mul_tau_mu.dvd) |
| 578 | refine ⟨N, fun m ↦ ?_⟩ |
| 579 | -- the vectors `x' i = p ^ N E ^ (-h) U (c.extendedCoord i ∘ y)` lie over `Ainf`, and in `Q S ^ d` |
| 580 | have h_stable : ∀ i : c.adicBasis.Index, |
| 581 | ∃ w : d → BPlus, U *ᵥ c.extendedCoord i ∘ y = c.E.val ^ h • w := |
| 582 | fun i ↦ hU.extendToBPlus_stable _ y ⟨ainfToBPlus ∘ x, hy⟩ |
| 583 | choose w hw using h_stable |
| 584 | have h_int : ∀ i : c.adicBasis.Index, |
| 585 | ∃ a : d → Ainf, ∀ j : d, ainfToBPlus (a j) = p ^ N * w i j := |
| 586 | fun i ↦ hN hy (hw i) |
| 587 | choose x' hx' using h_int |
| 588 | have hx'_eq (i : c.adicBasis.Index) : |
| 589 | U *ᵥ (p ^ N • c.extendedCoord i ∘ y) = c.E.val ^ h • ainfToBPlus ∘ x' i := by |
| 590 | have h_vec : p ^ N • w i = ainfToBPlus ∘ x' i := funext fun j ↦ by simp [hx'] |
| 591 | rw [mulVec_smul, hw, smul_comm, h_vec] |
| 592 | have h_span : ∀ i : c.adicBasis.Index, ∃ s : d → c.S, Q *ᵥ Subtype.val ∘ s = x' i := |
| 593 | fun i ↦ hQ (x' i) _ (fun _ ↦ nsmul_mem (c.extendedCoord_mem_bicommutant i _) _) (hx'_eq i) |
| 594 | choose s hs using h_span |
| 595 | -- expand `y` in the topological basis up to `p ^ (m + k)` |
| 596 | obtain ⟨G, hG⟩ : ∃ G : Finset c.adicBasis.Index, ∀ i : d, ∃ r ∈ amaxImage, |
| 597 | y i - ∑ j ∈ G, c.adicBasis.b j • c.extendedCoord j (y i) = p ^ (m + k) * r := |
| 598 | (Filter.eventually_all.mpr fun j ↦ c.eventually_approx_sum_extendedCoord (y j) (m + k)).exists |
| 599 | choose r hr hyr using hG |
| 600 | refine ⟨g ⬝ᵥ ∑ j ∈ G, c.adicBasis.b j • Subtype.val ∘ s j, ?_⟩ |
| 601 | -- as `δ g = l Q`, the difference is `l · t` for the error vector `t` |
| 602 | rw [← smul_eq_mul, ← smul_dotProduct, ← hl, ← dotProduct_mulVec, ← dotProduct_sub] |
| 603 | set t : d → Ainf := p ^ N • x - Q *ᵥ ∑ j ∈ G, c.adicBasis.b j • Subtype.val ∘ s j with ht |
| 604 | change l ⬝ᵥ t ∈ span {(p : Ainf), xi} ^ m |
| 605 | -- the error `t`, divided by `p ^ (m + k)`, has an integral solution; `hk` loses `p ^ k`, so |
| 606 | -- `p ^ m` divides `t` in `Amax`, which puts `t` in `(p, ξ) ^ m` (`mem_span_pow_of_p_pow_dvd`) |
| 607 | have h_error : |
| 608 | U *ᵥ (p ^ N • u ^ (m + k) • (y - ∑ j ∈ G, c.adicBasis.b j • c.extendedCoord j ∘ y)) = |
| 609 | c.E.val ^ h • u ^ (m + k) • ainfToBPlus ∘ t := by |
| 610 | rw [mulVec_smul, mulVec_smul, mulVec_sub] |
| 611 | simp [ht, hy, hw, hx', hs, G.mul_sum, G.smul_sum, smul_comm (c.E.val ^ h), ← smul_def, |
| 612 | mulVec_smul, mulVec_sum, smul_sub, funext_iff] |
| 613 | -- entry by entry, it suffices that `p ^ m` divides `t i` in `Amax` |
| 614 | refine sum_mem fun i _ ↦ mul_mem_left _ _ (mem_span_pow_of_p_pow_dvd ?_) |
| 615 | have h_mem (j : d) : |
| 616 | (u ^ (m + k) • (y - ∑ i ∈ G, c.adicBasis.b i • c.extendedCoord i ∘ y)) j ∈ amaxImage := by |
| 617 | simp [hyr, hr, hup, ← mul_assoc, ← mul_pow] |
| 618 | obtain ⟨a, ha⟩ : p ^ k * (u ^ (m + k) • ainfToBPlus ∘ t) i ∈ amaxImage := |
| 619 | hk h_error (fun j ↦ nsmul_mem (h_mem j) _) i |
| 620 | -- multiply `ha` by `p ^ m`: as `u p = 1`, the image of `p ^ m a` in `B⁺` is that of `t i` |
| 621 | have h_t : ainfToBPlus (t i) = |
| 622 | (p : BPlus) ^ m * (IsScalarTower.toAlgHom Ainf Amax BPlus).toRingHom a := by |
| 623 | rw [ha] |
| 624 | simp [← pow_add, ← mul_assoc, ← mul_pow, hup, mul_comm _ u] |
| 625 | refine ⟨a, injective_Amax_BPlus ?_⟩ |
| 626 | change ainfToBPlus (t i) = (IsScalarTower.toAlgHom Ainf Amax BPlus).toRingHom ((p : Amax) ^ m * a) |
| 627 | rwa [map_mul, map_pow, map_natCast] |
| 628 | |
| 629 | /-- Let `U` be a period matrix of height `h` (`hU`), and let `Q` span the solutions over |
| 630 | `c.bicommutant` (`hQ`): every `x` over `A_inf` with `U y = E ^ h x` for some `y` over |
| 631 | `c.bicommutant` is `Q s` with `s` over `c.S`. Let `U y = E ^ h x` with `y` over `B⁺` only. If `δ`, |
| 632 | not divisible by `p`, divides the row `l Q` (`l Q = δ g`), then `δ` divides `l · x`. -/ |
| 633 | lemma dvd_dotProduct_of_spanning (hU : c.IsPeriodMatrix U h v) {Q : Matrix d d Ainf} |
| 634 | (hQ : ∀ (x : d → Ainf) (y : d → BPlus), |
| 635 | (∀ i : d, y i ∈ c.bicommutant) → |
| 636 | U *ᵥ y = c.E.val ^ h • ainfToBPlus ∘ x → |
| 637 | ∃ s : d → c.S, Q *ᵥ (↑) ∘ s = x) |
| 638 | (x : d → Ainf) (y : d → BPlus) (hy : U *ᵥ y = c.E.val ^ h • ainfToBPlus ∘ x) (δ : Ainf) |
| 639 | (l g : d → Ainf) (hδ : ¬↑p ∣ δ) (hl : l ᵥ* Q = δ • g) : |
| 640 | δ ∣ l ⬝ᵥ x := by |
| 641 | -- `δ` divides `l · (p ^ N x)` as the ideal of `δ` is closed for the `(p, ξ)`-adic topology |
| 642 | -- (`dvd_of_forall_exists_sub_mem_span_pow`); `p ∤ δ` then removes `p ^ N`. |
| 643 | obtain ⟨N, h_approx⟩ := hU.exists_dotProduct_pow_smul_sub_mul_mem_span_pow hQ x y hy δ l g hl |
| 644 | have h_dvd := dvd_of_forall_exists_sub_mem_span_pow |
| 645 | prime_p.not_isUnit prime_xi.not_isUnit hδ h_approx |
| 646 | rw [dotProduct_smul, nsmul_eq_mul, Nat.cast_pow] at h_dvd |
| 647 | exact dvd_of_dvd_prime_pow_mul prime_p hδ h_dvd |
| 648 | |
| 649 | /-- Every period matrix `U` has a basis `Q`, `Z` in the sense of `New.Lift.Chart.IsPeriodBasis`: |
| 650 | the nonsingular `Q` over `A_inf` spans the `x` with `U y = E ^ h x` solvable over `c.bicommutant`, |
| 651 | and `U Z = E ^ h Q`. -/ |
| 652 | lemma exists_basis (hU : c.IsPeriodMatrix U h v) : |
| 653 | ∃ (Q : Matrix d d Ainf) (Z : Matrix d d BPlus), c.IsPeriodBasis U h Q Z := by |
| 654 | obtain ⟨Q, Z, hZ, hUZ, hQ⟩ := hU.exists_spanning_matrix |
| 655 | have h_dvd := hU.dvd_dotProduct_of_spanning hQ |
| 656 | refine ⟨Q, Z, ⟨?_, hZ, hUZ, hQ, h_dvd⟩⟩ |
| 657 | -- if `l Q = 0`, every power of `z` divides `τ ^ h l x`, for all `x`; only `0` is divisible by |
| 658 | -- all powers of `z`, so `l = 0` |
| 659 | obtain ⟨W, hW⟩ := hU.exists_mulVec_mulVec_eq_smul |
| 660 | rw [Ne, ← exists_vecMul_eq_zero_iff] |
| 661 | rintro ⟨l, hl_ne, hl⟩ |
| 662 | refine hl_ne (dotProduct_eq_zero _ fun x ↦ ?_) |
| 663 | -- `W x` solves `U y = E ^ h (τ ^ h x)`, and `z ^ n` divides the row `l Q = 0` |
| 664 | have hW_sol : U *ᵥ (W *ᵥ ainfToBPlus ∘ x) = c.E.val ^ h • ainfToBPlus ∘ (tau ^ h • x) := by |
| 665 | simp [hW, smul_def, mul_pow, mul_assoc, funext_iff] |
| 666 | have h_pow (n : ℕ) : c.z.val ^ n ∣ l ⬝ᵥ tau ^ h • x := |
| 667 | h_dvd _ _ hW_sol _ l 0 (c.not_p_dvd_z ∘ prime_p.dvd_of_dvd_pow) (by simp [hl]) |
| 668 | have h_zero : ainfToBPlus (l ⬝ᵥ tau ^ h • x) = 0 := |
| 669 | c.eq_zero_of_z_pow_dvd fun n ↦ by |
| 670 | rw [← map_pow] |
| 671 | exact map_dvd ainfToBPlus (h_pow n) |
| 672 | -- `ainfToBPlus` is injective and `τ ≠ 0` |
| 673 | have h_smul : l ⬝ᵥ tau ^ h • x = tau ^ h * l ⬝ᵥ x := by rw [dotProduct_smul, smul_eq_mul] |
| 674 | simpa [h_smul, tau_ne_zero] using h_zero |
| 675 | |
| 676 | end IsPeriodMatrix |
| 677 | |
| 678 | end Chart |
| 679 | |
| 680 | end New.Lift |
| 681 | |
| 682 | end PeriodMatrixBasis |
| 683 | |
| 684 | /-! |
| 685 | ## Period matrices of crystalline lattices with bounded jumps |
| 686 | |
| 687 | `ρ` is a representation of `Γ` on a free `ℤ_p`-module with basis `e` (matrices |
| 688 | `New.Period.repMatrix ρ e g`), `𝒥.toGp` maps `Γ` onto an open subgroup of `Gal(ℚ̄_p/ℚ_p)`, and `c` |
| 689 | is a chart for it (`hc : IsChartOf c 𝒥.toGp`). Here `Bmax = BPlus [1/μ]`, `BdRPlus ⊂ BdR` with |
| 690 | `t = tUnit`, `hodgeMatrix P k = P diag (t ^ k i)`, `hodgeFil s` is the filtration `t ^ s BdRPlus`, |
| 691 | and the prime `p` is fixed by the instance `[ThePrime p]`. |
| 692 | -/ |
| 693 | |
| 694 | namespace New.Lift.Chart |
| 695 | |
| 696 | open Period Module Function Algebra Matrix RingHom BdRPlus algebraMap Basis |
| 697 | |
| 698 | variable {p : ℕ} [ThePrime p] {T Γ ι : Type} [AddCommGroup T] [Module ℤ_[p] T] [Group Γ] [Fintype ι] |
| 699 | [DecidableEq ι] [𝒥 : OverGp Γ p] {ρ : Representation ℤ_[p] Γ T} (a b : ℕ) {c : Chart} |
| 700 | |
| 701 | /-- The columns of `M` are the coordinates, in the basis `e`, of vectors of `B ⊗ T` fixed by `Γ`: |
| 702 | `ρ(g) * g M = M`, where `ρ(g)` is the matrix of `ρ g` in `e` and `g` acts on entries through |
| 703 | `toGp`. -/ |
| 704 | def _root_.New.Period.HasInvariantColumns (ρ : Representation ℤ_[p] Γ T) (e : Basis ι ℤ_[p] T) |
| 705 | {B : Type} [CommRing B] [Algebra ℤ_[p] B] [SMul (Gp p) B] (M : Matrix ι ι B) : Prop := |
| 706 | ∀ g : Γ, (repMatrix ρ e g).map (algebraMap ℤ_[p] B) * M.map (toGp g • ·) = M |
| 707 | |
| 708 | /-- `U` over `BPlus` is the period matrix of `ρ` in the basis `e` made from the matrix `M` over |
| 709 | `Bmax` with invariant columns by the factor `(E τ) ^ a`. Here `v` is the unit `μ / (E τ)`. Its |
| 710 | height is `a + b` and its Frobenius factor is `v ^ a`. -/ |
| 711 | structure IsPeriodMatrixOf (ρ : Representation ℤ_[p] Γ T) (a b : ℕ) (c : Chart) |
| 712 | (e : Basis ι ℤ_[p] T) (M : Matrix ι ι Bmax) (U : Matrix ι ι BPlus) (v : Ainfˣ) : Prop where |
| 713 | /-- The columns of `M` are invariant vectors. -/ |
| 714 | hasInvariantColumns : HasInvariantColumns ρ e M |
| 715 | /-- The unit `v` is `μ / (E τ)`. -/ |
| 716 | E_mul_tau_mul : c.E * tau * v.val = mu |
| 717 | /-- `U` is a period matrix of height `a + b` with Frobenius factor `v ^ a`. -/ |
| 718 | isPeriodMatrix : c.IsPeriodMatrix U (a + b) (v ^ a) |
| 719 | /-- `U = (E τ) ^ a M` over `Bmax`. -/ |
| 720 | map_eq_smul : U.map (algebraMap BPlus Bmax) = (c.E * tau) ^ a • M |
| 721 | |
| 722 | /-- The action of an element of `FrobGal` on matrices over `Bmax`, entry by entry; `(.ofAdd n, 1)` |
| 723 | acts as `φ ^ n` and `(1, g)` as `g` in `Gal(ℚ̄_p/ℚ_p)`. -/ |
| 724 | noncomputable abbrev _root_.New.Period.matrixAction (m : FrobGal) : |
| 725 | Matrix ι ι Bmax →+* Matrix ι ι Bmax := |
| 726 | (MulSemiringAction.toRingHom FrobGal Bmax m).mapMatrix |
| 727 | |
| 728 | /-- The twist `φ ^ n M` of an invertible matrix over `Bmax` by a power of Frobenius. -/ |
| 729 | noncomputable abbrev _root_.New.Period.frobTwist (n : ℕ) (M : GL ι Bmax) : GL ι Bmax := |
| 730 | Units.map (matrixAction (.ofAdd n, 1)).toMonoidHom M |
| 731 | |
| 732 | /-- A crystalline `ρ` (`Bmax ⊗ T` has a `Bmax`-basis of `Γ`-invariant vectors) has an invertible |
| 733 | matrix over `Bmax` with invariant columns. -/ |
| 734 | lemma _root_.New.Period.IsCrystalline.exists_hasInvariantColumns (h : IsCrystalline ρ) |
| 735 | (e : Basis ι ℤ_[p] T) : ∃ M : GL ι Bmax, HasInvariantColumns ρ e M.val := by |
| 736 | -- `M` holds the coordinates, in the basis `e`, of a basis of invariant vectors. |
| 737 | obtain ⟨s, u, hu⟩ := h.exists_basis le_top |
| 738 | let u' : Basis ι Bmax (TensorProduct ℤ_[p] Bmax T) := u.reindex (u.indexEquiv (e.baseChange Bmax)) |
| 739 | have hu' (g : Γ) (i : ι) : tensorAction Bmax (toGp g) (ρ g) (u' i) = u' i := by |
| 740 | simpa [u'] using hu _ g |
| 741 | let : Invertible ((e.baseChange Bmax).toMatrix u') := (e.baseChange Bmax).invertibleToMatrix u' |
| 742 | exact ⟨unitOfInvertible ((e.baseChange Bmax).toMatrix u'), fun g ↦ ext_col fun i ↦ |
| 743 | (equivFun_tensorAction ρ e g (u' i)).symm.trans |
| 744 | (congrArg (e.baseChange Bmax).equivFun (hu' g i))⟩ |
| 745 | |
| 746 | section InvariantColumns |
| 747 | |
| 748 | variable {e : Basis ι ℤ_[p] T} |
| 749 | |
| 750 | /-- Frobenius commutes with the Galois action, so `φ ^ n M` has invariant columns if `M` has. -/ |
| 751 | lemma _root_.New.Period.HasInvariantColumns.frobTwist {M : GL ι Bmax} |
| 752 | (hM : HasInvariantColumns ρ e M.val) (n : ℕ) : |
| 753 | HasInvariantColumns ρ e (frobTwist n M).val := by |
| 754 | intro g |
| 755 | have h_inv : (repMatrix ρ e g).map (↑) * matrixAction (1, toGp g) M.val = M.val := hM g |
| 756 | change (repMatrix ρ e g).map (↑) * matrixAction (1, toGp g) (Period.frobTwist n M).val = |
| 757 | (Period.frobTwist n M).val |
| 758 | refine .trans ?_ (congrArg (matrixAction (.ofAdd n, 1)) h_inv) |
| 759 | simp [comp_def, smul_smul] |
| 760 | |
| 761 | /-- An invertible matrix `M` over `Bmax` with invariant columns has a Hodge frame |
| 762 | `M Y = W diag (t ^ k i)` with `Y` fixed by `Γ`, and this product has invariant columns. -/ |
| 763 | lemma _root_.New.Period.HasInvariantColumns.exists_hodge_frame {M : GL ι Bmax} |
| 764 | (hM : HasInvariantColumns ρ e M.val) : |
| 765 | ∃ (Y : SpecialLinearGroup ι (PadicAlgCl p)) (W : GL ι BdRPlus) (k : ι → ℤ), |
| 766 | (∀ g : Γ, Y.val.map (toGp g) = Y.val) ∧ |
| 767 | M.val.map (algebraMap Bmax BdR) * Y.val.map (algebraMap (PadicAlgCl p) BdR) = |
| 768 | hodgeMatrix W.val k ∧ |
| 769 | HasInvariantColumns ρ e (hodgeMatrix W.val k) := by |
| 770 | have hM_dR : HasInvariantColumns ρ e (M.val.map (algebraMap Bmax BdR)) := fun g ↦ by |
| 771 | refine .trans ?_ (congrArg (fun X : Matrix ι ι Bmax ↦ X.map (ofId Bmax BdR)) (hM g)) |
| 772 | simp [comp_def] |
| 773 | obtain ⟨Y, W', k, h_frame⟩ := |
| 774 | Period.exists_isHodgeFrame Γ le_top (M.isUnit.map (mapMatrix _)) hM_dR |
| 775 | obtain ⟨W, rfl⟩ := h_frame.isUnit |
| 776 | exact ⟨Y, W, k, Filter.eventually_top.mp h_frame.eventually_map_eq, h_frame.mul_map_eq, |
| 777 | Filter.eventually_top.mp h_frame.eventually_mul_smul_eq⟩ |
| 778 | |
| 779 | /-- If `W diag (t ^ k i)` has invariant columns, then each `k i` is a Hodge–Tate jump of `ρ`. -/ |
| 780 | lemma _root_.New.Period.HasInvariantColumns.jump_ne_zero {W : GL ι BdRPlus} {k : ι → ℤ} |
| 781 | (hW : HasInvariantColumns ρ e (hodgeMatrix W.val k)) (i : ι) : |
| 782 | jump ρ (ofId ℤ_[p] ℂ_[p]) (k i) ≠ 0 := by |
| 783 | -- The rows of `θ(W)⁻¹` are Hodge–Tate forms of weights `k`. |
| 784 | have h_jumps : HasJumps ρ (ofId ℤ_[p] ℂ_[p]) (Finset.univ.val.map k) := by |
| 785 | refine (hasJumps_of_rows e (.map (thetaBdR : BdRPlus →+* ℂ_[p]) W)⁻¹ k |
| 786 | (.of_forall fun g ↦ ?_)).1 |
| 787 | exact inv_mul_apply_of_isHodgeTateFrame (isHodgeTateFrame_of_hodgeMatrix (hW g)) |
| 788 | exact (h_jumps (k i)).trans_ne (by simp) |
| 789 | |
| 790 | /-- A matrix `B` with `B Q = P diag (t ^ k i)`, `Q` invertible over `BdRPlus` and `s ≤ k i` for all |
| 791 | `i`, has entries in `hodgeFil s`. -/ |
| 792 | lemma _root_.New.Period.mem_hodgeFil_of_mul_eq_hodgeMatrix {B : Matrix ι ι BdR} {k : ι → ℤ} |
| 793 | {s : ℤ} {P : Matrix ι ι BdRPlus} (Q : GL ι BdRPlus) (hk : ∀ i : ι, s ≤ k i) |
| 794 | (hB : B * Q.val.map (algebraMap BdRPlus BdR) = hodgeMatrix P k) (i l : ι) : |
| 795 | B i l ∈ hodgeFil s := by |
| 796 | rw [(Q.map _).eq_mul_inv_iff_mul_eq.mpr hB] |
| 797 | refine sum_mem fun m _ ↦ hodgeFil_anti (hk m) ?_ |
| 798 | simp [mem_hodgeFil, ← map_inv, field, ← map_mul, hodgeMatrix] |
| 799 | |
| 800 | omit [Fintype ι] [DecidableEq ι] in |
| 801 | /-- If all Frobenius twists of `B` have entries in `hodgeFil (-m)`, then `(E τ) ^ m B` lies over |
| 802 | `BPlus`. -/ |
| 803 | lemma exists_map_eq_pow_smul (c : Chart) (B : Matrix ι ι Bmax) (m : ℕ) |
| 804 | (hB : ∀ (n : ℕ) (i l : ι), |
| 805 | algebraMap Bmax BdR (((.ofAdd n, 1) : FrobGal) • B i l) ∈ hodgeFil (-m)) : |
| 806 | ∃ C : Matrix ι ι BPlus, C.map (algebraMap BPlus Bmax) = (c.E * tau) ^ m • B := by |
| 807 | choose C hC using |
| 808 | fun i l ↦ pow_smul_mem_range_BPlus (B i l) m c.associated_E_mul_tau_mu.dvd' fun n ↦ hB n i l |
| 809 | exact ⟨of C, ext hC⟩ |
| 810 | |
| 811 | /-- Let the jumps of `ρ` lie in `[-a, b]` and let `M` be invertible over `Bmax` with invariant |
| 812 | columns. Then `(E τ) ^ a M` and `(E τ) ^ b M⁻¹` lie over `BPlus`. -/ |
| 813 | lemma exists_map_eq_pow_smul_of_hasInvariantColumns (c : Chart) {e : Basis ι ℤ_[p] T} |
| 814 | {M : GL ι Bmax} (hM : HasInvariantColumns ρ e M.val) |
| 815 | (hab : ∀ k : ℤ, jump ρ (ofId ℤ_[p] ℂ_[p]) k ≠ 0 → -(a : ℤ) ≤ k ∧ k ≤ (b : ℤ)) : |
| 816 | (∃ U : Matrix ι ι BPlus, U.map (algebraMap BPlus Bmax) = (c.E * tau) ^ a • M.val) ∧ |
| 817 | ∃ U' : Matrix ι ι BPlus, U'.map (algebraMap BPlus Bmax) = (c.E * tau) ^ b • M.inv := by |
| 818 | -- Hodge frames `φ ^ n M * Y n = W n * t ^ k n` for every Frobenius twist; the `k n i` are jumps. |
| 819 | choose Y W k h_fix h_hodge h_inv using fun n ↦ (hM.frobTwist n).exists_hodge_frame |
| 820 | have hk (n : ℕ) (i : ι) : -(a : ℤ) ≤ k n i ∧ k n i ≤ b := hab _ ((h_inv n).jump_ne_zero i) |
| 821 | refine ⟨c.exists_map_eq_pow_smul _ a fun n ↦ ?_, c.exists_map_eq_pow_smul _ b fun n ↦ ?_⟩ |
| 822 | · exact mem_hodgeFil_of_mul_eq_hodgeMatrix (.map _ (Y n).toGL) (fun i ↦ (hk n i).left) (h_hodge n) |
| 823 | · -- Invert the frame: `(φ ^ n M)⁻¹ * W n = Y n * t ^ (-k n)`. |
| 824 | let N : GL ι BdR := .map (algebraMap Bmax BdR) (frobTwist n M) |
| 825 | refine mem_hodgeFil_of_mul_eq_hodgeMatrix (P := (Y n).val.map (↑)) (W n) |
| 826 | (fun i ↦ neg_le_neg (hk n i).right) (N.inv_mul_eq_iff_eq_mul.mpr ?_) |
| 827 | -- `Y n` reaches `BdR` through `BdRPlus`; `h_hodge` writes the two casts as one map |
| 828 | have h_cast : (((Y n).val.map (↑) : Matrix ι ι BdRPlus).map (↑) : Matrix ι ι BdR) = |
| 829 | (Y n).val.map (algebraMap (PadicAlgCl p) BdR) := by |
| 830 | simp [Matrix.map_map, comp_def, ← IsScalarTower.algebraMap_apply] |
| 831 | rw [hodgeMatrix, ← mul_assoc, h_cast, |
| 832 | show (N : Matrix ι ι BdR) * _ = hodgeMatrix (W n).val (k n) from h_hodge n] |
| 833 | simp [zpow_ne_zero, hodgeMatrix, mul_assoc] |
| 834 | |
| 835 | /-- Let `c` be a chart for `toGp` (`hc`). An element of `Bmax` fixed by `Γ` comes from |
| 836 | `c.bicommutant`. -/ |
| 837 | lemma IsChartOf.exists_mem_bicommutant_of_fixed (hc : IsChartOf c 𝒥.toGp) {b : Bmax} |
| 838 | (hb : ∀ g : Γ, toGp g • b = b) : |
| 839 | ∃ s ∈ c.bicommutant, algebraMap BPlus Bmax s = b := by |
| 840 | -- `p ^ m * b` is a constant `w` in `WittFq c.f`, and `p` has an inverse `u` in `c.bicommutant`; |
| 841 | -- so `b` is the image of `u ^ m * w`. |
| 842 | have h_comm : ∀ g : Γ, (1 : Bmax) * toGp g • b = toGp g • (1 : Bmax) * b := by simpa using hb |
| 843 | obtain ⟨m, w, hw⟩ := exists_pow_mul_eq_wittFq_mul_of_isChartOf hc (b := b) one_ne_zero h_comm |
| 844 | obtain ⟨u, hu, hup⟩ := c.exists_bicommutant_mul_p_eq_one |
| 845 | -- the witness is `u ^ m * w` |
| 846 | refine ⟨_, mul_mem (pow_mem hu m) (ainfToBPlus_mem_bicommutant w), ?_⟩ |
| 847 | have h_pow : (u * p) ^ m • b = b := by rw [hup, one_pow, one_smul] |
| 848 | simpa [smul_def, mul_pow, hw, ← IsScalarTower.algebraMap_apply, mul_assoc] using h_pow |
| 849 | |
| 850 | /-- Let `c` be a chart for `toGp` (`hc`). The transition matrix of two invertible matrices with |
| 851 | invariant columns has entries in `c.bicommutant`. -/ |
| 852 | lemma IsChartOf.exists_transition_matrix (hc : IsChartOf c 𝒥.toGp) {e : Basis ι ℤ_[p] T} |
| 853 | {M N : GL ι Bmax} (hM : HasInvariantColumns ρ e M.val) (hN : HasInvariantColumns ρ e N.val) : |
| 854 | ∃ X : Matrix ι ι BPlus, (∀ i l : ι, X i l ∈ c.bicommutant) ∧ |
| 855 | X.map (algebraMap BPlus Bmax) = M.val⁻¹ * N.val := by |
| 856 | have h_fix (g : Γ) : matrixAction (1, toGp g) (M.val⁻¹ * N.val) = M.val⁻¹ * N.val := by |
| 857 | set σ : Matrix ι ι Bmax →+* Matrix ι ι Bmax := matrixAction (1, toGp g) |
| 858 | set R : Matrix ι ι Bmax := (repMatrix ρ e g).map (algebraMap ℤ_[p] Bmax) |
| 859 | have hMg : R * σ M.val = M.val := hM g |
| 860 | have hNg : R * σ N.val = N.val := hN g |
| 861 | have h_det : IsUnit M.val.det := isUnits_det_units M |
| 862 | apply M.isUnit.mul_left_cancel |
| 863 | calc |
| 864 | M.val * σ (M.val⁻¹ * N.val) = R * σ (M.val * (M.val⁻¹ * N.val)) := by |
| 865 | rw [map_mul σ M.val, ← mul_assoc, hMg] |
| 866 | _ = N.val := by rw [mul_nonsing_inv_cancel_left _ _ h_det, hNg] |
| 867 | _ = M.val * (M.val⁻¹ * N.val) := (mul_nonsing_inv_cancel_left _ _ h_det).symm |
| 868 | choose X hX_mem hX using |
| 869 | fun i l ↦ hc.exists_mem_bicommutant_of_fixed fun g ↦ congrFun₂ (h_fix g) i l |
| 870 | exact ⟨of X, hX_mem, ext hX⟩ |
| 871 | |
| 872 | /-- Let `M Y = W diag (t ^ k i)` be a Hodge frame of `M` over `BdR`, and let `U` over `BPlus` have |
| 873 | image `(c.E * tau) ^ a • M` in `Bmax`. Suppose that, for each row `l` of `Y⁻¹`, its product with |
| 874 | `c.extendToBPlus f ∘ y` is `s l` times its product with `y` (`hs`). Then over `BdRPlus` the vector |
| 875 | `U (c.extendToBPlus f ∘ y)` is `W diag(s) W⁻¹ (U y)`. -/ |
| 876 | private lemma mulVec_extendToBPlus_eq_of_hodge_frame {M : GL ι Bmax} |
| 877 | {U : Matrix ι ι BPlus} (hU : U.map (algebraMap BPlus Bmax) = (c.E * tau) ^ a • M.val) |
| 878 | {Y : SpecialLinearGroup ι (PadicAlgCl p)} {W : GL ι BdRPlus} {k : ι → ℤ} |
| 879 | (h_hodge : M.val.map (algebraMap Bmax BdR) * Y.val.map (algebraMap (PadicAlgCl p) BdR) = |
| 880 | hodgeMatrix W.val k) |
| 881 | (f : Ainf →ₗ[c.S] Ainf) {y : ι → BPlus} {s : ι → BdRPlus} |
| 882 | (hs : ∀ l : ι, ∑ i : ι, (Y⁻¹.val l i : BdRPlus) * c.extendToBPlus f (y i) = |
| 883 | (∑ i : ι, Y⁻¹.val l i * algebraMap BPlus BdRPlus (y i)) * s l) (i : ι) : |
| 884 | ((W.val * diagonal s * W.inv) *ᵥ algebraMap BPlus BdRPlus ∘ (U *ᵥ y)) i = |
| 885 | algebraMap BPlus BdRPlus ((U *ᵥ c.extendToBPlus f ∘ y) i) := by |
| 886 | have hU_dR : U.map (fun x ↦ algebraMap BPlus BdR x) = |
| 887 | (c.E * tau) ^ a • M.val.map (algebraMap Bmax BdR) := by |
| 888 | simpa [ofId, comp_def, ← IsScalarTower.algebraMap_apply, AlgHom.map_smul_of_tower] using |
| 889 | congrArg (ofId Bmax BdR).mapMatrix hU |
| 890 | have hM_dR : M.val.map (algebraMap Bmax BdR) = |
| 891 | hodgeMatrix W.val k * Y.val.adjugate.map (algebraMap (PadicAlgCl p) BdR) := by |
| 892 | simpa [← map_inv] using (Y.toGL.map _).eq_mul_inv_iff_mul_eq.mpr h_hodge |
| 893 | -- Row by row (`hs`), `adj(Y)` times the extended vector is `diag(s)` times `adj(Y) y`. |
| 894 | have h_rows : Y.val.adjugate.map (algebraMap (PadicAlgCl p) BdR) *ᵥ |
| 895 | (fun j ↦ algebraMap BPlus BdR (c.extendToBPlus f (y j))) = |
| 896 | (diagonal fun l ↦ algebraMap BdRPlus BdR (s l)) *ᵥ |
| 897 | (Y.val.adjugate.map (algebraMap (PadicAlgCl p) BdR) *ᵥ |
| 898 | fun j ↦ algebraMap BPlus BdR (y j)) := by |
| 899 | ext l |
| 900 | rw [mulVec_diagonal] |
| 901 | simpa [mulVec, dotProduct, mul_comm, ← IsScalarTower.algebraMap_apply] using |
| 902 | congrArg (algebraMap BdRPlus BdR) (hs l) |
| 903 | simp [RingHom.map_mulVec, ← coe_inj _ BdR, mul_assoc, comp_def, |
| 904 | ← IsScalarTower.algebraMap_apply] |
| 905 | simp [hU_dR, hM_dR, ← mul_assoc, hodgeMatrix, smul_mulVec] |
| 906 | -- Both sides have the outer factor (E τ)^a W. Commute the diagonal factors on the left, |
| 907 | -- then use h_rows to identify the two vectors. |
| 908 | have h_diag : (diagonal fun j ↦ algebraMap BdRPlus BdR (s j) * (tUnit : BdR) ^ k j) = |
| 909 | (diagonal fun j ↦ (tUnit : BdR) ^ k j) * diagonal fun j ↦ algebraMap BdRPlus BdR (s j) := by |
| 910 | rw [diagonal_mul_diagonal] |
| 911 | exact congrArg diagonal (funext fun j ↦ mul_comm _ _) |
| 912 | rw [h_diag] |
| 913 | simp only [← mulVec_mulVec, h_rows] |
| 914 | |
| 915 | /-- Let `c` be a chart of `𝒥.toGp : Γ →* G_p` (`hc`), let `M` be invertible over `Bmax` with columns |
| 916 | `Γ`-invariant for `ρ` in the basis `e`, and let `U` over `BPlus` have image `(c.E * tau) ^ a • M` in |
| 917 | `Bmax`. If `U y = E ^ n w` for some `w` over `BPlus`, then `U (c.extendToBPlus f ∘ y) = E ^ n w'` |
| 918 | for some `w'`. Here `c.extendToBPlus f` is the chosen extension to `BPlus` of the `c.S`-linear map |
| 919 | `f` of `A_inf`. -/ |
| 920 | lemma IsChartOf.exists_mulVec_extendToBPlus_eq_smul (hc : IsChartOf c 𝒥.toGp) {e : Basis ι ℤ_[p] T} |
| 921 | {M : GL ι Bmax} {U : Matrix ι ι BPlus} |
| 922 | (hM : HasInvariantColumns ρ e M.val) |
| 923 | (hU : U.map (algebraMap BPlus Bmax) = (c.E * tau) ^ a • M.val) {n : ℕ} |
| 924 | (f : Ainf →ₗ[c.S] Ainf) {y : ι → BPlus} |
| 925 | (hy : ∃ w : ι → BPlus, U *ᵥ y = c.E.val ^ n • w) : |
| 926 | ∃ w : ι → BPlus, U *ᵥ c.extendToBPlus f ∘ y = c.E.val ^ n • w := by |
| 927 | obtain ⟨Y, W, k, hY, h_hodge, -⟩ := hM.exists_hodge_frame |
| 928 | -- The rows of `Y⁻¹` lie over the fixed field, so `c.extendToBPlus f` multiplies the `l`-th |
| 929 | -- coordinate of `Y⁻¹ y` by some `s l` in `BdRPlus`. |
| 930 | have hY_mem (l i : ι) : Y⁻¹.val l i ∈ localFieldOf Γ := by |
| 931 | rintro ⟨_, g, rfl⟩ |
| 932 | -- `g` fixes the entries of `Y`, hence those of its adjugate `Y⁻¹` |
| 933 | have h_adj : Y.val.adjugate.map (toGp g) = Y.val.adjugate := |
| 934 | ((toGp g).toAlgHom.map_adjugate Y.val).trans (congrArg adjugate (hY g)) |
| 935 | exact congrFun₂ h_adj l i |
| 936 | have h_dvd_row (l : ι) : |
| 937 | ∑ i : ι, Y⁻¹.val l i * algebraMap BPlus BdRPlus (y i) ∣ |
| 938 | ∑ i : ι, (Y⁻¹.val l i : BdRPlus) * c.extendToBPlus f (y i) := |
| 939 | hc.dvd_extendToBPlus (Y⁻¹.val l) (hY_mem l) f y |
| 940 | choose s hs using h_dvd_row |
| 941 | -- Divisibility by `E ^ n` in `BPlus` is divisibility by `ξ ^ n` in `BdRPlus`. |
| 942 | have h_dvd_iff (x : ι → BPlus) : (∃ w : ι → BPlus, x = c.E.val ^ n • w) ↔ |
| 943 | ∀ i : ι, algebraMap Ainf BdRPlus xi ^ n ∣ algebraMap BPlus BdRPlus (x i) := by |
| 944 | simp [smul_def, ← dvd_def, pi_dvd_iff, ← xi_pow_dvd_iff, |
| 945 | (c.associated_E_xi.map _).pow_pow.dvd_iff_dvd_left] |
| 946 | rw [h_dvd_iff] at hy ⊢ |
| 947 | intro i |
| 948 | -- As `U = (E τ) ^ a W t ^ k Y⁻¹` over `BdR`, `U (c.extendToBPlus f ∘ y) = W diag(s) W⁻¹ (U y)`. |
| 949 | have h_mulVec_extend : ((W.val * diagonal s * W.inv) *ᵥ algebraMap BPlus BdRPlus ∘ (U *ᵥ y)) i = |
| 950 | algebraMap BPlus BdRPlus ((U *ᵥ c.extendToBPlus f ∘ y) i) := |
| 951 | mulVec_extendToBPlus_eq_of_hodge_frame a hU h_hodge f hs i |
| 952 | -- the left side of `h_mulVec_extend` combines the entries of `U y`, each divisible by `ξ ^ n` |
| 953 | rw [← h_mulVec_extend] |
| 954 | exact Finset.dvd_sum fun l _ ↦ (hy l).mul_left _ |
| 955 | |
| 956 | end InvariantColumns |
| 957 | |
| 958 | /-- If `U` over `BPlus` is `(E τ) ^ a M` over `Bmax`, then for `m` in `FrobGal` the matrix |
| 959 | `m • U` is `(m E * m τ) ^ a` times `m M` over `Bmax`. -/ |
| 960 | private lemma map_smul_eq_pow_smul_matrixAction {M : Matrix ι ι Bmax} {U : Matrix ι ι BPlus} |
| 961 | (hU : (ofId BPlus Bmax).mapMatrix U = (c.E * tau) ^ a • M) (m : FrobGal) : |
| 962 | (ofId BPlus Bmax).mapMatrix (m • U) = (m • c.E.val * m • tau) ^ a • matrixAction m M := by |
| 963 | ext i l |
| 964 | simpa [smul_def] using congrArg (fun A : Matrix ι ι Bmax ↦ m • A i l) hU |
| 965 | |
| 966 | /-- Let `c` be a chart of `𝒥.toGp : Γ → G_p` (`hc`), let `M` over `Bmax` have invariant columns in |
| 967 | the basis `e`, and let `U` over `BPlus` be `(E τ) ^ a M`. Then each `g` that fixes the chart |
| 968 | (`c.FixesThetaZ g`) satisfies `R (g • U) = U` for a matrix `R` over `Ainf` (`r ^ a` times the |
| 969 | matrix of `ρ g`, where `r = E τ / g (E τ)`). -/ |
| 970 | private lemma IsChartOf.exists_map_mul_smul_eq (hc : IsChartOf c 𝒥.toGp) {e : Basis ι ℤ_[p] T} |
| 971 | {M : GL ι Bmax} (hM : HasInvariantColumns ρ e M.val) {U : Matrix ι ι BPlus} |
| 972 | (hU : (ofId BPlus Bmax).mapMatrix U = (c.E * tau) ^ a • M.val) (g : Gp p) |
| 973 | (hg : c.FixesThetaZ g) : ∃ R : Matrix ι ι Ainf, R.map Chart.ainfToBPlus * g • U = U := by |
| 974 | let incl : Matrix ι ι BPlus →ₐ[BPlus] Matrix ι ι Bmax := (ofId BPlus Bmax).mapMatrix |
| 975 | have incl_inj : Injective incl := map_injective injective_BPlus_Bmax |
| 976 | -- An element fixing the chart comes from `Γ`; the factor `r` is `E τ / g (E τ)`. |
| 977 | obtain ⟨g, rfl⟩ : ∃ g' : Γ, toGp g' = g := hc g hg |
| 978 | obtain ⟨r, hr⟩ : ∃ r : Ainfˣ, toGp g • c.E.val * toGp g • tau * r = c.E.val * tau := |
| 979 | (c.associated_smul_E (toGp g)).symm.mul_mul associated_smul_tau |
| 980 | have h_act : incl (toGp g • U) = |
| 981 | (toGp g • c.E.val * toGp g • tau) ^ a • matrixAction (1, toGp g) M.val := |
| 982 | map_smul_eq_pow_smul_matrixAction a hU (1, toGp g) |
| 983 | have h_incl : |
| 984 | incl ((r.val ^ a • (repMatrix ρ e g).map (↑) : Matrix ι ι Ainf).map Chart.ainfToBPlus) = |
| 985 | r.val ^ a • (repMatrix ρ e g).map (algebraMap ℤ_[p] Bmax) := by |
| 986 | ext i j |
| 987 | simp [incl, Matrix.smul_apply, smul_def (A := Bmax), ← IsScalarTower.algebraMap_apply] |
| 988 | refine ⟨r.val ^ a • (repMatrix ρ e g).map (↑), incl_inj ?_⟩ |
| 989 | rw [map_mul, h_act, hU, h_incl, smul_mul_smul, ← mul_pow, mul_comm, hr, |
| 990 | show (repMatrix ρ e g).map (↑) * matrixAction (1, toGp g) M.val = M.val from hM g] |
| 991 | -- the two sides agree up to unfolding instances |
| 992 | rfl |
| 993 | |
| 994 | /-- Let `c` be a chart of `𝒥.toGp : Γ → G_p` (`hc`), let `M` over `Bmax` have invariant columns in |
| 995 | the basis `e`, let `U` over `BPlus` be `(E τ) ^ a M`, let the map of matrices over `BPlus` to |
| 996 | matrices over `Bmax` be injective (`h_inj`) and let `v = μ / (E τ)`. Then |
| 997 | `φ U = v ^ a • (U * F)` for a matrix `F` with entries in `c.bicommutant` that has a left inverse: |
| 998 | `F` is `(φ E) ^ a` times the transition matrix `M⁻¹ φ M`. -/ |
| 999 | private lemma IsChartOf.exists_frob_of_hasInvariantColumns (hc : IsChartOf c 𝒥.toGp) |
| 1000 | {e : Basis ι ℤ_[p] T} {M : GL ι Bmax} (hM : HasInvariantColumns ρ e M.val) |
| 1001 | {U : Matrix ι ι BPlus} (hU : (ofId BPlus Bmax).mapMatrix U = (c.E * tau) ^ a • M.val) |
| 1002 | (h_inj : Injective |
| 1003 | ((ofId BPlus Bmax).mapMatrix : Matrix ι ι BPlus →ₐ[BPlus] Matrix ι ι Bmax)) |
| 1004 | {v : Ainfˣ} (hv : c.E * tau * v = mu) : |
| 1005 | ∃ F F' : Matrix ι ι BPlus, (∀ i j : ι, F i j ∈ c.bicommutant) ∧ |
| 1006 | F' * F = 1 ∧ U.map frobEnd = v ^ a • (U * F) := by |
| 1007 | let incl : Matrix ι ι BPlus →ₐ[BPlus] Matrix ι ι Bmax := (ofId BPlus Bmax).mapMatrix |
| 1008 | have incl_inj : Injective incl := h_inj |
| 1009 | replace hU : incl U = (c.E * tau) ^ a • M.val := hU |
| 1010 | obtain ⟨w, hw_mem, hw⟩ : ∃ w ∈ c.bicommutant, w * Chart.ainfToBPlus (c.φ c.E) = 1 := |
| 1011 | c.exists_bicommutant_mul_phi_E_eq_one |
| 1012 | -- The Frobenius matrix of `U` is `φ E ^ a • X`, with `X = M⁻¹ φ M` and left inverse |
| 1013 | -- `w ^ a • X'`. |
| 1014 | obtain ⟨X, hX_mem, hX⟩ : |
| 1015 | ∃ X : Matrix ι ι BPlus, (∀ i l : ι, X i l ∈ c.bicommutant) ∧ |
| 1016 | incl X = M.val⁻¹ * (frobTwist 1 M).val := |
| 1017 | hc.exists_transition_matrix hM (hM.frobTwist 1) |
| 1018 | obtain ⟨X', -, hX'⟩ : |
| 1019 | ∃ X' : Matrix ι ι BPlus, (∀ i l : ι, X' i l ∈ c.bicommutant) ∧ |
| 1020 | incl X' = (frobTwist 1 M).val⁻¹ * M.val := |
| 1021 | hc.exists_transition_matrix (hM.frobTwist 1) hM |
| 1022 | have hX'X : X' * X = 1 := incl_inj <| by |
| 1023 | rw [map_mul, map_one, hX, hX', mul_assoc, mul_nonsing_inv_cancel_left _ _ (isUnits_det_units M), |
| 1024 | nonsing_inv_mul _ (isUnits_det_units _)] |
| 1025 | refine ⟨Chart.ainfToBPlus (c.φ c.E) ^ a • X, w ^ a • X', ?_, ?_, incl_inj ?_⟩ |
| 1026 | · simp [hX_mem, mul_mem, pow_mem] |
| 1027 | · rw [smul_mul_smul, ← mul_pow, hw, hX'X, one_pow, one_smul] |
| 1028 | · -- `φ (E τ) = φ E * μ = φ E * v * E τ` |
| 1029 | refine (map_smul_eq_pow_smul_matrixAction a hU _).trans ?_ |
| 1030 | -- both sides are `(φ E · E τ v) ^ a` times `φ M` |
| 1031 | suffices h : (frobEnd c.E.val * (c.E.val * (tau * v.val))) ^ a • |
| 1032 | matrixAction (.ofAdd 1, 1) M.val = |
| 1033 | v.val ^ a • Chart.ainfToBPlus (frobEnd c.E.val) ^ a • (c.E.val * tau) ^ a • |
| 1034 | matrixAction (.ofAdd 1, 1) M.val by |
| 1035 | simpa [Units.smul_def, hU, hX, ← hv, φ, FrobGal.smul_def, mul_assoc, |
| 1036 | AlgHom.map_smul_of_tower] using h |
| 1037 | module |
| 1038 | |
| 1039 | /-- Let `c` be a chart of `𝒥.toGp : Γ → G_p` (`hc`), let `ρ` be crystalline with Hodge–Tate jumps at |
| 1040 | the identity embedding in `[-a, b]`, and let `e` be a `ℤ_p`-basis of `T`. Then there are an |
| 1041 | invertible matrix `M` over `Bmax`, whose columns (in the basis `e`) are invariant under |
| 1042 | `toGp g ⊗ ρ g` for all `g`, and a unit `v = μ / (E τ)` of `Ainf`. With these, `U = (E τ) ^ a M` is a |
| 1043 | period matrix of `ρ` over `BPlus` of height `a + b` with Frobenius factor `v ^ a` |
| 1044 | (`IsPeriodMatrixOf`). |
| 1045 | |
| 1046 | This does part of the work usually done by Kisin's theorem on the module attached to a crystalline |
| 1047 | lattice: it supplies only a period matrix over `B⁺` for jumps in `[-a, b]`, not the Frobenius-stable |
| 1048 | submodule itself. -/ |
| 1049 | lemma IsChartOf.exists_isPeriodMatrixOf (hc : IsChartOf c 𝒥.toGp) (h : IsCrystalline ρ) |
| 1050 | (e : Basis ι ℤ_[p] T) |
| 1051 | (hab : ∀ k : ℤ, jump ρ (ofId ℤ_[p] ℂ_[p]) k ≠ 0 → -(a : ℤ) ≤ k ∧ k ≤ (b : ℤ)) : |
| 1052 | ∃ (M : GL ι Bmax) (U : Matrix ι ι BPlus) (v : Ainfˣ), |
| 1053 | c.IsPeriodMatrixOf ρ a b e M.val U v := by |
| 1054 | -- Take `M` with invariant columns. Then `U = (E τ) ^ a M` and `U' = (E τ) ^ b M⁻¹` lie over |
| 1055 | -- `BPlus`, and it remains to check the four fields of `IsPeriodMatrix`. |
| 1056 | let incl : Matrix ι ι BPlus →ₐ[BPlus] Matrix ι ι Bmax := (ofId BPlus Bmax).mapMatrix |
| 1057 | have incl_inj : Injective incl := map_injective injective_BPlus_Bmax |
| 1058 | obtain ⟨v, hv⟩ : ∃ v : Ainfˣ, c.E * tau * v = mu := c.associated_E_mul_tau_mu |
| 1059 | obtain ⟨M, hM⟩ := h.exists_hasInvariantColumns e |
| 1060 | obtain ⟨⟨U, hU⟩, U', hU'⟩ : |
| 1061 | (∃ U : Matrix ι ι BPlus, incl U = (c.E * tau) ^ a • M.val) ∧ |
| 1062 | ∃ U' : Matrix ι ι BPlus, incl U' = (c.E * tau) ^ b • M.inv := |
| 1063 | c.exists_map_eq_pow_smul_of_hasInvariantColumns a b hM hab |
| 1064 | -- The four fields of `IsPeriodMatrix`, then those of `IsPeriodMatrixOf`. |
| 1065 | have h_exists_inv : ∃ W : Matrix ι ι BPlus, U * W = (c.E * tau) ^ (a + b) • 1 := |
| 1066 | ⟨U', incl_inj <| by simp [hU, hU', pow_add, mul_comm, smul_smul, AlgHom.map_smul_of_tower]⟩ |
| 1067 | exact ⟨M, U, v, |
| 1068 | { hasInvariantColumns := hM |
| 1069 | E_mul_tau_mul := hv |
| 1070 | isPeriodMatrix := |
| 1071 | { exists_mul_eq_smul_one := h_exists_inv |
| 1072 | exists_frob := IsChartOf.exists_frob_of_hasInvariantColumns a hc hM hU incl_inj hv |
| 1073 | exists_gal := IsChartOf.exists_map_mul_smul_eq a hc hM hU |
| 1074 | extendToBPlus_stable := fun f y ↦ hc.exists_mulVec_extendToBPlus_eq_smul a hM hU f } |
| 1075 | map_eq_smul := hU }⟩ |
| 1076 | |
| 1077 | end New.Lift.Chart |