src/HOL/Real/RealPow.thy
author paulson
Fri Nov 02 17:55:24 2001 +0100 (2001-11-02)
changeset 12018 ec054019c910
parent 11701 3d51fbf81c17
child 14265 95b42e69436c
permissions -rw-r--r--
Numerals and simprocs for types real and hypreal. The abstract
constants 0, 1 and binary numerals work harmoniously.
     1 (*  Title       : HOL/Real/RealPow.thy
     2     ID          : $Id$
     3     Author      : Jacques D. Fleuriot  
     4     Copyright   : 1998  University of Cambridge
     5     Description : Natural powers theory
     6 
     7 *)
     8 
     9 theory RealPow = RealAbs:
    10 
    11 (*belongs to theory RealAbs*)
    12 lemmas [arith_split] = abs_split
    13 
    14 
    15 instance real :: power ..
    16 
    17 primrec (realpow)
    18      realpow_0:   "r ^ 0       = 1"
    19      realpow_Suc: "r ^ (Suc n) = (r::real) * (r ^ n)"
    20 
    21 end