NLA-lib Explorer

NLAlib.Krylov.CG.HSCG.Carried.solveRoutine_meets

Library · theorem

Exact arithmetic Oracle: matrix–vector product

The complete solver is total for every SPD input and cap under the stated operation models; there is no success premise or restriction on the cap. Initialization, then the capped loop, each used by its judgment.

NLAlib.Krylov.CG.HSCG.Carried.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.CmpTst Tst] {M : Ops.Machine K} {dec : K → ℝ} {n : ℕ} {A : 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)
  (hCmp : Ops.IsCmp dec I) (hPos : A.PosDef) :
  Krylov.CG.HSCG.Carried.solveRoutine.Meets I (Krylov.CG.HSCG.Carried.solveSpec dec A)

Full source on GitHub

Import NLAlib.Krylov.CG.HSCG.Carried.Solve.