added image_cong to default congs of recdef
authoroheimb
Tue, 20 Feb 2001 18:47:27 +0100
changeset 11165 3b69feb7d053
parent 11164 03f5dc539fd9
child 11166 eca861fd1eb5
added image_cong to default congs of recdef
src/HOL/Recdef.thy
--- a/src/HOL/Recdef.thy	Tue Feb 20 18:47:25 2001 +0100
+++ b/src/HOL/Recdef.thy	Tue Feb 20 18:47:27 2001 +0100
@@ -17,7 +17,7 @@
   ("../TFL/post.ML")
   ("Tools/recdef_package.ML"):
 
-lemma tfl_some: "\<forall>P x. P x --> P (Eps P)"
+lemma tfl_some: "\\<forall>P x. P x --> P (Eps P)"
   by (blast intro: someI)
 
 lemma tfl_eq_True: "(x = True) --> x"
@@ -35,13 +35,13 @@
 lemma tfl_imp_trans: "(A --> B) ==> (B --> C) ==> (A --> C)"
   by blast
 
-lemma tfl_disj_assoc: "(a \<or> b) \<or> c == a \<or> (b \<or> c)"
+lemma tfl_disj_assoc: "(a \\<or> b) \\<or> c == a \\<or> (b \\<or> c)"
   by simp
 
-lemma tfl_disjE: "P \<or> Q ==> P --> R ==> Q --> R ==> R"
+lemma tfl_disjE: "P \\<or> Q ==> P --> R ==> Q --> R ==> R"
   by blast
 
-lemma tfl_exE: "\<exists>x. P x ==> \<forall>x. P x --> Q ==> Q"
+lemma tfl_exE: "\\<exists>x. P x ==> \\<forall>x. P x --> Q ==> Q"
   by blast
 
 use "../TFL/utils.ML"
@@ -61,8 +61,7 @@
   lex_prod_def
   less_Suc_eq [THEN iffD2]
 
-lemmas [recdef_cong] =
-  if_cong
+lemmas [recdef_cong] = if_cong image_cong
 
 lemma let_cong [recdef_cong]:
     "M = N ==> (!!x. x = N ==> f x = g x) ==> Let M f = Let N g"