The rewrite relation of the following TRS is considered.
a(a(b(a(x1)))) | → | a(a(b(b(x1)))) | (1) |
b(b(b(b(x1)))) | → | b(a(b(a(x1)))) | (2) |
a(b(a(a(x1)))) | → | a(a(a(b(x1)))) | (3) |
b(a(b(b(x1)))) | → | a(b(a(a(x1)))) | (4) |
{a(☐), b(☐)}
We obtain the transformed TRSa(a(b(a(x1)))) | → | a(a(b(b(x1)))) | (1) |
b(b(b(b(x1)))) | → | b(a(b(a(x1)))) | (2) |
a(b(a(a(x1)))) | → | a(a(a(b(x1)))) | (3) |
a(b(a(b(b(x1))))) | → | a(a(b(a(a(x1))))) | (5) |
b(b(a(b(b(x1))))) | → | b(a(b(a(a(x1))))) | (6) |
Root-labeling is applied.
We obtain the labeled TRSaa(ab(ba(aa(x1)))) | → | aa(ab(bb(ba(x1)))) | (7) |
aa(ab(ba(ab(x1)))) | → | aa(ab(bb(bb(x1)))) | (8) |
bb(bb(bb(ba(x1)))) | → | ba(ab(ba(aa(x1)))) | (9) |
bb(bb(bb(bb(x1)))) | → | ba(ab(ba(ab(x1)))) | (10) |
ab(ba(aa(aa(x1)))) | → | aa(aa(ab(ba(x1)))) | (11) |
ab(ba(aa(ab(x1)))) | → | aa(aa(ab(bb(x1)))) | (12) |
ab(ba(ab(bb(ba(x1))))) | → | aa(ab(ba(aa(aa(x1))))) | (13) |
ab(ba(ab(bb(bb(x1))))) | → | aa(ab(ba(aa(ab(x1))))) | (14) |
bb(ba(ab(bb(ba(x1))))) | → | ba(ab(ba(aa(aa(x1))))) | (15) |
bb(ba(ab(bb(bb(x1))))) | → | ba(ab(ba(aa(ab(x1))))) | (16) |
aa#(ab(ba(aa(x1)))) | → | aa#(ab(bb(ba(x1)))) | (17) |
aa#(ab(ba(aa(x1)))) | → | ab#(bb(ba(x1))) | (18) |
aa#(ab(ba(aa(x1)))) | → | bb#(ba(x1)) | (19) |
aa#(ab(ba(ab(x1)))) | → | aa#(ab(bb(bb(x1)))) | (20) |
aa#(ab(ba(ab(x1)))) | → | ab#(bb(bb(x1))) | (21) |
aa#(ab(ba(ab(x1)))) | → | bb#(bb(x1)) | (22) |
aa#(ab(ba(ab(x1)))) | → | bb#(x1) | (23) |
bb#(bb(bb(ba(x1)))) | → | ab#(ba(aa(x1))) | (24) |
bb#(bb(bb(ba(x1)))) | → | aa#(x1) | (25) |
bb#(bb(bb(bb(x1)))) | → | ab#(ba(ab(x1))) | (26) |
bb#(bb(bb(bb(x1)))) | → | ab#(x1) | (27) |
ab#(ba(aa(aa(x1)))) | → | aa#(aa(ab(ba(x1)))) | (28) |
ab#(ba(aa(aa(x1)))) | → | aa#(ab(ba(x1))) | (29) |
ab#(ba(aa(aa(x1)))) | → | ab#(ba(x1)) | (30) |
ab#(ba(aa(ab(x1)))) | → | aa#(aa(ab(bb(x1)))) | (31) |
ab#(ba(aa(ab(x1)))) | → | aa#(ab(bb(x1))) | (32) |
ab#(ba(aa(ab(x1)))) | → | ab#(bb(x1)) | (33) |
ab#(ba(aa(ab(x1)))) | → | bb#(x1) | (34) |
ab#(ba(ab(bb(ba(x1))))) | → | aa#(ab(ba(aa(aa(x1))))) | (35) |
ab#(ba(ab(bb(ba(x1))))) | → | ab#(ba(aa(aa(x1)))) | (36) |
ab#(ba(ab(bb(ba(x1))))) | → | aa#(aa(x1)) | (37) |
ab#(ba(ab(bb(ba(x1))))) | → | aa#(x1) | (38) |
ab#(ba(ab(bb(bb(x1))))) | → | aa#(ab(ba(aa(ab(x1))))) | (39) |
ab#(ba(ab(bb(bb(x1))))) | → | ab#(ba(aa(ab(x1)))) | (40) |
ab#(ba(ab(bb(bb(x1))))) | → | aa#(ab(x1)) | (41) |
ab#(ba(ab(bb(bb(x1))))) | → | ab#(x1) | (42) |
bb#(ba(ab(bb(ba(x1))))) | → | ab#(ba(aa(aa(x1)))) | (43) |
bb#(ba(ab(bb(ba(x1))))) | → | aa#(aa(x1)) | (44) |
bb#(ba(ab(bb(ba(x1))))) | → | aa#(x1) | (45) |
bb#(ba(ab(bb(bb(x1))))) | → | ab#(ba(aa(ab(x1)))) | (46) |
bb#(ba(ab(bb(bb(x1))))) | → | aa#(ab(x1)) | (47) |
bb#(ba(ab(bb(bb(x1))))) | → | ab#(x1) | (48) |
The dependency pairs are split into 1 component.
aa#(ab(ba(aa(x1)))) | → | ab#(bb(ba(x1))) | (18) |
ab#(ba(aa(aa(x1)))) | → | aa#(ab(ba(x1))) | (29) |
aa#(ab(ba(aa(x1)))) | → | aa#(ab(bb(ba(x1)))) | (17) |
aa#(ab(ba(aa(x1)))) | → | bb#(ba(x1)) | (19) |
bb#(ba(ab(bb(ba(x1))))) | → | ab#(ba(aa(aa(x1)))) | (43) |
ab#(ba(aa(aa(x1)))) | → | ab#(ba(x1)) | (30) |
ab#(ba(aa(ab(x1)))) | → | aa#(ab(bb(x1))) | (32) |
aa#(ab(ba(ab(x1)))) | → | aa#(ab(bb(bb(x1)))) | (20) |
aa#(ab(ba(ab(x1)))) | → | ab#(bb(bb(x1))) | (21) |
ab#(ba(aa(ab(x1)))) | → | ab#(bb(x1)) | (33) |
ab#(ba(aa(ab(x1)))) | → | bb#(x1) | (34) |
bb#(bb(bb(ba(x1)))) | → | ab#(ba(aa(x1))) | (24) |
bb#(bb(bb(ba(x1)))) | → | aa#(x1) | (25) |
aa#(ab(ba(ab(x1)))) | → | bb#(bb(x1)) | (22) |
bb#(bb(bb(bb(x1)))) | → | ab#(ba(ab(x1))) | (26) |
ab#(ba(ab(bb(ba(x1))))) | → | aa#(ab(ba(aa(aa(x1))))) | (35) |
aa#(ab(ba(ab(x1)))) | → | bb#(x1) | (23) |
bb#(bb(bb(bb(x1)))) | → | ab#(x1) | (27) |
ab#(ba(ab(bb(ba(x1))))) | → | ab#(ba(aa(aa(x1)))) | (36) |
ab#(ba(ab(bb(ba(x1))))) | → | aa#(x1) | (38) |
ab#(ba(ab(bb(bb(x1))))) | → | aa#(ab(ba(aa(ab(x1))))) | (39) |
ab#(ba(ab(bb(bb(x1))))) | → | ab#(ba(aa(ab(x1)))) | (40) |
ab#(ba(ab(bb(bb(x1))))) | → | aa#(ab(x1)) | (41) |
ab#(ba(ab(bb(bb(x1))))) | → | ab#(x1) | (42) |
bb#(ba(ab(bb(ba(x1))))) | → | aa#(x1) | (45) |
bb#(ba(ab(bb(bb(x1))))) | → | ab#(ba(aa(ab(x1)))) | (46) |
bb#(ba(ab(bb(bb(x1))))) | → | aa#(ab(x1)) | (47) |
bb#(ba(ab(bb(bb(x1))))) | → | ab#(x1) | (48) |
[aa#(x1)] | = | 1 · x1 |
[ab(x1)] | = | 1 + 1 · x1 |
[ba(x1)] | = | 1 + 1 · x1 |
[aa(x1)] | = | 1 + 1 · x1 |
[ab#(x1)] | = | 1 + 1 · x1 |
[bb(x1)] | = | 1 + 1 · x1 |
[bb#(x1)] | = | 1 + 1 · x1 |
ab#(ba(aa(aa(x1)))) | → | aa#(ab(ba(x1))) | (29) |
aa#(ab(ba(aa(x1)))) | → | bb#(ba(x1)) | (19) |
bb#(ba(ab(bb(ba(x1))))) | → | ab#(ba(aa(aa(x1)))) | (43) |
ab#(ba(aa(aa(x1)))) | → | ab#(ba(x1)) | (30) |
ab#(ba(aa(ab(x1)))) | → | aa#(ab(bb(x1))) | (32) |
ab#(ba(aa(ab(x1)))) | → | ab#(bb(x1)) | (33) |
ab#(ba(aa(ab(x1)))) | → | bb#(x1) | (34) |
bb#(bb(bb(ba(x1)))) | → | ab#(ba(aa(x1))) | (24) |
bb#(bb(bb(ba(x1)))) | → | aa#(x1) | (25) |
aa#(ab(ba(ab(x1)))) | → | bb#(bb(x1)) | (22) |
bb#(bb(bb(bb(x1)))) | → | ab#(ba(ab(x1))) | (26) |
ab#(ba(ab(bb(ba(x1))))) | → | aa#(ab(ba(aa(aa(x1))))) | (35) |
aa#(ab(ba(ab(x1)))) | → | bb#(x1) | (23) |
bb#(bb(bb(bb(x1)))) | → | ab#(x1) | (27) |
ab#(ba(ab(bb(ba(x1))))) | → | ab#(ba(aa(aa(x1)))) | (36) |
ab#(ba(ab(bb(ba(x1))))) | → | aa#(x1) | (38) |
ab#(ba(ab(bb(bb(x1))))) | → | aa#(ab(ba(aa(ab(x1))))) | (39) |
ab#(ba(ab(bb(bb(x1))))) | → | ab#(ba(aa(ab(x1)))) | (40) |
ab#(ba(ab(bb(bb(x1))))) | → | aa#(ab(x1)) | (41) |
ab#(ba(ab(bb(bb(x1))))) | → | ab#(x1) | (42) |
bb#(ba(ab(bb(ba(x1))))) | → | aa#(x1) | (45) |
bb#(ba(ab(bb(bb(x1))))) | → | ab#(ba(aa(ab(x1)))) | (46) |
bb#(ba(ab(bb(bb(x1))))) | → | aa#(ab(x1)) | (47) |
bb#(ba(ab(bb(bb(x1))))) | → | ab#(x1) | (48) |
The dependency pairs are split into 1 component.
aa#(ab(ba(ab(x1)))) | → | aa#(ab(bb(bb(x1)))) | (20) |
aa#(ab(ba(aa(x1)))) | → | aa#(ab(bb(ba(x1)))) | (17) |
[aa#(x1)] | = |
|
||||||||||||||||||
[ab(x1)] | = |
|
||||||||||||||||||
[ba(x1)] | = |
|
||||||||||||||||||
[bb(x1)] | = |
|
||||||||||||||||||
[aa(x1)] | = |
|
aa#(ab(ba(ab(x1)))) | → | aa#(ab(bb(bb(x1)))) | (20) |
[aa#(x1)] | = |
|
||||||||||||||||||
[ab(x1)] | = |
|
||||||||||||||||||
[ba(x1)] | = |
|
||||||||||||||||||
[aa(x1)] | = |
|
||||||||||||||||||
[bb(x1)] | = |
|
aa#(ab(ba(aa(x1)))) | → | aa#(ab(bb(ba(x1)))) | (17) |
There are no pairs anymore.