0 Prolog
↳1 PrologToDTProblemTransformerProof (⇐)
↳2 TRIPLES
↳3 TriplesToPiDPProof (⇐)
↳4 PiDP
↳5 DependencyGraphProof (⇔)
↳6 AND
↳7 PiDP
↳8 UsableRulesProof (⇔)
↳9 PiDP
↳10 PiDPToQDPProof (⇔)
↳11 QDP
↳12 QDPSizeChangeProof (⇔)
↳13 YES
↳14 PiDP
↳15 UsableRulesProof (⇔)
↳16 PiDP
↳17 PiDPToQDPProof (⇔)
↳18 QDP
↳19 QDPSizeChangeProof (⇔)
↳20 YES
↳21 PiDP
↳22 UsableRulesProof (⇔)
↳23 PiDP
↳24 PiDPToQDPProof (⇐)
↳25 QDP
↳26 MRRProof (⇔)
↳27 QDP
↳28 DependencyGraphProof (⇔)
↳29 QDP
↳30 UsableRulesProof (⇔)
↳31 QDP
↳32 QReductionProof (⇔)
↳33 QDP
↳34 QDPSizeChangeProof (⇔)
↳35 YES
↳36 PiDP
↳37 UsableRulesProof (⇔)
↳38 PiDP
↳39 PiDPToQDPProof (⇐)
↳40 QDP
↳41 QDPSizeChangeProof (⇔)
↳42 YES
↳43 PiDP
↳44 UsableRulesProof (⇔)
↳45 PiDP
↳46 PiDPToQDPProof (⇐)
↳47 QDP
↳48 Rewriting (⇔)
↳49 QDP
↳50 Rewriting (⇔)
↳51 QDP
↳52 QDPOrderProof (⇔)
↳53 QDP
↳54 DependencyGraphProof (⇔)
↳55 TRUE
↳56 PiDP
↳57 UsableRulesProof (⇔)
↳58 PiDP
↳59 PiDPToQDPProof (⇐)
↳60 QDP
↳61 Rewriting (⇔)
↳62 QDP
↳63 UsableRulesProof (⇔)
↳64 QDP
↳65 QReductionProof (⇔)
↳66 QDP
↳67 QDPOrderProof (⇔)
↳68 QDP
↳69 DependencyGraphProof (⇔)
↳70 TRUE
MERGESORT1_IN_GA(.(T23, .(T24, T25)), T14) → U18_GA(T23, T24, T25, T14, split17_in_ggaa(T24, T25, X52, X51))
MERGESORT1_IN_GA(.(T23, .(T24, T25)), T14) → SPLIT17_IN_GGAA(T24, T25, X52, X51)
SPLIT17_IN_GGAA(T36, T37, .(T36, X81), X82) → U2_GGAA(T36, T37, X81, X82, split21_in_gaa(T37, X82, X81))
SPLIT17_IN_GGAA(T36, T37, .(T36, X81), X82) → SPLIT21_IN_GAA(T37, X82, X81)
SPLIT21_IN_GAA(.(T42, T43), .(T42, X99), X100) → U1_GAA(T42, T43, X99, X100, split21_in_gaa(T43, X100, X99))
SPLIT21_IN_GAA(.(T42, T43), .(T42, X99), X100) → SPLIT21_IN_GAA(T43, X100, X99)
MERGESORT1_IN_GA(.(T23, .(T24, T25)), T14) → U19_GA(T23, T24, T25, T14, splitc17_in_ggaa(T24, T25, T28, T29))
U19_GA(T23, T24, T25, T14, splitc17_out_ggaa(T24, T25, T28, T29)) → U20_GA(T23, T24, T25, T14, mergesort1_in_ga(.(T23, T29), X23))
U19_GA(T23, T24, T25, T14, splitc17_out_ggaa(T24, T25, T28, T29)) → MERGESORT1_IN_GA(.(T23, T29), X23)
U19_GA(T23, T24, T25, T14, splitc17_out_ggaa(T24, T25, T28, T29)) → U21_GA(T23, T24, T25, T14, T28, mergesortc1_in_ga(.(T23, T29), T46))
U21_GA(T23, T24, T25, T14, T28, mergesortc1_out_ga(.(T23, T29), T46)) → U22_GA(T23, T24, T25, T14, mergesort32_in_ga(T28, X24))
U21_GA(T23, T24, T25, T14, T28, mergesortc1_out_ga(.(T23, T29), T46)) → MERGESORT32_IN_GA(T28, X24)
MERGESORT32_IN_GA(.(T61, .(T62, T63)), X137) → U3_GA(T61, T62, T63, X137, split17_in_ggaa(T61, .(T62, T63), X133, X134))
MERGESORT32_IN_GA(.(T61, .(T62, T63)), X137) → SPLIT17_IN_GGAA(T61, .(T62, T63), X133, X134)
MERGESORT32_IN_GA(.(T61, .(T62, T63)), X137) → U4_GA(T61, T62, T63, X137, splitc17_in_ggaa(T61, .(T62, T63), T67, T68))
U4_GA(T61, T62, T63, X137, splitc17_out_ggaa(T61, .(T62, T63), T67, T68)) → U5_GA(T61, T62, T63, X137, mergesort32_in_ga(T67, X135))
U4_GA(T61, T62, T63, X137, splitc17_out_ggaa(T61, .(T62, T63), T67, T68)) → MERGESORT32_IN_GA(T67, X135)
U4_GA(T61, T62, T63, X137, splitc17_out_ggaa(T61, .(T62, T63), T67, T68)) → U6_GA(T61, T62, T63, X137, T68, mergesortc32_in_ga(T67, T72))
U6_GA(T61, T62, T63, X137, T68, mergesortc32_out_ga(T67, T72)) → U7_GA(T61, T62, T63, X137, mergesort32_in_ga(T68, X136))
U6_GA(T61, T62, T63, X137, T68, mergesortc32_out_ga(T67, T72)) → MERGESORT32_IN_GA(T68, X136)
U6_GA(T61, T62, T63, X137, T68, mergesortc32_out_ga(T67, T72)) → U8_GA(T61, T62, T63, X137, T72, mergesortc32_in_ga(T68, T73))
U8_GA(T61, T62, T63, X137, T72, mergesortc32_out_ga(T68, T73)) → U9_GA(T61, T62, T63, X137, merge33_in_gga(T72, T73, X137))
U8_GA(T61, T62, T63, X137, T72, mergesortc32_out_ga(T68, T73)) → MERGE33_IN_GGA(T72, T73, X137)
MERGE33_IN_GGA(.(T108, T109), .(T110, T111), .(T108, T113)) → U10_GGA(T108, T109, T110, T111, T113, le68_in_gg(T108, T110))
MERGE33_IN_GGA(.(T108, T109), .(T110, T111), .(T108, T113)) → LE68_IN_GG(T108, T110)
LE68_IN_GG(s(T126), s(T127)) → U16_GG(T126, T127, le68_in_gg(T126, T127))
LE68_IN_GG(s(T126), s(T127)) → LE68_IN_GG(T126, T127)
MERGE33_IN_GGA(.(T108, T109), .(T110, T111), .(T108, T113)) → U11_GGA(T108, T109, T110, T111, T113, lec68_in_gg(T108, T110))
U11_GGA(T108, T109, T110, T111, T113, lec68_out_gg(T108, T110)) → U12_GGA(T108, T109, T110, T111, T113, merge33_in_gga(T109, .(T110, T111), T113))
U11_GGA(T108, T109, T110, T111, T113, lec68_out_gg(T108, T110)) → MERGE33_IN_GGA(T109, .(T110, T111), T113)
MERGE33_IN_GGA(.(T151, T152), .(T153, T154), .(T153, T156)) → U13_GGA(T151, T152, T153, T154, T156, gt85_in_gg(T151, T153))
MERGE33_IN_GGA(.(T151, T152), .(T153, T154), .(T153, T156)) → GT85_IN_GG(T151, T153)
GT85_IN_GG(s(T169), s(T170)) → U17_GG(T169, T170, gt85_in_gg(T169, T170))
GT85_IN_GG(s(T169), s(T170)) → GT85_IN_GG(T169, T170)
MERGE33_IN_GGA(.(T151, T152), .(T153, T154), .(T153, T156)) → U14_GGA(T151, T152, T153, T154, T156, gtc85_in_gg(T151, T153))
U14_GGA(T151, T152, T153, T154, T156, gtc85_out_gg(T151, T153)) → U15_GGA(T151, T152, T153, T154, T156, merge33_in_gga(.(T151, T152), T154, T156))
U14_GGA(T151, T152, T153, T154, T156, gtc85_out_gg(T151, T153)) → MERGE33_IN_GGA(.(T151, T152), T154, T156)
U21_GA(T23, T24, T25, T14, T28, mergesortc1_out_ga(.(T23, T29), T46)) → U23_GA(T23, T24, T25, T14, T46, mergesortc32_in_ga(T28, T49))
U23_GA(T23, T24, T25, T14, T46, mergesortc32_out_ga(T28, T49)) → U24_GA(T23, T24, T25, T14, merge33_in_gga(T46, T49, T14))
U23_GA(T23, T24, T25, T14, T46, mergesortc32_out_ga(T28, T49)) → MERGE33_IN_GGA(T46, T49, T14)
splitc17_in_ggaa(T36, T37, .(T36, X81), X82) → U31_ggaa(T36, T37, X81, X82, splitc21_in_gaa(T37, X82, X81))
splitc21_in_gaa([], [], []) → splitc21_out_gaa([], [], [])
splitc21_in_gaa(.(T42, T43), .(T42, X99), X100) → U26_gaa(T42, T43, X99, X100, splitc21_in_gaa(T43, X100, X99))
U26_gaa(T42, T43, X99, X100, splitc21_out_gaa(T43, X100, X99)) → splitc21_out_gaa(.(T42, T43), .(T42, X99), X100)
U31_ggaa(T36, T37, X81, X82, splitc21_out_gaa(T37, X82, X81)) → splitc17_out_ggaa(T36, T37, .(T36, X81), X82)
mergesortc1_in_ga([], []) → mergesortc1_out_ga([], [])
mergesortc1_in_ga(.(T4, []), .(T4, [])) → mergesortc1_out_ga(.(T4, []), .(T4, []))
mergesortc1_in_ga(.(T23, .(T24, T25)), T14) → U27_ga(T23, T24, T25, T14, splitc17_in_ggaa(T24, T25, T28, T29))
U27_ga(T23, T24, T25, T14, splitc17_out_ggaa(T24, T25, T28, T29)) → U28_ga(T23, T24, T25, T14, T28, mergesortc1_in_ga(.(T23, T29), T46))
U28_ga(T23, T24, T25, T14, T28, mergesortc1_out_ga(.(T23, T29), T46)) → U29_ga(T23, T24, T25, T14, T46, mergesortc32_in_ga(T28, T49))
mergesortc32_in_ga([], []) → mergesortc32_out_ga([], [])
mergesortc32_in_ga(.(T54, []), .(T54, [])) → mergesortc32_out_ga(.(T54, []), .(T54, []))
mergesortc32_in_ga(.(T61, .(T62, T63)), X137) → U32_ga(T61, T62, T63, X137, splitc17_in_ggaa(T61, .(T62, T63), T67, T68))
U32_ga(T61, T62, T63, X137, splitc17_out_ggaa(T61, .(T62, T63), T67, T68)) → U33_ga(T61, T62, T63, X137, T68, mergesortc32_in_ga(T67, T72))
U33_ga(T61, T62, T63, X137, T68, mergesortc32_out_ga(T67, T72)) → U34_ga(T61, T62, T63, X137, T72, mergesortc32_in_ga(T68, T73))
U34_ga(T61, T62, T63, X137, T72, mergesortc32_out_ga(T68, T73)) → U35_ga(T61, T62, T63, X137, mergec33_in_gga(T72, T73, X137))
mergec33_in_gga(T82, [], T82) → mergec33_out_gga(T82, [], T82)
mergec33_in_gga([], T87, T87) → mergec33_out_gga([], T87, T87)
mergec33_in_gga(.(T108, T109), .(T110, T111), .(T108, T113)) → U36_gga(T108, T109, T110, T111, T113, lec68_in_gg(T108, T110))
lec68_in_gg(s(T126), s(T127)) → U40_gg(T126, T127, lec68_in_gg(T126, T127))
lec68_in_gg(0, s(T134)) → lec68_out_gg(0, s(T134))
lec68_in_gg(0, 0) → lec68_out_gg(0, 0)
U40_gg(T126, T127, lec68_out_gg(T126, T127)) → lec68_out_gg(s(T126), s(T127))
U36_gga(T108, T109, T110, T111, T113, lec68_out_gg(T108, T110)) → U37_gga(T108, T109, T110, T111, T113, mergec33_in_gga(T109, .(T110, T111), T113))
mergec33_in_gga(.(T151, T152), .(T153, T154), .(T153, T156)) → U38_gga(T151, T152, T153, T154, T156, gtc85_in_gg(T151, T153))
gtc85_in_gg(s(T169), s(T170)) → U41_gg(T169, T170, gtc85_in_gg(T169, T170))
gtc85_in_gg(s(T175), 0) → gtc85_out_gg(s(T175), 0)
U41_gg(T169, T170, gtc85_out_gg(T169, T170)) → gtc85_out_gg(s(T169), s(T170))
U38_gga(T151, T152, T153, T154, T156, gtc85_out_gg(T151, T153)) → U39_gga(T151, T152, T153, T154, T156, mergec33_in_gga(.(T151, T152), T154, T156))
U39_gga(T151, T152, T153, T154, T156, mergec33_out_gga(.(T151, T152), T154, T156)) → mergec33_out_gga(.(T151, T152), .(T153, T154), .(T153, T156))
U37_gga(T108, T109, T110, T111, T113, mergec33_out_gga(T109, .(T110, T111), T113)) → mergec33_out_gga(.(T108, T109), .(T110, T111), .(T108, T113))
U35_ga(T61, T62, T63, X137, mergec33_out_gga(T72, T73, X137)) → mergesortc32_out_ga(.(T61, .(T62, T63)), X137)
U29_ga(T23, T24, T25, T14, T46, mergesortc32_out_ga(T28, T49)) → U30_ga(T23, T24, T25, T14, mergec33_in_gga(T46, T49, T14))
U30_ga(T23, T24, T25, T14, mergec33_out_gga(T46, T49, T14)) → mergesortc1_out_ga(.(T23, .(T24, T25)), T14)
Infinitary Constructor Rewriting Termination of PiDP implies Termination of TRIPLES
MERGESORT1_IN_GA(.(T23, .(T24, T25)), T14) → U18_GA(T23, T24, T25, T14, split17_in_ggaa(T24, T25, X52, X51))
MERGESORT1_IN_GA(.(T23, .(T24, T25)), T14) → SPLIT17_IN_GGAA(T24, T25, X52, X51)
SPLIT17_IN_GGAA(T36, T37, .(T36, X81), X82) → U2_GGAA(T36, T37, X81, X82, split21_in_gaa(T37, X82, X81))
SPLIT17_IN_GGAA(T36, T37, .(T36, X81), X82) → SPLIT21_IN_GAA(T37, X82, X81)
SPLIT21_IN_GAA(.(T42, T43), .(T42, X99), X100) → U1_GAA(T42, T43, X99, X100, split21_in_gaa(T43, X100, X99))
SPLIT21_IN_GAA(.(T42, T43), .(T42, X99), X100) → SPLIT21_IN_GAA(T43, X100, X99)
MERGESORT1_IN_GA(.(T23, .(T24, T25)), T14) → U19_GA(T23, T24, T25, T14, splitc17_in_ggaa(T24, T25, T28, T29))
U19_GA(T23, T24, T25, T14, splitc17_out_ggaa(T24, T25, T28, T29)) → U20_GA(T23, T24, T25, T14, mergesort1_in_ga(.(T23, T29), X23))
U19_GA(T23, T24, T25, T14, splitc17_out_ggaa(T24, T25, T28, T29)) → MERGESORT1_IN_GA(.(T23, T29), X23)
U19_GA(T23, T24, T25, T14, splitc17_out_ggaa(T24, T25, T28, T29)) → U21_GA(T23, T24, T25, T14, T28, mergesortc1_in_ga(.(T23, T29), T46))
U21_GA(T23, T24, T25, T14, T28, mergesortc1_out_ga(.(T23, T29), T46)) → U22_GA(T23, T24, T25, T14, mergesort32_in_ga(T28, X24))
U21_GA(T23, T24, T25, T14, T28, mergesortc1_out_ga(.(T23, T29), T46)) → MERGESORT32_IN_GA(T28, X24)
MERGESORT32_IN_GA(.(T61, .(T62, T63)), X137) → U3_GA(T61, T62, T63, X137, split17_in_ggaa(T61, .(T62, T63), X133, X134))
MERGESORT32_IN_GA(.(T61, .(T62, T63)), X137) → SPLIT17_IN_GGAA(T61, .(T62, T63), X133, X134)
MERGESORT32_IN_GA(.(T61, .(T62, T63)), X137) → U4_GA(T61, T62, T63, X137, splitc17_in_ggaa(T61, .(T62, T63), T67, T68))
U4_GA(T61, T62, T63, X137, splitc17_out_ggaa(T61, .(T62, T63), T67, T68)) → U5_GA(T61, T62, T63, X137, mergesort32_in_ga(T67, X135))
U4_GA(T61, T62, T63, X137, splitc17_out_ggaa(T61, .(T62, T63), T67, T68)) → MERGESORT32_IN_GA(T67, X135)
U4_GA(T61, T62, T63, X137, splitc17_out_ggaa(T61, .(T62, T63), T67, T68)) → U6_GA(T61, T62, T63, X137, T68, mergesortc32_in_ga(T67, T72))
U6_GA(T61, T62, T63, X137, T68, mergesortc32_out_ga(T67, T72)) → U7_GA(T61, T62, T63, X137, mergesort32_in_ga(T68, X136))
U6_GA(T61, T62, T63, X137, T68, mergesortc32_out_ga(T67, T72)) → MERGESORT32_IN_GA(T68, X136)
U6_GA(T61, T62, T63, X137, T68, mergesortc32_out_ga(T67, T72)) → U8_GA(T61, T62, T63, X137, T72, mergesortc32_in_ga(T68, T73))
U8_GA(T61, T62, T63, X137, T72, mergesortc32_out_ga(T68, T73)) → U9_GA(T61, T62, T63, X137, merge33_in_gga(T72, T73, X137))
U8_GA(T61, T62, T63, X137, T72, mergesortc32_out_ga(T68, T73)) → MERGE33_IN_GGA(T72, T73, X137)
MERGE33_IN_GGA(.(T108, T109), .(T110, T111), .(T108, T113)) → U10_GGA(T108, T109, T110, T111, T113, le68_in_gg(T108, T110))
MERGE33_IN_GGA(.(T108, T109), .(T110, T111), .(T108, T113)) → LE68_IN_GG(T108, T110)
LE68_IN_GG(s(T126), s(T127)) → U16_GG(T126, T127, le68_in_gg(T126, T127))
LE68_IN_GG(s(T126), s(T127)) → LE68_IN_GG(T126, T127)
MERGE33_IN_GGA(.(T108, T109), .(T110, T111), .(T108, T113)) → U11_GGA(T108, T109, T110, T111, T113, lec68_in_gg(T108, T110))
U11_GGA(T108, T109, T110, T111, T113, lec68_out_gg(T108, T110)) → U12_GGA(T108, T109, T110, T111, T113, merge33_in_gga(T109, .(T110, T111), T113))
U11_GGA(T108, T109, T110, T111, T113, lec68_out_gg(T108, T110)) → MERGE33_IN_GGA(T109, .(T110, T111), T113)
MERGE33_IN_GGA(.(T151, T152), .(T153, T154), .(T153, T156)) → U13_GGA(T151, T152, T153, T154, T156, gt85_in_gg(T151, T153))
MERGE33_IN_GGA(.(T151, T152), .(T153, T154), .(T153, T156)) → GT85_IN_GG(T151, T153)
GT85_IN_GG(s(T169), s(T170)) → U17_GG(T169, T170, gt85_in_gg(T169, T170))
GT85_IN_GG(s(T169), s(T170)) → GT85_IN_GG(T169, T170)
MERGE33_IN_GGA(.(T151, T152), .(T153, T154), .(T153, T156)) → U14_GGA(T151, T152, T153, T154, T156, gtc85_in_gg(T151, T153))
U14_GGA(T151, T152, T153, T154, T156, gtc85_out_gg(T151, T153)) → U15_GGA(T151, T152, T153, T154, T156, merge33_in_gga(.(T151, T152), T154, T156))
U14_GGA(T151, T152, T153, T154, T156, gtc85_out_gg(T151, T153)) → MERGE33_IN_GGA(.(T151, T152), T154, T156)
U21_GA(T23, T24, T25, T14, T28, mergesortc1_out_ga(.(T23, T29), T46)) → U23_GA(T23, T24, T25, T14, T46, mergesortc32_in_ga(T28, T49))
U23_GA(T23, T24, T25, T14, T46, mergesortc32_out_ga(T28, T49)) → U24_GA(T23, T24, T25, T14, merge33_in_gga(T46, T49, T14))
U23_GA(T23, T24, T25, T14, T46, mergesortc32_out_ga(T28, T49)) → MERGE33_IN_GGA(T46, T49, T14)
splitc17_in_ggaa(T36, T37, .(T36, X81), X82) → U31_ggaa(T36, T37, X81, X82, splitc21_in_gaa(T37, X82, X81))
splitc21_in_gaa([], [], []) → splitc21_out_gaa([], [], [])
splitc21_in_gaa(.(T42, T43), .(T42, X99), X100) → U26_gaa(T42, T43, X99, X100, splitc21_in_gaa(T43, X100, X99))
U26_gaa(T42, T43, X99, X100, splitc21_out_gaa(T43, X100, X99)) → splitc21_out_gaa(.(T42, T43), .(T42, X99), X100)
U31_ggaa(T36, T37, X81, X82, splitc21_out_gaa(T37, X82, X81)) → splitc17_out_ggaa(T36, T37, .(T36, X81), X82)
mergesortc1_in_ga([], []) → mergesortc1_out_ga([], [])
mergesortc1_in_ga(.(T4, []), .(T4, [])) → mergesortc1_out_ga(.(T4, []), .(T4, []))
mergesortc1_in_ga(.(T23, .(T24, T25)), T14) → U27_ga(T23, T24, T25, T14, splitc17_in_ggaa(T24, T25, T28, T29))
U27_ga(T23, T24, T25, T14, splitc17_out_ggaa(T24, T25, T28, T29)) → U28_ga(T23, T24, T25, T14, T28, mergesortc1_in_ga(.(T23, T29), T46))
U28_ga(T23, T24, T25, T14, T28, mergesortc1_out_ga(.(T23, T29), T46)) → U29_ga(T23, T24, T25, T14, T46, mergesortc32_in_ga(T28, T49))
mergesortc32_in_ga([], []) → mergesortc32_out_ga([], [])
mergesortc32_in_ga(.(T54, []), .(T54, [])) → mergesortc32_out_ga(.(T54, []), .(T54, []))
mergesortc32_in_ga(.(T61, .(T62, T63)), X137) → U32_ga(T61, T62, T63, X137, splitc17_in_ggaa(T61, .(T62, T63), T67, T68))
U32_ga(T61, T62, T63, X137, splitc17_out_ggaa(T61, .(T62, T63), T67, T68)) → U33_ga(T61, T62, T63, X137, T68, mergesortc32_in_ga(T67, T72))
U33_ga(T61, T62, T63, X137, T68, mergesortc32_out_ga(T67, T72)) → U34_ga(T61, T62, T63, X137, T72, mergesortc32_in_ga(T68, T73))
U34_ga(T61, T62, T63, X137, T72, mergesortc32_out_ga(T68, T73)) → U35_ga(T61, T62, T63, X137, mergec33_in_gga(T72, T73, X137))
mergec33_in_gga(T82, [], T82) → mergec33_out_gga(T82, [], T82)
mergec33_in_gga([], T87, T87) → mergec33_out_gga([], T87, T87)
mergec33_in_gga(.(T108, T109), .(T110, T111), .(T108, T113)) → U36_gga(T108, T109, T110, T111, T113, lec68_in_gg(T108, T110))
lec68_in_gg(s(T126), s(T127)) → U40_gg(T126, T127, lec68_in_gg(T126, T127))
lec68_in_gg(0, s(T134)) → lec68_out_gg(0, s(T134))
lec68_in_gg(0, 0) → lec68_out_gg(0, 0)
U40_gg(T126, T127, lec68_out_gg(T126, T127)) → lec68_out_gg(s(T126), s(T127))
U36_gga(T108, T109, T110, T111, T113, lec68_out_gg(T108, T110)) → U37_gga(T108, T109, T110, T111, T113, mergec33_in_gga(T109, .(T110, T111), T113))
mergec33_in_gga(.(T151, T152), .(T153, T154), .(T153, T156)) → U38_gga(T151, T152, T153, T154, T156, gtc85_in_gg(T151, T153))
gtc85_in_gg(s(T169), s(T170)) → U41_gg(T169, T170, gtc85_in_gg(T169, T170))
gtc85_in_gg(s(T175), 0) → gtc85_out_gg(s(T175), 0)
U41_gg(T169, T170, gtc85_out_gg(T169, T170)) → gtc85_out_gg(s(T169), s(T170))
U38_gga(T151, T152, T153, T154, T156, gtc85_out_gg(T151, T153)) → U39_gga(T151, T152, T153, T154, T156, mergec33_in_gga(.(T151, T152), T154, T156))
U39_gga(T151, T152, T153, T154, T156, mergec33_out_gga(.(T151, T152), T154, T156)) → mergec33_out_gga(.(T151, T152), .(T153, T154), .(T153, T156))
U37_gga(T108, T109, T110, T111, T113, mergec33_out_gga(T109, .(T110, T111), T113)) → mergec33_out_gga(.(T108, T109), .(T110, T111), .(T108, T113))
U35_ga(T61, T62, T63, X137, mergec33_out_gga(T72, T73, X137)) → mergesortc32_out_ga(.(T61, .(T62, T63)), X137)
U29_ga(T23, T24, T25, T14, T46, mergesortc32_out_ga(T28, T49)) → U30_ga(T23, T24, T25, T14, mergec33_in_gga(T46, T49, T14))
U30_ga(T23, T24, T25, T14, mergec33_out_gga(T46, T49, T14)) → mergesortc1_out_ga(.(T23, .(T24, T25)), T14)
GT85_IN_GG(s(T169), s(T170)) → GT85_IN_GG(T169, T170)
splitc17_in_ggaa(T36, T37, .(T36, X81), X82) → U31_ggaa(T36, T37, X81, X82, splitc21_in_gaa(T37, X82, X81))
splitc21_in_gaa([], [], []) → splitc21_out_gaa([], [], [])
splitc21_in_gaa(.(T42, T43), .(T42, X99), X100) → U26_gaa(T42, T43, X99, X100, splitc21_in_gaa(T43, X100, X99))
U26_gaa(T42, T43, X99, X100, splitc21_out_gaa(T43, X100, X99)) → splitc21_out_gaa(.(T42, T43), .(T42, X99), X100)
U31_ggaa(T36, T37, X81, X82, splitc21_out_gaa(T37, X82, X81)) → splitc17_out_ggaa(T36, T37, .(T36, X81), X82)
mergesortc1_in_ga([], []) → mergesortc1_out_ga([], [])
mergesortc1_in_ga(.(T4, []), .(T4, [])) → mergesortc1_out_ga(.(T4, []), .(T4, []))
mergesortc1_in_ga(.(T23, .(T24, T25)), T14) → U27_ga(T23, T24, T25, T14, splitc17_in_ggaa(T24, T25, T28, T29))
U27_ga(T23, T24, T25, T14, splitc17_out_ggaa(T24, T25, T28, T29)) → U28_ga(T23, T24, T25, T14, T28, mergesortc1_in_ga(.(T23, T29), T46))
U28_ga(T23, T24, T25, T14, T28, mergesortc1_out_ga(.(T23, T29), T46)) → U29_ga(T23, T24, T25, T14, T46, mergesortc32_in_ga(T28, T49))
mergesortc32_in_ga([], []) → mergesortc32_out_ga([], [])
mergesortc32_in_ga(.(T54, []), .(T54, [])) → mergesortc32_out_ga(.(T54, []), .(T54, []))
mergesortc32_in_ga(.(T61, .(T62, T63)), X137) → U32_ga(T61, T62, T63, X137, splitc17_in_ggaa(T61, .(T62, T63), T67, T68))
U32_ga(T61, T62, T63, X137, splitc17_out_ggaa(T61, .(T62, T63), T67, T68)) → U33_ga(T61, T62, T63, X137, T68, mergesortc32_in_ga(T67, T72))
U33_ga(T61, T62, T63, X137, T68, mergesortc32_out_ga(T67, T72)) → U34_ga(T61, T62, T63, X137, T72, mergesortc32_in_ga(T68, T73))
U34_ga(T61, T62, T63, X137, T72, mergesortc32_out_ga(T68, T73)) → U35_ga(T61, T62, T63, X137, mergec33_in_gga(T72, T73, X137))
mergec33_in_gga(T82, [], T82) → mergec33_out_gga(T82, [], T82)
mergec33_in_gga([], T87, T87) → mergec33_out_gga([], T87, T87)
mergec33_in_gga(.(T108, T109), .(T110, T111), .(T108, T113)) → U36_gga(T108, T109, T110, T111, T113, lec68_in_gg(T108, T110))
lec68_in_gg(s(T126), s(T127)) → U40_gg(T126, T127, lec68_in_gg(T126, T127))
lec68_in_gg(0, s(T134)) → lec68_out_gg(0, s(T134))
lec68_in_gg(0, 0) → lec68_out_gg(0, 0)
U40_gg(T126, T127, lec68_out_gg(T126, T127)) → lec68_out_gg(s(T126), s(T127))
U36_gga(T108, T109, T110, T111, T113, lec68_out_gg(T108, T110)) → U37_gga(T108, T109, T110, T111, T113, mergec33_in_gga(T109, .(T110, T111), T113))
mergec33_in_gga(.(T151, T152), .(T153, T154), .(T153, T156)) → U38_gga(T151, T152, T153, T154, T156, gtc85_in_gg(T151, T153))
gtc85_in_gg(s(T169), s(T170)) → U41_gg(T169, T170, gtc85_in_gg(T169, T170))
gtc85_in_gg(s(T175), 0) → gtc85_out_gg(s(T175), 0)
U41_gg(T169, T170, gtc85_out_gg(T169, T170)) → gtc85_out_gg(s(T169), s(T170))
U38_gga(T151, T152, T153, T154, T156, gtc85_out_gg(T151, T153)) → U39_gga(T151, T152, T153, T154, T156, mergec33_in_gga(.(T151, T152), T154, T156))
U39_gga(T151, T152, T153, T154, T156, mergec33_out_gga(.(T151, T152), T154, T156)) → mergec33_out_gga(.(T151, T152), .(T153, T154), .(T153, T156))
U37_gga(T108, T109, T110, T111, T113, mergec33_out_gga(T109, .(T110, T111), T113)) → mergec33_out_gga(.(T108, T109), .(T110, T111), .(T108, T113))
U35_ga(T61, T62, T63, X137, mergec33_out_gga(T72, T73, X137)) → mergesortc32_out_ga(.(T61, .(T62, T63)), X137)
U29_ga(T23, T24, T25, T14, T46, mergesortc32_out_ga(T28, T49)) → U30_ga(T23, T24, T25, T14, mergec33_in_gga(T46, T49, T14))
U30_ga(T23, T24, T25, T14, mergec33_out_gga(T46, T49, T14)) → mergesortc1_out_ga(.(T23, .(T24, T25)), T14)
GT85_IN_GG(s(T169), s(T170)) → GT85_IN_GG(T169, T170)
GT85_IN_GG(s(T169), s(T170)) → GT85_IN_GG(T169, T170)
From the DPs we obtained the following set of size-change graphs:
LE68_IN_GG(s(T126), s(T127)) → LE68_IN_GG(T126, T127)
splitc17_in_ggaa(T36, T37, .(T36, X81), X82) → U31_ggaa(T36, T37, X81, X82, splitc21_in_gaa(T37, X82, X81))
splitc21_in_gaa([], [], []) → splitc21_out_gaa([], [], [])
splitc21_in_gaa(.(T42, T43), .(T42, X99), X100) → U26_gaa(T42, T43, X99, X100, splitc21_in_gaa(T43, X100, X99))
U26_gaa(T42, T43, X99, X100, splitc21_out_gaa(T43, X100, X99)) → splitc21_out_gaa(.(T42, T43), .(T42, X99), X100)
U31_ggaa(T36, T37, X81, X82, splitc21_out_gaa(T37, X82, X81)) → splitc17_out_ggaa(T36, T37, .(T36, X81), X82)
mergesortc1_in_ga([], []) → mergesortc1_out_ga([], [])
mergesortc1_in_ga(.(T4, []), .(T4, [])) → mergesortc1_out_ga(.(T4, []), .(T4, []))
mergesortc1_in_ga(.(T23, .(T24, T25)), T14) → U27_ga(T23, T24, T25, T14, splitc17_in_ggaa(T24, T25, T28, T29))
U27_ga(T23, T24, T25, T14, splitc17_out_ggaa(T24, T25, T28, T29)) → U28_ga(T23, T24, T25, T14, T28, mergesortc1_in_ga(.(T23, T29), T46))
U28_ga(T23, T24, T25, T14, T28, mergesortc1_out_ga(.(T23, T29), T46)) → U29_ga(T23, T24, T25, T14, T46, mergesortc32_in_ga(T28, T49))
mergesortc32_in_ga([], []) → mergesortc32_out_ga([], [])
mergesortc32_in_ga(.(T54, []), .(T54, [])) → mergesortc32_out_ga(.(T54, []), .(T54, []))
mergesortc32_in_ga(.(T61, .(T62, T63)), X137) → U32_ga(T61, T62, T63, X137, splitc17_in_ggaa(T61, .(T62, T63), T67, T68))
U32_ga(T61, T62, T63, X137, splitc17_out_ggaa(T61, .(T62, T63), T67, T68)) → U33_ga(T61, T62, T63, X137, T68, mergesortc32_in_ga(T67, T72))
U33_ga(T61, T62, T63, X137, T68, mergesortc32_out_ga(T67, T72)) → U34_ga(T61, T62, T63, X137, T72, mergesortc32_in_ga(T68, T73))
U34_ga(T61, T62, T63, X137, T72, mergesortc32_out_ga(T68, T73)) → U35_ga(T61, T62, T63, X137, mergec33_in_gga(T72, T73, X137))
mergec33_in_gga(T82, [], T82) → mergec33_out_gga(T82, [], T82)
mergec33_in_gga([], T87, T87) → mergec33_out_gga([], T87, T87)
mergec33_in_gga(.(T108, T109), .(T110, T111), .(T108, T113)) → U36_gga(T108, T109, T110, T111, T113, lec68_in_gg(T108, T110))
lec68_in_gg(s(T126), s(T127)) → U40_gg(T126, T127, lec68_in_gg(T126, T127))
lec68_in_gg(0, s(T134)) → lec68_out_gg(0, s(T134))
lec68_in_gg(0, 0) → lec68_out_gg(0, 0)
U40_gg(T126, T127, lec68_out_gg(T126, T127)) → lec68_out_gg(s(T126), s(T127))
U36_gga(T108, T109, T110, T111, T113, lec68_out_gg(T108, T110)) → U37_gga(T108, T109, T110, T111, T113, mergec33_in_gga(T109, .(T110, T111), T113))
mergec33_in_gga(.(T151, T152), .(T153, T154), .(T153, T156)) → U38_gga(T151, T152, T153, T154, T156, gtc85_in_gg(T151, T153))
gtc85_in_gg(s(T169), s(T170)) → U41_gg(T169, T170, gtc85_in_gg(T169, T170))
gtc85_in_gg(s(T175), 0) → gtc85_out_gg(s(T175), 0)
U41_gg(T169, T170, gtc85_out_gg(T169, T170)) → gtc85_out_gg(s(T169), s(T170))
U38_gga(T151, T152, T153, T154, T156, gtc85_out_gg(T151, T153)) → U39_gga(T151, T152, T153, T154, T156, mergec33_in_gga(.(T151, T152), T154, T156))
U39_gga(T151, T152, T153, T154, T156, mergec33_out_gga(.(T151, T152), T154, T156)) → mergec33_out_gga(.(T151, T152), .(T153, T154), .(T153, T156))
U37_gga(T108, T109, T110, T111, T113, mergec33_out_gga(T109, .(T110, T111), T113)) → mergec33_out_gga(.(T108, T109), .(T110, T111), .(T108, T113))
U35_ga(T61, T62, T63, X137, mergec33_out_gga(T72, T73, X137)) → mergesortc32_out_ga(.(T61, .(T62, T63)), X137)
U29_ga(T23, T24, T25, T14, T46, mergesortc32_out_ga(T28, T49)) → U30_ga(T23, T24, T25, T14, mergec33_in_gga(T46, T49, T14))
U30_ga(T23, T24, T25, T14, mergec33_out_gga(T46, T49, T14)) → mergesortc1_out_ga(.(T23, .(T24, T25)), T14)
LE68_IN_GG(s(T126), s(T127)) → LE68_IN_GG(T126, T127)
LE68_IN_GG(s(T126), s(T127)) → LE68_IN_GG(T126, T127)
From the DPs we obtained the following set of size-change graphs:
MERGE33_IN_GGA(.(T108, T109), .(T110, T111), .(T108, T113)) → U11_GGA(T108, T109, T110, T111, T113, lec68_in_gg(T108, T110))
U11_GGA(T108, T109, T110, T111, T113, lec68_out_gg(T108, T110)) → MERGE33_IN_GGA(T109, .(T110, T111), T113)
MERGE33_IN_GGA(.(T151, T152), .(T153, T154), .(T153, T156)) → U14_GGA(T151, T152, T153, T154, T156, gtc85_in_gg(T151, T153))
U14_GGA(T151, T152, T153, T154, T156, gtc85_out_gg(T151, T153)) → MERGE33_IN_GGA(.(T151, T152), T154, T156)
splitc17_in_ggaa(T36, T37, .(T36, X81), X82) → U31_ggaa(T36, T37, X81, X82, splitc21_in_gaa(T37, X82, X81))
splitc21_in_gaa([], [], []) → splitc21_out_gaa([], [], [])
splitc21_in_gaa(.(T42, T43), .(T42, X99), X100) → U26_gaa(T42, T43, X99, X100, splitc21_in_gaa(T43, X100, X99))
U26_gaa(T42, T43, X99, X100, splitc21_out_gaa(T43, X100, X99)) → splitc21_out_gaa(.(T42, T43), .(T42, X99), X100)
U31_ggaa(T36, T37, X81, X82, splitc21_out_gaa(T37, X82, X81)) → splitc17_out_ggaa(T36, T37, .(T36, X81), X82)
mergesortc1_in_ga([], []) → mergesortc1_out_ga([], [])
mergesortc1_in_ga(.(T4, []), .(T4, [])) → mergesortc1_out_ga(.(T4, []), .(T4, []))
mergesortc1_in_ga(.(T23, .(T24, T25)), T14) → U27_ga(T23, T24, T25, T14, splitc17_in_ggaa(T24, T25, T28, T29))
U27_ga(T23, T24, T25, T14, splitc17_out_ggaa(T24, T25, T28, T29)) → U28_ga(T23, T24, T25, T14, T28, mergesortc1_in_ga(.(T23, T29), T46))
U28_ga(T23, T24, T25, T14, T28, mergesortc1_out_ga(.(T23, T29), T46)) → U29_ga(T23, T24, T25, T14, T46, mergesortc32_in_ga(T28, T49))
mergesortc32_in_ga([], []) → mergesortc32_out_ga([], [])
mergesortc32_in_ga(.(T54, []), .(T54, [])) → mergesortc32_out_ga(.(T54, []), .(T54, []))
mergesortc32_in_ga(.(T61, .(T62, T63)), X137) → U32_ga(T61, T62, T63, X137, splitc17_in_ggaa(T61, .(T62, T63), T67, T68))
U32_ga(T61, T62, T63, X137, splitc17_out_ggaa(T61, .(T62, T63), T67, T68)) → U33_ga(T61, T62, T63, X137, T68, mergesortc32_in_ga(T67, T72))
U33_ga(T61, T62, T63, X137, T68, mergesortc32_out_ga(T67, T72)) → U34_ga(T61, T62, T63, X137, T72, mergesortc32_in_ga(T68, T73))
U34_ga(T61, T62, T63, X137, T72, mergesortc32_out_ga(T68, T73)) → U35_ga(T61, T62, T63, X137, mergec33_in_gga(T72, T73, X137))
mergec33_in_gga(T82, [], T82) → mergec33_out_gga(T82, [], T82)
mergec33_in_gga([], T87, T87) → mergec33_out_gga([], T87, T87)
mergec33_in_gga(.(T108, T109), .(T110, T111), .(T108, T113)) → U36_gga(T108, T109, T110, T111, T113, lec68_in_gg(T108, T110))
lec68_in_gg(s(T126), s(T127)) → U40_gg(T126, T127, lec68_in_gg(T126, T127))
lec68_in_gg(0, s(T134)) → lec68_out_gg(0, s(T134))
lec68_in_gg(0, 0) → lec68_out_gg(0, 0)
U40_gg(T126, T127, lec68_out_gg(T126, T127)) → lec68_out_gg(s(T126), s(T127))
U36_gga(T108, T109, T110, T111, T113, lec68_out_gg(T108, T110)) → U37_gga(T108, T109, T110, T111, T113, mergec33_in_gga(T109, .(T110, T111), T113))
mergec33_in_gga(.(T151, T152), .(T153, T154), .(T153, T156)) → U38_gga(T151, T152, T153, T154, T156, gtc85_in_gg(T151, T153))
gtc85_in_gg(s(T169), s(T170)) → U41_gg(T169, T170, gtc85_in_gg(T169, T170))
gtc85_in_gg(s(T175), 0) → gtc85_out_gg(s(T175), 0)
U41_gg(T169, T170, gtc85_out_gg(T169, T170)) → gtc85_out_gg(s(T169), s(T170))
U38_gga(T151, T152, T153, T154, T156, gtc85_out_gg(T151, T153)) → U39_gga(T151, T152, T153, T154, T156, mergec33_in_gga(.(T151, T152), T154, T156))
U39_gga(T151, T152, T153, T154, T156, mergec33_out_gga(.(T151, T152), T154, T156)) → mergec33_out_gga(.(T151, T152), .(T153, T154), .(T153, T156))
U37_gga(T108, T109, T110, T111, T113, mergec33_out_gga(T109, .(T110, T111), T113)) → mergec33_out_gga(.(T108, T109), .(T110, T111), .(T108, T113))
U35_ga(T61, T62, T63, X137, mergec33_out_gga(T72, T73, X137)) → mergesortc32_out_ga(.(T61, .(T62, T63)), X137)
U29_ga(T23, T24, T25, T14, T46, mergesortc32_out_ga(T28, T49)) → U30_ga(T23, T24, T25, T14, mergec33_in_gga(T46, T49, T14))
U30_ga(T23, T24, T25, T14, mergec33_out_gga(T46, T49, T14)) → mergesortc1_out_ga(.(T23, .(T24, T25)), T14)
MERGE33_IN_GGA(.(T108, T109), .(T110, T111), .(T108, T113)) → U11_GGA(T108, T109, T110, T111, T113, lec68_in_gg(T108, T110))
U11_GGA(T108, T109, T110, T111, T113, lec68_out_gg(T108, T110)) → MERGE33_IN_GGA(T109, .(T110, T111), T113)
MERGE33_IN_GGA(.(T151, T152), .(T153, T154), .(T153, T156)) → U14_GGA(T151, T152, T153, T154, T156, gtc85_in_gg(T151, T153))
U14_GGA(T151, T152, T153, T154, T156, gtc85_out_gg(T151, T153)) → MERGE33_IN_GGA(.(T151, T152), T154, T156)
lec68_in_gg(s(T126), s(T127)) → U40_gg(T126, T127, lec68_in_gg(T126, T127))
lec68_in_gg(0, s(T134)) → lec68_out_gg(0, s(T134))
lec68_in_gg(0, 0) → lec68_out_gg(0, 0)
gtc85_in_gg(s(T169), s(T170)) → U41_gg(T169, T170, gtc85_in_gg(T169, T170))
gtc85_in_gg(s(T175), 0) → gtc85_out_gg(s(T175), 0)
U40_gg(T126, T127, lec68_out_gg(T126, T127)) → lec68_out_gg(s(T126), s(T127))
U41_gg(T169, T170, gtc85_out_gg(T169, T170)) → gtc85_out_gg(s(T169), s(T170))
MERGE33_IN_GGA(.(T108, T109), .(T110, T111)) → U11_GGA(T108, T109, T110, T111, lec68_in_gg(T108, T110))
U11_GGA(T108, T109, T110, T111, lec68_out_gg(T108, T110)) → MERGE33_IN_GGA(T109, .(T110, T111))
MERGE33_IN_GGA(.(T151, T152), .(T153, T154)) → U14_GGA(T151, T152, T153, T154, gtc85_in_gg(T151, T153))
U14_GGA(T151, T152, T153, T154, gtc85_out_gg(T151, T153)) → MERGE33_IN_GGA(.(T151, T152), T154)
lec68_in_gg(s(T126), s(T127)) → U40_gg(T126, T127, lec68_in_gg(T126, T127))
lec68_in_gg(0, s(T134)) → lec68_out_gg(0, s(T134))
lec68_in_gg(0, 0) → lec68_out_gg(0, 0)
gtc85_in_gg(s(T169), s(T170)) → U41_gg(T169, T170, gtc85_in_gg(T169, T170))
gtc85_in_gg(s(T175), 0) → gtc85_out_gg(s(T175), 0)
U40_gg(T126, T127, lec68_out_gg(T126, T127)) → lec68_out_gg(s(T126), s(T127))
U41_gg(T169, T170, gtc85_out_gg(T169, T170)) → gtc85_out_gg(s(T169), s(T170))
lec68_in_gg(x0, x1)
gtc85_in_gg(x0, x1)
U40_gg(x0, x1, x2)
U41_gg(x0, x1, x2)
MERGE33_IN_GGA(.(T108, T109), .(T110, T111)) → U11_GGA(T108, T109, T110, T111, lec68_in_gg(T108, T110))
gtc85_in_gg(s(T175), 0) → gtc85_out_gg(s(T175), 0)
POL(.(x1, x2)) = 1 + 2·x1 + x2
POL(0) = 0
POL(MERGE33_IN_GGA(x1, x2)) = 2·x1 + 2·x2
POL(U11_GGA(x1, x2, x3, x4, x5)) = 2 + x1 + 2·x2 + 2·x3 + 2·x4 + x5
POL(U14_GGA(x1, x2, x3, x4, x5)) = 2 + 2·x1 + 2·x2 + 2·x3 + 2·x4 + 2·x5
POL(U40_gg(x1, x2, x3)) = 2·x1 + 2·x2 + x3
POL(U41_gg(x1, x2, x3)) = x1 + x2 + x3
POL(gtc85_in_gg(x1, x2)) = 1 + x1 + x2
POL(gtc85_out_gg(x1, x2)) = x1 + x2
POL(lec68_in_gg(x1, x2)) = 2·x1 + 2·x2
POL(lec68_out_gg(x1, x2)) = 2·x1 + 2·x2
POL(s(x1)) = 2·x1
U11_GGA(T108, T109, T110, T111, lec68_out_gg(T108, T110)) → MERGE33_IN_GGA(T109, .(T110, T111))
MERGE33_IN_GGA(.(T151, T152), .(T153, T154)) → U14_GGA(T151, T152, T153, T154, gtc85_in_gg(T151, T153))
U14_GGA(T151, T152, T153, T154, gtc85_out_gg(T151, T153)) → MERGE33_IN_GGA(.(T151, T152), T154)
lec68_in_gg(s(T126), s(T127)) → U40_gg(T126, T127, lec68_in_gg(T126, T127))
lec68_in_gg(0, s(T134)) → lec68_out_gg(0, s(T134))
lec68_in_gg(0, 0) → lec68_out_gg(0, 0)
gtc85_in_gg(s(T169), s(T170)) → U41_gg(T169, T170, gtc85_in_gg(T169, T170))
U40_gg(T126, T127, lec68_out_gg(T126, T127)) → lec68_out_gg(s(T126), s(T127))
U41_gg(T169, T170, gtc85_out_gg(T169, T170)) → gtc85_out_gg(s(T169), s(T170))
lec68_in_gg(x0, x1)
gtc85_in_gg(x0, x1)
U40_gg(x0, x1, x2)
U41_gg(x0, x1, x2)
U14_GGA(T151, T152, T153, T154, gtc85_out_gg(T151, T153)) → MERGE33_IN_GGA(.(T151, T152), T154)
MERGE33_IN_GGA(.(T151, T152), .(T153, T154)) → U14_GGA(T151, T152, T153, T154, gtc85_in_gg(T151, T153))
lec68_in_gg(s(T126), s(T127)) → U40_gg(T126, T127, lec68_in_gg(T126, T127))
lec68_in_gg(0, s(T134)) → lec68_out_gg(0, s(T134))
lec68_in_gg(0, 0) → lec68_out_gg(0, 0)
gtc85_in_gg(s(T169), s(T170)) → U41_gg(T169, T170, gtc85_in_gg(T169, T170))
U40_gg(T126, T127, lec68_out_gg(T126, T127)) → lec68_out_gg(s(T126), s(T127))
U41_gg(T169, T170, gtc85_out_gg(T169, T170)) → gtc85_out_gg(s(T169), s(T170))
lec68_in_gg(x0, x1)
gtc85_in_gg(x0, x1)
U40_gg(x0, x1, x2)
U41_gg(x0, x1, x2)
U14_GGA(T151, T152, T153, T154, gtc85_out_gg(T151, T153)) → MERGE33_IN_GGA(.(T151, T152), T154)
MERGE33_IN_GGA(.(T151, T152), .(T153, T154)) → U14_GGA(T151, T152, T153, T154, gtc85_in_gg(T151, T153))
gtc85_in_gg(s(T169), s(T170)) → U41_gg(T169, T170, gtc85_in_gg(T169, T170))
U41_gg(T169, T170, gtc85_out_gg(T169, T170)) → gtc85_out_gg(s(T169), s(T170))
lec68_in_gg(x0, x1)
gtc85_in_gg(x0, x1)
U40_gg(x0, x1, x2)
U41_gg(x0, x1, x2)
lec68_in_gg(x0, x1)
U40_gg(x0, x1, x2)
U14_GGA(T151, T152, T153, T154, gtc85_out_gg(T151, T153)) → MERGE33_IN_GGA(.(T151, T152), T154)
MERGE33_IN_GGA(.(T151, T152), .(T153, T154)) → U14_GGA(T151, T152, T153, T154, gtc85_in_gg(T151, T153))
gtc85_in_gg(s(T169), s(T170)) → U41_gg(T169, T170, gtc85_in_gg(T169, T170))
U41_gg(T169, T170, gtc85_out_gg(T169, T170)) → gtc85_out_gg(s(T169), s(T170))
gtc85_in_gg(x0, x1)
U41_gg(x0, x1, x2)
From the DPs we obtained the following set of size-change graphs:
SPLIT21_IN_GAA(.(T42, T43), .(T42, X99), X100) → SPLIT21_IN_GAA(T43, X100, X99)
splitc17_in_ggaa(T36, T37, .(T36, X81), X82) → U31_ggaa(T36, T37, X81, X82, splitc21_in_gaa(T37, X82, X81))
splitc21_in_gaa([], [], []) → splitc21_out_gaa([], [], [])
splitc21_in_gaa(.(T42, T43), .(T42, X99), X100) → U26_gaa(T42, T43, X99, X100, splitc21_in_gaa(T43, X100, X99))
U26_gaa(T42, T43, X99, X100, splitc21_out_gaa(T43, X100, X99)) → splitc21_out_gaa(.(T42, T43), .(T42, X99), X100)
U31_ggaa(T36, T37, X81, X82, splitc21_out_gaa(T37, X82, X81)) → splitc17_out_ggaa(T36, T37, .(T36, X81), X82)
mergesortc1_in_ga([], []) → mergesortc1_out_ga([], [])
mergesortc1_in_ga(.(T4, []), .(T4, [])) → mergesortc1_out_ga(.(T4, []), .(T4, []))
mergesortc1_in_ga(.(T23, .(T24, T25)), T14) → U27_ga(T23, T24, T25, T14, splitc17_in_ggaa(T24, T25, T28, T29))
U27_ga(T23, T24, T25, T14, splitc17_out_ggaa(T24, T25, T28, T29)) → U28_ga(T23, T24, T25, T14, T28, mergesortc1_in_ga(.(T23, T29), T46))
U28_ga(T23, T24, T25, T14, T28, mergesortc1_out_ga(.(T23, T29), T46)) → U29_ga(T23, T24, T25, T14, T46, mergesortc32_in_ga(T28, T49))
mergesortc32_in_ga([], []) → mergesortc32_out_ga([], [])
mergesortc32_in_ga(.(T54, []), .(T54, [])) → mergesortc32_out_ga(.(T54, []), .(T54, []))
mergesortc32_in_ga(.(T61, .(T62, T63)), X137) → U32_ga(T61, T62, T63, X137, splitc17_in_ggaa(T61, .(T62, T63), T67, T68))
U32_ga(T61, T62, T63, X137, splitc17_out_ggaa(T61, .(T62, T63), T67, T68)) → U33_ga(T61, T62, T63, X137, T68, mergesortc32_in_ga(T67, T72))
U33_ga(T61, T62, T63, X137, T68, mergesortc32_out_ga(T67, T72)) → U34_ga(T61, T62, T63, X137, T72, mergesortc32_in_ga(T68, T73))
U34_ga(T61, T62, T63, X137, T72, mergesortc32_out_ga(T68, T73)) → U35_ga(T61, T62, T63, X137, mergec33_in_gga(T72, T73, X137))
mergec33_in_gga(T82, [], T82) → mergec33_out_gga(T82, [], T82)
mergec33_in_gga([], T87, T87) → mergec33_out_gga([], T87, T87)
mergec33_in_gga(.(T108, T109), .(T110, T111), .(T108, T113)) → U36_gga(T108, T109, T110, T111, T113, lec68_in_gg(T108, T110))
lec68_in_gg(s(T126), s(T127)) → U40_gg(T126, T127, lec68_in_gg(T126, T127))
lec68_in_gg(0, s(T134)) → lec68_out_gg(0, s(T134))
lec68_in_gg(0, 0) → lec68_out_gg(0, 0)
U40_gg(T126, T127, lec68_out_gg(T126, T127)) → lec68_out_gg(s(T126), s(T127))
U36_gga(T108, T109, T110, T111, T113, lec68_out_gg(T108, T110)) → U37_gga(T108, T109, T110, T111, T113, mergec33_in_gga(T109, .(T110, T111), T113))
mergec33_in_gga(.(T151, T152), .(T153, T154), .(T153, T156)) → U38_gga(T151, T152, T153, T154, T156, gtc85_in_gg(T151, T153))
gtc85_in_gg(s(T169), s(T170)) → U41_gg(T169, T170, gtc85_in_gg(T169, T170))
gtc85_in_gg(s(T175), 0) → gtc85_out_gg(s(T175), 0)
U41_gg(T169, T170, gtc85_out_gg(T169, T170)) → gtc85_out_gg(s(T169), s(T170))
U38_gga(T151, T152, T153, T154, T156, gtc85_out_gg(T151, T153)) → U39_gga(T151, T152, T153, T154, T156, mergec33_in_gga(.(T151, T152), T154, T156))
U39_gga(T151, T152, T153, T154, T156, mergec33_out_gga(.(T151, T152), T154, T156)) → mergec33_out_gga(.(T151, T152), .(T153, T154), .(T153, T156))
U37_gga(T108, T109, T110, T111, T113, mergec33_out_gga(T109, .(T110, T111), T113)) → mergec33_out_gga(.(T108, T109), .(T110, T111), .(T108, T113))
U35_ga(T61, T62, T63, X137, mergec33_out_gga(T72, T73, X137)) → mergesortc32_out_ga(.(T61, .(T62, T63)), X137)
U29_ga(T23, T24, T25, T14, T46, mergesortc32_out_ga(T28, T49)) → U30_ga(T23, T24, T25, T14, mergec33_in_gga(T46, T49, T14))
U30_ga(T23, T24, T25, T14, mergec33_out_gga(T46, T49, T14)) → mergesortc1_out_ga(.(T23, .(T24, T25)), T14)
SPLIT21_IN_GAA(.(T42, T43), .(T42, X99), X100) → SPLIT21_IN_GAA(T43, X100, X99)
SPLIT21_IN_GAA(.(T42, T43)) → SPLIT21_IN_GAA(T43)
From the DPs we obtained the following set of size-change graphs:
MERGESORT32_IN_GA(.(T61, .(T62, T63)), X137) → U4_GA(T61, T62, T63, X137, splitc17_in_ggaa(T61, .(T62, T63), T67, T68))
U4_GA(T61, T62, T63, X137, splitc17_out_ggaa(T61, .(T62, T63), T67, T68)) → MERGESORT32_IN_GA(T67, X135)
U4_GA(T61, T62, T63, X137, splitc17_out_ggaa(T61, .(T62, T63), T67, T68)) → U6_GA(T61, T62, T63, X137, T68, mergesortc32_in_ga(T67, T72))
U6_GA(T61, T62, T63, X137, T68, mergesortc32_out_ga(T67, T72)) → MERGESORT32_IN_GA(T68, X136)
splitc17_in_ggaa(T36, T37, .(T36, X81), X82) → U31_ggaa(T36, T37, X81, X82, splitc21_in_gaa(T37, X82, X81))
splitc21_in_gaa([], [], []) → splitc21_out_gaa([], [], [])
splitc21_in_gaa(.(T42, T43), .(T42, X99), X100) → U26_gaa(T42, T43, X99, X100, splitc21_in_gaa(T43, X100, X99))
U26_gaa(T42, T43, X99, X100, splitc21_out_gaa(T43, X100, X99)) → splitc21_out_gaa(.(T42, T43), .(T42, X99), X100)
U31_ggaa(T36, T37, X81, X82, splitc21_out_gaa(T37, X82, X81)) → splitc17_out_ggaa(T36, T37, .(T36, X81), X82)
mergesortc1_in_ga([], []) → mergesortc1_out_ga([], [])
mergesortc1_in_ga(.(T4, []), .(T4, [])) → mergesortc1_out_ga(.(T4, []), .(T4, []))
mergesortc1_in_ga(.(T23, .(T24, T25)), T14) → U27_ga(T23, T24, T25, T14, splitc17_in_ggaa(T24, T25, T28, T29))
U27_ga(T23, T24, T25, T14, splitc17_out_ggaa(T24, T25, T28, T29)) → U28_ga(T23, T24, T25, T14, T28, mergesortc1_in_ga(.(T23, T29), T46))
U28_ga(T23, T24, T25, T14, T28, mergesortc1_out_ga(.(T23, T29), T46)) → U29_ga(T23, T24, T25, T14, T46, mergesortc32_in_ga(T28, T49))
mergesortc32_in_ga([], []) → mergesortc32_out_ga([], [])
mergesortc32_in_ga(.(T54, []), .(T54, [])) → mergesortc32_out_ga(.(T54, []), .(T54, []))
mergesortc32_in_ga(.(T61, .(T62, T63)), X137) → U32_ga(T61, T62, T63, X137, splitc17_in_ggaa(T61, .(T62, T63), T67, T68))
U32_ga(T61, T62, T63, X137, splitc17_out_ggaa(T61, .(T62, T63), T67, T68)) → U33_ga(T61, T62, T63, X137, T68, mergesortc32_in_ga(T67, T72))
U33_ga(T61, T62, T63, X137, T68, mergesortc32_out_ga(T67, T72)) → U34_ga(T61, T62, T63, X137, T72, mergesortc32_in_ga(T68, T73))
U34_ga(T61, T62, T63, X137, T72, mergesortc32_out_ga(T68, T73)) → U35_ga(T61, T62, T63, X137, mergec33_in_gga(T72, T73, X137))
mergec33_in_gga(T82, [], T82) → mergec33_out_gga(T82, [], T82)
mergec33_in_gga([], T87, T87) → mergec33_out_gga([], T87, T87)
mergec33_in_gga(.(T108, T109), .(T110, T111), .(T108, T113)) → U36_gga(T108, T109, T110, T111, T113, lec68_in_gg(T108, T110))
lec68_in_gg(s(T126), s(T127)) → U40_gg(T126, T127, lec68_in_gg(T126, T127))
lec68_in_gg(0, s(T134)) → lec68_out_gg(0, s(T134))
lec68_in_gg(0, 0) → lec68_out_gg(0, 0)
U40_gg(T126, T127, lec68_out_gg(T126, T127)) → lec68_out_gg(s(T126), s(T127))
U36_gga(T108, T109, T110, T111, T113, lec68_out_gg(T108, T110)) → U37_gga(T108, T109, T110, T111, T113, mergec33_in_gga(T109, .(T110, T111), T113))
mergec33_in_gga(.(T151, T152), .(T153, T154), .(T153, T156)) → U38_gga(T151, T152, T153, T154, T156, gtc85_in_gg(T151, T153))
gtc85_in_gg(s(T169), s(T170)) → U41_gg(T169, T170, gtc85_in_gg(T169, T170))
gtc85_in_gg(s(T175), 0) → gtc85_out_gg(s(T175), 0)
U41_gg(T169, T170, gtc85_out_gg(T169, T170)) → gtc85_out_gg(s(T169), s(T170))
U38_gga(T151, T152, T153, T154, T156, gtc85_out_gg(T151, T153)) → U39_gga(T151, T152, T153, T154, T156, mergec33_in_gga(.(T151, T152), T154, T156))
U39_gga(T151, T152, T153, T154, T156, mergec33_out_gga(.(T151, T152), T154, T156)) → mergec33_out_gga(.(T151, T152), .(T153, T154), .(T153, T156))
U37_gga(T108, T109, T110, T111, T113, mergec33_out_gga(T109, .(T110, T111), T113)) → mergec33_out_gga(.(T108, T109), .(T110, T111), .(T108, T113))
U35_ga(T61, T62, T63, X137, mergec33_out_gga(T72, T73, X137)) → mergesortc32_out_ga(.(T61, .(T62, T63)), X137)
U29_ga(T23, T24, T25, T14, T46, mergesortc32_out_ga(T28, T49)) → U30_ga(T23, T24, T25, T14, mergec33_in_gga(T46, T49, T14))
U30_ga(T23, T24, T25, T14, mergec33_out_gga(T46, T49, T14)) → mergesortc1_out_ga(.(T23, .(T24, T25)), T14)
MERGESORT32_IN_GA(.(T61, .(T62, T63)), X137) → U4_GA(T61, T62, T63, X137, splitc17_in_ggaa(T61, .(T62, T63), T67, T68))
U4_GA(T61, T62, T63, X137, splitc17_out_ggaa(T61, .(T62, T63), T67, T68)) → MERGESORT32_IN_GA(T67, X135)
U4_GA(T61, T62, T63, X137, splitc17_out_ggaa(T61, .(T62, T63), T67, T68)) → U6_GA(T61, T62, T63, X137, T68, mergesortc32_in_ga(T67, T72))
U6_GA(T61, T62, T63, X137, T68, mergesortc32_out_ga(T67, T72)) → MERGESORT32_IN_GA(T68, X136)
splitc17_in_ggaa(T36, T37, .(T36, X81), X82) → U31_ggaa(T36, T37, X81, X82, splitc21_in_gaa(T37, X82, X81))
mergesortc32_in_ga([], []) → mergesortc32_out_ga([], [])
mergesortc32_in_ga(.(T54, []), .(T54, [])) → mergesortc32_out_ga(.(T54, []), .(T54, []))
mergesortc32_in_ga(.(T61, .(T62, T63)), X137) → U32_ga(T61, T62, T63, X137, splitc17_in_ggaa(T61, .(T62, T63), T67, T68))
U31_ggaa(T36, T37, X81, X82, splitc21_out_gaa(T37, X82, X81)) → splitc17_out_ggaa(T36, T37, .(T36, X81), X82)
U32_ga(T61, T62, T63, X137, splitc17_out_ggaa(T61, .(T62, T63), T67, T68)) → U33_ga(T61, T62, T63, X137, T68, mergesortc32_in_ga(T67, T72))
splitc21_in_gaa([], [], []) → splitc21_out_gaa([], [], [])
splitc21_in_gaa(.(T42, T43), .(T42, X99), X100) → U26_gaa(T42, T43, X99, X100, splitc21_in_gaa(T43, X100, X99))
U33_ga(T61, T62, T63, X137, T68, mergesortc32_out_ga(T67, T72)) → U34_ga(T61, T62, T63, X137, T72, mergesortc32_in_ga(T68, T73))
U26_gaa(T42, T43, X99, X100, splitc21_out_gaa(T43, X100, X99)) → splitc21_out_gaa(.(T42, T43), .(T42, X99), X100)
U34_ga(T61, T62, T63, X137, T72, mergesortc32_out_ga(T68, T73)) → U35_ga(T61, T62, T63, X137, mergec33_in_gga(T72, T73, X137))
U35_ga(T61, T62, T63, X137, mergec33_out_gga(T72, T73, X137)) → mergesortc32_out_ga(.(T61, .(T62, T63)), X137)
mergec33_in_gga(T82, [], T82) → mergec33_out_gga(T82, [], T82)
mergec33_in_gga([], T87, T87) → mergec33_out_gga([], T87, T87)
mergec33_in_gga(.(T108, T109), .(T110, T111), .(T108, T113)) → U36_gga(T108, T109, T110, T111, T113, lec68_in_gg(T108, T110))
mergec33_in_gga(.(T151, T152), .(T153, T154), .(T153, T156)) → U38_gga(T151, T152, T153, T154, T156, gtc85_in_gg(T151, T153))
U36_gga(T108, T109, T110, T111, T113, lec68_out_gg(T108, T110)) → U37_gga(T108, T109, T110, T111, T113, mergec33_in_gga(T109, .(T110, T111), T113))
U38_gga(T151, T152, T153, T154, T156, gtc85_out_gg(T151, T153)) → U39_gga(T151, T152, T153, T154, T156, mergec33_in_gga(.(T151, T152), T154, T156))
lec68_in_gg(s(T126), s(T127)) → U40_gg(T126, T127, lec68_in_gg(T126, T127))
lec68_in_gg(0, s(T134)) → lec68_out_gg(0, s(T134))
lec68_in_gg(0, 0) → lec68_out_gg(0, 0)
U37_gga(T108, T109, T110, T111, T113, mergec33_out_gga(T109, .(T110, T111), T113)) → mergec33_out_gga(.(T108, T109), .(T110, T111), .(T108, T113))
gtc85_in_gg(s(T169), s(T170)) → U41_gg(T169, T170, gtc85_in_gg(T169, T170))
gtc85_in_gg(s(T175), 0) → gtc85_out_gg(s(T175), 0)
U39_gga(T151, T152, T153, T154, T156, mergec33_out_gga(.(T151, T152), T154, T156)) → mergec33_out_gga(.(T151, T152), .(T153, T154), .(T153, T156))
U40_gg(T126, T127, lec68_out_gg(T126, T127)) → lec68_out_gg(s(T126), s(T127))
U41_gg(T169, T170, gtc85_out_gg(T169, T170)) → gtc85_out_gg(s(T169), s(T170))
MERGESORT32_IN_GA(.(T61, .(T62, T63))) → U4_GA(T61, T62, T63, splitc17_in_ggaa(T61, .(T62, T63)))
U4_GA(T61, T62, T63, splitc17_out_ggaa(T61, .(T62, T63), T67, T68)) → MERGESORT32_IN_GA(T67)
U4_GA(T61, T62, T63, splitc17_out_ggaa(T61, .(T62, T63), T67, T68)) → U6_GA(T61, T62, T63, T68, mergesortc32_in_ga(T67))
U6_GA(T61, T62, T63, T68, mergesortc32_out_ga(T67, T72)) → MERGESORT32_IN_GA(T68)
splitc17_in_ggaa(T36, T37) → U31_ggaa(T36, T37, splitc21_in_gaa(T37))
mergesortc32_in_ga([]) → mergesortc32_out_ga([], [])
mergesortc32_in_ga(.(T54, [])) → mergesortc32_out_ga(.(T54, []), .(T54, []))
mergesortc32_in_ga(.(T61, .(T62, T63))) → U32_ga(T61, T62, T63, splitc17_in_ggaa(T61, .(T62, T63)))
U31_ggaa(T36, T37, splitc21_out_gaa(T37, X82, X81)) → splitc17_out_ggaa(T36, T37, .(T36, X81), X82)
U32_ga(T61, T62, T63, splitc17_out_ggaa(T61, .(T62, T63), T67, T68)) → U33_ga(T61, T62, T63, T68, mergesortc32_in_ga(T67))
splitc21_in_gaa([]) → splitc21_out_gaa([], [], [])
splitc21_in_gaa(.(T42, T43)) → U26_gaa(T42, T43, splitc21_in_gaa(T43))
U33_ga(T61, T62, T63, T68, mergesortc32_out_ga(T67, T72)) → U34_ga(T61, T62, T63, T72, mergesortc32_in_ga(T68))
U26_gaa(T42, T43, splitc21_out_gaa(T43, X100, X99)) → splitc21_out_gaa(.(T42, T43), .(T42, X99), X100)
U34_ga(T61, T62, T63, T72, mergesortc32_out_ga(T68, T73)) → U35_ga(T61, T62, T63, mergec33_in_gga(T72, T73))
U35_ga(T61, T62, T63, mergec33_out_gga(T72, T73, X137)) → mergesortc32_out_ga(.(T61, .(T62, T63)), X137)
mergec33_in_gga(T82, []) → mergec33_out_gga(T82, [], T82)
mergec33_in_gga([], T87) → mergec33_out_gga([], T87, T87)
mergec33_in_gga(.(T108, T109), .(T110, T111)) → U36_gga(T108, T109, T110, T111, lec68_in_gg(T108, T110))
mergec33_in_gga(.(T151, T152), .(T153, T154)) → U38_gga(T151, T152, T153, T154, gtc85_in_gg(T151, T153))
U36_gga(T108, T109, T110, T111, lec68_out_gg(T108, T110)) → U37_gga(T108, T109, T110, T111, mergec33_in_gga(T109, .(T110, T111)))
U38_gga(T151, T152, T153, T154, gtc85_out_gg(T151, T153)) → U39_gga(T151, T152, T153, T154, mergec33_in_gga(.(T151, T152), T154))
lec68_in_gg(s(T126), s(T127)) → U40_gg(T126, T127, lec68_in_gg(T126, T127))
lec68_in_gg(0, s(T134)) → lec68_out_gg(0, s(T134))
lec68_in_gg(0, 0) → lec68_out_gg(0, 0)
U37_gga(T108, T109, T110, T111, mergec33_out_gga(T109, .(T110, T111), T113)) → mergec33_out_gga(.(T108, T109), .(T110, T111), .(T108, T113))
gtc85_in_gg(s(T169), s(T170)) → U41_gg(T169, T170, gtc85_in_gg(T169, T170))
gtc85_in_gg(s(T175), 0) → gtc85_out_gg(s(T175), 0)
U39_gga(T151, T152, T153, T154, mergec33_out_gga(.(T151, T152), T154, T156)) → mergec33_out_gga(.(T151, T152), .(T153, T154), .(T153, T156))
U40_gg(T126, T127, lec68_out_gg(T126, T127)) → lec68_out_gg(s(T126), s(T127))
U41_gg(T169, T170, gtc85_out_gg(T169, T170)) → gtc85_out_gg(s(T169), s(T170))
splitc17_in_ggaa(x0, x1)
mergesortc32_in_ga(x0)
U31_ggaa(x0, x1, x2)
U32_ga(x0, x1, x2, x3)
splitc21_in_gaa(x0)
U33_ga(x0, x1, x2, x3, x4)
U26_gaa(x0, x1, x2)
U34_ga(x0, x1, x2, x3, x4)
U35_ga(x0, x1, x2, x3)
mergec33_in_gga(x0, x1)
U36_gga(x0, x1, x2, x3, x4)
U38_gga(x0, x1, x2, x3, x4)
lec68_in_gg(x0, x1)
U37_gga(x0, x1, x2, x3, x4)
gtc85_in_gg(x0, x1)
U39_gga(x0, x1, x2, x3, x4)
U40_gg(x0, x1, x2)
U41_gg(x0, x1, x2)
MERGESORT32_IN_GA(.(T61, .(T62, T63))) → U4_GA(T61, T62, T63, U31_ggaa(T61, .(T62, T63), splitc21_in_gaa(.(T62, T63))))
U4_GA(T61, T62, T63, splitc17_out_ggaa(T61, .(T62, T63), T67, T68)) → MERGESORT32_IN_GA(T67)
U4_GA(T61, T62, T63, splitc17_out_ggaa(T61, .(T62, T63), T67, T68)) → U6_GA(T61, T62, T63, T68, mergesortc32_in_ga(T67))
U6_GA(T61, T62, T63, T68, mergesortc32_out_ga(T67, T72)) → MERGESORT32_IN_GA(T68)
MERGESORT32_IN_GA(.(T61, .(T62, T63))) → U4_GA(T61, T62, T63, U31_ggaa(T61, .(T62, T63), splitc21_in_gaa(.(T62, T63))))
splitc17_in_ggaa(T36, T37) → U31_ggaa(T36, T37, splitc21_in_gaa(T37))
mergesortc32_in_ga([]) → mergesortc32_out_ga([], [])
mergesortc32_in_ga(.(T54, [])) → mergesortc32_out_ga(.(T54, []), .(T54, []))
mergesortc32_in_ga(.(T61, .(T62, T63))) → U32_ga(T61, T62, T63, splitc17_in_ggaa(T61, .(T62, T63)))
U31_ggaa(T36, T37, splitc21_out_gaa(T37, X82, X81)) → splitc17_out_ggaa(T36, T37, .(T36, X81), X82)
U32_ga(T61, T62, T63, splitc17_out_ggaa(T61, .(T62, T63), T67, T68)) → U33_ga(T61, T62, T63, T68, mergesortc32_in_ga(T67))
splitc21_in_gaa([]) → splitc21_out_gaa([], [], [])
splitc21_in_gaa(.(T42, T43)) → U26_gaa(T42, T43, splitc21_in_gaa(T43))
U33_ga(T61, T62, T63, T68, mergesortc32_out_ga(T67, T72)) → U34_ga(T61, T62, T63, T72, mergesortc32_in_ga(T68))
U26_gaa(T42, T43, splitc21_out_gaa(T43, X100, X99)) → splitc21_out_gaa(.(T42, T43), .(T42, X99), X100)
U34_ga(T61, T62, T63, T72, mergesortc32_out_ga(T68, T73)) → U35_ga(T61, T62, T63, mergec33_in_gga(T72, T73))
U35_ga(T61, T62, T63, mergec33_out_gga(T72, T73, X137)) → mergesortc32_out_ga(.(T61, .(T62, T63)), X137)
mergec33_in_gga(T82, []) → mergec33_out_gga(T82, [], T82)
mergec33_in_gga([], T87) → mergec33_out_gga([], T87, T87)
mergec33_in_gga(.(T108, T109), .(T110, T111)) → U36_gga(T108, T109, T110, T111, lec68_in_gg(T108, T110))
mergec33_in_gga(.(T151, T152), .(T153, T154)) → U38_gga(T151, T152, T153, T154, gtc85_in_gg(T151, T153))
U36_gga(T108, T109, T110, T111, lec68_out_gg(T108, T110)) → U37_gga(T108, T109, T110, T111, mergec33_in_gga(T109, .(T110, T111)))
U38_gga(T151, T152, T153, T154, gtc85_out_gg(T151, T153)) → U39_gga(T151, T152, T153, T154, mergec33_in_gga(.(T151, T152), T154))
lec68_in_gg(s(T126), s(T127)) → U40_gg(T126, T127, lec68_in_gg(T126, T127))
lec68_in_gg(0, s(T134)) → lec68_out_gg(0, s(T134))
lec68_in_gg(0, 0) → lec68_out_gg(0, 0)
U37_gga(T108, T109, T110, T111, mergec33_out_gga(T109, .(T110, T111), T113)) → mergec33_out_gga(.(T108, T109), .(T110, T111), .(T108, T113))
gtc85_in_gg(s(T169), s(T170)) → U41_gg(T169, T170, gtc85_in_gg(T169, T170))
gtc85_in_gg(s(T175), 0) → gtc85_out_gg(s(T175), 0)
U39_gga(T151, T152, T153, T154, mergec33_out_gga(.(T151, T152), T154, T156)) → mergec33_out_gga(.(T151, T152), .(T153, T154), .(T153, T156))
U40_gg(T126, T127, lec68_out_gg(T126, T127)) → lec68_out_gg(s(T126), s(T127))
U41_gg(T169, T170, gtc85_out_gg(T169, T170)) → gtc85_out_gg(s(T169), s(T170))
splitc17_in_ggaa(x0, x1)
mergesortc32_in_ga(x0)
U31_ggaa(x0, x1, x2)
U32_ga(x0, x1, x2, x3)
splitc21_in_gaa(x0)
U33_ga(x0, x1, x2, x3, x4)
U26_gaa(x0, x1, x2)
U34_ga(x0, x1, x2, x3, x4)
U35_ga(x0, x1, x2, x3)
mergec33_in_gga(x0, x1)
U36_gga(x0, x1, x2, x3, x4)
U38_gga(x0, x1, x2, x3, x4)
lec68_in_gg(x0, x1)
U37_gga(x0, x1, x2, x3, x4)
gtc85_in_gg(x0, x1)
U39_gga(x0, x1, x2, x3, x4)
U40_gg(x0, x1, x2)
U41_gg(x0, x1, x2)
MERGESORT32_IN_GA(.(T61, .(T62, T63))) → U4_GA(T61, T62, T63, U31_ggaa(T61, .(T62, T63), U26_gaa(T62, T63, splitc21_in_gaa(T63))))
U4_GA(T61, T62, T63, splitc17_out_ggaa(T61, .(T62, T63), T67, T68)) → MERGESORT32_IN_GA(T67)
U4_GA(T61, T62, T63, splitc17_out_ggaa(T61, .(T62, T63), T67, T68)) → U6_GA(T61, T62, T63, T68, mergesortc32_in_ga(T67))
U6_GA(T61, T62, T63, T68, mergesortc32_out_ga(T67, T72)) → MERGESORT32_IN_GA(T68)
MERGESORT32_IN_GA(.(T61, .(T62, T63))) → U4_GA(T61, T62, T63, U31_ggaa(T61, .(T62, T63), U26_gaa(T62, T63, splitc21_in_gaa(T63))))
splitc17_in_ggaa(T36, T37) → U31_ggaa(T36, T37, splitc21_in_gaa(T37))
mergesortc32_in_ga([]) → mergesortc32_out_ga([], [])
mergesortc32_in_ga(.(T54, [])) → mergesortc32_out_ga(.(T54, []), .(T54, []))
mergesortc32_in_ga(.(T61, .(T62, T63))) → U32_ga(T61, T62, T63, splitc17_in_ggaa(T61, .(T62, T63)))
U31_ggaa(T36, T37, splitc21_out_gaa(T37, X82, X81)) → splitc17_out_ggaa(T36, T37, .(T36, X81), X82)
U32_ga(T61, T62, T63, splitc17_out_ggaa(T61, .(T62, T63), T67, T68)) → U33_ga(T61, T62, T63, T68, mergesortc32_in_ga(T67))
splitc21_in_gaa([]) → splitc21_out_gaa([], [], [])
splitc21_in_gaa(.(T42, T43)) → U26_gaa(T42, T43, splitc21_in_gaa(T43))
U33_ga(T61, T62, T63, T68, mergesortc32_out_ga(T67, T72)) → U34_ga(T61, T62, T63, T72, mergesortc32_in_ga(T68))
U26_gaa(T42, T43, splitc21_out_gaa(T43, X100, X99)) → splitc21_out_gaa(.(T42, T43), .(T42, X99), X100)
U34_ga(T61, T62, T63, T72, mergesortc32_out_ga(T68, T73)) → U35_ga(T61, T62, T63, mergec33_in_gga(T72, T73))
U35_ga(T61, T62, T63, mergec33_out_gga(T72, T73, X137)) → mergesortc32_out_ga(.(T61, .(T62, T63)), X137)
mergec33_in_gga(T82, []) → mergec33_out_gga(T82, [], T82)
mergec33_in_gga([], T87) → mergec33_out_gga([], T87, T87)
mergec33_in_gga(.(T108, T109), .(T110, T111)) → U36_gga(T108, T109, T110, T111, lec68_in_gg(T108, T110))
mergec33_in_gga(.(T151, T152), .(T153, T154)) → U38_gga(T151, T152, T153, T154, gtc85_in_gg(T151, T153))
U36_gga(T108, T109, T110, T111, lec68_out_gg(T108, T110)) → U37_gga(T108, T109, T110, T111, mergec33_in_gga(T109, .(T110, T111)))
U38_gga(T151, T152, T153, T154, gtc85_out_gg(T151, T153)) → U39_gga(T151, T152, T153, T154, mergec33_in_gga(.(T151, T152), T154))
lec68_in_gg(s(T126), s(T127)) → U40_gg(T126, T127, lec68_in_gg(T126, T127))
lec68_in_gg(0, s(T134)) → lec68_out_gg(0, s(T134))
lec68_in_gg(0, 0) → lec68_out_gg(0, 0)
U37_gga(T108, T109, T110, T111, mergec33_out_gga(T109, .(T110, T111), T113)) → mergec33_out_gga(.(T108, T109), .(T110, T111), .(T108, T113))
gtc85_in_gg(s(T169), s(T170)) → U41_gg(T169, T170, gtc85_in_gg(T169, T170))
gtc85_in_gg(s(T175), 0) → gtc85_out_gg(s(T175), 0)
U39_gga(T151, T152, T153, T154, mergec33_out_gga(.(T151, T152), T154, T156)) → mergec33_out_gga(.(T151, T152), .(T153, T154), .(T153, T156))
U40_gg(T126, T127, lec68_out_gg(T126, T127)) → lec68_out_gg(s(T126), s(T127))
U41_gg(T169, T170, gtc85_out_gg(T169, T170)) → gtc85_out_gg(s(T169), s(T170))
splitc17_in_ggaa(x0, x1)
mergesortc32_in_ga(x0)
U31_ggaa(x0, x1, x2)
U32_ga(x0, x1, x2, x3)
splitc21_in_gaa(x0)
U33_ga(x0, x1, x2, x3, x4)
U26_gaa(x0, x1, x2)
U34_ga(x0, x1, x2, x3, x4)
U35_ga(x0, x1, x2, x3)
mergec33_in_gga(x0, x1)
U36_gga(x0, x1, x2, x3, x4)
U38_gga(x0, x1, x2, x3, x4)
lec68_in_gg(x0, x1)
U37_gga(x0, x1, x2, x3, x4)
gtc85_in_gg(x0, x1)
U39_gga(x0, x1, x2, x3, x4)
U40_gg(x0, x1, x2)
U41_gg(x0, x1, x2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
MERGESORT32_IN_GA(.(T61, .(T62, T63))) → U4_GA(T61, T62, T63, U31_ggaa(T61, .(T62, T63), U26_gaa(T62, T63, splitc21_in_gaa(T63))))
POL( U6_GA(x1, ..., x5) ) = 2x3 + 2x4
POL( mergesortc32_in_ga(x1) ) = max{0, -1}
POL( [] ) = 0
POL( mergesortc32_out_ga(x1, x2) ) = max{0, x2 - 2}
POL( .(x1, x2) ) = 2x2 + 2
POL( U32_ga(x1, ..., x4) ) = max{0, x1 + x2 + x3 + x4 - 2}
POL( splitc17_in_ggaa(x1, x2) ) = max{0, -2}
POL( U26_gaa(x1, ..., x3) ) = 2x3 + 1
POL( U31_ggaa(x1, ..., x3) ) = x2 + x3
POL( U4_GA(x1, ..., x4) ) = max{0, 2x4 - 2}
POL( splitc21_in_gaa(x1) ) = x1 + 1
POL( splitc21_out_gaa(x1, ..., x3) ) = x2 + 2x3 + 1
POL( splitc17_out_ggaa(x1, ..., x4) ) = max{0, x2 + x3 + x4 - 1}
POL( U33_ga(x1, ..., x5) ) = 2x1 + 2x2 + 1
POL( U34_ga(x1, ..., x5) ) = max{0, 2x1 + x2 + 2x3 - 1}
POL( U35_ga(x1, ..., x4) ) = 2x2 + 2
POL( mergec33_in_gga(x1, x2) ) = max{0, 2x2 - 2}
POL( mergec33_out_gga(x1, ..., x3) ) = max{0, -2}
POL( U36_gga(x1, ..., x5) ) = 2x2 + x3 + 2x4 + 2
POL( lec68_in_gg(x1, x2) ) = max{0, x1 - 1}
POL( U38_gga(x1, ..., x5) ) = x3 + x4 + 2x5 + 1
POL( gtc85_in_gg(x1, x2) ) = max{0, 2x2 - 2}
POL( s(x1) ) = max{0, 2x1 - 2}
POL( U40_gg(x1, ..., x3) ) = max{0, x2 - 2}
POL( 0 ) = 2
POL( lec68_out_gg(x1, x2) ) = max{0, -2}
POL( U37_gga(x1, ..., x5) ) = max{0, x2 + 2x3 + x4 - 2}
POL( U41_gg(x1, ..., x3) ) = 2x1 + 1
POL( gtc85_out_gg(x1, x2) ) = max{0, 2x1 - 2}
POL( U39_gga(x1, ..., x5) ) = max{0, x2 - 1}
POL( MERGESORT32_IN_GA(x1) ) = max{0, 2x1 - 1}
splitc21_in_gaa([]) → splitc21_out_gaa([], [], [])
splitc21_in_gaa(.(T42, T43)) → U26_gaa(T42, T43, splitc21_in_gaa(T43))
U26_gaa(T42, T43, splitc21_out_gaa(T43, X100, X99)) → splitc21_out_gaa(.(T42, T43), .(T42, X99), X100)
U31_ggaa(T36, T37, splitc21_out_gaa(T37, X82, X81)) → splitc17_out_ggaa(T36, T37, .(T36, X81), X82)
U4_GA(T61, T62, T63, splitc17_out_ggaa(T61, .(T62, T63), T67, T68)) → MERGESORT32_IN_GA(T67)
U4_GA(T61, T62, T63, splitc17_out_ggaa(T61, .(T62, T63), T67, T68)) → U6_GA(T61, T62, T63, T68, mergesortc32_in_ga(T67))
U6_GA(T61, T62, T63, T68, mergesortc32_out_ga(T67, T72)) → MERGESORT32_IN_GA(T68)
splitc17_in_ggaa(T36, T37) → U31_ggaa(T36, T37, splitc21_in_gaa(T37))
mergesortc32_in_ga([]) → mergesortc32_out_ga([], [])
mergesortc32_in_ga(.(T54, [])) → mergesortc32_out_ga(.(T54, []), .(T54, []))
mergesortc32_in_ga(.(T61, .(T62, T63))) → U32_ga(T61, T62, T63, splitc17_in_ggaa(T61, .(T62, T63)))
U31_ggaa(T36, T37, splitc21_out_gaa(T37, X82, X81)) → splitc17_out_ggaa(T36, T37, .(T36, X81), X82)
U32_ga(T61, T62, T63, splitc17_out_ggaa(T61, .(T62, T63), T67, T68)) → U33_ga(T61, T62, T63, T68, mergesortc32_in_ga(T67))
splitc21_in_gaa([]) → splitc21_out_gaa([], [], [])
splitc21_in_gaa(.(T42, T43)) → U26_gaa(T42, T43, splitc21_in_gaa(T43))
U33_ga(T61, T62, T63, T68, mergesortc32_out_ga(T67, T72)) → U34_ga(T61, T62, T63, T72, mergesortc32_in_ga(T68))
U26_gaa(T42, T43, splitc21_out_gaa(T43, X100, X99)) → splitc21_out_gaa(.(T42, T43), .(T42, X99), X100)
U34_ga(T61, T62, T63, T72, mergesortc32_out_ga(T68, T73)) → U35_ga(T61, T62, T63, mergec33_in_gga(T72, T73))
U35_ga(T61, T62, T63, mergec33_out_gga(T72, T73, X137)) → mergesortc32_out_ga(.(T61, .(T62, T63)), X137)
mergec33_in_gga(T82, []) → mergec33_out_gga(T82, [], T82)
mergec33_in_gga([], T87) → mergec33_out_gga([], T87, T87)
mergec33_in_gga(.(T108, T109), .(T110, T111)) → U36_gga(T108, T109, T110, T111, lec68_in_gg(T108, T110))
mergec33_in_gga(.(T151, T152), .(T153, T154)) → U38_gga(T151, T152, T153, T154, gtc85_in_gg(T151, T153))
U36_gga(T108, T109, T110, T111, lec68_out_gg(T108, T110)) → U37_gga(T108, T109, T110, T111, mergec33_in_gga(T109, .(T110, T111)))
U38_gga(T151, T152, T153, T154, gtc85_out_gg(T151, T153)) → U39_gga(T151, T152, T153, T154, mergec33_in_gga(.(T151, T152), T154))
lec68_in_gg(s(T126), s(T127)) → U40_gg(T126, T127, lec68_in_gg(T126, T127))
lec68_in_gg(0, s(T134)) → lec68_out_gg(0, s(T134))
lec68_in_gg(0, 0) → lec68_out_gg(0, 0)
U37_gga(T108, T109, T110, T111, mergec33_out_gga(T109, .(T110, T111), T113)) → mergec33_out_gga(.(T108, T109), .(T110, T111), .(T108, T113))
gtc85_in_gg(s(T169), s(T170)) → U41_gg(T169, T170, gtc85_in_gg(T169, T170))
gtc85_in_gg(s(T175), 0) → gtc85_out_gg(s(T175), 0)
U39_gga(T151, T152, T153, T154, mergec33_out_gga(.(T151, T152), T154, T156)) → mergec33_out_gga(.(T151, T152), .(T153, T154), .(T153, T156))
U40_gg(T126, T127, lec68_out_gg(T126, T127)) → lec68_out_gg(s(T126), s(T127))
U41_gg(T169, T170, gtc85_out_gg(T169, T170)) → gtc85_out_gg(s(T169), s(T170))
splitc17_in_ggaa(x0, x1)
mergesortc32_in_ga(x0)
U31_ggaa(x0, x1, x2)
U32_ga(x0, x1, x2, x3)
splitc21_in_gaa(x0)
U33_ga(x0, x1, x2, x3, x4)
U26_gaa(x0, x1, x2)
U34_ga(x0, x1, x2, x3, x4)
U35_ga(x0, x1, x2, x3)
mergec33_in_gga(x0, x1)
U36_gga(x0, x1, x2, x3, x4)
U38_gga(x0, x1, x2, x3, x4)
lec68_in_gg(x0, x1)
U37_gga(x0, x1, x2, x3, x4)
gtc85_in_gg(x0, x1)
U39_gga(x0, x1, x2, x3, x4)
U40_gg(x0, x1, x2)
U41_gg(x0, x1, x2)
MERGESORT1_IN_GA(.(T23, .(T24, T25)), T14) → U19_GA(T23, T24, T25, T14, splitc17_in_ggaa(T24, T25, T28, T29))
U19_GA(T23, T24, T25, T14, splitc17_out_ggaa(T24, T25, T28, T29)) → MERGESORT1_IN_GA(.(T23, T29), X23)
splitc17_in_ggaa(T36, T37, .(T36, X81), X82) → U31_ggaa(T36, T37, X81, X82, splitc21_in_gaa(T37, X82, X81))
splitc21_in_gaa([], [], []) → splitc21_out_gaa([], [], [])
splitc21_in_gaa(.(T42, T43), .(T42, X99), X100) → U26_gaa(T42, T43, X99, X100, splitc21_in_gaa(T43, X100, X99))
U26_gaa(T42, T43, X99, X100, splitc21_out_gaa(T43, X100, X99)) → splitc21_out_gaa(.(T42, T43), .(T42, X99), X100)
U31_ggaa(T36, T37, X81, X82, splitc21_out_gaa(T37, X82, X81)) → splitc17_out_ggaa(T36, T37, .(T36, X81), X82)
mergesortc1_in_ga([], []) → mergesortc1_out_ga([], [])
mergesortc1_in_ga(.(T4, []), .(T4, [])) → mergesortc1_out_ga(.(T4, []), .(T4, []))
mergesortc1_in_ga(.(T23, .(T24, T25)), T14) → U27_ga(T23, T24, T25, T14, splitc17_in_ggaa(T24, T25, T28, T29))
U27_ga(T23, T24, T25, T14, splitc17_out_ggaa(T24, T25, T28, T29)) → U28_ga(T23, T24, T25, T14, T28, mergesortc1_in_ga(.(T23, T29), T46))
U28_ga(T23, T24, T25, T14, T28, mergesortc1_out_ga(.(T23, T29), T46)) → U29_ga(T23, T24, T25, T14, T46, mergesortc32_in_ga(T28, T49))
mergesortc32_in_ga([], []) → mergesortc32_out_ga([], [])
mergesortc32_in_ga(.(T54, []), .(T54, [])) → mergesortc32_out_ga(.(T54, []), .(T54, []))
mergesortc32_in_ga(.(T61, .(T62, T63)), X137) → U32_ga(T61, T62, T63, X137, splitc17_in_ggaa(T61, .(T62, T63), T67, T68))
U32_ga(T61, T62, T63, X137, splitc17_out_ggaa(T61, .(T62, T63), T67, T68)) → U33_ga(T61, T62, T63, X137, T68, mergesortc32_in_ga(T67, T72))
U33_ga(T61, T62, T63, X137, T68, mergesortc32_out_ga(T67, T72)) → U34_ga(T61, T62, T63, X137, T72, mergesortc32_in_ga(T68, T73))
U34_ga(T61, T62, T63, X137, T72, mergesortc32_out_ga(T68, T73)) → U35_ga(T61, T62, T63, X137, mergec33_in_gga(T72, T73, X137))
mergec33_in_gga(T82, [], T82) → mergec33_out_gga(T82, [], T82)
mergec33_in_gga([], T87, T87) → mergec33_out_gga([], T87, T87)
mergec33_in_gga(.(T108, T109), .(T110, T111), .(T108, T113)) → U36_gga(T108, T109, T110, T111, T113, lec68_in_gg(T108, T110))
lec68_in_gg(s(T126), s(T127)) → U40_gg(T126, T127, lec68_in_gg(T126, T127))
lec68_in_gg(0, s(T134)) → lec68_out_gg(0, s(T134))
lec68_in_gg(0, 0) → lec68_out_gg(0, 0)
U40_gg(T126, T127, lec68_out_gg(T126, T127)) → lec68_out_gg(s(T126), s(T127))
U36_gga(T108, T109, T110, T111, T113, lec68_out_gg(T108, T110)) → U37_gga(T108, T109, T110, T111, T113, mergec33_in_gga(T109, .(T110, T111), T113))
mergec33_in_gga(.(T151, T152), .(T153, T154), .(T153, T156)) → U38_gga(T151, T152, T153, T154, T156, gtc85_in_gg(T151, T153))
gtc85_in_gg(s(T169), s(T170)) → U41_gg(T169, T170, gtc85_in_gg(T169, T170))
gtc85_in_gg(s(T175), 0) → gtc85_out_gg(s(T175), 0)
U41_gg(T169, T170, gtc85_out_gg(T169, T170)) → gtc85_out_gg(s(T169), s(T170))
U38_gga(T151, T152, T153, T154, T156, gtc85_out_gg(T151, T153)) → U39_gga(T151, T152, T153, T154, T156, mergec33_in_gga(.(T151, T152), T154, T156))
U39_gga(T151, T152, T153, T154, T156, mergec33_out_gga(.(T151, T152), T154, T156)) → mergec33_out_gga(.(T151, T152), .(T153, T154), .(T153, T156))
U37_gga(T108, T109, T110, T111, T113, mergec33_out_gga(T109, .(T110, T111), T113)) → mergec33_out_gga(.(T108, T109), .(T110, T111), .(T108, T113))
U35_ga(T61, T62, T63, X137, mergec33_out_gga(T72, T73, X137)) → mergesortc32_out_ga(.(T61, .(T62, T63)), X137)
U29_ga(T23, T24, T25, T14, T46, mergesortc32_out_ga(T28, T49)) → U30_ga(T23, T24, T25, T14, mergec33_in_gga(T46, T49, T14))
U30_ga(T23, T24, T25, T14, mergec33_out_gga(T46, T49, T14)) → mergesortc1_out_ga(.(T23, .(T24, T25)), T14)
MERGESORT1_IN_GA(.(T23, .(T24, T25)), T14) → U19_GA(T23, T24, T25, T14, splitc17_in_ggaa(T24, T25, T28, T29))
U19_GA(T23, T24, T25, T14, splitc17_out_ggaa(T24, T25, T28, T29)) → MERGESORT1_IN_GA(.(T23, T29), X23)
splitc17_in_ggaa(T36, T37, .(T36, X81), X82) → U31_ggaa(T36, T37, X81, X82, splitc21_in_gaa(T37, X82, X81))
U31_ggaa(T36, T37, X81, X82, splitc21_out_gaa(T37, X82, X81)) → splitc17_out_ggaa(T36, T37, .(T36, X81), X82)
splitc21_in_gaa([], [], []) → splitc21_out_gaa([], [], [])
splitc21_in_gaa(.(T42, T43), .(T42, X99), X100) → U26_gaa(T42, T43, X99, X100, splitc21_in_gaa(T43, X100, X99))
U26_gaa(T42, T43, X99, X100, splitc21_out_gaa(T43, X100, X99)) → splitc21_out_gaa(.(T42, T43), .(T42, X99), X100)
MERGESORT1_IN_GA(.(T23, .(T24, T25))) → U19_GA(T23, T24, T25, splitc17_in_ggaa(T24, T25))
U19_GA(T23, T24, T25, splitc17_out_ggaa(T24, T25, T28, T29)) → MERGESORT1_IN_GA(.(T23, T29))
splitc17_in_ggaa(T36, T37) → U31_ggaa(T36, T37, splitc21_in_gaa(T37))
U31_ggaa(T36, T37, splitc21_out_gaa(T37, X82, X81)) → splitc17_out_ggaa(T36, T37, .(T36, X81), X82)
splitc21_in_gaa([]) → splitc21_out_gaa([], [], [])
splitc21_in_gaa(.(T42, T43)) → U26_gaa(T42, T43, splitc21_in_gaa(T43))
U26_gaa(T42, T43, splitc21_out_gaa(T43, X100, X99)) → splitc21_out_gaa(.(T42, T43), .(T42, X99), X100)
splitc17_in_ggaa(x0, x1)
U31_ggaa(x0, x1, x2)
splitc21_in_gaa(x0)
U26_gaa(x0, x1, x2)
MERGESORT1_IN_GA(.(T23, .(T24, T25))) → U19_GA(T23, T24, T25, U31_ggaa(T24, T25, splitc21_in_gaa(T25)))
U19_GA(T23, T24, T25, splitc17_out_ggaa(T24, T25, T28, T29)) → MERGESORT1_IN_GA(.(T23, T29))
MERGESORT1_IN_GA(.(T23, .(T24, T25))) → U19_GA(T23, T24, T25, U31_ggaa(T24, T25, splitc21_in_gaa(T25)))
splitc17_in_ggaa(T36, T37) → U31_ggaa(T36, T37, splitc21_in_gaa(T37))
U31_ggaa(T36, T37, splitc21_out_gaa(T37, X82, X81)) → splitc17_out_ggaa(T36, T37, .(T36, X81), X82)
splitc21_in_gaa([]) → splitc21_out_gaa([], [], [])
splitc21_in_gaa(.(T42, T43)) → U26_gaa(T42, T43, splitc21_in_gaa(T43))
U26_gaa(T42, T43, splitc21_out_gaa(T43, X100, X99)) → splitc21_out_gaa(.(T42, T43), .(T42, X99), X100)
splitc17_in_ggaa(x0, x1)
U31_ggaa(x0, x1, x2)
splitc21_in_gaa(x0)
U26_gaa(x0, x1, x2)
U19_GA(T23, T24, T25, splitc17_out_ggaa(T24, T25, T28, T29)) → MERGESORT1_IN_GA(.(T23, T29))
MERGESORT1_IN_GA(.(T23, .(T24, T25))) → U19_GA(T23, T24, T25, U31_ggaa(T24, T25, splitc21_in_gaa(T25)))
splitc21_in_gaa([]) → splitc21_out_gaa([], [], [])
splitc21_in_gaa(.(T42, T43)) → U26_gaa(T42, T43, splitc21_in_gaa(T43))
U31_ggaa(T36, T37, splitc21_out_gaa(T37, X82, X81)) → splitc17_out_ggaa(T36, T37, .(T36, X81), X82)
U26_gaa(T42, T43, splitc21_out_gaa(T43, X100, X99)) → splitc21_out_gaa(.(T42, T43), .(T42, X99), X100)
splitc17_in_ggaa(x0, x1)
U31_ggaa(x0, x1, x2)
splitc21_in_gaa(x0)
U26_gaa(x0, x1, x2)
splitc17_in_ggaa(x0, x1)
U19_GA(T23, T24, T25, splitc17_out_ggaa(T24, T25, T28, T29)) → MERGESORT1_IN_GA(.(T23, T29))
MERGESORT1_IN_GA(.(T23, .(T24, T25))) → U19_GA(T23, T24, T25, U31_ggaa(T24, T25, splitc21_in_gaa(T25)))
splitc21_in_gaa([]) → splitc21_out_gaa([], [], [])
splitc21_in_gaa(.(T42, T43)) → U26_gaa(T42, T43, splitc21_in_gaa(T43))
U31_ggaa(T36, T37, splitc21_out_gaa(T37, X82, X81)) → splitc17_out_ggaa(T36, T37, .(T36, X81), X82)
U26_gaa(T42, T43, splitc21_out_gaa(T43, X100, X99)) → splitc21_out_gaa(.(T42, T43), .(T42, X99), X100)
U31_ggaa(x0, x1, x2)
splitc21_in_gaa(x0)
U26_gaa(x0, x1, x2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
MERGESORT1_IN_GA(.(T23, .(T24, T25))) → U19_GA(T23, T24, T25, U31_ggaa(T24, T25, splitc21_in_gaa(T25)))
POL(.(x1, x2)) = 1 + x2
POL(MERGESORT1_IN_GA(x1)) = x1
POL(U19_GA(x1, x2, x3, x4)) = x4
POL(U26_gaa(x1, x2, x3)) = 1 + x3
POL(U31_ggaa(x1, x2, x3)) = 1 + x3
POL([]) = 0
POL(splitc17_out_ggaa(x1, x2, x3, x4)) = 1 + x4
POL(splitc21_in_gaa(x1)) = x1
POL(splitc21_out_gaa(x1, x2, x3)) = x2 + x3
splitc21_in_gaa([]) → splitc21_out_gaa([], [], [])
splitc21_in_gaa(.(T42, T43)) → U26_gaa(T42, T43, splitc21_in_gaa(T43))
U31_ggaa(T36, T37, splitc21_out_gaa(T37, X82, X81)) → splitc17_out_ggaa(T36, T37, .(T36, X81), X82)
U26_gaa(T42, T43, splitc21_out_gaa(T43, X100, X99)) → splitc21_out_gaa(.(T42, T43), .(T42, X99), X100)
U19_GA(T23, T24, T25, splitc17_out_ggaa(T24, T25, T28, T29)) → MERGESORT1_IN_GA(.(T23, T29))
splitc21_in_gaa([]) → splitc21_out_gaa([], [], [])
splitc21_in_gaa(.(T42, T43)) → U26_gaa(T42, T43, splitc21_in_gaa(T43))
U31_ggaa(T36, T37, splitc21_out_gaa(T37, X82, X81)) → splitc17_out_ggaa(T36, T37, .(T36, X81), X82)
U26_gaa(T42, T43, splitc21_out_gaa(T43, X100, X99)) → splitc21_out_gaa(.(T42, T43), .(T42, X99), X100)
U31_ggaa(x0, x1, x2)
splitc21_in_gaa(x0)
U26_gaa(x0, x1, x2)