src/HOL/RelPow.thy
author wenzelm
Mon, 13 Mar 2000 13:21:39 +0100
changeset 8434 5e4bba59bfaa
parent 5780 0187f936685a
child 8844 db71c334e854
permissions -rw-r--r--
use HOLogic.Not; export indexify_names;

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