NLA-lib Explorer

NLAlib.Ops.Follows.cut_of_eq

Library · theorem

A step that ends by the position q gives the same result under the tape cut at q.

NLAlib.Ops.Follows.cut_of_eq {K : Type} [Inhabited K]
  {f : Ops.Tape K → Ops.Mem K → Option (Ops.Mem K)}
  (hf : ∀ (τ τ' : Ops.Tape K), Ops.Follows τ τ' (f τ) (f τ')) {τ : Ops.Tape K} {m b : Ops.Mem K}
  {q : ℕ} (he : f τ m = some b) (hq : b.pos ≤ q) : f (τ.cut q) m = some b

Full source on GitHub

Import NLAlib.Ops.RunMeasurable.