YES
by ttt2 (version ttt2 1.15)
The rewrite relation of the following TRS is considered.
| p(0(x0)) | → | 0(s(s(p(x0)))) |
| p(s(x0)) | → | x0 |
| p(p(s(x0))) | → | p(x0) |
| f(s(x0)) | → | p(s(g(p(s(s(x0)))))) |
| g(s(x0)) | → | p(p(s(s(s(j(s(p(s(p(s(x0))))))))))) |
| j(s(x0)) | → | p(s(s(p(s(f(p(s(p(p(s(x0))))))))))) |
| half(0(x0)) | → | 0(s(s(half(p(s(p(s(x0)))))))) |
| half(s(s(x0))) | → | s(half(p(p(s(s(x0)))))) |
| rd(0(x0)) | → | 0(s(0(0(0(0(s(0(rd(x0))))))))) |
final states:
{38, 35, 31, 22, 12, 6, 3, 2, 1}
transitions:
| 23 | → | 25 |
| 29 | → | 22 |
| 89 | → | 109 |
| 87 | → | 89 |
| 80 | → | 82 |
| 10 | → | 6 |
| 15 | → | 71 |
| 96 | → | 6 |
| 96 | → | 10 |
| 84 | → | 74 |
| 136 | → | 112 |
| 18 | → | 12 |
| 18 | → | 54 |
| 120 | → | 91 |
| 108 | → | 96 |
| 31 | → | 32 |
| 31 | → | 37 |
| 1 | → | 112 |
| 1 | → | 84 |
| 1 | → | 3 |
| 1 | → | 25 |
| 1 | → | 23 |
| 1 | → | 48 |
| 1 | → | 136 |
| 71 | → | 73 |
| 71 | → | 83 |
| 13 | → | 15 |
| 73 | → | 87 |
| 26 | → | 28 |
| 38 | → | 39 |
| 6 | → | 117 |
| 6 | → | 79 |
| 6 | → | 28 |
| 6 | → | 26 |
| 6 | → | 77 |
| 6 | → | 115 |
| 109 | → | 111 |
| 109 | → | 135 |
| 54 | → | 12 |
| 82 | → | 17 |
| 2 | → | 13 |
| 2 | → | 47 |
| 2 | → | 36 |
| 2 | → | 56 |
| 2 | → | 112 |
| 2 | → | 84 |
| 2 | → | 3 |
| 2 | → | 25 |
| 2 | → | 23 |
| 2 | → | 48 |
| 2 | → | 136 |
| 118 | → | 120 |
| 93 | → | 95 |
| 93 | → | 107 |
| 112 | → | 114 |
| 77 | → | 79 |
| 7 | → | 9 |
| 7 | → | 55 |
| 35 | → | 32 |
| 35 | → | 37 |
| 115 | → | 117 |
| 48 | → | 23 |
| 74 | → | 76 |
| 92 | → | 96 |
| 92 | → | 108 |
| 19 | → | 21 |
| 19 | → | 53 |
| 56 | → | 36 |
| p2(113) | → | 114 |
| p2(116) | → | 117 |
| p2(110) | → | 111 |
| p2(83) | → | 84 |
| p2(107) | → | 108 |
| p2(119) | → | 120 |
| p2(111) | → | 112 |
| p1(73) | → | 74 |
| p1(47) | → | 48 |
| p1(95) | → | 96 |
| p1(75) | → | 76 |
| p1(72) | → | 73 |
| p1(53) | → | 54 |
| p1(81) | → | 82 |
| p1(78) | → | 79 |
| p1(88) | → | 89 |
| p1(94) | → | 95 |
| p1(55) | → | 56 |
| s1(79) | → | 80 |
| s1(77) | → | 78 |
| s1(80) | → | 81 |
| s1(71) | → | 72 |
| s1(93) | → | 94 |
| s1(74) | → | 75 |
| s1(92) | → | 93 |
| s1(89) | → | 90 |
| s1(87) | → | 88 |
| s1(91) | → | 92 |
| rd0(2) | → | 39 |
| s2(112) | → | 113 |
| s2(118) | → | 119 |
| s2(115) | → | 116 |
| s2(117) | → | 118 |
| s2(109) | → | 110 |
| p3(135) | → | 136 |
| half0(15) | → | 32 |
| half0(36) | → | 37 |
| f2(114) | → | 115 |
| j0(16) | → | 17 |
| j1(90) | → | 91 |
| f0(25) | → | 26 |
| 00(46) | → | 38 |
| 00(41) | → | 42 |
| 00(44) | → | 45 |
| 00(39) | → | 40 |
| 00(42) | → | 43 |
| 00(5) | → | 1 |
| 00(43) | → | 44 |
| 00(34) | → | 31 |
| s0(2) | → | 7 |
| s0(45) | → | 46 |
| s0(26) | → | 27 |
| s0(19) | → | 20 |
| s0(32) | → | 33 |
| s0(28) | → | 29 |
| s0(37) | → | 35 |
| s0(4) | → | 5 |
| s0(18) | → | 19 |
| s0(23) | → | 24 |
| s0(13) | → | 14 |
| s0(17) | → | 18 |
| s0(15) | → | 16 |
| s0(33) | → | 34 |
| s0(3) | → | 4 |
| s0(10) | → | 11 |
| s0(29) | → | 30 |
| s0(40) | → | 41 |
| s0(7) | → | 8 |
| f80 | → | 2 |
| p0(21) | → | 12 |
| p0(8) | → | 9 |
| p0(11) | → | 6 |
| p0(27) | → | 28 |
| p0(7) | → | 13 |
| p0(13) | → | 23 |
| p0(20) | → | 21 |
| p0(9) | → | 36 |
| p0(14) | → | 15 |
| p0(30) | → | 22 |
| p0(24) | → | 25 |
| p0(2) | → | 3 |
| g0(9) | → | 10 |
| f1(76) | → | 77 |