Theorem 9.15 — the chain rule
ProvedRudin.ch09_chain_ruleanalysiscalculus
If is differentiable at with derivative and is differentiable at with derivative , then is differentiable at with derivative .
Preamble
import Mathlib open Filter Topology
Formal statement
namespace Rudin
/-- Rudin, Theorem 9.15 (chain rule): if `f` is differentiable at `x` and `g` is differentiable
at `f x`, then `g ∘ f` is differentiable at `x` with derivative `g'(f x) ∘ f'(x)`. -/
theorem ch09_chain_rule (n m k : ℕ)
(f : EuclideanSpace ℝ (Fin n) → EuclideanSpace ℝ (Fin m))
(g : EuclideanSpace ℝ (Fin m) → EuclideanSpace ℝ (Fin k))
(x : EuclideanSpace ℝ (Fin n))
(A : EuclideanSpace ℝ (Fin n) →L[ℝ] EuclideanSpace ℝ (Fin m))
(B : EuclideanSpace ℝ (Fin m) →L[ℝ] EuclideanSpace ℝ (Fin k))
(hf : HasFDerivAt f A x) (hg : HasFDerivAt g B (f x)) :
HasFDerivAt (g ∘ f) (B.comp A) x := by sorry
end RudinSource
Walter Rudin, Principles of Mathematical Analysis, 3rd edition, McGraw-Hill, 1976, Chapter 9, p. 214, Theorem 9.15
Read-back
What the Lean code literally says, in plain math · Aristotle (Harmonic)
Let , let and be maps between Euclidean spaces, let , and let and be continuous linear maps. Assume has Fréchet derivative at and has Fréchet derivative at the point . Then the composite has Fréchet derivative at .
"Has Fréchet derivative at " means as . The maps are defined on the whole spaces, so no open-set or domain conditions appear; continuity of or elsewhere is not assumed.
Human review
Confirmed by the mission captain (proposal self-audit).