src/HOL/Hoare/Examples.ML
changeset 1875 54c0462f8fb2
parent 1798 c055505f36d1
child 2031 03a843f0f447
--- a/src/HOL/Hoare/Examples.ML	Wed Jul 17 17:15:54 1996 +0200
+++ b/src/HOL/Hoare/Examples.ML	Fri Jul 19 15:56:01 1996 +0200
@@ -36,7 +36,7 @@
 
 by (hoare_tac 1);
 
-by (safe_tac HOL_cs);
+by (safe_tac (!claset));
 
 by (etac less_imp_diff_positive 1);
 by (etac gcd_diff_r 1);
@@ -48,7 +48,7 @@
 
 by (dtac gcd_nnn 3);
 
-by (ALLGOALS (fast_tac HOL_cs));
+by (ALLGOALS (Fast_tac));
 
 qed "Euclid_GCD";
 
@@ -74,7 +74,7 @@
 
 by (simp_tac ((simpset_of "Arith") addsimps [pow_0]) 3);
 
-by (safe_tac HOL_cs);
+by (safe_tac (!claset));
 
 by (subgoal_tac "a*a=a pow 2" 1);
 by (Asm_simp_tac 1);
@@ -110,11 +110,11 @@
 \ {b = fac A}";
 
 by (hoare_tac 1);
-by (safe_tac HOL_cs);
+by (safe_tac (!claset));
 by (res_inst_tac [("n","a")] natE 1);
 by (ALLGOALS
     (asm_simp_tac
      (!simpset addsimps [add_mult_distrib,add_mult_distrib2,mult_assoc])));
-by (fast_tac HOL_cs 1);
+by (Fast_tac 1);
 
 qed"factorial";