NLA-lib Explorer

NLAlib.Krylov.CG.HSPCG.Rounded.margins_of_spectrum_subset_Icc

Library · theorem

Separate positive spectral windows for the system and inverse preconditioner, with their precision inequalities, imply the active-step margins whenever the residual and direction are nonzero and the stored preconditioned residual is the actual oracle output. [StrakosTichy2002, (7.14)].

NLAlib.Krylov.CG.HSPCG.Rounded.margins_of_spectrum_subset_Icc {n : ℕ}
  {A P : Matrix (Fin n) (Fin n) ℝ} {O : MatvecOracle P} {s : PCGState ℝ (Fin n)}
  {a a' p p' e ed em : ℝ} (hA : Aᵀ = A) (hP : Pᵀ = P) (ha : 0 < a) (hp : 0 < p)
  (hAspec : spectrum ℝ A ⊆ Set.Icc a a') (hPspec : spectrum ℝ P ⊆ Set.Icc p p') (he : 0 ≤ e)
  (hAprec : 3 * e * a' ≤ a) (hPprec : 3 * e * p' ≤ p) (hd : 0 ≤ ed) (hde : ed ≤ e) (hem : em ≤ e)
  (hOe : O.ε ≤ e) (hz : s.z = O.mulVec s.r) (hr : s.r ≠ 0) (hdir : s.p ≠ 0) :
  Krylov.CG.HSPCG.Rounded.Margins em ed A s

Full source on GitHub

Import NLAlib.Krylov.CG.HSPCG.Rounded.Guards.