src/HOL/RelPow.thy
author paulson
Fri, 30 May 1997 15:19:58 +0200
changeset 3370 5c5fdce3a4e4
parent 2740 2c549ae2563b
child 5183 89f162de39cf
permissions -rw-r--r--
Overloading of "^" requires new type class "power", with types "nat" and "set" in that class. The operator itself is declared in Nat.thy

(*  Title:      HOL/RelPow.thy
    ID:         $Id$
    Author:     Tobias Nipkow
    Copyright   1996  TU Muenchen

R^n = R O ... O R, the n-fold composition of R
*)

RelPow = Nat +

primrec "op ^" nat
  "R^0 = id"
  "R^(Suc n) = R O (R^n)"

end