src/Pure/Isar/object_logic.ML
changeset 24832 64cd13299d39
parent 24039 273698405054
child 24848 5dbbd33c3236
--- a/src/Pure/Isar/object_logic.ML	Thu Oct 04 16:21:31 2007 +0200
+++ b/src/Pure/Isar/object_logic.ML	Thu Oct 04 16:59:28 2007 +0200
@@ -160,7 +160,8 @@
 
 fun atomize_prems ct =
   if Logic.has_meta_prems (Thm.term_of ct) then
-    Conv.forall_conv ~1 (Conv.prems_conv ~1 atomize) ct
+    Conv.forall_conv ~1 (K (Conv.prems_conv ~1 atomize))
+      (ProofContext.init (Thm.theory_of_cterm ct)) ct
   else Conv.all_conv ct;
 
 val atomize_prems_tac = CONVERSION atomize_prems;