src/HOL/TPTP/atp_theory_export.ML
changeset 46409 d4754183ccce
parent 46406 0e490b9e8422
child 46442 1e07620d724c
equal deleted inserted replaced
46408:2520cd337056 46409:d4754183ccce
   179       facts
   179       facts
   180       |> map (fn ((_, loc), th) =>
   180       |> map (fn ((_, loc), th) =>
   181                  ((Thm.get_name_hint th, loc),
   181                  ((Thm.get_name_hint th, loc),
   182                    th |> prop_of |> mono ? monomorphize_term ctxt))
   182                    th |> prop_of |> mono ? monomorphize_term ctxt))
   183       |> prepare_atp_problem ctxt format Axiom Axiom type_enc true combsN false
   183       |> prepare_atp_problem ctxt format Axiom Axiom type_enc true combsN false
   184                              true [] @{prop False}
   184                              false true [] @{prop False}
   185       |> #1
   185       |> #1
   186     val atp_problem =
   186     val atp_problem =
   187       atp_problem
   187       atp_problem
   188       |> map (apsnd (filter_out (is_problem_line_tautology ctxt format)))
   188       |> map (apsnd (filter_out (is_problem_line_tautology ctxt format)))
   189     val all_names = facts |> map (Thm.get_name_hint o snd)
   189     val all_names = facts |> map (Thm.get_name_hint o snd)