src/Provers/blast.ML
changeset 58958 114255dce178
parent 58957 c9e744ea8a38
child 58963 26bf09b95dda
--- a/src/Provers/blast.ML	Sun Nov 09 17:04:14 2014 +0100
+++ b/src/Provers/blast.ML	Sun Nov 09 18:27:43 2014 +0100
@@ -461,7 +461,7 @@
 
 
 (*Like dup_elim, but puts the duplicated major premise FIRST*)
-fun rev_dup_elim th = (th RSN (2, revcut_rl)) |> Thm.assumption NONE 2 |> Seq.hd;
+fun rev_dup_elim ctxt th = (th RSN (2, revcut_rl)) |> Thm.assumption (SOME ctxt) 2 |> Seq.hd;
 
 
 (*Rotate the assumptions in all new subgoals for the LIFO discipline*)
@@ -498,7 +498,7 @@
   let val thy = Proof_Context.theory_of ctxt
       val trl = rl |> Thm.prop_of |> fromTerm thy |> convertRule state vars
       fun tac (upd, dup,rot) i =
-        emtac ctxt upd (if dup then rev_dup_elim rl else rl) i
+        emtac ctxt upd (if dup then rev_dup_elim ctxt rl else rl) i
         THEN
         rot_subgoals_tac (rot, #2 trl) i
   in Option.SOME (trl, tac) end