added [dest] to "disc_exclude"
authorblanchet
Tue, 24 Sep 2013 20:52:42 +0200
changeset 53836 a1632a5f5fb3
parent 53835 687116951569
child 53837 65c775430caa
added [dest] to "disc_exclude"
src/HOL/BNF/Tools/bnf_ctr_sugar.ML
--- a/src/HOL/BNF/Tools/bnf_ctr_sugar.ML	Tue Sep 24 20:40:36 2013 +0200
+++ b/src/HOL/BNF/Tools/bnf_ctr_sugar.ML	Tue Sep 24 20:52:42 2013 +0200
@@ -129,6 +129,7 @@
 val weak_case_cong_thmsN = "weak_case_cong";
 
 val cong_attrs = @{attributes [cong]};
+val dest_attrs = @{attributes [dest]};
 val safe_elim_attrs = @{attributes [elim!]};
 val iff_attrs = @{attributes [iff]};
 val induct_simp_attrs = @{attributes [induct_simp]};
@@ -766,7 +767,7 @@
            (collapseN, safe_collapse_thms, simp_attrs),
            (discN, nontriv_disc_thms, simp_attrs),
            (discIN, nontriv_discI_thms, []),
-           (disc_excludeN, disc_exclude_thms, []),
+           (disc_excludeN, disc_exclude_thms, dest_attrs),
            (disc_exhaustN, disc_exhaust_thms, [exhaust_case_names_attr]),
            (distinctN, distinct_thms, simp_attrs @ induct_simp_attrs),
            (exhaustN, [exhaust_thm], [exhaust_case_names_attr, cases_type_attr]),