NLA-lib Explorer

NLAlib.Ops.Routine.Advances.eq_of_start

Library · theorem

A run from tape position zero of a routine that declares k draws ends at position k.

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

Full source on GitHub

Import NLAlib.Ops.Routine.