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