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