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