NLA-lib Explorer

NLAlib.gmresIterate_eq_of_krylovGrade_le

Library ยท theorem

Headline of gmres-finite-termination

Finite termination: for invertible \mathbf{A} and \mathbf{A}\mathbf{x}_\star = \mathbf{b}, G\mathbf{M}RES reaches the solution once q is at least the grade of \mathbf{r}_0 = \mathbf{b} - \mathbf{A}\mathbf{x}_0: \mathsf{gmresIterate}(\mathbf{A}, \mathbf{b}, \mathbf{x}_0, q) = \mathbf{x}_\star. [SaadSchultz1986, Proposition 2]; [Saad2003, Proposition 6.10]. Both state that the iterate at the breakdown step, which is the grade ([Saad2003, Proposition 6.6]), is exact. Result: gmres-finite-termination

NLAlib.gmresIterate_eq_of_krylovGrade_le.{u_1, u_2} {๐•œ : Type u_1} [RCLike ๐•œ] {n : Type u_2}
  [Fintype n] [DecidableEq n] {A : Matrix n n ๐•œ} (hA : IsUnit A) {b xs : n โ†’ ๐•œ} (hxs : A *แตฅ xs = b)
  (xโ‚€ : n โ†’ ๐•œ) {q : โ„•} (h : krylovGrade A (b - A *แตฅ xโ‚€) โ‰ค q) : gmresIterate A b xโ‚€ q = xs

Full source on GitHub

Import NLAlib.Krylov.LinearSystems.GMRES.