YES
by ttt2 (version ttt2 1.15)
The rewrite relation of the following TRS is considered.
| Begin(c(a(x0))) | → | Wait(Right1(x0)) |
| Begin(a(x0)) | → | Wait(Right2(x0)) |
| Begin(a(x0)) | → | Wait(Right3(x0)) |
| Right1(b(End(x0))) | → | Left(a(b(a(b(End(x0)))))) |
| Right2(b(c(End(x0)))) | → | Left(a(b(a(b(End(x0)))))) |
| Right3(a(End(x0))) | → | Left(a(c(b(a(End(x0)))))) |
| Right1(b(x0)) | → | Ab(Right1(x0)) |
| Right2(b(x0)) | → | Ab(Right2(x0)) |
| Right3(b(x0)) | → | Ab(Right3(x0)) |
| Right1(c(x0)) | → | Ac(Right1(x0)) |
| Right2(c(x0)) | → | Ac(Right2(x0)) |
| Right3(c(x0)) | → | Ac(Right3(x0)) |
| Right1(a(x0)) | → | Aa(Right1(x0)) |
| Right2(a(x0)) | → | Aa(Right2(x0)) |
| Right3(a(x0)) | → | Aa(Right3(x0)) |
| Ab(Left(x0)) | → | Left(b(x0)) |
| Ac(Left(x0)) | → | Left(c(x0)) |
| Aa(Left(x0)) | → | Left(a(x0)) |
| Wait(Left(x0)) | → | Begin(x0) |
| b(c(a(x0))) | → | a(b(a(b(x0)))) |
| b(x0) | → | c(c(x0)) |
| a(a(x0)) | → | a(c(b(a(x0)))) |
| a(c(Begin(x0))) | → | Right1(Wait(x0)) |
| a(Begin(x0)) | → | Right2(Wait(x0)) |
| a(Begin(x0)) | → | Right3(Wait(x0)) |
| End(b(Right1(x0))) | → | End(b(a(b(a(Left(x0)))))) |
| End(c(b(Right2(x0)))) | → | End(b(a(b(a(Left(x0)))))) |
| End(a(Right3(x0))) | → | End(a(b(c(a(Left(x0)))))) |
| b(Right1(x0)) | → | Right1(Ab(x0)) |
| b(Right2(x0)) | → | Right2(Ab(x0)) |
| b(Right3(x0)) | → | Right3(Ab(x0)) |
| c(Right1(x0)) | → | Right1(Ac(x0)) |
| c(Right2(x0)) | → | Right2(Ac(x0)) |
| c(Right3(x0)) | → | Right3(Ac(x0)) |
| a(Right1(x0)) | → | Right1(Aa(x0)) |
| a(Right2(x0)) | → | Right2(Aa(x0)) |
| a(Right3(x0)) | → | Right3(Aa(x0)) |
| Left(Ab(x0)) | → | b(Left(x0)) |
| Left(Ac(x0)) | → | c(Left(x0)) |
| Left(Aa(x0)) | → | a(Left(x0)) |
| Left(Wait(x0)) | → | Begin(x0) |
| a(c(b(x0))) | → | b(a(b(a(x0)))) |
| b(x0) | → | c(c(x0)) |
| a(a(x0)) | → | a(b(c(a(x0)))) |
| [Wait(x1)] | = |
|
||||||||||||||||||
| [b(x1)] | = |
|
||||||||||||||||||
| [c(x1)] | = |
|
||||||||||||||||||
| [Right1(x1)] | = |
|
||||||||||||||||||
| [Right2(x1)] | = |
|
||||||||||||||||||
| [Ab(x1)] | = |
|
||||||||||||||||||
| [a(x1)] | = |
|
||||||||||||||||||
| [End(x1)] | = |
|
||||||||||||||||||
| [Aa(x1)] | = |
|
||||||||||||||||||
| [Ac(x1)] | = |
|
||||||||||||||||||
| [Left(x1)] | = |
|
||||||||||||||||||
| [Right3(x1)] | = |
|
||||||||||||||||||
| [Begin(x1)] | = |
|
| a(c(Begin(x0))) | → | Right1(Wait(x0)) |
| a(Begin(x0)) | → | Right2(Wait(x0)) |
| a(Begin(x0)) | → | Right3(Wait(x0)) |
| End(b(Right1(x0))) | → | End(b(a(b(a(Left(x0)))))) |
| End(a(Right3(x0))) | → | End(a(b(c(a(Left(x0)))))) |
| b(Right1(x0)) | → | Right1(Ab(x0)) |
| b(Right2(x0)) | → | Right2(Ab(x0)) |
| b(Right3(x0)) | → | Right3(Ab(x0)) |
| c(Right1(x0)) | → | Right1(Ac(x0)) |
| c(Right2(x0)) | → | Right2(Ac(x0)) |
| c(Right3(x0)) | → | Right3(Ac(x0)) |
| a(Right1(x0)) | → | Right1(Aa(x0)) |
| a(Right2(x0)) | → | Right2(Aa(x0)) |
| a(Right3(x0)) | → | Right3(Aa(x0)) |
| Left(Ab(x0)) | → | b(Left(x0)) |
| Left(Ac(x0)) | → | c(Left(x0)) |
| Left(Aa(x0)) | → | a(Left(x0)) |
| Left(Wait(x0)) | → | Begin(x0) |
| a(c(b(x0))) | → | b(a(b(a(x0)))) |
| b(x0) | → | c(c(x0)) |
| a(a(x0)) | → | a(b(c(a(x0)))) |
| [Wait(x1)] | = | 0 · x1 + -∞ |
| [b(x1)] | = | 0 · x1 + -∞ |
| [c(x1)] | = | 0 · x1 + -∞ |
| [Right1(x1)] | = | 4 · x1 + -∞ |
| [Right2(x1)] | = | 0 · x1 + -∞ |
| [Ab(x1)] | = | 0 · x1 + -∞ |
| [a(x1)] | = | 0 · x1 + -∞ |
| [End(x1)] | = | 0 · x1 + -∞ |
| [Aa(x1)] | = | 0 · x1 + -∞ |
| [Ac(x1)] | = | 0 · x1 + -∞ |
| [Left(x1)] | = | 4 · x1 + -∞ |
| [Right3(x1)] | = | 4 · x1 + -∞ |
| [Begin(x1)] | = | 4 · x1 + -∞ |
| a(c(Begin(x0))) | → | Right1(Wait(x0)) |
| a(Begin(x0)) | → | Right3(Wait(x0)) |
| End(b(Right1(x0))) | → | End(b(a(b(a(Left(x0)))))) |
| End(a(Right3(x0))) | → | End(a(b(c(a(Left(x0)))))) |
| b(Right1(x0)) | → | Right1(Ab(x0)) |
| b(Right2(x0)) | → | Right2(Ab(x0)) |
| b(Right3(x0)) | → | Right3(Ab(x0)) |
| c(Right1(x0)) | → | Right1(Ac(x0)) |
| c(Right2(x0)) | → | Right2(Ac(x0)) |
| c(Right3(x0)) | → | Right3(Ac(x0)) |
| a(Right1(x0)) | → | Right1(Aa(x0)) |
| a(Right2(x0)) | → | Right2(Aa(x0)) |
| a(Right3(x0)) | → | Right3(Aa(x0)) |
| Left(Ab(x0)) | → | b(Left(x0)) |
| Left(Ac(x0)) | → | c(Left(x0)) |
| Left(Aa(x0)) | → | a(Left(x0)) |
| Left(Wait(x0)) | → | Begin(x0) |
| a(c(b(x0))) | → | b(a(b(a(x0)))) |
| b(x0) | → | c(c(x0)) |
| a(a(x0)) | → | a(b(c(a(x0)))) |
| [Wait(x1)] | = |
|
||||||||||||||||||
| [b(x1)] | = |
|
||||||||||||||||||
| [c(x1)] | = |
|
||||||||||||||||||
| [Right1(x1)] | = |
|
||||||||||||||||||
| [Right2(x1)] | = |
|
||||||||||||||||||
| [Ab(x1)] | = |
|
||||||||||||||||||
| [a(x1)] | = |
|
||||||||||||||||||
| [End(x1)] | = |
|
||||||||||||||||||
| [Aa(x1)] | = |
|
||||||||||||||||||
| [Ac(x1)] | = |
|
||||||||||||||||||
| [Left(x1)] | = |
|
||||||||||||||||||
| [Right3(x1)] | = |
|
||||||||||||||||||
| [Begin(x1)] | = |
|
| a(c(Begin(x0))) | → | Right1(Wait(x0)) |
| a(Begin(x0)) | → | Right3(Wait(x0)) |
| End(a(Right3(x0))) | → | End(a(b(c(a(Left(x0)))))) |
| b(Right1(x0)) | → | Right1(Ab(x0)) |
| b(Right2(x0)) | → | Right2(Ab(x0)) |
| b(Right3(x0)) | → | Right3(Ab(x0)) |
| c(Right1(x0)) | → | Right1(Ac(x0)) |
| c(Right2(x0)) | → | Right2(Ac(x0)) |
| c(Right3(x0)) | → | Right3(Ac(x0)) |
| a(Right1(x0)) | → | Right1(Aa(x0)) |
| a(Right2(x0)) | → | Right2(Aa(x0)) |
| a(Right3(x0)) | → | Right3(Aa(x0)) |
| Left(Ab(x0)) | → | b(Left(x0)) |
| Left(Ac(x0)) | → | c(Left(x0)) |
| Left(Aa(x0)) | → | a(Left(x0)) |
| Left(Wait(x0)) | → | Begin(x0) |
| a(c(b(x0))) | → | b(a(b(a(x0)))) |
| b(x0) | → | c(c(x0)) |
| a(a(x0)) | → | a(b(c(a(x0)))) |
| [Wait(x1)] | = | 0 · x1 + -∞ |
| [b(x1)] | = | 0 · x1 + -∞ |
| [c(x1)] | = | 0 · x1 + -∞ |
| [Right1(x1)] | = | 0 · x1 + -∞ |
| [Right2(x1)] | = | 0 · x1 + -∞ |
| [Ab(x1)] | = | 0 · x1 + -∞ |
| [a(x1)] | = | 0 · x1 + -∞ |
| [End(x1)] | = | 0 · x1 + -∞ |
| [Aa(x1)] | = | 0 · x1 + -∞ |
| [Ac(x1)] | = | 0 · x1 + -∞ |
| [Left(x1)] | = | 1 · x1 + -∞ |
| [Right3(x1)] | = | 1 · x1 + -∞ |
| [Begin(x1)] | = | 1 · x1 + -∞ |
| a(Begin(x0)) | → | Right3(Wait(x0)) |
| End(a(Right3(x0))) | → | End(a(b(c(a(Left(x0)))))) |
| b(Right1(x0)) | → | Right1(Ab(x0)) |
| b(Right2(x0)) | → | Right2(Ab(x0)) |
| b(Right3(x0)) | → | Right3(Ab(x0)) |
| c(Right1(x0)) | → | Right1(Ac(x0)) |
| c(Right2(x0)) | → | Right2(Ac(x0)) |
| c(Right3(x0)) | → | Right3(Ac(x0)) |
| a(Right1(x0)) | → | Right1(Aa(x0)) |
| a(Right2(x0)) | → | Right2(Aa(x0)) |
| a(Right3(x0)) | → | Right3(Aa(x0)) |
| Left(Ab(x0)) | → | b(Left(x0)) |
| Left(Ac(x0)) | → | c(Left(x0)) |
| Left(Aa(x0)) | → | a(Left(x0)) |
| Left(Wait(x0)) | → | Begin(x0) |
| a(c(b(x0))) | → | b(a(b(a(x0)))) |
| b(x0) | → | c(c(x0)) |
| a(a(x0)) | → | a(b(c(a(x0)))) |
| Begin(a(x0)) | → | Wait(Right3(x0)) |
| Right3(a(End(x0))) | → | Left(a(c(b(a(End(x0)))))) |
| Right1(b(x0)) | → | Ab(Right1(x0)) |
| Right2(b(x0)) | → | Ab(Right2(x0)) |
| Right3(b(x0)) | → | Ab(Right3(x0)) |
| Right1(c(x0)) | → | Ac(Right1(x0)) |
| Right2(c(x0)) | → | Ac(Right2(x0)) |
| Right3(c(x0)) | → | Ac(Right3(x0)) |
| Right1(a(x0)) | → | Aa(Right1(x0)) |
| Right2(a(x0)) | → | Aa(Right2(x0)) |
| Right3(a(x0)) | → | Aa(Right3(x0)) |
| Ab(Left(x0)) | → | Left(b(x0)) |
| Ac(Left(x0)) | → | Left(c(x0)) |
| Aa(Left(x0)) | → | Left(a(x0)) |
| Wait(Left(x0)) | → | Begin(x0) |
| b(c(a(x0))) | → | a(b(a(b(x0)))) |
| b(x0) | → | c(c(x0)) |
| a(a(x0)) | → | a(c(b(a(x0)))) |
| [Wait(x1)] | = |
|
||||||||||||||||||
| [b(x1)] | = |
|
||||||||||||||||||
| [c(x1)] | = |
|
||||||||||||||||||
| [Right1(x1)] | = |
|
||||||||||||||||||
| [Right2(x1)] | = |
|
||||||||||||||||||
| [Ab(x1)] | = |
|
||||||||||||||||||
| [a(x1)] | = |
|
||||||||||||||||||
| [End(x1)] | = |
|
||||||||||||||||||
| [Aa(x1)] | = |
|
||||||||||||||||||
| [Ac(x1)] | = |
|
||||||||||||||||||
| [Left(x1)] | = |
|
||||||||||||||||||
| [Right3(x1)] | = |
|
||||||||||||||||||
| [Begin(x1)] | = |
|
| Begin(a(x0)) | → | Wait(Right3(x0)) |
| Right3(a(End(x0))) | → | Left(a(c(b(a(End(x0)))))) |
| Right1(b(x0)) | → | Ab(Right1(x0)) |
| Right2(b(x0)) | → | Ab(Right2(x0)) |
| Right3(b(x0)) | → | Ab(Right3(x0)) |
| Right1(c(x0)) | → | Ac(Right1(x0)) |
| Right2(c(x0)) | → | Ac(Right2(x0)) |
| Right3(c(x0)) | → | Ac(Right3(x0)) |
| Right1(a(x0)) | → | Aa(Right1(x0)) |
| Right2(a(x0)) | → | Aa(Right2(x0)) |
| Right3(a(x0)) | → | Aa(Right3(x0)) |
| Ab(Left(x0)) | → | Left(b(x0)) |
| Ac(Left(x0)) | → | Left(c(x0)) |
| Aa(Left(x0)) | → | Left(a(x0)) |
| b(c(a(x0))) | → | a(b(a(b(x0)))) |
| b(x0) | → | c(c(x0)) |
| a(a(x0)) | → | a(c(b(a(x0)))) |
| [Wait(x1)] | = | 4 · x1 + -∞ |
| [b(x1)] | = | 0 · x1 + -∞ |
| [c(x1)] | = | 0 · x1 + -∞ |
| [Right1(x1)] | = | 6 · x1 + -∞ |
| [Right2(x1)] | = | 0 · x1 + -∞ |
| [Ab(x1)] | = | 0 · x1 + -∞ |
| [a(x1)] | = | 0 · x1 + -∞ |
| [End(x1)] | = | 0 · x1 + -∞ |
| [Aa(x1)] | = | 0 · x1 + -∞ |
| [Ac(x1)] | = | 0 · x1 + -∞ |
| [Left(x1)] | = | 2 · x1 + -∞ |
| [Right3(x1)] | = | 2 · x1 + -∞ |
| [Begin(x1)] | = | 15 · x1 + -∞ |
| Right3(a(End(x0))) | → | Left(a(c(b(a(End(x0)))))) |
| Right1(b(x0)) | → | Ab(Right1(x0)) |
| Right2(b(x0)) | → | Ab(Right2(x0)) |
| Right3(b(x0)) | → | Ab(Right3(x0)) |
| Right1(c(x0)) | → | Ac(Right1(x0)) |
| Right2(c(x0)) | → | Ac(Right2(x0)) |
| Right3(c(x0)) | → | Ac(Right3(x0)) |
| Right1(a(x0)) | → | Aa(Right1(x0)) |
| Right2(a(x0)) | → | Aa(Right2(x0)) |
| Right3(a(x0)) | → | Aa(Right3(x0)) |
| Ab(Left(x0)) | → | Left(b(x0)) |
| Ac(Left(x0)) | → | Left(c(x0)) |
| Aa(Left(x0)) | → | Left(a(x0)) |
| b(c(a(x0))) | → | a(b(a(b(x0)))) |
| b(x0) | → | c(c(x0)) |
| a(a(x0)) | → | a(c(b(a(x0)))) |
| [b(x1)] | = | 0 · x1 + -∞ |
| [c(x1)] | = | 0 · x1 + -∞ |
| [Right1(x1)] | = | 0 · x1 + -∞ |
| [Right2(x1)] | = | 0 · x1 + -∞ |
| [Ab(x1)] | = | 0 · x1 + -∞ |
| [a(x1)] | = | 0 · x1 + -∞ |
| [End(x1)] | = | 0 · x1 + -∞ |
| [Aa(x1)] | = | 0 · x1 + -∞ |
| [Ac(x1)] | = | 0 · x1 + -∞ |
| [Left(x1)] | = | 0 · x1 + -∞ |
| [Right3(x1)] | = | 2 · x1 + -∞ |
| Right1(b(x0)) | → | Ab(Right1(x0)) |
| Right2(b(x0)) | → | Ab(Right2(x0)) |
| Right3(b(x0)) | → | Ab(Right3(x0)) |
| Right1(c(x0)) | → | Ac(Right1(x0)) |
| Right2(c(x0)) | → | Ac(Right2(x0)) |
| Right3(c(x0)) | → | Ac(Right3(x0)) |
| Right1(a(x0)) | → | Aa(Right1(x0)) |
| Right2(a(x0)) | → | Aa(Right2(x0)) |
| Right3(a(x0)) | → | Aa(Right3(x0)) |
| Ab(Left(x0)) | → | Left(b(x0)) |
| Ac(Left(x0)) | → | Left(c(x0)) |
| Aa(Left(x0)) | → | Left(a(x0)) |
| b(c(a(x0))) | → | a(b(a(b(x0)))) |
| b(x0) | → | c(c(x0)) |
| a(a(x0)) | → | a(c(b(a(x0)))) |
final states:
{24, 23, 20, 18, 16, 14, 13, 12, 11, 10, 9, 8, 6, 4, 1}
transitions:
| 32 | → | 15 |
| 10 | → | 7 |
| 57 | → | 47 |
| 9 | → | 5 |
| 20 | → | 15 |
| 49 | → | 42 |
| 49 | → | 21 |
| 1 | → | 3 |
| 8 | → | 3 |
| 13 | → | 7 |
| 44 | → | 22 |
| 21 | → | 42 |
| 6 | → | 7 |
| 22 | → | 45 |
| 2 | → | 30 |
| 11 | → | 3 |
| 4 | → | 5 |
| 12 | → | 5 |
| 46 | → | 55 |
| 35 | → | 25 |
| 24 | → | 33 |
| 24 | → | 19 |
| 19 | → | 33 |
| c0(17) | → | 23 |
| c0(25) | → | 26 |
| c0(2) | → | 17 |
| b0(19) | → | 25 |
| b0(2) | → | 15 |
| b0(21) | → | 22 |
| Right20(2) | → | 5 |
| b1(46) | → | 47 |
| Ac0(7) | → | 10 |
| Ac0(5) | → | 9 |
| Ac0(3) | → | 8 |
| Right30(2) | → | 7 |
| c1(30) | → | 31 |
| c1(34) | → | 35 |
| c1(47) | → | 48 |
| c1(31) | → | 32 |
| c1(33) | → | 34 |
| c1(43) | → | 44 |
| c1(42) | → | 43 |
| f130 | → | 2 |
| Ab0(7) | → | 6 |
| Ab0(3) | → | 1 |
| Ab0(5) | → | 4 |
| Right10(2) | → | 3 |
| a0(26) | → | 24 |
| a0(2) | → | 19 |
| a0(15) | → | 21 |
| a0(22) | → | 20 |
| Left0(15) | → | 14 |
| Left0(19) | → | 18 |
| Left0(17) | → | 16 |
| c2(56) | → | 57 |
| c2(55) | → | 56 |
| Aa0(7) | → | 13 |
| Aa0(3) | → | 11 |
| Aa0(5) | → | 12 |
| a1(48) | → | 49 |
| a1(45) | → | 46 |