src/Pure/Isar/proof_context.ML
changeset 59616 eb59c6968219
parent 59573 d09cc83cdce9
child 59621 291934bac95e
--- a/src/Pure/Isar/proof_context.ML	Thu Mar 05 11:11:42 2015 +0100
+++ b/src/Pure/Isar/proof_context.ML	Thu Mar 05 13:28:04 2015 +0100
@@ -1166,10 +1166,10 @@
 
 fun gen_assms prepp exp args ctxt =
   let
-    val cert = cterm_of ctxt;
     val ((propss, _), ctxt1) = prepp (map snd args) ctxt;
     val _ = Variable.warn_extra_tfrees ctxt ctxt1;
-    val (premss, ctxt2) = fold_burrow (Assumption.add_assms exp o map cert) propss ctxt1;
+    val (premss, ctxt2) =
+      fold_burrow (Assumption.add_assms exp o map (cterm_of ctxt)) propss ctxt1;
   in
     ctxt2
     |> auto_bind_facts (flat propss)