We consider the TRS containing the following rules:
f(x) | → | g(k(x)) | (1) |
f(x) | → | a | (2) |
g(x) | → | a | (3) |
k(a) | → | k(k(a)) | (4) |
The underlying signature is as follows:
{f/1, g/1, k/1, a/0}To prove that the TRS is (non-)confluent, we show (non-)confluence of the following modified system:
k(a) | → | k(k(a)) | (4) |
g(x) | → | a | (3) |
f(x) | → | a | (2) |
f(x) | → | g(k(x)) | (1) |
k(a) | → | k(k(k(a))) | (5) |
All redundant rules that were added or removed can be simulated in 2 steps .