src/HOL/Trancl.thy
author clasohm
Fri, 08 Mar 1996 13:11:09 +0100
changeset 1558 9c6ebfab4e05
parent 1475 7f5a4cd08209
child 1642 21db0cf9a1a4
permissions -rw-r--r--
added constdefs section
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1475
7f5a4cd08209 expanded tabs; renamed subtype to typedef;
clasohm
parents: 1301
diff changeset
     1
(*  Title:      HOL/Trancl.thy
923
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
     2
    ID:         $Id$
1475
7f5a4cd08209 expanded tabs; renamed subtype to typedef;
clasohm
parents: 1301
diff changeset
     3
    Author:     Lawrence C Paulson, Cambridge University Computer Laboratory
923
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
     4
    Copyright   1992  University of Cambridge
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
     5
1128
64b30e3cc6d4 Trancl is now based on Relation which used to be in Integ.
nipkow
parents: 972
diff changeset
     6
Relfexive and Transitive closure of a relation
923
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
     7
1301
42782316d510 Added various thms and tactics.
nipkow
parents: 1287
diff changeset
     8
rtrancl is refl&transitive closure;
42782316d510 Added various thms and tactics.
nipkow
parents: 1287
diff changeset
     9
trancl is transitive closure
42782316d510 Added various thms and tactics.
nipkow
parents: 1287
diff changeset
    10
reflcl is reflexive closure
923
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    11
*)
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    12
1128
64b30e3cc6d4 Trancl is now based on Relation which used to be in Integ.
nipkow
parents: 972
diff changeset
    13
Trancl = Lfp + Relation + 
1558
9c6ebfab4e05 added constdefs section
clasohm
parents: 1475
diff changeset
    14
9c6ebfab4e05 added constdefs section
clasohm
parents: 1475
diff changeset
    15
constdefs
9c6ebfab4e05 added constdefs section
clasohm
parents: 1475
diff changeset
    16
  rtrancl :: "('a * 'a)set => ('a * 'a)set"   ("(_^*)" [100] 100)
9c6ebfab4e05 added constdefs section
clasohm
parents: 1475
diff changeset
    17
  "r^*  ==  lfp(%s. id Un (r O s))"
9c6ebfab4e05 added constdefs section
clasohm
parents: 1475
diff changeset
    18
9c6ebfab4e05 added constdefs section
clasohm
parents: 1475
diff changeset
    19
  trancl  :: "('a * 'a)set => ('a * 'a)set"   ("(_^+)" [100] 100)
9c6ebfab4e05 added constdefs section
clasohm
parents: 1475
diff changeset
    20
  "r^+  ==  r O rtrancl(r)"
9c6ebfab4e05 added constdefs section
clasohm
parents: 1475
diff changeset
    21
1301
42782316d510 Added various thms and tactics.
nipkow
parents: 1287
diff changeset
    22
syntax
1558
9c6ebfab4e05 added constdefs section
clasohm
parents: 1475
diff changeset
    23
  reflcl  :: "('a*'a)set => ('a*'a)set"       ("(_^=)" [100] 100)
9c6ebfab4e05 added constdefs section
clasohm
parents: 1475
diff changeset
    24
1301
42782316d510 Added various thms and tactics.
nipkow
parents: 1287
diff changeset
    25
translations
1558
9c6ebfab4e05 added constdefs section
clasohm
parents: 1475
diff changeset
    26
  "r^=" == "r Un id"
9c6ebfab4e05 added constdefs section
clasohm
parents: 1475
diff changeset
    27
923
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    28
end