equal
deleted
inserted
replaced
344 |
344 |
345 fun string_of_subgoal th i = |
345 fun string_of_subgoal th i = |
346 Display.string_of_cterm (List.nth(cprems_of th, i-1)) |
346 Display.string_of_cterm (List.nth(cprems_of th, i-1)) |
347 handle Subscript => "Subgoal number out of range!" |
347 handle Subscript => "Subgoal number out of range!" |
348 |
348 |
349 fun prems_string_of th = space_implode "\n" (map Display.string_of_cterm (cprems_of th)) |
349 fun prems_string_of th = cat_lines (map Display.string_of_cterm (cprems_of th)) |
350 |
350 |
351 fun read_proof probfile = |
351 fun read_proof probfile = |
352 let val p = ResReconstruct.txt_path probfile |
352 let val p = ResReconstruct.txt_path probfile |
353 val _ = trace("\nReading proof from file " ^ Path.implode p) |
353 val _ = trace("\nReading proof from file " ^ Path.implode p) |
354 val msg = File.read p |
354 val msg = File.read p |