NLA-lib Explorer

PCG: orthogonal residuals and conjugate directions

Library ยท Result group

Theorem (Matrix.PosDef.star_pcgState_p_dotProduct_mulVec_eq_zero). The search directions are \mathbf{A}-conjugate, for positive definite \mathbf{A} and \mathbf{M}: \mathbf{p}_j^{\mathsf{H}}\mathbf{A}\mathbf{p}_k = 0 for j < k. [Saad2003, ยง9.2.1]; [HestenesStiefel1952, Theorem 5:1]. Saad shows that the PCG directions are \mathbf{L}^{-\mathsf{H}} times the CG directions of the split system \mathbf{L}^{-1}\mathbf{A}\mathbf{L}^{-\mathsf{H}}, \mathbf{M}^{-1} = \mathbf{L}\mathbf{L}^{\mathsf{H}}, with the same \mathbf{A}-inner products, and those are conjugate by Hestenes and Stiefel; both work over \mathbb{R}.

Headline (provisional)

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

Full source on GitHub

Copy link

Other forms

Theorem (Matrix.PosDef.star_pcgState_z_dotProduct_eq_zero). The residuals are \mathbf{M}-orthogonal: for positive definite \mathbf{A} and \mathbf{M}, \mathbf{z}_j^{\mathsf{H}}\mathbf{r}_k = 0 for j < k. [Saad2003, ยง9.2].

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

Full source on GitHub

Copy link