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.Int |
| 4 | import Mathlib.Data.Rat.Cast.OfScientific |
| 5 | import Mathlib.MeasureTheory.Integral.Pi |
| 6 | public import New.Determinant.AuxiliaryForms.DeepLevelPoincarePeriod |
| 7 | public import New.Determinant.AuxiliaryForms.PathData |
| 8 | public import Lib.Adelic.AutomorphicForms.Cuspidality |
| 9 | import Lib.Adelic.AutomorphicForms.RealConvolution |
| 10 | import Lib.DiscreteSeries.FlenstedJensen.PsiKTypes |
| 11 | import New.Appendix.DiscreteSeries.PositionGroup |
| 12 | import New.OneLift.ComparisonOperator.ExchangeData |
| 13 | import New.UpperBound.Objects.RowChain |
| 14 | |
| 15 | /-! |
| 16 | # Vanishing of forms on Y₀ orthogonal to the deep level on Ỹ^0_0 |
| 17 | |
| 18 | A form `y` of level `J_M = D.chosenLevel` on a hermitian space `V` is zero if it is orthogonal to |
| 19 | the restrictions of all forms of the deep level `J(𝔟)` on `V ⊕ ⟨1⟩`, translated by a suitable real |
| 20 | point `ω`. This requires size conditions on the level and a lower bound for the pairing of the |
| 21 | matrix coefficients for the parameter `l` of `V` and the parameter `l'` of `V ⊕ ⟨1⟩`. |
| 22 | |
| 23 | Every bound `S` of `‖y‖` is halved. The smoothing of `y` is its convolution with the translated |
| 24 | coefficient for `l'`; the point `ω` with the lower bound for the pairing comes from steepness, in |
| 25 | the proof of `New.Data.exists_eq_zero_of_orthogonal_gridLevelForms`. |
| 26 | |
| 27 | 1. Decay: `New.Exchange.integral_typeKernelMajorant_le`. |
| 28 | 2. The cusp: `New.Exchange.norm_le_half_of_firstMinimum_lt`. |
| 29 | 3. A Poincaré series is a form, so its period is zero: |
| 30 | `New.Exchange.poincare_period_translatedCoeff_eq_zero`. |
| 31 | 4. Unfolding shows that the smoothing of `y` is small: `New.Exchange.norm_poincare_period_sub_le` |
| 32 | and `New.Exchange.norm_realConv_translatedCoeff_le`. |
| 33 | 5. Undoing the smoothing: `New.Exchange.norm_le_half_of_le_firstMinimum`. |
| 34 | |
| 35 | ## Main definitions and results |
| 36 | |
| 37 | * `New.Exchange.HasDeepLevelSizes`: the size conditions. The real number `m` in them is at least a |
| 38 | power of `β` that absorbs all constants in the estimates. |
| 39 | * `New.Exchange.eq_zero_of_petersson_translate_eq_zero`: the criterion at a given real point; |
| 40 | `New.Exchange.exists_forall_eq_zero_of_petersson_restrict_eq_zero` chooses the point place by |
| 41 | place. |
| 42 | * `New.Data.exists_eq_zero_of_orthogonal_gridLevelForms`: the forms of level `J(𝔟)` on `Ỹ^0_0`, |
| 43 | restricted to `U(Y₀)` after translation by one real point, detect every nonzero form of level |
| 44 | `J_M` on `Y₀`. |
| 45 | |
| 46 | Notions from other files: |
| 47 | * `New.typeKernel`: `typeKernel l s` is the product over the infinite places `w` of the formal |
| 48 | degree times the conjugate matrix coefficient `(l w).dsCoeff` of the parameter `l w`. |
| 49 | * `New.Space.IsForm`: `V.IsForm e F` says that `F` is automorphic, bounded, and fixed by the right |
| 50 | convolution `New.realConv` with `e` over the real points (if `e` is integrable). |
| 51 | * `New.Space.firstMinimum`: the least norm of a nonzero vector of the lattice of a space, cut off at |
| 52 | `1`; `V.move x` is the space `V` with its adelic frame multiplied by `x`. |
| 53 | * `New.Data.principalForms`, `New.Data.gridLevelForms`: the forms fixed by `D.chosenLevel`, and the |
| 54 | forms on `Ỹ^i_0` fixed by the deep level, that is, the principal level of |
| 55 | `D.gridLevelGen = D.piM ^ D.natB`, where `D.piM * star D.piM = D.M` is `M`. |
| 56 | * `New.Data.spaceY`: the hermitian space `Y_j` with its adelic frame, chosen as in |
| 57 | `New.Data.exists_space_isStd_of_le_and_gram_eq_of_lt`. |
| 58 | * `(l w).HasLargeGap B`: the entries of `l w = 2λ` are distinct, of the parity of `card n - 1`, and |
| 59 | entries of `λ` with different signs are at least `500 n³ + B` apart; `dsCoeff` is the matrix |
| 60 | coefficient of the parameter and `dsKernel` its conjugate times the formal degree. |
| 61 | |
| 62 | ## Relation to the literature |
| 63 | |
| 64 | Nonvanishing periods via Poincaré series of deep level and restriction results of Burger–Sarnak type |
| 65 | are known in the literature. Related work: Prasad–Schulze-Pillot, Generalised form of a conjecture |
| 66 | of Jacquet, 2008; Harris, Testing rationality of coherent cohomology of Shimura varieties, 2014; |
| 67 | Muić, Fourier coefficients of automorphic forms and integrable discrete series, 2015. |
| 68 | -/ |
| 69 | |
| 70 | @[expose] public section |
| 71 | |
| 72 | /-! |
| 73 | ## A vanishing criterion through restrictions of deep level forms |
| 74 | |
| 75 | The parameter `l` of the forms on `V` has large gaps for `4 A`, and the parameter `l'` of the forms |
| 76 | on `V ⊕ ⟨1⟩` has large gaps for `2 A`, with `8 (card n + 1)² < A`. |
| 77 | -/ |
| 78 | |
| 79 | section DeepLevelTest |
| 80 | |
| 81 | open New MeasureTheory Matrix Finset Fintype Norms.L2Operator ComplexConjugate Space DiscreteSeries |
| 82 | U |
| 83 | |
| 84 | variable {P : Parameters} {D : Data P} (n : Type) [Fintype n] [DecidableEq n] [Nonempty n] |
| 85 | {s : n → ℤˣ} {V : Space D.E n s} (A : ℕ) {L N : ℕ} |
| 86 | |
| 87 | /-- A Lipschitz bound under left translation for the product over the infinite places `w` of the |
| 88 | conjugate matrix coefficients `(l w).dsCoeff`. The parameters `l w` are integer vectors with entries |
| 89 | bounded by `L` and large gaps: entries of `l w / 2` with different signs differ by at least |
| 90 | `500 n³ + 4 A`. If `β` bounds `2000 (card n + L + 1)⁶` and the number `D.f` of infinite places and |
| 91 | `u` is a real point within `δ` of `1`, the values at `u⁻¹ * z` and `z` differ by at most `β² δ`. -/ |
| 92 | lemma New.Exchange.norm_prod_conj_dsCoeff_inv_mul_sub_le {β δ : ℝ} |
| 93 | {l : NumberField.InfinitePlace D.E → HCParam s} |
| 94 | (h_gap : ∀ w : NumberField.InfinitePlace D.E, (l w).HasLargeGap (4 * A)) |
| 95 | (hl : ∀ (w : NumberField.InfinitePlace D.E) (i : n), |l w i| ≤ L) |
| 96 | (hβ : 2000 * (card n + L + 1) ^ 6 ≤ β) (hfβ : D.f ≤ β) {u : GInf D.E s} (hu : dist u 1 ≤ δ) |
| 97 | (z : GInf D.E s) : |
| 98 | ‖∏ w : NumberField.InfinitePlace D.E, conj ((l w).dsCoeff ((u⁻¹ * z) w)) - |
| 99 | ∏ w : NumberField.InfinitePlace D.E, conj ((l w).dsCoeff (z w))‖ ≤ β * (β * δ) := by |
| 100 | -- There are at most `β` factors, each of norm at most `1` and with Lipschitz constant `β`. |
| 101 | have β_nonneg : 0 ≤ β := hβ.trans' (by positivity) |
| 102 | let c (g : GInf D.E s) (w : NumberField.InfinitePlace D.E) : ℂ := conj ((l w).dsCoeff (g w)) |
| 103 | have factor_le (w : NumberField.InfinitePlace D.E) : ‖c (u⁻¹ * z) w - c z w‖ ≤ β * δ := by |
| 104 | have const_le : (100 * (card n + L + 1) ^ 5 : ℝ) ≤ β := hβ.trans' (mod_cast by lia) |
| 105 | -- `conj (dsCoeff g) = dsCoeff g⁻¹`, and `dsCoeff` is Lipschitz under right translation. |
| 106 | calc ‖c (u⁻¹ * z) w - c z w‖ |
| 107 | _ = ‖(l w).dsCoeff ((z w)⁻¹ * u w : USign s) - (l w).dsCoeff ((z w)⁻¹ : USign s)‖ := by |
| 108 | simp_rw [c, ← dsCoeff_inv (h_gap w), Pi.mul_apply, Pi.inv_apply, _root_.mul_inv_rev, |
| 109 | inv_inv] |
| 110 | _ ≤ 100 * (card n + L + 1) ^ 5 * ‖(u w : Matrix n n ℂ) - 1‖ := |
| 111 | norm_dsCoeff_sub_le (hg := h_gap w) (hl w) _ _ |
| 112 | _ ≤ β * δ := by |
| 113 | gcongr |
| 114 | exact (dist_eq_norm _ _).symm.trans_le ((dist_le_pi_dist u 1 w).trans hu) |
| 115 | have sub_le : ‖c (u⁻¹ * z) - c z‖ ≤ β * δ := (pi_norm_le_iff_of_nonempty _).2 factor_le |
| 116 | have norm_le_one (g : GInf D.E s) : ‖c g‖ ≤ 1 := |
| 117 | (pi_norm_le_iff_of_nonempty _).2 fun w ↦ by simp [c, norm_dsCoeff_le_one (h_gap w)] |
| 118 | -- `prodMap` is the product map `c ↦ ∏ w, c w`, multilinear of norm `1`. |
| 119 | let prodMap : ContinuousMultilinearMap ℂ (fun _ : NumberField.InfinitePlace D.E ↦ ℂ) ℂ := |
| 120 | .mkPiAlgebra ℂ (NumberField.InfinitePlace D.E) ℂ |
| 121 | calc ‖prodMap (c (u⁻¹ * z)) - prodMap (c z)‖ |
| 122 | _ ≤ ‖prodMap‖ * D.f * max ‖c (u⁻¹ * z)‖ ‖c z‖ ^ (D.f - 1) * ‖c (u⁻¹ * z) - c z‖ := |
| 123 | prodMap.norm_image_sub_le _ _ |
| 124 | _ ≤ ‖prodMap‖ * β * 1 ^ (D.f - 1) * (β * δ) := by |
| 125 | grw [norm_le_one, norm_le_one, max_self, hfβ, sub_le] |
| 126 | _ = β * (β * δ) := by simp [prodMap] |
| 127 | |
| 128 | variable {n A} {β m : ℝ} |
| 129 | |
| 130 | /-- The size conditions of the vanishing criterion for a space of rank `card n` over the field `D.E` |
| 131 | of the data `D`. The exponent `A` dominates the rank, the exponent `N` of a lower bound |
| 132 | `v * β ^ (-N)`, with `v` a volume, for local pairings of matrix coefficients, and the real |
| 133 | dimension; `β` dominates the constants, among them the cusp constant |
| 134 | `cuspConst D.E n D.cyclotomicConductor` and the bound `L` of the parameters; `m` is at least a large |
| 135 | power of `β`; and the generator of the deep level is large against `m` at every infinite place `w`, |
| 136 | with embedding `Φ w`. The radius `m` is a real number, not the number `D.m` of lifts. -/ |
| 137 | structure New.Exchange.HasDeepLevelSizes (D : Data P) (n : Type) [Fintype n] (A L N : ℕ) |
| 138 | (β m : ℝ) : Prop where |
| 139 | /-- `A` is large against the square of the rank. -/ |
| 140 | rank_sq_lt : 8 * (card n + 1) ^ 2 < A |
| 141 | /-- `A` exceeds the exponent `N` of the lower bound for the local pairings. -/ |
| 142 | exponent_lt : N < A |
| 143 | /-- `A` exceeds by `2` or more the real dimension of a space of rank `card n + 1` over `E ⊗ ℝ`. -/ |
| 144 | dim_le : 2 * D.f * (card n + 1) + 2 ≤ A |
| 145 | /-- `β` bounds the constant of the cusp estimate: `D.M` is the level and `cuspConst` depends on |
| 146 | the rank and on the number `D.cyclotomicConductor` in the different of `D.E`. -/ |
| 147 | cuspConst_sq_le : D.M * cuspConst D.E n D.cyclotomicConductor ^ 2 ≤ β |
| 148 | /-- `β` bounds a polynomial in the rank and the bound `L` of the parameters. -/ |
| 149 | rank_pow_le : 2000 * (card n + L + 1) ^ 6 ≤ β |
| 150 | /-- `β` bounds the number of infinite places. -/ |
| 151 | places_le : D.f ≤ β |
| 152 | /-- `m` is at least a large power of `β`. -/ |
| 153 | pow_le : β ^ (20 * A * (D.f + 1)) ≤ m |
| 154 | /-- The level is deep: its generator is large at every infinite place. -/ |
| 155 | pow_le_norm_gridLevelGen : ∀ w : NumberField.InfinitePlace D.E, |
| 156 | m ^ (3 * card n + 2) ≤ ‖Φ w D.gridLevelGen.val‖ |
| 157 | |
| 158 | section Sizes |
| 159 | omit [Nonempty n] |
| 160 | |
| 161 | section |
| 162 | |
| 163 | omit [DecidableEq n] |
| 164 | |
| 165 | lemma New.Exchange.HasDeepLevelSizes.sixteen_le |
| 166 | (h_size : Exchange.HasDeepLevelSizes D n A L N β m) : 16 ≤ β := |
| 167 | h_size.rank_pow_le.trans' (mod_cast by lia) |
| 168 | |
| 169 | /-- The size conditions for the deep level force the constant `β` to be at most the radius `m`, |
| 170 | which is at least a power of `β`. -/ |
| 171 | lemma New.Exchange.HasDeepLevelSizes.beta_le_m (h_size : Exchange.HasDeepLevelSizes D n A L N β m) : |
| 172 | β ≤ m := by |
| 173 | have one_le : 1 ≤ β := by linarith [h_size.sixteen_le] |
| 174 | have hA : N < A := h_size.exponent_lt |
| 175 | exact (le_self_pow₀ one_le (by lia)).trans h_size.pow_le |
| 176 | |
| 177 | /-- The comparison of constants behind `integral_typeKernelMajorant_le`. Of the size conditions for |
| 178 | the deep level it uses `8 (card n + 1)² < A`, `N < A`, `2000 (card n + L + 1)⁶ ≤ β` and |
| 179 | `β ^ (20 A (D.f + 1)) ≤ m`. The left side is the `D.f`-th power of the bound for the local |
| 180 | integrals; it is small against `m`. -/ |
| 181 | lemma New.Exchange.HasDeepLevelSizes.pow_places_le_div |
| 182 | (h_size : Exchange.HasDeepLevelSizes D n A L N β m) : |
| 183 | (8 * (2000 * (card n + L + 1) ^ 6) ^ (2 * card n ^ 2) * 2 ^ (2 * A)) ^ D.f ≤ |
| 184 | m / (16 * β) / (β ^ N * (2 * β) ^ (3 * A)) ^ D.f := by |
| 185 | have hA : 8 * (card n + 1) ^ 2 < A := h_size.rank_sq_lt |
| 186 | have hN : N < A := h_size.exponent_lt |
| 187 | have hβ₁₆ : 16 ≤ β := h_size.sixteen_le |
| 188 | have exponent_le : 1 + 2 * card n ^ 2 + 2 * A + (N + 2 * (3 * A)) ≤ 20 * A := by grind |
| 189 | rw [le_div_iff₀ (by positivity), le_div_iff₀ (by positivity)] |
| 190 | calc |
| 191 | _ ≤ (β * β ^ (2 * card n ^ 2) * β ^ (2 * A)) ^ D.f * (β ^ N * (β * β) ^ (3 * A)) ^ D.f * |
| 192 | (β * β) := by |
| 193 | gcongr |
| 194 | exacts [by linarith, h_size.rank_pow_le, by linarith, by linarith] |
| 195 | _ = β ^ ((1 + 2 * card n ^ 2 + 2 * A + (N + 2 * (3 * A))) * D.f + 2) := by ring |
| 196 | _ ≤ β ^ (20 * A * (D.f + 1)) := |
| 197 | pow_le_pow_right₀ (by linarith) (by linarith [Nat.mul_le_mul_right D.f exponent_le]) |
| 198 | _ ≤ m := h_size.pow_le |
| 199 | |
| 200 | end |
| 201 | |
| 202 | /-- Under the size conditions `HasDeepLevelSizes`, `D.M * κ²` is at most `β ≤ m`. Here |
| 203 | `κ = cuspConst D.E n D.cyclotomicConductor` is the constant of the cusp estimate |
| 204 | `IsForm.norm_le_of_firstMinimum_lt`. So where `V.firstMinimum` is at least the threshold |
| 205 | `(m⁻² / (D.M κ²)) ^ card n` of that estimate, `m² ≤ m ^ (3 card n + 2) * V.firstMinimum`. -/ |
| 206 | lemma New.Exchange.HasDeepLevelSizes.sq_le_pow_mul_firstMinimum |
| 207 | (h_size : Exchange.HasDeepLevelSizes D n A L N β m) |
| 208 | (h_large : (m⁻¹ ^ 2 / (D.M * cuspConst D.E n D.cyclotomicConductor ^ 2)) ^ card n ≤ |
| 209 | V.firstMinimum) : |
| 210 | m ^ 2 ≤ m ^ (3 * card n + 2) * V.firstMinimum := by |
| 211 | have m_ge : 16 ≤ m := h_size.sixteen_le.trans h_size.beta_le_m |
| 212 | have const_le : D.M * cuspConst D.E n D.cyclotomicConductor ^ 2 ≤ m := |
| 213 | h_size.cuspConst_sq_le.trans h_size.beta_le_m |
| 214 | have const_pos : 0 < D.M * cuspConst D.E n D.cyclotomicConductor ^ 2 := by |
| 215 | grw [← one_le_cuspConst] |
| 216 | simp [NeZero.pos] |
| 217 | calc m ^ 2 |
| 218 | _ = m ^ (3 * card n + 2) * (m⁻¹ ^ 2 / m) ^ card n := by |
| 219 | rw [show m⁻¹ ^ 2 / m = (m ^ 3)⁻¹ by field, inv_pow, ← pow_mul, pow_add] |
| 220 | field |
| 221 | _ ≤ m ^ (3 * card n + 2) * V.firstMinimum := by grw [← h_large, const_le] |
| 222 | |
| 223 | end Sizes |
| 224 | |
| 225 | /-- The function `u ↦ ∏_w deg(l w) (2 / ‖u w‖) ^ (2 A)` on the real points, with `deg` the formal |
| 226 | degree. It is a majorant of `‖typeKernel l s‖` that keeps half of its decay when the parameters |
| 227 | `l w` have large gaps for `4 A`. -/ |
| 228 | noncomputable def New.Exchange.typeKernelMajorant (l : NumberField.InfinitePlace D.E → HCParam s) |
| 229 | (A : ℕ) (u : GInf D.E s) : ℝ := |
| 230 | ∏ w : NumberField.InfinitePlace D.E, (l w).formalDegree * (2 / ‖(u w).val.val‖) ^ (2 * A) |
| 231 | |
| 232 | /-- Let the parameters `l w` have large gaps for `4 A` and entries bounded by `L`. Then |
| 233 | `typeKernelMajorant l A`, the product over the infinite places `w` of the formal degree of `l w` |
| 234 | times `(2 / ‖u w‖) ^ (2 A)`, is integrable over the real points `u`. Under the size conditions for |
| 235 | the deep level, where `β` dominates the constants, `β ^ N` is the loss in the local pairings and |
| 236 | `m` is at least a large power of `β`, its integral is at most |
| 237 | `m / (16 β) / (β ^ N (2 β) ^ (3 A)) ^ D.f`, with `D.f` the number of infinite places. -/ |
| 238 | lemma New.Exchange.integral_typeKernelMajorant_le {l : NumberField.InfinitePlace D.E → HCParam s} |
| 239 | (h_size : HasDeepLevelSizes D n A L N β m) |
| 240 | (h_gap : ∀ w : NumberField.InfinitePlace D.E, (l w).HasLargeGap (4 * A)) |
| 241 | (hl : ∀ (w : NumberField.InfinitePlace D.E) (i : n), |l w i| ≤ L) : |
| 242 | Integrable (typeKernelMajorant l A) ∧ |
| 243 | ∫ u : GInf D.E s, typeKernelMajorant l A u ≤ |
| 244 | m / (16 * β) / (β ^ N * (2 * β) ^ (3 * A)) ^ D.f := by |
| 245 | have hA : 8 * (card n + 1) ^ 2 < A := h_size.rank_sq_lt |
| 246 | let factor (w : NumberField.InfinitePlace D.E) (g : USign s) : ℝ := |
| 247 | (l w).formalDegree * (2 / ‖(g : Matrix n n ℂ)‖) ^ (2 * A) |
| 248 | let C : ℝ := 8 * (2000 * (card n + L + 1) ^ 6) ^ (2 * card n ^ 2) * 2 ^ (2 * A) |
| 249 | have tail (w : NumberField.InfinitePlace D.E) : |
| 250 | Integrable (factor w) ∧ ∫ g : USign s, factor w g ≤ C := |
| 251 | integral_tail_le (hg := h_gap w) (hl w) (2 * A) (by lia) |
| 252 | -- `(… :)`: matching `∏ i, ?f i (u i)` against the goal would unfold the product. |
| 253 | refine ⟨(Integrable.fintype_prod fun w ↦ (tail w).left :), ?_⟩ |
| 254 | calc ∫ u : GInf D.E s, ∏ w, factor w (u w) |
| 255 | _ = ∏ w, ∫ g : USign s, factor w g := integral_fintype_prod_volume_eq_prod factor |
| 256 | _ ≤ C ^ D.f := (prod_le_prod₀ (fun w _ ↦ by positivity [formalDegree_pos (h_gap w)]) |
| 257 | fun w _ ↦ (tail w).right).trans_eq (by rw [prod_const, card_univ]) |
| 258 | _ ≤ m / (16 * β) / (β ^ N * (2 * β) ^ (3 * A)) ^ D.f := h_size.pow_places_le_div |
| 259 | |
| 260 | /-- The kernel `typeKernel l s` varies slowly. Let the parameters `l w` have large gaps for `4 A` |
| 261 | and entries bounded by `L`, and assume the size conditions `HasDeepLevelSizes D n A L N β m`: `β` |
| 262 | dominates the constants and `m` is at least a large power of `β`. For a real point `u` within |
| 263 | `m⁻¹ ^ 2` of `1`, the values of the kernel at `u⁻¹ * z` and `z` differ by at most `β / m` times the |
| 264 | sum of the values at these points of `typeKernelMajorant l A`, the function |
| 265 | `u ↦ ∏ w, deg(l w) (2 / ‖u w‖) ^ (2 A)` with `deg` the formal degree. -/ |
| 266 | lemma New.Exchange.norm_typeKernel_inv_mul_sub_le {l : NumberField.InfinitePlace D.E → HCParam s} |
| 267 | (h_size : HasDeepLevelSizes D n A L N β m) |
| 268 | (h_gap : ∀ w : NumberField.InfinitePlace D.E, (l w).HasLargeGap (4 * A)) |
| 269 | (hl : ∀ (w : NumberField.InfinitePlace D.E) (i : n), |l w i| ≤ L) |
| 270 | {u : GInf D.E s} (hu : dist u 1 ≤ m⁻¹ ^ 2) (z : GInf D.E s) : |
| 271 | ‖typeKernel l s (u⁻¹ * z) - typeKernel l s z‖ ≤ |
| 272 | (typeKernelMajorant l A (u⁻¹ * z) + typeKernelMajorant l A z) * (β / m) := by |
| 273 | have hβ₁₆ : 16 ≤ β := h_size.sixteen_le |
| 274 | have m_ge : 16 ≤ m := hβ₁₆.trans h_size.beta_le_m |
| 275 | let deg : ℝ := ∏ w, (l w).formalDegree |
| 276 | let ψ (g : GInf D.E s) : ℂ := ∏ w, conj ((l w).dsCoeff (g w)) |
| 277 | let decay (g : GInf D.E s) : ℝ := ∏ w, (2 / ‖(g w : Matrix n n ℂ)‖) ^ (2 * A) |
| 278 | have deg_pos : 0 < deg := prod_pos fun w _ ↦ formalDegree_pos (h_gap w) |
| 279 | have kernel_eq (g : GInf D.E s) : typeKernel l s g = deg * ψ g := by |
| 280 | simp [typeKernel, dsKernel, deg, ψ, prod_mul_distrib] |
| 281 | have majorant_eq (g : GInf D.E s) : typeKernelMajorant l A g = deg * decay g := prod_mul_distrib |
| 282 | have ψ_le (g : GInf D.E s) : ‖ψ g‖ ≤ decay g ^ 2 := |
| 283 | calc ‖ψ g‖ |
| 284 | _ = ∏ w, ‖(l w).dsCoeff (g w)‖ := by simp only [ψ, norm_prod, RCLike.norm_conj] |
| 285 | _ ≤ ∏ w, (2 / ‖(g w : Matrix n n ℂ)‖) ^ (4 * A) := by |
| 286 | gcongr with w |
| 287 | exact norm_dsCoeff_le_pow (h_gap w) le_add_self (g w) |
| 288 | _ = decay g ^ 2 := by simp only [decay, ← prod_pow, ← pow_mul]; ring_nf |
| 289 | have lipschitz : ‖ψ (u⁻¹ * z) - ψ z‖ ≤ β * (β * m⁻¹ ^ 2) := |
| 290 | norm_prod_conj_dsCoeff_inv_mul_sub_le n A h_gap hl h_size.rank_pow_le h_size.places_le hu z |
| 291 | have ψ_sub_le : ‖ψ (u⁻¹ * z) - ψ z‖ ≤ (decay (u⁻¹ * z) + decay z) * (β / m) := by |
| 292 | refine (sq_le_sq₀ (norm_nonneg _) (by positivity)).1 ?_ |
| 293 | calc ‖ψ (u⁻¹ * z) - ψ z‖ ^ 2 |
| 294 | _ ≤ β * (β * m⁻¹ ^ 2) * (decay (u⁻¹ * z) ^ 2 + decay z ^ 2) := by |
| 295 | rw [sq ‖_‖] |
| 296 | nth_grw 1 [lipschitz, norm_sub_le, ψ_le, ψ_le] |
| 297 | _ ≤ β * (β * m⁻¹ ^ 2) * (decay (u⁻¹ * z) + decay z) ^ 2 := by |
| 298 | gcongr |
| 299 | exact pow_add_pow_le (by positivity) (by positivity) two_ne_zero |
| 300 | _ = ((decay (u⁻¹ * z) + decay z) * (β / m)) ^ 2 := by ring |
| 301 | calc ‖typeKernel l s (u⁻¹ * z) - typeKernel l s z‖ |
| 302 | _ = deg * ‖ψ (u⁻¹ * z) - ψ z‖ := by |
| 303 | rw [kernel_eq, kernel_eq, ← mul_sub, norm_mul, Complex.norm_of_nonneg deg_pos.le] |
| 304 | _ ≤ deg * ((decay (u⁻¹ * z) + decay z) * (β / m)) := by gcongr |
| 305 | _ = _ := by rw [majorant_eq, majorant_eq, ← mul_add, mul_assoc] |
| 306 | |
| 307 | /-- High in a cusp a form is at most half of its bound. Assume the size conditions |
| 308 | `HasDeepLevelSizes D n A L N β m`, and let the parameters `l w` have large gaps for `4 A` and |
| 309 | entries bounded by `L`. Let `y` be a form on `V` of type `l`, right invariant under the principal |
| 310 | congruence subgroup of level `D.M` (`HasLevel`) and bounded by `S`. Where the first minimum of the |
| 311 | lattice of `V.move x` is below the threshold of the cusp estimate, whose constant is |
| 312 | `cuspConst D.E n D.cyclotomicConductor`, we have `‖y x‖ ≤ S / 2`. -/ |
| 313 | lemma New.Exchange.norm_le_half_of_firstMinimum_lt {l : NumberField.InfinitePlace D.E → HCParam s} |
| 314 | (h_size : HasDeepLevelSizes D n A L N β m) |
| 315 | (h_gap : ∀ w : NumberField.InfinitePlace D.E, (l w).HasLargeGap (4 * A)) |
| 316 | (hl : ∀ (w : NumberField.InfinitePlace D.E) (i : n), |l w i| ≤ L) |
| 317 | {y : G D.E s → ℂ} (hy : V.IsForm (typeKernel l s) y) |
| 318 | (hy_level : HasLevel y (principalLevel n D.M)) |
| 319 | {S : ℝ} (hS : ∀ g : G D.E s, ‖y g‖ ≤ S) {x : G D.E s} |
| 320 | (h_small : (V.move x).firstMinimum < |
| 321 | (m⁻¹ ^ 2 / (D.M * cuspConst D.E n D.cyclotomicConductor ^ 2)) ^ card n) : |
| 322 | ‖y x‖ ≤ S / 2 := by |
| 323 | -- By cuspidality (`IsForm.norm_le_of_firstMinimum_lt`) it is enough to bound |
| 324 | -- `‖y (x * (u, 1)) - y x‖` by `S / 2` for real points `u` within `m⁻¹ ^ 2` of `1`. |
| 325 | have hβ₁₆ : 16 ≤ β := h_size.sixteen_le |
| 326 | have m_ge : 16 ≤ m := hβ₁₆.trans h_size.beta_le_m |
| 327 | have S_nonneg : 0 ≤ S := (norm_nonneg (y x)).trans (hS x) |
| 328 | have cusp : IsCuspKernel (4 * A) (typeKernel l s) := isCuspKernel_typeKernel h_gap |
| 329 | let major : GInf D.E s → ℝ := typeKernelMajorant l A |
| 330 | obtain ⟨major_int, integral_major⟩ := integral_typeKernelMajorant_le h_size h_gap hl |
| 331 | have integral_le : ∫ u, major u ≤ m / (16 * β) := |
| 332 | integral_major.trans (div_le_self (by positivity) (by bound)) |
| 333 | refine hy.norm_le_of_firstMinimum_lt cusp P.conductor_mem_differentIdeal NeZero.out hy_level |
| 334 | (δ := m⁻¹ ^ 2) (by positivity) (by bound) h_small fun u hu ↦ ?_ |
| 335 | -- The oscillation of the form is controlled by the L¹ difference of the translated kernels. |
| 336 | have shift_int : Integrable (fun z ↦ major (u⁻¹ * z)) := major_int.comp_mul_left u⁻¹ |
| 337 | calc ‖y (x * (u, 1)) - y x‖ |
| 338 | _ ≤ (∫ z, ‖typeKernel l s (u⁻¹ * z) - typeKernel l s z‖) * S := by |
| 339 | simpa only [hy.realConv_eq cusp.integrable] using |
| 340 | norm_realConv_mul_sub_le hy.isBoundedMeasurable cusp.integrable x u |
| 341 | (fun z _ ↦ hS (x * (z, 1))) |
| 342 | _ ≤ (∫ z, (major (u⁻¹ * z) + major z) * (β / m)) * S := by |
| 343 | apply mul_le_mul_of_nonneg_right _ S_nonneg |
| 344 | exact integral_mono ((cusp.integrable.comp_mul_left u⁻¹).sub cusp.integrable).norm |
| 345 | ((shift_int.add major_int).mul_const _) (norm_typeKernel_inv_mul_sub_le h_size h_gap hl hu) |
| 346 | _ = 2 * (∫ z, major z) * (β / m) * S := by |
| 347 | rw [integral_mul_const, integral_add shift_int major_int, integral_mul_left_eq_self major, |
| 348 | two_mul] |
| 349 | _ ≤ 2 * (m / (16 * β)) * (β / m) * S := by gcongr |
| 350 | _ = S / 8 := by field |
| 351 | _ ≤ S / 2 := by linarith |
| 352 | |
| 353 | omit [Nonempty n] in |
| 354 | /-- Let `y` be a function on the group of `V` whose Petersson product with `x ↦ φ ((x ⊕ 1) ω)` is |
| 355 | zero for all forms `φ` on `Z = V ⊕ ⟨1⟩` of type `l'` and level `K`, where the parameters `l' w` have |
| 356 | large gaps for `2 A`. Fix a real point `α` and put `c g = ∏ w, conj ((l' w).dsCoeff ((α w)⁻¹ * g w * |
| 357 | ω w))`, the translated coefficient for `l'`. Then the Poincaré series over the rational points `γ` |
| 358 | of `Z` of `c` times the indicator of `K` at the finite part (`poincareKernel`), centred at `x ⊕ 1`, |
| 359 | has zero period against `y` over the quotient of the group of `V` by its rational points |
| 360 | (`quotMeasure`). -/ |
| 361 | lemma New.Exchange.poincare_period_translatedCoeff_eq_zero |
| 362 | {l' : NumberField.InfinitePlace D.E → HCParam (s ⊕ᵥ (1 : Unit → ℤˣ))} |
| 363 | (h_gap' : ∀ w : NumberField.InfinitePlace D.E, (l' w).HasLargeGap (2 * A)) |
| 364 | {ω : GInf D.E (s ⊕ᵥ (1 : Unit → ℤˣ))} {y : G D.E s → ℂ} |
| 365 | {K : Subgroup (Gf D.E (n ⊕ Unit))} [IsLevel K] |
| 366 | (h_orth : ∀ φ ∈ levelSpace |
| 367 | ((V.sum (signedSpace D.E (1 : Unit → ℤˣ))).formRep (typeKernel l' (s ⊕ᵥ 1))) K, |
| 368 | V.petersson y (fun x : G D.E s ↦ φ (G.sum (x, 1) * (ω, 1))) = 0) |
| 369 | (x : G D.E s) (α : GInf D.E (s ⊕ᵥ (1 : Unit → ℤˣ))) : |
| 370 | ∫ h : G D.E s, ∑' γ : (V.sum (signedSpace D.E (1 : Unit → ℤˣ))).Γ, |
| 371 | poincareKernel (translatedCoeff l' α ω) K |
| 372 | ((G.inlLine D.E s x)⁻¹ * γ * G.inlLine D.E s h) * y h ∂V.quotMeasure = 0 := by |
| 373 | -- The Poincaré series is, up to the nonzero formal degrees, the conjugate of the value at |
| 374 | -- `G.sum (h, 1) * (ω, 1)` of a form `Q` of type `l'` and level `K` on `Z`; the series converges |
| 375 | -- to a form by projecting a compactly supported bump. |
| 376 | let Z : Space D.E (n ⊕ Unit) (s ⊕ᵥ 1) := V.sum (signedSpace D.E 1) |
| 377 | let term (γ : Z.Γ) (h : G D.E s) : ℂ := |
| 378 | poincareKernel (translatedCoeff l' α ω) K ((G.inlLine D.E s x)⁻¹ * γ.val * G.inlLine D.E s h) |
| 379 | let deg : ℂ := ∏ w, (l' w).formalDegree |
| 380 | have deg_ne : deg ≠ 0 := by simp [deg, prod_ne_zero_iff, (formalDegree_pos (h_gap' _)).ne'] |
| 381 | let centreInv : G D.E (s ⊕ᵥ 1) := (G.sum (x, 1) * (α, 1))⁻¹ |
| 382 | obtain ⟨Q, hQ⟩ : ∃ Q : levelSpace (Z.formRep (typeKernel l' (s ⊕ᵥ 1))) K, |
| 383 | ∀ g : G D.E (s ⊕ᵥ 1), conj (Q.val g) = ∑' γ : Z.Γ, |
| 384 | typeKernel l' (s ⊕ᵥ 1) (centreInv * γ * g).1 * Set.indicator K 1 (centreInv * γ * g).2 := |
| 385 | Z.exists_kernel_form (isCuspKernel_typeKernel h_gap') centreInv K |
| 386 | have conj_Q (h : G D.E s) : |
| 387 | conj (Q.val (G.sum (h, 1) * (ω, 1))) = deg * ∑' γ : Z.Γ, term γ h := by |
| 388 | rw [hQ, ← tsum_mul_left] |
| 389 | congr! 2 with γ |
| 390 | simp [term, deg, centreInv, poincareKernel, G.inlLine, translatedCoeff, typeKernel, dsKernel, |
| 391 | prod_mul_distrib, mul_assoc] |
| 392 | refine (mul_eq_zero_iff_left deg_ne).1 ?_ |
| 393 | calc deg * ∫ h : G D.E s, ∑' γ : Z.Γ, term γ h * y h ∂V.quotMeasure |
| 394 | _ = V.petersson (fun h : G D.E s ↦ Q.val (G.sum (h, 1) * (ω, 1))) y := by |
| 395 | simp_rw [petersson, conj_Q, tsum_mul_right, ← integral_const_mul, mul_assoc] |
| 396 | _ = 0 := by rw [← conj_petersson, h_orth Q.val Q.prop, map_zero] |
| 397 | |
| 398 | omit [Nonempty n] in |
| 399 | /-- Assume the size conditions `HasDeepLevelSizes D n A L N β m` and large gaps for `2 A` of the |
| 400 | parameters `l' w`. Let `y` be automorphic on `V`, of the deep level |
| 401 | `principalLevel n D.gridLevelGen`, and bounded by `S`. Let it also be orthogonal to |
| 402 | `x ↦ φ ((x ⊕ 1) ω)` for all forms `φ` on `V ⊕ ⟨1⟩` of type `l'` and deep level. For a real point |
| 403 | `α`, the translated coefficient `translatedCoeff l' α ω g` is |
| 404 | `∏ w, conj ((l' w).dsCoeff ((α w)⁻¹ * g w * ω w))`. Where |
| 405 | `m² ≤ m ^ (3 card n + 2) * (V.move x).firstMinimum`, its restriction along the block embedding |
| 406 | `inl s 1` is integrable. The convolution of this restriction with `y` at `x` is then at most |
| 407 | `10 S / m` times `sliceConst A α ω = ∏ w, (2 (‖α w‖ ‖ω w‖)²) ^ A * 16 ^ A * v`, with `v` the volume |
| 408 | of the unit ball around `1` in `U(s)`. -/ |
| 409 | lemma New.Exchange.norm_realConv_translatedCoeff_le |
| 410 | {l' : NumberField.InfinitePlace D.E → HCParam (s ⊕ᵥ (1 : Unit → ℤˣ))} |
| 411 | (h_size : HasDeepLevelSizes D n A L N β m) |
| 412 | (h_gap' : ∀ w : NumberField.InfinitePlace D.E, (l' w).HasLargeGap (2 * A)) |
| 413 | {ω : GInf D.E (s ⊕ᵥ (1 : Unit → ℤˣ))} {y : G D.E s → ℂ} (hy : V.IsAutomorphic y) |
| 414 | (hy_level : HasLevel y (principalLevel n D.gridLevelGen)) |
| 415 | (h_orth : ∀ φ ∈ levelSpace |
| 416 | ((V.sum (signedSpace D.E (1 : Unit → ℤˣ))).formRep (typeKernel l' (s ⊕ᵥ 1))) |
| 417 | (principalLevel (n ⊕ Unit) D.gridLevelGen), |
| 418 | V.petersson y (fun x : G D.E s ↦ φ (G.sum (x, 1) * (ω, 1))) = 0) |
| 419 | {S : ℝ} (hS : ∀ g : G D.E s, ‖y g‖ ≤ S) {x : G D.E s} |
| 420 | (h_large : m ^ 2 ≤ m ^ (3 * card n + 2) * (V.move x).firstMinimum) |
| 421 | (α : GInf D.E (s ⊕ᵥ (1 : Unit → ℤˣ))) : |
| 422 | Integrable (fun r : GInf D.E s ↦ translatedCoeff l' α ω (inl s 1 ∘ r)) ∧ |
| 423 | ‖realConv (fun r : GInf D.E s ↦ translatedCoeff l' α ω (inl s 1 ∘ r)) y x‖ ≤ |
| 424 | sliceConst A α ω * S * (10 / m) := by |
| 425 | -- The period of the Poincaré series of the coefficient against `y` is `0` by `h_orth`, so its |
| 426 | -- identity term is as small as the error in `norm_poincare_period_sub_le`. |
| 427 | have m_ge : 16 ≤ m := h_size.sixteen_le.trans h_size.beta_le_m |
| 428 | let vol : ℝ := volume.real (principalLevel n D.gridLevelGen : Set (Gf D.E n)) |
| 429 | let slice (r : GInf D.E s) : ℂ := translatedCoeff l' α ω (inl s 1 ∘ r) |
| 430 | have key : Integrable slice ∧ |
| 431 | ‖0 - vol • realConv slice y x‖ ≤ vol * sliceConst A α ω * S * (10 / m) := by |
| 432 | rw [← poincare_period_translatedCoeff_eq_zero h_gap' h_orth x α] |
| 433 | exact norm_poincare_period_sub_le hy hS Fact.out hy_level h_size.pow_le_norm_gridLevelGen |
| 434 | h_size.dim_le |
| 435 | h_size.rank_sq_lt h_gap' (by positivity) x h_large (h_size.places_le.trans h_size.beta_le_m) |
| 436 | (by linarith) ω α |
| 437 | -- The positive volume `vol` of the level cancels. |
| 438 | simpa [vol, measureReal_pos_of_isLevel, abs_of_pos, mul_assoc] using key |
| 439 | |
| 440 | /-- Let the parameter `l` have large gaps for `4 * A` (`HasLargeGap`), let `16 ≤ β` and |
| 441 | `‖ω‖ ^ 2 ≤ β`. Then the norm of the kernel `dsKernel l r`, times |
| 442 | `(2 (‖inl s 1 r * ω‖ ‖ω‖)²) ^ A * 16 ^ A`, is at most |
| 443 | `l.formalDegree * (2 / ‖r‖) ^ (2 A) * (2 β) ^ (3 A)`. Here `inl s 1 r = diag(r, 1)`. -/ |
| 444 | lemma New.Exchange.norm_dsKernel_mul_pow_le {l : HCParam s} (h_gap : l.HasLargeGap (4 * A)) |
| 445 | (hβ : 16 ≤ β) {ω : USign (s ⊕ᵥ (1 : Unit → ℤˣ))} |
| 446 | (hω : ‖(ω : Matrix (n ⊕ Unit) (n ⊕ Unit) ℂ)‖ ^ 2 ≤ β) (r : USign s) : |
| 447 | ‖dsKernel l r‖ * |
| 448 | ((2 * (‖((inl s 1 r * ω : USign (s ⊕ᵥ 1)) : Matrix (n ⊕ Unit) (n ⊕ Unit) ℂ)‖ * |
| 449 | ‖(ω : Matrix (n ⊕ Unit) (n ⊕ Unit) ℂ)‖) ^ 2) ^ A * 16 ^ A) ≤ |
| 450 | l.formalDegree * (2 / ‖(r : Matrix n n ℂ)‖) ^ (2 * A) * (2 * β) ^ (3 * A) := by |
| 451 | set ρ : ℝ := ‖(r : Matrix n n ℂ)‖ |
| 452 | set σ : ℝ := ‖(ω : Matrix (n ⊕ Unit) (n ⊕ Unit) ℂ)‖ |
| 453 | have ρ_pos : 0 < ρ := one_pos.trans_le (one_le_norm r) |
| 454 | have hdeg : 0 < l.formalDegree := formalDegree_pos h_gap |
| 455 | have kernel_le : ‖dsKernel l r‖ ≤ l.formalDegree * (2 / ρ) ^ (4 * A) := by |
| 456 | grw [← norm_dsCoeff_le_pow h_gap le_add_self r] |
| 457 | simp [dsKernel, abs_of_pos hdeg] |
| 458 | have norm_le : |
| 459 | ‖((inl s 1 r * ω : USign (s ⊕ᵥ 1)) : Matrix (n ⊕ Unit) (n ⊕ Unit) ℂ)‖ ≤ ρ * σ := |
| 460 | (norm_mul_le _ _).trans_eq (by simp [ρ, σ, one_le_norm]) |
| 461 | calc |
| 462 | _ ≤ l.formalDegree * (2 / ρ) ^ (4 * A) * ((2 * (ρ * β) ^ 2) ^ A * β ^ A) := by |
| 463 | grw [kernel_le, norm_le, mul_assoc ρ, ← sq, hω, hβ] |
| 464 | _ = l.formalDegree * (2 / ρ) ^ (2 * A) * (2 * β) ^ (3 * A) := by |
| 465 | simp only [pow_mul, mul_assoc, ← mul_pow] |
| 466 | congr 2 |
| 467 | field |
| 468 | |
| 469 | /-- Let the parameters `l w` have large gaps for `4 A`, so that their formal degrees are positive, |
| 470 | and let `ω` be a real point, with a component `ω w` in `U(s ⊕ᵥ 1)` at each infinite place `w`. Pair |
| 471 | the conjugate of the kernel `typeKernel l s`, divided by the value of the kernel at `1`, with the |
| 472 | restriction along `inl s 1 : r ↦ r ⊕ 1` of |
| 473 | `translatedCoeff l' ω ω g = ∏ w, conj ((l' w).dsCoeff ((ω w)⁻¹ * g w * ω w))`. This integral over |
| 474 | the real points is the product over `w` of the local pairings of the matrix coefficients. -/ |
| 475 | lemma New.Exchange.integral_translatedCoeff_mul_eq_prod |
| 476 | {l : NumberField.InfinitePlace D.E → HCParam s} |
| 477 | {l' : NumberField.InfinitePlace D.E → HCParam (s ⊕ᵥ (1 : Unit → ℤˣ))} |
| 478 | (h_gap : ∀ w : NumberField.InfinitePlace D.E, (l w).HasLargeGap (4 * A)) |
| 479 | (ω : GInf D.E (s ⊕ᵥ (1 : Unit → ℤˣ))) : |
| 480 | ∫ z : GInf D.E s, |
| 481 | translatedCoeff l' ω ω (inl s 1 ∘ z) * (conj (typeKernel l s z) / typeKernel l s 1) = |
| 482 | ∏ w : NumberField.InfinitePlace D.E, ∫ r : USign s, (l w).dsCoeff r * |
| 483 | conj ((l' w).dsCoeff ((ω w)⁻¹ * inl s 1 r * ω w : USign (s ⊕ᵥ 1))) := by |
| 484 | rw [← integral_fintype_prod_volume_eq_prod] |
| 485 | refine integral_congr_ae (.of_forall fun z ↦ ?_) |
| 486 | -- The formal degrees in `dsKernel` are positive and cancel in the quotient. |
| 487 | simp [translatedCoeff, field, typeKernel, dsKernel, prod_mul_distrib, prod_eq_zero_iff, ne_of_gt, |
| 488 | formalDegree_pos (h_gap _)] |
| 489 | |
| 490 | omit [Nonempty n] in |
| 491 | /-- Right translation of the point by the real point `u` moves `u ⊕ 1` into the left argument of |
| 492 | the translated coefficient. -/ |
| 493 | lemma New.Exchange.realConv_translatedCoeff_mul |
| 494 | (l' : NumberField.InfinitePlace D.E → HCParam (s ⊕ᵥ (1 : Unit → ℤˣ))) |
| 495 | (α ω : GInf D.E (s ⊕ᵥ (1 : Unit → ℤˣ))) (y : G D.E s → ℂ) (x : G D.E s) (u : GInf D.E s) : |
| 496 | realConv (fun r : GInf D.E s ↦ translatedCoeff l' α ω (inl s 1 ∘ r)) y (x * (u, 1)) = |
| 497 | realConv (fun r : GInf D.E s ↦ translatedCoeff l' (inl s 1 ∘ u * α) ω (inl s 1 ∘ r)) y x := by |
| 498 | rw [realConv, realConv, ← integral_mul_left_eq_self (fun z ↦ _ * y (x * (z, 1))) u] |
| 499 | -- The products stay in the group, where `(inl u)⁻¹ * inl u` cancels. |
| 500 | simp [translatedCoeff, mul_assoc, -Subgroup.coe_mul, -MulMemClass.coe_mul] |
| 501 | |
| 502 | /-- Let the parameters `l w` have large gaps for `4 A` and let `ω` satisfy `‖ω w‖ ^ 2 ≤ β` at |
| 503 | every infinite place `w` of `D.E`, with `16 ≤ β` and `0 ≤ v`, `0 ≤ S`, `0 ≤ m`. Let |
| 504 | `y : G D.E s → ℂ`, `x : G D.E s`, `u : GInf D.E s`, and `l'` be Harish–Chandra parameters on |
| 505 | `s ⊕ᵥ 1`. If the convolution of `y` at `x` with `translatedCoeff l'` for |
| 506 | `((inl s 1 ∘ u) * ω, ω)` has norm at most |
| 507 | `(∏ w, (2 * (‖((inl s 1 ∘ u) * ω) w‖ * ‖ω w‖) ^ 2) ^ A * (16 ^ A * v)) * S * (10 / m)`, then |
| 508 | `typeKernel l s u` times the convolution of `y` at `x * (u, 1)` with `translatedCoeff l'` for |
| 509 | `(ω, ω)` has norm at most |
| 510 | `typeKernelMajorant l A u * (((2 * β) ^ (3 * A) * v) ^ D.f * S * 10 / m)`, with `D.f` the number |
| 511 | of infinite places. -/ |
| 512 | private lemma New.Exchange.norm_typeKernel_mul_realConv_translatedCoeff_le |
| 513 | {l : NumberField.InfinitePlace D.E → HCParam s} |
| 514 | {l' : NumberField.InfinitePlace D.E → HCParam (s ⊕ᵥ (1 : Unit → ℤˣ))} |
| 515 | (h_gap : ∀ w : NumberField.InfinitePlace D.E, (l w).HasLargeGap (4 * A)) |
| 516 | (hβ₁₆ : 16 ≤ β) {ω : GInf D.E (s ⊕ᵥ (1 : Unit → ℤˣ))} |
| 517 | (hω : ∀ w : NumberField.InfinitePlace D.E, |
| 518 | ‖(ω w : Matrix (n ⊕ Unit) (n ⊕ Unit) ℂ)‖ ^ 2 ≤ β) |
| 519 | {y : G D.E s → ℂ} {x : G D.E s} {v S : ℝ} (hv : 0 ≤ v) (hS : 0 ≤ S) (hm : 0 ≤ m) |
| 520 | (u : GInf D.E s) |
| 521 | (h_conv : ‖realConv (fun r : GInf D.E s ↦ |
| 522 | translatedCoeff l' (inl s 1 ∘ u * ω) ω (inl s 1 ∘ r)) y x‖ ≤ |
| 523 | (∏ w : NumberField.InfinitePlace D.E, |
| 524 | (2 * (‖((inl s 1 ∘ u * ω : GInf D.E (s ⊕ᵥ (1 : Unit → ℤˣ))) w : |
| 525 | Matrix (n ⊕ Unit) (n ⊕ Unit) ℂ)‖ * |
| 526 | ‖(ω w : Matrix (n ⊕ Unit) (n ⊕ Unit) ℂ)‖) ^ 2) ^ A * (16 ^ A * v)) * S * (10 / m)) : |
| 527 | ‖typeKernel l s u * |
| 528 | realConv (fun r : GInf D.E s ↦ translatedCoeff l' ω ω (inl s 1 ∘ r)) y (x * (u, 1))‖ ≤ |
| 529 | typeKernelMajorant l A u * (((2 * β) ^ (3 * A) * v) ^ D.f * S * 10 / m) := by |
| 530 | calc ‖typeKernel l s u * |
| 531 | realConv (fun r : GInf D.E s ↦ translatedCoeff l' ω ω (inl s 1 ∘ r)) y (x * (u, 1))‖ |
| 532 | _ ≤ (∏ w, ‖dsKernel (l w) (u w)‖ * |
| 533 | ((2 * (‖((inl s 1 ∘ u * ω : GInf D.E (s ⊕ᵥ (1 : Unit → ℤˣ))) w : |
| 534 | Matrix (n ⊕ Unit) (n ⊕ Unit) ℂ)‖ * |
| 535 | ‖(ω w : Matrix (n ⊕ Unit) (n ⊕ Unit) ℂ)‖) ^ 2) ^ A * 16 ^ A) * v) * |
| 536 | (S * (10 / m)) := by |
| 537 | grw [norm_mul, realConv_translatedCoeff_mul, h_conv] |
| 538 | simp [typeKernel, prod_mul_distrib, mul_assoc] |
| 539 | _ ≤ (∏ w, (l w).formalDegree * (2 / ‖(u w : Matrix n n ℂ)‖) ^ (2 * A) * |
| 540 | (2 * β) ^ (3 * A) * v) * (S * (10 / m)) := by |
| 541 | gcongr (∏ w, ?_ * _) * _ with w |
| 542 | exact norm_dsKernel_mul_pow_le (h_gap w) hβ₁₆ (hω w) (u w) |
| 543 | _ = typeKernelMajorant l A u * (((2 * β) ^ (3 * A) * v) ^ D.f * S * 10 / m) := by |
| 544 | simp only [typeKernelMajorant, prod_mul_distrib, prod_const, card_univ] |
| 545 | ring |
| 546 | |
| 547 | /-- Let `y` be a form on `V` of type `l` and of the deep level `D.gridLevelGen`, bounded by `S` and |
| 548 | orthogonal to `x ↦ φ ((x ⊕ 1) ω)` for all forms `φ` on `V ⊕ ⟨1⟩` of type `l'` and deep level. Assume |
| 549 | the size conditions for the deep level, large gaps of the parameters, bounded entries of `l`, that |
| 550 | `ω` is not large (`hω`) and that the local pairings of the coefficients for `l` and `l'` are bounded |
| 551 | from below (`h_pair`). Where the first minimum of `V.move x` is at least the threshold of the cusp |
| 552 | estimate, whose constant `cuspConst D.E n D.cyclotomicConductor` depends on the rank and on a number |
| 553 | in the different of `D.E`, we have `‖y x‖ ≤ S / 2`. -/ |
| 554 | lemma New.Exchange.norm_le_half_of_le_firstMinimum {l : NumberField.InfinitePlace D.E → HCParam s} |
| 555 | {l' : NumberField.InfinitePlace D.E → HCParam (s ⊕ᵥ (1 : Unit → ℤˣ))} |
| 556 | (h_size : HasDeepLevelSizes D n A L N β m) |
| 557 | (h_gap : ∀ w : NumberField.InfinitePlace D.E, (l w).HasLargeGap (4 * A)) |
| 558 | (h_gap' : ∀ w : NumberField.InfinitePlace D.E, (l' w).HasLargeGap (2 * A)) |
| 559 | (hl : ∀ (w : NumberField.InfinitePlace D.E) (i : n), |l w i| ≤ L) |
| 560 | {ω : GInf D.E (s ⊕ᵥ (1 : Unit → ℤˣ))} |
| 561 | (hω : ∀ w : NumberField.InfinitePlace D.E, |
| 562 | ‖(ω w : Matrix (n ⊕ Unit) (n ⊕ Unit) ℂ)‖ ^ 2 ≤ β) |
| 563 | (h_pair : ∀ w : NumberField.InfinitePlace D.E, |
| 564 | volume.real {r : USign s | ‖(r : Matrix n n ℂ) - 1‖ ≤ 1} ≤ β ^ N * |
| 565 | ‖∫ r : USign s, (l w).dsCoeff r * |
| 566 | conj ((l' w).dsCoeff ((ω w)⁻¹ * inl s 1 r * ω w : USign (s ⊕ᵥ 1)))‖) |
| 567 | {y : G D.E s → ℂ} (hy : V.IsForm (typeKernel l s) y) |
| 568 | (hy_level : HasLevel y (principalLevel n D.gridLevelGen)) |
| 569 | (h_orth : ∀ φ ∈ levelSpace |
| 570 | ((V.sum (signedSpace D.E (1 : Unit → ℤˣ))).formRep (typeKernel l' (s ⊕ᵥ 1))) |
| 571 | (principalLevel (n ⊕ Unit) D.gridLevelGen), |
| 572 | V.petersson y (fun x : G D.E s ↦ φ (G.sum (x, 1) * (ω, 1))) = 0) |
| 573 | {S : ℝ} (hS : ∀ g : G D.E s, ‖y g‖ ≤ S) {x : G D.E s} |
| 574 | (h_large : (m⁻¹ ^ 2 / (D.M * cuspConst D.E n D.cyclotomicConductor ^ 2)) ^ card n ≤ |
| 575 | (V.move x).firstMinimum) : |
| 576 | ‖y x‖ ≤ S / 2 := by |
| 577 | -- Average the small convolution of `norm_realConv_translatedCoeff_le` over the kernel of `y`. |
| 578 | -- The result is `η * y x`, where `η` is the product of the local pairings of `h_pair`. |
| 579 | set v : ℝ := volume.real {r : USign s | ‖(r : Matrix n n ℂ) - 1‖ ≤ 1} |
| 580 | have hβ₁₆ : 16 ≤ β := h_size.sixteen_le |
| 581 | have m_ge : 16 ≤ m := hβ₁₆.trans h_size.beta_le_m |
| 582 | have S_nonneg : 0 ≤ S := (norm_nonneg (y x)).trans (hS x) |
| 583 | have v_pos : 0 < v := ENNReal.toReal_pos (measure_sublevel_ne_zero volume (by simp)) |
| 584 | (measure_ball_ne_top_of_isProperMap volume .monoidHom_id 1) |
| 585 | have cusp : IsCuspKernel (4 * A) (typeKernel l s) := isCuspKernel_typeKernel h_gap |
| 586 | obtain ⟨major_int, integral_major⟩ := integral_typeKernelMajorant_le h_size h_gap hl |
| 587 | let ψ (α : GInf D.E (s ⊕ᵥ 1)) (r : GInf D.E s) : ℂ := translatedCoeff l' α ω (inl s 1 ∘ r) |
| 588 | let growth (α : GInf D.E (s ⊕ᵥ (1 : Unit → ℤˣ))) (w : NumberField.InfinitePlace D.E) : ℝ := |
| 589 | (2 * (‖(α w : Matrix (n ⊕ Unit) (n ⊕ Unit) ℂ)‖ * |
| 590 | ‖(ω w : Matrix (n ⊕ Unit) (n ⊕ Unit) ℂ)‖) ^ 2) ^ A |
| 591 | have conv_bound (α : GInf D.E (s ⊕ᵥ 1)) : Integrable (ψ α) ∧ |
| 592 | ‖realConv (ψ α) y x‖ ≤ (∏ w, growth α w * (16 ^ A * v)) * S * (10 / m) := |
| 593 | norm_realConv_translatedCoeff_le h_size h_gap' hy.toIsAutomorphic hy_level h_orth hS |
| 594 | (h_size.sq_le_pow_mul_firstMinimum h_large) α |
| 595 | -- Fubini, then the rank one formula `realConv_translate`. |
| 596 | let η : ℂ := ∫ z, ψ ω z * (conj (typeKernel l s z) / typeKernel l s 1) |
| 597 | have average : ∫ u, typeKernel l s u * realConv (ψ ω) y (x * (u, 1)) = η * y x := by |
| 598 | rw [integral_mul_realConv hy.isBoundedMeasurable (conv_bound ω).1 cusp.integrable _] |
| 599 | simp_rw [hy.realConv_translate cusp, ← mul_assoc, integral_mul_const, η] |
| 600 | have η_ge : (v / β ^ N) ^ D.f ≤ ‖η‖ := by |
| 601 | simp only [η, ψ, integral_translatedCoeff_mul_eq_prod h_gap, norm_prod] |
| 602 | grw [← fun w ↦ (div_le_iff₀' (by bound)).2 (h_pair w)] |
| 603 | simp [div_pow] |
| 604 | have integrand_le (u : GInf D.E s) : ‖typeKernel l s u * realConv (ψ ω) y (x * (u, 1))‖ ≤ |
| 605 | typeKernelMajorant l A u * (((2 * β) ^ (3 * A) * v) ^ D.f * S * 10 / m) := |
| 606 | norm_typeKernel_mul_realConv_translatedCoeff_le h_gap hβ₁₆ hω v_pos.le S_nonneg |
| 607 | (by linarith) u (conv_bound (inl s 1 ∘ u * ω)).2 |
| 608 | -- Integrate: the constants of `η_ge`, `integrand_le` and `integral_major` cancel. |
| 609 | have average_le : (v / β ^ N) ^ D.f * ‖y x‖ ≤ |
| 610 | m / (16 * β) / (β ^ N * (2 * β) ^ (3 * A)) ^ D.f * |
| 611 | (((2 * β) ^ (3 * A) * v) ^ D.f * S * 10 / m) := by |
| 612 | grw [η_ge, ← norm_mul, ← average, ← integral_major, ← integral_mul_const] |
| 613 | exact norm_integral_le_of_norm_le (major_int.mul_const _) (.of_forall integrand_le) |
| 614 | have norm_le : ‖y x‖ * 16 * β ≤ S * 10 := by simpa [field, mul_pow, div_pow] using average_le |
| 615 | grw [← hβ₁₆] at norm_le |
| 616 | linarith |
| 617 | |
| 618 | /-- The vanishing criterion at a real point `ω` of `GInf D.E (s ⊕ᵥ 1)`. Assume the following. First, |
| 619 | the size conditions `HasDeepLevelSizes D n A L N β m`. Second, large gaps of the parameters: entries |
| 620 | of `l w / 2` with different signs differ by at least `500 n³ + 4 A`, and likewise for `l'` with |
| 621 | `n + 1` and `2 A`. Third, entries of `l` bounded by `L`. Fourth, `ω` is not large (`hω`). Fifth, at |
| 622 | each infinite place the coefficient for `l` pairs nontrivially with the restriction of the |
| 623 | coefficient for `l'` conjugated by `ω`, with the explicit lower bound `h_pair`. Then a form `y` on |
| 624 | `V` of type `l` and level `D.chosenLevel` vanishes if it is orthogonal to `x ↦ φ ((x ⊕ 1) ω)` for |
| 625 | every form `φ` on `V ⊕ ⟨1⟩` of type `l'` and of the deep level |
| 626 | `principalLevel (n ⊕ Unit) D.gridLevelGen`. -/ |
| 627 | theorem New.Exchange.eq_zero_of_petersson_translate_eq_zero |
| 628 | {l : NumberField.InfinitePlace D.E → HCParam s} |
| 629 | {l' : NumberField.InfinitePlace D.E → HCParam (s ⊕ᵥ (1 : Unit → ℤˣ))} |
| 630 | (h_size : HasDeepLevelSizes D n A L N β m) |
| 631 | (h_gap : ∀ w : NumberField.InfinitePlace D.E, (l w).HasLargeGap (4 * A)) |
| 632 | (h_gap' : ∀ w : NumberField.InfinitePlace D.E, (l' w).HasLargeGap (2 * A)) |
| 633 | (hl : ∀ (w : NumberField.InfinitePlace D.E) (i : n), |l w i| ≤ L) |
| 634 | {ω : GInf D.E (s ⊕ᵥ (1 : Unit → ℤˣ))} |
| 635 | (hω : ∀ w : NumberField.InfinitePlace D.E, |
| 636 | ‖(ω w : Matrix (n ⊕ Unit) (n ⊕ Unit) ℂ)‖ ^ 2 ≤ β) |
| 637 | (h_pair : ∀ w : NumberField.InfinitePlace D.E, |
| 638 | volume.real {r : USign s | ‖(r : Matrix n n ℂ) - 1‖ ≤ 1} ≤ β ^ N * |
| 639 | ‖∫ r : USign s, (l w).dsCoeff r * |
| 640 | conj ((l' w).dsCoeff ((ω w)⁻¹ * inl s 1 r * ω w : USign (s ⊕ᵥ 1)))‖) |
| 641 | {y : G D.E s → ℂ} (hy : V.IsForm (typeKernel l s) y) (hy_level : HasLevel y D.chosenLevel) |
| 642 | (h_orth : ∀ φ ∈ levelSpace |
| 643 | ((V.sum (signedSpace D.E (1 : Unit → ℤˣ))).formRep (typeKernel l' (s ⊕ᵥ 1))) |
| 644 | (principalLevel (n ⊕ Unit) D.gridLevelGen), |
| 645 | V.petersson y (fun x : G D.E s ↦ φ (G.sum (x, 1) * (ω, 1))) = 0) : |
| 646 | y = 0 := by |
| 647 | -- By `le_of_halving` it is enough to halve every bound `S` of `‖y‖`. |
| 648 | -- Where `(V.move x).firstMinimum` is large this follows from the orthogonality, by unfolding a |
| 649 | -- Poincaré series; where it is small, from cuspidality and the fact that `y` varies slowly. |
| 650 | have level (a : NumberField.RingOfIntegers D.E) (ha : D.piM ∣ a) : |
| 651 | HasLevel y (principalLevel n a) := |
| 652 | fun k hk ↦ hy_level k (D.principalLevel_le_chosenLevel ha hk) |
| 653 | have half (S : ℝ) (hS : ∀ g : G D.E s, ‖y g‖ ≤ S) (x : G D.E s) : ‖y x‖ ≤ S / 2 := by |
| 654 | obtain h_large | h_small := le_or_gt |
| 655 | ((m⁻¹ ^ 2 / (D.M * cuspConst D.E n D.cyclotomicConductor ^ 2)) ^ card n) |
| 656 | (V.move x).firstMinimum |
| 657 | · exact norm_le_half_of_le_firstMinimum h_size h_gap h_gap' hl hω h_pair hy |
| 658 | (level D.gridLevelGen D.piM_dvd_gridLevelGen) h_orth hS h_large |
| 659 | · exact norm_le_half_of_firstMinimum_lt h_size h_gap hl hy |
| 660 | (level D.M (Dvd.intro _ D.piM_mul_star)) hS h_small |
| 661 | obtain ⟨C, hC⟩ := hy.bounded |
| 662 | exact funext fun x ↦ |
| 663 | norm_le_zero_iff.1 (le_of_halving hC le_rfl (fun S _ hS x ↦ .inl (half S hS x)) x) |
| 664 | |
| 665 | variable (n A β) in |
| 666 | /-- Let `l` be the parameters of the forms on `V` and `l'` those of the forms on `V ⊕ ⟨1⟩`, whose |
| 667 | signs `t` are `s ⊕ᵥ 1`. Assume large gaps for `4 A` of `l w` and for `2 A` of `l' w`, `|l w i| ≤ L`, |
| 668 | the size conditions of `HasDeepLevelSizes`, and that at each infinite place some point `ω` with |
| 669 | `‖ω‖ ^ 2 ≤ β` makes the pairing for `l` and `l'` not small (`h_place`). Then there is a real point |
| 670 | `g` such that a form `y` on `V` of type `l` and level `D.chosenLevel` vanishes if it is orthogonal |
| 671 | to `x ↦ φ ((x ⊕ 1) g)` for all forms `φ` on `V ⊕ ⟨1⟩` of type `l'` and of the deep level |
| 672 | `D.gridLevelGen`. -/ |
| 673 | lemma New.Exchange.exists_forall_eq_zero_of_petersson_restrict_eq_zero {t : n ⊕ Unit → ℤˣ} |
| 674 | {l : NumberField.InfinitePlace D.E → HCParam s} |
| 675 | {l' : NumberField.InfinitePlace D.E → HCParam t} {h_signs : s ⊕ᵥ 1 = t} |
| 676 | (h_gap : ∀ w : NumberField.InfinitePlace D.E, (l w).HasLargeGap (4 * A)) |
| 677 | (h_gap' : ∀ w : NumberField.InfinitePlace D.E, (l' w).HasLargeGap (2 * A)) |
| 678 | (h_entry : ∀ (w : NumberField.InfinitePlace D.E) (i : n), |l w i| ≤ L) |
| 679 | (h_rank : 8 * (card n + 1) ^ 2 < A) (h_exponent : N < A) |
| 680 | (h_dim : 2 * D.f * (card n + 1) + 2 ≤ A) |
| 681 | (h_cusp : D.M * cuspConst D.E n D.cyclotomicConductor ^ 2 ≤ β) |
| 682 | (h_rank_pow : 2000 * (card n + L + 1) ^ 6 ≤ β) (h_places : D.f ≤ β) |
| 683 | (h_pow_le : β ^ (20 * A * (D.f + 1)) ≤ m) |
| 684 | (h_level : ∀ w : NumberField.InfinitePlace D.E, |
| 685 | m ^ (3 * card n + 2) ≤ ‖Φ w D.gridLevelGen.val‖) |
| 686 | (h_place : ∀ w : NumberField.InfinitePlace D.E, ∃ ω : USign (s ⊕ᵥ (1 : Unit → ℤˣ)), |
| 687 | ‖(ω : Matrix (n ⊕ Unit) (n ⊕ Unit) ℂ)‖ ^ 2 ≤ β ∧ |
| 688 | volume.real {r : USign s | ‖(r : Matrix n n ℂ) - 1‖ ≤ 1} ≤ β ^ N * |
| 689 | ‖∫ r : USign s, (l w).dsCoeff r * |
| 690 | conj ((toHCParam (s ⊕ᵥ 1) (l' w)).dsCoeff |
| 691 | (ω⁻¹ * inl s 1 r * ω : USign (s ⊕ᵥ (1 : Unit → ℤˣ))))‖) : |
| 692 | ∃ g : GInf D.E t, ∀ y ∈ levelSpace (V.formRep (typeKernel l s)) D.chosenLevel, |
| 693 | (∀ φ ∈ levelSpace |
| 694 | (((V.sum (signedSpace D.E 1)).reindex (.refl (n ⊕ Unit)) h_signs).formRep |
| 695 | (typeKernel l' t)) |
| 696 | (principalLevel (n ⊕ Unit) D.gridLevelGen), |
| 697 | V.petersson y |
| 698 | (fun x : G D.E s ↦ φ (G.reindex (.refl (n ⊕ Unit)) h_signs (.sum (x, 1)) * (g, 1))) = 0) → |
| 699 | y.val = 0 := by |
| 700 | subst h_signs |
| 701 | choose ω hω_norm h_pair using h_place |
| 702 | exact ⟨ω, fun y hy_level h_orth ↦ eq_zero_of_petersson_translate_eq_zero |
| 703 | ⟨h_rank, h_exponent, h_dim, h_cusp, h_rank_pow, h_places, h_pow_le, h_level⟩ h_gap h_gap' |
| 704 | h_entry hω_norm h_pair y.prop (mem_levelSpace_formRep_iff.1 hy_level) h_orth⟩ |
| 705 | |
| 706 | end DeepLevelTest |
| 707 | |
| 708 | /-! ## Forms of level `J_M` on Y₀ -/ |
| 709 | |
| 710 | section RowsReached |
| 711 | |
| 712 | open Matrix.Norms.L2Operator |
| 713 | |
| 714 | /-- At every infinite place the generator `D.gridLevelGen = D.piM ^ D.natB` of the deep level |
| 715 | has modulus `√D.M ^ D.natB`. -/ |
| 716 | lemma New.Data.norm_gridLevelGen {P : Parameters} (D : Data P) |
| 717 | (w : NumberField.InfinitePlace D.E) : ‖Φ w D.gridLevelGen.val‖ = √D.M ^ D.natB := by |
| 718 | have h_sq : ‖Φ w D.piM‖ ^ 2 = D.M := by |
| 719 | simpa [sq] using congrArg (fun a : NumberField.RingOfIntegers D.E ↦ ‖Φ w a‖) D.piM_mul_star |
| 720 | simp [← h_sq] |
| 721 | |
| 722 | /-- There is a real point `g` of `GInf D.E (D.gridSigns true 0 0 0)`, the archimedean unitary group |
| 723 | on the index type `D.Y 0 ⊕ Unit`, the index type of `Ỹ^0_0 = Y₀ ⊕ ⟨1⟩`, with the following property. |
| 724 | Let `y` lie in `D.principalForms`, so it is a form on `Y₀ = D.spaceY 0` of type `D.paramW` and level |
| 725 | `J_M = D.chosenLevel`. Then `y` vanishes if it is Petersson orthogonal to `x ↦ φ ((x ⊕ 1) g)` for |
| 726 | all `φ` in `D.gridLevelForms 0`, the forms on `Ỹ^0_0` of type `D.gridKernel true 0 0 true` and of |
| 727 | the principal level of `D.gridLevelGen`. -/ |
| 728 | lemma New.Data.exists_eq_zero_of_orthogonal_gridLevelForms {P : Parameters} (D : Data P) : |
| 729 | ∃ g : GInf (n := D.Y 0 ⊕ Unit) D.E (D.gridSigns true 0 0 0), |
| 730 | ∀ y ∈ D.principalForms (D.spaceY 0), |
| 731 | (∀ φ ∈ D.gridLevelForms 0, (D.spaceY 0).petersson y.val |
| 732 | (fun x : New.G D.E (D.signsY 0) ↦ |
| 733 | φ (G.reindex (.refl (D.Y 0 ⊕ Unit)) D.gridSigns_true_zero.symm (.sum (x, 1)) * (g, 1))) = |
| 734 | 0) → |
| 735 | y.val = 0 := by |
| 736 | -- At each infinite place `IsSteep.exists_volume_le_mul_norm_integral_dsCoeff` gives a point at |
| 737 | -- which the pairing of the matrix coefficients of the two types is bounded from below. Then |
| 738 | -- `Exchange.exists_forall_eq_zero_of_petersson_restrict_eq_zero` applies with the sizes `h_sizes` |
| 739 | -- below. |
| 740 | obtain ⟨e, h_steep⟩ : ∃ e : D.InitIndex 0 ⊕ Fin (2 * D.ϱ + 2) ≃ D.GridIndex false 0 0, |
| 741 | ∀ w : D.Φ, DiscreteSeries.IsSteep (D.gridParam false 0 0 0 w) (D.liftWeight 0 w) e := |
| 742 | D.exists_isSteep false |
| 743 | obtain ⟨e', h_steep'⟩ : ∃ e' : D.InitIndex 0 ⊕ Fin (2 * D.ϱ + 2 + 1) ≃ D.GridIndex true 0 0, |
| 744 | ∀ w : D.Φ, DiscreteSeries.IsSteep (D.gridParam true 0 0 0 w) (D.liftWeight 0 w) e' := |
| 745 | D.exists_isSteep true |
| 746 | have h_mono : Monotone fun k : ℕ ↦ √D.M ^ k := pow_right_mono₀ D.le_of_hasLogBound |
| 747 | have abs_param_le (z : Bool) (w : D.Φ) (x : D.GridIndex z 0 0) : |
| 748 | |D.gridParam z 0 0 0 w x| ≤ ⌈20 * D.b⌉₊ := |
| 749 | D.abs_gridParam_le (z := z) w bot_le bot_le x |
| 750 | -- These bounds for `β` and for the two ranks are found as instances by `D.le_of_hasLogBound` and |
| 751 | -- its versions for natural numbers, which compare quantities by their logarithmic bounds. |
| 752 | have β_lb : D.HasLogLower (√D.M ^ ⌈D.x⌉₊) (3 * (20 * D.logB / 2)) := |
| 753 | D.hasLogLower_of_le (G := √D.M ^ 3) (h_mono D.nat_le_of_hasLogBound) |
| 754 | have rank_ub : D.HasLogUpper (Fintype.card (D.Y 0)) (5 * D.logX + 3) := |
| 755 | D.hasLogUpper_of_le_of_nonneg (F := D.r) (by simp [D.card_rowIndex]) (Nat.cast_nonneg _) |
| 756 | have rank_ub' : D.HasLogUpper (Fintype.card (D.Y 0 ⊕ Unit)) (max (5 * D.logX + 3) 0 + 1) := |
| 757 | D.hasLogUpper_of_le_of_nonneg (F := D.r + 1) (by simp [D.card_rowIndex]) (Nat.cast_nonneg _) |
| 758 | let β : ℝ := √D.M ^ ⌈D.x⌉₊ |
| 759 | let A : ℕ := D.r ^ 4 |
| 760 | let N : ℕ := 20 * (Fintype.card (D.Y 0 ⊕ Unit) + Fintype.card (D.Y 0)) ^ 2 |
| 761 | have h_sizes : Exchange.HasDeepLevelSizes D (D.Y 0) A ⌈20 * D.b⌉₊ N β |
| 762 | (β ^ (20 * A * (D.f + 1))) := |
| 763 | { rank_sq_lt := D.nat_lt_of_hasLogBound |
| 764 | exponent_lt := D.nat_lt_of_hasLogBound |
| 765 | dim_le := D.nat_le_of_hasLogBound |
| 766 | cuspConst_sq_le := by rw [cuspConst]; exact D.le_of_hasLogBound |
| 767 | rank_pow_le := D.le_of_hasLogBound |
| 768 | places_le := D.le_of_hasLogBound |
| 769 | pow_le := le_rfl |
| 770 | pow_le_norm_gridLevelGen := fun w ↦ by |
| 771 | rw [D.norm_gridLevelGen w, ← pow_mul, ← pow_mul] |
| 772 | exact h_mono D.nat_le_of_hasLogBound } |
| 773 | refine Exchange.exists_forall_eq_zero_of_petersson_restrict_eq_zero (D.Y 0) A β |
| 774 | (h_gap := fun w ↦ (D.hasGap_signsY_paramW w).mono D.nat_le_of_hasLogBound) |
| 775 | (h_gap' := fun w ↦ (D.hasGap_gridParam w true 0 0 0).neg.mono D.nat_le_of_hasLogBound) |
| 776 | (h_entry := abs_param_le false) h_sizes.rank_sq_lt h_sizes.exponent_lt h_sizes.dim_le |
| 777 | h_sizes.cuspConst_sq_le |
| 778 | h_sizes.rank_pow_le h_sizes.places_le h_sizes.pow_le h_sizes.pow_le_norm_gridLevelGen fun w ↦ ?_ |
| 779 | -- `gridSigns_true_zero` writes the signs of `Ỹ^0_0` as those of `Y₀` followed by `1`; along this |
| 780 | -- equality the facts on `D.gridParam true 0 0 0 w` are facts on `l'`. |
| 781 | let l' : HCParam (Sum.elim (D.signsY 0) (1 : Unit → ℤˣ)) := D.gridParam true 0 0 0 w |
| 782 | obtain ⟨h_steep_l', h_gap'⟩ : DiscreteSeries.IsSteep l' (D.liftWeight 0 w) e' ∧ l'.HasGap D.gap := |
| 783 | D.gridSigns_true_zero ▸ ⟨h_steep' w, D.hasGap_gridParam w true 0 0 0⟩ |
| 784 | have h_steep_neg : DiscreteSeries.IsSteep (-(-l')) (D.liftWeight 0 w) e' := by rwa [neg_neg] |
| 785 | have h_card_bound : (Fintype.card (D.Y 0 ⊕ Unit) : ℝ) ^ 4 * |
| 786 | (6 * D.liftWeight 0 w) ^ (2 * (2 * D.ϱ + 2) + 2) ≤ β := by |
| 787 | grw [show (Fintype.card (D.Y 0 ⊕ Unit) : ℝ) ≤ √D.M from D.le_of_hasLogBound, |
| 788 | show (6 * D.liftWeight 0 w : ℝ) ≤ √D.M from D.le_of_hasLogBound, ← pow_add] |
| 789 | exact h_mono D.nat_le_of_hasLogBound |
| 790 | have h_log : 10 ^ 30 * (((Fintype.card (D.Y 0 ⊕ Unit) : ℝ) + Fintype.card (D.Y 0)) ^ 2 * |
| 791 | Real.log β) ^ 3 ≤ (D.r ^ 7 : ℕ) := by |
| 792 | rw [Real.log_pow] |
| 793 | exact D.le_of_hasLogBound |
| 794 | have h_even : Even (2 * D.ϱ + 2) := by grind |
| 795 | exact (h_steep w).exists_volume_le_mul_norm_integral_dsCoeff h_even h_steep_neg |
| 796 | (hB := D.le_of_hasLogBound) |
| 797 | (hl := (D.hasGap_signsY_paramW w).mono D.nat_le_of_hasLogBound) |
| 798 | (hl' := h_gap'.neg.mono D.nat_le_of_hasLogBound) |
| 799 | (hL := abs_param_le false w) (hL' := fun x ↦ (abs_neg _).trans_le (abs_param_le true w x)) |
| 800 | (hβ := D.le_of_hasLogBound) (hn := D.le_of_hasLogBound) h_card_bound h_log |
| 801 | |
| 802 | end RowsReached |