AFTD Auto-Formalizing Theoretical Domains

Physlib.Wirtinger.hasFDerivAt_fderiv_apply

theoremverifiedformalizationimported Lean

The field p ↦ d_b f is the evaluation map · b composed with fderiv ℝ f, so when fderiv ℝ f is differentiable its derivative is fderiv ℝ (fderiv ℝ f) u post-composed with that evaluation.

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
variable {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] [NormedSpace ℂ V]
  {f : V → ℂ} {u : V} in
omit [NormedSpace ℂ V] in
lemma Physlib.Wirtinger.hasFDerivAt_fderiv_apply (hf' : DifferentiableAt ℝ (fderiv ℝ f) u)
    (b : V) :
    HasFDerivAt (fun p => fderiv ℝ f p b)
      ((ContinuousLinearMap.apply ℝ ℂ b).comp (fderiv ℝ (fderiv ℝ f) u)) u
Formalizes
Physlib, `Physlib.Wirtinger.hasFDerivAt_fderiv_apply`
Lean proof
By Andrea Pari, from github.com/leanprover-community/physlib at e411c6e89692 (Copyright (c) 2026 Andrea Pari. All rights reserved, Apache-2.0). Compiled here against leanprover/lean4:v4.33.1, Mathlib v4.33.1; written for leanprover/lean4:v4.34.1.
Verified
09 Oct 2026
Axioms
Classical.choiceQuot.soundpropext
Used by 1

Lean source view module on GitHub

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
variable {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] [NormedSpace ℂ V]
  {f : V → ℂ} {u : V} in
omit [NormedSpace ℂ V] in
/-- The field `p ↦ d_b f` is the evaluation map `· b` composed with `fderiv ℝ f`, so when `fderiv ℝ f` is differentiable its derivative is `fderiv ℝ (fderiv ℝ f) u` post-composed with that evaluation. -/
lemma Physlib.Wirtinger.hasFDerivAt_fderiv_apply (hf' : DifferentiableAt ℝ (fderiv ℝ f) u)
    (b : V) :
    HasFDerivAt (fun p => fderiv ℝ f p b)
      ((ContinuousLinearMap.apply ℝ ℂ b).comp (fderiv ℝ (fderiv ℝ f) u)) u :=
  (ContinuousLinearMap.apply ℝ ℂ b).hasFDerivAt.comp u hf'.hasFDerivAt
See it in the graphDiscuss this resultChallenge it