The rewrite relation of the following TRS is considered.
f(x,y,z) | → | g(<=(x,y),x,y,z) | (1) |
g(true,x,y,z) | → | z | (2) |
g(false,x,y,z) | → | f(f(p(x),y,z),f(p(y),z,x),f(p(z),x,y)) | (3) |
p(0) | → | 0 | (4) |
p(s(x)) | → | x | (5) |
f#(x,y,z) | → | g#(<=(x,y),x,y,z) | (6) |
g#(false,x,y,z) | → | p#(z) | (7) |
g#(false,x,y,z) | → | f#(p(z),x,y) | (8) |
g#(false,x,y,z) | → | p#(y) | (9) |
g#(false,x,y,z) | → | f#(p(y),z,x) | (10) |
g#(false,x,y,z) | → | p#(x) | (11) |
g#(false,x,y,z) | → | f#(p(x),y,z) | (12) |
g#(false,x,y,z) | → | f#(f(p(x),y,z),f(p(y),z,x),f(p(z),x,y)) | (13) |
The dependency pairs are split into 0 components.