| Some definitions of interest. |
|
le | Def AB == B<A |
| | Thm* i,j:. (ij) Prop |
|
length | Def ||as|| == Case of as; nil 0 ; a.as' ||as'||+1 (recursive) |
| | Thm* A:Type, l:A List. ||l|| |
| | Thm* ||nil|| |
|
reject | Def as\[i]
Def == if i0 tl(as) else Case of as; nil nil ; a'.as' a'.as'\[i-1] fi
Def (recursive) |
| | Thm* A:Type, l:A List, n:. l\[n] A List |
|
tl | Def tl(l) == Case of l; nil nil ; h.t t |
| | Thm* A:Type, l:A List. tl(l) A List |