NLAlib.Krylov.CG.HSPCG.solveRoutine_meets
Library · theorem
Exact arithmetic Oracle: matrix–vector product
The complete program meets its specification for every exact operation interpretation and every positive-definite matrix and preconditioner: initialization, then the rounds, each used by its judgment.
NLAlib.Krylov.CG.HSPCG.solveRoutine_meets {K Op Tst : Type} [Inhabited K] [Ops.Has Ops.ScalarOp Op]
[Ops.Has Ops.Blas1Op Op] [Ops.Has Ops.OperatorOp Op]
[Ops.Has (Ops.Tagged Krylov.CG.HSPCG.Preconditioner Ops.OperatorOp) Op] {M : Ops.Machine K}
{dec : K → ℝ} {n : ℕ} {A P : Matrix (Fin n) (Fin n) ℝ} {I : Ops.Interp Op Tst K}
(hS : Ops.IsScalar M I) (hM : Ops.ExactModel dec M) (hB : Ops.IsExactBlas1 dec (fun x ↦ True) I)
(hA : Ops.IsExactMatvec dec A I) (hP : Krylov.CG.HSPCG.IsExactPreconditioner dec P I)
(hPos : A.PosDef) (hPPos : P.PosDef) :
Krylov.CG.HSPCG.solveRoutine.Meets I (Krylov.CG.HSPCG.solveSpec dec A P)Import NLAlib.Krylov.CG.HSPCG.Solve.