No other cites to report in MarkB_generic | |
for | Def For{T,op,id} x as. f(x) == reduce(op;id;map(x:T. f(x);as)) |
Thm* A,B,C:Type, f:(BCC), k:C, as:A List, g:(AB). (For{A,f,k} x as. g(x)) C | |
tlambda | Def (x:T. b(x))(x) == b(x) |
map | Def map(f;as) == Case of as; nil nil ; a.as' [(f(a)) / map(f;as')] (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 | |
reduce | Def reduce(f;k;as) == Case of as; nil k ; a.as' f(a,reduce(f;k;as')) (recursive) |
Thm* A,B:Type, f:(ABB), k:B, as:A List. reduce(f;k;as) B |
Syntax: | For{T,op,id} x as. f(x) | has structure: | for(T; op; id; as; x.f(x)) |
About: