NLA-lib Explorer

NLAlib.Ops.holds_iter

Library · theorem

NLAlib.Ops.holds_iter {md : Ops.Mode} {σ : Type} {f : ℕ → σ → Option σ} {k : ℕ} (Inv : ℕ → σ → Prop)
  (hstep : ∀ i < k, ∀ (s : σ), Inv i s → md.Holds (f i s) (Inv (i + 1))) {s : σ} (h0 : Inv 0 s) :
  md.Holds (Ops.iter f k s) (Inv k)

Full source on GitHub

Import NLAlib.Ops.Logic.