NLA-lib Explorer

NLAlib.Ops.StoredDense.abs_mulVec_sub_rowWord_le

Library · theorem

Standard rounding

The exact real matrix-vector row minus the actual streamed word is bounded by the scalar rounding envelope times the sum of absolute input products. The matrix and vector are decoded from their actual raw words; empty columns are included. [Higham2002, §3.5].

NLAlib.Ops.StoredDense.abs_mulVec_sub_rowWord_le {M : Ops.Machine ℝ} {u : ℝ}
  (hM : Ops.StdModel u id M) (hu : 0 ≤ u) (m n : ℕ) (raw xs : List ℝ) (i : Fin m) :
  |(Ops.StoredOperator.denseMatrix m n raw *ᵥ Ops.decv id n xs) i -
        Ops.StoredDense.rowWord M m n raw xs ↑i| ≤
    Ops.ScalarProducts.roundoff u n *
      ((Ops.StoredOperator.denseMatrix m n raw).map abs *ᵥ fun j ↦ |Ops.decv id n xs j|) i

Full source on GitHub

Import NLAlib.Ops.Profiles.StoredDenseRounded.