src/ZF/Epsilon.thy
author clasohm
Fri, 15 Oct 1993 12:51:21 +0100
changeset 58 b30802dfbe80
parent 0 a5a9c433f639
child 124 858ab9a9b047
permissions -rw-r--r--
file_info now returns a string that does not contain the path/filename (so the string doesn't change when the relative path does)

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

Epsilon induction and recursion
*)

Epsilon = Nat +
consts
    eclose,rank ::      "i=>i"
    transrec    ::      "[i, [i,i]=>i] =>i"

rules
  eclose_def	"eclose(A) == UN n:nat. nat_rec(n, A, %m r. Union(r))"
  transrec_def	"transrec(a,H) == wfrec(Memrel(eclose({a})), a, H)"
  rank_def    	"rank(a) == transrec(a, %x f. UN y:x. succ(f`y))"
end