The rewrite relation of the following TRS is considered.
b(b(a(a(x1)))) | → | a(a(a(b(x1)))) | (1) |
a(a(a(b(x1)))) | → | b(a(b(a(x1)))) | (2) |
a(b(a(b(x1)))) | → | a(a(b(b(x1)))) | (3) |
b#(b(a(a(x1)))) | → | a#(a(a(b(x1)))) | (4) |
b#(b(a(a(x1)))) | → | a#(a(b(x1))) | (5) |
b#(b(a(a(x1)))) | → | a#(b(x1)) | (6) |
b#(b(a(a(x1)))) | → | b#(x1) | (7) |
a#(a(a(b(x1)))) | → | b#(a(b(a(x1)))) | (8) |
a#(a(a(b(x1)))) | → | a#(b(a(x1))) | (9) |
a#(a(a(b(x1)))) | → | b#(a(x1)) | (10) |
a#(a(a(b(x1)))) | → | a#(x1) | (11) |
a#(b(a(b(x1)))) | → | a#(a(b(b(x1)))) | (12) |
a#(b(a(b(x1)))) | → | a#(b(b(x1))) | (13) |
a#(b(a(b(x1)))) | → | b#(b(x1)) | (14) |
[b#(x1)] | = | 1 + 1 · x1 |
[b(x1)] | = | 1 + 1 · x1 |
[a(x1)] | = | 1 + 1 · x1 |
[a#(x1)] | = | 1 + 1 · x1 |
b#(b(a(a(x1)))) | → | a#(a(b(x1))) | (5) |
b#(b(a(a(x1)))) | → | a#(b(x1)) | (6) |
b#(b(a(a(x1)))) | → | b#(x1) | (7) |
a#(a(a(b(x1)))) | → | a#(b(a(x1))) | (9) |
a#(a(a(b(x1)))) | → | b#(a(x1)) | (10) |
a#(a(a(b(x1)))) | → | a#(x1) | (11) |
a#(b(a(b(x1)))) | → | a#(b(b(x1))) | (13) |
a#(b(a(b(x1)))) | → | b#(b(x1)) | (14) |
[b#(x1)] | = |
|
||||||||||||||||||||||||||||||||||||
[b(x1)] | = |
|
||||||||||||||||||||||||||||||||||||
[a(x1)] | = |
|
||||||||||||||||||||||||||||||||||||
[a#(x1)] | = |
|
b#(b(a(a(x1)))) | → | a#(a(a(b(x1)))) | (4) |
a#(b(a(b(x1)))) | → | a#(a(b(b(x1)))) | (12) |
[a#(x1)] | = | 1 + 1 · x1 |
[a(x1)] | = | 1 + 1 · x1 |
[b(x1)] | = | 1 |
[b#(x1)] | = | 0 |
a#(a(a(b(x1)))) | → | b#(a(b(a(x1)))) | (8) |
There are no pairs anymore.