NLA-lib Explorer

NLAlib.CGS2.satisfies_scalRelOf

Library · theorem

The scaling contract of the level-1 operations, in the form used by a round.

NLAlib.CGS2.satisfies_scalRelOf {K Op Tst : Type} [Inhabited K] [Ops.Has Ops.Blas1Op Op]
  {dec : K → ℝ} {e : ℝ} {ok : ℕ → Prop} {I : Ops.Interp Op Tst K}
  (h :
    I.Satisfies Ops.Mode.total (Ops.Has.inj Ops.Blas1Op.scal)
      ((Ops.scalRel dec e).spec (Ops.InPlace ok))) :
  I.Satisfies Ops.Mode.total (Ops.Has.inj Ops.Blas1Op.scal)
    ((CGS2.scalRelOf fun n ↦ Ops.IsScalErr dec e n).spec (Ops.InPlace ok))

Full source on GitHub

Import NLAlib.Krylov.Orthogonalization.CGS2.ExtendRounded.