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
inorder1_in_ga(nil, []) → inorder1_out_ga(nil, [])
inorder1_in_ga(tree(nil, T8, T9), T11) → U8_ga(T8, T9, T11, inorder14_in_ga(T9, X14))
inorder14_in_ga(nil, []) → inorder14_out_ga(nil, [])
inorder14_in_ga(tree(T19, T20, T21), X37) → U1_ga(T19, T20, T21, X37, inorder14_in_ga(T19, X35))
inorder14_in_ga(tree(T19, T20, T21), X37) → U2_ga(T19, T20, T21, X37, inorder14_in_ga(T19, T22))
U2_ga(T19, T20, T21, X37, inorder14_out_ga(T19, T22)) → U3_ga(T19, T20, T21, X37, inorder14_in_ga(T21, X36))
U3_ga(T19, T20, T21, X37, inorder14_out_ga(T21, X36)) → inorder14_out_ga(tree(T19, T20, T21), X37)
U2_ga(T19, T20, T21, X37, inorder14_out_ga(T19, T22)) → U4_ga(T19, T20, T21, X37, T22, inorder14_in_ga(T21, T23))
U4_ga(T19, T20, T21, X37, T22, inorder14_out_ga(T21, T23)) → U5_ga(T19, T20, T21, X37, append27_in_agaa(T22, T20, T23, X37))
append27_in_agaa([], T36, T37, .(T36, T37)) → append27_out_agaa([], T36, T37, .(T36, T37))
append27_in_agaa(.(T46, T47), T48, T49, .(T46, X64)) → U6_agaa(T46, T47, T48, T49, X64, append27_in_agaa(T47, T48, T49, X64))
U6_agaa(T46, T47, T48, T49, X64, append27_out_agaa(T47, T48, T49, X64)) → append27_out_agaa(.(T46, T47), T48, T49, .(T46, X64))
U5_ga(T19, T20, T21, X37, append27_out_agaa(T22, T20, T23, X37)) → inorder14_out_ga(tree(T19, T20, T21), X37)
U1_ga(T19, T20, T21, X37, inorder14_out_ga(T19, X35)) → inorder14_out_ga(tree(T19, T20, T21), X37)
U8_ga(T8, T9, T11, inorder14_out_ga(T9, X14)) → inorder1_out_ga(tree(nil, T8, T9), T11)
inorder1_in_ga(tree(nil, T66, T9), .(T66, T67)) → U9_ga(T66, T9, T67, inorder14_in_ga(T9, T67))
U9_ga(T66, T9, T67, inorder14_out_ga(T9, T67)) → inorder1_out_ga(tree(nil, T66, T9), .(T66, T67))
inorder1_in_ga(tree(tree(T74, T75, T76), T8, T9), T11) → U10_ga(T74, T75, T76, T8, T9, T11, inorder14_in_ga(T74, X99))
U10_ga(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T74, X99)) → inorder1_out_ga(tree(tree(T74, T75, T76), T8, T9), T11)
inorder1_in_ga(tree(tree(T74, T75, T76), T8, T9), T11) → U11_ga(T74, T75, T76, T8, T9, T11, inorder14_in_ga(T74, T77))
U11_ga(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T74, T77)) → U12_ga(T74, T75, T76, T8, T9, T11, inorder14_in_ga(T76, X100))
U12_ga(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T76, X100)) → inorder1_out_ga(tree(tree(T74, T75, T76), T8, T9), T11)
U11_ga(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T74, T77)) → U13_ga(T74, T75, T76, T8, T9, T11, T77, inorder14_in_ga(T76, T78))
U13_ga(T74, T75, T76, T8, T9, T11, T77, inorder14_out_ga(T76, T78)) → U14_ga(T74, T75, T76, T8, T9, T11, append27_in_agaa(T77, T75, T78, X101))
U14_ga(T74, T75, T76, T8, T9, T11, append27_out_agaa(T77, T75, T78, X101)) → inorder1_out_ga(tree(tree(T74, T75, T76), T8, T9), T11)
U13_ga(T74, T75, T76, T8, T9, T11, T77, inorder14_out_ga(T76, T78)) → U15_ga(T74, T75, T76, T8, T9, T11, append27_in_agaa(T77, T75, T78, T83))
U15_ga(T74, T75, T76, T8, T9, T11, append27_out_agaa(T77, T75, T78, T83)) → U16_ga(T74, T75, T76, T8, T9, T11, inorder14_in_ga(T9, X14))
U16_ga(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T9, X14)) → inorder1_out_ga(tree(tree(T74, T75, T76), T8, T9), T11)
U15_ga(T74, T75, T76, T8, T9, T11, append27_out_agaa(T77, T75, T78, T83)) → U17_ga(T74, T75, T76, T8, T9, T11, T83, inorder14_in_ga(T9, T88))
U17_ga(T74, T75, T76, T8, T9, T11, T83, inorder14_out_ga(T9, T88)) → U18_ga(T74, T75, T76, T8, T9, T11, append52_in_agaa(T83, T8, T88, T11))
append52_in_agaa([], T101, T102, .(T101, T102)) → append52_out_agaa([], T101, T102, .(T101, T102))
append52_in_agaa(.(T113, T114), T115, T116, .(T113, T118)) → U7_agaa(T113, T114, T115, T116, T118, append52_in_agaa(T114, T115, T116, T118))
U7_agaa(T113, T114, T115, T116, T118, append52_out_agaa(T114, T115, T116, T118)) → append52_out_agaa(.(T113, T114), T115, T116, .(T113, T118))
U18_ga(T74, T75, T76, T8, T9, T11, append52_out_agaa(T83, T8, T88, T11)) → inorder1_out_ga(tree(tree(T74, T75, T76), T8, T9), T11)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
inorder1_in_ga(nil, []) → inorder1_out_ga(nil, [])
inorder1_in_ga(tree(nil, T8, T9), T11) → U8_ga(T8, T9, T11, inorder14_in_ga(T9, X14))
inorder14_in_ga(nil, []) → inorder14_out_ga(nil, [])
inorder14_in_ga(tree(T19, T20, T21), X37) → U1_ga(T19, T20, T21, X37, inorder14_in_ga(T19, X35))
inorder14_in_ga(tree(T19, T20, T21), X37) → U2_ga(T19, T20, T21, X37, inorder14_in_ga(T19, T22))
U2_ga(T19, T20, T21, X37, inorder14_out_ga(T19, T22)) → U3_ga(T19, T20, T21, X37, inorder14_in_ga(T21, X36))
U3_ga(T19, T20, T21, X37, inorder14_out_ga(T21, X36)) → inorder14_out_ga(tree(T19, T20, T21), X37)
U2_ga(T19, T20, T21, X37, inorder14_out_ga(T19, T22)) → U4_ga(T19, T20, T21, X37, T22, inorder14_in_ga(T21, T23))
U4_ga(T19, T20, T21, X37, T22, inorder14_out_ga(T21, T23)) → U5_ga(T19, T20, T21, X37, append27_in_agaa(T22, T20, T23, X37))
append27_in_agaa([], T36, T37, .(T36, T37)) → append27_out_agaa([], T36, T37, .(T36, T37))
append27_in_agaa(.(T46, T47), T48, T49, .(T46, X64)) → U6_agaa(T46, T47, T48, T49, X64, append27_in_agaa(T47, T48, T49, X64))
U6_agaa(T46, T47, T48, T49, X64, append27_out_agaa(T47, T48, T49, X64)) → append27_out_agaa(.(T46, T47), T48, T49, .(T46, X64))
U5_ga(T19, T20, T21, X37, append27_out_agaa(T22, T20, T23, X37)) → inorder14_out_ga(tree(T19, T20, T21), X37)
U1_ga(T19, T20, T21, X37, inorder14_out_ga(T19, X35)) → inorder14_out_ga(tree(T19, T20, T21), X37)
U8_ga(T8, T9, T11, inorder14_out_ga(T9, X14)) → inorder1_out_ga(tree(nil, T8, T9), T11)
inorder1_in_ga(tree(nil, T66, T9), .(T66, T67)) → U9_ga(T66, T9, T67, inorder14_in_ga(T9, T67))
U9_ga(T66, T9, T67, inorder14_out_ga(T9, T67)) → inorder1_out_ga(tree(nil, T66, T9), .(T66, T67))
inorder1_in_ga(tree(tree(T74, T75, T76), T8, T9), T11) → U10_ga(T74, T75, T76, T8, T9, T11, inorder14_in_ga(T74, X99))
U10_ga(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T74, X99)) → inorder1_out_ga(tree(tree(T74, T75, T76), T8, T9), T11)
inorder1_in_ga(tree(tree(T74, T75, T76), T8, T9), T11) → U11_ga(T74, T75, T76, T8, T9, T11, inorder14_in_ga(T74, T77))
U11_ga(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T74, T77)) → U12_ga(T74, T75, T76, T8, T9, T11, inorder14_in_ga(T76, X100))
U12_ga(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T76, X100)) → inorder1_out_ga(tree(tree(T74, T75, T76), T8, T9), T11)
U11_ga(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T74, T77)) → U13_ga(T74, T75, T76, T8, T9, T11, T77, inorder14_in_ga(T76, T78))
U13_ga(T74, T75, T76, T8, T9, T11, T77, inorder14_out_ga(T76, T78)) → U14_ga(T74, T75, T76, T8, T9, T11, append27_in_agaa(T77, T75, T78, X101))
U14_ga(T74, T75, T76, T8, T9, T11, append27_out_agaa(T77, T75, T78, X101)) → inorder1_out_ga(tree(tree(T74, T75, T76), T8, T9), T11)
U13_ga(T74, T75, T76, T8, T9, T11, T77, inorder14_out_ga(T76, T78)) → U15_ga(T74, T75, T76, T8, T9, T11, append27_in_agaa(T77, T75, T78, T83))
U15_ga(T74, T75, T76, T8, T9, T11, append27_out_agaa(T77, T75, T78, T83)) → U16_ga(T74, T75, T76, T8, T9, T11, inorder14_in_ga(T9, X14))
U16_ga(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T9, X14)) → inorder1_out_ga(tree(tree(T74, T75, T76), T8, T9), T11)
U15_ga(T74, T75, T76, T8, T9, T11, append27_out_agaa(T77, T75, T78, T83)) → U17_ga(T74, T75, T76, T8, T9, T11, T83, inorder14_in_ga(T9, T88))
U17_ga(T74, T75, T76, T8, T9, T11, T83, inorder14_out_ga(T9, T88)) → U18_ga(T74, T75, T76, T8, T9, T11, append52_in_agaa(T83, T8, T88, T11))
append52_in_agaa([], T101, T102, .(T101, T102)) → append52_out_agaa([], T101, T102, .(T101, T102))
append52_in_agaa(.(T113, T114), T115, T116, .(T113, T118)) → U7_agaa(T113, T114, T115, T116, T118, append52_in_agaa(T114, T115, T116, T118))
U7_agaa(T113, T114, T115, T116, T118, append52_out_agaa(T114, T115, T116, T118)) → append52_out_agaa(.(T113, T114), T115, T116, .(T113, T118))
U18_ga(T74, T75, T76, T8, T9, T11, append52_out_agaa(T83, T8, T88, T11)) → inorder1_out_ga(tree(tree(T74, T75, T76), T8, T9), T11)
INORDER1_IN_GA(tree(nil, T8, T9), T11) → U8_GA(T8, T9, T11, inorder14_in_ga(T9, X14))
INORDER1_IN_GA(tree(nil, T8, T9), T11) → INORDER14_IN_GA(T9, X14)
INORDER14_IN_GA(tree(T19, T20, T21), X37) → U1_GA(T19, T20, T21, X37, inorder14_in_ga(T19, X35))
INORDER14_IN_GA(tree(T19, T20, T21), X37) → INORDER14_IN_GA(T19, X35)
INORDER14_IN_GA(tree(T19, T20, T21), X37) → U2_GA(T19, T20, T21, X37, inorder14_in_ga(T19, T22))
U2_GA(T19, T20, T21, X37, inorder14_out_ga(T19, T22)) → U3_GA(T19, T20, T21, X37, inorder14_in_ga(T21, X36))
U2_GA(T19, T20, T21, X37, inorder14_out_ga(T19, T22)) → INORDER14_IN_GA(T21, X36)
U2_GA(T19, T20, T21, X37, inorder14_out_ga(T19, T22)) → U4_GA(T19, T20, T21, X37, T22, inorder14_in_ga(T21, T23))
U4_GA(T19, T20, T21, X37, T22, inorder14_out_ga(T21, T23)) → U5_GA(T19, T20, T21, X37, append27_in_agaa(T22, T20, T23, X37))
U4_GA(T19, T20, T21, X37, T22, inorder14_out_ga(T21, T23)) → APPEND27_IN_AGAA(T22, T20, T23, X37)
APPEND27_IN_AGAA(.(T46, T47), T48, T49, .(T46, X64)) → U6_AGAA(T46, T47, T48, T49, X64, append27_in_agaa(T47, T48, T49, X64))
APPEND27_IN_AGAA(.(T46, T47), T48, T49, .(T46, X64)) → APPEND27_IN_AGAA(T47, T48, T49, X64)
INORDER1_IN_GA(tree(nil, T66, T9), .(T66, T67)) → U9_GA(T66, T9, T67, inorder14_in_ga(T9, T67))
INORDER1_IN_GA(tree(nil, T66, T9), .(T66, T67)) → INORDER14_IN_GA(T9, T67)
INORDER1_IN_GA(tree(tree(T74, T75, T76), T8, T9), T11) → U10_GA(T74, T75, T76, T8, T9, T11, inorder14_in_ga(T74, X99))
INORDER1_IN_GA(tree(tree(T74, T75, T76), T8, T9), T11) → INORDER14_IN_GA(T74, X99)
INORDER1_IN_GA(tree(tree(T74, T75, T76), T8, T9), T11) → U11_GA(T74, T75, T76, T8, T9, T11, inorder14_in_ga(T74, T77))
U11_GA(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T74, T77)) → U12_GA(T74, T75, T76, T8, T9, T11, inorder14_in_ga(T76, X100))
U11_GA(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T74, T77)) → INORDER14_IN_GA(T76, X100)
U11_GA(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T74, T77)) → U13_GA(T74, T75, T76, T8, T9, T11, T77, inorder14_in_ga(T76, T78))
U13_GA(T74, T75, T76, T8, T9, T11, T77, inorder14_out_ga(T76, T78)) → U14_GA(T74, T75, T76, T8, T9, T11, append27_in_agaa(T77, T75, T78, X101))
U13_GA(T74, T75, T76, T8, T9, T11, T77, inorder14_out_ga(T76, T78)) → APPEND27_IN_AGAA(T77, T75, T78, X101)
U13_GA(T74, T75, T76, T8, T9, T11, T77, inorder14_out_ga(T76, T78)) → U15_GA(T74, T75, T76, T8, T9, T11, append27_in_agaa(T77, T75, T78, T83))
U15_GA(T74, T75, T76, T8, T9, T11, append27_out_agaa(T77, T75, T78, T83)) → U16_GA(T74, T75, T76, T8, T9, T11, inorder14_in_ga(T9, X14))
U15_GA(T74, T75, T76, T8, T9, T11, append27_out_agaa(T77, T75, T78, T83)) → INORDER14_IN_GA(T9, X14)
U15_GA(T74, T75, T76, T8, T9, T11, append27_out_agaa(T77, T75, T78, T83)) → U17_GA(T74, T75, T76, T8, T9, T11, T83, inorder14_in_ga(T9, T88))
U17_GA(T74, T75, T76, T8, T9, T11, T83, inorder14_out_ga(T9, T88)) → U18_GA(T74, T75, T76, T8, T9, T11, append52_in_agaa(T83, T8, T88, T11))
U17_GA(T74, T75, T76, T8, T9, T11, T83, inorder14_out_ga(T9, T88)) → APPEND52_IN_AGAA(T83, T8, T88, T11)
APPEND52_IN_AGAA(.(T113, T114), T115, T116, .(T113, T118)) → U7_AGAA(T113, T114, T115, T116, T118, append52_in_agaa(T114, T115, T116, T118))
APPEND52_IN_AGAA(.(T113, T114), T115, T116, .(T113, T118)) → APPEND52_IN_AGAA(T114, T115, T116, T118)
inorder1_in_ga(nil, []) → inorder1_out_ga(nil, [])
inorder1_in_ga(tree(nil, T8, T9), T11) → U8_ga(T8, T9, T11, inorder14_in_ga(T9, X14))
inorder14_in_ga(nil, []) → inorder14_out_ga(nil, [])
inorder14_in_ga(tree(T19, T20, T21), X37) → U1_ga(T19, T20, T21, X37, inorder14_in_ga(T19, X35))
inorder14_in_ga(tree(T19, T20, T21), X37) → U2_ga(T19, T20, T21, X37, inorder14_in_ga(T19, T22))
U2_ga(T19, T20, T21, X37, inorder14_out_ga(T19, T22)) → U3_ga(T19, T20, T21, X37, inorder14_in_ga(T21, X36))
U3_ga(T19, T20, T21, X37, inorder14_out_ga(T21, X36)) → inorder14_out_ga(tree(T19, T20, T21), X37)
U2_ga(T19, T20, T21, X37, inorder14_out_ga(T19, T22)) → U4_ga(T19, T20, T21, X37, T22, inorder14_in_ga(T21, T23))
U4_ga(T19, T20, T21, X37, T22, inorder14_out_ga(T21, T23)) → U5_ga(T19, T20, T21, X37, append27_in_agaa(T22, T20, T23, X37))
append27_in_agaa([], T36, T37, .(T36, T37)) → append27_out_agaa([], T36, T37, .(T36, T37))
append27_in_agaa(.(T46, T47), T48, T49, .(T46, X64)) → U6_agaa(T46, T47, T48, T49, X64, append27_in_agaa(T47, T48, T49, X64))
U6_agaa(T46, T47, T48, T49, X64, append27_out_agaa(T47, T48, T49, X64)) → append27_out_agaa(.(T46, T47), T48, T49, .(T46, X64))
U5_ga(T19, T20, T21, X37, append27_out_agaa(T22, T20, T23, X37)) → inorder14_out_ga(tree(T19, T20, T21), X37)
U1_ga(T19, T20, T21, X37, inorder14_out_ga(T19, X35)) → inorder14_out_ga(tree(T19, T20, T21), X37)
U8_ga(T8, T9, T11, inorder14_out_ga(T9, X14)) → inorder1_out_ga(tree(nil, T8, T9), T11)
inorder1_in_ga(tree(nil, T66, T9), .(T66, T67)) → U9_ga(T66, T9, T67, inorder14_in_ga(T9, T67))
U9_ga(T66, T9, T67, inorder14_out_ga(T9, T67)) → inorder1_out_ga(tree(nil, T66, T9), .(T66, T67))
inorder1_in_ga(tree(tree(T74, T75, T76), T8, T9), T11) → U10_ga(T74, T75, T76, T8, T9, T11, inorder14_in_ga(T74, X99))
U10_ga(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T74, X99)) → inorder1_out_ga(tree(tree(T74, T75, T76), T8, T9), T11)
inorder1_in_ga(tree(tree(T74, T75, T76), T8, T9), T11) → U11_ga(T74, T75, T76, T8, T9, T11, inorder14_in_ga(T74, T77))
U11_ga(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T74, T77)) → U12_ga(T74, T75, T76, T8, T9, T11, inorder14_in_ga(T76, X100))
U12_ga(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T76, X100)) → inorder1_out_ga(tree(tree(T74, T75, T76), T8, T9), T11)
U11_ga(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T74, T77)) → U13_ga(T74, T75, T76, T8, T9, T11, T77, inorder14_in_ga(T76, T78))
U13_ga(T74, T75, T76, T8, T9, T11, T77, inorder14_out_ga(T76, T78)) → U14_ga(T74, T75, T76, T8, T9, T11, append27_in_agaa(T77, T75, T78, X101))
U14_ga(T74, T75, T76, T8, T9, T11, append27_out_agaa(T77, T75, T78, X101)) → inorder1_out_ga(tree(tree(T74, T75, T76), T8, T9), T11)
U13_ga(T74, T75, T76, T8, T9, T11, T77, inorder14_out_ga(T76, T78)) → U15_ga(T74, T75, T76, T8, T9, T11, append27_in_agaa(T77, T75, T78, T83))
U15_ga(T74, T75, T76, T8, T9, T11, append27_out_agaa(T77, T75, T78, T83)) → U16_ga(T74, T75, T76, T8, T9, T11, inorder14_in_ga(T9, X14))
U16_ga(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T9, X14)) → inorder1_out_ga(tree(tree(T74, T75, T76), T8, T9), T11)
U15_ga(T74, T75, T76, T8, T9, T11, append27_out_agaa(T77, T75, T78, T83)) → U17_ga(T74, T75, T76, T8, T9, T11, T83, inorder14_in_ga(T9, T88))
U17_ga(T74, T75, T76, T8, T9, T11, T83, inorder14_out_ga(T9, T88)) → U18_ga(T74, T75, T76, T8, T9, T11, append52_in_agaa(T83, T8, T88, T11))
append52_in_agaa([], T101, T102, .(T101, T102)) → append52_out_agaa([], T101, T102, .(T101, T102))
append52_in_agaa(.(T113, T114), T115, T116, .(T113, T118)) → U7_agaa(T113, T114, T115, T116, T118, append52_in_agaa(T114, T115, T116, T118))
U7_agaa(T113, T114, T115, T116, T118, append52_out_agaa(T114, T115, T116, T118)) → append52_out_agaa(.(T113, T114), T115, T116, .(T113, T118))
U18_ga(T74, T75, T76, T8, T9, T11, append52_out_agaa(T83, T8, T88, T11)) → inorder1_out_ga(tree(tree(T74, T75, T76), T8, T9), T11)
INORDER1_IN_GA(tree(nil, T8, T9), T11) → U8_GA(T8, T9, T11, inorder14_in_ga(T9, X14))
INORDER1_IN_GA(tree(nil, T8, T9), T11) → INORDER14_IN_GA(T9, X14)
INORDER14_IN_GA(tree(T19, T20, T21), X37) → U1_GA(T19, T20, T21, X37, inorder14_in_ga(T19, X35))
INORDER14_IN_GA(tree(T19, T20, T21), X37) → INORDER14_IN_GA(T19, X35)
INORDER14_IN_GA(tree(T19, T20, T21), X37) → U2_GA(T19, T20, T21, X37, inorder14_in_ga(T19, T22))
U2_GA(T19, T20, T21, X37, inorder14_out_ga(T19, T22)) → U3_GA(T19, T20, T21, X37, inorder14_in_ga(T21, X36))
U2_GA(T19, T20, T21, X37, inorder14_out_ga(T19, T22)) → INORDER14_IN_GA(T21, X36)
U2_GA(T19, T20, T21, X37, inorder14_out_ga(T19, T22)) → U4_GA(T19, T20, T21, X37, T22, inorder14_in_ga(T21, T23))
U4_GA(T19, T20, T21, X37, T22, inorder14_out_ga(T21, T23)) → U5_GA(T19, T20, T21, X37, append27_in_agaa(T22, T20, T23, X37))
U4_GA(T19, T20, T21, X37, T22, inorder14_out_ga(T21, T23)) → APPEND27_IN_AGAA(T22, T20, T23, X37)
APPEND27_IN_AGAA(.(T46, T47), T48, T49, .(T46, X64)) → U6_AGAA(T46, T47, T48, T49, X64, append27_in_agaa(T47, T48, T49, X64))
APPEND27_IN_AGAA(.(T46, T47), T48, T49, .(T46, X64)) → APPEND27_IN_AGAA(T47, T48, T49, X64)
INORDER1_IN_GA(tree(nil, T66, T9), .(T66, T67)) → U9_GA(T66, T9, T67, inorder14_in_ga(T9, T67))
INORDER1_IN_GA(tree(nil, T66, T9), .(T66, T67)) → INORDER14_IN_GA(T9, T67)
INORDER1_IN_GA(tree(tree(T74, T75, T76), T8, T9), T11) → U10_GA(T74, T75, T76, T8, T9, T11, inorder14_in_ga(T74, X99))
INORDER1_IN_GA(tree(tree(T74, T75, T76), T8, T9), T11) → INORDER14_IN_GA(T74, X99)
INORDER1_IN_GA(tree(tree(T74, T75, T76), T8, T9), T11) → U11_GA(T74, T75, T76, T8, T9, T11, inorder14_in_ga(T74, T77))
U11_GA(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T74, T77)) → U12_GA(T74, T75, T76, T8, T9, T11, inorder14_in_ga(T76, X100))
U11_GA(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T74, T77)) → INORDER14_IN_GA(T76, X100)
U11_GA(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T74, T77)) → U13_GA(T74, T75, T76, T8, T9, T11, T77, inorder14_in_ga(T76, T78))
U13_GA(T74, T75, T76, T8, T9, T11, T77, inorder14_out_ga(T76, T78)) → U14_GA(T74, T75, T76, T8, T9, T11, append27_in_agaa(T77, T75, T78, X101))
U13_GA(T74, T75, T76, T8, T9, T11, T77, inorder14_out_ga(T76, T78)) → APPEND27_IN_AGAA(T77, T75, T78, X101)
U13_GA(T74, T75, T76, T8, T9, T11, T77, inorder14_out_ga(T76, T78)) → U15_GA(T74, T75, T76, T8, T9, T11, append27_in_agaa(T77, T75, T78, T83))
U15_GA(T74, T75, T76, T8, T9, T11, append27_out_agaa(T77, T75, T78, T83)) → U16_GA(T74, T75, T76, T8, T9, T11, inorder14_in_ga(T9, X14))
U15_GA(T74, T75, T76, T8, T9, T11, append27_out_agaa(T77, T75, T78, T83)) → INORDER14_IN_GA(T9, X14)
U15_GA(T74, T75, T76, T8, T9, T11, append27_out_agaa(T77, T75, T78, T83)) → U17_GA(T74, T75, T76, T8, T9, T11, T83, inorder14_in_ga(T9, T88))
U17_GA(T74, T75, T76, T8, T9, T11, T83, inorder14_out_ga(T9, T88)) → U18_GA(T74, T75, T76, T8, T9, T11, append52_in_agaa(T83, T8, T88, T11))
U17_GA(T74, T75, T76, T8, T9, T11, T83, inorder14_out_ga(T9, T88)) → APPEND52_IN_AGAA(T83, T8, T88, T11)
APPEND52_IN_AGAA(.(T113, T114), T115, T116, .(T113, T118)) → U7_AGAA(T113, T114, T115, T116, T118, append52_in_agaa(T114, T115, T116, T118))
APPEND52_IN_AGAA(.(T113, T114), T115, T116, .(T113, T118)) → APPEND52_IN_AGAA(T114, T115, T116, T118)
inorder1_in_ga(nil, []) → inorder1_out_ga(nil, [])
inorder1_in_ga(tree(nil, T8, T9), T11) → U8_ga(T8, T9, T11, inorder14_in_ga(T9, X14))
inorder14_in_ga(nil, []) → inorder14_out_ga(nil, [])
inorder14_in_ga(tree(T19, T20, T21), X37) → U1_ga(T19, T20, T21, X37, inorder14_in_ga(T19, X35))
inorder14_in_ga(tree(T19, T20, T21), X37) → U2_ga(T19, T20, T21, X37, inorder14_in_ga(T19, T22))
U2_ga(T19, T20, T21, X37, inorder14_out_ga(T19, T22)) → U3_ga(T19, T20, T21, X37, inorder14_in_ga(T21, X36))
U3_ga(T19, T20, T21, X37, inorder14_out_ga(T21, X36)) → inorder14_out_ga(tree(T19, T20, T21), X37)
U2_ga(T19, T20, T21, X37, inorder14_out_ga(T19, T22)) → U4_ga(T19, T20, T21, X37, T22, inorder14_in_ga(T21, T23))
U4_ga(T19, T20, T21, X37, T22, inorder14_out_ga(T21, T23)) → U5_ga(T19, T20, T21, X37, append27_in_agaa(T22, T20, T23, X37))
append27_in_agaa([], T36, T37, .(T36, T37)) → append27_out_agaa([], T36, T37, .(T36, T37))
append27_in_agaa(.(T46, T47), T48, T49, .(T46, X64)) → U6_agaa(T46, T47, T48, T49, X64, append27_in_agaa(T47, T48, T49, X64))
U6_agaa(T46, T47, T48, T49, X64, append27_out_agaa(T47, T48, T49, X64)) → append27_out_agaa(.(T46, T47), T48, T49, .(T46, X64))
U5_ga(T19, T20, T21, X37, append27_out_agaa(T22, T20, T23, X37)) → inorder14_out_ga(tree(T19, T20, T21), X37)
U1_ga(T19, T20, T21, X37, inorder14_out_ga(T19, X35)) → inorder14_out_ga(tree(T19, T20, T21), X37)
U8_ga(T8, T9, T11, inorder14_out_ga(T9, X14)) → inorder1_out_ga(tree(nil, T8, T9), T11)
inorder1_in_ga(tree(nil, T66, T9), .(T66, T67)) → U9_ga(T66, T9, T67, inorder14_in_ga(T9, T67))
U9_ga(T66, T9, T67, inorder14_out_ga(T9, T67)) → inorder1_out_ga(tree(nil, T66, T9), .(T66, T67))
inorder1_in_ga(tree(tree(T74, T75, T76), T8, T9), T11) → U10_ga(T74, T75, T76, T8, T9, T11, inorder14_in_ga(T74, X99))
U10_ga(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T74, X99)) → inorder1_out_ga(tree(tree(T74, T75, T76), T8, T9), T11)
inorder1_in_ga(tree(tree(T74, T75, T76), T8, T9), T11) → U11_ga(T74, T75, T76, T8, T9, T11, inorder14_in_ga(T74, T77))
U11_ga(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T74, T77)) → U12_ga(T74, T75, T76, T8, T9, T11, inorder14_in_ga(T76, X100))
U12_ga(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T76, X100)) → inorder1_out_ga(tree(tree(T74, T75, T76), T8, T9), T11)
U11_ga(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T74, T77)) → U13_ga(T74, T75, T76, T8, T9, T11, T77, inorder14_in_ga(T76, T78))
U13_ga(T74, T75, T76, T8, T9, T11, T77, inorder14_out_ga(T76, T78)) → U14_ga(T74, T75, T76, T8, T9, T11, append27_in_agaa(T77, T75, T78, X101))
U14_ga(T74, T75, T76, T8, T9, T11, append27_out_agaa(T77, T75, T78, X101)) → inorder1_out_ga(tree(tree(T74, T75, T76), T8, T9), T11)
U13_ga(T74, T75, T76, T8, T9, T11, T77, inorder14_out_ga(T76, T78)) → U15_ga(T74, T75, T76, T8, T9, T11, append27_in_agaa(T77, T75, T78, T83))
U15_ga(T74, T75, T76, T8, T9, T11, append27_out_agaa(T77, T75, T78, T83)) → U16_ga(T74, T75, T76, T8, T9, T11, inorder14_in_ga(T9, X14))
U16_ga(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T9, X14)) → inorder1_out_ga(tree(tree(T74, T75, T76), T8, T9), T11)
U15_ga(T74, T75, T76, T8, T9, T11, append27_out_agaa(T77, T75, T78, T83)) → U17_ga(T74, T75, T76, T8, T9, T11, T83, inorder14_in_ga(T9, T88))
U17_ga(T74, T75, T76, T8, T9, T11, T83, inorder14_out_ga(T9, T88)) → U18_ga(T74, T75, T76, T8, T9, T11, append52_in_agaa(T83, T8, T88, T11))
append52_in_agaa([], T101, T102, .(T101, T102)) → append52_out_agaa([], T101, T102, .(T101, T102))
append52_in_agaa(.(T113, T114), T115, T116, .(T113, T118)) → U7_agaa(T113, T114, T115, T116, T118, append52_in_agaa(T114, T115, T116, T118))
U7_agaa(T113, T114, T115, T116, T118, append52_out_agaa(T114, T115, T116, T118)) → append52_out_agaa(.(T113, T114), T115, T116, .(T113, T118))
U18_ga(T74, T75, T76, T8, T9, T11, append52_out_agaa(T83, T8, T88, T11)) → inorder1_out_ga(tree(tree(T74, T75, T76), T8, T9), T11)
APPEND52_IN_AGAA(.(T113, T114), T115, T116, .(T113, T118)) → APPEND52_IN_AGAA(T114, T115, T116, T118)
inorder1_in_ga(nil, []) → inorder1_out_ga(nil, [])
inorder1_in_ga(tree(nil, T8, T9), T11) → U8_ga(T8, T9, T11, inorder14_in_ga(T9, X14))
inorder14_in_ga(nil, []) → inorder14_out_ga(nil, [])
inorder14_in_ga(tree(T19, T20, T21), X37) → U1_ga(T19, T20, T21, X37, inorder14_in_ga(T19, X35))
inorder14_in_ga(tree(T19, T20, T21), X37) → U2_ga(T19, T20, T21, X37, inorder14_in_ga(T19, T22))
U2_ga(T19, T20, T21, X37, inorder14_out_ga(T19, T22)) → U3_ga(T19, T20, T21, X37, inorder14_in_ga(T21, X36))
U3_ga(T19, T20, T21, X37, inorder14_out_ga(T21, X36)) → inorder14_out_ga(tree(T19, T20, T21), X37)
U2_ga(T19, T20, T21, X37, inorder14_out_ga(T19, T22)) → U4_ga(T19, T20, T21, X37, T22, inorder14_in_ga(T21, T23))
U4_ga(T19, T20, T21, X37, T22, inorder14_out_ga(T21, T23)) → U5_ga(T19, T20, T21, X37, append27_in_agaa(T22, T20, T23, X37))
append27_in_agaa([], T36, T37, .(T36, T37)) → append27_out_agaa([], T36, T37, .(T36, T37))
append27_in_agaa(.(T46, T47), T48, T49, .(T46, X64)) → U6_agaa(T46, T47, T48, T49, X64, append27_in_agaa(T47, T48, T49, X64))
U6_agaa(T46, T47, T48, T49, X64, append27_out_agaa(T47, T48, T49, X64)) → append27_out_agaa(.(T46, T47), T48, T49, .(T46, X64))
U5_ga(T19, T20, T21, X37, append27_out_agaa(T22, T20, T23, X37)) → inorder14_out_ga(tree(T19, T20, T21), X37)
U1_ga(T19, T20, T21, X37, inorder14_out_ga(T19, X35)) → inorder14_out_ga(tree(T19, T20, T21), X37)
U8_ga(T8, T9, T11, inorder14_out_ga(T9, X14)) → inorder1_out_ga(tree(nil, T8, T9), T11)
inorder1_in_ga(tree(nil, T66, T9), .(T66, T67)) → U9_ga(T66, T9, T67, inorder14_in_ga(T9, T67))
U9_ga(T66, T9, T67, inorder14_out_ga(T9, T67)) → inorder1_out_ga(tree(nil, T66, T9), .(T66, T67))
inorder1_in_ga(tree(tree(T74, T75, T76), T8, T9), T11) → U10_ga(T74, T75, T76, T8, T9, T11, inorder14_in_ga(T74, X99))
U10_ga(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T74, X99)) → inorder1_out_ga(tree(tree(T74, T75, T76), T8, T9), T11)
inorder1_in_ga(tree(tree(T74, T75, T76), T8, T9), T11) → U11_ga(T74, T75, T76, T8, T9, T11, inorder14_in_ga(T74, T77))
U11_ga(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T74, T77)) → U12_ga(T74, T75, T76, T8, T9, T11, inorder14_in_ga(T76, X100))
U12_ga(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T76, X100)) → inorder1_out_ga(tree(tree(T74, T75, T76), T8, T9), T11)
U11_ga(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T74, T77)) → U13_ga(T74, T75, T76, T8, T9, T11, T77, inorder14_in_ga(T76, T78))
U13_ga(T74, T75, T76, T8, T9, T11, T77, inorder14_out_ga(T76, T78)) → U14_ga(T74, T75, T76, T8, T9, T11, append27_in_agaa(T77, T75, T78, X101))
U14_ga(T74, T75, T76, T8, T9, T11, append27_out_agaa(T77, T75, T78, X101)) → inorder1_out_ga(tree(tree(T74, T75, T76), T8, T9), T11)
U13_ga(T74, T75, T76, T8, T9, T11, T77, inorder14_out_ga(T76, T78)) → U15_ga(T74, T75, T76, T8, T9, T11, append27_in_agaa(T77, T75, T78, T83))
U15_ga(T74, T75, T76, T8, T9, T11, append27_out_agaa(T77, T75, T78, T83)) → U16_ga(T74, T75, T76, T8, T9, T11, inorder14_in_ga(T9, X14))
U16_ga(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T9, X14)) → inorder1_out_ga(tree(tree(T74, T75, T76), T8, T9), T11)
U15_ga(T74, T75, T76, T8, T9, T11, append27_out_agaa(T77, T75, T78, T83)) → U17_ga(T74, T75, T76, T8, T9, T11, T83, inorder14_in_ga(T9, T88))
U17_ga(T74, T75, T76, T8, T9, T11, T83, inorder14_out_ga(T9, T88)) → U18_ga(T74, T75, T76, T8, T9, T11, append52_in_agaa(T83, T8, T88, T11))
append52_in_agaa([], T101, T102, .(T101, T102)) → append52_out_agaa([], T101, T102, .(T101, T102))
append52_in_agaa(.(T113, T114), T115, T116, .(T113, T118)) → U7_agaa(T113, T114, T115, T116, T118, append52_in_agaa(T114, T115, T116, T118))
U7_agaa(T113, T114, T115, T116, T118, append52_out_agaa(T114, T115, T116, T118)) → append52_out_agaa(.(T113, T114), T115, T116, .(T113, T118))
U18_ga(T74, T75, T76, T8, T9, T11, append52_out_agaa(T83, T8, T88, T11)) → inorder1_out_ga(tree(tree(T74, T75, T76), T8, T9), T11)
APPEND52_IN_AGAA(.(T113, T114), T115, T116, .(T113, T118)) → APPEND52_IN_AGAA(T114, T115, T116, T118)
APPEND52_IN_AGAA(T115) → APPEND52_IN_AGAA(T115)
APPEND27_IN_AGAA(.(T46, T47), T48, T49, .(T46, X64)) → APPEND27_IN_AGAA(T47, T48, T49, X64)
inorder1_in_ga(nil, []) → inorder1_out_ga(nil, [])
inorder1_in_ga(tree(nil, T8, T9), T11) → U8_ga(T8, T9, T11, inorder14_in_ga(T9, X14))
inorder14_in_ga(nil, []) → inorder14_out_ga(nil, [])
inorder14_in_ga(tree(T19, T20, T21), X37) → U1_ga(T19, T20, T21, X37, inorder14_in_ga(T19, X35))
inorder14_in_ga(tree(T19, T20, T21), X37) → U2_ga(T19, T20, T21, X37, inorder14_in_ga(T19, T22))
U2_ga(T19, T20, T21, X37, inorder14_out_ga(T19, T22)) → U3_ga(T19, T20, T21, X37, inorder14_in_ga(T21, X36))
U3_ga(T19, T20, T21, X37, inorder14_out_ga(T21, X36)) → inorder14_out_ga(tree(T19, T20, T21), X37)
U2_ga(T19, T20, T21, X37, inorder14_out_ga(T19, T22)) → U4_ga(T19, T20, T21, X37, T22, inorder14_in_ga(T21, T23))
U4_ga(T19, T20, T21, X37, T22, inorder14_out_ga(T21, T23)) → U5_ga(T19, T20, T21, X37, append27_in_agaa(T22, T20, T23, X37))
append27_in_agaa([], T36, T37, .(T36, T37)) → append27_out_agaa([], T36, T37, .(T36, T37))
append27_in_agaa(.(T46, T47), T48, T49, .(T46, X64)) → U6_agaa(T46, T47, T48, T49, X64, append27_in_agaa(T47, T48, T49, X64))
U6_agaa(T46, T47, T48, T49, X64, append27_out_agaa(T47, T48, T49, X64)) → append27_out_agaa(.(T46, T47), T48, T49, .(T46, X64))
U5_ga(T19, T20, T21, X37, append27_out_agaa(T22, T20, T23, X37)) → inorder14_out_ga(tree(T19, T20, T21), X37)
U1_ga(T19, T20, T21, X37, inorder14_out_ga(T19, X35)) → inorder14_out_ga(tree(T19, T20, T21), X37)
U8_ga(T8, T9, T11, inorder14_out_ga(T9, X14)) → inorder1_out_ga(tree(nil, T8, T9), T11)
inorder1_in_ga(tree(nil, T66, T9), .(T66, T67)) → U9_ga(T66, T9, T67, inorder14_in_ga(T9, T67))
U9_ga(T66, T9, T67, inorder14_out_ga(T9, T67)) → inorder1_out_ga(tree(nil, T66, T9), .(T66, T67))
inorder1_in_ga(tree(tree(T74, T75, T76), T8, T9), T11) → U10_ga(T74, T75, T76, T8, T9, T11, inorder14_in_ga(T74, X99))
U10_ga(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T74, X99)) → inorder1_out_ga(tree(tree(T74, T75, T76), T8, T9), T11)
inorder1_in_ga(tree(tree(T74, T75, T76), T8, T9), T11) → U11_ga(T74, T75, T76, T8, T9, T11, inorder14_in_ga(T74, T77))
U11_ga(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T74, T77)) → U12_ga(T74, T75, T76, T8, T9, T11, inorder14_in_ga(T76, X100))
U12_ga(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T76, X100)) → inorder1_out_ga(tree(tree(T74, T75, T76), T8, T9), T11)
U11_ga(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T74, T77)) → U13_ga(T74, T75, T76, T8, T9, T11, T77, inorder14_in_ga(T76, T78))
U13_ga(T74, T75, T76, T8, T9, T11, T77, inorder14_out_ga(T76, T78)) → U14_ga(T74, T75, T76, T8, T9, T11, append27_in_agaa(T77, T75, T78, X101))
U14_ga(T74, T75, T76, T8, T9, T11, append27_out_agaa(T77, T75, T78, X101)) → inorder1_out_ga(tree(tree(T74, T75, T76), T8, T9), T11)
U13_ga(T74, T75, T76, T8, T9, T11, T77, inorder14_out_ga(T76, T78)) → U15_ga(T74, T75, T76, T8, T9, T11, append27_in_agaa(T77, T75, T78, T83))
U15_ga(T74, T75, T76, T8, T9, T11, append27_out_agaa(T77, T75, T78, T83)) → U16_ga(T74, T75, T76, T8, T9, T11, inorder14_in_ga(T9, X14))
U16_ga(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T9, X14)) → inorder1_out_ga(tree(tree(T74, T75, T76), T8, T9), T11)
U15_ga(T74, T75, T76, T8, T9, T11, append27_out_agaa(T77, T75, T78, T83)) → U17_ga(T74, T75, T76, T8, T9, T11, T83, inorder14_in_ga(T9, T88))
U17_ga(T74, T75, T76, T8, T9, T11, T83, inorder14_out_ga(T9, T88)) → U18_ga(T74, T75, T76, T8, T9, T11, append52_in_agaa(T83, T8, T88, T11))
append52_in_agaa([], T101, T102, .(T101, T102)) → append52_out_agaa([], T101, T102, .(T101, T102))
append52_in_agaa(.(T113, T114), T115, T116, .(T113, T118)) → U7_agaa(T113, T114, T115, T116, T118, append52_in_agaa(T114, T115, T116, T118))
U7_agaa(T113, T114, T115, T116, T118, append52_out_agaa(T114, T115, T116, T118)) → append52_out_agaa(.(T113, T114), T115, T116, .(T113, T118))
U18_ga(T74, T75, T76, T8, T9, T11, append52_out_agaa(T83, T8, T88, T11)) → inorder1_out_ga(tree(tree(T74, T75, T76), T8, T9), T11)
APPEND27_IN_AGAA(.(T46, T47), T48, T49, .(T46, X64)) → APPEND27_IN_AGAA(T47, T48, T49, X64)
APPEND27_IN_AGAA(T48) → APPEND27_IN_AGAA(T48)
INORDER14_IN_GA(tree(T19, T20, T21), X37) → U2_GA(T19, T20, T21, X37, inorder14_in_ga(T19, T22))
U2_GA(T19, T20, T21, X37, inorder14_out_ga(T19, T22)) → INORDER14_IN_GA(T21, X36)
INORDER14_IN_GA(tree(T19, T20, T21), X37) → INORDER14_IN_GA(T19, X35)
inorder1_in_ga(nil, []) → inorder1_out_ga(nil, [])
inorder1_in_ga(tree(nil, T8, T9), T11) → U8_ga(T8, T9, T11, inorder14_in_ga(T9, X14))
inorder14_in_ga(nil, []) → inorder14_out_ga(nil, [])
inorder14_in_ga(tree(T19, T20, T21), X37) → U1_ga(T19, T20, T21, X37, inorder14_in_ga(T19, X35))
inorder14_in_ga(tree(T19, T20, T21), X37) → U2_ga(T19, T20, T21, X37, inorder14_in_ga(T19, T22))
U2_ga(T19, T20, T21, X37, inorder14_out_ga(T19, T22)) → U3_ga(T19, T20, T21, X37, inorder14_in_ga(T21, X36))
U3_ga(T19, T20, T21, X37, inorder14_out_ga(T21, X36)) → inorder14_out_ga(tree(T19, T20, T21), X37)
U2_ga(T19, T20, T21, X37, inorder14_out_ga(T19, T22)) → U4_ga(T19, T20, T21, X37, T22, inorder14_in_ga(T21, T23))
U4_ga(T19, T20, T21, X37, T22, inorder14_out_ga(T21, T23)) → U5_ga(T19, T20, T21, X37, append27_in_agaa(T22, T20, T23, X37))
append27_in_agaa([], T36, T37, .(T36, T37)) → append27_out_agaa([], T36, T37, .(T36, T37))
append27_in_agaa(.(T46, T47), T48, T49, .(T46, X64)) → U6_agaa(T46, T47, T48, T49, X64, append27_in_agaa(T47, T48, T49, X64))
U6_agaa(T46, T47, T48, T49, X64, append27_out_agaa(T47, T48, T49, X64)) → append27_out_agaa(.(T46, T47), T48, T49, .(T46, X64))
U5_ga(T19, T20, T21, X37, append27_out_agaa(T22, T20, T23, X37)) → inorder14_out_ga(tree(T19, T20, T21), X37)
U1_ga(T19, T20, T21, X37, inorder14_out_ga(T19, X35)) → inorder14_out_ga(tree(T19, T20, T21), X37)
U8_ga(T8, T9, T11, inorder14_out_ga(T9, X14)) → inorder1_out_ga(tree(nil, T8, T9), T11)
inorder1_in_ga(tree(nil, T66, T9), .(T66, T67)) → U9_ga(T66, T9, T67, inorder14_in_ga(T9, T67))
U9_ga(T66, T9, T67, inorder14_out_ga(T9, T67)) → inorder1_out_ga(tree(nil, T66, T9), .(T66, T67))
inorder1_in_ga(tree(tree(T74, T75, T76), T8, T9), T11) → U10_ga(T74, T75, T76, T8, T9, T11, inorder14_in_ga(T74, X99))
U10_ga(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T74, X99)) → inorder1_out_ga(tree(tree(T74, T75, T76), T8, T9), T11)
inorder1_in_ga(tree(tree(T74, T75, T76), T8, T9), T11) → U11_ga(T74, T75, T76, T8, T9, T11, inorder14_in_ga(T74, T77))
U11_ga(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T74, T77)) → U12_ga(T74, T75, T76, T8, T9, T11, inorder14_in_ga(T76, X100))
U12_ga(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T76, X100)) → inorder1_out_ga(tree(tree(T74, T75, T76), T8, T9), T11)
U11_ga(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T74, T77)) → U13_ga(T74, T75, T76, T8, T9, T11, T77, inorder14_in_ga(T76, T78))
U13_ga(T74, T75, T76, T8, T9, T11, T77, inorder14_out_ga(T76, T78)) → U14_ga(T74, T75, T76, T8, T9, T11, append27_in_agaa(T77, T75, T78, X101))
U14_ga(T74, T75, T76, T8, T9, T11, append27_out_agaa(T77, T75, T78, X101)) → inorder1_out_ga(tree(tree(T74, T75, T76), T8, T9), T11)
U13_ga(T74, T75, T76, T8, T9, T11, T77, inorder14_out_ga(T76, T78)) → U15_ga(T74, T75, T76, T8, T9, T11, append27_in_agaa(T77, T75, T78, T83))
U15_ga(T74, T75, T76, T8, T9, T11, append27_out_agaa(T77, T75, T78, T83)) → U16_ga(T74, T75, T76, T8, T9, T11, inorder14_in_ga(T9, X14))
U16_ga(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T9, X14)) → inorder1_out_ga(tree(tree(T74, T75, T76), T8, T9), T11)
U15_ga(T74, T75, T76, T8, T9, T11, append27_out_agaa(T77, T75, T78, T83)) → U17_ga(T74, T75, T76, T8, T9, T11, T83, inorder14_in_ga(T9, T88))
U17_ga(T74, T75, T76, T8, T9, T11, T83, inorder14_out_ga(T9, T88)) → U18_ga(T74, T75, T76, T8, T9, T11, append52_in_agaa(T83, T8, T88, T11))
append52_in_agaa([], T101, T102, .(T101, T102)) → append52_out_agaa([], T101, T102, .(T101, T102))
append52_in_agaa(.(T113, T114), T115, T116, .(T113, T118)) → U7_agaa(T113, T114, T115, T116, T118, append52_in_agaa(T114, T115, T116, T118))
U7_agaa(T113, T114, T115, T116, T118, append52_out_agaa(T114, T115, T116, T118)) → append52_out_agaa(.(T113, T114), T115, T116, .(T113, T118))
U18_ga(T74, T75, T76, T8, T9, T11, append52_out_agaa(T83, T8, T88, T11)) → inorder1_out_ga(tree(tree(T74, T75, T76), T8, T9), T11)
INORDER14_IN_GA(tree(T19, T20, T21), X37) → U2_GA(T19, T20, T21, X37, inorder14_in_ga(T19, T22))
U2_GA(T19, T20, T21, X37, inorder14_out_ga(T19, T22)) → INORDER14_IN_GA(T21, X36)
INORDER14_IN_GA(tree(T19, T20, T21), X37) → INORDER14_IN_GA(T19, X35)
inorder14_in_ga(nil, []) → inorder14_out_ga(nil, [])
inorder14_in_ga(tree(T19, T20, T21), X37) → U1_ga(T19, T20, T21, X37, inorder14_in_ga(T19, X35))
inorder14_in_ga(tree(T19, T20, T21), X37) → U2_ga(T19, T20, T21, X37, inorder14_in_ga(T19, T22))
U1_ga(T19, T20, T21, X37, inorder14_out_ga(T19, X35)) → inorder14_out_ga(tree(T19, T20, T21), X37)
U2_ga(T19, T20, T21, X37, inorder14_out_ga(T19, T22)) → U3_ga(T19, T20, T21, X37, inorder14_in_ga(T21, X36))
U2_ga(T19, T20, T21, X37, inorder14_out_ga(T19, T22)) → U4_ga(T19, T20, T21, X37, T22, inorder14_in_ga(T21, T23))
U3_ga(T19, T20, T21, X37, inorder14_out_ga(T21, X36)) → inorder14_out_ga(tree(T19, T20, T21), X37)
U4_ga(T19, T20, T21, X37, T22, inorder14_out_ga(T21, T23)) → U5_ga(T19, T20, T21, X37, append27_in_agaa(T22, T20, T23, X37))
U5_ga(T19, T20, T21, X37, append27_out_agaa(T22, T20, T23, X37)) → inorder14_out_ga(tree(T19, T20, T21), X37)
append27_in_agaa([], T36, T37, .(T36, T37)) → append27_out_agaa([], T36, T37, .(T36, T37))
append27_in_agaa(.(T46, T47), T48, T49, .(T46, X64)) → U6_agaa(T46, T47, T48, T49, X64, append27_in_agaa(T47, T48, T49, X64))
U6_agaa(T46, T47, T48, T49, X64, append27_out_agaa(T47, T48, T49, X64)) → append27_out_agaa(.(T46, T47), T48, T49, .(T46, X64))
INORDER14_IN_GA(tree(T19, T20, T21)) → U2_GA(T19, T20, T21, inorder14_in_ga(T19))
U2_GA(T19, T20, T21, inorder14_out_ga(T19)) → INORDER14_IN_GA(T21)
INORDER14_IN_GA(tree(T19, T20, T21)) → INORDER14_IN_GA(T19)
inorder14_in_ga(nil) → inorder14_out_ga(nil)
inorder14_in_ga(tree(T19, T20, T21)) → U1_ga(T19, T20, T21, inorder14_in_ga(T19))
inorder14_in_ga(tree(T19, T20, T21)) → U2_ga(T19, T20, T21, inorder14_in_ga(T19))
U1_ga(T19, T20, T21, inorder14_out_ga(T19)) → inorder14_out_ga(tree(T19, T20, T21))
U2_ga(T19, T20, T21, inorder14_out_ga(T19)) → U3_ga(T19, T20, T21, inorder14_in_ga(T21))
U2_ga(T19, T20, T21, inorder14_out_ga(T19)) → U4_ga(T19, T20, T21, inorder14_in_ga(T21))
U3_ga(T19, T20, T21, inorder14_out_ga(T21)) → inorder14_out_ga(tree(T19, T20, T21))
U4_ga(T19, T20, T21, inorder14_out_ga(T21)) → U5_ga(T19, T20, T21, append27_in_agaa(T20))
U5_ga(T19, T20, T21, append27_out_agaa(T22, T20)) → inorder14_out_ga(tree(T19, T20, T21))
append27_in_agaa(T36) → append27_out_agaa([], T36)
append27_in_agaa(T48) → U6_agaa(T48, append27_in_agaa(T48))
U6_agaa(T48, append27_out_agaa(T47, T48)) → append27_out_agaa(.(T47), T48)
inorder14_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)
append27_in_agaa(x0)
U6_agaa(x0, x1)
From the DPs we obtained the following set of size-change graphs:
inorder1_in_ga(nil, []) → inorder1_out_ga(nil, [])
inorder1_in_ga(tree(nil, T8, T9), T11) → U8_ga(T8, T9, T11, inorder14_in_ga(T9, X14))
inorder14_in_ga(nil, []) → inorder14_out_ga(nil, [])
inorder14_in_ga(tree(T19, T20, T21), X37) → U1_ga(T19, T20, T21, X37, inorder14_in_ga(T19, X35))
inorder14_in_ga(tree(T19, T20, T21), X37) → U2_ga(T19, T20, T21, X37, inorder14_in_ga(T19, T22))
U2_ga(T19, T20, T21, X37, inorder14_out_ga(T19, T22)) → U3_ga(T19, T20, T21, X37, inorder14_in_ga(T21, X36))
U3_ga(T19, T20, T21, X37, inorder14_out_ga(T21, X36)) → inorder14_out_ga(tree(T19, T20, T21), X37)
U2_ga(T19, T20, T21, X37, inorder14_out_ga(T19, T22)) → U4_ga(T19, T20, T21, X37, T22, inorder14_in_ga(T21, T23))
U4_ga(T19, T20, T21, X37, T22, inorder14_out_ga(T21, T23)) → U5_ga(T19, T20, T21, X37, append27_in_agaa(T22, T20, T23, X37))
append27_in_agaa([], T36, T37, .(T36, T37)) → append27_out_agaa([], T36, T37, .(T36, T37))
append27_in_agaa(.(T46, T47), T48, T49, .(T46, X64)) → U6_agaa(T46, T47, T48, T49, X64, append27_in_agaa(T47, T48, T49, X64))
U6_agaa(T46, T47, T48, T49, X64, append27_out_agaa(T47, T48, T49, X64)) → append27_out_agaa(.(T46, T47), T48, T49, .(T46, X64))
U5_ga(T19, T20, T21, X37, append27_out_agaa(T22, T20, T23, X37)) → inorder14_out_ga(tree(T19, T20, T21), X37)
U1_ga(T19, T20, T21, X37, inorder14_out_ga(T19, X35)) → inorder14_out_ga(tree(T19, T20, T21), X37)
U8_ga(T8, T9, T11, inorder14_out_ga(T9, X14)) → inorder1_out_ga(tree(nil, T8, T9), T11)
inorder1_in_ga(tree(nil, T66, T9), .(T66, T67)) → U9_ga(T66, T9, T67, inorder14_in_ga(T9, T67))
U9_ga(T66, T9, T67, inorder14_out_ga(T9, T67)) → inorder1_out_ga(tree(nil, T66, T9), .(T66, T67))
inorder1_in_ga(tree(tree(T74, T75, T76), T8, T9), T11) → U10_ga(T74, T75, T76, T8, T9, T11, inorder14_in_ga(T74, X99))
U10_ga(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T74, X99)) → inorder1_out_ga(tree(tree(T74, T75, T76), T8, T9), T11)
inorder1_in_ga(tree(tree(T74, T75, T76), T8, T9), T11) → U11_ga(T74, T75, T76, T8, T9, T11, inorder14_in_ga(T74, T77))
U11_ga(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T74, T77)) → U12_ga(T74, T75, T76, T8, T9, T11, inorder14_in_ga(T76, X100))
U12_ga(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T76, X100)) → inorder1_out_ga(tree(tree(T74, T75, T76), T8, T9), T11)
U11_ga(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T74, T77)) → U13_ga(T74, T75, T76, T8, T9, T11, T77, inorder14_in_ga(T76, T78))
U13_ga(T74, T75, T76, T8, T9, T11, T77, inorder14_out_ga(T76, T78)) → U14_ga(T74, T75, T76, T8, T9, T11, append27_in_agaa(T77, T75, T78, X101))
U14_ga(T74, T75, T76, T8, T9, T11, append27_out_agaa(T77, T75, T78, X101)) → inorder1_out_ga(tree(tree(T74, T75, T76), T8, T9), T11)
U13_ga(T74, T75, T76, T8, T9, T11, T77, inorder14_out_ga(T76, T78)) → U15_ga(T74, T75, T76, T8, T9, T11, append27_in_agaa(T77, T75, T78, T83))
U15_ga(T74, T75, T76, T8, T9, T11, append27_out_agaa(T77, T75, T78, T83)) → U16_ga(T74, T75, T76, T8, T9, T11, inorder14_in_ga(T9, X14))
U16_ga(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T9, X14)) → inorder1_out_ga(tree(tree(T74, T75, T76), T8, T9), T11)
U15_ga(T74, T75, T76, T8, T9, T11, append27_out_agaa(T77, T75, T78, T83)) → U17_ga(T74, T75, T76, T8, T9, T11, T83, inorder14_in_ga(T9, T88))
U17_ga(T74, T75, T76, T8, T9, T11, T83, inorder14_out_ga(T9, T88)) → U18_ga(T74, T75, T76, T8, T9, T11, append52_in_agaa(T83, T8, T88, T11))
append52_in_agaa([], T101, T102, .(T101, T102)) → append52_out_agaa([], T101, T102, .(T101, T102))
append52_in_agaa(.(T113, T114), T115, T116, .(T113, T118)) → U7_agaa(T113, T114, T115, T116, T118, append52_in_agaa(T114, T115, T116, T118))
U7_agaa(T113, T114, T115, T116, T118, append52_out_agaa(T114, T115, T116, T118)) → append52_out_agaa(.(T113, T114), T115, T116, .(T113, T118))
U18_ga(T74, T75, T76, T8, T9, T11, append52_out_agaa(T83, T8, T88, T11)) → inorder1_out_ga(tree(tree(T74, T75, T76), T8, T9), T11)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
inorder1_in_ga(nil, []) → inorder1_out_ga(nil, [])
inorder1_in_ga(tree(nil, T8, T9), T11) → U8_ga(T8, T9, T11, inorder14_in_ga(T9, X14))
inorder14_in_ga(nil, []) → inorder14_out_ga(nil, [])
inorder14_in_ga(tree(T19, T20, T21), X37) → U1_ga(T19, T20, T21, X37, inorder14_in_ga(T19, X35))
inorder14_in_ga(tree(T19, T20, T21), X37) → U2_ga(T19, T20, T21, X37, inorder14_in_ga(T19, T22))
U2_ga(T19, T20, T21, X37, inorder14_out_ga(T19, T22)) → U3_ga(T19, T20, T21, X37, inorder14_in_ga(T21, X36))
U3_ga(T19, T20, T21, X37, inorder14_out_ga(T21, X36)) → inorder14_out_ga(tree(T19, T20, T21), X37)
U2_ga(T19, T20, T21, X37, inorder14_out_ga(T19, T22)) → U4_ga(T19, T20, T21, X37, T22, inorder14_in_ga(T21, T23))
U4_ga(T19, T20, T21, X37, T22, inorder14_out_ga(T21, T23)) → U5_ga(T19, T20, T21, X37, append27_in_agaa(T22, T20, T23, X37))
append27_in_agaa([], T36, T37, .(T36, T37)) → append27_out_agaa([], T36, T37, .(T36, T37))
append27_in_agaa(.(T46, T47), T48, T49, .(T46, X64)) → U6_agaa(T46, T47, T48, T49, X64, append27_in_agaa(T47, T48, T49, X64))
U6_agaa(T46, T47, T48, T49, X64, append27_out_agaa(T47, T48, T49, X64)) → append27_out_agaa(.(T46, T47), T48, T49, .(T46, X64))
U5_ga(T19, T20, T21, X37, append27_out_agaa(T22, T20, T23, X37)) → inorder14_out_ga(tree(T19, T20, T21), X37)
U1_ga(T19, T20, T21, X37, inorder14_out_ga(T19, X35)) → inorder14_out_ga(tree(T19, T20, T21), X37)
U8_ga(T8, T9, T11, inorder14_out_ga(T9, X14)) → inorder1_out_ga(tree(nil, T8, T9), T11)
inorder1_in_ga(tree(nil, T66, T9), .(T66, T67)) → U9_ga(T66, T9, T67, inorder14_in_ga(T9, T67))
U9_ga(T66, T9, T67, inorder14_out_ga(T9, T67)) → inorder1_out_ga(tree(nil, T66, T9), .(T66, T67))
inorder1_in_ga(tree(tree(T74, T75, T76), T8, T9), T11) → U10_ga(T74, T75, T76, T8, T9, T11, inorder14_in_ga(T74, X99))
U10_ga(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T74, X99)) → inorder1_out_ga(tree(tree(T74, T75, T76), T8, T9), T11)
inorder1_in_ga(tree(tree(T74, T75, T76), T8, T9), T11) → U11_ga(T74, T75, T76, T8, T9, T11, inorder14_in_ga(T74, T77))
U11_ga(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T74, T77)) → U12_ga(T74, T75, T76, T8, T9, T11, inorder14_in_ga(T76, X100))
U12_ga(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T76, X100)) → inorder1_out_ga(tree(tree(T74, T75, T76), T8, T9), T11)
U11_ga(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T74, T77)) → U13_ga(T74, T75, T76, T8, T9, T11, T77, inorder14_in_ga(T76, T78))
U13_ga(T74, T75, T76, T8, T9, T11, T77, inorder14_out_ga(T76, T78)) → U14_ga(T74, T75, T76, T8, T9, T11, append27_in_agaa(T77, T75, T78, X101))
U14_ga(T74, T75, T76, T8, T9, T11, append27_out_agaa(T77, T75, T78, X101)) → inorder1_out_ga(tree(tree(T74, T75, T76), T8, T9), T11)
U13_ga(T74, T75, T76, T8, T9, T11, T77, inorder14_out_ga(T76, T78)) → U15_ga(T74, T75, T76, T8, T9, T11, append27_in_agaa(T77, T75, T78, T83))
U15_ga(T74, T75, T76, T8, T9, T11, append27_out_agaa(T77, T75, T78, T83)) → U16_ga(T74, T75, T76, T8, T9, T11, inorder14_in_ga(T9, X14))
U16_ga(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T9, X14)) → inorder1_out_ga(tree(tree(T74, T75, T76), T8, T9), T11)
U15_ga(T74, T75, T76, T8, T9, T11, append27_out_agaa(T77, T75, T78, T83)) → U17_ga(T74, T75, T76, T8, T9, T11, T83, inorder14_in_ga(T9, T88))
U17_ga(T74, T75, T76, T8, T9, T11, T83, inorder14_out_ga(T9, T88)) → U18_ga(T74, T75, T76, T8, T9, T11, append52_in_agaa(T83, T8, T88, T11))
append52_in_agaa([], T101, T102, .(T101, T102)) → append52_out_agaa([], T101, T102, .(T101, T102))
append52_in_agaa(.(T113, T114), T115, T116, .(T113, T118)) → U7_agaa(T113, T114, T115, T116, T118, append52_in_agaa(T114, T115, T116, T118))
U7_agaa(T113, T114, T115, T116, T118, append52_out_agaa(T114, T115, T116, T118)) → append52_out_agaa(.(T113, T114), T115, T116, .(T113, T118))
U18_ga(T74, T75, T76, T8, T9, T11, append52_out_agaa(T83, T8, T88, T11)) → inorder1_out_ga(tree(tree(T74, T75, T76), T8, T9), T11)
INORDER1_IN_GA(tree(nil, T8, T9), T11) → U8_GA(T8, T9, T11, inorder14_in_ga(T9, X14))
INORDER1_IN_GA(tree(nil, T8, T9), T11) → INORDER14_IN_GA(T9, X14)
INORDER14_IN_GA(tree(T19, T20, T21), X37) → U1_GA(T19, T20, T21, X37, inorder14_in_ga(T19, X35))
INORDER14_IN_GA(tree(T19, T20, T21), X37) → INORDER14_IN_GA(T19, X35)
INORDER14_IN_GA(tree(T19, T20, T21), X37) → U2_GA(T19, T20, T21, X37, inorder14_in_ga(T19, T22))
U2_GA(T19, T20, T21, X37, inorder14_out_ga(T19, T22)) → U3_GA(T19, T20, T21, X37, inorder14_in_ga(T21, X36))
U2_GA(T19, T20, T21, X37, inorder14_out_ga(T19, T22)) → INORDER14_IN_GA(T21, X36)
U2_GA(T19, T20, T21, X37, inorder14_out_ga(T19, T22)) → U4_GA(T19, T20, T21, X37, T22, inorder14_in_ga(T21, T23))
U4_GA(T19, T20, T21, X37, T22, inorder14_out_ga(T21, T23)) → U5_GA(T19, T20, T21, X37, append27_in_agaa(T22, T20, T23, X37))
U4_GA(T19, T20, T21, X37, T22, inorder14_out_ga(T21, T23)) → APPEND27_IN_AGAA(T22, T20, T23, X37)
APPEND27_IN_AGAA(.(T46, T47), T48, T49, .(T46, X64)) → U6_AGAA(T46, T47, T48, T49, X64, append27_in_agaa(T47, T48, T49, X64))
APPEND27_IN_AGAA(.(T46, T47), T48, T49, .(T46, X64)) → APPEND27_IN_AGAA(T47, T48, T49, X64)
INORDER1_IN_GA(tree(nil, T66, T9), .(T66, T67)) → U9_GA(T66, T9, T67, inorder14_in_ga(T9, T67))
INORDER1_IN_GA(tree(nil, T66, T9), .(T66, T67)) → INORDER14_IN_GA(T9, T67)
INORDER1_IN_GA(tree(tree(T74, T75, T76), T8, T9), T11) → U10_GA(T74, T75, T76, T8, T9, T11, inorder14_in_ga(T74, X99))
INORDER1_IN_GA(tree(tree(T74, T75, T76), T8, T9), T11) → INORDER14_IN_GA(T74, X99)
INORDER1_IN_GA(tree(tree(T74, T75, T76), T8, T9), T11) → U11_GA(T74, T75, T76, T8, T9, T11, inorder14_in_ga(T74, T77))
U11_GA(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T74, T77)) → U12_GA(T74, T75, T76, T8, T9, T11, inorder14_in_ga(T76, X100))
U11_GA(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T74, T77)) → INORDER14_IN_GA(T76, X100)
U11_GA(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T74, T77)) → U13_GA(T74, T75, T76, T8, T9, T11, T77, inorder14_in_ga(T76, T78))
U13_GA(T74, T75, T76, T8, T9, T11, T77, inorder14_out_ga(T76, T78)) → U14_GA(T74, T75, T76, T8, T9, T11, append27_in_agaa(T77, T75, T78, X101))
U13_GA(T74, T75, T76, T8, T9, T11, T77, inorder14_out_ga(T76, T78)) → APPEND27_IN_AGAA(T77, T75, T78, X101)
U13_GA(T74, T75, T76, T8, T9, T11, T77, inorder14_out_ga(T76, T78)) → U15_GA(T74, T75, T76, T8, T9, T11, append27_in_agaa(T77, T75, T78, T83))
U15_GA(T74, T75, T76, T8, T9, T11, append27_out_agaa(T77, T75, T78, T83)) → U16_GA(T74, T75, T76, T8, T9, T11, inorder14_in_ga(T9, X14))
U15_GA(T74, T75, T76, T8, T9, T11, append27_out_agaa(T77, T75, T78, T83)) → INORDER14_IN_GA(T9, X14)
U15_GA(T74, T75, T76, T8, T9, T11, append27_out_agaa(T77, T75, T78, T83)) → U17_GA(T74, T75, T76, T8, T9, T11, T83, inorder14_in_ga(T9, T88))
U17_GA(T74, T75, T76, T8, T9, T11, T83, inorder14_out_ga(T9, T88)) → U18_GA(T74, T75, T76, T8, T9, T11, append52_in_agaa(T83, T8, T88, T11))
U17_GA(T74, T75, T76, T8, T9, T11, T83, inorder14_out_ga(T9, T88)) → APPEND52_IN_AGAA(T83, T8, T88, T11)
APPEND52_IN_AGAA(.(T113, T114), T115, T116, .(T113, T118)) → U7_AGAA(T113, T114, T115, T116, T118, append52_in_agaa(T114, T115, T116, T118))
APPEND52_IN_AGAA(.(T113, T114), T115, T116, .(T113, T118)) → APPEND52_IN_AGAA(T114, T115, T116, T118)
inorder1_in_ga(nil, []) → inorder1_out_ga(nil, [])
inorder1_in_ga(tree(nil, T8, T9), T11) → U8_ga(T8, T9, T11, inorder14_in_ga(T9, X14))
inorder14_in_ga(nil, []) → inorder14_out_ga(nil, [])
inorder14_in_ga(tree(T19, T20, T21), X37) → U1_ga(T19, T20, T21, X37, inorder14_in_ga(T19, X35))
inorder14_in_ga(tree(T19, T20, T21), X37) → U2_ga(T19, T20, T21, X37, inorder14_in_ga(T19, T22))
U2_ga(T19, T20, T21, X37, inorder14_out_ga(T19, T22)) → U3_ga(T19, T20, T21, X37, inorder14_in_ga(T21, X36))
U3_ga(T19, T20, T21, X37, inorder14_out_ga(T21, X36)) → inorder14_out_ga(tree(T19, T20, T21), X37)
U2_ga(T19, T20, T21, X37, inorder14_out_ga(T19, T22)) → U4_ga(T19, T20, T21, X37, T22, inorder14_in_ga(T21, T23))
U4_ga(T19, T20, T21, X37, T22, inorder14_out_ga(T21, T23)) → U5_ga(T19, T20, T21, X37, append27_in_agaa(T22, T20, T23, X37))
append27_in_agaa([], T36, T37, .(T36, T37)) → append27_out_agaa([], T36, T37, .(T36, T37))
append27_in_agaa(.(T46, T47), T48, T49, .(T46, X64)) → U6_agaa(T46, T47, T48, T49, X64, append27_in_agaa(T47, T48, T49, X64))
U6_agaa(T46, T47, T48, T49, X64, append27_out_agaa(T47, T48, T49, X64)) → append27_out_agaa(.(T46, T47), T48, T49, .(T46, X64))
U5_ga(T19, T20, T21, X37, append27_out_agaa(T22, T20, T23, X37)) → inorder14_out_ga(tree(T19, T20, T21), X37)
U1_ga(T19, T20, T21, X37, inorder14_out_ga(T19, X35)) → inorder14_out_ga(tree(T19, T20, T21), X37)
U8_ga(T8, T9, T11, inorder14_out_ga(T9, X14)) → inorder1_out_ga(tree(nil, T8, T9), T11)
inorder1_in_ga(tree(nil, T66, T9), .(T66, T67)) → U9_ga(T66, T9, T67, inorder14_in_ga(T9, T67))
U9_ga(T66, T9, T67, inorder14_out_ga(T9, T67)) → inorder1_out_ga(tree(nil, T66, T9), .(T66, T67))
inorder1_in_ga(tree(tree(T74, T75, T76), T8, T9), T11) → U10_ga(T74, T75, T76, T8, T9, T11, inorder14_in_ga(T74, X99))
U10_ga(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T74, X99)) → inorder1_out_ga(tree(tree(T74, T75, T76), T8, T9), T11)
inorder1_in_ga(tree(tree(T74, T75, T76), T8, T9), T11) → U11_ga(T74, T75, T76, T8, T9, T11, inorder14_in_ga(T74, T77))
U11_ga(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T74, T77)) → U12_ga(T74, T75, T76, T8, T9, T11, inorder14_in_ga(T76, X100))
U12_ga(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T76, X100)) → inorder1_out_ga(tree(tree(T74, T75, T76), T8, T9), T11)
U11_ga(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T74, T77)) → U13_ga(T74, T75, T76, T8, T9, T11, T77, inorder14_in_ga(T76, T78))
U13_ga(T74, T75, T76, T8, T9, T11, T77, inorder14_out_ga(T76, T78)) → U14_ga(T74, T75, T76, T8, T9, T11, append27_in_agaa(T77, T75, T78, X101))
U14_ga(T74, T75, T76, T8, T9, T11, append27_out_agaa(T77, T75, T78, X101)) → inorder1_out_ga(tree(tree(T74, T75, T76), T8, T9), T11)
U13_ga(T74, T75, T76, T8, T9, T11, T77, inorder14_out_ga(T76, T78)) → U15_ga(T74, T75, T76, T8, T9, T11, append27_in_agaa(T77, T75, T78, T83))
U15_ga(T74, T75, T76, T8, T9, T11, append27_out_agaa(T77, T75, T78, T83)) → U16_ga(T74, T75, T76, T8, T9, T11, inorder14_in_ga(T9, X14))
U16_ga(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T9, X14)) → inorder1_out_ga(tree(tree(T74, T75, T76), T8, T9), T11)
U15_ga(T74, T75, T76, T8, T9, T11, append27_out_agaa(T77, T75, T78, T83)) → U17_ga(T74, T75, T76, T8, T9, T11, T83, inorder14_in_ga(T9, T88))
U17_ga(T74, T75, T76, T8, T9, T11, T83, inorder14_out_ga(T9, T88)) → U18_ga(T74, T75, T76, T8, T9, T11, append52_in_agaa(T83, T8, T88, T11))
append52_in_agaa([], T101, T102, .(T101, T102)) → append52_out_agaa([], T101, T102, .(T101, T102))
append52_in_agaa(.(T113, T114), T115, T116, .(T113, T118)) → U7_agaa(T113, T114, T115, T116, T118, append52_in_agaa(T114, T115, T116, T118))
U7_agaa(T113, T114, T115, T116, T118, append52_out_agaa(T114, T115, T116, T118)) → append52_out_agaa(.(T113, T114), T115, T116, .(T113, T118))
U18_ga(T74, T75, T76, T8, T9, T11, append52_out_agaa(T83, T8, T88, T11)) → inorder1_out_ga(tree(tree(T74, T75, T76), T8, T9), T11)
INORDER1_IN_GA(tree(nil, T8, T9), T11) → U8_GA(T8, T9, T11, inorder14_in_ga(T9, X14))
INORDER1_IN_GA(tree(nil, T8, T9), T11) → INORDER14_IN_GA(T9, X14)
INORDER14_IN_GA(tree(T19, T20, T21), X37) → U1_GA(T19, T20, T21, X37, inorder14_in_ga(T19, X35))
INORDER14_IN_GA(tree(T19, T20, T21), X37) → INORDER14_IN_GA(T19, X35)
INORDER14_IN_GA(tree(T19, T20, T21), X37) → U2_GA(T19, T20, T21, X37, inorder14_in_ga(T19, T22))
U2_GA(T19, T20, T21, X37, inorder14_out_ga(T19, T22)) → U3_GA(T19, T20, T21, X37, inorder14_in_ga(T21, X36))
U2_GA(T19, T20, T21, X37, inorder14_out_ga(T19, T22)) → INORDER14_IN_GA(T21, X36)
U2_GA(T19, T20, T21, X37, inorder14_out_ga(T19, T22)) → U4_GA(T19, T20, T21, X37, T22, inorder14_in_ga(T21, T23))
U4_GA(T19, T20, T21, X37, T22, inorder14_out_ga(T21, T23)) → U5_GA(T19, T20, T21, X37, append27_in_agaa(T22, T20, T23, X37))
U4_GA(T19, T20, T21, X37, T22, inorder14_out_ga(T21, T23)) → APPEND27_IN_AGAA(T22, T20, T23, X37)
APPEND27_IN_AGAA(.(T46, T47), T48, T49, .(T46, X64)) → U6_AGAA(T46, T47, T48, T49, X64, append27_in_agaa(T47, T48, T49, X64))
APPEND27_IN_AGAA(.(T46, T47), T48, T49, .(T46, X64)) → APPEND27_IN_AGAA(T47, T48, T49, X64)
INORDER1_IN_GA(tree(nil, T66, T9), .(T66, T67)) → U9_GA(T66, T9, T67, inorder14_in_ga(T9, T67))
INORDER1_IN_GA(tree(nil, T66, T9), .(T66, T67)) → INORDER14_IN_GA(T9, T67)
INORDER1_IN_GA(tree(tree(T74, T75, T76), T8, T9), T11) → U10_GA(T74, T75, T76, T8, T9, T11, inorder14_in_ga(T74, X99))
INORDER1_IN_GA(tree(tree(T74, T75, T76), T8, T9), T11) → INORDER14_IN_GA(T74, X99)
INORDER1_IN_GA(tree(tree(T74, T75, T76), T8, T9), T11) → U11_GA(T74, T75, T76, T8, T9, T11, inorder14_in_ga(T74, T77))
U11_GA(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T74, T77)) → U12_GA(T74, T75, T76, T8, T9, T11, inorder14_in_ga(T76, X100))
U11_GA(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T74, T77)) → INORDER14_IN_GA(T76, X100)
U11_GA(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T74, T77)) → U13_GA(T74, T75, T76, T8, T9, T11, T77, inorder14_in_ga(T76, T78))
U13_GA(T74, T75, T76, T8, T9, T11, T77, inorder14_out_ga(T76, T78)) → U14_GA(T74, T75, T76, T8, T9, T11, append27_in_agaa(T77, T75, T78, X101))
U13_GA(T74, T75, T76, T8, T9, T11, T77, inorder14_out_ga(T76, T78)) → APPEND27_IN_AGAA(T77, T75, T78, X101)
U13_GA(T74, T75, T76, T8, T9, T11, T77, inorder14_out_ga(T76, T78)) → U15_GA(T74, T75, T76, T8, T9, T11, append27_in_agaa(T77, T75, T78, T83))
U15_GA(T74, T75, T76, T8, T9, T11, append27_out_agaa(T77, T75, T78, T83)) → U16_GA(T74, T75, T76, T8, T9, T11, inorder14_in_ga(T9, X14))
U15_GA(T74, T75, T76, T8, T9, T11, append27_out_agaa(T77, T75, T78, T83)) → INORDER14_IN_GA(T9, X14)
U15_GA(T74, T75, T76, T8, T9, T11, append27_out_agaa(T77, T75, T78, T83)) → U17_GA(T74, T75, T76, T8, T9, T11, T83, inorder14_in_ga(T9, T88))
U17_GA(T74, T75, T76, T8, T9, T11, T83, inorder14_out_ga(T9, T88)) → U18_GA(T74, T75, T76, T8, T9, T11, append52_in_agaa(T83, T8, T88, T11))
U17_GA(T74, T75, T76, T8, T9, T11, T83, inorder14_out_ga(T9, T88)) → APPEND52_IN_AGAA(T83, T8, T88, T11)
APPEND52_IN_AGAA(.(T113, T114), T115, T116, .(T113, T118)) → U7_AGAA(T113, T114, T115, T116, T118, append52_in_agaa(T114, T115, T116, T118))
APPEND52_IN_AGAA(.(T113, T114), T115, T116, .(T113, T118)) → APPEND52_IN_AGAA(T114, T115, T116, T118)
inorder1_in_ga(nil, []) → inorder1_out_ga(nil, [])
inorder1_in_ga(tree(nil, T8, T9), T11) → U8_ga(T8, T9, T11, inorder14_in_ga(T9, X14))
inorder14_in_ga(nil, []) → inorder14_out_ga(nil, [])
inorder14_in_ga(tree(T19, T20, T21), X37) → U1_ga(T19, T20, T21, X37, inorder14_in_ga(T19, X35))
inorder14_in_ga(tree(T19, T20, T21), X37) → U2_ga(T19, T20, T21, X37, inorder14_in_ga(T19, T22))
U2_ga(T19, T20, T21, X37, inorder14_out_ga(T19, T22)) → U3_ga(T19, T20, T21, X37, inorder14_in_ga(T21, X36))
U3_ga(T19, T20, T21, X37, inorder14_out_ga(T21, X36)) → inorder14_out_ga(tree(T19, T20, T21), X37)
U2_ga(T19, T20, T21, X37, inorder14_out_ga(T19, T22)) → U4_ga(T19, T20, T21, X37, T22, inorder14_in_ga(T21, T23))
U4_ga(T19, T20, T21, X37, T22, inorder14_out_ga(T21, T23)) → U5_ga(T19, T20, T21, X37, append27_in_agaa(T22, T20, T23, X37))
append27_in_agaa([], T36, T37, .(T36, T37)) → append27_out_agaa([], T36, T37, .(T36, T37))
append27_in_agaa(.(T46, T47), T48, T49, .(T46, X64)) → U6_agaa(T46, T47, T48, T49, X64, append27_in_agaa(T47, T48, T49, X64))
U6_agaa(T46, T47, T48, T49, X64, append27_out_agaa(T47, T48, T49, X64)) → append27_out_agaa(.(T46, T47), T48, T49, .(T46, X64))
U5_ga(T19, T20, T21, X37, append27_out_agaa(T22, T20, T23, X37)) → inorder14_out_ga(tree(T19, T20, T21), X37)
U1_ga(T19, T20, T21, X37, inorder14_out_ga(T19, X35)) → inorder14_out_ga(tree(T19, T20, T21), X37)
U8_ga(T8, T9, T11, inorder14_out_ga(T9, X14)) → inorder1_out_ga(tree(nil, T8, T9), T11)
inorder1_in_ga(tree(nil, T66, T9), .(T66, T67)) → U9_ga(T66, T9, T67, inorder14_in_ga(T9, T67))
U9_ga(T66, T9, T67, inorder14_out_ga(T9, T67)) → inorder1_out_ga(tree(nil, T66, T9), .(T66, T67))
inorder1_in_ga(tree(tree(T74, T75, T76), T8, T9), T11) → U10_ga(T74, T75, T76, T8, T9, T11, inorder14_in_ga(T74, X99))
U10_ga(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T74, X99)) → inorder1_out_ga(tree(tree(T74, T75, T76), T8, T9), T11)
inorder1_in_ga(tree(tree(T74, T75, T76), T8, T9), T11) → U11_ga(T74, T75, T76, T8, T9, T11, inorder14_in_ga(T74, T77))
U11_ga(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T74, T77)) → U12_ga(T74, T75, T76, T8, T9, T11, inorder14_in_ga(T76, X100))
U12_ga(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T76, X100)) → inorder1_out_ga(tree(tree(T74, T75, T76), T8, T9), T11)
U11_ga(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T74, T77)) → U13_ga(T74, T75, T76, T8, T9, T11, T77, inorder14_in_ga(T76, T78))
U13_ga(T74, T75, T76, T8, T9, T11, T77, inorder14_out_ga(T76, T78)) → U14_ga(T74, T75, T76, T8, T9, T11, append27_in_agaa(T77, T75, T78, X101))
U14_ga(T74, T75, T76, T8, T9, T11, append27_out_agaa(T77, T75, T78, X101)) → inorder1_out_ga(tree(tree(T74, T75, T76), T8, T9), T11)
U13_ga(T74, T75, T76, T8, T9, T11, T77, inorder14_out_ga(T76, T78)) → U15_ga(T74, T75, T76, T8, T9, T11, append27_in_agaa(T77, T75, T78, T83))
U15_ga(T74, T75, T76, T8, T9, T11, append27_out_agaa(T77, T75, T78, T83)) → U16_ga(T74, T75, T76, T8, T9, T11, inorder14_in_ga(T9, X14))
U16_ga(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T9, X14)) → inorder1_out_ga(tree(tree(T74, T75, T76), T8, T9), T11)
U15_ga(T74, T75, T76, T8, T9, T11, append27_out_agaa(T77, T75, T78, T83)) → U17_ga(T74, T75, T76, T8, T9, T11, T83, inorder14_in_ga(T9, T88))
U17_ga(T74, T75, T76, T8, T9, T11, T83, inorder14_out_ga(T9, T88)) → U18_ga(T74, T75, T76, T8, T9, T11, append52_in_agaa(T83, T8, T88, T11))
append52_in_agaa([], T101, T102, .(T101, T102)) → append52_out_agaa([], T101, T102, .(T101, T102))
append52_in_agaa(.(T113, T114), T115, T116, .(T113, T118)) → U7_agaa(T113, T114, T115, T116, T118, append52_in_agaa(T114, T115, T116, T118))
U7_agaa(T113, T114, T115, T116, T118, append52_out_agaa(T114, T115, T116, T118)) → append52_out_agaa(.(T113, T114), T115, T116, .(T113, T118))
U18_ga(T74, T75, T76, T8, T9, T11, append52_out_agaa(T83, T8, T88, T11)) → inorder1_out_ga(tree(tree(T74, T75, T76), T8, T9), T11)
APPEND52_IN_AGAA(.(T113, T114), T115, T116, .(T113, T118)) → APPEND52_IN_AGAA(T114, T115, T116, T118)
inorder1_in_ga(nil, []) → inorder1_out_ga(nil, [])
inorder1_in_ga(tree(nil, T8, T9), T11) → U8_ga(T8, T9, T11, inorder14_in_ga(T9, X14))
inorder14_in_ga(nil, []) → inorder14_out_ga(nil, [])
inorder14_in_ga(tree(T19, T20, T21), X37) → U1_ga(T19, T20, T21, X37, inorder14_in_ga(T19, X35))
inorder14_in_ga(tree(T19, T20, T21), X37) → U2_ga(T19, T20, T21, X37, inorder14_in_ga(T19, T22))
U2_ga(T19, T20, T21, X37, inorder14_out_ga(T19, T22)) → U3_ga(T19, T20, T21, X37, inorder14_in_ga(T21, X36))
U3_ga(T19, T20, T21, X37, inorder14_out_ga(T21, X36)) → inorder14_out_ga(tree(T19, T20, T21), X37)
U2_ga(T19, T20, T21, X37, inorder14_out_ga(T19, T22)) → U4_ga(T19, T20, T21, X37, T22, inorder14_in_ga(T21, T23))
U4_ga(T19, T20, T21, X37, T22, inorder14_out_ga(T21, T23)) → U5_ga(T19, T20, T21, X37, append27_in_agaa(T22, T20, T23, X37))
append27_in_agaa([], T36, T37, .(T36, T37)) → append27_out_agaa([], T36, T37, .(T36, T37))
append27_in_agaa(.(T46, T47), T48, T49, .(T46, X64)) → U6_agaa(T46, T47, T48, T49, X64, append27_in_agaa(T47, T48, T49, X64))
U6_agaa(T46, T47, T48, T49, X64, append27_out_agaa(T47, T48, T49, X64)) → append27_out_agaa(.(T46, T47), T48, T49, .(T46, X64))
U5_ga(T19, T20, T21, X37, append27_out_agaa(T22, T20, T23, X37)) → inorder14_out_ga(tree(T19, T20, T21), X37)
U1_ga(T19, T20, T21, X37, inorder14_out_ga(T19, X35)) → inorder14_out_ga(tree(T19, T20, T21), X37)
U8_ga(T8, T9, T11, inorder14_out_ga(T9, X14)) → inorder1_out_ga(tree(nil, T8, T9), T11)
inorder1_in_ga(tree(nil, T66, T9), .(T66, T67)) → U9_ga(T66, T9, T67, inorder14_in_ga(T9, T67))
U9_ga(T66, T9, T67, inorder14_out_ga(T9, T67)) → inorder1_out_ga(tree(nil, T66, T9), .(T66, T67))
inorder1_in_ga(tree(tree(T74, T75, T76), T8, T9), T11) → U10_ga(T74, T75, T76, T8, T9, T11, inorder14_in_ga(T74, X99))
U10_ga(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T74, X99)) → inorder1_out_ga(tree(tree(T74, T75, T76), T8, T9), T11)
inorder1_in_ga(tree(tree(T74, T75, T76), T8, T9), T11) → U11_ga(T74, T75, T76, T8, T9, T11, inorder14_in_ga(T74, T77))
U11_ga(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T74, T77)) → U12_ga(T74, T75, T76, T8, T9, T11, inorder14_in_ga(T76, X100))
U12_ga(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T76, X100)) → inorder1_out_ga(tree(tree(T74, T75, T76), T8, T9), T11)
U11_ga(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T74, T77)) → U13_ga(T74, T75, T76, T8, T9, T11, T77, inorder14_in_ga(T76, T78))
U13_ga(T74, T75, T76, T8, T9, T11, T77, inorder14_out_ga(T76, T78)) → U14_ga(T74, T75, T76, T8, T9, T11, append27_in_agaa(T77, T75, T78, X101))
U14_ga(T74, T75, T76, T8, T9, T11, append27_out_agaa(T77, T75, T78, X101)) → inorder1_out_ga(tree(tree(T74, T75, T76), T8, T9), T11)
U13_ga(T74, T75, T76, T8, T9, T11, T77, inorder14_out_ga(T76, T78)) → U15_ga(T74, T75, T76, T8, T9, T11, append27_in_agaa(T77, T75, T78, T83))
U15_ga(T74, T75, T76, T8, T9, T11, append27_out_agaa(T77, T75, T78, T83)) → U16_ga(T74, T75, T76, T8, T9, T11, inorder14_in_ga(T9, X14))
U16_ga(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T9, X14)) → inorder1_out_ga(tree(tree(T74, T75, T76), T8, T9), T11)
U15_ga(T74, T75, T76, T8, T9, T11, append27_out_agaa(T77, T75, T78, T83)) → U17_ga(T74, T75, T76, T8, T9, T11, T83, inorder14_in_ga(T9, T88))
U17_ga(T74, T75, T76, T8, T9, T11, T83, inorder14_out_ga(T9, T88)) → U18_ga(T74, T75, T76, T8, T9, T11, append52_in_agaa(T83, T8, T88, T11))
append52_in_agaa([], T101, T102, .(T101, T102)) → append52_out_agaa([], T101, T102, .(T101, T102))
append52_in_agaa(.(T113, T114), T115, T116, .(T113, T118)) → U7_agaa(T113, T114, T115, T116, T118, append52_in_agaa(T114, T115, T116, T118))
U7_agaa(T113, T114, T115, T116, T118, append52_out_agaa(T114, T115, T116, T118)) → append52_out_agaa(.(T113, T114), T115, T116, .(T113, T118))
U18_ga(T74, T75, T76, T8, T9, T11, append52_out_agaa(T83, T8, T88, T11)) → inorder1_out_ga(tree(tree(T74, T75, T76), T8, T9), T11)
APPEND52_IN_AGAA(.(T113, T114), T115, T116, .(T113, T118)) → APPEND52_IN_AGAA(T114, T115, T116, T118)
APPEND52_IN_AGAA(T115) → APPEND52_IN_AGAA(T115)
APPEND27_IN_AGAA(.(T46, T47), T48, T49, .(T46, X64)) → APPEND27_IN_AGAA(T47, T48, T49, X64)
inorder1_in_ga(nil, []) → inorder1_out_ga(nil, [])
inorder1_in_ga(tree(nil, T8, T9), T11) → U8_ga(T8, T9, T11, inorder14_in_ga(T9, X14))
inorder14_in_ga(nil, []) → inorder14_out_ga(nil, [])
inorder14_in_ga(tree(T19, T20, T21), X37) → U1_ga(T19, T20, T21, X37, inorder14_in_ga(T19, X35))
inorder14_in_ga(tree(T19, T20, T21), X37) → U2_ga(T19, T20, T21, X37, inorder14_in_ga(T19, T22))
U2_ga(T19, T20, T21, X37, inorder14_out_ga(T19, T22)) → U3_ga(T19, T20, T21, X37, inorder14_in_ga(T21, X36))
U3_ga(T19, T20, T21, X37, inorder14_out_ga(T21, X36)) → inorder14_out_ga(tree(T19, T20, T21), X37)
U2_ga(T19, T20, T21, X37, inorder14_out_ga(T19, T22)) → U4_ga(T19, T20, T21, X37, T22, inorder14_in_ga(T21, T23))
U4_ga(T19, T20, T21, X37, T22, inorder14_out_ga(T21, T23)) → U5_ga(T19, T20, T21, X37, append27_in_agaa(T22, T20, T23, X37))
append27_in_agaa([], T36, T37, .(T36, T37)) → append27_out_agaa([], T36, T37, .(T36, T37))
append27_in_agaa(.(T46, T47), T48, T49, .(T46, X64)) → U6_agaa(T46, T47, T48, T49, X64, append27_in_agaa(T47, T48, T49, X64))
U6_agaa(T46, T47, T48, T49, X64, append27_out_agaa(T47, T48, T49, X64)) → append27_out_agaa(.(T46, T47), T48, T49, .(T46, X64))
U5_ga(T19, T20, T21, X37, append27_out_agaa(T22, T20, T23, X37)) → inorder14_out_ga(tree(T19, T20, T21), X37)
U1_ga(T19, T20, T21, X37, inorder14_out_ga(T19, X35)) → inorder14_out_ga(tree(T19, T20, T21), X37)
U8_ga(T8, T9, T11, inorder14_out_ga(T9, X14)) → inorder1_out_ga(tree(nil, T8, T9), T11)
inorder1_in_ga(tree(nil, T66, T9), .(T66, T67)) → U9_ga(T66, T9, T67, inorder14_in_ga(T9, T67))
U9_ga(T66, T9, T67, inorder14_out_ga(T9, T67)) → inorder1_out_ga(tree(nil, T66, T9), .(T66, T67))
inorder1_in_ga(tree(tree(T74, T75, T76), T8, T9), T11) → U10_ga(T74, T75, T76, T8, T9, T11, inorder14_in_ga(T74, X99))
U10_ga(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T74, X99)) → inorder1_out_ga(tree(tree(T74, T75, T76), T8, T9), T11)
inorder1_in_ga(tree(tree(T74, T75, T76), T8, T9), T11) → U11_ga(T74, T75, T76, T8, T9, T11, inorder14_in_ga(T74, T77))
U11_ga(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T74, T77)) → U12_ga(T74, T75, T76, T8, T9, T11, inorder14_in_ga(T76, X100))
U12_ga(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T76, X100)) → inorder1_out_ga(tree(tree(T74, T75, T76), T8, T9), T11)
U11_ga(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T74, T77)) → U13_ga(T74, T75, T76, T8, T9, T11, T77, inorder14_in_ga(T76, T78))
U13_ga(T74, T75, T76, T8, T9, T11, T77, inorder14_out_ga(T76, T78)) → U14_ga(T74, T75, T76, T8, T9, T11, append27_in_agaa(T77, T75, T78, X101))
U14_ga(T74, T75, T76, T8, T9, T11, append27_out_agaa(T77, T75, T78, X101)) → inorder1_out_ga(tree(tree(T74, T75, T76), T8, T9), T11)
U13_ga(T74, T75, T76, T8, T9, T11, T77, inorder14_out_ga(T76, T78)) → U15_ga(T74, T75, T76, T8, T9, T11, append27_in_agaa(T77, T75, T78, T83))
U15_ga(T74, T75, T76, T8, T9, T11, append27_out_agaa(T77, T75, T78, T83)) → U16_ga(T74, T75, T76, T8, T9, T11, inorder14_in_ga(T9, X14))
U16_ga(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T9, X14)) → inorder1_out_ga(tree(tree(T74, T75, T76), T8, T9), T11)
U15_ga(T74, T75, T76, T8, T9, T11, append27_out_agaa(T77, T75, T78, T83)) → U17_ga(T74, T75, T76, T8, T9, T11, T83, inorder14_in_ga(T9, T88))
U17_ga(T74, T75, T76, T8, T9, T11, T83, inorder14_out_ga(T9, T88)) → U18_ga(T74, T75, T76, T8, T9, T11, append52_in_agaa(T83, T8, T88, T11))
append52_in_agaa([], T101, T102, .(T101, T102)) → append52_out_agaa([], T101, T102, .(T101, T102))
append52_in_agaa(.(T113, T114), T115, T116, .(T113, T118)) → U7_agaa(T113, T114, T115, T116, T118, append52_in_agaa(T114, T115, T116, T118))
U7_agaa(T113, T114, T115, T116, T118, append52_out_agaa(T114, T115, T116, T118)) → append52_out_agaa(.(T113, T114), T115, T116, .(T113, T118))
U18_ga(T74, T75, T76, T8, T9, T11, append52_out_agaa(T83, T8, T88, T11)) → inorder1_out_ga(tree(tree(T74, T75, T76), T8, T9), T11)
APPEND27_IN_AGAA(.(T46, T47), T48, T49, .(T46, X64)) → APPEND27_IN_AGAA(T47, T48, T49, X64)
APPEND27_IN_AGAA(T48) → APPEND27_IN_AGAA(T48)
INORDER14_IN_GA(tree(T19, T20, T21), X37) → U2_GA(T19, T20, T21, X37, inorder14_in_ga(T19, T22))
U2_GA(T19, T20, T21, X37, inorder14_out_ga(T19, T22)) → INORDER14_IN_GA(T21, X36)
INORDER14_IN_GA(tree(T19, T20, T21), X37) → INORDER14_IN_GA(T19, X35)
inorder1_in_ga(nil, []) → inorder1_out_ga(nil, [])
inorder1_in_ga(tree(nil, T8, T9), T11) → U8_ga(T8, T9, T11, inorder14_in_ga(T9, X14))
inorder14_in_ga(nil, []) → inorder14_out_ga(nil, [])
inorder14_in_ga(tree(T19, T20, T21), X37) → U1_ga(T19, T20, T21, X37, inorder14_in_ga(T19, X35))
inorder14_in_ga(tree(T19, T20, T21), X37) → U2_ga(T19, T20, T21, X37, inorder14_in_ga(T19, T22))
U2_ga(T19, T20, T21, X37, inorder14_out_ga(T19, T22)) → U3_ga(T19, T20, T21, X37, inorder14_in_ga(T21, X36))
U3_ga(T19, T20, T21, X37, inorder14_out_ga(T21, X36)) → inorder14_out_ga(tree(T19, T20, T21), X37)
U2_ga(T19, T20, T21, X37, inorder14_out_ga(T19, T22)) → U4_ga(T19, T20, T21, X37, T22, inorder14_in_ga(T21, T23))
U4_ga(T19, T20, T21, X37, T22, inorder14_out_ga(T21, T23)) → U5_ga(T19, T20, T21, X37, append27_in_agaa(T22, T20, T23, X37))
append27_in_agaa([], T36, T37, .(T36, T37)) → append27_out_agaa([], T36, T37, .(T36, T37))
append27_in_agaa(.(T46, T47), T48, T49, .(T46, X64)) → U6_agaa(T46, T47, T48, T49, X64, append27_in_agaa(T47, T48, T49, X64))
U6_agaa(T46, T47, T48, T49, X64, append27_out_agaa(T47, T48, T49, X64)) → append27_out_agaa(.(T46, T47), T48, T49, .(T46, X64))
U5_ga(T19, T20, T21, X37, append27_out_agaa(T22, T20, T23, X37)) → inorder14_out_ga(tree(T19, T20, T21), X37)
U1_ga(T19, T20, T21, X37, inorder14_out_ga(T19, X35)) → inorder14_out_ga(tree(T19, T20, T21), X37)
U8_ga(T8, T9, T11, inorder14_out_ga(T9, X14)) → inorder1_out_ga(tree(nil, T8, T9), T11)
inorder1_in_ga(tree(nil, T66, T9), .(T66, T67)) → U9_ga(T66, T9, T67, inorder14_in_ga(T9, T67))
U9_ga(T66, T9, T67, inorder14_out_ga(T9, T67)) → inorder1_out_ga(tree(nil, T66, T9), .(T66, T67))
inorder1_in_ga(tree(tree(T74, T75, T76), T8, T9), T11) → U10_ga(T74, T75, T76, T8, T9, T11, inorder14_in_ga(T74, X99))
U10_ga(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T74, X99)) → inorder1_out_ga(tree(tree(T74, T75, T76), T8, T9), T11)
inorder1_in_ga(tree(tree(T74, T75, T76), T8, T9), T11) → U11_ga(T74, T75, T76, T8, T9, T11, inorder14_in_ga(T74, T77))
U11_ga(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T74, T77)) → U12_ga(T74, T75, T76, T8, T9, T11, inorder14_in_ga(T76, X100))
U12_ga(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T76, X100)) → inorder1_out_ga(tree(tree(T74, T75, T76), T8, T9), T11)
U11_ga(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T74, T77)) → U13_ga(T74, T75, T76, T8, T9, T11, T77, inorder14_in_ga(T76, T78))
U13_ga(T74, T75, T76, T8, T9, T11, T77, inorder14_out_ga(T76, T78)) → U14_ga(T74, T75, T76, T8, T9, T11, append27_in_agaa(T77, T75, T78, X101))
U14_ga(T74, T75, T76, T8, T9, T11, append27_out_agaa(T77, T75, T78, X101)) → inorder1_out_ga(tree(tree(T74, T75, T76), T8, T9), T11)
U13_ga(T74, T75, T76, T8, T9, T11, T77, inorder14_out_ga(T76, T78)) → U15_ga(T74, T75, T76, T8, T9, T11, append27_in_agaa(T77, T75, T78, T83))
U15_ga(T74, T75, T76, T8, T9, T11, append27_out_agaa(T77, T75, T78, T83)) → U16_ga(T74, T75, T76, T8, T9, T11, inorder14_in_ga(T9, X14))
U16_ga(T74, T75, T76, T8, T9, T11, inorder14_out_ga(T9, X14)) → inorder1_out_ga(tree(tree(T74, T75, T76), T8, T9), T11)
U15_ga(T74, T75, T76, T8, T9, T11, append27_out_agaa(T77, T75, T78, T83)) → U17_ga(T74, T75, T76, T8, T9, T11, T83, inorder14_in_ga(T9, T88))
U17_ga(T74, T75, T76, T8, T9, T11, T83, inorder14_out_ga(T9, T88)) → U18_ga(T74, T75, T76, T8, T9, T11, append52_in_agaa(T83, T8, T88, T11))
append52_in_agaa([], T101, T102, .(T101, T102)) → append52_out_agaa([], T101, T102, .(T101, T102))
append52_in_agaa(.(T113, T114), T115, T116, .(T113, T118)) → U7_agaa(T113, T114, T115, T116, T118, append52_in_agaa(T114, T115, T116, T118))
U7_agaa(T113, T114, T115, T116, T118, append52_out_agaa(T114, T115, T116, T118)) → append52_out_agaa(.(T113, T114), T115, T116, .(T113, T118))
U18_ga(T74, T75, T76, T8, T9, T11, append52_out_agaa(T83, T8, T88, T11)) → inorder1_out_ga(tree(tree(T74, T75, T76), T8, T9), T11)
INORDER14_IN_GA(tree(T19, T20, T21), X37) → U2_GA(T19, T20, T21, X37, inorder14_in_ga(T19, T22))
U2_GA(T19, T20, T21, X37, inorder14_out_ga(T19, T22)) → INORDER14_IN_GA(T21, X36)
INORDER14_IN_GA(tree(T19, T20, T21), X37) → INORDER14_IN_GA(T19, X35)
inorder14_in_ga(nil, []) → inorder14_out_ga(nil, [])
inorder14_in_ga(tree(T19, T20, T21), X37) → U1_ga(T19, T20, T21, X37, inorder14_in_ga(T19, X35))
inorder14_in_ga(tree(T19, T20, T21), X37) → U2_ga(T19, T20, T21, X37, inorder14_in_ga(T19, T22))
U1_ga(T19, T20, T21, X37, inorder14_out_ga(T19, X35)) → inorder14_out_ga(tree(T19, T20, T21), X37)
U2_ga(T19, T20, T21, X37, inorder14_out_ga(T19, T22)) → U3_ga(T19, T20, T21, X37, inorder14_in_ga(T21, X36))
U2_ga(T19, T20, T21, X37, inorder14_out_ga(T19, T22)) → U4_ga(T19, T20, T21, X37, T22, inorder14_in_ga(T21, T23))
U3_ga(T19, T20, T21, X37, inorder14_out_ga(T21, X36)) → inorder14_out_ga(tree(T19, T20, T21), X37)
U4_ga(T19, T20, T21, X37, T22, inorder14_out_ga(T21, T23)) → U5_ga(T19, T20, T21, X37, append27_in_agaa(T22, T20, T23, X37))
U5_ga(T19, T20, T21, X37, append27_out_agaa(T22, T20, T23, X37)) → inorder14_out_ga(tree(T19, T20, T21), X37)
append27_in_agaa([], T36, T37, .(T36, T37)) → append27_out_agaa([], T36, T37, .(T36, T37))
append27_in_agaa(.(T46, T47), T48, T49, .(T46, X64)) → U6_agaa(T46, T47, T48, T49, X64, append27_in_agaa(T47, T48, T49, X64))
U6_agaa(T46, T47, T48, T49, X64, append27_out_agaa(T47, T48, T49, X64)) → append27_out_agaa(.(T46, T47), T48, T49, .(T46, X64))
INORDER14_IN_GA(tree(T19, T20, T21)) → U2_GA(T20, T21, inorder14_in_ga(T19))
U2_GA(T20, T21, inorder14_out_ga) → INORDER14_IN_GA(T21)
INORDER14_IN_GA(tree(T19, T20, T21)) → INORDER14_IN_GA(T19)
inorder14_in_ga(nil) → inorder14_out_ga
inorder14_in_ga(tree(T19, T20, T21)) → U1_ga(inorder14_in_ga(T19))
inorder14_in_ga(tree(T19, T20, T21)) → U2_ga(T20, T21, inorder14_in_ga(T19))
U1_ga(inorder14_out_ga) → inorder14_out_ga
U2_ga(T20, T21, inorder14_out_ga) → U3_ga(inorder14_in_ga(T21))
U2_ga(T20, T21, inorder14_out_ga) → U4_ga(T20, inorder14_in_ga(T21))
U3_ga(inorder14_out_ga) → inorder14_out_ga
U4_ga(T20, inorder14_out_ga) → U5_ga(append27_in_agaa(T20))
U5_ga(append27_out_agaa(T22)) → inorder14_out_ga
append27_in_agaa(T36) → append27_out_agaa([])
append27_in_agaa(T48) → U6_agaa(append27_in_agaa(T48))
U6_agaa(append27_out_agaa(T47)) → append27_out_agaa(.(T47))
inorder14_in_ga(x0)
U1_ga(x0)
U2_ga(x0, x1, x2)
U3_ga(x0)
U4_ga(x0, x1)
U5_ga(x0)
append27_in_agaa(x0)
U6_agaa(x0)
From the DPs we obtained the following set of size-change graphs: