NLA-lib Explorer

NLAlib.norm_sub_mulVec_pinv_submatrix_mulVec_single_eq

Library · theorem

This statement changed in the recorded rename: 2026-10-rules.

The progressive residual: under the full-rank hypothesis of pinv_submatrix_mulVec_single_eq_backSubst, the least-squares residual of the leading block is the modulus of entry k of the rotated \mathbf{e}_0. This is the residual estimate of GMRES and MINRES, read off without forming the iterate. [Saad2003, Proposition 6.9]; locator to verify.

NLAlib.norm_sub_mulVec_pinv_submatrix_mulVec_single_eq.{u_1} {𝕜 : Type u_1} [RCLike 𝕜] {q : ℕ}
  {H : Matrix (Fin (q + 1)) (Fin q) 𝕜} (hH : IsUpperHessenberg H) {k : ℕ} (hk : k ≤ q)
  (hk₁ : k + 1 ≤ q + 1)
  (hHk : Function.Injective (H.submatrix (Fin.castLE hk₁) (Fin.castLE hk)).mulVec) :
  ‖WithLp.toLp 2
        (Pi.single 0 1 -
          H.submatrix (Fin.castLE hk₁) (Fin.castLE hk) *ᵥ
            pinv (H.submatrix (Fin.castLE hk₁) (Fin.castLE hk)) *ᵥ Pi.single 0 1)‖ =
    ‖((givensHessenbergState H k).1ᴴ *ᵥ Pi.single 0 1) (Fin.castLE hk₁ (Fin.last k))‖

Full source on GitHub

Import NLAlib.Matrix.Factorizations.GivensHessenberg.