src/HOL/TPTP/TPTP_Parser/tptp_reconstruct.ML
changeset 69366 b6dacf6eabe3
parent 65999 ee4cf96a9406
child 69597 ff784d5a5bfb
equal deleted inserted replaced
69365:c5b3860d29ef 69366:b6dacf6eabe3
  1788 (*interpret proof*)
  1788 (*interpret proof*)
  1789 fun import_thm cautious path_prefixes file_name
  1789 fun import_thm cautious path_prefixes file_name
  1790  (on_load : proof_annotation -> theory -> (proof_annotation * theory)) thy =
  1790  (on_load : proof_annotation -> theory -> (proof_annotation * theory)) thy =
  1791   let
  1791   let
  1792     val prob_name =
  1792     val prob_name =
  1793       Path.base_name file_name
  1793       Path.file_name file_name
  1794       |> TPTP_Problem_Name.parse_problem_name
  1794       |> TPTP_Problem_Name.parse_problem_name
  1795     val thy1 = TPTP_Interpret.import_file cautious path_prefixes file_name [] [] thy
  1795     val thy1 = TPTP_Interpret.import_file cautious path_prefixes file_name [] [] thy
  1796     val fms = get_fmlas_of_prob thy1 prob_name
  1796     val fms = get_fmlas_of_prob thy1 prob_name
  1797   in
  1797   in
  1798     if List.null fms then
  1798     if List.null fms then