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