really fixed syntax bug in DFG output (cf. ef62c2fafa9e)
authorblanchet
Wed, 01 Feb 2012 17:16:55 +0100
changeset 46391 8d8d3c1f1854
parent 46390 6467c99c4872
child 46392 676a4b4b6e73
really fixed syntax bug in DFG output (cf. ef62c2fafa9e)
src/HOL/Tools/ATP/atp_problem.ML
--- 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))