src/Tools/coherent.ML
changeset 32091 30e2ffbba718
parent 32035 8e77b6a250d5
child 32199 82c4c570310a
equal deleted inserted replaced
32090:39acf19e9f3a 32091:30e2ffbba718
   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),