0 Prolog
↳1 PrologToDTProblemTransformerProof (⇒, 288 ms)
↳2 TRIPLES
↳3 TriplesToPiDPProof (⇒, 232 ms)
↳4 PiDP
↳5 DependencyGraphProof (⇔, 0 ms)
↳6 AND
↳7 PiDP
↳8 UsableRulesProof (⇔, 0 ms)
↳9 PiDP
↳10 PiDPToQDPProof (⇒, 4 ms)
↳11 QDP
↳12 QDPSizeChangeProof (⇔, 0 ms)
↳13 YES
↳14 PiDP
↳15 UsableRulesProof (⇔, 0 ms)
↳16 PiDP
↳17 PiDPToQDPProof (⇒, 0 ms)
↳18 QDP
↳19 QDPSizeChangeProof (⇔, 0 ms)
↳20 YES
↳21 PiDP
↳22 UsableRulesProof (⇔, 0 ms)
↳23 PiDP
↳24 PiDPToQDPProof (⇒, 0 ms)
↳25 QDP
↳26 UsableRulesReductionPairsProof (⇔, 53 ms)
↳27 QDP
↳28 PisEmptyProof (⇔, 0 ms)
↳29 YES
CONVERTC_IN_GGA(.(0, X1), X2, X3) → U9_GGA(X1, X2, X3, convertA_in_gga(X1, X2, X4))
CONVERTC_IN_GGA(.(0, X1), X2, X3) → CONVERTA_IN_GGA(X1, X2, X4)
CONVERTA_IN_GGA(.(0, X1), X2, X3) → U1_GGA(X1, X2, X3, convertA_in_gga(X1, X2, X4))
CONVERTA_IN_GGA(.(0, X1), X2, X3) → CONVERTA_IN_GGA(X1, X2, X4)
CONVERTA_IN_GGA(.(0, X1), X2, X3) → U2_GGA(X1, X2, X3, convertcA_in_gga(X1, X2, X4))
U2_GGA(X1, X2, X3, convertcA_out_gga(X1, X2, X4)) → U3_GGA(X1, X2, X3, timesB_in_gga(X4, X2, X3))
U2_GGA(X1, X2, X3, convertcA_out_gga(X1, X2, X4)) → TIMESB_IN_GGA(X4, X2, X3)
TIMESB_IN_GGA(s(X1), X2, X3) → U5_GGA(X1, X2, X3, timesB_in_gga(X1, X2, X4))
TIMESB_IN_GGA(s(X1), X2, X3) → TIMESB_IN_GGA(X1, X2, X4)
TIMESB_IN_GGA(s(X1), X2, X3) → U6_GGA(X1, X2, X3, timescB_in_gga(X1, X2, X4))
U6_GGA(X1, X2, X3, timescB_out_gga(X1, X2, X4)) → U7_GGA(X1, X2, X3, plusD_in_gga(X2, X4, X3))
U6_GGA(X1, X2, X3, timescB_out_gga(X1, X2, X4)) → PLUSD_IN_GGA(X2, X4, X3)
PLUSD_IN_GGA(s(X1), X2, X3) → U8_GGA(X1, X2, X3, plusD_in_gga(X1, X2, X4))
PLUSD_IN_GGA(s(X1), X2, X3) → PLUSD_IN_GGA(X1, X2, X4)
CONVERTA_IN_GGA(.(s(X1), X2), X3, X4) → U4_GGA(X1, X2, X3, X4, convertC_in_gga(.(X1, X2), X3, X5))
CONVERTA_IN_GGA(.(s(X1), X2), X3, X4) → CONVERTC_IN_GGA(.(X1, X2), X3, X5)
CONVERTC_IN_GGA(.(0, X1), X2, X3) → U10_GGA(X1, X2, X3, convertcA_in_gga(X1, X2, s(X4)))
U10_GGA(X1, X2, X3, convertcA_out_gga(X1, X2, s(X4))) → U11_GGA(X1, X2, X3, timesB_in_gga(X4, X2, X5))
U10_GGA(X1, X2, X3, convertcA_out_gga(X1, X2, s(X4))) → TIMESB_IN_GGA(X4, X2, X5)
CONVERTC_IN_GGA(.(0, X1), s(X2), X3) → U12_GGA(X1, X2, X3, convertcA_in_gga(X1, s(X2), s(X4)))
U12_GGA(X1, X2, X3, convertcA_out_gga(X1, s(X2), s(X4))) → U13_GGA(X1, X2, X3, timescB_in_gga(X4, s(X2), X5))
U13_GGA(X1, X2, X3, timescB_out_gga(X4, s(X2), X5)) → U14_GGA(X1, X2, X3, plusD_in_gga(X2, X5, X6))
U13_GGA(X1, X2, X3, timescB_out_gga(X4, s(X2), X5)) → PLUSD_IN_GGA(X2, X5, X6)
CONVERTC_IN_GGA(.(s(X1), X2), X3, X4) → U15_GGA(X1, X2, X3, X4, convertC_in_gga(.(X1, X2), X3, X5))
CONVERTC_IN_GGA(.(s(X1), X2), X3, X4) → CONVERTC_IN_GGA(.(X1, X2), X3, X5)
convertcA_in_gga([], X1, 0) → convertcA_out_gga([], X1, 0)
convertcA_in_gga(.(0, X1), X2, X3) → U17_gga(X1, X2, X3, convertcA_in_gga(X1, X2, X4))
convertcA_in_gga(.(s(X1), X2), X3, s(X4)) → U19_gga(X1, X2, X3, X4, convertcC_in_gga(.(X1, X2), X3, X4))
convertcC_in_gga([], X1, 0) → convertcC_out_gga([], X1, 0)
convertcC_in_gga(.(0, X1), X2, 0) → U23_gga(X1, X2, convertcA_in_ggg(X1, X2, 0))
convertcA_in_ggg([], X1, 0) → convertcA_out_ggg([], X1, 0)
convertcA_in_ggg(.(0, X1), X2, X3) → U17_ggg(X1, X2, X3, convertcA_in_gga(X1, X2, X4))
U17_ggg(X1, X2, X3, convertcA_out_gga(X1, X2, X4)) → U18_ggg(X1, X2, X3, timescB_in_ggg(X4, X2, X3))
timescB_in_ggg(0, X1, 0) → timescB_out_ggg(0, X1, 0)
timescB_in_ggg(s(X1), X2, X3) → U20_ggg(X1, X2, X3, timescB_in_gga(X1, X2, X4))
timescB_in_gga(0, X1, 0) → timescB_out_gga(0, X1, 0)
timescB_in_gga(s(X1), X2, X3) → U20_gga(X1, X2, X3, timescB_in_gga(X1, X2, X4))
U20_gga(X1, X2, X3, timescB_out_gga(X1, X2, X4)) → U21_gga(X1, X2, X3, pluscD_in_gga(X2, X4, X3))
pluscD_in_gga(0, X1, X1) → pluscD_out_gga(0, X1, X1)
pluscD_in_gga(s(X1), X2, s(X3)) → U22_gga(X1, X2, X3, pluscD_in_gga(X1, X2, X3))
U22_gga(X1, X2, X3, pluscD_out_gga(X1, X2, X3)) → pluscD_out_gga(s(X1), X2, s(X3))
U21_gga(X1, X2, X3, pluscD_out_gga(X2, X4, X3)) → timescB_out_gga(s(X1), X2, X3)
U20_ggg(X1, X2, X3, timescB_out_gga(X1, X2, X4)) → U21_ggg(X1, X2, X3, pluscD_in_ggg(X2, X4, X3))
pluscD_in_ggg(0, X1, X1) → pluscD_out_ggg(0, X1, X1)
pluscD_in_ggg(s(X1), X2, s(X3)) → U22_ggg(X1, X2, X3, pluscD_in_ggg(X1, X2, X3))
U22_ggg(X1, X2, X3, pluscD_out_ggg(X1, X2, X3)) → pluscD_out_ggg(s(X1), X2, s(X3))
U21_ggg(X1, X2, X3, pluscD_out_ggg(X2, X4, X3)) → timescB_out_ggg(s(X1), X2, X3)
U18_ggg(X1, X2, X3, timescB_out_ggg(X4, X2, X3)) → convertcA_out_ggg(.(0, X1), X2, X3)
convertcA_in_ggg(.(s(X1), X2), X3, s(X4)) → U19_ggg(X1, X2, X3, X4, convertcC_in_ggg(.(X1, X2), X3, X4))
convertcC_in_ggg([], X1, 0) → convertcC_out_ggg([], X1, 0)
convertcC_in_ggg(.(0, X1), X2, 0) → U23_ggg(X1, X2, convertcA_in_ggg(X1, X2, 0))
U23_ggg(X1, X2, convertcA_out_ggg(X1, X2, 0)) → convertcC_out_ggg(.(0, X1), X2, 0)
convertcC_in_ggg(.(0, X1), 0, X2) → U24_ggg(X1, X2, convertcA_in_gga(X1, 0, s(X3)))
U24_ggg(X1, X2, convertcA_out_gga(X1, 0, s(X3))) → U25_ggg(X1, X2, timescB_in_ggg(X3, 0, X2))
U25_ggg(X1, X2, timescB_out_ggg(X3, 0, X2)) → convertcC_out_ggg(.(0, X1), 0, X2)
convertcC_in_ggg(.(0, X1), s(X2), s(X3)) → U26_ggg(X1, X2, X3, convertcA_in_gga(X1, s(X2), s(X4)))
U26_ggg(X1, X2, X3, convertcA_out_gga(X1, s(X2), s(X4))) → U27_ggg(X1, X2, X3, timescB_in_gga(X4, s(X2), X5))
U27_ggg(X1, X2, X3, timescB_out_gga(X4, s(X2), X5)) → U28_ggg(X1, X2, X3, pluscD_in_ggg(X2, X5, X3))
U28_ggg(X1, X2, X3, pluscD_out_ggg(X2, X5, X3)) → convertcC_out_ggg(.(0, X1), s(X2), s(X3))
convertcC_in_ggg(.(0, X1), s(X2), 0) → U29_ggg(X1, X2, convertcA_in_gga(X1, s(X2), s(X3)))
U29_ggg(X1, X2, convertcA_out_gga(X1, s(X2), s(X3))) → U30_ggg(X1, X2, timescB_in_gga(X3, s(X2), X4))
U30_ggg(X1, X2, timescB_out_gga(X3, s(X2), X4)) → U31_ggg(X1, X2, pluscD_in_ggg(X2, X4, 0))
U31_ggg(X1, X2, pluscD_out_ggg(X2, X4, 0)) → convertcC_out_ggg(.(0, X1), s(X2), 0)
convertcC_in_ggg(.(s(X1), X2), X3, s(X4)) → U32_ggg(X1, X2, X3, X4, convertcC_in_ggg(.(X1, X2), X3, X4))
convertcC_in_ggg(.(s(X1), X2), X3, 0) → U33_ggg(X1, X2, X3, convertcC_in_ggg(.(X1, X2), X3, 0))
U33_ggg(X1, X2, X3, convertcC_out_ggg(.(X1, X2), X3, 0)) → convertcC_out_ggg(.(s(X1), X2), X3, 0)
U32_ggg(X1, X2, X3, X4, convertcC_out_ggg(.(X1, X2), X3, X4)) → convertcC_out_ggg(.(s(X1), X2), X3, s(X4))
U19_ggg(X1, X2, X3, X4, convertcC_out_ggg(.(X1, X2), X3, X4)) → convertcA_out_ggg(.(s(X1), X2), X3, s(X4))
U23_gga(X1, X2, convertcA_out_ggg(X1, X2, 0)) → convertcC_out_gga(.(0, X1), X2, 0)
convertcC_in_gga(.(0, X1), 0, X2) → U24_gga(X1, X2, convertcA_in_gga(X1, 0, s(X3)))
U24_gga(X1, X2, convertcA_out_gga(X1, 0, s(X3))) → U25_gga(X1, X2, timescB_in_gga(X3, 0, X2))
U25_gga(X1, X2, timescB_out_gga(X3, 0, X2)) → convertcC_out_gga(.(0, X1), 0, X2)
convertcC_in_gga(.(0, X1), s(X2), s(X3)) → U26_gga(X1, X2, X3, convertcA_in_gga(X1, s(X2), s(X4)))
U26_gga(X1, X2, X3, convertcA_out_gga(X1, s(X2), s(X4))) → U27_gga(X1, X2, X3, timescB_in_gga(X4, s(X2), X5))
U27_gga(X1, X2, X3, timescB_out_gga(X4, s(X2), X5)) → U28_gga(X1, X2, X3, pluscD_in_gga(X2, X5, X3))
U28_gga(X1, X2, X3, pluscD_out_gga(X2, X5, X3)) → convertcC_out_gga(.(0, X1), s(X2), s(X3))
convertcC_in_gga(.(0, X1), s(X2), 0) → U29_gga(X1, X2, convertcA_in_gga(X1, s(X2), s(X3)))
U29_gga(X1, X2, convertcA_out_gga(X1, s(X2), s(X3))) → U30_gga(X1, X2, timescB_in_gga(X3, s(X2), X4))
U30_gga(X1, X2, timescB_out_gga(X3, s(X2), X4)) → U31_gga(X1, X2, pluscD_in_ggg(X2, X4, 0))
U31_gga(X1, X2, pluscD_out_ggg(X2, X4, 0)) → convertcC_out_gga(.(0, X1), s(X2), 0)
convertcC_in_gga(.(s(X1), X2), X3, s(X4)) → U32_gga(X1, X2, X3, X4, convertcC_in_gga(.(X1, X2), X3, X4))
convertcC_in_gga(.(s(X1), X2), X3, 0) → U33_gga(X1, X2, X3, convertcC_in_ggg(.(X1, X2), X3, 0))
U33_gga(X1, X2, X3, convertcC_out_ggg(.(X1, X2), X3, 0)) → convertcC_out_gga(.(s(X1), X2), X3, 0)
U32_gga(X1, X2, X3, X4, convertcC_out_gga(.(X1, X2), X3, X4)) → convertcC_out_gga(.(s(X1), X2), X3, s(X4))
U19_gga(X1, X2, X3, X4, convertcC_out_gga(.(X1, X2), X3, X4)) → convertcA_out_gga(.(s(X1), X2), X3, s(X4))
U17_gga(X1, X2, X3, convertcA_out_gga(X1, X2, X4)) → U18_gga(X1, X2, X3, timescB_in_gga(X4, X2, X3))
U18_gga(X1, X2, X3, timescB_out_gga(X4, X2, X3)) → convertcA_out_gga(.(0, X1), X2, X3)
Infinitary Constructor Rewriting Termination of PiDP implies Termination of TRIPLES
CONVERTC_IN_GGA(.(0, X1), X2, X3) → U9_GGA(X1, X2, X3, convertA_in_gga(X1, X2, X4))
CONVERTC_IN_GGA(.(0, X1), X2, X3) → CONVERTA_IN_GGA(X1, X2, X4)
CONVERTA_IN_GGA(.(0, X1), X2, X3) → U1_GGA(X1, X2, X3, convertA_in_gga(X1, X2, X4))
CONVERTA_IN_GGA(.(0, X1), X2, X3) → CONVERTA_IN_GGA(X1, X2, X4)
CONVERTA_IN_GGA(.(0, X1), X2, X3) → U2_GGA(X1, X2, X3, convertcA_in_gga(X1, X2, X4))
U2_GGA(X1, X2, X3, convertcA_out_gga(X1, X2, X4)) → U3_GGA(X1, X2, X3, timesB_in_gga(X4, X2, X3))
U2_GGA(X1, X2, X3, convertcA_out_gga(X1, X2, X4)) → TIMESB_IN_GGA(X4, X2, X3)
TIMESB_IN_GGA(s(X1), X2, X3) → U5_GGA(X1, X2, X3, timesB_in_gga(X1, X2, X4))
TIMESB_IN_GGA(s(X1), X2, X3) → TIMESB_IN_GGA(X1, X2, X4)
TIMESB_IN_GGA(s(X1), X2, X3) → U6_GGA(X1, X2, X3, timescB_in_gga(X1, X2, X4))
U6_GGA(X1, X2, X3, timescB_out_gga(X1, X2, X4)) → U7_GGA(X1, X2, X3, plusD_in_gga(X2, X4, X3))
U6_GGA(X1, X2, X3, timescB_out_gga(X1, X2, X4)) → PLUSD_IN_GGA(X2, X4, X3)
PLUSD_IN_GGA(s(X1), X2, X3) → U8_GGA(X1, X2, X3, plusD_in_gga(X1, X2, X4))
PLUSD_IN_GGA(s(X1), X2, X3) → PLUSD_IN_GGA(X1, X2, X4)
CONVERTA_IN_GGA(.(s(X1), X2), X3, X4) → U4_GGA(X1, X2, X3, X4, convertC_in_gga(.(X1, X2), X3, X5))
CONVERTA_IN_GGA(.(s(X1), X2), X3, X4) → CONVERTC_IN_GGA(.(X1, X2), X3, X5)
CONVERTC_IN_GGA(.(0, X1), X2, X3) → U10_GGA(X1, X2, X3, convertcA_in_gga(X1, X2, s(X4)))
U10_GGA(X1, X2, X3, convertcA_out_gga(X1, X2, s(X4))) → U11_GGA(X1, X2, X3, timesB_in_gga(X4, X2, X5))
U10_GGA(X1, X2, X3, convertcA_out_gga(X1, X2, s(X4))) → TIMESB_IN_GGA(X4, X2, X5)
CONVERTC_IN_GGA(.(0, X1), s(X2), X3) → U12_GGA(X1, X2, X3, convertcA_in_gga(X1, s(X2), s(X4)))
U12_GGA(X1, X2, X3, convertcA_out_gga(X1, s(X2), s(X4))) → U13_GGA(X1, X2, X3, timescB_in_gga(X4, s(X2), X5))
U13_GGA(X1, X2, X3, timescB_out_gga(X4, s(X2), X5)) → U14_GGA(X1, X2, X3, plusD_in_gga(X2, X5, X6))
U13_GGA(X1, X2, X3, timescB_out_gga(X4, s(X2), X5)) → PLUSD_IN_GGA(X2, X5, X6)
CONVERTC_IN_GGA(.(s(X1), X2), X3, X4) → U15_GGA(X1, X2, X3, X4, convertC_in_gga(.(X1, X2), X3, X5))
CONVERTC_IN_GGA(.(s(X1), X2), X3, X4) → CONVERTC_IN_GGA(.(X1, X2), X3, X5)
convertcA_in_gga([], X1, 0) → convertcA_out_gga([], X1, 0)
convertcA_in_gga(.(0, X1), X2, X3) → U17_gga(X1, X2, X3, convertcA_in_gga(X1, X2, X4))
convertcA_in_gga(.(s(X1), X2), X3, s(X4)) → U19_gga(X1, X2, X3, X4, convertcC_in_gga(.(X1, X2), X3, X4))
convertcC_in_gga([], X1, 0) → convertcC_out_gga([], X1, 0)
convertcC_in_gga(.(0, X1), X2, 0) → U23_gga(X1, X2, convertcA_in_ggg(X1, X2, 0))
convertcA_in_ggg([], X1, 0) → convertcA_out_ggg([], X1, 0)
convertcA_in_ggg(.(0, X1), X2, X3) → U17_ggg(X1, X2, X3, convertcA_in_gga(X1, X2, X4))
U17_ggg(X1, X2, X3, convertcA_out_gga(X1, X2, X4)) → U18_ggg(X1, X2, X3, timescB_in_ggg(X4, X2, X3))
timescB_in_ggg(0, X1, 0) → timescB_out_ggg(0, X1, 0)
timescB_in_ggg(s(X1), X2, X3) → U20_ggg(X1, X2, X3, timescB_in_gga(X1, X2, X4))
timescB_in_gga(0, X1, 0) → timescB_out_gga(0, X1, 0)
timescB_in_gga(s(X1), X2, X3) → U20_gga(X1, X2, X3, timescB_in_gga(X1, X2, X4))
U20_gga(X1, X2, X3, timescB_out_gga(X1, X2, X4)) → U21_gga(X1, X2, X3, pluscD_in_gga(X2, X4, X3))
pluscD_in_gga(0, X1, X1) → pluscD_out_gga(0, X1, X1)
pluscD_in_gga(s(X1), X2, s(X3)) → U22_gga(X1, X2, X3, pluscD_in_gga(X1, X2, X3))
U22_gga(X1, X2, X3, pluscD_out_gga(X1, X2, X3)) → pluscD_out_gga(s(X1), X2, s(X3))
U21_gga(X1, X2, X3, pluscD_out_gga(X2, X4, X3)) → timescB_out_gga(s(X1), X2, X3)
U20_ggg(X1, X2, X3, timescB_out_gga(X1, X2, X4)) → U21_ggg(X1, X2, X3, pluscD_in_ggg(X2, X4, X3))
pluscD_in_ggg(0, X1, X1) → pluscD_out_ggg(0, X1, X1)
pluscD_in_ggg(s(X1), X2, s(X3)) → U22_ggg(X1, X2, X3, pluscD_in_ggg(X1, X2, X3))
U22_ggg(X1, X2, X3, pluscD_out_ggg(X1, X2, X3)) → pluscD_out_ggg(s(X1), X2, s(X3))
U21_ggg(X1, X2, X3, pluscD_out_ggg(X2, X4, X3)) → timescB_out_ggg(s(X1), X2, X3)
U18_ggg(X1, X2, X3, timescB_out_ggg(X4, X2, X3)) → convertcA_out_ggg(.(0, X1), X2, X3)
convertcA_in_ggg(.(s(X1), X2), X3, s(X4)) → U19_ggg(X1, X2, X3, X4, convertcC_in_ggg(.(X1, X2), X3, X4))
convertcC_in_ggg([], X1, 0) → convertcC_out_ggg([], X1, 0)
convertcC_in_ggg(.(0, X1), X2, 0) → U23_ggg(X1, X2, convertcA_in_ggg(X1, X2, 0))
U23_ggg(X1, X2, convertcA_out_ggg(X1, X2, 0)) → convertcC_out_ggg(.(0, X1), X2, 0)
convertcC_in_ggg(.(0, X1), 0, X2) → U24_ggg(X1, X2, convertcA_in_gga(X1, 0, s(X3)))
U24_ggg(X1, X2, convertcA_out_gga(X1, 0, s(X3))) → U25_ggg(X1, X2, timescB_in_ggg(X3, 0, X2))
U25_ggg(X1, X2, timescB_out_ggg(X3, 0, X2)) → convertcC_out_ggg(.(0, X1), 0, X2)
convertcC_in_ggg(.(0, X1), s(X2), s(X3)) → U26_ggg(X1, X2, X3, convertcA_in_gga(X1, s(X2), s(X4)))
U26_ggg(X1, X2, X3, convertcA_out_gga(X1, s(X2), s(X4))) → U27_ggg(X1, X2, X3, timescB_in_gga(X4, s(X2), X5))
U27_ggg(X1, X2, X3, timescB_out_gga(X4, s(X2), X5)) → U28_ggg(X1, X2, X3, pluscD_in_ggg(X2, X5, X3))
U28_ggg(X1, X2, X3, pluscD_out_ggg(X2, X5, X3)) → convertcC_out_ggg(.(0, X1), s(X2), s(X3))
convertcC_in_ggg(.(0, X1), s(X2), 0) → U29_ggg(X1, X2, convertcA_in_gga(X1, s(X2), s(X3)))
U29_ggg(X1, X2, convertcA_out_gga(X1, s(X2), s(X3))) → U30_ggg(X1, X2, timescB_in_gga(X3, s(X2), X4))
U30_ggg(X1, X2, timescB_out_gga(X3, s(X2), X4)) → U31_ggg(X1, X2, pluscD_in_ggg(X2, X4, 0))
U31_ggg(X1, X2, pluscD_out_ggg(X2, X4, 0)) → convertcC_out_ggg(.(0, X1), s(X2), 0)
convertcC_in_ggg(.(s(X1), X2), X3, s(X4)) → U32_ggg(X1, X2, X3, X4, convertcC_in_ggg(.(X1, X2), X3, X4))
convertcC_in_ggg(.(s(X1), X2), X3, 0) → U33_ggg(X1, X2, X3, convertcC_in_ggg(.(X1, X2), X3, 0))
U33_ggg(X1, X2, X3, convertcC_out_ggg(.(X1, X2), X3, 0)) → convertcC_out_ggg(.(s(X1), X2), X3, 0)
U32_ggg(X1, X2, X3, X4, convertcC_out_ggg(.(X1, X2), X3, X4)) → convertcC_out_ggg(.(s(X1), X2), X3, s(X4))
U19_ggg(X1, X2, X3, X4, convertcC_out_ggg(.(X1, X2), X3, X4)) → convertcA_out_ggg(.(s(X1), X2), X3, s(X4))
U23_gga(X1, X2, convertcA_out_ggg(X1, X2, 0)) → convertcC_out_gga(.(0, X1), X2, 0)
convertcC_in_gga(.(0, X1), 0, X2) → U24_gga(X1, X2, convertcA_in_gga(X1, 0, s(X3)))
U24_gga(X1, X2, convertcA_out_gga(X1, 0, s(X3))) → U25_gga(X1, X2, timescB_in_gga(X3, 0, X2))
U25_gga(X1, X2, timescB_out_gga(X3, 0, X2)) → convertcC_out_gga(.(0, X1), 0, X2)
convertcC_in_gga(.(0, X1), s(X2), s(X3)) → U26_gga(X1, X2, X3, convertcA_in_gga(X1, s(X2), s(X4)))
U26_gga(X1, X2, X3, convertcA_out_gga(X1, s(X2), s(X4))) → U27_gga(X1, X2, X3, timescB_in_gga(X4, s(X2), X5))
U27_gga(X1, X2, X3, timescB_out_gga(X4, s(X2), X5)) → U28_gga(X1, X2, X3, pluscD_in_gga(X2, X5, X3))
U28_gga(X1, X2, X3, pluscD_out_gga(X2, X5, X3)) → convertcC_out_gga(.(0, X1), s(X2), s(X3))
convertcC_in_gga(.(0, X1), s(X2), 0) → U29_gga(X1, X2, convertcA_in_gga(X1, s(X2), s(X3)))
U29_gga(X1, X2, convertcA_out_gga(X1, s(X2), s(X3))) → U30_gga(X1, X2, timescB_in_gga(X3, s(X2), X4))
U30_gga(X1, X2, timescB_out_gga(X3, s(X2), X4)) → U31_gga(X1, X2, pluscD_in_ggg(X2, X4, 0))
U31_gga(X1, X2, pluscD_out_ggg(X2, X4, 0)) → convertcC_out_gga(.(0, X1), s(X2), 0)
convertcC_in_gga(.(s(X1), X2), X3, s(X4)) → U32_gga(X1, X2, X3, X4, convertcC_in_gga(.(X1, X2), X3, X4))
convertcC_in_gga(.(s(X1), X2), X3, 0) → U33_gga(X1, X2, X3, convertcC_in_ggg(.(X1, X2), X3, 0))
U33_gga(X1, X2, X3, convertcC_out_ggg(.(X1, X2), X3, 0)) → convertcC_out_gga(.(s(X1), X2), X3, 0)
U32_gga(X1, X2, X3, X4, convertcC_out_gga(.(X1, X2), X3, X4)) → convertcC_out_gga(.(s(X1), X2), X3, s(X4))
U19_gga(X1, X2, X3, X4, convertcC_out_gga(.(X1, X2), X3, X4)) → convertcA_out_gga(.(s(X1), X2), X3, s(X4))
U17_gga(X1, X2, X3, convertcA_out_gga(X1, X2, X4)) → U18_gga(X1, X2, X3, timescB_in_gga(X4, X2, X3))
U18_gga(X1, X2, X3, timescB_out_gga(X4, X2, X3)) → convertcA_out_gga(.(0, X1), X2, X3)
PLUSD_IN_GGA(s(X1), X2, X3) → PLUSD_IN_GGA(X1, X2, X4)
convertcA_in_gga([], X1, 0) → convertcA_out_gga([], X1, 0)
convertcA_in_gga(.(0, X1), X2, X3) → U17_gga(X1, X2, X3, convertcA_in_gga(X1, X2, X4))
convertcA_in_gga(.(s(X1), X2), X3, s(X4)) → U19_gga(X1, X2, X3, X4, convertcC_in_gga(.(X1, X2), X3, X4))
convertcC_in_gga([], X1, 0) → convertcC_out_gga([], X1, 0)
convertcC_in_gga(.(0, X1), X2, 0) → U23_gga(X1, X2, convertcA_in_ggg(X1, X2, 0))
convertcA_in_ggg([], X1, 0) → convertcA_out_ggg([], X1, 0)
convertcA_in_ggg(.(0, X1), X2, X3) → U17_ggg(X1, X2, X3, convertcA_in_gga(X1, X2, X4))
U17_ggg(X1, X2, X3, convertcA_out_gga(X1, X2, X4)) → U18_ggg(X1, X2, X3, timescB_in_ggg(X4, X2, X3))
timescB_in_ggg(0, X1, 0) → timescB_out_ggg(0, X1, 0)
timescB_in_ggg(s(X1), X2, X3) → U20_ggg(X1, X2, X3, timescB_in_gga(X1, X2, X4))
timescB_in_gga(0, X1, 0) → timescB_out_gga(0, X1, 0)
timescB_in_gga(s(X1), X2, X3) → U20_gga(X1, X2, X3, timescB_in_gga(X1, X2, X4))
U20_gga(X1, X2, X3, timescB_out_gga(X1, X2, X4)) → U21_gga(X1, X2, X3, pluscD_in_gga(X2, X4, X3))
pluscD_in_gga(0, X1, X1) → pluscD_out_gga(0, X1, X1)
pluscD_in_gga(s(X1), X2, s(X3)) → U22_gga(X1, X2, X3, pluscD_in_gga(X1, X2, X3))
U22_gga(X1, X2, X3, pluscD_out_gga(X1, X2, X3)) → pluscD_out_gga(s(X1), X2, s(X3))
U21_gga(X1, X2, X3, pluscD_out_gga(X2, X4, X3)) → timescB_out_gga(s(X1), X2, X3)
U20_ggg(X1, X2, X3, timescB_out_gga(X1, X2, X4)) → U21_ggg(X1, X2, X3, pluscD_in_ggg(X2, X4, X3))
pluscD_in_ggg(0, X1, X1) → pluscD_out_ggg(0, X1, X1)
pluscD_in_ggg(s(X1), X2, s(X3)) → U22_ggg(X1, X2, X3, pluscD_in_ggg(X1, X2, X3))
U22_ggg(X1, X2, X3, pluscD_out_ggg(X1, X2, X3)) → pluscD_out_ggg(s(X1), X2, s(X3))
U21_ggg(X1, X2, X3, pluscD_out_ggg(X2, X4, X3)) → timescB_out_ggg(s(X1), X2, X3)
U18_ggg(X1, X2, X3, timescB_out_ggg(X4, X2, X3)) → convertcA_out_ggg(.(0, X1), X2, X3)
convertcA_in_ggg(.(s(X1), X2), X3, s(X4)) → U19_ggg(X1, X2, X3, X4, convertcC_in_ggg(.(X1, X2), X3, X4))
convertcC_in_ggg([], X1, 0) → convertcC_out_ggg([], X1, 0)
convertcC_in_ggg(.(0, X1), X2, 0) → U23_ggg(X1, X2, convertcA_in_ggg(X1, X2, 0))
U23_ggg(X1, X2, convertcA_out_ggg(X1, X2, 0)) → convertcC_out_ggg(.(0, X1), X2, 0)
convertcC_in_ggg(.(0, X1), 0, X2) → U24_ggg(X1, X2, convertcA_in_gga(X1, 0, s(X3)))
U24_ggg(X1, X2, convertcA_out_gga(X1, 0, s(X3))) → U25_ggg(X1, X2, timescB_in_ggg(X3, 0, X2))
U25_ggg(X1, X2, timescB_out_ggg(X3, 0, X2)) → convertcC_out_ggg(.(0, X1), 0, X2)
convertcC_in_ggg(.(0, X1), s(X2), s(X3)) → U26_ggg(X1, X2, X3, convertcA_in_gga(X1, s(X2), s(X4)))
U26_ggg(X1, X2, X3, convertcA_out_gga(X1, s(X2), s(X4))) → U27_ggg(X1, X2, X3, timescB_in_gga(X4, s(X2), X5))
U27_ggg(X1, X2, X3, timescB_out_gga(X4, s(X2), X5)) → U28_ggg(X1, X2, X3, pluscD_in_ggg(X2, X5, X3))
U28_ggg(X1, X2, X3, pluscD_out_ggg(X2, X5, X3)) → convertcC_out_ggg(.(0, X1), s(X2), s(X3))
convertcC_in_ggg(.(0, X1), s(X2), 0) → U29_ggg(X1, X2, convertcA_in_gga(X1, s(X2), s(X3)))
U29_ggg(X1, X2, convertcA_out_gga(X1, s(X2), s(X3))) → U30_ggg(X1, X2, timescB_in_gga(X3, s(X2), X4))
U30_ggg(X1, X2, timescB_out_gga(X3, s(X2), X4)) → U31_ggg(X1, X2, pluscD_in_ggg(X2, X4, 0))
U31_ggg(X1, X2, pluscD_out_ggg(X2, X4, 0)) → convertcC_out_ggg(.(0, X1), s(X2), 0)
convertcC_in_ggg(.(s(X1), X2), X3, s(X4)) → U32_ggg(X1, X2, X3, X4, convertcC_in_ggg(.(X1, X2), X3, X4))
convertcC_in_ggg(.(s(X1), X2), X3, 0) → U33_ggg(X1, X2, X3, convertcC_in_ggg(.(X1, X2), X3, 0))
U33_ggg(X1, X2, X3, convertcC_out_ggg(.(X1, X2), X3, 0)) → convertcC_out_ggg(.(s(X1), X2), X3, 0)
U32_ggg(X1, X2, X3, X4, convertcC_out_ggg(.(X1, X2), X3, X4)) → convertcC_out_ggg(.(s(X1), X2), X3, s(X4))
U19_ggg(X1, X2, X3, X4, convertcC_out_ggg(.(X1, X2), X3, X4)) → convertcA_out_ggg(.(s(X1), X2), X3, s(X4))
U23_gga(X1, X2, convertcA_out_ggg(X1, X2, 0)) → convertcC_out_gga(.(0, X1), X2, 0)
convertcC_in_gga(.(0, X1), 0, X2) → U24_gga(X1, X2, convertcA_in_gga(X1, 0, s(X3)))
U24_gga(X1, X2, convertcA_out_gga(X1, 0, s(X3))) → U25_gga(X1, X2, timescB_in_gga(X3, 0, X2))
U25_gga(X1, X2, timescB_out_gga(X3, 0, X2)) → convertcC_out_gga(.(0, X1), 0, X2)
convertcC_in_gga(.(0, X1), s(X2), s(X3)) → U26_gga(X1, X2, X3, convertcA_in_gga(X1, s(X2), s(X4)))
U26_gga(X1, X2, X3, convertcA_out_gga(X1, s(X2), s(X4))) → U27_gga(X1, X2, X3, timescB_in_gga(X4, s(X2), X5))
U27_gga(X1, X2, X3, timescB_out_gga(X4, s(X2), X5)) → U28_gga(X1, X2, X3, pluscD_in_gga(X2, X5, X3))
U28_gga(X1, X2, X3, pluscD_out_gga(X2, X5, X3)) → convertcC_out_gga(.(0, X1), s(X2), s(X3))
convertcC_in_gga(.(0, X1), s(X2), 0) → U29_gga(X1, X2, convertcA_in_gga(X1, s(X2), s(X3)))
U29_gga(X1, X2, convertcA_out_gga(X1, s(X2), s(X3))) → U30_gga(X1, X2, timescB_in_gga(X3, s(X2), X4))
U30_gga(X1, X2, timescB_out_gga(X3, s(X2), X4)) → U31_gga(X1, X2, pluscD_in_ggg(X2, X4, 0))
U31_gga(X1, X2, pluscD_out_ggg(X2, X4, 0)) → convertcC_out_gga(.(0, X1), s(X2), 0)
convertcC_in_gga(.(s(X1), X2), X3, s(X4)) → U32_gga(X1, X2, X3, X4, convertcC_in_gga(.(X1, X2), X3, X4))
convertcC_in_gga(.(s(X1), X2), X3, 0) → U33_gga(X1, X2, X3, convertcC_in_ggg(.(X1, X2), X3, 0))
U33_gga(X1, X2, X3, convertcC_out_ggg(.(X1, X2), X3, 0)) → convertcC_out_gga(.(s(X1), X2), X3, 0)
U32_gga(X1, X2, X3, X4, convertcC_out_gga(.(X1, X2), X3, X4)) → convertcC_out_gga(.(s(X1), X2), X3, s(X4))
U19_gga(X1, X2, X3, X4, convertcC_out_gga(.(X1, X2), X3, X4)) → convertcA_out_gga(.(s(X1), X2), X3, s(X4))
U17_gga(X1, X2, X3, convertcA_out_gga(X1, X2, X4)) → U18_gga(X1, X2, X3, timescB_in_gga(X4, X2, X3))
U18_gga(X1, X2, X3, timescB_out_gga(X4, X2, X3)) → convertcA_out_gga(.(0, X1), X2, X3)
PLUSD_IN_GGA(s(X1), X2, X3) → PLUSD_IN_GGA(X1, X2, X4)
PLUSD_IN_GGA(s(X1), X2) → PLUSD_IN_GGA(X1, X2)
From the DPs we obtained the following set of size-change graphs:
TIMESB_IN_GGA(s(X1), X2, X3) → TIMESB_IN_GGA(X1, X2, X4)
convertcA_in_gga([], X1, 0) → convertcA_out_gga([], X1, 0)
convertcA_in_gga(.(0, X1), X2, X3) → U17_gga(X1, X2, X3, convertcA_in_gga(X1, X2, X4))
convertcA_in_gga(.(s(X1), X2), X3, s(X4)) → U19_gga(X1, X2, X3, X4, convertcC_in_gga(.(X1, X2), X3, X4))
convertcC_in_gga([], X1, 0) → convertcC_out_gga([], X1, 0)
convertcC_in_gga(.(0, X1), X2, 0) → U23_gga(X1, X2, convertcA_in_ggg(X1, X2, 0))
convertcA_in_ggg([], X1, 0) → convertcA_out_ggg([], X1, 0)
convertcA_in_ggg(.(0, X1), X2, X3) → U17_ggg(X1, X2, X3, convertcA_in_gga(X1, X2, X4))
U17_ggg(X1, X2, X3, convertcA_out_gga(X1, X2, X4)) → U18_ggg(X1, X2, X3, timescB_in_ggg(X4, X2, X3))
timescB_in_ggg(0, X1, 0) → timescB_out_ggg(0, X1, 0)
timescB_in_ggg(s(X1), X2, X3) → U20_ggg(X1, X2, X3, timescB_in_gga(X1, X2, X4))
timescB_in_gga(0, X1, 0) → timescB_out_gga(0, X1, 0)
timescB_in_gga(s(X1), X2, X3) → U20_gga(X1, X2, X3, timescB_in_gga(X1, X2, X4))
U20_gga(X1, X2, X3, timescB_out_gga(X1, X2, X4)) → U21_gga(X1, X2, X3, pluscD_in_gga(X2, X4, X3))
pluscD_in_gga(0, X1, X1) → pluscD_out_gga(0, X1, X1)
pluscD_in_gga(s(X1), X2, s(X3)) → U22_gga(X1, X2, X3, pluscD_in_gga(X1, X2, X3))
U22_gga(X1, X2, X3, pluscD_out_gga(X1, X2, X3)) → pluscD_out_gga(s(X1), X2, s(X3))
U21_gga(X1, X2, X3, pluscD_out_gga(X2, X4, X3)) → timescB_out_gga(s(X1), X2, X3)
U20_ggg(X1, X2, X3, timescB_out_gga(X1, X2, X4)) → U21_ggg(X1, X2, X3, pluscD_in_ggg(X2, X4, X3))
pluscD_in_ggg(0, X1, X1) → pluscD_out_ggg(0, X1, X1)
pluscD_in_ggg(s(X1), X2, s(X3)) → U22_ggg(X1, X2, X3, pluscD_in_ggg(X1, X2, X3))
U22_ggg(X1, X2, X3, pluscD_out_ggg(X1, X2, X3)) → pluscD_out_ggg(s(X1), X2, s(X3))
U21_ggg(X1, X2, X3, pluscD_out_ggg(X2, X4, X3)) → timescB_out_ggg(s(X1), X2, X3)
U18_ggg(X1, X2, X3, timescB_out_ggg(X4, X2, X3)) → convertcA_out_ggg(.(0, X1), X2, X3)
convertcA_in_ggg(.(s(X1), X2), X3, s(X4)) → U19_ggg(X1, X2, X3, X4, convertcC_in_ggg(.(X1, X2), X3, X4))
convertcC_in_ggg([], X1, 0) → convertcC_out_ggg([], X1, 0)
convertcC_in_ggg(.(0, X1), X2, 0) → U23_ggg(X1, X2, convertcA_in_ggg(X1, X2, 0))
U23_ggg(X1, X2, convertcA_out_ggg(X1, X2, 0)) → convertcC_out_ggg(.(0, X1), X2, 0)
convertcC_in_ggg(.(0, X1), 0, X2) → U24_ggg(X1, X2, convertcA_in_gga(X1, 0, s(X3)))
U24_ggg(X1, X2, convertcA_out_gga(X1, 0, s(X3))) → U25_ggg(X1, X2, timescB_in_ggg(X3, 0, X2))
U25_ggg(X1, X2, timescB_out_ggg(X3, 0, X2)) → convertcC_out_ggg(.(0, X1), 0, X2)
convertcC_in_ggg(.(0, X1), s(X2), s(X3)) → U26_ggg(X1, X2, X3, convertcA_in_gga(X1, s(X2), s(X4)))
U26_ggg(X1, X2, X3, convertcA_out_gga(X1, s(X2), s(X4))) → U27_ggg(X1, X2, X3, timescB_in_gga(X4, s(X2), X5))
U27_ggg(X1, X2, X3, timescB_out_gga(X4, s(X2), X5)) → U28_ggg(X1, X2, X3, pluscD_in_ggg(X2, X5, X3))
U28_ggg(X1, X2, X3, pluscD_out_ggg(X2, X5, X3)) → convertcC_out_ggg(.(0, X1), s(X2), s(X3))
convertcC_in_ggg(.(0, X1), s(X2), 0) → U29_ggg(X1, X2, convertcA_in_gga(X1, s(X2), s(X3)))
U29_ggg(X1, X2, convertcA_out_gga(X1, s(X2), s(X3))) → U30_ggg(X1, X2, timescB_in_gga(X3, s(X2), X4))
U30_ggg(X1, X2, timescB_out_gga(X3, s(X2), X4)) → U31_ggg(X1, X2, pluscD_in_ggg(X2, X4, 0))
U31_ggg(X1, X2, pluscD_out_ggg(X2, X4, 0)) → convertcC_out_ggg(.(0, X1), s(X2), 0)
convertcC_in_ggg(.(s(X1), X2), X3, s(X4)) → U32_ggg(X1, X2, X3, X4, convertcC_in_ggg(.(X1, X2), X3, X4))
convertcC_in_ggg(.(s(X1), X2), X3, 0) → U33_ggg(X1, X2, X3, convertcC_in_ggg(.(X1, X2), X3, 0))
U33_ggg(X1, X2, X3, convertcC_out_ggg(.(X1, X2), X3, 0)) → convertcC_out_ggg(.(s(X1), X2), X3, 0)
U32_ggg(X1, X2, X3, X4, convertcC_out_ggg(.(X1, X2), X3, X4)) → convertcC_out_ggg(.(s(X1), X2), X3, s(X4))
U19_ggg(X1, X2, X3, X4, convertcC_out_ggg(.(X1, X2), X3, X4)) → convertcA_out_ggg(.(s(X1), X2), X3, s(X4))
U23_gga(X1, X2, convertcA_out_ggg(X1, X2, 0)) → convertcC_out_gga(.(0, X1), X2, 0)
convertcC_in_gga(.(0, X1), 0, X2) → U24_gga(X1, X2, convertcA_in_gga(X1, 0, s(X3)))
U24_gga(X1, X2, convertcA_out_gga(X1, 0, s(X3))) → U25_gga(X1, X2, timescB_in_gga(X3, 0, X2))
U25_gga(X1, X2, timescB_out_gga(X3, 0, X2)) → convertcC_out_gga(.(0, X1), 0, X2)
convertcC_in_gga(.(0, X1), s(X2), s(X3)) → U26_gga(X1, X2, X3, convertcA_in_gga(X1, s(X2), s(X4)))
U26_gga(X1, X2, X3, convertcA_out_gga(X1, s(X2), s(X4))) → U27_gga(X1, X2, X3, timescB_in_gga(X4, s(X2), X5))
U27_gga(X1, X2, X3, timescB_out_gga(X4, s(X2), X5)) → U28_gga(X1, X2, X3, pluscD_in_gga(X2, X5, X3))
U28_gga(X1, X2, X3, pluscD_out_gga(X2, X5, X3)) → convertcC_out_gga(.(0, X1), s(X2), s(X3))
convertcC_in_gga(.(0, X1), s(X2), 0) → U29_gga(X1, X2, convertcA_in_gga(X1, s(X2), s(X3)))
U29_gga(X1, X2, convertcA_out_gga(X1, s(X2), s(X3))) → U30_gga(X1, X2, timescB_in_gga(X3, s(X2), X4))
U30_gga(X1, X2, timescB_out_gga(X3, s(X2), X4)) → U31_gga(X1, X2, pluscD_in_ggg(X2, X4, 0))
U31_gga(X1, X2, pluscD_out_ggg(X2, X4, 0)) → convertcC_out_gga(.(0, X1), s(X2), 0)
convertcC_in_gga(.(s(X1), X2), X3, s(X4)) → U32_gga(X1, X2, X3, X4, convertcC_in_gga(.(X1, X2), X3, X4))
convertcC_in_gga(.(s(X1), X2), X3, 0) → U33_gga(X1, X2, X3, convertcC_in_ggg(.(X1, X2), X3, 0))
U33_gga(X1, X2, X3, convertcC_out_ggg(.(X1, X2), X3, 0)) → convertcC_out_gga(.(s(X1), X2), X3, 0)
U32_gga(X1, X2, X3, X4, convertcC_out_gga(.(X1, X2), X3, X4)) → convertcC_out_gga(.(s(X1), X2), X3, s(X4))
U19_gga(X1, X2, X3, X4, convertcC_out_gga(.(X1, X2), X3, X4)) → convertcA_out_gga(.(s(X1), X2), X3, s(X4))
U17_gga(X1, X2, X3, convertcA_out_gga(X1, X2, X4)) → U18_gga(X1, X2, X3, timescB_in_gga(X4, X2, X3))
U18_gga(X1, X2, X3, timescB_out_gga(X4, X2, X3)) → convertcA_out_gga(.(0, X1), X2, X3)
TIMESB_IN_GGA(s(X1), X2, X3) → TIMESB_IN_GGA(X1, X2, X4)
TIMESB_IN_GGA(s(X1), X2) → TIMESB_IN_GGA(X1, X2)
From the DPs we obtained the following set of size-change graphs:
CONVERTC_IN_GGA(.(0, X1), X2, X3) → CONVERTA_IN_GGA(X1, X2, X4)
CONVERTA_IN_GGA(.(0, X1), X2, X3) → CONVERTA_IN_GGA(X1, X2, X4)
CONVERTA_IN_GGA(.(s(X1), X2), X3, X4) → CONVERTC_IN_GGA(.(X1, X2), X3, X5)
CONVERTC_IN_GGA(.(s(X1), X2), X3, X4) → CONVERTC_IN_GGA(.(X1, X2), X3, X5)
convertcA_in_gga([], X1, 0) → convertcA_out_gga([], X1, 0)
convertcA_in_gga(.(0, X1), X2, X3) → U17_gga(X1, X2, X3, convertcA_in_gga(X1, X2, X4))
convertcA_in_gga(.(s(X1), X2), X3, s(X4)) → U19_gga(X1, X2, X3, X4, convertcC_in_gga(.(X1, X2), X3, X4))
convertcC_in_gga([], X1, 0) → convertcC_out_gga([], X1, 0)
convertcC_in_gga(.(0, X1), X2, 0) → U23_gga(X1, X2, convertcA_in_ggg(X1, X2, 0))
convertcA_in_ggg([], X1, 0) → convertcA_out_ggg([], X1, 0)
convertcA_in_ggg(.(0, X1), X2, X3) → U17_ggg(X1, X2, X3, convertcA_in_gga(X1, X2, X4))
U17_ggg(X1, X2, X3, convertcA_out_gga(X1, X2, X4)) → U18_ggg(X1, X2, X3, timescB_in_ggg(X4, X2, X3))
timescB_in_ggg(0, X1, 0) → timescB_out_ggg(0, X1, 0)
timescB_in_ggg(s(X1), X2, X3) → U20_ggg(X1, X2, X3, timescB_in_gga(X1, X2, X4))
timescB_in_gga(0, X1, 0) → timescB_out_gga(0, X1, 0)
timescB_in_gga(s(X1), X2, X3) → U20_gga(X1, X2, X3, timescB_in_gga(X1, X2, X4))
U20_gga(X1, X2, X3, timescB_out_gga(X1, X2, X4)) → U21_gga(X1, X2, X3, pluscD_in_gga(X2, X4, X3))
pluscD_in_gga(0, X1, X1) → pluscD_out_gga(0, X1, X1)
pluscD_in_gga(s(X1), X2, s(X3)) → U22_gga(X1, X2, X3, pluscD_in_gga(X1, X2, X3))
U22_gga(X1, X2, X3, pluscD_out_gga(X1, X2, X3)) → pluscD_out_gga(s(X1), X2, s(X3))
U21_gga(X1, X2, X3, pluscD_out_gga(X2, X4, X3)) → timescB_out_gga(s(X1), X2, X3)
U20_ggg(X1, X2, X3, timescB_out_gga(X1, X2, X4)) → U21_ggg(X1, X2, X3, pluscD_in_ggg(X2, X4, X3))
pluscD_in_ggg(0, X1, X1) → pluscD_out_ggg(0, X1, X1)
pluscD_in_ggg(s(X1), X2, s(X3)) → U22_ggg(X1, X2, X3, pluscD_in_ggg(X1, X2, X3))
U22_ggg(X1, X2, X3, pluscD_out_ggg(X1, X2, X3)) → pluscD_out_ggg(s(X1), X2, s(X3))
U21_ggg(X1, X2, X3, pluscD_out_ggg(X2, X4, X3)) → timescB_out_ggg(s(X1), X2, X3)
U18_ggg(X1, X2, X3, timescB_out_ggg(X4, X2, X3)) → convertcA_out_ggg(.(0, X1), X2, X3)
convertcA_in_ggg(.(s(X1), X2), X3, s(X4)) → U19_ggg(X1, X2, X3, X4, convertcC_in_ggg(.(X1, X2), X3, X4))
convertcC_in_ggg([], X1, 0) → convertcC_out_ggg([], X1, 0)
convertcC_in_ggg(.(0, X1), X2, 0) → U23_ggg(X1, X2, convertcA_in_ggg(X1, X2, 0))
U23_ggg(X1, X2, convertcA_out_ggg(X1, X2, 0)) → convertcC_out_ggg(.(0, X1), X2, 0)
convertcC_in_ggg(.(0, X1), 0, X2) → U24_ggg(X1, X2, convertcA_in_gga(X1, 0, s(X3)))
U24_ggg(X1, X2, convertcA_out_gga(X1, 0, s(X3))) → U25_ggg(X1, X2, timescB_in_ggg(X3, 0, X2))
U25_ggg(X1, X2, timescB_out_ggg(X3, 0, X2)) → convertcC_out_ggg(.(0, X1), 0, X2)
convertcC_in_ggg(.(0, X1), s(X2), s(X3)) → U26_ggg(X1, X2, X3, convertcA_in_gga(X1, s(X2), s(X4)))
U26_ggg(X1, X2, X3, convertcA_out_gga(X1, s(X2), s(X4))) → U27_ggg(X1, X2, X3, timescB_in_gga(X4, s(X2), X5))
U27_ggg(X1, X2, X3, timescB_out_gga(X4, s(X2), X5)) → U28_ggg(X1, X2, X3, pluscD_in_ggg(X2, X5, X3))
U28_ggg(X1, X2, X3, pluscD_out_ggg(X2, X5, X3)) → convertcC_out_ggg(.(0, X1), s(X2), s(X3))
convertcC_in_ggg(.(0, X1), s(X2), 0) → U29_ggg(X1, X2, convertcA_in_gga(X1, s(X2), s(X3)))
U29_ggg(X1, X2, convertcA_out_gga(X1, s(X2), s(X3))) → U30_ggg(X1, X2, timescB_in_gga(X3, s(X2), X4))
U30_ggg(X1, X2, timescB_out_gga(X3, s(X2), X4)) → U31_ggg(X1, X2, pluscD_in_ggg(X2, X4, 0))
U31_ggg(X1, X2, pluscD_out_ggg(X2, X4, 0)) → convertcC_out_ggg(.(0, X1), s(X2), 0)
convertcC_in_ggg(.(s(X1), X2), X3, s(X4)) → U32_ggg(X1, X2, X3, X4, convertcC_in_ggg(.(X1, X2), X3, X4))
convertcC_in_ggg(.(s(X1), X2), X3, 0) → U33_ggg(X1, X2, X3, convertcC_in_ggg(.(X1, X2), X3, 0))
U33_ggg(X1, X2, X3, convertcC_out_ggg(.(X1, X2), X3, 0)) → convertcC_out_ggg(.(s(X1), X2), X3, 0)
U32_ggg(X1, X2, X3, X4, convertcC_out_ggg(.(X1, X2), X3, X4)) → convertcC_out_ggg(.(s(X1), X2), X3, s(X4))
U19_ggg(X1, X2, X3, X4, convertcC_out_ggg(.(X1, X2), X3, X4)) → convertcA_out_ggg(.(s(X1), X2), X3, s(X4))
U23_gga(X1, X2, convertcA_out_ggg(X1, X2, 0)) → convertcC_out_gga(.(0, X1), X2, 0)
convertcC_in_gga(.(0, X1), 0, X2) → U24_gga(X1, X2, convertcA_in_gga(X1, 0, s(X3)))
U24_gga(X1, X2, convertcA_out_gga(X1, 0, s(X3))) → U25_gga(X1, X2, timescB_in_gga(X3, 0, X2))
U25_gga(X1, X2, timescB_out_gga(X3, 0, X2)) → convertcC_out_gga(.(0, X1), 0, X2)
convertcC_in_gga(.(0, X1), s(X2), s(X3)) → U26_gga(X1, X2, X3, convertcA_in_gga(X1, s(X2), s(X4)))
U26_gga(X1, X2, X3, convertcA_out_gga(X1, s(X2), s(X4))) → U27_gga(X1, X2, X3, timescB_in_gga(X4, s(X2), X5))
U27_gga(X1, X2, X3, timescB_out_gga(X4, s(X2), X5)) → U28_gga(X1, X2, X3, pluscD_in_gga(X2, X5, X3))
U28_gga(X1, X2, X3, pluscD_out_gga(X2, X5, X3)) → convertcC_out_gga(.(0, X1), s(X2), s(X3))
convertcC_in_gga(.(0, X1), s(X2), 0) → U29_gga(X1, X2, convertcA_in_gga(X1, s(X2), s(X3)))
U29_gga(X1, X2, convertcA_out_gga(X1, s(X2), s(X3))) → U30_gga(X1, X2, timescB_in_gga(X3, s(X2), X4))
U30_gga(X1, X2, timescB_out_gga(X3, s(X2), X4)) → U31_gga(X1, X2, pluscD_in_ggg(X2, X4, 0))
U31_gga(X1, X2, pluscD_out_ggg(X2, X4, 0)) → convertcC_out_gga(.(0, X1), s(X2), 0)
convertcC_in_gga(.(s(X1), X2), X3, s(X4)) → U32_gga(X1, X2, X3, X4, convertcC_in_gga(.(X1, X2), X3, X4))
convertcC_in_gga(.(s(X1), X2), X3, 0) → U33_gga(X1, X2, X3, convertcC_in_ggg(.(X1, X2), X3, 0))
U33_gga(X1, X2, X3, convertcC_out_ggg(.(X1, X2), X3, 0)) → convertcC_out_gga(.(s(X1), X2), X3, 0)
U32_gga(X1, X2, X3, X4, convertcC_out_gga(.(X1, X2), X3, X4)) → convertcC_out_gga(.(s(X1), X2), X3, s(X4))
U19_gga(X1, X2, X3, X4, convertcC_out_gga(.(X1, X2), X3, X4)) → convertcA_out_gga(.(s(X1), X2), X3, s(X4))
U17_gga(X1, X2, X3, convertcA_out_gga(X1, X2, X4)) → U18_gga(X1, X2, X3, timescB_in_gga(X4, X2, X3))
U18_gga(X1, X2, X3, timescB_out_gga(X4, X2, X3)) → convertcA_out_gga(.(0, X1), X2, X3)
CONVERTC_IN_GGA(.(0, X1), X2, X3) → CONVERTA_IN_GGA(X1, X2, X4)
CONVERTA_IN_GGA(.(0, X1), X2, X3) → CONVERTA_IN_GGA(X1, X2, X4)
CONVERTA_IN_GGA(.(s(X1), X2), X3, X4) → CONVERTC_IN_GGA(.(X1, X2), X3, X5)
CONVERTC_IN_GGA(.(s(X1), X2), X3, X4) → CONVERTC_IN_GGA(.(X1, X2), X3, X5)
CONVERTC_IN_GGA(.(0, X1), X2) → CONVERTA_IN_GGA(X1, X2)
CONVERTA_IN_GGA(.(0, X1), X2) → CONVERTA_IN_GGA(X1, X2)
CONVERTA_IN_GGA(.(s(X1), X2), X3) → CONVERTC_IN_GGA(.(X1, X2), X3)
CONVERTC_IN_GGA(.(s(X1), X2), X3) → CONVERTC_IN_GGA(.(X1, X2), X3)
No rules are removed from R.
CONVERTC_IN_GGA(.(0, X1), X2) → CONVERTA_IN_GGA(X1, X2)
CONVERTA_IN_GGA(.(0, X1), X2) → CONVERTA_IN_GGA(X1, X2)
CONVERTA_IN_GGA(.(s(X1), X2), X3) → CONVERTC_IN_GGA(.(X1, X2), X3)
CONVERTC_IN_GGA(.(s(X1), X2), X3) → CONVERTC_IN_GGA(.(X1, X2), X3)
POL(.(x1, x2)) = 1 + x1 + 2·x2
POL(0) = 0
POL(CONVERTA_IN_GGA(x1, x2)) = 2 + 2·x1 + x2
POL(CONVERTC_IN_GGA(x1, x2)) = 2 + x1 + x2
POL(s(x1)) = 2 + 2·x1