equal
deleted
inserted
replaced
242 (map (Long_Name.append "thm") thm_names @ map (Long_Name.append "axm") axm_names) |
242 (map (Long_Name.append "thm") thm_names @ map (Long_Name.append "axm") axm_names) |
243 end; |
243 end; |
244 |
244 |
245 fun proof_of ctxt full raw_thm = |
245 fun proof_of ctxt full raw_thm = |
246 let |
246 let |
247 val thm = Thm.transfer (Proof_Context.theory_of ctxt) raw_thm; |
247 val thm = Thm.transfer' ctxt raw_thm; |
248 val prop = Thm.full_prop_of thm; |
248 val prop = Thm.full_prop_of thm; |
249 val prf = Thm.proof_of thm; |
249 val prf = Thm.proof_of thm; |
250 val prf' = |
250 val prf' = |
251 (case Proofterm.strip_combt (fst (Proofterm.strip_combP prf)) of |
251 (case Proofterm.strip_combt (fst (Proofterm.strip_combP prf)) of |
252 (PThm (_, ((_, prop', _), body)), _) => |
252 (PThm (_, ((_, prop', _), body)), _) => |