Download data/lean/OAI/Analysis/Fourier/SquareFunction/CubeOscillation.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 7.5 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/Fourier/SquareFunction/CubeOscillation.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Analysis/Fourier/SquareFunction/CubeOscillation.lean
-
curl -L -o CubeOscillation.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/Fourier/SquareFunction/CubeOscillation.lean
7.5 kB
| import OAI.Analysis.Fourier.SquareFunction.CubeVectors | |
| open OAI.Analysis.Fourier.Wave | |
| /-! The complete cube oscillation estimate in the combining-dilates lemma. | |
| The hypotheses below are scalar operator bounds and pointwise bounds on the | |
| actual kernels; there is no vector-valued or sharp-function hypothesis. -/ | |
| namespace OAI.Analysis.Fourier.SquareFunction | |
| open _root_.MeasureTheory Set Metric | |
| open scoped ENNReal | |
| noncomputable def scaleKernelConstant (n : β) (q r C : β) (L : β€) : β := | |
| Real.sqrt (4 / 3) * (2 : β) ^ (-L) * (C * 2 ^ q * (polynomialKernelMass n r).toReal) | |
| theorem scaleKernelConstant_nonneg {n : β} {q r C : β} {L : β€} (hC : 0 β€ C) : | |
| 0 β€ scaleKernelConstant n q r C L := by unfold scaleKernelConstant; positivity | |
| noncomputable def convolutionEnvelope {n : β} {H : Type*} | |
| [NormedAddCommGroup H] [NormedSpace β H] | |
| (s : Finset β€) (K : s β Space n β H) (f : s β Space n β β) | |
| (p q C : β) (B : ββ₯0β) (L : β€) (z : Space n) : ββ₯0β := | |
| ENNReal.ofReal (scaleKernelConstant n q q C L) * | |
| ballMaximal volume (fun y => ENNReal.ofReal (vectorNorm (fun i => f i y))) z + | |
| (cubeBallRatio n ^ (1 / 2 : β) * ((2 * L).toNat : ββ₯0β) ^ (1 / 2 - 1 / p)) * | |
| (β i, ballMaximal volume (fun y => βconvolveKernel (K i) (f i) yββ ^ (2 : β)) z ^ | |
| (p / 2)) ^ (1 / p) + | |
| B * (cubeBallRatio n * ballMaximal volume (fun y => β i, βf i yββ ^ (2 : β)) z) ^ | |
| (1 / 2 : β) + | |
| ENNReal.ofReal (scaleKernelConstant n q (q - 1) C L) * | |
| ballMaximal volume (fun y => ENNReal.ofReal (vectorNorm (fun i => f i y))) z | |
| theorem convolution_cube_oscillation {n : β} [NeZero n] {H : Type*} | |
| [NormedAddCommGroup H] [NormedSpace β H] [CompleteSpace H] | |
| [MeasurableSpace H] [BorelSpace H] [SecondCountableTopology H] | |
| (s : Finset β€) (K : s β Space n β H) (f : s β Space n β β) | |
| {p q C : β} (hp : 2 β€ p) (hq : (n : β) + 1 < q) (hC : 0 β€ C) | |
| (hKd : β i, Differentiable β (K i)) | |
| (hK : β i u, βK i uβ β€ C * ((2 : β) ^ i.val) ^ n * | |
| ((2 : β) ^ i.val * βuβ + 1) ^ (-q)) | |
| (hK' : β i u, βfderiv β (K i) uβ β€ C * (((2 : β) ^ i.val) ^ n * (2 : β) ^ i.val) * | |
| ((2 : β) ^ i.val * βuβ + 1) ^ (-q)) | |
| (hfm : β i, Measurable (f i)) (hfi : β i, Integrable (f i)) | |
| (hf2 : β i, MemLp (f i) 2 volume) {B : ββ₯0β} | |
| (h2 : β i (g : Space n β β), Integrable g β MemLp g 2 volume β | |
| eLpNorm (convolveKernel (K i) g) 2 volume β€ B * eLpNorm g 2 volume) | |
| {L : β€} (hL : 0 < L) | |
| (hM : β z, ballMaximal volume (fun y => ENNReal.ofReal (vectorNorm (fun i => f i y))) z β β) | |
| (Q : BoxIntegral.Box (Fin n)) (hQ : IsCubeBox Q) : | |
| β c : β, β z β euclideanBox Q, | |
| (β«β» x in euclideanBox Q, βvectorNorm (fun i => convolveKernel (K i) (f i) x) - cββ) / | |
| volume (euclideanBox Q) β€ convolutionEnvelope s K f p q C B L z := by | |
| classical | |
| let iβ : Fin n := Classical.arbitrary (Fin n) | |
| let d := Q.upper iβ - Q.lower iβ | |
| have hd : 0 < d := sub_pos.mpr (Q.lower_lt_upper iβ) | |
| have hside : β i, Q.upper i - Q.lower i = d := fun i => hQ i iβ | |
| obtain β¨j, hjlo, hjhiβ© := exists_dyadic_reference | |
| (show 0 < 2 * (((n : β) + 1) * d) by positivity) | |
| let P := ball (cubeCorner Q) (8 * (((n : β) + 1) * d)) | |
| have hP : MeasurableSet P := isOpen_ball.measurableSet | |
| have hq0 : 0 β€ q := by linarith [Nat.cast_nonneg (Ξ± := β) n] | |
| have hB (i : s) : BddAbove (range fun x => βK i xβ) := by | |
| refine β¨C * ((2 : β) ^ i.val) ^ n, ?_β© | |
| rintro _ β¨x, rflβ© | |
| exact bounded_of_polynomial_decay (by positivity) hq0 hC (hK i) x | |
| let u := fun i x => convolveKernel (K i) (f i) x | |
| let a := fun i x => lowScaleDifference Subtype.val j L (fun i => u i x) | |
| (fun i => u i (cubeCorner Q)) i | |
| let b := fun i x => middleScaleTerm Subtype.val j L (fun i => u i x) i | |
| let c := fun i x => highScaleTerm Subtype.val j L | |
| (fun i => convolveKernel (K i) (P.indicator (f i)) x) i | |
| let t := fun i x => highScaleTerm Subtype.val j L | |
| (fun i => convolveKernel (K i) (PαΆ.indicator (f i)) x) i | |
| let w := lowScaleCenter Subtype.val j L (fun i => u i (cubeCorner Q)) | |
| have hu (i : s) : Measurable (u i) := | |
| (continuous_convolveKernel (hfi i) (hKd i).continuous (hB i)).measurable | |
| have ha (i : s) : Measurable (a i) := by | |
| dsimp only [a, lowScaleDifference] | |
| split_ifs | |
| Β· exact (hu i).sub measurable_const | |
| Β· exact measurable_const | |
| have hb (i : s) : Measurable (b i) := by | |
| dsimp only [b, middleScaleTerm] | |
| split_ifs | |
| Β· exact hu i | |
| Β· exact measurable_const | |
| have hc (i : s) : Measurable (c i) := by | |
| dsimp only [c, highScaleTerm] | |
| split_ifs | |
| Β· exact (continuous_convolveKernel ((hfi i).indicator hP) (hKd i).continuous (hB i)).measurable | |
| Β· exact measurable_const | |
| have ht (i : s) : Measurable (t i) := by | |
| dsimp only [t, highScaleTerm] | |
| split_ifs | |
| Β· exact (continuous_convolveKernel ((hfi i).indicator hP.compl) (hKd i).continuous (hB i)).measurable | |
| Β· exact measurable_const | |
| have hdecomp (x : Space n) (i : s) : u i x - w i = a i x + b i x + c i x + t i x := by | |
| exact scale_decomposition Subtype.val (j := j) hL (fun i => u i x) | |
| (fun i => u i (cubeCorner Q)) | |
| (fun i => convolveKernel (K i) (P.indicator (f i)) x) | |
| (fun i => convolveKernel (K i) (PαΆ.indicator (f i)) x) | |
| (fun i _ => convolveKernel_indicator_add_compl (hfi i) (hKd i).continuous (hB i) hP x) i | |
| refine β¨vectorNorm w, ?_β© | |
| intro z hz | |
| have havg := centered_vector_average_le_four volume (measurable_euclideanBox Q) | |
| u a b c t w ha hb hc ht (fun x hx => hdecomp x) | |
| apply havg.trans | |
| unfold convolutionEnvelope | |
| apply add_le_add | |
| Β· apply add_le_add | |
| Β· apply add_le_add | |
| Β· apply set_average_le_const volume (measurable_euclideanBox Q) | |
| (by rw [volume_euclideanBox]; exact volume_box_ne_zero Q) | |
| (by rw [volume_euclideanBox]; exact (Q.measure_coe_lt_top volume).ne) | |
| intro x hx | |
| have hh := ENNReal.ofReal_le_ofReal (low_cube_vector s Q hd hside | |
| (by linarith : (n : β) < q) hC K f hKd hK' hB hfm hfi hL.le hjhi hx hz (hM z)) | |
| convert hh using 1 | |
| rw [β ENNReal.ofReal_toReal (hM z), β ENNReal.ofReal_mul (scaleKernelConstant_nonneg hC)] | |
| congr 1 | |
| unfold scaleKernelConstant | |
| simp only [ENNReal.toReal_ofReal ENNReal.toReal_nonneg] | |
| ring | |
| Β· exact middle_cube_vector_average s Q hd hside u hu j L hp hz | |
| Β· apply localized_cube_vector_average Q hd hside c f hc hfm (z := z) (hz := hz) | |
| intro i | |
| dsimp only [c, highScaleTerm] | |
| split_ifs | |
| Β· exact h2 i _ ((hfi i).indicator hP) ((hf2 i).indicator hP) | |
| Β· change eLpNorm (0 : Space n β H) 2 volume β€ _ | |
| rw [eLpNorm_zero] | |
| exact bot_le | |
| Β· apply set_average_le_const volume (measurable_euclideanBox Q) | |
| (by rw [volume_euclideanBox]; exact volume_box_ne_zero Q) | |
| (by rw [volume_euclideanBox]; exact (Q.measure_coe_lt_top volume).ne) | |
| intro x hx | |
| have hh := ENNReal.ofReal_le_ofReal (high_cube_vector s Q hd hside hq hC K f hK hfm | |
| hjlo (L := L) hx hz (hM z)) | |
| convert hh using 1 | |
| rw [β ENNReal.ofReal_toReal (hM z), β ENNReal.ofReal_mul (scaleKernelConstant_nonneg hC)] | |
| congr 1 | |
| unfold scaleKernelConstant | |
| simp only [ENNReal.toReal_ofReal ENNReal.toReal_nonneg] | |
| ring | |
| end OAI.Analysis.Fourier.SquareFunction | |