src/HOL/Integ/IntPower.thy
author wenzelm
Tue, 15 Jan 2002 21:09:01 +0100
changeset 12770 bdd17e7b5bd9
parent 11868 56db9f3a6b3e
child 14259 79f7d3451b1e
permissions -rw-r--r--
removed second copy of show_hyps;

(*  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