NLAlib.Ops.Examples.abs_dec_dotF_sub_le
Library · theorem
Standard rounding
The error of the rounded dot product, on decoded values.
NLAlib.Ops.Examples.abs_dec_dotF_sub_le {K : Type} {u : ℝ} {dec : K → ℝ} {M : Ops.Machine K}
(hM : Ops.StdModel u dec M) (hu : 0 ≤ u) (a b : ℕ → K) (n : ℕ) :
|dec (Ops.Examples.dotF M a b n) - ∑ k ∈ Finset.range n, dec (a k) * dec (b k)| ≤
((1 + u) ^ (2 * n) - 1) * ∑ k ∈ Finset.range n, |dec (a k) * dec (b k)|Import NLAlib.Ops.Examples.Dot.