src/LCF/ex/Ex4.thy
author wenzelm
Sun, 08 Jul 2007 19:51:58 +0200
changeset 23655 d2d1138e0ddc
parent 19755 90f80de04c46
child 27208 5fe899199f85
permissions -rw-r--r--
replaced exception TableFun/GraphFun.DUPS by TableFun/GraphFun.DUP;


header {* Prefixpoints *}

theory Ex4
imports LCF
begin

lemma example:
  assumes asms: "f(p) << p"  "!!q. f(q) << q ==> p << q"
  shows "FIX(f)=p"
  apply (unfold eq_def)
  apply (rule conjI)
  apply (tactic {* induct_tac "f" 1 *})
  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