src/HOL/Integ/IntPower.thy
author paulson
Thu, 03 Aug 2000 10:52:30 +0200
changeset 9509 0f3ee1f89ca8
child 11701 3d51fbf81c17
permissions -rw-r--r--
introduction of integer exponentiation

(*  Title:	IntPower.thy
    ID:         $Id$
    Author:	Thomas M. Rasmussen
    Copyright	2000  University of Cambridge

Integer powers 
*)

IntPower = IntDiv + 

instance
  int :: {power}

primrec
  power_0   "p ^ 0 = #1"
  power_Suc "p ^ (Suc n) = (p::int) * (p ^ n)"

end