equal
deleted
inserted
replaced
562 fun string_of_prfs full state arg = |
562 fun string_of_prfs full state arg = |
563 Pretty.string_of (case arg of |
563 Pretty.string_of (case arg of |
564 NONE => |
564 NONE => |
565 let |
565 let |
566 val (ctxt, (_, thm)) = Proof.get_goal state; |
566 val (ctxt, (_, thm)) = Proof.get_goal state; |
567 val {thy, der = (_, prf), ...} = Thm.rep_thm thm; |
567 val thy = ProofContext.theory_of ctxt; |
|
568 val prf = Thm.proof_of thm; |
568 val prop = Thm.full_prop_of thm; |
569 val prop = Thm.full_prop_of thm; |
569 val prf' = Proofterm.rewrite_proof_notypes ([], []) prf |
570 val prf' = Proofterm.rewrite_proof_notypes ([], []) prf |
570 in |
571 in |
571 ProofContext.pretty_proof ctxt |
572 ProofContext.pretty_proof ctxt |
572 (if full then Reconstruct.reconstruct_proof thy prop prf' else prf') |
573 (if full then Reconstruct.reconstruct_proof thy prop prf' else prf') |