src/LCF/ex/Ex4.thy
author wenzelm
Sun, 29 Oct 2023 20:14:46 +0100
changeset 78861 5c91bd51fc37
parent 60770 240563fbf41d
permissions -rw-r--r--
afford multiple tests on fast machines (see also edb4faf666c9 and 2a26d423d9fb); proper history_base for ARM;


section \<open>Prefixpoints\<close>

theory Ex4
imports "../LCF"
begin

lemma example:
  assumes asms: "f(p) << p"  "\<And>q. f(q) << q \<Longrightarrow> p << q"
  shows "FIX(f)=p"
  apply (unfold eq_def)
  apply (rule conjI)
  apply (induct f)
  apply (rule minimal)
  apply (intro strip)
  apply (rule less_trans)
  prefer 2
  apply (rule asms)
  apply (erule less_ap_term)
  apply (rule asms)
  apply (rule FIX_eq [THEN eq_imp_less1])
  done

end