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_gag(T5, void, tree(T5, void, void)) → insert1_out_gag(T5, void, tree(T5, void, void))
insert1_in_gag(T9, tree(T9, void, void), tree(T9, void, void)) → insert1_out_gag(T9, tree(T9, void, void), tree(T9, void, void))
insert1_in_gag(s(T25), tree(s(T25), T20, void), tree(s(T25), void, void)) → U7_gag(T25, T20, p15_in_ga(T25, T20))
p15_in_ga(T25, T20) → U2_ga(T25, T20, less17_in_g(T25))
less17_in_g(s(T30)) → U1_g(T30, less17_in_g(T30))
U1_g(T30, less17_out_g(T30)) → less17_out_g(s(T30))
U2_ga(T25, T20, less17_out_g(T25)) → p15_out_ga(T25, T20)
U2_ga(T25, T20, less17_out_g(T25)) → U3_ga(T25, T20, insert1_in_gag(s(T25), T20, void))
insert1_in_gag(T56, tree(T56, void, T60), tree(T56, void, void)) → U8_gag(T56, T60, less17_in_g(T56))
U8_gag(T56, T60, less17_out_g(T56)) → insert1_out_gag(T56, tree(T56, void, T60), tree(T56, void, void))
U8_gag(T56, T60, less17_out_g(T56)) → U9_gag(T56, T60, insert1_in_gag(T56, T60, void))
insert1_in_gag(T83, tree(T83, void, T87), tree(T83, void, void)) → U10_gag(T83, T87, p28_in_ga(T83, T87))
p28_in_ga(s(T90), T87) → U4_ga(T90, T87, p15_in_ga(T90, T87))
U4_ga(T90, T87, p15_out_ga(T90, T87)) → p28_out_ga(s(T90), T87)
U10_gag(T83, T87, p28_out_ga(T83, T87)) → insert1_out_gag(T83, tree(T83, void, T87), tree(T83, void, void))
insert1_in_gag(s(T105), tree(s(T105), T100, void), tree(s(T105), void, void)) → U11_gag(T105, T100, p15_in_ga(T105, T100))
U11_gag(T105, T100, p15_out_ga(T105, T100)) → insert1_out_gag(s(T105), tree(s(T105), T100, void), tree(s(T105), void, void))
insert1_in_gag(T115, tree(T115, void, T119), tree(T115, void, void)) → U12_gag(T115, T119, p28_in_ga(T115, T119))
U12_gag(T115, T119, p28_out_ga(T115, T119)) → insert1_out_gag(T115, tree(T115, void, T119), tree(T115, void, void))
insert1_in_gag(s(T132), tree(s(T132), void, T129), tree(s(T132), void, void)) → U13_gag(T132, T129, p15_in_ga(T132, T129))
U13_gag(T132, T129, p15_out_ga(T132, T129)) → insert1_out_gag(s(T132), tree(s(T132), void, T129), tree(s(T132), void, void))
insert1_in_gag(T137, tree(T137, T138, T139), tree(T137, T138, T139)) → insert1_out_gag(T137, tree(T137, T138, T139), tree(T137, T138, T139))
insert1_in_gag(s(T155), tree(s(T155), T150, T148), tree(s(T155), T149, T148)) → U14_gag(T155, T150, T148, T149, less17_in_g(T155))
U14_gag(T155, T150, T148, T149, less17_out_g(T155)) → insert1_out_gag(s(T155), tree(s(T155), T150, T148), tree(s(T155), T149, T148))
U14_gag(T155, T150, T148, T149, less17_out_g(T155)) → U15_gag(T155, T150, T148, T149, insert1_in_gag(s(T155), T150, T149))
insert1_in_gag(T170, tree(T170, T172, T175), tree(T170, T172, T174)) → U16_gag(T170, T172, T175, T174, less17_in_g(T170))
U16_gag(T170, T172, T175, T174, less17_out_g(T170)) → insert1_out_gag(T170, tree(T170, T172, T175), tree(T170, T172, T174))
U16_gag(T170, T172, T175, T174, less17_out_g(T170)) → U17_gag(T170, T172, T175, T174, insert1_in_gag(T170, T175, T174))
insert1_in_gag(s(T193), tree(s(T193), T187, T190), tree(s(T193), T187, T189)) → U18_gag(T193, T187, T190, T189, less17_in_g(T193))
U18_gag(T193, T187, T190, T189, less17_out_g(T193)) → insert1_out_gag(s(T193), tree(s(T193), T187, T190), tree(s(T193), T187, T189))
U18_gag(T193, T187, T190, T189, less17_out_g(T193)) → U19_gag(T193, T187, T190, T189, insert1_in_gag(s(T193), T190, T189))
insert1_in_gag(0, tree(s(T213), T208, T206), tree(s(T213), T207, T206)) → U20_gag(T213, T208, T206, T207, insert1_in_gag(0, T208, T207))
insert1_in_gag(s(T222), tree(s(T223), T208, T206), tree(s(T223), T207, T206)) → U21_gag(T222, T223, T208, T206, T207, less88_in_gg(T222, T223))
less88_in_gg(0, s(T232)) → less88_out_gg(0, s(T232))
less88_in_gg(s(0), s(s(T245))) → less88_out_gg(s(0), s(s(T245)))
less88_in_gg(s(s(0)), s(s(s(T258)))) → less88_out_gg(s(s(0)), s(s(s(T258))))
less88_in_gg(s(s(s(0))), s(s(s(s(T271))))) → less88_out_gg(s(s(s(0))), s(s(s(s(T271)))))
less88_in_gg(s(s(s(s(0)))), s(s(s(s(s(T284)))))) → less88_out_gg(s(s(s(s(0)))), s(s(s(s(s(T284))))))
less88_in_gg(s(s(s(s(s(0))))), s(s(s(s(s(s(T297))))))) → less88_out_gg(s(s(s(s(s(0))))), s(s(s(s(s(s(T297)))))))
less88_in_gg(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T310)))))))) → less88_out_gg(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T310))))))))
less88_in_gg(s(s(s(s(s(s(s(T315))))))), s(s(s(s(s(s(s(T316)))))))) → U6_gg(T315, T316, less146_in_gg(T315, T316))
less146_in_gg(0, s(T327)) → less146_out_gg(0, s(T327))
less146_in_gg(s(T332), s(T333)) → U5_gg(T332, T333, less146_in_gg(T332, T333))
U5_gg(T332, T333, less146_out_gg(T332, T333)) → less146_out_gg(s(T332), s(T333))
U6_gg(T315, T316, less146_out_gg(T315, T316)) → less88_out_gg(s(s(s(s(s(s(s(T315))))))), s(s(s(s(s(s(s(T316))))))))
U21_gag(T222, T223, T208, T206, T207, less88_out_gg(T222, T223)) → insert1_out_gag(s(T222), tree(s(T223), T208, T206), tree(s(T223), T207, T206))
U21_gag(T222, T223, T208, T206, T207, less88_out_gg(T222, T223)) → U22_gag(T222, T223, T208, T206, T207, insert1_in_gag(s(T222), T208, T207))
insert1_in_gag(T348, tree(T349, T350, T353), tree(T349, T350, T352)) → U23_gag(T348, T349, T350, T353, T352, less146_in_gg(T349, T348))
U23_gag(T348, T349, T350, T353, T352, less146_out_gg(T349, T348)) → insert1_out_gag(T348, tree(T349, T350, T353), tree(T349, T350, T352))
U23_gag(T348, T349, T350, T353, T352, less146_out_gg(T349, T348)) → U24_gag(T348, T349, T350, T353, T352, insert1_in_gag(T348, T353, T352))
insert1_in_gag(s(T375), tree(0, T367, T370), tree(0, T367, T369)) → U25_gag(T375, T367, T370, T369, insert1_in_gag(s(T375), T370, T369))
insert1_in_gag(s(T383), tree(s(T382), T367, T370), tree(s(T382), T367, T369)) → U26_gag(T383, T382, T367, T370, T369, less146_in_gg(T382, T383))
U26_gag(T383, T382, T367, T370, T369, less146_out_gg(T382, T383)) → insert1_out_gag(s(T383), tree(s(T382), T367, T370), tree(s(T382), T367, T369))
U26_gag(T383, T382, T367, T370, T369, less146_out_gg(T382, T383)) → U27_gag(T383, T382, T367, T370, T369, insert1_in_gag(s(T383), T370, T369))
U27_gag(T383, T382, T367, T370, T369, insert1_out_gag(s(T383), T370, T369)) → insert1_out_gag(s(T383), tree(s(T382), T367, T370), tree(s(T382), T367, T369))
U25_gag(T375, T367, T370, T369, insert1_out_gag(s(T375), T370, T369)) → insert1_out_gag(s(T375), tree(0, T367, T370), tree(0, T367, T369))
U24_gag(T348, T349, T350, T353, T352, insert1_out_gag(T348, T353, T352)) → insert1_out_gag(T348, tree(T349, T350, T353), tree(T349, T350, T352))
U22_gag(T222, T223, T208, T206, T207, insert1_out_gag(s(T222), T208, T207)) → insert1_out_gag(s(T222), tree(s(T223), T208, T206), tree(s(T223), T207, T206))
U20_gag(T213, T208, T206, T207, insert1_out_gag(0, T208, T207)) → insert1_out_gag(0, tree(s(T213), T208, T206), tree(s(T213), T207, T206))
U19_gag(T193, T187, T190, T189, insert1_out_gag(s(T193), T190, T189)) → insert1_out_gag(s(T193), tree(s(T193), T187, T190), tree(s(T193), T187, T189))
U17_gag(T170, T172, T175, T174, insert1_out_gag(T170, T175, T174)) → insert1_out_gag(T170, tree(T170, T172, T175), tree(T170, T172, T174))
U15_gag(T155, T150, T148, T149, insert1_out_gag(s(T155), T150, T149)) → insert1_out_gag(s(T155), tree(s(T155), T150, T148), tree(s(T155), T149, T148))
U9_gag(T56, T60, insert1_out_gag(T56, T60, void)) → insert1_out_gag(T56, tree(T56, void, T60), tree(T56, void, void))
U3_ga(T25, T20, insert1_out_gag(s(T25), T20, void)) → p15_out_ga(T25, T20)
U7_gag(T25, T20, p15_out_ga(T25, T20)) → insert1_out_gag(s(T25), tree(s(T25), T20, void), tree(s(T25), void, void))
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
insert1_in_gag(T5, void, tree(T5, void, void)) → insert1_out_gag(T5, void, tree(T5, void, void))
insert1_in_gag(T9, tree(T9, void, void), tree(T9, void, void)) → insert1_out_gag(T9, tree(T9, void, void), tree(T9, void, void))
insert1_in_gag(s(T25), tree(s(T25), T20, void), tree(s(T25), void, void)) → U7_gag(T25, T20, p15_in_ga(T25, T20))
p15_in_ga(T25, T20) → U2_ga(T25, T20, less17_in_g(T25))
less17_in_g(s(T30)) → U1_g(T30, less17_in_g(T30))
U1_g(T30, less17_out_g(T30)) → less17_out_g(s(T30))
U2_ga(T25, T20, less17_out_g(T25)) → p15_out_ga(T25, T20)
U2_ga(T25, T20, less17_out_g(T25)) → U3_ga(T25, T20, insert1_in_gag(s(T25), T20, void))
insert1_in_gag(T56, tree(T56, void, T60), tree(T56, void, void)) → U8_gag(T56, T60, less17_in_g(T56))
U8_gag(T56, T60, less17_out_g(T56)) → insert1_out_gag(T56, tree(T56, void, T60), tree(T56, void, void))
U8_gag(T56, T60, less17_out_g(T56)) → U9_gag(T56, T60, insert1_in_gag(T56, T60, void))
insert1_in_gag(T83, tree(T83, void, T87), tree(T83, void, void)) → U10_gag(T83, T87, p28_in_ga(T83, T87))
p28_in_ga(s(T90), T87) → U4_ga(T90, T87, p15_in_ga(T90, T87))
U4_ga(T90, T87, p15_out_ga(T90, T87)) → p28_out_ga(s(T90), T87)
U10_gag(T83, T87, p28_out_ga(T83, T87)) → insert1_out_gag(T83, tree(T83, void, T87), tree(T83, void, void))
insert1_in_gag(s(T105), tree(s(T105), T100, void), tree(s(T105), void, void)) → U11_gag(T105, T100, p15_in_ga(T105, T100))
U11_gag(T105, T100, p15_out_ga(T105, T100)) → insert1_out_gag(s(T105), tree(s(T105), T100, void), tree(s(T105), void, void))
insert1_in_gag(T115, tree(T115, void, T119), tree(T115, void, void)) → U12_gag(T115, T119, p28_in_ga(T115, T119))
U12_gag(T115, T119, p28_out_ga(T115, T119)) → insert1_out_gag(T115, tree(T115, void, T119), tree(T115, void, void))
insert1_in_gag(s(T132), tree(s(T132), void, T129), tree(s(T132), void, void)) → U13_gag(T132, T129, p15_in_ga(T132, T129))
U13_gag(T132, T129, p15_out_ga(T132, T129)) → insert1_out_gag(s(T132), tree(s(T132), void, T129), tree(s(T132), void, void))
insert1_in_gag(T137, tree(T137, T138, T139), tree(T137, T138, T139)) → insert1_out_gag(T137, tree(T137, T138, T139), tree(T137, T138, T139))
insert1_in_gag(s(T155), tree(s(T155), T150, T148), tree(s(T155), T149, T148)) → U14_gag(T155, T150, T148, T149, less17_in_g(T155))
U14_gag(T155, T150, T148, T149, less17_out_g(T155)) → insert1_out_gag(s(T155), tree(s(T155), T150, T148), tree(s(T155), T149, T148))
U14_gag(T155, T150, T148, T149, less17_out_g(T155)) → U15_gag(T155, T150, T148, T149, insert1_in_gag(s(T155), T150, T149))
insert1_in_gag(T170, tree(T170, T172, T175), tree(T170, T172, T174)) → U16_gag(T170, T172, T175, T174, less17_in_g(T170))
U16_gag(T170, T172, T175, T174, less17_out_g(T170)) → insert1_out_gag(T170, tree(T170, T172, T175), tree(T170, T172, T174))
U16_gag(T170, T172, T175, T174, less17_out_g(T170)) → U17_gag(T170, T172, T175, T174, insert1_in_gag(T170, T175, T174))
insert1_in_gag(s(T193), tree(s(T193), T187, T190), tree(s(T193), T187, T189)) → U18_gag(T193, T187, T190, T189, less17_in_g(T193))
U18_gag(T193, T187, T190, T189, less17_out_g(T193)) → insert1_out_gag(s(T193), tree(s(T193), T187, T190), tree(s(T193), T187, T189))
U18_gag(T193, T187, T190, T189, less17_out_g(T193)) → U19_gag(T193, T187, T190, T189, insert1_in_gag(s(T193), T190, T189))
insert1_in_gag(0, tree(s(T213), T208, T206), tree(s(T213), T207, T206)) → U20_gag(T213, T208, T206, T207, insert1_in_gag(0, T208, T207))
insert1_in_gag(s(T222), tree(s(T223), T208, T206), tree(s(T223), T207, T206)) → U21_gag(T222, T223, T208, T206, T207, less88_in_gg(T222, T223))
less88_in_gg(0, s(T232)) → less88_out_gg(0, s(T232))
less88_in_gg(s(0), s(s(T245))) → less88_out_gg(s(0), s(s(T245)))
less88_in_gg(s(s(0)), s(s(s(T258)))) → less88_out_gg(s(s(0)), s(s(s(T258))))
less88_in_gg(s(s(s(0))), s(s(s(s(T271))))) → less88_out_gg(s(s(s(0))), s(s(s(s(T271)))))
less88_in_gg(s(s(s(s(0)))), s(s(s(s(s(T284)))))) → less88_out_gg(s(s(s(s(0)))), s(s(s(s(s(T284))))))
less88_in_gg(s(s(s(s(s(0))))), s(s(s(s(s(s(T297))))))) → less88_out_gg(s(s(s(s(s(0))))), s(s(s(s(s(s(T297)))))))
less88_in_gg(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T310)))))))) → less88_out_gg(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T310))))))))
less88_in_gg(s(s(s(s(s(s(s(T315))))))), s(s(s(s(s(s(s(T316)))))))) → U6_gg(T315, T316, less146_in_gg(T315, T316))
less146_in_gg(0, s(T327)) → less146_out_gg(0, s(T327))
less146_in_gg(s(T332), s(T333)) → U5_gg(T332, T333, less146_in_gg(T332, T333))
U5_gg(T332, T333, less146_out_gg(T332, T333)) → less146_out_gg(s(T332), s(T333))
U6_gg(T315, T316, less146_out_gg(T315, T316)) → less88_out_gg(s(s(s(s(s(s(s(T315))))))), s(s(s(s(s(s(s(T316))))))))
U21_gag(T222, T223, T208, T206, T207, less88_out_gg(T222, T223)) → insert1_out_gag(s(T222), tree(s(T223), T208, T206), tree(s(T223), T207, T206))
U21_gag(T222, T223, T208, T206, T207, less88_out_gg(T222, T223)) → U22_gag(T222, T223, T208, T206, T207, insert1_in_gag(s(T222), T208, T207))
insert1_in_gag(T348, tree(T349, T350, T353), tree(T349, T350, T352)) → U23_gag(T348, T349, T350, T353, T352, less146_in_gg(T349, T348))
U23_gag(T348, T349, T350, T353, T352, less146_out_gg(T349, T348)) → insert1_out_gag(T348, tree(T349, T350, T353), tree(T349, T350, T352))
U23_gag(T348, T349, T350, T353, T352, less146_out_gg(T349, T348)) → U24_gag(T348, T349, T350, T353, T352, insert1_in_gag(T348, T353, T352))
insert1_in_gag(s(T375), tree(0, T367, T370), tree(0, T367, T369)) → U25_gag(T375, T367, T370, T369, insert1_in_gag(s(T375), T370, T369))
insert1_in_gag(s(T383), tree(s(T382), T367, T370), tree(s(T382), T367, T369)) → U26_gag(T383, T382, T367, T370, T369, less146_in_gg(T382, T383))
U26_gag(T383, T382, T367, T370, T369, less146_out_gg(T382, T383)) → insert1_out_gag(s(T383), tree(s(T382), T367, T370), tree(s(T382), T367, T369))
U26_gag(T383, T382, T367, T370, T369, less146_out_gg(T382, T383)) → U27_gag(T383, T382, T367, T370, T369, insert1_in_gag(s(T383), T370, T369))
U27_gag(T383, T382, T367, T370, T369, insert1_out_gag(s(T383), T370, T369)) → insert1_out_gag(s(T383), tree(s(T382), T367, T370), tree(s(T382), T367, T369))
U25_gag(T375, T367, T370, T369, insert1_out_gag(s(T375), T370, T369)) → insert1_out_gag(s(T375), tree(0, T367, T370), tree(0, T367, T369))
U24_gag(T348, T349, T350, T353, T352, insert1_out_gag(T348, T353, T352)) → insert1_out_gag(T348, tree(T349, T350, T353), tree(T349, T350, T352))
U22_gag(T222, T223, T208, T206, T207, insert1_out_gag(s(T222), T208, T207)) → insert1_out_gag(s(T222), tree(s(T223), T208, T206), tree(s(T223), T207, T206))
U20_gag(T213, T208, T206, T207, insert1_out_gag(0, T208, T207)) → insert1_out_gag(0, tree(s(T213), T208, T206), tree(s(T213), T207, T206))
U19_gag(T193, T187, T190, T189, insert1_out_gag(s(T193), T190, T189)) → insert1_out_gag(s(T193), tree(s(T193), T187, T190), tree(s(T193), T187, T189))
U17_gag(T170, T172, T175, T174, insert1_out_gag(T170, T175, T174)) → insert1_out_gag(T170, tree(T170, T172, T175), tree(T170, T172, T174))
U15_gag(T155, T150, T148, T149, insert1_out_gag(s(T155), T150, T149)) → insert1_out_gag(s(T155), tree(s(T155), T150, T148), tree(s(T155), T149, T148))
U9_gag(T56, T60, insert1_out_gag(T56, T60, void)) → insert1_out_gag(T56, tree(T56, void, T60), tree(T56, void, void))
U3_ga(T25, T20, insert1_out_gag(s(T25), T20, void)) → p15_out_ga(T25, T20)
U7_gag(T25, T20, p15_out_ga(T25, T20)) → insert1_out_gag(s(T25), tree(s(T25), T20, void), tree(s(T25), void, void))
INSERT1_IN_GAG(s(T25), tree(s(T25), T20, void), tree(s(T25), void, void)) → U7_GAG(T25, T20, p15_in_ga(T25, T20))
INSERT1_IN_GAG(s(T25), tree(s(T25), T20, void), tree(s(T25), void, void)) → P15_IN_GA(T25, T20)
P15_IN_GA(T25, T20) → U2_GA(T25, T20, less17_in_g(T25))
P15_IN_GA(T25, T20) → LESS17_IN_G(T25)
LESS17_IN_G(s(T30)) → U1_G(T30, less17_in_g(T30))
LESS17_IN_G(s(T30)) → LESS17_IN_G(T30)
U2_GA(T25, T20, less17_out_g(T25)) → U3_GA(T25, T20, insert1_in_gag(s(T25), T20, void))
U2_GA(T25, T20, less17_out_g(T25)) → INSERT1_IN_GAG(s(T25), T20, void)
INSERT1_IN_GAG(T56, tree(T56, void, T60), tree(T56, void, void)) → U8_GAG(T56, T60, less17_in_g(T56))
INSERT1_IN_GAG(T56, tree(T56, void, T60), tree(T56, void, void)) → LESS17_IN_G(T56)
U8_GAG(T56, T60, less17_out_g(T56)) → U9_GAG(T56, T60, insert1_in_gag(T56, T60, void))
U8_GAG(T56, T60, less17_out_g(T56)) → INSERT1_IN_GAG(T56, T60, void)
INSERT1_IN_GAG(T83, tree(T83, void, T87), tree(T83, void, void)) → U10_GAG(T83, T87, p28_in_ga(T83, T87))
INSERT1_IN_GAG(T83, tree(T83, void, T87), tree(T83, void, void)) → P28_IN_GA(T83, T87)
P28_IN_GA(s(T90), T87) → U4_GA(T90, T87, p15_in_ga(T90, T87))
P28_IN_GA(s(T90), T87) → P15_IN_GA(T90, T87)
INSERT1_IN_GAG(s(T105), tree(s(T105), T100, void), tree(s(T105), void, void)) → U11_GAG(T105, T100, p15_in_ga(T105, T100))
INSERT1_IN_GAG(T115, tree(T115, void, T119), tree(T115, void, void)) → U12_GAG(T115, T119, p28_in_ga(T115, T119))
INSERT1_IN_GAG(s(T132), tree(s(T132), void, T129), tree(s(T132), void, void)) → U13_GAG(T132, T129, p15_in_ga(T132, T129))
INSERT1_IN_GAG(s(T132), tree(s(T132), void, T129), tree(s(T132), void, void)) → P15_IN_GA(T132, T129)
INSERT1_IN_GAG(s(T155), tree(s(T155), T150, T148), tree(s(T155), T149, T148)) → U14_GAG(T155, T150, T148, T149, less17_in_g(T155))
INSERT1_IN_GAG(s(T155), tree(s(T155), T150, T148), tree(s(T155), T149, T148)) → LESS17_IN_G(T155)
U14_GAG(T155, T150, T148, T149, less17_out_g(T155)) → U15_GAG(T155, T150, T148, T149, insert1_in_gag(s(T155), T150, T149))
U14_GAG(T155, T150, T148, T149, less17_out_g(T155)) → INSERT1_IN_GAG(s(T155), T150, T149)
INSERT1_IN_GAG(T170, tree(T170, T172, T175), tree(T170, T172, T174)) → U16_GAG(T170, T172, T175, T174, less17_in_g(T170))
INSERT1_IN_GAG(T170, tree(T170, T172, T175), tree(T170, T172, T174)) → LESS17_IN_G(T170)
U16_GAG(T170, T172, T175, T174, less17_out_g(T170)) → U17_GAG(T170, T172, T175, T174, insert1_in_gag(T170, T175, T174))
U16_GAG(T170, T172, T175, T174, less17_out_g(T170)) → INSERT1_IN_GAG(T170, T175, T174)
INSERT1_IN_GAG(s(T193), tree(s(T193), T187, T190), tree(s(T193), T187, T189)) → U18_GAG(T193, T187, T190, T189, less17_in_g(T193))
INSERT1_IN_GAG(s(T193), tree(s(T193), T187, T190), tree(s(T193), T187, T189)) → LESS17_IN_G(T193)
U18_GAG(T193, T187, T190, T189, less17_out_g(T193)) → U19_GAG(T193, T187, T190, T189, insert1_in_gag(s(T193), T190, T189))
U18_GAG(T193, T187, T190, T189, less17_out_g(T193)) → INSERT1_IN_GAG(s(T193), T190, T189)
INSERT1_IN_GAG(0, tree(s(T213), T208, T206), tree(s(T213), T207, T206)) → U20_GAG(T213, T208, T206, T207, insert1_in_gag(0, T208, T207))
INSERT1_IN_GAG(0, tree(s(T213), T208, T206), tree(s(T213), T207, T206)) → INSERT1_IN_GAG(0, T208, T207)
INSERT1_IN_GAG(s(T222), tree(s(T223), T208, T206), tree(s(T223), T207, T206)) → U21_GAG(T222, T223, T208, T206, T207, less88_in_gg(T222, T223))
INSERT1_IN_GAG(s(T222), tree(s(T223), T208, T206), tree(s(T223), T207, T206)) → LESS88_IN_GG(T222, T223)
LESS88_IN_GG(s(s(s(s(s(s(s(T315))))))), s(s(s(s(s(s(s(T316)))))))) → U6_GG(T315, T316, less146_in_gg(T315, T316))
LESS88_IN_GG(s(s(s(s(s(s(s(T315))))))), s(s(s(s(s(s(s(T316)))))))) → LESS146_IN_GG(T315, T316)
LESS146_IN_GG(s(T332), s(T333)) → U5_GG(T332, T333, less146_in_gg(T332, T333))
LESS146_IN_GG(s(T332), s(T333)) → LESS146_IN_GG(T332, T333)
U21_GAG(T222, T223, T208, T206, T207, less88_out_gg(T222, T223)) → U22_GAG(T222, T223, T208, T206, T207, insert1_in_gag(s(T222), T208, T207))
U21_GAG(T222, T223, T208, T206, T207, less88_out_gg(T222, T223)) → INSERT1_IN_GAG(s(T222), T208, T207)
INSERT1_IN_GAG(T348, tree(T349, T350, T353), tree(T349, T350, T352)) → U23_GAG(T348, T349, T350, T353, T352, less146_in_gg(T349, T348))
INSERT1_IN_GAG(T348, tree(T349, T350, T353), tree(T349, T350, T352)) → LESS146_IN_GG(T349, T348)
U23_GAG(T348, T349, T350, T353, T352, less146_out_gg(T349, T348)) → U24_GAG(T348, T349, T350, T353, T352, insert1_in_gag(T348, T353, T352))
U23_GAG(T348, T349, T350, T353, T352, less146_out_gg(T349, T348)) → INSERT1_IN_GAG(T348, T353, T352)
INSERT1_IN_GAG(s(T375), tree(0, T367, T370), tree(0, T367, T369)) → U25_GAG(T375, T367, T370, T369, insert1_in_gag(s(T375), T370, T369))
INSERT1_IN_GAG(s(T375), tree(0, T367, T370), tree(0, T367, T369)) → INSERT1_IN_GAG(s(T375), T370, T369)
INSERT1_IN_GAG(s(T383), tree(s(T382), T367, T370), tree(s(T382), T367, T369)) → U26_GAG(T383, T382, T367, T370, T369, less146_in_gg(T382, T383))
INSERT1_IN_GAG(s(T383), tree(s(T382), T367, T370), tree(s(T382), T367, T369)) → LESS146_IN_GG(T382, T383)
U26_GAG(T383, T382, T367, T370, T369, less146_out_gg(T382, T383)) → U27_GAG(T383, T382, T367, T370, T369, insert1_in_gag(s(T383), T370, T369))
U26_GAG(T383, T382, T367, T370, T369, less146_out_gg(T382, T383)) → INSERT1_IN_GAG(s(T383), T370, T369)
insert1_in_gag(T5, void, tree(T5, void, void)) → insert1_out_gag(T5, void, tree(T5, void, void))
insert1_in_gag(T9, tree(T9, void, void), tree(T9, void, void)) → insert1_out_gag(T9, tree(T9, void, void), tree(T9, void, void))
insert1_in_gag(s(T25), tree(s(T25), T20, void), tree(s(T25), void, void)) → U7_gag(T25, T20, p15_in_ga(T25, T20))
p15_in_ga(T25, T20) → U2_ga(T25, T20, less17_in_g(T25))
less17_in_g(s(T30)) → U1_g(T30, less17_in_g(T30))
U1_g(T30, less17_out_g(T30)) → less17_out_g(s(T30))
U2_ga(T25, T20, less17_out_g(T25)) → p15_out_ga(T25, T20)
U2_ga(T25, T20, less17_out_g(T25)) → U3_ga(T25, T20, insert1_in_gag(s(T25), T20, void))
insert1_in_gag(T56, tree(T56, void, T60), tree(T56, void, void)) → U8_gag(T56, T60, less17_in_g(T56))
U8_gag(T56, T60, less17_out_g(T56)) → insert1_out_gag(T56, tree(T56, void, T60), tree(T56, void, void))
U8_gag(T56, T60, less17_out_g(T56)) → U9_gag(T56, T60, insert1_in_gag(T56, T60, void))
insert1_in_gag(T83, tree(T83, void, T87), tree(T83, void, void)) → U10_gag(T83, T87, p28_in_ga(T83, T87))
p28_in_ga(s(T90), T87) → U4_ga(T90, T87, p15_in_ga(T90, T87))
U4_ga(T90, T87, p15_out_ga(T90, T87)) → p28_out_ga(s(T90), T87)
U10_gag(T83, T87, p28_out_ga(T83, T87)) → insert1_out_gag(T83, tree(T83, void, T87), tree(T83, void, void))
insert1_in_gag(s(T105), tree(s(T105), T100, void), tree(s(T105), void, void)) → U11_gag(T105, T100, p15_in_ga(T105, T100))
U11_gag(T105, T100, p15_out_ga(T105, T100)) → insert1_out_gag(s(T105), tree(s(T105), T100, void), tree(s(T105), void, void))
insert1_in_gag(T115, tree(T115, void, T119), tree(T115, void, void)) → U12_gag(T115, T119, p28_in_ga(T115, T119))
U12_gag(T115, T119, p28_out_ga(T115, T119)) → insert1_out_gag(T115, tree(T115, void, T119), tree(T115, void, void))
insert1_in_gag(s(T132), tree(s(T132), void, T129), tree(s(T132), void, void)) → U13_gag(T132, T129, p15_in_ga(T132, T129))
U13_gag(T132, T129, p15_out_ga(T132, T129)) → insert1_out_gag(s(T132), tree(s(T132), void, T129), tree(s(T132), void, void))
insert1_in_gag(T137, tree(T137, T138, T139), tree(T137, T138, T139)) → insert1_out_gag(T137, tree(T137, T138, T139), tree(T137, T138, T139))
insert1_in_gag(s(T155), tree(s(T155), T150, T148), tree(s(T155), T149, T148)) → U14_gag(T155, T150, T148, T149, less17_in_g(T155))
U14_gag(T155, T150, T148, T149, less17_out_g(T155)) → insert1_out_gag(s(T155), tree(s(T155), T150, T148), tree(s(T155), T149, T148))
U14_gag(T155, T150, T148, T149, less17_out_g(T155)) → U15_gag(T155, T150, T148, T149, insert1_in_gag(s(T155), T150, T149))
insert1_in_gag(T170, tree(T170, T172, T175), tree(T170, T172, T174)) → U16_gag(T170, T172, T175, T174, less17_in_g(T170))
U16_gag(T170, T172, T175, T174, less17_out_g(T170)) → insert1_out_gag(T170, tree(T170, T172, T175), tree(T170, T172, T174))
U16_gag(T170, T172, T175, T174, less17_out_g(T170)) → U17_gag(T170, T172, T175, T174, insert1_in_gag(T170, T175, T174))
insert1_in_gag(s(T193), tree(s(T193), T187, T190), tree(s(T193), T187, T189)) → U18_gag(T193, T187, T190, T189, less17_in_g(T193))
U18_gag(T193, T187, T190, T189, less17_out_g(T193)) → insert1_out_gag(s(T193), tree(s(T193), T187, T190), tree(s(T193), T187, T189))
U18_gag(T193, T187, T190, T189, less17_out_g(T193)) → U19_gag(T193, T187, T190, T189, insert1_in_gag(s(T193), T190, T189))
insert1_in_gag(0, tree(s(T213), T208, T206), tree(s(T213), T207, T206)) → U20_gag(T213, T208, T206, T207, insert1_in_gag(0, T208, T207))
insert1_in_gag(s(T222), tree(s(T223), T208, T206), tree(s(T223), T207, T206)) → U21_gag(T222, T223, T208, T206, T207, less88_in_gg(T222, T223))
less88_in_gg(0, s(T232)) → less88_out_gg(0, s(T232))
less88_in_gg(s(0), s(s(T245))) → less88_out_gg(s(0), s(s(T245)))
less88_in_gg(s(s(0)), s(s(s(T258)))) → less88_out_gg(s(s(0)), s(s(s(T258))))
less88_in_gg(s(s(s(0))), s(s(s(s(T271))))) → less88_out_gg(s(s(s(0))), s(s(s(s(T271)))))
less88_in_gg(s(s(s(s(0)))), s(s(s(s(s(T284)))))) → less88_out_gg(s(s(s(s(0)))), s(s(s(s(s(T284))))))
less88_in_gg(s(s(s(s(s(0))))), s(s(s(s(s(s(T297))))))) → less88_out_gg(s(s(s(s(s(0))))), s(s(s(s(s(s(T297)))))))
less88_in_gg(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T310)))))))) → less88_out_gg(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T310))))))))
less88_in_gg(s(s(s(s(s(s(s(T315))))))), s(s(s(s(s(s(s(T316)))))))) → U6_gg(T315, T316, less146_in_gg(T315, T316))
less146_in_gg(0, s(T327)) → less146_out_gg(0, s(T327))
less146_in_gg(s(T332), s(T333)) → U5_gg(T332, T333, less146_in_gg(T332, T333))
U5_gg(T332, T333, less146_out_gg(T332, T333)) → less146_out_gg(s(T332), s(T333))
U6_gg(T315, T316, less146_out_gg(T315, T316)) → less88_out_gg(s(s(s(s(s(s(s(T315))))))), s(s(s(s(s(s(s(T316))))))))
U21_gag(T222, T223, T208, T206, T207, less88_out_gg(T222, T223)) → insert1_out_gag(s(T222), tree(s(T223), T208, T206), tree(s(T223), T207, T206))
U21_gag(T222, T223, T208, T206, T207, less88_out_gg(T222, T223)) → U22_gag(T222, T223, T208, T206, T207, insert1_in_gag(s(T222), T208, T207))
insert1_in_gag(T348, tree(T349, T350, T353), tree(T349, T350, T352)) → U23_gag(T348, T349, T350, T353, T352, less146_in_gg(T349, T348))
U23_gag(T348, T349, T350, T353, T352, less146_out_gg(T349, T348)) → insert1_out_gag(T348, tree(T349, T350, T353), tree(T349, T350, T352))
U23_gag(T348, T349, T350, T353, T352, less146_out_gg(T349, T348)) → U24_gag(T348, T349, T350, T353, T352, insert1_in_gag(T348, T353, T352))
insert1_in_gag(s(T375), tree(0, T367, T370), tree(0, T367, T369)) → U25_gag(T375, T367, T370, T369, insert1_in_gag(s(T375), T370, T369))
insert1_in_gag(s(T383), tree(s(T382), T367, T370), tree(s(T382), T367, T369)) → U26_gag(T383, T382, T367, T370, T369, less146_in_gg(T382, T383))
U26_gag(T383, T382, T367, T370, T369, less146_out_gg(T382, T383)) → insert1_out_gag(s(T383), tree(s(T382), T367, T370), tree(s(T382), T367, T369))
U26_gag(T383, T382, T367, T370, T369, less146_out_gg(T382, T383)) → U27_gag(T383, T382, T367, T370, T369, insert1_in_gag(s(T383), T370, T369))
U27_gag(T383, T382, T367, T370, T369, insert1_out_gag(s(T383), T370, T369)) → insert1_out_gag(s(T383), tree(s(T382), T367, T370), tree(s(T382), T367, T369))
U25_gag(T375, T367, T370, T369, insert1_out_gag(s(T375), T370, T369)) → insert1_out_gag(s(T375), tree(0, T367, T370), tree(0, T367, T369))
U24_gag(T348, T349, T350, T353, T352, insert1_out_gag(T348, T353, T352)) → insert1_out_gag(T348, tree(T349, T350, T353), tree(T349, T350, T352))
U22_gag(T222, T223, T208, T206, T207, insert1_out_gag(s(T222), T208, T207)) → insert1_out_gag(s(T222), tree(s(T223), T208, T206), tree(s(T223), T207, T206))
U20_gag(T213, T208, T206, T207, insert1_out_gag(0, T208, T207)) → insert1_out_gag(0, tree(s(T213), T208, T206), tree(s(T213), T207, T206))
U19_gag(T193, T187, T190, T189, insert1_out_gag(s(T193), T190, T189)) → insert1_out_gag(s(T193), tree(s(T193), T187, T190), tree(s(T193), T187, T189))
U17_gag(T170, T172, T175, T174, insert1_out_gag(T170, T175, T174)) → insert1_out_gag(T170, tree(T170, T172, T175), tree(T170, T172, T174))
U15_gag(T155, T150, T148, T149, insert1_out_gag(s(T155), T150, T149)) → insert1_out_gag(s(T155), tree(s(T155), T150, T148), tree(s(T155), T149, T148))
U9_gag(T56, T60, insert1_out_gag(T56, T60, void)) → insert1_out_gag(T56, tree(T56, void, T60), tree(T56, void, void))
U3_ga(T25, T20, insert1_out_gag(s(T25), T20, void)) → p15_out_ga(T25, T20)
U7_gag(T25, T20, p15_out_ga(T25, T20)) → insert1_out_gag(s(T25), tree(s(T25), T20, void), tree(s(T25), void, void))
INSERT1_IN_GAG(s(T25), tree(s(T25), T20, void), tree(s(T25), void, void)) → U7_GAG(T25, T20, p15_in_ga(T25, T20))
INSERT1_IN_GAG(s(T25), tree(s(T25), T20, void), tree(s(T25), void, void)) → P15_IN_GA(T25, T20)
P15_IN_GA(T25, T20) → U2_GA(T25, T20, less17_in_g(T25))
P15_IN_GA(T25, T20) → LESS17_IN_G(T25)
LESS17_IN_G(s(T30)) → U1_G(T30, less17_in_g(T30))
LESS17_IN_G(s(T30)) → LESS17_IN_G(T30)
U2_GA(T25, T20, less17_out_g(T25)) → U3_GA(T25, T20, insert1_in_gag(s(T25), T20, void))
U2_GA(T25, T20, less17_out_g(T25)) → INSERT1_IN_GAG(s(T25), T20, void)
INSERT1_IN_GAG(T56, tree(T56, void, T60), tree(T56, void, void)) → U8_GAG(T56, T60, less17_in_g(T56))
INSERT1_IN_GAG(T56, tree(T56, void, T60), tree(T56, void, void)) → LESS17_IN_G(T56)
U8_GAG(T56, T60, less17_out_g(T56)) → U9_GAG(T56, T60, insert1_in_gag(T56, T60, void))
U8_GAG(T56, T60, less17_out_g(T56)) → INSERT1_IN_GAG(T56, T60, void)
INSERT1_IN_GAG(T83, tree(T83, void, T87), tree(T83, void, void)) → U10_GAG(T83, T87, p28_in_ga(T83, T87))
INSERT1_IN_GAG(T83, tree(T83, void, T87), tree(T83, void, void)) → P28_IN_GA(T83, T87)
P28_IN_GA(s(T90), T87) → U4_GA(T90, T87, p15_in_ga(T90, T87))
P28_IN_GA(s(T90), T87) → P15_IN_GA(T90, T87)
INSERT1_IN_GAG(s(T105), tree(s(T105), T100, void), tree(s(T105), void, void)) → U11_GAG(T105, T100, p15_in_ga(T105, T100))
INSERT1_IN_GAG(T115, tree(T115, void, T119), tree(T115, void, void)) → U12_GAG(T115, T119, p28_in_ga(T115, T119))
INSERT1_IN_GAG(s(T132), tree(s(T132), void, T129), tree(s(T132), void, void)) → U13_GAG(T132, T129, p15_in_ga(T132, T129))
INSERT1_IN_GAG(s(T132), tree(s(T132), void, T129), tree(s(T132), void, void)) → P15_IN_GA(T132, T129)
INSERT1_IN_GAG(s(T155), tree(s(T155), T150, T148), tree(s(T155), T149, T148)) → U14_GAG(T155, T150, T148, T149, less17_in_g(T155))
INSERT1_IN_GAG(s(T155), tree(s(T155), T150, T148), tree(s(T155), T149, T148)) → LESS17_IN_G(T155)
U14_GAG(T155, T150, T148, T149, less17_out_g(T155)) → U15_GAG(T155, T150, T148, T149, insert1_in_gag(s(T155), T150, T149))
U14_GAG(T155, T150, T148, T149, less17_out_g(T155)) → INSERT1_IN_GAG(s(T155), T150, T149)
INSERT1_IN_GAG(T170, tree(T170, T172, T175), tree(T170, T172, T174)) → U16_GAG(T170, T172, T175, T174, less17_in_g(T170))
INSERT1_IN_GAG(T170, tree(T170, T172, T175), tree(T170, T172, T174)) → LESS17_IN_G(T170)
U16_GAG(T170, T172, T175, T174, less17_out_g(T170)) → U17_GAG(T170, T172, T175, T174, insert1_in_gag(T170, T175, T174))
U16_GAG(T170, T172, T175, T174, less17_out_g(T170)) → INSERT1_IN_GAG(T170, T175, T174)
INSERT1_IN_GAG(s(T193), tree(s(T193), T187, T190), tree(s(T193), T187, T189)) → U18_GAG(T193, T187, T190, T189, less17_in_g(T193))
INSERT1_IN_GAG(s(T193), tree(s(T193), T187, T190), tree(s(T193), T187, T189)) → LESS17_IN_G(T193)
U18_GAG(T193, T187, T190, T189, less17_out_g(T193)) → U19_GAG(T193, T187, T190, T189, insert1_in_gag(s(T193), T190, T189))
U18_GAG(T193, T187, T190, T189, less17_out_g(T193)) → INSERT1_IN_GAG(s(T193), T190, T189)
INSERT1_IN_GAG(0, tree(s(T213), T208, T206), tree(s(T213), T207, T206)) → U20_GAG(T213, T208, T206, T207, insert1_in_gag(0, T208, T207))
INSERT1_IN_GAG(0, tree(s(T213), T208, T206), tree(s(T213), T207, T206)) → INSERT1_IN_GAG(0, T208, T207)
INSERT1_IN_GAG(s(T222), tree(s(T223), T208, T206), tree(s(T223), T207, T206)) → U21_GAG(T222, T223, T208, T206, T207, less88_in_gg(T222, T223))
INSERT1_IN_GAG(s(T222), tree(s(T223), T208, T206), tree(s(T223), T207, T206)) → LESS88_IN_GG(T222, T223)
LESS88_IN_GG(s(s(s(s(s(s(s(T315))))))), s(s(s(s(s(s(s(T316)))))))) → U6_GG(T315, T316, less146_in_gg(T315, T316))
LESS88_IN_GG(s(s(s(s(s(s(s(T315))))))), s(s(s(s(s(s(s(T316)))))))) → LESS146_IN_GG(T315, T316)
LESS146_IN_GG(s(T332), s(T333)) → U5_GG(T332, T333, less146_in_gg(T332, T333))
LESS146_IN_GG(s(T332), s(T333)) → LESS146_IN_GG(T332, T333)
U21_GAG(T222, T223, T208, T206, T207, less88_out_gg(T222, T223)) → U22_GAG(T222, T223, T208, T206, T207, insert1_in_gag(s(T222), T208, T207))
U21_GAG(T222, T223, T208, T206, T207, less88_out_gg(T222, T223)) → INSERT1_IN_GAG(s(T222), T208, T207)
INSERT1_IN_GAG(T348, tree(T349, T350, T353), tree(T349, T350, T352)) → U23_GAG(T348, T349, T350, T353, T352, less146_in_gg(T349, T348))
INSERT1_IN_GAG(T348, tree(T349, T350, T353), tree(T349, T350, T352)) → LESS146_IN_GG(T349, T348)
U23_GAG(T348, T349, T350, T353, T352, less146_out_gg(T349, T348)) → U24_GAG(T348, T349, T350, T353, T352, insert1_in_gag(T348, T353, T352))
U23_GAG(T348, T349, T350, T353, T352, less146_out_gg(T349, T348)) → INSERT1_IN_GAG(T348, T353, T352)
INSERT1_IN_GAG(s(T375), tree(0, T367, T370), tree(0, T367, T369)) → U25_GAG(T375, T367, T370, T369, insert1_in_gag(s(T375), T370, T369))
INSERT1_IN_GAG(s(T375), tree(0, T367, T370), tree(0, T367, T369)) → INSERT1_IN_GAG(s(T375), T370, T369)
INSERT1_IN_GAG(s(T383), tree(s(T382), T367, T370), tree(s(T382), T367, T369)) → U26_GAG(T383, T382, T367, T370, T369, less146_in_gg(T382, T383))
INSERT1_IN_GAG(s(T383), tree(s(T382), T367, T370), tree(s(T382), T367, T369)) → LESS146_IN_GG(T382, T383)
U26_GAG(T383, T382, T367, T370, T369, less146_out_gg(T382, T383)) → U27_GAG(T383, T382, T367, T370, T369, insert1_in_gag(s(T383), T370, T369))
U26_GAG(T383, T382, T367, T370, T369, less146_out_gg(T382, T383)) → INSERT1_IN_GAG(s(T383), T370, T369)
insert1_in_gag(T5, void, tree(T5, void, void)) → insert1_out_gag(T5, void, tree(T5, void, void))
insert1_in_gag(T9, tree(T9, void, void), tree(T9, void, void)) → insert1_out_gag(T9, tree(T9, void, void), tree(T9, void, void))
insert1_in_gag(s(T25), tree(s(T25), T20, void), tree(s(T25), void, void)) → U7_gag(T25, T20, p15_in_ga(T25, T20))
p15_in_ga(T25, T20) → U2_ga(T25, T20, less17_in_g(T25))
less17_in_g(s(T30)) → U1_g(T30, less17_in_g(T30))
U1_g(T30, less17_out_g(T30)) → less17_out_g(s(T30))
U2_ga(T25, T20, less17_out_g(T25)) → p15_out_ga(T25, T20)
U2_ga(T25, T20, less17_out_g(T25)) → U3_ga(T25, T20, insert1_in_gag(s(T25), T20, void))
insert1_in_gag(T56, tree(T56, void, T60), tree(T56, void, void)) → U8_gag(T56, T60, less17_in_g(T56))
U8_gag(T56, T60, less17_out_g(T56)) → insert1_out_gag(T56, tree(T56, void, T60), tree(T56, void, void))
U8_gag(T56, T60, less17_out_g(T56)) → U9_gag(T56, T60, insert1_in_gag(T56, T60, void))
insert1_in_gag(T83, tree(T83, void, T87), tree(T83, void, void)) → U10_gag(T83, T87, p28_in_ga(T83, T87))
p28_in_ga(s(T90), T87) → U4_ga(T90, T87, p15_in_ga(T90, T87))
U4_ga(T90, T87, p15_out_ga(T90, T87)) → p28_out_ga(s(T90), T87)
U10_gag(T83, T87, p28_out_ga(T83, T87)) → insert1_out_gag(T83, tree(T83, void, T87), tree(T83, void, void))
insert1_in_gag(s(T105), tree(s(T105), T100, void), tree(s(T105), void, void)) → U11_gag(T105, T100, p15_in_ga(T105, T100))
U11_gag(T105, T100, p15_out_ga(T105, T100)) → insert1_out_gag(s(T105), tree(s(T105), T100, void), tree(s(T105), void, void))
insert1_in_gag(T115, tree(T115, void, T119), tree(T115, void, void)) → U12_gag(T115, T119, p28_in_ga(T115, T119))
U12_gag(T115, T119, p28_out_ga(T115, T119)) → insert1_out_gag(T115, tree(T115, void, T119), tree(T115, void, void))
insert1_in_gag(s(T132), tree(s(T132), void, T129), tree(s(T132), void, void)) → U13_gag(T132, T129, p15_in_ga(T132, T129))
U13_gag(T132, T129, p15_out_ga(T132, T129)) → insert1_out_gag(s(T132), tree(s(T132), void, T129), tree(s(T132), void, void))
insert1_in_gag(T137, tree(T137, T138, T139), tree(T137, T138, T139)) → insert1_out_gag(T137, tree(T137, T138, T139), tree(T137, T138, T139))
insert1_in_gag(s(T155), tree(s(T155), T150, T148), tree(s(T155), T149, T148)) → U14_gag(T155, T150, T148, T149, less17_in_g(T155))
U14_gag(T155, T150, T148, T149, less17_out_g(T155)) → insert1_out_gag(s(T155), tree(s(T155), T150, T148), tree(s(T155), T149, T148))
U14_gag(T155, T150, T148, T149, less17_out_g(T155)) → U15_gag(T155, T150, T148, T149, insert1_in_gag(s(T155), T150, T149))
insert1_in_gag(T170, tree(T170, T172, T175), tree(T170, T172, T174)) → U16_gag(T170, T172, T175, T174, less17_in_g(T170))
U16_gag(T170, T172, T175, T174, less17_out_g(T170)) → insert1_out_gag(T170, tree(T170, T172, T175), tree(T170, T172, T174))
U16_gag(T170, T172, T175, T174, less17_out_g(T170)) → U17_gag(T170, T172, T175, T174, insert1_in_gag(T170, T175, T174))
insert1_in_gag(s(T193), tree(s(T193), T187, T190), tree(s(T193), T187, T189)) → U18_gag(T193, T187, T190, T189, less17_in_g(T193))
U18_gag(T193, T187, T190, T189, less17_out_g(T193)) → insert1_out_gag(s(T193), tree(s(T193), T187, T190), tree(s(T193), T187, T189))
U18_gag(T193, T187, T190, T189, less17_out_g(T193)) → U19_gag(T193, T187, T190, T189, insert1_in_gag(s(T193), T190, T189))
insert1_in_gag(0, tree(s(T213), T208, T206), tree(s(T213), T207, T206)) → U20_gag(T213, T208, T206, T207, insert1_in_gag(0, T208, T207))
insert1_in_gag(s(T222), tree(s(T223), T208, T206), tree(s(T223), T207, T206)) → U21_gag(T222, T223, T208, T206, T207, less88_in_gg(T222, T223))
less88_in_gg(0, s(T232)) → less88_out_gg(0, s(T232))
less88_in_gg(s(0), s(s(T245))) → less88_out_gg(s(0), s(s(T245)))
less88_in_gg(s(s(0)), s(s(s(T258)))) → less88_out_gg(s(s(0)), s(s(s(T258))))
less88_in_gg(s(s(s(0))), s(s(s(s(T271))))) → less88_out_gg(s(s(s(0))), s(s(s(s(T271)))))
less88_in_gg(s(s(s(s(0)))), s(s(s(s(s(T284)))))) → less88_out_gg(s(s(s(s(0)))), s(s(s(s(s(T284))))))
less88_in_gg(s(s(s(s(s(0))))), s(s(s(s(s(s(T297))))))) → less88_out_gg(s(s(s(s(s(0))))), s(s(s(s(s(s(T297)))))))
less88_in_gg(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T310)))))))) → less88_out_gg(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T310))))))))
less88_in_gg(s(s(s(s(s(s(s(T315))))))), s(s(s(s(s(s(s(T316)))))))) → U6_gg(T315, T316, less146_in_gg(T315, T316))
less146_in_gg(0, s(T327)) → less146_out_gg(0, s(T327))
less146_in_gg(s(T332), s(T333)) → U5_gg(T332, T333, less146_in_gg(T332, T333))
U5_gg(T332, T333, less146_out_gg(T332, T333)) → less146_out_gg(s(T332), s(T333))
U6_gg(T315, T316, less146_out_gg(T315, T316)) → less88_out_gg(s(s(s(s(s(s(s(T315))))))), s(s(s(s(s(s(s(T316))))))))
U21_gag(T222, T223, T208, T206, T207, less88_out_gg(T222, T223)) → insert1_out_gag(s(T222), tree(s(T223), T208, T206), tree(s(T223), T207, T206))
U21_gag(T222, T223, T208, T206, T207, less88_out_gg(T222, T223)) → U22_gag(T222, T223, T208, T206, T207, insert1_in_gag(s(T222), T208, T207))
insert1_in_gag(T348, tree(T349, T350, T353), tree(T349, T350, T352)) → U23_gag(T348, T349, T350, T353, T352, less146_in_gg(T349, T348))
U23_gag(T348, T349, T350, T353, T352, less146_out_gg(T349, T348)) → insert1_out_gag(T348, tree(T349, T350, T353), tree(T349, T350, T352))
U23_gag(T348, T349, T350, T353, T352, less146_out_gg(T349, T348)) → U24_gag(T348, T349, T350, T353, T352, insert1_in_gag(T348, T353, T352))
insert1_in_gag(s(T375), tree(0, T367, T370), tree(0, T367, T369)) → U25_gag(T375, T367, T370, T369, insert1_in_gag(s(T375), T370, T369))
insert1_in_gag(s(T383), tree(s(T382), T367, T370), tree(s(T382), T367, T369)) → U26_gag(T383, T382, T367, T370, T369, less146_in_gg(T382, T383))
U26_gag(T383, T382, T367, T370, T369, less146_out_gg(T382, T383)) → insert1_out_gag(s(T383), tree(s(T382), T367, T370), tree(s(T382), T367, T369))
U26_gag(T383, T382, T367, T370, T369, less146_out_gg(T382, T383)) → U27_gag(T383, T382, T367, T370, T369, insert1_in_gag(s(T383), T370, T369))
U27_gag(T383, T382, T367, T370, T369, insert1_out_gag(s(T383), T370, T369)) → insert1_out_gag(s(T383), tree(s(T382), T367, T370), tree(s(T382), T367, T369))
U25_gag(T375, T367, T370, T369, insert1_out_gag(s(T375), T370, T369)) → insert1_out_gag(s(T375), tree(0, T367, T370), tree(0, T367, T369))
U24_gag(T348, T349, T350, T353, T352, insert1_out_gag(T348, T353, T352)) → insert1_out_gag(T348, tree(T349, T350, T353), tree(T349, T350, T352))
U22_gag(T222, T223, T208, T206, T207, insert1_out_gag(s(T222), T208, T207)) → insert1_out_gag(s(T222), tree(s(T223), T208, T206), tree(s(T223), T207, T206))
U20_gag(T213, T208, T206, T207, insert1_out_gag(0, T208, T207)) → insert1_out_gag(0, tree(s(T213), T208, T206), tree(s(T213), T207, T206))
U19_gag(T193, T187, T190, T189, insert1_out_gag(s(T193), T190, T189)) → insert1_out_gag(s(T193), tree(s(T193), T187, T190), tree(s(T193), T187, T189))
U17_gag(T170, T172, T175, T174, insert1_out_gag(T170, T175, T174)) → insert1_out_gag(T170, tree(T170, T172, T175), tree(T170, T172, T174))
U15_gag(T155, T150, T148, T149, insert1_out_gag(s(T155), T150, T149)) → insert1_out_gag(s(T155), tree(s(T155), T150, T148), tree(s(T155), T149, T148))
U9_gag(T56, T60, insert1_out_gag(T56, T60, void)) → insert1_out_gag(T56, tree(T56, void, T60), tree(T56, void, void))
U3_ga(T25, T20, insert1_out_gag(s(T25), T20, void)) → p15_out_ga(T25, T20)
U7_gag(T25, T20, p15_out_ga(T25, T20)) → insert1_out_gag(s(T25), tree(s(T25), T20, void), tree(s(T25), void, void))
LESS146_IN_GG(s(T332), s(T333)) → LESS146_IN_GG(T332, T333)
insert1_in_gag(T5, void, tree(T5, void, void)) → insert1_out_gag(T5, void, tree(T5, void, void))
insert1_in_gag(T9, tree(T9, void, void), tree(T9, void, void)) → insert1_out_gag(T9, tree(T9, void, void), tree(T9, void, void))
insert1_in_gag(s(T25), tree(s(T25), T20, void), tree(s(T25), void, void)) → U7_gag(T25, T20, p15_in_ga(T25, T20))
p15_in_ga(T25, T20) → U2_ga(T25, T20, less17_in_g(T25))
less17_in_g(s(T30)) → U1_g(T30, less17_in_g(T30))
U1_g(T30, less17_out_g(T30)) → less17_out_g(s(T30))
U2_ga(T25, T20, less17_out_g(T25)) → p15_out_ga(T25, T20)
U2_ga(T25, T20, less17_out_g(T25)) → U3_ga(T25, T20, insert1_in_gag(s(T25), T20, void))
insert1_in_gag(T56, tree(T56, void, T60), tree(T56, void, void)) → U8_gag(T56, T60, less17_in_g(T56))
U8_gag(T56, T60, less17_out_g(T56)) → insert1_out_gag(T56, tree(T56, void, T60), tree(T56, void, void))
U8_gag(T56, T60, less17_out_g(T56)) → U9_gag(T56, T60, insert1_in_gag(T56, T60, void))
insert1_in_gag(T83, tree(T83, void, T87), tree(T83, void, void)) → U10_gag(T83, T87, p28_in_ga(T83, T87))
p28_in_ga(s(T90), T87) → U4_ga(T90, T87, p15_in_ga(T90, T87))
U4_ga(T90, T87, p15_out_ga(T90, T87)) → p28_out_ga(s(T90), T87)
U10_gag(T83, T87, p28_out_ga(T83, T87)) → insert1_out_gag(T83, tree(T83, void, T87), tree(T83, void, void))
insert1_in_gag(s(T105), tree(s(T105), T100, void), tree(s(T105), void, void)) → U11_gag(T105, T100, p15_in_ga(T105, T100))
U11_gag(T105, T100, p15_out_ga(T105, T100)) → insert1_out_gag(s(T105), tree(s(T105), T100, void), tree(s(T105), void, void))
insert1_in_gag(T115, tree(T115, void, T119), tree(T115, void, void)) → U12_gag(T115, T119, p28_in_ga(T115, T119))
U12_gag(T115, T119, p28_out_ga(T115, T119)) → insert1_out_gag(T115, tree(T115, void, T119), tree(T115, void, void))
insert1_in_gag(s(T132), tree(s(T132), void, T129), tree(s(T132), void, void)) → U13_gag(T132, T129, p15_in_ga(T132, T129))
U13_gag(T132, T129, p15_out_ga(T132, T129)) → insert1_out_gag(s(T132), tree(s(T132), void, T129), tree(s(T132), void, void))
insert1_in_gag(T137, tree(T137, T138, T139), tree(T137, T138, T139)) → insert1_out_gag(T137, tree(T137, T138, T139), tree(T137, T138, T139))
insert1_in_gag(s(T155), tree(s(T155), T150, T148), tree(s(T155), T149, T148)) → U14_gag(T155, T150, T148, T149, less17_in_g(T155))
U14_gag(T155, T150, T148, T149, less17_out_g(T155)) → insert1_out_gag(s(T155), tree(s(T155), T150, T148), tree(s(T155), T149, T148))
U14_gag(T155, T150, T148, T149, less17_out_g(T155)) → U15_gag(T155, T150, T148, T149, insert1_in_gag(s(T155), T150, T149))
insert1_in_gag(T170, tree(T170, T172, T175), tree(T170, T172, T174)) → U16_gag(T170, T172, T175, T174, less17_in_g(T170))
U16_gag(T170, T172, T175, T174, less17_out_g(T170)) → insert1_out_gag(T170, tree(T170, T172, T175), tree(T170, T172, T174))
U16_gag(T170, T172, T175, T174, less17_out_g(T170)) → U17_gag(T170, T172, T175, T174, insert1_in_gag(T170, T175, T174))
insert1_in_gag(s(T193), tree(s(T193), T187, T190), tree(s(T193), T187, T189)) → U18_gag(T193, T187, T190, T189, less17_in_g(T193))
U18_gag(T193, T187, T190, T189, less17_out_g(T193)) → insert1_out_gag(s(T193), tree(s(T193), T187, T190), tree(s(T193), T187, T189))
U18_gag(T193, T187, T190, T189, less17_out_g(T193)) → U19_gag(T193, T187, T190, T189, insert1_in_gag(s(T193), T190, T189))
insert1_in_gag(0, tree(s(T213), T208, T206), tree(s(T213), T207, T206)) → U20_gag(T213, T208, T206, T207, insert1_in_gag(0, T208, T207))
insert1_in_gag(s(T222), tree(s(T223), T208, T206), tree(s(T223), T207, T206)) → U21_gag(T222, T223, T208, T206, T207, less88_in_gg(T222, T223))
less88_in_gg(0, s(T232)) → less88_out_gg(0, s(T232))
less88_in_gg(s(0), s(s(T245))) → less88_out_gg(s(0), s(s(T245)))
less88_in_gg(s(s(0)), s(s(s(T258)))) → less88_out_gg(s(s(0)), s(s(s(T258))))
less88_in_gg(s(s(s(0))), s(s(s(s(T271))))) → less88_out_gg(s(s(s(0))), s(s(s(s(T271)))))
less88_in_gg(s(s(s(s(0)))), s(s(s(s(s(T284)))))) → less88_out_gg(s(s(s(s(0)))), s(s(s(s(s(T284))))))
less88_in_gg(s(s(s(s(s(0))))), s(s(s(s(s(s(T297))))))) → less88_out_gg(s(s(s(s(s(0))))), s(s(s(s(s(s(T297)))))))
less88_in_gg(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T310)))))))) → less88_out_gg(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T310))))))))
less88_in_gg(s(s(s(s(s(s(s(T315))))))), s(s(s(s(s(s(s(T316)))))))) → U6_gg(T315, T316, less146_in_gg(T315, T316))
less146_in_gg(0, s(T327)) → less146_out_gg(0, s(T327))
less146_in_gg(s(T332), s(T333)) → U5_gg(T332, T333, less146_in_gg(T332, T333))
U5_gg(T332, T333, less146_out_gg(T332, T333)) → less146_out_gg(s(T332), s(T333))
U6_gg(T315, T316, less146_out_gg(T315, T316)) → less88_out_gg(s(s(s(s(s(s(s(T315))))))), s(s(s(s(s(s(s(T316))))))))
U21_gag(T222, T223, T208, T206, T207, less88_out_gg(T222, T223)) → insert1_out_gag(s(T222), tree(s(T223), T208, T206), tree(s(T223), T207, T206))
U21_gag(T222, T223, T208, T206, T207, less88_out_gg(T222, T223)) → U22_gag(T222, T223, T208, T206, T207, insert1_in_gag(s(T222), T208, T207))
insert1_in_gag(T348, tree(T349, T350, T353), tree(T349, T350, T352)) → U23_gag(T348, T349, T350, T353, T352, less146_in_gg(T349, T348))
U23_gag(T348, T349, T350, T353, T352, less146_out_gg(T349, T348)) → insert1_out_gag(T348, tree(T349, T350, T353), tree(T349, T350, T352))
U23_gag(T348, T349, T350, T353, T352, less146_out_gg(T349, T348)) → U24_gag(T348, T349, T350, T353, T352, insert1_in_gag(T348, T353, T352))
insert1_in_gag(s(T375), tree(0, T367, T370), tree(0, T367, T369)) → U25_gag(T375, T367, T370, T369, insert1_in_gag(s(T375), T370, T369))
insert1_in_gag(s(T383), tree(s(T382), T367, T370), tree(s(T382), T367, T369)) → U26_gag(T383, T382, T367, T370, T369, less146_in_gg(T382, T383))
U26_gag(T383, T382, T367, T370, T369, less146_out_gg(T382, T383)) → insert1_out_gag(s(T383), tree(s(T382), T367, T370), tree(s(T382), T367, T369))
U26_gag(T383, T382, T367, T370, T369, less146_out_gg(T382, T383)) → U27_gag(T383, T382, T367, T370, T369, insert1_in_gag(s(T383), T370, T369))
U27_gag(T383, T382, T367, T370, T369, insert1_out_gag(s(T383), T370, T369)) → insert1_out_gag(s(T383), tree(s(T382), T367, T370), tree(s(T382), T367, T369))
U25_gag(T375, T367, T370, T369, insert1_out_gag(s(T375), T370, T369)) → insert1_out_gag(s(T375), tree(0, T367, T370), tree(0, T367, T369))
U24_gag(T348, T349, T350, T353, T352, insert1_out_gag(T348, T353, T352)) → insert1_out_gag(T348, tree(T349, T350, T353), tree(T349, T350, T352))
U22_gag(T222, T223, T208, T206, T207, insert1_out_gag(s(T222), T208, T207)) → insert1_out_gag(s(T222), tree(s(T223), T208, T206), tree(s(T223), T207, T206))
U20_gag(T213, T208, T206, T207, insert1_out_gag(0, T208, T207)) → insert1_out_gag(0, tree(s(T213), T208, T206), tree(s(T213), T207, T206))
U19_gag(T193, T187, T190, T189, insert1_out_gag(s(T193), T190, T189)) → insert1_out_gag(s(T193), tree(s(T193), T187, T190), tree(s(T193), T187, T189))
U17_gag(T170, T172, T175, T174, insert1_out_gag(T170, T175, T174)) → insert1_out_gag(T170, tree(T170, T172, T175), tree(T170, T172, T174))
U15_gag(T155, T150, T148, T149, insert1_out_gag(s(T155), T150, T149)) → insert1_out_gag(s(T155), tree(s(T155), T150, T148), tree(s(T155), T149, T148))
U9_gag(T56, T60, insert1_out_gag(T56, T60, void)) → insert1_out_gag(T56, tree(T56, void, T60), tree(T56, void, void))
U3_ga(T25, T20, insert1_out_gag(s(T25), T20, void)) → p15_out_ga(T25, T20)
U7_gag(T25, T20, p15_out_ga(T25, T20)) → insert1_out_gag(s(T25), tree(s(T25), T20, void), tree(s(T25), void, void))
LESS146_IN_GG(s(T332), s(T333)) → LESS146_IN_GG(T332, T333)
LESS146_IN_GG(s(T332), s(T333)) → LESS146_IN_GG(T332, T333)
From the DPs we obtained the following set of size-change graphs:
LESS17_IN_G(s(T30)) → LESS17_IN_G(T30)
insert1_in_gag(T5, void, tree(T5, void, void)) → insert1_out_gag(T5, void, tree(T5, void, void))
insert1_in_gag(T9, tree(T9, void, void), tree(T9, void, void)) → insert1_out_gag(T9, tree(T9, void, void), tree(T9, void, void))
insert1_in_gag(s(T25), tree(s(T25), T20, void), tree(s(T25), void, void)) → U7_gag(T25, T20, p15_in_ga(T25, T20))
p15_in_ga(T25, T20) → U2_ga(T25, T20, less17_in_g(T25))
less17_in_g(s(T30)) → U1_g(T30, less17_in_g(T30))
U1_g(T30, less17_out_g(T30)) → less17_out_g(s(T30))
U2_ga(T25, T20, less17_out_g(T25)) → p15_out_ga(T25, T20)
U2_ga(T25, T20, less17_out_g(T25)) → U3_ga(T25, T20, insert1_in_gag(s(T25), T20, void))
insert1_in_gag(T56, tree(T56, void, T60), tree(T56, void, void)) → U8_gag(T56, T60, less17_in_g(T56))
U8_gag(T56, T60, less17_out_g(T56)) → insert1_out_gag(T56, tree(T56, void, T60), tree(T56, void, void))
U8_gag(T56, T60, less17_out_g(T56)) → U9_gag(T56, T60, insert1_in_gag(T56, T60, void))
insert1_in_gag(T83, tree(T83, void, T87), tree(T83, void, void)) → U10_gag(T83, T87, p28_in_ga(T83, T87))
p28_in_ga(s(T90), T87) → U4_ga(T90, T87, p15_in_ga(T90, T87))
U4_ga(T90, T87, p15_out_ga(T90, T87)) → p28_out_ga(s(T90), T87)
U10_gag(T83, T87, p28_out_ga(T83, T87)) → insert1_out_gag(T83, tree(T83, void, T87), tree(T83, void, void))
insert1_in_gag(s(T105), tree(s(T105), T100, void), tree(s(T105), void, void)) → U11_gag(T105, T100, p15_in_ga(T105, T100))
U11_gag(T105, T100, p15_out_ga(T105, T100)) → insert1_out_gag(s(T105), tree(s(T105), T100, void), tree(s(T105), void, void))
insert1_in_gag(T115, tree(T115, void, T119), tree(T115, void, void)) → U12_gag(T115, T119, p28_in_ga(T115, T119))
U12_gag(T115, T119, p28_out_ga(T115, T119)) → insert1_out_gag(T115, tree(T115, void, T119), tree(T115, void, void))
insert1_in_gag(s(T132), tree(s(T132), void, T129), tree(s(T132), void, void)) → U13_gag(T132, T129, p15_in_ga(T132, T129))
U13_gag(T132, T129, p15_out_ga(T132, T129)) → insert1_out_gag(s(T132), tree(s(T132), void, T129), tree(s(T132), void, void))
insert1_in_gag(T137, tree(T137, T138, T139), tree(T137, T138, T139)) → insert1_out_gag(T137, tree(T137, T138, T139), tree(T137, T138, T139))
insert1_in_gag(s(T155), tree(s(T155), T150, T148), tree(s(T155), T149, T148)) → U14_gag(T155, T150, T148, T149, less17_in_g(T155))
U14_gag(T155, T150, T148, T149, less17_out_g(T155)) → insert1_out_gag(s(T155), tree(s(T155), T150, T148), tree(s(T155), T149, T148))
U14_gag(T155, T150, T148, T149, less17_out_g(T155)) → U15_gag(T155, T150, T148, T149, insert1_in_gag(s(T155), T150, T149))
insert1_in_gag(T170, tree(T170, T172, T175), tree(T170, T172, T174)) → U16_gag(T170, T172, T175, T174, less17_in_g(T170))
U16_gag(T170, T172, T175, T174, less17_out_g(T170)) → insert1_out_gag(T170, tree(T170, T172, T175), tree(T170, T172, T174))
U16_gag(T170, T172, T175, T174, less17_out_g(T170)) → U17_gag(T170, T172, T175, T174, insert1_in_gag(T170, T175, T174))
insert1_in_gag(s(T193), tree(s(T193), T187, T190), tree(s(T193), T187, T189)) → U18_gag(T193, T187, T190, T189, less17_in_g(T193))
U18_gag(T193, T187, T190, T189, less17_out_g(T193)) → insert1_out_gag(s(T193), tree(s(T193), T187, T190), tree(s(T193), T187, T189))
U18_gag(T193, T187, T190, T189, less17_out_g(T193)) → U19_gag(T193, T187, T190, T189, insert1_in_gag(s(T193), T190, T189))
insert1_in_gag(0, tree(s(T213), T208, T206), tree(s(T213), T207, T206)) → U20_gag(T213, T208, T206, T207, insert1_in_gag(0, T208, T207))
insert1_in_gag(s(T222), tree(s(T223), T208, T206), tree(s(T223), T207, T206)) → U21_gag(T222, T223, T208, T206, T207, less88_in_gg(T222, T223))
less88_in_gg(0, s(T232)) → less88_out_gg(0, s(T232))
less88_in_gg(s(0), s(s(T245))) → less88_out_gg(s(0), s(s(T245)))
less88_in_gg(s(s(0)), s(s(s(T258)))) → less88_out_gg(s(s(0)), s(s(s(T258))))
less88_in_gg(s(s(s(0))), s(s(s(s(T271))))) → less88_out_gg(s(s(s(0))), s(s(s(s(T271)))))
less88_in_gg(s(s(s(s(0)))), s(s(s(s(s(T284)))))) → less88_out_gg(s(s(s(s(0)))), s(s(s(s(s(T284))))))
less88_in_gg(s(s(s(s(s(0))))), s(s(s(s(s(s(T297))))))) → less88_out_gg(s(s(s(s(s(0))))), s(s(s(s(s(s(T297)))))))
less88_in_gg(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T310)))))))) → less88_out_gg(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T310))))))))
less88_in_gg(s(s(s(s(s(s(s(T315))))))), s(s(s(s(s(s(s(T316)))))))) → U6_gg(T315, T316, less146_in_gg(T315, T316))
less146_in_gg(0, s(T327)) → less146_out_gg(0, s(T327))
less146_in_gg(s(T332), s(T333)) → U5_gg(T332, T333, less146_in_gg(T332, T333))
U5_gg(T332, T333, less146_out_gg(T332, T333)) → less146_out_gg(s(T332), s(T333))
U6_gg(T315, T316, less146_out_gg(T315, T316)) → less88_out_gg(s(s(s(s(s(s(s(T315))))))), s(s(s(s(s(s(s(T316))))))))
U21_gag(T222, T223, T208, T206, T207, less88_out_gg(T222, T223)) → insert1_out_gag(s(T222), tree(s(T223), T208, T206), tree(s(T223), T207, T206))
U21_gag(T222, T223, T208, T206, T207, less88_out_gg(T222, T223)) → U22_gag(T222, T223, T208, T206, T207, insert1_in_gag(s(T222), T208, T207))
insert1_in_gag(T348, tree(T349, T350, T353), tree(T349, T350, T352)) → U23_gag(T348, T349, T350, T353, T352, less146_in_gg(T349, T348))
U23_gag(T348, T349, T350, T353, T352, less146_out_gg(T349, T348)) → insert1_out_gag(T348, tree(T349, T350, T353), tree(T349, T350, T352))
U23_gag(T348, T349, T350, T353, T352, less146_out_gg(T349, T348)) → U24_gag(T348, T349, T350, T353, T352, insert1_in_gag(T348, T353, T352))
insert1_in_gag(s(T375), tree(0, T367, T370), tree(0, T367, T369)) → U25_gag(T375, T367, T370, T369, insert1_in_gag(s(T375), T370, T369))
insert1_in_gag(s(T383), tree(s(T382), T367, T370), tree(s(T382), T367, T369)) → U26_gag(T383, T382, T367, T370, T369, less146_in_gg(T382, T383))
U26_gag(T383, T382, T367, T370, T369, less146_out_gg(T382, T383)) → insert1_out_gag(s(T383), tree(s(T382), T367, T370), tree(s(T382), T367, T369))
U26_gag(T383, T382, T367, T370, T369, less146_out_gg(T382, T383)) → U27_gag(T383, T382, T367, T370, T369, insert1_in_gag(s(T383), T370, T369))
U27_gag(T383, T382, T367, T370, T369, insert1_out_gag(s(T383), T370, T369)) → insert1_out_gag(s(T383), tree(s(T382), T367, T370), tree(s(T382), T367, T369))
U25_gag(T375, T367, T370, T369, insert1_out_gag(s(T375), T370, T369)) → insert1_out_gag(s(T375), tree(0, T367, T370), tree(0, T367, T369))
U24_gag(T348, T349, T350, T353, T352, insert1_out_gag(T348, T353, T352)) → insert1_out_gag(T348, tree(T349, T350, T353), tree(T349, T350, T352))
U22_gag(T222, T223, T208, T206, T207, insert1_out_gag(s(T222), T208, T207)) → insert1_out_gag(s(T222), tree(s(T223), T208, T206), tree(s(T223), T207, T206))
U20_gag(T213, T208, T206, T207, insert1_out_gag(0, T208, T207)) → insert1_out_gag(0, tree(s(T213), T208, T206), tree(s(T213), T207, T206))
U19_gag(T193, T187, T190, T189, insert1_out_gag(s(T193), T190, T189)) → insert1_out_gag(s(T193), tree(s(T193), T187, T190), tree(s(T193), T187, T189))
U17_gag(T170, T172, T175, T174, insert1_out_gag(T170, T175, T174)) → insert1_out_gag(T170, tree(T170, T172, T175), tree(T170, T172, T174))
U15_gag(T155, T150, T148, T149, insert1_out_gag(s(T155), T150, T149)) → insert1_out_gag(s(T155), tree(s(T155), T150, T148), tree(s(T155), T149, T148))
U9_gag(T56, T60, insert1_out_gag(T56, T60, void)) → insert1_out_gag(T56, tree(T56, void, T60), tree(T56, void, void))
U3_ga(T25, T20, insert1_out_gag(s(T25), T20, void)) → p15_out_ga(T25, T20)
U7_gag(T25, T20, p15_out_ga(T25, T20)) → insert1_out_gag(s(T25), tree(s(T25), T20, void), tree(s(T25), void, void))
LESS17_IN_G(s(T30)) → LESS17_IN_G(T30)
LESS17_IN_G(s(T30)) → LESS17_IN_G(T30)
From the DPs we obtained the following set of size-change graphs:
INSERT1_IN_GAG(s(T155), tree(s(T155), T150, T148), tree(s(T155), T149, T148)) → U14_GAG(T155, T150, T148, T149, less17_in_g(T155))
U14_GAG(T155, T150, T148, T149, less17_out_g(T155)) → INSERT1_IN_GAG(s(T155), T150, T149)
INSERT1_IN_GAG(T170, tree(T170, T172, T175), tree(T170, T172, T174)) → U16_GAG(T170, T172, T175, T174, less17_in_g(T170))
U16_GAG(T170, T172, T175, T174, less17_out_g(T170)) → INSERT1_IN_GAG(T170, T175, T174)
INSERT1_IN_GAG(s(T193), tree(s(T193), T187, T190), tree(s(T193), T187, T189)) → U18_GAG(T193, T187, T190, T189, less17_in_g(T193))
U18_GAG(T193, T187, T190, T189, less17_out_g(T193)) → INSERT1_IN_GAG(s(T193), T190, T189)
INSERT1_IN_GAG(s(T222), tree(s(T223), T208, T206), tree(s(T223), T207, T206)) → U21_GAG(T222, T223, T208, T206, T207, less88_in_gg(T222, T223))
U21_GAG(T222, T223, T208, T206, T207, less88_out_gg(T222, T223)) → INSERT1_IN_GAG(s(T222), T208, T207)
INSERT1_IN_GAG(T348, tree(T349, T350, T353), tree(T349, T350, T352)) → U23_GAG(T348, T349, T350, T353, T352, less146_in_gg(T349, T348))
U23_GAG(T348, T349, T350, T353, T352, less146_out_gg(T349, T348)) → INSERT1_IN_GAG(T348, T353, T352)
INSERT1_IN_GAG(0, tree(s(T213), T208, T206), tree(s(T213), T207, T206)) → INSERT1_IN_GAG(0, T208, T207)
INSERT1_IN_GAG(s(T375), tree(0, T367, T370), tree(0, T367, T369)) → INSERT1_IN_GAG(s(T375), T370, T369)
INSERT1_IN_GAG(s(T383), tree(s(T382), T367, T370), tree(s(T382), T367, T369)) → U26_GAG(T383, T382, T367, T370, T369, less146_in_gg(T382, T383))
U26_GAG(T383, T382, T367, T370, T369, less146_out_gg(T382, T383)) → INSERT1_IN_GAG(s(T383), T370, T369)
insert1_in_gag(T5, void, tree(T5, void, void)) → insert1_out_gag(T5, void, tree(T5, void, void))
insert1_in_gag(T9, tree(T9, void, void), tree(T9, void, void)) → insert1_out_gag(T9, tree(T9, void, void), tree(T9, void, void))
insert1_in_gag(s(T25), tree(s(T25), T20, void), tree(s(T25), void, void)) → U7_gag(T25, T20, p15_in_ga(T25, T20))
p15_in_ga(T25, T20) → U2_ga(T25, T20, less17_in_g(T25))
less17_in_g(s(T30)) → U1_g(T30, less17_in_g(T30))
U1_g(T30, less17_out_g(T30)) → less17_out_g(s(T30))
U2_ga(T25, T20, less17_out_g(T25)) → p15_out_ga(T25, T20)
U2_ga(T25, T20, less17_out_g(T25)) → U3_ga(T25, T20, insert1_in_gag(s(T25), T20, void))
insert1_in_gag(T56, tree(T56, void, T60), tree(T56, void, void)) → U8_gag(T56, T60, less17_in_g(T56))
U8_gag(T56, T60, less17_out_g(T56)) → insert1_out_gag(T56, tree(T56, void, T60), tree(T56, void, void))
U8_gag(T56, T60, less17_out_g(T56)) → U9_gag(T56, T60, insert1_in_gag(T56, T60, void))
insert1_in_gag(T83, tree(T83, void, T87), tree(T83, void, void)) → U10_gag(T83, T87, p28_in_ga(T83, T87))
p28_in_ga(s(T90), T87) → U4_ga(T90, T87, p15_in_ga(T90, T87))
U4_ga(T90, T87, p15_out_ga(T90, T87)) → p28_out_ga(s(T90), T87)
U10_gag(T83, T87, p28_out_ga(T83, T87)) → insert1_out_gag(T83, tree(T83, void, T87), tree(T83, void, void))
insert1_in_gag(s(T105), tree(s(T105), T100, void), tree(s(T105), void, void)) → U11_gag(T105, T100, p15_in_ga(T105, T100))
U11_gag(T105, T100, p15_out_ga(T105, T100)) → insert1_out_gag(s(T105), tree(s(T105), T100, void), tree(s(T105), void, void))
insert1_in_gag(T115, tree(T115, void, T119), tree(T115, void, void)) → U12_gag(T115, T119, p28_in_ga(T115, T119))
U12_gag(T115, T119, p28_out_ga(T115, T119)) → insert1_out_gag(T115, tree(T115, void, T119), tree(T115, void, void))
insert1_in_gag(s(T132), tree(s(T132), void, T129), tree(s(T132), void, void)) → U13_gag(T132, T129, p15_in_ga(T132, T129))
U13_gag(T132, T129, p15_out_ga(T132, T129)) → insert1_out_gag(s(T132), tree(s(T132), void, T129), tree(s(T132), void, void))
insert1_in_gag(T137, tree(T137, T138, T139), tree(T137, T138, T139)) → insert1_out_gag(T137, tree(T137, T138, T139), tree(T137, T138, T139))
insert1_in_gag(s(T155), tree(s(T155), T150, T148), tree(s(T155), T149, T148)) → U14_gag(T155, T150, T148, T149, less17_in_g(T155))
U14_gag(T155, T150, T148, T149, less17_out_g(T155)) → insert1_out_gag(s(T155), tree(s(T155), T150, T148), tree(s(T155), T149, T148))
U14_gag(T155, T150, T148, T149, less17_out_g(T155)) → U15_gag(T155, T150, T148, T149, insert1_in_gag(s(T155), T150, T149))
insert1_in_gag(T170, tree(T170, T172, T175), tree(T170, T172, T174)) → U16_gag(T170, T172, T175, T174, less17_in_g(T170))
U16_gag(T170, T172, T175, T174, less17_out_g(T170)) → insert1_out_gag(T170, tree(T170, T172, T175), tree(T170, T172, T174))
U16_gag(T170, T172, T175, T174, less17_out_g(T170)) → U17_gag(T170, T172, T175, T174, insert1_in_gag(T170, T175, T174))
insert1_in_gag(s(T193), tree(s(T193), T187, T190), tree(s(T193), T187, T189)) → U18_gag(T193, T187, T190, T189, less17_in_g(T193))
U18_gag(T193, T187, T190, T189, less17_out_g(T193)) → insert1_out_gag(s(T193), tree(s(T193), T187, T190), tree(s(T193), T187, T189))
U18_gag(T193, T187, T190, T189, less17_out_g(T193)) → U19_gag(T193, T187, T190, T189, insert1_in_gag(s(T193), T190, T189))
insert1_in_gag(0, tree(s(T213), T208, T206), tree(s(T213), T207, T206)) → U20_gag(T213, T208, T206, T207, insert1_in_gag(0, T208, T207))
insert1_in_gag(s(T222), tree(s(T223), T208, T206), tree(s(T223), T207, T206)) → U21_gag(T222, T223, T208, T206, T207, less88_in_gg(T222, T223))
less88_in_gg(0, s(T232)) → less88_out_gg(0, s(T232))
less88_in_gg(s(0), s(s(T245))) → less88_out_gg(s(0), s(s(T245)))
less88_in_gg(s(s(0)), s(s(s(T258)))) → less88_out_gg(s(s(0)), s(s(s(T258))))
less88_in_gg(s(s(s(0))), s(s(s(s(T271))))) → less88_out_gg(s(s(s(0))), s(s(s(s(T271)))))
less88_in_gg(s(s(s(s(0)))), s(s(s(s(s(T284)))))) → less88_out_gg(s(s(s(s(0)))), s(s(s(s(s(T284))))))
less88_in_gg(s(s(s(s(s(0))))), s(s(s(s(s(s(T297))))))) → less88_out_gg(s(s(s(s(s(0))))), s(s(s(s(s(s(T297)))))))
less88_in_gg(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T310)))))))) → less88_out_gg(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T310))))))))
less88_in_gg(s(s(s(s(s(s(s(T315))))))), s(s(s(s(s(s(s(T316)))))))) → U6_gg(T315, T316, less146_in_gg(T315, T316))
less146_in_gg(0, s(T327)) → less146_out_gg(0, s(T327))
less146_in_gg(s(T332), s(T333)) → U5_gg(T332, T333, less146_in_gg(T332, T333))
U5_gg(T332, T333, less146_out_gg(T332, T333)) → less146_out_gg(s(T332), s(T333))
U6_gg(T315, T316, less146_out_gg(T315, T316)) → less88_out_gg(s(s(s(s(s(s(s(T315))))))), s(s(s(s(s(s(s(T316))))))))
U21_gag(T222, T223, T208, T206, T207, less88_out_gg(T222, T223)) → insert1_out_gag(s(T222), tree(s(T223), T208, T206), tree(s(T223), T207, T206))
U21_gag(T222, T223, T208, T206, T207, less88_out_gg(T222, T223)) → U22_gag(T222, T223, T208, T206, T207, insert1_in_gag(s(T222), T208, T207))
insert1_in_gag(T348, tree(T349, T350, T353), tree(T349, T350, T352)) → U23_gag(T348, T349, T350, T353, T352, less146_in_gg(T349, T348))
U23_gag(T348, T349, T350, T353, T352, less146_out_gg(T349, T348)) → insert1_out_gag(T348, tree(T349, T350, T353), tree(T349, T350, T352))
U23_gag(T348, T349, T350, T353, T352, less146_out_gg(T349, T348)) → U24_gag(T348, T349, T350, T353, T352, insert1_in_gag(T348, T353, T352))
insert1_in_gag(s(T375), tree(0, T367, T370), tree(0, T367, T369)) → U25_gag(T375, T367, T370, T369, insert1_in_gag(s(T375), T370, T369))
insert1_in_gag(s(T383), tree(s(T382), T367, T370), tree(s(T382), T367, T369)) → U26_gag(T383, T382, T367, T370, T369, less146_in_gg(T382, T383))
U26_gag(T383, T382, T367, T370, T369, less146_out_gg(T382, T383)) → insert1_out_gag(s(T383), tree(s(T382), T367, T370), tree(s(T382), T367, T369))
U26_gag(T383, T382, T367, T370, T369, less146_out_gg(T382, T383)) → U27_gag(T383, T382, T367, T370, T369, insert1_in_gag(s(T383), T370, T369))
U27_gag(T383, T382, T367, T370, T369, insert1_out_gag(s(T383), T370, T369)) → insert1_out_gag(s(T383), tree(s(T382), T367, T370), tree(s(T382), T367, T369))
U25_gag(T375, T367, T370, T369, insert1_out_gag(s(T375), T370, T369)) → insert1_out_gag(s(T375), tree(0, T367, T370), tree(0, T367, T369))
U24_gag(T348, T349, T350, T353, T352, insert1_out_gag(T348, T353, T352)) → insert1_out_gag(T348, tree(T349, T350, T353), tree(T349, T350, T352))
U22_gag(T222, T223, T208, T206, T207, insert1_out_gag(s(T222), T208, T207)) → insert1_out_gag(s(T222), tree(s(T223), T208, T206), tree(s(T223), T207, T206))
U20_gag(T213, T208, T206, T207, insert1_out_gag(0, T208, T207)) → insert1_out_gag(0, tree(s(T213), T208, T206), tree(s(T213), T207, T206))
U19_gag(T193, T187, T190, T189, insert1_out_gag(s(T193), T190, T189)) → insert1_out_gag(s(T193), tree(s(T193), T187, T190), tree(s(T193), T187, T189))
U17_gag(T170, T172, T175, T174, insert1_out_gag(T170, T175, T174)) → insert1_out_gag(T170, tree(T170, T172, T175), tree(T170, T172, T174))
U15_gag(T155, T150, T148, T149, insert1_out_gag(s(T155), T150, T149)) → insert1_out_gag(s(T155), tree(s(T155), T150, T148), tree(s(T155), T149, T148))
U9_gag(T56, T60, insert1_out_gag(T56, T60, void)) → insert1_out_gag(T56, tree(T56, void, T60), tree(T56, void, void))
U3_ga(T25, T20, insert1_out_gag(s(T25), T20, void)) → p15_out_ga(T25, T20)
U7_gag(T25, T20, p15_out_ga(T25, T20)) → insert1_out_gag(s(T25), tree(s(T25), T20, void), tree(s(T25), void, void))
INSERT1_IN_GAG(s(T155), tree(s(T155), T150, T148), tree(s(T155), T149, T148)) → U14_GAG(T155, T150, T148, T149, less17_in_g(T155))
U14_GAG(T155, T150, T148, T149, less17_out_g(T155)) → INSERT1_IN_GAG(s(T155), T150, T149)
INSERT1_IN_GAG(T170, tree(T170, T172, T175), tree(T170, T172, T174)) → U16_GAG(T170, T172, T175, T174, less17_in_g(T170))
U16_GAG(T170, T172, T175, T174, less17_out_g(T170)) → INSERT1_IN_GAG(T170, T175, T174)
INSERT1_IN_GAG(s(T193), tree(s(T193), T187, T190), tree(s(T193), T187, T189)) → U18_GAG(T193, T187, T190, T189, less17_in_g(T193))
U18_GAG(T193, T187, T190, T189, less17_out_g(T193)) → INSERT1_IN_GAG(s(T193), T190, T189)
INSERT1_IN_GAG(s(T222), tree(s(T223), T208, T206), tree(s(T223), T207, T206)) → U21_GAG(T222, T223, T208, T206, T207, less88_in_gg(T222, T223))
U21_GAG(T222, T223, T208, T206, T207, less88_out_gg(T222, T223)) → INSERT1_IN_GAG(s(T222), T208, T207)
INSERT1_IN_GAG(T348, tree(T349, T350, T353), tree(T349, T350, T352)) → U23_GAG(T348, T349, T350, T353, T352, less146_in_gg(T349, T348))
U23_GAG(T348, T349, T350, T353, T352, less146_out_gg(T349, T348)) → INSERT1_IN_GAG(T348, T353, T352)
INSERT1_IN_GAG(0, tree(s(T213), T208, T206), tree(s(T213), T207, T206)) → INSERT1_IN_GAG(0, T208, T207)
INSERT1_IN_GAG(s(T375), tree(0, T367, T370), tree(0, T367, T369)) → INSERT1_IN_GAG(s(T375), T370, T369)
INSERT1_IN_GAG(s(T383), tree(s(T382), T367, T370), tree(s(T382), T367, T369)) → U26_GAG(T383, T382, T367, T370, T369, less146_in_gg(T382, T383))
U26_GAG(T383, T382, T367, T370, T369, less146_out_gg(T382, T383)) → INSERT1_IN_GAG(s(T383), T370, T369)
less17_in_g(s(T30)) → U1_g(T30, less17_in_g(T30))
less88_in_gg(0, s(T232)) → less88_out_gg(0, s(T232))
less88_in_gg(s(0), s(s(T245))) → less88_out_gg(s(0), s(s(T245)))
less88_in_gg(s(s(0)), s(s(s(T258)))) → less88_out_gg(s(s(0)), s(s(s(T258))))
less88_in_gg(s(s(s(0))), s(s(s(s(T271))))) → less88_out_gg(s(s(s(0))), s(s(s(s(T271)))))
less88_in_gg(s(s(s(s(0)))), s(s(s(s(s(T284)))))) → less88_out_gg(s(s(s(s(0)))), s(s(s(s(s(T284))))))
less88_in_gg(s(s(s(s(s(0))))), s(s(s(s(s(s(T297))))))) → less88_out_gg(s(s(s(s(s(0))))), s(s(s(s(s(s(T297)))))))
less88_in_gg(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T310)))))))) → less88_out_gg(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T310))))))))
less88_in_gg(s(s(s(s(s(s(s(T315))))))), s(s(s(s(s(s(s(T316)))))))) → U6_gg(T315, T316, less146_in_gg(T315, T316))
less146_in_gg(0, s(T327)) → less146_out_gg(0, s(T327))
less146_in_gg(s(T332), s(T333)) → U5_gg(T332, T333, less146_in_gg(T332, T333))
U1_g(T30, less17_out_g(T30)) → less17_out_g(s(T30))
U6_gg(T315, T316, less146_out_gg(T315, T316)) → less88_out_gg(s(s(s(s(s(s(s(T315))))))), s(s(s(s(s(s(s(T316))))))))
U5_gg(T332, T333, less146_out_gg(T332, T333)) → less146_out_gg(s(T332), s(T333))
INSERT1_IN_GAG(s(T155), tree(s(T155), T149, T148)) → U14_GAG(T155, T149, less17_in_g(T155))
U14_GAG(T155, T149, less17_out_g) → INSERT1_IN_GAG(s(T155), T149)
INSERT1_IN_GAG(T170, tree(T170, T172, T174)) → U16_GAG(T170, T174, less17_in_g(T170))
U16_GAG(T170, T174, less17_out_g) → INSERT1_IN_GAG(T170, T174)
INSERT1_IN_GAG(s(T193), tree(s(T193), T187, T189)) → U18_GAG(T193, T189, less17_in_g(T193))
U18_GAG(T193, T189, less17_out_g) → INSERT1_IN_GAG(s(T193), T189)
INSERT1_IN_GAG(s(T222), tree(s(T223), T207, T206)) → U21_GAG(T222, T207, less88_in_gg(T222, T223))
U21_GAG(T222, T207, less88_out_gg) → INSERT1_IN_GAG(s(T222), T207)
INSERT1_IN_GAG(T348, tree(T349, T350, T352)) → U23_GAG(T348, T352, less146_in_gg(T349, T348))
U23_GAG(T348, T352, less146_out_gg) → INSERT1_IN_GAG(T348, T352)
INSERT1_IN_GAG(0, tree(s(T213), T207, T206)) → INSERT1_IN_GAG(0, T207)
INSERT1_IN_GAG(s(T375), tree(0, T367, T369)) → INSERT1_IN_GAG(s(T375), T369)
INSERT1_IN_GAG(s(T383), tree(s(T382), T367, T369)) → U26_GAG(T383, T369, less146_in_gg(T382, T383))
U26_GAG(T383, T369, less146_out_gg) → INSERT1_IN_GAG(s(T383), T369)
less17_in_g(s(T30)) → U1_g(less17_in_g(T30))
less88_in_gg(0, s(T232)) → less88_out_gg
less88_in_gg(s(0), s(s(T245))) → less88_out_gg
less88_in_gg(s(s(0)), s(s(s(T258)))) → less88_out_gg
less88_in_gg(s(s(s(0))), s(s(s(s(T271))))) → less88_out_gg
less88_in_gg(s(s(s(s(0)))), s(s(s(s(s(T284)))))) → less88_out_gg
less88_in_gg(s(s(s(s(s(0))))), s(s(s(s(s(s(T297))))))) → less88_out_gg
less88_in_gg(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T310)))))))) → less88_out_gg
less88_in_gg(s(s(s(s(s(s(s(T315))))))), s(s(s(s(s(s(s(T316)))))))) → U6_gg(less146_in_gg(T315, T316))
less146_in_gg(0, s(T327)) → less146_out_gg
less146_in_gg(s(T332), s(T333)) → U5_gg(less146_in_gg(T332, T333))
U1_g(less17_out_g) → less17_out_g
U6_gg(less146_out_gg) → less88_out_gg
U5_gg(less146_out_gg) → less146_out_gg
less17_in_g(x0)
less88_in_gg(x0, x1)
less146_in_gg(x0, x1)
U1_g(x0)
U6_gg(x0)
U5_gg(x0)
From the DPs we obtained the following set of size-change graphs: