NLA-lib Explorer

NLAlib.Krylov.CG.HSPCG.Rounded.stepRoutine_meets_with_pairings

Library · theorem

Standard rounding Relative-error BLAS Oracle: matrix–vector product

One rounded round meets its specification with pairing evidence: the input numerical margins guarantee both positive computed divisors, and the local rounded contracts establish the actual four-vector PCG update.

NLAlib.Krylov.CG.HSPCG.Rounded.stepRoutine_meets_with_pairings {Op Tst : Type}
  [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 ℝ}
  {n : ℕ} {em u : ℝ} {ε : Ops.Blas1Err} {A P : Matrix (Fin n) (Fin n) ℝ} {O : MatvecOracle P}
  {I : Ops.Interp Op Tst ℝ} {ok : ℕ → Prop} {Q : (n : ℕ) → (Fin n → ℝ) → (Fin n → ℝ) → ℝ → Prop}
  (hS : Ops.IsScalar F I) (hF : Ops.StdModel u id F) (hB : Ops.IsBlas1 id ε ok I) (hok : ok n)
  (hA : Ops.IsMatvec id A (em * specNorm A) I)
  (hP :
    I.IsFn Ops.Mode.total (Ops.Tagged.inj Krylov.CG.HSPCG.Preconditioner Ops.OperatorOp.matvec)
      (Ops.matvecFn O.mulVec) (Ops.MatvecOperands n n))
  (hD :
    I.Satisfies Ops.Mode.total (Ops.Has.inj Ops.Blas1Op.dot)
      ((Krylov.CG.HSPCG.Rounded.dotEvidenceRel ε Q).spec (Ops.OutApart ok))) :
  Krylov.CG.HSPCG.stepRoutine.Meets I (Krylov.CG.HSPCG.Rounded.stepSpec em u ε A O Q)

Full source on GitHub

Import NLAlib.Krylov.CG.HSPCG.Rounded.Step.