fact: Definition f_terminates {A} {B : A -> Type} (fn : (forall x : A, B x) -> (forall x : A, B x)) := forall x : A, { y : B x | (exists p, forall k, p < k -> forall g : forall x : A, B x, iter k fn g x = y) }.
imports: Equations(Equations) List Program.Syntax Arith Lia