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 | public import New.Derivatives.FormalGroup.Resolution |
| 4 | public import New.Derivatives.Vacuum.IntegralVacuum |
| 5 | public import Lib.Adelic.AutomorphicForms.SmoothAlgebraicForms |
| 6 | import Lib.CM.Integrality.IsogenyIntegrality |
| 7 | import New.UpperBound.Seesaw.AdmissibleCombinations |
| 8 | |
| 9 | /-! |
| 10 | # Integrality of jets of theta products and stability of standard data |
| 11 | |
| 12 | This file proves two facts. Let `μ_i` be linear forms that are `d` times integral forms, and let `y` |
| 13 | be the parameter described below. Then the derivatives at `0` of a product of series `θ(μ_i z)`, |
| 14 | times an integral series in the `y(μ_i z)`, are integral. |
| 15 | Standard data of level `δ` are stable under the Heisenberg operators of finite points that `δ` |
| 16 | makes integral above `p`, and under the Weil operators of finite points that are integral above |
| 17 | `p`. An element of `ℂ_[p]` is integral if its norm is at most `1`. |
| 18 | |
| 19 | * `MvPolynomial.jetPairing`: the pairing `(Q(∂) F)(0)` of a polynomial `Q` with a power series `F`. |
| 20 | * `New.taylorVia ιₚ C.θ`: the Taylor series at `0` of the function `θ` of the CM lattice `C`, with |
| 21 | coefficients sent to `ℂ_[p]` by `ιₚ`; and `New.linearSeries c`, the linear form `∑ c_x z_x`. |
| 22 | * `New.CMLattice.multiSeriesRing`: the integral power series in the `y(μ_i z)`, where the parameter |
| 23 | `y` is the Taylor series of `C.translatedY`. |
| 24 | * `New.Parameters.integralAfter δ S`: the finite adelic vectors `x` with `δ x` integral at the |
| 25 | places in `S`. |
| 26 | * `New.Parameters.standardData V δ`: the module over `New.embValRing` spanned by the translates of |
| 27 | the integral vacuum by the points that `δ` makes integral above `p`. |
| 28 | |
| 29 | ## Main definitions and results |
| 30 | |
| 31 | * `New.CMLattice.jetRing`: the ring generated by the integral series in the `y(μ_i z)` and by the |
| 32 | `θ(μ_i z)` and `(-log θ)'(μ_i z)`. |
| 33 | * `New.Parameters.finHeisenbergOp_mem_standardData`: standard data of level `δ` are stable under the |
| 34 | Heisenberg operators of finite points that `δ` makes integral above `p`. |
| 35 | * `New.Parameters.omega_mem_standardData`: they are stable under the Weil operators of finite |
| 36 | points integral above `p`. |
| 37 | -/ |
| 38 | |
| 39 | @[expose] public section |
| 40 | |
| 41 | /-! |
| 42 | ## Integrality of the derivatives of products of copies of `θ` |
| 43 | |
| 44 | The series of `New.CMLattice.norm_jet_thetaProd_pow_mul_le_one` lies in the ring |
| 45 | `New.CMLattice.jetRing`. |
| 46 | -/ |
| 47 | |
| 48 | section ProductJetIntegrality |
| 49 | |
| 50 | open MvPolynomial (jetPairing jetPairing_monomial jetPairing_mul_X) |
| 51 | open MvPowerSeries |
| 52 | |
| 53 | namespace New |
| 54 | |
| 55 | /-- Let `S` be a ring of power series that is preserved by partial derivatives and whose elements |
| 56 | have integral constant terms, and let `φ : R →+* ℂ_[p]` have integral values. Then the jet |
| 57 | `(φ(Q)(∂) F)(0)` is integral for `F` in `S` and every polynomial `Q` over `R`. -/ |
| 58 | lemma norm_jet_le_one_of_pderiv_mem {p : ℕ} [Fact p.Prime] {X : Type} |
| 59 | {S : Subring (MvPowerSeries X ℂ_[p])} (h_const : ∀ F ∈ S, ‖constantCoeff F‖ ≤ 1) |
| 60 | (h_deriv : ∀ F ∈ S, ∀ x : X, pderiv x F ∈ S) |
| 61 | {R : Type} [CommRing R] {φ : R →+* ℂ_[p]} (hφ : ∀ a : R, ‖φ a‖ ≤ 1) (Q : MvPolynomial X R) |
| 62 | {F : MvPowerSeries X ℂ_[p]} (hF : F ∈ S) : ‖jetPairing (Q.map φ) F‖ ≤ 1 := by |
| 63 | induction Q using MvPolynomial.induction_on generalizing F with |
| 64 | | C a => |
| 65 | simpa [← MvPolynomial.monomial_zero', jetPairing_monomial] using |
| 66 | (mul_le_of_le_one_left (norm_nonneg _) (hφ a)).trans (h_const F hF) |
| 67 | | add Q Q' hQ hQ' => |
| 68 | rw [map_add, map_add, LinearMap.add_apply] |
| 69 | exact (IsUltrametricDist.norm_add_le_max _ _).trans (max_le (hQ hF) (hQ' hF)) |
| 70 | | mul_X Q x hQ => |
| 71 | rw [map_mul, MvPolynomial.map_X, jetPairing_mul_X] |
| 72 | exact hQ (h_deriv F hF x) |
| 73 | |
| 74 | namespace CMLattice |
| 75 | |
| 76 | variable {p : ℕ} [Fact p.Prime] {I X : Type} [Fintype I] [Fintype X] |
| 77 | {d : ℕ} (C : CMLattice d) [PadicPlace p] |
| 78 | |
| 79 | /-- Let `C` be a CM lattice for a prime `d ≡ 7` modulo `8`, with `2`-torsion point `t`, and fix a |
| 80 | `p`-adic place `ιₚ` of `ℂ`. Let `θ` be the twisted translate of the sigma function of `C` by `t`, |
| 81 | normalised to `θ(0) = 1`, and let `g = -log θ` (`negLogTheta`), a power series over `ℂ_[p]`. Let `y` |
| 82 | be the Taylor series at `0`, read in `ℂ_[p]` through `ιₚ`, of the function `C.translatedY`. Then |
| 83 | `d g''` lies in `integralSeriesRing`, the ring of power series in `y` with coefficients of norm at |
| 84 | most `1`. -/ |
| 85 | lemma smul_derivative_derivative_negLogTheta_mem [PrimeSevenModEight d] : |
| 86 | (d : ℂ_[p]) • PowerSeries.derivative (PowerSeries.derivative C.negLogTheta) ∈ |
| 87 | C.integralSeriesRing := by |
| 88 | -- Multiplication by `√-d` maps the lattice to itself, so `√-d` is integral. |
| 89 | have h_sqrt : ‖ιₚ (.I * √d)‖ ≤ 1 := |
| 90 | C.norm_le_one_of_mapsTo_lattice (C.mul_mem_of_quadInt (I_mul_sqrt_mem_quadInt d)) |
| 91 | have hd : (d : ℂ_[p]) = -ιₚ (.I * √d) * ιₚ (.I * √d) := by |
| 92 | rw [neg_mul, ← sq, map_I_mul_sqrt_sq, neg_neg] |
| 93 | have h_const : ‖(d : ℂ_[p]) * (2 * PowerSeries.coeff 2 C.negLogTheta)‖ ≤ 1 := by |
| 94 | rw [hd, mul_assoc, norm_mul, norm_neg] |
| 95 | exact (mul_le_of_le_one_left (norm_nonneg _) h_sqrt).trans |
| 96 | C.norm_sqrt_mul_coeff_two_negLogTheta_le_one |
| 97 | have h_eq : (d : ℂ_[p]) • |
| 98 | PowerSeries.derivative (PowerSeries.derivative C.negLogTheta) = |
| 99 | ((d : ℂ_[p]) * (2 * PowerSeries.coeff 2 C.negLogTheta)) • (1 : PowerSeries ℂ_[p]) + |
| 100 | (d : ℂ_[p]) • taylorVia ιₚ C.translatedX := by |
| 101 | simp [derivative_derivative_negLogTheta, PowerSeries.smul_eq_C_mul] |
| 102 | rw [h_eq] |
| 103 | exact add_mem (C.isSeriesGenerator_translatedY.smul_mem h_const (one_mem _)) |
| 104 | (C.isSeriesGenerator_translatedY.smul_mem (IsUltrametricDist.norm_natCast_le_one _ d) |
| 105 | C.taylorVia_translatedX_mem_integralSeriesRing) |
| 106 | |
| 107 | /-- For a family of linear forms `μ_i`, the ring generated by `multiSeriesRing`, the integral power |
| 108 | series in the `y(μ_i z)`, and by the `θ(μ_i z)` and `g'(μ_i z)`, where `g = -log θ`. Here `y` is the |
| 109 | Taylor series of `C.translatedY`, the function `(℘'(z + t) - a₁ (℘(z + t) - ℘(t))) / 2` for the |
| 110 | `2`-torsion point `t` of `C` and the square root `a₁` of `12 ℘(t)`. -/ |
| 111 | noncomputable def jetRing (μ : I → X → ℂ_[p]) : Subring (MvPowerSeries X ℂ_[p]) := |
| 112 | .closure (C.multiSeriesRing μ ∪ |
| 113 | (Set.range fun i : I ↦ (taylorVia ιₚ C.θ).subst (linearSeries (μ i))) ∪ |
| 114 | Set.range fun i : I ↦ (PowerSeries.derivative C.negLogTheta).subst (linearSeries (μ i))) |
| 115 | |
| 116 | section Generators |
| 117 | |
| 118 | variable {μ : I → X → ℂ_[p]} {F : MvPowerSeries X ℂ_[p]} |
| 119 | |
| 120 | /-- The integral series in the `y(μ_i z)` lie in `jetRing`. -/ |
| 121 | lemma mem_jetRing_of_mem_multiSeriesRing (hF : F ∈ C.multiSeriesRing μ) : F ∈ C.jetRing μ := |
| 122 | Subring.subset_closure (.inl (.inl hF)) |
| 123 | |
| 124 | /-- The series `θ(μ_i z)` lies in `jetRing`. -/ |
| 125 | lemma theta_mem_jetRing (i : I) : |
| 126 | (taylorVia ιₚ C.θ).subst (linearSeries (μ i)) ∈ C.jetRing μ := |
| 127 | Subring.subset_closure (.inl (.inr ⟨i, rfl⟩)) |
| 128 | |
| 129 | /-- The series `g'(μ_i z)`, where `g = -log θ`, lies in `jetRing`. -/ |
| 130 | lemma derivative_negLogTheta_mem_jetRing (i : I) : |
| 131 | (PowerSeries.derivative C.negLogTheta).subst (linearSeries (μ i)) ∈ C.jetRing μ := |
| 132 | Subring.subset_closure (.inr ⟨i, rfl⟩) |
| 133 | |
| 134 | /-- The ring `jetRing` is stable under multiplication by integral constants. -/ |
| 135 | lemma smul_mem_jetRing {c : ℂ_[p]} (hc : ‖c‖ ≤ 1) (hF : F ∈ C.jetRing μ) : |
| 136 | c • F ∈ C.jetRing μ := by |
| 137 | rw [smul_eq_C_mul] |
| 138 | exact mul_mem (C.mem_jetRing_of_mem_multiSeriesRing (C.C_mem_multiSeriesRing hc)) hF |
| 139 | |
| 140 | /-- The product `∏ θ(μ_i z) ^ m i` lies in `jetRing`. -/ |
| 141 | lemma thetaProd_mem_jetRing (m : I → ℕ) : C.thetaProd μ m ∈ C.jetRing μ := |
| 142 | prod_mem fun i _ ↦ pow_mem (C.theta_mem_jetRing i) (m i) |
| 143 | |
| 144 | end Generators |
| 145 | |
| 146 | /-- Let `C` be a CM lattice, and let `θ` and `y` be the Taylor series at `0` of `C.θ` and of |
| 147 | `C.translatedY`, read in `ℂ_[p]` through `ιₚ`. Let `μ_i z = ∑ μ i x * z_x` be linear forms, for |
| 148 | `i : I` and `x : X`. The ring `C.jetRing μ` is generated by the integral power series in the |
| 149 | `y(μ_i z)` and by the `θ(μ_i z)` and `(-log θ)'(μ_i z)`. Its elements have constant term of norm at |
| 150 | most `1`, because `y(0) = 0`, `θ(0) = 1` and `(-log θ)'(0) = 0`. -/ |
| 151 | lemma norm_constantCoeff_le_of_mem_jetRing {μ : I → X → ℂ_[p]} {F : MvPowerSeries X ℂ_[p]} |
| 152 | (hF : F ∈ C.jetRing μ) : ‖constantCoeff F‖ ≤ 1 := by |
| 153 | suffices h_le : C.jetRing μ ≤ (valRingCp p).comap constantCoeff from h_le hF |
| 154 | rw [jetRing, Subring.closure_le] |
| 155 | rintro G ((hG | ⟨i, rfl⟩) | ⟨i, rfl⟩) |
| 156 | · exact C.norm_constantCoeff_le_of_mem_multiSeriesRing hG |
| 157 | · simp [PowerSeries.constantCoeff_subst_of_constantCoeff_zero, constantCoeff_linearSeries] |
| 158 | · -- The constant term of `g'` is the coefficient of `z` in `g`, which vanishes. |
| 159 | simp [PowerSeries.constantCoeff_subst_of_constantCoeff_zero, constantCoeff_linearSeries, |
| 160 | PowerSeries.coeff_derivative, |
| 161 | ← PowerSeries.coeff_zero_eq_constantCoeff_apply, coeff_one_negLogTheta] |
| 162 | |
| 163 | variable [PrimeSevenModEight d] |
| 164 | |
| 165 | /-- Let `C` be a CM lattice for a prime `d ≡ 7` modulo `8`, with `2`-torsion point `t`. Let the |
| 166 | linear forms `μ_i = d ν_i` be `d` times forms `ν_i` with coefficients of norm at most `1`. If `F` |
| 167 | lies in `jetRing`, then so does each partial derivative `pderiv x F`. -/ |
| 168 | lemma pderiv_mem_jetRing {F : MvPowerSeries X ℂ_[p]} {ν : I → X → ℂ_[p]} |
| 169 | (hν : ∀ (i : I) (x : X), ‖ν i x‖ ≤ 1) (hF : F ∈ C.jetRing ((d : ℂ_[p]) • ν)) (x : X) : |
| 170 | pderiv x F ∈ C.jetRing ((d : ℂ_[p]) • ν) := by |
| 171 | set μ : I → X → ℂ_[p] := (d : ℂ_[p]) • ν |
| 172 | have hμ (i : I) (x : X) : μ i x = ν i x * d := mul_comm _ _ |
| 173 | have h_int (i : I) (x : X) : ‖μ i x‖ ≤ 1 := by |
| 174 | simpa [hμ] using (mul_le_of_le_one_left (norm_nonneg _) (hν i x)).trans |
| 175 | (IsUltrametricDist.norm_natCast_le_one ℂ_[p] d) |
| 176 | induction hF using Subring.closure_induction with |
| 177 | | mem G hG => |
| 178 | obtain (hG | ⟨i, rfl⟩) | ⟨i, rfl⟩ := hG |
| 179 | · exact C.mem_jetRing_of_mem_multiSeriesRing (C.pderiv_mem_multiSeriesRing h_int hG x) |
| 180 | · -- With `g = -log θ` one has `θ' = -θ g'`. |
| 181 | have h_eq : pderiv x ((taylorVia ιₚ C.θ).subst (linearSeries (μ i))) = |
| 182 | μ i x • -((taylorVia ιₚ C.θ).subst (linearSeries (μ i)) * |
| 183 | (PowerSeries.derivative C.negLogTheta).subst (linearSeries (μ i))) := by |
| 184 | rw [pderiv_subst_linearSeries, derivative_taylorVia_theta, |
| 185 | ← PowerSeries.coe_substAlgHom (hasSubst_linearSeries _), map_neg, map_mul] |
| 186 | rw [h_eq] |
| 187 | exact C.smul_mem_jetRing (h_int i x) |
| 188 | (neg_mem (mul_mem (C.theta_mem_jetRing i) (C.derivative_negLogTheta_mem_jetRing i))) |
| 189 | · -- The derivative is `ν_i x` times `(d g'')(μ_i z)`: the factor `d` of the linear form clears |
| 190 | -- the denominator of `g''`. |
| 191 | rw [pderiv_subst_linearSeries, hμ i x, mul_smul, |
| 192 | ← PowerSeries.subst_smul (hasSubst_linearSeries _)] |
| 193 | exact C.smul_mem_jetRing (hν i x) (C.mem_jetRing_of_mem_multiSeriesRing |
| 194 | (subst_mem_multiSeriesRing μ C.smul_derivative_derivative_negLogTheta_mem i)) |
| 195 | | zero => simp |
| 196 | | one => simp |
| 197 | | add G G' _ _ hG hG' => simpa using add_mem hG hG' |
| 198 | | neg G _ hG => simpa using neg_mem hG |
| 199 | | mul G G' hG_mem hG'_mem hG hG' => |
| 200 | rw [Derivation.leibniz] |
| 201 | exact add_mem (mul_mem hG_mem hG') (mul_mem hG'_mem hG) |
| 202 | |
| 203 | /-- Let `C` be a CM lattice for a prime `d ≡ 7` modulo `8`, with `2`-torsion point `t`. Let `θ` and |
| 204 | `y` be the Taylor series at `0`, read in `ℂ_[p]` through `ιₚ`, of `C.θ` and of `C.translatedY`. Let |
| 205 | the linear forms `μ_i = d ν_i` be `d` times forms `ν_i` with integral coefficients, and let `H` be |
| 206 | an integral series in the `y(μ_i z)`. If `φ : R →+* ℂ_[p]` has integral values, then the jet |
| 207 | `(φ(Q)(∂) F)(0)` of `F = (∏ θ(μ_i z) ^ m i) ^ N * H` is integral for every polynomial `Q` over |
| 208 | `R`. -/ |
| 209 | lemma norm_jet_thetaProd_pow_mul_le_one {ν : I → X → ℂ_[p]} |
| 210 | (hν : ∀ (i : I) (x : X), ‖ν i x‖ ≤ 1) (m : I → ℕ) (N : ℕ) |
| 211 | {H : MvPowerSeries X ℂ_[p]} (hH : H ∈ C.multiSeriesRing ((d : ℂ_[p]) • ν)) |
| 212 | {R : Type} [CommRing R] {φ : R →+* ℂ_[p]} (hφ : ∀ a : R, ‖φ a‖ ≤ 1) (Q : MvPolynomial X R) : |
| 213 | ‖jetPairing (Q.map φ) (C.thetaProd ((d : ℂ_[p]) • ν) m ^ N * H)‖ ≤ 1 := |
| 214 | norm_jet_le_one_of_pderiv_mem (fun _ ↦ C.norm_constantCoeff_le_of_mem_jetRing) |
| 215 | (fun _ ↦ C.pderiv_mem_jetRing hν) hφ Q |
| 216 | (mul_mem (pow_mem (C.thetaProd_mem_jetRing m) N) (C.mem_jetRing_of_mem_multiSeriesRing hH)) |
| 217 | |
| 218 | end CMLattice |
| 219 | |
| 220 | end New |
| 221 | |
| 222 | end ProductJetIntegrality |
| 223 | |
| 224 | /-! ## Stability of standard data -/ |
| 225 | |
| 226 | namespace New.Parameters |
| 227 | |
| 228 | open Finset Complex Matrix Space Submodule NumberField |
| 229 | |
| 230 | variable {P : Parameters} {s : ℕ} {n : Type} {δ : 𝓞 P.K} |
| 231 | |
| 232 | /-- The standard lattice `Ôⁿ` is contained in `integralAfter δ S`: its vectors stay integral at the |
| 233 | places of `S` after multiplication by the integer `δ`. -/ |
| 234 | lemma integralAfter.stdLattice_le {S : FinPlace (P.E s) → Prop} : |
| 235 | stdLattice (P.E s) n ≤ integralAfter δ S := by |
| 236 | intro x hx i w _ |
| 237 | exact mem_Ô.1 (mul_mem (coe_mem_Ô (algebraMap (𝓞 P.K) (𝓞 (P.E s)) δ)) (hx i)) w |
| 238 | |
| 239 | variable [Fintype n] [DecidableEq n] {ε : n → ℤˣ} {V : Space (P.E s) n ε} {p : ℕ} [Fact p.Prime] |
| 240 | [PadicPlace p] {f : 𝒮 V} |
| 241 | |
| 242 | /-- Standard data are a submodule of the space `𝒮 V` of the Weil representation of the hermitian |
| 243 | space `V` over `embValRing`, the ring of complex numbers whose image under `ιₚ` has norm at most |
| 244 | `1`. So they are stable under multiplication by such numbers. -/ |
| 245 | lemma smul_mem_standardData_of_norm_le_one {c : ℂ} (hc : ‖ιₚ c‖ ≤ 1) |
| 246 | (hf : f ∈ standardData V δ) : c • f ∈ standardData V δ := |
| 247 | smul_mem _ (⟨c, hc⟩ : embValRing) hf |
| 248 | |
| 249 | /-- Let `V` be a hermitian space over the cyclotomic extension `P.E s` of the imaginary quadratic |
| 250 | field `P.K`, and let `δ` be an integer of `P.K`. The integral vacuum `intVacuum V` is the vacuum |
| 251 | vector of `𝒮 V` times the power `vacuumScale ^ card n` of a fixed nonzero scalar. Its translate by |
| 252 | the Heisenberg operator of a finite adelic vector `x` with `δ x` integral above `p` is one of the |
| 253 | generators of the standard data of level `δ`. -/ |
| 254 | lemma finHeisenbergOp_intVacuum_mem_standardData {x : n → 𝔸f (P.E s)} |
| 255 | (hx : x ∈ integralAfter δ fun w : FinPlace (P.E s) ↦ ↑p ∈ w.asIdeal) : |
| 256 | V.finHeisenbergOp x (intVacuum V) ∈ standardData V δ := |
| 257 | subset_span ⟨x, hx, rfl⟩ |
| 258 | |
| 259 | /-- The standard data `standardData V δ` are the span of the translates of the integral vacuum by |
| 260 | the points that `δ` makes integral above `p`. The integral vacuum is the vacuum of `𝒮 V` times |
| 261 | `vacuumScale ^ card n`. These data are stable under the Heisenberg operator `V.finHeisenbergOp x` of |
| 262 | a finite adelic vector `x` such that `δ x` is integral at the places above `p`. -/ |
| 263 | lemma finHeisenbergOp_mem_standardData {x : n → 𝔸f (P.E s)} |
| 264 | (hx : x ∈ integralAfter δ fun w : FinPlace (P.E s) ↦ ↑p ∈ w.asIdeal) |
| 265 | (hf : f ∈ standardData V δ) : V.finHeisenbergOp x f ∈ standardData V δ := by |
| 266 | induction hf using span_induction with |
| 267 | | mem _ h_gen => |
| 268 | -- The operators of `x` and `y` compose to that of `x + y` up to a root of unity. |
| 269 | obtain ⟨y, hy, rfl⟩ := h_gen |
| 270 | rw [finHeisenbergOp_finHeisenbergOp] |
| 271 | exact smul_mem_standardData_of_norm_le_one (norm_map_selfDualAddChar ιₚ _).le |
| 272 | (finHeisenbergOp_intVacuum_mem_standardData (add_mem hx hy)) |
| 273 | | zero => simp |
| 274 | | add f f' _ _ hf hf' => simpa using add_mem hf hf' |
| 275 | | smul c f _ hf => simpa using smul_mem _ c hf |
| 276 | |
| 277 | omit [Fact p.Prime] [PadicPlace p] in |
| 278 | /-- Let `g` be a finite unitary point in `integralAbove n p`, that is, integral at the places above |
| 279 | `p`. If `δ x` is integral above `p`, then so is `δ g x`. -/ |
| 280 | lemma mulVec_mem_integralAfter {g : Gf (P.E s) n} (hg : g ∈ integralAbove n p) |
| 281 | {x : n → 𝔸f (P.E s)} (hx : x ∈ integralAfter δ fun w : FinPlace (P.E s) ↦ ↑p ∈ w.asIdeal) : |
| 282 | (g : Matrix n n (𝔸f (P.E s))) *ᵥ x ∈ |
| 283 | integralAfter δ fun w : FinPlace (P.E s) ↦ ↑p ∈ w.asIdeal := by |
| 284 | intro i w hw |
| 285 | -- At the place `w`, the vector `δ g x` is the integral matrix `g` applied to `δ x`. |
| 286 | let a : 𝔸f (P.E s) := algebraMap (P.E s) (𝔸f (P.E s)) (algebraMap P.K (P.E s) δ) |
| 287 | have h_eq : evalAt w (a * ((g : Matrix n n (𝔸f (P.E s))) *ᵥ x) i) = |
| 288 | ((Gf.atPlace w g).val *ᵥ fun j : n ↦ evalAt w (a * x j)) i := by |
| 289 | have h_entry (j : n) : |
| 290 | (Gf.atPlace w g).val i j = evalAt w ((g : Matrix n n (𝔸f (P.E s))) i j) := rfl |
| 291 | simp [mulVec, dotProduct, mul_sum, mul_left_comm a, h_entry] |
| 292 | rw [h_eq] |
| 293 | exact (mulVec_mem_intVectors_iff (hg w hw)).2 (fun j ↦ hx j w hw) i |
| 294 | |
| 295 | /-- The Weil operator `ω(1, g)` takes the translate by `x` of the integral vacuum `intVacuum V` to |
| 296 | `(finMultiplier g⁻¹)⁻¹` times the translate by `g x` of the sum of the translates of the integral |
| 297 | vacuum by the `g y`, where `y` runs over integral vectors modulo those that `g` keeps integral. Here |
| 298 | `finMultiplier` is the finite part of the scalar factor `weilMultiplier` in the definition of the |
| 299 | Weil operators. -/ |
| 300 | lemma omega_finHeisenbergOp_intVacuum (g : Gf (P.E s) n) (x : n → 𝔸f (P.E s)) : |
| 301 | let L : AddSubgroup (n → 𝔸f (P.E s)) := stdLattice (P.E s) n |
| 302 | let M : Matrix n n (𝔸f (P.E s)) := g |
| 303 | V.ω (1, g) (V.finHeisenbergOp x (intVacuum V)) = |
| 304 | (finMultiplier g⁻¹)⁻¹ • V.finHeisenbergOp (M *ᵥ x) |
| 305 | (∑ᶠ y : L ⧸ (L.comap M.mulVecLin).addSubgroupOf L, |
| 306 | V.finHeisenbergOp (M *ᵥ y.out.val) (intVacuum V)) := by |
| 307 | have h_coeff : finMultiplier g / (‖finMultiplier g‖ : ℂ) ^ 2 = (finMultiplier g⁻¹)⁻¹ := by |
| 308 | rw [finMultiplier_inv, ← mul_conj', div_mul_cancel_left₀ (finMultiplier_ne_zero g)] |
| 309 | simp [← h_coeff, intVacuum, omega_vacElem_sum, ← smul_finsum, |
| 310 | smul_comm (P.vacuumScale s ^ Fintype.card n)] |
| 311 | |
| 312 | /-- Standard data of level `δ` are stable under the Weil operator `ω(1, g)` of a finite unitary |
| 313 | point `g` in `integralAbove n p`. -/ |
| 314 | lemma omega_mem_standardData {g : Gf (P.E s) n} (hg : g ∈ integralAbove n p) |
| 315 | (hf : f ∈ standardData V δ) : V.ω (1, g) f ∈ standardData V δ := by |
| 316 | induction hf using span_induction with |
| 317 | | mem _ h_gen => |
| 318 | obtain ⟨x, hx, rfl⟩ := h_gen |
| 319 | -- The image is a multiple of the translate by `g x` of a sum of translates of the vacuum by the |
| 320 | -- `g y`, with `y` integral. The factor is a unit, as `g⁻¹` is integral above `p` too. |
| 321 | have h_unit : ‖ιₚ (finMultiplier g⁻¹)⁻¹‖ = 1 := by |
| 322 | simp [norm_finMultiplier_eq_one (inv_mem hg)] |
| 323 | rw [omega_finHeisenbergOp_intVacuum] |
| 324 | refine smul_mem_standardData_of_norm_le_one h_unit.le |
| 325 | (finHeisenbergOp_mem_standardData (mulVec_mem_integralAfter hg hx) ?_) |
| 326 | exact finsum_induction (· ∈ standardData V δ) (zero_mem _) (fun _ _ ↦ add_mem) fun y ↦ |
| 327 | finHeisenbergOp_intVacuum_mem_standardData |
| 328 | (mulVec_mem_integralAfter hg (integralAfter.stdLattice_le y.out.property)) |
| 329 | | zero => simp |
| 330 | | add f f' _ _ hf hf' => simpa using add_mem hf hf' |
| 331 | | smul c f _ hf => simpa using smul_mem _ c hf |
| 332 | |
| 333 | end New.Parameters |