src/HOL/Tools/ATP/atp_problem.ML
changeset 47073 c73f7b0c7ebc
parent 47054 b86864a2b16e
child 47146 7276f2b12ff7
--- a/src/HOL/Tools/ATP/atp_problem.ML	Wed Mar 21 15:43:02 2012 +0000
+++ b/src/HOL/Tools/ATP/atp_problem.ML	Wed Mar 21 16:53:24 2012 +0100
@@ -85,6 +85,7 @@
   val extract_isabelle_status : (string, 'a) ho_term list -> string option
   val extract_isabelle_rank : (string, 'a) ho_term list -> int
   val introN : string
+  val spec_introN : string
   val elimN : string
   val simpN : string
   val spec_eqN : string
@@ -217,6 +218,7 @@
 val isabelle_info_prefix = "isabelle_"
 
 val introN = "intro"
+val spec_introN = "spec_intro"
 val elimN = "elim"
 val simpN = "simp"
 val spec_eqN = "spec_eq"
@@ -551,8 +553,8 @@
       (if gen_weights then ord_info else [])
       |> map spair |> commas |> maybe_enclose "weights [" "]."
     val syms =
-      [func_aries] @ (if sorted then [do_term_order_weights ()] else []) @
-      [pred_aries] @ (if sorted then [sorts ()] else [])
+      [func_aries, pred_aries] @
+      (if sorted then [do_term_order_weights (), sorts ()] else [])
     fun func_sigs () =
       filt (fn Decl (_, sym, ty) =>
                if is_function_type ty then SOME (fun_typ sym ty) else NONE