Definitions HanoiTowers Sections NuprlLIB Doc
IF YOU CAN SEE THIS go to /sfa/Nuprl/Shared/Xindentation_hack_doc.html
Some definitions of interest.
hanoi_seqDef  s is a Hanoi(n disk) seq on a..z
Def  == x,x':{a...z}.
Def  == x+1 = x'  (k:{1...n}. Moving disk k of n takes s(x) to s(x'))
Thm*  n:a,z:s:({a...z}{1...n}Peg).
Thm*  s is a Hanoi(n disk) seq on a..z  Prop
hanoi_step_atDef  Moving disk k of n takes f to g
Def  == (i:{1...n}. f(i) = g(i Peg  i  k)
Def  == & (i:{1...k-1}. f(i f(k Peg & g(i g(k Peg)
Thm*  n:f,g:({1...n}Peg), k:{1...n}.
Thm*  Moving disk k of n takes f to g  Prop
hanoi_PEGDef  Peg == {1...3}
Thm*  Peg  Type
hanoi_seq_joinDef  (s1 @(ms2)(x) == if xm s1(x) else s2(x) fi
Thm*  n:m,a,z:s1:({a...m}{1...n}Peg), s2:({m+1...z}{1...n}Peg).
Thm*  (s1 @(ms2 {a...z}{1...n}Peg
int_isegDef  {i...j} == {k:ik & kj }
Thm*  i,j:. {i...j Type
le_intDef  ij == j<i
Thm*  i,j:. (ij 
natDef   == {i:| 0i }
Thm*    Type

About:
boolifthenelseintnatural_numberaddsubtractsetapplyfunction
universeequalmemberpropimpliesandallexists!abstraction
IF YOU CAN SEE THIS go to /sfa/Nuprl/Shared/Xindentation_hack_doc.html

Definitions HanoiTowers Sections NuprlLIB Doc