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