NLAlib.Computation.IsDotTrace.exists_eq_sum_mul_one_add_isRoundingProduct
Library · theorem
Backward error of an inner product, product form [Higham2002, §3.1], (3.4) there: under the standard model with unit roundoff 0 \le u, the result s_n of a trace of recursive accumulation is s_n = \sum_{k<n} \mathbf{x}_k y_k (1 + \eta_k)\,, each 1 + \eta_k a product of n factors (1 + \delta)^{\pm 1} with \lvert \delta \rvert \le u (NLAlib.Computation.IsRoundingProduct), so that the \theta-algebra of [Higham2002, Lemma 3.3] applies to it without loss.
NLAlib.Computation.IsDotTrace.exists_eq_sum_mul_one_add_isRoundingProduct {u : ℝ} {n : ℕ}
{x y s : ℕ → ℝ} (h : Computation.IsDotTrace (fun x ↦ Computation.RelErr u) x y n s) (hu : 0 ≤ u) :
∃ η,
(∀ k < n, Computation.IsRoundingProduct u n (η k)) ∧
s n = ∑ k ∈ Finset.range n, x k * y k * (1 + η k)Import NLAlib.Matrix.FinitePrecision.Traces.