NLA-lib Explorer

NLAlib.Ops.axpyLoop_satisfies

Library · theorem

Standard rounding

The axpy loop satisfies the contract of axpy with the error (1 + u) ^ 2 - 1: a consequence of the judgment of its routine.

NLAlib.Ops.axpyLoop_satisfies {K Op Tst : Type} [Ops.Has Ops.ScalarOp 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) (hu : 0 ≤ u) (ok : ℕ → Prop) :
  Ops.axpyLoopRoutine.impl.Satisfies I Ops.Mode.total
    ((Ops.axpyRel dec ((1 + u) ^ 2 - 1)).spec (Ops.InPlace ok))

Full source on GitHub

Import NLAlib.Ops.Blas.Level1.