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