WhoCites Definitions mb list 2 Sections MarkB generic Doc
IF YOU CAN SEE THIS go to /sfa/Nuprl/Shared/Xindentation_hack_doc.html
Who Cites sublist occurence?
sublist_occurenceDef sublist_occurence(T;L1;L2;f)
Def == increasing(f;||L1||) & (j:||L1||. L1[j] = L2[(f(j))]  T)
selectDef l[i] == hd(nth_tl(i;l))
Thm* A:Type, l:A List, n:. 0n  n<||l||  l[n A
lengthDef ||as|| == Case of as; nil  0 ; a.as'  ||as'||+1  (recursive)
Thm* A:Type, l:A List. ||l||  
Thm* ||nil||  
increasingDef increasing(f;k) == i:(k-1). f(i)<f(i+1)
Thm* k:f:(k). increasing(f;k Prop
int_segDef {i..j} == {k:i  k < j }
Thm* m,n:. {m..n Type
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
leltDef i  j < k == ij & j<k
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 
leDef AB == B<A
Thm* i,j:. (ij Prop
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  
notDef A == A  False
Thm* A:Prop. (A Prop

Syntax:sublist_occurence(T;L1;L2;f) has structure: sublist_occurence(TL1L2f)

About:
listnillist_indboolbfalse
btrueifthenelseintnatural_numberaddsubtractless
less_thantokensetapplyfunctionrecursive_def_notice
universeequalmemberpropimpliesandfalseall!abstraction
IF YOU CAN SEE THIS go to /sfa/Nuprl/Shared/Xindentation_hack_doc.html

WhoCites Definitions mb list 2 Sections MarkB generic Doc