File size: 6,090 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 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 | import Mathlib
namespace OAI
noncomputable section
open MeasureTheory Filter Set
open scoped Topology NNReal ENNReal
namespace Problem367.ContinuousCoefficientModulus
def pairModulus (x y : β β β) (n : β) : β :=
β((Finset.range n).sup (fun i => βx i - y iββ))
theorem pairModulus_nonneg (x y : β β β) (n : β) :
0 β€ pairModulus x y n := NNReal.coe_nonneg _
theorem abs_sub_le_pairModulus (x y : β β β) {i n : β} (hi : i < n) :
|x i - y i| β€ pairModulus x y n := by
have h := Finset.le_sup (f := fun j => βx j - y jββ) (Finset.mem_range.mpr hi)
exact_mod_cast h
theorem pairModulus_le (x y : β β β) (n : β) {C : β} (hC : 0 β€ C)
(hb : β i < n, |x i - y i| β€ C) : pairModulus x y n β€ C := by
have h : (Finset.range n).sup (fun i => βx i - y iββ) β€ (β¨C, hCβ© : ββ₯0) := by
apply Finset.sup_le
intro i hi
exact_mod_cast hb i (Finset.mem_range.mp hi)
exact_mod_cast h
variable {Ξ© : Type*} [MeasurableSpace Ξ©] {ΞΌ : Measure Ξ©}
theorem stronglyMeasurable_pairModulus (x y : β β Ξ© β β)
(hx : β i, StronglyMeasurable (x i)) (hy : β i, StronglyMeasurable (y i)) (n : β) :
StronglyMeasurable (fun Ο => pairModulus (fun i => x i Ο) (fun i => y i Ο) n) := by
induction n with
| zero => simpa [pairModulus] using (stronglyMeasurable_const :
StronglyMeasurable (fun _ : Ξ© => (0 : β)))
| succ n ih =>
have h := ((((hx n).measurable.sub (hy n).measurable).norm).max
ih.measurable).stronglyMeasurable
simpa only [pairModulus, Finset.range_add_one, Finset.sup_insert,
NNReal.coe_max, coe_nnnorm, Real.norm_eq_abs, Pi.sub_apply] using h
theorem memLp_pairModulus [IsFiniteMeasure ΞΌ] (x y : β β Ξ© β β)
(hx : β i, StronglyMeasurable (x i)) (hy : β i, StronglyMeasurable (y i))
(n : β) {C : β} (hC : 0 β€ C)
(hb : β i, i < n β βα΅ Ο βΞΌ, |x i Ο - y i Ο| β€ C) (p : ββ₯0β) :
MemLp (fun Ο => pairModulus (fun i => x i Ο) (fun i => y i Ο) n) p ΞΌ := by
apply MemLp.of_bound (stronglyMeasurable_pairModulus x y hx hy n).aestronglyMeasurable C
have hb' : β i, βα΅ Ο βΞΌ, i < n β |x i Ο - y i Ο| β€ C := by
intro i
by_cases hi : i < n
Β· exact (hb i hi).mono (fun _ h _ => h)
Β· exact Filter.Eventually.of_forall (fun _ h => (hi h).elim)
filter_upwards [ae_all_iff.2 hb'] with Ο hΟ
rw [Real.norm_eq_abs, abs_of_nonneg (pairModulus_nonneg _ _ _)]
exact pairModulus_le _ _ _ hC hΟ
theorem tendsto_pairModulus_of_uniformContinuousOn
{I : Type*} [PseudoMetricSpace I] {S : Set I} {H : I β β}
(hH : UniformContinuousOn H S) (s t : β β β β I) (N : β β β)
(hs : β n i, i < N n β s n i β S) (ht : β n i, i < N n β t n i β S)
(Ξ΄ : β β β) (hΞ΄ : Tendsto Ξ΄ atTop (π 0))
(hdist : β n i, i < N n β dist (s n i) (t n i) β€ Ξ΄ n) :
Tendsto (fun n => pairModulus (fun i => H (s n i)) (fun i => H (t n i)) (N n))
atTop (π 0) := by
apply Metric.tendsto_atTop.mpr
intro Ξ΅ hΞ΅
obtain β¨Ξ·, hΞ·, hlocalβ© := Metric.uniformContinuousOn_iff.mp hH (Ξ΅ / 2) (by positivity)
obtain β¨nβ, hnββ© := (hΞ΄.eventually (gt_mem_nhds hΞ·)).exists_forall_of_atTop
refine β¨nβ, fun n hn => ?_β©
have hb : pairModulus (fun i => H (s n i)) (fun i => H (t n i)) (N n) β€ Ξ΅ / 2 := by
apply pairModulus_le _ _ _ (by positivity)
intro i hi
have hh := hlocal (s n i) (hs n i hi) (t n i) (ht n i hi)
((hdist n i hi).trans_lt (hnβ n hn))
simpa only [Real.dist_eq] using hh.le
rw [Real.dist_eq, sub_zero, abs_of_nonneg (pairModulus_nonneg _ _ _)]
linarith
theorem tendsto_integral_pairModulus_pow [IsFiniteMeasure ΞΌ]
{I : Type*} [PseudoMetricSpace I] {S : Set I} (hS : IsCompact S)
{H : I β Ξ© β β} (hm : β t, StronglyMeasurable (H t))
(hc : βα΅ Ο βΞΌ, ContinuousOn (fun t => H t Ο) S)
{C : β} (hC : 0 β€ C) (hb : β t β S, βα΅ Ο βΞΌ, |H t Ο| β€ C)
(s t : β β β β I) (N : β β β)
(hs : β n i, i < N n β s n i β S) (ht : β n i, i < N n β t n i β S)
(Ξ΄ : β β β) (hΞ΄ : Tendsto Ξ΄ atTop (π 0))
(hdist : β n i, i < N n β dist (s n i) (t n i) β€ Ξ΄ n)
(p : β) (hp : 0 < p) :
Tendsto (fun n => β« Ο,
(pairModulus (fun i => H (s n i) Ο) (fun i => H (t n i) Ο) (N n)) ^ p βΞΌ)
atTop (π 0) := by
let R : β β Ξ© β β := fun n Ο =>
pairModulus (fun i => H (s n i) Ο) (fun i => H (t n i) Ο) (N n)
have hRm (n : β) : StronglyMeasurable (R n) :=
stronglyMeasurable_pairModulus _ _ (fun i => hm (s n i)) (fun i => hm (t n i)) (N n)
have hRb (n : β) : βα΅ Ο βΞΌ, |R n Ο| β€ 2 * C := by
have hb' : β i, βα΅ Ο βΞΌ, i < N n β |H (s n i) Ο - H (t n i) Ο| β€ 2 * C := by
intro i
by_cases hi : i < N n
Β· filter_upwards [hb _ (hs n i hi), hb _ (ht n i hi)] with Ο hsΟ htΟ
intro _
exact (abs_sub _ _).trans (by linarith)
Β· exact Filter.Eventually.of_forall (fun _ h => (hi h).elim)
filter_upwards [ae_all_iff.2 hb'] with Ο hΟ
rw [abs_of_nonneg (pairModulus_nonneg _ _ _)]
exact pairModulus_le _ _ _ (by positivity) hΟ
have hlim : βα΅ Ο βΞΌ, Tendsto (fun n => R n Ο) atTop (π 0) := by
filter_upwards [hc] with Ο hΟ
exact tendsto_pairModulus_of_uniformContinuousOn
(hS.uniformContinuousOn_of_continuous hΟ) s t N hs ht Ξ΄ hΞ΄ hdist
have hh := tendsto_integral_of_dominated_convergence (ΞΌ := ΞΌ)
(F := fun n Ο => R n Ο ^ p) (f := fun _ => (0 : β))
(fun _ => (2 * C) ^ p) (fun n => (hRm n).aestronglyMeasurable.pow p)
(integrable_const _) ?_ ?_
Β· simpa only [integral_zero] using hh
Β· intro n
filter_upwards [hRb n] with Ο hΟ
rw [norm_pow, Real.norm_eq_abs]
exact pow_le_pow_leftβ (abs_nonneg _) hΟ p
Β· filter_upwards [hlim] with Ο hΟ
simpa only [zero_pow (Nat.ne_of_gt hp)] using hΟ.pow p
end Problem367.ContinuousCoefficientModulus
end
end OAI
|