YES
by ttt2 (version ttt2 1.15)
The rewrite relation of the following TRS is considered.
a(a(s(s(x0)))) | → | s(s(a(a(x0)))) |
b(b(a(a(b(b(s(s(x0)))))))) | → | a(a(b(b(s(s(a(a(x0)))))))) |
b(b(a(a(b(b(b(b(x0)))))))) | → | a(a(b(b(a(a(b(b(x0)))))))) |
a(a(b(b(a(a(a(a(x0)))))))) | → | b(b(a(a(b(b(a(a(x0)))))))) |
s(s(a(a(x0)))) | → | a(a(s(s(x0)))) |
s(s(b(b(a(a(b(b(x0)))))))) | → | a(a(s(s(b(b(a(a(x0)))))))) |
b(b(b(b(a(a(b(b(x0)))))))) | → | b(b(a(a(b(b(a(a(x0)))))))) |
a(a(a(a(b(b(a(a(x0)))))))) | → | a(a(b(b(a(a(b(b(x0)))))))) |
[a(x1)] | = | 1 · x1 + 1 |
[s(x1)] | = | 2 · x1 + 0 |
[b(x1)] | = | 1 · x1 + 1 |
b(b(b(b(a(a(b(b(x0)))))))) | → | b(b(a(a(b(b(a(a(x0)))))))) |
a(a(a(a(b(b(a(a(x0)))))))) | → | a(a(b(b(a(a(b(b(x0)))))))) |
final states:
{10, 1}
transitions:
10 | → | 4 |
10 | → | 3 |
1 | → | 12 |
1 | → | 11 |
b0(5) | → | 6 |
b0(9) | → | 1 |
b0(8) | → | 9 |
b0(2) | → | 11 |
b0(15) | → | 16 |
b0(14) | → | 15 |
b0(4) | → | 5 |
b0(11) | → | 12 |
f30 | → | 2 |
a0(6) | → | 7 |
a0(13) | → | 14 |
a0(17) | → | 10 |
a0(12) | → | 13 |
a0(2) | → | 3 |
a0(3) | → | 4 |
a0(16) | → | 17 |
a0(7) | → | 8 |