NLA-lib Explorer

NLAlib.Krylov.CG.HSPCG.Rounded.RunPrefix.pairing_nonneg

Library · theorem

Every initialized prefix has a nonnegative terminal computed pairing, including the zero-length prefix and an exact early stop.

NLAlib.Krylov.CG.HSPCG.Rounded.RunPrefix.pairing_nonneg {n k : ℕ} {A P : Matrix (Fin n) (Fin n) ℝ}
  {O : MatvecOracle P} {b : Fin n → ℝ} {e rho : ℝ} {s : PCGState ℝ (Fin n)}
  (h : Krylov.CG.HSPCG.Rounded.RunPrefix A P O b e k s rho) : 0 ≤ rho

Full source on GitHub

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