src/Pure/Proof/proof_syntax.ML
changeset 59621 291934bac95e
parent 59582 0fbed69ff081
child 60826 695cf1fab6cc
equal deleted inserted replaced
59620:92d7d8e4f1bf 59621:291934bac95e
   195     val thy' = thy
   195     val thy' = thy
   196       |> add_proof_syntax
   196       |> add_proof_syntax
   197       |> add_proof_atom_consts
   197       |> add_proof_atom_consts
   198         (map (Long_Name.append "axm") axm_names @ map (Long_Name.append "thm") thm_names);
   198         (map (Long_Name.append "axm") axm_names @ map (Long_Name.append "thm") thm_names);
   199   in
   199   in
   200     (Thm.cterm_of thy' (term_of_proof prf), proof_of_term thy true o Thm.term_of)
   200     (Thm.global_cterm_of thy' (term_of_proof prf), proof_of_term thy true o Thm.term_of)
   201   end;
   201   end;
   202 
   202 
   203 fun read_term thy topsort =
   203 fun read_term thy topsort =
   204   let
   204   let
   205     val thm_names = filter_out (fn s => s = "") (map fst (Global_Theory.all_thms_of thy true));
   205     val thm_names = filter_out (fn s => s = "") (map fst (Global_Theory.all_thms_of thy true));