The rewrite relation of the following TRS is considered.
b(a(b(b(x1)))) | → | b(b(b(a(b(x1))))) | (1) |
b(a(a(b(b(x1))))) | → | b(a(b(b(a(a(b(x1))))))) | (2) |
b(a(a(a(b(b(x1)))))) | → | b(a(a(b(b(a(a(a(b(x1))))))))) | (3) |
b(a(a(a(a(b(b(x1))))))) | → | b(a(a(a(b(b(a(a(a(a(b(x1))))))))))) | (4) |
b(b(a(b(x1)))) | → | b(a(b(b(b(x1))))) | (5) |
b(b(a(a(b(x1))))) | → | b(a(a(b(b(a(b(x1))))))) | (6) |
b(b(a(a(a(b(x1)))))) | → | b(a(a(a(b(b(a(a(b(x1))))))))) | (7) |
b(b(a(a(a(a(b(x1))))))) | → | b(a(a(a(a(b(b(a(a(a(b(x1))))))))))) | (8) |
Root-labeling is applied.
We obtain the labeled TRSbb(ba(ab(bb(x1)))) | → | ba(ab(bb(bb(bb(x1))))) | (9) |
bb(ba(ab(ba(x1)))) | → | ba(ab(bb(bb(ba(x1))))) | (10) |
bb(ba(aa(ab(bb(x1))))) | → | ba(aa(ab(bb(ba(ab(bb(x1))))))) | (11) |
bb(ba(aa(ab(ba(x1))))) | → | ba(aa(ab(bb(ba(ab(ba(x1))))))) | (12) |
bb(ba(aa(aa(ab(bb(x1)))))) | → | ba(aa(aa(ab(bb(ba(aa(ab(bb(x1))))))))) | (13) |
bb(ba(aa(aa(ab(ba(x1)))))) | → | ba(aa(aa(ab(bb(ba(aa(ab(ba(x1))))))))) | (14) |
bb(ba(aa(aa(aa(ab(bb(x1))))))) | → | ba(aa(aa(aa(ab(bb(ba(aa(aa(ab(bb(x1))))))))))) | (15) |
bb(ba(aa(aa(aa(ab(ba(x1))))))) | → | ba(aa(aa(aa(ab(bb(ba(aa(aa(ab(ba(x1))))))))))) | (16) |
bb#(ba(ab(bb(x1)))) | → | bb#(bb(bb(x1))) | (17) |
bb#(ba(ab(bb(x1)))) | → | bb#(bb(x1)) | (18) |
bb#(ba(ab(ba(x1)))) | → | bb#(bb(ba(x1))) | (19) |
bb#(ba(ab(ba(x1)))) | → | bb#(ba(x1)) | (20) |
bb#(ba(aa(ab(bb(x1))))) | → | bb#(ba(ab(bb(x1)))) | (21) |
bb#(ba(aa(ab(ba(x1))))) | → | bb#(ba(ab(ba(x1)))) | (22) |
bb#(ba(aa(aa(ab(bb(x1)))))) | → | bb#(ba(aa(ab(bb(x1))))) | (23) |
bb#(ba(aa(aa(ab(ba(x1)))))) | → | bb#(ba(aa(ab(ba(x1))))) | (24) |
bb#(ba(aa(aa(aa(ab(bb(x1))))))) | → | bb#(ba(aa(aa(ab(bb(x1)))))) | (25) |
bb#(ba(aa(aa(aa(ab(ba(x1))))))) | → | bb#(ba(aa(aa(ab(ba(x1)))))) | (26) |
[bb#(x1)] | = |
|
||||||||||||||||||
[ba(x1)] | = |
|
||||||||||||||||||
[ab(x1)] | = |
|
||||||||||||||||||
[bb(x1)] | = |
|
||||||||||||||||||
[aa(x1)] | = |
|
bb#(ba(aa(aa(aa(ab(bb(x1))))))) | → | bb#(ba(aa(aa(ab(bb(x1)))))) | (25) |
bb#(ba(aa(aa(aa(ab(ba(x1))))))) | → | bb#(ba(aa(aa(ab(ba(x1)))))) | (26) |
[bb#(x1)] | = |
|
||||||||||||||||||
[ba(x1)] | = |
|
||||||||||||||||||
[ab(x1)] | = |
|
||||||||||||||||||
[bb(x1)] | = |
|
||||||||||||||||||
[aa(x1)] | = |
|
bb#(ba(aa(aa(ab(bb(x1)))))) | → | bb#(ba(aa(ab(bb(x1))))) | (23) |
bb#(ba(aa(aa(ab(ba(x1)))))) | → | bb#(ba(aa(ab(ba(x1))))) | (24) |
[bb#(x1)] | = |
|
||||||||||||||||||
[ba(x1)] | = |
|
||||||||||||||||||
[ab(x1)] | = |
|
||||||||||||||||||
[bb(x1)] | = |
|
||||||||||||||||||
[aa(x1)] | = |
|
bb#(ba(aa(ab(bb(x1))))) | → | bb#(ba(ab(bb(x1)))) | (21) |
bb#(ba(aa(ab(ba(x1))))) | → | bb#(ba(ab(ba(x1)))) | (22) |
[bb#(x1)] | = | 1 · x1 |
[ba(x1)] | = | 1 + 1 · x1 |
[ab(x1)] | = | 1 · x1 |
[bb(x1)] | = | 1 · x1 |
[aa(x1)] | = | 0 |
bb#(ba(ab(bb(x1)))) | → | bb#(bb(bb(x1))) | (17) |
bb#(ba(ab(bb(x1)))) | → | bb#(bb(x1)) | (18) |
bb#(ba(ab(ba(x1)))) | → | bb#(bb(ba(x1))) | (19) |
bb#(ba(ab(ba(x1)))) | → | bb#(ba(x1)) | (20) |
There are no pairs anymore.