authentic syntax for Pls/Min/Bit;
authorwenzelm
Tue, 12 Dec 2006 00:25:03 +0100
changeset 21779 6d44dbae4bfa
parent 21778 66440bf72cdc
child 21780 ec264b9daf94
authentic syntax for Pls/Min/Bit;
src/HOL/Integ/Numeral.thy
--- a/src/HOL/Integ/Numeral.thy	Tue Dec 12 00:25:02 2006 +0100
+++ b/src/HOL/Integ/Numeral.thy	Tue Dec 12 00:25:03 2006 +0100
@@ -30,12 +30,14 @@
 
 datatype bit = B0 | B1
 
-constdefs
-  Pls :: int
-  "Pls == 0"
-  Min :: int
-  "Min == - 1"
-  Bit :: "int \<Rightarrow> bit \<Rightarrow> int" (infixl "BIT" 90)
+definition
+  Pls :: int where "Pls == 0"
+
+definition
+  Min :: int where "Min == - 1"
+
+definition
+  Bit :: "int \<Rightarrow> bit \<Rightarrow> int" (infixl "BIT" 90) where
   "k BIT b == (case b of B0 \<Rightarrow> 0 | B1 \<Rightarrow> 1) + k + k"
 
 axclass