The rewrite relation of the following TRS is considered.
b(a(b(b(a(b(a(x1))))))) | → | a(b(a(a(b(b(a(b(b(a(x1)))))))))) | (1) |
a(b(a(b(b(a(b(x1))))))) | → | a(b(b(a(b(b(a(a(b(a(x1)))))))))) | (2) |
Root-labeling is applied.
We obtain the labeled TRSab(ba(ab(bb(ba(ab(ba(x1))))))) | → | ab(bb(ba(ab(bb(ba(aa(ab(ba(aa(x1)))))))))) | (3) |
ab(ba(ab(bb(ba(ab(bb(x1))))))) | → | ab(bb(ba(ab(bb(ba(aa(ab(ba(ab(x1)))))))))) | (4) |
ab#(ba(ab(bb(ba(ab(ba(x1))))))) | → | ab#(bb(ba(ab(bb(ba(aa(ab(ba(aa(x1)))))))))) | (5) |
ab#(ba(ab(bb(ba(ab(ba(x1))))))) | → | ab#(bb(ba(aa(ab(ba(aa(x1))))))) | (6) |
ab#(ba(ab(bb(ba(ab(ba(x1))))))) | → | ab#(ba(aa(x1))) | (7) |
ab#(ba(ab(bb(ba(ab(bb(x1))))))) | → | ab#(bb(ba(ab(bb(ba(aa(ab(ba(ab(x1)))))))))) | (8) |
ab#(ba(ab(bb(ba(ab(bb(x1))))))) | → | ab#(bb(ba(aa(ab(ba(ab(x1))))))) | (9) |
ab#(ba(ab(bb(ba(ab(bb(x1))))))) | → | ab#(ba(ab(x1))) | (10) |
ab#(ba(ab(bb(ba(ab(bb(x1))))))) | → | ab#(x1) | (11) |
The dependency pairs are split into 1 component.
ab#(ba(ab(bb(ba(ab(bb(x1))))))) | → | ab#(x1) | (11) |
ab#(ba(ab(bb(ba(ab(bb(x1))))))) | → | ab#(ba(ab(x1))) | (10) |
[ab#(x1)] | = | 1 · x1 |
[ba(x1)] | = | 1 · x1 |
[ab(x1)] | = | 1 + 1 · x1 |
[bb(x1)] | = | 1 · x1 |
[aa(x1)] | = | 0 |
ab#(ba(ab(bb(ba(ab(bb(x1))))))) | → | ab#(x1) | (11) |
ab#(ba(ab(bb(ba(ab(bb(x1))))))) | → | ab#(ba(ab(x1))) | (10) |
There are no pairs anymore.