math / data /lean /OAI /Analysis /Fourier /SquareFunction /LocalizedL2.lean
introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
7.44 kB
import OAI.Analysis.Fourier.SquareFunction.LocalSquare
import OAI.Analysis.Fourier.Radial.Kernel
import OAI.Analysis.Fourier.SquareFunction.CubeGeometry
open OAI.Analysis.Fourier.Wave
/-! The localized high-frequency term in the combining-dilates argument.
Only the individual, global `LΒ²` operator bounds are used; the vector bound
comes from finite summation, Cauchy--Schwarz, and actual ball averages. -/
namespace OAI.Analysis.Fourier.SquareFunction
open _root_.MeasureTheory Set Metric
open scoped ENNReal
theorem enorm_vectorNorm_sq {I H : Type*} [Fintype I] [NormedAddCommGroup H]
(v : I β†’ H) :
ENNReal.ofReal (vectorNorm v) ^ (2 : ℝ) = βˆ‘ i, β€–v iβ€–β‚‘ ^ (2 : ℝ) := by
rw [ENNReal.rpow_two, ← ENNReal.ofReal_pow (vectorNorm_nonneg v), vectorNorm_sq,
ENNReal.ofReal_sum_of_nonneg (fun i _ => sq_nonneg β€–v iβ€–)]
apply Finset.sum_congr rfl
intro i hi
rw [ENNReal.ofReal_pow (norm_nonneg _), ofReal_norm, ENNReal.rpow_two]
theorem measurable_vectorNorm {X I H : Type*} [MeasurableSpace X] [Fintype I]
[NormedAddCommGroup H] [MeasurableSpace H] [BorelSpace H]
(v : I β†’ X β†’ H) (hv : βˆ€ i, Measurable (v i)) :
Measurable (fun x => vectorNorm (fun i => v i x)) := by
simp only [vectorNorm_eq_sqrt]
exact Real.continuous_sqrt.measurable.comp
(Finset.measurable_sum Finset.univ (fun i _ => (hv i).norm.pow_const 2))
theorem localized_vector_L2_moment {X I H : Type*} [MeasurableSpace X] [Fintype I]
[NormedAddCommGroup H] [MeasurableSpace H] [BorelSpace H]
(ΞΌ : Measure X) (u : I β†’ X β†’ H) (f : I β†’ X β†’ β„‚)
(hu : βˆ€ i, AEStronglyMeasurable (u i) ΞΌ) (hf : βˆ€ i, Measurable (f i))
{P : Set X} (hP : MeasurableSet P) {B : ℝβ‰₯0∞}
(h2 : βˆ€ i, eLpNorm (u i) 2 ΞΌ ≀ B * eLpNorm (P.indicator (f i)) 2 ΞΌ) :
(∫⁻ x, βˆ‘ i, β€–u i xβ€–β‚‘ ^ (2 : ℝ) βˆ‚ΞΌ) ≀
B ^ (2 : ℝ) * ∫⁻ x in P, βˆ‘ i, β€–f i xβ€–β‚‘ ^ (2 : ℝ) βˆ‚ΞΌ := by
rw [lintegral_finsetSum' Finset.univ (fun i _ => (hu i).enorm.pow_const 2),
lintegral_finsetSum Finset.univ (fun i _ => (hf i).enorm.pow_const 2), Finset.mul_sum]
apply Finset.sum_le_sum
intro i hi
have h := moment_le_of_eLpNorm_le ΞΌ (hu i) ((hf i).indicator hP).aestronglyMeasurable
(by norm_num : (0 : ℝ) < 2) (by simpa using h2 i)
have he : (fun x => β€–P.indicator (f i) xβ€–β‚‘ ^ (2 : ℝ)) =
P.indicator (fun x => β€–f i xβ€–β‚‘ ^ (2 : ℝ)) := by
ext x
by_cases hx : x ∈ P <;> simp [hx]
rw [he, lintegral_indicator hP] at h
exact h
/-- An actual localized vector estimate for any ball containing the input
support and the comparison point. `D` records only the ball-to-cube volume
ratio, so the bound is independent of the number of vector components. -/
theorem localized_vector_average_le_maximal {n : β„•} {I H : Type*} [Fintype I]
[NormedAddCommGroup H] [MeasurableSpace H] [BorelSpace H] [SecondCountableTopology H]
(u : I β†’ Space n β†’ H) (f : I β†’ Space n β†’ β„‚)
(hu : βˆ€ i, Measurable (u i)) (hf : βˆ€ i, Measurable (f i))
{Q P : Set (Space n)} (hQ0 : volume Q β‰  0) (hQtop : volume Q β‰  ∞)
(hP : MeasurableSet P) {c z : Space n} {R : ℝ}
(hPball : P βŠ† ball c R) (hz : z ∈ ball c R) {B D : ℝβ‰₯0∞}
(hvol : volume (ball c R) ≀ D * volume Q)
(h2 : βˆ€ i, eLpNorm (u i) 2 volume ≀ B * eLpNorm (P.indicator (f i)) 2 volume) :
(∫⁻ x in Q, ENNReal.ofReal (vectorNorm (fun i => u i x))) / volume Q ≀
B * (D * ballMaximal volume (fun x => βˆ‘ i, β€–f i xβ€–β‚‘ ^ (2 : ℝ)) z) ^ (1 / 2 : ℝ) := by
let F : Space n β†’ ℝβ‰₯0∞ := fun x => βˆ‘ i, β€–f i xβ€–β‚‘ ^ (2 : ℝ)
let M := ballMaximal volume F z
have hball := euclidean_ball_finite_pos c (nonempty_ball.mp ⟨z, hz⟩)
have havg : (∫⁻ x in ball c R, F x) ≀ M * volume (ball c R) := by
apply (ENNReal.div_le_iff_le_mul (.inl hball.1) (.inl hball.2)).mp
exact le_iSup_of_le (c, R) (le_iSup_of_le hz le_rfl)
have hmoment : (∫⁻ x in Q, ENNReal.ofReal (vectorNorm (fun i => u i x)) ^ (2 : ℝ)) ≀
B ^ (2 : ℝ) * (M * (D * volume Q)) := by
simp_rw [enorm_vectorNorm_sq]
calc
_ ≀ ∫⁻ x, βˆ‘ i, β€–u i xβ€–β‚‘ ^ (2 : ℝ) :=
lintegral_mono' Measure.restrict_le_self le_rfl
_ ≀ B ^ (2 : ℝ) * ∫⁻ x in P, F x :=
localized_vector_L2_moment volume u f (fun i => (hu i).aestronglyMeasurable) hf hP h2
_ ≀ B ^ (2 : ℝ) * ∫⁻ x in ball c R, F x :=
mul_le_mul_right (lintegral_mono' (Measure.restrict_mono_set _ hPball) le_rfl) _
_ ≀ B ^ (2 : ℝ) * (M * volume (ball c R)) := mul_le_mul_right havg _
_ ≀ _ := mul_le_mul_right (mul_le_mul_right hvol _) _
calc
_ ≀ ((∫⁻ x in Q, ENNReal.ofReal (vectorNorm (fun i => u i x)) ^ (2 : ℝ)) /
volume Q) ^ (1 / 2 : ℝ) :=
set_average_le_square_root volume _ (measurable_vectorNorm u hu).ennreal_ofReal Q hQ0 hQtop
_ ≀ ((B ^ (2 : ℝ) * (M * (D * volume Q))) / volume Q) ^ (1 / 2 : ℝ) :=
ENNReal.rpow_le_rpow (ENNReal.div_le_div_right hmoment _) (by positivity)
_ = _ := by
have he : B ^ (2 : ℝ) * (M * (D * volume Q)) =
(B ^ (2 : ℝ) * (D * M)) * volume Q := by ac_rfl
rw [he, ENNReal.mul_div_cancel_right hQ0 hQtop,
ENNReal.mul_rpow_of_nonneg _ _ (by norm_num : (0 : ℝ) ≀ 1 / 2),
← ENNReal.rpow_mul]
norm_num [M, F]
noncomputable def cubeBallRatio (n : β„•) : ℝβ‰₯0∞ :=
ENNReal.ofReal ((8 * ((n : ℝ) + 1)) ^ n) * volume (ball (0 : Space n) 1)
theorem cubeBallRatio_lt_top (n : β„•) : cubeBallRatio n < ∞ :=
ENNReal.mul_lt_top ENNReal.ofReal_lt_top measure_ball_lt_top
/-- The localized high-frequency estimate on a genuine Euclidean cube, with
the dimensional volume constant fully supplied. -/
theorem localized_cube_vector_average {n : β„•} {I H : Type*} [Fintype I]
[NormedAddCommGroup H] [MeasurableSpace H] [BorelSpace H] [SecondCountableTopology H]
(Q : BoxIntegral.Box (Fin n)) {s : ℝ} (hs : 0 < s)
(hside : βˆ€ i, Q.upper i - Q.lower i = s)
(u : I β†’ Space n β†’ H) (f : I β†’ Space n β†’ β„‚)
(hu : βˆ€ i, Measurable (u i)) (hf : βˆ€ i, Measurable (f i)) {B : ℝβ‰₯0∞}
(h2 : βˆ€ i, eLpNorm (u i) 2 volume ≀ B * eLpNorm
((ball (cubeCorner Q) (8 * (((n : ℝ) + 1) * s))).indicator (f i)) 2 volume)
{z : Space n} (hz : z ∈ euclideanBox Q) :
(∫⁻ x in euclideanBox Q, ENNReal.ofReal (vectorNorm (fun i => u i x))) /
volume (euclideanBox Q) ≀
B * (cubeBallRatio n * ballMaximal volume
(fun x => βˆ‘ i, β€–f i xβ€–β‚‘ ^ (2 : ℝ)) z) ^ (1 / 2 : ℝ) := by
have hzball : z ∈ ball (cubeCorner Q) (8 * (((n : ℝ) + 1) * s)) := by
have hz0 := euclideanBox_subset_ball Q hs hside hz
have hr : 0 < ((n : ℝ) + 1) * s := by positivity
exact mem_ball.mpr ((mem_ball.mp hz0).trans_le (by linarith))
apply localized_vector_average_le_maximal u f hu hf
(P := ball (cubeCorner Q) (8 * (((n : ℝ) + 1) * s)))
(c := cubeCorner Q) (R := 8 * (((n : ℝ) + 1) * s))
(by rw [volume_euclideanBox]; exact volume_box_ne_zero Q)
(by rw [volume_euclideanBox]; exact (Q.measure_coe_lt_top volume).ne)
isOpen_ball.measurableSet (Subset.refl _) hzball
Β· exact (by simpa only [cubeBallRatio, mul_assoc] using
(volume_enlarged_cube_ball Q hs (show 0 < 8 * ((n : ℝ) + 1) by positivity) hside).le)
Β· exact h2
end OAI.Analysis.Fourier.SquareFunction