equal
deleted
inserted
replaced
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 |