Riemann hypothesis: the Lean proof, cleaned up together
The 2026 Lean proof of the Riemann hypothesis and GRH, machine-checked by others, not refereed, no word from Clay; cleaned up together: more readable, faster to build, the theorems unchanged

| 1 | module |
| 2 | |
| 3 | public import Mathlib.Algebra.AffineMonoid.Basic |
| 4 | public import Mathlib.RingTheory.DedekindDomain.Different |
| 5 | import Mathlib.Analysis.CStarAlgebra.CStarMatrix |
| 6 | import Mathlib.Dynamics.Ergodic.Action.Regular |
| 7 | import Mathlib.NumberTheory.NumberField.Discriminant.Different |
| 8 | import Mathlib.NumberTheory.Padics.HeightOneSpectrum |
| 9 | import Mathlib.RingTheory.PiTensorProduct |
| 10 | import Mathlib.Topology.Algebra.ProperConstSMul |
| 11 | import Mathlib.Topology.Compactness.Paracompact |
| 12 | import TauCeti.NumberTheory.NumberField.InfinitePlace.Trace |
| 13 | import TauCeti.RingTheory.DedekindDomain.AdicValuation.ResidueField |
| 14 | public import Lib.Adelic.Unitary.Defs |
| 15 | public import Lib.General.Analysis.FourierTransforms |
| 16 | public import Lib.Adelic.Adeles.AdditiveCharacter |
| 17 | import Lib.General.Measure.IdempotentKernel |
| 18 | import Lib.General.NumberTheory.EmbeddingsAndDifferent |
| 19 | public import TauCeti.NumberTheory.NumberField.FinitePlace.Basic |
| 20 | |
| 21 | /-! |
| 22 | # Standard character, self-duality, strong approximation and one-sided Poisson summation |
| 23 | |
| 24 | Let `E` be a totally complex field with adele ring `New.𝔸 E`, and let `New.toAdele` be the diagonal |
| 25 | embedding of `E`. `New.stdAddChar` is the standard additive character, and its finite part `New.ψf` |
| 26 | is trivial on the integral adeles `New.Ô`. The file shows that, over a CM field, rational points of |
| 27 | unitary groups are discrete in the adelic group. It treats the conductor and nondegeneracy of the |
| 28 | character, proves that `E` is its own annihilator (also for matrices), and proves strong |
| 29 | approximation for adeles and adelic matrices. It ends with a one-sided Poisson summation inequality |
| 30 | and the compact open group given by the inverse different among self-adjoint finite adeles. |
| 31 | |
| 32 | ## Main definitions and results |
| 33 | |
| 34 | * `New.Space.discreteTopology_Gamma`: `New.Space.Γ` is discrete, because the rational matrices |
| 35 | `New.ratMatrices` are discrete among the adelic ones. So the image under `New.Space.ratEmbed` of |
| 36 | any subgroup is discrete. |
| 37 | * `New.stdAddChar_toAdele`, `New.mem_ratAdeles_of_stdAddChar_eq_one`: for `E` totally complex, |
| 38 | `New.stdAddChar` is trivial on `E`. An adele that pairs trivially with all of `E` lies in `E`. So |
| 39 | `E` is its own annihilator. |
| 40 | * `New.isDualFamily_ratAdeles`: the characters `x ↦ stdAddChar E (toAdele a * x)`, `a : E`, form a |
| 41 | dual family for the adeles modulo `E`. |
| 42 | * `New.isDualFamily_ratMatrices`: the same for matrices, with the trace pairing. |
| 43 | * `New.strong_approximation`: strong approximation; `E` plus the adeles supported on a nonempty set |
| 44 | `S` of finite places is dense in the adeles. |
| 45 | * `New.Exchange.denseRange_rat_matrix_add`: strong approximation for matrices. |
| 46 | |
| 47 | Notions from other files: |
| 48 | * `New.𝔸f E`, `New.Ô E`: the finite adeles of `E` and the subring of integral finite adeles. |
| 49 | * `New.PlaceEmbedding.Φ`: a chosen complex embedding `Φ w` of `E` for each infinite place `w`; the |
| 50 | adele ring `New.𝔸 E` is the product of one copy of `ℂ` for each `w` with `New.𝔸f E`. |
| 51 | * `New.ratAdeles`, `New.ratMatrices`: the images of `E` and of the matrices over `E` under |
| 52 | `New.toAdele`, as additive subgroups. |
| 53 | * `New.IsDualFamily B₀ χ`: `i ↦ χ i` is an injective homomorphism to the continuous unitary |
| 54 | characters trivial on `B₀`, and the common kernel of the `χ i` lies in `B₀`. |
| 55 | |
| 56 | ## Relation to the literature |
| 57 | |
| 58 | Known result: Self-duality of a number field in its adeles, strong approximation and a Poisson |
| 59 | inequality. For totally complex fields only, the field is shown to be its own annihilator and the |
| 60 | pairing is shown to be non-degenerate. Strong approximation omits a nonempty set of finite places |
| 61 | and is deduced from duality. Poisson summation is proved only as an inequality, for nonnegative |
| 62 | integrable functions that are lower semicontinuous at the rational points of the sum. Source: J. |
| 63 | Tate, Fourier analysis in number fields and Hecke's zeta-functions, thesis 1950, in Cassels-Fröhlich |
| 64 | ch. XV, Theorem 4.1.4; for strong approximation, Cassels, ch. II §15. |
| 65 | |
| 66 | See also `Lib.Adelic.Unitary.WeakApproximation`. |
| 67 | -/ |
| 68 | |
| 69 | @[expose] public section |
| 70 | |
| 71 | /-! |
| 72 | ## Rational points of a space embed injectively and discretely |
| 73 | |
| 74 | For a hermitian space `V = (J, x)` (`New.Space`: a matrix `J` over the CM field `E` and an adelic |
| 75 | change of basis `x` that brings it to the standard form), `New.Space.ratEmbed` sends a rational |
| 76 | point `γ` of the unitary group of `J` to `x⁻¹ γ x` in the adelic group `New.G` (its underlying |
| 77 | adelic matrix is `adeleMatrix`), and `New.Space.embFin` is its finite part. |
| 78 | -/ |
| 79 | |
| 80 | namespace New |
| 81 | |
| 82 | open NumberField Matrix Function Subtype |
| 83 | |
| 84 | variable {E : Type*} [Field E] [CMType E] |
| 85 | {n : Type*} [Fintype n] [DecidableEq n] {s : n → ℤˣ} (V : Space E n s) |
| 86 | |
| 87 | /-- The ring of finite adeles is nontrivial, since it maps to the completion at a finite place. -/ |
| 88 | instance {E : Type*} [Field E] [NumberField E] : Nontrivial (𝔸f E) := by |
| 89 | obtain ⟨w⟩ : Nonempty (FinPlace E) := (IsDedekindDomain.HeightOneSpectrum.equivMaximalSpectrum |
| 90 | (RingOfIntegers.not_isField E)).nonempty |
| 91 | exact (evalAt w).domain_nontrivial |
| 92 | |
| 93 | namespace Space |
| 94 | |
| 95 | lemma adeleMatrix_ratEmbed (γ : U V.J) : |
| 96 | (V.ratEmbed γ).adeleMatrix = V.x⁻¹ * ((γ : GL n E) : Matrix n n E).map toAdele * V.x := rfl |
| 97 | |
| 98 | /-- For a space `V = (J, x)`, the finite part of the change of basis `x`, in `GL n (𝔸f E)`. -/ |
| 99 | @[local simp] |
| 100 | noncomputable def xFin : GL n (𝔸f E) := V.x.map (RingHom.snd (InfinitePlace E → ℂ) (𝔸f E)) |
| 101 | |
| 102 | /-- For a space `V = (J, x)` and `γ` in the rational unitary group `U V.J`, the finite part |
| 103 | `V.embFin γ` of `x⁻¹ γ x` is, in `GL n (𝔸f E)`, the conjugate of `γ` by the finite part |
| 104 | `V.xFin` of `x`. -/ |
| 105 | lemma coe_embFin (γ : U V.J) : (V.embFin γ : GL n (𝔸f E)) = |
| 106 | V.xFin⁻¹ * GeneralLinearGroup.map (algebraMap E (𝔸f E)) (γ : GL n E) * V.xFin := by |
| 107 | change GeneralLinearGroup.map (RingHom.snd (InfinitePlace E → ℂ) (𝔸f E)) |
| 108 | (V.x⁻¹ * GeneralLinearGroup.map toAdele (γ : GL n E) * V.x) = _ |
| 109 | rw [map_mul, map_mul, map_inv] |
| 110 | rfl |
| 111 | |
| 112 | /-- For the standard space (`J = 1`, `x = 1`), the finite part of the embedding of rational points |
| 113 | applies `E → 𝔸f E` to each entry. -/ |
| 114 | @[simp] |
| 115 | lemma _root_.New.stdSpace_embFin (γ : U (stdSpace E n).J) : |
| 116 | ((stdSpace E n).embFin γ).val = GeneralLinearGroup.map (algebraMap E (𝔸f E)) γ := by |
| 117 | simp [coe_embFin] |
| 118 | |
| 119 | /-- The finite part `New.Space.embFin` of the embedding of rational points is injective. -/ |
| 120 | instance fact_embFin_injective : Fact (Injective V.embFin) := |
| 121 | ⟨by simp [Injective, Gf.val_ext_iff, coe_embFin, GeneralLinearGroup.ext_iff]⟩ |
| 122 | |
| 123 | lemma ratEmbed_injective : Injective V.ratEmbed := |
| 124 | .of_comp (f := Prod.snd) V.fact_embFin_injective.out |
| 125 | |
| 126 | /-- For a space (J, x) and g in G, the adelic matrix x g x⁻¹ of g in rational coordinates. This is |
| 127 | the matrix of an element of U(J)(𝔸), and it is multiplicative in g. -/ |
| 128 | noncomputable def ratCoordMatrix : G E s →* Matrix n n (𝔸 E) where |
| 129 | toFun g := V.toRatCoords g |
| 130 | map_one' := by simp |
| 131 | map_mul' := by simp |
| 132 | |
| 133 | variable {V} in |
| 134 | /-- In rational coordinates, each rational point is a matrix over the ground field. -/ |
| 135 | lemma ratCoordMatrix_mem_ratMatrices {g : G E s} (hg : g ∈ V.Γ) : |
| 136 | V.ratCoordMatrix g ∈ ratMatrices E n n := by |
| 137 | obtain ⟨γ, rfl⟩ := hg |
| 138 | exact ⟨(γ : GL n E), by simp [ratCoordMatrix, ratEmbed, U.map]⟩ |
| 139 | |
| 140 | /-- The group `V.Γ = x⁻¹ U(J)(E) x` of rational points of a space `V = (J, x)` is discrete, because |
| 141 | the rational matrices are discrete among the adelic ones. -/ |
| 142 | instance discreteTopology_Gamma : DiscreteTopology V.Γ := by |
| 143 | -- `V.toRatCoords : g ↦ x g x⁻¹` is a continuous injection of `V.Γ` into the rational matrices |
| 144 | let f (g : V.Γ) : ratMatrices E n n := ⟨_, ratCoordMatrix_mem_ratMatrices g.prop⟩ |
| 145 | have hf_cont : Continuous f := .subtype_mk ((continuous_const.matrix_mul |
| 146 | (G.continuous_adeleMatrix.comp continuous_subtypeVal)).matrix_mul continuous_const) _ |
| 147 | exact .of_continuous_injective hf_cont (by simp [f, ratCoordMatrix, Injective, Units.val_inj]) |
| 148 | |
| 149 | /-- The image in the adelic group of any subgroup of the rational points is discrete. -/ |
| 150 | instance {S : Subgroup (U V.J)} : DiscreteTopology (Subgroup.map V.ratEmbed S) := |
| 151 | .of_subset V.discreteTopology_Gamma (S.map_le_range V.ratEmbed) |
| 152 | |
| 153 | end Space |
| 154 | |
| 155 | end New |
| 156 | |
| 157 | /-! |
| 158 | ## The standard adelic additive character: conductor, nondegeneracy, E self-dual |
| 159 | |
| 160 | The finite part `New.ψf` sends `a` in `E` to exp(2πi Tr a). |
| 161 | |
| 162 | * `New.forall_ψf_mul_eq_one_iff`: the annihilator of `New.Ô` is given by the inverse different. |
| 163 | -/ |
| 164 | |
| 165 | namespace New |
| 166 | |
| 167 | open NumberField RingOfIntegers AddChar FractionalIdeal Finset Variety Algebra Int InfinitePlace |
| 168 | |
| 169 | variable {E : Type*} [Field E] [NumberField E] |
| 170 | |
| 171 | /-! ### The finite character -/ |
| 172 | |
| 173 | /-- The values of the character `ψf E` of the finite adeles are roots of unity. -/ |
| 174 | lemma isOfFinOrder_ψf (x : 𝔸f E) : IsOfFinOrder (ψf E x : ℂ) := by |
| 175 | -- some positive multiple `N * x` is integral, so the `N`-th power of `ψf E x` is one |
| 176 | obtain ⟨N, hN, h_mem⟩ : ∃ N : ℕ, N ≠ 0 ∧ (N : 𝔸f E) * x ∈ Ô E := by |
| 177 | simpa using exists_forall_mul_mem_Ô ![x] |
| 178 | refine isOfFinOrder_iff_pow_eq_one.2 ⟨N, hN.bot_lt, ?_⟩ |
| 179 | rw [← Circle.coe_pow, ← map_nsmul_eq_pow, nsmul_eq_mul, ψf_eq_one_of_mem h_mem, Circle.coe_one] |
| 180 | |
| 181 | @[fun_prop] |
| 182 | lemma continuous_ψf : Continuous (ψf E) := by |
| 183 | -- a character that is trivial on the open subring `Ô E` is continuous at zero |
| 184 | have h_cont : ContinuousOn (ψf E) (Ô E) := continuousOn_const.congr fun _ ↦ ψf_eq_one_of_mem |
| 185 | have h_zero : ContinuousAt (ψf E) 0 := isOpen_Ô.continuousOn_iff.1 h_cont (zero_mem _) |
| 186 | exact continuous_of_continuousAt_one (toMonoidHom (ψf E)) h_zero |
| 187 | |
| 188 | /-- The standard character at an adele `x` is `exp (-2πi ∑ w, 2 Re x_w)`, the sum being over the |
| 189 | infinite places, times `ψf E` of the finite part. -/ |
| 190 | lemma stdAddChar_eq_mul_ψf (x : 𝔸 E) : |
| 191 | stdAddChar E x = Real.fourierChar (-∑ w : InfinitePlace E, 2 * (x.1 w).re) * ψf E x.2 := rfl |
| 192 | |
| 193 | @[fun_prop] |
| 194 | lemma continuous_stdAddChar : Continuous (stdAddChar E) := by |
| 195 | simp only [funext stdAddChar_eq_mul_ψf] |
| 196 | fun_prop |
| 197 | |
| 198 | /-- Every value of `ψf E` is `exp (2πi q)` for a rational number `q`. -/ |
| 199 | lemma exists_ψf_eq_fourierChar (x : 𝔸f E) : ∃ q : ℚ, ψf E x = Real.fourierChar q := by |
| 200 | obtain ⟨a, ha⟩ : ∃ a : E, x - a ∈ Ô E := exists_sub_mem_Ô x |
| 201 | exact ⟨trace ℚ E a, by rw [← ψf_coe, ← div_eq_one, ← map_sub_eq_div, ψf_eq_one_of_mem ha]⟩ |
| 202 | |
| 203 | /-- For a finite adele `x` of `E`, the character `ψf E` (the finite part of the standard additive |
| 204 | character) is trivial on `u * x` for all integral finite adeles `u ∈ Ô E` if and only if `d * x` |
| 205 | is integral for every `d` in the different of `E` over `ℚ`. -/ |
| 206 | lemma forall_ψf_mul_eq_one_iff {x : 𝔸f E} : |
| 207 | (∀ u ∈ Ô E, ψf E (u * x) = 1) ↔ |
| 208 | ∀ d ∈ differentIdeal ℤ (𝓞 E), algebraMap E (𝔸f E) d * x ∈ Ô E := by |
| 209 | -- Choose `a` in `E` with `x - a` integral. The left side says that `a` lies in the trace dual |
| 210 | -- of `𝓞 E`, the right side that it lies in the inverse different. |
| 211 | obtain ⟨a, ha⟩ : ∃ a : E, x - a ∈ Ô E := exists_sub_mem_Ô x |
| 212 | have h_mem (u : 𝓞 E) : algebraMap E (𝔸f E) u ∈ Ô E := algebraMap_mem_Ô.2 (isIntegral_coe u) |
| 213 | have h_trace (u : 𝓞 E) : |
| 214 | ψf E (algebraMap E (𝔸f E) u * x) = Real.fourierChar (trace ℚ E (u * a)) := by |
| 215 | rw [← sub_add_cancel x a, mul_add, map_add_eq_mul, ψf_eq_one_of_mem (mul_mem (h_mem u) ha), |
| 216 | one_mul, |
| 217 | ← map_mul, ψf_coe] |
| 218 | have h_int (d : 𝓞 E) : algebraMap E (𝔸f E) d * x ∈ Ô E ↔ IsIntegral ℤ (d * a) := by |
| 219 | rw [← sub_add_cancel x a, mul_add, add_mem_cancel_left (mul_mem (h_mem d) ha), ← map_mul, |
| 220 | algebraMap_mem_Ô] |
| 221 | calc (∀ u ∈ Ô E, ψf E (u * x) = 1) |
| 222 | -- `𝓞 E` is dense in `Ô E` and `ψf` is continuous, so it is enough to test on `𝓞 E` |
| 223 | _ ↔ ∀ u : 𝓞 E, ψf E (algebraMap E (𝔸f E) u * x) = 1 := |
| 224 | ⟨fun h u ↦ h _ (h_mem u), fun h ↦ Subtype.forall'.2 (denseRange_algebraMap_Ô.eq h)⟩ |
| 225 | _ ↔ ∀ u : 𝓞 E, ∃ n : ℤ, trace ℚ E (u * a) = n := by |
| 226 | simp only [h_trace, fourierChar_eq_one_iff, ← Rat.cast_intCast (α := ℝ), Rat.cast_inj] |
| 227 | _ ↔ a ∈ dual ℤ ℚ (1 : FractionalIdeal (nonZeroDivisors (𝓞 E)) E) := by |
| 228 | simp [mem_dual, mul_comm a, eq_comm] |
| 229 | -- the different is the inverse of the trace dual |
| 230 | _ ↔ a ∈ (differentIdeal ℤ (𝓞 E) : FractionalIdeal (nonZeroDivisors (𝓞 E)) E)⁻¹ := by |
| 231 | rw [coeIdeal_differentIdeal ℤ ℚ E, inv_inv] |
| 232 | _ ↔ ∀ d ∈ differentIdeal ℤ (𝓞 E), algebraMap E (𝔸f E) d * x ∈ Ô E := by |
| 233 | simp [h_int, mem_inv_iff, differentIdeal_ne_bot, mul_comm a, |
| 234 | IsIntegralClosure.isIntegral_iff (A := 𝓞 E)] |
| 235 | |
| 236 | /-- A finite adele all of whose multiples are integral is zero. -/ |
| 237 | lemma eq_zero_of_forall_mul_integral {a : 𝔸f E} (h_int : ∀ x : 𝔸f E, x * a ∈ Ô E) : a = 0 := by |
| 238 | -- `a` lies in every neighbourhood `U` of zero: `U` contains some `N * Ô E`, and `N⁻¹ * a ∈ Ô E` |
| 239 | suffices h_nhds : ∀ U ∈ nhds (0 : 𝔸f E), a ∈ U from pure_le_nhds_iff.1 h_nhds |
| 240 | intro U hU |
| 241 | obtain ⟨N, hN, h_sub⟩ : ∃ N : ℕ, N ≠ 0 ∧ ∀ x ∈ Ô E, (N : 𝔸f E) * x ∈ U := |
| 242 | mem_nhds_zero_finAdele_iff.1 hU |
| 243 | obtain ⟨u, hu⟩ : ∃ u : (𝔸f E)ˣ, u = (N : 𝔸f E) := isUnit_natCast_finAdele hN |
| 244 | have h_mem : (N : 𝔸f E) * (↑u⁻¹ * a) ∈ U := h_sub _ (h_int _) |
| 245 | rwa [← hu, u.mul_inv_cancel_left] at h_mem |
| 246 | |
| 247 | /-- The pairing given by `ψf E`, the finite part of the standard additive character, separates |
| 248 | finite adeles: if `ψf E (t * a) = ψf E (t * b)` for all finite adeles `t`, then `a = b`. -/ |
| 249 | lemma eq_of_forall_ψf_mul_eq {a b : 𝔸f E} (hab : ∀ t : 𝔸f E, ψf E (t * a) = ψf E (t * b)) : |
| 250 | a = b := by |
| 251 | -- Show that every multiple of `a - b` is integral; write the multiplier as `discr E • c`. |
| 252 | refine eq_of_sub_eq_zero (eq_zero_of_forall_mul_integral fun x ↦ ?_) |
| 253 | obtain ⟨c, rfl⟩ : ∃ c : 𝔸f E, (NumberField.discr E : E) • c = x := |
| 254 | MulAction.surjective₀ (cast_ne_zero.2 (discr_ne_zero E)) x |
| 255 | have h_triv : ∀ u ∈ Ô E, ψf E (u * (c * (a - b))) = 1 := fun u _ ↦ by |
| 256 | rw [← mul_assoc, mul_sub, map_sub_eq_div, hab (u * c), div_self'] |
| 257 | -- so `c * (a - b)` times the discriminant, an element of the different, is integral |
| 258 | have h_mem : algebraMap E (𝔸f E) (NumberField.discr E : 𝓞 E) * (c * (a - b)) ∈ Ô E := |
| 259 | forall_ψf_mul_eq_one_iff.1 h_triv _ (discr_mem_differentIdeal E _) |
| 260 | simpa [Algebra.smul_def, mul_assoc] using h_mem |
| 261 | |
| 262 | /-- For a CM field `E`, the character `ψf E` is invariant under complex conjugation `star` of finite |
| 263 | adeles. -/ |
| 264 | lemma ψf_star [IsCMField E] (x : 𝔸f E) : ψf E (star x) = ψf E x := by |
| 265 | -- by density it is enough to take `x` in `E`, where conjugation preserves the trace |
| 266 | have h_trace (a : E) : trace ℚ E (star a) = trace ℚ E a := |
| 267 | trace_eq_of_algEquiv starRingAut.toRatAlgEquiv a |
| 268 | revert x |
| 269 | exact denseRange_algebraMap_finAdele.eq fun a ↦ by simp [ψf_coe, h_trace] |
| 270 | |
| 271 | variable [IsTotallyComplex E] [PlaceEmbedding E] |
| 272 | |
| 273 | /-! ### Norm and trace through the chosen embeddings -/ |
| 274 | |
| 275 | /-- For `E` totally complex, the absolute norm of `x` is the product of the `‖Φ v x‖ ^ 2` over the |
| 276 | infinite places `v`, where `Φ v` is the chosen embedding at `v`. -/ |
| 277 | lemma abs_norm_eq_prod_norm_sq (x : E) : |
| 278 | |(Algebra.norm ℚ x : ℝ)| = ∏ v : InfinitePlace E, ‖Φ v x‖ ^ 2 := by |
| 279 | simpa [← apply, mk_Φ] using (prod_eq_abs_norm x).symm |
| 280 | |
| 281 | /-- For a nonzero algebraic integer `y` of a totally complex field, the product of the `‖Φ v y‖` |
| 282 | over the infinite places `v` is at least one; `Φ v` is the chosen embedding at `v`. -/ |
| 283 | lemma one_le_prod_norm_Φ {y : E} (hy_int : IsIntegral ℤ y) (hy : y ≠ 0) : |
| 284 | 1 ≤ ∏ v : InfinitePlace E, ‖Φ v y‖ := by |
| 285 | -- the square of the product is the absolute value of the norm, a nonzero integer |
| 286 | obtain ⟨z, rfl⟩ : ∃ z : 𝓞 E, (z : E) = y := ⟨⟨y, hy_int⟩, rfl⟩ |
| 287 | have h_norm : (1 : ℝ) ≤ |(Algebra.norm ℚ (z : E) : ℝ)| := by |
| 288 | rw [← coe_norm_int] |
| 289 | exact_mod_cast one_le_abs (norm_ne_zero_iff.2 (by simpa using hy)) |
| 290 | rwa [abs_norm_eq_prod_norm_sq, prod_pow, one_le_sq_iff₀ (by positivity)] at h_norm |
| 291 | |
| 292 | /-- For `E` totally complex, the trace of `x` is `∑ w, 2 Re (Φ w x)` over the infinite places `w`, |
| 293 | where `Φ w` is the chosen embedding at `w`. -/ |
| 294 | lemma trace_eq_sum_Φ (x : E) : trace ℚ E x = ∑ w : InfinitePlace E, 2 * (Φ w x).re := by |
| 295 | -- Pair the real parts of conjugate embeddings. |
| 296 | simpa [sum_embeddings_eq_sum_pairs, two_mul] using |
| 297 | (TauCeti.NumberField.sum_re_embeddings_eq_trace x).symm |
| 298 | |
| 299 | /-! ### The annihilator of the rational points -/ |
| 300 | |
| 301 | /-- For `E` totally complex, the standard additive character `stdAddChar E` of the adeles is trivial |
| 302 | on the diagonal image of `E`. -/ |
| 303 | @[simp] |
| 304 | lemma stdAddChar_toAdele (x : E) : stdAddChar E (toAdele x) = 1 := by |
| 305 | simp [trace_eq_sum_Φ, stdAddChar_eq_mul_ψf, map_neg_eq_inv, ψf_coe] |
| 306 | |
| 307 | /-- Let `E` be totally complex, with chosen embeddings `Φ w` at the infinite places `w`. |
| 308 | If `∑ w, 2 * Re (Φ w b * z w)` is rational for every `b` in `E`, then |
| 309 | `z = fun w ↦ Φ w a` for some `a` in `E`. The factor `2` is the one in `New.trace_eq_sum_Φ`. -/ |
| 310 | lemma exists_eq_Φ_of_forall_sum_re_rat {z : InfinitePlace E → ℂ} |
| 311 | (h_trace : ∀ b : E, ∃ q : ℚ, ∑ w : InfinitePlace E, 2 * (Φ w b * z w).re = q) : |
| 312 | ∃ a : E, z = fun w : InfinitePlace E ↦ Φ w a := by |
| 313 | -- The images under `Φ` of an integral basis `v` form a real basis of the space; let `c` be the |
| 314 | -- coordinates of `z`. Pairing `z` with the trace-dual basis shows that they are rational. |
| 315 | let ι : Type _ := Module.Free.ChooseBasisIndex ℤ (𝓞 E) |
| 316 | let v : Module.Basis ι ℚ E := integralBasis E |
| 317 | obtain ⟨c, hz⟩ : ∃ c : ι → ℝ, ∀ w : InfinitePlace E, z w = ∑ i : ι, c i * Φ w (v i) := by |
| 318 | obtain ⟨e, he⟩ : ∃ e : mixedEmbedding.mixedSpace E ≃ₗ[ℝ] (InfinitePlace E → ℂ), |
| 319 | ∀ x : E, e (mixedEmbedding E x) = fun w : InfinitePlace E ↦ Φ w x := |
| 320 | exists_mixedEquiv.imp fun _ ↦ And.right |
| 321 | let β : Module.Basis ι ℝ (InfinitePlace E → ℂ) := (mixedEmbedding.latticeBasis E).map e |
| 322 | have hβ (i : ι) (w : InfinitePlace E) : β i w = Φ w (v i) := by simp [β, v, ι, he] |
| 323 | exact ⟨β.repr z, fun w ↦ by simpa [hβ] using (congrFun (β.sum_repr z) w).symm⟩ |
| 324 | have h_pair (b : E) : |
| 325 | ∑ w : InfinitePlace E, 2 * (Φ w b * z w).re = ∑ i : ι, c i * trace ℚ E (b * v i) := by |
| 326 | simp only [hz, trace_eq_sum_Φ, mul_sum, Complex.re_sum, map_mul, mul_left_comm (Φ _ b), |
| 327 | Complex.re_ofReal_mul, mul_left_comm (2 : ℝ)] |
| 328 | exact sum_comm |
| 329 | have h_rat (j : ι) : ∃ q : ℚ, c j = q := by |
| 330 | have h_coord : ∑ i : ι, c i * trace ℚ E (v.traceDual j * v i) = c j := by simp [apply_ite] |
| 331 | simpa only [h_pair, h_coord] using h_trace (v.traceDual j) |
| 332 | choose q hq using h_rat |
| 333 | exact ⟨∑ i : ι, q i * v i, funext fun w ↦ by simp [hz, hq]⟩ |
| 334 | |
| 335 | /-- For `E` totally complex, an adele `x` with `ψ (a x) = 1` for all `a` in `E` lies in the diagonal |
| 336 | image `ratAdeles E` of `E`. Here `ψ = stdAddChar E` is the standard additive character. -/ |
| 337 | lemma mem_ratAdeles_of_stdAddChar_eq_one {x : 𝔸 E} |
| 338 | (hx : ∀ a : E, stdAddChar E (toAdele a * x) = 1) : |
| 339 | x ∈ ratAdeles E := by |
| 340 | let T (b : E) : ℝ := ∑ w : InfinitePlace E, 2 * (Φ w b * x.1 w).re |
| 341 | have h_prod (b : E) : Real.fourierChar (-T b) * ψf E (b * x.2) = 1 := by |
| 342 | simpa [T, stdAddChar_eq_mul_ψf] using hx b |
| 343 | -- The values of `ψf` are `exp (2πi q)` with `q` rational, so the traces of the infinite part of |
| 344 | -- `x` against `E` are rational; this makes the infinite part that of some `a` in `E`. |
| 345 | have h_rat (b : E) : ∃ q : ℚ, T b = q := by |
| 346 | obtain ⟨q, hq⟩ : ∃ q : ℚ, ψf E (b * x.2) = Real.fourierChar q := exists_ψf_eq_fourierChar _ |
| 347 | obtain ⟨n, hn⟩ : ∃ n : ℤ, -T b + q = n := |
| 348 | fourierChar_eq_one_iff.1 (by rw [map_add_eq_mul, ← hq, h_prod]) |
| 349 | exact ⟨q - n, by simp [← hn]⟩ |
| 350 | obtain ⟨a, h_inf⟩ : ∃ a : E, x.1 = fun w ↦ Φ w a := exists_eq_Φ_of_forall_sum_re_rat h_rat |
| 351 | -- The finite parts need only have the same pairing with every `b` in `E`, which is dense. |
| 352 | have h_fin (b : E) : ψf E (b * a) = ψf E (b * x.2) := by |
| 353 | have h_trace : T b = trace ℚ E (b * a) := by simp only [T, h_inf, trace_eq_sum_Φ, map_mul] |
| 354 | calc ψf E (b * a) = Real.fourierChar (T b) := by rw [← map_mul, ψf_coe, h_trace] |
| 355 | _ = ψf E (b * x.2) := by rw [← inv_mul_eq_one, ← map_neg_eq_inv, h_prod] |
| 356 | exact ⟨a, Prod.ext h_inf.symm (eq_of_forall_ψf_mul_eq (denseRange_algebraMap_finAdele.eq h_fin))⟩ |
| 357 | |
| 358 | /-- For `E` totally complex, the pairing `ψ (u x)` on the adeles given by the standard character |
| 359 | `ψ = stdAddChar E` is nondegenerate: if `ψ (u x) = 1` for all adeles `u`, then `x = 0`. -/ |
| 360 | lemma eq_zero_of_forall_stdAddChar_eq_one {x : 𝔸 E} (hx : ∀ u : 𝔸 E, stdAddChar E (u * x) = 1) : |
| 361 | x = 0 := by |
| 362 | -- `x` is rational, and testing against the finite adeles shows that its finite part is zero |
| 363 | obtain ⟨a, rfl⟩ : ∃ a : E, toAdele a = x := mem_ratAdeles_of_stdAddChar_eq_one fun b ↦ |
| 364 | hx (toAdele b) |
| 365 | have h_fin : (a : 𝔸f E) = 0 := eq_of_forall_ψf_mul_eq fun t ↦ by |
| 366 | simpa [stdAddChar_eq_mul_ψf] using hx (0, t) |
| 367 | simpa using h_fin |
| 368 | |
| 369 | end New |
| 370 | |
| 371 | /-! ## A totally complex field is its own annihilator in its adeles, also for matrices -/ |
| 372 | |
| 373 | section AdeleSelfDual |
| 374 | |
| 375 | open NumberField Matrix Circle |
| 376 | |
| 377 | namespace New |
| 378 | |
| 379 | variable {E m n : Type*} [Field E] [NumberField E] |
| 380 | |
| 381 | /-- For a CM field `E`, the character `ψf E` (the finite part of the standard additive character) |
| 382 | takes the same value at a finite adele `x` and at its self-adjoint part `(x + star x) / 2`. -/ |
| 383 | lemma ψf_inv_two_mul_add_star [IsCMField E] (x : 𝔸f E) : |
| 384 | ψf E ((2⁻¹ : E) * (x + star x)) = ψf E x := by |
| 385 | have h_star : ψf E ((2⁻¹ : E) * star x) = ψf E ((2⁻¹ : E) * x) := by |
| 386 | simpa using ψf_star (((2⁻¹ : E) : 𝔸f E) * x) |
| 387 | have h_add : ((2⁻¹ : E) : 𝔸f E) * x + (2⁻¹ : E) * x = x := by norm_num [← add_mul, ← map_add] |
| 388 | rw [mul_add, AddChar.map_add_eq_mul, h_star, ← AddChar.map_add_eq_mul, h_add] |
| 389 | |
| 390 | /-- For a field `E` with a CM type, the standard additive character `stdAddChar E` takes the same |
| 391 | value at an adele `x` and at its self-adjoint part `(x + star x) / 2`, where `star` is complex |
| 392 | conjugation and `toAdele` the diagonal embedding of `E`. -/ |
| 393 | lemma stdAddChar_inv_two_mul_add_star {E : Type*} [Field E] [CMType E] (x : 𝔸 E) : |
| 394 | stdAddChar E (toAdele 2⁻¹ * (x + star x)) = stdAddChar E x := by |
| 395 | simp [stdAddChar_eq_mul_ψf, ψf_inv_two_mul_add_star, ← two_mul, map_ofNat] |
| 396 | |
| 397 | variable [IsTotallyComplex E] [PlaceEmbedding E] [Fintype m] [Fintype n] |
| 398 | |
| 399 | /-- A totally complex field `E` is its own annihilator in its adeles (Tate). Let |
| 400 | `ψ = stdAddChar E`. The characters `x ↦ ψ (a x)`, `a : E`, form a dual family (`IsDualFamily`): they |
| 401 | are continuous, unitary and trivial on the image `ratAdeles E` of `E`; they depend additively and |
| 402 | injectively on `a`; and an adele killed by all of them lies in `ratAdeles E`. -/ |
| 403 | instance isDualFamily_ratAdeles : |
| 404 | IsDualFamily (ratAdeles E) (fun (a : E) (x : 𝔸 E) ↦ stdAddChar E (toAdele a * x)) where |
| 405 | periodic a := ⟨.subtypeVal (by fun_prop), |
| 406 | by simp [ratAdeles, mul_add, AddChar.map_add_eq_mul, ← map_mul]⟩ |
| 407 | add_left := by simp [add_mul, AddChar.map_add_eq_mul] |
| 408 | add_right := by simp [mul_add, AddChar.map_add_eq_mul] |
| 409 | norm_eq_one := by simp [norm_coe] |
| 410 | -- the annihilator of `E` lies in `E`, and the pairing is nondegenerate |
| 411 | mem_of_forall_eq_one x hx := mem_ratAdeles_of_stdAddChar_eq_one fun a ↦ coe_eq_one.1 (hx a) |
| 412 | eq_zero_of_forall_eq_one a ha := (map_eq_zero toAdele).1 <| |
| 413 | eq_zero_of_forall_stdAddChar_eq_one fun u ↦ by simpa [mul_comm u, coe_eq_one] using ha u |
| 414 | |
| 415 | open scoped Classical in |
| 416 | /-- Self-duality for matrices. Let `ψ = stdAddChar E` be the standard character of the adeles. For |
| 417 | an `n × m` matrix `a` over `E`, consider the character `x ↦ ψ (tr (a x))` of the `m × n` adelic |
| 418 | matrices. These characters form a dual family (continuous unitary characters depending additively |
| 419 | and injectively on `a`) for the image `ratMatrices E m n` of the `m × n` matrices over `E`: they are |
| 420 | trivial on it, and their common kernel lies in it. -/ |
| 421 | instance isDualFamily_ratMatrices : |
| 422 | IsDualFamily (ratMatrices E m n) (fun (a : Matrix n m E) (x : Matrix m n (𝔸 E)) ↦ |
| 423 | stdAddChar E (trace (a.map toAdele * x))) where |
| 424 | periodic a := by |
| 425 | refine ⟨(continuous_stdAddChar.comp (by fun_prop)).subtypeVal, ?_⟩ |
| 426 | -- for a rational matrix `γ` the trace of `a γ` lies in `E`, where `ψ` is trivial |
| 427 | simp [Matrix.mul_apply, ratMatrices, trace, mul_add, Finset.sum_add_distrib, |
| 428 | AddChar.map_add_eq_mul, ← map_mul, ← map_sum] |
| 429 | add_left := by |
| 430 | simp [Matrix.mul_apply, trace, add_mul, Finset.sum_add_distrib, AddChar.map_add_eq_mul] |
| 431 | add_right := by |
| 432 | simp [Matrix.mul_apply, trace, mul_add, Finset.sum_add_distrib, AddChar.map_add_eq_mul] |
| 433 | norm_eq_one := by simp [norm_coe] |
| 434 | -- Both claims reduce to one entry: the trace pairing with a matrix supported at `(j, i)` |
| 435 | -- picks out the entry `(i, j)`. |
| 436 | mem_of_forall_eq_one x hx := mem_ratMatrices.2 fun i j ↦ |
| 437 | mem_ratAdeles_of_stdAddChar_eq_one fun a ↦ by |
| 438 | simpa [Matrix.mul_apply, trace, Matrix.single_apply, ite_and, coe_eq_one] using |
| 439 | hx (.single j i a) |
| 440 | eq_zero_of_forall_eq_one a ha := Matrix.ext fun i j ↦ |
| 441 | isDualFamily_ratAdeles.eq_zero_of_forall_eq_one (a i j) fun x ↦ by |
| 442 | simpa [Matrix.mul_apply, trace, Matrix.single_apply, ite_and] using ha (.single j i x) |
| 443 | |
| 444 | end New |
| 445 | |
| 446 | end AdeleSelfDual |
| 447 | |
| 448 | /-! |
| 449 | ## Strong approximation for adeles and density of E at infinity |
| 450 | |
| 451 | * `New.Exchange.idemAdele`: the idempotent adele that is `1` at the finite places in `S` and `0` |
| 452 | elsewhere. |
| 453 | -/ |
| 454 | |
| 455 | namespace New |
| 456 | |
| 457 | open Set QuotientAddGroup Rat MeasureTheory IsDualFamily |
| 458 | |
| 459 | variable {E : Type*} [Field E] [NumberField E] [NumberField.IsTotallyComplex E] [PlaceEmbedding E] |
| 460 | |
| 461 | /-- The idempotent adele with component `1` at the finite places in `S`, and `0` at the other finite |
| 462 | places and at all infinite places. -/ |
| 463 | noncomputable abbrev Exchange.idemAdele (S : Set (FinPlace E)) : |
| 464 | (NumberField.InfinitePlace E → ℂ) × 𝔸f E := ((0, idem S) : 𝔸 E) |
| 465 | |
| 466 | /-- If `S` is a nonempty set of finite places and the character `y ↦ ψ (r y)`, with `r : E` and `ψ` |
| 467 | the standard character, is trivial on all adeles `idemAdele S * u` supported on `S`, then |
| 468 | `r = 0`. -/ |
| 469 | lemma eq_zero_of_forall_stdAddChar_mul_idemAdele {S : Set (FinPlace E)} (hS : S.Nonempty) {r : E} |
| 470 | (hr : ∀ u : 𝔸 E, stdAddChar E (toAdele r * (Exchange.idemAdele S * u)) = 1) : r = 0 := by |
| 471 | have h_zero : (toAdele r * Exchange.idemAdele S : 𝔸 E) = 0 := |
| 472 | eq_zero_of_forall_stdAddChar_eq_one fun u ↦ by rw [mul_comm u, mul_assoc, hr u] |
| 473 | -- look at the component at a place `w ∈ S`, where the idempotent is `1` |
| 474 | obtain ⟨w, hw⟩ := hS |
| 475 | simpa [hw] using congrArg (fun y : 𝔸 E ↦ Valued.v (y.2 w)) h_zero |
| 476 | |
| 477 | /-- Strong approximation for a totally complex field `E`. Let `S` be a nonempty set of finite |
| 478 | places. The sums `toAdele r + Exchange.idemAdele S * u`, with `r : E` and `u` an adele, are dense |
| 479 | in the adeles. These are the sums of an element of `E` and an adele that vanishes at infinity and |
| 480 | at the finite places outside `S`. -/ |
| 481 | lemma strong_approximation {S : Set (FinPlace E)} (hS : S.Nonempty) : |
| 482 | DenseRange fun p : E × 𝔸 E ↦ toAdele p.1 + Exchange.idemAdele S * p.2 := by |
| 483 | -- The sums are the range of the additive map `σ`; let `B` be the closure of this subgroup. If |
| 484 | -- `x ∉ B`, a continuous `f` on the quotient by `B` separates `x` from `0`. Subtract its mean: |
| 485 | -- Fourier theory on the adeles modulo `E` shows that the result vanishes. |
| 486 | let σ : E × 𝔸 E →+ 𝔸 E := |
| 487 | (toAdele (E := E)).toAddMonoidHom.coprod (AddMonoidHom.mulLeft (Exchange.idemAdele S)) |
| 488 | let B : AddSubgroup (𝔸 E) := σ.range.topologicalClosure |
| 489 | have hB_closed : IsClosed (B : Set (𝔸 E)) := AddSubgroup.isClosed_topologicalClosure σ.range |
| 490 | refine fun x ↦ by_contra fun hx : x ∉ B ↦ ?_ |
| 491 | obtain ⟨f, hf_cont, hf_ne⟩ : ∃ f : 𝔸 E ⧸ B → ℝ, Continuous f ∧ f x ≠ f 0 := |
| 492 | separatesPoints_continuous_of_t35Space (mt (eq_zero_iff x).1 hx) |
| 493 | have h_per (r : E) (u y : 𝔸 E) : f (y + (toAdele r + Exchange.idemAdele S * u) : 𝔸 E) = f y := |
| 494 | congrArg f (mk_add_of_mem y (subset_closure ⟨(r, u), rfl⟩)) |
| 495 | let mean : ℂ := ⨍ q : 𝔸 E ⧸ ratAdeles E, (f q.out : ℂ) ∂.addHaarMeasure ⊤ |
| 496 | have h_isPer : IsContPeriodic (ratAdeles E) fun y : 𝔸 E ↦ f y - mean := |
| 497 | ⟨by fun_prop, by simpa [ratAdeles, add_comm] using fun r : E ↦ h_per r 0⟩ |
| 498 | have h_const : ∀ y : 𝔸 E, f y - mean = 0 := by |
| 499 | -- It is enough that the Fourier coefficient vanishes at every `r` whose character is compatible |
| 500 | -- with the translation symmetries of `f - mean` in the sense of `hr`. |
| 501 | refine isDualFamily_ratAdeles.eq_zero_of_quotMean_mul_eq_zero h_isPer fun r |
| 502 | (hr : ∀ (a : 𝔸 E) (c : ℂ), (∀ y : 𝔸 E, c * (f ↑(y + a) - mean) = f y - mean) → |
| 503 | stdAddChar E (toAdele r * a) = c) ↦ ?_ |
| 504 | -- Such a character is `1` on the periods `idemAdele S * u`, so it is trivial. |
| 505 | obtain rfl : r = 0 := eq_zero_of_forall_stdAddChar_mul_idemAdele hS fun u ↦ |
| 506 | Circle.ext (hr (Exchange.idemAdele S * u) 1 (by simpa using h_per 0 u)) |
| 507 | -- The coefficient at the trivial character is the mean of `f - mean`, which is zero. |
| 508 | simp [mean, quotMean, integral_sub_average] |
| 509 | exact hf_ne (Complex.ofReal_injective (sub_left_inj.1 ((h_const x).trans (h_const 0).symm))) |
| 510 | |
| 511 | /-- The image of a totally complex field `E` under the embeddings `Φ w` chosen by |
| 512 | `PlaceEmbedding E`, one for each infinite place `w`, is dense in the product of copies of `ℂ`. -/ |
| 513 | lemma denseRange_Φ : DenseRange (RingHom.pi Φ : E →+* NumberField.InfinitePlace E → ℂ) := by |
| 514 | -- Apply strong approximation, with `S` the set of all finite places, to `(x, 0)` and pass to |
| 515 | -- first components, where `Exchange.idemAdele S * u` contributes nothing. |
| 516 | intro x |
| 517 | have h_approx : ((x, 0) : 𝔸 E) ∈ |
| 518 | closure (range fun p : E × 𝔸 E ↦ toAdele p.1 + Exchange.idemAdele univ * p.2) := |
| 519 | strong_approximation univ_nonempty _ |
| 520 | have h_fst (r : E) (u : 𝔸 E) : |
| 521 | (toAdele r + Exchange.idemAdele univ * u : 𝔸 E).1 = RingHom.pi Φ r := |
| 522 | funext fun w ↦ by simp |
| 523 | refine map_mem_closure continuous_fst h_approx ?_ |
| 524 | rintro _ ⟨⟨r, u⟩, rfl⟩ |
| 525 | exact ⟨r, (h_fst r u).symm⟩ |
| 526 | |
| 527 | end New |
| 528 | |
| 529 | /-! ## Strong approximation for adelic matrices -/ |
| 530 | |
| 531 | /-- Strong approximation for matrices over a field `E` with a CM type. Let `S` be a nonempty set of |
| 532 | finite places and `x` an invertible `n × n` adelic matrix. The matrices `x⁻¹ A + idemAdele S • B`, |
| 533 | with `A` over `E` and `B` adelic, are dense in the `n × m` adelic matrices. Here `idemAdele S` is |
| 534 | the adele that is `1` at the places in `S` and `0` at all other places. -/ |
| 535 | lemma New.Exchange.denseRange_rat_matrix_add {E m n : Type*} [Field E] [CMType E] [Fintype n] |
| 536 | [DecidableEq n] {S : Set (FinPlace E)} (hS : S.Nonempty) (x : GL n (𝔸 E)) : |
| 537 | DenseRange fun p : Matrix n m E × Matrix n m (𝔸 E) ↦ |
| 538 | x⁻¹.val * p.1.map toAdele + idemAdele (E := E) S • p.2 := by |
| 539 | intro Y |
| 540 | -- Strong approximation entry by entry: `x * Y` is a limit of matrices `A + idemAdele S • B`. |
| 541 | have h_approx : x.val * Y ∈ closure (Set.range fun p : n → m → E × 𝔸 E ↦ |
| 542 | (Matrix.of fun i j ↦ (p i j).1).map toAdele + idemAdele S • Matrix.of fun i j ↦ (p i j).2) := |
| 543 | DenseRange.piMap (fun _ ↦ .piMap fun _ ↦ strong_approximation hS) _ |
| 544 | -- Multiply by `x⁻¹`, using `x⁻¹ * (A + idemAdele S • B) = x⁻¹ * A + idemAdele S • (x⁻¹ * B)`. |
| 545 | rw [← Matrix.one_mul Y, ← x.inv_mul, Matrix.mul_assoc] |
| 546 | refine map_mem_closure (f := fun Z ↦ x⁻¹.val * Z) (by fun_prop) h_approx ?_ |
| 547 | rintro _ ⟨p, rfl⟩ |
| 548 | refine ⟨(.of fun i j ↦ (p i j).1, x⁻¹.val * .of fun i j ↦ (p i j).2), ?_⟩ |
| 549 | simp only [Matrix.mul_add, Matrix.mul_smul] |
| 550 | rfl |
| 551 | |
| 552 | /-! |
| 553 | ## One-sided Poisson summation on the adeles |
| 554 | |
| 555 | The main result is `New.IsDualFamily.sum_le_of_fourier`: a finite sum of a non-negative integrable |
| 556 | function over rational points is at most any bound for the finite sums of the absolute values of its |
| 557 | Fourier transform over `E`. Only lower semicontinuity at these points is needed. The proof smooths |
| 558 | the function by a bump on the compact quotient of the adeles by `E` (`New.ratAdeles`) and applies |
| 559 | Fourier inversion there, with the standard character `New.stdAddChar`. |
| 560 | -/ |
| 561 | |
| 562 | section OneSidedPoisson |
| 563 | |
| 564 | open MeasureTheory Measure Complex QuotientAddGroup NumberField Finset Circle |
| 565 | |
| 566 | namespace New |
| 567 | |
| 568 | /-- Smooth an integrable function `F` on the adeles by a continuous function `η` on `𝔸 E ⧸ E` with |
| 569 | `|η| ≤ 1`. The Fourier coefficient at `ξ : E` of `z ↦ ∫ η(z + x) F(x) dx` (a mean `quotMean` over |
| 570 | `𝔸 E ⧸ E`: the integral, for the Haar probability measure `addHaarMeasure ⊤`, of the value at a lift |
| 571 | `q.out` of each class `q`) is the coefficient of `η` times the Fourier transform |
| 572 | `∫ ψ(-ξ x) F(x) dx`. Here `ψ = stdAddChar E` is the standard character and `ratAdeles E` the image |
| 573 | of `E` in the adeles. -/ |
| 574 | lemma IsDualFamily.quotMean_stdAddChar_mul_integral {E : Type*} [Field E] [NumberField E] |
| 575 | [IsTotallyComplex E] [PlaceEmbedding E] {F : 𝔸 E → ℝ} (hF : Integrable F) |
| 576 | {η : C(𝔸 E ⧸ ratAdeles E, ℝ)} (hη_le : ∀ q : 𝔸 E ⧸ ratAdeles E, ‖η q‖ ≤ 1) (ξ : E) : |
| 577 | (quotMean (ratAdeles E) fun z : 𝔸 E ↦ |
| 578 | stdAddChar E (toAdele ξ * z) * ∫ x : 𝔸 E, (η ↑(z + x) * F x : ℂ)) = |
| 579 | (quotMean (ratAdeles E) fun z : 𝔸 E ↦ stdAddChar E (toAdele ξ * z) * ofReal (η z)) * |
| 580 | ∫ x : 𝔸 E, stdAddChar E (toAdele ξ * -x) * ofReal (F x) := by |
| 581 | let ψ (z : 𝔸 E) : ℂ := stdAddChar E (toAdele ξ * z) |
| 582 | have h_shift (x : 𝔸 E) : (quotMean (ratAdeles E) fun z ↦ ψ z * η ↑(z + x)) = |
| 583 | (quotMean (ratAdeles E) fun z ↦ ψ z * η z) * ψ (-x) := by |
| 584 | have h_per : IsContPeriodic (ratAdeles E) fun y : 𝔸 E ↦ ofReal (η ↑(y + x)) := |
| 585 | ⟨by fun_prop, by simp +contextual [← eq_zero_iff]⟩ |
| 586 | simpa [ψ, mul_comm] using (mul_quotMean_translate h_per ξ (-x)).symm |
| 587 | -- `F` is integrable and the other factors are measurable and bounded by one |
| 588 | have h_int : Integrable (fun p : (𝔸 E ⧸ ratAdeles E) × 𝔸 E ↦ ψ p.1.out * η (p.1 + p.2) * F p.2) |
| 589 | ((addHaarMeasure ⊤).prod volume) := |
| 590 | (hF.comp_snd _).ofReal.bdd_mul (c := 1) |
| 591 | ((isDualFamily_ratAdeles.periodic ξ).integrable_out.aestronglyMeasurable.comp_fst.mul |
| 592 | (by fun_prop)) (.of_forall fun p ↦ by simpa [ψ, norm_coe] using hη_le _) |
| 593 | -- exchange the mean over `z` and the integral over `x`, then apply `h_shift` |
| 594 | simp only [ψ, quotMean, mk_add, out_eq'] at h_shift ⊢ |
| 595 | simp only [← integral_const_mul, ← mul_assoc] |
| 596 | rw [integral_integral_swap h_int] |
| 597 | simp only [integral_mul_const, h_shift] |
| 598 | |
| 599 | /-- Upper bound for `∫ η F` by Fourier inversion on `𝔸 E ⧸ E`. Let `F` be integrable on the adeles |
| 600 | and `η` continuous on `𝔸 E ⧸ E` with values in `[0, 1]`. If `S` bounds the finite sums over `ξ : E` |
| 601 | of the absolute values of the Fourier transform `∫ ψ(-ξ x) F(x) dx`, then `∫ η F ≤ (∫ η) S`. Here |
| 602 | `ψ = stdAddChar E` is the standard character, `ratAdeles E` is the image of `E` under the diagonal |
| 603 | embedding `toAdele`, and `addHaarMeasure ⊤` is the Haar probability measure on the quotient. -/ |
| 604 | lemma IsDualFamily.integral_mul_le_of_sum_norm_le {E : Type*} [Field E] [NumberField E] |
| 605 | [IsTotallyComplex E] [PlaceEmbedding E] {S : ℝ} {F : 𝔸 E → ℝ} (hF : Integrable F) |
| 606 | (hS : ∀ Y : Finset E, ∑ ξ ∈ Y, ‖∫ x : 𝔸 E, stdAddChar E (toAdele ξ * -x) * ofReal (F x)‖ ≤ S) |
| 607 | {η : C(𝔸 E ⧸ ratAdeles E, ℝ)} (hη_nonneg : ∀ q : 𝔸 E ⧸ ratAdeles E, 0 ≤ η q) |
| 608 | (hη_le : ∀ q : 𝔸 E ⧸ ratAdeles E, ‖η q‖ ≤ 1) : |
| 609 | ∫ x : 𝔸 E, η x * F x ≤ (∫ q : 𝔸 E ⧸ ratAdeles E, η q ∂addHaarMeasure ⊤) * S := by |
| 610 | set J : ℝ := ∫ q : 𝔸 E ⧸ ratAdeles E, η q ∂addHaarMeasure ⊤ with hJ |
| 611 | have hJ_nonneg : 0 ≤ J := integral_nonneg hη_nonneg |
| 612 | -- `G` is `F` smoothed by `η`: a continuous periodic function with `G 0 = ∫ η F`. |
| 613 | let G (z : 𝔸 E) : ℂ := ∫ x : 𝔸 E, η ↑(z + x) * F x |
| 614 | have hG_per : IsContPeriodic (ratAdeles E) G := by |
| 615 | refine ⟨continuous_of_dominated (by fun_prop) (fun z ↦ .of_forall fun x ↦ ?_) hF.norm |
| 616 | (.of_forall (by fun_prop)), by simp +contextual [G, ← eq_zero_iff]⟩ |
| 617 | grw [norm_mul, norm_real, hη_le, one_mul, norm_real] |
| 618 | let coeff (ξ : E) (f : 𝔸 E → ℂ) : ℂ := |
| 619 | quotMean (ratAdeles E) fun z : 𝔸 E ↦ stdAddChar E (toAdele ξ * z) * f z |
| 620 | have coeff_G (ξ : E) : coeff ξ G = |
| 621 | coeff ξ (fun z ↦ η z) * ∫ x : 𝔸 E, stdAddChar E (toAdele ξ * -x) * ofReal (F x) := |
| 622 | quotMean_stdAddChar_mul_integral hF hη_le ξ |
| 623 | have coeff_η (ξ : E) : ‖coeff ξ fun z ↦ η z‖ ≤ J := |
| 624 | (norm_integral_le_integral_norm _).trans (by simp [hJ, norm_coe, abs_of_nonneg, hη_nonneg]) |
| 625 | have h_sum_le (Y : Finset E) : ∑ ξ ∈ Y, ‖coeff ξ G‖ ≤ J * S := by |
| 626 | simp only [coeff_G, norm_mul] |
| 627 | grw [coeff_η, ← mul_sum, hS] |
| 628 | -- Fourier inversion at `0`: the real part of every partial sum of the series is at most `J * S`. |
| 629 | have h_inv : HasSum (fun ξ : E ↦ coeff ξ G) (G 0) := by |
| 630 | simpa using isDualFamily_ratAdeles.fourier_inversion hG_per |
| 631 | (summable_of_sum_le (fun _ ↦ norm_nonneg _) h_sum_le).of_norm (fun _ ↦ rfl) 0 |
| 632 | have h_re_le : (G 0).re ≤ J * S := le_of_tendsto' (hasSum_re h_inv) fun Y ↦ |
| 633 | (sum_le_sum fun ξ _ ↦ re_le_norm (coeff ξ G)).trans (h_sum_le Y) |
| 634 | simpa [G, ← ofReal_mul, integral_complex_ofReal] using h_re_le |
| 635 | |
| 636 | /-- Let `F ≥ 0` on `𝔸 E`, let `T` be a finite subset of the image `ratAdeles E` of `E`, and let |
| 637 | `η ≥ 0` on `𝔸 E ⧸ E` be such that every class at which `η` is not zero contains a point `u` with |
| 638 | `c ≤ ∑ t ∈ T, F (t + u)`. Then at each `x`, the sum of `η x * F (g + x)` over the `g` in `E` (the |
| 639 | integral for the counting measure) is at least `η x * c`: keep the terms with `g + x = t + u`. -/ |
| 640 | private lemma mul_le_integral_count_mul_add {E : Type*} [Field E] [NumberField E] |
| 641 | [PlaceEmbedding E] {c : ℝ} {F : 𝔸 E → ℝ} (hF_nonneg : 0 ≤ F) {T : Finset (ratAdeles E)} |
| 642 | {η : C(𝔸 E ⧸ ratAdeles E, ℝ)} (hη_nonneg : ∀ q : 𝔸 E ⧸ ratAdeles E, 0 ≤ η q) |
| 643 | (hη_supp : ∀ x : 𝔸 E, η x ≠ 0 → ∃ u : 𝔸 E, x - u ∈ ratAdeles E ∧ c ≤ ∑ t ∈ T, F (t + u)) |
| 644 | (x : 𝔸 E) (hx : Integrable (fun g : ratAdeles E ↦ η x * F (g + x)) count) : |
| 645 | η x * c ≤ ∫ g : ratAdeles E, η x * F (g + x) ∂count := by |
| 646 | obtain h_zero | h_pos : η x = 0 ∨ 0 < η x := (hη_nonneg x).eq_or_lt' |
| 647 | · simp [h_zero] |
| 648 | -- Keep the terms `g` with `g + x = t + u` for `t ∈ T`. |
| 649 | obtain ⟨u, hux, hu⟩ := hη_supp x h_pos.ne' |
| 650 | calc η x * c ≤ η x * ∑ t ∈ T, F (t + u) := by gcongr |
| 651 | _ = ∑ g ∈ T.map (addRightEmbedding (-⟨x - u, hux⟩)), η x * F (g + x) := by |
| 652 | simp [add_assoc, mul_sum] |
| 653 | _ ≤ ∫ g : ratAdeles E, η x * F (g + x) ∂count := |
| 654 | sum_le_hasSum _ (fun g _ ↦ mul_nonneg h_pos.le (hF_nonneg (g + x))) |
| 655 | (by simpa [count] using hasSum_integral_measure (μ := dirac) hx) |
| 656 | |
| 657 | /-- Lower bound for `∫ η F` by folding the integral over `E`. Let `F ≥ 0` be integrable on `𝔸 E` |
| 658 | (for its `volume` measure, which is also used for `∫ x, η x * F x`), let `T` be a finite subset of |
| 659 | the image `ratAdeles E` of `E`, and let `η` be continuous on `𝔸 E ⧸ E` with values in `[0, 1]` and |
| 660 | positive integral; `η x` for `x : 𝔸 E` means `η` evaluated at the class of `x`. If every class at |
| 661 | which `η` is not zero contains a point `u` with `c ≤ ∑ t ∈ T, F (t + u)`, then `(∫ η) * c ≤ ∫ η F`, |
| 662 | where `∫ η` is taken for the Haar probability measure `addHaarMeasure ⊤` on the quotient. -/ |
| 663 | lemma IsDualFamily.mul_le_integral_mul_of_le_sum {E : Type*} [Field E] [NumberField E] |
| 664 | [IsTotallyComplex E] [PlaceEmbedding E] {c : ℝ} {F : 𝔸 E → ℝ} (hF : Integrable F) |
| 665 | (hF_nonneg : 0 ≤ F) {T : Finset (ratAdeles E)} {η : C(𝔸 E ⧸ ratAdeles E, ℝ)} |
| 666 | (hη_nonneg : ∀ q : 𝔸 E ⧸ ratAdeles E, 0 ≤ η q) (hη_le : ∀ q : 𝔸 E ⧸ ratAdeles E, ‖η q‖ ≤ 1) |
| 667 | (hη_pos : 0 < ∫ q : 𝔸 E ⧸ ratAdeles E, η q ∂addHaarMeasure ⊤) |
| 668 | (hη_supp : ∀ x : 𝔸 E, η x ≠ 0 → ∃ u : 𝔸 E, x - u ∈ ratAdeles E ∧ c ≤ ∑ t ∈ T, F (t + u)) : |
| 669 | (∫ q : 𝔸 E ⧸ ratAdeles E, η q ∂addHaarMeasure ⊤) * c ≤ ∫ x : 𝔸 E, η x * F x := by |
| 670 | -- `μ` computes integrals over `𝔸 E ⧸ E` and has total mass one. |
| 671 | set μ : Measure (𝔸 E) := (ratAdeles E).quotMeasure |
| 672 | have hJ_eq : ∫ q : 𝔸 E ⧸ ratAdeles E, η q ∂addHaarMeasure ⊤ = ∫ x : 𝔸 E, η x ∂μ := by |
| 673 | simpa [μ, quotMean, integral_complex_ofReal, average_eq_integral] using |
| 674 | (average_quotMeasure_eq_quotMean (ratAdeles E) volume (F := fun y ↦ ofReal (η y)) |
| 675 | ⟨by fun_prop, by simp +contextual [← eq_zero_iff]⟩).symm |
| 676 | have hη_int : Integrable (fun x : 𝔸 E ↦ η x) μ := .of_integral_ne_zero (hη_pos.trans_eq hJ_eq).ne' |
| 677 | have hη_add (g : ratAdeles E) (x : 𝔸 E) : η (g + x : 𝔸 E) = η x := by simp [(eq_zero_iff _).2] |
| 678 | obtain ⟨h_int, h_fold⟩ : |
| 679 | Integrable (fun p : 𝔸 E × ratAdeles E ↦ η p.1 * F (p.2 + p.1)) (μ.prod count) ∧ |
| 680 | ∫ x : 𝔸 E, ∫ g : ratAdeles E, η x * F (g + x) ∂count ∂μ = ∫ x : 𝔸 E, η x * F x := by |
| 681 | simpa only [Function.comp_def, AddSubgroup.vadd_def, vadd_eq_add, hη_add] using |
| 682 | (measurePreserving_addOrbitMeasure (H := ratAdeles E) (ν := count)).fubini |
| 683 | (hF.bdd_mul (by fun_prop) (.of_forall fun x ↦ hη_le x)) |
| 684 | -- The inner sum over `E` is at least `η x * c`. |
| 685 | have h_inner (x : 𝔸 E) (hx : Integrable (fun g : ratAdeles E ↦ η x * F (g + x)) count) : |
| 686 | η x * c ≤ ∫ g : ratAdeles E, η x * F (g + x) ∂count := |
| 687 | mul_le_integral_count_mul_add hF_nonneg hη_nonneg hη_supp x hx |
| 688 | rw [hJ_eq, ← integral_mul_const, ← h_fold] |
| 689 | exact integral_mono_ae (hη_int.mul_const c) h_int.integral_prod_left |
| 690 | (h_int.prod_right_ae.mono h_inner) |
| 691 | |
| 692 | /-- One-sided Poisson summation on the adeles `𝔸 E` of a totally complex number field `E`, with the |
| 693 | diagonal embedding `toAdele` given by the chosen complex embeddings of `PlaceEmbedding`. Let `F ≥ 0` |
| 694 | be integrable and lower semicontinuous at each point of a finite set `T` of rational points |
| 695 | (elements of the image `ratAdeles E` of `E`). Put `F̂(ξ) = ∫ ψ(-toAdele ξ · x) F(x) dx`, where |
| 696 | `ψ = stdAddChar E` and `dx` is the measure `volume` on `𝔸 E`, for which `E` has covolume one (its |
| 697 | `quotMeasure` for `𝔸 E ⧸ E` has mass one); if `S` bounds `∑ ξ ∈ Y, ‖F̂(ξ)‖` for every finite set |
| 698 | `Y ⊂ E`, then `∑ t ∈ T, F t ≤ S`. -/ |
| 699 | lemma IsDualFamily.sum_le_of_fourier {E : Type*} [Field E] [NumberField E] [IsTotallyComplex E] |
| 700 | [PlaceEmbedding E] {S : ℝ} {F : 𝔸 E → ℝ} (hF : Integrable F) (hF_nonneg : 0 ≤ F) |
| 701 | (T : Finset (ratAdeles E)) (hT : ∀ t ∈ T, LowerSemicontinuousAt F t) |
| 702 | (hS : ∀ Y : Finset E, ∑ ξ ∈ Y, ‖∫ x : 𝔸 E, stdAddChar E (toAdele ξ * -x) * ofReal (F x)‖ ≤ S) : |
| 703 | ∑ t ∈ T, F t ≤ S := by |
| 704 | -- Let `m < ∑ t ∈ T, F t`. Smooth `F` by a bump `η` on `𝔸 E ⧸ E` supported where the sum of the |
| 705 | -- translates still exceeds `m`. With `J = ∫ η`, the value `∫ η F` is at least `J m` (fold over |
| 706 | -- `E`) and at most `J S` (Fourier inversion on the compact quotient). |
| 707 | refine le_of_forall_lt_imp_le_of_dense fun m hm ↦ ?_ |
| 708 | let W : Set (𝔸 E) := {x : 𝔸 E | ∀ᶠ y : 𝔸 E in nhds x, m < ∑ t ∈ T, F (t + y)} |
| 709 | have h_lsc : LowerSemicontinuousAt (fun y : 𝔸 E ↦ ∑ t ∈ T, F (t + y)) 0 := |
| 710 | lowerSemicontinuousAt_sum fun t ht ↦ .comp (by simpa using hT t ht) (by fun_prop) |
| 711 | obtain ⟨η, hη_one, hη_compact, hη_supp, hη_mem⟩ : ∃ η : C(𝔸 E ⧸ ratAdeles E, ℝ), |
| 712 | Set.EqOn η 1 {0} ∧ IsCompact (tsupport η) ∧ tsupport η ⊆ QuotientAddGroup.mk '' W ∧ |
| 713 | ∀ q : 𝔸 E ⧸ ratAdeles E, η q ∈ Set.Icc 0 1 := |
| 714 | exists_continuousMap_one_of_isCompact_subset_isOpen isCompact_singleton |
| 715 | (isOpenMap_coe W isOpen_setOfPred_eventually_nhds) |
| 716 | (Set.singleton_subset_iff.2 ⟨0, h_lsc m (by simpa using hm), mk_zero _⟩) |
| 717 | have hη_nonneg (q : 𝔸 E ⧸ ratAdeles E) : 0 ≤ η q := (hη_mem q).1 |
| 718 | have hη_le (q : 𝔸 E ⧸ ratAdeles E) : ‖η q‖ ≤ 1 := by |
| 719 | simpa [abs_of_nonneg, hη_nonneg] using (hη_mem q).2 |
| 720 | have hη_sum (x : 𝔸 E) (hx : η x ≠ 0) : |
| 721 | ∃ u : 𝔸 E, x - u ∈ ratAdeles E ∧ m ≤ ∑ t ∈ T, F (t + u) := by |
| 722 | obtain ⟨u, hu, hux⟩ : ∃ u ∈ W, (u : 𝔸 E ⧸ ratAdeles E) = x := hη_supp (subset_closure hx) |
| 723 | exact ⟨u, eq_iff_sub_mem.1 hux.symm, hu.self_of_nhds.le⟩ |
| 724 | set J : ℝ := ∫ q : 𝔸 E ⧸ ratAdeles E, η q ∂addHaarMeasure ⊤ |
| 725 | have hJ_pos : 0 < J := η.continuous.integral_pos_of_hasCompactSupport_nonneg_ne_zero (x := 0) |
| 726 | hη_compact hη_nonneg (by simp [hη_one rfl]) |
| 727 | refine le_of_mul_le_mul_left ?_ hJ_pos |
| 728 | calc J * m ≤ ∫ x : 𝔸 E, η x * F x := |
| 729 | mul_le_integral_mul_of_le_sum hF hF_nonneg hη_nonneg hη_le hJ_pos hη_sum |
| 730 | _ ≤ J * S := integral_mul_le_of_sum_norm_le hF hS hη_nonneg hη_le |
| 731 | |
| 732 | end New |
| 733 | end OneSidedPoisson |
| 734 | |
| 735 | /-! |
| 736 | ## The inverse different in self-adjoint adeles is compact and open |
| 737 | |
| 738 | `New.selfAdjointCodifferent E M` is the group of self-adjoint finite adeles `z` (those with |
| 739 | `z̄ = z`) for which `M z` lies in the inverse different. For `M = 1` it normalises the Haar measure |
| 740 | on the self-adjoint finite adeles. |
| 741 | -/ |
| 742 | |
| 743 | section Codifferent |
| 744 | |
| 745 | open NumberField AddSubgroup AddChar MeasureTheory Measure New Ideal |
| 746 | |
| 747 | variable (E : Type*) [Field E] [NumberField E] [IsCMField E] |
| 748 | |
| 749 | /-- The additive group of self-adjoint (conjugation-invariant) finite adeles `z` of `E` with |
| 750 | `ψf E (M * z * x) = 1` for all integral finite adeles `x ∈ Ô E`, that is, with `M * z` in the |
| 751 | inverse different. Here `ψf E` is the finite part of the standard additive character. -/ |
| 752 | def New.selfAdjointCodifferent (M : 𝔸f E) : AddSubgroup (selfAdjoint (𝔸f E)) where |
| 753 | carrier := {z : selfAdjoint (𝔸f E) | ∀ x ∈ Ô E, ψf E (M * z * x) = 1} |
| 754 | add_mem' := by simp +contextual [mul_add, add_mul, map_add_eq_mul] |
| 755 | zero_mem' := by simp |
| 756 | neg_mem' := by simp +contextual [map_neg_eq_inv] |
| 757 | |
| 758 | /-- For a CM field `E` and a finite adele `M`, the group `selfAdjointCodifferent E M` of |
| 759 | self-adjoint finite adeles `z` with `M * z` in the inverse different is open in the self-adjoint |
| 760 | finite adeles. -/ |
| 761 | lemma New.isOpen_selfAdjointCodifferent (M : 𝔸f E) : (selfAdjointCodifferent E M).IsOpen := by |
| 762 | -- the subgroup contains an open neighbourhood `U` of `0` |
| 763 | let U : Set (selfAdjoint (𝔸f E)) := {z : selfAdjoint (𝔸f E) | M * z ∈ Ô E} |
| 764 | have hU_open : IsOpen U := isOpen_Ô.preimage (by fun_prop) |
| 765 | have hU_zero : 0 ∈ U := by simp [U] |
| 766 | have hU_sub : U ⊆ selfAdjointCodifferent E M := fun z hz x hx ↦ ψf_eq_one_of_mem (mul_mem hz hx) |
| 767 | exact isOpen_of_zero_mem_interior _ (mem_interior.2 ⟨U, hU_sub, hU_open, hU_zero⟩) |
| 768 | |
| 769 | /-- For a CM field `E` and an invertible finite adele `M`, the group `selfAdjointCodifferent E M` of |
| 770 | self-adjoint finite adeles `z` with `M * z` in the inverse different is compact. -/ |
| 771 | lemma New.isCompact_selfAdjointCodifferent {M : 𝔸f E} (hM : IsUnit M) : |
| 772 | IsCompact (selfAdjointCodifferent E M : Set (selfAdjoint (𝔸f E))) := by |
| 773 | -- The subgroup is open, hence closed, and lies in the compact set of `z` with `d M z ∈ Ô E`, |
| 774 | -- where `d` is the norm of the different, a nonzero natural number that lies in the different. |
| 775 | let d : ℕ := absNorm (differentIdeal ℤ (𝓞 E)) |
| 776 | have h_unit : IsUnit (d * M) := |
| 777 | (isUnit_natCast_finAdele (mt absNorm_eq_zero_iff.1 differentIdeal_ne_bot)).mul hM |
| 778 | have h_compact : IsCompact {z : selfAdjoint (𝔸f E) | h_unit.unit • (z : 𝔸f E) ∈ Ô E} := |
| 779 | (isCompact_Ô.preimage_smul h_unit.unit).preimage_val |
| 780 | refine h_compact.of_isClosed_subset (isClosed_of_isOpen _ (isOpen_selfAdjointCodifferent E M)) |
| 781 | fun z hz ↦ ?_ |
| 782 | -- By duality (`forall_ψf_mul_eq_one_iff`) every element of the different makes `M z` integral. |
| 783 | have h_dual (u : 𝔸f E) (hu : u ∈ Ô E) : ψf E (u * (M * z)) = 1 := by rw [mul_comm, hz u hu] |
| 784 | simpa [d, mul_assoc] using forall_ψf_mul_eq_one_iff.1 h_dual _ (absNorm_mem _) |
| 785 | |
| 786 | /-- The Haar measure on the self-adjoint finite adeles that gives `New.selfAdjointCodifferent E 1` |
| 787 | mass one. -/ |
| 788 | noncomputable instance : MeasureSpace (selfAdjoint (𝔸f E)) where |
| 789 | volume := addHaarMeasure ⟨⟨selfAdjointCodifferent E 1, |
| 790 | isCompact_selfAdjointCodifferent E isUnit_one⟩, |
| 791 | by simp [(isOpen_selfAdjointCodifferent E 1).interior_eq]⟩ |
| 792 | |
| 793 | /-- The volume on the self-adjoint finite adeles is an additive Haar measure. -/ |
| 794 | instance : IsAddHaarMeasure (volume : Measure (selfAdjoint (𝔸f E))) := |
| 795 | isAddHaarMeasure_addHaarMeasure _ |
| 796 | |
| 797 | /-- The group `selfAdjointCodifferent E 1` of self-adjoint finite adeles in the inverse different |
| 798 | has volume one. -/ |
| 799 | @[simp] |
| 800 | lemma New.volume_selfAdjointCodifferent_one : |
| 801 | volume (selfAdjointCodifferent E 1 : Set (selfAdjoint (𝔸f E))) = 1 := |
| 802 | addHaarMeasure_self |
| 803 | |
| 804 | end Codifferent |