NLAlib.Ops.Examples.dotFn_apply
Library · theorem
What a successful call of the block function of dot is.
NLAlib.Ops.Examples.dotFn_apply {K : Type} [Inhabited K] {M : Ops.Machine K} {d : List ℕ}
{ins outs : List (ℕ × ℕ)} {τ : Ops.Tape K} {m m' : Ops.Mem K}
(h : (Ops.Examples.dotFn M).apply d ins outs τ m = some m') :
∃ n x y z xs ys,
d = [n] ∧
ins = [x, y] ∧
outs = [z] ∧
m.store.readBlock x.1 x.2 n = some xs ∧
m.store.readBlock y.1 y.2 n = some ys ∧
z.2 < m.store.len z.1 ∧
m' =
m.upd z
(Ops.Examples.dotF M (fun k ↦ xs.getD k default) (fun k ↦ ys.getD k default) n)Import NLAlib.Ops.Examples.Dot.