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 NonTerminationProof (⇔)
↳15 NO
↳16 PiDP
↳17 UsableRulesProof (⇔)
↳18 PiDP
↳19 PiDPToQDPProof (⇐)
↳20 QDP
↳21 NonTerminationProof (⇔)
↳22 NO
↳23 PiDP
↳24 UsableRulesProof (⇔)
↳25 PiDP
↳26 PiDPToQDPProof (⇐)
↳27 QDP
↳28 QDPSizeChangeProof (⇔)
↳29 YES
↳30 PrologToPiTRSProof (⇐)
↳31 PiTRS
↳32 DependencyPairsProof (⇔)
↳33 PiDP
↳34 DependencyGraphProof (⇔)
↳35 AND
↳36 PiDP
↳37 UsableRulesProof (⇔)
↳38 PiDP
↳39 PiDPToQDPProof (⇐)
↳40 QDP
↳41 NonTerminationProof (⇔)
↳42 NO
↳43 PiDP
↳44 UsableRulesProof (⇔)
↳45 PiDP
↳46 PiDPToQDPProof (⇐)
↳47 QDP
↳48 NonTerminationProof (⇔)
↳49 NO
↳50 PiDP
↳51 UsableRulesProof (⇔)
↳52 PiDP
↳53 PiDPToQDPProof (⇐)
↳54 QDP
↳55 QDPSizeChangeProof (⇔)
↳56 YES
front1_in_ga(void, []) → front1_out_ga(void, [])
front1_in_ga(tree(T4, void, void), .(T4, [])) → front1_out_ga(tree(T4, void, void), .(T4, []))
front1_in_ga(tree(T7, void, void), T9) → U11_ga(T7, T9, front16_in_a(X19))
front16_in_a([]) → front16_out_a([])
U11_ga(T7, T9, front16_out_a(X19)) → front1_out_ga(tree(T7, void, void), T9)
front1_in_ga(tree(T7, void, void), T9) → U12_ga(T7, T9, front16_in_a(T13))
U12_ga(T7, T9, front16_out_a(T13)) → U13_ga(T7, T9, app17_in_ga(T13, T9))
app17_in_ga(T20, T20) → app17_out_ga(T20, T20)
U13_ga(T7, T9, app17_out_ga(T13, T9)) → front1_out_ga(tree(T7, void, void), T9)
front1_in_ga(tree(T25, void, T27), T29) → U14_ga(T25, T27, T29, front41_in_ga(T27, X57))
front41_in_ga(void, []) → front41_out_ga(void, [])
front41_in_ga(tree(T35, void, void), .(T35, [])) → front41_out_ga(tree(T35, void, void), .(T35, []))
front41_in_ga(tree(T42, T43, T44), X86) → U10_ga(T42, T43, T44, X86, p54_in_gagaa(T43, X84, T44, X85, X86))
p54_in_gagaa(T43, X84, T44, X85, X86) → U1_gagaa(T43, X84, T44, X85, X86, front56_in_ga(T43, X84))
front56_in_ga(void, []) → front56_out_ga(void, [])
front56_in_ga(tree(T50, void, void), .(T50, [])) → front56_out_ga(tree(T50, void, void), .(T50, []))
front56_in_ga(tree(T57, T58, T59), X115) → U7_ga(T57, T58, T59, X115, p54_in_gagaa(T58, X113, T59, X114, X115))
p54_in_gagaa(T43, T45, T44, X85, X86) → U2_gagaa(T43, T45, T44, X85, X86, front56_in_ga(T43, T45))
U2_gagaa(T43, T45, T44, X85, X86, front56_out_ga(T43, T45)) → U3_gagaa(T43, T45, T44, X85, X86, front56_in_ga(T44, X85))
U3_gagaa(T43, T45, T44, X85, X86, front56_out_ga(T44, X85)) → p54_out_gagaa(T43, T45, T44, X85, X86)
p54_in_gagaa(T43, T45, T44, T60, X86) → U4_gagaa(T43, T45, T44, T60, X86, front56_in_ga(T43, T45))
U4_gagaa(T43, T45, T44, T60, X86, front56_out_ga(T43, T45)) → U5_gagaa(T43, T45, T44, T60, X86, front56_in_ga(T44, T60))
U5_gagaa(T43, T45, T44, T60, X86, front56_out_ga(T44, T60)) → U6_gagaa(T43, T45, T44, T60, X86, app72_in_aaa(T45, T60, X86))
app72_in_aaa([], T67, T67) → app72_out_aaa([], T67, T67)
app72_in_aaa(.(T74, T75), T76, .(T74, X142)) → U8_aaa(T74, T75, T76, X142, app72_in_aaa(T75, T76, X142))
U8_aaa(T74, T75, T76, X142, app72_out_aaa(T75, T76, X142)) → app72_out_aaa(.(T74, T75), T76, .(T74, X142))
U6_gagaa(T43, T45, T44, T60, X86, app72_out_aaa(T45, T60, X86)) → p54_out_gagaa(T43, T45, T44, T60, X86)
U7_ga(T57, T58, T59, X115, p54_out_gagaa(T58, X113, T59, X114, X115)) → front56_out_ga(tree(T57, T58, T59), X115)
U1_gagaa(T43, X84, T44, X85, X86, front56_out_ga(T43, X84)) → p54_out_gagaa(T43, X84, T44, X85, X86)
U10_ga(T42, T43, T44, X86, p54_out_gagaa(T43, X84, T44, X85, X86)) → front41_out_ga(tree(T42, T43, T44), X86)
U14_ga(T25, T27, T29, front41_out_ga(T27, X57)) → front1_out_ga(tree(T25, void, T27), T29)
front1_in_ga(tree(T25, void, T27), T29) → U15_ga(T25, T27, T29, front41_in_ga(T27, T30))
U15_ga(T25, T27, T29, front41_out_ga(T27, T30)) → U16_ga(T25, T27, T29, app17_in_aa(T30, T29))
app17_in_aa(T20, T20) → app17_out_aa(T20, T20)
U16_ga(T25, T27, T29, app17_out_aa(T30, T29)) → front1_out_ga(tree(T25, void, T27), T29)
front1_in_ga(tree(T25, tree(T85, void, void), T27), T29) → U17_ga(T25, T85, T27, T29, front56_in_ga(T27, X57))
U17_ga(T25, T85, T27, T29, front56_out_ga(T27, X57)) → front1_out_ga(tree(T25, tree(T85, void, void), T27), T29)
front1_in_ga(tree(T25, tree(T96, void, void), T27), .(T96, T99)) → U18_ga(T25, T96, T27, T99, front56_in_ga(T27, T97))
U18_ga(T25, T96, T27, T99, front56_out_ga(T27, T97)) → U19_ga(T25, T96, T27, T99, app17_in_aa(T97, T99))
U19_ga(T25, T96, T27, T99, app17_out_aa(T97, T99)) → front1_out_ga(tree(T25, tree(T96, void, void), T27), .(T96, T99))
front1_in_ga(tree(T25, tree(T108, T109, T110), T27), T29) → U20_ga(T25, T108, T109, T110, T27, T29, front56_in_ga(T109, X198))
U20_ga(T25, T108, T109, T110, T27, T29, front56_out_ga(T109, X198)) → front1_out_ga(tree(T25, tree(T108, T109, T110), T27), T29)
front1_in_ga(tree(T25, tree(T108, T109, T110), T27), T29) → U21_ga(T25, T108, T109, T110, T27, T29, front56_in_ga(T109, T111))
U21_ga(T25, T108, T109, T110, T27, T29, front56_out_ga(T109, T111)) → U22_ga(T25, T108, T109, T110, T27, T29, front56_in_ga(T110, X199))
U22_ga(T25, T108, T109, T110, T27, T29, front56_out_ga(T110, X199)) → front1_out_ga(tree(T25, tree(T108, T109, T110), T27), T29)
U21_ga(T25, T108, T109, T110, T27, T29, front56_out_ga(T109, T111)) → U23_ga(T25, T108, T109, T110, T27, T29, T111, front56_in_ga(T110, T112))
U23_ga(T25, T108, T109, T110, T27, T29, T111, front56_out_ga(T110, T112)) → U24_ga(T25, T108, T109, T110, T27, T29, app72_in_aaa(T111, T112, X200))
U24_ga(T25, T108, T109, T110, T27, T29, app72_out_aaa(T111, T112, X200)) → front1_out_ga(tree(T25, tree(T108, T109, T110), T27), T29)
U23_ga(T25, T108, T109, T110, T27, T29, T111, front56_out_ga(T110, T112)) → U25_ga(T25, T108, T109, T110, T27, T29, app72_in_aaa(T111, T112, T115))
U25_ga(T25, T108, T109, T110, T27, T29, app72_out_aaa(T111, T112, T115)) → U26_ga(T25, T108, T109, T110, T27, T29, front56_in_ga(T27, X57))
U26_ga(T25, T108, T109, T110, T27, T29, front56_out_ga(T27, X57)) → front1_out_ga(tree(T25, tree(T108, T109, T110), T27), T29)
U25_ga(T25, T108, T109, T110, T27, T29, app72_out_aaa(T111, T112, T115)) → U27_ga(T25, T108, T109, T110, T27, T29, T115, front56_in_ga(T27, T118))
U27_ga(T25, T108, T109, T110, T27, T29, T115, front56_out_ga(T27, T118)) → U28_ga(T25, T108, T109, T110, T27, T29, app100_in_aaa(T115, T118, T29))
app100_in_aaa([], T125, T125) → app100_out_aaa([], T125, T125)
app100_in_aaa(.(T134, T135), T136, .(T134, T138)) → U9_aaa(T134, T135, T136, T138, app100_in_aaa(T135, T136, T138))
U9_aaa(T134, T135, T136, T138, app100_out_aaa(T135, T136, T138)) → app100_out_aaa(.(T134, T135), T136, .(T134, T138))
U28_ga(T25, T108, T109, T110, T27, T29, app100_out_aaa(T115, T118, T29)) → front1_out_ga(tree(T25, tree(T108, T109, T110), T27), T29)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
front1_in_ga(void, []) → front1_out_ga(void, [])
front1_in_ga(tree(T4, void, void), .(T4, [])) → front1_out_ga(tree(T4, void, void), .(T4, []))
front1_in_ga(tree(T7, void, void), T9) → U11_ga(T7, T9, front16_in_a(X19))
front16_in_a([]) → front16_out_a([])
U11_ga(T7, T9, front16_out_a(X19)) → front1_out_ga(tree(T7, void, void), T9)
front1_in_ga(tree(T7, void, void), T9) → U12_ga(T7, T9, front16_in_a(T13))
U12_ga(T7, T9, front16_out_a(T13)) → U13_ga(T7, T9, app17_in_ga(T13, T9))
app17_in_ga(T20, T20) → app17_out_ga(T20, T20)
U13_ga(T7, T9, app17_out_ga(T13, T9)) → front1_out_ga(tree(T7, void, void), T9)
front1_in_ga(tree(T25, void, T27), T29) → U14_ga(T25, T27, T29, front41_in_ga(T27, X57))
front41_in_ga(void, []) → front41_out_ga(void, [])
front41_in_ga(tree(T35, void, void), .(T35, [])) → front41_out_ga(tree(T35, void, void), .(T35, []))
front41_in_ga(tree(T42, T43, T44), X86) → U10_ga(T42, T43, T44, X86, p54_in_gagaa(T43, X84, T44, X85, X86))
p54_in_gagaa(T43, X84, T44, X85, X86) → U1_gagaa(T43, X84, T44, X85, X86, front56_in_ga(T43, X84))
front56_in_ga(void, []) → front56_out_ga(void, [])
front56_in_ga(tree(T50, void, void), .(T50, [])) → front56_out_ga(tree(T50, void, void), .(T50, []))
front56_in_ga(tree(T57, T58, T59), X115) → U7_ga(T57, T58, T59, X115, p54_in_gagaa(T58, X113, T59, X114, X115))
p54_in_gagaa(T43, T45, T44, X85, X86) → U2_gagaa(T43, T45, T44, X85, X86, front56_in_ga(T43, T45))
U2_gagaa(T43, T45, T44, X85, X86, front56_out_ga(T43, T45)) → U3_gagaa(T43, T45, T44, X85, X86, front56_in_ga(T44, X85))
U3_gagaa(T43, T45, T44, X85, X86, front56_out_ga(T44, X85)) → p54_out_gagaa(T43, T45, T44, X85, X86)
p54_in_gagaa(T43, T45, T44, T60, X86) → U4_gagaa(T43, T45, T44, T60, X86, front56_in_ga(T43, T45))
U4_gagaa(T43, T45, T44, T60, X86, front56_out_ga(T43, T45)) → U5_gagaa(T43, T45, T44, T60, X86, front56_in_ga(T44, T60))
U5_gagaa(T43, T45, T44, T60, X86, front56_out_ga(T44, T60)) → U6_gagaa(T43, T45, T44, T60, X86, app72_in_aaa(T45, T60, X86))
app72_in_aaa([], T67, T67) → app72_out_aaa([], T67, T67)
app72_in_aaa(.(T74, T75), T76, .(T74, X142)) → U8_aaa(T74, T75, T76, X142, app72_in_aaa(T75, T76, X142))
U8_aaa(T74, T75, T76, X142, app72_out_aaa(T75, T76, X142)) → app72_out_aaa(.(T74, T75), T76, .(T74, X142))
U6_gagaa(T43, T45, T44, T60, X86, app72_out_aaa(T45, T60, X86)) → p54_out_gagaa(T43, T45, T44, T60, X86)
U7_ga(T57, T58, T59, X115, p54_out_gagaa(T58, X113, T59, X114, X115)) → front56_out_ga(tree(T57, T58, T59), X115)
U1_gagaa(T43, X84, T44, X85, X86, front56_out_ga(T43, X84)) → p54_out_gagaa(T43, X84, T44, X85, X86)
U10_ga(T42, T43, T44, X86, p54_out_gagaa(T43, X84, T44, X85, X86)) → front41_out_ga(tree(T42, T43, T44), X86)
U14_ga(T25, T27, T29, front41_out_ga(T27, X57)) → front1_out_ga(tree(T25, void, T27), T29)
front1_in_ga(tree(T25, void, T27), T29) → U15_ga(T25, T27, T29, front41_in_ga(T27, T30))
U15_ga(T25, T27, T29, front41_out_ga(T27, T30)) → U16_ga(T25, T27, T29, app17_in_aa(T30, T29))
app17_in_aa(T20, T20) → app17_out_aa(T20, T20)
U16_ga(T25, T27, T29, app17_out_aa(T30, T29)) → front1_out_ga(tree(T25, void, T27), T29)
front1_in_ga(tree(T25, tree(T85, void, void), T27), T29) → U17_ga(T25, T85, T27, T29, front56_in_ga(T27, X57))
U17_ga(T25, T85, T27, T29, front56_out_ga(T27, X57)) → front1_out_ga(tree(T25, tree(T85, void, void), T27), T29)
front1_in_ga(tree(T25, tree(T96, void, void), T27), .(T96, T99)) → U18_ga(T25, T96, T27, T99, front56_in_ga(T27, T97))
U18_ga(T25, T96, T27, T99, front56_out_ga(T27, T97)) → U19_ga(T25, T96, T27, T99, app17_in_aa(T97, T99))
U19_ga(T25, T96, T27, T99, app17_out_aa(T97, T99)) → front1_out_ga(tree(T25, tree(T96, void, void), T27), .(T96, T99))
front1_in_ga(tree(T25, tree(T108, T109, T110), T27), T29) → U20_ga(T25, T108, T109, T110, T27, T29, front56_in_ga(T109, X198))
U20_ga(T25, T108, T109, T110, T27, T29, front56_out_ga(T109, X198)) → front1_out_ga(tree(T25, tree(T108, T109, T110), T27), T29)
front1_in_ga(tree(T25, tree(T108, T109, T110), T27), T29) → U21_ga(T25, T108, T109, T110, T27, T29, front56_in_ga(T109, T111))
U21_ga(T25, T108, T109, T110, T27, T29, front56_out_ga(T109, T111)) → U22_ga(T25, T108, T109, T110, T27, T29, front56_in_ga(T110, X199))
U22_ga(T25, T108, T109, T110, T27, T29, front56_out_ga(T110, X199)) → front1_out_ga(tree(T25, tree(T108, T109, T110), T27), T29)
U21_ga(T25, T108, T109, T110, T27, T29, front56_out_ga(T109, T111)) → U23_ga(T25, T108, T109, T110, T27, T29, T111, front56_in_ga(T110, T112))
U23_ga(T25, T108, T109, T110, T27, T29, T111, front56_out_ga(T110, T112)) → U24_ga(T25, T108, T109, T110, T27, T29, app72_in_aaa(T111, T112, X200))
U24_ga(T25, T108, T109, T110, T27, T29, app72_out_aaa(T111, T112, X200)) → front1_out_ga(tree(T25, tree(T108, T109, T110), T27), T29)
U23_ga(T25, T108, T109, T110, T27, T29, T111, front56_out_ga(T110, T112)) → U25_ga(T25, T108, T109, T110, T27, T29, app72_in_aaa(T111, T112, T115))
U25_ga(T25, T108, T109, T110, T27, T29, app72_out_aaa(T111, T112, T115)) → U26_ga(T25, T108, T109, T110, T27, T29, front56_in_ga(T27, X57))
U26_ga(T25, T108, T109, T110, T27, T29, front56_out_ga(T27, X57)) → front1_out_ga(tree(T25, tree(T108, T109, T110), T27), T29)
U25_ga(T25, T108, T109, T110, T27, T29, app72_out_aaa(T111, T112, T115)) → U27_ga(T25, T108, T109, T110, T27, T29, T115, front56_in_ga(T27, T118))
U27_ga(T25, T108, T109, T110, T27, T29, T115, front56_out_ga(T27, T118)) → U28_ga(T25, T108, T109, T110, T27, T29, app100_in_aaa(T115, T118, T29))
app100_in_aaa([], T125, T125) → app100_out_aaa([], T125, T125)
app100_in_aaa(.(T134, T135), T136, .(T134, T138)) → U9_aaa(T134, T135, T136, T138, app100_in_aaa(T135, T136, T138))
U9_aaa(T134, T135, T136, T138, app100_out_aaa(T135, T136, T138)) → app100_out_aaa(.(T134, T135), T136, .(T134, T138))
U28_ga(T25, T108, T109, T110, T27, T29, app100_out_aaa(T115, T118, T29)) → front1_out_ga(tree(T25, tree(T108, T109, T110), T27), T29)
FRONT1_IN_GA(tree(T7, void, void), T9) → U11_GA(T7, T9, front16_in_a(X19))
FRONT1_IN_GA(tree(T7, void, void), T9) → FRONT16_IN_A(X19)
FRONT1_IN_GA(tree(T7, void, void), T9) → U12_GA(T7, T9, front16_in_a(T13))
U12_GA(T7, T9, front16_out_a(T13)) → U13_GA(T7, T9, app17_in_ga(T13, T9))
U12_GA(T7, T9, front16_out_a(T13)) → APP17_IN_GA(T13, T9)
FRONT1_IN_GA(tree(T25, void, T27), T29) → U14_GA(T25, T27, T29, front41_in_ga(T27, X57))
FRONT1_IN_GA(tree(T25, void, T27), T29) → FRONT41_IN_GA(T27, X57)
FRONT41_IN_GA(tree(T42, T43, T44), X86) → U10_GA(T42, T43, T44, X86, p54_in_gagaa(T43, X84, T44, X85, X86))
FRONT41_IN_GA(tree(T42, T43, T44), X86) → P54_IN_GAGAA(T43, X84, T44, X85, X86)
P54_IN_GAGAA(T43, X84, T44, X85, X86) → U1_GAGAA(T43, X84, T44, X85, X86, front56_in_ga(T43, X84))
P54_IN_GAGAA(T43, X84, T44, X85, X86) → FRONT56_IN_GA(T43, X84)
FRONT56_IN_GA(tree(T57, T58, T59), X115) → U7_GA(T57, T58, T59, X115, p54_in_gagaa(T58, X113, T59, X114, X115))
FRONT56_IN_GA(tree(T57, T58, T59), X115) → P54_IN_GAGAA(T58, X113, T59, X114, X115)
P54_IN_GAGAA(T43, T45, T44, X85, X86) → U2_GAGAA(T43, T45, T44, X85, X86, front56_in_ga(T43, T45))
U2_GAGAA(T43, T45, T44, X85, X86, front56_out_ga(T43, T45)) → U3_GAGAA(T43, T45, T44, X85, X86, front56_in_ga(T44, X85))
U2_GAGAA(T43, T45, T44, X85, X86, front56_out_ga(T43, T45)) → FRONT56_IN_GA(T44, X85)
P54_IN_GAGAA(T43, T45, T44, T60, X86) → U4_GAGAA(T43, T45, T44, T60, X86, front56_in_ga(T43, T45))
U4_GAGAA(T43, T45, T44, T60, X86, front56_out_ga(T43, T45)) → U5_GAGAA(T43, T45, T44, T60, X86, front56_in_ga(T44, T60))
U4_GAGAA(T43, T45, T44, T60, X86, front56_out_ga(T43, T45)) → FRONT56_IN_GA(T44, T60)
U5_GAGAA(T43, T45, T44, T60, X86, front56_out_ga(T44, T60)) → U6_GAGAA(T43, T45, T44, T60, X86, app72_in_aaa(T45, T60, X86))
U5_GAGAA(T43, T45, T44, T60, X86, front56_out_ga(T44, T60)) → APP72_IN_AAA(T45, T60, X86)
APP72_IN_AAA(.(T74, T75), T76, .(T74, X142)) → U8_AAA(T74, T75, T76, X142, app72_in_aaa(T75, T76, X142))
APP72_IN_AAA(.(T74, T75), T76, .(T74, X142)) → APP72_IN_AAA(T75, T76, X142)
FRONT1_IN_GA(tree(T25, void, T27), T29) → U15_GA(T25, T27, T29, front41_in_ga(T27, T30))
U15_GA(T25, T27, T29, front41_out_ga(T27, T30)) → U16_GA(T25, T27, T29, app17_in_aa(T30, T29))
U15_GA(T25, T27, T29, front41_out_ga(T27, T30)) → APP17_IN_AA(T30, T29)
FRONT1_IN_GA(tree(T25, tree(T85, void, void), T27), T29) → U17_GA(T25, T85, T27, T29, front56_in_ga(T27, X57))
FRONT1_IN_GA(tree(T25, tree(T85, void, void), T27), T29) → FRONT56_IN_GA(T27, X57)
FRONT1_IN_GA(tree(T25, tree(T96, void, void), T27), .(T96, T99)) → U18_GA(T25, T96, T27, T99, front56_in_ga(T27, T97))
FRONT1_IN_GA(tree(T25, tree(T96, void, void), T27), .(T96, T99)) → FRONT56_IN_GA(T27, T97)
U18_GA(T25, T96, T27, T99, front56_out_ga(T27, T97)) → U19_GA(T25, T96, T27, T99, app17_in_aa(T97, T99))
U18_GA(T25, T96, T27, T99, front56_out_ga(T27, T97)) → APP17_IN_AA(T97, T99)
FRONT1_IN_GA(tree(T25, tree(T108, T109, T110), T27), T29) → U20_GA(T25, T108, T109, T110, T27, T29, front56_in_ga(T109, X198))
FRONT1_IN_GA(tree(T25, tree(T108, T109, T110), T27), T29) → FRONT56_IN_GA(T109, X198)
FRONT1_IN_GA(tree(T25, tree(T108, T109, T110), T27), T29) → U21_GA(T25, T108, T109, T110, T27, T29, front56_in_ga(T109, T111))
U21_GA(T25, T108, T109, T110, T27, T29, front56_out_ga(T109, T111)) → U22_GA(T25, T108, T109, T110, T27, T29, front56_in_ga(T110, X199))
U21_GA(T25, T108, T109, T110, T27, T29, front56_out_ga(T109, T111)) → FRONT56_IN_GA(T110, X199)
U21_GA(T25, T108, T109, T110, T27, T29, front56_out_ga(T109, T111)) → U23_GA(T25, T108, T109, T110, T27, T29, T111, front56_in_ga(T110, T112))
U23_GA(T25, T108, T109, T110, T27, T29, T111, front56_out_ga(T110, T112)) → U24_GA(T25, T108, T109, T110, T27, T29, app72_in_aaa(T111, T112, X200))
U23_GA(T25, T108, T109, T110, T27, T29, T111, front56_out_ga(T110, T112)) → APP72_IN_AAA(T111, T112, X200)
U23_GA(T25, T108, T109, T110, T27, T29, T111, front56_out_ga(T110, T112)) → U25_GA(T25, T108, T109, T110, T27, T29, app72_in_aaa(T111, T112, T115))
U25_GA(T25, T108, T109, T110, T27, T29, app72_out_aaa(T111, T112, T115)) → U26_GA(T25, T108, T109, T110, T27, T29, front56_in_ga(T27, X57))
U25_GA(T25, T108, T109, T110, T27, T29, app72_out_aaa(T111, T112, T115)) → FRONT56_IN_GA(T27, X57)
U25_GA(T25, T108, T109, T110, T27, T29, app72_out_aaa(T111, T112, T115)) → U27_GA(T25, T108, T109, T110, T27, T29, T115, front56_in_ga(T27, T118))
U27_GA(T25, T108, T109, T110, T27, T29, T115, front56_out_ga(T27, T118)) → U28_GA(T25, T108, T109, T110, T27, T29, app100_in_aaa(T115, T118, T29))
U27_GA(T25, T108, T109, T110, T27, T29, T115, front56_out_ga(T27, T118)) → APP100_IN_AAA(T115, T118, T29)
APP100_IN_AAA(.(T134, T135), T136, .(T134, T138)) → U9_AAA(T134, T135, T136, T138, app100_in_aaa(T135, T136, T138))
APP100_IN_AAA(.(T134, T135), T136, .(T134, T138)) → APP100_IN_AAA(T135, T136, T138)
front1_in_ga(void, []) → front1_out_ga(void, [])
front1_in_ga(tree(T4, void, void), .(T4, [])) → front1_out_ga(tree(T4, void, void), .(T4, []))
front1_in_ga(tree(T7, void, void), T9) → U11_ga(T7, T9, front16_in_a(X19))
front16_in_a([]) → front16_out_a([])
U11_ga(T7, T9, front16_out_a(X19)) → front1_out_ga(tree(T7, void, void), T9)
front1_in_ga(tree(T7, void, void), T9) → U12_ga(T7, T9, front16_in_a(T13))
U12_ga(T7, T9, front16_out_a(T13)) → U13_ga(T7, T9, app17_in_ga(T13, T9))
app17_in_ga(T20, T20) → app17_out_ga(T20, T20)
U13_ga(T7, T9, app17_out_ga(T13, T9)) → front1_out_ga(tree(T7, void, void), T9)
front1_in_ga(tree(T25, void, T27), T29) → U14_ga(T25, T27, T29, front41_in_ga(T27, X57))
front41_in_ga(void, []) → front41_out_ga(void, [])
front41_in_ga(tree(T35, void, void), .(T35, [])) → front41_out_ga(tree(T35, void, void), .(T35, []))
front41_in_ga(tree(T42, T43, T44), X86) → U10_ga(T42, T43, T44, X86, p54_in_gagaa(T43, X84, T44, X85, X86))
p54_in_gagaa(T43, X84, T44, X85, X86) → U1_gagaa(T43, X84, T44, X85, X86, front56_in_ga(T43, X84))
front56_in_ga(void, []) → front56_out_ga(void, [])
front56_in_ga(tree(T50, void, void), .(T50, [])) → front56_out_ga(tree(T50, void, void), .(T50, []))
front56_in_ga(tree(T57, T58, T59), X115) → U7_ga(T57, T58, T59, X115, p54_in_gagaa(T58, X113, T59, X114, X115))
p54_in_gagaa(T43, T45, T44, X85, X86) → U2_gagaa(T43, T45, T44, X85, X86, front56_in_ga(T43, T45))
U2_gagaa(T43, T45, T44, X85, X86, front56_out_ga(T43, T45)) → U3_gagaa(T43, T45, T44, X85, X86, front56_in_ga(T44, X85))
U3_gagaa(T43, T45, T44, X85, X86, front56_out_ga(T44, X85)) → p54_out_gagaa(T43, T45, T44, X85, X86)
p54_in_gagaa(T43, T45, T44, T60, X86) → U4_gagaa(T43, T45, T44, T60, X86, front56_in_ga(T43, T45))
U4_gagaa(T43, T45, T44, T60, X86, front56_out_ga(T43, T45)) → U5_gagaa(T43, T45, T44, T60, X86, front56_in_ga(T44, T60))
U5_gagaa(T43, T45, T44, T60, X86, front56_out_ga(T44, T60)) → U6_gagaa(T43, T45, T44, T60, X86, app72_in_aaa(T45, T60, X86))
app72_in_aaa([], T67, T67) → app72_out_aaa([], T67, T67)
app72_in_aaa(.(T74, T75), T76, .(T74, X142)) → U8_aaa(T74, T75, T76, X142, app72_in_aaa(T75, T76, X142))
U8_aaa(T74, T75, T76, X142, app72_out_aaa(T75, T76, X142)) → app72_out_aaa(.(T74, T75), T76, .(T74, X142))
U6_gagaa(T43, T45, T44, T60, X86, app72_out_aaa(T45, T60, X86)) → p54_out_gagaa(T43, T45, T44, T60, X86)
U7_ga(T57, T58, T59, X115, p54_out_gagaa(T58, X113, T59, X114, X115)) → front56_out_ga(tree(T57, T58, T59), X115)
U1_gagaa(T43, X84, T44, X85, X86, front56_out_ga(T43, X84)) → p54_out_gagaa(T43, X84, T44, X85, X86)
U10_ga(T42, T43, T44, X86, p54_out_gagaa(T43, X84, T44, X85, X86)) → front41_out_ga(tree(T42, T43, T44), X86)
U14_ga(T25, T27, T29, front41_out_ga(T27, X57)) → front1_out_ga(tree(T25, void, T27), T29)
front1_in_ga(tree(T25, void, T27), T29) → U15_ga(T25, T27, T29, front41_in_ga(T27, T30))
U15_ga(T25, T27, T29, front41_out_ga(T27, T30)) → U16_ga(T25, T27, T29, app17_in_aa(T30, T29))
app17_in_aa(T20, T20) → app17_out_aa(T20, T20)
U16_ga(T25, T27, T29, app17_out_aa(T30, T29)) → front1_out_ga(tree(T25, void, T27), T29)
front1_in_ga(tree(T25, tree(T85, void, void), T27), T29) → U17_ga(T25, T85, T27, T29, front56_in_ga(T27, X57))
U17_ga(T25, T85, T27, T29, front56_out_ga(T27, X57)) → front1_out_ga(tree(T25, tree(T85, void, void), T27), T29)
front1_in_ga(tree(T25, tree(T96, void, void), T27), .(T96, T99)) → U18_ga(T25, T96, T27, T99, front56_in_ga(T27, T97))
U18_ga(T25, T96, T27, T99, front56_out_ga(T27, T97)) → U19_ga(T25, T96, T27, T99, app17_in_aa(T97, T99))
U19_ga(T25, T96, T27, T99, app17_out_aa(T97, T99)) → front1_out_ga(tree(T25, tree(T96, void, void), T27), .(T96, T99))
front1_in_ga(tree(T25, tree(T108, T109, T110), T27), T29) → U20_ga(T25, T108, T109, T110, T27, T29, front56_in_ga(T109, X198))
U20_ga(T25, T108, T109, T110, T27, T29, front56_out_ga(T109, X198)) → front1_out_ga(tree(T25, tree(T108, T109, T110), T27), T29)
front1_in_ga(tree(T25, tree(T108, T109, T110), T27), T29) → U21_ga(T25, T108, T109, T110, T27, T29, front56_in_ga(T109, T111))
U21_ga(T25, T108, T109, T110, T27, T29, front56_out_ga(T109, T111)) → U22_ga(T25, T108, T109, T110, T27, T29, front56_in_ga(T110, X199))
U22_ga(T25, T108, T109, T110, T27, T29, front56_out_ga(T110, X199)) → front1_out_ga(tree(T25, tree(T108, T109, T110), T27), T29)
U21_ga(T25, T108, T109, T110, T27, T29, front56_out_ga(T109, T111)) → U23_ga(T25, T108, T109, T110, T27, T29, T111, front56_in_ga(T110, T112))
U23_ga(T25, T108, T109, T110, T27, T29, T111, front56_out_ga(T110, T112)) → U24_ga(T25, T108, T109, T110, T27, T29, app72_in_aaa(T111, T112, X200))
U24_ga(T25, T108, T109, T110, T27, T29, app72_out_aaa(T111, T112, X200)) → front1_out_ga(tree(T25, tree(T108, T109, T110), T27), T29)
U23_ga(T25, T108, T109, T110, T27, T29, T111, front56_out_ga(T110, T112)) → U25_ga(T25, T108, T109, T110, T27, T29, app72_in_aaa(T111, T112, T115))
U25_ga(T25, T108, T109, T110, T27, T29, app72_out_aaa(T111, T112, T115)) → U26_ga(T25, T108, T109, T110, T27, T29, front56_in_ga(T27, X57))
U26_ga(T25, T108, T109, T110, T27, T29, front56_out_ga(T27, X57)) → front1_out_ga(tree(T25, tree(T108, T109, T110), T27), T29)
U25_ga(T25, T108, T109, T110, T27, T29, app72_out_aaa(T111, T112, T115)) → U27_ga(T25, T108, T109, T110, T27, T29, T115, front56_in_ga(T27, T118))
U27_ga(T25, T108, T109, T110, T27, T29, T115, front56_out_ga(T27, T118)) → U28_ga(T25, T108, T109, T110, T27, T29, app100_in_aaa(T115, T118, T29))
app100_in_aaa([], T125, T125) → app100_out_aaa([], T125, T125)
app100_in_aaa(.(T134, T135), T136, .(T134, T138)) → U9_aaa(T134, T135, T136, T138, app100_in_aaa(T135, T136, T138))
U9_aaa(T134, T135, T136, T138, app100_out_aaa(T135, T136, T138)) → app100_out_aaa(.(T134, T135), T136, .(T134, T138))
U28_ga(T25, T108, T109, T110, T27, T29, app100_out_aaa(T115, T118, T29)) → front1_out_ga(tree(T25, tree(T108, T109, T110), T27), T29)
FRONT1_IN_GA(tree(T7, void, void), T9) → U11_GA(T7, T9, front16_in_a(X19))
FRONT1_IN_GA(tree(T7, void, void), T9) → FRONT16_IN_A(X19)
FRONT1_IN_GA(tree(T7, void, void), T9) → U12_GA(T7, T9, front16_in_a(T13))
U12_GA(T7, T9, front16_out_a(T13)) → U13_GA(T7, T9, app17_in_ga(T13, T9))
U12_GA(T7, T9, front16_out_a(T13)) → APP17_IN_GA(T13, T9)
FRONT1_IN_GA(tree(T25, void, T27), T29) → U14_GA(T25, T27, T29, front41_in_ga(T27, X57))
FRONT1_IN_GA(tree(T25, void, T27), T29) → FRONT41_IN_GA(T27, X57)
FRONT41_IN_GA(tree(T42, T43, T44), X86) → U10_GA(T42, T43, T44, X86, p54_in_gagaa(T43, X84, T44, X85, X86))
FRONT41_IN_GA(tree(T42, T43, T44), X86) → P54_IN_GAGAA(T43, X84, T44, X85, X86)
P54_IN_GAGAA(T43, X84, T44, X85, X86) → U1_GAGAA(T43, X84, T44, X85, X86, front56_in_ga(T43, X84))
P54_IN_GAGAA(T43, X84, T44, X85, X86) → FRONT56_IN_GA(T43, X84)
FRONT56_IN_GA(tree(T57, T58, T59), X115) → U7_GA(T57, T58, T59, X115, p54_in_gagaa(T58, X113, T59, X114, X115))
FRONT56_IN_GA(tree(T57, T58, T59), X115) → P54_IN_GAGAA(T58, X113, T59, X114, X115)
P54_IN_GAGAA(T43, T45, T44, X85, X86) → U2_GAGAA(T43, T45, T44, X85, X86, front56_in_ga(T43, T45))
U2_GAGAA(T43, T45, T44, X85, X86, front56_out_ga(T43, T45)) → U3_GAGAA(T43, T45, T44, X85, X86, front56_in_ga(T44, X85))
U2_GAGAA(T43, T45, T44, X85, X86, front56_out_ga(T43, T45)) → FRONT56_IN_GA(T44, X85)
P54_IN_GAGAA(T43, T45, T44, T60, X86) → U4_GAGAA(T43, T45, T44, T60, X86, front56_in_ga(T43, T45))
U4_GAGAA(T43, T45, T44, T60, X86, front56_out_ga(T43, T45)) → U5_GAGAA(T43, T45, T44, T60, X86, front56_in_ga(T44, T60))
U4_GAGAA(T43, T45, T44, T60, X86, front56_out_ga(T43, T45)) → FRONT56_IN_GA(T44, T60)
U5_GAGAA(T43, T45, T44, T60, X86, front56_out_ga(T44, T60)) → U6_GAGAA(T43, T45, T44, T60, X86, app72_in_aaa(T45, T60, X86))
U5_GAGAA(T43, T45, T44, T60, X86, front56_out_ga(T44, T60)) → APP72_IN_AAA(T45, T60, X86)
APP72_IN_AAA(.(T74, T75), T76, .(T74, X142)) → U8_AAA(T74, T75, T76, X142, app72_in_aaa(T75, T76, X142))
APP72_IN_AAA(.(T74, T75), T76, .(T74, X142)) → APP72_IN_AAA(T75, T76, X142)
FRONT1_IN_GA(tree(T25, void, T27), T29) → U15_GA(T25, T27, T29, front41_in_ga(T27, T30))
U15_GA(T25, T27, T29, front41_out_ga(T27, T30)) → U16_GA(T25, T27, T29, app17_in_aa(T30, T29))
U15_GA(T25, T27, T29, front41_out_ga(T27, T30)) → APP17_IN_AA(T30, T29)
FRONT1_IN_GA(tree(T25, tree(T85, void, void), T27), T29) → U17_GA(T25, T85, T27, T29, front56_in_ga(T27, X57))
FRONT1_IN_GA(tree(T25, tree(T85, void, void), T27), T29) → FRONT56_IN_GA(T27, X57)
FRONT1_IN_GA(tree(T25, tree(T96, void, void), T27), .(T96, T99)) → U18_GA(T25, T96, T27, T99, front56_in_ga(T27, T97))
FRONT1_IN_GA(tree(T25, tree(T96, void, void), T27), .(T96, T99)) → FRONT56_IN_GA(T27, T97)
U18_GA(T25, T96, T27, T99, front56_out_ga(T27, T97)) → U19_GA(T25, T96, T27, T99, app17_in_aa(T97, T99))
U18_GA(T25, T96, T27, T99, front56_out_ga(T27, T97)) → APP17_IN_AA(T97, T99)
FRONT1_IN_GA(tree(T25, tree(T108, T109, T110), T27), T29) → U20_GA(T25, T108, T109, T110, T27, T29, front56_in_ga(T109, X198))
FRONT1_IN_GA(tree(T25, tree(T108, T109, T110), T27), T29) → FRONT56_IN_GA(T109, X198)
FRONT1_IN_GA(tree(T25, tree(T108, T109, T110), T27), T29) → U21_GA(T25, T108, T109, T110, T27, T29, front56_in_ga(T109, T111))
U21_GA(T25, T108, T109, T110, T27, T29, front56_out_ga(T109, T111)) → U22_GA(T25, T108, T109, T110, T27, T29, front56_in_ga(T110, X199))
U21_GA(T25, T108, T109, T110, T27, T29, front56_out_ga(T109, T111)) → FRONT56_IN_GA(T110, X199)
U21_GA(T25, T108, T109, T110, T27, T29, front56_out_ga(T109, T111)) → U23_GA(T25, T108, T109, T110, T27, T29, T111, front56_in_ga(T110, T112))
U23_GA(T25, T108, T109, T110, T27, T29, T111, front56_out_ga(T110, T112)) → U24_GA(T25, T108, T109, T110, T27, T29, app72_in_aaa(T111, T112, X200))
U23_GA(T25, T108, T109, T110, T27, T29, T111, front56_out_ga(T110, T112)) → APP72_IN_AAA(T111, T112, X200)
U23_GA(T25, T108, T109, T110, T27, T29, T111, front56_out_ga(T110, T112)) → U25_GA(T25, T108, T109, T110, T27, T29, app72_in_aaa(T111, T112, T115))
U25_GA(T25, T108, T109, T110, T27, T29, app72_out_aaa(T111, T112, T115)) → U26_GA(T25, T108, T109, T110, T27, T29, front56_in_ga(T27, X57))
U25_GA(T25, T108, T109, T110, T27, T29, app72_out_aaa(T111, T112, T115)) → FRONT56_IN_GA(T27, X57)
U25_GA(T25, T108, T109, T110, T27, T29, app72_out_aaa(T111, T112, T115)) → U27_GA(T25, T108, T109, T110, T27, T29, T115, front56_in_ga(T27, T118))
U27_GA(T25, T108, T109, T110, T27, T29, T115, front56_out_ga(T27, T118)) → U28_GA(T25, T108, T109, T110, T27, T29, app100_in_aaa(T115, T118, T29))
U27_GA(T25, T108, T109, T110, T27, T29, T115, front56_out_ga(T27, T118)) → APP100_IN_AAA(T115, T118, T29)
APP100_IN_AAA(.(T134, T135), T136, .(T134, T138)) → U9_AAA(T134, T135, T136, T138, app100_in_aaa(T135, T136, T138))
APP100_IN_AAA(.(T134, T135), T136, .(T134, T138)) → APP100_IN_AAA(T135, T136, T138)
front1_in_ga(void, []) → front1_out_ga(void, [])
front1_in_ga(tree(T4, void, void), .(T4, [])) → front1_out_ga(tree(T4, void, void), .(T4, []))
front1_in_ga(tree(T7, void, void), T9) → U11_ga(T7, T9, front16_in_a(X19))
front16_in_a([]) → front16_out_a([])
U11_ga(T7, T9, front16_out_a(X19)) → front1_out_ga(tree(T7, void, void), T9)
front1_in_ga(tree(T7, void, void), T9) → U12_ga(T7, T9, front16_in_a(T13))
U12_ga(T7, T9, front16_out_a(T13)) → U13_ga(T7, T9, app17_in_ga(T13, T9))
app17_in_ga(T20, T20) → app17_out_ga(T20, T20)
U13_ga(T7, T9, app17_out_ga(T13, T9)) → front1_out_ga(tree(T7, void, void), T9)
front1_in_ga(tree(T25, void, T27), T29) → U14_ga(T25, T27, T29, front41_in_ga(T27, X57))
front41_in_ga(void, []) → front41_out_ga(void, [])
front41_in_ga(tree(T35, void, void), .(T35, [])) → front41_out_ga(tree(T35, void, void), .(T35, []))
front41_in_ga(tree(T42, T43, T44), X86) → U10_ga(T42, T43, T44, X86, p54_in_gagaa(T43, X84, T44, X85, X86))
p54_in_gagaa(T43, X84, T44, X85, X86) → U1_gagaa(T43, X84, T44, X85, X86, front56_in_ga(T43, X84))
front56_in_ga(void, []) → front56_out_ga(void, [])
front56_in_ga(tree(T50, void, void), .(T50, [])) → front56_out_ga(tree(T50, void, void), .(T50, []))
front56_in_ga(tree(T57, T58, T59), X115) → U7_ga(T57, T58, T59, X115, p54_in_gagaa(T58, X113, T59, X114, X115))
p54_in_gagaa(T43, T45, T44, X85, X86) → U2_gagaa(T43, T45, T44, X85, X86, front56_in_ga(T43, T45))
U2_gagaa(T43, T45, T44, X85, X86, front56_out_ga(T43, T45)) → U3_gagaa(T43, T45, T44, X85, X86, front56_in_ga(T44, X85))
U3_gagaa(T43, T45, T44, X85, X86, front56_out_ga(T44, X85)) → p54_out_gagaa(T43, T45, T44, X85, X86)
p54_in_gagaa(T43, T45, T44, T60, X86) → U4_gagaa(T43, T45, T44, T60, X86, front56_in_ga(T43, T45))
U4_gagaa(T43, T45, T44, T60, X86, front56_out_ga(T43, T45)) → U5_gagaa(T43, T45, T44, T60, X86, front56_in_ga(T44, T60))
U5_gagaa(T43, T45, T44, T60, X86, front56_out_ga(T44, T60)) → U6_gagaa(T43, T45, T44, T60, X86, app72_in_aaa(T45, T60, X86))
app72_in_aaa([], T67, T67) → app72_out_aaa([], T67, T67)
app72_in_aaa(.(T74, T75), T76, .(T74, X142)) → U8_aaa(T74, T75, T76, X142, app72_in_aaa(T75, T76, X142))
U8_aaa(T74, T75, T76, X142, app72_out_aaa(T75, T76, X142)) → app72_out_aaa(.(T74, T75), T76, .(T74, X142))
U6_gagaa(T43, T45, T44, T60, X86, app72_out_aaa(T45, T60, X86)) → p54_out_gagaa(T43, T45, T44, T60, X86)
U7_ga(T57, T58, T59, X115, p54_out_gagaa(T58, X113, T59, X114, X115)) → front56_out_ga(tree(T57, T58, T59), X115)
U1_gagaa(T43, X84, T44, X85, X86, front56_out_ga(T43, X84)) → p54_out_gagaa(T43, X84, T44, X85, X86)
U10_ga(T42, T43, T44, X86, p54_out_gagaa(T43, X84, T44, X85, X86)) → front41_out_ga(tree(T42, T43, T44), X86)
U14_ga(T25, T27, T29, front41_out_ga(T27, X57)) → front1_out_ga(tree(T25, void, T27), T29)
front1_in_ga(tree(T25, void, T27), T29) → U15_ga(T25, T27, T29, front41_in_ga(T27, T30))
U15_ga(T25, T27, T29, front41_out_ga(T27, T30)) → U16_ga(T25, T27, T29, app17_in_aa(T30, T29))
app17_in_aa(T20, T20) → app17_out_aa(T20, T20)
U16_ga(T25, T27, T29, app17_out_aa(T30, T29)) → front1_out_ga(tree(T25, void, T27), T29)
front1_in_ga(tree(T25, tree(T85, void, void), T27), T29) → U17_ga(T25, T85, T27, T29, front56_in_ga(T27, X57))
U17_ga(T25, T85, T27, T29, front56_out_ga(T27, X57)) → front1_out_ga(tree(T25, tree(T85, void, void), T27), T29)
front1_in_ga(tree(T25, tree(T96, void, void), T27), .(T96, T99)) → U18_ga(T25, T96, T27, T99, front56_in_ga(T27, T97))
U18_ga(T25, T96, T27, T99, front56_out_ga(T27, T97)) → U19_ga(T25, T96, T27, T99, app17_in_aa(T97, T99))
U19_ga(T25, T96, T27, T99, app17_out_aa(T97, T99)) → front1_out_ga(tree(T25, tree(T96, void, void), T27), .(T96, T99))
front1_in_ga(tree(T25, tree(T108, T109, T110), T27), T29) → U20_ga(T25, T108, T109, T110, T27, T29, front56_in_ga(T109, X198))
U20_ga(T25, T108, T109, T110, T27, T29, front56_out_ga(T109, X198)) → front1_out_ga(tree(T25, tree(T108, T109, T110), T27), T29)
front1_in_ga(tree(T25, tree(T108, T109, T110), T27), T29) → U21_ga(T25, T108, T109, T110, T27, T29, front56_in_ga(T109, T111))
U21_ga(T25, T108, T109, T110, T27, T29, front56_out_ga(T109, T111)) → U22_ga(T25, T108, T109, T110, T27, T29, front56_in_ga(T110, X199))
U22_ga(T25, T108, T109, T110, T27, T29, front56_out_ga(T110, X199)) → front1_out_ga(tree(T25, tree(T108, T109, T110), T27), T29)
U21_ga(T25, T108, T109, T110, T27, T29, front56_out_ga(T109, T111)) → U23_ga(T25, T108, T109, T110, T27, T29, T111, front56_in_ga(T110, T112))
U23_ga(T25, T108, T109, T110, T27, T29, T111, front56_out_ga(T110, T112)) → U24_ga(T25, T108, T109, T110, T27, T29, app72_in_aaa(T111, T112, X200))
U24_ga(T25, T108, T109, T110, T27, T29, app72_out_aaa(T111, T112, X200)) → front1_out_ga(tree(T25, tree(T108, T109, T110), T27), T29)
U23_ga(T25, T108, T109, T110, T27, T29, T111, front56_out_ga(T110, T112)) → U25_ga(T25, T108, T109, T110, T27, T29, app72_in_aaa(T111, T112, T115))
U25_ga(T25, T108, T109, T110, T27, T29, app72_out_aaa(T111, T112, T115)) → U26_ga(T25, T108, T109, T110, T27, T29, front56_in_ga(T27, X57))
U26_ga(T25, T108, T109, T110, T27, T29, front56_out_ga(T27, X57)) → front1_out_ga(tree(T25, tree(T108, T109, T110), T27), T29)
U25_ga(T25, T108, T109, T110, T27, T29, app72_out_aaa(T111, T112, T115)) → U27_ga(T25, T108, T109, T110, T27, T29, T115, front56_in_ga(T27, T118))
U27_ga(T25, T108, T109, T110, T27, T29, T115, front56_out_ga(T27, T118)) → U28_ga(T25, T108, T109, T110, T27, T29, app100_in_aaa(T115, T118, T29))
app100_in_aaa([], T125, T125) → app100_out_aaa([], T125, T125)
app100_in_aaa(.(T134, T135), T136, .(T134, T138)) → U9_aaa(T134, T135, T136, T138, app100_in_aaa(T135, T136, T138))
U9_aaa(T134, T135, T136, T138, app100_out_aaa(T135, T136, T138)) → app100_out_aaa(.(T134, T135), T136, .(T134, T138))
U28_ga(T25, T108, T109, T110, T27, T29, app100_out_aaa(T115, T118, T29)) → front1_out_ga(tree(T25, tree(T108, T109, T110), T27), T29)
APP100_IN_AAA(.(T134, T135), T136, .(T134, T138)) → APP100_IN_AAA(T135, T136, T138)
front1_in_ga(void, []) → front1_out_ga(void, [])
front1_in_ga(tree(T4, void, void), .(T4, [])) → front1_out_ga(tree(T4, void, void), .(T4, []))
front1_in_ga(tree(T7, void, void), T9) → U11_ga(T7, T9, front16_in_a(X19))
front16_in_a([]) → front16_out_a([])
U11_ga(T7, T9, front16_out_a(X19)) → front1_out_ga(tree(T7, void, void), T9)
front1_in_ga(tree(T7, void, void), T9) → U12_ga(T7, T9, front16_in_a(T13))
U12_ga(T7, T9, front16_out_a(T13)) → U13_ga(T7, T9, app17_in_ga(T13, T9))
app17_in_ga(T20, T20) → app17_out_ga(T20, T20)
U13_ga(T7, T9, app17_out_ga(T13, T9)) → front1_out_ga(tree(T7, void, void), T9)
front1_in_ga(tree(T25, void, T27), T29) → U14_ga(T25, T27, T29, front41_in_ga(T27, X57))
front41_in_ga(void, []) → front41_out_ga(void, [])
front41_in_ga(tree(T35, void, void), .(T35, [])) → front41_out_ga(tree(T35, void, void), .(T35, []))
front41_in_ga(tree(T42, T43, T44), X86) → U10_ga(T42, T43, T44, X86, p54_in_gagaa(T43, X84, T44, X85, X86))
p54_in_gagaa(T43, X84, T44, X85, X86) → U1_gagaa(T43, X84, T44, X85, X86, front56_in_ga(T43, X84))
front56_in_ga(void, []) → front56_out_ga(void, [])
front56_in_ga(tree(T50, void, void), .(T50, [])) → front56_out_ga(tree(T50, void, void), .(T50, []))
front56_in_ga(tree(T57, T58, T59), X115) → U7_ga(T57, T58, T59, X115, p54_in_gagaa(T58, X113, T59, X114, X115))
p54_in_gagaa(T43, T45, T44, X85, X86) → U2_gagaa(T43, T45, T44, X85, X86, front56_in_ga(T43, T45))
U2_gagaa(T43, T45, T44, X85, X86, front56_out_ga(T43, T45)) → U3_gagaa(T43, T45, T44, X85, X86, front56_in_ga(T44, X85))
U3_gagaa(T43, T45, T44, X85, X86, front56_out_ga(T44, X85)) → p54_out_gagaa(T43, T45, T44, X85, X86)
p54_in_gagaa(T43, T45, T44, T60, X86) → U4_gagaa(T43, T45, T44, T60, X86, front56_in_ga(T43, T45))
U4_gagaa(T43, T45, T44, T60, X86, front56_out_ga(T43, T45)) → U5_gagaa(T43, T45, T44, T60, X86, front56_in_ga(T44, T60))
U5_gagaa(T43, T45, T44, T60, X86, front56_out_ga(T44, T60)) → U6_gagaa(T43, T45, T44, T60, X86, app72_in_aaa(T45, T60, X86))
app72_in_aaa([], T67, T67) → app72_out_aaa([], T67, T67)
app72_in_aaa(.(T74, T75), T76, .(T74, X142)) → U8_aaa(T74, T75, T76, X142, app72_in_aaa(T75, T76, X142))
U8_aaa(T74, T75, T76, X142, app72_out_aaa(T75, T76, X142)) → app72_out_aaa(.(T74, T75), T76, .(T74, X142))
U6_gagaa(T43, T45, T44, T60, X86, app72_out_aaa(T45, T60, X86)) → p54_out_gagaa(T43, T45, T44, T60, X86)
U7_ga(T57, T58, T59, X115, p54_out_gagaa(T58, X113, T59, X114, X115)) → front56_out_ga(tree(T57, T58, T59), X115)
U1_gagaa(T43, X84, T44, X85, X86, front56_out_ga(T43, X84)) → p54_out_gagaa(T43, X84, T44, X85, X86)
U10_ga(T42, T43, T44, X86, p54_out_gagaa(T43, X84, T44, X85, X86)) → front41_out_ga(tree(T42, T43, T44), X86)
U14_ga(T25, T27, T29, front41_out_ga(T27, X57)) → front1_out_ga(tree(T25, void, T27), T29)
front1_in_ga(tree(T25, void, T27), T29) → U15_ga(T25, T27, T29, front41_in_ga(T27, T30))
U15_ga(T25, T27, T29, front41_out_ga(T27, T30)) → U16_ga(T25, T27, T29, app17_in_aa(T30, T29))
app17_in_aa(T20, T20) → app17_out_aa(T20, T20)
U16_ga(T25, T27, T29, app17_out_aa(T30, T29)) → front1_out_ga(tree(T25, void, T27), T29)
front1_in_ga(tree(T25, tree(T85, void, void), T27), T29) → U17_ga(T25, T85, T27, T29, front56_in_ga(T27, X57))
U17_ga(T25, T85, T27, T29, front56_out_ga(T27, X57)) → front1_out_ga(tree(T25, tree(T85, void, void), T27), T29)
front1_in_ga(tree(T25, tree(T96, void, void), T27), .(T96, T99)) → U18_ga(T25, T96, T27, T99, front56_in_ga(T27, T97))
U18_ga(T25, T96, T27, T99, front56_out_ga(T27, T97)) → U19_ga(T25, T96, T27, T99, app17_in_aa(T97, T99))
U19_ga(T25, T96, T27, T99, app17_out_aa(T97, T99)) → front1_out_ga(tree(T25, tree(T96, void, void), T27), .(T96, T99))
front1_in_ga(tree(T25, tree(T108, T109, T110), T27), T29) → U20_ga(T25, T108, T109, T110, T27, T29, front56_in_ga(T109, X198))
U20_ga(T25, T108, T109, T110, T27, T29, front56_out_ga(T109, X198)) → front1_out_ga(tree(T25, tree(T108, T109, T110), T27), T29)
front1_in_ga(tree(T25, tree(T108, T109, T110), T27), T29) → U21_ga(T25, T108, T109, T110, T27, T29, front56_in_ga(T109, T111))
U21_ga(T25, T108, T109, T110, T27, T29, front56_out_ga(T109, T111)) → U22_ga(T25, T108, T109, T110, T27, T29, front56_in_ga(T110, X199))
U22_ga(T25, T108, T109, T110, T27, T29, front56_out_ga(T110, X199)) → front1_out_ga(tree(T25, tree(T108, T109, T110), T27), T29)
U21_ga(T25, T108, T109, T110, T27, T29, front56_out_ga(T109, T111)) → U23_ga(T25, T108, T109, T110, T27, T29, T111, front56_in_ga(T110, T112))
U23_ga(T25, T108, T109, T110, T27, T29, T111, front56_out_ga(T110, T112)) → U24_ga(T25, T108, T109, T110, T27, T29, app72_in_aaa(T111, T112, X200))
U24_ga(T25, T108, T109, T110, T27, T29, app72_out_aaa(T111, T112, X200)) → front1_out_ga(tree(T25, tree(T108, T109, T110), T27), T29)
U23_ga(T25, T108, T109, T110, T27, T29, T111, front56_out_ga(T110, T112)) → U25_ga(T25, T108, T109, T110, T27, T29, app72_in_aaa(T111, T112, T115))
U25_ga(T25, T108, T109, T110, T27, T29, app72_out_aaa(T111, T112, T115)) → U26_ga(T25, T108, T109, T110, T27, T29, front56_in_ga(T27, X57))
U26_ga(T25, T108, T109, T110, T27, T29, front56_out_ga(T27, X57)) → front1_out_ga(tree(T25, tree(T108, T109, T110), T27), T29)
U25_ga(T25, T108, T109, T110, T27, T29, app72_out_aaa(T111, T112, T115)) → U27_ga(T25, T108, T109, T110, T27, T29, T115, front56_in_ga(T27, T118))
U27_ga(T25, T108, T109, T110, T27, T29, T115, front56_out_ga(T27, T118)) → U28_ga(T25, T108, T109, T110, T27, T29, app100_in_aaa(T115, T118, T29))
app100_in_aaa([], T125, T125) → app100_out_aaa([], T125, T125)
app100_in_aaa(.(T134, T135), T136, .(T134, T138)) → U9_aaa(T134, T135, T136, T138, app100_in_aaa(T135, T136, T138))
U9_aaa(T134, T135, T136, T138, app100_out_aaa(T135, T136, T138)) → app100_out_aaa(.(T134, T135), T136, .(T134, T138))
U28_ga(T25, T108, T109, T110, T27, T29, app100_out_aaa(T115, T118, T29)) → front1_out_ga(tree(T25, tree(T108, T109, T110), T27), T29)
APP100_IN_AAA(.(T134, T135), T136, .(T134, T138)) → APP100_IN_AAA(T135, T136, T138)
APP100_IN_AAA → APP100_IN_AAA
APP72_IN_AAA(.(T74, T75), T76, .(T74, X142)) → APP72_IN_AAA(T75, T76, X142)
front1_in_ga(void, []) → front1_out_ga(void, [])
front1_in_ga(tree(T4, void, void), .(T4, [])) → front1_out_ga(tree(T4, void, void), .(T4, []))
front1_in_ga(tree(T7, void, void), T9) → U11_ga(T7, T9, front16_in_a(X19))
front16_in_a([]) → front16_out_a([])
U11_ga(T7, T9, front16_out_a(X19)) → front1_out_ga(tree(T7, void, void), T9)
front1_in_ga(tree(T7, void, void), T9) → U12_ga(T7, T9, front16_in_a(T13))
U12_ga(T7, T9, front16_out_a(T13)) → U13_ga(T7, T9, app17_in_ga(T13, T9))
app17_in_ga(T20, T20) → app17_out_ga(T20, T20)
U13_ga(T7, T9, app17_out_ga(T13, T9)) → front1_out_ga(tree(T7, void, void), T9)
front1_in_ga(tree(T25, void, T27), T29) → U14_ga(T25, T27, T29, front41_in_ga(T27, X57))
front41_in_ga(void, []) → front41_out_ga(void, [])
front41_in_ga(tree(T35, void, void), .(T35, [])) → front41_out_ga(tree(T35, void, void), .(T35, []))
front41_in_ga(tree(T42, T43, T44), X86) → U10_ga(T42, T43, T44, X86, p54_in_gagaa(T43, X84, T44, X85, X86))
p54_in_gagaa(T43, X84, T44, X85, X86) → U1_gagaa(T43, X84, T44, X85, X86, front56_in_ga(T43, X84))
front56_in_ga(void, []) → front56_out_ga(void, [])
front56_in_ga(tree(T50, void, void), .(T50, [])) → front56_out_ga(tree(T50, void, void), .(T50, []))
front56_in_ga(tree(T57, T58, T59), X115) → U7_ga(T57, T58, T59, X115, p54_in_gagaa(T58, X113, T59, X114, X115))
p54_in_gagaa(T43, T45, T44, X85, X86) → U2_gagaa(T43, T45, T44, X85, X86, front56_in_ga(T43, T45))
U2_gagaa(T43, T45, T44, X85, X86, front56_out_ga(T43, T45)) → U3_gagaa(T43, T45, T44, X85, X86, front56_in_ga(T44, X85))
U3_gagaa(T43, T45, T44, X85, X86, front56_out_ga(T44, X85)) → p54_out_gagaa(T43, T45, T44, X85, X86)
p54_in_gagaa(T43, T45, T44, T60, X86) → U4_gagaa(T43, T45, T44, T60, X86, front56_in_ga(T43, T45))
U4_gagaa(T43, T45, T44, T60, X86, front56_out_ga(T43, T45)) → U5_gagaa(T43, T45, T44, T60, X86, front56_in_ga(T44, T60))
U5_gagaa(T43, T45, T44, T60, X86, front56_out_ga(T44, T60)) → U6_gagaa(T43, T45, T44, T60, X86, app72_in_aaa(T45, T60, X86))
app72_in_aaa([], T67, T67) → app72_out_aaa([], T67, T67)
app72_in_aaa(.(T74, T75), T76, .(T74, X142)) → U8_aaa(T74, T75, T76, X142, app72_in_aaa(T75, T76, X142))
U8_aaa(T74, T75, T76, X142, app72_out_aaa(T75, T76, X142)) → app72_out_aaa(.(T74, T75), T76, .(T74, X142))
U6_gagaa(T43, T45, T44, T60, X86, app72_out_aaa(T45, T60, X86)) → p54_out_gagaa(T43, T45, T44, T60, X86)
U7_ga(T57, T58, T59, X115, p54_out_gagaa(T58, X113, T59, X114, X115)) → front56_out_ga(tree(T57, T58, T59), X115)
U1_gagaa(T43, X84, T44, X85, X86, front56_out_ga(T43, X84)) → p54_out_gagaa(T43, X84, T44, X85, X86)
U10_ga(T42, T43, T44, X86, p54_out_gagaa(T43, X84, T44, X85, X86)) → front41_out_ga(tree(T42, T43, T44), X86)
U14_ga(T25, T27, T29, front41_out_ga(T27, X57)) → front1_out_ga(tree(T25, void, T27), T29)
front1_in_ga(tree(T25, void, T27), T29) → U15_ga(T25, T27, T29, front41_in_ga(T27, T30))
U15_ga(T25, T27, T29, front41_out_ga(T27, T30)) → U16_ga(T25, T27, T29, app17_in_aa(T30, T29))
app17_in_aa(T20, T20) → app17_out_aa(T20, T20)
U16_ga(T25, T27, T29, app17_out_aa(T30, T29)) → front1_out_ga(tree(T25, void, T27), T29)
front1_in_ga(tree(T25, tree(T85, void, void), T27), T29) → U17_ga(T25, T85, T27, T29, front56_in_ga(T27, X57))
U17_ga(T25, T85, T27, T29, front56_out_ga(T27, X57)) → front1_out_ga(tree(T25, tree(T85, void, void), T27), T29)
front1_in_ga(tree(T25, tree(T96, void, void), T27), .(T96, T99)) → U18_ga(T25, T96, T27, T99, front56_in_ga(T27, T97))
U18_ga(T25, T96, T27, T99, front56_out_ga(T27, T97)) → U19_ga(T25, T96, T27, T99, app17_in_aa(T97, T99))
U19_ga(T25, T96, T27, T99, app17_out_aa(T97, T99)) → front1_out_ga(tree(T25, tree(T96, void, void), T27), .(T96, T99))
front1_in_ga(tree(T25, tree(T108, T109, T110), T27), T29) → U20_ga(T25, T108, T109, T110, T27, T29, front56_in_ga(T109, X198))
U20_ga(T25, T108, T109, T110, T27, T29, front56_out_ga(T109, X198)) → front1_out_ga(tree(T25, tree(T108, T109, T110), T27), T29)
front1_in_ga(tree(T25, tree(T108, T109, T110), T27), T29) → U21_ga(T25, T108, T109, T110, T27, T29, front56_in_ga(T109, T111))
U21_ga(T25, T108, T109, T110, T27, T29, front56_out_ga(T109, T111)) → U22_ga(T25, T108, T109, T110, T27, T29, front56_in_ga(T110, X199))
U22_ga(T25, T108, T109, T110, T27, T29, front56_out_ga(T110, X199)) → front1_out_ga(tree(T25, tree(T108, T109, T110), T27), T29)
U21_ga(T25, T108, T109, T110, T27, T29, front56_out_ga(T109, T111)) → U23_ga(T25, T108, T109, T110, T27, T29, T111, front56_in_ga(T110, T112))
U23_ga(T25, T108, T109, T110, T27, T29, T111, front56_out_ga(T110, T112)) → U24_ga(T25, T108, T109, T110, T27, T29, app72_in_aaa(T111, T112, X200))
U24_ga(T25, T108, T109, T110, T27, T29, app72_out_aaa(T111, T112, X200)) → front1_out_ga(tree(T25, tree(T108, T109, T110), T27), T29)
U23_ga(T25, T108, T109, T110, T27, T29, T111, front56_out_ga(T110, T112)) → U25_ga(T25, T108, T109, T110, T27, T29, app72_in_aaa(T111, T112, T115))
U25_ga(T25, T108, T109, T110, T27, T29, app72_out_aaa(T111, T112, T115)) → U26_ga(T25, T108, T109, T110, T27, T29, front56_in_ga(T27, X57))
U26_ga(T25, T108, T109, T110, T27, T29, front56_out_ga(T27, X57)) → front1_out_ga(tree(T25, tree(T108, T109, T110), T27), T29)
U25_ga(T25, T108, T109, T110, T27, T29, app72_out_aaa(T111, T112, T115)) → U27_ga(T25, T108, T109, T110, T27, T29, T115, front56_in_ga(T27, T118))
U27_ga(T25, T108, T109, T110, T27, T29, T115, front56_out_ga(T27, T118)) → U28_ga(T25, T108, T109, T110, T27, T29, app100_in_aaa(T115, T118, T29))
app100_in_aaa([], T125, T125) → app100_out_aaa([], T125, T125)
app100_in_aaa(.(T134, T135), T136, .(T134, T138)) → U9_aaa(T134, T135, T136, T138, app100_in_aaa(T135, T136, T138))
U9_aaa(T134, T135, T136, T138, app100_out_aaa(T135, T136, T138)) → app100_out_aaa(.(T134, T135), T136, .(T134, T138))
U28_ga(T25, T108, T109, T110, T27, T29, app100_out_aaa(T115, T118, T29)) → front1_out_ga(tree(T25, tree(T108, T109, T110), T27), T29)
APP72_IN_AAA(.(T74, T75), T76, .(T74, X142)) → APP72_IN_AAA(T75, T76, X142)
APP72_IN_AAA → APP72_IN_AAA
P54_IN_GAGAA(T43, X84, T44, X85, X86) → FRONT56_IN_GA(T43, X84)
FRONT56_IN_GA(tree(T57, T58, T59), X115) → P54_IN_GAGAA(T58, X113, T59, X114, X115)
P54_IN_GAGAA(T43, T45, T44, X85, X86) → U2_GAGAA(T43, T45, T44, X85, X86, front56_in_ga(T43, T45))
U2_GAGAA(T43, T45, T44, X85, X86, front56_out_ga(T43, T45)) → FRONT56_IN_GA(T44, X85)
P54_IN_GAGAA(T43, T45, T44, T60, X86) → U4_GAGAA(T43, T45, T44, T60, X86, front56_in_ga(T43, T45))
U4_GAGAA(T43, T45, T44, T60, X86, front56_out_ga(T43, T45)) → FRONT56_IN_GA(T44, T60)
front1_in_ga(void, []) → front1_out_ga(void, [])
front1_in_ga(tree(T4, void, void), .(T4, [])) → front1_out_ga(tree(T4, void, void), .(T4, []))
front1_in_ga(tree(T7, void, void), T9) → U11_ga(T7, T9, front16_in_a(X19))
front16_in_a([]) → front16_out_a([])
U11_ga(T7, T9, front16_out_a(X19)) → front1_out_ga(tree(T7, void, void), T9)
front1_in_ga(tree(T7, void, void), T9) → U12_ga(T7, T9, front16_in_a(T13))
U12_ga(T7, T9, front16_out_a(T13)) → U13_ga(T7, T9, app17_in_ga(T13, T9))
app17_in_ga(T20, T20) → app17_out_ga(T20, T20)
U13_ga(T7, T9, app17_out_ga(T13, T9)) → front1_out_ga(tree(T7, void, void), T9)
front1_in_ga(tree(T25, void, T27), T29) → U14_ga(T25, T27, T29, front41_in_ga(T27, X57))
front41_in_ga(void, []) → front41_out_ga(void, [])
front41_in_ga(tree(T35, void, void), .(T35, [])) → front41_out_ga(tree(T35, void, void), .(T35, []))
front41_in_ga(tree(T42, T43, T44), X86) → U10_ga(T42, T43, T44, X86, p54_in_gagaa(T43, X84, T44, X85, X86))
p54_in_gagaa(T43, X84, T44, X85, X86) → U1_gagaa(T43, X84, T44, X85, X86, front56_in_ga(T43, X84))
front56_in_ga(void, []) → front56_out_ga(void, [])
front56_in_ga(tree(T50, void, void), .(T50, [])) → front56_out_ga(tree(T50, void, void), .(T50, []))
front56_in_ga(tree(T57, T58, T59), X115) → U7_ga(T57, T58, T59, X115, p54_in_gagaa(T58, X113, T59, X114, X115))
p54_in_gagaa(T43, T45, T44, X85, X86) → U2_gagaa(T43, T45, T44, X85, X86, front56_in_ga(T43, T45))
U2_gagaa(T43, T45, T44, X85, X86, front56_out_ga(T43, T45)) → U3_gagaa(T43, T45, T44, X85, X86, front56_in_ga(T44, X85))
U3_gagaa(T43, T45, T44, X85, X86, front56_out_ga(T44, X85)) → p54_out_gagaa(T43, T45, T44, X85, X86)
p54_in_gagaa(T43, T45, T44, T60, X86) → U4_gagaa(T43, T45, T44, T60, X86, front56_in_ga(T43, T45))
U4_gagaa(T43, T45, T44, T60, X86, front56_out_ga(T43, T45)) → U5_gagaa(T43, T45, T44, T60, X86, front56_in_ga(T44, T60))
U5_gagaa(T43, T45, T44, T60, X86, front56_out_ga(T44, T60)) → U6_gagaa(T43, T45, T44, T60, X86, app72_in_aaa(T45, T60, X86))
app72_in_aaa([], T67, T67) → app72_out_aaa([], T67, T67)
app72_in_aaa(.(T74, T75), T76, .(T74, X142)) → U8_aaa(T74, T75, T76, X142, app72_in_aaa(T75, T76, X142))
U8_aaa(T74, T75, T76, X142, app72_out_aaa(T75, T76, X142)) → app72_out_aaa(.(T74, T75), T76, .(T74, X142))
U6_gagaa(T43, T45, T44, T60, X86, app72_out_aaa(T45, T60, X86)) → p54_out_gagaa(T43, T45, T44, T60, X86)
U7_ga(T57, T58, T59, X115, p54_out_gagaa(T58, X113, T59, X114, X115)) → front56_out_ga(tree(T57, T58, T59), X115)
U1_gagaa(T43, X84, T44, X85, X86, front56_out_ga(T43, X84)) → p54_out_gagaa(T43, X84, T44, X85, X86)
U10_ga(T42, T43, T44, X86, p54_out_gagaa(T43, X84, T44, X85, X86)) → front41_out_ga(tree(T42, T43, T44), X86)
U14_ga(T25, T27, T29, front41_out_ga(T27, X57)) → front1_out_ga(tree(T25, void, T27), T29)
front1_in_ga(tree(T25, void, T27), T29) → U15_ga(T25, T27, T29, front41_in_ga(T27, T30))
U15_ga(T25, T27, T29, front41_out_ga(T27, T30)) → U16_ga(T25, T27, T29, app17_in_aa(T30, T29))
app17_in_aa(T20, T20) → app17_out_aa(T20, T20)
U16_ga(T25, T27, T29, app17_out_aa(T30, T29)) → front1_out_ga(tree(T25, void, T27), T29)
front1_in_ga(tree(T25, tree(T85, void, void), T27), T29) → U17_ga(T25, T85, T27, T29, front56_in_ga(T27, X57))
U17_ga(T25, T85, T27, T29, front56_out_ga(T27, X57)) → front1_out_ga(tree(T25, tree(T85, void, void), T27), T29)
front1_in_ga(tree(T25, tree(T96, void, void), T27), .(T96, T99)) → U18_ga(T25, T96, T27, T99, front56_in_ga(T27, T97))
U18_ga(T25, T96, T27, T99, front56_out_ga(T27, T97)) → U19_ga(T25, T96, T27, T99, app17_in_aa(T97, T99))
U19_ga(T25, T96, T27, T99, app17_out_aa(T97, T99)) → front1_out_ga(tree(T25, tree(T96, void, void), T27), .(T96, T99))
front1_in_ga(tree(T25, tree(T108, T109, T110), T27), T29) → U20_ga(T25, T108, T109, T110, T27, T29, front56_in_ga(T109, X198))
U20_ga(T25, T108, T109, T110, T27, T29, front56_out_ga(T109, X198)) → front1_out_ga(tree(T25, tree(T108, T109, T110), T27), T29)
front1_in_ga(tree(T25, tree(T108, T109, T110), T27), T29) → U21_ga(T25, T108, T109, T110, T27, T29, front56_in_ga(T109, T111))
U21_ga(T25, T108, T109, T110, T27, T29, front56_out_ga(T109, T111)) → U22_ga(T25, T108, T109, T110, T27, T29, front56_in_ga(T110, X199))
U22_ga(T25, T108, T109, T110, T27, T29, front56_out_ga(T110, X199)) → front1_out_ga(tree(T25, tree(T108, T109, T110), T27), T29)
U21_ga(T25, T108, T109, T110, T27, T29, front56_out_ga(T109, T111)) → U23_ga(T25, T108, T109, T110, T27, T29, T111, front56_in_ga(T110, T112))
U23_ga(T25, T108, T109, T110, T27, T29, T111, front56_out_ga(T110, T112)) → U24_ga(T25, T108, T109, T110, T27, T29, app72_in_aaa(T111, T112, X200))
U24_ga(T25, T108, T109, T110, T27, T29, app72_out_aaa(T111, T112, X200)) → front1_out_ga(tree(T25, tree(T108, T109, T110), T27), T29)
U23_ga(T25, T108, T109, T110, T27, T29, T111, front56_out_ga(T110, T112)) → U25_ga(T25, T108, T109, T110, T27, T29, app72_in_aaa(T111, T112, T115))
U25_ga(T25, T108, T109, T110, T27, T29, app72_out_aaa(T111, T112, T115)) → U26_ga(T25, T108, T109, T110, T27, T29, front56_in_ga(T27, X57))
U26_ga(T25, T108, T109, T110, T27, T29, front56_out_ga(T27, X57)) → front1_out_ga(tree(T25, tree(T108, T109, T110), T27), T29)
U25_ga(T25, T108, T109, T110, T27, T29, app72_out_aaa(T111, T112, T115)) → U27_ga(T25, T108, T109, T110, T27, T29, T115, front56_in_ga(T27, T118))
U27_ga(T25, T108, T109, T110, T27, T29, T115, front56_out_ga(T27, T118)) → U28_ga(T25, T108, T109, T110, T27, T29, app100_in_aaa(T115, T118, T29))
app100_in_aaa([], T125, T125) → app100_out_aaa([], T125, T125)
app100_in_aaa(.(T134, T135), T136, .(T134, T138)) → U9_aaa(T134, T135, T136, T138, app100_in_aaa(T135, T136, T138))
U9_aaa(T134, T135, T136, T138, app100_out_aaa(T135, T136, T138)) → app100_out_aaa(.(T134, T135), T136, .(T134, T138))
U28_ga(T25, T108, T109, T110, T27, T29, app100_out_aaa(T115, T118, T29)) → front1_out_ga(tree(T25, tree(T108, T109, T110), T27), T29)
P54_IN_GAGAA(T43, X84, T44, X85, X86) → FRONT56_IN_GA(T43, X84)
FRONT56_IN_GA(tree(T57, T58, T59), X115) → P54_IN_GAGAA(T58, X113, T59, X114, X115)
P54_IN_GAGAA(T43, T45, T44, X85, X86) → U2_GAGAA(T43, T45, T44, X85, X86, front56_in_ga(T43, T45))
U2_GAGAA(T43, T45, T44, X85, X86, front56_out_ga(T43, T45)) → FRONT56_IN_GA(T44, X85)
P54_IN_GAGAA(T43, T45, T44, T60, X86) → U4_GAGAA(T43, T45, T44, T60, X86, front56_in_ga(T43, T45))
U4_GAGAA(T43, T45, T44, T60, X86, front56_out_ga(T43, T45)) → FRONT56_IN_GA(T44, T60)
front56_in_ga(void, []) → front56_out_ga(void, [])
front56_in_ga(tree(T50, void, void), .(T50, [])) → front56_out_ga(tree(T50, void, void), .(T50, []))
front56_in_ga(tree(T57, T58, T59), X115) → U7_ga(T57, T58, T59, X115, p54_in_gagaa(T58, X113, T59, X114, X115))
U7_ga(T57, T58, T59, X115, p54_out_gagaa(T58, X113, T59, X114, X115)) → front56_out_ga(tree(T57, T58, T59), X115)
p54_in_gagaa(T43, X84, T44, X85, X86) → U1_gagaa(T43, X84, T44, X85, X86, front56_in_ga(T43, X84))
p54_in_gagaa(T43, T45, T44, X85, X86) → U2_gagaa(T43, T45, T44, X85, X86, front56_in_ga(T43, T45))
p54_in_gagaa(T43, T45, T44, T60, X86) → U4_gagaa(T43, T45, T44, T60, X86, front56_in_ga(T43, T45))
U1_gagaa(T43, X84, T44, X85, X86, front56_out_ga(T43, X84)) → p54_out_gagaa(T43, X84, T44, X85, X86)
U2_gagaa(T43, T45, T44, X85, X86, front56_out_ga(T43, T45)) → U3_gagaa(T43, T45, T44, X85, X86, front56_in_ga(T44, X85))
U4_gagaa(T43, T45, T44, T60, X86, front56_out_ga(T43, T45)) → U5_gagaa(T43, T45, T44, T60, X86, front56_in_ga(T44, T60))
U3_gagaa(T43, T45, T44, X85, X86, front56_out_ga(T44, X85)) → p54_out_gagaa(T43, T45, T44, X85, X86)
U5_gagaa(T43, T45, T44, T60, X86, front56_out_ga(T44, T60)) → U6_gagaa(T43, T45, T44, T60, X86, app72_in_aaa(T45, T60, X86))
U6_gagaa(T43, T45, T44, T60, X86, app72_out_aaa(T45, T60, X86)) → p54_out_gagaa(T43, T45, T44, T60, X86)
app72_in_aaa([], T67, T67) → app72_out_aaa([], T67, T67)
app72_in_aaa(.(T74, T75), T76, .(T74, X142)) → U8_aaa(T74, T75, T76, X142, app72_in_aaa(T75, T76, X142))
U8_aaa(T74, T75, T76, X142, app72_out_aaa(T75, T76, X142)) → app72_out_aaa(.(T74, T75), T76, .(T74, X142))
P54_IN_GAGAA(T43, T44) → FRONT56_IN_GA(T43)
FRONT56_IN_GA(tree(T57, T58, T59)) → P54_IN_GAGAA(T58, T59)
P54_IN_GAGAA(T43, T44) → U2_GAGAA(T44, front56_in_ga(T43))
U2_GAGAA(T44, front56_out_ga) → FRONT56_IN_GA(T44)
P54_IN_GAGAA(T43, T44) → U4_GAGAA(T44, front56_in_ga(T43))
U4_GAGAA(T44, front56_out_ga) → FRONT56_IN_GA(T44)
front56_in_ga(void) → front56_out_ga
front56_in_ga(tree(T50, void, void)) → front56_out_ga
front56_in_ga(tree(T57, T58, T59)) → U7_ga(p54_in_gagaa(T58, T59))
U7_ga(p54_out_gagaa) → front56_out_ga
p54_in_gagaa(T43, T44) → U1_gagaa(front56_in_ga(T43))
p54_in_gagaa(T43, T44) → U2_gagaa(T44, front56_in_ga(T43))
p54_in_gagaa(T43, T44) → U4_gagaa(T44, front56_in_ga(T43))
U1_gagaa(front56_out_ga) → p54_out_gagaa
U2_gagaa(T44, front56_out_ga) → U3_gagaa(front56_in_ga(T44))
U4_gagaa(T44, front56_out_ga) → U5_gagaa(front56_in_ga(T44))
U3_gagaa(front56_out_ga) → p54_out_gagaa
U5_gagaa(front56_out_ga) → U6_gagaa(app72_in_aaa)
U6_gagaa(app72_out_aaa(T45)) → p54_out_gagaa
app72_in_aaa → app72_out_aaa([])
app72_in_aaa → U8_aaa(app72_in_aaa)
U8_aaa(app72_out_aaa(T75)) → app72_out_aaa(.(T75))
front56_in_ga(x0)
U7_ga(x0)
p54_in_gagaa(x0, x1)
U1_gagaa(x0)
U2_gagaa(x0, x1)
U4_gagaa(x0, x1)
U3_gagaa(x0)
U5_gagaa(x0)
U6_gagaa(x0)
app72_in_aaa
U8_aaa(x0)
From the DPs we obtained the following set of size-change graphs:
front1_in_ga(void, []) → front1_out_ga(void, [])
front1_in_ga(tree(T4, void, void), .(T4, [])) → front1_out_ga(tree(T4, void, void), .(T4, []))
front1_in_ga(tree(T7, void, void), T9) → U11_ga(T7, T9, front16_in_a(X19))
front16_in_a([]) → front16_out_a([])
U11_ga(T7, T9, front16_out_a(X19)) → front1_out_ga(tree(T7, void, void), T9)
front1_in_ga(tree(T7, void, void), T9) → U12_ga(T7, T9, front16_in_a(T13))
U12_ga(T7, T9, front16_out_a(T13)) → U13_ga(T7, T9, app17_in_ga(T13, T9))
app17_in_ga(T20, T20) → app17_out_ga(T20, T20)
U13_ga(T7, T9, app17_out_ga(T13, T9)) → front1_out_ga(tree(T7, void, void), T9)
front1_in_ga(tree(T25, void, T27), T29) → U14_ga(T25, T27, T29, front41_in_ga(T27, X57))
front41_in_ga(void, []) → front41_out_ga(void, [])
front41_in_ga(tree(T35, void, void), .(T35, [])) → front41_out_ga(tree(T35, void, void), .(T35, []))
front41_in_ga(tree(T42, T43, T44), X86) → U10_ga(T42, T43, T44, X86, p54_in_gagaa(T43, X84, T44, X85, X86))
p54_in_gagaa(T43, X84, T44, X85, X86) → U1_gagaa(T43, X84, T44, X85, X86, front56_in_ga(T43, X84))
front56_in_ga(void, []) → front56_out_ga(void, [])
front56_in_ga(tree(T50, void, void), .(T50, [])) → front56_out_ga(tree(T50, void, void), .(T50, []))
front56_in_ga(tree(T57, T58, T59), X115) → U7_ga(T57, T58, T59, X115, p54_in_gagaa(T58, X113, T59, X114, X115))
p54_in_gagaa(T43, T45, T44, X85, X86) → U2_gagaa(T43, T45, T44, X85, X86, front56_in_ga(T43, T45))
U2_gagaa(T43, T45, T44, X85, X86, front56_out_ga(T43, T45)) → U3_gagaa(T43, T45, T44, X85, X86, front56_in_ga(T44, X85))
U3_gagaa(T43, T45, T44, X85, X86, front56_out_ga(T44, X85)) → p54_out_gagaa(T43, T45, T44, X85, X86)
p54_in_gagaa(T43, T45, T44, T60, X86) → U4_gagaa(T43, T45, T44, T60, X86, front56_in_ga(T43, T45))
U4_gagaa(T43, T45, T44, T60, X86, front56_out_ga(T43, T45)) → U5_gagaa(T43, T45, T44, T60, X86, front56_in_ga(T44, T60))
U5_gagaa(T43, T45, T44, T60, X86, front56_out_ga(T44, T60)) → U6_gagaa(T43, T45, T44, T60, X86, app72_in_aaa(T45, T60, X86))
app72_in_aaa([], T67, T67) → app72_out_aaa([], T67, T67)
app72_in_aaa(.(T74, T75), T76, .(T74, X142)) → U8_aaa(T74, T75, T76, X142, app72_in_aaa(T75, T76, X142))
U8_aaa(T74, T75, T76, X142, app72_out_aaa(T75, T76, X142)) → app72_out_aaa(.(T74, T75), T76, .(T74, X142))
U6_gagaa(T43, T45, T44, T60, X86, app72_out_aaa(T45, T60, X86)) → p54_out_gagaa(T43, T45, T44, T60, X86)
U7_ga(T57, T58, T59, X115, p54_out_gagaa(T58, X113, T59, X114, X115)) → front56_out_ga(tree(T57, T58, T59), X115)
U1_gagaa(T43, X84, T44, X85, X86, front56_out_ga(T43, X84)) → p54_out_gagaa(T43, X84, T44, X85, X86)
U10_ga(T42, T43, T44, X86, p54_out_gagaa(T43, X84, T44, X85, X86)) → front41_out_ga(tree(T42, T43, T44), X86)
U14_ga(T25, T27, T29, front41_out_ga(T27, X57)) → front1_out_ga(tree(T25, void, T27), T29)
front1_in_ga(tree(T25, void, T27), T29) → U15_ga(T25, T27, T29, front41_in_ga(T27, T30))
U15_ga(T25, T27, T29, front41_out_ga(T27, T30)) → U16_ga(T25, T27, T29, app17_in_aa(T30, T29))
app17_in_aa(T20, T20) → app17_out_aa(T20, T20)
U16_ga(T25, T27, T29, app17_out_aa(T30, T29)) → front1_out_ga(tree(T25, void, T27), T29)
front1_in_ga(tree(T25, tree(T85, void, void), T27), T29) → U17_ga(T25, T85, T27, T29, front56_in_ga(T27, X57))
U17_ga(T25, T85, T27, T29, front56_out_ga(T27, X57)) → front1_out_ga(tree(T25, tree(T85, void, void), T27), T29)
front1_in_ga(tree(T25, tree(T96, void, void), T27), .(T96, T99)) → U18_ga(T25, T96, T27, T99, front56_in_ga(T27, T97))
U18_ga(T25, T96, T27, T99, front56_out_ga(T27, T97)) → U19_ga(T25, T96, T27, T99, app17_in_aa(T97, T99))
U19_ga(T25, T96, T27, T99, app17_out_aa(T97, T99)) → front1_out_ga(tree(T25, tree(T96, void, void), T27), .(T96, T99))
front1_in_ga(tree(T25, tree(T108, T109, T110), T27), T29) → U20_ga(T25, T108, T109, T110, T27, T29, front56_in_ga(T109, X198))
U20_ga(T25, T108, T109, T110, T27, T29, front56_out_ga(T109, X198)) → front1_out_ga(tree(T25, tree(T108, T109, T110), T27), T29)
front1_in_ga(tree(T25, tree(T108, T109, T110), T27), T29) → U21_ga(T25, T108, T109, T110, T27, T29, front56_in_ga(T109, T111))
U21_ga(T25, T108, T109, T110, T27, T29, front56_out_ga(T109, T111)) → U22_ga(T25, T108, T109, T110, T27, T29, front56_in_ga(T110, X199))
U22_ga(T25, T108, T109, T110, T27, T29, front56_out_ga(T110, X199)) → front1_out_ga(tree(T25, tree(T108, T109, T110), T27), T29)
U21_ga(T25, T108, T109, T110, T27, T29, front56_out_ga(T109, T111)) → U23_ga(T25, T108, T109, T110, T27, T29, T111, front56_in_ga(T110, T112))
U23_ga(T25, T108, T109, T110, T27, T29, T111, front56_out_ga(T110, T112)) → U24_ga(T25, T108, T109, T110, T27, T29, app72_in_aaa(T111, T112, X200))
U24_ga(T25, T108, T109, T110, T27, T29, app72_out_aaa(T111, T112, X200)) → front1_out_ga(tree(T25, tree(T108, T109, T110), T27), T29)
U23_ga(T25, T108, T109, T110, T27, T29, T111, front56_out_ga(T110, T112)) → U25_ga(T25, T108, T109, T110, T27, T29, app72_in_aaa(T111, T112, T115))
U25_ga(T25, T108, T109, T110, T27, T29, app72_out_aaa(T111, T112, T115)) → U26_ga(T25, T108, T109, T110, T27, T29, front56_in_ga(T27, X57))
U26_ga(T25, T108, T109, T110, T27, T29, front56_out_ga(T27, X57)) → front1_out_ga(tree(T25, tree(T108, T109, T110), T27), T29)
U25_ga(T25, T108, T109, T110, T27, T29, app72_out_aaa(T111, T112, T115)) → U27_ga(T25, T108, T109, T110, T27, T29, T115, front56_in_ga(T27, T118))
U27_ga(T25, T108, T109, T110, T27, T29, T115, front56_out_ga(T27, T118)) → U28_ga(T25, T108, T109, T110, T27, T29, app100_in_aaa(T115, T118, T29))
app100_in_aaa([], T125, T125) → app100_out_aaa([], T125, T125)
app100_in_aaa(.(T134, T135), T136, .(T134, T138)) → U9_aaa(T134, T135, T136, T138, app100_in_aaa(T135, T136, T138))
U9_aaa(T134, T135, T136, T138, app100_out_aaa(T135, T136, T138)) → app100_out_aaa(.(T134, T135), T136, .(T134, T138))
U28_ga(T25, T108, T109, T110, T27, T29, app100_out_aaa(T115, T118, T29)) → front1_out_ga(tree(T25, tree(T108, T109, T110), T27), T29)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
front1_in_ga(void, []) → front1_out_ga(void, [])
front1_in_ga(tree(T4, void, void), .(T4, [])) → front1_out_ga(tree(T4, void, void), .(T4, []))
front1_in_ga(tree(T7, void, void), T9) → U11_ga(T7, T9, front16_in_a(X19))
front16_in_a([]) → front16_out_a([])
U11_ga(T7, T9, front16_out_a(X19)) → front1_out_ga(tree(T7, void, void), T9)
front1_in_ga(tree(T7, void, void), T9) → U12_ga(T7, T9, front16_in_a(T13))
U12_ga(T7, T9, front16_out_a(T13)) → U13_ga(T7, T9, app17_in_ga(T13, T9))
app17_in_ga(T20, T20) → app17_out_ga(T20, T20)
U13_ga(T7, T9, app17_out_ga(T13, T9)) → front1_out_ga(tree(T7, void, void), T9)
front1_in_ga(tree(T25, void, T27), T29) → U14_ga(T25, T27, T29, front41_in_ga(T27, X57))
front41_in_ga(void, []) → front41_out_ga(void, [])
front41_in_ga(tree(T35, void, void), .(T35, [])) → front41_out_ga(tree(T35, void, void), .(T35, []))
front41_in_ga(tree(T42, T43, T44), X86) → U10_ga(T42, T43, T44, X86, p54_in_gagaa(T43, X84, T44, X85, X86))
p54_in_gagaa(T43, X84, T44, X85, X86) → U1_gagaa(T43, X84, T44, X85, X86, front56_in_ga(T43, X84))
front56_in_ga(void, []) → front56_out_ga(void, [])
front56_in_ga(tree(T50, void, void), .(T50, [])) → front56_out_ga(tree(T50, void, void), .(T50, []))
front56_in_ga(tree(T57, T58, T59), X115) → U7_ga(T57, T58, T59, X115, p54_in_gagaa(T58, X113, T59, X114, X115))
p54_in_gagaa(T43, T45, T44, X85, X86) → U2_gagaa(T43, T45, T44, X85, X86, front56_in_ga(T43, T45))
U2_gagaa(T43, T45, T44, X85, X86, front56_out_ga(T43, T45)) → U3_gagaa(T43, T45, T44, X85, X86, front56_in_ga(T44, X85))
U3_gagaa(T43, T45, T44, X85, X86, front56_out_ga(T44, X85)) → p54_out_gagaa(T43, T45, T44, X85, X86)
p54_in_gagaa(T43, T45, T44, T60, X86) → U4_gagaa(T43, T45, T44, T60, X86, front56_in_ga(T43, T45))
U4_gagaa(T43, T45, T44, T60, X86, front56_out_ga(T43, T45)) → U5_gagaa(T43, T45, T44, T60, X86, front56_in_ga(T44, T60))
U5_gagaa(T43, T45, T44, T60, X86, front56_out_ga(T44, T60)) → U6_gagaa(T43, T45, T44, T60, X86, app72_in_aaa(T45, T60, X86))
app72_in_aaa([], T67, T67) → app72_out_aaa([], T67, T67)
app72_in_aaa(.(T74, T75), T76, .(T74, X142)) → U8_aaa(T74, T75, T76, X142, app72_in_aaa(T75, T76, X142))
U8_aaa(T74, T75, T76, X142, app72_out_aaa(T75, T76, X142)) → app72_out_aaa(.(T74, T75), T76, .(T74, X142))
U6_gagaa(T43, T45, T44, T60, X86, app72_out_aaa(T45, T60, X86)) → p54_out_gagaa(T43, T45, T44, T60, X86)
U7_ga(T57, T58, T59, X115, p54_out_gagaa(T58, X113, T59, X114, X115)) → front56_out_ga(tree(T57, T58, T59), X115)
U1_gagaa(T43, X84, T44, X85, X86, front56_out_ga(T43, X84)) → p54_out_gagaa(T43, X84, T44, X85, X86)
U10_ga(T42, T43, T44, X86, p54_out_gagaa(T43, X84, T44, X85, X86)) → front41_out_ga(tree(T42, T43, T44), X86)
U14_ga(T25, T27, T29, front41_out_ga(T27, X57)) → front1_out_ga(tree(T25, void, T27), T29)
front1_in_ga(tree(T25, void, T27), T29) → U15_ga(T25, T27, T29, front41_in_ga(T27, T30))
U15_ga(T25, T27, T29, front41_out_ga(T27, T30)) → U16_ga(T25, T27, T29, app17_in_aa(T30, T29))
app17_in_aa(T20, T20) → app17_out_aa(T20, T20)
U16_ga(T25, T27, T29, app17_out_aa(T30, T29)) → front1_out_ga(tree(T25, void, T27), T29)
front1_in_ga(tree(T25, tree(T85, void, void), T27), T29) → U17_ga(T25, T85, T27, T29, front56_in_ga(T27, X57))
U17_ga(T25, T85, T27, T29, front56_out_ga(T27, X57)) → front1_out_ga(tree(T25, tree(T85, void, void), T27), T29)
front1_in_ga(tree(T25, tree(T96, void, void), T27), .(T96, T99)) → U18_ga(T25, T96, T27, T99, front56_in_ga(T27, T97))
U18_ga(T25, T96, T27, T99, front56_out_ga(T27, T97)) → U19_ga(T25, T96, T27, T99, app17_in_aa(T97, T99))
U19_ga(T25, T96, T27, T99, app17_out_aa(T97, T99)) → front1_out_ga(tree(T25, tree(T96, void, void), T27), .(T96, T99))
front1_in_ga(tree(T25, tree(T108, T109, T110), T27), T29) → U20_ga(T25, T108, T109, T110, T27, T29, front56_in_ga(T109, X198))
U20_ga(T25, T108, T109, T110, T27, T29, front56_out_ga(T109, X198)) → front1_out_ga(tree(T25, tree(T108, T109, T110), T27), T29)
front1_in_ga(tree(T25, tree(T108, T109, T110), T27), T29) → U21_ga(T25, T108, T109, T110, T27, T29, front56_in_ga(T109, T111))
U21_ga(T25, T108, T109, T110, T27, T29, front56_out_ga(T109, T111)) → U22_ga(T25, T108, T109, T110, T27, T29, front56_in_ga(T110, X199))
U22_ga(T25, T108, T109, T110, T27, T29, front56_out_ga(T110, X199)) → front1_out_ga(tree(T25, tree(T108, T109, T110), T27), T29)
U21_ga(T25, T108, T109, T110, T27, T29, front56_out_ga(T109, T111)) → U23_ga(T25, T108, T109, T110, T27, T29, T111, front56_in_ga(T110, T112))
U23_ga(T25, T108, T109, T110, T27, T29, T111, front56_out_ga(T110, T112)) → U24_ga(T25, T108, T109, T110, T27, T29, app72_in_aaa(T111, T112, X200))
U24_ga(T25, T108, T109, T110, T27, T29, app72_out_aaa(T111, T112, X200)) → front1_out_ga(tree(T25, tree(T108, T109, T110), T27), T29)
U23_ga(T25, T108, T109, T110, T27, T29, T111, front56_out_ga(T110, T112)) → U25_ga(T25, T108, T109, T110, T27, T29, app72_in_aaa(T111, T112, T115))
U25_ga(T25, T108, T109, T110, T27, T29, app72_out_aaa(T111, T112, T115)) → U26_ga(T25, T108, T109, T110, T27, T29, front56_in_ga(T27, X57))
U26_ga(T25, T108, T109, T110, T27, T29, front56_out_ga(T27, X57)) → front1_out_ga(tree(T25, tree(T108, T109, T110), T27), T29)
U25_ga(T25, T108, T109, T110, T27, T29, app72_out_aaa(T111, T112, T115)) → U27_ga(T25, T108, T109, T110, T27, T29, T115, front56_in_ga(T27, T118))
U27_ga(T25, T108, T109, T110, T27, T29, T115, front56_out_ga(T27, T118)) → U28_ga(T25, T108, T109, T110, T27, T29, app100_in_aaa(T115, T118, T29))
app100_in_aaa([], T125, T125) → app100_out_aaa([], T125, T125)
app100_in_aaa(.(T134, T135), T136, .(T134, T138)) → U9_aaa(T134, T135, T136, T138, app100_in_aaa(T135, T136, T138))
U9_aaa(T134, T135, T136, T138, app100_out_aaa(T135, T136, T138)) → app100_out_aaa(.(T134, T135), T136, .(T134, T138))
U28_ga(T25, T108, T109, T110, T27, T29, app100_out_aaa(T115, T118, T29)) → front1_out_ga(tree(T25, tree(T108, T109, T110), T27), T29)
FRONT1_IN_GA(tree(T7, void, void), T9) → U11_GA(T7, T9, front16_in_a(X19))
FRONT1_IN_GA(tree(T7, void, void), T9) → FRONT16_IN_A(X19)
FRONT1_IN_GA(tree(T7, void, void), T9) → U12_GA(T7, T9, front16_in_a(T13))
U12_GA(T7, T9, front16_out_a(T13)) → U13_GA(T7, T9, app17_in_ga(T13, T9))
U12_GA(T7, T9, front16_out_a(T13)) → APP17_IN_GA(T13, T9)
FRONT1_IN_GA(tree(T25, void, T27), T29) → U14_GA(T25, T27, T29, front41_in_ga(T27, X57))
FRONT1_IN_GA(tree(T25, void, T27), T29) → FRONT41_IN_GA(T27, X57)
FRONT41_IN_GA(tree(T42, T43, T44), X86) → U10_GA(T42, T43, T44, X86, p54_in_gagaa(T43, X84, T44, X85, X86))
FRONT41_IN_GA(tree(T42, T43, T44), X86) → P54_IN_GAGAA(T43, X84, T44, X85, X86)
P54_IN_GAGAA(T43, X84, T44, X85, X86) → U1_GAGAA(T43, X84, T44, X85, X86, front56_in_ga(T43, X84))
P54_IN_GAGAA(T43, X84, T44, X85, X86) → FRONT56_IN_GA(T43, X84)
FRONT56_IN_GA(tree(T57, T58, T59), X115) → U7_GA(T57, T58, T59, X115, p54_in_gagaa(T58, X113, T59, X114, X115))
FRONT56_IN_GA(tree(T57, T58, T59), X115) → P54_IN_GAGAA(T58, X113, T59, X114, X115)
P54_IN_GAGAA(T43, T45, T44, X85, X86) → U2_GAGAA(T43, T45, T44, X85, X86, front56_in_ga(T43, T45))
U2_GAGAA(T43, T45, T44, X85, X86, front56_out_ga(T43, T45)) → U3_GAGAA(T43, T45, T44, X85, X86, front56_in_ga(T44, X85))
U2_GAGAA(T43, T45, T44, X85, X86, front56_out_ga(T43, T45)) → FRONT56_IN_GA(T44, X85)
P54_IN_GAGAA(T43, T45, T44, T60, X86) → U4_GAGAA(T43, T45, T44, T60, X86, front56_in_ga(T43, T45))
U4_GAGAA(T43, T45, T44, T60, X86, front56_out_ga(T43, T45)) → U5_GAGAA(T43, T45, T44, T60, X86, front56_in_ga(T44, T60))
U4_GAGAA(T43, T45, T44, T60, X86, front56_out_ga(T43, T45)) → FRONT56_IN_GA(T44, T60)
U5_GAGAA(T43, T45, T44, T60, X86, front56_out_ga(T44, T60)) → U6_GAGAA(T43, T45, T44, T60, X86, app72_in_aaa(T45, T60, X86))
U5_GAGAA(T43, T45, T44, T60, X86, front56_out_ga(T44, T60)) → APP72_IN_AAA(T45, T60, X86)
APP72_IN_AAA(.(T74, T75), T76, .(T74, X142)) → U8_AAA(T74, T75, T76, X142, app72_in_aaa(T75, T76, X142))
APP72_IN_AAA(.(T74, T75), T76, .(T74, X142)) → APP72_IN_AAA(T75, T76, X142)
FRONT1_IN_GA(tree(T25, void, T27), T29) → U15_GA(T25, T27, T29, front41_in_ga(T27, T30))
U15_GA(T25, T27, T29, front41_out_ga(T27, T30)) → U16_GA(T25, T27, T29, app17_in_aa(T30, T29))
U15_GA(T25, T27, T29, front41_out_ga(T27, T30)) → APP17_IN_AA(T30, T29)
FRONT1_IN_GA(tree(T25, tree(T85, void, void), T27), T29) → U17_GA(T25, T85, T27, T29, front56_in_ga(T27, X57))
FRONT1_IN_GA(tree(T25, tree(T85, void, void), T27), T29) → FRONT56_IN_GA(T27, X57)
FRONT1_IN_GA(tree(T25, tree(T96, void, void), T27), .(T96, T99)) → U18_GA(T25, T96, T27, T99, front56_in_ga(T27, T97))
FRONT1_IN_GA(tree(T25, tree(T96, void, void), T27), .(T96, T99)) → FRONT56_IN_GA(T27, T97)
U18_GA(T25, T96, T27, T99, front56_out_ga(T27, T97)) → U19_GA(T25, T96, T27, T99, app17_in_aa(T97, T99))
U18_GA(T25, T96, T27, T99, front56_out_ga(T27, T97)) → APP17_IN_AA(T97, T99)
FRONT1_IN_GA(tree(T25, tree(T108, T109, T110), T27), T29) → U20_GA(T25, T108, T109, T110, T27, T29, front56_in_ga(T109, X198))
FRONT1_IN_GA(tree(T25, tree(T108, T109, T110), T27), T29) → FRONT56_IN_GA(T109, X198)
FRONT1_IN_GA(tree(T25, tree(T108, T109, T110), T27), T29) → U21_GA(T25, T108, T109, T110, T27, T29, front56_in_ga(T109, T111))
U21_GA(T25, T108, T109, T110, T27, T29, front56_out_ga(T109, T111)) → U22_GA(T25, T108, T109, T110, T27, T29, front56_in_ga(T110, X199))
U21_GA(T25, T108, T109, T110, T27, T29, front56_out_ga(T109, T111)) → FRONT56_IN_GA(T110, X199)
U21_GA(T25, T108, T109, T110, T27, T29, front56_out_ga(T109, T111)) → U23_GA(T25, T108, T109, T110, T27, T29, T111, front56_in_ga(T110, T112))
U23_GA(T25, T108, T109, T110, T27, T29, T111, front56_out_ga(T110, T112)) → U24_GA(T25, T108, T109, T110, T27, T29, app72_in_aaa(T111, T112, X200))
U23_GA(T25, T108, T109, T110, T27, T29, T111, front56_out_ga(T110, T112)) → APP72_IN_AAA(T111, T112, X200)
U23_GA(T25, T108, T109, T110, T27, T29, T111, front56_out_ga(T110, T112)) → U25_GA(T25, T108, T109, T110, T27, T29, app72_in_aaa(T111, T112, T115))
U25_GA(T25, T108, T109, T110, T27, T29, app72_out_aaa(T111, T112, T115)) → U26_GA(T25, T108, T109, T110, T27, T29, front56_in_ga(T27, X57))
U25_GA(T25, T108, T109, T110, T27, T29, app72_out_aaa(T111, T112, T115)) → FRONT56_IN_GA(T27, X57)
U25_GA(T25, T108, T109, T110, T27, T29, app72_out_aaa(T111, T112, T115)) → U27_GA(T25, T108, T109, T110, T27, T29, T115, front56_in_ga(T27, T118))
U27_GA(T25, T108, T109, T110, T27, T29, T115, front56_out_ga(T27, T118)) → U28_GA(T25, T108, T109, T110, T27, T29, app100_in_aaa(T115, T118, T29))
U27_GA(T25, T108, T109, T110, T27, T29, T115, front56_out_ga(T27, T118)) → APP100_IN_AAA(T115, T118, T29)
APP100_IN_AAA(.(T134, T135), T136, .(T134, T138)) → U9_AAA(T134, T135, T136, T138, app100_in_aaa(T135, T136, T138))
APP100_IN_AAA(.(T134, T135), T136, .(T134, T138)) → APP100_IN_AAA(T135, T136, T138)
front1_in_ga(void, []) → front1_out_ga(void, [])
front1_in_ga(tree(T4, void, void), .(T4, [])) → front1_out_ga(tree(T4, void, void), .(T4, []))
front1_in_ga(tree(T7, void, void), T9) → U11_ga(T7, T9, front16_in_a(X19))
front16_in_a([]) → front16_out_a([])
U11_ga(T7, T9, front16_out_a(X19)) → front1_out_ga(tree(T7, void, void), T9)
front1_in_ga(tree(T7, void, void), T9) → U12_ga(T7, T9, front16_in_a(T13))
U12_ga(T7, T9, front16_out_a(T13)) → U13_ga(T7, T9, app17_in_ga(T13, T9))
app17_in_ga(T20, T20) → app17_out_ga(T20, T20)
U13_ga(T7, T9, app17_out_ga(T13, T9)) → front1_out_ga(tree(T7, void, void), T9)
front1_in_ga(tree(T25, void, T27), T29) → U14_ga(T25, T27, T29, front41_in_ga(T27, X57))
front41_in_ga(void, []) → front41_out_ga(void, [])
front41_in_ga(tree(T35, void, void), .(T35, [])) → front41_out_ga(tree(T35, void, void), .(T35, []))
front41_in_ga(tree(T42, T43, T44), X86) → U10_ga(T42, T43, T44, X86, p54_in_gagaa(T43, X84, T44, X85, X86))
p54_in_gagaa(T43, X84, T44, X85, X86) → U1_gagaa(T43, X84, T44, X85, X86, front56_in_ga(T43, X84))
front56_in_ga(void, []) → front56_out_ga(void, [])
front56_in_ga(tree(T50, void, void), .(T50, [])) → front56_out_ga(tree(T50, void, void), .(T50, []))
front56_in_ga(tree(T57, T58, T59), X115) → U7_ga(T57, T58, T59, X115, p54_in_gagaa(T58, X113, T59, X114, X115))
p54_in_gagaa(T43, T45, T44, X85, X86) → U2_gagaa(T43, T45, T44, X85, X86, front56_in_ga(T43, T45))
U2_gagaa(T43, T45, T44, X85, X86, front56_out_ga(T43, T45)) → U3_gagaa(T43, T45, T44, X85, X86, front56_in_ga(T44, X85))
U3_gagaa(T43, T45, T44, X85, X86, front56_out_ga(T44, X85)) → p54_out_gagaa(T43, T45, T44, X85, X86)
p54_in_gagaa(T43, T45, T44, T60, X86) → U4_gagaa(T43, T45, T44, T60, X86, front56_in_ga(T43, T45))
U4_gagaa(T43, T45, T44, T60, X86, front56_out_ga(T43, T45)) → U5_gagaa(T43, T45, T44, T60, X86, front56_in_ga(T44, T60))
U5_gagaa(T43, T45, T44, T60, X86, front56_out_ga(T44, T60)) → U6_gagaa(T43, T45, T44, T60, X86, app72_in_aaa(T45, T60, X86))
app72_in_aaa([], T67, T67) → app72_out_aaa([], T67, T67)
app72_in_aaa(.(T74, T75), T76, .(T74, X142)) → U8_aaa(T74, T75, T76, X142, app72_in_aaa(T75, T76, X142))
U8_aaa(T74, T75, T76, X142, app72_out_aaa(T75, T76, X142)) → app72_out_aaa(.(T74, T75), T76, .(T74, X142))
U6_gagaa(T43, T45, T44, T60, X86, app72_out_aaa(T45, T60, X86)) → p54_out_gagaa(T43, T45, T44, T60, X86)
U7_ga(T57, T58, T59, X115, p54_out_gagaa(T58, X113, T59, X114, X115)) → front56_out_ga(tree(T57, T58, T59), X115)
U1_gagaa(T43, X84, T44, X85, X86, front56_out_ga(T43, X84)) → p54_out_gagaa(T43, X84, T44, X85, X86)
U10_ga(T42, T43, T44, X86, p54_out_gagaa(T43, X84, T44, X85, X86)) → front41_out_ga(tree(T42, T43, T44), X86)
U14_ga(T25, T27, T29, front41_out_ga(T27, X57)) → front1_out_ga(tree(T25, void, T27), T29)
front1_in_ga(tree(T25, void, T27), T29) → U15_ga(T25, T27, T29, front41_in_ga(T27, T30))
U15_ga(T25, T27, T29, front41_out_ga(T27, T30)) → U16_ga(T25, T27, T29, app17_in_aa(T30, T29))
app17_in_aa(T20, T20) → app17_out_aa(T20, T20)
U16_ga(T25, T27, T29, app17_out_aa(T30, T29)) → front1_out_ga(tree(T25, void, T27), T29)
front1_in_ga(tree(T25, tree(T85, void, void), T27), T29) → U17_ga(T25, T85, T27, T29, front56_in_ga(T27, X57))
U17_ga(T25, T85, T27, T29, front56_out_ga(T27, X57)) → front1_out_ga(tree(T25, tree(T85, void, void), T27), T29)
front1_in_ga(tree(T25, tree(T96, void, void), T27), .(T96, T99)) → U18_ga(T25, T96, T27, T99, front56_in_ga(T27, T97))
U18_ga(T25, T96, T27, T99, front56_out_ga(T27, T97)) → U19_ga(T25, T96, T27, T99, app17_in_aa(T97, T99))
U19_ga(T25, T96, T27, T99, app17_out_aa(T97, T99)) → front1_out_ga(tree(T25, tree(T96, void, void), T27), .(T96, T99))
front1_in_ga(tree(T25, tree(T108, T109, T110), T27), T29) → U20_ga(T25, T108, T109, T110, T27, T29, front56_in_ga(T109, X198))
U20_ga(T25, T108, T109, T110, T27, T29, front56_out_ga(T109, X198)) → front1_out_ga(tree(T25, tree(T108, T109, T110), T27), T29)
front1_in_ga(tree(T25, tree(T108, T109, T110), T27), T29) → U21_ga(T25, T108, T109, T110, T27, T29, front56_in_ga(T109, T111))
U21_ga(T25, T108, T109, T110, T27, T29, front56_out_ga(T109, T111)) → U22_ga(T25, T108, T109, T110, T27, T29, front56_in_ga(T110, X199))
U22_ga(T25, T108, T109, T110, T27, T29, front56_out_ga(T110, X199)) → front1_out_ga(tree(T25, tree(T108, T109, T110), T27), T29)
U21_ga(T25, T108, T109, T110, T27, T29, front56_out_ga(T109, T111)) → U23_ga(T25, T108, T109, T110, T27, T29, T111, front56_in_ga(T110, T112))
U23_ga(T25, T108, T109, T110, T27, T29, T111, front56_out_ga(T110, T112)) → U24_ga(T25, T108, T109, T110, T27, T29, app72_in_aaa(T111, T112, X200))
U24_ga(T25, T108, T109, T110, T27, T29, app72_out_aaa(T111, T112, X200)) → front1_out_ga(tree(T25, tree(T108, T109, T110), T27), T29)
U23_ga(T25, T108, T109, T110, T27, T29, T111, front56_out_ga(T110, T112)) → U25_ga(T25, T108, T109, T110, T27, T29, app72_in_aaa(T111, T112, T115))
U25_ga(T25, T108, T109, T110, T27, T29, app72_out_aaa(T111, T112, T115)) → U26_ga(T25, T108, T109, T110, T27, T29, front56_in_ga(T27, X57))
U26_ga(T25, T108, T109, T110, T27, T29, front56_out_ga(T27, X57)) → front1_out_ga(tree(T25, tree(T108, T109, T110), T27), T29)
U25_ga(T25, T108, T109, T110, T27, T29, app72_out_aaa(T111, T112, T115)) → U27_ga(T25, T108, T109, T110, T27, T29, T115, front56_in_ga(T27, T118))
U27_ga(T25, T108, T109, T110, T27, T29, T115, front56_out_ga(T27, T118)) → U28_ga(T25, T108, T109, T110, T27, T29, app100_in_aaa(T115, T118, T29))
app100_in_aaa([], T125, T125) → app100_out_aaa([], T125, T125)
app100_in_aaa(.(T134, T135), T136, .(T134, T138)) → U9_aaa(T134, T135, T136, T138, app100_in_aaa(T135, T136, T138))
U9_aaa(T134, T135, T136, T138, app100_out_aaa(T135, T136, T138)) → app100_out_aaa(.(T134, T135), T136, .(T134, T138))
U28_ga(T25, T108, T109, T110, T27, T29, app100_out_aaa(T115, T118, T29)) → front1_out_ga(tree(T25, tree(T108, T109, T110), T27), T29)
FRONT1_IN_GA(tree(T7, void, void), T9) → U11_GA(T7, T9, front16_in_a(X19))
FRONT1_IN_GA(tree(T7, void, void), T9) → FRONT16_IN_A(X19)
FRONT1_IN_GA(tree(T7, void, void), T9) → U12_GA(T7, T9, front16_in_a(T13))
U12_GA(T7, T9, front16_out_a(T13)) → U13_GA(T7, T9, app17_in_ga(T13, T9))
U12_GA(T7, T9, front16_out_a(T13)) → APP17_IN_GA(T13, T9)
FRONT1_IN_GA(tree(T25, void, T27), T29) → U14_GA(T25, T27, T29, front41_in_ga(T27, X57))
FRONT1_IN_GA(tree(T25, void, T27), T29) → FRONT41_IN_GA(T27, X57)
FRONT41_IN_GA(tree(T42, T43, T44), X86) → U10_GA(T42, T43, T44, X86, p54_in_gagaa(T43, X84, T44, X85, X86))
FRONT41_IN_GA(tree(T42, T43, T44), X86) → P54_IN_GAGAA(T43, X84, T44, X85, X86)
P54_IN_GAGAA(T43, X84, T44, X85, X86) → U1_GAGAA(T43, X84, T44, X85, X86, front56_in_ga(T43, X84))
P54_IN_GAGAA(T43, X84, T44, X85, X86) → FRONT56_IN_GA(T43, X84)
FRONT56_IN_GA(tree(T57, T58, T59), X115) → U7_GA(T57, T58, T59, X115, p54_in_gagaa(T58, X113, T59, X114, X115))
FRONT56_IN_GA(tree(T57, T58, T59), X115) → P54_IN_GAGAA(T58, X113, T59, X114, X115)
P54_IN_GAGAA(T43, T45, T44, X85, X86) → U2_GAGAA(T43, T45, T44, X85, X86, front56_in_ga(T43, T45))
U2_GAGAA(T43, T45, T44, X85, X86, front56_out_ga(T43, T45)) → U3_GAGAA(T43, T45, T44, X85, X86, front56_in_ga(T44, X85))
U2_GAGAA(T43, T45, T44, X85, X86, front56_out_ga(T43, T45)) → FRONT56_IN_GA(T44, X85)
P54_IN_GAGAA(T43, T45, T44, T60, X86) → U4_GAGAA(T43, T45, T44, T60, X86, front56_in_ga(T43, T45))
U4_GAGAA(T43, T45, T44, T60, X86, front56_out_ga(T43, T45)) → U5_GAGAA(T43, T45, T44, T60, X86, front56_in_ga(T44, T60))
U4_GAGAA(T43, T45, T44, T60, X86, front56_out_ga(T43, T45)) → FRONT56_IN_GA(T44, T60)
U5_GAGAA(T43, T45, T44, T60, X86, front56_out_ga(T44, T60)) → U6_GAGAA(T43, T45, T44, T60, X86, app72_in_aaa(T45, T60, X86))
U5_GAGAA(T43, T45, T44, T60, X86, front56_out_ga(T44, T60)) → APP72_IN_AAA(T45, T60, X86)
APP72_IN_AAA(.(T74, T75), T76, .(T74, X142)) → U8_AAA(T74, T75, T76, X142, app72_in_aaa(T75, T76, X142))
APP72_IN_AAA(.(T74, T75), T76, .(T74, X142)) → APP72_IN_AAA(T75, T76, X142)
FRONT1_IN_GA(tree(T25, void, T27), T29) → U15_GA(T25, T27, T29, front41_in_ga(T27, T30))
U15_GA(T25, T27, T29, front41_out_ga(T27, T30)) → U16_GA(T25, T27, T29, app17_in_aa(T30, T29))
U15_GA(T25, T27, T29, front41_out_ga(T27, T30)) → APP17_IN_AA(T30, T29)
FRONT1_IN_GA(tree(T25, tree(T85, void, void), T27), T29) → U17_GA(T25, T85, T27, T29, front56_in_ga(T27, X57))
FRONT1_IN_GA(tree(T25, tree(T85, void, void), T27), T29) → FRONT56_IN_GA(T27, X57)
FRONT1_IN_GA(tree(T25, tree(T96, void, void), T27), .(T96, T99)) → U18_GA(T25, T96, T27, T99, front56_in_ga(T27, T97))
FRONT1_IN_GA(tree(T25, tree(T96, void, void), T27), .(T96, T99)) → FRONT56_IN_GA(T27, T97)
U18_GA(T25, T96, T27, T99, front56_out_ga(T27, T97)) → U19_GA(T25, T96, T27, T99, app17_in_aa(T97, T99))
U18_GA(T25, T96, T27, T99, front56_out_ga(T27, T97)) → APP17_IN_AA(T97, T99)
FRONT1_IN_GA(tree(T25, tree(T108, T109, T110), T27), T29) → U20_GA(T25, T108, T109, T110, T27, T29, front56_in_ga(T109, X198))
FRONT1_IN_GA(tree(T25, tree(T108, T109, T110), T27), T29) → FRONT56_IN_GA(T109, X198)
FRONT1_IN_GA(tree(T25, tree(T108, T109, T110), T27), T29) → U21_GA(T25, T108, T109, T110, T27, T29, front56_in_ga(T109, T111))
U21_GA(T25, T108, T109, T110, T27, T29, front56_out_ga(T109, T111)) → U22_GA(T25, T108, T109, T110, T27, T29, front56_in_ga(T110, X199))
U21_GA(T25, T108, T109, T110, T27, T29, front56_out_ga(T109, T111)) → FRONT56_IN_GA(T110, X199)
U21_GA(T25, T108, T109, T110, T27, T29, front56_out_ga(T109, T111)) → U23_GA(T25, T108, T109, T110, T27, T29, T111, front56_in_ga(T110, T112))
U23_GA(T25, T108, T109, T110, T27, T29, T111, front56_out_ga(T110, T112)) → U24_GA(T25, T108, T109, T110, T27, T29, app72_in_aaa(T111, T112, X200))
U23_GA(T25, T108, T109, T110, T27, T29, T111, front56_out_ga(T110, T112)) → APP72_IN_AAA(T111, T112, X200)
U23_GA(T25, T108, T109, T110, T27, T29, T111, front56_out_ga(T110, T112)) → U25_GA(T25, T108, T109, T110, T27, T29, app72_in_aaa(T111, T112, T115))
U25_GA(T25, T108, T109, T110, T27, T29, app72_out_aaa(T111, T112, T115)) → U26_GA(T25, T108, T109, T110, T27, T29, front56_in_ga(T27, X57))
U25_GA(T25, T108, T109, T110, T27, T29, app72_out_aaa(T111, T112, T115)) → FRONT56_IN_GA(T27, X57)
U25_GA(T25, T108, T109, T110, T27, T29, app72_out_aaa(T111, T112, T115)) → U27_GA(T25, T108, T109, T110, T27, T29, T115, front56_in_ga(T27, T118))
U27_GA(T25, T108, T109, T110, T27, T29, T115, front56_out_ga(T27, T118)) → U28_GA(T25, T108, T109, T110, T27, T29, app100_in_aaa(T115, T118, T29))
U27_GA(T25, T108, T109, T110, T27, T29, T115, front56_out_ga(T27, T118)) → APP100_IN_AAA(T115, T118, T29)
APP100_IN_AAA(.(T134, T135), T136, .(T134, T138)) → U9_AAA(T134, T135, T136, T138, app100_in_aaa(T135, T136, T138))
APP100_IN_AAA(.(T134, T135), T136, .(T134, T138)) → APP100_IN_AAA(T135, T136, T138)
front1_in_ga(void, []) → front1_out_ga(void, [])
front1_in_ga(tree(T4, void, void), .(T4, [])) → front1_out_ga(tree(T4, void, void), .(T4, []))
front1_in_ga(tree(T7, void, void), T9) → U11_ga(T7, T9, front16_in_a(X19))
front16_in_a([]) → front16_out_a([])
U11_ga(T7, T9, front16_out_a(X19)) → front1_out_ga(tree(T7, void, void), T9)
front1_in_ga(tree(T7, void, void), T9) → U12_ga(T7, T9, front16_in_a(T13))
U12_ga(T7, T9, front16_out_a(T13)) → U13_ga(T7, T9, app17_in_ga(T13, T9))
app17_in_ga(T20, T20) → app17_out_ga(T20, T20)
U13_ga(T7, T9, app17_out_ga(T13, T9)) → front1_out_ga(tree(T7, void, void), T9)
front1_in_ga(tree(T25, void, T27), T29) → U14_ga(T25, T27, T29, front41_in_ga(T27, X57))
front41_in_ga(void, []) → front41_out_ga(void, [])
front41_in_ga(tree(T35, void, void), .(T35, [])) → front41_out_ga(tree(T35, void, void), .(T35, []))
front41_in_ga(tree(T42, T43, T44), X86) → U10_ga(T42, T43, T44, X86, p54_in_gagaa(T43, X84, T44, X85, X86))
p54_in_gagaa(T43, X84, T44, X85, X86) → U1_gagaa(T43, X84, T44, X85, X86, front56_in_ga(T43, X84))
front56_in_ga(void, []) → front56_out_ga(void, [])
front56_in_ga(tree(T50, void, void), .(T50, [])) → front56_out_ga(tree(T50, void, void), .(T50, []))
front56_in_ga(tree(T57, T58, T59), X115) → U7_ga(T57, T58, T59, X115, p54_in_gagaa(T58, X113, T59, X114, X115))
p54_in_gagaa(T43, T45, T44, X85, X86) → U2_gagaa(T43, T45, T44, X85, X86, front56_in_ga(T43, T45))
U2_gagaa(T43, T45, T44, X85, X86, front56_out_ga(T43, T45)) → U3_gagaa(T43, T45, T44, X85, X86, front56_in_ga(T44, X85))
U3_gagaa(T43, T45, T44, X85, X86, front56_out_ga(T44, X85)) → p54_out_gagaa(T43, T45, T44, X85, X86)
p54_in_gagaa(T43, T45, T44, T60, X86) → U4_gagaa(T43, T45, T44, T60, X86, front56_in_ga(T43, T45))
U4_gagaa(T43, T45, T44, T60, X86, front56_out_ga(T43, T45)) → U5_gagaa(T43, T45, T44, T60, X86, front56_in_ga(T44, T60))
U5_gagaa(T43, T45, T44, T60, X86, front56_out_ga(T44, T60)) → U6_gagaa(T43, T45, T44, T60, X86, app72_in_aaa(T45, T60, X86))
app72_in_aaa([], T67, T67) → app72_out_aaa([], T67, T67)
app72_in_aaa(.(T74, T75), T76, .(T74, X142)) → U8_aaa(T74, T75, T76, X142, app72_in_aaa(T75, T76, X142))
U8_aaa(T74, T75, T76, X142, app72_out_aaa(T75, T76, X142)) → app72_out_aaa(.(T74, T75), T76, .(T74, X142))
U6_gagaa(T43, T45, T44, T60, X86, app72_out_aaa(T45, T60, X86)) → p54_out_gagaa(T43, T45, T44, T60, X86)
U7_ga(T57, T58, T59, X115, p54_out_gagaa(T58, X113, T59, X114, X115)) → front56_out_ga(tree(T57, T58, T59), X115)
U1_gagaa(T43, X84, T44, X85, X86, front56_out_ga(T43, X84)) → p54_out_gagaa(T43, X84, T44, X85, X86)
U10_ga(T42, T43, T44, X86, p54_out_gagaa(T43, X84, T44, X85, X86)) → front41_out_ga(tree(T42, T43, T44), X86)
U14_ga(T25, T27, T29, front41_out_ga(T27, X57)) → front1_out_ga(tree(T25, void, T27), T29)
front1_in_ga(tree(T25, void, T27), T29) → U15_ga(T25, T27, T29, front41_in_ga(T27, T30))
U15_ga(T25, T27, T29, front41_out_ga(T27, T30)) → U16_ga(T25, T27, T29, app17_in_aa(T30, T29))
app17_in_aa(T20, T20) → app17_out_aa(T20, T20)
U16_ga(T25, T27, T29, app17_out_aa(T30, T29)) → front1_out_ga(tree(T25, void, T27), T29)
front1_in_ga(tree(T25, tree(T85, void, void), T27), T29) → U17_ga(T25, T85, T27, T29, front56_in_ga(T27, X57))
U17_ga(T25, T85, T27, T29, front56_out_ga(T27, X57)) → front1_out_ga(tree(T25, tree(T85, void, void), T27), T29)
front1_in_ga(tree(T25, tree(T96, void, void), T27), .(T96, T99)) → U18_ga(T25, T96, T27, T99, front56_in_ga(T27, T97))
U18_ga(T25, T96, T27, T99, front56_out_ga(T27, T97)) → U19_ga(T25, T96, T27, T99, app17_in_aa(T97, T99))
U19_ga(T25, T96, T27, T99, app17_out_aa(T97, T99)) → front1_out_ga(tree(T25, tree(T96, void, void), T27), .(T96, T99))
front1_in_ga(tree(T25, tree(T108, T109, T110), T27), T29) → U20_ga(T25, T108, T109, T110, T27, T29, front56_in_ga(T109, X198))
U20_ga(T25, T108, T109, T110, T27, T29, front56_out_ga(T109, X198)) → front1_out_ga(tree(T25, tree(T108, T109, T110), T27), T29)
front1_in_ga(tree(T25, tree(T108, T109, T110), T27), T29) → U21_ga(T25, T108, T109, T110, T27, T29, front56_in_ga(T109, T111))
U21_ga(T25, T108, T109, T110, T27, T29, front56_out_ga(T109, T111)) → U22_ga(T25, T108, T109, T110, T27, T29, front56_in_ga(T110, X199))
U22_ga(T25, T108, T109, T110, T27, T29, front56_out_ga(T110, X199)) → front1_out_ga(tree(T25, tree(T108, T109, T110), T27), T29)
U21_ga(T25, T108, T109, T110, T27, T29, front56_out_ga(T109, T111)) → U23_ga(T25, T108, T109, T110, T27, T29, T111, front56_in_ga(T110, T112))
U23_ga(T25, T108, T109, T110, T27, T29, T111, front56_out_ga(T110, T112)) → U24_ga(T25, T108, T109, T110, T27, T29, app72_in_aaa(T111, T112, X200))
U24_ga(T25, T108, T109, T110, T27, T29, app72_out_aaa(T111, T112, X200)) → front1_out_ga(tree(T25, tree(T108, T109, T110), T27), T29)
U23_ga(T25, T108, T109, T110, T27, T29, T111, front56_out_ga(T110, T112)) → U25_ga(T25, T108, T109, T110, T27, T29, app72_in_aaa(T111, T112, T115))
U25_ga(T25, T108, T109, T110, T27, T29, app72_out_aaa(T111, T112, T115)) → U26_ga(T25, T108, T109, T110, T27, T29, front56_in_ga(T27, X57))
U26_ga(T25, T108, T109, T110, T27, T29, front56_out_ga(T27, X57)) → front1_out_ga(tree(T25, tree(T108, T109, T110), T27), T29)
U25_ga(T25, T108, T109, T110, T27, T29, app72_out_aaa(T111, T112, T115)) → U27_ga(T25, T108, T109, T110, T27, T29, T115, front56_in_ga(T27, T118))
U27_ga(T25, T108, T109, T110, T27, T29, T115, front56_out_ga(T27, T118)) → U28_ga(T25, T108, T109, T110, T27, T29, app100_in_aaa(T115, T118, T29))
app100_in_aaa([], T125, T125) → app100_out_aaa([], T125, T125)
app100_in_aaa(.(T134, T135), T136, .(T134, T138)) → U9_aaa(T134, T135, T136, T138, app100_in_aaa(T135, T136, T138))
U9_aaa(T134, T135, T136, T138, app100_out_aaa(T135, T136, T138)) → app100_out_aaa(.(T134, T135), T136, .(T134, T138))
U28_ga(T25, T108, T109, T110, T27, T29, app100_out_aaa(T115, T118, T29)) → front1_out_ga(tree(T25, tree(T108, T109, T110), T27), T29)
APP100_IN_AAA(.(T134, T135), T136, .(T134, T138)) → APP100_IN_AAA(T135, T136, T138)
front1_in_ga(void, []) → front1_out_ga(void, [])
front1_in_ga(tree(T4, void, void), .(T4, [])) → front1_out_ga(tree(T4, void, void), .(T4, []))
front1_in_ga(tree(T7, void, void), T9) → U11_ga(T7, T9, front16_in_a(X19))
front16_in_a([]) → front16_out_a([])
U11_ga(T7, T9, front16_out_a(X19)) → front1_out_ga(tree(T7, void, void), T9)
front1_in_ga(tree(T7, void, void), T9) → U12_ga(T7, T9, front16_in_a(T13))
U12_ga(T7, T9, front16_out_a(T13)) → U13_ga(T7, T9, app17_in_ga(T13, T9))
app17_in_ga(T20, T20) → app17_out_ga(T20, T20)
U13_ga(T7, T9, app17_out_ga(T13, T9)) → front1_out_ga(tree(T7, void, void), T9)
front1_in_ga(tree(T25, void, T27), T29) → U14_ga(T25, T27, T29, front41_in_ga(T27, X57))
front41_in_ga(void, []) → front41_out_ga(void, [])
front41_in_ga(tree(T35, void, void), .(T35, [])) → front41_out_ga(tree(T35, void, void), .(T35, []))
front41_in_ga(tree(T42, T43, T44), X86) → U10_ga(T42, T43, T44, X86, p54_in_gagaa(T43, X84, T44, X85, X86))
p54_in_gagaa(T43, X84, T44, X85, X86) → U1_gagaa(T43, X84, T44, X85, X86, front56_in_ga(T43, X84))
front56_in_ga(void, []) → front56_out_ga(void, [])
front56_in_ga(tree(T50, void, void), .(T50, [])) → front56_out_ga(tree(T50, void, void), .(T50, []))
front56_in_ga(tree(T57, T58, T59), X115) → U7_ga(T57, T58, T59, X115, p54_in_gagaa(T58, X113, T59, X114, X115))
p54_in_gagaa(T43, T45, T44, X85, X86) → U2_gagaa(T43, T45, T44, X85, X86, front56_in_ga(T43, T45))
U2_gagaa(T43, T45, T44, X85, X86, front56_out_ga(T43, T45)) → U3_gagaa(T43, T45, T44, X85, X86, front56_in_ga(T44, X85))
U3_gagaa(T43, T45, T44, X85, X86, front56_out_ga(T44, X85)) → p54_out_gagaa(T43, T45, T44, X85, X86)
p54_in_gagaa(T43, T45, T44, T60, X86) → U4_gagaa(T43, T45, T44, T60, X86, front56_in_ga(T43, T45))
U4_gagaa(T43, T45, T44, T60, X86, front56_out_ga(T43, T45)) → U5_gagaa(T43, T45, T44, T60, X86, front56_in_ga(T44, T60))
U5_gagaa(T43, T45, T44, T60, X86, front56_out_ga(T44, T60)) → U6_gagaa(T43, T45, T44, T60, X86, app72_in_aaa(T45, T60, X86))
app72_in_aaa([], T67, T67) → app72_out_aaa([], T67, T67)
app72_in_aaa(.(T74, T75), T76, .(T74, X142)) → U8_aaa(T74, T75, T76, X142, app72_in_aaa(T75, T76, X142))
U8_aaa(T74, T75, T76, X142, app72_out_aaa(T75, T76, X142)) → app72_out_aaa(.(T74, T75), T76, .(T74, X142))
U6_gagaa(T43, T45, T44, T60, X86, app72_out_aaa(T45, T60, X86)) → p54_out_gagaa(T43, T45, T44, T60, X86)
U7_ga(T57, T58, T59, X115, p54_out_gagaa(T58, X113, T59, X114, X115)) → front56_out_ga(tree(T57, T58, T59), X115)
U1_gagaa(T43, X84, T44, X85, X86, front56_out_ga(T43, X84)) → p54_out_gagaa(T43, X84, T44, X85, X86)
U10_ga(T42, T43, T44, X86, p54_out_gagaa(T43, X84, T44, X85, X86)) → front41_out_ga(tree(T42, T43, T44), X86)
U14_ga(T25, T27, T29, front41_out_ga(T27, X57)) → front1_out_ga(tree(T25, void, T27), T29)
front1_in_ga(tree(T25, void, T27), T29) → U15_ga(T25, T27, T29, front41_in_ga(T27, T30))
U15_ga(T25, T27, T29, front41_out_ga(T27, T30)) → U16_ga(T25, T27, T29, app17_in_aa(T30, T29))
app17_in_aa(T20, T20) → app17_out_aa(T20, T20)
U16_ga(T25, T27, T29, app17_out_aa(T30, T29)) → front1_out_ga(tree(T25, void, T27), T29)
front1_in_ga(tree(T25, tree(T85, void, void), T27), T29) → U17_ga(T25, T85, T27, T29, front56_in_ga(T27, X57))
U17_ga(T25, T85, T27, T29, front56_out_ga(T27, X57)) → front1_out_ga(tree(T25, tree(T85, void, void), T27), T29)
front1_in_ga(tree(T25, tree(T96, void, void), T27), .(T96, T99)) → U18_ga(T25, T96, T27, T99, front56_in_ga(T27, T97))
U18_ga(T25, T96, T27, T99, front56_out_ga(T27, T97)) → U19_ga(T25, T96, T27, T99, app17_in_aa(T97, T99))
U19_ga(T25, T96, T27, T99, app17_out_aa(T97, T99)) → front1_out_ga(tree(T25, tree(T96, void, void), T27), .(T96, T99))
front1_in_ga(tree(T25, tree(T108, T109, T110), T27), T29) → U20_ga(T25, T108, T109, T110, T27, T29, front56_in_ga(T109, X198))
U20_ga(T25, T108, T109, T110, T27, T29, front56_out_ga(T109, X198)) → front1_out_ga(tree(T25, tree(T108, T109, T110), T27), T29)
front1_in_ga(tree(T25, tree(T108, T109, T110), T27), T29) → U21_ga(T25, T108, T109, T110, T27, T29, front56_in_ga(T109, T111))
U21_ga(T25, T108, T109, T110, T27, T29, front56_out_ga(T109, T111)) → U22_ga(T25, T108, T109, T110, T27, T29, front56_in_ga(T110, X199))
U22_ga(T25, T108, T109, T110, T27, T29, front56_out_ga(T110, X199)) → front1_out_ga(tree(T25, tree(T108, T109, T110), T27), T29)
U21_ga(T25, T108, T109, T110, T27, T29, front56_out_ga(T109, T111)) → U23_ga(T25, T108, T109, T110, T27, T29, T111, front56_in_ga(T110, T112))
U23_ga(T25, T108, T109, T110, T27, T29, T111, front56_out_ga(T110, T112)) → U24_ga(T25, T108, T109, T110, T27, T29, app72_in_aaa(T111, T112, X200))
U24_ga(T25, T108, T109, T110, T27, T29, app72_out_aaa(T111, T112, X200)) → front1_out_ga(tree(T25, tree(T108, T109, T110), T27), T29)
U23_ga(T25, T108, T109, T110, T27, T29, T111, front56_out_ga(T110, T112)) → U25_ga(T25, T108, T109, T110, T27, T29, app72_in_aaa(T111, T112, T115))
U25_ga(T25, T108, T109, T110, T27, T29, app72_out_aaa(T111, T112, T115)) → U26_ga(T25, T108, T109, T110, T27, T29, front56_in_ga(T27, X57))
U26_ga(T25, T108, T109, T110, T27, T29, front56_out_ga(T27, X57)) → front1_out_ga(tree(T25, tree(T108, T109, T110), T27), T29)
U25_ga(T25, T108, T109, T110, T27, T29, app72_out_aaa(T111, T112, T115)) → U27_ga(T25, T108, T109, T110, T27, T29, T115, front56_in_ga(T27, T118))
U27_ga(T25, T108, T109, T110, T27, T29, T115, front56_out_ga(T27, T118)) → U28_ga(T25, T108, T109, T110, T27, T29, app100_in_aaa(T115, T118, T29))
app100_in_aaa([], T125, T125) → app100_out_aaa([], T125, T125)
app100_in_aaa(.(T134, T135), T136, .(T134, T138)) → U9_aaa(T134, T135, T136, T138, app100_in_aaa(T135, T136, T138))
U9_aaa(T134, T135, T136, T138, app100_out_aaa(T135, T136, T138)) → app100_out_aaa(.(T134, T135), T136, .(T134, T138))
U28_ga(T25, T108, T109, T110, T27, T29, app100_out_aaa(T115, T118, T29)) → front1_out_ga(tree(T25, tree(T108, T109, T110), T27), T29)
APP100_IN_AAA(.(T134, T135), T136, .(T134, T138)) → APP100_IN_AAA(T135, T136, T138)
APP100_IN_AAA → APP100_IN_AAA
APP72_IN_AAA(.(T74, T75), T76, .(T74, X142)) → APP72_IN_AAA(T75, T76, X142)
front1_in_ga(void, []) → front1_out_ga(void, [])
front1_in_ga(tree(T4, void, void), .(T4, [])) → front1_out_ga(tree(T4, void, void), .(T4, []))
front1_in_ga(tree(T7, void, void), T9) → U11_ga(T7, T9, front16_in_a(X19))
front16_in_a([]) → front16_out_a([])
U11_ga(T7, T9, front16_out_a(X19)) → front1_out_ga(tree(T7, void, void), T9)
front1_in_ga(tree(T7, void, void), T9) → U12_ga(T7, T9, front16_in_a(T13))
U12_ga(T7, T9, front16_out_a(T13)) → U13_ga(T7, T9, app17_in_ga(T13, T9))
app17_in_ga(T20, T20) → app17_out_ga(T20, T20)
U13_ga(T7, T9, app17_out_ga(T13, T9)) → front1_out_ga(tree(T7, void, void), T9)
front1_in_ga(tree(T25, void, T27), T29) → U14_ga(T25, T27, T29, front41_in_ga(T27, X57))
front41_in_ga(void, []) → front41_out_ga(void, [])
front41_in_ga(tree(T35, void, void), .(T35, [])) → front41_out_ga(tree(T35, void, void), .(T35, []))
front41_in_ga(tree(T42, T43, T44), X86) → U10_ga(T42, T43, T44, X86, p54_in_gagaa(T43, X84, T44, X85, X86))
p54_in_gagaa(T43, X84, T44, X85, X86) → U1_gagaa(T43, X84, T44, X85, X86, front56_in_ga(T43, X84))
front56_in_ga(void, []) → front56_out_ga(void, [])
front56_in_ga(tree(T50, void, void), .(T50, [])) → front56_out_ga(tree(T50, void, void), .(T50, []))
front56_in_ga(tree(T57, T58, T59), X115) → U7_ga(T57, T58, T59, X115, p54_in_gagaa(T58, X113, T59, X114, X115))
p54_in_gagaa(T43, T45, T44, X85, X86) → U2_gagaa(T43, T45, T44, X85, X86, front56_in_ga(T43, T45))
U2_gagaa(T43, T45, T44, X85, X86, front56_out_ga(T43, T45)) → U3_gagaa(T43, T45, T44, X85, X86, front56_in_ga(T44, X85))
U3_gagaa(T43, T45, T44, X85, X86, front56_out_ga(T44, X85)) → p54_out_gagaa(T43, T45, T44, X85, X86)
p54_in_gagaa(T43, T45, T44, T60, X86) → U4_gagaa(T43, T45, T44, T60, X86, front56_in_ga(T43, T45))
U4_gagaa(T43, T45, T44, T60, X86, front56_out_ga(T43, T45)) → U5_gagaa(T43, T45, T44, T60, X86, front56_in_ga(T44, T60))
U5_gagaa(T43, T45, T44, T60, X86, front56_out_ga(T44, T60)) → U6_gagaa(T43, T45, T44, T60, X86, app72_in_aaa(T45, T60, X86))
app72_in_aaa([], T67, T67) → app72_out_aaa([], T67, T67)
app72_in_aaa(.(T74, T75), T76, .(T74, X142)) → U8_aaa(T74, T75, T76, X142, app72_in_aaa(T75, T76, X142))
U8_aaa(T74, T75, T76, X142, app72_out_aaa(T75, T76, X142)) → app72_out_aaa(.(T74, T75), T76, .(T74, X142))
U6_gagaa(T43, T45, T44, T60, X86, app72_out_aaa(T45, T60, X86)) → p54_out_gagaa(T43, T45, T44, T60, X86)
U7_ga(T57, T58, T59, X115, p54_out_gagaa(T58, X113, T59, X114, X115)) → front56_out_ga(tree(T57, T58, T59), X115)
U1_gagaa(T43, X84, T44, X85, X86, front56_out_ga(T43, X84)) → p54_out_gagaa(T43, X84, T44, X85, X86)
U10_ga(T42, T43, T44, X86, p54_out_gagaa(T43, X84, T44, X85, X86)) → front41_out_ga(tree(T42, T43, T44), X86)
U14_ga(T25, T27, T29, front41_out_ga(T27, X57)) → front1_out_ga(tree(T25, void, T27), T29)
front1_in_ga(tree(T25, void, T27), T29) → U15_ga(T25, T27, T29, front41_in_ga(T27, T30))
U15_ga(T25, T27, T29, front41_out_ga(T27, T30)) → U16_ga(T25, T27, T29, app17_in_aa(T30, T29))
app17_in_aa(T20, T20) → app17_out_aa(T20, T20)
U16_ga(T25, T27, T29, app17_out_aa(T30, T29)) → front1_out_ga(tree(T25, void, T27), T29)
front1_in_ga(tree(T25, tree(T85, void, void), T27), T29) → U17_ga(T25, T85, T27, T29, front56_in_ga(T27, X57))
U17_ga(T25, T85, T27, T29, front56_out_ga(T27, X57)) → front1_out_ga(tree(T25, tree(T85, void, void), T27), T29)
front1_in_ga(tree(T25, tree(T96, void, void), T27), .(T96, T99)) → U18_ga(T25, T96, T27, T99, front56_in_ga(T27, T97))
U18_ga(T25, T96, T27, T99, front56_out_ga(T27, T97)) → U19_ga(T25, T96, T27, T99, app17_in_aa(T97, T99))
U19_ga(T25, T96, T27, T99, app17_out_aa(T97, T99)) → front1_out_ga(tree(T25, tree(T96, void, void), T27), .(T96, T99))
front1_in_ga(tree(T25, tree(T108, T109, T110), T27), T29) → U20_ga(T25, T108, T109, T110, T27, T29, front56_in_ga(T109, X198))
U20_ga(T25, T108, T109, T110, T27, T29, front56_out_ga(T109, X198)) → front1_out_ga(tree(T25, tree(T108, T109, T110), T27), T29)
front1_in_ga(tree(T25, tree(T108, T109, T110), T27), T29) → U21_ga(T25, T108, T109, T110, T27, T29, front56_in_ga(T109, T111))
U21_ga(T25, T108, T109, T110, T27, T29, front56_out_ga(T109, T111)) → U22_ga(T25, T108, T109, T110, T27, T29, front56_in_ga(T110, X199))
U22_ga(T25, T108, T109, T110, T27, T29, front56_out_ga(T110, X199)) → front1_out_ga(tree(T25, tree(T108, T109, T110), T27), T29)
U21_ga(T25, T108, T109, T110, T27, T29, front56_out_ga(T109, T111)) → U23_ga(T25, T108, T109, T110, T27, T29, T111, front56_in_ga(T110, T112))
U23_ga(T25, T108, T109, T110, T27, T29, T111, front56_out_ga(T110, T112)) → U24_ga(T25, T108, T109, T110, T27, T29, app72_in_aaa(T111, T112, X200))
U24_ga(T25, T108, T109, T110, T27, T29, app72_out_aaa(T111, T112, X200)) → front1_out_ga(tree(T25, tree(T108, T109, T110), T27), T29)
U23_ga(T25, T108, T109, T110, T27, T29, T111, front56_out_ga(T110, T112)) → U25_ga(T25, T108, T109, T110, T27, T29, app72_in_aaa(T111, T112, T115))
U25_ga(T25, T108, T109, T110, T27, T29, app72_out_aaa(T111, T112, T115)) → U26_ga(T25, T108, T109, T110, T27, T29, front56_in_ga(T27, X57))
U26_ga(T25, T108, T109, T110, T27, T29, front56_out_ga(T27, X57)) → front1_out_ga(tree(T25, tree(T108, T109, T110), T27), T29)
U25_ga(T25, T108, T109, T110, T27, T29, app72_out_aaa(T111, T112, T115)) → U27_ga(T25, T108, T109, T110, T27, T29, T115, front56_in_ga(T27, T118))
U27_ga(T25, T108, T109, T110, T27, T29, T115, front56_out_ga(T27, T118)) → U28_ga(T25, T108, T109, T110, T27, T29, app100_in_aaa(T115, T118, T29))
app100_in_aaa([], T125, T125) → app100_out_aaa([], T125, T125)
app100_in_aaa(.(T134, T135), T136, .(T134, T138)) → U9_aaa(T134, T135, T136, T138, app100_in_aaa(T135, T136, T138))
U9_aaa(T134, T135, T136, T138, app100_out_aaa(T135, T136, T138)) → app100_out_aaa(.(T134, T135), T136, .(T134, T138))
U28_ga(T25, T108, T109, T110, T27, T29, app100_out_aaa(T115, T118, T29)) → front1_out_ga(tree(T25, tree(T108, T109, T110), T27), T29)
APP72_IN_AAA(.(T74, T75), T76, .(T74, X142)) → APP72_IN_AAA(T75, T76, X142)
APP72_IN_AAA → APP72_IN_AAA
P54_IN_GAGAA(T43, X84, T44, X85, X86) → FRONT56_IN_GA(T43, X84)
FRONT56_IN_GA(tree(T57, T58, T59), X115) → P54_IN_GAGAA(T58, X113, T59, X114, X115)
P54_IN_GAGAA(T43, T45, T44, X85, X86) → U2_GAGAA(T43, T45, T44, X85, X86, front56_in_ga(T43, T45))
U2_GAGAA(T43, T45, T44, X85, X86, front56_out_ga(T43, T45)) → FRONT56_IN_GA(T44, X85)
P54_IN_GAGAA(T43, T45, T44, T60, X86) → U4_GAGAA(T43, T45, T44, T60, X86, front56_in_ga(T43, T45))
U4_GAGAA(T43, T45, T44, T60, X86, front56_out_ga(T43, T45)) → FRONT56_IN_GA(T44, T60)
front1_in_ga(void, []) → front1_out_ga(void, [])
front1_in_ga(tree(T4, void, void), .(T4, [])) → front1_out_ga(tree(T4, void, void), .(T4, []))
front1_in_ga(tree(T7, void, void), T9) → U11_ga(T7, T9, front16_in_a(X19))
front16_in_a([]) → front16_out_a([])
U11_ga(T7, T9, front16_out_a(X19)) → front1_out_ga(tree(T7, void, void), T9)
front1_in_ga(tree(T7, void, void), T9) → U12_ga(T7, T9, front16_in_a(T13))
U12_ga(T7, T9, front16_out_a(T13)) → U13_ga(T7, T9, app17_in_ga(T13, T9))
app17_in_ga(T20, T20) → app17_out_ga(T20, T20)
U13_ga(T7, T9, app17_out_ga(T13, T9)) → front1_out_ga(tree(T7, void, void), T9)
front1_in_ga(tree(T25, void, T27), T29) → U14_ga(T25, T27, T29, front41_in_ga(T27, X57))
front41_in_ga(void, []) → front41_out_ga(void, [])
front41_in_ga(tree(T35, void, void), .(T35, [])) → front41_out_ga(tree(T35, void, void), .(T35, []))
front41_in_ga(tree(T42, T43, T44), X86) → U10_ga(T42, T43, T44, X86, p54_in_gagaa(T43, X84, T44, X85, X86))
p54_in_gagaa(T43, X84, T44, X85, X86) → U1_gagaa(T43, X84, T44, X85, X86, front56_in_ga(T43, X84))
front56_in_ga(void, []) → front56_out_ga(void, [])
front56_in_ga(tree(T50, void, void), .(T50, [])) → front56_out_ga(tree(T50, void, void), .(T50, []))
front56_in_ga(tree(T57, T58, T59), X115) → U7_ga(T57, T58, T59, X115, p54_in_gagaa(T58, X113, T59, X114, X115))
p54_in_gagaa(T43, T45, T44, X85, X86) → U2_gagaa(T43, T45, T44, X85, X86, front56_in_ga(T43, T45))
U2_gagaa(T43, T45, T44, X85, X86, front56_out_ga(T43, T45)) → U3_gagaa(T43, T45, T44, X85, X86, front56_in_ga(T44, X85))
U3_gagaa(T43, T45, T44, X85, X86, front56_out_ga(T44, X85)) → p54_out_gagaa(T43, T45, T44, X85, X86)
p54_in_gagaa(T43, T45, T44, T60, X86) → U4_gagaa(T43, T45, T44, T60, X86, front56_in_ga(T43, T45))
U4_gagaa(T43, T45, T44, T60, X86, front56_out_ga(T43, T45)) → U5_gagaa(T43, T45, T44, T60, X86, front56_in_ga(T44, T60))
U5_gagaa(T43, T45, T44, T60, X86, front56_out_ga(T44, T60)) → U6_gagaa(T43, T45, T44, T60, X86, app72_in_aaa(T45, T60, X86))
app72_in_aaa([], T67, T67) → app72_out_aaa([], T67, T67)
app72_in_aaa(.(T74, T75), T76, .(T74, X142)) → U8_aaa(T74, T75, T76, X142, app72_in_aaa(T75, T76, X142))
U8_aaa(T74, T75, T76, X142, app72_out_aaa(T75, T76, X142)) → app72_out_aaa(.(T74, T75), T76, .(T74, X142))
U6_gagaa(T43, T45, T44, T60, X86, app72_out_aaa(T45, T60, X86)) → p54_out_gagaa(T43, T45, T44, T60, X86)
U7_ga(T57, T58, T59, X115, p54_out_gagaa(T58, X113, T59, X114, X115)) → front56_out_ga(tree(T57, T58, T59), X115)
U1_gagaa(T43, X84, T44, X85, X86, front56_out_ga(T43, X84)) → p54_out_gagaa(T43, X84, T44, X85, X86)
U10_ga(T42, T43, T44, X86, p54_out_gagaa(T43, X84, T44, X85, X86)) → front41_out_ga(tree(T42, T43, T44), X86)
U14_ga(T25, T27, T29, front41_out_ga(T27, X57)) → front1_out_ga(tree(T25, void, T27), T29)
front1_in_ga(tree(T25, void, T27), T29) → U15_ga(T25, T27, T29, front41_in_ga(T27, T30))
U15_ga(T25, T27, T29, front41_out_ga(T27, T30)) → U16_ga(T25, T27, T29, app17_in_aa(T30, T29))
app17_in_aa(T20, T20) → app17_out_aa(T20, T20)
U16_ga(T25, T27, T29, app17_out_aa(T30, T29)) → front1_out_ga(tree(T25, void, T27), T29)
front1_in_ga(tree(T25, tree(T85, void, void), T27), T29) → U17_ga(T25, T85, T27, T29, front56_in_ga(T27, X57))
U17_ga(T25, T85, T27, T29, front56_out_ga(T27, X57)) → front1_out_ga(tree(T25, tree(T85, void, void), T27), T29)
front1_in_ga(tree(T25, tree(T96, void, void), T27), .(T96, T99)) → U18_ga(T25, T96, T27, T99, front56_in_ga(T27, T97))
U18_ga(T25, T96, T27, T99, front56_out_ga(T27, T97)) → U19_ga(T25, T96, T27, T99, app17_in_aa(T97, T99))
U19_ga(T25, T96, T27, T99, app17_out_aa(T97, T99)) → front1_out_ga(tree(T25, tree(T96, void, void), T27), .(T96, T99))
front1_in_ga(tree(T25, tree(T108, T109, T110), T27), T29) → U20_ga(T25, T108, T109, T110, T27, T29, front56_in_ga(T109, X198))
U20_ga(T25, T108, T109, T110, T27, T29, front56_out_ga(T109, X198)) → front1_out_ga(tree(T25, tree(T108, T109, T110), T27), T29)
front1_in_ga(tree(T25, tree(T108, T109, T110), T27), T29) → U21_ga(T25, T108, T109, T110, T27, T29, front56_in_ga(T109, T111))
U21_ga(T25, T108, T109, T110, T27, T29, front56_out_ga(T109, T111)) → U22_ga(T25, T108, T109, T110, T27, T29, front56_in_ga(T110, X199))
U22_ga(T25, T108, T109, T110, T27, T29, front56_out_ga(T110, X199)) → front1_out_ga(tree(T25, tree(T108, T109, T110), T27), T29)
U21_ga(T25, T108, T109, T110, T27, T29, front56_out_ga(T109, T111)) → U23_ga(T25, T108, T109, T110, T27, T29, T111, front56_in_ga(T110, T112))
U23_ga(T25, T108, T109, T110, T27, T29, T111, front56_out_ga(T110, T112)) → U24_ga(T25, T108, T109, T110, T27, T29, app72_in_aaa(T111, T112, X200))
U24_ga(T25, T108, T109, T110, T27, T29, app72_out_aaa(T111, T112, X200)) → front1_out_ga(tree(T25, tree(T108, T109, T110), T27), T29)
U23_ga(T25, T108, T109, T110, T27, T29, T111, front56_out_ga(T110, T112)) → U25_ga(T25, T108, T109, T110, T27, T29, app72_in_aaa(T111, T112, T115))
U25_ga(T25, T108, T109, T110, T27, T29, app72_out_aaa(T111, T112, T115)) → U26_ga(T25, T108, T109, T110, T27, T29, front56_in_ga(T27, X57))
U26_ga(T25, T108, T109, T110, T27, T29, front56_out_ga(T27, X57)) → front1_out_ga(tree(T25, tree(T108, T109, T110), T27), T29)
U25_ga(T25, T108, T109, T110, T27, T29, app72_out_aaa(T111, T112, T115)) → U27_ga(T25, T108, T109, T110, T27, T29, T115, front56_in_ga(T27, T118))
U27_ga(T25, T108, T109, T110, T27, T29, T115, front56_out_ga(T27, T118)) → U28_ga(T25, T108, T109, T110, T27, T29, app100_in_aaa(T115, T118, T29))
app100_in_aaa([], T125, T125) → app100_out_aaa([], T125, T125)
app100_in_aaa(.(T134, T135), T136, .(T134, T138)) → U9_aaa(T134, T135, T136, T138, app100_in_aaa(T135, T136, T138))
U9_aaa(T134, T135, T136, T138, app100_out_aaa(T135, T136, T138)) → app100_out_aaa(.(T134, T135), T136, .(T134, T138))
U28_ga(T25, T108, T109, T110, T27, T29, app100_out_aaa(T115, T118, T29)) → front1_out_ga(tree(T25, tree(T108, T109, T110), T27), T29)
P54_IN_GAGAA(T43, X84, T44, X85, X86) → FRONT56_IN_GA(T43, X84)
FRONT56_IN_GA(tree(T57, T58, T59), X115) → P54_IN_GAGAA(T58, X113, T59, X114, X115)
P54_IN_GAGAA(T43, T45, T44, X85, X86) → U2_GAGAA(T43, T45, T44, X85, X86, front56_in_ga(T43, T45))
U2_GAGAA(T43, T45, T44, X85, X86, front56_out_ga(T43, T45)) → FRONT56_IN_GA(T44, X85)
P54_IN_GAGAA(T43, T45, T44, T60, X86) → U4_GAGAA(T43, T45, T44, T60, X86, front56_in_ga(T43, T45))
U4_GAGAA(T43, T45, T44, T60, X86, front56_out_ga(T43, T45)) → FRONT56_IN_GA(T44, T60)
front56_in_ga(void, []) → front56_out_ga(void, [])
front56_in_ga(tree(T50, void, void), .(T50, [])) → front56_out_ga(tree(T50, void, void), .(T50, []))
front56_in_ga(tree(T57, T58, T59), X115) → U7_ga(T57, T58, T59, X115, p54_in_gagaa(T58, X113, T59, X114, X115))
U7_ga(T57, T58, T59, X115, p54_out_gagaa(T58, X113, T59, X114, X115)) → front56_out_ga(tree(T57, T58, T59), X115)
p54_in_gagaa(T43, X84, T44, X85, X86) → U1_gagaa(T43, X84, T44, X85, X86, front56_in_ga(T43, X84))
p54_in_gagaa(T43, T45, T44, X85, X86) → U2_gagaa(T43, T45, T44, X85, X86, front56_in_ga(T43, T45))
p54_in_gagaa(T43, T45, T44, T60, X86) → U4_gagaa(T43, T45, T44, T60, X86, front56_in_ga(T43, T45))
U1_gagaa(T43, X84, T44, X85, X86, front56_out_ga(T43, X84)) → p54_out_gagaa(T43, X84, T44, X85, X86)
U2_gagaa(T43, T45, T44, X85, X86, front56_out_ga(T43, T45)) → U3_gagaa(T43, T45, T44, X85, X86, front56_in_ga(T44, X85))
U4_gagaa(T43, T45, T44, T60, X86, front56_out_ga(T43, T45)) → U5_gagaa(T43, T45, T44, T60, X86, front56_in_ga(T44, T60))
U3_gagaa(T43, T45, T44, X85, X86, front56_out_ga(T44, X85)) → p54_out_gagaa(T43, T45, T44, X85, X86)
U5_gagaa(T43, T45, T44, T60, X86, front56_out_ga(T44, T60)) → U6_gagaa(T43, T45, T44, T60, X86, app72_in_aaa(T45, T60, X86))
U6_gagaa(T43, T45, T44, T60, X86, app72_out_aaa(T45, T60, X86)) → p54_out_gagaa(T43, T45, T44, T60, X86)
app72_in_aaa([], T67, T67) → app72_out_aaa([], T67, T67)
app72_in_aaa(.(T74, T75), T76, .(T74, X142)) → U8_aaa(T74, T75, T76, X142, app72_in_aaa(T75, T76, X142))
U8_aaa(T74, T75, T76, X142, app72_out_aaa(T75, T76, X142)) → app72_out_aaa(.(T74, T75), T76, .(T74, X142))
P54_IN_GAGAA(T43, T44) → FRONT56_IN_GA(T43)
FRONT56_IN_GA(tree(T57, T58, T59)) → P54_IN_GAGAA(T58, T59)
P54_IN_GAGAA(T43, T44) → U2_GAGAA(T43, T44, front56_in_ga(T43))
U2_GAGAA(T43, T44, front56_out_ga(T43)) → FRONT56_IN_GA(T44)
P54_IN_GAGAA(T43, T44) → U4_GAGAA(T43, T44, front56_in_ga(T43))
U4_GAGAA(T43, T44, front56_out_ga(T43)) → FRONT56_IN_GA(T44)
front56_in_ga(void) → front56_out_ga(void)
front56_in_ga(tree(T50, void, void)) → front56_out_ga(tree(T50, void, void))
front56_in_ga(tree(T57, T58, T59)) → U7_ga(T57, T58, T59, p54_in_gagaa(T58, T59))
U7_ga(T57, T58, T59, p54_out_gagaa(T58, T59)) → front56_out_ga(tree(T57, T58, T59))
p54_in_gagaa(T43, T44) → U1_gagaa(T43, T44, front56_in_ga(T43))
p54_in_gagaa(T43, T44) → U2_gagaa(T43, T44, front56_in_ga(T43))
p54_in_gagaa(T43, T44) → U4_gagaa(T43, T44, front56_in_ga(T43))
U1_gagaa(T43, T44, front56_out_ga(T43)) → p54_out_gagaa(T43, T44)
U2_gagaa(T43, T44, front56_out_ga(T43)) → U3_gagaa(T43, T44, front56_in_ga(T44))
U4_gagaa(T43, T44, front56_out_ga(T43)) → U5_gagaa(T43, T44, front56_in_ga(T44))
U3_gagaa(T43, T44, front56_out_ga(T44)) → p54_out_gagaa(T43, T44)
U5_gagaa(T43, T44, front56_out_ga(T44)) → U6_gagaa(T43, T44, app72_in_aaa)
U6_gagaa(T43, T44, app72_out_aaa(T45)) → p54_out_gagaa(T43, T44)
app72_in_aaa → app72_out_aaa([])
app72_in_aaa → U8_aaa(app72_in_aaa)
U8_aaa(app72_out_aaa(T75)) → app72_out_aaa(.(T75))
front56_in_ga(x0)
U7_ga(x0, x1, x2, x3)
p54_in_gagaa(x0, x1)
U1_gagaa(x0, x1, x2)
U2_gagaa(x0, x1, x2)
U4_gagaa(x0, x1, x2)
U3_gagaa(x0, x1, x2)
U5_gagaa(x0, x1, x2)
U6_gagaa(x0, x1, x2)
app72_in_aaa
U8_aaa(x0)
From the DPs we obtained the following set of size-change graphs: