src/HOL/TPTP/atp_theory_export.ML
changeset 57268 027feff882c4
parent 54788 a898e15b522a
child 57306 ff10067b2248
equal deleted inserted replaced
57267:8b87114357bd 57268:027feff882c4
   167                                   Symtab.empty [] [] css_table
   167                                   Symtab.empty [] [] css_table
   168       |> sort (Sledgehammer_MaSh.crude_thm_ord o pairself snd)
   168       |> sort (Sledgehammer_MaSh.crude_thm_ord o pairself snd)
   169     val problem =
   169     val problem =
   170       facts
   170       facts
   171       |> map (fn ((_, loc), th) =>
   171       |> map (fn ((_, loc), th) =>
   172                  ((Thm.get_name_hint th, loc),
   172         ((Thm.get_name_hint th, loc), th |> prop_of |> mono ? monomorphize_term ctxt))
   173                    th |> prop_of |> mono ? monomorphize_term ctxt))
   173       |> generate_atp_problem ctxt format Axiom type_enc Exporter combsN false false true []
   174       |> prepare_atp_problem ctxt format Axiom type_enc Exporter combsN false
   174         @{prop False}
   175                              false true [] @{prop False}
       
   176       |> #1 |> sort_wrt (heading_sort_key o fst)
   175       |> #1 |> sort_wrt (heading_sort_key o fst)
   177     val prelude = fst (split_last problem)
   176     val prelude = fst (split_last problem)
   178     val name_tabs = Sledgehammer_Fact.build_name_tables Thm.get_name_hint facts
   177     val name_tabs = Sledgehammer_Fact.build_name_tables Thm.get_name_hint facts
   179     val infers =
   178     val infers =
   180       if infer_policy = No_Inferences then
   179       if infer_policy = No_Inferences then