NLA-lib Explorer

NLAlib.norm_sub_mulVec_gmresIterate_eq_norm_givensHessenbergQ

Library · theorem

Headline of gmres-residual-estimate

The GMRES residual estimate: for invertible \mathbf{A} and every q, with \mathbf{r}_0 = \mathbf{b} - \mathbf{A}\mathbf{x}_0, \underline{\mathbf{H}}_q computed by the Arnoldi process and \mathbf{G} its Givens factor, \|\mathbf{b} - \mathbf{A}\,\mathsf{gmresIterate}(\mathbf{A}, \mathbf{b}, \mathbf{x}_0, q)\| = \|\mathbf{r}_0\|\,\lvert(\mathbf{G}^{\mathsf{H}}\mathbf{e}_0)_q\rvert, the modulus of the last entry of the rotated \mathbf{e}_0, available without forming the iterate. [SaadSchultz1986, Proposition 1]; [Saad2003, Proposition 6.9]. It is (6.42) in Saad's book. Result: gmres-residual-estimate

NLAlib.norm_sub_mulVec_gmresIterate_eq_norm_givensHessenbergQ.{u_1, u_2} {𝕜 : Type u_1} [RCLike 𝕜]
  {n : Type u_2} [Fintype n] [DecidableEq n] {A : Matrix n n 𝕜} (hA : IsUnit A) (b x₀ : n → 𝕜)
  (q : ℕ) :
  ‖WithLp.toLp 2 (b - A *ᵥ gmresIterate A b x₀ q)‖ =
    ‖WithLp.toLp 2 (b - A *ᵥ x₀)‖ *
      ‖((givensHessenbergQ (mgsArnoldiHessenberg A (b - A *ᵥ x₀) q))ᴴ *ᵥ Pi.single 0 1)
          (Fin.last q)‖

Full source on GitHub

Import NLAlib.Krylov.LinearSystems.GMRESArnoldi.