NLAlib.Ops.Examples.gemm_satisfies
Library · theorem
Relative-error BLAS
The certificate of gemm: for every interpretation meeting the level-1 contracts at ε, gemm satisfies its contract, with the error ε.dot n of dot. The same statement as the certificate of an implementation of a level-1 operation, so gemm is an operation for the algorithms above it. Proved with the relational 2-D fill rule: C is the layout of Cᵀ by columns, one step per entry.
NLAlib.Ops.Examples.gemm_satisfies {K Op Tst : Type} [Ops.Has Ops.Blas1Op Op] [Inhabited K]
{dec : K → ℝ} {ε : Ops.Blas1Err} {ok : ℕ → Prop} {J : Ops.Interp Op Tst K}
(hJ : Ops.IsBlas1 dec ε ok J) :
Ops.Examples.gemmRoutine.impl.Satisfies J Ops.Mode.total
((Ops.Examples.gemmRel dec ε.dot).spec (Ops.Examples.GemmOperands ok))Import NLAlib.Ops.Examples.Gemm.