src/Pure/ProofGeneral/proof_general_pgip.ML
changeset 27865 27a8ad9612a3
parent 27860 5125b3c1efc2
child 28020 1ff5167592ba
equal deleted inserted replaced
27864:827730aea9e8 27865:27a8ad9612a3
   339     end
   339     end
   340 
   340 
   341 fun tell_thm_deps ths =
   341 fun tell_thm_deps ths =
   342   if !show_theorem_dependencies then
   342   if !show_theorem_dependencies then
   343       let
   343       let
   344         val names = map PureThy.get_name_hint (filter PureThy.has_name_hint ths);
   344         val names = map Thm.get_name_hint (filter Thm.has_name_hint ths);
   345         val deps = (Symtab.keys (fold Proofterm.thms_of_proof'
   345         val deps = (Symtab.keys (fold Proofterm.thms_of_proof'
   346                                         (map Thm.proof_of ths) Symtab.empty))
   346                                         (map Thm.proof_of ths) Symtab.empty))
   347       in
   347       in
   348           if null names orelse null deps then ()
   348           if null names orelse null deps then ()
   349           else thm_deps_message (spaces_quote names, spaces_quote deps)
   349           else thm_deps_message (spaces_quote names, spaces_quote deps)