src/HOL/Tools/Sledgehammer/metis_tactics.ML
changeset 37924 17f36ad210d6
parent 37923 8edbaf6ba405
child 37925 1188e6bff48d
--- a/src/HOL/Tools/Sledgehammer/metis_tactics.ML	Wed Jul 21 21:14:07 2010 +0200
+++ b/src/HOL/Tools/Sledgehammer/metis_tactics.ML	Wed Jul 21 21:14:26 2010 +0200
@@ -70,9 +70,9 @@
 
 fun metis_lit b c args = (b, (c, args));
 
-fun hol_type_to_fol (TyVar (x, _)) = Metis.Term.Var x
-  | hol_type_to_fol (TyFree (s, _)) = Metis.Term.Fn (s, [])
-  | hol_type_to_fol (TyConstr ((s, _), tps)) =
+fun hol_type_to_fol (CombTVar (x, _)) = Metis.Term.Var x
+  | hol_type_to_fol (CombTFree (s, _)) = Metis.Term.Fn (s, [])
+  | hol_type_to_fol (CombType ((s, _), tps)) =
     Metis.Term.Fn (s, map hol_type_to_fol tps);
 
 (*These two functions insert type literals before the real literals. That is the