author | nipkow |
Thu, 18 Feb 2010 16:08:26 +0100 | |
changeset 35208 | 2b9bce05e84b |
parent 35197 | 5c5457a7be85 |
child 35209 | 86fd2d02ff74 |
src/HOL/List.thy | file | annotate | diff | comparison | revisions |
--- a/src/HOL/List.thy Thu Feb 18 08:17:24 2010 +0100 +++ b/src/HOL/List.thy Thu Feb 18 16:08:26 2010 +0100 @@ -720,6 +720,11 @@ lemma map_map [simp]: "map f (map g xs) = map (f \<circ> g) xs" by (induct xs) auto +lemma map_comp_map[simp]: "((map f) o (map g)) = map(f o g)" +apply(rule ext) +apply(simp) +done + lemma rev_map: "rev (map f xs) = map f (rev xs)" by (induct xs) auto