src/Pure/Isar/code.ML
changeset 66022 cc8e9289a6c4
parent 64430 1d85ac286c72
child 66023 22ef720a92b0
equal deleted inserted replaced
66021:08ab52fb9db5 66022:cc8e9289a6c4
   881         (tyscm, SOME [((abstractions o dest_eqn o Thm.prop_of) concrete_thm,
   881         (tyscm, SOME [((abstractions o dest_eqn o Thm.prop_of) concrete_thm,
   882           (SOME (Thm.varifyT_global abs_thm), true))])
   882           (SOME (Thm.varifyT_global abs_thm), true))])
   883       end;
   883       end;
   884 
   884 
   885 fun pretty_cert thy (cert as Nothing _) =
   885 fun pretty_cert thy (cert as Nothing _) =
   886       [Pretty.str "(not implemented)"]
   886       [Pretty.str "(no equations)"]
   887   | pretty_cert thy (cert as Equations _) =
   887   | pretty_cert thy (cert as Equations _) =
   888       (map_filter
   888       (map_filter
   889         (Option.map (Thm.pretty_thm_global thy o
   889         (Option.map (Thm.pretty_thm_global thy o
   890             Axclass.overload (Proof_Context.init_global thy)) o fst o snd)
   890             Axclass.overload (Proof_Context.init_global thy)) o fst o snd)
   891          o these o snd o equations_of_cert thy) cert
   891          o these o snd o equations_of_cert thy) cert