src/HOL/Tools/Quickcheck/random_generators.ML
changeset 60752 b48830b670a1
parent 60642 48dd1cefb4ae
child 61125 4c68426800de
--- a/src/HOL/Tools/Quickcheck/random_generators.ML	Sat Jul 18 20:37:16 2015 +0200
+++ b/src/HOL/Tools/Quickcheck/random_generators.ML	Sat Jul 18 20:47:08 2015 +0200
@@ -108,7 +108,7 @@
           [(cT_random_aux, Thm.cterm_of lthy' t_random_aux),
            (cT_rhs, Thm.cterm_of lthy' t_rhs)]);
     fun tac ctxt =
-      ALLGOALS (rtac rule)
+      ALLGOALS (resolve_tac ctxt [rule])
       THEN ALLGOALS (simp_tac (put_simpset rew_ss ctxt))
       THEN (ALLGOALS (Proof_Context.fact_tac ctxt eqs2));
     val simp = Goal.prove_sorry lthy' [v] [] eq (tac o #context);