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.Order.Star.Real |
| 4 | import Mathlib.Data.Rat.Cast.OfScientific |
| 5 | public import New.OneLift.ComparisonOperator.DeterminantProducts |
| 6 | public import New.UpperBound.Kernels.JetConjugatesAndBounds |
| 7 | import Lib.DiscreteSeries.Holomorphic.MaximalCompactMinors |
| 8 | import Lib.GLn.SchurModule.SchurNorm |
| 9 | import New.Derivatives.Vacuum.Divisibility |
| 10 | import New.Derivatives.Vacuum.Scale |
| 11 | import New.UpperBound.Kernels.ThetaLiftGauge |
| 12 | |
| 13 | /-! |
| 14 | # Rational equivariance, integrality and size of definite theta kernels |
| 15 | |
| 16 | This file studies the theta kernels `New.modKernelStdSpace` of a pair of standard definite spaces |
| 17 | `I_L`, `I_N`, whose real datum is determined by a polynomial `Q`. The kernels are evaluated at |
| 18 | finite points. Moving these points by rational elements acts through the two-sided substitutions |
| 19 | `New.Rows.twoSidedSubst`. Here `p` is a number whose prime divisors in `E` are the places at which |
| 20 | integrality is asked. The file builds the normalising constant `New.Rows.modKernelScale` and bounds |
| 21 | the conjugates of a polynomial `Q` homogeneous of degree `d` on polydiscs. |
| 22 | |
| 23 | ## Main definitions and results |
| 24 | |
| 25 | * `New.Rows.modKernelStdSpace_embFin_mul`: moving the points by rational elements substitutes the |
| 26 | variables of `Q` (`New.Rows.twoSidedSubst`) and multiplies by determinants. |
| 27 | * `New.Rows.IsModKernelScale`, `New.Rows.exists_ne_zero_isModKernelScale`: after one |
| 28 | normalising constant, kernels with `p`-integral input are `p`-integral and, under bounds on the |
| 29 | sizes of the input, their conjugates are bounded. |
| 30 | |
| 31 | Notions from other files: |
| 32 | * `New.stdSpace`: the definite space `I_n`, the sum of `n` norms with its standard lattice. |
| 33 | * `New.Gf`, `New.integralAbove`: the finite adelic unitary group, and its subgroup of points whose |
| 34 | components at all primes above `p` are integral invertible matrices. |
| 35 | * `New.modKernelStdSpace`: the theta kernel of the datum made of a function `Ψ` on matrices modulo |
| 36 | `𝔪` and the Fock vector of a polynomial `Q`, for the Weil action twisted by two characters of |
| 37 | `U(1)`. |
| 38 | * `New.Space.jetSeries`, `MvPolynomial.jetPairing`: the Taylor series of a theta function in Fock's |
| 39 | coordinates, and the pairing `P(∂) F (0)` of a polynomial `P` with a power series `F`. |
| 40 | * `New.Rows.twoSidedSubst`: the substitution `x_τ ↦ c_τᵀ x_τ g_τᵀ` on complex polynomials in the |
| 41 | entries of `N × L` matrices `x_τ`. |
| 42 | -/ |
| 43 | |
| 44 | @[expose] public section |
| 45 | |
| 46 | noncomputable section |
| 47 | |
| 48 | namespace New.Rows |
| 49 | |
| 50 | open Matrix MvPolynomial Real Fintype Finset Space Parameters RingHom NeZero |
| 51 | open NumberField (InfinitePlace) |
| 52 | |
| 53 | variable {E L N : Type} [Field E] [CMType E] [WeilData E] [Fintype L] [DecidableEq L] [Fintype N] |
| 54 | [DecidableEq N] |
| 55 | |
| 56 | /-- Let `a`, `b` be automorphic characters of `U(1)` (`AutChar`) with exponents `e`, `e'` at the |
| 57 | infinite places and residue characters `ψ`, `ψ'`. Translating the finite adelic points `g`, `h` by |
| 58 | the finite parts (`embFin`) of rational points `γ`, `γ'` substitutes |
| 59 | `x_τ ↦ (Φ τ γ'⁻¹)ᵀ x_τ (Φ τ γ)ᵀ` in `Q` (`twoSidedSubst`) and multiplies the kernel by |
| 60 | `∏ τ, Φ τ (det γ') ^ (-e τ) * Φ τ (det γ) ^ e' τ`. Here `(1, g)` has trivial real part, and `Φ τ` is |
| 61 | the complex embedding of `E` that the CM type chooses at the place `τ`. -/ |
| 62 | lemma modKernelStdSpace_embFin_mul {a b : AutChar E} {e e' : InfinitePlace E → ℤ} |
| 63 | {ψ ψ' : (w : FinPlace E) → MulChar (ResField w) ℂ} (ha : a.HasWeight e ψ) |
| 64 | (hb : b.HasWeight e' ψ') (𝔪 : Modulus E) (Ψ : Matrix N L 𝔪.ResidueRing → ℂ) |
| 65 | (Q : MvPolynomial (InfinitePlace E × N × L) ℂ) (γ : U (stdSpace E L).J) |
| 66 | (γ' : U (stdSpace E N).J) (g : Gf E L) (h : Gf E N) : |
| 67 | modKernelStdSpace (stdSpace E L) a b 𝔪 Ψ Q |
| 68 | (1, (stdSpace E L).embFin γ * g) ((stdSpace E N).embFin γ' * h) = |
| 69 | (∏ τ : InfinitePlace E, |
| 70 | Φ τ (γ' : Matrix N N E).det ^ (-e τ) * Φ τ (γ : Matrix L L E).det ^ e' τ) * |
| 71 | modKernelStdSpace (stdSpace E L) a b 𝔪 Ψ |
| 72 | (twoSidedSubst (fun τ : InfinitePlace E ↦ (↑γ'⁻¹ : Matrix N N E).map (Φ τ)) |
| 73 | (fun τ : InfinitePlace E ↦ (γ : Matrix L L E).map (Φ τ)) Q) (1, g) h := by |
| 74 | -- The kernel is invariant under the rational points `γ⁻¹`, `γ'⁻¹`. They cancel the finite |
| 75 | -- translations and leave the real point `(x, y)`, which lies in the maximal compact |
| 76 | -- subgroups (the spaces are definite) and acts on the Fock vector by substitution and a scalar. |
| 77 | let S : Space E L 1 := stdSpace E L |
| 78 | let T : Space E N 1 := stdSpace E N |
| 79 | let x : GInf E (1 : L → ℤˣ) := (S.ratEmbed γ⁻¹).1 |
| 80 | let y : GInf E (1 : N → ℤˣ) := (T.ratEmbed γ'⁻¹).1 |
| 81 | have hx : S.ratEmbed γ⁻¹ * (1, S.embFin γ * g) = (x, g) := by ext1 <;> simp [x, embFin] |
| 82 | have hy : T.ratEmbed γ'⁻¹ * (1, T.embFin γ' * h) = (y, h) := by ext1 <;> simp [y, embFin] |
| 83 | have h_inv (f : 𝒮 (S.hom T)) : pairTheta S T a b f ((x, g), y, h) = |
| 84 | pairTheta S T a b f ((1, S.embFin γ * g), 1, T.embFin γ' * h) := by |
| 85 | rw [← hx, ← hy] |
| 86 | exact (pairThetaKer S T a b).rat_mul ⟨γ⁻¹, rfl⟩ ⟨γ'⁻¹, rfl⟩ .. |
| 87 | -- All signs are `1`: every matrix is block diagonal, and the principal minors are `det` or `1`. |
| 88 | -- At the place `τ` the points `x`, `y` and `x⁻¹` are the images of `γ⁻¹`, `γ'⁻¹` and `γ`. |
| 89 | have hx_inv (τ : InfinitePlace E) : (↑(x τ)⁻¹ : GL L ℂ) = (Φ τ).mapMatrix (γ : Matrix L L E) := by |
| 90 | simp [← stdSpace_ratEmbed_apply γ τ, x, S] |
| 91 | have h_real : realPairWeil e e' (x, y) (Fock.polyVector (realSigns E (homSigns 1 1)) Q) = |
| 92 | (∏ τ, Φ τ (γ' : Matrix N N E).det ^ (-e τ) * Φ τ (γ : Matrix L L E).det ^ e' τ) • |
| 93 | Fock.polyVector _ (twoSidedSubst (fun τ ↦ (↑γ'⁻¹ : Matrix N N E).map (Φ τ)) |
| 94 | (fun τ ↦ (γ : Matrix L L E).map (Φ τ)) Q) := by |
| 95 | rw [realPairWeil_polyVector e e' (x := x) (y := y) (by simp) (by simp)] |
| 96 | simp only [hx_inv, x, y, S, T, stdSpace_ratEmbed_apply] |
| 97 | simp [← map_det, ← mapMatrix_apply, principalMinor_of_forall, |
| 98 | DiscreteSeries.principalMinor_of_forall_not] |
| 99 | rw [modKernelStdSpace, modKernel, ← h_inv, pairTheta, modDatum, pairWeil_integrated_all, h_real] |
| 100 | simp [modKernel, pairTheta, modDatum, pairWeil_integrated_fin, S, T] |
| 101 | |
| 102 | omit [WeilData E] |
| 103 | /-- If the finite adelic points `g`, `g'` have integral invertible components at all primes above |
| 104 | `p`, so does their block sum `diag(g, g')`. -/ |
| 105 | lemma blockSumOne_mem_integralAbove {p : ℕ} {g : Gf E L} {g' : Gf E N} |
| 106 | (hg : g ∈ integralAbove L p) (hg' : g' ∈ integralAbove N p) : |
| 107 | U.blockSumOne (g, g') ∈ integralAbove (L ⊕ N) p := by |
| 108 | rw [mem_localLevel] at hg hg' ⊢ |
| 109 | simpa [mem_intGL, Gf.atPlace, U.sum, ← map_inv, and_and_and_comm] using |
| 110 | fun w hw ↦ And.intro (hg w hw) (hg' w hw) |
| 111 | |
| 112 | /-- The embedding of rational points into finite adelic points commutes with block sums. -/ |
| 113 | lemma stdEmbFin_blockSumOne (γ : U (stdSpace E L).J) (γ' : U (stdSpace E N).J) : |
| 114 | stdEmbFin (U.blockSumOne (γ, γ')) = U.blockSumOne (stdEmbFin γ, stdEmbFin γ') := by |
| 115 | refine Subtype.ext ((stdSpace_embFin _).trans ?_) |
| 116 | ext (i | i) (j | j) <;> simp [U.sum] |
| 117 | |
| 118 | /-- Let `γ`, `γ'` be rational unitary points, embedded in the finite adelic groups by `stdEmbFin`, |
| 119 | and let `g`, `g'` be finite adelic points. If `γ g` and `γ' g'` have integral invertible components |
| 120 | at all primes above `p`, so does the product of the block sums `diag(γ, γ')` and `diag(g, g')`. -/ |
| 121 | lemma blockSumOne_mul_mem_integralAbove {p : ℕ} {γ : U (stdSpace E L).J} {γ' : U (stdSpace E N).J} |
| 122 | {g : Gf E L} {g' : Gf E N} (hg : stdEmbFin γ * g ∈ integralAbove L p) |
| 123 | (hg' : stdEmbFin γ' * g' ∈ integralAbove N p) : |
| 124 | stdEmbFin (U.blockSumOne (γ, γ')) * U.blockSumOne (g, g') ∈ integralAbove (L ⊕ N) p := by |
| 125 | simpa [stdEmbFin_blockSumOne, ← map_mul] using blockSumOne_mem_integralAbove hg hg' |
| 126 | |
| 127 | /-- The constant that normalises the theta kernels of the standard definite spaces `I_L`, `I_N` |
| 128 | over the field `D.E = P.E s` of the data `D`, where `s = D.towerExp` is its exponent in the tower |
| 129 | over `K = ℚ(√-P.d)`, for polynomials homogeneous of degree `d`. It is built from the principal |
| 130 | level `D.M` (a product of two primes), the number `P.vacuumScale s` that makes the values of the |
| 131 | vacuum of rank one (`Space.vacElem`) integral, and the scale `P.jetScale s` of the Taylor series. -/ |
| 132 | noncomputable def modKernelScale (L N : Type) [Fintype L] [Fintype N] {P : Parameters} (D : Data P) |
| 133 | (d : ℕ) : ℂ := |
| 134 | (D.M ^ 2) ^ (2 * Core.numInfPlaces D.E * card (N × L)) * |
| 135 | P.vacuumScale D.towerExp ^ card (N × L) * (D.M ^ 2 * P.d * P.jetScale D.towerExp) ^ d |
| 136 | |
| 137 | variable (L N) in |
| 138 | omit [DecidableEq L] [DecidableEq N] in |
| 139 | lemma modKernelScale_ne_zero {P : Parameters} (D : Data P) (d : ℕ) : |
| 140 | modKernelScale L N D d ≠ 0 := by |
| 141 | simp [modKernelScale, NeZero.ne] |
| 142 | /-- Let `Q` be homogeneous of degree `d`. Take `s` times the datum (`vacuumDatum`) that is `Ψ` at |
| 143 | the places dividing `𝔪` and elsewhere the vacuum, and translate it (`pairWeil`) by the adelic points |
| 144 | `(1, g)`, `(1, h)` with trivial real parts and finite parts `g`, `h`. The pairing `Q(∂) F (0)` |
| 145 | (`jetPairing`) of `Q` with the Taylor series `F` of its theta function at scale `t` is `s * t ^ d` |
| 146 | times the theta kernel `modKernelStdSpace`. -/ |
| 147 | lemma jet_jetSeries_pairWeil_vacuumDatum {P : Parameters} {D : Data P} {d : ℕ} {a b : AutChar D.E} |
| 148 | {𝔪 : Modulus D.E} {Ψ : Matrix N L 𝔪.ResidueRing → ℂ} |
| 149 | {Q : MvPolynomial (InfinitePlace D.E × N × L) ℂ} (hQ : Q.IsHomogeneous d) (g : Gf D.E L) |
| 150 | (h : Gf D.E N) (s t : ℂ) : |
| 151 | jetPairing Q (((stdSpace D.E L).hom (stdSpace D.E N)).jetSeries t |
| 152 | (pairWeil (stdSpace D.E L) (stdSpace D.E N) a b ((1, g), 1, h) |
| 153 | (s • (vacuumDatum (stdSpace D.E L) (stdSpace D.E N) 𝔪 Ψ).val))) = |
| 154 | s * t ^ d * modKernelStdSpace (stdSpace D.E L) a b 𝔪 Ψ Q (1, g) h := by |
| 155 | let V : Space D.E (N × L) (homSigns 1 1) := (stdSpace D.E L).hom (stdSpace D.E N) |
| 156 | let ω : 𝒮 V →L[ℂ] 𝒮 V := pairWeil (stdSpace D.E L) (stdSpace D.E N) a b ((1, g), 1, h) |
| 157 | -- The kernel is the theta series of the translated datum integrated against `Q`, since finite |
| 158 | -- points commute with `integrated`. |
| 159 | have h_kernel : modKernelStdSpace (stdSpace D.E L) a b 𝔪 Ψ Q (1, g) h = |
| 160 | V.θ (V.integrated (Fock.polyVector _ Q) (ω (vacuumDatum _ _ 𝔪 Ψ).val)) := by |
| 161 | rw [← pairWeil_integrated_fin, modKernelStdSpace, modKernel, pairTheta] |
| 162 | rfl |
| 163 | simp [ω, V, h_kernel, jet_jetSeries_of_isHomogeneous _ hQ, mul_assoc, mul_left_comm s] |
| 164 | |
| 165 | /-- Let the automorphic characters `a`, `b` of `U(1)` have exponents `ea`, `eb` at the infinite |
| 166 | places and residue characters `ψ`, `ψ'`, let `𝔪` contain `q * D.M ^ 2`, let the values of `Ψ` be |
| 167 | integral at all primes coprime to `q`, and let `Q` be homogeneous of degree `d`. Let `p` be a prime |
| 168 | coprime to `q`; the instance `PadicPlace p` chooses an embedding `ιₚ : ℂ → ℂ_p`, with valuation ring |
| 169 | `embValRing ⊆ ℂ`. If the finite adelic points `g`, `h` are integral above `p` and `Q` has |
| 170 | coefficients in `embValRing`, then the kernel times `modKernelScale L N D d` has `p`-adic norm at |
| 171 | most `1`. -/ |
| 172 | lemma norm_modKernelScale_mul_modKernelStdSpace_le_one {P : Parameters} {D : Data P} {d : ℕ} |
| 173 | {a b : AutChar D.E} {ea eb : InfinitePlace D.E → ℤ} |
| 174 | {ψ ψ' : (w : FinPlace D.E) → MulChar (ResField w) ℂ} {𝔪 : Modulus D.E} |
| 175 | {Ψ : Matrix N L 𝔪.ResidueRing → ℂ} {Q : MvPolynomial (InfinitePlace D.E × N × L) ℂ} |
| 176 | (ha : a.HasWeight ea ψ) (hb : b.HasWeight eb ψ') {q : ℕ} (hq : ↑(q * D.M ^ 2) ∈ 𝔪.ideal) |
| 177 | (hΨ : ∀ x : Matrix N L 𝔪.ResidueRing, Ψ x ∈ Seesaw.integralAway q) (hQ : Q.IsHomogeneous d) |
| 178 | {p : ℕ} [Fact p.Prime] [PadicPlace p] (hp : p.Coprime q) {g : Gf D.E L} {h : Gf D.E N} |
| 179 | (hg : g ∈ integralAbove L p) (hh : h ∈ integralAbove N p) |
| 180 | (hQ_int : Q ∈ (MvPolynomial.map embValRing.subtype).range) : |
| 181 | ‖ιₚ (modKernelScale L N D d * modKernelStdSpace (stdSpace D.E L) a b 𝔪 Ψ Q (1, g) h)‖ ≤ 1 := by |
| 182 | -- Once its denominator `δ ^ denomExp` is cleared, the datum is standard at `p`, and the action |
| 183 | -- of `g`, `h` keeps it so. The normalised kernel is a jet of its Taylor series. |
| 184 | obtain ⟨Q₀, hQ₀ : Q₀.map embValRing.subtype = Q⟩ := hQ_int |
| 185 | let δ : ℕ := D.M ^ 2 |
| 186 | let denomExp : ℕ := 2 * Core.numInfPlaces D.E * card (N × L) |
| 187 | let V : Space D.E (N × L) (homSigns 1 1) := (stdSpace D.E L).hom (stdSpace D.E N) |
| 188 | let f : 𝒮 V := ((δ ^ denomExp : ℕ) : ℂ) • P.vacuumScale D.towerExp ^ card (N × L) • |
| 189 | (vacuumDatum (stdSpace D.E L) (stdSpace D.E N) 𝔪 Ψ).val |
| 190 | let ω : 𝒮 V →L[ℂ] 𝒮 V := pairWeil (stdSpace D.E L) (stdSpace D.E N) a b ((1, g), 1, h) |
| 191 | have h_std : f ∈ standardData V δ := smul_vacuumDatum_mem_standardData hq hΨ hp |
| 192 | -- Since `f` is standard of level `δ`, the scale of its series is `star δ * P.d * jetScale`. |
| 193 | have jet_eq : jetPairing Q (V.jetSeries (star (δ : ℂ) * P.d * P.jetScale D.towerExp) (ω f)) = |
| 194 | modKernelScale L N D d * modKernelStdSpace (stdSpace D.E L) a b 𝔪 Ψ Q (1, g) h := by |
| 195 | simp only [f, ω, V, smul_smul, jet_jetSeries_pairWeil_vacuumDatum hQ] |
| 196 | simp [modKernelScale, δ, denomExp] |
| 197 | rw [← jet_eq, ← hQ₀] |
| 198 | exact norm_jet_jetSeries_le_one (by simp [δ, ne]) (pairWeil_mem_standardData ha hb h_std hg hh) _ |
| 199 | |
| 200 | /-- Growth of a homogeneous polynomial `Q` of degree `d` under an automorphism `σ` of `ℂ`: a bound |
| 201 | `B` for `‖σ (Q z)‖` on the polydisc `‖σ (z i)‖ ≤ ρ` gives the bound `B * t ^ d` on the polydisc |
| 202 | `‖σ (z i)‖ ≤ t * ρ`. -/ |
| 203 | lemma norm_map_eval_le_of_isHomogeneous {ι : Type*} {Q : MvPolynomial ι ℂ} {d : ℕ} |
| 204 | (hQ : Q.IsHomogeneous d) (σ : ℂ ≃+* ℂ) {ρ B : ℝ} |
| 205 | (hB : ∀ z : ι → ℂ, (∀ i : ι, ‖σ (z i)‖ ≤ ρ) → ‖σ (Q.eval z)‖ ≤ B) {t : ℝ} (ht : 0 < t) |
| 206 | {z : ι → ℂ} (hz : ∀ i : ι, ‖σ (z i)‖ ≤ t * ρ) : |
| 207 | ‖σ (Q.eval z)‖ ≤ B * t ^ d := by |
| 208 | -- Scale `z` by `u = σ⁻¹ (t⁻¹)`: this divides `σ z` by `t` and `σ (Q z)` by `t ^ d`. |
| 209 | let u : ℂ := σ.symm (t : ℂ)⁻¹ |
| 210 | have h_eval : Q.eval (fun i ↦ u * z i) = u ^ d * Q.eval z := hQ.eval_smul u z |
| 211 | have h_scaled : ‖σ (Q.eval fun i ↦ u * z i)‖ ≤ B := |
| 212 | hB _ fun i ↦ by simpa [u, abs_of_pos ht, inv_mul_le_iff₀ ht] using hz i |
| 213 | rw [h_eval] at h_scaled |
| 214 | simpa [u, abs_of_pos ht, inv_mul_le_iff₀ (pow_pos ht d), mul_comm B] using h_scaled |
| 215 | |
| 216 | /-- Let `M = D.M` be the principal level of the data `D` and `d ≤ M`. For every automorphism `σ` of |
| 217 | `ℂ`, the number `‖σ (M ^ 2 * P.d)‖ ^ 2 / Ω` times `2 * d + 2` is at most `(M ^ 4) ^ 2`. Here `P.d` |
| 218 | is the prime with `K = ℚ(√-P.d)`, and `Ω = P.bigOmega D.towerExp` is |
| 219 | `exp (γ - Re L'/L(1, χ_K)) * 2π` divided by the root discriminant of the field `D.E` (`γ` is Euler's |
| 220 | constant). -/ |
| 221 | lemma norm_map_sq_div_bigOmega_mul_le {P : Parameters} {D : Data P} {d : ℕ} (hd : d ≤ D.M) |
| 222 | (σ : ℂ ≃+* ℂ) : |
| 223 | ‖σ (D.M ^ 2 * P.d)‖ ^ 2 / P.bigOmega D.towerExp * (2 * d + 2) ≤ (D.M ^ 4) ^ 2 := by |
| 224 | have hΩ : 0 < P.bigOmega D.towerExp := bigOmega_pos |
| 225 | -- `σ` fixes the natural numbers, and the claim follows from the sizes of the logarithms. |
| 226 | grw [show ‖σ (D.M ^ 2 * P.d)‖ = D.M ^ 2 * P.d by simp, hd] |
| 227 | exact D.le_of_hasLogBound |
| 228 | |
| 229 | /-- The parameters `P` fix a prime `P.d` and `K = ℚ(√-P.d)`; the data `D` fix a field `D.E`, the |
| 230 | step `D.towerExp` of a cyclotomic tower over `K`, and a level `M = D.M`, a product of two primes. |
| 231 | Let `σ` be an automorphism of `ℂ`, and `Q` homogeneous of degree `d ≤ M` with `‖σ (Q z)‖ ≤ B` |
| 232 | whenever all `‖σ (z i)‖ ≤ M ^ 4`. Put `T = ‖σ (M ^ 2 * P.d)‖ ^ 2 / Ω`, where |
| 233 | `Ω = P.bigOmega D.towerExp` is `exp (γ - Re L'/L(1, χ_K)) * 2π` divided by the root discriminant |
| 234 | of `D.E` (`γ` is Euler's constant). Then `HasConjugateGrowth σ Q T d 0 B` holds: for all `z` and |
| 235 | real `R` with `∑ ‖σ (z i)‖ ^ 2 ≤ T * (2 * d + 2) * R`, we have `‖σ (Q z)‖ ≤ B * exp (0 + d * R)`. -/ |
| 236 | lemma hasConjugateGrowth_of_isHomogeneous {P : Parameters} {D : Data P} {d : ℕ} {ι : Type*} |
| 237 | [Fintype ι] {Q : MvPolynomial ι ℂ} (hd : d ≤ D.M) (hQ : Q.IsHomogeneous d) (σ : ℂ ≃+* ℂ) {B : ℝ} |
| 238 | (hB : ∀ z : ι → ℂ, (∀ i : ι, ‖σ (z i)‖ ≤ D.M ^ 4) → ‖σ (Q.eval z)‖ ≤ B) : |
| 239 | HasConjugateGrowth σ Q (‖σ (D.M ^ 2 * P.d)‖ ^ 2 / P.bigOmega D.towerExp) d 0 B := by |
| 240 | -- The hypothesis on `z` puts `σ z` in the polydisc of radius `exp R * M ^ 4`. |
| 241 | intro z R hz |
| 242 | have hΩ : 0 < P.bigOmega D.towerExp := bigOmega_pos |
| 243 | have coord_le (i : ι) : ‖σ (z i)‖ ^ 2 ≤ (exp R * D.M ^ 4) ^ 2 := calc |
| 244 | _ ≤ ∑ j, ‖σ (z j)‖ ^ 2 := single_le_sum (f := fun j ↦ ‖σ (z j)‖ ^ 2) (by simp) (mem_univ i) |
| 245 | _ ≤ R * (‖σ (D.M ^ 2 * P.d)‖ ^ 2 / P.bigOmega D.towerExp * (2 * d + 2)) := by rwa [mul_comm R] |
| 246 | _ ≤ (exp R * D.M ^ 4) ^ 2 := by |
| 247 | rw [mul_pow] |
| 248 | gcongr |
| 249 | · nlinarith [add_one_le_exp R] |
| 250 | · exact norm_map_sq_div_bigOmega_mul_le hd σ |
| 251 | rw [zero_add, exp_natCast_mul] |
| 252 | exact norm_map_eval_le_of_isHomogeneous hQ σ hB (exp_pos R) |
| 253 | fun i ↦ le_of_sq_le_sq (coord_le i) (by positivity) |
| 254 | |
| 255 | /-- The constants in the bound for the conjugates of the theta kernel are at most `exp D.x₁`. The |
| 256 | data `D` for the parameters `P` fix a cut-off `D.x₁` (a large integer), a rank `D.r` (a power of |
| 257 | `3`), a level `D.M` and a CM field `D.E = P.E s` with `s = D.towerExp`, generated over |
| 258 | `K = ℚ(√-P.d)` by a root of unity of order `P.q₁ s`; `P.Φ s` is the set of its infinite places, and |
| 259 | `P.constantBound` bounds the constants that depend on `P` only. Let `L`, `N` have at most |
| 260 | `D.gap = 2 * D.r ^ 8` elements, let `d ≤ D.M`, and let the ideal `𝔪` of `𝓞 D.E` contain `D.M ^ 2`. |
| 261 | The three factors are the cleared denominator, the number of matrices over |
| 262 | `𝔪.ResidueRing = 𝓞 D.E / 𝔪`, and the exponential in `Parameters.jetSizeBound`. -/ |
| 263 | lemma M_pow_mul_card_mul_exp_le {P : Parameters} {D : Data P} {d : ℕ} {𝔪 : Modulus D.E} |
| 264 | (hL : card L ≤ D.gap) (hN : card N ≤ D.gap) (hd : d ≤ D.M) (h𝔪 : ↑(D.M ^ 2) ∈ 𝔪.ideal) : |
| 265 | ((D.M : ℝ) ^ 2) ^ (2 * Core.numInfPlaces D.E * card (N × L)) * card (N × L → 𝔪.ResidueRing) * |
| 266 | exp (P.constantBound * (P.q₁ D.towerExp * card (N × L) + 1) ^ 2 + |
| 267 | card (P.Φ D.towerExp × N × L) * log (2 * d + 2)) ≤ |
| 268 | exp D.x₁ := by |
| 269 | let k : ℕ := 2 * Core.numInfPlaces D.E * card (N × L) |
| 270 | let e : ℝ := P.constantBound * (P.q₁ D.towerExp * card (N × L) + 1) ^ 2 + |
| 271 | card (P.Φ D.towerExp × N × L) * log (2 * d + 2) |
| 272 | have h_card : (card (N × L → 𝔪.ResidueRing) : ℝ) ≤ (D.M ^ 2) ^ k := by |
| 273 | rw [card_fun, card_eq_nat_card (α := 𝔪.ResidueRing), pow_mul] |
| 274 | exact_mod_cast Nat.pow_le_pow_left (𝔪.card_residueRing_le h𝔪 one_le) _ |
| 275 | have h_pow : ((D.M : ℝ) ^ 2) ^ k = exp (k * (2 * log D.M)) := by |
| 276 | simp [exp_natCast_mul, two_mul, sq, exp_add, exp_log, NeZero.pos] |
| 277 | -- Insert the three size bounds; the rest is a comparison of logarithmic sizes. |
| 278 | have h_log : k * (2 * log D.M) + k * (2 * log D.M) + e ≤ D.x₁ := by |
| 279 | simp only [k, e, card_prod] |
| 280 | norm_cast |
| 281 | grw [le_abs_self P.constantBound, hd, hL, hN] |
| 282 | refine D.le_of_hasLogBound (h_exp := ?_) |
| 283 | scale_grind D |
| 284 | grw [h_card, h_pow, ← exp_add, ← exp_add, h_log] |
| 285 | |
| 286 | /-- Let `L`, `N` have at most `D.gap = 2 * D.r ^ 8` elements and let `d ≤ D.M`. Let the automorphic |
| 287 | characters `a`, `b` of `U(1)` have exponents `ea`, `eb` at the infinite places and residue |
| 288 | characters `ψ`, `ψ'` (`HasWeight`), and let `𝔪` contain `D.M ^ 2`. Let all conjugates of the values |
| 289 | of `Ψ` have norm at most the integer `A`, and let `Q` be homogeneous of degree `d` with |
| 290 | `‖σ (Q z)‖ ≤ B` whenever all `‖σ (z i)‖ ≤ D.M ^ 4`. Then the `σ`-conjugate of |
| 291 | `modKernelScale L N D d` times the kernel has norm at most `exp D.x₁ * A * B`. -/ |
| 292 | lemma norm_modKernelScale_mul_modKernelStdSpace_le {P : Parameters} {D : Data P} {d : ℕ} |
| 293 | {a b : AutChar D.E} {ea eb : InfinitePlace D.E → ℤ} |
| 294 | {ψ ψ' : (w : FinPlace D.E) → MulChar (ResField w) ℂ} {𝔪 : Modulus D.E} |
| 295 | {Ψ : Matrix N L 𝔪.ResidueRing → ℂ} {Q : MvPolynomial (InfinitePlace D.E × N × L) ℂ} |
| 296 | (hL : card L ≤ D.gap) (hN : card N ≤ D.gap) (hd : d ≤ D.M) (ha : a.HasWeight ea ψ) |
| 297 | (hb : b.HasWeight eb ψ') (h𝔪 : ↑(D.M ^ 2) ∈ 𝔪.ideal) {A : ℕ} |
| 298 | (hA : ∀ (τ : ℂ ≃+* ℂ) (x : Matrix N L 𝔪.ResidueRing), ‖τ (Ψ x)‖ ≤ A) (hQ : Q.IsHomogeneous d) |
| 299 | (σ : ℂ ≃+* ℂ) {B : ℝ} (hB : ∀ z : InfinitePlace D.E × N × L → ℂ, |
| 300 | (∀ i : InfinitePlace D.E × N × L, ‖σ (z i)‖ ≤ D.M ^ 4) → ‖σ (Q.eval z)‖ ≤ B) |
| 301 | (g : Gf D.E L) (h : Gf D.E N) : |
| 302 | ‖σ (modKernelScale L N D d * modKernelStdSpace (stdSpace D.E L) a b 𝔪 Ψ Q (1, g) h)‖ ≤ |
| 303 | exp D.x₁ * A * B := by |
| 304 | -- The normalised kernel is `(D.M ^ 2) ^ denomExp` times the jet along `Q` of the Taylor series |
| 305 | -- of `ω f₀`, where `f₀` is a combination of translates of the vacuum with small coefficients. The |
| 306 | -- conjugates of the jet are bounded by `norm_jet_le_of_isVacuumCombination`, and `exp D.x₁` |
| 307 | -- absorbs the constants. |
| 308 | let denomExp : ℕ := 2 * Core.numInfPlaces D.E * card (N × L) |
| 309 | let V : Space D.E (N × L) (homSigns 1 1) := (stdSpace D.E L).hom (stdSpace D.E N) |
| 310 | let f₀ : 𝒮 V := P.vacuumScale D.towerExp ^ card (N × L) • (vacuumDatum _ _ 𝔪 Ψ).val |
| 311 | let ω : 𝒮 V →L[ℂ] 𝒮 V := pairWeil (stdSpace D.E L) (stdSpace D.E N) a b ((1, g), 1, h) |
| 312 | let J : ℂ := jetPairing Q (V.jetSeries (D.M ^ 2 * P.d * P.jetScale D.towerExp) (ω f₀)) |
| 313 | have jet_eq : modKernelScale L N D d * modKernelStdSpace (stdSpace D.E L) a b 𝔪 Ψ Q (1, g) h = |
| 314 | (D.M ^ 2) ^ denomExp * J := by |
| 315 | simp only [J, V, ω, f₀, jet_jetSeries_pairWeil_vacuumDatum hQ] |
| 316 | simp [modKernelScale, denomExp, mul_assoc] |
| 317 | have hB₀ : 0 ≤ B := (norm_nonneg _).trans (hB 0 (by simp)) |
| 318 | -- The coefficients of `f₀` have total size at most `card (N × L → 𝔪.ResidueRing) * A`; the free |
| 319 | -- exponent is taken to be `0`, and `ha`, `hb` enter as instance arguments. |
| 320 | let e : ℝ := P.constantBound * (P.q₁ D.towerExp * card (N × L) + 1) ^ 2 + |
| 321 | card (P.Φ D.towerExp × N × L) * log (2 * d + 2) |
| 322 | have h_jet : ‖σ J‖ ≤ card (N × L → 𝔪.ResidueRing) * A * exp e * B := by |
| 323 | simpa only [jetSizeBound, add_zero] using P.norm_jet_le_of_isVacuumCombination |
| 324 | (isVacuumCombination_vacuumDatum A hA) g h hB₀ le_rfl |
| 325 | (hasConjugateGrowth_of_isHomogeneous hd hQ σ hB) |
| 326 | calc _ = (D.M ^ 2) ^ denomExp * ‖σ J‖ := by simp [jet_eq] |
| 327 | _ ≤ (D.M ^ 2) ^ denomExp * (card (N × L → 𝔪.ResidueRing) * A * exp e * B) := by gcongr |
| 328 | _ = (D.M ^ 2) ^ denomExp * card (N × L → 𝔪.ResidueRing) * exp e * A * B := by ring |
| 329 | _ ≤ exp D.x₁ * A * B := by grw [M_pow_mul_card_mul_exp_le hL hN hd h𝔪] |
| 330 | |
| 331 | variable (L N) in |
| 332 | /-- The constant `c` is a scale for the theta kernels `modKernelStdSpace` of the standard definite |
| 333 | spaces `I_L`, `I_N` over the field `D.E` of the data `D`, for polynomials `Q` homogeneous of degree |
| 334 | `d` and characters `a`, `b` with exponents `ea`, `eb` at the infinite places and tame parts `ψ`, |
| 335 | `ψ'` (`HasWeight`): `c` times the kernel is integral at `p` when the input is, and its conjugates |
| 336 | are bounded when `L`, `N`, `d` and the input are. Here the principal level `D.M` is a product of |
| 337 | two primes, `D.gap = 2 * D.r ^ 8` with `D.r` the rank of the target (a power of `3`), and `D.x₁` |
| 338 | is the second cut-off of `D`, a large integer. -/ |
| 339 | structure IsModKernelScale {P : Parameters} (D : Data P) (d : ℕ) (c : ℂ) : Prop where |
| 340 | /-- Let `𝔪` contain `q * D.M ^ 2` and let the values of `Ψ` be integral at the primes coprime |
| 341 | to `q`. If `p` is such a prime and `g`, `h` and the coefficients of `Q` are integral at `p`, then |
| 342 | `c` times the kernel has `p`-adic norm at most `1`. -/ |
| 343 | norm_le_one {a b : AutChar D.E} {ea eb : InfinitePlace D.E → ℤ} |
| 344 | {ψ ψ' : (w : FinPlace D.E) → MulChar (ResField w) ℂ} {𝔪 : Modulus D.E} |
| 345 | {Ψ : Matrix N L 𝔪.ResidueRing → ℂ} {Q : MvPolynomial (InfinitePlace D.E × N × L) ℂ} |
| 346 | (ha : a.HasWeight ea ψ) (hb : b.HasWeight eb ψ') {q : ℕ} (hq : ↑(q * D.M ^ 2) ∈ 𝔪.ideal) |
| 347 | (hΨ : ∀ x : Matrix N L 𝔪.ResidueRing, Ψ x ∈ Seesaw.integralAway q) (hQ : Q.IsHomogeneous d) |
| 348 | {p : ℕ} [Fact p.Prime] [PadicPlace p] (hp : p.Coprime q) {g : Gf D.E L} {h : Gf D.E N} |
| 349 | (hg : g ∈ integralAbove L p) (hh : h ∈ integralAbove N p) |
| 350 | (hQ_int : Q ∈ (MvPolynomial.map embValRing.subtype).range) : |
| 351 | ‖ιₚ (c * modKernelStdSpace (stdSpace D.E L) a b 𝔪 Ψ Q (1, g) h)‖ ≤ 1 |
| 352 | /-- Let `L`, `N` have at most `D.gap` elements, let `d ≤ D.M` and let `𝔪` contain |
| 353 | `D.M ^ 2`. If `A` bounds all conjugates of the values of `Ψ`, and `B` bounds `σ ∘ Q` on the |
| 354 | polydisc `‖σ (z i)‖ ≤ D.M ^ 4`, then the `σ`-conjugate of `c` times the kernel has norm at |
| 355 | most `exp D.x₁ * A * B`. -/ |
| 356 | norm_map_le {a b : AutChar D.E} {ea eb : InfinitePlace D.E → ℤ} |
| 357 | {ψ ψ' : (w : FinPlace D.E) → MulChar (ResField w) ℂ} {𝔪 : Modulus D.E} |
| 358 | {Ψ : Matrix N L 𝔪.ResidueRing → ℂ} {Q : MvPolynomial (InfinitePlace D.E × N × L) ℂ} |
| 359 | (hL : card L ≤ D.gap) (hN : card N ≤ D.gap) (hd : d ≤ D.M) (ha : a.HasWeight ea ψ) |
| 360 | (hb : b.HasWeight eb ψ') (h𝔪 : ↑(D.M ^ 2) ∈ 𝔪.ideal) {A : ℕ} |
| 361 | (hA : ∀ (τ : ℂ ≃+* ℂ) (x : Matrix N L 𝔪.ResidueRing), ‖τ (Ψ x)‖ ≤ A) (hQ : Q.IsHomogeneous d) |
| 362 | (σ : ℂ ≃+* ℂ) {B : ℝ} (hB : ∀ z : InfinitePlace D.E × N × L → ℂ, |
| 363 | (∀ i : InfinitePlace D.E × N × L, ‖σ (z i)‖ ≤ D.M ^ 4) → ‖σ (Q.eval z)‖ ≤ B) |
| 364 | (g : Gf D.E L) (h : Gf D.E N) : |
| 365 | ‖σ (c * modKernelStdSpace (stdSpace D.E L) a b 𝔪 Ψ Q (1, g) h)‖ ≤ exp D.x₁ * A * B |
| 366 | |
| 367 | /-- Integrality and size of the theta kernels `modKernelStdSpace` of the standard definite spaces |
| 368 | `I_L`, `I_N` over the field `D.E` of the data `D`, built from a function `Ψ` on matrices modulo `𝔪` |
| 369 | and a polynomial `Q` homogeneous of degree `d`. There is a constant `c ≠ 0`, depending only on `L`, |
| 370 | `N`, `D` and `d`, with the two properties of `IsModKernelScale`. If `𝔪` contains `q * D.M ^ 2`, the |
| 371 | values of `Ψ` are integral away from `q`, and the points `g`, `h` and the coefficients of `Q` are |
| 372 | integral at a prime `p` coprime to `q`, then `c` times the kernel is integral at `p`. If `L`, `N` |
| 373 | have at most `D.gap` elements, `d ≤ D.M`, `𝔪` contains `D.M ^ 2`, `A` bounds the conjugates of the |
| 374 | values of `Ψ` and `B` bounds `σ ∘ Q` on the polydisc `‖σ (z i)‖ ≤ D.M ^ 4`, then the `σ`-conjugate |
| 375 | of `c` times the kernel has norm at most `exp D.x₁ * A * B`. -/ |
| 376 | lemma exists_ne_zero_isModKernelScale (L N : Type) [Fintype L] [DecidableEq L] [Fintype N] |
| 377 | [DecidableEq N] {P : Parameters} (D : Data P) (d : ℕ) : |
| 378 | ∃ c : ℂ, c ≠ 0 ∧ IsModKernelScale L N D d c := |
| 379 | ⟨modKernelScale L N D d, modKernelScale_ne_zero L N D d, |
| 380 | norm_modKernelScale_mul_modKernelStdSpace_le_one, norm_modKernelScale_mul_modKernelStdSpace_le⟩ |
| 381 | |
| 382 | end New.Rows |
| 383 | |
| 384 | end |