src/HOL/hologic.ML
changeset 15013 34264f5e4691
parent 14387 e96d5c42c4b0
child 15062 8049f217428e
--- a/src/HOL/hologic.ML	Wed Jun 30 14:04:58 2004 +0200
+++ b/src/HOL/hologic.ML	Thu Jul 01 12:29:53 2004 +0200
@@ -282,9 +282,9 @@
 
 val binT = Type ("Numeral.bin", []);
 
-val pls_const = Const ("Numeral.bin.Pls", binT)
-and min_const = Const ("Numeral.bin.Min", binT)
-and bit_const = Const ("Numeral.bin.Bit", [binT, boolT] ---> binT);
+val pls_const = Const ("Numeral.Pls", binT)
+and min_const = Const ("Numeral.Min", binT)
+and bit_const = Const ("Numeral.Bit", [binT, boolT] ---> binT);
 
 fun number_of_const T = Const ("Numeral.number_of", binT --> T);
 
@@ -296,9 +296,9 @@
   | dest_bit (Const ("True", _)) = 1
   | dest_bit t = raise TERM("dest_bit", [t]);
 
-fun bin_of (Const ("Numeral.bin.Pls", _)) = []
-  | bin_of (Const ("Numeral.bin.Min", _)) = [~1]
-  | bin_of (Const ("Numeral.bin.Bit", _) $ bs $ b) = dest_bit b :: bin_of bs
+fun bin_of (Const ("Numeral.Pls", _)) = []
+  | bin_of (Const ("Numeral.Min", _)) = [~1]
+  | bin_of (Const ("Numeral.Bit", _) $ bs $ b) = dest_bit b :: bin_of bs
   | bin_of t = raise TERM("bin_of", [t]);
 
 val dest_binum = int_of o bin_of;