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