Definitions mb list 2 Sections MarkB generic Doc
IF YOU CAN SEE THIS go to /sfa/Nuprl/Shared/Xindentation_hack_doc.html
Some definitions of interest.
count_pairsDef count(x < y in L | P(x;y))
Def == sum(if (i<j)P(L[i];L[j]) 1 else 0 fi | i < ||L||; j < ||L||)
Thm* T:Type, L:T List, P:(TT). count(x < y in L | P(x,y))  
bandDef pq == if p q else false fi
Thm* p,q:. (pq 
double_sumDef sum(f(x;y) | x < ny < m) == sum(sum(f(x;y) | y < m) | x < n)
Thm* n,m:f:(nm). sum(f(x,y) | x < ny < m 
natDef  == {i:| 0i }
Thm*   Type
leDef AB == B<A
Thm* i,j:. (ij Prop
lengthDef ||as|| == Case of as; nil  0 ; a.as'  ||as'||+1  (recursive)
Thm* A:Type, l:A List. ||l||  
Thm* ||nil||  
selectDef l[i] == hd(nth_tl(i;l))
Thm* A:Type, l:A List, n:. 0n  n<||l||  l[n A
lt_intDef i<j == if i<j true ; false fi
Thm* i,j:. (i<j 

About:
listnillist_indboolbfalsebtrue
ifthenelseintnatural_numberaddlessless_thanset
functionrecursive_def_noticeuniversememberpropimpliesall
!abstraction
IF YOU CAN SEE THIS go to /sfa/Nuprl/Shared/Xindentation_hack_doc.html

Definitions mb list 2 Sections MarkB generic Doc