src/HOL/RelPow.thy
author paulson
Wed, 27 Jan 1999 15:58:22 +0100
changeset 6154 6a00a5baef2b
parent 5780 0187f936685a
child 8844 db71c334e854
permissions -rw-r--r--
automatic insertion of datatype intr rules into claset

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

instance
  set :: (term) {power}   (* only ('a * 'a) set should be in power! *)

primrec
  "R^0 = Id"
  "R^(Suc n) = R O (R^n)"

end