NLAlib.Ops.Examples.abs_dec_mmF_sub_le
Library · theorem
Standard rounding
The entrywise error of the rounded matrix product.
NLAlib.Ops.Examples.abs_dec_mmF_sub_le {K : Type} [Inhabited K] {u : ℝ} {dec : K → ℝ}
{M : Ops.Machine K} (hM : Ops.StdModel u dec M) (hu : 0 ≤ u) (a b c : ℕ) (As Bs : List K)
{i j : ℕ} (hi : i < a) (hj : j < c) :
|dec (Ops.vec (Ops.Examples.mmF M a b c As Bs) (i * c + j)) -
∑ k ∈ Finset.range b, dec (Ops.vec As (i * b + k)) * dec (Ops.vec Bs (k * c + j))| ≤
((1 + u) ^ (2 * b) - 1) *
∑ k ∈ Finset.range b, |dec (Ops.vec As (i * b + k)) * dec (Ops.vec Bs (k * c + j))|Import NLAlib.Ops.Examples.MatMul.