strengthened rtranclD
authoroheimb
Fri, 14 Jul 2000 16:29:02 +0200
changeset 9344 6c85c8bdd2ed
parent 9343 1c4754938980
child 9345 2f5f6824f888
strengthened rtranclD
src/HOL/Trancl.ML
--- a/src/HOL/Trancl.ML	Fri Jul 14 16:28:58 2000 +0200
+++ b/src/HOL/Trancl.ML	Fri Jul 14 16:29:02 2000 +0200
@@ -238,12 +238,6 @@
 by (REPEAT (ares_tac [r_into_rtrancl] 1));
 qed "rtrancl_into_trancl2";
 
-Goal "(a, b) : R^* ==> a = b | (a, b) : R^+";
-by (etac rtranclE 1);
-by  (datac rtrancl_into_trancl1 1 2);
-by   Auto_tac;
-qed "rtranclD";
-
 (*Nice induction rule for trancl*)
 val major::prems = Goal
   "[| (a,b) : r^+;                                      \
@@ -402,3 +396,9 @@
 by (Simp_tac 1);
 qed "rtrancl_empty";
 Addsimps[rtrancl_empty];
+
+Goal "(a,b):R^* ==> a=b | a~=b & (a,b):R^+";
+by(force_tac (claset(), simpset() addsimps [reflcl_trancl RS sym] 
+				  delsimps [reflcl_trancl]) 1);
+qed "rtranclD";
+