Supplementary lemmas for iterated derivatives #
This file supplements Mathlib with derivative iteration and product estimates, two-set affine chain rules, and restriction and compact-support bounds for iterated derivatives.
Iterating the derivative twice adds the derivative orders.
theorem
Expdb.norm_iteratedDeriv_mul_sub_le
{f g h : ℝ → ℝ}
{x : ℝ}
{n : ℕ}
(hf : ContDiffAt ℝ (↑n) f x)
(hg : ContDiffAt ℝ (↑n) g x)
(hh : ContDiffAt ℝ (↑n) h x)
{A : ℕ → ℝ}
{ε : ℝ}
(hA : ∀ m ≤ n, ‖iteratedDeriv m f x‖ ≤ A m)
(hε : ∀ m ≤ n, ‖iteratedDeriv m g x - iteratedDeriv m h x‖ ≤ ε)
:
‖iteratedDeriv n (fun (y : ℝ) => f y * g y) x - iteratedDeriv n (fun (y : ℝ) => f y * h y) x‖ ≤ (∑ m ∈ Finset.range (n + 1), ↑(n.choose m) * A m) * ε
Multiplication by a smooth function bounds derivative differences by a weighted sum of the derivative bounds of the multiplier.
theorem
Expdb.iteratedDerivWithin_comp_affine_of_mapsTo
{f : ℝ → ℝ}
{s t : Set ℝ}
{x c d : ℝ}
{n : ℕ}
(hf : ContDiffOn ℝ (↑n) f t)
(hs : UniqueDiffOn ℝ s)
(ht : UniqueDiffOn ℝ t)
(hx : x ∈ s)
(hst : Set.MapsTo (fun (y : ℝ) => c * y + d) s t)
:
iteratedDerivWithin n (fun (y : ℝ) => f (c * y + d)) s x = c ^ n * iteratedDerivWithin n f t (c * x + d)
Iterated derivatives of a function precomposed with an affine map. Unlike Mathlib's
iteratedDerivWithin_comp_const_smul, the domain and codomain sets may be different.
theorem
Expdb.iteratedDerivWithin_eq_of_restriction
{f g : ℝ → ℝ}
{s t : Set ℝ}
(hst : s ⊆ t)
(hs : UniqueDiffOn ℝ s)
(ht : UniqueDiffOn ℝ t)
(hg : ContDiffOn ℝ (↑⊤) g t)
(heq : Set.EqOn g f s)
{x : ℝ}
(hx : x ∈ s)
(k : ℕ)
:
Iterated derivatives agree under restriction to a smaller set on which the functions agree.
theorem
Expdb.exists_bound_iteratedDeriv_of_hasCompactSupport
{f : ℝ → ℝ}
(hf : ContDiff ℝ (↑⊤) f)
(hc : HasCompactSupport f)
(k : ℕ)
:
Every derivative of a compactly supported smooth function is bounded.