src/HOL/Bali/Basis.thy
changeset 35416 d8d7d1b785af
parent 35067 af4c18c30593
child 35417 47ee18b6ae32
--- a/src/HOL/Bali/Basis.thy	Wed Feb 24 11:55:52 2010 +0100
+++ b/src/HOL/Bali/Basis.thy	Mon Mar 01 13:40:23 2010 +0100
@@ -237,8 +237,7 @@
 
 text{* Deemed too special for theory Map. *}
 
-constdefs
-  chg_map :: "('b => 'b) => 'a => ('a ~=> 'b) => ('a ~=> 'b)"
+definition chg_map :: "('b => 'b) => 'a => ('a ~=> 'b) => ('a ~=> 'b)" where
  "chg_map f a m == case m a of None => m | Some b => m(a|->f b)"
 
 lemma chg_map_new[simp]: "m a = None   ==> chg_map f a m = m"
@@ -253,8 +252,7 @@
 
 section "unique association lists"
 
-constdefs
-  unique   :: "('a \<times> 'b) list \<Rightarrow> bool"
+definition unique :: "('a \<times> 'b) list \<Rightarrow> bool" where
  "unique \<equiv> distinct \<circ> map fst"
 
 lemma uniqueD [rule_format (no_asm)]: