YES
by ttt2 (version ttt2 1.15)
The rewrite relation of the following TRS is considered.
Begin(a(x0)) | → | Wait(Right1(x0)) |
Right1(a(End(x0))) | → | Left(a(b(a(End(x0))))) |
Right1(a(x0)) | → | Aa(Right1(x0)) |
Right1(b(x0)) | → | Ab(Right1(x0)) |
Aa(Left(x0)) | → | Left(a(x0)) |
Ab(Left(x0)) | → | Left(b(x0)) |
Wait(Left(x0)) | → | Begin(x0) |
a(a(x0)) | → | a(b(a(x0))) |
a(Begin(x0)) | → | Right1(Wait(x0)) |
End(a(Right1(x0))) | → | End(a(b(a(Left(x0))))) |
a(Right1(x0)) | → | Right1(Aa(x0)) |
b(Right1(x0)) | → | Right1(Ab(x0)) |
Left(Aa(x0)) | → | a(Left(x0)) |
Left(Ab(x0)) | → | b(Left(x0)) |
Left(Wait(x0)) | → | Begin(x0) |
a(a(x0)) | → | a(b(a(x0))) |
[End(x1)] | = |
|
||||||||||||||||||
[Ab(x1)] | = |
|
||||||||||||||||||
[Begin(x1)] | = |
|
||||||||||||||||||
[Wait(x1)] | = |
|
||||||||||||||||||
[b(x1)] | = |
|
||||||||||||||||||
[a(x1)] | = |
|
||||||||||||||||||
[Aa(x1)] | = |
|
||||||||||||||||||
[Left(x1)] | = |
|
||||||||||||||||||
[Right1(x1)] | = |
|
a(Begin(x0)) | → | Right1(Wait(x0)) |
a(Right1(x0)) | → | Right1(Aa(x0)) |
b(Right1(x0)) | → | Right1(Ab(x0)) |
Left(Aa(x0)) | → | a(Left(x0)) |
Left(Ab(x0)) | → | b(Left(x0)) |
Left(Wait(x0)) | → | Begin(x0) |
a(a(x0)) | → | a(b(a(x0))) |
[Ab(x1)] | = | 0 · x1 + -∞ |
[Begin(x1)] | = | 6 · x1 + -∞ |
[Wait(x1)] | = | 8 · x1 + -∞ |
[b(x1)] | = | 0 · x1 + -∞ |
[a(x1)] | = | 6 · x1 + -∞ |
[Aa(x1)] | = | 6 · x1 + -∞ |
[Left(x1)] | = | 4 · x1 + -∞ |
[Right1(x1)] | = | 4 · x1 + -∞ |
a(Begin(x0)) | → | Right1(Wait(x0)) |
a(Right1(x0)) | → | Right1(Aa(x0)) |
b(Right1(x0)) | → | Right1(Ab(x0)) |
Left(Aa(x0)) | → | a(Left(x0)) |
Left(Ab(x0)) | → | b(Left(x0)) |
a(a(x0)) | → | a(b(a(x0))) |
[Ab(x1)] | = | 0 · x1 + -∞ |
[Begin(x1)] | = | 12 · x1 + -∞ |
[Wait(x1)] | = | 3 · x1 + -∞ |
[b(x1)] | = | 0 · x1 + -∞ |
[a(x1)] | = | 0 · x1 + -∞ |
[Aa(x1)] | = | 0 · x1 + -∞ |
[Left(x1)] | = | 0 · x1 + -∞ |
[Right1(x1)] | = | 8 · x1 + -∞ |
a(Right1(x0)) | → | Right1(Aa(x0)) |
b(Right1(x0)) | → | Right1(Ab(x0)) |
Left(Aa(x0)) | → | a(Left(x0)) |
Left(Ab(x0)) | → | b(Left(x0)) |
a(a(x0)) | → | a(b(a(x0))) |
Right1(a(x0)) | → | Aa(Right1(x0)) |
Right1(b(x0)) | → | Ab(Right1(x0)) |
Aa(Left(x0)) | → | Left(a(x0)) |
Ab(Left(x0)) | → | Left(b(x0)) |
a(a(x0)) | → | a(b(a(x0))) |
final states:
{9, 7, 5, 4, 1}
transitions:
9 | → | 6 |
1 | → | 3 |
4 | → | 3 |
a0(2) | → | 6 |
a0(10) | → | 9 |
f90 | → | 2 |
Aa0(3) | → | 1 |
Right10(2) | → | 3 |
Ab0(3) | → | 4 |
b0(6) | → | 10 |
b0(2) | → | 8 |
Left0(6) | → | 5 |
Left0(8) | → | 7 |