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 | public import Mathlib.Topology.Sheaves.Presheaf |
| 4 | import Mathlib.Topology.UniformSpace.Uniformizable |
| 5 | import TauCeti.Topology.Algebra.Group.Units |
| 6 | import TauCeti.Topology.Instances.Matrix |
| 7 | public import Lib.Weil.Periods.ConstantTerm |
| 8 | import Lib.Adelic.QuotientMeasure.IwasawaUnfolding |
| 9 | import Lib.Adelic.QuotientMeasure.UnfoldingInStages |
| 10 | import Lib.Cohomology.Etale.Basic |
| 11 | import Lib.Weil.DualPair.ThetaLiftConvergence |
| 12 | |
| 13 | /-! |
| 14 | # One step of the seesaw unfolding of the theta integral over the Bessel group |
| 15 | |
| 16 | This file unfolds the period of an equivariant function `W` (`New.Grading.IsEquivariant`) on the |
| 17 | Bessel group `New.Grading.besselGroup` of `Y` against the theta kernel, where the strings of `Y` |
| 18 | and `Y'` have lengths `s` and `s - 1`. The theta kernel at `(r, h)` is `θ` of the translate |
| 19 | `twistedPairWeil α (r, h) Φ`; it is expanded in constant terms indexed by rational maps `V → V'` |
| 20 | modulo those of degree at least zero (`New.Grading.nonnegMaps`). Over a set of classes that is |
| 21 | stable under the rational points of the Bessel group and in which no chosen representative survives |
| 22 | (`New.Grading.Survives`), the sum of the terms integrates to zero. Hence only the translates of |
| 23 | `𝒞 = New.Grading.agreeingClasses` by the rational points of `U(V')` contribute. This writes the |
| 24 | period as a sum of values of `New.Grading.unfoldStep`, and its integral against a rapidly decreasing |
| 25 | automorphic `y` as an integral of `New.Grading.unfoldStep` times `y`. |
| 26 | |
| 27 | ## Main definitions and results |
| 28 | |
| 29 | * `New.Grading.hasSum_unfoldStep`: for `W` equivariant, the period of `W` against the theta kernel |
| 30 | at `h` is the sum of the values of `New.Grading.unfoldStep` at `γ h` over the rational points `γ` |
| 31 | of `U(V')`, modulo those of `Y'.besselGroup` on the left. |
| 32 | * `New.Grading.integral_besselGroup_unfold`: the period of `W` against the theta integral of a |
| 33 | rapidly decreasing automorphic `y` unfolds to the integral of `New.Grading.unfoldStep` times `y` |
| 34 | modulo the rational points of `Y'.besselGroup`. |
| 35 | |
| 36 | Notions from other files: |
| 37 | * `New.𝒮`: The Banach space 𝒮(V) of integrable functions c on 𝔸^n with c(x) = ∫ c(y)β(y,x)e(x−y) dy, |
| 38 | under the L¹ norm; β is the adelic bicharacter and e the vacuum function `New.vacuumFn`. |
| 39 | * `New.Grading.ratBessel`: The rational points of U(V) that lie in the Bessel (Fourier–Jacobi) |
| 40 | subgroup of the grading Y. |
| 41 | * `New.Grading.constTerm`: the constant term of `f` at `w` along the maps of positive degree. |
| 42 | * `New.Grading.unfoldStep`: the function `h ↦ ∫ W(r) * Y.constTermAtStringMap Y' α f r h dr` on |
| 43 | U(V′)(𝔸), integrated over the Bessel group of `Y` modulo its rational points. |
| 44 | * `New.Grading.agreeingClasses`: the set `𝒞` of classes whose chosen representative agrees with |
| 45 | `T = Y.stringMap Y'` (`New.Grading.AgreesWithStringMap`). |
| 46 | |
| 47 | ## Relation to the literature |
| 48 | |
| 49 | Transfer of Bessel and Fourier–Jacobi periods under a theta lift (one unfolding step). |
| 50 | Here the setting is unitary pairs and hook orbits with a definite complement, and the Bessel and |
| 51 | Fourier–Jacobi cases are treated together. The period is taken against any continuous automorphic |
| 52 | function with the generic unipotent character, for a rapidly decreasing form, and the unfolded |
| 53 | integral converges absolutely. Source: B. Wang Peng Jun, Global theta lifting and automorphic |
| 54 | periods associated to nilpotent orbits, J. Number Theory 271 (2025) 122–149, Prop. 3.2 and Thm. 4.5; |
| 55 | for the local case, R. Gomez, C.-B. Zhu, GAFA 24 (2014) 796–853; for unitary hooks, M. Furusawa, K. |
| 56 | Morimoto, Math. Ann. 391 (2025) §3. |
| 57 | -/ |
| 58 | |
| 59 | @[expose] public section |
| 60 | |
| 61 | noncomputable section |
| 62 | |
| 63 | /-- Suppose that for every `y` in `C`, the point `γ • y` lies in `C` exactly when `γ` lies in `S`, |
| 64 | and let `D` be the union of the translates of `C`. Then `(q, y) ↦ q.out • y` is a bijection from the |
| 65 | pairs of a left coset of `S` and a point of `C` onto `D`. -/ |
| 66 | lemma New.exists_equiv_quotient_prod_block {Λ Y : Type*} [Group Λ] [MulAction Λ Y] {S : Subgroup Λ} |
| 67 | {C D : Set Y} (hC : ∀ γ : Λ, ∀ y ∈ C, γ • y ∈ C ↔ γ ∈ S) |
| 68 | (hD : ∀ y : Y, y ∈ D ↔ ∃ γ : Λ, γ • y ∈ C) : |
| 69 | ∃ e : (Λ ⧸ S) × C ≃ D, ∀ (q : Λ ⧸ S) (y : C), (e (q, y) : Y) = q.out • (y : Y) := by |
| 70 | let f (p : (Λ ⧸ S) × C) : D := ⟨p.1.out • (p.2 : Y), (hD _).2 ⟨p.1.out⁻¹, by simp⟩⟩ |
| 71 | have f_inj : Function.Injective f := by |
| 72 | rintro ⟨q, y⟩ ⟨q', y'⟩ h_eq |
| 73 | have h_smul : q.out • (y : Y) = q'.out • (y' : Y) := congrArg Subtype.val h_eq |
| 74 | have h_mem : q.out⁻¹ * q'.out ∈ S := |
| 75 | (hC _ _ y'.property).1 (by simp [mul_smul, ← h_smul]) |
| 76 | obtain rfl : q = q' := by simpa using QuotientGroup.eq.2 h_mem |
| 77 | exact Prod.ext rfl (Subtype.ext (MulAction.injective _ h_smul)) |
| 78 | have f_surj : Function.Surjective f := by |
| 79 | rintro ⟨y, hy⟩ |
| 80 | obtain ⟨γ, hγ⟩ := (hD y).1 hy |
| 81 | let q : Λ ⧸ S := (γ⁻¹ : Λ) |
| 82 | have h_mem : q.out⁻¹ * γ⁻¹ ∈ S := QuotientGroup.eq.1 q.out_eq' |
| 83 | have h_block : q.out⁻¹ • y ∈ C := by simpa [mul_smul] using (hC _ _ hγ).2 h_mem |
| 84 | exact ⟨(q, ⟨q.out⁻¹ • y, h_block⟩), Subtype.ext (smul_inv_smul q.out y)⟩ |
| 85 | exact ⟨.ofBijective f ⟨f_inj, f_surj⟩, fun _ _ ↦ rfl⟩ |
| 86 | |
| 87 | namespace New.Grading |
| 88 | |
| 89 | open Subgroup MeasureTheory Set MulAction ProbabilityTheory Space QuotientAddGroup Subtype ENNReal |
| 90 | ContinuousLinearMap |
| 91 | |
| 92 | variable {E ι ι' X X' : Type} [Field E] [CMType E] [Fintype ι] [DecidableEq ι] [Fintype ι'] |
| 93 | [DecidableEq ι'] [Fintype X] [DecidableEq X] [Fintype X'] [DecidableEq X'] |
| 94 | {s : ℕ} {ε : ι → ℤˣ} {ε' : ι' → ℤˣ} {N : E} {V : Space E ι ε} {V' : Space E ι' ε'} |
| 95 | {Y : Grading V N X s} (Y' : Grading V' N X' (s - 1)) [WeilData E] |
| 96 | (α : ∀ (n : Type) [Fintype n], AutChar E) (Φ : 𝒮 (V.hom V')) {W : Y.besselGroup → ℂ} {d : ι' → ℤ} |
| 97 | |
| 98 | /-- For a pair `p = (γ, δ)` of rational points, the substitution `w ↦ δ w γ⁻¹` on rational maps |
| 99 | `V → V'`, with `γ` and `δ` in rational coordinates. -/ |
| 100 | noncomputable def ratSubst (p : Y.ratBessel × V'.ratParabolic d) : |
| 101 | ratMatrices E ι' ι →+ ratMatrices E ι' ι := |
| 102 | .mk' (fun w ↦ ⟨V'.ratCoordMatrix p.2 * (w.val * V.ratCoordMatrix p⁻¹.1), |
| 103 | mul_mem_ratMatrices p⁻¹.1.property.1 p.2.property.1 w.property⟩) (by simp [Matrix.add_mul, |
| 104 | Matrix.mul_add]) |
| 105 | |
| 106 | section |
| 107 | |
| 108 | omit [WeilData E] |
| 109 | |
| 110 | /-- The substitution `w ↦ δ w γ⁻¹` keeps the maps of degree `≥ 0`. -/ |
| 111 | lemma nonnegMaps_le_comap_ratSubst (p : Y.ratBessel × V'.ratParabolic d) : |
| 112 | Y.nonnegMaps d ≤ (Y.nonnegMaps d).comap (ratSubst p) := fun w hw ↦ by |
| 113 | obtain ⟨-, δ_tri⟩ := p.2.property |
| 114 | obtain ⟨-, γ_bessel⟩ := p⁻¹.1.property |
| 115 | have h_left : HasDegreeGe d d 0 (V'.ratCoordMatrix p.2) := fun _ _ _ ↦ δ_tri (by lia) |
| 116 | have h_right : HasDegreeGe Y.gradeOf Y.gradeOf 0 (V.ratCoordMatrix p⁻¹.1) := |
| 117 | Y.hasDegreeGe_zero_of_mem_besselGroup γ_bessel |
| 118 | exact h_left.mul (HasDegreeGe.mul hw h_right le_rfl) le_rfl |
| 119 | |
| 120 | /-- A pair `(γ, δ)` acts on the classes of rational maps by `w ↦ δ w γ⁻¹`. -/ |
| 121 | noncomputable instance : |
| 122 | MulAction (Y.ratBessel × V'.ratParabolic d) (ratMatrices E ι' ι ⧸ Y.nonnegMaps d) where |
| 123 | smul p := map _ _ (ratSubst p) (nonnegMaps_le_comap_ratSubst p) |
| 124 | one_smul := by simp [forall_mk, HSMul.hSMul, ratSubst] |
| 125 | mul_smul := by simp [forall_mk, HSMul.hSMul, ratSubst, Matrix.mul_assoc] |
| 126 | |
| 127 | /-- The chosen representative of `(γ, δ) • w` lies in the class of `δ w γ⁻¹`, formed with the |
| 128 | chosen representative of `w`. -/ |
| 129 | lemma mk_out_smul (p : Y.ratBessel × V'.ratParabolic d) (w : ratMatrices E ι' ι ⧸ Y.nonnegMaps d) : |
| 130 | ((p • w).out : ratMatrices E ι' ι ⧸ Y.nonnegMaps d) = ratSubst p w.out := |
| 131 | (p • w).out_eq'.trans (congrArg _ w.out_eq'.symm) |
| 132 | |
| 133 | omit [Fintype X'] in |
| 134 | /-- If `d ≤ Y'.gradeOf ⊔ 0`, the class `(γ, δ) • w` agrees with `T = Y.stringMap Y'` exactly if |
| 135 | `δ w γ⁻¹` does. -/ |
| 136 | lemma agreesWithStringMap_out_smul (hd_le : d ≤ Y'.gradeOf ⊔ 0) |
| 137 | (p : Y.ratBessel × V'.ratParabolic d) (w : ratMatrices E ι' ι ⧸ Y.nonnegMaps d) : |
| 138 | Y.AgreesWithStringMap Y' (p • w).out ↔ |
| 139 | Y.AgreesWithStringMap Y' (V'.ratCoordMatrix p.2 * (w.out.val * V.ratCoordMatrix p⁻¹.1)) := |
| 140 | agreesWithStringMap_congr_rat hd_le (mk_out_smul p w) |
| 141 | |
| 142 | end |
| 143 | |
| 144 | variable (W) in |
| 145 | /-- The term of the class `w`: the value `W r` times the constant term, at the chosen |
| 146 | representative of `w`, of the twisted Weil translate of `Φ` by `(r, h)`. For weights `d` odd under |
| 147 | `Y'.stringReversal` any representative gives the same value (`constTerm_out`). -/ |
| 148 | noncomputable def classTerm (w : ratMatrices E ι' ι ⧸ Y.nonnegMaps d) (h : G E ε') |
| 149 | (r : Y.besselGroup) : ℂ := |
| 150 | W r * Y.constTerm d (twistedPairWeil α (r.val, h) Φ) w.out |
| 151 | |
| 152 | /-- For `W` equivariant and `d` odd, the term of a class is jointly continuous in `(h, r)`. -/ |
| 153 | lemma continuous_classTerm (hW : Y.IsEquivariant W) |
| 154 | (hd : ∀ b : ι', d (Y'.stringReversal b) = -d b) (w : ratMatrices E ι' ι ⧸ Y.nonnegMaps d) : |
| 155 | Continuous ↿(classTerm α Φ W w) := by |
| 156 | -- The constant term is a continuous linear form of the datum. |
| 157 | obtain ⟨m, s₀, U, D, h_frame⟩ := Y.exists_splitting_k_eq_inclMatrix hd |
| 158 | have W_cont : Continuous W := hW.continuous |
| 159 | unfold classTerm |
| 160 | simp only [constTerm_eq_theta_zeroTerm D h_frame] |
| 161 | fun_prop |
| 162 | |
| 163 | /-- For `W` equivariant and `d` odd, rational pairs permute the terms: the term of `(γ, δ) • w` at |
| 164 | `(δ h, γ r)` is the term of `w` at `(h, r)`. -/ |
| 165 | lemma classTerm_smul (hW : Y.IsEquivariant W) |
| 166 | (hd : ∀ b : ι', d (Y'.stringReversal b) = -d b) (γ : Y.ratBessel) (δ : V'.ratParabolic d) |
| 167 | (w : ratMatrices E ι' ι ⧸ Y.nonnegMaps d) (h : G E ε') (r : Y.besselGroup) : |
| 168 | classTerm α Φ W ((γ, δ) • w) (δ * h) (Subgroup.inclusion inf_le_right γ * r) = |
| 169 | classTerm α Φ W w h r := by |
| 170 | -- The constant term may be read at `δ w γ⁻¹`, and translating by `(γ, δ)` substitutes back. |
| 171 | rw [classTerm, hW.rat_mul _ γ.property.1 r, constTerm_congr_rat hd _ _ (mk_out_smul (γ, δ) w)] |
| 172 | simp [classTerm, ratSubst, constTerm_mul_of_mem_ratBessel hd γ.property δ.property, |
| 173 | Matrix.mul_assoc, ← map_mul, ← (V'.ratCoordMatrix _⁻¹).mul_assoc] |
| 174 | |
| 175 | /-- Let `W` on the Bessel group of `Y` be equivariant (`New.Grading.IsEquivariant`) and let the |
| 176 | weights `d` be odd under `Y'.stringReversal`. The sum of the norms of the terms |
| 177 | `classTerm α Φ W w h r` over any set `S` of classes of rational maps is at most a constant times the |
| 178 | operator norm of the Weil action of `(1, δ h)`, for every `δ` in `V'.ratParabolic d` (the rational |
| 179 | points that do not lower `d`), uniformly in `r`. -/ |
| 180 | lemma exists_tsum_enorm_classTerm_le (hW : Y.IsEquivariant W) |
| 181 | (hd : ∀ b : ι', d (Y'.stringReversal b) = -d b) : |
| 182 | ∃ a : NNReal, ∀ (h : G E ε') (δ : V'.ratParabolic d) |
| 183 | (S : Set (ratMatrices E ι' ι ⧸ Y.nonnegMaps d)) (r : Y.besselGroup), |
| 184 | ∑' w : S, ‖classTerm α Φ W w.val h r‖ₑ ≤ ‖pairWeil V V' (α ι) (α ι') (1, δ * h)‖ₑ * a := by |
| 185 | -- The norms of the constant terms of any datum `Ψ` have sum at most `b ‖Ψ‖`. Every `r` has a |
| 186 | -- rational translate `γ * r` in the compact set `K`, and for `r` in `K` the datum |
| 187 | -- `W r • twistedPairWeil α (r, 1) Φ` has norm at most `a`. |
| 188 | have W_cont : Continuous W := hW.continuous |
| 189 | obtain ⟨m, s₀, U, D, h_frame⟩ := Y.exists_splitting_k_eq_inclMatrix hd |
| 190 | obtain ⟨b, hb⟩ : ∃ b : NNReal, ∀ Ψ : 𝒮 (V.hom V'), |
| 191 | ∑' w : ratMatrices E ι' ι ⧸ Y.nonnegMaps d, ‖Y.constTerm d Ψ w.out‖ₑ ≤ b * ‖Ψ‖ₑ := |
| 192 | Y.exists_tsum_enorm_constTerm_le hd |
| 193 | obtain ⟨K, hK, K_covers⟩ := Y.isCocompact_ratBessel |
| 194 | obtain ⟨a, ha⟩ : BddAbove |
| 195 | ((fun r : Y.besselGroup ↦ ‖W r • twistedPairWeil α (r.val, 1) Φ‖₊) '' K) := |
| 196 | hK.bddAbove_image (by with_reducible fun_prop) |
| 197 | refine ⟨b * a, fun h δ S r ↦ ?_⟩ |
| 198 | obtain ⟨γ, γ_rat, γ_mem⟩ := K_covers r |
| 199 | let γ₀ : Y.ratBessel := ⟨γ, γ_rat⟩ |
| 200 | set ρ : 𝒮 (V.hom V') →L[ℂ] 𝒮 (V.hom V') := pairWeil V V' (α ι) (α ι') (1, δ * h) with hρ |
| 201 | set Ψ : 𝒮 (V.hom V') := W (γ * r) • twistedPairWeil α ((γ * r).val, 1) Φ with hΨ |
| 202 | have Ψ_le : ‖Ψ‖ₑ ≤ a := ENNReal.coe_le_coe.2 (ha ⟨γ * r, γ_mem, rfl⟩) |
| 203 | -- The constant term is linear in the datum, and `(1, δ h) (γ r, 1) = (γ r, δ h)`. |
| 204 | have term_eq (w : ratMatrices E ι' ι ⧸ Y.nonnegMaps d) : |
| 205 | classTerm α Φ W w (δ * h) (γ * r) = Y.constTerm d (ρ Ψ) w.out := by |
| 206 | simp [hρ, hΨ, classTerm, constTerm_eq_theta_zeroTerm D h_frame, rep_apply_apply] |
| 207 | calc _ = ∑' w : S, ‖classTerm α Φ W ((γ₀, δ) • w.val) (δ * h) (γ * r)‖ₑ := |
| 208 | tsum_congr fun w ↦ congrArg _ (classTerm_smul Y' α Φ hW hd γ₀ δ w h r).symm |
| 209 | _ ≤ ∑' w : ratMatrices E ι' ι ⧸ Y.nonnegMaps d, ‖classTerm α Φ W w (δ * h) (γ * r)‖ₑ := |
| 210 | tsum_comp_le_tsum_of_injective (MulAction.injective (γ₀, δ)).injOn.injective |
| 211 | fun w ↦ ‖classTerm α Φ W w (δ * h) (γ * r)‖ₑ |
| 212 | _ ≤ b * ‖ρ Ψ‖ₑ := by simpa only [term_eq] using hb (ρ Ψ) |
| 213 | _ ≤ b * (‖ρ‖ₑ * a) := by grw [ρ.le_opENorm, Ψ_le] |
| 214 | _ = ‖ρ‖ₑ * (b * a : NNReal) := by rw [ENNReal.coe_mul, mul_left_comm] |
| 215 | |
| 216 | /-- For `W` equivariant and `d` odd, the sum of the norms of the terms has finite integral for |
| 217 | `Y.besselMeasure`. -/ |
| 218 | lemma lintegral_tsum_enorm_classTerm_lt_top (hW : Y.IsEquivariant W) |
| 219 | (hd : ∀ b : ι', d (Y'.stringReversal b) = -d b) (h : G E ε') |
| 220 | (S : Set (ratMatrices E ι' ι ⧸ Y.nonnegMaps d)) : |
| 221 | ∫⁻ r : Y.besselGroup, ∑' w : S, ‖classTerm α Φ W w.val h r‖ₑ ∂Y.besselMeasure < ∞ := by |
| 222 | obtain ⟨a, ha⟩ := exists_tsum_enorm_classTerm_le Y' α Φ hW hd |
| 223 | exact IsFiniteMeasure.lintegral_lt_top_of_bounded_to_ennreal Y.besselMeasure ⟨_, ha h 1 S⟩ |
| 224 | |
| 225 | /-- For `W` equivariant and `d` odd, the terms can be integrated one by one: their integrals add up |
| 226 | to the integral of the sum. -/ |
| 227 | lemma hasSum_integral_classTerm (hW : Y.IsEquivariant W) |
| 228 | (hd : ∀ b : ι', d (Y'.stringReversal b) = -d b) (h : G E ε') |
| 229 | (S : Set (ratMatrices E ι' ι ⧸ Y.nonnegMaps d)) : |
| 230 | HasSum (fun w : S ↦ ∫ r : Y.besselGroup, classTerm α Φ W w.val h r ∂Y.besselMeasure) |
| 231 | (∫ r : Y.besselGroup, ∑' w : S, classTerm α Φ W w.val h r ∂Y.besselMeasure) := by |
| 232 | have term_cont (w : ratMatrices E ι' ι ⧸ Y.nonnegMaps d) : Continuous ↿(classTerm α Φ W w) := |
| 233 | continuous_classTerm Y' α Φ hW hd w |
| 234 | exact hasSum_integral_of_lintegral_tsum_lt_top |
| 235 | (lintegral_tsum_enorm_classTerm_lt_top Y' α Φ hW hd h S) |
| 236 | |
| 237 | /-- Let `W` be equivariant and `d` odd. If the chosen representative of `w` does not survive |
| 238 | (`New.Grading.Survives`), left translation by some `u` multiplies the term of `w` by a constant |
| 239 | `c ≠ 1` of modulus one. -/ |
| 240 | lemma exists_classTerm_mul_eq_of_not_survives (hW : Y.IsEquivariant W) |
| 241 | (hd : ∀ b : ι', d (Y'.stringReversal b) = -d b) (h : G E ε') |
| 242 | {w : ratMatrices E ι' ι ⧸ Y.nonnegMaps d} (h_killed : ¬Y.Survives Y' d w.out) : |
| 243 | ∃ (u : Y.besselGroup) (c : ℂ), ‖c‖ = 1 ∧ c ≠ 1 ∧ |
| 244 | ∀ r : Y.besselGroup, classTerm α Φ W w h (u * r) = c • classTerm α Φ W w h r := by |
| 245 | obtain ⟨u, hu, ⟨u_deg, wu_deg⟩, phase_ne⟩ : ∃ u ∈ Y.unipotent, |
| 246 | (HasDegreeGe Y.gradeOf Y.gradeOf 2 (V.ratCoordMatrix u - 1) ∧ |
| 247 | HasDegreeGe d Y.gradeOf 1 (w.out.val * (V.ratCoordMatrix u - 1))) ∧ |
| 248 | V.homBicharacter V' (Y.stringMap Y' * V.ratCoordMatrix u) (Y.stringMap Y') ≠ |
| 249 | V.homBicharacter V' (w.out.val * V.ratCoordMatrix u) w.out := by |
| 250 | simpa only [not_forall, exists_prop] using h_killed |
| 251 | -- The constant is the quotient of the two phases (`IsEquivariant.unipotent_mul_constTerm`). |
| 252 | let u' : Y.besselGroup := ⟨u, Y.unipotent_le_besselGroup hu⟩ |
| 253 | exact ⟨u', _, by simp [Heisenberg.norm_eq_one], div_ne_one_of_ne phase_ne, |
| 254 | fun r ↦ hW.unipotent_mul_constTerm hd (u := u') u_deg wu_deg r h⟩ |
| 255 | |
| 256 | /-- Let `W` on `Y.besselGroup` be equivariant (`New.Grading.IsEquivariant`) and let `d` be odd under |
| 257 | `Y'.stringReversal`. Let `S` be a set of classes of rational matrices modulo `Y.nonnegMaps d` that |
| 258 | is stable under `Y.ratBessel` and such that no chosen representative survives |
| 259 | (`New.Grading.Survives`). Then for every `h`, the sum over `S` of the terms `classTerm α Φ W w h` |
| 260 | (`W r` times a constant term of the Weil translate of `Φ`) has integral `0` for |
| 261 | `Y.besselMeasure`. -/ |
| 262 | lemma integral_tsum_classTerm_eq_zero (hW : Y.IsEquivariant W) |
| 263 | (hd : ∀ b : ι', d (Y'.stringReversal b) = -d b) (h : G E ε') |
| 264 | {S : Set (ratMatrices E ι' ι ⧸ Y.nonnegMaps d)} (h_killed : ∀ w ∈ S, ¬Y.Survives Y' d w.out) |
| 265 | (h_stable : ∀ w ∈ S, ∀ γ : Y.ratBessel, (γ, (1 : V'.ratParabolic d)) • w ∈ S) : |
| 266 | ∫ r : Y.besselGroup, ∑' w : S, classTerm α Φ W w.val h r ∂Y.besselMeasure = 0 := by |
| 267 | have term_cont (w : ratMatrices E ι' ι ⧸ Y.nonnegMaps d) : Continuous ↿(classTerm α Φ W w) := |
| 268 | continuous_classTerm Y' α Φ hW hd w |
| 269 | -- `Y.ratBessel` acts on `S`, and embeds by `i` in the Bessel group; the terms are equivariant. |
| 270 | let := compHom (ratMatrices E ι' ι ⧸ Y.nonnegMaps d) (.inl Y.ratBessel (V'.ratParabolic d)) |
| 271 | let Z : SubMulAction Y.ratBessel (ratMatrices E ι' ι ⧸ Y.nonnegMaps d) := |
| 272 | ⟨S, fun γ w hw ↦ h_stable w hw γ⟩ |
| 273 | -- the action on `Z`, given once so that instance search does not look for it again |
| 274 | let : MulAction Y.ratBessel Z := Z.mulAction |
| 275 | let i : Y.ratBessel →* Y.besselGroup := Subgroup.inclusion inf_le_right |
| 276 | have term_smul (γ : Y.ratBessel) (w : Z) (r : Y.besselGroup) : |
| 277 | classTerm α Φ W (γ • w : Z).val h (i γ * r) = classTerm α Φ W w.val h r := by |
| 278 | have h_eq := classTerm_smul Y' α Φ hW hd γ 1 w h r |
| 279 | rw [OneMemClass.coe_one, one_mul] at h_eq |
| 280 | exact h_eq |
| 281 | -- Each orbit unfolds to an integral over the quotient by the stabiliser; there left translation |
| 282 | -- by some `u` multiplies the term by a constant `c ≠ 1` of modulus one. |
| 283 | have orbit_zero (q : Quot (orbitRel Y.ratBessel Z)) : ∑' w : Quot.mk _ ⁻¹' {q}, |
| 284 | ∫ r : Y.besselGroup, classTerm α Φ W (w.val : Z).val h r ∂Y.besselMeasure = 0 := by |
| 285 | obtain ⟨o⟩ := q |
| 286 | obtain ⟨u, c, c_norm, c_ne, twist⟩ := |
| 287 | exists_classTerm_mul_eq_of_not_survives Y' α Φ hW hd h (h_killed _ o.property) |
| 288 | -- The stabiliser is written as an intersection so that it is seen to be discrete. |
| 289 | have stab_eq : (stabilizer Y.ratBessel o).map i = |
| 290 | Y.ratBessel.subgroupOf Y.besselGroup ⊓ (stabilizer Y.ratBessel o).map i := |
| 291 | right_eq_inf.2 ((map_le_range ..).trans (inclusion_range _).le) |
| 292 | have mem_orbit (w : Z) : |
| 293 | w ∈ Quot.mk (orbitRel Y.ratBessel Z) ⁻¹' {Quot.mk _ o} ↔ o ∈ orbit Y.ratBessel w := |
| 294 | Quotient.eq.trans comm |
| 295 | obtain ⟨fixes, unfold⟩ := integral_tsum_orbit (μ := .haar) |
| 296 | (k := fun w : Z ↦ classTerm α Φ W w.val h) (inclusion_injective _) (inclusion_range _) |
| 297 | (fun w ↦ ((term_cont w).comp (continuous_const.prodMk continuous_id)).measurable) |
| 298 | term_smul stab_eq mem_orbit |
| 299 | obtain ⟨-, -, sum_eq⟩ := unfold (.inl (lintegral_tsum_enorm_classTerm_lt_top Y' α Φ hW hd h S)) |
| 300 | exact sum_eq.trans |
| 301 | (integral_quotMeasure_eq_zero_of_twist _ fixes (by fun_prop) c_norm c_ne twist) |
| 302 | -- Integrate term by term and group the terms by orbits. |
| 303 | rw [← ((hasSum_integral_classTerm Y' α Φ hW hd h S).tsum_fiberwise |
| 304 | (Quot.mk (orbitRel Y.ratBessel Z))).tsum_eq] |
| 305 | exact (tsum_congr orbit_zero).trans tsum_zero |
| 306 | |
| 307 | /-- Let `W` be equivariant and `d` odd. Let `A ⊆ B` be sets of classes such that `B \ A` is stable |
| 308 | under `Y.ratBessel` and no chosen representative of a class in `B \ A` survives |
| 309 | (`New.Grading.Survives`). Then `B \ A` may be dropped: the sum over `A` of the integrals of the |
| 310 | terms is the integral of the sum over `B`. -/ |
| 311 | lemma tsum_integral_eq_of_not_survives (hW : Y.IsEquivariant W) |
| 312 | (hd : ∀ b : ι', d (Y'.stringReversal b) = -d b) (h : G E ε') |
| 313 | {A B : Set (ratMatrices E ι' ι ⧸ Y.nonnegMaps d)} (hAB : A ⊆ B) |
| 314 | (h_killed : ∀ w ∈ B \ A, ¬Y.Survives Y' d w.out) |
| 315 | (h_stable : ∀ w ∈ B \ A, ∀ γ : Y.ratBessel, (γ, (1 : V'.ratParabolic d)) • w ∈ B \ A) : |
| 316 | ∑' w : A, ∫ r : Y.besselGroup, classTerm α Φ W w.val h r ∂Y.besselMeasure = |
| 317 | ∫ r : Y.besselGroup, ∑' w : B, classTerm α Φ W w.val h r ∂Y.besselMeasure := by |
| 318 | -- Integrate term by term over `A`, `B \ A` and `B`; the part over `B \ A` is zero. |
| 319 | let period (w : ratMatrices E ι' ι ⧸ Y.nonnegMaps d) : ℂ := |
| 320 | ∫ r, classTerm α Φ W w h r ∂Y.besselMeasure |
| 321 | let total (S : Set (ratMatrices E ι' ι ⧸ Y.nonnegMaps d)) : ℂ := |
| 322 | ∫ r, ∑' w : S, classTerm α Φ W w.val h r ∂Y.besselMeasure |
| 323 | have termwise (S : Set (ratMatrices E ι' ι ⧸ Y.nonnegMaps d)) : |
| 324 | HasSum (fun w : S ↦ period w) (total S) := |
| 325 | hasSum_integral_classTerm Y' α Φ hW hd h S |
| 326 | have dropped : total (B \ A) = 0 := |
| 327 | integral_tsum_classTerm_eq_zero Y' α Φ hW hd h h_killed h_stable |
| 328 | have split : HasSum (fun w : ↥(A ∪ B \ A) ↦ period w) (total A + total (B \ A)) := |
| 329 | HasSum.add_disjoint (f := period) disjoint_sdiff_right (termwise A) (termwise (B \ A)) |
| 330 | rw [union_sdiff_cancel hAB, dropped, add_zero] at split |
| 331 | exact (termwise A).tsum_eq.trans (split.unique (termwise B)) |
| 332 | |
| 333 | variable (Y) in |
| 334 | /-- For the weights `d = 0`, the union of the translates of `𝒞` by the rational points of `U(V')`: |
| 335 | the classes that some rational `δ` moves into `𝒞`. -/ |
| 336 | def agreeingTranslates : Set (ratMatrices E ι' ι ⧸ Y.nonnegMaps 0) := |
| 337 | {w : ratMatrices E ι' ι ⧸ Y.nonnegMaps 0 | |
| 338 | ∃ δ : V'.ratParabolic 0, ((1 : Y.ratBessel), δ) • w ∈ Y.agreeingClasses Y' 0} |
| 339 | |
| 340 | omit [WeilData E] in |
| 341 | /-- For `d ≤ Y'.gradeOf ⊔ 0`, a pair `p = (γ, δ)` keeps a class of `𝒞 = Y.agreeingClasses Y' d` |
| 342 | in `𝒞` exactly if `δ` lies in the Bessel group of `Y'`. -/ |
| 343 | lemma smul_mem_agreeingClasses_iff (hd_le : d ≤ Y'.gradeOf ⊔ 0) |
| 344 | (p : Y.ratBessel × V'.ratParabolic d) {w : ratMatrices E ι' ι ⧸ Y.nonnegMaps d} |
| 345 | (hw : w ∈ Y.agreeingClasses Y' d) : |
| 346 | p • w ∈ Y.agreeingClasses Y' d ↔ (p.2 : G E ε') ∈ Y'.besselGroup := by |
| 347 | have h_inv : (p⁻¹.1 : G E ε) ∈ Y.besselGroup := (mem_inf.1 p⁻¹.1.property).right |
| 348 | exact (agreesWithStringMap_out_smul Y' hd_le p w).trans |
| 349 | (Y.agreesWithStringMap_mul_iff Y' h_inv hw p.2) |
| 350 | |
| 351 | include Y' in |
| 352 | /-- For the weights `d = 0`, the terms of all classes add up to `W r` times the theta kernel. -/ |
| 353 | lemma tsum_classTerm (h : G E ε') (r : Y.besselGroup) : |
| 354 | ∑' w : (univ : Set (ratMatrices E ι' ι ⧸ Y.nonnegMaps 0)), classTerm α Φ W w.val h r = |
| 355 | W r * θ (V.hom V') (twistedPairWeil α (r.val, h) Φ) := by |
| 356 | simp [classTerm, tsum_mul_left, |
| 357 | (tsum_univ _).trans (Y.hasSum_constTerm_out (Y' := Y') (d := 0) (by simp)).tsum_eq] |
| 358 | |
| 359 | /-- Take the weights `d = 0` and `W` equivariant. Only the classes in `Y.agreeingTranslates Y'`, the |
| 360 | rational translates of the classes that agree with `T = Y.stringMap Y'`, contribute: the integrals |
| 361 | of their terms `classTerm α Φ W w h` add up to the period of `W` against the theta kernel. -/ |
| 362 | lemma tsum_agreeingTranslates (hW : Y.IsEquivariant W) (h : G E ε') : |
| 363 | ∑' w : Y.agreeingTranslates Y', ∫ r : Y.besselGroup, classTerm α Φ W w.1 h r ∂Y.besselMeasure = |
| 364 | ∫ r : Y.besselGroup, W r * θ (V.hom V') (twistedPairWeil α (r.1, h) Φ) ∂Y.besselMeasure := by |
| 365 | have h_killed : ∀ w ∈ univ \ Y.agreeingTranslates Y', ¬Y.Survives Y' 0 w.out := by |
| 366 | -- If `w` survives, some rational `δ` makes `δ w` agree with `T`. |
| 367 | rintro w ⟨-, hw⟩ survives |
| 368 | obtain ⟨δ, δ_rat, agrees⟩ : ∃ δ ∈ V'.Γ, |
| 369 | Y.AgreesWithStringMap Y' (V'.ratCoordMatrix δ * (w.out : Matrix ι' ι (𝔸 E))) := |
| 370 | Y.exists_agreesWithStringMap Y' w.out w.out.property survives |
| 371 | let δ₀ : V'.ratParabolic 0 := ⟨δ, δ_rat, nofun⟩ |
| 372 | have δ₀_smul : ((1 : Y.ratBessel), δ₀) • w ∈ Y.agreeingClasses Y' 0 := |
| 373 | (agreesWithStringMap_out_smul Y' (by simp) (1, δ₀) w).2 (by |
| 374 | rw [show (((1 : Y.ratBessel), δ₀)⁻¹.1 : G E ε) = 1 from inv_one, map_one, Matrix.mul_one] |
| 375 | exact agrees) |
| 376 | exact hw ⟨δ₀, δ₀_smul⟩ |
| 377 | have h_stable : ∀ w ∈ univ \ Y.agreeingTranslates Y', ∀ γ : Y.ratBessel, |
| 378 | (γ, (1 : V'.ratParabolic 0)) • w ∈ univ \ Y.agreeingTranslates Y' := by |
| 379 | -- If `(γ, δ) • w` agrees with `T`, so does `(1, δ) • w`: apply `(γ⁻¹, 1)`. |
| 380 | rintro w ⟨-, hw⟩ γ |
| 381 | refine ⟨mem_univ _, fun ⟨δ, hδ⟩ ↦ hw ⟨δ, ?_⟩⟩ |
| 382 | simpa [smul_smul] using smul_mem_agreeingClasses_iff Y' (by simp) (γ⁻¹, 1) hδ |
| 383 | simp only [← tsum_classTerm Y' α Φ] |
| 384 | exact tsum_integral_eq_of_not_survives Y' α Φ hW (by simp) h (subset_univ _) h_killed h_stable |
| 385 | |
| 386 | /-- For `W` equivariant, the integrals of the terms of `𝒞` add up to `Y.unfoldStep Y' α Φ W h`: |
| 387 | expanded again for the weights `Y'.gradeOf`, only the class of `T` survives. -/ |
| 388 | lemma tsum_integral_classTerm_agreeingClasses (hW : Y.IsEquivariant W) (h : G E ε') : |
| 389 | ∑' w : Y.agreeingClasses Y' 0, ∫ r : Y.besselGroup, classTerm α Φ W w.val h r ∂Y.besselMeasure = |
| 390 | Y.unfoldStep Y' α Φ W h := by |
| 391 | let T : ratMatrices E ι' ι := ⟨Y.stringMap Y', _, rfl⟩ |
| 392 | have T_mem : ↑T ∈ Y.agreeingClasses Y' Y'.gradeOf := |
| 393 | (agreesWithStringMap_congr_rat le_sup_left (out_eq' _)).2 fun _ _ _ _ ↦ rfl |
| 394 | have T_fixed (γ : Y.ratBessel) : |
| 395 | (γ, (1 : V'.ratParabolic Y'.gradeOf)) • |
| 396 | (T : ratMatrices E ι' ι ⧸ Y.nonnegMaps Y'.gradeOf) = T := |
| 397 | eq_iff_sub_mem.2 (Y.hasDegreeGe_zero_mul_stringMap_mul_sub γ⁻¹.property.2 (one_mem _)) |
| 398 | calc _ = ∫ r, ∑' w : Y.agreeingClasses Y' 0, classTerm α Φ W w.val h r ∂Y.besselMeasure := |
| 399 | (hasSum_integral_classTerm Y' α Φ hW (by simp) h _).tsum_eq |
| 400 | _ = ∫ r, ∑' w : Y.agreeingClasses Y' Y'.gradeOf, classTerm α Φ W w.1 h r ∂Y.besselMeasure := by |
| 401 | -- Both sums give the same Fourier coefficient, which does not depend on the weights. |
| 402 | simp (disch := simp) only [classTerm, tsum_mul_left, Y.tsum_constTerm_agreesWithStringMap] |
| 403 | _ = ∑' w : ({↑T} : Set (ratMatrices E ι' ι ⧸ Y.nonnegMaps Y'.gradeOf)), |
| 404 | ∫ r, classTerm α Φ W w.val h r ∂Y.besselMeasure := by |
| 405 | refine (tsum_integral_eq_of_not_survives Y' α Φ hW Y'.gradeOf_stringReversal h |
| 406 | (singleton_subset_iff.2 T_mem) |
| 407 | (fun w ⟨agrees, ne_T⟩ survives ↦ ne_T ?_) fun w ⟨agrees, ne_T⟩ γ ↦ ?_).symm |
| 408 | · -- A class of `𝒞` that survives is the class of `T`. |
| 409 | exact w.out_eq'.symm.trans |
| 410 | (eq_iff_sub_mem.2 (Y.hasDegreeGe_of_survives _ agrees survives)) |
| 411 | · -- `Y.ratBessel` keeps `𝒞` and fixes the class of `T`, so it moves no other class to it. |
| 412 | exact ⟨(smul_mem_agreeingClasses_iff Y' le_sup_left _ agrees).2 (one_mem _), |
| 413 | ((MulAction.injective _).ne ne_T).trans_eq (T_fixed γ)⟩ |
| 414 | _ = Y.unfoldStep Y' α Φ W h := by |
| 415 | simp only [(hasSum_unique _).tsum_eq, default_coe_singleton, classTerm, |
| 416 | constTerm_out Y'.gradeOf_stringReversal, unfoldStep, T] |
| 417 | |
| 418 | /-- Let `W` be equivariant and `𝒞 = Y.agreeingClasses Y' 0`. The union of the translates of `𝒞` is |
| 419 | in bijection with the pairs of a left coset `q` of `Y'.ratBessel` in `V'.Γ` and a class `w` of `𝒞`, |
| 420 | such that the term of `(q, w)` at `h` is the term of `w` at `γ⁻¹ h`, where `γ` is the chosen |
| 421 | representative of `q`. -/ |
| 422 | lemma exists_equiv_agreeingTranslates (hW : Y.IsEquivariant W) : |
| 423 | ∃ e : (V'.Γ ⧸ Y'.ratBessel.subgroupOf V'.Γ) × Y.agreeingClasses Y' 0 ≃ Y.agreeingTranslates Y', |
| 424 | ∀ (q : V'.Γ ⧸ Y'.ratBessel.subgroupOf V'.Γ) (w : Y.agreeingClasses Y' 0) (h : G E ε'), |
| 425 | classTerm α Φ W (e (q, w)).val h = classTerm α Φ W w.val ((q.out : G E ε')⁻¹ * h) := by |
| 426 | -- For `d = 0` the parabolic condition is empty, so `V'.Γ` acts on classes through `δ ↦ (1, δ)`. |
| 427 | -- It keeps a class of `𝒞` in `𝒞` exactly on `Y'.ratBessel`, so the translates are blocks. |
| 428 | have rat_le : V'.Γ ≤ V'.ratParabolic 0 := fun δ δ_rat ↦ ⟨δ_rat, nofun⟩ |
| 429 | let i : V'.Γ →* V'.ratParabolic 0 := Subgroup.inclusion rat_le |
| 430 | let : MulAction V'.Γ (ratMatrices E ι' ι ⧸ Y.nonnegMaps 0) := |
| 431 | compHom _ ((MonoidHom.inr Y.ratBessel (V'.ratParabolic 0)).comp i) |
| 432 | have smul_eq (δ : V'.Γ) (w : ratMatrices E ι' ι ⧸ Y.nonnegMaps 0) : |
| 433 | δ • w = ((1 : Y.ratBessel), i δ) • w := rfl |
| 434 | have keeps_iff (δ : V'.Γ) (w : ratMatrices E ι' ι ⧸ Y.nonnegMaps 0) |
| 435 | (hw : w ∈ Y.agreeingClasses Y' 0) : |
| 436 | δ • w ∈ Y.agreeingClasses Y' 0 ↔ δ ∈ Y'.ratBessel.subgroupOf V'.Γ := |
| 437 | (smul_mem_agreeingClasses_iff Y' (by simp) (1, i δ) hw).trans (and_iff_right δ.property).symm |
| 438 | have translates_iff (w : ratMatrices E ι' ι ⧸ Y.nonnegMaps 0) : |
| 439 | w ∈ Y.agreeingTranslates Y' ↔ ∃ δ : V'.Γ, δ • w ∈ Y.agreeingClasses Y' 0 := by |
| 440 | constructor |
| 441 | · rintro ⟨⟨δ, δ_rat, δ_parab⟩, hδ⟩ |
| 442 | exact ⟨⟨δ, δ_rat⟩, hδ⟩ |
| 443 | · rintro ⟨δ, hδ⟩ |
| 444 | exact ⟨i δ, hδ⟩ |
| 445 | obtain ⟨e, he⟩ := exists_equiv_quotient_prod_block keeps_iff translates_iff |
| 446 | refine ⟨e, fun q w h ↦ funext fun r ↦ ?_⟩ |
| 447 | rw [he, smul_eq] |
| 448 | simpa [i] using classTerm_smul Y' α Φ hW (by simp) 1 (i q.out) w ((q.out : G E ε')⁻¹ * h) r |
| 449 | |
| 450 | /-- For `W` equivariant and every `h`, the period of `W` against the theta kernel at `h` is the sum |
| 451 | of the values of the unfolded function `Y.unfoldStep Y' α Φ W` at `γ h`, over `γ` in |
| 452 | `Y'.ratBessel \ V'.Γ`. Here `γ` is the inverse of the chosen representative of a left coset `q`. -/ |
| 453 | lemma hasSum_unfoldStep (hW : Y.IsEquivariant W) (h : G E ε') : |
| 454 | HasSum (fun q : V'.Γ ⧸ Y'.ratBessel.subgroupOf V'.Γ ↦ |
| 455 | Y.unfoldStep Y' α Φ W ((q.out : G E ε')⁻¹ * h)) |
| 456 | (∫ r : Y.besselGroup, W r * θ (V.hom V') (twistedPairWeil α (r.val, h) Φ) |
| 457 | ∂Y.besselMeasure) := by |
| 458 | -- Only the translates of `𝒞` survive, and the integrals of the terms of one translate add up to |
| 459 | -- one value of the unfolded function. |
| 460 | obtain ⟨e, he⟩ := exists_equiv_agreeingTranslates Y' α Φ hW |
| 461 | have all_translates : HasSum |
| 462 | (fun w : Y.agreeingTranslates Y' ↦ ∫ r, classTerm α Φ W w.val h r ∂Y.besselMeasure) |
| 463 | (∫ r, W r * θ (V.hom V') (twistedPairWeil α (r.val, h) Φ) ∂Y.besselMeasure) := |
| 464 | (hasSum_integral_classTerm Y' α Φ hW (by simp) h _).summable.hasSum_iff.2 |
| 465 | (tsum_agreeingTranslates Y' α Φ hW h) |
| 466 | have one_translate (q : V'.Γ ⧸ Y'.ratBessel.subgroupOf V'.Γ) : HasSum |
| 467 | (fun w : Y.agreeingClasses Y' 0 ↦ ∫ r, classTerm α Φ W (e (q, w)).val h r ∂Y.besselMeasure) |
| 468 | (Y.unfoldStep Y' α Φ W ((q.out : G E ε')⁻¹ * h)) := by |
| 469 | simp only [he] |
| 470 | exact (hasSum_integral_classTerm Y' α Φ hW (by simp) _ _).summable.hasSum_iff.2 |
| 471 | (tsum_integral_classTerm_agreeingClasses Y' α Φ hW _) |
| 472 | exact (e.hasSum_iff.2 all_translates).prod_fiberwise one_translate |
| 473 | |
| 474 | include Y' in |
| 475 | /-- For the weights `d = 0`, an equivariant `W` and a rapidly decreasing `y`, the sums of the norms |
| 476 | of the terms times `y h` are bounded, uniformly in `h`, `r` and the set of classes. -/ |
| 477 | lemma exists_tsum_enorm_classTerm_mul_le (hW : Y.IsEquivariant W) {y : G E ε' → ℂ} |
| 478 | (hy_rapid : V'.IsRapid y) : |
| 479 | ∃ c : NNReal, ∀ (h : G E ε') (S : Set (ratMatrices E ι' ι ⧸ Y.nonnegMaps 0)) |
| 480 | (r : Y.besselGroup), ∑' w : S, ‖classTerm α Φ W w.val h r * y h‖ₑ ≤ c := by |
| 481 | -- With `h` reduced, the growth of the Weil representation is absorbed by the decay of `y`. |
| 482 | obtain ⟨a, ha⟩ := exists_tsum_enorm_classTerm_le Y' α Φ hW (d := 0) (by simp) |
| 483 | obtain ⟨B, reduce⟩ : ∃ B : ℕ, ∀ h : G E ε', ∃ δ ∈ V'.Γ, |
| 484 | ‖pairWeil V V' (α ι) (α ι') (1, δ * h)‖ ≤ 2 ^ B * V'.height h ^ B := |
| 485 | ((pairThetaKer V V' (α ι) (α ι')).eventually_exists_norm_omega_le_mul_height_pow 1).exists |
| 486 | obtain ⟨C, decay⟩ : ∃ C : ℝ, ∀ h : G E ε', ‖y h‖ * V'.height h ^ B ≤ C := hy_rapid B |
| 487 | refine ⟨(2 ^ B * C).toNNReal * a, fun h S r ↦ ?_⟩ |
| 488 | obtain ⟨δ, δ_rat, hδ⟩ := reduce h |
| 489 | set ρ : 𝒮 (V.hom V') →L[ℂ] 𝒮 (V.hom V') := pairWeil V V' (α ι) (α ι') (1, δ * h) |
| 490 | have absorb : ‖y h‖ * ‖ρ‖ ≤ 2 ^ B * C := by grw [hδ, mul_left_comm, decay] |
| 491 | calc _ = (∑' w : S, ‖classTerm α Φ W w.val h r‖ₑ) * ‖y h‖ₑ := by |
| 492 | simp only [eNorm_mul, ENNReal.tsum_mul_right] |
| 493 | _ ≤ ‖ρ‖ₑ * a * ‖y h‖ₑ := by grw [ha h ⟨δ, δ_rat, nofun⟩ S r] |
| 494 | _ = .ofReal (‖y h‖ * ‖ρ‖) * a := by |
| 495 | rw [ofReal_mul (norm_nonneg _), ofReal_norm, ofReal_norm, mul_right_comm, mul_comm ‖ρ‖ₑ] |
| 496 | _ ≤ .ofReal (2 ^ B * C) * a := by gcongr |
| 497 | |
| 498 | /-- For an equivariant `W` and a rapidly decreasing `y`, the sum over `γ` in `Y'.ratBessel \ V'.Γ` |
| 499 | of the norms of `Y.unfoldStep Y' α Φ W (γ h) * y h` is at most a constant, independent of `h`, times |
| 500 | the (finite) total mass of `Y.besselMeasure`. -/ |
| 501 | lemma exists_tsum_enorm_unfoldStep_mul_le (hW : Y.IsEquivariant W) {y : G E ε' → ℂ} |
| 502 | (hy_rapid : V'.IsRapid y) : |
| 503 | ∃ c : NNReal, ∀ h : G E ε', ∑' q : V'.Γ ⧸ Y'.ratBessel.subgroupOf V'.Γ, |
| 504 | ‖Y.unfoldStep Y' α Φ W ((q.out : G E ε')⁻¹ * h) * y h‖ₑ ≤ c * Y.besselMeasure univ := by |
| 505 | -- Each value is a sum of integrals of terms over one translate of `𝒞`. |
| 506 | have term_cont (w : ratMatrices E ι' ι ⧸ Y.nonnegMaps 0) : Continuous ↿(classTerm α Φ W w) := |
| 507 | continuous_classTerm Y' α Φ hW (by simp) w |
| 508 | obtain ⟨c, bound⟩ : ∃ c : NNReal, ∀ (h : G E ε') (S : Set (ratMatrices E ι' ι ⧸ Y.nonnegMaps 0)) |
| 509 | (r : Y.besselGroup), ∑' w : S, ‖classTerm α Φ W w.val h r * y h‖ₑ ≤ c := |
| 510 | exists_tsum_enorm_classTerm_mul_le Y' α Φ hW hy_rapid |
| 511 | obtain ⟨e, he⟩ := exists_equiv_agreeingTranslates Y' α Φ hW |
| 512 | refine ⟨c, fun h ↦ ?_⟩ |
| 513 | calc _ ≤ ∑' (q : V'.Γ ⧸ Y'.ratBessel.subgroupOf V'.Γ) (w : Y.agreeingClasses Y' 0), |
| 514 | ‖∫ r, classTerm α Φ W (e (q, w)).val h r * y h ∂Y.besselMeasure‖ₑ := by |
| 515 | simp only [he, ← tsum_integral_classTerm_agreeingClasses Y' α Φ hW, ← tsum_mul_right, |
| 516 | integral_mul_const] |
| 517 | exact tsum_le_tsum fun q ↦ eNorm_tsum_le_tsum_eNorm |
| 518 | _ = ∑' w : Y.agreeingTranslates Y', |
| 519 | ‖∫ r, classTerm α Φ W w.val h r * y h ∂Y.besselMeasure‖ₑ := by |
| 520 | rw [← e.tsum_eq, tsum_prod'] |
| 521 | _ ≤ ∑' w : Y.agreeingTranslates Y', |
| 522 | ∫⁻ r, ‖classTerm α Φ W w.val h r * y h‖ₑ ∂Y.besselMeasure := |
| 523 | tsum_le_tsum fun w ↦ eNorm_integral_le_lintegral_eNorm _ |
| 524 | _ = ∫⁻ r, ∑' w : Y.agreeingTranslates Y', |
| 525 | ‖classTerm α Φ W w.val h r * y h‖ₑ ∂Y.besselMeasure := by |
| 526 | rw [lintegral_tsum (by fun_prop)] |
| 527 | _ ≤ ∫⁻ _, c ∂Y.besselMeasure := lintegral_mono (bound h _) |
| 528 | _ = c * Y.besselMeasure univ := lintegral_const _ |
| 529 | |
| 530 | include Y' in |
| 531 | /-- Fubini for the theta integral: for an equivariant `W` and an automorphic `y` of rapid decay, |
| 532 | the integral over the Bessel group of `W r ∫ θ(ω(r, h) Φ) y(h) dh` equals the integral over `h` of |
| 533 | `(∫ W(r) θ(ω(r, h) Φ) dr) y(h)`. -/ |
| 534 | private lemma integral_besselGroup_integral_swap |
| 535 | (hW : Y.IsEquivariant W) {y : G E ε' → ℂ} (hy : V'.IsAutomorphic y) (hy_rapid : V'.IsRapid y) : |
| 536 | ∫ r : Y.besselGroup, W r * ∫ h : G E ε', |
| 537 | θ (V.hom V') (twistedPairWeil α (r.val, h) Φ) * y h ∂V'.quotMeasure ∂Y.besselMeasure = |
| 538 | ∫ h : G E ε', (∫ r : Y.besselGroup, W r * θ (V.hom V') (twistedPairWeil α (r.val, h) Φ) |
| 539 | ∂Y.besselMeasure) * y h ∂V'.quotMeasure := by |
| 540 | have y_cont : Continuous y := hy.continuous |
| 541 | have W_cont : Continuous W := hW.continuous |
| 542 | have product_integrable : Integrable (Function.uncurry fun h (r : Y.besselGroup) ↦ |
| 543 | W r * θ (V.hom V') (twistedPairWeil α (r.val, h) Φ) * y h) |
| 544 | (V'.quotMeasure.prod Y.besselMeasure) := by |
| 545 | obtain ⟨c, bound⟩ := exists_tsum_enorm_classTerm_mul_le Y' α Φ hW hy_rapid |
| 546 | refine ⟨(Continuous.measurable (by fun_prop)).aestronglyMeasurable, |
| 547 | .of_bounded_eNorm (C := c) coe_ne_top (.of_forall fun ⟨h, r⟩ ↦ ?_)⟩ |
| 548 | rw [Function.uncurry_apply_pair, ← tsum_classTerm Y' α Φ, ← tsum_mul_right] |
| 549 | exact eNorm_tsum_le_tsum_eNorm.trans (bound h univ r) |
| 550 | simp only [← integral_const_mul, ← mul_assoc, ← integral_integral_swap product_integrable, |
| 551 | integral_mul_const] |
| 552 | |
| 553 | /-- Let `W` be a `ψ_U`-equivariant function on the Bessel group of `Y`, and let `y` be an |
| 554 | automorphic function of rapid decay on `U(V')(𝔸)`. Write `Y.unfoldStep Y' α Φ W h` for the integral |
| 555 | of `W r * Y.constTermAtStringMap Y' α Φ r h` over the Bessel group of `Y` modulo its rational |
| 556 | points. Then `h ↦ Y.unfoldStep Y' α Φ W h * y h` is integrable over `Y'.ratBessel \ U(V')(𝔸)`, and |
| 557 | its integral there equals `∫ W(r) ∫ θ(ω(r, h) Φ) y(h) dh dr`, where `ω = twistedPairWeil α`, `h` |
| 558 | runs over `V'.Γ \ U(V')(𝔸)` and `r` over the Bessel group of `Y` modulo its rational points. -/ |
| 559 | lemma integral_besselGroup_unfold (hW : Y.IsEquivariant W) {y : G E ε' → ℂ} |
| 560 | (hy : V'.IsAutomorphic y) (hy_rapid : V'.IsRapid y) : |
| 561 | Integrable (fun h : G E ε' ↦ Y.unfoldStep Y' α Φ W h * y h) Y'.ratBessel.quotMeasure ∧ |
| 562 | ∫ r : Y.besselGroup, W r * ∫ h : G E ε', |
| 563 | θ (V.hom V') (twistedPairWeil α (r.val, h) Φ) * y h ∂V'.quotMeasure ∂Y.besselMeasure = |
| 564 | ∫ h : G E ε', Y.unfoldStep Y' α Φ W h * y h ∂Y'.ratBessel.quotMeasure := by |
| 565 | -- Exchange the two integrals, write the period over the Bessel group as a sum over cosets |
| 566 | -- (`hasSum_unfoldStep`), and unfold that sum. |
| 567 | have y_cont : Continuous y := hy.continuous |
| 568 | have unfold_cont : Continuous (Y.unfoldStep Y' α Φ W) := continuous_unfoldStep hW |
| 569 | let k (q : V'.Γ ⧸ Y'.ratBessel.subgroupOf V'.Γ) (h : G E ε') : ℂ := |
| 570 | Y.unfoldStep Y' α Φ W ((q.out : G E ε')⁻¹ * h) * y h |
| 571 | have k_meas (q : V'.Γ ⧸ Y'.ratBessel.subgroupOf V'.Γ) : Measurable (k q) := |
| 572 | Continuous.measurable (by fun_prop) |
| 573 | have k_sum (h : G E ε') : ∑' q : (univ : Set (V'.Γ ⧸ Y'.ratBessel.subgroupOf V'.Γ)), k q h = |
| 574 | (∫ r : Y.besselGroup, W r * θ (V.hom V') (twistedPairWeil α (r.val, h) Φ) |
| 575 | ∂Y.besselMeasure) * y h := |
| 576 | (tsum_univ fun q ↦ k q h).trans ((hasSum_unfoldStep Y' α Φ hW h).mul_right (y h)).tsum_eq |
| 577 | -- The term of a coset may be read at any representative, so `V'.Γ` permutes the terms. |
| 578 | have k_eq (δ : V'.Γ) (h : G E ε') : |
| 579 | k δ h = Y.unfoldStep Y' α Φ W ((δ : G E ε')⁻¹ * h) * y h := by |
| 580 | have h_mem : (δ : V'.Γ ⧸ Y'.ratBessel.subgroupOf V'.Γ).out⁻¹ * δ ∈ |
| 581 | Y'.ratBessel.subgroupOf V'.Γ := QuotientGroup.eq.1 (QuotientGroup.out_eq' _) |
| 582 | simpa [k, mul_assoc] using |
| 583 | congrArg (· * y h) (unfoldStep_rat_mul _ h_mem ((δ : G E ε')⁻¹ * h)) |
| 584 | have k_smul (δ : V'.Γ) (q : V'.Γ ⧸ Y'.ratBessel.subgroupOf V'.Γ) (h : G E ε') : |
| 585 | k (δ • q) (δ * h) = k q h := by |
| 586 | rw [← Quotient.mk_smul_out, k_eq] |
| 587 | simp [k, mul_assoc, hy.rat_mul _ δ.property] |
| 588 | have k_one : k (1 : V'.Γ) = fun h : G E ε' ↦ Y.unfoldStep Y' α Φ W h * y h := |
| 589 | funext fun h ↦ by rw [k_eq, OneMemClass.coe_one, inv_one, one_mul] |
| 590 | have stab_eq : (stabilizer V'.Γ ((1 : V'.Γ) : V'.Γ ⧸ Y'.ratBessel.subgroupOf V'.Γ)).map |
| 591 | V'.Γ.subtype = Y'.ratBessel := by |
| 592 | rw [stabilizer_quotient, subgroupOf_map_subtype, inf_of_le_left inf_le_left] |
| 593 | have finite : ∫⁻ h, ∑' q, ‖k q h‖ₑ ∂V'.quotMeasure < ∞ := by |
| 594 | obtain ⟨c, bound⟩ := exists_tsum_enorm_unfoldStep_mul_le Y' α Φ hW hy_rapid |
| 595 | grw [bound] |
| 596 | -- `withDensity_apply` would unfold the quotient measure, whose total mass is finite. |
| 597 | simp [mul_lt_top_iff, -withDensity_apply] |
| 598 | have : Countable (V'.Γ ⧸ Y'.ratBessel.subgroupOf V'.Γ) := Quotient.countable |
| 599 | obtain ⟨integrable, unfolded, -⟩ := integral_tsum_orbit_of_lt_top_or_integrable (μ := volume) |
| 600 | (D := univ) |
| 601 | val_injective V'.Γ.range_subtype k_meas k_smul stab_eq (fun q ↦ by simp [orbit_eq_univ]) |
| 602 | (.inl finite) |
| 603 | simp only [k_sum, k_one] at integrable unfolded |
| 604 | exact ⟨integrable, (integral_besselGroup_integral_swap Y' α Φ hW hy hy_rapid).trans unfolded⟩ |
| 605 | |
| 606 | end New.Grading |
| 607 | |
| 608 | end |