NLA-lib Explorer

NLAlib.CGS2.satisfies_nrm2RelOf

Library · theorem

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

NLAlib.CGS2.satisfies_nrm2RelOf {K Op Tst : Type} [Inhabited K] [Ops.Has Ops.Blas1Op Op]
  {dec : K → ℝ} {ed : ℕ → ℝ} {es : ℝ} {ok : ℕ → Prop} {I : Ops.Interp Op Tst K}
  (h :
    I.Satisfies Ops.Mode.total (Ops.Has.inj Ops.Blas1Op.nrm2)
      ((Ops.nrm2Rel dec ed es).spec (Ops.OutApart ok))) :
  I.Satisfies Ops.Mode.total (Ops.Has.inj Ops.Blas1Op.nrm2)
    ((CGS2.nrm2RelOf fun n ↦ Ops.IsNrm2Err dec (ed n) es n).spec (Ops.OutApart ok))

Full source on GitHub

Import NLAlib.Krylov.Orthogonalization.CGS2.ExtendRounded.