0 Prolog
↳1 PrologToPrologProblemTransformerProof (⇐)
↳2 Prolog
↳3 PrologToPiTRSProof (⇐)
↳4 PiTRS
↳5 DependencyPairsProof (⇔)
↳6 PiDP
↳7 DependencyGraphProof (⇔)
↳8 AND
↳9 PiDP
↳10 UsableRulesProof (⇔)
↳11 PiDP
↳12 PiDPToQDPProof (⇔)
↳13 QDP
↳14 QDPSizeChangeProof (⇔)
↳15 YES
↳16 PiDP
↳17 UsableRulesProof (⇔)
↳18 PiDP
↳19 PiDPToQDPProof (⇔)
↳20 QDP
↳21 QDPSizeChangeProof (⇔)
↳22 YES
↳23 PiDP
↳24 UsableRulesProof (⇔)
↳25 PiDP
↳26 PiDPToQDPProof (⇐)
↳27 QDP
↳28 MRRProof (⇔)
↳29 QDP
↳30 DependencyGraphProof (⇔)
↳31 TRUE
merge1_in_gga([], T5, T5) → merge1_out_gga([], T5, T5)
merge1_in_gga([], [], []) → merge1_out_gga([], [], [])
merge1_in_gga(T7, [], T7) → merge1_out_gga(T7, [], T7)
merge1_in_gga(.(0, T18), .(0, T20), .(0, T22)) → U3_gga(T18, T20, T22, merge1_in_gga(T18, .(0, T20), T22))
merge1_in_gga(.(0, T18), .(s(0), T20), .(0, T22)) → U4_gga(T18, T20, T22, merge1_in_gga(T18, .(s(0), T20), T22))
merge1_in_gga(.(s(T35), T18), .(s(T36), T20), .(s(T35), T22)) → U5_gga(T35, T18, T36, T20, T22, leq33_in_gg(T35, T36))
leq33_in_gg(0, 0) → leq33_out_gg(0, 0)
leq33_in_gg(0, s(0)) → leq33_out_gg(0, s(0))
leq33_in_gg(s(T41), s(T42)) → U1_gg(T41, T42, leq33_in_gg(T41, T42))
U1_gg(T41, T42, leq33_out_gg(T41, T42)) → leq33_out_gg(s(T41), s(T42))
U5_gga(T35, T18, T36, T20, T22, leq33_out_gg(T35, T36)) → merge1_out_gga(.(s(T35), T18), .(s(T36), T20), .(s(T35), T22))
U5_gga(T35, T18, T36, T20, T22, leq33_out_gg(T35, T36)) → U6_gga(T35, T18, T36, T20, T22, merge1_in_gga(T18, .(s(T36), T20), T22))
merge1_in_gga(.(T57, T58), .(T59, T60), .(T59, T62)) → U7_gga(T57, T58, T59, T60, T62, less51_in_gg(T59, T57))
less51_in_gg(0, s(0)) → less51_out_gg(0, s(0))
less51_in_gg(s(T67), s(T68)) → U2_gg(T67, T68, less51_in_gg(T67, T68))
U2_gg(T67, T68, less51_out_gg(T67, T68)) → less51_out_gg(s(T67), s(T68))
U7_gga(T57, T58, T59, T60, T62, less51_out_gg(T59, T57)) → merge1_out_gga(.(T57, T58), .(T59, T60), .(T59, T62))
U7_gga(T57, T58, T59, T60, T62, less51_out_gg(T59, T57)) → U8_gga(T57, T58, T59, T60, T62, merge1_in_gga(.(T57, T58), T60, T62))
merge1_in_gga(.(s(0), T79), .(0, T81), .(0, T83)) → U9_gga(T79, T81, T83, merge1_in_gga(.(s(0), T79), T81, T83))
merge1_in_gga(.(s(T91), T79), .(s(T90), T81), .(s(T90), T83)) → U10_gga(T91, T79, T90, T81, T83, less51_in_gg(T90, T91))
U10_gga(T91, T79, T90, T81, T83, less51_out_gg(T90, T91)) → merge1_out_gga(.(s(T91), T79), .(s(T90), T81), .(s(T90), T83))
U10_gga(T91, T79, T90, T81, T83, less51_out_gg(T90, T91)) → U11_gga(T91, T79, T90, T81, T83, merge1_in_gga(.(s(T91), T79), T81, T83))
U11_gga(T91, T79, T90, T81, T83, merge1_out_gga(.(s(T91), T79), T81, T83)) → merge1_out_gga(.(s(T91), T79), .(s(T90), T81), .(s(T90), T83))
U9_gga(T79, T81, T83, merge1_out_gga(.(s(0), T79), T81, T83)) → merge1_out_gga(.(s(0), T79), .(0, T81), .(0, T83))
U8_gga(T57, T58, T59, T60, T62, merge1_out_gga(.(T57, T58), T60, T62)) → merge1_out_gga(.(T57, T58), .(T59, T60), .(T59, T62))
U6_gga(T35, T18, T36, T20, T22, merge1_out_gga(T18, .(s(T36), T20), T22)) → merge1_out_gga(.(s(T35), T18), .(s(T36), T20), .(s(T35), T22))
U4_gga(T18, T20, T22, merge1_out_gga(T18, .(s(0), T20), T22)) → merge1_out_gga(.(0, T18), .(s(0), T20), .(0, T22))
U3_gga(T18, T20, T22, merge1_out_gga(T18, .(0, T20), T22)) → merge1_out_gga(.(0, T18), .(0, T20), .(0, T22))
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
merge1_in_gga([], T5, T5) → merge1_out_gga([], T5, T5)
merge1_in_gga([], [], []) → merge1_out_gga([], [], [])
merge1_in_gga(T7, [], T7) → merge1_out_gga(T7, [], T7)
merge1_in_gga(.(0, T18), .(0, T20), .(0, T22)) → U3_gga(T18, T20, T22, merge1_in_gga(T18, .(0, T20), T22))
merge1_in_gga(.(0, T18), .(s(0), T20), .(0, T22)) → U4_gga(T18, T20, T22, merge1_in_gga(T18, .(s(0), T20), T22))
merge1_in_gga(.(s(T35), T18), .(s(T36), T20), .(s(T35), T22)) → U5_gga(T35, T18, T36, T20, T22, leq33_in_gg(T35, T36))
leq33_in_gg(0, 0) → leq33_out_gg(0, 0)
leq33_in_gg(0, s(0)) → leq33_out_gg(0, s(0))
leq33_in_gg(s(T41), s(T42)) → U1_gg(T41, T42, leq33_in_gg(T41, T42))
U1_gg(T41, T42, leq33_out_gg(T41, T42)) → leq33_out_gg(s(T41), s(T42))
U5_gga(T35, T18, T36, T20, T22, leq33_out_gg(T35, T36)) → merge1_out_gga(.(s(T35), T18), .(s(T36), T20), .(s(T35), T22))
U5_gga(T35, T18, T36, T20, T22, leq33_out_gg(T35, T36)) → U6_gga(T35, T18, T36, T20, T22, merge1_in_gga(T18, .(s(T36), T20), T22))
merge1_in_gga(.(T57, T58), .(T59, T60), .(T59, T62)) → U7_gga(T57, T58, T59, T60, T62, less51_in_gg(T59, T57))
less51_in_gg(0, s(0)) → less51_out_gg(0, s(0))
less51_in_gg(s(T67), s(T68)) → U2_gg(T67, T68, less51_in_gg(T67, T68))
U2_gg(T67, T68, less51_out_gg(T67, T68)) → less51_out_gg(s(T67), s(T68))
U7_gga(T57, T58, T59, T60, T62, less51_out_gg(T59, T57)) → merge1_out_gga(.(T57, T58), .(T59, T60), .(T59, T62))
U7_gga(T57, T58, T59, T60, T62, less51_out_gg(T59, T57)) → U8_gga(T57, T58, T59, T60, T62, merge1_in_gga(.(T57, T58), T60, T62))
merge1_in_gga(.(s(0), T79), .(0, T81), .(0, T83)) → U9_gga(T79, T81, T83, merge1_in_gga(.(s(0), T79), T81, T83))
merge1_in_gga(.(s(T91), T79), .(s(T90), T81), .(s(T90), T83)) → U10_gga(T91, T79, T90, T81, T83, less51_in_gg(T90, T91))
U10_gga(T91, T79, T90, T81, T83, less51_out_gg(T90, T91)) → merge1_out_gga(.(s(T91), T79), .(s(T90), T81), .(s(T90), T83))
U10_gga(T91, T79, T90, T81, T83, less51_out_gg(T90, T91)) → U11_gga(T91, T79, T90, T81, T83, merge1_in_gga(.(s(T91), T79), T81, T83))
U11_gga(T91, T79, T90, T81, T83, merge1_out_gga(.(s(T91), T79), T81, T83)) → merge1_out_gga(.(s(T91), T79), .(s(T90), T81), .(s(T90), T83))
U9_gga(T79, T81, T83, merge1_out_gga(.(s(0), T79), T81, T83)) → merge1_out_gga(.(s(0), T79), .(0, T81), .(0, T83))
U8_gga(T57, T58, T59, T60, T62, merge1_out_gga(.(T57, T58), T60, T62)) → merge1_out_gga(.(T57, T58), .(T59, T60), .(T59, T62))
U6_gga(T35, T18, T36, T20, T22, merge1_out_gga(T18, .(s(T36), T20), T22)) → merge1_out_gga(.(s(T35), T18), .(s(T36), T20), .(s(T35), T22))
U4_gga(T18, T20, T22, merge1_out_gga(T18, .(s(0), T20), T22)) → merge1_out_gga(.(0, T18), .(s(0), T20), .(0, T22))
U3_gga(T18, T20, T22, merge1_out_gga(T18, .(0, T20), T22)) → merge1_out_gga(.(0, T18), .(0, T20), .(0, T22))
MERGE1_IN_GGA(.(0, T18), .(0, T20), .(0, T22)) → U3_GGA(T18, T20, T22, merge1_in_gga(T18, .(0, T20), T22))
MERGE1_IN_GGA(.(0, T18), .(0, T20), .(0, T22)) → MERGE1_IN_GGA(T18, .(0, T20), T22)
MERGE1_IN_GGA(.(0, T18), .(s(0), T20), .(0, T22)) → U4_GGA(T18, T20, T22, merge1_in_gga(T18, .(s(0), T20), T22))
MERGE1_IN_GGA(.(0, T18), .(s(0), T20), .(0, T22)) → MERGE1_IN_GGA(T18, .(s(0), T20), T22)
MERGE1_IN_GGA(.(s(T35), T18), .(s(T36), T20), .(s(T35), T22)) → U5_GGA(T35, T18, T36, T20, T22, leq33_in_gg(T35, T36))
MERGE1_IN_GGA(.(s(T35), T18), .(s(T36), T20), .(s(T35), T22)) → LEQ33_IN_GG(T35, T36)
LEQ33_IN_GG(s(T41), s(T42)) → U1_GG(T41, T42, leq33_in_gg(T41, T42))
LEQ33_IN_GG(s(T41), s(T42)) → LEQ33_IN_GG(T41, T42)
U5_GGA(T35, T18, T36, T20, T22, leq33_out_gg(T35, T36)) → U6_GGA(T35, T18, T36, T20, T22, merge1_in_gga(T18, .(s(T36), T20), T22))
U5_GGA(T35, T18, T36, T20, T22, leq33_out_gg(T35, T36)) → MERGE1_IN_GGA(T18, .(s(T36), T20), T22)
MERGE1_IN_GGA(.(T57, T58), .(T59, T60), .(T59, T62)) → U7_GGA(T57, T58, T59, T60, T62, less51_in_gg(T59, T57))
MERGE1_IN_GGA(.(T57, T58), .(T59, T60), .(T59, T62)) → LESS51_IN_GG(T59, T57)
LESS51_IN_GG(s(T67), s(T68)) → U2_GG(T67, T68, less51_in_gg(T67, T68))
LESS51_IN_GG(s(T67), s(T68)) → LESS51_IN_GG(T67, T68)
U7_GGA(T57, T58, T59, T60, T62, less51_out_gg(T59, T57)) → U8_GGA(T57, T58, T59, T60, T62, merge1_in_gga(.(T57, T58), T60, T62))
U7_GGA(T57, T58, T59, T60, T62, less51_out_gg(T59, T57)) → MERGE1_IN_GGA(.(T57, T58), T60, T62)
MERGE1_IN_GGA(.(s(0), T79), .(0, T81), .(0, T83)) → U9_GGA(T79, T81, T83, merge1_in_gga(.(s(0), T79), T81, T83))
MERGE1_IN_GGA(.(s(0), T79), .(0, T81), .(0, T83)) → MERGE1_IN_GGA(.(s(0), T79), T81, T83)
MERGE1_IN_GGA(.(s(T91), T79), .(s(T90), T81), .(s(T90), T83)) → U10_GGA(T91, T79, T90, T81, T83, less51_in_gg(T90, T91))
MERGE1_IN_GGA(.(s(T91), T79), .(s(T90), T81), .(s(T90), T83)) → LESS51_IN_GG(T90, T91)
U10_GGA(T91, T79, T90, T81, T83, less51_out_gg(T90, T91)) → U11_GGA(T91, T79, T90, T81, T83, merge1_in_gga(.(s(T91), T79), T81, T83))
U10_GGA(T91, T79, T90, T81, T83, less51_out_gg(T90, T91)) → MERGE1_IN_GGA(.(s(T91), T79), T81, T83)
merge1_in_gga([], T5, T5) → merge1_out_gga([], T5, T5)
merge1_in_gga([], [], []) → merge1_out_gga([], [], [])
merge1_in_gga(T7, [], T7) → merge1_out_gga(T7, [], T7)
merge1_in_gga(.(0, T18), .(0, T20), .(0, T22)) → U3_gga(T18, T20, T22, merge1_in_gga(T18, .(0, T20), T22))
merge1_in_gga(.(0, T18), .(s(0), T20), .(0, T22)) → U4_gga(T18, T20, T22, merge1_in_gga(T18, .(s(0), T20), T22))
merge1_in_gga(.(s(T35), T18), .(s(T36), T20), .(s(T35), T22)) → U5_gga(T35, T18, T36, T20, T22, leq33_in_gg(T35, T36))
leq33_in_gg(0, 0) → leq33_out_gg(0, 0)
leq33_in_gg(0, s(0)) → leq33_out_gg(0, s(0))
leq33_in_gg(s(T41), s(T42)) → U1_gg(T41, T42, leq33_in_gg(T41, T42))
U1_gg(T41, T42, leq33_out_gg(T41, T42)) → leq33_out_gg(s(T41), s(T42))
U5_gga(T35, T18, T36, T20, T22, leq33_out_gg(T35, T36)) → merge1_out_gga(.(s(T35), T18), .(s(T36), T20), .(s(T35), T22))
U5_gga(T35, T18, T36, T20, T22, leq33_out_gg(T35, T36)) → U6_gga(T35, T18, T36, T20, T22, merge1_in_gga(T18, .(s(T36), T20), T22))
merge1_in_gga(.(T57, T58), .(T59, T60), .(T59, T62)) → U7_gga(T57, T58, T59, T60, T62, less51_in_gg(T59, T57))
less51_in_gg(0, s(0)) → less51_out_gg(0, s(0))
less51_in_gg(s(T67), s(T68)) → U2_gg(T67, T68, less51_in_gg(T67, T68))
U2_gg(T67, T68, less51_out_gg(T67, T68)) → less51_out_gg(s(T67), s(T68))
U7_gga(T57, T58, T59, T60, T62, less51_out_gg(T59, T57)) → merge1_out_gga(.(T57, T58), .(T59, T60), .(T59, T62))
U7_gga(T57, T58, T59, T60, T62, less51_out_gg(T59, T57)) → U8_gga(T57, T58, T59, T60, T62, merge1_in_gga(.(T57, T58), T60, T62))
merge1_in_gga(.(s(0), T79), .(0, T81), .(0, T83)) → U9_gga(T79, T81, T83, merge1_in_gga(.(s(0), T79), T81, T83))
merge1_in_gga(.(s(T91), T79), .(s(T90), T81), .(s(T90), T83)) → U10_gga(T91, T79, T90, T81, T83, less51_in_gg(T90, T91))
U10_gga(T91, T79, T90, T81, T83, less51_out_gg(T90, T91)) → merge1_out_gga(.(s(T91), T79), .(s(T90), T81), .(s(T90), T83))
U10_gga(T91, T79, T90, T81, T83, less51_out_gg(T90, T91)) → U11_gga(T91, T79, T90, T81, T83, merge1_in_gga(.(s(T91), T79), T81, T83))
U11_gga(T91, T79, T90, T81, T83, merge1_out_gga(.(s(T91), T79), T81, T83)) → merge1_out_gga(.(s(T91), T79), .(s(T90), T81), .(s(T90), T83))
U9_gga(T79, T81, T83, merge1_out_gga(.(s(0), T79), T81, T83)) → merge1_out_gga(.(s(0), T79), .(0, T81), .(0, T83))
U8_gga(T57, T58, T59, T60, T62, merge1_out_gga(.(T57, T58), T60, T62)) → merge1_out_gga(.(T57, T58), .(T59, T60), .(T59, T62))
U6_gga(T35, T18, T36, T20, T22, merge1_out_gga(T18, .(s(T36), T20), T22)) → merge1_out_gga(.(s(T35), T18), .(s(T36), T20), .(s(T35), T22))
U4_gga(T18, T20, T22, merge1_out_gga(T18, .(s(0), T20), T22)) → merge1_out_gga(.(0, T18), .(s(0), T20), .(0, T22))
U3_gga(T18, T20, T22, merge1_out_gga(T18, .(0, T20), T22)) → merge1_out_gga(.(0, T18), .(0, T20), .(0, T22))
MERGE1_IN_GGA(.(0, T18), .(0, T20), .(0, T22)) → U3_GGA(T18, T20, T22, merge1_in_gga(T18, .(0, T20), T22))
MERGE1_IN_GGA(.(0, T18), .(0, T20), .(0, T22)) → MERGE1_IN_GGA(T18, .(0, T20), T22)
MERGE1_IN_GGA(.(0, T18), .(s(0), T20), .(0, T22)) → U4_GGA(T18, T20, T22, merge1_in_gga(T18, .(s(0), T20), T22))
MERGE1_IN_GGA(.(0, T18), .(s(0), T20), .(0, T22)) → MERGE1_IN_GGA(T18, .(s(0), T20), T22)
MERGE1_IN_GGA(.(s(T35), T18), .(s(T36), T20), .(s(T35), T22)) → U5_GGA(T35, T18, T36, T20, T22, leq33_in_gg(T35, T36))
MERGE1_IN_GGA(.(s(T35), T18), .(s(T36), T20), .(s(T35), T22)) → LEQ33_IN_GG(T35, T36)
LEQ33_IN_GG(s(T41), s(T42)) → U1_GG(T41, T42, leq33_in_gg(T41, T42))
LEQ33_IN_GG(s(T41), s(T42)) → LEQ33_IN_GG(T41, T42)
U5_GGA(T35, T18, T36, T20, T22, leq33_out_gg(T35, T36)) → U6_GGA(T35, T18, T36, T20, T22, merge1_in_gga(T18, .(s(T36), T20), T22))
U5_GGA(T35, T18, T36, T20, T22, leq33_out_gg(T35, T36)) → MERGE1_IN_GGA(T18, .(s(T36), T20), T22)
MERGE1_IN_GGA(.(T57, T58), .(T59, T60), .(T59, T62)) → U7_GGA(T57, T58, T59, T60, T62, less51_in_gg(T59, T57))
MERGE1_IN_GGA(.(T57, T58), .(T59, T60), .(T59, T62)) → LESS51_IN_GG(T59, T57)
LESS51_IN_GG(s(T67), s(T68)) → U2_GG(T67, T68, less51_in_gg(T67, T68))
LESS51_IN_GG(s(T67), s(T68)) → LESS51_IN_GG(T67, T68)
U7_GGA(T57, T58, T59, T60, T62, less51_out_gg(T59, T57)) → U8_GGA(T57, T58, T59, T60, T62, merge1_in_gga(.(T57, T58), T60, T62))
U7_GGA(T57, T58, T59, T60, T62, less51_out_gg(T59, T57)) → MERGE1_IN_GGA(.(T57, T58), T60, T62)
MERGE1_IN_GGA(.(s(0), T79), .(0, T81), .(0, T83)) → U9_GGA(T79, T81, T83, merge1_in_gga(.(s(0), T79), T81, T83))
MERGE1_IN_GGA(.(s(0), T79), .(0, T81), .(0, T83)) → MERGE1_IN_GGA(.(s(0), T79), T81, T83)
MERGE1_IN_GGA(.(s(T91), T79), .(s(T90), T81), .(s(T90), T83)) → U10_GGA(T91, T79, T90, T81, T83, less51_in_gg(T90, T91))
MERGE1_IN_GGA(.(s(T91), T79), .(s(T90), T81), .(s(T90), T83)) → LESS51_IN_GG(T90, T91)
U10_GGA(T91, T79, T90, T81, T83, less51_out_gg(T90, T91)) → U11_GGA(T91, T79, T90, T81, T83, merge1_in_gga(.(s(T91), T79), T81, T83))
U10_GGA(T91, T79, T90, T81, T83, less51_out_gg(T90, T91)) → MERGE1_IN_GGA(.(s(T91), T79), T81, T83)
merge1_in_gga([], T5, T5) → merge1_out_gga([], T5, T5)
merge1_in_gga([], [], []) → merge1_out_gga([], [], [])
merge1_in_gga(T7, [], T7) → merge1_out_gga(T7, [], T7)
merge1_in_gga(.(0, T18), .(0, T20), .(0, T22)) → U3_gga(T18, T20, T22, merge1_in_gga(T18, .(0, T20), T22))
merge1_in_gga(.(0, T18), .(s(0), T20), .(0, T22)) → U4_gga(T18, T20, T22, merge1_in_gga(T18, .(s(0), T20), T22))
merge1_in_gga(.(s(T35), T18), .(s(T36), T20), .(s(T35), T22)) → U5_gga(T35, T18, T36, T20, T22, leq33_in_gg(T35, T36))
leq33_in_gg(0, 0) → leq33_out_gg(0, 0)
leq33_in_gg(0, s(0)) → leq33_out_gg(0, s(0))
leq33_in_gg(s(T41), s(T42)) → U1_gg(T41, T42, leq33_in_gg(T41, T42))
U1_gg(T41, T42, leq33_out_gg(T41, T42)) → leq33_out_gg(s(T41), s(T42))
U5_gga(T35, T18, T36, T20, T22, leq33_out_gg(T35, T36)) → merge1_out_gga(.(s(T35), T18), .(s(T36), T20), .(s(T35), T22))
U5_gga(T35, T18, T36, T20, T22, leq33_out_gg(T35, T36)) → U6_gga(T35, T18, T36, T20, T22, merge1_in_gga(T18, .(s(T36), T20), T22))
merge1_in_gga(.(T57, T58), .(T59, T60), .(T59, T62)) → U7_gga(T57, T58, T59, T60, T62, less51_in_gg(T59, T57))
less51_in_gg(0, s(0)) → less51_out_gg(0, s(0))
less51_in_gg(s(T67), s(T68)) → U2_gg(T67, T68, less51_in_gg(T67, T68))
U2_gg(T67, T68, less51_out_gg(T67, T68)) → less51_out_gg(s(T67), s(T68))
U7_gga(T57, T58, T59, T60, T62, less51_out_gg(T59, T57)) → merge1_out_gga(.(T57, T58), .(T59, T60), .(T59, T62))
U7_gga(T57, T58, T59, T60, T62, less51_out_gg(T59, T57)) → U8_gga(T57, T58, T59, T60, T62, merge1_in_gga(.(T57, T58), T60, T62))
merge1_in_gga(.(s(0), T79), .(0, T81), .(0, T83)) → U9_gga(T79, T81, T83, merge1_in_gga(.(s(0), T79), T81, T83))
merge1_in_gga(.(s(T91), T79), .(s(T90), T81), .(s(T90), T83)) → U10_gga(T91, T79, T90, T81, T83, less51_in_gg(T90, T91))
U10_gga(T91, T79, T90, T81, T83, less51_out_gg(T90, T91)) → merge1_out_gga(.(s(T91), T79), .(s(T90), T81), .(s(T90), T83))
U10_gga(T91, T79, T90, T81, T83, less51_out_gg(T90, T91)) → U11_gga(T91, T79, T90, T81, T83, merge1_in_gga(.(s(T91), T79), T81, T83))
U11_gga(T91, T79, T90, T81, T83, merge1_out_gga(.(s(T91), T79), T81, T83)) → merge1_out_gga(.(s(T91), T79), .(s(T90), T81), .(s(T90), T83))
U9_gga(T79, T81, T83, merge1_out_gga(.(s(0), T79), T81, T83)) → merge1_out_gga(.(s(0), T79), .(0, T81), .(0, T83))
U8_gga(T57, T58, T59, T60, T62, merge1_out_gga(.(T57, T58), T60, T62)) → merge1_out_gga(.(T57, T58), .(T59, T60), .(T59, T62))
U6_gga(T35, T18, T36, T20, T22, merge1_out_gga(T18, .(s(T36), T20), T22)) → merge1_out_gga(.(s(T35), T18), .(s(T36), T20), .(s(T35), T22))
U4_gga(T18, T20, T22, merge1_out_gga(T18, .(s(0), T20), T22)) → merge1_out_gga(.(0, T18), .(s(0), T20), .(0, T22))
U3_gga(T18, T20, T22, merge1_out_gga(T18, .(0, T20), T22)) → merge1_out_gga(.(0, T18), .(0, T20), .(0, T22))
LESS51_IN_GG(s(T67), s(T68)) → LESS51_IN_GG(T67, T68)
merge1_in_gga([], T5, T5) → merge1_out_gga([], T5, T5)
merge1_in_gga([], [], []) → merge1_out_gga([], [], [])
merge1_in_gga(T7, [], T7) → merge1_out_gga(T7, [], T7)
merge1_in_gga(.(0, T18), .(0, T20), .(0, T22)) → U3_gga(T18, T20, T22, merge1_in_gga(T18, .(0, T20), T22))
merge1_in_gga(.(0, T18), .(s(0), T20), .(0, T22)) → U4_gga(T18, T20, T22, merge1_in_gga(T18, .(s(0), T20), T22))
merge1_in_gga(.(s(T35), T18), .(s(T36), T20), .(s(T35), T22)) → U5_gga(T35, T18, T36, T20, T22, leq33_in_gg(T35, T36))
leq33_in_gg(0, 0) → leq33_out_gg(0, 0)
leq33_in_gg(0, s(0)) → leq33_out_gg(0, s(0))
leq33_in_gg(s(T41), s(T42)) → U1_gg(T41, T42, leq33_in_gg(T41, T42))
U1_gg(T41, T42, leq33_out_gg(T41, T42)) → leq33_out_gg(s(T41), s(T42))
U5_gga(T35, T18, T36, T20, T22, leq33_out_gg(T35, T36)) → merge1_out_gga(.(s(T35), T18), .(s(T36), T20), .(s(T35), T22))
U5_gga(T35, T18, T36, T20, T22, leq33_out_gg(T35, T36)) → U6_gga(T35, T18, T36, T20, T22, merge1_in_gga(T18, .(s(T36), T20), T22))
merge1_in_gga(.(T57, T58), .(T59, T60), .(T59, T62)) → U7_gga(T57, T58, T59, T60, T62, less51_in_gg(T59, T57))
less51_in_gg(0, s(0)) → less51_out_gg(0, s(0))
less51_in_gg(s(T67), s(T68)) → U2_gg(T67, T68, less51_in_gg(T67, T68))
U2_gg(T67, T68, less51_out_gg(T67, T68)) → less51_out_gg(s(T67), s(T68))
U7_gga(T57, T58, T59, T60, T62, less51_out_gg(T59, T57)) → merge1_out_gga(.(T57, T58), .(T59, T60), .(T59, T62))
U7_gga(T57, T58, T59, T60, T62, less51_out_gg(T59, T57)) → U8_gga(T57, T58, T59, T60, T62, merge1_in_gga(.(T57, T58), T60, T62))
merge1_in_gga(.(s(0), T79), .(0, T81), .(0, T83)) → U9_gga(T79, T81, T83, merge1_in_gga(.(s(0), T79), T81, T83))
merge1_in_gga(.(s(T91), T79), .(s(T90), T81), .(s(T90), T83)) → U10_gga(T91, T79, T90, T81, T83, less51_in_gg(T90, T91))
U10_gga(T91, T79, T90, T81, T83, less51_out_gg(T90, T91)) → merge1_out_gga(.(s(T91), T79), .(s(T90), T81), .(s(T90), T83))
U10_gga(T91, T79, T90, T81, T83, less51_out_gg(T90, T91)) → U11_gga(T91, T79, T90, T81, T83, merge1_in_gga(.(s(T91), T79), T81, T83))
U11_gga(T91, T79, T90, T81, T83, merge1_out_gga(.(s(T91), T79), T81, T83)) → merge1_out_gga(.(s(T91), T79), .(s(T90), T81), .(s(T90), T83))
U9_gga(T79, T81, T83, merge1_out_gga(.(s(0), T79), T81, T83)) → merge1_out_gga(.(s(0), T79), .(0, T81), .(0, T83))
U8_gga(T57, T58, T59, T60, T62, merge1_out_gga(.(T57, T58), T60, T62)) → merge1_out_gga(.(T57, T58), .(T59, T60), .(T59, T62))
U6_gga(T35, T18, T36, T20, T22, merge1_out_gga(T18, .(s(T36), T20), T22)) → merge1_out_gga(.(s(T35), T18), .(s(T36), T20), .(s(T35), T22))
U4_gga(T18, T20, T22, merge1_out_gga(T18, .(s(0), T20), T22)) → merge1_out_gga(.(0, T18), .(s(0), T20), .(0, T22))
U3_gga(T18, T20, T22, merge1_out_gga(T18, .(0, T20), T22)) → merge1_out_gga(.(0, T18), .(0, T20), .(0, T22))
LESS51_IN_GG(s(T67), s(T68)) → LESS51_IN_GG(T67, T68)
LESS51_IN_GG(s(T67), s(T68)) → LESS51_IN_GG(T67, T68)
From the DPs we obtained the following set of size-change graphs:
LEQ33_IN_GG(s(T41), s(T42)) → LEQ33_IN_GG(T41, T42)
merge1_in_gga([], T5, T5) → merge1_out_gga([], T5, T5)
merge1_in_gga([], [], []) → merge1_out_gga([], [], [])
merge1_in_gga(T7, [], T7) → merge1_out_gga(T7, [], T7)
merge1_in_gga(.(0, T18), .(0, T20), .(0, T22)) → U3_gga(T18, T20, T22, merge1_in_gga(T18, .(0, T20), T22))
merge1_in_gga(.(0, T18), .(s(0), T20), .(0, T22)) → U4_gga(T18, T20, T22, merge1_in_gga(T18, .(s(0), T20), T22))
merge1_in_gga(.(s(T35), T18), .(s(T36), T20), .(s(T35), T22)) → U5_gga(T35, T18, T36, T20, T22, leq33_in_gg(T35, T36))
leq33_in_gg(0, 0) → leq33_out_gg(0, 0)
leq33_in_gg(0, s(0)) → leq33_out_gg(0, s(0))
leq33_in_gg(s(T41), s(T42)) → U1_gg(T41, T42, leq33_in_gg(T41, T42))
U1_gg(T41, T42, leq33_out_gg(T41, T42)) → leq33_out_gg(s(T41), s(T42))
U5_gga(T35, T18, T36, T20, T22, leq33_out_gg(T35, T36)) → merge1_out_gga(.(s(T35), T18), .(s(T36), T20), .(s(T35), T22))
U5_gga(T35, T18, T36, T20, T22, leq33_out_gg(T35, T36)) → U6_gga(T35, T18, T36, T20, T22, merge1_in_gga(T18, .(s(T36), T20), T22))
merge1_in_gga(.(T57, T58), .(T59, T60), .(T59, T62)) → U7_gga(T57, T58, T59, T60, T62, less51_in_gg(T59, T57))
less51_in_gg(0, s(0)) → less51_out_gg(0, s(0))
less51_in_gg(s(T67), s(T68)) → U2_gg(T67, T68, less51_in_gg(T67, T68))
U2_gg(T67, T68, less51_out_gg(T67, T68)) → less51_out_gg(s(T67), s(T68))
U7_gga(T57, T58, T59, T60, T62, less51_out_gg(T59, T57)) → merge1_out_gga(.(T57, T58), .(T59, T60), .(T59, T62))
U7_gga(T57, T58, T59, T60, T62, less51_out_gg(T59, T57)) → U8_gga(T57, T58, T59, T60, T62, merge1_in_gga(.(T57, T58), T60, T62))
merge1_in_gga(.(s(0), T79), .(0, T81), .(0, T83)) → U9_gga(T79, T81, T83, merge1_in_gga(.(s(0), T79), T81, T83))
merge1_in_gga(.(s(T91), T79), .(s(T90), T81), .(s(T90), T83)) → U10_gga(T91, T79, T90, T81, T83, less51_in_gg(T90, T91))
U10_gga(T91, T79, T90, T81, T83, less51_out_gg(T90, T91)) → merge1_out_gga(.(s(T91), T79), .(s(T90), T81), .(s(T90), T83))
U10_gga(T91, T79, T90, T81, T83, less51_out_gg(T90, T91)) → U11_gga(T91, T79, T90, T81, T83, merge1_in_gga(.(s(T91), T79), T81, T83))
U11_gga(T91, T79, T90, T81, T83, merge1_out_gga(.(s(T91), T79), T81, T83)) → merge1_out_gga(.(s(T91), T79), .(s(T90), T81), .(s(T90), T83))
U9_gga(T79, T81, T83, merge1_out_gga(.(s(0), T79), T81, T83)) → merge1_out_gga(.(s(0), T79), .(0, T81), .(0, T83))
U8_gga(T57, T58, T59, T60, T62, merge1_out_gga(.(T57, T58), T60, T62)) → merge1_out_gga(.(T57, T58), .(T59, T60), .(T59, T62))
U6_gga(T35, T18, T36, T20, T22, merge1_out_gga(T18, .(s(T36), T20), T22)) → merge1_out_gga(.(s(T35), T18), .(s(T36), T20), .(s(T35), T22))
U4_gga(T18, T20, T22, merge1_out_gga(T18, .(s(0), T20), T22)) → merge1_out_gga(.(0, T18), .(s(0), T20), .(0, T22))
U3_gga(T18, T20, T22, merge1_out_gga(T18, .(0, T20), T22)) → merge1_out_gga(.(0, T18), .(0, T20), .(0, T22))
LEQ33_IN_GG(s(T41), s(T42)) → LEQ33_IN_GG(T41, T42)
LEQ33_IN_GG(s(T41), s(T42)) → LEQ33_IN_GG(T41, T42)
From the DPs we obtained the following set of size-change graphs:
MERGE1_IN_GGA(.(T57, T58), .(T59, T60), .(T59, T62)) → U7_GGA(T57, T58, T59, T60, T62, less51_in_gg(T59, T57))
U7_GGA(T57, T58, T59, T60, T62, less51_out_gg(T59, T57)) → MERGE1_IN_GGA(.(T57, T58), T60, T62)
MERGE1_IN_GGA(.(0, T18), .(0, T20), .(0, T22)) → MERGE1_IN_GGA(T18, .(0, T20), T22)
MERGE1_IN_GGA(.(s(0), T79), .(0, T81), .(0, T83)) → MERGE1_IN_GGA(.(s(0), T79), T81, T83)
MERGE1_IN_GGA(.(s(T35), T18), .(s(T36), T20), .(s(T35), T22)) → U5_GGA(T35, T18, T36, T20, T22, leq33_in_gg(T35, T36))
U5_GGA(T35, T18, T36, T20, T22, leq33_out_gg(T35, T36)) → MERGE1_IN_GGA(T18, .(s(T36), T20), T22)
MERGE1_IN_GGA(.(0, T18), .(s(0), T20), .(0, T22)) → MERGE1_IN_GGA(T18, .(s(0), T20), T22)
MERGE1_IN_GGA(.(s(T91), T79), .(s(T90), T81), .(s(T90), T83)) → U10_GGA(T91, T79, T90, T81, T83, less51_in_gg(T90, T91))
U10_GGA(T91, T79, T90, T81, T83, less51_out_gg(T90, T91)) → MERGE1_IN_GGA(.(s(T91), T79), T81, T83)
merge1_in_gga([], T5, T5) → merge1_out_gga([], T5, T5)
merge1_in_gga([], [], []) → merge1_out_gga([], [], [])
merge1_in_gga(T7, [], T7) → merge1_out_gga(T7, [], T7)
merge1_in_gga(.(0, T18), .(0, T20), .(0, T22)) → U3_gga(T18, T20, T22, merge1_in_gga(T18, .(0, T20), T22))
merge1_in_gga(.(0, T18), .(s(0), T20), .(0, T22)) → U4_gga(T18, T20, T22, merge1_in_gga(T18, .(s(0), T20), T22))
merge1_in_gga(.(s(T35), T18), .(s(T36), T20), .(s(T35), T22)) → U5_gga(T35, T18, T36, T20, T22, leq33_in_gg(T35, T36))
leq33_in_gg(0, 0) → leq33_out_gg(0, 0)
leq33_in_gg(0, s(0)) → leq33_out_gg(0, s(0))
leq33_in_gg(s(T41), s(T42)) → U1_gg(T41, T42, leq33_in_gg(T41, T42))
U1_gg(T41, T42, leq33_out_gg(T41, T42)) → leq33_out_gg(s(T41), s(T42))
U5_gga(T35, T18, T36, T20, T22, leq33_out_gg(T35, T36)) → merge1_out_gga(.(s(T35), T18), .(s(T36), T20), .(s(T35), T22))
U5_gga(T35, T18, T36, T20, T22, leq33_out_gg(T35, T36)) → U6_gga(T35, T18, T36, T20, T22, merge1_in_gga(T18, .(s(T36), T20), T22))
merge1_in_gga(.(T57, T58), .(T59, T60), .(T59, T62)) → U7_gga(T57, T58, T59, T60, T62, less51_in_gg(T59, T57))
less51_in_gg(0, s(0)) → less51_out_gg(0, s(0))
less51_in_gg(s(T67), s(T68)) → U2_gg(T67, T68, less51_in_gg(T67, T68))
U2_gg(T67, T68, less51_out_gg(T67, T68)) → less51_out_gg(s(T67), s(T68))
U7_gga(T57, T58, T59, T60, T62, less51_out_gg(T59, T57)) → merge1_out_gga(.(T57, T58), .(T59, T60), .(T59, T62))
U7_gga(T57, T58, T59, T60, T62, less51_out_gg(T59, T57)) → U8_gga(T57, T58, T59, T60, T62, merge1_in_gga(.(T57, T58), T60, T62))
merge1_in_gga(.(s(0), T79), .(0, T81), .(0, T83)) → U9_gga(T79, T81, T83, merge1_in_gga(.(s(0), T79), T81, T83))
merge1_in_gga(.(s(T91), T79), .(s(T90), T81), .(s(T90), T83)) → U10_gga(T91, T79, T90, T81, T83, less51_in_gg(T90, T91))
U10_gga(T91, T79, T90, T81, T83, less51_out_gg(T90, T91)) → merge1_out_gga(.(s(T91), T79), .(s(T90), T81), .(s(T90), T83))
U10_gga(T91, T79, T90, T81, T83, less51_out_gg(T90, T91)) → U11_gga(T91, T79, T90, T81, T83, merge1_in_gga(.(s(T91), T79), T81, T83))
U11_gga(T91, T79, T90, T81, T83, merge1_out_gga(.(s(T91), T79), T81, T83)) → merge1_out_gga(.(s(T91), T79), .(s(T90), T81), .(s(T90), T83))
U9_gga(T79, T81, T83, merge1_out_gga(.(s(0), T79), T81, T83)) → merge1_out_gga(.(s(0), T79), .(0, T81), .(0, T83))
U8_gga(T57, T58, T59, T60, T62, merge1_out_gga(.(T57, T58), T60, T62)) → merge1_out_gga(.(T57, T58), .(T59, T60), .(T59, T62))
U6_gga(T35, T18, T36, T20, T22, merge1_out_gga(T18, .(s(T36), T20), T22)) → merge1_out_gga(.(s(T35), T18), .(s(T36), T20), .(s(T35), T22))
U4_gga(T18, T20, T22, merge1_out_gga(T18, .(s(0), T20), T22)) → merge1_out_gga(.(0, T18), .(s(0), T20), .(0, T22))
U3_gga(T18, T20, T22, merge1_out_gga(T18, .(0, T20), T22)) → merge1_out_gga(.(0, T18), .(0, T20), .(0, T22))
MERGE1_IN_GGA(.(T57, T58), .(T59, T60), .(T59, T62)) → U7_GGA(T57, T58, T59, T60, T62, less51_in_gg(T59, T57))
U7_GGA(T57, T58, T59, T60, T62, less51_out_gg(T59, T57)) → MERGE1_IN_GGA(.(T57, T58), T60, T62)
MERGE1_IN_GGA(.(0, T18), .(0, T20), .(0, T22)) → MERGE1_IN_GGA(T18, .(0, T20), T22)
MERGE1_IN_GGA(.(s(0), T79), .(0, T81), .(0, T83)) → MERGE1_IN_GGA(.(s(0), T79), T81, T83)
MERGE1_IN_GGA(.(s(T35), T18), .(s(T36), T20), .(s(T35), T22)) → U5_GGA(T35, T18, T36, T20, T22, leq33_in_gg(T35, T36))
U5_GGA(T35, T18, T36, T20, T22, leq33_out_gg(T35, T36)) → MERGE1_IN_GGA(T18, .(s(T36), T20), T22)
MERGE1_IN_GGA(.(0, T18), .(s(0), T20), .(0, T22)) → MERGE1_IN_GGA(T18, .(s(0), T20), T22)
MERGE1_IN_GGA(.(s(T91), T79), .(s(T90), T81), .(s(T90), T83)) → U10_GGA(T91, T79, T90, T81, T83, less51_in_gg(T90, T91))
U10_GGA(T91, T79, T90, T81, T83, less51_out_gg(T90, T91)) → MERGE1_IN_GGA(.(s(T91), T79), T81, T83)
less51_in_gg(0, s(0)) → less51_out_gg(0, s(0))
less51_in_gg(s(T67), s(T68)) → U2_gg(T67, T68, less51_in_gg(T67, T68))
leq33_in_gg(0, 0) → leq33_out_gg(0, 0)
leq33_in_gg(0, s(0)) → leq33_out_gg(0, s(0))
leq33_in_gg(s(T41), s(T42)) → U1_gg(T41, T42, leq33_in_gg(T41, T42))
U2_gg(T67, T68, less51_out_gg(T67, T68)) → less51_out_gg(s(T67), s(T68))
U1_gg(T41, T42, leq33_out_gg(T41, T42)) → leq33_out_gg(s(T41), s(T42))
MERGE1_IN_GGA(.(T57, T58), .(T59, T60)) → U7_GGA(T57, T58, T59, T60, less51_in_gg(T59, T57))
U7_GGA(T57, T58, T59, T60, less51_out_gg(T59, T57)) → MERGE1_IN_GGA(.(T57, T58), T60)
MERGE1_IN_GGA(.(0, T18), .(0, T20)) → MERGE1_IN_GGA(T18, .(0, T20))
MERGE1_IN_GGA(.(s(0), T79), .(0, T81)) → MERGE1_IN_GGA(.(s(0), T79), T81)
MERGE1_IN_GGA(.(s(T35), T18), .(s(T36), T20)) → U5_GGA(T35, T18, T36, T20, leq33_in_gg(T35, T36))
U5_GGA(T35, T18, T36, T20, leq33_out_gg(T35, T36)) → MERGE1_IN_GGA(T18, .(s(T36), T20))
MERGE1_IN_GGA(.(0, T18), .(s(0), T20)) → MERGE1_IN_GGA(T18, .(s(0), T20))
MERGE1_IN_GGA(.(s(T91), T79), .(s(T90), T81)) → U10_GGA(T91, T79, T90, T81, less51_in_gg(T90, T91))
U10_GGA(T91, T79, T90, T81, less51_out_gg(T90, T91)) → MERGE1_IN_GGA(.(s(T91), T79), T81)
less51_in_gg(0, s(0)) → less51_out_gg(0, s(0))
less51_in_gg(s(T67), s(T68)) → U2_gg(T67, T68, less51_in_gg(T67, T68))
leq33_in_gg(0, 0) → leq33_out_gg(0, 0)
leq33_in_gg(0, s(0)) → leq33_out_gg(0, s(0))
leq33_in_gg(s(T41), s(T42)) → U1_gg(T41, T42, leq33_in_gg(T41, T42))
U2_gg(T67, T68, less51_out_gg(T67, T68)) → less51_out_gg(s(T67), s(T68))
U1_gg(T41, T42, leq33_out_gg(T41, T42)) → leq33_out_gg(s(T41), s(T42))
less51_in_gg(x0, x1)
leq33_in_gg(x0, x1)
U2_gg(x0, x1, x2)
U1_gg(x0, x1, x2)
MERGE1_IN_GGA(.(T57, T58), .(T59, T60)) → U7_GGA(T57, T58, T59, T60, less51_in_gg(T59, T57))
U7_GGA(T57, T58, T59, T60, less51_out_gg(T59, T57)) → MERGE1_IN_GGA(.(T57, T58), T60)
MERGE1_IN_GGA(.(0, T18), .(0, T20)) → MERGE1_IN_GGA(T18, .(0, T20))
MERGE1_IN_GGA(.(s(0), T79), .(0, T81)) → MERGE1_IN_GGA(.(s(0), T79), T81)
MERGE1_IN_GGA(.(s(T35), T18), .(s(T36), T20)) → U5_GGA(T35, T18, T36, T20, leq33_in_gg(T35, T36))
MERGE1_IN_GGA(.(0, T18), .(s(0), T20)) → MERGE1_IN_GGA(T18, .(s(0), T20))
MERGE1_IN_GGA(.(s(T91), T79), .(s(T90), T81)) → U10_GGA(T91, T79, T90, T81, less51_in_gg(T90, T91))
U10_GGA(T91, T79, T90, T81, less51_out_gg(T90, T91)) → MERGE1_IN_GGA(.(s(T91), T79), T81)
POL(.(x1, x2)) = 2 + 2·x1 + 2·x2
POL(0) = 0
POL(MERGE1_IN_GGA(x1, x2)) = x1 + x2
POL(U10_GGA(x1, x2, x3, x4, x5)) = 1 + 2·x1 + 2·x2 + x3 + 2·x4 + 2·x5
POL(U1_gg(x1, x2, x3)) = 2·x1 + 2·x2 + x3
POL(U2_gg(x1, x2, x3)) = x1 + x2 + x3
POL(U5_GGA(x1, x2, x3, x4, x5)) = 1 + 2·x1 + 2·x2 + 2·x3 + 2·x4 + x5
POL(U7_GGA(x1, x2, x3, x4, x5)) = 2 + x1 + 2·x2 + x3 + x4 + x5
POL(leq33_in_gg(x1, x2)) = 1 + 2·x1 + 2·x2
POL(leq33_out_gg(x1, x2)) = 1 + x1 + 2·x2
POL(less51_in_gg(x1, x2)) = 1 + x1 + x2
POL(less51_out_gg(x1, x2)) = 1 + x1 + x2
POL(s(x1)) = 2·x1
U5_GGA(T35, T18, T36, T20, leq33_out_gg(T35, T36)) → MERGE1_IN_GGA(T18, .(s(T36), T20))
less51_in_gg(0, s(0)) → less51_out_gg(0, s(0))
less51_in_gg(s(T67), s(T68)) → U2_gg(T67, T68, less51_in_gg(T67, T68))
leq33_in_gg(0, 0) → leq33_out_gg(0, 0)
leq33_in_gg(0, s(0)) → leq33_out_gg(0, s(0))
leq33_in_gg(s(T41), s(T42)) → U1_gg(T41, T42, leq33_in_gg(T41, T42))
U2_gg(T67, T68, less51_out_gg(T67, T68)) → less51_out_gg(s(T67), s(T68))
U1_gg(T41, T42, leq33_out_gg(T41, T42)) → leq33_out_gg(s(T41), s(T42))
less51_in_gg(x0, x1)
leq33_in_gg(x0, x1)
U2_gg(x0, x1, x2)
U1_gg(x0, x1, x2)