NLA-lib Explorer

NLAlib.Krylov.CG.HSPCG.Rounded.RunPrefix.zero

Library · theorem

The exact oracle initializer together with its actual bounded nonnegative pairing is an initialized prefix of length zero.

NLAlib.Krylov.CG.HSPCG.Rounded.RunPrefix.zero {n : ℕ} {A P : Matrix (Fin n) (Fin n) ℝ}
  {O : MatvecOracle P} {b : Fin n → ℝ} {e rho : ℝ}
  (hnu : |rho - b ⬝ᵥ O.mulVec b| ≤ e * ‖WithLp.toLp 2 b‖ * ‖WithLp.toLp 2 (O.mulVec b)‖)
  (hn : 0 ≤ rho) :
  Krylov.CG.HSPCG.Rounded.RunPrefix A P O b e 0 { x := 0, r := b, z := O.mulVec b, p := O.mulVec b }
    rho

Full source on GitHub

Import NLAlib.Krylov.CG.HSPCG.Rounded.Prefix.