HanoiTowers Sections NuprlLIB Doc
IF YOU CAN SEE THIS go to /sfa/Nuprl/Shared/Xindentation_hack_doc.html
Def  if b t else f fi == InjCase(btf)

is mentioned by

Def  n^k == if k=0 1 else n(n^(k-1)) fi  (recursive)[exponentiation]
Def  HanoiSTD(n disks; from: p; to: q; indexing from: a)
Def  == if n=0 <a,x,i. whatever>
Def  == else HanoiSTD(n-1 disks; from: p; to: otherPeg(pq); indexing from: a)
Def  == else /m,s1.
Def  == else HanoiSTD(n-1 disks; from: otherPeg(pq); to: q; indexing from: m
Def  == else HanoiSTD(+1)
Def  == else /z,s2. <z,HanoiHelper(ns1i.ps2i.q)/r1,r2r1 @(mr2> fi
Def  (recursive)
[hanoi_sol2_ala_generalPROG]
Def  (s1 @(ms2)(x) == if xm s1(x) else s2(x) fi[hanoi_seq_join]
Def  (f {to n f' {to n'})(i) == if in f(i) else f'(i) fi[hanoi_extend]
Def  permute(p to r ; q to s)(u) == if u=p r ; u=q s else otherPeg(rs) fi[hanoi_peg_perm]

In prior sections: bool 1 int 2

IF YOU CAN SEE THIS go to /sfa/Nuprl/Shared/Xindentation_hack_doc.html

HanoiTowers Sections NuprlLIB Doc