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