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 QDPSizeChangeProof (⇔)
↳29 YES
insert1_in_gga(T5, void, tree(T5, void, void)) → insert1_out_gga(T5, void, tree(T5, void, void))
insert1_in_gga(T12, tree(T12, T13, T14), tree(T12, T13, T14)) → insert1_out_gga(T12, tree(T12, T13, T14), tree(T12, T13, T14))
insert1_in_gga(s(T28), tree(s(T28), T20, T21), tree(s(T28), T23, T21)) → U6_gga(T28, T20, T21, T23, p18_in_gga(T28, T20, T23))
p18_in_gga(T28, T20, T23) → U2_gga(T28, T20, T23, less20_in_g(T28))
less20_in_g(s(T33)) → U1_g(T33, less20_in_g(T33))
U1_g(T33, less20_out_g(T33)) → less20_out_g(s(T33))
U2_gga(T28, T20, T23, less20_out_g(T28)) → p18_out_gga(T28, T20, T23)
U2_gga(T28, T20, T23, less20_out_g(T28)) → U3_gga(T28, T20, T23, insert1_in_gga(s(T28), T20, T23))
insert1_in_gga(T45, tree(T45, T46, T47), tree(T45, T46, T49)) → U7_gga(T45, T46, T47, T49, less20_in_g(T45))
U7_gga(T45, T46, T47, T49, less20_out_g(T45)) → insert1_out_gga(T45, tree(T45, T46, T47), tree(T45, T46, T49))
U7_gga(T45, T46, T47, T49, less20_out_g(T45)) → U8_gga(T45, T46, T47, T49, insert1_in_gga(T45, T47, T49))
insert1_in_gga(s(T65), tree(s(T65), T59, T60), tree(s(T65), T59, T62)) → U9_gga(T65, T59, T60, T62, p18_in_gga(T65, T60, T62))
U9_gga(T65, T59, T60, T62, p18_out_gga(T65, T60, T62)) → insert1_out_gga(s(T65), tree(s(T65), T59, T60), tree(s(T65), T59, T62))
insert1_in_gga(0, tree(s(T82), T74, T75), tree(s(T82), T77, T75)) → U10_gga(T82, T74, T75, T77, insert1_in_gga(0, T74, T77))
insert1_in_gga(s(T91), tree(s(T92), T74, T75), tree(s(T92), T77, T75)) → U11_gga(T91, T92, T74, T75, T77, less48_in_gg(T91, T92))
less48_in_gg(0, s(T101)) → less48_out_gg(0, s(T101))
less48_in_gg(s(0), s(s(T114))) → less48_out_gg(s(0), s(s(T114)))
less48_in_gg(s(s(0)), s(s(s(T127)))) → less48_out_gg(s(s(0)), s(s(s(T127))))
less48_in_gg(s(s(s(0))), s(s(s(s(T140))))) → less48_out_gg(s(s(s(0))), s(s(s(s(T140)))))
less48_in_gg(s(s(s(s(0)))), s(s(s(s(s(T153)))))) → less48_out_gg(s(s(s(s(0)))), s(s(s(s(s(T153))))))
less48_in_gg(s(s(s(s(s(0))))), s(s(s(s(s(s(T166))))))) → less48_out_gg(s(s(s(s(s(0))))), s(s(s(s(s(s(T166)))))))
less48_in_gg(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T179)))))))) → less48_out_gg(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T179))))))))
less48_in_gg(s(s(s(s(s(s(s(T184))))))), s(s(s(s(s(s(s(T185)))))))) → U5_gg(T184, T185, less106_in_gg(T184, T185))
less106_in_gg(0, s(T196)) → less106_out_gg(0, s(T196))
less106_in_gg(s(T201), s(T202)) → U4_gg(T201, T202, less106_in_gg(T201, T202))
U4_gg(T201, T202, less106_out_gg(T201, T202)) → less106_out_gg(s(T201), s(T202))
U5_gg(T184, T185, less106_out_gg(T184, T185)) → less48_out_gg(s(s(s(s(s(s(s(T184))))))), s(s(s(s(s(s(s(T185))))))))
U11_gga(T91, T92, T74, T75, T77, less48_out_gg(T91, T92)) → insert1_out_gga(s(T91), tree(s(T92), T74, T75), tree(s(T92), T77, T75))
U11_gga(T91, T92, T74, T75, T77, less48_out_gg(T91, T92)) → U12_gga(T91, T92, T74, T75, T77, insert1_in_gga(s(T91), T74, T77))
insert1_in_gga(T217, tree(T218, T219, T220), tree(T218, T219, T222)) → U13_gga(T217, T218, T219, T220, T222, less106_in_gg(T218, T217))
U13_gga(T217, T218, T219, T220, T222, less106_out_gg(T218, T217)) → insert1_out_gga(T217, tree(T218, T219, T220), tree(T218, T219, T222))
U13_gga(T217, T218, T219, T220, T222, less106_out_gg(T218, T217)) → U14_gga(T217, T218, T219, T220, T222, insert1_in_gga(T217, T220, T222))
insert1_in_gga(s(T244), tree(0, T236, T237), tree(0, T236, T239)) → U15_gga(T244, T236, T237, T239, insert1_in_gga(s(T244), T237, T239))
insert1_in_gga(s(T252), tree(s(T251), T236, T237), tree(s(T251), T236, T239)) → U16_gga(T252, T251, T236, T237, T239, less106_in_gg(T251, T252))
U16_gga(T252, T251, T236, T237, T239, less106_out_gg(T251, T252)) → insert1_out_gga(s(T252), tree(s(T251), T236, T237), tree(s(T251), T236, T239))
U16_gga(T252, T251, T236, T237, T239, less106_out_gg(T251, T252)) → U17_gga(T252, T251, T236, T237, T239, insert1_in_gga(s(T252), T237, T239))
U17_gga(T252, T251, T236, T237, T239, insert1_out_gga(s(T252), T237, T239)) → insert1_out_gga(s(T252), tree(s(T251), T236, T237), tree(s(T251), T236, T239))
U15_gga(T244, T236, T237, T239, insert1_out_gga(s(T244), T237, T239)) → insert1_out_gga(s(T244), tree(0, T236, T237), tree(0, T236, T239))
U14_gga(T217, T218, T219, T220, T222, insert1_out_gga(T217, T220, T222)) → insert1_out_gga(T217, tree(T218, T219, T220), tree(T218, T219, T222))
U12_gga(T91, T92, T74, T75, T77, insert1_out_gga(s(T91), T74, T77)) → insert1_out_gga(s(T91), tree(s(T92), T74, T75), tree(s(T92), T77, T75))
U10_gga(T82, T74, T75, T77, insert1_out_gga(0, T74, T77)) → insert1_out_gga(0, tree(s(T82), T74, T75), tree(s(T82), T77, T75))
U8_gga(T45, T46, T47, T49, insert1_out_gga(T45, T47, T49)) → insert1_out_gga(T45, tree(T45, T46, T47), tree(T45, T46, T49))
U3_gga(T28, T20, T23, insert1_out_gga(s(T28), T20, T23)) → p18_out_gga(T28, T20, T23)
U6_gga(T28, T20, T21, T23, p18_out_gga(T28, T20, T23)) → insert1_out_gga(s(T28), tree(s(T28), T20, T21), tree(s(T28), T23, T21))
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
insert1_in_gga(T5, void, tree(T5, void, void)) → insert1_out_gga(T5, void, tree(T5, void, void))
insert1_in_gga(T12, tree(T12, T13, T14), tree(T12, T13, T14)) → insert1_out_gga(T12, tree(T12, T13, T14), tree(T12, T13, T14))
insert1_in_gga(s(T28), tree(s(T28), T20, T21), tree(s(T28), T23, T21)) → U6_gga(T28, T20, T21, T23, p18_in_gga(T28, T20, T23))
p18_in_gga(T28, T20, T23) → U2_gga(T28, T20, T23, less20_in_g(T28))
less20_in_g(s(T33)) → U1_g(T33, less20_in_g(T33))
U1_g(T33, less20_out_g(T33)) → less20_out_g(s(T33))
U2_gga(T28, T20, T23, less20_out_g(T28)) → p18_out_gga(T28, T20, T23)
U2_gga(T28, T20, T23, less20_out_g(T28)) → U3_gga(T28, T20, T23, insert1_in_gga(s(T28), T20, T23))
insert1_in_gga(T45, tree(T45, T46, T47), tree(T45, T46, T49)) → U7_gga(T45, T46, T47, T49, less20_in_g(T45))
U7_gga(T45, T46, T47, T49, less20_out_g(T45)) → insert1_out_gga(T45, tree(T45, T46, T47), tree(T45, T46, T49))
U7_gga(T45, T46, T47, T49, less20_out_g(T45)) → U8_gga(T45, T46, T47, T49, insert1_in_gga(T45, T47, T49))
insert1_in_gga(s(T65), tree(s(T65), T59, T60), tree(s(T65), T59, T62)) → U9_gga(T65, T59, T60, T62, p18_in_gga(T65, T60, T62))
U9_gga(T65, T59, T60, T62, p18_out_gga(T65, T60, T62)) → insert1_out_gga(s(T65), tree(s(T65), T59, T60), tree(s(T65), T59, T62))
insert1_in_gga(0, tree(s(T82), T74, T75), tree(s(T82), T77, T75)) → U10_gga(T82, T74, T75, T77, insert1_in_gga(0, T74, T77))
insert1_in_gga(s(T91), tree(s(T92), T74, T75), tree(s(T92), T77, T75)) → U11_gga(T91, T92, T74, T75, T77, less48_in_gg(T91, T92))
less48_in_gg(0, s(T101)) → less48_out_gg(0, s(T101))
less48_in_gg(s(0), s(s(T114))) → less48_out_gg(s(0), s(s(T114)))
less48_in_gg(s(s(0)), s(s(s(T127)))) → less48_out_gg(s(s(0)), s(s(s(T127))))
less48_in_gg(s(s(s(0))), s(s(s(s(T140))))) → less48_out_gg(s(s(s(0))), s(s(s(s(T140)))))
less48_in_gg(s(s(s(s(0)))), s(s(s(s(s(T153)))))) → less48_out_gg(s(s(s(s(0)))), s(s(s(s(s(T153))))))
less48_in_gg(s(s(s(s(s(0))))), s(s(s(s(s(s(T166))))))) → less48_out_gg(s(s(s(s(s(0))))), s(s(s(s(s(s(T166)))))))
less48_in_gg(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T179)))))))) → less48_out_gg(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T179))))))))
less48_in_gg(s(s(s(s(s(s(s(T184))))))), s(s(s(s(s(s(s(T185)))))))) → U5_gg(T184, T185, less106_in_gg(T184, T185))
less106_in_gg(0, s(T196)) → less106_out_gg(0, s(T196))
less106_in_gg(s(T201), s(T202)) → U4_gg(T201, T202, less106_in_gg(T201, T202))
U4_gg(T201, T202, less106_out_gg(T201, T202)) → less106_out_gg(s(T201), s(T202))
U5_gg(T184, T185, less106_out_gg(T184, T185)) → less48_out_gg(s(s(s(s(s(s(s(T184))))))), s(s(s(s(s(s(s(T185))))))))
U11_gga(T91, T92, T74, T75, T77, less48_out_gg(T91, T92)) → insert1_out_gga(s(T91), tree(s(T92), T74, T75), tree(s(T92), T77, T75))
U11_gga(T91, T92, T74, T75, T77, less48_out_gg(T91, T92)) → U12_gga(T91, T92, T74, T75, T77, insert1_in_gga(s(T91), T74, T77))
insert1_in_gga(T217, tree(T218, T219, T220), tree(T218, T219, T222)) → U13_gga(T217, T218, T219, T220, T222, less106_in_gg(T218, T217))
U13_gga(T217, T218, T219, T220, T222, less106_out_gg(T218, T217)) → insert1_out_gga(T217, tree(T218, T219, T220), tree(T218, T219, T222))
U13_gga(T217, T218, T219, T220, T222, less106_out_gg(T218, T217)) → U14_gga(T217, T218, T219, T220, T222, insert1_in_gga(T217, T220, T222))
insert1_in_gga(s(T244), tree(0, T236, T237), tree(0, T236, T239)) → U15_gga(T244, T236, T237, T239, insert1_in_gga(s(T244), T237, T239))
insert1_in_gga(s(T252), tree(s(T251), T236, T237), tree(s(T251), T236, T239)) → U16_gga(T252, T251, T236, T237, T239, less106_in_gg(T251, T252))
U16_gga(T252, T251, T236, T237, T239, less106_out_gg(T251, T252)) → insert1_out_gga(s(T252), tree(s(T251), T236, T237), tree(s(T251), T236, T239))
U16_gga(T252, T251, T236, T237, T239, less106_out_gg(T251, T252)) → U17_gga(T252, T251, T236, T237, T239, insert1_in_gga(s(T252), T237, T239))
U17_gga(T252, T251, T236, T237, T239, insert1_out_gga(s(T252), T237, T239)) → insert1_out_gga(s(T252), tree(s(T251), T236, T237), tree(s(T251), T236, T239))
U15_gga(T244, T236, T237, T239, insert1_out_gga(s(T244), T237, T239)) → insert1_out_gga(s(T244), tree(0, T236, T237), tree(0, T236, T239))
U14_gga(T217, T218, T219, T220, T222, insert1_out_gga(T217, T220, T222)) → insert1_out_gga(T217, tree(T218, T219, T220), tree(T218, T219, T222))
U12_gga(T91, T92, T74, T75, T77, insert1_out_gga(s(T91), T74, T77)) → insert1_out_gga(s(T91), tree(s(T92), T74, T75), tree(s(T92), T77, T75))
U10_gga(T82, T74, T75, T77, insert1_out_gga(0, T74, T77)) → insert1_out_gga(0, tree(s(T82), T74, T75), tree(s(T82), T77, T75))
U8_gga(T45, T46, T47, T49, insert1_out_gga(T45, T47, T49)) → insert1_out_gga(T45, tree(T45, T46, T47), tree(T45, T46, T49))
U3_gga(T28, T20, T23, insert1_out_gga(s(T28), T20, T23)) → p18_out_gga(T28, T20, T23)
U6_gga(T28, T20, T21, T23, p18_out_gga(T28, T20, T23)) → insert1_out_gga(s(T28), tree(s(T28), T20, T21), tree(s(T28), T23, T21))
INSERT1_IN_GGA(s(T28), tree(s(T28), T20, T21), tree(s(T28), T23, T21)) → U6_GGA(T28, T20, T21, T23, p18_in_gga(T28, T20, T23))
INSERT1_IN_GGA(s(T28), tree(s(T28), T20, T21), tree(s(T28), T23, T21)) → P18_IN_GGA(T28, T20, T23)
P18_IN_GGA(T28, T20, T23) → U2_GGA(T28, T20, T23, less20_in_g(T28))
P18_IN_GGA(T28, T20, T23) → LESS20_IN_G(T28)
LESS20_IN_G(s(T33)) → U1_G(T33, less20_in_g(T33))
LESS20_IN_G(s(T33)) → LESS20_IN_G(T33)
U2_GGA(T28, T20, T23, less20_out_g(T28)) → U3_GGA(T28, T20, T23, insert1_in_gga(s(T28), T20, T23))
U2_GGA(T28, T20, T23, less20_out_g(T28)) → INSERT1_IN_GGA(s(T28), T20, T23)
INSERT1_IN_GGA(T45, tree(T45, T46, T47), tree(T45, T46, T49)) → U7_GGA(T45, T46, T47, T49, less20_in_g(T45))
INSERT1_IN_GGA(T45, tree(T45, T46, T47), tree(T45, T46, T49)) → LESS20_IN_G(T45)
U7_GGA(T45, T46, T47, T49, less20_out_g(T45)) → U8_GGA(T45, T46, T47, T49, insert1_in_gga(T45, T47, T49))
U7_GGA(T45, T46, T47, T49, less20_out_g(T45)) → INSERT1_IN_GGA(T45, T47, T49)
INSERT1_IN_GGA(s(T65), tree(s(T65), T59, T60), tree(s(T65), T59, T62)) → U9_GGA(T65, T59, T60, T62, p18_in_gga(T65, T60, T62))
INSERT1_IN_GGA(s(T65), tree(s(T65), T59, T60), tree(s(T65), T59, T62)) → P18_IN_GGA(T65, T60, T62)
INSERT1_IN_GGA(0, tree(s(T82), T74, T75), tree(s(T82), T77, T75)) → U10_GGA(T82, T74, T75, T77, insert1_in_gga(0, T74, T77))
INSERT1_IN_GGA(0, tree(s(T82), T74, T75), tree(s(T82), T77, T75)) → INSERT1_IN_GGA(0, T74, T77)
INSERT1_IN_GGA(s(T91), tree(s(T92), T74, T75), tree(s(T92), T77, T75)) → U11_GGA(T91, T92, T74, T75, T77, less48_in_gg(T91, T92))
INSERT1_IN_GGA(s(T91), tree(s(T92), T74, T75), tree(s(T92), T77, T75)) → LESS48_IN_GG(T91, T92)
LESS48_IN_GG(s(s(s(s(s(s(s(T184))))))), s(s(s(s(s(s(s(T185)))))))) → U5_GG(T184, T185, less106_in_gg(T184, T185))
LESS48_IN_GG(s(s(s(s(s(s(s(T184))))))), s(s(s(s(s(s(s(T185)))))))) → LESS106_IN_GG(T184, T185)
LESS106_IN_GG(s(T201), s(T202)) → U4_GG(T201, T202, less106_in_gg(T201, T202))
LESS106_IN_GG(s(T201), s(T202)) → LESS106_IN_GG(T201, T202)
U11_GGA(T91, T92, T74, T75, T77, less48_out_gg(T91, T92)) → U12_GGA(T91, T92, T74, T75, T77, insert1_in_gga(s(T91), T74, T77))
U11_GGA(T91, T92, T74, T75, T77, less48_out_gg(T91, T92)) → INSERT1_IN_GGA(s(T91), T74, T77)
INSERT1_IN_GGA(T217, tree(T218, T219, T220), tree(T218, T219, T222)) → U13_GGA(T217, T218, T219, T220, T222, less106_in_gg(T218, T217))
INSERT1_IN_GGA(T217, tree(T218, T219, T220), tree(T218, T219, T222)) → LESS106_IN_GG(T218, T217)
U13_GGA(T217, T218, T219, T220, T222, less106_out_gg(T218, T217)) → U14_GGA(T217, T218, T219, T220, T222, insert1_in_gga(T217, T220, T222))
U13_GGA(T217, T218, T219, T220, T222, less106_out_gg(T218, T217)) → INSERT1_IN_GGA(T217, T220, T222)
INSERT1_IN_GGA(s(T244), tree(0, T236, T237), tree(0, T236, T239)) → U15_GGA(T244, T236, T237, T239, insert1_in_gga(s(T244), T237, T239))
INSERT1_IN_GGA(s(T244), tree(0, T236, T237), tree(0, T236, T239)) → INSERT1_IN_GGA(s(T244), T237, T239)
INSERT1_IN_GGA(s(T252), tree(s(T251), T236, T237), tree(s(T251), T236, T239)) → U16_GGA(T252, T251, T236, T237, T239, less106_in_gg(T251, T252))
INSERT1_IN_GGA(s(T252), tree(s(T251), T236, T237), tree(s(T251), T236, T239)) → LESS106_IN_GG(T251, T252)
U16_GGA(T252, T251, T236, T237, T239, less106_out_gg(T251, T252)) → U17_GGA(T252, T251, T236, T237, T239, insert1_in_gga(s(T252), T237, T239))
U16_GGA(T252, T251, T236, T237, T239, less106_out_gg(T251, T252)) → INSERT1_IN_GGA(s(T252), T237, T239)
insert1_in_gga(T5, void, tree(T5, void, void)) → insert1_out_gga(T5, void, tree(T5, void, void))
insert1_in_gga(T12, tree(T12, T13, T14), tree(T12, T13, T14)) → insert1_out_gga(T12, tree(T12, T13, T14), tree(T12, T13, T14))
insert1_in_gga(s(T28), tree(s(T28), T20, T21), tree(s(T28), T23, T21)) → U6_gga(T28, T20, T21, T23, p18_in_gga(T28, T20, T23))
p18_in_gga(T28, T20, T23) → U2_gga(T28, T20, T23, less20_in_g(T28))
less20_in_g(s(T33)) → U1_g(T33, less20_in_g(T33))
U1_g(T33, less20_out_g(T33)) → less20_out_g(s(T33))
U2_gga(T28, T20, T23, less20_out_g(T28)) → p18_out_gga(T28, T20, T23)
U2_gga(T28, T20, T23, less20_out_g(T28)) → U3_gga(T28, T20, T23, insert1_in_gga(s(T28), T20, T23))
insert1_in_gga(T45, tree(T45, T46, T47), tree(T45, T46, T49)) → U7_gga(T45, T46, T47, T49, less20_in_g(T45))
U7_gga(T45, T46, T47, T49, less20_out_g(T45)) → insert1_out_gga(T45, tree(T45, T46, T47), tree(T45, T46, T49))
U7_gga(T45, T46, T47, T49, less20_out_g(T45)) → U8_gga(T45, T46, T47, T49, insert1_in_gga(T45, T47, T49))
insert1_in_gga(s(T65), tree(s(T65), T59, T60), tree(s(T65), T59, T62)) → U9_gga(T65, T59, T60, T62, p18_in_gga(T65, T60, T62))
U9_gga(T65, T59, T60, T62, p18_out_gga(T65, T60, T62)) → insert1_out_gga(s(T65), tree(s(T65), T59, T60), tree(s(T65), T59, T62))
insert1_in_gga(0, tree(s(T82), T74, T75), tree(s(T82), T77, T75)) → U10_gga(T82, T74, T75, T77, insert1_in_gga(0, T74, T77))
insert1_in_gga(s(T91), tree(s(T92), T74, T75), tree(s(T92), T77, T75)) → U11_gga(T91, T92, T74, T75, T77, less48_in_gg(T91, T92))
less48_in_gg(0, s(T101)) → less48_out_gg(0, s(T101))
less48_in_gg(s(0), s(s(T114))) → less48_out_gg(s(0), s(s(T114)))
less48_in_gg(s(s(0)), s(s(s(T127)))) → less48_out_gg(s(s(0)), s(s(s(T127))))
less48_in_gg(s(s(s(0))), s(s(s(s(T140))))) → less48_out_gg(s(s(s(0))), s(s(s(s(T140)))))
less48_in_gg(s(s(s(s(0)))), s(s(s(s(s(T153)))))) → less48_out_gg(s(s(s(s(0)))), s(s(s(s(s(T153))))))
less48_in_gg(s(s(s(s(s(0))))), s(s(s(s(s(s(T166))))))) → less48_out_gg(s(s(s(s(s(0))))), s(s(s(s(s(s(T166)))))))
less48_in_gg(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T179)))))))) → less48_out_gg(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T179))))))))
less48_in_gg(s(s(s(s(s(s(s(T184))))))), s(s(s(s(s(s(s(T185)))))))) → U5_gg(T184, T185, less106_in_gg(T184, T185))
less106_in_gg(0, s(T196)) → less106_out_gg(0, s(T196))
less106_in_gg(s(T201), s(T202)) → U4_gg(T201, T202, less106_in_gg(T201, T202))
U4_gg(T201, T202, less106_out_gg(T201, T202)) → less106_out_gg(s(T201), s(T202))
U5_gg(T184, T185, less106_out_gg(T184, T185)) → less48_out_gg(s(s(s(s(s(s(s(T184))))))), s(s(s(s(s(s(s(T185))))))))
U11_gga(T91, T92, T74, T75, T77, less48_out_gg(T91, T92)) → insert1_out_gga(s(T91), tree(s(T92), T74, T75), tree(s(T92), T77, T75))
U11_gga(T91, T92, T74, T75, T77, less48_out_gg(T91, T92)) → U12_gga(T91, T92, T74, T75, T77, insert1_in_gga(s(T91), T74, T77))
insert1_in_gga(T217, tree(T218, T219, T220), tree(T218, T219, T222)) → U13_gga(T217, T218, T219, T220, T222, less106_in_gg(T218, T217))
U13_gga(T217, T218, T219, T220, T222, less106_out_gg(T218, T217)) → insert1_out_gga(T217, tree(T218, T219, T220), tree(T218, T219, T222))
U13_gga(T217, T218, T219, T220, T222, less106_out_gg(T218, T217)) → U14_gga(T217, T218, T219, T220, T222, insert1_in_gga(T217, T220, T222))
insert1_in_gga(s(T244), tree(0, T236, T237), tree(0, T236, T239)) → U15_gga(T244, T236, T237, T239, insert1_in_gga(s(T244), T237, T239))
insert1_in_gga(s(T252), tree(s(T251), T236, T237), tree(s(T251), T236, T239)) → U16_gga(T252, T251, T236, T237, T239, less106_in_gg(T251, T252))
U16_gga(T252, T251, T236, T237, T239, less106_out_gg(T251, T252)) → insert1_out_gga(s(T252), tree(s(T251), T236, T237), tree(s(T251), T236, T239))
U16_gga(T252, T251, T236, T237, T239, less106_out_gg(T251, T252)) → U17_gga(T252, T251, T236, T237, T239, insert1_in_gga(s(T252), T237, T239))
U17_gga(T252, T251, T236, T237, T239, insert1_out_gga(s(T252), T237, T239)) → insert1_out_gga(s(T252), tree(s(T251), T236, T237), tree(s(T251), T236, T239))
U15_gga(T244, T236, T237, T239, insert1_out_gga(s(T244), T237, T239)) → insert1_out_gga(s(T244), tree(0, T236, T237), tree(0, T236, T239))
U14_gga(T217, T218, T219, T220, T222, insert1_out_gga(T217, T220, T222)) → insert1_out_gga(T217, tree(T218, T219, T220), tree(T218, T219, T222))
U12_gga(T91, T92, T74, T75, T77, insert1_out_gga(s(T91), T74, T77)) → insert1_out_gga(s(T91), tree(s(T92), T74, T75), tree(s(T92), T77, T75))
U10_gga(T82, T74, T75, T77, insert1_out_gga(0, T74, T77)) → insert1_out_gga(0, tree(s(T82), T74, T75), tree(s(T82), T77, T75))
U8_gga(T45, T46, T47, T49, insert1_out_gga(T45, T47, T49)) → insert1_out_gga(T45, tree(T45, T46, T47), tree(T45, T46, T49))
U3_gga(T28, T20, T23, insert1_out_gga(s(T28), T20, T23)) → p18_out_gga(T28, T20, T23)
U6_gga(T28, T20, T21, T23, p18_out_gga(T28, T20, T23)) → insert1_out_gga(s(T28), tree(s(T28), T20, T21), tree(s(T28), T23, T21))
INSERT1_IN_GGA(s(T28), tree(s(T28), T20, T21), tree(s(T28), T23, T21)) → U6_GGA(T28, T20, T21, T23, p18_in_gga(T28, T20, T23))
INSERT1_IN_GGA(s(T28), tree(s(T28), T20, T21), tree(s(T28), T23, T21)) → P18_IN_GGA(T28, T20, T23)
P18_IN_GGA(T28, T20, T23) → U2_GGA(T28, T20, T23, less20_in_g(T28))
P18_IN_GGA(T28, T20, T23) → LESS20_IN_G(T28)
LESS20_IN_G(s(T33)) → U1_G(T33, less20_in_g(T33))
LESS20_IN_G(s(T33)) → LESS20_IN_G(T33)
U2_GGA(T28, T20, T23, less20_out_g(T28)) → U3_GGA(T28, T20, T23, insert1_in_gga(s(T28), T20, T23))
U2_GGA(T28, T20, T23, less20_out_g(T28)) → INSERT1_IN_GGA(s(T28), T20, T23)
INSERT1_IN_GGA(T45, tree(T45, T46, T47), tree(T45, T46, T49)) → U7_GGA(T45, T46, T47, T49, less20_in_g(T45))
INSERT1_IN_GGA(T45, tree(T45, T46, T47), tree(T45, T46, T49)) → LESS20_IN_G(T45)
U7_GGA(T45, T46, T47, T49, less20_out_g(T45)) → U8_GGA(T45, T46, T47, T49, insert1_in_gga(T45, T47, T49))
U7_GGA(T45, T46, T47, T49, less20_out_g(T45)) → INSERT1_IN_GGA(T45, T47, T49)
INSERT1_IN_GGA(s(T65), tree(s(T65), T59, T60), tree(s(T65), T59, T62)) → U9_GGA(T65, T59, T60, T62, p18_in_gga(T65, T60, T62))
INSERT1_IN_GGA(s(T65), tree(s(T65), T59, T60), tree(s(T65), T59, T62)) → P18_IN_GGA(T65, T60, T62)
INSERT1_IN_GGA(0, tree(s(T82), T74, T75), tree(s(T82), T77, T75)) → U10_GGA(T82, T74, T75, T77, insert1_in_gga(0, T74, T77))
INSERT1_IN_GGA(0, tree(s(T82), T74, T75), tree(s(T82), T77, T75)) → INSERT1_IN_GGA(0, T74, T77)
INSERT1_IN_GGA(s(T91), tree(s(T92), T74, T75), tree(s(T92), T77, T75)) → U11_GGA(T91, T92, T74, T75, T77, less48_in_gg(T91, T92))
INSERT1_IN_GGA(s(T91), tree(s(T92), T74, T75), tree(s(T92), T77, T75)) → LESS48_IN_GG(T91, T92)
LESS48_IN_GG(s(s(s(s(s(s(s(T184))))))), s(s(s(s(s(s(s(T185)))))))) → U5_GG(T184, T185, less106_in_gg(T184, T185))
LESS48_IN_GG(s(s(s(s(s(s(s(T184))))))), s(s(s(s(s(s(s(T185)))))))) → LESS106_IN_GG(T184, T185)
LESS106_IN_GG(s(T201), s(T202)) → U4_GG(T201, T202, less106_in_gg(T201, T202))
LESS106_IN_GG(s(T201), s(T202)) → LESS106_IN_GG(T201, T202)
U11_GGA(T91, T92, T74, T75, T77, less48_out_gg(T91, T92)) → U12_GGA(T91, T92, T74, T75, T77, insert1_in_gga(s(T91), T74, T77))
U11_GGA(T91, T92, T74, T75, T77, less48_out_gg(T91, T92)) → INSERT1_IN_GGA(s(T91), T74, T77)
INSERT1_IN_GGA(T217, tree(T218, T219, T220), tree(T218, T219, T222)) → U13_GGA(T217, T218, T219, T220, T222, less106_in_gg(T218, T217))
INSERT1_IN_GGA(T217, tree(T218, T219, T220), tree(T218, T219, T222)) → LESS106_IN_GG(T218, T217)
U13_GGA(T217, T218, T219, T220, T222, less106_out_gg(T218, T217)) → U14_GGA(T217, T218, T219, T220, T222, insert1_in_gga(T217, T220, T222))
U13_GGA(T217, T218, T219, T220, T222, less106_out_gg(T218, T217)) → INSERT1_IN_GGA(T217, T220, T222)
INSERT1_IN_GGA(s(T244), tree(0, T236, T237), tree(0, T236, T239)) → U15_GGA(T244, T236, T237, T239, insert1_in_gga(s(T244), T237, T239))
INSERT1_IN_GGA(s(T244), tree(0, T236, T237), tree(0, T236, T239)) → INSERT1_IN_GGA(s(T244), T237, T239)
INSERT1_IN_GGA(s(T252), tree(s(T251), T236, T237), tree(s(T251), T236, T239)) → U16_GGA(T252, T251, T236, T237, T239, less106_in_gg(T251, T252))
INSERT1_IN_GGA(s(T252), tree(s(T251), T236, T237), tree(s(T251), T236, T239)) → LESS106_IN_GG(T251, T252)
U16_GGA(T252, T251, T236, T237, T239, less106_out_gg(T251, T252)) → U17_GGA(T252, T251, T236, T237, T239, insert1_in_gga(s(T252), T237, T239))
U16_GGA(T252, T251, T236, T237, T239, less106_out_gg(T251, T252)) → INSERT1_IN_GGA(s(T252), T237, T239)
insert1_in_gga(T5, void, tree(T5, void, void)) → insert1_out_gga(T5, void, tree(T5, void, void))
insert1_in_gga(T12, tree(T12, T13, T14), tree(T12, T13, T14)) → insert1_out_gga(T12, tree(T12, T13, T14), tree(T12, T13, T14))
insert1_in_gga(s(T28), tree(s(T28), T20, T21), tree(s(T28), T23, T21)) → U6_gga(T28, T20, T21, T23, p18_in_gga(T28, T20, T23))
p18_in_gga(T28, T20, T23) → U2_gga(T28, T20, T23, less20_in_g(T28))
less20_in_g(s(T33)) → U1_g(T33, less20_in_g(T33))
U1_g(T33, less20_out_g(T33)) → less20_out_g(s(T33))
U2_gga(T28, T20, T23, less20_out_g(T28)) → p18_out_gga(T28, T20, T23)
U2_gga(T28, T20, T23, less20_out_g(T28)) → U3_gga(T28, T20, T23, insert1_in_gga(s(T28), T20, T23))
insert1_in_gga(T45, tree(T45, T46, T47), tree(T45, T46, T49)) → U7_gga(T45, T46, T47, T49, less20_in_g(T45))
U7_gga(T45, T46, T47, T49, less20_out_g(T45)) → insert1_out_gga(T45, tree(T45, T46, T47), tree(T45, T46, T49))
U7_gga(T45, T46, T47, T49, less20_out_g(T45)) → U8_gga(T45, T46, T47, T49, insert1_in_gga(T45, T47, T49))
insert1_in_gga(s(T65), tree(s(T65), T59, T60), tree(s(T65), T59, T62)) → U9_gga(T65, T59, T60, T62, p18_in_gga(T65, T60, T62))
U9_gga(T65, T59, T60, T62, p18_out_gga(T65, T60, T62)) → insert1_out_gga(s(T65), tree(s(T65), T59, T60), tree(s(T65), T59, T62))
insert1_in_gga(0, tree(s(T82), T74, T75), tree(s(T82), T77, T75)) → U10_gga(T82, T74, T75, T77, insert1_in_gga(0, T74, T77))
insert1_in_gga(s(T91), tree(s(T92), T74, T75), tree(s(T92), T77, T75)) → U11_gga(T91, T92, T74, T75, T77, less48_in_gg(T91, T92))
less48_in_gg(0, s(T101)) → less48_out_gg(0, s(T101))
less48_in_gg(s(0), s(s(T114))) → less48_out_gg(s(0), s(s(T114)))
less48_in_gg(s(s(0)), s(s(s(T127)))) → less48_out_gg(s(s(0)), s(s(s(T127))))
less48_in_gg(s(s(s(0))), s(s(s(s(T140))))) → less48_out_gg(s(s(s(0))), s(s(s(s(T140)))))
less48_in_gg(s(s(s(s(0)))), s(s(s(s(s(T153)))))) → less48_out_gg(s(s(s(s(0)))), s(s(s(s(s(T153))))))
less48_in_gg(s(s(s(s(s(0))))), s(s(s(s(s(s(T166))))))) → less48_out_gg(s(s(s(s(s(0))))), s(s(s(s(s(s(T166)))))))
less48_in_gg(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T179)))))))) → less48_out_gg(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T179))))))))
less48_in_gg(s(s(s(s(s(s(s(T184))))))), s(s(s(s(s(s(s(T185)))))))) → U5_gg(T184, T185, less106_in_gg(T184, T185))
less106_in_gg(0, s(T196)) → less106_out_gg(0, s(T196))
less106_in_gg(s(T201), s(T202)) → U4_gg(T201, T202, less106_in_gg(T201, T202))
U4_gg(T201, T202, less106_out_gg(T201, T202)) → less106_out_gg(s(T201), s(T202))
U5_gg(T184, T185, less106_out_gg(T184, T185)) → less48_out_gg(s(s(s(s(s(s(s(T184))))))), s(s(s(s(s(s(s(T185))))))))
U11_gga(T91, T92, T74, T75, T77, less48_out_gg(T91, T92)) → insert1_out_gga(s(T91), tree(s(T92), T74, T75), tree(s(T92), T77, T75))
U11_gga(T91, T92, T74, T75, T77, less48_out_gg(T91, T92)) → U12_gga(T91, T92, T74, T75, T77, insert1_in_gga(s(T91), T74, T77))
insert1_in_gga(T217, tree(T218, T219, T220), tree(T218, T219, T222)) → U13_gga(T217, T218, T219, T220, T222, less106_in_gg(T218, T217))
U13_gga(T217, T218, T219, T220, T222, less106_out_gg(T218, T217)) → insert1_out_gga(T217, tree(T218, T219, T220), tree(T218, T219, T222))
U13_gga(T217, T218, T219, T220, T222, less106_out_gg(T218, T217)) → U14_gga(T217, T218, T219, T220, T222, insert1_in_gga(T217, T220, T222))
insert1_in_gga(s(T244), tree(0, T236, T237), tree(0, T236, T239)) → U15_gga(T244, T236, T237, T239, insert1_in_gga(s(T244), T237, T239))
insert1_in_gga(s(T252), tree(s(T251), T236, T237), tree(s(T251), T236, T239)) → U16_gga(T252, T251, T236, T237, T239, less106_in_gg(T251, T252))
U16_gga(T252, T251, T236, T237, T239, less106_out_gg(T251, T252)) → insert1_out_gga(s(T252), tree(s(T251), T236, T237), tree(s(T251), T236, T239))
U16_gga(T252, T251, T236, T237, T239, less106_out_gg(T251, T252)) → U17_gga(T252, T251, T236, T237, T239, insert1_in_gga(s(T252), T237, T239))
U17_gga(T252, T251, T236, T237, T239, insert1_out_gga(s(T252), T237, T239)) → insert1_out_gga(s(T252), tree(s(T251), T236, T237), tree(s(T251), T236, T239))
U15_gga(T244, T236, T237, T239, insert1_out_gga(s(T244), T237, T239)) → insert1_out_gga(s(T244), tree(0, T236, T237), tree(0, T236, T239))
U14_gga(T217, T218, T219, T220, T222, insert1_out_gga(T217, T220, T222)) → insert1_out_gga(T217, tree(T218, T219, T220), tree(T218, T219, T222))
U12_gga(T91, T92, T74, T75, T77, insert1_out_gga(s(T91), T74, T77)) → insert1_out_gga(s(T91), tree(s(T92), T74, T75), tree(s(T92), T77, T75))
U10_gga(T82, T74, T75, T77, insert1_out_gga(0, T74, T77)) → insert1_out_gga(0, tree(s(T82), T74, T75), tree(s(T82), T77, T75))
U8_gga(T45, T46, T47, T49, insert1_out_gga(T45, T47, T49)) → insert1_out_gga(T45, tree(T45, T46, T47), tree(T45, T46, T49))
U3_gga(T28, T20, T23, insert1_out_gga(s(T28), T20, T23)) → p18_out_gga(T28, T20, T23)
U6_gga(T28, T20, T21, T23, p18_out_gga(T28, T20, T23)) → insert1_out_gga(s(T28), tree(s(T28), T20, T21), tree(s(T28), T23, T21))
LESS106_IN_GG(s(T201), s(T202)) → LESS106_IN_GG(T201, T202)
insert1_in_gga(T5, void, tree(T5, void, void)) → insert1_out_gga(T5, void, tree(T5, void, void))
insert1_in_gga(T12, tree(T12, T13, T14), tree(T12, T13, T14)) → insert1_out_gga(T12, tree(T12, T13, T14), tree(T12, T13, T14))
insert1_in_gga(s(T28), tree(s(T28), T20, T21), tree(s(T28), T23, T21)) → U6_gga(T28, T20, T21, T23, p18_in_gga(T28, T20, T23))
p18_in_gga(T28, T20, T23) → U2_gga(T28, T20, T23, less20_in_g(T28))
less20_in_g(s(T33)) → U1_g(T33, less20_in_g(T33))
U1_g(T33, less20_out_g(T33)) → less20_out_g(s(T33))
U2_gga(T28, T20, T23, less20_out_g(T28)) → p18_out_gga(T28, T20, T23)
U2_gga(T28, T20, T23, less20_out_g(T28)) → U3_gga(T28, T20, T23, insert1_in_gga(s(T28), T20, T23))
insert1_in_gga(T45, tree(T45, T46, T47), tree(T45, T46, T49)) → U7_gga(T45, T46, T47, T49, less20_in_g(T45))
U7_gga(T45, T46, T47, T49, less20_out_g(T45)) → insert1_out_gga(T45, tree(T45, T46, T47), tree(T45, T46, T49))
U7_gga(T45, T46, T47, T49, less20_out_g(T45)) → U8_gga(T45, T46, T47, T49, insert1_in_gga(T45, T47, T49))
insert1_in_gga(s(T65), tree(s(T65), T59, T60), tree(s(T65), T59, T62)) → U9_gga(T65, T59, T60, T62, p18_in_gga(T65, T60, T62))
U9_gga(T65, T59, T60, T62, p18_out_gga(T65, T60, T62)) → insert1_out_gga(s(T65), tree(s(T65), T59, T60), tree(s(T65), T59, T62))
insert1_in_gga(0, tree(s(T82), T74, T75), tree(s(T82), T77, T75)) → U10_gga(T82, T74, T75, T77, insert1_in_gga(0, T74, T77))
insert1_in_gga(s(T91), tree(s(T92), T74, T75), tree(s(T92), T77, T75)) → U11_gga(T91, T92, T74, T75, T77, less48_in_gg(T91, T92))
less48_in_gg(0, s(T101)) → less48_out_gg(0, s(T101))
less48_in_gg(s(0), s(s(T114))) → less48_out_gg(s(0), s(s(T114)))
less48_in_gg(s(s(0)), s(s(s(T127)))) → less48_out_gg(s(s(0)), s(s(s(T127))))
less48_in_gg(s(s(s(0))), s(s(s(s(T140))))) → less48_out_gg(s(s(s(0))), s(s(s(s(T140)))))
less48_in_gg(s(s(s(s(0)))), s(s(s(s(s(T153)))))) → less48_out_gg(s(s(s(s(0)))), s(s(s(s(s(T153))))))
less48_in_gg(s(s(s(s(s(0))))), s(s(s(s(s(s(T166))))))) → less48_out_gg(s(s(s(s(s(0))))), s(s(s(s(s(s(T166)))))))
less48_in_gg(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T179)))))))) → less48_out_gg(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T179))))))))
less48_in_gg(s(s(s(s(s(s(s(T184))))))), s(s(s(s(s(s(s(T185)))))))) → U5_gg(T184, T185, less106_in_gg(T184, T185))
less106_in_gg(0, s(T196)) → less106_out_gg(0, s(T196))
less106_in_gg(s(T201), s(T202)) → U4_gg(T201, T202, less106_in_gg(T201, T202))
U4_gg(T201, T202, less106_out_gg(T201, T202)) → less106_out_gg(s(T201), s(T202))
U5_gg(T184, T185, less106_out_gg(T184, T185)) → less48_out_gg(s(s(s(s(s(s(s(T184))))))), s(s(s(s(s(s(s(T185))))))))
U11_gga(T91, T92, T74, T75, T77, less48_out_gg(T91, T92)) → insert1_out_gga(s(T91), tree(s(T92), T74, T75), tree(s(T92), T77, T75))
U11_gga(T91, T92, T74, T75, T77, less48_out_gg(T91, T92)) → U12_gga(T91, T92, T74, T75, T77, insert1_in_gga(s(T91), T74, T77))
insert1_in_gga(T217, tree(T218, T219, T220), tree(T218, T219, T222)) → U13_gga(T217, T218, T219, T220, T222, less106_in_gg(T218, T217))
U13_gga(T217, T218, T219, T220, T222, less106_out_gg(T218, T217)) → insert1_out_gga(T217, tree(T218, T219, T220), tree(T218, T219, T222))
U13_gga(T217, T218, T219, T220, T222, less106_out_gg(T218, T217)) → U14_gga(T217, T218, T219, T220, T222, insert1_in_gga(T217, T220, T222))
insert1_in_gga(s(T244), tree(0, T236, T237), tree(0, T236, T239)) → U15_gga(T244, T236, T237, T239, insert1_in_gga(s(T244), T237, T239))
insert1_in_gga(s(T252), tree(s(T251), T236, T237), tree(s(T251), T236, T239)) → U16_gga(T252, T251, T236, T237, T239, less106_in_gg(T251, T252))
U16_gga(T252, T251, T236, T237, T239, less106_out_gg(T251, T252)) → insert1_out_gga(s(T252), tree(s(T251), T236, T237), tree(s(T251), T236, T239))
U16_gga(T252, T251, T236, T237, T239, less106_out_gg(T251, T252)) → U17_gga(T252, T251, T236, T237, T239, insert1_in_gga(s(T252), T237, T239))
U17_gga(T252, T251, T236, T237, T239, insert1_out_gga(s(T252), T237, T239)) → insert1_out_gga(s(T252), tree(s(T251), T236, T237), tree(s(T251), T236, T239))
U15_gga(T244, T236, T237, T239, insert1_out_gga(s(T244), T237, T239)) → insert1_out_gga(s(T244), tree(0, T236, T237), tree(0, T236, T239))
U14_gga(T217, T218, T219, T220, T222, insert1_out_gga(T217, T220, T222)) → insert1_out_gga(T217, tree(T218, T219, T220), tree(T218, T219, T222))
U12_gga(T91, T92, T74, T75, T77, insert1_out_gga(s(T91), T74, T77)) → insert1_out_gga(s(T91), tree(s(T92), T74, T75), tree(s(T92), T77, T75))
U10_gga(T82, T74, T75, T77, insert1_out_gga(0, T74, T77)) → insert1_out_gga(0, tree(s(T82), T74, T75), tree(s(T82), T77, T75))
U8_gga(T45, T46, T47, T49, insert1_out_gga(T45, T47, T49)) → insert1_out_gga(T45, tree(T45, T46, T47), tree(T45, T46, T49))
U3_gga(T28, T20, T23, insert1_out_gga(s(T28), T20, T23)) → p18_out_gga(T28, T20, T23)
U6_gga(T28, T20, T21, T23, p18_out_gga(T28, T20, T23)) → insert1_out_gga(s(T28), tree(s(T28), T20, T21), tree(s(T28), T23, T21))
LESS106_IN_GG(s(T201), s(T202)) → LESS106_IN_GG(T201, T202)
LESS106_IN_GG(s(T201), s(T202)) → LESS106_IN_GG(T201, T202)
From the DPs we obtained the following set of size-change graphs:
LESS20_IN_G(s(T33)) → LESS20_IN_G(T33)
insert1_in_gga(T5, void, tree(T5, void, void)) → insert1_out_gga(T5, void, tree(T5, void, void))
insert1_in_gga(T12, tree(T12, T13, T14), tree(T12, T13, T14)) → insert1_out_gga(T12, tree(T12, T13, T14), tree(T12, T13, T14))
insert1_in_gga(s(T28), tree(s(T28), T20, T21), tree(s(T28), T23, T21)) → U6_gga(T28, T20, T21, T23, p18_in_gga(T28, T20, T23))
p18_in_gga(T28, T20, T23) → U2_gga(T28, T20, T23, less20_in_g(T28))
less20_in_g(s(T33)) → U1_g(T33, less20_in_g(T33))
U1_g(T33, less20_out_g(T33)) → less20_out_g(s(T33))
U2_gga(T28, T20, T23, less20_out_g(T28)) → p18_out_gga(T28, T20, T23)
U2_gga(T28, T20, T23, less20_out_g(T28)) → U3_gga(T28, T20, T23, insert1_in_gga(s(T28), T20, T23))
insert1_in_gga(T45, tree(T45, T46, T47), tree(T45, T46, T49)) → U7_gga(T45, T46, T47, T49, less20_in_g(T45))
U7_gga(T45, T46, T47, T49, less20_out_g(T45)) → insert1_out_gga(T45, tree(T45, T46, T47), tree(T45, T46, T49))
U7_gga(T45, T46, T47, T49, less20_out_g(T45)) → U8_gga(T45, T46, T47, T49, insert1_in_gga(T45, T47, T49))
insert1_in_gga(s(T65), tree(s(T65), T59, T60), tree(s(T65), T59, T62)) → U9_gga(T65, T59, T60, T62, p18_in_gga(T65, T60, T62))
U9_gga(T65, T59, T60, T62, p18_out_gga(T65, T60, T62)) → insert1_out_gga(s(T65), tree(s(T65), T59, T60), tree(s(T65), T59, T62))
insert1_in_gga(0, tree(s(T82), T74, T75), tree(s(T82), T77, T75)) → U10_gga(T82, T74, T75, T77, insert1_in_gga(0, T74, T77))
insert1_in_gga(s(T91), tree(s(T92), T74, T75), tree(s(T92), T77, T75)) → U11_gga(T91, T92, T74, T75, T77, less48_in_gg(T91, T92))
less48_in_gg(0, s(T101)) → less48_out_gg(0, s(T101))
less48_in_gg(s(0), s(s(T114))) → less48_out_gg(s(0), s(s(T114)))
less48_in_gg(s(s(0)), s(s(s(T127)))) → less48_out_gg(s(s(0)), s(s(s(T127))))
less48_in_gg(s(s(s(0))), s(s(s(s(T140))))) → less48_out_gg(s(s(s(0))), s(s(s(s(T140)))))
less48_in_gg(s(s(s(s(0)))), s(s(s(s(s(T153)))))) → less48_out_gg(s(s(s(s(0)))), s(s(s(s(s(T153))))))
less48_in_gg(s(s(s(s(s(0))))), s(s(s(s(s(s(T166))))))) → less48_out_gg(s(s(s(s(s(0))))), s(s(s(s(s(s(T166)))))))
less48_in_gg(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T179)))))))) → less48_out_gg(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T179))))))))
less48_in_gg(s(s(s(s(s(s(s(T184))))))), s(s(s(s(s(s(s(T185)))))))) → U5_gg(T184, T185, less106_in_gg(T184, T185))
less106_in_gg(0, s(T196)) → less106_out_gg(0, s(T196))
less106_in_gg(s(T201), s(T202)) → U4_gg(T201, T202, less106_in_gg(T201, T202))
U4_gg(T201, T202, less106_out_gg(T201, T202)) → less106_out_gg(s(T201), s(T202))
U5_gg(T184, T185, less106_out_gg(T184, T185)) → less48_out_gg(s(s(s(s(s(s(s(T184))))))), s(s(s(s(s(s(s(T185))))))))
U11_gga(T91, T92, T74, T75, T77, less48_out_gg(T91, T92)) → insert1_out_gga(s(T91), tree(s(T92), T74, T75), tree(s(T92), T77, T75))
U11_gga(T91, T92, T74, T75, T77, less48_out_gg(T91, T92)) → U12_gga(T91, T92, T74, T75, T77, insert1_in_gga(s(T91), T74, T77))
insert1_in_gga(T217, tree(T218, T219, T220), tree(T218, T219, T222)) → U13_gga(T217, T218, T219, T220, T222, less106_in_gg(T218, T217))
U13_gga(T217, T218, T219, T220, T222, less106_out_gg(T218, T217)) → insert1_out_gga(T217, tree(T218, T219, T220), tree(T218, T219, T222))
U13_gga(T217, T218, T219, T220, T222, less106_out_gg(T218, T217)) → U14_gga(T217, T218, T219, T220, T222, insert1_in_gga(T217, T220, T222))
insert1_in_gga(s(T244), tree(0, T236, T237), tree(0, T236, T239)) → U15_gga(T244, T236, T237, T239, insert1_in_gga(s(T244), T237, T239))
insert1_in_gga(s(T252), tree(s(T251), T236, T237), tree(s(T251), T236, T239)) → U16_gga(T252, T251, T236, T237, T239, less106_in_gg(T251, T252))
U16_gga(T252, T251, T236, T237, T239, less106_out_gg(T251, T252)) → insert1_out_gga(s(T252), tree(s(T251), T236, T237), tree(s(T251), T236, T239))
U16_gga(T252, T251, T236, T237, T239, less106_out_gg(T251, T252)) → U17_gga(T252, T251, T236, T237, T239, insert1_in_gga(s(T252), T237, T239))
U17_gga(T252, T251, T236, T237, T239, insert1_out_gga(s(T252), T237, T239)) → insert1_out_gga(s(T252), tree(s(T251), T236, T237), tree(s(T251), T236, T239))
U15_gga(T244, T236, T237, T239, insert1_out_gga(s(T244), T237, T239)) → insert1_out_gga(s(T244), tree(0, T236, T237), tree(0, T236, T239))
U14_gga(T217, T218, T219, T220, T222, insert1_out_gga(T217, T220, T222)) → insert1_out_gga(T217, tree(T218, T219, T220), tree(T218, T219, T222))
U12_gga(T91, T92, T74, T75, T77, insert1_out_gga(s(T91), T74, T77)) → insert1_out_gga(s(T91), tree(s(T92), T74, T75), tree(s(T92), T77, T75))
U10_gga(T82, T74, T75, T77, insert1_out_gga(0, T74, T77)) → insert1_out_gga(0, tree(s(T82), T74, T75), tree(s(T82), T77, T75))
U8_gga(T45, T46, T47, T49, insert1_out_gga(T45, T47, T49)) → insert1_out_gga(T45, tree(T45, T46, T47), tree(T45, T46, T49))
U3_gga(T28, T20, T23, insert1_out_gga(s(T28), T20, T23)) → p18_out_gga(T28, T20, T23)
U6_gga(T28, T20, T21, T23, p18_out_gga(T28, T20, T23)) → insert1_out_gga(s(T28), tree(s(T28), T20, T21), tree(s(T28), T23, T21))
LESS20_IN_G(s(T33)) → LESS20_IN_G(T33)
LESS20_IN_G(s(T33)) → LESS20_IN_G(T33)
From the DPs we obtained the following set of size-change graphs:
INSERT1_IN_GGA(s(T28), tree(s(T28), T20, T21), tree(s(T28), T23, T21)) → P18_IN_GGA(T28, T20, T23)
P18_IN_GGA(T28, T20, T23) → U2_GGA(T28, T20, T23, less20_in_g(T28))
U2_GGA(T28, T20, T23, less20_out_g(T28)) → INSERT1_IN_GGA(s(T28), T20, T23)
INSERT1_IN_GGA(T45, tree(T45, T46, T47), tree(T45, T46, T49)) → U7_GGA(T45, T46, T47, T49, less20_in_g(T45))
U7_GGA(T45, T46, T47, T49, less20_out_g(T45)) → INSERT1_IN_GGA(T45, T47, T49)
INSERT1_IN_GGA(s(T65), tree(s(T65), T59, T60), tree(s(T65), T59, T62)) → P18_IN_GGA(T65, T60, T62)
INSERT1_IN_GGA(0, tree(s(T82), T74, T75), tree(s(T82), T77, T75)) → INSERT1_IN_GGA(0, T74, T77)
INSERT1_IN_GGA(T217, tree(T218, T219, T220), tree(T218, T219, T222)) → U13_GGA(T217, T218, T219, T220, T222, less106_in_gg(T218, T217))
U13_GGA(T217, T218, T219, T220, T222, less106_out_gg(T218, T217)) → INSERT1_IN_GGA(T217, T220, T222)
INSERT1_IN_GGA(s(T91), tree(s(T92), T74, T75), tree(s(T92), T77, T75)) → U11_GGA(T91, T92, T74, T75, T77, less48_in_gg(T91, T92))
U11_GGA(T91, T92, T74, T75, T77, less48_out_gg(T91, T92)) → INSERT1_IN_GGA(s(T91), T74, T77)
INSERT1_IN_GGA(s(T244), tree(0, T236, T237), tree(0, T236, T239)) → INSERT1_IN_GGA(s(T244), T237, T239)
INSERT1_IN_GGA(s(T252), tree(s(T251), T236, T237), tree(s(T251), T236, T239)) → U16_GGA(T252, T251, T236, T237, T239, less106_in_gg(T251, T252))
U16_GGA(T252, T251, T236, T237, T239, less106_out_gg(T251, T252)) → INSERT1_IN_GGA(s(T252), T237, T239)
insert1_in_gga(T5, void, tree(T5, void, void)) → insert1_out_gga(T5, void, tree(T5, void, void))
insert1_in_gga(T12, tree(T12, T13, T14), tree(T12, T13, T14)) → insert1_out_gga(T12, tree(T12, T13, T14), tree(T12, T13, T14))
insert1_in_gga(s(T28), tree(s(T28), T20, T21), tree(s(T28), T23, T21)) → U6_gga(T28, T20, T21, T23, p18_in_gga(T28, T20, T23))
p18_in_gga(T28, T20, T23) → U2_gga(T28, T20, T23, less20_in_g(T28))
less20_in_g(s(T33)) → U1_g(T33, less20_in_g(T33))
U1_g(T33, less20_out_g(T33)) → less20_out_g(s(T33))
U2_gga(T28, T20, T23, less20_out_g(T28)) → p18_out_gga(T28, T20, T23)
U2_gga(T28, T20, T23, less20_out_g(T28)) → U3_gga(T28, T20, T23, insert1_in_gga(s(T28), T20, T23))
insert1_in_gga(T45, tree(T45, T46, T47), tree(T45, T46, T49)) → U7_gga(T45, T46, T47, T49, less20_in_g(T45))
U7_gga(T45, T46, T47, T49, less20_out_g(T45)) → insert1_out_gga(T45, tree(T45, T46, T47), tree(T45, T46, T49))
U7_gga(T45, T46, T47, T49, less20_out_g(T45)) → U8_gga(T45, T46, T47, T49, insert1_in_gga(T45, T47, T49))
insert1_in_gga(s(T65), tree(s(T65), T59, T60), tree(s(T65), T59, T62)) → U9_gga(T65, T59, T60, T62, p18_in_gga(T65, T60, T62))
U9_gga(T65, T59, T60, T62, p18_out_gga(T65, T60, T62)) → insert1_out_gga(s(T65), tree(s(T65), T59, T60), tree(s(T65), T59, T62))
insert1_in_gga(0, tree(s(T82), T74, T75), tree(s(T82), T77, T75)) → U10_gga(T82, T74, T75, T77, insert1_in_gga(0, T74, T77))
insert1_in_gga(s(T91), tree(s(T92), T74, T75), tree(s(T92), T77, T75)) → U11_gga(T91, T92, T74, T75, T77, less48_in_gg(T91, T92))
less48_in_gg(0, s(T101)) → less48_out_gg(0, s(T101))
less48_in_gg(s(0), s(s(T114))) → less48_out_gg(s(0), s(s(T114)))
less48_in_gg(s(s(0)), s(s(s(T127)))) → less48_out_gg(s(s(0)), s(s(s(T127))))
less48_in_gg(s(s(s(0))), s(s(s(s(T140))))) → less48_out_gg(s(s(s(0))), s(s(s(s(T140)))))
less48_in_gg(s(s(s(s(0)))), s(s(s(s(s(T153)))))) → less48_out_gg(s(s(s(s(0)))), s(s(s(s(s(T153))))))
less48_in_gg(s(s(s(s(s(0))))), s(s(s(s(s(s(T166))))))) → less48_out_gg(s(s(s(s(s(0))))), s(s(s(s(s(s(T166)))))))
less48_in_gg(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T179)))))))) → less48_out_gg(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T179))))))))
less48_in_gg(s(s(s(s(s(s(s(T184))))))), s(s(s(s(s(s(s(T185)))))))) → U5_gg(T184, T185, less106_in_gg(T184, T185))
less106_in_gg(0, s(T196)) → less106_out_gg(0, s(T196))
less106_in_gg(s(T201), s(T202)) → U4_gg(T201, T202, less106_in_gg(T201, T202))
U4_gg(T201, T202, less106_out_gg(T201, T202)) → less106_out_gg(s(T201), s(T202))
U5_gg(T184, T185, less106_out_gg(T184, T185)) → less48_out_gg(s(s(s(s(s(s(s(T184))))))), s(s(s(s(s(s(s(T185))))))))
U11_gga(T91, T92, T74, T75, T77, less48_out_gg(T91, T92)) → insert1_out_gga(s(T91), tree(s(T92), T74, T75), tree(s(T92), T77, T75))
U11_gga(T91, T92, T74, T75, T77, less48_out_gg(T91, T92)) → U12_gga(T91, T92, T74, T75, T77, insert1_in_gga(s(T91), T74, T77))
insert1_in_gga(T217, tree(T218, T219, T220), tree(T218, T219, T222)) → U13_gga(T217, T218, T219, T220, T222, less106_in_gg(T218, T217))
U13_gga(T217, T218, T219, T220, T222, less106_out_gg(T218, T217)) → insert1_out_gga(T217, tree(T218, T219, T220), tree(T218, T219, T222))
U13_gga(T217, T218, T219, T220, T222, less106_out_gg(T218, T217)) → U14_gga(T217, T218, T219, T220, T222, insert1_in_gga(T217, T220, T222))
insert1_in_gga(s(T244), tree(0, T236, T237), tree(0, T236, T239)) → U15_gga(T244, T236, T237, T239, insert1_in_gga(s(T244), T237, T239))
insert1_in_gga(s(T252), tree(s(T251), T236, T237), tree(s(T251), T236, T239)) → U16_gga(T252, T251, T236, T237, T239, less106_in_gg(T251, T252))
U16_gga(T252, T251, T236, T237, T239, less106_out_gg(T251, T252)) → insert1_out_gga(s(T252), tree(s(T251), T236, T237), tree(s(T251), T236, T239))
U16_gga(T252, T251, T236, T237, T239, less106_out_gg(T251, T252)) → U17_gga(T252, T251, T236, T237, T239, insert1_in_gga(s(T252), T237, T239))
U17_gga(T252, T251, T236, T237, T239, insert1_out_gga(s(T252), T237, T239)) → insert1_out_gga(s(T252), tree(s(T251), T236, T237), tree(s(T251), T236, T239))
U15_gga(T244, T236, T237, T239, insert1_out_gga(s(T244), T237, T239)) → insert1_out_gga(s(T244), tree(0, T236, T237), tree(0, T236, T239))
U14_gga(T217, T218, T219, T220, T222, insert1_out_gga(T217, T220, T222)) → insert1_out_gga(T217, tree(T218, T219, T220), tree(T218, T219, T222))
U12_gga(T91, T92, T74, T75, T77, insert1_out_gga(s(T91), T74, T77)) → insert1_out_gga(s(T91), tree(s(T92), T74, T75), tree(s(T92), T77, T75))
U10_gga(T82, T74, T75, T77, insert1_out_gga(0, T74, T77)) → insert1_out_gga(0, tree(s(T82), T74, T75), tree(s(T82), T77, T75))
U8_gga(T45, T46, T47, T49, insert1_out_gga(T45, T47, T49)) → insert1_out_gga(T45, tree(T45, T46, T47), tree(T45, T46, T49))
U3_gga(T28, T20, T23, insert1_out_gga(s(T28), T20, T23)) → p18_out_gga(T28, T20, T23)
U6_gga(T28, T20, T21, T23, p18_out_gga(T28, T20, T23)) → insert1_out_gga(s(T28), tree(s(T28), T20, T21), tree(s(T28), T23, T21))
INSERT1_IN_GGA(s(T28), tree(s(T28), T20, T21), tree(s(T28), T23, T21)) → P18_IN_GGA(T28, T20, T23)
P18_IN_GGA(T28, T20, T23) → U2_GGA(T28, T20, T23, less20_in_g(T28))
U2_GGA(T28, T20, T23, less20_out_g(T28)) → INSERT1_IN_GGA(s(T28), T20, T23)
INSERT1_IN_GGA(T45, tree(T45, T46, T47), tree(T45, T46, T49)) → U7_GGA(T45, T46, T47, T49, less20_in_g(T45))
U7_GGA(T45, T46, T47, T49, less20_out_g(T45)) → INSERT1_IN_GGA(T45, T47, T49)
INSERT1_IN_GGA(s(T65), tree(s(T65), T59, T60), tree(s(T65), T59, T62)) → P18_IN_GGA(T65, T60, T62)
INSERT1_IN_GGA(0, tree(s(T82), T74, T75), tree(s(T82), T77, T75)) → INSERT1_IN_GGA(0, T74, T77)
INSERT1_IN_GGA(T217, tree(T218, T219, T220), tree(T218, T219, T222)) → U13_GGA(T217, T218, T219, T220, T222, less106_in_gg(T218, T217))
U13_GGA(T217, T218, T219, T220, T222, less106_out_gg(T218, T217)) → INSERT1_IN_GGA(T217, T220, T222)
INSERT1_IN_GGA(s(T91), tree(s(T92), T74, T75), tree(s(T92), T77, T75)) → U11_GGA(T91, T92, T74, T75, T77, less48_in_gg(T91, T92))
U11_GGA(T91, T92, T74, T75, T77, less48_out_gg(T91, T92)) → INSERT1_IN_GGA(s(T91), T74, T77)
INSERT1_IN_GGA(s(T244), tree(0, T236, T237), tree(0, T236, T239)) → INSERT1_IN_GGA(s(T244), T237, T239)
INSERT1_IN_GGA(s(T252), tree(s(T251), T236, T237), tree(s(T251), T236, T239)) → U16_GGA(T252, T251, T236, T237, T239, less106_in_gg(T251, T252))
U16_GGA(T252, T251, T236, T237, T239, less106_out_gg(T251, T252)) → INSERT1_IN_GGA(s(T252), T237, T239)
less20_in_g(s(T33)) → U1_g(T33, less20_in_g(T33))
less106_in_gg(0, s(T196)) → less106_out_gg(0, s(T196))
less106_in_gg(s(T201), s(T202)) → U4_gg(T201, T202, less106_in_gg(T201, T202))
less48_in_gg(0, s(T101)) → less48_out_gg(0, s(T101))
less48_in_gg(s(0), s(s(T114))) → less48_out_gg(s(0), s(s(T114)))
less48_in_gg(s(s(0)), s(s(s(T127)))) → less48_out_gg(s(s(0)), s(s(s(T127))))
less48_in_gg(s(s(s(0))), s(s(s(s(T140))))) → less48_out_gg(s(s(s(0))), s(s(s(s(T140)))))
less48_in_gg(s(s(s(s(0)))), s(s(s(s(s(T153)))))) → less48_out_gg(s(s(s(s(0)))), s(s(s(s(s(T153))))))
less48_in_gg(s(s(s(s(s(0))))), s(s(s(s(s(s(T166))))))) → less48_out_gg(s(s(s(s(s(0))))), s(s(s(s(s(s(T166)))))))
less48_in_gg(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T179)))))))) → less48_out_gg(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T179))))))))
less48_in_gg(s(s(s(s(s(s(s(T184))))))), s(s(s(s(s(s(s(T185)))))))) → U5_gg(T184, T185, less106_in_gg(T184, T185))
U1_g(T33, less20_out_g(T33)) → less20_out_g(s(T33))
U4_gg(T201, T202, less106_out_gg(T201, T202)) → less106_out_gg(s(T201), s(T202))
U5_gg(T184, T185, less106_out_gg(T184, T185)) → less48_out_gg(s(s(s(s(s(s(s(T184))))))), s(s(s(s(s(s(s(T185))))))))
INSERT1_IN_GGA(s(T28), tree(s(T28), T20, T21)) → P18_IN_GGA(T28, T20)
P18_IN_GGA(T28, T20) → U2_GGA(T28, T20, less20_in_g(T28))
U2_GGA(T28, T20, less20_out_g(T28)) → INSERT1_IN_GGA(s(T28), T20)
INSERT1_IN_GGA(T45, tree(T45, T46, T47)) → U7_GGA(T45, T46, T47, less20_in_g(T45))
U7_GGA(T45, T46, T47, less20_out_g(T45)) → INSERT1_IN_GGA(T45, T47)
INSERT1_IN_GGA(s(T65), tree(s(T65), T59, T60)) → P18_IN_GGA(T65, T60)
INSERT1_IN_GGA(0, tree(s(T82), T74, T75)) → INSERT1_IN_GGA(0, T74)
INSERT1_IN_GGA(T217, tree(T218, T219, T220)) → U13_GGA(T217, T218, T219, T220, less106_in_gg(T218, T217))
U13_GGA(T217, T218, T219, T220, less106_out_gg(T218, T217)) → INSERT1_IN_GGA(T217, T220)
INSERT1_IN_GGA(s(T91), tree(s(T92), T74, T75)) → U11_GGA(T91, T92, T74, T75, less48_in_gg(T91, T92))
U11_GGA(T91, T92, T74, T75, less48_out_gg(T91, T92)) → INSERT1_IN_GGA(s(T91), T74)
INSERT1_IN_GGA(s(T244), tree(0, T236, T237)) → INSERT1_IN_GGA(s(T244), T237)
INSERT1_IN_GGA(s(T252), tree(s(T251), T236, T237)) → U16_GGA(T252, T251, T236, T237, less106_in_gg(T251, T252))
U16_GGA(T252, T251, T236, T237, less106_out_gg(T251, T252)) → INSERT1_IN_GGA(s(T252), T237)
less20_in_g(s(T33)) → U1_g(T33, less20_in_g(T33))
less106_in_gg(0, s(T196)) → less106_out_gg(0, s(T196))
less106_in_gg(s(T201), s(T202)) → U4_gg(T201, T202, less106_in_gg(T201, T202))
less48_in_gg(0, s(T101)) → less48_out_gg(0, s(T101))
less48_in_gg(s(0), s(s(T114))) → less48_out_gg(s(0), s(s(T114)))
less48_in_gg(s(s(0)), s(s(s(T127)))) → less48_out_gg(s(s(0)), s(s(s(T127))))
less48_in_gg(s(s(s(0))), s(s(s(s(T140))))) → less48_out_gg(s(s(s(0))), s(s(s(s(T140)))))
less48_in_gg(s(s(s(s(0)))), s(s(s(s(s(T153)))))) → less48_out_gg(s(s(s(s(0)))), s(s(s(s(s(T153))))))
less48_in_gg(s(s(s(s(s(0))))), s(s(s(s(s(s(T166))))))) → less48_out_gg(s(s(s(s(s(0))))), s(s(s(s(s(s(T166)))))))
less48_in_gg(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T179)))))))) → less48_out_gg(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T179))))))))
less48_in_gg(s(s(s(s(s(s(s(T184))))))), s(s(s(s(s(s(s(T185)))))))) → U5_gg(T184, T185, less106_in_gg(T184, T185))
U1_g(T33, less20_out_g(T33)) → less20_out_g(s(T33))
U4_gg(T201, T202, less106_out_gg(T201, T202)) → less106_out_gg(s(T201), s(T202))
U5_gg(T184, T185, less106_out_gg(T184, T185)) → less48_out_gg(s(s(s(s(s(s(s(T184))))))), s(s(s(s(s(s(s(T185))))))))
less20_in_g(x0)
less106_in_gg(x0, x1)
less48_in_gg(x0, x1)
U1_g(x0, x1)
U4_gg(x0, x1, x2)
U5_gg(x0, x1, x2)
From the DPs we obtained the following set of size-change graphs: