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