| Some definitions of interest. |
|
assert | Def b == if b True else False fi |
| | Thm* b:. b Prop |
|
find | Def (first x as s.t. P(x) else d)
Def == Case of filter(x.P(x);as); nil d ; a.b a |
| | Thm* T:Type, P:(T), as:T List, d:T. (first a as s.t. P(a) else d) T |
|
l_member | Def (x l) == i:. i<||l|| & x = l[i] T |
| | Thm* T:Type, x:T, l:T List. (x l) Prop |