NLA-lib Explorer

NLAlib.Krylov.CG.HSCG.Carried.stepRoutine_meets

Library · theorem

Exact arithmetic Oracle: matrix–vector product

One retained-product round meets its specification under exact operation contracts: the run is total and keeps the retained-product invariant needed by the next round.

NLAlib.Krylov.CG.HSCG.Carried.stepRoutine_meets {K Op Tst : Type} [Inhabited K]
  [Ops.Has Ops.ScalarOp Op] [Ops.Has Ops.Blas1Op Op] [Ops.Has Ops.OperatorOp Op] {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) :
  Krylov.CG.HSCG.Carried.stepRoutine.Meets I (Krylov.CG.HSCG.Carried.stepSpec dec A)

Full source on GitHub

Import NLAlib.Krylov.CG.HSCG.Carried.Exact.