|
|
|
|
Quelle UnifTight.lean
Sprache: Lean
|
|
/-
Copyright (c) 2023 Igor Khavkine. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Igor Khavkine
-/
module
public import Mathlib.MeasureTheory.Function.UniformIntegrable
/-!
# Uniform tightness
This file contains the definitions for uniform tightness for a family of Lp functions.
It is used as a hypothesis to the version of Vitali's convergence theorem for Lp spaces
that works also for spaces of infinite measure. This version of Vitali's theorem
is also proved later in the file.
## Main definitions
* `MeasureTheory.UnifTight`:
A sequence of functions `f` is uniformly tight in `L^p` if for all `ε > 0`, there
exists some measurable set `s` with finite measure such that the Lp-norm of
`f i` restricted to `sᶜ` is smaller than `ε` for all `i`.
## Main results
* `MeasureTheory.unifTight_finite`: a finite sequence of Lp functions is uniformly
tight.
* `MeasureTheory.tendsto_Lp_of_tendsto_ae`: a sequence of Lp functions which is uniformly
integrable and uniformly tight converges in Lp if it converges almost everywhere.
* `MeasureTheory.tendstoInMeasure_iff_tendsto_Lp`: Vitali convergence theorem:
a sequence of Lp functions converges in Lp if and only if it is uniformly integrable,
uniformly tight and converges in measure.
## Tags
uniformly integrable, uniformly tight, Vitali convergence theorem
-/
@[expose] public section
namespace MeasureTheory
open Set Filter ENNReal
open scoped Topology
variable {α β ι : Type*} {m : MeasurableSpace α} {μ : Measure α} [NormedAddCommGroup β]
section UnifTight
/- This follows closely the `UnifIntegrable` section
from `Mathlib/MeasureTheory/Function/UniformIntegrable.lean`. -/
variable {f g : ι → α → β} {p : ℝ≥0∞}
/-- A sequence of functions `f` is uniformly tight in `L^p` if for all `ε > 0`, there
exists some measurable set `s` with finite measure such that the Lp-norm of
`f i` restricted to `sᶜ` is smaller than `ε` for all `i`. -/
def UnifTight {_ : MeasurableSpace α} (f : ι → α → β) (p : ℝ≥0∞) (μ : Measure α) : Prop :=
∀ ε > 0, ∃ s : Set α, μ s ≠ ∞ ∧ ∀ i, eLpNorm (sᶜ.indicator (f i)) p μ ≤ ε
@[deprecated "This is a duplicate of the new definition of UnifTight." (since := "2026-07-24")]
theorem unifTight_iff_ennreal {_ : MeasurableSpace α} (f : ι → α → β) (p : ℝ≥0∞) (μ : Measure α) :
UnifTight f p μ ↔ ∀ ⦃ε : ℝ≥0∞⦄, 0 < ε → ∃ s : Set α,
μ s ≠ ∞ ∧ ∀ i, eLpNorm (sᶜ.indicator (f i)) p μ ≤ ε := by
rfl
theorem unifTight_iff_real {_ : MeasurableSpace α} (f : ι → α → β) (p : ℝ≥0∞) (μ : Measure α) :
UnifTight f p μ ↔ ∀ (ε : ℝ), 0 < ε → ∃ s : Set α,
μ s ≠ ∞ ∧ ∀ i, eLpNorm (sᶜ.indicator (f i)) p μ ≤ .ofReal ε := by
refine ⟨fun hut ε hε ↦ hut (ENNReal.ofReal ε) (ofReal_pos.2 hε), fun hut ε hε ↦ ?_⟩
rcases eq_top_or_lt_top ε with rfl | hε_top
· exact ⟨∅, by simp⟩
obtain ⟨s, hμs, hfε⟩ := hut ε.toReal (ε.toReal_pos hε.ne' hε_top.ne)
exact ⟨s, hμs, fun i ↦ (hfε i).trans ofReal_toReal_le⟩
theorem unifTight_iff_nnreal {_ : MeasurableSpace α} (f : ι → α → β) (p : ℝ≥0∞) (μ : Measure α) :
UnifTight f p μ ↔ ∀ ⦃ε : NNReal⦄, 0 < ε → ∃ s : Set α,
μ s ≠ ∞ ∧ ∀ i, eLpNorm (sᶜ.indicator (f i)) p μ ≤ ε := by
refine ⟨fun hut ε hε ↦ hut ε (coe_pos.2 hε), fun hut ε hε ↦ ?_⟩
rcases eq_top_or_lt_top ε with rfl | hε_top
· exact ⟨∅, by simp⟩
obtain ⟨s, hμs, hfε⟩ := hut (toNNReal_pos hε.ne' hε_top.ne)
exact ⟨s, hμs, fun i ↦ (hfε i).trans coe_toNNReal_le_self⟩
namespace UnifTight
theorem eventually_cofinite_indicator (hf : UnifTight f p μ) {ε : ℝ≥0∞} (hε : ε ≠ 0) :
∀ᶠ s in μ.cofinite.smallSets,
MeasurableSet s → ∀ i, eLpNorm (s.indicator (f i)) p μ ≤ ε := by
rcases eq_top_or_lt_top ε with rfl | h'ε
· simp
rcases hf ε hε.bot_lt with ⟨s, hμs, hfs⟩
refine eventually_smallSets.2 ⟨sᶜ, ?_, fun t hts htm i ↦ ?_⟩
· rwa [Measure.compl_mem_cofinite, lt_top_iff_ne_top]
· have : t.indicator (f i) = t.indicator (sᶜ.indicator (f i)) := by
rw [indicator_indicator, inter_eq_left.2 hts]
rw [this]
have A i : MemLp (sᶜ.indicator (f i)) p μ := (hfs i).trans_lt h'ε
apply (eLpNorm_mono ((A i).aestronglyMeasurable.indicator htm) <|
norm_indicator_le_of_subset hts _).trans ?_
rw [indicator_indicator, inter_self]
exact hfs i
protected theorem exists_measurableSet_indicator (hf : UnifTight f p μ)
{ε : ℝ≥0∞} (hε : ε ≠ 0) :
∃ s, MeasurableSet s ∧ μ s < ∞ ∧ ∀ i, eLpNorm (sᶜ.indicator (f i)) p μ ≤ ε :=
let ⟨s, hμs, hsm, hfs⟩ :=
(hf.eventually_cofinite_indicator hε).exists_measurable_mem_of_smallSets
⟨sᶜ, hsm.compl, hμs, by rw [compl_compl s]; exact hfs hsm⟩
protected theorem add (hf : UnifTight f p μ) (hg : UnifTight g p μ) :
UnifTight (f + g) p μ := fun ε hε ↦ by
rcases exists_Lp_half β μ p hε.ne' with ⟨η, hη_pos, hη⟩
obtain ⟨s, hμs, hsm, hfs, hgs⟩ :=
((hf.eventually_cofinite_indicator hη_pos.ne').and
(hg.eventually_cofinite_indicator hη_pos.ne')).exists_measurable_mem_of_smallSets
refine ⟨sᶜ, ne_of_lt hμs, fun i ↦ ?_⟩
calc
eLpNorm (indicator sᶜᶜ (f i + g i)) p μ
= eLpNorm (indicator s (f i) + indicator s (g i)) p μ := by rw [compl_compl, indicator_add']
_ ≤ ε := (hη _ _ (hfs hsm i) (hgs hsm i)).le
protected theorem neg (hf : UnifTight f p μ) : UnifTight (-f) p μ := by
intro ε hε
obtain ⟨s, hμs, hfs⟩ := hf ε hε
refine ⟨s, hμs, fun i ↦ ?_⟩
rw [Pi.neg_apply, Set.indicator_neg', eLpNorm_neg]
exact hfs i
protected theorem sub (hf : UnifTight f p μ) (hg : UnifTight g p μ) :
UnifTight (f - g) p μ := by
rw [sub_eq_add_neg]
exact hf.add hg.neg
protected theorem aeeq (hf : UnifTight f p μ) (hfg : ∀ n, f n =ᵐ[μ] g n) :
UnifTight g p μ := by
intro ε hε
obtain ⟨s, hμs, hfε⟩ := hf ε hε
refine ⟨s, hμs, fun n ↦ ?_⟩
have hind : sᶜ.indicator (f n) =ᵐ[μ] sᶜ.indicator (g n) := by
filter_upwards [hfg n] with x hx
simp only [indicator, mem_compl_iff, hx]
exact (le_of_eq <| eLpNorm_congr_ae hind.symm).trans (hfε n)
protected theorem comp {ι' : Type*} (g : ι' → ι) (hf : UnifTight f p μ) :
UnifTight (f ∘ g) p μ := by
intro ε hε
obtain ⟨s, hμs, hs⟩ := hf ε hε
exact ⟨s, hμs, fun i ↦ hs (g i)⟩
end UnifTight
/-- If two functions agree a.e., then one is tight iff the other is tight. -/
theorem unifTight_congr_ae {g : ι → α → β} (hfg : ∀ n, f n =ᵐ[μ] g n) :
UnifTight f p μ ↔ UnifTight g p μ :=
⟨fun h => h.aeeq hfg, fun h => h.aeeq fun i => (hfg i).symm⟩
/-- A constant sequence is tight. -/
theorem unifTight_const {g : α → β} (hp_ne_top : p ≠ ∞) (hg : MemLp g p μ) :
UnifTight (fun _ : ι => g) p μ := by
intro ε hε
obtain ⟨s, _, hμs, hgε⟩ := hg.exists_eLpNorm_indicator_compl_lt hp_ne_top hε.ne'
exact ⟨s, ne_of_lt hμs, fun _ => hgε.le⟩
/-- A single function is tight. -/
theorem unifTight_of_subsingleton [Subsingleton ι] (hp_top : p ≠ ∞)
{f : ι → α → β} (hf : ∀ i, MemLp (f i) p μ) : UnifTight f p μ := fun ε hε ↦ by
by_cases hι : Nonempty ι
case neg => exact ⟨∅, (by simp), fun i => False.elim <| hι <| Nonempty.intro i⟩
obtain ⟨i⟩ := hι
obtain ⟨s, _, hμs, hfε⟩ := (hf i).exists_eLpNorm_indicator_compl_lt hp_top hε.ne'
refine ⟨s, ne_of_lt hμs, fun j => ?_⟩
convert hfε.le
/-- This lemma is less general than `MeasureTheory.unifTight_finite` which applies to
all sequences indexed by a finite type. -/
private theorem unifTight_fin (hp_top : p ≠ ∞) {n : ℕ} {f : Fin n → α → β}
(hf : ∀ i, MemLp (f i) p μ) : UnifTight f p μ := by
revert f
induction n with
| zero => exact fun {f} hf ↦ unifTight_of_subsingleton hp_top hf
| succ n h =>
intro f hfLp ε hε
by_cases hε_top : ε = ∞
· exact ⟨∅, (by simp), fun _ => hε_top.symm ▸ le_top⟩
let g : Fin n → α → β := fun k => f k.castSucc
have hgLp : ∀ i, MemLp (g i) p μ := fun i => hfLp i.castSucc
obtain ⟨S, hmS, hμS, hFε⟩ :=
(h hgLp).exists_measurableSet_indicator hε.ne'
obtain ⟨s, hms, hμs, hfε⟩ :=
(hfLp (Fin.last n)).exists_eLpNorm_indicator_compl_lt hp_top hε.ne'
refine ⟨s ∪ S, (by finiteness), fun i => ?_⟩
by_cases! hi : i.val < n
· rw [show f i = g ⟨i.val, hi⟩ from rfl, compl_union, ← indicator_indicator]
apply (eLpNorm_indicator_le _ hms.compl.nullMeasurableSet).trans
exact hFε (Fin.castLT i hi)
· obtain rfl : i = Fin.last n := Fin.ext (le_antisymm i.is_le hi)
rw [compl_union, inter_comm, ← indicator_indicator]
exact (eLpNorm_indicator_le _ hmS.compl.nullMeasurableSet).trans hfε.le
/-- A finite sequence of Lp functions is uniformly tight. -/
theorem unifTight_finite [Finite ι] (hp_top : p ≠ ∞) {f : ι → α → β}
(hf : ∀ i, MemLp (f i) p μ) : UnifTight f p μ := fun ε hε ↦ by
obtain ⟨n, hn⟩ := Finite.exists_equiv_fin ι
set g : Fin n → α → β := f ∘ hn.some.symm
have hg : ∀ i, MemLp (g i) p μ := fun _ => hf _
obtain ⟨s, hμs, hfε⟩ := unifTight_fin hp_top hg ε hε
refine ⟨s, hμs, fun i => ?_⟩
simpa only [g, Function.comp_apply, Equiv.symm_apply_apply] using hfε (hn.some i)
end UnifTight
section VitaliConvergence
variable {μ : Measure α} {p : ℝ≥0∞} {f : ℕ → α → β} {g : α → β}
/-! Both directions and an iff version of Vitali's convergence theorem on measure spaces
of not necessarily finite volume. See `Thm III.6.15` of Dunford & Schwartz, Part I (1958). -/
/- We start with the reverse direction. We only need to show that uniform tightness follows
from convergence in Lp. Mathlib already has the analogous `unifIntegrable_of_tendsto_Lp`
and `tendstoInMeasure_of_tendsto_eLpNorm`. -/
/-- Intermediate lemma for `unifTight_of_tendsto_Lp`. -/
private theorem unifTight_of_tendsto_Lp_zero (hp' : p ≠ ∞) (hf : ∀ n, MemLp (f n) p μ)
(hf_tendsto : Tendsto (fun n ↦ eLpNorm (f n) p μ) atTop ( 0)) : UnifTight f p μ := by
intro ε hε
rw [ENNReal.tendsto_atTop_zero] at hf_tendsto
obtain ⟨N, hNε⟩ := hf_tendsto ε (by simpa only [gt_iff_lt, coe_pos])
let F : Fin N → α → β := fun n => f n
have hF : ∀ n, MemLp (F n) p μ := fun n => hf n
obtain ⟨s, hms, hμs, hFε⟩ := (unifTight_fin hp' hF).exists_measurableSet_indicator hε.ne'
refine ⟨s, hμs.ne, fun n => ?_⟩
by_cases! hn : n < N
· exact hFε ⟨n, hn⟩
· exact (eLpNorm_indicator_le _ hms.compl.nullMeasurableSet).trans (hNε n hn)
/-- Convergence in Lp implies uniform tightness. -/
private theorem unifTight_of_tendsto_Lp (hp' : p ≠ ∞) (hf : ∀ n, MemLp (f n) p μ)
(hfg : Tendsto (fun n => eLpNorm (f n - g) p μ) atTop ( 0)) :
UnifTight f p μ := by
have hg : MemLp g p μ := by
obtain ⟨n, hn⟩ : ∃ x, eLpNorm (f x - g) p μ < ∞ :=
((tendsto_order.1 hfg).2 _ zero_lt_top).exists
rw [show g = f n - (f n - g) by abel]
exact MemLp.sub (hf n) hn
have : f = (fun _ => g) + fun n => f n - g := by ext1 n; simp
rw [this]
refine UnifTight.add ?_ ?_
· exact unifTight_const hp' hg
· exact unifTight_of_tendsto_Lp_zero hp' (fun n => (hf n).sub hg) hfg
/- Next we deal with the forward direction. -/
@[deprecated "Lemma formerly used in `tendsto_Lp_of_tendsto_ae`." (since := "2026-09-15")]
private theorem ae_tendsto_ae_congr {f f' : ℕ → α → β} {g g' : α → β}
(hff' : ∀ (n : ℕ), f n =ᵐ[μ] f' n) (hgg' : g =ᵐ[μ] g')
(hfg : ∀ᵐ x ∂μ, Tendsto (fun n => f n x) atTop ( (g x))) :
∀ᵐ x ∂μ, Tendsto (fun n => f' n x) atTop ( (g' x)) := by
have hff'' := eventually_countable_forall.mpr hff'
filter_upwards [hff'', hgg', hfg] with x hff'x hgg'x hfgx
apply Tendsto.congr hff'x
rw [← hgg'x]; exact hfgx
/-- Forward direction of Vitali's convergence theorem, with a.e. instead of `InMeasure`
convergence -/
theorem tendsto_Lp_of_tendsto_ae (hp : 1 ≤ p) (hp' : p ≠ ∞)
{f : ℕ → α → β} {g : α → β} (haef : ∀ n, AEStronglyMeasurable (f n) μ)
(hg' : MemLp g p μ) (hui : UnifIntegrable f p μ) (hut : UnifTight f p μ)
(hfg : ∀ᵐ x ∂μ, Tendsto (fun n => f n x) atTop ( (g x))) :
Tendsto (fun n => eLpNorm (f n - g) p μ) atTop ( 0) := by
rw [ENNReal.tendsto_atTop_zero]
intro ε hε
obtain rfl | hμ := eq_or_ne μ 0
· simp
have hε' : 0 < ε / 3 := ENNReal.div_pos hε.ne' (ofNat_ne_top)
-- use tightness to divide the domain into interior and exterior
obtain ⟨Eg, hmEg, hμEg, hgε⟩ := MemLp.exists_eLpNorm_indicator_compl_lt hp' hg' hε'.ne'
obtain ⟨Ef, hmEf, hμEf, hfε⟩ :=
hut.exists_measurableSet_indicator hε'.ne'
have hmE := hmEf.union hmEg
have hfmE := (measure_union_le Ef Eg).trans_lt (add_lt_top.mpr ⟨hμEf, hμEg⟩)
set E : Set α := Ef ∪ Eg
-- use uniform integrability to get control on the limit over E
have hgE' := MemLp.restrict E hg'
have huiE := hui.restrict E
have hfgE : (∀ᵐ x ∂(μ.restrict E), Tendsto (fun n => f n x) atTop ( (g x))) :=
ae_restrict_of_ae hfg
-- `tendsto_Lp_of_tendsto_ae_of_meas` needs to
-- synthesize an argument `[IsFiniteMeasure (μ.restrict E)]`.
-- It is enough to have in the context a term of `Fact (μ E < ∞)`, which is our `ffmE` below,
-- which is automatically fed into `Restrict.isFiniteInstance`.
have ffmE := Fact.mk hfmE
have hInner := tendsto_Lp_finite_of_tendsto_ae hp hp' (fun i ↦ (haef i).restrict)
(hg'.restrict E) huiE hfgE
rw [ENNReal.tendsto_atTop_zero] at hInner
-- get a sufficiently large N for given ε, and consider any n ≥ N
obtain ⟨N, hfngε⟩ := hInner (ε / 3) hε'
use N; intro n hn
-- get interior estimates
have hmfngE := ((haef n).sub hg'.aestronglyMeasurable).indicator hmE
have hfngEε := calc
eLpNorm (E.indicator (f n - g)) p μ
= eLpNorm (f n - g) p (μ.restrict E) :=
eLpNorm_indicator_eq_eLpNorm_restrict hmE.nullMeasurableSet
_ ≤ ε / 3 := hfngε n hn
-- get exterior estimates
have hmgEc : AEStronglyMeasurable _ μ := hg'.aestronglyMeasurable.indicator hmE.compl
have hgEcε := calc
eLpNorm (Eᶜ.indicator g) p μ
≤ eLpNorm (Efᶜ.indicator (Egᶜ.indicator g)) p μ := by
unfold E; rw [compl_union, ← indicator_indicator]
_ ≤ eLpNorm (Egᶜ.indicator g) p μ := eLpNorm_indicator_le _ hmEf.compl.nullMeasurableSet
_ ≤ ε / 3 := hgε.le
have hmfnEc : AEStronglyMeasurable _ μ := (haef n).indicator hmE.compl
have hfnEcε : eLpNorm (Eᶜ.indicator (f n)) p μ ≤ ε / 3 := calc
eLpNorm (Eᶜ.indicator (f n)) p μ
≤ eLpNorm (Egᶜ.indicator (Efᶜ.indicator (f n))) p μ := by
unfold E; rw [compl_union, inter_comm, ← indicator_indicator]
_ ≤ eLpNorm (Efᶜ.indicator (f n)) p μ := eLpNorm_indicator_le _ hmEg.compl.nullMeasurableSet
_ ≤ ε / 3 := hfε n
have hmfngEc := ((haef n).sub hg'.aestronglyMeasurable).indicator hmE.compl
have hfngEcε := calc
eLpNorm (Eᶜ.indicator (f n - g)) p μ
= eLpNorm (Eᶜ.indicator (f n) - Eᶜ.indicator g) p μ := by
rw [(Eᶜ.indicator_sub' _ _)]
_ ≤ eLpNorm (Eᶜ.indicator (f n)) p μ + eLpNorm (Eᶜ.indicator g) p μ := by
apply eLpNorm_sub_le hp
_ ≤ ε / 3 + ε / 3 := add_le_add hfnEcε hgEcε
-- finally, combine interior and exterior estimates
calc
eLpNorm (f n - g) p μ
= eLpNorm (Eᶜ.indicator (f n - g) + E.indicator (f n - g)) p μ := by
congr; exact (E.indicator_compl_add_self _).symm
_ ≤ eLpNorm (indicator Eᶜ (f n - g)) p μ + eLpNorm (indicator E (f n - g)) p μ := by
apply eLpNorm_add_le hp
_ ≤ (ε / 3 + ε / 3) + ε / 3 := add_le_add hfngEcε hfngEε
_ = ε := by simp only [add_thirds]
@[deprecated "Formerly invoked in the proof of `tendsto_Lp_of_tendsto_ae`." (since := "2026-09-15")]
private theorem tendsto_Lp_of_tendsto_ae_of_meas (hp : 1 ≤ p) (hp' : p ≠ ∞)
{f : ℕ → α → β} {g : α → β} (hf : ∀ n, StronglyMeasurable (f n)) (_hg : StronglyMeasurable g)
(hg' : MemLp g p μ) (hui : UnifIntegrable f p μ) (hut : UnifTight f p μ)
(hfg : ∀ᵐ x ∂μ, Tendsto (fun n => f n x) atTop ( (g x))) :
Tendsto (fun n => eLpNorm (f n - g) p μ) atTop ( 0) :=
tendsto_Lp_of_tendsto_ae hp hp' (fun n ↦ (hf n).aestronglyMeasurable) hg' hui hut hfg
/-- Forward direction of Vitali's convergence theorem:
if `f` is a sequence of uniformly integrable, uniformly tight functions that converge in
measure to some function `g` in a finite measure space, then `f` converge in Lp to `g`. -/
theorem tendsto_Lp_of_tendstoInMeasure (hp : 1 ≤ p) (hp' : p ≠ ∞)
(hf : ∀ n, AEStronglyMeasurable (f n) μ) (hg : MemLp g p μ)
(hui : UnifIntegrable f p μ) (hut : UnifTight f p μ)
(hfg : TendstoInMeasure μ f atTop g) :
Tendsto (fun n ↦ eLpNorm (f n - g) p μ) atTop ( 0) := by
refine tendsto_of_subseq_tendsto fun ns hns ↦ ?_
obtain ⟨ms, _, hms'⟩ := TendstoInMeasure.exists_seq_tendsto_ae fun ε hε ↦ (hfg ε hε).comp hns
exact ⟨ms, tendsto_Lp_of_tendsto_ae hp hp' (fun _ ↦ hf _) hg (hui.comp _) (hut.comp _) hms'⟩
/-- **Vitali's convergence theorem** (non-finite measure version).
A sequence of functions `f` converges to `g` in Lp
if and only if it is uniformly integrable, uniformly tight and converges to `g` in measure. -/
theorem tendstoInMeasure_iff_tendsto_Lp (hp : 1 ≤ p) (hp' : p ≠ ∞)
(hf : ∀ n, MemLp (f n) p μ) (hg : MemLp g p μ) :
TendstoInMeasure μ f atTop g ∧ UnifIntegrable f p μ ∧ UnifTight f p μ ↔
Tendsto (fun n => eLpNorm (f n - g) p μ) atTop ( 0) where
mp h := tendsto_Lp_of_tendstoInMeasure hp hp'
(fun n => (hf n).aestronglyMeasurable) hg h.2.1 h.2.2 h.1
mpr h := ⟨tendstoInMeasure_of_tendsto_eLpNorm (lt_of_lt_of_le zero_lt_one hp).ne' h,
unifIntegrable_of_tendsto_Lp hp hp' hf hg h,
unifTight_of_tendsto_Lp hp' hf h⟩
end VitaliConvergence
end MeasureTheory
¤ Dauer der Verarbeitung: 0.3 Sekunden
(vorverarbeitet am 2026-11-24)
¤
*© Formatika GbR, Deutschland
|
|
2026-11-24
|
|
|
|
|