NLA-lib Explorer

NLAlib.Ops.IsScalErr.decoded

Library · theorem

The division error bound on every decoded component, under the nonzero-divisor guard.

NLAlib.Ops.IsScalErr.decoded {K : Type} [Inhabited K] {dec : K → ℝ} {n : ℕ} {e : ℝ} {a : K}
  {xs zs : List K} (h : Ops.IsScalErr dec e n a (Ops.vec xs) (Ops.vec zs)) (ha : dec a ≠ 0)
  (i : Fin n) :
  |Ops.decv dec n zs i - Ops.decv dec n xs i / dec a| ≤ e * |Ops.decv dec n xs i / dec a|

Full source on GitHub

Import NLAlib.Ops.Blas.Decoded.