--- a/src/LCF/ex/Ex3.thy Mon Mar 19 21:25:15 2012 +0100
+++ b/src/LCF/ex/Ex3.thy Mon Mar 19 21:49:52 2012 +0100
@@ -4,20 +4,19 @@
imports LCF
begin
-consts
- s :: "'a => 'a"
+axiomatization
+ s :: "'a => 'a" and
p :: "'a => 'a => 'a"
-
-axioms
- p_strict: "p(UU) = UU"
+where
+ p_strict: "p(UU) = UU" and
p_s: "p(s(x),y) = s(p(x,y))"
declare p_strict [simp] p_s [simp]
lemma example: "p(FIX(s),y) = FIX(s)"
apply (tactic {* induct_tac @{context} "s" 1 *})
- apply (simp (no_asm))
- apply (simp (no_asm))
+ apply simp
+ apply simp
done
end