changeset 47841 | 179b5e7c9803 |
parent 47640 | 62bfba15b212 |
child 48619 | 558e4e77ce69 |
--- a/src/HOL/List.thy Mon Apr 30 12:14:51 2012 +0200 +++ b/src/HOL/List.thy Mon Apr 30 12:14:53 2012 +0200 @@ -4483,7 +4483,7 @@ \<and> distinct (sorted_list_of_set A)" by (induct A rule: finite_induct) (simp_all add: set_insort sorted_insort distinct_insort) -lemma sorted_list_of_set_sort_remdups: +lemma sorted_list_of_set_sort_remdups [code]: "sorted_list_of_set (set xs) = sort (remdups xs)" proof - interpret comp_fun_commute insort by (fact comp_fun_commute_insort)