NLA-lib Explorer

NLAlib.cgState_succ_eq_of_r_eq_zero

Library ยท theorem

Once its residual is zero, the entire total CG recurrence state is fixed at the next step. This justifies zero-residual stopping without changing a later exact iterate.

NLAlib.cgState_succ_eq_of_r_eq_zero.{u_1, u_2} {๐•œ : Type u_1} [RCLike ๐•œ] {n : Type u_2} [Fintype n]
  (A : Matrix n n ๐•œ) (b xโ‚€ : n โ†’ ๐•œ) {j : โ„•} (hr : (cgState A b xโ‚€ j).r = 0) :
  cgState A b xโ‚€ (j + 1) = cgState A b xโ‚€ j

Full source on GitHub

Import NLAlib.Krylov.LinearSystems.CGRecurrence.