NLAlib.Ops.StdModel.abs_prodWords_sub_le
Library · theorem
Standard rounding
The rounded product of words: in the standard model with unit roundoff \boldsymbol{u} and decoding dec, the product of the words w_0, \dots, w_j accumulated by j rounded multiplications (NLAlib.prodWords) satisfies \Bigl\lvert \mathrm{dec}(\mathrm{fl}(w_0 \cdots w_j)) - \prod_{i \le j} \mathrm{dec}(w_i) \Bigr\rvert \le \bigl((1 + \boldsymbol{u})^j - 1\bigr) \prod_{i \le j} \lvert\mathrm{dec}(w_i) \rvert. No hypothesis on \boldsymbol{u}: the model forces \boldsymbol{u} \ge 0. [Higham2002, Lemma 3.1].
NLAlib.Ops.StdModel.abs_prodWords_sub_le {K : Type} {u : ℝ} {dec : K → ℝ} {M : Ops.Machine K}
(hM : Ops.StdModel u dec M) (w : ℕ → K) (j : ℕ) :
|dec (prodWords M w j) - ∏ i ∈ Finset.range (j + 1), dec (w i)| ≤
((1 + u) ^ j - 1) * ∏ i ∈ Finset.range (j + 1), |dec (w i)|Import NLAlib.Matrix.FinitePrecision.ProductRounded.