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 MRRProof (⇔)
↳31 QDP
↳32 DependencyGraphProof (⇔)
↳33 QDP
↳34 UsableRulesProof (⇔)
↳35 QDP
↳36 QReductionProof (⇔)
↳37 QDP
↳38 QDPSizeChangeProof (⇔)
↳39 YES
merge1_in_gga(T5, [], T5) → merge1_out_gga(T5, [], T5)
merge1_in_gga([], [], []) → merge1_out_gga([], [], [])
merge1_in_gga([], T11, T11) → merge1_out_gga([], T11, T11)
merge1_in_gga(.(s(T31), T18), .(s(T32), T20), .(s(T31), T22)) → U3_gga(T31, T18, T32, T20, T22, le25_in_gg(T31, T32))
le25_in_gg(s(T45), s(T46)) → U1_gg(T45, T46, le25_in_gg(T45, T46))
le25_in_gg(zero, s(T53)) → le25_out_gg(zero, s(T53))
le25_in_gg(zero, zero) → le25_out_gg(zero, zero)
U1_gg(T45, T46, le25_out_gg(T45, T46)) → le25_out_gg(s(T45), s(T46))
U3_gga(T31, T18, T32, T20, T22, le25_out_gg(T31, T32)) → merge1_out_gga(.(s(T31), T18), .(s(T32), T20), .(s(T31), T22))
U3_gga(T31, T18, T32, T20, T22, le25_out_gg(T31, T32)) → U4_gga(T31, T18, T32, T20, T22, merge1_in_gga(T18, .(s(T32), T20), T22))
merge1_in_gga(.(zero, T18), .(s(T64), T20), .(zero, T22)) → U5_gga(T18, T64, T20, T22, merge1_in_gga(T18, .(s(T64), T20), T22))
merge1_in_gga(.(zero, T18), .(zero, T20), .(zero, T22)) → U6_gga(T18, T20, T22, merge1_in_gga(T18, .(zero, T20), T22))
merge1_in_gga(.(T85, T86), .(T87, T88), .(T87, T90)) → U7_gga(T85, T86, T87, T88, T90, gt51_in_gg(T85, T87))
gt51_in_gg(s(T103), s(T104)) → U2_gg(T103, T104, gt51_in_gg(T103, T104))
gt51_in_gg(s(T109), zero) → gt51_out_gg(s(T109), zero)
U2_gg(T103, T104, gt51_out_gg(T103, T104)) → gt51_out_gg(s(T103), s(T104))
U7_gga(T85, T86, T87, T88, T90, gt51_out_gg(T85, T87)) → merge1_out_gga(.(T85, T86), .(T87, T88), .(T87, T90))
U7_gga(T85, T86, T87, T88, T90, gt51_out_gg(T85, T87)) → U8_gga(T85, T86, T87, T88, T90, merge1_in_gga(.(T85, T86), T88, T90))
merge1_in_gga(.(s(T133), T120), .(s(T134), T122), .(s(T134), T124)) → U9_gga(T133, T120, T134, T122, T124, gt51_in_gg(T133, T134))
U9_gga(T133, T120, T134, T122, T124, gt51_out_gg(T133, T134)) → merge1_out_gga(.(s(T133), T120), .(s(T134), T122), .(s(T134), T124))
U9_gga(T133, T120, T134, T122, T124, gt51_out_gg(T133, T134)) → U10_gga(T133, T120, T134, T122, T124, merge1_in_gga(.(s(T133), T120), T122, T124))
merge1_in_gga(.(s(T145), T120), .(zero, T122), .(zero, T124)) → U11_gga(T145, T120, T122, T124, merge1_in_gga(.(s(T145), T120), T122, T124))
U11_gga(T145, T120, T122, T124, merge1_out_gga(.(s(T145), T120), T122, T124)) → merge1_out_gga(.(s(T145), T120), .(zero, T122), .(zero, T124))
U10_gga(T133, T120, T134, T122, T124, merge1_out_gga(.(s(T133), T120), T122, T124)) → merge1_out_gga(.(s(T133), T120), .(s(T134), T122), .(s(T134), T124))
U8_gga(T85, T86, T87, T88, T90, merge1_out_gga(.(T85, T86), T88, T90)) → merge1_out_gga(.(T85, T86), .(T87, T88), .(T87, T90))
U6_gga(T18, T20, T22, merge1_out_gga(T18, .(zero, T20), T22)) → merge1_out_gga(.(zero, T18), .(zero, T20), .(zero, T22))
U5_gga(T18, T64, T20, T22, merge1_out_gga(T18, .(s(T64), T20), T22)) → merge1_out_gga(.(zero, T18), .(s(T64), T20), .(zero, T22))
U4_gga(T31, T18, T32, T20, T22, merge1_out_gga(T18, .(s(T32), T20), T22)) → merge1_out_gga(.(s(T31), T18), .(s(T32), T20), .(s(T31), 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([], T11, T11) → merge1_out_gga([], T11, T11)
merge1_in_gga(.(s(T31), T18), .(s(T32), T20), .(s(T31), T22)) → U3_gga(T31, T18, T32, T20, T22, le25_in_gg(T31, T32))
le25_in_gg(s(T45), s(T46)) → U1_gg(T45, T46, le25_in_gg(T45, T46))
le25_in_gg(zero, s(T53)) → le25_out_gg(zero, s(T53))
le25_in_gg(zero, zero) → le25_out_gg(zero, zero)
U1_gg(T45, T46, le25_out_gg(T45, T46)) → le25_out_gg(s(T45), s(T46))
U3_gga(T31, T18, T32, T20, T22, le25_out_gg(T31, T32)) → merge1_out_gga(.(s(T31), T18), .(s(T32), T20), .(s(T31), T22))
U3_gga(T31, T18, T32, T20, T22, le25_out_gg(T31, T32)) → U4_gga(T31, T18, T32, T20, T22, merge1_in_gga(T18, .(s(T32), T20), T22))
merge1_in_gga(.(zero, T18), .(s(T64), T20), .(zero, T22)) → U5_gga(T18, T64, T20, T22, merge1_in_gga(T18, .(s(T64), T20), T22))
merge1_in_gga(.(zero, T18), .(zero, T20), .(zero, T22)) → U6_gga(T18, T20, T22, merge1_in_gga(T18, .(zero, T20), T22))
merge1_in_gga(.(T85, T86), .(T87, T88), .(T87, T90)) → U7_gga(T85, T86, T87, T88, T90, gt51_in_gg(T85, T87))
gt51_in_gg(s(T103), s(T104)) → U2_gg(T103, T104, gt51_in_gg(T103, T104))
gt51_in_gg(s(T109), zero) → gt51_out_gg(s(T109), zero)
U2_gg(T103, T104, gt51_out_gg(T103, T104)) → gt51_out_gg(s(T103), s(T104))
U7_gga(T85, T86, T87, T88, T90, gt51_out_gg(T85, T87)) → merge1_out_gga(.(T85, T86), .(T87, T88), .(T87, T90))
U7_gga(T85, T86, T87, T88, T90, gt51_out_gg(T85, T87)) → U8_gga(T85, T86, T87, T88, T90, merge1_in_gga(.(T85, T86), T88, T90))
merge1_in_gga(.(s(T133), T120), .(s(T134), T122), .(s(T134), T124)) → U9_gga(T133, T120, T134, T122, T124, gt51_in_gg(T133, T134))
U9_gga(T133, T120, T134, T122, T124, gt51_out_gg(T133, T134)) → merge1_out_gga(.(s(T133), T120), .(s(T134), T122), .(s(T134), T124))
U9_gga(T133, T120, T134, T122, T124, gt51_out_gg(T133, T134)) → U10_gga(T133, T120, T134, T122, T124, merge1_in_gga(.(s(T133), T120), T122, T124))
merge1_in_gga(.(s(T145), T120), .(zero, T122), .(zero, T124)) → U11_gga(T145, T120, T122, T124, merge1_in_gga(.(s(T145), T120), T122, T124))
U11_gga(T145, T120, T122, T124, merge1_out_gga(.(s(T145), T120), T122, T124)) → merge1_out_gga(.(s(T145), T120), .(zero, T122), .(zero, T124))
U10_gga(T133, T120, T134, T122, T124, merge1_out_gga(.(s(T133), T120), T122, T124)) → merge1_out_gga(.(s(T133), T120), .(s(T134), T122), .(s(T134), T124))
U8_gga(T85, T86, T87, T88, T90, merge1_out_gga(.(T85, T86), T88, T90)) → merge1_out_gga(.(T85, T86), .(T87, T88), .(T87, T90))
U6_gga(T18, T20, T22, merge1_out_gga(T18, .(zero, T20), T22)) → merge1_out_gga(.(zero, T18), .(zero, T20), .(zero, T22))
U5_gga(T18, T64, T20, T22, merge1_out_gga(T18, .(s(T64), T20), T22)) → merge1_out_gga(.(zero, T18), .(s(T64), T20), .(zero, T22))
U4_gga(T31, T18, T32, T20, T22, merge1_out_gga(T18, .(s(T32), T20), T22)) → merge1_out_gga(.(s(T31), T18), .(s(T32), T20), .(s(T31), T22))
MERGE1_IN_GGA(.(s(T31), T18), .(s(T32), T20), .(s(T31), T22)) → U3_GGA(T31, T18, T32, T20, T22, le25_in_gg(T31, T32))
MERGE1_IN_GGA(.(s(T31), T18), .(s(T32), T20), .(s(T31), T22)) → LE25_IN_GG(T31, T32)
LE25_IN_GG(s(T45), s(T46)) → U1_GG(T45, T46, le25_in_gg(T45, T46))
LE25_IN_GG(s(T45), s(T46)) → LE25_IN_GG(T45, T46)
U3_GGA(T31, T18, T32, T20, T22, le25_out_gg(T31, T32)) → U4_GGA(T31, T18, T32, T20, T22, merge1_in_gga(T18, .(s(T32), T20), T22))
U3_GGA(T31, T18, T32, T20, T22, le25_out_gg(T31, T32)) → MERGE1_IN_GGA(T18, .(s(T32), T20), T22)
MERGE1_IN_GGA(.(zero, T18), .(s(T64), T20), .(zero, T22)) → U5_GGA(T18, T64, T20, T22, merge1_in_gga(T18, .(s(T64), T20), T22))
MERGE1_IN_GGA(.(zero, T18), .(s(T64), T20), .(zero, T22)) → MERGE1_IN_GGA(T18, .(s(T64), T20), T22)
MERGE1_IN_GGA(.(zero, T18), .(zero, T20), .(zero, T22)) → U6_GGA(T18, T20, T22, merge1_in_gga(T18, .(zero, T20), T22))
MERGE1_IN_GGA(.(zero, T18), .(zero, T20), .(zero, T22)) → MERGE1_IN_GGA(T18, .(zero, T20), T22)
MERGE1_IN_GGA(.(T85, T86), .(T87, T88), .(T87, T90)) → U7_GGA(T85, T86, T87, T88, T90, gt51_in_gg(T85, T87))
MERGE1_IN_GGA(.(T85, T86), .(T87, T88), .(T87, T90)) → GT51_IN_GG(T85, T87)
GT51_IN_GG(s(T103), s(T104)) → U2_GG(T103, T104, gt51_in_gg(T103, T104))
GT51_IN_GG(s(T103), s(T104)) → GT51_IN_GG(T103, T104)
U7_GGA(T85, T86, T87, T88, T90, gt51_out_gg(T85, T87)) → U8_GGA(T85, T86, T87, T88, T90, merge1_in_gga(.(T85, T86), T88, T90))
U7_GGA(T85, T86, T87, T88, T90, gt51_out_gg(T85, T87)) → MERGE1_IN_GGA(.(T85, T86), T88, T90)
MERGE1_IN_GGA(.(s(T133), T120), .(s(T134), T122), .(s(T134), T124)) → U9_GGA(T133, T120, T134, T122, T124, gt51_in_gg(T133, T134))
MERGE1_IN_GGA(.(s(T133), T120), .(s(T134), T122), .(s(T134), T124)) → GT51_IN_GG(T133, T134)
U9_GGA(T133, T120, T134, T122, T124, gt51_out_gg(T133, T134)) → U10_GGA(T133, T120, T134, T122, T124, merge1_in_gga(.(s(T133), T120), T122, T124))
U9_GGA(T133, T120, T134, T122, T124, gt51_out_gg(T133, T134)) → MERGE1_IN_GGA(.(s(T133), T120), T122, T124)
MERGE1_IN_GGA(.(s(T145), T120), .(zero, T122), .(zero, T124)) → U11_GGA(T145, T120, T122, T124, merge1_in_gga(.(s(T145), T120), T122, T124))
MERGE1_IN_GGA(.(s(T145), T120), .(zero, T122), .(zero, T124)) → MERGE1_IN_GGA(.(s(T145), T120), T122, T124)
merge1_in_gga(T5, [], T5) → merge1_out_gga(T5, [], T5)
merge1_in_gga([], [], []) → merge1_out_gga([], [], [])
merge1_in_gga([], T11, T11) → merge1_out_gga([], T11, T11)
merge1_in_gga(.(s(T31), T18), .(s(T32), T20), .(s(T31), T22)) → U3_gga(T31, T18, T32, T20, T22, le25_in_gg(T31, T32))
le25_in_gg(s(T45), s(T46)) → U1_gg(T45, T46, le25_in_gg(T45, T46))
le25_in_gg(zero, s(T53)) → le25_out_gg(zero, s(T53))
le25_in_gg(zero, zero) → le25_out_gg(zero, zero)
U1_gg(T45, T46, le25_out_gg(T45, T46)) → le25_out_gg(s(T45), s(T46))
U3_gga(T31, T18, T32, T20, T22, le25_out_gg(T31, T32)) → merge1_out_gga(.(s(T31), T18), .(s(T32), T20), .(s(T31), T22))
U3_gga(T31, T18, T32, T20, T22, le25_out_gg(T31, T32)) → U4_gga(T31, T18, T32, T20, T22, merge1_in_gga(T18, .(s(T32), T20), T22))
merge1_in_gga(.(zero, T18), .(s(T64), T20), .(zero, T22)) → U5_gga(T18, T64, T20, T22, merge1_in_gga(T18, .(s(T64), T20), T22))
merge1_in_gga(.(zero, T18), .(zero, T20), .(zero, T22)) → U6_gga(T18, T20, T22, merge1_in_gga(T18, .(zero, T20), T22))
merge1_in_gga(.(T85, T86), .(T87, T88), .(T87, T90)) → U7_gga(T85, T86, T87, T88, T90, gt51_in_gg(T85, T87))
gt51_in_gg(s(T103), s(T104)) → U2_gg(T103, T104, gt51_in_gg(T103, T104))
gt51_in_gg(s(T109), zero) → gt51_out_gg(s(T109), zero)
U2_gg(T103, T104, gt51_out_gg(T103, T104)) → gt51_out_gg(s(T103), s(T104))
U7_gga(T85, T86, T87, T88, T90, gt51_out_gg(T85, T87)) → merge1_out_gga(.(T85, T86), .(T87, T88), .(T87, T90))
U7_gga(T85, T86, T87, T88, T90, gt51_out_gg(T85, T87)) → U8_gga(T85, T86, T87, T88, T90, merge1_in_gga(.(T85, T86), T88, T90))
merge1_in_gga(.(s(T133), T120), .(s(T134), T122), .(s(T134), T124)) → U9_gga(T133, T120, T134, T122, T124, gt51_in_gg(T133, T134))
U9_gga(T133, T120, T134, T122, T124, gt51_out_gg(T133, T134)) → merge1_out_gga(.(s(T133), T120), .(s(T134), T122), .(s(T134), T124))
U9_gga(T133, T120, T134, T122, T124, gt51_out_gg(T133, T134)) → U10_gga(T133, T120, T134, T122, T124, merge1_in_gga(.(s(T133), T120), T122, T124))
merge1_in_gga(.(s(T145), T120), .(zero, T122), .(zero, T124)) → U11_gga(T145, T120, T122, T124, merge1_in_gga(.(s(T145), T120), T122, T124))
U11_gga(T145, T120, T122, T124, merge1_out_gga(.(s(T145), T120), T122, T124)) → merge1_out_gga(.(s(T145), T120), .(zero, T122), .(zero, T124))
U10_gga(T133, T120, T134, T122, T124, merge1_out_gga(.(s(T133), T120), T122, T124)) → merge1_out_gga(.(s(T133), T120), .(s(T134), T122), .(s(T134), T124))
U8_gga(T85, T86, T87, T88, T90, merge1_out_gga(.(T85, T86), T88, T90)) → merge1_out_gga(.(T85, T86), .(T87, T88), .(T87, T90))
U6_gga(T18, T20, T22, merge1_out_gga(T18, .(zero, T20), T22)) → merge1_out_gga(.(zero, T18), .(zero, T20), .(zero, T22))
U5_gga(T18, T64, T20, T22, merge1_out_gga(T18, .(s(T64), T20), T22)) → merge1_out_gga(.(zero, T18), .(s(T64), T20), .(zero, T22))
U4_gga(T31, T18, T32, T20, T22, merge1_out_gga(T18, .(s(T32), T20), T22)) → merge1_out_gga(.(s(T31), T18), .(s(T32), T20), .(s(T31), T22))
MERGE1_IN_GGA(.(s(T31), T18), .(s(T32), T20), .(s(T31), T22)) → U3_GGA(T31, T18, T32, T20, T22, le25_in_gg(T31, T32))
MERGE1_IN_GGA(.(s(T31), T18), .(s(T32), T20), .(s(T31), T22)) → LE25_IN_GG(T31, T32)
LE25_IN_GG(s(T45), s(T46)) → U1_GG(T45, T46, le25_in_gg(T45, T46))
LE25_IN_GG(s(T45), s(T46)) → LE25_IN_GG(T45, T46)
U3_GGA(T31, T18, T32, T20, T22, le25_out_gg(T31, T32)) → U4_GGA(T31, T18, T32, T20, T22, merge1_in_gga(T18, .(s(T32), T20), T22))
U3_GGA(T31, T18, T32, T20, T22, le25_out_gg(T31, T32)) → MERGE1_IN_GGA(T18, .(s(T32), T20), T22)
MERGE1_IN_GGA(.(zero, T18), .(s(T64), T20), .(zero, T22)) → U5_GGA(T18, T64, T20, T22, merge1_in_gga(T18, .(s(T64), T20), T22))
MERGE1_IN_GGA(.(zero, T18), .(s(T64), T20), .(zero, T22)) → MERGE1_IN_GGA(T18, .(s(T64), T20), T22)
MERGE1_IN_GGA(.(zero, T18), .(zero, T20), .(zero, T22)) → U6_GGA(T18, T20, T22, merge1_in_gga(T18, .(zero, T20), T22))
MERGE1_IN_GGA(.(zero, T18), .(zero, T20), .(zero, T22)) → MERGE1_IN_GGA(T18, .(zero, T20), T22)
MERGE1_IN_GGA(.(T85, T86), .(T87, T88), .(T87, T90)) → U7_GGA(T85, T86, T87, T88, T90, gt51_in_gg(T85, T87))
MERGE1_IN_GGA(.(T85, T86), .(T87, T88), .(T87, T90)) → GT51_IN_GG(T85, T87)
GT51_IN_GG(s(T103), s(T104)) → U2_GG(T103, T104, gt51_in_gg(T103, T104))
GT51_IN_GG(s(T103), s(T104)) → GT51_IN_GG(T103, T104)
U7_GGA(T85, T86, T87, T88, T90, gt51_out_gg(T85, T87)) → U8_GGA(T85, T86, T87, T88, T90, merge1_in_gga(.(T85, T86), T88, T90))
U7_GGA(T85, T86, T87, T88, T90, gt51_out_gg(T85, T87)) → MERGE1_IN_GGA(.(T85, T86), T88, T90)
MERGE1_IN_GGA(.(s(T133), T120), .(s(T134), T122), .(s(T134), T124)) → U9_GGA(T133, T120, T134, T122, T124, gt51_in_gg(T133, T134))
MERGE1_IN_GGA(.(s(T133), T120), .(s(T134), T122), .(s(T134), T124)) → GT51_IN_GG(T133, T134)
U9_GGA(T133, T120, T134, T122, T124, gt51_out_gg(T133, T134)) → U10_GGA(T133, T120, T134, T122, T124, merge1_in_gga(.(s(T133), T120), T122, T124))
U9_GGA(T133, T120, T134, T122, T124, gt51_out_gg(T133, T134)) → MERGE1_IN_GGA(.(s(T133), T120), T122, T124)
MERGE1_IN_GGA(.(s(T145), T120), .(zero, T122), .(zero, T124)) → U11_GGA(T145, T120, T122, T124, merge1_in_gga(.(s(T145), T120), T122, T124))
MERGE1_IN_GGA(.(s(T145), T120), .(zero, T122), .(zero, T124)) → MERGE1_IN_GGA(.(s(T145), T120), T122, T124)
merge1_in_gga(T5, [], T5) → merge1_out_gga(T5, [], T5)
merge1_in_gga([], [], []) → merge1_out_gga([], [], [])
merge1_in_gga([], T11, T11) → merge1_out_gga([], T11, T11)
merge1_in_gga(.(s(T31), T18), .(s(T32), T20), .(s(T31), T22)) → U3_gga(T31, T18, T32, T20, T22, le25_in_gg(T31, T32))
le25_in_gg(s(T45), s(T46)) → U1_gg(T45, T46, le25_in_gg(T45, T46))
le25_in_gg(zero, s(T53)) → le25_out_gg(zero, s(T53))
le25_in_gg(zero, zero) → le25_out_gg(zero, zero)
U1_gg(T45, T46, le25_out_gg(T45, T46)) → le25_out_gg(s(T45), s(T46))
U3_gga(T31, T18, T32, T20, T22, le25_out_gg(T31, T32)) → merge1_out_gga(.(s(T31), T18), .(s(T32), T20), .(s(T31), T22))
U3_gga(T31, T18, T32, T20, T22, le25_out_gg(T31, T32)) → U4_gga(T31, T18, T32, T20, T22, merge1_in_gga(T18, .(s(T32), T20), T22))
merge1_in_gga(.(zero, T18), .(s(T64), T20), .(zero, T22)) → U5_gga(T18, T64, T20, T22, merge1_in_gga(T18, .(s(T64), T20), T22))
merge1_in_gga(.(zero, T18), .(zero, T20), .(zero, T22)) → U6_gga(T18, T20, T22, merge1_in_gga(T18, .(zero, T20), T22))
merge1_in_gga(.(T85, T86), .(T87, T88), .(T87, T90)) → U7_gga(T85, T86, T87, T88, T90, gt51_in_gg(T85, T87))
gt51_in_gg(s(T103), s(T104)) → U2_gg(T103, T104, gt51_in_gg(T103, T104))
gt51_in_gg(s(T109), zero) → gt51_out_gg(s(T109), zero)
U2_gg(T103, T104, gt51_out_gg(T103, T104)) → gt51_out_gg(s(T103), s(T104))
U7_gga(T85, T86, T87, T88, T90, gt51_out_gg(T85, T87)) → merge1_out_gga(.(T85, T86), .(T87, T88), .(T87, T90))
U7_gga(T85, T86, T87, T88, T90, gt51_out_gg(T85, T87)) → U8_gga(T85, T86, T87, T88, T90, merge1_in_gga(.(T85, T86), T88, T90))
merge1_in_gga(.(s(T133), T120), .(s(T134), T122), .(s(T134), T124)) → U9_gga(T133, T120, T134, T122, T124, gt51_in_gg(T133, T134))
U9_gga(T133, T120, T134, T122, T124, gt51_out_gg(T133, T134)) → merge1_out_gga(.(s(T133), T120), .(s(T134), T122), .(s(T134), T124))
U9_gga(T133, T120, T134, T122, T124, gt51_out_gg(T133, T134)) → U10_gga(T133, T120, T134, T122, T124, merge1_in_gga(.(s(T133), T120), T122, T124))
merge1_in_gga(.(s(T145), T120), .(zero, T122), .(zero, T124)) → U11_gga(T145, T120, T122, T124, merge1_in_gga(.(s(T145), T120), T122, T124))
U11_gga(T145, T120, T122, T124, merge1_out_gga(.(s(T145), T120), T122, T124)) → merge1_out_gga(.(s(T145), T120), .(zero, T122), .(zero, T124))
U10_gga(T133, T120, T134, T122, T124, merge1_out_gga(.(s(T133), T120), T122, T124)) → merge1_out_gga(.(s(T133), T120), .(s(T134), T122), .(s(T134), T124))
U8_gga(T85, T86, T87, T88, T90, merge1_out_gga(.(T85, T86), T88, T90)) → merge1_out_gga(.(T85, T86), .(T87, T88), .(T87, T90))
U6_gga(T18, T20, T22, merge1_out_gga(T18, .(zero, T20), T22)) → merge1_out_gga(.(zero, T18), .(zero, T20), .(zero, T22))
U5_gga(T18, T64, T20, T22, merge1_out_gga(T18, .(s(T64), T20), T22)) → merge1_out_gga(.(zero, T18), .(s(T64), T20), .(zero, T22))
U4_gga(T31, T18, T32, T20, T22, merge1_out_gga(T18, .(s(T32), T20), T22)) → merge1_out_gga(.(s(T31), T18), .(s(T32), T20), .(s(T31), T22))
GT51_IN_GG(s(T103), s(T104)) → GT51_IN_GG(T103, T104)
merge1_in_gga(T5, [], T5) → merge1_out_gga(T5, [], T5)
merge1_in_gga([], [], []) → merge1_out_gga([], [], [])
merge1_in_gga([], T11, T11) → merge1_out_gga([], T11, T11)
merge1_in_gga(.(s(T31), T18), .(s(T32), T20), .(s(T31), T22)) → U3_gga(T31, T18, T32, T20, T22, le25_in_gg(T31, T32))
le25_in_gg(s(T45), s(T46)) → U1_gg(T45, T46, le25_in_gg(T45, T46))
le25_in_gg(zero, s(T53)) → le25_out_gg(zero, s(T53))
le25_in_gg(zero, zero) → le25_out_gg(zero, zero)
U1_gg(T45, T46, le25_out_gg(T45, T46)) → le25_out_gg(s(T45), s(T46))
U3_gga(T31, T18, T32, T20, T22, le25_out_gg(T31, T32)) → merge1_out_gga(.(s(T31), T18), .(s(T32), T20), .(s(T31), T22))
U3_gga(T31, T18, T32, T20, T22, le25_out_gg(T31, T32)) → U4_gga(T31, T18, T32, T20, T22, merge1_in_gga(T18, .(s(T32), T20), T22))
merge1_in_gga(.(zero, T18), .(s(T64), T20), .(zero, T22)) → U5_gga(T18, T64, T20, T22, merge1_in_gga(T18, .(s(T64), T20), T22))
merge1_in_gga(.(zero, T18), .(zero, T20), .(zero, T22)) → U6_gga(T18, T20, T22, merge1_in_gga(T18, .(zero, T20), T22))
merge1_in_gga(.(T85, T86), .(T87, T88), .(T87, T90)) → U7_gga(T85, T86, T87, T88, T90, gt51_in_gg(T85, T87))
gt51_in_gg(s(T103), s(T104)) → U2_gg(T103, T104, gt51_in_gg(T103, T104))
gt51_in_gg(s(T109), zero) → gt51_out_gg(s(T109), zero)
U2_gg(T103, T104, gt51_out_gg(T103, T104)) → gt51_out_gg(s(T103), s(T104))
U7_gga(T85, T86, T87, T88, T90, gt51_out_gg(T85, T87)) → merge1_out_gga(.(T85, T86), .(T87, T88), .(T87, T90))
U7_gga(T85, T86, T87, T88, T90, gt51_out_gg(T85, T87)) → U8_gga(T85, T86, T87, T88, T90, merge1_in_gga(.(T85, T86), T88, T90))
merge1_in_gga(.(s(T133), T120), .(s(T134), T122), .(s(T134), T124)) → U9_gga(T133, T120, T134, T122, T124, gt51_in_gg(T133, T134))
U9_gga(T133, T120, T134, T122, T124, gt51_out_gg(T133, T134)) → merge1_out_gga(.(s(T133), T120), .(s(T134), T122), .(s(T134), T124))
U9_gga(T133, T120, T134, T122, T124, gt51_out_gg(T133, T134)) → U10_gga(T133, T120, T134, T122, T124, merge1_in_gga(.(s(T133), T120), T122, T124))
merge1_in_gga(.(s(T145), T120), .(zero, T122), .(zero, T124)) → U11_gga(T145, T120, T122, T124, merge1_in_gga(.(s(T145), T120), T122, T124))
U11_gga(T145, T120, T122, T124, merge1_out_gga(.(s(T145), T120), T122, T124)) → merge1_out_gga(.(s(T145), T120), .(zero, T122), .(zero, T124))
U10_gga(T133, T120, T134, T122, T124, merge1_out_gga(.(s(T133), T120), T122, T124)) → merge1_out_gga(.(s(T133), T120), .(s(T134), T122), .(s(T134), T124))
U8_gga(T85, T86, T87, T88, T90, merge1_out_gga(.(T85, T86), T88, T90)) → merge1_out_gga(.(T85, T86), .(T87, T88), .(T87, T90))
U6_gga(T18, T20, T22, merge1_out_gga(T18, .(zero, T20), T22)) → merge1_out_gga(.(zero, T18), .(zero, T20), .(zero, T22))
U5_gga(T18, T64, T20, T22, merge1_out_gga(T18, .(s(T64), T20), T22)) → merge1_out_gga(.(zero, T18), .(s(T64), T20), .(zero, T22))
U4_gga(T31, T18, T32, T20, T22, merge1_out_gga(T18, .(s(T32), T20), T22)) → merge1_out_gga(.(s(T31), T18), .(s(T32), T20), .(s(T31), T22))
GT51_IN_GG(s(T103), s(T104)) → GT51_IN_GG(T103, T104)
GT51_IN_GG(s(T103), s(T104)) → GT51_IN_GG(T103, T104)
From the DPs we obtained the following set of size-change graphs:
LE25_IN_GG(s(T45), s(T46)) → LE25_IN_GG(T45, T46)
merge1_in_gga(T5, [], T5) → merge1_out_gga(T5, [], T5)
merge1_in_gga([], [], []) → merge1_out_gga([], [], [])
merge1_in_gga([], T11, T11) → merge1_out_gga([], T11, T11)
merge1_in_gga(.(s(T31), T18), .(s(T32), T20), .(s(T31), T22)) → U3_gga(T31, T18, T32, T20, T22, le25_in_gg(T31, T32))
le25_in_gg(s(T45), s(T46)) → U1_gg(T45, T46, le25_in_gg(T45, T46))
le25_in_gg(zero, s(T53)) → le25_out_gg(zero, s(T53))
le25_in_gg(zero, zero) → le25_out_gg(zero, zero)
U1_gg(T45, T46, le25_out_gg(T45, T46)) → le25_out_gg(s(T45), s(T46))
U3_gga(T31, T18, T32, T20, T22, le25_out_gg(T31, T32)) → merge1_out_gga(.(s(T31), T18), .(s(T32), T20), .(s(T31), T22))
U3_gga(T31, T18, T32, T20, T22, le25_out_gg(T31, T32)) → U4_gga(T31, T18, T32, T20, T22, merge1_in_gga(T18, .(s(T32), T20), T22))
merge1_in_gga(.(zero, T18), .(s(T64), T20), .(zero, T22)) → U5_gga(T18, T64, T20, T22, merge1_in_gga(T18, .(s(T64), T20), T22))
merge1_in_gga(.(zero, T18), .(zero, T20), .(zero, T22)) → U6_gga(T18, T20, T22, merge1_in_gga(T18, .(zero, T20), T22))
merge1_in_gga(.(T85, T86), .(T87, T88), .(T87, T90)) → U7_gga(T85, T86, T87, T88, T90, gt51_in_gg(T85, T87))
gt51_in_gg(s(T103), s(T104)) → U2_gg(T103, T104, gt51_in_gg(T103, T104))
gt51_in_gg(s(T109), zero) → gt51_out_gg(s(T109), zero)
U2_gg(T103, T104, gt51_out_gg(T103, T104)) → gt51_out_gg(s(T103), s(T104))
U7_gga(T85, T86, T87, T88, T90, gt51_out_gg(T85, T87)) → merge1_out_gga(.(T85, T86), .(T87, T88), .(T87, T90))
U7_gga(T85, T86, T87, T88, T90, gt51_out_gg(T85, T87)) → U8_gga(T85, T86, T87, T88, T90, merge1_in_gga(.(T85, T86), T88, T90))
merge1_in_gga(.(s(T133), T120), .(s(T134), T122), .(s(T134), T124)) → U9_gga(T133, T120, T134, T122, T124, gt51_in_gg(T133, T134))
U9_gga(T133, T120, T134, T122, T124, gt51_out_gg(T133, T134)) → merge1_out_gga(.(s(T133), T120), .(s(T134), T122), .(s(T134), T124))
U9_gga(T133, T120, T134, T122, T124, gt51_out_gg(T133, T134)) → U10_gga(T133, T120, T134, T122, T124, merge1_in_gga(.(s(T133), T120), T122, T124))
merge1_in_gga(.(s(T145), T120), .(zero, T122), .(zero, T124)) → U11_gga(T145, T120, T122, T124, merge1_in_gga(.(s(T145), T120), T122, T124))
U11_gga(T145, T120, T122, T124, merge1_out_gga(.(s(T145), T120), T122, T124)) → merge1_out_gga(.(s(T145), T120), .(zero, T122), .(zero, T124))
U10_gga(T133, T120, T134, T122, T124, merge1_out_gga(.(s(T133), T120), T122, T124)) → merge1_out_gga(.(s(T133), T120), .(s(T134), T122), .(s(T134), T124))
U8_gga(T85, T86, T87, T88, T90, merge1_out_gga(.(T85, T86), T88, T90)) → merge1_out_gga(.(T85, T86), .(T87, T88), .(T87, T90))
U6_gga(T18, T20, T22, merge1_out_gga(T18, .(zero, T20), T22)) → merge1_out_gga(.(zero, T18), .(zero, T20), .(zero, T22))
U5_gga(T18, T64, T20, T22, merge1_out_gga(T18, .(s(T64), T20), T22)) → merge1_out_gga(.(zero, T18), .(s(T64), T20), .(zero, T22))
U4_gga(T31, T18, T32, T20, T22, merge1_out_gga(T18, .(s(T32), T20), T22)) → merge1_out_gga(.(s(T31), T18), .(s(T32), T20), .(s(T31), T22))
LE25_IN_GG(s(T45), s(T46)) → LE25_IN_GG(T45, T46)
LE25_IN_GG(s(T45), s(T46)) → LE25_IN_GG(T45, T46)
From the DPs we obtained the following set of size-change graphs:
U3_GGA(T31, T18, T32, T20, T22, le25_out_gg(T31, T32)) → MERGE1_IN_GGA(T18, .(s(T32), T20), T22)
MERGE1_IN_GGA(.(s(T31), T18), .(s(T32), T20), .(s(T31), T22)) → U3_GGA(T31, T18, T32, T20, T22, le25_in_gg(T31, T32))
MERGE1_IN_GGA(.(zero, T18), .(s(T64), T20), .(zero, T22)) → MERGE1_IN_GGA(T18, .(s(T64), T20), T22)
MERGE1_IN_GGA(.(T85, T86), .(T87, T88), .(T87, T90)) → U7_GGA(T85, T86, T87, T88, T90, gt51_in_gg(T85, T87))
U7_GGA(T85, T86, T87, T88, T90, gt51_out_gg(T85, T87)) → MERGE1_IN_GGA(.(T85, T86), T88, T90)
MERGE1_IN_GGA(.(zero, T18), .(zero, T20), .(zero, T22)) → MERGE1_IN_GGA(T18, .(zero, T20), T22)
MERGE1_IN_GGA(.(s(T145), T120), .(zero, T122), .(zero, T124)) → MERGE1_IN_GGA(.(s(T145), T120), T122, T124)
MERGE1_IN_GGA(.(s(T133), T120), .(s(T134), T122), .(s(T134), T124)) → U9_GGA(T133, T120, T134, T122, T124, gt51_in_gg(T133, T134))
U9_GGA(T133, T120, T134, T122, T124, gt51_out_gg(T133, T134)) → MERGE1_IN_GGA(.(s(T133), T120), T122, T124)
merge1_in_gga(T5, [], T5) → merge1_out_gga(T5, [], T5)
merge1_in_gga([], [], []) → merge1_out_gga([], [], [])
merge1_in_gga([], T11, T11) → merge1_out_gga([], T11, T11)
merge1_in_gga(.(s(T31), T18), .(s(T32), T20), .(s(T31), T22)) → U3_gga(T31, T18, T32, T20, T22, le25_in_gg(T31, T32))
le25_in_gg(s(T45), s(T46)) → U1_gg(T45, T46, le25_in_gg(T45, T46))
le25_in_gg(zero, s(T53)) → le25_out_gg(zero, s(T53))
le25_in_gg(zero, zero) → le25_out_gg(zero, zero)
U1_gg(T45, T46, le25_out_gg(T45, T46)) → le25_out_gg(s(T45), s(T46))
U3_gga(T31, T18, T32, T20, T22, le25_out_gg(T31, T32)) → merge1_out_gga(.(s(T31), T18), .(s(T32), T20), .(s(T31), T22))
U3_gga(T31, T18, T32, T20, T22, le25_out_gg(T31, T32)) → U4_gga(T31, T18, T32, T20, T22, merge1_in_gga(T18, .(s(T32), T20), T22))
merge1_in_gga(.(zero, T18), .(s(T64), T20), .(zero, T22)) → U5_gga(T18, T64, T20, T22, merge1_in_gga(T18, .(s(T64), T20), T22))
merge1_in_gga(.(zero, T18), .(zero, T20), .(zero, T22)) → U6_gga(T18, T20, T22, merge1_in_gga(T18, .(zero, T20), T22))
merge1_in_gga(.(T85, T86), .(T87, T88), .(T87, T90)) → U7_gga(T85, T86, T87, T88, T90, gt51_in_gg(T85, T87))
gt51_in_gg(s(T103), s(T104)) → U2_gg(T103, T104, gt51_in_gg(T103, T104))
gt51_in_gg(s(T109), zero) → gt51_out_gg(s(T109), zero)
U2_gg(T103, T104, gt51_out_gg(T103, T104)) → gt51_out_gg(s(T103), s(T104))
U7_gga(T85, T86, T87, T88, T90, gt51_out_gg(T85, T87)) → merge1_out_gga(.(T85, T86), .(T87, T88), .(T87, T90))
U7_gga(T85, T86, T87, T88, T90, gt51_out_gg(T85, T87)) → U8_gga(T85, T86, T87, T88, T90, merge1_in_gga(.(T85, T86), T88, T90))
merge1_in_gga(.(s(T133), T120), .(s(T134), T122), .(s(T134), T124)) → U9_gga(T133, T120, T134, T122, T124, gt51_in_gg(T133, T134))
U9_gga(T133, T120, T134, T122, T124, gt51_out_gg(T133, T134)) → merge1_out_gga(.(s(T133), T120), .(s(T134), T122), .(s(T134), T124))
U9_gga(T133, T120, T134, T122, T124, gt51_out_gg(T133, T134)) → U10_gga(T133, T120, T134, T122, T124, merge1_in_gga(.(s(T133), T120), T122, T124))
merge1_in_gga(.(s(T145), T120), .(zero, T122), .(zero, T124)) → U11_gga(T145, T120, T122, T124, merge1_in_gga(.(s(T145), T120), T122, T124))
U11_gga(T145, T120, T122, T124, merge1_out_gga(.(s(T145), T120), T122, T124)) → merge1_out_gga(.(s(T145), T120), .(zero, T122), .(zero, T124))
U10_gga(T133, T120, T134, T122, T124, merge1_out_gga(.(s(T133), T120), T122, T124)) → merge1_out_gga(.(s(T133), T120), .(s(T134), T122), .(s(T134), T124))
U8_gga(T85, T86, T87, T88, T90, merge1_out_gga(.(T85, T86), T88, T90)) → merge1_out_gga(.(T85, T86), .(T87, T88), .(T87, T90))
U6_gga(T18, T20, T22, merge1_out_gga(T18, .(zero, T20), T22)) → merge1_out_gga(.(zero, T18), .(zero, T20), .(zero, T22))
U5_gga(T18, T64, T20, T22, merge1_out_gga(T18, .(s(T64), T20), T22)) → merge1_out_gga(.(zero, T18), .(s(T64), T20), .(zero, T22))
U4_gga(T31, T18, T32, T20, T22, merge1_out_gga(T18, .(s(T32), T20), T22)) → merge1_out_gga(.(s(T31), T18), .(s(T32), T20), .(s(T31), T22))
U3_GGA(T31, T18, T32, T20, T22, le25_out_gg(T31, T32)) → MERGE1_IN_GGA(T18, .(s(T32), T20), T22)
MERGE1_IN_GGA(.(s(T31), T18), .(s(T32), T20), .(s(T31), T22)) → U3_GGA(T31, T18, T32, T20, T22, le25_in_gg(T31, T32))
MERGE1_IN_GGA(.(zero, T18), .(s(T64), T20), .(zero, T22)) → MERGE1_IN_GGA(T18, .(s(T64), T20), T22)
MERGE1_IN_GGA(.(T85, T86), .(T87, T88), .(T87, T90)) → U7_GGA(T85, T86, T87, T88, T90, gt51_in_gg(T85, T87))
U7_GGA(T85, T86, T87, T88, T90, gt51_out_gg(T85, T87)) → MERGE1_IN_GGA(.(T85, T86), T88, T90)
MERGE1_IN_GGA(.(zero, T18), .(zero, T20), .(zero, T22)) → MERGE1_IN_GGA(T18, .(zero, T20), T22)
MERGE1_IN_GGA(.(s(T145), T120), .(zero, T122), .(zero, T124)) → MERGE1_IN_GGA(.(s(T145), T120), T122, T124)
MERGE1_IN_GGA(.(s(T133), T120), .(s(T134), T122), .(s(T134), T124)) → U9_GGA(T133, T120, T134, T122, T124, gt51_in_gg(T133, T134))
U9_GGA(T133, T120, T134, T122, T124, gt51_out_gg(T133, T134)) → MERGE1_IN_GGA(.(s(T133), T120), T122, T124)
le25_in_gg(s(T45), s(T46)) → U1_gg(T45, T46, le25_in_gg(T45, T46))
le25_in_gg(zero, s(T53)) → le25_out_gg(zero, s(T53))
le25_in_gg(zero, zero) → le25_out_gg(zero, zero)
gt51_in_gg(s(T103), s(T104)) → U2_gg(T103, T104, gt51_in_gg(T103, T104))
gt51_in_gg(s(T109), zero) → gt51_out_gg(s(T109), zero)
U1_gg(T45, T46, le25_out_gg(T45, T46)) → le25_out_gg(s(T45), s(T46))
U2_gg(T103, T104, gt51_out_gg(T103, T104)) → gt51_out_gg(s(T103), s(T104))
U3_GGA(T31, T18, T32, T20, le25_out_gg(T31, T32)) → MERGE1_IN_GGA(T18, .(s(T32), T20))
MERGE1_IN_GGA(.(s(T31), T18), .(s(T32), T20)) → U3_GGA(T31, T18, T32, T20, le25_in_gg(T31, T32))
MERGE1_IN_GGA(.(zero, T18), .(s(T64), T20)) → MERGE1_IN_GGA(T18, .(s(T64), T20))
MERGE1_IN_GGA(.(T85, T86), .(T87, T88)) → U7_GGA(T85, T86, T87, T88, gt51_in_gg(T85, T87))
U7_GGA(T85, T86, T87, T88, gt51_out_gg(T85, T87)) → MERGE1_IN_GGA(.(T85, T86), T88)
MERGE1_IN_GGA(.(zero, T18), .(zero, T20)) → MERGE1_IN_GGA(T18, .(zero, T20))
MERGE1_IN_GGA(.(s(T145), T120), .(zero, T122)) → MERGE1_IN_GGA(.(s(T145), T120), T122)
MERGE1_IN_GGA(.(s(T133), T120), .(s(T134), T122)) → U9_GGA(T133, T120, T134, T122, gt51_in_gg(T133, T134))
U9_GGA(T133, T120, T134, T122, gt51_out_gg(T133, T134)) → MERGE1_IN_GGA(.(s(T133), T120), T122)
le25_in_gg(s(T45), s(T46)) → U1_gg(T45, T46, le25_in_gg(T45, T46))
le25_in_gg(zero, s(T53)) → le25_out_gg(zero, s(T53))
le25_in_gg(zero, zero) → le25_out_gg(zero, zero)
gt51_in_gg(s(T103), s(T104)) → U2_gg(T103, T104, gt51_in_gg(T103, T104))
gt51_in_gg(s(T109), zero) → gt51_out_gg(s(T109), zero)
U1_gg(T45, T46, le25_out_gg(T45, T46)) → le25_out_gg(s(T45), s(T46))
U2_gg(T103, T104, gt51_out_gg(T103, T104)) → gt51_out_gg(s(T103), s(T104))
le25_in_gg(x0, x1)
gt51_in_gg(x0, x1)
U1_gg(x0, x1, x2)
U2_gg(x0, x1, x2)
MERGE1_IN_GGA(.(zero, T18), .(s(T64), T20)) → MERGE1_IN_GGA(T18, .(s(T64), T20))
MERGE1_IN_GGA(.(zero, T18), .(zero, T20)) → MERGE1_IN_GGA(T18, .(zero, T20))
MERGE1_IN_GGA(.(s(T145), T120), .(zero, T122)) → MERGE1_IN_GGA(.(s(T145), T120), T122)
le25_in_gg(zero, s(T53)) → le25_out_gg(zero, s(T53))
le25_in_gg(zero, zero) → le25_out_gg(zero, zero)
POL(.(x1, x2)) = 2·x1 + 2·x2
POL(MERGE1_IN_GGA(x1, x2)) = x1 + x2
POL(U1_gg(x1, x2, x3)) = x1 + 2·x2 + x3
POL(U2_gg(x1, x2, x3)) = x1 + x2 + x3
POL(U3_GGA(x1, x2, x3, x4, x5)) = 2·x1 + x2 + 2·x3 + 2·x4 + x5
POL(U7_GGA(x1, x2, x3, x4, x5)) = x1 + 2·x2 + x3 + 2·x4 + x5
POL(U9_GGA(x1, x2, x3, x4, x5)) = 2·x1 + 2·x2 + 2·x3 + x4 + 2·x5
POL(gt51_in_gg(x1, x2)) = x1 + x2
POL(gt51_out_gg(x1, x2)) = x1 + x2
POL(le25_in_gg(x1, x2)) = 2·x1 + 2·x2
POL(le25_out_gg(x1, x2)) = x1 + 2·x2
POL(s(x1)) = 2·x1
POL(zero) = 2
U3_GGA(T31, T18, T32, T20, le25_out_gg(T31, T32)) → MERGE1_IN_GGA(T18, .(s(T32), T20))
MERGE1_IN_GGA(.(s(T31), T18), .(s(T32), T20)) → U3_GGA(T31, T18, T32, T20, le25_in_gg(T31, T32))
MERGE1_IN_GGA(.(T85, T86), .(T87, T88)) → U7_GGA(T85, T86, T87, T88, gt51_in_gg(T85, T87))
U7_GGA(T85, T86, T87, T88, gt51_out_gg(T85, T87)) → MERGE1_IN_GGA(.(T85, T86), T88)
MERGE1_IN_GGA(.(s(T133), T120), .(s(T134), T122)) → U9_GGA(T133, T120, T134, T122, gt51_in_gg(T133, T134))
U9_GGA(T133, T120, T134, T122, gt51_out_gg(T133, T134)) → MERGE1_IN_GGA(.(s(T133), T120), T122)
le25_in_gg(s(T45), s(T46)) → U1_gg(T45, T46, le25_in_gg(T45, T46))
gt51_in_gg(s(T103), s(T104)) → U2_gg(T103, T104, gt51_in_gg(T103, T104))
gt51_in_gg(s(T109), zero) → gt51_out_gg(s(T109), zero)
U1_gg(T45, T46, le25_out_gg(T45, T46)) → le25_out_gg(s(T45), s(T46))
U2_gg(T103, T104, gt51_out_gg(T103, T104)) → gt51_out_gg(s(T103), s(T104))
le25_in_gg(x0, x1)
gt51_in_gg(x0, x1)
U1_gg(x0, x1, x2)
U2_gg(x0, x1, x2)
U3_GGA(T31, T18, T32, T20, le25_out_gg(T31, T32)) → MERGE1_IN_GGA(T18, .(s(T32), T20))
POL(.(x1, x2)) = x1 + x2
POL(MERGE1_IN_GGA(x1, x2)) = 2·x1 + 2·x2
POL(U1_gg(x1, x2, x3)) = 2·x1 + 2·x2 + x3
POL(U2_gg(x1, x2, x3)) = x1 + x2 + x3
POL(U3_GGA(x1, x2, x3, x4, x5)) = x1 + 2·x2 + 2·x3 + 2·x4 + x5
POL(U7_GGA(x1, x2, x3, x4, x5)) = x1 + 2·x2 + x3 + 2·x4 + x5
POL(U9_GGA(x1, x2, x3, x4, x5)) = 2·x1 + 2·x2 + x3 + 2·x4 + 2·x5
POL(gt51_in_gg(x1, x2)) = x1 + x2
POL(gt51_out_gg(x1, x2)) = x1 + x2
POL(le25_in_gg(x1, x2)) = 2·x1 + 2·x2
POL(le25_out_gg(x1, x2)) = 2 + 2·x1 + 2·x2
POL(s(x1)) = 2·x1
POL(zero) = 0
MERGE1_IN_GGA(.(s(T31), T18), .(s(T32), T20)) → U3_GGA(T31, T18, T32, T20, le25_in_gg(T31, T32))
MERGE1_IN_GGA(.(T85, T86), .(T87, T88)) → U7_GGA(T85, T86, T87, T88, gt51_in_gg(T85, T87))
U7_GGA(T85, T86, T87, T88, gt51_out_gg(T85, T87)) → MERGE1_IN_GGA(.(T85, T86), T88)
MERGE1_IN_GGA(.(s(T133), T120), .(s(T134), T122)) → U9_GGA(T133, T120, T134, T122, gt51_in_gg(T133, T134))
U9_GGA(T133, T120, T134, T122, gt51_out_gg(T133, T134)) → MERGE1_IN_GGA(.(s(T133), T120), T122)
le25_in_gg(s(T45), s(T46)) → U1_gg(T45, T46, le25_in_gg(T45, T46))
gt51_in_gg(s(T103), s(T104)) → U2_gg(T103, T104, gt51_in_gg(T103, T104))
gt51_in_gg(s(T109), zero) → gt51_out_gg(s(T109), zero)
U1_gg(T45, T46, le25_out_gg(T45, T46)) → le25_out_gg(s(T45), s(T46))
U2_gg(T103, T104, gt51_out_gg(T103, T104)) → gt51_out_gg(s(T103), s(T104))
le25_in_gg(x0, x1)
gt51_in_gg(x0, x1)
U1_gg(x0, x1, x2)
U2_gg(x0, x1, x2)
MERGE1_IN_GGA(.(T85, T86), .(T87, T88)) → U7_GGA(T85, T86, T87, T88, gt51_in_gg(T85, T87))
U7_GGA(T85, T86, T87, T88, gt51_out_gg(T85, T87)) → MERGE1_IN_GGA(.(T85, T86), T88)
MERGE1_IN_GGA(.(s(T133), T120), .(s(T134), T122)) → U9_GGA(T133, T120, T134, T122, gt51_in_gg(T133, T134))
U9_GGA(T133, T120, T134, T122, gt51_out_gg(T133, T134)) → MERGE1_IN_GGA(.(s(T133), T120), T122)
le25_in_gg(s(T45), s(T46)) → U1_gg(T45, T46, le25_in_gg(T45, T46))
gt51_in_gg(s(T103), s(T104)) → U2_gg(T103, T104, gt51_in_gg(T103, T104))
gt51_in_gg(s(T109), zero) → gt51_out_gg(s(T109), zero)
U1_gg(T45, T46, le25_out_gg(T45, T46)) → le25_out_gg(s(T45), s(T46))
U2_gg(T103, T104, gt51_out_gg(T103, T104)) → gt51_out_gg(s(T103), s(T104))
le25_in_gg(x0, x1)
gt51_in_gg(x0, x1)
U1_gg(x0, x1, x2)
U2_gg(x0, x1, x2)
MERGE1_IN_GGA(.(T85, T86), .(T87, T88)) → U7_GGA(T85, T86, T87, T88, gt51_in_gg(T85, T87))
U7_GGA(T85, T86, T87, T88, gt51_out_gg(T85, T87)) → MERGE1_IN_GGA(.(T85, T86), T88)
MERGE1_IN_GGA(.(s(T133), T120), .(s(T134), T122)) → U9_GGA(T133, T120, T134, T122, gt51_in_gg(T133, T134))
U9_GGA(T133, T120, T134, T122, gt51_out_gg(T133, T134)) → MERGE1_IN_GGA(.(s(T133), T120), T122)
gt51_in_gg(s(T103), s(T104)) → U2_gg(T103, T104, gt51_in_gg(T103, T104))
gt51_in_gg(s(T109), zero) → gt51_out_gg(s(T109), zero)
U2_gg(T103, T104, gt51_out_gg(T103, T104)) → gt51_out_gg(s(T103), s(T104))
le25_in_gg(x0, x1)
gt51_in_gg(x0, x1)
U1_gg(x0, x1, x2)
U2_gg(x0, x1, x2)
le25_in_gg(x0, x1)
U1_gg(x0, x1, x2)
MERGE1_IN_GGA(.(T85, T86), .(T87, T88)) → U7_GGA(T85, T86, T87, T88, gt51_in_gg(T85, T87))
U7_GGA(T85, T86, T87, T88, gt51_out_gg(T85, T87)) → MERGE1_IN_GGA(.(T85, T86), T88)
MERGE1_IN_GGA(.(s(T133), T120), .(s(T134), T122)) → U9_GGA(T133, T120, T134, T122, gt51_in_gg(T133, T134))
U9_GGA(T133, T120, T134, T122, gt51_out_gg(T133, T134)) → MERGE1_IN_GGA(.(s(T133), T120), T122)
gt51_in_gg(s(T103), s(T104)) → U2_gg(T103, T104, gt51_in_gg(T103, T104))
gt51_in_gg(s(T109), zero) → gt51_out_gg(s(T109), zero)
U2_gg(T103, T104, gt51_out_gg(T103, T104)) → gt51_out_gg(s(T103), s(T104))
gt51_in_gg(x0, x1)
U2_gg(x0, x1, x2)
From the DPs we obtained the following set of size-change graphs: