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