# 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. integral_union, integral_empty, integral_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.

Finally, we prove a version of the Fundamental theorem of calculus for set integral, see Filter.Tendsto.integral_sub_linear_isLittleO_ae and its corollaries. Namely, consider a measurably generated filter l, a measure μ finite at this filter, and a function f that has a finite limit c at l ⊓ ae μ. Then ∫ x in s, f x ∂μ = μ s • c + o(μ s) as s tends to l.smallSets, i.e. for any ε>0 there exists t ∈ l such that ‖∫ x in s, f x ∂μ - μ s • c‖ ≤ ε * μ s whenever s ⊆ t. We also formulate a version of this theorem for a locally finite measure μ and a function f continuous at a point a.

## 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.lean, but we reference them here because all theorems about set integrals are in this file.

theorem MeasureTheory.setIntegral_congr_ae₀ {X : Type u_1} {E : Type u_3} [] [] {f : XE} {g : XE} {s : Set X} {μ : } (hs : ) (h : ∀ᵐ (x : X) ∂μ, x sf x = g x) :
∫ (x : X) in s, f xμ = ∫ (x : X) in s, g xμ
@[deprecated MeasureTheory.setIntegral_congr_ae₀]
theorem MeasureTheory.set_integral_congr_ae₀ {X : Type u_1} {E : Type u_3} [] [] {f : XE} {g : XE} {s : Set X} {μ : } (hs : ) (h : ∀ᵐ (x : X) ∂μ, x sf x = g x) :
∫ (x : X) in s, f xμ = ∫ (x : X) in s, g xμ

Alias of MeasureTheory.setIntegral_congr_ae₀.

theorem MeasureTheory.setIntegral_congr_ae {X : Type u_1} {E : Type u_3} [] [] {f : XE} {g : XE} {s : Set X} {μ : } (hs : ) (h : ∀ᵐ (x : X) ∂μ, x sf x = g x) :
∫ (x : X) in s, f xμ = ∫ (x : X) in s, g xμ
@[deprecated MeasureTheory.setIntegral_congr_ae]
theorem MeasureTheory.set_integral_congr_ae {X : Type u_1} {E : Type u_3} [] [] {f : XE} {g : XE} {s : Set X} {μ : } (hs : ) (h : ∀ᵐ (x : X) ∂μ, x sf x = g x) :
∫ (x : X) in s, f xμ = ∫ (x : X) in s, g xμ

Alias of MeasureTheory.setIntegral_congr_ae.

theorem MeasureTheory.setIntegral_congr₀ {X : Type u_1} {E : Type u_3} [] [] {f : XE} {g : XE} {s : Set X} {μ : } (hs : ) (h : Set.EqOn f g s) :
∫ (x : X) in s, f xμ = ∫ (x : X) in s, g xμ
@[deprecated MeasureTheory.setIntegral_congr₀]
theorem MeasureTheory.set_integral_congr₀ {X : Type u_1} {E : Type u_3} [] [] {f : XE} {g : XE} {s : Set X} {μ : } (hs : ) (h : Set.EqOn f g s) :
∫ (x : X) in s, f xμ = ∫ (x : X) in s, g xμ

Alias of MeasureTheory.setIntegral_congr₀.

theorem MeasureTheory.setIntegral_congr {X : Type u_1} {E : Type u_3} [] [] {f : XE} {g : XE} {s : Set X} {μ : } (hs : ) (h : Set.EqOn f g s) :
∫ (x : X) in s, f xμ = ∫ (x : X) in s, g xμ
@[deprecated MeasureTheory.setIntegral_congr]
theorem MeasureTheory.set_integral_congr {X : Type u_1} {E : Type u_3} [] [] {f : XE} {g : XE} {s : Set X} {μ : } (hs : ) (h : Set.EqOn f g s) :
∫ (x : X) in s, f xμ = ∫ (x : X) in s, g xμ

Alias of MeasureTheory.setIntegral_congr.

theorem MeasureTheory.setIntegral_congr_set_ae {X : Type u_1} {E : Type u_3} [] [] {f : XE} {s : Set X} {t : Set X} {μ : } (hst : s =ᵐ[μ] t) :
∫ (x : X) in s, f xμ = ∫ (x : X) in t, f xμ
@[deprecated MeasureTheory.setIntegral_congr_set_ae]
theorem MeasureTheory.set_integral_congr_set_ae {X : Type u_1} {E : Type u_3} [] [] {f : XE} {s : Set X} {t : Set X} {μ : } (hst : s =ᵐ[μ] t) :
∫ (x : X) in s, f xμ = ∫ (x : X) in t, f xμ

Alias of MeasureTheory.setIntegral_congr_set_ae.

theorem MeasureTheory.integral_union_ae {X : Type u_1} {E : Type u_3} [] [] {f : XE} {s : Set X} {t : Set X} {μ : } (hst : ) (ht : ) (hfs : ) (hft : ) :
∫ (x : X) in s t, f xμ = ∫ (x : X) in s, f xμ + ∫ (x : X) in t, f xμ
theorem MeasureTheory.integral_union {X : Type u_1} {E : Type u_3} [] [] {f : XE} {s : Set X} {t : Set X} {μ : } (hst : Disjoint s t) (ht : ) (hfs : ) (hft : ) :
∫ (x : X) in s t, f xμ = ∫ (x : X) in s, f xμ + ∫ (x : X) in t, f xμ
theorem MeasureTheory.integral_diff {X : Type u_1} {E : Type u_3} [] [] {f : XE} {s : Set X} {t : Set X} {μ : } (ht : ) (hfs : ) (hts : 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_diff₀ {X : Type u_1} {E : Type u_3} [] [] {f : XE} {s : Set X} {t : Set X} {μ : } (ht : ) (hfs : ) :
∫ (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_diff {X : Type u_1} {E : Type u_3} [] [] {f : XE} {s : Set X} {t : Set X} {μ : } (ht : ) (hfs : ) :
∫ (x : X) in s t, f xμ + ∫ (x : X) in s \ t, f xμ = ∫ (x : X) in s, f xμ
theorem MeasureTheory.integral_finset_biUnion {X : Type u_1} {E : Type u_3} [] [] {f : XE} {μ : } {ι : Type u_5} (t : ) {s : ιSet X} (hs : it, MeasurableSet (s i)) (h's : (t).Pairwise (Disjoint on s)) (hf : it, MeasureTheory.IntegrableOn f (s i) μ) :
∫ (x : X) in it, s i, f xμ = it, ∫ (x : X) in s i, f xμ
theorem MeasureTheory.integral_fintype_iUnion {X : Type u_1} {E : Type u_3} [] [] {f : XE} {μ : } {ι : Type u_5} [] {s : ιSet X} (hs : ∀ (i : ι), MeasurableSet (s i)) (h's : Pairwise (Disjoint on s)) (hf : ∀ (i : ι), MeasureTheory.IntegrableOn f (s i) μ) :
∫ (x : X) in ⋃ (i : ι), s i, f xμ = i : ι, ∫ (x : X) in s i, f xμ
theorem MeasureTheory.integral_empty {X : Type u_1} {E : Type u_3} [] [] {f : XE} {μ : } :
∫ (x : X) in , f xμ = 0
theorem MeasureTheory.integral_univ {X : Type u_1} {E : Type u_3} [] [] {f : XE} {μ : } :
∫ (x : X) in Set.univ, f xμ = ∫ (x : X), f xμ
theorem MeasureTheory.integral_add_compl₀ {X : Type u_1} {E : Type u_3} [] [] {f : XE} {s : Set X} {μ : } (hs : ) (hfi : ) :
∫ (x : X) in s, f xμ + ∫ (x : X) in s, f xμ = ∫ (x : X), f xμ
theorem MeasureTheory.integral_add_compl {X : Type u_1} {E : Type u_3} [] [] {f : XE} {s : Set X} {μ : } (hs : ) (hfi : ) :
∫ (x : X) in s, f xμ + ∫ (x : X) in s, f xμ = ∫ (x : X), f xμ
theorem MeasureTheory.integral_indicator {X : Type u_1} {E : Type u_3} [] [] {f : XE} {s : Set X} {μ : } (hs : ) :
∫ (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.setIntegral_indicator {X : Type u_1} {E : Type u_3} [] [] {f : XE} {s : Set X} {t : Set X} {μ : } (ht : ) :
∫ (x : X) in s, t.indicator f xμ = ∫ (x : X) in s t, f xμ
@[deprecated MeasureTheory.setIntegral_indicator]
theorem MeasureTheory.set_integral_indicator {X : Type u_1} {E : Type u_3} [] [] {f : XE} {s : Set X} {t : Set X} {μ : } (ht : ) :
∫ (x : X) in s, t.indicator f xμ = ∫ (x : X) in s t, f xμ

Alias of MeasureTheory.setIntegral_indicator.

theorem MeasureTheory.ofReal_setIntegral_one_of_measure_ne_top {X : Type u_5} {m : } {μ : } {s : Set X} (hs : μ s ) :
ENNReal.ofReal (∫ (x : X) in s, 1μ) = μ s
@[deprecated MeasureTheory.ofReal_setIntegral_one_of_measure_ne_top]
theorem MeasureTheory.ofReal_set_integral_one_of_measure_ne_top {X : Type u_5} {m : } {μ : } {s : Set X} (hs : μ s ) :
ENNReal.ofReal (∫ (x : X) in s, 1μ) = μ s

Alias of MeasureTheory.ofReal_setIntegral_one_of_measure_ne_top.

theorem MeasureTheory.ofReal_setIntegral_one {X : Type u_5} :
∀ {x : } (μ : ) [inst : ] (s : Set X), ENNReal.ofReal (∫ (x : X) in s, 1μ) = μ s
@[deprecated MeasureTheory.ofReal_setIntegral_one]
theorem MeasureTheory.ofReal_set_integral_one {X : Type u_5} :
∀ {x : } (μ : ) [inst : ] (s : Set X), ENNReal.ofReal (∫ (x : X) in s, 1μ) = μ s

Alias of MeasureTheory.ofReal_setIntegral_one.

theorem MeasureTheory.integral_piecewise {X : Type u_1} {E : Type u_3} [] [] {f : XE} {g : XE} {s : Set X} {μ : } [DecidablePred fun (x : X) => x s] (hs : ) (hf : ) (hg : ) :
∫ (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 {X : Type u_1} {E : Type u_3} [] [] {f : XE} {μ : } {ι : Type u_5} [] [] {s : ιSet X} (hsm : ∀ (i : ι), MeasurableSet (s i)) (h_mono : ) (hfi : 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μ))
@[deprecated MeasureTheory.tendsto_setIntegral_of_monotone]
theorem MeasureTheory.tendsto_set_integral_of_monotone {X : Type u_1} {E : Type u_3} [] [] {f : XE} {μ : } {ι : Type u_5} [] [] {s : ιSet X} (hsm : ∀ (i : ι), MeasurableSet (s i)) (h_mono : ) (hfi : 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μ))

Alias of MeasureTheory.tendsto_setIntegral_of_monotone.

theorem MeasureTheory.tendsto_setIntegral_of_antitone {X : Type u_1} {E : Type u_3} [] [] {f : XE} {μ : } {ι : Type u_5} [] [] {s : ιSet X} (hsm : ∀ (i : ι), MeasurableSet (s i)) (h_anti : ) (hfi : ∃ (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μ))
@[deprecated MeasureTheory.tendsto_setIntegral_of_antitone]
theorem MeasureTheory.tendsto_set_integral_of_antitone {X : Type u_1} {E : Type u_3} [] [] {f : XE} {μ : } {ι : Type u_5} [] [] {s : ιSet X} (hsm : ∀ (i : ι), MeasurableSet (s i)) (h_anti : ) (hfi : ∃ (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μ))

Alias of MeasureTheory.tendsto_setIntegral_of_antitone.

theorem MeasureTheory.hasSum_integral_iUnion_ae {X : Type u_1} {E : Type u_3} [] [] {f : XE} {μ : } {ι : Type u_5} [] {s : ιSet X} (hm : ∀ (i : ι), ) (hd : ) (hfi : 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 {X : Type u_1} {E : Type u_3} [] [] {f : XE} {μ : } {ι : Type u_5} [] {s : ιSet X} (hm : ∀ (i : ι), MeasurableSet (s i)) (hd : Pairwise (Disjoint on s)) (hfi : 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 {X : Type u_1} {E : Type u_3} [] [] {f : XE} {μ : } {ι : Type u_5} [] {s : ιSet X} (hm : ∀ (i : ι), MeasurableSet (s i)) (hd : Pairwise (Disjoint on s)) (hfi : 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 {X : Type u_1} {E : Type u_3} [] [] {f : XE} {μ : } {ι : Type u_5} [] {s : ιSet X} (hm : ∀ (i : ι), ) (hd : ) (hfi : 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 {X : Type u_1} {E : Type u_3} [] [] {f : XE} {t : Set X} {μ : } (ht_eq : ∀ᵐ (x : X) ∂μ, x tf x = 0) :
∫ (x : X) in t, f xμ = 0
@[deprecated MeasureTheory.setIntegral_eq_zero_of_ae_eq_zero]
theorem MeasureTheory.set_integral_eq_zero_of_ae_eq_zero {X : Type u_1} {E : Type u_3} [] [] {f : XE} {t : Set X} {μ : } (ht_eq : ∀ᵐ (x : X) ∂μ, x tf x = 0) :
∫ (x : X) in t, f xμ = 0

Alias of MeasureTheory.setIntegral_eq_zero_of_ae_eq_zero.

theorem MeasureTheory.setIntegral_eq_zero_of_forall_eq_zero {X : Type u_1} {E : Type u_3} [] [] {f : XE} {t : Set X} {μ : } (ht_eq : xt, f x = 0) :
∫ (x : X) in t, f xμ = 0
@[deprecated MeasureTheory.setIntegral_eq_zero_of_forall_eq_zero]
theorem MeasureTheory.set_integral_eq_zero_of_forall_eq_zero {X : Type u_1} {E : Type u_3} [] [] {f : XE} {t : Set X} {μ : } (ht_eq : xt, f x = 0) :
∫ (x : X) in t, f xμ = 0

Alias of MeasureTheory.setIntegral_eq_zero_of_forall_eq_zero.

theorem MeasureTheory.integral_union_eq_left_of_ae_aux {X : Type u_1} {E : Type u_3} [] [] {f : XE} {s : Set X} {t : Set X} {μ : } (ht_eq : ∀ᵐ (x : X) ∂μ.restrict t, f x = 0) (haux : ) (H : 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 {X : Type u_1} {E : Type u_3} [] [] {f : XE} {s : Set X} {t : Set X} {μ : } (ht_eq : ∀ᵐ (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₀ {X : Type u_1} {E : Type u_3} [] [] {s : Set X} {t : Set X} {μ : } {f : XE} (ht : ) (ht_eq : xt, f x = 0) :
∫ (x : X) in s t, f xμ = ∫ (x : X) in s, f xμ
theorem MeasureTheory.integral_union_eq_left_of_forall {X : Type u_1} {E : Type u_3} [] [] {s : Set X} {t : Set X} {μ : } {f : XE} (ht : ) (ht_eq : xt, f x = 0) :
∫ (x : X) in s t, f xμ = ∫ (x : X) in s, f xμ
theorem MeasureTheory.setIntegral_eq_of_subset_of_ae_diff_eq_zero_aux {X : Type u_1} {E : Type u_3} [] [] {f : XE} {s : Set X} {t : Set X} {μ : } (hts : s t) (h't : ∀ᵐ (x : X) ∂μ, x t \ sf x = 0) (haux : ) (h'aux : ) :
∫ (x : X) in t, f xμ = ∫ (x : X) in s, f xμ
@[deprecated MeasureTheory.setIntegral_eq_of_subset_of_ae_diff_eq_zero_aux]
theorem MeasureTheory.set_integral_eq_of_subset_of_ae_diff_eq_zero_aux {X : Type u_1} {E : Type u_3} [] [] {f : XE} {s : Set X} {t : Set X} {μ : } (hts : s t) (h't : ∀ᵐ (x : X) ∂μ, x t \ sf x = 0) (haux : ) (h'aux : ) :
∫ (x : X) in t, f xμ = ∫ (x : X) in s, f xμ

Alias of MeasureTheory.setIntegral_eq_of_subset_of_ae_diff_eq_zero_aux.

theorem MeasureTheory.setIntegral_eq_of_subset_of_ae_diff_eq_zero {X : Type u_1} {E : Type u_3} [] [] {f : XE} {s : Set X} {t : Set X} {μ : } (ht : ) (hts : s t) (h't : ∀ᵐ (x : X) ∂μ, x t \ sf 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.

@[deprecated MeasureTheory.setIntegral_eq_of_subset_of_ae_diff_eq_zero]
theorem MeasureTheory.set_integral_eq_of_subset_of_ae_diff_eq_zero {X : Type u_1} {E : Type u_3} [] [] {f : XE} {s : Set X} {t : Set X} {μ : } (ht : ) (hts : s t) (h't : ∀ᵐ (x : X) ∂μ, x t \ sf x = 0) :
∫ (x : X) in t, f xμ = ∫ (x : X) in s, f xμ

Alias of MeasureTheory.setIntegral_eq_of_subset_of_ae_diff_eq_zero.

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_diff_eq_zero {X : Type u_1} {E : Type u_3} [] [] {f : XE} {s : Set X} {t : Set X} {μ : } (ht : ) (hts : s t) (h't : xt \ 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.

@[deprecated MeasureTheory.setIntegral_eq_of_subset_of_forall_diff_eq_zero]
theorem MeasureTheory.set_integral_eq_of_subset_of_forall_diff_eq_zero {X : Type u_1} {E : Type u_3} [] [] {f : XE} {s : Set X} {t : Set X} {μ : } (ht : ) (hts : s t) (h't : xt \ s, f x = 0) :
∫ (x : X) in t, f xμ = ∫ (x : X) in s, f xμ

Alias of MeasureTheory.setIntegral_eq_of_subset_of_forall_diff_eq_zero.

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 {X : Type u_1} {E : Type u_3} [] [] {f : XE} {s : Set X} {μ : } (h : ∀ᵐ (x : X) ∂μ, xsf 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.

@[deprecated MeasureTheory.setIntegral_eq_integral_of_ae_compl_eq_zero]
theorem MeasureTheory.set_integral_eq_integral_of_ae_compl_eq_zero {X : Type u_1} {E : Type u_3} [] [] {f : XE} {s : Set X} {μ : } (h : ∀ᵐ (x : X) ∂μ, xsf x = 0) :
∫ (x : X) in s, f xμ = ∫ (x : X), f xμ

Alias of MeasureTheory.setIntegral_eq_integral_of_ae_compl_eq_zero.

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 {X : Type u_1} {E : Type u_3} [] [] {f : XE} {s : Set X} {μ : } (h : xs, 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.

@[deprecated MeasureTheory.setIntegral_eq_integral_of_forall_compl_eq_zero]
theorem MeasureTheory.set_integral_eq_integral_of_forall_compl_eq_zero {X : Type u_1} {E : Type u_3} [] [] {f : XE} {s : Set X} {μ : } (h : xs, f x = 0) :
∫ (x : X) in s, f xμ = ∫ (x : X), f xμ

Alias of MeasureTheory.setIntegral_eq_integral_of_forall_compl_eq_zero.

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 {X : Type u_1} {E : Type u_3} [] [] {μ : } [] {f : XE} (hf : ) :
∫ (x : X) in {x : X | f x < 0}, f xμ = ∫ (x : X) in {x : X | f x 0}, f xμ
@[deprecated MeasureTheory.setIntegral_neg_eq_setIntegral_nonpos]
theorem MeasureTheory.set_integral_neg_eq_set_integral_nonpos {X : Type u_1} {E : Type u_3} [] [] {μ : } [] {f : XE} (hf : ) :
∫ (x : X) in {x : X | f x < 0}, f xμ = ∫ (x : X) in {x : X | f x 0}, f xμ

Alias of MeasureTheory.setIntegral_neg_eq_setIntegral_nonpos.

theorem MeasureTheory.integral_norm_eq_pos_sub_neg {X : Type u_1} [] {μ : } {f : X} (hfi : ) :
∫ (x : X), f xμ = ∫ (x : X) in {x : X | 0 f x}, f xμ - ∫ (x : X) in {x : X | f x 0}, f xμ
theorem MeasureTheory.setIntegral_const {X : Type u_1} {E : Type u_3} [] [] {s : Set X} {μ : } [] (c : E) :
∫ (x : X) in s, cμ = (μ s).toReal c
@[deprecated MeasureTheory.setIntegral_const]
theorem MeasureTheory.set_integral_const {X : Type u_1} {E : Type u_3} [] [] {s : Set X} {μ : } [] (c : E) :
∫ (x : X) in s, cμ = (μ s).toReal c

Alias of MeasureTheory.setIntegral_const.

@[simp]
theorem MeasureTheory.integral_indicator_const {X : Type u_1} {E : Type u_3} [] [] {μ : } [] (e : E) ⦃s : Set X (s_meas : ) :
∫ (x : X), s.indicator (fun (x : X) => e) xμ = (μ s).toReal e
@[simp]
theorem MeasureTheory.integral_indicator_one {X : Type u_1} [] {μ : } ⦃s : Set X (hs : ) :
∫ (x : X), s.indicator 1 xμ = (μ s).toReal
theorem MeasureTheory.setIntegral_indicatorConstLp {X : Type u_1} {E : Type u_3} [] [] {s : Set X} {t : Set X} {μ : } [] {p : ENNReal} (hs : ) (ht : ) (hμt : μ t ) (e : E) :
∫ (x : X) in s, () xμ = (μ (t s)).toReal e
@[deprecated MeasureTheory.setIntegral_indicatorConstLp]
theorem MeasureTheory.set_integral_indicatorConstLp {X : Type u_1} {E : Type u_3} [] [] {s : Set X} {t : Set X} {μ : } [] {p : ENNReal} (hs : ) (ht : ) (hμt : μ t ) (e : E) :
∫ (x : X) in s, () xμ = (μ (t s)).toReal e

Alias of MeasureTheory.setIntegral_indicatorConstLp.

theorem MeasureTheory.integral_indicatorConstLp {X : Type u_1} {E : Type u_3} [] [] {t : Set X} {μ : } [] {p : ENNReal} (ht : ) (hμt : μ t ) (e : E) :
∫ (x : X), () xμ = (μ t).toReal e
theorem MeasureTheory.setIntegral_map {X : Type u_1} {E : Type u_3} [] [] {μ : } {Y : Type u_5} [] {g : XY} {f : YE} {s : Set Y} (hs : ) (hf : ) (hg : ) :
∫ (y : Y) in s, f y = ∫ (x : X) in g ⁻¹' s, f (g x)μ
@[deprecated MeasureTheory.setIntegral_map]
theorem MeasureTheory.set_integral_map {X : Type u_1} {E : Type u_3} [] [] {μ : } {Y : Type u_5} [] {g : XY} {f : YE} {s : Set Y} (hs : ) (hf : ) (hg : ) :
∫ (y : Y) in s, f y = ∫ (x : X) in g ⁻¹' s, f (g x)μ

Alias of MeasureTheory.setIntegral_map.

theorem MeasurableEmbedding.setIntegral_map {X : Type u_1} {E : Type u_3} [] [] {μ : } {Y : Type u_5} :
∀ {x : } {f : XY}, ∀ (g : YE) (s : Set Y), ∫ (y : Y) in s, g y = ∫ (x : X) in f ⁻¹' s, g (f x)μ
@[deprecated MeasurableEmbedding.setIntegral_map]
theorem MeasurableEmbedding.set_integral_map {X : Type u_1} {E : Type u_3} [] [] {μ : } {Y : Type u_5} :
∀ {x : } {f : XY}, ∀ (g : YE) (s : Set Y), ∫ (y : Y) in s, g y = ∫ (x : X) in f ⁻¹' s, g (f x)μ

Alias of MeasurableEmbedding.setIntegral_map.

theorem ClosedEmbedding.setIntegral_map {X : Type u_1} {E : Type u_3} [] [] {μ : } [] [] {Y : Type u_5} [] [] [] {g : XY} {f : YE} (s : Set Y) (hg : ) :
∫ (y : Y) in s, f y = ∫ (x : X) in g ⁻¹' s, f (g x)μ
@[deprecated ClosedEmbedding.setIntegral_map]
theorem ClosedEmbedding.set_integral_map {X : Type u_1} {E : Type u_3} [] [] {μ : } [] [] {Y : Type u_5} [] [] [] {g : XY} {f : YE} (s : Set Y) (hg : ) :
∫ (y : Y) in s, f y = ∫ (x : X) in g ⁻¹' s, f (g x)μ

Alias of ClosedEmbedding.setIntegral_map.

theorem MeasureTheory.MeasurePreserving.setIntegral_preimage_emb {X : Type u_1} {E : Type u_3} [] [] {μ : } {Y : Type u_5} :
∀ {x : } {f : XY} {ν : }, ∀ (g : YE) (s : Set Y), ∫ (x : X) in f ⁻¹' s, g (f x)μ = ∫ (y : Y) in s, g yν
@[deprecated MeasureTheory.MeasurePreserving.setIntegral_preimage_emb]
theorem MeasureTheory.MeasurePreserving.set_integral_preimage_emb {X : Type u_1} {E : Type u_3} [] [] {μ : } {Y : Type u_5} :
∀ {x : } {f : XY} {ν : }, ∀ (g : YE) (s : Set Y), ∫ (x : X) in f ⁻¹' s, g (f x)μ = ∫ (y : Y) in s, g yν

Alias of MeasureTheory.MeasurePreserving.setIntegral_preimage_emb.

theorem MeasureTheory.MeasurePreserving.setIntegral_image_emb {X : Type u_1} {E : Type u_3} [] [] {μ : } {Y : Type u_5} :
∀ {x : } {f : XY} {ν : }, ∀ (g : YE) (s : Set X), ∫ (y : Y) in f '' s, g yν = ∫ (x : X) in s, g (f x)μ
@[deprecated MeasureTheory.MeasurePreserving.setIntegral_image_emb]
theorem MeasureTheory.MeasurePreserving.set_integral_image_emb {X : Type u_1} {E : Type u_3} [] [] {μ : } {Y : Type u_5} :
∀ {x : } {f : XY} {ν : }, ∀ (g : YE) (s : Set X), ∫ (y : Y) in f '' s, g yν = ∫ (x : X) in s, g (f x)μ

Alias of MeasureTheory.MeasurePreserving.setIntegral_image_emb.

theorem MeasureTheory.setIntegral_map_equiv {X : Type u_1} {E : Type u_3} [] [] {μ : } {Y : Type u_5} [] (e : X ≃ᵐ Y) (f : YE) (s : Set Y) :
∫ (y : Y) in s, f y = ∫ (x : X) in e ⁻¹' s, f (e x)μ
@[deprecated MeasureTheory.setIntegral_map_equiv]
theorem MeasureTheory.set_integral_map_equiv {X : Type u_1} {E : Type u_3} [] [] {μ : } {Y : Type u_5} [] (e : X ≃ᵐ Y) (f : YE) (s : Set Y) :
∫ (y : Y) in s, f y = ∫ (x : X) in e ⁻¹' s, f (e x)μ

Alias of MeasureTheory.setIntegral_map_equiv.

theorem MeasureTheory.norm_setIntegral_le_of_norm_le_const_ae {X : Type u_1} {E : Type u_3} [] [] {f : XE} {s : Set X} {μ : } {C : } (hs : μ s < ) (hC : ∀ᵐ (x : X) ∂μ.restrict s, f x C) :
∫ (x : X) in s, f xμ C * (μ s).toReal
@[deprecated MeasureTheory.norm_setIntegral_le_of_norm_le_const_ae]
theorem MeasureTheory.norm_set_integral_le_of_norm_le_const_ae {X : Type u_1} {E : Type u_3} [] [] {f : XE} {s : Set X} {μ : } {C : } (hs : μ s < ) (hC : ∀ᵐ (x : X) ∂μ.restrict s, f x C) :
∫ (x : X) in s, f xμ C * (μ s).toReal

Alias of MeasureTheory.norm_setIntegral_le_of_norm_le_const_ae.

theorem MeasureTheory.norm_setIntegral_le_of_norm_le_const_ae' {X : Type u_1} {E : Type u_3} [] [] {f : XE} {s : Set X} {μ : } {C : } (hs : μ s < ) (hC : ∀ᵐ (x : X) ∂μ, x sf x C) (hfm : MeasureTheory.AEStronglyMeasurable f (μ.restrict s)) :
∫ (x : X) in s, f xμ C * (μ s).toReal
@[deprecated MeasureTheory.norm_setIntegral_le_of_norm_le_const_ae']
theorem MeasureTheory.norm_set_integral_le_of_norm_le_const_ae' {X : Type u_1} {E : Type u_3} [] [] {f : XE} {s : Set X} {μ : } {C : } (hs : μ s < ) (hC : ∀ᵐ (x : X) ∂μ, x sf x C) (hfm : MeasureTheory.AEStronglyMeasurable f (μ.restrict s)) :
∫ (x : X) in s, f xμ C * (μ s).toReal

Alias of MeasureTheory.norm_setIntegral_le_of_norm_le_const_ae'.

theorem MeasureTheory.norm_setIntegral_le_of_norm_le_const_ae'' {X : Type u_1} {E : Type u_3} [] [] {f : XE} {s : Set X} {μ : } {C : } (hs : μ s < ) (hsm : ) (hC : ∀ᵐ (x : X) ∂μ, x sf x C) :
∫ (x : X) in s, f xμ C * (μ s).toReal
@[deprecated MeasureTheory.norm_setIntegral_le_of_norm_le_const_ae'']
theorem MeasureTheory.norm_set_integral_le_of_norm_le_const_ae'' {X : Type u_1} {E : Type u_3} [] [] {f : XE} {s : Set X} {μ : } {C : } (hs : μ s < ) (hsm : ) (hC : ∀ᵐ (x : X) ∂μ, x sf x C) :
∫ (x : X) in s, f xμ C * (μ s).toReal

Alias of MeasureTheory.norm_setIntegral_le_of_norm_le_const_ae''.

theorem MeasureTheory.norm_setIntegral_le_of_norm_le_const {X : Type u_1} {E : Type u_3} [] [] {f : XE} {s : Set X} {μ : } {C : } (hs : μ s < ) (hC : xs, f x C) (hfm : MeasureTheory.AEStronglyMeasurable f (μ.restrict s)) :
∫ (x : X) in s, f xμ C * (μ s).toReal
@[deprecated MeasureTheory.norm_setIntegral_le_of_norm_le_const]
theorem MeasureTheory.norm_set_integral_le_of_norm_le_const {X : Type u_1} {E : Type u_3} [] [] {f : XE} {s : Set X} {μ : } {C : } (hs : μ s < ) (hC : xs, f x C) (hfm : MeasureTheory.AEStronglyMeasurable f (μ.restrict s)) :
∫ (x : X) in s, f xμ C * (μ s).toReal

Alias of MeasureTheory.norm_setIntegral_le_of_norm_le_const.

theorem MeasureTheory.norm_setIntegral_le_of_norm_le_const' {X : Type u_1} {E : Type u_3} [] [] {f : XE} {s : Set X} {μ : } {C : } (hs : μ s < ) (hsm : ) (hC : xs, f x C) :
∫ (x : X) in s, f xμ C * (μ s).toReal
@[deprecated MeasureTheory.norm_setIntegral_le_of_norm_le_const']
theorem MeasureTheory.norm_set_integral_le_of_norm_le_const' {X : Type u_1} {E : Type u_3} [] [] {f : XE} {s : Set X} {μ : } {C : } (hs : μ s < ) (hsm : ) (hC : xs, f x C) :
∫ (x : X) in s, f xμ C * (μ s).toReal

Alias of MeasureTheory.norm_setIntegral_le_of_norm_le_const'.

theorem MeasureTheory.setIntegral_eq_zero_iff_of_nonneg_ae {X : Type u_1} [] {s : Set X} {μ : } {f : X} (hf : 0 ≤ᵐ[μ.restrict s] f) (hfi : ) :
∫ (x : X) in s, f xμ = 0 f =ᵐ[μ.restrict s] 0
@[deprecated MeasureTheory.setIntegral_eq_zero_iff_of_nonneg_ae]
theorem MeasureTheory.set_integral_eq_zero_iff_of_nonneg_ae {X : Type u_1} [] {s : Set X} {μ : } {f : X} (hf : 0 ≤ᵐ[μ.restrict s] f) (hfi : ) :
∫ (x : X) in s, f xμ = 0 f =ᵐ[μ.restrict s] 0

Alias of MeasureTheory.setIntegral_eq_zero_iff_of_nonneg_ae.

theorem MeasureTheory.setIntegral_pos_iff_support_of_nonneg_ae {X : Type u_1} [] {s : Set X} {μ : } {f : X} (hf : 0 ≤ᵐ[μ.restrict s] f) (hfi : ) :
0 < ∫ (x : X) in s, f xμ 0 < μ ()
@[deprecated MeasureTheory.setIntegral_pos_iff_support_of_nonneg_ae]
theorem MeasureTheory.set_integral_pos_iff_support_of_nonneg_ae {X : Type u_1} [] {s : Set X} {μ : } {f : X} (hf : 0 ≤ᵐ[μ.restrict s] f) (hfi : ) :
0 < ∫ (x : X) in s, f xμ 0 < μ ()

Alias of MeasureTheory.setIntegral_pos_iff_support_of_nonneg_ae.

theorem MeasureTheory.setIntegral_gt_gt {X : Type u_1} [] {μ : } {R : } {f : X} (hR : 0 R) (hfm : ) (hfint : MeasureTheory.IntegrableOn f {x : X | R < f x} μ) (hμ : μ {x : X | R < f x} 0) :
(μ {x : X | R < f x}).toReal * R < ∫ (x : X) in {x : X | R < f x}, f xμ
@[deprecated MeasureTheory.setIntegral_gt_gt]
theorem MeasureTheory.set_integral_gt_gt {X : Type u_1} [] {μ : } {R : } {f : X} (hR : 0 R) (hfm : ) (hfint : MeasureTheory.IntegrableOn f {x : X | R < f x} μ) (hμ : μ {x : X | R < f x} 0) :
(μ {x : X | R < f x}).toReal * R < ∫ (x : X) in {x : X | R < f x}, f xμ

Alias of MeasureTheory.setIntegral_gt_gt.

theorem MeasureTheory.setIntegral_trim {E : Type u_3} [] {X : Type u_5} {m : } {m0 : } {μ : } (hm : m m0) {f : XE} (hf_meas : ) {s : Set X} (hs : ) :
∫ (x : X) in s, f xμ = ∫ (x : X) in s, f xμ.trim hm
@[deprecated MeasureTheory.setIntegral_trim]
theorem MeasureTheory.set_integral_trim {E : Type u_3} [] {X : Type u_5} {m : } {m0 : } {μ : } (hm : m m0) {f : XE} (hf_meas : ) {s : Set X} (hs : ) :
∫ (x : X) in s, f xμ = ∫ (x : X) in s, f xμ.trim hm

Alias of MeasureTheory.setIntegral_trim.

### Lemmas about adding and removing interval boundaries #

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

theorem MeasureTheory.integral_Icc_eq_integral_Ioc' {X : Type u_1} {E : Type u_3} [] [] {f : XE} {μ : } [] {x : X} {y : X} (hx : μ {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' {X : Type u_1} {E : Type u_3} [] [] {f : XE} {μ : } [] {x : X} {y : X} (hy : μ {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' {X : Type u_1} {E : Type u_3} [] [] {f : XE} {μ : } [] {x : X} {y : X} (hy : μ {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' {X : Type u_1} {E : Type u_3} [] [] {f : XE} {μ : } [] {x : X} {y : X} (hx : μ {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' {X : Type u_1} {E : Type u_3} [] [] {f : XE} {μ : } [] {x : X} {y : X} (hx : μ {x} = 0) (hy : μ {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' {X : Type u_1} {E : Type u_3} [] [] {f : XE} {μ : } [] {x : X} (hx : μ {x} = 0) :
∫ (t : X) in , f tμ = ∫ (t : X) in , f tμ
theorem MeasureTheory.integral_Ici_eq_integral_Ioi' {X : Type u_1} {E : Type u_3} [] [] {f : XE} {μ : } [] {x : X} (hx : μ {x} = 0) :
∫ (t : X) in , f tμ = ∫ (t : X) in , f tμ
theorem MeasureTheory.integral_Icc_eq_integral_Ioc {X : Type u_1} {E : Type u_3} [] [] {f : XE} {μ : } [] {x : X} {y : X} :
∫ (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 {X : Type u_1} {E : Type u_3} [] [] {f : XE} {μ : } [] {x : X} {y : X} :
∫ (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 {X : Type u_1} {E : Type u_3} [] [] {f : XE} {μ : } [] {x : X} {y : X} :
∫ (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 {X : Type u_1} {E : Type u_3} [] [] {f : XE} {μ : } [] {x : X} {y : X} :
∫ (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 {X : Type u_1} {E : Type u_3} [] [] {f : XE} {μ : } [] {x : X} {y : X} :
∫ (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 {X : Type u_1} {E : Type u_3} [] [] {f : XE} {μ : } [] {x : X} :
∫ (t : X) in , f tμ = ∫ (t : X) in , f tμ
theorem MeasureTheory.integral_Ici_eq_integral_Ioi {X : Type u_1} {E : Type u_3} [] [] {f : XE} {μ : } [] {x : X} :
∫ (t : X) in , f tμ = ∫ (t : X) in , f tμ
theorem MeasureTheory.setIntegral_mono_ae_restrict {X : Type u_1} [] {μ : } {f : X} {g : X} {s : Set X} (hf : ) (hg : ) (h : f ≤ᵐ[μ.restrict s] g) :
∫ (x : X) in s, f xμ ∫ (x : X) in s, g xμ
@[deprecated MeasureTheory.setIntegral_mono_ae_restrict]
theorem MeasureTheory.set_integral_mono_ae_restrict {X : Type u_1} [] {μ : } {f : X} {g : X} {s : Set X} (hf : ) (hg : ) (h : f ≤ᵐ[μ.restrict s] g) :
∫ (x : X) in s, f xμ ∫ (x : X) in s, g xμ

Alias of MeasureTheory.setIntegral_mono_ae_restrict.

theorem MeasureTheory.setIntegral_mono_ae {X : Type u_1} [] {μ : } {f : X} {g : X} {s : Set X} (hf : ) (hg : ) (h : f ≤ᵐ[μ] g) :
∫ (x : X) in s, f xμ ∫ (x : X) in s, g xμ
@[deprecated MeasureTheory.setIntegral_mono_ae]
theorem MeasureTheory.set_integral_mono_ae {X : Type u_1} [] {μ : } {f : X} {g : X} {s : Set X} (hf : ) (hg : ) (h : f ≤ᵐ[μ] g) :
∫ (x : X) in s, f xμ ∫ (x : X) in s, g xμ

Alias of MeasureTheory.setIntegral_mono_ae.

theorem MeasureTheory.setIntegral_mono_on {X : Type u_1} [] {μ : } {f : X} {g : X} {s : Set X} (hf : ) (hg : ) (hs : ) (h : xs, f x g x) :
∫ (x : X) in s, f xμ ∫ (x : X) in s, g xμ
@[deprecated MeasureTheory.setIntegral_mono_on]
theorem MeasureTheory.set_integral_mono_on {X : Type u_1} [] {μ : } {f : X} {g : X} {s : Set X} (hf : ) (hg : ) (hs : ) (h : xs, f x g x) :
∫ (x : X) in s, f xμ ∫ (x : X) in s, g xμ

Alias of MeasureTheory.setIntegral_mono_on.

theorem MeasureTheory.setIntegral_mono_on_ae {X : Type u_1} [] {μ : } {f : X} {g : X} {s : Set X} (hf : ) (hg : ) (hs : ) (h : ∀ᵐ (x : X) ∂μ, x sf x g x) :
∫ (x : X) in s, f xμ ∫ (x : X) in s, g xμ
@[deprecated MeasureTheory.setIntegral_mono_on_ae]
theorem MeasureTheory.set_integral_mono_on_ae {X : Type u_1} [] {μ : } {f : X} {g : X} {s : Set X} (hf : ) (hg : ) (hs : ) (h : ∀ᵐ (x : X) ∂μ, x sf x g x) :
∫ (x : X) in s, f xμ ∫ (x : X) in s, g xμ

Alias of MeasureTheory.setIntegral_mono_on_ae.

theorem MeasureTheory.setIntegral_mono {X : Type u_1} [] {μ : } {f : X} {g : X} {s : Set X} (hf : ) (hg : ) (h : f g) :
∫ (x : X) in s, f xμ ∫ (x : X) in s, g xμ
@[deprecated MeasureTheory.setIntegral_mono]
theorem MeasureTheory.set_integral_mono {X : Type u_1} [] {μ : } {f : X} {g : X} {s : Set X} (hf : ) (hg : ) (h : f g) :
∫ (x : X) in s, f xμ ∫ (x : X) in s, g xμ

Alias of MeasureTheory.setIntegral_mono.

theorem MeasureTheory.setIntegral_mono_set {X : Type u_1} [] {μ : } {f : X} {s : Set X} {t : Set X} (hfi : ) (hf : 0 ≤ᵐ[μ.restrict t] f) (hst : s ≤ᵐ[μ] t) :
∫ (x : X) in s, f xμ ∫ (x : X) in t, f xμ
@[deprecated MeasureTheory.setIntegral_mono_set]
theorem MeasureTheory.set_integral_mono_set {X : Type u_1} [] {μ : } {f : X} {s : Set X} {t : Set X} (hfi : ) (hf : 0 ≤ᵐ[μ.restrict t] f) (hst : s ≤ᵐ[μ] t) :
∫ (x : X) in s, f xμ ∫ (x : X) in t, f xμ

Alias of MeasureTheory.setIntegral_mono_set.

theorem MeasureTheory.setIntegral_le_integral {X : Type u_1} [] {μ : } {f : X} {s : Set X} (hfi : ) (hf : 0 ≤ᵐ[μ] f) :
∫ (x : X) in s, f xμ ∫ (x : X), f xμ
@[deprecated MeasureTheory.setIntegral_le_integral]
theorem MeasureTheory.set_integral_le_integral {X : Type u_1} [] {μ : } {f : X} {s : Set X} (hfi : ) (hf : 0 ≤ᵐ[μ] f) :
∫ (x : X) in s, f xμ ∫ (x : X), f xμ

Alias of MeasureTheory.setIntegral_le_integral.

theorem MeasureTheory.setIntegral_ge_of_const_le {X : Type u_1} [] {μ : } {f : X} {s : Set X} {c : } (hs : ) (hμs : μ s ) (hf : xs, c f x) (hfint : MeasureTheory.IntegrableOn (fun (x : X) => f x) s μ) :
c * (μ s).toReal ∫ (x : X) in s, f xμ
@[deprecated MeasureTheory.setIntegral_ge_of_const_le]
theorem MeasureTheory.set_integral_ge_of_const_le {X : Type u_1} [] {μ : } {f : X} {s : Set X} {c : } (hs : ) (hμs : μ s ) (hf : xs, c f x) (hfint : MeasureTheory.IntegrableOn (fun (x : X) => f x) s μ) :
c * (μ s).toReal ∫ (x : X) in s, f xμ

Alias of MeasureTheory.setIntegral_ge_of_const_le.

theorem MeasureTheory.setIntegral_nonneg_of_ae_restrict {X : Type u_1} [] {μ : } {f : X} {s : Set X} (hf : 0 ≤ᵐ[μ.restrict s] f) :
0 ∫ (x : X) in s, f xμ
@[deprecated MeasureTheory.setIntegral_nonneg_of_ae_restrict]
theorem MeasureTheory.set_integral_nonneg_of_ae_restrict {X : Type u_1} [] {μ : } {f : X} {s : Set X} (hf : 0 ≤ᵐ[μ.restrict s] f) :
0 ∫ (x : X) in s, f xμ

Alias of MeasureTheory.setIntegral_nonneg_of_ae_restrict.

theorem MeasureTheory.setIntegral_nonneg_of_ae {X : Type u_1} [] {μ : } {f : X} {s : Set X} (hf : 0 ≤ᵐ[μ] f) :
0 ∫ (x : X) in s, f xμ
@[deprecated MeasureTheory.setIntegral_nonneg_of_ae]
theorem MeasureTheory.set_integral_nonneg_of_ae {X : Type u_1} [] {μ : } {f : X} {s : Set X} (hf : 0 ≤ᵐ[μ] f) :
0 ∫ (x : X) in s, f xμ

Alias of MeasureTheory.setIntegral_nonneg_of_ae.

theorem MeasureTheory.setIntegral_nonneg {X : Type u_1} [] {μ : } {f : X} {s : Set X} (hs : ) (hf : xs, 0 f x) :
0 ∫ (x : X) in s, f xμ
@[deprecated MeasureTheory.setIntegral_nonneg]
theorem MeasureTheory.set_integral_nonneg {X : Type u_1} [] {μ : } {f : X} {s : Set X} (hs : ) (hf : xs, 0 f x) :
0 ∫ (x : X) in s, f xμ

Alias of MeasureTheory.setIntegral_nonneg.

theorem MeasureTheory.setIntegral_nonneg_ae {X : Type u_1} [] {μ : } {f : X} {s : Set X} (hs : ) (hf : ∀ᵐ (x : X) ∂μ, x s0 f x) :
0 ∫ (x : X) in s, f xμ
@[deprecated MeasureTheory.setIntegral_nonneg_ae]
theorem MeasureTheory.set_integral_nonneg_ae {X : Type u_1} [] {μ : } {f : X} {s : Set X} (hs : ) (hf : ∀ᵐ (x : X) ∂μ, x s0 f x) :
0 ∫ (x : X) in s, f xμ

Alias of MeasureTheory.setIntegral_nonneg_ae.

theorem MeasureTheory.setIntegral_le_nonneg {X : Type u_1} [] {μ : } {f : X} {s : Set X} (hs : ) (hf : ) (hfi : ) :
∫ (x : X) in s, f xμ ∫ (x : X) in {y : X | 0 f y}, f xμ
@[deprecated MeasureTheory.setIntegral_le_nonneg]
theorem MeasureTheory.set_integral_le_nonneg {X : Type u_1} [] {μ : } {f : X} {s : Set X} (hs : ) (hf : ) (hfi : ) :
∫ (x : X) in s, f xμ ∫ (x : X) in {y : X | 0 f y}, f xμ

Alias of MeasureTheory.setIntegral_le_nonneg.

theorem MeasureTheory.setIntegral_nonpos_of_ae_restrict {X : Type u_1} [] {μ : } {f : X} {s : Set X} (hf : f ≤ᵐ[μ.restrict s] 0) :
∫ (x : X) in s, f xμ 0
@[deprecated MeasureTheory.setIntegral_nonpos_of_ae_restrict]
theorem MeasureTheory.set_integral_nonpos_of_ae_restrict {X : Type u_1} [] {μ : } {f : X} {s : Set X} (hf : f ≤ᵐ[μ.restrict s] 0) :
∫ (x : X) in s, f xμ 0

Alias of MeasureTheory.setIntegral_nonpos_of_ae_restrict.

theorem MeasureTheory.setIntegral_nonpos_of_ae {X : Type u_1} [] {μ : } {f : X} {s : Set X} (hf : f ≤ᵐ[μ] 0) :
∫ (x : X) in s, f xμ 0
@[deprecated MeasureTheory.setIntegral_nonpos_of_ae]
theorem MeasureTheory.set_integral_nonpos_of_ae {X : Type u_1} [] {μ : } {f : X} {s : Set X} (hf : f ≤ᵐ[μ] 0) :
∫ (x : X) in s, f xμ 0

Alias of MeasureTheory.setIntegral_nonpos_of_ae.

theorem MeasureTheory.setIntegral_nonpos_ae {X : Type u_1} [] {μ : } {f : X} {s : Set X} (hs : ) (hf : ∀ᵐ (x : X) ∂μ, x sf x 0) :
∫ (x : X) in s, f xμ 0
@[deprecated MeasureTheory.setIntegral_nonpos_ae]
theorem MeasureTheory.set_integral_nonpos_ae {X : Type u_1} [] {μ : } {f : X} {s : Set X} (hs : ) (hf : ∀ᵐ (x : X) ∂μ, x sf x 0) :
∫ (x : X) in s, f xμ 0

Alias of MeasureTheory.setIntegral_nonpos_ae.

theorem MeasureTheory.setIntegral_nonpos {X : Type u_1} [] {μ : } {f : X} {s : Set X} (hs : ) (hf : xs, f x 0) :
∫ (x : X) in s, f xμ 0
@[deprecated MeasureTheory.setIntegral_nonpos]
theorem MeasureTheory.set_integral_nonpos {X : Type u_1} [] {μ : } {f : X} {s : Set X} (hs : ) (hf : xs, f x 0) :
∫ (x : X) in s, f xμ 0

Alias of MeasureTheory.setIntegral_nonpos.

theorem MeasureTheory.setIntegral_nonpos_le {X : Type u_1} [] {μ : } {f : X} {s : Set X} (hs : ) (hf : ) (hfi : ) :
∫ (x : X) in {y : X | f y 0}, f xμ ∫ (x : X) in s, f xμ
@[deprecated MeasureTheory.setIntegral_nonpos_le]
theorem MeasureTheory.set_integral_nonpos_le {X : Type u_1} [] {μ : } {f : X} {s : Set X} (hs : ) (hf : ) (hfi : ) :
∫ (x : X) in {y : X | f y 0}, f xμ ∫ (x : X) in s, f xμ

Alias of MeasureTheory.setIntegral_nonpos_le.

theorem MeasureTheory.Integrable.measure_le_integral {X : Type u_1} [] {μ : } {f : X} (f_int : ) (f_nonneg : 0 ≤ᵐ[μ] f) {s : Set X} (hs : xs, 1 f x) :
μ s ENNReal.ofReal (∫ (x : X), f xμ)
theorem MeasureTheory.integral_le_measure {X : Type u_1} [] {μ : } {f : X} {s : Set X} (hs : xs, f x 1) (h's : xs, f x 0) :
ENNReal.ofReal (∫ (x : X), f xμ) μ s
theorem MeasureTheory.integrableOn_iUnion_of_summable_integral_norm {X : Type u_1} {E : Type u_3} [] {ι : Type u_5} [] {μ : } {f : XE} {s : ιSet X} (hs : ∀ (i : ι), MeasurableSet (s i)) (hi : ∀ (i : ι), MeasureTheory.IntegrableOn f (s i) μ) (h : Summable fun (i : ι) => ∫ (x : X) in s i, f xμ) :
theorem MeasureTheory.integrableOn_iUnion_of_summable_norm_restrict {X : Type u_1} {E : Type u_3} [] {ι : Type u_5} [] {μ : } [] [] {f : C(X, E)} {s : } (hf : Summable fun (i : ι) => ContinuousMap.restrict ((s i)) f * (μ (s i)).toReal) :
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 {X : Type u_1} {E : Type u_3} [] {ι : Type u_5} [] {μ : } [] [] {f : C(X, E)} {s : } (hf : Summable fun (i : ι) => ContinuousMap.restrict ((s i)) f * (μ (s i)).toReal) (hs : ⋃ (i : ι), (s i) = Set.univ) :

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.

### 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.Lp_toLp_restrict_add {X : Type u_1} {E : Type u_3} [] {p : ENNReal} {μ : } (f : ()) (g : ()) (s : Set X) :
MeasureTheory.Memℒp.toLp (f + g) =

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

theorem MeasureTheory.Lp_toLp_restrict_smul {X : Type u_1} {F : Type u_4} [] {𝕜 : Type u_5} [] [] {p : ENNReal} {μ : } (c : 𝕜) (f : ()) (s : Set X) :
MeasureTheory.Memℒp.toLp (c f) = c

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

theorem MeasureTheory.norm_Lp_toLp_restrict_le {X : Type u_1} {E : Type u_3} [] {p : ENNReal} {μ : } (s : Set X) (f : ()) :

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

def MeasureTheory.LpToLpRestrictCLM (X : Type u_1) (F : Type u_4) [] (𝕜 : Type u_5) [] [] (μ : ) (p : ENNReal) [hp : Fact (1 p)] (s : Set X) :
() →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).

Equations
• = { toFun := fun (f : ()) => , map_add' := , map_smul' := }.mkContinuous 1
Instances For
theorem MeasureTheory.LpToLpRestrictCLM_coeFn {X : Type u_1} {F : Type u_4} [] (𝕜 : Type u_5) [] [] {p : ENNReal} {μ : } [Fact (1 p)] (s : Set X) (f : ()) :
(() f) =ᵐ[μ.restrict s] f
theorem MeasureTheory.continuous_setIntegral {X : Type u_1} {E : Type u_3} [] {μ : } [] (s : Set X) :
Continuous fun (f : ()) => ∫ (x : X) in s, f xμ
@[deprecated MeasureTheory.continuous_setIntegral]
theorem MeasureTheory.continuous_set_integral {X : Type u_1} {E : Type u_3} [] {μ : } [] (s : Set X) :
Continuous fun (f : ()) => ∫ (x : X) in s, f xμ

Alias of MeasureTheory.continuous_setIntegral.

theorem Continuous.integral_pos_of_hasCompactSupport_nonneg_nonzero {X : Type u_1} [] [] {μ : } [μ.IsOpenPosMeasure] {f : X} {x : X} (f_cont : ) (f_comp : ) (f_nonneg : 0 f) (f_x : f x 0) :
0 < ∫ (x : X), f xμ

Fundamental theorem of calculus for set integrals

theorem Filter.Tendsto.integral_sub_linear_isLittleO_ae {X : Type u_1} {E : Type u_3} [] {ι : Type u_5} [] [] {μ : } {l : } [l.IsMeasurablyGenerated] {f : XE} {b : E} (h : Filter.Tendsto f () (nhds b)) (hfm : ) (hμ : μ.FiniteAtFilter l) {s : ιSet X} {li : } (hs : Filter.Tendsto s li l.smallSets) (m : optParam (ι) fun (i : ι) => (μ (s i)).toReal) (hsμ : autoParam ((fun (i : ι) => (μ (s i)).toReal) =ᶠ[li] m) _auto✝) :
(fun (i : ι) => ∫ (x : X) in s i, f xμ - m i b) =o[li] m

Fundamental theorem of calculus for set integrals: if μ is a measure that is finite at a filter l and f is a measurable function that has a finite limit b at l ⊓ ae μ, then ∫ x in s i, f x ∂μ = μ (s i) • b + o(μ (s i)) at a filter li provided that s i tends to l.smallSets along li. Since μ (s i) is an ℝ≥0∞ number, we use (μ (s i)).toReal in the actual statement.

Often there is a good formula for (μ (s i)).toReal, so the formalization can take an optional argument m with this formula and a proof of (fun i => (μ (s i)).toReal) =ᶠ[li] m. Without these arguments, m i = (μ (s i)).toReal is used in the output.

theorem ContinuousWithinAt.integral_sub_linear_isLittleO_ae {X : Type u_1} {E : Type u_3} [] {ι : Type u_5} [] [] [] {μ : } {x : X} {t : Set X} {f : XE} (hx : ) (ht : ) (hfm : ) {s : ιSet X} {li : } (hs : Filter.Tendsto s li ().smallSets) (m : optParam (ι) fun (i : ι) => (μ (s i)).toReal) (hsμ : autoParam ((fun (i : ι) => (μ (s i)).toReal) =ᶠ[li] m) _auto✝) :
(fun (i : ι) => ∫ (x : X) in s i, f xμ - m i f x) =o[li] m

Fundamental theorem of calculus for set integrals, nhdsWithin version: if μ is a locally finite measure and f is an almost everywhere measurable function that is continuous at a point a within a measurable set t, then ∫ x in s i, f x ∂μ = μ (s i) • f a + o(μ (s i)) at a filter li provided that s i tends to (𝓝[t] a).smallSets along li. Since μ (s i) is an ℝ≥0∞ number, we use (μ (s i)).toReal in the actual statement.

Often there is a good formula for (μ (s i)).toReal, so the formalization can take an optional argument m with this formula and a proof of (fun i => (μ (s i)).toReal) =ᶠ[li] m. Without these arguments, m i = (μ (s i)).toReal is used in the output.

theorem ContinuousAt.integral_sub_linear_isLittleO_ae {X : Type u_1} {E : Type u_3} [] {ι : Type u_5} [] [] [] {μ : } {x : X} {f : XE} (hx : ) (hfm : ) {s : ιSet X} {li : } (hs : Filter.Tendsto s li (nhds x).smallSets) (m : optParam (ι) fun (i : ι) => (μ (s i)).toReal) (hsμ : autoParam ((fun (i : ι) => (μ (s i)).toReal) =ᶠ[li] m) _auto✝) :
(fun (i : ι) => ∫ (x : X) in s i, f xμ - m i f x) =o[li] m

Fundamental theorem of calculus for set integrals, nhds version: if μ is a locally finite measure and f is an almost everywhere measurable function that is continuous at a point a, then ∫ x in s i, f x ∂μ = μ (s i) • f a + o(μ (s i)) at li provided that s tends to (𝓝 a).smallSets along li. Since μ (s i) is an ℝ≥0∞ number, we use (μ (s i)).toReal in the actual statement.

Often there is a good formula for (μ (s i)).toReal, so the formalization can take an optional argument m with this formula and a proof of (fun i => (μ (s i)).toReal) =ᶠ[li] m. Without these arguments, m i = (μ (s i)).toReal is used in the output.

theorem ContinuousOn.integral_sub_linear_isLittleO_ae {X : Type u_1} {E : Type u_3} [] {ι : Type u_5} [] [] [] {μ : } {x : X} {t : Set X} {f : XE} (hft : ) (hx : x t) (ht : ) {s : ιSet X} {li : } (hs : Filter.Tendsto s li ().smallSets) (m : optParam (ι) fun (i : ι) => (μ (s i)).toReal) (hsμ : autoParam ((fun (i : ι) => (μ (s i)).toReal) =ᶠ[li] m) _auto✝) :
(fun (i : ι) => ∫ (x : X) in s i, f xμ - m i f x) =o[li] m

Fundamental theorem of calculus for set integrals, nhdsWithin version: if μ is a locally finite measure, f is continuous on a measurable set t, and a ∈ t, then ∫ x in (s i), f x ∂μ = μ (s i) • f a + o(μ (s i)) at li provided that s i tends to (𝓝[t] a).smallSets along li. Since μ (s i) is an ℝ≥0∞ number, we use (μ (s i)).toReal in the actual statement.

Often there is a good formula for (μ (s i)).toReal, so the formalization can take an optional argument m with this formula and a proof of (fun i => (μ (s i)).toReal) =ᶠ[li] m. Without these arguments, m i = (μ (s i)).toReal is used in the output.

### Continuous linear maps composed with integration #

The goal of this section is to prove that integration commutes with continuous linear maps. This holds for simple functions. The general result follows from the continuity of all involved operations on the space L¹. Note that composition by a continuous linear map on L¹ is not just the composition, as we are dealing with classes of functions, but it has already been defined as ContinuousLinearMap.compLp. We take advantage of this construction here.

theorem ContinuousLinearMap.integral_compLp {X : Type u_1} {E : Type u_3} {F : Type u_4} [] {μ : } {𝕜 : Type u_5} [] [] [] {p : ENNReal} [] (L : E →L[𝕜] F) (φ : ()) :
∫ (x : X), (L.compLp φ) xμ = ∫ (x : X), L (φ x)μ
theorem ContinuousLinearMap.setIntegral_compLp {X : Type u_1} {E : Type u_3} {F : Type u_4} [] {μ : } {𝕜 : Type u_5} [] [] [] {p : ENNReal} [] (L : E →L[𝕜] F) (φ : ()) {s : Set X} (hs : ) :
∫ (x : X) in s, (L.compLp φ) xμ = ∫ (x : X) in s, L (φ x)μ
@[deprecated ContinuousLinearMap.setIntegral_compLp]
theorem ContinuousLinearMap.set_integral_compLp {X : Type u_1} {E : Type u_3} {F : Type u_4} [] {μ : } {𝕜 : Type u_5} [] [] [] {p : ENNReal} [] (L : E →L[𝕜] F) (φ : ()) {s : Set X} (hs : ) :
∫ (x : X) in s, (L.compLp φ) xμ = ∫ (x : X) in s, L (φ x)μ

Alias of ContinuousLinearMap.setIntegral_compLp.

theorem ContinuousLinearMap.continuous_integral_comp_L1 {X : Type u_1} {E : Type u_3} {F : Type u_4} [] {μ : } {𝕜 : Type u_5} [] [] [] [] (L : E →L[𝕜] F) :
Continuous fun (φ : ()) => ∫ (x : X), L (φ x)μ
theorem ContinuousLinearMap.integral_comp_comm {X : Type u_1} {E : Type u_3} {F : Type u_4} [] {μ : } {𝕜 : Type u_5} [] [] [] [] [] [] [] (L : E →L[𝕜] F) {φ : XE} (φ_int : ) :
∫ (x : X), L (φ x)μ = L (∫ (x : X), φ xμ)
theorem ContinuousLinearMap.integral_apply {X : Type u_1} {E : Type u_3} [] {μ : } {𝕜 : Type u_5} [] [] [] {H : Type u_6} [] {φ : XH →L[𝕜] E} (φ_int : ) (v : H) :
(∫ (x : X), φ xμ) v = ∫ (x : X), (φ x) vμ
theorem ContinuousMultilinearMap.integral_apply {X : Type u_1} {E : Type u_3} [] {μ : } {𝕜 : Type u_5} [] [] [] {ι : Type u_6} [] {M : ιType u_7} [(i : ι) → NormedAddCommGroup (M i)] [(i : ι) → NormedSpace 𝕜 (M i)] {φ : X} (φ_int : ) (m : (i : ι) → M i) :
(∫ (x : X), φ xμ) m = ∫ (x : X), (φ x) mμ
theorem ContinuousLinearMap.integral_comp_comm' {X : Type u_1} {E : Type u_3} {F : Type u_4} [] {μ : } {𝕜 : Type u_5} [] [] [] [] [] [] [] (L : E →L[𝕜] F) {K : NNReal} (hL : ) (φ : XE) :
∫ (x : X), L (φ x)μ = L (∫ (x : X), φ xμ)
theorem ContinuousLinearMap.integral_comp_L1_comm {X : Type u_1} {E : Type u_3} {F : Type u_4} [] {μ : } {𝕜 : Type u_5} [] [] [] [] [] [] [] (L : E →L[𝕜] F) (φ : ()) :
∫ (x : X), L (φ x)μ = L (∫ (x : X), φ xμ)
theorem LinearIsometry.integral_comp_comm {X : Type u_1} {E : Type u_3} {F : Type u_4} [] {μ : } {𝕜 : Type u_5} [] [] [] [] [] [] [] (L : E →ₗᵢ[𝕜] F) (φ : XE) :
∫ (x : X), L (φ x)μ = L (∫ (x : X), φ xμ)
theorem ContinuousLinearEquiv.integral_comp_comm {X : Type u_1} {E : Type u_3} {F : Type u_4} [] {μ : } {𝕜 : Type u_5} [] [] [] [] [] (L : E ≃L[𝕜] F) (φ : XE) :
∫ (x : X), L (φ x)μ = L (∫ (x : X), φ xμ)
theorem integral_ofReal {X : Type u_1} [] {μ : } {𝕜 : Type u_5} [] {f : X} :
∫ (x : X), (f x)μ = (∫ (x : X), f xμ)
theorem integral_re {X : Type u_1} [] {μ : } {𝕜 : Type u_5} [] {f : X𝕜} (hf : ) :
∫ (x : X), RCLike.re (f x)μ = RCLike.re (∫ (x : X), f xμ)
theorem integral_im {X : Type u_1} [] {μ : } {𝕜 : Type u_5} [] {f : X𝕜} (hf : ) :
∫ (x : X), RCLike.im (f x)μ = RCLike.im (∫ (x : X), f xμ)
theorem integral_conj {X : Type u_1} [] {μ : } {𝕜 : Type u_5} [] {f : X𝕜} :
∫ (x : X), () (f x)μ = () (∫ (x : X), f xμ)
theorem integral_coe_re_add_coe_im {X : Type u_1} [] {μ : } {𝕜 : Type u_5} [] {f : X𝕜} (hf : ) :
∫ (x : X), (RCLike.re (f x))μ + (∫ (x : X), (RCLike.im (f x))μ) * RCLike.I = ∫ (x : X), f xμ
theorem integral_re_add_im {X : Type u_1} [] {μ : } {𝕜 : Type u_5} [] {f : X𝕜} (hf : ) :
(∫ (x : X), RCLike.re (f x)μ) + (∫ (x : X), RCLike.im (f x)μ) * RCLike.I = ∫ (x : X), f xμ
theorem setIntegral_re_add_im {X : Type u_1} [] {μ : } {𝕜 : Type u_5} [] {f : X𝕜} {i : Set X} (hf : ) :
(∫ (x : X) in i, RCLike.re (f x)μ) + (∫ (x : X) in i, RCLike.im (f x)μ) * RCLike.I = ∫ (x : X) in i, f xμ
@[deprecated setIntegral_re_add_im]
theorem set_integral_re_add_im {X : Type u_1} [] {μ : } {𝕜 : Type u_5} [] {f : X𝕜} {i : Set X} (hf : ) :
(∫ (x : X) in i, RCLike.re (f x)μ) + (∫ (x : X) in i, RCLike.im (f x)μ) * RCLike.I = ∫ (x : X) in i, f xμ

Alias of setIntegral_re_add_im.

theorem swap_integral {X : Type u_1} {E : Type u_3} {F : Type u_4} [] {μ : } [] [] (f : XE × F) :
(∫ (x : X), f xμ).swap = ∫ (x : X), (f x).swapμ
theorem fst_integral {X : Type u_1} {E : Type u_3} {F : Type u_4} [] {μ : } [] [] [] {f : XE × F} (hf : ) :
(∫ (x : X), f xμ).1 = ∫ (x : X), (f x).1μ
theorem snd_integral {X : Type u_1} {E : Type u_3} {F : Type u_4} [] {μ : } [] [] [] {f : XE × F} (hf : ) :
(∫ (x : X), f xμ).2 = ∫ (x : X), (f x).2μ
theorem integral_pair {X : Type u_1} {E : Type u_3} {F : Type u_4} [] {μ : } [] [] [] [] {f : XE} {g : XF} (hf : ) (hg : ) :
∫ (x : X), (f x, g x)μ = (∫ (x : X), f xμ, ∫ (x : X), g xμ)
theorem integral_smul_const {X : Type u_1} {E : Type u_3} [] {μ : } [] {𝕜 : Type u_6} [] [] [] (f : X𝕜) (c : E) :
∫ (x : X), f x cμ = (∫ (x : X), f xμ) c
theorem integral_withDensity_eq_integral_smul {X : Type u_1} {E : Type u_3} [] {μ : } [] {f : XNNReal} (f_meas : ) (g : XE) :
(∫ (x : X), g xμ.withDensity fun (x : X) => (f x)) = ∫ (x : X), f x g xμ
theorem integral_withDensity_eq_integral_smul₀ {X : Type u_1} {E : Type u_3} [] {μ : } [] {f : XNNReal} (hf : ) (g : XE) :
(∫ (x : X), g xμ.withDensity fun (x : X) => (f x)) = ∫ (x : X), f x g xμ
theorem setIntegral_withDensity_eq_setIntegral_smul {X : Type u_1} {E : Type u_3} [] {μ : } [] {f : XNNReal} (f_meas : ) (g : XE) {s : Set X} (hs : ) :
(∫ (x : X) in s, g xμ.withDensity fun (x : X) => (f x)) = ∫ (x : X) in s, f x g xμ
@[deprecated setIntegral_withDensity_eq_setIntegral_smul]
theorem set_integral_withDensity_eq_set_integral_smul {X : Type u_1} {E : Type u_3} [] {μ : } [] {f : XNNReal} (f_meas : ) (g : XE) {s : Set X} (hs : ) :
(∫ (x : X) in s, g xμ.withDensity fun (x : X) => (f x)) = ∫ (x : X) in s, f x g xμ

Alias of setIntegral_withDensity_eq_setIntegral_smul.

theorem setIntegral_withDensity_eq_setIntegral_smul₀ {X : Type u_1} {E : Type u_3} [] {μ : } [] {f : XNNReal} {s : Set X} (hf : AEMeasurable f (μ.restrict s)) (g : XE) (hs : ) :
(∫ (x : X) in s, g xμ.withDensity fun (x : X) => (f x)) = ∫ (x : X) in s, f x g xμ
@[deprecated setIntegral_withDensity_eq_setIntegral_smul₀]
theorem set_integral_withDensity_eq_set_integral_smul₀ {X : Type u_1} {E : Type u_3} [] {μ : } [] {f : XNNReal} {s : Set X} (hf : AEMeasurable f (μ.restrict s)) (g : XE) (hs : ) :
(∫ (x : X) in s, g xμ.withDensity fun (x : X) => (f x)) = ∫ (x : X) in s, f x g xμ

Alias of setIntegral_withDensity_eq_setIntegral_smul₀.

theorem setIntegral_withDensity_eq_setIntegral_smul₀' {X : Type u_1} {E : Type u_3} [] {μ : } [] {f : XNNReal} (s : Set X) (hf : AEMeasurable f (μ.restrict s)) (g : XE) :
(∫ (x : X) in s, g xμ.withDensity fun (x : X) => (f x)) = ∫ (x : X) in s, f x g xμ
@[deprecated setIntegral_withDensity_eq_setIntegral_smul₀']
theorem set_integral_withDensity_eq_set_integral_smul₀' {X : Type u_1} {E : Type u_3} [] {μ : } [] {f : XNNReal} (s : Set X) (hf : AEMeasurable f (μ.restrict s)) (g : XE) :
(∫ (x : X) in s, g xμ.withDensity fun (x : X) => (f x)) = ∫ (x : X) in s, f x g xμ

Alias of setIntegral_withDensity_eq_setIntegral_smul₀'.

theorem measure_le_lintegral_thickenedIndicatorAux {X : Type u_1} [] (μ : ) {E : Set X} (E_mble : ) (δ : ) :
μ E ∫⁻ (x : X), μ
theorem measure_le_lintegral_thickenedIndicator {X : Type u_1} [] (μ : ) {E : Set X} (E_mble : ) {δ : } (δ_pos : 0 < δ) :
μ E ∫⁻ (x : X), ((thickenedIndicator δ_pos E) x)μ
theorem MeasureTheory.Integrable.simpleFunc_mul {X : Type u_1} {f : X} {m0 : } {μ : } (g : ) (hf : ) :
theorem MeasureTheory.Integrable.simpleFunc_mul' {X : Type u_1} {f : X} {m : } {m0 : } {μ : } (hm : m m0) (g : ) (hf : ) :
theorem continuous_parametric_integral_of_continuous {X : Type u_1} {Y : Type u_2} {E : Type u_3} [] [] [] {μ : } [] {f : XYE} (hf : ) {s : Set Y} (hs : ) :
Continuous fun (x : 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 {X : Type u_1} {Y : Type u_2} {E : Type u_3} {F : Type u_4} {G : Type u_5} {𝕜 : Type u_6} [] [] [] {μ : } [] [] [] [] (L : F →L[𝕜] G →L[𝕜] E) {f : XYG} {s : Set X} {k : Set Y} {g : YF} (hk : ) (hf : ContinuousOn () (s ×ˢ Set.univ)) (hfs : ∀ (p : X) (x : Y), p sxkf p x = 0) (hg : ) :
ContinuousOn (fun (x : 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 {X : Type u_1} {Y : Type u_2} {E : Type u_3} [] [] [] {μ : } [] {f : XYE} {s : Set X} {k : Set Y} (hk : ) (hf : ContinuousOn () (s ×ˢ Set.univ)) (hfs : ∀ (p : X) (x : Y), p sxkf p x = 0) :
ContinuousOn (fun (x : 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.