We consider the TRS containing the following rules:
| f(f(a)) | → | f(f(f(a))) | (1) |
| f(f(a)) | → | f(a) | (2) |
The underlying signature is as follows:
{f/1, a/0}Confluence is proven using the following terminating critical-pair-closing-system R:
| f(f(a)) | → | f(a) | (2) |
| [f(x1)] | = | 1 · x1 + 5 |
| [a] | = | 3 |
| f(f(a)) | → | f(a) | (2) |
There are no rules in the TRS. Hence, it is terminating.