File size: 6,170 Bytes
4a56cd6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 | import OAI.Analysis.Fourier.SquareFunction.CubeOscillation
open OAI.Analysis.Fourier.Wave
/-! The low and far-high vector estimates when every kernel acts on one
common input. Their maximal envelope is that of the single input, not of
its repeated finite vector. -/
namespace OAI.Analysis.Fourier.SquareFunction
open _root_.MeasureTheory Set Metric
open scoped ENNReal
theorem low_cube_common_input {n : β} {H : Type*}
[NormedAddCommGroup H] [NormedSpace β H] [CompleteSpace H]
(s : Finset β€) (Q : BoxIntegral.Box (Fin n)) {d q C : β}
(hd : 0 < d) (hside : β i, Q.upper i - Q.lower i = d)
(hq : (n : β) < q) (hC : 0 β€ C)
(K : s β Space n β H) (f : Space n β β)
(hKd : β i, Differentiable β (K i))
(hK : β i u, βfderiv β (K i) uβ β€ C * (((2 : β) ^ i.val) ^ n * (2 : β) ^ i.val) *
((2 : β) ^ i.val * βuβ + 1) ^ (-q))
(hB : β i, BddAbove (range fun x => βK i xβ))
(hfm : Measurable f) (hfi : Integrable f)
{j L : β€} (hL : 0 β€ L) (hj : (2 : β) ^ j * (2 * (((n : β) + 1) * d)) β€ 1)
{x z : Space n} (hx : x β euclideanBox Q) (hz : z β euclideanBox Q)
(hM : ballMaximal volume (fun y => βf yββ) z β β) :
vectorNorm (lowScaleDifference Subtype.val j L
(fun i => convolveKernel (K i) f x)
(fun i => convolveKernel (K i) f (cubeCorner Q))) β€
scaleKernelConstant n q q C L * (ballMaximal volume (fun y => βf yββ) z).toReal := by
classical
let M := ballMaximal volume (fun y => βf yββ) z
have hv : vectorNorm (lowScaleDifference Subtype.val j L
(fun i => convolveKernel (K i) f x) (fun i => convolveKernel (K i) f (cubeCorner Q))) β€
Real.sqrt (4 / 3) * (2 : β) ^ (-L) * (C * 2 ^ q * (polynomialKernelMass n q).toReal * M.toReal) := by
apply low_scale_vector_le s (j := j) (L := L) _ (by positivity)
intro i
by_cases hi : i.val β€ j - L
Β· have hij : i.val β€ j := by omega
have ha : 0 < (2 : β) ^ i.val := zpow_pos (by norm_num) _
have has : (2 : β) ^ i.val * (2 * (n : β) * d) β€ 1 := by
apply le_trans _ (reference_scale_unit hj hij)
apply mul_le_mul_of_nonneg_left _ ha.le
nlinarith
have hfactor : (2 : β) ^ i.val * ((n : β) * d) β€ (2 : β) ^ (i.val - j) := by
apply le_trans _ (reference_scale_upper hj i.val)
apply mul_le_mul_of_nonneg_left _ ha.le
nlinarith [mul_nonneg (Nat.cast_nonneg n) hd.le]
have hh := low_convolution_on_cube Q hd hside ha (lt_of_le_of_lt (Nat.cast_nonneg n) hq)
hC has (hKd i) (hK i) (hB i) hfm hfi hx hz
have hh' : βconvolveKernel (K i) f x - convolveKernel (K i) f (cubeCorner Q)ββ β€
ENNReal.ofReal (C * 2 ^ q * (2 : β) ^ (i.val - j)) * (polynomialKernelMass n q * M) := by
apply hh.trans
apply mul_le_mul_left
apply ENNReal.ofReal_le_ofReal
nlinarith [mul_le_mul_of_nonneg_left hfactor (show 0 β€ C * 2 ^ q by positivity)]
have hn := norm_le_of_enorm_product (by positivity : 0 β€ C * 2 ^ q * (2 : β) ^ (i.val - j))
(polynomialKernelMass_lt_top hq).ne hM hh'
simp only [lowScaleDifference, hi, ite_true]
convert hn using 1 ; ring
Β· simp only [lowScaleDifference, hi, ite_false, norm_zero, zero_mul, le_refl]
convert hv using 1
unfold scaleKernelConstant
ring
theorem high_cube_common_input {n : β} {H : Type*}
[NormedAddCommGroup H] [NormedSpace β H] [CompleteSpace H]
(s : Finset β€) (Q : BoxIntegral.Box (Fin n)) {d q C : β}
(hd : 0 < d) (hside : β i, Q.upper i - Q.lower i = d)
(hq : (n : β) + 1 < q) (hC : 0 β€ C)
(K : s β Space n β H) (f : Space n β β)
(hK : β i u, βK i uβ β€ C * ((2 : β) ^ i.val) ^ n *
((2 : β) ^ i.val * βuβ + 1) ^ (-q))
(hfm : Measurable f)
{j L : β€} (hj : 1 / 2 < (2 : β) ^ j * (2 * (((n : β) + 1) * d)))
{x z : Space n} (hx : x β euclideanBox Q) (hz : z β euclideanBox Q)
(hM : ballMaximal volume (fun y => βf yββ) z β β) :
vectorNorm (highScaleTerm Subtype.val j L (fun i => convolveKernel (K i)
((ball (cubeCorner Q) (8 * (((n : β) + 1) * d)))αΆ.indicator f) x)) β€
scaleKernelConstant n q (q - 1) C L * (ballMaximal volume (fun y => βf yββ) z).toReal := by
classical
let M := ballMaximal volume (fun y => βf yββ) z
have hv : vectorNorm (highScaleTerm Subtype.val j L (fun i => convolveKernel (K i)
((ball (cubeCorner Q) (8 * (((n : β) + 1) * d)))αΆ.indicator f) x)) β€
Real.sqrt (4 / 3) * (2 : β) ^ (-L) * (C * 2 ^ q * (polynomialKernelMass n (q - 1)).toReal * M.toReal) := by
apply high_scale_vector_le s (j := j) (L := L) _ (by positivity)
intro i
by_cases hi : j + L β€ i.val
Β· have ha : 0 < (2 : β) ^ i.val := zpow_pos (by norm_num) _
have hr : 0 < q - 1 := by linarith [Nat.cast_nonneg (Ξ± := β) n]
have hfactor : ((2 : β) ^ i.val * (4 * (((n : β) + 1) * d)))β»ΒΉ β€
(2 : β) ^ (-(i.val - j)) := by
convert reference_tail_inverse hj i.val using 1 ; congr 2 ; ring
have hh := tail_convolution_on_cube Q hd hside ha hr (by linarith : q - 1 β€ q)
hC (hK i) hfm hx hz
rw [show q - 1 - q = (-1 : β) by ring, Real.rpow_neg_one] at hh
have hh' : βconvolveKernel (K i)
((ball (cubeCorner Q) (8 * (((n : β) + 1) * d)))αΆ.indicator f) xββ β€
ENNReal.ofReal (C * 2 ^ q * (2 : β) ^ (-(i.val - j))) *
(polynomialKernelMass n (q - 1) * M) := by
apply hh.trans
apply mul_le_mul_left
exact ENNReal.ofReal_le_ofReal (mul_le_mul_of_nonneg_left hfactor (by positivity))
have hn := norm_le_of_enorm_product (by positivity : 0 β€ C * 2 ^ q * (2 : β) ^ (-(i.val - j)))
(polynomialKernelMass_lt_top (show (n : β) < q - 1 by linarith)).ne hM hh'
simp only [highScaleTerm, hi, ite_true]
convert hn using 1 ; ring
Β· simp only [highScaleTerm, hi, ite_false, norm_zero, zero_mul, le_refl]
convert hv using 1
unfold scaleKernelConstant
ring
end OAI.Analysis.Fourier.SquareFunction
|