The Mathlib Handbook

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

The areas / V18. Measure and integration

Mathlib.MeasureTheory.Integral.Bochner.FundThmCalculus

4 declarations. Mathlib docs · Source

Fundamental theorem of calculus for set integrals

This file proves a version of the Fundamental theorem of calculus for set integrals. 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.

theorem Filter.Tendsto.integral_sub_linear_isLittleO_ae E2 #

∀ {X : Type u_1} {E : Type u_2} {ι : Type u_3} [inst : MeasurableSpace X] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace ℝ E] [CompleteSpace E] {μ : MeasureTheory.Measure X} {l : Filter X} [l.IsMeasurablyGenerated]
  {f : X → E} {b : E},
  Filter.Tendsto f (l ⊓ MeasureTheory.ae μ) (nhds b) →
    StronglyMeasurableAtFilter f l μ →
      μ.FiniteAtFilter l →
        ∀ {s : ι → Set X} {li : Filter ι},
          Filter.Tendsto s li l.smallSets →
            ∀ (m : optParam (ι → ℝ) fun i ↦ μ.real (s i)),
              autoParam ((fun i ↦ μ.real (s i)) =ᶠ[li] m) Filter.Tendsto.integral_sub_linear_isLittleO_ae._auto_1 →
                (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 μ.real (s i) in the actual statement.

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

theorem ContinuousWithinAt.integral_sub_linear_isLittleO_ae E2 #

∀ {X : Type u_1} {E : Type u_2} {ι : Type u_3} [inst : MeasurableSpace X] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace ℝ E] [CompleteSpace E] [inst_4 : TopologicalSpace X] [OpensMeasurableSpace X]
  {μ : MeasureTheory.Measure X} [MeasureTheory.IsLocallyFiniteMeasure μ] {x : X} {t : Set X} {f : X → E},
  ContinuousWithinAt f t x →
    MeasurableSet t →
      StronglyMeasurableAtFilter f (nhdsWithin x t) μ →
        ∀ {s : ι → Set X} {li : Filter ι},
          Filter.Tendsto s li (nhdsWithin x t).smallSets →
            ∀ (m : optParam (ι → ℝ) fun i ↦ μ.real (s i)),
              autoParam ((fun i ↦ μ.real (s i)) =ᶠ[li] m) ContinuousWithinAt.integral_sub_linear_isLittleO_ae._auto_1 →
                (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 μ.real (s i) in the actual statement.

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

theorem ContinuousAt.integral_sub_linear_isLittleO_ae E2 #

∀ {X : Type u_1} {E : Type u_2} {ι : Type u_3} [inst : MeasurableSpace X] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace ℝ E] [CompleteSpace E] [inst_4 : TopologicalSpace X] [OpensMeasurableSpace X]
  {μ : MeasureTheory.Measure X} [MeasureTheory.IsLocallyFiniteMeasure μ] {x : X} {f : X → E},
  ContinuousAt f x →
    StronglyMeasurableAtFilter f (nhds x) μ →
      ∀ {s : ι → Set X} {li : Filter ι},
        Filter.Tendsto s li (nhds x).smallSets →
          ∀ (m : optParam (ι → ℝ) fun i ↦ μ.real (s i)),
            autoParam ((fun i ↦ μ.real (s i)) =ᶠ[li] m) ContinuousAt.integral_sub_linear_isLittleO_ae._auto_1 →
              (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 μ.real (s i) in the actual statement.

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

theorem ContinuousOn.integral_sub_linear_isLittleO_ae E2 #

∀ {X : Type u_1} {E : Type u_2} {ι : Type u_3} [inst : MeasurableSpace X] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace ℝ E] [CompleteSpace E] [inst_4 : TopologicalSpace X] [OpensMeasurableSpace X]
  [SecondCountableTopologyEither X E] {μ : MeasureTheory.Measure X} [MeasureTheory.IsLocallyFiniteMeasure μ] {x : X}
  {t : Set X} {f : X → E},
  ContinuousOn f t →
    x ∈ t →
      MeasurableSet t →
        ∀ {s : ι → Set X} {li : Filter ι},
          Filter.Tendsto s li (nhdsWithin x t).smallSets →
            ∀ (m : optParam (ι → ℝ) fun i ↦ μ.real (s i)),
              autoParam ((fun i ↦ μ.real (s i)) =ᶠ[li] m) ContinuousOn.integral_sub_linear_isLittleO_ae._auto_1 →
                (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 μ.real (s i) in the actual statement.

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