NLA-lib Explorer

CG: orthogonal residuals and conjugate directions

Library ยท Result group

Theorem (Matrix.PosDef.star_cgState_p_dotProduct_mulVec_eq_zero). The search directions are \mathbf{A}-conjugate, for positive definite \mathbf{A}: \mathbf{p}_j^{\mathsf{H}}\mathbf{A}\mathbf{p}_k = 0 for j < k. [HestenesStiefel1952, Theorem 5:1]; [TrefethenBau1997, Theorem 38.1]. It is (5:3b) there, for real symmetric \mathbf{A}.

Headline (provisional)

Lean statement and details
Matrix.PosDef.star_cgState_p_dotProduct_mulVec_eq_zero.{u_1, u_2} {๐•œ : Type u_1} [RCLike ๐•œ]
  {n : Type u_2} [Fintype n] {A : Matrix n n ๐•œ} {b xโ‚€ : n โ†’ ๐•œ} (hA : A.PosDef) {j k : โ„•}
  (hjk : j < k) : star (cgState A b xโ‚€ j).p โฌแตฅ A *แตฅ (cgState A b xโ‚€ k).p = 0

Full source on GitHub

Copy link

Other forms

Theorem (Matrix.PosDef.star_cgState_r_dotProduct_eq_zero). The residuals are orthogonal, for positive definite \mathbf{A}: \mathbf{r}_j^{\mathsf{H}}\mathbf{r}_k = 0 for j < k. [HestenesStiefel1952, Theorem 5:1]; [TrefethenBau1997, Theorem 38.1]. It is (5:3a) there, for real symmetric \mathbf{A}.

Lean statement and details
Matrix.PosDef.star_cgState_r_dotProduct_eq_zero.{u_1, u_2} {๐•œ : Type u_1} [RCLike ๐•œ] {n : Type u_2}
  [Fintype n] {A : Matrix n n ๐•œ} {b xโ‚€ : n โ†’ ๐•œ} (hA : A.PosDef) {j k : โ„•} (hjk : j < k) :
  star (cgState A b xโ‚€ j).r โฌแตฅ (cgState A b xโ‚€ k).r = 0

Full source on GitHub

Copy link