src/HOL/TPTP/mash_eval.ML
changeset 50520 f2d33310337a
parent 50485 3c6ac2da2f45
child 50555 81a1491ba936
--- a/src/HOL/TPTP/mash_eval.ML	Thu Dec 13 22:49:06 2012 +0100
+++ b/src/HOL/TPTP/mash_eval.ML	Thu Dec 13 22:49:07 2012 +0100
@@ -97,11 +97,13 @@
           | set_file_name _ NONE = I
         fun prove ok heading get facts =
           let
+            fun nickify ((_, stature), th) = ((K (nickname_of th), stature), th)
             val facts =
-              facts |> map get
-                    |> Sledgehammer_Fact.maybe_instantiate_inducts ctxt hyp_ts
-                                                                   concl_t
-                    |> take (the max_facts)
+              facts
+              |> map get
+              |> Sledgehammer_Fact.maybe_instantiate_inducts ctxt hyp_ts concl_t
+              |> take (the max_facts)
+              |> map nickify
             val ctxt = ctxt |> set_file_name heading prob_dir_name
             val res as {outcome, ...} =
               run_prover_for_mash ctxt params prover facts goal