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
in_order1_in_ga(void, []) → in_order1_out_ga(void, [])
in_order1_in_ga(tree(T7, void, T9), T11) → U8_ga(T7, T9, T11, in_order14_in_ga(T9, X14))
in_order14_in_ga(void, []) → in_order14_out_ga(void, [])
in_order14_in_ga(tree(T19, T20, T21), X37) → U1_ga(T19, T20, T21, X37, in_order14_in_ga(T20, X35))
in_order14_in_ga(tree(T19, T20, T21), X37) → U2_ga(T19, T20, T21, X37, in_order14_in_ga(T20, T22))
U2_ga(T19, T20, T21, X37, in_order14_out_ga(T20, T22)) → U3_ga(T19, T20, T21, X37, in_order14_in_ga(T21, X36))
U3_ga(T19, T20, T21, X37, in_order14_out_ga(T21, X36)) → in_order14_out_ga(tree(T19, T20, T21), X37)
U2_ga(T19, T20, T21, X37, in_order14_out_ga(T20, T22)) → U4_ga(T19, T20, T21, X37, T22, in_order14_in_ga(T21, T23))
U4_ga(T19, T20, T21, X37, T22, in_order14_out_ga(T21, T23)) → U5_ga(T19, T20, T21, X37, app27_in_agaa(T22, T19, T23, X37))
app27_in_agaa([], T36, T37, .(T36, T37)) → app27_out_agaa([], T36, T37, .(T36, T37))
app27_in_agaa(.(T46, T47), T48, T49, .(T46, X64)) → U6_agaa(T46, T47, T48, T49, X64, app27_in_agaa(T47, T48, T49, X64))
U6_agaa(T46, T47, T48, T49, X64, app27_out_agaa(T47, T48, T49, X64)) → app27_out_agaa(.(T46, T47), T48, T49, .(T46, X64))
U5_ga(T19, T20, T21, X37, app27_out_agaa(T22, T19, T23, X37)) → in_order14_out_ga(tree(T19, T20, T21), X37)
U1_ga(T19, T20, T21, X37, in_order14_out_ga(T20, X35)) → in_order14_out_ga(tree(T19, T20, T21), X37)
U8_ga(T7, T9, T11, in_order14_out_ga(T9, X14)) → in_order1_out_ga(tree(T7, void, T9), T11)
in_order1_in_ga(tree(T66, void, T9), .(T66, T67)) → U9_ga(T66, T9, T67, in_order14_in_ga(T9, T67))
U9_ga(T66, T9, T67, in_order14_out_ga(T9, T67)) → in_order1_out_ga(tree(T66, void, T9), .(T66, T67))
in_order1_in_ga(tree(T7, tree(T74, T75, T76), T9), T11) → U10_ga(T7, T74, T75, T76, T9, T11, in_order14_in_ga(T75, X99))
U10_ga(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T75, X99)) → in_order1_out_ga(tree(T7, tree(T74, T75, T76), T9), T11)
in_order1_in_ga(tree(T7, tree(T74, T75, T76), T9), T11) → U11_ga(T7, T74, T75, T76, T9, T11, in_order14_in_ga(T75, T77))
U11_ga(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T75, T77)) → U12_ga(T7, T74, T75, T76, T9, T11, in_order14_in_ga(T76, X100))
U12_ga(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T76, X100)) → in_order1_out_ga(tree(T7, tree(T74, T75, T76), T9), T11)
U11_ga(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T75, T77)) → U13_ga(T7, T74, T75, T76, T9, T11, T77, in_order14_in_ga(T76, T78))
U13_ga(T7, T74, T75, T76, T9, T11, T77, in_order14_out_ga(T76, T78)) → U14_ga(T7, T74, T75, T76, T9, T11, app27_in_agaa(T77, T74, T78, X101))
U14_ga(T7, T74, T75, T76, T9, T11, app27_out_agaa(T77, T74, T78, X101)) → in_order1_out_ga(tree(T7, tree(T74, T75, T76), T9), T11)
U13_ga(T7, T74, T75, T76, T9, T11, T77, in_order14_out_ga(T76, T78)) → U15_ga(T7, T74, T75, T76, T9, T11, app27_in_agaa(T77, T74, T78, T83))
U15_ga(T7, T74, T75, T76, T9, T11, app27_out_agaa(T77, T74, T78, T83)) → U16_ga(T7, T74, T75, T76, T9, T11, in_order14_in_ga(T9, X14))
U16_ga(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T9, X14)) → in_order1_out_ga(tree(T7, tree(T74, T75, T76), T9), T11)
U15_ga(T7, T74, T75, T76, T9, T11, app27_out_agaa(T77, T74, T78, T83)) → U17_ga(T7, T74, T75, T76, T9, T11, T83, in_order14_in_ga(T9, T88))
U17_ga(T7, T74, T75, T76, T9, T11, T83, in_order14_out_ga(T9, T88)) → U18_ga(T7, T74, T75, T76, T9, T11, app52_in_agaa(T83, T7, T88, T11))
app52_in_agaa([], T101, T102, .(T101, T102)) → app52_out_agaa([], T101, T102, .(T101, T102))
app52_in_agaa(.(T113, T114), T115, T116, .(T113, T118)) → U7_agaa(T113, T114, T115, T116, T118, app52_in_agaa(T114, T115, T116, T118))
U7_agaa(T113, T114, T115, T116, T118, app52_out_agaa(T114, T115, T116, T118)) → app52_out_agaa(.(T113, T114), T115, T116, .(T113, T118))
U18_ga(T7, T74, T75, T76, T9, T11, app52_out_agaa(T83, T7, T88, T11)) → in_order1_out_ga(tree(T7, tree(T74, T75, T76), T9), T11)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
in_order1_in_ga(void, []) → in_order1_out_ga(void, [])
in_order1_in_ga(tree(T7, void, T9), T11) → U8_ga(T7, T9, T11, in_order14_in_ga(T9, X14))
in_order14_in_ga(void, []) → in_order14_out_ga(void, [])
in_order14_in_ga(tree(T19, T20, T21), X37) → U1_ga(T19, T20, T21, X37, in_order14_in_ga(T20, X35))
in_order14_in_ga(tree(T19, T20, T21), X37) → U2_ga(T19, T20, T21, X37, in_order14_in_ga(T20, T22))
U2_ga(T19, T20, T21, X37, in_order14_out_ga(T20, T22)) → U3_ga(T19, T20, T21, X37, in_order14_in_ga(T21, X36))
U3_ga(T19, T20, T21, X37, in_order14_out_ga(T21, X36)) → in_order14_out_ga(tree(T19, T20, T21), X37)
U2_ga(T19, T20, T21, X37, in_order14_out_ga(T20, T22)) → U4_ga(T19, T20, T21, X37, T22, in_order14_in_ga(T21, T23))
U4_ga(T19, T20, T21, X37, T22, in_order14_out_ga(T21, T23)) → U5_ga(T19, T20, T21, X37, app27_in_agaa(T22, T19, T23, X37))
app27_in_agaa([], T36, T37, .(T36, T37)) → app27_out_agaa([], T36, T37, .(T36, T37))
app27_in_agaa(.(T46, T47), T48, T49, .(T46, X64)) → U6_agaa(T46, T47, T48, T49, X64, app27_in_agaa(T47, T48, T49, X64))
U6_agaa(T46, T47, T48, T49, X64, app27_out_agaa(T47, T48, T49, X64)) → app27_out_agaa(.(T46, T47), T48, T49, .(T46, X64))
U5_ga(T19, T20, T21, X37, app27_out_agaa(T22, T19, T23, X37)) → in_order14_out_ga(tree(T19, T20, T21), X37)
U1_ga(T19, T20, T21, X37, in_order14_out_ga(T20, X35)) → in_order14_out_ga(tree(T19, T20, T21), X37)
U8_ga(T7, T9, T11, in_order14_out_ga(T9, X14)) → in_order1_out_ga(tree(T7, void, T9), T11)
in_order1_in_ga(tree(T66, void, T9), .(T66, T67)) → U9_ga(T66, T9, T67, in_order14_in_ga(T9, T67))
U9_ga(T66, T9, T67, in_order14_out_ga(T9, T67)) → in_order1_out_ga(tree(T66, void, T9), .(T66, T67))
in_order1_in_ga(tree(T7, tree(T74, T75, T76), T9), T11) → U10_ga(T7, T74, T75, T76, T9, T11, in_order14_in_ga(T75, X99))
U10_ga(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T75, X99)) → in_order1_out_ga(tree(T7, tree(T74, T75, T76), T9), T11)
in_order1_in_ga(tree(T7, tree(T74, T75, T76), T9), T11) → U11_ga(T7, T74, T75, T76, T9, T11, in_order14_in_ga(T75, T77))
U11_ga(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T75, T77)) → U12_ga(T7, T74, T75, T76, T9, T11, in_order14_in_ga(T76, X100))
U12_ga(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T76, X100)) → in_order1_out_ga(tree(T7, tree(T74, T75, T76), T9), T11)
U11_ga(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T75, T77)) → U13_ga(T7, T74, T75, T76, T9, T11, T77, in_order14_in_ga(T76, T78))
U13_ga(T7, T74, T75, T76, T9, T11, T77, in_order14_out_ga(T76, T78)) → U14_ga(T7, T74, T75, T76, T9, T11, app27_in_agaa(T77, T74, T78, X101))
U14_ga(T7, T74, T75, T76, T9, T11, app27_out_agaa(T77, T74, T78, X101)) → in_order1_out_ga(tree(T7, tree(T74, T75, T76), T9), T11)
U13_ga(T7, T74, T75, T76, T9, T11, T77, in_order14_out_ga(T76, T78)) → U15_ga(T7, T74, T75, T76, T9, T11, app27_in_agaa(T77, T74, T78, T83))
U15_ga(T7, T74, T75, T76, T9, T11, app27_out_agaa(T77, T74, T78, T83)) → U16_ga(T7, T74, T75, T76, T9, T11, in_order14_in_ga(T9, X14))
U16_ga(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T9, X14)) → in_order1_out_ga(tree(T7, tree(T74, T75, T76), T9), T11)
U15_ga(T7, T74, T75, T76, T9, T11, app27_out_agaa(T77, T74, T78, T83)) → U17_ga(T7, T74, T75, T76, T9, T11, T83, in_order14_in_ga(T9, T88))
U17_ga(T7, T74, T75, T76, T9, T11, T83, in_order14_out_ga(T9, T88)) → U18_ga(T7, T74, T75, T76, T9, T11, app52_in_agaa(T83, T7, T88, T11))
app52_in_agaa([], T101, T102, .(T101, T102)) → app52_out_agaa([], T101, T102, .(T101, T102))
app52_in_agaa(.(T113, T114), T115, T116, .(T113, T118)) → U7_agaa(T113, T114, T115, T116, T118, app52_in_agaa(T114, T115, T116, T118))
U7_agaa(T113, T114, T115, T116, T118, app52_out_agaa(T114, T115, T116, T118)) → app52_out_agaa(.(T113, T114), T115, T116, .(T113, T118))
U18_ga(T7, T74, T75, T76, T9, T11, app52_out_agaa(T83, T7, T88, T11)) → in_order1_out_ga(tree(T7, tree(T74, T75, T76), T9), T11)
IN_ORDER1_IN_GA(tree(T7, void, T9), T11) → U8_GA(T7, T9, T11, in_order14_in_ga(T9, X14))
IN_ORDER1_IN_GA(tree(T7, void, T9), T11) → IN_ORDER14_IN_GA(T9, X14)
IN_ORDER14_IN_GA(tree(T19, T20, T21), X37) → U1_GA(T19, T20, T21, X37, in_order14_in_ga(T20, X35))
IN_ORDER14_IN_GA(tree(T19, T20, T21), X37) → IN_ORDER14_IN_GA(T20, X35)
IN_ORDER14_IN_GA(tree(T19, T20, T21), X37) → U2_GA(T19, T20, T21, X37, in_order14_in_ga(T20, T22))
U2_GA(T19, T20, T21, X37, in_order14_out_ga(T20, T22)) → U3_GA(T19, T20, T21, X37, in_order14_in_ga(T21, X36))
U2_GA(T19, T20, T21, X37, in_order14_out_ga(T20, T22)) → IN_ORDER14_IN_GA(T21, X36)
U2_GA(T19, T20, T21, X37, in_order14_out_ga(T20, T22)) → U4_GA(T19, T20, T21, X37, T22, in_order14_in_ga(T21, T23))
U4_GA(T19, T20, T21, X37, T22, in_order14_out_ga(T21, T23)) → U5_GA(T19, T20, T21, X37, app27_in_agaa(T22, T19, T23, X37))
U4_GA(T19, T20, T21, X37, T22, in_order14_out_ga(T21, T23)) → APP27_IN_AGAA(T22, T19, T23, X37)
APP27_IN_AGAA(.(T46, T47), T48, T49, .(T46, X64)) → U6_AGAA(T46, T47, T48, T49, X64, app27_in_agaa(T47, T48, T49, X64))
APP27_IN_AGAA(.(T46, T47), T48, T49, .(T46, X64)) → APP27_IN_AGAA(T47, T48, T49, X64)
IN_ORDER1_IN_GA(tree(T66, void, T9), .(T66, T67)) → U9_GA(T66, T9, T67, in_order14_in_ga(T9, T67))
IN_ORDER1_IN_GA(tree(T66, void, T9), .(T66, T67)) → IN_ORDER14_IN_GA(T9, T67)
IN_ORDER1_IN_GA(tree(T7, tree(T74, T75, T76), T9), T11) → U10_GA(T7, T74, T75, T76, T9, T11, in_order14_in_ga(T75, X99))
IN_ORDER1_IN_GA(tree(T7, tree(T74, T75, T76), T9), T11) → IN_ORDER14_IN_GA(T75, X99)
IN_ORDER1_IN_GA(tree(T7, tree(T74, T75, T76), T9), T11) → U11_GA(T7, T74, T75, T76, T9, T11, in_order14_in_ga(T75, T77))
U11_GA(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T75, T77)) → U12_GA(T7, T74, T75, T76, T9, T11, in_order14_in_ga(T76, X100))
U11_GA(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T75, T77)) → IN_ORDER14_IN_GA(T76, X100)
U11_GA(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T75, T77)) → U13_GA(T7, T74, T75, T76, T9, T11, T77, in_order14_in_ga(T76, T78))
U13_GA(T7, T74, T75, T76, T9, T11, T77, in_order14_out_ga(T76, T78)) → U14_GA(T7, T74, T75, T76, T9, T11, app27_in_agaa(T77, T74, T78, X101))
U13_GA(T7, T74, T75, T76, T9, T11, T77, in_order14_out_ga(T76, T78)) → APP27_IN_AGAA(T77, T74, T78, X101)
U13_GA(T7, T74, T75, T76, T9, T11, T77, in_order14_out_ga(T76, T78)) → U15_GA(T7, T74, T75, T76, T9, T11, app27_in_agaa(T77, T74, T78, T83))
U15_GA(T7, T74, T75, T76, T9, T11, app27_out_agaa(T77, T74, T78, T83)) → U16_GA(T7, T74, T75, T76, T9, T11, in_order14_in_ga(T9, X14))
U15_GA(T7, T74, T75, T76, T9, T11, app27_out_agaa(T77, T74, T78, T83)) → IN_ORDER14_IN_GA(T9, X14)
U15_GA(T7, T74, T75, T76, T9, T11, app27_out_agaa(T77, T74, T78, T83)) → U17_GA(T7, T74, T75, T76, T9, T11, T83, in_order14_in_ga(T9, T88))
U17_GA(T7, T74, T75, T76, T9, T11, T83, in_order14_out_ga(T9, T88)) → U18_GA(T7, T74, T75, T76, T9, T11, app52_in_agaa(T83, T7, T88, T11))
U17_GA(T7, T74, T75, T76, T9, T11, T83, in_order14_out_ga(T9, T88)) → APP52_IN_AGAA(T83, T7, T88, T11)
APP52_IN_AGAA(.(T113, T114), T115, T116, .(T113, T118)) → U7_AGAA(T113, T114, T115, T116, T118, app52_in_agaa(T114, T115, T116, T118))
APP52_IN_AGAA(.(T113, T114), T115, T116, .(T113, T118)) → APP52_IN_AGAA(T114, T115, T116, T118)
in_order1_in_ga(void, []) → in_order1_out_ga(void, [])
in_order1_in_ga(tree(T7, void, T9), T11) → U8_ga(T7, T9, T11, in_order14_in_ga(T9, X14))
in_order14_in_ga(void, []) → in_order14_out_ga(void, [])
in_order14_in_ga(tree(T19, T20, T21), X37) → U1_ga(T19, T20, T21, X37, in_order14_in_ga(T20, X35))
in_order14_in_ga(tree(T19, T20, T21), X37) → U2_ga(T19, T20, T21, X37, in_order14_in_ga(T20, T22))
U2_ga(T19, T20, T21, X37, in_order14_out_ga(T20, T22)) → U3_ga(T19, T20, T21, X37, in_order14_in_ga(T21, X36))
U3_ga(T19, T20, T21, X37, in_order14_out_ga(T21, X36)) → in_order14_out_ga(tree(T19, T20, T21), X37)
U2_ga(T19, T20, T21, X37, in_order14_out_ga(T20, T22)) → U4_ga(T19, T20, T21, X37, T22, in_order14_in_ga(T21, T23))
U4_ga(T19, T20, T21, X37, T22, in_order14_out_ga(T21, T23)) → U5_ga(T19, T20, T21, X37, app27_in_agaa(T22, T19, T23, X37))
app27_in_agaa([], T36, T37, .(T36, T37)) → app27_out_agaa([], T36, T37, .(T36, T37))
app27_in_agaa(.(T46, T47), T48, T49, .(T46, X64)) → U6_agaa(T46, T47, T48, T49, X64, app27_in_agaa(T47, T48, T49, X64))
U6_agaa(T46, T47, T48, T49, X64, app27_out_agaa(T47, T48, T49, X64)) → app27_out_agaa(.(T46, T47), T48, T49, .(T46, X64))
U5_ga(T19, T20, T21, X37, app27_out_agaa(T22, T19, T23, X37)) → in_order14_out_ga(tree(T19, T20, T21), X37)
U1_ga(T19, T20, T21, X37, in_order14_out_ga(T20, X35)) → in_order14_out_ga(tree(T19, T20, T21), X37)
U8_ga(T7, T9, T11, in_order14_out_ga(T9, X14)) → in_order1_out_ga(tree(T7, void, T9), T11)
in_order1_in_ga(tree(T66, void, T9), .(T66, T67)) → U9_ga(T66, T9, T67, in_order14_in_ga(T9, T67))
U9_ga(T66, T9, T67, in_order14_out_ga(T9, T67)) → in_order1_out_ga(tree(T66, void, T9), .(T66, T67))
in_order1_in_ga(tree(T7, tree(T74, T75, T76), T9), T11) → U10_ga(T7, T74, T75, T76, T9, T11, in_order14_in_ga(T75, X99))
U10_ga(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T75, X99)) → in_order1_out_ga(tree(T7, tree(T74, T75, T76), T9), T11)
in_order1_in_ga(tree(T7, tree(T74, T75, T76), T9), T11) → U11_ga(T7, T74, T75, T76, T9, T11, in_order14_in_ga(T75, T77))
U11_ga(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T75, T77)) → U12_ga(T7, T74, T75, T76, T9, T11, in_order14_in_ga(T76, X100))
U12_ga(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T76, X100)) → in_order1_out_ga(tree(T7, tree(T74, T75, T76), T9), T11)
U11_ga(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T75, T77)) → U13_ga(T7, T74, T75, T76, T9, T11, T77, in_order14_in_ga(T76, T78))
U13_ga(T7, T74, T75, T76, T9, T11, T77, in_order14_out_ga(T76, T78)) → U14_ga(T7, T74, T75, T76, T9, T11, app27_in_agaa(T77, T74, T78, X101))
U14_ga(T7, T74, T75, T76, T9, T11, app27_out_agaa(T77, T74, T78, X101)) → in_order1_out_ga(tree(T7, tree(T74, T75, T76), T9), T11)
U13_ga(T7, T74, T75, T76, T9, T11, T77, in_order14_out_ga(T76, T78)) → U15_ga(T7, T74, T75, T76, T9, T11, app27_in_agaa(T77, T74, T78, T83))
U15_ga(T7, T74, T75, T76, T9, T11, app27_out_agaa(T77, T74, T78, T83)) → U16_ga(T7, T74, T75, T76, T9, T11, in_order14_in_ga(T9, X14))
U16_ga(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T9, X14)) → in_order1_out_ga(tree(T7, tree(T74, T75, T76), T9), T11)
U15_ga(T7, T74, T75, T76, T9, T11, app27_out_agaa(T77, T74, T78, T83)) → U17_ga(T7, T74, T75, T76, T9, T11, T83, in_order14_in_ga(T9, T88))
U17_ga(T7, T74, T75, T76, T9, T11, T83, in_order14_out_ga(T9, T88)) → U18_ga(T7, T74, T75, T76, T9, T11, app52_in_agaa(T83, T7, T88, T11))
app52_in_agaa([], T101, T102, .(T101, T102)) → app52_out_agaa([], T101, T102, .(T101, T102))
app52_in_agaa(.(T113, T114), T115, T116, .(T113, T118)) → U7_agaa(T113, T114, T115, T116, T118, app52_in_agaa(T114, T115, T116, T118))
U7_agaa(T113, T114, T115, T116, T118, app52_out_agaa(T114, T115, T116, T118)) → app52_out_agaa(.(T113, T114), T115, T116, .(T113, T118))
U18_ga(T7, T74, T75, T76, T9, T11, app52_out_agaa(T83, T7, T88, T11)) → in_order1_out_ga(tree(T7, tree(T74, T75, T76), T9), T11)
IN_ORDER1_IN_GA(tree(T7, void, T9), T11) → U8_GA(T7, T9, T11, in_order14_in_ga(T9, X14))
IN_ORDER1_IN_GA(tree(T7, void, T9), T11) → IN_ORDER14_IN_GA(T9, X14)
IN_ORDER14_IN_GA(tree(T19, T20, T21), X37) → U1_GA(T19, T20, T21, X37, in_order14_in_ga(T20, X35))
IN_ORDER14_IN_GA(tree(T19, T20, T21), X37) → IN_ORDER14_IN_GA(T20, X35)
IN_ORDER14_IN_GA(tree(T19, T20, T21), X37) → U2_GA(T19, T20, T21, X37, in_order14_in_ga(T20, T22))
U2_GA(T19, T20, T21, X37, in_order14_out_ga(T20, T22)) → U3_GA(T19, T20, T21, X37, in_order14_in_ga(T21, X36))
U2_GA(T19, T20, T21, X37, in_order14_out_ga(T20, T22)) → IN_ORDER14_IN_GA(T21, X36)
U2_GA(T19, T20, T21, X37, in_order14_out_ga(T20, T22)) → U4_GA(T19, T20, T21, X37, T22, in_order14_in_ga(T21, T23))
U4_GA(T19, T20, T21, X37, T22, in_order14_out_ga(T21, T23)) → U5_GA(T19, T20, T21, X37, app27_in_agaa(T22, T19, T23, X37))
U4_GA(T19, T20, T21, X37, T22, in_order14_out_ga(T21, T23)) → APP27_IN_AGAA(T22, T19, T23, X37)
APP27_IN_AGAA(.(T46, T47), T48, T49, .(T46, X64)) → U6_AGAA(T46, T47, T48, T49, X64, app27_in_agaa(T47, T48, T49, X64))
APP27_IN_AGAA(.(T46, T47), T48, T49, .(T46, X64)) → APP27_IN_AGAA(T47, T48, T49, X64)
IN_ORDER1_IN_GA(tree(T66, void, T9), .(T66, T67)) → U9_GA(T66, T9, T67, in_order14_in_ga(T9, T67))
IN_ORDER1_IN_GA(tree(T66, void, T9), .(T66, T67)) → IN_ORDER14_IN_GA(T9, T67)
IN_ORDER1_IN_GA(tree(T7, tree(T74, T75, T76), T9), T11) → U10_GA(T7, T74, T75, T76, T9, T11, in_order14_in_ga(T75, X99))
IN_ORDER1_IN_GA(tree(T7, tree(T74, T75, T76), T9), T11) → IN_ORDER14_IN_GA(T75, X99)
IN_ORDER1_IN_GA(tree(T7, tree(T74, T75, T76), T9), T11) → U11_GA(T7, T74, T75, T76, T9, T11, in_order14_in_ga(T75, T77))
U11_GA(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T75, T77)) → U12_GA(T7, T74, T75, T76, T9, T11, in_order14_in_ga(T76, X100))
U11_GA(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T75, T77)) → IN_ORDER14_IN_GA(T76, X100)
U11_GA(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T75, T77)) → U13_GA(T7, T74, T75, T76, T9, T11, T77, in_order14_in_ga(T76, T78))
U13_GA(T7, T74, T75, T76, T9, T11, T77, in_order14_out_ga(T76, T78)) → U14_GA(T7, T74, T75, T76, T9, T11, app27_in_agaa(T77, T74, T78, X101))
U13_GA(T7, T74, T75, T76, T9, T11, T77, in_order14_out_ga(T76, T78)) → APP27_IN_AGAA(T77, T74, T78, X101)
U13_GA(T7, T74, T75, T76, T9, T11, T77, in_order14_out_ga(T76, T78)) → U15_GA(T7, T74, T75, T76, T9, T11, app27_in_agaa(T77, T74, T78, T83))
U15_GA(T7, T74, T75, T76, T9, T11, app27_out_agaa(T77, T74, T78, T83)) → U16_GA(T7, T74, T75, T76, T9, T11, in_order14_in_ga(T9, X14))
U15_GA(T7, T74, T75, T76, T9, T11, app27_out_agaa(T77, T74, T78, T83)) → IN_ORDER14_IN_GA(T9, X14)
U15_GA(T7, T74, T75, T76, T9, T11, app27_out_agaa(T77, T74, T78, T83)) → U17_GA(T7, T74, T75, T76, T9, T11, T83, in_order14_in_ga(T9, T88))
U17_GA(T7, T74, T75, T76, T9, T11, T83, in_order14_out_ga(T9, T88)) → U18_GA(T7, T74, T75, T76, T9, T11, app52_in_agaa(T83, T7, T88, T11))
U17_GA(T7, T74, T75, T76, T9, T11, T83, in_order14_out_ga(T9, T88)) → APP52_IN_AGAA(T83, T7, T88, T11)
APP52_IN_AGAA(.(T113, T114), T115, T116, .(T113, T118)) → U7_AGAA(T113, T114, T115, T116, T118, app52_in_agaa(T114, T115, T116, T118))
APP52_IN_AGAA(.(T113, T114), T115, T116, .(T113, T118)) → APP52_IN_AGAA(T114, T115, T116, T118)
in_order1_in_ga(void, []) → in_order1_out_ga(void, [])
in_order1_in_ga(tree(T7, void, T9), T11) → U8_ga(T7, T9, T11, in_order14_in_ga(T9, X14))
in_order14_in_ga(void, []) → in_order14_out_ga(void, [])
in_order14_in_ga(tree(T19, T20, T21), X37) → U1_ga(T19, T20, T21, X37, in_order14_in_ga(T20, X35))
in_order14_in_ga(tree(T19, T20, T21), X37) → U2_ga(T19, T20, T21, X37, in_order14_in_ga(T20, T22))
U2_ga(T19, T20, T21, X37, in_order14_out_ga(T20, T22)) → U3_ga(T19, T20, T21, X37, in_order14_in_ga(T21, X36))
U3_ga(T19, T20, T21, X37, in_order14_out_ga(T21, X36)) → in_order14_out_ga(tree(T19, T20, T21), X37)
U2_ga(T19, T20, T21, X37, in_order14_out_ga(T20, T22)) → U4_ga(T19, T20, T21, X37, T22, in_order14_in_ga(T21, T23))
U4_ga(T19, T20, T21, X37, T22, in_order14_out_ga(T21, T23)) → U5_ga(T19, T20, T21, X37, app27_in_agaa(T22, T19, T23, X37))
app27_in_agaa([], T36, T37, .(T36, T37)) → app27_out_agaa([], T36, T37, .(T36, T37))
app27_in_agaa(.(T46, T47), T48, T49, .(T46, X64)) → U6_agaa(T46, T47, T48, T49, X64, app27_in_agaa(T47, T48, T49, X64))
U6_agaa(T46, T47, T48, T49, X64, app27_out_agaa(T47, T48, T49, X64)) → app27_out_agaa(.(T46, T47), T48, T49, .(T46, X64))
U5_ga(T19, T20, T21, X37, app27_out_agaa(T22, T19, T23, X37)) → in_order14_out_ga(tree(T19, T20, T21), X37)
U1_ga(T19, T20, T21, X37, in_order14_out_ga(T20, X35)) → in_order14_out_ga(tree(T19, T20, T21), X37)
U8_ga(T7, T9, T11, in_order14_out_ga(T9, X14)) → in_order1_out_ga(tree(T7, void, T9), T11)
in_order1_in_ga(tree(T66, void, T9), .(T66, T67)) → U9_ga(T66, T9, T67, in_order14_in_ga(T9, T67))
U9_ga(T66, T9, T67, in_order14_out_ga(T9, T67)) → in_order1_out_ga(tree(T66, void, T9), .(T66, T67))
in_order1_in_ga(tree(T7, tree(T74, T75, T76), T9), T11) → U10_ga(T7, T74, T75, T76, T9, T11, in_order14_in_ga(T75, X99))
U10_ga(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T75, X99)) → in_order1_out_ga(tree(T7, tree(T74, T75, T76), T9), T11)
in_order1_in_ga(tree(T7, tree(T74, T75, T76), T9), T11) → U11_ga(T7, T74, T75, T76, T9, T11, in_order14_in_ga(T75, T77))
U11_ga(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T75, T77)) → U12_ga(T7, T74, T75, T76, T9, T11, in_order14_in_ga(T76, X100))
U12_ga(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T76, X100)) → in_order1_out_ga(tree(T7, tree(T74, T75, T76), T9), T11)
U11_ga(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T75, T77)) → U13_ga(T7, T74, T75, T76, T9, T11, T77, in_order14_in_ga(T76, T78))
U13_ga(T7, T74, T75, T76, T9, T11, T77, in_order14_out_ga(T76, T78)) → U14_ga(T7, T74, T75, T76, T9, T11, app27_in_agaa(T77, T74, T78, X101))
U14_ga(T7, T74, T75, T76, T9, T11, app27_out_agaa(T77, T74, T78, X101)) → in_order1_out_ga(tree(T7, tree(T74, T75, T76), T9), T11)
U13_ga(T7, T74, T75, T76, T9, T11, T77, in_order14_out_ga(T76, T78)) → U15_ga(T7, T74, T75, T76, T9, T11, app27_in_agaa(T77, T74, T78, T83))
U15_ga(T7, T74, T75, T76, T9, T11, app27_out_agaa(T77, T74, T78, T83)) → U16_ga(T7, T74, T75, T76, T9, T11, in_order14_in_ga(T9, X14))
U16_ga(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T9, X14)) → in_order1_out_ga(tree(T7, tree(T74, T75, T76), T9), T11)
U15_ga(T7, T74, T75, T76, T9, T11, app27_out_agaa(T77, T74, T78, T83)) → U17_ga(T7, T74, T75, T76, T9, T11, T83, in_order14_in_ga(T9, T88))
U17_ga(T7, T74, T75, T76, T9, T11, T83, in_order14_out_ga(T9, T88)) → U18_ga(T7, T74, T75, T76, T9, T11, app52_in_agaa(T83, T7, T88, T11))
app52_in_agaa([], T101, T102, .(T101, T102)) → app52_out_agaa([], T101, T102, .(T101, T102))
app52_in_agaa(.(T113, T114), T115, T116, .(T113, T118)) → U7_agaa(T113, T114, T115, T116, T118, app52_in_agaa(T114, T115, T116, T118))
U7_agaa(T113, T114, T115, T116, T118, app52_out_agaa(T114, T115, T116, T118)) → app52_out_agaa(.(T113, T114), T115, T116, .(T113, T118))
U18_ga(T7, T74, T75, T76, T9, T11, app52_out_agaa(T83, T7, T88, T11)) → in_order1_out_ga(tree(T7, tree(T74, T75, T76), T9), T11)
APP52_IN_AGAA(.(T113, T114), T115, T116, .(T113, T118)) → APP52_IN_AGAA(T114, T115, T116, T118)
in_order1_in_ga(void, []) → in_order1_out_ga(void, [])
in_order1_in_ga(tree(T7, void, T9), T11) → U8_ga(T7, T9, T11, in_order14_in_ga(T9, X14))
in_order14_in_ga(void, []) → in_order14_out_ga(void, [])
in_order14_in_ga(tree(T19, T20, T21), X37) → U1_ga(T19, T20, T21, X37, in_order14_in_ga(T20, X35))
in_order14_in_ga(tree(T19, T20, T21), X37) → U2_ga(T19, T20, T21, X37, in_order14_in_ga(T20, T22))
U2_ga(T19, T20, T21, X37, in_order14_out_ga(T20, T22)) → U3_ga(T19, T20, T21, X37, in_order14_in_ga(T21, X36))
U3_ga(T19, T20, T21, X37, in_order14_out_ga(T21, X36)) → in_order14_out_ga(tree(T19, T20, T21), X37)
U2_ga(T19, T20, T21, X37, in_order14_out_ga(T20, T22)) → U4_ga(T19, T20, T21, X37, T22, in_order14_in_ga(T21, T23))
U4_ga(T19, T20, T21, X37, T22, in_order14_out_ga(T21, T23)) → U5_ga(T19, T20, T21, X37, app27_in_agaa(T22, T19, T23, X37))
app27_in_agaa([], T36, T37, .(T36, T37)) → app27_out_agaa([], T36, T37, .(T36, T37))
app27_in_agaa(.(T46, T47), T48, T49, .(T46, X64)) → U6_agaa(T46, T47, T48, T49, X64, app27_in_agaa(T47, T48, T49, X64))
U6_agaa(T46, T47, T48, T49, X64, app27_out_agaa(T47, T48, T49, X64)) → app27_out_agaa(.(T46, T47), T48, T49, .(T46, X64))
U5_ga(T19, T20, T21, X37, app27_out_agaa(T22, T19, T23, X37)) → in_order14_out_ga(tree(T19, T20, T21), X37)
U1_ga(T19, T20, T21, X37, in_order14_out_ga(T20, X35)) → in_order14_out_ga(tree(T19, T20, T21), X37)
U8_ga(T7, T9, T11, in_order14_out_ga(T9, X14)) → in_order1_out_ga(tree(T7, void, T9), T11)
in_order1_in_ga(tree(T66, void, T9), .(T66, T67)) → U9_ga(T66, T9, T67, in_order14_in_ga(T9, T67))
U9_ga(T66, T9, T67, in_order14_out_ga(T9, T67)) → in_order1_out_ga(tree(T66, void, T9), .(T66, T67))
in_order1_in_ga(tree(T7, tree(T74, T75, T76), T9), T11) → U10_ga(T7, T74, T75, T76, T9, T11, in_order14_in_ga(T75, X99))
U10_ga(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T75, X99)) → in_order1_out_ga(tree(T7, tree(T74, T75, T76), T9), T11)
in_order1_in_ga(tree(T7, tree(T74, T75, T76), T9), T11) → U11_ga(T7, T74, T75, T76, T9, T11, in_order14_in_ga(T75, T77))
U11_ga(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T75, T77)) → U12_ga(T7, T74, T75, T76, T9, T11, in_order14_in_ga(T76, X100))
U12_ga(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T76, X100)) → in_order1_out_ga(tree(T7, tree(T74, T75, T76), T9), T11)
U11_ga(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T75, T77)) → U13_ga(T7, T74, T75, T76, T9, T11, T77, in_order14_in_ga(T76, T78))
U13_ga(T7, T74, T75, T76, T9, T11, T77, in_order14_out_ga(T76, T78)) → U14_ga(T7, T74, T75, T76, T9, T11, app27_in_agaa(T77, T74, T78, X101))
U14_ga(T7, T74, T75, T76, T9, T11, app27_out_agaa(T77, T74, T78, X101)) → in_order1_out_ga(tree(T7, tree(T74, T75, T76), T9), T11)
U13_ga(T7, T74, T75, T76, T9, T11, T77, in_order14_out_ga(T76, T78)) → U15_ga(T7, T74, T75, T76, T9, T11, app27_in_agaa(T77, T74, T78, T83))
U15_ga(T7, T74, T75, T76, T9, T11, app27_out_agaa(T77, T74, T78, T83)) → U16_ga(T7, T74, T75, T76, T9, T11, in_order14_in_ga(T9, X14))
U16_ga(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T9, X14)) → in_order1_out_ga(tree(T7, tree(T74, T75, T76), T9), T11)
U15_ga(T7, T74, T75, T76, T9, T11, app27_out_agaa(T77, T74, T78, T83)) → U17_ga(T7, T74, T75, T76, T9, T11, T83, in_order14_in_ga(T9, T88))
U17_ga(T7, T74, T75, T76, T9, T11, T83, in_order14_out_ga(T9, T88)) → U18_ga(T7, T74, T75, T76, T9, T11, app52_in_agaa(T83, T7, T88, T11))
app52_in_agaa([], T101, T102, .(T101, T102)) → app52_out_agaa([], T101, T102, .(T101, T102))
app52_in_agaa(.(T113, T114), T115, T116, .(T113, T118)) → U7_agaa(T113, T114, T115, T116, T118, app52_in_agaa(T114, T115, T116, T118))
U7_agaa(T113, T114, T115, T116, T118, app52_out_agaa(T114, T115, T116, T118)) → app52_out_agaa(.(T113, T114), T115, T116, .(T113, T118))
U18_ga(T7, T74, T75, T76, T9, T11, app52_out_agaa(T83, T7, T88, T11)) → in_order1_out_ga(tree(T7, tree(T74, T75, T76), T9), T11)
APP52_IN_AGAA(.(T113, T114), T115, T116, .(T113, T118)) → APP52_IN_AGAA(T114, T115, T116, T118)
APP52_IN_AGAA(T115) → APP52_IN_AGAA(T115)
APP27_IN_AGAA(.(T46, T47), T48, T49, .(T46, X64)) → APP27_IN_AGAA(T47, T48, T49, X64)
in_order1_in_ga(void, []) → in_order1_out_ga(void, [])
in_order1_in_ga(tree(T7, void, T9), T11) → U8_ga(T7, T9, T11, in_order14_in_ga(T9, X14))
in_order14_in_ga(void, []) → in_order14_out_ga(void, [])
in_order14_in_ga(tree(T19, T20, T21), X37) → U1_ga(T19, T20, T21, X37, in_order14_in_ga(T20, X35))
in_order14_in_ga(tree(T19, T20, T21), X37) → U2_ga(T19, T20, T21, X37, in_order14_in_ga(T20, T22))
U2_ga(T19, T20, T21, X37, in_order14_out_ga(T20, T22)) → U3_ga(T19, T20, T21, X37, in_order14_in_ga(T21, X36))
U3_ga(T19, T20, T21, X37, in_order14_out_ga(T21, X36)) → in_order14_out_ga(tree(T19, T20, T21), X37)
U2_ga(T19, T20, T21, X37, in_order14_out_ga(T20, T22)) → U4_ga(T19, T20, T21, X37, T22, in_order14_in_ga(T21, T23))
U4_ga(T19, T20, T21, X37, T22, in_order14_out_ga(T21, T23)) → U5_ga(T19, T20, T21, X37, app27_in_agaa(T22, T19, T23, X37))
app27_in_agaa([], T36, T37, .(T36, T37)) → app27_out_agaa([], T36, T37, .(T36, T37))
app27_in_agaa(.(T46, T47), T48, T49, .(T46, X64)) → U6_agaa(T46, T47, T48, T49, X64, app27_in_agaa(T47, T48, T49, X64))
U6_agaa(T46, T47, T48, T49, X64, app27_out_agaa(T47, T48, T49, X64)) → app27_out_agaa(.(T46, T47), T48, T49, .(T46, X64))
U5_ga(T19, T20, T21, X37, app27_out_agaa(T22, T19, T23, X37)) → in_order14_out_ga(tree(T19, T20, T21), X37)
U1_ga(T19, T20, T21, X37, in_order14_out_ga(T20, X35)) → in_order14_out_ga(tree(T19, T20, T21), X37)
U8_ga(T7, T9, T11, in_order14_out_ga(T9, X14)) → in_order1_out_ga(tree(T7, void, T9), T11)
in_order1_in_ga(tree(T66, void, T9), .(T66, T67)) → U9_ga(T66, T9, T67, in_order14_in_ga(T9, T67))
U9_ga(T66, T9, T67, in_order14_out_ga(T9, T67)) → in_order1_out_ga(tree(T66, void, T9), .(T66, T67))
in_order1_in_ga(tree(T7, tree(T74, T75, T76), T9), T11) → U10_ga(T7, T74, T75, T76, T9, T11, in_order14_in_ga(T75, X99))
U10_ga(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T75, X99)) → in_order1_out_ga(tree(T7, tree(T74, T75, T76), T9), T11)
in_order1_in_ga(tree(T7, tree(T74, T75, T76), T9), T11) → U11_ga(T7, T74, T75, T76, T9, T11, in_order14_in_ga(T75, T77))
U11_ga(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T75, T77)) → U12_ga(T7, T74, T75, T76, T9, T11, in_order14_in_ga(T76, X100))
U12_ga(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T76, X100)) → in_order1_out_ga(tree(T7, tree(T74, T75, T76), T9), T11)
U11_ga(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T75, T77)) → U13_ga(T7, T74, T75, T76, T9, T11, T77, in_order14_in_ga(T76, T78))
U13_ga(T7, T74, T75, T76, T9, T11, T77, in_order14_out_ga(T76, T78)) → U14_ga(T7, T74, T75, T76, T9, T11, app27_in_agaa(T77, T74, T78, X101))
U14_ga(T7, T74, T75, T76, T9, T11, app27_out_agaa(T77, T74, T78, X101)) → in_order1_out_ga(tree(T7, tree(T74, T75, T76), T9), T11)
U13_ga(T7, T74, T75, T76, T9, T11, T77, in_order14_out_ga(T76, T78)) → U15_ga(T7, T74, T75, T76, T9, T11, app27_in_agaa(T77, T74, T78, T83))
U15_ga(T7, T74, T75, T76, T9, T11, app27_out_agaa(T77, T74, T78, T83)) → U16_ga(T7, T74, T75, T76, T9, T11, in_order14_in_ga(T9, X14))
U16_ga(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T9, X14)) → in_order1_out_ga(tree(T7, tree(T74, T75, T76), T9), T11)
U15_ga(T7, T74, T75, T76, T9, T11, app27_out_agaa(T77, T74, T78, T83)) → U17_ga(T7, T74, T75, T76, T9, T11, T83, in_order14_in_ga(T9, T88))
U17_ga(T7, T74, T75, T76, T9, T11, T83, in_order14_out_ga(T9, T88)) → U18_ga(T7, T74, T75, T76, T9, T11, app52_in_agaa(T83, T7, T88, T11))
app52_in_agaa([], T101, T102, .(T101, T102)) → app52_out_agaa([], T101, T102, .(T101, T102))
app52_in_agaa(.(T113, T114), T115, T116, .(T113, T118)) → U7_agaa(T113, T114, T115, T116, T118, app52_in_agaa(T114, T115, T116, T118))
U7_agaa(T113, T114, T115, T116, T118, app52_out_agaa(T114, T115, T116, T118)) → app52_out_agaa(.(T113, T114), T115, T116, .(T113, T118))
U18_ga(T7, T74, T75, T76, T9, T11, app52_out_agaa(T83, T7, T88, T11)) → in_order1_out_ga(tree(T7, tree(T74, T75, T76), T9), T11)
APP27_IN_AGAA(.(T46, T47), T48, T49, .(T46, X64)) → APP27_IN_AGAA(T47, T48, T49, X64)
APP27_IN_AGAA(T48) → APP27_IN_AGAA(T48)
IN_ORDER14_IN_GA(tree(T19, T20, T21), X37) → U2_GA(T19, T20, T21, X37, in_order14_in_ga(T20, T22))
U2_GA(T19, T20, T21, X37, in_order14_out_ga(T20, T22)) → IN_ORDER14_IN_GA(T21, X36)
IN_ORDER14_IN_GA(tree(T19, T20, T21), X37) → IN_ORDER14_IN_GA(T20, X35)
in_order1_in_ga(void, []) → in_order1_out_ga(void, [])
in_order1_in_ga(tree(T7, void, T9), T11) → U8_ga(T7, T9, T11, in_order14_in_ga(T9, X14))
in_order14_in_ga(void, []) → in_order14_out_ga(void, [])
in_order14_in_ga(tree(T19, T20, T21), X37) → U1_ga(T19, T20, T21, X37, in_order14_in_ga(T20, X35))
in_order14_in_ga(tree(T19, T20, T21), X37) → U2_ga(T19, T20, T21, X37, in_order14_in_ga(T20, T22))
U2_ga(T19, T20, T21, X37, in_order14_out_ga(T20, T22)) → U3_ga(T19, T20, T21, X37, in_order14_in_ga(T21, X36))
U3_ga(T19, T20, T21, X37, in_order14_out_ga(T21, X36)) → in_order14_out_ga(tree(T19, T20, T21), X37)
U2_ga(T19, T20, T21, X37, in_order14_out_ga(T20, T22)) → U4_ga(T19, T20, T21, X37, T22, in_order14_in_ga(T21, T23))
U4_ga(T19, T20, T21, X37, T22, in_order14_out_ga(T21, T23)) → U5_ga(T19, T20, T21, X37, app27_in_agaa(T22, T19, T23, X37))
app27_in_agaa([], T36, T37, .(T36, T37)) → app27_out_agaa([], T36, T37, .(T36, T37))
app27_in_agaa(.(T46, T47), T48, T49, .(T46, X64)) → U6_agaa(T46, T47, T48, T49, X64, app27_in_agaa(T47, T48, T49, X64))
U6_agaa(T46, T47, T48, T49, X64, app27_out_agaa(T47, T48, T49, X64)) → app27_out_agaa(.(T46, T47), T48, T49, .(T46, X64))
U5_ga(T19, T20, T21, X37, app27_out_agaa(T22, T19, T23, X37)) → in_order14_out_ga(tree(T19, T20, T21), X37)
U1_ga(T19, T20, T21, X37, in_order14_out_ga(T20, X35)) → in_order14_out_ga(tree(T19, T20, T21), X37)
U8_ga(T7, T9, T11, in_order14_out_ga(T9, X14)) → in_order1_out_ga(tree(T7, void, T9), T11)
in_order1_in_ga(tree(T66, void, T9), .(T66, T67)) → U9_ga(T66, T9, T67, in_order14_in_ga(T9, T67))
U9_ga(T66, T9, T67, in_order14_out_ga(T9, T67)) → in_order1_out_ga(tree(T66, void, T9), .(T66, T67))
in_order1_in_ga(tree(T7, tree(T74, T75, T76), T9), T11) → U10_ga(T7, T74, T75, T76, T9, T11, in_order14_in_ga(T75, X99))
U10_ga(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T75, X99)) → in_order1_out_ga(tree(T7, tree(T74, T75, T76), T9), T11)
in_order1_in_ga(tree(T7, tree(T74, T75, T76), T9), T11) → U11_ga(T7, T74, T75, T76, T9, T11, in_order14_in_ga(T75, T77))
U11_ga(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T75, T77)) → U12_ga(T7, T74, T75, T76, T9, T11, in_order14_in_ga(T76, X100))
U12_ga(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T76, X100)) → in_order1_out_ga(tree(T7, tree(T74, T75, T76), T9), T11)
U11_ga(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T75, T77)) → U13_ga(T7, T74, T75, T76, T9, T11, T77, in_order14_in_ga(T76, T78))
U13_ga(T7, T74, T75, T76, T9, T11, T77, in_order14_out_ga(T76, T78)) → U14_ga(T7, T74, T75, T76, T9, T11, app27_in_agaa(T77, T74, T78, X101))
U14_ga(T7, T74, T75, T76, T9, T11, app27_out_agaa(T77, T74, T78, X101)) → in_order1_out_ga(tree(T7, tree(T74, T75, T76), T9), T11)
U13_ga(T7, T74, T75, T76, T9, T11, T77, in_order14_out_ga(T76, T78)) → U15_ga(T7, T74, T75, T76, T9, T11, app27_in_agaa(T77, T74, T78, T83))
U15_ga(T7, T74, T75, T76, T9, T11, app27_out_agaa(T77, T74, T78, T83)) → U16_ga(T7, T74, T75, T76, T9, T11, in_order14_in_ga(T9, X14))
U16_ga(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T9, X14)) → in_order1_out_ga(tree(T7, tree(T74, T75, T76), T9), T11)
U15_ga(T7, T74, T75, T76, T9, T11, app27_out_agaa(T77, T74, T78, T83)) → U17_ga(T7, T74, T75, T76, T9, T11, T83, in_order14_in_ga(T9, T88))
U17_ga(T7, T74, T75, T76, T9, T11, T83, in_order14_out_ga(T9, T88)) → U18_ga(T7, T74, T75, T76, T9, T11, app52_in_agaa(T83, T7, T88, T11))
app52_in_agaa([], T101, T102, .(T101, T102)) → app52_out_agaa([], T101, T102, .(T101, T102))
app52_in_agaa(.(T113, T114), T115, T116, .(T113, T118)) → U7_agaa(T113, T114, T115, T116, T118, app52_in_agaa(T114, T115, T116, T118))
U7_agaa(T113, T114, T115, T116, T118, app52_out_agaa(T114, T115, T116, T118)) → app52_out_agaa(.(T113, T114), T115, T116, .(T113, T118))
U18_ga(T7, T74, T75, T76, T9, T11, app52_out_agaa(T83, T7, T88, T11)) → in_order1_out_ga(tree(T7, tree(T74, T75, T76), T9), T11)
IN_ORDER14_IN_GA(tree(T19, T20, T21), X37) → U2_GA(T19, T20, T21, X37, in_order14_in_ga(T20, T22))
U2_GA(T19, T20, T21, X37, in_order14_out_ga(T20, T22)) → IN_ORDER14_IN_GA(T21, X36)
IN_ORDER14_IN_GA(tree(T19, T20, T21), X37) → IN_ORDER14_IN_GA(T20, X35)
in_order14_in_ga(void, []) → in_order14_out_ga(void, [])
in_order14_in_ga(tree(T19, T20, T21), X37) → U1_ga(T19, T20, T21, X37, in_order14_in_ga(T20, X35))
in_order14_in_ga(tree(T19, T20, T21), X37) → U2_ga(T19, T20, T21, X37, in_order14_in_ga(T20, T22))
U1_ga(T19, T20, T21, X37, in_order14_out_ga(T20, X35)) → in_order14_out_ga(tree(T19, T20, T21), X37)
U2_ga(T19, T20, T21, X37, in_order14_out_ga(T20, T22)) → U3_ga(T19, T20, T21, X37, in_order14_in_ga(T21, X36))
U2_ga(T19, T20, T21, X37, in_order14_out_ga(T20, T22)) → U4_ga(T19, T20, T21, X37, T22, in_order14_in_ga(T21, T23))
U3_ga(T19, T20, T21, X37, in_order14_out_ga(T21, X36)) → in_order14_out_ga(tree(T19, T20, T21), X37)
U4_ga(T19, T20, T21, X37, T22, in_order14_out_ga(T21, T23)) → U5_ga(T19, T20, T21, X37, app27_in_agaa(T22, T19, T23, X37))
U5_ga(T19, T20, T21, X37, app27_out_agaa(T22, T19, T23, X37)) → in_order14_out_ga(tree(T19, T20, T21), X37)
app27_in_agaa([], T36, T37, .(T36, T37)) → app27_out_agaa([], T36, T37, .(T36, T37))
app27_in_agaa(.(T46, T47), T48, T49, .(T46, X64)) → U6_agaa(T46, T47, T48, T49, X64, app27_in_agaa(T47, T48, T49, X64))
U6_agaa(T46, T47, T48, T49, X64, app27_out_agaa(T47, T48, T49, X64)) → app27_out_agaa(.(T46, T47), T48, T49, .(T46, X64))
IN_ORDER14_IN_GA(tree(T19, T20, T21)) → U2_GA(T19, T21, in_order14_in_ga(T20))
U2_GA(T19, T21, in_order14_out_ga) → IN_ORDER14_IN_GA(T21)
IN_ORDER14_IN_GA(tree(T19, T20, T21)) → IN_ORDER14_IN_GA(T20)
in_order14_in_ga(void) → in_order14_out_ga
in_order14_in_ga(tree(T19, T20, T21)) → U1_ga(in_order14_in_ga(T20))
in_order14_in_ga(tree(T19, T20, T21)) → U2_ga(T19, T21, in_order14_in_ga(T20))
U1_ga(in_order14_out_ga) → in_order14_out_ga
U2_ga(T19, T21, in_order14_out_ga) → U3_ga(in_order14_in_ga(T21))
U2_ga(T19, T21, in_order14_out_ga) → U4_ga(T19, in_order14_in_ga(T21))
U3_ga(in_order14_out_ga) → in_order14_out_ga
U4_ga(T19, in_order14_out_ga) → U5_ga(app27_in_agaa(T19))
U5_ga(app27_out_agaa(T22)) → in_order14_out_ga
app27_in_agaa(T36) → app27_out_agaa([])
app27_in_agaa(T48) → U6_agaa(app27_in_agaa(T48))
U6_agaa(app27_out_agaa(T47)) → app27_out_agaa(.(T47))
in_order14_in_ga(x0)
U1_ga(x0)
U2_ga(x0, x1, x2)
U3_ga(x0)
U4_ga(x0, x1)
U5_ga(x0)
app27_in_agaa(x0)
U6_agaa(x0)
From the DPs we obtained the following set of size-change graphs:
in_order1_in_ga(void, []) → in_order1_out_ga(void, [])
in_order1_in_ga(tree(T7, void, T9), T11) → U8_ga(T7, T9, T11, in_order14_in_ga(T9, X14))
in_order14_in_ga(void, []) → in_order14_out_ga(void, [])
in_order14_in_ga(tree(T19, T20, T21), X37) → U1_ga(T19, T20, T21, X37, in_order14_in_ga(T20, X35))
in_order14_in_ga(tree(T19, T20, T21), X37) → U2_ga(T19, T20, T21, X37, in_order14_in_ga(T20, T22))
U2_ga(T19, T20, T21, X37, in_order14_out_ga(T20, T22)) → U3_ga(T19, T20, T21, X37, in_order14_in_ga(T21, X36))
U3_ga(T19, T20, T21, X37, in_order14_out_ga(T21, X36)) → in_order14_out_ga(tree(T19, T20, T21), X37)
U2_ga(T19, T20, T21, X37, in_order14_out_ga(T20, T22)) → U4_ga(T19, T20, T21, X37, T22, in_order14_in_ga(T21, T23))
U4_ga(T19, T20, T21, X37, T22, in_order14_out_ga(T21, T23)) → U5_ga(T19, T20, T21, X37, app27_in_agaa(T22, T19, T23, X37))
app27_in_agaa([], T36, T37, .(T36, T37)) → app27_out_agaa([], T36, T37, .(T36, T37))
app27_in_agaa(.(T46, T47), T48, T49, .(T46, X64)) → U6_agaa(T46, T47, T48, T49, X64, app27_in_agaa(T47, T48, T49, X64))
U6_agaa(T46, T47, T48, T49, X64, app27_out_agaa(T47, T48, T49, X64)) → app27_out_agaa(.(T46, T47), T48, T49, .(T46, X64))
U5_ga(T19, T20, T21, X37, app27_out_agaa(T22, T19, T23, X37)) → in_order14_out_ga(tree(T19, T20, T21), X37)
U1_ga(T19, T20, T21, X37, in_order14_out_ga(T20, X35)) → in_order14_out_ga(tree(T19, T20, T21), X37)
U8_ga(T7, T9, T11, in_order14_out_ga(T9, X14)) → in_order1_out_ga(tree(T7, void, T9), T11)
in_order1_in_ga(tree(T66, void, T9), .(T66, T67)) → U9_ga(T66, T9, T67, in_order14_in_ga(T9, T67))
U9_ga(T66, T9, T67, in_order14_out_ga(T9, T67)) → in_order1_out_ga(tree(T66, void, T9), .(T66, T67))
in_order1_in_ga(tree(T7, tree(T74, T75, T76), T9), T11) → U10_ga(T7, T74, T75, T76, T9, T11, in_order14_in_ga(T75, X99))
U10_ga(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T75, X99)) → in_order1_out_ga(tree(T7, tree(T74, T75, T76), T9), T11)
in_order1_in_ga(tree(T7, tree(T74, T75, T76), T9), T11) → U11_ga(T7, T74, T75, T76, T9, T11, in_order14_in_ga(T75, T77))
U11_ga(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T75, T77)) → U12_ga(T7, T74, T75, T76, T9, T11, in_order14_in_ga(T76, X100))
U12_ga(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T76, X100)) → in_order1_out_ga(tree(T7, tree(T74, T75, T76), T9), T11)
U11_ga(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T75, T77)) → U13_ga(T7, T74, T75, T76, T9, T11, T77, in_order14_in_ga(T76, T78))
U13_ga(T7, T74, T75, T76, T9, T11, T77, in_order14_out_ga(T76, T78)) → U14_ga(T7, T74, T75, T76, T9, T11, app27_in_agaa(T77, T74, T78, X101))
U14_ga(T7, T74, T75, T76, T9, T11, app27_out_agaa(T77, T74, T78, X101)) → in_order1_out_ga(tree(T7, tree(T74, T75, T76), T9), T11)
U13_ga(T7, T74, T75, T76, T9, T11, T77, in_order14_out_ga(T76, T78)) → U15_ga(T7, T74, T75, T76, T9, T11, app27_in_agaa(T77, T74, T78, T83))
U15_ga(T7, T74, T75, T76, T9, T11, app27_out_agaa(T77, T74, T78, T83)) → U16_ga(T7, T74, T75, T76, T9, T11, in_order14_in_ga(T9, X14))
U16_ga(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T9, X14)) → in_order1_out_ga(tree(T7, tree(T74, T75, T76), T9), T11)
U15_ga(T7, T74, T75, T76, T9, T11, app27_out_agaa(T77, T74, T78, T83)) → U17_ga(T7, T74, T75, T76, T9, T11, T83, in_order14_in_ga(T9, T88))
U17_ga(T7, T74, T75, T76, T9, T11, T83, in_order14_out_ga(T9, T88)) → U18_ga(T7, T74, T75, T76, T9, T11, app52_in_agaa(T83, T7, T88, T11))
app52_in_agaa([], T101, T102, .(T101, T102)) → app52_out_agaa([], T101, T102, .(T101, T102))
app52_in_agaa(.(T113, T114), T115, T116, .(T113, T118)) → U7_agaa(T113, T114, T115, T116, T118, app52_in_agaa(T114, T115, T116, T118))
U7_agaa(T113, T114, T115, T116, T118, app52_out_agaa(T114, T115, T116, T118)) → app52_out_agaa(.(T113, T114), T115, T116, .(T113, T118))
U18_ga(T7, T74, T75, T76, T9, T11, app52_out_agaa(T83, T7, T88, T11)) → in_order1_out_ga(tree(T7, tree(T74, T75, T76), T9), T11)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
in_order1_in_ga(void, []) → in_order1_out_ga(void, [])
in_order1_in_ga(tree(T7, void, T9), T11) → U8_ga(T7, T9, T11, in_order14_in_ga(T9, X14))
in_order14_in_ga(void, []) → in_order14_out_ga(void, [])
in_order14_in_ga(tree(T19, T20, T21), X37) → U1_ga(T19, T20, T21, X37, in_order14_in_ga(T20, X35))
in_order14_in_ga(tree(T19, T20, T21), X37) → U2_ga(T19, T20, T21, X37, in_order14_in_ga(T20, T22))
U2_ga(T19, T20, T21, X37, in_order14_out_ga(T20, T22)) → U3_ga(T19, T20, T21, X37, in_order14_in_ga(T21, X36))
U3_ga(T19, T20, T21, X37, in_order14_out_ga(T21, X36)) → in_order14_out_ga(tree(T19, T20, T21), X37)
U2_ga(T19, T20, T21, X37, in_order14_out_ga(T20, T22)) → U4_ga(T19, T20, T21, X37, T22, in_order14_in_ga(T21, T23))
U4_ga(T19, T20, T21, X37, T22, in_order14_out_ga(T21, T23)) → U5_ga(T19, T20, T21, X37, app27_in_agaa(T22, T19, T23, X37))
app27_in_agaa([], T36, T37, .(T36, T37)) → app27_out_agaa([], T36, T37, .(T36, T37))
app27_in_agaa(.(T46, T47), T48, T49, .(T46, X64)) → U6_agaa(T46, T47, T48, T49, X64, app27_in_agaa(T47, T48, T49, X64))
U6_agaa(T46, T47, T48, T49, X64, app27_out_agaa(T47, T48, T49, X64)) → app27_out_agaa(.(T46, T47), T48, T49, .(T46, X64))
U5_ga(T19, T20, T21, X37, app27_out_agaa(T22, T19, T23, X37)) → in_order14_out_ga(tree(T19, T20, T21), X37)
U1_ga(T19, T20, T21, X37, in_order14_out_ga(T20, X35)) → in_order14_out_ga(tree(T19, T20, T21), X37)
U8_ga(T7, T9, T11, in_order14_out_ga(T9, X14)) → in_order1_out_ga(tree(T7, void, T9), T11)
in_order1_in_ga(tree(T66, void, T9), .(T66, T67)) → U9_ga(T66, T9, T67, in_order14_in_ga(T9, T67))
U9_ga(T66, T9, T67, in_order14_out_ga(T9, T67)) → in_order1_out_ga(tree(T66, void, T9), .(T66, T67))
in_order1_in_ga(tree(T7, tree(T74, T75, T76), T9), T11) → U10_ga(T7, T74, T75, T76, T9, T11, in_order14_in_ga(T75, X99))
U10_ga(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T75, X99)) → in_order1_out_ga(tree(T7, tree(T74, T75, T76), T9), T11)
in_order1_in_ga(tree(T7, tree(T74, T75, T76), T9), T11) → U11_ga(T7, T74, T75, T76, T9, T11, in_order14_in_ga(T75, T77))
U11_ga(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T75, T77)) → U12_ga(T7, T74, T75, T76, T9, T11, in_order14_in_ga(T76, X100))
U12_ga(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T76, X100)) → in_order1_out_ga(tree(T7, tree(T74, T75, T76), T9), T11)
U11_ga(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T75, T77)) → U13_ga(T7, T74, T75, T76, T9, T11, T77, in_order14_in_ga(T76, T78))
U13_ga(T7, T74, T75, T76, T9, T11, T77, in_order14_out_ga(T76, T78)) → U14_ga(T7, T74, T75, T76, T9, T11, app27_in_agaa(T77, T74, T78, X101))
U14_ga(T7, T74, T75, T76, T9, T11, app27_out_agaa(T77, T74, T78, X101)) → in_order1_out_ga(tree(T7, tree(T74, T75, T76), T9), T11)
U13_ga(T7, T74, T75, T76, T9, T11, T77, in_order14_out_ga(T76, T78)) → U15_ga(T7, T74, T75, T76, T9, T11, app27_in_agaa(T77, T74, T78, T83))
U15_ga(T7, T74, T75, T76, T9, T11, app27_out_agaa(T77, T74, T78, T83)) → U16_ga(T7, T74, T75, T76, T9, T11, in_order14_in_ga(T9, X14))
U16_ga(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T9, X14)) → in_order1_out_ga(tree(T7, tree(T74, T75, T76), T9), T11)
U15_ga(T7, T74, T75, T76, T9, T11, app27_out_agaa(T77, T74, T78, T83)) → U17_ga(T7, T74, T75, T76, T9, T11, T83, in_order14_in_ga(T9, T88))
U17_ga(T7, T74, T75, T76, T9, T11, T83, in_order14_out_ga(T9, T88)) → U18_ga(T7, T74, T75, T76, T9, T11, app52_in_agaa(T83, T7, T88, T11))
app52_in_agaa([], T101, T102, .(T101, T102)) → app52_out_agaa([], T101, T102, .(T101, T102))
app52_in_agaa(.(T113, T114), T115, T116, .(T113, T118)) → U7_agaa(T113, T114, T115, T116, T118, app52_in_agaa(T114, T115, T116, T118))
U7_agaa(T113, T114, T115, T116, T118, app52_out_agaa(T114, T115, T116, T118)) → app52_out_agaa(.(T113, T114), T115, T116, .(T113, T118))
U18_ga(T7, T74, T75, T76, T9, T11, app52_out_agaa(T83, T7, T88, T11)) → in_order1_out_ga(tree(T7, tree(T74, T75, T76), T9), T11)
IN_ORDER1_IN_GA(tree(T7, void, T9), T11) → U8_GA(T7, T9, T11, in_order14_in_ga(T9, X14))
IN_ORDER1_IN_GA(tree(T7, void, T9), T11) → IN_ORDER14_IN_GA(T9, X14)
IN_ORDER14_IN_GA(tree(T19, T20, T21), X37) → U1_GA(T19, T20, T21, X37, in_order14_in_ga(T20, X35))
IN_ORDER14_IN_GA(tree(T19, T20, T21), X37) → IN_ORDER14_IN_GA(T20, X35)
IN_ORDER14_IN_GA(tree(T19, T20, T21), X37) → U2_GA(T19, T20, T21, X37, in_order14_in_ga(T20, T22))
U2_GA(T19, T20, T21, X37, in_order14_out_ga(T20, T22)) → U3_GA(T19, T20, T21, X37, in_order14_in_ga(T21, X36))
U2_GA(T19, T20, T21, X37, in_order14_out_ga(T20, T22)) → IN_ORDER14_IN_GA(T21, X36)
U2_GA(T19, T20, T21, X37, in_order14_out_ga(T20, T22)) → U4_GA(T19, T20, T21, X37, T22, in_order14_in_ga(T21, T23))
U4_GA(T19, T20, T21, X37, T22, in_order14_out_ga(T21, T23)) → U5_GA(T19, T20, T21, X37, app27_in_agaa(T22, T19, T23, X37))
U4_GA(T19, T20, T21, X37, T22, in_order14_out_ga(T21, T23)) → APP27_IN_AGAA(T22, T19, T23, X37)
APP27_IN_AGAA(.(T46, T47), T48, T49, .(T46, X64)) → U6_AGAA(T46, T47, T48, T49, X64, app27_in_agaa(T47, T48, T49, X64))
APP27_IN_AGAA(.(T46, T47), T48, T49, .(T46, X64)) → APP27_IN_AGAA(T47, T48, T49, X64)
IN_ORDER1_IN_GA(tree(T66, void, T9), .(T66, T67)) → U9_GA(T66, T9, T67, in_order14_in_ga(T9, T67))
IN_ORDER1_IN_GA(tree(T66, void, T9), .(T66, T67)) → IN_ORDER14_IN_GA(T9, T67)
IN_ORDER1_IN_GA(tree(T7, tree(T74, T75, T76), T9), T11) → U10_GA(T7, T74, T75, T76, T9, T11, in_order14_in_ga(T75, X99))
IN_ORDER1_IN_GA(tree(T7, tree(T74, T75, T76), T9), T11) → IN_ORDER14_IN_GA(T75, X99)
IN_ORDER1_IN_GA(tree(T7, tree(T74, T75, T76), T9), T11) → U11_GA(T7, T74, T75, T76, T9, T11, in_order14_in_ga(T75, T77))
U11_GA(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T75, T77)) → U12_GA(T7, T74, T75, T76, T9, T11, in_order14_in_ga(T76, X100))
U11_GA(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T75, T77)) → IN_ORDER14_IN_GA(T76, X100)
U11_GA(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T75, T77)) → U13_GA(T7, T74, T75, T76, T9, T11, T77, in_order14_in_ga(T76, T78))
U13_GA(T7, T74, T75, T76, T9, T11, T77, in_order14_out_ga(T76, T78)) → U14_GA(T7, T74, T75, T76, T9, T11, app27_in_agaa(T77, T74, T78, X101))
U13_GA(T7, T74, T75, T76, T9, T11, T77, in_order14_out_ga(T76, T78)) → APP27_IN_AGAA(T77, T74, T78, X101)
U13_GA(T7, T74, T75, T76, T9, T11, T77, in_order14_out_ga(T76, T78)) → U15_GA(T7, T74, T75, T76, T9, T11, app27_in_agaa(T77, T74, T78, T83))
U15_GA(T7, T74, T75, T76, T9, T11, app27_out_agaa(T77, T74, T78, T83)) → U16_GA(T7, T74, T75, T76, T9, T11, in_order14_in_ga(T9, X14))
U15_GA(T7, T74, T75, T76, T9, T11, app27_out_agaa(T77, T74, T78, T83)) → IN_ORDER14_IN_GA(T9, X14)
U15_GA(T7, T74, T75, T76, T9, T11, app27_out_agaa(T77, T74, T78, T83)) → U17_GA(T7, T74, T75, T76, T9, T11, T83, in_order14_in_ga(T9, T88))
U17_GA(T7, T74, T75, T76, T9, T11, T83, in_order14_out_ga(T9, T88)) → U18_GA(T7, T74, T75, T76, T9, T11, app52_in_agaa(T83, T7, T88, T11))
U17_GA(T7, T74, T75, T76, T9, T11, T83, in_order14_out_ga(T9, T88)) → APP52_IN_AGAA(T83, T7, T88, T11)
APP52_IN_AGAA(.(T113, T114), T115, T116, .(T113, T118)) → U7_AGAA(T113, T114, T115, T116, T118, app52_in_agaa(T114, T115, T116, T118))
APP52_IN_AGAA(.(T113, T114), T115, T116, .(T113, T118)) → APP52_IN_AGAA(T114, T115, T116, T118)
in_order1_in_ga(void, []) → in_order1_out_ga(void, [])
in_order1_in_ga(tree(T7, void, T9), T11) → U8_ga(T7, T9, T11, in_order14_in_ga(T9, X14))
in_order14_in_ga(void, []) → in_order14_out_ga(void, [])
in_order14_in_ga(tree(T19, T20, T21), X37) → U1_ga(T19, T20, T21, X37, in_order14_in_ga(T20, X35))
in_order14_in_ga(tree(T19, T20, T21), X37) → U2_ga(T19, T20, T21, X37, in_order14_in_ga(T20, T22))
U2_ga(T19, T20, T21, X37, in_order14_out_ga(T20, T22)) → U3_ga(T19, T20, T21, X37, in_order14_in_ga(T21, X36))
U3_ga(T19, T20, T21, X37, in_order14_out_ga(T21, X36)) → in_order14_out_ga(tree(T19, T20, T21), X37)
U2_ga(T19, T20, T21, X37, in_order14_out_ga(T20, T22)) → U4_ga(T19, T20, T21, X37, T22, in_order14_in_ga(T21, T23))
U4_ga(T19, T20, T21, X37, T22, in_order14_out_ga(T21, T23)) → U5_ga(T19, T20, T21, X37, app27_in_agaa(T22, T19, T23, X37))
app27_in_agaa([], T36, T37, .(T36, T37)) → app27_out_agaa([], T36, T37, .(T36, T37))
app27_in_agaa(.(T46, T47), T48, T49, .(T46, X64)) → U6_agaa(T46, T47, T48, T49, X64, app27_in_agaa(T47, T48, T49, X64))
U6_agaa(T46, T47, T48, T49, X64, app27_out_agaa(T47, T48, T49, X64)) → app27_out_agaa(.(T46, T47), T48, T49, .(T46, X64))
U5_ga(T19, T20, T21, X37, app27_out_agaa(T22, T19, T23, X37)) → in_order14_out_ga(tree(T19, T20, T21), X37)
U1_ga(T19, T20, T21, X37, in_order14_out_ga(T20, X35)) → in_order14_out_ga(tree(T19, T20, T21), X37)
U8_ga(T7, T9, T11, in_order14_out_ga(T9, X14)) → in_order1_out_ga(tree(T7, void, T9), T11)
in_order1_in_ga(tree(T66, void, T9), .(T66, T67)) → U9_ga(T66, T9, T67, in_order14_in_ga(T9, T67))
U9_ga(T66, T9, T67, in_order14_out_ga(T9, T67)) → in_order1_out_ga(tree(T66, void, T9), .(T66, T67))
in_order1_in_ga(tree(T7, tree(T74, T75, T76), T9), T11) → U10_ga(T7, T74, T75, T76, T9, T11, in_order14_in_ga(T75, X99))
U10_ga(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T75, X99)) → in_order1_out_ga(tree(T7, tree(T74, T75, T76), T9), T11)
in_order1_in_ga(tree(T7, tree(T74, T75, T76), T9), T11) → U11_ga(T7, T74, T75, T76, T9, T11, in_order14_in_ga(T75, T77))
U11_ga(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T75, T77)) → U12_ga(T7, T74, T75, T76, T9, T11, in_order14_in_ga(T76, X100))
U12_ga(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T76, X100)) → in_order1_out_ga(tree(T7, tree(T74, T75, T76), T9), T11)
U11_ga(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T75, T77)) → U13_ga(T7, T74, T75, T76, T9, T11, T77, in_order14_in_ga(T76, T78))
U13_ga(T7, T74, T75, T76, T9, T11, T77, in_order14_out_ga(T76, T78)) → U14_ga(T7, T74, T75, T76, T9, T11, app27_in_agaa(T77, T74, T78, X101))
U14_ga(T7, T74, T75, T76, T9, T11, app27_out_agaa(T77, T74, T78, X101)) → in_order1_out_ga(tree(T7, tree(T74, T75, T76), T9), T11)
U13_ga(T7, T74, T75, T76, T9, T11, T77, in_order14_out_ga(T76, T78)) → U15_ga(T7, T74, T75, T76, T9, T11, app27_in_agaa(T77, T74, T78, T83))
U15_ga(T7, T74, T75, T76, T9, T11, app27_out_agaa(T77, T74, T78, T83)) → U16_ga(T7, T74, T75, T76, T9, T11, in_order14_in_ga(T9, X14))
U16_ga(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T9, X14)) → in_order1_out_ga(tree(T7, tree(T74, T75, T76), T9), T11)
U15_ga(T7, T74, T75, T76, T9, T11, app27_out_agaa(T77, T74, T78, T83)) → U17_ga(T7, T74, T75, T76, T9, T11, T83, in_order14_in_ga(T9, T88))
U17_ga(T7, T74, T75, T76, T9, T11, T83, in_order14_out_ga(T9, T88)) → U18_ga(T7, T74, T75, T76, T9, T11, app52_in_agaa(T83, T7, T88, T11))
app52_in_agaa([], T101, T102, .(T101, T102)) → app52_out_agaa([], T101, T102, .(T101, T102))
app52_in_agaa(.(T113, T114), T115, T116, .(T113, T118)) → U7_agaa(T113, T114, T115, T116, T118, app52_in_agaa(T114, T115, T116, T118))
U7_agaa(T113, T114, T115, T116, T118, app52_out_agaa(T114, T115, T116, T118)) → app52_out_agaa(.(T113, T114), T115, T116, .(T113, T118))
U18_ga(T7, T74, T75, T76, T9, T11, app52_out_agaa(T83, T7, T88, T11)) → in_order1_out_ga(tree(T7, tree(T74, T75, T76), T9), T11)
IN_ORDER1_IN_GA(tree(T7, void, T9), T11) → U8_GA(T7, T9, T11, in_order14_in_ga(T9, X14))
IN_ORDER1_IN_GA(tree(T7, void, T9), T11) → IN_ORDER14_IN_GA(T9, X14)
IN_ORDER14_IN_GA(tree(T19, T20, T21), X37) → U1_GA(T19, T20, T21, X37, in_order14_in_ga(T20, X35))
IN_ORDER14_IN_GA(tree(T19, T20, T21), X37) → IN_ORDER14_IN_GA(T20, X35)
IN_ORDER14_IN_GA(tree(T19, T20, T21), X37) → U2_GA(T19, T20, T21, X37, in_order14_in_ga(T20, T22))
U2_GA(T19, T20, T21, X37, in_order14_out_ga(T20, T22)) → U3_GA(T19, T20, T21, X37, in_order14_in_ga(T21, X36))
U2_GA(T19, T20, T21, X37, in_order14_out_ga(T20, T22)) → IN_ORDER14_IN_GA(T21, X36)
U2_GA(T19, T20, T21, X37, in_order14_out_ga(T20, T22)) → U4_GA(T19, T20, T21, X37, T22, in_order14_in_ga(T21, T23))
U4_GA(T19, T20, T21, X37, T22, in_order14_out_ga(T21, T23)) → U5_GA(T19, T20, T21, X37, app27_in_agaa(T22, T19, T23, X37))
U4_GA(T19, T20, T21, X37, T22, in_order14_out_ga(T21, T23)) → APP27_IN_AGAA(T22, T19, T23, X37)
APP27_IN_AGAA(.(T46, T47), T48, T49, .(T46, X64)) → U6_AGAA(T46, T47, T48, T49, X64, app27_in_agaa(T47, T48, T49, X64))
APP27_IN_AGAA(.(T46, T47), T48, T49, .(T46, X64)) → APP27_IN_AGAA(T47, T48, T49, X64)
IN_ORDER1_IN_GA(tree(T66, void, T9), .(T66, T67)) → U9_GA(T66, T9, T67, in_order14_in_ga(T9, T67))
IN_ORDER1_IN_GA(tree(T66, void, T9), .(T66, T67)) → IN_ORDER14_IN_GA(T9, T67)
IN_ORDER1_IN_GA(tree(T7, tree(T74, T75, T76), T9), T11) → U10_GA(T7, T74, T75, T76, T9, T11, in_order14_in_ga(T75, X99))
IN_ORDER1_IN_GA(tree(T7, tree(T74, T75, T76), T9), T11) → IN_ORDER14_IN_GA(T75, X99)
IN_ORDER1_IN_GA(tree(T7, tree(T74, T75, T76), T9), T11) → U11_GA(T7, T74, T75, T76, T9, T11, in_order14_in_ga(T75, T77))
U11_GA(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T75, T77)) → U12_GA(T7, T74, T75, T76, T9, T11, in_order14_in_ga(T76, X100))
U11_GA(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T75, T77)) → IN_ORDER14_IN_GA(T76, X100)
U11_GA(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T75, T77)) → U13_GA(T7, T74, T75, T76, T9, T11, T77, in_order14_in_ga(T76, T78))
U13_GA(T7, T74, T75, T76, T9, T11, T77, in_order14_out_ga(T76, T78)) → U14_GA(T7, T74, T75, T76, T9, T11, app27_in_agaa(T77, T74, T78, X101))
U13_GA(T7, T74, T75, T76, T9, T11, T77, in_order14_out_ga(T76, T78)) → APP27_IN_AGAA(T77, T74, T78, X101)
U13_GA(T7, T74, T75, T76, T9, T11, T77, in_order14_out_ga(T76, T78)) → U15_GA(T7, T74, T75, T76, T9, T11, app27_in_agaa(T77, T74, T78, T83))
U15_GA(T7, T74, T75, T76, T9, T11, app27_out_agaa(T77, T74, T78, T83)) → U16_GA(T7, T74, T75, T76, T9, T11, in_order14_in_ga(T9, X14))
U15_GA(T7, T74, T75, T76, T9, T11, app27_out_agaa(T77, T74, T78, T83)) → IN_ORDER14_IN_GA(T9, X14)
U15_GA(T7, T74, T75, T76, T9, T11, app27_out_agaa(T77, T74, T78, T83)) → U17_GA(T7, T74, T75, T76, T9, T11, T83, in_order14_in_ga(T9, T88))
U17_GA(T7, T74, T75, T76, T9, T11, T83, in_order14_out_ga(T9, T88)) → U18_GA(T7, T74, T75, T76, T9, T11, app52_in_agaa(T83, T7, T88, T11))
U17_GA(T7, T74, T75, T76, T9, T11, T83, in_order14_out_ga(T9, T88)) → APP52_IN_AGAA(T83, T7, T88, T11)
APP52_IN_AGAA(.(T113, T114), T115, T116, .(T113, T118)) → U7_AGAA(T113, T114, T115, T116, T118, app52_in_agaa(T114, T115, T116, T118))
APP52_IN_AGAA(.(T113, T114), T115, T116, .(T113, T118)) → APP52_IN_AGAA(T114, T115, T116, T118)
in_order1_in_ga(void, []) → in_order1_out_ga(void, [])
in_order1_in_ga(tree(T7, void, T9), T11) → U8_ga(T7, T9, T11, in_order14_in_ga(T9, X14))
in_order14_in_ga(void, []) → in_order14_out_ga(void, [])
in_order14_in_ga(tree(T19, T20, T21), X37) → U1_ga(T19, T20, T21, X37, in_order14_in_ga(T20, X35))
in_order14_in_ga(tree(T19, T20, T21), X37) → U2_ga(T19, T20, T21, X37, in_order14_in_ga(T20, T22))
U2_ga(T19, T20, T21, X37, in_order14_out_ga(T20, T22)) → U3_ga(T19, T20, T21, X37, in_order14_in_ga(T21, X36))
U3_ga(T19, T20, T21, X37, in_order14_out_ga(T21, X36)) → in_order14_out_ga(tree(T19, T20, T21), X37)
U2_ga(T19, T20, T21, X37, in_order14_out_ga(T20, T22)) → U4_ga(T19, T20, T21, X37, T22, in_order14_in_ga(T21, T23))
U4_ga(T19, T20, T21, X37, T22, in_order14_out_ga(T21, T23)) → U5_ga(T19, T20, T21, X37, app27_in_agaa(T22, T19, T23, X37))
app27_in_agaa([], T36, T37, .(T36, T37)) → app27_out_agaa([], T36, T37, .(T36, T37))
app27_in_agaa(.(T46, T47), T48, T49, .(T46, X64)) → U6_agaa(T46, T47, T48, T49, X64, app27_in_agaa(T47, T48, T49, X64))
U6_agaa(T46, T47, T48, T49, X64, app27_out_agaa(T47, T48, T49, X64)) → app27_out_agaa(.(T46, T47), T48, T49, .(T46, X64))
U5_ga(T19, T20, T21, X37, app27_out_agaa(T22, T19, T23, X37)) → in_order14_out_ga(tree(T19, T20, T21), X37)
U1_ga(T19, T20, T21, X37, in_order14_out_ga(T20, X35)) → in_order14_out_ga(tree(T19, T20, T21), X37)
U8_ga(T7, T9, T11, in_order14_out_ga(T9, X14)) → in_order1_out_ga(tree(T7, void, T9), T11)
in_order1_in_ga(tree(T66, void, T9), .(T66, T67)) → U9_ga(T66, T9, T67, in_order14_in_ga(T9, T67))
U9_ga(T66, T9, T67, in_order14_out_ga(T9, T67)) → in_order1_out_ga(tree(T66, void, T9), .(T66, T67))
in_order1_in_ga(tree(T7, tree(T74, T75, T76), T9), T11) → U10_ga(T7, T74, T75, T76, T9, T11, in_order14_in_ga(T75, X99))
U10_ga(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T75, X99)) → in_order1_out_ga(tree(T7, tree(T74, T75, T76), T9), T11)
in_order1_in_ga(tree(T7, tree(T74, T75, T76), T9), T11) → U11_ga(T7, T74, T75, T76, T9, T11, in_order14_in_ga(T75, T77))
U11_ga(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T75, T77)) → U12_ga(T7, T74, T75, T76, T9, T11, in_order14_in_ga(T76, X100))
U12_ga(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T76, X100)) → in_order1_out_ga(tree(T7, tree(T74, T75, T76), T9), T11)
U11_ga(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T75, T77)) → U13_ga(T7, T74, T75, T76, T9, T11, T77, in_order14_in_ga(T76, T78))
U13_ga(T7, T74, T75, T76, T9, T11, T77, in_order14_out_ga(T76, T78)) → U14_ga(T7, T74, T75, T76, T9, T11, app27_in_agaa(T77, T74, T78, X101))
U14_ga(T7, T74, T75, T76, T9, T11, app27_out_agaa(T77, T74, T78, X101)) → in_order1_out_ga(tree(T7, tree(T74, T75, T76), T9), T11)
U13_ga(T7, T74, T75, T76, T9, T11, T77, in_order14_out_ga(T76, T78)) → U15_ga(T7, T74, T75, T76, T9, T11, app27_in_agaa(T77, T74, T78, T83))
U15_ga(T7, T74, T75, T76, T9, T11, app27_out_agaa(T77, T74, T78, T83)) → U16_ga(T7, T74, T75, T76, T9, T11, in_order14_in_ga(T9, X14))
U16_ga(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T9, X14)) → in_order1_out_ga(tree(T7, tree(T74, T75, T76), T9), T11)
U15_ga(T7, T74, T75, T76, T9, T11, app27_out_agaa(T77, T74, T78, T83)) → U17_ga(T7, T74, T75, T76, T9, T11, T83, in_order14_in_ga(T9, T88))
U17_ga(T7, T74, T75, T76, T9, T11, T83, in_order14_out_ga(T9, T88)) → U18_ga(T7, T74, T75, T76, T9, T11, app52_in_agaa(T83, T7, T88, T11))
app52_in_agaa([], T101, T102, .(T101, T102)) → app52_out_agaa([], T101, T102, .(T101, T102))
app52_in_agaa(.(T113, T114), T115, T116, .(T113, T118)) → U7_agaa(T113, T114, T115, T116, T118, app52_in_agaa(T114, T115, T116, T118))
U7_agaa(T113, T114, T115, T116, T118, app52_out_agaa(T114, T115, T116, T118)) → app52_out_agaa(.(T113, T114), T115, T116, .(T113, T118))
U18_ga(T7, T74, T75, T76, T9, T11, app52_out_agaa(T83, T7, T88, T11)) → in_order1_out_ga(tree(T7, tree(T74, T75, T76), T9), T11)
APP52_IN_AGAA(.(T113, T114), T115, T116, .(T113, T118)) → APP52_IN_AGAA(T114, T115, T116, T118)
in_order1_in_ga(void, []) → in_order1_out_ga(void, [])
in_order1_in_ga(tree(T7, void, T9), T11) → U8_ga(T7, T9, T11, in_order14_in_ga(T9, X14))
in_order14_in_ga(void, []) → in_order14_out_ga(void, [])
in_order14_in_ga(tree(T19, T20, T21), X37) → U1_ga(T19, T20, T21, X37, in_order14_in_ga(T20, X35))
in_order14_in_ga(tree(T19, T20, T21), X37) → U2_ga(T19, T20, T21, X37, in_order14_in_ga(T20, T22))
U2_ga(T19, T20, T21, X37, in_order14_out_ga(T20, T22)) → U3_ga(T19, T20, T21, X37, in_order14_in_ga(T21, X36))
U3_ga(T19, T20, T21, X37, in_order14_out_ga(T21, X36)) → in_order14_out_ga(tree(T19, T20, T21), X37)
U2_ga(T19, T20, T21, X37, in_order14_out_ga(T20, T22)) → U4_ga(T19, T20, T21, X37, T22, in_order14_in_ga(T21, T23))
U4_ga(T19, T20, T21, X37, T22, in_order14_out_ga(T21, T23)) → U5_ga(T19, T20, T21, X37, app27_in_agaa(T22, T19, T23, X37))
app27_in_agaa([], T36, T37, .(T36, T37)) → app27_out_agaa([], T36, T37, .(T36, T37))
app27_in_agaa(.(T46, T47), T48, T49, .(T46, X64)) → U6_agaa(T46, T47, T48, T49, X64, app27_in_agaa(T47, T48, T49, X64))
U6_agaa(T46, T47, T48, T49, X64, app27_out_agaa(T47, T48, T49, X64)) → app27_out_agaa(.(T46, T47), T48, T49, .(T46, X64))
U5_ga(T19, T20, T21, X37, app27_out_agaa(T22, T19, T23, X37)) → in_order14_out_ga(tree(T19, T20, T21), X37)
U1_ga(T19, T20, T21, X37, in_order14_out_ga(T20, X35)) → in_order14_out_ga(tree(T19, T20, T21), X37)
U8_ga(T7, T9, T11, in_order14_out_ga(T9, X14)) → in_order1_out_ga(tree(T7, void, T9), T11)
in_order1_in_ga(tree(T66, void, T9), .(T66, T67)) → U9_ga(T66, T9, T67, in_order14_in_ga(T9, T67))
U9_ga(T66, T9, T67, in_order14_out_ga(T9, T67)) → in_order1_out_ga(tree(T66, void, T9), .(T66, T67))
in_order1_in_ga(tree(T7, tree(T74, T75, T76), T9), T11) → U10_ga(T7, T74, T75, T76, T9, T11, in_order14_in_ga(T75, X99))
U10_ga(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T75, X99)) → in_order1_out_ga(tree(T7, tree(T74, T75, T76), T9), T11)
in_order1_in_ga(tree(T7, tree(T74, T75, T76), T9), T11) → U11_ga(T7, T74, T75, T76, T9, T11, in_order14_in_ga(T75, T77))
U11_ga(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T75, T77)) → U12_ga(T7, T74, T75, T76, T9, T11, in_order14_in_ga(T76, X100))
U12_ga(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T76, X100)) → in_order1_out_ga(tree(T7, tree(T74, T75, T76), T9), T11)
U11_ga(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T75, T77)) → U13_ga(T7, T74, T75, T76, T9, T11, T77, in_order14_in_ga(T76, T78))
U13_ga(T7, T74, T75, T76, T9, T11, T77, in_order14_out_ga(T76, T78)) → U14_ga(T7, T74, T75, T76, T9, T11, app27_in_agaa(T77, T74, T78, X101))
U14_ga(T7, T74, T75, T76, T9, T11, app27_out_agaa(T77, T74, T78, X101)) → in_order1_out_ga(tree(T7, tree(T74, T75, T76), T9), T11)
U13_ga(T7, T74, T75, T76, T9, T11, T77, in_order14_out_ga(T76, T78)) → U15_ga(T7, T74, T75, T76, T9, T11, app27_in_agaa(T77, T74, T78, T83))
U15_ga(T7, T74, T75, T76, T9, T11, app27_out_agaa(T77, T74, T78, T83)) → U16_ga(T7, T74, T75, T76, T9, T11, in_order14_in_ga(T9, X14))
U16_ga(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T9, X14)) → in_order1_out_ga(tree(T7, tree(T74, T75, T76), T9), T11)
U15_ga(T7, T74, T75, T76, T9, T11, app27_out_agaa(T77, T74, T78, T83)) → U17_ga(T7, T74, T75, T76, T9, T11, T83, in_order14_in_ga(T9, T88))
U17_ga(T7, T74, T75, T76, T9, T11, T83, in_order14_out_ga(T9, T88)) → U18_ga(T7, T74, T75, T76, T9, T11, app52_in_agaa(T83, T7, T88, T11))
app52_in_agaa([], T101, T102, .(T101, T102)) → app52_out_agaa([], T101, T102, .(T101, T102))
app52_in_agaa(.(T113, T114), T115, T116, .(T113, T118)) → U7_agaa(T113, T114, T115, T116, T118, app52_in_agaa(T114, T115, T116, T118))
U7_agaa(T113, T114, T115, T116, T118, app52_out_agaa(T114, T115, T116, T118)) → app52_out_agaa(.(T113, T114), T115, T116, .(T113, T118))
U18_ga(T7, T74, T75, T76, T9, T11, app52_out_agaa(T83, T7, T88, T11)) → in_order1_out_ga(tree(T7, tree(T74, T75, T76), T9), T11)
APP52_IN_AGAA(.(T113, T114), T115, T116, .(T113, T118)) → APP52_IN_AGAA(T114, T115, T116, T118)
APP52_IN_AGAA(T115) → APP52_IN_AGAA(T115)
APP27_IN_AGAA(.(T46, T47), T48, T49, .(T46, X64)) → APP27_IN_AGAA(T47, T48, T49, X64)
in_order1_in_ga(void, []) → in_order1_out_ga(void, [])
in_order1_in_ga(tree(T7, void, T9), T11) → U8_ga(T7, T9, T11, in_order14_in_ga(T9, X14))
in_order14_in_ga(void, []) → in_order14_out_ga(void, [])
in_order14_in_ga(tree(T19, T20, T21), X37) → U1_ga(T19, T20, T21, X37, in_order14_in_ga(T20, X35))
in_order14_in_ga(tree(T19, T20, T21), X37) → U2_ga(T19, T20, T21, X37, in_order14_in_ga(T20, T22))
U2_ga(T19, T20, T21, X37, in_order14_out_ga(T20, T22)) → U3_ga(T19, T20, T21, X37, in_order14_in_ga(T21, X36))
U3_ga(T19, T20, T21, X37, in_order14_out_ga(T21, X36)) → in_order14_out_ga(tree(T19, T20, T21), X37)
U2_ga(T19, T20, T21, X37, in_order14_out_ga(T20, T22)) → U4_ga(T19, T20, T21, X37, T22, in_order14_in_ga(T21, T23))
U4_ga(T19, T20, T21, X37, T22, in_order14_out_ga(T21, T23)) → U5_ga(T19, T20, T21, X37, app27_in_agaa(T22, T19, T23, X37))
app27_in_agaa([], T36, T37, .(T36, T37)) → app27_out_agaa([], T36, T37, .(T36, T37))
app27_in_agaa(.(T46, T47), T48, T49, .(T46, X64)) → U6_agaa(T46, T47, T48, T49, X64, app27_in_agaa(T47, T48, T49, X64))
U6_agaa(T46, T47, T48, T49, X64, app27_out_agaa(T47, T48, T49, X64)) → app27_out_agaa(.(T46, T47), T48, T49, .(T46, X64))
U5_ga(T19, T20, T21, X37, app27_out_agaa(T22, T19, T23, X37)) → in_order14_out_ga(tree(T19, T20, T21), X37)
U1_ga(T19, T20, T21, X37, in_order14_out_ga(T20, X35)) → in_order14_out_ga(tree(T19, T20, T21), X37)
U8_ga(T7, T9, T11, in_order14_out_ga(T9, X14)) → in_order1_out_ga(tree(T7, void, T9), T11)
in_order1_in_ga(tree(T66, void, T9), .(T66, T67)) → U9_ga(T66, T9, T67, in_order14_in_ga(T9, T67))
U9_ga(T66, T9, T67, in_order14_out_ga(T9, T67)) → in_order1_out_ga(tree(T66, void, T9), .(T66, T67))
in_order1_in_ga(tree(T7, tree(T74, T75, T76), T9), T11) → U10_ga(T7, T74, T75, T76, T9, T11, in_order14_in_ga(T75, X99))
U10_ga(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T75, X99)) → in_order1_out_ga(tree(T7, tree(T74, T75, T76), T9), T11)
in_order1_in_ga(tree(T7, tree(T74, T75, T76), T9), T11) → U11_ga(T7, T74, T75, T76, T9, T11, in_order14_in_ga(T75, T77))
U11_ga(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T75, T77)) → U12_ga(T7, T74, T75, T76, T9, T11, in_order14_in_ga(T76, X100))
U12_ga(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T76, X100)) → in_order1_out_ga(tree(T7, tree(T74, T75, T76), T9), T11)
U11_ga(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T75, T77)) → U13_ga(T7, T74, T75, T76, T9, T11, T77, in_order14_in_ga(T76, T78))
U13_ga(T7, T74, T75, T76, T9, T11, T77, in_order14_out_ga(T76, T78)) → U14_ga(T7, T74, T75, T76, T9, T11, app27_in_agaa(T77, T74, T78, X101))
U14_ga(T7, T74, T75, T76, T9, T11, app27_out_agaa(T77, T74, T78, X101)) → in_order1_out_ga(tree(T7, tree(T74, T75, T76), T9), T11)
U13_ga(T7, T74, T75, T76, T9, T11, T77, in_order14_out_ga(T76, T78)) → U15_ga(T7, T74, T75, T76, T9, T11, app27_in_agaa(T77, T74, T78, T83))
U15_ga(T7, T74, T75, T76, T9, T11, app27_out_agaa(T77, T74, T78, T83)) → U16_ga(T7, T74, T75, T76, T9, T11, in_order14_in_ga(T9, X14))
U16_ga(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T9, X14)) → in_order1_out_ga(tree(T7, tree(T74, T75, T76), T9), T11)
U15_ga(T7, T74, T75, T76, T9, T11, app27_out_agaa(T77, T74, T78, T83)) → U17_ga(T7, T74, T75, T76, T9, T11, T83, in_order14_in_ga(T9, T88))
U17_ga(T7, T74, T75, T76, T9, T11, T83, in_order14_out_ga(T9, T88)) → U18_ga(T7, T74, T75, T76, T9, T11, app52_in_agaa(T83, T7, T88, T11))
app52_in_agaa([], T101, T102, .(T101, T102)) → app52_out_agaa([], T101, T102, .(T101, T102))
app52_in_agaa(.(T113, T114), T115, T116, .(T113, T118)) → U7_agaa(T113, T114, T115, T116, T118, app52_in_agaa(T114, T115, T116, T118))
U7_agaa(T113, T114, T115, T116, T118, app52_out_agaa(T114, T115, T116, T118)) → app52_out_agaa(.(T113, T114), T115, T116, .(T113, T118))
U18_ga(T7, T74, T75, T76, T9, T11, app52_out_agaa(T83, T7, T88, T11)) → in_order1_out_ga(tree(T7, tree(T74, T75, T76), T9), T11)
APP27_IN_AGAA(.(T46, T47), T48, T49, .(T46, X64)) → APP27_IN_AGAA(T47, T48, T49, X64)
APP27_IN_AGAA(T48) → APP27_IN_AGAA(T48)
IN_ORDER14_IN_GA(tree(T19, T20, T21), X37) → U2_GA(T19, T20, T21, X37, in_order14_in_ga(T20, T22))
U2_GA(T19, T20, T21, X37, in_order14_out_ga(T20, T22)) → IN_ORDER14_IN_GA(T21, X36)
IN_ORDER14_IN_GA(tree(T19, T20, T21), X37) → IN_ORDER14_IN_GA(T20, X35)
in_order1_in_ga(void, []) → in_order1_out_ga(void, [])
in_order1_in_ga(tree(T7, void, T9), T11) → U8_ga(T7, T9, T11, in_order14_in_ga(T9, X14))
in_order14_in_ga(void, []) → in_order14_out_ga(void, [])
in_order14_in_ga(tree(T19, T20, T21), X37) → U1_ga(T19, T20, T21, X37, in_order14_in_ga(T20, X35))
in_order14_in_ga(tree(T19, T20, T21), X37) → U2_ga(T19, T20, T21, X37, in_order14_in_ga(T20, T22))
U2_ga(T19, T20, T21, X37, in_order14_out_ga(T20, T22)) → U3_ga(T19, T20, T21, X37, in_order14_in_ga(T21, X36))
U3_ga(T19, T20, T21, X37, in_order14_out_ga(T21, X36)) → in_order14_out_ga(tree(T19, T20, T21), X37)
U2_ga(T19, T20, T21, X37, in_order14_out_ga(T20, T22)) → U4_ga(T19, T20, T21, X37, T22, in_order14_in_ga(T21, T23))
U4_ga(T19, T20, T21, X37, T22, in_order14_out_ga(T21, T23)) → U5_ga(T19, T20, T21, X37, app27_in_agaa(T22, T19, T23, X37))
app27_in_agaa([], T36, T37, .(T36, T37)) → app27_out_agaa([], T36, T37, .(T36, T37))
app27_in_agaa(.(T46, T47), T48, T49, .(T46, X64)) → U6_agaa(T46, T47, T48, T49, X64, app27_in_agaa(T47, T48, T49, X64))
U6_agaa(T46, T47, T48, T49, X64, app27_out_agaa(T47, T48, T49, X64)) → app27_out_agaa(.(T46, T47), T48, T49, .(T46, X64))
U5_ga(T19, T20, T21, X37, app27_out_agaa(T22, T19, T23, X37)) → in_order14_out_ga(tree(T19, T20, T21), X37)
U1_ga(T19, T20, T21, X37, in_order14_out_ga(T20, X35)) → in_order14_out_ga(tree(T19, T20, T21), X37)
U8_ga(T7, T9, T11, in_order14_out_ga(T9, X14)) → in_order1_out_ga(tree(T7, void, T9), T11)
in_order1_in_ga(tree(T66, void, T9), .(T66, T67)) → U9_ga(T66, T9, T67, in_order14_in_ga(T9, T67))
U9_ga(T66, T9, T67, in_order14_out_ga(T9, T67)) → in_order1_out_ga(tree(T66, void, T9), .(T66, T67))
in_order1_in_ga(tree(T7, tree(T74, T75, T76), T9), T11) → U10_ga(T7, T74, T75, T76, T9, T11, in_order14_in_ga(T75, X99))
U10_ga(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T75, X99)) → in_order1_out_ga(tree(T7, tree(T74, T75, T76), T9), T11)
in_order1_in_ga(tree(T7, tree(T74, T75, T76), T9), T11) → U11_ga(T7, T74, T75, T76, T9, T11, in_order14_in_ga(T75, T77))
U11_ga(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T75, T77)) → U12_ga(T7, T74, T75, T76, T9, T11, in_order14_in_ga(T76, X100))
U12_ga(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T76, X100)) → in_order1_out_ga(tree(T7, tree(T74, T75, T76), T9), T11)
U11_ga(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T75, T77)) → U13_ga(T7, T74, T75, T76, T9, T11, T77, in_order14_in_ga(T76, T78))
U13_ga(T7, T74, T75, T76, T9, T11, T77, in_order14_out_ga(T76, T78)) → U14_ga(T7, T74, T75, T76, T9, T11, app27_in_agaa(T77, T74, T78, X101))
U14_ga(T7, T74, T75, T76, T9, T11, app27_out_agaa(T77, T74, T78, X101)) → in_order1_out_ga(tree(T7, tree(T74, T75, T76), T9), T11)
U13_ga(T7, T74, T75, T76, T9, T11, T77, in_order14_out_ga(T76, T78)) → U15_ga(T7, T74, T75, T76, T9, T11, app27_in_agaa(T77, T74, T78, T83))
U15_ga(T7, T74, T75, T76, T9, T11, app27_out_agaa(T77, T74, T78, T83)) → U16_ga(T7, T74, T75, T76, T9, T11, in_order14_in_ga(T9, X14))
U16_ga(T7, T74, T75, T76, T9, T11, in_order14_out_ga(T9, X14)) → in_order1_out_ga(tree(T7, tree(T74, T75, T76), T9), T11)
U15_ga(T7, T74, T75, T76, T9, T11, app27_out_agaa(T77, T74, T78, T83)) → U17_ga(T7, T74, T75, T76, T9, T11, T83, in_order14_in_ga(T9, T88))
U17_ga(T7, T74, T75, T76, T9, T11, T83, in_order14_out_ga(T9, T88)) → U18_ga(T7, T74, T75, T76, T9, T11, app52_in_agaa(T83, T7, T88, T11))
app52_in_agaa([], T101, T102, .(T101, T102)) → app52_out_agaa([], T101, T102, .(T101, T102))
app52_in_agaa(.(T113, T114), T115, T116, .(T113, T118)) → U7_agaa(T113, T114, T115, T116, T118, app52_in_agaa(T114, T115, T116, T118))
U7_agaa(T113, T114, T115, T116, T118, app52_out_agaa(T114, T115, T116, T118)) → app52_out_agaa(.(T113, T114), T115, T116, .(T113, T118))
U18_ga(T7, T74, T75, T76, T9, T11, app52_out_agaa(T83, T7, T88, T11)) → in_order1_out_ga(tree(T7, tree(T74, T75, T76), T9), T11)
IN_ORDER14_IN_GA(tree(T19, T20, T21), X37) → U2_GA(T19, T20, T21, X37, in_order14_in_ga(T20, T22))
U2_GA(T19, T20, T21, X37, in_order14_out_ga(T20, T22)) → IN_ORDER14_IN_GA(T21, X36)
IN_ORDER14_IN_GA(tree(T19, T20, T21), X37) → IN_ORDER14_IN_GA(T20, X35)
in_order14_in_ga(void, []) → in_order14_out_ga(void, [])
in_order14_in_ga(tree(T19, T20, T21), X37) → U1_ga(T19, T20, T21, X37, in_order14_in_ga(T20, X35))
in_order14_in_ga(tree(T19, T20, T21), X37) → U2_ga(T19, T20, T21, X37, in_order14_in_ga(T20, T22))
U1_ga(T19, T20, T21, X37, in_order14_out_ga(T20, X35)) → in_order14_out_ga(tree(T19, T20, T21), X37)
U2_ga(T19, T20, T21, X37, in_order14_out_ga(T20, T22)) → U3_ga(T19, T20, T21, X37, in_order14_in_ga(T21, X36))
U2_ga(T19, T20, T21, X37, in_order14_out_ga(T20, T22)) → U4_ga(T19, T20, T21, X37, T22, in_order14_in_ga(T21, T23))
U3_ga(T19, T20, T21, X37, in_order14_out_ga(T21, X36)) → in_order14_out_ga(tree(T19, T20, T21), X37)
U4_ga(T19, T20, T21, X37, T22, in_order14_out_ga(T21, T23)) → U5_ga(T19, T20, T21, X37, app27_in_agaa(T22, T19, T23, X37))
U5_ga(T19, T20, T21, X37, app27_out_agaa(T22, T19, T23, X37)) → in_order14_out_ga(tree(T19, T20, T21), X37)
app27_in_agaa([], T36, T37, .(T36, T37)) → app27_out_agaa([], T36, T37, .(T36, T37))
app27_in_agaa(.(T46, T47), T48, T49, .(T46, X64)) → U6_agaa(T46, T47, T48, T49, X64, app27_in_agaa(T47, T48, T49, X64))
U6_agaa(T46, T47, T48, T49, X64, app27_out_agaa(T47, T48, T49, X64)) → app27_out_agaa(.(T46, T47), T48, T49, .(T46, X64))
IN_ORDER14_IN_GA(tree(T19, T20, T21)) → U2_GA(T19, T20, T21, in_order14_in_ga(T20))
U2_GA(T19, T20, T21, in_order14_out_ga(T20)) → IN_ORDER14_IN_GA(T21)
IN_ORDER14_IN_GA(tree(T19, T20, T21)) → IN_ORDER14_IN_GA(T20)
in_order14_in_ga(void) → in_order14_out_ga(void)
in_order14_in_ga(tree(T19, T20, T21)) → U1_ga(T19, T20, T21, in_order14_in_ga(T20))
in_order14_in_ga(tree(T19, T20, T21)) → U2_ga(T19, T20, T21, in_order14_in_ga(T20))
U1_ga(T19, T20, T21, in_order14_out_ga(T20)) → in_order14_out_ga(tree(T19, T20, T21))
U2_ga(T19, T20, T21, in_order14_out_ga(T20)) → U3_ga(T19, T20, T21, in_order14_in_ga(T21))
U2_ga(T19, T20, T21, in_order14_out_ga(T20)) → U4_ga(T19, T20, T21, in_order14_in_ga(T21))
U3_ga(T19, T20, T21, in_order14_out_ga(T21)) → in_order14_out_ga(tree(T19, T20, T21))
U4_ga(T19, T20, T21, in_order14_out_ga(T21)) → U5_ga(T19, T20, T21, app27_in_agaa(T19))
U5_ga(T19, T20, T21, app27_out_agaa(T22, T19)) → in_order14_out_ga(tree(T19, T20, T21))
app27_in_agaa(T36) → app27_out_agaa([], T36)
app27_in_agaa(T48) → U6_agaa(T48, app27_in_agaa(T48))
U6_agaa(T48, app27_out_agaa(T47, T48)) → app27_out_agaa(.(T47), T48)
in_order14_in_ga(x0)
U1_ga(x0, x1, x2, x3)
U2_ga(x0, x1, x2, x3)
U3_ga(x0, x1, x2, x3)
U4_ga(x0, x1, x2, x3)
U5_ga(x0, x1, x2, x3)
app27_in_agaa(x0)
U6_agaa(x0, x1)
From the DPs we obtained the following set of size-change graphs: