Some definitions of interest. | |
hanoi_PEG | |
hanoi_sol2_ala_generalPROG | Def == if n=0 <a,x,i. whatever> Def == else HanoiSTD(n-1 disks; from: p; to: otherPeg(p; q); indexing from: a) Def == else /m,s1. Def == else HanoiSTD(n-1 disks; from: otherPeg(p; q); to: q; indexing from: m Def == else HanoiSTD(+1) Def == else /z,s2. <z,HanoiHelper(n; s1; i.p; s2; i.q)/r1,r2. r1 @(m) r2> fi Def (recursive) |
Thm* p q Thm* Thm* (a:. Thm* (HanoiSTD(n disks; from: p; to: q; indexing from: a) Thm* ( z:{a...}({a...z}{1...n}Peg)) | |
hanoi_general_exists_lemma2PROG | Def == <s1(?) {to n-1} f {to n},s2(?) {to n-1} g {to n}> |
Thm* s1:({a...m}{1...n-1}Peg), s2:({m+1...z}{1...n-1}Peg). Thm* HanoiHelper(n; s1; f; s2; g) Thm* ({a...m}{1...n}Peg)({m+1...z}{1...n}Peg) | |
hanoi_otherpeg | |
hanoi_seq_join | |
Thm* (s1 @(m) s2) {a...z}{1...n}Peg | |
int_iseg | |
int_upper | |
nat_plus | |
nequal | |
About: