NLAlib.ShiftedQR.foldWords_add_bounds
Library · theorem
Standard rounding
A rounded sum of nonnegative words: under the standard model with 0 \le \boldsymbol{u} \le 1, the words w_0, \dots, w_j \ge 0 summed left to right \mathbf{b}y j rounded additions give a sum between (1 - \boldsymbol{u})^j and (1 + \boldsymbol{u})^j times \sum_{i \le j} w_i.
NLAlib.ShiftedQR.foldWords_add_bounds {M : Ops.Machine ℝ} {u : ℝ} (hM : Ops.StdModel u id M)
(hu1 : u ≤ 1) {w : ℕ → ℝ} (hw : ∀ (i : ℕ), 0 ≤ w i) (j : ℕ) :
(1 - u) ^ j * ∑ i ∈ Finset.range (j + 1), w i ≤ ShiftedQR.foldWords M.add w j ∧
ShiftedQR.foldWords M.add w j ≤ (1 + u) ^ j * ∑ i ∈ Finset.range (j + 1), w iImport NLAlib.Eigensolvers.ShiftedQR.RoundedModuli.