YES
by ttt2 (version ttt2 1.15)
The rewrite relation of the following TRS is considered.
| a(s(x0)) | → | s(a(x0)) |
| b(a(b(s(x0)))) | → | a(b(s(a(x0)))) |
| b(a(b(b(x0)))) | → | c(s(x0)) |
| c(s(x0)) | → | a(b(a(b(x0)))) |
| a(b(a(a(x0)))) | → | b(a(b(a(x0)))) |
| s(a(x0)) | → | a(s(x0)) |
| s(b(a(b(x0)))) | → | a(s(b(a(x0)))) |
| b(b(a(b(x0)))) | → | s(c(x0)) |
| s(c(x0)) | → | b(a(b(a(x0)))) |
| a(a(b(a(x0)))) | → | a(b(a(b(x0)))) |
| [a(x1)] | = | 2 · x1 + 2 |
| [c(x1)] | = | 8 · x1 + 15 |
| [s(x1)] | = | 2 · x1 + 0 |
| [b(x1)] | = | 2 · x1 + 2 |
| b(b(a(b(x0)))) | → | s(c(x0)) |
| s(c(x0)) | → | b(a(b(a(x0)))) |
| a(a(b(a(x0)))) | → | a(b(a(b(x0)))) |
final states:
{8, 4, 1}
transitions:
| 1 | → | 9 |
| 8 | → | 5 |
| 8 | → | 18 |
| 21 | → | 1 |
| 2 | → | 17 |
| c0(2) | → | 3 |
| f40 | → | 2 |
| a0(11) | → | 8 |
| a0(6) | → | 7 |
| a0(9) | → | 10 |
| a0(2) | → | 5 |
| b1(18) | → | 19 |
| b1(20) | → | 21 |
| a1(19) | → | 20 |
| a1(17) | → | 18 |
| b0(2) | → | 9 |
| b0(10) | → | 11 |
| b0(7) | → | 4 |
| b0(5) | → | 6 |
| s0(3) | → | 1 |