YES
0 QTRS
↳1 QTRSRRRProof (⇔, 536 ms)
↳2 QTRS
↳3 DependencyPairsProof (⇔, 133 ms)
↳4 QDP
↳5 DependencyGraphProof (⇔, 0 ms)
↳6 AND
↳7 QDP
↳8 UsableRulesProof (⇔, 6 ms)
↳9 QDP
↳10 QDPSizeChangeProof (⇔, 0 ms)
↳11 YES
↳12 QDP
↳13 UsableRulesProof (⇔, 4 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 (⇔, 3 ms)
↳24 QDP
↳25 QDPSizeChangeProof (⇔, 0 ms)
↳26 YES
↳27 QDP
↳28 UsableRulesProof (⇔, 2 ms)
↳29 QDP
↳30 QDPSizeChangeProof (⇔, 0 ms)
↳31 YES
↳32 QDP
↳33 UsableRulesProof (⇔, 3 ms)
↳34 QDP
↳35 QDPSizeChangeProof (⇔, 0 ms)
↳36 YES
↳37 QDP
↳38 UsableRulesProof (⇔, 0 ms)
↳39 QDP
↳40 QDPSizeChangeProof (⇔, 0 ms)
↳41 YES
↳42 QDP
↳43 UsableRulesProof (⇔, 72 ms)
↳44 QDP
↳45 QDPOrderProof (⇔, 729 ms)
↳46 QDP
↳47 DependencyGraphProof (⇔, 0 ms)
↳48 TRUE
Begin(1(2(3(4(5(4(5(x)))))))) → Wait(Right1(x))
Begin(2(3(4(5(4(5(x))))))) → Wait(Right2(x))
Begin(3(4(5(4(5(x)))))) → Wait(Right3(x))
Begin(4(5(4(5(x))))) → Wait(Right4(x))
Begin(5(4(5(x)))) → Wait(Right5(x))
Begin(4(5(x))) → Wait(Right6(x))
Begin(5(x)) → Wait(Right7(x))
Right1(0(End(x))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right2(0(1(End(x)))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right3(0(1(2(End(x))))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right4(0(1(2(3(End(x)))))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right5(0(1(2(3(4(End(x))))))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right6(0(1(2(3(4(5(End(x)))))))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right7(0(1(2(3(4(5(4(End(x))))))))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right1(0(x)) → A0(Right1(x))
Right2(0(x)) → A0(Right2(x))
Right3(0(x)) → A0(Right3(x))
Right4(0(x)) → A0(Right4(x))
Right5(0(x)) → A0(Right5(x))
Right6(0(x)) → A0(Right6(x))
Right7(0(x)) → A0(Right7(x))
Right1(1(x)) → A1(Right1(x))
Right2(1(x)) → A1(Right2(x))
Right3(1(x)) → A1(Right3(x))
Right4(1(x)) → A1(Right4(x))
Right5(1(x)) → A1(Right5(x))
Right6(1(x)) → A1(Right6(x))
Right7(1(x)) → A1(Right7(x))
Right1(2(x)) → A2(Right1(x))
Right2(2(x)) → A2(Right2(x))
Right3(2(x)) → A2(Right3(x))
Right4(2(x)) → A2(Right4(x))
Right5(2(x)) → A2(Right5(x))
Right6(2(x)) → A2(Right6(x))
Right7(2(x)) → A2(Right7(x))
Right1(3(x)) → A3(Right1(x))
Right2(3(x)) → A3(Right2(x))
Right3(3(x)) → A3(Right3(x))
Right4(3(x)) → A3(Right4(x))
Right5(3(x)) → A3(Right5(x))
Right6(3(x)) → A3(Right6(x))
Right7(3(x)) → A3(Right7(x))
Right1(4(x)) → A4(Right1(x))
Right2(4(x)) → A4(Right2(x))
Right3(4(x)) → A4(Right3(x))
Right4(4(x)) → A4(Right4(x))
Right5(4(x)) → A4(Right5(x))
Right6(4(x)) → A4(Right6(x))
Right7(4(x)) → A4(Right7(x))
Right1(5(x)) → A5(Right1(x))
Right2(5(x)) → A5(Right2(x))
Right3(5(x)) → A5(Right3(x))
Right4(5(x)) → A5(Right4(x))
Right5(5(x)) → A5(Right5(x))
Right6(5(x)) → A5(Right6(x))
Right7(5(x)) → A5(Right7(x))
A0(Left(x)) → Left(0(x))
A1(Left(x)) → Left(1(x))
A2(Left(x)) → Left(2(x))
A3(Left(x)) → Left(3(x))
A4(Left(x)) → Left(4(x))
A5(Left(x)) → Left(5(x))
Wait(Left(x)) → Begin(x)
0(x) → 1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(x)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))
2(x) → 3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(x)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))
0(1(2(3(4(5(4(5(x)))))))) → 0(1(2(3(4(4(5(5(x))))))))
With this ordering the following rules can be removed by the rule removal processor [LPAR04] because they are oriented strictly:
POL(0(x1)) = 1 + x1
POL(1(x1)) = x1
POL(2(x1)) = 1 + x1
POL(3(x1)) = x1
POL(4(x1)) = x1
POL(5(x1)) = x1
POL(A0(x1)) = 1 + x1
POL(A1(x1)) = x1
POL(A2(x1)) = 1 + x1
POL(A3(x1)) = x1
POL(A4(x1)) = x1
POL(A5(x1)) = x1
POL(Begin(x1)) = x1
POL(End(x1)) = x1
POL(Left(x1)) = x1
POL(Right1(x1)) = 1 + x1
POL(Right2(x1)) = 1 + x1
POL(Right3(x1)) = x1
POL(Right4(x1)) = x1
POL(Right5(x1)) = x1
POL(Right6(x1)) = x1
POL(Right7(x1)) = x1
POL(Wait(x1)) = x1
0(x) → 1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(1(x)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))
2(x) → 3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(3(x)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))
Begin(1(2(3(4(5(4(5(x)))))))) → Wait(Right1(x))
Begin(2(3(4(5(4(5(x))))))) → Wait(Right2(x))
Begin(3(4(5(4(5(x)))))) → Wait(Right3(x))
Begin(4(5(4(5(x))))) → Wait(Right4(x))
Begin(5(4(5(x)))) → Wait(Right5(x))
Begin(4(5(x))) → Wait(Right6(x))
Begin(5(x)) → Wait(Right7(x))
Right1(0(End(x))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right2(0(1(End(x)))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right3(0(1(2(End(x))))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right4(0(1(2(3(End(x)))))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right5(0(1(2(3(4(End(x))))))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right6(0(1(2(3(4(5(End(x)))))))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right7(0(1(2(3(4(5(4(End(x))))))))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right1(0(x)) → A0(Right1(x))
Right2(0(x)) → A0(Right2(x))
Right3(0(x)) → A0(Right3(x))
Right4(0(x)) → A0(Right4(x))
Right5(0(x)) → A0(Right5(x))
Right6(0(x)) → A0(Right6(x))
Right7(0(x)) → A0(Right7(x))
Right1(1(x)) → A1(Right1(x))
Right2(1(x)) → A1(Right2(x))
Right3(1(x)) → A1(Right3(x))
Right4(1(x)) → A1(Right4(x))
Right5(1(x)) → A1(Right5(x))
Right6(1(x)) → A1(Right6(x))
Right7(1(x)) → A1(Right7(x))
Right1(2(x)) → A2(Right1(x))
Right2(2(x)) → A2(Right2(x))
Right3(2(x)) → A2(Right3(x))
Right4(2(x)) → A2(Right4(x))
Right5(2(x)) → A2(Right5(x))
Right6(2(x)) → A2(Right6(x))
Right7(2(x)) → A2(Right7(x))
Right1(3(x)) → A3(Right1(x))
Right2(3(x)) → A3(Right2(x))
Right3(3(x)) → A3(Right3(x))
Right4(3(x)) → A3(Right4(x))
Right5(3(x)) → A3(Right5(x))
Right6(3(x)) → A3(Right6(x))
Right7(3(x)) → A3(Right7(x))
Right1(4(x)) → A4(Right1(x))
Right2(4(x)) → A4(Right2(x))
Right3(4(x)) → A4(Right3(x))
Right4(4(x)) → A4(Right4(x))
Right5(4(x)) → A4(Right5(x))
Right6(4(x)) → A4(Right6(x))
Right7(4(x)) → A4(Right7(x))
Right1(5(x)) → A5(Right1(x))
Right2(5(x)) → A5(Right2(x))
Right3(5(x)) → A5(Right3(x))
Right4(5(x)) → A5(Right4(x))
Right5(5(x)) → A5(Right5(x))
Right6(5(x)) → A5(Right6(x))
Right7(5(x)) → A5(Right7(x))
A0(Left(x)) → Left(0(x))
A1(Left(x)) → Left(1(x))
A2(Left(x)) → Left(2(x))
A3(Left(x)) → Left(3(x))
A4(Left(x)) → Left(4(x))
A5(Left(x)) → Left(5(x))
Wait(Left(x)) → Begin(x)
0(1(2(3(4(5(4(5(x)))))))) → 0(1(2(3(4(4(5(5(x))))))))
BEGIN(1(2(3(4(5(4(5(x)))))))) → WAIT(Right1(x))
BEGIN(1(2(3(4(5(4(5(x)))))))) → RIGHT1(x)
BEGIN(2(3(4(5(4(5(x))))))) → WAIT(Right2(x))
BEGIN(2(3(4(5(4(5(x))))))) → RIGHT2(x)
BEGIN(3(4(5(4(5(x)))))) → WAIT(Right3(x))
BEGIN(3(4(5(4(5(x)))))) → RIGHT3(x)
BEGIN(4(5(4(5(x))))) → WAIT(Right4(x))
BEGIN(4(5(4(5(x))))) → RIGHT4(x)
BEGIN(5(4(5(x)))) → WAIT(Right5(x))
BEGIN(5(4(5(x)))) → RIGHT5(x)
BEGIN(4(5(x))) → WAIT(Right6(x))
BEGIN(4(5(x))) → RIGHT6(x)
BEGIN(5(x)) → WAIT(Right7(x))
BEGIN(5(x)) → RIGHT7(x)
RIGHT1(0(End(x))) → 01(1(2(3(4(4(5(5(End(x)))))))))
RIGHT2(0(1(End(x)))) → 01(1(2(3(4(4(5(5(End(x)))))))))
RIGHT3(0(1(2(End(x))))) → 01(1(2(3(4(4(5(5(End(x)))))))))
RIGHT4(0(1(2(3(End(x)))))) → 01(1(2(3(4(4(5(5(End(x)))))))))
RIGHT5(0(1(2(3(4(End(x))))))) → 01(1(2(3(4(4(5(5(End(x)))))))))
RIGHT6(0(1(2(3(4(5(End(x)))))))) → 01(1(2(3(4(4(5(5(End(x)))))))))
RIGHT7(0(1(2(3(4(5(4(End(x))))))))) → 01(1(2(3(4(4(5(5(End(x)))))))))
RIGHT1(0(x)) → A01(Right1(x))
RIGHT1(0(x)) → RIGHT1(x)
RIGHT2(0(x)) → A01(Right2(x))
RIGHT2(0(x)) → RIGHT2(x)
RIGHT3(0(x)) → A01(Right3(x))
RIGHT3(0(x)) → RIGHT3(x)
RIGHT4(0(x)) → A01(Right4(x))
RIGHT4(0(x)) → RIGHT4(x)
RIGHT5(0(x)) → A01(Right5(x))
RIGHT5(0(x)) → RIGHT5(x)
RIGHT6(0(x)) → A01(Right6(x))
RIGHT6(0(x)) → RIGHT6(x)
RIGHT7(0(x)) → A01(Right7(x))
RIGHT7(0(x)) → RIGHT7(x)
RIGHT1(1(x)) → A11(Right1(x))
RIGHT1(1(x)) → RIGHT1(x)
RIGHT2(1(x)) → A11(Right2(x))
RIGHT2(1(x)) → RIGHT2(x)
RIGHT3(1(x)) → A11(Right3(x))
RIGHT3(1(x)) → RIGHT3(x)
RIGHT4(1(x)) → A11(Right4(x))
RIGHT4(1(x)) → RIGHT4(x)
RIGHT5(1(x)) → A11(Right5(x))
RIGHT5(1(x)) → RIGHT5(x)
RIGHT6(1(x)) → A11(Right6(x))
RIGHT6(1(x)) → RIGHT6(x)
RIGHT7(1(x)) → A11(Right7(x))
RIGHT7(1(x)) → RIGHT7(x)
RIGHT1(2(x)) → A21(Right1(x))
RIGHT1(2(x)) → RIGHT1(x)
RIGHT2(2(x)) → A21(Right2(x))
RIGHT2(2(x)) → RIGHT2(x)
RIGHT3(2(x)) → A21(Right3(x))
RIGHT3(2(x)) → RIGHT3(x)
RIGHT4(2(x)) → A21(Right4(x))
RIGHT4(2(x)) → RIGHT4(x)
RIGHT5(2(x)) → A21(Right5(x))
RIGHT5(2(x)) → RIGHT5(x)
RIGHT6(2(x)) → A21(Right6(x))
RIGHT6(2(x)) → RIGHT6(x)
RIGHT7(2(x)) → A21(Right7(x))
RIGHT7(2(x)) → RIGHT7(x)
RIGHT1(3(x)) → A31(Right1(x))
RIGHT1(3(x)) → RIGHT1(x)
RIGHT2(3(x)) → A31(Right2(x))
RIGHT2(3(x)) → RIGHT2(x)
RIGHT3(3(x)) → A31(Right3(x))
RIGHT3(3(x)) → RIGHT3(x)
RIGHT4(3(x)) → A31(Right4(x))
RIGHT4(3(x)) → RIGHT4(x)
RIGHT5(3(x)) → A31(Right5(x))
RIGHT5(3(x)) → RIGHT5(x)
RIGHT6(3(x)) → A31(Right6(x))
RIGHT6(3(x)) → RIGHT6(x)
RIGHT7(3(x)) → A31(Right7(x))
RIGHT7(3(x)) → RIGHT7(x)
RIGHT1(4(x)) → A41(Right1(x))
RIGHT1(4(x)) → RIGHT1(x)
RIGHT2(4(x)) → A41(Right2(x))
RIGHT2(4(x)) → RIGHT2(x)
RIGHT3(4(x)) → A41(Right3(x))
RIGHT3(4(x)) → RIGHT3(x)
RIGHT4(4(x)) → A41(Right4(x))
RIGHT4(4(x)) → RIGHT4(x)
RIGHT5(4(x)) → A41(Right5(x))
RIGHT5(4(x)) → RIGHT5(x)
RIGHT6(4(x)) → A41(Right6(x))
RIGHT6(4(x)) → RIGHT6(x)
RIGHT7(4(x)) → A41(Right7(x))
RIGHT7(4(x)) → RIGHT7(x)
RIGHT1(5(x)) → A51(Right1(x))
RIGHT1(5(x)) → RIGHT1(x)
RIGHT2(5(x)) → A51(Right2(x))
RIGHT2(5(x)) → RIGHT2(x)
RIGHT3(5(x)) → A51(Right3(x))
RIGHT3(5(x)) → RIGHT3(x)
RIGHT4(5(x)) → A51(Right4(x))
RIGHT4(5(x)) → RIGHT4(x)
RIGHT5(5(x)) → A51(Right5(x))
RIGHT5(5(x)) → RIGHT5(x)
RIGHT6(5(x)) → A51(Right6(x))
RIGHT6(5(x)) → RIGHT6(x)
RIGHT7(5(x)) → A51(Right7(x))
RIGHT7(5(x)) → RIGHT7(x)
A01(Left(x)) → 01(x)
WAIT(Left(x)) → BEGIN(x)
01(1(2(3(4(5(4(5(x)))))))) → 01(1(2(3(4(4(5(5(x))))))))
Begin(1(2(3(4(5(4(5(x)))))))) → Wait(Right1(x))
Begin(2(3(4(5(4(5(x))))))) → Wait(Right2(x))
Begin(3(4(5(4(5(x)))))) → Wait(Right3(x))
Begin(4(5(4(5(x))))) → Wait(Right4(x))
Begin(5(4(5(x)))) → Wait(Right5(x))
Begin(4(5(x))) → Wait(Right6(x))
Begin(5(x)) → Wait(Right7(x))
Right1(0(End(x))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right2(0(1(End(x)))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right3(0(1(2(End(x))))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right4(0(1(2(3(End(x)))))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right5(0(1(2(3(4(End(x))))))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right6(0(1(2(3(4(5(End(x)))))))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right7(0(1(2(3(4(5(4(End(x))))))))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right1(0(x)) → A0(Right1(x))
Right2(0(x)) → A0(Right2(x))
Right3(0(x)) → A0(Right3(x))
Right4(0(x)) → A0(Right4(x))
Right5(0(x)) → A0(Right5(x))
Right6(0(x)) → A0(Right6(x))
Right7(0(x)) → A0(Right7(x))
Right1(1(x)) → A1(Right1(x))
Right2(1(x)) → A1(Right2(x))
Right3(1(x)) → A1(Right3(x))
Right4(1(x)) → A1(Right4(x))
Right5(1(x)) → A1(Right5(x))
Right6(1(x)) → A1(Right6(x))
Right7(1(x)) → A1(Right7(x))
Right1(2(x)) → A2(Right1(x))
Right2(2(x)) → A2(Right2(x))
Right3(2(x)) → A2(Right3(x))
Right4(2(x)) → A2(Right4(x))
Right5(2(x)) → A2(Right5(x))
Right6(2(x)) → A2(Right6(x))
Right7(2(x)) → A2(Right7(x))
Right1(3(x)) → A3(Right1(x))
Right2(3(x)) → A3(Right2(x))
Right3(3(x)) → A3(Right3(x))
Right4(3(x)) → A3(Right4(x))
Right5(3(x)) → A3(Right5(x))
Right6(3(x)) → A3(Right6(x))
Right7(3(x)) → A3(Right7(x))
Right1(4(x)) → A4(Right1(x))
Right2(4(x)) → A4(Right2(x))
Right3(4(x)) → A4(Right3(x))
Right4(4(x)) → A4(Right4(x))
Right5(4(x)) → A4(Right5(x))
Right6(4(x)) → A4(Right6(x))
Right7(4(x)) → A4(Right7(x))
Right1(5(x)) → A5(Right1(x))
Right2(5(x)) → A5(Right2(x))
Right3(5(x)) → A5(Right3(x))
Right4(5(x)) → A5(Right4(x))
Right5(5(x)) → A5(Right5(x))
Right6(5(x)) → A5(Right6(x))
Right7(5(x)) → A5(Right7(x))
A0(Left(x)) → Left(0(x))
A1(Left(x)) → Left(1(x))
A2(Left(x)) → Left(2(x))
A3(Left(x)) → Left(3(x))
A4(Left(x)) → Left(4(x))
A5(Left(x)) → Left(5(x))
Wait(Left(x)) → Begin(x)
0(1(2(3(4(5(4(5(x)))))))) → 0(1(2(3(4(4(5(5(x))))))))
RIGHT7(1(x)) → RIGHT7(x)
RIGHT7(0(x)) → RIGHT7(x)
RIGHT7(2(x)) → RIGHT7(x)
RIGHT7(3(x)) → RIGHT7(x)
RIGHT7(4(x)) → RIGHT7(x)
RIGHT7(5(x)) → RIGHT7(x)
Begin(1(2(3(4(5(4(5(x)))))))) → Wait(Right1(x))
Begin(2(3(4(5(4(5(x))))))) → Wait(Right2(x))
Begin(3(4(5(4(5(x)))))) → Wait(Right3(x))
Begin(4(5(4(5(x))))) → Wait(Right4(x))
Begin(5(4(5(x)))) → Wait(Right5(x))
Begin(4(5(x))) → Wait(Right6(x))
Begin(5(x)) → Wait(Right7(x))
Right1(0(End(x))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right2(0(1(End(x)))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right3(0(1(2(End(x))))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right4(0(1(2(3(End(x)))))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right5(0(1(2(3(4(End(x))))))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right6(0(1(2(3(4(5(End(x)))))))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right7(0(1(2(3(4(5(4(End(x))))))))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right1(0(x)) → A0(Right1(x))
Right2(0(x)) → A0(Right2(x))
Right3(0(x)) → A0(Right3(x))
Right4(0(x)) → A0(Right4(x))
Right5(0(x)) → A0(Right5(x))
Right6(0(x)) → A0(Right6(x))
Right7(0(x)) → A0(Right7(x))
Right1(1(x)) → A1(Right1(x))
Right2(1(x)) → A1(Right2(x))
Right3(1(x)) → A1(Right3(x))
Right4(1(x)) → A1(Right4(x))
Right5(1(x)) → A1(Right5(x))
Right6(1(x)) → A1(Right6(x))
Right7(1(x)) → A1(Right7(x))
Right1(2(x)) → A2(Right1(x))
Right2(2(x)) → A2(Right2(x))
Right3(2(x)) → A2(Right3(x))
Right4(2(x)) → A2(Right4(x))
Right5(2(x)) → A2(Right5(x))
Right6(2(x)) → A2(Right6(x))
Right7(2(x)) → A2(Right7(x))
Right1(3(x)) → A3(Right1(x))
Right2(3(x)) → A3(Right2(x))
Right3(3(x)) → A3(Right3(x))
Right4(3(x)) → A3(Right4(x))
Right5(3(x)) → A3(Right5(x))
Right6(3(x)) → A3(Right6(x))
Right7(3(x)) → A3(Right7(x))
Right1(4(x)) → A4(Right1(x))
Right2(4(x)) → A4(Right2(x))
Right3(4(x)) → A4(Right3(x))
Right4(4(x)) → A4(Right4(x))
Right5(4(x)) → A4(Right5(x))
Right6(4(x)) → A4(Right6(x))
Right7(4(x)) → A4(Right7(x))
Right1(5(x)) → A5(Right1(x))
Right2(5(x)) → A5(Right2(x))
Right3(5(x)) → A5(Right3(x))
Right4(5(x)) → A5(Right4(x))
Right5(5(x)) → A5(Right5(x))
Right6(5(x)) → A5(Right6(x))
Right7(5(x)) → A5(Right7(x))
A0(Left(x)) → Left(0(x))
A1(Left(x)) → Left(1(x))
A2(Left(x)) → Left(2(x))
A3(Left(x)) → Left(3(x))
A4(Left(x)) → Left(4(x))
A5(Left(x)) → Left(5(x))
Wait(Left(x)) → Begin(x)
0(1(2(3(4(5(4(5(x)))))))) → 0(1(2(3(4(4(5(5(x))))))))
RIGHT7(1(x)) → RIGHT7(x)
RIGHT7(0(x)) → RIGHT7(x)
RIGHT7(2(x)) → RIGHT7(x)
RIGHT7(3(x)) → RIGHT7(x)
RIGHT7(4(x)) → RIGHT7(x)
RIGHT7(5(x)) → RIGHT7(x)
From the DPs we obtained the following set of size-change graphs:
RIGHT6(1(x)) → RIGHT6(x)
RIGHT6(0(x)) → RIGHT6(x)
RIGHT6(2(x)) → RIGHT6(x)
RIGHT6(3(x)) → RIGHT6(x)
RIGHT6(4(x)) → RIGHT6(x)
RIGHT6(5(x)) → RIGHT6(x)
Begin(1(2(3(4(5(4(5(x)))))))) → Wait(Right1(x))
Begin(2(3(4(5(4(5(x))))))) → Wait(Right2(x))
Begin(3(4(5(4(5(x)))))) → Wait(Right3(x))
Begin(4(5(4(5(x))))) → Wait(Right4(x))
Begin(5(4(5(x)))) → Wait(Right5(x))
Begin(4(5(x))) → Wait(Right6(x))
Begin(5(x)) → Wait(Right7(x))
Right1(0(End(x))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right2(0(1(End(x)))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right3(0(1(2(End(x))))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right4(0(1(2(3(End(x)))))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right5(0(1(2(3(4(End(x))))))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right6(0(1(2(3(4(5(End(x)))))))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right7(0(1(2(3(4(5(4(End(x))))))))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right1(0(x)) → A0(Right1(x))
Right2(0(x)) → A0(Right2(x))
Right3(0(x)) → A0(Right3(x))
Right4(0(x)) → A0(Right4(x))
Right5(0(x)) → A0(Right5(x))
Right6(0(x)) → A0(Right6(x))
Right7(0(x)) → A0(Right7(x))
Right1(1(x)) → A1(Right1(x))
Right2(1(x)) → A1(Right2(x))
Right3(1(x)) → A1(Right3(x))
Right4(1(x)) → A1(Right4(x))
Right5(1(x)) → A1(Right5(x))
Right6(1(x)) → A1(Right6(x))
Right7(1(x)) → A1(Right7(x))
Right1(2(x)) → A2(Right1(x))
Right2(2(x)) → A2(Right2(x))
Right3(2(x)) → A2(Right3(x))
Right4(2(x)) → A2(Right4(x))
Right5(2(x)) → A2(Right5(x))
Right6(2(x)) → A2(Right6(x))
Right7(2(x)) → A2(Right7(x))
Right1(3(x)) → A3(Right1(x))
Right2(3(x)) → A3(Right2(x))
Right3(3(x)) → A3(Right3(x))
Right4(3(x)) → A3(Right4(x))
Right5(3(x)) → A3(Right5(x))
Right6(3(x)) → A3(Right6(x))
Right7(3(x)) → A3(Right7(x))
Right1(4(x)) → A4(Right1(x))
Right2(4(x)) → A4(Right2(x))
Right3(4(x)) → A4(Right3(x))
Right4(4(x)) → A4(Right4(x))
Right5(4(x)) → A4(Right5(x))
Right6(4(x)) → A4(Right6(x))
Right7(4(x)) → A4(Right7(x))
Right1(5(x)) → A5(Right1(x))
Right2(5(x)) → A5(Right2(x))
Right3(5(x)) → A5(Right3(x))
Right4(5(x)) → A5(Right4(x))
Right5(5(x)) → A5(Right5(x))
Right6(5(x)) → A5(Right6(x))
Right7(5(x)) → A5(Right7(x))
A0(Left(x)) → Left(0(x))
A1(Left(x)) → Left(1(x))
A2(Left(x)) → Left(2(x))
A3(Left(x)) → Left(3(x))
A4(Left(x)) → Left(4(x))
A5(Left(x)) → Left(5(x))
Wait(Left(x)) → Begin(x)
0(1(2(3(4(5(4(5(x)))))))) → 0(1(2(3(4(4(5(5(x))))))))
RIGHT6(1(x)) → RIGHT6(x)
RIGHT6(0(x)) → RIGHT6(x)
RIGHT6(2(x)) → RIGHT6(x)
RIGHT6(3(x)) → RIGHT6(x)
RIGHT6(4(x)) → RIGHT6(x)
RIGHT6(5(x)) → RIGHT6(x)
From the DPs we obtained the following set of size-change graphs:
RIGHT5(1(x)) → RIGHT5(x)
RIGHT5(0(x)) → RIGHT5(x)
RIGHT5(2(x)) → RIGHT5(x)
RIGHT5(3(x)) → RIGHT5(x)
RIGHT5(4(x)) → RIGHT5(x)
RIGHT5(5(x)) → RIGHT5(x)
Begin(1(2(3(4(5(4(5(x)))))))) → Wait(Right1(x))
Begin(2(3(4(5(4(5(x))))))) → Wait(Right2(x))
Begin(3(4(5(4(5(x)))))) → Wait(Right3(x))
Begin(4(5(4(5(x))))) → Wait(Right4(x))
Begin(5(4(5(x)))) → Wait(Right5(x))
Begin(4(5(x))) → Wait(Right6(x))
Begin(5(x)) → Wait(Right7(x))
Right1(0(End(x))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right2(0(1(End(x)))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right3(0(1(2(End(x))))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right4(0(1(2(3(End(x)))))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right5(0(1(2(3(4(End(x))))))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right6(0(1(2(3(4(5(End(x)))))))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right7(0(1(2(3(4(5(4(End(x))))))))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right1(0(x)) → A0(Right1(x))
Right2(0(x)) → A0(Right2(x))
Right3(0(x)) → A0(Right3(x))
Right4(0(x)) → A0(Right4(x))
Right5(0(x)) → A0(Right5(x))
Right6(0(x)) → A0(Right6(x))
Right7(0(x)) → A0(Right7(x))
Right1(1(x)) → A1(Right1(x))
Right2(1(x)) → A1(Right2(x))
Right3(1(x)) → A1(Right3(x))
Right4(1(x)) → A1(Right4(x))
Right5(1(x)) → A1(Right5(x))
Right6(1(x)) → A1(Right6(x))
Right7(1(x)) → A1(Right7(x))
Right1(2(x)) → A2(Right1(x))
Right2(2(x)) → A2(Right2(x))
Right3(2(x)) → A2(Right3(x))
Right4(2(x)) → A2(Right4(x))
Right5(2(x)) → A2(Right5(x))
Right6(2(x)) → A2(Right6(x))
Right7(2(x)) → A2(Right7(x))
Right1(3(x)) → A3(Right1(x))
Right2(3(x)) → A3(Right2(x))
Right3(3(x)) → A3(Right3(x))
Right4(3(x)) → A3(Right4(x))
Right5(3(x)) → A3(Right5(x))
Right6(3(x)) → A3(Right6(x))
Right7(3(x)) → A3(Right7(x))
Right1(4(x)) → A4(Right1(x))
Right2(4(x)) → A4(Right2(x))
Right3(4(x)) → A4(Right3(x))
Right4(4(x)) → A4(Right4(x))
Right5(4(x)) → A4(Right5(x))
Right6(4(x)) → A4(Right6(x))
Right7(4(x)) → A4(Right7(x))
Right1(5(x)) → A5(Right1(x))
Right2(5(x)) → A5(Right2(x))
Right3(5(x)) → A5(Right3(x))
Right4(5(x)) → A5(Right4(x))
Right5(5(x)) → A5(Right5(x))
Right6(5(x)) → A5(Right6(x))
Right7(5(x)) → A5(Right7(x))
A0(Left(x)) → Left(0(x))
A1(Left(x)) → Left(1(x))
A2(Left(x)) → Left(2(x))
A3(Left(x)) → Left(3(x))
A4(Left(x)) → Left(4(x))
A5(Left(x)) → Left(5(x))
Wait(Left(x)) → Begin(x)
0(1(2(3(4(5(4(5(x)))))))) → 0(1(2(3(4(4(5(5(x))))))))
RIGHT5(1(x)) → RIGHT5(x)
RIGHT5(0(x)) → RIGHT5(x)
RIGHT5(2(x)) → RIGHT5(x)
RIGHT5(3(x)) → RIGHT5(x)
RIGHT5(4(x)) → RIGHT5(x)
RIGHT5(5(x)) → RIGHT5(x)
From the DPs we obtained the following set of size-change graphs:
RIGHT4(1(x)) → RIGHT4(x)
RIGHT4(0(x)) → RIGHT4(x)
RIGHT4(2(x)) → RIGHT4(x)
RIGHT4(3(x)) → RIGHT4(x)
RIGHT4(4(x)) → RIGHT4(x)
RIGHT4(5(x)) → RIGHT4(x)
Begin(1(2(3(4(5(4(5(x)))))))) → Wait(Right1(x))
Begin(2(3(4(5(4(5(x))))))) → Wait(Right2(x))
Begin(3(4(5(4(5(x)))))) → Wait(Right3(x))
Begin(4(5(4(5(x))))) → Wait(Right4(x))
Begin(5(4(5(x)))) → Wait(Right5(x))
Begin(4(5(x))) → Wait(Right6(x))
Begin(5(x)) → Wait(Right7(x))
Right1(0(End(x))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right2(0(1(End(x)))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right3(0(1(2(End(x))))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right4(0(1(2(3(End(x)))))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right5(0(1(2(3(4(End(x))))))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right6(0(1(2(3(4(5(End(x)))))))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right7(0(1(2(3(4(5(4(End(x))))))))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right1(0(x)) → A0(Right1(x))
Right2(0(x)) → A0(Right2(x))
Right3(0(x)) → A0(Right3(x))
Right4(0(x)) → A0(Right4(x))
Right5(0(x)) → A0(Right5(x))
Right6(0(x)) → A0(Right6(x))
Right7(0(x)) → A0(Right7(x))
Right1(1(x)) → A1(Right1(x))
Right2(1(x)) → A1(Right2(x))
Right3(1(x)) → A1(Right3(x))
Right4(1(x)) → A1(Right4(x))
Right5(1(x)) → A1(Right5(x))
Right6(1(x)) → A1(Right6(x))
Right7(1(x)) → A1(Right7(x))
Right1(2(x)) → A2(Right1(x))
Right2(2(x)) → A2(Right2(x))
Right3(2(x)) → A2(Right3(x))
Right4(2(x)) → A2(Right4(x))
Right5(2(x)) → A2(Right5(x))
Right6(2(x)) → A2(Right6(x))
Right7(2(x)) → A2(Right7(x))
Right1(3(x)) → A3(Right1(x))
Right2(3(x)) → A3(Right2(x))
Right3(3(x)) → A3(Right3(x))
Right4(3(x)) → A3(Right4(x))
Right5(3(x)) → A3(Right5(x))
Right6(3(x)) → A3(Right6(x))
Right7(3(x)) → A3(Right7(x))
Right1(4(x)) → A4(Right1(x))
Right2(4(x)) → A4(Right2(x))
Right3(4(x)) → A4(Right3(x))
Right4(4(x)) → A4(Right4(x))
Right5(4(x)) → A4(Right5(x))
Right6(4(x)) → A4(Right6(x))
Right7(4(x)) → A4(Right7(x))
Right1(5(x)) → A5(Right1(x))
Right2(5(x)) → A5(Right2(x))
Right3(5(x)) → A5(Right3(x))
Right4(5(x)) → A5(Right4(x))
Right5(5(x)) → A5(Right5(x))
Right6(5(x)) → A5(Right6(x))
Right7(5(x)) → A5(Right7(x))
A0(Left(x)) → Left(0(x))
A1(Left(x)) → Left(1(x))
A2(Left(x)) → Left(2(x))
A3(Left(x)) → Left(3(x))
A4(Left(x)) → Left(4(x))
A5(Left(x)) → Left(5(x))
Wait(Left(x)) → Begin(x)
0(1(2(3(4(5(4(5(x)))))))) → 0(1(2(3(4(4(5(5(x))))))))
RIGHT4(1(x)) → RIGHT4(x)
RIGHT4(0(x)) → RIGHT4(x)
RIGHT4(2(x)) → RIGHT4(x)
RIGHT4(3(x)) → RIGHT4(x)
RIGHT4(4(x)) → RIGHT4(x)
RIGHT4(5(x)) → RIGHT4(x)
From the DPs we obtained the following set of size-change graphs:
RIGHT3(1(x)) → RIGHT3(x)
RIGHT3(0(x)) → RIGHT3(x)
RIGHT3(2(x)) → RIGHT3(x)
RIGHT3(3(x)) → RIGHT3(x)
RIGHT3(4(x)) → RIGHT3(x)
RIGHT3(5(x)) → RIGHT3(x)
Begin(1(2(3(4(5(4(5(x)))))))) → Wait(Right1(x))
Begin(2(3(4(5(4(5(x))))))) → Wait(Right2(x))
Begin(3(4(5(4(5(x)))))) → Wait(Right3(x))
Begin(4(5(4(5(x))))) → Wait(Right4(x))
Begin(5(4(5(x)))) → Wait(Right5(x))
Begin(4(5(x))) → Wait(Right6(x))
Begin(5(x)) → Wait(Right7(x))
Right1(0(End(x))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right2(0(1(End(x)))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right3(0(1(2(End(x))))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right4(0(1(2(3(End(x)))))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right5(0(1(2(3(4(End(x))))))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right6(0(1(2(3(4(5(End(x)))))))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right7(0(1(2(3(4(5(4(End(x))))))))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right1(0(x)) → A0(Right1(x))
Right2(0(x)) → A0(Right2(x))
Right3(0(x)) → A0(Right3(x))
Right4(0(x)) → A0(Right4(x))
Right5(0(x)) → A0(Right5(x))
Right6(0(x)) → A0(Right6(x))
Right7(0(x)) → A0(Right7(x))
Right1(1(x)) → A1(Right1(x))
Right2(1(x)) → A1(Right2(x))
Right3(1(x)) → A1(Right3(x))
Right4(1(x)) → A1(Right4(x))
Right5(1(x)) → A1(Right5(x))
Right6(1(x)) → A1(Right6(x))
Right7(1(x)) → A1(Right7(x))
Right1(2(x)) → A2(Right1(x))
Right2(2(x)) → A2(Right2(x))
Right3(2(x)) → A2(Right3(x))
Right4(2(x)) → A2(Right4(x))
Right5(2(x)) → A2(Right5(x))
Right6(2(x)) → A2(Right6(x))
Right7(2(x)) → A2(Right7(x))
Right1(3(x)) → A3(Right1(x))
Right2(3(x)) → A3(Right2(x))
Right3(3(x)) → A3(Right3(x))
Right4(3(x)) → A3(Right4(x))
Right5(3(x)) → A3(Right5(x))
Right6(3(x)) → A3(Right6(x))
Right7(3(x)) → A3(Right7(x))
Right1(4(x)) → A4(Right1(x))
Right2(4(x)) → A4(Right2(x))
Right3(4(x)) → A4(Right3(x))
Right4(4(x)) → A4(Right4(x))
Right5(4(x)) → A4(Right5(x))
Right6(4(x)) → A4(Right6(x))
Right7(4(x)) → A4(Right7(x))
Right1(5(x)) → A5(Right1(x))
Right2(5(x)) → A5(Right2(x))
Right3(5(x)) → A5(Right3(x))
Right4(5(x)) → A5(Right4(x))
Right5(5(x)) → A5(Right5(x))
Right6(5(x)) → A5(Right6(x))
Right7(5(x)) → A5(Right7(x))
A0(Left(x)) → Left(0(x))
A1(Left(x)) → Left(1(x))
A2(Left(x)) → Left(2(x))
A3(Left(x)) → Left(3(x))
A4(Left(x)) → Left(4(x))
A5(Left(x)) → Left(5(x))
Wait(Left(x)) → Begin(x)
0(1(2(3(4(5(4(5(x)))))))) → 0(1(2(3(4(4(5(5(x))))))))
RIGHT3(1(x)) → RIGHT3(x)
RIGHT3(0(x)) → RIGHT3(x)
RIGHT3(2(x)) → RIGHT3(x)
RIGHT3(3(x)) → RIGHT3(x)
RIGHT3(4(x)) → RIGHT3(x)
RIGHT3(5(x)) → RIGHT3(x)
From the DPs we obtained the following set of size-change graphs:
RIGHT2(1(x)) → RIGHT2(x)
RIGHT2(0(x)) → RIGHT2(x)
RIGHT2(2(x)) → RIGHT2(x)
RIGHT2(3(x)) → RIGHT2(x)
RIGHT2(4(x)) → RIGHT2(x)
RIGHT2(5(x)) → RIGHT2(x)
Begin(1(2(3(4(5(4(5(x)))))))) → Wait(Right1(x))
Begin(2(3(4(5(4(5(x))))))) → Wait(Right2(x))
Begin(3(4(5(4(5(x)))))) → Wait(Right3(x))
Begin(4(5(4(5(x))))) → Wait(Right4(x))
Begin(5(4(5(x)))) → Wait(Right5(x))
Begin(4(5(x))) → Wait(Right6(x))
Begin(5(x)) → Wait(Right7(x))
Right1(0(End(x))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right2(0(1(End(x)))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right3(0(1(2(End(x))))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right4(0(1(2(3(End(x)))))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right5(0(1(2(3(4(End(x))))))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right6(0(1(2(3(4(5(End(x)))))))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right7(0(1(2(3(4(5(4(End(x))))))))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right1(0(x)) → A0(Right1(x))
Right2(0(x)) → A0(Right2(x))
Right3(0(x)) → A0(Right3(x))
Right4(0(x)) → A0(Right4(x))
Right5(0(x)) → A0(Right5(x))
Right6(0(x)) → A0(Right6(x))
Right7(0(x)) → A0(Right7(x))
Right1(1(x)) → A1(Right1(x))
Right2(1(x)) → A1(Right2(x))
Right3(1(x)) → A1(Right3(x))
Right4(1(x)) → A1(Right4(x))
Right5(1(x)) → A1(Right5(x))
Right6(1(x)) → A1(Right6(x))
Right7(1(x)) → A1(Right7(x))
Right1(2(x)) → A2(Right1(x))
Right2(2(x)) → A2(Right2(x))
Right3(2(x)) → A2(Right3(x))
Right4(2(x)) → A2(Right4(x))
Right5(2(x)) → A2(Right5(x))
Right6(2(x)) → A2(Right6(x))
Right7(2(x)) → A2(Right7(x))
Right1(3(x)) → A3(Right1(x))
Right2(3(x)) → A3(Right2(x))
Right3(3(x)) → A3(Right3(x))
Right4(3(x)) → A3(Right4(x))
Right5(3(x)) → A3(Right5(x))
Right6(3(x)) → A3(Right6(x))
Right7(3(x)) → A3(Right7(x))
Right1(4(x)) → A4(Right1(x))
Right2(4(x)) → A4(Right2(x))
Right3(4(x)) → A4(Right3(x))
Right4(4(x)) → A4(Right4(x))
Right5(4(x)) → A4(Right5(x))
Right6(4(x)) → A4(Right6(x))
Right7(4(x)) → A4(Right7(x))
Right1(5(x)) → A5(Right1(x))
Right2(5(x)) → A5(Right2(x))
Right3(5(x)) → A5(Right3(x))
Right4(5(x)) → A5(Right4(x))
Right5(5(x)) → A5(Right5(x))
Right6(5(x)) → A5(Right6(x))
Right7(5(x)) → A5(Right7(x))
A0(Left(x)) → Left(0(x))
A1(Left(x)) → Left(1(x))
A2(Left(x)) → Left(2(x))
A3(Left(x)) → Left(3(x))
A4(Left(x)) → Left(4(x))
A5(Left(x)) → Left(5(x))
Wait(Left(x)) → Begin(x)
0(1(2(3(4(5(4(5(x)))))))) → 0(1(2(3(4(4(5(5(x))))))))
RIGHT2(1(x)) → RIGHT2(x)
RIGHT2(0(x)) → RIGHT2(x)
RIGHT2(2(x)) → RIGHT2(x)
RIGHT2(3(x)) → RIGHT2(x)
RIGHT2(4(x)) → RIGHT2(x)
RIGHT2(5(x)) → RIGHT2(x)
From the DPs we obtained the following set of size-change graphs:
RIGHT1(1(x)) → RIGHT1(x)
RIGHT1(0(x)) → RIGHT1(x)
RIGHT1(2(x)) → RIGHT1(x)
RIGHT1(3(x)) → RIGHT1(x)
RIGHT1(4(x)) → RIGHT1(x)
RIGHT1(5(x)) → RIGHT1(x)
Begin(1(2(3(4(5(4(5(x)))))))) → Wait(Right1(x))
Begin(2(3(4(5(4(5(x))))))) → Wait(Right2(x))
Begin(3(4(5(4(5(x)))))) → Wait(Right3(x))
Begin(4(5(4(5(x))))) → Wait(Right4(x))
Begin(5(4(5(x)))) → Wait(Right5(x))
Begin(4(5(x))) → Wait(Right6(x))
Begin(5(x)) → Wait(Right7(x))
Right1(0(End(x))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right2(0(1(End(x)))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right3(0(1(2(End(x))))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right4(0(1(2(3(End(x)))))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right5(0(1(2(3(4(End(x))))))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right6(0(1(2(3(4(5(End(x)))))))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right7(0(1(2(3(4(5(4(End(x))))))))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right1(0(x)) → A0(Right1(x))
Right2(0(x)) → A0(Right2(x))
Right3(0(x)) → A0(Right3(x))
Right4(0(x)) → A0(Right4(x))
Right5(0(x)) → A0(Right5(x))
Right6(0(x)) → A0(Right6(x))
Right7(0(x)) → A0(Right7(x))
Right1(1(x)) → A1(Right1(x))
Right2(1(x)) → A1(Right2(x))
Right3(1(x)) → A1(Right3(x))
Right4(1(x)) → A1(Right4(x))
Right5(1(x)) → A1(Right5(x))
Right6(1(x)) → A1(Right6(x))
Right7(1(x)) → A1(Right7(x))
Right1(2(x)) → A2(Right1(x))
Right2(2(x)) → A2(Right2(x))
Right3(2(x)) → A2(Right3(x))
Right4(2(x)) → A2(Right4(x))
Right5(2(x)) → A2(Right5(x))
Right6(2(x)) → A2(Right6(x))
Right7(2(x)) → A2(Right7(x))
Right1(3(x)) → A3(Right1(x))
Right2(3(x)) → A3(Right2(x))
Right3(3(x)) → A3(Right3(x))
Right4(3(x)) → A3(Right4(x))
Right5(3(x)) → A3(Right5(x))
Right6(3(x)) → A3(Right6(x))
Right7(3(x)) → A3(Right7(x))
Right1(4(x)) → A4(Right1(x))
Right2(4(x)) → A4(Right2(x))
Right3(4(x)) → A4(Right3(x))
Right4(4(x)) → A4(Right4(x))
Right5(4(x)) → A4(Right5(x))
Right6(4(x)) → A4(Right6(x))
Right7(4(x)) → A4(Right7(x))
Right1(5(x)) → A5(Right1(x))
Right2(5(x)) → A5(Right2(x))
Right3(5(x)) → A5(Right3(x))
Right4(5(x)) → A5(Right4(x))
Right5(5(x)) → A5(Right5(x))
Right6(5(x)) → A5(Right6(x))
Right7(5(x)) → A5(Right7(x))
A0(Left(x)) → Left(0(x))
A1(Left(x)) → Left(1(x))
A2(Left(x)) → Left(2(x))
A3(Left(x)) → Left(3(x))
A4(Left(x)) → Left(4(x))
A5(Left(x)) → Left(5(x))
Wait(Left(x)) → Begin(x)
0(1(2(3(4(5(4(5(x)))))))) → 0(1(2(3(4(4(5(5(x))))))))
RIGHT1(1(x)) → RIGHT1(x)
RIGHT1(0(x)) → RIGHT1(x)
RIGHT1(2(x)) → RIGHT1(x)
RIGHT1(3(x)) → RIGHT1(x)
RIGHT1(4(x)) → RIGHT1(x)
RIGHT1(5(x)) → RIGHT1(x)
From the DPs we obtained the following set of size-change graphs:
WAIT(Left(x)) → BEGIN(x)
BEGIN(1(2(3(4(5(4(5(x)))))))) → WAIT(Right1(x))
BEGIN(2(3(4(5(4(5(x))))))) → WAIT(Right2(x))
BEGIN(3(4(5(4(5(x)))))) → WAIT(Right3(x))
BEGIN(4(5(4(5(x))))) → WAIT(Right4(x))
BEGIN(5(4(5(x)))) → WAIT(Right5(x))
BEGIN(4(5(x))) → WAIT(Right6(x))
BEGIN(5(x)) → WAIT(Right7(x))
Begin(1(2(3(4(5(4(5(x)))))))) → Wait(Right1(x))
Begin(2(3(4(5(4(5(x))))))) → Wait(Right2(x))
Begin(3(4(5(4(5(x)))))) → Wait(Right3(x))
Begin(4(5(4(5(x))))) → Wait(Right4(x))
Begin(5(4(5(x)))) → Wait(Right5(x))
Begin(4(5(x))) → Wait(Right6(x))
Begin(5(x)) → Wait(Right7(x))
Right1(0(End(x))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right2(0(1(End(x)))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right3(0(1(2(End(x))))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right4(0(1(2(3(End(x)))))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right5(0(1(2(3(4(End(x))))))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right6(0(1(2(3(4(5(End(x)))))))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right7(0(1(2(3(4(5(4(End(x))))))))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right1(0(x)) → A0(Right1(x))
Right2(0(x)) → A0(Right2(x))
Right3(0(x)) → A0(Right3(x))
Right4(0(x)) → A0(Right4(x))
Right5(0(x)) → A0(Right5(x))
Right6(0(x)) → A0(Right6(x))
Right7(0(x)) → A0(Right7(x))
Right1(1(x)) → A1(Right1(x))
Right2(1(x)) → A1(Right2(x))
Right3(1(x)) → A1(Right3(x))
Right4(1(x)) → A1(Right4(x))
Right5(1(x)) → A1(Right5(x))
Right6(1(x)) → A1(Right6(x))
Right7(1(x)) → A1(Right7(x))
Right1(2(x)) → A2(Right1(x))
Right2(2(x)) → A2(Right2(x))
Right3(2(x)) → A2(Right3(x))
Right4(2(x)) → A2(Right4(x))
Right5(2(x)) → A2(Right5(x))
Right6(2(x)) → A2(Right6(x))
Right7(2(x)) → A2(Right7(x))
Right1(3(x)) → A3(Right1(x))
Right2(3(x)) → A3(Right2(x))
Right3(3(x)) → A3(Right3(x))
Right4(3(x)) → A3(Right4(x))
Right5(3(x)) → A3(Right5(x))
Right6(3(x)) → A3(Right6(x))
Right7(3(x)) → A3(Right7(x))
Right1(4(x)) → A4(Right1(x))
Right2(4(x)) → A4(Right2(x))
Right3(4(x)) → A4(Right3(x))
Right4(4(x)) → A4(Right4(x))
Right5(4(x)) → A4(Right5(x))
Right6(4(x)) → A4(Right6(x))
Right7(4(x)) → A4(Right7(x))
Right1(5(x)) → A5(Right1(x))
Right2(5(x)) → A5(Right2(x))
Right3(5(x)) → A5(Right3(x))
Right4(5(x)) → A5(Right4(x))
Right5(5(x)) → A5(Right5(x))
Right6(5(x)) → A5(Right6(x))
Right7(5(x)) → A5(Right7(x))
A0(Left(x)) → Left(0(x))
A1(Left(x)) → Left(1(x))
A2(Left(x)) → Left(2(x))
A3(Left(x)) → Left(3(x))
A4(Left(x)) → Left(4(x))
A5(Left(x)) → Left(5(x))
Wait(Left(x)) → Begin(x)
0(1(2(3(4(5(4(5(x)))))))) → 0(1(2(3(4(4(5(5(x))))))))
WAIT(Left(x)) → BEGIN(x)
BEGIN(1(2(3(4(5(4(5(x)))))))) → WAIT(Right1(x))
BEGIN(2(3(4(5(4(5(x))))))) → WAIT(Right2(x))
BEGIN(3(4(5(4(5(x)))))) → WAIT(Right3(x))
BEGIN(4(5(4(5(x))))) → WAIT(Right4(x))
BEGIN(5(4(5(x)))) → WAIT(Right5(x))
BEGIN(4(5(x))) → WAIT(Right6(x))
BEGIN(5(x)) → WAIT(Right7(x))
Right7(0(1(2(3(4(5(4(End(x))))))))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right7(0(x)) → A0(Right7(x))
Right7(1(x)) → A1(Right7(x))
Right7(2(x)) → A2(Right7(x))
Right7(3(x)) → A3(Right7(x))
Right7(4(x)) → A4(Right7(x))
Right7(5(x)) → A5(Right7(x))
A5(Left(x)) → Left(5(x))
A4(Left(x)) → Left(4(x))
A3(Left(x)) → Left(3(x))
A2(Left(x)) → Left(2(x))
A1(Left(x)) → Left(1(x))
A0(Left(x)) → Left(0(x))
0(1(2(3(4(5(4(5(x)))))))) → 0(1(2(3(4(4(5(5(x))))))))
Right6(0(1(2(3(4(5(End(x)))))))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right6(0(x)) → A0(Right6(x))
Right6(1(x)) → A1(Right6(x))
Right6(2(x)) → A2(Right6(x))
Right6(3(x)) → A3(Right6(x))
Right6(4(x)) → A4(Right6(x))
Right6(5(x)) → A5(Right6(x))
Right5(0(1(2(3(4(End(x))))))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right5(0(x)) → A0(Right5(x))
Right5(1(x)) → A1(Right5(x))
Right5(2(x)) → A2(Right5(x))
Right5(3(x)) → A3(Right5(x))
Right5(4(x)) → A4(Right5(x))
Right5(5(x)) → A5(Right5(x))
Right4(0(1(2(3(End(x)))))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right4(0(x)) → A0(Right4(x))
Right4(1(x)) → A1(Right4(x))
Right4(2(x)) → A2(Right4(x))
Right4(3(x)) → A3(Right4(x))
Right4(4(x)) → A4(Right4(x))
Right4(5(x)) → A5(Right4(x))
Right3(0(1(2(End(x))))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right3(0(x)) → A0(Right3(x))
Right3(1(x)) → A1(Right3(x))
Right3(2(x)) → A2(Right3(x))
Right3(3(x)) → A3(Right3(x))
Right3(4(x)) → A4(Right3(x))
Right3(5(x)) → A5(Right3(x))
Right2(0(1(End(x)))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right2(0(x)) → A0(Right2(x))
Right2(1(x)) → A1(Right2(x))
Right2(2(x)) → A2(Right2(x))
Right2(3(x)) → A3(Right2(x))
Right2(4(x)) → A4(Right2(x))
Right2(5(x)) → A5(Right2(x))
Right1(0(End(x))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right1(0(x)) → A0(Right1(x))
Right1(1(x)) → A1(Right1(x))
Right1(2(x)) → A2(Right1(x))
Right1(3(x)) → A3(Right1(x))
Right1(4(x)) → A4(Right1(x))
Right1(5(x)) → A5(Right1(x))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
WAIT(Left(x)) → BEGIN(x)
BEGIN(1(2(3(4(5(4(5(x)))))))) → WAIT(Right1(x))
BEGIN(2(3(4(5(4(5(x))))))) → WAIT(Right2(x))
BEGIN(3(4(5(4(5(x)))))) → WAIT(Right3(x))
BEGIN(4(5(4(5(x))))) → WAIT(Right4(x))
BEGIN(5(4(5(x)))) → WAIT(Right5(x))
POL(0(x1)) = 0
POL(1(x1)) = x1
POL(2(x1)) = x1
POL(3(x1)) = x1
POL(4(x1)) = x1
POL(5(x1)) = 1 + x1
POL(A0(x1)) = 1
POL(A1(x1)) = x1
POL(A2(x1)) = x1
POL(A3(x1)) = x1
POL(A4(x1)) = x1
POL(A5(x1)) = 1 + x1
POL(BEGIN(x1)) = x1
POL(End(x1)) = x1
POL(Left(x1)) = 1 + x1
POL(Right1(x1)) = 1 + x1
POL(Right2(x1)) = 1 + x1
POL(Right3(x1)) = 1 + x1
POL(Right4(x1)) = 1 + x1
POL(Right5(x1)) = 1 + x1
POL(Right6(x1)) = 1 + x1
POL(Right7(x1)) = 1 + x1
POL(WAIT(x1)) = x1
Right1(0(End(x))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right1(0(x)) → A0(Right1(x))
Right1(1(x)) → A1(Right1(x))
Right1(2(x)) → A2(Right1(x))
Right1(3(x)) → A3(Right1(x))
Right1(4(x)) → A4(Right1(x))
Right1(5(x)) → A5(Right1(x))
Right2(0(1(End(x)))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right2(0(x)) → A0(Right2(x))
Right2(1(x)) → A1(Right2(x))
Right2(2(x)) → A2(Right2(x))
Right2(3(x)) → A3(Right2(x))
Right2(4(x)) → A4(Right2(x))
Right2(5(x)) → A5(Right2(x))
Right3(0(1(2(End(x))))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right3(0(x)) → A0(Right3(x))
Right3(1(x)) → A1(Right3(x))
Right3(2(x)) → A2(Right3(x))
Right3(3(x)) → A3(Right3(x))
Right3(4(x)) → A4(Right3(x))
Right3(5(x)) → A5(Right3(x))
Right4(0(1(2(3(End(x)))))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right4(0(x)) → A0(Right4(x))
Right4(1(x)) → A1(Right4(x))
Right4(2(x)) → A2(Right4(x))
Right4(3(x)) → A3(Right4(x))
Right4(4(x)) → A4(Right4(x))
Right4(5(x)) → A5(Right4(x))
Right5(0(1(2(3(4(End(x))))))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right5(0(x)) → A0(Right5(x))
Right5(1(x)) → A1(Right5(x))
Right5(2(x)) → A2(Right5(x))
Right5(3(x)) → A3(Right5(x))
Right5(4(x)) → A4(Right5(x))
Right5(5(x)) → A5(Right5(x))
Right6(0(1(2(3(4(5(End(x)))))))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right6(0(x)) → A0(Right6(x))
Right6(1(x)) → A1(Right6(x))
Right6(2(x)) → A2(Right6(x))
Right6(3(x)) → A3(Right6(x))
Right6(4(x)) → A4(Right6(x))
Right6(5(x)) → A5(Right6(x))
Right7(0(1(2(3(4(5(4(End(x))))))))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right7(0(x)) → A0(Right7(x))
Right7(1(x)) → A1(Right7(x))
Right7(2(x)) → A2(Right7(x))
Right7(3(x)) → A3(Right7(x))
Right7(4(x)) → A4(Right7(x))
Right7(5(x)) → A5(Right7(x))
A1(Left(x)) → Left(1(x))
A0(Left(x)) → Left(0(x))
A2(Left(x)) → Left(2(x))
A3(Left(x)) → Left(3(x))
A4(Left(x)) → Left(4(x))
A5(Left(x)) → Left(5(x))
0(1(2(3(4(5(4(5(x)))))))) → 0(1(2(3(4(4(5(5(x))))))))
BEGIN(4(5(x))) → WAIT(Right6(x))
BEGIN(5(x)) → WAIT(Right7(x))
Right7(0(1(2(3(4(5(4(End(x))))))))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right7(0(x)) → A0(Right7(x))
Right7(1(x)) → A1(Right7(x))
Right7(2(x)) → A2(Right7(x))
Right7(3(x)) → A3(Right7(x))
Right7(4(x)) → A4(Right7(x))
Right7(5(x)) → A5(Right7(x))
A5(Left(x)) → Left(5(x))
A4(Left(x)) → Left(4(x))
A3(Left(x)) → Left(3(x))
A2(Left(x)) → Left(2(x))
A1(Left(x)) → Left(1(x))
A0(Left(x)) → Left(0(x))
0(1(2(3(4(5(4(5(x)))))))) → 0(1(2(3(4(4(5(5(x))))))))
Right6(0(1(2(3(4(5(End(x)))))))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right6(0(x)) → A0(Right6(x))
Right6(1(x)) → A1(Right6(x))
Right6(2(x)) → A2(Right6(x))
Right6(3(x)) → A3(Right6(x))
Right6(4(x)) → A4(Right6(x))
Right6(5(x)) → A5(Right6(x))
Right5(0(1(2(3(4(End(x))))))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right5(0(x)) → A0(Right5(x))
Right5(1(x)) → A1(Right5(x))
Right5(2(x)) → A2(Right5(x))
Right5(3(x)) → A3(Right5(x))
Right5(4(x)) → A4(Right5(x))
Right5(5(x)) → A5(Right5(x))
Right4(0(1(2(3(End(x)))))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right4(0(x)) → A0(Right4(x))
Right4(1(x)) → A1(Right4(x))
Right4(2(x)) → A2(Right4(x))
Right4(3(x)) → A3(Right4(x))
Right4(4(x)) → A4(Right4(x))
Right4(5(x)) → A5(Right4(x))
Right3(0(1(2(End(x))))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right3(0(x)) → A0(Right3(x))
Right3(1(x)) → A1(Right3(x))
Right3(2(x)) → A2(Right3(x))
Right3(3(x)) → A3(Right3(x))
Right3(4(x)) → A4(Right3(x))
Right3(5(x)) → A5(Right3(x))
Right2(0(1(End(x)))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right2(0(x)) → A0(Right2(x))
Right2(1(x)) → A1(Right2(x))
Right2(2(x)) → A2(Right2(x))
Right2(3(x)) → A3(Right2(x))
Right2(4(x)) → A4(Right2(x))
Right2(5(x)) → A5(Right2(x))
Right1(0(End(x))) → Left(0(1(2(3(4(4(5(5(End(x))))))))))
Right1(0(x)) → A0(Right1(x))
Right1(1(x)) → A1(Right1(x))
Right1(2(x)) → A2(Right1(x))
Right1(3(x)) → A3(Right1(x))
Right1(4(x)) → A4(Right1(x))
Right1(5(x)) → A5(Right1(x))