NLAlib.Ops.Interp.IsFn.satisfies_matvec_error_of_admission
Library · theorem
A proved word-kernel accuracy bound supplies the declared rounded matvec contract. No memory/execution theorem is required from the backend author.
NLAlib.Ops.Interp.IsFn.satisfies_matvec_error_of_admission {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} {adm : List ℕ → List (ℕ × ℕ) → List (ℕ × ℕ) → Prop}
(h : I.IsFn Ops.Mode.total o (Ops.matvecFn kernel) adm)
(hadm :
∀ (d : List ℕ) (ins outs : List (ℕ × ℕ)), Ops.MatvecOperands m n d ins outs → adm d ins outs)
(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.