| Some definitions of interest. |
|
append | Def as @ bs == Case of as; nil bs ; a.as' [a / (as' @ bs)] (recursive) |
| | Thm* T:Type, as,bs:T List. (as @ bs) T List |
|
map | Def map(f;as) == Case of as; nil nil ; a.as' [(f(a)) / map(f;as')]
Def (recursive) |
| | Thm* A,B:Type, f:(AB), l:A List. map(f;l) B List |
| | Thm* A,B:Type, f:(AB), l:A List. map(f;l) B List |
|
top | Def Top == Void given Void |
| | Thm* Top Type |