WhoCites Definitions mb event system 1 Sections EventSystems Doc
IF YOU CAN SEE THIS go to /sfa/Nuprl/Shared/Xindentation_hack_doc.html
Who Cites l interval?
l_intervalDef l_interval(l;j;i) == mklist(i-j;x.l[(j+x)])
Thm* T:Type, l:T List, i:||l||, j:(i+1). l_interval(l;j;i T List
selectDef l[i] == hd(nth_tl(i;l))
Thm* A:Type, l:A List, n:. 0n  n<||l||  l[n A
mklistDef mklist(n;f) == primrec(n;nil;i,ll @ [(f(i))])
Thm* T:Type, n:f:(nT). mklist(n;f T List
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
hdDef hd(l) == Case of l; nil  "?" ; h.t  h
Thm* A:Type, l:A List. ||l|| hd(l A
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
primrecDef primrec(n;b;c) == if n=0 b else c(n-1,primrec(n-1;b;c)) fi  (recursive)
Thm* T:Type, n:b:Tc:(nTT). primrec(n;b;c T
tlDef tl(l) == Case of l; nil  nil ; h.t  t
Thm* A:Type, l:A List. tl(l A List
le_intDef ij == j<i
Thm* i,j:. (ij 
eq_intDef i=j == if i=j true ; false fi
Thm* i,j:. (i=j 
lt_intDef i<j == if i<j true ; false fi
Thm* i,j:. (i<j 
bnotDef b == if b false else true fi
Thm* b:b  

Syntax:l_interval(l;j;i) has structure: l_interval(lji)

About:
listconsconsnillist_ind
boolbfalsebtrueifthenelseintnatural_numberaddsubtract
int_eqlessless_thantokenlambdaapply
functionrecursive_def_noticeuniversememberimpliesall
!abstraction
IF YOU CAN SEE THIS go to /sfa/Nuprl/Shared/Xindentation_hack_doc.html

WhoCites Definitions mb event system 1 Sections EventSystems Doc