NO
0 QTRS
↳1 QTRS Reverse (⇔, 0 ms)
↳2 QTRS
↳3 DependencyPairsProof (⇔, 7 ms)
↳4 QDP
↳5 DependencyGraphProof (⇔, 0 ms)
↳6 AND
↳7 QDP
↳8 UsableRulesProof (⇔, 0 ms)
↳9 QDP
↳10 QDPOrderProof (⇔, 87 ms)
↳11 QDP
↳12 QDP
↳13 UsableRulesProof (⇔, 0 ms)
↳14 QDP
↳15 QDPSizeChangeProof (⇔, 0 ms)
↳16 YES
↳17 QDP
↳18 UsableRulesProof (⇔, 0 ms)
↳19 QDP
↳20 QDPSizeChangeProof (⇔, 0 ms)
↳21 YES
↳22 QDP
↳23 UsableRulesProof (⇔, 13 ms)
↳24 QDP
↳25 NonTerminationLoopProof (⇒, 58 ms)
↳26 NO
Begin(b(x)) → Wait(Right1(x))
Begin(a(x)) → Wait(Right2(x))
Begin(a(x)) → Wait(Right3(x))
Right1(a(End(x))) → Left(b(r(End(x))))
Right2(r(End(x))) → Left(d(r(End(x))))
Right3(d(End(x))) → Left(a(a(d(End(x)))))
Right1(a(x)) → Aa(Right1(x))
Right2(a(x)) → Aa(Right2(x))
Right3(a(x)) → Aa(Right3(x))
Right1(b(x)) → Ab(Right1(x))
Right2(b(x)) → Ab(Right2(x))
Right3(b(x)) → Ab(Right3(x))
Right1(r(x)) → Ar(Right1(x))
Right2(r(x)) → Ar(Right2(x))
Right3(r(x)) → Ar(Right3(x))
Right1(d(x)) → Ad(Right1(x))
Right2(d(x)) → Ad(Right2(x))
Right3(d(x)) → Ad(Right3(x))
Aa(Left(x)) → Left(a(x))
Ab(Left(x)) → Left(b(x))
Ar(Left(x)) → Left(r(x))
Ad(Left(x)) → Left(d(x))
Wait(Left(x)) → Begin(x)
a(b(x)) → b(r(x))
r(a(x)) → d(r(x))
r(x) → d(x)
d(a(x)) → a(a(d(x)))
d(x) → a(x)
b(Begin(x)) → Right1(Wait(x))
a(Begin(x)) → Right2(Wait(x))
a(Begin(x)) → Right3(Wait(x))
End(a(Right1(x))) → End(r(b(Left(x))))
End(r(Right2(x))) → End(r(d(Left(x))))
End(d(Right3(x))) → End(d(a(a(Left(x)))))
a(Right1(x)) → Right1(Aa(x))
a(Right2(x)) → Right2(Aa(x))
a(Right3(x)) → Right3(Aa(x))
b(Right1(x)) → Right1(Ab(x))
b(Right2(x)) → Right2(Ab(x))
b(Right3(x)) → Right3(Ab(x))
r(Right1(x)) → Right1(Ar(x))
r(Right2(x)) → Right2(Ar(x))
r(Right3(x)) → Right3(Ar(x))
d(Right1(x)) → Right1(Ad(x))
d(Right2(x)) → Right2(Ad(x))
d(Right3(x)) → Right3(Ad(x))
Left(Aa(x)) → a(Left(x))
Left(Ab(x)) → b(Left(x))
Left(Ar(x)) → r(Left(x))
Left(Ad(x)) → d(Left(x))
Left(Wait(x)) → Begin(x)
b(a(x)) → r(b(x))
a(r(x)) → r(d(x))
r(x) → d(x)
a(d(x)) → d(a(a(x)))
d(x) → a(x)
END(a(Right1(x))) → END(r(b(Left(x))))
END(a(Right1(x))) → R(b(Left(x)))
END(a(Right1(x))) → B(Left(x))
END(a(Right1(x))) → LEFT(x)
END(r(Right2(x))) → END(r(d(Left(x))))
END(r(Right2(x))) → R(d(Left(x)))
END(r(Right2(x))) → D(Left(x))
END(r(Right2(x))) → LEFT(x)
END(d(Right3(x))) → END(d(a(a(Left(x)))))
END(d(Right3(x))) → D(a(a(Left(x))))
END(d(Right3(x))) → A(a(Left(x)))
END(d(Right3(x))) → A(Left(x))
END(d(Right3(x))) → LEFT(x)
LEFT(Aa(x)) → A(Left(x))
LEFT(Aa(x)) → LEFT(x)
LEFT(Ab(x)) → B(Left(x))
LEFT(Ab(x)) → LEFT(x)
LEFT(Ar(x)) → R(Left(x))
LEFT(Ar(x)) → LEFT(x)
LEFT(Ad(x)) → D(Left(x))
LEFT(Ad(x)) → LEFT(x)
B(a(x)) → R(b(x))
B(a(x)) → B(x)
A(r(x)) → R(d(x))
A(r(x)) → D(x)
R(x) → D(x)
A(d(x)) → D(a(a(x)))
A(d(x)) → A(a(x))
A(d(x)) → A(x)
D(x) → A(x)
b(Begin(x)) → Right1(Wait(x))
a(Begin(x)) → Right2(Wait(x))
a(Begin(x)) → Right3(Wait(x))
End(a(Right1(x))) → End(r(b(Left(x))))
End(r(Right2(x))) → End(r(d(Left(x))))
End(d(Right3(x))) → End(d(a(a(Left(x)))))
a(Right1(x)) → Right1(Aa(x))
a(Right2(x)) → Right2(Aa(x))
a(Right3(x)) → Right3(Aa(x))
b(Right1(x)) → Right1(Ab(x))
b(Right2(x)) → Right2(Ab(x))
b(Right3(x)) → Right3(Ab(x))
r(Right1(x)) → Right1(Ar(x))
r(Right2(x)) → Right2(Ar(x))
r(Right3(x)) → Right3(Ar(x))
d(Right1(x)) → Right1(Ad(x))
d(Right2(x)) → Right2(Ad(x))
d(Right3(x)) → Right3(Ad(x))
Left(Aa(x)) → a(Left(x))
Left(Ab(x)) → b(Left(x))
Left(Ar(x)) → r(Left(x))
Left(Ad(x)) → d(Left(x))
Left(Wait(x)) → Begin(x)
b(a(x)) → r(b(x))
a(r(x)) → r(d(x))
r(x) → d(x)
a(d(x)) → d(a(a(x)))
d(x) → a(x)
R(x) → D(x)
D(x) → A(x)
A(r(x)) → R(d(x))
A(r(x)) → D(x)
A(d(x)) → D(a(a(x)))
A(d(x)) → A(a(x))
A(d(x)) → A(x)
b(Begin(x)) → Right1(Wait(x))
a(Begin(x)) → Right2(Wait(x))
a(Begin(x)) → Right3(Wait(x))
End(a(Right1(x))) → End(r(b(Left(x))))
End(r(Right2(x))) → End(r(d(Left(x))))
End(d(Right3(x))) → End(d(a(a(Left(x)))))
a(Right1(x)) → Right1(Aa(x))
a(Right2(x)) → Right2(Aa(x))
a(Right3(x)) → Right3(Aa(x))
b(Right1(x)) → Right1(Ab(x))
b(Right2(x)) → Right2(Ab(x))
b(Right3(x)) → Right3(Ab(x))
r(Right1(x)) → Right1(Ar(x))
r(Right2(x)) → Right2(Ar(x))
r(Right3(x)) → Right3(Ar(x))
d(Right1(x)) → Right1(Ad(x))
d(Right2(x)) → Right2(Ad(x))
d(Right3(x)) → Right3(Ad(x))
Left(Aa(x)) → a(Left(x))
Left(Ab(x)) → b(Left(x))
Left(Ar(x)) → r(Left(x))
Left(Ad(x)) → d(Left(x))
Left(Wait(x)) → Begin(x)
b(a(x)) → r(b(x))
a(r(x)) → r(d(x))
r(x) → d(x)
a(d(x)) → d(a(a(x)))
d(x) → a(x)
R(x) → D(x)
D(x) → A(x)
A(r(x)) → R(d(x))
A(r(x)) → D(x)
A(d(x)) → D(a(a(x)))
A(d(x)) → A(a(x))
A(d(x)) → A(x)
a(Begin(x)) → Right2(Wait(x))
a(Begin(x)) → Right3(Wait(x))
a(Right1(x)) → Right1(Aa(x))
a(Right2(x)) → Right2(Aa(x))
a(Right3(x)) → Right3(Aa(x))
a(r(x)) → r(d(x))
r(x) → d(x)
d(x) → a(x)
a(d(x)) → d(a(a(x)))
d(Right1(x)) → Right1(Ad(x))
d(Right2(x)) → Right2(Ad(x))
d(Right3(x)) → Right3(Ad(x))
r(Right1(x)) → Right1(Ar(x))
r(Right2(x)) → Right2(Ar(x))
r(Right3(x)) → Right3(Ar(x))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
A(r(x)) → R(d(x))
A(r(x)) → D(x)
POL(A(x1)) = x1
POL(Aa(x1)) = x1
POL(Ad(x1)) = x1
POL(Ar(x1)) = x1
POL(Begin(x1)) = x1
POL(D(x1)) = x1
POL(R(x1)) = x1
POL(Right1(x1)) = 0
POL(Right2(x1)) = 0
POL(Right3(x1)) = 0
POL(Wait(x1)) = x1
POL(a(x1)) = x1
POL(d(x1)) = x1
POL(r(x1)) = 1 + x1
a(r(x)) → r(d(x))
r(x) → d(x)
d(x) → a(x)
a(d(x)) → d(a(a(x)))
d(Right1(x)) → Right1(Ad(x))
d(Right2(x)) → Right2(Ad(x))
d(Right3(x)) → Right3(Ad(x))
a(Begin(x)) → Right2(Wait(x))
a(Begin(x)) → Right3(Wait(x))
a(Right1(x)) → Right1(Aa(x))
a(Right2(x)) → Right2(Aa(x))
a(Right3(x)) → Right3(Aa(x))
r(Right1(x)) → Right1(Ar(x))
r(Right2(x)) → Right2(Ar(x))
r(Right3(x)) → Right3(Ar(x))
R(x) → D(x)
D(x) → A(x)
A(d(x)) → D(a(a(x)))
A(d(x)) → A(a(x))
A(d(x)) → A(x)
a(Begin(x)) → Right2(Wait(x))
a(Begin(x)) → Right3(Wait(x))
a(Right1(x)) → Right1(Aa(x))
a(Right2(x)) → Right2(Aa(x))
a(Right3(x)) → Right3(Aa(x))
a(r(x)) → r(d(x))
r(x) → d(x)
d(x) → a(x)
a(d(x)) → d(a(a(x)))
d(Right1(x)) → Right1(Ad(x))
d(Right2(x)) → Right2(Ad(x))
d(Right3(x)) → Right3(Ad(x))
r(Right1(x)) → Right1(Ar(x))
r(Right2(x)) → Right2(Ar(x))
r(Right3(x)) → Right3(Ar(x))
B(a(x)) → B(x)
b(Begin(x)) → Right1(Wait(x))
a(Begin(x)) → Right2(Wait(x))
a(Begin(x)) → Right3(Wait(x))
End(a(Right1(x))) → End(r(b(Left(x))))
End(r(Right2(x))) → End(r(d(Left(x))))
End(d(Right3(x))) → End(d(a(a(Left(x)))))
a(Right1(x)) → Right1(Aa(x))
a(Right2(x)) → Right2(Aa(x))
a(Right3(x)) → Right3(Aa(x))
b(Right1(x)) → Right1(Ab(x))
b(Right2(x)) → Right2(Ab(x))
b(Right3(x)) → Right3(Ab(x))
r(Right1(x)) → Right1(Ar(x))
r(Right2(x)) → Right2(Ar(x))
r(Right3(x)) → Right3(Ar(x))
d(Right1(x)) → Right1(Ad(x))
d(Right2(x)) → Right2(Ad(x))
d(Right3(x)) → Right3(Ad(x))
Left(Aa(x)) → a(Left(x))
Left(Ab(x)) → b(Left(x))
Left(Ar(x)) → r(Left(x))
Left(Ad(x)) → d(Left(x))
Left(Wait(x)) → Begin(x)
b(a(x)) → r(b(x))
a(r(x)) → r(d(x))
r(x) → d(x)
a(d(x)) → d(a(a(x)))
d(x) → a(x)
B(a(x)) → B(x)
From the DPs we obtained the following set of size-change graphs:
LEFT(Ab(x)) → LEFT(x)
LEFT(Aa(x)) → LEFT(x)
LEFT(Ar(x)) → LEFT(x)
LEFT(Ad(x)) → LEFT(x)
b(Begin(x)) → Right1(Wait(x))
a(Begin(x)) → Right2(Wait(x))
a(Begin(x)) → Right3(Wait(x))
End(a(Right1(x))) → End(r(b(Left(x))))
End(r(Right2(x))) → End(r(d(Left(x))))
End(d(Right3(x))) → End(d(a(a(Left(x)))))
a(Right1(x)) → Right1(Aa(x))
a(Right2(x)) → Right2(Aa(x))
a(Right3(x)) → Right3(Aa(x))
b(Right1(x)) → Right1(Ab(x))
b(Right2(x)) → Right2(Ab(x))
b(Right3(x)) → Right3(Ab(x))
r(Right1(x)) → Right1(Ar(x))
r(Right2(x)) → Right2(Ar(x))
r(Right3(x)) → Right3(Ar(x))
d(Right1(x)) → Right1(Ad(x))
d(Right2(x)) → Right2(Ad(x))
d(Right3(x)) → Right3(Ad(x))
Left(Aa(x)) → a(Left(x))
Left(Ab(x)) → b(Left(x))
Left(Ar(x)) → r(Left(x))
Left(Ad(x)) → d(Left(x))
Left(Wait(x)) → Begin(x)
b(a(x)) → r(b(x))
a(r(x)) → r(d(x))
r(x) → d(x)
a(d(x)) → d(a(a(x)))
d(x) → a(x)
LEFT(Ab(x)) → LEFT(x)
LEFT(Aa(x)) → LEFT(x)
LEFT(Ar(x)) → LEFT(x)
LEFT(Ad(x)) → LEFT(x)
From the DPs we obtained the following set of size-change graphs:
END(r(Right2(x))) → END(r(d(Left(x))))
END(a(Right1(x))) → END(r(b(Left(x))))
END(d(Right3(x))) → END(d(a(a(Left(x)))))
b(Begin(x)) → Right1(Wait(x))
a(Begin(x)) → Right2(Wait(x))
a(Begin(x)) → Right3(Wait(x))
End(a(Right1(x))) → End(r(b(Left(x))))
End(r(Right2(x))) → End(r(d(Left(x))))
End(d(Right3(x))) → End(d(a(a(Left(x)))))
a(Right1(x)) → Right1(Aa(x))
a(Right2(x)) → Right2(Aa(x))
a(Right3(x)) → Right3(Aa(x))
b(Right1(x)) → Right1(Ab(x))
b(Right2(x)) → Right2(Ab(x))
b(Right3(x)) → Right3(Ab(x))
r(Right1(x)) → Right1(Ar(x))
r(Right2(x)) → Right2(Ar(x))
r(Right3(x)) → Right3(Ar(x))
d(Right1(x)) → Right1(Ad(x))
d(Right2(x)) → Right2(Ad(x))
d(Right3(x)) → Right3(Ad(x))
Left(Aa(x)) → a(Left(x))
Left(Ab(x)) → b(Left(x))
Left(Ar(x)) → r(Left(x))
Left(Ad(x)) → d(Left(x))
Left(Wait(x)) → Begin(x)
b(a(x)) → r(b(x))
a(r(x)) → r(d(x))
r(x) → d(x)
a(d(x)) → d(a(a(x)))
d(x) → a(x)
END(r(Right2(x))) → END(r(d(Left(x))))
END(a(Right1(x))) → END(r(b(Left(x))))
END(d(Right3(x))) → END(d(a(a(Left(x)))))
Left(Aa(x)) → a(Left(x))
Left(Ab(x)) → b(Left(x))
Left(Ar(x)) → r(Left(x))
Left(Ad(x)) → d(Left(x))
Left(Wait(x)) → Begin(x)
a(Begin(x)) → Right2(Wait(x))
a(Begin(x)) → Right3(Wait(x))
a(Right1(x)) → Right1(Aa(x))
a(Right2(x)) → Right2(Aa(x))
a(Right3(x)) → Right3(Aa(x))
a(r(x)) → r(d(x))
r(x) → d(x)
d(x) → a(x)
a(d(x)) → d(a(a(x)))
d(Right1(x)) → Right1(Ad(x))
d(Right2(x)) → Right2(Ad(x))
d(Right3(x)) → Right3(Ad(x))
r(Right1(x)) → Right1(Ar(x))
r(Right2(x)) → Right2(Ar(x))
r(Right3(x)) → Right3(Ar(x))
b(Begin(x)) → Right1(Wait(x))
b(Right1(x)) → Right1(Ab(x))
b(Right2(x)) → Right2(Ab(x))
b(Right3(x)) → Right3(Ab(x))
b(a(x)) → r(b(x))