NLA-lib Explorer

NLAlib.ShiftedQR.norm_rowEntryWord_sub_le

Library · theorem

Standard rounding

The rounded inner product of complex numbers: under the standard model with 0 \le \boldsymbol{u} \le 1/100, the machine accumulation NLAlib.ShiftedQR.rowEntryWord from 0, with the pair of 1, of l terms a_j \mathbf{x}_j satisfies \Bigl\lvert \widehat{s}_l - \sum_{j<l} a_j \mathbf{x}_j\Bigr\rvert \le ((1 + 5\boldsymbol{u})^l - 1)\sum_{j<l}\lvert a_j\rvert\lvert \mathbf{x}_j\rvert. [Higham2002, Lemma 3.4], with the constant of one rounded complex multiply–add.

NLAlib.ShiftedQR.norm_rowEntryWord_sub_le {M : Ops.Machine ℝ} {u : ℝ} (hM : Ops.StdModel u id M)
  (hu : 0 ≤ u) (hu' : u ≤ 1 / 100) (a x : ℕ → ℂ) (l : ℕ) :
  ‖ShiftedQR.pairToComplex (ShiftedQR.rowEntryWord M (1, 0) (0, 0) a x l) -
        ∑ j ∈ Finset.range l, a j * x j‖ ≤
    ((1 + 5 * u) ^ l - 1) * ∑ j ∈ Finset.range l, ‖a j‖ * ‖x j‖

Full source on GitHub

Import NLAlib.Eigensolvers.ShiftedQR.RoundedRowPoly.