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 / V15. Real analysis in one variable

Mathlib.Analysis.Calculus.Deriv.Mul

105 declarations. Mathlib docs · Source

Derivative of f x * g x

In this file we prove formulas for (f x * g x)' and (f x • g x)'.

For a more detailed overview of one-dimensional derivatives in mathlib, see the module docstring of Mathlib/Analysis/Calculus/Deriv/Basic.lean.

Tags

derivative, multiplication

Derivative of bilinear maps

Derivative of the multiplication of a scalar function and a vector function

Derivative of the multiplication of two functions

Derivative of the pointwise composition/application of continuous linear maps

theorem ContinuousLinearMap.precompR.congr_simp E1 #

∀ {𝕜 : Type u_1} {E' : Type u_6} (Eₗ' : Type u_7) {Fₗ' : Type u_11} {Gₗ' : Type u_15} [inst : NontriviallyNormedField 𝕜]
  [inst_1 : AddCommGroup E'] [inst_2 : Module 𝕜 E'] [inst_3 : TopologicalSpace E'] [inst_4 : AddCommGroup Eₗ']
  [inst_5 : Module 𝕜 Eₗ'] [inst_6 : TopologicalSpace Eₗ'] [inst_7 : IsNormableSpace 𝕜 Eₗ'] [inst_8 : AddCommGroup Fₗ']
  [inst_9 : Module 𝕜 Fₗ'] [inst_10 : TopologicalSpace Fₗ'] [inst_11 : IsNormableSpace 𝕜 Fₗ']
  [inst_12 : AddCommGroup Gₗ'] [inst_13 : Module 𝕜 Gₗ'] [inst_14 : TopologicalSpace Gₗ']
  [inst_15 : IsNormableSpace 𝕜 Gₗ'] [inst_16 : IsTopologicalAddGroup Gₗ'] [inst_17 : IsTopologicalAddGroup Fₗ']
  (L L_1 : E' →L[𝕜] Fₗ' →L[𝕜] Gₗ'), L = L_1 → ContinuousLinearMap.precompR Eₗ' L = ContinuousLinearMap.precompR Eₗ' L_1

theorem ContinuousLinearMap.precompL.congr_simp E1 #

∀ {𝕜 : Type u_1} {E' : Type u_6} (Eₗ' : Type u_7) {Fₗ' : Type u_11} {Gₗ' : Type u_15} [inst : NontriviallyNormedField 𝕜]
  [inst_1 : AddCommGroup E'] [inst_2 : Module 𝕜 E'] [inst_3 : TopologicalSpace E'] [inst_4 : AddCommGroup Eₗ']
  [inst_5 : Module 𝕜 Eₗ'] [inst_6 : TopologicalSpace Eₗ'] [inst_7 : IsNormableSpace 𝕜 Eₗ'] [inst_8 : AddCommGroup Fₗ']
  [inst_9 : Module 𝕜 Fₗ'] [inst_10 : TopologicalSpace Fₗ'] [inst_11 : IsNormableSpace 𝕜 Fₗ']
  [inst_12 : AddCommGroup Gₗ'] [inst_13 : Module 𝕜 Gₗ'] [inst_14 : TopologicalSpace Gₗ']
  [inst_15 : IsNormableSpace 𝕜 Gₗ'] [inst_16 : IsNormableSpace 𝕜 E'] [inst_17 : IsTopologicalAddGroup Gₗ']
  [inst_18 : IsTopologicalAddGroup E'] (L L_1 : E' →L[𝕜] Fₗ' →L[𝕜] Gₗ'),
  L = L_1 → ContinuousLinearMap.precompL Eₗ' L = ContinuousLinearMap.precompL Eₗ' L_1

theorem ContinuousLinearMap.hasDerivWithinAt_of_bilinear E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {F : Type v} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type w} [inst_3 : NormedAddCommGroup E] [inst_4 : NormedSpace 𝕜 E] {G : Type u_1}
  [inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace 𝕜 G] {x : 𝕜} {s : Set 𝕜} {B : E →L[𝕜] F →L[𝕜] G} {u : 𝕜 → E}
  {v : 𝕜 → F} {u' : E} {v' : F},
  HasDerivWithinAt u u' s x →
    HasDerivWithinAt v v' s x → HasDerivWithinAt (fun x ↦ (B (u x)) (v x)) ((B (u x)) v' + (B u') (v x)) s x

theorem ContinuousLinearMap.hasDerivAt_of_bilinear E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {F : Type v} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type w} [inst_3 : NormedAddCommGroup E] [inst_4 : NormedSpace 𝕜 E] {G : Type u_1}
  [inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace 𝕜 G] {x : 𝕜} {B : E →L[𝕜] F →L[𝕜] G} {u : 𝕜 → E} {v : 𝕜 → F}
  {u' : E} {v' : F},
  (x ∈ tsupport v → HasDerivAt u u' x) →
    (x ∈ tsupport u → HasDerivAt v v' x) → HasDerivAt (fun x ↦ (B (u x)) (v x)) ((B (u x)) v' + (B u') (v x)) x

theorem ContinuousLinearMap.hasStrictDerivAt_of_bilinear E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {F : Type v} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type w} [inst_3 : NormedAddCommGroup E] [inst_4 : NormedSpace 𝕜 E] {G : Type u_1}
  [inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace 𝕜 G] {x : 𝕜} {B : E →L[𝕜] F →L[𝕜] G} {u : 𝕜 → E} {v : 𝕜 → F}
  {u' : E} {v' : F},
  HasStrictDerivAt u u' x →
    HasStrictDerivAt v v' x → HasStrictDerivAt (fun x ↦ (B (u x)) (v x)) ((B (u x)) v' + (B u') (v x)) x

theorem ContinuousLinearMap.derivWithin_of_bilinear E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {F : Type v} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type w} [inst_3 : NormedAddCommGroup E] [inst_4 : NormedSpace 𝕜 E] {G : Type u_1}
  [inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace 𝕜 G] {x : 𝕜} {s : Set 𝕜} {B : E →L[𝕜] F →L[𝕜] G} {u : 𝕜 → E}
  {v : 𝕜 → F},
  DifferentiableWithinAt 𝕜 u s x →
    DifferentiableWithinAt 𝕜 v s x →
      derivWithin (fun y ↦ (B (u y)) (v y)) s x = (B (u x)) (derivWithin v s x) + (B (derivWithin u s x)) (v x)

theorem ContinuousLinearMap.deriv_of_bilinear E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {F : Type v} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type w} [inst_3 : NormedAddCommGroup E] [inst_4 : NormedSpace 𝕜 E] {G : Type u_1}
  [inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace 𝕜 G] {x : 𝕜} {B : E →L[𝕜] F →L[𝕜] G} {u : 𝕜 → E} {v : 𝕜 → F},
  (x ∈ tsupport v → DifferentiableAt 𝕜 u x) →
    (x ∈ tsupport u → DifferentiableAt 𝕜 v x) →
      deriv (fun y ↦ (B (u y)) (v y)) x = (B (u x)) (deriv v x) + (B (deriv u x)) (v x)

theorem HasDerivWithinAt.fun_smul E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {F : Type v} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {f : 𝕜 → F} {f' : F} {x : 𝕜} {s : Set 𝕜} {𝕜' : Type u_2} [inst_3 : NormedRing 𝕜']
  [inst_4 : NormedAlgebra 𝕜 𝕜'] [inst_5 : Module 𝕜' F] [IsBoundedSMul 𝕜' F] [IsScalarTower 𝕜 𝕜' F] {c : 𝕜 → 𝕜'}
  {c' : 𝕜'},
  HasDerivWithinAt c c' s x → HasDerivWithinAt f f' s x → HasDerivWithinAt (fun i ↦ c i • f i) (c x • f' + c' • f x) s x

Eta-expanded form of HasDerivWithinAt.smul

theorem HasDerivWithinAt.smul E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {F : Type v} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {f : 𝕜 → F} {f' : F} {x : 𝕜} {s : Set 𝕜} {𝕜' : Type u_2} [inst_3 : NormedRing 𝕜']
  [inst_4 : NormedAlgebra 𝕜 𝕜'] [inst_5 : Module 𝕜' F] [IsBoundedSMul 𝕜' F] [IsScalarTower 𝕜 𝕜' F] {c : 𝕜 → 𝕜'}
  {c' : 𝕜'}, HasDerivWithinAt c c' s x → HasDerivWithinAt f f' s x → HasDerivWithinAt (c • f) (c x • f' + c' • f x) s x

theorem HasDerivAt.fun_smul E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {F : Type v} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {f : 𝕜 → F} {f' : F} {x : 𝕜} {𝕜' : Type u_2} [inst_3 : NormedRing 𝕜']
  [inst_4 : NormedAlgebra 𝕜 𝕜'] [inst_5 : Module 𝕜' F] [IsBoundedSMul 𝕜' F] [IsScalarTower 𝕜 𝕜' F] {c : 𝕜 → 𝕜'}
  {c' : 𝕜'}, HasDerivAt c c' x → HasDerivAt f f' x → HasDerivAt (fun i ↦ c i • f i) (c x • f' + c' • f x) x

Eta-expanded form of HasDerivAt.smul

theorem HasDerivAt.smul E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {F : Type v} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {f : 𝕜 → F} {f' : F} {x : 𝕜} {𝕜' : Type u_2} [inst_3 : NormedRing 𝕜']
  [inst_4 : NormedAlgebra 𝕜 𝕜'] [inst_5 : Module 𝕜' F] [IsBoundedSMul 𝕜' F] [IsScalarTower 𝕜 𝕜' F] {c : 𝕜 → 𝕜'}
  {c' : 𝕜'}, HasDerivAt c c' x → HasDerivAt f f' x → HasDerivAt (c • f) (c x • f' + c' • f x) x

theorem HasStrictDerivAt.smul E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {F : Type v} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {f : 𝕜 → F} {f' : F} {x : 𝕜} {𝕜' : Type u_2} [inst_3 : NormedRing 𝕜']
  [inst_4 : NormedAlgebra 𝕜 𝕜'] [inst_5 : Module 𝕜' F] [IsBoundedSMul 𝕜' F] [IsScalarTower 𝕜 𝕜' F] {c : 𝕜 → 𝕜'}
  {c' : 𝕜'}, HasStrictDerivAt c c' x → HasStrictDerivAt f f' x → HasStrictDerivAt (c • f) (c x • f' + c' • f x) x

theorem HasStrictDerivAt.fun_smul E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {F : Type v} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {f : 𝕜 → F} {f' : F} {x : 𝕜} {𝕜' : Type u_2} [inst_3 : NormedRing 𝕜']
  [inst_4 : NormedAlgebra 𝕜 𝕜'] [inst_5 : Module 𝕜' F] [IsBoundedSMul 𝕜' F] [IsScalarTower 𝕜 𝕜' F] {c : 𝕜 → 𝕜'}
  {c' : 𝕜'},
  HasStrictDerivAt c c' x → HasStrictDerivAt f f' x → HasStrictDerivAt (fun i ↦ c i • f i) (c x • f' + c' • f x) x

Eta-expanded form of HasStrictDerivAt.smul

theorem derivWithin_fun_smul E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {F : Type v} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {f : 𝕜 → F} {x : 𝕜} {s : Set 𝕜} {𝕜' : Type u_2} [inst_3 : NormedRing 𝕜']
  [inst_4 : NormedAlgebra 𝕜 𝕜'] [inst_5 : Module 𝕜' F] [IsBoundedSMul 𝕜' F] [IsScalarTower 𝕜 𝕜' F] {c : 𝕜 → 𝕜'},
  DifferentiableWithinAt 𝕜 c s x →
    DifferentiableWithinAt 𝕜 f s x →
      derivWithin (fun y ↦ c y • f y) s x = c x • derivWithin f s x + derivWithin c s x • f x

theorem derivWithin_smul E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {F : Type v} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {f : 𝕜 → F} {x : 𝕜} {s : Set 𝕜} {𝕜' : Type u_2} [inst_3 : NormedRing 𝕜']
  [inst_4 : NormedAlgebra 𝕜 𝕜'] [inst_5 : Module 𝕜' F] [IsBoundedSMul 𝕜' F] [IsScalarTower 𝕜 𝕜' F] {c : 𝕜 → 𝕜'},
  DifferentiableWithinAt 𝕜 c s x →
    DifferentiableWithinAt 𝕜 f s x → derivWithin (c • f) s x = c x • derivWithin f s x + derivWithin c s x • f x

theorem deriv_fun_smul E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {F : Type v} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {f : 𝕜 → F} {x : 𝕜} {𝕜' : Type u_2} [inst_3 : NormedRing 𝕜'] [inst_4 : NormedAlgebra 𝕜 𝕜']
  [inst_5 : Module 𝕜' F] [IsBoundedSMul 𝕜' F] [IsScalarTower 𝕜 𝕜' F] {c : 𝕜 → 𝕜'},
  DifferentiableAt 𝕜 c x → DifferentiableAt 𝕜 f x → deriv (fun y ↦ c y • f y) x = c x • deriv f x + deriv c x • f x

theorem deriv_smul E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {F : Type v} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {f : 𝕜 → F} {x : 𝕜} {𝕜' : Type u_2} [inst_3 : NormedRing 𝕜'] [inst_4 : NormedAlgebra 𝕜 𝕜']
  [inst_5 : Module 𝕜' F] [IsBoundedSMul 𝕜' F] [IsScalarTower 𝕜 𝕜' F] {c : 𝕜 → 𝕜'},
  DifferentiableAt 𝕜 c x → DifferentiableAt 𝕜 f x → deriv (c • f) x = c x • deriv f x + deriv c x • f x

theorem HasStrictDerivAt.smul_const E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {F : Type v} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {x : 𝕜} {𝕜' : Type u_2} [inst_3 : NormedRing 𝕜'] [inst_4 : NormedAlgebra 𝕜 𝕜']
  [inst_5 : Module 𝕜' F] [IsBoundedSMul 𝕜' F] [IsScalarTower 𝕜 𝕜' F] {c : 𝕜 → 𝕜'} {c' : 𝕜'},
  HasStrictDerivAt c c' x → ∀ (f : F), HasStrictDerivAt (fun y ↦ c y • f) (c' • f) x

theorem HasDerivWithinAt.smul_const E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {F : Type v} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {x : 𝕜} {s : Set 𝕜} {𝕜' : Type u_2} [inst_3 : NormedRing 𝕜'] [inst_4 : NormedAlgebra 𝕜 𝕜']
  [inst_5 : Module 𝕜' F] [IsBoundedSMul 𝕜' F] [IsScalarTower 𝕜 𝕜' F] {c : 𝕜 → 𝕜'} {c' : 𝕜'},
  HasDerivWithinAt c c' s x → ∀ (f : F), HasDerivWithinAt (fun y ↦ c y • f) (c' • f) s x

theorem HasDerivAt.smul_const E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {F : Type v} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {x : 𝕜} {𝕜' : Type u_2} [inst_3 : NormedRing 𝕜'] [inst_4 : NormedAlgebra 𝕜 𝕜']
  [inst_5 : Module 𝕜' F] [IsBoundedSMul 𝕜' F] [IsScalarTower 𝕜 𝕜' F] {c : 𝕜 → 𝕜'} {c' : 𝕜'},
  HasDerivAt c c' x → ∀ (f : F), HasDerivAt (fun y ↦ c y • f) (c' • f) x

theorem derivWithin_smul_const E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {F : Type v} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {x : 𝕜} {s : Set 𝕜} {𝕜' : Type u_2} [inst_3 : NormedRing 𝕜'] [inst_4 : NormedAlgebra 𝕜 𝕜']
  [inst_5 : Module 𝕜' F] [IsBoundedSMul 𝕜' F] [IsScalarTower 𝕜 𝕜' F] {c : 𝕜 → 𝕜'},
  DifferentiableWithinAt 𝕜 c s x → ∀ (f : F), derivWithin (fun y ↦ c y • f) s x = derivWithin c s x • f

theorem deriv_smul_const E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {F : Type v} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {x : 𝕜} {𝕜' : Type u_2} [inst_3 : NormedRing 𝕜'] [inst_4 : NormedAlgebra 𝕜 𝕜']
  [inst_5 : Module 𝕜' F] [IsBoundedSMul 𝕜' F] [IsScalarTower 𝕜 𝕜' F] {c : 𝕜 → 𝕜'},
  DifferentiableAt 𝕜 c x → ∀ (f : F), deriv (fun y ↦ c y • f) x = deriv c x • f

theorem HasStrictDerivAt.const_smul E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {F : Type v} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {f : 𝕜 → F} {f' : F} {x : 𝕜} {R : Type u_2} [inst_3 : Monoid R]
  [inst_4 : DistribMulAction R F] [SMulCommClass 𝕜 R F] [ContinuousConstSMul R F] (c : R),
  HasStrictDerivAt f f' x → HasStrictDerivAt (c • f) (c • f') x

theorem HasStrictDerivAt.fun_const_smul E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {F : Type v} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {f : 𝕜 → F} {f' : F} {x : 𝕜} {R : Type u_2} [inst_3 : Monoid R]
  [inst_4 : DistribMulAction R F] [SMulCommClass 𝕜 R F] [ContinuousConstSMul R F] (c : R),
  HasStrictDerivAt f f' x → HasStrictDerivAt (fun i ↦ c • f i) (c • f') x

Eta-expanded form of HasStrictDerivAt.const_smul

theorem HasDerivAtFilter.const_smul E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {F : Type v} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {f : 𝕜 → F} {f' : F} {L : Filter (𝕜 × 𝕜)} {R : Type u_2} [inst_3 : Monoid R]
  [inst_4 : DistribMulAction R F] [SMulCommClass 𝕜 R F] [ContinuousConstSMul R F] (c : R),
  HasDerivAtFilter f f' L → HasDerivAtFilter (c • f) (c • f') L

theorem HasDerivAtFilter.fun_const_smul E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {F : Type v} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {f : 𝕜 → F} {f' : F} {L : Filter (𝕜 × 𝕜)} {R : Type u_2} [inst_3 : Monoid R]
  [inst_4 : DistribMulAction R F] [SMulCommClass 𝕜 R F] [ContinuousConstSMul R F] (c : R),
  HasDerivAtFilter f f' L → HasDerivAtFilter (fun i ↦ c • f i) (c • f') L

Eta-expanded form of HasDerivAtFilter.const_smul

theorem HasDerivWithinAt.fun_const_smul E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {F : Type v} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {f : 𝕜 → F} {f' : F} {x : 𝕜} {s : Set 𝕜} {R : Type u_2} [inst_3 : Monoid R]
  [inst_4 : DistribMulAction R F] [SMulCommClass 𝕜 R F] [ContinuousConstSMul R F] (c : R),
  HasDerivWithinAt f f' s x → HasDerivWithinAt (fun i ↦ c • f i) (c • f') s x

Eta-expanded form of HasDerivWithinAt.const_smul

theorem HasDerivWithinAt.const_smul E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {F : Type v} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {f : 𝕜 → F} {f' : F} {x : 𝕜} {s : Set 𝕜} {R : Type u_2} [inst_3 : Monoid R]
  [inst_4 : DistribMulAction R F] [SMulCommClass 𝕜 R F] [ContinuousConstSMul R F] (c : R),
  HasDerivWithinAt f f' s x → HasDerivWithinAt (c • f) (c • f') s x

theorem HasDerivAt.fun_const_smul E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {F : Type v} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {f : 𝕜 → F} {f' : F} {x : 𝕜} {R : Type u_2} [inst_3 : Monoid R]
  [inst_4 : DistribMulAction R F] [SMulCommClass 𝕜 R F] [ContinuousConstSMul R F] (c : R),
  HasDerivAt f f' x → HasDerivAt (fun i ↦ c • f i) (c • f') x

Eta-expanded form of HasDerivAt.const_smul

theorem HasDerivAt.const_smul E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {F : Type v} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {f : 𝕜 → F} {f' : F} {x : 𝕜} {R : Type u_2} [inst_3 : Monoid R]
  [inst_4 : DistribMulAction R F] [SMulCommClass 𝕜 R F] [ContinuousConstSMul R F] (c : R),
  HasDerivAt f f' x → HasDerivAt (c • f) (c • f') x

theorem derivWithin_fun_const_smul E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {F : Type v} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {f : 𝕜 → F} {x : 𝕜} {s : Set 𝕜} {R : Type u_2} [inst_3 : Monoid R]
  [inst_4 : DistribMulAction R F] [SMulCommClass 𝕜 R F] [ContinuousConstSMul R F] (c : R),
  DifferentiableWithinAt 𝕜 f s x → derivWithin (fun y ↦ c • f y) s x = c • derivWithin f s x

theorem derivWithin_const_smul E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {F : Type v} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {f : 𝕜 → F} {x : 𝕜} {s : Set 𝕜} {R : Type u_2} [inst_3 : Monoid R]
  [inst_4 : DistribMulAction R F] [SMulCommClass 𝕜 R F] [ContinuousConstSMul R F] (c : R),
  DifferentiableWithinAt 𝕜 f s x → derivWithin (c • f) s x = c • derivWithin f s x

theorem derivWithin_fun_const_smul_field E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {F : Type v} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {x : 𝕜} {s : Set 𝕜} {𝕝 : Type u_3} [inst_3 : DivisionSemiring 𝕝] [inst_4 : Module 𝕝 F]
  [SMulCommClass 𝕜 𝕝 F] [ContinuousConstSMul 𝕝 F] (c : 𝕝) (f : 𝕜 → F),
  derivWithin (fun y ↦ c • f y) s x = c • derivWithin f s x

A variant of derivWithin_fun_const_smul without differentiability assumption when the scalar multiplication is by division ring elements.

theorem derivWithin_const_smul_field E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {F : Type v} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {x : 𝕜} {s : Set 𝕜} {𝕝 : Type u_3} [inst_3 : DivisionSemiring 𝕝] [inst_4 : Module 𝕝 F]
  [SMulCommClass 𝕜 𝕝 F] [ContinuousConstSMul 𝕝 F] (c : 𝕝) (f : 𝕜 → F), derivWithin (c • f) s x = c • derivWithin f s x

A variant of derivWithin_const_smul without differentiability assumption when the scalar multiplication is by division ring elements.

theorem deriv_fun_const_smul E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {F : Type v} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {f : 𝕜 → F} {x : 𝕜} {R : Type u_2} [inst_3 : Monoid R] [inst_4 : DistribMulAction R F]
  [SMulCommClass 𝕜 R F] [ContinuousConstSMul R F] (c : R),
  DifferentiableAt 𝕜 f x → deriv (fun y ↦ c • f y) x = c • deriv f x

theorem deriv_const_smul E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {F : Type v} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {f : 𝕜 → F} {x : 𝕜} {R : Type u_2} [inst_3 : Monoid R] [inst_4 : DistribMulAction R F]
  [SMulCommClass 𝕜 R F] [ContinuousConstSMul R F] (c : R), DifferentiableAt 𝕜 f x → deriv (c • f) x = c • deriv f x

theorem deriv_fun_const_smul_field E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {F : Type v} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {x : 𝕜} {𝕝 : Type u_3} [inst_3 : DivisionSemiring 𝕝] [inst_4 : Module 𝕝 F]
  [SMulCommClass 𝕜 𝕝 F] [ContinuousConstSMul 𝕝 F] (c : 𝕝) (f : 𝕜 → F), deriv (fun y ↦ c • f y) x = c • deriv f x

A variant of deriv_fun_const_smul without differentiability assumption when the scalar multiplication is by division ring elements.

theorem deriv_const_smul_field E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {F : Type v} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {x : 𝕜} {𝕝 : Type u_3} [inst_3 : DivisionSemiring 𝕝] [inst_4 : Module 𝕝 F]
  [SMulCommClass 𝕜 𝕝 F] [ContinuousConstSMul 𝕝 F] (c : 𝕝) (f : 𝕜 → F), deriv (c • f) x = c • deriv f x

A variant of deriv_const_smul without differentiability assumption when the scalar multiplication is by division ring elements.

theorem HasDerivWithinAt.mul E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {x : 𝕜} {s : Set 𝕜} {𝔸 : Type u_3} [inst_1 : NormedRing 𝔸]
  [inst_2 : NormedAlgebra 𝕜 𝔸] {c d : 𝕜 → 𝔸} {c' d' : 𝔸},
  HasDerivWithinAt c c' s x → HasDerivWithinAt d d' s x → HasDerivWithinAt (c * d) (c' * d x + c x * d') s x

theorem HasDerivWithinAt.fun_mul E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {x : 𝕜} {s : Set 𝕜} {𝔸 : Type u_3} [inst_1 : NormedRing 𝔸]
  [inst_2 : NormedAlgebra 𝕜 𝔸] {c d : 𝕜 → 𝔸} {c' d' : 𝔸},
  HasDerivWithinAt c c' s x → HasDerivWithinAt d d' s x → HasDerivWithinAt (fun i ↦ c i * d i) (c' * d x + c x * d') s x

Eta-expanded form of HasDerivWithinAt.mul

theorem HasDerivAt.mul E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {x : 𝕜} {𝔸 : Type u_3} [inst_1 : NormedRing 𝔸]
  [inst_2 : NormedAlgebra 𝕜 𝔸] {c d : 𝕜 → 𝔸} {c' d' : 𝔸},
  HasDerivAt c c' x → HasDerivAt d d' x → HasDerivAt (c * d) (c' * d x + c x * d') x

theorem HasDerivAt.fun_mul E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {x : 𝕜} {𝔸 : Type u_3} [inst_1 : NormedRing 𝔸]
  [inst_2 : NormedAlgebra 𝕜 𝔸] {c d : 𝕜 → 𝔸} {c' d' : 𝔸},
  HasDerivAt c c' x → HasDerivAt d d' x → HasDerivAt (fun i ↦ c i * d i) (c' * d x + c x * d') x

Eta-expanded form of HasDerivAt.mul

theorem HasStrictDerivAt.mul E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {x : 𝕜} {𝔸 : Type u_3} [inst_1 : NormedRing 𝔸]
  [inst_2 : NormedAlgebra 𝕜 𝔸] {c d : 𝕜 → 𝔸} {c' d' : 𝔸},
  HasStrictDerivAt c c' x → HasStrictDerivAt d d' x → HasStrictDerivAt (c * d) (c' * d x + c x * d') x

theorem HasStrictDerivAt.fun_mul E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {x : 𝕜} {𝔸 : Type u_3} [inst_1 : NormedRing 𝔸]
  [inst_2 : NormedAlgebra 𝕜 𝔸] {c d : 𝕜 → 𝔸} {c' d' : 𝔸},
  HasStrictDerivAt c c' x → HasStrictDerivAt d d' x → HasStrictDerivAt (fun i ↦ c i * d i) (c' * d x + c x * d') x

Eta-expanded form of HasStrictDerivAt.mul

theorem derivWithin_fun_mul E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {x : 𝕜} {s : Set 𝕜} {𝔸 : Type u_3} [inst_1 : NormedRing 𝔸]
  [inst_2 : NormedAlgebra 𝕜 𝔸] {c d : 𝕜 → 𝔸},
  DifferentiableWithinAt 𝕜 c s x →
    DifferentiableWithinAt 𝕜 d s x →
      derivWithin (fun y ↦ c y * d y) s x = derivWithin c s x * d x + c x * derivWithin d s x

theorem derivWithin_mul E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {x : 𝕜} {s : Set 𝕜} {𝔸 : Type u_3} [inst_1 : NormedRing 𝔸]
  [inst_2 : NormedAlgebra 𝕜 𝔸] {c d : 𝕜 → 𝔸},
  DifferentiableWithinAt 𝕜 c s x →
    DifferentiableWithinAt 𝕜 d s x → derivWithin (c * d) s x = derivWithin c s x * d x + c x * derivWithin d s x

theorem deriv_fun_mul E0 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {x : 𝕜} {𝔸 : Type u_3} [inst_1 : NormedRing 𝔸]
  [inst_2 : NormedAlgebra 𝕜 𝔸] {c d : 𝕜 → 𝔸},
  DifferentiableAt 𝕜 c x → DifferentiableAt 𝕜 d x → deriv (fun y ↦ c y * d y) x = deriv c x * d x + c x * deriv d x

theorem deriv_mul E3 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {x : 𝕜} {𝔸 : Type u_3} [inst_1 : NormedRing 𝔸]
  [inst_2 : NormedAlgebra 𝕜 𝔸] {c d : 𝕜 → 𝔸},
  DifferentiableAt 𝕜 c x → DifferentiableAt 𝕜 d x → deriv (c * d) x = deriv c x * d x + c x * deriv d x

theorem HasDerivWithinAt.mul_const E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {x : 𝕜} {s : Set 𝕜} {𝔸 : Type u_3} [inst_1 : NormedRing 𝔸]
  [inst_2 : NormedAlgebra 𝕜 𝔸] {c : 𝕜 → 𝔸} {c' : 𝔸},
  HasDerivWithinAt c c' s x → ∀ (d : 𝔸), HasDerivWithinAt (fun y ↦ c y * d) (c' * d) s x

theorem HasDerivAt.mul_const E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {x : 𝕜} {𝔸 : Type u_3} [inst_1 : NormedRing 𝔸]
  [inst_2 : NormedAlgebra 𝕜 𝔸] {c : 𝕜 → 𝔸} {c' : 𝔸},
  HasDerivAt c c' x → ∀ (d : 𝔸), HasDerivAt (fun y ↦ c y * d) (c' * d) x

theorem hasDerivAt_mul_const E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {x : 𝕜} (c : 𝕜), HasDerivAt (fun x ↦ x * c) c x

theorem HasStrictDerivAt.mul_const E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {x : 𝕜} {𝔸 : Type u_3} [inst_1 : NormedRing 𝔸]
  [inst_2 : NormedAlgebra 𝕜 𝔸] {c : 𝕜 → 𝔸} {c' : 𝔸},
  HasStrictDerivAt c c' x → ∀ (d : 𝔸), HasStrictDerivAt (fun y ↦ c y * d) (c' * d) x

theorem derivWithin_mul_const E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {x : 𝕜} {s : Set 𝕜} {𝔸 : Type u_3} [inst_1 : NormedRing 𝔸]
  [inst_2 : NormedAlgebra 𝕜 𝔸] {c : 𝕜 → 𝔸},
  DifferentiableWithinAt 𝕜 c s x → ∀ (d : 𝔸), derivWithin (fun y ↦ c y * d) s x = derivWithin c s x * d

theorem derivWithin_mul_const_field E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {x : 𝕜} {s : Set 𝕜} {𝕜' : Type u_2} [inst_1 : NormedDivisionRing 𝕜']
  [inst_2 : NormedAlgebra 𝕜 𝕜'] {v : 𝕜 → 𝕜'} (u : 𝕜'), derivWithin (fun y ↦ v y * u) s x = derivWithin v s x * u

theorem deriv_mul_const E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {x : 𝕜} {𝔸 : Type u_3} [inst_1 : NormedRing 𝔸]
  [inst_2 : NormedAlgebra 𝕜 𝔸] {c : 𝕜 → 𝔸},
  DifferentiableAt 𝕜 c x → ∀ (d : 𝔸), deriv (fun y ↦ c y * d) x = deriv c x * d

theorem deriv_mul_const_field E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {x : 𝕜} {𝕜' : Type u_2} [inst_1 : NormedDivisionRing 𝕜']
  [inst_2 : NormedAlgebra 𝕜 𝕜'] {u : 𝕜 → 𝕜'} (v : 𝕜'), deriv (fun y ↦ u y * v) x = deriv u x * v

theorem deriv_mul_const_field' E0 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {𝕜' : Type u_2} [inst_1 : NormedDivisionRing 𝕜']
  [inst_2 : NormedAlgebra 𝕜 𝕜'] {u : 𝕜 → 𝕜'} (v : 𝕜'), (deriv fun x ↦ u x * v) = fun x ↦ deriv u x * v

theorem HasDerivWithinAt.const_mul E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {x : 𝕜} {s : Set 𝕜} {𝔸 : Type u_3} [inst_1 : NormedRing 𝔸]
  [inst_2 : NormedAlgebra 𝕜 𝔸] {d : 𝕜 → 𝔸} {d' : 𝔸} (c : 𝔸),
  HasDerivWithinAt d d' s x → HasDerivWithinAt (fun y ↦ c * d y) (c * d') s x

theorem HasDerivAt.const_mul E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {x : 𝕜} {𝔸 : Type u_3} [inst_1 : NormedRing 𝔸]
  [inst_2 : NormedAlgebra 𝕜 𝔸] {d : 𝕜 → 𝔸} {d' : 𝔸} (c : 𝔸), HasDerivAt d d' x → HasDerivAt (fun y ↦ c * d y) (c * d') x

theorem hasDerivAt_const_mul E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {x : 𝕜} (c : 𝕜), HasDerivAt (fun y ↦ c * y) c x

theorem HasStrictDerivAt.const_mul E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {x : 𝕜} {𝔸 : Type u_3} [inst_1 : NormedRing 𝔸]
  [inst_2 : NormedAlgebra 𝕜 𝔸] {d : 𝕜 → 𝔸} {d' : 𝔸} (c : 𝔸),
  HasStrictDerivAt d d' x → HasStrictDerivAt (fun y ↦ c * d y) (c * d') x

theorem derivWithin_const_mul E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {x : 𝕜} {s : Set 𝕜} {𝔸 : Type u_3} [inst_1 : NormedRing 𝔸]
  [inst_2 : NormedAlgebra 𝕜 𝔸] {d : 𝕜 → 𝔸} (c : 𝔸),
  DifferentiableWithinAt 𝕜 d s x → derivWithin (fun y ↦ c * d y) s x = c * derivWithin d s x

theorem derivWithin_const_mul_field E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {x : 𝕜} {s : Set 𝕜} {𝕜' : Type u_2} [inst_1 : NormedDivisionRing 𝕜']
  [inst_2 : NormedAlgebra 𝕜 𝕜'] {v : 𝕜 → 𝕜'} (u : 𝕜'), derivWithin (fun y ↦ u * v y) s x = u * derivWithin v s x

A variant of derivWithin_const_mul without differentiability assumption when the scalar multiplication is by division ring elements.

theorem deriv_const_mul E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {x : 𝕜} {𝔸 : Type u_3} [inst_1 : NormedRing 𝔸]
  [inst_2 : NormedAlgebra 𝕜 𝔸] {d : 𝕜 → 𝔸} (c : 𝔸), DifferentiableAt 𝕜 d x → deriv (fun y ↦ c * d y) x = c * deriv d x

theorem deriv_const_mul_field E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {x : 𝕜} {𝕜' : Type u_2} [inst_1 : NormedDivisionRing 𝕜']
  [inst_2 : NormedAlgebra 𝕜 𝕜'] {v : 𝕜 → 𝕜'} (u : 𝕜'), deriv (fun y ↦ u * v y) x = u * deriv v x

A variant of deriv_const_mul without differentiability assumption when the scalar multiplication is by division ring elements.

theorem deriv_const_mul_field' E0 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {𝕜' : Type u_2} [inst_1 : NormedDivisionRing 𝕜']
  [inst_2 : NormedAlgebra 𝕜 𝕜'] {v : 𝕜 → 𝕜'} (u : 𝕜'), (deriv fun x ↦ u * v x) = fun x ↦ u * deriv v x

theorem deriv_const_mul_id E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {x : 𝕜} (c : 𝕜), deriv (fun y ↦ c * y) x = c

theorem deriv_const_mul_id' E0 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] (c : 𝕜), (deriv fun x ↦ c * x) = fun x ↦ c

theorem HasDerivAt.fun_finsetProd E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {x : 𝕜} {ι : Type u_2} [inst_1 : DecidableEq ι] {𝔸' : Type u_3}
  [inst_2 : NormedCommRing 𝔸'] [inst_3 : NormedAlgebra 𝕜 𝔸'] {u : Finset ι} {f : ι → 𝕜 → 𝔸'} {f' : ι → 𝔸'},
  (∀ i ∈ u, HasDerivAt (f i) (f' i) x) →
    HasDerivAt (fun x ↦ ∏ i ∈ u, f i x) (∑ i ∈ u, (∏ j ∈ u.erase i, f j x) • f' i) x

theorem HasDerivAt.finsetProd E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {x : 𝕜} {ι : Type u_2} [inst_1 : DecidableEq ι] {𝔸' : Type u_3}
  [inst_2 : NormedCommRing 𝔸'] [inst_3 : NormedAlgebra 𝕜 𝔸'] {u : Finset ι} {f : ι → 𝕜 → 𝔸'} {f' : ι → 𝔸'},
  (∀ i ∈ u, HasDerivAt (f i) (f' i) x) → HasDerivAt (∏ i ∈ u, f i) (∑ i ∈ u, (∏ j ∈ u.erase i, f j x) • f' i) x

theorem HasDerivWithinAt.fun_finsetProd E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {x : 𝕜} {s : Set 𝕜} {ι : Type u_2} [inst_1 : DecidableEq ι]
  {𝔸' : Type u_3} [inst_2 : NormedCommRing 𝔸'] [inst_3 : NormedAlgebra 𝕜 𝔸'] {u : Finset ι} {f : ι → 𝕜 → 𝔸'}
  {f' : ι → 𝔸'},
  (∀ i ∈ u, HasDerivWithinAt (f i) (f' i) s x) →
    HasDerivWithinAt (fun x ↦ ∏ i ∈ u, f i x) (∑ i ∈ u, (∏ j ∈ u.erase i, f j x) • f' i) s x

theorem HasDerivWithinAt.finsetProd E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {x : 𝕜} {s : Set 𝕜} {ι : Type u_2} [inst_1 : DecidableEq ι]
  {𝔸' : Type u_3} [inst_2 : NormedCommRing 𝔸'] [inst_3 : NormedAlgebra 𝕜 𝔸'] {u : Finset ι} {f : ι → 𝕜 → 𝔸'}
  {f' : ι → 𝔸'},
  (∀ i ∈ u, HasDerivWithinAt (f i) (f' i) s x) →
    HasDerivWithinAt (∏ i ∈ u, f i) (∑ i ∈ u, (∏ j ∈ u.erase i, f j x) • f' i) s x

theorem HasStrictDerivAt.fun_finsetProd E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {x : 𝕜} {ι : Type u_2} [inst_1 : DecidableEq ι] {𝔸' : Type u_3}
  [inst_2 : NormedCommRing 𝔸'] [inst_3 : NormedAlgebra 𝕜 𝔸'] {u : Finset ι} {f : ι → 𝕜 → 𝔸'} {f' : ι → 𝔸'},
  (∀ i ∈ u, HasStrictDerivAt (f i) (f' i) x) →
    HasStrictDerivAt (fun x ↦ ∏ i ∈ u, f i x) (∑ i ∈ u, (∏ j ∈ u.erase i, f j x) • f' i) x

theorem HasStrictDerivAt.finsetProd E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {x : 𝕜} {ι : Type u_2} [inst_1 : DecidableEq ι] {𝔸' : Type u_3}
  [inst_2 : NormedCommRing 𝔸'] [inst_3 : NormedAlgebra 𝕜 𝔸'] {u : Finset ι} {f : ι → 𝕜 → 𝔸'} {f' : ι → 𝔸'},
  (∀ i ∈ u, HasStrictDerivAt (f i) (f' i) x) →
    HasStrictDerivAt (∏ i ∈ u, f i) (∑ i ∈ u, (∏ j ∈ u.erase i, f j x) • f' i) x

theorem deriv_fun_finsetProd E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {x : 𝕜} {ι : Type u_2} [inst_1 : DecidableEq ι] {𝔸' : Type u_3}
  [inst_2 : NormedCommRing 𝔸'] [inst_3 : NormedAlgebra 𝕜 𝔸'] {u : Finset ι} {f : ι → 𝕜 → 𝔸'},
  (∀ i ∈ u, DifferentiableAt 𝕜 (f i) x) →
    deriv (fun x ↦ ∏ i ∈ u, f i x) x = ∑ i ∈ u, (∏ j ∈ u.erase i, f j x) • deriv (f i) x

theorem deriv_finsetProd E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {x : 𝕜} {ι : Type u_2} [inst_1 : DecidableEq ι] {𝔸' : Type u_3}
  [inst_2 : NormedCommRing 𝔸'] [inst_3 : NormedAlgebra 𝕜 𝔸'] {u : Finset ι} {f : ι → 𝕜 → 𝔸'},
  (∀ i ∈ u, DifferentiableAt 𝕜 (f i) x) → deriv (∏ i ∈ u, f i) x = ∑ i ∈ u, (∏ j ∈ u.erase i, f j x) • deriv (f i) x

theorem derivWithin_fun_finsetProd E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {x : 𝕜} {s : Set 𝕜} {ι : Type u_2} [inst_1 : DecidableEq ι]
  {𝔸' : Type u_3} [inst_2 : NormedCommRing 𝔸'] [inst_3 : NormedAlgebra 𝕜 𝔸'] {u : Finset ι} {f : ι → 𝕜 → 𝔸'},
  (∀ i ∈ u, DifferentiableWithinAt 𝕜 (f i) s x) →
    derivWithin (fun x ↦ ∏ i ∈ u, f i x) s x = ∑ i ∈ u, (∏ j ∈ u.erase i, f j x) • derivWithin (f i) s x

theorem derivWithin_finsetProd E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {x : 𝕜} {s : Set 𝕜} {ι : Type u_2} [inst_1 : DecidableEq ι]
  {𝔸' : Type u_3} [inst_2 : NormedCommRing 𝔸'] [inst_3 : NormedAlgebra 𝕜 𝔸'] {u : Finset ι} {f : ι → 𝕜 → 𝔸'},
  (∀ i ∈ u, DifferentiableWithinAt 𝕜 (f i) s x) →
    derivWithin (∏ i ∈ u, f i) s x = ∑ i ∈ u, (∏ j ∈ u.erase i, f j x) • derivWithin (f i) s x

theorem DifferentiableAt.fun_finsetProd E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {x : 𝕜} {ι : Type u_2} {𝔸' : Type u_3} [inst_1 : NormedCommRing 𝔸']
  [inst_2 : NormedAlgebra 𝕜 𝔸'] {u : Finset ι} {f : ι → 𝕜 → 𝔸'},
  (∀ i ∈ u, DifferentiableAt 𝕜 (f i) x) → DifferentiableAt 𝕜 (fun x ↦ ∏ i ∈ u, f i x) x

theorem DifferentiableAt.finsetProd E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {x : 𝕜} {ι : Type u_2} {𝔸' : Type u_3} [inst_1 : NormedCommRing 𝔸']
  [inst_2 : NormedAlgebra 𝕜 𝔸'] {u : Finset ι} {f : ι → 𝕜 → 𝔸'},
  (∀ i ∈ u, DifferentiableAt 𝕜 (f i) x) → DifferentiableAt 𝕜 (∏ i ∈ u, f i) x

theorem DifferentiableWithinAt.fun_finsetProd E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {x : 𝕜} {s : Set 𝕜} {ι : Type u_2} {𝔸' : Type u_3}
  [inst_1 : NormedCommRing 𝔸'] [inst_2 : NormedAlgebra 𝕜 𝔸'] {u : Finset ι} {f : ι → 𝕜 → 𝔸'},
  (∀ i ∈ u, DifferentiableWithinAt 𝕜 (f i) s x) → DifferentiableWithinAt 𝕜 (fun x ↦ ∏ i ∈ u, f i x) s x

theorem DifferentiableWithinAt.finsetProd E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {x : 𝕜} {s : Set 𝕜} {ι : Type u_2} {𝔸' : Type u_3}
  [inst_1 : NormedCommRing 𝔸'] [inst_2 : NormedAlgebra 𝕜 𝔸'] {u : Finset ι} {f : ι → 𝕜 → 𝔸'},
  (∀ i ∈ u, DifferentiableWithinAt 𝕜 (f i) s x) → DifferentiableWithinAt 𝕜 (∏ i ∈ u, f i) s x

theorem DifferentiableOn.fun_finsetProd E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {s : Set 𝕜} {ι : Type u_2} {𝔸' : Type u_3}
  [inst_1 : NormedCommRing 𝔸'] [inst_2 : NormedAlgebra 𝕜 𝔸'] {u : Finset ι} {f : ι → 𝕜 → 𝔸'},
  (∀ i ∈ u, DifferentiableOn 𝕜 (f i) s) → DifferentiableOn 𝕜 (fun x ↦ ∏ i ∈ u, f i x) s

theorem DifferentiableOn.finsetProd E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {s : Set 𝕜} {ι : Type u_2} {𝔸' : Type u_3}
  [inst_1 : NormedCommRing 𝔸'] [inst_2 : NormedAlgebra 𝕜 𝔸'] {u : Finset ι} {f : ι → 𝕜 → 𝔸'},
  (∀ i ∈ u, DifferentiableOn 𝕜 (f i) s) → DifferentiableOn 𝕜 (∏ i ∈ u, f i) s

theorem Differentiable.fun_finsetProd E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {ι : Type u_2} {𝔸' : Type u_3} [inst_1 : NormedCommRing 𝔸']
  [inst_2 : NormedAlgebra 𝕜 𝔸'] {u : Finset ι} {f : ι → 𝕜 → 𝔸'},
  (∀ i ∈ u, Differentiable 𝕜 (f i)) → Differentiable 𝕜 fun x ↦ ∏ i ∈ u, f i x

theorem Differentiable.finsetProd E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {ι : Type u_2} {𝔸' : Type u_3} [inst_1 : NormedCommRing 𝔸']
  [inst_2 : NormedAlgebra 𝕜 𝔸'] {u : Finset ι} {f : ι → 𝕜 → 𝔸'},
  (∀ i ∈ u, Differentiable 𝕜 (f i)) → Differentiable 𝕜 (∏ i ∈ u, f i)

theorem HasDerivAt.div_const E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {x : 𝕜} {𝕜' : Type u_2} [inst_1 : NormedDivisionRing 𝕜']
  [inst_2 : NormedAlgebra 𝕜 𝕜'] {c : 𝕜 → 𝕜'} {c' : 𝕜'},
  HasDerivAt c c' x → ∀ (d : 𝕜'), HasDerivAt (fun x ↦ c x / d) (c' / d) x

theorem HasDerivWithinAt.div_const E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {x : 𝕜} {s : Set 𝕜} {𝕜' : Type u_2} [inst_1 : NormedDivisionRing 𝕜']
  [inst_2 : NormedAlgebra 𝕜 𝕜'] {c : 𝕜 → 𝕜'} {c' : 𝕜'},
  HasDerivWithinAt c c' s x → ∀ (d : 𝕜'), HasDerivWithinAt (fun x ↦ c x / d) (c' / d) s x

theorem HasStrictDerivAt.div_const E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {x : 𝕜} {𝕜' : Type u_2} [inst_1 : NormedDivisionRing 𝕜']
  [inst_2 : NormedAlgebra 𝕜 𝕜'] {c : 𝕜 → 𝕜'} {c' : 𝕜'},
  HasStrictDerivAt c c' x → ∀ (d : 𝕜'), HasStrictDerivAt (fun x ↦ c x / d) (c' / d) x

theorem DifferentiableWithinAt.div_const E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {x : 𝕜} {s : Set 𝕜} {𝕜' : Type u_2} [inst_1 : NormedDivisionRing 𝕜']
  [inst_2 : NormedAlgebra 𝕜 𝕜'] {c : 𝕜 → 𝕜'},
  DifferentiableWithinAt 𝕜 c s x → ∀ (d : 𝕜'), DifferentiableWithinAt 𝕜 (fun x ↦ c x / d) s x

theorem DifferentiableAt.div_const E0 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {x : 𝕜} {𝕜' : Type u_2} [inst_1 : NormedDivisionRing 𝕜']
  [inst_2 : NormedAlgebra 𝕜 𝕜'] {c : 𝕜 → 𝕜'},
  DifferentiableAt 𝕜 c x → ∀ (d : 𝕜'), DifferentiableAt 𝕜 (fun x ↦ c x / d) x

theorem DifferentiableOn.div_const E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {s : Set 𝕜} {𝕜' : Type u_2} [inst_1 : NormedDivisionRing 𝕜']
  [inst_2 : NormedAlgebra 𝕜 𝕜'] {c : 𝕜 → 𝕜'},
  DifferentiableOn 𝕜 c s → ∀ (d : 𝕜'), DifferentiableOn 𝕜 (fun x ↦ c x / d) s

theorem Differentiable.div_const E0 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {𝕜' : Type u_2} [inst_1 : NormedDivisionRing 𝕜']
  [inst_2 : NormedAlgebra 𝕜 𝕜'] {c : 𝕜 → 𝕜'}, Differentiable 𝕜 c → ∀ (d : 𝕜'), Differentiable 𝕜 fun x ↦ c x / d

theorem derivWithin_div_const E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {x : 𝕜} {s : Set 𝕜} {𝕜' : Type u_2} [inst_1 : NormedDivisionRing 𝕜']
  [inst_2 : NormedAlgebra 𝕜 𝕜'] (c : 𝕜 → 𝕜') (d : 𝕜'), derivWithin (fun x ↦ c x / d) s x = derivWithin c s x / d

theorem deriv_div_const E0 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {x : 𝕜} {𝕜' : Type u_2} [inst_1 : NormedDivisionRing 𝕜']
  [inst_2 : NormedAlgebra 𝕜 𝕜'] {c : 𝕜 → 𝕜'} (d : 𝕜'), deriv (fun x ↦ c x / d) x = deriv c x / d

theorem HasStrictDerivAt.clm_comp E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {F : Type v} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type w} [inst_3 : NormedAddCommGroup E] [inst_4 : NormedSpace 𝕜 E] {x : 𝕜}
  {G : Type u_2} [inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace 𝕜 G] {c : 𝕜 → F →L[𝕜] G} {c' : F →L[𝕜] G}
  {d : 𝕜 → E →L[𝕜] F} {d' : E →L[𝕜] F},
  HasStrictDerivAt c c' x → HasStrictDerivAt d d' x → HasStrictDerivAt (fun y ↦ c y ∘SL d y) (c' ∘SL d x + c x ∘SL d') x

theorem HasDerivWithinAt.clm_comp E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {F : Type v} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type w} [inst_3 : NormedAddCommGroup E] [inst_4 : NormedSpace 𝕜 E] {x : 𝕜} {s : Set 𝕜}
  {G : Type u_2} [inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace 𝕜 G] {c : 𝕜 → F →L[𝕜] G} {c' : F →L[𝕜] G}
  {d : 𝕜 → E →L[𝕜] F} {d' : E →L[𝕜] F},
  HasDerivWithinAt c c' s x →
    HasDerivWithinAt d d' s x → HasDerivWithinAt (fun y ↦ c y ∘SL d y) (c' ∘SL d x + c x ∘SL d') s x

theorem HasDerivAt.clm_comp E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {F : Type v} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type w} [inst_3 : NormedAddCommGroup E] [inst_4 : NormedSpace 𝕜 E] {x : 𝕜}
  {G : Type u_2} [inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace 𝕜 G] {c : 𝕜 → F →L[𝕜] G} {c' : F →L[𝕜] G}
  {d : 𝕜 → E →L[𝕜] F} {d' : E →L[𝕜] F},
  HasDerivAt c c' x → HasDerivAt d d' x → HasDerivAt (fun y ↦ c y ∘SL d y) (c' ∘SL d x + c x ∘SL d') x

theorem derivWithin_clm_comp E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {F : Type v} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type w} [inst_3 : NormedAddCommGroup E] [inst_4 : NormedSpace 𝕜 E] {x : 𝕜} {s : Set 𝕜}
  {G : Type u_2} [inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace 𝕜 G] {c : 𝕜 → F →L[𝕜] G} {d : 𝕜 → E →L[𝕜] F},
  DifferentiableWithinAt 𝕜 c s x →
    DifferentiableWithinAt 𝕜 d s x →
      derivWithin (fun y ↦ c y ∘SL d y) s x = derivWithin c s x ∘SL d x + c x ∘SL derivWithin d s x

theorem deriv_clm_comp E1 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {F : Type v} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type w} [inst_3 : NormedAddCommGroup E] [inst_4 : NormedSpace 𝕜 E] {x : 𝕜}
  {G : Type u_2} [inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace 𝕜 G] {c : 𝕜 → F →L[𝕜] G} {d : 𝕜 → E →L[𝕜] F},
  DifferentiableAt 𝕜 c x →
    DifferentiableAt 𝕜 d x → deriv (fun y ↦ c y ∘SL d y) x = deriv c x ∘SL d x + c x ∘SL deriv d x

theorem HasStrictDerivAt.clm_apply E0 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {F : Type v} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {x : 𝕜} {G : Type u_2} [inst_3 : NormedAddCommGroup G] [inst_4 : NormedSpace 𝕜 G]
  {c : 𝕜 → F →L[𝕜] G} {c' : F →L[𝕜] G} {u : 𝕜 → F} {u' : F},
  HasStrictDerivAt c c' x → HasStrictDerivAt u u' x → HasStrictDerivAt (fun y ↦ (c y) (u y)) (c' (u x) + (c x) u') x

theorem HasDerivWithinAt.clm_apply E0 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {F : Type v} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {x : 𝕜} {s : Set 𝕜} {G : Type u_2} [inst_3 : NormedAddCommGroup G]
  [inst_4 : NormedSpace 𝕜 G] {c : 𝕜 → F →L[𝕜] G} {c' : F →L[𝕜] G} {u : 𝕜 → F} {u' : F},
  HasDerivWithinAt c c' s x →
    HasDerivWithinAt u u' s x → HasDerivWithinAt (fun y ↦ (c y) (u y)) (c' (u x) + (c x) u') s x

theorem HasDerivAt.clm_apply E0 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {F : Type v} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {x : 𝕜} {G : Type u_2} [inst_3 : NormedAddCommGroup G] [inst_4 : NormedSpace 𝕜 G]
  {c : 𝕜 → F →L[𝕜] G} {c' : F →L[𝕜] G} {u : 𝕜 → F} {u' : F},
  HasDerivAt c c' x → HasDerivAt u u' x → HasDerivAt (fun y ↦ (c y) (u y)) (c' (u x) + (c x) u') x

theorem derivWithin_clm_apply E0 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {F : Type v} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {x : 𝕜} {s : Set 𝕜} {G : Type u_2} [inst_3 : NormedAddCommGroup G]
  [inst_4 : NormedSpace 𝕜 G] {c : 𝕜 → F →L[𝕜] G} {u : 𝕜 → F},
  DifferentiableWithinAt 𝕜 c s x →
    DifferentiableWithinAt 𝕜 u s x →
      derivWithin (fun y ↦ (c y) (u y)) s x = (derivWithin c s x) (u x) + (c x) (derivWithin u s x)

theorem deriv_clm_apply E0 #

∀ {𝕜 : Type u} [inst : NontriviallyNormedField 𝕜] {F : Type v} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {x : 𝕜} {G : Type u_2} [inst_3 : NormedAddCommGroup G] [inst_4 : NormedSpace 𝕜 G]
  {c : 𝕜 → F →L[𝕜] G} {u : 𝕜 → F},
  DifferentiableAt 𝕜 c x →
    DifferentiableAt 𝕜 u x → deriv (fun y ↦ (c y) (u y)) x = (deriv c x) (u x) + (c x) (deriv u x)