YES
0 QTRS
↳1 DependencyPairsProof (⇔, 135 ms)
↳2 QDP
↳3 DependencyGraphProof (⇔, 1 ms)
↳4 QDP
↳5 QDPOrderProof (⇔, 181 ms)
↳6 QDP
↳7 DependencyGraphProof (⇔, 0 ms)
↳8 QDP
↳9 UsableRulesProof (⇔, 0 ms)
↳10 QDP
↳11 QDPSizeChangeProof (⇔, 1 ms)
↳12 YES
0(1(0(2(x)))) → 0(0(3(1(2(x)))))
0(1(3(4(x)))) → 0(4(1(0(3(x)))))
0(1(3(4(x)))) → 0(4(1(1(3(x)))))
0(1(3(4(x)))) → 0(4(1(3(1(x)))))
0(2(1(4(x)))) → 0(4(1(2(3(x)))))
0(2(1(4(x)))) → 0(4(1(3(2(x)))))
0(2(1(4(x)))) → 2(0(4(1(4(x)))))
0(2(1(4(x)))) → 5(5(0(4(1(2(x))))))
0(2(1(5(x)))) → 5(0(4(1(2(x)))))
0(2(2(4(x)))) → 0(4(2(2(5(x)))))
0(2(2(4(x)))) → 0(4(2(5(2(x)))))
3(4(0(2(x)))) → 3(0(4(5(2(x)))))
3(4(0(2(x)))) → 3(5(0(4(2(x)))))
0(0(1(4(5(x))))) → 0(4(1(0(3(5(x))))))
0(1(0(2(4(x))))) → 2(0(0(4(1(1(x))))))
0(1(2(3(4(x))))) → 2(0(4(1(0(3(x))))))
0(1(3(3(4(x))))) → 0(0(3(1(3(4(x))))))
0(1(4(0(2(x))))) → 0(4(1(5(0(2(x))))))
0(1(4(1(5(x))))) → 2(5(0(4(1(1(x))))))
0(1(4(3(4(x))))) → 0(4(0(3(1(4(x))))))
0(1(4(3(4(x))))) → 3(0(4(1(5(4(x))))))
0(1(4(3(5(x))))) → 5(4(5(0(3(1(x))))))
0(1(5(0(2(x))))) → 0(0(4(1(2(5(x))))))
0(1(5(1(4(x))))) → 4(5(0(3(1(1(x))))))
0(2(1(4(4(x))))) → 0(4(1(2(4(3(x))))))
0(2(1(4(5(x))))) → 0(4(1(2(5(2(x))))))
0(2(1(5(4(x))))) → 5(0(2(0(4(1(x))))))
0(2(4(1(5(x))))) → 5(0(4(1(5(2(x))))))
0(2(4(3(5(x))))) → 0(4(5(2(5(3(x))))))
0(2(5(1(4(x))))) → 0(0(5(4(1(2(x))))))
3(0(1(3(2(x))))) → 0(3(1(0(3(2(x))))))
3(0(2(1(4(x))))) → 4(0(4(1(3(2(x))))))
3(0(2(1(5(x))))) → 5(3(2(0(4(1(x))))))
3(0(4(0(2(x))))) → 0(3(4(0(4(2(x))))))
3(0(4(0(2(x))))) → 0(4(1(2(0(3(x))))))
3(0(5(1(4(x))))) → 3(0(4(1(1(5(x))))))
3(0(5(1(5(x))))) → 0(4(1(3(5(5(x))))))
3(2(4(1(2(x))))) → 3(1(2(2(5(4(x))))))
3(2(4(1(5(x))))) → 3(1(4(5(2(5(x))))))
3(4(0(1(2(x))))) → 0(4(2(0(3(1(x))))))
3(4(0(1(4(x))))) → 0(4(1(5(3(4(x))))))
3(4(0(1(5(x))))) → 0(4(1(5(5(3(x))))))
3(4(0(2(4(x))))) → 0(3(4(0(4(2(x))))))
3(4(1(2(4(x))))) → 0(4(1(2(4(3(x))))))
3(4(1(3(5(x))))) → 4(3(0(3(1(5(x))))))
3(4(3(0(2(x))))) → 3(3(0(4(1(2(x))))))
3(4(5(0(2(x))))) → 0(3(0(4(2(5(x))))))
3(5(0(2(2(x))))) → 0(3(2(5(2(5(x))))))
3(5(2(1(4(x))))) → 3(5(1(0(4(2(x))))))
01(1(0(2(x)))) → 01(0(3(1(2(x)))))
01(1(0(2(x)))) → 01(3(1(2(x))))
01(1(0(2(x)))) → 31(1(2(x)))
01(1(3(4(x)))) → 01(4(1(0(3(x)))))
01(1(3(4(x)))) → 01(3(x))
01(1(3(4(x)))) → 31(x)
01(1(3(4(x)))) → 01(4(1(1(3(x)))))
01(1(3(4(x)))) → 01(4(1(3(1(x)))))
01(1(3(4(x)))) → 31(1(x))
01(2(1(4(x)))) → 01(4(1(2(3(x)))))
01(2(1(4(x)))) → 31(x)
01(2(1(4(x)))) → 01(4(1(3(2(x)))))
01(2(1(4(x)))) → 31(2(x))
01(2(1(4(x)))) → 01(4(1(4(x))))
01(2(1(4(x)))) → 01(4(1(2(x))))
01(2(1(5(x)))) → 01(4(1(2(x))))
01(2(2(4(x)))) → 01(4(2(2(5(x)))))
01(2(2(4(x)))) → 01(4(2(5(2(x)))))
31(4(0(2(x)))) → 31(0(4(5(2(x)))))
31(4(0(2(x)))) → 01(4(5(2(x))))
31(4(0(2(x)))) → 31(5(0(4(2(x)))))
31(4(0(2(x)))) → 01(4(2(x)))
01(0(1(4(5(x))))) → 01(4(1(0(3(5(x))))))
01(0(1(4(5(x))))) → 01(3(5(x)))
01(0(1(4(5(x))))) → 31(5(x))
01(1(0(2(4(x))))) → 01(0(4(1(1(x)))))
01(1(0(2(4(x))))) → 01(4(1(1(x))))
01(1(2(3(4(x))))) → 01(4(1(0(3(x)))))
01(1(2(3(4(x))))) → 01(3(x))
01(1(2(3(4(x))))) → 31(x)
01(1(3(3(4(x))))) → 01(0(3(1(3(4(x))))))
01(1(3(3(4(x))))) → 01(3(1(3(4(x)))))
01(1(3(3(4(x))))) → 31(1(3(4(x))))
01(1(4(0(2(x))))) → 01(4(1(5(0(2(x))))))
01(1(4(1(5(x))))) → 01(4(1(1(x))))
01(1(4(3(4(x))))) → 01(4(0(3(1(4(x))))))
01(1(4(3(4(x))))) → 01(3(1(4(x))))
01(1(4(3(4(x))))) → 31(1(4(x)))
01(1(4(3(4(x))))) → 31(0(4(1(5(4(x))))))
01(1(4(3(4(x))))) → 01(4(1(5(4(x)))))
01(1(4(3(5(x))))) → 01(3(1(x)))
01(1(4(3(5(x))))) → 31(1(x))
01(1(5(0(2(x))))) → 01(0(4(1(2(5(x))))))
01(1(5(0(2(x))))) → 01(4(1(2(5(x)))))
01(1(5(1(4(x))))) → 01(3(1(1(x))))
01(1(5(1(4(x))))) → 31(1(1(x)))
01(2(1(4(4(x))))) → 01(4(1(2(4(3(x))))))
01(2(1(4(4(x))))) → 31(x)
01(2(1(4(5(x))))) → 01(4(1(2(5(2(x))))))
01(2(1(5(4(x))))) → 01(2(0(4(1(x)))))
01(2(1(5(4(x))))) → 01(4(1(x)))
01(2(4(1(5(x))))) → 01(4(1(5(2(x)))))
01(2(4(3(5(x))))) → 01(4(5(2(5(3(x))))))
01(2(4(3(5(x))))) → 31(x)
01(2(5(1(4(x))))) → 01(0(5(4(1(2(x))))))
01(2(5(1(4(x))))) → 01(5(4(1(2(x)))))
31(0(1(3(2(x))))) → 01(3(1(0(3(2(x))))))
31(0(1(3(2(x))))) → 31(1(0(3(2(x)))))
31(0(1(3(2(x))))) → 01(3(2(x)))
31(0(2(1(4(x))))) → 01(4(1(3(2(x)))))
31(0(2(1(4(x))))) → 31(2(x))
31(0(2(1(5(x))))) → 31(2(0(4(1(x)))))
31(0(2(1(5(x))))) → 01(4(1(x)))
31(0(4(0(2(x))))) → 01(3(4(0(4(2(x))))))
31(0(4(0(2(x))))) → 31(4(0(4(2(x)))))
31(0(4(0(2(x))))) → 01(4(2(x)))
31(0(4(0(2(x))))) → 01(4(1(2(0(3(x))))))
31(0(4(0(2(x))))) → 01(3(x))
31(0(4(0(2(x))))) → 31(x)
31(0(5(1(4(x))))) → 31(0(4(1(1(5(x))))))
31(0(5(1(4(x))))) → 01(4(1(1(5(x)))))
31(0(5(1(5(x))))) → 01(4(1(3(5(5(x))))))
31(0(5(1(5(x))))) → 31(5(5(x)))
31(2(4(1(2(x))))) → 31(1(2(2(5(4(x))))))
31(2(4(1(5(x))))) → 31(1(4(5(2(5(x))))))
31(4(0(1(2(x))))) → 01(4(2(0(3(1(x))))))
31(4(0(1(2(x))))) → 01(3(1(x)))
31(4(0(1(2(x))))) → 31(1(x))
31(4(0(1(4(x))))) → 01(4(1(5(3(4(x))))))
31(4(0(1(4(x))))) → 31(4(x))
31(4(0(1(5(x))))) → 01(4(1(5(5(3(x))))))
31(4(0(1(5(x))))) → 31(x)
31(4(0(2(4(x))))) → 01(3(4(0(4(2(x))))))
31(4(0(2(4(x))))) → 31(4(0(4(2(x)))))
31(4(0(2(4(x))))) → 01(4(2(x)))
31(4(1(2(4(x))))) → 01(4(1(2(4(3(x))))))
31(4(1(2(4(x))))) → 31(x)
31(4(1(3(5(x))))) → 31(0(3(1(5(x)))))
31(4(1(3(5(x))))) → 01(3(1(5(x))))
31(4(1(3(5(x))))) → 31(1(5(x)))
31(4(3(0(2(x))))) → 31(3(0(4(1(2(x))))))
31(4(3(0(2(x))))) → 31(0(4(1(2(x)))))
31(4(3(0(2(x))))) → 01(4(1(2(x))))
31(4(5(0(2(x))))) → 01(3(0(4(2(5(x))))))
31(4(5(0(2(x))))) → 31(0(4(2(5(x)))))
31(4(5(0(2(x))))) → 01(4(2(5(x))))
31(5(0(2(2(x))))) → 01(3(2(5(2(5(x))))))
31(5(0(2(2(x))))) → 31(2(5(2(5(x)))))
31(5(2(1(4(x))))) → 31(5(1(0(4(2(x))))))
31(5(2(1(4(x))))) → 01(4(2(x)))
0(1(0(2(x)))) → 0(0(3(1(2(x)))))
0(1(3(4(x)))) → 0(4(1(0(3(x)))))
0(1(3(4(x)))) → 0(4(1(1(3(x)))))
0(1(3(4(x)))) → 0(4(1(3(1(x)))))
0(2(1(4(x)))) → 0(4(1(2(3(x)))))
0(2(1(4(x)))) → 0(4(1(3(2(x)))))
0(2(1(4(x)))) → 2(0(4(1(4(x)))))
0(2(1(4(x)))) → 5(5(0(4(1(2(x))))))
0(2(1(5(x)))) → 5(0(4(1(2(x)))))
0(2(2(4(x)))) → 0(4(2(2(5(x)))))
0(2(2(4(x)))) → 0(4(2(5(2(x)))))
3(4(0(2(x)))) → 3(0(4(5(2(x)))))
3(4(0(2(x)))) → 3(5(0(4(2(x)))))
0(0(1(4(5(x))))) → 0(4(1(0(3(5(x))))))
0(1(0(2(4(x))))) → 2(0(0(4(1(1(x))))))
0(1(2(3(4(x))))) → 2(0(4(1(0(3(x))))))
0(1(3(3(4(x))))) → 0(0(3(1(3(4(x))))))
0(1(4(0(2(x))))) → 0(4(1(5(0(2(x))))))
0(1(4(1(5(x))))) → 2(5(0(4(1(1(x))))))
0(1(4(3(4(x))))) → 0(4(0(3(1(4(x))))))
0(1(4(3(4(x))))) → 3(0(4(1(5(4(x))))))
0(1(4(3(5(x))))) → 5(4(5(0(3(1(x))))))
0(1(5(0(2(x))))) → 0(0(4(1(2(5(x))))))
0(1(5(1(4(x))))) → 4(5(0(3(1(1(x))))))
0(2(1(4(4(x))))) → 0(4(1(2(4(3(x))))))
0(2(1(4(5(x))))) → 0(4(1(2(5(2(x))))))
0(2(1(5(4(x))))) → 5(0(2(0(4(1(x))))))
0(2(4(1(5(x))))) → 5(0(4(1(5(2(x))))))
0(2(4(3(5(x))))) → 0(4(5(2(5(3(x))))))
0(2(5(1(4(x))))) → 0(0(5(4(1(2(x))))))
3(0(1(3(2(x))))) → 0(3(1(0(3(2(x))))))
3(0(2(1(4(x))))) → 4(0(4(1(3(2(x))))))
3(0(2(1(5(x))))) → 5(3(2(0(4(1(x))))))
3(0(4(0(2(x))))) → 0(3(4(0(4(2(x))))))
3(0(4(0(2(x))))) → 0(4(1(2(0(3(x))))))
3(0(5(1(4(x))))) → 3(0(4(1(1(5(x))))))
3(0(5(1(5(x))))) → 0(4(1(3(5(5(x))))))
3(2(4(1(2(x))))) → 3(1(2(2(5(4(x))))))
3(2(4(1(5(x))))) → 3(1(4(5(2(5(x))))))
3(4(0(1(2(x))))) → 0(4(2(0(3(1(x))))))
3(4(0(1(4(x))))) → 0(4(1(5(3(4(x))))))
3(4(0(1(5(x))))) → 0(4(1(5(5(3(x))))))
3(4(0(2(4(x))))) → 0(3(4(0(4(2(x))))))
3(4(1(2(4(x))))) → 0(4(1(2(4(3(x))))))
3(4(1(3(5(x))))) → 4(3(0(3(1(5(x))))))
3(4(3(0(2(x))))) → 3(3(0(4(1(2(x))))))
3(4(5(0(2(x))))) → 0(3(0(4(2(5(x))))))
3(5(0(2(2(x))))) → 0(3(2(5(2(5(x))))))
3(5(2(1(4(x))))) → 3(5(1(0(4(2(x))))))
01(2(4(3(5(x))))) → 31(x)
31(0(1(3(2(x))))) → 01(3(2(x)))
31(0(4(0(2(x))))) → 01(3(x))
31(0(4(0(2(x))))) → 31(x)
31(4(0(1(4(x))))) → 31(4(x))
31(4(0(1(5(x))))) → 31(x)
31(4(1(2(4(x))))) → 31(x)
0(1(0(2(x)))) → 0(0(3(1(2(x)))))
0(1(3(4(x)))) → 0(4(1(0(3(x)))))
0(1(3(4(x)))) → 0(4(1(1(3(x)))))
0(1(3(4(x)))) → 0(4(1(3(1(x)))))
0(2(1(4(x)))) → 0(4(1(2(3(x)))))
0(2(1(4(x)))) → 0(4(1(3(2(x)))))
0(2(1(4(x)))) → 2(0(4(1(4(x)))))
0(2(1(4(x)))) → 5(5(0(4(1(2(x))))))
0(2(1(5(x)))) → 5(0(4(1(2(x)))))
0(2(2(4(x)))) → 0(4(2(2(5(x)))))
0(2(2(4(x)))) → 0(4(2(5(2(x)))))
3(4(0(2(x)))) → 3(0(4(5(2(x)))))
3(4(0(2(x)))) → 3(5(0(4(2(x)))))
0(0(1(4(5(x))))) → 0(4(1(0(3(5(x))))))
0(1(0(2(4(x))))) → 2(0(0(4(1(1(x))))))
0(1(2(3(4(x))))) → 2(0(4(1(0(3(x))))))
0(1(3(3(4(x))))) → 0(0(3(1(3(4(x))))))
0(1(4(0(2(x))))) → 0(4(1(5(0(2(x))))))
0(1(4(1(5(x))))) → 2(5(0(4(1(1(x))))))
0(1(4(3(4(x))))) → 0(4(0(3(1(4(x))))))
0(1(4(3(4(x))))) → 3(0(4(1(5(4(x))))))
0(1(4(3(5(x))))) → 5(4(5(0(3(1(x))))))
0(1(5(0(2(x))))) → 0(0(4(1(2(5(x))))))
0(1(5(1(4(x))))) → 4(5(0(3(1(1(x))))))
0(2(1(4(4(x))))) → 0(4(1(2(4(3(x))))))
0(2(1(4(5(x))))) → 0(4(1(2(5(2(x))))))
0(2(1(5(4(x))))) → 5(0(2(0(4(1(x))))))
0(2(4(1(5(x))))) → 5(0(4(1(5(2(x))))))
0(2(4(3(5(x))))) → 0(4(5(2(5(3(x))))))
0(2(5(1(4(x))))) → 0(0(5(4(1(2(x))))))
3(0(1(3(2(x))))) → 0(3(1(0(3(2(x))))))
3(0(2(1(4(x))))) → 4(0(4(1(3(2(x))))))
3(0(2(1(5(x))))) → 5(3(2(0(4(1(x))))))
3(0(4(0(2(x))))) → 0(3(4(0(4(2(x))))))
3(0(4(0(2(x))))) → 0(4(1(2(0(3(x))))))
3(0(5(1(4(x))))) → 3(0(4(1(1(5(x))))))
3(0(5(1(5(x))))) → 0(4(1(3(5(5(x))))))
3(2(4(1(2(x))))) → 3(1(2(2(5(4(x))))))
3(2(4(1(5(x))))) → 3(1(4(5(2(5(x))))))
3(4(0(1(2(x))))) → 0(4(2(0(3(1(x))))))
3(4(0(1(4(x))))) → 0(4(1(5(3(4(x))))))
3(4(0(1(5(x))))) → 0(4(1(5(5(3(x))))))
3(4(0(2(4(x))))) → 0(3(4(0(4(2(x))))))
3(4(1(2(4(x))))) → 0(4(1(2(4(3(x))))))
3(4(1(3(5(x))))) → 4(3(0(3(1(5(x))))))
3(4(3(0(2(x))))) → 3(3(0(4(1(2(x))))))
3(4(5(0(2(x))))) → 0(3(0(4(2(5(x))))))
3(5(0(2(2(x))))) → 0(3(2(5(2(5(x))))))
3(5(2(1(4(x))))) → 3(5(1(0(4(2(x))))))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
01(2(4(3(5(x))))) → 31(x)
POL(0(x1)) = 0
POL(01(x1)) = x1
POL(1(x1)) = 0
POL(2(x1)) = 1
POL(3(x1)) = 0
POL(31(x1)) = 0
POL(4(x1)) = 0
POL(5(x1)) = 0
3(2(4(1(2(x))))) → 3(1(2(2(5(4(x))))))
3(2(4(1(5(x))))) → 3(1(4(5(2(5(x))))))
3(4(0(2(x)))) → 3(0(4(5(2(x)))))
3(4(0(2(x)))) → 3(5(0(4(2(x)))))
3(0(1(3(2(x))))) → 0(3(1(0(3(2(x))))))
3(0(2(1(4(x))))) → 4(0(4(1(3(2(x))))))
3(0(2(1(5(x))))) → 5(3(2(0(4(1(x))))))
3(0(4(0(2(x))))) → 0(3(4(0(4(2(x))))))
3(0(4(0(2(x))))) → 0(4(1(2(0(3(x))))))
3(0(5(1(4(x))))) → 3(0(4(1(1(5(x))))))
3(0(5(1(5(x))))) → 0(4(1(3(5(5(x))))))
3(4(0(1(2(x))))) → 0(4(2(0(3(1(x))))))
3(4(0(1(4(x))))) → 0(4(1(5(3(4(x))))))
3(4(0(1(5(x))))) → 0(4(1(5(5(3(x))))))
3(4(0(2(4(x))))) → 0(3(4(0(4(2(x))))))
3(4(1(2(4(x))))) → 0(4(1(2(4(3(x))))))
3(4(1(3(5(x))))) → 4(3(0(3(1(5(x))))))
3(4(3(0(2(x))))) → 3(3(0(4(1(2(x))))))
3(4(5(0(2(x))))) → 0(3(0(4(2(5(x))))))
3(5(0(2(2(x))))) → 0(3(2(5(2(5(x))))))
3(5(2(1(4(x))))) → 3(5(1(0(4(2(x))))))
31(0(1(3(2(x))))) → 01(3(2(x)))
31(0(4(0(2(x))))) → 01(3(x))
31(0(4(0(2(x))))) → 31(x)
31(4(0(1(4(x))))) → 31(4(x))
31(4(0(1(5(x))))) → 31(x)
31(4(1(2(4(x))))) → 31(x)
0(1(0(2(x)))) → 0(0(3(1(2(x)))))
0(1(3(4(x)))) → 0(4(1(0(3(x)))))
0(1(3(4(x)))) → 0(4(1(1(3(x)))))
0(1(3(4(x)))) → 0(4(1(3(1(x)))))
0(2(1(4(x)))) → 0(4(1(2(3(x)))))
0(2(1(4(x)))) → 0(4(1(3(2(x)))))
0(2(1(4(x)))) → 2(0(4(1(4(x)))))
0(2(1(4(x)))) → 5(5(0(4(1(2(x))))))
0(2(1(5(x)))) → 5(0(4(1(2(x)))))
0(2(2(4(x)))) → 0(4(2(2(5(x)))))
0(2(2(4(x)))) → 0(4(2(5(2(x)))))
3(4(0(2(x)))) → 3(0(4(5(2(x)))))
3(4(0(2(x)))) → 3(5(0(4(2(x)))))
0(0(1(4(5(x))))) → 0(4(1(0(3(5(x))))))
0(1(0(2(4(x))))) → 2(0(0(4(1(1(x))))))
0(1(2(3(4(x))))) → 2(0(4(1(0(3(x))))))
0(1(3(3(4(x))))) → 0(0(3(1(3(4(x))))))
0(1(4(0(2(x))))) → 0(4(1(5(0(2(x))))))
0(1(4(1(5(x))))) → 2(5(0(4(1(1(x))))))
0(1(4(3(4(x))))) → 0(4(0(3(1(4(x))))))
0(1(4(3(4(x))))) → 3(0(4(1(5(4(x))))))
0(1(4(3(5(x))))) → 5(4(5(0(3(1(x))))))
0(1(5(0(2(x))))) → 0(0(4(1(2(5(x))))))
0(1(5(1(4(x))))) → 4(5(0(3(1(1(x))))))
0(2(1(4(4(x))))) → 0(4(1(2(4(3(x))))))
0(2(1(4(5(x))))) → 0(4(1(2(5(2(x))))))
0(2(1(5(4(x))))) → 5(0(2(0(4(1(x))))))
0(2(4(1(5(x))))) → 5(0(4(1(5(2(x))))))
0(2(4(3(5(x))))) → 0(4(5(2(5(3(x))))))
0(2(5(1(4(x))))) → 0(0(5(4(1(2(x))))))
3(0(1(3(2(x))))) → 0(3(1(0(3(2(x))))))
3(0(2(1(4(x))))) → 4(0(4(1(3(2(x))))))
3(0(2(1(5(x))))) → 5(3(2(0(4(1(x))))))
3(0(4(0(2(x))))) → 0(3(4(0(4(2(x))))))
3(0(4(0(2(x))))) → 0(4(1(2(0(3(x))))))
3(0(5(1(4(x))))) → 3(0(4(1(1(5(x))))))
3(0(5(1(5(x))))) → 0(4(1(3(5(5(x))))))
3(2(4(1(2(x))))) → 3(1(2(2(5(4(x))))))
3(2(4(1(5(x))))) → 3(1(4(5(2(5(x))))))
3(4(0(1(2(x))))) → 0(4(2(0(3(1(x))))))
3(4(0(1(4(x))))) → 0(4(1(5(3(4(x))))))
3(4(0(1(5(x))))) → 0(4(1(5(5(3(x))))))
3(4(0(2(4(x))))) → 0(3(4(0(4(2(x))))))
3(4(1(2(4(x))))) → 0(4(1(2(4(3(x))))))
3(4(1(3(5(x))))) → 4(3(0(3(1(5(x))))))
3(4(3(0(2(x))))) → 3(3(0(4(1(2(x))))))
3(4(5(0(2(x))))) → 0(3(0(4(2(5(x))))))
3(5(0(2(2(x))))) → 0(3(2(5(2(5(x))))))
3(5(2(1(4(x))))) → 3(5(1(0(4(2(x))))))
31(4(0(1(4(x))))) → 31(4(x))
31(4(0(1(5(x))))) → 31(x)
31(0(4(0(2(x))))) → 31(x)
31(4(1(2(4(x))))) → 31(x)
0(1(0(2(x)))) → 0(0(3(1(2(x)))))
0(1(3(4(x)))) → 0(4(1(0(3(x)))))
0(1(3(4(x)))) → 0(4(1(1(3(x)))))
0(1(3(4(x)))) → 0(4(1(3(1(x)))))
0(2(1(4(x)))) → 0(4(1(2(3(x)))))
0(2(1(4(x)))) → 0(4(1(3(2(x)))))
0(2(1(4(x)))) → 2(0(4(1(4(x)))))
0(2(1(4(x)))) → 5(5(0(4(1(2(x))))))
0(2(1(5(x)))) → 5(0(4(1(2(x)))))
0(2(2(4(x)))) → 0(4(2(2(5(x)))))
0(2(2(4(x)))) → 0(4(2(5(2(x)))))
3(4(0(2(x)))) → 3(0(4(5(2(x)))))
3(4(0(2(x)))) → 3(5(0(4(2(x)))))
0(0(1(4(5(x))))) → 0(4(1(0(3(5(x))))))
0(1(0(2(4(x))))) → 2(0(0(4(1(1(x))))))
0(1(2(3(4(x))))) → 2(0(4(1(0(3(x))))))
0(1(3(3(4(x))))) → 0(0(3(1(3(4(x))))))
0(1(4(0(2(x))))) → 0(4(1(5(0(2(x))))))
0(1(4(1(5(x))))) → 2(5(0(4(1(1(x))))))
0(1(4(3(4(x))))) → 0(4(0(3(1(4(x))))))
0(1(4(3(4(x))))) → 3(0(4(1(5(4(x))))))
0(1(4(3(5(x))))) → 5(4(5(0(3(1(x))))))
0(1(5(0(2(x))))) → 0(0(4(1(2(5(x))))))
0(1(5(1(4(x))))) → 4(5(0(3(1(1(x))))))
0(2(1(4(4(x))))) → 0(4(1(2(4(3(x))))))
0(2(1(4(5(x))))) → 0(4(1(2(5(2(x))))))
0(2(1(5(4(x))))) → 5(0(2(0(4(1(x))))))
0(2(4(1(5(x))))) → 5(0(4(1(5(2(x))))))
0(2(4(3(5(x))))) → 0(4(5(2(5(3(x))))))
0(2(5(1(4(x))))) → 0(0(5(4(1(2(x))))))
3(0(1(3(2(x))))) → 0(3(1(0(3(2(x))))))
3(0(2(1(4(x))))) → 4(0(4(1(3(2(x))))))
3(0(2(1(5(x))))) → 5(3(2(0(4(1(x))))))
3(0(4(0(2(x))))) → 0(3(4(0(4(2(x))))))
3(0(4(0(2(x))))) → 0(4(1(2(0(3(x))))))
3(0(5(1(4(x))))) → 3(0(4(1(1(5(x))))))
3(0(5(1(5(x))))) → 0(4(1(3(5(5(x))))))
3(2(4(1(2(x))))) → 3(1(2(2(5(4(x))))))
3(2(4(1(5(x))))) → 3(1(4(5(2(5(x))))))
3(4(0(1(2(x))))) → 0(4(2(0(3(1(x))))))
3(4(0(1(4(x))))) → 0(4(1(5(3(4(x))))))
3(4(0(1(5(x))))) → 0(4(1(5(5(3(x))))))
3(4(0(2(4(x))))) → 0(3(4(0(4(2(x))))))
3(4(1(2(4(x))))) → 0(4(1(2(4(3(x))))))
3(4(1(3(5(x))))) → 4(3(0(3(1(5(x))))))
3(4(3(0(2(x))))) → 3(3(0(4(1(2(x))))))
3(4(5(0(2(x))))) → 0(3(0(4(2(5(x))))))
3(5(0(2(2(x))))) → 0(3(2(5(2(5(x))))))
3(5(2(1(4(x))))) → 3(5(1(0(4(2(x))))))
31(4(0(1(4(x))))) → 31(4(x))
31(4(0(1(5(x))))) → 31(x)
31(0(4(0(2(x))))) → 31(x)
31(4(1(2(4(x))))) → 31(x)
From the DPs we obtained the following set of size-change graphs: