src/ZF/intr_elim.ML
changeset 3939 83f908ed3c04
parent 3925 90f499226ab9
child 3978 7e1cfed19d94
equal deleted inserted replaced
3938:c20fbe3cb94f 3939:83f908ed3c04
    46      and Fp: FP and Pr : PR and Su : SU) 
    46      and Fp: FP and Pr : PR and Su : SU) 
    47     : sig include INTR_ELIM INTR_ELIM_AUX end =
    47     : sig include INTR_ELIM INTR_ELIM_AUX end =
    48 let
    48 let
    49 
    49 
    50 val rec_names = map (#1 o dest_Const o head_of) Inductive.rec_tms;
    50 val rec_names = map (#1 o dest_Const o head_of) Inductive.rec_tms;
    51 val big_rec_base_name = space_implode "_" (map NameSpace.base rec_names);
    51 val big_rec_base_name = space_implode "_" (map Sign.base_name rec_names);
    52 
    52 
    53 val _ = deny (big_rec_base_name  mem  map ! (stamps_of_thy Inductive.thy))
    53 val _ = deny (big_rec_base_name  mem  map ! (stamps_of_thy Inductive.thy))
    54              ("Definition " ^ big_rec_base_name ^ 
    54              ("Definition " ^ big_rec_base_name ^ 
    55               " would clash with the theory of the same name!");
    55               " would clash with the theory of the same name!");
    56 
    56