NLAlib.Ops.iter_congr_of_invariant
Library · theorem
Agreement on reachable states suffices to preserve the whole fixed-count result.
NLAlib.Ops.iter_congr_of_invariant {α : Type} (P : α → Prop) (f g : ℕ → α → Option α)
(hagree : ∀ (i : ℕ) (a : α), P a → f i a = g i a)
(hkeep : ∀ (i : ℕ) (a b : α), P a → g i a = some b → P b) (n : ℕ) (a : α) (ha : P a) :
Ops.iter f n a = Ops.iter g n aImport NLAlib.Ops.ContextIteration.