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