The rewrite relation of the following TRS is considered.
a(lambda(x),y) | → | lambda(a(x,p(1,a(y,t)))) | (1) |
a(p(x,y),z) | → | p(a(x,z),a(y,z)) | (2) |
a(a(x,y),z) | → | a(x,a(y,z)) | (3) |
lambda(x) | → | x | (4) |
a(x,y) | → | x | (5) |
a(x,y) | → | y | (6) |
p(x,y) | → | x | (7) |
p(x,y) | → | y | (8) |
a#(p(x,y),z) | → | a#(x,z) | (9) |
a#(lambda(x),y) | → | lambda#(a(x,p(1,a(y,t)))) | (10) |
a#(lambda(x),y) | → | a#(y,t) | (11) |
a#(lambda(x),y) | → | a#(x,p(1,a(y,t))) | (12) |
a#(a(x,y),z) | → | a#(y,z) | (13) |
a#(p(x,y),z) | → | a#(y,z) | (14) |
a#(p(x,y),z) | → | p#(a(x,z),a(y,z)) | (15) |
a#(lambda(x),y) | → | p#(1,a(y,t)) | (16) |
a#(a(x,y),z) | → | a#(x,a(y,z)) | (17) |
The dependency pairs are split into 1 component.
a#(a(x,y),z) | → | a#(x,a(y,z)) | (17) |
a#(p(x,y),z) | → | a#(y,z) | (14) |
a#(lambda(x),y) | → | a#(y,t) | (11) |
a#(a(x,y),z) | → | a#(y,z) | (13) |
a#(lambda(x),y) | → | a#(x,p(1,a(y,t))) | (12) |
a#(p(x,y),z) | → | a#(x,z) | (9) |
[a(x1, x2)] | = | x1 + x2 + 0 |
[1] | = | 0 |
[lambda#(x1)] | = | 0 |
[t] | = | 0 |
[lambda(x1)] | = | x1 + 1 |
[p#(x1, x2)] | = | max(0) |
[p(x1, x2)] | = | max(x1 + 0, x2 + 0, 0) |
[a#(x1, x2)] | = | x1 + x2 + 0 |
lambda(x) | → | x | (4) |
p(x,y) | → | y | (8) |
a(lambda(x),y) | → | lambda(a(x,p(1,a(y,t)))) | (1) |
a(a(x,y),z) | → | a(x,a(y,z)) | (3) |
a(x,y) | → | x | (5) |
p(x,y) | → | x | (7) |
a(x,y) | → | y | (6) |
a(p(x,y),z) | → | p(a(x,z),a(y,z)) | (2) |
a#(lambda(x),y) | → | a#(y,t) | (11) |
a#(lambda(x),y) | → | a#(x,p(1,a(y,t))) | (12) |
The dependency pairs are split into 1 component.
a#(a(x,y),z) | → | a#(y,z) | (13) |
a#(a(x,y),z) | → | a#(x,a(y,z)) | (17) |
a#(p(x,y),z) | → | a#(y,z) | (14) |
a#(p(x,y),z) | → | a#(x,z) | (9) |
[a(x1, x2)] | = | x1 + x2 + 1 |
[1] | = | 16085 |
[lambda#(x1)] | = | 0 |
[t] | = | 33036 |
[lambda(x1)] | = | x1 + 34723 |
[p#(x1, x2)] | = | 0 |
[p(x1, x2)] | = | x1 + x2 + 8856 |
[a#(x1, x2)] | = | x1 + 0 |
a#(a(x,y),z) | → | a#(y,z) | (13) |
a#(a(x,y),z) | → | a#(x,a(y,z)) | (17) |
a#(p(x,y),z) | → | a#(y,z) | (14) |
a#(p(x,y),z) | → | a#(x,z) | (9) |
The dependency pairs are split into 0 components.