The rewrite relation of the following equational TRS is considered.
plus(f(x),g(x)) | → | plus(g(x),plus(g(x),g(x))) | (1) |
f(x) | → | plus(g(x),a) | (2) |
Associative symbols: plus
Commutative symbols: plus
[plus(x1, x2)] | = | 1 · x2 + 1 · x1 |
[f(x1)] | = | 2 + 2 · x1 + 2 · x1 · x1 |
[g(x1)] | = | 1 · x1 · x1 |
[a] | = | 0 |
plus(f(x),g(x)) | → | plus(g(x),plus(g(x),g(x))) | (1) |
f(x) | → | plus(g(x),a) | (2) |
There are no rules in the TRS. Hence, it is AC-terminating.