src/HOL/Real/RealBin.thy
author paulson
Wed, 19 Apr 2000 11:13:31 +0200
changeset 8742 8a5b3f58b944
parent 7706 da41066983e5
child 8856 435187ffc64e
permissions -rw-r--r--
deleted obsolete lemma_not_leI2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
7292
dff3470c5c62 real literals using binary arithmetic
paulson
parents:
diff changeset
     1
(*  Title:      HOL/RealBin.thy
dff3470c5c62 real literals using binary arithmetic
paulson
parents:
diff changeset
     2
    ID:         $Id$
dff3470c5c62 real literals using binary arithmetic
paulson
parents:
diff changeset
     3
    Author:     Lawrence C Paulson, Cambridge University Computer Laboratory
dff3470c5c62 real literals using binary arithmetic
paulson
parents:
diff changeset
     4
    Copyright   1999  University of Cambridge
dff3470c5c62 real literals using binary arithmetic
paulson
parents:
diff changeset
     5
dff3470c5c62 real literals using binary arithmetic
paulson
parents:
diff changeset
     6
Binary arithmetic for the reals
dff3470c5c62 real literals using binary arithmetic
paulson
parents:
diff changeset
     7
dff3470c5c62 real literals using binary arithmetic
paulson
parents:
diff changeset
     8
This case is reduced to that for the integers
dff3470c5c62 real literals using binary arithmetic
paulson
parents:
diff changeset
     9
*)
dff3470c5c62 real literals using binary arithmetic
paulson
parents:
diff changeset
    10
7706
da41066983e5 IntArith;
wenzelm
parents: 7588
diff changeset
    11
RealBin = RealInt + IntArith + 
7292
dff3470c5c62 real literals using binary arithmetic
paulson
parents:
diff changeset
    12
dff3470c5c62 real literals using binary arithmetic
paulson
parents:
diff changeset
    13
instance
dff3470c5c62 real literals using binary arithmetic
paulson
parents:
diff changeset
    14
  real :: number 
dff3470c5c62 real literals using binary arithmetic
paulson
parents:
diff changeset
    15
dff3470c5c62 real literals using binary arithmetic
paulson
parents:
diff changeset
    16
defs
dff3470c5c62 real literals using binary arithmetic
paulson
parents:
diff changeset
    17
  real_number_of_def
dff3470c5c62 real literals using binary arithmetic
paulson
parents:
diff changeset
    18
    "number_of v == real_of_int (number_of v)"
dff3470c5c62 real literals using binary arithmetic
paulson
parents:
diff changeset
    19
     (*::bin=>real               ::bin=>int*)
dff3470c5c62 real literals using binary arithmetic
paulson
parents:
diff changeset
    20
dff3470c5c62 real literals using binary arithmetic
paulson
parents:
diff changeset
    21
end