11import Carleson.HolderVanDerCorput
22import Carleson.Operators
3+ import Carleson.ToMathlib.MeasureTheory.Integral.Bochner.ContinuousLinearMap
34
45macro_rules | `(tactic |gcongr_discharger) => `(tactic | with_reducible assumption)
56
@@ -21,11 +22,6 @@ section FunProp
2122
2223attribute [fun_prop] Complex.measurable_exp Complex.measurable_ofReal
2324
24- -- TODO: PR to Mathlib
25- @[fun_prop]
26- lemma Complex.measurable_starRingEnd : Measurable (starRingEnd ℂ) :=
27- Complex.continuous_conj.measurable
28-
2925@[fun_prop]
3026lemma measurable_correlation :
3127 Measurable (fun (s₁ s₂ : ℤ) (x y z : X) ↦ correlation s₁ s₂ x y z) := by
@@ -68,12 +64,6 @@ lemma mem_ball_of_mem_tsupport_correlation {s₁ s₂ : ℤ} {x₁ x₂ y : X}
6864/-- The constant from lemma 6.2.1. -/
6965def C6_2_1 (a : ℕ) : ℝ≥0 := 2 ^ (254 * a ^ 3 )
7066
71- --TODO: PR to Mathlib
72- lemma ENNReal.mul_div_mul_comm {a b c d : ℝ≥0 ∞} (hc : c ≠ ⊤) (hd : d ≠ ⊤) :
73- a * b / (c * d) = a / c * (b / d) := by
74- simp only [div_eq_mul_inv, ENNReal.mul_inv (Or.inr hd) (Or.inl hc)]
75- ring
76-
7767lemma aux_6_2_3 (s₁ s₂ : ℤ) (x₁ x₂ y y' : X) :
7868 ‖Ks s₂ x₂ y‖ₑ * ‖Ks s₁ x₁ y - Ks s₁ x₁ y'‖ₑ ≤
7969 C2_1_3 a / volume (ball x₂ (D ^ s₂)) *
@@ -110,11 +100,13 @@ lemma e625 {s₁ s₂ : ℤ} {x₁ x₂ y y' : X} (hy' : y ≠ y') (hs : s₁
110100 norm_cast
111101 ring
112102 rw [mul_comm, mul_add, h2, mul_comm (volume _)]
113- rw [ENNReal.mul_div_mul_comm measure_ball_ne_top measure_ball_ne_top, mul_assoc]
103+ rw [ENNReal.mul_div_mul_comm (Or.inr measure_ball_ne_top)
104+ (Or.inl measure_ball_ne_top), mul_assoc]
114105 apply add_le_add (aux_6_2_3 s₁ s₂ x₁ x₂ y y')
115106 rw [← neg_sub, enorm_neg]
116107 convert aux_6_2_3 s₂ s₁ x₂ x₁ y' y using 1
117- simp only [← mul_assoc, ← ENNReal.mul_div_mul_comm measure_ball_ne_top measure_ball_ne_top]
108+ simp only [← mul_assoc, ← ENNReal.mul_div_mul_comm (Or.inr measure_ball_ne_top)
109+ (Or.inl measure_ball_ne_top)]
118110 rw [mul_comm (volume _), edist_comm]
119111 _ ≤ 2 ^ (252 * a ^ 3 ) / (volume (ball x₁ (D ^ s₁)) * volume (ball x₂ (D ^ s₂))) *
120112 (2 * (edist y y' ^ τ / (D ^ s₁) ^ τ)) := by
@@ -156,7 +148,8 @@ lemma correlation_kernel_bound {s₁ s₂ : ℤ} {x₁ x₂ : X} (hs : s₁ ≤
156148 have hφ' (y : X) : ‖correlation s₁ s₂ x₁ x₂ y‖ₑ ≤
157149 (C2_1_3 a) ^ 2 / (volume (ball x₁ (D ^ s₁)) * volume (ball x₂ (D ^ s₂))):= by
158150 simp only [correlation, enorm_mul, RCLike.enorm_conj, pow_two,
159- ENNReal.mul_div_mul_comm measure_ball_ne_top measure_ball_ne_top]
151+ ENNReal.mul_div_mul_comm (Or.inr measure_ball_ne_top)
152+ (Or.inl measure_ball_ne_top)]
160153 exact mul_le_mul enorm_Ks_le enorm_Ks_le (zero_le _) (zero_le _)
161154 -- 6.2.6 + 6.2.7
162155 calc
@@ -184,19 +177,6 @@ lemma correlation_kernel_bound {s₁ s₂ : ℤ} {x₁ x₂ : X} (hs : s₁ ≤
184177
185178variable [TileStructure Q D κ S o]
186179
187- -- TODO: PR both versions to Mathlib
188- theorem MeasureTheory.exists_ne_zero_of_setIntegral_ne_zero {α E : Type *} [NormedAddCommGroup E]
189- [NormedSpace ℝ E] [MeasurableSpace α] {μ : MeasureTheory.Measure α} {f : α → E} {U : Set α}
190- (hU : ∫ (u : α) in U, f u ∂μ ≠ 0 ) : ∃ u : α, u ∈ U ∧ f u ≠ 0 := by
191- contrapose! hU
192- exact setIntegral_eq_zero_of_forall_eq_zero hU
193-
194- theorem MeasureTheory.exists_ne_zero_of_integral_ne_zero {α E : Type *} [NormedAddCommGroup E]
195- [NormedSpace ℝ E] [MeasurableSpace α] {μ : MeasureTheory.Measure α} {f : α → E}
196- (h : ∫ (u : α), f u ∂μ ≠ 0 ) : ∃ u : α, f u ≠ 0 := by
197- contrapose! h
198- exact integral_eq_zero_of_ae ((eqOn_univ f 0 ).mp fun ⦃x⦄ a ↦ h x).eventuallyEq
199-
200180-- Lemma 6.2.2
201181lemma range_support {p : 𝔓 X} {g : X → ℂ} {y : X} (hpy : adjointCarleson p g y ≠ 0 ) :
202182 y ∈ (ball (𝔠 p) (5 * D ^𝔰 p)) := by
@@ -432,23 +412,6 @@ lemma exp_ineq (ha : 4 ≤ a) : 0 < ((8 * a : ℕ) : ℝ) * -(2 * (a : ℝ) ^ 2
432412 norm_cast
433413 nlinarith
434414
435- -- TODO: PR to Mathlib
436- lemma _root_.ENNReal.rpow_lt_rpow_of_neg {x y : ℝ≥0 ∞} {z : ℝ} (hz : z < 0 ) (h : x < y) :
437- y ^ z < x ^ z := by
438- rw [← neg_neg z, ENNReal.rpow_neg y, ENNReal.rpow_neg x, ← ENNReal.inv_rpow, ← ENNReal.inv_rpow]
439- exact ENNReal.rpow_lt_rpow (ENNReal.inv_lt_inv.mpr h) (neg_pos.mpr hz)
440-
441- -- TODO: PR to Mathlib
442-
443- lemma _root_.ENNReal.rpow_lt_rpow_iff_of_neg {x y : ℝ≥0 ∞} {z : ℝ} (hz : z < 0 ) :
444- x ^ z < y ^ z ↔ y < x :=
445- ⟨lt_imp_lt_of_le_imp_le (fun h ↦ ENNReal.rpow_le_rpow_of_nonpos (le_of_lt hz) h),
446- fun h ↦ ENNReal.rpow_lt_rpow_of_neg hz h⟩
447-
448- lemma _root_.ENNReal.rpow_le_rpow_iff_of_neg {x y : ℝ≥0 ∞} {z : ℝ} (hz : z < 0 ) :
449- x ^ z ≤ y ^ z ↔ y ≤ x :=
450- le_iff_le_iff_lt_iff_lt.2 <| ENNReal.rpow_lt_rpow_iff_of_neg hz
451-
452415/-- Inequality 6.2.29. -/ -- TODO: add ‖g ↑x1‖ₑ * ‖g ↑x2‖ₑ in blueprint's RHS
453416lemma I12_le (ha : 4 ≤ a) (p p' : 𝔓 X) (hle : 𝔰 p' ≤ 𝔰 p) (g : X → ℂ)
454417 (hinter : (ball (𝔠 p') (5 * D ^ 𝔰 p') ∩ ball (𝔠 p) (5 * D ^ 𝔰 p)).Nonempty)
@@ -728,12 +691,6 @@ lemma bound_6_2_29' (ha : 4 ≤ a) (p p' : 𝔓 X) (x2 : E p) : 2 ^ (254 * a^3 +
728691 _ ≤ (C6_1_5 a) * ((1 + dist_(p') (𝒬 p') (𝒬 p))^(-(2 * a^2 + a^3 : ℝ)⁻¹)) /
729692 (volume (coeGrid (𝓘 p))).toNNReal := by gcongr; exact hvol x2
730693
731- -- TODO: PR to Mathlib
732- omit [MetricSpace X] in
733- lemma _root_.Set.indicator_one_le_one (x : X) : G.indicator (1 : X → ℝ) x ≤ 1 := by
734- classical
735- exact le_trans (ite_le_sup _ _ _) (by simp)
736-
737694omit [TileStructure Q D κ S o] in
738695lemma enorm_eq_zero_of_notMem_closedBall {g : X → ℂ} (hg1 : ∀ x, ‖g x‖ ≤ G.indicator 1 x)
739696 {x : X} (hx : x ∉ (closedBall (cancelPt X) (defaultD a ^ defaultS X / 4 ))) :
@@ -850,12 +807,6 @@ lemma boundedCompactSupport_Ks_mul_star_g (p : 𝔓 X) {g : X → ℂ}
850807 _ ≤ C + C := by gcongr; exact hC x.1 x.2 hx
851808 _ = 2 * C := by ring
852809
853-
854- -- This was deleted from `BoundedCompactSupport.lean`, but I need it.
855- open Bornology in
856- lemma _root_.isBounded_range_iff_forall_norm_le {α β} [SeminormedAddCommGroup α] {f : β → α} :
857- IsBounded (range f) ↔ ∃ C, ∀ x, ‖f x‖ ≤ C := by convert isBounded_iff_forall_norm_le; simp
858-
859810-- memLp_top_of_bound
860811lemma boundedCompactSupport_aux_6_2_26 (p p' : 𝔓 X) {g : X → ℂ}
861812 (hg : Measurable g) (hg1 : ∀ x, ‖g x‖ ≤ G.indicator 1 x) :
@@ -1067,7 +1018,6 @@ lemma integrableOn_I12 (ha : 4 ≤ a) {p p' : 𝔓 X} (hle : 𝔰 p' ≤ 𝔰 p)
10671018 exact MeasureTheory.IntegrableOn.congr_fun hf (fun _ hx ↦ by simp only [f, if_pos hx])
10681019 (measurableSet_E.prod measurableSet_E)
10691020
1070- /- TODO: it should be way easier to deduce this from `integrableOn_I12`, right? -/
10711021lemma integrableOn_I12' (ha : 4 ≤ a) {p p' : 𝔓 X} (hle : 𝔰 p' ≤ 𝔰 p) {g : X → ℂ} (hg : Measurable g)
10721022 (hg1 : ∀ x, ‖g x‖ ≤ G.indicator 1 x)
10731023 (hinter : (ball (𝔠 p') (5 * D ^ 𝔰 p') ∩ ball (𝔠 p) (5 * D ^ 𝔰 p)).Nonempty) :
0 commit comments