We consider the TRS containing the following rules:
f(g(x),g(x)) | → | f(x,h(x,g(c))) | (1) |
The underlying signature is as follows:
{f/2, g/1, h/2, c/0}To prove that the TRS is (non-)confluent, we show (non-)confluence of the following modified system:
f(g(x),g(x)) | → | f(x,h(x,g(c))) | (1) |
All redundant rules that were added or removed can be simulated in 2 steps .
[h(x1, x2)] | = | 1 · x1 + 1 · x2 + 0 |
[c] | = | 0 |
[f(x1, x2)] | = | 1 · x1 + 4 · x2 + 4 |
[g(x1)] | = | 4 · x1 + 1 |
f(g(x),g(x)) | → | f(x,h(x,g(c))) | (1) |
There are no rules in the TRS. Hence, it is terminating.