src/ZF/nat.thy
changeset 6 8ce8c4d13d4d
parent 0 a5a9c433f639
child 124 858ab9a9b047
     1.1 --- a/src/ZF/nat.thy	Fri Sep 17 12:53:53 1993 +0200
     1.2 +++ b/src/ZF/nat.thy	Fri Sep 17 16:16:38 1993 +0200
     1.3 @@ -9,7 +9,7 @@
     1.4  Nat = Ord + Bool + 
     1.5  consts
     1.6      nat 	::      "i"
     1.7 -    nat_case    ::      "[i, i, i=>i]=>i"
     1.8 +    nat_case    ::      "[i, i=>i, i]=>i"
     1.9      nat_rec     ::      "[i, i, [i,i]=>i]=>i"
    1.10  
    1.11  rules
    1.12 @@ -17,10 +17,10 @@
    1.13      nat_def     "nat == lfp(Inf, %X. {0} Un {succ(i). i:X})"
    1.14  
    1.15      nat_case_def
    1.16 -	"nat_case(k,a,b) == THE y. k=0 & y=a | (EX x. k=succ(x) & y=b(x))"
    1.17 +	"nat_case(a,b,k) == THE y. k=0 & y=a | (EX x. k=succ(x) & y=b(x))"
    1.18  
    1.19      nat_rec_def
    1.20  	"nat_rec(k,a,b) ==   \
    1.21 -\   	  wfrec(Memrel(nat), k, %n f. nat_case(n, a, %m. b(m, f`m)))"
    1.22 +\   	  wfrec(Memrel(nat), k, %n f. nat_case(a, %m. b(m, f`m), n))"
    1.23  
    1.24  end