(19steps total) Remark PrintForm Definitions Lemmas HanoiTowers Sections NuprlLIB Doc
IF YOU CAN SEE THIS go to /sfa/Nuprl/Shared/Xindentation_hack_doc.html
At: hanoi sol2 ala generalPROGworks 2 3 1 1 1 1 1

1. n : 
2. 0<n
3. p,q:Peg.
3. p  q
3. 
3. (a:
3. (HanoiSTD(n-1 disks; from: p; to: q; indexing from: a)/z,s.
3. (s is a Hanoi(n-1 disk) seq on a..z & s(a) = (i.p) & s(z) = (i.q))
4. p : Peg
5. q : Peg
6. p  q
7. a : 
8. p = otherPeg(pq)
9. otherPeg(pq) = q
10. m : {a...}
11. s1 : {a...m}{1...n-1}Peg
12. <m,s1> = HanoiSTD(n-1 disks; from: p; to: otherPeg(pq); indexing from: a)
13. s1 is a Hanoi(n-1 disk) seq on a..m
14. s1(a) = (i.p)
15. s1(m) = (i.otherPeg(pq))
16. z : {m+1...}
17. s2 : {m+1...z}{1...n-1}Peg
18. <z,s2>
18. =
18. HanoiSTD(n-1 disks; from: otherPeg(pq); to: q; indexing from: m+1)
19. s2 is a Hanoi(n-1 disk) seq on m+1..z
20. s2(m+1) = (i.otherPeg(pq))
21. s2(z) = (i.q)
22. r1 : {a...m}{1...n}Peg
23. r2 : {m+1...z}{1...n}Peg
24. <r1,r2> = HanoiHelper(ns1i.ps2i.q)
  <r1,r2>/r1,r2.
  (r1 @(mr2) is a Hanoi(n disk) seq on a..z
  & (r1 @(mr2)(a) = (i.p)
  & (r1 @(mr2)(z) = (i.q)


By: Subst: Hyp:24


Generated subgoal:

1   HanoiHelper(ns1i.ps2i.q)/r1,r2.
  (r1 @(mr2) is a Hanoi(n disk) seq on a..z
  & (r1 @(mr2)(a) = (i.p)
  & (r1 @(mr2)(z) = (i.q)

5 steps

About:
pairspreadproductproductintnatural_numberaddsubtract
less_thanlambdaapplyfunctionequalimpliesandall
IF YOU CAN SEE THIS go to /sfa/Nuprl/Shared/Xindentation_hack_doc.html

(19steps total) Remark PrintForm Definitions Lemmas HanoiTowers Sections NuprlLIB Doc