src/HOL/Nunchaku/Tools/nunchaku_collect.ML
changeset 65458 cf504b7a7aa7
parent 64412 2ed3da32bf41
equal deleted inserted replaced
65457:2bf0d2fcd506 65458:cf504b7a7aa7
   554   Spec_Rules.get
   554   Spec_Rules.get
   555   #> filter (curry (op =) Spec_Rules.Unknown o fst)
   555   #> filter (curry (op =) Spec_Rules.Unknown o fst)
   556   #> map snd
   556   #> map snd
   557   #> filter (null o fst)
   557   #> filter (null o fst)
   558   #> maps snd
   558   #> maps snd
   559   #> filter_out (is_builtin_theory o Thm.theory_id_of_thm)
   559   #> filter_out (is_builtin_theory o Thm.theory_id)
   560   #> map Thm.prop_of;
   560   #> map Thm.prop_of;
   561 
   561 
   562 fun keys_of _ (ITVal (T, _)) = [key_of_typ T]
   562 fun keys_of _ (ITVal (T, _)) = [key_of_typ T]
   563   | keys_of _ (ITypedef {abs_typ, ...}) = [key_of_typ abs_typ]
   563   | keys_of _ (ITypedef {abs_typ, ...}) = [key_of_typ abs_typ]
   564   | keys_of _ (IQuotient {abs_typ, ...}) = [key_of_typ abs_typ]
   564   | keys_of _ (IQuotient {abs_typ, ...}) = [key_of_typ abs_typ]