NLAlib.CGImplementation.zero_lt_dotProduct_mulVec_cgState_p
Library · theorem
In an SPD exact CG trajectory a nonzero residual gives strictly positive curvature. This justifies the actual guard without imposing a local execution or curvature premise.
NLAlib.CGImplementation.zero_lt_dotProduct_mulVec_cgState_p {N j : ℕ} {A : Matrix (Fin N) (Fin N) ℝ}
(hA : A.PosDef) (b : Fin N → ℝ) (hr : (cgState A b 0 j).r ≠ 0) :
0 < (cgState A b 0 j).p ⬝ᵥ A *ᵥ (cgState A b 0 j).pImport NLAlib.Krylov.LinearSystems.CGGuards.