YES
by ttt2 (version ttt2 1.15)
The rewrite relation of the following TRS is considered.
Begin(a(a(b(b(x0))))) | → | Wait(Right1(x0)) |
Begin(a(b(b(x0)))) | → | Wait(Right2(x0)) |
Begin(b(b(x0))) | → | Wait(Right3(x0)) |
Begin(b(x0)) | → | Wait(Right4(x0)) |
Right1(b(End(x0))) | → | Left(a(a(b(b(b(a(a(End(x0))))))))) |
Right2(b(a(End(x0)))) | → | Left(a(a(b(b(b(a(a(End(x0))))))))) |
Right3(b(a(a(End(x0))))) | → | Left(a(a(b(b(b(a(a(End(x0))))))))) |
Right4(b(a(a(b(End(x0)))))) | → | Left(a(a(b(b(b(a(a(End(x0))))))))) |
Right1(b(x0)) | → | Ab(Right1(x0)) |
Right2(b(x0)) | → | Ab(Right2(x0)) |
Right3(b(x0)) | → | Ab(Right3(x0)) |
Right4(b(x0)) | → | Ab(Right4(x0)) |
Right1(a(x0)) | → | Aa(Right1(x0)) |
Right2(a(x0)) | → | Aa(Right2(x0)) |
Right3(a(x0)) | → | Aa(Right3(x0)) |
Right4(a(x0)) | → | Aa(Right4(x0)) |
Ab(Left(x0)) | → | Left(b(x0)) |
Aa(Left(x0)) | → | Left(a(x0)) |
Wait(Left(x0)) | → | Begin(x0) |
b(a(a(b(b(x0))))) | → | a(a(b(b(b(a(a(x0))))))) |
b(b(a(a(Begin(x0))))) | → | Right1(Wait(x0)) |
b(b(a(Begin(x0)))) | → | Right2(Wait(x0)) |
b(b(Begin(x0))) | → | Right3(Wait(x0)) |
b(Begin(x0)) | → | Right4(Wait(x0)) |
End(b(Right1(x0))) | → | End(a(a(b(b(b(a(a(Left(x0))))))))) |
End(a(b(Right2(x0)))) | → | End(a(a(b(b(b(a(a(Left(x0))))))))) |
End(a(a(b(Right3(x0))))) | → | End(a(a(b(b(b(a(a(Left(x0))))))))) |
End(b(a(a(b(Right4(x0)))))) | → | End(a(a(b(b(b(a(a(Left(x0))))))))) |
b(Right1(x0)) | → | Right1(Ab(x0)) |
b(Right2(x0)) | → | Right2(Ab(x0)) |
b(Right3(x0)) | → | Right3(Ab(x0)) |
b(Right4(x0)) | → | Right4(Ab(x0)) |
a(Right1(x0)) | → | Right1(Aa(x0)) |
a(Right2(x0)) | → | Right2(Aa(x0)) |
a(Right3(x0)) | → | Right3(Aa(x0)) |
a(Right4(x0)) | → | Right4(Aa(x0)) |
Left(Ab(x0)) | → | b(Left(x0)) |
Left(Aa(x0)) | → | a(Left(x0)) |
Left(Wait(x0)) | → | Begin(x0) |
b(b(a(a(b(x0))))) | → | a(a(b(b(b(a(a(x0))))))) |
[Wait(x1)] | = |
|
||||||||||||||||||
[End(x1)] | = |
|
||||||||||||||||||
[a(x1)] | = |
|
||||||||||||||||||
[Right1(x1)] | = |
|
||||||||||||||||||
[Right2(x1)] | = |
|
||||||||||||||||||
[Ab(x1)] | = |
|
||||||||||||||||||
[b(x1)] | = |
|
||||||||||||||||||
[Right4(x1)] | = |
|
||||||||||||||||||
[Aa(x1)] | = |
|
||||||||||||||||||
[Left(x1)] | = |
|
||||||||||||||||||
[Right3(x1)] | = |
|
||||||||||||||||||
[Begin(x1)] | = |
|
b(b(a(a(Begin(x0))))) | → | Right1(Wait(x0)) |
b(b(a(Begin(x0)))) | → | Right2(Wait(x0)) |
b(b(Begin(x0))) | → | Right3(Wait(x0)) |
b(Begin(x0)) | → | Right4(Wait(x0)) |
End(a(b(Right2(x0)))) | → | End(a(a(b(b(b(a(a(Left(x0))))))))) |
End(a(a(b(Right3(x0))))) | → | End(a(a(b(b(b(a(a(Left(x0))))))))) |
b(Right1(x0)) | → | Right1(Ab(x0)) |
b(Right2(x0)) | → | Right2(Ab(x0)) |
b(Right3(x0)) | → | Right3(Ab(x0)) |
b(Right4(x0)) | → | Right4(Ab(x0)) |
a(Right1(x0)) | → | Right1(Aa(x0)) |
a(Right2(x0)) | → | Right2(Aa(x0)) |
a(Right3(x0)) | → | Right3(Aa(x0)) |
a(Right4(x0)) | → | Right4(Aa(x0)) |
Left(Ab(x0)) | → | b(Left(x0)) |
Left(Aa(x0)) | → | a(Left(x0)) |
Left(Wait(x0)) | → | Begin(x0) |
b(b(a(a(b(x0))))) | → | a(a(b(b(b(a(a(x0))))))) |
[Wait(x1)] | = | 11 · x1 + -∞ |
[End(x1)] | = | 9 · x1 + -∞ |
[a(x1)] | = | 0 · x1 + -∞ |
[Right1(x1)] | = | 0 · x1 + -∞ |
[Right2(x1)] | = | 10 · x1 + -∞ |
[Ab(x1)] | = | 4 · x1 + -∞ |
[b(x1)] | = | 4 · x1 + -∞ |
[Right4(x1)] | = | 0 · x1 + -∞ |
[Aa(x1)] | = | 0 · x1 + -∞ |
[Left(x1)] | = | 2 · x1 + -∞ |
[Right3(x1)] | = | 10 · x1 + -∞ |
[Begin(x1)] | = | 13 · x1 + -∞ |
b(b(a(Begin(x0)))) | → | Right2(Wait(x0)) |
b(b(Begin(x0))) | → | Right3(Wait(x0)) |
End(a(b(Right2(x0)))) | → | End(a(a(b(b(b(a(a(Left(x0))))))))) |
End(a(a(b(Right3(x0))))) | → | End(a(a(b(b(b(a(a(Left(x0))))))))) |
b(Right1(x0)) | → | Right1(Ab(x0)) |
b(Right2(x0)) | → | Right2(Ab(x0)) |
b(Right3(x0)) | → | Right3(Ab(x0)) |
b(Right4(x0)) | → | Right4(Ab(x0)) |
a(Right1(x0)) | → | Right1(Aa(x0)) |
a(Right2(x0)) | → | Right2(Aa(x0)) |
a(Right3(x0)) | → | Right3(Aa(x0)) |
a(Right4(x0)) | → | Right4(Aa(x0)) |
Left(Ab(x0)) | → | b(Left(x0)) |
Left(Aa(x0)) | → | a(Left(x0)) |
Left(Wait(x0)) | → | Begin(x0) |
b(b(a(a(b(x0))))) | → | a(a(b(b(b(a(a(x0))))))) |
Begin(a(b(b(x0)))) | → | Wait(Right2(x0)) |
Begin(b(b(x0))) | → | Wait(Right3(x0)) |
Right2(b(a(End(x0)))) | → | Left(a(a(b(b(b(a(a(End(x0))))))))) |
Right3(b(a(a(End(x0))))) | → | Left(a(a(b(b(b(a(a(End(x0))))))))) |
Right1(b(x0)) | → | Ab(Right1(x0)) |
Right2(b(x0)) | → | Ab(Right2(x0)) |
Right3(b(x0)) | → | Ab(Right3(x0)) |
Right4(b(x0)) | → | Ab(Right4(x0)) |
Right1(a(x0)) | → | Aa(Right1(x0)) |
Right2(a(x0)) | → | Aa(Right2(x0)) |
Right3(a(x0)) | → | Aa(Right3(x0)) |
Right4(a(x0)) | → | Aa(Right4(x0)) |
Ab(Left(x0)) | → | Left(b(x0)) |
Aa(Left(x0)) | → | Left(a(x0)) |
Wait(Left(x0)) | → | Begin(x0) |
b(a(a(b(b(x0))))) | → | a(a(b(b(b(a(a(x0))))))) |
[Wait(x1)] | = | 1 · x1 + 2 |
[End(x1)] | = | 12 · x1 + 2 |
[a(x1)] | = | 1 · x1 + 0 |
[Right1(x1)] | = | 4 · x1 + 12 |
[Right2(x1)] | = | 1 · x1 + 10 |
[Ab(x1)] | = | 1 · x1 + 4 |
[b(x1)] | = | 1 · x1 + 4 |
[Right4(x1)] | = | 4 · x1 + 0 |
[Aa(x1)] | = | 1 · x1 + 0 |
[Left(x1)] | = | 1 · x1 + 2 |
[Right3(x1)] | = | 1 · x1 + 10 |
[Begin(x1)] | = | 1 · x1 + 4 |
Begin(a(b(b(x0)))) | → | Wait(Right2(x0)) |
Begin(b(b(x0))) | → | Wait(Right3(x0)) |
Right2(b(a(End(x0)))) | → | Left(a(a(b(b(b(a(a(End(x0))))))))) |
Right3(b(a(a(End(x0))))) | → | Left(a(a(b(b(b(a(a(End(x0))))))))) |
Right2(b(x0)) | → | Ab(Right2(x0)) |
Right3(b(x0)) | → | Ab(Right3(x0)) |
Right1(a(x0)) | → | Aa(Right1(x0)) |
Right2(a(x0)) | → | Aa(Right2(x0)) |
Right3(a(x0)) | → | Aa(Right3(x0)) |
Right4(a(x0)) | → | Aa(Right4(x0)) |
Ab(Left(x0)) | → | Left(b(x0)) |
Aa(Left(x0)) | → | Left(a(x0)) |
Wait(Left(x0)) | → | Begin(x0) |
b(a(a(b(b(x0))))) | → | a(a(b(b(b(a(a(x0))))))) |
b(b(a(Begin(x0)))) | → | Right2(Wait(x0)) |
b(b(Begin(x0))) | → | Right3(Wait(x0)) |
End(a(b(Right2(x0)))) | → | End(a(a(b(b(b(a(a(Left(x0))))))))) |
End(a(a(b(Right3(x0))))) | → | End(a(a(b(b(b(a(a(Left(x0))))))))) |
b(Right2(x0)) | → | Right2(Ab(x0)) |
b(Right3(x0)) | → | Right3(Ab(x0)) |
a(Right1(x0)) | → | Right1(Aa(x0)) |
a(Right2(x0)) | → | Right2(Aa(x0)) |
a(Right3(x0)) | → | Right3(Aa(x0)) |
a(Right4(x0)) | → | Right4(Aa(x0)) |
Left(Ab(x0)) | → | b(Left(x0)) |
Left(Aa(x0)) | → | a(Left(x0)) |
Left(Wait(x0)) | → | Begin(x0) |
b(b(a(a(b(x0))))) | → | a(a(b(b(b(a(a(x0))))))) |
[Wait(x1)] | = |
|
||||||||||||||||||
[End(x1)] | = |
|
||||||||||||||||||
[a(x1)] | = |
|
||||||||||||||||||
[Right1(x1)] | = |
|
||||||||||||||||||
[Right2(x1)] | = |
|
||||||||||||||||||
[Ab(x1)] | = |
|
||||||||||||||||||
[b(x1)] | = |
|
||||||||||||||||||
[Right4(x1)] | = |
|
||||||||||||||||||
[Aa(x1)] | = |
|
||||||||||||||||||
[Left(x1)] | = |
|
||||||||||||||||||
[Right3(x1)] | = |
|
||||||||||||||||||
[Begin(x1)] | = |
|
b(b(a(Begin(x0)))) | → | Right2(Wait(x0)) |
b(b(Begin(x0))) | → | Right3(Wait(x0)) |
End(a(a(b(Right3(x0))))) | → | End(a(a(b(b(b(a(a(Left(x0))))))))) |
b(Right2(x0)) | → | Right2(Ab(x0)) |
b(Right3(x0)) | → | Right3(Ab(x0)) |
a(Right1(x0)) | → | Right1(Aa(x0)) |
a(Right2(x0)) | → | Right2(Aa(x0)) |
a(Right3(x0)) | → | Right3(Aa(x0)) |
a(Right4(x0)) | → | Right4(Aa(x0)) |
Left(Ab(x0)) | → | b(Left(x0)) |
Left(Aa(x0)) | → | a(Left(x0)) |
Left(Wait(x0)) | → | Begin(x0) |
b(b(a(a(b(x0))))) | → | a(a(b(b(b(a(a(x0))))))) |
[Wait(x1)] | = | 0 · x1 + -∞ |
[End(x1)] | = | 0 · x1 + -∞ |
[a(x1)] | = | 0 · x1 + -∞ |
[Right1(x1)] | = | 8 · x1 + -∞ |
[Right2(x1)] | = | 0 · x1 + -∞ |
[Ab(x1)] | = | 0 · x1 + -∞ |
[b(x1)] | = | 0 · x1 + -∞ |
[Right4(x1)] | = | 9 · x1 + -∞ |
[Aa(x1)] | = | 0 · x1 + -∞ |
[Left(x1)] | = | 1 · x1 + -∞ |
[Right3(x1)] | = | 1 · x1 + -∞ |
[Begin(x1)] | = | 1 · x1 + -∞ |
b(b(Begin(x0))) | → | Right3(Wait(x0)) |
End(a(a(b(Right3(x0))))) | → | End(a(a(b(b(b(a(a(Left(x0))))))))) |
b(Right2(x0)) | → | Right2(Ab(x0)) |
b(Right3(x0)) | → | Right3(Ab(x0)) |
a(Right1(x0)) | → | Right1(Aa(x0)) |
a(Right2(x0)) | → | Right2(Aa(x0)) |
a(Right3(x0)) | → | Right3(Aa(x0)) |
a(Right4(x0)) | → | Right4(Aa(x0)) |
Left(Ab(x0)) | → | b(Left(x0)) |
Left(Aa(x0)) | → | a(Left(x0)) |
Left(Wait(x0)) | → | Begin(x0) |
b(b(a(a(b(x0))))) | → | a(a(b(b(b(a(a(x0))))))) |
[Wait(x1)] | = | 2 · x1 + 0 |
[End(x1)] | = | 1 · x1 + 2 |
[a(x1)] | = | 1 · x1 + 0 |
[Right1(x1)] | = | 8 · x1 + 0 |
[Right2(x1)] | = | 2 · x1 + 9 |
[Ab(x1)] | = | 2 · x1 + 0 |
[b(x1)] | = | 2 · x1 + 0 |
[Right4(x1)] | = | 1 · x1 + 1 |
[Aa(x1)] | = | 1 · x1 + 0 |
[Left(x1)] | = | 2 · x1 + 0 |
[Right3(x1)] | = | 8 · x1 + 0 |
[Begin(x1)] | = | 4 · x1 + 0 |
b(b(Begin(x0))) | → | Right3(Wait(x0)) |
End(a(a(b(Right3(x0))))) | → | End(a(a(b(b(b(a(a(Left(x0))))))))) |
b(Right3(x0)) | → | Right3(Ab(x0)) |
a(Right1(x0)) | → | Right1(Aa(x0)) |
a(Right2(x0)) | → | Right2(Aa(x0)) |
a(Right3(x0)) | → | Right3(Aa(x0)) |
a(Right4(x0)) | → | Right4(Aa(x0)) |
Left(Ab(x0)) | → | b(Left(x0)) |
Left(Aa(x0)) | → | a(Left(x0)) |
Left(Wait(x0)) | → | Begin(x0) |
b(b(a(a(b(x0))))) | → | a(a(b(b(b(a(a(x0))))))) |
[Wait(x1)] | = |
|
||||||||||||||||||
[End(x1)] | = |
|
||||||||||||||||||
[a(x1)] | = |
|
||||||||||||||||||
[Right1(x1)] | = |
|
||||||||||||||||||
[Right2(x1)] | = |
|
||||||||||||||||||
[Ab(x1)] | = |
|
||||||||||||||||||
[b(x1)] | = |
|
||||||||||||||||||
[Right4(x1)] | = |
|
||||||||||||||||||
[Aa(x1)] | = |
|
||||||||||||||||||
[Left(x1)] | = |
|
||||||||||||||||||
[Right3(x1)] | = |
|
||||||||||||||||||
[Begin(x1)] | = |
|
b(b(Begin(x0))) | → | Right3(Wait(x0)) |
b(Right3(x0)) | → | Right3(Ab(x0)) |
a(Right1(x0)) | → | Right1(Aa(x0)) |
a(Right2(x0)) | → | Right2(Aa(x0)) |
a(Right3(x0)) | → | Right3(Aa(x0)) |
a(Right4(x0)) | → | Right4(Aa(x0)) |
Left(Ab(x0)) | → | b(Left(x0)) |
Left(Aa(x0)) | → | a(Left(x0)) |
Left(Wait(x0)) | → | Begin(x0) |
b(b(a(a(b(x0))))) | → | a(a(b(b(b(a(a(x0))))))) |
[Wait(x1)] | = | 13 · x1 + -∞ |
[a(x1)] | = | 0 · x1 + -∞ |
[Right1(x1)] | = | 8 · x1 + -∞ |
[Right2(x1)] | = | 8 · x1 + -∞ |
[Ab(x1)] | = | 8 · x1 + -∞ |
[b(x1)] | = | 8 · x1 + -∞ |
[Right4(x1)] | = | 2 · x1 + -∞ |
[Aa(x1)] | = | 0 · x1 + -∞ |
[Left(x1)] | = | 9 · x1 + -∞ |
[Right3(x1)] | = | 10 · x1 + -∞ |
[Begin(x1)] | = | 15 · x1 + -∞ |
b(Right3(x0)) | → | Right3(Ab(x0)) |
a(Right1(x0)) | → | Right1(Aa(x0)) |
a(Right2(x0)) | → | Right2(Aa(x0)) |
a(Right3(x0)) | → | Right3(Aa(x0)) |
a(Right4(x0)) | → | Right4(Aa(x0)) |
Left(Ab(x0)) | → | b(Left(x0)) |
Left(Aa(x0)) | → | a(Left(x0)) |
b(b(a(a(b(x0))))) | → | a(a(b(b(b(a(a(x0))))))) |
Right3(b(x0)) | → | Ab(Right3(x0)) |
Right1(a(x0)) | → | Aa(Right1(x0)) |
Right2(a(x0)) | → | Aa(Right2(x0)) |
Right3(a(x0)) | → | Aa(Right3(x0)) |
Right4(a(x0)) | → | Aa(Right4(x0)) |
Ab(Left(x0)) | → | Left(b(x0)) |
Aa(Left(x0)) | → | Left(a(x0)) |
b(a(a(b(b(x0))))) | → | a(a(b(b(b(a(a(x0))))))) |
final states:
{15, 13, 11, 9, 8, 6, 4, 1}
transitions:
15 | → | 17 |
15 | → | 12 |
9 | → | 10 |
1 | → | 3 |
8 | → | 3 |
6 | → | 7 |
52 | → | 19 |
4 | → | 5 |
28 | → | 18 |
17 | → | 21 |
24 | → | 45 |
a0(19) | → | 20 |
a0(2) | → | 14 |
a0(14) | → | 16 |
a0(20) | → | 15 |
Right20(2) | → | 7 |
Right40(2) | → | 10 |
Right10(2) | → | 5 |
a1(45) | → | 46 |
a1(21) | → | 22 |
a1(27) | → | 28 |
a1(22) | → | 23 |
a1(51) | → | 52 |
a1(26) | → | 27 |
a1(46) | → | 47 |
a1(50) | → | 51 |
Aa0(5) | → | 4 |
Aa0(7) | → | 6 |
Aa0(10) | → | 9 |
Aa0(3) | → | 8 |
b1(23) | → | 24 |
b1(48) | → | 49 |
b1(47) | → | 48 |
b1(24) | → | 25 |
b1(49) | → | 50 |
b1(25) | → | 26 |
b0(2) | → | 12 |
b0(16) | → | 17 |
b0(17) | → | 18 |
b0(18) | → | 19 |
Ab0(3) | → | 1 |
Right30(2) | → | 3 |
f120 | → | 2 |
Left0(14) | → | 13 |
Left0(12) | → | 11 |