rev1#( X , cons( Y , L ) ) | → | rev1#( Y , L ) |
rev#( cons( X , L ) ) | → | rev1#( X , L ) |
rev#( cons( X , L ) ) | → | rev2#( X , L ) |
rev2#( X , cons( Y , L ) ) | → | rev#( cons( X , rev( rev2( Y , L ) ) ) ) |
rev2#( X , cons( Y , L ) ) | → | rev#( rev2( Y , L ) ) |
rev2#( X , cons( Y , L ) ) | → | rev2#( Y , L ) |
The dependency pairs are split into 2 component(s).
rev#( cons( X , L ) ) | → | rev2#( X , L ) |
rev2#( X , cons( Y , L ) ) | → | rev#( cons( X , rev( rev2( Y , L ) ) ) ) |
rev2#( X , cons( Y , L ) ) | → | rev#( rev2( Y , L ) ) |
rev2#( X , cons( Y , L ) ) | → | rev2#( Y , L ) |
Linear polynomial interpretation over the naturals
[rev2# (x1, x2) ] | = | 3 x1 | |
[rev2 (x1, x2) ] | = | x1 | |
[rev (x1) ] | = | x1 | |
[rev1 (x1, x2) ] | = | 2 x1 | |
[rev# (x1) ] | = | 2 x1 + 2 | |
[0] | = | 0 | |
[s (x1) ] | = | 0 | |
[nil] | = | 0 | |
[cons (x1, x2) ] | = | 2 x1 + 3 | |
[f(x1, ..., xn)] | = | x1 + ... + xn + 1 | for all other symbols f of arity n |
none |
All dependency pairs have been removed.
rev1#( X , cons( Y , L ) ) | → | rev1#( Y , L ) |
Linear polynomial interpretation over the naturals
[rev1# (x1, x2) ] | = | 2 x1 | |
[rev2 (x1, x2) ] | = | x1 | |
[rev1 (x1, x2) ] | = | 0 | |
[rev (x1) ] | = | x1 | |
[0] | = | 0 | |
[s (x1) ] | = | 0 | |
[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.