NLA-lib Explorer

NLAlib.Ops.isDotErr_of_isSumErr

Library · theorem

Standard rounding

From the sum of the rounded products to the dot product.

NLAlib.Ops.isDotErr_of_isSumErr {K : Type} {u : ℝ} {dec : K → ℝ} {M : Ops.Machine K}
  (hM : Ops.StdModel u dec M) {e : ℝ} (he : 0 ≤ e) {n : ℕ} {a b p : ℕ → K} {v : K}
  (hp : ∀ k < n, p k = M.mul (a k) (b k)) (h : Ops.IsSumErr dec e n p v) :
  Ops.IsDotErr dec ((1 + u) * (1 + e) - 1) n a b v

Full source on GitHub

Import NLAlib.Ops.Blas.Dot.