NLAlib.Computation.exists_isRoundingProduct_sum_mul_one_add_eq
Library · theorem
A weighted mean of products of rounding errors is one: for 0 \le u < 1, weights w_i \ge 0 and 1 + \theta_i products of j factors (1 + \delta)^{\pm 1}, \sum_i w_i(1 + \theta_i) = \bigl(\sum_i w_i\bigr)(1 + \theta) with 1 + \theta again such a product, as the values fill an interval (NLAlib.Computation.isRoundingProduct_iff). This is how [Higham2002, §3.1] passes from (3.4) to a single \theta_j for a sum of nonnegative terms.
NLAlib.Computation.exists_isRoundingProduct_sum_mul_one_add_eq {u : ℝ} {j : ℕ} {ι : Type}
(hu : 0 ≤ u) (hu1 : u < 1) (s : Finset ι) (w θs : ι → ℝ) (hw : ∀ i ∈ s, 0 ≤ w i)
(hθ : ∀ i ∈ s, Computation.IsRoundingProduct u j (θs i)) :
∃ θ, Computation.IsRoundingProduct u j θ ∧ ∑ i ∈ s, w i * (1 + θs i) = (∑ i ∈ s, w i) * (1 + θ)Import NLAlib.Matrix.FinitePrecision.Rounding.