YES We show the termination of the TRS R: app(app(map(),f),nil()) -> nil() app(app(map(),f),app(app(cons(),x),xs)) -> app(app(cons(),app(f,x)),app(app(map(),f),xs)) app(app(le(),|0|()),y) -> true() app(app(le(),app(s(),x)),|0|()) -> false() app(app(le(),app(s(),x)),app(s(),y)) -> app(app(le(),x),y) app(app(maxlist(),x),app(app(cons(),y),ys)) -> app(app(if(),app(app(le(),x),y)),app(app(maxlist(),y),ys)) app(app(maxlist(),x),nil()) -> x app(height(),app(app(node(),x),xs)) -> app(s(),app(app(maxlist(),|0|()),app(app(map(),height()),xs))) Instead we prove termination of the uncurried system: app(cons_0(),y) -> cons_1(y) app(cons_1(x1),y) -> cons_2(x1,y) app(height_0(),y) -> height_1(y) app(if_0(),y) -> if_1(y) app(if_1(x1),y) -> if_2(x1,y) app(le_0(),y) -> le_1(y) app(le_1(x1),y) -> le_2(x1,y) app(map_0(),y) -> map_1(y) app(map_1(x1),y) -> map_2(x1,y) app(maxlist_0(),y) -> maxlist_1(y) app(maxlist_1(x1),y) -> maxlist_2(x1,y) app(node_0(),y) -> node_1(y) app(node_1(x1),y) -> node_2(x1,y) app(s_0(),y) -> s_1(y) map_2(f,nil_0()) -> nil_0() map_2(f,cons_2(x,xs)) -> cons_2(app(f,x),map_2(f,xs)) le_2(|0|_0(),y) -> true_0() le_2(s_1(x),|0|_0()) -> false_0() le_2(s_1(x),s_1(y)) -> le_2(x,y) maxlist_2(x,cons_2(y,ys)) -> if_2(le_2(x,y),maxlist_2(y,ys)) maxlist_2(x,nil_0()) -> x height_1(node_2(x,xs)) -> s_1(maxlist_2(|0|_0(),map_2(height_0(),xs))) -- SCC decomposition. Consider the dependency pair problem (P, R), where P consists of p1: app#(height_0(),y) -> height_1#(y) p2: app#(le_1(x1),y) -> le_2#(x1,y) p3: app#(map_1(x1),y) -> map_2#(x1,y) p4: app#(maxlist_1(x1),y) -> maxlist_2#(x1,y) p5: map_2#(f,cons_2(x,xs)) -> app#(f,x) p6: map_2#(f,cons_2(x,xs)) -> map_2#(f,xs) p7: le_2#(s_1(x),s_1(y)) -> le_2#(x,y) p8: maxlist_2#(x,cons_2(y,ys)) -> le_2#(x,y) p9: maxlist_2#(x,cons_2(y,ys)) -> maxlist_2#(y,ys) p10: height_1#(node_2(x,xs)) -> maxlist_2#(|0|_0(),map_2(height_0(),xs)) p11: height_1#(node_2(x,xs)) -> map_2#(height_0(),xs) and R consists of: r1: app(cons_0(),y) -> cons_1(y) r2: app(cons_1(x1),y) -> cons_2(x1,y) r3: app(height_0(),y) -> height_1(y) r4: app(if_0(),y) -> if_1(y) r5: app(if_1(x1),y) -> if_2(x1,y) r6: app(le_0(),y) -> le_1(y) r7: app(le_1(x1),y) -> le_2(x1,y) r8: app(map_0(),y) -> map_1(y) r9: app(map_1(x1),y) -> map_2(x1,y) r10: app(maxlist_0(),y) -> maxlist_1(y) r11: app(maxlist_1(x1),y) -> maxlist_2(x1,y) r12: app(node_0(),y) -> node_1(y) r13: app(node_1(x1),y) -> node_2(x1,y) r14: app(s_0(),y) -> s_1(y) r15: map_2(f,nil_0()) -> nil_0() r16: map_2(f,cons_2(x,xs)) -> cons_2(app(f,x),map_2(f,xs)) r17: le_2(|0|_0(),y) -> true_0() r18: le_2(s_1(x),|0|_0()) -> false_0() r19: le_2(s_1(x),s_1(y)) -> le_2(x,y) r20: maxlist_2(x,cons_2(y,ys)) -> if_2(le_2(x,y),maxlist_2(y,ys)) r21: maxlist_2(x,nil_0()) -> x r22: height_1(node_2(x,xs)) -> s_1(maxlist_2(|0|_0(),map_2(height_0(),xs))) The estimated dependency graph contains the following SCCs: {p1, p3, p5, p6, p11} {p9} {p7} -- Reduction pair. Consider the dependency pair problem (P, R), where P consists of p1: app#(height_0(),y) -> height_1#(y) p2: height_1#(node_2(x,xs)) -> map_2#(height_0(),xs) p3: map_2#(f,cons_2(x,xs)) -> map_2#(f,xs) p4: map_2#(f,cons_2(x,xs)) -> app#(f,x) p5: app#(map_1(x1),y) -> map_2#(x1,y) and R consists of: r1: app(cons_0(),y) -> cons_1(y) r2: app(cons_1(x1),y) -> cons_2(x1,y) r3: app(height_0(),y) -> height_1(y) r4: app(if_0(),y) -> if_1(y) r5: app(if_1(x1),y) -> if_2(x1,y) r6: app(le_0(),y) -> le_1(y) r7: app(le_1(x1),y) -> le_2(x1,y) r8: app(map_0(),y) -> map_1(y) r9: app(map_1(x1),y) -> map_2(x1,y) r10: app(maxlist_0(),y) -> maxlist_1(y) r11: app(maxlist_1(x1),y) -> maxlist_2(x1,y) r12: app(node_0(),y) -> node_1(y) r13: app(node_1(x1),y) -> node_2(x1,y) r14: app(s_0(),y) -> s_1(y) r15: map_2(f,nil_0()) -> nil_0() r16: map_2(f,cons_2(x,xs)) -> cons_2(app(f,x),map_2(f,xs)) r17: le_2(|0|_0(),y) -> true_0() r18: le_2(s_1(x),|0|_0()) -> false_0() r19: le_2(s_1(x),s_1(y)) -> le_2(x,y) r20: maxlist_2(x,cons_2(y,ys)) -> if_2(le_2(x,y),maxlist_2(y,ys)) r21: maxlist_2(x,nil_0()) -> x r22: height_1(node_2(x,xs)) -> s_1(maxlist_2(|0|_0(),map_2(height_0(),xs))) The set of usable rules consists of r1, r4, r6, r8, r10, r12, r13, r14, r17, r18 Take the reduction pair: generalized weighted path order (>=MG, >MG) base order 1: matrix interpretation with standard point-wise order: carrier: N^1 order: standard order interpretations: app#_A(x1,x2) = x1 + x2 + 5 height_0_A() = 1 height_1#_A(x1) = x1 + 2 node_2_A(x1,x2) = x2 + 6 map_2#_A(x1,x2) = x1 + x2 + 3 cons_2_A(x1,x2) = x1 + x2 + 4 map_1_A(x1) = x1 + 2 app_A(x1,x2) = x2 + 8 cons_0_A() = 2 cons_1_A(x1) = 1 if_0_A() = 2 if_1_A(x1) = 1 le_0_A() = 2 le_1_A(x1) = 1 map_0_A() = 1 maxlist_0_A() = 2 maxlist_1_A(x1) = 1 node_0_A() = 2 node_1_A(x1) = 1 s_0_A() = 2 s_1_A(x1) = 1 le_2_A(x1,x2) = x1 + x2 + 9 |0|_0_A() = 1 true_0_A() = 0 false_0_A() = 0 base order 2: precedence: height_1# > app# > node_2 = map_2# = node_0 = le_2 > app = node_1 > cons_2 > cons_0 = if_0 = le_0 = maxlist_0 > cons_1 = if_1 = le_1 = maxlist_1 = s_0 > height_0 = |0|_0 > map_1 = s_1 = true_0 = false_0 > map_0 partial status: pi(app#) = [2] pi(height_0) = [] pi(height_1#) = [] pi(node_2) = [2] pi(map_2#) = [2] pi(cons_2) = [1] pi(map_1) = [1] pi(app) = [] pi(cons_0) = [] pi(cons_1) = [] pi(if_0) = [] pi(if_1) = [] pi(le_0) = [] pi(le_1) = [] pi(map_0) = [] pi(maxlist_0) = [] pi(maxlist_1) = [] pi(node_0) = [] pi(node_1) = [] pi(s_0) = [] pi(s_1) = [] pi(le_2) = [1] pi(|0|_0) = [] pi(true_0) = [] pi(false_0) = [] The following rules are removed: p1 -- SCC decomposition. Consider the dependency pair problem (P, R), where P consists of p1: height_1#(node_2(x,xs)) -> map_2#(height_0(),xs) p2: map_2#(f,cons_2(x,xs)) -> map_2#(f,xs) p3: map_2#(f,cons_2(x,xs)) -> app#(f,x) p4: app#(map_1(x1),y) -> map_2#(x1,y) and R consists of: r1: app(cons_0(),y) -> cons_1(y) r2: app(cons_1(x1),y) -> cons_2(x1,y) r3: app(height_0(),y) -> height_1(y) r4: app(if_0(),y) -> if_1(y) r5: app(if_1(x1),y) -> if_2(x1,y) r6: app(le_0(),y) -> le_1(y) r7: app(le_1(x1),y) -> le_2(x1,y) r8: app(map_0(),y) -> map_1(y) r9: app(map_1(x1),y) -> map_2(x1,y) r10: app(maxlist_0(),y) -> maxlist_1(y) r11: app(maxlist_1(x1),y) -> maxlist_2(x1,y) r12: app(node_0(),y) -> node_1(y) r13: app(node_1(x1),y) -> node_2(x1,y) r14: app(s_0(),y) -> s_1(y) r15: map_2(f,nil_0()) -> nil_0() r16: map_2(f,cons_2(x,xs)) -> cons_2(app(f,x),map_2(f,xs)) r17: le_2(|0|_0(),y) -> true_0() r18: le_2(s_1(x),|0|_0()) -> false_0() r19: le_2(s_1(x),s_1(y)) -> le_2(x,y) r20: maxlist_2(x,cons_2(y,ys)) -> if_2(le_2(x,y),maxlist_2(y,ys)) r21: maxlist_2(x,nil_0()) -> x r22: height_1(node_2(x,xs)) -> s_1(maxlist_2(|0|_0(),map_2(height_0(),xs))) The estimated dependency graph contains the following SCCs: {p2, p3, p4} -- Reduction pair. Consider the dependency pair problem (P, R), where P consists of p1: map_2#(f,cons_2(x,xs)) -> map_2#(f,xs) p2: map_2#(f,cons_2(x,xs)) -> app#(f,x) p3: app#(map_1(x1),y) -> map_2#(x1,y) and R consists of: r1: app(cons_0(),y) -> cons_1(y) r2: app(cons_1(x1),y) -> cons_2(x1,y) r3: app(height_0(),y) -> height_1(y) r4: app(if_0(),y) -> if_1(y) r5: app(if_1(x1),y) -> if_2(x1,y) r6: app(le_0(),y) -> le_1(y) r7: app(le_1(x1),y) -> le_2(x1,y) r8: app(map_0(),y) -> map_1(y) r9: app(map_1(x1),y) -> map_2(x1,y) r10: app(maxlist_0(),y) -> maxlist_1(y) r11: app(maxlist_1(x1),y) -> maxlist_2(x1,y) r12: app(node_0(),y) -> node_1(y) r13: app(node_1(x1),y) -> node_2(x1,y) r14: app(s_0(),y) -> s_1(y) r15: map_2(f,nil_0()) -> nil_0() r16: map_2(f,cons_2(x,xs)) -> cons_2(app(f,x),map_2(f,xs)) r17: le_2(|0|_0(),y) -> true_0() r18: le_2(s_1(x),|0|_0()) -> false_0() r19: le_2(s_1(x),s_1(y)) -> le_2(x,y) r20: maxlist_2(x,cons_2(y,ys)) -> if_2(le_2(x,y),maxlist_2(y,ys)) r21: maxlist_2(x,nil_0()) -> x r22: height_1(node_2(x,xs)) -> s_1(maxlist_2(|0|_0(),map_2(height_0(),xs))) The set of usable rules consists of r17, r18 Take the reduction pair: generalized weighted path order (>=MG, >MG) base order 1: matrix interpretation with standard point-wise order: carrier: N^1 order: standard order interpretations: map_2#_A(x1,x2) = x2 + 3 cons_2_A(x1,x2) = x1 + x2 + 2 app#_A(x1,x2) = x2 + 4 map_1_A(x1) = x1 + 4 le_2_A(x1,x2) = x1 + x2 + 3 |0|_0_A() = 1 true_0_A() = 0 s_1_A(x1) = x1 + 2 false_0_A() = 0 base order 2: precedence: |0|_0 > true_0 > app# = le_2 > map_2# = cons_2 > map_1 > s_1 = false_0 partial status: pi(map_2#) = [] pi(cons_2) = [1] pi(app#) = [2] pi(map_1) = [1] pi(le_2) = [1] pi(|0|_0) = [] pi(true_0) = [] pi(s_1) = [] pi(false_0) = [] The following rules are removed: p2 -- SCC decomposition. Consider the dependency pair problem (P, R), where P consists of p1: map_2#(f,cons_2(x,xs)) -> map_2#(f,xs) p2: app#(map_1(x1),y) -> map_2#(x1,y) and R consists of: r1: app(cons_0(),y) -> cons_1(y) r2: app(cons_1(x1),y) -> cons_2(x1,y) r3: app(height_0(),y) -> height_1(y) r4: app(if_0(),y) -> if_1(y) r5: app(if_1(x1),y) -> if_2(x1,y) r6: app(le_0(),y) -> le_1(y) r7: app(le_1(x1),y) -> le_2(x1,y) r8: app(map_0(),y) -> map_1(y) r9: app(map_1(x1),y) -> map_2(x1,y) r10: app(maxlist_0(),y) -> maxlist_1(y) r11: app(maxlist_1(x1),y) -> maxlist_2(x1,y) r12: app(node_0(),y) -> node_1(y) r13: app(node_1(x1),y) -> node_2(x1,y) r14: app(s_0(),y) -> s_1(y) r15: map_2(f,nil_0()) -> nil_0() r16: map_2(f,cons_2(x,xs)) -> cons_2(app(f,x),map_2(f,xs)) r17: le_2(|0|_0(),y) -> true_0() r18: le_2(s_1(x),|0|_0()) -> false_0() r19: le_2(s_1(x),s_1(y)) -> le_2(x,y) r20: maxlist_2(x,cons_2(y,ys)) -> if_2(le_2(x,y),maxlist_2(y,ys)) r21: maxlist_2(x,nil_0()) -> x r22: height_1(node_2(x,xs)) -> s_1(maxlist_2(|0|_0(),map_2(height_0(),xs))) The estimated dependency graph contains the following SCCs: {p1} -- Reduction pair. Consider the dependency pair problem (P, R), where P consists of p1: map_2#(f,cons_2(x,xs)) -> map_2#(f,xs) and R consists of: r1: app(cons_0(),y) -> cons_1(y) r2: app(cons_1(x1),y) -> cons_2(x1,y) r3: app(height_0(),y) -> height_1(y) r4: app(if_0(),y) -> if_1(y) r5: app(if_1(x1),y) -> if_2(x1,y) r6: app(le_0(),y) -> le_1(y) r7: app(le_1(x1),y) -> le_2(x1,y) r8: app(map_0(),y) -> map_1(y) r9: app(map_1(x1),y) -> map_2(x1,y) r10: app(maxlist_0(),y) -> maxlist_1(y) r11: app(maxlist_1(x1),y) -> maxlist_2(x1,y) r12: app(node_0(),y) -> node_1(y) r13: app(node_1(x1),y) -> node_2(x1,y) r14: app(s_0(),y) -> s_1(y) r15: map_2(f,nil_0()) -> nil_0() r16: map_2(f,cons_2(x,xs)) -> cons_2(app(f,x),map_2(f,xs)) r17: le_2(|0|_0(),y) -> true_0() r18: le_2(s_1(x),|0|_0()) -> false_0() r19: le_2(s_1(x),s_1(y)) -> le_2(x,y) r20: maxlist_2(x,cons_2(y,ys)) -> if_2(le_2(x,y),maxlist_2(y,ys)) r21: maxlist_2(x,nil_0()) -> x r22: height_1(node_2(x,xs)) -> s_1(maxlist_2(|0|_0(),map_2(height_0(),xs))) The set of usable rules consists of r1, r4, r6, r8, r10, r12, r13, r14, r17, r18 Take the reduction pair: generalized weighted path order (>=MG, >MG) base order 1: matrix interpretation with standard point-wise order: carrier: N^1 order: standard order interpretations: map_2#_A(x1,x2) = x1 + x2 + 8 cons_2_A(x1,x2) = x1 + x2 + 7 app_A(x1,x2) = x2 + 6 cons_0_A() = 2 cons_1_A(x1) = 1 if_0_A() = 2 if_1_A(x1) = 1 le_0_A() = 2 le_1_A(x1) = 1 map_0_A() = 2 map_1_A(x1) = 1 maxlist_0_A() = 2 maxlist_1_A(x1) = 1 node_0_A() = 2 node_1_A(x1) = 1 node_2_A(x1,x2) = x2 + 5 s_0_A() = 1 s_1_A(x1) = x1 le_2_A(x1,x2) = x2 + 2 |0|_0_A() = 1 true_0_A() = 0 false_0_A() = 0 base order 2: precedence: map_2# = map_0 = maxlist_0 = node_2 = le_2 > s_1 = |0|_0 > cons_2 = app = if_0 = le_0 = node_0 = s_0 = true_0 = false_0 > cons_1 = if_1 = le_1 = node_1 > cons_0 = map_1 = maxlist_1 partial status: pi(map_2#) = [2] pi(cons_2) = [] pi(app) = [2] pi(cons_0) = [] pi(cons_1) = [] pi(if_0) = [] pi(if_1) = [] pi(le_0) = [] pi(le_1) = [] pi(map_0) = [] pi(map_1) = [] pi(maxlist_0) = [] pi(maxlist_1) = [] pi(node_0) = [] pi(node_1) = [] pi(node_2) = [2] pi(s_0) = [] pi(s_1) = [] pi(le_2) = [2] pi(|0|_0) = [] pi(true_0) = [] pi(false_0) = [] The following rules are removed: p1 Then no dependency pair remains. -- Reduction pair. Consider the dependency pair problem (P, R), where P consists of p1: maxlist_2#(x,cons_2(y,ys)) -> maxlist_2#(y,ys) and R consists of: r1: app(cons_0(),y) -> cons_1(y) r2: app(cons_1(x1),y) -> cons_2(x1,y) r3: app(height_0(),y) -> height_1(y) r4: app(if_0(),y) -> if_1(y) r5: app(if_1(x1),y) -> if_2(x1,y) r6: app(le_0(),y) -> le_1(y) r7: app(le_1(x1),y) -> le_2(x1,y) r8: app(map_0(),y) -> map_1(y) r9: app(map_1(x1),y) -> map_2(x1,y) r10: app(maxlist_0(),y) -> maxlist_1(y) r11: app(maxlist_1(x1),y) -> maxlist_2(x1,y) r12: app(node_0(),y) -> node_1(y) r13: app(node_1(x1),y) -> node_2(x1,y) r14: app(s_0(),y) -> s_1(y) r15: map_2(f,nil_0()) -> nil_0() r16: map_2(f,cons_2(x,xs)) -> cons_2(app(f,x),map_2(f,xs)) r17: le_2(|0|_0(),y) -> true_0() r18: le_2(s_1(x),|0|_0()) -> false_0() r19: le_2(s_1(x),s_1(y)) -> le_2(x,y) r20: maxlist_2(x,cons_2(y,ys)) -> if_2(le_2(x,y),maxlist_2(y,ys)) r21: maxlist_2(x,nil_0()) -> x r22: height_1(node_2(x,xs)) -> s_1(maxlist_2(|0|_0(),map_2(height_0(),xs))) The set of usable rules consists of r1, r4, r6, r8, r10, r12, r13, r17, r18 Take the reduction pair: generalized weighted path order (>=MG, >MG) base order 1: matrix interpretation with standard point-wise order: carrier: N^1 order: standard order interpretations: maxlist_2#_A(x1,x2) = x2 cons_2_A(x1,x2) = x2 + 6 app_A(x1,x2) = 9 cons_0_A() = 2 cons_1_A(x1) = 1 if_0_A() = 2 if_1_A(x1) = 1 le_0_A() = 2 le_1_A(x1) = 1 map_0_A() = 2 map_1_A(x1) = 1 maxlist_0_A() = 3 maxlist_1_A(x1) = 2 node_0_A() = 9 node_1_A(x1) = 8 node_2_A(x1,x2) = 7 le_2_A(x1,x2) = x1 + x2 + 8 |0|_0_A() = 1 true_0_A() = 0 s_1_A(x1) = x1 + 3 false_0_A() = 2 base order 2: precedence: le_2 = false_0 > cons_2 = le_0 > if_0 = le_1 > maxlist_2# = app = cons_0 = if_1 = map_0 = maxlist_0 = node_0 > cons_1 = map_1 = node_1 > node_2 > |0|_0 = s_1 > maxlist_1 = true_0 partial status: pi(maxlist_2#) = [2] pi(cons_2) = [] pi(app) = [] pi(cons_0) = [] pi(cons_1) = [] pi(if_0) = [] pi(if_1) = [] pi(le_0) = [] pi(le_1) = [] pi(map_0) = [] pi(map_1) = [] pi(maxlist_0) = [] pi(maxlist_1) = [] pi(node_0) = [] pi(node_1) = [] pi(node_2) = [] pi(le_2) = [] pi(|0|_0) = [] pi(true_0) = [] pi(s_1) = [1] pi(false_0) = [] The following rules are removed: p1 Then no dependency pair remains. -- Reduction pair. Consider the dependency pair problem (P, R), where P consists of p1: le_2#(s_1(x),s_1(y)) -> le_2#(x,y) and R consists of: r1: app(cons_0(),y) -> cons_1(y) r2: app(cons_1(x1),y) -> cons_2(x1,y) r3: app(height_0(),y) -> height_1(y) r4: app(if_0(),y) -> if_1(y) r5: app(if_1(x1),y) -> if_2(x1,y) r6: app(le_0(),y) -> le_1(y) r7: app(le_1(x1),y) -> le_2(x1,y) r8: app(map_0(),y) -> map_1(y) r9: app(map_1(x1),y) -> map_2(x1,y) r10: app(maxlist_0(),y) -> maxlist_1(y) r11: app(maxlist_1(x1),y) -> maxlist_2(x1,y) r12: app(node_0(),y) -> node_1(y) r13: app(node_1(x1),y) -> node_2(x1,y) r14: app(s_0(),y) -> s_1(y) r15: map_2(f,nil_0()) -> nil_0() r16: map_2(f,cons_2(x,xs)) -> cons_2(app(f,x),map_2(f,xs)) r17: le_2(|0|_0(),y) -> true_0() r18: le_2(s_1(x),|0|_0()) -> false_0() r19: le_2(s_1(x),s_1(y)) -> le_2(x,y) r20: maxlist_2(x,cons_2(y,ys)) -> if_2(le_2(x,y),maxlist_2(y,ys)) r21: maxlist_2(x,nil_0()) -> x r22: height_1(node_2(x,xs)) -> s_1(maxlist_2(|0|_0(),map_2(height_0(),xs))) The set of usable rules consists of r1, r4, r5, r7, r8, r10, r12, r13, r14, r17, r18, r19 Take the reduction pair: generalized weighted path order (>=MG, >MG) base order 1: matrix interpretation with standard point-wise order: carrier: N^1 order: standard order interpretations: le_2#_A(x1,x2) = x1 + x2 + 3 s_1_A(x1) = x1 + 2 app_A(x1,x2) = x2 + 10 cons_0_A() = 2 cons_1_A(x1) = 1 if_0_A() = 2 if_1_A(x1) = 1 if_2_A(x1,x2) = x2 + 9 le_1_A(x1) = 11 le_2_A(x1,x2) = x2 + 1 map_0_A() = 2 map_1_A(x1) = 1 maxlist_0_A() = 2 maxlist_1_A(x1) = 1 node_0_A() = 2 node_1_A(x1) = 1 node_2_A(x1,x2) = x2 + 9 s_0_A() = 1 |0|_0_A() = 1 true_0_A() = 0 false_0_A() = 0 base order 2: precedence: if_2 > le_2# = le_1 = map_0 = maxlist_0 = node_0 > app = cons_0 = if_0 > s_1 = cons_1 = if_1 = map_1 = maxlist_1 = node_1 > node_2 = s_0 > |0|_0 > true_0 = false_0 > le_2 partial status: pi(le_2#) = [2] pi(s_1) = [] pi(app) = [] pi(cons_0) = [] pi(cons_1) = [] pi(if_0) = [] pi(if_1) = [] pi(if_2) = [] pi(le_1) = [] pi(le_2) = [2] pi(map_0) = [] pi(map_1) = [] pi(maxlist_0) = [] pi(maxlist_1) = [] pi(node_0) = [] pi(node_1) = [] pi(node_2) = [] pi(s_0) = [] pi(|0|_0) = [] pi(true_0) = [] pi(false_0) = [] The following rules are removed: p1 Then no dependency pair remains.