Rank | Theorem | Name |
6 | Thm* L1,L2:T List, i,j: ||L1||.
Thm* L2 = swap(L1;i;j)
Thm* 
Thm* L2[i] = L1[j] & L2[j] = L1[i] & ||L2|| = ||L1|| & L1 = swap(L2;i;j)
Thm* & ( x: ||L2||. x = i  x = j  L2[x] = L1[x]) | [swapped_select] |
cites the following: |
4 | Thm* L:T List, i,j,x: ||L||. swap(L;i;j)[x] = L[((i, j)(x))] | [swap_select] |
3 | Thm* L:T List, i,j: ||L||. ||swap(L;i;j)|| = ||L||  | [swap_length] |
5 | Thm* L1:T List, i,j: ||L1||. swap(swap(L1;i;j);i;j) = L1 | [swap_swap] |