app#( cons( x , l ) , k ) | → | app#( l , k ) |
sum#( cons( x , cons( y , l ) ) ) | → | sum#( cons( plus( x , y ) , l ) ) |
sum#( cons( x , cons( y , l ) ) ) | → | plus#( x , y ) |
sum#( app( l , cons( x , cons( y , k ) ) ) ) | → | sum#( app( l , sum( cons( x , cons( y , k ) ) ) ) ) |
sum#( app( l , cons( x , cons( y , k ) ) ) ) | → | app#( l , sum( cons( x , cons( y , k ) ) ) ) |
sum#( app( l , cons( x , cons( y , k ) ) ) ) | → | sum#( cons( x , cons( y , k ) ) ) |
plus#( s( x ) , y ) | → | plus#( x , y ) |
The dependency pairs are split into 4 component(s).
sum#( app( l , cons( x , cons( y , k ) ) ) ) | → | sum#( app( l , sum( cons( x , cons( y , k ) ) ) ) ) |
Linear polynomial interpretation over the naturals
[sum# (x1) ] | = | 2 x1 | |
[app (x1, x2) ] | = | 2 x1 + 2 x2 | |
[sum (x1) ] | = | 1 | |
[plus (x1, x2) ] | = | 2 x1 + 3 x2 + 2 | |
[0] | = | 0 | |
[s (x1) ] | = | 3 | |
[nil] | = | 0 | |
[cons (x1, x2) ] | = | x1 + 1 | |
[f(x1, ..., xn)] | = | x1 + ... + xn + 1 | for all other symbols f of arity n |
none |
All dependency pairs have been removed.
sum#( cons( x , cons( y , l ) ) ) | → | sum#( cons( plus( x , y ) , l ) ) |
Linear polynomial interpretation over the naturals
[sum# (x1) ] | = | 2 x1 | |
[plus (x1, x2) ] | = | 2 x1 + 1 | |
[app (x1, x2) ] | = | 2 x1 + x2 + 3 | |
[sum (x1) ] | = | 3 | |
[0] | = | 0 | |
[s (x1) ] | = | 0 | |
[nil] | = | 0 | |
[cons (x1, x2) ] | = | x1 + 2 | |
[f(x1, ..., xn)] | = | x1 + ... + xn + 1 | for all other symbols f of arity n |
none |
All dependency pairs have been removed.
app#( cons( x , l ) , k ) | → | app#( l , k ) |
Linear polynomial interpretation over the naturals
[app (x1, x2) ] | = | x1 + 2 x2 | |
[sum (x1) ] | = | 2 | |
[plus (x1, x2) ] | = | 2 x1 | |
[0] | = | 0 | |
[s (x1) ] | = | x1 | |
[app# (x1, x2) ] | = | x1 | |
[nil] | = | 0 | |
[cons (x1, x2) ] | = | x1 + 2 | |
[f(x1, ..., xn)] | = | x1 + ... + xn + 1 | for all other symbols f of arity n |
none |
All dependency pairs have been removed.
plus#( s( x ) , y ) | → | plus#( x , y ) |
Linear polynomial interpretation over the naturals
[app (x1, x2) ] | = | x1 + 2 x2 | |
[sum (x1) ] | = | 1 | |
[plus (x1, x2) ] | = | x1 + x2 | |
[s (x1) ] | = | x1 + 1 | |
[0] | = | 0 | |
[plus# (x1, x2) ] | = | x1 | |
[nil] | = | 0 | |
[cons (x1, x2) ] | = | 0 | |
[f(x1, ..., xn)] | = | x1 + ... + xn + 1 | for all other symbols f of arity n |
none |
All dependency pairs have been removed.