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.Archimedean.Real.Hom |
| 4 | import Mathlib.MeasureTheory.SpecificCodomains.WithLp |
| 5 | import Mathlib.Topology.UniformSpace.Uniformizable |
| 6 | import TauCeti.Topology.Algebra.Group.Units |
| 7 | import TauCeti.Topology.Instances.Matrix |
| 8 | public import New.Spanning.Bessel.Basic |
| 9 | import Lib.Adelic.Adeles.AdditiveCharacter |
| 10 | import Lib.Cohomology.Etale.Basic |
| 11 | import Lib.DiscreteSeries.Bessel.UnipotentHaarMeasure |
| 12 | import Lib.DiscreteSeries.Bruhat.ComplexPlace |
| 13 | import Lib.DiscreteSeries.Haar.TotalMass |
| 14 | import New.Spanning.Bessel.OpenCellBound |
| 15 | |
| 16 | /-! |
| 17 | # One pairing on the open cell, at all places together |
| 18 | |
| 19 | Let `X` be a finite family of Bessel systems (`New.BesselSystem`), `W` the tensor product of their |
| 20 | Bessel functions and `W♭` that of their cuts. Let `φ` be a function of `z` of modulus at most `1`, |
| 21 | left invariant under the fixers of the frames and not necessarily a product over the places, such |
| 22 | that `φ (z) W♭ (γ z) ⊗ W♭ (z)^*` vanishes outside boxes. The integral of this product is bounded by |
| 23 | the root of the product of the local bounds `New.pairingBoundSq`, plus the integral of `‖φ‖` times |
| 24 | the norm of the difference between the uncut and cut kernels. |
| 25 | |
| 26 | The operator bounds of `New.BesselSystem.exists_isOpenCellBound` multiply over the places, and one |
| 27 | shift that is no worse than the mean gives the bound for `W`. |
| 28 | |
| 29 | Notions from other files: |
| 30 | * `BesselSystem`: two continuous functions on the group `G₁`, `besselFn .full` and its cut |
| 31 | `besselFn .cut`, with values in `ℂ^I`, parameters `b` and `f`, and a degree `deg`. |
| 32 | * `frameBox ρ`: the `y` with `‖y⁻¹ f_a‖ ≤ ρ` for every vector `f_a` of the frame; `besselFixer` is |
| 33 | the subgroup that fixes these vectors. |
| 34 | * `besselLength y`: the infimum of `‖s y‖ + 1` over `s` in the Bessel subgroup. |
| 35 | * `realFrameGram γ`: the matrix of products `h(f_a, γ f_b)` for the hermitian form `h`; |
| 36 | `gramDiscReal Z` is `|det Z| ^ 2 - |D| ^ 2`, with `D` the leading minor one size smaller. |
| 37 | * `pairingBoundSq γ deg ρ d`: the square of the bound of the open cell at one place, a power of |
| 38 | `ρ ^ (9 n) / 𝗀` times `d ^ 2 / (deg * openCellConst * (𝗀 / 2) ^ (k - 1))`, where |
| 39 | `𝗀 = gramDiscReal (realFrameGram γ)`, `n = 𝔰.n` and `k = 𝔰.k`. |
| 40 | |
| 41 | ## Main definitions and results |
| 42 | |
| 43 | * `New.BesselSystem.pairKernel`: the matrix of `W (y) ⊗ W (γ⁻¹ y)^*`. Its adjoint is the matrix of |
| 44 | `W (γ⁻¹ y) ⊗ W (y)^*`, which is `New.BesselSystem.piKernel` at `γ⁻¹`. |
| 45 | * `New.BesselSystem.enorm_integral_pairKernel_cut_le`: compact support and the bound for the pairing |
| 46 | of the cut functions. |
| 47 | |
| 48 | ## Relation to the literature |
| 49 | |
| 50 | See `New.Spanning.Bessel.FillingData` for related work. |
| 51 | -/ |
| 52 | |
| 53 | @[expose] public section |
| 54 | |
| 55 | open Finset Fintype New.RealPlace MeasureTheory ENNReal Measure ComplexConjugate |
| 56 | |
| 57 | namespace New.BesselSystem |
| 58 | |
| 59 | variable {ι : Type} [Fintype ι] {𝔰 : Shape} {b : ℝ} {f : ℕ} |
| 60 | |
| 61 | /-- The matrix of the operator `W (γ z) ⊗ W (z)^*`, as a vector with the Hilbert–Schmidt norm. Here |
| 62 | `W` is the tensor product, over a finite family `X` of Bessel systems, of the Bessel functions |
| 63 | (`σ = .full`) or of their cuts (`σ = .cut`). The adjoint of `piKernel X σ γ⁻¹ y` is |
| 64 | `pairKernel X σ γ y`. -/ |
| 65 | noncomputable def piKernel (X : ι → BesselSystem 𝔰 b f) (σ : FullOrCut) (γ z : ι → 𝔰.G₁) : |
| 66 | EuclideanSpace ℂ (((v : ι) → (X v).Index) × ((v : ι) → (X v).Index)) := |
| 67 | WithLp.toLp 2 fun i ↦ ∏ v : ι, (X v).besselFn σ (γ v * z v) (i.1 v) * conj |
| 68 | ((X v).besselFn σ (z v) (i.2 v)) |
| 69 | |
| 70 | lemma continuous_piKernel (X : ι → BesselSystem 𝔰 b f) (σ : FullOrCut) (γ : ι → 𝔰.G₁) : |
| 71 | Continuous (piKernel X σ γ) := by |
| 72 | fun_prop [piKernel] |
| 73 | |
| 74 | /-- The parameter `b` of a Bessel system is at least `1`, being at least eight times the rank. -/ |
| 75 | lemma one_le_b (X : BesselSystem 𝔰 b f) : 1 ≤ b := by |
| 76 | have h_rank : (𝔰.r : ℝ) = 𝔰.ϱ + (card 𝔰.κ + 1 + 𝔰.ϱ) := by simp |
| 77 | linarith [X.eight_mul_rank_le] |
| 78 | |
| 79 | /-- Where `piKernel X .cut γ z`, the matrix of the cut kernel `W♭ (γ z) ⊗ W♭ (z)^*`, is not zero, |
| 80 | every component of `γ z` satisfies `InCut`: its `besselLength` is at most `b ^ (6 n + 2)`, where |
| 81 | `n = 𝔰.n` is the number of vectors in the frame. -/ |
| 82 | lemma inCut_of_piKernel_ne_zero (X : ι → BesselSystem 𝔰 b f) {γ z : ι → 𝔰.G₁} |
| 83 | (h_ne : piKernel X .cut γ z ≠ 0) (v : ι) : InCut (γ v * z v) b := by |
| 84 | have h_W : (X v).besselFn .cut (γ v * z v) ≠ 0 := fun h_zero ↦ |
| 85 | h_ne (PiLp.ext fun i ↦ prod_eq_zero (mem_univ v) (by simp [h_zero])) |
| 86 | exact (X v).isCutPair.inCut_of_ne_zero _ h_W |
| 87 | |
| 88 | variable [DecidableEq ι] |
| 89 | |
| 90 | /-- For either side `σ` (uncut or cut), the product of `piKernel X σ γ` and a measurable function of |
| 91 | modulus at most `1`, both translated by `t`, is integrable on every compact set. -/ |
| 92 | lemma integrableOn_smul_piKernel (X : ι → BesselSystem 𝔰 b f) (σ : FullOrCut) (γ t : ι → 𝔰.G₁) |
| 93 | {φ : (ι → 𝔰.G₁) → ℂ} (hφ_meas : Measurable φ) (hφ_le : ∀ z : ι → 𝔰.G₁, ‖φ z‖ ≤ 1) |
| 94 | {A : Set (ι → 𝔰.G₁)} (hA : IsCompact A) : |
| 95 | IntegrableOn (fun z : ι → 𝔰.G₁ ↦ φ (t * z) • piKernel X σ γ (t * z)) A := by |
| 96 | have h_cont : Continuous fun z : ι → 𝔰.G₁ ↦ piKernel X σ γ (t * z) := |
| 97 | (continuous_piKernel X σ γ).comp (continuous_const_mul t) |
| 98 | exact (h_cont.continuousOn.integrableOn_compact hA).bdd_smul 1 |
| 99 | (hφ_meas.comp (measurable_const_mul t)).aestronglyMeasurable (.of_forall fun z ↦ hφ_le (t * z)) |
| 100 | |
| 101 | /-- Suppose each Bessel system `X v` satisfies `IsOpenCellBound (γ v) (ρ v) (A v) (ν v) (m v) (t v)` |
| 102 | with `ν v` finite, and let `φ` be a measurable complex-valued function on `ι → 𝔰.G₁` with |
| 103 | `‖φ z‖ ≤ 1` for every `z`. Then there is `s : ι → 𝔰.G₁` with `s v ∈ besselFixer` for all `v` such |
| 104 | that: (a) for every `v` and every `z ∈ frameBox (ρ v)`, `besselLength (γ v * s v * z) ≤ ρ v` implies |
| 105 | `z ∈ A v`; and (b) the squared Hilbert–Schmidt norm of the coordinatewise integrals against |
| 106 | `Measure.pi (fun v ↦ volume.restrict (A v))` is at most `∫⁻ z, ‖φ z‖ₑ ^ 2 ∂Measure.pi ν`. -/ |
| 107 | private lemma exists_fixer_shift_sum_enorm_sq_le (X : ι → BesselSystem 𝔰 b f) |
| 108 | {γ : ι → 𝔰.G₁} {ρ : ι → ℝ} {A : ι → Set 𝔰.G₁} {ν : ι → Measure 𝔰.G₁} |
| 109 | {m : ι → Measure 𝔰.FixerFactors} {t : ι → 𝔰.FixerFactors → 𝔰.G₁} |
| 110 | [∀ v : ι, IsFiniteMeasure (ν v)] |
| 111 | (h_cell : ∀ v : ι, (X v).IsOpenCellBound (γ v) (ρ v) (A v) (ν v) (m v) (t v)) |
| 112 | {φ : (ι → 𝔰.G₁) → ℂ} (hφ_meas : Measurable φ) (hφ_le : ∀ z : ι → 𝔰.G₁, ‖φ z‖ ≤ 1) : |
| 113 | ∃ s : ι → 𝔰.G₁, |
| 114 | (∀ v : ι, s v ∈ besselFixer) ∧ |
| 115 | (∀ v : ι, ∀ z ∈ frameBox (ρ v), besselLength (γ v * s v * z) ≤ ρ v → z ∈ A v) ∧ |
| 116 | ∑ i : (v : ι) → (X v).Index × (X v).Index, ‖∫ z : ι → 𝔰.G₁, φ z * ∏ v : ι, |
| 117 | (X v).besselFn .full (γ v * s v * z v) (i v).1 * conj |
| 118 | ((X v).besselFn .full (s v * z v) (i v).2) |
| 119 | ∂Measure.pi fun v ↦ volume.restrict (A v)‖ₑ ^ 2 ≤ |
| 120 | ∫⁻ z, ‖φ z‖ₑ ^ 2 ∂Measure.pi ν := by |
| 121 | -- The operator bounds multiply, and some shift does as well as the mean over shifts. |
| 122 | have ht (v : ι) : Measurable (t v) := (h_cell v).measurable |
| 123 | have h_prob (v : ι) : IsProbabilityMeasure (m v) := (h_cell v).isProbabilityMeasure |
| 124 | -- `N x` is the squared Hilbert–Schmidt norm of the pairing with the shifts `t v (x v)`. |
| 125 | let N (x : ι → 𝔰.FixerFactors) : ℝ≥0∞ := |
| 126 | ∑ i : (v : ι) → (X v).Index × (X v).Index, ‖∫ z : ι → 𝔰.G₁, φ z * ∏ v : ι, |
| 127 | (X v).besselFn .full (γ v * t v (x v) * z v) (i v).1 * conj |
| 128 | ((X v).besselFn .full (t v (x v) * z v) (i v).2) |
| 129 | ∂Measure.pi fun v ↦ volume.restrict (A v)‖ₑ ^ 2 |
| 130 | have h_mean : ∫⁻ x, N x ∂Measure.pi m ≤ ∫⁻ z, ‖φ z‖ₑ ^ 2 ∂Measure.pi ν := |
| 131 | IsL2Contraction.pi (by fun_prop) |
| 132 | (fun v i x ↦ ContinuousOn.integrableOn_compact (h_cell v).isCompact (by fun_prop)) |
| 133 | (fun v ↦ (h_cell v).isL2Contraction) φ 1 hφ_meas hφ_le |
| 134 | have h_ae : ∀ᵐ x : ι → 𝔰.FixerFactors ∂Measure.pi m, ∀ v : ι, ∀ z ∈ frameBox (ρ v), |
| 135 | besselLength (γ v * t v (x v) * z) ≤ ρ v → z ∈ A v := |
| 136 | ae_pi_le_pi (Filter.eventually_pi fun v ↦ (h_cell v).ae_mem_of_besselLength_le) |
| 137 | obtain ⟨x, hx_mem, hx_le⟩ := |
| 138 | exists_notMem_null_le_lintegral (by fun_prop : Measurable N).aemeasurable h_ae |
| 139 | exact ⟨fun v ↦ t v (x v), fun v ↦ (h_cell v).mem_besselFixer (x v), not_not.1 hx_mem, |
| 140 | hx_le.trans h_mean⟩ |
| 141 | |
| 142 | /-- Let `X v` be Bessel systems with size parameter `b`, one for each place `v`, and `W` the tensor |
| 143 | product of their Bessel functions. Let the frame Gram matrix of each `γ v` have `0 < gramDiscReal`, |
| 144 | and let some `y` have both `y v` and `(γ v)⁻¹ * y v` in `frameBox (ρ v)`, where `b ≤ ρ v`. Let `φ` |
| 145 | be measurable, of modulus at most `1`, and left invariant under the fixer `besselFixer` of the frame |
| 146 | at each place. There are a compact set `A` and a point `t` of the fixer such that the integral over |
| 147 | `A` of `φ` times the kernel `piKernel X .full γ`, the matrix of `W (γ z) ⊗ W (z)^*`, both translated |
| 148 | by `t`, has Hilbert–Schmidt norm at most the root of the product of the local bounds |
| 149 | `pairingBoundSq` at the places; and `A` contains every `z` in the boxes for which the components `x` |
| 150 | of `γ t z` have `besselLength` at most the corresponding `ρ v`. -/ |
| 151 | lemma exists_isCompact_enorm_integral_piKernel_le (X : ι → BesselSystem 𝔰 b f) |
| 152 | {γ y : ι → 𝔰.G₁} {ρ : ι → ℝ} (h_disc : ∀ v : ι, 0 < gramDiscReal (realFrameGram (γ v))) |
| 153 | (hy_box : ∀ v : ι, y v ∈ frameBox (ρ v)) (hγy_box : ∀ v : ι, (γ v)⁻¹ * y v ∈ frameBox (ρ v)) |
| 154 | (h_radius : ∀ v : ι, b ≤ ρ v) {φ : (ι → 𝔰.G₁) → ℂ} (hφ_meas : Measurable φ) |
| 155 | (hφ_le : ∀ z : ι → 𝔰.G₁, ‖φ z‖ ≤ 1) |
| 156 | (hφ_inv : ∀ s z : ι → 𝔰.G₁, (∀ v : ι, s v ∈ besselFixer) → φ (s * z) = φ z) : |
| 157 | ∃ (A : Set (ι → 𝔰.G₁)) (t : ι → 𝔰.G₁), |
| 158 | IsCompact A ∧ |
| 159 | (∀ v : ι, t v ∈ besselFixer) ∧ |
| 160 | (∀ z : ι → 𝔰.G₁, (∀ v : ι, z v ∈ frameBox (ρ v)) → |
| 161 | (∀ v : ι, besselLength (γ v * t v * z v) ≤ ρ v) → z ∈ A) ∧ |
| 162 | ‖∫ z in A, φ (t * z) • piKernel X .full γ (t * z)‖ₑ ≤ |
| 163 | .ofReal √(∏ v : ι, pairingBoundSq (γ v) (X v).deg (ρ v) (card (X v).Index)) := by |
| 164 | -- At each place `exists_isOpenCellBound` gives a compact `A v`, a finite measure `ν v` and a |
| 165 | -- probability measure `m v` on the parameters of the shifts `t v` (see `IsOpenCellBound`). |
| 166 | choose A ν m t h_cell using fun v : ι ↦ |
| 167 | (X v).exists_isOpenCellBound (h_disc v) (hy_box v) (hγy_box v) (h_radius v) |
| 168 | have h_finite (v : ι) : IsFiniteMeasure (ν v) := (h_cell v).isFiniteMeasure |
| 169 | have h_mass (v : ι) : (ν v).real .univ ≤ pairingBoundSq (γ v) (X v).deg (ρ v) |
| 170 | (card (X v).Index) := |
| 171 | (h_cell v).measureReal_univ_le |
| 172 | obtain ⟨s, hs, hx_good, hs_le⟩ := exists_fixer_shift_sum_enorm_sq_le X h_cell hφ_meas hφ_le |
| 173 | have h_compact : IsCompact (Set.univ.pi A) := isCompact_univ_pi fun v ↦ (h_cell v).isCompact |
| 174 | refine ⟨Set.univ.pi A, s, h_compact, hs, |
| 175 | fun z hz hγz v _ ↦ hx_good v (z v) (hz v) (hγz v), ?_⟩ |
| 176 | rw [← ENNReal.pow_le_pow_left_iff two_ne_zero] |
| 177 | calc |
| 178 | _ = ∑ i : (v : ι) → (X v).Index × (X v).Index, ‖∫ z : ι → 𝔰.G₁, φ z * ∏ v : ι, |
| 179 | (X v).besselFn .full (γ v * s v * z v) (i v).1 * conj |
| 180 | ((X v).besselFn .full (s v * z v) (i v).2) |
| 181 | ∂Measure.pi fun v ↦ volume.restrict (A v)‖ₑ ^ 2 := by |
| 182 | rw [euclidean_enorm_sq_eq_sum, ← (Equiv.arrowProdEquivProdArrow ..).sum_comp] |
| 183 | simp only [eval_integral_piLp |
| 184 | (integrableOn_smul_piKernel X .full γ s hφ_meas hφ_le h_compact).eval_piLp] |
| 185 | simp [← restrict_pi_pi, volume_pi, piKernel, mul_assoc, hφ_inv s _ hs] |
| 186 | _ ≤ ∫⁻ z, ‖φ z‖ₑ ^ 2 ∂Measure.pi ν := hs_le |
| 187 | _ ≤ ∫⁻ _, 1 ∂Measure.pi ν := |
| 188 | lintegral_mono fun z ↦ pow_le_one' (by simpa [← ofReal_norm] using hφ_le z) 2 |
| 189 | _ = .ofReal (∏ v : ι, (ν v).real .univ) := by simp [Measure.pi_univ, ofReal_prod_of_nonneg] |
| 190 | _ ≤ .ofReal (∏ v : ι, pairingBoundSq (γ v) (X v).deg (ρ v) (card (X v).Index)) := |
| 191 | ofReal_le_ofReal (prod_le_prod₀ (fun v _ ↦ measureReal_nonneg) fun v _ ↦ h_mass v) |
| 192 | _ = _ := by rw [← ofReal_pow (Real.sqrt_nonneg _), |
| 193 | Real.sq_sqrt (prod_nonneg fun v _ ↦ measureReal_nonneg.trans (h_mass v))] |
| 194 | |
| 195 | /-- Let `X v` be Bessel systems with size parameter `b`, one for each place `v`, and `W`, `W♭` the |
| 196 | tensor products of their Bessel functions and of their cuts. Let the frame Gram matrix of each `γ v` |
| 197 | have `0 < gramDiscReal`, and let some `y` have both `y v` and `(γ v)⁻¹ * y v` in `frameBox (ρ v)`, |
| 198 | where `b ^ (6 n + 2) ≤ ρ v` and `n = 𝔰.n` is the number of vectors in the frame. Let `φ` be |
| 199 | measurable, of modulus at most `1`, left invariant under the fixer `besselFixer` of the frame at |
| 200 | each place, and such that `φ` times the cut kernel `piKernel X .cut γ`, the matrix of |
| 201 | `W♭ (γ z) ⊗ W♭ (z)^*`, vanishes unless `z` lies in the boxes. Then this product has compact support, |
| 202 | and the Hilbert–Schmidt norm of its integral is at most the root of the product of the local bounds |
| 203 | `pairingBoundSq` at the places, plus the integral of `‖φ‖` times the norm of the difference of the |
| 204 | uncut kernel `W (γ z) ⊗ W (z)^*` and the cut kernel. -/ |
| 205 | lemma hasCompactSupport_and_enorm_integral_piKernel_le (X : ι → BesselSystem 𝔰 b f) |
| 206 | {γ y : ι → 𝔰.G₁} {ρ : ι → ℝ} (h_disc : ∀ v : ι, 0 < gramDiscReal (realFrameGram (γ v))) |
| 207 | (hy_box : ∀ v : ι, y v ∈ frameBox (ρ v)) (hγy_box : ∀ v : ι, (γ v)⁻¹ * y v ∈ frameBox (ρ v)) |
| 208 | (h_radius : ∀ v : ι, b ^ (6 * 𝔰.n + 2) ≤ ρ v) {φ : (ι → 𝔰.G₁) → ℂ} |
| 209 | (hφ_meas : Measurable φ) (hφ_le : ∀ z : ι → 𝔰.G₁, ‖φ z‖ ≤ 1) |
| 210 | (hφ_inv : ∀ s z : ι → 𝔰.G₁, (∀ v : ι, s v ∈ besselFixer) → φ (s * z) = φ z) |
| 211 | (hφ_box : ∀ z : ι → 𝔰.G₁, φ z • piKernel X .cut γ z ≠ 0 → ∀ v : ι, z v ∈ frameBox (ρ v)) : |
| 212 | HasCompactSupport (fun z : ι → 𝔰.G₁ ↦ φ z • piKernel X .cut γ z) ∧ |
| 213 | ‖∫ z : ι → 𝔰.G₁, φ z • piKernel X .cut γ z‖ₑ ≤ |
| 214 | .ofReal √(∏ v : ι, pairingBoundSq (γ v) (X v).deg (ρ v) (card (X v).Index)) + |
| 215 | ∫⁻ z : ι → 𝔰.G₁, ‖φ z‖ₑ * ‖piKernel X .full γ z - piKernel X .cut γ z‖ₑ := by |
| 216 | -- After a translation by `t` the cut integrand lives on the compact set `A`. There compare it |
| 217 | -- with the uncut one. |
| 218 | have hb_radius (v : ι) : b ≤ ρ v := |
| 219 | (le_self_pow₀ (X v).one_le_b (Nat.succ_ne_zero _)).trans (h_radius v) |
| 220 | obtain ⟨A, t, hA, ht, h_mem, h_full⟩ := exists_isCompact_enorm_integral_piKernel_le X h_disc |
| 221 | hy_box hγy_box hb_radius hφ_meas hφ_le hφ_inv |
| 222 | let F (σ : FullOrCut) (z : ι → 𝔰.G₁) : |
| 223 | EuclideanSpace ℂ (((v : ι) → (X v).Index) × ((v : ι) → (X v).Index)) := φ z • piKernel X σ γ z |
| 224 | have h_supp (z : ι → 𝔰.G₁) (hz : z ∉ A) : F .cut (t * z) = 0 := by |
| 225 | by_contra h_ne |
| 226 | refine hz (h_mem z (fun (v : ι) (a : Fin (𝔰.ϱ + 1)) ↦ ?_) fun v ↦ ?_) |
| 227 | · simpa [frameVector_mul_of_mem_besselFixer (ht v)] using hφ_box (t * z) h_ne v a |
| 228 | · have h_inCut : InCut (γ v * (t * z) v) b := |
| 229 | inCut_of_piKernel_ne_zero X (right_ne_zero_of_smul h_ne) v |
| 230 | simpa [mul_assoc] using h_inCut.trans (h_radius v) |
| 231 | have h_int (σ : FullOrCut) : IntegrableOn (fun z ↦ F σ (t * z)) A := |
| 232 | integrableOn_smul_piKernel X σ γ t hφ_meas hφ_le hA |
| 233 | have h_diff : ‖∫ z in A, F .full (t * z) - F .cut (t * z)‖ₑ ≤ |
| 234 | ∫⁻ z, ‖φ z‖ₑ * ‖piKernel X .full γ z - piKernel X .cut γ z‖ₑ := by |
| 235 | rw [← lintegral_mul_left_eq_self _ t] |
| 236 | refine ((eNorm_integral_le_lintegral_eNorm _).trans (setLIntegral_le_lintegral A _)).trans_eq ?_ |
| 237 | simp only [F, ← smul_sub, eNorm_smul] |
| 238 | refine ⟨.intro (hA.image (continuous_const_mul t)) fun z hz ↦ ?_, ?_⟩ |
| 239 | · simpa [F] using h_supp (t⁻¹ * z) fun h_memA ↦ hz ⟨t⁻¹ * z, h_memA, mul_inv_cancel_left t z⟩ |
| 240 | · have h_translate : ∫ z, F .cut z = ∫ z in A, F .cut (t * z) := by |
| 241 | rw [setIntegral_eq_integral_of_forall_compl_eq_zero h_supp, |
| 242 | integral_mul_left_eq_self (F .cut) t] |
| 243 | calc ‖∫ z, F .cut z‖ₑ |
| 244 | _ = ‖(∫ z in A, F .full (t * z)) - ∫ z in A, F .full (t * z) - F .cut (t * z)‖ₑ := by |
| 245 | rw [h_translate, integral_sub (h_int .full) (h_int .cut), _root_.sub_sub_cancel] |
| 246 | _ ≤ _ := eNorm_sub_le.trans (add_le_add h_full h_diff) |
| 247 | |
| 248 | /-- The pairing kernel evaluates `piKernel` at `γ⁻¹ * y`, giving the matrix of |
| 249 | `W (y) ⊗ W (γ⁻¹ y)^*` with its Hilbert–Schmidt norm. Here `W` is the tensor product of the Bessel |
| 250 | functions of the systems `X` for `σ = .full`, or of their cuts for `σ = .cut`. Equivalently, |
| 251 | this matrix is the adjoint of `piKernel X σ γ⁻¹ y`. -/ |
| 252 | noncomputable def pairKernel (X : ι → BesselSystem 𝔰 b f) (σ : FullOrCut) (γ y : ι → 𝔰.G₁) : |
| 253 | EuclideanSpace ℂ (((v : ι) → (X v).Index) × ((v : ι) → (X v).Index)) := |
| 254 | piKernel X σ γ (γ⁻¹ * y) |
| 255 | |
| 256 | /-- The passage to the adjoint (conjugate transpose) of a complex matrix indexed by `I × I`, a real |
| 257 | linear isometry for the Hilbert–Schmidt norm. -/ |
| 258 | noncomputable def adjointIsometry (I : Type) [Fintype I] : |
| 259 | EuclideanSpace ℂ (I × I) →ₗᵢ[ℝ] EuclideanSpace ℂ (I × I) := |
| 260 | ((LinearIsometryEquiv.piLpCongrLeft 2 ℝ ℂ (Equiv.prodComm I I)).trans |
| 261 | (LinearIsometryEquiv.piLpCongrRight 2 fun _ => Complex.conjLIE)).toLinearIsometry |
| 262 | |
| 263 | /-- **One pairing.** Let `X v` be Bessel systems with size parameter `b`, one for each place `v`, |
| 264 | and `W`, `W♭` the tensor products of their Bessel functions and of their cuts. Let the frame Gram |
| 265 | matrix of each `γ v` have `0 < gramDiscReal`, and let some `y'` have both `y' v` and |
| 266 | `(γ v)⁻¹ * y' v` in `frameBox (ρ v)`, where `b ^ (6 n + 2) ≤ ρ v` and `n = 𝔰.n` is the number of |
| 267 | vectors in the frame. Let `φ` be measurable, of modulus at most `1`, left invariant under the fixer |
| 268 | `besselFixer` of the frame at each place, and such that `φ` times the cut kernel |
| 269 | `pairKernel X .cut γ`, the matrix of `W♭ (y) ⊗ W♭ (γ⁻¹ y)^*`, vanishes unless `y` lies in the boxes. |
| 270 | Then this product has compact support, and the Hilbert–Schmidt norm of its integral is at most the |
| 271 | root of the product of the local bounds `pairingBoundSq`, plus the integral of `‖φ‖` times the norm |
| 272 | of the difference of the uncut kernel `W (y) ⊗ W (γ⁻¹ y)^*` and the cut kernel. -/ |
| 273 | theorem enorm_integral_pairKernel_cut_le (X : ι → BesselSystem 𝔰 b f) |
| 274 | {γ y' : ι → 𝔰.G₁} {ρ : ι → ℝ} (h_disc : ∀ v : ι, 0 < gramDiscReal (realFrameGram (γ v))) |
| 275 | (hy_box : ∀ v : ι, y' v ∈ frameBox (ρ v)) (hγy_box : ∀ v : ι, (γ v)⁻¹ * y' v ∈ frameBox (ρ v)) |
| 276 | (h_radius : ∀ v : ι, b ^ (6 * 𝔰.n + 2) ≤ ρ v) {φ : (ι → 𝔰.G₁) → ℂ} |
| 277 | (hφ_meas : Measurable φ) (hφ_le : ∀ y : ι → 𝔰.G₁, ‖φ y‖ ≤ 1) |
| 278 | (hφ_inv : ∀ s y : ι → 𝔰.G₁, (∀ v : ι, s v ∈ besselFixer) → φ (s * y) = φ y) |
| 279 | (hφ_box : ∀ y : ι → 𝔰.G₁, φ y • pairKernel X .cut γ y ≠ 0 → ∀ v : ι, y v ∈ frameBox (ρ v)) : |
| 280 | HasCompactSupport (fun y : ι → 𝔰.G₁ ↦ φ y • pairKernel X .cut γ y) ∧ |
| 281 | ‖∫ y : ι → 𝔰.G₁, φ y • pairKernel X .cut γ y‖ₑ ≤ |
| 282 | .ofReal √(∏ v : ι, pairingBoundSq (γ v) (X v).deg (ρ v) (card (X v).Index)) + |
| 283 | ∫⁻ y : ι → 𝔰.G₁, ‖φ y‖ₑ * ‖pairKernel X .full γ y - pairKernel X .cut γ y‖ₑ := by |
| 284 | -- The kernel is the adjoint of `W (γ⁻¹ y) ⊗ W (y)^*`, and `γ⁻¹` has the same `gramDiscReal`. |
| 285 | let T := adjointIsometry ((v : ι) → (X v).Index) |
| 286 | have h_kernel (σ : FullOrCut) (y : ι → 𝔰.G₁) : pairKernel X σ γ y = T (piKernel X σ γ⁻¹ y) := by |
| 287 | ext |
| 288 | simp [T, adjointIsometry, pairKernel, piKernel] |
| 289 | exact Finset.prod_congr rfl fun _ _ ↦ mul_comm _ _ |
| 290 | have h_adjoint (y : ι → 𝔰.G₁) : |
| 291 | φ y • pairKernel X .cut γ y = T (conj (φ y) • piKernel X .cut γ⁻¹ y) := by |
| 292 | ext; simp [h_kernel, T, adjointIsometry] |
| 293 | have h_disc_inv (v : ι) : |
| 294 | gramDiscReal (realFrameGram (γ⁻¹ v)) = gramDiscReal (realFrameGram (γ v)) := by |
| 295 | rw [Pi.inv_apply, realFrameGram, Filling.frameGram_inv] |
| 296 | simp [gramDiscReal, frameDisc, leadingMinor, ← Matrix.conjTranspose_submatrix] |
| 297 | obtain ⟨h_support, h_bound⟩ := hasCompactSupport_and_enorm_integral_piKernel_le X (γ := γ⁻¹) |
| 298 | (y := γ⁻¹ * y') |
| 299 | (φ := fun y ↦ conj (φ y)) (fun v ↦ by simpa only [h_disc_inv] using h_disc v) hγy_box |
| 300 | (fun v ↦ by simpa using hy_box v) h_radius (Complex.continuous_conj.measurable.comp hφ_meas) |
| 301 | (by simpa using hφ_le) (fun s y hs ↦ by rw [hφ_inv s y hs]) |
| 302 | fun y hy ↦ hφ_box y (by rwa [h_adjoint, _root_.map_ne_zero_iff T T.injective]) |
| 303 | simp only [h_adjoint] |
| 304 | refine ⟨h_support.comp_left (map_zero T), ?_⟩ |
| 305 | rw [T.integral_comp_comm, T.eNorm_map] |
| 306 | simpa only [h_kernel, ← map_sub, T.eNorm_map, pairingBoundSq, h_disc_inv, |
| 307 | RCLike.eNorm_conj] using h_bound |
| 308 | |
| 309 | end New.BesselSystem |