YES
by ttt2 (version ttt2 1.15)
The rewrite relation of the following TRS is considered.
A(b(x0)) | → | b(a(B(A(x0)))) |
B(a(x0)) | → | a(b(A(B(x0)))) |
A(a(x0)) | → | x0 |
B(b(x0)) | → | x0 |
b(A(x0)) | → | A(B(a(b(x0)))) |
a(B(x0)) | → | B(A(b(a(x0)))) |
a(A(x0)) | → | x0 |
b(B(x0)) | → | x0 |
final states:
{2, 6, 1}
transitions:
9 | → | 8 |
5 | → | 4 |
1 | → | 3 |
1 | → | 8 |
6 | → | 7 |
6 | → | 4 |
2 | → | 7 |
2 | → | 3 |
2 | → | 4 |
2 | → | 8 |
B0(9) | → | 6 |
B0(4) | → | 5 |
f40 | → | 2 |
b0(7) | → | 8 |
b0(2) | → | 3 |
a0(2) | → | 7 |
a0(3) | → | 4 |
A0(8) | → | 9 |
A0(5) | → | 1 |