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