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 .
[f(x1, x2)] | = | 1 · x1 + 1 · x2 + 1 |
[h(x1, x2)] | = | 1 · x1 + 1 · x2 + 1 |
[g(x1)] | = | 1 · x1 + 5 |
[c] | = | 3 |
f(g(x),g(x)) | → | f(x,h(x,g(c))) | (1) |
There are no rules in the TRS. Hence, it is terminating.