NLAlib.Ops.Examples.mm_satisfies
Library · theorem
Exact satisfaction by the triple loop: where the block function of mmF succeeds on inputs in other buffers than the output, the run of mmImpl is that block function.
NLAlib.Ops.Examples.mm_satisfies {K : Type} [Inhabited K] {M : Ops.Machine K}
{I : Ops.Interp Ops.ScalarOp Empty K} (hI : Ops.Examples.IsArith M I) {d : List ℕ}
{ins outs : List (ℕ × ℕ)} {τ : Ops.Tape K} {m m' : Ops.Mem K}
(hadm : Ops.Examples.DisjointBufs d ins outs)
(h : (Ops.Examples.mmFn (Ops.Examples.mmF M)).apply d ins outs τ m = some m') :
Ops.Examples.mmImpl.Fits d.length ins.length outs.length ∧
Ops.eval I τ Ops.Examples.mmImpl.body (Ops.Env.frame d (ins ++ outs)) m = some m'Import NLAlib.Ops.Examples.MatMul.