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.Real |
| 4 | import Mathlib.Data.Rat.Cast.OfScientific |
| 5 | import Mathlib.Dynamics.Ergodic.Action.Regular |
| 6 | import Mathlib.MeasureTheory.Integral.Pi |
| 7 | import Mathlib.RingTheory.Coalgebra.CoassocSimps |
| 8 | import Mathlib.Topology.UniformSpace.Uniformizable |
| 9 | import TauCeti.Topology.Algebra.Group.Units |
| 10 | import TauCeti.Topology.Instances.Matrix |
| 11 | import New.Appendix.DiscreteSeries.Periods |
| 12 | public import New.Appendix.DiscreteSeries.SteepParameters |
| 13 | public import New.UpperBound.Objects.Parameters |
| 14 | import Lib.Adelic.Unitary.RationalPoints |
| 15 | import Lib.DiscreteSeries.FlenstedJensen.PsiKTypes |
| 16 | import Lib.DiscreteSeries.Haar.TotalMass |
| 17 | import Lib.General.Analysis.PackingAndSobolev |
| 18 | import New.UpperBound.Objects.Columns |
| 19 | |
| 20 | /-! |
| 21 | # Steep parameters of Y₀ and Ỹ^0_0; periods of Poincaré series of deep level |
| 22 | |
| 23 | At every infinite place, the parameter of `Y₀` and minus the parameter of `Ỹ^0_0 = Y₀ ⊕ E ẽ` are |
| 24 | steep in the sense of `New.DiscreteSeries.IsSteep`. Separately, at deep level the period over `V` |
| 25 | of a Poincaré series on `V ⊕ ⟨1⟩` is approximated by the term of the identity coset. |
| 26 | |
| 27 | ## Main definitions and results |
| 28 | |
| 29 | * `New.Data.exists_isSteep`: for one numbering of the indices, the parameter of `Y₀` (`z = false`) |
| 30 | and minus that of `Ỹ^0_0` (`z = true`) satisfy `New.DiscreteSeries.IsSteep` at every infinite |
| 31 | place `τ`. That is, the highest weight `New.HCParam.lowestKType` of the lowest `K`-type vanishes |
| 32 | on a block of indices of sign `+`. On the other indices the signs alternate and it decreases |
| 33 | strictly within `[-3B, -B]`, `B = D.liftWeight 0 τ`. `New.Data.gridSigns` gives the signs and |
| 34 | `New.Data.gridParam` twice these parameters. |
| 35 | * `New.Exchange.poincareKernel`: the function whose translates a Poincaré series sums. Its real |
| 36 | factor here is `New.Exchange.translatedCoeff`, a translated product of matrix coefficients. |
| 37 | * `New.Space.IsLastColumn`: a rational vector of `V ⊕ ⟨1⟩` is the last column of a group element |
| 38 | `γ`, that is, the vector `γ ẽ` for the last basis vector `ẽ`. Last columns index the cosets, and |
| 39 | `New.Space.IsLastColumn.le_norm_archCoords_sub` separates them. |
| 40 | * `New.Exchange.norm_poincare_period_sub_le`: at deep level the period equals the term of the |
| 41 | identity coset up to a small error. |
| 42 | |
| 43 | Notions from other files: |
| 44 | * `New.Data.Φ`: the set of infinite places of the field `E` of the data `D`. Also, `D.ϱ` is the |
| 45 | number of hyperbolic planes of `Y₀`, `D.InitIndex 0` the set of basis indices of `X₀` other than |
| 46 | the last and `D.GridIndex z 0 0` the index set of `Y₀` or `Ỹ^0_0`. |
| 47 | * `Φ w` in the bounds `R ≤ ‖Φ w a‖`: the complex embedding of `E` at the infinite place `w`. |
| 48 | * `V.move x`, `vecAtPoint`, `archCoords`: the space `V` at the point `x` of the adelic group, the |
| 49 | adelic coordinates of a rational vector there, and their infinite part as a Euclidean vector. |
| 50 | * `New.Data.liftWeight`: the number `κ_j(σ) = κ(σ) + (j + 1/2) Δ` at the infinite place `σ`, where |
| 51 | `κ` is `D.weight`, `Δ = D.gap` the gap and `D.halfGap` half the gap. |
| 52 | * `New.GInf E s`: the product of one copy `New.USign s` of the complex unitary group `U(diag s)` |
| 53 | for each infinite place of `E`. For an integer vector `l : New.HCParam s`, read as twice a |
| 54 | Harish-Chandra parameter, `l.dsCoeff` is the Flensted-Jensen matrix coefficient on `U(diag s)`, |
| 55 | and `l.HasLargeGap A` says that `l` has gap at least `500 n ^ 3 + A`, for `n` the rank. |
| 56 | * `New.signedSpace E s`: the standard space with matrix `diag(s)`; it needs a primitive root of |
| 57 | unity of order `5040` in `E` (`New.HasPrimitiveRoot5040`). |
| 58 | * `New.Space.Γ`, `New.Space.quotMeasure`: the rational points of a hermitian space `V` inside the |
| 59 | adelic unitary group `G E s`, and the measure on a fundamental domain for them. |
| 60 | * `New.principalLevel`: the finite adelic integral points congruent to `1` modulo an element `a` |
| 61 | of the ring of integers of `E`. |
| 62 | -/ |
| 63 | |
| 64 | @[expose] public section |
| 65 | |
| 66 | /-! ## Steepness of the discrete series parameters at infinite places -/ |
| 67 | |
| 68 | section SteepParameters |
| 69 | |
| 70 | local grind_pattern New.Data.liftWeight_add_gap_le => D.liftWeight a τ, D.liftWeight b τ |
| 71 | |
| 72 | /-- At an infinite place `τ`, let `ν` number the indices `D.GridIndex z 0 0` of the node `(0, 0)` of |
| 73 | the grid `Y` (`z = false`) or `Ỹ`, sending an index `y` to `i = ν y`. Assume its doubled parameter |
| 74 | `D.gridParam z 0 0 0 τ y` is `2 (D.targetParameter τ i) + z.toNat`. Assume its sign |
| 75 | `D.gridSigns z 0 0 0 y` is `entrySign 0 0 (i + 1 - k)`: `+` on the first `k - 1` entries (the near |
| 76 | entries, `i + 1 < k`; `k = D.k` is the rank of the source) and alternating on the others. Let `L` be |
| 77 | `2 (D.targetParameter τ i) + z.toNat` minus twice the weight of the lowest `K`-type at `y`, and let |
| 78 | `N = D.r + z.toNat` be the number of indices. Then `|L| ≤ N`. At a near entry, |
| 79 | `L + N = N + min N k - 1 - 2 i - (N - k) % 2`. -/ |
| 80 | lemma New.Data.abs_targetParameter_sub_lowestKType_le_and_eq {P : Parameters} (D : Data P) |
| 81 | {z : Bool} {τ : D.Φ} {ν : D.GridIndex z 0 0 ≃ Fin (D.r + z.toNat)} |
| 82 | (h_entry : ∀ x : D.GridIndex z 0 0, |
| 83 | D.gridSigns z 0 0 0 x = entrySign 0 0 (ν x + 1 - D.k) ∧ |
| 84 | D.gridParam z 0 0 0 τ x = 2 * D.targetParameter τ (ν x) + z.toNat) |
| 85 | (y : D.GridIndex z 0 0) : |
| 86 | let L : ℤ := 2 * D.targetParameter τ (ν y) + z.toNat - 2 * (D.gridParam z 0 0 0 τ).lowestKType y |
| 87 | let N : ℕ := D.r + z.toNat |
| 88 | |L| ≤ N ∧ (ν y + 1 < D.k → L + N = ↑(N + N ⊓ D.k - 1 - 2 * ν y - (N - D.k) % 2)) := by |
| 89 | -- `L` counts the entries below entry `ν y` minus those above, with the opposite count for the |
| 90 | -- entries of the opposite sign. Induction on `N` computes it: a far entry lies below every near |
| 91 | -- one, as `D.liftWeight 0 τ` is large against the gap, and far signs alternate. |
| 92 | intro L N |
| 93 | let count (a i : ℕ) : ℤ := |
| 94 | (if D.targetParameter τ i < D.targetParameter τ a then 1 |
| 95 | else if D.targetParameter τ a < D.targetParameter τ i then -1 else 0) * |
| 96 | (if (i + 1 - D.k) % 2 = (a + 1 - D.k) % 2 then 1 else -1) |
| 97 | have h_sq_le : D.gap ^ 2 ≤ D.liftWeight 0 τ := D.nat_le_of_hasLogBound |
| 98 | have h_count (M a : ℕ) : |∑ i ∈ Finset.range M, count a i| ≤ M ∧ (a + 1 < D.k → |
| 99 | ∑ i ∈ Finset.range M, count a i + M = ↑(M + M ⊓ D.k - 1 - 2 * a - (M - D.k) % 2)) := by |
| 100 | induction M with |
| 101 | | zero => simp |
| 102 | | succ M ih => |
| 103 | rw [Finset.sum_range_succ] |
| 104 | grind [targetParameter_eq] |
| 105 | -- `entrySign 0 0 i` depends only on the parity of `i` |
| 106 | have h_sign (i i' : ℕ) : entrySign 0 0 i = entrySign 0 0 i' ↔ i % 2 = i' % 2 := by |
| 107 | have h_ne : (-1 : ℤˣ) ≠ 1 := by decide |
| 108 | rw [entrySign_eq_ite, entrySign_eq_ite] |
| 109 | grind |
| 110 | have h_L : L = ∑ i ∈ Finset.range N, count (ν y) i := by |
| 111 | simp only [L, two_mul_lowestKType (hasGap_gridParam ..), twoRho, Finset.card_filter, |
| 112 | reindex_equiv ν.symm, h_entry, ν.apply_symm_apply, Nat.cast_sum, ← Finset.sum_sub_distrib] |
| 113 | simp only [ne_eq, h_sign] |
| 114 | rw [← Fin.sum_univ_eq_sum_range, sub_sub_eq_add_sub, add_sub_add_left_eq_sub, |
| 115 | ← Finset.sum_sub_distrib] |
| 116 | exact Finset.sum_congr rfl fun i _ ↦ by grind |
| 117 | rw [h_L] |
| 118 | exact h_count N (ν y) |
| 119 | |
| 120 | /-- Let `D` be admissible data for the fixed parameters `P`. The parameter of the object `Y₀` |
| 121 | (`z = false`), of rank `D.r`, and minus that of `Ỹ^0_0 = Y₀ ⊕ E ẽ` (`z = true`, one more index), |
| 122 | whose doubles are `D.gridParam z 0 0 0 τ` (offset `0` at the node `(0, 0)`, lift number `0`), are |
| 123 | steep: for one numbering `e` of their indices, at every infinite place `τ`, the sign is `+` and the |
| 124 | weight of the lowest `K`-type is `0` on the block `D.InitIndex 0` of the basis indices of `X₀` |
| 125 | other than the last. On the other `2 ϱ + 2` (and for `Ỹ^0_0` one more) indices, `ϱ = D.ϱ` being the |
| 126 | number of hyperbolic planes of `Y₀`, the signs alternate and the weight decreases strictly within |
| 127 | `[-3 B, -B]`, where `B = D.liftWeight 0 τ` is the weight `κ + Δ / 2` for the weight `κ` and gap |
| 128 | `Δ` of the data. -/ |
| 129 | lemma New.Data.exists_isSteep {P : Parameters} (D : Data P) (z : Bool) : |
| 130 | ∃ e : D.InitIndex 0 ⊕ Fin (2 * D.ϱ + 2 + z.toNat) ≃ D.GridIndex z 0 0, |
| 131 | ∀ τ : D.Φ, DiscreteSeries.IsSteep (D.gridParam z 0 0 0 τ) (D.liftWeight 0 τ) e := by |
| 132 | -- Number the indices by `ν`. By `two_mul_lowestKType`, `2 * lowestKType` is the doubled parameter |
| 133 | -- minus a signed count `L` of the entries below and above. The size of `L` is at most the number |
| 134 | -- `N` of indices, small against the gaps of the far entries, and `L` cancels the doubled |
| 135 | -- parameter on the first `k - 1` (near) entries. |
| 136 | let ν : D.GridIndex z 0 0 ≃ Fin (D.r + z.toNat) := D.gridNumber z |
| 137 | let e : D.InitIndex 0 ⊕ Fin (2 * D.ϱ + 2 + z.toNat) ≃ D.GridIndex z 0 0 := |
| 138 | finSumFinEquiv.trans ((finCongr (by grind [n])).trans ν.symm) |
| 139 | have he_inl (x : D.InitIndex 0) : (ν (e (.inl x)) : ℕ) = x := by simp [e] |
| 140 | have he_inr (i : Fin (2 * D.ϱ + 2 + z.toNat)) : (ν (e (.inr i)) : ℕ) = D.n 0 - 1 + i := by |
| 141 | simp [e] |
| 142 | refine ⟨e, fun τ ↦ ?_⟩ |
| 143 | have h_entry (x : D.GridIndex z 0 0) : |
| 144 | D.gridSigns z 0 0 0 x = entrySign 0 0 (ν x + 1 - D.k) ∧ |
| 145 | D.gridParam z 0 0 0 τ x = 2 * D.targetParameter τ (ν x) + z.toNat := by |
| 146 | cases z <;> aesop (add simp [gridSigns, gridNumber]) |
| 147 | -- The far entries of `D.targetParameter τ` are `Δ / 2 - κ_j` with `j ≤ Δ`, and `κ_j` lies between |
| 148 | -- `B = D.liftWeight 0 τ` and `D.liftWeight D.gap τ ≤ 2 * B`. |
| 149 | have h_sq_le : D.gap ^ 2 ≤ D.liftWeight 0 τ := D.nat_le_of_hasLogBound |
| 150 | have h_far : D.liftWeight D.gap τ ≤ 2 * D.liftWeight 0 τ := by grind |
| 151 | have h_count (y : D.GridIndex z 0 0) : |
| 152 | let L : ℤ := |
| 153 | 2 * D.targetParameter τ (ν y) + z.toNat - 2 * (D.gridParam z 0 0 0 τ).lowestKType y |
| 154 | let N : ℕ := D.r + z.toNat |
| 155 | |L| ≤ N ∧ (ν y + 1 < D.k → L + N = ↑(N + N ⊓ D.k - 1 - 2 * ν y - (N - D.k) % 2)) := |
| 156 | D.abs_targetParameter_sub_lowestKType_le_and_eq h_entry y |
| 157 | -- The signs come from `h_entry`. Then `h_count` gives `lowestKType = 0` on the near entries, and |
| 158 | -- on the far entries `lowestKType` strictly decreasing and within `[-3 * B, -B]`. |
| 159 | refine ⟨fun x ↦ ?_, fun i ↦ ?_, fun x ↦ ?_, fun i i' h_lt ↦ ?_, fun i ↦ ?_⟩ |
| 160 | · grind [entrySign_eq_ite] |
| 161 | · rw [neg_one_pow_eq_ite] |
| 162 | grind [entrySign_eq_ite] |
| 163 | · grind [targetParameter_eq, Bool] |
| 164 | · grind [targetParameter_eq, Bool] |
| 165 | · have h_mem : -(3 * D.liftWeight 0 τ : ℤ) ≤ (D.gridParam z 0 0 0 τ).lowestKType (e (.inr i)) ∧ |
| 166 | (D.gridParam z 0 0 0 τ).lowestKType (e (.inr i)) ≤ -(D.liftWeight 0 τ : ℤ) := by |
| 167 | grind [targetParameter_eq, Bool] |
| 168 | rw [Set.mem_Icc, neg_mul] |
| 169 | exact_mod_cast h_mem |
| 170 | |
| 171 | end SteepParameters |
| 172 | |
| 173 | /-! |
| 174 | ## Periods of Poincaré series of deep level |
| 175 | |
| 176 | The cosets are indexed by their last columns. The last columns of those that meet the level |
| 177 | condition are well separated, so a packing bound controls the sum of the terms other than that of |
| 178 | the identity. |
| 179 | -/ |
| 180 | |
| 181 | section DeepLevelPeriod |
| 182 | |
| 183 | open New MeasureTheory Matrix Space G EuclideanSpace Fintype Set Measure Subtype U Norms.L2Operator |
| 184 | ComplexConjugate |
| 185 | |
| 186 | /-- Unfolding: the translates by the rational points `V.Γ` of an integrable function on the adelic |
| 187 | group are integrable for the quotient measure, and their integrals sum to its integral. -/ |
| 188 | lemma New.Space.hasSum_integral_translates {E n : Type} {s : n → ℤˣ} [Field E] [CMType E] |
| 189 | [Fintype n] [DecidableEq n] (V : Space E n s) {𝕜 : Type*} [RCLike 𝕜] |
| 190 | {f : G E s → 𝕜} (hf : Integrable f) : |
| 191 | (∀ δ : V.Γ, Integrable (fun h : G E s ↦ f (δ * h)) V.quotMeasure) ∧ |
| 192 | HasSum (fun δ : V.Γ ↦ ∫ h : G E s, f (δ * h) ∂V.quotMeasure) (∫ g : G E s, f g) := by |
| 193 | -- `(δ, h) ↦ δ * h` carries `count × quotMeasure` to Haar measure |
| 194 | obtain ⟨h_int, h_eq⟩ : |
| 195 | Integrable (fun p : V.Γ × G E s ↦ f (p.1 * p.2)) (Measure.count.prod V.quotMeasure) ∧ |
| 196 | ∫ δ : V.Γ, ∫ h : G E s, f (δ * h) ∂V.quotMeasure ∂Measure.count = ∫ g : G E s, f g := |
| 197 | (measurePreserving_orbitMeasure.comp (measurePreserving_swap (ν := V.quotMeasure))).fubini hf |
| 198 | exact ⟨by simpa using h_int.prod_right_ae, |
| 199 | by simpa [← h_eq] using! hasSum_integral_measure h_int.integral_prod_left⟩ |
| 200 | |
| 201 | section RealSlices |
| 202 | |
| 203 | /-- The product over the infinite places `w` of the conjugate of the Flensted-Jensen matrix |
| 204 | coefficient `(l w).dsCoeff` of the doubled parameter `l w`, evaluated at `(α w)⁻¹ * g w * ω w`. -/ |
| 205 | noncomputable def New.Exchange.translatedCoeff {E : Type*} {n : Type} {s : n → ℤˣ} [Field E] |
| 206 | [CMType E] [Fintype n] [DecidableEq n] (l : NumberField.InfinitePlace E → HCParam s) |
| 207 | (α ω g : GInf E s) : ℂ := |
| 208 | ∏ w : NumberField.InfinitePlace E, conj ((l w).dsCoeff ((α w)⁻¹ * g w * ω w : USign s)) |
| 209 | |
| 210 | /-- The constant in the decay of the slices of `translatedCoeff l α ω`: the product over the |
| 211 | infinite places `w` of `(2 (‖α w‖ ‖ω w‖)²) ^ A` and `16 ^ A` times the volume of the unit ball |
| 212 | around `1` in `U(s)`. -/ |
| 213 | noncomputable def New.Exchange.sliceConst {E : Type*} {n : Type} {s : n → ℤˣ} [Field E] |
| 214 | [CMType E] [Fintype n] [DecidableEq n] (A : ℕ) (α ω : GInf E (s ⊕ᵥ (1 : Unit → ℤˣ))) : ℝ := |
| 215 | ∏ w : NumberField.InfinitePlace E, |
| 216 | (2 * (‖(α w : Matrix (n ⊕ Unit) (n ⊕ Unit) ℂ)‖ * |
| 217 | ‖(ω w : Matrix (n ⊕ Unit) (n ⊕ Unit) ℂ)‖) ^ 2) ^ A * |
| 218 | (16 ^ A * volume.real {r : USign s | ‖(r : Matrix n n ℂ) - 1‖ ≤ 1}) |
| 219 | |
| 220 | /-- Decay of a translated matrix coefficient on `U(diag s)`: if `l` has a large gap for `2 A`, then |
| 221 | the norm of `l.dsCoeff` at `α⁻¹ x ω` is at most `(2 (‖α‖ ‖ω‖)²) ^ A * (2 / ‖x‖) ^ A * ‖x‖⁻¹ ^ A` |
| 222 | in the operator norm. -/ |
| 223 | lemma New.Exchange.norm_dsCoeff_translate_le {n : Type} {s : n → ℤˣ} [Fintype n] [DecidableEq n] |
| 224 | [Nonempty n] {A : ℕ} {l : HCParam s} (h_gap : l.HasLargeGap (2 * A)) (α x ω : USign s) : |
| 225 | ‖l.dsCoeff (α⁻¹ * x * ω : USign s)‖ ≤ |
| 226 | (2 * (‖(α : Matrix n n ℂ)‖ * ‖(ω : Matrix n n ℂ)‖) ^ 2) ^ A * |
| 227 | (2 / ‖(x : Matrix n n ℂ)‖) ^ A * ‖(x : Matrix n n ℂ)‖⁻¹ ^ A := by |
| 228 | -- `x = α (α⁻¹ x ω) ω⁻¹` bounds the norm of `α⁻¹ x ω` below, and the coefficient decays in it. |
| 229 | have h_norm : ‖x.val.val‖ ≤ ‖α.val.val‖ * ‖(α⁻¹ * x * ω).val.val‖ * ‖ω.val.val‖ := by |
| 230 | grw [← U.norm_inv ω, ← norm_mul₃_le] |
| 231 | simp [mul_assoc] |
| 232 | have h_div : 2 / ‖(α⁻¹ * x * ω).val.val‖ ≤ 2 * (‖α.val.val‖ * ‖ω.val.val‖) / ‖x.val.val‖ := by |
| 233 | rw [div_le_div_iff₀ (Units.norm_pos _) (Units.norm_pos _)] |
| 234 | linarith |
| 235 | calc ‖l.dsCoeff (α⁻¹ * x * ω : USign s)‖ |
| 236 | _ ≤ (2 / ‖(α⁻¹ * x * ω).val.val‖) ^ (2 * A) := |
| 237 | DiscreteSeries.norm_dsCoeff_le_pow h_gap le_add_self (α⁻¹ * x * ω) |
| 238 | _ ≤ (2 * (‖α.val.val‖ * ‖ω.val.val‖) / ‖x.val.val‖) ^ (2 * A) := |
| 239 | pow_le_pow_left₀ (by positivity) h_div _ |
| 240 | _ = (2 * (‖α.val.val‖ * ‖ω.val.val‖) ^ 2 * (2 / ‖x.val.val‖) * ‖x.val.val‖⁻¹) ^ A := by |
| 241 | rw [pow_mul] |
| 242 | congr 1 |
| 243 | ring |
| 244 | _ = (2 * (‖α.val.val‖ * ‖ω.val.val‖) ^ 2) ^ A * (2 / ‖x.val.val‖) ^ A * ‖x.val.val‖⁻¹ ^ A := by |
| 245 | rw [mul_pow _ ‖x.val.val‖⁻¹, mul_pow _ (2 / ‖x.val.val‖)] |
| 246 | |
| 247 | /-- Let `E` be a CM field. Let each parameter `l w` have a large gap for `2 A` (gap at least |
| 248 | `500 N ^ 3 + 2 A` for `N = card n + 1`), and let `A > 8 N²`. Let `inl s 1` be the block embedding |
| 249 | `r ↦ diag(r, 1)`. Let `t > 0` bound below the products over the infinite places `w` of the operator |
| 250 | norms of `g w * inl s 1 (r w)`. The function `translatedCoeff l α ω` is the product over the places |
| 251 | of the conjugates of the discrete series matrix coefficients of parameters `l w`, taken at |
| 252 | `(α w)⁻¹ * g w * ω w`. Its slice `r ↦ translatedCoeff l α ω (g * inl s 1 ∘ r)` is integrable on the |
| 253 | real group `GInf E s` (one copy of `U(diag s)` for each place). The integral of its norm is at most |
| 254 | `sliceConst A α ω * t⁻¹ ^ A`. -/ |
| 255 | lemma New.Exchange.integrable_translatedCoeff_and_integral_norm_le {E : Type*} {n : Type} |
| 256 | {s : n → ℤˣ} [Field E] [CMType E] [Fintype n] [DecidableEq n] {A : ℕ} |
| 257 | {l : NumberField.InfinitePlace E → HCParam (s ⊕ᵥ (1 : Unit → ℤˣ))} |
| 258 | (hA_sq : 8 * (card n + 1) ^ 2 < A) |
| 259 | (h_gap : ∀ w : NumberField.InfinitePlace E, (l w).HasLargeGap (2 * A)) |
| 260 | (ω α g : GInf E (s ⊕ᵥ (1 : Unit → ℤˣ))) {t : ℝ} (ht : 0 < t) |
| 261 | (ht_le : ∀ r : GInf E s, |
| 262 | t ≤ ∏ w : NumberField.InfinitePlace E, |
| 263 | ‖((g w * inl s 1 (r w) : USign (s ⊕ᵥ 1)) : Matrix (n ⊕ Unit) (n ⊕ Unit) ℂ)‖) : |
| 264 | Integrable (fun r : GInf E s ↦ translatedCoeff l α ω (g * inl s 1 ∘ r)) ∧ |
| 265 | ∫ r : GInf E s, ‖translatedCoeff l α ω (g * inl s 1 ∘ r)‖ ≤ sliceConst A α ω * t⁻¹ ^ A := by |
| 266 | let ψ (r : GInf E s) : ℂ := ∏ w : NumberField.InfinitePlace E, |
| 267 | conj ((l w).dsCoeff ((α w)⁻¹ * (g w * inl s 1 (r w)) * ω w : USign (s ⊕ᵥ 1))) |
| 268 | let B (w : NumberField.InfinitePlace E) : ℝ := (2 * (‖(α w).val.val‖ * ‖(ω w).val.val‖) ^ 2) ^ A |
| 269 | change Integrable ψ ∧ ∫ r : GInf E s, ‖ψ r‖ ≤ (∏ w : NumberField.InfinitePlace E, |
| 270 | B w * (16 ^ A * volume.real {r : USign s | ‖(r : Matrix n n ℂ) - 1‖ ≤ 1})) * t⁻¹ ^ A |
| 271 | let D (w : NumberField.InfinitePlace E) (r : USign s) : ℝ := |
| 272 | (2 / ‖(inl s 1 r * (g w)⁻¹).val.val‖) ^ A |
| 273 | have decay (w : NumberField.InfinitePlace E) : |
| 274 | Integrable (D w) ∧ |
| 275 | ∫ r : USign s, D w r ≤ |
| 276 | 16 ^ A * volume.real {r : USign s | ‖(inl s (1 : Unit → ℤˣ) r).val.val - 1‖ ≤ 1} := |
| 277 | DiscreteSeries.integral_decay_le volume DiscreteSeries.isProperMap_inl (by simpa) (g w)⁻¹ |
| 278 | -- the coefficient decays with exponent `2 A`: one half gives `t⁻¹ ^ A`, the other half `D` |
| 279 | have pointwise (r : GInf E s) : |
| 280 | ‖ψ r‖ ≤ (∏ w : NumberField.InfinitePlace E, B w * D w (r w)⁻¹) * t⁻¹ ^ A := by |
| 281 | grw [ht_le r, ← Finset.prod_inv_distrib, ← Finset.prod_pow, ← Finset.prod_mul_distrib, |
| 282 | norm_prod] |
| 283 | gcongr with w |
| 284 | have norm_eq : ‖(inl s 1 (r w)⁻¹ * (g w)⁻¹).val.val‖ = ‖(g w * inl s 1 (r w)).val.val‖ := by |
| 285 | rw [map_inv, ← _root_.mul_inv_rev, U.norm_inv] |
| 286 | rw [Complex.norm_conj] |
| 287 | simp only [B, D, norm_eq] |
| 288 | exact norm_dsCoeff_translate_le (h_gap w) (α w) (g w * inl s 1 (r w)) (ω w) |
| 289 | have major_int : Integrable fun r : GInf E s ↦ |
| 290 | (∏ w : NumberField.InfinitePlace E, B w * D w (r w)⁻¹) * t⁻¹ ^ A := |
| 291 | (Integrable.fintype_prod fun w ↦ (decay w).1.comp_inv.const_mul (B w)).mul_const _ |
| 292 | refine ⟨major_int.mono' (by fun_prop : Continuous ψ).aestronglyMeasurable |
| 293 | (ae_of_all _ pointwise), ?_⟩ |
| 294 | grw [integral_mono_of_nonneg (.of_forall (by simp)) major_int (ae_of_all _ pointwise)] |
| 295 | rw [integral_mul_const, integral_fintype_prod_volume_eq_prod fun w r ↦ B w * D w r⁻¹] |
| 296 | simp_rw [integral_const_mul, integral_inv_eq_self] |
| 297 | gcongr with w |
| 298 | simpa [← fromBlocks_one, sub_eq_add_neg, fromBlocks_neg, fromBlocks_add] using (decay w).2 |
| 299 | |
| 300 | end RealSlices |
| 301 | |
| 302 | /-- The embedding `h ↦ h ⊕ 1` of the unitary group of signs `s` in that of signs `s ⊕ 1`. Its |
| 303 | image fixes the last basis vector. -/ |
| 304 | noncomputable def New.G.inlLine (E : Type) {n : Type} (s : n → ℤˣ) [Field E] [CMType E] |
| 305 | [Fintype n] [DecidableEq n] : G E s →* G E (s ⊕ᵥ (1 : Unit → ℤˣ)) := |
| 306 | sum.comp (.inl (G E s) (G E 1)) |
| 307 | |
| 308 | /-- The block matrix `h ⊕ 1` has principal level `a` if and only if `h` has. -/ |
| 309 | lemma New.G.inlLine_snd_mem_principalLevel_iff {E n : Type} {s : n → ℤˣ} [Field E] [CMType E] |
| 310 | [Fintype n] [DecidableEq n] {a : NumberField.RingOfIntegers E} (h : G E s) : |
| 311 | (inlLine E s h).2 ∈ principalLevel (n ⊕ Unit) a ↔ h.2 ∈ principalLevel n a := by |
| 312 | have zero_dvd (c : 𝔸f E) : ∃ y ∈ Ô E, 0 = c * y := ⟨0, by simp⟩ |
| 313 | simp [principalLevel, mem_stdLevel, ← adeleMatrix_snd, inlLine, zero_dvd, Subgroup.copy, |
| 314 | Matrix.one_apply] |
| 315 | |
| 316 | /-- The rational vector `y` of `V ⊕ ⟨1⟩` is the last column of `γ`: in the coordinates at any point |
| 317 | `u` it is the last column of the adelic matrix of `u⁻¹ γ (k ⊕ 1)`, for every `k`. Here `⟨1⟩` is |
| 318 | the standard line `signedSpace E 1`; it needs a primitive root of unity of order `5040` in `E`. -/ |
| 319 | def New.Space.IsLastColumn {E n : Type} {s : n → ℤˣ} [Field E] [CMType E] [Fintype n] |
| 320 | [DecidableEq n] [HasPrimitiveRoot5040 E] (V : Space E n s) |
| 321 | (γ : G E (s ⊕ᵥ (1 : Unit → ℤˣ))) (y : n ⊕ Unit → E) : Prop := |
| 322 | ∀ (k : G E s) (u : G E (s ⊕ᵥ (1 : Unit → ℤˣ))), |
| 323 | ((V.sum (signedSpace (n := Unit) E 1)).move u).vecAtPoint y = |
| 324 | (u⁻¹ * γ * inlLine E s k).adeleMatrix *ᵥ Pi.single (.inr ()) 1 |
| 325 | |
| 326 | /-- If `E` has a primitive root of unity of order `5040`, every rational point `γ` of `V ⊕ ⟨1⟩` |
| 327 | has a last column: a rational vector whose coordinates are those of the image under `γ` of the |
| 328 | last basis vector. -/ |
| 329 | lemma New.Space.exists_isLastColumn {E n : Type} {s : n → ℤˣ} [Field E] |
| 330 | [CMType E] [Fintype n] [DecidableEq n] [HasPrimitiveRoot5040 E] (V : Space E n s) |
| 331 | (γ : (V.sum (signedSpace (n := Unit) E 1)).Γ) : ∃ y : n ⊕ Unit → E, V.IsLastColumn γ y := by |
| 332 | obtain ⟨_, g, rfl⟩ := γ |
| 333 | refine ⟨g.val.val *ᵥ (0 ⊕ᵥ 1), fun k u ↦ ?_⟩ |
| 334 | -- `0 ⊕ 1` has as coordinates the last basis vector, which `k ⊕ 1` fixes |
| 335 | have column_eq : (inlLine E s k).adeleMatrix *ᵥ Pi.single (.inr ()) 1 = |
| 336 | (V.sum (signedSpace (n := Unit) E 1)).vecAtPoint (0 ⊕ᵥ 1) := by |
| 337 | rw [sum_vecAtPoint] |
| 338 | simp [funext_iff, inlLine, Space.vecAtPoint, signedSpace] |
| 339 | rw [vecAtPoint_move, ← ratEmbed_mulVec_vecAtPoint, ← column_eq, mulVec_mulVec, mulVec_mulVec] |
| 340 | simp |
| 341 | |
| 342 | /-- If `γ` and `γ'` have the same last column `y` (`V.IsLastColumn`), then `γ⁻¹ * γ'` lies in the |
| 343 | image of `inlLine E s`. -/ |
| 344 | lemma New.Space.IsLastColumn.inv_mul_mem_range {E n : Type} {s : n → ℤˣ} [Field E] |
| 345 | [CMType E] [Fintype n] [DecidableEq n] [HasPrimitiveRoot5040 E] {V : Space E n s} |
| 346 | {γ γ' : G E (s ⊕ᵥ (1 : Unit → ℤˣ))} {y : n ⊕ Unit → E} (hγ : V.IsLastColumn γ y) |
| 347 | (hγ' : V.IsLastColumn γ' y) : γ⁻¹ * γ' ∈ (inlLine E s).range := by |
| 348 | -- both send the last basis vector to the coordinates of `y` |
| 349 | have fixes : (γ⁻¹ * γ').adeleMatrix *ᵥ Pi.single (.inr ()) 1 = Pi.single (.inr ()) 1 := by |
| 350 | have h_col : (γ⁻¹ * γ' * inlLine E s 1).adeleMatrix *ᵥ Pi.single (.inr ()) 1 = |
| 351 | (γ⁻¹ * γ * inlLine E s 1).adeleMatrix *ᵥ Pi.single (.inr ()) 1 := |
| 352 | (hγ' 1 γ).symm.trans (hγ 1 γ) |
| 353 | simpa [-mulVec_single] using h_col |
| 354 | obtain ⟨g, hg⟩ : ∃ g, U.sum stdForm_sum (g, 1) = G.toUnitary (γ⁻¹ * γ') := by |
| 355 | refine (mem_range_sum_left stdForm_sum (by simp)).2 ?_ |
| 356 | simpa [adeleMatrix, ← ext_iff, funext_iff, Unique.forall_iff] using fixes |
| 357 | refine ⟨G.toUnitary.symm g, G.toUnitary.injective ?_⟩ |
| 358 | rw [← hg] |
| 359 | -- both elements have the block matrix `diag(g, 1)` |
| 360 | have h_blocks : (G.toUnitary (inlLine E s (G.toUnitary.symm g))).val.val = |
| 361 | fromBlocks (G.toUnitary.symm g).adeleMatrix 0 0 1 := |
| 362 | (adeleMatrix_sum _).trans (by simp) |
| 363 | exact Subtype.ext (Units.ext h_blocks) |
| 364 | |
| 365 | /-- Separation of last columns, for `E` with a primitive root of unity of order `5040`. Let |
| 366 | `y ≠ y'` be the last columns of `γ` and `γ'`, and let `(x ⊕ 1)⁻¹ γ (k ⊕ 1)` and |
| 367 | `(x ⊕ 1)⁻¹ γ' (k' ⊕ 1)` have finite part of level `a ≠ 0`. If `|a| ≥ R ≥ 0` at all infinite |
| 368 | places, the distance of `y` and `y'` at the point `x ⊕ 1` is at least `R` times the first minimum |
| 369 | of `V` at `x`: the least length of a nonzero lattice vector there, cut off at `1`. -/ |
| 370 | lemma New.Space.IsLastColumn.le_norm_archCoords_sub {E n : Type} {s : n → ℤˣ} [Field E] |
| 371 | [CMType E] [Fintype n] [DecidableEq n] [HasPrimitiveRoot5040 E] |
| 372 | {V : Space E n s} {γ γ' : G E (s ⊕ᵥ (1 : Unit → ℤˣ))} {y y' : n ⊕ Unit → E} |
| 373 | (hγ : V.IsLastColumn γ y) (hγ' : V.IsLastColumn γ' y') (h_ne : y ≠ y') |
| 374 | {a : NumberField.RingOfIntegers E} (ha : a ≠ 0) {x k k' : G E s} |
| 375 | (hk : ((inlLine E s x)⁻¹ * γ * inlLine E s k).2 ∈ principalLevel (n ⊕ Unit) a) |
| 376 | (hk' : ((inlLine E s x)⁻¹ * γ' * inlLine E s k').2 ∈ principalLevel (n ⊕ Unit) a) {R : ℝ} |
| 377 | (hR_nonneg : 0 ≤ R) (hR_le : ∀ w : NumberField.InfinitePlace E, R ≤ ‖Φ w (a : E)‖) : |
| 378 | R * (V.move x).firstMinimum ≤ |
| 379 | ‖((V.sum (signedSpace (n := Unit) E 1)).move (inlLine E s x)).archCoords (y - y')‖ := by |
| 380 | set Zx := (V.sum (signedSpace (n := Unit) E 1)).move (inlLine E s x) |
| 381 | obtain ⟨w, hw⟩ : ∃ w : n ⊕ Unit → E, a.val • w = y - y' := |
| 382 | MulAction.surjective₀ (a.ext.mt ha) (y - y') |
| 383 | have w_ne : w ≠ 0 := fun h_zero ↦ h_ne (sub_eq_zero.1 (by simp [← hw, h_zero])) |
| 384 | -- both columns are congruent to the last basis vector mod `a`, so `w` is a lattice vector |
| 385 | have w_mem : w ∈ Zx.baseLattice := by |
| 386 | intro i |
| 387 | obtain ⟨t, t_mem, ht⟩ := hk.2 i (.inr ()) |
| 388 | obtain ⟨t', t'_mem, ht'⟩ := hk'.2 i (.inr ()) |
| 389 | convert sub_mem t_mem t'_mem |
| 390 | apply (isUnit_algebraMap_finAdele ha).mul_left_cancel |
| 391 | have h_entry : (Zx.vecAtPoint (a.val • w) i).2 = (Zx.vecAtPoint (y - y') i).2 := by rw [hw] |
| 392 | -- the left side is `a * (vecAtPoint w i)`, the right one the difference of the two entries |
| 393 | have h_left : (Zx.vecAtPoint (a.val • w) i).2 = |
| 394 | algebraMap (NumberField.RingOfIntegers E) (𝔸f E) a * (Zx.vecAtPoint w i).2 := by |
| 395 | simp [↓map_smulₛₗ, IsScalarTower.algebraMap_apply (NumberField.RingOfIntegers E) E (𝔸f E)] |
| 396 | have h_right : (Zx.vecAtPoint (y - y') i).2 = |
| 397 | algebraMap (NumberField.RingOfIntegers E) (𝔸f E) a * (t - t') := by |
| 398 | simp [Zx, hγ k, hγ' k', mul_sub, ← ht, ← ht', -adeleMatrix_mul] |
| 399 | exact h_left.symm.trans (h_entry.trans h_right) |
| 400 | -- the definite summand `⟨1⟩` has no short vector, so it does not lower the first minimum |
| 401 | have firstMinimum_le_sum : (V.move x).firstMinimum ≤ Zx.firstMinimum := by |
| 402 | change _ ≤ ((V.sum (signedSpace (n := Unit) E 1)).move (G.sum (x, 1))).firstMinimum |
| 403 | rw [Rows.firstMinimum_sum] |
| 404 | refine le_inf le_rfl ?_ |
| 405 | exact firstMinimum_le_one.trans (one_le_firstMinimum fun _ _ ↦ rfl) |
| 406 | -- a nonzero lattice vector has norm at least `firstMinimum`; `a` stretches it by at least `R` |
| 407 | calc |
| 408 | R * (V.move x).firstMinimum ≤ R * ‖Zx.archCoords w‖ := by |
| 409 | grw [firstMinimum_le_sum, firstMinimum_le w_mem w_ne] |
| 410 | _ ≤ ‖Zx.archCoords (a.val • w)‖ := by |
| 411 | rw [← norm_smul_of_nonneg hR_nonneg, norm_eq, norm_eq] |
| 412 | gcongr with p |
| 413 | -- the coordinates at the place `p.1` are stretched by `|a|`, which is at least `R` |
| 414 | simpa [archCoords, -algebraMap_smul, abs_of_nonneg hR_nonneg] using |
| 415 | mul_le_mul_of_nonneg_right (hR_le p.1) (norm_nonneg _) |
| 416 | _ = ‖Zx.archCoords (y - y')‖ := by rw [hw] |
| 417 | |
| 418 | /-- If `y` is the last column of `1` in `V ⊕ ⟨1⟩` (`hy : V.IsLastColumn 1 y`), then in the space |
| 419 | moved to the point `x ⊕ 1` the length of `y` (the norm of `archCoords y`) is at most the number of |
| 420 | infinite places of `E`. -/ |
| 421 | lemma New.Space.IsLastColumn.norm_archCoords_one_le {E n : Type} {s : n → ℤˣ} [Field E] |
| 422 | [CMType E] [Fintype n] [DecidableEq n] [HasPrimitiveRoot5040 E] |
| 423 | {V : Space E n s} {y : n ⊕ Unit → E} |
| 424 | (hy : V.IsLastColumn 1 y) (x : G E s) : |
| 425 | ‖((V.sum (signedSpace (n := Unit) E 1)).move (inlLine E s x)).archCoords y‖ ≤ |
| 426 | Core.numInfPlaces E := by |
| 427 | have sqrt_le : √(Core.numInfPlaces E : ℝ) ≤ Core.numInfPlaces E := by |
| 428 | simp [Real.sqrt_le_self_iff, NeZero.one_le] |
| 429 | simpa [hy x, archCoords, -adeleMatrix_mul, sum_prod_type, norm_eq] using sqrt_le |
| 430 | |
| 431 | /-- At the point `x ⊕ 1`, the last column of `γ` has length at most the number of infinite places |
| 432 | times the product of the local operator norms of `(x ⊕ 1)⁻¹ γ (k ⊕ 1)`, for every `k`. -/ |
| 433 | lemma New.Space.IsLastColumn.norm_archCoords_le {E n : Type} {s : n → ℤˣ} [Field E] |
| 434 | [CMType E] [Fintype n] [DecidableEq n] [HasPrimitiveRoot5040 E] {V : Space E n s} |
| 435 | {γ : G E (s ⊕ᵥ (1 : Unit → ℤˣ))} {y : n ⊕ Unit → E} (hy : V.IsLastColumn γ y) (x k : G E s) : |
| 436 | ‖((V.sum (signedSpace (n := Unit) E 1)).move (inlLine E s x)).archCoords y‖ ≤ |
| 437 | (∏ w : NumberField.InfinitePlace E, |
| 438 | ‖(((inlLine E s x)⁻¹ * γ * inlLine E s k).1 w : Matrix (n ⊕ Unit) (n ⊕ Unit) ℂ)‖) * |
| 439 | Core.numInfPlaces E := by |
| 440 | set Zx := (V.sum (signedSpace (n := Unit) E 1)).move (inlLine E s x) |
| 441 | set g := (inlLine E s x)⁻¹ * γ * inlLine E s k |
| 442 | obtain ⟨y₀, hy₀⟩ := V.exists_isLastColumn 1 |
| 443 | -- `g` maps the last column of `1` to that of `γ` |
| 444 | have vec_eq : Zx.vecAtPoint y = (1 : ℕ) • g.adeleMatrix *ᵥ Zx.vecAtPoint y₀ := by |
| 445 | rw [hy k, hy₀ x, mulVec_mulVec] |
| 446 | simp [g] |
| 447 | have norm_le : ‖Zx.archCoords y‖ ≤ |
| 448 | (1 : ℕ) * (∏ w : NumberField.InfinitePlace E, ‖(g.1 w).val.val‖) * ‖Zx.archCoords y₀‖ := |
| 449 | (mem_and_norm_le_of_vecAtPoint y Zx y₀ g.adeleMatrix 1 (le_prod_opNorm g.1).2 vec_eq).2 |
| 450 | grw [norm_le, hy₀.norm_archCoords_one_le x, Nat.cast_one, one_mul] |
| 451 | |
| 452 | /-- Let `E` have a primitive root of unity of order `5040`. A sum over the rational points of |
| 453 | `V ⊕ ⟨1⟩` is a sum over the cosets of the rational points of `V`, embedded by |
| 454 | `inlLine E s : h ↦ h ⊕ 1`. Here `C` is a set of representatives, and `W ⊆ C` contains every `σ` |
| 455 | for which `p` is nonzero somewhere on `σ (G E s ⊕ 1)`, in adelic points. -/ |
| 456 | lemma New.Space.tsum_eq_tsum_cosets {E n : Type} {s : n → ℤˣ} [Field E] |
| 457 | [CMType E] [Fintype n] [DecidableEq n] [HasPrimitiveRoot5040 E] (V : Space E n s) |
| 458 | {C : Set (V.sum (signedSpace (n := Unit) E 1)).Γ} |
| 459 | (hC : Subgroup.IsComplement C |
| 460 | ((inlLine E s).range.subgroupOf (V.sum (signedSpace (n := Unit) E 1)).Γ)) |
| 461 | {W : Set C} {p : G E (s ⊕ᵥ (1 : Unit → ℤˣ)) → ℂ} |
| 462 | (h_supp : ∀ (σ : C) (h : G E s), p (σ * inlLine E s h) ≠ 0 → σ ∈ W) : |
| 463 | ∑' γ : (V.sum (signedSpace (n := Unit) E 1)).Γ, p γ = |
| 464 | ∑' q : W × V.Γ, p (q.1 * inlLine E s q.2) := by |
| 465 | set Z := V.sum (signedSpace (n := Unit) E 1) |
| 466 | let emb (δ : V.Γ) : (inlLine E s).range.subgroupOf Z.Γ := |
| 467 | ⟨⟨inlLine E s δ, by simp [Z, inlLine, sum_mem_Gamma]⟩, δ, rfl⟩ |
| 468 | have emb_inj : emb.Injective := fun δ δ' h_eq ↦ by |
| 469 | simpa [emb, inlLine, isClosedEmbedding_sum.injective.eq_iff] using h_eq |
| 470 | let mul (q : W × V.Γ) : Z.Γ := q.1 * emb q.2 |
| 471 | have mul_inj : mul.Injective := fun q q' (h_eq : mul q = mul q') ↦ |
| 472 | Subtype.val_injective.prodMap emb_inj (hC.1 h_eq) |
| 473 | have support_le : Function.support (fun γ : Z.Γ ↦ p γ) ⊆ range mul := by |
| 474 | -- every rational point is `σ * inlLine E s h` for some `σ` in `C`; as `h` is then rational |
| 475 | -- and `p` vanishes unless `σ ∈ W`, the point is a value of `mul` |
| 476 | refine hC.2.forall.2 ?_ |
| 477 | rintro ⟨σ, ⟨_, h_rat⟩, h, ⟨⟩⟩ h_ne |
| 478 | have h_mem_Γ : h ∈ V.Γ := ((sum_mem_Gamma ..).1 h_rat).1 |
| 479 | have σ_mem : σ ∈ W := h_supp σ h h_ne |
| 480 | exact ⟨(⟨σ, σ_mem⟩, ⟨h, h_mem_Γ⟩), rfl⟩ |
| 481 | exact (mul_inj.tsum_eq support_le).symm |
| 482 | |
| 483 | /-- Unfolding of a countable family `P` of integrable functions whose `L¹` norms are summable: the |
| 484 | integrals of the `P i` over the group sum to the integral over the quotient of the sum of all |
| 485 | translates of all `P i` by `V.Γ`. -/ |
| 486 | lemma New.Space.hasSum_integral_of_summable_integral_norm {E n : Type} {s : n → ℤˣ} [Field E] |
| 487 | [CMType E] [Fintype n] [DecidableEq n] (V : Space E n s) {ι : Type*} [Countable ι] |
| 488 | {P : ι → G E s → ℂ} (hP_int : ∀ i : ι, Integrable (P i)) |
| 489 | (hP_sum : Summable fun i : ι ↦ ∫ h : G E s, ‖P i h‖) : |
| 490 | HasSum (fun i : ι ↦ ∫ h : G E s, P i h) |
| 491 | (∫ h : G E s, ∑' q : ι × V.Γ, P q.1 (q.2 * h) ∂V.quotMeasure) := by |
| 492 | have unfold_norm (i : ι) : HasSum (fun δ : V.Γ ↦ ∫ h, ‖P i (δ * h)‖ ∂V.quotMeasure) |
| 493 | (∫ h, ‖P i h‖) := (V.hasSum_integral_translates (hP_int i).norm).2 |
| 494 | have summable_norm : Summable fun q : ι × V.Γ ↦ ∫ h, ‖P q.1 (q.2 * h)‖ ∂V.quotMeasure := by |
| 495 | refine (summable_prod_of_nonneg fun _ ↦ by positivity).2 ⟨fun i ↦ (unfold_norm i).summable, ?_⟩ |
| 496 | simpa only [fun i ↦ (unfold_norm i).tsum_eq] using hP_sum |
| 497 | have translate_int (q : ι × V.Γ) : Integrable (fun h ↦ P q.1 (q.2 * h)) V.quotMeasure := |
| 498 | (V.hasSum_integral_translates (hP_int q.1)).1 q.2 |
| 499 | -- interchange the sum over all pairs `(i, δ)` with the integral |
| 500 | have pair_sum : HasSum (fun q : ι × V.Γ ↦ ∫ h, P q.1 (q.2 * h) ∂V.quotMeasure) |
| 501 | (∫ h, ∑' q : ι × V.Γ, P q.1 (q.2 * h) ∂V.quotMeasure) := |
| 502 | MeasureTheory.hasSum_integral_of_summable_integral_norm translate_int summable_norm |
| 503 | -- for each `i`, the terms `(i, δ)` sum to the integral of `P i` over the group |
| 504 | have fiber_sum (i : ι) : HasSum (fun δ : V.Γ ↦ ∫ h, P i (δ * h) ∂V.quotMeasure) (∫ h, P i h) := |
| 505 | (V.hasSum_integral_translates (hP_int i)).2 |
| 506 | exact pair_sum.prod_fiberwise fiber_sum |
| 507 | |
| 508 | /-- The product of an integrable function on the real group and the indicator function of the level |
| 509 | `a ≠ 0` is integrable on the adelic group. -/ |
| 510 | lemma New.Exchange.integrable_mul_indicator {E n : Type} {s : n → ℤˣ} [Field E] [CMType E] |
| 511 | [Fintype n] [DecidableEq n] {a : NumberField.RingOfIntegers E} (ha : a ≠ 0) |
| 512 | {ψ : GInf E s → ℂ} (hψ : Integrable ψ) : |
| 513 | Integrable fun h : G E s ↦ ψ h.1 * indicator (principalLevel n a) 1 h.2 := by |
| 514 | have level_int : Integrable (indicator (principalLevel n a : Set (Gf E n)) (1 : Gf E n → ℂ)) := |
| 515 | ((integrableOn_const (by simp)).mono_set principalLevel_le_stdLevel).integrable_indicator |
| 516 | (isOpen_principalLevel ha).measurableSet |
| 517 | exact hψ.mul_prod level_int |
| 518 | |
| 519 | /-- The `L¹` norm of `ψ` times the indicator function of the level `a ≠ 0` is the `L¹` norm of |
| 520 | `ψ` on the real group times the volume of the level. -/ |
| 521 | lemma New.Exchange.integral_norm_mul_indicator {E n : Type} {s : n → ℤˣ} [Field E] [CMType E] |
| 522 | [Fintype n] [DecidableEq n] {a : NumberField.RingOfIntegers E} (ha : a ≠ 0) (ψ : GInf E s → ℂ) : |
| 523 | ∫ h : G E s, ‖ψ h.1 * indicator (principalLevel n a) 1 h.2‖ = |
| 524 | (∫ r : GInf E s, ‖ψ r‖) * volume.real (principalLevel n a : Set (Gf E n)) := by |
| 525 | simp_rw [norm_mul, volume_eq_prod, norm_indicator_eq_indicator_norm] |
| 526 | rw [integral_prod_mul fun r ↦ ‖ψ r‖] |
| 527 | simp [(isOpen_principalLevel ha).measurableSet] |
| 528 | |
| 529 | /-- For `F` of level `a`, the integral of `ψ` times the indicator function of the level against the |
| 530 | translate of `F` by `x` is the volume of the level times `realConv ψ F x`, the integral of |
| 531 | `r ↦ ψ r * F (x * (r, 1))` over the real group (right convolution). -/ |
| 532 | lemma New.Exchange.integral_mul_indicator_mul_eq_smul_realConv {E n : Type} {s : n → ℤˣ} [Field E] |
| 533 | [CMType E] [Fintype n] [DecidableEq n] {F : G E s → ℂ} |
| 534 | {a : NumberField.RingOfIntegers E} (ha : a ≠ 0) (hF_level : HasLevel F (principalLevel n a)) |
| 535 | (ψ : GInf E s → ℂ) (x : G E s) : |
| 536 | ∫ h : G E s, ψ h.1 * indicator (principalLevel n a) 1 h.2 * F (x * h) = |
| 537 | volume.real (principalLevel n a : Set (Gf E n)) • realConv ψ F x := by |
| 538 | have split (h : G E s) : ψ h.1 * indicator (principalLevel n a) 1 h.2 * F (x * h) = |
| 539 | ψ h.1 * F (x * (h.1, 1)) * indicator (principalLevel n a) (fun _ ↦ 1) h.2 := by |
| 540 | by_cases h_mem : h.2 ∈ principalLevel n a |
| 541 | · simp [h_mem, ← hF_level _ h_mem (x * (h.1, 1)), mul_assoc] |
| 542 | · simp [h_mem] |
| 543 | simp_rw [split, volume_eq_prod] |
| 544 | rw [integral_prod_mul fun r ↦ ψ r * F (x * (r, 1)), |
| 545 | integral_indicator_const _ (isOpen_principalLevel ha).measurableSet, mul_smul_one] |
| 546 | rfl |
| 547 | |
| 548 | /-- The kernel of a Poincaré series: the function `φ` of the real part of `g` times the indicator |
| 549 | function of the level `K` at its finite part. -/ |
| 550 | noncomputable def New.Exchange.poincareKernel {E n : Type} {s : n → ℤˣ} [Field E] [CMType E] |
| 551 | [Fintype n] [DecidableEq n] (φ : GInf E s → ℂ) (K : Subgroup (Gf E n)) (g : G E s) : ℂ := |
| 552 | φ g.1 * indicator K 1 g.2 |
| 553 | |
| 554 | /-- Let `E` be a CM field and let the finite part of `g` have principal level `a`. Then the kernel |
| 555 | of level `a` at `g (h ⊕ 1)` is the value of `φ` at the real part of `g (h ⊕ 1)` times the indicator |
| 556 | function of the level `a` at the finite part of `h`. -/ |
| 557 | lemma New.Exchange.poincareKernel_mul_inlLine {E n : Type} {s : n → ℤˣ} [Field E] [CMType E] |
| 558 | [Fintype n] [DecidableEq n] (φ : GInf E (s ⊕ᵥ (1 : Unit → ℤˣ)) → ℂ) |
| 559 | {a : NumberField.RingOfIntegers E} {g : G E (s ⊕ᵥ (1 : Unit → ℤˣ))} |
| 560 | (hg : g.2 ∈ principalLevel (n ⊕ Unit) a) (h : G E s) : |
| 561 | poincareKernel φ (principalLevel (n ⊕ Unit) a) (g * inlLine E s h) = |
| 562 | φ (g.1 * inl s 1 ∘ h.1) * indicator (principalLevel n a) 1 h.2 := by |
| 563 | have real_eq : (g * inlLine E s h).1 = g.1 * inl s 1 ∘ h.1 := rfl |
| 564 | have mem_iff : |
| 565 | g.2 * (inlLine E s h).2 ∈ principalLevel (n ⊕ Unit) a ↔ h.2 ∈ principalLevel n a := |
| 566 | (mul_mem_cancel_left hg).trans (inlLine_snd_mem_principalLevel_iff h) |
| 567 | by_cases h_mem : h.2 ∈ principalLevel n a <;> simp [poincareKernel, real_eq, h_mem, mem_iff] |
| 568 | |
| 569 | /-- Decay of one term of a Poincaré series over a CM field `E`. The kernel `poincareKernel φ K g` is |
| 570 | `φ` at the real part of `g` times the indicator function of `K` at its finite part. Here |
| 571 | `φ = translatedCoeff l α ω` is the product over the infinite places `w` of the conjugated discrete |
| 572 | series coefficients of parameters `l w` at `(α w)⁻¹ * g w * ω w`, and `K` is the principal level |
| 573 | `a`. Let each `l w` have a large gap for `2 A`, with `A > 8 (card n + 1)²`, and let `g (k ⊕ 1)` have |
| 574 | finite part of level `a ≠ 0`. Let `t > 0` bound below the products over the infinite places of the |
| 575 | operator norms of `g (h ⊕ 1)`. Then the kernel at `g (h ⊕ 1)` is integrable in `h`. Its `L¹` norm is |
| 576 | at most the volume of the principal level `a` in `Gf E n` times `sliceConst A α ω * t⁻¹ ^ A`. -/ |
| 577 | lemma New.Exchange.integral_norm_poincareKernel_le {E n : Type} {s : n → ℤˣ} [Field E] [CMType E] |
| 578 | [Fintype n] [DecidableEq n] {a : NumberField.RingOfIntegers E} (ha : a ≠ 0) |
| 579 | {A : ℕ} {l : NumberField.InfinitePlace E → HCParam (s ⊕ᵥ (1 : Unit → ℤˣ))} |
| 580 | (hA_sq : 8 * (card n + 1) ^ 2 < A) |
| 581 | (h_gap : ∀ w : NumberField.InfinitePlace E, (l w).HasLargeGap (2 * A)) |
| 582 | (ω α : GInf E (s ⊕ᵥ (1 : Unit → ℤˣ))) {g : G E (s ⊕ᵥ (1 : Unit → ℤˣ))} {k : G E s} |
| 583 | (hk : (g * inlLine E s k).2 ∈ principalLevel (n ⊕ Unit) a) {t : ℝ} (ht : 0 < t) |
| 584 | (ht_le : ∀ h : G E s, t ≤ ∏ w : NumberField.InfinitePlace E, |
| 585 | ‖((g * inlLine E s h).1 w : Matrix (n ⊕ Unit) (n ⊕ Unit) ℂ)‖) : |
| 586 | Integrable (fun h : G E s ↦ |
| 587 | poincareKernel (translatedCoeff l α ω) (principalLevel (n ⊕ Unit) a) (g * inlLine E s h)) ∧ |
| 588 | ∫ h : G E s, |
| 589 | ‖poincareKernel (translatedCoeff l α ω) (principalLevel (n ⊕ Unit) a) (g * inlLine E s h)‖ ≤ |
| 590 | volume.real (principalLevel n a : Set (Gf E n)) * sliceConst A α ω * t⁻¹ ^ A := by |
| 591 | -- Translated by `k`, the kernel is the slice `ψ` times the indicator function of the level. |
| 592 | let kernel (h : G E s) : ℂ := |
| 593 | poincareKernel (translatedCoeff l α ω) (principalLevel (n ⊕ Unit) a) (g * inlLine E s h) |
| 594 | let ψ (r : GInf E s) : ℂ := translatedCoeff l α ω ((g * inlLine E s k).1 * inl s 1 ∘ r) |
| 595 | have kernel_eq (h : G E s) : kernel (k * h) = ψ h.1 * indicator (principalLevel n a) 1 h.2 := by |
| 596 | simp only [kernel, map_mul, ← mul_assoc] |
| 597 | exact poincareKernel_mul_inlLine _ hk h |
| 598 | have slice_ge (r : GInf E s) : t ≤ ∏ w : NumberField.InfinitePlace E, |
| 599 | ‖((g * inlLine E s k).1 w * inl s 1 (r w)).val.val‖ := by |
| 600 | have h_le := ht_le (k * (r, 1)) |
| 601 | rwa [map_mul, ← mul_assoc] at h_le |
| 602 | obtain ⟨ψ_int, ψ_le⟩ : Integrable ψ ∧ ∫ r : GInf E s, ‖ψ r‖ ≤ sliceConst A α ω * t⁻¹ ^ A := |
| 603 | integrable_translatedCoeff_and_integral_norm_le hA_sq h_gap ω α _ ht slice_ge |
| 604 | have shifted_int : Integrable fun h : G E s ↦ kernel (k * h) := by |
| 605 | simpa only [kernel_eq] using integrable_mul_indicator ha ψ_int |
| 606 | refine ⟨by simpa using shifted_int.comp_mul_left k⁻¹, ?_⟩ |
| 607 | calc ∫ h : G E s, ‖kernel h‖ |
| 608 | _ = ∫ h : G E s, ‖kernel (k * h)‖ := (integral_mul_left_eq_self (‖kernel ·‖) k).symm |
| 609 | _ = (∫ r : GInf E s, ‖ψ r‖) * volume.real (principalLevel n a : Set (Gf E n)) := by |
| 610 | simp_rw [kernel_eq] |
| 611 | exact integral_norm_mul_indicator ha ψ |
| 612 | _ ≤ volume.real (principalLevel n a : Set (Gf E n)) * sliceConst A α ω * t⁻¹ ^ A := by |
| 613 | grw [ψ_le, mul_comm, mul_assoc] |
| 614 | |
| 615 | /-- The packing bound. Let the points `col i` of a real normed space of finite dimension at most |
| 616 | `A - 2` have mutual distances at least `d²`, and let `‖col base‖ ≤ d` with `d ≥ 10`. Then the sum |
| 617 | of `(d / ‖col i‖) ^ A` over `i ≠ base` converges and is at most `10 / d`. -/ |
| 618 | lemma New.Exchange.tsum_div_norm_pow_le_of_separated {ι X : Type*} [NormedAddCommGroup X] |
| 619 | [NormedSpace ℝ X] [FiniteDimensional ℝ X] {col : ι → X} {base : ι} {d : ℝ} {A : ℕ} |
| 620 | (hd_ten_le : 10 ≤ d) (h_sep : Pairwise fun i j : ι ↦ d ^ 2 ≤ ‖col i - col j‖) |
| 621 | (h_base : ‖col base‖ ≤ d) (hA : Module.finrank ℝ X + 2 ≤ A) : |
| 622 | Summable (fun i : Elem {base}ᶜ ↦ (d / ‖col i‖) ^ A) ∧ |
| 623 | ∑' i : Elem {base}ᶜ, (d / ‖col i‖) ^ A ≤ 10 / d := by |
| 624 | have d_pos : 0 < d := by linarith |
| 625 | -- away from `base`, norms and mutual distances are at least `d ^ 2 / 2` |
| 626 | have norm_ge (i : Elem {base}ᶜ) : d ^ 2 / 2 ≤ ‖col i‖ := by |
| 627 | nlinarith only [h_sep i.property, norm_sub_le (col i) (col base), h_base, hd_ten_le] |
| 628 | have dist_ge : Pairwise fun i j : Elem {base}ᶜ ↦ d ^ 2 / 2 ≤ ‖col i - col j‖ := |
| 629 | fun i j h_ne ↦ (half_le_self (sq_nonneg d)).trans (h_sep (mt Subtype.ext h_ne)) |
| 630 | obtain ⟨summable, tsum_le⟩ : Summable (fun i : Elem {base}ᶜ ↦ ‖col i‖⁻¹ ^ A) ∧ |
| 631 | ∑' i : Elem {base}ᶜ, ‖col i‖⁻¹ ^ A ≤ (5 / (d ^ 2 / 2)) ^ A := |
| 632 | tsum_inv_pow_le_of_separated (by positivity) dist_ge norm_ge hA |
| 633 | simp_rw [div_eq_mul_inv d, mul_pow] |
| 634 | refine ⟨summable.mul_left _, ?_⟩ |
| 635 | calc ∑' i : Elem {base}ᶜ, d ^ A * ‖col i‖⁻¹ ^ A |
| 636 | _ ≤ (d * (5 / (d ^ 2 / 2))) ^ A := by grw [tsum_mul_left, tsum_le, mul_pow] |
| 637 | _ = (10 / d) ^ A := by |
| 638 | congr 1 |
| 639 | field |
| 640 | _ ≤ 10 / d := pow_le_of_le_one (by positivity) ((div_le_one d_pos).2 hd_ten_le) (by omega) |
| 641 | |
| 642 | /-- The period of a Poincaré series of deep level is its main term, up to a small error. Let `E` |
| 643 | have a primitive root of unity of order `5040` and let `F` be automorphic on `V` of level `a ≠ 0` |
| 644 | and bounded by `S`. Let the parameters `l w` for `V ⊕ ⟨1⟩` have a large gap for `2 A`, and let |
| 645 | `φ = translatedCoeff l α ω`, the product over the infinite places `w` of their conjugated discrete |
| 646 | series coefficients at `(α w)⁻¹ * g w * ω w`. Let `|a| ≥ R ≥ 0` at all infinite places and |
| 647 | `d² ≤ R λ`, where `λ = (V.move x).firstMinimum` is the least length of a nonzero lattice vector at |
| 648 | the point `x`, cut off at `1`. Let `d ≥ 10` be at least the number `f` of infinite places, |
| 649 | `A ≥ 2 f (N + 1) + 2` and `A > 8 (N + 1)²` for `N = card n`. Then the function `ψ : r ↦ φ (r ⊕ 1)` |
| 650 | on the real group of `V` is integrable. The period against `F` of the series with centre `x ⊕ 1` |
| 651 | differs from the volume of `principalLevel n a` times `realConv ψ F x` by at most that volume times |
| 652 | `sliceConst A α ω * S * (10 / d)`. -/ |
| 653 | lemma New.Exchange.norm_poincare_period_sub_le {E n : Type} {s : n → ℤˣ} [Field E] [CMType E] |
| 654 | [Fintype n] [DecidableEq n] {V : Space E n s} [HasPrimitiveRoot5040 E] |
| 655 | {F : G E s → ℂ} {S : ℝ} {a : NumberField.RingOfIntegers E} {R : ℝ} {A : ℕ} {d : ℝ} |
| 656 | (hF : V.IsAutomorphic F) (hS : ∀ g : G E s, ‖F g‖ ≤ S) (ha : a ≠ 0) |
| 657 | {l : NumberField.InfinitePlace E → HCParam (s ⊕ᵥ (1 : Unit → ℤˣ))} |
| 658 | (hF_level : HasLevel F (principalLevel n a)) |
| 659 | (hR_le : ∀ w : NumberField.InfinitePlace E, R ≤ ‖Φ w (a : E)‖) |
| 660 | (hA : 2 * Core.numInfPlaces E * (card n + 1) + 2 ≤ A) (hA_sq : 8 * (card n + 1) ^ 2 < A) |
| 661 | (h_gap : ∀ w : NumberField.InfinitePlace E, (l w).HasLargeGap (2 * A)) (hR_nonneg : 0 ≤ R) |
| 662 | (x : G E s) (h_sep : d ^ 2 ≤ R * (V.move x).firstMinimum) (hd : Core.numInfPlaces E ≤ d) |
| 663 | (hd_ten_le : 10 ≤ d) (ω α : GInf E (s ⊕ᵥ (1 : Unit → ℤˣ))) : |
| 664 | Integrable (fun r : GInf E s ↦ translatedCoeff l α ω (inl s 1 ∘ r)) ∧ |
| 665 | ‖∫ h : G E s, ∑' γ : (V.sum (signedSpace (n := Unit) E 1)).Γ, |
| 666 | poincareKernel (translatedCoeff l α ω) (principalLevel (n ⊕ Unit) a) |
| 667 | ((inlLine E s x)⁻¹ * γ * inlLine E s h) * F h ∂V.quotMeasure - |
| 668 | volume.real (principalLevel n a : Set (Gf E n)) • |
| 669 | realConv (fun r : GInf E s ↦ translatedCoeff l α ω (inl s 1 ∘ r)) F x‖ ≤ |
| 670 | volume.real (principalLevel n a : Set (Gf E n)) * sliceConst A α ω * S * (10 / d) := by |
| 671 | -- Unfold the period over the cosets `γ` of `V.Γ` in `Z.Γ`; only those that can meet the level |
| 672 | -- condition contribute. The coset of `1` is the main term. The others are indexed by their last |
| 673 | -- columns `col γ`, which are `d ^ 2`-separated, and the term of `γ` decays like `‖col γ‖⁻¹ ^ A`. |
| 674 | set Z : Space E (n ⊕ Unit) (s ⊕ᵥ 1) := V.sum (signedSpace (n := Unit) E 1) |
| 675 | set vol : ℝ := volume.real (principalLevel n a : Set (Gf E n)) |
| 676 | let transl (γ : Z.Γ) (h : G E s) : G E (s ⊕ᵥ 1) := (inlLine E s x)⁻¹ * γ.val * inlLine E s h |
| 677 | let kernel (g : G E (s ⊕ᵥ 1)) : ℂ := |
| 678 | poincareKernel (translatedCoeff l α ω) (principalLevel (n ⊕ Unit) a) g |
| 679 | let term (γ : Z.Γ) (h : G E s) : ℂ := kernel (transl γ h) * F h |
| 680 | have slice_int (g : GInf E (s ⊕ᵥ 1)) : |
| 681 | Integrable fun r : GInf E s ↦ translatedCoeff l α ω (g * inl s 1 ∘ r) := |
| 682 | (integrable_translatedCoeff_and_integral_norm_le hA_sq h_gap ω α g one_pos |
| 683 | fun r ↦ (le_prod_opNorm fun w ↦ g w * inl s 1 (r w)).1).1 |
| 684 | refine ⟨by simpa only [one_mul] using slice_int 1, ?_⟩ |
| 685 | have d_pos : 0 < d := by linarith |
| 686 | have S_nonneg : 0 ≤ S := (norm_nonneg _).trans (hS x) |
| 687 | -- `reps` represents the cosets, `supp` those meeting the level condition, `base` is that of `1` |
| 688 | obtain ⟨reps, hC, one_mem⟩ := ((inlLine E s).range.subgroupOf Z.Γ).exists_isComplement_left 1 |
| 689 | have : Countable reps := reps.to_countable.to_subtype |
| 690 | let supp : Set reps := {γ : reps | ∃ k : G E s, (transl γ k).2 ∈ principalLevel (n ⊕ Unit) a} |
| 691 | obtain ⟨k, hk⟩ : |
| 692 | ∃ k : supp → G E s, ∀ γ : supp, (transl γ (k γ)).2 ∈ principalLevel (n ⊕ Unit) a := |
| 693 | Classical.skolem.1 fun γ : supp ↦ γ.property |
| 694 | let base : supp := ⟨⟨1, one_mem⟩, x, by simp [transl]⟩ |
| 695 | -- `col γ`: the last column of `γ` in the Euclidean coordinates at `x ⊕ 1` |
| 696 | obtain ⟨y, hy⟩ : ∃ y : Z.Γ → n ⊕ Unit → E, ∀ γ : Z.Γ, V.IsLastColumn γ (y γ) := |
| 697 | Classical.skolem.1 V.exists_isLastColumn |
| 698 | let col (γ : supp) : EuclideanSpace ℂ (NumberField.InfinitePlace E × (n ⊕ Unit)) := |
| 699 | (Z.move (inlLine E s x)).archCoords (y γ) |
| 700 | have separated : Pairwise fun γ γ' : supp ↦ d ^ 2 ≤ ‖col γ - col γ'‖ := by |
| 701 | intro γ γ' h_ne |
| 702 | -- if the columns agreed, `γ⁻¹ * γ'` would lie in the image of `inlLine E s`, so `γ = γ'` |
| 703 | have y_ne : y γ ≠ y γ' := by |
| 704 | intro y_eq |
| 705 | have hγ' : V.IsLastColumn γ' (y γ) := by simpa only [y_eq] using hy γ' |
| 706 | exact h_ne (Subtype.ext (hC.leftQuotientEquiv.symm.injective |
| 707 | (QuotientGroup.eq.2 ((hy γ).inv_mul_mem_range hγ')))) |
| 708 | rw [← map_sub] |
| 709 | exact h_sep.trans |
| 710 | ((hy γ).le_norm_archCoords_sub (hy γ') y_ne ha (hk γ) (hk γ') hR_nonneg hR_le) |
| 711 | have norm_base_le : ‖col base‖ ≤ d := ((hy 1).norm_archCoords_one_le x).trans hd |
| 712 | obtain ⟨summable, tsum_le⟩ : Summable (fun γ : Elem {base}ᶜ ↦ (d / ‖col γ‖) ^ A) ∧ |
| 713 | ∑' γ : Elem {base}ᶜ, (d / ‖col γ‖) ^ A ≤ 10 / d := |
| 714 | tsum_div_norm_pow_le_of_separated hd_ten_le separated norm_base_le |
| 715 | (by simpa [← mul_assoc, finrank_real_of_complex]) |
| 716 | have kernel_int (γ : supp) : Integrable fun h : G E s ↦ kernel (transl γ h) := |
| 717 | (integral_norm_poincareKernel_le ha hA_sq h_gap ω α (hk γ) one_pos fun h ↦ |
| 718 | (le_prod_opNorm (transl γ h).1).1).1 |
| 719 | have term_int (γ : supp) : Integrable (term γ) := |
| 720 | (kernel_int γ).mul_bdd hF.continuous.aestronglyMeasurable (.of_forall hS) |
| 721 | -- the decay: the product of the local operator norms of `transl γ h` is at least `‖col γ‖ / d` |
| 722 | have term_le (γ : Elem {base}ᶜ) : |
| 723 | ∫ h, ‖term γ h‖ ≤ vol * sliceConst A α ω * S * (d / ‖col γ‖) ^ A := by |
| 724 | have col_pos : 0 < ‖col γ‖ := by |
| 725 | nlinarith only [separated γ.property, norm_sub_le (col γ) (col base), norm_base_le, hd_ten_le] |
| 726 | have norm_transl_ge (h : G E s) : |
| 727 | ‖col γ‖ / d ≤ ∏ w, ‖((transl γ h).1 w : Matrix (n ⊕ Unit) (n ⊕ Unit) ℂ)‖ := by |
| 728 | have column_le : ‖col γ‖ ≤ |
| 729 | (∏ w, ‖((transl γ h).1 w : Matrix (n ⊕ Unit) (n ⊕ Unit) ℂ)‖) * Core.numInfPlaces E := |
| 730 | (hy γ).norm_archCoords_le x h |
| 731 | grw [div_le_iff₀ d_pos, column_le, hd] |
| 732 | have kernel_le : ∫ h, ‖kernel (transl γ h)‖ ≤ vol * sliceConst A α ω * (‖col γ‖ / d)⁻¹ ^ A := |
| 733 | (integral_norm_poincareKernel_le ha hA_sq h_gap ω α (hk γ) (div_pos col_pos d_pos) |
| 734 | norm_transl_ge).2 |
| 735 | calc |
| 736 | ∫ h, ‖term γ h‖ ≤ ∫ h, ‖kernel (transl γ h)‖ * S := |
| 737 | integral_mono (term_int γ).norm ((kernel_int γ).norm.mul_const S) fun h ↦ by |
| 738 | grw [norm_mul, hS] |
| 739 | _ ≤ vol * sliceConst A α ω * S * (d / ‖col γ‖) ^ A := by |
| 740 | grw [integral_mul_const, kernel_le, inv_div, mul_right_comm] |
| 741 | -- the sum over `Z.Γ` is a sum over cosets in `supp` and elements of `V.Γ` |
| 742 | have tsum_eq (h : G E s) : ∑' γ : Z.Γ, term γ h = ∑' q : supp × V.Γ, term q.1 (q.2 * h) := by |
| 743 | let p (g : G E (s ⊕ᵥ 1)) : ℂ := kernel ((inlLine E s x)⁻¹ * g * inlLine E s h) * F h |
| 744 | have p_supp (σ : reps) (δ : G E s) (h_ne : p (σ * inlLine E s δ) ≠ 0) : σ ∈ supp := by |
| 745 | have level : ((inlLine E s x)⁻¹ * (σ * inlLine E s δ) * inlLine E s h).2 ∈ |
| 746 | principalLevel (n ⊕ Unit) a := |
| 747 | mem_of_indicator_ne_zero (right_ne_zero_of_mul (left_ne_zero_of_mul h_ne)) |
| 748 | exact ⟨δ * h, by simpa [transl, mul_assoc] using level⟩ |
| 749 | have cosets : ∑' γ : Z.Γ, p γ = ∑' q : supp × V.Γ, p (q.1 * inlLine E s q.2) := |
| 750 | V.tsum_eq_tsum_cosets hC p_supp |
| 751 | simpa [hF.rat_mul, p, term, transl, mul_assoc] using cosets |
| 752 | -- unfolding over `V.Γ` turns the period into the sum of the integrals of `term γ` over the group |
| 753 | have summable_norm : Summable fun γ : supp ↦ ∫ h, ‖term γ h‖ := |
| 754 | .compl_add (s := {base}) (.of_nonneg_of_le (fun _ ↦ integral_nonneg fun _ ↦ norm_nonneg _) |
| 755 | term_le (summable.mul_left _)) .of_finite |
| 756 | have period : HasSum (fun γ : supp ↦ ∫ h, term γ h) |
| 757 | (∫ h, ∑' γ : Z.Γ, term γ h ∂V.quotMeasure) := by |
| 758 | simp_rw [tsum_eq] |
| 759 | exact V.hasSum_integral_of_summable_integral_norm term_int summable_norm |
| 760 | -- at `base`, translate by `x`: as `F` has level `a`, the integral is `vol` times the convolution |
| 761 | have main_term : ∫ h, term base h = |
| 762 | vol • realConv (fun r : GInf E s ↦ translatedCoeff l α ω (inl s 1 ∘ r)) F x := by |
| 763 | have kernel_base (h : G E s) : kernel (transl base (x * h)) = |
| 764 | translatedCoeff l α ω (inl s 1 ∘ h.1) * indicator (principalLevel n a) 1 h.2 := by |
| 765 | simpa [kernel, transl, base] using |
| 766 | poincareKernel_mul_inlLine (translatedCoeff l α ω) (g := 1) (Subgroup.one_mem _) h |
| 767 | rw [← integral_mul_left_eq_self _ x, ← integral_mul_indicator_mul_eq_smul_realConv ha hF_level] |
| 768 | simp only [term, kernel_base] |
| 769 | have rest : HasSum (fun γ : Elem {base}ᶜ ↦ ∫ h, term γ h) |
| 770 | (∫ h, ∑' γ : Z.Γ, term γ h ∂V.quotMeasure - ∫ h, term base h) := |
| 771 | (hasSum_singleton ..).hasSum_iff_compl.1 period |
| 772 | have const_nonneg : 0 ≤ sliceConst A α ω := Finset.prod_nonneg fun w _ ↦ by positivity |
| 773 | rw [← main_term] |
| 774 | calc |
| 775 | _ ≤ vol * sliceConst A α ω * S * ∑' γ : Elem {base}ᶜ, (d / ‖col γ‖) ^ A := |
| 776 | rest.norm_le_of_bounded (summable.hasSum.mul_left _) |
| 777 | fun γ ↦ (norm_integral_le_integral_norm _).trans (term_le γ) |
| 778 | _ ≤ vol * sliceConst A α ω * S * (10 / d) := by grw [tsum_le] |
| 779 | |
| 780 | end DeepLevelPeriod |