equal
deleted
inserted
replaced
175 (** proof replaying **) |
175 (** proof replaying **) |
176 |
176 |
177 fun thm_of_cl_prf thy goal asms (ClPrf (th, (tye, env), insts, is, prfs)) = |
177 fun thm_of_cl_prf thy goal asms (ClPrf (th, (tye, env), insts, is, prfs)) = |
178 let |
178 let |
179 val _ = message (fn () => space_implode "\n" |
179 val _ = message (fn () => space_implode "\n" |
180 ("asms:" :: map Display.string_of_thm asms) ^ "\n\n"); |
180 ("asms:" :: map (Display.string_of_thm_global thy) asms) ^ "\n\n"); |
181 val th' = Drule.implies_elim_list |
181 val th' = Drule.implies_elim_list |
182 (Thm.instantiate |
182 (Thm.instantiate |
183 (map (fn (ixn, (S, T)) => |
183 (map (fn (ixn, (S, T)) => |
184 (Thm.ctyp_of thy (TVar ((ixn, S))), Thm.ctyp_of thy T)) |
184 (Thm.ctyp_of thy (TVar ((ixn, S))), Thm.ctyp_of thy T)) |
185 (Vartab.dest tye), |
185 (Vartab.dest tye), |