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.Dynamics.Ergodic.Action.Regular |
| 5 | import Mathlib.MeasureTheory.SpecificCodomains.WithLp |
| 6 | import TauCeti.MeasureTheory.Integral.Pi |
| 7 | import TauCeti.Topology.Algebra.Group.Units |
| 8 | import TauCeti.Topology.Instances.Matrix |
| 9 | public import Lib.DiscreteSeries.Bessel.UnipotentHaarMeasure |
| 10 | public import New.Spanning.Unfolding.Setup |
| 11 | import Lib.Cohomology.Etale.Basic |
| 12 | import New.Spanning.Bessel.Orthonormality |
| 13 | import New.Spanning.Unfolding.CutoffIntegral |
| 14 | import New.Spanning.Unfolding.Packing |
| 15 | |
| 16 | /-! |
| 17 | # Sums of amplitudes over blocks |
| 18 | |
| 19 | This file proves convergence, change of weight and the behaviour under the Bessel subgroup of the |
| 20 | block sums `S.amplitudeSum side T c s c'`. The block is the sum, over the rational `γ ∈ T` that lie |
| 21 | over `(c, s, c')` (`New.Filling.termsOver`), of the amplitudes |
| 22 | `∫ β_c(y) β_c'(γ⁻¹ y) W(y) ⊗ W(γ⁻¹ y)^* dy`. Here `β_c = S.classCutoff c` is a cutoff for the group |
| 23 | `S.classUnipotent c`, the argument `side : FullOrCut` selects the full or the cut Bessel function |
| 24 | `W`, and `ν = New.Filling.unipotentCovolume`. The listed results assume that `S` is admissible |
| 25 | (`New.Filling.IsAdmissible`). |
| 26 | |
| 27 | ## Main definitions and results |
| 28 | |
| 29 | * `New.Filling.exists_tsum_classCutoff_mul_prod_enorm_le`, |
| 30 | `New.Filling.tsum_amplitudeMajorant_lt_top`, |
| 31 | `New.Filling.tsum_lintegral_enorm_besselKernel_sub_cut_le`: the sums are bounded and converge |
| 32 | absolutely, and cutting `W` changes them little. |
| 33 | * `New.Filling.hasSum_amplitudeSum_of_cutoff`: for stable `T`, any measurable weight with orbit sums |
| 34 | `1` may replace the product of the cutoffs `S.classCutoff c` and `S.classCutoff c'`. |
| 35 | * `New.Filling.amplitudeSum_mul_mul_inv`, `New.Filling.amplitudeSum_besselU_mul`: moving a block by |
| 36 | the Bessel subgroup; the unipotent part acts through the character `New.Filling.unipotentChar`. |
| 37 | * `New.Filling.amplitudeSum_eq_zero_of_not_agrees`: the block of a stable set vanishes unless `s` |
| 38 | agrees. |
| 39 | * `New.Filling.amplitudeSum_besselS_one_eq_ite`: for the full Bessel function only, at `s = 1` the |
| 40 | Bessel subgroup contributes `S.unipotentCovolume` times the identity if `c = c'`, and `0` |
| 41 | otherwise. |
| 42 | |
| 43 | Notions from other files: |
| 44 | * `New.Filling.latticeStabilizer`, `New.Filling.reduction`, `New.Filling.ResidueGL`: the group K of |
| 45 | integral elements of the finite adelic unitary group, and its reduction modulo the chosen places |
| 46 | above p₀ and p₁, with values in the product `ResidueGL` of the general linear groups over the |
| 47 | residue fields. The kernel is K(M) = `New.Filling.principalLevel`. |
| 48 | * `New.Filling.termsOver`: a rational `γ` is a term over `(c, s, c')` if h_c⁻¹ γ h_c' lies in K and |
| 49 | has reduction `s`; here h_c = `S.classRep c` represents the class `c`. |
| 50 | * `New.Shape.Form.besselU`, `New.Shape.Form.besselS`, `New.Filling.IsStable`: the group 𝖴 of block |
| 51 | upper unitriangular isometries, and the Bessel subgroup, which 𝖴 generates together with the |
| 52 | unitary group of the standard form on κ; a set `T` of rational elements is stable if |
| 53 | multiplication on either side by rational points of 𝖴 does not affect membership in `T`. |
| 54 | * `New.Filling.IsAdmissible`: the standing hypotheses. The level `sourceLevel` is the preimage of |
| 55 | K(M), `reduction` is onto, and size inequalities hold between b, M and ϖ, κ_v, N, the second |
| 56 | moments, the number of Bessel coordinates, an index and the constant `scaledSiegelConst`. |
| 57 | * `New.Filling.classUnipotent`, `New.Filling.unipotentCovolume`: the rational points u of 𝖴 with |
| 58 | h_c⁻¹ u h_c in the principal congruence subgroup K(M); an explicit positive number built from M, |
| 59 | N, |κ|, ϱ, the discriminant of E and the scales of the frame at the infinite places. |
| 60 | |
| 61 | ## Relation to the literature |
| 62 | |
| 63 | The results on block sums belong to two steps: the bound for the second moment of the Poincaré |
| 64 | series (`New.Spanning.Unfolding.Moments`, which lists related work) and the bound for degenerate |
| 65 | terms and pairs with different links (`New.Spanning.RemainingTerms.Sum`). |
| 66 | -/ |
| 67 | |
| 68 | @[expose] public section |
| 69 | |
| 70 | section AmplitudeSums |
| 71 | |
| 72 | open NumberField MeasureTheory Measure Complex ENNReal Finset Fintype |
| 73 | |
| 74 | namespace New.Filling |
| 75 | |
| 76 | section GeneralBlocks |
| 77 | |
| 78 | variable {E : Type} [Field E] [CMType E] |
| 79 | {𝔰 : Shape} {S : Filling E 𝔰} {side : FullOrCut} |
| 80 | |
| 81 | /-! ### Preliminaries on cutoffs, the kernel, sums by layers and majorants -/ |
| 82 | |
| 83 | /-- The rational points of the Bessel subgroup `besselS` form a stable set: multiplying on either |
| 84 | side by rational points of `besselU` does not affect membership in `besselS`. -/ |
| 85 | lemma isStable_besselS : S.IsStable (S.ratMiddle E).besselS := by |
| 86 | simp +contextual [IsStable, mul_mem_cancel_right, mul_mem_cancel_left] |
| 87 | |
| 88 | /-- The quotient measure of a unimodular Haar measure `ν` on a subgroup of `G₁` is σ-finite, as its |
| 89 | density, a chosen cutoff for `ν`, is almost everywhere finite. -/ |
| 90 | instance sigmaFinite_orbitMeasure |
| 91 | {A : Subgroup 𝔰.G₁} (ν : Measure A) [h : RealPlace.IsUnimodularHaar ν] : |
| 92 | SigmaFinite (orbitMeasure ν (@volume 𝔰.G₁ _)) := |
| 93 | have h_cutoff : IsCutoff ν (chosenCutoff ν) := Classical.epsilon_spec h.out |
| 94 | .withDensity_of_ne_top (h_cutoff.ae_cutoff_lt_top.mono fun _ hy ↦ hy.ne) |
| 95 | |
| 96 | /-- Unfolding at several places: if `ν` is a unimodular Haar measure on a subgroup of `G₁`, then |
| 97 | `(x, u) ↦ (u v * x v)_v` carries the product of the quotient measures and of the copies of `ν` to |
| 98 | the Haar measure on `P → G₁`, for a finite type `P`. -/ |
| 99 | lemma measurePreserving_pi_orbitMeasure {A : Subgroup 𝔰.G₁} (ν : Measure A) |
| 100 | [RealPlace.IsUnimodularHaar ν] {P : Type*} [Fintype P] : |
| 101 | MeasurePreserving (fun p : (P → 𝔰.G₁) × (P → A) ↦ (fun v : P ↦ (p.2 v).val) * p.1) |
| 102 | ((Measure.pi fun _ : P ↦ orbitMeasure ν (volume : Measure 𝔰.G₁)).prod |
| 103 | (Measure.pi fun _ : P ↦ ν)) |
| 104 | (volume : Measure (P → 𝔰.G₁)) := |
| 105 | (measurePreserving_pi _ _ fun _ : P ↦ |
| 106 | measurePreserving_orbitMeasure (ν := ν) (μ := (volume : Measure 𝔰.G₁))).comp |
| 107 | (measurePreserving_arrowProdEquivProdArrow ..).symm |
| 108 | |
| 109 | /-- Let `g j`, for `j` in a countable index set `J`, be measurable functions with values in a |
| 110 | finite-dimensional space `EuclideanSpace ℂ I`, and let the sum over `j` of the integrals of `‖g j‖` |
| 111 | be finite. Then the `i`-th coordinate of `∑' j, ∫ g j` equals the integral of `∑' j, (g j x) i`. -/ |
| 112 | lemma tsum_integral_apply {X J I : Type*} [MeasurableSpace X] {μ : Measure X} [Countable J] |
| 113 | [Fintype I] {g : J → X → EuclideanSpace ℂ I} (hg_meas : ∀ j : J, Measurable (g j)) |
| 114 | (hg_fin : ∑' j : J, ∫⁻ x : X, ‖g j x‖ₑ ∂μ < ∞) (i : I) : |
| 115 | (∑' j : J, ∫ x : X, g j x ∂μ) i = ∫ x : X, ∑' j : J, g j x i ∂μ := by |
| 116 | -- Take the `i`-th coordinate through the sum and the integral, then exchange the two. |
| 117 | have h_integrable (j) : Integrable (g j) μ := ⟨by fun_prop, (le_tsum _ j).trans_lt hg_fin⟩ |
| 118 | have h_coord_fin : ∑' j, ∫⁻ x, ‖g j x i‖ₑ ∂μ < ∞ := by grw [PiLp.eNorm_apply_le, hg_fin] |
| 119 | have h_summable : Summable fun j ↦ ∫ x, g j x ∂μ := |
| 120 | .of_eNorm (ne_of_lt (by grw [eNorm_integral_le_lintegral_eNorm, hg_fin])) |
| 121 | calc |
| 122 | _ = ∑' j, (∫ x, g j x ∂μ) i := (EuclideanSpace.proj i).map_tsum h_summable |
| 123 | _ = ∑' j, ∫ x, g j x i ∂μ := tsum_congr fun j ↦ eval_integral_piLp (h_integrable j).eval_piLp i |
| 124 | _ = ∫ x, ∑' j, g j x i ∂μ := (integral_tsum (by fun_prop) h_coord_fin.ne).symm |
| 125 | |
| 126 | /-- The group `S.ResidueGL`, a finite product of general linear groups over finite residue fields, |
| 127 | is finite. -/ |
| 128 | noncomputable instance : Fintype S.ResidueGL := .ofFinite _ |
| 129 | |
| 130 | /-- The Bessel function `S.besselFn side` is invariant under left translation by the image at the |
| 131 | infinite places of the group `S.classUnipotent c` of a class `c`. -/ |
| 132 | lemma besselFn_mul_of_mem_classUnipotent {c : S.Classes} (u : S.classUnipotent c) |
| 133 | (y : InfinitePlace E → 𝔰.G₁) : |
| 134 | S.besselFn side (S.ratToInf u * y) = S.besselFn side y := by |
| 135 | -- `besselFn` changes by the inverse of `unipotentChar`. The conjugate of `u` by the |
| 136 | -- representative of `c` lies in `S.principalLevel`, so the character has at `u` its value at `1`. |
| 137 | obtain ⟨hu_besselU, hu_level⟩ := u.property |
| 138 | have h_char : S.unipotentChar (S.ratToFin u) = 1 := by |
| 139 | simp_all [unipotentChar_eq_of_mem_principalLevel (one_mem _) _ c.out] |
| 140 | simp [besselFn_ratToInf_mul hu_besselU, h_char] |
| 141 | |
| 142 | /-- Let `besselKernel γ y` be the tensor `besselFn(y) ⊗ besselFn(γ⁻¹ y)^*` of Bessel functions. Let |
| 143 | `u`, `u'` lie in the unipotent subgroup `besselU` of `(S.ratMiddle E).G`, the group `S.G E` of |
| 144 | rational isometries of the form with middle Gram matrix `S.ratMiddle E`. Then the kernel at |
| 145 | `(u γ u'⁻¹, u y)` is `ψ(u)⁻¹ ψ(u')` times the kernel at `(γ, y)`. Here `ψ` is `unipotentChar` |
| 146 | applied to the finite-adelic images `ratToFin u` and `ratToFin u'`. -/ |
| 147 | lemma besselKernel_besselU_mul {u u' : (S.ratMiddle E).G} (hu : u ∈ besselU) (hu' : u' ∈ besselU) |
| 148 | (γ : S.G E) (y : InfinitePlace E → 𝔰.G₁) : |
| 149 | S.besselKernel side (u * γ * u'⁻¹) (S.ratToInf u * y) = |
| 150 | ((S.unipotentChar (S.ratToFin u))⁻¹ * S.unipotentChar (S.ratToFin u')) • |
| 151 | S.besselKernel side γ y := by |
| 152 | -- Apply `besselFn_ratToInf_mul` in both factors; conjugation inverts the second character, of |
| 153 | -- modulus `1`. |
| 154 | ext p |
| 155 | have h_arg : (S.ratToInf (u * γ * u'⁻¹))⁻¹ * (S.ratToInf u * y) = |
| 156 | S.ratToInf u' * ((S.ratToInf γ)⁻¹ * y) := by |
| 157 | simp [mul_assoc] |
| 158 | have h_conj : starRingEnd ℂ (S.unipotentChar (S.ratToFin u')) = |
| 159 | (S.unipotentChar (S.ratToFin u'))⁻¹ := by simp [unipotentChar, ← inv_eq_conj] |
| 160 | simp only [besselKernel, PiLp.smul_apply, h_arg, besselFn_ratToInf_mul hu, |
| 161 | besselFn_ratToInf_mul hu'] |
| 162 | simp [h_conj] |
| 163 | ring |
| 164 | |
| 165 | /-- Unfolding: let each `w v` be measurable and left invariant under the unipotent group `besselU` |
| 166 | (`FixesLeft`). Then the integral of the cutoff `S.classCutoff c y` of the class `c` times |
| 167 | `∏ v, w v (y v)` is the covolume `S.unipotentCovolume` times the product of the integrals of the |
| 168 | `w v` for the quotient measure `besselQuotMeasure` on `𝖴 \ G₁`. -/ |
| 169 | lemma lintegral_classCutoff_mul_prod [HasPrimitiveRoot5040 E] [S.IsAdmissible] |
| 170 | {w : InfinitePlace E → 𝔰.G₁ → ℝ≥0∞} (hw_meas : ∀ v : InfinitePlace E, Measurable (w v)) |
| 171 | (hw_inv : ∀ v : InfinitePlace E, besselU.FixesLeft (w v)) (c : S.Classes) : |
| 172 | ∫⁻ y : InfinitePlace E → 𝔰.G₁, S.classCutoff c y * ∏ v : InfinitePlace E, w v (y v) = |
| 173 | .ofReal S.unipotentCovolume * |
| 174 | ∏ v : InfinitePlace E, ∫⁻ y : 𝔰.G₁, w v y ∂besselQuotMeasure := by |
| 175 | -- Unfold `y = u * x` with `u` in the product of the groups `besselU`: the factors `w v` do not |
| 176 | -- see `u`, and the integral of `S.classCutoff c` over `u` is `S.unipotentCovolume`. |
| 177 | calc |
| 178 | _ = ∫⁻ x, (∫⁻ u, S.classCutoff c (fun v ↦ ((u v).val : 𝔰.G₁) * x v) |
| 179 | ∂(Measure.pi fun _ : InfinitePlace E ↦ 𝔰.besselHaar)) * |
| 180 | ∏ v, w v (x v) ∂(Measure.pi fun _ : InfinitePlace E ↦ besselQuotMeasure) := by |
| 181 | simp (disch := first | fun_prop | simp) [lintegral_prod, Pi.mul_def, hw_inv, |
| 182 | lintegral_mul_const, ← (measurePreserving_pi_orbitMeasure 𝔰.besselHaar).lintegral_comp] |
| 183 | _ = .ofReal S.unipotentCovolume * |
| 184 | ∫⁻ x, ∏ v, w v (x v) ∂(.pi fun _ : InfinitePlace E ↦ besselQuotMeasure) := by |
| 185 | simp only [lintegral_classCutoff_eq_unipotentCovolume] |
| 186 | exact lintegral_const_mul' _ _ ofReal_ne_top |
| 187 | _ = _ := by rw [TauCeti.lintegral_fintype_prod_eq_prod _ hw_meas] |
| 188 | |
| 189 | /-- Summation by layers. Let `u ≥ 1`. If the points with `u p ≤ R` have total weight at |
| 190 | most `(K R ^ e) ^ d` for all `R ≥ 1`, then the weighted sum of `u p ^ (-i)` is at most `2 K ^ d` as |
| 191 | soon as `2 e d < i`. -/ |
| 192 | lemma tsum_mul_inv_pow_le_of_layers {α : Type*} {w : α → ℝ≥0∞} {u : α → ℝ} {K : ℝ} {e d i : ℕ} |
| 193 | (hu : ∀ p : α, 1 ≤ u p) |
| 194 | (h_count : ∀ R ≥ (1 : ℝ), ∑' p : α, {p : α | u p ≤ R}.indicator w p ≤ .ofReal ((K * R ^ e) ^ d)) |
| 195 | (hi : 2 * (e * d) < i) : |
| 196 | ∑' p : α, w p * .ofReal ((u p)⁻¹ ^ i) ≤ .ofReal (2 * K ^ d) := by |
| 197 | -- Apply the layer cake bound to the measure with mass `w p` at the point `p`. |
| 198 | let : MeasurableSpace α := ⊤ |
| 199 | let μ : Measure α := Measure.count.withDensity w |
| 200 | have hi_real : 2 * ((e : ℝ) * d) < i := mod_cast hi |
| 201 | have h_ed : 0 ≤ (e : ℝ) * d := by positivity |
| 202 | have h_vol (R : ℝ) (hR : R ≥ 1) : μ {p | u p ≤ R} ≤ .ofReal ((K * R ^ e) ^ d) * 1 := by |
| 203 | rw [withDensity_apply _ MeasurableSpace.measurableSet_top, |
| 204 | ← lintegral_indicator MeasurableSpace.measurableSet_top, lintegral_count, mul_one] |
| 205 | exact h_count R hR |
| 206 | calc |
| 207 | _ = ∫⁻ p, .ofReal (u p ^ (-i : ℝ)) ∂μ := by |
| 208 | rw [lintegral_withDensity_eq_lintegral_mul _ measurable_from_top measurable_from_top, |
| 209 | lintegral_count] |
| 210 | simp only [Pi.mul_apply, Real.rpow_neg (zero_le_one.trans (hu _)), Real.rpow_natCast, inv_pow] |
| 211 | _ ≤ .ofReal (K ^ d * 2) * 1 := |
| 212 | lintegral_rpow_neg_le_of_measure_sublevel_le measurable_from_top hu h_vol (by linarith) |
| 213 | (by linarith) |
| 214 | _ = .ofReal (2 * K ^ d) := by rw [mul_one, mul_comm] |
| 215 | |
| 216 | variable (S) in |
| 217 | /-- The product over the infinite places `v` of the scaled lengths of `y v`, each of which is |
| 218 | `max 1 (besselLength (y v) / b ^ (6 n))`. Here `besselLength x` is the infimum of `‖s x‖ + 1` over |
| 219 | `s` in the Bessel subgroup `besselS`, `b = S.b` and `n = ϱ + 1`. -/ |
| 220 | noncomputable def scaledBesselLengthProd (y : InfinitePlace E → 𝔰.G₁) : ℝ := |
| 221 | ∏ v : InfinitePlace E, scaledBesselLength (y v) S.b |
| 222 | |
| 223 | /-- The product of the scaled lengths over the infinite places is at least one. -/ |
| 224 | lemma one_le_scaledBesselLengthProd (y : InfinitePlace E → 𝔰.G₁) : 1 ≤ S.scaledBesselLengthProd y := |
| 225 | Finset.one_le_prod₀ fun v _ ↦ one_le_scaledBesselLength (y v) S.b |
| 226 | |
| 227 | /-- The scaled length at one infinite place is at most the product of all of them. -/ |
| 228 | lemma scaledBesselLength_le_scaledBesselLengthProd (y : InfinitePlace E → 𝔰.G₁) |
| 229 | (v : InfinitePlace E) : |
| 230 | scaledBesselLength (y v) S.b ≤ S.scaledBesselLengthProd y := by |
| 231 | rw [scaledBesselLengthProd, ← mul_prod_erase _ _ (mem_univ v)] |
| 232 | exact le_mul_of_one_le_right (zero_le_one.trans (one_le_scaledBesselLength ..)) |
| 233 | (Finset.one_le_prod₀ fun w _ ↦ one_le_scaledBesselLength (y w) S.b) |
| 234 | |
| 235 | /-- Let `S` be admissible, `T` a set of rational elements, `c` a class and `s` an element of the |
| 236 | finite group `S.ResidueGL`. Write `γ⁻¹ y` for `(S.ratToInf γ)⁻¹ * y`. Over all classes `d` and all |
| 237 | `γ` in `T ∩ S.termsOver c s d`, the cutoff `S.classCutoff d` at `γ⁻¹ y` times |
| 238 | `S.scaledBesselLengthProd (γ⁻¹ y) ^ (-(r ^ 3 * f))` adds up to at most `2 b ^ (12 n ^ 3 r f)`. Here |
| 239 | `b = S.b` is the real size parameter of `S`, `f` is the number of infinite places, `n = ϱ + 1` and |
| 240 | `r` is the rank of `G₁`. -/ |
| 241 | lemma tsum_classCutoff_mul_inv_pow_le [HasPrimitiveRoot5040 E] [S.IsAdmissible] |
| 242 | (T : Set (S.G E)) (c : S.Classes) (s : S.ResidueGL) (y : InfinitePlace E → 𝔰.G₁) : |
| 243 | ∑' (d : S.Classes) (γ : ↥(T ∩ S.termsOver c s d)), S.classCutoff d ((S.ratToInf γ)⁻¹ * y) * |
| 244 | .ofReal ((S.scaledBesselLengthProd ((S.ratToInf γ)⁻¹ * y))⁻¹ ^ (𝔰.r ^ 3 * numInfPlaces E)) ≤ |
| 245 | .ofReal (2 * S.b ^ (12 * 𝔰.n ^ 3 * 𝔰.r * numInfPlaces E)) := by |
| 246 | -- Sort the terms by the product `S.scaledBesselLengthProd` of the scaled lengths of `γ⁻¹ y` over |
| 247 | -- the infinite places. Packing in the space of tuples of vectors, of real dimension `2 n r f`, |
| 248 | -- bounds the total weight of the terms for which this product is at most `R`. |
| 249 | have hb : 1 ≤ S.b := S.one_le_b |
| 250 | let z (p : Σ d : S.Classes, ↥(T ∩ S.termsOver c s d)) : InfinitePlace E → 𝔰.G₁ := |
| 251 | (S.ratToInf p.2)⁻¹ * y |
| 252 | let weight (p : Σ d : S.Classes, ↥(T ∩ S.termsOver c s d)) : ℝ≥0∞ := |
| 253 | S.classCutoff p.1 (z p) |
| 254 | have h_dim : Module.finrank ℝ (⊤ : Submodule ℝ |
| 255 | (InfinitePlace E → Fin (𝔰.ϱ + 1) → EuclideanSpace ℂ 𝔰.BesselIndex)) = |
| 256 | 2 * 𝔰.n * 𝔰.r * numInfPlaces E := by |
| 257 | simp [finrank_top, Module.finrank_pi_fintype, finrank_real_of_complex] |
| 258 | ring |
| 259 | have h_count (R : ℝ) (hR : R ≥ 1) : |
| 260 | ∑' p, {p | S.scaledBesselLengthProd (z p) ≤ R}.indicator weight p ≤ |
| 261 | .ofReal ((S.b ^ (6 * 𝔰.n ^ 2) * R ^ 2) ^ (2 * 𝔰.n * 𝔰.r * numInfPlaces E)) := by |
| 262 | have h_size (p) (hp : p ∈ ({p | S.scaledBesselLengthProd (z p) ≤ R}.indicator weight).support) |
| 263 | (v : InfinitePlace E) : besselLength (z p v) ≤ S.b ^ (6 * 𝔰.n + 2) * R := by |
| 264 | have h_scaled : besselLength (z p v) / S.b ^ (6 * 𝔰.n) ≤ R := |
| 265 | (le_max_right ..).trans ((scaledBesselLength_le_scaledBesselLengthProd (z p) v).trans |
| 266 | (Set.mem_of_indicator_ne_zero (s := {p | S.scaledBesselLengthProd (z p) ≤ R}) hp)) |
| 267 | grw [(div_le_iff₀' (by positivity)).1 h_scaled, |
| 268 | pow_le_pow_right₀ hb (Nat.le_add_right (6 * 𝔰.n) 2)] |
| 269 | rw [← h_dim, ← mul_one (ENNReal.ofReal _)] |
| 270 | exact tsum_le_of_le_classCutoff_mul (y := y) |
| 271 | (k := fun p : Σ d, ↥(T ∩ S.termsOver c s d) ↦ p.1) (γ := fun p ↦ p.2) hR Sigma.subtype_ext |
| 272 | (fun p _ ↦ p.2.property.2) h_size |
| 273 | (fun p _ ↦ (Set.indicator_le_self _ _ p).trans_eq (mul_one _).symm) |
| 274 | fun _ _ _ _ ↦ Submodule.mem_top |
| 275 | -- The exponent `r ^ 3 f` exceeds four times the dimension, as `8 n < r ^ 2`. |
| 276 | have h_exp : 2 * (2 * (2 * 𝔰.n * 𝔰.r * numInfPlaces E)) < 𝔰.r ^ 3 * numInfPlaces E := by |
| 277 | have hϱ := S.ten_pow_five_le_varrho |
| 278 | have hr : 2 * 𝔰.ϱ + 1 ≤ 𝔰.r := by simp; lia |
| 279 | have h_rank : 8 * 𝔰.n < 𝔰.r ^ 2 := by nlinarith |
| 280 | nlinarith [show 0 < 𝔰.r * numInfPlaces E by positivity] |
| 281 | calc |
| 282 | _ = ∑' p, weight p * |
| 283 | .ofReal ((S.scaledBesselLengthProd (z p))⁻¹ ^ (𝔰.r ^ 3 * numInfPlaces E)) := |
| 284 | (tsum_sigma' _).symm |
| 285 | _ ≤ .ofReal (2 * (S.b ^ (6 * 𝔰.n ^ 2)) ^ (2 * 𝔰.n * 𝔰.r * numInfPlaces E)) := |
| 286 | tsum_mul_inv_pow_le_of_layers (fun p ↦ one_le_scaledBesselLengthProd (z p)) h_count h_exp |
| 287 | _ = _ := by rw [← pow_mul]; ring_nf |
| 288 | |
| 289 | /-- Let `besselKernel γ y` be the tensor `besselFn(y) ⊗ besselFn(γ⁻¹ y)^*` of Bessel functions. |
| 290 | Where the kernel chosen by `side` differs from the cut kernel, the full and the cut Bessel function |
| 291 | differ at some place, at `y` or at `γ⁻¹ y`; so the product of the scaled lengths |
| 292 | (`scaledBesselLengthProd`) of the two points is at least the size parameter `S.b`. -/ |
| 293 | lemma le_scaledBesselLengthProd_mul {γ : S.G E} {y : InfinitePlace E → 𝔰.G₁} |
| 294 | (h_ne : S.besselKernel side γ y ≠ S.besselKernel .cut γ y) : |
| 295 | S.b ≤ S.scaledBesselLengthProd y * S.scaledBesselLengthProd ((S.ratToInf γ)⁻¹ * y) := by |
| 296 | by_contra h_near |
| 297 | have h_eq (z : InfinitePlace E → 𝔰.G₁) (hz : ¬S.b ≤ S.scaledBesselLengthProd z) |
| 298 | (v : InfinitePlace E) : |
| 299 | (S.besselSystem v).besselFn .cut (z v) = (S.besselSystem v).besselFn .full (z v) := by |
| 300 | by_contra h_cut |
| 301 | have h_size : S.b ≤ scaledBesselLength (z v) S.b := |
| 302 | le_scaledBesselLength (by linarith [S.thousand_le_b]) |
| 303 | ((S.besselSystem v).isCutPair.lt_besselLength_of_ne _ h_cut) |
| 304 | exact hz (h_size.trans (scaledBesselLength_le_scaledBesselLengthProd z v)) |
| 305 | have h_one_y : 1 ≤ S.scaledBesselLengthProd y := one_le_scaledBesselLengthProd y |
| 306 | have h_one_z : 1 ≤ S.scaledBesselLengthProd ((S.ratToInf γ)⁻¹ * y) := |
| 307 | one_le_scaledBesselLengthProd _ |
| 308 | have h_left : ∀ v, |
| 309 | (S.besselSystem v).besselFn .cut (y v) = (S.besselSystem v).besselFn .full (y v) := |
| 310 | h_eq y fun h ↦ h_near (h.trans (le_mul_of_one_le_right (by linarith) h_one_z)) |
| 311 | have h_right : ∀ v, (S.besselSystem v).besselFn .cut (((S.ratToInf γ)⁻¹ * y) v) = |
| 312 | (S.besselSystem v).besselFn .full (((S.ratToInf γ)⁻¹ * y) v) := |
| 313 | h_eq _ fun h ↦ h_near (h.trans (le_mul_of_one_le_left (by linarith) h_one_y)) |
| 314 | -- For the full kernel this gives equality; for the cut kernel there is nothing to prove. |
| 315 | cases side with |
| 316 | | full => exact h_ne (by simp only [besselKernel, besselFn, h_left, h_right]) |
| 317 | | cut => exact h_ne rfl |
| 318 | |
| 319 | section Majorant |
| 320 | |
| 321 | variable {w : InfinitePlace E → 𝔰.G₁ → ℝ≥0∞} {a : InfinitePlace E → ℝ≥0∞} |
| 322 | |
| 323 | /-- Let `hw` say that at each infinite place `v` the function `w v` is a decay majorant |
| 324 | (`IsDecayMajorant`, with constants `S.b` and `a v`) of the Bessel functions |
| 325 | `(S.besselSystem v).besselFn`. That is, `w v` bounds their norms times the scaled length |
| 326 | `max 1 (besselLength x / b ^ (6 n))` to the power `3 * r ^ 3 * f`. Here `b = S.b`, `n = ϱ + 1`, `r` |
| 327 | is the rank of `G₁` and `f = numInfPlaces E`. Then for every `y`, the product over `v` of the norms |
| 328 | `‖besselFn side (y v)‖`, times `scaledBesselLengthProd y` to the power |
| 329 | `r ^ 3 * f + 2 * (r ^ 3 * f)`, is at most the product over `v` of `w v (y v)`. -/ |
| 330 | lemma pow_mul_pow_mul_prod_enorm_le |
| 331 | (hw : ∀ v : InfinitePlace E, |
| 332 | IsDecayMajorant S.b (numInfPlaces E) (S.besselSystem v).besselFn (w v) (a v)) |
| 333 | (y : InfinitePlace E → 𝔰.G₁) : |
| 334 | ENNReal.ofReal (S.scaledBesselLengthProd y) ^ (𝔰.r ^ 3 * numInfPlaces E) * |
| 335 | (ENNReal.ofReal (S.scaledBesselLengthProd y) ^ (2 * (𝔰.r ^ 3 * numInfPlaces E)) * |
| 336 | ∏ v : InfinitePlace E, ‖(S.besselSystem v).besselFn side (y v)‖ₑ) ≤ |
| 337 | ∏ v : InfinitePlace E, w v (y v) := by |
| 338 | have h_nonneg (v : InfinitePlace E) : 0 ≤ scaledBesselLength (y v) S.b := |
| 339 | zero_le_one.trans (one_le_scaledBesselLength ..) |
| 340 | calc |
| 341 | _ = ∏ v, ENNReal.ofReal (scaledBesselLength (y v) S.b ^ (3 * 𝔰.r ^ 3 * numInfPlaces E)) * |
| 342 | ‖(S.besselSystem v).besselFn side (y v)‖ₑ := by |
| 343 | simp only [scaledBesselLengthProd, ofReal_prod_of_nonneg fun v _ ↦ h_nonneg v, |
| 344 | ofReal_pow (h_nonneg _), prod_mul_distrib, prod_pow] |
| 345 | ring |
| 346 | _ ≤ _ := prod_le_prod fun v _ ↦ (hw v).pow_mul_enorm_le side (y v) |
| 347 | |
| 348 | /-- At each infinite place `v` let the function `w v` be a decay majorant (`IsDecayMajorant`) of the |
| 349 | Bessel functions: it bounds their norm times the scaled length to the power `3 * r ^ 3 * f`, where |
| 350 | `r` is the rank of `G₁` and `f` the number of infinite places. Then the product over the places of |
| 351 | the norms, times the product `scaledBesselLengthProd` of the scaled lengths to the power |
| 352 | `2 * (r ^ 3 * f)`, is at most the product of the `w v`. -/ |
| 353 | lemma pow_mul_prod_enorm_le_majorant |
| 354 | (hw : ∀ v : InfinitePlace E, |
| 355 | IsDecayMajorant S.b (numInfPlaces E) (S.besselSystem v).besselFn (w v) (a v)) |
| 356 | (y : InfinitePlace E → 𝔰.G₁) : |
| 357 | ENNReal.ofReal (S.scaledBesselLengthProd y) ^ (2 * (𝔰.r ^ 3 * numInfPlaces E)) * |
| 358 | ∏ v : InfinitePlace E, ‖(S.besselSystem v).besselFn side (y v)‖ₑ ≤ |
| 359 | ∏ v : InfinitePlace E, w v (y v) := by |
| 360 | refine (le_mul_of_one_le_left' (one_le_pow₀ ?_)).trans (pow_mul_pow_mul_prod_enorm_le hw y) |
| 361 | exact one_le_ofReal.2 (one_le_scaledBesselLengthProd y) |
| 362 | |
| 363 | /-- At each infinite place `v` let the function `w v`, bounded by the constant `a v`, be a decay |
| 364 | majorant (`IsDecayMajorant`) of the Bessel functions: it bounds their norm times the scaled length |
| 365 | to the power `3 * r ^ 3 * f`, where `r` is the rank of `G₁` and `f` the number of infinite places. |
| 366 | Then the product of the norms, times the product `scaledBesselLengthProd` of the scaled lengths to |
| 367 | the power `2 * (r ^ 3 * f)`, is at most the product of the `a v` times `scaledBesselLengthProd` to |
| 368 | the power `-(r ^ 3 * f)`. -/ |
| 369 | lemma pow_mul_prod_enorm_le_bound |
| 370 | (hw : ∀ v : InfinitePlace E, |
| 371 | IsDecayMajorant S.b (numInfPlaces E) (S.besselSystem v).besselFn (w v) (a v)) |
| 372 | (y : InfinitePlace E → 𝔰.G₁) : |
| 373 | ENNReal.ofReal (S.scaledBesselLengthProd y) ^ (2 * (𝔰.r ^ 3 * numInfPlaces E)) * |
| 374 | ∏ v : InfinitePlace E, ‖(S.besselSystem v).besselFn side (y v)‖ₑ ≤ |
| 375 | (∏ v : InfinitePlace E, a v) * |
| 376 | .ofReal ((S.scaledBesselLengthProd y)⁻¹ ^ (𝔰.r ^ 3 * numInfPlaces E)) := by |
| 377 | have h_pos : 0 < S.scaledBesselLengthProd y := one_pos.trans_le (one_le_scaledBesselLengthProd y) |
| 378 | -- Move the power `-(r ^ 3 * f)` to the left side. |
| 379 | rw [mul_comm (∏ v, a v), ofReal_pow (inv_pos.2 h_pos).le, ofReal_inv_of_pos h_pos, |
| 380 | ← ENNReal.inv_pow, ← mul_le_iff_le_inv (pow_ne_zero _ (ofReal_pos.2 h_pos).ne') |
| 381 | (pow_ne_top ofReal_ne_top)] |
| 382 | exact (pow_mul_pow_mul_prod_enorm_le hw y).trans (prod_le_prod fun v _ ↦ (hw v).le_bound (y v)) |
| 383 | |
| 384 | /-- At each infinite place `v` there are a Bessel function W and its cut W♭, of bounded support |
| 385 | modulo the Bessel subgroup. Let the function `w v`, bounded by the constant `a v`, be a decay |
| 386 | majorant (`IsDecayMajorant`): it bounds the norms of W and W♭ times the scaled length |
| 387 | `max 1 (besselLength / b ^ (6 n))` to the power `3 * r ^ 3 * f`. Then the kernel |
| 388 | `W(y) ⊗ W(γ⁻¹ y)^*`, built from W or W♭ as `side` says, and the kernel built from W♭ differ by at |
| 389 | most `2 * b ^ (-(2 * (r ^ 3 * f)))` times the product of the `w v` at `y`, the product of the `a v` |
| 390 | and the product of the scaled lengths of `γ⁻¹ y` (`scaledBesselLengthProd`) to the power |
| 391 | `-(r ^ 3 * f)`. Here `b = S.b`, `n = ϱ + 1`, `r` is the rank of `G₁` and `f` the number of infinite |
| 392 | places. -/ |
| 393 | lemma enorm_besselKernel_sub_cut_le |
| 394 | (hw : ∀ v : InfinitePlace E, |
| 395 | IsDecayMajorant S.b (numInfPlaces E) (S.besselSystem v).besselFn (w v) (a v)) |
| 396 | (γ : S.G E) (y : InfinitePlace E → 𝔰.G₁) : |
| 397 | ‖S.besselKernel side γ y - S.besselKernel .cut γ y‖ₑ ≤ |
| 398 | (ENNReal.ofReal (S.b ^ (2 * (𝔰.r ^ 3 * numInfPlaces E))))⁻¹ * |
| 399 | (2 * ((∏ v : InfinitePlace E, w v (y v)) * ((∏ v : InfinitePlace E, a v) * |
| 400 | .ofReal ((S.scaledBesselLengthProd ((S.ratToInf γ)⁻¹ * y))⁻¹ ^ |
| 401 | (𝔰.r ^ 3 * numInfPlaces E))))) := by |
| 402 | rcases eq_or_ne (S.besselKernel side γ y) (S.besselKernel .cut γ y) with h_eq | h_ne |
| 403 | · simp [h_eq] |
| 404 | have hb : 0 < S.b := one_pos.trans_le S.one_le_b |
| 405 | set z : InfinitePlace E → 𝔰.G₁ := (S.ratToInf γ)⁻¹ * y |
| 406 | let gain : ℝ≥0∞ := .ofReal (S.b ^ (2 * (𝔰.r ^ 3 * numInfPlaces E))) |
| 407 | -- The cut acts at one of the two points, so the spare powers of the scaled lengths pay for the |
| 408 | -- gain. |
| 409 | have h_gain : gain ≤ ENNReal.ofReal (S.scaledBesselLengthProd y) ^ |
| 410 | (2 * (𝔰.r ^ 3 * numInfPlaces E)) * |
| 411 | ENNReal.ofReal (S.scaledBesselLengthProd z) ^ (2 * (𝔰.r ^ 3 * numInfPlaces E)) := by |
| 412 | have h_far : S.b ≤ S.scaledBesselLengthProd y * S.scaledBesselLengthProd z := |
| 413 | le_scaledBesselLengthProd_mul h_ne |
| 414 | rw [← mul_pow, ← ofReal_mul (zero_le_one.trans (one_le_scaledBesselLengthProd y)), |
| 415 | ← ofReal_pow (hb.le.trans h_far)] |
| 416 | exact ofReal_le_ofReal (pow_le_pow_left₀ hb.le h_far _) |
| 417 | have h_kernel (τ : FullOrCut) : gain * ‖S.besselKernel τ γ y‖ₑ ≤ (∏ v, w v (y v)) * |
| 418 | ((∏ v, a v) * .ofReal ((S.scaledBesselLengthProd z)⁻¹ ^ (𝔰.r ^ 3 * numInfPlaces E))) := by |
| 419 | grw [h_gain, enorm_besselKernel, mul_mul_mul_comm, pow_mul_prod_enorm_le_majorant hw, |
| 420 | pow_mul_prod_enorm_le_bound hw] |
| 421 | rw [← mul_le_iff_le_inv (by positivity) ofReal_ne_top] |
| 422 | grw [eNorm_sub_le, mul_add, h_kernel, h_kernel, two_mul] |
| 423 | |
| 424 | end Majorant |
| 425 | |
| 426 | variable [S.IsAdmissible] |
| 427 | |
| 428 | /-- For 12 n³ + 500 ≤ k < r and f ≥ 1, the exponent 12 n³ r f + 1 + 400 r² f + 2 k f of the |
| 429 | losses in the tail bound plus the saving k³ f is at most the gain 2 r³ f. -/ |
| 430 | lemma cut_exponent_le {n r k f : ℕ} (hk : 12 * n ^ 3 + 500 ≤ k) (hr : k + 1 ≤ r) (hf : 1 ≤ f) : |
| 431 | 12 * n ^ 3 * r * f + 1 + 400 * r ^ 2 * f + 2 * k * f + k ^ 3 * f ≤ 2 * (r ^ 3 * f) := by |
| 432 | have h_count : 12 * n ^ 3 * r ≤ r ^ 2 := by grw [sq, show 12 * n ^ 3 ≤ r by lia] |
| 433 | -- Compare with (k + 1) ^ 2, which is at most r ^ 2 by the rank bound. |
| 434 | have h_dim : 2 * k + 1 ≤ r ^ 2 := by nlinarith |
| 435 | have h_small : 402 * r ^ 2 ≤ r ^ 3 := by grw [pow_succ' r 2, show 402 ≤ r by lia] |
| 436 | have h_cube : k ^ 3 ≤ r ^ 3 := Nat.pow_le_pow_left (by lia) 3 |
| 437 | calc |
| 438 | _ ≤ (12 * n ^ 3 * r + 400 * r ^ 2 + (2 * k + 1) + k ^ 3) * f := by linarith |
| 439 | _ ≤ 2 * r ^ 3 * f := Nat.mul_le_mul_right f (by lia) |
| 440 | _ = _ := mul_assoc .. |
| 441 | |
| 442 | /-- Let `E` contain a primitive 5040th root of unity, let `S` be admissible and let `T` be a set of |
| 443 | rational elements. Sum, over all classes `d` and all `γ ∈ T` that are terms over `(c, s, d)` |
| 444 | (`termsOver`), the cutoff of `d` at `γ⁻¹ y` times `A` times the product of the scaled lengths of |
| 445 | `γ⁻¹ y` (`scaledBesselLengthProd`) to the power `-(r ^ 3 * f)`. The sum is at most |
| 446 | `A * 2 b ^ (12 n ^ 3 r f)`. Here `b = S.b` is the size parameter of `S`, `f` is the number of |
| 447 | infinite places, `n = ϱ + 1` and `r` is the rank of the hermitian space of `G₁`. -/ |
| 448 | lemma tsum_classCutoff_mul_const_mul_inv_pow_le [HasPrimitiveRoot5040 E] |
| 449 | (T : Set (S.G E)) (c : S.Classes) (s : S.ResidueGL) (A : ℝ≥0∞) (y : InfinitePlace E → 𝔰.G₁) : |
| 450 | ∑' (d : S.Classes) (γ : ↥(T ∩ S.termsOver c s d)), S.classCutoff d ((S.ratToInf γ)⁻¹ * y) * |
| 451 | (A * .ofReal ((S.scaledBesselLengthProd ((S.ratToInf γ)⁻¹ * y))⁻¹ ^ |
| 452 | (𝔰.r ^ 3 * numInfPlaces E))) ≤ |
| 453 | A * .ofReal (2 * S.b ^ (12 * 𝔰.n ^ 3 * 𝔰.r * numInfPlaces E)) := by |
| 454 | simp only [mul_left_comm _ A, ENNReal.tsum_mul_left] |
| 455 | exact mul_le_mul_right (tsum_classCutoff_mul_inv_pow_le T c s y) _ |
| 456 | |
| 457 | /-- Let `S` be admissible and `T` a set of rational elements. At each infinite place `v` let `w v` |
| 458 | be a decay majorant of the Bessel functions (`IsDecayMajorant`); what is used is that `w v` is |
| 459 | measurable and left invariant under the unipotent group `besselU`, and that the constant `a v` times |
| 460 | the integral of `w v` over `𝖴 \ G₁` is at most `b ^ (400 r ^ 2)` times the dimension of the value |
| 461 | space. Let `d` run over all classes and `γ` over the terms of `T` over `(c, s, d)`. Then the sum of |
| 462 | the integrals of `β_c(y) β_d(γ⁻¹ y)` times the product of the `w v` at `y`, the product of the `a v` |
| 463 | and `scaledBesselLengthProd (γ⁻¹ y)` to the power `-(r ^ 3 * f)` is at most `ν * 2 b ^ (12 n ^ 3 r |
| 464 | f) * b ^ (400 r ^ 2 f) * card S.BesselCoord`. Here `β_c = S.classCutoff c`, |
| 465 | `ν = S.unipotentCovolume`, `b` is the size parameter of `S`, `f` is the number of infinite places, |
| 466 | `n = ϱ + 1` and `r` is the rank of `G₁`. -/ |
| 467 | lemma tsum_lintegral_classCutoff_mul_majorant_le [HasPrimitiveRoot5040 E] |
| 468 | (T : Set (S.G E)) (c : S.Classes) (s : S.ResidueGL) |
| 469 | {w : InfinitePlace E → 𝔰.G₁ → ℝ≥0∞} {a : InfinitePlace E → ℝ≥0∞} |
| 470 | (hw : ∀ v : InfinitePlace E, |
| 471 | IsDecayMajorant S.b (numInfPlaces E) (S.besselSystem v).besselFn (w v) (a v)) : |
| 472 | ∑' (d : S.Classes) (γ : ↥(T ∩ S.termsOver c s d)), ∫⁻ y : InfinitePlace E → 𝔰.G₁, |
| 473 | S.classCutoff c y * S.classCutoff d ((S.ratToInf γ)⁻¹ * y) * |
| 474 | ((∏ v : InfinitePlace E, w v (y v)) * ((∏ v : InfinitePlace E, a v) * .ofReal |
| 475 | ((S.scaledBesselLengthProd ((S.ratToInf γ)⁻¹ * y))⁻¹ ^ (𝔰.r ^ 3 * numInfPlaces E)))) ≤ |
| 476 | .ofReal S.unipotentCovolume * .ofReal (2 * S.b ^ (12 * 𝔰.n ^ 3 * 𝔰.r * numInfPlaces E)) * |
| 477 | (.ofReal (S.b ^ (400 * 𝔰.r ^ 2)) ^ numInfPlaces E * card S.BesselCoord) := by |
| 478 | -- Multiply the sum over the terms by `β_c * ∏ v, w v`, integrate, and unfold over `besselU`. |
| 479 | let countBound : ℝ≥0∞ := .ofReal (2 * S.b ^ (12 * 𝔰.n ^ 3 * 𝔰.r * numInfPlaces E)) |
| 480 | have hw_meas (v : InfinitePlace E) : Measurable (w v) := (hw v).measurable |
| 481 | have hw_inv (v : InfinitePlace E) : besselU.FixesLeft (w v) := |
| 482 | fun u hu ↦ (hw v).fixesLeft u (mem_partialUnitriangularGroup_of_mem_besselU hu) |
| 483 | have h_size : Measurable S.scaledBesselLengthProd := by |
| 484 | fun_prop [scaledBesselLengthProd, scaledBesselLength] |
| 485 | calc |
| 486 | _ = ∫⁻ y, S.classCutoff c y * (∏ v, w v (y v)) * ∑' (d : S.Classes) |
| 487 | (γ : ↥(T ∩ S.termsOver c s d)), S.classCutoff d ((S.ratToInf γ)⁻¹ * y) * ((∏ v, a v) * |
| 488 | .ofReal ((S.scaledBesselLengthProd ((S.ratToInf γ)⁻¹ * y))⁻¹ ^ |
| 489 | (𝔰.r ^ 3 * numInfPlaces E))) := by |
| 490 | simp (disch := fun_prop) only [← ENNReal.tsum_mul_left, lintegral_tsum, |
| 491 | mul_mul_mul_comm _ _ (classCutoff ..)] |
| 492 | _ ≤ ∫⁻ y, S.classCutoff c y * (∏ v, w v (y v)) * ((∏ v, a v) * countBound) := by |
| 493 | grw [tsum_classCutoff_mul_const_mul_inv_pow_le] |
| 494 | _ = .ofReal S.unipotentCovolume * countBound * ∏ v, a v * ∫⁻ y, w v y ∂besselQuotMeasure := by |
| 495 | rw [lintegral_mul_const _ (by fun_prop), lintegral_classCutoff_mul_prod hw_meas hw_inv, |
| 496 | mul_comm _ countBound, mul_mul_mul_comm, mul_comm (univ.prod _), ← prod_mul_distrib] |
| 497 | _ ≤ _ := by |
| 498 | grw [prod_le_prod fun v _ ↦ (hw v).bound_mul_lintegral_le] |
| 499 | simp [countBound, prod_mul_distrib, Fintype.card_pi] |
| 500 | |
| 501 | /-- For admissible `S`, twice the product of `ν`, `2 b ^ (12 n ^ 3 r f)`, `b ^ (400 r ^ 2 f)` and |
| 502 | the number `card S.BesselCoord` of Bessel coordinates, divided by `b ^ (2 r ^ 3 f)`, is at most |
| 503 | `ν b ^ (-k³ f) / 2`. Here `b` is the size parameter of `S`, `f` the number of infinite places, |
| 504 | `ν = S.unipotentCovolume`, `k = 𝔰.k`, `n = ϱ + 1` and `r` is the rank of `G₁`. -/ |
| 505 | lemma inv_pow_mul_unipotentCovolume_mul_card_le : |
| 506 | (ENNReal.ofReal (S.b ^ (2 * (𝔰.r ^ 3 * numInfPlaces E))))⁻¹ * 2 * |
| 507 | (.ofReal S.unipotentCovolume * .ofReal (2 * S.b ^ (12 * 𝔰.n ^ 3 * 𝔰.r * numInfPlaces E)) * |
| 508 | (.ofReal (S.b ^ (400 * 𝔰.r ^ 2)) ^ numInfPlaces E * card S.BesselCoord)) ≤ |
| 509 | .ofReal (S.unipotentCovolume * (S.b ^ (𝔰.k ^ 3 * numInfPlaces E))⁻¹ / 2) := by |
| 510 | have hν : 0 < S.unipotentCovolume := S.unipotentCovolume_pos |
| 511 | have hb : 1 ≤ S.b := S.one_le_b |
| 512 | have hk : 12 * 𝔰.n ^ 3 + 500 ≤ 𝔰.k := by |
| 513 | have h_large : 1000 * (2 * 𝔰.ϱ + 2) ^ 3 ≤ 𝔰.k := S.pow_le_k.trans' (by gcongr; simp) |
| 514 | rw [show 2 * 𝔰.ϱ + 2 = 2 * 𝔰.n by ring, mul_pow] at h_large |
| 515 | linarith [Nat.one_le_pow 3 𝔰.n 𝔰.ϱ.succ_pos] |
| 516 | have h_rank : 𝔰.k + 1 ≤ 𝔰.r := by simp +arith |
| 517 | have h_pow : S.b * S.b ^ (12 * 𝔰.n ^ 3 * 𝔰.r * numInfPlaces E) * |
| 518 | (S.b ^ (400 * 𝔰.r ^ 2)) ^ numInfPlaces E * S.b ^ (2 * 𝔰.k * numInfPlaces E) * |
| 519 | S.b ^ (𝔰.k ^ 3 * numInfPlaces E) ≤ S.b ^ (2 * (𝔰.r ^ 3 * numInfPlaces E)) := by |
| 520 | simp only [← pow_mul, ← pow_add, ← pow_succ'] |
| 521 | exact pow_le_pow_right₀ hb (cut_exponent_le hk h_rank Fintype.card_pos) |
| 522 | rw [le_ofReal_iff_toReal_le (by finiteness) (by positivity)] |
| 523 | -- Clear the denominators and cancel `unipotentCovolume`; the constant `8` is at most `b`, and the |
| 524 | -- number of coordinates is at most `b ^ (2 k f)`. |
| 525 | simp (disch := positivity) only [toReal_mul, toReal_inv, toReal_pow, toReal_ofReal, |
| 526 | toReal_ofNat, toReal_natCast, fieldLe] |
| 527 | change (2 : ℝ) ^ 3 * S.b ^ (12 * 𝔰.n ^ 3 * 𝔰.r * numInfPlaces E) * |
| 528 | (S.b ^ (400 * 𝔰.r ^ 2)) ^ numInfPlaces E * (card S.BesselCoord : ℝ) * |
| 529 | S.b ^ (𝔰.k ^ 3 * numInfPlaces E) ≤ S.b ^ (2 * (𝔰.r ^ 3 * numInfPlaces E)) |
| 530 | have h_card : (card S.BesselCoord : ℝ) ≤ S.b ^ (2 * 𝔰.k * numInfPlaces E) := |
| 531 | IsAdmissible.card_besselCoord_le |
| 532 | grw [h_card, show (2 : ℝ) ^ 3 ≤ S.b by linarith [S.thousand_le_b]] |
| 533 | exact h_pow |
| 534 | |
| 535 | /-! ### Convergence and the tail bound -/ |
| 536 | |
| 537 | /-! At each place the Bessel functions lie below an invariant majorant `w v`, bounded by a constant |
| 538 | `a v`, with the power `3 i` of the scaled length to spare, `i = r ^ 3 f`. At `γ⁻¹ y` the power `i` |
| 539 | makes the sum over `γ` converge; at `y` we unfold `classCutoff c` and integrate `w`. The power `2 i` |
| 540 | that is left at both points gains `b ^ (-2 i)` where the cut acts, and this beats all the losses. -/ |
| 541 | |
| 542 | omit [S.IsAdmissible] in |
| 543 | /-- A power of the product of the scaled lengths is at least `1`, so it may be inserted as a |
| 544 | factor. -/ |
| 545 | lemma le_scaledBesselLengthProd_pow_mul (y : InfinitePlace E → 𝔰.G₁) (i : ℕ) (x : ℝ≥0∞) : |
| 546 | x ≤ ENNReal.ofReal (S.scaledBesselLengthProd y) ^ i * x := |
| 547 | le_mul_of_one_le_left' (one_le_pow₀ (one_le_ofReal.2 (one_le_scaledBesselLengthProd y))) |
| 548 | |
| 549 | variable [HasPrimitiveRoot5040 E] |
| 550 | |
| 551 | /-- Let the CM field `E` contain a primitive 5040th root of unity, and let the data `S` satisfy the |
| 552 | standing hypotheses `IsAdmissible`. Let `d` run over all classes and `γ` over the elements of `T` |
| 553 | that are terms over `(c, s, d)`. Then the sum of `β_d(γ⁻¹ y) ∏_v ‖W_v((γ⁻¹ y)_v)‖` is at most a |
| 554 | finite constant `C` that does not depend on the point `y` of G_∞, the product of one copy of `G₁` |
| 555 | for each infinite place `v`. -/ |
| 556 | theorem exists_tsum_classCutoff_mul_prod_enorm_le {E : Type} [Field E] [CMType E] |
| 557 | [HasPrimitiveRoot5040 E] {𝔰 : Shape} {S : Filling E 𝔰} {side : FullOrCut} [S.IsAdmissible] |
| 558 | (T : Set (S.G E)) (c : S.Classes) (s : S.ResidueGL) : |
| 559 | ∃ C : NNReal, ∀ y : InfinitePlace E → 𝔰.G₁, |
| 560 | ∑' (d : S.Classes) (γ : ↥(T ∩ S.termsOver c s d)), |
| 561 | S.classCutoff d ((S.ratToInf γ)⁻¹ * y) * |
| 562 | ∏ v : InfinitePlace E, |
| 563 | ‖(S.besselSystem v).besselFn side (((S.ratToInf γ)⁻¹ * y) v)‖ₑ ≤ |
| 564 | C := by |
| 565 | -- The Bessel functions decay in the scaled lengths, and this decay makes the sum converge. |
| 566 | have h_majorant (v : InfinitePlace E) : ∃ (w : 𝔰.G₁ → ℝ≥0∞) (a : ℝ≥0∞), |
| 567 | IsDecayMajorant S.b (numInfPlaces E) (S.besselSystem v).besselFn w a := |
| 568 | (S.besselSystem v).isCutPair.exists_majorant |
| 569 | choose w a hw using h_majorant |
| 570 | have h_decay (z : InfinitePlace E → 𝔰.G₁) : ∏ v, ‖(S.besselSystem v).besselFn side (z v)‖ₑ ≤ |
| 571 | (∏ v, a v) * .ofReal ((S.scaledBesselLengthProd z)⁻¹ ^ (𝔰.r ^ 3 * numInfPlaces E)) := |
| 572 | (le_scaledBesselLengthProd_pow_mul z _ _).trans (pow_mul_prod_enorm_le_bound hw z) |
| 573 | let bound : ℝ≥0∞ := |
| 574 | (∏ v, a v) * .ofReal (2 * S.b ^ (12 * 𝔰.n ^ 3 * 𝔰.r * numInfPlaces E)) |
| 575 | have h_bound_fin : bound ≠ ∞ := |
| 576 | mul_ne_top (prod_ne_top fun v _ ↦ (hw v).bound_ne_top) ofReal_ne_top |
| 577 | refine ⟨bound.toNNReal, fun y ↦ ?_⟩ |
| 578 | calc |
| 579 | _ ≤ ∑' (d : S.Classes) (γ : ↥(T ∩ S.termsOver c s d)), |
| 580 | S.classCutoff d ((S.ratToInf γ)⁻¹ * y) * ((∏ v, a v) * .ofReal |
| 581 | ((S.scaledBesselLengthProd ((S.ratToInf γ)⁻¹ * y))⁻¹ ^ |
| 582 | (𝔰.r ^ 3 * numInfPlaces E))) := by |
| 583 | grw [h_decay] |
| 584 | _ ≤ bound := tsum_classCutoff_mul_const_mul_inv_pow_le T c s (∏ v, a v) y |
| 585 | _ = bound.toNNReal := (coe_toNNReal h_bound_fin).symm |
| 586 | |
| 587 | /-- Let `S` be admissible, and let `γ` run over the elements of `T` that are terms over `(c, s, d)`, |
| 588 | for all classes `d`. The sum of the integrals `∫ β_c(y) β_d(γ⁻¹ y) ‖W(y) ⊗ W(γ⁻¹ y)^*‖ dy` |
| 589 | (`amplitudeMajorant`) is finite. -/ |
| 590 | theorem tsum_amplitudeMajorant_lt_top (T : Set (S.G E)) (c : S.Classes) (s : S.ResidueGL) : |
| 591 | ∑' (d : S.Classes) (γ : ↥(T ∩ S.termsOver c s d)), S.amplitudeMajorant side c d γ < ∞ := by |
| 592 | choose w a hw using fun v : InfinitePlace E ↦ (S.besselSystem v).isCutPair.exists_majorant |
| 593 | refine lt_of_le_of_lt (le_trans ?_ (tsum_lintegral_classCutoff_mul_majorant_le T c s hw)) |
| 594 | (by finiteness) |
| 595 | simp_rw [amplitudeMajorant, enorm_besselKernel] |
| 596 | refine tsum_le_tsum fun d ↦ tsum_le_tsum fun γ ↦ lintegral_mono fun y ↦ ?_ |
| 597 | exact mul_le_mul' le_rfl (mul_le_mul' |
| 598 | ((le_scaledBesselLengthProd_pow_mul y _ _).trans (pow_mul_prod_enorm_le_majorant hw y)) |
| 599 | ((le_scaledBesselLengthProd_pow_mul _ _ _).trans (pow_mul_prod_enorm_le_bound hw _))) |
| 600 | |
| 601 | /-- Let `S` be admissible, let `d` run over all classes and `γ` over the elements of `T` that are |
| 602 | terms over `(c, s, d)`. The kernel `besselKernel side γ y` is `W(y) ⊗ W(γ⁻¹ y)^*`. The sum of the |
| 603 | integrals of `β_c(y) β_d(γ⁻¹ y)` times the norm of the difference between this kernel and the one |
| 604 | built from the cut function is at most `ν b ^ (-k³ f) / 2`. Here `ν = S.unipotentCovolume`, |
| 605 | `β_d = S.classCutoff d`, `k + 1` is the size of the middle block of the basis (`k = 𝔰.k`), `f` is |
| 606 | the number of infinite places and `b` is the size parameter of `S`. -/ |
| 607 | theorem tsum_lintegral_enorm_besselKernel_sub_cut_le (T : Set (S.G E)) (c : S.Classes) |
| 608 | (s : S.ResidueGL) : |
| 609 | ∑' (d : S.Classes) (γ : ↥(T ∩ S.termsOver c s d)), |
| 610 | ∫⁻ y : InfinitePlace E → 𝔰.G₁, S.classCutoff c y * S.classCutoff d ((S.ratToInf γ)⁻¹ * y) * |
| 611 | ‖S.besselKernel side γ y - S.besselKernel .cut γ y‖ₑ ≤ |
| 612 | .ofReal (S.unipotentCovolume * (S.b ^ (𝔰.k ^ 3 * numInfPlaces E))⁻¹ / 2) := by |
| 613 | choose w a hw using fun v : InfinitePlace E ↦ (S.besselSystem v).isCutPair.exists_majorant |
| 614 | let gain : ℝ≥0∞ := .ofReal (S.b ^ (2 * (𝔰.r ^ 3 * numInfPlaces E))) |
| 615 | have hb : 1 ≤ S.b := S.one_le_b |
| 616 | have h_gain_fin : gain⁻¹ ≠ ∞ := inv_ne_top.2 (by positivity) |
| 617 | let majorant (γ : S.G E) (y : InfinitePlace E → 𝔰.G₁) : ℝ≥0∞ := |
| 618 | (∏ v, w v (y v)) * ((∏ v, a v) * .ofReal |
| 619 | ((S.scaledBesselLengthProd ((S.ratToInf γ)⁻¹ * y))⁻¹ ^ (𝔰.r ^ 3 * numInfPlaces E))) |
| 620 | calc |
| 621 | _ ≤ ∑' (d : S.Classes) (γ : ↥(T ∩ S.termsOver c s d)), ∫⁻ y, S.classCutoff c y * |
| 622 | S.classCutoff d ((S.ratToInf γ)⁻¹ * y) * (gain⁻¹ * (2 * majorant γ y)) := by |
| 623 | grw [enorm_besselKernel_sub_cut_le hw] |
| 624 | _ = gain⁻¹ * 2 * ∑' (d : S.Classes) (γ : ↥(T ∩ S.termsOver c s d)), |
| 625 | ∫⁻ y, S.classCutoff c y * S.classCutoff d ((S.ratToInf γ)⁻¹ * y) * majorant γ y := by |
| 626 | simp (disch := finiteness) only [← mul_assoc gain⁻¹, mul_left_comm _ (gain⁻¹ * _), |
| 627 | lintegral_const_mul', ENNReal.tsum_mul_left] |
| 628 | _ ≤ _ := (mul_le_mul_right (tsum_lintegral_classCutoff_mul_majorant_le T c s hw) _).trans |
| 629 | inv_pow_mul_unipotentCovolume_mul_card_le |
| 630 | |
| 631 | /-- For admissible `S`, the amplitudes of the elements of `T` over `(c, s, c')` are summable. -/ |
| 632 | lemma summable_amplitude (T : Set (S.G E)) (c : S.Classes) (s : S.ResidueGL) (c' : S.Classes) : |
| 633 | Summable fun γ : ↥(T ∩ S.termsOver c s c') ↦ S.amplitude side c c' γ := by |
| 634 | refine .of_eNorm (ne_of_lt ?_) |
| 635 | grw [enorm_amplitude_le] |
| 636 | exact (le_tsum _ c').trans_lt (tsum_amplitudeMajorant_lt_top T c s) |
| 637 | |
| 638 | variable {T : Set (S.G E)} |
| 639 | |
| 640 | omit [HasPrimitiveRoot5040 E] [S.IsAdmissible] in |
| 641 | /-- If `σ` is a term over `(c, t, c₁)` and `σ'` one over `(c', t', c₁')`, then `γ` is a term over |
| 642 | `(c₁, s, c₁')` if and only if `σ γ σ'⁻¹` is one over `(c, t s t'⁻¹, c')`. -/ |
| 643 | lemma mem_termsOver_iff_mul_mul_inv_mem {c c₁ c' c₁' : S.Classes} {t t' s : S.ResidueGL} |
| 644 | {σ σ' γ : S.G E} (hσ_over : σ ∈ S.termsOver c t c₁) (hσ'_over : σ' ∈ S.termsOver c' t' c₁') : |
| 645 | γ ∈ S.termsOver c₁ s c₁' ↔ σ * γ * σ'⁻¹ ∈ S.termsOver c (t * s * t'⁻¹) c' := |
| 646 | ⟨fun hγ ↦ termsOver.mul (termsOver.mul hσ_over hγ) (termsOver.inv hσ'_over), |
| 647 | fun hγ ↦ by simpa using termsOver.mul (termsOver.inv hσ_over) (termsOver.mul hγ hσ'_over)⟩ |
| 648 | |
| 649 | /-- Let `E` contain a primitive 5040th root of unity and let `S` be admissible. Let `σ` be a |
| 650 | rational isometry of the form with middle Gram matrix `S.ratMiddle E`. Assume that `σ` lies in the |
| 651 | Bessel subgroup `besselS`, generated by the unipotent group `besselU` and U(X₀), and is a term over |
| 652 | `(c, t, c₁)` (`termsOver`). Then `y ↦ S.classCutoff c (σ y)` has orbit sums `1` under |
| 653 | `S.classUnipotent c₁`, the rational points `u` of `besselU` with h_c₁⁻¹ u h_c₁ in the principal |
| 654 | congruence subgroup of level `S.M`. -/ |
| 655 | lemma tsum_classCutoff_ratToInf_mul_eq_one {c c₁ : S.Classes} {t : S.ResidueGL} |
| 656 | {σ : (S.ratMiddle E).G} (hσ : σ ∈ (S.ratMiddle E).besselS) (hσ_over : σ ∈ S.termsOver c t c₁) |
| 657 | (y : InfinitePlace E → 𝔰.G₁) : |
| 658 | ∑' u : S.classUnipotent c₁, S.classCutoff c (S.ratToInf σ * (S.ratToInf u * y)) = 1 := by |
| 659 | -- Conjugation by `σ` carries `S.classUnipotent c₁` onto `S.classUnipotent c`. |
| 660 | have conj_mem (γ : (S.ratMiddle E).G) : |
| 661 | γ ∈ S.classUnipotent c₁ ↔ MulAut.conj σ γ ∈ S.classUnipotent c := by |
| 662 | refine ((besselS_le_normalizer_besselU hσ γ).and |
| 663 | (mem_termsOver_iff_mul_mul_inv_mem (s := 1) hσ_over hσ_over)).trans ?_ |
| 664 | simp only [MulAut.conj_apply, mul_one, mul_inv_cancel, mul_assoc] |
| 665 | rfl |
| 666 | simpa [mul_assoc] using (((MulAut.conj σ).subtypeEquiv conj_mem).tsum_eq _).trans |
| 667 | (tsum_classCutoff_eq_one c (S.ratToInf σ * y)) |
| 668 | |
| 669 | /-- For admissible `S`, every class `c` and archimedean point `x`, the integral of `u ↦ β_c(u x)`, |
| 670 | `β_c = S.classCutoff c`, read as a complex function, over the product of the groups `besselU` is |
| 671 | `S.unipotentCovolume`. -/ |
| 672 | lemma integral_classCutoff_eq_unipotentCovolume (c : S.Classes) (x : InfinitePlace E → 𝔰.G₁) : |
| 673 | ∫ u : InfinitePlace E → besselU (T := 𝔰.middleGram (1 : ℂ)), |
| 674 | ((S.classCutoff c fun v : InfinitePlace E ↦ u v * x v).toReal : ℂ) |
| 675 | ∂(.pi fun _ : InfinitePlace E ↦ 𝔰.besselHaar) = S.unipotentCovolume := by |
| 676 | rw [integral_complex_ofReal, integral_toReal (Measurable.aemeasurable (by fun_prop)) |
| 677 | (ae_lt_top (by fun_prop) (by simp [lintegral_classCutoff_eq_unipotentCovolume])), |
| 678 | lintegral_classCutoff_eq_unipotentCovolume, toReal_ofReal S.unipotentCovolume_pos.le] |
| 679 | |
| 680 | /-! ### Change of weight and moving blocks -/ |
| 681 | |
| 682 | omit [HasPrimitiveRoot5040 E] [S.IsAdmissible] in |
| 683 | /-- Let `S` be a filling of shape `𝔰` over the CM field `E`. For stable `T`, the set of terms of `T` |
| 684 | over `(c, s, c')` is stable under `γ ↦ u γ u'⁻¹` for `u` in `S.classUnipotent c` and `u'` in |
| 685 | `S.classUnipotent c'`. -/ |
| 686 | lemma mul_mul_inv_mem_inter_termsOver (hT : S.IsStable T) {c : S.Classes} {s : S.ResidueGL} |
| 687 | {c' : S.Classes} (u : S.classUnipotent c) (u' : S.classUnipotent c') {γ : S.G E} |
| 688 | (hγ_mem : γ ∈ T ∩ S.termsOver c s c') : u.val * γ * u'.val⁻¹ ∈ T ∩ S.termsOver c s c' := by |
| 689 | obtain ⟨hu, hu_over⟩ := u.property |
| 690 | obtain ⟨hu', hu'_over⟩ := (u'⁻¹).property |
| 691 | exact ⟨by simpa using (hT u.val⁻¹ (inv_mem hu) u'.val⁻¹ hu' γ).2 hγ_mem.1, |
| 692 | by simpa using termsOver.mul (termsOver.mul hu_over hγ_mem.2) hu'_over⟩ |
| 693 | |
| 694 | /-- Let the group `H`, with an s-finite inversion invariant measure `η`, act measurably on `Z` and |
| 695 | preserve the s-finite measure `μ`. A cutoff (`IsCutoff η β`) is a measurable `β : Z → [0, ∞]` with |
| 696 | `∫ β (u • p) dη(u) = 1` for every `p`. Two cutoffs `β`, `β'` give every invariant measurable `F` the |
| 697 | same integral: `∫ β F dμ = ∫ β' F dμ`. -/ |
| 698 | lemma lintegral_mul_eq_of_isCutoff {H Z : Type*} [MeasurableSpace H] [MeasurableSpace Z] [Group H] |
| 699 | [MulAction H Z] [MeasurableInv H] [MeasurableSMul₂ H Z] {η : Measure H} [SFinite η] |
| 700 | [IsInvInvariant η] {μ : Measure Z} [SFinite μ] [SMulInvariantMeasure H Z μ] {β β' F : Z → ℝ≥0∞} |
| 701 | (hβ : IsCutoff η β) (hβ' : IsCutoff η β') (hF : Measurable F) |
| 702 | (h_inv : ∀ (u : H) (p : Z), F (u • p) = F p) : |
| 703 | ∫⁻ p : Z, β p * F p ∂μ = ∫⁻ p : Z, β' p * F p ∂μ := by |
| 704 | -- Under both weighted measures `F` has the law it has on the quotient. |
| 705 | simpa [lintegral_withDensity_eq_lintegral_mul μ hβ.1 hF, |
| 706 | lintegral_withDensity_eq_lintegral_mul μ hβ'.1 hF] using |
| 707 | ((identDistrib_orbitMeasure (μ := μ) hβ hF h_inv).symm.trans |
| 708 | (identDistrib_orbitMeasure hβ' hF h_inv)).lintegral_eq |
| 709 | |
| 710 | /-- Let `S` be admissible and `T` stable. Let `X` be the set of `γ ∈ T` with h_c⁻¹ γ h_c' integral |
| 711 | of reduction `s` (`termsOver`). Let `φ γ y ∈ [0, ∞]` be measurable in `y` with sum `1` on each orbit |
| 712 | `(u γ u'⁻¹, u y)`, `γ ∈ X`, of `classUnipotent c × classUnipotent c'`; the first factor is the group |
| 713 | of rational `u` in `besselU` with h_c⁻¹ u h_c in the principal congruence subgroup of level `S.M`. |
| 714 | Then (a) the integrals `∫ φ γ y • besselKernel side γ y dy`, `γ ∈ X`, sum to the block; (b) each |
| 715 | integrand is integrable; (c) `∑_γ ∫ φ ‖kernel - cut kernel‖` is at most `ν b ^ (-k³ f) / 2`. Here |
| 716 | `ν = S.unipotentCovolume`, `b` is the size parameter of `S`, `k + 1` is the size of the middle block |
| 717 | of the basis (`k = 𝔰.k`) and `f` is the number of infinite places. -/ |
| 718 | lemma hasSum_amplitudeSum_of_cutoff (hT : S.IsStable T) (c : S.Classes) (s : S.ResidueGL) |
| 719 | (c' : S.Classes) (φ : S.G E → (InfinitePlace E → 𝔰.G₁) → ℝ≥0∞) |
| 720 | (h_sum : ∀ γ ∈ T ∩ S.termsOver c s c', ∀ y : InfinitePlace E → 𝔰.G₁, |
| 721 | ∑' u : S.classUnipotent c × S.classUnipotent c', φ (u.1 * γ * u.2⁻¹) (S.ratToInf u.1 * y) = 1) |
| 722 | (hφ_meas : ∀ γ : S.G E, Measurable (φ γ)) : |
| 723 | -- (a) |
| 724 | HasSum (fun γ : ↥(T ∩ S.termsOver c s c') ↦ |
| 725 | ∫ y : InfinitePlace E → 𝔰.G₁, (φ γ y).toReal • S.besselKernel side γ y) |
| 726 | (S.amplitudeSum side T c s c') ∧ |
| 727 | -- (b) |
| 728 | (∀ γ : ↥(T ∩ S.termsOver c s c'), |
| 729 | Integrable fun y : InfinitePlace E → 𝔰.G₁ ↦ (φ γ y).toReal • S.besselKernel side γ y) ∧ |
| 730 | -- (c) |
| 731 | ∑' γ : ↥(T ∩ S.termsOver c s c'), ∫⁻ y : InfinitePlace E → 𝔰.G₁, |
| 732 | φ γ y * ‖S.besselKernel side γ y - S.besselKernel .cut γ y‖ₑ ≤ |
| 733 | .ofReal (S.unipotentCovolume * (S.b ^ (𝔰.k ^ 3 * numInfPlaces E))⁻¹ / 2) := by |
| 734 | -- `Δ = S.classUnipotent c × S.classUnipotent c'` acts on pairs `(γ, y)` by `(u γ u'⁻¹, u y)`, |
| 735 | -- keeping the measure `ρ` and the kernel. Both `β₀ = β_c β_c'` and `φ` are cutoffs for this |
| 736 | -- action, so they give an invariant function the same integral; the convergence and the tail |
| 737 | -- bound for `β₀` pass to `φ`. |
| 738 | let X : Set (S.G E) := T ∩ S.termsOver c s c' |
| 739 | let Δ : Type := S.classUnipotent c × S.classUnipotent c' |
| 740 | let Y : Type := InfinitePlace E → 𝔰.G₁ |
| 741 | let : MeasurableSpace (S.G E) := ⊤ |
| 742 | let : MulAction Δ X := |
| 743 | { smul u γ := ⟨u.1 * γ * u.2⁻¹, mul_mul_inv_mem_inter_termsOver hT u.1 u.2 γ.property⟩ |
| 744 | one_smul := by simp [HSMul.hSMul, Δ] |
| 745 | mul_smul := by simp [HSMul.hSMul, Δ, mul_assoc] } |
| 746 | -- The first component of `u` acts on `y` by left translation. |
| 747 | let action : MulAction Δ Y := .compHom _ ((S.ratToInf.domRestrict _).comp (.fst _ _)) |
| 748 | let : SMul Δ Y := action.toSMul |
| 749 | let ρ : Measure (X × Y) := Measure.count.prod volume |
| 750 | have preserving (u : Δ) : MeasurePreserving (u • ·) ρ ρ := |
| 751 | (measurePreserving_count (MulAction.toPerm u)).prod (measurePreserving_mul_left ..) |
| 752 | have : MeasurableSMul₂ Δ (X × Y) := |
| 753 | ⟨measurable_from_prod_countable_right fun u ↦ (preserving u).measurable⟩ |
| 754 | have : SMulInvariantMeasure Δ (X × Y) ρ := |
| 755 | ((smulInvariantMeasure_tfae Δ ρ).out 7 1).1 preserving |
| 756 | let kernel (τ : FullOrCut) (p : X × Y) : EuclideanSpace ℂ (S.BesselCoord × S.BesselCoord) := |
| 757 | S.besselKernel τ p.1 p.2 |
| 758 | have kernel_smul (τ : FullOrCut) (u : Δ) (p : X × Y) : kernel τ (u • p) = kernel τ p := by |
| 759 | simp +zetaDelta [besselKernel, HSMul.hSMul, besselFn_mul_of_mem_classUnipotent, mul_assoc, |
| 760 | SMul.smul] |
| 761 | have kernel_meas (τ : FullOrCut) : Measurable (kernel τ) := by fun_prop [besselKernel] |
| 762 | let β₀ (p : X × Y) : ℝ≥0∞ := S.classCutoff c p.2 * S.classCutoff c' ((S.ratToInf p.1)⁻¹ * p.2) |
| 763 | have β₀_cutoff : IsCutoff (count : Measure Δ) β₀ := by |
| 764 | refine ⟨by fun_prop, fun p ↦ ?_⟩ |
| 765 | simp +zetaDelta [HSMul.hSMul, tsum_classCutoff_eq_one, mul_assoc, lintegral_count, |
| 766 | tsum_prod', ENNReal.tsum_mul_left, SMul.smul] |
| 767 | have φ_cutoff : IsCutoff (count : Measure Δ) fun p : X × Y ↦ φ p.1 p.2 := |
| 768 | ⟨measurable_from_prod_countable_right fun γ ↦ hφ_meas γ, |
| 769 | fun p ↦ (lintegral_count _).trans (h_sum p.1 p.1.property p.2)⟩ |
| 770 | -- The integral of an invariant `F` against any cutoff is at most the sum of integrals for `β₀`. |
| 771 | have lintegral_le {β F : X × Y → ℝ≥0∞} (hβ : IsCutoff (count : Measure Δ) β) |
| 772 | (hF : Measurable F) (h_inv : ∀ (u : Δ) (p : X × Y), F (u • p) = F p) : |
| 773 | ∫⁻ p, β p * F p ∂ρ ≤ ∑' γ : X, ∫⁻ y, β₀ (γ, y) * F (γ, y) := |
| 774 | (lintegral_mul_eq_of_isCutoff hβ β₀_cutoff hF h_inv).le.trans |
| 775 | ((lintegral_prod_le _).trans_eq (lintegral_count _)) |
| 776 | have integrable {β : X × Y → ℝ≥0∞} (hβ : IsCutoff (count : Measure Δ) β) : |
| 777 | Integrable (fun p ↦ (β p).toReal • kernel side p) ρ := |
| 778 | integrable_toReal_smul hβ.1 (kernel_meas side).aestronglyMeasurable |
| 779 | ((lintegral_le hβ (kernel_meas side).eNorm (by simp [kernel_smul])).trans_lt |
| 780 | ((le_tsum _ c').trans_lt (tsum_amplitudeMajorant_lt_top T c s))) |
| 781 | -- Fubini: for every cutoff the integrals over `y` sum to that of the kernel over the quotient. |
| 782 | have hasSum {β : X × Y → ℝ≥0∞} (hβ : IsCutoff (count : Measure Δ) β) : |
| 783 | HasSum (fun γ : X ↦ ∫ y, (β (γ, y)).toReal • S.besselKernel side γ y) |
| 784 | (∫ p, kernel side p ∂orbitMeasure (count : Measure Δ) ρ) := by |
| 785 | rw [hβ.integral_orbitMeasure (kernel_smul side) (kernel_meas side), |
| 786 | integral_prod _ (integrable hβ)] |
| 787 | exact (hasSum_integral_measure (integrable hβ).integral_prod_left).congr_fun |
| 788 | (by simp [kernel, Y]) |
| 789 | have block_eq : |
| 790 | S.amplitudeSum side T c s c' = ∫ p, kernel side p ∂orbitMeasure (count : Measure Δ) ρ := |
| 791 | (hasSum β₀_cutoff).tsum_eq |
| 792 | refine ⟨by simpa only [block_eq] using hasSum φ_cutoff, |
| 793 | ae_count_iff.1 (integrable φ_cutoff).prod_right_ae, ?_⟩ |
| 794 | have diff_meas : Measurable fun p ↦ ‖kernel side p - kernel .cut p‖ₑ := by fun_prop |
| 795 | calc |
| 796 | _ = ∫⁻ p, φ p.1 p.2 * ‖kernel side p - kernel .cut p‖ₑ ∂ρ := |
| 797 | ((lintegral_prod _ (φ_cutoff.1.mul diff_meas).aemeasurable).trans (lintegral_count _)).symm |
| 798 | _ ≤ ∑' γ : X, ∫⁻ y, β₀ (γ, y) * ‖kernel side (γ, y) - kernel .cut (γ, y)‖ₑ := |
| 799 | lintegral_le φ_cutoff diff_meas (by simp [kernel_smul]) |
| 800 | _ ≤ _ := (le_tsum _ c').trans (tsum_lintegral_enorm_besselKernel_sub_cut_le T c s) |
| 801 | |
| 802 | /-- Moving a block. Let `S` be admissible and `T` stable. Let `σ` over `(c, t, c₁)` and `σ'` over |
| 803 | `(c', t', c₁')` be rational elements (`(S.ratMiddle E).G` is the group `S.G E`) of the Bessel |
| 804 | subgroup `besselS`. Suppose that `γ ∈ T ↔ σ γ σ'⁻¹ ∈ T`. If a continuous linear map `L` takes the |
| 805 | kernel at `(γ, y)` to the kernel at `(σ γ σ'⁻¹, σ y)`, then `L` takes the block over `(c₁, s, c₁')` |
| 806 | to that over `(c, t s t'⁻¹, c')`. -/ |
| 807 | lemma amplitudeSum_mul_mul_inv (hT : S.IsStable T) {c : S.Classes} {t : S.ResidueGL} |
| 808 | {c₁ : S.Classes} {σ : (S.ratMiddle E).G} {c' : S.Classes} {t' : S.ResidueGL} {c₁' : S.Classes} |
| 809 | {σ' : (S.ratMiddle E).G} (hσ : σ ∈ besselS) (hσ_over : σ ∈ S.termsOver c t c₁) |
| 810 | (hσ' : σ' ∈ besselS) (hσ'_over : σ' ∈ S.termsOver c' t' c₁') |
| 811 | (hT_iff : ∀ γ : S.G E, γ ∈ T ↔ σ * γ * σ'⁻¹ ∈ T) |
| 812 | (L : EuclideanSpace ℂ (S.BesselCoord × S.BesselCoord) →L[ℂ] |
| 813 | EuclideanSpace ℂ (S.BesselCoord × S.BesselCoord)) |
| 814 | (hL : ∀ (γ : S.G E) (y : InfinitePlace E → 𝔰.G₁), |
| 815 | S.besselKernel side (σ * γ * σ'⁻¹) (S.ratToInf σ * y) = L (S.besselKernel side γ y)) |
| 816 | (s : S.ResidueGL) : |
| 817 | S.amplitudeSum side T c (t * s * t'⁻¹) c' = L (S.amplitudeSum side T c₁ s c₁') := by |
| 818 | -- The weight `β_c(σ y) β_c'(σ' γ⁻¹ y)` has orbit sums `1`, so |
| 819 | -- `hasSum_amplitudeSum_of_cutoff` computes the right side with it; then substitute |
| 820 | -- `γ ↦ σ γ σ'⁻¹` and `y ↦ σ y`. |
| 821 | let φ (γ : S.G E) (y : InfinitePlace E → 𝔰.G₁) : ℝ≥0∞ := |
| 822 | S.classCutoff c (S.ratToInf σ * y) * S.classCutoff c' (S.ratToInf σ' * ((S.ratToInf γ)⁻¹ * y)) |
| 823 | -- The orbit sums of `φ` are products of those of the two translated cutoffs, hence `1`. |
| 824 | have φ_sum (γ : S.G E) (y : InfinitePlace E → 𝔰.G₁) : |
| 825 | ∑' u : S.classUnipotent c₁ × S.classUnipotent c₁', |
| 826 | φ (u.1 * γ * u.2⁻¹) (S.ratToInf u.1 * y) = 1 := by |
| 827 | simp [φ, tsum_classCutoff_ratToInf_mul_eq_one hσ hσ_over, |
| 828 | tsum_classCutoff_ratToInf_mul_eq_one hσ' hσ'_over, |
| 829 | mul_assoc, tsum_prod', ENNReal.tsum_mul_left] |
| 830 | have φ_meas (γ : S.G E) : Measurable (φ γ) := by fun_prop |
| 831 | obtain ⟨hasSum, integrable, -⟩ := |
| 832 | hasSum_amplitudeSum_of_cutoff (side := side) hT c₁ s c₁' φ (fun γ _ ↦ φ_sum γ) φ_meas |
| 833 | let move : ↥(T ∩ S.termsOver c₁ s c₁') ≃ ↥(T ∩ S.termsOver c (t * s * t'⁻¹) c') := |
| 834 | ((Equiv.mulLeft σ).trans (.mulRight σ'⁻¹)).subtypeEquiv fun γ ↦ |
| 835 | (hT_iff γ).and (mem_termsOver_iff_mul_mul_inv_mem hσ_over hσ'_over) |
| 836 | refine (move.hasSum_iff.1 ((hasSum.mapL L).congr_fun fun γ ↦ ?_)).tsum_eq |
| 837 | change S.amplitude side c c' (σ * γ * σ'⁻¹) = L (∫ y, (φ γ y).toReal • S.besselKernel side γ y) |
| 838 | rw [← L.integral_comp_comm (integrable γ), amplitude, |
| 839 | ← integral_mul_left_eq_self _ (S.ratToInf σ)] |
| 840 | simp [φ, ← hL, mul_assoc] |
| 841 | |
| 842 | /-- Let `S` be admissible and `T` stable (`IsStable`), and let `side` choose the full or the cut |
| 843 | Bessel function. Let `u`, `u'` in `besselU` be integral finite adelic elements |
| 844 | (`latticeStabilizer`), with reductions `ū`, `ū'` modulo the chosen places (`S.reduction`). Then the |
| 845 | block at `ū s ū'⁻¹` is `ψ(u)⁻¹ ψ(u')` times the block at `s`. Here `ψ = S.unipotentChar` is the |
| 846 | additive character `S.selfDualChar` at the sum of the entries just above the diagonal on the frame |
| 847 | (`simpleRootSum`), divided by the level `S.M`. -/ |
| 848 | lemma amplitudeSum_besselU_mul (hT : S.IsStable T) {u u' : S.latticeStabilizer} |
| 849 | (hu : u.1 ∈ besselU) (hu' : u'.1 ∈ besselU) (c : S.Classes) (s : S.ResidueGL) (c' : S.Classes) : |
| 850 | S.amplitudeSum side T c (S.reduction u * s * (S.reduction u')⁻¹) c' = |
| 851 | ((S.unipotentChar u)⁻¹ * S.unipotentChar u') • S.amplitudeSum side T c s c' := by |
| 852 | -- Approximate `u`, `u'` modulo `S.principalLevel` by rational `x`, `x'` in `besselU` with the |
| 853 | -- same character; they lie over `(c, ū, c)` and `(c', ū', c')`. Move the block by them. |
| 854 | have approx (d : S.Classes) {v : S.latticeStabilizer} (hv : v.val ∈ besselU) : |
| 855 | ∃ x : S.G E, x ∈ besselU ∧ x ∈ S.termsOver d (S.reduction v) d ∧ |
| 856 | S.unipotentChar (S.ratToFin x) = S.unipotentChar v := by |
| 857 | obtain ⟨x, hx, ⟨k, hk⟩, hψ⟩ := exists_rat_approx_unipotentChar_eq d hv |
| 858 | exact ⟨x, hx, ⟨v * k, by simp_all⟩, hψ⟩ |
| 859 | obtain ⟨x, hx, hx_over, hψ⟩ := approx c hu |
| 860 | obtain ⟨x', hx', hx'_over, hψ'⟩ := approx c' hu' |
| 861 | -- The kernel changes by the scalar `ψ(x)⁻¹ ψ(x')`, and so does the block. |
| 862 | simpa [hψ, hψ'] using amplitudeSum_mul_mul_inv hT |
| 863 | (mem_partialUnitriangularGroup_of_mem_besselU hx) hx_over |
| 864 | (mem_partialUnitriangularGroup_of_mem_besselU hx') hx'_over |
| 865 | (fun γ ↦ (hT x⁻¹ (inv_mem hx) _ (inv_mem hx') γ).symm) (.lsmul ℂ ℂ _) |
| 866 | (besselKernel_besselU_mul hx hx') s |
| 867 | |
| 868 | /-- Let `S` be admissible. If `T` is stable (`S.IsStable T`) and `s` does not agree, that is |
| 869 | `unipotentChar u ≠ unipotentChar u'` for some integral unipotent `u`, `u'` whose reductions satisfy |
| 870 | `ū s = s ū'`, then the amplitude sum `S.amplitudeSum side T c s c'` of the elements of `T` over |
| 871 | `(c, s, c')` vanishes. -/ |
| 872 | lemma amplitudeSum_eq_zero_of_not_agrees (c : S.Classes) (s : S.ResidueGL) (c' : S.Classes) |
| 873 | (hT : S.IsStable T) (hs : ¬S.Agrees s) : |
| 874 | S.amplitudeSum side T c s c' = 0 := by |
| 875 | -- For `ū s = s ū'`, `amplitudeSum_besselU_mul` multiplies the block at `s` by `ψ(u)⁻¹ ψ(u')` |
| 876 | -- without changing it; a nonzero block forces this scalar to be `1`. |
| 877 | by_contra h_ne |
| 878 | refine hs fun u u' hu hu' huu' ↦ eq_of_inv_mul_eq_one (smul_left_injective ℂ h_ne ?_) |
| 879 | simp [← amplitudeSum_besselU_mul hT hu hu', huu'] |
| 880 | |
| 881 | end GeneralBlocks |
| 882 | |
| 883 | /-! ### The identity block -/ |
| 884 | |
| 885 | open scoped Classical in |
| 886 | /-- Let `E` contain a primitive 5040th root of unity and let `S` be admissible. Let `c`, `c'` be |
| 887 | classes, and let `i`, `j` be tuples of one coordinate index of the Bessel function at each infinite |
| 888 | place (`BesselCoord`). Sum, over the rational points `γ` of the Bessel subgroup `besselS` with h_c⁻¹ |
| 889 | γ h_c' integral of reduction `1` (`termsOver`), the integrals |
| 890 | `∫ β_c(y) β_c'(γ⁻¹ y) W(y) ⊗ W(γ⁻¹ y)^* dy`, with `W` the full Bessel function and |
| 891 | `β_c = S.classCutoff c`. The `(i, j)` entry of this sum (`amplitudeSum`) is `S.unipotentCovolume`, |
| 892 | the covolume of `S.classUnipotent c` in the real unipotent group, if `c = c'` and `i = j`, and `0` |
| 893 | otherwise. -/ |
| 894 | lemma amplitudeSum_besselS_one_eq_ite {E : Type} [Field E] [CMType E] {𝔰 : Shape} {S : Filling E 𝔰} |
| 895 | [S.IsAdmissible] [HasPrimitiveRoot5040 E] (c c' : S.Classes) (i j : S.BesselCoord) : |
| 896 | S.amplitudeSum .full (S.ratMiddle E).besselS c 1 c' (i, j) = |
| 897 | (if c = c' ∧ i = j then S.unipotentCovolume else 0 : ℝ) := by |
| 898 | -- Only `γ ∈ S.classUnipotent c` with `c = c'` contribute |
| 899 | -- (`eq_and_mem_classUnipotent_of_besselS`). By `hasSum_amplitudeSum_of_cutoff` the whole |
| 900 | -- weight `classCutoff c` may be put on the one term `γ = 1`; unfolding over `besselU` at every |
| 901 | -- place then leaves `unipotentCovolume` times the product of the local inner products on |
| 902 | -- `𝖴 \ G₁`. |
| 903 | obtain hne | rfl := ne_or_eq c c' |
| 904 | · have : IsEmpty ↥(↑(S.ratMiddle E).besselS ∩ S.termsOver c 1 c') := |
| 905 | ⟨fun ⟨_, hγ, hγ_over⟩ ↦ hne (eq_and_mem_classUnipotent_of_besselS hγ hγ_over).1⟩ |
| 906 | simp [amplitudeSum, tsum_empty, hne] |
| 907 | let φ (γ : S.G E) : (InfinitePlace E → 𝔰.G₁) → ℝ≥0∞ := if 1 = γ then S.classCutoff c else 0 |
| 908 | have φ_sum : ∀ γ ∈ ↑(S.ratMiddle E).besselS ∩ S.termsOver c 1 c, |
| 909 | ∀ y : InfinitePlace E → 𝔰.G₁, ∑' u : S.classUnipotent c × S.classUnipotent c, |
| 910 | φ (u.1 * γ * u.2⁻¹) (S.ratToInf u.1 * y) = 1 := by |
| 911 | rintro γ ⟨hγ, hγ_over⟩ y |
| 912 | lift γ to S.classUnipotent c using (eq_and_mem_classUnipotent_of_besselS hγ hγ_over).2 |
| 913 | simp only [φ] |
| 914 | norm_cast |
| 915 | rw [tsum_prod'] |
| 916 | simp only [ite_apply, eq_mul_inv_iff_mul_eq, one_mul, Pi.zero_apply] |
| 917 | exact (tsum_congr fun a ↦ by |
| 918 | convert tsum_ite_eq (a * γ) (fun _ ↦ S.classCutoff c (S.ratToInf ↑a * y))).trans |
| 919 | (tsum_classCutoff_eq_one c y) |
| 920 | have φ_meas (γ : S.G E) : Measurable (φ γ) := by dsimp only [φ]; split_ifs <;> fun_prop |
| 921 | obtain ⟨hasSum, integrable, -⟩ := |
| 922 | hasSum_amplitudeSum_of_cutoff (side := .full) isStable_besselS c 1 c φ φ_sum φ_meas |
| 923 | let F (v : InfinitePlace E) (y : 𝔰.G₁) : ℂ := |
| 924 | (S.besselSystem v).besselFn .full y (i v) * starRingEnd ℂ |
| 925 | ((S.besselSystem v).besselFn .full y (j v)) |
| 926 | have ker_one (y : InfinitePlace E → 𝔰.G₁) : |
| 927 | S.besselKernel .full 1 y (i, j) = ∏ v, F v (y v) := by |
| 928 | simp [besselKernel, besselFn, F, prod_mul_distrib] |
| 929 | -- The character by which `besselU` acts has modulus `1`, so it cancels in `F`. |
| 930 | have F_mul (v : InfinitePlace E) (u : 𝔰.G₁) (hu : u ∈ besselU) (y : 𝔰.G₁) : |
| 931 | F v (u * y) = F v y := by |
| 932 | simp [F, ((S.besselSystem v).isCutPair.isBesselFunction _).map_unipotent_mul u hu, mul_conj', |
| 933 | mul_mul_mul_comm _ _ (starRingEnd _ _)] |
| 934 | have one_term : 1 ∈ ↑(S.ratMiddle E).besselS ∩ S.termsOver c 1 c := |
| 935 | ⟨besselS.one_mem, (S.classUnipotent c).one_mem.2⟩ |
| 936 | have others (γ : ↥(↑(S.ratMiddle E).besselS ∩ S.termsOver c 1 c)) (hγ : γ ≠ ⟨1, one_term⟩) : |
| 937 | ∫ y, (φ γ.val y).toReal • S.besselKernel .full γ y = 0 := by |
| 938 | simp [φ, show 1 ≠ γ.val from fun h ↦ hγ (Subtype.ext h.symm)] |
| 939 | have h_int_prod : Integrable fun y : InfinitePlace E → 𝔰.G₁ ↦ |
| 940 | (S.classCutoff c y).toReal * ∏ v, F v (y v) := by |
| 941 | simpa [φ, ker_one] using (integrable ⟨1, one_term⟩).eval_piLp (i, j) |
| 942 | calc |
| 943 | _ = ∫ y, (S.classCutoff c y).toReal * ∏ v, F v (y v) := by |
| 944 | rw [hasSum.unique (hasSum_single ⟨1, one_term⟩ others), |
| 945 | eval_integral_piLp (integrable ⟨1, one_term⟩).eval_piLp] |
| 946 | simp [φ, ker_one] |
| 947 | _ = ∫ x, S.unipotentCovolume * ∏ v, F v (x v) ∂.pi fun _ ↦ besselQuotMeasure := by |
| 948 | rw [← (measurePreserving_pi_orbitMeasure 𝔰.besselHaar).integral_integral_comp h_int_prod] |
| 949 | simp [Pi.mul_def, F_mul, integral_mul_const, integral_const_mul, |
| 950 | integral_classCutoff_eq_unipotentCovolume] |
| 951 | _ = S.unipotentCovolume * ∏ v, if i v = j v then 1 else 0 := by |
| 952 | rw [integral_const_mul, integral_fintype_prod_eq_prod] |
| 953 | exact congrArg _ (prod_congr rfl fun v _ ↦ (S.besselSystem v).orthonormal (i v) (j v)) |
| 954 | _ = _ := by simp [Fintype.prod_boole, funext_iff, apply_ite ofReal] |
| 955 | |
| 956 | end New.Filling |
| 957 | |
| 958 | end AmplitudeSums |