NLA-lib Explorer

NLAlib.Ops.Examples.sumSeq_satisfies_at

Library · theorem

Standard rounding

The certificate of sequential summation at a tag is the certificate of sequential summation: the unit roundoff is that of the machine of the tag.

NLAlib.Ops.Examples.sumSeq_satisfies_at {K Op Tst «π» : Type}
  [Ops.Has (Ops.Tagged «π» Ops.ScalarOp) Op] [Inhabited K] {M : Ops.Machine K}
  {I : Ops.Interp Op Tst K} (hI : Ops.IsScalarAt «π» M I) {u : ℝ} {dec : K → ℝ}
  (hM : Ops.StdModel u dec M) (hu : 0 ≤ u) (ok : ℕ → Prop) :
  (Ops.Examples.sumSeqAt «π»).Satisfies I Ops.Mode.total
    ((Ops.sumRel dec fun n ↦ (1 + u) ^ (n - 1) - 1).spec (Ops.OutApart ok))

Full source on GitHub

Import NLAlib.Ops.Examples.Mixed.