NLA-lib Explorer

NLAlib.Krylov.CG.HSPCG.stepRoutine_meets

Library · theorem

Exact arithmetic Oracle: matrix–vector product

One nonbreaking round of the preconditioned recurrence meets its specification under exact scalar, vector, system and preconditioner contracts.

NLAlib.Krylov.CG.HSPCG.stepRoutine_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] {F : Ops.Machine K}
  {dec : K → ℝ} {n : ℕ} {A M : Matrix (Fin n) (Fin n) ℝ} {I : Ops.Interp Op Tst K}
  (hS : Ops.IsScalar F I) (hF : Ops.ExactModel dec F) (hB : Ops.IsExactBlas1 dec (fun x ↦ True) I)
  (hA : Ops.IsExactMatvec dec A I) (hM : Krylov.CG.HSPCG.IsExactPreconditioner dec M I) :
  Krylov.CG.HSPCG.stepRoutine.Meets I (Krylov.CG.HSPCG.stepSpec dec A M)

Full source on GitHub

Import NLAlib.Krylov.CG.HSPCG.Exact.