By: |
|
1 |
9. m : {a...z-1} 10. s1 : {a...m}{1...n}Peg 11. s2 : {m+1...z}{1...n}Peg 12. (s1 @(m) s2) is a Hanoi(n disk) seq on a..z 13. s1(a) = (i.p) 14. s2(z) = (i.q) z:{a...}, s:({a...z}{1...n}Peg). s is a Hanoi(n disk) seq on a..z & s(a) = (i.p) & s(z) = (i.q) | 3 steps |
About: