The rewrite relation of the following TRS is considered.
app(app(map,f),nil) |
→ |
nil |
(1) |
app(app(map,f),app(app(cons,x),xs)) |
→ |
app(app(cons,app(f,x)),app(app(map,f),xs)) |
(2) |
app(app(treemap,f),app(app(node,x),xs)) |
→ |
app(app(node,app(f,x)),app(app(map,app(treemap,f)),xs)) |
(3) |
app#(app(map,f),app(app(cons,x),xs)) |
→ |
app#(cons,app(f,x)) |
(4) |
app#(app(treemap,f),app(app(node,x),xs)) |
→ |
app#(node,app(f,x)) |
(5) |
app#(app(treemap,f),app(app(node,x),xs)) |
→ |
app#(map,app(treemap,f)) |
(6) |
app#(app(treemap,f),app(app(node,x),xs)) |
→ |
app#(f,x) |
(7) |
app#(app(treemap,f),app(app(node,x),xs)) |
→ |
app#(app(node,app(f,x)),app(app(map,app(treemap,f)),xs)) |
(8) |
app#(app(map,f),app(app(cons,x),xs)) |
→ |
app#(f,x) |
(9) |
app#(app(map,f),app(app(cons,x),xs)) |
→ |
app#(app(cons,app(f,x)),app(app(map,f),xs)) |
(10) |
app#(app(treemap,f),app(app(node,x),xs)) |
→ |
app#(app(map,app(treemap,f)),xs) |
(11) |
app#(app(map,f),app(app(cons,x),xs)) |
→ |
app#(app(map,f),xs) |
(12) |
The dependency pairs are split into 1
component.