src/HOL/TPTP/TPTP_Parser/tptp_reconstruct.ML
changeset 58893 9e0ecb66d6a7
parent 58412 f65f11f4854c
child 59582 0fbed69ff081
equal deleted inserted replaced
58892:20aa19ecf2cc 58893:9e0ecb66d6a7
  1864       in TPTP_Reconstruction_Data.map (cons ((prob_name, pannot))) thy5 end
  1864       in TPTP_Reconstruction_Data.map (cons ((prob_name, pannot))) thy5 end
  1865   end
  1865   end
  1866 
  1866 
  1867 (*This has been disabled since it requires a hook to be specified to use "import_thm"
  1867 (*This has been disabled since it requires a hook to be specified to use "import_thm"
  1868 val _ =
  1868 val _ =
  1869   Outer_Syntax.improper_command @{command_spec "import_leo2_proof"} "import TPTP proof"
  1869   Outer_Syntax.command @{command_spec "import_leo2_proof"} "import TPTP proof"
  1870     (Parse.path >> (fn name =>
  1870     (Parse.path >> (fn name =>
  1871       Toplevel.theory (fn thy =>
  1871       Toplevel.theory (fn thy =>
  1872        let val path = Path.explode name
  1872        let val path = Path.explode name
  1873        in import_thm true [Path.dir path, Path.explode "$TPTP"] path (*FIXME hook needs to be given here*)
  1873        in import_thm true [Path.dir path, Path.explode "$TPTP"] path (*FIXME hook needs to be given here*)
  1874 thy end)))
  1874 thy end)))