IF YOU CAN SEE THIS go to /sfa/Nuprl/Shared/Xindentation_hack_doc.html
At:
swap adjacent decomp122 1. A : Type
2. L : A List
3. 1<||L||
4. ||tl(L)|| = ||L||-1
5. ||tl(tl(L))|| = ||L||-2
i:. i<||swap(L;0;1)|| swap(L;0;1)[i] = [L[1]; L[0] / tl(tl(L))][i]
By:
Auto THEN Inst Thm: swappedselect [A;L;swap(L;0;1);0;1] THEN CaseNat 0 `i'
THEN
Reduce 0