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.Analysis.Matrix.Order |
| 5 | import Mathlib.Data.Rat.Cast.OfScientific |
| 6 | import Mathlib.MeasureTheory.SpecificCodomains.WithLp |
| 7 | import Mathlib.Tactic.Monotonicity.Lemmas |
| 8 | import TauCeti.Topology.Algebra.Group.Units |
| 9 | import TauCeti.Topology.Instances.Matrix |
| 10 | public import New.UpperBound.Objects.Rows |
| 11 | public import New.Spanning.Bessel.LargeFunction |
| 12 | public import New.Spanning.Frames.RealPlaceGauge |
| 13 | public import New.Spanning.Unfolding.Setup |
| 14 | import Lib.DiscreteSeries.Bessel.SchurBound |
| 15 | import Lib.DiscreteSeries.Character.FormalDegree |
| 16 | import Lib.DiscreteSeries.FlenstedJensen.PsiKTypes |
| 17 | import Lib.GLn.SchurModule.SchurNorm |
| 18 | import New.Determinant.AuxiliaryForms.DeepLevelPoincarePeriod |
| 19 | import New.Spanning.Bessel.CutTailBound |
| 20 | import New.Spanning.Bessel.SchurBound |
| 21 | import New.Spanning.Frames.RealBandLimits |
| 22 | import New.Spanning.Unfolding.Climbing |
| 23 | |
| 24 | /-! |
| 25 | # Filling data from admissible data, with Bessel systems at the real places |
| 26 | |
| 27 | The filling theorem is stated for abstract data (`New.Filling`). This file builds such data from |
| 28 | admissible data D (`New.Data`). At each real place it constructs a Bessel system of the type fixed |
| 29 | by D. It then assembles these systems, the relevant primes and places, and the level `D.levelX 0` |
| 30 | into the filling data. It identifies that level with the preimage of the level K(M) of |
| 31 | `New.Filling.principalLevel`: here M = p₀ p₁, and K(M) includes a congruence modulo π. |
| 32 | |
| 33 | ## Main definitions and results |
| 34 | |
| 35 | * `New.Data.exists_besselSystem`: the Bessel function at a real place, with its normalisation, |
| 36 | Schur's bound, decay, cut and local bounds. That its coordinates are orthonormal is |
| 37 | `New.BesselSystem.orthonormal`, in `New.Spanning.Bessel.Orthonormality`. |
| 38 | * `New.Data.filling`: the prime `New.Data.N`, the primes p₀, p₁ (field `levelPrime`) with their |
| 39 | chosen places, the level `D.levelX 0` and a Bessel system at each infinite place. |
| 40 | * `New.Data.levelX_zero_eq_comap`: the level `D.levelX 0` is the preimage of the principal |
| 41 | congruence subgroup K(M), that is `New.Filling.principalLevel`. |
| 42 | |
| 43 | Notions from other files: |
| 44 | * `New.Data.piNIdele`: the principal finite idele of `π`, where `N = π π̄`; `New.Data.piNPlaces` is |
| 45 | the set of places dividing `π`. |
| 46 | * `New.Data.piM`: the conjugate of the integer `D.piMBar` of norm `p₀ p₁`; the chosen places are its |
| 47 | prime divisors. |
| 48 | |
| 49 | ## Relation to the literature |
| 50 | |
| 51 | At a real place, integrals of a Bessel function on an indefinite unitary group against its |
| 52 | translates have Fourier transforms decaying beyond a band; the bounds themselves are proved in the |
| 53 | imported files. These integrals replace Petersson's J-Bessel kernel in showing that few translates |
| 54 | almost span the target forms. Rank one is classical, and Bessel kernels are studied for GL(n) and |
| 55 | GSp(4). |
| 56 | |
| 57 | Related work: Petersson, Über die Entwicklungskoeffizienten der automorphen Formen, 1932; NIST DLMF |
| 58 | §10.22; Baruch, On Bessel distributions for quasi-split groups, 2001, and Bessel distributions for |
| 59 | GL(3) over the p-adics, 2004; Comtat et al., Effective Kuznetsov trace formula for GSp(4), 2025. |
| 60 | -/ |
| 61 | |
| 62 | @[expose] public section |
| 63 | |
| 64 | namespace New.Data |
| 65 | |
| 66 | /-! |
| 67 | ## Bessel systems at the real places |
| 68 | |
| 69 | The Bessel function at each real place is built at a stationary point given by |
| 70 | `New.DiscreteSeries.IsSteep.exists_stationary_point`. |
| 71 | -/ |
| 72 | |
| 73 | section BesselSystemExists |
| 74 | |
| 75 | open MeasureTheory Matrix Finset Fintype Filling RealPlace DiscreteSeries Norms.L2Operator CStarRing |
| 76 | MatrixOrder ConjAct |
| 77 | |
| 78 | variable {P : Parameters} (D : Data P) |
| 79 | |
| 80 | lemma card_X₀ : Fintype.card (D.X 0) = D.k := by grind [card_X, n] |
| 81 | |
| 82 | /-- Existence of an orthonormal frame with the signs of `Y₀`. -/ |
| 83 | lemma nonempty_unitarySignFrameY : Nonempty (UnitarySignFrame D.shape (D.signsY 0 ·)) := by |
| 84 | -- For a string of length `2 ϱ + 1`, `exists_conjTranspose_mul_gradedGram_mul_eq_signMatrix` asks |
| 85 | -- for `ϱ + 1` minus signs. |
| 86 | obtain ⟨p, hp_form, hp_unitary⟩ := Seesaw.exists_conjTranspose_mul_gradedGram_mul_eq_signMatrix |
| 87 | D.shape.besselIndexEquiv (.id ℂ) |
| 88 | one_pos ((D.negCount_gridSigns false 0 0).trans (by grind)) |
| 89 | exact ⟨{ matrix := (.mkOfMulEqOne _ _ (hp_unitary rfl))⁻¹ |
| 90 | gram_eq := by |
| 91 | -- The two Gram matrices agree entry by entry. |
| 92 | convert! hp_form |
| 93 | simp [← ext_iff, gradedGram, Shape.besselIndexEquiv, splitGram, middleGram, |
| 94 | Fin.rev, Matrix.one_apply] |
| 95 | lia |
| 96 | mem_unitary := ⟨hp_unitary rfl, Units.inv_mul _⟩ }⟩ |
| 97 | |
| 98 | /-- An orthonormal frame with the signs of `Y₀`. -/ |
| 99 | noncomputable instance unitarySignFrameY : UnitarySignFrame D.shape (D.signsY 0 ·) := |
| 100 | D.nonempty_unitarySignFrameY.some |
| 101 | |
| 102 | /-- The Schur matrices of weight `w`, written in an orthonormal basis for their Gram form, give a |
| 103 | continuous unitary representation of U(n), with n = `𝔰.κ`, which is conjugate to the transposed |
| 104 | Schur matrices of transposes and is irreducible: only scalars commute with it. If `u` is the |
| 105 | Harish-Chandra parameter of the weight `w`, then `dsCoeff`, the coefficient attached to `u`, is a |
| 106 | diagonal matrix coefficient of it, seen as operators by `besselValueRep`. -/ |
| 107 | lemma exists_unitary_schur_rep {𝔰 : Shape} {w : Unit → ℕ → ℕ} {u : Unit → HCParam (n := 𝔰.κ) 1} |
| 108 | (hu : IsHCParam w 0 u) : |
| 109 | ∃ rep : U (1 : Matrix 𝔰.κ 𝔰.κ ℂ) →* unitaryGroup (WeylIndex 𝔰.κ w) ℂ, |
| 110 | -- (a) `rep` is conjugate to the transposed Schur matrices of the transposes |
| 111 | (∃ C : (Matrix (WeylIndex 𝔰.κ w) (WeylIndex 𝔰.κ w) ℂ)ˣ, ∀ h : U 1, |
| 112 | C.val * (rep h).val = (schur w fun _ : Unit ↦ h.val.valᵀ)ᵀ * C.val) ∧ |
| 113 | -- (b) only scalars commute with `rep` |
| 114 | (∀ M : Matrix (WeylIndex 𝔰.κ w) (WeylIndex 𝔰.κ w) ℂ, |
| 115 | (∀ h : U 1, Commute M (rep h).val) → M ∈ Set.range (scalar (WeylIndex 𝔰.κ w))) ∧ |
| 116 | -- (c) continuity |
| 117 | Continuous rep ∧ |
| 118 | -- (d) `dsCoeff` is a diagonal matrix coefficient |
| 119 | ∃ v : EuclideanSpace ℂ (WeylIndex 𝔰.κ w), ∀ k : U 1, |
| 120 | inner ℂ v ((besselValueRep rep k).val v) = (u ()).dsCoeff k := by |
| 121 | -- Write the positive definite Gram matrix as `star B * B` and conjugate the Schur matrices by |
| 122 | -- `B`: adjointness for the Gram form becomes adjointness for the standard form. |
| 123 | obtain ⟨_, ⟨B, rfl⟩, h_gram⟩ : ∃ b : Matrix (WeylIndex 𝔰.κ w) (WeylIndex 𝔰.κ w) ℂ, |
| 124 | IsUnit b ∧ weylGramOver = star b * b := |
| 125 | CStarAlgebra.isStrictlyPositive_iff_eq_star_mul_self.mp weylGramOver_posDef.isStrictlyPositive |
| 126 | let φ := |
| 127 | MulSemiringAction.toAlgEquiv ℂ (Matrix (WeylIndex 𝔰.κ w) (WeylIndex 𝔰.κ w) ℂ) (toConjAct B) |
| 128 | have hφ (A : Matrix (WeylIndex 𝔰.κ w) (WeylIndex 𝔰.κ w) ℂ) : φ A = B.val * A * B.val⁻¹ := by |
| 129 | simp [φ, units_smul_def] |
| 130 | have h_unitary (g : U (1 : Matrix 𝔰.κ 𝔰.κ ℂ)) : |
| 131 | φ (schur w fun _ : Unit ↦ g.val.val) ∈ unitaryGroup (WeylIndex 𝔰.κ w) ℂ := by |
| 132 | -- The Schur matrix of a unitary `g` keeps the Gram form. |
| 133 | have h_form : (schur w fun _ : Unit ↦ g.val.val)ᴴ * |
| 134 | (weylGramOver * schur w fun _ : Unit ↦ g.val.val) = weylGramOver (R := ℂ) := by |
| 135 | simpa [← U.inv_val_eq_conjTranspose] using GL.schur_conjTranspose_weylGram_schur .refl |
| 136 | (κ := w) (fun _ : Unit ↦ g.val.val) (fun _ : Unit ↦ g.val.val) |
| 137 | rw [mem_unitaryGroup_iff', hφ] |
| 138 | simpa [h_gram, star_eq_conjTranspose, conjTranspose_nonsing_inv, mul_assoc] using |
| 139 | congrArg (fun A ↦ B.valᴴ⁻¹ * A * B.val⁻¹) h_form |
| 140 | let rep : U (1 : Matrix 𝔰.κ 𝔰.κ ℂ) →* unitaryGroup (WeylIndex 𝔰.κ w) ℂ := |
| 141 | .mk' (fun g ↦ ⟨φ (schur w fun _ : Unit ↦ g.val.val), h_unitary g⟩) (by simp [schur_mul_left]) |
| 142 | refine ⟨rep, ⟨star B, fun g ↦ ?_⟩, fun M hM ↦ ?_, ?_, |
| 143 | .toLp 2 (B.val *ᵥ highestVector w u), fun k ↦ ?_⟩ |
| 144 | · -- `star B = weylGramOver * B⁻¹`, so this is adjointness for the Gram form. |
| 145 | have h_adjoint : (weylGramOver * schur w fun _ : Unit ↦ g.val.val) = |
| 146 | (schur w fun _ : Unit ↦ g.val.valᵀ)ᵀ * weylGramOver := weylGramOver_mul_schur (R := ℂ) _ |
| 147 | rw [h_gram] at h_adjoint |
| 148 | simp [rep, hφ, ← mul_assoc, h_adjoint] |
| 149 | · -- Schur's lemma for `φ.symm M`. |
| 150 | obtain ⟨c, hc⟩ : φ.symm M ∈ Set.range (scalar (WeylIndex 𝔰.κ w)) := |
| 151 | mem_range_scalar_of_commute_schur fun g hg ↦ by |
| 152 | simpa [rep] using! (hM (U.of isUnit_one (g ()) (by simp [hg]))).map φ.symm |
| 153 | exact ⟨c, (φ.commutes c).symm.trans (φ.eq_symm_apply.mp hc)⟩ |
| 154 | · refine Continuous.subtype_mk ?_ h_unitary |
| 155 | simp only [hφ] |
| 156 | fun_prop |
| 157 | · -- The coefficient at `B x`, with `x` the highest vector, is that of `x` for the Gram form: a |
| 158 | -- product of principal minors of `k` in the decreasing order `p` of `u ()`, as is `dsCoeff` on |
| 159 | -- this group. |
| 160 | obtain ⟨p, hp⟩ := exists_equiv_decreasingPosition (hu ()).1 |
| 161 | set x : WeylIndex 𝔰.κ w → ℂ := highestVector w u with hx |
| 162 | calc _ = star (B.val *ᵥ x) ⬝ᵥ φ (schur w fun _ : Unit ↦ k.val.val) *ᵥ B.val *ᵥ x := |
| 163 | dotProduct_comm _ _ |
| 164 | _ = x ⬝ᵥ weylGramOver *ᵥ (schur w fun _ : Unit ↦ k.val.val) *ᵥ x := by |
| 165 | simp [hx, hφ, h_gram, star_mulVec, star_highestVector, dotProduct_mulVec, mul_assoc, |
| 166 | star_eq_conjTranspose] |
| 167 | _ = (u ()).dsCoeff k := by |
| 168 | simpa [hx, weylRep, hp, highestVector, funext (hu.lowestKType_eq _), |
| 169 | dsCoeff_of_mem_maxCompactU (hu.hasGap () 0) (k := ⟨k, _⟩) k.prop] using! |
| 170 | weylRep_coeff_eq_prod_weightMinors (κ := w) (e := 0) (fun _ : Unit ↦ p) _ |
| 171 | |
| 172 | /-- If the parameter `D.paramW v` of the discrete series at the place `v` has entries of size at |
| 173 | most `3 a`, then Weyl's dimension polynomial at it is at most `b ^ (2 r ^ 2)`, where `a` and `b` are |
| 174 | the size parameters of D and `r` is the number of its row indices. -/ |
| 175 | lemma weylDimensionPoly_paramW_le (v : D.Φ) |
| 176 | (h_abs : ∀ i : D.RowIndex, |D.paramW v i| ≤ ↑(3 * D.a)) : |
| 177 | weylDimensionPoly (D.paramW v) ≤ D.b ^ (2 * D.r ^ 2) := by |
| 178 | -- Each of the at most `r ^ 2` halved differences is at most `3 a ≤ b ^ 2`, and the denominator is |
| 179 | -- at least one. |
| 180 | have hb : 1 ≤ D.b ^ 2 := one_le_pow₀ D.le_of_hasLogBound |
| 181 | have h_factor (i j : D.RowIndex) : |(D.paramW v i - D.paramW v j : ℝ) / 2| ≤ D.b ^ 2 := by |
| 182 | rify at h_abs |
| 183 | grw [abs_div, abs_sub, h_abs, h_abs, abs_two, add_self_div_two] |
| 184 | exact D.le_of_hasLogBound |
| 185 | have h_denom : (1 : ℝ) ≤ ∏ i ∈ Finset.range (Fintype.card D.RowIndex), ↑i.factorial := |
| 186 | Finset.one_le_prod₀ fun i _ ↦ mod_cast i.factorial_pos |
| 187 | calc weylDimensionPoly (D.paramW v) |
| 188 | ≤ ∏ i, ∏ j with D.paramW v j < D.paramW v i, |(D.paramW v i - D.paramW v j : ℝ) / 2| := by |
| 189 | grw [weylDimensionPoly, le_abs_self (∏ _, _), ← h_denom, div_one] |
| 190 | simp only [abs_prod, le_refl] |
| 191 | _ ≤ ∏ _ : D.RowIndex, (D.b ^ 2) ^ D.r := by |
| 192 | gcongr with i |
| 193 | grw [h_factor, prod_const, card_filter_le, card_univ, card_rowIndex] |
| 194 | _ = D.b ^ (2 * D.r ^ 2) := by |
| 195 | rw [prod_const, card_univ, card_rowIndex, ← pow_mul, ← pow_mul, ← sq] |
| 196 | |
| 197 | /-- The quotient of the volumes of U(k) and U(r) is at most `(b ^ r) ^ r`, where `k` and `r` are the |
| 198 | rank of X₀ and the number of row indices of D, and `b` is its size parameter. -/ |
| 199 | lemma volU_div_volU_le : volU D.k / volU D.r ≤ (D.b ^ D.r) ^ D.r := by |
| 200 | -- The quotient is a product of `r - k` numbers `i! / (2 π ^ (i + 1)) ≤ b ^ r`. |
| 201 | have h_factor (i : ℕ) (hi : i < D.r) : (sphereDensity (i + 1) 1)⁻¹ ≤ D.b ^ D.r := by |
| 202 | calc (sphereDensity (i + 1) 1)⁻¹ = i.factorial / (2 * Real.pi ^ (i + 1)) := by |
| 203 | simp [sphereDensity, div_eq_mul_inv] |
| 204 | _ ≤ (D.r : ℝ) ^ D.r := by |
| 205 | grw [← show 1 ≤ 2 * Real.pi ^ (i + 1) by bound [Real.two_le_pi], div_one, |
| 206 | Nat.factorial_le hi.le, Nat.factorial_le_pow, Nat.cast_pow] |
| 207 | _ ≤ D.b ^ D.r := pow_le_pow_left₀ D.r.cast_nonneg D.le_of_hasLogBound _ |
| 208 | calc volU D.k / volU D.r = ∏ i ∈ Ico D.k D.r, (sphereDensity (i + 1) 1)⁻¹ := by |
| 209 | rw [volU.eq_1 D.r, ← prod_range_mul_prod_Ico _ D.k_le_r, ← volU, prod_inv_distrib, |
| 210 | div_mul_cancel_left₀ (volU_pos _).ne'] |
| 211 | _ ≤ ∏ _ ∈ Ico D.k D.r, D.b ^ D.r := by |
| 212 | gcongr with i hi |
| 213 | exact h_factor i (mem_Ico.1 hi).2 |
| 214 | _ ≤ (D.b ^ D.r) ^ D.r := by |
| 215 | grw [prod_const, Nat.card_Ico, tsub_le_self] |
| 216 | exact one_le_pow₀ D.le_of_hasLogBound |
| 217 | |
| 218 | /-- The constant `scaledVolumeRatio` of the local bounds for the shape of D is at most |
| 219 | `b ^ (2 r ^ 2)`, where `b` is the size parameter of D and `r` the number of its row indices. -/ |
| 220 | lemma scaledVolumeRatio_le : D.shape.scaledVolumeRatio ≤ D.b ^ (2 * D.r ^ 2) := by |
| 221 | have hb : 1 ≤ D.b := D.le_of_hasLogBound |
| 222 | have h_pi : Real.pi ≤ D.b := D.le_of_hasLogBound |
| 223 | have h_mul : (2 * D.shape.ϱ + 1) * D.k ≤ D.r ^ 2 := D.nat_le_of_hasLogBound |
| 224 | grw [Shape.scaledVolumeRatio, show D.shape.k = D.k from D.card_X₀, |
| 225 | show D.shape.r = D.r from D.card_rowIndex, D.volU_div_volU_le, h_pi, h_mul] |
| 226 | exact le_of_eq (by ring) |
| 227 | |
| 228 | /-- If every entry `D.paramW v i` has absolute value at most `3 * D.a`, then Weyl's dimension |
| 229 | polynomial at `D.paramW v`, times the constant `D.shape.scaledVolumeRatio` of the local bounds, is |
| 230 | at most `D.b ^ (4 r ^ 2)`, where `r = D.shape.r` is the rank of G₁. -/ |
| 231 | lemma weylDimensionPoly_mul_scaledVolumeRatio_le (v : D.Φ) |
| 232 | (h_abs : ∀ i : D.RowIndex, |D.paramW v i| ≤ ↑(3 * D.a)) : |
| 233 | weylDimensionPoly (D.paramW v) * D.shape.scaledVolumeRatio ≤ D.b ^ (4 * D.shape.r ^ 2) := by |
| 234 | have h_nonneg : 0 ≤ D.shape.scaledVolumeRatio := |
| 235 | mul_nonneg (div_pos (volU_pos _) (volU_pos _)).le (by positivity) |
| 236 | grw [D.weylDimensionPoly_paramW_le v h_abs, D.scaledVolumeRatio_le, |
| 237 | show D.shape.r = D.r from D.card_rowIndex, ← pow_add] |
| 238 | exact le_of_eq (by ring) |
| 239 | |
| 240 | /-- The entries of `D.paramW v`, twice the Harish-Chandra parameter at the place `v` of the discrete |
| 241 | series on G₁, have absolute value at most `3 a`, where `a = D.a` is a size parameter of D. -/ |
| 242 | lemma abs_paramW_le (v : D.Φ) (i : D.RowIndex) : |D.paramW v i| ≤ ↑(3 * D.a) := |
| 243 | (D.abs_gridParam_le (z := false) v bot_le bot_le i).trans (mod_cast D.nat_le_of_hasLogBound) |
| 244 | |
| 245 | /-- Let `u ()`, indexed by the basis `D.shape.κ` of X₀, list twice the Harish-Chandra parameter of |
| 246 | the weight on the compact group U(X₀) that has `D.columnCount v h` columns of height `h` for each |
| 247 | `h` below the rank. Then the highest weight `lowestKType` attached to `u ()` is `D.columnCount v 1` |
| 248 | at one index `i` and `0` at the others, and the entries of `u ()` have absolute value at most |
| 249 | `3 * D.a`. Here the natural number `D.a` is a size parameter of the data D, the product |
| 250 | `D.natX * D.natB`. -/ |
| 251 | lemma exists_lowestKType_eq_ite (v : D.Φ) {u : Unit → D.shape.κ → ℤ} |
| 252 | (hu : IsHCParam (fun _ : Unit ↦ D.columnCount v) 0 u) : |
| 253 | ∃ i : D.shape.κ, |
| 254 | (∀ j : D.shape.κ, (toHCParam 1 (u ())).lowestKType j = |
| 255 | ↑(if j = i then D.columnCount v 1 else 0 : ℕ)) ∧ |
| 256 | ∀ j : D.shape.κ, |u () j| ≤ ↑(3 * D.a) := by |
| 257 | have h_card : card D.shape.κ = D.k := D.card_X₀ |
| 258 | -- The index `i` is the one at which `u` is largest. |
| 259 | obtain ⟨i, hi⟩ := hu.exists_decreasingPosition_eq () card_pos |
| 260 | have hk : D.k ≤ D.a := D.nat_le_of_hasLogBound |
| 261 | -- Of the heights above `p` and below `k`, only height 1 has columns; so the sum vanishes |
| 262 | -- unless `p = 0`. |
| 263 | have h_column (p : ℕ) : |
| 264 | ∑ q ∈ Ioo p (card D.shape.κ), D.columnCount v q = if p = 0 then D.columnCount v 1 else 0 := by |
| 265 | rw [sum_eq_ite 1] <;> grind [columnCount] |
| 266 | refine ⟨i, fun j ↦ ?_, fun j ↦ ?_⟩ |
| 267 | · have h_position : decreasingPosition (u ()) j = 0 ↔ j = i := by |
| 268 | grind [(hu ()).1, hu.eq_hcParameter () j] |
| 269 | rw [hu.lowestKType_eq, diagramWeight_apply, rankAt, h_column] |
| 270 | simp [h_position] |
| 271 | · -- The entry at `j` is the Harish-Chandra value at the position of `j`. |
| 272 | rw [hu.eq_hcParameter () j, hcParameter, diagramWeight_apply, h_column, Pi.zero_apply] |
| 273 | grind [columnCount, decreasingPosition] |
| 274 | |
| 275 | /-- The size inequalities `Floors.RealPlaceSizes`, under which cut Bessel functions have local |
| 276 | bounds, hold for `D.shape` with box radius `b ^ (6 n + 2)`, exponent `k - (3 n + 6)` and base |
| 277 | `b = D.b`. Here `D.shape` describes the hermitian space Y₀, the sum of some hyperbolic planes, a |
| 278 | space X₀ and a line; `n = D.shape.n` is the number of planes plus one and `k = D.shape.k` is the |
| 279 | rank of X₀. -/ |
| 280 | lemma realPlaceSizes : Floors.RealPlaceSizes D.shape (D.b ^ (6 * D.shape.n + 2)) |
| 281 | (D.shape.k - (3 * D.shape.n + 6)) D.b := by |
| 282 | have h_card : D.shape.k = D.k := D.card_X₀ |
| 283 | have h_room : 10 ^ 9 * D.shape.n ^ 3 + (3 * D.shape.n + 6) < D.shape.k := |
| 284 | h_card.ge.trans_lt' D.nat_lt_of_hasLogBound |
| 285 | exact { |
| 286 | rho_eq := rfl, k_eq := by omega, mul_cube_lt_s := by omega |
| 287 | eight_mul_r_le_rho := D.le_of_hasLogBound.trans (le_self_pow₀ D.le_of_hasLogBound nofun) |
| 288 | pow_seven_le_k := h_card.ge.trans' D.nat_le_of_hasLogBound |
| 289 | ten_pow_le_varrho := D.nat_le_of_hasLogBound |
| 290 | two_le_b := D.le_of_hasLogBound } |
| 291 | |
| 292 | /-- An inequality of exponents of `b = D.b`, where `r` and `k` are the ranks of G₁ and U(X₀): the |
| 293 | loss `3 * (20 * (r + k) ^ 2)` in the lower bound for the period and the further `99 r ^ 2` allowed |
| 294 | for cutting the Bessel function add up to at most `400 r ^ 2`. -/ |
| 295 | lemma exponent_add_le_mul_sq_r : |
| 296 | 3 * (20 * (D.shape.r + D.shape.k) ^ 2) + 99 * D.shape.r ^ 2 ≤ 400 * D.shape.r ^ 2 := by |
| 297 | have hk : D.shape.k ≤ D.shape.r := D.card_X₀.trans_le (D.k_le_r.trans D.card_rowIndex.ge) |
| 298 | nlinarith |
| 299 | |
| 300 | /-- At an infinite place `v`, three times `D.liftWeight 0 v`, which is the weight of the character |
| 301 | of the lift of index `0` (the first one), plus the number `D.columnCount v 1` of columns of height 1 |
| 302 | in the weight on X₀ is at most `b ^ 2`, where `b = D.b` is the size parameter of D. -/ |
| 303 | lemma liftWeight_add_columnCount_le (v : D.Φ) : |
| 304 | 3 * (D.liftWeight 0 v : ℝ) + D.columnCount v 1 ≤ D.b ^ 2 := by |
| 305 | have h_count : D.columnCount v 1 ≤ D.a := by grind [columnCount] |
| 306 | grw [h_count] |
| 307 | exact D.le_of_hasLogBound |
| 308 | |
| 309 | /-- The ranks `r` of G₁ and `k` of U(X₀) and the bound `3 a` on the entries of the parameters |
| 310 | `D.paramW v` add up to at most `b ^ 3`, where `a` and `b` are the size parameters of D. -/ |
| 311 | lemma rank_add_le_cube : D.shape.r + D.shape.k + (3 * D.a : ℕ) ≤ D.b ^ 3 := by |
| 312 | have h_card : D.shape.k = D.k := D.card_X₀ |
| 313 | rw [h_card] |
| 314 | exact D.le_of_hasLogBound |
| 315 | |
| 316 | /-- For the ranks `r` of G₁ and `k` of U(X₀) and the size parameter `b` of D, the number `r ^ 7`, |
| 317 | which bounds from below the gaps of the Harish-Chandra parameters at the real places, is at least |
| 318 | `10 ^ 30` times the cube of `(r + k) ^ 2 log (b ^ 3)`. -/ |
| 319 | lemma rank_sq_mul_log_le : |
| 320 | 10 ^ 30 * ((D.shape.r + D.shape.k) ^ 2 * (D.b ^ 3).log) ^ 3 ≤ (D.r ^ 7 : ℕ) := by |
| 321 | have h_card : D.shape.k = D.k := D.card_X₀ |
| 322 | rw [h_card] |
| 323 | exact D.le_of_hasLogBound |
| 324 | |
| 325 | /-- Let `l` be a parameter of large gap, with coefficient `c_l` on G₁ and formal degree `deg`. If a |
| 326 | Bessel function `F` is fixed by convolution with `deg * c_l`, then each coordinate of `F` is fixed |
| 327 | by right convolution with the kernel `l.dsKernel`, carried over from `USign ε` by the frame. -/ |
| 328 | lemma _root_.New.IsBesselFunction.integral_dsKernel_mul_eq_of_convolve_eq {𝔰 : Shape} |
| 329 | {ε : 𝔰.BesselIndex → ℤˣ} [SignFrame 𝔰.J₁ ε] {I : Type} |
| 330 | [Fintype I] [DecidableEq I] {rep : U (1 : Matrix 𝔰.κ 𝔰.κ ℂ) →* unitaryGroup I ℂ} |
| 331 | {F : 𝔰.G₁ → EuclideanSpace ℂ I} (hF : IsBesselFunction rep F) {l : HCParam ε} {A : ℕ} |
| 332 | (h_gap : l.HasLargeGap A) |
| 333 | (hF_fix : convolve F (fun g : 𝔰.G₁ ↦ l.formalDegree * l.dsCoeffInFrame g) = F) |
| 334 | (y : 𝔰.G₁) (j : I) : |
| 335 | ∫ g : USign ε, l.dsKernel g * F (y * frameEquiv.symm g) j = F y j := by |
| 336 | have h_ker : IsIdempotentKernel fun g : 𝔰.G₁ ↦ l.formalDegree * l.dsCoeffInFrame g := |
| 337 | isIdempotentKernel_dsCoeffInFrame h_gap |
| 338 | have h_inv (g : 𝔰.G₁) : |
| 339 | l.formalDegree * l.dsCoeffInFrame g⁻¹ = l.dsKernel (frameEquiv g) := |
| 340 | (h_ker.apply_inv g).trans (by simp [HCParam.dsKernel, HCParam.dsCoeffInFrame]) |
| 341 | calc ∫ g : USign ε, l.dsKernel g * F (y * frameEquiv.symm g) j |
| 342 | = ∫ g : 𝔰.G₁, ((l.formalDegree * l.dsCoeffInFrame g⁻¹) • F (y * g)) j := by |
| 343 | simp [← integral_comp_frameEquiv (J := 𝔰.J₁), h_inv] |
| 344 | _ = convolve F (fun g : 𝔰.G₁ ↦ l.formalDegree * l.dsCoeffInFrame g) y j := |
| 345 | (eval_integral_piLp (hF.integrable_smul h_ker.integrable.comp_inv y).eval_piLp j).symm |
| 346 | _ = F y j := by rw [hF_fix] |
| 347 | |
| 348 | /-- **Bessel functions at a real place**: for each infinite place `v : D.Φ` of the field of `D` |
| 349 | there is a Bessel system `B : BesselSystem D.shape D.b D.f`. Such a system is a full Bessel function |
| 350 | on the group G₁, the unitary group of the hermitian form of the shape `D.shape`, together with a cut |
| 351 | version of bounded support, and the two satisfy the bounds listed in `BesselSystem`. It is built for |
| 352 | the shape `D.shape` of the hermitian space Y₀ of `D`, with size parameter `D.b`, and the number |
| 353 | `D.f` of infinite places sets the rate of decay. Its type (`IsDiscreteSeriesBessel`) is |
| 354 | `(D.paramW v, D.columnCount v)`: the doubled parameter of the discrete series whose Bessel function |
| 355 | is the full function, and the numbers of columns of each height in the weight of the representation |
| 356 | on the values. -/ |
| 357 | lemma exists_besselSystem (v : D.Φ) : |
| 358 | ∃ B : BesselSystem D.shape D.b D.f, IsDiscreteSeriesBessel B (D.paramW v) |
| 359 | (D.columnCount v) := by |
| 360 | -- `F` is the normalised Bessel average `besselAverage` at a stationary point `x`; it is fixed by |
| 361 | -- the kernel of the parameter `l`, and the second function of the system is its cut. The L² norm |
| 362 | -- of `F` and the volume of balls give the local bounds of the cut. |
| 363 | have : IsHermitianInvolution D.shape.J₁ := isHermitianInvolution_J₁ |
| 364 | -- The parameter `l` on `G₁`, in the frame of signs `ε`: size, gap and formal degree. |
| 365 | let ε : D.shape.BesselIndex → ℤˣ := (D.signsY 0 ·) |
| 366 | let frame : SignFrame D.shape.J₁ ε := D.unitarySignFrameY.toSignFrame |
| 367 | let l : HCParam ε := toHCParam ε (D.paramW v) |
| 368 | have h_abs : ∀ i : D.RowIndex, |D.paramW v i| ≤ ↑(3 * D.a) := D.abs_paramW_le v |
| 369 | have h_gap : l.HasLargeGap (D.r ^ 7) := (D.hasGap_signsY_paramW v).mono D.nat_le_of_hasLogBound |
| 370 | have h_deg_pos : 0 < l.formalDegree := formalDegree_pos h_gap |
| 371 | have h_deg : l.formalDegree = weylDimensionPoly (D.paramW v) := |
| 372 | (Orbital.harish_chandra_degree_and_orbital (h_gap.mono D.nat_le_of_hasLogBound)).1 |
| 373 | -- The representation on the values, with a unit vector `e` at which its coefficient is `dsCoeff`. |
| 374 | obtain ⟨u, hu⟩ : ∃ u : Unit → D.shape.κ → ℤ, IsHCParam (fun _ : Unit ↦ D.columnCount v) 0 u := |
| 375 | ⟨_, isHCParam_hcParameter D.shape.κ _ 0⟩ |
| 376 | obtain ⟨rep, ⟨C, hC⟩, h_irred, h_cont, e, h_coef⟩ := exists_unitary_schur_rep hu |
| 377 | have he : ‖e‖ = 1 := norm_eq_one_of_inner_eq_dsCoeff h_coef |
| 378 | -- A point `x` of length at most `b ^ (5 n)` where the volume of the unit ball is bounded by the |
| 379 | -- L² norm of the average. |
| 380 | obtain ⟨x, hx, h_volume⟩ : ∃ x : D.shape.G₁, besselLength x ≤ D.b ^ (5 * D.shape.n) ∧ |
| 381 | besselBallVolume (ε := ε) x ≤ |
| 382 | .ofReal (D.b ^ (3 * (20 * (D.shape.r + D.shape.k) ^ 2))) * (.ofReal l.formalDegree * |
| 383 | ∫⁻ y : D.shape.G₁, ‖besselAverage l rep x e y‖ₑ ^ 2 ∂besselQuotMeasure) := by |
| 384 | obtain ⟨i, h_weight, h_abs_u⟩ := D.exists_lowestKType_eq_ite v hu |
| 385 | obtain ⟨numbering, h_steep⟩ := D.exists_isSteep false |
| 386 | have hu_gap : (toHCParam 1 (u ())).HasLargeGap (D.r ^ 7) := hu.hasGap () _ |
| 387 | -- At the stationary point the period is large. |
| 388 | obtain ⟨x, hx, h_period⟩ := (h_steep v).exists_stationary_point (.swap (.inr ()) i) |
| 389 | (ha := by simpa using h_weight) (hB := D.le_of_hasLogBound) |
| 390 | (hb := D.liftWeight_add_columnCount_le v) (hb_rank := D.le_of_hasLogBound) (hl := h_gap) |
| 391 | (hu := hu_gap) (hL := h_abs) (hK := h_abs_u) (hβ := D.le_of_hasLogBound) |
| 392 | (h_rank := D.rank_add_le_cube) (h_excess := D.rank_sq_mul_log_le) |
| 393 | refine ⟨x, hx, ?_⟩ |
| 394 | rw [pow_mul] |
| 395 | exact besselBallVolume_le_of_period x h_cont h_gap (by positivity) h_coef h_period |
| 396 | -- The normalised average `F` is fixed by the kernel and forms a cut pair with its cut. |
| 397 | let I : Type := WeylIndex D.shape.κ fun _ : Unit ↦ D.columnCount v |
| 398 | obtain ⟨c, F, hF_eq, hF_fix, h_tail⟩ : ∃ (c : ℝ) (F : C(D.shape.G₁, EuclideanSpace ℂ I)), |
| 399 | (∀ y : D.shape.G₁, F y = c • besselAverage l rep x e y) ∧ |
| 400 | convolve F (fun g : D.shape.G₁ ↦ l.formalDegree * l.dsCoeffInFrame g) = F ∧ |
| 401 | IsCutPair D.b D.f rep (FullOrCut.select F (besselCut D.b F)) := |
| 402 | exists_isCutPair_besselAverage h_gap h_abs D.f h_cont he h_volume hx |
| 403 | (hb_large := D.le_of_hasLogBound) (hr := D.nat_le_of_hasLogBound) |
| 404 | (hm := D.exponent_add_le_mul_sq_r) (hL_le := D.le_of_hasLogBound) |
| 405 | (hf := D.nat_le_of_hasLogBound) |
| 406 | have hF : IsBesselFunction rep F := h_tail.isBesselFunction .full |
| 407 | have hF_norm : ∫⁻ y : D.shape.G₁, ‖F y‖ₑ ^ 2 ∂besselQuotMeasure = card I := |
| 408 | h_tail.lintegral_sq_full_eq |
| 409 | have h_schur (P : ℝ) (hP : D.b ^ 5 ≤ P) : |
| 410 | HasSchurBound F rep P (.ofReal l.formalDegree⁻¹ * card I) := by |
| 411 | rw [← hF_norm] |
| 412 | exact hF.hasSchurBound_of_convolve_eq h_gap h_abs h_tail.integrable P hF_fix |
| 413 | (D.le_of_hasLogBound.trans hP) |
| 414 | have h_const : l.formalDegree * D.shape.scaledVolumeRatio ≤ D.b ^ (4 * D.shape.r ^ 2) := by |
| 415 | grw [h_deg, D.weylDimensionPoly_mul_scaledVolumeRatio_le v h_abs] |
| 416 | -- The local bounds use the norm of the matrix coefficient of `F` and the volume of balls. |
| 417 | obtain ⟨J, h_band⟩ : ∃ J : ℕ → (ℕ → ℂˣ) → (ℕ → ℂˣ) → ℂ, |
| 418 | HasLocalBounds D.b (besselCut D.b F) l.formalDegree J := by |
| 419 | have h_coeff : ∫⁻ g : D.shape.G₁, ‖Floors.quotientPairing F F g‖ₑ ^ 2 = |
| 420 | .ofReal l.formalDegree⁻¹ * card I ^ 2 := by |
| 421 | rw [← hF_norm] |
| 422 | exact hF.lintegral_enorm_sq_integral_inner_translate h_gap h_tail.integrable hF_fix |
| 423 | exact Floors.exists_hasLocalBounds_of_isCutBessel ⟨h_tail, D.realPlaceSizes, h_irred⟩ h_deg_pos |
| 424 | h_coeff.le h_const (fun _ ↦ formalDegree_mul_volume_ball_le h_gap h_abs D.le_of_hasLogBound |
| 425 | D.le_of_hasLogBound) D.nat_le_of_hasLogBound |
| 426 | refine ⟨{ |
| 427 | Index := I, besselFn := FullOrCut.select F (besselCut D.b F), |
| 428 | deg := l.formalDegree, deg_pos := h_deg_pos, rep := rep, isCutPair := h_tail, |
| 429 | irreducible := h_irred, hasSchurBound := h_schur, eight_mul_rank_le := D.le_of_hasLogBound, |
| 430 | bandLimit := J, hasLocalBounds := h_band }, { |
| 431 | deg_eq := h_deg, exists_conj_rep_eq_schur := ⟨C.val, C⁻¹.val, C.mul_inv, C.inv_mul, hC⟩, |
| 432 | exists_eq_besselAverage := |
| 433 | ⟨c, x, e, fun y ↦ ⟨integrable_besselIntegrand x h_cont he h_gap y, hF_eq y⟩⟩, |
| 434 | integral_dsKernel_mul := hF.integral_dsKernel_mul_eq_of_convolve_eq h_gap hF_fix }⟩ |
| 435 | |
| 436 | end BesselSystemExists |
| 437 | |
| 438 | section FillingData |
| 439 | |
| 440 | open Real Parameters Nat |
| 441 | |
| 442 | variable {P : Parameters} (D : Data P) |
| 443 | |
| 444 | /-- The prime `D.levelPrime i` divides an integral finite adele `r` (an element of `Ô D.E`) iff the |
| 445 | component of `r` has valuation less than 1 at each chosen place `w` above that prime (the type |
| 446 | `D.ChosenPlace i`) and at the conjugate place `star w`. -/ |
| 447 | lemma natCast_levelPrime_dvd_iff (i : Fin 2) (r : Ô D.E) : |
| 448 | ↑(D.levelPrime i) ∣ r ↔ |
| 449 | ∀ w : D.ChosenPlace i, Valued.v (r.val w) < 1 ∧ Valued.v (r.val (star w.val)) < 1 := by |
| 450 | -- As the prime is unramified, it divides `r` iff `r` vanishes modulo every place above it. |
| 451 | have h_red : ↑(D.levelPrime i) ∣ r ↔ ∀ w : FinPlace D.E, |
| 452 | ↑(D.levelPrime i) ∈ w.asIdeal → Valued.v (r.val w) < 1 := by |
| 453 | simpa using dvd_iff_reduceAt_eq_zero |
| 454 | (intValuation_natCast_eq_exp_neg_one · |
| 455 | (not_dvd_q₁_mul_d_of_modEq_one (D.levelPrime_modEq_one i))) r |
| 456 | refine h_red.trans ⟨fun h_vanish ⟨w, _, hw⟩ ↦ ⟨h_vanish w hw, h_vanish (star w) (by simpa)⟩, |
| 457 | fun h_pairs w hw ↦ ?_⟩ |
| 458 | -- A place above the prime is chosen or is the conjugate of a chosen place. |
| 459 | by_cases h_chosen : D.IsChosen w |
| 460 | · exact (h_pairs ⟨w, h_chosen, hw⟩).1 |
| 461 | · have h_conj := (h_pairs ⟨star w, (isChosen_star_iff hw).2 h_chosen, by simpa⟩).2 |
| 462 | rwa [star_star] at h_conj |
| 463 | |
| 464 | instance : D.HasLogLower (ofNat(2) ^ D.ϱ) (10 * D.logB) where |
| 465 | out := by |
| 466 | -- Take logarithms and replace log 2 by a rational lower bound, which `D.le_of_hasLogBound` can |
| 467 | -- compare. |
| 468 | suffices h : 10 * D.logB ≤ D.ϱ * Real.log 2 by simpa [← le_log_iff_exp_le] using h |
| 469 | grw [← log_two_gt_d9] |
| 470 | norm_num |
| 471 | exact D.le_of_hasLogBound |
| 472 | |
| 473 | /-- The product `D.levelPrime 0 * D.levelPrime 1` divides an integral finite adele `r` iff `r` |
| 474 | has valuation less than 1 at every chosen place and its conjugate above both primes. -/ |
| 475 | lemma natCast_mul_levelPrime_dvd_iff (r : Ô D.E) : |
| 476 | ↑(D.levelPrime 0 * D.levelPrime 1) ∣ r ↔ |
| 477 | ∀ p : Σ i : Fin 2, {w | D.piM ∈ w.asIdeal ∧ ↑(D.levelPrime i) ∈ w.asIdeal}, |
| 478 | reduceAt p.2.val r = 0 ∧ reduceAt p.2.val (star r) = 0 := by |
| 479 | -- The primes `D.levelPrime 0` and `D.levelPrime 1` are distinct, so their product divides `r` |
| 480 | -- iff both do. |
| 481 | have h_prod : ↑(D.levelPrime 0 * D.levelPrime 1) ∣ r ↔ ∀ i : Fin 2, ↑(D.levelPrime i) ∣ r := by |
| 482 | have h_cop : (D.levelPrime 0).Coprime (D.levelPrime 1) := |
| 483 | (coprime_primes (D.levelPrime_prime 0) (D.levelPrime_prime 1)).2 |
| 484 | (D.levelPrime_injective.ne (by decide)) |
| 485 | simpa using ⟨fun h ↦ ⟨dvd_of_mul_right_dvd h, dvd_of_mul_left_dvd h⟩, |
| 486 | fun ⟨h₀, h₁⟩ ↦ h_cop.cast.mul_dvd h₀ h₁⟩ |
| 487 | rw [h_prod, Sigma.forall] |
| 488 | exact forall_congr' fun i ↦ (D.natCast_levelPrime_dvd_iff i r).trans |
| 489 | (forall_congr' fun w ↦ by simp) |
| 490 | |
| 491 | /-- The filling data `New.Filling` attached to the admissible data D. They record the prime N, the |
| 492 | idele of π (in the field `piN`), the primes p₀, p₁ with chosen places, `deltaE`, and Bessel systems |
| 493 | chosen from `New.Data.exists_besselSystem`. The type of the chosen systems is stated in |
| 494 | `New.Data.isDiscreteSeriesBessel_filling_besselSystem`. -/ |
| 495 | noncomputable def filling : Filling D.E D.shape where |
| 496 | N := D.N |
| 497 | levelPrime := D.levelPrime |
| 498 | piN := D.piNIdele |
| 499 | deltaE := P.deltaE D.towerExp |
| 500 | b := D.b |
| 501 | chosenPlaces i := {w | D.piM ∈ w.asIdeal ∧ ↑(D.levelPrime i) ∈ w.asIdeal} |
| 502 | fintypeChosen i := inferInstanceAs (Fintype (D.ChosenPlace i)) |
| 503 | sourceLevel := D.levelX 0 |
| 504 | classAut_eq_bot := D.classAut_levelX_zero_eq_bot |
| 505 | besselSystem v := (D.exists_besselSystem v).choose |
| 506 | piN_mul_star := D.isSplitSquarefree_piNIdele.algebraMap_eq_mul_star.symm.trans (map_natCast _ _) |
| 507 | N_prime := D.N_prime |
| 508 | N_split w := by |
| 509 | by_cases hw : w ∈ D.piNPlaces |
| 510 | · refine .inr ⟨D.isSplitLevel_piNPlaces.q_eq w hw, ?_⟩ |
| 511 | rw [D.isSplitSquarefree_piNIdele.v_apply, |
| 512 | ite_eq_right (D.isSplitSquarefree_piNIdele.star_notMem w hw)] |
| 513 | · exact .inl (by rw [D.isSplitSquarefree_piNIdele.v_apply, ite_eq_right hw]) |
| 514 | piN_mem := coe_mem_Ô D.piN |
| 515 | levelPrime_prime_and_ne i := ⟨D.levelPrime_prime i, D.nat_lt_of_hasLogBound.ne⟩ |
| 516 | le_levelPrime i := (D.levelPrime_mem i).1 |
| 517 | levelPrime_le i := (D.levelPrime_mem i).2 |
| 518 | chosenPlaces_q i w hw := D.q_eq_levelPrime hw.2 |
| 519 | chosenPlaces_injective := D.isConjApart_chosenPlace.injective |
| 520 | star_notMem_chosenPlaces hw hw' := IsChosen.not_star hw.1 hw'.1 |
| 521 | M_dvd_iff := D.natCast_mul_levelPrime_dvd_iff |
| 522 | card_chosenPlaces := D.card_chosenPlace |
| 523 | star_deltaE := P.star_deltaE |
| 524 | span_deltaE := P.differentIdeal_eq_span_deltaE |
| 525 | -- Each size inequality is compared on the logarithmic scale; `D.card_X₀` identifies the rank. |
| 526 | ten_pow_five_le_varrho := D.nat_le_of_hasLogBound |
| 527 | half_pow_le_inv_pow_six := by |
| 528 | rify [inv_pow] |
| 529 | exact D.le_of_hasLogBound |
| 530 | mul_finrank_le_pow := by |
| 531 | rify [finrank_eq_two_mul_card_infinitePlace, pow_mul'] |
| 532 | exact D.le_of_hasLogBound |
| 533 | pow_le_k := D.nat_le_of_hasLogBound.trans D.card_X₀.ge |
| 534 | k_le_f := D.card_X₀.trans_le D.nat_le_of_hasLogBound |
| 535 | mul_rootDiscr_pow_le := by |
| 536 | rify [Shape.k, card_X₀] |
| 537 | exact D.le_of_hasLogBound |
| 538 | numInfPlaces_le_div := D.le_of_hasLogBound |
| 539 | k_le_b := (Nat.cast_le.2 D.card_X₀.le).trans D.le_of_hasLogBound |
| 540 | rootDiscr_le_b := D.le_of_hasLogBound |
| 541 | succ_le_b := D.le_of_hasLogBound |
| 542 | thousand_le_b := D.le_of_hasLogBound |
| 543 | one_le_b := D.le_of_hasLogBound |
| 544 | M_le_b_pow := D.le_of_hasLogBound |
| 545 | le_M := D.le_of_hasLogBound |
| 546 | five_le_N := D.le_of_hasLogBound |
| 547 | |
| 548 | /-- The Bessel system of `D.filling` at the infinite place `v` has type |
| 549 | `(D.paramW v, D.columnCount v)`: its full function is the Bessel function of the discrete series of |
| 550 | parameter `D.paramW v`, with values in the representation of U(X₀) of weight `D.columnCount v`. -/ |
| 551 | lemma isDiscreteSeriesBessel_filling_besselSystem (v : D.Φ) : |
| 552 | Filling.IsDiscreteSeriesBessel (D.filling.besselSystem v) (D.paramW v) (D.columnCount v) := |
| 553 | (D.exists_besselSystem v).choose_spec |
| 554 | |
| 555 | /-- The level of index `0`, `D.levelX 0`, is a level on the first hermitian space X₀ of the sequence |
| 556 | X_j of D. It is the preimage, under the embedding `inclHFin` of the finite adelic points of U(X₀) in |
| 557 | those of U(Y₀), of `New.Filling.principalLevel`, the level K(M) of the elements that satisfy the |
| 558 | congruence modulo π and reduce to 1 at the chosen places. -/ |
| 559 | lemma levelX_zero_eq_comap : |
| 560 | D.levelX 0 = D.filling.principalLevel.comap D.filling.inclHFin := by |
| 561 | -- Both sides say that `k` satisfies the congruence modulo `piN` and reduces to `1` at the chosen |
| 562 | -- places; the left side also asks for `k ∈ stdLevel` (integrality), which the congruence |
| 563 | -- contains. |
| 564 | ext k |
| 565 | -- The chosen places stay subtypes (`-Subtype.forall`), as the lemma on reductions is stated. |
| 566 | simp [levelX, Filling.principalLevel, levelOf, Subgroup.mem_comap, funext_iff, Sigma.forall, |
| 567 | D.filling.reduction_inclHFin_eq_one_iff, D.filling.inclHFin_mem_latticeStabilizer_iff, |
| 568 | -Subtype.forall] |
| 569 | exact ⟨fun ⟨⟨_, h_red⟩, h_cong⟩ ↦ ⟨h_cong, h_red⟩, |
| 570 | fun ⟨h_cong, h_red⟩ ↦ ⟨⟨h_cong.1, h_red⟩, h_cong⟩⟩ |
| 571 | |
| 572 | end FillingData |
| 573 | |
| 574 | end New.Data |