The rewrite relation of the following TRS is considered.
app(app(map_1,f),app(app(cons,h),t)) | → | app(app(cons,app(f,h)),app(app(map_1,f),t)) | (1) |
app(app(app(map_2,f),c),app(app(cons,h),t)) | → | app(app(cons,app(app(f,h),c)),app(app(app(map_2,f),c),t)) | (2) |
app(app(app(app(map_3,f),g),c),app(app(cons,h),t)) | → | app(app(cons,app(app(app(f,g),h),c)),app(app(app(app(map_3,f),g),c),t)) | (3) |
We uncurry the binary symbol app in combination with the following symbol map which also determines the applicative arities of these symbols.
map_1 | is mapped to | map_1, | map_11(x1), | map_12(x1, x2) | ||
cons | is mapped to | cons, | cons1(x1), | cons2(x1, x2) | ||
map_2 | is mapped to | map_2, | map_21(x1), | map_22(x1, x2), | map_23(x1, x2, x3) | |
map_3 | is mapped to | map_3, | map_31(x1), | map_32(x1, x2), | map_33(x1, x2, x3), | map_34(x1,...,x4) |
g | is mapped to | g |
map_12(f,cons2(h,t)) | → | cons2(app(f,h),map_12(f,t)) | (15) |
map_23(f,c,cons2(h,t)) | → | cons2(app(app(f,h),c),map_23(f,c,t)) | (16) |
map_34(f,g,c,cons2(h,t)) | → | cons2(app(app(app(f,g),h),c),map_34(f,g,c,t)) | (17) |
app(map_1,y1) | → | map_11(y1) | (4) |
app(map_11(x0),y1) | → | map_12(x0,y1) | (5) |
app(cons,y1) | → | cons1(y1) | (6) |
app(cons1(x0),y1) | → | cons2(x0,y1) | (7) |
app(map_2,y1) | → | map_21(y1) | (8) |
app(map_21(x0),y1) | → | map_22(x0,y1) | (9) |
app(map_22(x0,x1),y1) | → | map_23(x0,x1,y1) | (10) |
app(map_3,y1) | → | map_31(y1) | (11) |
app(map_31(x0),y1) | → | map_32(x0,y1) | (12) |
app(map_32(x0,x1),y1) | → | map_33(x0,x1,y1) | (13) |
app(map_33(x0,x1,x2),y1) | → | map_34(x0,x1,x2,y1) | (14) |
The TRS is overlay and locally confluent:
10Hence, it suffices to show innermost termination in the following.
map_12#(f,cons2(h,t)) | → | app#(f,h) | (18) |
map_12#(f,cons2(h,t)) | → | map_12#(f,t) | (19) |
map_23#(f,c,cons2(h,t)) | → | app#(app(f,h),c) | (20) |
map_23#(f,c,cons2(h,t)) | → | app#(f,h) | (21) |
map_23#(f,c,cons2(h,t)) | → | map_23#(f,c,t) | (22) |
map_34#(f,g,c,cons2(h,t)) | → | app#(app(app(f,g),h),c) | (23) |
map_34#(f,g,c,cons2(h,t)) | → | app#(app(f,g),h) | (24) |
map_34#(f,g,c,cons2(h,t)) | → | app#(f,g) | (25) |
map_34#(f,g,c,cons2(h,t)) | → | map_34#(f,g,c,t) | (26) |
app#(map_11(x0),y1) | → | map_12#(x0,y1) | (27) |
app#(map_22(x0,x1),y1) | → | map_23#(x0,x1,y1) | (28) |
app#(map_33(x0,x1,x2),y1) | → | map_34#(x0,x1,x2,y1) | (29) |
[map_12#(x1, x2)] | = |
|
||||||||||||||||||||
[cons2(x1, x2)] | = |
|
||||||||||||||||||||
[app#(x1, x2)] | = |
|
||||||||||||||||||||
[map_23#(x1, x2, x3)] | = |
|
||||||||||||||||||||
[app(x1, x2)] | = |
|
||||||||||||||||||||
[map_34#(x1,...,x4)] | = |
|
||||||||||||||||||||
[g] | = |
|
||||||||||||||||||||
[map_11(x1)] | = |
|
||||||||||||||||||||
[map_22(x1, x2)] | = |
|
||||||||||||||||||||
[map_33(x1, x2, x3)] | = |
|
||||||||||||||||||||
[map_1] | = |
|
||||||||||||||||||||
[map_12(x1, x2)] | = |
|
||||||||||||||||||||
[cons] | = |
|
||||||||||||||||||||
[cons1(x1)] | = |
|
||||||||||||||||||||
[map_2] | = |
|
||||||||||||||||||||
[map_21(x1)] | = |
|
||||||||||||||||||||
[map_23(x1, x2, x3)] | = |
|
||||||||||||||||||||
[map_3] | = |
|
||||||||||||||||||||
[map_31(x1)] | = |
|
||||||||||||||||||||
[map_32(x1, x2)] | = |
|
||||||||||||||||||||
[map_34(x1,...,x4)] | = |
|
map_34#(f,g,c,cons2(h,t)) | → | app#(f,g) | (25) |
map_23#(map_1,y1,cons2(x0,y3)) | → | app#(map_11(x0),y1) | (30) |
map_23#(map_11(x0),y1,cons2(x1,y3)) | → | app#(map_12(x0,x1),y1) | (31) |
map_23#(cons,y1,cons2(x0,y3)) | → | app#(cons1(x0),y1) | (32) |
map_23#(cons1(x0),y1,cons2(x1,y3)) | → | app#(cons2(x0,x1),y1) | (33) |
map_23#(map_2,y1,cons2(x0,y3)) | → | app#(map_21(x0),y1) | (34) |
map_23#(map_21(x0),y1,cons2(x1,y3)) | → | app#(map_22(x0,x1),y1) | (35) |
map_23#(map_22(x0,x1),y1,cons2(x2,y3)) | → | app#(map_23(x0,x1,x2),y1) | (36) |
map_23#(map_3,y1,cons2(x0,y3)) | → | app#(map_31(x0),y1) | (37) |
map_23#(map_31(x0),y1,cons2(x1,y3)) | → | app#(map_32(x0,x1),y1) | (38) |
map_23#(map_32(x0,x1),y1,cons2(x2,y3)) | → | app#(map_33(x0,x1,x2),y1) | (39) |
map_23#(map_33(x0,x1,x2),y1,cons2(x3,y3)) | → | app#(map_34(x0,x1,x2,x3),y1) | (40) |
The dependency pairs are split into 1 component.
app#(map_11(x0),y1) | → | map_12#(x0,y1) | (27) |
map_12#(f,cons2(h,t)) | → | app#(f,h) | (18) |
app#(map_22(x0,x1),y1) | → | map_23#(x0,x1,y1) | (28) |
map_23#(f,c,cons2(h,t)) | → | app#(f,h) | (21) |
app#(map_33(x0,x1,x2),y1) | → | map_34#(x0,x1,x2,y1) | (29) |
map_34#(f,g,c,cons2(h,t)) | → | app#(app(app(f,g),h),c) | (23) |
map_34#(f,g,c,cons2(h,t)) | → | app#(app(f,g),h) | (24) |
map_34#(f,g,c,cons2(h,t)) | → | map_34#(f,g,c,t) | (26) |
map_23#(f,c,cons2(h,t)) | → | map_23#(f,c,t) | (22) |
map_23#(map_1,y1,cons2(x0,y3)) | → | app#(map_11(x0),y1) | (30) |
map_23#(map_11(x0),y1,cons2(x1,y3)) | → | app#(map_12(x0,x1),y1) | (31) |
map_23#(map_21(x0),y1,cons2(x1,y3)) | → | app#(map_22(x0,x1),y1) | (35) |
map_23#(map_22(x0,x1),y1,cons2(x2,y3)) | → | app#(map_23(x0,x1,x2),y1) | (36) |
map_23#(map_32(x0,x1),y1,cons2(x2,y3)) | → | app#(map_33(x0,x1,x2),y1) | (39) |
map_23#(map_33(x0,x1,x2),y1,cons2(x3,y3)) | → | app#(map_34(x0,x1,x2,x3),y1) | (40) |
map_12#(f,cons2(h,t)) | → | map_12#(f,t) | (19) |
map_34#(map_1,g,y1,cons2(y2,y3)) | → | app#(app(map_11(g),y2),y1) | (41) |
map_34#(map_11(x0),g,y1,cons2(y2,y3)) | → | app#(app(map_12(x0,g),y2),y1) | (42) |
map_34#(cons,g,y1,cons2(y2,y3)) | → | app#(app(cons1(g),y2),y1) | (43) |
map_34#(cons1(x0),g,y1,cons2(y2,y3)) | → | app#(app(cons2(x0,g),y2),y1) | (44) |
map_34#(map_2,g,y1,cons2(y2,y3)) | → | app#(app(map_21(g),y2),y1) | (45) |
map_34#(map_21(x0),g,y1,cons2(y2,y3)) | → | app#(app(map_22(x0,g),y2),y1) | (46) |
map_34#(map_22(x0,x1),g,y1,cons2(y2,y3)) | → | app#(app(map_23(x0,x1,g),y2),y1) | (47) |
map_34#(map_3,g,y1,cons2(y2,y3)) | → | app#(app(map_31(g),y2),y1) | (48) |
map_34#(map_31(x0),g,y1,cons2(y2,y3)) | → | app#(app(map_32(x0,g),y2),y1) | (49) |
map_34#(map_32(x0,x1),g,y1,cons2(y2,y3)) | → | app#(app(map_33(x0,x1,g),y2),y1) | (50) |
map_34#(map_33(x0,x1,x2),g,y1,cons2(y2,y3)) | → | app#(app(map_34(x0,x1,x2,g),y2),y1) | (51) |
The dependency pairs are split into 1 component.
map_12#(f,cons2(h,t)) | → | app#(f,h) | (18) |
app#(map_11(x0),y1) | → | map_12#(x0,y1) | (27) |
map_12#(f,cons2(h,t)) | → | map_12#(f,t) | (19) |
app#(map_22(x0,x1),y1) | → | map_23#(x0,x1,y1) | (28) |
map_23#(f,c,cons2(h,t)) | → | app#(f,h) | (21) |
app#(map_33(x0,x1,x2),y1) | → | map_34#(x0,x1,x2,y1) | (29) |
map_34#(f,g,c,cons2(h,t)) | → | app#(app(f,g),h) | (24) |
map_34#(f,g,c,cons2(h,t)) | → | map_34#(f,g,c,t) | (26) |
map_34#(map_1,g,y1,cons2(y2,y3)) | → | app#(app(map_11(g),y2),y1) | (41) |
map_34#(map_2,g,y1,cons2(y2,y3)) | → | app#(app(map_21(g),y2),y1) | (45) |
map_34#(map_21(x0),g,y1,cons2(y2,y3)) | → | app#(app(map_22(x0,g),y2),y1) | (46) |
map_34#(map_31(x0),g,y1,cons2(y2,y3)) | → | app#(app(map_32(x0,g),y2),y1) | (49) |
map_34#(map_32(x0,x1),g,y1,cons2(y2,y3)) | → | app#(app(map_33(x0,x1,g),y2),y1) | (50) |
map_23#(f,c,cons2(h,t)) | → | map_23#(f,c,t) | (22) |
map_23#(map_1,y1,cons2(x0,y3)) | → | app#(map_11(x0),y1) | (30) |
map_23#(map_11(x0),y1,cons2(x1,y3)) | → | app#(map_12(x0,x1),y1) | (31) |
map_23#(map_21(x0),y1,cons2(x1,y3)) | → | app#(map_22(x0,x1),y1) | (35) |
map_23#(map_22(x0,x1),y1,cons2(x2,y3)) | → | app#(map_23(x0,x1,x2),y1) | (36) |
map_23#(map_32(x0,x1),y1,cons2(x2,y3)) | → | app#(map_33(x0,x1,x2),y1) | (39) |
map_23#(map_33(x0,x1,x2),y1,cons2(x3,y3)) | → | app#(map_34(x0,x1,x2,x3),y1) | (40) |
→ |
→ |
→ |
→ |
→ |
map_34#(map_1,g,y1,cons2(y2,y3)) | → | app#(map_11(g),y2) | (57) |
map_34#(map_11(x0),g,y1,cons2(y2,y3)) | → | app#(map_12(x0,g),y2) | (58) |
map_34#(cons,g,y1,cons2(y2,y3)) | → | app#(cons1(g),y2) | (59) |
map_34#(cons1(x0),g,y1,cons2(y2,y3)) | → | app#(cons2(x0,g),y2) | (60) |
map_34#(map_2,g,y1,cons2(y2,y3)) | → | app#(map_21(g),y2) | (61) |
map_34#(map_21(x0),g,y1,cons2(y2,y3)) | → | app#(map_22(x0,g),y2) | (62) |
map_34#(map_22(x0,x1),g,y1,cons2(y2,y3)) | → | app#(map_23(x0,x1,g),y2) | (63) |
map_34#(map_3,g,y1,cons2(y2,y3)) | → | app#(map_31(g),y2) | (64) |
map_34#(map_31(x0),g,y1,cons2(y2,y3)) | → | app#(map_32(x0,g),y2) | (65) |
map_34#(map_32(x0,x1),g,y1,cons2(y2,y3)) | → | app#(map_33(x0,x1,g),y2) | (66) |
map_34#(map_33(x0,x1,x2),g,y1,cons2(y2,y3)) | → | app#(map_34(x0,x1,x2,g),y2) | (67) |
The dependency pairs are split into 1 component.
app#(map_11(x0),y1) | → | map_12#(x0,y1) | (27) |
map_12#(f,cons2(h,t)) | → | app#(f,h) | (18) |
app#(map_22(x0,x1),y1) | → | map_23#(x0,x1,y1) | (28) |
map_23#(f,c,cons2(h,t)) | → | app#(f,h) | (21) |
app#(map_33(x0,x1,x2),y1) | → | map_34#(x0,x1,x2,y1) | (29) |
map_34#(f,g,c,cons2(h,t)) | → | map_34#(f,g,c,t) | (26) |
map_34#(map_1,g,y1,cons2(y2,y3)) | → | app#(map_12(g,y2),y1) | (52) |
map_34#(map_2,g,y1,cons2(y2,y3)) | → | app#(map_22(g,y2),y1) | (53) |
map_34#(map_21(x0),g,y1,cons2(y2,y3)) | → | app#(map_23(x0,g,y2),y1) | (54) |
map_34#(map_31(x0),g,y1,cons2(y2,y3)) | → | app#(map_33(x0,g,y2),y1) | (55) |
map_34#(map_32(x0,x1),g,y1,cons2(y2,y3)) | → | app#(map_34(x0,x1,g,y2),y1) | (56) |
map_34#(map_1,g,y1,cons2(y2,y3)) | → | app#(map_11(g),y2) | (57) |
map_34#(map_21(x0),g,y1,cons2(y2,y3)) | → | app#(map_22(x0,g),y2) | (62) |
map_34#(map_32(x0,x1),g,y1,cons2(y2,y3)) | → | app#(map_33(x0,x1,g),y2) | (66) |
map_23#(f,c,cons2(h,t)) | → | map_23#(f,c,t) | (22) |
map_23#(map_1,y1,cons2(x0,y3)) | → | app#(map_11(x0),y1) | (30) |
map_23#(map_11(x0),y1,cons2(x1,y3)) | → | app#(map_12(x0,x1),y1) | (31) |
map_23#(map_21(x0),y1,cons2(x1,y3)) | → | app#(map_22(x0,x1),y1) | (35) |
map_23#(map_22(x0,x1),y1,cons2(x2,y3)) | → | app#(map_23(x0,x1,x2),y1) | (36) |
map_23#(map_32(x0,x1),y1,cons2(x2,y3)) | → | app#(map_33(x0,x1,x2),y1) | (39) |
map_23#(map_33(x0,x1,x2),y1,cons2(x3,y3)) | → | app#(map_34(x0,x1,x2,x3),y1) | (40) |
map_12#(f,cons2(h,t)) | → | map_12#(f,t) | (19) |
app#(map_11(x0),cons2(y_1,y_2)) | → | map_12#(x0,cons2(y_1,y_2)) | (68) |
map_12#(map_22(y_0,y_1),cons2(x1,x2)) | → | app#(map_22(y_0,y_1),x1) | (69) |
map_12#(map_33(y_0,y_1,y_2),cons2(x1,x2)) | → | app#(map_33(y_0,y_1,y_2),x1) | (70) |
map_12#(map_11(y_0),cons2(cons2(y_1,y_2),x2)) | → | app#(map_11(y_0),cons2(y_1,y_2)) | (71) |
app#(map_22(x0,x1),cons2(y_2,y_3)) | → | map_23#(x0,x1,cons2(y_2,y_3)) | (72) |
app#(map_22(map_1,x1),cons2(y_1,y_2)) | → | map_23#(map_1,x1,cons2(y_1,y_2)) | (73) |
app#(map_22(map_11(y_0),x1),cons2(y_2,y_3)) | → | map_23#(map_11(y_0),x1,cons2(y_2,y_3)) | (74) |
app#(map_22(map_21(y_0),x1),cons2(y_2,y_3)) | → | map_23#(map_21(y_0),x1,cons2(y_2,y_3)) | (75) |
app#(map_22(map_22(y_0,y_1),x1),cons2(y_3,y_4)) | → | map_23#(map_22(y_0,y_1),x1,cons2(y_3,y_4)) | (76) |
app#(map_22(map_32(y_0,y_1),x1),cons2(y_3,y_4)) | → | map_23#(map_32(y_0,y_1),x1,cons2(y_3,y_4)) | (77) |
app#(map_22(map_33(y_0,y_1,y_2),x1),cons2(y_4,y_5)) | → | map_23#(map_33(y_0,y_1,y_2),x1,cons2(y_4,y_5)) | (78) |
map_23#(map_33(y_0,y_1,y_2),x1,cons2(x2,x3)) | → | app#(map_33(y_0,y_1,y_2),x2) | (79) |
map_23#(map_11(y_0),x1,cons2(cons2(y_1,y_2),x3)) | → | app#(map_11(y_0),cons2(y_1,y_2)) | (80) |
map_23#(map_22(y_0,y_1),x1,cons2(cons2(y_2,y_3),x3)) | → | app#(map_22(y_0,y_1),cons2(y_2,y_3)) | (81) |
map_23#(map_22(map_1,y_0),x1,cons2(cons2(y_1,y_2),x3)) | → | app#(map_22(map_1,y_0),cons2(y_1,y_2)) | (82) |
map_23#(map_22(map_11(y_0),y_1),x1,cons2(cons2(y_2,y_3),x3)) | → | app#(map_22(map_11(y_0),y_1),cons2(y_2,y_3)) | (83) |
map_23#(map_22(map_21(y_0),y_1),x1,cons2(cons2(y_2,y_3),x3)) | → | app#(map_22(map_21(y_0),y_1),cons2(y_2,y_3)) | (84) |
map_23#(map_22(map_22(y_0,y_1),y_2),x1,cons2(cons2(y_3,y_4),x3)) | → | app#(map_22(map_22(y_0,y_1),y_2),cons2(y_3,y_4)) | (85) |
map_23#(map_22(map_32(y_0,y_1),y_2),x1,cons2(cons2(y_3,y_4),x3)) | → | app#(map_22(map_32(y_0,y_1),y_2),cons2(y_3,y_4)) | (86) |
map_23#(map_22(map_33(y_0,y_1,y_2),y_3),x1,cons2(cons2(y_4,y_5),x3)) | → | app#(map_22(map_33(y_0,y_1,y_2),y_3),cons2(y_4,y_5)) | (87) |
app#(map_33(x0,g,x2),cons2(y_2,y_3)) | → | map_34#(x0,g,x2,cons2(y_2,y_3)) | (88) |
app#(map_33(map_1,g,x2),cons2(y_1,y_2)) | → | map_34#(map_1,g,x2,cons2(y_1,y_2)) | (89) |
app#(map_33(map_2,g,x2),cons2(y_1,y_2)) | → | map_34#(map_2,g,x2,cons2(y_1,y_2)) | (90) |
app#(map_33(map_21(y_0),g,x2),cons2(y_2,y_3)) | → | map_34#(map_21(y_0),g,x2,cons2(y_2,y_3)) | (91) |
app#(map_33(map_31(y_0),g,x2),cons2(y_2,y_3)) | → | map_34#(map_31(y_0),g,x2,cons2(y_2,y_3)) | (92) |
app#(map_33(map_32(y_0,y_1),g,x2),cons2(y_3,y_4)) | → | map_34#(map_32(y_0,y_1),g,x2,cons2(y_3,y_4)) | (93) |
map_34#(x0,g,x1,cons2(x2,cons2(y_2,y_3))) | → | map_34#(x0,g,x1,cons2(y_2,y_3)) | (94) |
map_34#(map_1,g,x1,cons2(x2,cons2(y_1,y_2))) | → | map_34#(map_1,g,x1,cons2(y_1,y_2)) | (95) |
map_34#(map_2,g,x1,cons2(x2,cons2(y_1,y_2))) | → | map_34#(map_2,g,x1,cons2(y_1,y_2)) | (96) |
map_34#(map_21(y_0),g,x1,cons2(x2,cons2(y_2,y_3))) | → | map_34#(map_21(y_0),g,x1,cons2(y_2,y_3)) | (97) |
map_34#(map_31(y_0),g,x1,cons2(x2,cons2(y_2,y_3))) | → | map_34#(map_31(y_0),g,x1,cons2(y_2,y_3)) | (98) |
map_34#(map_32(y_0,y_1),g,x1,cons2(x2,cons2(y_3,y_4))) | → | map_34#(map_32(y_0,y_1),g,x1,cons2(y_3,y_4)) | (99) |
map_34#(map_2,g,cons2(y_2,y_3),cons2(x1,x2)) | → | app#(map_22(g,x1),cons2(y_2,y_3)) | (100) |
map_34#(map_31(x0),g,cons2(y_2,y_3),cons2(x2,x3)) | → | app#(map_33(x0,g,x2),cons2(y_2,y_3)) | (101) |
map_34#(map_31(map_1),g,cons2(y_1,y_2),cons2(x2,x3)) | → | app#(map_33(map_1,g,x2),cons2(y_1,y_2)) | (102) |
map_34#(map_31(map_2),g,cons2(y_1,y_2),cons2(x2,x3)) | → | app#(map_33(map_2,g,x2),cons2(y_1,y_2)) | (103) |
map_34#(map_31(map_21(y_0)),g,cons2(y_2,y_3),cons2(x2,x3)) | → | app#(map_33(map_21(y_0),g,x2),cons2(y_2,y_3)) | (104) |
map_34#(map_31(map_31(y_0)),g,cons2(y_2,y_3),cons2(x2,x3)) | → | app#(map_33(map_31(y_0),g,x2),cons2(y_2,y_3)) | (105) |
map_34#(map_31(map_32(y_0,y_1)),g,cons2(y_3,y_4),cons2(x2,x3)) | → | app#(map_33(map_32(y_0,y_1),g,x2),cons2(y_3,y_4)) | (106) |
map_34#(map_1,g,x0,cons2(cons2(y_1,y_2),x2)) | → | app#(map_11(g),cons2(y_1,y_2)) | (107) |
map_34#(map_21(x0),g,x1,cons2(cons2(y_2,y_3),x3)) | → | app#(map_22(x0,g),cons2(y_2,y_3)) | (108) |
map_34#(map_21(map_1),g,x1,cons2(cons2(y_1,y_2),x3)) | → | app#(map_22(map_1,g),cons2(y_1,y_2)) | (109) |
map_34#(map_21(map_11(y_0)),g,x1,cons2(cons2(y_2,y_3),x3)) | → | app#(map_22(map_11(y_0),g),cons2(y_2,y_3)) | (110) |
map_34#(map_21(map_21(y_0)),g,x1,cons2(cons2(y_2,y_3),x3)) | → | app#(map_22(map_21(y_0),g),cons2(y_2,y_3)) | (111) |
map_34#(map_21(map_22(y_0,y_1)),g,x1,cons2(cons2(y_3,y_4),x3)) | → | app#(map_22(map_22(y_0,y_1),g),cons2(y_3,y_4)) | (112) |
map_34#(map_21(map_32(y_0,y_1)),g,x1,cons2(cons2(y_3,y_4),x3)) | → | app#(map_22(map_32(y_0,y_1),g),cons2(y_3,y_4)) | (113) |
map_34#(map_21(map_33(y_0,y_1,y_2)),g,x1,cons2(cons2(y_4,y_5),x3)) | → | app#(map_22(map_33(y_0,y_1,y_2),g),cons2(y_4,y_5)) | (114) |
map_34#(map_32(x0,g),g,x2,cons2(cons2(y_2,y_3),x4)) | → | app#(map_33(x0,g,g),cons2(y_2,y_3)) | (115) |
map_34#(map_32(map_1,g),g,x2,cons2(cons2(y_1,y_2),x4)) | → | app#(map_33(map_1,g,g),cons2(y_1,y_2)) | (116) |
map_34#(map_32(map_2,g),g,x2,cons2(cons2(y_1,y_2),x4)) | → | app#(map_33(map_2,g,g),cons2(y_1,y_2)) | (117) |
map_34#(map_32(map_21(y_0),g),g,x2,cons2(cons2(y_2,y_3),x4)) | → | app#(map_33(map_21(y_0),g,g),cons2(y_2,y_3)) | (118) |
map_34#(map_32(map_31(y_0),g),g,x2,cons2(cons2(y_2,y_3),x4)) | → | app#(map_33(map_31(y_0),g,g),cons2(y_2,y_3)) | (119) |
map_34#(map_32(map_32(y_0,y_1),g),g,x2,cons2(cons2(y_3,y_4),x4)) | → | app#(map_33(map_32(y_0,y_1),g,g),cons2(y_3,y_4)) | (120) |
map_23#(x0,x1,cons2(x2,cons2(y_2,y_3))) | → | map_23#(x0,x1,cons2(y_2,y_3)) | (121) |
map_23#(map_1,x1,cons2(x2,cons2(y_1,y_2))) | → | map_23#(map_1,x1,cons2(y_1,y_2)) | (122) |
map_23#(map_11(y_0),x1,cons2(x2,cons2(y_2,y_3))) | → | map_23#(map_11(y_0),x1,cons2(y_2,y_3)) | (123) |
map_23#(map_21(y_0),x1,cons2(x2,cons2(y_2,y_3))) | → | map_23#(map_21(y_0),x1,cons2(y_2,y_3)) | (124) |
map_23#(map_22(y_0,y_1),x1,cons2(x2,cons2(y_3,y_4))) | → | map_23#(map_22(y_0,y_1),x1,cons2(y_3,y_4)) | (125) |
map_23#(map_32(y_0,y_1),x1,cons2(x2,cons2(y_3,y_4))) | → | map_23#(map_32(y_0,y_1),x1,cons2(y_3,y_4)) | (126) |
map_23#(map_33(y_0,y_1,y_2),x1,cons2(x2,cons2(y_4,y_5))) | → | map_23#(map_33(y_0,y_1,y_2),x1,cons2(y_4,y_5)) | (127) |
map_23#(map_11(y_0),x1,cons2(x2,cons2(cons2(y_2,y_3),y_4))) | → | map_23#(map_11(y_0),x1,cons2(cons2(y_2,y_3),y_4)) | (128) |
map_23#(map_22(y_0,y_1),x1,cons2(x2,cons2(cons2(y_3,y_4),y_5))) | → | map_23#(map_22(y_0,y_1),x1,cons2(cons2(y_3,y_4),y_5)) | (129) |
map_23#(map_22(map_1,y_0),x1,cons2(x2,cons2(cons2(y_2,y_3),y_4))) | → | map_23#(map_22(map_1,y_0),x1,cons2(cons2(y_2,y_3),y_4)) | (130) |
map_23#(map_22(map_11(y_0),y_1),x1,cons2(x2,cons2(cons2(y_3,y_4),y_5))) | → | map_23#(map_22(map_11(y_0),y_1),x1,cons2(cons2(y_3,y_4),y_5)) | (131) |
map_23#(map_22(map_21(y_0),y_1),x1,cons2(x2,cons2(cons2(y_3,y_4),y_5))) | → | map_23#(map_22(map_21(y_0),y_1),x1,cons2(cons2(y_3,y_4),y_5)) | (132) |
map_23#(map_22(map_22(y_0,y_1),y_2),x1,cons2(x2,cons2(cons2(y_4,y_5),y_6))) | → | map_23#(map_22(map_22(y_0,y_1),y_2),x1,cons2(cons2(y_4,y_5),y_6)) | (133) |
map_23#(map_22(map_32(y_0,y_1),y_2),x1,cons2(x2,cons2(cons2(y_4,y_5),y_6))) | → | map_23#(map_22(map_32(y_0,y_1),y_2),x1,cons2(cons2(y_4,y_5),y_6)) | (134) |
map_23#(map_22(map_33(y_0,y_1,y_2),y_3),x1,cons2(x2,cons2(cons2(y_5,y_6),y_7))) | → | map_23#(map_22(map_33(y_0,y_1,y_2),y_3),x1,cons2(cons2(y_5,y_6),y_7)) | (135) |
map_23#(map_1,cons2(y_1,y_2),cons2(x1,x2)) | → | app#(map_11(x1),cons2(y_1,y_2)) | (136) |
map_23#(map_21(x0),cons2(y_2,y_3),cons2(x2,x3)) | → | app#(map_22(x0,x2),cons2(y_2,y_3)) | (137) |
map_23#(map_21(map_1),cons2(y_1,y_2),cons2(x2,x3)) | → | app#(map_22(map_1,x2),cons2(y_1,y_2)) | (138) |
map_23#(map_21(map_11(y_0)),cons2(y_2,y_3),cons2(x2,x3)) | → | app#(map_22(map_11(y_0),x2),cons2(y_2,y_3)) | (139) |
map_23#(map_21(map_21(y_0)),cons2(y_2,y_3),cons2(x2,x3)) | → | app#(map_22(map_21(y_0),x2),cons2(y_2,y_3)) | (140) |
map_23#(map_21(map_22(y_0,y_1)),cons2(y_3,y_4),cons2(x2,x3)) | → | app#(map_22(map_22(y_0,y_1),x2),cons2(y_3,y_4)) | (141) |
map_23#(map_21(map_32(y_0,y_1)),cons2(y_3,y_4),cons2(x2,x3)) | → | app#(map_22(map_32(y_0,y_1),x2),cons2(y_3,y_4)) | (142) |
map_23#(map_21(map_33(y_0,y_1,y_2)),cons2(y_4,y_5),cons2(x2,x3)) | → | app#(map_22(map_33(y_0,y_1,y_2),x2),cons2(y_4,y_5)) | (143) |
map_23#(map_32(x0,g),cons2(y_2,y_3),cons2(x3,x4)) | → | app#(map_33(x0,g,x3),cons2(y_2,y_3)) | (144) |
map_23#(map_32(map_1,g),cons2(y_1,y_2),cons2(x3,x4)) | → | app#(map_33(map_1,g,x3),cons2(y_1,y_2)) | (145) |
map_23#(map_32(map_2,g),cons2(y_1,y_2),cons2(x3,x4)) | → | app#(map_33(map_2,g,x3),cons2(y_1,y_2)) | (146) |
map_23#(map_32(map_21(y_0),g),cons2(y_2,y_3),cons2(x3,x4)) | → | app#(map_33(map_21(y_0),g,x3),cons2(y_2,y_3)) | (147) |
map_23#(map_32(map_31(y_0),g),cons2(y_2,y_3),cons2(x3,x4)) | → | app#(map_33(map_31(y_0),g,x3),cons2(y_2,y_3)) | (148) |
map_23#(map_32(map_32(y_0,y_1),g),cons2(y_3,y_4),cons2(x3,x4)) | → | app#(map_33(map_32(y_0,y_1),g,x3),cons2(y_3,y_4)) | (149) |
map_12#(x0,cons2(x1,cons2(y_1,y_2))) | → | map_12#(x0,cons2(y_1,y_2)) | (150) |
map_12#(map_22(y_0,y_1),cons2(x1,cons2(y_2,y_3))) | → | map_12#(map_22(y_0,y_1),cons2(y_2,y_3)) | (151) |
map_12#(map_33(y_0,y_1,y_2),cons2(x1,cons2(y_3,y_4))) | → | map_12#(map_33(y_0,y_1,y_2),cons2(y_3,y_4)) | (152) |
map_12#(map_11(y_0),cons2(x1,cons2(cons2(y_1,y_2),y_3))) | → | map_12#(map_11(y_0),cons2(cons2(y_1,y_2),y_3)) | (153) |
[app#(x1, x2)] | = | -2 + 2 · x1 |
[map_12(x1, x2)] | = | 0 |
[cons2(x1, x2)] | = | -2 + x2 |
[app(x1, x2)] | = | 0 |
[map_23(x1, x2, x3)] | = | -2 |
[map_34(x1,...,x4)] | = | -2 |
[g] | = | 2 |
[map_11(x1)] | = | 2 |
[map_1] | = | 0 |
[cons] | = | 2 |
[cons1(x1)] | = | 2 + 2 · x1 |
[map_2] | = | 0 |
[map_21(x1)] | = | 0 |
[map_22(x1, x2)] | = | 2 |
[map_3] | = | 2 |
[map_31(x1)] | = | 2 |
[map_32(x1, x2)] | = | 2 |
[map_33(x1, x2, x3)] | = | 2 |
[map_34#(x1,...,x4)] | = | -2 + 2 · x2 |
[map_23#(x1, x2, x3)] | = | 2 |
[map_12#(x1, x2)] | = | 2 |
map_12(f,cons2(h,t)) | → | cons2(app(f,h),map_12(f,t)) | (15) |
map_23(f,c,cons2(h,t)) | → | cons2(app(app(f,h),c),map_23(f,c,t)) | (16) |
map_34(f,g,c,cons2(h,t)) | → | cons2(app(app(app(f,g),h),c),map_34(f,g,c,t)) | (17) |
app(map_11(x0),y1) | → | map_12(x0,y1) | (5) |
app(map_22(x0,x1),y1) | → | map_23(x0,x1,y1) | (10) |
app(map_33(x0,x1,x2),y1) | → | map_34(x0,x1,x2,y1) | (14) |
map_34#(map_1,g,y1,cons2(y2,y3)) | → | app#(map_12(g,y2),y1) | (52) |
map_34#(map_21(x0),g,y1,cons2(y2,y3)) | → | app#(map_23(x0,g,y2),y1) | (54) |
map_34#(map_32(x0,x1),g,y1,cons2(y2,y3)) | → | app#(map_34(x0,x1,g,y2),y1) | (56) |
map_23#(map_11(x0),y1,cons2(x1,y3)) | → | app#(map_12(x0,x1),y1) | (31) |
map_23#(map_22(x0,x1),y1,cons2(x2,y3)) | → | app#(map_23(x0,x1,x2),y1) | (36) |
map_23#(map_33(x0,x1,x2),y1,cons2(x3,y3)) | → | app#(map_34(x0,x1,x2,x3),y1) | (40) |
We restrict the rewrite rules to the following usable rules of the DP problem.
There are no rules.
We restrict the innermost strategy to the following left hand sides.
There are no lhss.
prec(map_1) | = | 6 | weight(map_1) | = | 4 | ||||
prec(g) | = | 1 | weight(g) | = | 2 | ||||
prec(map_2) | = | 13 | weight(map_2) | = | 3 | ||||
prec(map_11) | = | 11 | weight(map_11) | = | 1 | ||||
prec(map_21) | = | 9 | weight(map_21) | = | 2 | ||||
prec(map_31) | = | 0 | weight(map_31) | = | 3 | ||||
prec(app#) | = | 3 | weight(app#) | = | 4 | ||||
prec(map_12#) | = | 5 | weight(map_12#) | = | 3 | ||||
prec(cons2) | = | 2 | weight(cons2) | = | 0 | ||||
prec(map_22) | = | 12 | weight(map_22) | = | 0 | ||||
prec(map_23#) | = | 7 | weight(map_23#) | = | 2 | ||||
prec(map_32) | = | 10 | weight(map_32) | = | 2 | ||||
prec(map_33) | = | 4 | weight(map_33) | = | 0 | ||||
prec(map_34#) | = | 8 | weight(map_34#) | = | 0 |
app#(map_11(x0),cons2(y_1,y_2)) | → | map_12#(x0,cons2(y_1,y_2)) | (68) |
map_12#(map_22(y_0,y_1),cons2(x1,x2)) | → | app#(map_22(y_0,y_1),x1) | (69) |
map_12#(map_33(y_0,y_1,y_2),cons2(x1,x2)) | → | app#(map_33(y_0,y_1,y_2),x1) | (70) |
map_12#(map_11(y_0),cons2(cons2(y_1,y_2),x2)) | → | app#(map_11(y_0),cons2(y_1,y_2)) | (71) |
app#(map_22(x0,x1),cons2(y_2,y_3)) | → | map_23#(x0,x1,cons2(y_2,y_3)) | (72) |
app#(map_22(map_1,x1),cons2(y_1,y_2)) | → | map_23#(map_1,x1,cons2(y_1,y_2)) | (73) |
app#(map_22(map_11(y_0),x1),cons2(y_2,y_3)) | → | map_23#(map_11(y_0),x1,cons2(y_2,y_3)) | (74) |
app#(map_22(map_21(y_0),x1),cons2(y_2,y_3)) | → | map_23#(map_21(y_0),x1,cons2(y_2,y_3)) | (75) |
app#(map_22(map_22(y_0,y_1),x1),cons2(y_3,y_4)) | → | map_23#(map_22(y_0,y_1),x1,cons2(y_3,y_4)) | (76) |
app#(map_22(map_32(y_0,y_1),x1),cons2(y_3,y_4)) | → | map_23#(map_32(y_0,y_1),x1,cons2(y_3,y_4)) | (77) |
app#(map_22(map_33(y_0,y_1,y_2),x1),cons2(y_4,y_5)) | → | map_23#(map_33(y_0,y_1,y_2),x1,cons2(y_4,y_5)) | (78) |
map_23#(map_33(y_0,y_1,y_2),x1,cons2(x2,x3)) | → | app#(map_33(y_0,y_1,y_2),x2) | (79) |
map_23#(map_11(y_0),x1,cons2(cons2(y_1,y_2),x3)) | → | app#(map_11(y_0),cons2(y_1,y_2)) | (80) |
map_23#(map_22(y_0,y_1),x1,cons2(cons2(y_2,y_3),x3)) | → | app#(map_22(y_0,y_1),cons2(y_2,y_3)) | (81) |
map_23#(map_22(map_1,y_0),x1,cons2(cons2(y_1,y_2),x3)) | → | app#(map_22(map_1,y_0),cons2(y_1,y_2)) | (82) |
map_23#(map_22(map_11(y_0),y_1),x1,cons2(cons2(y_2,y_3),x3)) | → | app#(map_22(map_11(y_0),y_1),cons2(y_2,y_3)) | (83) |
map_23#(map_22(map_21(y_0),y_1),x1,cons2(cons2(y_2,y_3),x3)) | → | app#(map_22(map_21(y_0),y_1),cons2(y_2,y_3)) | (84) |
map_23#(map_22(map_22(y_0,y_1),y_2),x1,cons2(cons2(y_3,y_4),x3)) | → | app#(map_22(map_22(y_0,y_1),y_2),cons2(y_3,y_4)) | (85) |
map_23#(map_22(map_32(y_0,y_1),y_2),x1,cons2(cons2(y_3,y_4),x3)) | → | app#(map_22(map_32(y_0,y_1),y_2),cons2(y_3,y_4)) | (86) |
map_23#(map_22(map_33(y_0,y_1,y_2),y_3),x1,cons2(cons2(y_4,y_5),x3)) | → | app#(map_22(map_33(y_0,y_1,y_2),y_3),cons2(y_4,y_5)) | (87) |
app#(map_33(x0,g,x2),cons2(y_2,y_3)) | → | map_34#(x0,g,x2,cons2(y_2,y_3)) | (88) |
app#(map_33(map_1,g,x2),cons2(y_1,y_2)) | → | map_34#(map_1,g,x2,cons2(y_1,y_2)) | (89) |
app#(map_33(map_2,g,x2),cons2(y_1,y_2)) | → | map_34#(map_2,g,x2,cons2(y_1,y_2)) | (90) |
app#(map_33(map_21(y_0),g,x2),cons2(y_2,y_3)) | → | map_34#(map_21(y_0),g,x2,cons2(y_2,y_3)) | (91) |
app#(map_33(map_31(y_0),g,x2),cons2(y_2,y_3)) | → | map_34#(map_31(y_0),g,x2,cons2(y_2,y_3)) | (92) |
app#(map_33(map_32(y_0,y_1),g,x2),cons2(y_3,y_4)) | → | map_34#(map_32(y_0,y_1),g,x2,cons2(y_3,y_4)) | (93) |
map_34#(x0,g,x1,cons2(x2,cons2(y_2,y_3))) | → | map_34#(x0,g,x1,cons2(y_2,y_3)) | (94) |
map_34#(map_1,g,x1,cons2(x2,cons2(y_1,y_2))) | → | map_34#(map_1,g,x1,cons2(y_1,y_2)) | (95) |
map_34#(map_2,g,x1,cons2(x2,cons2(y_1,y_2))) | → | map_34#(map_2,g,x1,cons2(y_1,y_2)) | (96) |
map_34#(map_21(y_0),g,x1,cons2(x2,cons2(y_2,y_3))) | → | map_34#(map_21(y_0),g,x1,cons2(y_2,y_3)) | (97) |
map_34#(map_31(y_0),g,x1,cons2(x2,cons2(y_2,y_3))) | → | map_34#(map_31(y_0),g,x1,cons2(y_2,y_3)) | (98) |
map_34#(map_32(y_0,y_1),g,x1,cons2(x2,cons2(y_3,y_4))) | → | map_34#(map_32(y_0,y_1),g,x1,cons2(y_3,y_4)) | (99) |
map_34#(map_2,g,cons2(y_2,y_3),cons2(x1,x2)) | → | app#(map_22(g,x1),cons2(y_2,y_3)) | (100) |
map_34#(map_31(x0),g,cons2(y_2,y_3),cons2(x2,x3)) | → | app#(map_33(x0,g,x2),cons2(y_2,y_3)) | (101) |
map_34#(map_31(map_1),g,cons2(y_1,y_2),cons2(x2,x3)) | → | app#(map_33(map_1,g,x2),cons2(y_1,y_2)) | (102) |
map_34#(map_31(map_2),g,cons2(y_1,y_2),cons2(x2,x3)) | → | app#(map_33(map_2,g,x2),cons2(y_1,y_2)) | (103) |
map_34#(map_31(map_21(y_0)),g,cons2(y_2,y_3),cons2(x2,x3)) | → | app#(map_33(map_21(y_0),g,x2),cons2(y_2,y_3)) | (104) |
map_34#(map_31(map_31(y_0)),g,cons2(y_2,y_3),cons2(x2,x3)) | → | app#(map_33(map_31(y_0),g,x2),cons2(y_2,y_3)) | (105) |
map_34#(map_31(map_32(y_0,y_1)),g,cons2(y_3,y_4),cons2(x2,x3)) | → | app#(map_33(map_32(y_0,y_1),g,x2),cons2(y_3,y_4)) | (106) |
map_34#(map_1,g,x0,cons2(cons2(y_1,y_2),x2)) | → | app#(map_11(g),cons2(y_1,y_2)) | (107) |
map_34#(map_21(x0),g,x1,cons2(cons2(y_2,y_3),x3)) | → | app#(map_22(x0,g),cons2(y_2,y_3)) | (108) |
map_34#(map_21(map_1),g,x1,cons2(cons2(y_1,y_2),x3)) | → | app#(map_22(map_1,g),cons2(y_1,y_2)) | (109) |
map_34#(map_21(map_11(y_0)),g,x1,cons2(cons2(y_2,y_3),x3)) | → | app#(map_22(map_11(y_0),g),cons2(y_2,y_3)) | (110) |
map_34#(map_21(map_21(y_0)),g,x1,cons2(cons2(y_2,y_3),x3)) | → | app#(map_22(map_21(y_0),g),cons2(y_2,y_3)) | (111) |
map_34#(map_21(map_22(y_0,y_1)),g,x1,cons2(cons2(y_3,y_4),x3)) | → | app#(map_22(map_22(y_0,y_1),g),cons2(y_3,y_4)) | (112) |
map_34#(map_21(map_32(y_0,y_1)),g,x1,cons2(cons2(y_3,y_4),x3)) | → | app#(map_22(map_32(y_0,y_1),g),cons2(y_3,y_4)) | (113) |
map_34#(map_21(map_33(y_0,y_1,y_2)),g,x1,cons2(cons2(y_4,y_5),x3)) | → | app#(map_22(map_33(y_0,y_1,y_2),g),cons2(y_4,y_5)) | (114) |
map_34#(map_32(x0,g),g,x2,cons2(cons2(y_2,y_3),x4)) | → | app#(map_33(x0,g,g),cons2(y_2,y_3)) | (115) |
map_34#(map_32(map_1,g),g,x2,cons2(cons2(y_1,y_2),x4)) | → | app#(map_33(map_1,g,g),cons2(y_1,y_2)) | (116) |
map_34#(map_32(map_2,g),g,x2,cons2(cons2(y_1,y_2),x4)) | → | app#(map_33(map_2,g,g),cons2(y_1,y_2)) | (117) |
map_34#(map_32(map_21(y_0),g),g,x2,cons2(cons2(y_2,y_3),x4)) | → | app#(map_33(map_21(y_0),g,g),cons2(y_2,y_3)) | (118) |
map_34#(map_32(map_31(y_0),g),g,x2,cons2(cons2(y_2,y_3),x4)) | → | app#(map_33(map_31(y_0),g,g),cons2(y_2,y_3)) | (119) |
map_34#(map_32(map_32(y_0,y_1),g),g,x2,cons2(cons2(y_3,y_4),x4)) | → | app#(map_33(map_32(y_0,y_1),g,g),cons2(y_3,y_4)) | (120) |
map_23#(x0,x1,cons2(x2,cons2(y_2,y_3))) | → | map_23#(x0,x1,cons2(y_2,y_3)) | (121) |
map_23#(map_1,x1,cons2(x2,cons2(y_1,y_2))) | → | map_23#(map_1,x1,cons2(y_1,y_2)) | (122) |
map_23#(map_11(y_0),x1,cons2(x2,cons2(y_2,y_3))) | → | map_23#(map_11(y_0),x1,cons2(y_2,y_3)) | (123) |
map_23#(map_21(y_0),x1,cons2(x2,cons2(y_2,y_3))) | → | map_23#(map_21(y_0),x1,cons2(y_2,y_3)) | (124) |
map_23#(map_22(y_0,y_1),x1,cons2(x2,cons2(y_3,y_4))) | → | map_23#(map_22(y_0,y_1),x1,cons2(y_3,y_4)) | (125) |
map_23#(map_32(y_0,y_1),x1,cons2(x2,cons2(y_3,y_4))) | → | map_23#(map_32(y_0,y_1),x1,cons2(y_3,y_4)) | (126) |
map_23#(map_33(y_0,y_1,y_2),x1,cons2(x2,cons2(y_4,y_5))) | → | map_23#(map_33(y_0,y_1,y_2),x1,cons2(y_4,y_5)) | (127) |
map_23#(map_11(y_0),x1,cons2(x2,cons2(cons2(y_2,y_3),y_4))) | → | map_23#(map_11(y_0),x1,cons2(cons2(y_2,y_3),y_4)) | (128) |
map_23#(map_22(y_0,y_1),x1,cons2(x2,cons2(cons2(y_3,y_4),y_5))) | → | map_23#(map_22(y_0,y_1),x1,cons2(cons2(y_3,y_4),y_5)) | (129) |
map_23#(map_22(map_1,y_0),x1,cons2(x2,cons2(cons2(y_2,y_3),y_4))) | → | map_23#(map_22(map_1,y_0),x1,cons2(cons2(y_2,y_3),y_4)) | (130) |
map_23#(map_22(map_11(y_0),y_1),x1,cons2(x2,cons2(cons2(y_3,y_4),y_5))) | → | map_23#(map_22(map_11(y_0),y_1),x1,cons2(cons2(y_3,y_4),y_5)) | (131) |
map_23#(map_22(map_21(y_0),y_1),x1,cons2(x2,cons2(cons2(y_3,y_4),y_5))) | → | map_23#(map_22(map_21(y_0),y_1),x1,cons2(cons2(y_3,y_4),y_5)) | (132) |
map_23#(map_22(map_22(y_0,y_1),y_2),x1,cons2(x2,cons2(cons2(y_4,y_5),y_6))) | → | map_23#(map_22(map_22(y_0,y_1),y_2),x1,cons2(cons2(y_4,y_5),y_6)) | (133) |
map_23#(map_22(map_32(y_0,y_1),y_2),x1,cons2(x2,cons2(cons2(y_4,y_5),y_6))) | → | map_23#(map_22(map_32(y_0,y_1),y_2),x1,cons2(cons2(y_4,y_5),y_6)) | (134) |
map_23#(map_22(map_33(y_0,y_1,y_2),y_3),x1,cons2(x2,cons2(cons2(y_5,y_6),y_7))) | → | map_23#(map_22(map_33(y_0,y_1,y_2),y_3),x1,cons2(cons2(y_5,y_6),y_7)) | (135) |
map_23#(map_1,cons2(y_1,y_2),cons2(x1,x2)) | → | app#(map_11(x1),cons2(y_1,y_2)) | (136) |
map_23#(map_21(x0),cons2(y_2,y_3),cons2(x2,x3)) | → | app#(map_22(x0,x2),cons2(y_2,y_3)) | (137) |
map_23#(map_21(map_1),cons2(y_1,y_2),cons2(x2,x3)) | → | app#(map_22(map_1,x2),cons2(y_1,y_2)) | (138) |
map_23#(map_21(map_11(y_0)),cons2(y_2,y_3),cons2(x2,x3)) | → | app#(map_22(map_11(y_0),x2),cons2(y_2,y_3)) | (139) |
map_23#(map_21(map_21(y_0)),cons2(y_2,y_3),cons2(x2,x3)) | → | app#(map_22(map_21(y_0),x2),cons2(y_2,y_3)) | (140) |
map_23#(map_21(map_22(y_0,y_1)),cons2(y_3,y_4),cons2(x2,x3)) | → | app#(map_22(map_22(y_0,y_1),x2),cons2(y_3,y_4)) | (141) |
map_23#(map_21(map_32(y_0,y_1)),cons2(y_3,y_4),cons2(x2,x3)) | → | app#(map_22(map_32(y_0,y_1),x2),cons2(y_3,y_4)) | (142) |
map_23#(map_21(map_33(y_0,y_1,y_2)),cons2(y_4,y_5),cons2(x2,x3)) | → | app#(map_22(map_33(y_0,y_1,y_2),x2),cons2(y_4,y_5)) | (143) |
map_23#(map_32(x0,g),cons2(y_2,y_3),cons2(x3,x4)) | → | app#(map_33(x0,g,x3),cons2(y_2,y_3)) | (144) |
map_23#(map_32(map_1,g),cons2(y_1,y_2),cons2(x3,x4)) | → | app#(map_33(map_1,g,x3),cons2(y_1,y_2)) | (145) |
map_23#(map_32(map_2,g),cons2(y_1,y_2),cons2(x3,x4)) | → | app#(map_33(map_2,g,x3),cons2(y_1,y_2)) | (146) |
map_23#(map_32(map_21(y_0),g),cons2(y_2,y_3),cons2(x3,x4)) | → | app#(map_33(map_21(y_0),g,x3),cons2(y_2,y_3)) | (147) |
map_23#(map_32(map_31(y_0),g),cons2(y_2,y_3),cons2(x3,x4)) | → | app#(map_33(map_31(y_0),g,x3),cons2(y_2,y_3)) | (148) |
map_23#(map_32(map_32(y_0,y_1),g),cons2(y_3,y_4),cons2(x3,x4)) | → | app#(map_33(map_32(y_0,y_1),g,x3),cons2(y_3,y_4)) | (149) |
map_12#(x0,cons2(x1,cons2(y_1,y_2))) | → | map_12#(x0,cons2(y_1,y_2)) | (150) |
map_12#(map_22(y_0,y_1),cons2(x1,cons2(y_2,y_3))) | → | map_12#(map_22(y_0,y_1),cons2(y_2,y_3)) | (151) |
map_12#(map_33(y_0,y_1,y_2),cons2(x1,cons2(y_3,y_4))) | → | map_12#(map_33(y_0,y_1,y_2),cons2(y_3,y_4)) | (152) |
map_12#(map_11(y_0),cons2(x1,cons2(cons2(y_1,y_2),y_3))) | → | map_12#(map_11(y_0),cons2(cons2(y_1,y_2),y_3)) | (153) |
map_12(f,cons2(h,t)) | → | cons2(app(f,h),map_12(f,t)) | (15) |
map_23(f,c,cons2(h,t)) | → | cons2(app(app(f,h),c),map_23(f,c,t)) | (16) |
map_34(f,g,c,cons2(h,t)) | → | cons2(app(app(app(f,g),h),c),map_34(f,g,c,t)) | (17) |
app(map_1,y1) | → | map_11(y1) | (4) |
app(map_11(x0),y1) | → | map_12(x0,y1) | (5) |
app(cons,y1) | → | cons1(y1) | (6) |
app(cons1(x0),y1) | → | cons2(x0,y1) | (7) |
app(map_2,y1) | → | map_21(y1) | (8) |
app(map_21(x0),y1) | → | map_22(x0,y1) | (9) |
app(map_22(x0,x1),y1) | → | map_23(x0,x1,y1) | (10) |
app(map_3,y1) | → | map_31(y1) | (11) |
app(map_31(x0),y1) | → | map_32(x0,y1) | (12) |
app(map_32(x0,x1),y1) | → | map_33(x0,x1,y1) | (13) |
app(map_33(x0,x1,x2),y1) | → | map_34(x0,x1,x2,y1) | (14) |
There are no pairs anymore.