mb list 2 Sections MarkB generic Doc
IF YOU CAN SEE THIS go to /sfa/Nuprl/Shared/Xindentation_hack_doc.html
RankTheoremName
6Thm* L:T List, P:(TT), n:(||L||-1).
Thm* count(x < y in swap(L;n;n+1) | P(x,y))
Thm* =
Thm* count(x < y in L | P(x,y))+if P(L[n],L[(n+1)]) -1 else 0 fi+if P(L[(n+1)]
Thm* count(x < y in L | P(x,y))+if P(L[n],L[(n+1)]) -1 else 0 fi+if P,L[n])
Thm* count(x < y in L | P(x,y))+if P(L[n],L[(n+1)]) -1 else 0 fi+if 1
Thm* count(x < y in L | P(x,y))+if P(L[n],L[(n+1)]) -1 else 0 fi+else 0 fi
[count_pairs_swap]
cites the following:
3Thm* L:T List, i,j:||L||. ||swap(L;i;j)|| = ||L||  [swap_length]
0Thm* k:i,j:k. Bij(kk; (ij))[flip_bijection]
5Thm* n,m:f:(nm), p:(nn), q:(mm).
Thm* Bij(nnp)
Thm* 
Thm* Bij(mmq)
Thm* 
Thm* sum(f(p(x),q(y)) | x < ny < m) = sum(f(x,y) | x < ny < m)
[permute_double_sum]
2Thm* n,m:f,g:(nm), d:.
Thm* sum(f(x,y)-g(x,y) | x < ny < m) = d
Thm* 
Thm* sum(f(x,y) | x < ny < m) = sum(g(x,y) | x < ny < m)+d
[double_sum_difference]
4Thm* n,m:f:(nm), x1,x2:ny1,y2:m.
Thm* x1 = x2  y1 = y2
Thm* 
Thm* (x:ny:m(x = x1 & y = y1 (x = x2 & y = y2 f(x,y) = 0)
Thm* 
Thm* sum(f(x,y) | x < ny < m) = f(x1,y1)+f(x2,y2)
[pair_support_double_sum]
1Thm* n,m:f,g:(nm).
Thm* (x:ny:mf(x,y) = g(x,y))
Thm* 
Thm* sum(f(x,y) | x < ny < m) = sum(g(x,y) | x < ny < m)
[double_sum_functionality]
4Thm* L:T List, i,j,x:||L||. swap(L;i;j)[x] = L[((ij)(x))][swap_select]
1Thm* k:x,y,i:k. (yx)((yx)(i)) = i[flip_twice]
IF YOU CAN SEE THIS go to /sfa/Nuprl/Shared/Xindentation_hack_doc.html
mb list 2 Sections MarkB generic Doc