NLA-lib Explorer

NLAlib.Ops.Examples.Integrator.myAxpy_meets

Library · theorem

Standard rounding

In the standard model of floating point arithmetic with unit roundoff u \ge 0, the loop meets the specification read off the contract of the update, with e = (1 + u)^2 - 1.

NLAlib.Ops.Examples.Integrator.myAxpy_meets {M : Ops.Machine ℝ}
  {I : Ops.Interp Ops.Examples.Integrator.MyLowOperation Empty ℝ} (hI : Ops.IsScalar M I) {u : ℝ}
  (hM : Ops.StdModel u id M) (hu : 0 ≤ u) :
  Ops.Examples.Integrator.myAxpy.Meets I
    (Ops.Routine.Spec.ofRel (Ops.Examples.Integrator.myAxpyRel ((1 + u) ^ 2 - 1)) fun x ↦ True)

Full source on GitHub

Import NLAlib.Ops.Examples.IntegratorLink.