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