By: |
CoHanoiSTD(n disks; from: p; to: q; indexing from: a) Co* ![]() Coif n= ![]() ![]() ![]() Coelse HanoiSTD(n-1 disks; from: p; to: otherPeg(p; q); indexing from: a)/m,s1. Coelse HanoiSTD(n-1 disks; from: otherPeg(p; q); to: q; indexing from: m+1) Coelse /z,s2. <z,HanoiHelper(n; s1; ![]() ![]() THEN SplitITE Concl |
1 |
![]() ![]() ![]() ![]() | 1 step |
2 |
![]() 7. m : {a...} 8. s1 : {a...m} ![]() ![]() ![]() ![]() 9. HanoiSTD(n-1 disks; from: p; to: otherPeg(p; q); indexing from: a) = <m,s1> ![]() ![]() ![]() | 1 step |
About:
![]() | ![]() | ![]() | ![]() | ![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
![]() |