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.Tactic.PNatToNat |
| 4 | import TauCeti.Analysis.Normed.Ring.Ultra |
| 5 | public import New.Derivatives.Vacuum.TightFrames |
| 6 | import Lib.Adelic.Adeles.StrongApproximation |
| 7 | import Lib.CM.ChowlaSelberg |
| 8 | import Lib.CM.FiniteLattices |
| 9 | import Lib.Weil.Construction.CanonicalTheta |
| 10 | import Lib.Weil.Construction.FourierInversion |
| 11 | |
| 12 | /-! |
| 13 | # The integral vacuum θ°: integrality and bounds of its values, standard data at p |
| 14 | |
| 15 | Fix the parameters `P`, the field `E = P.E s` and a hermitian space `V` of rank `n` over it. The |
| 16 | integral vacuum θ° = `New.Parameters.intVacuum` is the vacuum scaled by `vacuumScale ^ n`. The |
| 17 | factor `New.Parameters.vacuumScale` is provided by |
| 18 | `New.Parameters.exists_mul_vacElem_integral_bounded` for the standard space of rank one. To obtain |
| 19 | it, a multiple of the vacuum is written as a sum of translates of one vector. For a standard space, |
| 20 | the values of θ° at the points `New.finVec x` are integral at every prime, have bounded conjugates, |
| 21 | and are not all zero. A vector `f` is read as the function `f y = θ(ϱ(y) f)` of adelic vectors `y`. |
| 22 | |
| 23 | ## Main definitions and results |
| 24 | |
| 25 | * `New.Parameters.IsThetaProduct`, `New.Parameters.exists_isThetaProduct`: a vector whose theta |
| 26 | function is the product of theta functions of a CM lattice along the resolution of powers of `ζ`, |
| 27 | that is, along the vectors `ζᵏ / q₁`, `k < q₁`, which form a tight frame of `E` over `K`. |
| 28 | * `New.Parameters.standardData V δ`: the module of standard data at a prime `p`. Its scalars are the |
| 29 | complex numbers that the `p`-adic place sends to integers, and it is spanned by the translates |
| 30 | `V.finHeisenbergOp x θ°`, for the `x` with `δ x` integral above `p`. |
| 31 | * `New.Parameters.norm_intVacuum_le_one`: the values of θ° at the points `New.finVec x` are integral |
| 32 | at every prime. |
| 33 | * `New.Parameters.norm_ringEquiv_intVacuum_le`: their conjugates under the automorphisms of `ℂ` are |
| 34 | bounded; `New.Parameters.norm_gal_intVacuum_le` is the case of automorphisms over `K`. |
| 35 | * `New.Parameters.norm_dataInner_self_le`: a bound for `f` at these points bounds its squared norm |
| 36 | `New.Space.dataInner f f`, the mean of `|f y| ^ 2` over adelic vectors modulo rational ones. |
| 37 | * `New.Parameters.exists_isJetConjugate_translates`: the conjugates of the jets of the translates of |
| 38 | one vector that generates the finite part. |
| 39 | |
| 40 | Notions from other files: |
| 41 | * `New.Parameters`: The fixed parameters: a multiple `q₀` of `18480 = 16 · 3 · 5 · 7 · 11` and a |
| 42 | prime `d` with `d ≡ q₀/2 - 1 mod q₀`. |
| 43 | * `New.Parameters.E`: The field E = K(ζ) obtained from K = ℚ(√-d) by adjoining a primitive root of |
| 44 | unity ζ of order `P.q₁ s`. |
| 45 | * `New.Space`: a hermitian space with a point, given by a matrix J over E and x in GL_n(𝔸) with xᴴJx |
| 46 | equal to the diagonal matrix of its signs at the infinite places and 1 at the finite places. |
| 47 | * `New.Space.vacElem`: The vacuum: the product of the Gaussian and a twisted indicator of a lattice, |
| 48 | as an element of 𝒮(V). |
| 49 | * `New.Space.IsStd`: The space `V` is standard: all its signs are `+1` and its point is the identity |
| 50 | matrix. |
| 51 | -/ |
| 52 | |
| 53 | @[expose] public section |
| 54 | |
| 55 | noncomputable section |
| 56 | |
| 57 | namespace New.Parameters |
| 58 | |
| 59 | /-! ## The integral vacuum in rank one -/ |
| 60 | |
| 61 | section RankOne |
| 62 | |
| 63 | open Real NeZero Space CMLattice Finset Submodule MvPowerSeries Fintype Set Notation Pointwise |
| 64 | |
| 65 | /-- The theta function `θ` of the CM lattice `cmCurve` (the lattice `Ω₀ 𝓞_K`, `Ω₀ = cmPeriod`) is |
| 66 | the translate of its sigma function by a point of order two, normalised to `θ 0 = 1`. The twisted |
| 67 | translate `twistedTranslate 1 u θ`, of degree one, is `z ↦ exp (-π (z ū + |u|² / 2) / A) θ (z + u)`, |
| 68 | with `A` the area of the lattice. For the torsion points `u = x Ω₀`, `x ∈ K`, the conjugates over |
| 69 | `K` of its values at `z = 0` are bounded. -/ |
| 70 | lemma exists_norm_gal_torsion_value_le (P : Parameters) : ∃ M : ℝ, ∀ (σ : Gal(ℂ/K P)) (x : K P), |
| 71 | ‖σ (P.cmCurve.twistedTranslate 1 (x * P.cmPeriod) P.cmCurve.θ 0)‖ ≤ M := by |
| 72 | -- By complex multiplication they are torsion values for the conjugate lattices. |
| 73 | obtain ⟨M, hM⟩ := exists_norm_twistedTranslate_theta_le P.d |
| 74 | refine ⟨M, fun σ x ↦ ?_⟩ |
| 75 | obtain ⟨Ω, β, -, -, hβ⟩ := complex_multiplication_theta P.cmCurve σ latticeModule_cmCurve |
| 76 | -- For `x'` near `β x`, `σ` maps the Taylor series of the translate by `x cmPeriod` to that of the |
| 77 | -- translate by `x' Ω`; compare the constant terms. |
| 78 | obtain ⟨U, hU, h_translate⟩ := hβ x |
| 79 | obtain ⟨x', hx'⟩ := denseRange_algebraMap_finAdele.mem_nhds hU |
| 80 | have h_value : σ (P.cmCurve.twistedTranslate 1 (x * P.cmPeriod) P.cmCurve.θ 0) = |
| 81 | (P.cmCurve.galConjugate σ).twistedTranslate 1 (x' * Ω) (P.cmCurve.galConjugate σ).θ 0 := by |
| 82 | simpa using congrArg PowerSeries.constantCoeff (h_translate x' hx') |
| 83 | grw [h_value, hM] |
| 84 | |
| 85 | /-- Let `E` be a CM field with Weil data (the element `ȷ`, the idele `α` and the splitting character |
| 86 | that define the Weil representation), let `V` be standard and let `δ` be integral (in the finite |
| 87 | adelic integers `Ô E`) with `δ δ̄ = N ≠ 0`. Suppose that the theta functional `V.θ` takes the value |
| 88 | `1` at `F` and that `entireTheta F` is a theta function for `δ̄ 𝔞₀ⁿ`, that is, an entire function |
| 89 | fixed by the signed translations along `δ̄ 𝔞₀ⁿ`. Here `idealLattice E n = 𝔞₀ⁿ` is the lattice of |
| 90 | the rational vectors `γ` with `α⁻¹ γ` integral at all finite places. Then a nonzero multiple of the |
| 91 | vacuum is a sum of `N ^ (f n)` translates `finHeisenbergOp (a j) (ϱ(finVec b) F)`. Here `f` is the |
| 92 | number of infinite places, `n` the rank, `ϱ` the action of adelic vectors, and `finHeisenbergOp x` |
| 93 | is `ϱ(finVec x)` times the scalar `stdLattice.semichar x`. -/ |
| 94 | lemma exists_smul_vac_eq_sum {E n : Type} [Field E] [CMType E] [WeilData E] [Fintype n] |
| 95 | [DecidableEq n] {ε : n → ℤˣ} {V : Space E n ε} [V.IsStd] {δ : E} {N : ℕ} |
| 96 | (hδ : ↑δ ∈ Ô E) (hN_ne : N ≠ 0) (hN : δ * star δ = N) {F : 𝒮 V} |
| 97 | (hF : IsThetaFunction (star δ • idealLattice E n) (entireTheta F)) (hθ : V.θ F = 1) : |
| 98 | ∃ c ≠ (0 : ℂ), ∃ (Γ : Type) (_ : Fintype Γ) (a : Γ → n → 𝔸f E) (b : n → 𝔸f E), |
| 99 | card Γ = N ^ card (NumberField.InfinitePlace E × n) ∧ |
| 100 | c • V.vacElem = ∑ j : Γ, V.finHeisenbergOp (a j) (V.ϱ (finVec b) F) := by |
| 101 | obtain ⟨Y, Γ, _, _, y, γ, c, -, -, h_card, h_average, h_inversion⟩ := |
| 102 | V.exists_fourier_coefficients hδ hN_ne hN hF |
| 103 | -- `h_average`: each `c i • vacElem` is a sum of translates of `F`; `h_inversion`: `F` times a |
| 104 | -- power of `N` is the combination of translates of the vacuum with the coefficients `c i`. |
| 105 | -- As `θ F = 1`, some Fourier coefficient is nonzero. |
| 106 | obtain ⟨i, hi⟩ : ∃ i : Y, c i ≠ 0 := by |
| 107 | by_contra! h_zero |
| 108 | simpa [h_zero, hθ, hN_ne] using (congrArg V.θ h_inversion).symm |
| 109 | exact ⟨c i, hi, Γ, inferInstance, _, _, h_card, h_average i⟩ |
| 110 | |
| 111 | /-- The coordinate `-u† y ∈ K` of `y ∈ E` along the vector `u = ζᵏ / q₁` of the frame of powers of |
| 112 | `ζ`, that is minus the trace from `E` to `K` of `y * star ζᵏ`, divided by `q₁`. -/ |
| 113 | noncomputable def zetaCoord (P : Parameters) (s : ℕ) (k : Fin (P.q₁ s)) (y : P.E s) : K P := |
| 114 | -Algebra.trace P.K (P.E s) (y * star (P.ζ s ^ k.val)) / P.q₁ s |
| 115 | |
| 116 | /-- The coordinate along a vector of the frame commutes with multiplication by elements of `K`. -/ |
| 117 | lemma zetaCoord_smul {P : Parameters} {s : ℕ} (k : Fin (P.q₁ s)) (a : K P) (y : P.E s) : |
| 118 | P.zetaCoord s k (a • y) = a * P.zetaCoord s k y := by |
| 119 | simp [zetaCoord, mul_div_assoc'] |
| 120 | |
| 121 | section ThetaProduct |
| 122 | |
| 123 | variable {P : Parameters} {s : ℕ} {n : Type} [Fintype n] {ε : n → ℤˣ} |
| 124 | |
| 125 | /-- The twisted translate of the theta function of the CM lattice `C` by `Ω` times the coordinate |
| 126 | of `y ∈ E` along the vector `ζᵏ / q₁` of the frame of powers of `ζ`. -/ |
| 127 | def zetaCoordThetaTranslate (C : CMLattice P.d) (Ω : ℂˣ) (k : Fin (P.q₁ s)) (y : P.E s) : ℂ → ℂ := |
| 128 | C.twistedTranslate 1 (P.zetaCoord s k y * Ω) C.θ |
| 129 | |
| 130 | /-- The linear form along the frame vector `ζᵏ / q₁` in the coordinate `j`, for the period `Ω` and |
| 131 | the scale `c`: the power series `Ω / q₁ / areaScale * c * ∑ w, conj (Φ w ζᵏ) * z (w, j)` in |
| 132 | variables `z` indexed by infinite places of `E` and coordinates. Here `areaScale = √(2π / √d)`, |
| 133 | `Φ w` is the complex embedding chosen at the place `w`, and `linearSeries a` is `∑ y, a y * z y`. -/ |
| 134 | def zetaLinearSeries [DecidableEq n] (Ω : ℂˣ) (c : ℂ) (k : Fin (P.q₁ s)) (j : n) : |
| 135 | MvPowerSeries (NumberField.InfinitePlace (P.E s) × n) ℂ := |
| 136 | linearSeries fun y : NumberField.InfinitePlace (P.E s) × n ↦ if y.2 = j then |
| 137 | Ω.val / P.q₁ s / P.areaScale * c * starRingEnd ℂ (Φ y.1 (P.ζ s ^ k.val)) else 0 |
| 138 | |
| 139 | /-- The vector `F` is the product of copies of the theta function of `C` along the frame of the |
| 140 | `ζᵏ / q₁`, each taken `q₁` times, in every coordinate. The period `Ω` scales the coordinates along |
| 141 | the frame to complex numbers, and the level `e` gives the lattice `q₁ e 𝔞₀ⁿ` of periods, where |
| 142 | `𝔞₀ⁿ = idealLattice E n` consists of the rational vectors `γ` with `α⁻¹ γ` integral, `α` being the |
| 143 | idele of the Weil data and `q₁` the order of `ζ`. -/ |
| 144 | structure IsThetaProduct [DecidableEq n] (V : Space (P.E s) n ε) (C : CMLattice P.d) (Ω : ℂˣ) |
| 145 | (e : ℕ+) (F : 𝒮 V) : Prop where |
| 146 | /-- The vector lies in the finite part, the span of the translates of the vacuum by the operators |
| 147 | `finHeisenbergOp`. -/ |
| 148 | mem_finitePart : F ∈ V.finitePart |
| 149 | /-- The theta value of the translate by a rational vector `γ` is a product of values at `0` of |
| 150 | twisted translates of the theta function of `C`. Here `finiteImage γ` is the finite adelic vector |
| 151 | `α⁻¹ γ`, with `α` the idele of the Weil data. -/ |
| 152 | theta_translate (γ : n → P.E s) : V.θ (V.ϱ (finVec (finiteImage γ)) F) = |
| 153 | ∏ k : Fin (P.q₁ s), ∏ j : n, zetaCoordThetaTranslate C Ω k (γ j) 0 ^ P.q₁ s |
| 154 | /-- The series of jets `jetSeries c` of that translate (for a standard space, the Taylor series at |
| 155 | `0` of its theta function at the scale `c`) is a product of Taylor series `taylorAtZero` at `0` of |
| 156 | functions of one variable, each composed with a linear form. -/ |
| 157 | jetSeries_translate (γ : n → P.E s) (c : ℂ) : |
| 158 | V.jetSeries c (V.ϱ (finVec (finiteImage γ)) F) = ∏ k : Fin (P.q₁ s), ∏ j : n, |
| 159 | (taylorAtZero (zetaCoordThetaTranslate C Ω k (γ j))).subst (zetaLinearSeries Ω c k j) ^ P.q₁ s |
| 160 | /-- The values at finite points are integral at every prime `p`, for every `p`-adic place of `ℂ` |
| 161 | (a ring homomorphism `ιₚ` from `ℂ` to `ℂ_[p]`). -/ |
| 162 | norm_le_one (p : ℕ) [Fact p.Prime] [PadicPlace p] (x : n → 𝔸f (P.E s)) : ‖ιₚ (F (finVec x))‖ ≤ 1 |
| 163 | /-- The theta function of the vector is a theta function for `q₁ e 𝔞₀ⁿ`. -/ |
| 164 | isThetaFunction : |
| 165 | IsThetaFunction (star (P.q₁ s * e : P.E s) • idealLattice (P.E s) n) (entireTheta F) |
| 166 | |
| 167 | /-- The theta functional takes the value `1` at a theta product. -/ |
| 168 | lemma IsThetaProduct.theta_eq_one [DecidableEq n] {V : Space (P.E s) n ε} {C : CMLattice P.d} |
| 169 | {Ω : ℂˣ} {e : ℕ+} {F : 𝒮 V} (hF : IsThetaProduct V C Ω e F) : V.θ F = 1 := by |
| 170 | have h0 := hF.theta_translate 0 |
| 171 | have h_fin0 : finVec (finiteImage (0 : n → P.E s)) = 0 := by |
| 172 | rw [map_zero] |
| 173 | ext i : 1 |
| 174 | exact Prod.ext rfl (mul_zero _) |
| 175 | rw [h_fin0, Heisenberg.Rep.rho_zero_apply] at h0 |
| 176 | rw [h0] |
| 177 | refine Finset.prod_eq_one fun k _ ↦ Finset.prod_eq_one fun j _ ↦ ?_ |
| 178 | have h_coord0 : P.zetaCoord s k 0 = 0 := by |
| 179 | rw [zetaCoord, zero_mul, map_zero, neg_zero, zero_div] |
| 180 | rw [Pi.zero_apply, zetaCoordThetaTranslate, h_coord0, ZeroMemClass.coe_zero, zero_mul, |
| 181 | CMLattice.twistedTranslate, one_smul, thetaShift_zero, C.theta_zero, one_pow] |
| 182 | |
| 183 | /-- For `k < q₁` and `y` in `E`, `Ω / q₁` times minus the sum over the places `τ` of |
| 184 | `Φ τ y * conj (Φ τ (ζ ^ k))` is `zetaCoord s k y * Ω`, `Φ τ` being the embedding at `τ`. -/ |
| 185 | private lemma div_mul_neg_sum_eq_zetaCoord_mul (Ω : ℂˣ) (k : Fin (P.q₁ s)) (y : P.E s) : |
| 186 | Ω.val / P.q₁ s * -∑ τ, Φ τ y * starRingEnd ℂ (Φ τ (P.ζ s ^ k.val)) = |
| 187 | P.zetaCoord s k y * Ω := by |
| 188 | have h_sum : (Algebra.trace P.K (P.E s) (y * star (P.ζ s ^ k.val)) : ℂ) = |
| 189 | ∑ τ : NumberField.InfinitePlace (P.E s), |
| 190 | Φ τ y * starRingEnd ℂ (Φ τ (P.ζ s ^ k.val)) := by |
| 191 | rw [coe_trace_eq_sum] |
| 192 | refine Finset.sum_congr rfl fun τ _ ↦ ?_ |
| 193 | rw [map_mul, map_star_complex, ← starRingEnd_apply] |
| 194 | change _ = algebraMap P.K ℂ (P.zetaCoord s k y) * Ω |
| 195 | rw [zetaCoord, map_div₀ (algebraMap P.K ℂ), (algebraMap P.K ℂ).map_neg, |
| 196 | map_natCast (algebraMap P.K ℂ)] |
| 197 | change _ = -(Algebra.trace P.K (P.E s) (y * star (P.ζ s ^ k.val)) : ℂ) / P.q₁ s * Ω |
| 198 | rw [h_sum] |
| 199 | ring |
| 200 | |
| 201 | /-- Let `V` be standard and let `C` be a CM lattice of area `|Ω|² √d / 2` that contains a multiple |
| 202 | `Ω e`. Then `V` has a theta product for `C`, `Ω` and `e`. -/ |
| 203 | lemma exists_isThetaProduct [DecidableEq n] (V : Space (P.E s) n ε) [V.IsStd] {C : CMLattice P.d} |
| 204 | {Ω : ℂˣ} {e : ℕ+} (he : Ω.val * e ∈ C.Λ) (h_area : C.area = ‖Ω.val‖ ^ 2 * √P.d / 2) : |
| 205 | ∃ F : 𝒮 V, IsThetaProduct V C Ω e F := by |
| 206 | -- Apply `exists_isResolutionProduct_of_isTightFrame` to `δ = q₁ e`, the frame of the repeated |
| 207 | -- powers of `ζ` and the monomial `θ` of degree one. |
| 208 | let δ : NumberField.RingOfIntegers P.K := P.q₁ s * e |
| 209 | have hδ_coe : (δ : ℂ) = (P.q₁ s : ℂ) * (e : ℂ) := by simp [δ] |
| 210 | have hN : (δ : ℂ) * starRingEnd ℂ δ = (((P.q₁ s * e) ^ 2 : ℕ) : ℂ) := by |
| 211 | rw [hδ_coe, map_mul, map_natCast, map_natCast] |
| 212 | push_cast |
| 213 | ring |
| 214 | have h_area' : C.area = |
| 215 | ‖Ω.val * e‖ ^ 2 / (((P.q₁ s * e) ^ 2 : ℕ) : ℝ) * (P.q₁ s * P.q₁ s : ℕ) * √P.d / 2 := by |
| 216 | rw [h_area, norm_mul, Complex.norm_natCast, mul_pow, Nat.cast_pow, Nat.cast_mul (P.q₁ s) e, |
| 217 | Nat.cast_mul (P.q₁ s) (P.q₁ s), mul_pow] |
| 218 | have hq : (P.q₁ s : ℝ) ≠ 0 := Nat.cast_ne_zero.2 (ne _) |
| 219 | have he0 : (e : ℝ) ≠ 0 := Nat.cast_ne_zero.2 e.ne_zero |
| 220 | field_simp |
| 221 | obtain ⟨F, hF, h_int, h_periods⟩ := exists_isResolutionProduct_of_isTightFrame V δ |
| 222 | (ne ((P.q₁ s * e) ^ 2)) hN (P.isTightFrame_zeta_pow s (P.q₁ s)).repeat_vectors |
| 223 | (fun _ ↦ (1, 0, 0)) (fun _ ↦ rfl) he h_area' |
| 224 | have h_scale : Ω.val * e / starRingEnd ℂ δ = Ω.val / P.q₁ s := by |
| 225 | rw [hδ_coe, map_mul, map_natCast, map_natCast, |
| 226 | mul_div_mul_right _ _ (Nat.cast_ne_zero.2 e.ne_zero)] |
| 227 | have h_mon : C.monomialSection (1, 0, 0) = C.θ := by |
| 228 | ext z |
| 229 | simp only [monomialSection, Pi.mul_apply, pow_one, pow_zero, Pi.one_apply, mul_one] |
| 230 | have hδ_E : algebraMap P.K (P.E s) δ = (P.q₁ s * e : P.E s) := by simp [δ] |
| 231 | -- With these two identities the values and series of `hF` are those of a theta product; the |
| 232 | -- repeated frame vectors give the powers. |
| 233 | refine ⟨F, hF.mem_finitePart, fun γ ↦ ?_, fun γ c ↦ ?_, h_int, by rwa [hδ_E] at h_periods⟩ |
| 234 | all_goals |
| 235 | first |
| 236 | | rw [hF.theta_translate γ] |
| 237 | | rw [hF.jetSeries_translate γ c] |
| 238 | rw [Fintype.prod_prod_type, Fintype.prod_sigma] |
| 239 | refine Finset.prod_congr rfl fun k _ ↦ ?_ |
| 240 | rw [Finset.prod_comm] |
| 241 | refine Finset.prod_congr rfl fun j _ ↦ |
| 242 | (Finset.prod_congr rfl fun m _ ↦ ?_).trans |
| 243 | (by rw [Finset.prod_const, Finset.card_univ, Fintype.card_fin]) |
| 244 | rw [Pi.one_apply, h_mon, resolutionShift, h_scale, div_mul_neg_sum_eq_zetaCoord_mul] |
| 245 | rfl |
| 246 | |
| 247 | /-- A standard space has a theta product of level one for the lattice `cmPeriod 𝓞_K` of |
| 248 | `cmCurve`. -/ |
| 249 | lemma exists_isThetaProduct_cmCurve [DecidableEq n] (V : Space (P.E s) n ε) [V.IsStd] : |
| 250 | ∃ F : 𝒮 V, IsThetaProduct V P.cmCurve P.cmPeriod 1 F := |
| 251 | exists_isThetaProduct V (by simpa using cmPeriod_mem_cmCurve_lattice) |
| 252 | (by simpa using P.cmCurve_area) |
| 253 | |
| 254 | /-- A theta product of level one for `C` and `Ω` is a vector `F` of the finite part whose theta |
| 255 | values and jets at rational translates are those of products of the theta function of `C` along the |
| 256 | vectors `ζᵏ / q₁`, with `q₁` the order of `ζ`, and whose theta function is a theta function for |
| 257 | `q₁ 𝔞₀ⁿ`. In a standard space of rank `n`, a nonzero multiple of the vacuum is then a sum of |
| 258 | `(q₁ ^ 2) ^ (f n)` vectors `finHeisenbergOp (a j) (ϱ(finVec b) F)`, with `f` the number of infinite |
| 259 | places: each is `F` translated by the common finite vector `b`, then by `a j`, and multiplied by the |
| 260 | scalar `stdLattice.semichar (a j)`. -/ |
| 261 | lemma IsThetaProduct.exists_smul_vacElem_eq_sum [DecidableEq n] {V : Space (P.E s) n ε} [V.IsStd] |
| 262 | {C : CMLattice P.d} {Ω : ℂˣ} {F : 𝒮 V} (hF : IsThetaProduct V C Ω 1 F) : |
| 263 | ∃ c ≠ (0 : ℂ), ∃ (Γ : Type) (_ : Fintype Γ) (a : Γ → n → 𝔸f (P.E s)) (b : n → 𝔸f (P.E s)), |
| 264 | card Γ = (P.q₁ s ^ 2) ^ card (NumberField.InfinitePlace (P.E s) × n) ∧ |
| 265 | c • V.vacElem = ∑ j : Γ, V.finHeisenbergOp (a j) (V.ϱ (finVec b) F) := |
| 266 | exists_smul_vac_eq_sum (δ := (P.q₁ s * (1 : ℕ+) : P.E s)) (by simp [mul_mem]) |
| 267 | (ne (P.q₁ s ^ 2)) (by simp [sq]) hF.isThetaFunction hF.theta_eq_one |
| 268 | |
| 269 | end ThetaProduct |
| 270 | |
| 271 | /-- With `f` the number of infinite places of `E = P.E s` and `q₁ = P.q₁ s`, one has |
| 272 | `(q₁ ^ 2) ^ f ≤ exp (q₁) ^ (2 * q₁)`. -/ |
| 273 | lemma sq_q₁_pow_card_infinitePlace_le (P : Parameters) (s : ℕ) : |
| 274 | (((P.q₁ s ^ 2) ^ card (NumberField.InfinitePlace (P.E s) × Unit) : ℕ) : ℝ) ≤ |
| 275 | rexp (P.q₁ s) ^ (2 * P.q₁ s) := by |
| 276 | -- The number of infinite places is at most `q₁`, and `q₁ ≤ exp q₁`. |
| 277 | have hf : card (NumberField.InfinitePlace (P.E s) × Unit) ≤ P.q₁ s := by |
| 278 | grw [card_prod, card_unit, mul_one, ← Core.numInfPlaces, numInfPlaces_E, Nat.totient_le, |
| 279 | mul_comm] |
| 280 | have h_exp : (P.q₁ s : ℝ) ≤ rexp (P.q₁ s) := by linarith [add_one_le_exp (P.q₁ s : ℝ)] |
| 281 | grw [hf, ← pow_mul, Nat.cast_pow, h_exp] |
| 282 | exact one_le_pow₀ NeZero.one_le |
| 283 | |
| 284 | /-- Let `F` be a theta product for `P.cmCurve` with period `P.cmPeriod` in the standard space of |
| 285 | rank one over `P.E s`, and let `M` bound the modulus of every conjugate `σ` over `K` of |
| 286 | `twistedTranslate 1 (x * P.cmPeriod) θ 0`, for every `x ∈ K`. Then for every finite point `z` and |
| 287 | every `σ`, `σ (F (finVec z))` has modulus at most `exp M ^ (q₁ * q₁)`, where `q₁ = P.q₁ s`. -/ |
| 288 | private lemma norm_gal_thetaProduct_le {P : Parameters} {s : ℕ} {M : ℝ} |
| 289 | {F : 𝒮 (stdSpace (P.E s) Unit)} |
| 290 | (hF : IsThetaProduct (stdSpace (P.E s) Unit) P.cmCurve P.cmPeriod 1 F) |
| 291 | (hM : ∀ (σ : Gal(ℂ/K P)) (x : K P), |
| 292 | ‖σ (P.cmCurve.twistedTranslate 1 (x * P.cmPeriod) P.cmCurve.θ 0)‖ ≤ M) |
| 293 | (σ : Gal(ℂ/K P)) (z : Unit → 𝔸f (P.E s)) : |
| 294 | ‖σ (F (finVec z))‖ ≤ rexp M ^ (P.q₁ s * P.q₁ s) := by |
| 295 | set N : ℕ := P.q₁ s |
| 296 | let V : Space (P.E s) Unit 1 := stdSpace (P.E s) Unit |
| 297 | obtain ⟨γ, hγ⟩ : ∃ γ : Unit → P.E s, ratShift γ (entireTheta F) 0 = F (finVec z) := |
| 298 | (V.range_apply_finVec_eq_range_ratShift_entireTheta hF.mem_finitePart).le ⟨z, rfl⟩ |
| 299 | -- A value of `F` is a product of `N²` torsion values of `θ`. |
| 300 | have h_theta : F (finVec z) = V.θ (V.ϱ (finVec (finiteImage (-γ))) F) := by |
| 301 | rw [← entireTheta_zero, V.entireTheta_rho, neg_neg, hγ] |
| 302 | calc ‖σ (F (finVec z))‖ |
| 303 | _ = ∏ k : Fin N, ‖σ (zetaCoordThetaTranslate P.cmCurve P.cmPeriod k (-γ ()) 0)‖ ^ N := by |
| 304 | rw [h_theta, hF.theta_translate, map_prod, norm_prod] |
| 305 | refine Finset.prod_congr rfl fun k _ ↦ ?_ |
| 306 | rw [Fintype.prod_unique, map_pow, norm_pow] |
| 307 | rfl |
| 308 | _ ≤ ∏ _k : Fin N, rexp M ^ N := by |
| 309 | gcongr |
| 310 | exact (hM σ _).trans (by linarith [add_one_le_exp M]) |
| 311 | _ = rexp M ^ (N * N) := by simp [← pow_mul] |
| 312 | |
| 313 | /-- The integral vacuum in rank one: a nonzero multiple of the vacuum has values at the finite |
| 314 | points `finVec x` that are integral (`ιₚ` is the map to the `p`-adic complex numbers) and whose |
| 315 | conjugates over `K` have modulus at most `exp (C q₁²)`, with `C` independent of `s`. -/ |
| 316 | lemma exists_mul_vacElem_integral_bounded (P : Parameters) : ∃ C : ℕ, ∀ s : ℕ, ∃ c ≠ (0 : ℂ), |
| 317 | -- (a) the values are integral |
| 318 | (∀ (p : ℕ) [Fact p.Prime] [PadicPlace p] (x : Unit → 𝔸f (P.E s)), |
| 319 | ‖ιₚ (c * (stdSpace (P.E s) Unit).vacElem (finVec x))‖ ≤ 1) ∧ |
| 320 | -- (b) their conjugates are bounded |
| 321 | ∀ (σ : Gal(ℂ/K P)) (x : Unit → 𝔸f (P.E s)), |
| 322 | ‖σ (c * (stdSpace (P.E s) Unit).vacElem (finVec x))‖ ≤ rexp (C * P.q₁ s ^ 2) := by |
| 323 | obtain ⟨M, hM⟩ : ∃ M : ℝ, ∀ (σ : Gal(ℂ/K P)) (x : K P), |
| 324 | ‖σ (P.cmCurve.twistedTranslate 1 (x * P.cmPeriod) P.cmCurve.θ 0)‖ ≤ M := |
| 325 | exists_norm_gal_torsion_value_le P |
| 326 | refine ⟨⌈M⌉₊ + 2, fun s ↦ ?_⟩ |
| 327 | set N : ℕ := P.q₁ s |
| 328 | let V : Space (P.E s) Unit 1 := stdSpace (P.E s) Unit |
| 329 | -- The vector `F` is the theta product for the lattice of `cmCurve` with the period `cmPeriod`. |
| 330 | obtain ⟨F, hF : IsThetaProduct V P.cmCurve P.cmPeriod 1 F⟩ := exists_isThetaProduct_cmCurve V |
| 331 | obtain ⟨c, hc_ne, Γ, _, a, b, h_card, hc⟩ := hF.exists_smul_vacElem_eq_sum |
| 332 | refine ⟨c, hc_ne, fun p _ _ x ↦ ?_, fun σ x ↦ ?_⟩ |
| 333 | · exact V.norm_mul_vacElem_le_one_of_eq_sum (hF.norm_le_one p) hc x |
| 334 | · calc ‖σ (c * V.vacElem (finVec x))‖ |
| 335 | _ ≤ ∑ k : Γ, ‖σ (F (finVec (x + (a k + b))))‖ := by |
| 336 | rw [← V.smul_apply, hc, ← theta_rho] |
| 337 | simp only [map_sum, theta_rho] |
| 338 | exact (norm_sum_le _ _).trans_eq (Finset.sum_congr rfl fun k _ ↦ |
| 339 | V.norm_map_finHeisenbergOp_rho_finVec_apply σ (a k) b x F) |
| 340 | _ ≤ card Γ * rexp M ^ (N * N) := |
| 341 | (sum_le_sum fun k _ ↦ |
| 342 | show _ ≤ rexp M ^ (N * N) from norm_gal_thetaProduct_le hF hM σ _).trans_eq (by simp) |
| 343 | _ ≤ rexp N ^ (2 * N) * rexp ⌈M⌉₊ ^ (N * N) := by |
| 344 | grw [h_card, sq_q₁_pow_card_infinitePlace_le P s, ← Nat.le_ceil M] |
| 345 | _ = rexp ((⌈M⌉₊ + 2 : ℕ) * N ^ 2) := by |
| 346 | rw [← exp_natCast_mul, ← exp_natCast_mul, ← exp_add] |
| 347 | exact congrArg rexp (by push_cast; ring) |
| 348 | |
| 349 | /-- The constant `C` in the bound `exp (C q₁²)` for the conjugates of the values of the integral |
| 350 | vacuum of rank one, chosen from `exists_mul_vacElem_integral_bounded`; see `IsVacuumScale`. -/ |
| 351 | def vacuumBoundConst (P : Parameters) : ℕ := P.exists_mul_vacElem_integral_bounded.choose |
| 352 | |
| 353 | end RankOne |
| 354 | |
| 355 | /-! |
| 356 | ## The integral vacuum θ° and the module of standard data at p |
| 357 | |
| 358 | These are the data to which the integrality of jets (`New.Parameters.norm_jet_jetSeries_le_one`) |
| 359 | applies. |
| 360 | -/ |
| 361 | |
| 362 | section StandardDataDefs |
| 363 | |
| 364 | open NumberField Valued Submodule Fintype |
| 365 | |
| 366 | /-- The scalar `c` normalises the vacuum of the standard space of rank one: it is nonzero, and the |
| 367 | values of `c • vacElem` at finite points are integral with bounded conjugates. -/ |
| 368 | structure IsVacuumScale (P : Parameters) (s : ℕ) (c : ℂ) : Prop where |
| 369 | /-- The scalar is nonzero. -/ |
| 370 | ne_zero : c ≠ 0 |
| 371 | /-- The values of `c • vacElem` are integral at every prime. -/ |
| 372 | norm_le_one (p : ℕ) [Fact p.Prime] [PadicPlace p] (x : Unit → 𝔸f (P.E s)) : |
| 373 | ‖ιₚ (c * (stdSpace (P.E s) Unit).vacElem (finVec x))‖ ≤ 1 |
| 374 | /-- Their conjugates over `K` have norm at most `exp (C * q₁ ^ 2)`, where `C` is |
| 375 | `vacuumBoundConst`. -/ |
| 376 | norm_gal_le (σ : Gal(ℂ/P.K)) (x : Unit → 𝔸f (P.E s)) : |
| 377 | ‖σ (c * (stdSpace (P.E s) Unit).vacElem (finVec x))‖ ≤ |
| 378 | Real.exp (P.vacuumBoundConst * P.q₁ s ^ 2) |
| 379 | |
| 380 | /-- The nonzero number by which the vacuum of rank one is multiplied to have integral values with |
| 381 | bounded conjugates, chosen from `exists_mul_vacElem_integral_bounded`. -/ |
| 382 | def vacuumScale (P : Parameters) (s : ℕ) : ℂ := |
| 383 | (P.exists_mul_vacElem_integral_bounded.choose_spec s).choose |
| 384 | |
| 385 | theorem isVacuumScale_vacuumScale (P : Parameters) (s : ℕ) : |
| 386 | P.IsVacuumScale s (P.vacuumScale s) := by |
| 387 | obtain ⟨h_ne, h_int, h_conj⟩ := (P.exists_mul_vacElem_integral_bounded.choose_spec s).choose_spec |
| 388 | exact ⟨h_ne, h_int, h_conj⟩ |
| 389 | |
| 390 | variable {P : Parameters} {s : ℕ} {n : Type*} [Fintype n] [DecidableEq n] {ε : n → ℤˣ} |
| 391 | (V : Space (P.E s) n ε) |
| 392 | |
| 393 | /-- The integral vacuum: the vacuum of a space of rank `n` times `vacuumScale ^ n`. -/ |
| 394 | def intVacuum : 𝒮 V := P.vacuumScale s ^ card n • V.vacElem |
| 395 | |
| 396 | /-- The additive subgroup of vectors `x` of finite adeles that are integral after multiplication by |
| 397 | `δ`: all coordinates of `δ x` are integral at the places of `E` in `S`. Here `evalAt w` is the |
| 398 | component at the place `w`, and `v` is the valuation of the completion at `w`. -/ |
| 399 | def integralAfter (δ : 𝓞 P.K) (S : FinPlace (P.E s) → Prop) : AddSubgroup (n → 𝔸f (P.E s)) := |
| 400 | weightedIntegralBox S fun _ ↦ (algebraMap P.K (P.E s) δ : 𝔸f (P.E s)) |
| 401 | |
| 402 | /-- Standard data at `p`: the span over the ring `embValRing` (the complex numbers that the |
| 403 | `p`-adic place sends to integers) of the translates of the integral vacuum by the points that `δ` |
| 404 | makes integral above `p`. -/ |
| 405 | def standardData {p : ℕ} [Fact p.Prime] [PadicPlace p] (δ : 𝓞 P.K) : Submodule embValRing (𝒮 V) := |
| 406 | span embValRing {V.finHeisenbergOp x (intVacuum V) | x ∈ integralAfter δ fun w ↦ ↑p ∈ w.asIdeal} |
| 407 | |
| 408 | end StandardDataDefs |
| 409 | |
| 410 | /-! |
| 411 | ## Integrality, bounds and nonvanishing of the values of θ° |
| 412 | |
| 413 | The point `New.finVec x` has finite part a fixed multiple of `x` and archimedean part zero. |
| 414 | |
| 415 | `Gal(ℂ/K)` is the group of automorphisms of `ℂ` over `K = ℚ(√-d)`. |
| 416 | -/ |
| 417 | |
| 418 | section IntegralVacuum |
| 419 | |
| 420 | open Fintype Space |
| 421 | |
| 422 | @[simp] lemma vacuumScale_ne_zero (P : Parameters) (s : ℕ) : vacuumScale P s ≠ 0 := |
| 423 | (P.isVacuumScale_vacuumScale s).ne_zero |
| 424 | |
| 425 | variable {P : Parameters} {s : ℕ} {n : Type} [Fintype n] [DecidableEq n] {ε : n → ℤˣ} |
| 426 | {V : Space (P.E s) n ε} [V.IsStd] |
| 427 | |
| 428 | /-- At a finite point `finVec x`, the integral vacuum of a standard space is the product over the |
| 429 | coordinates `x i` of the values of the scaled vacuum of rank one. -/ |
| 430 | lemma intVacuum_finVec_eq_prod {x : n → 𝔸f (P.E s)} : intVacuum V (finVec x) = |
| 431 | ∏ i : n, P.vacuumScale s * (stdSpace (P.E s) Unit).vacElem (finVec fun _ : Unit ↦ x i) := by |
| 432 | have hx : (signedSpace (P.E s) ε).x = 1 := by |
| 433 | simp only [signedSpace, IsStd.signs_eq_one V, Pi.one_apply, ↓reduceIte] |
| 434 | exact map_one diagGL |
| 435 | have hV : ∀ y : n → P.E s, V.vecAtPoint y = (signedSpace (P.E s) ε).vecAtPoint y := fun y ↦ by |
| 436 | rw [vecAtPoint, vecAtPoint, IsStd.point_eq_one, hx] |
| 437 | have h1 : ∀ y : Unit → P.E s, |
| 438 | (stdSpace (P.E s) Unit).vecAtPoint y = (signedSpace (P.E s) 1).vecAtPoint y := fun _ ↦ rfl |
| 439 | rw [intVacuum, Space.smul_apply, V.vacElem_apply_eq_prod_lineTheta hV, |
| 440 | Finset.prod_mul_distrib, Finset.prod_const, Finset.card_univ] |
| 441 | congr 1 |
| 442 | refine Finset.prod_congr rfl fun i _ ↦ ?_ |
| 443 | rw [(stdSpace (P.E s) Unit).vacElem_apply_eq_prod_lineTheta h1, Fintype.prod_unique, |
| 444 | IsStd.signs_eq_one V] |
| 445 | rfl |
| 446 | |
| 447 | /-- The values of the integral vacuum of rank `n` at the points `finVec x`, with archimedean part |
| 448 | zero, are integral at every prime. -/ |
| 449 | lemma norm_intVacuum_le_one {x : n → 𝔸f (P.E s)} {p : ℕ} [Fact p.Prime] [PadicPlace p] : |
| 450 | ‖ιₚ (intVacuum V (finVec x))‖ ≤ 1 := by |
| 451 | rw [intVacuum_finVec_eq_prod, map_prod, norm_prod] |
| 452 | exact Finset.prod_le_one₀ (by simp) fun _ _ ↦ (P.isVacuumScale_vacuumScale s).norm_le_one p _ |
| 453 | |
| 454 | /-- The conjugates over `K` of the values of the integral vacuum of rank `n` have modulus at most |
| 455 | `exp (C q₁² n)`, with the constant `C = vacuumBoundConst` of the case of rank one. -/ |
| 456 | lemma norm_gal_intVacuum_le {x : n → 𝔸f (P.E s)} (σ : Gal(ℂ/K P)) : |
| 457 | ‖σ (intVacuum V (finVec x))‖ ≤ Real.exp (P.vacuumBoundConst * P.q₁ s ^ 2) ^ card n := by |
| 458 | rw [intVacuum_finVec_eq_prod, map_prod, norm_prod, ← Finset.card_univ, ← Finset.prod_const] |
| 459 | gcongr with i |
| 460 | exact (P.isVacuumScale_vacuumScale s).norm_gal_le σ _ |
| 461 | |
| 462 | open NumberField InfinitePlace in |
| 463 | /-- Every automorphism of `ℂ` has the same absolute values as some automorphism over the |
| 464 | imaginary quadratic field `K`. -/ |
| 465 | lemma exists_algEquiv_norm_eq (P : Parameters) (σ : ℂ ≃+* ℂ) : |
| 466 | ∃ σ' : Gal(ℂ/P.K), ∀ z : ℂ, ‖σ z‖ = ‖σ' z‖ := by |
| 467 | -- The field `P.K` has one infinite place: on it, `σ` or its complex conjugate is the inclusion. |
| 468 | let φ : P.K →+* ℂ := RingHom.domRestrict (σ : ℂ →+* ℂ) P.K |
| 469 | obtain h_fix | h_conj : φ = P.K.subtype ∨ ComplexEmbedding.conjugate φ = P.K.subtype := |
| 470 | mk_eq_iff.1 (Subsingleton.elim _ _) |
| 471 | · exact ⟨.ofRingEquiv (f := σ) (RingHom.congr_fun h_fix), fun _ ↦ rfl⟩ |
| 472 | · exact ⟨.ofRingEquiv (f := σ.trans starRingAut) (RingHom.congr_fun h_conj), |
| 473 | fun z ↦ (norm_star (σ z)).symm⟩ |
| 474 | |
| 475 | /-- All conjugates `σ (intVacuum V (finVec x))` under automorphisms `σ` of `ℂ` of the values at |
| 476 | `finVec x` of the integral vacuum of the standard space `V` of rank `card n` have modulus at most |
| 477 | `exp (C q₁²) ^ card n`. Here `q₁ = P.q₁ s` and `C = vacuumBoundConst` is the constant of the case of |
| 478 | rank one. -/ |
| 479 | lemma norm_ringEquiv_intVacuum_le {x : n → 𝔸f (P.E s)} (σ : ℂ ≃+* ℂ) : |
| 480 | ‖σ (intVacuum V (finVec x))‖ ≤ Real.exp (P.vacuumBoundConst * P.q₁ s ^ 2) ^ card n := by |
| 481 | obtain ⟨σ', hσ'⟩ := P.exists_algEquiv_norm_eq σ |
| 482 | exact (hσ' _).trans_le (norm_gal_intVacuum_le σ') |
| 483 | |
| 484 | /-- Let a vector `f` of a standard space be read as the function `f y = θ(ϱ(y) f)` of an adelic |
| 485 | vector `y`, with `θ` the theta functional. If `|f|` is at most `M` at all points `finVec x`, whose |
| 486 | archimedean part is zero, then `dataInner f f`, the mean of `|f|²`, has modulus at most `M ^ 2`. -/ |
| 487 | lemma norm_dataInner_self_le {f : 𝒮 V} {M : ℝ} |
| 488 | (h_bound : ∀ x : n → 𝔸f (P.E s), ‖f (finVec x)‖ ≤ M) : |
| 489 | ‖V.dataInner f f‖ ≤ M ^ 2 := by |
| 490 | -- `dataInner f f` is the mean of `|f| ^ 2`. By continuity it is enough to bound `f` at points |
| 491 | -- whose archimedean part is rational. Translating by a rational vector changes `f` by a factor |
| 492 | -- of norm one (`apply_vecAtPoint_add`) and moves such a point to one with archimedean part zero. |
| 493 | suffices h_pointwise : ∀ y : n → 𝔸 (P.E s), ‖f y * starRingEnd ℂ (f y)‖ ≤ M ^ 2 by |
| 494 | rw [V.dataInner_eq_quotMean] |
| 495 | exact norm_quotMean_le _ h_pointwise |
| 496 | have hf : Continuous fun y : n → 𝔸 (P.E s) ↦ f y := |
| 497 | continuous_eval.comp (continuous_const.prodMk continuous_id) |
| 498 | refine isClosed_property (.piMap fun _ ↦ denseRange_Φ.prodMap denseRange_id) |
| 499 | (isClosed_le ((hf.mul (Complex.continuous_conj.comp hf)).norm) continuous_const) |
| 500 | fun (p : n → P.E s × 𝔸f (P.E s)) ↦ ?_ |
| 501 | let γ (i : n) : P.E s := -(p i).1 |
| 502 | let x : n → 𝔸f (P.E s) := finCoord fun i ↦ (0, (γ i : 𝔸f (P.E s)) + (p i).2) |
| 503 | have h_point : V.vecAtPoint γ + Pi.map (fun _ ↦ Prod.map (RingHom.pi Φ) id) p = finVec x := by |
| 504 | have hvec : V.vecAtPoint γ = toAdele ∘ γ := by |
| 505 | simp only [vecAtPoint, IsStd.point_eq_one, inv_one, Units.val_one, |
| 506 | LinearMap.comp_apply, Matrix.mulVecLin_apply, Matrix.one_mulVec] |
| 507 | rfl |
| 508 | rw [hvec] |
| 509 | ext i : 1 |
| 510 | refine Prod.ext ?_ ?_ |
| 511 | · change RingHom.pi Φ (-(p i).1) + RingHom.pi Φ (p i).1 = 0 |
| 512 | rw [map_neg (RingHom.pi (Φ (E := P.E s))), neg_add_cancel] |
| 513 | · change (algebraMap (P.E s) (𝔸f (P.E s)) (γ i) + (p i).2) = |
| 514 | (WeilData.α (E := P.E s)).val * ((WeilData.α (E := P.E s))⁻¹.val * |
| 515 | (algebraMap (P.E s) (𝔸f (P.E s)) (γ i) + (p i).2)) |
| 516 | rw [← mul_assoc, ← Units.val_mul, mul_inv_cancel, Units.val_one, one_mul] |
| 517 | rw [← V.apply_vecAtPoint_add _ γ, h_point, norm_mul, (starRingEnd ℂ).map_mul, norm_mul, |
| 518 | norm_mul, Complex.norm_conj, Complex.norm_conj, Heisenberg.norm_eq_one, one_mul, ← sq] |
| 519 | exact pow_le_pow_left₀ (norm_nonneg _) (h_bound x) 2 |
| 520 | |
| 521 | /-- For a standard space `V`, there is a finite adelic vector `x` such that the integral vacuum |
| 522 | `intVacuum V` is nonzero at the point `finVec x`. -/ |
| 523 | lemma exists_intVacuum_ne_zero : ∃ x : n → 𝔸f (P.E s), intVacuum V (finVec x) ≠ 0 := by |
| 524 | -- Otherwise the vacuum vanishes at all points `finVec x`, and `norm_dataInner_self_le` with |
| 525 | -- `M = 0` contradicts its norm being `1`. |
| 526 | by_contra! h_zero |
| 527 | have h_le : ‖V.dataInner V.vacElem V.vacElem‖ ≤ 0 ^ 2 := |
| 528 | norm_dataInner_self_le fun x ↦ by simpa [intVacuum] using h_zero x |
| 529 | norm_num [V.dataInner_vacElem_vacElem] at h_le |
| 530 | |
| 531 | end IntegralVacuum |
| 532 | |
| 533 | /-! |
| 534 | ## Conjugates of the jets of the translates of one vector |
| 535 | |
| 536 | The product of copies of the theta function along the vectors `ζᵏ / q₁` (the resolution of powers |
| 537 | of `ζ`) also serves to compute the action of the automorphisms of `ℂ` over `K` on jets. |
| 538 | -/ |
| 539 | |
| 540 | section ConjugateTranslates |
| 541 | |
| 542 | open Real NeZero Space CMLattice Finset Submodule MvPowerSeries Fintype Set Notation Pointwise |
| 543 | |
| 544 | /-- The number `bigOmega P s`, which is `exp (chowlaSelbergConst d) * 2π / rootDiscr E`, is |
| 545 | positive. Here `chowlaSelbergConst d` is `γ - Re L'/L(1, χ_K)`, with `γ` Euler's constant. -/ |
| 546 | lemma bigOmega_pos {P : Parameters} {s : ℕ} : 0 < bigOmega P s := by |
| 547 | simp [bigOmega, rootDiscr_pos, pi_pos, exp_pos] |
| 548 | |
| 549 | /-- The scale `jetScale = periodFactor * areaScale / cmPeriod`, at which the Taylor series of theta |
| 550 | functions are taken, is nonzero. -/ |
| 551 | @[simp] lemma jetScale_ne_zero {P : Parameters} {s : ℕ} : jetScale P s ≠ 0 := by |
| 552 | -- `periodFactor` is the quotient of `vacuumRoot` by the unit `chowlaSelbergUnit` of the formula |
| 553 | -- of Chowla and Selberg, and both are nonzero by their norms. |
| 554 | have h_root : P.vacuumRoot s ≠ 0 := fun h_zero ↦ by |
| 555 | have h := P.norm_gal_vacuumRoot s 1 |
| 556 | rw [h_zero, map_zero (1 : Gal(ℂ/K P)), norm_zero, zero_pow two_ne_zero] at h |
| 557 | exact (div_pos (rootDiscr_pos _) |
| 558 | (Real.sqrt_pos.2 (Nat.cast_pos.2 (Nat.pos_of_ne_zero (ne _))))).ne h |
| 559 | have h_unit : P.chowlaSelbergUnit ≠ 0 := fun h_zero ↦ by |
| 560 | have h := P.area_mul_norm_chowlaSelbergUnit_sq 1 |
| 561 | rw [h_zero, map_zero (1 : Gal(ℂ/K P)), norm_zero, zero_pow two_ne_zero, mul_zero] at h |
| 562 | exact (mul_pos (mul_pos pi_pos (exp_pos _)) (div_pos (mul_pos two_pos pi_pos) |
| 563 | (Real.sqrt_pos.2 (Nat.cast_pos.2 (Nat.pos_of_ne_zero (ne _)))))).ne h |
| 564 | exact div_ne_zero (mul_ne_zero (div_ne_zero h_root h_unit) P.areaScale.ne_zero) |
| 565 | P.cmPeriod.ne_zero |
| 566 | |
| 567 | /-- Let `cmCurve` be the CM lattice `cmPeriod 𝓞_K` and `galConjugate σ` its conjugate by `σ`, with |
| 568 | `E = P.E s`, `K = K P` and `d = P.d`. If the period parallelogram of the conjugate lattice has the |
| 569 | area `|Ω|² √d / 2`, then the scale `σ periodFactor / Ω * areaScale` has the squared norm |
| 570 | `(bigOmega P s)⁻¹`. Here `bigOmega P s` is `exp (γ - Re L'/L(1, χ_K)) * 2π / rootDiscr E`, with `γ` |
| 571 | Euler's constant and `rootDiscr E` the root discriminant of `E`. Here `areaScale` is `√(2π / √d)` |
| 572 | and `periodFactor` is `vacuumRoot / chowlaSelbergUnit`. The denominator is the number chosen in the |
| 573 | formula of Chowla and Selberg for `cmCurve`. -/ |
| 574 | lemma norm_gal_periodFactor_div_mul_areaScale_sq (P : Parameters) (s : ℕ) {σ : Gal(ℂ/K P)} {Ω : ℂˣ} |
| 575 | (h_area : (P.cmCurve.galConjugate σ).area = ‖Ω.val‖ ^ 2 * √P.d / 2) : |
| 576 | ‖σ (P.periodFactor s) / Ω * P.areaScale‖ ^ 2 = (P.bigOmega s)⁻¹ := by |
| 577 | -- Divide `‖σ vacuumRoot‖ ^ 2 * π = rootDiscr E / √d * π` by the formula of Chowla and Selberg. |
| 578 | calc ‖σ (P.periodFactor s) / Ω * P.areaScale‖ ^ 2 |
| 579 | _ = ‖σ (P.vacuumRoot s)‖ ^ 2 * π / |
| 580 | ((P.cmCurve.galConjugate σ).area * ‖σ P.chowlaSelbergUnit‖ ^ 2) := by |
| 581 | have h_as_sq : ‖(P.areaScale : ℂ)‖ ^ 2 = 2 * π / √P.d := by |
| 582 | change ‖(√(2 * π / √P.d) : ℂ)‖ ^ 2 = _ |
| 583 | rw [Complex.norm_real, Real.norm_of_nonneg (Real.sqrt_nonneg _), |
| 584 | Real.sq_sqrt (by positivity)] |
| 585 | rw [h_area, periodFactor, map_div₀, norm_mul, norm_div, norm_div, mul_pow, div_pow, div_pow, |
| 586 | h_as_sq, div_div, div_mul_div_comm, div_mul_eq_mul_div, div_div_eq_mul_div] |
| 587 | congr 1 <;> ring |
| 588 | _ = NumberField.rootDiscr (P.E s) / √P.d * π / |
| 589 | (π * rexp (chowlaSelbergConst P.d) * (2 * π / √P.d)) := by |
| 590 | rw [P.norm_gal_vacuumRoot s σ, P.area_mul_norm_chowlaSelbergUnit_sq σ] |
| 591 | _ = (P.bigOmega s)⁻¹ := by |
| 592 | rw [bigOmega] |
| 593 | field [ne] |
| 594 | |
| 595 | section FixedSpace |
| 596 | |
| 597 | variable {P : Parameters} {s : ℕ} {n : Type} [Fintype n] {ε : n → ℤˣ} [DecidableEq n] |
| 598 | |
| 599 | /-- Let `V` be a space and `F` a vector of `𝒮 V`. Suppose `c • vacElem`, with `c ≠ 0`, is a sum of |
| 600 | translates `finHeisenbergOp (a j) (ϱ(finVec b) F)`. Then the finite part `finitePart` (the span of |
| 601 | the vectors `finHeisenbergOp z vacElem`) is contained in the span of the translates `ϱ(finVec x) F` |
| 602 | over all finite adelic vectors `x`. -/ |
| 603 | lemma finitePart_le_span_translates {V : Space (P.E s) n ε} {F : 𝒮 V} {c : ℂ} (hc_ne : c ≠ 0) |
| 604 | {Γ : Type} [Fintype Γ] {a : Γ → n → 𝔸f (P.E s)} {b : n → 𝔸f (P.E s)} |
| 605 | (hc : c • V.vacElem = ∑ j : Γ, V.finHeisenbergOp (a j) (V.ϱ (finVec b) F)) : |
| 606 | V.finitePart ≤ span ℂ (Set.range fun x : n → 𝔸f (P.E s) ↦ V.ϱ (finVec x) F) := by |
| 607 | rw [finitePart, span_le, range_subset_iff] |
| 608 | intro z |
| 609 | rw [(eq_inv_smul_iff₀ hc_ne).2 hc, map_smul, map_sum] |
| 610 | refine Submodule.smul_mem _ _ (Submodule.sum_mem _ fun j _ ↦ ?_) |
| 611 | simp only [finHeisenbergOp_rho_finVec, map_smul, smul_smul] |
| 612 | exact Submodule.smul_mem _ _ (subset_span (mem_range_self _)) |
| 613 | |
| 614 | /-- The series `zetaLinearSeries Ω c k j` is the linear form `Ω / q₁ / areaScale * c * ∑ w, conj (Φ |
| 615 | w ζᵏ) * z (w, j)` in the variables `z`, the sum being over the infinite places `w` of `E = P.E s`. |
| 616 | Here `ζ` is the root of unity that generates `E` over `K`, and `Φ w` is the complex embedding chosen |
| 617 | at `w`. An automorphism `σ` of `ℂ` over `K`, applied to the coefficients, takes this form for the |
| 618 | period `cmPeriod` and the scale `jetScale` to that for the period `Ω` and the scale |
| 619 | `σ periodFactor / Ω * areaScale`, up to the permutation `placePerm s σ` of the infinite places |
| 620 | induced by `σ`. Here `q₁` is the order of `ζ`, `areaScale = √(2π / √d)`, |
| 621 | `periodFactor = vacuumRoot / chowlaSelbergUnit` and |
| 622 | `jetScale = periodFactor * areaScale / cmPeriod`. -/ |
| 623 | lemma map_zetaLinearSeries (σ : Gal(ℂ/K P)) (Ω : ℂˣ) (k : Fin (P.q₁ s)) (j : n) : |
| 624 | (zetaLinearSeries P.cmPeriod (P.jetScale s) k j).map (σ : ℂ →+* ℂ) = |
| 625 | (zetaLinearSeries Ω (σ (P.periodFactor s) / Ω * P.areaScale) k j).rename |
| 626 | (Prod.map (placePerm s σ).symm id) := by |
| 627 | -- The constant factors are `periodFactor / q₁` and its image under `σ`, and `σ` permutes the |
| 628 | -- embeddings `Φ`. |
| 629 | have h_scale (ω : ℂˣ) (c : ℂ) : |
| 630 | ω.val / P.q₁ s / P.areaScale * (c * P.areaScale / ω) = c / P.q₁ s := by |
| 631 | field_simp [ω.ne_zero, P.areaScale.ne_zero] |
| 632 | rw [div_mul_eq_mul_div (σ (P.periodFactor s))] |
| 633 | simp only [zetaLinearSeries, jetScale, h_scale, linearSeries, map_sum, smul_eq_C_mul, map_mul, |
| 634 | map_C, map_X, rename_C, rename_X] |
| 635 | exact Fintype.sum_equiv ((placePerm s σ).prodCongr 1) _ _ fun ⟨w, i⟩ ↦ by |
| 636 | rw [Equiv.prodCongr_apply, Prod.map_apply, Prod.map_apply, Equiv.Perm.one_apply, id_eq, |
| 637 | Equiv.symm_apply_apply] |
| 638 | split_ifs |
| 639 | · rw [(σ : ℂ →+* ℂ).map_mul, map_div₀ (σ : ℂ →+* ℂ), map_natCast (σ : ℂ →+* ℂ), |
| 640 | starRingEnd_apply, starRingEnd_apply, ← map_star_complex, ← map_star_complex] |
| 641 | change C (σ (P.periodFactor s) / P.q₁ s * σ (Φ w (star (P.ζ s ^ k.val)))) * X (w, i) = _ |
| 642 | rw [apply_Phi_eq_Phi_placePerm] |
| 643 | · rw [(σ : ℂ →+* ℂ).map_zero] |
| 644 | |
| 645 | /-- Let `F` be a vector of the finite part, `β` a finite adele of `K` and, for each `x ∈ K`, `U x` a |
| 646 | neighbourhood of `β x`. For a rational vector `γ` there is `a ∈ K` such that the translates of `F` |
| 647 | by `β γ` and `a γ` agree and `a x` lies in `U x` for each coordinate `x = zetaCoord s k (γ i) ∈ K` |
| 648 | of `γ i` along a resolution vector `ζᵏ / q₁`. -/ |
| 649 | lemma exists_rational_translate_eq {V : Space (P.E s) n ε} {F : 𝒮 V} (hF_mem : F ∈ V.finitePart) |
| 650 | {β : 𝔸f P.K} {U : P.K → Set (𝔸f P.K)} |
| 651 | (hU : ∀ x : P.K, U x ∈ nhds (β * algebraMap P.K (𝔸f P.K) x)) (γ : n → P.E s) : |
| 652 | ∃ a : P.K, V.ϱ (finVec (finAdeleIncl P.K (P.E s) β • finiteImage γ)) F = |
| 653 | V.ϱ (finVec (finiteImage (a • γ))) F ∧ |
| 654 | ∀ (k : Fin (P.q₁ s)) (i : n), |
| 655 | algebraMap P.K (𝔸f P.K) (a * P.zetaCoord s k (γ i)) ∈ U (P.zetaCoord s k (γ i)) := by |
| 656 | -- Both conditions hold on a neighbourhood of `β`, and `K` is dense in its finite adeles. |
| 657 | have h_lc : IsLocallyConstant |
| 658 | fun β' : 𝔸f P.K ↦ V.ϱ (finVec (finAdeleIncl P.K (P.E s) β' • finiteImage γ)) F := |
| 659 | (isLocallyConstant_rho_finVec hF_mem).comp_continuous |
| 660 | ((continuous_adeleMap (f := algebraMap P.K (P.E s))).smul continuous_const) |
| 661 | have h_coord : ∀ᶠ β' in nhds β, ∀ (k : Fin (P.q₁ s)) (i : n), |
| 662 | β' * algebraMap P.K (𝔸f P.K) (P.zetaCoord s k (γ i)) ∈ U (P.zetaCoord s k (γ i)) := |
| 663 | Filter.eventually_all.2 fun k ↦ Filter.eventually_all.2 fun i ↦ |
| 664 | (continuous_mul_const _).continuousAt.preimage_mem_nhds (hU _) |
| 665 | obtain ⟨a, ha_translate, ha_coord⟩ := |
| 666 | denseRange_algebraMap_finAdele.mem_nhds ((h_lc.eventually_eq β).and h_coord) |
| 667 | refine ⟨a, ?_, by simpa only [map_mul] using ha_coord⟩ |
| 668 | rw [← ha_translate, adeleMap_algebraMap, algebraMap_smul, ← map_smul, algebraMap_smul] |
| 669 | |
| 670 | /-- Let `F` be a theta product for `cmCurve` with period `cmPeriod` and level `e`, and `F'` one for |
| 671 | the conjugate curve by `σ` with period `Ω` and level `e'`. The factors of a theta product at a |
| 672 | rational vector `γ` are the functions `zetaCoordThetaTranslate C Ω k (γ j)`, the twisted translates |
| 673 | of the theta function of `C` by `Ω` times the coordinate of `γ j` along `ζᵏ / q₁`. If `σ` takes the |
| 674 | Taylor series of the factors of `F` at `γ` to those of the factors of `F'` at `γ'`, then it takes |
| 675 | the jets of the translate of `F` by `γ` at the scale |
| 676 | `jetScale = periodFactor * areaScale / cmPeriod` to those of the translate of `F'` by `γ'` at the |
| 677 | scale `σ periodFactor / Ω * areaScale`, with the infinite places permuted by `σ`. -/ |
| 678 | lemma IsThetaProduct.isJetConjugate_of_map_taylorAtZero_eq {V : Space (P.E s) n ε} |
| 679 | {σ : Gal(ℂ/K P)} {Ω : ℂˣ} {e e' : ℕ+} {F F' : 𝒮 V} |
| 680 | (hF : IsThetaProduct V P.cmCurve P.cmPeriod e F) |
| 681 | (hF' : IsThetaProduct V (P.cmCurve.galConjugate σ) Ω e' F') {γ γ' : n → P.E s} |
| 682 | (h_series : ∀ (k : Fin (P.q₁ s)) (j : n), |
| 683 | MvPowerSeries.map (σ : ℂ →+* ℂ) (taylorAtZero |
| 684 | (zetaCoordThetaTranslate P.cmCurve P.cmPeriod k (γ j))) = |
| 685 | taylorAtZero (zetaCoordThetaTranslate (P.cmCurve.galConjugate σ) Ω k (γ' j))) : |
| 686 | IsJetConjugate σ (placePerm s σ) (P.jetScale s) (σ (P.periodFactor s) / Ω * P.areaScale) |
| 687 | (V.ϱ (finVec (finiteImage γ)) F) (V.ϱ (finVec (finiteImage γ')) F') := by |
| 688 | -- Both series are products over the resolution of series in one variable composed with linear |
| 689 | -- forms; compare factor by factor. |
| 690 | simp only [IsJetConjugate, hF.jetSeries_translate, hF'.jetSeries_translate, map_prod, map_pow] |
| 691 | refine prod_congr rfl fun k _ ↦ prod_congr rfl fun j _ ↦ congrArg (· ^ P.q₁ s) ?_ |
| 692 | have h_subst (Ω' : ℂˣ) (c : ℂ) : HasSubst fun _ : Unit ↦ zetaLinearSeries (s := s) Ω' c k j := |
| 693 | hasSubst_of_constantCoeff_zero fun _ ↦ constantCoeff_linearSeries _ |
| 694 | rw [PowerSeries.subst, PowerSeries.subst, map_subst (h_subst _ _), h_series] |
| 695 | -- The linear forms agree, up to the permutation of the places. |
| 696 | simp only [map_zetaLinearSeries σ Ω k j, rename_eq_subst] |
| 697 | rw [subst_comp_subst_apply (h_subst _ _) |
| 698 | (hasSubst_of_constantCoeff_zero (a := X ∘ Prod.map (placePerm s σ).symm id) fun _ ↦ |
| 699 | constantCoeff_X _)] |
| 700 | |
| 701 | end FixedSpace |
| 702 | |
| 703 | /-- For each automorphism `σ` of `ℂ` over `K` there is a finite adele `B σ` of `E` such that every |
| 704 | standard space `V` has a vector `F` of the finite part with `θ F = 1`, whose translates |
| 705 | `ϱ(finVec x) F` span the finite part, and, for each `σ`, a vector `F'` of the finite part and a |
| 706 | scale `t` with `|t|² = 1 / bigOmega` such that `σ` takes the jets of the translate of `F` by `x`, at |
| 707 | the scale `jetScale`, to those of the translate of `F'` by `B σ • x` at the scale `t`, with the |
| 708 | infinite places permuted by `σ`. Here `θ` is the theta functional of `V`, `finVec x` is the adelic |
| 709 | vector with finite part a fixed multiple of `x` and archimedean part zero, and `jetScale` and |
| 710 | `bigOmega` are the scale and the period constant attached to `P` and `s`. -/ |
| 711 | lemma exists_isJetConjugate_translates (P : Parameters) (s : ℕ) : |
| 712 | ∃ B : Gal(ℂ/K P) → 𝔸f (P.E s), |
| 713 | ∀ {n : Type} [Fintype n] [DecidableEq n] {ε : n → ℤˣ} (V : Space (P.E s) n ε) [V.IsStd], |
| 714 | ∃ F ∈ V.finitePart, V.θ F = 1 ∧ |
| 715 | V.finitePart ≤ span ℂ (Set.range fun x : n → 𝔸f (P.E s) ↦ V.ϱ (finVec x) F) ∧ |
| 716 | ∀ σ : Gal(ℂ/K P), ∃ t : ℂ, ∃ F' ∈ V.finitePart, ‖t‖ ^ 2 = (P.bigOmega s)⁻¹ ∧ |
| 717 | ∀ x : n → 𝔸f (P.E s), IsJetConjugate σ (placePerm s σ) (P.jetScale s) t |
| 718 | (V.ϱ (finVec x) F) (V.ϱ (finVec (B σ • x)) F') := by |
| 719 | -- Complex multiplication gives, for each `σ`, a number `Ω σ` with a multiple `Ω σ * e` in the |
| 720 | -- conjugate lattice and an adele `β σ`: for `x'` in a neighbourhood `U σ x` of `β σ * x`, `σ` |
| 721 | -- maps the Taylor series of `θ` translated by `x cmPeriod` to that of its conjugate translated by |
| 722 | -- `x' * Ω σ`. The vectors `F`, `F'` are the theta products for the two lattices. |
| 723 | let C (σ : Gal(ℂ/K P)) : CMLattice P.d := P.cmCurve.galConjugate σ |
| 724 | choose Ω β h_cm using fun σ ↦ complex_multiplication_theta P.cmCurve σ latticeModule_cmCurve |
| 725 | choose U hU h_translate using fun σ ↦ (h_cm σ).taylorVia_twistedTranslate_theta |
| 726 | refine ⟨fun σ ↦ finAdeleIncl P.K (P.E s) (β σ), fun {n _ _ ε} V _ ↦ ?_⟩ |
| 727 | obtain ⟨F, hF⟩ : ∃ F : 𝒮 V, IsThetaProduct V P.cmCurve P.cmPeriod 1 F := |
| 728 | exists_isThetaProduct_cmCurve V |
| 729 | refine ⟨F, hF.mem_finitePart, hF.theta_eq_one, ?_, fun σ ↦ ?_⟩ |
| 730 | · -- The vacuum is a combination of translates of `F`, and so are its translates. |
| 731 | obtain ⟨c, hc_ne, Γ, _, a, b, -, hc⟩ := hF.exists_smul_vacElem_eq_sum |
| 732 | exact finitePart_le_span_translates hc_ne hc |
| 733 | obtain ⟨e, he⟩ := (h_cm σ).exists_mul_mem_latticeModule |
| 734 | obtain ⟨F', hF'⟩ : ∃ F' : 𝒮 V, IsThetaProduct V (C σ) (Ω σ) e F' := |
| 735 | exists_isThetaProduct V he (h_cm σ).area_eq |
| 736 | let B : 𝔸f (P.E s) := finAdeleIncl P.K (P.E s) (β σ) |
| 737 | let t : ℂ := σ (P.periodFactor s) / Ω σ * P.areaScale |
| 738 | refine ⟨t, F', hF'.mem_finitePart, |
| 739 | P.norm_gal_periodFactor_div_mul_areaScale_sq s (h_cm σ).area_eq, fun y ↦ ?_⟩ |
| 740 | -- Both sides are locally constant in `y` and the rational points are dense, so let `y` be a |
| 741 | -- rational point `γ`. |
| 742 | have h_lc : IsLocallyConstant |
| 743 | fun y : n → 𝔸f (P.E s) ↦ (V.ϱ (finVec y) F, V.ϱ (finVec (B • y)) F') := |
| 744 | (isLocallyConstant_rho_finVec hF.mem_finitePart).prodMk |
| 745 | ((isLocallyConstant_rho_finVec hF'.mem_finitePart).comp_continuous (continuous_const_smul B)) |
| 746 | refine denseRange_finiteImage.induction_on y |
| 747 | ⟨h_lc {f | ¬IsJetConjugate σ (placePerm s σ) (P.jetScale s) t f.1 f.2}⟩ fun γ ↦ ?_ |
| 748 | -- Take `x₀ ∈ K` so near to `β σ` that translating `F'` by `B γ` or by `x₀ γ` is the same, and |
| 749 | -- that `x₀ * x` lies in `U σ x` for each coordinate `x` of `γ`. |
| 750 | obtain ⟨x₀, h_rational, h_coord⟩ : ∃ x₀ : P.K, |
| 751 | V.ϱ (finVec (B • finiteImage γ)) F' = V.ϱ (finVec (finiteImage (x₀ • γ))) F' ∧ |
| 752 | ∀ (k : Fin (P.q₁ s)) (i : n), ↑(x₀ * P.zetaCoord s k (γ i)) ∈ U σ (P.zetaCoord s k (γ i)) := |
| 753 | exists_rational_translate_eq hF'.mem_finitePart (hU σ) γ |
| 754 | -- Both translates are now rational, and their factors correspond by complex multiplication. |
| 755 | suffices IsJetConjugate σ (placePerm s σ) (P.jetScale s) t (V.ϱ (finVec (finiteImage γ)) F) |
| 756 | (V.ϱ (finVec (finiteImage (x₀ • γ))) F') by rwa [h_rational] |
| 757 | refine hF.isJetConjugate_of_map_taylorAtZero_eq hF' fun k j ↦ ?_ |
| 758 | rw [zetaCoordThetaTranslate, zetaCoordThetaTranslate, Pi.smul_apply, zetaCoord_smul] |
| 759 | exact h_translate σ _ _ (h_coord k j) |
| 760 | |
| 761 | end ConjugateTranslates |
| 762 | |
| 763 | end New.Parameters |
| 764 | |
| 765 | end |