Documentation

EValues.EIntegral

Extended Real Integral #

This file defines integration for functions taking values in EReal (the extended reals).

Main definitions #

Main statements #

Notation #

noncomputable def MeasureTheory.eintegral {α : Type u_1} { : MeasurableSpace α} (μ : Measure α) (f : αEReal) :

The integral of an EReal-valued function with respect to a measure μ, defined as the difference of two lower Lebesgue integrals.

Equations
Instances For

    The integral of an EReal-valued function with respect to a measure μ, defined as the difference of two lower Lebesgue integrals.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For

      The integral of an EReal-valued function with respect to a measure μ, defined as the difference of two lower Lebesgue integrals.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For

        The integral of an EReal-valued function with respect to a measure μ, defined as the difference of two lower Lebesgue integrals.

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For

          The integral of an EReal-valued function with respect to a measure μ, defined as the difference of two lower Lebesgue integrals.

          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            def MeasureTheory.EIntegrable {α : Type u_1} { : MeasurableSpace α} (f : αEReal) (μ : Measure α := by volume_tac) :

            Condition for a function to have a well-defined extended integral, avoiding the ⊤ - ⊤ bad case in the definition.

            Equations
            Instances For
              theorem MeasureTheory.eintegrable_congr {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} {f g : αEReal} (h_ae : f =ᶠ[ae μ] g) :
              theorem MeasureTheory.eintegrable_of_nonneg {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} {f : αEReal} (hf : ∀ (x : α), 0 f x) :
              theorem MeasureTheory.eintegrable_of_nonpos {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} {f : αEReal} (hf : ∀ (x : α), f x 0) :
              theorem MeasureTheory.eintegrable_const {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} {c : EReal} :
              EIntegrable (fun (x : α) => c) μ
              theorem MeasureTheory.EIntegrable.neg {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} {f : αEReal} (hf : EIntegrable f μ) :
              EIntegrable (fun (x : α) => -f x) μ
              theorem MeasureTheory.EIntegrable.const_mul {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} {c : EReal} {f : αEReal} (hf : EIntegrable f μ) (hc_bot : c ) (hc_top : c ) :
              EIntegrable (fun (x : α) => c * f x) μ
              theorem MeasureTheory.EIntegrable.add_const {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} [IsFiniteMeasure μ] {c : EReal} {f : αEReal} (hf : EIntegrable f μ) (hc_bot : c ) (hc_top : c ) :
              EIntegrable (fun (x : α) => f x + c) μ
              theorem MeasureTheory.EIntegrable.sub_const {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} [IsFiniteMeasure μ] {c : EReal} {f : αEReal} (hf : EIntegrable f μ) (hc_bot : c ) (hc_top : c ) :
              EIntegrable (fun (x : α) => f x - c) μ
              theorem MeasureTheory.EIntegrable.smul_measure {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} {X : αEReal} (hX : EIntegrable X μ) {c : ENNReal} (hc : c ) :
              EIntegrable X (c μ)
              theorem MeasureTheory.eintegrable_map {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} {β : Type u_2} { : MeasurableSpace β} {f : αβ} {g : βEReal} (hf : AEMeasurable f μ) (hg : AEMeasurable g (Measure.map f μ)) :
              theorem MeasureTheory.eintegrable_of_le {α : Type u_1} { : MeasurableSpace α} {f : αEReal} {b : EReal} (hf : ∀ (x : α), f x b) (hb : b ) (P : Measure α) [IsFiniteMeasure P] :
              theorem MeasureTheory.eintegral_lt_top_of_le {α : Type u_1} { : MeasurableSpace α} {f : αEReal} {b : EReal} (hf : ∀ (x : α), f x b) (hb : b ) (P : Measure α) [IsFiniteMeasure P] :
              ∫ᵉ (x : α), f x P <
              @[implicit_reducible]
              noncomputable instance MeasureTheory.instPosPartForallEReal_eValues {α : Type u_1} :
              PosPart (αEReal)
              Equations
              @[implicit_reducible]
              noncomputable instance MeasureTheory.instNegPartForallEReal_eValues {α : Type u_1} :
              NegPart (αEReal)
              Equations
              theorem MeasureTheory.posPartFun_def {α : Type u_1} (f : αEReal) :
              f = fun (x : α) => max (f x) 0
              theorem MeasureTheory.negPartFun_def {α : Type u_1} (f : αEReal) :
              f = fun (x : α) => max (-f x) 0
              @[simp]
              theorem MeasureTheory.posPartFun_nonneg {α : Type u_1} (f : αEReal) (x : α) :
              0 f x
              @[simp]
              theorem MeasureTheory.negPartFun_nonneg {α : Type u_1} (f : αEReal) (x : α) :
              0 f x
              theorem MeasureTheory.posPartFun_sub_negPartFun {α : Type u_1} (f : αEReal) (x : α) :
              f x - f x = f x
              theorem MeasureTheory.posPartFun_eq_zero_or_negPartFun_eq_zero {α : Type u_1} (f : αEReal) (x : α) :
              f x = 0 f x = 0
              theorem MeasureTheory.Measurable.posPartFun {α : Type u_1} { : MeasurableSpace α} {f : αEReal} (hf : Measurable f) :
              Measurable fun (x : α) => f x
              theorem MeasureTheory.Measurable.negPartFun {α : Type u_1} { : MeasurableSpace α} {f : αEReal} (hf : Measurable f) :
              Measurable fun (x : α) => f x
              theorem MeasureTheory.AEMeasurable.posPartFun {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} {f : αEReal} (hf : AEMeasurable f μ) :
              AEMeasurable (fun (x : α) => f x) μ
              theorem MeasureTheory.AEMeasurable.negPartFun {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} {f : αEReal} (hf : AEMeasurable f μ) :
              AEMeasurable (fun (x : α) => f x) μ
              @[simp]
              theorem MeasureTheory.eintegral_of_not_eintegrable {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} {f : αEReal} (hf : ¬EIntegrable f μ) :
              ∫ᵉ (x : α), f x μ =
              theorem MeasureTheory.eintegrable_of_eintegral_ne_bot {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} {f : αEReal} (hf : ∫ᵉ (x : α), f x μ ) :
              @[simp]
              theorem MeasureTheory.eintegral_zero {α : Type u_1} { : MeasurableSpace α} (μ : Measure α) :
              ∫ᵉ (x : α), 0 μ = 0
              @[simp]
              theorem MeasureTheory.eintegral_zero_measure {α : Type u_1} { : MeasurableSpace α} (f : αEReal) :
              ∫ᵉ (x : α), f x 0 = 0
              theorem MeasureTheory.eintegral_congr {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} {f g : αEReal} (h : ∀ (x : α), f x = g x) :
              ∫ᵉ (x : α), f x μ = ∫ᵉ (x : α), g x μ
              theorem MeasureTheory.eintegral_congr_ae {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} {f g : αEReal} (h : ∀ᵐ (x : α) μ, f x = g x) :
              ∫ᵉ (x : α), f x μ = ∫ᵉ (x : α), g x μ

              The extended integral is compatible with almost-everywhere equality.

              theorem MeasureTheory.eintegral_of_nonneg {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} {f : αEReal} (hf : ∀ (x : α), 0 f x) :
              ∫ᵉ (x : α), f x μ = (∫⁻ (x : α), (f x).toENNReal μ)
              theorem MeasureTheory.eintegral_of_ae_nonneg {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} {f : αEReal} (hf : AEMeasurable f μ) (hf_nonneg : ∀ᵐ (x : α) μ, 0 f x) :
              ∫ᵉ (x : α), f x μ = (∫⁻ (x : α), (f x).toENNReal μ)
              theorem MeasureTheory.eintegral_of_nonpos {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} {f : αEReal} (hf : ∀ (x : α), f x 0) :
              ∫ᵉ (x : α), f x μ = -(∫⁻ (x : α), (-f x).toENNReal μ)
              theorem MeasureTheory.eintegral_of_ae_nonpos {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} {f : αEReal} (hf : AEMeasurable f μ) (hf_nonpos : ∀ᵐ (x : α) μ, f x 0) :
              ∫ᵉ (x : α), f x μ = -(∫⁻ (x : α), (-f x).toENNReal μ)
              theorem MeasureTheory.eintegral_nonneg {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} {f : αEReal} (hf : ∀ (x : α), 0 f x) :
              0 ∫ᵉ (x : α), f x μ
              theorem MeasureTheory.eintegral_nonneg' {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} {f : αEReal} (hf_meas : AEMeasurable f μ) (hf : ∀ᵐ (x : α) μ, 0 f x) :
              0 ∫ᵉ (x : α), f x μ
              theorem MeasureTheory.eintegral_nonpos {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} {f : αEReal} (hf : ∀ (x : α), f x 0) :
              ∫ᵉ (x : α), f x μ 0
              theorem MeasureTheory.eintegral_nonpos' {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} {f : αEReal} (hf_meas : AEMeasurable f μ) (hf : ∀ᵐ (x : α) μ, f x 0) :
              ∫ᵉ (x : α), f x μ 0
              theorem MeasureTheory.setEIntegral_measure_zero {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} (s : Set α) (f : αEReal) (hs' : μ s = 0) :
              ∫ᵉ (x : α) in s, f x μ = 0
              @[simp]
              theorem MeasureTheory.eintegral_const {α : Type u_1} { : MeasurableSpace α} (c : EReal) (μ : Measure α) :
              ∫ᵉ (x : α), c μ = c * (μ Set.univ)
              theorem MeasureTheory.eintegral_mono_ae {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} {f g : αEReal} (hfg : f ≤ᶠ[ae μ] g) :
              ∫ᵉ (x : α), f x μ ∫ᵉ (x : α), g x μ

              The extended integral is monotone with respect to almost-everywhere inequality.

              theorem MeasureTheory.eintegral_neg_eq_top_eq_bot {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} {f : αEReal} (hf_neg_top : ∫⁻ (x : α), (-f x).toENNReal μ = ) :
              ∫ᵉ (x : α), f x μ =
              theorem MeasureTheory.eintegral_add_compl {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} {f : αEReal} {A : Set α} (hA : MeasurableSet A) :
              ∫ᵉ (x : α), f x μ = ∫ᵉ (x : α) in A, f x μ + ∫ᵉ (x : α) in A, f x μ
              theorem MeasureTheory.eintegral_mono {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} {f g : αEReal} (hfg : f g) :
              ∫ᵉ (x : α), f x μ ∫ᵉ (x : α), g x μ
              theorem MeasureTheory.ae_ne_bot_of_eintegral_ne_bot {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} {f : αEReal} (hf_meas : AEMeasurable f μ) (hf : ∫ᵉ (x : α), f x μ ) :
              ∀ᵐ (x : α) μ, f x
              theorem MeasureTheory.eintegral_strict_mono_ae {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} {f g : αEReal} ( : μ 0) (hg : AEMeasurable g μ) (hf : AEMeasurable f μ) (hfg : ∀ᵐ (x : α) μ, f x < g x) (hfi : ∫ᵉ (x : α), f x μ < ) (hgi : ∫ᵉ (x : α), g x μ ) :
              ∫ᵉ (x : α), f x μ < ∫ᵉ (x : α), g x μ

              The extended integral is strictly monotone with respect to almost-everywhere strict inequality.

              theorem MeasureTheory.eintegral_strict_mono {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} {f g : αEReal} ( : μ 0) (hg : AEMeasurable g μ) (hf : AEMeasurable f μ) (hfg : ∀ (x : α), f x < g x) (hfi : ∫ᵉ (x : α), f x μ < ) (hgi : ∫ᵉ (x : α), g x μ ) :
              ∫ᵉ (x : α), f x μ < ∫ᵉ (x : α), g x μ
              theorem MeasureTheory.eintegral_sub_of_nonneg_of_eq_zero {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} {f g : αEReal} (hf : ∀ (x : α), 0 f x) (hg : ∀ (x : α), 0 g x) (h_or : ∀ (x : α), f x = 0 g x = 0) :
              ∫ᵉ (x : α), f x - g x μ = ∫ᵉ (x : α), f x μ - ∫ᵉ (x : α), g x μ
              theorem MeasureTheory.eintegral_eq_posPartFun_sub_negPartFun {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} (f : αEReal) :
              ∫ᵉ (x : α), f x μ = ∫ᵉ (x : α), f x μ - ∫ᵉ (x : α), f x μ

              The extended integral decomposes as the difference between the integrals of the positive and negative parts of the function.

              theorem MeasureTheory.eintegral_sub_of_nonneg_of_eq_zero' {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} {f g : αEReal} (hf : ∀ᵐ (x : α) μ, 0 f x) (hg : ∀ᵐ (x : α) μ, 0 g x) (h_or : ∀ᵐ (x : α) μ, f x = 0 g x = 0) :
              ∫ᵉ (x : α), f x - g x μ = ∫ᵉ (x : α), f x μ - ∫ᵉ (x : α), g x μ
              theorem MeasureTheory.eintegral_negPartFun_ne_top {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} {f : αEReal} (hf_bot : ∫ᵉ (x : α), f x μ ) :
              ∫ᵉ (x : α), f x μ
              theorem MeasureTheory.eintegral_posPartFun_ne_top {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} {f : αEReal} (hf_bot : ∫ᵉ (x : α), f x μ ) (hf_top : ∫ᵉ (x : α), f x μ ) :
              ∫ᵉ (x : α), f x μ
              theorem MeasureTheory.ae_ne_top_of_eintegral_ne_top {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} {f : αEReal} (hf_meas : AEMeasurable f μ) (hf_bot : ∫ᵉ (x : α), f x μ ) (hf_top : ∫ᵉ (x : α), f x μ ) :
              ∀ᵐ (x : α) μ, f x
              theorem MeasureTheory.eintegral_eq_integral {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} {f : α} (hf : Integrable f μ) :
              ∫ᵉ (x : α), (f x) μ = ( (x : α), f x μ)

              For Integrable real-valued functions, the extended integral coincides with the standard Bochner integral.

              theorem MeasureTheory.lintegral_enorm_eq_posPartFun_add_negPartFun {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} {f : αEReal} (hf : AEMeasurable f μ) :
              (∫⁻ (x : α), f x‖ₑ μ) = ∫ᵉ (x : α), f x μ + ∫ᵉ (x : α), f x μ
              theorem MeasureTheory.lintegral_enorm_ereal_toReal {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} {f : αEReal} (hf_ne_bot : ∀ᵐ (x : α) μ, f x ) (hf_ne_top : ∀ᵐ (x : α) μ, f x ) :
              ∫⁻ (a : α), (f a).toReal‖ₑ μ = ∫⁻ (a : α), f a‖ₑ μ
              theorem MeasureTheory.integrable_toReal {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} {f : αEReal} (hf_meas : AEMeasurable f μ) (h_int_bot : ∫ᵉ (x : α), f x μ ) (h_int_top : ∫ᵉ (x : α), f x μ ) :
              Integrable (fun (x : α) => (f x).toReal) μ
              theorem MeasureTheory.integrable_ereal_toReal_iff {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} {f : αEReal} (hf_meas : AEMeasurable f μ) (h_bot : ∀ᵐ (x : α) μ, f x ) (h_top : ∀ᵐ (x : α) μ, f x ) :
              Integrable (fun (x : α) => (f x).toReal) μ ∫ᵉ (x : α), f x μ ∫ᵉ (x : α), f x μ
              theorem MeasureTheory.eintegral_eq_integral_toReal {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} {f : αEReal} (hf_meas : AEMeasurable f μ) (h_int_bot : ∫ᵉ (x : α), f x μ ) (h_int_top : ∫ᵉ (x : α), f x μ ) :
              ∫ᵉ (x : α), f x μ = ( (x : α), (f x).toReal μ)

              If the extended integral is finite, then it equals the integral of the real part.

              theorem MeasureTheory.eintegral_eq_lintegral {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} (f : αENNReal) :
              ∫ᵉ (x : α), (f x) μ = (∫⁻ (x : α), f x μ)
              theorem MeasureTheory.lintegral_eq_eintegral {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} (f : αENNReal) :
              ∫⁻ (x : α), f x μ = (∫ᵉ (x : α), (f x) μ).toENNReal
              theorem MeasureTheory.eintegral_mul_const_of_nonneg {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} {f : αEReal} {c : EReal} (hc_bot : c ) (hc_top : c ) (hf : ∀ (x : α), 0 f x) :
              ∫ᵉ (x : α), c * f x μ = c * ∫ᵉ (x : α), f x μ
              theorem MeasureTheory.eintegral_mul_const {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} {f : αEReal} {c : EReal} (hc_bot : c ) (hc_top : c ) (hf : EIntegrable f μ) :
              ∫ᵉ (x : α), c * f x μ = c * ∫ᵉ (x : α), f x μ
              theorem MeasureTheory.eintegral_neg {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} {f : αEReal} (hf : EIntegrable f μ) :
              ∫ᵉ (x : α), -f x μ = -∫ᵉ (x : α), f x μ
              theorem MeasureTheory.eintegral_add_of_nonneg {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} {f g : αEReal} (hf_meas : AEMeasurable f μ) (hf : ∀ (x : α), 0 f x) (hg : ∀ (x : α), 0 g x) :
              ∫ᵉ (x : α), f x + g x μ = ∫ᵉ (x : α), f x μ + ∫ᵉ (x : α), g x μ
              theorem MeasureTheory.eintegral_add_of_nonneg_of_measurable' {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} {f g : αEReal} (hf_meas : Measurable f) (hg_meas : Measurable g) (hf : ∀ᵐ (x : α) μ, 0 f x) (hg : ∀ᵐ (x : α) μ, 0 g x) :
              ∫ᵉ (x : α), f x + g x μ = ∫ᵉ (x : α), f x μ + ∫ᵉ (x : α), g x μ
              theorem MeasureTheory.eintegral_add_of_nonneg' {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} {f g : αEReal} (hf_meas : AEMeasurable f μ) (hg_meas : AEMeasurable g μ) (hf : ∀ᵐ (x : α) μ, 0 f x) (hg : ∀ᵐ (x : α) μ, 0 g x) :
              ∫ᵉ (x : α), f x + g x μ = ∫ᵉ (x : α), f x μ + ∫ᵉ (x : α), g x μ
              theorem MeasureTheory.eintegral_sub_of_nonneg {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} {f g : αEReal} (hf : ∀ (x : α), 0 f x) (hg : ∀ (x : α), 0 g x) (hf_meas : AEMeasurable f μ) (hg_meas : AEMeasurable g μ) (hfg : ∫ᵉ (x : α), min (f x) (g x) μ ) :
              ∫ᵉ (x : α), f x - g x μ = ∫ᵉ (x : α), f x μ - ∫ᵉ (x : α), g x μ
              theorem MeasureTheory.eintegral_add {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} {f g : αEReal} (hf : AEMeasurable f μ) (hg : AEMeasurable g μ) (hf_int : EIntegrable f μ) (hg_int : EIntegrable g μ) (h_ne_bot_1 : ∫ᵉ (x : α), f x μ ∫ᵉ (x : α), g x μ ) (h_ne_bot_2 : ∫ᵉ (x : α), f x μ ∫ᵉ (x : α), g x μ ) :
              ∫ᵉ (x : α), f x + g x μ = ∫ᵉ (x : α), f x μ + ∫ᵉ (x : α), g x μ

              The integral of a sum is the sum of integrals (requires compatibility conditions to avoid ⊤ - ⊤).

              theorem MeasureTheory.eintegral_add' {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} {f g : αEReal} (hf : AEMeasurable f μ) (hg : AEMeasurable g μ) (hg_ne_top : ∫ᵉ (x : α), g x μ ) (hg_ne_bot : ∫ᵉ (x : α), g x μ ) :
              ∫ᵉ (x : α), f x + g x μ = ∫ᵉ (x : α), f x μ + ∫ᵉ (x : α), g x μ
              theorem MeasureTheory.eintegral_sub {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} {f g : αEReal} (hf : EIntegrable f μ) (hf_meas : AEMeasurable f μ) (hg : EIntegrable g μ) (hg_meas : AEMeasurable g μ) (h_ne_top : ∫ᵉ (x : α), f x μ ∫ᵉ (x : α), g x μ ) (h_ne_bot : ∫ᵉ (x : α), f x μ ∫ᵉ (x : α), g x μ ) :
              ∫ᵉ (x : α), f x - g x μ = ∫ᵉ (x : α), f x μ - ∫ᵉ (x : α), g x μ

              The integral of a difference is the difference of integrals (requires compatibility conditions to avoid ⊤ - ⊤).

              theorem MeasureTheory.eintegral_sub' {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} {f g : αEReal} (hf_meas : AEMeasurable f μ) (hg_meas : AEMeasurable g μ) (hg_ne_top : ∫ᵉ (x : α), g x μ ) (hg_ne_bot : ∫ᵉ (x : α), g x μ ) :
              ∫ᵉ (x : α), f x - g x μ = ∫ᵉ (x : α), f x μ - ∫ᵉ (x : α), g x μ
              theorem MeasureTheory.eintegral_sub'' {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} {f g : αEReal} (hf_meas : AEMeasurable f μ) (hg_meas : AEMeasurable g μ) (hf_ne_top : ∫ᵉ (x : α), f x μ ) (hf_ne_bot : ∫ᵉ (x : α), f x μ ) (hg_int : EIntegrable g μ) :
              ∫ᵉ (x : α), f x - g x μ = ∫ᵉ (x : α), f x μ - ∫ᵉ (x : α), g x μ
              theorem MeasureTheory.eintegral_add_ne_bot {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} {f g : αEReal} (hf : AEMeasurable f μ) (hg : AEMeasurable g μ) (hf_int : ∫ᵉ (x : α), f x μ ) (hg_int : ∫ᵉ (x : α), g x μ ) :
              ∫ᵉ (x : α), f x + g x μ
              theorem MeasureTheory.eintegrable_add_of_ne_bot {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} {f g : αEReal} (hf : AEMeasurable f μ) (hg : AEMeasurable g μ) (hf_int : ∫ᵉ (x : α), f x μ ) (hg_int : ∫ᵉ (x : α), g x μ ) :
              EIntegrable (fun (x : α) => f x + g x) μ
              theorem MeasureTheory.eintegral_prod_of_nonneg {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} {β : Type u_2} { : MeasurableSpace β} {ν : Measure β} [SFinite ν] (f : α × βEReal) (hf : AEMeasurable f (μ.prod ν)) (hf_nonneg : ∀ (x : α × β), 0 f x) :
              ∫ᵉ (z : α × β), f z μ.prod ν = ∫ᵉ (x : α), ∫ᵉ (y : β), f (x, y) ν μ
              theorem MeasureTheory.eintegral_map {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} {β : Type u_2} { : MeasurableSpace β} {f : βEReal} {g : αβ} (hf : Measurable f) (hg : Measurable g) :
              ∫ᵉ (a : β), f a Measure.map g μ = ∫ᵉ (a : α), f (g a) μ
              theorem MeasureTheory.eintegral_map' {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} {β : Type u_2} { : MeasurableSpace β} {f : βEReal} {g : αβ} (hf : AEMeasurable f (Measure.map g μ)) (hg : AEMeasurable g μ) :
              ∫ᵉ (a : β), f a Measure.map g μ = ∫ᵉ (a : α), f (g a) μ
              theorem MeasureTheory.eintegral_lintegral_toEReal {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} {β : Type u_2} { : MeasurableSpace β} {m : αMeasure β} {f : βEReal} :
              ∫ᵉ (a : α), (∫⁻ (x : β), (f x).toENNReal m a) μ = (∫⁻ (a : α), ∫⁻ (x : β), (f x).toENNReal m a μ)
              theorem MeasureTheory.eintegral_bind_of_nonneg {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} {β : Type u_2} { : MeasurableSpace β} {m : αMeasure β} {f : βEReal} (hf_nonneg : ∀ (x : β), 0 f x) ( : AEMeasurable m μ) (hf : AEMeasurable f (μ.bind m)) :
              ∫ᵉ (x : β), f x μ.bind m = ∫ᵉ (a : α), ∫ᵉ (x : β), f x m a μ
              theorem MeasureTheory.eintegral_comp_measure {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} {β : Type u_2} { : MeasurableSpace β} {κ : ProbabilityTheory.Kernel α β} {f : βEReal} (hf : Measurable f) (hf_int : EIntegrable f (μ.bind κ)) :
              ∫ᵉ (x : β), f x μ.bind κ = ∫ᵉ (a : α), ∫ᵉ (x : β), f x κ a μ
              theorem MeasureTheory.eintegral_comp_measure_le {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} {β : Type u_2} { : MeasurableSpace β} {κ : ProbabilityTheory.Kernel α β} {f : βEReal} (hf : Measurable f) :
              ∫ᵉ (x : β), f x μ.bind κ ∫ᵉ (a : α), ∫ᵉ (x : β), f x κ a μ
              theorem MeasureTheory.eintegral_add_measure {α : Type u_1} { : MeasurableSpace α} {μ ν : Measure α} (f : αEReal) :
              ∫ᵉ (x : α), f x (μ + ν) = ∫ᵉ (x : α), f x μ + ∫ᵉ (x : α), f x ν
              theorem MeasureTheory.eintegral_smul_measure {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} {c : ENNReal} (hc : c ) (f : αEReal) :
              ∫ᵉ (x : α), f x c μ = c * ∫ᵉ (x : α), f x μ
              @[simp]
              theorem MeasureTheory.eintegral_dirac {α : Type u_2} [MeasurableSpace α] [MeasurableSingletonClass α] {x₀ : α} {f : αEReal} :
              ∫ᵉ (x : α), f x Measure.dirac x₀ = f x₀
              theorem MeasureTheory.eintegral_coe_ennreal_sub {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} {u v : αENNReal} (hu : AEMeasurable u μ) (hv : AEMeasurable v μ) (h : ∫⁻ (x : α), u x μ ∫⁻ (x : α), v x μ ) :
              ∫ᵉ (x : α), (u x) - (v x) μ = (∫⁻ (x : α), u x μ) - (∫⁻ (x : α), v x μ)

              The extended integral of the difference of two ENNReal-valued functions (coerced to EReal) is the difference of their Lebesgue integrals, provided at least one of the integrals is finite.

              theorem MeasureTheory.eintegral_prod {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} {β : Type u_2} { : MeasurableSpace β} {ν : Measure β} [SFinite ν] (f : α × βEReal) (hf : AEMeasurable f (μ.prod ν)) (hf_int : EIntegrable f (μ.prod ν)) :
              ∫ᵉ (z : α × β), f z μ.prod ν = ∫ᵉ (x : α), ∫ᵉ (y : β), f (x, y) ν μ

              Fubini's theorem for extended reals: the integral over the product equals the iterated integral.

              theorem MeasureTheory.eintegral_prod_symm {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} {β : Type u_2} { : MeasurableSpace β} [SFinite μ] {ν : Measure β} [SFinite ν] (f : α × βEReal) (hf : AEMeasurable f (μ.prod ν)) (hf_int : EIntegrable f (μ.prod ν)) :
              ∫ᵉ (z : α × β), f z μ.prod ν = ∫ᵉ (y : β), ∫ᵉ (x : α), f (x, y) μ ν
              theorem MeasureTheory.limsup_eintegral_le {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} {f : αEReal} (hf : ∀ (n : ), Measurable (f n)) {g : αENNReal} (h_bound : ∀ (n : ), EReal.toENNReal f n ≤ᶠ[ae μ] g) (h_fin : ∫⁻ (x : α), g x μ ) (fin_limsup : Filter.limsup (fun (n : ) => (∫⁻ (x : α), (f n x).toENNReal μ)) Filter.atTop Filter.limsup (fun (n : ) => -(∫⁻ (x : α), (-f n x).toENNReal μ)) Filter.atTop ) :
              Filter.limsup (fun (n : ) => ∫ᵉ (x : α), f n x μ) Filter.atTop ∫ᵉ (x : α), Filter.limsup (fun (n : ) => f n x) Filter.atTop μ

              Fatou's lemma on limsup for the extended integral.

              theorem MeasureTheory.eintegral_liminf_le {α : Type u_1} { : MeasurableSpace α} {μ : Measure α} {f : αEReal} (hf : ∀ (n : ), Measurable (f n)) {g : αENNReal} (h_bound : ∀ (n : ), EReal.toENNReal (-f n) ≤ᶠ[ae μ] g) (h_fin : ∫⁻ (x : α), g x μ ) :
              ∫ᵉ (x : α), Filter.liminf (fun (n : ) => f n x) Filter.atTop μ Filter.liminf (fun (n : ) => ∫ᵉ (x : α), f n x μ) Filter.atTop

              Fatou's lemma on liminf for the extended integral.