NLAlib.Ops.Interp.IsFn.satisfies_matvec_error
Library · theorem
A word-kernel accuracy bound transfers a functional primitive with unrestricted operand admission to the shaped rounded matrix-vector contract.
NLAlib.Ops.Interp.IsFn.satisfies_matvec_error {K Op Tst : Type} [Inhabited K]
{I : Ops.Interp Op Tst K} {o : Op} {m n : ℕ} {A : Matrix (Fin m) (Fin n) ℝ} {dec : K → ℝ}
{delta : ℝ} {kernel : (Fin n → K) → Fin m → K}
(h : I.IsFn Ops.Mode.total o (Ops.matvecFn kernel) Ops.AnyOperands)
(hk :
∀ (v : Fin n → K),
‖WithLp.toLp 2 ((A *ᵥ fun i ↦ dec (v i)) - fun i ↦ dec (kernel v i))‖ ≤
delta * ‖WithLp.toLp 2 fun i ↦ dec (v i)‖) :
I.Satisfies Ops.Mode.total o ((Ops.matvecErrorRel dec A delta).spec (Ops.MatvecOperands m n))Import NLAlib.Ops.Catalog.Operator.