src/HOL/TPTP/atp_theory_export.ML
changeset 46406 0e490b9e8422
parent 46365 547d1a1dcaf6
child 46409 d4754183ccce
--- a/src/HOL/TPTP/atp_theory_export.ML	Fri Feb 03 18:00:55 2012 +0100
+++ b/src/HOL/TPTP/atp_theory_export.ML	Fri Feb 03 18:00:55 2012 +0100
@@ -102,8 +102,8 @@
 fun inference infers ident =
   these (AList.lookup (op =) infers ident) |> inference_term
 fun add_inferences_to_problem_line infers
-                                   (Formula (ident, Axiom, phi, NONE, NONE)) =
-    Formula (ident, Lemma, phi, inference infers ident, NONE)
+                                   (Formula (ident, Axiom, phi, NONE, tms)) =
+    Formula (ident, Lemma, phi, inference infers ident, tms)
   | add_inferences_to_problem_line _ line = line
 fun add_inferences_to_problem infers =
   map (apsnd (map (add_inferences_to_problem_line infers)))
@@ -139,7 +139,7 @@
     exists (fn prefix => String.isPrefix prefix ident)
            likely_tautology_prefixes andalso
     is_none (run_some_atp ctxt format
-                 [(factsN, [Formula (ident, Conjecture, phi, NONE, NONE)])])
+                 [(factsN, [Formula (ident, Conjecture, phi, NONE, [])])])
   | is_problem_line_tautology _ _ _ = false
 
 structure String_Graph = Graph(type key = string val ord = string_ord);