YES
by ttt2 (version ttt2 1.15)
The rewrite relation of the following TRS is considered.
| b(a(b(a(a(a(x0)))))) | → | a(a(a(a(b(a(b(a(b(x0))))))))) |
| a(a(a(b(a(b(x0)))))) | → | b(a(b(a(b(a(a(a(a(x0))))))))) |
final states:
{1}
transitions:
| 80 | → | 54 |
| 80 | → | 55 |
| 10 | → | 41 |
| 50 | → | 13 |
| 20 | → | 6 |
| 20 | → | 52 |
| 20 | → | 53 |
| 1 | → | 5 |
| 1 | → | 4 |
| 1 | → | 3 |
| 8 | → | 11 |
| 60 | → | 43 |
| 6 | → | 51 |
| 17 | → | 71 |
| a1(11) | → | 12 |
| a1(44) | → | 45 |
| a1(14) | → | 15 |
| a1(18) | → | 19 |
| a1(51) | → | 52 |
| a1(16) | → | 17 |
| a1(54) | → | 55 |
| a1(58) | → | 59 |
| a1(53) | → | 54 |
| a1(52) | → | 53 |
| a1(43) | → | 44 |
| a1(48) | → | 49 |
| a1(42) | → | 43 |
| a1(56) | → | 57 |
| a1(12) | → | 13 |
| a1(46) | → | 47 |
| a1(13) | → | 14 |
| a1(41) | → | 42 |
| a0(5) | → | 6 |
| a0(7) | → | 8 |
| a0(9) | → | 10 |
| a0(2) | → | 3 |
| a0(4) | → | 5 |
| a0(3) | → | 4 |
| a2(73) | → | 74 |
| a2(78) | → | 79 |
| a2(76) | → | 77 |
| a2(72) | → | 73 |
| a2(74) | → | 75 |
| a2(71) | → | 72 |
| b2(79) | → | 80 |
| b2(75) | → | 76 |
| b2(77) | → | 78 |
| b0(8) | → | 9 |
| b0(6) | → | 7 |
| b0(10) | → | 1 |
| f20 | → | 2 |
| b1(47) | → | 48 |
| b1(15) | → | 16 |
| b1(17) | → | 18 |
| b1(45) | → | 46 |
| b1(55) | → | 56 |
| b1(59) | → | 60 |
| b1(57) | → | 58 |
| b1(49) | → | 50 |
| b1(19) | → | 20 |