NLAlib.Ops.iter_sim_of_invariant
Library · theorem
A successful source iteration transfers through every invariant-preserving local step.
NLAlib.Ops.iter_sim_of_invariant {α : Type} (P : α → Prop) (target source : ℕ → α → Option α)
(hstep : ∀ (i : ℕ) (a b : α), P a → source i a = some b → target i a = some b ∧ P b) {n : ℕ}
{a b : α} (ha : P a) (hr : Ops.iter source n a = some b) : Ops.iter target n a = some b ∧ P bImport NLAlib.Ops.ContextIteration.