The rewrite relation of the following TRS is considered.
admit(x,nil) | → | nil | (1) |
admit(x,.(u,.(v,.(w,z)))) | → | cond(=(sum(x,u,v),w),.(u,.(v,.(w,admit(carry(x,u,v),z))))) | (2) |
cond(true,y) | → | y | (3) |
admit#(x,.(u,.(v,.(w,z)))) | → | admit#(carry(x,u,v),z) | (4) |
admit#(x,.(u,.(v,.(w,z)))) | → | cond#(=(sum(x,u,v),w),.(u,.(v,.(w,admit(carry(x,u,v),z))))) | (5) |
The dependency pairs are split into 1 component.
admit#(x,.(u,.(v,.(w,z)))) | → | admit#(carry(x,u,v),z) | (4) |
[admit(x1, x2)] | = | 0 |
[w] | = | 1 |
[true] | = | 0 |
[sum(x1, x2, x3)] | = | 0 |
[cond#(x1, x2)] | = | 0 |
[=(x1, x2)] | = | 0 |
[nil] | = | 0 |
[.(x1, x2)] | = | x2 + 23676 |
[admit#(x1, x2)] | = | x1 + x2 + 0 |
[carry(x1, x2, x3)] | = | 1 |
[cond(x1, x2)] | = | 0 |
admit#(x,.(u,.(v,.(w,z)))) | → | admit#(carry(x,u,v),z) | (4) |
The dependency pairs are split into 0 components.