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 TauCeti.Topology.Algebra.Group.Units |
| 4 | import TauCeti.Topology.Instances.Matrix |
| 5 | public import New.Spanning.RemainingTerms.OneRealPlace |
| 6 | import New.Spanning.Unfolding.AmplitudeSums |
| 7 | public import New.Spanning.Unfolding.CutoffIntegral |
| 8 | import New.Spanning.Unfolding.Packing |
| 9 | |
| 10 | /-! |
| 11 | # Schur's test: Cauchy–Schwarz and integration in stages |
| 12 | |
| 13 | The amplitude majorant of a term is bounded by Cauchy–Schwarz with a weight that is inverted when |
| 14 | the two frames are exchanged. The resulting integrals are bounded by a mean over the unipotent |
| 15 | elements that fix the frame. The frame is the list of basis vectors e₁, …, e_ϱ, z of the hermitian |
| 16 | space: one isotropic vector from each hyperbolic plane and the vector z of negative norm. |
| 17 | |
| 18 | ## Main definitions and results |
| 19 | |
| 20 | * `New.Filling.boxCutoff`: the cutoff restricted to the set `New.Filling.boxedPoints`. |
| 21 | * `New.Filling.besselCutNormSq`: the squared norm of the cut Bessel function. |
| 22 | * `New.Filling.amplitudeMajorant_sq_le`: Cauchy–Schwarz with the weight `New.Filling.schurWeight`, a |
| 23 | boxed cutoff times powers of `New.volumeRatio`, bounds the square of |
| 24 | `New.Filling.amplitudeMajorant` by a product of two integrals `New.Filling.schurIntegral`. |
| 25 | * `New.Filling.lintegral_boxCutoff_le_of_average`: integration in stages. |
| 26 | |
| 27 | Notions from other files: |
| 28 | * `New.Filling.classCutoff`: the cutoff of a class at the infinite places. |
| 29 | * `besselU0`: the unipotent elements that fix the frame; `classUnipotent₀ c` is the group of |
| 30 | rational such elements in the class `c`. |
| 31 | -/ |
| 32 | |
| 33 | @[expose] public section |
| 34 | |
| 35 | noncomputable section |
| 36 | |
| 37 | open MeasureTheory Fintype Subgroup |
| 38 | |
| 39 | namespace New.Filling |
| 40 | |
| 41 | variable {E : Type} [Field E] [CMType E] [HasPrimitiveRoot5040 E] {𝔰 : Shape} |
| 42 | |
| 43 | /-- The cutoff of the class `c` at the infinite places, restricted to the boxed points: the reduced |
| 44 | points with every component in the cut. -/ |
| 45 | def boxCutoff (S : Filling E 𝔰) (c : S.Classes) : |
| 46 | (NumberField.InfinitePlace E → 𝔰.G₁) → ENNReal := |
| 47 | S.boxedPoints.indicator (S.classCutoff c) |
| 48 | |
| 49 | /-- The squared norm of the cut Bessel function at a point `y` at the infinite places: the product |
| 50 | over the places `v` of the squared norms of the local cut Bessel functions at `y v`. -/ |
| 51 | def besselCutNormSq (S : Filling E 𝔰) (y : NumberField.InfinitePlace E → 𝔰.G₁) : ENNReal := |
| 52 | ∏ v : NumberField.InfinitePlace E, ‖(S.besselSystem v).besselFn .cut (y v)‖ₑ ^ 2 |
| 53 | |
| 54 | /-- The weight of Schur's test for the class `c` and the rational element `γ`: the product over the |
| 55 | places `v` of `ν_v ^ (-(k + i))`, where `ν_v` is the ratio of the volumes of the projections of |
| 56 | the frame of `γ` and of the standard frame to the negative space of `y v`, times the boxed cutoff of |
| 57 | `c` at `γ⁻¹ y`. The natural number `i`, the shift, only changes this exponent. -/ |
| 58 | def schurWeight (S : Filling E 𝔰) (c : S.Classes) (γ : S.G E) (i : ℕ) |
| 59 | (y : NumberField.InfinitePlace E → 𝔰.G₁) : ENNReal := |
| 60 | S.boxCutoff c ((S.ratToInf γ)⁻¹ * y) * |
| 61 | ∏ v : NumberField.InfinitePlace E, |
| 62 | ENNReal.ofReal ((volumeRatio (S.ratToInf γ v) (y v))⁻¹ ^ (𝔰.k + i)) |
| 63 | |
| 64 | /-- One of the two factors that the Cauchy–Schwarz inequality gives in Schur's test: the integral |
| 65 | of the boxed cutoff of `c`, the squared norm of the cut Bessel function and the weight for `c'` |
| 66 | and `γ` with shift `i`. -/ |
| 67 | def schurIntegral (S : Filling E 𝔰) (c c' : S.Classes) (γ : S.G E) (i : ℕ) : ENNReal := |
| 68 | ∫⁻ y : NumberField.InfinitePlace E → 𝔰.G₁, |
| 69 | S.boxCutoff c y * S.besselCutNormSq y * S.schurWeight c' γ i y |
| 70 | |
| 71 | variable {S : Filling E 𝔰} |
| 72 | |
| 73 | omit [HasPrimitiveRoot5040 E] in |
| 74 | /-- Where the cut amplitude integrand is nonzero, both points lie in the boxed set. -/ |
| 75 | lemma mem_boxedPoints_of_cut_integrand_ne_zero {c c' : S.Classes} {γ : S.G E} |
| 76 | {y : NumberField.InfinitePlace E → 𝔰.G₁} |
| 77 | (h : S.classCutoff c y * S.classCutoff c' ((S.ratToInf γ)⁻¹ * y) * |
| 78 | ‖S.besselKernel .cut γ y‖ₑ ≠ 0) : |
| 79 | y ∈ S.boxedPoints ∧ (S.ratToInf γ)⁻¹ * y ∈ S.boxedPoints := by |
| 80 | obtain ⟨h_cutoffs, h_norm⟩ := mul_ne_zero_iff.mp h |
| 81 | obtain ⟨hc, hc'⟩ := mul_ne_zero_iff.mp h_cutoffs |
| 82 | have h_kernel := eNorm_ne_zero.mp h_norm |
| 83 | exact ⟨mem_boxedPoints_of_classCutoff_ne_zero hc |
| 84 | (fun v ↦ (inCut_of_besselKernel_ne_zero h_kernel v).1), |
| 85 | mem_boxedPoints_of_classCutoff_ne_zero hc' |
| 86 | (fun v ↦ (inCut_of_besselKernel_ne_zero h_kernel v).2)⟩ |
| 87 | |
| 88 | @[fun_prop] |
| 89 | lemma measurable_boxCutoff {c : S.Classes} [S.IsAdmissible] : Measurable (S.boxCutoff c) := |
| 90 | (measurable_classCutoff c).indicator measurableSet_boxedPoints |
| 91 | |
| 92 | omit [HasPrimitiveRoot5040 E] in |
| 93 | @[fun_prop] |
| 94 | lemma measurable_besselCutNormSq : Measurable S.besselCutNormSq := by |
| 95 | fun_prop [besselCutNormSq] |
| 96 | |
| 97 | /-- The weight of Schur's test is measurable. -/ |
| 98 | @[fun_prop] |
| 99 | lemma measurable_schurWeight {c : S.Classes} {γ : S.G E} [S.IsAdmissible] (shift : ℕ) : |
| 100 | Measurable (S.schurWeight c γ shift) := by |
| 101 | fun_prop [schurWeight] |
| 102 | |
| 103 | /-- **Cauchy–Schwarz.** Let `S` be data of the filling theorem over the CM field `E`, which contains |
| 104 | a primitive root of unity of order `5040`, and let `S` be admissible: its level is the preimage of |
| 105 | the principal congruence subgroup, reduction is onto, and the size inequalities hold. Let `c`, `c'` |
| 106 | be classes and `γ` a rational element of the unitary group. The square of the amplitude majorant |
| 107 | (the integral of the cutoffs of `c` at `y` and of `c'` at `γ⁻¹ y` against the norm of the cut Bessel |
| 108 | kernel) is at most the product of the Schur integrals for `(c, c', γ)` and `(c', c, γ⁻¹)`. -/ |
| 109 | lemma amplitudeMajorant_sq_le {c c' : S.Classes} {γ : S.G E} [S.IsAdmissible] (shift : ℕ) : |
| 110 | S.amplitudeMajorant .cut c c' γ ^ 2 ≤ |
| 111 | S.schurIntegral c c' γ shift * S.schurIntegral c' c γ⁻¹ shift := by |
| 112 | -- Cauchy–Schwarz, after the substitution `y ↦ γ⁻¹y` in `S.schurIntegral c' c γ⁻¹`. |
| 113 | rw [mul_comm, schurIntegral, ← lintegral_mul_left_eq_self _ (S.ratToInf γ⁻¹)] |
| 114 | -- It is enough to bound the square of the integrand at each `y`. |
| 115 | refine sq_lintegral_le (by fun_prop) (by fun_prop) fun y ↦ ?_ |
| 116 | by_cases h_zero : |
| 117 | S.classCutoff c y * S.classCutoff c' ((S.ratToInf γ)⁻¹ * y) * ‖S.besselKernel .cut γ y‖ₑ = 0 |
| 118 | · simp [h_zero] |
| 119 | obtain ⟨hy, hγy⟩ := mem_boxedPoints_of_cut_integrand_ne_zero h_zero |
| 120 | -- On the support of the integrand, the boxed cutoff equals the class cutoff. |
| 121 | have h_box_y : S.boxCutoff c y = S.classCutoff c y := Set.indicator_of_mem hy _ |
| 122 | have h_box_γy : |
| 123 | S.boxCutoff c' ((S.ratToInf γ)⁻¹ * y) = S.classCutoff c' ((S.ratToInf γ)⁻¹ * y) := |
| 124 | Set.indicator_of_mem hγy _ |
| 125 | -- The volume ratios in the two weights `schurWeight` are inverse to each other, so the product of |
| 126 | -- the two integrands is exactly the square of the integrand of `amplitudeMajorant`. |
| 127 | have h_cancel : |
| 128 | (∏ v : NumberField.InfinitePlace E, |
| 129 | ENNReal.ofReal ((volumeRatio (S.ratToInf γ v) (y v))⁻¹ ^ (𝔰.k + shift))) * |
| 130 | ∏ v : NumberField.InfinitePlace E, ENNReal.ofReal ((volumeRatio (S.ratToInf γ v)⁻¹ |
| 131 | ((S.ratToInf γ v)⁻¹ * y v))⁻¹ ^ (𝔰.k + shift)) = 1 := by |
| 132 | rw [← Finset.prod_mul_distrib] |
| 133 | refine Finset.prod_eq_one fun v _ ↦ ?_ |
| 134 | have h_pos : 0 < volumeRatio (S.ratToInf γ v) (y v) := volumeRatio_pos _ _ |
| 135 | rw [volumeRatio_inv, inv_inv, ← ENNReal.ofReal_mul (by positivity), ← mul_pow, |
| 136 | inv_mul_cancel₀ h_pos.ne', one_pow, ENNReal.ofReal_one] |
| 137 | refine le_of_eq ?_ |
| 138 | -- Insert the product `h_cancel`, equal to one, on the left; both sides then have equal factors. |
| 139 | rw [← mul_one (_ ^ 2), ← h_cancel] |
| 140 | simp only [enorm_besselKernel, schurWeight, besselCutNormSq, map_inv, inv_inv, |
| 141 | mul_inv_cancel_left, Finset.prod_pow, Pi.mul_apply, Pi.inv_apply, h_box_y, h_box_γy] |
| 142 | ring |
| 143 | |
| 144 | /-- On a unimodular group `G`, let a countable group `Γ` act on the left through `i`, let `p` be a |
| 145 | cutoff, that is, a function whose translates under `Γ` sum to one, and let `F` be invariant under |
| 146 | `Γ`. The integral of `F` against `p` does not change when `F` is translated on the right. -/ |
| 147 | lemma lintegral_cutoff_mul_eq_mul_right {G Γ : Type*} [Group G] [MeasurableSpace G] |
| 148 | [MeasurableMul G] [Group Γ] [Countable Γ] (ν : Measure G) [ν.IsMulLeftInvariant] |
| 149 | [ν.IsMulRightInvariant] (i : Γ →* G) {p F : G → ENNReal} (p_meas : Measurable p) |
| 150 | (F_meas : Measurable F) (p_sum : ∀ u : G, ∑' k : Γ, p (i k * u) = 1) |
| 151 | (F_inv : ∀ (k : Γ) (u : G), F (i k * u) = F u) (t : G) : |
| 152 | ∫⁻ u : G, p u * F u ∂ν = ∫⁻ u : G, F (u * t) * p u ∂ν := by |
| 153 | -- Translate by `t`, insert the sum of the translates of `p` at `u`, substitute `u ↦ i k * u` in |
| 154 | -- the `k`-th term and sum the first factor `p` over `k`. |
| 155 | have p_sum_inv (u : G) : ∑' k : Γ, p ((i k)⁻¹ * u) = 1 := by |
| 156 | simpa [p_sum] using (Equiv.inv Γ).tsum_eq fun k ↦ p (i k * u) |
| 157 | calc |
| 158 | _ = ∫⁻ u, p (u * t) * F (u * t) ∂ν := (lintegral_mul_right_eq_self _ t).symm |
| 159 | _ = ∑' k : Γ, ∫⁻ u, p (u * t) * F (u * t) * p ((i k)⁻¹ * u) ∂ν := by |
| 160 | simp (disch := fun_prop) [← lintegral_tsum, ENNReal.tsum_mul_left, p_sum_inv] |
| 161 | _ = ∑' k : Γ, ∫⁻ u, p (i k * (u * t)) * (F (u * t) * p u) ∂ν := by |
| 162 | refine tsum_congr fun k ↦ ?_ |
| 163 | rw [← lintegral_mul_left_eq_self _ (i k)] |
| 164 | simp only [mul_assoc, F_inv, inv_mul_cancel_left] |
| 165 | _ = _ := by simp (disch := fun_prop) [← lintegral_tsum, ENNReal.tsum_mul_right, p_sum] |
| 166 | |
| 167 | /-- On a unimodular group `G`, let `p` be a cutoff for a countable group `Γ` acting on the left |
| 168 | through `i` and let `F` be invariant under `Γ`. If the mean of `F (u * t x)` over `x ∈ B` is at most |
| 169 | `C` for all `u`, then the integral of `F` against `p` is at most `C` times that of `p`. -/ |
| 170 | lemma lintegral_cutoff_mul_le_of_average {G Γ Y : Type*} [Group G] [MeasurableSpace G] |
| 171 | [MeasurableMul₂ G] [Group Γ] [Countable Γ] [MeasurableSpace Y] (ν : Measure G) [SFinite ν] |
| 172 | [ν.IsMulLeftInvariant] [ν.IsMulRightInvariant] (i : Γ →* G) {p F : G → ENNReal} |
| 173 | (p_meas : Measurable p) (F_meas : Measurable F) (p_sum : ∀ u : G, ∑' k : Γ, p (i k * u) = 1) |
| 174 | (F_inv : ∀ (k : Γ) (u : G), F (i k * u) = F u) (m : Measure Y) [SFinite m] |
| 175 | {t : Y → G} (t_meas : Measurable t) {B : Set Y} (h_pos : m B ≠ 0) (h_finite : m B ≠ ⊤) |
| 176 | {C : ENNReal} (h_bound : ∀ u : G, ∫⁻ x in B, F (u * t x) ∂m ≤ m B * C) : |
| 177 | ∫⁻ u, p u * F u ∂ν ≤ ∫⁻ u, C * p u ∂ν := by |
| 178 | rw [← ENNReal.mul_le_mul_iff_right h_pos h_finite] |
| 179 | calc |
| 180 | _ = ∫⁻ _ in B, ∫⁻ u, p u * F u ∂ν ∂m := by rw [setLIntegral_const, mul_comm] |
| 181 | _ = ∫⁻ x in B, ∫⁻ u, F (u * t x) * p u ∂ν ∂m := by |
| 182 | simp only [← lintegral_cutoff_mul_eq_mul_right ν i p_meas F_meas p_sum F_inv] |
| 183 | _ = ∫⁻ u, (∫⁻ x in B, F (u * t x) ∂m) * p u ∂ν := by |
| 184 | rw [lintegral_lintegral_swap (by fun_prop)] |
| 185 | simp (disch := fun_prop) only [lintegral_mul_const] |
| 186 | _ ≤ ∫⁻ u, m B * C * p u ∂ν := lintegral_mono fun u ↦ mul_le_mul_left (h_bound u) (p u) |
| 187 | _ = _ := by simp only [mul_assoc, lintegral_const_mul' _ _ h_finite] |
| 188 | |
| 189 | omit [HasPrimitiveRoot5040 E] in |
| 190 | /-- The norm of the cut Bessel function is left invariant under the unipotent group `besselU`, |
| 191 | which acts on the function by a unitary character. -/ |
| 192 | lemma enorm_besselSystem_cut_mul (v : NumberField.InfinitePlace E) {u : 𝔰.G₁} (hu : u ∈ besselU) |
| 193 | (y : 𝔰.G₁) : |
| 194 | ‖(S.besselSystem v).besselFn .cut (u * y)‖ₑ = ‖(S.besselSystem v).besselFn .cut y‖ₑ := by |
| 195 | obtain ⟨_, h_equivariant⟩ := (S.besselSystem v).isCutPair.isBesselFunction .cut |
| 196 | simp [← ofReal_norm, norm_smul, h_equivariant, hu] |
| 197 | |
| 198 | /-- Let `S` be data of the filling theorem over the CM field `E`, which contains a primitive root of |
| 199 | unity of order `5040`, and let `S` be admissible. For every class `c`, the integral over the |
| 200 | archimedean points `y` of `S.classCutoff c y` times `S.besselCutNormSq y` is at most |
| 201 | `S.unipotentCovolume`, the common covolume of the unipotent groups of the classes, times the number |
| 202 | `card S.BesselCoord` of Bessel coordinates. -/ |
| 203 | lemma lintegral_classCutoff_mul_sq_le [S.IsAdmissible] (c : S.Classes) : |
| 204 | ∫⁻ y : NumberField.InfinitePlace E → 𝔰.G₁, S.classCutoff c y * S.besselCutNormSq y ≤ |
| 205 | ENNReal.ofReal S.unipotentCovolume * card S.BesselCoord := by |
| 206 | have h_invariant (v : NumberField.InfinitePlace E) (u : 𝔰.G₁) (hu : u ∈ besselU) (y : 𝔰.G₁) : |
| 207 | ‖(S.besselSystem v).besselFn .cut (u * y)‖ₑ ^ 2 = |
| 208 | ‖(S.besselSystem v).besselFn .cut y‖ₑ ^ 2 := by |
| 209 | rw [enorm_besselSystem_cut_mul v hu] |
| 210 | calc |
| 211 | _ = ENNReal.ofReal S.unipotentCovolume * ∏ v : NumberField.InfinitePlace E, |
| 212 | ∫⁻ y, ‖(S.besselSystem v).besselFn .cut y‖ₑ ^ 2 ∂besselQuotMeasure := |
| 213 | lintegral_classCutoff_mul_prod (fun v ↦ by fun_prop) h_invariant c |
| 214 | _ ≤ ENNReal.ofReal S.unipotentCovolume * |
| 215 | ∏ v : NumberField.InfinitePlace E, (card (S.besselSystem v).Index : ENNReal) := by |
| 216 | gcongr with v |
| 217 | exact (S.besselSystem v).isCutPair.lintegral_sq_cut_le |
| 218 | _ = _ := by rw [card_pi, Nat.cast_prod] |
| 219 | |
| 220 | omit [HasPrimitiveRoot5040 E] in |
| 221 | /-- Let `𝔰.G₁` be the complex unitary group of the shape `𝔰`. Let `f` be measurable on the product |
| 222 | of its copies at the infinite places of the CM field `E`. The integral of `f` is an iterated |
| 223 | integral. The inner one runs over the orbit of `a` under `besselU0`, the unipotent elements that fix |
| 224 | the frame vectors e₁, …, e_ϱ, z, with the measure `𝔰.besselHaar₀` at each place. The outer one runs |
| 225 | over `a`, with `orbitMeasure 𝔰.besselHaar₀ volume` at each place: `volume` weighted by a cutoff, a |
| 226 | function with integral one over each orbit. -/ |
| 227 | lemma lintegral_eq_lintegral_orbit |
| 228 | {f : (NumberField.InfinitePlace E → 𝔰.G₁) → ENNReal} (hf : Measurable f) : |
| 229 | ∫⁻ y : NumberField.InfinitePlace E → 𝔰.G₁, f y = |
| 230 | ∫⁻ a : NumberField.InfinitePlace E → 𝔰.G₁, |
| 231 | ∫⁻ u : NumberField.InfinitePlace E → (𝔰.middleGram (1 : ℂ)).besselU0, |
| 232 | f ((fun v : NumberField.InfinitePlace E ↦ (u v : 𝔰.G₁)) * a) ∂Measure.pi |
| 233 | fun _ ↦ 𝔰.besselHaar₀ |
| 234 | ∂Measure.pi fun _ ↦ orbitMeasure 𝔰.besselHaar₀ volume := by |
| 235 | rw [← (measurePreserving_pi_orbitMeasure 𝔰.besselHaar₀).lintegral_comp hf, |
| 236 | lintegral_prod _ (by fun_prop)] |
| 237 | |
| 238 | /-- **Integration in stages.** Let `S` be data of the filling theorem over the CM field `E`, which |
| 239 | contains a primitive root of unity of order `5040`, and let `S` be admissible. Let `F` be measurable |
| 240 | and left invariant under `S.classUnipotent₀ c`, the rational unipotent elements of the class `c` |
| 241 | that fix the frame vectors e₁, …, e_ϱ, z. Let `s` be measurable with components in `besselU0`, the |
| 242 | unipotent elements that fix these vectors, and let `B` have finite positive measure. If for all `u` |
| 243 | with components in `besselU0` and all boxed points `y` the integral of `F (u * s x * y)` over |
| 244 | `x ∈ B` is at most `m B * C`, then the integral of `F` against the boxed cutoff and |
| 245 | `S.besselCutNormSq`, the product of the squared norms of the local cut Bessel functions, is at most |
| 246 | `C` times `S.unipotentCovolume` times the cardinality of `S.BesselCoord`. -/ |
| 247 | lemma lintegral_boxCutoff_le_of_average {X : Type*} [MeasurableSpace X] [S.IsAdmissible] |
| 248 | (c : S.Classes) (m : Measure X) [SFinite m] |
| 249 | {s : X → NumberField.InfinitePlace E → 𝔰.G₁} (s_meas : Measurable s) |
| 250 | (hs : ∀ (x : X) (v : NumberField.InfinitePlace E), s x v ∈ besselU0) |
| 251 | {F : (NumberField.InfinitePlace E → 𝔰.G₁) → ENNReal} (F_meas : Measurable F) |
| 252 | (hF : ∀ u ∈ S.classUnipotent₀ c, ∀ y : NumberField.InfinitePlace E → 𝔰.G₁, |
| 253 | F (S.ratToInf u * y) = F y) |
| 254 | (B : Set X) (h_pos : m B ≠ 0) (h_finite : m B ≠ ⊤) {C : ENNReal} |
| 255 | (h_bound : ∀ u : NumberField.InfinitePlace E → 𝔰.G₁, |
| 256 | (∀ v : NumberField.InfinitePlace E, u v ∈ besselU0) → |
| 257 | ∀ y ∈ S.boxedPoints, ∫⁻ x in B, F (u * s x * y) ∂m ≤ m B * C) : |
| 258 | ∫⁻ y : NumberField.InfinitePlace E → 𝔰.G₁, S.boxCutoff c y * S.besselCutNormSq y * F y ≤ |
| 259 | C * (ENNReal.ofReal S.unipotentCovolume * card S.BesselCoord) := by |
| 260 | -- Unfold both sides along `G`, the group `besselU0` at the infinite places. On an orbit in |
| 261 | -- `S.boxedPoints` the Bessel norms and all factors of the boxed cutoff are constant, except the |
| 262 | -- cutoff `p` for `S.classUnipotent₀ c`. The `p`-weighted integral of `F` does not change when |
| 263 | -- `u ∈ G` is replaced by `u * s x` in `F`: average over `x ∈ B`. |
| 264 | let Γ : Subgroup (S.classUnipotent c) := (S.classUnipotent₀ c).subgroupOf (S.classUnipotent c) |
| 265 | let ω : (NumberField.InfinitePlace E → 𝔰.G₁) → ENNReal := S.reducedIndicator |
| 266 | obtain ⟨p, h_cutoff, p_meas, p_sum⟩ : ∃ p : (NumberField.InfinitePlace E → 𝔰.G₁) → ENNReal, |
| 267 | S.classCutoff c = p * ω ∧ Measurable p ∧ |
| 268 | ∀ y : NumberField.InfinitePlace E → 𝔰.G₁, ∑' k : Γ, p (S.ratToInf k * y) = 1 := |
| 269 | S.exists_classCutoff_eq_mul c |
| 270 | let G : Type := NumberField.InfinitePlace E → (𝔰.middleGram (1 : ℂ)).besselU0 |
| 271 | let ν : Measure G := .pi fun _ ↦ 𝔰.besselHaar₀ |
| 272 | let i : Γ →* G := |
| 273 | MonoidHom.mk' (fun k v ↦ ⟨S.ratToInf ((k : S.classUnipotent c) : S.G E) v, |
| 274 | ratToInf_mem_besselU0 (Subgroup.mem_inf.1 (mem_subgroupOf.1 k.property)).2 v⟩) |
| 275 | fun k k' ↦ funext fun v ↦ Subtype.ext <| congrFun (S.ratToInf.map_mul _ _) v |
| 276 | let ι (u : G) : NumberField.InfinitePlace E → 𝔰.G₁ := fun v ↦ u v |
| 277 | have ι_mul (k : Γ) (u : G) : ι (i k * u) = S.ratToInf k * ι u := rfl |
| 278 | -- The `p`-weighted integral over an orbit is bounded by averaging over the translations `s x`. |
| 279 | have h_orbit (a : NumberField.InfinitePlace E → 𝔰.G₁) (ha : a ∈ S.boxedPoints) : |
| 280 | ∫⁻ u, p (ι u * a) * F (ι u * a) ∂ν ≤ ∫⁻ u, C * p (ι u * a) ∂ν := by |
| 281 | refine lintegral_cutoff_mul_le_of_average ν i (t := fun x v ↦ ⟨s x v, hs x v⟩) |
| 282 | (by fun_prop) (by fun_prop) ?_ ?_ m (by fun_prop) h_pos h_finite ?_ |
| 283 | · simp only [ι_mul, mul_assoc, p_sum, implies_true] |
| 284 | · intro k u |
| 285 | rw [ι_mul, mul_assoc, hF _ (mem_subgroupOf.1 k.property)] |
| 286 | · exact fun u ↦ h_bound (ι u) (fun v ↦ (u v).property) a ha |
| 287 | -- Write both integrals as integrals of orbit integrals and compare orbit by orbit. |
| 288 | grw [← lintegral_classCutoff_mul_sq_le c] |
| 289 | rw [← lintegral_const_mul C (by fun_prop), lintegral_eq_lintegral_orbit (by fun_prop), |
| 290 | lintegral_eq_lintegral_orbit (by fun_prop)] |
| 291 | gcongr 1 with a |
| 292 | change ∫⁻ u, S.boxCutoff c (ι u * a) * S.besselCutNormSq (ι u * a) * F (ι u * a) ∂ν ≤ |
| 293 | ∫⁻ u, C * (S.classCutoff c (ι u * a) * S.besselCutNormSq (ι u * a)) ∂ν |
| 294 | -- On the orbit of `a` only the factor `p` of `S.classCutoff c` varies, and `S.boxedPoints` is |
| 295 | -- `G`-stable. |
| 296 | have hω : S.IsBoxPartitionOfUnity c ω := isBoxPartitionOfUnity_reducedIndicator c |
| 297 | have cutoff_orbit (u : G) : S.classCutoff c (ι u * a) = p (ι u * a) * ω a := by |
| 298 | rw [h_cutoff, Pi.mul_apply, |
| 299 | hω.besselFixer_invariant (ι u) a fun v ↦ mem_besselFixer_of_mem_besselU0 (u v).property] |
| 300 | have norm_orbit (u : G) : S.besselCutNormSq (ι u * a) = S.besselCutNormSq a := by |
| 301 | refine Finset.prod_congr rfl fun v _ ↦ ?_ |
| 302 | rw [Pi.mul_apply, enorm_besselSystem_cut_mul v (Subgroup.mem_inf.1 (u v).property).1] |
| 303 | have box_orbit (u : G) : ι u * a ∈ S.boxedPoints ↔ a ∈ S.boxedPoints := |
| 304 | mul_mem_boxedPoints_iff fun v ↦ (u v).property |
| 305 | by_cases ha : a ∈ S.boxedPoints |
| 306 | · -- Pull the constant `K` out of both orbit integrals; `h_orbit` remains. |
| 307 | let K : ENNReal := ω a * S.besselCutNormSq a |
| 308 | calc |
| 309 | _ = (∫⁻ u, p (ι u * a) * F (ι u * a) ∂ν) * K := by |
| 310 | rw [← lintegral_mul_const K (by fun_prop)] |
| 311 | simp only [boxCutoff, Set.indicator_of_mem ((box_orbit _).2 ha), cutoff_orbit, norm_orbit, |
| 312 | K] |
| 313 | exact lintegral_congr fun u ↦ by ring |
| 314 | _ ≤ (∫⁻ u, C * p (ι u * a) ∂ν) * K := by grw [h_orbit a ha] |
| 315 | _ = _ := by |
| 316 | rw [← lintegral_mul_const K (by fun_prop)] |
| 317 | simp only [cutoff_orbit, norm_orbit, mul_assoc, K] |
| 318 | · simp [boxCutoff, box_orbit, ha] |
| 319 | |
| 320 | end New.Filling |
| 321 | |
| 322 | end |