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