src/HOL/Tools/ATP/atp_problem_generate.ML
changeset 57293 4e619ee65a61
parent 57292 d20cf3ec7fa7
child 57396 42eede5610a9
--- a/src/HOL/Tools/ATP/atp_problem_generate.ML	Tue Jun 24 08:19:56 2014 +0200
+++ b/src/HOL/Tools/ATP/atp_problem_generate.ML	Tue Jun 24 08:19:57 2014 +0200
@@ -608,16 +608,17 @@
     SOME s => (SOME Type_Class_Polymorphic, s)
   | NONE =>
     (case try (unprefix "poly_") s of
-      (* It's still unclear whether all TFF1 implementations will support type signatures such as
-         "!>[A : $tType] : $o", with phantom type variables. *)
       SOME s => (SOME (Raw_Polymorphic With_Phantom_Type_Vars), s)
     | NONE =>
-      (case try (unprefix "raw_mono_") s of
-        SOME s => (SOME Raw_Monomorphic, s)
+      (case try (unprefix "ml_poly_") s of
+        SOME s => (SOME (Raw_Polymorphic Without_Phantom_Type_Vars), s)
       | NONE =>
-        (case try (unprefix "mono_") s of
-          SOME s => (SOME Mangled_Monomorphic, s)
-        | NONE => (NONE, s)))))
+        (case try (unprefix "raw_mono_") s of
+          SOME s => (SOME Raw_Monomorphic, s)
+        | NONE =>
+          (case try (unprefix "mono_") s of
+            SOME s => (SOME Mangled_Monomorphic, s)
+          | NONE => (NONE, s))))))
   ||> (fn s =>
        (case try_unsuffixes queries s of
          SOME s =>