The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V18. Measure and integration

Mathlib.MeasureTheory.Function.Egorov

21 declarations and 4 deprecated aliases. Mathlib docs · Source

Egorov theorem

This file contains the Egorov theorem which states that an almost everywhere convergent sequence on a finite measure space converges uniformly except on an arbitrarily small set. This theorem is useful for the Vitali convergence theorem as well as theorems regarding convergence in measure.

Main results

  • MeasureTheory.tendstoUniformlyOn_of_ae_tendsto: Egorov's theorem which shows that a sequence of almost everywhere convergent functions converges uniformly except on an arbitrarily small set.

def MeasureTheory.Egorov.notConvergentSeq E1 #

{α : Type u_1} →
  {β : Type u_2} → {ι : Type u_3} → [PseudoEMetricSpace β] → [Preorder ι] → (ι → α → β) → (α → β) → ℕ → ι → Set α

Given a sequence of functions f and a function g, notConvergentSeq f g n j is the set of elements such that f k x and g x are separated by at least 1 / (n + 1) for some k ≥ j.

This definition is useful for Egorov's theorem.

theorem MeasureTheory.Egorov.mem_notConvergentSeq_iff E0 #

∀ {α : Type u_1} {β : Type u_2} {ι : Type u_3} [inst : PseudoEMetricSpace β] {n : ℕ} {j : ι} {f : ι → α → β} {g : α → β}
  [inst_1 : Preorder ι] {x : α},
  x ∈ MeasureTheory.Egorov.notConvergentSeq f g n j ↔ ∃ k ≥ j, (↑n)⁻¹ < edist (f k x) (g x)

theorem MeasureTheory.Egorov.notConvergentSeq_antitone E1 #

∀ {α : Type u_1} {β : Type u_2} {ι : Type u_3} [inst : PseudoEMetricSpace β] {n : ℕ} {f : ι → α → β} {g : α → β}
  [inst_1 : Preorder ι], Antitone (MeasureTheory.Egorov.notConvergentSeq f g n)

theorem MeasureTheory.Egorov.measure_inter_notConvergentSeq_eq_zero E1 #

∀ {α : Type u_1} {β : Type u_2} {ι : Type u_3} {m : MeasurableSpace α} [inst : PseudoEMetricSpace β]
  {μ : MeasureTheory.Measure α} {s : Set α} {f : ι → α → β} {g : α → β} [inst_1 : SemilatticeSup ι] [Nonempty ι],
  (∀ᵐ (x : α) ∂μ, x ∈ s → Filter.Tendsto (fun n ↦ f n x) Filter.atTop (nhds (g x))) →
    ∀ (n : ℕ), μ (s ∩ ⋂ j, MeasureTheory.Egorov.notConvergentSeq f g n j) = 0

theorem MeasureTheory.Egorov.measurableSet_notConvergentSeq E1 #

∀ {α : Type u_1} {β : Type u_2} {ι : Type u_3} {m : MeasurableSpace α} [inst : PseudoEMetricSpace β] {n : ℕ} {j : ι}
  {f : ι → α → β} {g : α → β} [inst_1 : Preorder ι] [Countable ι],
  (∀ (n : ι), Measurable fun a ↦ edist (f n a) (g a)) → MeasurableSet (MeasureTheory.Egorov.notConvergentSeq f g n j)

theorem MeasureTheory.Egorov.nullMeasurableSet_notConvergentSeq E1 #

∀ {α : Type u_1} {β : Type u_2} {ι : Type u_3} {m : MeasurableSpace α} [inst : PseudoEMetricSpace β]
  {μ : MeasureTheory.Measure α} {n : ℕ} {j : ι} {f : ι → α → β} {g : α → β} [inst_1 : Preorder ι] [Countable ι],
  (∀ (n : ι), AEMeasurable (fun a ↦ edist (f n a) (g a)) μ) →
    MeasureTheory.NullMeasurableSet (MeasureTheory.Egorov.notConvergentSeq f g n j) μ

theorem MeasureTheory.Egorov.measure_notConvergentSeq_tendsto_zero E1 #

∀ {α : Type u_1} {β : Type u_2} {ι : Type u_3} {m : MeasurableSpace α} [inst : PseudoEMetricSpace β]
  {μ : MeasureTheory.Measure α} {s : Set α} {f : ι → α → β} {g : α → β} [inst_1 : SemilatticeSup ι] [Countable ι],
  (∀ (n : ι), AEMeasurable (fun a ↦ edist (f n a) (g a)) μ) →
    MeasureTheory.NullMeasurableSet s μ →
      μ s ≠ ⊤ →
        (∀ᵐ (x : α) ∂μ, x ∈ s → Filter.Tendsto (fun n ↦ f n x) Filter.atTop (nhds (g x))) →
          ∀ (n : ℕ),
            Filter.Tendsto (fun j ↦ μ (s ∩ MeasureTheory.Egorov.notConvergentSeq f g n j)) Filter.atTop (nhds 0)

theorem MeasureTheory.Egorov.exists_notConvergentSeq_lt E1 #

∀ {α : Type u_1} {β : Type u_2} {ι : Type u_3} {m : MeasurableSpace α} [inst : PseudoEMetricSpace β]
  {μ : MeasureTheory.Measure α} {s : Set α} {ε : ENNReal} {f : ι → α → β} {g : α → β} [inst_1 : SemilatticeSup ι]
  [Nonempty ι] [Countable ι],
  0 < ε →
    (∀ (n : ι), AEMeasurable (fun a ↦ edist (f n a) (g a)) μ) →
      MeasureTheory.NullMeasurableSet s μ →
        μ s ≠ ⊤ →
          (∀ᵐ (x : α) ∂μ, x ∈ s → Filter.Tendsto (fun n ↦ f n x) Filter.atTop (nhds (g x))) →
            ∀ (n : ℕ), ∃ j, μ (s ∩ MeasureTheory.Egorov.notConvergentSeq f g n j) ≤ ε * 2⁻¹ ^ n

def MeasureTheory.Egorov.notConvergentSeqLTIndex E1 #

{α : Type u_1} →
  {β : Type u_2} →
    {ι : Type u_3} →
      {m : MeasurableSpace α} →
        [inst : PseudoEMetricSpace β] →
          {μ : MeasureTheory.Measure α} →
            {s : Set α} →
              {ε : ENNReal} →
                {f : ι → α → β} →
                  {g : α → β} →
                    [inst_1 : SemilatticeSup ι] →
                      [Nonempty ι] →
                        [Countable ι] →
                          0 < ε →
                            (∀ (n : ι), AEMeasurable (fun a ↦ edist (f n a) (g a)) μ) →
                              MeasureTheory.NullMeasurableSet s μ →
                                μ s ≠ ⊤ →
                                  (∀ᵐ (x : α) ∂μ, x ∈ s → Filter.Tendsto (fun n ↦ f n x) Filter.atTop (nhds (g x))) →
                                    ℕ → ι

Given some ε > 0, notConvergentSeqLTIndex provides the index such that notConvergentSeq (intersected with a set of finite measure) has measure less than ε * 2⁻¹ ^ n.

This definition is useful for Egorov's theorem.

theorem MeasureTheory.Egorov.notConvergentSeqLTIndex_spec E1 #

∀ {α : Type u_1} {β : Type u_2} {ι : Type u_3} {m : MeasurableSpace α} [inst : PseudoEMetricSpace β]
  {μ : MeasureTheory.Measure α} {s : Set α} {ε : ENNReal} {f : ι → α → β} {g : α → β} [inst_1 : SemilatticeSup ι]
  [inst_2 : Nonempty ι] [inst_3 : Countable ι] (hε : 0 < ε)
  (hf : ∀ (n : ι), AEMeasurable (fun a ↦ edist (f n a) (g a)) μ) (hsm : MeasureTheory.NullMeasurableSet s μ)
  (hs : μ s ≠ ⊤) (hfg : ∀ᵐ (x : α) ∂μ, x ∈ s → Filter.Tendsto (fun n ↦ f n x) Filter.atTop (nhds (g x))) (n : ℕ),
  μ
      (s ∩
        MeasureTheory.Egorov.notConvergentSeq f g n (MeasureTheory.Egorov.notConvergentSeqLTIndex hε hf hsm hs hfg n)) ≤
    ε * 2⁻¹ ^ n

def MeasureTheory.Egorov.iUnionNotConvergentSeq E1 #

{α : Type u_1} →
  {β : Type u_2} →
    {ι : Type u_3} →
      {m : MeasurableSpace α} →
        [inst : PseudoEMetricSpace β] →
          {μ : MeasureTheory.Measure α} →
            {s : Set α} →
              {ε : ENNReal} →
                {f : ι → α → β} →
                  {g : α → β} →
                    [inst_1 : SemilatticeSup ι] →
                      [Nonempty ι] →
                        [Countable ι] →
                          0 < ε →
                            (∀ (n : ι), AEMeasurable (fun a ↦ edist (f n a) (g a)) μ) →
                              MeasureTheory.NullMeasurableSet s μ →
                                μ s ≠ ⊤ →
                                  (∀ᵐ (x : α) ∂μ, x ∈ s → Filter.Tendsto (fun n ↦ f n x) Filter.atTop (nhds (g x))) →
                                    Set α

Given some ε > 0, iUnionNotConvergentSeq is the union of notConvergentSeq with specific indices such that iUnionNotConvergentSeq has measure less equal than ε.

This definition is useful for Egorov's theorem.

theorem MeasureTheory.Egorov.measurableSet_iUnionNotConvergentSeq E1 #

∀ {α : Type u_1} {β : Type u_2} {ι : Type u_3} {m : MeasurableSpace α} [inst : PseudoEMetricSpace β]
  {μ : MeasureTheory.Measure α} {s : Set α} {ε : ENNReal} {f : ι → α → β} {g : α → β} [inst_1 : SemilatticeSup ι]
  [inst_2 : Nonempty ι] [inst_3 : Countable ι] (hε : 0 < ε) (hf : ∀ (n : ι), Measurable fun a ↦ edist (f n a) (g a))
  (hsm : MeasurableSet s) (hs : μ s ≠ ⊤)
  (hfg : ∀ᵐ (x : α) ∂μ, x ∈ s → Filter.Tendsto (fun n ↦ f n x) Filter.atTop (nhds (g x))),
  MeasurableSet (MeasureTheory.Egorov.iUnionNotConvergentSeq hε ⋯ ⋯ hs hfg)

theorem MeasureTheory.Egorov.nullMeasurableSet_iUnionNotConvergentSeq E1 #

∀ {α : Type u_1} {β : Type u_2} {ι : Type u_3} {m : MeasurableSpace α} [inst : PseudoEMetricSpace β]
  {μ : MeasureTheory.Measure α} {s : Set α} {ε : ENNReal} {f : ι → α → β} {g : α → β} [inst_1 : SemilatticeSup ι]
  [inst_2 : Nonempty ι] [inst_3 : Countable ι] (hε : 0 < ε)
  (hf : ∀ (n : ι), AEMeasurable (fun a ↦ edist (f n a) (g a)) μ) (hsm : MeasureTheory.NullMeasurableSet s μ)
  (hs : μ s ≠ ⊤) (hfg : ∀ᵐ (x : α) ∂μ, x ∈ s → Filter.Tendsto (fun n ↦ f n x) Filter.atTop (nhds (g x))),
  MeasureTheory.NullMeasurableSet (MeasureTheory.Egorov.iUnionNotConvergentSeq hε hf hsm hs hfg) μ

theorem MeasureTheory.Egorov.measure_iUnionNotConvergentSeq E1 #

∀ {α : Type u_1} {β : Type u_2} {ι : Type u_3} {m : MeasurableSpace α} [inst : PseudoEMetricSpace β]
  {μ : MeasureTheory.Measure α} {s : Set α} {ε : ENNReal} {f : ι → α → β} {g : α → β} [inst_1 : SemilatticeSup ι]
  [inst_2 : Nonempty ι] [inst_3 : Countable ι] (hε : 0 < ε)
  (hf : ∀ (n : ι), AEMeasurable (fun a ↦ edist (f n a) (g a)) μ) (hsm : MeasureTheory.NullMeasurableSet s μ)
  (hs : μ s ≠ ⊤) (hfg : ∀ᵐ (x : α) ∂μ, x ∈ s → Filter.Tendsto (fun n ↦ f n x) Filter.atTop (nhds (g x))),
  μ (MeasureTheory.Egorov.iUnionNotConvergentSeq hε hf hsm hs hfg) ≤ ε

theorem MeasureTheory.Egorov.iUnionNotConvergentSeq_subset E1 #

∀ {α : Type u_1} {β : Type u_2} {ι : Type u_3} {m : MeasurableSpace α} [inst : PseudoEMetricSpace β]
  {μ : MeasureTheory.Measure α} {s : Set α} {ε : ENNReal} {f : ι → α → β} {g : α → β} [inst_1 : SemilatticeSup ι]
  [inst_2 : Nonempty ι] [inst_3 : Countable ι] (hε : 0 < ε)
  (hf : ∀ (n : ι), AEMeasurable (fun a ↦ edist (f n a) (g a)) μ) (hsm : MeasureTheory.NullMeasurableSet s μ)
  (hs : μ s ≠ ⊤) (hfg : ∀ᵐ (x : α) ∂μ, x ∈ s → Filter.Tendsto (fun n ↦ f n x) Filter.atTop (nhds (g x))),
  MeasureTheory.Egorov.iUnionNotConvergentSeq hε hf hsm hs hfg ⊆ s

theorem MeasureTheory.Egorov.tendstoUniformlyOn_sdiff_iUnionNotConvergentSeq E1 #

∀ {α : Type u_1} {β : Type u_2} {ι : Type u_3} {m : MeasurableSpace α} [inst : PseudoEMetricSpace β]
  {μ : MeasureTheory.Measure α} {s : Set α} {ε : ENNReal} {f : ι → α → β} {g : α → β} [inst_1 : SemilatticeSup ι]
  [inst_2 : Nonempty ι] [inst_3 : Countable ι] (hε : 0 < ε)
  (hf : ∀ (n : ι), AEMeasurable (fun a ↦ edist (f n a) (g a)) μ) (hsm : MeasureTheory.NullMeasurableSet s μ)
  (hs : μ s ≠ ⊤) (hfg : ∀ᵐ (x : α) ∂μ, x ∈ s → Filter.Tendsto (fun n ↦ f n x) Filter.atTop (nhds (g x))),
  TendstoUniformlyOn f g Filter.atTop (s \ MeasureTheory.Egorov.iUnionNotConvergentSeq hε hf hsm hs hfg)

theorem MeasureTheory.tendstoUniformlyOn_of_ae_tendsto_of_measurable_edist E2 #

∀ {α : Type u_1} {β : Type u_2} {ι : Type u_3} {m : MeasurableSpace α} [inst : PseudoEMetricSpace β]
  {μ : MeasureTheory.Measure α} [inst_1 : SemilatticeSup ι] [Nonempty ι] [Countable ι] {f : ι → α → β} {g : α → β}
  {s : Set α} {ε : ENNReal},
  (∀ (n : ι), Measurable fun a ↦ edist (f n a) (g a)) →
    MeasurableSet s →
      μ s ≠ ⊤ →
        (∀ᵐ (x : α) ∂μ, x ∈ s → Filter.Tendsto (fun n ↦ f n x) Filter.atTop (nhds (g x))) →
          0 < ε → ∃ t ⊆ s, MeasurableSet t ∧ μ t ≤ ε ∧ TendstoUniformlyOn f g Filter.atTop (s \ t)

Egorov's theorem: If f : ι → α → β is a sequence of functions that converges to g : α → β almost everywhere on a measurable set s of finite measure, and the distance between f n a and g a is measurable for all n, then for all ε > 0, there exists a subset t ⊆ s such that μ t ≤ ε and f converges to g uniformly on s \ t. We require the index type ι to be countable, and usually ι = ℕ.

In other words, a sequence of almost everywhere convergent functions converges uniformly except on an arbitrarily small set.

theorem MeasureTheory.tendstoUniformlyOn_of_ae_tendsto_of_aemeasurable_edist E2 #

∀ {α : Type u_1} {β : Type u_2} {ι : Type u_3} {m : MeasurableSpace α} [inst : PseudoEMetricSpace β]
  {μ : MeasureTheory.Measure α} [inst_1 : SemilatticeSup ι] [Nonempty ι] [Countable ι] {f : ι → α → β} {g : α → β}
  {s : Set α} {ε : ENNReal},
  (∀ (n : ι), AEMeasurable (fun a ↦ edist (f n a) (g a)) μ) →
    MeasureTheory.NullMeasurableSet s μ →
      μ s ≠ ⊤ →
        (∀ᵐ (x : α) ∂μ, x ∈ s → Filter.Tendsto (fun n ↦ f n x) Filter.atTop (nhds (g x))) →
          0 < ε → ∃ t ⊆ s, MeasureTheory.NullMeasurableSet t μ ∧ μ t ≤ ε ∧ TendstoUniformlyOn f g Filter.atTop (s \ t)

Egorov's theorem: If f : ι → α → β is a sequence of functions that converges to g : α → β almost everywhere on a null measurable set s of finite measure, and the distance between f n a and g a is a.e. measurable for all n, then for all ε > 0, there exists a set t such that μ t ≤ ε and f converges to g uniformly on s \ t. We require the index type ι to be countable, and usually ι = ℕ.

In other words, a sequence of almost everywhere convergent functions converges uniformly except on an arbitrarily small set.

theorem MeasureTheory.tendstoUniformlyOn_of_ae_tendsto E3 #

∀ {α : Type u_1} {β : Type u_2} {ι : Type u_3} {m : MeasurableSpace α} [inst : PseudoEMetricSpace β]
  {μ : MeasureTheory.Measure α} [inst_1 : SemilatticeSup ι] [Nonempty ι] [Countable ι] {f : ι → α → β} {g : α → β}
  {s : Set α} {ε : ENNReal},
  (∀ (n : ι), MeasureTheory.StronglyMeasurable (f n)) →
    MeasureTheory.StronglyMeasurable g →
      MeasurableSet s →
        μ s ≠ ⊤ →
          (∀ᵐ (x : α) ∂μ, x ∈ s → Filter.Tendsto (fun n ↦ f n x) Filter.atTop (nhds (g x))) →
            0 < ε → ∃ t ⊆ s, MeasurableSet t ∧ μ t ≤ ε ∧ TendstoUniformlyOn f g Filter.atTop (s \ t)

Egorov's theorem: If f : ι → α → β is a sequence of strongly measurable functions that converges to g : α → β almost everywhere on a measurable set s of finite measure, then for all ε > 0, there exists a subset t ⊆ s such that μ t ≤ ε and f converges to g uniformly on s \ t. We require the index type ι to be countable, and usually ι = ℕ.

In other words, a sequence of almost everywhere convergent functions converges uniformly except on an arbitrarily small set.

theorem MeasureTheory.tendstoUniformlyOn_of_ae_tendsto_of_aemeasurable_edist' E2 #

∀ {α : Type u_1} {β : Type u_2} {ι : Type u_3} {m : MeasurableSpace α} [inst : PseudoEMetricSpace β]
  {μ : MeasureTheory.Measure α} [inst_1 : SemilatticeSup ι] [Nonempty ι] [Countable ι] {f : ι → α → β} {g : α → β}
  {ε : ENNReal} [MeasureTheory.IsFiniteMeasure μ],
  (∀ (n : ι), AEMeasurable (fun a ↦ edist (f n a) (g a)) μ) →
    (∀ᵐ (x : α) ∂μ, Filter.Tendsto (fun n ↦ f n x) Filter.atTop (nhds (g x))) →
      0 < ε → ∃ t, MeasurableSet t ∧ μ t ≤ ε ∧ TendstoUniformlyOn f g Filter.atTop tᶜ

Egorov's theorem for finite measure spaces. Version with measurable distances.

theorem MeasureTheory.tendstoUniformlyOn_of_ae_tendsto' E2 #

∀ {α : Type u_1} {β : Type u_2} {ι : Type u_3} {m : MeasurableSpace α} [inst : PseudoEMetricSpace β]
  {μ : MeasureTheory.Measure α} [inst_1 : SemilatticeSup ι] [Nonempty ι] [Countable ι] {f : ι → α → β} {g : α → β}
  {ε : ENNReal} [MeasureTheory.IsFiniteMeasure μ],
  (∀ (n : ι), MeasureTheory.AEStronglyMeasurable (f n) μ) →
    (∀ᵐ (x : α) ∂μ, Filter.Tendsto (fun n ↦ f n x) Filter.atTop (nhds (g x))) →
      0 < ε → ∃ t, MeasurableSet t ∧ μ t ≤ ε ∧ TendstoUniformlyOn f g Filter.atTop tᶜ

Egorov's theorem for finite measure spaces.

Deprecated aliases

NameNew nameSince
MeasureTheory.Egorov.iUnionNotConvergentSeq_measurableSetMeasureTheory.Egorov.measurableSet_iUnionNotConvergentSeq2026-10-13
MeasureTheory.Egorov.notConvergentSeq_measurableSetMeasureTheory.Egorov.measurableSet_notConvergentSeq2026-10-13
MeasureTheory.Egorov.tendstoUniformlyOn_diff_iUnionNotConvergentSeqMeasureTheory.Egorov.tendstoUniformlyOn_sdiff_iUnionNotConvergentSeq2026-06-03
MeasureTheory.tendstoUniformlyOn_of_ae_tendsto_of_measurable_edist'MeasureTheory.tendstoUniformlyOn_of_ae_tendsto_of_aemeasurable_edist'2026-10-12