NLAlib.Krylov.CG.HSPCG.Rounded.pairing_nonneg_of_spectrum_subset_Icc
Library · theorem
A rounded residual/preconditioned-residual dot is nonnegative under the reference preconditioner's spectral precision window, including an exactly zero residual.
NLAlib.Krylov.CG.HSPCG.Rounded.pairing_nonneg_of_spectrum_subset_Icc {n : ℕ}
{P : Matrix (Fin n) (Fin n) ℝ} {O : MatvecOracle P} {r z : Fin n → ℝ} {rho p p' e ed : ℝ}
(hP : Pᵀ = P) (hp : 0 < p) (hs : spectrum ℝ P ⊆ Set.Icc p p') (he : 0 ≤ e)
(hprec : 3 * e * p' ≤ p) (hd : 0 ≤ ed) (hde : ed ≤ e) (hOe : O.ε ≤ e) (hz : z = O.mulVec r)
(hdot : |rho - r ⬝ᵥ z| ≤ ed * ∑ i, |r i * z i|) : 0 ≤ rhoImport NLAlib.Krylov.CG.HSPCG.Rounded.Guards.