The rewrite relation of the following TRS is considered.
app(app(app(comp,f),g),x) | → | app(f,app(g,x)) | (1) |
app(twice,f) | → | app(app(comp,f),f) | (2) |
app#(twice,f) | → | app#(comp,f) | (3) |
app#(app(app(comp,f),g),x) | → | app#(f,app(g,x)) | (4) |
app#(twice,f) | → | app#(app(comp,f),f) | (5) |
app#(app(app(comp,f),g),x) | → | app#(g,x) | (6) |
The dependency pairs are split into 1 component.
app#(app(app(comp,f),g),x) | → | app#(g,x) | (6) |
app#(app(app(comp,f),g),x) | → | app#(f,app(g,x)) | (4) |
[twice] | = | 31455 |
[app#(x1, x2)] | = | x1 + 0 |
[comp] | = | 10803 |
[app(x1, x2)] | = | x1 + x2 + 20653 |
app#(app(app(comp,f),g),x) | → | app#(g,x) | (6) |
app#(app(app(comp,f),g),x) | → | app#(f,app(g,x)) | (4) |
The dependency pairs are split into 0 components.