named "op ^" definitions;
authorwenzelm
Tue, 09 May 2000 14:33:43 +0200
changeset 8844 db71c334e854
parent 8843 5370a030dd47
child 8845 03a2ae3059da
named "op ^" definitions;
src/HOL/Power.thy
src/HOL/RelPow.thy
--- a/src/HOL/Power.thy	Tue May 09 14:16:32 2000 +0200
+++ b/src/HOL/Power.thy	Tue May 09 14:33:43 2000 +0200
@@ -11,7 +11,7 @@
 consts
   binomial :: "[nat,nat] => nat"      (infixl "choose" 65)
 
-primrec
+primrec (power)
   "p ^ 0 = 1"
   "p ^ (Suc n) = (p::nat) * (p ^ n)"
   
--- a/src/HOL/RelPow.thy	Tue May 09 14:16:32 2000 +0200
+++ b/src/HOL/RelPow.thy	Tue May 09 14:33:43 2000 +0200
@@ -11,7 +11,7 @@
 instance
   set :: (term) {power}   (* only ('a * 'a) set should be in power! *)
 
-primrec
+primrec (relpow)
   "R^0 = Id"
   "R^(Suc n) = R O (R^n)"