| Some definitions of interest. |
|
hanoi_peg_perm | Def permute(p to r ; q to s)(u) == if u=p r ; u=q s else otherPeg(r; s) fi |
| | Thm* p,r,q,s:Peg. p q r s permute(p to r ; q to s) PegPeg |
|
eq_hanoi_PEG | Def p=q == if p=q true ; false fi |
| | Thm* p,q:Peg. (p=q) |
|
hanoi_PEG | Def Peg == {1...3} |
| | Thm* Peg Type |
|
hanoi_otherpeg | Def otherPeg(x; y) == 6-(x+y) |
| | Thm* x,y:Peg. x y otherPeg(x; y) Peg |
|
nequal | Def a b T == a = b T |
| | Thm* A:Type, x,y:A. (x y) Prop |