src/ZF/univ.thy
author paulson
Fri, 16 Feb 1996 18:00:47 +0100
changeset 1512 ce37c64244c0
parent 124 858ab9a9b047
permissions -rw-r--r--
Elimination of fully-functorial style. Type tactic changed to a type abbrevation (from a datatype). Constructor tactic and function apply deleted.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
     1
(*  Title: 	ZF/univ.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
The cumulative hierarchy and a small universe for recursive types
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
     7
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
     8
Standard notation for Vset(i) is V(i), but users might want V for a variable
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
     9
*)
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    10
124
858ab9a9b047 made pseudo theories for all ML files;
clasohm
parents: 45
diff changeset
    11
Univ = Arith + Sum + "mono" +
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    12
consts
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    13
    Limit       ::      "i=>o"
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    14
    Vfrom       ::      "[i,i]=>i"
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    15
    Vset        ::      "i=>i"
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    16
    Vrec        ::      "[i, [i,i]=>i] =>i"
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    17
    univ        ::      "i=>i"
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    18
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    19
translations
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    20
    "Vset(x)"   == 	"Vfrom(0,x)"
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    21
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    22
rules
28
b429d6a658ae Retry of the previous commit (network outage)
lcp
parents: 0
diff changeset
    23
    Limit_def   "Limit(i) == Ord(i) & 0<i & (ALL y. y<i --> succ(y)<i)"
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    24
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    25
    Vfrom_def   "Vfrom(A,i) == transrec(i, %x f. A Un (UN y:x. Pow(f`y)))"
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    26
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    27
    Vrec_def
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    28
   	"Vrec(a,H) == transrec(rank(a), %x g. lam z: Vset(succ(x)).      \
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    29
\                             H(z, lam w:Vset(x). g`rank(w)`w)) ` a"
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    30
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    31
    univ_def    "univ(A) == Vfrom(A,nat)"
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    32
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    33
end