NLAlib.Ops.Examples.drawBin_apply
Library · theorem
What a successful call of drawBin is.
NLAlib.Ops.Examples.drawBin_apply {K : Type} {g : K → K → K → K} {d : List ℕ}
{ins outs : List (ℕ × ℕ)} {τ : Ops.Tape K} {m m' : Ops.Mem K}
(h : (Ops.Examples.drawBin g).apply d ins outs τ m = some m') :
∃ x y z a b,
d = [] ∧
ins = [x, y] ∧
outs = [z] ∧
m.store.get x.1 x.2 = some a ∧
m.store.get y.1 y.2 = some b ∧
z.2 < m.store.len z.1 ∧ m' = (m.upd z (g a b (τ m.pos Ops.Stream.unif))).advance 1Import NLAlib.Ops.Examples.StochRound.