NLA-lib Explorer

NLAlib.Ops.map_iter

Library · theorem

NLAlib.Ops.map_iter {σ σ' : Type} {g : σ → σ'} {f : ℕ → σ → Option σ} {f' : ℕ → σ' → Option σ'}
  (h : ∀ (i : ℕ) (a : σ), Option.map g (f i a) = f' i (g a)) (k : ℕ) (s : σ) :
  Option.map g (Ops.iter f k s) = Ops.iter f' k (g s)

Full source on GitHub

Import NLAlib.Ops.Exec.