NLA-lib Explorer

NLAlib.Ops.nrm2Sum_satisfies

Library · theorem

Standard rounding

nrm2Sum satisfies the contract of nrm2, over an interpretation whose sum has the error es: a consequence of the judgment of its routine.

NLAlib.Ops.nrm2Sum_satisfies {K Op Tst : Type} [Ops.Has Ops.ScalarOp Op] [Ops.Has Ops.Blas1Op Op]
  [Inhabited K] {M : Ops.Machine K} {I : Ops.Interp Op Tst K} (hI : Ops.IsScalar M I) {u : ℝ}
  {dec : K → ℝ} (hM : Ops.StdModel u dec M) {es : ℕ → ℝ} {ok : ℕ → Prop}
  (hS : Ops.IsSum dec es ok I) (hes : ∀ (n : ℕ), 0 ≤ es n) :
  Ops.nrm2SumRoutine.impl.Satisfies I Ops.Mode.total
    ((Ops.nrm2Rel dec (fun n ↦ (1 + u) * (1 + es n) - 1) u).spec (Ops.OutApart ok))

Full source on GitHub

Import NLAlib.Ops.Blas.Dot.