NLA-lib Explorer

NLAlib.Krylov.CG.HSPCG.Rounded.RoundBounds.exists_pcgRun_one

Library · theorem

The actual first zero-start rounded recurrence is an existing one-step PCG run. The system is Hermitian, the reference inverse preconditioner is SPD, local errors fit a common allowance at most one percent, and the preconditioner spectrum satisfies the stated precision window. No execution-success or final-pairing positivity premise is required. [Saad2003, Algorithm 9.1].

NLAlib.Krylov.CG.HSPCG.Rounded.RoundBounds.exists_pcgRun_one {n : ℕ} {em u ed ea e p p' : ℝ}
  {A P : Matrix (Fin n) (Fin n) ℝ} {O : MatvecOracle P} {b : Fin n → ℝ} {next : PCGState ℝ (Fin n)}
  {rho rho' : ℝ}
  (h :
    Krylov.CG.HSPCG.Rounded.RoundBounds em u ed ea A O
      { x := 0, r := b, z := O.mulVec b, p := O.mulVec b } next rho rho')
  (hA : A.IsHermitian) (hP : P.PosDef) (hu : 0 ≤ u) (hd : 0 ≤ ed) (ha : 0 ≤ ea) (hem : em ≤ e)
  (hue : u ≤ e) (hde : ed ≤ e) (hae : ea ≤ e) (he : e ≤ 1 / 100) (hp : 0 < p)
  (hs : spectrum ℝ P ⊆ Set.Icc p p') (hprec : 3 * e * p' ≤ p) (hOe : O.ε ≤ e) :
  ∃ R,
    R.A = A ∧
      R.M = P ∧
        R.preconditioner ≍ O ∧ R.b = b ∧ R.ε = e ∧ R.state 1 = next ∧ R.ν 0 = rho ∧ R.ν 1 = rho'

Full source on GitHub

Import NLAlib.Krylov.CG.HSPCG.Rounded.Recurrence.