NLA-lib Explorer

NLAlib.Ops.Examples.dot_satisfies

Library · theorem

Exact satisfaction by dotImpl: where the block function of dot succeeds on operands in other buffers than the output, the run of the implementation is the block function. A statement about words, with no error analysis.

NLAlib.Ops.Examples.dot_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.dotFn M).apply d ins outs τ m = some m') :
  Ops.Examples.dotImpl.Fits d.length ins.length outs.length ∧
    Ops.eval I τ Ops.Examples.dotImpl.body (Ops.Env.frame d (ins ++ outs)) m = some m'

Full source on GitHub

Import NLAlib.Ops.Examples.Dot.