src/HOL/Import/proof_kernel.ML
changeset 22691 290454649b8c
parent 22675 acf10be7dcca
child 22709 9ab51bac6287
--- a/src/HOL/Import/proof_kernel.ML	Sun Apr 15 14:31:44 2007 +0200
+++ b/src/HOL/Import/proof_kernel.ML	Sun Apr 15 14:31:47 2007 +0200
@@ -2199,9 +2199,9 @@
 		    [NONE, NONE, NONE, SOME (cterm_of thy' (Free ("a", aty))), SOME (cterm_of thy' (Free ("r", tT)))]
                     typedef_hol2hollight
 	    val th4 = (#type_definition typedef_info) RS typedef_hol2hollight'
-            val _ = null (Drule.fold_terms Term.add_tvars th4 []) orelse
+            val _ = null (Thm.fold_terms Term.add_tvars th4 []) orelse
               raise ERR "type_introduction" "no type variables expected any more"
-            val _ = null (Drule.fold_terms Term.add_vars th4 []) orelse
+            val _ = null (Thm.fold_terms Term.add_vars th4 []) orelse
               raise ERR "type_introduction" "no term variables expected any more"
 	    val _ = message ("step 3: thyname="^thyname^", tycname="^tycname^", fulltyname="^fulltyname)
             val thy'' = add_hol4_type_mapping thyname tycname true fulltyname thy'