NLA-lib Explorer

NLAlib.cgState_p_eq_zero_of_r_eq_zero

Library ยท theorem

A zero residual in the total CG recurrence has zero direction, for every matrix and starting vector. This includes the initial state and terminal states after any step.

NLAlib.cgState_p_eq_zero_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).p = 0

Full source on GitHub

Import NLAlib.Krylov.LinearSystems.CGRecurrence.