author | haftmann |
Thu, 18 Nov 2010 17:01:16 +0100 | |
changeset 40606 | af1a0b0c6202 |
parent 40605 | 0bc28f978bcf |
child 40607 | 30d512bf47a7 |
--- a/src/HOL/Library/Multiset.thy Thu Nov 18 17:01:16 2010 +0100 +++ b/src/HOL/Library/Multiset.thy Thu Nov 18 17:01:16 2010 +0100 @@ -1627,6 +1627,14 @@ @{term "{#x+x|x:#M. x<c#}"}. *} +type_mapper image_mset proof - + fix f g A show "image_mset f (image_mset g A) = image_mset (\<lambda>x. f (g x)) A" + by (induct A) simp_all +next + fix A show "image_mset (\<lambda>x. x) A = A" + by (induct A) simp_all +qed + subsection {* Termination proofs with multiset orders *}