src/HOL/Import/shuffler.ML
changeset 27865 27a8ad9612a3
parent 27330 1af2598b5f7d
child 28397 389c5e494605
equal deleted inserted replaced
27864:827730aea9e8 27865:27a8ad9612a3
   625 fun find_potential thy t =
   625 fun find_potential thy t =
   626     let
   626     let
   627         val shuffles = ShuffleData.get thy
   627         val shuffles = ShuffleData.get thy
   628         val ignored = collect_ignored shuffles []
   628         val ignored = collect_ignored shuffles []
   629         val all_thms =
   629         val all_thms =
   630           map (`PureThy.get_name_hint) (maps #2 (Facts.dest_static [] (PureThy.facts_of thy)))
   630           map (`Thm.get_name_hint) (maps #2 (Facts.dest_static [] (PureThy.facts_of thy)))
   631     in
   631     in
   632         List.filter (match_consts ignored t) all_thms
   632         List.filter (match_consts ignored t) all_thms
   633     end
   633     end
   634 
   634 
   635 fun gen_shuffle_tac thy search thms i st =
   635 fun gen_shuffle_tac thy search thms i st =