author | haftmann |
Thu, 18 Nov 2010 17:01:15 +0100 | |
changeset 40603 | 963ee2331d20 |
parent 40602 | 91e583511113 |
child 40604 | c0770657c8de |
--- a/src/HOL/Library/Dlist.thy Thu Nov 18 17:01:15 2010 +0100 +++ b/src/HOL/Library/Dlist.thy Thu Nov 18 17:01:15 2010 +0100 @@ -173,6 +173,12 @@ qed +section {* Functorial structure *} + +type_mapper map + by (auto intro: dlist_eqI simp add: remdups_map_remdups comp_def) + + section {* Implementation of sets by distinct lists -- canonical! *} definition Set :: "'a dlist \<Rightarrow> 'a fset" where