0 Prolog
↳1 PrologToPrologProblemTransformerProof (⇐)
↳2 Prolog
↳3 PrologToPiTRSProof (⇐)
↳4 PiTRS
↳5 DependencyPairsProof (⇔)
↳6 PiDP
↳7 DependencyGraphProof (⇔)
↳8 PiDP
↳9 UsableRulesProof (⇔)
↳10 PiDP
↳11 PiDPToQDPProof (⇐)
↳12 QDP
↳13 QDPSizeChangeProof (⇔)
↳14 YES
max1_in_aag(s(T13), 0, s(T13)) → max1_out_aag(s(T13), 0, s(T13))
max1_in_aag(s(T23), s(T24), s(T23)) → U2_aag(T23, T24, less13_in_ag(T24, T23))
less13_in_ag(0, s(T31)) → less13_out_ag(0, s(T31))
less13_in_ag(s(T38), s(T37)) → U1_ag(T38, T37, less13_in_ag(T38, T37))
U1_ag(T38, T37, less13_out_ag(T38, T37)) → less13_out_ag(s(T38), s(T37))
U2_aag(T23, T24, less13_out_ag(T24, T23)) → max1_out_aag(s(T23), s(T24), s(T23))
max1_in_aag(T47, T46, T46) → U3_aag(T47, T46, less13_in_ag(T47, s(T46)))
U3_aag(T47, T46, less13_out_ag(T47, s(T46))) → max1_out_aag(T47, T46, T46)
max1_in_aag(0, T59, T59) → max1_out_aag(0, T59, T59)
max1_in_aag(s(T66), T65, T65) → U4_aag(T66, T65, less13_in_ag(T66, T65))
U4_aag(T66, T65, less13_out_ag(T66, T65)) → max1_out_aag(s(T66), T65, T65)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
max1_in_aag(s(T13), 0, s(T13)) → max1_out_aag(s(T13), 0, s(T13))
max1_in_aag(s(T23), s(T24), s(T23)) → U2_aag(T23, T24, less13_in_ag(T24, T23))
less13_in_ag(0, s(T31)) → less13_out_ag(0, s(T31))
less13_in_ag(s(T38), s(T37)) → U1_ag(T38, T37, less13_in_ag(T38, T37))
U1_ag(T38, T37, less13_out_ag(T38, T37)) → less13_out_ag(s(T38), s(T37))
U2_aag(T23, T24, less13_out_ag(T24, T23)) → max1_out_aag(s(T23), s(T24), s(T23))
max1_in_aag(T47, T46, T46) → U3_aag(T47, T46, less13_in_ag(T47, s(T46)))
U3_aag(T47, T46, less13_out_ag(T47, s(T46))) → max1_out_aag(T47, T46, T46)
max1_in_aag(0, T59, T59) → max1_out_aag(0, T59, T59)
max1_in_aag(s(T66), T65, T65) → U4_aag(T66, T65, less13_in_ag(T66, T65))
U4_aag(T66, T65, less13_out_ag(T66, T65)) → max1_out_aag(s(T66), T65, T65)
MAX1_IN_AAG(s(T23), s(T24), s(T23)) → U2_AAG(T23, T24, less13_in_ag(T24, T23))
MAX1_IN_AAG(s(T23), s(T24), s(T23)) → LESS13_IN_AG(T24, T23)
LESS13_IN_AG(s(T38), s(T37)) → U1_AG(T38, T37, less13_in_ag(T38, T37))
LESS13_IN_AG(s(T38), s(T37)) → LESS13_IN_AG(T38, T37)
MAX1_IN_AAG(T47, T46, T46) → U3_AAG(T47, T46, less13_in_ag(T47, s(T46)))
MAX1_IN_AAG(T47, T46, T46) → LESS13_IN_AG(T47, s(T46))
MAX1_IN_AAG(s(T66), T65, T65) → U4_AAG(T66, T65, less13_in_ag(T66, T65))
MAX1_IN_AAG(s(T66), T65, T65) → LESS13_IN_AG(T66, T65)
max1_in_aag(s(T13), 0, s(T13)) → max1_out_aag(s(T13), 0, s(T13))
max1_in_aag(s(T23), s(T24), s(T23)) → U2_aag(T23, T24, less13_in_ag(T24, T23))
less13_in_ag(0, s(T31)) → less13_out_ag(0, s(T31))
less13_in_ag(s(T38), s(T37)) → U1_ag(T38, T37, less13_in_ag(T38, T37))
U1_ag(T38, T37, less13_out_ag(T38, T37)) → less13_out_ag(s(T38), s(T37))
U2_aag(T23, T24, less13_out_ag(T24, T23)) → max1_out_aag(s(T23), s(T24), s(T23))
max1_in_aag(T47, T46, T46) → U3_aag(T47, T46, less13_in_ag(T47, s(T46)))
U3_aag(T47, T46, less13_out_ag(T47, s(T46))) → max1_out_aag(T47, T46, T46)
max1_in_aag(0, T59, T59) → max1_out_aag(0, T59, T59)
max1_in_aag(s(T66), T65, T65) → U4_aag(T66, T65, less13_in_ag(T66, T65))
U4_aag(T66, T65, less13_out_ag(T66, T65)) → max1_out_aag(s(T66), T65, T65)
MAX1_IN_AAG(s(T23), s(T24), s(T23)) → U2_AAG(T23, T24, less13_in_ag(T24, T23))
MAX1_IN_AAG(s(T23), s(T24), s(T23)) → LESS13_IN_AG(T24, T23)
LESS13_IN_AG(s(T38), s(T37)) → U1_AG(T38, T37, less13_in_ag(T38, T37))
LESS13_IN_AG(s(T38), s(T37)) → LESS13_IN_AG(T38, T37)
MAX1_IN_AAG(T47, T46, T46) → U3_AAG(T47, T46, less13_in_ag(T47, s(T46)))
MAX1_IN_AAG(T47, T46, T46) → LESS13_IN_AG(T47, s(T46))
MAX1_IN_AAG(s(T66), T65, T65) → U4_AAG(T66, T65, less13_in_ag(T66, T65))
MAX1_IN_AAG(s(T66), T65, T65) → LESS13_IN_AG(T66, T65)
max1_in_aag(s(T13), 0, s(T13)) → max1_out_aag(s(T13), 0, s(T13))
max1_in_aag(s(T23), s(T24), s(T23)) → U2_aag(T23, T24, less13_in_ag(T24, T23))
less13_in_ag(0, s(T31)) → less13_out_ag(0, s(T31))
less13_in_ag(s(T38), s(T37)) → U1_ag(T38, T37, less13_in_ag(T38, T37))
U1_ag(T38, T37, less13_out_ag(T38, T37)) → less13_out_ag(s(T38), s(T37))
U2_aag(T23, T24, less13_out_ag(T24, T23)) → max1_out_aag(s(T23), s(T24), s(T23))
max1_in_aag(T47, T46, T46) → U3_aag(T47, T46, less13_in_ag(T47, s(T46)))
U3_aag(T47, T46, less13_out_ag(T47, s(T46))) → max1_out_aag(T47, T46, T46)
max1_in_aag(0, T59, T59) → max1_out_aag(0, T59, T59)
max1_in_aag(s(T66), T65, T65) → U4_aag(T66, T65, less13_in_ag(T66, T65))
U4_aag(T66, T65, less13_out_ag(T66, T65)) → max1_out_aag(s(T66), T65, T65)
LESS13_IN_AG(s(T38), s(T37)) → LESS13_IN_AG(T38, T37)
max1_in_aag(s(T13), 0, s(T13)) → max1_out_aag(s(T13), 0, s(T13))
max1_in_aag(s(T23), s(T24), s(T23)) → U2_aag(T23, T24, less13_in_ag(T24, T23))
less13_in_ag(0, s(T31)) → less13_out_ag(0, s(T31))
less13_in_ag(s(T38), s(T37)) → U1_ag(T38, T37, less13_in_ag(T38, T37))
U1_ag(T38, T37, less13_out_ag(T38, T37)) → less13_out_ag(s(T38), s(T37))
U2_aag(T23, T24, less13_out_ag(T24, T23)) → max1_out_aag(s(T23), s(T24), s(T23))
max1_in_aag(T47, T46, T46) → U3_aag(T47, T46, less13_in_ag(T47, s(T46)))
U3_aag(T47, T46, less13_out_ag(T47, s(T46))) → max1_out_aag(T47, T46, T46)
max1_in_aag(0, T59, T59) → max1_out_aag(0, T59, T59)
max1_in_aag(s(T66), T65, T65) → U4_aag(T66, T65, less13_in_ag(T66, T65))
U4_aag(T66, T65, less13_out_ag(T66, T65)) → max1_out_aag(s(T66), T65, T65)
LESS13_IN_AG(s(T38), s(T37)) → LESS13_IN_AG(T38, T37)
LESS13_IN_AG(s(T37)) → LESS13_IN_AG(T37)
From the DPs we obtained the following set of size-change graphs: