src/ZF/Univ.thy
author wenzelm
Fri, 13 Mar 1998 18:15:14 +0100
changeset 4744 4469d498cd48
parent 3940 1d5bee4d047f
child 6053 8a1059aa01f0
permissions -rw-r--r--
moved addsplits [expand_if] from HOL_basic_ss to HOL_ss;

(*  Title:      ZF/univ.thy
    ID:         $Id$
    Author:     Lawrence C Paulson, Cambridge University Computer Laboratory
    Copyright   1992  University of Cambridge

The cumulative hierarchy and a small universe for recursive types

Standard notation for Vset(i) is V(i), but users might want V for a variable

NOTE: univ(A) could be a translation; would simplify many proofs!
  But Ind_Syntax.univ refers to the constant "univ"
*)

Univ = Arith + Sum + Finite + mono +

global

consts
    Vfrom       :: [i,i]=>i
    Vset        :: i=>i
    Vrec        :: [i, [i,i]=>i] =>i
    univ        :: i=>i

translations
    "Vset(x)"   ==      "Vfrom(0,x)"

local

defs
    Vfrom_def   "Vfrom(A,i) == transrec(i, %x f. A Un (UN y:x. Pow(f`y)))"

    Vrec_def
        "Vrec(a,H) == transrec(rank(a), %x g. lam z: Vset(succ(x)).      
                             H(z, lam w:Vset(x). g`rank(w)`w)) ` a"

    univ_def    "univ(A) == Vfrom(A,nat)"

end