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.Integral.Bochner.Set

129 declarations and 8 deprecated aliases. Mathlib docs · Source

Set integral

In this file we prove some properties of ∫ x in s, f x ∂μ. Recall that this notation is defined as ∫ x, f x ∂(μ.restrict s). In integral_indicator we prove that for a measurable function f and a measurable set s this definition coincides with another natural definition: ∫ x, indicator s f x ∂μ = ∫ x in s, f x ∂μ, where indicator s f x is equal to f x for x ∈ s and is zero otherwise.

Since ∫ x in s, f x ∂μ is a notation, one can rewrite or apply any theorem about ∫ x, f x ∂μ directly. In this file we prove some theorems about dependence of ∫ x in s, f x ∂μ on s, e.g. setIntegral_union, setIntegral_empty, setIntegral_univ.

We use the property IntegrableOn f s μ := Integrable f (μ.restrict s), defined in MeasureTheory.IntegrableOn. We also defined in that same file a predicate IntegrableAtFilter (f : X → E) (l : Filter X) (μ : Measure X) saying that f is integrable at some set s ∈ l.

Notation

We provide the following notations for expressing the integral of a function on a set :

  • ∫ x in s, f x ∂μ is MeasureTheory.integral (μ.restrict s) f
  • ∫ x in s, f x is ∫ x in s, f x ∂volume

Note that the set notations are defined in the file Mathlib/MeasureTheory/Integral/Bochner/Basic.lean, but we reference them here because all theorems about set integrals are in this file.

Lemmas about adding and removing interval boundaries

The primed lemmas take explicit arguments about the endpoint having zero measure, while the unprimed ones use [NullSingletonClass μ].

Continuity of the set integral

We prove that for any set s, the function fun f : X →₁[μ] E => ∫ x in s, f x ∂μ is continuous.

theorem MeasureTheory.setIntegral_congr_ae₀ E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {f g : X → E} {s : Set X} {μ : MeasureTheory.Measure X},
  MeasureTheory.NullMeasurableSet s μ →
    (∀ᵐ (x : X) ∂μ, x ∈ s → f x = g x) → ∫ (x : X) in s, f x ∂μ = ∫ (x : X) in s, g x ∂μ

theorem MeasureTheory.setIntegral_congr_ae E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {f g : X → E} {s : Set X} {μ : MeasureTheory.Measure X},
  MeasurableSet s → (∀ᵐ (x : X) ∂μ, x ∈ s → f x = g x) → ∫ (x : X) in s, f x ∂μ = ∫ (x : X) in s, g x ∂μ

theorem MeasureTheory.setIntegral_congr_fun₀ E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {f g : X → E} {s : Set X} {μ : MeasureTheory.Measure X},
  MeasureTheory.NullMeasurableSet s μ → Set.EqOn f g s → ∫ (x : X) in s, f x ∂μ = ∫ (x : X) in s, g x ∂μ

theorem MeasureTheory.setIntegral_congr_fun E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {f g : X → E} {s : Set X} {μ : MeasureTheory.Measure X},
  MeasurableSet s → Set.EqOn f g s → ∫ (x : X) in s, f x ∂μ = ∫ (x : X) in s, g x ∂μ

theorem MeasureTheory.setIntegral_congr_set E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {f : X → E} {s t : Set X} {μ : MeasureTheory.Measure X}, s =ᵐ[μ] t → ∫ (x : X) in s, f x ∂μ = ∫ (x : X) in t, f x ∂μ

theorem MeasureTheory.setIntegral_union₀ E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {f : X → E} {s t : Set X} {μ : MeasureTheory.Measure X},
  MeasureTheory.AEDisjoint μ s t →
    MeasureTheory.NullMeasurableSet t μ →
      MeasureTheory.IntegrableOn f s μ →
        MeasureTheory.IntegrableOn f t μ → ∫ (x : X) in s ∪ t, f x ∂μ = ∫ (x : X) in s, f x ∂μ + ∫ (x : X) in t, f x ∂μ

theorem MeasureTheory.setIntegral_union E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {f : X → E} {s t : Set X} {μ : MeasureTheory.Measure X},
  Disjoint s t →
    MeasurableSet t →
      MeasureTheory.IntegrableOn f s μ →
        MeasureTheory.IntegrableOn f t μ → ∫ (x : X) in s ∪ t, f x ∂μ = ∫ (x : X) in s, f x ∂μ + ∫ (x : X) in t, f x ∂μ

theorem MeasureTheory.setIntegral_sdiff₀ E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {f : X → E} {s t : Set X} {μ : MeasureTheory.Measure X},
  MeasureTheory.NullMeasurableSet t μ →
    MeasureTheory.IntegrableOn f s μ →
      t ⊆ s → ∫ (x : X) in s \ t, f x ∂μ = ∫ (x : X) in s, f x ∂μ - ∫ (x : X) in t, f x ∂μ

theorem MeasureTheory.setIntegral_sdiff E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {f : X → E} {s t : Set X} {μ : MeasureTheory.Measure X},
  MeasurableSet t →
    MeasureTheory.IntegrableOn f s μ →
      t ⊆ s → ∫ (x : X) in s \ t, f x ∂μ = ∫ (x : X) in s, f x ∂μ - ∫ (x : X) in t, f x ∂μ

theorem MeasureTheory.integral_inter_add_sdiff₀ E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {f : X → E} {s t : Set X} {μ : MeasureTheory.Measure X},
  MeasureTheory.NullMeasurableSet t μ →
    MeasureTheory.IntegrableOn f s μ → ∫ (x : X) in s ∩ t, f x ∂μ + ∫ (x : X) in s \ t, f x ∂μ = ∫ (x : X) in s, f x ∂μ

theorem MeasureTheory.integral_inter_add_sdiff E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {f : X → E} {s t : Set X} {μ : MeasureTheory.Measure X},
  MeasurableSet t →
    MeasureTheory.IntegrableOn f s μ → ∫ (x : X) in s ∩ t, f x ∂μ + ∫ (x : X) in s \ t, f x ∂μ = ∫ (x : X) in s, f x ∂μ

theorem MeasureTheory.integral_biUnion_finset E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {f : X → E} {μ : MeasureTheory.Measure X} {ι : Type u_5} (t : Finset ι) {s : ι → Set X},
  (∀ i ∈ t, MeasurableSet (s i)) →
    (↑t).Pairwise (Function.onFun Disjoint s) →
      (∀ i ∈ t, MeasureTheory.IntegrableOn f (s i) μ) →
        ∫ (x : X) in ⋃ i ∈ t, s i, f x ∂μ = ∑ i ∈ t, ∫ (x : X) in s i, f x ∂μ

theorem MeasureTheory.integral_iUnion_fintype E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {f : X → E} {μ : MeasureTheory.Measure X} {ι : Type u_5} [inst_2 : Fintype ι] {s : ι → Set X},
  (∀ (i : ι), MeasurableSet (s i)) →
    Pairwise (Function.onFun Disjoint s) →
      (∀ (i : ι), MeasureTheory.IntegrableOn f (s i) μ) → ∫ (x : X) in ⋃ i, s i, f x ∂μ = ∑ i, ∫ (x : X) in s i, f x ∂μ

theorem MeasureTheory.setIntegral_empty E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {f : X → E} {μ : MeasureTheory.Measure X}, ∫ (x : X) in ∅, f x ∂μ = 0

theorem MeasureTheory.setIntegral_univ E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {f : X → E} {μ : MeasureTheory.Measure X}, ∫ (x : X) in Set.univ, f x ∂μ = ∫ (x : X), f x ∂μ

theorem MeasureTheory.integral_eq_setIntegral E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {s : Set X} {μ : MeasureTheory.Measure X},
  (∀ᵐ (x : X) ∂μ, x ∈ s) → ∀ (f : X → E), ∫ (x : X), f x ∂μ = ∫ (x : X) in s, f x ∂μ

theorem MeasureTheory.integral_add_compl₀ E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {f : X → E} {s : Set X} {μ : MeasureTheory.Measure X},
  MeasureTheory.NullMeasurableSet s μ →
    MeasureTheory.Integrable f μ → ∫ (x : X) in s, f x ∂μ + ∫ (x : X) in sᶜ, f x ∂μ = ∫ (x : X), f x ∂μ

theorem MeasureTheory.integral_add_compl E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {f : X → E} {s : Set X} {μ : MeasureTheory.Measure X},
  MeasurableSet s → MeasureTheory.Integrable f μ → ∫ (x : X) in s, f x ∂μ + ∫ (x : X) in sᶜ, f x ∂μ = ∫ (x : X), f x ∂μ

theorem MeasureTheory.setIntegral_compl₀ E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {f : X → E} {s : Set X} {μ : MeasureTheory.Measure X},
  MeasureTheory.NullMeasurableSet s μ →
    MeasureTheory.Integrable f μ → ∫ (x : X) in sᶜ, f x ∂μ = ∫ (x : X), f x ∂μ - ∫ (x : X) in s, f x ∂μ

theorem MeasureTheory.setIntegral_compl E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {f : X → E} {s : Set X} {μ : MeasureTheory.Measure X},
  MeasurableSet s → MeasureTheory.Integrable f μ → ∫ (x : X) in sᶜ, f x ∂μ = ∫ (x : X), f x ∂μ - ∫ (x : X) in s, f x ∂μ

theorem MeasureTheory.integral_indicator₀ E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {f : X → E} {s : Set X} {μ : MeasureTheory.Measure X},
  MeasureTheory.NullMeasurableSet s μ → ∫ (x : X), s.indicator f x ∂μ = ∫ (x : X) in s, f x ∂μ

theorem MeasureTheory.integral_indicator E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {f : X → E} {s : Set X} {μ : MeasureTheory.Measure X},
  MeasurableSet s → ∫ (x : X), s.indicator f x ∂μ = ∫ (x : X) in s, f x ∂μ

For a function f and a measurable set s, the integral of indicator s f over the whole space is equal to ∫ x in s, f x ∂μ defined as ∫ x, f x ∂(μ.restrict s).

theorem MeasureTheory.integral_integral_indicator E1 #

∀ {X : Type u_1} {Y : Type u_2} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E]
  [inst_1 : NormedSpace ℝ E] {μ : MeasureTheory.Measure X} {mY : MeasurableSpace Y} {ν : MeasureTheory.Measure Y}
  (f : X → Y → E) {s : Set X},
  MeasurableSet s → ∫ (x : X), ∫ (y : Y), s.indicator (fun x ↦ f x y) x ∂ν ∂μ = ∫ (x : X) in s, ∫ (y : Y), f x y ∂ν ∂μ

theorem MeasureTheory.setIntegral_indicator E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {f : X → E} {s t : Set X} {μ : MeasureTheory.Measure X},
  MeasurableSet t → ∫ (x : X) in s, t.indicator f x ∂μ = ∫ (x : X) in s ∩ t, f x ∂μ

theorem MeasureTheory.integral_biUnion_eq_sum_powerset E3 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {f : X → E} {μ : MeasureTheory.Measure X} {ι : Type u_5} {t : Finset ι} {s : ι → Set X},
  (∀ i ∈ t, MeasurableSet (s i)) →
    (∀ i ∈ t, MeasureTheory.IntegrableOn f (s i) μ) →
      ∫ (x : X) in ⋃ i ∈ t, s i, f x ∂μ =
        ∑ u ∈ t.powerset with u.Nonempty, (-1) ^ (u.card + 1) • ∫ (x : X) in ⋂ i ∈ u, s i, f x ∂μ

Inclusion-exclusion principle for the integral of a function over a union.

The integral of a function f over the union of the s i over i ∈ t is the alternating sum of the integrals of f over the intersections of the s i.

theorem MeasureTheory.ofReal_setIntegral_one_of_measure_ne_top E1 #

∀ {X : Type u_5} {m : MeasurableSpace X} {μ : MeasureTheory.Measure X} {s : Set X},
  autoParam (μ s ≠ ⊤) MeasureTheory.ofReal_setIntegral_one_of_measure_ne_top._auto_1 →
    ENNReal.ofReal (∫ (x : X) in s, 1 ∂μ) = μ s

theorem MeasureTheory.ofReal_setIntegral_one E1 #

∀ {X : Type u_5} {x : MeasurableSpace X} (μ : MeasureTheory.Measure X) [MeasureTheory.IsFiniteMeasure μ] (s : Set X),
  ENNReal.ofReal (∫ (x : X) in s, 1 ∂μ) = μ s

theorem MeasureTheory.setIntegral_one_eq_measureReal E1 #

∀ {X : Type u_5} {m : MeasurableSpace X} {μ : MeasureTheory.Measure X} {s : Set X}, ∫ (x : X) in s, 1 ∂μ = μ.real s

theorem MeasureTheory.measureReal_biUnion_eq_sum_powerset E3 #

∀ {X : Type u_1} {mX : MeasurableSpace X} {μ : MeasureTheory.Measure X} {ι : Type u_5} {t : Finset ι} {s : ι → Set X},
  (∀ i ∈ t, MeasurableSet (s i)) →
    autoParam (∀ i ∈ t, μ (s i) ≠ ⊤) MeasureTheory.measureReal_biUnion_eq_sum_powerset._auto_1 →
      μ.real (⋃ i ∈ t, s i) = ∑ u ∈ t.powerset with u.Nonempty, (-1) ^ (u.card + 1) * μ.real (⋂ i ∈ u, s i)

Inclusion-exclusion principle for the measure of a union of sets of finite measure.

The measure of the union of the s i over i ∈ t is the alternating sum of the measures of the intersections of the s i.

theorem MeasureTheory.integral_piecewise E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {f g : X → E} {s : Set X} {μ : MeasureTheory.Measure X} [inst_2 : DecidablePred fun x ↦ x ∈ s],
  MeasurableSet s →
    MeasureTheory.IntegrableOn f s μ →
      MeasureTheory.IntegrableOn g sᶜ μ →
        ∫ (x : X), s.piecewise f g x ∂μ = ∫ (x : X) in s, f x ∂μ + ∫ (x : X) in sᶜ, g x ∂μ

theorem MeasureTheory.tendsto_setIntegral_of_monotone₀ E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {f : X → E} {μ : MeasureTheory.Measure X} {ι : Type u_5} [inst_2 : Preorder ι] [Filter.atTop.IsCountablyGenerated]
  {s : ι → Set X},
  (∀ (i : ι), MeasureTheory.NullMeasurableSet (s i) μ) →
    Monotone s →
      MeasureTheory.IntegrableOn f (⋃ n, s n) μ →
        Filter.Tendsto (fun i ↦ ∫ (x : X) in s i, f x ∂μ) Filter.atTop (nhds (∫ (x : X) in ⋃ n, s n, f x ∂μ))

theorem MeasureTheory.tendsto_setIntegral_of_monotone E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {f : X → E} {μ : MeasureTheory.Measure X} {ι : Type u_5} [inst_2 : Preorder ι] [Filter.atTop.IsCountablyGenerated]
  {s : ι → Set X},
  (∀ (i : ι), MeasurableSet (s i)) →
    Monotone s →
      MeasureTheory.IntegrableOn f (⋃ n, s n) μ →
        Filter.Tendsto (fun i ↦ ∫ (x : X) in s i, f x ∂μ) Filter.atTop (nhds (∫ (x : X) in ⋃ n, s n, f x ∂μ))

theorem MeasureTheory.tendsto_setIntegral_of_antitone E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {f : X → E} {μ : MeasureTheory.Measure X} {ι : Type u_5} [inst_2 : Preorder ι] [Filter.atTop.IsCountablyGenerated]
  {s : ι → Set X},
  (∀ (i : ι), MeasurableSet (s i)) →
    Antitone s →
      (∃ i, MeasureTheory.IntegrableOn f (s i) μ) →
        Filter.Tendsto (fun i ↦ ∫ (x : X) in s i, f x ∂μ) Filter.atTop (nhds (∫ (x : X) in ⋂ n, s n, f x ∂μ))

theorem MeasureTheory.hasSum_integral_iUnion_ae E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {f : X → E} {μ : MeasureTheory.Measure X} {ι : Type u_5} [Countable ι] {s : ι → Set X},
  (∀ (i : ι), MeasureTheory.NullMeasurableSet (s i) μ) →
    Pairwise (Function.onFun (MeasureTheory.AEDisjoint μ) s) →
      MeasureTheory.IntegrableOn f (⋃ i, s i) μ →
        HasSum (fun n ↦ ∫ (x : X) in s n, f x ∂μ) (∫ (x : X) in ⋃ n, s n, f x ∂μ)

theorem MeasureTheory.hasSum_integral_iUnion E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {f : X → E} {μ : MeasureTheory.Measure X} {ι : Type u_5} [Countable ι] {s : ι → Set X},
  (∀ (i : ι), MeasurableSet (s i)) →
    Pairwise (Function.onFun Disjoint s) →
      MeasureTheory.IntegrableOn f (⋃ i, s i) μ →
        HasSum (fun n ↦ ∫ (x : X) in s n, f x ∂μ) (∫ (x : X) in ⋃ n, s n, f x ∂μ)

theorem MeasureTheory.integral_iUnion E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {f : X → E} {μ : MeasureTheory.Measure X} {ι : Type u_5} [Countable ι] {s : ι → Set X},
  (∀ (i : ι), MeasurableSet (s i)) →
    Pairwise (Function.onFun Disjoint s) →
      MeasureTheory.IntegrableOn f (⋃ i, s i) μ → ∫ (x : X) in ⋃ n, s n, f x ∂μ = ∑' (n : ι), ∫ (x : X) in s n, f x ∂μ

theorem MeasureTheory.integral_iUnion_ae E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {f : X → E} {μ : MeasureTheory.Measure X} {ι : Type u_5} [Countable ι] {s : ι → Set X},
  (∀ (i : ι), MeasureTheory.NullMeasurableSet (s i) μ) →
    Pairwise (Function.onFun (MeasureTheory.AEDisjoint μ) s) →
      MeasureTheory.IntegrableOn f (⋃ i, s i) μ → ∫ (x : X) in ⋃ n, s n, f x ∂μ = ∑' (n : ι), ∫ (x : X) in s n, f x ∂μ

theorem MeasureTheory.setIntegral_eq_zero_of_ae_eq_zero E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {f : X → E} {t : Set X} {μ : MeasureTheory.Measure X}, (∀ᵐ (x : X) ∂μ, x ∈ t → f x = 0) → ∫ (x : X) in t, f x ∂μ = 0

theorem MeasureTheory.setIntegral_eq_zero_of_forall_eq_zero E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {f : X → E} {t : Set X} {μ : MeasureTheory.Measure X}, (∀ x ∈ t, f x = 0) → ∫ (x : X) in t, f x ∂μ = 0

theorem MeasureTheory.frequently_ae_ne_zero_of_setIntegral_ne_zero E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {f : X → E} {t : Set X} {μ : MeasureTheory.Measure X}, ∫ (x : X) in t, f x ∂μ ≠ 0 → ∃ᵐ (x : X) ∂μ.restrict t, f x ≠ 0

theorem MeasureTheory.exists_ne_zero_of_setIntegral_ne_zero E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {f : X → E} {t : Set X} {μ : MeasureTheory.Measure X}, ∫ (x : X) in t, f x ∂μ ≠ 0 → ∃ x ∈ t, f x ≠ 0

theorem MeasureTheory.integral_union_eq_left_of_ae_aux E0 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {f : X → E} {s t : Set X} {μ : MeasureTheory.Measure X},
  (∀ᵐ (x : X) ∂μ.restrict t, f x = 0) →
    MeasureTheory.StronglyMeasurable f →
      MeasureTheory.IntegrableOn f (s ∪ t) μ → ∫ (x : X) in s ∪ t, f x ∂μ = ∫ (x : X) in s, f x ∂μ

theorem MeasureTheory.integral_union_eq_left_of_ae E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {f : X → E} {s t : Set X} {μ : MeasureTheory.Measure X},
  (∀ᵐ (x : X) ∂μ.restrict t, f x = 0) → ∫ (x : X) in s ∪ t, f x ∂μ = ∫ (x : X) in s, f x ∂μ

theorem MeasureTheory.integral_union_eq_left_of_forall₀ E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {s t : Set X} {μ : MeasureTheory.Measure X} {f : X → E},
  MeasureTheory.NullMeasurableSet t μ → (∀ x ∈ t, f x = 0) → ∫ (x : X) in s ∪ t, f x ∂μ = ∫ (x : X) in s, f x ∂μ

theorem MeasureTheory.integral_union_eq_left_of_forall E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {s t : Set X} {μ : MeasureTheory.Measure X} {f : X → E},
  MeasurableSet t → (∀ x ∈ t, f x = 0) → ∫ (x : X) in s ∪ t, f x ∂μ = ∫ (x : X) in s, f x ∂μ

theorem MeasureTheory.setIntegral_eq_of_subset_of_ae_sdiff_eq_zero_aux E0 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {f : X → E} {s t : Set X} {μ : MeasureTheory.Measure X},
  s ⊆ t →
    (∀ᵐ (x : X) ∂μ, x ∈ t \ s → f x = 0) →
      MeasureTheory.StronglyMeasurable f →
        MeasureTheory.IntegrableOn f t μ → ∫ (x : X) in t, f x ∂μ = ∫ (x : X) in s, f x ∂μ

theorem MeasureTheory.setIntegral_eq_of_subset_of_ae_sdiff_eq_zero E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {f : X → E} {s t : Set X} {μ : MeasureTheory.Measure X},
  MeasureTheory.NullMeasurableSet t μ →
    s ⊆ t → (∀ᵐ (x : X) ∂μ, x ∈ t \ s → f x = 0) → ∫ (x : X) in t, f x ∂μ = ∫ (x : X) in s, f x ∂μ

If a function vanishes almost everywhere on t \ s with s ⊆ t, then its integrals on s and t coincide if t is null-measurable.

theorem MeasureTheory.setIntegral_eq_of_subset_of_forall_sdiff_eq_zero E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {f : X → E} {s t : Set X} {μ : MeasureTheory.Measure X},
  MeasurableSet t → s ⊆ t → (∀ x ∈ t \ s, f x = 0) → ∫ (x : X) in t, f x ∂μ = ∫ (x : X) in s, f x ∂μ

If a function vanishes on t \ s with s ⊆ t, then its integrals on s and t coincide if t is measurable.

theorem MeasureTheory.setIntegral_eq_integral_of_ae_compl_eq_zero E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {f : X → E} {s : Set X} {μ : MeasureTheory.Measure X},
  (∀ᵐ (x : X) ∂μ, x ∉ s → f x = 0) → ∫ (x : X) in s, f x ∂μ = ∫ (x : X), f x ∂μ

If a function vanishes almost everywhere on sᶜ, then its integral on s coincides with its integral on the whole space.

theorem MeasureTheory.setIntegral_eq_integral_of_forall_compl_eq_zero E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {f : X → E} {s : Set X} {μ : MeasureTheory.Measure X}, (∀ x ∉ s, f x = 0) → ∫ (x : X) in s, f x ∂μ = ∫ (x : X), f x ∂μ

If a function vanishes on sᶜ, then its integral on s coincides with its integral on the whole space.

theorem MeasureTheory.setIntegral_neg_eq_setIntegral_nonpos E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {μ : MeasureTheory.Measure X} [inst_2 : PartialOrder E] {f : X → E},
  MeasureTheory.AEStronglyMeasurable f μ → ∫ (x : X) in {x | f x < 0}, f x ∂μ = ∫ (x : X) in {x | f x ≤ 0}, f x ∂μ

theorem MeasureTheory.integral_norm_eq_pos_sub_neg E1 #

∀ {X : Type u_1} {mX : MeasurableSpace X} {μ : MeasureTheory.Measure X} {f : X → ℝ},
  MeasureTheory.Integrable f μ →
    ∫ (x : X), ‖f x‖ ∂μ = ∫ (x : X) in {x | 0 ≤ f x}, f x ∂μ - ∫ (x : X) in {x | f x ≤ 0}, f x ∂μ

theorem MeasureTheory.setIntegral_const E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {s : Set X} {μ : MeasureTheory.Measure X} [CompleteSpace E] (c : E), ∫ (x : X) in s, c ∂μ = μ.real s • c

theorem MeasureTheory.integral_indicator_const E0 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {μ : MeasureTheory.Measure X} [CompleteSpace E] (e : E) ⦃s : Set X⦄,
  MeasurableSet s → ∫ (x : X), s.indicator (fun x ↦ e) x ∂μ = μ.real s • e

theorem MeasureTheory.integral_indicator_one E0 #

∀ {X : Type u_1} {mX : MeasurableSpace X} {μ : MeasureTheory.Measure X} ⦃s : Set X⦄,
  MeasurableSet s → ∫ (x : X), s.indicator 1 x ∂μ = μ.real s

theorem MeasureTheory.setIntegral_indicatorConstLp E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {s t : Set X} {μ : MeasureTheory.Measure X} [CompleteSpace E] {p : ENNReal},
  MeasurableSet s →
    ∀ (ht : MeasurableSet t) (hμt : μ t ≠ ⊤) (e : E),
      ∫ (x : X) in s, ↑↑(MeasureTheory.indicatorConstLp p ht hμt e) x ∂μ = μ.real (t ∩ s) • e

theorem MeasureTheory.integral_indicatorConstLp E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {t : Set X} {μ : MeasureTheory.Measure X} [CompleteSpace E] {p : ENNReal} (ht : MeasurableSet t) (hμt : μ t ≠ ⊤)
  (e : E), ∫ (x : X), ↑↑(MeasureTheory.indicatorConstLp p ht hμt e) x ∂μ = μ.real t • e

theorem MeasureTheory.setIntegral_map E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {μ : MeasureTheory.Measure X} {Y : Type u_5} [inst_2 : MeasurableSpace Y] {g : X → Y} {f : Y → E} {s : Set Y},
  MeasurableSet s →
    MeasureTheory.AEStronglyMeasurable f (MeasureTheory.Measure.map g μ) →
      AEMeasurable g μ → ∫ (y : Y) in s, f y ∂MeasureTheory.Measure.map g μ = ∫ (x : X) in g ⁻¹' s, f (g x) ∂μ

theorem MeasurableEmbedding.setIntegral_map E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {μ : MeasureTheory.Measure X} {Y : Type u_5} {x : MeasurableSpace Y} {f : X → Y},
  MeasurableEmbedding f →
    ∀ (g : Y → E) (s : Set Y), ∫ (y : Y) in s, g y ∂MeasureTheory.Measure.map f μ = ∫ (x : X) in f ⁻¹' s, g (f x) ∂μ

theorem Topology.IsClosedEmbedding.setIntegral_map E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {μ : MeasureTheory.Measure X} [inst_2 : TopologicalSpace X] [BorelSpace X] {Y : Type u_5} [inst_4 : MeasurableSpace Y]
  [inst_5 : TopologicalSpace Y] [BorelSpace Y] {g : X → Y} {f : Y → E} (s : Set Y),
  Topology.IsClosedEmbedding g → ∫ (y : Y) in s, f y ∂MeasureTheory.Measure.map g μ = ∫ (x : X) in g ⁻¹' s, f (g x) ∂μ

theorem MeasureTheory.MeasurePreserving.setIntegral_preimage_emb E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {μ : MeasureTheory.Measure X} {Y : Type u_5} {x : MeasurableSpace Y} {f : X → Y} {ν : MeasureTheory.Measure Y},
  MeasureTheory.MeasurePreserving f μ ν →
    MeasurableEmbedding f → ∀ (g : Y → E) (s : Set Y), ∫ (x : X) in f ⁻¹' s, g (f x) ∂μ = ∫ (y : Y) in s, g y ∂ν

theorem MeasureTheory.MeasurePreserving.setIntegral_image_emb E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {μ : MeasureTheory.Measure X} {Y : Type u_5} {x : MeasurableSpace Y} {f : X → Y} {ν : MeasureTheory.Measure Y},
  MeasureTheory.MeasurePreserving f μ ν →
    MeasurableEmbedding f → ∀ (g : Y → E) (s : Set X), ∫ (y : Y) in f '' s, g y ∂ν = ∫ (x : X) in s, g (f x) ∂μ

theorem MeasureTheory.setIntegral_map_equiv E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {μ : MeasureTheory.Measure X} {Y : Type u_5} [inst_2 : MeasurableSpace Y] (e : X ≃ᵐ Y) (f : Y → E) (s : Set Y),
  ∫ (y : Y) in s, f y ∂MeasureTheory.Measure.map (⇑e) μ = ∫ (x : X) in ⇑e ⁻¹' s, f (e x) ∂μ

theorem MeasureTheory.norm_setIntegral_le_of_norm_le_const_ae E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {f : X → E} {s : Set X} {μ : MeasureTheory.Measure X} {C : ℝ},
  μ s < ⊤ → (∀ᵐ (x : X) ∂μ.restrict s, ‖f x‖ ≤ C) → ‖∫ (x : X) in s, f x ∂μ‖ ≤ C * μ.real s

theorem MeasureTheory.norm_setIntegral_le_of_norm_le_const_ae' E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {f : X → E} {s : Set X} {μ : MeasureTheory.Measure X} {C : ℝ},
  μ s < ⊤ → (∀ᵐ (x : X) ∂μ, x ∈ s → ‖f x‖ ≤ C) → ‖∫ (x : X) in s, f x ∂μ‖ ≤ C * μ.real s

theorem MeasureTheory.norm_setIntegral_le_of_norm_le_const E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {f : X → E} {s : Set X} {μ : MeasureTheory.Measure X} {C : ℝ},
  μ s < ⊤ → (∀ x ∈ s, ‖f x‖ ≤ C) → ‖∫ (x : X) in s, f x ∂μ‖ ≤ C * μ.real s

theorem MeasureTheory.norm_integral_sub_setIntegral_le E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {f : X → E} {μ : MeasureTheory.Measure X} [MeasureTheory.IsFiniteMeasure μ] {C : ℝ},
  (∀ᵐ (x : X) ∂μ, ‖f x‖ ≤ C) →
    ∀ {s : Set X},
      MeasurableSet s → MeasureTheory.Integrable f μ → ‖∫ (x : X), f x ∂μ - ∫ (x : X) in s, f x ∂μ‖ ≤ μ.real sᶜ * C

theorem MeasureTheory.setIntegral_eq_zero_iff_of_nonneg_ae E1 #

∀ {X : Type u_1} {mX : MeasurableSpace X} {s : Set X} {μ : MeasureTheory.Measure X} {f : X → ℝ},
  0 ≤ᵐ[μ.restrict s] f → MeasureTheory.IntegrableOn f s μ → (∫ (x : X) in s, f x ∂μ = 0 ↔ f =ᵐ[μ.restrict s] 0)

theorem MeasureTheory.setIntegral_pos_iff_support_of_nonneg_ae E1 #

∀ {X : Type u_1} {mX : MeasurableSpace X} {s : Set X} {μ : MeasureTheory.Measure X} {f : X → ℝ},
  0 ≤ᵐ[μ.restrict s] f →
    MeasureTheory.IntegrableOn f s μ → (0 < ∫ (x : X) in s, f x ∂μ ↔ 0 < μ (Function.support f ∩ s))

theorem MeasureTheory.setIntegral_gt_gt E1 #

∀ {X : Type u_1} {mX : MeasurableSpace X} {μ : MeasureTheory.Measure X} {R : ℝ} {f : X → ℝ},
  0 ≤ R →
    MeasureTheory.IntegrableOn f {x | R < f x} μ →
      μ {x | R < f x} ≠ 0 → μ.real {x | R < f x} * R < ∫ (x : X) in {x | R < f x}, f x ∂μ

theorem MeasureTheory.setIntegral_trim E1 #

∀ {E : Type u_3} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E] {X : Type u_5} {m m0 : MeasurableSpace X}
  {μ : MeasureTheory.Measure X} (hm : m ≤ m0) {f : X → E},
  MeasureTheory.StronglyMeasurable f →
    ∀ {s : Set X}, MeasurableSet s → ∫ (x : X) in s, f x ∂μ = ∫ (x : X) in s, f x ∂μ.trim hm

theorem MeasureTheory.integral_Icc_eq_integral_Ioc' E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {f : X → E} {μ : MeasureTheory.Measure X} [inst_2 : PartialOrder X] {x y : X},
  μ {x} = 0 → ∫ (t : X) in Set.Icc x y, f t ∂μ = ∫ (t : X) in Set.Ioc x y, f t ∂μ

theorem MeasureTheory.integral_Icc_eq_integral_Ico' E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {f : X → E} {μ : MeasureTheory.Measure X} [inst_2 : PartialOrder X] {x y : X},
  μ {y} = 0 → ∫ (t : X) in Set.Icc x y, f t ∂μ = ∫ (t : X) in Set.Ico x y, f t ∂μ

theorem MeasureTheory.integral_Ioc_eq_integral_Ioo' E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {f : X → E} {μ : MeasureTheory.Measure X} [inst_2 : PartialOrder X] {x y : X},
  μ {y} = 0 → ∫ (t : X) in Set.Ioc x y, f t ∂μ = ∫ (t : X) in Set.Ioo x y, f t ∂μ

theorem MeasureTheory.integral_Ico_eq_integral_Ioo' E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {f : X → E} {μ : MeasureTheory.Measure X} [inst_2 : PartialOrder X] {x y : X},
  μ {x} = 0 → ∫ (t : X) in Set.Ico x y, f t ∂μ = ∫ (t : X) in Set.Ioo x y, f t ∂μ

theorem MeasureTheory.integral_Icc_eq_integral_Ioo' E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {f : X → E} {μ : MeasureTheory.Measure X} [inst_2 : PartialOrder X] {x y : X},
  μ {x} = 0 → μ {y} = 0 → ∫ (t : X) in Set.Icc x y, f t ∂μ = ∫ (t : X) in Set.Ioo x y, f t ∂μ

theorem MeasureTheory.integral_Iic_eq_integral_Iio' E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {f : X → E} {μ : MeasureTheory.Measure X} [inst_2 : PartialOrder X] {x : X},
  μ {x} = 0 → ∫ (t : X) in Set.Iic x, f t ∂μ = ∫ (t : X) in Set.Iio x, f t ∂μ

theorem MeasureTheory.integral_Ici_eq_integral_Ioi' E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {f : X → E} {μ : MeasureTheory.Measure X} [inst_2 : PartialOrder X] {x : X},
  μ {x} = 0 → ∫ (t : X) in Set.Ici x, f t ∂μ = ∫ (t : X) in Set.Ioi x, f t ∂μ

theorem MeasureTheory.integral_Icc_eq_integral_Ioc E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {f : X → E} {μ : MeasureTheory.Measure X} [inst_2 : PartialOrder X] {x y : X} [MeasureTheory.NullSingletonClass μ],
  ∫ (t : X) in Set.Icc x y, f t ∂μ = ∫ (t : X) in Set.Ioc x y, f t ∂μ

theorem MeasureTheory.integral_Icc_eq_integral_Ico E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {f : X → E} {μ : MeasureTheory.Measure X} [inst_2 : PartialOrder X] {x y : X} [MeasureTheory.NullSingletonClass μ],
  ∫ (t : X) in Set.Icc x y, f t ∂μ = ∫ (t : X) in Set.Ico x y, f t ∂μ

theorem MeasureTheory.integral_Ioc_eq_integral_Ioo E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {f : X → E} {μ : MeasureTheory.Measure X} [inst_2 : PartialOrder X] {x y : X} [MeasureTheory.NullSingletonClass μ],
  ∫ (t : X) in Set.Ioc x y, f t ∂μ = ∫ (t : X) in Set.Ioo x y, f t ∂μ

theorem MeasureTheory.integral_Ico_eq_integral_Ioo E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {f : X → E} {μ : MeasureTheory.Measure X} [inst_2 : PartialOrder X] {x y : X} [MeasureTheory.NullSingletonClass μ],
  ∫ (t : X) in Set.Ico x y, f t ∂μ = ∫ (t : X) in Set.Ioo x y, f t ∂μ

theorem MeasureTheory.integral_Ico_eq_integral_Ioc E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {f : X → E} {μ : MeasureTheory.Measure X} [inst_2 : PartialOrder X] {x y : X} [MeasureTheory.NullSingletonClass μ],
  ∫ (t : X) in Set.Ico x y, f t ∂μ = ∫ (t : X) in Set.Ioc x y, f t ∂μ

theorem MeasureTheory.integral_Icc_eq_integral_Ioo E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {f : X → E} {μ : MeasureTheory.Measure X} [inst_2 : PartialOrder X] {x y : X} [MeasureTheory.NullSingletonClass μ],
  ∫ (t : X) in Set.Icc x y, f t ∂μ = ∫ (t : X) in Set.Ioo x y, f t ∂μ

theorem MeasureTheory.integral_Iic_eq_integral_Iio E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {f : X → E} {μ : MeasureTheory.Measure X} [inst_2 : PartialOrder X] {x : X} [MeasureTheory.NullSingletonClass μ],
  ∫ (t : X) in Set.Iic x, f t ∂μ = ∫ (t : X) in Set.Iio x, f t ∂μ

theorem MeasureTheory.integral_Ici_eq_integral_Ioi E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  {f : X → E} {μ : MeasureTheory.Measure X} [inst_2 : PartialOrder X] {x : X} [MeasureTheory.NullSingletonClass μ],
  ∫ (t : X) in Set.Ici x, f t ∂μ = ∫ (t : X) in Set.Ioi x, f t ∂μ

theorem MeasureTheory.setIntegral_mono_set E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  [inst_2 : PartialOrder E] [IsOrderedAddMonoid E] [IsOrderedModule ℝ E] {μ : MeasureTheory.Measure X} {f : X → E}
  {s t : Set X} [OrderClosedTopology E],
  MeasureTheory.IntegrableOn f t μ → 0 ≤ᵐ[μ.restrict t] f → s ≤ᵐ[μ] t → ∫ (x : X) in s, f x ∂μ ≤ ∫ (x : X) in t, f x ∂μ

theorem MeasureTheory.setIntegral_le_integral E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  [inst_2 : PartialOrder E] [IsOrderedAddMonoid E] [IsOrderedModule ℝ E] {μ : MeasureTheory.Measure X} {f : X → E}
  {s : Set X} [OrderClosedTopology E],
  MeasureTheory.Integrable f μ → 0 ≤ᵐ[μ] f → ∫ (x : X) in s, f x ∂μ ≤ ∫ (x : X), f x ∂μ

theorem MeasureTheory.setIntegral_mono_ae_restrict E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  [inst_2 : PartialOrder E] [IsOrderedAddMonoid E] [IsOrderedModule ℝ E] {μ : MeasureTheory.Measure X} {f g : X → E}
  {s : Set X} [ClosedIciTopology E],
  MeasureTheory.IntegrableOn f s μ →
    MeasureTheory.IntegrableOn g s μ → f ≤ᵐ[μ.restrict s] g → ∫ (x : X) in s, f x ∂μ ≤ ∫ (x : X) in s, g x ∂μ

theorem MeasureTheory.setIntegral_mono_ae E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  [inst_2 : PartialOrder E] [IsOrderedAddMonoid E] [IsOrderedModule ℝ E] {μ : MeasureTheory.Measure X} {f g : X → E}
  {s : Set X} [ClosedIciTopology E],
  MeasureTheory.IntegrableOn f s μ →
    MeasureTheory.IntegrableOn g s μ → f ≤ᵐ[μ] g → ∫ (x : X) in s, f x ∂μ ≤ ∫ (x : X) in s, g x ∂μ

theorem MeasureTheory.setIntegral_mono_on E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  [inst_2 : PartialOrder E] [IsOrderedAddMonoid E] [IsOrderedModule ℝ E] {μ : MeasureTheory.Measure X} {f g : X → E}
  {s : Set X} [ClosedIciTopology E],
  MeasureTheory.IntegrableOn f s μ →
    MeasureTheory.IntegrableOn g s μ →
      MeasurableSet s → (∀ x ∈ s, f x ≤ g x) → ∫ (x : X) in s, f x ∂μ ≤ ∫ (x : X) in s, g x ∂μ

theorem MeasureTheory.setIntegral_mono_on_ae E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  [inst_2 : PartialOrder E] [IsOrderedAddMonoid E] [IsOrderedModule ℝ E] {μ : MeasureTheory.Measure X} {f g : X → E}
  {s : Set X} [ClosedIciTopology E],
  MeasureTheory.IntegrableOn f s μ →
    MeasureTheory.IntegrableOn g s μ →
      MeasurableSet s → (∀ᵐ (x : X) ∂μ, x ∈ s → f x ≤ g x) → ∫ (x : X) in s, f x ∂μ ≤ ∫ (x : X) in s, g x ∂μ

theorem MeasureTheory.setIntegral_mono_on_ae₀ E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  [inst_2 : PartialOrder E] [IsOrderedAddMonoid E] [IsOrderedModule ℝ E] {μ : MeasureTheory.Measure X} {f g : X → E}
  {s : Set X} [ClosedIciTopology E],
  MeasureTheory.IntegrableOn f s μ →
    MeasureTheory.IntegrableOn g s μ →
      MeasureTheory.NullMeasurableSet s μ →
        (∀ᵐ (x : X) ∂μ, x ∈ s → f x ≤ g x) → ∫ (x : X) in s, f x ∂μ ≤ ∫ (x : X) in s, g x ∂μ

theorem MeasureTheory.setIntegral_mono_on₀ E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  [inst_2 : PartialOrder E] [IsOrderedAddMonoid E] [IsOrderedModule ℝ E] {μ : MeasureTheory.Measure X} {f g : X → E}
  {s : Set X} [ClosedIciTopology E],
  MeasureTheory.IntegrableOn f s μ →
    MeasureTheory.IntegrableOn g s μ →
      MeasureTheory.NullMeasurableSet s μ → (∀ x ∈ s, f x ≤ g x) → ∫ (x : X) in s, f x ∂μ ≤ ∫ (x : X) in s, g x ∂μ

theorem MeasureTheory.setIntegral_mono E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  [inst_2 : PartialOrder E] [IsOrderedAddMonoid E] [IsOrderedModule ℝ E] {μ : MeasureTheory.Measure X} {f g : X → E}
  {s : Set X} [ClosedIciTopology E],
  MeasureTheory.IntegrableOn f s μ →
    MeasureTheory.IntegrableOn g s μ → f ≤ g → ∫ (x : X) in s, f x ∂μ ≤ ∫ (x : X) in s, g x ∂μ

theorem MeasureTheory.setIntegral_ge_of_const_le E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
  [inst_2 : PartialOrder E] [IsOrderedAddMonoid E] [IsOrderedModule ℝ E] {μ : MeasureTheory.Measure X} {f : X → E}
  {s : Set X} [ClosedIciTopology E] [CompleteSpace E] {c : E},
  MeasurableSet s →
    μ s ≠ ⊤ → (∀ x ∈ s, c ≤ f x) → MeasureTheory.IntegrableOn (fun x ↦ f x) s μ → μ.real s • c ≤ ∫ (x : X) in s, f x ∂μ

theorem MeasureTheory.setIntegral_ge_of_const_le_real E1 #

∀ {X : Type u_1} {mX : MeasurableSpace X} {μ : MeasureTheory.Measure X} {s : Set X} {f : X → ℝ} {c : ℝ},
  MeasurableSet s →
    μ s ≠ ⊤ → (∀ x ∈ s, c ≤ f x) → MeasureTheory.IntegrableOn (fun x ↦ f x) s μ → c * μ.real s ≤ ∫ (x : X) in s, f x ∂μ

theorem MeasureTheory.setIntegral_nonneg_of_ae_restrict E1 #

∀ {X : Type u_1} {mX : MeasurableSpace X} {μ : MeasureTheory.Measure X} {f : X → ℝ} {s : Set X},
  0 ≤ᵐ[μ.restrict s] f → 0 ≤ ∫ (x : X) in s, f x ∂μ

theorem MeasureTheory.setIntegral_nonneg_of_ae E1 #

∀ {X : Type u_1} {mX : MeasurableSpace X} {μ : MeasureTheory.Measure X} {f : X → ℝ} {s : Set X},
  0 ≤ᵐ[μ] f → 0 ≤ ∫ (x : X) in s, f x ∂μ

theorem MeasureTheory.setIntegral_nonneg E1 #

∀ {X : Type u_1} {mX : MeasurableSpace X} {μ : MeasureTheory.Measure X} {f : X → ℝ} {s : Set X},
  MeasurableSet s → (∀ x ∈ s, 0 ≤ f x) → 0 ≤ ∫ (x : X) in s, f x ∂μ

theorem MeasureTheory.setIntegral_nonneg_ae E1 #

∀ {X : Type u_1} {mX : MeasurableSpace X} {μ : MeasureTheory.Measure X} {f : X → ℝ} {s : Set X},
  MeasurableSet s → (∀ᵐ (x : X) ∂μ, x ∈ s → 0 ≤ f x) → 0 ≤ ∫ (x : X) in s, f x ∂μ

theorem MeasureTheory.setIntegral_le_nonneg E1 #

∀ {X : Type u_1} {mX : MeasurableSpace X} {μ : MeasureTheory.Measure X} {f : X → ℝ} {s : Set X},
  MeasurableSet s →
    MeasureTheory.StronglyMeasurable f →
      MeasureTheory.Integrable f μ → ∫ (x : X) in s, f x ∂μ ≤ ∫ (x : X) in {y | 0 ≤ f y}, f x ∂μ

theorem MeasureTheory.setIntegral_nonpos_of_ae_restrict E1 #

∀ {X : Type u_1} {mX : MeasurableSpace X} {μ : MeasureTheory.Measure X} {f : X → ℝ} {s : Set X},
  f ≤ᵐ[μ.restrict s] 0 → ∫ (x : X) in s, f x ∂μ ≤ 0

theorem MeasureTheory.setIntegral_nonpos_of_ae E1 #

∀ {X : Type u_1} {mX : MeasurableSpace X} {μ : MeasureTheory.Measure X} {f : X → ℝ} {s : Set X},
  f ≤ᵐ[μ] 0 → ∫ (x : X) in s, f x ∂μ ≤ 0

theorem MeasureTheory.setIntegral_nonpos_ae E1 #

∀ {X : Type u_1} {mX : MeasurableSpace X} {μ : MeasureTheory.Measure X} {f : X → ℝ} {s : Set X},
  MeasurableSet s → (∀ᵐ (x : X) ∂μ, x ∈ s → f x ≤ 0) → ∫ (x : X) in s, f x ∂μ ≤ 0

theorem MeasureTheory.setIntegral_nonpos E1 #

∀ {X : Type u_1} {mX : MeasurableSpace X} {μ : MeasureTheory.Measure X} {f : X → ℝ} {s : Set X},
  MeasurableSet s → (∀ x ∈ s, f x ≤ 0) → ∫ (x : X) in s, f x ∂μ ≤ 0

theorem MeasureTheory.setIntegral_nonpos_le E1 #

∀ {X : Type u_1} {mX : MeasurableSpace X} {μ : MeasureTheory.Measure X} {f : X → ℝ} {s : Set X},
  MeasurableSet s →
    MeasureTheory.StronglyMeasurable f →
      MeasureTheory.Integrable f μ → ∫ (x : X) in {y | f y ≤ 0}, f x ∂μ ≤ ∫ (x : X) in s, f x ∂μ

theorem MeasureTheory.Integrable.measure_le_integral E1 #

∀ {X : Type u_1} {mX : MeasurableSpace X} {μ : MeasureTheory.Measure X} {f : X → ℝ},
  MeasureTheory.Integrable f μ →
    0 ≤ᵐ[μ] f → ∀ {s : Set X}, (∀ x ∈ s, 1 ≤ f x) → μ s ≤ ENNReal.ofReal (∫ (x : X), f x ∂μ)

theorem MeasureTheory.integral_le_measure E1 #

∀ {X : Type u_1} {mX : MeasurableSpace X} {μ : MeasureTheory.Measure X} {f : X → ℝ} {s : Set X},
  (∀ x ∈ s, f x ≤ 1) → (∀ x ∈ sᶜ, f x ≤ 0) → ENNReal.ofReal (∫ (x : X), f x ∂μ) ≤ μ s

theorem MeasureTheory.setIntegral_mono_of_nonneg E1 #

∀ {X : Type u_1} {mX : MeasurableSpace X} {μ : MeasureTheory.Measure X} {f : X → ℝ} {s : Set X} {g : X → ℝ},
  (∀ x ∈ s, 0 ≤ f x) →
    (∀ x ∈ s, f x ≤ g x) → MeasureTheory.IntegrableOn g s μ → ∫ (x : X) in s, f x ∂μ ≤ ∫ (x : X) in s, g x ∂μ

theorem MeasureTheory.integrableOn_iUnion_of_summable_integral_norm E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} {ι : Type u_5} [Countable ι] {μ : MeasureTheory.Measure X}
  [inst : NormedAddCommGroup E] {f : X → E} {s : ι → Set X},
  (∀ (i : ι), MeasureTheory.IntegrableOn f (s i) μ) →
    (Summable fun i ↦ ∫ (x : X) in s i, ‖f x‖ ∂μ) → MeasureTheory.IntegrableOn f (Set.iUnion s) μ

theorem MeasureTheory.integrableOn_iUnion_of_summable_norm_restrict E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} {ι : Type u_5} [Countable ι] {μ : MeasureTheory.Measure X}
  [inst : NormedAddCommGroup E] [inst_1 : TopologicalSpace X] [BorelSpace X] [T2Space X]
  [MeasureTheory.IsLocallyFiniteMeasure μ] {f : C(X, E)} {s : ι → TopologicalSpace.Compacts X},
  (Summable fun i ↦ ‖ContinuousMap.restrict (↑(s i)) f‖ * μ.real ↑(s i)) →
    MeasureTheory.IntegrableOn (⇑f) (⋃ i, ↑(s i)) μ

If s is a countable family of compact sets, f is a continuous function, and the sequence ‖f.restrict (s i)‖ * μ (s i) is summable, then f is integrable on the union of the s i.

theorem MeasureTheory.integrable_of_summable_norm_restrict E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} {ι : Type u_5} [Countable ι] {μ : MeasureTheory.Measure X}
  [inst : NormedAddCommGroup E] [inst_1 : TopologicalSpace X] [BorelSpace X] [T2Space X]
  [MeasureTheory.IsLocallyFiniteMeasure μ] {f : C(X, E)} {s : ι → TopologicalSpace.Compacts X},
  (Summable fun i ↦ ‖ContinuousMap.restrict (↑(s i)) f‖ * μ.real ↑(s i)) →
    ⋃ i, ↑(s i) = Set.univ → MeasureTheory.Integrable (⇑f) μ

If s is a countable family of compact sets covering X, f is a continuous function, and the sequence ‖f.restrict (s i)‖ * μ (s i) is summable, then f is integrable.

theorem MeasureTheory.Lp_toLp_restrict_add E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] {p : ENNReal}
  {μ : MeasureTheory.Measure X} (f g : ↥(MeasureTheory.Lp E p μ)) (s : Set X),
  MeasureTheory.MemLp.toLp ↑↑(f + g) ⋯ = MeasureTheory.MemLp.toLp ↑↑f ⋯ + MeasureTheory.MemLp.toLp ↑↑g ⋯

For f : Lp E p μ, we can define an element of Lp E p (μ.restrict s) by (Lp.memLp f).restrict s).toLp f. This map is additive.

theorem MeasureTheory.Lp_toLp_restrict_smul E1 #

∀ {X : Type u_1} {F : Type u_4} {mX : MeasurableSpace X} {𝕜 : Type u_5} [inst : NormedRing 𝕜]
  [inst_1 : NormedAddCommGroup F] [inst_2 : Module 𝕜 F] [inst_3 : IsBoundedSMul 𝕜 F] {p : ENNReal}
  {μ : MeasureTheory.Measure X} (c : 𝕜) (f : ↥(MeasureTheory.Lp F p μ)) (s : Set X),
  MeasureTheory.MemLp.toLp ↑↑(c • f) ⋯ = c • MeasureTheory.MemLp.toLp ↑↑f ⋯

For f : Lp E p μ, we can define an element of Lp E p (μ.restrict s) by (Lp.memLp f).restrict s).toLp f. This map commutes with scalar multiplication.

theorem MeasureTheory.norm_Lp_toLp_restrict_le E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] {p : ENNReal}
  {μ : MeasureTheory.Measure X} (s : Set X) (f : ↥(MeasureTheory.Lp E p μ)), ‖MeasureTheory.MemLp.toLp ↑↑f ⋯‖ ≤ ‖f‖

For f : Lp E p μ, we can define an element of Lp E p (μ.restrict s) by (Lp.memLp f).restrict s).toLp f. This map is non-expansive.

def MeasureTheory.LpToLpRestrictCLM E1 #

(X : Type u_1) →
  (F : Type u_4) →
    {mX : MeasurableSpace X} →
      (𝕜 : Type u_5) →
        [inst : NormedRing 𝕜] →
          [inst_1 : NormedAddCommGroup F] →
            [inst_2 : Module 𝕜 F] →
              [inst_3 : IsBoundedSMul 𝕜 F] →
                (μ : MeasureTheory.Measure X) →
                  (p : ENNReal) →
                    [hp : Fact (1 ≤ p)] →
                      (s : Set X) → ↥(MeasureTheory.Lp F p μ) →L[𝕜] ↥(MeasureTheory.Lp F p (μ.restrict s))

Continuous linear map sending a function of Lp F p μ to the same function in Lp F p (μ.restrict s).

theorem MeasureTheory.LpToLpRestrictCLM_coeFn E1 #

∀ {X : Type u_1} {F : Type u_4} {mX : MeasurableSpace X} (𝕜 : Type u_5) [inst : NormedRing 𝕜]
  [inst_1 : NormedAddCommGroup F] [inst_2 : Module 𝕜 F] [inst_3 : IsBoundedSMul 𝕜 F] {p : ENNReal}
  {μ : MeasureTheory.Measure X} [inst_4 : Fact (1 ≤ p)] (s : Set X) (f : ↥(MeasureTheory.Lp F p μ)),
  ↑↑((MeasureTheory.LpToLpRestrictCLM X F 𝕜 μ p s) f) =ᵐ[μ.restrict s] ↑↑f

theorem MeasureTheory.continuous_setIntegral E1 #

∀ {X : Type u_1} {E : Type u_3} {mX : MeasurableSpace X} [inst : NormedAddCommGroup E] {μ : MeasureTheory.Measure X}
  [inst_1 : NormedSpace ℝ E] (s : Set X), Continuous fun f ↦ ∫ (x : X) in s, ↑↑f x ∂μ

theorem Continuous.integral_pos_of_hasCompactSupport_nonneg_ne_zero E1 #

∀ {X : Type u_1} [inst : MeasurableSpace X] [inst_1 : TopologicalSpace X] [OpensMeasurableSpace X]
  {μ : MeasureTheory.Measure X} [μ.IsOpenPosMeasure] [MeasureTheory.IsFiniteMeasureOnCompacts μ] {f : X → ℝ} {x : X},
  Continuous f → HasCompactSupport f → 0 ≤ f → f x ≠ 0 → 0 < ∫ (x : X), f x ∂μ

theorem MeasureTheory.setIntegral_support E1 #

∀ {X : Type u_1} {M : Type u_5} [inst : NormedAddCommGroup M] [inst_1 : NormedSpace ℝ M] {mX : MeasurableSpace X}
  {ν : MeasureTheory.Measure X} {F : X → M}, ∫ (x : X) in Function.support F, F x ∂ν = ∫ (x : X), F x ∂ν

theorem MeasureTheory.setIntegral_tsupport E1 #

∀ {X : Type u_1} {M : Type u_5} [inst : NormedAddCommGroup M] [inst_1 : NormedSpace ℝ M] {mX : MeasurableSpace X}
  {ν : MeasureTheory.Measure X} {F : X → M} [inst_2 : TopologicalSpace X],
  ∫ (x : X) in tsupport F, F x ∂ν = ∫ (x : X), F x ∂ν

theorem measure_le_lintegral_thickenedIndicatorAux E0 #

∀ {X : Type u_1} [inst : MeasurableSpace X] [inst_1 : PseudoEMetricSpace X] (μ : MeasureTheory.Measure X) {E : Set X},
  MeasurableSet E → ∀ (δ : ℝ), μ E ≤ ∫⁻ (x : X), thickenedIndicatorAux δ E x ∂μ

theorem measure_le_lintegral_thickenedIndicator E1 #

∀ {X : Type u_1} [inst : MeasurableSpace X] [inst_1 : PseudoEMetricSpace X] (μ : MeasureTheory.Measure X) {E : Set X},
  MeasurableSet E → ∀ {δ : ℝ} (δ_pos : 0 < δ), μ E ≤ ∫⁻ (x : X), ↑((thickenedIndicator δ_pos E) x) ∂μ

theorem MeasureTheory.Integrable.simpleFunc_mul E1 #

∀ {X : Type u_6} {f : X → ℝ} {m0 : MeasurableSpace X} {μ : MeasureTheory.Measure X} (g : MeasureTheory.SimpleFunc X ℝ),
  MeasureTheory.Integrable f μ → MeasureTheory.Integrable (⇑g * f) μ

theorem MeasureTheory.Integrable.simpleFunc_mul' E1 #

∀ {X : Type u_6} {f : X → ℝ} {m m0 : MeasurableSpace X} {μ : MeasureTheory.Measure X},
  m ≤ m0 → ∀ (g : MeasureTheory.SimpleFunc X ℝ), MeasureTheory.Integrable f μ → MeasureTheory.Integrable (⇑g * f) μ

theorem continuous_parametric_integral_of_continuous E1 #

∀ {Y : Type u_2} {E : Type u_3} {X : Type u_5} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y]
  [inst_2 : MeasurableSpace Y] [OpensMeasurableSpace Y] {μ : MeasureTheory.Measure Y} [inst_4 : NormedAddCommGroup E]
  [inst_5 : NormedSpace ℝ E] [FirstCountableTopology X] [LocallyCompactSpace X] [SecondCountableTopologyEither Y E]
  [MeasureTheory.IsLocallyFiniteMeasure μ] {f : X → Y → E},
  Continuous (Function.uncurry f) → ∀ {s : Set Y}, IsCompact s → Continuous fun x ↦ ∫ (y : Y) in s, f x y ∂μ

The parametric integral over a continuous function on a compact set is continuous, under mild assumptions on the topologies involved.

theorem continuousOn_integral_bilinear_of_locally_integrable_of_compact_support E1 #

∀ {Y : Type u_2} {E : Type u_3} {F : Type u_4} {X : Type u_5} {G : Type u_6} {𝕜 : Type u_7} [inst : TopologicalSpace X]
  [inst_1 : TopologicalSpace Y] [inst_2 : MeasurableSpace Y] [OpensMeasurableSpace Y] {μ : MeasureTheory.Measure Y}
  [inst_4 : NontriviallyNormedField 𝕜] [inst_5 : NormedAddCommGroup E] [inst_6 : NormedSpace ℝ E]
  [inst_7 : NormedAddCommGroup F] [inst_8 : NormedSpace 𝕜 F] [inst_9 : NormedAddCommGroup G] [inst_10 : NormedSpace 𝕜 G]
  [inst_11 : NormedSpace 𝕜 E] (L : F →L[𝕜] G →L[𝕜] E) {f : X → Y → G} {s : Set X} {k : Set Y} {g : Y → F},
  IsCompact k →
    ContinuousOn (Function.uncurry f) (s ×ˢ Set.univ) →
      (∀ (p : X) (x : Y), p ∈ s → x ∉ k → f p x = 0) →
        MeasureTheory.IntegrableOn g k μ → ContinuousOn (fun x ↦ ∫ (y : Y), (L (g y)) (f x y) ∂μ) s

Consider a parameterized integral x ↦ ∫ y, L (g y) (f x y) where L is bilinear, g is locally integrable and f is continuous and uniformly compactly supported. Then the integral depends continuously on x.

theorem continuousOn_integral_of_compact_support E1 #

∀ {Y : Type u_2} {E : Type u_3} {X : Type u_5} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y]
  [inst_2 : MeasurableSpace Y] [OpensMeasurableSpace Y] {μ : MeasureTheory.Measure Y} [inst_4 : NormedAddCommGroup E]
  [inst_5 : NormedSpace ℝ E] {f : X → Y → E} {s : Set X} {k : Set Y} [MeasureTheory.IsFiniteMeasureOnCompacts μ],
  IsCompact k →
    ContinuousOn (Function.uncurry f) (s ×ˢ Set.univ) →
      (∀ (p : X) (x : Y), p ∈ s → x ∉ k → f p x = 0) → ContinuousOn (fun x ↦ ∫ (y : Y), f x y ∂μ) s

Consider a parameterized integral x ↦ ∫ y, f x y where f is continuous and uniformly compactly supported. Then the integral depends continuously on x.

Deprecated aliases

NameNew nameSince
Continuous.integral_pos_of_hasCompactSupport_nonneg_nonzeroContinuous.integral_pos_of_hasCompactSupport_nonneg_ne_zero2026-10-13
MeasureTheory.integral_inter_add_diffMeasureTheory.integral_inter_add_sdiff2026-06-03
MeasureTheory.integral_inter_add_diff₀MeasureTheory.integral_inter_add_sdiff₀2026-06-03
MeasureTheory.setIntegral_diffMeasureTheory.setIntegral_sdiff2026-06-03
MeasureTheory.setIntegral_diff₀MeasureTheory.setIntegral_sdiff₀2026-06-03
MeasureTheory.setIntegral_eq_of_subset_of_ae_diff_eq_zeroMeasureTheory.setIntegral_eq_of_subset_of_ae_sdiff_eq_zero2026-06-03
MeasureTheory.setIntegral_eq_of_subset_of_ae_diff_eq_zero_auxMeasureTheory.setIntegral_eq_of_subset_of_ae_sdiff_eq_zero_aux2026-06-03
MeasureTheory.setIntegral_eq_of_subset_of_forall_diff_eq_zeroMeasureTheory.setIntegral_eq_of_subset_of_forall_sdiff_eq_zero2026-06-03