mathlib documentation

analysis.calculus.fderiv

The FrΓ©chet derivative #

Let E and F be normed spaces, f : E β†’ F, and f' : E β†’L[π•œ] F a continuous π•œ-linear map, where π•œ is a non-discrete normed field. Then

has_fderiv_within_at f f' s x

says that f has derivative f' at x, where the domain of interest is restricted to s. We also have

has_fderiv_at f f' x := has_fderiv_within_at f f' x univ

Finally,

has_strict_fderiv_at f f' x

means that f : E β†’ F has derivative f' : E β†’L[π•œ] F in the sense of strict differentiability, i.e., f y - f z - f'(y - z) = o(y - z) as y, z β†’ x. This notion is used in the inverse function theorem, and is defined here only to avoid proving theorems like is_bounded_bilinear_map.has_fderiv_at twice: first for has_fderiv_at, then for has_strict_fderiv_at.

Main results #

In addition to the definition and basic properties of the derivative, this file contains the usual formulas (and existence assertions) for the derivative of

For most binary operations we also define const_op and op_const theorems for the cases when the first or second argument is a constant. This makes writing chains of has_deriv_at's easier, and they more frequently lead to the desired result.

One can also interpret the derivative of a function f : π•œ β†’ E as an element of E (by identifying a linear function from π•œ to E with its value at 1). Results on the FrΓ©chet derivative are translated to this more elementary point of view on the derivative in the file deriv.lean. The derivative of polynomials is handled there, as it is naturally one-dimensional.

The simplifier is set up to prove automatically that some functions are differentiable, or differentiable at a point (but not differentiable on a set or within a set at a point, as checking automatically that the good domains are mapped one to the other when using composition is not something the simplifier can easily do). This means that one can write example (x : ℝ) : differentiable ℝ (Ξ» x, sin (exp (3 + x^2)) - 5 * cos x) := by simp. If there are divisions, one needs to supply to the simplifier proofs that the denominators do not vanish, as in

example (x : ℝ) (h : 1 + sin x β‰  0) : differentiable_at ℝ (Ξ» x, exp x / (1 + sin x)) x :=
by simp [h]

Of course, these examples only work once exp, cos and sin have been shown to be differentiable, in analysis.special_functions.trigonometric.

The simplifier is not set up to compute the FrΓ©chet derivative of maps (as these are in general complicated multidimensional linear maps), but it will compute one-dimensional derivatives, see deriv.lean.

Implementation details #

The derivative is defined in terms of the is_o relation, but also characterized in terms of the tendsto relation.

We also introduce predicates differentiable_within_at π•œ f s x (where π•œ is the base field, f the function to be differentiated, x the point at which the derivative is asserted to exist, and s the set along which the derivative is defined), as well as differentiable_at π•œ f x, differentiable_on π•œ f s and differentiable π•œ f to express the existence of a derivative.

To be able to compute with derivatives, we write fderiv_within π•œ f s x and fderiv π•œ f x for some choice of a derivative if it exists, and the zero function otherwise. This choice only behaves well along sets for which the derivative is unique, i.e., those for which the tangent directions span a dense subset of the whole space. The predicates unique_diff_within_at s x and unique_diff_on s, defined in tangent_cone.lean express this property. We prove that indeed they imply the uniqueness of the derivative. This is satisfied for open subsets, and in particular for univ. This uniqueness only holds when the field is non-discrete, which we request at the very beginning: otherwise, a derivative can be defined, but it has no interesting properties whatsoever.

To make sure that the simplifier can prove automatically that functions are differentiable, we tag many lemmas with the simp attribute, for instance those saying that the sum of differentiable functions is differentiable, as well as their product, their cartesian product, and so on. A notable exception is the chain rule: we do not mark as a simp lemma the fact that, if f and g are differentiable, then their composition also is: simp would always be able to match this lemma, by taking f or g to be the identity. Instead, for every reasonable function (say, exp), we add a lemma that if f is differentiable then so is (Ξ» x, exp (f x)). This means adding some boilerplate lemmas, but these can also be useful in their own right.

Tests for this ability of the simplifier (with more examples) are provided in tests/differentiable.lean.

Tags #

derivative, differentiable, FrΓ©chet, calculus

def has_fderiv_at_filter {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] (f : E β†’ F) (f' : E β†’L[π•œ] F) (x : E) (L : filter E) :
Prop

A function f has the continuous linear map f' as derivative along the filter L if f x' = f x + f' (x' - x) + o (x' - x) when x' converges along the filter L. This definition is designed to be specialized for L = 𝓝 x (in has_fderiv_at), giving rise to the usual notion of FrΓ©chet derivative, and for L = 𝓝[s] x (in has_fderiv_within_at), giving rise to the notion of FrΓ©chet derivative along the set s.

Equations
def has_fderiv_within_at {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] (f : E β†’ F) (f' : E β†’L[π•œ] F) (s : set E) (x : E) :
Prop

A function f has the continuous linear map f' as derivative at x within a set s if f x' = f x + f' (x' - x) + o (x' - x) when x' tends to x inside s.

Equations
def has_fderiv_at {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] (f : E β†’ F) (f' : E β†’L[π•œ] F) (x : E) :
Prop

A function f has the continuous linear map f' as derivative at x if f x' = f x + f' (x' - x) + o (x' - x) when x' tends to x.

Equations
def has_strict_fderiv_at {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] (f : E β†’ F) (f' : E β†’L[π•œ] F) (x : E) :
Prop

A function f has derivative f' at a in the sense of strict differentiability if f x - f y - f' (x - y) = o(x - y) as x, y β†’ a. This form of differentiability is required, e.g., by the inverse function theorem. Any C^1 function on a vector space over ℝ is strictly differentiable but this definition works, e.g., for vector spaces over p-adic numbers.

Equations
def differentiable_within_at (π•œ : Type u_1) [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] (f : E β†’ F) (s : set E) (x : E) :
Prop

A function f is differentiable at a point x within a set s if it admits a derivative there (possibly non-unique).

Equations
def differentiable_at (π•œ : Type u_1) [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] (f : E β†’ F) (x : E) :
Prop

A function f is differentiable at a point x if it admits a derivative there (possibly non-unique).

Equations
noncomputable def fderiv_within (π•œ : Type u_1) [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] (f : E β†’ F) (s : set E) (x : E) :
E β†’L[π•œ] F

If f has a derivative at x within s, then fderiv_within π•œ f s x is such a derivative. Otherwise, it is set to 0.

Equations
noncomputable def fderiv (π•œ : Type u_1) [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] (f : E β†’ F) (x : E) :
E β†’L[π•œ] F

If f has a derivative at x, then fderiv π•œ f x is such a derivative. Otherwise, it is set to 0.

Equations
def differentiable_on (π•œ : Type u_1) [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] (f : E β†’ F) (s : set E) :
Prop

differentiable_on π•œ f s means that f is differentiable within s at any point of s.

Equations
def differentiable (π•œ : Type u_1) [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] (f : E β†’ F) :
Prop

differentiable π•œ f means that f is differentiable at any point.

Equations
theorem fderiv_within_zero_of_not_differentiable_within_at {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {x : E} {s : set E} (h : Β¬differentiable_within_at π•œ f s x) :
fderiv_within π•œ f s x = 0
theorem fderiv_zero_of_not_differentiable_at {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {x : E} (h : Β¬differentiable_at π•œ f x) :
fderiv π•œ f x = 0
theorem has_fderiv_within_at.lim {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {f' : E β†’L[π•œ] F} {x : E} {s : set E} (h : has_fderiv_within_at f f' s x) {Ξ± : Type u_4} (l : filter Ξ±) {c : Ξ± β†’ π•œ} {d : Ξ± β†’ E} {v : E} (dtop : βˆ€αΆ  (n : Ξ±) in l, x + d n ∈ s) (clim : filter.tendsto (Ξ» (n : Ξ±), βˆ₯c nβˆ₯) l filter.at_top) (cdlim : filter.tendsto (Ξ» (n : Ξ±), c n β€’ d n) l (nhds v)) :
filter.tendsto (Ξ» (n : Ξ±), c n β€’ (f (x + d n) - f x)) l (nhds (⇑f' v))

If a function f has a derivative f' at x, a rescaled version of f around x converges to f', i.e., n (f (x + (1/n) v) - f x) converges to f' v. More generally, if c n tends to infinity and c n * d n tends to v, then c n * (f (x + d n) - f x) tends to f' v. This lemma expresses this fact, for functions having a derivative within a set. Its specific formulation is useful for tangent cone related discussions.

theorem has_fderiv_within_at.unique_on {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {f' f₁' : E β†’L[π•œ] F} {x : E} {s : set E} (hf : has_fderiv_within_at f f' s x) (hg : has_fderiv_within_at f f₁' s x) :
set.eq_on ⇑f' ⇑f₁' (tangent_cone_at π•œ s x)

If f' and f₁' are two derivatives of f within s at x, then they are equal on the tangent cone to s at x

theorem unique_diff_within_at.eq {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {f' f₁' : E β†’L[π•œ] F} {x : E} {s : set E} (H : unique_diff_within_at π•œ s x) (hf : has_fderiv_within_at f f' s x) (hg : has_fderiv_within_at f f₁' s x) :
f' = f₁'

unique_diff_within_at achieves its goal: it implies the uniqueness of the derivative.

theorem unique_diff_on.eq {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {f' f₁' : E β†’L[π•œ] F} {x : E} {s : set E} (H : unique_diff_on π•œ s) (hx : x ∈ s) (h : has_fderiv_within_at f f' s x) (h₁ : has_fderiv_within_at f f₁' s x) :
f' = f₁'

Basic properties of the derivative #

theorem has_fderiv_at_filter_iff_tendsto {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {f' : E β†’L[π•œ] F} {x : E} {L : filter E} :
has_fderiv_at_filter f f' x L ↔ filter.tendsto (Ξ» (x' : E), βˆ₯x' - xβˆ₯⁻¹ * βˆ₯f x' - f x - ⇑f' (x' - x)βˆ₯) L (nhds 0)
theorem has_fderiv_within_at_iff_tendsto {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {f' : E β†’L[π•œ] F} {x : E} {s : set E} :
theorem has_fderiv_at_iff_tendsto {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {f' : E β†’L[π•œ] F} {x : E} :
has_fderiv_at f f' x ↔ filter.tendsto (Ξ» (x' : E), βˆ₯x' - xβˆ₯⁻¹ * βˆ₯f x' - f x - ⇑f' (x' - x)βˆ₯) (nhds x) (nhds 0)
theorem has_fderiv_at_iff_is_o_nhds_zero {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {f' : E β†’L[π•œ] F} {x : E} :
has_fderiv_at f f' x ↔ (Ξ» (h : E), f (x + h) - f x - ⇑f' h) =o[nhds 0] Ξ» (h : E), h
theorem has_fderiv_at.le_of_lip' {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {f' : E β†’L[π•œ] F} {xβ‚€ : E} (hf : has_fderiv_at f f' xβ‚€) {C : ℝ} (hCβ‚€ : 0 ≀ C) (hlip : βˆ€αΆ  (x : E) in nhds xβ‚€, βˆ₯f x - f xβ‚€βˆ₯ ≀ C * βˆ₯x - xβ‚€βˆ₯) :

Converse to the mean value inequality: if f is differentiable at xβ‚€ and C-lipschitz on a neighborhood of xβ‚€ then it its derivative at xβ‚€ has norm bounded by C. This version only assumes that βˆ₯f x - f xβ‚€βˆ₯ ≀ C * βˆ₯x - xβ‚€βˆ₯ in a neighborhood of x.

theorem has_fderiv_at.le_of_lip {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {f' : E β†’L[π•œ] F} {xβ‚€ : E} (hf : has_fderiv_at f f' xβ‚€) {s : set E} (hs : s ∈ nhds xβ‚€) {C : nnreal} (hlip : lipschitz_on_with C f s) :

Converse to the mean value inequality: if f is differentiable at xβ‚€ and C-lipschitz on a neighborhood of xβ‚€ then it its derivative at xβ‚€ has norm bounded by C.

theorem has_fderiv_at_filter.mono {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {f' : E β†’L[π•œ] F} {x : E} {L₁ Lβ‚‚ : filter E} (h : has_fderiv_at_filter f f' x Lβ‚‚) (hst : L₁ ≀ Lβ‚‚) :
has_fderiv_at_filter f f' x L₁
theorem has_fderiv_within_at.mono_of_mem {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {f' : E β†’L[π•œ] F} {x : E} {s t : set E} (h : has_fderiv_within_at f f' t x) (hst : t ∈ nhds_within x s) :
theorem has_fderiv_within_at.mono {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {f' : E β†’L[π•œ] F} {x : E} {s t : set E} (h : has_fderiv_within_at f f' t x) (hst : s βŠ† t) :
theorem has_fderiv_at.has_fderiv_at_filter {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {f' : E β†’L[π•œ] F} {x : E} {L : filter E} (h : has_fderiv_at f f' x) (hL : L ≀ nhds x) :
theorem has_fderiv_at.has_fderiv_within_at {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {f' : E β†’L[π•œ] F} {x : E} {s : set E} (h : has_fderiv_at f f' x) :
theorem has_fderiv_within_at.differentiable_within_at {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {f' : E β†’L[π•œ] F} {x : E} {s : set E} (h : has_fderiv_within_at f f' s x) :
theorem has_fderiv_at.differentiable_at {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {f' : E β†’L[π•œ] F} {x : E} (h : has_fderiv_at f f' x) :
differentiable_at π•œ f x
@[simp]
theorem has_fderiv_within_at_univ {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {f' : E β†’L[π•œ] F} {x : E} :
theorem has_strict_fderiv_at.is_O_sub {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {f' : E β†’L[π•œ] F} {x : E} (hf : has_strict_fderiv_at f f' x) :
(Ξ» (p : E Γ— E), f p.fst - f p.snd) =O[nhds (x, x)] Ξ» (p : E Γ— E), p.fst - p.snd
theorem has_fderiv_at_filter.is_O_sub {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {f' : E β†’L[π•œ] F} {x : E} {L : filter E} (h : has_fderiv_at_filter f f' x L) :
(Ξ» (x' : E), f x' - f x) =O[L] Ξ» (x' : E), x' - x
@[protected]
theorem has_strict_fderiv_at.has_fderiv_at {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {f' : E β†’L[π•œ] F} {x : E} (hf : has_strict_fderiv_at f f' x) :
@[protected]
theorem has_strict_fderiv_at.differentiable_at {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {f' : E β†’L[π•œ] F} {x : E} (hf : has_strict_fderiv_at f f' x) :
differentiable_at π•œ f x
theorem has_strict_fderiv_at.exists_lipschitz_on_with_of_nnnorm_lt {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {f' : E β†’L[π•œ] F} {x : E} (hf : has_strict_fderiv_at f f' x) (K : nnreal) (hK : βˆ₯f'βˆ₯β‚Š < K) :
βˆƒ (s : set E) (H : s ∈ nhds x), lipschitz_on_with K f s

If f is strictly differentiable at x with derivative f' and K > βˆ₯f'βˆ₯β‚Š, then f is K-Lipschitz in a neighborhood of x.

theorem has_strict_fderiv_at.exists_lipschitz_on_with {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {f' : E β†’L[π•œ] F} {x : E} (hf : has_strict_fderiv_at f f' x) :
βˆƒ (K : nnreal) (s : set E) (H : s ∈ nhds x), lipschitz_on_with K f s

If f is strictly differentiable at x with derivative f', then f is Lipschitz in a neighborhood of x. See also has_strict_fderiv_at.exists_lipschitz_on_with_of_nnnorm_lt for a more precise statement.

theorem has_fderiv_at.lim {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {f' : E β†’L[π•œ] F} {x : E} (hf : has_fderiv_at f f' x) (v : E) {Ξ± : Type u_4} {c : Ξ± β†’ π•œ} {l : filter Ξ±} (hc : filter.tendsto (Ξ» (n : Ξ±), βˆ₯c nβˆ₯) l filter.at_top) :
filter.tendsto (Ξ» (n : Ξ±), c n β€’ (f (x + (c n)⁻¹ β€’ v) - f x)) l (nhds (⇑f' v))

Directional derivative agrees with has_fderiv.

theorem has_fderiv_at.unique {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {fβ‚€' f₁' : E β†’L[π•œ] F} {x : E} (hβ‚€ : has_fderiv_at f fβ‚€' x) (h₁ : has_fderiv_at f f₁' x) :
fβ‚€' = f₁'
theorem has_fderiv_within_at_inter' {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {f' : E β†’L[π•œ] F} {x : E} {s t : set E} (h : t ∈ nhds_within x s) :
theorem has_fderiv_within_at_inter {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {f' : E β†’L[π•œ] F} {x : E} {s t : set E} (h : t ∈ nhds x) :
theorem has_fderiv_within_at.union {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {f' : E β†’L[π•œ] F} {x : E} {s t : set E} (hs : has_fderiv_within_at f f' s x) (ht : has_fderiv_within_at f f' t x) :
theorem has_fderiv_within_at.nhds_within {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {f' : E β†’L[π•œ] F} {x : E} {s t : set E} (h : has_fderiv_within_at f f' s x) (ht : s ∈ nhds_within x t) :
theorem has_fderiv_within_at.has_fderiv_at {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {f' : E β†’L[π•œ] F} {x : E} {s : set E} (h : has_fderiv_within_at f f' s x) (hs : s ∈ nhds x) :
theorem differentiable_within_at.differentiable_at {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {x : E} {s : set E} (h : differentiable_within_at π•œ f s x) (hs : s ∈ nhds x) :
differentiable_at π•œ f x
theorem differentiable_within_at.has_fderiv_within_at {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {x : E} {s : set E} (h : differentiable_within_at π•œ f s x) :
has_fderiv_within_at f (fderiv_within π•œ f s x) s x
theorem differentiable_at.has_fderiv_at {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {x : E} (h : differentiable_at π•œ f x) :
has_fderiv_at f (fderiv π•œ f x) x
theorem differentiable_on.has_fderiv_at {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {x : E} {s : set E} (h : differentiable_on π•œ f s) (hs : s ∈ nhds x) :
has_fderiv_at f (fderiv π•œ f x) x
theorem differentiable_on.differentiable_at {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {x : E} {s : set E} (h : differentiable_on π•œ f s) (hs : s ∈ nhds x) :
differentiable_at π•œ f x
theorem differentiable_on.eventually_differentiable_at {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {x : E} {s : set E} (h : differentiable_on π•œ f s) (hs : s ∈ nhds x) :
βˆ€αΆ  (y : E) in nhds x, differentiable_at π•œ f y
theorem has_fderiv_at.fderiv {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {f' : E β†’L[π•œ] F} {x : E} (h : has_fderiv_at f f' x) :
fderiv π•œ f x = f'
theorem fderiv_eq {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {f' : E β†’ (E β†’L[π•œ] F)} (h : βˆ€ (x : E), has_fderiv_at f (f' x) x) :
fderiv π•œ f = f'
theorem fderiv_at.le_of_lip {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {xβ‚€ : E} (hf : differentiable_at π•œ f xβ‚€) {s : set E} (hs : s ∈ nhds xβ‚€) {C : nnreal} (hlip : lipschitz_on_with C f s) :
βˆ₯fderiv π•œ f xβ‚€βˆ₯ ≀ ↑C

Converse to the mean value inequality: if f is differentiable at xβ‚€ and C-lipschitz on a neighborhood of xβ‚€ then it its derivative at xβ‚€ has norm bounded by C. Version using fderiv.

theorem has_fderiv_within_at.fderiv_within {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {f' : E β†’L[π•œ] F} {x : E} {s : set E} (h : has_fderiv_within_at f f' s x) (hxs : unique_diff_within_at π•œ s x) :
fderiv_within π•œ f s x = f'
theorem has_fderiv_within_at_of_not_mem_closure {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {f' : E β†’L[π•œ] F} {x : E} {s : set E} (h : x βˆ‰ closure s) :

If x is not in the closure of s, then f has any derivative at x within s, as this statement is empty.

theorem differentiable_within_at.mono {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {x : E} {s t : set E} (h : differentiable_within_at π•œ f t x) (st : s βŠ† t) :
theorem differentiable_within_at.mono_of_mem {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {x : E} {s : set E} (h : differentiable_within_at π•œ f s x) {t : set E} (hst : s ∈ nhds_within x t) :
theorem differentiable_within_at_univ {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {x : E} :
theorem differentiable_within_at_inter {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {x : E} {s t : set E} (ht : t ∈ nhds x) :
theorem differentiable_within_at_inter' {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {x : E} {s t : set E} (ht : t ∈ nhds_within x s) :
theorem differentiable_within_at.antimono {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {x : E} {s t : set E} (h : differentiable_within_at π•œ f s x) (hst : s βŠ† t) (hx : s ∈ nhds_within x t) :
theorem has_fderiv_within_at.antimono {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {f' : E β†’L[π•œ] F} {x : E} {s t : set E} (h : has_fderiv_within_at f f' s x) (hst : s βŠ† t) (hs : unique_diff_within_at π•œ s x) (hx : s ∈ nhds_within x t) :
theorem differentiable_at.differentiable_within_at {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {x : E} {s : set E} (h : differentiable_at π•œ f x) :
theorem differentiable.differentiable_at {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {x : E} (h : differentiable π•œ f) :
differentiable_at π•œ f x
theorem differentiable_at.fderiv_within {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {x : E} {s : set E} (h : differentiable_at π•œ f x) (hxs : unique_diff_within_at π•œ s x) :
fderiv_within π•œ f s x = fderiv π•œ f x
theorem differentiable_on.mono {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {s t : set E} (h : differentiable_on π•œ f t) (st : s βŠ† t) :
differentiable_on π•œ f s
theorem differentiable_on_univ {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} :
theorem differentiable.differentiable_on {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {s : set E} (h : differentiable π•œ f) :
differentiable_on π•œ f s
theorem differentiable_on_of_locally_differentiable_on {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {s : set E} (h : βˆ€ (x : E), x ∈ s β†’ (βˆƒ (u : set E), is_open u ∧ x ∈ u ∧ differentiable_on π•œ f (s ∩ u))) :
differentiable_on π•œ f s
theorem fderiv_within_subset {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {x : E} {s t : set E} (st : s βŠ† t) (ht : unique_diff_within_at π•œ s x) (h : differentiable_within_at π•œ f t x) :
fderiv_within π•œ f s x = fderiv_within π•œ f t x
theorem fderiv_within_subset' {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {x : E} {s t : set E} (st : s βŠ† t) (ht : unique_diff_within_at π•œ s x) (hx : s ∈ nhds_within x t) (h : differentiable_within_at π•œ f s x) :
fderiv_within π•œ f s x = fderiv_within π•œ f t x
@[simp]
theorem fderiv_within_univ {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} :
fderiv_within π•œ f set.univ = fderiv π•œ f
theorem fderiv_within_inter {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {x : E} {s t : set E} (ht : t ∈ nhds x) (hs : unique_diff_within_at π•œ s x) :
fderiv_within π•œ f (s ∩ t) x = fderiv_within π•œ f s x
theorem fderiv_within_of_mem_nhds {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {x : E} {s : set E} (h : s ∈ nhds x) :
fderiv_within π•œ f s x = fderiv π•œ f x
theorem fderiv_within_of_open {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {x : E} {s : set E} (hs : is_open s) (hx : x ∈ s) :
fderiv_within π•œ f s x = fderiv π•œ f x
theorem fderiv_within_eq_fderiv {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {x : E} {s : set E} (hs : unique_diff_within_at π•œ s x) (h : differentiable_at π•œ f x) :
fderiv_within π•œ f s x = fderiv π•œ f x
theorem fderiv_mem_iff {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {s : set (E β†’L[π•œ] F)} {x : E} :
fderiv π•œ f x ∈ s ↔ differentiable_at π•œ f x ∧ fderiv π•œ f x ∈ s ∨ Β¬differentiable_at π•œ f x ∧ 0 ∈ s
theorem fderiv_within_mem_iff {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {t : set E} {s : set (E β†’L[π•œ] F)} {x : E} :

Deducing continuity from differentiability #

theorem has_fderiv_at_filter.tendsto_nhds {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {f' : E β†’L[π•œ] F} {x : E} {L : filter E} (hL : L ≀ nhds x) (h : has_fderiv_at_filter f f' x L) :
filter.tendsto f L (nhds (f x))
theorem has_fderiv_within_at.continuous_within_at {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {f' : E β†’L[π•œ] F} {x : E} {s : set E} (h : has_fderiv_within_at f f' s x) :
theorem has_fderiv_at.continuous_at {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {f' : E β†’L[π•œ] F} {x : E} (h : has_fderiv_at f f' x) :
theorem differentiable_within_at.continuous_within_at {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {x : E} {s : set E} (h : differentiable_within_at π•œ f s x) :
theorem differentiable_at.continuous_at {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {x : E} (h : differentiable_at π•œ f x) :
theorem differentiable_on.continuous_on {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {s : set E} (h : differentiable_on π•œ f s) :
theorem differentiable.continuous {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} (h : differentiable π•œ f) :
@[protected]
theorem has_strict_fderiv_at.continuous_at {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {f' : E β†’L[π•œ] F} {x : E} (hf : has_strict_fderiv_at f f' x) :
theorem has_strict_fderiv_at.is_O_sub_rev {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {x : E} {f' : E ≃L[π•œ] F} (hf : has_strict_fderiv_at f ↑f' x) :
(Ξ» (p : E Γ— E), p.fst - p.snd) =O[nhds (x, x)] Ξ» (p : E Γ— E), f p.fst - f p.snd
theorem has_fderiv_at_filter.is_O_sub_rev {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {f' : E β†’L[π•œ] F} {x : E} {L : filter E} (hf : has_fderiv_at_filter f f' x L) {C : nnreal} (hf' : antilipschitz_with C ⇑f') :
(Ξ» (x' : E), x' - x) =O[L] Ξ» (x' : E), f x' - f x

congr properties of the derivative #

theorem filter.eventually_eq.has_strict_fderiv_at_iff {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {fβ‚€ f₁ : E β†’ F} {fβ‚€' f₁' : E β†’L[π•œ] F} {x : E} (h : fβ‚€ =αΆ [nhds x] f₁) (h' : βˆ€ (y : E), ⇑fβ‚€' y = ⇑f₁' y) :
has_strict_fderiv_at fβ‚€ fβ‚€' x ↔ has_strict_fderiv_at f₁ f₁' x
theorem has_strict_fderiv_at.congr_of_eventually_eq {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f f₁ : E β†’ F} {f' : E β†’L[π•œ] F} {x : E} (h : has_strict_fderiv_at f f' x) (h₁ : f =αΆ [nhds x] f₁) :
theorem filter.eventually_eq.has_fderiv_at_filter_iff {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {fβ‚€ f₁ : E β†’ F} {fβ‚€' f₁' : E β†’L[π•œ] F} {x : E} {L : filter E} (hβ‚€ : fβ‚€ =αΆ [L] f₁) (hx : fβ‚€ x = f₁ x) (h₁ : βˆ€ (x : E), ⇑fβ‚€' x = ⇑f₁' x) :
has_fderiv_at_filter fβ‚€ fβ‚€' x L ↔ has_fderiv_at_filter f₁ f₁' x L
theorem has_fderiv_at_filter.congr_of_eventually_eq {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f f₁ : E β†’ F} {f' : E β†’L[π•œ] F} {x : E} {L : filter E} (h : has_fderiv_at_filter f f' x L) (hL : f₁ =αΆ [L] f) (hx : f₁ x = f x) :
has_fderiv_at_filter f₁ f' x L
theorem filter.eventually_eq.has_fderiv_at_iff {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {fβ‚€ f₁ : E β†’ F} {f' : E β†’L[π•œ] F} {x : E} (h : fβ‚€ =αΆ [nhds x] f₁) :
has_fderiv_at fβ‚€ f' x ↔ has_fderiv_at f₁ f' x
theorem filter.eventually_eq.differentiable_at_iff {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {fβ‚€ f₁ : E β†’ F} {x : E} (h : fβ‚€ =αΆ [nhds x] f₁) :
differentiable_at π•œ fβ‚€ x ↔ differentiable_at π•œ f₁ x
theorem filter.eventually_eq.has_fderiv_within_at_iff {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {fβ‚€ f₁ : E β†’ F} {f' : E β†’L[π•œ] F} {x : E} {s : set E} (h : fβ‚€ =αΆ [nhds_within x s] f₁) (hx : fβ‚€ x = f₁ x) :
has_fderiv_within_at fβ‚€ f' s x ↔ has_fderiv_within_at f₁ f' s x
theorem filter.eventually_eq.has_fderiv_within_at_iff_of_mem {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {fβ‚€ f₁ : E β†’ F} {f' : E β†’L[π•œ] F} {x : E} {s : set E} (h : fβ‚€ =αΆ [nhds_within x s] f₁) (hx : x ∈ s) :
has_fderiv_within_at fβ‚€ f' s x ↔ has_fderiv_within_at f₁ f' s x
theorem filter.eventually_eq.differentiable_within_at_iff {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {fβ‚€ f₁ : E β†’ F} {x : E} {s : set E} (h : fβ‚€ =αΆ [nhds_within x s] f₁) (hx : fβ‚€ x = f₁ x) :
differentiable_within_at π•œ fβ‚€ s x ↔ differentiable_within_at π•œ f₁ s x
theorem filter.eventually_eq.differentiable_within_at_iff_of_mem {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {fβ‚€ f₁ : E β†’ F} {x : E} {s : set E} (h : fβ‚€ =αΆ [nhds_within x s] f₁) (hx : x ∈ s) :
differentiable_within_at π•œ fβ‚€ s x ↔ differentiable_within_at π•œ f₁ s x
theorem has_fderiv_within_at.congr_mono {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f f₁ : E β†’ F} {f' : E β†’L[π•œ] F} {x : E} {s t : set E} (h : has_fderiv_within_at f f' s x) (ht : βˆ€ (x : E), x ∈ t β†’ f₁ x = f x) (hx : f₁ x = f x) (h₁ : t βŠ† s) :
has_fderiv_within_at f₁ f' t x
theorem has_fderiv_within_at.congr {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f f₁ : E β†’ F} {f' : E β†’L[π•œ] F} {x : E} {s : set E} (h : has_fderiv_within_at f f' s x) (hs : βˆ€ (x : E), x ∈ s β†’ f₁ x = f x) (hx : f₁ x = f x) :
has_fderiv_within_at f₁ f' s x
theorem has_fderiv_within_at.congr' {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f f₁ : E β†’ F} {f' : E β†’L[π•œ] F} {x : E} {s : set E} (h : has_fderiv_within_at f f' s x) (hs : βˆ€ (x : E), x ∈ s β†’ f₁ x = f x) (hx : x ∈ s) :
has_fderiv_within_at f₁ f' s x
theorem has_fderiv_within_at.congr_of_eventually_eq {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f f₁ : E β†’ F} {f' : E β†’L[π•œ] F} {x : E} {s : set E} (h : has_fderiv_within_at f f' s x) (h₁ : f₁ =αΆ [nhds_within x s] f) (hx : f₁ x = f x) :
has_fderiv_within_at f₁ f' s x
theorem has_fderiv_at.congr_of_eventually_eq {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f f₁ : E β†’ F} {f' : E β†’L[π•œ] F} {x : E} (h : has_fderiv_at f f' x) (h₁ : f₁ =αΆ [nhds x] f) :
has_fderiv_at f₁ f' x
theorem differentiable_within_at.congr_mono {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f f₁ : E β†’ F} {x : E} {s t : set E} (h : differentiable_within_at π•œ f s x) (ht : βˆ€ (x : E), x ∈ t β†’ f₁ x = f x) (hx : f₁ x = f x) (h₁ : t βŠ† s) :
differentiable_within_at π•œ f₁ t x
theorem differentiable_within_at.congr {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f f₁ : E β†’ F} {x : E} {s : set E} (h : differentiable_within_at π•œ f s x) (ht : βˆ€ (x : E), x ∈ s β†’ f₁ x = f x) (hx : f₁ x = f x) :
differentiable_within_at π•œ f₁ s x
theorem differentiable_within_at.congr_of_eventually_eq {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f f₁ : E β†’ F} {x : E} {s : set E} (h : differentiable_within_at π•œ f s x) (h₁ : f₁ =αΆ [nhds_within x s] f) (hx : f₁ x = f x) :
differentiable_within_at π•œ f₁ s x
theorem differentiable_on.congr_mono {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f f₁ : E β†’ F} {s t : set E} (h : differentiable_on π•œ f s) (h' : βˆ€ (x : E), x ∈ t β†’ f₁ x = f x) (h₁ : t βŠ† s) :
differentiable_on π•œ f₁ t
theorem differentiable_on.congr {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f f₁ : E β†’ F} {s : set E} (h : differentiable_on π•œ f s) (h' : βˆ€ (x : E), x ∈ s β†’ f₁ x = f x) :
differentiable_on π•œ f₁ s
theorem differentiable_on_congr {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f f₁ : E β†’ F} {s : set E} (h' : βˆ€ (x : E), x ∈ s β†’ f₁ x = f x) :
differentiable_on π•œ f₁ s ↔ differentiable_on π•œ f s
theorem differentiable_at.congr_of_eventually_eq {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f f₁ : E β†’ F} {x : E} (h : differentiable_at π•œ f x) (hL : f₁ =αΆ [nhds x] f) :
differentiable_at π•œ f₁ x
theorem differentiable_within_at.fderiv_within_congr_mono {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f f₁ : E β†’ F} {x : E} {s t : set E} (h : differentiable_within_at π•œ f s x) (hs : βˆ€ (x : E), x ∈ t β†’ f₁ x = f x) (hx : f₁ x = f x) (hxt : unique_diff_within_at π•œ t x) (h₁ : t βŠ† s) :
fderiv_within π•œ f₁ t x = fderiv_within π•œ f s x
theorem filter.eventually_eq.fderiv_within_eq {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f f₁ : E β†’ F} {x : E} {s : set E} (hs : unique_diff_within_at π•œ s x) (hL : f₁ =αΆ [nhds_within x s] f) (hx : f₁ x = f x) :
fderiv_within π•œ f₁ s x = fderiv_within π•œ f s x
theorem filter.eventually_eq.fderiv_within_eq_nhds {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f f₁ : E β†’ F} {x : E} {s : set E} (hs : unique_diff_within_at π•œ s x) (hL : f₁ =αΆ [nhds x] f) :
fderiv_within π•œ f₁ s x = fderiv_within π•œ f s x
theorem fderiv_within_congr {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f f₁ : E β†’ F} {x : E} {s : set E} (hs : unique_diff_within_at π•œ s x) (hL : βˆ€ (y : E), y ∈ s β†’ f₁ y = f y) (hx : f₁ x = f x) :
fderiv_within π•œ f₁ s x = fderiv_within π•œ f s x
theorem filter.eventually_eq.fderiv_eq {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f f₁ : E β†’ F} {x : E} (hL : f₁ =αΆ [nhds x] f) :
fderiv π•œ f₁ x = fderiv π•œ f x
@[protected]
theorem filter.eventually_eq.fderiv {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f f₁ : E β†’ F} {x : E} (h : f₁ =αΆ [nhds x] f) :
fderiv π•œ f₁ =αΆ [nhds x] fderiv π•œ f

Derivative of the identity #

theorem has_strict_fderiv_at_id {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] (x : E) :
theorem has_fderiv_at_filter_id {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] (x : E) (L : filter E) :
theorem has_fderiv_within_at_id {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] (x : E) (s : set E) :
theorem has_fderiv_at_id {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] (x : E) :
@[simp]
theorem differentiable_at_id {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {x : E} :
@[simp]
theorem differentiable_at_id' {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {x : E} :
differentiable_at π•œ (Ξ» (x : E), x) x
theorem differentiable_within_at_id {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {x : E} {s : set E} :
@[simp]
theorem differentiable_id {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] :
@[simp]
theorem differentiable_id' {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] :
differentiable π•œ (Ξ» (x : E), x)
theorem differentiable_on_id {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {s : set E} :
theorem fderiv_id {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {x : E} :
fderiv π•œ id x = continuous_linear_map.id π•œ E
@[simp]
theorem fderiv_id' {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {x : E} :
fderiv π•œ (Ξ» (x : E), x) x = continuous_linear_map.id π•œ E
theorem fderiv_within_id {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {x : E} {s : set E} (hxs : unique_diff_within_at π•œ s x) :
fderiv_within π•œ id s x = continuous_linear_map.id π•œ E
theorem fderiv_within_id' {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {x : E} {s : set E} (hxs : unique_diff_within_at π•œ s x) :
fderiv_within π•œ (Ξ» (x : E), x) s x = continuous_linear_map.id π•œ E

derivative of a constant function #

theorem has_strict_fderiv_at_const {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] (c : F) (x : E) :
has_strict_fderiv_at (Ξ» (_x : E), c) 0 x
theorem has_fderiv_at_filter_const {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] (c : F) (x : E) (L : filter E) :
has_fderiv_at_filter (Ξ» (x : E), c) 0 x L
theorem has_fderiv_within_at_const {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] (c : F) (x : E) (s : set E) :
has_fderiv_within_at (Ξ» (x : E), c) 0 s x
theorem has_fderiv_at_const {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] (c : F) (x : E) :
has_fderiv_at (Ξ» (x : E), c) 0 x
@[simp]
theorem differentiable_at_const {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {x : E} (c : F) :
differentiable_at π•œ (Ξ» (x : E), c) x
theorem differentiable_within_at_const {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {x : E} {s : set E} (c : F) :
differentiable_within_at π•œ (Ξ» (x : E), c) s x
theorem fderiv_const_apply {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {x : E} (c : F) :
fderiv π•œ (Ξ» (y : E), c) x = 0
@[simp]
theorem fderiv_const {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] (c : F) :
fderiv π•œ (Ξ» (y : E), c) = 0
theorem fderiv_within_const_apply {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {x : E} {s : set E} (c : F) (hxs : unique_diff_within_at π•œ s x) :
fderiv_within π•œ (Ξ» (y : E), c) s x = 0
@[simp]
theorem differentiable_const {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] (c : F) :
differentiable π•œ (Ξ» (x : E), c)
theorem differentiable_on_const {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {s : set E} (c : F) :
differentiable_on π•œ (Ξ» (x : E), c) s
theorem has_fderiv_within_at_singleton {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] (f : E β†’ F) (x : E) :
theorem has_fderiv_at_of_subsingleton {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] [h : subsingleton E] (f : E β†’ F) (x : E) :
theorem differentiable_on_empty {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} :
theorem differentiable_on_singleton {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {x : E} :
differentiable_on π•œ f {x}
theorem set.subsingleton.differentiable_on {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {s : set E} (hs : s.subsingleton) :
differentiable_on π•œ f s

Continuous linear maps #

There are currently two variants of these in mathlib, the bundled version (named continuous_linear_map, and denoted E β†’L[π•œ] F), and the unbundled version (with a predicate is_bounded_linear_map). We give statements for both versions.

@[protected]
theorem continuous_linear_map.has_strict_fderiv_at {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] (e : E β†’L[π•œ] F) {x : E} :
@[protected]
theorem continuous_linear_map.has_fderiv_at_filter {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] (e : E β†’L[π•œ] F) {x : E} {L : filter E} :
@[protected]
theorem continuous_linear_map.has_fderiv_within_at {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] (e : E β†’L[π•œ] F) {x : E} {s : set E} :
@[protected]
theorem continuous_linear_map.has_fderiv_at {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] (e : E β†’L[π•œ] F) {x : E} :
@[protected, simp]
theorem continuous_linear_map.differentiable_at {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] (e : E β†’L[π•œ] F) {x : E} :
@[protected]
theorem continuous_linear_map.differentiable_within_at {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] (e : E β†’L[π•œ] F) {x : E} {s : set E} :
@[protected, simp]
theorem continuous_linear_map.fderiv {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] (e : E β†’L[π•œ] F) {x : E} :
fderiv π•œ ⇑e x = e
@[protected]
theorem continuous_linear_map.fderiv_within {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] (e : E β†’L[π•œ] F) {x : E} {s : set E} (hxs : unique_diff_within_at π•œ s x) :
fderiv_within π•œ ⇑e s x = e
@[protected, simp]
theorem continuous_linear_map.differentiable {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] (e : E β†’L[π•œ] F) :
@[protected]
theorem continuous_linear_map.differentiable_on {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] (e : E β†’L[π•œ] F) {s : set E} :
theorem is_bounded_linear_map.has_fderiv_at_filter {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {x : E} {L : filter E} (h : is_bounded_linear_map π•œ f) :
theorem is_bounded_linear_map.has_fderiv_within_at {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {x : E} {s : set E} (h : is_bounded_linear_map π•œ f) :
theorem is_bounded_linear_map.has_fderiv_at {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {x : E} (h : is_bounded_linear_map π•œ f) :
theorem is_bounded_linear_map.differentiable_at {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {x : E} (h : is_bounded_linear_map π•œ f) :
differentiable_at π•œ f x
theorem is_bounded_linear_map.differentiable_within_at {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {x : E} {s : set E} (h : is_bounded_linear_map π•œ f) :
theorem is_bounded_linear_map.fderiv {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {x : E} (h : is_bounded_linear_map π•œ f) :
theorem is_bounded_linear_map.fderiv_within {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {x : E} {s : set E} (h : is_bounded_linear_map π•œ f) (hxs : unique_diff_within_at π•œ s x) :
theorem is_bounded_linear_map.differentiable {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} (h : is_bounded_linear_map π•œ f) :
differentiable π•œ f
theorem is_bounded_linear_map.differentiable_on {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {s : set E} (h : is_bounded_linear_map π•œ f) :
differentiable_on π•œ f s

Derivative of the composition of two functions #

For composition lemmas, we put x explicit to help the elaborator, as otherwise Lean tends to get confused since there are too many possibilities for composition

theorem has_fderiv_at_filter.comp {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {G : Type u_4} [normed_add_comm_group G] [normed_space π•œ G] {f : E β†’ F} {f' : E β†’L[π•œ] F} (x : E) {L : filter E} {g : F β†’ G} {g' : F β†’L[π•œ] G} {L' : filter F} (hg : has_fderiv_at_filter g g' (f x) L') (hf : has_fderiv_at_filter f f' x L) (hL : filter.tendsto f L L') :
has_fderiv_at_filter (g ∘ f) (g'.comp f') x L
theorem has_fderiv_within_at.comp {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {G : Type u_4} [normed_add_comm_group G] [normed_space π•œ G] {f : E β†’ F} {f' : E β†’L[π•œ] F} (x : E) {s : set E} {g : F β†’ G} {g' : F β†’L[π•œ] G} {t : set F} (hg : has_fderiv_within_at g g' t (f x)) (hf : has_fderiv_within_at f f' s x) (hst : set.maps_to f s t) :
has_fderiv_within_at (g ∘ f) (g'.comp f') s x
theorem has_fderiv_at.comp_has_fderiv_within_at {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {G : Type u_4} [normed_add_comm_group G] [normed_space π•œ G] {f : E β†’ F} {f' : E β†’L[π•œ] F} (x : E) {s : set E} {g : F β†’ G} {g' : F β†’L[π•œ] G} (hg : has_fderiv_at g g' (f x)) (hf : has_fderiv_within_at f f' s x) :
has_fderiv_within_at (g ∘ f) (g'.comp f') s x
theorem has_fderiv_at.comp {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {G : Type u_4} [normed_add_comm_group G] [normed_space π•œ G] {f : E β†’ F} {f' : E β†’L[π•œ] F} (x : E) {g : F β†’ G} {g' : F β†’L[π•œ] G} (hg : has_fderiv_at g g' (f x)) (hf : has_fderiv_at f f' x) :
has_fderiv_at (g ∘ f) (g'.comp f') x

The chain rule.

theorem differentiable_within_at.comp {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {G : Type u_4} [normed_add_comm_group G] [normed_space π•œ G] {f : E β†’ F} (x : E) {s : set E} {g : F β†’ G} {t : set F} (hg : differentiable_within_at π•œ g t (f x)) (hf : differentiable_within_at π•œ f s x) (h : set.maps_to f s t) :
differentiable_within_at π•œ (g ∘ f) s x
theorem differentiable_within_at.comp' {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {G : Type u_4} [normed_add_comm_group G] [normed_space π•œ G] {f : E β†’ F} (x : E) {s : set E} {g : F β†’ G} {t : set F} (hg : differentiable_within_at π•œ g t (f x)) (hf : differentiable_within_at π•œ f s x) :
theorem differentiable_at.comp {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {G : Type u_4} [normed_add_comm_group G] [normed_space π•œ G] {f : E β†’ F} (x : E) {g : F β†’ G} (hg : differentiable_at π•œ g (f x)) (hf : differentiable_at π•œ f x) :
differentiable_at π•œ (g ∘ f) x
theorem differentiable_at.comp_differentiable_within_at {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {G : Type u_4} [normed_add_comm_group G] [normed_space π•œ G] {f : E β†’ F} (x : E) {s : set E} {g : F β†’ G} (hg : differentiable_at π•œ g (f x)) (hf : differentiable_within_at π•œ f s x) :
differentiable_within_at π•œ (g ∘ f) s x
theorem fderiv_within.comp {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {G : Type u_4} [normed_add_comm_group G] [normed_space π•œ G] {f : E β†’ F} (x : E) {s : set E} {g : F β†’ G} {t : set F} (hg : differentiable_within_at π•œ g t (f x)) (hf : differentiable_within_at π•œ f s x) (h : set.maps_to f s t) (hxs : unique_diff_within_at π•œ s x) :
fderiv_within π•œ (g ∘ f) s x = (fderiv_within π•œ g t (f x)).comp (fderiv_within π•œ f s x)
theorem fderiv_within.comp₃ {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {G : Type u_4} [normed_add_comm_group G] [normed_space π•œ G] {G' : Type u_5} [normed_add_comm_group G'] [normed_space π•œ G'] {f : E β†’ F} (x : E) {s : set E} {g' : G β†’ G'} {g : F β†’ G} {t : set F} {u : set G} {y : F} {y' : G} (hg' : differentiable_within_at π•œ g' u y') (hg : differentiable_within_at π•œ g t y) (hf : differentiable_within_at π•œ f s x) (h2g : set.maps_to g t u) (h2f : set.maps_to f s t) (h3g : g y = y') (h3f : f x = y) (hxs : unique_diff_within_at π•œ s x) :
fderiv_within π•œ (g' ∘ g ∘ f) s x = (fderiv_within π•œ g' u y').comp ((fderiv_within π•œ g t y).comp (fderiv_within π•œ f s x))

Ternary version of fderiv_within.comp, with equality assumptions of basepoints added, in order to apply more easily as a rewrite from right-to-left.

theorem fderiv.comp {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {G : Type u_4} [normed_add_comm_group G] [normed_space π•œ G] {f : E β†’ F} (x : E) {g : F β†’ G} (hg : differentiable_at π•œ g (f x)) (hf : differentiable_at π•œ f x) :
fderiv π•œ (g ∘ f) x = (fderiv π•œ g (f x)).comp (fderiv π•œ f x)
theorem fderiv.comp_fderiv_within {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {G : Type u_4} [normed_add_comm_group G] [normed_space π•œ G] {f : E β†’ F} (x : E) {s : set E} {g : F β†’ G} (hg : differentiable_at π•œ g (f x)) (hf : differentiable_within_at π•œ f s x) (hxs : unique_diff_within_at π•œ s x) :
fderiv_within π•œ (g ∘ f) s x = (fderiv π•œ g (f x)).comp (fderiv_within π•œ f s x)
theorem differentiable_on.comp {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {G : Type u_4} [normed_add_comm_group G] [normed_space π•œ G] {f : E β†’ F} {s : set E} {g : F β†’ G} {t : set F} (hg : differentiable_on π•œ g t) (hf : differentiable_on π•œ f s) (st : set.maps_to f s t) :
differentiable_on π•œ (g ∘ f) s
theorem differentiable.comp {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {G : Type u_4} [normed_add_comm_group G] [normed_space π•œ G] {f : E β†’ F} {g : F β†’ G} (hg : differentiable π•œ g) (hf : differentiable π•œ f) :
differentiable π•œ (g ∘ f)
theorem differentiable.comp_differentiable_on {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {G : Type u_4} [normed_add_comm_group G] [normed_space π•œ G] {f : E β†’ F} {s : set E} {g : F β†’ G} (hg : differentiable π•œ g) (hf : differentiable_on π•œ f s) :
differentiable_on π•œ (g ∘ f) s
@[protected]
theorem has_strict_fderiv_at.comp {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {G : Type u_4} [normed_add_comm_group G] [normed_space π•œ G] {f : E β†’ F} {f' : E β†’L[π•œ] F} (x : E) {g : F β†’ G} {g' : F β†’L[π•œ] G} (hg : has_strict_fderiv_at g g' (f x)) (hf : has_strict_fderiv_at f f' x) :
has_strict_fderiv_at (Ξ» (x : E), g (f x)) (g'.comp f') x

The chain rule for derivatives in the sense of strict differentiability.

@[protected]
theorem differentiable.iterate {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {f : E β†’ E} (hf : differentiable π•œ f) (n : β„•) :
differentiable π•œ f^[n]
@[protected]
theorem differentiable_on.iterate {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {s : set E} {f : E β†’ E} (hf : differentiable_on π•œ f s) (hs : set.maps_to f s s) (n : β„•) :
differentiable_on π•œ f^[n] s
@[protected]
theorem has_fderiv_at_filter.iterate {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {x : E} {L : filter E} {f : E β†’ E} {f' : E β†’L[π•œ] E} (hf : has_fderiv_at_filter f f' x L) (hL : filter.tendsto f L L) (hx : f x = x) (n : β„•) :
@[protected]
theorem has_fderiv_at.iterate {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {x : E} {f : E β†’ E} {f' : E β†’L[π•œ] E} (hf : has_fderiv_at f f' x) (hx : f x = x) (n : β„•) :
has_fderiv_at f^[n] (f' ^ n) x
@[protected]
theorem has_fderiv_within_at.iterate {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {x : E} {s : set E} {f : E β†’ E} {f' : E β†’L[π•œ] E} (hf : has_fderiv_within_at f f' s x) (hx : f x = x) (hs : set.maps_to f s s) (n : β„•) :
@[protected]
theorem has_strict_fderiv_at.iterate {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {x : E} {f : E β†’ E} {f' : E β†’L[π•œ] E} (hf : has_strict_fderiv_at f f' x) (hx : f x = x) (n : β„•) :
@[protected]
theorem differentiable_at.iterate {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {x : E} {f : E β†’ E} (hf : differentiable_at π•œ f x) (hx : f x = x) (n : β„•) :
differentiable_at π•œ f^[n] x
@[protected]
theorem differentiable_within_at.iterate {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {x : E} {s : set E} {f : E β†’ E} (hf : differentiable_within_at π•œ f s x) (hx : f x = x) (hs : set.maps_to f s s) (n : β„•) :

Derivative of the cartesian product of two functions #

@[protected]
theorem has_strict_fderiv_at.prod {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {G : Type u_4} [normed_add_comm_group G] [normed_space π•œ G] {f₁ : E β†’ F} {f₁' : E β†’L[π•œ] F} {x : E} {fβ‚‚ : E β†’ G} {fβ‚‚' : E β†’L[π•œ] G} (hf₁ : has_strict_fderiv_at f₁ f₁' x) (hfβ‚‚ : has_strict_fderiv_at fβ‚‚ fβ‚‚' x) :
has_strict_fderiv_at (Ξ» (x : E), (f₁ x, fβ‚‚ x)) (f₁'.prod fβ‚‚') x
theorem has_fderiv_at_filter.prod {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {G : Type u_4} [normed_add_comm_group G] [normed_space π•œ G] {f₁ : E β†’ F} {f₁' : E β†’L[π•œ] F} {x : E} {L : filter E} {fβ‚‚ : E β†’ G} {fβ‚‚' : E β†’L[π•œ] G} (hf₁ : has_fderiv_at_filter f₁ f₁' x L) (hfβ‚‚ : has_fderiv_at_filter fβ‚‚ fβ‚‚' x L) :
has_fderiv_at_filter (Ξ» (x : E), (f₁ x, fβ‚‚ x)) (f₁'.prod fβ‚‚') x L
theorem has_fderiv_within_at.prod {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {G : Type u_4} [normed_add_comm_group G] [normed_space π•œ G] {f₁ : E β†’ F} {f₁' : E β†’L[π•œ] F} {x : E} {s : set E} {fβ‚‚ : E β†’ G} {fβ‚‚' : E β†’L[π•œ] G} (hf₁ : has_fderiv_within_at f₁ f₁' s x) (hfβ‚‚ : has_fderiv_within_at fβ‚‚ fβ‚‚' s x) :
has_fderiv_within_at (Ξ» (x : E), (f₁ x, fβ‚‚ x)) (f₁'.prod fβ‚‚') s x
theorem has_fderiv_at.prod {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {G : Type u_4} [normed_add_comm_group G] [normed_space π•œ G] {f₁ : E β†’ F} {f₁' : E β†’L[π•œ] F} {x : E} {fβ‚‚ : E β†’ G} {fβ‚‚' : E β†’L[π•œ] G} (hf₁ : has_fderiv_at f₁ f₁' x) (hfβ‚‚ : has_fderiv_at fβ‚‚ fβ‚‚' x) :
has_fderiv_at (Ξ» (x : E), (f₁ x, fβ‚‚ x)) (f₁'.prod fβ‚‚') x
theorem has_fderiv_at_prod_mk_left {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] (eβ‚€ : E) (fβ‚€ : F) :
has_fderiv_at (Ξ» (e : E), (e, fβ‚€)) (continuous_linear_map.inl π•œ E F) eβ‚€
theorem has_fderiv_at_prod_mk_right {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] (eβ‚€ : E) (fβ‚€ : F) :
has_fderiv_at (Ξ» (f : F), (eβ‚€, f)) (continuous_linear_map.inr π•œ E F) fβ‚€
theorem differentiable_within_at.prod {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {G : Type u_4} [normed_add_comm_group G] [normed_space π•œ G] {f₁ : E β†’ F} {x : E} {s : set E} {fβ‚‚ : E β†’ G} (hf₁ : differentiable_within_at π•œ f₁ s x) (hfβ‚‚ : differentiable_within_at π•œ fβ‚‚ s x) :
differentiable_within_at π•œ (Ξ» (x : E), (f₁ x, fβ‚‚ x)) s x
@[simp]
theorem differentiable_at.prod {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {G : Type u_4} [normed_add_comm_group G] [normed_space π•œ G] {f₁ : E β†’ F} {x : E} {fβ‚‚ : E β†’ G} (hf₁ : differentiable_at π•œ f₁ x) (hfβ‚‚ : differentiable_at π•œ fβ‚‚ x) :
differentiable_at π•œ (Ξ» (x : E), (f₁ x, fβ‚‚ x)) x
theorem differentiable_on.prod {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {G : Type u_4} [normed_add_comm_group G] [normed_space π•œ G] {f₁ : E β†’ F} {s : set E} {fβ‚‚ : E β†’ G} (hf₁ : differentiable_on π•œ f₁ s) (hfβ‚‚ : differentiable_on π•œ fβ‚‚ s) :
differentiable_on π•œ (Ξ» (x : E), (f₁ x, fβ‚‚ x)) s
@[simp]
theorem differentiable.prod {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {G : Type u_4} [normed_add_comm_group G] [normed_space π•œ G] {f₁ : E β†’ F} {fβ‚‚ : E β†’ G} (hf₁ : differentiable π•œ f₁) (hfβ‚‚ : differentiable π•œ fβ‚‚) :
differentiable π•œ (Ξ» (x : E), (f₁ x, fβ‚‚ x))
theorem differentiable_at.fderiv_prod {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {G : Type u_4} [normed_add_comm_group G] [normed_space π•œ G] {f₁ : E β†’ F} {x : E} {fβ‚‚ : E β†’ G} (hf₁ : differentiable_at π•œ f₁ x) (hfβ‚‚ : differentiable_at π•œ fβ‚‚ x) :
fderiv π•œ (Ξ» (x : E), (f₁ x, fβ‚‚ x)) x = (fderiv π•œ f₁ x).prod (fderiv π•œ fβ‚‚ x)
theorem differentiable_at.fderiv_within_prod {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {G : Type u_4} [normed_add_comm_group G] [normed_space π•œ G] {f₁ : E β†’ F} {x : E} {s : set E} {fβ‚‚ : E β†’ G} (hf₁ : differentiable_within_at π•œ f₁ s x) (hfβ‚‚ : differentiable_within_at π•œ fβ‚‚ s x) (hxs : unique_diff_within_at π•œ s x) :
fderiv_within π•œ (Ξ» (x : E), (f₁ x, fβ‚‚ x)) s x = (fderiv_within π•œ f₁ s x).prod (fderiv_within π•œ fβ‚‚ s x)
theorem has_strict_fderiv_at_fst {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {p : E Γ— F} :
@[protected]
theorem has_strict_fderiv_at.fst {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {G : Type u_4} [normed_add_comm_group G] [normed_space π•œ G] {x : E} {fβ‚‚ : E β†’ F Γ— G} {fβ‚‚' : E β†’L[π•œ] F Γ— G} (h : has_strict_fderiv_at fβ‚‚ fβ‚‚' x) :
has_strict_fderiv_at (Ξ» (x : E), (fβ‚‚ x).fst) ((continuous_linear_map.fst π•œ F G).comp fβ‚‚') x
theorem has_fderiv_at_filter_fst {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {p : E Γ— F} {L : filter (E Γ— F)} :
@[protected]
theorem has_fderiv_at_filter.fst {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {G : Type u_4} [normed_add_comm_group G] [normed_space π•œ G] {x : E} {L : filter E} {fβ‚‚ : E β†’ F Γ— G} {fβ‚‚' : E β†’L[π•œ] F Γ— G} (h : has_fderiv_at_filter fβ‚‚ fβ‚‚' x L) :
has_fderiv_at_filter (Ξ» (x : E), (fβ‚‚ x).fst) ((continuous_linear_map.fst π•œ F G).comp fβ‚‚') x L
theorem has_fderiv_at_fst {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {p : E Γ— F} :
@[protected]
theorem has_fderiv_at.fst {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {G : Type u_4} [normed_add_comm_group G] [normed_space π•œ G] {x : E} {fβ‚‚ : E β†’ F Γ— G} {fβ‚‚' : E β†’L[π•œ] F Γ— G} (h : has_fderiv_at fβ‚‚ fβ‚‚' x) :
has_fderiv_at (Ξ» (x : E), (fβ‚‚ x).fst) ((continuous_linear_map.fst π•œ F G).comp fβ‚‚') x
theorem has_fderiv_within_at_fst {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {p : E Γ— F} {s : set (E Γ— F)} :
@[protected]
theorem has_fderiv_within_at.fst {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {G : Type u_4} [normed_add_comm_group G] [normed_space π•œ G] {x : E} {s : set E} {fβ‚‚ : E β†’ F Γ— G} {fβ‚‚' : E β†’L[π•œ] F Γ— G} (h : has_fderiv_within_at fβ‚‚ fβ‚‚' s x) :
has_fderiv_within_at (Ξ» (x : E), (fβ‚‚ x).fst) ((continuous_linear_map.fst π•œ F G).comp fβ‚‚') s x
theorem differentiable_at_fst {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {p : E Γ— F} :
@[protected, simp]
theorem differentiable_at.fst {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {G : Type u_4} [normed_add_comm_group G] [normed_space π•œ G] {x : E} {fβ‚‚ : E β†’ F Γ— G} (h : differentiable_at π•œ fβ‚‚ x) :
differentiable_at π•œ (Ξ» (x : E), (fβ‚‚ x).fst) x
theorem differentiable_fst {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] :
@[protected, simp]
theorem differentiable.fst {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {G : Type u_4} [normed_add_comm_group G] [normed_space π•œ G] {fβ‚‚ : E β†’ F Γ— G} (h : differentiable π•œ fβ‚‚) :
differentiable π•œ (Ξ» (x : E), (fβ‚‚ x).fst)
theorem differentiable_within_at_fst {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {p : E Γ— F} {s : set (E Γ— F)} :
@[protected]
theorem differentiable_within_at.fst {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {G : Type u_4} [normed_add_comm_group G] [normed_space π•œ G] {x : E} {s : set E} {fβ‚‚ : E β†’ F Γ— G} (h : differentiable_within_at π•œ fβ‚‚ s x) :
differentiable_within_at π•œ (Ξ» (x : E), (fβ‚‚ x).fst) s x
theorem differentiable_on_fst {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {s : set (E Γ— F)} :
@[protected]
theorem differentiable_on.fst {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {G : Type u_4} [normed_add_comm_group G] [normed_space π•œ G] {s : set E} {fβ‚‚ : E β†’ F Γ— G} (h : differentiable_on π•œ fβ‚‚ s) :
differentiable_on π•œ (Ξ» (x : E), (fβ‚‚ x).fst) s
theorem fderiv_fst {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {p : E Γ— F} :
fderiv π•œ prod.fst p = continuous_linear_map.fst π•œ E F
theorem fderiv.fst {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {G : Type u_4} [normed_add_comm_group G] [normed_space π•œ G] {x : E} {fβ‚‚ : E β†’ F Γ— G} (h : differentiable_at π•œ fβ‚‚ x) :
fderiv π•œ (Ξ» (x : E), (fβ‚‚ x).fst) x = (continuous_linear_map.fst π•œ F G).comp (fderiv π•œ fβ‚‚ x)
theorem fderiv_within_fst {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {p : E Γ— F} {s : set (E Γ— F)} (hs : unique_diff_within_at π•œ s p) :
theorem fderiv_within.fst {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {G : Type u_4} [normed_add_comm_group G] [normed_space π•œ G] {x : E} {s : set E} {fβ‚‚ : E β†’ F Γ— G} (hs : unique_diff_within_at π•œ s x) (h : differentiable_within_at π•œ fβ‚‚ s x) :
fderiv_within π•œ (Ξ» (x : E), (fβ‚‚ x).fst) s x = (continuous_linear_map.fst π•œ F G).comp (fderiv_within π•œ fβ‚‚ s x)
theorem has_strict_fderiv_at_snd {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {p : E Γ— F} :
@[protected]
theorem has_strict_fderiv_at.snd {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {G : Type u_4} [normed_add_comm_group G] [normed_space π•œ G] {x : E} {fβ‚‚ : E β†’ F Γ— G} {fβ‚‚' : E β†’L[π•œ] F Γ— G} (h : has_strict_fderiv_at fβ‚‚ fβ‚‚' x) :
has_strict_fderiv_at (Ξ» (x : E), (fβ‚‚ x).snd) ((continuous_linear_map.snd π•œ F G).comp fβ‚‚') x
theorem has_fderiv_at_filter_snd {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {p : E Γ— F} {L : filter (E Γ— F)} :
@[protected]
theorem has_fderiv_at_filter.snd {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {G : Type u_4} [normed_add_comm_group G] [normed_space π•œ G] {x : E} {L : filter E} {fβ‚‚ : E β†’ F Γ— G} {fβ‚‚' : E β†’L[π•œ] F Γ— G} (h : has_fderiv_at_filter fβ‚‚ fβ‚‚' x L) :
has_fderiv_at_filter (Ξ» (x : E), (fβ‚‚ x).snd) ((continuous_linear_map.snd π•œ F G).comp fβ‚‚') x L
theorem has_fderiv_at_snd {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {p : E Γ— F} :
@[protected]
theorem has_fderiv_at.snd {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {G : Type u_4} [normed_add_comm_group G] [normed_space π•œ G] {x : E} {fβ‚‚ : E β†’ F Γ— G} {fβ‚‚' : E β†’L[π•œ] F Γ— G} (h : has_fderiv_at fβ‚‚ fβ‚‚' x) :
has_fderiv_at (Ξ» (x : E), (fβ‚‚ x).snd) ((continuous_linear_map.snd π•œ F G).comp fβ‚‚') x
theorem has_fderiv_within_at_snd {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {p : E Γ— F} {s : set (E Γ— F)} :
@[protected]
theorem has_fderiv_within_at.snd {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {G : Type u_4} [normed_add_comm_group G] [normed_space π•œ G] {x : E} {s : set E} {fβ‚‚ : E β†’ F Γ— G} {fβ‚‚' : E β†’L[π•œ] F Γ— G} (h : has_fderiv_within_at fβ‚‚ fβ‚‚' s x) :
has_fderiv_within_at (Ξ» (x : E), (fβ‚‚ x).snd) ((continuous_linear_map.snd π•œ F G).comp fβ‚‚') s x
theorem differentiable_at_snd {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {p : E Γ— F} :
@[protected, simp]
theorem differentiable_at.snd {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {G : Type u_4} [normed_add_comm_group G] [normed_space π•œ G] {x : E} {fβ‚‚ : E β†’ F Γ— G} (h : differentiable_at π•œ fβ‚‚ x) :
differentiable_at π•œ (Ξ» (x : E), (fβ‚‚ x).snd) x
theorem differentiable_snd {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] :
@[protected, simp]
theorem differentiable.snd {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {G : Type u_4} [normed_add_comm_group G] [normed_space π•œ G] {fβ‚‚ : E β†’ F Γ— G} (h : differentiable π•œ fβ‚‚) :
differentiable π•œ (Ξ» (x : E), (fβ‚‚ x).snd)
theorem differentiable_within_at_snd {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {p : E Γ— F} {s : set (E Γ— F)} :
@[protected]
theorem differentiable_within_at.snd {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {G : Type u_4} [normed_add_comm_group G] [normed_space π•œ G] {x : E} {s : set E} {fβ‚‚ : E β†’ F Γ— G} (h : differentiable_within_at π•œ fβ‚‚ s x) :
differentiable_within_at π•œ (Ξ» (x : E), (fβ‚‚ x).snd) s x
theorem differentiable_on_snd {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {s : set (E Γ— F)} :
@[protected]
theorem differentiable_on.snd {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {G : Type u_4} [normed_add_comm_group G] [normed_space π•œ G] {s : set E} {fβ‚‚ : E β†’ F Γ— G} (h : differentiable_on π•œ fβ‚‚ s) :
differentiable_on π•œ (Ξ» (x : E), (fβ‚‚ x).snd) s
theorem fderiv_snd {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {p : E Γ— F} :
fderiv π•œ prod.snd p = continuous_linear_map.snd π•œ E F
theorem fderiv.snd {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {G : Type u_4} [normed_add_comm_group G] [normed_space π•œ G] {x : E} {fβ‚‚ : E β†’ F Γ— G} (h : differentiable_at π•œ fβ‚‚ x) :
fderiv π•œ (Ξ» (x : E), (fβ‚‚ x).snd) x = (continuous_linear_map.snd π•œ F G).comp (fderiv π•œ fβ‚‚ x)
theorem fderiv_within_snd {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {p : E Γ— F} {s : set (E Γ— F)} (hs : unique_diff_within_at π•œ s p) :
theorem fderiv_within.snd {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {G : Type u_4} [normed_add_comm_group G] [normed_space π•œ G] {x : E} {s : set E} {fβ‚‚ : E β†’ F Γ— G} (hs : unique_diff_within_at π•œ s x) (h : differentiable_within_at π•œ fβ‚‚ s x) :
fderiv_within π•œ (Ξ» (x : E), (fβ‚‚ x).snd) s x = (continuous_linear_map.snd π•œ F G).comp (fderiv_within π•œ fβ‚‚ s x)
@[protected]
theorem has_strict_fderiv_at.prod_map {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {G : Type u_4} [normed_add_comm_group G] [normed_space π•œ G] {G' : Type u_5} [normed_add_comm_group G'] [normed_space π•œ G'] {f : E β†’ F} {f' : E β†’L[π•œ] F} {fβ‚‚ : G β†’ G'} {fβ‚‚' : G β†’L[π•œ] G'} (p : E Γ— G) (hf : has_strict_fderiv_at f f' p.fst) (hfβ‚‚ : has_strict_fderiv_at fβ‚‚ fβ‚‚' p.snd) :
has_strict_fderiv_at (prod.map f fβ‚‚) (f'.prod_map fβ‚‚') p
@[protected]
theorem has_fderiv_at.prod_map {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {G : Type u_4} [normed_add_comm_group G] [normed_space π•œ G] {G' : Type u_5} [normed_add_comm_group G'] [normed_space π•œ G'] {f : E β†’ F} {f' : E β†’L[π•œ] F} {fβ‚‚ : G β†’ G'} {fβ‚‚' : G β†’L[π•œ] G'} (p : E Γ— G) (hf : has_fderiv_at f f' p.fst) (hfβ‚‚ : has_fderiv_at fβ‚‚ fβ‚‚' p.snd) :
has_fderiv_at (prod.map f fβ‚‚) (f'.prod_map fβ‚‚') p
@[protected, simp]
theorem differentiable_at.prod_map {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {G : Type u_4} [normed_add_comm_group G] [normed_space π•œ G] {G' : Type u_5} [normed_add_comm_group G'] [normed_space π•œ G'] {f : E β†’ F} {fβ‚‚ : G β†’ G'} (p : E Γ— G) (hf : differentiable_at π•œ f p.fst) (hfβ‚‚ : differentiable_at π•œ fβ‚‚ p.snd) :
differentiable_at π•œ (Ξ» (p : E Γ— G), (f p.fst, fβ‚‚ p.snd)) p

Derivative of a function multiplied by a constant #

theorem has_strict_fderiv_at.const_smul {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {f' : E β†’L[π•œ] F} {x : E} {R : Type u_6} [semiring R] [module R F] [smul_comm_class π•œ R F] [has_continuous_const_smul R F] (h : has_strict_fderiv_at f f' x) (c : R) :
has_strict_fderiv_at (Ξ» (x : E), c β€’ f x) (c β€’ f') x
theorem has_fderiv_at_filter.const_smul {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {f' : E β†’L[π•œ] F} {x : E} {L : filter E} {R : Type u_6} [semiring R] [module R F] [smul_comm_class π•œ R F] [has_continuous_const_smul R F] (h : has_fderiv_at_filter f f' x L) (c : R) :
has_fderiv_at_filter (Ξ» (x : E), c β€’ f x) (c β€’ f') x L
theorem has_fderiv_within_at.const_smul {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {f' : E β†’L[π•œ] F} {x : E} {s : set E} {R : Type u_6} [semiring R] [module R F] [smul_comm_class π•œ R F] [has_continuous_const_smul R F] (h : has_fderiv_within_at f f' s x) (c : R) :
has_fderiv_within_at (Ξ» (x : E), c β€’ f x) (c β€’ f') s x
theorem has_fderiv_at.const_smul {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {f' : E β†’L[π•œ] F} {x : E} {R : Type u_6} [semiring R] [module R F] [smul_comm_class π•œ R F] [has_continuous_const_smul R F] (h : has_fderiv_at f f' x) (c : R) :
has_fderiv_at (Ξ» (x : E), c β€’ f x) (c β€’ f') x
theorem differentiable_within_at.const_smul {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {x : E} {s : set E} {R : Type u_6} [semiring R] [module R F] [smul_comm_class π•œ R F] [has_continuous_const_smul R F] (h : differentiable_within_at π•œ f s x) (c : R) :
differentiable_within_at π•œ (Ξ» (y : E), c β€’ f y) s x
theorem differentiable_at.const_smul {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {x : E} {R : Type u_6} [semiring R] [module R F] [smul_comm_class π•œ R F] [has_continuous_const_smul R F] (h : differentiable_at π•œ f x) (c : R) :
differentiable_at π•œ (Ξ» (y : E), c β€’ f y) x
theorem differentiable_on.const_smul {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {s : set E} {R : Type u_6} [semiring R] [module R F] [smul_comm_class π•œ R F] [has_continuous_const_smul R F] (h : differentiable_on π•œ f s) (c : R) :
differentiable_on π•œ (Ξ» (y : E), c β€’ f y) s
theorem differentiable.const_smul {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {R : Type u_6} [semiring R] [module R F] [smul_comm_class π•œ R F] [has_continuous_const_smul R F] (h : differentiable π•œ f) (c : R) :
differentiable π•œ (Ξ» (y : E), c β€’ f y)
theorem fderiv_within_const_smul {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {x : E} {s : set E} {R : Type u_6} [semiring R] [module R F] [smul_comm_class π•œ R F] [has_continuous_const_smul R F] (hxs : unique_diff_within_at π•œ s x) (h : differentiable_within_at π•œ f s x) (c : R) :
fderiv_within π•œ (Ξ» (y : E), c β€’ f y) s x = c β€’ fderiv_within π•œ f s x
theorem fderiv_const_smul {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f : E β†’ F} {x : E} {R : Type u_6} [semiring R] [module R F] [smul_comm_class π•œ R F] [has_continuous_const_smul R F] (h : differentiable_at π•œ f x) (c : R) :
fderiv π•œ (Ξ» (y : E), c β€’ f y) x = c β€’ fderiv π•œ f x

Derivative of the sum of two functions #

theorem has_strict_fderiv_at.add {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F] [normed_space π•œ F] {f g : E β†’ F} {f' g' : E β†’L[π•œ] F} {x : E} (hf : has_strict_fderiv_at f f' x) (hg : has_strict_fderiv_at g g' x) :
has_strict_fderiv_at (Ξ» (y : E), f y + g y) (f' + g') x
theorem has_fderiv_at_filter.add {π•œ : Type u_1} [nontrivially_normed_field π•œ] {E : Type u_2} [normed_add_comm_group E] [normed_space π•œ E] {F : Type u_3} [normed_add_comm_group F]