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.Probability.Kernel.Composition.IntegralCompProd |
| 4 | import Mathlib.RingTheory.PiTensorProduct |
| 5 | import Mathlib.Tactic.Monotonicity.Lemmas |
| 6 | import Mathlib.Topology.Sheaves.Presheaf |
| 7 | import TauCeti.Probability.Kernel.Composition.MeasureCompProd |
| 8 | public import Lib.DiscreteSeries.Bruhat.QuadricBlocks |
| 9 | import Lib.DiscreteSeries.Bruhat.FloorMeasures |
| 10 | import Lib.General.Measure.IdempotentKernel |
| 11 | |
| 12 | /-! |
| 13 | # Fourier kernels between solved measures |
| 14 | |
| 15 | The measure theory, valid at any place, that bounds the kernel ψ(ξ ⟨v, y⟩), tested on measurable |
| 16 | integrable functions that vanish off a given set. The square norm of a function is the square of its |
| 17 | L² norm. A measure that is solved in a block has three kinds of coordinates: those of the block, |
| 18 | whose measures give bounded mass to a box; inner coordinates, in which Plancherel's inequality is |
| 19 | applied; and the remaining outer coordinates, which are estimated by the volume of a box. |
| 20 | |
| 21 | * `New.Floors.Place.FourierSqNormLe`: the kernel ψ(ξ ⟨v, y⟩) multiplies square norms by at most a |
| 22 | given constant. The bound passes to images of the measures. |
| 23 | * `New.Floors.Place.IsSolvedIn.setLIntegral_le`: a bound for the integral, over a box, of a function |
| 24 | of the inner coordinates by its integral in those coordinates alone. |
| 25 | * `New.Floors.Place.IsSolvedIn.fourierSqNormLe`: the bound for the kernel between two measures that |
| 26 | are solved in two disjoint blocks. |
| 27 | |
| 28 | Notions from other files: |
| 29 | * `New.Floors.Place`: a place A, with its character ψ, its modulus |·| = `modulus` and the constant |
| 30 | c = `kernelBound` of Plancherel's inequality. |
| 31 | * `New.Floors.Place.IsSolvedIn`: a measure on A^κ is the volume in the coordinates off a block times |
| 32 | a family of measures in the coordinates of the block, each of mass at most M on a box. |
| 33 | * `New.Floors.coordinateBox`: the box of a set R, that is, the vectors with all coordinates in R. |
| 34 | |
| 35 | ## Relation to the literature |
| 36 | Standard consequences of Fubini's theorem and the inequalities of Cauchy–Schwarz and Plancherel. |
| 37 | -/ |
| 38 | |
| 39 | @[expose] public section |
| 40 | |
| 41 | namespace New.Floors |
| 42 | |
| 43 | open Matrix MeasureTheory Measure ProbabilityTheory ENNReal Fintype Set Sum |
| 44 | |
| 45 | /-- Cauchy–Schwarz on the support: if g vanishes off S, then the square of its integral is at most |
| 46 | μ(S) times the integral of its square over S. -/ |
| 47 | lemma enorm_integral_sq_le {Y : Type*} [MeasurableSpace Y] {μ : Measure Y} {g : Y → ℂ} {S : Set Y} |
| 48 | (hg_meas : AEStronglyMeasurable g μ) (hg_supp : ∀ y : Y, g y ≠ 0 → y ∈ S) : |
| 49 | ‖∫ y : Y, g y ∂μ‖ₑ ^ 2 ≤ μ S * ∫⁻ y : Y in S, ‖g y‖ₑ ^ 2 ∂μ := by |
| 50 | have h_supp : Function.support (fun y : Y ↦ ‖g y‖ₑ) ⊆ S := |
| 51 | fun y hy ↦ hg_supp y (eNorm_ne_zero.1 hy) |
| 52 | have h_cs : (∫⁻ y : Y in S, ‖g y‖ₑ ∂μ) ^ 2 ≤ |
| 53 | (∫⁻ _ : Y in S, 1 ∂μ) * ∫⁻ y : Y in S, ‖g y‖ₑ ^ 2 ∂μ := |
| 54 | sq_lintegral_le aemeasurable_const (hg_meas.eNorm.pow_const 2).restrict |
| 55 | fun y : Y ↦ (one_mul (‖g y‖ₑ ^ 2)).ge |
| 56 | grw [eNorm_integral_le_lintegral_eNorm, ← setLIntegral_eq_of_support_subset h_supp, h_cs, |
| 57 | setLIntegral_one] |
| 58 | |
| 59 | section Fibres |
| 60 | |
| 61 | variable {W Z : Type*} [MeasurableSpace W] [MeasurableSpace Z] {ν : Measure W} {ζ : Kernel W Z} |
| 62 | [SFinite ν] [IsSFiniteKernel ζ] {V : Set Z} {M : ℝ≥0∞} |
| 63 | |
| 64 | /-- Let each measure ζ(w) give mass at most M to V. The integral over B × V of a function of the |
| 65 | first variable is at most M times its integral over B. -/ |
| 66 | lemma setLIntegral_comp_fst_le {B : Set W} {F : W → ℝ≥0∞} (hB : MeasurableSet B) |
| 67 | (hV : MeasurableSet V) (h_fibre : ∀ w : W, ζ w V ≤ M) (hF : Measurable F) : |
| 68 | ∫⁻ p : W × Z in B ×ˢ V, F p.1 ∂ν ⊗ₘ ζ ≤ M * ∫⁻ w : W in B, F w ∂ν := by |
| 69 | rw [Measure.setLIntegral_compProd (by fun_prop) hB hV, ← lintegral_const_mul M hF] |
| 70 | refine lintegral_mono fun w ↦ ?_ |
| 71 | grw [← h_fibre w, mul_comm] |
| 72 | exact (setLIntegral_const V (F w)).le |
| 73 | |
| 74 | /-- Cauchy–Schwarz in the fibres. Let each measure ζ(w) give mass at most M to V, and let f vanish |
| 75 | unless its second variable lies in V. Integration over the fibres multiplies the square norm of f by |
| 76 | at most M. -/ |
| 77 | lemma lintegral_enorm_integral_kernel_sq_le {f : W × Z → ℂ} (hf : Measurable f) |
| 78 | (h_supp : ∀ p : W × Z, f p ≠ 0 → p.2 ∈ V) (h_fibre : ∀ w : W, ζ w V ≤ M) : |
| 79 | ∫⁻ w : W, ‖∫ z : Z, f (w, z) ∂ζ w‖ₑ ^ 2 ∂ν ≤ M * ∫⁻ p : W × Z, ‖f p‖ₑ ^ 2 ∂ν ⊗ₘ ζ := by |
| 80 | rw [Measure.lintegral_compProd (by fun_prop), |
| 81 | ← lintegral_const_mul M (Measurable.lintegral_kernel_prod_right (by fun_prop))] |
| 82 | refine lintegral_mono fun w ↦ ?_ |
| 83 | have h_cs : ‖∫ z : Z, f (w, z) ∂ζ w‖ₑ ^ 2 ≤ |
| 84 | ζ w V * ∫⁻ z : Z in V, ‖f (w, z)‖ₑ ^ 2 ∂ζ w := |
| 85 | enorm_integral_sq_le (hf.comp measurable_prodMk_left).aestronglyMeasurable |
| 86 | fun z ↦ h_supp (w, z) |
| 87 | grw [h_cs, h_fibre w, setLIntegral_le_lintegral] |
| 88 | |
| 89 | /-- The integral over the fibres of an integrable function is integrable. -/ |
| 90 | lemma integrable_integral_kernel {f : W × Z → ℂ} (hf_meas : Measurable f) |
| 91 | (hf_int : Integrable f (ν ⊗ₘ ζ)) : Integrable (fun w : W ↦ ∫ z : Z, f (w, z) ∂ζ w) ν := by |
| 92 | obtain ⟨-, h_norm⟩ := |
| 93 | (Measure.integrable_compProd_iff hf_int.aestronglyMeasurable).1 hf_int |
| 94 | exact h_norm.mono' hf_meas.stronglyMeasurable.integral_kernel_prod_right'.aestronglyMeasurable |
| 95 | (.of_forall fun _ ↦ norm_integral_le_integral_norm _) |
| 96 | |
| 97 | /-- Cauchy–Schwarz in the first of three variables (y, w, z). If f vanishes unless y lies in S, then |
| 98 | the square of its integral is at most μ(S) times the integral over y of the square of its integral |
| 99 | over w and z. -/ |
| 100 | lemma enorm_integral_prod_compProd_sq_le {Y : Type*} [MeasurableSpace Y] {μ : Measure Y} [SFinite μ] |
| 101 | {η : Kernel (Y × W) Z} [IsSFiniteKernel η] {f : (Y × W) × Z → ℂ} {S : Set Y} |
| 102 | (hf_meas : Measurable f) (hf_int : Integrable f ((μ.prod ν) ⊗ₘ η)) |
| 103 | (h_supp : ∀ p : (Y × W) × Z, f p ≠ 0 → p.1.1 ∈ S) : |
| 104 | ‖∫ p : (Y × W) × Z, f p ∂(μ.prod ν) ⊗ₘ η‖ₑ ^ 2 ≤ |
| 105 | μ S * ∫⁻ y : Y, ‖∫ w : W, ∫ z : Z, f ((y, w), z) ∂η (y, w) ∂ν‖ₑ ^ 2 ∂μ := by |
| 106 | have h_fibre : Integrable (fun q : Y × W ↦ ∫ z : Z, f (q, z) ∂η q) (μ.prod ν) := |
| 107 | integrable_integral_kernel hf_meas hf_int |
| 108 | have h_supp' (y : Y) (hy : ∫ w : W, ∫ z : Z, f ((y, w), z) ∂η (y, w) ∂ν ≠ 0) : y ∈ S := by |
| 109 | obtain ⟨w, hw⟩ := exists_ne_zero_of_integral_ne_zero hy |
| 110 | obtain ⟨z, hz⟩ := exists_ne_zero_of_integral_ne_zero hw |
| 111 | exact h_supp ((y, w), z) hz |
| 112 | rw [Measure.integral_compProd hf_int, integral_prod _ h_fibre] |
| 113 | grw [enorm_integral_sq_le h_fibre.integral_prod_left.aestronglyMeasurable h_supp', |
| 114 | setLIntegral_le_lintegral] |
| 115 | |
| 116 | end Fibres |
| 117 | |
| 118 | namespace Place |
| 119 | |
| 120 | variable {A : Type} [CommRing A] [StarRing A] [TopologicalSpace A] [MeasureSpace A] [P : Place A] |
| 121 | {κ n : Type} [Fintype κ] [Fintype n] {J : Matrix κ κ A} {ξ : A} {ρ' ρ : Measure (κ → A)} |
| 122 | {S' S : Set (κ → A)} {C : ℝ≥0∞} |
| 123 | |
| 124 | /-- The kernel ψ(ξ ⟨v, y⟩), with ψ the character of the place and ⟨v, y⟩ = v* J y, multiplies |
| 125 | square norms by at most C from the functions on (S, ρ) to the functions on (S', ρ'). It is tested on |
| 126 | the measurable integrable functions φ that vanish off S. -/ |
| 127 | def FourierSqNormLe (J : Matrix κ κ A) (ξ : A) (ρ' ρ : Measure (κ → A)) (S' S : Set (κ → A)) |
| 128 | (C : ℝ≥0∞) : Prop := |
| 129 | ∀ φ : (κ → A) → ℂ, Measurable φ → Integrable φ ρ → (∀ y : κ → A, φ y ≠ 0 → y ∈ S) → |
| 130 | ∫⁻ v : κ → A in S', ‖∫ y : κ → A, ψ (ξ * star v ⬝ᵥ J *ᵥ y) * φ y ∂ρ‖ₑ ^ 2 ∂ρ' ≤ |
| 131 | C * ∫⁻ y : κ → A, ‖φ y‖ₑ ^ 2 ∂ρ |
| 132 | |
| 133 | /-- The constant may be enlarged. -/ |
| 134 | lemma FourierSqNormLe.mono {C' : ℝ≥0∞} (h : FourierSqNormLe J ξ ρ' ρ S' S C) (hC : C ≤ C') : |
| 135 | FourierSqNormLe J ξ ρ' ρ S' S C' := by |
| 136 | intro φ hφ_meas hφ_int hφ_supp |
| 137 | grw [h φ hφ_meas hφ_int hφ_supp, hC] |
| 138 | |
| 139 | /-- A bound for the kernel (`FourierSqNormLe`) passes to the images of the two measures under maps |
| 140 | f', f with ξ₁ ⟨f' v, f y⟩ = ξ ⟨v, y⟩ for all v, y; the two products are formed with J₁ and J. It |
| 141 | holds on all sets U', U, with U' measurable, whose preimages lie in S', S. -/ |
| 142 | lemma FourierSqNormLe.map {J₁ : Matrix n n A} {ξ₁ : A} {f' f : (κ → A) → n → A} |
| 143 | {U' U : Set (n → A)} (h : FourierSqNormLe J ξ ρ' ρ S' S C) (hf' : Measurable f') |
| 144 | (hf : Measurable f) |
| 145 | (h_phase : ∀ v y : κ → A, ξ₁ * star (f' v) ⬝ᵥ J₁ *ᵥ f y = ξ * star v ⬝ᵥ J *ᵥ y) |
| 146 | (hU' : MeasurableSet U') (h_sub' : ∀ v : κ → A, f' v ∈ U' → v ∈ S') |
| 147 | (h_sub : ∀ y : κ → A, f y ∈ U → y ∈ S) : |
| 148 | FourierSqNormLe J₁ ξ₁ (ρ'.map f') (ρ.map f) U' U C := by |
| 149 | intro φ hφ_meas hφ_int hφ_supp |
| 150 | have h_transform (v : κ → A) : |
| 151 | ∫ y : n → A, ψ (ξ₁ * star (f' v) ⬝ᵥ J₁ *ᵥ y) * φ y ∂ρ.map f = |
| 152 | ∫ y : κ → A, ψ (ξ * star v ⬝ᵥ J *ᵥ y) * φ (f y) ∂ρ := by |
| 153 | rw [integral_map hf.aemeasurable (Measurable.aestronglyMeasurable (by fun_prop))] |
| 154 | simp only [h_phase] |
| 155 | calc ∫⁻ v : n → A in U', ‖∫ y : n → A, ψ (ξ₁ * star v ⬝ᵥ J₁ *ᵥ y) * φ y ∂ρ.map f‖ₑ ^ 2 |
| 156 | ∂ρ'.map f' |
| 157 | ≤ ∫⁻ v : κ → A in S', ‖∫ y : κ → A, ψ (ξ * star v ⬝ᵥ J *ᵥ y) * φ (f y) ∂ρ‖ₑ ^ 2 ∂ρ' := by |
| 158 | grw [restrict_map hf' hU', lintegral_map_le _ hf'.aemeasurable] |
| 159 | simp only [h_transform] |
| 160 | exact lintegral_mono_set h_sub' |
| 161 | _ ≤ C * ∫⁻ y : κ → A, ‖φ (f y)‖ₑ ^ 2 ∂ρ := |
| 162 | h (φ ∘ f) (hφ_meas.comp hf) (hφ_int.comp_measurable hf) |
| 163 | fun y hy ↦ h_sub y (hφ_supp (f y) hy) |
| 164 | _ = C * ∫⁻ y : n → A, ‖φ y‖ₑ ^ 2 ∂ρ.map f := by rw [lintegral_map (by fun_prop) hf] |
| 165 | |
| 166 | variable {ι B B' : Type} [Fintype ι] [Fintype B'] {blk : B → κ} {blk' : B' → κ} |
| 167 | {inner : ι → κ} {R R' : Set A} {M M' : ℝ≥0∞} |
| 168 | |
| 169 | omit [Fintype κ] [Fintype n] in |
| 170 | /-- Multiplication by a value of ψ preserves the absolute value. -/ |
| 171 | lemma enorm_psi_mul (x : A) (z : ℂ) : ‖P.ψ x * z‖ₑ = ‖z‖ₑ := by |
| 172 | simp [← ofReal_norm (P.ψ x), norm_psi] |
| 173 | |
| 174 | /-- Plancherel's inequality in the second of two variables: the partial Fourier transform multiplies |
| 175 | square norms by at most (c / |ξ|)^(card ι), where c = `kernelBound` and |·| = `modulus`. -/ |
| 176 | lemma lintegral_lintegral_fourier_le [DecidableEq ι] {Y : Type} [MeasurableSpace Y] {μ : Measure Y} |
| 177 | [SFinite μ] (ξ : Aˣ) {g : Y × (ι → A) → ℂ} (hg_meas : Measurable g) |
| 178 | (hg_int : Integrable g (μ.prod volume)) : |
| 179 | ∫⁻ w' : ι → A, ∫⁻ y : Y, ‖∫ w : ι → A, P.ψ (ξ * star w' ⬝ᵥ w) * g (y, w)‖ₑ ^ 2 ∂μ ≤ |
| 180 | (P.kernelBound / P.modulus ξ) ^ card ι * ∫⁻ q : Y × (ι → A), ‖g q‖ₑ ^ 2 ∂μ.prod volume := by |
| 181 | have h_meas : Measurable fun q : (ι → A) × Y ↦ |
| 182 | ‖∫ w : ι → A, P.ψ (ξ * star q.1 ⬝ᵥ w) * g (q.2, w)‖ₑ ^ 2 := |
| 183 | (StronglyMeasurable.integral_prod_right |
| 184 | (Measurable.stronglyMeasurable (by fun_prop))).measurable.eNorm.pow_const 2 |
| 185 | rw [lintegral_lintegral_swap h_meas.aemeasurable, lintegral_prod _ (by fun_prop), |
| 186 | ← lintegral_const_mul _ (by fun_prop)] |
| 187 | refine lintegral_mono_ae (hg_int.prod_right_ae.mono fun y hy ↦ ?_) |
| 188 | exact plancherel_inequality ξ hy (by fun_prop) |
| 189 | |
| 190 | /-- Plancherel's inequality in w, after Cauchy–Schwarz in z. Let each measure ζ(y, w) give mass at |
| 191 | most M to V, and let f(y, w, z) vanish unless z lies in V. The partial Fourier transform in w of the |
| 192 | integral of f over z has square norm at most (c / |ξ|)^(card ι) M times that of f. Here ψ is the |
| 193 | character of the place, c = `kernelBound` and |·| = `modulus`. -/ |
| 194 | lemma lintegral_lintegral_fourier_integral_kernel_le [DecidableEq ι] {Y Z : Type} |
| 195 | [MeasurableSpace Y] [MeasurableSpace Z] {μ : Measure Y} [SFinite μ] |
| 196 | {ζ : Kernel (Y × (ι → A)) Z} [IsSFiniteKernel ζ] {V : Set Z} {M : ℝ≥0∞} (ξ : Aˣ) |
| 197 | {f : (Y × (ι → A)) × Z → ℂ} (hf_meas : Measurable f) |
| 198 | (hf_int : Integrable f ((μ.prod volume) ⊗ₘ ζ)) |
| 199 | (h_supp : ∀ p : (Y × (ι → A)) × Z, f p ≠ 0 → p.2 ∈ V) |
| 200 | (h_fibre : ∀ q : Y × (ι → A), ζ q V ≤ M) : |
| 201 | ∫⁻ w' : ι → A, ∫⁻ y : Y, |
| 202 | ‖∫ w : ι → A, P.ψ (ξ * star w' ⬝ᵥ w) * ∫ z : Z, f ((y, w), z) ∂ζ (y, w)‖ₑ ^ 2 ∂μ ≤ |
| 203 | (P.kernelBound / P.modulus ξ) ^ card ι * |
| 204 | (M * ∫⁻ p : (Y × (ι → A)) × Z, ‖f p‖ₑ ^ 2 ∂(μ.prod volume) ⊗ₘ ζ) := by |
| 205 | grw [lintegral_lintegral_fourier_le ξ |
| 206 | hf_meas.stronglyMeasurable.integral_kernel_prod_right'.measurable |
| 207 | (integrable_integral_kernel hf_meas hf_int), |
| 208 | lintegral_enorm_integral_kernel_sq_le hf_meas h_supp h_fibre] |
| 209 | |
| 210 | /-- The vector with outer coordinates p.1.1, inner coordinates p.1.2 and coordinates p.2 in the |
| 211 | block, along a bijection e of indices. -/ |
| 212 | def blockChart {η : Type} (e : (η ⊕ ι) ⊕ B ≃ κ) (p : ((η → A) × (ι → A)) × (B → A)) : κ → A := |
| 213 | ((p.1.1 ⊕ᵥ p.1.2) ⊕ᵥ p.2) ∘ e.symm |
| 214 | |
| 215 | omit [CommRing A] [StarRing A] [TopologicalSpace A] [MeasureSpace A] P [Fintype κ] [Fintype ι] |
| 216 | in |
| 217 | /-- A vector lies in the box of R exactly when its three parts do. -/ |
| 218 | lemma preimage_blockChart_coordinateBox {η : Type} (e : (η ⊕ ι) ⊕ B ≃ κ) (R : Set A) : |
| 219 | blockChart e ⁻¹' coordinateBox κ R = |
| 220 | (coordinateBox η R ×ˢ coordinateBox ι R) ×ˢ coordinateBox B R := by |
| 221 | ext p |
| 222 | simp [blockChart, e.surjective.forall] |
| 223 | |
| 224 | omit [CommRing A] [StarRing A] [TopologicalSpace A] P in |
| 225 | /-- The box of a measurable set is measurable. -/ |
| 226 | lemma measurableSet_coordinateBox (κ : Type) [Fintype κ] (hR : MeasurableSet R) : |
| 227 | MeasurableSet (coordinateBox κ R) := |
| 228 | (MeasurableSet.univ_pi fun _ : κ ↦ hR).congr (Set.ext fun x ↦ by simp) |
| 229 | |
| 230 | omit [CommRing A] [StarRing A] [TopologicalSpace A] P [Fintype κ] in |
| 231 | /-- If T(y, w, z) ≤ K H(y, w), the integral of H(y, w) over all w is at most D, and each measure |
| 232 | ζ(y, w) gives mass at most M to V, then the integral of T over (S × U) × V is at most K M D μ(S). -/ |
| 233 | lemma setLIntegral_le_of_le_comp_fst {Y Z : Type} [MeasurableSpace Y] [MeasurableSpace Z] |
| 234 | [SFinite (volume : Measure (ι → A))] {μ : Measure Y} [SFinite μ] |
| 235 | {ζ : Kernel (Y × (ι → A)) Z} [IsSFiniteKernel ζ] {S : Set Y} {U : Set (ι → A)} {V : Set Z} |
| 236 | {M K D : ℝ≥0∞} {T : (Y × (ι → A)) × Z → ℝ≥0∞} {H : Y × (ι → A) → ℝ≥0∞} |
| 237 | (hS : MeasurableSet S) (hU : MeasurableSet U) (hV : MeasurableSet V) |
| 238 | (h_fibre : ∀ q : Y × (ι → A), ζ q V ≤ M) (hH : Measurable H) |
| 239 | (hT : ∀ p : (Y × (ι → A)) × Z, T p ≤ K * H p.1) |
| 240 | (hD : ∀ y : Y, ∫⁻ w : ι → A, H (y, w) ≤ D) : |
| 241 | ∫⁻ p : (Y × (ι → A)) × Z in (S ×ˢ U) ×ˢ V, T p ∂(μ.prod volume) ⊗ₘ ζ ≤ |
| 242 | K * (M * (D * μ S)) := by |
| 243 | calc _ ≤ K * (M * ∫⁻ q : Y × (ι → A) in S ×ˢ univ, H q ∂μ.prod volume) := by |
| 244 | grw [lintegral_mono hT, lintegral_const_mul _ (by fun_prop), |
| 245 | setLIntegral_comp_fst_le (hS.prod hU) hV h_fibre hH, |
| 246 | lintegral_mono_set (prod_mono_right (subset_univ U))] |
| 247 | _ ≤ K * (M * (D * μ S)) := by |
| 248 | grw [← prod_restrict, restrict_univ, lintegral_prod _ (by fun_prop), lintegral_mono hD, |
| 249 | setLIntegral_const] |
| 250 | |
| 251 | omit [Fintype n] in |
| 252 | /-- The square of the transform of φ is a measurable function of its variable v. -/ |
| 253 | lemma measurable_enorm_integral_fourier_sq [SFinite ρ] {φ : (κ → A) → ℂ} (hφ : Measurable φ) |
| 254 | (J : Matrix κ κ A) (ξ : A) : |
| 255 | Measurable fun v : κ → A ↦ ‖∫ y : κ → A, P.ψ (ξ * star v ⬝ᵥ J *ᵥ y) * φ y ∂ρ‖ₑ ^ 2 := |
| 256 | (StronglyMeasurable.integral_prod_right |
| 257 | (Measurable.stronglyMeasurable (by fun_prop))).measurable.eNorm.pow_const 2 |
| 258 | |
| 259 | omit [Fintype κ] in |
| 260 | /-- The square norm in y of the partial Fourier transform in w of the integral over z of a |
| 261 | measurable f(y', y, w, z) is a measurable function of y' and w'. -/ |
| 262 | lemma measurable_lintegral_fourier_integral_kernel {Y Y' Z : Type} [MeasurableSpace Y] |
| 263 | [MeasurableSpace Y'] [MeasurableSpace Z] {μ : Measure Y} [SFinite μ] |
| 264 | {ζ : Kernel (Y × (ι → A)) Z} [IsSFiniteKernel ζ] (ξ : A) {f : Y' → (Y × (ι → A)) × Z → ℂ} |
| 265 | (hf : Measurable (Function.uncurry f)) : |
| 266 | Measurable fun q' : Y' × (ι → A) ↦ ∫⁻ y : Y, ‖∫ w : ι → A, P.ψ (ξ * star q'.2 ⬝ᵥ w) * |
| 267 | ∫ z : Z, f q'.1 ((y, w), z) ∂ζ (y, w)‖ₑ ^ 2 ∂μ := by |
| 268 | let g (y' : Y') (q : Y × (ι → A)) : ℂ := ∫ z : Z, f y' (q, z) ∂ζ q |
| 269 | have hg : Measurable (Function.uncurry g) := |
| 270 | (StronglyMeasurable.integral_kernel_prod_right (κ := ζ.prodMkLeft Y') |
| 271 | (f := fun r z ↦ f r.1 (r.2, z)) (Measurable.stronglyMeasurable (by fun_prop))).measurable |
| 272 | change Measurable fun q' : Y' × (ι → A) ↦ |
| 273 | ∫⁻ y : Y, ‖∫ w : ι → A, P.ψ (ξ * star q'.2 ⬝ᵥ w) * g q'.1 (y, w)‖ₑ ^ 2 ∂μ |
| 274 | refine Measurable.lintegral_prod_right (Measurable.pow_const (Measurable.eNorm ?_) 2) |
| 275 | exact (StronglyMeasurable.integral_prod_right |
| 276 | (Measurable.stronglyMeasurable (by fun_prop))).measurable |
| 277 | |
| 278 | /-- Cauchy–Schwarz in the outer coordinates. Let a chart x(y, w, z) carry (μ × volume) ⊗ ζ to ρ, let |
| 279 | φ(x(y, w, z)) vanish unless y lies in S, and let the product v* J x(y, w, z) be b(y) + w'*w + |
| 280 | a(y, w, z). The square of the transform of φ at v is at most μ(S) times the square norm in y of the |
| 281 | partial Fourier transform at w' of the integral of ψ(ξ a) φ(x) over z. -/ |
| 282 | lemma enorm_integral_fourier_sq_le {Y Z : Type} [MeasurableSpace Y] [MeasurableSpace Z] |
| 283 | {μ : Measure Y} [SFinite μ] {ζ : Kernel (Y × (ι → A)) Z} [IsSFiniteKernel ζ] |
| 284 | {x : (Y × (ι → A)) × Z → κ → A} |
| 285 | (h_chart : MeasurePreserving x ((μ.prod volume) ⊗ₘ ζ) ρ) {φ : (κ → A) → ℂ} |
| 286 | (hφ_meas : Measurable φ) (hφ_int : Integrable φ ρ) {S : Set Y} |
| 287 | (h_supp : ∀ p : (Y × (ι → A)) × Z, φ (x p) ≠ 0 → p.1.1 ∈ S) (ξ : A) (v : κ → A) |
| 288 | (w' : ι → A) {b : Y → A} {a : (Y × (ι → A)) × Z → A} |
| 289 | (h_phase : ∀ p : (Y × (ι → A)) × Z, |
| 290 | star v ⬝ᵥ J *ᵥ x p = b p.1.1 + (star w' ⬝ᵥ p.1.2 + a p)) : |
| 291 | ‖∫ y : κ → A, P.ψ (ξ * star v ⬝ᵥ J *ᵥ y) * φ y ∂ρ‖ₑ ^ 2 ≤ |
| 292 | μ S * ∫⁻ y : Y, ‖∫ w : ι → A, P.ψ (ξ * star w' ⬝ᵥ w) * |
| 293 | ∫ z : Z, P.ψ (ξ * a ((y, w), z)) * φ (x ((y, w), z)) ∂ζ (y, w)‖ₑ ^ 2 ∂μ := by |
| 294 | have h_meas : Measurable x := h_chart.measurable |
| 295 | let term (p : (Y × (ι → A)) × Z) : ℂ := P.ψ (ξ * star v ⬝ᵥ J *ᵥ x p) * φ (x p) |
| 296 | have h_int : Integrable term ((μ.prod volume) ⊗ₘ ζ) := |
| 297 | (h_chart.integrable_comp_of_integrable hφ_int).bdd_mul (c := 1) |
| 298 | (Measurable.aestronglyMeasurable (by fun_prop)) (by simp [norm_psi]) |
| 299 | rw [← h_chart.map_eq, integral_map h_meas.aemeasurable (by fun_prop)] |
| 300 | grw [enorm_integral_prod_compProd_sq_le (by fun_prop) h_int |
| 301 | fun p hp ↦ h_supp p (right_ne_zero_of_mul hp)] |
| 302 | simp only [term, h_phase, mul_add, AddChar.map_add_eq_mul, mul_assoc, integral_const_mul, |
| 303 | enorm_psi_mul, le_refl] |
| 304 | |
| 305 | omit [TopologicalSpace A] [MeasureSpace A] [StarRing A] P [Fintype κ] [Fintype ι] [Fintype B'] in |
| 306 | /-- Indices given by an injective map that avoids the inner coordinates and the block of the chart |
| 307 | are outer coordinates. -/ |
| 308 | lemma exists_inl_inl_eq_of_injective {η : Type} (e : (η ⊕ ι) ⊕ B ≃ κ) |
| 309 | (h_inj : Function.Injective ((e ∘ inl ∘ inr) ⊕ᵥ (blk' ⊕ᵥ (e ∘ inr)))) (i : B') : |
| 310 | ∃ k : η, e (inl (inl k)) = blk' i := by |
| 311 | obtain ⟨(k | k) | k, hk⟩ := e.surjective (blk' i) |
| 312 | · exact ⟨k, hk⟩ |
| 313 | · have h_eq : (inl k : ι ⊕ (B' ⊕ B)) = inr (inl i) := h_inj hk |
| 314 | exact absurd h_eq inl_ne_inr |
| 315 | · have h_eq : (inr (inr k) : ι ⊕ (B' ⊕ B)) = inr (inl i) := h_inj hk |
| 316 | exact absurd (inr_injective h_eq) inr_ne_inl |
| 317 | |
| 318 | omit [TopologicalSpace A] [MeasureSpace A] P in |
| 319 | /-- The product v* J y for v = `blockChart e' p'` and y = `blockChart e p`, two charts with the same |
| 320 | inner indices, where the rows of J at these indices and at the block of v are those of the identity |
| 321 | matrix and `out` locates that block among the outer indices of y. In a triple, p.1.1 is outer, p.1.2 |
| 322 | inner and p.2 in the block. The product is that of the block of v with outer coordinates of y, plus |
| 323 | that of the inner coordinates, plus the term of the outer coordinates of v. -/ |
| 324 | lemma star_blockChart_dotProduct_mulVec [DecidableEq κ] {η η' : Type} [Fintype η'] |
| 325 | (e : (η ⊕ ι) ⊕ B ≃ κ) (e' : (η' ⊕ ι) ⊕ B' ≃ κ) {J : Matrix κ κ A} {out : B' → η} |
| 326 | (h_inner : e' ∘ inl ∘ inr = e ∘ inl ∘ inr) |
| 327 | (h_out : ∀ i : B', e (inl (inl (out i))) = e' (inr i)) |
| 328 | (h_orth : ∀ (i : ι ⊕ B') (k : κ), J (((e ∘ inl ∘ inr) ⊕ᵥ (e' ∘ inr)) i) k = |
| 329 | (1 : Matrix κ κ A) (((e ∘ inl ∘ inr) ⊕ᵥ (e' ∘ inr)) i) k) |
| 330 | (p' : ((η' → A) × (ι → A)) × (B' → A)) (p : ((η → A) × (ι → A)) × (B → A)) : |
| 331 | star (blockChart e' p') ⬝ᵥ J *ᵥ blockChart e p = |
| 332 | star p'.2 ⬝ᵥ p.1.1 ∘ out + (star p'.1.2 ⬝ᵥ p.1.2 + |
| 333 | star p'.1.1 ⬝ᵥ (J *ᵥ blockChart e p) ∘ e' ∘ inl ∘ inl) := by |
| 334 | have h_row (i : ι ⊕ B') (x : κ → A) : |
| 335 | (J *ᵥ x) (((e ∘ inl ∘ inr) ⊕ᵥ (e' ∘ inr)) i) = x (((e ∘ inl ∘ inr) ⊕ᵥ (e' ∘ inr)) i) := by |
| 336 | simp only [mulVec, dotProduct, h_orth i] |
| 337 | exact congrFun (one_mulVec x) _ |
| 338 | have h_inner_entry (i : ι) : (J *ᵥ blockChart e p) (e' (inl (inr i))) = p.1.2 i := by |
| 339 | have h_index : e' (inl (inr i)) = e (inl (inr i)) := congrFun h_inner i |
| 340 | have h_eq : (J *ᵥ blockChart e p) (e (inl (inr i))) = blockChart e p (e (inl (inr i))) := |
| 341 | h_row (inl i) _ |
| 342 | rw [h_index, h_eq] |
| 343 | simp [blockChart] |
| 344 | have h_block_entry (i : B') : (J *ᵥ blockChart e p) (e' (inr i)) = p.1.1 (out i) := by |
| 345 | have h_eq : (J *ᵥ blockChart e p) (e' (inr i)) = blockChart e p (e' (inr i)) := |
| 346 | h_row (inr i) _ |
| 347 | rw [h_eq, ← h_out] |
| 348 | simp [blockChart] |
| 349 | rw [dotProduct, ← e'.sum_comp] |
| 350 | simp [blockChart.eq_def e', dotProduct, h_inner_entry, h_block_entry, add_comm] |
| 351 | |
| 352 | variable [Fintype B] |
| 353 | |
| 354 | /-- Let ρ be solved in a block, that is, let it be the volume in the free coordinates times measures |
| 355 | of mass at most M on the box of R in the block, and let inner coordinates off the block be given. |
| 356 | The free coordinates split into the inner ones and the rest, the outer ones. In `blockChart`, ρ is |
| 357 | the volume in the outer and the inner coordinates times such measures. -/ |
| 358 | lemma IsSolvedIn.exists_blockChart (h : IsSolvedIn blk ρ R M) |
| 359 | (h_inj : Function.Injective (inner ⊕ᵥ blk)) : |
| 360 | ∃ (η : Type) (_ : Fintype η) (e : (η ⊕ ι) ⊕ B ≃ κ) |
| 361 | (ζ : Kernel ((η → A) × (ι → A)) (B → A)) (_ : IsSFiniteKernel ζ), |
| 362 | e ∘ inl ∘ inr = inner ∧ e ∘ inr = blk ∧ card η = card κ - card ι - card B ∧ |
| 363 | MeasurePreserving (blockChart e) ((volume.prod volume) ⊗ₘ ζ) ρ ∧ |
| 364 | ∀ q : (η → A) × (ι → A), ζ q (coordinateBox B R) ≤ M := by |
| 365 | obtain ⟨η₀, _, e₀, ζ, rfl, _, h_chart, h_mass⟩ := h |
| 366 | -- Each inner index is a free index `j i`, and `f` lists the free indices. |
| 367 | have h_free (i : ι) : ∃ k : η₀, e₀ (inl k) = inner i := by |
| 368 | obtain ⟨k | k, hk⟩ := e₀.surjective (inner i) |
| 369 | · exact ⟨k, hk⟩ |
| 370 | · have h_eq : (inr k : ι ⊕ B) = inl i := h_inj hk |
| 371 | exact absurd h_eq inr_ne_inl |
| 372 | choose j hj using h_free |
| 373 | have hj_inj : Function.Injective j := .of_comp (f := e₀ ∘ inl) <| by |
| 374 | simpa [Function.comp_def, hj] using h_inj.comp inl_injective |
| 375 | obtain ⟨η, _, f, rfl⟩ := exists_equiv_comp_inr_eq hj_inj |
| 376 | let e : (η ⊕ ι) ⊕ B ≃ κ := (f.sumCongr (.refl B)).trans e₀ |
| 377 | let join (q : (η → A) × (ι → A)) : η₀ → A := (q.1 ⊕ᵥ q.2) ∘ f.symm |
| 378 | have h_join : MeasurePreserving join (volume.prod volume) volume := |
| 379 | ((volume_measurePreserving_piCongrLeft (fun _ : η ⊕ ι ↦ A) f.symm).symm _).comp |
| 380 | measurePreserving_sumElim |
| 381 | have h_base : MeasurePreserving (Prod.map join id) |
| 382 | ((volume.prod volume) ⊗ₘ ζ.comap join h_join.measurable) (volume ⊗ₘ ζ) := |
| 383 | ⟨h_join.measurable.prodMap measurable_id, by |
| 384 | rw [Measure.map_prodMap_compProd_comap _ _ h_join.measurable, h_join.map_eq]⟩ |
| 385 | refine ⟨η, inferInstance, e, ζ.comap join h_join.measurable, inferInstance, funext hj, rfl, ?_, |
| 386 | ?_, fun q ↦ h_mass (join q)⟩ |
| 387 | · rw [← card_congr e, card_sum, card_sum] |
| 388 | lia |
| 389 | · suffices h_eq : blockChart e = |
| 390 | (fun p ↦ (p.1 ⊕ᵥ p.2) ∘ e₀.symm) ∘ Prod.map join id by |
| 391 | rw [h_eq] |
| 392 | exact h_chart.comp h_base |
| 393 | ext p k |
| 394 | obtain ⟨k | k, rfl⟩ := e₀.surjective k |
| 395 | · simp [blockChart, e, join] |
| 396 | · simp [blockChart, e, join] |
| 397 | |
| 398 | /-- Let ρ be solved in a block with fibres of mass at most M on the box of R, that is, let it be the |
| 399 | volume in the coordinates off the block times such measures in the block. For a function G of inner |
| 400 | coordinates off the block, the integral over the box of R is at most the volume of the box in the |
| 401 | outer coordinates, times M, times the integral of G over the box in A^ι. -/ |
| 402 | theorem IsSolvedIn.setLIntegral_le (h : IsSolvedIn blk ρ R M) (hR : MeasurableSet R) |
| 403 | (h_inj : Function.Injective (inner ⊕ᵥ blk)) {G : (ι → A) → ℝ≥0∞} (hG : Measurable G) : |
| 404 | ∫⁻ x : κ → A in coordinateBox κ R, G (x ∘ inner) ∂ρ ≤ |
| 405 | volume R ^ (card κ - card ι - card B) * M * ∫⁻ w : ι → A in coordinateBox ι R, G w := by |
| 406 | obtain ⟨η, _, e, ζ, _, rfl, rfl, h_card, h_chart, h_mass⟩ := h.exists_blockChart h_inj |
| 407 | calc ∫⁻ x : κ → A in coordinateBox κ R, G (x ∘ e ∘ inl ∘ inr) ∂ρ |
| 408 | _ = ∫⁻ p : ((η → A) × (ι → A)) × (B → A) in |
| 409 | (coordinateBox η R ×ˢ coordinateBox ι R) ×ˢ coordinateBox B R, G p.1.2 |
| 410 | ∂(volume.prod volume) ⊗ₘ ζ := by |
| 411 | rw [← h_chart.setLIntegral_comp_preimage (measurableSet_coordinateBox κ hR) (by fun_prop), |
| 412 | preimage_blockChart_coordinateBox] |
| 413 | simp [blockChart, Function.comp_def] |
| 414 | _ ≤ M * ∫⁻ q : (η → A) × (ι → A) in coordinateBox η R ×ˢ coordinateBox ι R, G q.2 |
| 415 | ∂volume.prod volume := |
| 416 | setLIntegral_comp_fst_le (F := fun q : (η → A) × (ι → A) ↦ G q.2) |
| 417 | ((measurableSet_coordinateBox η hR).prod (measurableSet_coordinateBox ι hR)) |
| 418 | (measurableSet_coordinateBox B hR) h_mass (by fun_prop) |
| 419 | _ = volume R ^ (card κ - card ι - card B) * M * |
| 420 | ∫⁻ w : ι → A in coordinateBox ι R, G w := by |
| 421 | rw [← prod_restrict, lintegral_prod _ (by fun_prop)] |
| 422 | simp only [lintegral_const, restrict_apply_univ, volume_coordinateBox, h_card] |
| 423 | ring |
| 424 | |
| 425 | omit [Fintype B] in |
| 426 | /-- For a place `P` on `A`, finite index types `κ`, `ι`, `B'`, `η`, `η'`, an index type `B`, and |
| 427 | coordinate bijections `e : (η ⊕ ι) ⊕ B ≃ κ` and `e' : (η' ⊕ ι) ⊕ B' ≃ κ` sharing the same inner |
| 428 | indices (`e' ∘ inl ∘ inr = e ∘ inl ∘ inr`), suppose `out : B' → η` locates the `B'`-block of `e'` |
| 429 | among the outer indices of `e` (`e (inl (inl (out i))) = e' (inr i)` for all `i : B'`). Let `ρ` |
| 430 | and `ρ'` be measures on `κ → A`, and let `ζ` and `ζ'` be s-finite kernels such that `blockChart e` |
| 431 | carries `(volume × volume) ⊗ ζ` to `ρ` and `blockChart e'` carries `(volume × volume) ⊗ ζ'` to |
| 432 | `ρ'`. Let `R, R' : Set A` with `R'` measurable and `M, M' : ℝ≥0∞` bound the fibre masses: |
| 433 | `ζ q (coordinateBox B R) ≤ M` for all `q` and `ζ' q' (coordinateBox B' R') ≤ M'` for all `q'`. If |
| 434 | `J : Matrix κ κ A` agrees with the identity matrix on the rows indexed by `e ∘ inl ∘ inr` and |
| 435 | `e' ∘ inr`, then for any unit `u : Aˣ`, |
| 436 | `FourierSqNormLe J u ρ' ρ (coordinateBox κ R') (coordinateBox κ R)` holds with constant |
| 437 | `volume R' ^ card η' * M' * (volume R ^ card η * M) * (P.kernelBound / P.modulus u) ^ card ι`. -/ |
| 438 | private lemma fourierSqNormLe_of_blockCharts [DecidableEq ι] [DecidableEq κ] |
| 439 | {η η' : Type} [Fintype η] [Fintype η'] |
| 440 | (e : (η ⊕ ι) ⊕ B ≃ κ) (e' : (η' ⊕ ι) ⊕ B' ≃ κ) |
| 441 | {ζ : Kernel ((η → A) × (ι → A)) (B → A)} [IsSFiniteKernel ζ] |
| 442 | {ζ' : Kernel ((η' → A) × (ι → A)) (B' → A)} [IsSFiniteKernel ζ'] |
| 443 | (h_inner' : e' ∘ inl ∘ inr = e ∘ inl ∘ inr) |
| 444 | {out : B' → η} (h_out : ∀ i : B', e (inl (inl (out i))) = e' (inr i)) |
| 445 | (h_chart : MeasurePreserving (blockChart e) ((volume.prod volume) ⊗ₘ ζ) ρ) |
| 446 | (h_chart' : MeasurePreserving (blockChart e') ((volume.prod volume) ⊗ₘ ζ') ρ') |
| 447 | (h_mass : ∀ q : (η → A) × (ι → A), ζ q (coordinateBox B R) ≤ M) |
| 448 | (h_mass' : ∀ q : (η' → A) × (ι → A), ζ' q (coordinateBox B' R') ≤ M') |
| 449 | (hR' : MeasurableSet R') |
| 450 | (h_orth : ∀ (i : ι ⊕ B') (k : κ), |
| 451 | J (((e ∘ inl ∘ inr) ⊕ᵥ (e' ∘ inr)) i) k = |
| 452 | (1 : Matrix κ κ A) (((e ∘ inl ∘ inr) ⊕ᵥ (e' ∘ inr)) i) k) |
| 453 | (u : Aˣ) : |
| 454 | FourierSqNormLe J u ρ' ρ (coordinateBox κ R') (coordinateBox κ R) |
| 455 | (volume R' ^ card η' * M' * (volume R ^ card η * M) * |
| 456 | (P.kernelBound / P.modulus u) ^ card ι) := by |
| 457 | -- As the blocks are disjoint and the rows of J at the block of `v` are those of the identity, the |
| 458 | -- fibre variables of `v` and of `y` are not paired. So the kernel is a Fourier kernel in the |
| 459 | -- inner coordinates times phases, and Cauchy–Schwarz handles the rest. |
| 460 | intro φ hφ_meas hφ_int hφ_supp |
| 461 | -- With the outer coordinates `y'` of `v` fixed, their term `a y'` of the product is a function |
| 462 | -- of `y`. The term of the block of `v` involves only the outer coordinates of `y`. |
| 463 | let a (y' : η' → A) (p : ((η → A) × (ι → A)) × (B → A)) : A := |
| 464 | star y' ⬝ᵥ (J *ᵥ blockChart e p) ∘ e' ∘ inl ∘ inl |
| 465 | -- `f y'` is φ times that phase, and `H` the square norm, in the outer coordinates of `y`, of the |
| 466 | -- Fourier transform in the inner ones of the integral of `f y'` over the block of `y`. |
| 467 | let f (y' : η' → A) (p : ((η → A) × (ι → A)) × (B → A)) : ℂ := |
| 468 | P.ψ (u * a y' p) * φ (blockChart e p) |
| 469 | let H (q' : (η' → A) × (ι → A)) : ℝ≥0∞ := ∫⁻ y : η → A, |
| 470 | ‖∫ w : ι → A, P.ψ (u * star q'.2 ⬝ᵥ w) * ∫ z : B → A, f q'.1 ((y, w), z) ∂ζ (y, w)‖ₑ ^ 2 |
| 471 | let c : ℝ≥0∞ := (P.kernelBound / P.modulus u) ^ card ι |
| 472 | let T (v : κ → A) : ℝ≥0∞ := ‖∫ y : κ → A, P.ψ (u * star v ⬝ᵥ J *ᵥ y) * φ y ∂ρ‖ₑ ^ 2 |
| 473 | have h_chart_meas : Measurable (blockChart e) := h_chart.measurable |
| 474 | have h_box (p : ((η → A) × (ι → A)) × (B → A)) (hp : φ (blockChart e p) ≠ 0) : |
| 475 | p ∈ (coordinateBox η R ×ˢ coordinateBox ι R) ×ˢ coordinateBox B R := |
| 476 | (preimage_blockChart_coordinateBox e R).subset (hφ_supp _ hp) |
| 477 | have hH_meas : Measurable H := |
| 478 | measurable_lintegral_fourier_integral_kernel (u : A) (f := f) (by fun_prop) |
| 479 | have h_schwarz (p' : ((η' → A) × (ι → A)) × (B' → A)) : |
| 480 | T (blockChart e' p') ≤ volume (coordinateBox η R) * H p'.1 := |
| 481 | enorm_integral_fourier_sq_le h_chart hφ_meas hφ_int (fun p hp ↦ (mem_prod.1 (h_box p hp).1).1) |
| 482 | u (blockChart e' p') _ (b := fun y : η → A ↦ star p'.2 ⬝ᵥ y ∘ out) |
| 483 | (star_blockChart_dotProduct_mulVec e e' h_inner' h_out h_orth p') |
| 484 | -- Plancherel's inequality in the inner coordinates, Cauchy–Schwarz in the block of `y`. |
| 485 | have h_plancherel (y' : η' → A) : |
| 486 | ∫⁻ w' : ι → A, H (y', w') ≤ c * (M * ∫⁻ y : κ → A, ‖φ y‖ₑ ^ 2 ∂ρ) := by |
| 487 | have hf_int : Integrable (f y') ((volume.prod volume) ⊗ₘ ζ) := |
| 488 | (h_chart.integrable_comp_of_integrable hφ_int).bdd_mul (c := 1) |
| 489 | (Measurable.aestronglyMeasurable (by fun_prop)) (by simp [norm_psi]) |
| 490 | have h_supp (p : ((η → A) × (ι → A)) × (B → A)) (hp : f y' p ≠ 0) : |
| 491 | p.2 ∈ coordinateBox B R := by |
| 492 | obtain ⟨-, h_mem⟩ := h_box p (right_ne_zero_of_mul hp) |
| 493 | exact h_mem |
| 494 | grw [lintegral_lintegral_fourier_integral_kernel_le u (by fun_prop) hf_int h_supp h_mass, |
| 495 | ← h_chart.lintegral_comp (by fun_prop)] |
| 496 | simp only [f, c, enorm_psi_mul, le_refl] |
| 497 | have : SFinite ρ := by |
| 498 | rw [← h_chart.map_eq] |
| 499 | infer_instance |
| 500 | have h_transform : Measurable T := measurable_enorm_integral_fourier_sq hφ_meas J u |
| 501 | calc ∫⁻ v : κ → A in coordinateBox κ R', T v ∂ρ' |
| 502 | _ = ∫⁻ p' : ((η' → A) × (ι → A)) × (B' → A) in |
| 503 | (coordinateBox η' R' ×ˢ coordinateBox ι R') ×ˢ coordinateBox B' R', |
| 504 | T (blockChart e' p') ∂(volume.prod volume) ⊗ₘ ζ' := by |
| 505 | rw [← h_chart'.setLIntegral_comp_preimage (measurableSet_coordinateBox κ hR') h_transform, |
| 506 | preimage_blockChart_coordinateBox] |
| 507 | _ ≤ volume (coordinateBox η R) * (M' * (c * (M * ∫⁻ y : κ → A, ‖φ y‖ₑ ^ 2 ∂ρ) * |
| 508 | volume (coordinateBox η' R'))) := |
| 509 | setLIntegral_le_of_le_comp_fst (measurableSet_coordinateBox η' hR') |
| 510 | (measurableSet_coordinateBox ι hR') (measurableSet_coordinateBox B' hR') h_mass' hH_meas |
| 511 | h_schwarz h_plancherel |
| 512 | _ = volume R' ^ card η' * M' * (volume R ^ card η * M) * |
| 513 | c * ∫⁻ y : κ → A, ‖φ y‖ₑ ^ 2 ∂ρ := by |
| 514 | rw [volume_coordinateBox, volume_coordinateBox] |
| 515 | ring |
| 516 | |
| 517 | /-- Let ρ be solved in the block `blk`, meaning it is the volume in the other coordinates times an |
| 518 | s-finite kernel of block measures, each of mass at most M on the box of R (vectors with all |
| 519 | coordinates in R). Let ρ' be solved likewise in `blk'` with M' and a measurable R', and let the |
| 520 | inner coordinates and both blocks be pairwise disjoint. If the rows of J at the inner indices and at |
| 521 | `blk'` are those of the identity, then for a unit ξ the kernel ψ(ξ v* J y), with ψ the character of |
| 522 | the place, multiplies square norms from the box of R with ρ to the box of R' with ρ' by at most |
| 523 | (c / |ξ|) per inner coordinate (c = `kernelBound`, |·| = `modulus`), times M, M' and the volume of R |
| 524 | (resp. R') raised to the number of coordinates outside the inner ones and `blk` (resp. `blk'`). -/ |
| 525 | theorem IsSolvedIn.fourierSqNormLe [DecidableEq ι] [DecidableEq κ] (h' : IsSolvedIn blk' ρ' R' M') |
| 526 | (h : IsSolvedIn blk ρ R M) (hR' : MeasurableSet R') |
| 527 | (h_inj : Function.Injective (inner ⊕ᵥ (blk' ⊕ᵥ blk))) {J : Matrix κ κ A} |
| 528 | (h_orth : ∀ (i : ι ⊕ B') (k : κ), |
| 529 | J ((inner ⊕ᵥ blk') i) k = (1 : Matrix κ κ A) ((inner ⊕ᵥ blk') i) k) (ξ : Aˣ) : |
| 530 | FourierSqNormLe J ξ ρ' ρ (coordinateBox κ R') (coordinateBox κ R) |
| 531 | (volume R' ^ (card κ - card ι - card B') * M' * (volume R ^ (card κ - card ι - card B) * M) * |
| 532 | (P.kernelBound / P.modulus ξ) ^ card ι) := by |
| 533 | -- Build compatible block charts for `ρ'` and `ρ` sharing the inner coordinates and locate `blk'`. |
| 534 | have h_inj' : Function.Injective (inner ⊕ᵥ blk') := by |
| 535 | simpa [Sum.elim_comp_map] using |
| 536 | h_inj.comp (Sum.map_injective.2 ⟨Function.injective_id, inl_injective⟩) |
| 537 | obtain ⟨η', _, e', ζ', _, h_inner', rfl, h_card', h_chart', h_mass'⟩ := |
| 538 | h'.exists_blockChart h_inj' |
| 539 | have h_inj_blk : Function.Injective (inner ⊕ᵥ blk) := by |
| 540 | simpa [Sum.elim_comp_map] using |
| 541 | h_inj.comp (Sum.map_injective.2 ⟨Function.injective_id, inr_injective⟩) |
| 542 | obtain ⟨η, _, e, ζ, _, rfl, rfl, h_card, h_chart, h_mass⟩ := h.exists_blockChart h_inj_blk |
| 543 | -- The block of `v` consists of outer coordinates of `y`. |
| 544 | have h_outer : ∀ i : B', ∃ k : η, e (inl (inl k)) = e' (inr i) := |
| 545 | exists_inl_inl_eq_of_injective e h_inj |
| 546 | choose out h_out using h_outer |
| 547 | rw [← h_card, ← h_card'] |
| 548 | exact fourierSqNormLe_of_blockCharts e e' h_inner' h_out h_chart h_chart' h_mass h_mass' hR' |
| 549 | h_orth ξ |
| 550 | |
| 551 | end Place |
| 552 | |
| 553 | end New.Floors |