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.
swapDef swap(L;i;j) == (L o (i, j))
Thm* T:Type, L:T List, i,j:||L||. swap(L;i;j)  T List
flipDef (i, j)(x) == if x=i j ; x=j i else x fi
Thm* k:, i,j:k. (i, j)  kk
int_segDef {i..j} == {k:| i  k < j }
Thm* m,n:. {m..n}  Type
lengthDef ||as|| == Case of as; nil  0 ; a.as'  ||as'||+1  (recursive)
Thm* A:Type, l:A List. ||l||  
Thm* ||nil||  
natDef  == {i:| 0i }
Thm*   Type
notDef A == A  False
Thm* A:Prop. (A)  Prop
selectDef l[i] == hd(nth_tl(i;l))
Thm* A:Type, l:A List, n:. 0n  n<||l||  l[n]  A

About:
listnillist_indifthenelse
intnatural_numberaddless_thansetapplyfunction
recursive_def_noticeuniversememberpropimpliesfalseall
!abstraction
IF YOU CAN SEE THIS go to /sfa/Nuprl/Shared/Xindentation_hack_doc.html

Definitions mb list 2 Sections MarkB generic Doc