--- a/src/HOL/Prod.ML Wed Feb 25 15:45:32 1998 +0100
+++ b/src/HOL/Prod.ML Wed Feb 25 15:48:04 1998 +0100
@@ -80,9 +80,8 @@
end;
-(* Could be nice, but breaks too many proofs:
-claset_ref() := claset() addbefore split_all_tac;
-*)
+(* consider addSbefore ?? *)
+claset_ref() := claset() addbefore ("split_all_tac",split_all_tac);
(*** lemmas for splitting paired `!!'
Does not work with simplifier because it also affects premises in
@@ -120,13 +119,13 @@
***)
goal Prod.thy "(!x. P x) = (!a b. P(a,b))";
-by (fast_tac (claset() addbefore split_all_tac) 1);
+by (Fast_tac 1);
qed "split_paired_All";
Addsimps [split_paired_All];
(* AddIffs is not a good idea because it makes Blast_tac loop *)
goal Prod.thy "(? x. P x) = (? a b. P(a,b))";
-by (fast_tac (claset() addbefore split_all_tac) 1);
+by (Fast_tac 1);
qed "split_paired_Ex";
Addsimps [split_paired_Ex];
--- a/src/HOL/Relation.ML Wed Feb 25 15:45:32 1998 +0100
+++ b/src/HOL/Relation.ML Wed Feb 25 15:48:04 1998 +0100
@@ -215,11 +215,11 @@
(REPEAT (eresolve_tac [asm_rl, ImageE, subsetD RS SigmaD2] 1)) ]);
goal Relation.thy "R O id = R";
-by (fast_tac (claset() addbefore split_all_tac) 1);
+by (Fast_tac 1);
qed "R_O_id";
goal Relation.thy "id O R = R";
-by (fast_tac (claset() addbefore split_all_tac) 1);
+by (Fast_tac 1);
qed "id_O_R";
Addsimps [R_O_id,id_O_R];