src/HOL/TPTP/atp_theory_export.ML
changeset 57268 027feff882c4
parent 54788 a898e15b522a
child 57306 ff10067b2248
--- a/src/HOL/TPTP/atp_theory_export.ML	Mon Jun 16 19:42:44 2014 +0200
+++ b/src/HOL/TPTP/atp_theory_export.ML	Mon Jun 16 19:44:02 2014 +0200
@@ -169,10 +169,9 @@
     val problem =
       facts
       |> map (fn ((_, loc), th) =>
-                 ((Thm.get_name_hint th, loc),
-                   th |> prop_of |> mono ? monomorphize_term ctxt))
-      |> prepare_atp_problem ctxt format Axiom type_enc Exporter combsN false
-                             false true [] @{prop False}
+        ((Thm.get_name_hint th, loc), th |> prop_of |> mono ? monomorphize_term ctxt))
+      |> generate_atp_problem ctxt format Axiom type_enc Exporter combsN false false true []
+        @{prop False}
       |> #1 |> sort_wrt (heading_sort_key o fst)
     val prelude = fst (split_last problem)
     val name_tabs = Sledgehammer_Fact.build_name_tables Thm.get_name_hint facts