src/HOL/RelPow.thy
author nipkow
Thu, 15 Feb 1996 08:10:36 +0100
changeset 1496 c443b2adaf52
child 1824 44254696843a
permissions -rw-r--r--
Added a few thms and the new theory RelPow.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1496
c443b2adaf52 Added a few thms and the new theory RelPow.
nipkow
parents:
diff changeset
     1
(*  Title:      HOL/RelPow.thy
c443b2adaf52 Added a few thms and the new theory RelPow.
nipkow
parents:
diff changeset
     2
    ID:         $Id$
c443b2adaf52 Added a few thms and the new theory RelPow.
nipkow
parents:
diff changeset
     3
    Author:     Tobias Nipkow
c443b2adaf52 Added a few thms and the new theory RelPow.
nipkow
parents:
diff changeset
     4
    Copyright   1996  TU Muenchen
c443b2adaf52 Added a few thms and the new theory RelPow.
nipkow
parents:
diff changeset
     5
c443b2adaf52 Added a few thms and the new theory RelPow.
nipkow
parents:
diff changeset
     6
R^n = R O ... O R, the n-fold composition of R
c443b2adaf52 Added a few thms and the new theory RelPow.
nipkow
parents:
diff changeset
     7
*)
c443b2adaf52 Added a few thms and the new theory RelPow.
nipkow
parents:
diff changeset
     8
c443b2adaf52 Added a few thms and the new theory RelPow.
nipkow
parents:
diff changeset
     9
RelPow = Nat +
c443b2adaf52 Added a few thms and the new theory RelPow.
nipkow
parents:
diff changeset
    10
c443b2adaf52 Added a few thms and the new theory RelPow.
nipkow
parents:
diff changeset
    11
consts
c443b2adaf52 Added a few thms and the new theory RelPow.
nipkow
parents:
diff changeset
    12
  "^" :: "('a * 'a) set => nat => ('a * 'a) set" (infixr 100)
c443b2adaf52 Added a few thms and the new theory RelPow.
nipkow
parents:
diff changeset
    13
defs
c443b2adaf52 Added a few thms and the new theory RelPow.
nipkow
parents:
diff changeset
    14
  rel_pow_def "R^n == nat_rec n id (%m S. R O S)"
c443b2adaf52 Added a few thms and the new theory RelPow.
nipkow
parents:
diff changeset
    15
end