NO
0 QTRS
↳1 QTRS Reverse (⇔, 0 ms)
↳2 QTRS
↳3 DependencyPairsProof (⇔, 47 ms)
↳4 QDP
↳5 DependencyGraphProof (⇔, 0 ms)
↳6 AND
↳7 QDP
↳8 UsableRulesProof (⇔, 0 ms)
↳9 QDP
↳10 QDPOrderProof (⇔, 147 ms)
↳11 QDP
↳12 NonTerminationLoopProof (⇒, 56 ms)
↳13 NO
↳14 QDP
↳15 UsableRulesProof (⇔, 0 ms)
↳16 QDP
↳17 QDPSizeChangeProof (⇔, 0 ms)
↳18 YES
↳19 QDP
↳20 UsableRulesProof (⇔, 15 ms)
↳21 QDP
Begin(a(a(x))) → Wait(Right1(x))
Begin(a(x)) → Wait(Right2(x))
Begin(a(b(x))) → Wait(Right3(x))
Begin(b(x)) → Wait(Right4(x))
Right1(a(End(x))) → Left(a(b(b(End(x)))))
Right2(a(a(End(x)))) → Left(a(b(b(End(x)))))
Right3(b(End(x))) → Left(a(b(a(End(x)))))
Right4(b(a(End(x)))) → Left(a(b(a(End(x)))))
Right1(a(x)) → Aa(Right1(x))
Right2(a(x)) → Aa(Right2(x))
Right3(a(x)) → Aa(Right3(x))
Right4(a(x)) → Aa(Right4(x))
Right1(b(x)) → Ab(Right1(x))
Right2(b(x)) → Ab(Right2(x))
Right3(b(x)) → Ab(Right3(x))
Right4(b(x)) → Ab(Right4(x))
Aa(Left(x)) → Left(a(x))
Ab(Left(x)) → Left(b(x))
Wait(Left(x)) → Begin(x)
a(a(a(x))) → a(b(b(x)))
b(a(b(x))) → a(b(a(x)))
a(a(Begin(x))) → Right1(Wait(x))
a(Begin(x)) → Right2(Wait(x))
b(a(Begin(x))) → Right3(Wait(x))
b(Begin(x)) → Right4(Wait(x))
End(a(Right1(x))) → End(b(b(a(Left(x)))))
End(a(a(Right2(x)))) → End(b(b(a(Left(x)))))
End(b(Right3(x))) → End(a(b(a(Left(x)))))
End(a(b(Right4(x)))) → End(a(b(a(Left(x)))))
a(Right1(x)) → Right1(Aa(x))
a(Right2(x)) → Right2(Aa(x))
a(Right3(x)) → Right3(Aa(x))
a(Right4(x)) → Right4(Aa(x))
b(Right1(x)) → Right1(Ab(x))
b(Right2(x)) → Right2(Ab(x))
b(Right3(x)) → Right3(Ab(x))
b(Right4(x)) → Right4(Ab(x))
Left(Aa(x)) → a(Left(x))
Left(Ab(x)) → b(Left(x))
Left(Wait(x)) → Begin(x)
a(a(a(x))) → b(b(a(x)))
b(a(b(x))) → a(b(a(x)))
END(a(Right1(x))) → END(b(b(a(Left(x)))))
END(a(Right1(x))) → B(b(a(Left(x))))
END(a(Right1(x))) → B(a(Left(x)))
END(a(Right1(x))) → A(Left(x))
END(a(Right1(x))) → LEFT(x)
END(a(a(Right2(x)))) → END(b(b(a(Left(x)))))
END(a(a(Right2(x)))) → B(b(a(Left(x))))
END(a(a(Right2(x)))) → B(a(Left(x)))
END(a(a(Right2(x)))) → A(Left(x))
END(a(a(Right2(x)))) → LEFT(x)
END(b(Right3(x))) → END(a(b(a(Left(x)))))
END(b(Right3(x))) → A(b(a(Left(x))))
END(b(Right3(x))) → B(a(Left(x)))
END(b(Right3(x))) → A(Left(x))
END(b(Right3(x))) → LEFT(x)
END(a(b(Right4(x)))) → END(a(b(a(Left(x)))))
END(a(b(Right4(x)))) → A(b(a(Left(x))))
END(a(b(Right4(x)))) → B(a(Left(x)))
END(a(b(Right4(x)))) → A(Left(x))
END(a(b(Right4(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)
A(a(a(x))) → B(b(a(x)))
A(a(a(x))) → B(a(x))
B(a(b(x))) → A(b(a(x)))
B(a(b(x))) → B(a(x))
B(a(b(x))) → A(x)
a(a(Begin(x))) → Right1(Wait(x))
a(Begin(x)) → Right2(Wait(x))
b(a(Begin(x))) → Right3(Wait(x))
b(Begin(x)) → Right4(Wait(x))
End(a(Right1(x))) → End(b(b(a(Left(x)))))
End(a(a(Right2(x)))) → End(b(b(a(Left(x)))))
End(b(Right3(x))) → End(a(b(a(Left(x)))))
End(a(b(Right4(x)))) → End(a(b(a(Left(x)))))
a(Right1(x)) → Right1(Aa(x))
a(Right2(x)) → Right2(Aa(x))
a(Right3(x)) → Right3(Aa(x))
a(Right4(x)) → Right4(Aa(x))
b(Right1(x)) → Right1(Ab(x))
b(Right2(x)) → Right2(Ab(x))
b(Right3(x)) → Right3(Ab(x))
b(Right4(x)) → Right4(Ab(x))
Left(Aa(x)) → a(Left(x))
Left(Ab(x)) → b(Left(x))
Left(Wait(x)) → Begin(x)
a(a(a(x))) → b(b(a(x)))
b(a(b(x))) → a(b(a(x)))
B(a(b(x))) → A(b(a(x)))
A(a(a(x))) → B(b(a(x)))
B(a(b(x))) → B(a(x))
B(a(b(x))) → A(x)
A(a(a(x))) → B(a(x))
a(a(Begin(x))) → Right1(Wait(x))
a(Begin(x)) → Right2(Wait(x))
b(a(Begin(x))) → Right3(Wait(x))
b(Begin(x)) → Right4(Wait(x))
End(a(Right1(x))) → End(b(b(a(Left(x)))))
End(a(a(Right2(x)))) → End(b(b(a(Left(x)))))
End(b(Right3(x))) → End(a(b(a(Left(x)))))
End(a(b(Right4(x)))) → End(a(b(a(Left(x)))))
a(Right1(x)) → Right1(Aa(x))
a(Right2(x)) → Right2(Aa(x))
a(Right3(x)) → Right3(Aa(x))
a(Right4(x)) → Right4(Aa(x))
b(Right1(x)) → Right1(Ab(x))
b(Right2(x)) → Right2(Ab(x))
b(Right3(x)) → Right3(Ab(x))
b(Right4(x)) → Right4(Ab(x))
Left(Aa(x)) → a(Left(x))
Left(Ab(x)) → b(Left(x))
Left(Wait(x)) → Begin(x)
a(a(a(x))) → b(b(a(x)))
b(a(b(x))) → a(b(a(x)))
B(a(b(x))) → A(b(a(x)))
A(a(a(x))) → B(b(a(x)))
B(a(b(x))) → B(a(x))
B(a(b(x))) → A(x)
A(a(a(x))) → B(a(x))
a(a(Begin(x))) → Right1(Wait(x))
a(Begin(x)) → Right2(Wait(x))
a(Right1(x)) → Right1(Aa(x))
a(Right2(x)) → Right2(Aa(x))
a(Right3(x)) → Right3(Aa(x))
a(Right4(x)) → Right4(Aa(x))
a(a(a(x))) → b(b(a(x)))
b(a(b(x))) → a(b(a(x)))
b(a(Begin(x))) → Right3(Wait(x))
b(Begin(x)) → Right4(Wait(x))
b(Right1(x)) → Right1(Ab(x))
b(Right2(x)) → Right2(Ab(x))
b(Right3(x)) → Right3(Ab(x))
b(Right4(x)) → Right4(Ab(x))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
B(a(b(x))) → B(a(x))
B(a(b(x))) → A(x)
A(a(a(x))) → B(a(x))
POL(A(x1)) = x1
POL(Aa(x1)) = x1
POL(Ab(x1)) = x1
POL(B(x1)) = x1
POL(Begin(x1)) = x1
POL(Right1(x1)) = 0
POL(Right2(x1)) = 0
POL(Right3(x1)) = 0
POL(Right4(x1)) = 0
POL(Wait(x1)) = x1
POL(a(x1)) = 1 + x1
POL(b(x1)) = 1 + x1
a(a(Begin(x))) → Right1(Wait(x))
a(Begin(x)) → Right2(Wait(x))
a(Right1(x)) → Right1(Aa(x))
a(Right2(x)) → Right2(Aa(x))
a(Right3(x)) → Right3(Aa(x))
a(Right4(x)) → Right4(Aa(x))
a(a(a(x))) → b(b(a(x)))
b(a(b(x))) → a(b(a(x)))
b(a(Begin(x))) → Right3(Wait(x))
b(Begin(x)) → Right4(Wait(x))
b(Right1(x)) → Right1(Ab(x))
b(Right2(x)) → Right2(Ab(x))
b(Right3(x)) → Right3(Ab(x))
b(Right4(x)) → Right4(Ab(x))
B(a(b(x))) → A(b(a(x)))
A(a(a(x))) → B(b(a(x)))
a(a(Begin(x))) → Right1(Wait(x))
a(Begin(x)) → Right2(Wait(x))
a(Right1(x)) → Right1(Aa(x))
a(Right2(x)) → Right2(Aa(x))
a(Right3(x)) → Right3(Aa(x))
a(Right4(x)) → Right4(Aa(x))
a(a(a(x))) → b(b(a(x)))
b(a(b(x))) → a(b(a(x)))
b(a(Begin(x))) → Right3(Wait(x))
b(Begin(x)) → Right4(Wait(x))
b(Right1(x)) → Right1(Ab(x))
b(Right2(x)) → Right2(Ab(x))
b(Right3(x)) → Right3(Ab(x))
b(Right4(x)) → Right4(Ab(x))
LEFT(Ab(x)) → LEFT(x)
LEFT(Aa(x)) → LEFT(x)
a(a(Begin(x))) → Right1(Wait(x))
a(Begin(x)) → Right2(Wait(x))
b(a(Begin(x))) → Right3(Wait(x))
b(Begin(x)) → Right4(Wait(x))
End(a(Right1(x))) → End(b(b(a(Left(x)))))
End(a(a(Right2(x)))) → End(b(b(a(Left(x)))))
End(b(Right3(x))) → End(a(b(a(Left(x)))))
End(a(b(Right4(x)))) → End(a(b(a(Left(x)))))
a(Right1(x)) → Right1(Aa(x))
a(Right2(x)) → Right2(Aa(x))
a(Right3(x)) → Right3(Aa(x))
a(Right4(x)) → Right4(Aa(x))
b(Right1(x)) → Right1(Ab(x))
b(Right2(x)) → Right2(Ab(x))
b(Right3(x)) → Right3(Ab(x))
b(Right4(x)) → Right4(Ab(x))
Left(Aa(x)) → a(Left(x))
Left(Ab(x)) → b(Left(x))
Left(Wait(x)) → Begin(x)
a(a(a(x))) → b(b(a(x)))
b(a(b(x))) → a(b(a(x)))
LEFT(Ab(x)) → LEFT(x)
LEFT(Aa(x)) → LEFT(x)
From the DPs we obtained the following set of size-change graphs:
END(a(a(Right2(x)))) → END(b(b(a(Left(x)))))
END(a(Right1(x))) → END(b(b(a(Left(x)))))
END(b(Right3(x))) → END(a(b(a(Left(x)))))
END(a(b(Right4(x)))) → END(a(b(a(Left(x)))))
a(a(Begin(x))) → Right1(Wait(x))
a(Begin(x)) → Right2(Wait(x))
b(a(Begin(x))) → Right3(Wait(x))
b(Begin(x)) → Right4(Wait(x))
End(a(Right1(x))) → End(b(b(a(Left(x)))))
End(a(a(Right2(x)))) → End(b(b(a(Left(x)))))
End(b(Right3(x))) → End(a(b(a(Left(x)))))
End(a(b(Right4(x)))) → End(a(b(a(Left(x)))))
a(Right1(x)) → Right1(Aa(x))
a(Right2(x)) → Right2(Aa(x))
a(Right3(x)) → Right3(Aa(x))
a(Right4(x)) → Right4(Aa(x))
b(Right1(x)) → Right1(Ab(x))
b(Right2(x)) → Right2(Ab(x))
b(Right3(x)) → Right3(Ab(x))
b(Right4(x)) → Right4(Ab(x))
Left(Aa(x)) → a(Left(x))
Left(Ab(x)) → b(Left(x))
Left(Wait(x)) → Begin(x)
a(a(a(x))) → b(b(a(x)))
b(a(b(x))) → a(b(a(x)))
END(a(a(Right2(x)))) → END(b(b(a(Left(x)))))
END(a(Right1(x))) → END(b(b(a(Left(x)))))
END(b(Right3(x))) → END(a(b(a(Left(x)))))
END(a(b(Right4(x)))) → END(a(b(a(Left(x)))))
Left(Aa(x)) → a(Left(x))
Left(Ab(x)) → b(Left(x))
Left(Wait(x)) → Begin(x)
a(a(Begin(x))) → Right1(Wait(x))
a(Begin(x)) → Right2(Wait(x))
a(Right1(x)) → Right1(Aa(x))
a(Right2(x)) → Right2(Aa(x))
a(Right3(x)) → Right3(Aa(x))
a(Right4(x)) → Right4(Aa(x))
a(a(a(x))) → b(b(a(x)))
b(a(b(x))) → a(b(a(x)))
b(a(Begin(x))) → Right3(Wait(x))
b(Begin(x)) → Right4(Wait(x))
b(Right1(x)) → Right1(Ab(x))
b(Right2(x)) → Right2(Ab(x))
b(Right3(x)) → Right3(Ab(x))
b(Right4(x)) → Right4(Ab(x))