The Mathlib Handbook

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

The areas / V18. Measure and integration

Mathlib.MeasureTheory.Function.JacobianOneDim

20 declarations. Mathlib docs · Source

theorem MeasureTheory.lintegral_image_eq_lintegral_abs_deriv_mul E1 #

∀ {s : Set ℝ} {f f' : ℝ → ℝ},
  MeasurableSet s →
    (∀ x ∈ s, HasDerivWithinAt f (f' x) s x) →
      Set.InjOn f s → ∀ (g : ℝ → ENNReal), ∫⁻ (x : ℝ) in f '' s, g x = ∫⁻ (x : ℝ) in s, ENNReal.ofReal |f' x| * g (f x)

Integrability in the change of variable formula for differentiable functions (one-variable version): if a function f is injective and differentiable on a measurable set s ⊆ ℝ, then the Lebesgue integral of a function g : ℝ → ℝ≥0∞ on f '' s coincides with the Lebesgue integral of |(f' x)| * g ∘ f on s.

theorem MeasureTheory.integrableOn_image_iff_integrableOn_abs_deriv_smul E1 #

∀ {F : Type u_1} [inst : NormedAddCommGroup F] [inst_1 : NormedSpace ℝ F] {s : Set ℝ} {f f' : ℝ → ℝ},
  MeasurableSet s →
    (∀ x ∈ s, HasDerivWithinAt f (f' x) s x) →
      Set.InjOn f s →
        ∀ (g : ℝ → F),
          MeasureTheory.IntegrableOn g (f '' s) MeasureTheory.volume ↔
            MeasureTheory.IntegrableOn (fun x ↦ |f' x| • g (f x)) s MeasureTheory.volume

Integrability in the change of variable formula for differentiable functions (one-variable version): if a function f is injective and differentiable on a measurable set s ⊆ ℝ, then a function g : ℝ → F is integrable on f '' s if and only if |(f' x)| • g ∘ f is integrable on s.

theorem MeasureTheory.integral_image_eq_integral_abs_deriv_smul E1 #

∀ {F : Type u_1} [inst : NormedAddCommGroup F] [inst_1 : NormedSpace ℝ F] {s : Set ℝ} {f f' : ℝ → ℝ},
  MeasurableSet s →
    (∀ x ∈ s, HasDerivWithinAt f (f' x) s x) →
      Set.InjOn f s → ∀ (g : ℝ → F), ∫ (x : ℝ) in f '' s, g x = ∫ (x : ℝ) in s, |f' x| • g (f x)

Change of variable formula for differentiable functions (one-variable version): if a function f is injective and differentiable on a measurable set s ⊆ ℝ, then the Bochner integral of a function g : ℝ → F on f '' s coincides with the integral of |(f' x)| • g ∘ f on s.

theorem MeasureTheory.exists_decomposition_of_monotoneOn_hasDerivWithinAt E1 #

∀ {s : Set ℝ} {f f' : ℝ → ℝ},
  MeasurableSet s →
    MonotoneOn f s →
      (∀ x ∈ s, HasDerivWithinAt f (f' x) s x) →
        ∃ a b c,
          a ∪ (b ∪ c) = s ∧
            MeasurableSet a ∧
              MeasurableSet b ∧
                MeasurableSet c ∧
                  Disjoint a (b ∪ c) ∧
                    Disjoint b c ∧
                      a.Countable ∧ (f '' b).Countable ∧ (∀ x ∈ b, f' x = 0) ∧ (∀ x ∈ c, 0 ≤ f' x) ∧ Set.InjOn f c

Technical structure theorem for monotone differentiable functions.

If a function f is monotone on a measurable set and has a derivative f', one can decompose the set as a disjoint union a ∪ b ∪ c of measurable sets where a is countable (the points which are isolated on the left or on the right, where f' is not well controlled), f is locally constant on b and f' = 0 there (the preimages of the countably many points with several preimages), and f is injective on c with nonnegative derivative (the other points).

theorem MeasureTheory.lintegral_image_eq_lintegral_deriv_mul_of_monotoneOn E1 #

∀ {s : Set ℝ} {f f' : ℝ → ℝ},
  MeasurableSet s →
    (∀ x ∈ s, HasDerivWithinAt f (f' x) s x) →
      MonotoneOn f s → ∀ (u : ℝ → ENNReal), ∫⁻ (x : ℝ) in f '' s, u x = ∫⁻ (x : ℝ) in s, ENNReal.ofReal (f' x) * u (f x)

Change of variable formula for differentiable functions: if a real function f is monotone and differentiable on a measurable set s, then the Lebesgue integral of a function u : ℝ → ℝ≥0∞ on f '' s coincides with the integral of (f' x) * u ∘ f on s. Note that the measurability of f '' s is given by MeasurableSet.image_of_monotoneOn.

theorem MeasureTheory.lintegral_deriv_eq_volume_image_of_monotoneOn E1 #

∀ {s : Set ℝ} {f f' : ℝ → ℝ},
  MeasurableSet s →
    (∀ x ∈ s, HasDerivWithinAt f (f' x) s x) →
      MonotoneOn f s → ∫⁻ (x : ℝ) in s, ENNReal.ofReal (f' x) = MeasureTheory.volume (f '' s)

Change of variable formula for differentiable functions, set version: if a real function f is monotone and differentiable on a measurable set s, then the measure of f '' s is given by the integral of f' x on s . Note that the measurability of f '' s is given by MeasurableSet.image_of_monotoneOn.

theorem MeasureTheory.integrableOn_image_iff_integrableOn_deriv_smul_of_monotoneOn E1 #

∀ {F : Type u_1} [inst : NormedAddCommGroup F] [inst_1 : NormedSpace ℝ F] {s : Set ℝ} {f f' : ℝ → ℝ},
  MeasurableSet s →
    (∀ x ∈ s, HasDerivWithinAt f (f' x) s x) →
      MonotoneOn f s →
        ∀ (g : ℝ → F),
          MeasureTheory.IntegrableOn g (f '' s) MeasureTheory.volume ↔
            MeasureTheory.IntegrableOn (fun x ↦ f' x • g (f x)) s MeasureTheory.volume

Integrability in the change of variable formula for differentiable functions: if a real function f is monotone and differentiable on a measurable set s, then a function g : ℝ → F is integrable on f '' s if and only if f' x • g ∘ f is integrable on s .

theorem MeasureTheory.integral_image_eq_integral_deriv_smul_of_monotoneOn E1 #

∀ {F : Type u_1} [inst : NormedAddCommGroup F] [inst_1 : NormedSpace ℝ F] {s : Set ℝ} {f f' : ℝ → ℝ},
  MeasurableSet s →
    (∀ x ∈ s, HasDerivWithinAt f (f' x) s x) →
      MonotoneOn f s → ∀ (g : ℝ → F), ∫ (x : ℝ) in f '' s, g x = ∫ (x : ℝ) in s, f' x • g (f x)

Change of variable formula for differentiable functions: if a real function f is monotone and differentiable on a measurable set s, then the Bochner integral of a function g : ℝ → F on f '' s coincides with the integral of (f' x) • g ∘ f on s .

theorem MeasureTheory.integral_Icc_deriv_smul_of_deriv_nonneg E1 #

∀ {F : Type u_1} [inst : NormedAddCommGroup F] [inst_1 : NormedSpace ℝ F] {f f' : ℝ → ℝ} {a b : ℝ} {g : ℝ → F},
  ContinuousOn f (Set.Icc a b) →
    (∀ x ∈ Set.Ioo a b, HasDerivAt f (f' x) x) →
      (∀ x ∈ Set.Ioo a b, 0 ≤ f' x) →
        a ≤ b → ∫ (x : ℝ) in Set.Icc a b, f' x • g (f x) = ∫ (u : ℝ) in Set.Icc (f a) (f b), g u

theorem MeasureTheory.integrableOn_Icc_deriv_smul_iff_of_deriv_nonneg E1 #

∀ {F : Type u_1} [inst : NormedAddCommGroup F] [inst_1 : NormedSpace ℝ F] {f f' : ℝ → ℝ} {a b : ℝ} {g : ℝ → F},
  ContinuousOn f (Set.Icc a b) →
    (∀ x ∈ Set.Ioo a b, HasDerivAt f (f' x) x) →
      (∀ x ∈ Set.Ioo a b, 0 ≤ f' x) →
        a ≤ b →
          (MeasureTheory.IntegrableOn (fun x ↦ f' x • g (f x)) (Set.Icc a b) MeasureTheory.volume ↔
            MeasureTheory.IntegrableOn g (Set.Icc (f a) (f b)) MeasureTheory.volume)

theorem MeasureTheory.lintegral_image_eq_lintegral_deriv_mul_of_antitoneOn E1 #

∀ {s : Set ℝ} {f f' : ℝ → ℝ},
  MeasurableSet s →
    (∀ x ∈ s, HasDerivWithinAt f (f' x) s x) →
      AntitoneOn f s →
        ∀ (u : ℝ → ENNReal), ∫⁻ (x : ℝ) in f '' s, u x = ∫⁻ (x : ℝ) in s, ENNReal.ofReal (-f' x) * u (f x)

Change of variable formula for differentiable functions: if a real function f is antitone and differentiable on a measurable set s, then the Lebesgue integral of a function u : ℝ → ℝ≥0∞ on f '' s coincides with the integral of (-f' x) * u ∘ f on s. Note that the measurability of f '' s is given by MeasurableSet.image_of_antitoneOn.

theorem MeasureTheory.lintegral_deriv_eq_volume_image_of_antitoneOn E1 #

∀ {s : Set ℝ} {f f' : ℝ → ℝ},
  MeasurableSet s →
    (∀ x ∈ s, HasDerivWithinAt f (f' x) s x) →
      AntitoneOn f s → ∫⁻ (x : ℝ) in s, ENNReal.ofReal (-f' x) = MeasureTheory.volume (f '' s)

Change of variable formula for differentiable functions, set version: if a real function f is antitone and differentiable on a measurable set s, then the measure of f '' s is given by the integral of -f' x on s . Note that the measurability of f '' s is given by MeasurableSet.image_of_antitoneOn.

theorem MeasureTheory.integrableOn_image_iff_integrableOn_deriv_smul_of_antitoneOn E1 #

∀ {F : Type u_1} [inst : NormedAddCommGroup F] [inst_1 : NormedSpace ℝ F] {s : Set ℝ} {f f' : ℝ → ℝ},
  MeasurableSet s →
    (∀ x ∈ s, HasDerivWithinAt f (f' x) s x) →
      AntitoneOn f s →
        ∀ (g : ℝ → F),
          MeasureTheory.IntegrableOn g (f '' s) MeasureTheory.volume ↔
            MeasureTheory.IntegrableOn (fun x ↦ -f' x • g (f x)) s MeasureTheory.volume

Integrability in the change of variable formula for differentiable functions: if a real function f is antitone and differentiable on a measurable set s, then a function g : ℝ → F is integrable on f '' s if and only if -f' x • g ∘ f is integrable on s .

theorem MeasureTheory.integral_image_eq_integral_deriv_smul_of_antitoneOn E1 #

∀ {F : Type u_1} [inst : NormedAddCommGroup F] [inst_1 : NormedSpace ℝ F] {s : Set ℝ} {f f' : ℝ → ℝ},
  MeasurableSet s →
    (∀ x ∈ s, HasDerivWithinAt f (f' x) s x) →
      AntitoneOn f s → ∀ (g : ℝ → F), ∫ (x : ℝ) in f '' s, g x = ∫ (x : ℝ) in s, -f' x • g (f x)

Change of variable formula for differentiable functions: if a real function f is antitone and differentiable on a measurable set s, then the Bochner integral of a function g : ℝ → F on f '' s coincides with the integral of (-f' x) • g ∘ f on s .

theorem MeasureTheory.integral_Icc_deriv_smul_of_deriv_nonpos E1 #

∀ {F : Type u_1} [inst : NormedAddCommGroup F] [inst_1 : NormedSpace ℝ F] {f f' : ℝ → ℝ} {a b : ℝ} {g : ℝ → F},
  ContinuousOn f (Set.Icc a b) →
    (∀ x ∈ Set.Ioo a b, HasDerivAt f (f' x) x) →
      (∀ x ∈ Set.Ioo a b, f' x ≤ 0) →
        a ≤ b → ∫ (x : ℝ) in Set.Icc a b, f' x • g (f x) = -∫ (u : ℝ) in Set.Icc (f b) (f a), g u

theorem MeasureTheory.integrableOn_Icc_deriv_smul_iff_of_deriv_nonpos E1 #

∀ {F : Type u_1} [inst : NormedAddCommGroup F] [inst_1 : NormedSpace ℝ F] {f f' : ℝ → ℝ} {a b : ℝ} {g : ℝ → F},
  ContinuousOn f (Set.Icc a b) →
    (∀ x ∈ Set.Ioo a b, HasDerivAt f (f' x) x) →
      (∀ x ∈ Set.Ioo a b, f' x ≤ 0) →
        a ≤ b →
          (MeasureTheory.IntegrableOn (fun x ↦ f' x • g (f x)) (Set.Icc a b) MeasureTheory.volume ↔
            MeasureTheory.IntegrableOn g (Set.Icc (f b) (f a)) MeasureTheory.volume)

theorem MeasurableEmbedding.withDensity_ofReal_comap_apply_eq_integral_abs_deriv_mul E1 #

∀ {f : ℝ → ℝ},
  MeasurableEmbedding f →
    ∀ {s : Set ℝ},
      MeasurableSet s →
        ∀ {g : ℝ → ℝ},
          (∀ᵐ (x : ℝ), x ∈ f '' s → 0 ≤ g x) →
            MeasureTheory.IntegrableOn g (f '' s) MeasureTheory.volume →
              ∀ {f' : ℝ → ℝ},
                (∀ x ∈ s, HasDerivWithinAt f (f' x) s x) →
                  (MeasureTheory.Measure.comap f (MeasureTheory.volume.withDensity fun x ↦ ENNReal.ofReal (g x))) s =
                    ENNReal.ofReal (∫ (x : ℝ) in s, |f' x| * g (f x))

theorem MeasurableEquiv.withDensity_ofReal_map_symm_apply_eq_integral_abs_deriv_mul E1 #

∀ (f : ℝ ≃ᵐ ℝ) {s : Set ℝ},
  MeasurableSet s →
    ∀ {g : ℝ → ℝ},
      (∀ᵐ (x : ℝ), x ∈ ⇑f '' s → 0 ≤ g x) →
        MeasureTheory.IntegrableOn g (⇑f '' s) MeasureTheory.volume →
          ∀ {f' : ℝ → ℝ},
            (∀ x ∈ s, HasDerivWithinAt (⇑f) (f' x) s x) →
              (MeasureTheory.Measure.map (⇑f.symm) (MeasureTheory.volume.withDensity fun x ↦ ENNReal.ofReal (g x))) s =
                ENNReal.ofReal (∫ (x : ℝ) in s, |f' x| * g (f x))

theorem MeasurableEmbedding.withDensity_ofReal_comap_apply_eq_integral_abs_deriv_mul' E1 #

∀ {f : ℝ → ℝ},
  MeasurableEmbedding f →
    ∀ {s : Set ℝ},
      MeasurableSet s →
        ∀ {f' : ℝ → ℝ},
          (∀ (x : ℝ), HasDerivAt f (f' x) x) →
            ∀ {g : ℝ → ℝ},
              0 ≤ᵐ[MeasureTheory.volume] g →
                MeasureTheory.Integrable g MeasureTheory.volume →
                  (MeasureTheory.Measure.comap f (MeasureTheory.volume.withDensity fun x ↦ ENNReal.ofReal (g x))) s =
                    ENNReal.ofReal (∫ (x : ℝ) in s, |f' x| * g (f x))

theorem MeasurableEquiv.withDensity_ofReal_map_symm_apply_eq_integral_abs_deriv_mul' E1 #

∀ (f : ℝ ≃ᵐ ℝ) {s : Set ℝ},
  MeasurableSet s →
    ∀ {f' : ℝ → ℝ},
      (∀ (x : ℝ), HasDerivAt (⇑f) (f' x) x) →
        ∀ {g : ℝ → ℝ},
          0 ≤ᵐ[MeasureTheory.volume] g →
            MeasureTheory.Integrable g MeasureTheory.volume →
              (MeasureTheory.Measure.map (⇑f.symm) (MeasureTheory.volume.withDensity fun x ↦ ENNReal.ofReal (g x))) s =
                ENNReal.ofReal (∫ (x : ℝ) in s, |f' x| * g (f x))