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.Analysis.Normed.Group.Tannery |
| 5 | import Mathlib.Data.Finset.Functor |
| 6 | import Mathlib.Topology.Algebra.Group.Units |
| 7 | public import Lib.SiegelWeil.UnramifiedSeries.VacuumCoefficients |
| 8 | public import Lib.Adelic.AutomorphicForms.Basic |
| 9 | import Lib.Adelic.Adeles.StrongApproximation |
| 10 | import Lib.SiegelWeil.RallisInner.VacuumSummability |
| 11 | |
| 12 | /-! |
| 13 | # The series of translates weighted by the coefficients of the vacuum |
| 14 | |
| 15 | This file proves, for `2 n < m`, that the series `New.SiegelWeil.rallisSeries` converges uniformly |
| 16 | (the coefficients are absolutely summable by `New.SiegelWeil.summable_norm_vacuumCoeff`, from the |
| 17 | doubling formula), that it keeps levels and forms and that it is multiplicative over the places. The |
| 18 | last section defines the sum of the coefficients `New.SiegelWeil.vacuumSum` and writes it as a |
| 19 | product over the pairs of conjugate places. |
| 20 | |
| 21 | Let `G_f` be the finite adelic unitary group of rank `n` over the CM field `E`, and let `A` be a set |
| 22 | of finite places. The series `∑ mc(γ) R(γ) y` runs over the cosets `γ` of the points integral at |
| 23 | `A`; here `R` is right translation and `mc(γ)` is the coefficient of the vacuum for a second space |
| 24 | of rank `m`, of modulus `[γ L : L ∩ γ L] ^ (-m / 2)` for the standard lattice `L`. In the inner |
| 25 | product formula `A` is the set of the places off the level and its conjugate. |
| 26 | |
| 27 | ## Main definitions and results |
| 28 | |
| 29 | * `New.SiegelWeil.exists_form_eq_rallisSeries`: the series keeps forms and their levels. |
| 30 | * `New.SiegelWeil.rallisSeries_union`: the series is multiplicative over the places. |
| 31 | |
| 32 | Notions from other files: |
| 33 | * `localLevel n A`: the points of `G_f` integral at the places of `A`; `stdLevel E n`: the points |
| 34 | integral at all finite places; `supportedOn n A`: the points with component `1` outside `A` and |
| 35 | its conjugate, whose union is `A.conjClosure`. |
| 36 | * `HasLevel y K`: right translation by each point of `K` fixes the function `y` on the adelic points |
| 37 | `G E s`, the products of a point of `GInf E s` (the real points, the only part that depends on the |
| 38 | signs `s : n → ℤˣ`) and a point of `Gf E n`. |
| 39 | * `New.SiegelWeil.rallisSeries M b A y`: the series `∑ mc(q) R(q) y`, with coefficient |
| 40 | `New.SiegelWeil.vacuumCoeff M b` and right translation taken at `New.SiegelWeil.cosetRep q`. |
| 41 | * `New.SiegelWeil.IsUnramifiedOn`: `b ∘ det` is trivial on the integral finite points supported on |
| 42 | `A` and its conjugate. |
| 43 | |
| 44 | ## Relation to the literature |
| 45 | |
| 46 | Part of a known result: non-vanishing of theta lifts in large rank. See |
| 47 | `Lib.SiegelWeil.RallisInner.SharpData`. The series is the contribution of the unramified places to |
| 48 | Rallis' inner product formula, left as a sum over cosets instead of being evaluated as an L-value; |
| 49 | for the constant `1` in rank one it is evaluated in `New.vacuumSum_eq_L_div_eulerProd`. |
| 50 | -/ |
| 51 | |
| 52 | @[expose] public section |
| 53 | |
| 54 | noncomputable section |
| 55 | |
| 56 | namespace New.SiegelWeil |
| 57 | |
| 58 | open Matrix MeasureTheory Fintype Space Gf G WeilData NumberField Rows |
| 59 | |
| 60 | variable {E n m : Type} [Field E] [CMType E] [WeilData E] [Fintype n] [DecidableEq n] [Fintype m] |
| 61 | {s : n → ℤˣ} {b : AutChar E} {A : Set (FinPlace E)} {y : G E s → ℂ} |
| 62 | |
| 63 | /-! ### Convergence, level and forms -/ |
| 64 | |
| 65 | /-- For `2 * card n < card m` and `y` bounded, the series `rallisSeries` converges uniformly: its |
| 66 | partial sums over finite sets of cosets tend to it uniformly. -/ |
| 67 | lemma tendstoUniformly_rallisSeries (h_rank : 2 * card n < card m) (b : AutChar E) |
| 68 | (A : Set (FinPlace E)) (hy : ∃ C : ℝ, ∀ g : G E s, ‖y g‖ ≤ C) : |
| 69 | TendstoUniformly |
| 70 | (fun (Q : Finset (Gf E n ⧸ localLevel n A)) (g : G E s) ↦ |
| 71 | ∑ q ∈ Q, vacuumCoeff (card m) b (cosetRep q).val * y (g * (1, (cosetRep q).val))) |
| 72 | (rallisSeries (card m) b A y) Filter.atTop := by |
| 73 | obtain ⟨C, hC⟩ := hy |
| 74 | exact tendstoUniformly_tsum ((summable_norm_vacuumCoeff h_rank b A).mul_right C) |
| 75 | fun q g ↦ norm_mul_le_of_le le_rfl (hC _) |
| 76 | |
| 77 | /-- For `2 * card n < card m` and `y` bounded by `C`, the series `rallisSeries` is bounded by `C` |
| 78 | times the sum of the moduli of the coefficients of the vacuum. -/ |
| 79 | lemma norm_rallisSeries_le (h_rank : 2 * card n < card m) (b : AutChar E) |
| 80 | (A : Set (FinPlace E)) {C : ℝ} (hC : ∀ g : G E s, ‖y g‖ ≤ C) (g : G E s) : |
| 81 | ‖rallisSeries (card m) b A y g‖ ≤ |
| 82 | (∑' q : Gf E n ⧸ localLevel n A, ‖vacuumCoeff (card m) b (cosetRep q).val‖) * C := |
| 83 | tsum_of_norm_bounded ((summable_norm_vacuumCoeff h_rank b A).hasSum.mul_right C) |
| 84 | fun _ ↦ norm_mul_le_of_le le_rfl (hC _) |
| 85 | |
| 86 | /-- For `2 * card n < card m` and `y` continuous and bounded, the series `rallisSeries` is |
| 87 | continuous. -/ |
| 88 | lemma continuous_rallisSeries (h_rank : 2 * card n < card m) (b : AutChar E) |
| 89 | (A : Set (FinPlace E)) (hy_cont : Continuous y) (hy_bdd : ∃ C : ℝ, ∀ g : G E s, ‖y g‖ ≤ C) : |
| 90 | Continuous (rallisSeries (card m) b A y) := |
| 91 | (tendstoUniformly_rallisSeries h_rank b A hy_bdd).continuous |
| 92 | (.of_forall fun _ ↦ by fun_prop) |
| 93 | |
| 94 | /-- The series `rallisSeries M b A y` is `∑_q vacuumCoeff M b (cosetRep q) · R(cosetRep q) y`, a sum |
| 95 | of right translates of a function `y` on the adelic points `G E s`. The sum runs over the cosets |
| 96 | `q`, in the finite points, of the subgroup of points integral at `A`, with representatives supported |
| 97 | on `A` and its conjugate. The series commutes with left translations with no convergence hypothesis: |
| 98 | applied to `g' ↦ y (x * g')` and evaluated at `g`, it equals `rallisSeries M b A y` at `x * g`. -/ |
| 99 | lemma rallisSeries_comp_mul_left (M : ℕ) (b : AutChar E) (A : Set (FinPlace E)) (y : G E s → ℂ) |
| 100 | (x g : G E s) : |
| 101 | rallisSeries M b A (fun g' : G E s ↦ y (x * g')) g = rallisSeries M b A y (x * g) := by |
| 102 | simp only [rallisSeries, mul_assoc] |
| 103 | |
| 104 | /-- Let `b ∘ det` be trivial on the integral points supported on `A` and its conjugate, and let `y` |
| 105 | be fixed by these points. A finite point `k` integral at `A` that fixes `y` also fixes |
| 106 | `rallisSeries M b A y`, the series of translates of `y` weighted by the coefficients of the |
| 107 | vacuum. -/ |
| 108 | lemma rallisSeries_mul_of_mem_localLevel (hb : IsUnramifiedOn b n A) (M : ℕ) |
| 109 | (hy : HasLevel y (stdLevel E n ⊓ supportedOn n A)) {k : Gf E n} (hk : k ∈ localLevel n A) |
| 110 | (hk_fix : ∀ g : G E s, y (g * (1, k)) = y g) (g : G E s) : |
| 111 | rallisSeries M b A y (g * (1, k)) = rallisSeries M b A y g := by |
| 112 | -- Write `k = a * d` with `a` supported on `A` and its conjugate and `d` trivial at `A`. Both fix |
| 113 | -- `y`; `d` commutes with the representatives, and `a` permutes the cosets. |
| 114 | obtain ⟨a, ha : a ∈ supportedOn n A, d, hd : d ∈ trivialOn n A, rfl : k = a * d, -⟩ := |
| 115 | k.exists_supportedOn_mul_trivialOn A |
| 116 | have d_int : d ∈ localLevel n A := fun w hw ↦ by simp [mem_trivialOn.1 hd w hw] |
| 117 | have a_int : a ∈ localLevel n A := (mul_mem_cancel_right d_int).1 hk |
| 118 | have a_level : a ∈ stdLevel E n ⊓ supportedOn n A := |
| 119 | Subgroup.mem_inf.2 ⟨(mem_stdLevel_iff_of_supportedOn ha).2 a_int, ha⟩ |
| 120 | have d_fix (g : G E s) : y (g * (1, d)) = y g := by |
| 121 | rw [show g * (1, d) = g * (1, a⁻¹) * (1, a * d) by simp [mul_assoc], hk_fix, |
| 122 | hy a⁻¹ (inv_mem a_level)] |
| 123 | let term (g : G E s) (q : Gf E n ⧸ localLevel n A) : ℂ := |
| 124 | vacuumCoeff M b (cosetRep q).val * y (g * (1, (cosetRep q).val)) |
| 125 | have h_term (q : Gf E n ⧸ localLevel n A) : term (g * (1, a * d)) q = term g (a • q) := by |
| 126 | set r : Gf E n := (cosetRep q).val with h_rep |
| 127 | have hr : r ∈ supportedOn n A := (cosetRep q).property |
| 128 | have h_coset : a • q = (a * r : Gf E n) := by |
| 129 | rw [← smul_eq_mul, ← MulAction.Quotient.smul_mk, mk_cosetRep] |
| 130 | have h_coeff : vacuumCoeff M b (a * r) = vacuumCoeff M b r := by |
| 131 | simpa using vacuumCoeff_mul_mul_of_mem hb M a_level (one_mem _) r |
| 132 | have h_comm : g * (1, a * d) * (1, r) = g * (1, a * r) * (1, d) := by |
| 133 | simp [mul_assoc, (commute_supportedOn_trivialOn hr hd).eq] |
| 134 | simp only [term, h_coset, vacuumCoeff_mul_apply_cosetRep hb M hy (mul_mem ha hr), ← h_rep, |
| 135 | h_coeff, h_comm, d_fix] |
| 136 | rw [rallisSeries, rallisSeries] |
| 137 | calc ∑' q, term (g * (1, a * d)) q = ∑' q, term g (a • q) := tsum_congr h_term |
| 138 | _ = ∑' q, term g q := (MulAction.toPerm a).tsum_eq (term g) |
| 139 | |
| 140 | /-- The series `rallisSeries M b A y` (the sum over cosets `q` of the points integral at `A` of the |
| 141 | right translates `R(cosetRep q) y`, weighted by `vacuumCoeff M b (cosetRep q)`) keeps the level. Let |
| 142 | `b ∘ det` be trivial on the integral points supported on `A` and its conjugate (`IsUnramifiedOn`). |
| 143 | Let the subgroup `J` of the finite points contain those points and lie in `localLevel n A`, the |
| 144 | points integral with integral inverse at each place of `A`; then if `y` is right invariant under |
| 145 | `J`, so is `rallisSeries M b A y`. -/ |
| 146 | lemma hasLevel_rallisSeries (hb : IsUnramifiedOn b n A) (M : ℕ) {J : Subgroup (Gf E n)} |
| 147 | (h_ge : stdLevel E n ⊓ supportedOn n A ≤ J) (h_le : J ≤ localLevel n A) (hy : HasLevel y J) : |
| 148 | HasLevel (rallisSeries M b A y) J := fun k hk ↦ |
| 149 | rallisSeries_mul_of_mem_localLevel hb M (fun j hj ↦ hy j (h_ge hj)) (h_le hk) (hy k hk) |
| 150 | |
| 151 | /-- The series `rallisSeries` may be integrated term by term. Let `2 * card n < card m`, let `y` be |
| 152 | bounded and measurable, `f` integrable and `j` measurable. The integral of `f z` times the series |
| 153 | at `j z` is the sum over the cosets `q` of the coefficient of the vacuum at `u = cosetRep q` times |
| 154 | the integral of `f z * y (j z * u)`. -/ |
| 155 | lemma hasSum_integral_mul_rallisSeries (h_rank : 2 * card n < card m) (b : AutChar E) |
| 156 | (A : Set (FinPlace E)) (hy : IsBoundedMeasurable y) {Z : Type*} [MeasurableSpace Z] |
| 157 | {μ : Measure Z} {f : Z → ℂ} (hf : Integrable f μ) {j : Z → G E s} (hj : Measurable j) : |
| 158 | HasSum (fun q : Gf E n ⧸ localLevel n A ↦ vacuumCoeff (card m) b (cosetRep q).val * |
| 159 | ∫ z : Z, f z * y (j z * (1, (cosetRep q).val)) ∂μ) |
| 160 | (∫ z : Z, f z * rallisSeries (card m) b A y (j z) ∂μ) := by |
| 161 | obtain ⟨C, hC⟩ := hy.bounded |
| 162 | let term (q : Gf E n ⧸ localLevel n A) (z : Z) : ℂ := |
| 163 | vacuumCoeff (card m) b (cosetRep q).val * (f z * y (j z * (1, (cosetRep q).val))) |
| 164 | have h_int (q : Gf E n ⧸ localLevel n A) : Integrable (term q) μ := |
| 165 | (hy.integrable_mul_comp hf (fun z ↦ j z * (1, (cosetRep q).val)) (hj.mul_const _)).const_mul _ |
| 166 | have h_le (q : Gf E n ⧸ localLevel n A) : ∫ z, ‖term q z‖ ∂μ ≤ |
| 167 | ‖vacuumCoeff (card m) b (cosetRep q).val‖ * ∫ z, ‖f z‖ * C ∂μ := by |
| 168 | rw [← integral_const_mul] |
| 169 | refine integral_mono (h_int q).norm ((hf.norm.mul_const C).const_mul _) fun z ↦ ?_ |
| 170 | simp only [term, norm_mul] |
| 171 | gcongr |
| 172 | exact hC _ |
| 173 | have h_summable : Summable fun q ↦ ∫ z, ‖term q z‖ ∂μ := |
| 174 | ((summable_norm_vacuumCoeff h_rank b A).mul_right _).of_nonneg_of_le |
| 175 | (fun q ↦ integral_nonneg fun z ↦ norm_nonneg _) h_le |
| 176 | have h_series (z : Z) : ∑' q, term q z = f z * rallisSeries (card m) b A y (j z) := by |
| 177 | simp [term, rallisSeries, ← tsum_mul_left, mul_left_comm] |
| 178 | have : Countable (Gf E n ⧸ localLevel n A) := countable_quotient_localLevel A |
| 179 | simpa only [h_series, term, integral_const_mul] using |
| 180 | hasSum_integral_of_summable_integral_norm h_int h_summable |
| 181 | |
| 182 | /-- For `2 * card n < card m` and `y` bounded and measurable, the series `rallisSeries` commutes |
| 183 | with `realConv κ`, the right convolution by an integrable function `κ` on the real points. -/ |
| 184 | lemma realConv_rallisSeries (h_rank : 2 * card n < card m) (b : AutChar E) |
| 185 | (A : Set (FinPlace E)) (hy : IsBoundedMeasurable y) {κ : GInf E s → ℂ} (hκ : Integrable κ) : |
| 186 | realConv κ (rallisSeries (card m) b A y) = rallisSeries (card m) b A (realConv κ y) := by |
| 187 | ext g |
| 188 | have h_comm (x : GInf E s) (u : Gf E n) : g * (1, u) * (x, 1) = g * (x, 1) * (1, u) := by |
| 189 | simp [mul_assoc] |
| 190 | have h_sum : ∑' q : Gf E n ⧸ localLevel n A, vacuumCoeff (card m) b (cosetRep q).val * |
| 191 | ∫ x, κ x * y (g * (x, 1) * (1, (cosetRep q).val)) = |
| 192 | ∫ x, κ x * rallisSeries (card m) b A y (g * (x, 1)) := |
| 193 | (hasSum_integral_mul_rallisSeries h_rank b A hy hκ (by fun_prop)).tsum_eq |
| 194 | simpa only [rallisSeries, realConv, h_comm] using h_sum.symm |
| 195 | |
| 196 | /-- The Petersson product with the series `rallisSeries` may be taken term by term. Let `S` be a |
| 197 | hermitian space of rank `card n` over `E` with signs `s` and adelic points `G E s`, and let |
| 198 | `⟨y', z⟩ = S.petersson y' z` be the integral of `conj (y' g) * z g` against `S.quotMeasure`, the |
| 199 | measure that computes integrals over the quotient by the rational points of `S`. Let |
| 200 | `2 * card n < card m`, let `y` be bounded and strongly measurable, let `y'` be integrable for this |
| 201 | measure, let `x` be an adelic point, and write `R(x) z` for the translate `g ↦ z (g * x)`. |
| 202 | Let `q` run over the cosets of `localLevel n A`, the finite points integral at `A`, with |
| 203 | representatives `u = cosetRep q`. Then the numbers `vacuumCoeff (card m) b u * ⟨y', R(x u) y⟩`, |
| 204 | where `vacuumCoeff M b u = (b(det u) * finMultiplier u ^ M)⁻¹`, have sum `⟨y', R(x) z⟩` for the |
| 205 | series `z = rallisSeries (card m) b A y = ∑ vacuumCoeff (card m) b u * R(u) y`. -/ |
| 206 | lemma hasSum_petersson_rallisSeries {s : n → ℤˣ} {y : G E s → ℂ} {S : Space E n s} |
| 207 | (h_rank : 2 * card n < card m) (b : AutChar E) (A : Set (FinPlace E)) |
| 208 | (hy : IsBoundedMeasurable y) {y' : G E s → ℂ} (hy' : Integrable y' S.quotMeasure) (x : G E s) : |
| 209 | HasSum (fun q : Gf E n ⧸ localLevel n A ↦ vacuumCoeff (card m) b (cosetRep q).val * |
| 210 | S.petersson y' fun g : G E s ↦ y (g * x * (1, (cosetRep q).val))) |
| 211 | (S.petersson y' fun g : G E s ↦ rallisSeries (card m) b A y (g * x)) := by |
| 212 | have h_conj : Integrable (fun g : G E s ↦ starRingEnd ℂ (y' g)) S.quotMeasure := |
| 213 | Complex.conjCLE.toContinuousLinearMap.integrable_comp hy' |
| 214 | unfold Space.petersson |
| 215 | exact hasSum_integral_mul_rallisSeries h_rank b A hy h_conj (measurable_mul_const x) |
| 216 | |
| 217 | /-- Let `2 * card n < card m` and let `b ∘ det` be trivial on the integral points supported on `A` |
| 218 | and its conjugate (`IsUnramifiedOn`). The series `rallisSeries` of a bounded automorphic function |
| 219 | fixed by these points is automorphic: continuous, invariant on the left by the rational points of |
| 220 | `S` and fixed by an open subgroup of the finite points. -/ |
| 221 | lemma isAutomorphic_rallisSeries {S : Space E n s} (h_rank : 2 * card n < card m) |
| 222 | (hb : IsUnramifiedOn b n A) (hy : S.IsAutomorphic y) (hy_bdd : ∃ C : ℝ, ∀ g : G E s, ‖y g‖ ≤ C) |
| 223 | (h_level : HasLevel y (stdLevel E n ⊓ supportedOn n A)) : |
| 224 | S.IsAutomorphic (rallisSeries (card m) b A y) where |
| 225 | continuous := continuous_rallisSeries h_rank b A hy.continuous hy_bdd |
| 226 | rat_mul δ hδ g := by simp only [← rallisSeries_comp_mul_left, hy.rat_mul δ hδ] |
| 227 | exists_level := by |
| 228 | -- The points of a level `K` of `y` that are integral at `A` form a level of the series. |
| 229 | obtain ⟨K, hK⟩ := hy.exists_level |
| 230 | refine ⟨K ⊓ ⟨localLevel n A, isOpen_coe_localLevel A⟩, fun k hk ↦ ?_⟩ |
| 231 | obtain ⟨k_mem, k_int⟩ : k ∈ K ∧ k ∈ localLevel n A := hk |
| 232 | exact rallisSeries_mul_of_mem_localLevel hb (card m) h_level k_int (hK k k_mem) |
| 233 | |
| 234 | /-- The series `rallisSeries (card m) b A y` is the sum, over the cosets `q` of the finite points |
| 235 | modulo those integral at `A`, of the right translates of `y` by a representative of `q`, each |
| 236 | weighted by the vacuum coefficient `vacuumCoeff (card m) b`; it keeps the forms of each type. Let |
| 237 | `2 * card n < card m` and let `b ∘ det` be unramified on `A`. Let `y` be a form of type `e` for the |
| 238 | hermitian space `S`, meaning it is automorphic, bounded and, if `e` is integrable, fixed by |
| 239 | convolution with `e` over the real points, and let it be right invariant under the integral points |
| 240 | supported on `A` and its conjugate. Then `rallisSeries (card m) b A y` is a form of type `e` for |
| 241 | `S`. -/ |
| 242 | lemma isForm_rallisSeries {S : Space E n s} (h_rank : 2 * card n < card m) |
| 243 | (hb : IsUnramifiedOn b n A) {e : GInf E s → ℂ} (hy : S.IsForm e y) |
| 244 | (h_level : HasLevel y (stdLevel E n ⊓ supportedOn n A)) : |
| 245 | S.IsForm e (rallisSeries (card m) b A y) where |
| 246 | toIsAutomorphic := isAutomorphic_rallisSeries h_rank hb hy.toIsAutomorphic hy.bounded h_level |
| 247 | bounded := by |
| 248 | obtain ⟨C, hC⟩ := hy.bounded |
| 249 | exact ⟨_, norm_rallisSeries_le h_rank b A hC⟩ |
| 250 | realConv_eq he := by |
| 251 | rw [realConv_rallisSeries h_rank b A hy.isBoundedMeasurable he, hy.realConv_eq he] |
| 252 | |
| 253 | /-- The series `rallisSeries (card m) b A` keeps the forms of each type and level for a hermitian |
| 254 | space `S : Space E n s`. This series is `∑ mc(q) R(q) y`, summed over the cosets `q` of the finite |
| 255 | points integral at `A`, with coefficient `vacuumCoeff (card m) b` and right translation taken at |
| 256 | `cosetRep q`. Let `2 * card n < card m`, let `b ∘ det` be unramified on `A`, and let `J` consist of |
| 257 | points integral at `A` and contain the integral points supported on `A` and its conjugate; then the |
| 258 | series of a form `y` of type `e` for `S` (automorphic, bounded and, if `e` is integrable, fixed by |
| 259 | convolution with `e`) that is fixed by `J` is again a form of type `e` for `S` fixed by `J`. -/ |
| 260 | theorem exists_form_eq_rallisSeries {S : Space E n s} (h_rank : 2 * card n < card m) |
| 261 | (hb : IsUnramifiedOn b n A) {J : Subgroup (Gf E n)} (h_ge : stdLevel E n ⊓ supportedOn n A ≤ J) |
| 262 | (h_le : J ≤ localLevel n A) {e : GInf E s → ℂ} {y : S.Form e} (hy : HasLevel y J) : |
| 263 | ∃ z : S.Form e, HasLevel z J ∧ ⇑z = rallisSeries (card m) b A y := by |
| 264 | have h_form : S.IsForm e (rallisSeries (card m) b A y) := |
| 265 | isForm_rallisSeries h_rank hb y.property fun k hk ↦ hy k (h_ge hk) |
| 266 | exact ⟨⟨_, h_form⟩, hasLevel_rallisSeries hb (card m) h_ge h_le hy, rfl⟩ |
| 267 | |
| 268 | /-! ### Multiplicativity over the places -/ |
| 269 | |
| 270 | /-- The series is multiplicative over the places. Let `2 * card n < card m`, let `A₂` be disjoint |
| 271 | from `A₁` and its conjugate, let `b ∘ det` be unramified on `A₁ ∪ A₂`, and let `y` be bounded and |
| 272 | fixed by the integral points supported on `A₁ ∪ A₂` and its conjugate. The series of `y` at |
| 273 | `A₁ ∪ A₂` is the series at `A₁` of the series of `y` at `A₂`. -/ |
| 274 | lemma rallisSeries_union {A₁ A₂ : Set (FinPlace E)} (h_rank : 2 * card n < card m) |
| 275 | (h_disj : Disjoint A₁.conjClosure A₂) (hb : IsUnramifiedOn b n (A₁ ∪ A₂)) |
| 276 | (hy_bdd : ∃ C : ℝ, ∀ g : G E s, ‖y g‖ ≤ C) |
| 277 | (hy : HasLevel y (stdLevel E n ⊓ supportedOn n (A₁ ∪ A₂))) : |
| 278 | rallisSeries (card m) b (A₁ ∪ A₂) y = |
| 279 | rallisSeries (card m) b A₁ (rallisSeries (card m) b A₂ y) := by |
| 280 | ext g |
| 281 | obtain ⟨C, hC⟩ := hy_bdd |
| 282 | let e := localLevelUnionEquiv (n := n) h_disj |
| 283 | let term (q : Gf E n ⧸ localLevel n (A₁ ∪ A₂)) : ℂ := |
| 284 | vacuumCoeff (card m) b (cosetRep q).val * y (g * (1, (cosetRep q).val)) |
| 285 | have h_summable : Summable term := |
| 286 | .of_norm_bounded ((summable_norm_vacuumCoeff h_rank b _).mul_right C) |
| 287 | fun q ↦ norm_mul_le_of_le le_rfl (hC _) |
| 288 | have h_term (q₁ : Gf E n ⧸ localLevel n A₁) (q₂ : Gf E n ⧸ localLevel n A₂) : |
| 289 | term (e (q₁, q₂)) = vacuumCoeff (card m) b (cosetRep q₁).val * |
| 290 | (vacuumCoeff (card m) b (cosetRep q₂).val * |
| 291 | y (g * (1, (cosetRep q₁).val) * (1, (cosetRep q₂).val))) := by |
| 292 | have h_supp : (cosetRep q₁).val * (cosetRep q₂).val ∈ supportedOn n (A₁ ∪ A₂) := |
| 293 | mul_mem (supportedOn_mono Set.subset_union_left (cosetRep _).property) |
| 294 | (supportedOn_mono Set.subset_union_right (cosetRep _).property) |
| 295 | simp only [term, e, localLevelUnionEquiv_apply, vacuumCoeff_mul_apply_cosetRep hb _ hy h_supp, |
| 296 | vacuumCoeff_mul_of_disjoint h_disj _ b (cosetRep q₁).property (cosetRep q₂).property, |
| 297 | mul_assoc, Prod.mk_mul_mk, mul_one] |
| 298 | calc rallisSeries (card m) b (A₁ ∪ A₂) y g = ∑' p, term (e p) := (e.tsum_eq term).symm |
| 299 | _ = ∑' q₁, ∑' q₂, term (e (q₁, q₂)) := (e.summable_iff.2 h_summable).tsum_prod |
| 300 | _ = _ := by simp only [h_term, tsum_mul_left, rallisSeries] |
| 301 | |
| 302 | /-! ### The sum of the coefficients as a product over the places -/ |
| 303 | |
| 304 | variable (n) in |
| 305 | /-- The sum `∑ mc(q)` of the coefficients of the vacuum `mc = vacuumCoeff M b` over the cosets `q`, |
| 306 | in the finite points, of the subgroup of the points integral at `A`, taken at the representatives |
| 307 | `cosetRep q`. It is the value of the series of the constant function `1` (`rallisSeries_const`), |
| 308 | and it is `0` if the terms are not summable. -/ |
| 309 | def vacuumSum (M : ℕ) (b : AutChar E) (A : Set (FinPlace E)) : ℂ := |
| 310 | ∑' q : Gf E n ⧸ localLevel n A, vacuumCoeff M b (cosetRep q).val |
| 311 | |
| 312 | /-- Translations fix a constant function, so its series is the constant times the sum of the |
| 313 | coefficients of the vacuum. -/ |
| 314 | lemma rallisSeries_const (M : ℕ) (b : AutChar E) (A : Set (FinPlace E)) (c : ℂ) : |
| 315 | rallisSeries M b A (fun _ : G E s ↦ c) = fun _ : G E s ↦ vacuumSum n M b A * c := |
| 316 | funext fun _ ↦ tsum_mul_right |
| 317 | |
| 318 | omit [WeilData E] in |
| 319 | /-- If `b ∘ det` is unramified on the set `A` of finite places (`IsUnramifiedOn b n A`), then it is |
| 320 | unramified on every subset `A'` of `A`. -/ |
| 321 | lemma IsUnramifiedOn.mono (hb : IsUnramifiedOn b n A) {A' : Set (FinPlace E)} (h_sub : A' ⊆ A) : |
| 322 | IsUnramifiedOn b n A' := |
| 323 | fun k hk ↦ hb k (inf_le_inf_left (stdLevel E n) (supportedOn_mono h_sub) hk) |
| 324 | |
| 325 | /-- Let `b ∘ det` be unramified on `A`. The coefficient of the vacuum at the chosen representative |
| 326 | of the coset of a point `u` supported on `A` and its conjugate is the coefficient at `u`. -/ |
| 327 | lemma vacuumCoeff_cosetRep_mk (hb : IsUnramifiedOn b n A) (M : ℕ) {u : Gf E n} |
| 328 | (hu : u ∈ supportedOn n A) : |
| 329 | vacuumCoeff M b (cosetRep (u : Gf E n ⧸ localLevel n A)).val = vacuumCoeff M b u := by |
| 330 | simpa only [one_mul, mul_inv_cancel_left] using |
| 331 | vacuumCoeff_mul_mul_of_mem hb M (one_mem _) (inv_mul_cosetRep_mem hu) u |
| 332 | |
| 333 | /-- Let `b ∘ det` be unramified on `A`. The sum `vacuumSum` may be computed with any points `r γ` |
| 334 | that are supported on `A` and its conjugate and represent the cosets of the points integral at |
| 335 | `A`. -/ |
| 336 | lemma vacuumSum_eq_tsum (hb : IsUnramifiedOn b n A) (M : ℕ) {ι : Type*} {r : ι → Gf E n} |
| 337 | (h_supp : ∀ γ : ι, r γ ∈ supportedOn n A) |
| 338 | (h_rep : ∀ g : Gf E n, ∃! γ : ι, (r γ)⁻¹ * g ∈ localLevel n A) : |
| 339 | vacuumSum n M b A = ∑' γ : ι, vacuumCoeff M b (r γ) := by |
| 340 | have h_bij : Function.Bijective fun γ : ι ↦ (r γ : Gf E n ⧸ localLevel n A) := by |
| 341 | refine (Function.bijective_iff_existsUnique _).2 fun q ↦ ?_ |
| 342 | obtain ⟨g, rfl⟩ := QuotientGroup.mk_surjective q |
| 343 | simpa only [QuotientGroup.eq] using h_rep g |
| 344 | rw [vacuumSum, ← (Equiv.ofBijective _ h_bij).tsum_eq] |
| 345 | exact tsum_congr fun γ ↦ vacuumCoeff_cosetRep_mk hb M (h_supp γ) |
| 346 | |
| 347 | /-- Over the empty set of places there is one coset, and the sum `vacuumSum` is `1`. -/ |
| 348 | lemma vacuumSum_empty (M : ℕ) (b : AutChar E) : vacuumSum n M b ∅ = 1 := by |
| 349 | have hb : IsUnramifiedOn b n ∅ := by |
| 350 | rintro k ⟨-, hk_supp⟩ |
| 351 | have hk_one : k = 1 := eq_of_supportedOn hk_supp (one_mem _) (by simp) |
| 352 | simp [hk_one, Prod.mk_one_one] |
| 353 | rw [vacuumSum_eq_tsum hb M (r := fun _ : Unit ↦ 1) (fun _ ↦ one_mem _) (by simp [mem_localLevel]), |
| 354 | vacuumCoeff_eq_one_of_mem hb M (one_mem _), tsum_const, Nat.card_unique, one_smul] |
| 355 | |
| 356 | /-- The sum `vacuumSum` is multiplicative over the places. Let `2 * card n < card m`, let `A₂` be |
| 357 | disjoint from `A₁` and its conjugate, and let `b ∘ det` be unramified on `A₁ ∪ A₂`. The sum at |
| 358 | `A₁ ∪ A₂` is the product of the sums at `A₁` and at `A₂`. -/ |
| 359 | lemma vacuumSum_union {A₁ A₂ : Set (FinPlace E)} (h_rank : 2 * card n < card m) |
| 360 | (h_disj : Disjoint A₁.conjClosure A₂) (hb : IsUnramifiedOn b n (A₁ ∪ A₂)) : |
| 361 | vacuumSum n (card m) b (A₁ ∪ A₂) = |
| 362 | vacuumSum n (card m) b A₁ * vacuumSum n (card m) b A₂ := by |
| 363 | let one : G E (1 : n → ℤˣ) → ℂ := fun _ ↦ 1 |
| 364 | have h_series : rallisSeries (card m) b (A₁ ∪ A₂) one = |
| 365 | rallisSeries (card m) b A₁ (rallisSeries (card m) b A₂ one) := |
| 366 | rallisSeries_union h_rank h_disj hb ⟨1, by simp [one]⟩ fun _ _ _ ↦ rfl |
| 367 | simpa only [one, rallisSeries_const, mul_one] using congrFun h_series 1 |
| 368 | |
| 369 | omit [WeilData E] in |
| 370 | /-- For a CM field `E`, a finite index type `n`, a set `A` of finite places of `E`, and a finite |
| 371 | adelic unitary element `g : Gf E n`, for all large finite sets `R` of finite places (along |
| 372 | `Filter.atTop`) the coset of `g` modulo `localLevel n A` lies in the range of the map sending a |
| 373 | coset `q` modulo `localLevel n (A ∩ R)` to the coset of its representative `cosetRep q` modulo |
| 374 | `localLevel n A`. -/ |
| 375 | private lemma eventually_mem_range_cosetRep_inter (g : Gf E n) : |
| 376 | ∀ᶠ R : Finset (FinPlace E) in Filter.atTop, |
| 377 | (g : Gf E n ⧸ localLevel n A) ∈ |
| 378 | Set.range fun q : Gf E n ⧸ localLevel n (A ∩ R) ↦ |
| 379 | ((cosetRep q).val : Gf E n ⧸ localLevel n A) := by |
| 380 | have h_finite : {w : FinPlace E | g.atPlace w ∉ localIntGL n w}.Finite := |
| 381 | eventually_atPlace_mem_localIntGL |
| 382 | filter_upwards [Filter.eventually_ge_atTop h_finite.toFinset] with R hR |
| 383 | let r : supportedOn n (A ∩ R) := cosetRep (g : Gf E n ⧸ localLevel n (A ∩ R)) |
| 384 | have hr : r.val⁻¹ * g ∈ localLevel n (A ∩ R) := QuotientGroup.eq.1 (mk_cosetRep _) |
| 385 | refine ⟨g, QuotientGroup.eq.2 fun w hw ↦ ?_⟩ |
| 386 | change (r.val⁻¹ * g).atPlace w ∈ localIntGL n w |
| 387 | by_cases hw_mem : w ∈ A ∩ R |
| 388 | · exact hr w hw_mem |
| 389 | by_cases hw_star : star w ∈ A ∩ R |
| 390 | · exact atPlace_star_mem_iff.1 (hr _ hw_star) |
| 391 | · have hg : g.atPlace w ∈ localIntGL n w := |
| 392 | by_contra fun h_not ↦ hw_mem ⟨hw, hR (h_finite.mem_toFinset.2 h_not)⟩ |
| 393 | simpa [mem_supportedOn.1 r.property w hw_mem hw_star] using hg |
| 394 | |
| 395 | /-- Let `2 * card n < card m`, and let `b ∘ det` be trivial on the integral finite points supported |
| 396 | on `A` and its conjugate (`IsUnramifiedOn`). Let `vacuumSum n (card m) b A` be the sum, over the |
| 397 | cosets `q` in the finite adelic unitary group `Gf E n` of the points integral at `A`, of the vacuum |
| 398 | coefficients `(b(det g) * finMultiplier g ^ card m)⁻¹` at the representatives `g = cosetRep q` (and |
| 399 | `0` if the sum is not summable). Then, as the finite set `R` of places grows, `vacuumSum` at `A ∩ R` |
| 400 | tends to `vacuumSum` at `A`. -/ |
| 401 | lemma tendsto_vacuumSum_inter (h_rank : 2 * card n < card m) (hb : IsUnramifiedOn b n A) : |
| 402 | Filter.Tendsto (fun R : Finset (FinPlace E) ↦ vacuumSum n (card m) b (A ∩ R)) Filter.atTop |
| 403 | (nhds (vacuumSum n (card m) b A)) := by |
| 404 | -- The cosets at `A ∩ R` embed in those at `A` and exhaust them, as a point is integral off a |
| 405 | -- finite set; the series at `A` converges absolutely. |
| 406 | let c (q : Gf E n ⧸ localLevel n A) : ℂ := vacuumCoeff (card m) b (cosetRep q).val |
| 407 | let incl (R : Finset (FinPlace E)) (q : Gf E n ⧸ localLevel n (A ∩ R)) : |
| 408 | Gf E n ⧸ localLevel n A := (cosetRep q).val |
| 409 | have h_inj (R : Finset (FinPlace E)) : Function.Injective (incl R) := |
| 410 | cosetRep_injective_of_subset Set.inter_subset_left |
| 411 | have h_sum (R : Finset (FinPlace E)) : |
| 412 | ∑' q : Gf E n ⧸ localLevel n A, (Set.range (incl R)).indicator c q = |
| 413 | vacuumSum n (card m) b (A ∩ R) := by |
| 414 | rw [← tsum_subtype, tsum_range c (h_inj R)] |
| 415 | exact tsum_congr fun q ↦ |
| 416 | vacuumCoeff_cosetRep_mk hb _ (supportedOn_mono Set.inter_subset_left (cosetRep q).property) |
| 417 | have h_exhaust (g : Gf E n) : |
| 418 | ∀ᶠ R : Finset (FinPlace E) in Filter.atTop, ↑g ∈ Set.range (incl R) := |
| 419 | eventually_mem_range_cosetRep_inter g |
| 420 | simp only [← h_sum] |
| 421 | refine tendsto_tsum_of_dominated_convergence (summable_norm_vacuumCoeff h_rank b A) |
| 422 | (fun q ↦ ?_) (.of_forall fun R q ↦ norm_indicator_le_norm_self c q) |
| 423 | obtain ⟨g, rfl⟩ := QuotientGroup.mk_surjective q |
| 424 | exact tendsto_const_nhds.congr' ((h_exhaust g).mono fun R hR ↦ (Set.indicator_of_mem hR c).symm) |
| 425 | |
| 426 | open scoped Classical in |
| 427 | omit [WeilData E] in |
| 428 | /-- The finite set of finite places in `R` and their complex conjugates. -/ |
| 429 | private def finsetConjClosure (R : Finset (FinPlace E)) : Finset (FinPlace E) := |
| 430 | R.image star ∪ R |
| 431 | |
| 432 | open scoped Classical in |
| 433 | /-- The sum `vacuumSum n (card m) b (A ∩ ({w, star w} ∪ S))` equals |
| 434 | `(∏ u ∈ {w, star w}, loc u) * vacuumSum n (card m) b (A ∩ S)` for a finite set `S` of finite |
| 435 | places disjoint from `{w, star w}`. The equality holds when `2 * card n < card m`, `b ∘ det` is |
| 436 | unramified on `A`, `star w ∈ A ↔ w ∈ A`, `loc u = 1` for each `u ∈ {w, star w}` outside `A`, and |
| 437 | `vacuumSum n (card m) b {w, star w}` equals `∏ u ∈ {w, star w}, loc u` when `w ∈ A`. -/ |
| 438 | private lemma vacuumSum_inter_union_pair (h_rank : 2 * card n < card m) {w : FinPlace E} |
| 439 | (hwA : star w ∈ A ↔ w ∈ A) (hb : IsUnramifiedOn b n A) {loc : FinPlace E → ℂ} |
| 440 | {S : Finset (FinPlace E)} (h_disj : Disjoint {w, star w} S) |
| 441 | (h_off : ∀ u ∈ ({w, star w} : Finset (FinPlace E)), u ∉ A → loc u = 1) |
| 442 | (h_pair : w ∈ A → vacuumSum n (card m) b {w, star w} = |
| 443 | ∏ u ∈ ({w, star w} : Finset (FinPlace E)), loc u) : |
| 444 | vacuumSum n (card m) b (A ∩ ↑({w, star w} ∪ S)) = |
| 445 | (∏ u ∈ ({w, star w} : Finset (FinPlace E)), loc u) * vacuumSum n (card m) b (A ∩ S) := by |
| 446 | rw [Finset.coe_union, Finset.coe_pair, Set.inter_union_distrib_left] |
| 447 | by_cases hw_mem : w ∈ A |
| 448 | · have h_sub : {w, star w} ⊆ A := Set.pair_subset hw_mem (hwA.2 hw_mem) |
| 449 | have h_disj_conj : Disjoint ({w, star w} : Set (FinPlace E)).conjClosure (A ∩ S) := by |
| 450 | rw [Set.conjClosure_pair_star, ← Finset.coe_pair] |
| 451 | exact (Finset.disjoint_coe.2 h_disj).mono_right Set.inter_subset_right |
| 452 | have hb_union : IsUnramifiedOn b n ({w, star w} ∪ A ∩ S) := |
| 453 | hb.mono (Set.union_subset h_sub Set.inter_subset_left) |
| 454 | rw [Set.inter_eq_right.2 h_sub, vacuumSum_union h_rank h_disj_conj hb_union, h_pair hw_mem] |
| 455 | · have hw_star : star w ∉ A := hwA.not.2 hw_mem |
| 456 | have h_one : ∏ u ∈ ({w, star w} : Finset (FinPlace E)), loc u = 1 := |
| 457 | Finset.prod_eq_one (by simp [h_off, hw_mem, hw_star]) |
| 458 | simp [h_one, Set.inter_insert_of_notMem hw_mem, hw_star] |
| 459 | |
| 460 | open scoped Classical in |
| 461 | /-- For each finite set `R` of finite places, `vacuumSum n (card m) b (A ∩ finsetConjClosure R)` |
| 462 | equals `∏ u ∈ finsetConjClosure R, loc u`. The equality holds when `2 * card n < card m`, `A` is |
| 463 | stable under conjugation, `b ∘ det` is unramified on `A`, `loc` equals `1` outside `A`, and |
| 464 | `vacuumSum n (card m) b {w, star w}` equals `∏ u ∈ {w, star w}, loc u` for each `w ∈ A`. -/ |
| 465 | private lemma vacuumSum_inter_finsetConjClosure (h_rank : 2 * card n < card m) |
| 466 | (hA : ∀ w : FinPlace E, star w ∈ A ↔ w ∈ A) (hb : IsUnramifiedOn b n A) |
| 467 | {loc : FinPlace E → ℂ} (h_off : ∀ w : FinPlace E, w ∉ A → loc w = 1) |
| 468 | (h_pair : ∀ w : FinPlace E, w ∈ A → vacuumSum n (card m) b {w, star w} = |
| 469 | ∏ u ∈ ({w, star w} : Finset (FinPlace E)), loc u) |
| 470 | (R : Finset (FinPlace E)) : |
| 471 | vacuumSum n (card m) b (A ∩ finsetConjClosure R) = ∏ u ∈ finsetConjClosure R, loc u := by |
| 472 | -- Add the places of `R` one by one. |
| 473 | induction R using Finset.induction with |
| 474 | | empty => simp [finsetConjClosure, vacuumSum_empty, Set.inter_empty] |
| 475 | | insert w R _ ih => |
| 476 | have h_insert : finsetConjClosure (insert w R) = {w, star w} ∪ finsetConjClosure R := by |
| 477 | simp [finsetConjClosure] |
| 478 | have h_star : star w ∈ finsetConjClosure R ↔ w ∈ finsetConjClosure R := by |
| 479 | simp [finsetConjClosure, star_involutive.eq_iff, or_comm] |
| 480 | by_cases hw : w ∈ finsetConjClosure R |
| 481 | · have h_subset : {w, star w} ⊆ finsetConjClosure R := by |
| 482 | simp [Finset.insert_subset_iff, hw, h_star] |
| 483 | rwa [h_insert, Finset.union_eq_right.2 h_subset] |
| 484 | have h_disj : Disjoint {w, star w} (finsetConjClosure R) := by simp [hw, h_star] |
| 485 | rw [h_insert, Finset.prod_union h_disj, ← ih] |
| 486 | exact vacuumSum_inter_union_pair h_rank (hA w) hb h_disj (fun u _ ↦ h_off u) (h_pair w) |
| 487 | |
| 488 | open scoped Classical in |
| 489 | /-- Let `vacuumSum n (card m) b A` be the sum, over the cosets `q` in `Gf E n` of the points |
| 490 | integral at `A`, of the vacuum coefficients `(b(det g) * finMultiplier g ^ card m)⁻¹` at |
| 491 | `g = cosetRep q`. It is a product over the pairs of conjugate places: let `2 * card n < card m`, let |
| 492 | `A` be stable under conjugation, and let `b ∘ det` be unramified on `A`; let the factors `loc w` be |
| 493 | `1` off `A` and have product `L`. If for each `w` in `A` the sum at `{w, w̄}` is `loc w * loc w̄` (a |
| 494 | single factor when `w = w̄`), then the sum at `A` is `L`. -/ |
| 495 | lemma vacuumSum_eq_of_hasProd (h_rank : 2 * card n < card m) |
| 496 | (hA : ∀ w : FinPlace E, star w ∈ A ↔ w ∈ A) (hb : IsUnramifiedOn b n A) |
| 497 | {loc : FinPlace E → ℂ} {L : ℂ} (h_prod : HasProd loc L) |
| 498 | (h_off : ∀ w : FinPlace E, w ∉ A → loc w = 1) |
| 499 | (h_pair : ∀ w : FinPlace E, w ∈ A → vacuumSum n (card m) b {w, star w} = |
| 500 | ∏ u ∈ ({w, star w} : Finset (FinPlace E)), loc u) : |
| 501 | vacuumSum n (card m) b A = L := by |
| 502 | -- Let `R` exhaust the places. |
| 503 | have h_frequently : ∃ᶠ R : Finset (FinPlace E) in Filter.atTop, |
| 504 | vacuumSum n (card m) b (A ∩ R) = ∏ u ∈ R, loc u := |
| 505 | Filter.frequently_atTop.2 fun R ↦ |
| 506 | ⟨finsetConjClosure R, Finset.subset_union_right, |
| 507 | vacuumSum_inter_finsetConjClosure h_rank hA hb h_off h_pair R⟩ |
| 508 | exact tendsto_nhds_unique_of_frequently_eq (tendsto_vacuumSum_inter h_rank hb) h_prod |
| 509 | h_frequently |
| 510 | |
| 511 | end New.SiegelWeil |