NLA-lib Explorer

NLAlib.Ops.IsDotErr.self_pos

Library · theorem

A computed self-dot of positive exact squared norm remains positive when its relative error parameter is less than one. Strict positivity supplies the nonzero divisor for scalar division.

NLAlib.Ops.IsDotErr.self_pos {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)
  (hs : 0 < Ops.decv dec n xs ⬝ᵥ Ops.decv dec n xs) : 0 < dec v

Full source on GitHub

Import NLAlib.Ops.Blas.Decoded.