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 (ij))
Thm* T:Type, L:T List, i,j:||L||. swap(L;i;j T List
flipDef (ij)(x) == if x=i j ; x=j i else x fi
Thm* k:i,j:k. (ij kk
int_segDef {i..j} == {k:i  k < j }
Thm* m,n:. {m..n Type
permute_listDef (L o f) == mklist(||L||;i.L[(f(i))])
Thm* T:Type, L:T List, f:(||L||||L||). (L o f T List
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

About:
listnillist_ind
ifthenelseintnatural_numberaddless_thansetlambda
applyfunctionrecursive_def_noticeuniversememberimpliesall
!abstraction
IF YOU CAN SEE THIS go to /sfa/Nuprl/Shared/Xindentation_hack_doc.html

Definitions mb list 2 Sections MarkB generic Doc