-
Notifications
You must be signed in to change notification settings - Fork 38
Expand file tree
/
Copy pathBoundedCompactSupport.lean
More file actions
506 lines (403 loc) · 19.9 KB
/
BoundedCompactSupport.lean
File metadata and controls
506 lines (403 loc) · 19.9 KB
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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
/-
Copyright (c) 2024 Joris Roos. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Joris Roos, Sébastien Gouëzel
-/
import Carleson.ToMathlib.BoundedFiniteSupport
import Carleson.ToMathlib.Misc
/-!
EXPERIMENTAL
# Bounded compactly supported functions
The purpose of this file is to provide helper lemmas to streamline proofs that
functions are (essentially) bounded, compactly supported and measurable.
Most functions we need to deal with are of this class.
This can be a useful way to streamline proofs of `L^p` membership,
in particular integrability.
Todo: make `Mathlib.Tactic.FunProp` work for this
This can be expanded as needed
Upstreaming status: should be upstreamed, but need to clarify design questions first
- want to tag this with fun_prop first and make it work smoothly (see #499)
- this is similar to `BoundedFiniteSupport` (and in almost all cases, implies the latter)
TODO: are there any advantages of using this and not BoundedFiniteSupport? for instance, is
there any operation which preserves `BoundedCompactSupport` but not `BoundedFiniteSupport`?
Decide if we want both classes in mathlib or just one of them. If the latter, rewrite all of
Carleson/ToMathlib to use that one class.
-/
open Bornology Function Set HasCompactSupport
open scoped ENNReal
namespace MeasureTheory
section
variable {X E : Type*} [TopologicalSpace X] [MeasurableSpace X] {μ ν : Measure X} {f : X → E}
-- move near the MeasurePreserving/mono_measure analogues
variable {α : Type*} {m0 : MeasurableSpace α} {μ ν : Measure α}
{ε : Type*} [TopologicalSpace ε] [ContinuousENorm ε] {f : α → ε} in
theorem eLpNorm_mono_ac (hμν : ν ≪ μ) : eLpNorm f ∞ ν ≤ eLpNorm f ∞ μ := by
simp_rw [eLpNorm_exponent_top, MeasureTheory.eLpNormEssSup_mono_measure _ hμν]
variable {α : Type*} {m0 : MeasurableSpace α} {μ ν : Measure α}
{ε : Type*} [TopologicalSpace ε] [ContinuousENorm ε] {f : α → ε} in
theorem MemLp.mono_ac (hf : MemLp f ∞ μ) (hμν : ν ≪ μ) :
MemLp f ∞ ν :=
⟨hf.1.mono_ac hμν, eLpNorm_mono_ac hμν |>.trans_lt hf.2⟩
variable {α : Type*} {m0 : MeasurableSpace α} {μ : Measure α}
{ε : Type*} [TopologicalSpace ε] [ContinuousENorm ε]
{β : Type*} {mβ : MeasurableSpace β} {f : α → β} {g : β → ε} {ν : Measure β} in
theorem MemLp.comp_quasiMeasurePreserving
(hg : MemLp g ∞ ν) (hf : Measure.QuasiMeasurePreserving f μ ν) : MemLp (g ∘ f) ∞ μ :=
.comp_of_map (hg.mono_ac hf.absolutelyContinuous) hf.aemeasurable
-- maybe don't upstream
variable {α : Type*} {m0 : MeasurableSpace α} {μ ν : Measure α}
{E : Type*} [NormedAddCommGroup E] {f : α → E} in
theorem MemLp.ae_norm_le (hf : MemLp f ∞ μ) : ∀ᵐ x ∂μ, ‖f x‖ ≤ (eLpNorm f ⊤ μ).toReal := by
filter_upwards [ae_le_eLpNormEssSup (f := f)] with x hx
simp_rw [← toReal_enorm]
apply ENNReal.toReal_mono hf.2.ne
simp [hx]
variable [TopologicalSpace E] [ENorm E] [Zero E] in
/- currently we assume that the functions are a.e.-bounded, since that plays better with mathlib.
Since it might be nicer to work with suprema instead of essential suprema, we need to prove
everywhere-boundedness in one place. -/
/-- Bounded compactly supported measurable functions -/
@[fun_prop]
structure BoundedCompactSupport (f : X → E) (μ : Measure X := by volume_tac) :
Prop where
memLp_top : MemLp f ∞ μ
hasCompactSupport : HasCompactSupport f
namespace BoundedCompactSupport
section General
open Bornology in
lemma _root_.isBounded_range_iff_forall_norm_le {α β} [SeminormedAddCommGroup α] {f : β → α} :
IsBounded (range f) ↔ ∃ C, ∀ x, ‖f x‖ ≤ C := by convert isBounded_iff_forall_norm_le; simp
variable [TopologicalSpace E] [ENorm E] [Zero E]
@[fun_prop]
theorem aestronglyMeasurable (hf : BoundedCompactSupport f μ) : AEStronglyMeasurable f μ :=
hf.memLp_top.aestronglyMeasurable
theorem boundedFiniteSupport [IsFiniteMeasureOnCompacts μ] (hf : BoundedCompactSupport f μ) :
BoundedFiniteSupport f μ where
memLp_top := hf.memLp_top
measure_support_lt :=
measure_mono (subset_tsupport _) |>.trans_lt hf.hasCompactSupport.isCompact.measure_lt_top
end General
section ContinuousENorm
variable [TopologicalSpace E] [ContinuousENorm E] [Zero E]
theorem mono_ac (hf : BoundedCompactSupport f μ) (h : ν ≪ μ) :
BoundedCompactSupport f ν where
memLp_top := hf.memLp_top.mono_ac h
hasCompactSupport := hf.hasCompactSupport
theorem mono_measure (hf : BoundedCompactSupport f μ) (h : ν ≤ μ) : BoundedCompactSupport f ν :=
hf.mono_ac h.absolutelyContinuous
@[fun_prop]
theorem restrict {s : Set X} (hf : BoundedCompactSupport f μ) :
BoundedCompactSupport f (μ.restrict s) :=
hf.mono_measure Measure.restrict_le_self
end ContinuousENorm
section ESeminormedAddCommMonoid
variable [TopologicalSpace E] [ESeminormedAddCommMonoid E]
/-- Bounded compactly supported functions are in all `Lᵖ` spaces. -/
theorem memLp [IsFiniteMeasureOnCompacts μ] (hf : BoundedCompactSupport f μ) (p : ℝ≥0∞) :
MemLp f p μ :=
hf.boundedFiniteSupport.memLp p
end ESeminormedAddCommMonoid
section NormedAddCommGroup
variable [NormedAddCommGroup E]
-- todo: prove more results for ENorm-classes (awaiting-mathlib)
/-- Bounded compactly supported functions are integrable. -/
@[fun_prop]
theorem integrable [IsFiniteMeasureOnCompacts μ] (hf : BoundedCompactSupport f μ) :
Integrable f μ :=
hf.boundedFiniteSupport.integrable
@[fun_prop]
protected theorem zero : BoundedCompactSupport (fun (_ : X) ↦ (0 : E)) μ where
memLp_top := memLp_top_const 0
hasCompactSupport := HasCompactSupport.zero
@[fun_prop]
theorem enorm (hf : BoundedCompactSupport f μ) : BoundedCompactSupport (‖f ·‖ₑ) μ where
memLp_top := hf.memLp_top.enorm
hasCompactSupport := hasCompactSupport_comp_left enorm_eq_zero |>.mpr hf.hasCompactSupport
-- preferably use `enorm`
@[fun_prop]
theorem norm (hf : BoundedCompactSupport f μ) : BoundedCompactSupport (‖f ·‖) μ where
memLp_top := hf.memLp_top.norm
hasCompactSupport := hasCompactSupport_comp_left norm_eq_zero |>.mpr hf.hasCompactSupport
theorem comp_left_norm {F} [NormedAddCommGroup F] {g : E → F} (hf : BoundedCompactSupport f μ)
(hg : g 0 = 0) (hg1 : Continuous g) (hg2 : (∀ (a : E), ‖g a‖ = ‖a‖)) :
BoundedCompactSupport (g ∘ f) μ := by
refine ⟨?_, hf.hasCompactSupport.comp_left hg⟩
rw [← memLp_norm_iff]
· simp_rw [Function.comp_apply, hg2, memLp_norm_iff hf.aestronglyMeasurable, hf.memLp_top]
exact hg1.comp_aestronglyMeasurable hf.aestronglyMeasurable
@[fun_prop]
protected theorem neg (hf : BoundedCompactSupport f μ) : BoundedCompactSupport (- f) μ where
memLp_top := hf.memLp_top.neg
hasCompactSupport := hf.hasCompactSupport.neg
variable {𝕜 : Type*} [RCLike 𝕜] {g : X → E}
@[fun_prop]
protected theorem add (hf : BoundedCompactSupport f μ) (hg : BoundedCompactSupport g μ) :
BoundedCompactSupport (f + g) μ where
memLp_top := hf.memLp_top.add hg.memLp_top
hasCompactSupport := hf.hasCompactSupport.add hg.hasCompactSupport
@[fun_prop]
protected theorem sub (hf : BoundedCompactSupport f μ) (hg : BoundedCompactSupport g μ) :
BoundedCompactSupport (f - g) μ := by
rw [sub_eq_add_neg]
exact hf.add hg.neg
section Mul
variable {f g : X → 𝕜}
@[fun_prop]
theorem mul_bdd_right (hf : BoundedCompactSupport f μ) (hg : MemLp g ∞ μ) :
BoundedCompactSupport (f * g) μ where
memLp_top := hg.mul hf.memLp_top
hasCompactSupport := hf.hasCompactSupport.mul_right
@[fun_prop]
theorem mul_bdd_left (hf : BoundedCompactSupport f μ) (hg : MemLp g ∞ μ) :
BoundedCompactSupport (g * f) μ := by
rw [mul_comm]; exact mul_bdd_right hf hg
@[fun_prop]
theorem mul (hf : BoundedCompactSupport f μ) (hg : BoundedCompactSupport g μ) :
BoundedCompactSupport (f * g) μ :=
hf.mul_bdd_right hg.memLp_top
-- doesn't use compact support but is convenient to have here
@[fun_prop]
theorem integrable_mul (hf : BoundedCompactSupport f μ) (hg : Integrable g μ) :
Integrable (f * g) μ := by
rw [← memLp_one_iff_integrable] at hg ⊢
exact hg.mul hf.memLp_top
@[fun_prop]
theorem integrable_fun_mul (hf : BoundedCompactSupport f μ) (hg : Integrable g μ) :
Integrable (fun x ↦ f x * g x) μ :=
hf.integrable_mul hg
-- TODO: move the next three lemmas to their proper homes!
omit [MeasurableSpace X] in
lemma _root_.HasCompactSupport.star (hf : HasCompactSupport f) :
HasCompactSupport fun i ↦ star (f i) :=
(hasCompactSupport_comp_left (by simp)).2 hf
omit [TopologicalSpace X] in
lemma _root_.AEStronglyMeasurable.star (hf : AEStronglyMeasurable f μ) :
AEStronglyMeasurable (star f) μ :=
RCLike.continuous_conj.comp_aestronglyMeasurable hf
omit [TopologicalSpace X] in
lemma eLpNorm_star : eLpNorm (star f) ⊤ μ = eLpNorm f ⊤ μ := by
simp_rw [Star.star]
rw [MeasureTheory.eLpNorm_congr_enorm_ae (g := f)]
simp
@[fun_prop]
theorem conj (hf : BoundedCompactSupport f μ) : BoundedCompactSupport (star f) μ where
memLp_top := by
refine ⟨hf.aestronglyMeasurable.star, ?_⟩
rw [eLpNorm_star]
have := hf.memLp_top; finiteness
hasCompactSupport := by simpa using hf.hasCompactSupport.star
-- This lemma is defeq to `BoundedCompactSupport.conj`, but `starRingEnd` and `conj` are both
-- simp normal forms, so a lemma for each is needed.
@[fun_prop]
theorem starRingEnd (hf : BoundedCompactSupport f μ) :
BoundedCompactSupport (fun x ↦ (starRingEnd 𝕜) (f x)) μ := hf.conj
@[fun_prop]
theorem const_mul (hf : BoundedCompactSupport f μ) (c : 𝕜) :
BoundedCompactSupport (fun x ↦ c * f x) μ :=
hf.mul_bdd_left <| memLp_top_const _
@[fun_prop]
theorem mul_const (hf : BoundedCompactSupport f μ) (c : 𝕜) :
BoundedCompactSupport (fun x ↦ f x * c) μ :=
hf.mul_bdd_right <| memLp_top_const _
end Mul
/-- If `‖f‖` is bounded by `g` and `g` is bounded compactly supported, then so is `f`. -/
theorem mono {g : X → ℝ≥0∞} (hg : BoundedCompactSupport g μ) (hf : AEStronglyMeasurable f μ)
(hfg : ∀ x, ‖f x‖ₑ ≤ g x) : BoundedCompactSupport f μ where
memLp_top := ⟨hf, eLpNorm_mono_enorm hfg |>.trans_lt hg.memLp_top.eLpNorm_lt_top⟩
hasCompactSupport := by
refine hg.hasCompactSupport.mono ?_
by_contra h
simp only [support_subset_iff, ne_eq, mem_support, not_forall, Decidable.not_not] at h
obtain ⟨x, hfx, hgx⟩ := h
specialize hfg x
simp_rw [hgx, nonpos_iff_eq_zero, enorm_eq_zero, hfx] at hfg
-- use `mono` preferably
theorem mono_norm {g : X → ℝ} (hg : BoundedCompactSupport g μ) (hf : AEStronglyMeasurable f μ)
(hfg : ∀ x, ‖f x‖ ≤ g x) : BoundedCompactSupport f μ where
memLp_top := ⟨hf, eLpNorm_mono_real hfg |>.trans_lt hg.memLp_top.eLpNorm_lt_top⟩
hasCompactSupport := by
refine hg.hasCompactSupport.mono ?_
by_contra h
simp only [support_subset_iff, ne_eq, mem_support, not_forall, Decidable.not_not] at h
obtain ⟨x, hfx, hgx⟩ := h
specialize hfg x
simp_rw [hgx, norm_le_zero_iff, hfx] at hfg
@[fun_prop]
theorem toComplex {f : X → ℝ} (hf : BoundedCompactSupport f μ) :
BoundedCompactSupport (fun x ↦ (f x : ℂ)) μ :=
mono (g := (‖f ·‖ₑ)) hf.enorm
(Complex.continuous_ofReal.comp_aestronglyMeasurable hf.aestronglyMeasurable)
(by simp [← ofReal_norm])
section Sum
variable {ι : Type*} {s : Finset ι} {F : ι → X → E}
/-- A finite sum of bounded compactly supported functions is bounded compactly supported. -/
@[fun_prop]
theorem finset_sum
(hF : ∀ i ∈ s, BoundedCompactSupport (F i) μ) :
BoundedCompactSupport (fun x ↦ ∑ i ∈ s, F i x) μ := by
classical
induction s using Finset.induction with
| empty => simp [BoundedCompactSupport.zero]
| @insert j s hjs IH =>
simp_rw [Finset.sum_insert hjs]
apply BoundedCompactSupport.add
· exact hF _ (Finset.mem_insert_self j s)
· exact IH (fun i hi ↦ hF _ (Finset.mem_insert_of_mem hi))
open Classical ComplexConjugate in
/-- Used in Proposition 2.0.4. -/
lemma sq_eLpNorm_le_sums [IsFiniteMeasureOnCompacts μ] {f : ι → X → ℂ}
(hf : ∀ i, BoundedCompactSupport (f i) μ) {s : Finset ι} :
eLpNorm (∑ i ∈ s, f i ·) 2 μ ^ 2 ≤
∑ i ∈ s, eLpNorm (f i) 2 μ ^ 2 +
∑ i ∈ s, ∑ j ∈ s with i ≠ j, ‖∫ x, f i x * conj (f j x) ∂μ‖ₑ := by
have l₁ {i : ι} : Integrable (fun x ↦ f i x * conj (f i x)) μ :=
((hf i).mul (hf i).conj).integrable
have l₂ {i j : ι} : Integrable (fun x ↦ f i x * conj (f j x)) μ :=
((hf i).mul (hf j).conj).integrable
calc
_ = ‖∫ x, (∑ i ∈ s, f i x) * conj (∑ j ∈ s, f j x) ∂μ‖ₑ :=
eLpNorm_two_eq_enorm_integral_mul_conj (memLp (finset_sum fun i _ ↦ hf i) 2)
_ = ‖∫ x, (∑ i ∈ s, f i x * conj (f i x) +
∑ i ∈ s, ∑ j ∈ s with i ≠ j, f i x * conj (f j x)) ∂μ‖ₑ := by
congr! 3 with x; rw [Finset.sum_range_mul_conj_sum_range]
_ = ‖(∑ i ∈ s, ∫ x, f i x * conj (f i x) ∂μ) +
∑ i ∈ s, ∑ j ∈ s with i ≠ j, ∫ x, f i x * conj (f j x) ∂μ‖ₑ := by
rw [integral_add]; rotate_left
· exact integrable_finset_sum _ fun i mi ↦ l₁
· refine integrable_finset_sum _ fun i mi ↦ integrable_finset_sum _ fun j mj ↦ l₂
congr
· exact integral_finset_sum _ fun i mi ↦ l₁
· rw [integral_finset_sum _ fun i mi ↦ integrable_finset_sum _ fun j mj ↦ l₂]
congr! with i mi; rw [integral_finset_sum _ fun j mj ↦ l₂]
_ ≤ ‖∑ i ∈ s, ∫ x, f i x * conj (f i x) ∂μ‖ₑ +
‖∑ i ∈ s, ∑ j ∈ s with i ≠ j, ∫ x, f i x * conj (f j x) ∂μ‖ₑ := enorm_add_le _ _
_ ≤ ∑ i ∈ s, ‖∫ x, f i x * conj (f i x) ∂μ‖ₑ +
∑ i ∈ s, ‖∑ j ∈ s with i ≠ j, ∫ x, f i x * conj (f j x) ∂μ‖ₑ := by
gcongr <;> exact enorm_sum_le _ _
_ ≤ _ := by
conv_rhs => enter [1, 2, i]; rw [eLpNorm_two_eq_enorm_integral_mul_conj ((hf i).memLp 2)]
gcongr; exact enorm_sum_le _ _
end Sum
section Prod
variable {Y : Type*} [MeasureSpace Y] {f : X → 𝕜} {g : Y → 𝕜} {ν : Measure Y}
variable [TopologicalSpace Y]
variable [R1Space (X × Y)]
/-- An elementary tensor of bounded compactly supported functions is
bounded compactly supported. -/
@[fun_prop]
theorem prod_mul (hf : BoundedCompactSupport f μ) (hg : BoundedCompactSupport g ν) :
BoundedCompactSupport (uncurry fun x y ↦ f x * g y) (μ.prod ν) where
memLp_top := by
-- todo: maybe separate out as lemmas
have h2f : MemLp (fun z : X × Y ↦ f z.1) ∞ (μ.prod ν) :=
hf.memLp_top.comp_quasiMeasurePreserving Measure.quasiMeasurePreserving_fst
have h2g : MemLp (fun z : X × Y ↦ g z.2) ∞ (μ.prod ν) :=
hg.memLp_top.comp_quasiMeasurePreserving Measure.quasiMeasurePreserving_snd
-- todo: reorder arguments of `mul`
exact h2g.mul (r := ∞) h2f
hasCompactSupport := by
-- todo: separate out as lemmas
apply HasCompactSupport.intro <| hf.hasCompactSupport.prod hg.hasCompactSupport
intro ⟨x, y⟩ hxy
simp only [uncurry_apply_pair, mul_eq_zero]
simp only [mem_prod, not_and] at hxy
by_cases hx : x ∈ tsupport f
· exact Or.inr (image_eq_zero_of_notMem_tsupport (hxy hx))
· exact Or.inl (image_eq_zero_of_notMem_tsupport hx)
variable [R1Space X] in
theorem indicator_of_isCompact_closure {f : X → E} (hf : MemLp f ∞ μ)
{s : Set X} (h's : IsCompact (closure s)) (hs : MeasurableSet s) :
BoundedCompactSupport (s.indicator f) μ where
memLp_top := hf.indicator hs
hasCompactSupport := by
apply HasCompactSupport.intro h's
exact fun x hx ↦ by simp [notMem_of_notMem_closure hx]
@[fun_prop]
protected theorem indicator {f : X → E} (hf : BoundedCompactSupport f μ) {s : Set X}
(hs : MeasurableSet s) : BoundedCompactSupport (s.indicator f) μ where
memLp_top := hf.memLp_top.indicator hs
hasCompactSupport := hf.hasCompactSupport.mono (by simp)
variable {F : X × Y → E}
-- -- prove when needed
-- theorem swap (hF : BoundedCompactSupport f μ) : BoundedCompactSupport (F ∘ Prod.swap)
variable {F : X × Y → E}
-- ---- adapt and prove below when needed
-- theorem prod_left (hF : BoundedCompactSupport f μ) :
-- ∀ y, BoundedCompactSupport (fun x ↦ F (x, y)) := fun y ↦ {
-- memLp_top := by
-- rcases isBounded_range_iff_forall_norm_le.1 hF.isBounded with ⟨C, hC⟩
-- apply isBounded_range_iff_forall_norm_le.2 ⟨C, fun x ↦ ?_⟩
-- exact hC (x, y)
-- stronglyMeasurable := hF.stronglyMeasurable.comp_measurable measurable_prodMk_right
-- hasCompactSupport :=
-- -- by
-- -- apply HasCompactSupport.intro
-- }
-- theorem prod_right_ae (hF : BoundedCompactSupport f μ) :
-- ∀ᵐ x, BoundedCompactSupport (fun y ↦ F (x, y)) := hF.swap.prod_left_ae
-- theorem integral_prod_left (hF : BoundedCompactSupport f μ) :
-- BoundedCompactSupport (fun x ↦ ∫ y, F (x, y)) :=
-- -- have := hF.integrable.integrable_prod_left
-- theorem integral_prod_right (hF : BoundedCompactSupport f μ) :
-- BoundedCompactSupport (fun y ↦ ∫ x, F (x, y)) := hF.swap.integral_prod_left
end Prod
end NormedAddCommGroup
end BoundedCompactSupport
end
section Metric
namespace BoundedCompactSupport
variable {X E : Type*} [MetricSpace X] [MeasurableSpace X] {μ : Measure X}
[TopologicalSpace E] [ENorm E] [Zero E]
{f : X → E}
theorem isBoundedTSupport (hf : BoundedCompactSupport f μ) : IsBounded (tsupport f) :=
hf.hasCompactSupport.isBounded
theorem isBoundedSupport (hf : BoundedCompactSupport f μ) : IsBounded (support f) :=
hf.isBoundedTSupport.subset <| subset_tsupport f
end BoundedCompactSupport
end Metric
end MeasureTheory
section
open Bornology ENNReal MeasureTheory Set
variable {X 𝕜 E F : Type*} [MeasurableSpace X] [MetricSpace X]
variable [NormedAddCommGroup E]
variable {Y W : Type*} [MeasurableSpace Y] [TopologicalSpace Y]
variable [MeasurableSpace W] [TopologicalSpace W] {μ : Measure W}
variable {f : X → 𝕜} {ν : Measure X} [RCLike 𝕜]
lemma BoundedCompactSupport.mul_bdd_right'' (hf : BoundedCompactSupport f ν) {e : W → X}
{g : W → 𝕜} (he : Continuous e) (he1 : Measure.QuasiMeasurePreserving e μ ν)
(hg : AEStronglyMeasurable g μ)
(hg1 : ∀ K : Set X, IsCompact K -> IsCompact (e ⁻¹' K ∩ tsupport g))
(hg2 : ∀ (A : Set X) (_hA : IsBounded A), IsBounded (g '' (e ⁻¹' A))) :
BoundedCompactSupport (fun x ↦ f (e x) * g x) μ where
memLp_top := by
have := hf.memLp_top.ae_norm_le
set B := (eLpNorm f ⊤ ν).toReal
obtain ⟨C, hC⟩ := isBounded_iff_forall_norm_le.1
(hg2 (tsupport f) hf.hasCompactSupport.isBounded)
apply memLp_top_of_bound (C := max 0 B * max 0 C)
· exact (hf.mono_ac he1.absolutelyContinuous |>.aestronglyMeasurable.comp_measurable
he1.measurable).mul hg
filter_upwards [he1.ae this] with z hB
rw [norm_mul]
by_cases hz : z ∈ e ⁻¹' tsupport f
· gcongr
· exact hB.trans (le_max_right ..)
refine hC _ ?_ |>.trans (le_max_right ..)
exact mem_image_of_mem g hz
· simp only [image_eq_zero_of_notMem_tsupport hz, norm_zero, zero_mul,
mul_nonneg (le_max_left 0 B) (le_max_left 0 C)]
hasCompactSupport := by
refine IsCompact.of_isClosed_subset (hg1 _ hf.hasCompactSupport)
(isClosed_tsupport fun x ↦ f (e x) * g x) ?_
apply subset_inter ?_ tsupport_mul_subset_right
apply subset_trans (tsupport_mul_subset_left)
rw [tsupport, ((isClosed_tsupport f).preimage he ).closure_subset_iff]
exact fun _ hx ↦ subset_closure hx
lemma BoundedCompactSupport.mul_bdd_left' (hf : BoundedCompactSupport f ν) {e : W → X} {g : W → 𝕜}
(he : Continuous e) (he1 : Measure.QuasiMeasurePreserving e μ ν)
(hg : AEStronglyMeasurable g μ)
(hg1 : ∀ K : Set X, IsCompact K -> IsCompact (e ⁻¹' K ∩ tsupport g))
(hg2 : ∀ (A : Set X) (_hA : IsBounded A), IsBounded (g '' (e ⁻¹' A))) :
BoundedCompactSupport (fun x ↦ g x * f (e x)) μ:= by
simp_rw [mul_comm]; exact mul_bdd_right'' hf he he1 hg hg1 hg2
end