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.
appendDef as @ bs == Case of as; nil  bs ; a.as'  [a / (as' @ bs)]  (recursive)
Thm* T:Type, as,bs:T List. (as @ bs T List
firstnDef firstn(n;as)
Def == Case of as
Def == Canil  nil
Def == Caa.as'  if 0<n [a / firstn(n-1;as')] else nil fi
Def (recursive)
Thm* A:Type, as:A List, n:. firstn(n;as A List
int_segDef {i..j} == {k:i  k < j }
Thm* m,n:. {m..n Type
lastDef last(L) == L[(||L||-1)]
Thm* T:Type, L:T List. null(L last(L T
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||  
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
nth_tlDef nth_tl(n;as) == if n0 as else nth_tl(n-1;tl(as)) fi  (recursive)
Thm* A:Type, as:A List, i:. nth_tl(i;as A List
rel_expDef R^n == if n=0 x,yx = y  T else x,yz:T. (x R z) & (z R^n-1 y) fi
Def (recursive)
Thm* n:T:Type, R:(TTProp). R^n  TTProp

About:
listconsnillist_indifthenelse
assertintnatural_numberaddsubtractless_thansetlambdafunctionrecursive_def_notice
universeequalmemberpropimpliesandfalseallexists!abstraction
IF YOU CAN SEE THIS go to /sfa/Nuprl/Shared/Xindentation_hack_doc.html

Definitions mb list 2 Sections MarkB generic Doc