src/HOL/Real/Rational.thy
changeset 20485 3078fd2eec7b
parent 19765 dfe940911617
child 20522 05072ae0d435
--- a/src/HOL/Real/Rational.thy	Wed Sep 06 10:01:27 2006 +0200
+++ b/src/HOL/Real/Rational.thy	Wed Sep 06 13:48:02 2006 +0200
@@ -451,7 +451,7 @@
 instance rat :: number ..
 
 defs (overloaded)
-  rat_number_of_def: "(number_of w :: rat) == of_int (Rep_Bin w)"
+  rat_number_of_def: "(number_of w :: rat) == of_int w"
     --{*the type constraint is essential!*}
 
 instance rat :: number_ring