NLA-lib Explorer

The actual second Fréchet derivative is the sum of the two ordered second block differences

Library · Result group

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

Full source on GitHub

Copy link

Other forms

Theorem (fderiv_rationalMatrixEval_apply). Applying the actual first Fréchet derivative gives the triangular block difference. [Tropp2026, §§4.2–4.4].

Lean statement and details
NLAlib.fderiv_rationalMatrixEval_apply.{u_1, u_2} {𝕜 : Type u_1} {n : Type u_2} [RCLike 𝕜]
  [Fintype n] [DecidableEq n] (P Q : Polynomial 𝕜) (A H : Matrix n n 𝕜)
  (hA : IsUnit ((Polynomial.aeval A) Q)) :
  (fderiv 𝕜 (rationalMatrixEval P Q) A) H = rationalBlockDifference P Q A A H

Full source on GitHub

Copy link

Theorem (rationalMatrixEval_fromBlocks_fromBlocks). The ordered second difference is exactly the first-to-third block. Only the three diagonal denominator evaluations need be invertible. [Tropp2026, §§4.2–4.4].

Lean statement and details
NLAlib.rationalMatrixEval_fromBlocks_fromBlocks.{u_1, u_2, u_3, u_4} {𝕜 : Type u_1} {m : Type u_2}
  {n : Type u_3} {o : Type u_4} [Field 𝕜] [Fintype m] [Fintype n] [Fintype o] [DecidableEq m]
  [DecidableEq n] [DecidableEq o] (P Q : Polynomial 𝕜) (A : Matrix m m 𝕜) (B : Matrix n n 𝕜)
  (C : Matrix o o 𝕜) (G : Matrix m n 𝕜) (H : Matrix n o 𝕜) (hA : IsUnit ((Polynomial.aeval A) Q))
  (hB : IsUnit ((Polynomial.aeval B) Q)) (hC : IsUnit ((Polynomial.aeval C) Q)) :
  rationalMatrixEval P Q (fromBlocks (fromBlocks A G 0 B) (fromRows 0 H) 0 C) =
    fromBlocks
      (fromBlocks (rationalMatrixEval P Q A) (rationalBlockDifference P Q A B G) 0
        (rationalMatrixEval P Q B))
      ((rationalSecondBlockDifference P Q A B C G H).fromRows (rationalBlockDifference P Q B C H)) 0
      (rationalMatrixEval P Q C)

Full source on GitHub

Copy link

Theorem (sub_rationalMatrixEval). The exact first finite-difference formula for a rational matrix function. [Tropp2026, §§4.2–4.4].

Lean statement and details
NLAlib.sub_rationalMatrixEval.{u_1, u_2} {𝕜 : Type u_1} {n : Type u_2} [Field 𝕜] [Fintype n]
  [DecidableEq n] (P Q : Polynomial 𝕜) (A B : Matrix n n 𝕜) (hA : IsUnit ((Polynomial.aeval A) Q))
  (hB : IsUnit ((Polynomial.aeval B) Q)) :
  rationalMatrixEval P Q A - rationalMatrixEval P Q B = rationalBlockDifference P Q A B (A - B)

Full source on GitHub

Copy link