author | oheimb |
Mon, 12 Apr 2004 19:54:09 +0200 | |
changeset 14537 | e95ba267e3d5 |
parent 14536 | 43e436a4f293 |
child 14538 | 1d9d75a8efae |
src/HOL/Map.thy | file | annotate | diff | comparison | revisions |
--- a/src/HOL/Map.thy Mon Apr 12 12:52:08 2004 +0200 +++ b/src/HOL/Map.thy Mon Apr 12 19:54:09 2004 +0200 @@ -161,6 +161,9 @@ lemma chg_map_upd[simp]: "m a = Some b ==> chg_map f a m = m(a|->f b)" by (unfold chg_map_def, auto) +lemma chg_map_other [simp]: "a \<noteq> b \<Longrightarrow> chg_map f a m b = m b" +by (auto simp: chg_map_def split add: option.split) + subsection {* @{term map_of} *}