src/HOL/Tools/ATP/recon_translate_proof.ML
changeset 16259 aed1a8ae4b23
parent 16157 1764cc98bafd
child 16357 f1275d2a1dee
equal deleted inserted replaced
16258:f3d913abf7e5 16259:aed1a8ae4b23
   416                              let (* val _ = reset show_sorts*)
   416                              let (* val _ = reset show_sorts*)
   417                               val thmstring = Meson.concat_with_and (map string_of_thm (map snd thml))
   417                               val thmstring = Meson.concat_with_and (map string_of_thm (map snd thml))
   418                               val thmproofstring = proofstring ( thmstring)
   418                               val thmproofstring = proofstring ( thmstring)
   419                             val no_returns =List.filter  not_newline ( thmproofstring)
   419                             val no_returns =List.filter  not_newline ( thmproofstring)
   420                             val thmstr = implode no_returns
   420                             val thmstr = implode no_returns
   421                                val outfile = TextIO.openOut(File.sysify_path(File.tmp_path (Path.basic "thml_file")))
   421                                val outfile = TextIO.openOut(File.platform_path(File.tmp_path (Path.basic "thml_file")))
   422                                val _ = TextIO.output(outfile, "thmstr is "^thmstr)
   422                                val _ = TextIO.output(outfile, "thmstr is "^thmstr)
   423                                val _ = TextIO.flushOut outfile;
   423                                val _ = TextIO.flushOut outfile;
   424                                val _ =  TextIO.closeOut outfile
   424                                val _ =  TextIO.closeOut outfile
   425                                  (*val _ = set show_sorts*)
   425                                  (*val _ = set show_sorts*)
   426                              in
   426                              in