NLA-lib Explorer

NLAlib.Ops.IsDotErr.self_pos_of_ne_zero

Library · theorem

A nonzero decoded vector has positive computed self-dot under relative error less than one.

NLAlib.Ops.IsDotErr.self_pos_of_ne_zero {K : Type} [Inhabited K] {dec : K → ℝ} {n : ℕ} {e : ℝ}
  {xs : List K} {v : K} (h : Ops.IsDotErr dec e n (Ops.vec xs) (Ops.vec xs) v) (he : e < 1)
  (hx : Ops.decv dec n xs ≠ 0) : 0 < dec v

Full source on GitHub

Import NLAlib.Ops.Blas.Decoded.