src/Pure/Isar/method.ML
changeset 58837 e84d900cd287
parent 58068 d6f29bf9b783
child 58950 d07464875dd4
--- a/src/Pure/Isar/method.ML	Thu Oct 30 16:17:56 2014 +0100
+++ b/src/Pure/Isar/method.ML	Thu Oct 30 16:20:46 2014 +0100
@@ -100,7 +100,7 @@
 local
 
 fun cut_rule_tac rule =
-  rtac (Drule.forall_intr_vars rule COMP_INCR revcut_rl);
+  resolve_tac [Drule.forall_intr_vars rule COMP_INCR revcut_rl];
 
 in
 
@@ -147,7 +147,7 @@
 
 (* this -- resolve facts directly *)
 
-val this = METHOD (EVERY o map (HEADGOAL o rtac));
+val this = METHOD (EVERY o map (HEADGOAL o resolve_tac o single));
 
 
 (* fact -- composition by facts from context *)
@@ -162,7 +162,7 @@
 
 fun cond_rtac cond rule = SUBGOAL (fn (prop, i) =>
   if cond (Logic.strip_assums_concl prop)
-  then rtac rule i else no_tac);
+  then resolve_tac [rule] i else no_tac);
 
 in