The rewrite relation of the following TRS is considered.
app(app(mapbt,f),app(leaf,x)) | → | app(leaf,app(f,x)) | (1) |
app(app(mapbt,f),app(app(app(branch,x),l),r)) | → | app(app(app(branch,app(f,x)),app(app(mapbt,f),l)),app(app(mapbt,f),r)) | (2) |
app#(app(mapbt,f),app(app(app(branch,x),l),r)) | → | app#(app(branch,app(f,x)),app(app(mapbt,f),l)) | (3) |
app#(app(mapbt,f),app(app(app(branch,x),l),r)) | → | app#(app(mapbt,f),r) | (4) |
app#(app(mapbt,f),app(leaf,x)) | → | app#(leaf,app(f,x)) | (5) |
app#(app(mapbt,f),app(app(app(branch,x),l),r)) | → | app#(app(mapbt,f),l) | (6) |
app#(app(mapbt,f),app(app(app(branch,x),l),r)) | → | app#(branch,app(f,x)) | (7) |
app#(app(mapbt,f),app(app(app(branch,x),l),r)) | → | app#(app(app(branch,app(f,x)),app(app(mapbt,f),l)),app(app(mapbt,f),r)) | (8) |
app#(app(mapbt,f),app(leaf,x)) | → | app#(f,x) | (9) |
app#(app(mapbt,f),app(app(app(branch,x),l),r)) | → | app#(f,x) | (10) |
The dependency pairs are split into 1 component.
app#(app(mapbt,f),app(app(app(branch,x),l),r)) | → | app#(f,x) | (10) |
app#(app(mapbt,f),app(leaf,x)) | → | app#(f,x) | (9) |
app#(app(mapbt,f),app(app(app(branch,x),l),r)) | → | app#(app(mapbt,f),r) | (4) |
app#(app(mapbt,f),app(app(app(branch,x),l),r)) | → | app#(app(mapbt,f),l) | (6) |
[mapbt] | = | 1 |
[app#(x1, x2)] | = | x1 + 0 |
[branch] | = | 1 |
[leaf] | = | 1 |
[app(x1, x2)] | = | x2 + 1 |
app(app(mapbt,f),app(leaf,x)) | → | app(leaf,app(f,x)) | (1) |
app(app(mapbt,f),app(app(app(branch,x),l),r)) | → | app(app(app(branch,app(f,x)),app(app(mapbt,f),l)),app(app(mapbt,f),r)) | (2) |
app#(app(mapbt,f),app(app(app(branch,x),l),r)) | → | app#(f,x) | (10) |
app#(app(mapbt,f),app(leaf,x)) | → | app#(f,x) | (9) |
The dependency pairs are split into 1 component.
app#(app(mapbt,f),app(app(app(branch,x),l),r)) | → | app#(app(mapbt,f),r) | (4) |
app#(app(mapbt,f),app(app(app(branch,x),l),r)) | → | app#(app(mapbt,f),l) | (6) |
[mapbt] | = | 0 |
[app#(x1, x2)] | = | x2 + 0 |
[branch] | = | 0 |
[leaf] | = | 0 |
[app(x1, x2)] | = | x1 + x2 + 7758 |
app#(app(mapbt,f),app(app(app(branch,x),l),r)) | → | app#(app(mapbt,f),r) | (4) |
app#(app(mapbt,f),app(app(app(branch,x),l),r)) | → | app#(app(mapbt,f),l) | (6) |
The dependency pairs are split into 0 components.