src/HOL/ex/Primrec.ML
changeset 8423 3c19160b6432
parent 5983 79e301a6a51b
child 8442 96023903c2df
--- a/src/HOL/ex/Primrec.ML	Mon Mar 13 12:42:41 2000 +0100
+++ b/src/HOL/ex/Primrec.ML	Mon Mar 13 12:51:10 2000 +0100
@@ -185,7 +185,7 @@
 by (induct_tac "l" 1);
 by (ALLGOALS Asm_simp_tac);
 by (rtac allI 1);
-by (exhaust_tac "i" 1);
+by (cases_tac "i" 1);
 by (asm_simp_tac (simpset() addsimps [le_add1, le_imp_less_Suc]) 1);
 by (Asm_simp_tac 1);
 by (blast_tac (claset() addIs [less_le_trans] 
@@ -223,7 +223,7 @@
  "[| ALL l. f l + list_add l < ack(kf, list_add l); \
 \    ALL l. g l + list_add l < ack(kg, list_add l)  \
 \ |] ==> PREC f g l + list_add l < ack(Suc(kf+kg), list_add l)";
-by (exhaust_tac "l" 1);
+by (cases_tac "l" 1);
 by (ALLGOALS Asm_simp_tac);
 by (blast_tac (claset() addIs [less_trans]) 1);
 by (etac ssubst 1);  (*get rid of the needless assumption*)