NLA-lib Explorer

NLAlib.Ops.Examples.FixedPoint.isAxpyMixedErr_axpyF

Library · theorem

AXPY on any admitted finite vectors inherits the generic error bound.

NLAlib.Ops.Examples.FixedPoint.isAxpyMixedErr_axpyF (bound scale : ℕ) (hs : 0 < scale)
  (a : Ops.Examples.FixedPoint.Word bound) (x y : ℕ → Ops.Examples.FixedPoint.Word bound) (n : ℕ)
  (h :
    Ops.AxpySafe (Ops.Examples.FixedPoint.decode scale)
      (Ops.Examples.FixedPoint.machine bound scale) (fun z ↦ |z| ≤ ↑bound / ↑scale) n a x y) :
  Ops.IsAxpyMixedErr (Ops.Examples.FixedPoint.decode scale) 0 (1 / ↑scale) n a x y
    (Ops.vec (Ops.axpyF (Ops.Examples.FixedPoint.machine bound scale) a x y n))

Full source on GitHub

Import NLAlib.Ops.Examples.FixedPoint.