src/ZF/Trancl.thy
author clasohm
Tue, 16 Nov 1993 14:24:21 +0100
changeset 124 858ab9a9b047
parent 0 a5a9c433f639
child 435 ca5356bd315a
permissions -rw-r--r--
made pseudo theories for all ML files; documented dependencies between all thy and ML files
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
     1
(*  Title: 	ZF/trancl.thy
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
     2
    ID:         $Id$
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
     3
    Author: 	Lawrence C Paulson, Cambridge University Computer Laboratory
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
     4
    Copyright   1992  University of Cambridge
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
     5
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
     6
Transitive closure of a relation
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
     7
*)
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
     8
124
858ab9a9b047 made pseudo theories for all ML files;
clasohm
parents: 0
diff changeset
     9
Trancl = Fixedpt + Perm + "mono" +
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    10
consts
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    11
    "rtrancl"	:: "i=>i"  ("(_^*)" [100] 100)  (*refl/transitive closure*)
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    12
    "trancl"    :: "i=>i"  ("(_^+)" [100] 100)  (*transitive closure*)
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    13
    "trans"	:: "i=>o"  			(*transitivity predicate*)
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    14
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    15
rules
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    16
    trans_def   "trans(r) == ALL x y z. <x,y>: r --> <y,z>: r --> <x,z>: r"
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    17
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    18
    rtrancl_def	"r^* == lfp(field(r)*field(r), %s. id(field(r)) Un (r O s))"
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    19
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    20
    trancl_def  "r^+ == r O r^*"
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    21
end