We consider the TRS containing the following rules:
F(c(x)) | → | G(x) | (1) |
G(x) | → | F(x) | (2) |
c(x) | → | x | (3) |
The underlying signature is as follows:
{F/1, c/1, G/1}To prove that the TRS is (non-)confluent, we show (non-)confluence of the following modified system:
c(x) | → | x | (3) |
G(x) | → | F(x) | (2) |
F(c(x)) | → | G(x) | (1) |
F(c(x)) | → | F(x) | (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:
G(x) | → | F(x) | (2) |
[F(x1)] | = | 4 · x1 + 0 |
[G(x1)] | = | 4 · x1 + 1 |
G(x) | → | F(x) | (2) |
There are no rules in the TRS. Hence, it is terminating.