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