Theorem (fderiv_fderiv_rationalMatrixEval_apply). The actual second Fréchet derivative is the sum of the two ordered second block differences. [Tropp2026, §§4.2–4.4].
Headline (provisional)
Lean statement and details
NLAlib.fderiv_fderiv_rationalMatrixEval_apply.{u_1, u_2} {𝕜 : Type u_1} {n : Type u_2} [RCLike 𝕜]
[Fintype n] [DecidableEq n] (P Q : Polynomial 𝕜) (A G H : Matrix n n 𝕜)
(hA : IsUnit ((Polynomial.aeval A) Q)) :
((fderiv 𝕜 (fun B ↦ fderiv 𝕜 (rationalMatrixEval P Q) B) A) G) H =
rationalSecondBlockDifference P Q A A A G H + rationalSecondBlockDifference P Q A A A H G