NLA-lib Explorer

NLAlib.Ops.Routine.Advances.eq_of_draws

Library · theorem

A routine that declares k draws advances the tape position by k.

NLAlib.Ops.Routine.Advances.eq_of_draws {Op Tst : Type} {R : Ops.Routine Op Tst} {d : List ℕ}
  {p p' k : ℕ} (h : R.Advances d p p') (hk : R.draws d = some k) : p' = p + k

Full source on GitHub

Import NLAlib.Ops.Routine.