src/HOL/AxClasses/Lattice/LatPreInsts.ML
changeset 4153 e534c4c32d54
parent 4091 771b1f6422a8
child 5069 3ea049f7979d
--- a/src/HOL/AxClasses/Lattice/LatPreInsts.ML	Wed Nov 05 13:14:15 1997 +0100
+++ b/src/HOL/AxClasses/Lattice/LatPreInsts.ML	Wed Nov 05 13:23:46 1997 +0100
@@ -5,13 +5,13 @@
 (** complete lattices **)
 
 goal thy "is_inf x y (Inf {x, y})";
-  br (bin_is_Inf_eq RS subst) 1;
-  br Inf_is_Inf 1;
+  by (rtac (bin_is_Inf_eq RS subst) 1);
+  by (rtac Inf_is_Inf 1);
 qed "Inf_is_inf";
 
 goal thy "is_sup x y (Sup {x, y})";
-  br (bin_is_Sup_eq RS subst) 1;
-  br Sup_is_Sup 1;
+  by (rtac (bin_is_Sup_eq RS subst) 1);
+  by (rtac Sup_is_Sup 1);
 qed "Sup_is_sup";
 
 
@@ -22,13 +22,13 @@
 
 goalw thy [is_inf_def, le_prod_def] "is_inf p q (fst p && fst q, snd p && snd q)";
   by (Simp_tac 1);
-  by (safe_tac (claset()));
+  by Safe_tac;
   by (REPEAT_FIRST (fn i => resolve_tac [inf_lb1, inf_lb2, inf_ub_lbs] i ORELSE atac i));
 qed "prod_is_inf";
 
 goalw thy [is_sup_def, le_prod_def] "is_sup p q (fst p || fst q, snd p || snd q)";
   by (Simp_tac 1);
-  by (safe_tac (claset()));
+  by Safe_tac;
   by (REPEAT_FIRST (fn i => resolve_tac [sup_ub1, sup_ub2, sup_lb_ubs] i ORELSE atac i));
 qed "prod_is_sup";
 
@@ -36,18 +36,18 @@
 (* functions *)
 
 goalw thy [is_inf_def, le_fun_def] "is_inf f g (%x. f x && g x)";
-  by (safe_tac (claset()));
-  br inf_lb1 1;
-  br inf_lb2 1;
-  br inf_ub_lbs 1;
+  by Safe_tac;
+  by (rtac inf_lb1 1);
+  by (rtac inf_lb2 1);
+  by (rtac inf_ub_lbs 1);
   by (REPEAT_FIRST (Fast_tac));
 qed "fun_is_inf";
 
 goalw thy [is_sup_def, le_fun_def] "is_sup f g (%x. f x || g x)";
-  by (safe_tac (claset()));
-  br sup_ub1 1;
-  br sup_ub2 1;
-  br sup_lb_ubs 1;
+  by Safe_tac;
+  by (rtac sup_ub1 1);
+  by (rtac sup_ub2 1);
+  by (rtac sup_lb_ubs 1);
   by (REPEAT_FIRST (Fast_tac));
 qed "fun_is_sup";
 
@@ -57,20 +57,20 @@
 
 goalw thy [is_inf_def, le_dual_def] "is_inf x y (Abs_dual (Rep_dual x || Rep_dual y))";
   by (stac Abs_dual_inverse' 1);
-  by (safe_tac (claset()));
-  br sup_ub1 1;
-  br sup_ub2 1;
-  br sup_lb_ubs 1;
-  ba 1;
-  ba 1;
+  by Safe_tac;
+  by (rtac sup_ub1 1);
+  by (rtac sup_ub2 1);
+  by (rtac sup_lb_ubs 1);
+  by (assume_tac 1);
+  by (assume_tac 1);
 qed "dual_is_inf";
 
 goalw thy [is_sup_def, le_dual_def] "is_sup x y (Abs_dual (Rep_dual x && Rep_dual y))";
   by (stac Abs_dual_inverse' 1);
-  by (safe_tac (claset()));
-  br inf_lb1 1;
-  br inf_lb2 1;
-  br inf_ub_lbs 1;
-  ba 1;
-  ba 1;
+  by Safe_tac;
+  by (rtac inf_lb1 1);
+  by (rtac inf_lb2 1);
+  by (rtac inf_ub_lbs 1);
+  by (assume_tac 1);
+  by (assume_tac 1);
 qed "dual_is_sup";