(14steps total)
PrintForm
Definitions
graph
1
1
Sections
Graphs
Doc
At:
primrec
list
accum
2
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
(f(n-1,primrec(n-1;x;f))) ~ list_accum(i,y.f(y,i);x;upto(0;n))
By:
HypSubst -2 0
Generated subgoal:
1
(f(n-1,list_accum(i,y.f(y,i);x;upto(0;n-1)))) ~ list_accum(i,y.f(y,i);x;upto(0;n))
10
steps
About:
(14steps total)
PrintForm
Definitions
graph
1
1
Sections
Graphs
Doc