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.CurveIntegral.Basic

69 declarations. Mathlib docs · Source

Integral of a 1-form along a path

In this file we define the integral of a 1-form along a path indexed by [0, 1] and prove basic properties of this operation.

The integral ∫ᶜ x in γ, ω x is defined as $\int_0^1 \omega(\gamma(t))(\gamma'(t))$. More precisely, we use

  • Path.extend γ t instead of γ t, because both derivatives and intervalIntegral expect globally defined functions;
  • derivWithin γ.extend (Set.Icc 0 1) t, not deriv γ.extend t, for the derivative, so that it takes meaningful values at t = 0 and t = 1, even though this does not affect the integral.

The argument ω : E → E →L[𝕜] F is a 𝕜-linear 1-form on E taking values in F, where 𝕜 is ℝ or ℂ. The definition does not depend on 𝕜, see curveIntegral_restrictScalars and nearby lemmas. However, the fact that 𝕜 = ℝ is not hardcoded allows us to avoid inserting ContinuousLinearMap.restrictScalars here and there.

Main definitions

  • curveIntegral ω γ, notation ∫ᶜ x in γ, ω x, is the integral of a 1-form ω along a path γ.
  • CurveIntegrable ω γ is the predicate saying that the above integral makes sense.

Main results

We prove that curveIntegral behaves well with respect to

  • operations on Paths, see curveIntegral_refl, curveIntegral_symm, curveIntegral_trans etc;
  • algebraic operations on 1-forms, see curveIntegral_add etc.

We also show that the derivative of fun b ↦ ∫ᶜ x in Path.segment a b, ω x has derivative ω a at b = a. We provide 2 versions of this result: one for derivative (HasFDerivWithinAt) within a convex set and one for HasFDerivAt.

Implementation notes

Naming

In literature, the integral of a function or a 1-form along a path is called “line integral”, “path integral”, “curve integral”, or “curvilinear integral”.

We use the name “curve integral” instead of other names for the following reasons:

  • for many people whose mother tongue is not English, “line integral” sounds like an integral along a straight line;

  • we reserve the name "path integral" for Feynman-style integrals over the space of paths.

Usage of ContinuousLinearMaps for 1-forms

Similarly to the way fderiv uses continuous linear maps while higher order derivatives use continuous multilinear maps, this file uses E → E →L[𝕜] F instead of continuous alternating maps for 1-forms.

Differentiability assumptions

The definitions in this file make sense if the path is a piecewise $C^1$ curve. Poincaré lemma (formalization WIP, see #24019) implies that for a closed 1-form on an open set U, the integral depends on the homotopy class of the path only, thus we can define the integral along a continuous path or an element of the fundamental groupoid of U.

Usage of an extra field

The definitions in this file deal with 𝕜-linear 1-forms. This allows us to avoid using ContinuousLinearMap.restrictScalars in HasFDerivWithinAt.curveIntegral_segment_source and a future formalization of Poincaré lemma.

Operations on paths

Algebraic operations on the 1-form

Derivative of the curve integral w.r.t. the right endpoint

In this section we prove that the integral of ω along [a -[ℝ] b], as a function of b, has derivative ω a at b = a. We provide several versions of this theorem, for HasFDerivWithinAt and HasFDerivAt, as well as for continuity near a point and for continuity on the whole set or space.

Note that we take the derivative at the left endpoint of the segment. Similar facts about the derivative at a different point are true provided that ω is a closed 1-form (formalization WIP, see #24019).

def curveIntegralFun E1 #

{𝕜 : Type u_1} →
  {E : Type u_2} →
    {F : Type u_3} →
      [inst : RCLike 𝕜] →
        [inst_1 : NormedAddCommGroup E] →
          [inst_2 : NormedSpace 𝕜 E] →
            [inst_3 : NormedAddCommGroup F] →
              [inst_4 : NormedSpace 𝕜 F] → {a b : E} → (E → E →L[𝕜] F) → Path a b → ℝ → F

The function t ↦ ω (γ t) (γ' t) which appears in the definition of a curve integral.

This definition is used to factor out common parts of lemmas about CurveIntegrable and curveIntegral.

theorem curveIntegralFun_def' E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {a b : E} (ω : E → E →L[𝕜] F)
  (γ : Path a b) (t : ℝ), curveIntegralFun ω γ t = (ω (γ.extend t)) (derivWithin (⇑γ.extend) unitInterval t)

Alias of _private.Mathlib.MeasureTheory.Integral.CurveIntegral.Basic.0.curveIntegralFun.eq_def.

def CurveIntegrable E1 #

{𝕜 : Type u_1} →
  {E : Type u_2} →
    {F : Type u_3} →
      [inst : RCLike 𝕜] →
        [inst_1 : NormedAddCommGroup E] →
          [inst_2 : NormedSpace 𝕜 E] →
            [inst_3 : NormedAddCommGroup F] → [inst_4 : NormedSpace 𝕜 F] → {a b : E} → (E → E →L[𝕜] F) → Path a b → Prop

A 1-form ω is curve integrable along a path γ, if the function curveIntegralFun ω γ t = ω (γ t) (γ' t) is integrable on [0, 1].

The actual definition uses Path.extend γ, because both interval integrals and derivatives expect globally defined functions.

def curveIntegral E3 #

{𝕜 : Type u_1} →
  {E : Type u_2} →
    {F : Type u_3} →
      [inst : RCLike 𝕜] →
        [inst_1 : NormedAddCommGroup E] →
          [inst_2 : NormedSpace 𝕜 E] →
            [inst_3 : NormedAddCommGroup F] → [inst_4 : NormedSpace 𝕜 F] → {a b : E} → (E → E →L[𝕜] F) → Path a b → F

Integral of a 1-form ω : E → E →L[𝕜] F along a path γ, defined as $\int_0^1 \omega(\gamma(t))(\gamma'(t))$.

The actual definition uses curveIntegralFun which uses Path.extend γ and derivWithin (Path.extend γ) (Set.Icc 0 1) t, because calculus-related definitions in Mathlib expect globally defined functions as arguments.

theorem curveIntegral_def' E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {a b : E} (ω : E → E →L[𝕜] F)
  (γ : Path a b), curveIntegral ω γ = ∫ (t : ℝ) in 0..1, curveIntegralFun ω γ t

Alias of _private.Mathlib.MeasureTheory.Integral.CurveIntegral.Basic.0.curveIntegral.eq_def.

def «term∫ᶜ_In_,_» E1 #

Lean.ParserDescr

Integral of a 1-form ω : E → E →L[𝕜] F along a path γ, defined as $\int_0^1 \omega(\gamma(t))(\gamma'(t))$.

The actual definition uses curveIntegralFun which uses Path.extend γ and derivWithin (Path.extend γ) (Set.Icc 0 1) t, because calculus-related definitions in Mathlib expect globally defined functions as arguments.

theorem curveIntegral_of_not_completeSpace E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {a b : E},
  ¬CompleteSpace F → ∀ (ω : E → E →L[𝕜] F) (γ : Path a b), ∫ᶜ (x : E) in γ, ω x = 0

curve integral is defined using Bochner integral, thus it is defined as zero whenever the codomain is not a complete space.

theorem curveIntegralFun_def E0 #

∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {a b : E}
  [inst_5 : NormedSpace ℝ E] (ω : E → E →L[𝕜] F) (γ : Path a b) (t : ℝ),
  curveIntegralFun ω γ t = (ω (γ.extend t)) (derivWithin (⇑γ.extend) unitInterval t)

theorem curveIntegral_def E0 #

∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {a b : E}
  [inst_5 : NormedSpace ℝ F] (ω : E → E →L[𝕜] F) (γ : Path a b),
  curveIntegral ω γ = ∫ (t : ℝ) in 0..1, curveIntegralFun ω γ t

theorem curveIntegral_eq_intervalIntegral_deriv E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {a b : E}
  [inst_5 : NormedSpace ℝ E] [inst_6 : NormedSpace ℝ F] (ω : E → E →L[𝕜] F) (γ : Path a b),
  ∫ᶜ (x : E) in γ, ω x = ∫ (t : ℝ) in 0..1, (ω (γ.extend t)) (deriv (⇑γ.extend) t)

theorem curveIntegralFun_refl E0 #

∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] (ω : E → E →L[𝕜] F) (a : E),
  curveIntegralFun ω (Path.refl a) = 0

theorem curveIntegral_refl E3 #

∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] (ω : E → E →L[𝕜] F) (a : E),
  ∫ᶜ (x : E) in Path.refl a, ω x = 0

theorem CurveIntegrable.refl E0 #

∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] (ω : E → E →L[𝕜] F) (a : E),
  CurveIntegrable ω (Path.refl a)

theorem curveIntegralFun_cast E0 #

∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {a b c d : E}
  (ω : E → E →L[𝕜] F) (γ : Path a b) (hc : c = a) (hd : d = b), curveIntegralFun ω (γ.cast hc hd) = curveIntegralFun ω γ

theorem curveIntegral_cast E0 #

∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {a b c d : E}
  (ω : E → E →L[𝕜] F) (γ : Path a b) (hc : c = a) (hd : d = b), ∫ᶜ (x : E) in γ.cast hc hd, ω x = ∫ᶜ (x : E) in γ, ω x

theorem curveIntegrable_cast_iff E0 #

∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {a b c d : E}
  {ω : E → E →L[𝕜] F} {γ : Path a b} (hc : c = a) (hd : d = b), CurveIntegrable ω (γ.cast hc hd) ↔ CurveIntegrable ω γ

theorem CurveIntegrable.cast E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {a b c d : E}
  {ω : E → E →L[𝕜] F} {γ : Path a b} (hc : c = a) (hd : d = b), CurveIntegrable ω γ → CurveIntegrable ω (γ.cast hc hd)

Alias of the reverse direction of curveIntegrable_cast_iff.

theorem curveIntegralFun_symm_apply E0 #

∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {a b : E} (ω : E → E →L[𝕜] F)
  (γ : Path a b) (t : ℝ), curveIntegralFun ω γ.symm t = -curveIntegralFun ω γ (1 - t)

theorem curveIntegralFun_symm E0 #

∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {a b : E} (ω : E → E →L[𝕜] F)
  (γ : Path a b), curveIntegralFun ω γ.symm = fun x ↦ (-curveIntegralFun ω γ) (1 - x)

theorem CurveIntegrable.symm E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {a b : E} {ω : E → E →L[𝕜] F}
  {γ : Path a b}, CurveIntegrable ω γ → CurveIntegrable ω γ.symm

theorem curveIntegrable_symm E0 #

∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {a b : E} {ω : E → E →L[𝕜] F}
  {γ : Path a b}, CurveIntegrable ω γ.symm ↔ CurveIntegrable ω γ

theorem curveIntegral_symm E3 #

∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {a b : E} (ω : E → E →L[𝕜] F)
  (γ : Path a b), ∫ᶜ (x : E) in γ.symm, ω x = -∫ᶜ (x : E) in γ, ω x

theorem curveIntegralFun_trans_of_lt_half E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {a b c : E} {t : ℝ}
  (ω : E → E →L[𝕜] F) (γab : Path a b) (γbc : Path b c),
  t < 1 / 2 → curveIntegralFun ω (γab.trans γbc) t = 2 • curveIntegralFun ω γab (2 * t)

theorem curveIntegralFun_trans_aeeq_left E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {a b c : E} (ω : E → E →L[𝕜] F)
  (γab : Path a b) (γbc : Path b c),
  curveIntegralFun ω (γab.trans γbc) =ᵐ[MeasureTheory.volume.restrict (Set.uIoc 0 (1 / 2))] fun t ↦
    2 • curveIntegralFun ω γab (2 * t)

theorem curveIntegralFun_trans_of_half_lt E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {a b c : E} {t : ℝ}
  (ω : E → E →L[𝕜] F) (γab : Path a b) (γbc : Path b c),
  1 / 2 < t → curveIntegralFun ω (γab.trans γbc) t = 2 • curveIntegralFun ω γbc (2 * t - 1)

theorem curveIntegralFun_trans_aeeq_right E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {a b c : E} (ω : E → E →L[𝕜] F)
  (γab : Path a b) (γbc : Path b c),
  curveIntegralFun ω (γab.trans γbc) =ᵐ[MeasureTheory.volume.restrict (Set.uIoc (1 / 2) 1)] fun t ↦
    2 • curveIntegralFun ω γbc (2 * t - 1)

theorem CurveIntegrable.intervalIntegrable_curveIntegralFun_trans_left E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {a b c : E} {ω : E → E →L[𝕜] F}
  {γab : Path a b},
  CurveIntegrable ω γab →
    ∀ (γbc : Path b c), IntervalIntegrable (curveIntegralFun ω (γab.trans γbc)) MeasureTheory.volume 0 (1 / 2)

theorem CurveIntegrable.intervalIntegrable_curveIntegralFun_trans_right E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {a b c : E} {ω : E → E →L[𝕜] F}
  {γbc : Path b c} (γab : Path a b),
  CurveIntegrable ω γbc → IntervalIntegrable (curveIntegralFun ω (γab.trans γbc)) MeasureTheory.volume (1 / 2) 1

theorem CurveIntegrable.trans E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {a b c : E} {ω : E → E →L[𝕜] F}
  {γab : Path a b} {γbc : Path b c}, CurveIntegrable ω γab → CurveIntegrable ω γbc → CurveIntegrable ω (γab.trans γbc)

theorem curveIntegral_trans E3 #

∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {a b c : E} {ω : E → E →L[𝕜] F}
  {γab : Path a b} {γbc : Path b c},
  CurveIntegrable ω γab →
    CurveIntegrable ω γbc → ∫ᶜ (x : E) in γab.trans γbc, ω x = ∫ᶜ (x : E) in γab, ω x + ∫ᶜ (x : E) in γbc, ω x

theorem curveIntegralFun_segment E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] [inst_5 : NormedSpace ℝ E]
  (ω : E → E →L[𝕜] F) (a b : E) {t : ℝ},
  t ∈ unitInterval → curveIntegralFun ω (Path.segment a b) t = (ω ((AffineMap.lineMap a b) t)) (b - a)

theorem curveIntegrable_segment E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {a b : E} {ω : E → E →L[𝕜] F}
  [inst_5 : NormedSpace ℝ E],
  CurveIntegrable ω (Path.segment a b) ↔
    IntervalIntegrable (fun t ↦ (ω ((AffineMap.lineMap a b) t)) (b - a)) MeasureTheory.volume 0 1

theorem curveIntegral_segment E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] [inst_5 : NormedSpace ℝ E]
  [inst_6 : NormedSpace ℝ F] (ω : E → E →L[𝕜] F) (a b : E),
  ∫ᶜ (x : E) in Path.segment a b, ω x = ∫ (t : ℝ) in 0..1, (ω ((AffineMap.lineMap a b) t)) (b - a)

theorem curveIntegral_segment_const E0 #

∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] [inst_5 : NormedSpace ℝ E]
  [CompleteSpace F] (ω : E →L[𝕜] F) (a b : E), ∫ᶜ (x : E) in Path.segment a b, ω = ω (b - a)

theorem norm_curveIntegral_segment_le E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {a b : E} {ω : E → E →L[𝕜] F}
  [inst_5 : NormedSpace ℝ E] {C : ℝ},
  (∀ z ∈ segment ℝ a b, ‖ω z‖ ≤ C) → ‖∫ᶜ (x : E) in Path.segment a b, ω x‖ ≤ C * ‖b - a‖

If ‖ω z‖ ≤ C at all points of the segment [a -[ℝ] b], then the curve integral ∫ᶜ x in .segment a b, ω x has norm at most C * ‖b - a‖.

theorem ContinuousOn.curveIntegrable_of_contDiffOn E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {a b : E} {ω : E → E →L[𝕜] F}
  {γ : Path a b} [inst_5 : NormedSpace ℝ E] {s : Set E},
  ContinuousOn ω s → ContDiffOn ℝ 1 (⇑γ.extend) unitInterval → (∀ (t : ↑unitInterval), γ t ∈ s) → CurveIntegrable ω γ

If a 1-form ω is continuous on a set s, then it is curve integrable along any $C^1$ path in this set.

theorem curveIntegralFun_add E0 #

∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {a b : E}
  {ω₁ ω₂ : E → E →L[𝕜] F} {γ : Path a b}, curveIntegralFun (ω₁ + ω₂) γ = curveIntegralFun ω₁ γ + curveIntegralFun ω₂ γ

theorem CurveIntegrable.add E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {a b : E}
  {ω₁ ω₂ : E → E →L[𝕜] F} {γ : Path a b}, CurveIntegrable ω₁ γ → CurveIntegrable ω₂ γ → CurveIntegrable (ω₁ + ω₂) γ

theorem curveIntegral_add E3 #

∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {a b : E}
  {ω₁ ω₂ : E → E →L[𝕜] F} {γ : Path a b},
  CurveIntegrable ω₁ γ →
    CurveIntegrable ω₂ γ → curveIntegral (ω₁ + ω₂) γ = ∫ᶜ (x : E) in γ, ω₁ x + ∫ᶜ (x : E) in γ, ω₂ x

theorem curveIntegral_fun_add E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {a b : E}
  {ω₁ ω₂ : E → E →L[𝕜] F} {γ : Path a b},
  CurveIntegrable ω₁ γ →
    CurveIntegrable ω₂ γ → ∫ᶜ (x : E) in γ, (ω₁ x + ω₂ x) = ∫ᶜ (x : E) in γ, ω₁ x + ∫ᶜ (x : E) in γ, ω₂ x

theorem curveIntegralFun_zero E0 #

∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {a b : E} {γ : Path a b},
  curveIntegralFun 0 γ = 0

theorem curveIntegralFun_fun_zero E0 #

∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {a b : E} {γ : Path a b},
  curveIntegralFun (fun x ↦ 0) γ = 0

theorem CurveIntegrable.zero E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {a b : E} {γ : Path a b},
  CurveIntegrable 0 γ

theorem CurveIntegrable.fun_zero E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {a b : E} {γ : Path a b},
  CurveIntegrable (fun x ↦ 0) γ

Eta-expanded form of CurveIntegrable.zero

theorem curveIntegral_zero E0 #

∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {a b : E} {γ : Path a b},
  curveIntegral 0 γ = 0

theorem curveIntegral_fun_zero E0 #

∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {a b : E} {γ : Path a b},
  ∫ᶜ (x : E) in γ, 0 = 0

theorem curveIntegralFun_neg E0 #

∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {a b : E} {ω : E → E →L[𝕜] F}
  {γ : Path a b}, curveIntegralFun (-ω) γ = -curveIntegralFun ω γ

theorem CurveIntegrable.fun_neg E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {a b : E} {ω : E → E →L[𝕜] F}
  {γ : Path a b}, CurveIntegrable ω γ → CurveIntegrable (fun i ↦ -ω i) γ

Eta-expanded form of CurveIntegrable.neg

theorem CurveIntegrable.neg E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {a b : E} {ω : E → E →L[𝕜] F}
  {γ : Path a b}, CurveIntegrable ω γ → CurveIntegrable (-ω) γ

theorem curveIntegrable_neg_iff E0 #

∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {a b : E} {ω : E → E →L[𝕜] F}
  {γ : Path a b}, CurveIntegrable (-ω) γ ↔ CurveIntegrable ω γ

theorem curveIntegrable_fun_neg_iff E0 #

∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {a b : E} {ω : E → E →L[𝕜] F}
  {γ : Path a b}, CurveIntegrable (fun x ↦ -ω x) γ ↔ CurveIntegrable ω γ

theorem curveIntegral_neg E0 #

∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {a b : E} {ω : E → E →L[𝕜] F}
  {γ : Path a b}, curveIntegral (-ω) γ = -∫ᶜ (x : E) in γ, ω x

theorem curveIntegral_fun_neg E0 #

∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {a b : E} {ω : E → E →L[𝕜] F}
  {γ : Path a b}, ∫ᶜ (x : E) in γ, -ω x = -∫ᶜ (x : E) in γ, ω x

theorem curveIntegralFun_sub E0 #

∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {a b : E}
  {ω₁ ω₂ : E → E →L[𝕜] F} {γ : Path a b}, curveIntegralFun (ω₁ - ω₂) γ = curveIntegralFun ω₁ γ - curveIntegralFun ω₂ γ

theorem CurveIntegrable.sub E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {a b : E}
  {ω₁ ω₂ : E → E →L[𝕜] F} {γ : Path a b}, CurveIntegrable ω₁ γ → CurveIntegrable ω₂ γ → CurveIntegrable (ω₁ - ω₂) γ

theorem curveIntegral_sub E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {a b : E}
  {ω₁ ω₂ : E → E →L[𝕜] F} {γ : Path a b},
  CurveIntegrable ω₁ γ →
    CurveIntegrable ω₂ γ → curveIntegral (ω₁ - ω₂) γ = ∫ᶜ (x : E) in γ, ω₁ x - ∫ᶜ (x : E) in γ, ω₂ x

theorem curveIntegral_fun_sub E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {a b : E}
  {ω₁ ω₂ : E → E →L[𝕜] F} {γ : Path a b},
  CurveIntegrable ω₁ γ →
    CurveIntegrable ω₂ γ → ∫ᶜ (x : E) in γ, (ω₁ x - ω₂ x) = ∫ᶜ (x : E) in γ, ω₁ x - ∫ᶜ (x : E) in γ, ω₂ x

theorem curveIntegralFun_restrictScalars E0 #

∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {a b : E} {ω : E → E →L[𝕜] F}
  {γ : Path a b} {𝕝 : Type u_4} [inst_5 : RCLike 𝕝] [inst_6 : NormedSpace 𝕝 F] [inst_7 : NormedSpace 𝕝 E]
  [inst_8 : LinearMap.CompatibleSMul E F 𝕝 𝕜],
  curveIntegralFun (fun t ↦ ContinuousLinearMap.restrictScalars 𝕝 (ω t)) γ = curveIntegralFun ω γ

theorem curveIntegrable_restrictScalars_iff E0 #

∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {a b : E} {ω : E → E →L[𝕜] F}
  {γ : Path a b} {𝕝 : Type u_4} [inst_5 : RCLike 𝕝] [inst_6 : NormedSpace 𝕝 F] [inst_7 : NormedSpace 𝕝 E]
  [inst_8 : LinearMap.CompatibleSMul E F 𝕝 𝕜],
  CurveIntegrable (fun t ↦ ContinuousLinearMap.restrictScalars 𝕝 (ω t)) γ ↔ CurveIntegrable ω γ

theorem curveIntegral_restrictScalars E0 #

∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {a b : E} {ω : E → E →L[𝕜] F}
  {γ : Path a b} {𝕝 : Type u_4} [inst_5 : RCLike 𝕝] [inst_6 : NormedSpace 𝕝 F] [inst_7 : NormedSpace 𝕝 E]
  [inst_8 : LinearMap.CompatibleSMul E F 𝕝 𝕜],
  ∫ᶜ (x : E) in γ, ContinuousLinearMap.restrictScalars 𝕝 (ω x) = ∫ᶜ (x : E) in γ, ω x

theorem curveIntegralFun_smul E0 #

∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {a b : E} {ω : E → E →L[𝕜] F}
  {γ : Path a b} {𝕝 : Type u_4} [inst_5 : RCLike 𝕝] [inst_6 : NormedSpace 𝕝 F] [inst_7 : SMulCommClass 𝕜 𝕝 F] {c : 𝕝},
  curveIntegralFun (c • ω) γ = c • curveIntegralFun ω γ

theorem CurveIntegrable.smul E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {a b : E} {ω : E → E →L[𝕜] F}
  {γ : Path a b} {𝕝 : Type u_4} [inst_5 : RCLike 𝕝] [inst_6 : NormedSpace 𝕝 F] [inst_7 : SMulCommClass 𝕜 𝕝 F] {c : 𝕝},
  CurveIntegrable ω γ → CurveIntegrable (c • ω) γ

theorem curveIntegrable_smul_iff E0 #

∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {a b : E} {ω : E → E →L[𝕜] F}
  {γ : Path a b} {𝕝 : Type u_4} [inst_5 : RCLike 𝕝] [inst_6 : NormedSpace 𝕝 F] [inst_7 : SMulCommClass 𝕜 𝕝 F] {c : 𝕝},
  CurveIntegrable (c • ω) γ ↔ c = 0 ∨ CurveIntegrable ω γ

theorem curveIntegral_smul E0 #

∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {a b : E} {ω : E → E →L[𝕜] F}
  {γ : Path a b} {𝕝 : Type u_4} [inst_5 : RCLike 𝕝] [inst_6 : NormedSpace 𝕝 F] [inst_7 : SMulCommClass 𝕜 𝕝 F] {c : 𝕝},
  curveIntegral (c • ω) γ = c • curveIntegral ω γ

theorem curveIntegral_fun_smul E0 #

∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {a b : E} {ω : E → E →L[𝕜] F}
  {γ : Path a b} {𝕝 : Type u_4} [inst_5 : RCLike 𝕝] [inst_6 : NormedSpace 𝕝 F] [inst_7 : SMulCommClass 𝕜 𝕝 F] {c : 𝕝},
  ∫ᶜ (x : E) in γ, c • ω x = c • ∫ᶜ (x : E) in γ, ω x

theorem HasFDerivWithinAt.curveIntegral_segment_source' E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace ℝ E] [inst_3 : NormedSpace 𝕜 E] [inst_4 : NormedAddCommGroup F] [inst_5 : NormedSpace 𝕜 F]
  [CompleteSpace F] {a : E} {s : Set E} {ω : E → E →L[𝕜] F},
  Convex ℝ s →
    (∀ᶠ (x : E) in nhdsWithin a s, ContinuousWithinAt ω s x) →
      a ∈ s → HasFDerivWithinAt (fun x ↦ ∫ᶜ (x : E) in Path.segment a x, ω x) (ω a) s a

The integral of ω along [a -[ℝ] b], as a function of b, has derivative ω a at b = a. This is a HasFDerivWithinAt version assuming that ω is continuous within a convex set s in a neighborhood of a within s.

theorem HasFDerivWithinAt.curveIntegral_segment_source E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace ℝ E] [inst_3 : NormedSpace 𝕜 E] [inst_4 : NormedAddCommGroup F] [inst_5 : NormedSpace 𝕜 F]
  [CompleteSpace F] {a : E} {s : Set E} {ω : E → E →L[𝕜] F},
  Convex ℝ s → ContinuousOn ω s → a ∈ s → HasFDerivWithinAt (fun x ↦ ∫ᶜ (x : E) in Path.segment a x, ω x) (ω a) s a

The integral of ω along [a -[ℝ] b], as a function of b, has derivative ω a at b = a. This is a HasFDerivWithinAt version assuming that ω is continuous on s.

theorem HasFDerivAt.curveIntegral_segment_source' E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace ℝ E] [inst_3 : NormedSpace 𝕜 E] [inst_4 : NormedAddCommGroup F] [inst_5 : NormedSpace 𝕜 F]
  [CompleteSpace F] {a : E} {ω : E → E →L[𝕜] F},
  (∀ᶠ (z : E) in nhds a, ContinuousAt ω z) → HasFDerivAt (fun x ↦ ∫ᶜ (x : E) in Path.segment a x, ω x) (ω a) a

The integral of ω along [a -[ℝ] b], as a function of b, has derivative ω a at b = a. This is a HasFDerivAt version assuming that ω is continuous in a neighborhood of a.

theorem HasFDerivAt.curveIntegral_segment_source E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace ℝ E] [inst_3 : NormedSpace 𝕜 E] [inst_4 : NormedAddCommGroup F] [inst_5 : NormedSpace 𝕜 F]
  [CompleteSpace F] {a : E} {ω : E → E →L[𝕜] F},
  Continuous ω → HasFDerivAt (fun x ↦ ∫ᶜ (x : E) in Path.segment a x, ω x) (ω a) a

The integral of ω along [a -[ℝ] b], as a function of b, has derivative ω a at b = a. This is a HasFDerivAt version assuming that ω is continuous on the whole space.