YES
0 QTRS
↳1 DependencyPairsProof (⇔, 209 ms)
↳2 QDP
↳3 DependencyGraphProof (⇔, 0 ms)
↳4 AND
↳5 QDP
↳6 UsableRulesProof (⇔, 0 ms)
↳7 QDP
↳8 QDPOrderProof (⇔, 70 ms)
↳9 QDP
↳10 DependencyGraphProof (⇔, 0 ms)
↳11 QDP
↳12 QDPOrderProof (⇔, 25 ms)
↳13 QDP
↳14 UsableRulesProof (⇔, 0 ms)
↳15 QDP
↳16 QDPSizeChangeProof (⇔, 0 ms)
↳17 YES
↳18 QDP
↳19 UsableRulesProof (⇔, 0 ms)
↳20 QDP
↳21 DependencyGraphProof (⇔, 0 ms)
↳22 TRUE
0(1(1(x))) → 0(2(1(1(x))))
0(1(1(x))) → 0(0(2(1(1(x)))))
0(1(1(x))) → 0(2(1(2(1(x)))))
0(1(1(x))) → 2(1(0(2(1(x)))))
3(0(1(x))) → 1(3(0(0(2(4(x))))))
3(5(1(x))) → 1(3(4(5(x))))
3(5(1(x))) → 2(4(5(3(1(x)))))
5(1(3(x))) → 5(3(1(2(x))))
0(1(0(1(x)))) → 1(1(0(0(2(4(x))))))
0(1(2(3(x)))) → 3(1(5(0(2(x)))))
0(1(2(3(x)))) → 0(3(1(2(1(1(x))))))
0(1(4(1(x)))) → 0(2(1(2(4(1(x))))))
0(1(4(1(x)))) → 4(0(0(2(1(1(x))))))
0(1(5(1(x)))) → 0(0(2(1(1(5(x))))))
0(4(5(1(x)))) → 0(1(3(4(5(x)))))
3(2(0(1(x)))) → 1(3(0(2(4(5(x))))))
3(5(1(1(x)))) → 1(3(4(5(1(x)))))
3(5(1(1(x)))) → 1(5(3(1(2(x)))))
3(5(1(3(x)))) → 3(5(3(1(2(x)))))
3(5(4(1(x)))) → 4(1(3(4(5(x)))))
5(1(2(3(x)))) → 5(5(3(1(2(x)))))
5(2(0(1(x)))) → 5(3(1(0(2(4(x))))))
5(4(3(3(x)))) → 3(1(3(4(5(x)))))
5(5(0(1(x)))) → 1(0(2(4(5(5(x))))))
0(1(2(0(1(x))))) → 0(3(0(2(1(1(x))))))
0(1(2(2(1(x))))) → 0(2(1(2(1(3(x))))))
0(3(0(5(1(x))))) → 0(3(4(5(0(1(x))))))
0(3(4(2(3(x))))) → 0(5(3(4(3(2(x))))))
0(3(5(4(1(x))))) → 0(5(2(4(3(1(x))))))
0(4(1(2(3(x))))) → 0(3(2(4(5(1(x))))))
0(4(1(2(3(x))))) → 4(3(1(0(0(2(x))))))
0(4(5(5(1(x))))) → 2(4(5(5(0(1(x))))))
0(5(1(0(1(x))))) → 0(1(5(5(0(1(x))))))
0(5(3(2(1(x))))) → 0(0(2(5(3(1(x))))))
3(0(1(2(3(x))))) → 0(2(3(4(3(1(x))))))
3(0(1(2(3(x))))) → 1(1(3(3(0(2(x))))))
3(0(1(2(3(x))))) → 1(2(3(3(0(2(x))))))
3(0(4(1(1(x))))) → 0(0(1(3(4(1(x))))))
3(2(4(1(3(x))))) → 4(3(4(3(1(2(x))))))
3(3(4(1(1(x))))) → 1(3(4(5(3(1(x))))))
3(3(5(1(1(x))))) → 3(1(4(5(3(1(x))))))
3(5(4(1(3(x))))) → 1(4(5(3(1(3(x))))))
3(5(4(4(1(x))))) → 4(1(4(3(4(5(x))))))
5(2(4(2(3(x))))) → 3(2(4(5(3(2(x))))))
5(4(2(0(1(x))))) → 5(1(2(0(2(4(x))))))
01(1(1(x))) → 01(2(1(1(x))))
01(1(1(x))) → 01(0(2(1(1(x)))))
01(1(1(x))) → 01(2(1(2(1(x)))))
01(1(1(x))) → 01(2(1(x)))
31(0(1(x))) → 31(0(0(2(4(x)))))
31(0(1(x))) → 01(0(2(4(x))))
31(0(1(x))) → 01(2(4(x)))
31(5(1(x))) → 31(4(5(x)))
31(5(1(x))) → 51(x)
31(5(1(x))) → 51(3(1(x)))
31(5(1(x))) → 31(1(x))
51(1(3(x))) → 51(3(1(2(x))))
51(1(3(x))) → 31(1(2(x)))
01(1(0(1(x)))) → 01(0(2(4(x))))
01(1(0(1(x)))) → 01(2(4(x)))
01(1(2(3(x)))) → 31(1(5(0(2(x)))))
01(1(2(3(x)))) → 51(0(2(x)))
01(1(2(3(x)))) → 01(2(x))
01(1(2(3(x)))) → 01(3(1(2(1(1(x))))))
01(1(2(3(x)))) → 31(1(2(1(1(x)))))
01(1(4(1(x)))) → 01(2(1(2(4(1(x))))))
01(1(4(1(x)))) → 01(0(2(1(1(x)))))
01(1(4(1(x)))) → 01(2(1(1(x))))
01(1(5(1(x)))) → 01(0(2(1(1(5(x))))))
01(1(5(1(x)))) → 01(2(1(1(5(x)))))
01(1(5(1(x)))) → 51(x)
01(4(5(1(x)))) → 01(1(3(4(5(x)))))
01(4(5(1(x)))) → 31(4(5(x)))
01(4(5(1(x)))) → 51(x)
31(2(0(1(x)))) → 31(0(2(4(5(x)))))
31(2(0(1(x)))) → 01(2(4(5(x))))
31(2(0(1(x)))) → 51(x)
31(5(1(1(x)))) → 31(4(5(1(x))))
31(5(1(1(x)))) → 51(1(x))
31(5(1(1(x)))) → 51(3(1(2(x))))
31(5(1(1(x)))) → 31(1(2(x)))
31(5(1(3(x)))) → 31(5(3(1(2(x)))))
31(5(1(3(x)))) → 51(3(1(2(x))))
31(5(1(3(x)))) → 31(1(2(x)))
31(5(4(1(x)))) → 31(4(5(x)))
31(5(4(1(x)))) → 51(x)
51(1(2(3(x)))) → 51(5(3(1(2(x)))))
51(1(2(3(x)))) → 51(3(1(2(x))))
51(1(2(3(x)))) → 31(1(2(x)))
51(2(0(1(x)))) → 51(3(1(0(2(4(x))))))
51(2(0(1(x)))) → 31(1(0(2(4(x)))))
51(2(0(1(x)))) → 01(2(4(x)))
51(4(3(3(x)))) → 31(1(3(4(5(x)))))
51(4(3(3(x)))) → 31(4(5(x)))
51(4(3(3(x)))) → 51(x)
51(5(0(1(x)))) → 01(2(4(5(5(x)))))
51(5(0(1(x)))) → 51(5(x))
51(5(0(1(x)))) → 51(x)
01(1(2(0(1(x))))) → 01(3(0(2(1(1(x))))))
01(1(2(0(1(x))))) → 31(0(2(1(1(x)))))
01(1(2(0(1(x))))) → 01(2(1(1(x))))
01(1(2(2(1(x))))) → 01(2(1(2(1(3(x))))))
01(1(2(2(1(x))))) → 31(x)
01(3(0(5(1(x))))) → 01(3(4(5(0(1(x))))))
01(3(0(5(1(x))))) → 31(4(5(0(1(x)))))
01(3(0(5(1(x))))) → 51(0(1(x)))
01(3(0(5(1(x))))) → 01(1(x))
01(3(4(2(3(x))))) → 01(5(3(4(3(2(x))))))
01(3(4(2(3(x))))) → 51(3(4(3(2(x)))))
01(3(4(2(3(x))))) → 31(4(3(2(x))))
01(3(4(2(3(x))))) → 31(2(x))
01(3(5(4(1(x))))) → 01(5(2(4(3(1(x))))))
01(3(5(4(1(x))))) → 51(2(4(3(1(x)))))
01(3(5(4(1(x))))) → 31(1(x))
01(4(1(2(3(x))))) → 01(3(2(4(5(1(x))))))
01(4(1(2(3(x))))) → 31(2(4(5(1(x)))))
01(4(1(2(3(x))))) → 51(1(x))
01(4(1(2(3(x))))) → 31(1(0(0(2(x)))))
01(4(1(2(3(x))))) → 01(0(2(x)))
01(4(1(2(3(x))))) → 01(2(x))
01(4(5(5(1(x))))) → 51(5(0(1(x))))
01(4(5(5(1(x))))) → 51(0(1(x)))
01(4(5(5(1(x))))) → 01(1(x))
01(5(1(0(1(x))))) → 01(1(5(5(0(1(x))))))
01(5(1(0(1(x))))) → 51(5(0(1(x))))
01(5(1(0(1(x))))) → 51(0(1(x)))
01(5(3(2(1(x))))) → 01(0(2(5(3(1(x))))))
01(5(3(2(1(x))))) → 01(2(5(3(1(x)))))
01(5(3(2(1(x))))) → 51(3(1(x)))
01(5(3(2(1(x))))) → 31(1(x))
31(0(1(2(3(x))))) → 01(2(3(4(3(1(x))))))
31(0(1(2(3(x))))) → 31(4(3(1(x))))
31(0(1(2(3(x))))) → 31(1(x))
31(0(1(2(3(x))))) → 31(3(0(2(x))))
31(0(1(2(3(x))))) → 31(0(2(x)))
31(0(1(2(3(x))))) → 01(2(x))
31(0(4(1(1(x))))) → 01(0(1(3(4(1(x))))))
31(0(4(1(1(x))))) → 01(1(3(4(1(x)))))
31(0(4(1(1(x))))) → 31(4(1(x)))
31(2(4(1(3(x))))) → 31(4(3(1(2(x)))))
31(2(4(1(3(x))))) → 31(1(2(x)))
31(3(4(1(1(x))))) → 31(4(5(3(1(x)))))
31(3(4(1(1(x))))) → 51(3(1(x)))
31(3(4(1(1(x))))) → 31(1(x))
31(3(5(1(1(x))))) → 31(1(4(5(3(1(x))))))
31(3(5(1(1(x))))) → 51(3(1(x)))
31(3(5(1(1(x))))) → 31(1(x))
31(5(4(1(3(x))))) → 51(3(1(3(x))))
31(5(4(1(3(x))))) → 31(1(3(x)))
31(5(4(4(1(x))))) → 31(4(5(x)))
31(5(4(4(1(x))))) → 51(x)
51(2(4(2(3(x))))) → 31(2(4(5(3(2(x))))))
51(2(4(2(3(x))))) → 51(3(2(x)))
51(2(4(2(3(x))))) → 31(2(x))
51(4(2(0(1(x))))) → 51(1(2(0(2(4(x))))))
51(4(2(0(1(x))))) → 01(2(4(x)))
0(1(1(x))) → 0(2(1(1(x))))
0(1(1(x))) → 0(0(2(1(1(x)))))
0(1(1(x))) → 0(2(1(2(1(x)))))
0(1(1(x))) → 2(1(0(2(1(x)))))
3(0(1(x))) → 1(3(0(0(2(4(x))))))
3(5(1(x))) → 1(3(4(5(x))))
3(5(1(x))) → 2(4(5(3(1(x)))))
5(1(3(x))) → 5(3(1(2(x))))
0(1(0(1(x)))) → 1(1(0(0(2(4(x))))))
0(1(2(3(x)))) → 3(1(5(0(2(x)))))
0(1(2(3(x)))) → 0(3(1(2(1(1(x))))))
0(1(4(1(x)))) → 0(2(1(2(4(1(x))))))
0(1(4(1(x)))) → 4(0(0(2(1(1(x))))))
0(1(5(1(x)))) → 0(0(2(1(1(5(x))))))
0(4(5(1(x)))) → 0(1(3(4(5(x)))))
3(2(0(1(x)))) → 1(3(0(2(4(5(x))))))
3(5(1(1(x)))) → 1(3(4(5(1(x)))))
3(5(1(1(x)))) → 1(5(3(1(2(x)))))
3(5(1(3(x)))) → 3(5(3(1(2(x)))))
3(5(4(1(x)))) → 4(1(3(4(5(x)))))
5(1(2(3(x)))) → 5(5(3(1(2(x)))))
5(2(0(1(x)))) → 5(3(1(0(2(4(x))))))
5(4(3(3(x)))) → 3(1(3(4(5(x)))))
5(5(0(1(x)))) → 1(0(2(4(5(5(x))))))
0(1(2(0(1(x))))) → 0(3(0(2(1(1(x))))))
0(1(2(2(1(x))))) → 0(2(1(2(1(3(x))))))
0(3(0(5(1(x))))) → 0(3(4(5(0(1(x))))))
0(3(4(2(3(x))))) → 0(5(3(4(3(2(x))))))
0(3(5(4(1(x))))) → 0(5(2(4(3(1(x))))))
0(4(1(2(3(x))))) → 0(3(2(4(5(1(x))))))
0(4(1(2(3(x))))) → 4(3(1(0(0(2(x))))))
0(4(5(5(1(x))))) → 2(4(5(5(0(1(x))))))
0(5(1(0(1(x))))) → 0(1(5(5(0(1(x))))))
0(5(3(2(1(x))))) → 0(0(2(5(3(1(x))))))
3(0(1(2(3(x))))) → 0(2(3(4(3(1(x))))))
3(0(1(2(3(x))))) → 1(1(3(3(0(2(x))))))
3(0(1(2(3(x))))) → 1(2(3(3(0(2(x))))))
3(0(4(1(1(x))))) → 0(0(1(3(4(1(x))))))
3(2(4(1(3(x))))) → 4(3(4(3(1(2(x))))))
3(3(4(1(1(x))))) → 1(3(4(5(3(1(x))))))
3(3(5(1(1(x))))) → 3(1(4(5(3(1(x))))))
3(5(4(1(3(x))))) → 1(4(5(3(1(3(x))))))
3(5(4(4(1(x))))) → 4(1(4(3(4(5(x))))))
5(2(4(2(3(x))))) → 3(2(4(5(3(2(x))))))
5(4(2(0(1(x))))) → 5(1(2(0(2(4(x))))))
51(4(3(3(x)))) → 51(x)
51(5(0(1(x)))) → 51(5(x))
51(5(0(1(x)))) → 51(x)
51(2(4(2(3(x))))) → 51(3(2(x)))
51(2(4(2(3(x))))) → 31(2(x))
31(2(0(1(x)))) → 51(x)
0(1(1(x))) → 0(2(1(1(x))))
0(1(1(x))) → 0(0(2(1(1(x)))))
0(1(1(x))) → 0(2(1(2(1(x)))))
0(1(1(x))) → 2(1(0(2(1(x)))))
3(0(1(x))) → 1(3(0(0(2(4(x))))))
3(5(1(x))) → 1(3(4(5(x))))
3(5(1(x))) → 2(4(5(3(1(x)))))
5(1(3(x))) → 5(3(1(2(x))))
0(1(0(1(x)))) → 1(1(0(0(2(4(x))))))
0(1(2(3(x)))) → 3(1(5(0(2(x)))))
0(1(2(3(x)))) → 0(3(1(2(1(1(x))))))
0(1(4(1(x)))) → 0(2(1(2(4(1(x))))))
0(1(4(1(x)))) → 4(0(0(2(1(1(x))))))
0(1(5(1(x)))) → 0(0(2(1(1(5(x))))))
0(4(5(1(x)))) → 0(1(3(4(5(x)))))
3(2(0(1(x)))) → 1(3(0(2(4(5(x))))))
3(5(1(1(x)))) → 1(3(4(5(1(x)))))
3(5(1(1(x)))) → 1(5(3(1(2(x)))))
3(5(1(3(x)))) → 3(5(3(1(2(x)))))
3(5(4(1(x)))) → 4(1(3(4(5(x)))))
5(1(2(3(x)))) → 5(5(3(1(2(x)))))
5(2(0(1(x)))) → 5(3(1(0(2(4(x))))))
5(4(3(3(x)))) → 3(1(3(4(5(x)))))
5(5(0(1(x)))) → 1(0(2(4(5(5(x))))))
0(1(2(0(1(x))))) → 0(3(0(2(1(1(x))))))
0(1(2(2(1(x))))) → 0(2(1(2(1(3(x))))))
0(3(0(5(1(x))))) → 0(3(4(5(0(1(x))))))
0(3(4(2(3(x))))) → 0(5(3(4(3(2(x))))))
0(3(5(4(1(x))))) → 0(5(2(4(3(1(x))))))
0(4(1(2(3(x))))) → 0(3(2(4(5(1(x))))))
0(4(1(2(3(x))))) → 4(3(1(0(0(2(x))))))
0(4(5(5(1(x))))) → 2(4(5(5(0(1(x))))))
0(5(1(0(1(x))))) → 0(1(5(5(0(1(x))))))
0(5(3(2(1(x))))) → 0(0(2(5(3(1(x))))))
3(0(1(2(3(x))))) → 0(2(3(4(3(1(x))))))
3(0(1(2(3(x))))) → 1(1(3(3(0(2(x))))))
3(0(1(2(3(x))))) → 1(2(3(3(0(2(x))))))
3(0(4(1(1(x))))) → 0(0(1(3(4(1(x))))))
3(2(4(1(3(x))))) → 4(3(4(3(1(2(x))))))
3(3(4(1(1(x))))) → 1(3(4(5(3(1(x))))))
3(3(5(1(1(x))))) → 3(1(4(5(3(1(x))))))
3(5(4(1(3(x))))) → 1(4(5(3(1(3(x))))))
3(5(4(4(1(x))))) → 4(1(4(3(4(5(x))))))
5(2(4(2(3(x))))) → 3(2(4(5(3(2(x))))))
5(4(2(0(1(x))))) → 5(1(2(0(2(4(x))))))
51(4(3(3(x)))) → 51(x)
51(5(0(1(x)))) → 51(5(x))
51(5(0(1(x)))) → 51(x)
51(2(4(2(3(x))))) → 51(3(2(x)))
51(2(4(2(3(x))))) → 31(2(x))
31(2(0(1(x)))) → 51(x)
3(2(0(1(x)))) → 1(3(0(2(4(5(x))))))
3(2(4(1(3(x))))) → 4(3(4(3(1(2(x))))))
5(1(3(x))) → 5(3(1(2(x))))
5(1(2(3(x)))) → 5(5(3(1(2(x)))))
5(2(0(1(x)))) → 5(3(1(0(2(4(x))))))
5(4(3(3(x)))) → 3(1(3(4(5(x)))))
5(5(0(1(x)))) → 1(0(2(4(5(5(x))))))
5(2(4(2(3(x))))) → 3(2(4(5(3(2(x))))))
5(4(2(0(1(x))))) → 5(1(2(0(2(4(x))))))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
51(5(0(1(x)))) → 51(5(x))
51(5(0(1(x)))) → 51(x)
31(2(0(1(x)))) → 51(x)
POL(0(x1)) = 1 + x1
POL(1(x1)) = x1
POL(2(x1)) = x1
POL(3(x1)) = x1
POL(31(x1)) = 1 + x1
POL(4(x1)) = x1
POL(5(x1)) = x1
POL(51(x1)) = 1 + x1
5(1(3(x))) → 5(3(1(2(x))))
5(1(2(3(x)))) → 5(5(3(1(2(x)))))
5(2(0(1(x)))) → 5(3(1(0(2(4(x))))))
5(4(3(3(x)))) → 3(1(3(4(5(x)))))
5(5(0(1(x)))) → 1(0(2(4(5(5(x))))))
5(2(4(2(3(x))))) → 3(2(4(5(3(2(x))))))
5(4(2(0(1(x))))) → 5(1(2(0(2(4(x))))))
3(2(0(1(x)))) → 1(3(0(2(4(5(x))))))
3(2(4(1(3(x))))) → 4(3(4(3(1(2(x))))))
51(4(3(3(x)))) → 51(x)
51(2(4(2(3(x))))) → 51(3(2(x)))
51(2(4(2(3(x))))) → 31(2(x))
3(2(0(1(x)))) → 1(3(0(2(4(5(x))))))
3(2(4(1(3(x))))) → 4(3(4(3(1(2(x))))))
5(1(3(x))) → 5(3(1(2(x))))
5(1(2(3(x)))) → 5(5(3(1(2(x)))))
5(2(0(1(x)))) → 5(3(1(0(2(4(x))))))
5(4(3(3(x)))) → 3(1(3(4(5(x)))))
5(5(0(1(x)))) → 1(0(2(4(5(5(x))))))
5(2(4(2(3(x))))) → 3(2(4(5(3(2(x))))))
5(4(2(0(1(x))))) → 5(1(2(0(2(4(x))))))
51(2(4(2(3(x))))) → 51(3(2(x)))
51(4(3(3(x)))) → 51(x)
3(2(0(1(x)))) → 1(3(0(2(4(5(x))))))
3(2(4(1(3(x))))) → 4(3(4(3(1(2(x))))))
5(1(3(x))) → 5(3(1(2(x))))
5(1(2(3(x)))) → 5(5(3(1(2(x)))))
5(2(0(1(x)))) → 5(3(1(0(2(4(x))))))
5(4(3(3(x)))) → 3(1(3(4(5(x)))))
5(5(0(1(x)))) → 1(0(2(4(5(5(x))))))
5(2(4(2(3(x))))) → 3(2(4(5(3(2(x))))))
5(4(2(0(1(x))))) → 5(1(2(0(2(4(x))))))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
51(2(4(2(3(x))))) → 51(3(2(x)))
POL(0(x1)) = 0
POL(1(x1)) = 1
POL(2(x1)) = 1 + x1
POL(3(x1)) = x1
POL(4(x1)) = x1
POL(5(x1)) = 0
POL(51(x1)) = x1
3(2(0(1(x)))) → 1(3(0(2(4(5(x))))))
3(2(4(1(3(x))))) → 4(3(4(3(1(2(x))))))
51(4(3(3(x)))) → 51(x)
3(2(0(1(x)))) → 1(3(0(2(4(5(x))))))
3(2(4(1(3(x))))) → 4(3(4(3(1(2(x))))))
5(1(3(x))) → 5(3(1(2(x))))
5(1(2(3(x)))) → 5(5(3(1(2(x)))))
5(2(0(1(x)))) → 5(3(1(0(2(4(x))))))
5(4(3(3(x)))) → 3(1(3(4(5(x)))))
5(5(0(1(x)))) → 1(0(2(4(5(5(x))))))
5(2(4(2(3(x))))) → 3(2(4(5(3(2(x))))))
5(4(2(0(1(x))))) → 5(1(2(0(2(4(x))))))
51(4(3(3(x)))) → 51(x)
From the DPs we obtained the following set of size-change graphs:
01(4(1(2(3(x))))) → 01(3(2(4(5(1(x))))))
0(1(1(x))) → 0(2(1(1(x))))
0(1(1(x))) → 0(0(2(1(1(x)))))
0(1(1(x))) → 0(2(1(2(1(x)))))
0(1(1(x))) → 2(1(0(2(1(x)))))
3(0(1(x))) → 1(3(0(0(2(4(x))))))
3(5(1(x))) → 1(3(4(5(x))))
3(5(1(x))) → 2(4(5(3(1(x)))))
5(1(3(x))) → 5(3(1(2(x))))
0(1(0(1(x)))) → 1(1(0(0(2(4(x))))))
0(1(2(3(x)))) → 3(1(5(0(2(x)))))
0(1(2(3(x)))) → 0(3(1(2(1(1(x))))))
0(1(4(1(x)))) → 0(2(1(2(4(1(x))))))
0(1(4(1(x)))) → 4(0(0(2(1(1(x))))))
0(1(5(1(x)))) → 0(0(2(1(1(5(x))))))
0(4(5(1(x)))) → 0(1(3(4(5(x)))))
3(2(0(1(x)))) → 1(3(0(2(4(5(x))))))
3(5(1(1(x)))) → 1(3(4(5(1(x)))))
3(5(1(1(x)))) → 1(5(3(1(2(x)))))
3(5(1(3(x)))) → 3(5(3(1(2(x)))))
3(5(4(1(x)))) → 4(1(3(4(5(x)))))
5(1(2(3(x)))) → 5(5(3(1(2(x)))))
5(2(0(1(x)))) → 5(3(1(0(2(4(x))))))
5(4(3(3(x)))) → 3(1(3(4(5(x)))))
5(5(0(1(x)))) → 1(0(2(4(5(5(x))))))
0(1(2(0(1(x))))) → 0(3(0(2(1(1(x))))))
0(1(2(2(1(x))))) → 0(2(1(2(1(3(x))))))
0(3(0(5(1(x))))) → 0(3(4(5(0(1(x))))))
0(3(4(2(3(x))))) → 0(5(3(4(3(2(x))))))
0(3(5(4(1(x))))) → 0(5(2(4(3(1(x))))))
0(4(1(2(3(x))))) → 0(3(2(4(5(1(x))))))
0(4(1(2(3(x))))) → 4(3(1(0(0(2(x))))))
0(4(5(5(1(x))))) → 2(4(5(5(0(1(x))))))
0(5(1(0(1(x))))) → 0(1(5(5(0(1(x))))))
0(5(3(2(1(x))))) → 0(0(2(5(3(1(x))))))
3(0(1(2(3(x))))) → 0(2(3(4(3(1(x))))))
3(0(1(2(3(x))))) → 1(1(3(3(0(2(x))))))
3(0(1(2(3(x))))) → 1(2(3(3(0(2(x))))))
3(0(4(1(1(x))))) → 0(0(1(3(4(1(x))))))
3(2(4(1(3(x))))) → 4(3(4(3(1(2(x))))))
3(3(4(1(1(x))))) → 1(3(4(5(3(1(x))))))
3(3(5(1(1(x))))) → 3(1(4(5(3(1(x))))))
3(5(4(1(3(x))))) → 1(4(5(3(1(3(x))))))
3(5(4(4(1(x))))) → 4(1(4(3(4(5(x))))))
5(2(4(2(3(x))))) → 3(2(4(5(3(2(x))))))
5(4(2(0(1(x))))) → 5(1(2(0(2(4(x))))))
01(4(1(2(3(x))))) → 01(3(2(4(5(1(x))))))
5(1(3(x))) → 5(3(1(2(x))))
5(1(2(3(x)))) → 5(5(3(1(2(x)))))
3(2(4(1(3(x))))) → 4(3(4(3(1(2(x))))))