src/Pure/Proof/proof_syntax.ML
changeset 67649 1e1782c1aedf
parent 64986 b81a048960a3
child 70387 35dd9212bf29
equal deleted inserted replaced
67648:f6e351043014 67649:1e1782c1aedf
   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)), _) =>