NLA-lib Explorer

NLAlib.Ops.Examples.Routines.sum2Algorithm

Library · def

Standard rounding Uniform model Work: closed

The certificate of the composite routine, over the scalar-only model with unit weights and the standard model of arithmetic at unit roundoff u: the counted certificate of the routine on its problem (NLAlib.Ops.Routine.Domain.certify).

NLAlib.Ops.Examples.Routines.sum2Algorithm (M : Ops.Machine ℝ) (u : ℝ) (hM : Ops.StdModel u id M)
  (hu : 0 ≤ u) :
  Ops.Algorithm (Ops.Examples.Routines.sum2Model M)
    (Ops.Examples.Routines.sum2.specification (fun x x_1 ↦ Ops.Examples.Routines.sum2Spec id u)
      (Ops.Examples.Routines.sum2Model M).resources Ops.Examples.Routines.sum2Input
      Ops.Examples.Routines.sum2Domain.bytes Ops.Examples.Routines.sum2Work)

Full source on GitHub

Import NLAlib.Ops.Examples.RoutineCertification.