src/HOL/RelPow.thy
author paulson
Fri, 29 Nov 1996 18:03:21 +0100
changeset 2284 80ebd1a213fd
parent 1824 44254696843a
child 2740 2c549ae2563b
permissions -rw-r--r--
Swapped arguments of Crypt (for clarity and because it is conventional)

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

consts
  "^" :: "('a * 'a) set => nat => ('a * 'a) set" (infixr 100)
defs
  rel_pow_def "R^n == nat_rec id (%m S. R O S) n"
end