YES
by ttt2 (version ttt2 1.15)
The rewrite relation of the following TRS is considered.
| a(b(x0)) | → | C(x0) |
| b(c(x0)) | → | A(x0) |
| c(a(x0)) | → | B(x0) |
| A(C(x0)) | → | b(x0) |
| C(B(x0)) | → | a(x0) |
| B(A(x0)) | → | c(x0) |
| a(a(a(a(a(x0))))) | → | A(A(A(x0))) |
| A(A(A(A(x0)))) | → | a(a(a(a(x0)))) |
| b(b(b(b(b(x0))))) | → | B(B(B(x0))) |
| B(B(B(B(x0)))) | → | b(b(b(b(x0)))) |
| c(c(c(c(c(x0))))) | → | C(C(C(x0))) |
| C(C(C(C(x0)))) | → | c(c(c(c(x0)))) |
| B(a(a(a(a(x0))))) | → | c(A(A(A(x0)))) |
| A(A(A(b(x0)))) | → | a(a(a(a(C(x0))))) |
| C(b(b(b(b(x0))))) | → | a(B(B(B(x0)))) |
| B(B(B(c(x0)))) | → | b(b(b(b(A(x0))))) |
| A(c(c(c(c(x0))))) | → | b(C(C(C(x0)))) |
| C(C(C(a(x0)))) | → | c(c(c(c(B(x0))))) |
| a(A(x0)) | → | x0 |
| A(a(x0)) | → | x0 |
| b(B(x0)) | → | x0 |
| B(b(x0)) | → | x0 |
| c(C(x0)) | → | x0 |
| C(c(x0)) | → | x0 |
| [A(x1)] | = | 3 · x1 + -∞ |
| [a(x1)] | = | 2 · x1 + -∞ |
| [c(x1)] | = | 2 · x1 + -∞ |
| [B(x1)] | = | 3 · x1 + -∞ |
| [b(x1)] | = | 2 · x1 + -∞ |
| [C(x1)] | = | 3 · x1 + -∞ |
| B(a(a(a(a(x0))))) | → | c(A(A(A(x0)))) |
| A(A(A(b(x0)))) | → | a(a(a(a(C(x0))))) |
| C(b(b(b(b(x0))))) | → | a(B(B(B(x0)))) |
| B(B(B(c(x0)))) | → | b(b(b(b(A(x0))))) |
| A(c(c(c(c(x0))))) | → | b(C(C(C(x0)))) |
| C(C(C(a(x0)))) | → | c(c(c(c(B(x0))))) |
| a(a(a(a(B(x0))))) | → | A(A(A(c(x0)))) |
| b(A(A(A(x0)))) | → | C(a(a(a(a(x0))))) |
| b(b(b(b(C(x0))))) | → | B(B(B(a(x0)))) |
| c(B(B(B(x0)))) | → | A(b(b(b(b(x0))))) |
| c(c(c(c(A(x0))))) | → | C(C(C(b(x0)))) |
| a(C(C(C(x0)))) | → | B(c(c(c(c(x0))))) |
final states:
{22, 19, 14, 11, 6, 1}
transitions:
| 1 | → | 10 |
| 1 | → | 9 |
| 1 | → | 8 |
| 1 | → | 7 |
| 6 | → | 15 |
| 22 | → | 7 |
| 11 | → | 18 |
| 11 | → | 17 |
| 11 | → | 16 |
| 11 | → | 15 |
| 14 | → | 3 |
| 19 | → | 25 |
| 19 | → | 24 |
| 19 | → | 23 |
| 19 | → | 3 |
| C0(21) | → | 19 |
| C0(15) | → | 20 |
| C0(10) | → | 6 |
| C0(20) | → | 21 |
| a0(2) | → | 7 |
| a0(8) | → | 9 |
| a0(9) | → | 10 |
| a0(7) | → | 8 |
| c0(23) | → | 24 |
| c0(3) | → | 23 |
| c0(2) | → | 3 |
| c0(24) | → | 25 |
| B0(25) | → | 22 |
| B0(7) | → | 12 |
| B0(13) | → | 11 |
| B0(12) | → | 13 |
| b0(16) | → | 17 |
| b0(2) | → | 15 |
| b0(17) | → | 18 |
| b0(15) | → | 16 |
| f60 | → | 2 |
| A0(18) | → | 14 |
| A0(4) | → | 5 |
| A0(3) | → | 4 |
| A0(5) | → | 1 |