added 'cong' attribute to 'map_cong'
authorblanchet
Mon, 02 Dec 2013 20:31:54 +0100
changeset 54619 46494c7dd344
parent 54618 e78e7df36690
child 54620 56fdc6412abc
added 'cong' attribute to 'map_cong'
src/HOL/BNF/Tools/bnf_def.ML
--- a/src/HOL/BNF/Tools/bnf_def.ML	Mon Dec 02 20:31:54 2013 +0100
+++ b/src/HOL/BNF/Tools/bnf_def.ML	Mon Dec 02 20:31:54 2013 +0100
@@ -125,7 +125,7 @@
 open BNF_Tactics
 open BNF_Def_Tactics
 
-val fundef_cong_attrs = @{attributes [fundef_cong]};
+val cong_fundefcong_attrs = @{attributes [cong, fundef_cong]};
 
 type axioms = {
   map_id0: thm,
@@ -636,7 +636,7 @@
           val notes =
             [(map_compN, [Lazy.force (#map_comp facts)], []),
             (map_cong0N, [#map_cong0 axioms], []),
-            (map_congN, [Lazy.force (#map_cong facts)], fundef_cong_attrs),
+            (map_congN, [Lazy.force (#map_cong facts)], cong_fundefcong_attrs),
             (map_idN, [Lazy.force (#map_id facts)], []),
             (rel_eqN, [Lazy.force (#rel_eq facts)], []),
             (rel_flipN, [Lazy.force (#rel_flip facts)], []),