NLA-lib Explorer

Matrix.IsHermitian.pminresIterate_eq_preconditionedLanczosMatrix

Library · theorem

Headline of pminres-lanczos

The preconditioned Lanczos recurrence yields preconditioned MINRES: for invertible Hermitian \mathbf{A}, positive definite \mathbf{M} and every q, \mathsf{pminresIterate}(\mathbf{A}, \mathbf{M}, \mathbf{b}, \mathbf{x}_0, q) = \mathbf{x}_0 + \|\mathbf{r}_0\|_{\mathbf{M}}\,\mathbf{Z}_q\underline{\mathbf{T}}_q^{+}\mathbf{e}_0 with \mathbf{Z}_q and \underline{\mathbf{T}}_q computed by the preconditioned recurrence from \mathbf{r}_0, with no grade hypothesis. [ElmanSilvesterWathen2014, Algorithm 4.1]; locator to verify. Result: pminres-lanczos

Matrix.IsHermitian.pminresIterate_eq_preconditionedLanczosMatrix.{u_1, u_2} {𝕜 : Type u_1}
  [RCLike 𝕜] {n : Type u_2} [Fintype n] [DecidableEq n] {A M : Matrix n n 𝕜} (hA : A.IsHermitian)
  (hAu : IsUnit A) (hM : M.PosDef) (b x₀ : n → 𝕜) (q : ℕ) :
  pminresIterate A M b x₀ q =
    x₀ +
      ↑√(RCLike.re (quadForm M (b - A *ᵥ x₀))) •
        preconditionedLanczosMatrix A M (b - A *ᵥ x₀) q *ᵥ
          pinv
              ((preconditionedLanczosTridiagonal A M (b - A *ᵥ x₀) (q + 1)).submatrix id
                Fin.castSucc) *ᵥ
            Pi.single 0 1

Full source on GitHub

Import NLAlib.Krylov.LinearSystems.MINRESLanczos.