The rewrite relation of the following TRS is considered.
a(a(a(x1))) | → | a(b(b(b(x1)))) | (1) |
b(b(a(b(x1)))) | → | a(a(a(x1))) | (2) |
{a(☐), b(☐)}
We obtain the transformed TRSa(a(a(x1))) | → | a(b(b(b(x1)))) | (1) |
a(b(b(a(b(x1))))) | → | a(a(a(a(x1)))) | (3) |
b(b(b(a(b(x1))))) | → | b(a(a(a(x1)))) | (4) |
Root-labeling is applied.
We obtain the labeled TRSaa(aa(aa(x1))) | → | ab(bb(bb(ba(x1)))) | (5) |
aa(aa(ab(x1))) | → | ab(bb(bb(bb(x1)))) | (6) |
ab(bb(ba(ab(ba(x1))))) | → | aa(aa(aa(aa(x1)))) | (7) |
ab(bb(ba(ab(bb(x1))))) | → | aa(aa(aa(ab(x1)))) | (8) |
bb(bb(ba(ab(ba(x1))))) | → | ba(aa(aa(aa(x1)))) | (9) |
bb(bb(ba(ab(bb(x1))))) | → | ba(aa(aa(ab(x1)))) | (10) |
aa#(aa(aa(x1))) | → | ab#(bb(bb(ba(x1)))) | (11) |
aa#(aa(aa(x1))) | → | bb#(bb(ba(x1))) | (12) |
aa#(aa(aa(x1))) | → | bb#(ba(x1)) | (13) |
aa#(aa(ab(x1))) | → | ab#(bb(bb(bb(x1)))) | (14) |
aa#(aa(ab(x1))) | → | bb#(bb(bb(x1))) | (15) |
aa#(aa(ab(x1))) | → | bb#(bb(x1)) | (16) |
aa#(aa(ab(x1))) | → | bb#(x1) | (17) |
ab#(bb(ba(ab(ba(x1))))) | → | aa#(aa(aa(aa(x1)))) | (18) |
ab#(bb(ba(ab(ba(x1))))) | → | aa#(aa(aa(x1))) | (19) |
ab#(bb(ba(ab(ba(x1))))) | → | aa#(aa(x1)) | (20) |
ab#(bb(ba(ab(ba(x1))))) | → | aa#(x1) | (21) |
ab#(bb(ba(ab(bb(x1))))) | → | aa#(aa(aa(ab(x1)))) | (22) |
ab#(bb(ba(ab(bb(x1))))) | → | aa#(aa(ab(x1))) | (23) |
ab#(bb(ba(ab(bb(x1))))) | → | aa#(ab(x1)) | (24) |
ab#(bb(ba(ab(bb(x1))))) | → | ab#(x1) | (25) |
bb#(bb(ba(ab(ba(x1))))) | → | aa#(aa(aa(x1))) | (26) |
bb#(bb(ba(ab(ba(x1))))) | → | aa#(aa(x1)) | (27) |
bb#(bb(ba(ab(ba(x1))))) | → | aa#(x1) | (28) |
bb#(bb(ba(ab(bb(x1))))) | → | aa#(aa(ab(x1))) | (29) |
bb#(bb(ba(ab(bb(x1))))) | → | aa#(ab(x1)) | (30) |
bb#(bb(ba(ab(bb(x1))))) | → | ab#(x1) | (31) |
The dependency pairs are split into 1 component.
ab#(bb(ba(ab(ba(x1))))) | → | aa#(aa(aa(aa(x1)))) | (18) |
aa#(aa(aa(x1))) | → | ab#(bb(bb(ba(x1)))) | (11) |
ab#(bb(ba(ab(ba(x1))))) | → | aa#(aa(aa(x1))) | (19) |
aa#(aa(aa(x1))) | → | bb#(bb(ba(x1))) | (12) |
bb#(bb(ba(ab(ba(x1))))) | → | aa#(aa(aa(x1))) | (26) |
aa#(aa(ab(x1))) | → | ab#(bb(bb(bb(x1)))) | (14) |
ab#(bb(ba(ab(ba(x1))))) | → | aa#(aa(x1)) | (20) |
aa#(aa(ab(x1))) | → | bb#(bb(bb(x1))) | (15) |
bb#(bb(ba(ab(ba(x1))))) | → | aa#(aa(x1)) | (27) |
aa#(aa(ab(x1))) | → | bb#(bb(x1)) | (16) |
bb#(bb(ba(ab(ba(x1))))) | → | aa#(x1) | (28) |
aa#(aa(ab(x1))) | → | bb#(x1) | (17) |
bb#(bb(ba(ab(bb(x1))))) | → | aa#(aa(ab(x1))) | (29) |
bb#(bb(ba(ab(bb(x1))))) | → | aa#(ab(x1)) | (30) |
bb#(bb(ba(ab(bb(x1))))) | → | ab#(x1) | (31) |
ab#(bb(ba(ab(ba(x1))))) | → | aa#(x1) | (21) |
ab#(bb(ba(ab(bb(x1))))) | → | aa#(aa(aa(ab(x1)))) | (22) |
ab#(bb(ba(ab(bb(x1))))) | → | aa#(aa(ab(x1))) | (23) |
ab#(bb(ba(ab(bb(x1))))) | → | aa#(ab(x1)) | (24) |
ab#(bb(ba(ab(bb(x1))))) | → | ab#(x1) | (25) |
[ab#(x1)] | = | 2 + 2 · x1 |
[bb(x1)] | = | 2 + 1 · x1 |
[ba(x1)] | = | 2 + 1 · x1 |
[ab(x1)] | = | 3 + 1 · x1 |
[aa#(x1)] | = | 2 + 2 · x1 |
[aa(x1)] | = | 3 + 1 · x1 |
[bb#(x1)] | = | 2 · x1 |
ab#(bb(ba(ab(ba(x1))))) | → | aa#(aa(aa(x1))) | (19) |
aa#(aa(aa(x1))) | → | bb#(bb(ba(x1))) | (12) |
bb#(bb(ba(ab(ba(x1))))) | → | aa#(aa(aa(x1))) | (26) |
ab#(bb(ba(ab(ba(x1))))) | → | aa#(aa(x1)) | (20) |
aa#(aa(ab(x1))) | → | bb#(bb(bb(x1))) | (15) |
bb#(bb(ba(ab(ba(x1))))) | → | aa#(aa(x1)) | (27) |
aa#(aa(ab(x1))) | → | bb#(bb(x1)) | (16) |
bb#(bb(ba(ab(ba(x1))))) | → | aa#(x1) | (28) |
aa#(aa(ab(x1))) | → | bb#(x1) | (17) |
bb#(bb(ba(ab(bb(x1))))) | → | aa#(aa(ab(x1))) | (29) |
bb#(bb(ba(ab(bb(x1))))) | → | aa#(ab(x1)) | (30) |
bb#(bb(ba(ab(bb(x1))))) | → | ab#(x1) | (31) |
ab#(bb(ba(ab(ba(x1))))) | → | aa#(x1) | (21) |
ab#(bb(ba(ab(bb(x1))))) | → | aa#(aa(ab(x1))) | (23) |
ab#(bb(ba(ab(bb(x1))))) | → | aa#(ab(x1)) | (24) |
ab#(bb(ba(ab(bb(x1))))) | → | ab#(x1) | (25) |
[ab#(x1)] | = |
|
||||||||||||||||||
[bb(x1)] | = |
|
||||||||||||||||||
[ba(x1)] | = |
|
||||||||||||||||||
[ab(x1)] | = |
|
||||||||||||||||||
[aa#(x1)] | = |
|
||||||||||||||||||
[aa(x1)] | = |
|
aa#(aa(ab(x1))) | → | ab#(bb(bb(bb(x1)))) | (14) |
[ab#(x1)] | = |
|
||||||||||||||||||
[bb(x1)] | = |
|
||||||||||||||||||
[ba(x1)] | = |
|
||||||||||||||||||
[ab(x1)] | = |
|
||||||||||||||||||
[aa#(x1)] | = |
|
||||||||||||||||||
[aa(x1)] | = |
|
bb(bb(ba(ab(ba(x1))))) | → | ba(aa(aa(aa(x1)))) | (9) |
bb(bb(ba(ab(bb(x1))))) | → | ba(aa(aa(ab(x1)))) | (10) |
aa#(aa(aa(x1))) | → | ab#(bb(bb(ba(x1)))) | (11) |
The dependency pairs are split into 0 components.