src/Pure/Isar/theory_target.ML
changeset 22692 1e057a3f087d
parent 22673 4e2aa12af7ed
child 22846 fb79144af9a3
--- a/src/Pure/Isar/theory_target.ML	Sun Apr 15 14:31:47 2007 +0200
+++ b/src/Pure/Isar/theory_target.ML	Sun Apr 15 14:31:49 2007 +0200
@@ -213,8 +213,8 @@
     val nprems = Thm.nprems_of th' - Thm.nprems_of th;
 
     (*export fixes*)
-    val tfrees = map TFree (Drule.fold_terms Term.add_tfrees th' []);
-    val frees = map Free (Drule.fold_terms Term.add_frees th' []);
+    val tfrees = map TFree (Thm.fold_terms Term.add_tfrees th' []);
+    val frees = map Free (Thm.fold_terms Term.add_frees th' []);
     val (th'' :: vs) = (th' :: map (Drule.mk_term o cert) (map Logic.mk_type tfrees @ frees))
       |> Variable.export ctxt thy_ctxt
       |> Drule.zero_var_indexes_list;