equal
deleted
inserted
replaced
70 |
70 |
71 fun thm_of_proof thy = |
71 fun thm_of_proof thy = |
72 let val lookup = lookup_thm thy in |
72 let val lookup = lookup_thm thy in |
73 fn prf => |
73 fn prf => |
74 let |
74 let |
75 val prf_names = Proofterm.fold_proof_terms Term.declare_term_frees (K I) prf Name.context; |
75 val prf_names = Proofterm.fold_proof_terms Term.declare_term_frees prf Name.context; |
76 |
76 |
77 fun thm_of_atom thm Ts = |
77 fun thm_of_atom thm Ts = |
78 let |
78 let |
79 val tvars = Term.add_tvars (Thm.full_prop_of thm) [] |> rev; |
79 val tvars = Term.add_tvars (Thm.full_prop_of thm) [] |> rev; |
80 val (fmap, thm') = Thm.varifyT_global' [] thm; |
80 val (fmap, thm') = Thm.varifyT_global' [] thm; |