(14steps total) PrintForm Definitions graph 1 1 Sections Graphs Doc

At: primrec list accum 2 1 1 1 1

1. n:
2. 0 < n
3. f,x:Top. primrec(n-1;x;f) ~ list_accum(i,y.f(y,i);x;upto(0;n-1))
4. f: Top
5. x:Top. primrec(n-1;x;f) ~ list_accum(i,y.f(y,i);x;upto(0;n-1))
6. x: Top
7. primrec(n-1;x;f) ~ list_accum(i,y.f(y,i);x;upto(0;n-1))
8. n = 0
0 < n (z:Top. (f(n-1,list_accum(i,y.f(y,i);z;upto(n-1-0;n-1)))) ~ list_accum(i,y.f(y,i);z;upto(n-1-0;n)))

By:
Analyze 0
THEN
Subst (upto(n-1-0;n-1) ~ nil) 0
THEN
Reduce 0


Generated subgoals:

19. 0 < n
upto(n-1-0;n-1) ~ nil
1 step
 
29. 0 < n
z@0:Top. (f(n-1,z@0)) ~ list_accum(i,y.f(y,i);z@0;upto(n-1-0;n))
3 steps

About:
nilintnatural_numbersubtractless_thanapplyequalsqequaltopimpliesall

(14steps total) PrintForm Definitions graph 1 1 Sections Graphs Doc