Changed proof of lessE for new hyp_subst_tac
authorlcp
Thu, 06 Apr 1995 11:21:13 +0200
changeset 239 e65129244146
parent 238 efd07203ceec
child 240 2209eb5bb56b
Changed proof of lessE for new hyp_subst_tac
Nat.ML
--- a/Nat.ML	Thu Apr 06 11:18:02 1995 +0200
+++ b/Nat.ML	Thu Apr 06 11:21:13 1995 +0200
@@ -240,8 +240,9 @@
     "[| i<k;  k=Suc(i) ==> P;  !!j. [| i<j;  k=Suc(j) |] ==> P \
 \    |] ==> P";
 by (rtac (major RS tranclE) 1);
-by (fast_tac (HOL_cs addSEs (prems@[pred_natE, Pair_inject])) 1);
-by (fast_tac (HOL_cs addSEs (prems@[pred_natE, Pair_inject])) 1);
+by (REPEAT_FIRST (bound_hyp_subst_tac ORELSE'
+		  eresolve_tac (prems@[pred_natE, Pair_inject])));
+by (rtac refl 1);
 qed "lessE";
 
 goal Nat.thy "~ n<0";