src/HOL/Tools/ATP/atp_problem.ML
changeset 46391 8d8d3c1f1854
parent 46382 b99ca1a7c63b
child 46393 69f2d19f7d33
--- a/src/HOL/Tools/ATP/atp_problem.ML	Wed Feb 01 17:15:06 2012 +0100
+++ b/src/HOL/Tools/ATP/atp_problem.ML	Wed Feb 01 17:16:55 2012 +0100
@@ -497,8 +497,7 @@
       |> commas |> enclose "functions [" "]."
     val pred_aries =
       filt (fn Decl (_, sym, ty) =>
-               if is_nontrivial_predicate_type ty then SOME (ary sym ty)
-               else NONE
+               if is_predicate_type ty then SOME (ary sym ty) else NONE
              | _ => NONE)
       |> commas |> enclose "predicates [" "]."
     fun sorts () =
@@ -513,7 +512,8 @@
              | _ => NONE)
     fun pred_sigs () =
       filt (fn Decl (_, sym, ty) =>
-               if is_predicate_type ty then SOME (pred_typ sym ty) else NONE
+               if is_nontrivial_predicate_type ty then SOME (pred_typ sym ty)
+               else NONE
              | _ => NONE)
     val decls = if sorted then func_sigs () @ pred_sigs () else []
     val axioms = filt (formula (curry (op <>) Conjecture))