NLAlib.Krylov.CG.HSPCG.Rounded.RunPrefix.direction_ne_zero
Library · theorem
Raw positive spectral windows and the common cap-dependent precision window derive the direction guard for every nonzero endpoint residual, including the initialized state.
NLAlib.Krylov.CG.HSPCG.Rounded.RunPrefix.direction_ne_zero {n k cap : ℕ}
{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) (hP : Pᵀ = P)
{a a' m m' : ℝ} (ha : 0 < a) (hAs : spectrum ℝ A ⊆ Set.Icc a a') (hm : 0 < m)
(hMs : spectrum ℝ P ⊆ Set.Icc m m') (he : 0 ≤ e) (hAp : 6 * e * a' ≤ a) (hMp : 6 * e * m' ≤ m)
(hO : O.ε ≤ e) (hk : k ≤ cap) (hsmall : e * (1024 * (a' / a) * (m' / m)) ^ (cap + 1) ≤ 1 / 2)
(hr : s.r ≠ 0) : s.p ≠ 0Import NLAlib.Krylov.CG.HSPCG.Rounded.Rounds.