src/HOL/Real/RealInt.thy
author paulson
Wed, 13 Dec 2000 12:46:47 +0100
changeset 10662 cf6be1804912
parent 8856 435187ffc64e
child 10797 028d22926a41
permissions -rw-r--r--
new material, including default simprules that should be introduced earlier

(*  Title:       RealInt.thy
    ID:         $Id$
    Author:      Jacques D. Fleuriot
    Copyright:   1999 University of Edinburgh
    Description: Embedding the integers in the reals
*)

RealInt = RealOrd +

constdefs 
   real_of_int :: int => real
   "real_of_int z == Abs_real(UN (i,j): Rep_Integ z. realrel ^^ 
                     {(preal_of_prat(prat_of_pnat(pnat_of_nat i)),
                       preal_of_prat(prat_of_pnat(pnat_of_nat j)))})"


end