Documentation

Mathlib.MeasureTheory.Integral.SetIntegral

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 : α → E) (l : Filter α) (μ : Measure α) 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 :

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.set_integral_congr_ae₀ {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {f : αE} {g : αE} {s : Set α} {μ : MeasureTheory.Measure α} [NormedSpace E] (hs : MeasureTheory.NullMeasurableSet s) (h : ∀ᵐ (x : α) ∂μ, x sf x = g x) :
∫ (x : α) in s, f xμ = ∫ (x : α) in s, g xμ
theorem MeasureTheory.set_integral_congr_ae {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {f : αE} {g : αE} {s : Set α} {μ : MeasureTheory.Measure α} [NormedSpace E] (hs : MeasurableSet s) (h : ∀ᵐ (x : α) ∂μ, x sf x = g x) :
∫ (x : α) in s, f xμ = ∫ (x : α) in s, g xμ
theorem MeasureTheory.set_integral_congr₀ {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {f : αE} {g : αE} {s : Set α} {μ : MeasureTheory.Measure α} [NormedSpace E] (hs : MeasureTheory.NullMeasurableSet s) (h : Set.EqOn f g s) :
∫ (x : α) in s, f xμ = ∫ (x : α) in s, g xμ
theorem MeasureTheory.set_integral_congr {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {f : αE} {g : αE} {s : Set α} {μ : MeasureTheory.Measure α} [NormedSpace E] (hs : MeasurableSet s) (h : Set.EqOn f g s) :
∫ (x : α) in s, f xμ = ∫ (x : α) in s, g xμ
theorem MeasureTheory.set_integral_congr_set_ae {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {f : αE} {s : Set α} {t : Set α} {μ : MeasureTheory.Measure α} [NormedSpace E] (hst : s =ᶠ[MeasureTheory.Measure.ae μ] t) :
∫ (x : α) in s, f xμ = ∫ (x : α) in t, f xμ
theorem MeasureTheory.integral_union_ae {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {f : αE} {s : Set α} {t : Set α} {μ : MeasureTheory.Measure α} [NormedSpace E] (hst : MeasureTheory.AEDisjoint μ s t) (ht : MeasureTheory.NullMeasurableSet t) (hfs : MeasureTheory.IntegrableOn f s) (hft : MeasureTheory.IntegrableOn f t) :
∫ (x : α) in s t, f xμ = ∫ (x : α) in s, f xμ + ∫ (x : α) in t, f xμ
theorem MeasureTheory.integral_union {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {f : αE} {s : Set α} {t : Set α} {μ : MeasureTheory.Measure α} [NormedSpace E] (hst : Disjoint s t) (ht : MeasurableSet t) (hfs : MeasureTheory.IntegrableOn f s) (hft : MeasureTheory.IntegrableOn f t) :
∫ (x : α) in s t, f xμ = ∫ (x : α) in s, f xμ + ∫ (x : α) in t, f xμ
theorem MeasureTheory.integral_diff {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {f : αE} {s : Set α} {t : Set α} {μ : MeasureTheory.Measure α} [NormedSpace E] (ht : MeasurableSet t) (hfs : MeasureTheory.IntegrableOn f s) (hts : t s) :
∫ (x : α) in s \ t, f xμ = ∫ (x : α) in s, f xμ - ∫ (x : α) in t, f xμ
theorem MeasureTheory.integral_inter_add_diff₀ {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {f : αE} {s : Set α} {t : Set α} {μ : MeasureTheory.Measure α} [NormedSpace E] (ht : MeasureTheory.NullMeasurableSet t) (hfs : MeasureTheory.IntegrableOn f s) :
∫ (x : α) in s t, f xμ + ∫ (x : α) in s \ t, f xμ = ∫ (x : α) in s, f xμ
theorem MeasureTheory.integral_inter_add_diff {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {f : αE} {s : Set α} {t : Set α} {μ : MeasureTheory.Measure α} [NormedSpace E] (ht : MeasurableSet t) (hfs : MeasureTheory.IntegrableOn f s) :
∫ (x : α) in s t, f xμ + ∫ (x : α) in s \ t, f xμ = ∫ (x : α) in s, f xμ
theorem MeasureTheory.integral_finset_biUnion {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {f : αE} {μ : MeasureTheory.Measure α} [NormedSpace E] {ι : Type u_5} (t : Finset ι) {s : ιSet α} (hs : it, MeasurableSet (s i)) (h's : Set.Pairwise (t) (Disjoint on s)) (hf : it, MeasureTheory.IntegrableOn f (s i)) :
∫ (x : α) in ⋃ i ∈ t, s i, f xμ = Finset.sum t fun (i : ι) => ∫ (x : α) in s i, f xμ
theorem MeasureTheory.integral_fintype_iUnion {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {f : αE} {μ : MeasureTheory.Measure α} [NormedSpace E] {ι : Type u_5} [Fintype ι] {s : ιSet α} (hs : ∀ (i : ι), MeasurableSet (s i)) (h's : Pairwise (Disjoint on s)) (hf : ∀ (i : ι), MeasureTheory.IntegrableOn f (s i)) :
∫ (x : α) in ⋃ (i : ι), s i, f xμ = Finset.sum Finset.univ fun (i : ι) => ∫ (x : α) in s i, f xμ
theorem MeasureTheory.integral_empty {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {f : αE} {μ : MeasureTheory.Measure α} [NormedSpace E] :
∫ (x : α) in , f xμ = 0
theorem MeasureTheory.integral_univ {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {f : αE} {μ : MeasureTheory.Measure α} [NormedSpace E] :
∫ (x : α) in Set.univ, f xμ = ∫ (x : α), f xμ
theorem MeasureTheory.integral_add_compl₀ {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {f : αE} {s : Set α} {μ : MeasureTheory.Measure α} [NormedSpace E] (hs : MeasureTheory.NullMeasurableSet s) (hfi : MeasureTheory.Integrable f) :
∫ (x : α) in s, f xμ + ∫ (x : α) in s, f xμ = ∫ (x : α), f xμ
theorem MeasureTheory.integral_add_compl {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {f : αE} {s : Set α} {μ : MeasureTheory.Measure α} [NormedSpace E] (hs : MeasurableSet s) (hfi : MeasureTheory.Integrable f) :
∫ (x : α) in s, f xμ + ∫ (x : α) in s, f xμ = ∫ (x : α), f xμ
theorem MeasureTheory.integral_indicator {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {f : αE} {s : Set α} {μ : MeasureTheory.Measure α} [NormedSpace E] (hs : MeasurableSet s) :
∫ (x : α), Set.indicator s f 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.set_integral_indicator {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {f : αE} {s : Set α} {t : Set α} {μ : MeasureTheory.Measure α} [NormedSpace E] (ht : MeasurableSet t) :
∫ (x : α) in s, Set.indicator t f xμ = ∫ (x : α) in s t, f xμ
theorem MeasureTheory.ofReal_set_integral_one_of_measure_ne_top {α : Type u_5} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} {s : Set α} (hs : μ s ) :
ENNReal.ofReal (∫ (x : α) in s, 1μ) = μ s
theorem MeasureTheory.ofReal_set_integral_one {α : Type u_5} :
∀ {x : MeasurableSpace α} (μ : MeasureTheory.Measure α) [inst : MeasureTheory.IsFiniteMeasure μ] (s : Set α), ENNReal.ofReal (∫ (x : α) in s, 1μ) = μ s
theorem MeasureTheory.integral_piecewise {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {f : αE} {g : αE} {s : Set α} {μ : MeasureTheory.Measure α} [NormedSpace E] [DecidablePred fun (x : α) => x s] (hs : MeasurableSet s) (hf : MeasureTheory.IntegrableOn f s) (hg : MeasureTheory.IntegrableOn g s) :
∫ (x : α), Set.piecewise s f g xμ = ∫ (x : α) in s, f xμ + ∫ (x : α) in s, g xμ
theorem MeasureTheory.tendsto_set_integral_of_monotone {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {f : αE} {μ : MeasureTheory.Measure α} [NormedSpace E] {ι : Type u_5} [Countable ι] [SemilatticeSup ι] {s : ιSet α} (hsm : ∀ (i : ι), MeasurableSet (s i)) (h_mono : Monotone s) (hfi : MeasureTheory.IntegrableOn f (⋃ (n : ι), s n)) :
Filter.Tendsto (fun (i : ι) => ∫ (a : α) in s i, f aμ) Filter.atTop (nhds (∫ (a : α) in ⋃ (n : ι), s n, f aμ))
theorem MeasureTheory.hasSum_integral_iUnion_ae {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {f : αE} {μ : MeasureTheory.Measure α} [NormedSpace E] {ι : Type u_5} [Countable ι] {s : ιSet α} (hm : ∀ (i : ι), MeasureTheory.NullMeasurableSet (s i)) (hd : Pairwise (MeasureTheory.AEDisjoint μ on s)) (hfi : MeasureTheory.IntegrableOn f (⋃ (i : ι), s i)) :
HasSum (fun (n : ι) => ∫ (a : α) in s n, f aμ) (∫ (a : α) in ⋃ (n : ι), s n, f aμ)
theorem MeasureTheory.hasSum_integral_iUnion {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {f : αE} {μ : MeasureTheory.Measure α} [NormedSpace E] {ι : Type u_5} [Countable ι] {s : ιSet α} (hm : ∀ (i : ι), MeasurableSet (s i)) (hd : Pairwise (Disjoint on s)) (hfi : MeasureTheory.IntegrableOn f (⋃ (i : ι), s i)) :
HasSum (fun (n : ι) => ∫ (a : α) in s n, f aμ) (∫ (a : α) in ⋃ (n : ι), s n, f aμ)
theorem MeasureTheory.integral_iUnion {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {f : αE} {μ : MeasureTheory.Measure α} [NormedSpace E] {ι : Type u_5} [Countable ι] {s : ιSet α} (hm : ∀ (i : ι), MeasurableSet (s i)) (hd : Pairwise (Disjoint on s)) (hfi : MeasureTheory.IntegrableOn f (⋃ (i : ι), s i)) :
∫ (a : α) in ⋃ (n : ι), s n, f aμ = ∑' (n : ι), ∫ (a : α) in s n, f aμ
theorem MeasureTheory.integral_iUnion_ae {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {f : αE} {μ : MeasureTheory.Measure α} [NormedSpace E] {ι : Type u_5} [Countable ι] {s : ιSet α} (hm : ∀ (i : ι), MeasureTheory.NullMeasurableSet (s i)) (hd : Pairwise (MeasureTheory.AEDisjoint μ on s)) (hfi : MeasureTheory.IntegrableOn f (⋃ (i : ι), s i)) :
∫ (a : α) in ⋃ (n : ι), s n, f aμ = ∑' (n : ι), ∫ (a : α) in s n, f aμ
theorem MeasureTheory.set_integral_eq_zero_of_ae_eq_zero {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {f : αE} {t : Set α} {μ : MeasureTheory.Measure α} [NormedSpace E] (ht_eq : ∀ᵐ (x : α) ∂μ, x tf x = 0) :
∫ (x : α) in t, f xμ = 0
theorem MeasureTheory.set_integral_eq_zero_of_forall_eq_zero {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {f : αE} {t : Set α} {μ : MeasureTheory.Measure α} [NormedSpace E] (ht_eq : xt, f x = 0) :
∫ (x : α) in t, f xμ = 0
theorem MeasureTheory.integral_union_eq_left_of_ae_aux {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {f : αE} {s : Set α} {t : Set α} {μ : MeasureTheory.Measure α} [NormedSpace E] (ht_eq : ∀ᵐ (x : α) ∂MeasureTheory.Measure.restrict μ t, f x = 0) (haux : MeasureTheory.StronglyMeasurable f) (H : MeasureTheory.IntegrableOn f (s t)) :
∫ (x : α) in s t, f xμ = ∫ (x : α) in s, f xμ
theorem MeasureTheory.integral_union_eq_left_of_ae {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {f : αE} {s : Set α} {t : Set α} {μ : MeasureTheory.Measure α} [NormedSpace E] (ht_eq : ∀ᵐ (x : α) ∂MeasureTheory.Measure.restrict μ t, f x = 0) :
∫ (x : α) in s t, f xμ = ∫ (x : α) in s, f xμ
theorem MeasureTheory.integral_union_eq_left_of_forall₀ {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {s : Set α} {t : Set α} {μ : MeasureTheory.Measure α} [NormedSpace E] {f : αE} (ht : MeasureTheory.NullMeasurableSet t) (ht_eq : xt, f x = 0) :
∫ (x : α) in s t, f xμ = ∫ (x : α) in s, f xμ
theorem MeasureTheory.integral_union_eq_left_of_forall {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {s : Set α} {t : Set α} {μ : MeasureTheory.Measure α} [NormedSpace E] {f : αE} (ht : MeasurableSet t) (ht_eq : xt, f x = 0) :
∫ (x : α) in s t, f xμ = ∫ (x : α) in s, f xμ
theorem MeasureTheory.set_integral_eq_of_subset_of_ae_diff_eq_zero_aux {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {f : αE} {s : Set α} {t : Set α} {μ : MeasureTheory.Measure α} [NormedSpace E] (hts : s t) (h't : ∀ᵐ (x : α) ∂μ, x t \ sf x = 0) (haux : MeasureTheory.StronglyMeasurable f) (h'aux : MeasureTheory.IntegrableOn f t) :
∫ (x : α) in t, f xμ = ∫ (x : α) in s, f xμ
theorem MeasureTheory.set_integral_eq_of_subset_of_ae_diff_eq_zero {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {f : αE} {s : Set α} {t : Set α} {μ : MeasureTheory.Measure α} [NormedSpace E] (ht : MeasureTheory.NullMeasurableSet t) (hts : s t) (h't : ∀ᵐ (x : α) ∂μ, x t \ sf x = 0) :
∫ (x : α) in t, f 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.set_integral_eq_of_subset_of_forall_diff_eq_zero {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {f : αE} {s : Set α} {t : Set α} {μ : MeasureTheory.Measure α} [NormedSpace E] (ht : MeasurableSet t) (hts : s t) (h't : xt \ s, f x = 0) :
∫ (x : α) in t, f 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.set_integral_eq_integral_of_ae_compl_eq_zero {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {f : αE} {s : Set α} {μ : MeasureTheory.Measure α} [NormedSpace E] (h : ∀ᵐ (x : α) ∂μ, xsf x = 0) :
∫ (x : α) in s, f 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.set_integral_eq_integral_of_forall_compl_eq_zero {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {f : αE} {s : Set α} {μ : MeasureTheory.Measure α} [NormedSpace E] (h : xs, f x = 0) :
∫ (x : α) in s, f 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.set_integral_neg_eq_set_integral_nonpos {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {μ : MeasureTheory.Measure α} [NormedSpace E] [LinearOrder E] {f : αE} (hf : MeasureTheory.AEStronglyMeasurable f μ) :
∫ (x : α) in {x : α | f x < 0}, f xμ = ∫ (x : α) in {x : α | f x 0}, f xμ
theorem MeasureTheory.integral_norm_eq_pos_sub_neg {α : Type u_1} [MeasurableSpace α] {μ : MeasureTheory.Measure α} {f : α} (hfi : MeasureTheory.Integrable f) :
∫ (x : α), f xμ = ∫ (x : α) in {x : α | 0 f x}, f xμ - ∫ (x : α) in {x : α | f x 0}, f xμ
theorem MeasureTheory.set_integral_const {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {s : Set α} {μ : MeasureTheory.Measure α} [NormedSpace E] [CompleteSpace E] (c : E) :
∫ (x : α) in s, cμ = ENNReal.toReal (μ s) c
@[simp]
theorem MeasureTheory.integral_indicator_const {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {μ : MeasureTheory.Measure α} [NormedSpace E] [CompleteSpace E] (e : E) ⦃s : Set α (s_meas : MeasurableSet s) :
∫ (a : α), Set.indicator s (fun (x : α) => e) aμ = ENNReal.toReal (μ s) e
@[simp]
theorem MeasureTheory.integral_indicator_one {α : Type u_1} [MeasurableSpace α] {μ : MeasureTheory.Measure α} ⦃s : Set α (hs : MeasurableSet s) :
∫ (a : α), Set.indicator s 1 aμ = ENNReal.toReal (μ s)
theorem MeasureTheory.set_integral_indicatorConstLp {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {s : Set α} {t : Set α} {μ : MeasureTheory.Measure α} [NormedSpace E] [CompleteSpace E] {p : ENNReal} (hs : MeasurableSet s) (ht : MeasurableSet t) (hμt : μ t ) (x : E) :
∫ (a : α) in s, (MeasureTheory.indicatorConstLp p ht hμt x) aμ = ENNReal.toReal (μ (t s)) x
theorem MeasureTheory.integral_indicatorConstLp {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {t : Set α} {μ : MeasureTheory.Measure α} [NormedSpace E] [CompleteSpace E] {p : ENNReal} (ht : MeasurableSet t) (hμt : μ t ) (x : E) :
∫ (a : α), (MeasureTheory.indicatorConstLp p ht hμt x) aμ = ENNReal.toReal (μ t) x
theorem MeasureTheory.set_integral_map {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {μ : MeasureTheory.Measure α} [NormedSpace E] {β : Type u_5} [MeasurableSpace β] {g : αβ} {f : βE} {s : Set β} (hs : MeasurableSet s) (hf : MeasureTheory.AEStronglyMeasurable f (MeasureTheory.Measure.map g μ)) (hg : AEMeasurable g) :
∫ (y : β) in s, f yMeasureTheory.Measure.map g μ = ∫ (x : α) in g ⁻¹' s, f (g x)μ
theorem MeasurableEmbedding.set_integral_map {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {μ : MeasureTheory.Measure α} [NormedSpace E] {β : Type u_5} :
∀ {x : MeasurableSpace β} {f : αβ}, MeasurableEmbedding f∀ (g : βE) (s : Set β), ∫ (y : β) in s, g yMeasureTheory.Measure.map f μ = ∫ (x : α) in f ⁻¹' s, g (f x)μ
theorem ClosedEmbedding.set_integral_map {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {μ : MeasureTheory.Measure α} [NormedSpace E] [TopologicalSpace α] [BorelSpace α] {β : Type u_5} [MeasurableSpace β] [TopologicalSpace β] [BorelSpace β] {g : αβ} {f : βE} (s : Set β) (hg : ClosedEmbedding g) :
∫ (y : β) in s, f yMeasureTheory.Measure.map g μ = ∫ (x : α) in g ⁻¹' s, f (g x)μ
theorem MeasureTheory.MeasurePreserving.set_integral_preimage_emb {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {μ : MeasureTheory.Measure α} [NormedSpace E] {β : Type u_5} :
∀ {x : MeasurableSpace β} {f : αβ} {ν : MeasureTheory.Measure β}, MeasureTheory.MeasurePreserving fMeasurableEmbedding f∀ (g : βE) (s : Set β), ∫ (x : α) in f ⁻¹' s, g (f x)μ = ∫ (y : β) in s, g yν
theorem MeasureTheory.MeasurePreserving.set_integral_image_emb {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {μ : MeasureTheory.Measure α} [NormedSpace E] {β : Type u_5} :
∀ {x : MeasurableSpace β} {f : αβ} {ν : MeasureTheory.Measure β}, MeasureTheory.MeasurePreserving fMeasurableEmbedding f∀ (g : βE) (s : Set α), ∫ (y : β) in f '' s, g yν = ∫ (x : α) in s, g (f x)μ
theorem MeasureTheory.set_integral_map_equiv {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {μ : MeasureTheory.Measure α} [NormedSpace E] {β : Type u_5} [MeasurableSpace β] (e : α ≃ᵐ β) (f : βE) (s : Set β) :
∫ (y : β) in s, f yMeasureTheory.Measure.map (e) μ = ∫ (x : α) in e ⁻¹' s, f (e x)μ
theorem MeasureTheory.norm_set_integral_le_of_norm_le_const_ae {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {f : αE} {s : Set α} {μ : MeasureTheory.Measure α} [NormedSpace E] {C : } (hs : μ s < ) (hC : ∀ᵐ (x : α) ∂MeasureTheory.Measure.restrict μ s, f x C) :
∫ (x : α) in s, f xμ C * ENNReal.toReal (μ s)
theorem MeasureTheory.norm_set_integral_le_of_norm_le_const_ae' {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {f : αE} {s : Set α} {μ : MeasureTheory.Measure α} [NormedSpace E] {C : } (hs : μ s < ) (hC : ∀ᵐ (x : α) ∂μ, x sf x C) (hfm : MeasureTheory.AEStronglyMeasurable f (MeasureTheory.Measure.restrict μ s)) :
∫ (x : α) in s, f xμ C * ENNReal.toReal (μ s)
theorem MeasureTheory.norm_set_integral_le_of_norm_le_const_ae'' {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {f : αE} {s : Set α} {μ : MeasureTheory.Measure α} [NormedSpace E] {C : } (hs : μ s < ) (hsm : MeasurableSet s) (hC : ∀ᵐ (x : α) ∂μ, x sf x C) :
∫ (x : α) in s, f xμ C * ENNReal.toReal (μ s)
theorem MeasureTheory.norm_set_integral_le_of_norm_le_const {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {f : αE} {s : Set α} {μ : MeasureTheory.Measure α} [NormedSpace E] {C : } (hs : μ s < ) (hC : xs, f x C) (hfm : MeasureTheory.AEStronglyMeasurable f (MeasureTheory.Measure.restrict μ s)) :
∫ (x : α) in s, f xμ C * ENNReal.toReal (μ s)
theorem MeasureTheory.norm_set_integral_le_of_norm_le_const' {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {f : αE} {s : Set α} {μ : MeasureTheory.Measure α} [NormedSpace E] {C : } (hs : μ s < ) (hsm : MeasurableSet s) (hC : xs, f x C) :
∫ (x : α) in s, f xμ C * ENNReal.toReal (μ s)
theorem MeasureTheory.set_integral_pos_iff_support_of_nonneg_ae {α : Type u_1} [MeasurableSpace α] {s : Set α} {μ : MeasureTheory.Measure α} {f : α} (hf : 0 ≤ᶠ[MeasureTheory.Measure.ae (MeasureTheory.Measure.restrict μ s)] f) (hfi : MeasureTheory.IntegrableOn f s) :
0 < ∫ (x : α) in s, f xμ 0 < μ (Function.support f s)
theorem MeasureTheory.set_integral_gt_gt {α : Type u_1} [MeasurableSpace α] {μ : MeasureTheory.Measure α} {R : } {f : α} (hR : 0 R) (hfm : Measurable f) (hfint : MeasureTheory.IntegrableOn f {x : α | R < f x}) (hμ : μ {x : α | R < f x} 0) :
ENNReal.toReal (μ {x : α | R < f x}) * R < ∫ (x : α) in {x : α | R < f x}, f xμ
theorem MeasureTheory.set_integral_trim {E : Type u_3} [NormedAddCommGroup E] [NormedSpace E] {α : Type u_5} {m : MeasurableSpace α} {m0 : MeasurableSpace α} {μ : MeasureTheory.Measure α} (hm : m m0) {f : αE} (hf_meas : MeasureTheory.StronglyMeasurable f) {s : Set α} (hs : MeasurableSet s) :
∫ (x : α) in s, f xμ = ∫ (x : α) in s, f xMeasureTheory.Measure.trim μ hm

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' {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {f : αE} {μ : MeasureTheory.Measure α} [NormedSpace E] [PartialOrder α] {a : α} {b : α} (ha : μ {a} = 0) :
∫ (t : α) in Set.Icc a b, f tμ = ∫ (t : α) in Set.Ioc a b, f tμ
theorem MeasureTheory.integral_Icc_eq_integral_Ico' {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {f : αE} {μ : MeasureTheory.Measure α} [NormedSpace E] [PartialOrder α] {a : α} {b : α} (hb : μ {b} = 0) :
∫ (t : α) in Set.Icc a b, f tμ = ∫ (t : α) in Set.Ico a b, f tμ
theorem MeasureTheory.integral_Ioc_eq_integral_Ioo' {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {f : αE} {μ : MeasureTheory.Measure α} [NormedSpace E] [PartialOrder α] {a : α} {b : α} (hb : μ {b} = 0) :
∫ (t : α) in Set.Ioc a b, f tμ = ∫ (t : α) in Set.Ioo a b, f tμ
theorem MeasureTheory.integral_Ico_eq_integral_Ioo' {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {f : αE} {μ : MeasureTheory.Measure α} [NormedSpace E] [PartialOrder α] {a : α} {b : α} (ha : μ {a} = 0) :
∫ (t : α) in Set.Ico a b, f tμ = ∫ (t : α) in Set.Ioo a b, f tμ
theorem MeasureTheory.integral_Icc_eq_integral_Ioo' {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {f : αE} {μ : MeasureTheory.Measure α} [NormedSpace E] [PartialOrder α] {a : α} {b : α} (ha : μ {a} = 0) (hb : μ {b} = 0) :
∫ (t : α) in Set.Icc a b, f tμ = ∫ (t : α) in Set.Ioo a b, f tμ
theorem MeasureTheory.integral_Iic_eq_integral_Iio' {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {f : αE} {μ : MeasureTheory.Measure α} [NormedSpace E] [PartialOrder α] {a : α} (ha : μ {a} = 0) :
∫ (t : α) in Set.Iic a, f tμ = ∫ (t : α) in Set.Iio a, f tμ
theorem MeasureTheory.integral_Ici_eq_integral_Ioi' {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {f : αE} {μ : MeasureTheory.Measure α} [NormedSpace E] [PartialOrder α] {a : α} (ha : μ {a} = 0) :
∫ (t : α) in Set.Ici a, f tμ = ∫ (t : α) in Set.Ioi a, f tμ
theorem MeasureTheory.integral_Icc_eq_integral_Ioc {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {f : αE} {μ : MeasureTheory.Measure α} [NormedSpace E] [PartialOrder α] {a : α} {b : α} [MeasureTheory.NoAtoms μ] :
∫ (t : α) in Set.Icc a b, f tμ = ∫ (t : α) in Set.Ioc a b, f tμ
theorem MeasureTheory.integral_Icc_eq_integral_Ico {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {f : αE} {μ : MeasureTheory.Measure α} [NormedSpace E] [PartialOrder α] {a : α} {b : α} [MeasureTheory.NoAtoms μ] :
∫ (t : α) in Set.Icc a b, f tμ = ∫ (t : α) in Set.Ico a b, f tμ
theorem MeasureTheory.integral_Ioc_eq_integral_Ioo {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {f : αE} {μ : MeasureTheory.Measure α} [NormedSpace E] [PartialOrder α] {a : α} {b : α} [MeasureTheory.NoAtoms μ] :
∫ (t : α) in Set.Ioc a b, f tμ = ∫ (t : α) in Set.Ioo a b, f tμ
theorem MeasureTheory.integral_Ico_eq_integral_Ioo {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {f : αE} {μ : MeasureTheory.Measure α} [NormedSpace E] [PartialOrder α] {a : α} {b : α} [MeasureTheory.NoAtoms μ] :
∫ (t : α) in Set.Ico a b, f tμ = ∫ (t : α) in Set.Ioo a b, f tμ
theorem MeasureTheory.integral_Icc_eq_integral_Ioo {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {f : αE} {μ : MeasureTheory.Measure α} [NormedSpace E] [PartialOrder α] {a : α} {b : α} [MeasureTheory.NoAtoms μ] :
∫ (t : α) in Set.Icc a b, f tμ = ∫ (t : α) in Set.Ioo a b, f tμ
theorem MeasureTheory.integral_Iic_eq_integral_Iio {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {f : αE} {μ : MeasureTheory.Measure α} [NormedSpace E] [PartialOrder α] {a : α} [MeasureTheory.NoAtoms μ] :
∫ (t : α) in Set.Iic a, f tμ = ∫ (t : α) in Set.Iio a, f tμ
theorem MeasureTheory.integral_Ici_eq_integral_Ioi {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {f : αE} {μ : MeasureTheory.Measure α} [NormedSpace E] [PartialOrder α] {a : α} [MeasureTheory.NoAtoms μ] :
∫ (t : α) in Set.Ici a, f tμ = ∫ (t : α) in Set.Ioi a, f tμ
theorem MeasureTheory.set_integral_mono_ae_restrict {α : Type u_1} [MeasurableSpace α] {μ : MeasureTheory.Measure α} {f : α} {g : α} {s : Set α} (hf : MeasureTheory.IntegrableOn f s) (hg : MeasureTheory.IntegrableOn g s) (h : f ≤ᶠ[MeasureTheory.Measure.ae (MeasureTheory.Measure.restrict μ s)] g) :
∫ (a : α) in s, f aμ ∫ (a : α) in s, g aμ
theorem MeasureTheory.set_integral_mono_ae {α : Type u_1} [MeasurableSpace α] {μ : MeasureTheory.Measure α} {f : α} {g : α} {s : Set α} (hf : MeasureTheory.IntegrableOn f s) (hg : MeasureTheory.IntegrableOn g s) (h : f ≤ᶠ[MeasureTheory.Measure.ae μ] g) :
∫ (a : α) in s, f aμ ∫ (a : α) in s, g aμ
theorem MeasureTheory.set_integral_mono_on {α : Type u_1} [MeasurableSpace α] {μ : MeasureTheory.Measure α} {f : α} {g : α} {s : Set α} (hf : MeasureTheory.IntegrableOn f s) (hg : MeasureTheory.IntegrableOn g s) (hs : MeasurableSet s) (h : xs, f x g x) :
∫ (a : α) in s, f aμ ∫ (a : α) in s, g aμ
theorem MeasureTheory.set_integral_mono_on_ae {α : Type u_1} [MeasurableSpace α] {μ : MeasureTheory.Measure α} {f : α} {g : α} {s : Set α} (hf : MeasureTheory.IntegrableOn f s) (hg : MeasureTheory.IntegrableOn g s) (hs : MeasurableSet s) (h : ∀ᵐ (x : α) ∂μ, x sf x g x) :
∫ (a : α) in s, f aμ ∫ (a : α) in s, g aμ
theorem MeasureTheory.set_integral_mono {α : Type u_1} [MeasurableSpace α] {μ : MeasureTheory.Measure α} {f : α} {g : α} {s : Set α} (hf : MeasureTheory.IntegrableOn f s) (hg : MeasureTheory.IntegrableOn g s) (h : f g) :
∫ (a : α) in s, f aμ ∫ (a : α) in s, g aμ
theorem MeasureTheory.set_integral_mono_set {α : Type u_1} [MeasurableSpace α] {μ : MeasureTheory.Measure α} {f : α} {s : Set α} {t : Set α} (hfi : MeasureTheory.IntegrableOn f t) (hf : 0 ≤ᶠ[MeasureTheory.Measure.ae (MeasureTheory.Measure.restrict μ t)] f) (hst : s ≤ᶠ[MeasureTheory.Measure.ae μ] t) :
∫ (x : α) in s, f xμ ∫ (x : α) in t, f xμ
theorem MeasureTheory.set_integral_le_integral {α : Type u_1} [MeasurableSpace α] {μ : MeasureTheory.Measure α} {f : α} {s : Set α} (hfi : MeasureTheory.Integrable f) (hf : 0 ≤ᶠ[MeasureTheory.Measure.ae μ] f) :
∫ (x : α) in s, f xμ ∫ (x : α), f xμ
theorem MeasureTheory.set_integral_ge_of_const_le {α : Type u_1} [MeasurableSpace α] {μ : MeasureTheory.Measure α} {f : α} {s : Set α} {c : } (hs : MeasurableSet s) (hμs : μ s ) (hf : xs, c f x) (hfint : MeasureTheory.IntegrableOn (fun (x : α) => f x) s) :
c * ENNReal.toReal (μ s) ∫ (x : α) in s, f xμ
theorem MeasureTheory.set_integral_nonneg_of_ae_restrict {α : Type u_1} [MeasurableSpace α] {μ : MeasureTheory.Measure α} {f : α} {s : Set α} (hf : 0 ≤ᶠ[MeasureTheory.Measure.ae (MeasureTheory.Measure.restrict μ s)] f) :
0 ∫ (a : α) in s, f aμ
theorem MeasureTheory.set_integral_nonneg_of_ae {α : Type u_1} [MeasurableSpace α] {μ : MeasureTheory.Measure α} {f : α} {s : Set α} (hf : 0 ≤ᶠ[MeasureTheory.Measure.ae μ] f) :
0 ∫ (a : α) in s, f aμ
theorem MeasureTheory.set_integral_nonneg {α : Type u_1} [MeasurableSpace α] {μ : MeasureTheory.Measure α} {f : α} {s : Set α} (hs : MeasurableSet s) (hf : as, 0 f a) :
0 ∫ (a : α) in s, f aμ
theorem MeasureTheory.set_integral_nonneg_ae {α : Type u_1} [MeasurableSpace α] {μ : MeasureTheory.Measure α} {f : α} {s : Set α} (hs : MeasurableSet s) (hf : ∀ᵐ (a : α) ∂μ, a s0 f a) :
0 ∫ (a : α) in s, f aμ
theorem MeasureTheory.set_integral_le_nonneg {α : Type u_1} [MeasurableSpace α] {μ : MeasureTheory.Measure α} {f : α} {s : Set α} (hs : MeasurableSet s) (hf : MeasureTheory.StronglyMeasurable f) (hfi : MeasureTheory.Integrable f) :
∫ (x : α) in s, f xμ ∫ (x : α) in {y : α | 0 f y}, f xμ
theorem MeasureTheory.set_integral_nonpos_of_ae_restrict {α : Type u_1} [MeasurableSpace α] {μ : MeasureTheory.Measure α} {f : α} {s : Set α} (hf : f ≤ᶠ[MeasureTheory.Measure.ae (MeasureTheory.Measure.restrict μ s)] 0) :
∫ (a : α) in s, f aμ 0
theorem MeasureTheory.set_integral_nonpos_of_ae {α : Type u_1} [MeasurableSpace α] {μ : MeasureTheory.Measure α} {f : α} {s : Set α} (hf : f ≤ᶠ[MeasureTheory.Measure.ae μ] 0) :
∫ (a : α) in s, f aμ 0
theorem MeasureTheory.set_integral_nonpos_ae {α : Type u_1} [MeasurableSpace α] {μ : MeasureTheory.Measure α} {f : α} {s : Set α} (hs : MeasurableSet s) (hf : ∀ᵐ (a : α) ∂μ, a sf a 0) :
∫ (a : α) in s, f aμ 0
theorem MeasureTheory.set_integral_nonpos {α : Type u_1} [MeasurableSpace α] {μ : MeasureTheory.Measure α} {f : α} {s : Set α} (hs : MeasurableSet s) (hf : as, f a 0) :
∫ (a : α) in s, f aμ 0
theorem MeasureTheory.set_integral_nonpos_le {α : Type u_1} [MeasurableSpace α] {μ : MeasureTheory.Measure α} {f : α} {s : Set α} (hs : MeasurableSet s) (hf : MeasureTheory.StronglyMeasurable f) (hfi : MeasureTheory.Integrable f) :
∫ (x : α) in {y : α | f y 0}, f xμ ∫ (x : α) in s, f xμ
theorem MeasureTheory.Integrable.measure_le_integral {α : Type u_1} [MeasurableSpace α] {μ : MeasureTheory.Measure α} {f : α} (f_int : MeasureTheory.Integrable f) (f_nonneg : 0 ≤ᶠ[MeasureTheory.Measure.ae μ] f) {s : Set α} (hs : xs, 1 f x) :
μ s ENNReal.ofReal (∫ (x : α), f xμ)
theorem MeasureTheory.integral_le_measure {α : Type u_1} [MeasurableSpace α] {μ : MeasureTheory.Measure α} {f : α} {s : Set α} (hs : xs, f x 1) (h's : xs, f x 0) :
ENNReal.ofReal (∫ (x : α), f xμ) μ s
theorem MeasureTheory.integrableOn_iUnion_of_summable_integral_norm {α : Type u_1} {β : Type u_2} {E : Type u_3} [MeasurableSpace α] {μ : MeasureTheory.Measure α} [NormedAddCommGroup E] [Countable β] {f : αE} {s : βSet α} (hs : ∀ (b : β), MeasurableSet (s b)) (hi : ∀ (b : β), MeasureTheory.IntegrableOn f (s b)) (h : Summable fun (b : β) => ∫ (a : α) in s b, f aμ) :

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 {α : Type u_1} {β : Type u_2} {E : Type u_3} [MeasurableSpace α] {μ : MeasureTheory.Measure α} [NormedAddCommGroup E] [Countable β] [TopologicalSpace α] [BorelSpace α] [TopologicalSpace.MetrizableSpace α] [MeasureTheory.IsLocallyFiniteMeasure μ] {f : C(α, E)} {s : βTopologicalSpace.Compacts α} (hf : Summable fun (i : β) => ContinuousMap.restrict ((s i)) f * ENNReal.toReal (μ (s i))) (hs : ⋃ (i : β), (s i) = Set.univ) :

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

theorem Antitone.tendsto_set_integral {α : Type u_1} {E : Type u_3} [MeasurableSpace α] {μ : MeasureTheory.Measure α} [NormedAddCommGroup E] [NormedSpace E] {s : Set α} {f : αE} (hsm : ∀ (i : ), MeasurableSet (s i)) (h_anti : Antitone s) (hfi : MeasureTheory.IntegrableOn f (s 0)) :
Filter.Tendsto (fun (i : ) => ∫ (a : α) in s i, f aμ) Filter.atTop (nhds (∫ (a : α) in ⋂ (n : ), s n, f aμ))

Continuity of the set integral #

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

theorem MeasureTheory.Lp_toLp_restrict_add {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {p : ENNReal} {μ : MeasureTheory.Measure α} (f : (MeasureTheory.Lp E p)) (g : (MeasureTheory.Lp E p)) (s : Set α) :

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 {α : Type u_1} {F : Type u_4} [MeasurableSpace α] {𝕜 : Type u_5} [NormedField 𝕜] [NormedAddCommGroup F] [NormedSpace 𝕜 F] {p : ENNReal} {μ : MeasureTheory.Measure α} (c : 𝕜) (f : (MeasureTheory.Lp F p)) (s : Set α) :

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.

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 (α : Type u_1) (F : Type u_4) [MeasurableSpace α] (𝕜 : Type u_5) [NormedField 𝕜] [NormedAddCommGroup F] [NormedSpace 𝕜 F] (μ : MeasureTheory.Measure α) (p : ENNReal) [hp : Fact (1 p)] (s : Set α) :

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

Equations
  • One or more equations did not get rendered due to their size.
Instances For
    theorem MeasureTheory.LpToLpRestrictCLM_coeFn {α : Type u_1} {F : Type u_4} [MeasurableSpace α] (𝕜 : Type u_5) [NormedField 𝕜] [NormedAddCommGroup F] [NormedSpace 𝕜 F] {p : ENNReal} {μ : MeasureTheory.Measure α} [Fact (1 p)] (s : Set α) (f : (MeasureTheory.Lp F p)) :
    theorem MeasureTheory.continuous_set_integral {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {μ : MeasureTheory.Measure α} [NormedSpace E] (s : Set α) :
    Continuous fun (f : (MeasureTheory.Lp E 1)) => ∫ (x : α) in s, f xμ
    theorem Filter.Tendsto.integral_sub_linear_isLittleO_ae {α : Type u_1} {E : Type u_3} [MeasurableSpace α] {ι : Type u_5} [NormedAddCommGroup E] [NormedSpace E] [CompleteSpace E] {μ : MeasureTheory.Measure α} {l : Filter α} [Filter.IsMeasurablyGenerated l] {f : αE} {b : E} (h : Filter.Tendsto f (l MeasureTheory.Measure.ae μ) (nhds b)) (hfm : StronglyMeasurableAtFilter f l) (hμ : MeasureTheory.Measure.FiniteAtFilter μ l) {s : ιSet α} {li : Filter ι} (hs : Filter.Tendsto s li (Filter.smallSets l)) (m : optParam (ι) fun (i : ι) => ENNReal.toReal (μ (s i))) (hsμ : autoParam ((fun (i : ι) => ENNReal.toReal (μ (s i))) =ᶠ[li] m) _auto✝) :
    (fun (i : ι) => ∫ (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 {α : Type u_1} {E : Type u_3} [MeasurableSpace α] {ι : Type u_5} [NormedAddCommGroup E] [TopologicalSpace α] [OpensMeasurableSpace α] [NormedSpace E] [CompleteSpace E] {μ : MeasureTheory.Measure α} [MeasureTheory.IsLocallyFiniteMeasure μ] {a : α} {t : Set α} {f : αE} (ha : ContinuousWithinAt f t a) (ht : MeasurableSet t) (hfm : StronglyMeasurableAtFilter f (nhdsWithin a t)) {s : ιSet α} {li : Filter ι} (hs : Filter.Tendsto s li (Filter.smallSets (nhdsWithin a t))) (m : optParam (ι) fun (i : ι) => ENNReal.toReal (μ (s i))) (hsμ : autoParam ((fun (i : ι) => ENNReal.toReal (μ (s i))) =ᶠ[li] m) _auto✝) :
    (fun (i : ι) => ∫ (x : α) in s i, f xμ - m i f a) =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 {α : Type u_1} {E : Type u_3} [MeasurableSpace α] {ι : Type u_5} [NormedAddCommGroup E] [TopologicalSpace α] [OpensMeasurableSpace α] [NormedSpace E] [CompleteSpace E] {μ : MeasureTheory.Measure α} [MeasureTheory.IsLocallyFiniteMeasure μ] {a : α} {f : αE} (ha : ContinuousAt f a) (hfm : StronglyMeasurableAtFilter f (nhds a)) {s : ιSet α} {li : Filter ι} (hs : Filter.Tendsto s li (Filter.smallSets (nhds a))) (m : optParam (ι) fun (i : ι) => ENNReal.toReal (μ (s i))) (hsμ : autoParam ((fun (i : ι) => ENNReal.toReal (μ (s i))) =ᶠ[li] m) _auto✝) :
    (fun (i : ι) => ∫ (x : α) in s i, f xμ - m i f a) =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 {α : Type u_1} {E : Type u_3} [MeasurableSpace α] {ι : Type u_5} [NormedAddCommGroup E] [TopologicalSpace α] [OpensMeasurableSpace α] [NormedSpace E] [CompleteSpace E] [SecondCountableTopologyEither α E] {μ : MeasureTheory.Measure α} [MeasureTheory.IsLocallyFiniteMeasure μ] {a : α} {t : Set α} {f : αE} (hft : ContinuousOn f t) (ha : a t) (ht : MeasurableSet t) {s : ιSet α} {li : Filter ι} (hs : Filter.Tendsto s li (Filter.smallSets (nhdsWithin a t))) (m : optParam (ι) fun (i : ι) => ENNReal.toReal (μ (s i))) (hsμ : autoParam ((fun (i : ι) => ENNReal.toReal (μ (s i))) =ᶠ[li] m) _auto✝) :
    (fun (i : ι) => ∫ (x : α) in s i, f xμ - m i f a) =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 . Note that composition by a continuous linear map on 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 {α : Type u_1} {E : Type u_3} {F : Type u_4} [MeasurableSpace α] [NormedAddCommGroup E] {μ : MeasureTheory.Measure α} {𝕜 : Type u_6} [IsROrC 𝕜] [NormedSpace 𝕜 E] [NormedAddCommGroup F] [NormedSpace 𝕜 F] {p : ENNReal} [NormedSpace F] (L : E →L[𝕜] F) (φ : (MeasureTheory.Lp E p)) :
    ∫ (a : α), (ContinuousLinearMap.compLp L φ) aμ = ∫ (a : α), L (φ a)μ
    theorem ContinuousLinearMap.set_integral_compLp {α : Type u_1} {E : Type u_3} {F : Type u_4} [MeasurableSpace α] [NormedAddCommGroup E] {μ : MeasureTheory.Measure α} {𝕜 : Type u_6} [IsROrC 𝕜] [NormedSpace 𝕜 E] [NormedAddCommGroup F] [NormedSpace 𝕜 F] {p : ENNReal} [NormedSpace F] (L : E →L[𝕜] F) (φ : (MeasureTheory.Lp E p)) {s : Set α} (hs : MeasurableSet s) :
    ∫ (a : α) in s, (ContinuousLinearMap.compLp L φ) aμ = ∫ (a : α) in s, L (φ a)μ
    theorem ContinuousLinearMap.continuous_integral_comp_L1 {α : Type u_1} {E : Type u_3} {F : Type u_4} [MeasurableSpace α] [NormedAddCommGroup E] {μ : MeasureTheory.Measure α} {𝕜 : Type u_6} [IsROrC 𝕜] [NormedSpace 𝕜 E] [NormedAddCommGroup F] [NormedSpace 𝕜 F] [NormedSpace F] (L : E →L[𝕜] F) :
    Continuous fun (φ : (MeasureTheory.Lp E 1)) => ∫ (a : α), L (φ a)μ
    theorem ContinuousLinearMap.integral_comp_comm {α : Type u_1} {E : Type u_3} {F : Type u_4} [MeasurableSpace α] [NormedAddCommGroup E] {μ : MeasureTheory.Measure α} {𝕜 : Type u_6} [IsROrC 𝕜] [NormedSpace 𝕜 E] [NormedAddCommGroup F] [NormedSpace 𝕜 F] [NormedSpace F] [CompleteSpace E] [CompleteSpace F] [NormedSpace E] (L : E →L[𝕜] F) {φ : αE} (φ_int : MeasureTheory.Integrable φ) :
    ∫ (a : α), L (φ a)μ = L (∫ (a : α), φ aμ)
    theorem ContinuousLinearMap.integral_apply {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {μ : MeasureTheory.Measure α} {𝕜 : Type u_6} [IsROrC 𝕜] [NormedSpace 𝕜 E] [CompleteSpace E] [NormedSpace E] {H : Type u_7} [NormedAddCommGroup H] [NormedSpace 𝕜 H] {φ : αH →L[𝕜] E} (φ_int : MeasureTheory.Integrable φ) (v : H) :
    (∫ (a : α), φ aμ) v = ∫ (a : α), (φ a) vμ
    theorem ContinuousLinearMap.integral_comp_comm' {α : Type u_1} {E : Type u_3} {F : Type u_4} [MeasurableSpace α] [NormedAddCommGroup E] {μ : MeasureTheory.Measure α} {𝕜 : Type u_6} [IsROrC 𝕜] [NormedSpace 𝕜 E] [NormedAddCommGroup F] [NormedSpace 𝕜 F] [NormedSpace F] [CompleteSpace E] [CompleteSpace F] [NormedSpace E] (L : E →L[𝕜] F) {K : NNReal} (hL : AntilipschitzWith K L) (φ : αE) :
    ∫ (a : α), L (φ a)μ = L (∫ (a : α), φ aμ)
    theorem ContinuousLinearMap.integral_comp_L1_comm {α : Type u_1} {E : Type u_3} {F : Type u_4} [MeasurableSpace α] [NormedAddCommGroup E] {μ : MeasureTheory.Measure α} {𝕜 : Type u_6} [IsROrC 𝕜] [NormedSpace 𝕜 E] [NormedAddCommGroup F] [NormedSpace 𝕜 F] [NormedSpace F] [CompleteSpace E] [CompleteSpace F] [NormedSpace E] (L : E →L[𝕜] F) (φ : (MeasureTheory.Lp E 1)) :
    ∫ (a : α), L (φ a)μ = L (∫ (a : α), φ aμ)
    theorem LinearIsometry.integral_comp_comm {α : Type u_1} {E : Type u_3} {F : Type u_4} [MeasurableSpace α] [NormedAddCommGroup E] {μ : MeasureTheory.Measure α} {𝕜 : Type u_6} [IsROrC 𝕜] [NormedSpace 𝕜 E] [NormedAddCommGroup F] [NormedSpace 𝕜 F] [CompleteSpace F] [NormedSpace F] [CompleteSpace E] [NormedSpace E] (L : E →ₗᵢ[𝕜] F) (φ : αE) :
    ∫ (a : α), L (φ a)μ = L (∫ (a : α), φ aμ)
    theorem ContinuousLinearEquiv.integral_comp_comm {α : Type u_1} {E : Type u_3} {F : Type u_4} [MeasurableSpace α] [NormedAddCommGroup E] {μ : MeasureTheory.Measure α} {𝕜 : Type u_6} [IsROrC 𝕜] [NormedSpace 𝕜 E] [NormedAddCommGroup F] [NormedSpace 𝕜 F] [NormedSpace F] [NormedSpace E] (L : E ≃L[𝕜] F) (φ : αE) :
    ∫ (a : α), L (φ a)μ = L (∫ (a : α), φ aμ)
    theorem integral_ofReal {α : Type u_1} [MeasurableSpace α] {μ : MeasureTheory.Measure α} {𝕜 : Type u_6} [IsROrC 𝕜] {f : α} :
    ∫ (a : α), (f a)μ = (∫ (a : α), f aμ)
    theorem integral_re {α : Type u_1} [MeasurableSpace α] {μ : MeasureTheory.Measure α} {𝕜 : Type u_6} [IsROrC 𝕜] {f : α𝕜} (hf : MeasureTheory.Integrable f) :
    ∫ (a : α), IsROrC.re (f a)μ = IsROrC.re (∫ (a : α), f aμ)
    theorem integral_im {α : Type u_1} [MeasurableSpace α] {μ : MeasureTheory.Measure α} {𝕜 : Type u_6} [IsROrC 𝕜] {f : α𝕜} (hf : MeasureTheory.Integrable f) :
    ∫ (a : α), IsROrC.im (f a)μ = IsROrC.im (∫ (a : α), f aμ)
    theorem integral_conj {α : Type u_1} [MeasurableSpace α] {μ : MeasureTheory.Measure α} {𝕜 : Type u_6} [IsROrC 𝕜] {f : α𝕜} :
    ∫ (a : α), (starRingEnd 𝕜) (f a)μ = (starRingEnd 𝕜) (∫ (a : α), f aμ)
    theorem integral_coe_re_add_coe_im {α : Type u_1} [MeasurableSpace α] {μ : MeasureTheory.Measure α} {𝕜 : Type u_6} [IsROrC 𝕜] {f : α𝕜} (hf : MeasureTheory.Integrable f) :
    ∫ (x : α), (IsROrC.re (f x))μ + (∫ (x : α), (IsROrC.im (f x))μ) * IsROrC.I = ∫ (x : α), f xμ
    theorem integral_re_add_im {α : Type u_1} [MeasurableSpace α] {μ : MeasureTheory.Measure α} {𝕜 : Type u_6} [IsROrC 𝕜] {f : α𝕜} (hf : MeasureTheory.Integrable f) :
    (∫ (x : α), IsROrC.re (f x)μ) + (∫ (x : α), IsROrC.im (f x)μ) * IsROrC.I = ∫ (x : α), f xμ
    theorem set_integral_re_add_im {α : Type u_1} [MeasurableSpace α] {μ : MeasureTheory.Measure α} {𝕜 : Type u_6} [IsROrC 𝕜] {f : α𝕜} {i : Set α} (hf : MeasureTheory.IntegrableOn f i) :
    (∫ (x : α) in i, IsROrC.re (f x)μ) + (∫ (x : α) in i, IsROrC.im (f x)μ) * IsROrC.I = ∫ (x : α) in i, f xμ
    theorem swap_integral {α : Type u_1} {E : Type u_3} {F : Type u_4} [MeasurableSpace α] [NormedAddCommGroup E] {μ : MeasureTheory.Measure α} [NormedAddCommGroup F] [NormedSpace E] [NormedSpace F] (f : αE × F) :
    Prod.swap (∫ (x : α), f xμ) = ∫ (x : α), Prod.swap (f x)μ
    theorem fst_integral {α : Type u_1} {E : Type u_3} {F : Type u_4} [MeasurableSpace α] [NormedAddCommGroup E] {μ : MeasureTheory.Measure α} [NormedAddCommGroup F] [NormedSpace E] [NormedSpace F] [CompleteSpace F] {f : αE × F} (hf : MeasureTheory.Integrable f) :
    (∫ (x : α), f xμ).1 = ∫ (x : α), (f x).1μ
    theorem snd_integral {α : Type u_1} {E : Type u_3} {F : Type u_4} [MeasurableSpace α] [NormedAddCommGroup E] {μ : MeasureTheory.Measure α} [NormedAddCommGroup F] [NormedSpace E] [NormedSpace F] [CompleteSpace E] {f : αE × F} (hf : MeasureTheory.Integrable f) :
    (∫ (x : α), f xμ).2 = ∫ (x : α), (f x).2μ
    theorem integral_pair {α : Type u_1} {E : Type u_3} {F : Type u_4} [MeasurableSpace α] [NormedAddCommGroup E] {μ : MeasureTheory.Measure α} [NormedAddCommGroup F] [NormedSpace E] [NormedSpace F] [CompleteSpace E] [CompleteSpace F] {f : αE} {g : αF} (hf : MeasureTheory.Integrable f) (hg : MeasureTheory.Integrable g) :
    ∫ (x : α), (f x, g x)μ = (∫ (x : α), f xμ, ∫ (x : α), g xμ)
    theorem integral_smul_const {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {μ : MeasureTheory.Measure α} [NormedSpace E] {𝕜 : Type u_7} [IsROrC 𝕜] [NormedSpace 𝕜 E] [CompleteSpace E] (f : α𝕜) (c : E) :
    ∫ (x : α), f x cμ = (∫ (x : α), f xμ) c
    theorem integral_withDensity_eq_integral_smul {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {μ : MeasureTheory.Measure α} [NormedSpace E] {f : αNNReal} (f_meas : Measurable f) (g : αE) :
    (∫ (a : α), g aMeasureTheory.Measure.withDensity μ fun (x : α) => (f x)) = ∫ (a : α), f a g aμ
    theorem integral_withDensity_eq_integral_smul₀ {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {μ : MeasureTheory.Measure α} [NormedSpace E] {f : αNNReal} (hf : AEMeasurable f) (g : αE) :
    (∫ (a : α), g aMeasureTheory.Measure.withDensity μ fun (x : α) => (f x)) = ∫ (a : α), f a g aμ
    theorem set_integral_withDensity_eq_set_integral_smul {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {μ : MeasureTheory.Measure α} [NormedSpace E] {f : αNNReal} (f_meas : Measurable f) (g : αE) {s : Set α} (hs : MeasurableSet s) :
    (∫ (a : α) in s, g aMeasureTheory.Measure.withDensity μ fun (x : α) => (f x)) = ∫ (a : α) in s, f a g aμ
    theorem set_integral_withDensity_eq_set_integral_smul₀ {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {μ : MeasureTheory.Measure α} [NormedSpace E] {f : αNNReal} {s : Set α} (hf : AEMeasurable f) (g : αE) (hs : MeasurableSet s) :
    (∫ (a : α) in s, g aMeasureTheory.Measure.withDensity μ fun (x : α) => (f x)) = ∫ (a : α) in s, f a g aμ
    theorem set_integral_withDensity_eq_set_integral_smul₀' {α : Type u_1} {E : Type u_3} [MeasurableSpace α] [NormedAddCommGroup E] {μ : MeasureTheory.Measure α} [NormedSpace E] [MeasureTheory.SFinite μ] {f : αNNReal} (s : Set α) (hf : AEMeasurable f) (g : αE) :
    (∫ (a : α) in s, g aMeasureTheory.Measure.withDensity μ fun (x : α) => (f x)) = ∫ (a : α) in s, f a g aμ
    theorem measure_le_lintegral_thickenedIndicatorAux {α : Type u_1} [MeasurableSpace α] [PseudoEMetricSpace α] (μ : MeasureTheory.Measure α) {E : Set α} (E_mble : MeasurableSet E) (δ : ) :
    μ E ∫⁻ (a : α), thickenedIndicatorAux δ E aμ
    theorem measure_le_lintegral_thickenedIndicator {α : Type u_1} [MeasurableSpace α] [PseudoEMetricSpace α] (μ : MeasureTheory.Measure α) {E : Set α} (E_mble : MeasurableSet E) {δ : } (δ_pos : 0 < δ) :
    μ E ∫⁻ (a : α), ((thickenedIndicator δ_pos E) a)μ
    theorem continuousOn_integral_bilinear_of_locally_integrable_of_compact_support {E : Type u_3} [NormedAddCommGroup E] {α : Type u_6} {β : Type u_7} {F : Type u_8} {G : Type u_9} {𝕜 : Type u_10} [TopologicalSpace α] [TopologicalSpace β] [MeasurableSpace β] [OpensMeasurableSpace β] {μ : MeasureTheory.Measure β} [NontriviallyNormedField 𝕜] [NormedSpace E] [NormedAddCommGroup F] [NormedSpace 𝕜 F] [NormedAddCommGroup G] [NormedSpace 𝕜 G] [NormedSpace 𝕜 E] (L : F →L[𝕜] G →L[𝕜] E) {f : αβG} {s : Set α} {k : Set β} {g : βF} (hk : IsCompact k) (hf : ContinuousOn (Function.uncurry f) (s ×ˢ Set.univ)) (hfs : ∀ (p : α) (x : β), p sxkf p x = 0) (hg : MeasureTheory.IntegrableOn g k) :
    ContinuousOn (fun (a : α) => ∫ (x : β), (L (g x)) (f a x)μ) s

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

    theorem continuousOn_integral_of_compact_support {E : Type u_3} [NormedAddCommGroup E] {α : Type u_6} {β : Type u_7} [TopologicalSpace α] [TopologicalSpace β] [MeasurableSpace β] [OpensMeasurableSpace β] {μ : MeasureTheory.Measure β} [NormedSpace E] {f : αβE} {s : Set α} {k : Set β} [MeasureTheory.IsFiniteMeasureOnCompacts μ] (hk : IsCompact k) (hf : ContinuousOn (Function.uncurry f) (s ×ˢ Set.univ)) (hfs : ∀ (p : α) (x : β), p sxkf p x = 0) :
    ContinuousOn (fun (a : α) => ∫ (x : β), f a xμ) s

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