The rewrite relation of the following TRS is considered.
is_empty(nil) | → | true | (1) |
is_empty(cons(x,l)) | → | false | (2) |
hd(cons(x,l)) | → | x | (3) |
tl(cons(x,l)) | → | l | (4) |
append(l1,l2) | → | ifappend(l1,l2,l1) | (5) |
ifappend(l1,l2,nil) | → | l2 | (6) |
ifappend(l1,l2,cons(x,l)) | → | cons(x,append(l,l2)) | (7) |
append#(l1,l2) | → | ifappend#(l1,l2,l1) | (8) |
ifappend#(l1,l2,cons(x,l)) | → | append#(l,l2) | (9) |
π(ifappend#) | = | 3 |
π(append#) | = | 1 |
ifappend#(l1,l2,cons(x,l)) | → | append#(l,l2) | (9) |
The dependency pairs are split into 0 components.