NLAlib.Ops.iter_preserves
Library · theorem
Successful fixed-count iterations retain every step invariant.
NLAlib.Ops.iter_preserves {α : Type} {f : ℕ → α → Option α} {P : α → Prop}
(hstep : ∀ (i : ℕ) (a b : α), P a → f i a = some b → P b) {n : ℕ} {a b : α} (ha : P a)
(hr : Ops.iter f n a = some b) : P bImport NLAlib.Ops.ContextIteration.