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

At: primrec list accum 2

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))
f,x:Top. primrec(n;x;f) ~ list_accum(i,y.f(y,i);x;upto(0;n))

By: ((RepeatFor 2 (ParallelOp -1)) THEN (RecUnfold `primrec` 0) THEN SplitOnConclITE) THENL [Auto;Id]

Generated subgoal:

14. 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
(f(n-1,primrec(n-1;x;f))) ~ list_accum(i,y.f(y,i);x;upto(0;n))
11 steps

About:
intnatural_numbersubtractless_thanapplysqequaltopall

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