NLA-lib Explorer

The Hestenes–Stiefel recurrence

Library · Source module

The Hestenes–Stiefel recurrence

The conjugate gradient algorithm of Hestenes and Stiefel as a total recursion on a state indexed by the step: iterate \mathbf{x}_k, residual \mathbf{r}_k, search direction \mathbf{p}_k. Breakdown is a value: with 0^{-1} = 0 a zero residual makes both step sizes zero, and the state stays at the solution.

The realisation theorem says that for positive definite \mathbf{A} the computed iterates are the conjugate gradient iterates NLAlib.cgIterate from the same start, for every k and with no breakdown hypothesis. Its proof needs only that \mathbf{x}_k - \mathbf{x}_0 lies in the Krylov space and that the residual is orthogonal to it, through the Galerkin characterisation Matrix.PosDef.eq_cgIterate_of_conjTranspose_krylovMatrix_mulVec_sub_eq_zero.

Main definitions

* NLAlib.CGState, NLAlib.cgStep, NLAlib.cgState.

Main results

* NLAlib.cgState_r_eq, NLAlib.cgState_x_sub_mem_krylovSpace: for every \mathbf{A}. * NLAlib.cgStep_eq: real dot-product scalarization of the specified step. * Matrix.PosDef.conjTranspose_krylovMatrix_mulVec_cgState_r_eq_zero: the residual is orthogonal to the Krylov space. * Matrix.PosDef.cgState_x_eq: the Hestenes–Stiefel iterates are the CG iterates. * Matrix.PosDef.cgState_r_eq_zero_iff: the residual vanishes exactly from the grade on. * NLAlib.cgState_p_eq_zero_of_r_eq_zero, NLAlib.cgState_succ_eq_of_r_eq_zero: a zero residual has zero direction and the entire recurrence state stays fixed.

Declarations