equal
deleted
inserted
replaced
263 |
263 |
264 abbreviation option_map |
264 abbreviation option_map |
265 where "option_map f \<equiv> Abs_cfun (Option.map (Rep_cfun f))" |
265 where "option_map f \<equiv> Abs_cfun (Option.map (Rep_cfun f))" |
266 |
266 |
267 lemma option_map_ID [domain_map_ID]: "option_map ID = ID" |
267 lemma option_map_ID [domain_map_ID]: "option_map ID = ID" |
268 by (simp add: ID_def cfun_eq_iff Option.map.identity) |
268 by (simp add: ID_def cfun_eq_iff Option.map.identity id_def) |
269 |
269 |
270 lemma deflation_option_map [domain_deflation]: |
270 lemma deflation_option_map [domain_deflation]: |
271 "deflation d \<Longrightarrow> deflation (option_map d)" |
271 "deflation d \<Longrightarrow> deflation (option_map d)" |
272 apply default |
272 apply default |
273 apply (induct_tac x, simp_all add: deflation.idem) |
273 apply (induct_tac x, simp_all add: deflation.idem) |