0 Prolog
↳1 PrologToPrologProblemTransformerProof (⇐)
↳2 Prolog
↳3 PrologToPiTRSProof (⇐)
↳4 PiTRS
↳5 DependencyPairsProof (⇔)
↳6 PiDP
↳7 DependencyGraphProof (⇔)
↳8 AND
↳9 PiDP
↳10 UsableRulesProof (⇔)
↳11 PiDP
↳12 PiDPToQDPProof (⇐)
↳13 QDP
↳14 QDPSizeChangeProof (⇔)
↳15 TRUE
↳16 PiDP
↳17 UsableRulesProof (⇔)
↳18 PiDP
↳19 PiDPToQDPProof (⇐)
↳20 QDP
↳21 QDPSizeChangeProof (⇔)
↳22 TRUE
↳23 PiDP
↳24 PiDPToQDPProof (⇐)
↳25 QDP
↳26 QDPOrderProof (⇔)
↳27 QDP
↳28 DependencyGraphProof (⇔)
↳29 TRUE
in_order1_in_ag(void, []) → in_order1_out_ag(void, [])
in_order1_in_ag(void, T6) → U3_ag(T6, app16_in_aaag(X17, X23, X18, T6))
app16_in_aaag([], X27, X28, .(X27, X28)) → app16_out_aaag([], X27, X28, .(X27, X28))
app16_in_aaag(.(X37, X38), X39, X40, .(X37, T11)) → U1_aaag(X37, X38, X39, X40, T11, app16_in_aaag(X38, X39, X40, T11))
U1_aaag(X37, X38, X39, X40, T11, app16_out_aaag(X38, X39, X40, T11)) → app16_out_aaag(.(X37, X38), X39, X40, .(X37, T11))
U3_ag(T6, app16_out_aaag(X17, X23, X18, T6)) → in_order1_out_ag(void, T6)
in_order1_in_ag(void, T6) → U4_ag(T6, app16_in_aaag(T8, T9, T10, T6))
U4_ag(T6, app16_out_aaag(T8, T9, T10, T6)) → U5_ag(T6, T10, in_order30_in_g(T8))
in_order30_in_g([]) → in_order30_out_g([])
U5_ag(T6, T10, in_order30_out_g(T8)) → in_order1_out_ag(void, T6)
U5_ag(T6, T10, in_order30_out_g(T8)) → U6_ag(T6, in_order30_in_g(T10))
U6_ag(T6, in_order30_out_g(T10)) → in_order1_out_ag(void, T6)
in_order1_in_ag(node(T18, T17, T19), T6) → U7_ag(T18, T17, T19, T6, app47_in_aaag(X17, T17, X18, T6))
app47_in_aaag([], T25, X60, .(T25, X60)) → app47_out_aaag([], T25, X60, .(T25, X60))
app47_in_aaag(.(X69, X70), T28, X71, .(X69, T27)) → U2_aaag(X69, X70, T28, X71, T27, app47_in_aaag(X70, T28, X71, T27))
U2_aaag(X69, X70, T28, X71, T27, app47_out_aaag(X70, T28, X71, T27)) → app47_out_aaag(.(X69, X70), T28, X71, .(X69, T27))
U7_ag(T18, T17, T19, T6, app47_out_aaag(X17, T17, X18, T6)) → in_order1_out_ag(node(T18, T17, T19), T6)
in_order1_in_ag(node(T32, T30, T33), T6) → U8_ag(T32, T30, T33, T6, app47_in_aaag(T20, T30, T21, T6))
U8_ag(T32, T30, T33, T6, app47_out_aaag(T20, T30, T21, T6)) → U9_ag(T32, T30, T33, T6, in_order1_in_ag(T32, T20))
in_order1_in_ag(node(T36, T37, T39), T6) → U10_ag(T36, T37, T39, T6, app47_in_aaag(T20, T37, T21, T6))
U10_ag(T36, T37, T39, T6, app47_out_aaag(T20, T37, T21, T6)) → U11_ag(T36, T37, T39, T6, T21, in_order1_in_ag(T36, T20))
in_order1_in_ag(node(T44, T43, T45), T6) → U13_ag(T44, T43, T45, T6, p45_in_aaagaaaa(X17, T43, X18, T6, T44, T45, X19, X20))
p45_in_aaagaaaa(X17, T17, X18, T6, T18, T19, X19, X20) → U14_aaagaaaa(X17, T17, X18, T6, T18, T19, X19, X20, app47_in_aaag(X17, T17, X18, T6))
U14_aaagaaaa(X17, T17, X18, T6, T18, T19, X19, X20, app47_out_aaag(X17, T17, X18, T6)) → p45_out_aaagaaaa(X17, T17, X18, T6, T18, T19, X19, X20)
p45_in_aaagaaaa(T20, T30, T21, T6, T32, T33, T32, X20) → U15_aaagaaaa(T20, T30, T21, T6, T32, T33, X20, app47_in_aaag(T20, T30, T21, T6))
U15_aaagaaaa(T20, T30, T21, T6, T32, T33, X20, app47_out_aaag(T20, T30, T21, T6)) → U16_aaagaaaa(T20, T30, T21, T6, T32, T33, X20, in_order1_in_ag(T32, T20))
U16_aaagaaaa(T20, T30, T21, T6, T32, T33, X20, in_order1_out_ag(T32, T20)) → p45_out_aaagaaaa(T20, T30, T21, T6, T32, T33, T32, X20)
p45_in_aaagaaaa(T20, T37, T21, T6, T36, T39, T36, T39) → U17_aaagaaaa(T20, T37, T21, T6, T36, T39, app47_in_aaag(T20, T37, T21, T6))
U17_aaagaaaa(T20, T37, T21, T6, T36, T39, app47_out_aaag(T20, T37, T21, T6)) → U18_aaagaaaa(T20, T37, T21, T6, T36, T39, in_order1_in_ag(T36, T20))
U18_aaagaaaa(T20, T37, T21, T6, T36, T39, in_order1_out_ag(T36, T20)) → U19_aaagaaaa(T20, T37, T21, T6, T36, T39, in_order1_in_ag(T39, T21))
U19_aaagaaaa(T20, T37, T21, T6, T36, T39, in_order1_out_ag(T39, T21)) → p45_out_aaagaaaa(T20, T37, T21, T6, T36, T39, T36, T39)
U13_ag(T44, T43, T45, T6, p45_out_aaagaaaa(X17, T43, X18, T6, T44, T45, X19, X20)) → in_order1_out_ag(node(T44, T43, T45), T6)
U11_ag(T36, T37, T39, T6, T21, in_order1_out_ag(T36, T20)) → U12_ag(T36, T37, T39, T6, in_order1_in_ag(T39, T21))
U12_ag(T36, T37, T39, T6, in_order1_out_ag(T39, T21)) → in_order1_out_ag(node(T36, T37, T39), T6)
U9_ag(T32, T30, T33, T6, in_order1_out_ag(T32, T20)) → in_order1_out_ag(node(T32, T30, T33), T6)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
in_order1_in_ag(void, []) → in_order1_out_ag(void, [])
in_order1_in_ag(void, T6) → U3_ag(T6, app16_in_aaag(X17, X23, X18, T6))
app16_in_aaag([], X27, X28, .(X27, X28)) → app16_out_aaag([], X27, X28, .(X27, X28))
app16_in_aaag(.(X37, X38), X39, X40, .(X37, T11)) → U1_aaag(X37, X38, X39, X40, T11, app16_in_aaag(X38, X39, X40, T11))
U1_aaag(X37, X38, X39, X40, T11, app16_out_aaag(X38, X39, X40, T11)) → app16_out_aaag(.(X37, X38), X39, X40, .(X37, T11))
U3_ag(T6, app16_out_aaag(X17, X23, X18, T6)) → in_order1_out_ag(void, T6)
in_order1_in_ag(void, T6) → U4_ag(T6, app16_in_aaag(T8, T9, T10, T6))
U4_ag(T6, app16_out_aaag(T8, T9, T10, T6)) → U5_ag(T6, T10, in_order30_in_g(T8))
in_order30_in_g([]) → in_order30_out_g([])
U5_ag(T6, T10, in_order30_out_g(T8)) → in_order1_out_ag(void, T6)
U5_ag(T6, T10, in_order30_out_g(T8)) → U6_ag(T6, in_order30_in_g(T10))
U6_ag(T6, in_order30_out_g(T10)) → in_order1_out_ag(void, T6)
in_order1_in_ag(node(T18, T17, T19), T6) → U7_ag(T18, T17, T19, T6, app47_in_aaag(X17, T17, X18, T6))
app47_in_aaag([], T25, X60, .(T25, X60)) → app47_out_aaag([], T25, X60, .(T25, X60))
app47_in_aaag(.(X69, X70), T28, X71, .(X69, T27)) → U2_aaag(X69, X70, T28, X71, T27, app47_in_aaag(X70, T28, X71, T27))
U2_aaag(X69, X70, T28, X71, T27, app47_out_aaag(X70, T28, X71, T27)) → app47_out_aaag(.(X69, X70), T28, X71, .(X69, T27))
U7_ag(T18, T17, T19, T6, app47_out_aaag(X17, T17, X18, T6)) → in_order1_out_ag(node(T18, T17, T19), T6)
in_order1_in_ag(node(T32, T30, T33), T6) → U8_ag(T32, T30, T33, T6, app47_in_aaag(T20, T30, T21, T6))
U8_ag(T32, T30, T33, T6, app47_out_aaag(T20, T30, T21, T6)) → U9_ag(T32, T30, T33, T6, in_order1_in_ag(T32, T20))
in_order1_in_ag(node(T36, T37, T39), T6) → U10_ag(T36, T37, T39, T6, app47_in_aaag(T20, T37, T21, T6))
U10_ag(T36, T37, T39, T6, app47_out_aaag(T20, T37, T21, T6)) → U11_ag(T36, T37, T39, T6, T21, in_order1_in_ag(T36, T20))
in_order1_in_ag(node(T44, T43, T45), T6) → U13_ag(T44, T43, T45, T6, p45_in_aaagaaaa(X17, T43, X18, T6, T44, T45, X19, X20))
p45_in_aaagaaaa(X17, T17, X18, T6, T18, T19, X19, X20) → U14_aaagaaaa(X17, T17, X18, T6, T18, T19, X19, X20, app47_in_aaag(X17, T17, X18, T6))
U14_aaagaaaa(X17, T17, X18, T6, T18, T19, X19, X20, app47_out_aaag(X17, T17, X18, T6)) → p45_out_aaagaaaa(X17, T17, X18, T6, T18, T19, X19, X20)
p45_in_aaagaaaa(T20, T30, T21, T6, T32, T33, T32, X20) → U15_aaagaaaa(T20, T30, T21, T6, T32, T33, X20, app47_in_aaag(T20, T30, T21, T6))
U15_aaagaaaa(T20, T30, T21, T6, T32, T33, X20, app47_out_aaag(T20, T30, T21, T6)) → U16_aaagaaaa(T20, T30, T21, T6, T32, T33, X20, in_order1_in_ag(T32, T20))
U16_aaagaaaa(T20, T30, T21, T6, T32, T33, X20, in_order1_out_ag(T32, T20)) → p45_out_aaagaaaa(T20, T30, T21, T6, T32, T33, T32, X20)
p45_in_aaagaaaa(T20, T37, T21, T6, T36, T39, T36, T39) → U17_aaagaaaa(T20, T37, T21, T6, T36, T39, app47_in_aaag(T20, T37, T21, T6))
U17_aaagaaaa(T20, T37, T21, T6, T36, T39, app47_out_aaag(T20, T37, T21, T6)) → U18_aaagaaaa(T20, T37, T21, T6, T36, T39, in_order1_in_ag(T36, T20))
U18_aaagaaaa(T20, T37, T21, T6, T36, T39, in_order1_out_ag(T36, T20)) → U19_aaagaaaa(T20, T37, T21, T6, T36, T39, in_order1_in_ag(T39, T21))
U19_aaagaaaa(T20, T37, T21, T6, T36, T39, in_order1_out_ag(T39, T21)) → p45_out_aaagaaaa(T20, T37, T21, T6, T36, T39, T36, T39)
U13_ag(T44, T43, T45, T6, p45_out_aaagaaaa(X17, T43, X18, T6, T44, T45, X19, X20)) → in_order1_out_ag(node(T44, T43, T45), T6)
U11_ag(T36, T37, T39, T6, T21, in_order1_out_ag(T36, T20)) → U12_ag(T36, T37, T39, T6, in_order1_in_ag(T39, T21))
U12_ag(T36, T37, T39, T6, in_order1_out_ag(T39, T21)) → in_order1_out_ag(node(T36, T37, T39), T6)
U9_ag(T32, T30, T33, T6, in_order1_out_ag(T32, T20)) → in_order1_out_ag(node(T32, T30, T33), T6)
IN_ORDER1_IN_AG(void, T6) → U3_AG(T6, app16_in_aaag(X17, X23, X18, T6))
IN_ORDER1_IN_AG(void, T6) → APP16_IN_AAAG(X17, X23, X18, T6)
APP16_IN_AAAG(.(X37, X38), X39, X40, .(X37, T11)) → U1_AAAG(X37, X38, X39, X40, T11, app16_in_aaag(X38, X39, X40, T11))
APP16_IN_AAAG(.(X37, X38), X39, X40, .(X37, T11)) → APP16_IN_AAAG(X38, X39, X40, T11)
IN_ORDER1_IN_AG(void, T6) → U4_AG(T6, app16_in_aaag(T8, T9, T10, T6))
U4_AG(T6, app16_out_aaag(T8, T9, T10, T6)) → U5_AG(T6, T10, in_order30_in_g(T8))
U4_AG(T6, app16_out_aaag(T8, T9, T10, T6)) → IN_ORDER30_IN_G(T8)
U5_AG(T6, T10, in_order30_out_g(T8)) → U6_AG(T6, in_order30_in_g(T10))
U5_AG(T6, T10, in_order30_out_g(T8)) → IN_ORDER30_IN_G(T10)
IN_ORDER1_IN_AG(node(T18, T17, T19), T6) → U7_AG(T18, T17, T19, T6, app47_in_aaag(X17, T17, X18, T6))
IN_ORDER1_IN_AG(node(T18, T17, T19), T6) → APP47_IN_AAAG(X17, T17, X18, T6)
APP47_IN_AAAG(.(X69, X70), T28, X71, .(X69, T27)) → U2_AAAG(X69, X70, T28, X71, T27, app47_in_aaag(X70, T28, X71, T27))
APP47_IN_AAAG(.(X69, X70), T28, X71, .(X69, T27)) → APP47_IN_AAAG(X70, T28, X71, T27)
IN_ORDER1_IN_AG(node(T32, T30, T33), T6) → U8_AG(T32, T30, T33, T6, app47_in_aaag(T20, T30, T21, T6))
U8_AG(T32, T30, T33, T6, app47_out_aaag(T20, T30, T21, T6)) → U9_AG(T32, T30, T33, T6, in_order1_in_ag(T32, T20))
U8_AG(T32, T30, T33, T6, app47_out_aaag(T20, T30, T21, T6)) → IN_ORDER1_IN_AG(T32, T20)
IN_ORDER1_IN_AG(node(T36, T37, T39), T6) → U10_AG(T36, T37, T39, T6, app47_in_aaag(T20, T37, T21, T6))
U10_AG(T36, T37, T39, T6, app47_out_aaag(T20, T37, T21, T6)) → U11_AG(T36, T37, T39, T6, T21, in_order1_in_ag(T36, T20))
U10_AG(T36, T37, T39, T6, app47_out_aaag(T20, T37, T21, T6)) → IN_ORDER1_IN_AG(T36, T20)
IN_ORDER1_IN_AG(node(T44, T43, T45), T6) → U13_AG(T44, T43, T45, T6, p45_in_aaagaaaa(X17, T43, X18, T6, T44, T45, X19, X20))
IN_ORDER1_IN_AG(node(T44, T43, T45), T6) → P45_IN_AAAGAAAA(X17, T43, X18, T6, T44, T45, X19, X20)
P45_IN_AAAGAAAA(X17, T17, X18, T6, T18, T19, X19, X20) → U14_AAAGAAAA(X17, T17, X18, T6, T18, T19, X19, X20, app47_in_aaag(X17, T17, X18, T6))
P45_IN_AAAGAAAA(X17, T17, X18, T6, T18, T19, X19, X20) → APP47_IN_AAAG(X17, T17, X18, T6)
P45_IN_AAAGAAAA(T20, T30, T21, T6, T32, T33, T32, X20) → U15_AAAGAAAA(T20, T30, T21, T6, T32, T33, X20, app47_in_aaag(T20, T30, T21, T6))
P45_IN_AAAGAAAA(T20, T30, T21, T6, T32, T33, T32, X20) → APP47_IN_AAAG(T20, T30, T21, T6)
U15_AAAGAAAA(T20, T30, T21, T6, T32, T33, X20, app47_out_aaag(T20, T30, T21, T6)) → U16_AAAGAAAA(T20, T30, T21, T6, T32, T33, X20, in_order1_in_ag(T32, T20))
U15_AAAGAAAA(T20, T30, T21, T6, T32, T33, X20, app47_out_aaag(T20, T30, T21, T6)) → IN_ORDER1_IN_AG(T32, T20)
P45_IN_AAAGAAAA(T20, T37, T21, T6, T36, T39, T36, T39) → U17_AAAGAAAA(T20, T37, T21, T6, T36, T39, app47_in_aaag(T20, T37, T21, T6))
P45_IN_AAAGAAAA(T20, T37, T21, T6, T36, T39, T36, T39) → APP47_IN_AAAG(T20, T37, T21, T6)
U17_AAAGAAAA(T20, T37, T21, T6, T36, T39, app47_out_aaag(T20, T37, T21, T6)) → U18_AAAGAAAA(T20, T37, T21, T6, T36, T39, in_order1_in_ag(T36, T20))
U17_AAAGAAAA(T20, T37, T21, T6, T36, T39, app47_out_aaag(T20, T37, T21, T6)) → IN_ORDER1_IN_AG(T36, T20)
U18_AAAGAAAA(T20, T37, T21, T6, T36, T39, in_order1_out_ag(T36, T20)) → U19_AAAGAAAA(T20, T37, T21, T6, T36, T39, in_order1_in_ag(T39, T21))
U18_AAAGAAAA(T20, T37, T21, T6, T36, T39, in_order1_out_ag(T36, T20)) → IN_ORDER1_IN_AG(T39, T21)
U11_AG(T36, T37, T39, T6, T21, in_order1_out_ag(T36, T20)) → U12_AG(T36, T37, T39, T6, in_order1_in_ag(T39, T21))
U11_AG(T36, T37, T39, T6, T21, in_order1_out_ag(T36, T20)) → IN_ORDER1_IN_AG(T39, T21)
in_order1_in_ag(void, []) → in_order1_out_ag(void, [])
in_order1_in_ag(void, T6) → U3_ag(T6, app16_in_aaag(X17, X23, X18, T6))
app16_in_aaag([], X27, X28, .(X27, X28)) → app16_out_aaag([], X27, X28, .(X27, X28))
app16_in_aaag(.(X37, X38), X39, X40, .(X37, T11)) → U1_aaag(X37, X38, X39, X40, T11, app16_in_aaag(X38, X39, X40, T11))
U1_aaag(X37, X38, X39, X40, T11, app16_out_aaag(X38, X39, X40, T11)) → app16_out_aaag(.(X37, X38), X39, X40, .(X37, T11))
U3_ag(T6, app16_out_aaag(X17, X23, X18, T6)) → in_order1_out_ag(void, T6)
in_order1_in_ag(void, T6) → U4_ag(T6, app16_in_aaag(T8, T9, T10, T6))
U4_ag(T6, app16_out_aaag(T8, T9, T10, T6)) → U5_ag(T6, T10, in_order30_in_g(T8))
in_order30_in_g([]) → in_order30_out_g([])
U5_ag(T6, T10, in_order30_out_g(T8)) → in_order1_out_ag(void, T6)
U5_ag(T6, T10, in_order30_out_g(T8)) → U6_ag(T6, in_order30_in_g(T10))
U6_ag(T6, in_order30_out_g(T10)) → in_order1_out_ag(void, T6)
in_order1_in_ag(node(T18, T17, T19), T6) → U7_ag(T18, T17, T19, T6, app47_in_aaag(X17, T17, X18, T6))
app47_in_aaag([], T25, X60, .(T25, X60)) → app47_out_aaag([], T25, X60, .(T25, X60))
app47_in_aaag(.(X69, X70), T28, X71, .(X69, T27)) → U2_aaag(X69, X70, T28, X71, T27, app47_in_aaag(X70, T28, X71, T27))
U2_aaag(X69, X70, T28, X71, T27, app47_out_aaag(X70, T28, X71, T27)) → app47_out_aaag(.(X69, X70), T28, X71, .(X69, T27))
U7_ag(T18, T17, T19, T6, app47_out_aaag(X17, T17, X18, T6)) → in_order1_out_ag(node(T18, T17, T19), T6)
in_order1_in_ag(node(T32, T30, T33), T6) → U8_ag(T32, T30, T33, T6, app47_in_aaag(T20, T30, T21, T6))
U8_ag(T32, T30, T33, T6, app47_out_aaag(T20, T30, T21, T6)) → U9_ag(T32, T30, T33, T6, in_order1_in_ag(T32, T20))
in_order1_in_ag(node(T36, T37, T39), T6) → U10_ag(T36, T37, T39, T6, app47_in_aaag(T20, T37, T21, T6))
U10_ag(T36, T37, T39, T6, app47_out_aaag(T20, T37, T21, T6)) → U11_ag(T36, T37, T39, T6, T21, in_order1_in_ag(T36, T20))
in_order1_in_ag(node(T44, T43, T45), T6) → U13_ag(T44, T43, T45, T6, p45_in_aaagaaaa(X17, T43, X18, T6, T44, T45, X19, X20))
p45_in_aaagaaaa(X17, T17, X18, T6, T18, T19, X19, X20) → U14_aaagaaaa(X17, T17, X18, T6, T18, T19, X19, X20, app47_in_aaag(X17, T17, X18, T6))
U14_aaagaaaa(X17, T17, X18, T6, T18, T19, X19, X20, app47_out_aaag(X17, T17, X18, T6)) → p45_out_aaagaaaa(X17, T17, X18, T6, T18, T19, X19, X20)
p45_in_aaagaaaa(T20, T30, T21, T6, T32, T33, T32, X20) → U15_aaagaaaa(T20, T30, T21, T6, T32, T33, X20, app47_in_aaag(T20, T30, T21, T6))
U15_aaagaaaa(T20, T30, T21, T6, T32, T33, X20, app47_out_aaag(T20, T30, T21, T6)) → U16_aaagaaaa(T20, T30, T21, T6, T32, T33, X20, in_order1_in_ag(T32, T20))
U16_aaagaaaa(T20, T30, T21, T6, T32, T33, X20, in_order1_out_ag(T32, T20)) → p45_out_aaagaaaa(T20, T30, T21, T6, T32, T33, T32, X20)
p45_in_aaagaaaa(T20, T37, T21, T6, T36, T39, T36, T39) → U17_aaagaaaa(T20, T37, T21, T6, T36, T39, app47_in_aaag(T20, T37, T21, T6))
U17_aaagaaaa(T20, T37, T21, T6, T36, T39, app47_out_aaag(T20, T37, T21, T6)) → U18_aaagaaaa(T20, T37, T21, T6, T36, T39, in_order1_in_ag(T36, T20))
U18_aaagaaaa(T20, T37, T21, T6, T36, T39, in_order1_out_ag(T36, T20)) → U19_aaagaaaa(T20, T37, T21, T6, T36, T39, in_order1_in_ag(T39, T21))
U19_aaagaaaa(T20, T37, T21, T6, T36, T39, in_order1_out_ag(T39, T21)) → p45_out_aaagaaaa(T20, T37, T21, T6, T36, T39, T36, T39)
U13_ag(T44, T43, T45, T6, p45_out_aaagaaaa(X17, T43, X18, T6, T44, T45, X19, X20)) → in_order1_out_ag(node(T44, T43, T45), T6)
U11_ag(T36, T37, T39, T6, T21, in_order1_out_ag(T36, T20)) → U12_ag(T36, T37, T39, T6, in_order1_in_ag(T39, T21))
U12_ag(T36, T37, T39, T6, in_order1_out_ag(T39, T21)) → in_order1_out_ag(node(T36, T37, T39), T6)
U9_ag(T32, T30, T33, T6, in_order1_out_ag(T32, T20)) → in_order1_out_ag(node(T32, T30, T33), T6)
IN_ORDER1_IN_AG(void, T6) → U3_AG(T6, app16_in_aaag(X17, X23, X18, T6))
IN_ORDER1_IN_AG(void, T6) → APP16_IN_AAAG(X17, X23, X18, T6)
APP16_IN_AAAG(.(X37, X38), X39, X40, .(X37, T11)) → U1_AAAG(X37, X38, X39, X40, T11, app16_in_aaag(X38, X39, X40, T11))
APP16_IN_AAAG(.(X37, X38), X39, X40, .(X37, T11)) → APP16_IN_AAAG(X38, X39, X40, T11)
IN_ORDER1_IN_AG(void, T6) → U4_AG(T6, app16_in_aaag(T8, T9, T10, T6))
U4_AG(T6, app16_out_aaag(T8, T9, T10, T6)) → U5_AG(T6, T10, in_order30_in_g(T8))
U4_AG(T6, app16_out_aaag(T8, T9, T10, T6)) → IN_ORDER30_IN_G(T8)
U5_AG(T6, T10, in_order30_out_g(T8)) → U6_AG(T6, in_order30_in_g(T10))
U5_AG(T6, T10, in_order30_out_g(T8)) → IN_ORDER30_IN_G(T10)
IN_ORDER1_IN_AG(node(T18, T17, T19), T6) → U7_AG(T18, T17, T19, T6, app47_in_aaag(X17, T17, X18, T6))
IN_ORDER1_IN_AG(node(T18, T17, T19), T6) → APP47_IN_AAAG(X17, T17, X18, T6)
APP47_IN_AAAG(.(X69, X70), T28, X71, .(X69, T27)) → U2_AAAG(X69, X70, T28, X71, T27, app47_in_aaag(X70, T28, X71, T27))
APP47_IN_AAAG(.(X69, X70), T28, X71, .(X69, T27)) → APP47_IN_AAAG(X70, T28, X71, T27)
IN_ORDER1_IN_AG(node(T32, T30, T33), T6) → U8_AG(T32, T30, T33, T6, app47_in_aaag(T20, T30, T21, T6))
U8_AG(T32, T30, T33, T6, app47_out_aaag(T20, T30, T21, T6)) → U9_AG(T32, T30, T33, T6, in_order1_in_ag(T32, T20))
U8_AG(T32, T30, T33, T6, app47_out_aaag(T20, T30, T21, T6)) → IN_ORDER1_IN_AG(T32, T20)
IN_ORDER1_IN_AG(node(T36, T37, T39), T6) → U10_AG(T36, T37, T39, T6, app47_in_aaag(T20, T37, T21, T6))
U10_AG(T36, T37, T39, T6, app47_out_aaag(T20, T37, T21, T6)) → U11_AG(T36, T37, T39, T6, T21, in_order1_in_ag(T36, T20))
U10_AG(T36, T37, T39, T6, app47_out_aaag(T20, T37, T21, T6)) → IN_ORDER1_IN_AG(T36, T20)
IN_ORDER1_IN_AG(node(T44, T43, T45), T6) → U13_AG(T44, T43, T45, T6, p45_in_aaagaaaa(X17, T43, X18, T6, T44, T45, X19, X20))
IN_ORDER1_IN_AG(node(T44, T43, T45), T6) → P45_IN_AAAGAAAA(X17, T43, X18, T6, T44, T45, X19, X20)
P45_IN_AAAGAAAA(X17, T17, X18, T6, T18, T19, X19, X20) → U14_AAAGAAAA(X17, T17, X18, T6, T18, T19, X19, X20, app47_in_aaag(X17, T17, X18, T6))
P45_IN_AAAGAAAA(X17, T17, X18, T6, T18, T19, X19, X20) → APP47_IN_AAAG(X17, T17, X18, T6)
P45_IN_AAAGAAAA(T20, T30, T21, T6, T32, T33, T32, X20) → U15_AAAGAAAA(T20, T30, T21, T6, T32, T33, X20, app47_in_aaag(T20, T30, T21, T6))
P45_IN_AAAGAAAA(T20, T30, T21, T6, T32, T33, T32, X20) → APP47_IN_AAAG(T20, T30, T21, T6)
U15_AAAGAAAA(T20, T30, T21, T6, T32, T33, X20, app47_out_aaag(T20, T30, T21, T6)) → U16_AAAGAAAA(T20, T30, T21, T6, T32, T33, X20, in_order1_in_ag(T32, T20))
U15_AAAGAAAA(T20, T30, T21, T6, T32, T33, X20, app47_out_aaag(T20, T30, T21, T6)) → IN_ORDER1_IN_AG(T32, T20)
P45_IN_AAAGAAAA(T20, T37, T21, T6, T36, T39, T36, T39) → U17_AAAGAAAA(T20, T37, T21, T6, T36, T39, app47_in_aaag(T20, T37, T21, T6))
P45_IN_AAAGAAAA(T20, T37, T21, T6, T36, T39, T36, T39) → APP47_IN_AAAG(T20, T37, T21, T6)
U17_AAAGAAAA(T20, T37, T21, T6, T36, T39, app47_out_aaag(T20, T37, T21, T6)) → U18_AAAGAAAA(T20, T37, T21, T6, T36, T39, in_order1_in_ag(T36, T20))
U17_AAAGAAAA(T20, T37, T21, T6, T36, T39, app47_out_aaag(T20, T37, T21, T6)) → IN_ORDER1_IN_AG(T36, T20)
U18_AAAGAAAA(T20, T37, T21, T6, T36, T39, in_order1_out_ag(T36, T20)) → U19_AAAGAAAA(T20, T37, T21, T6, T36, T39, in_order1_in_ag(T39, T21))
U18_AAAGAAAA(T20, T37, T21, T6, T36, T39, in_order1_out_ag(T36, T20)) → IN_ORDER1_IN_AG(T39, T21)
U11_AG(T36, T37, T39, T6, T21, in_order1_out_ag(T36, T20)) → U12_AG(T36, T37, T39, T6, in_order1_in_ag(T39, T21))
U11_AG(T36, T37, T39, T6, T21, in_order1_out_ag(T36, T20)) → IN_ORDER1_IN_AG(T39, T21)
in_order1_in_ag(void, []) → in_order1_out_ag(void, [])
in_order1_in_ag(void, T6) → U3_ag(T6, app16_in_aaag(X17, X23, X18, T6))
app16_in_aaag([], X27, X28, .(X27, X28)) → app16_out_aaag([], X27, X28, .(X27, X28))
app16_in_aaag(.(X37, X38), X39, X40, .(X37, T11)) → U1_aaag(X37, X38, X39, X40, T11, app16_in_aaag(X38, X39, X40, T11))
U1_aaag(X37, X38, X39, X40, T11, app16_out_aaag(X38, X39, X40, T11)) → app16_out_aaag(.(X37, X38), X39, X40, .(X37, T11))
U3_ag(T6, app16_out_aaag(X17, X23, X18, T6)) → in_order1_out_ag(void, T6)
in_order1_in_ag(void, T6) → U4_ag(T6, app16_in_aaag(T8, T9, T10, T6))
U4_ag(T6, app16_out_aaag(T8, T9, T10, T6)) → U5_ag(T6, T10, in_order30_in_g(T8))
in_order30_in_g([]) → in_order30_out_g([])
U5_ag(T6, T10, in_order30_out_g(T8)) → in_order1_out_ag(void, T6)
U5_ag(T6, T10, in_order30_out_g(T8)) → U6_ag(T6, in_order30_in_g(T10))
U6_ag(T6, in_order30_out_g(T10)) → in_order1_out_ag(void, T6)
in_order1_in_ag(node(T18, T17, T19), T6) → U7_ag(T18, T17, T19, T6, app47_in_aaag(X17, T17, X18, T6))
app47_in_aaag([], T25, X60, .(T25, X60)) → app47_out_aaag([], T25, X60, .(T25, X60))
app47_in_aaag(.(X69, X70), T28, X71, .(X69, T27)) → U2_aaag(X69, X70, T28, X71, T27, app47_in_aaag(X70, T28, X71, T27))
U2_aaag(X69, X70, T28, X71, T27, app47_out_aaag(X70, T28, X71, T27)) → app47_out_aaag(.(X69, X70), T28, X71, .(X69, T27))
U7_ag(T18, T17, T19, T6, app47_out_aaag(X17, T17, X18, T6)) → in_order1_out_ag(node(T18, T17, T19), T6)
in_order1_in_ag(node(T32, T30, T33), T6) → U8_ag(T32, T30, T33, T6, app47_in_aaag(T20, T30, T21, T6))
U8_ag(T32, T30, T33, T6, app47_out_aaag(T20, T30, T21, T6)) → U9_ag(T32, T30, T33, T6, in_order1_in_ag(T32, T20))
in_order1_in_ag(node(T36, T37, T39), T6) → U10_ag(T36, T37, T39, T6, app47_in_aaag(T20, T37, T21, T6))
U10_ag(T36, T37, T39, T6, app47_out_aaag(T20, T37, T21, T6)) → U11_ag(T36, T37, T39, T6, T21, in_order1_in_ag(T36, T20))
in_order1_in_ag(node(T44, T43, T45), T6) → U13_ag(T44, T43, T45, T6, p45_in_aaagaaaa(X17, T43, X18, T6, T44, T45, X19, X20))
p45_in_aaagaaaa(X17, T17, X18, T6, T18, T19, X19, X20) → U14_aaagaaaa(X17, T17, X18, T6, T18, T19, X19, X20, app47_in_aaag(X17, T17, X18, T6))
U14_aaagaaaa(X17, T17, X18, T6, T18, T19, X19, X20, app47_out_aaag(X17, T17, X18, T6)) → p45_out_aaagaaaa(X17, T17, X18, T6, T18, T19, X19, X20)
p45_in_aaagaaaa(T20, T30, T21, T6, T32, T33, T32, X20) → U15_aaagaaaa(T20, T30, T21, T6, T32, T33, X20, app47_in_aaag(T20, T30, T21, T6))
U15_aaagaaaa(T20, T30, T21, T6, T32, T33, X20, app47_out_aaag(T20, T30, T21, T6)) → U16_aaagaaaa(T20, T30, T21, T6, T32, T33, X20, in_order1_in_ag(T32, T20))
U16_aaagaaaa(T20, T30, T21, T6, T32, T33, X20, in_order1_out_ag(T32, T20)) → p45_out_aaagaaaa(T20, T30, T21, T6, T32, T33, T32, X20)
p45_in_aaagaaaa(T20, T37, T21, T6, T36, T39, T36, T39) → U17_aaagaaaa(T20, T37, T21, T6, T36, T39, app47_in_aaag(T20, T37, T21, T6))
U17_aaagaaaa(T20, T37, T21, T6, T36, T39, app47_out_aaag(T20, T37, T21, T6)) → U18_aaagaaaa(T20, T37, T21, T6, T36, T39, in_order1_in_ag(T36, T20))
U18_aaagaaaa(T20, T37, T21, T6, T36, T39, in_order1_out_ag(T36, T20)) → U19_aaagaaaa(T20, T37, T21, T6, T36, T39, in_order1_in_ag(T39, T21))
U19_aaagaaaa(T20, T37, T21, T6, T36, T39, in_order1_out_ag(T39, T21)) → p45_out_aaagaaaa(T20, T37, T21, T6, T36, T39, T36, T39)
U13_ag(T44, T43, T45, T6, p45_out_aaagaaaa(X17, T43, X18, T6, T44, T45, X19, X20)) → in_order1_out_ag(node(T44, T43, T45), T6)
U11_ag(T36, T37, T39, T6, T21, in_order1_out_ag(T36, T20)) → U12_ag(T36, T37, T39, T6, in_order1_in_ag(T39, T21))
U12_ag(T36, T37, T39, T6, in_order1_out_ag(T39, T21)) → in_order1_out_ag(node(T36, T37, T39), T6)
U9_ag(T32, T30, T33, T6, in_order1_out_ag(T32, T20)) → in_order1_out_ag(node(T32, T30, T33), T6)
APP47_IN_AAAG(.(X69, X70), T28, X71, .(X69, T27)) → APP47_IN_AAAG(X70, T28, X71, T27)
in_order1_in_ag(void, []) → in_order1_out_ag(void, [])
in_order1_in_ag(void, T6) → U3_ag(T6, app16_in_aaag(X17, X23, X18, T6))
app16_in_aaag([], X27, X28, .(X27, X28)) → app16_out_aaag([], X27, X28, .(X27, X28))
app16_in_aaag(.(X37, X38), X39, X40, .(X37, T11)) → U1_aaag(X37, X38, X39, X40, T11, app16_in_aaag(X38, X39, X40, T11))
U1_aaag(X37, X38, X39, X40, T11, app16_out_aaag(X38, X39, X40, T11)) → app16_out_aaag(.(X37, X38), X39, X40, .(X37, T11))
U3_ag(T6, app16_out_aaag(X17, X23, X18, T6)) → in_order1_out_ag(void, T6)
in_order1_in_ag(void, T6) → U4_ag(T6, app16_in_aaag(T8, T9, T10, T6))
U4_ag(T6, app16_out_aaag(T8, T9, T10, T6)) → U5_ag(T6, T10, in_order30_in_g(T8))
in_order30_in_g([]) → in_order30_out_g([])
U5_ag(T6, T10, in_order30_out_g(T8)) → in_order1_out_ag(void, T6)
U5_ag(T6, T10, in_order30_out_g(T8)) → U6_ag(T6, in_order30_in_g(T10))
U6_ag(T6, in_order30_out_g(T10)) → in_order1_out_ag(void, T6)
in_order1_in_ag(node(T18, T17, T19), T6) → U7_ag(T18, T17, T19, T6, app47_in_aaag(X17, T17, X18, T6))
app47_in_aaag([], T25, X60, .(T25, X60)) → app47_out_aaag([], T25, X60, .(T25, X60))
app47_in_aaag(.(X69, X70), T28, X71, .(X69, T27)) → U2_aaag(X69, X70, T28, X71, T27, app47_in_aaag(X70, T28, X71, T27))
U2_aaag(X69, X70, T28, X71, T27, app47_out_aaag(X70, T28, X71, T27)) → app47_out_aaag(.(X69, X70), T28, X71, .(X69, T27))
U7_ag(T18, T17, T19, T6, app47_out_aaag(X17, T17, X18, T6)) → in_order1_out_ag(node(T18, T17, T19), T6)
in_order1_in_ag(node(T32, T30, T33), T6) → U8_ag(T32, T30, T33, T6, app47_in_aaag(T20, T30, T21, T6))
U8_ag(T32, T30, T33, T6, app47_out_aaag(T20, T30, T21, T6)) → U9_ag(T32, T30, T33, T6, in_order1_in_ag(T32, T20))
in_order1_in_ag(node(T36, T37, T39), T6) → U10_ag(T36, T37, T39, T6, app47_in_aaag(T20, T37, T21, T6))
U10_ag(T36, T37, T39, T6, app47_out_aaag(T20, T37, T21, T6)) → U11_ag(T36, T37, T39, T6, T21, in_order1_in_ag(T36, T20))
in_order1_in_ag(node(T44, T43, T45), T6) → U13_ag(T44, T43, T45, T6, p45_in_aaagaaaa(X17, T43, X18, T6, T44, T45, X19, X20))
p45_in_aaagaaaa(X17, T17, X18, T6, T18, T19, X19, X20) → U14_aaagaaaa(X17, T17, X18, T6, T18, T19, X19, X20, app47_in_aaag(X17, T17, X18, T6))
U14_aaagaaaa(X17, T17, X18, T6, T18, T19, X19, X20, app47_out_aaag(X17, T17, X18, T6)) → p45_out_aaagaaaa(X17, T17, X18, T6, T18, T19, X19, X20)
p45_in_aaagaaaa(T20, T30, T21, T6, T32, T33, T32, X20) → U15_aaagaaaa(T20, T30, T21, T6, T32, T33, X20, app47_in_aaag(T20, T30, T21, T6))
U15_aaagaaaa(T20, T30, T21, T6, T32, T33, X20, app47_out_aaag(T20, T30, T21, T6)) → U16_aaagaaaa(T20, T30, T21, T6, T32, T33, X20, in_order1_in_ag(T32, T20))
U16_aaagaaaa(T20, T30, T21, T6, T32, T33, X20, in_order1_out_ag(T32, T20)) → p45_out_aaagaaaa(T20, T30, T21, T6, T32, T33, T32, X20)
p45_in_aaagaaaa(T20, T37, T21, T6, T36, T39, T36, T39) → U17_aaagaaaa(T20, T37, T21, T6, T36, T39, app47_in_aaag(T20, T37, T21, T6))
U17_aaagaaaa(T20, T37, T21, T6, T36, T39, app47_out_aaag(T20, T37, T21, T6)) → U18_aaagaaaa(T20, T37, T21, T6, T36, T39, in_order1_in_ag(T36, T20))
U18_aaagaaaa(T20, T37, T21, T6, T36, T39, in_order1_out_ag(T36, T20)) → U19_aaagaaaa(T20, T37, T21, T6, T36, T39, in_order1_in_ag(T39, T21))
U19_aaagaaaa(T20, T37, T21, T6, T36, T39, in_order1_out_ag(T39, T21)) → p45_out_aaagaaaa(T20, T37, T21, T6, T36, T39, T36, T39)
U13_ag(T44, T43, T45, T6, p45_out_aaagaaaa(X17, T43, X18, T6, T44, T45, X19, X20)) → in_order1_out_ag(node(T44, T43, T45), T6)
U11_ag(T36, T37, T39, T6, T21, in_order1_out_ag(T36, T20)) → U12_ag(T36, T37, T39, T6, in_order1_in_ag(T39, T21))
U12_ag(T36, T37, T39, T6, in_order1_out_ag(T39, T21)) → in_order1_out_ag(node(T36, T37, T39), T6)
U9_ag(T32, T30, T33, T6, in_order1_out_ag(T32, T20)) → in_order1_out_ag(node(T32, T30, T33), T6)
APP47_IN_AAAG(.(X69, X70), T28, X71, .(X69, T27)) → APP47_IN_AAAG(X70, T28, X71, T27)
APP47_IN_AAAG(.(X69, T27)) → APP47_IN_AAAG(T27)
From the DPs we obtained the following set of size-change graphs:
APP16_IN_AAAG(.(X37, X38), X39, X40, .(X37, T11)) → APP16_IN_AAAG(X38, X39, X40, T11)
in_order1_in_ag(void, []) → in_order1_out_ag(void, [])
in_order1_in_ag(void, T6) → U3_ag(T6, app16_in_aaag(X17, X23, X18, T6))
app16_in_aaag([], X27, X28, .(X27, X28)) → app16_out_aaag([], X27, X28, .(X27, X28))
app16_in_aaag(.(X37, X38), X39, X40, .(X37, T11)) → U1_aaag(X37, X38, X39, X40, T11, app16_in_aaag(X38, X39, X40, T11))
U1_aaag(X37, X38, X39, X40, T11, app16_out_aaag(X38, X39, X40, T11)) → app16_out_aaag(.(X37, X38), X39, X40, .(X37, T11))
U3_ag(T6, app16_out_aaag(X17, X23, X18, T6)) → in_order1_out_ag(void, T6)
in_order1_in_ag(void, T6) → U4_ag(T6, app16_in_aaag(T8, T9, T10, T6))
U4_ag(T6, app16_out_aaag(T8, T9, T10, T6)) → U5_ag(T6, T10, in_order30_in_g(T8))
in_order30_in_g([]) → in_order30_out_g([])
U5_ag(T6, T10, in_order30_out_g(T8)) → in_order1_out_ag(void, T6)
U5_ag(T6, T10, in_order30_out_g(T8)) → U6_ag(T6, in_order30_in_g(T10))
U6_ag(T6, in_order30_out_g(T10)) → in_order1_out_ag(void, T6)
in_order1_in_ag(node(T18, T17, T19), T6) → U7_ag(T18, T17, T19, T6, app47_in_aaag(X17, T17, X18, T6))
app47_in_aaag([], T25, X60, .(T25, X60)) → app47_out_aaag([], T25, X60, .(T25, X60))
app47_in_aaag(.(X69, X70), T28, X71, .(X69, T27)) → U2_aaag(X69, X70, T28, X71, T27, app47_in_aaag(X70, T28, X71, T27))
U2_aaag(X69, X70, T28, X71, T27, app47_out_aaag(X70, T28, X71, T27)) → app47_out_aaag(.(X69, X70), T28, X71, .(X69, T27))
U7_ag(T18, T17, T19, T6, app47_out_aaag(X17, T17, X18, T6)) → in_order1_out_ag(node(T18, T17, T19), T6)
in_order1_in_ag(node(T32, T30, T33), T6) → U8_ag(T32, T30, T33, T6, app47_in_aaag(T20, T30, T21, T6))
U8_ag(T32, T30, T33, T6, app47_out_aaag(T20, T30, T21, T6)) → U9_ag(T32, T30, T33, T6, in_order1_in_ag(T32, T20))
in_order1_in_ag(node(T36, T37, T39), T6) → U10_ag(T36, T37, T39, T6, app47_in_aaag(T20, T37, T21, T6))
U10_ag(T36, T37, T39, T6, app47_out_aaag(T20, T37, T21, T6)) → U11_ag(T36, T37, T39, T6, T21, in_order1_in_ag(T36, T20))
in_order1_in_ag(node(T44, T43, T45), T6) → U13_ag(T44, T43, T45, T6, p45_in_aaagaaaa(X17, T43, X18, T6, T44, T45, X19, X20))
p45_in_aaagaaaa(X17, T17, X18, T6, T18, T19, X19, X20) → U14_aaagaaaa(X17, T17, X18, T6, T18, T19, X19, X20, app47_in_aaag(X17, T17, X18, T6))
U14_aaagaaaa(X17, T17, X18, T6, T18, T19, X19, X20, app47_out_aaag(X17, T17, X18, T6)) → p45_out_aaagaaaa(X17, T17, X18, T6, T18, T19, X19, X20)
p45_in_aaagaaaa(T20, T30, T21, T6, T32, T33, T32, X20) → U15_aaagaaaa(T20, T30, T21, T6, T32, T33, X20, app47_in_aaag(T20, T30, T21, T6))
U15_aaagaaaa(T20, T30, T21, T6, T32, T33, X20, app47_out_aaag(T20, T30, T21, T6)) → U16_aaagaaaa(T20, T30, T21, T6, T32, T33, X20, in_order1_in_ag(T32, T20))
U16_aaagaaaa(T20, T30, T21, T6, T32, T33, X20, in_order1_out_ag(T32, T20)) → p45_out_aaagaaaa(T20, T30, T21, T6, T32, T33, T32, X20)
p45_in_aaagaaaa(T20, T37, T21, T6, T36, T39, T36, T39) → U17_aaagaaaa(T20, T37, T21, T6, T36, T39, app47_in_aaag(T20, T37, T21, T6))
U17_aaagaaaa(T20, T37, T21, T6, T36, T39, app47_out_aaag(T20, T37, T21, T6)) → U18_aaagaaaa(T20, T37, T21, T6, T36, T39, in_order1_in_ag(T36, T20))
U18_aaagaaaa(T20, T37, T21, T6, T36, T39, in_order1_out_ag(T36, T20)) → U19_aaagaaaa(T20, T37, T21, T6, T36, T39, in_order1_in_ag(T39, T21))
U19_aaagaaaa(T20, T37, T21, T6, T36, T39, in_order1_out_ag(T39, T21)) → p45_out_aaagaaaa(T20, T37, T21, T6, T36, T39, T36, T39)
U13_ag(T44, T43, T45, T6, p45_out_aaagaaaa(X17, T43, X18, T6, T44, T45, X19, X20)) → in_order1_out_ag(node(T44, T43, T45), T6)
U11_ag(T36, T37, T39, T6, T21, in_order1_out_ag(T36, T20)) → U12_ag(T36, T37, T39, T6, in_order1_in_ag(T39, T21))
U12_ag(T36, T37, T39, T6, in_order1_out_ag(T39, T21)) → in_order1_out_ag(node(T36, T37, T39), T6)
U9_ag(T32, T30, T33, T6, in_order1_out_ag(T32, T20)) → in_order1_out_ag(node(T32, T30, T33), T6)
APP16_IN_AAAG(.(X37, X38), X39, X40, .(X37, T11)) → APP16_IN_AAAG(X38, X39, X40, T11)
APP16_IN_AAAG(.(X37, T11)) → APP16_IN_AAAG(T11)
From the DPs we obtained the following set of size-change graphs:
IN_ORDER1_IN_AG(node(T32, T30, T33), T6) → U8_AG(T32, T30, T33, T6, app47_in_aaag(T20, T30, T21, T6))
U8_AG(T32, T30, T33, T6, app47_out_aaag(T20, T30, T21, T6)) → IN_ORDER1_IN_AG(T32, T20)
IN_ORDER1_IN_AG(node(T36, T37, T39), T6) → U10_AG(T36, T37, T39, T6, app47_in_aaag(T20, T37, T21, T6))
U10_AG(T36, T37, T39, T6, app47_out_aaag(T20, T37, T21, T6)) → U11_AG(T36, T37, T39, T6, T21, in_order1_in_ag(T36, T20))
U11_AG(T36, T37, T39, T6, T21, in_order1_out_ag(T36, T20)) → IN_ORDER1_IN_AG(T39, T21)
IN_ORDER1_IN_AG(node(T44, T43, T45), T6) → P45_IN_AAAGAAAA(X17, T43, X18, T6, T44, T45, X19, X20)
P45_IN_AAAGAAAA(T20, T30, T21, T6, T32, T33, T32, X20) → U15_AAAGAAAA(T20, T30, T21, T6, T32, T33, X20, app47_in_aaag(T20, T30, T21, T6))
U15_AAAGAAAA(T20, T30, T21, T6, T32, T33, X20, app47_out_aaag(T20, T30, T21, T6)) → IN_ORDER1_IN_AG(T32, T20)
P45_IN_AAAGAAAA(T20, T37, T21, T6, T36, T39, T36, T39) → U17_AAAGAAAA(T20, T37, T21, T6, T36, T39, app47_in_aaag(T20, T37, T21, T6))
U17_AAAGAAAA(T20, T37, T21, T6, T36, T39, app47_out_aaag(T20, T37, T21, T6)) → U18_AAAGAAAA(T20, T37, T21, T6, T36, T39, in_order1_in_ag(T36, T20))
U18_AAAGAAAA(T20, T37, T21, T6, T36, T39, in_order1_out_ag(T36, T20)) → IN_ORDER1_IN_AG(T39, T21)
U17_AAAGAAAA(T20, T37, T21, T6, T36, T39, app47_out_aaag(T20, T37, T21, T6)) → IN_ORDER1_IN_AG(T36, T20)
U10_AG(T36, T37, T39, T6, app47_out_aaag(T20, T37, T21, T6)) → IN_ORDER1_IN_AG(T36, T20)
in_order1_in_ag(void, []) → in_order1_out_ag(void, [])
in_order1_in_ag(void, T6) → U3_ag(T6, app16_in_aaag(X17, X23, X18, T6))
app16_in_aaag([], X27, X28, .(X27, X28)) → app16_out_aaag([], X27, X28, .(X27, X28))
app16_in_aaag(.(X37, X38), X39, X40, .(X37, T11)) → U1_aaag(X37, X38, X39, X40, T11, app16_in_aaag(X38, X39, X40, T11))
U1_aaag(X37, X38, X39, X40, T11, app16_out_aaag(X38, X39, X40, T11)) → app16_out_aaag(.(X37, X38), X39, X40, .(X37, T11))
U3_ag(T6, app16_out_aaag(X17, X23, X18, T6)) → in_order1_out_ag(void, T6)
in_order1_in_ag(void, T6) → U4_ag(T6, app16_in_aaag(T8, T9, T10, T6))
U4_ag(T6, app16_out_aaag(T8, T9, T10, T6)) → U5_ag(T6, T10, in_order30_in_g(T8))
in_order30_in_g([]) → in_order30_out_g([])
U5_ag(T6, T10, in_order30_out_g(T8)) → in_order1_out_ag(void, T6)
U5_ag(T6, T10, in_order30_out_g(T8)) → U6_ag(T6, in_order30_in_g(T10))
U6_ag(T6, in_order30_out_g(T10)) → in_order1_out_ag(void, T6)
in_order1_in_ag(node(T18, T17, T19), T6) → U7_ag(T18, T17, T19, T6, app47_in_aaag(X17, T17, X18, T6))
app47_in_aaag([], T25, X60, .(T25, X60)) → app47_out_aaag([], T25, X60, .(T25, X60))
app47_in_aaag(.(X69, X70), T28, X71, .(X69, T27)) → U2_aaag(X69, X70, T28, X71, T27, app47_in_aaag(X70, T28, X71, T27))
U2_aaag(X69, X70, T28, X71, T27, app47_out_aaag(X70, T28, X71, T27)) → app47_out_aaag(.(X69, X70), T28, X71, .(X69, T27))
U7_ag(T18, T17, T19, T6, app47_out_aaag(X17, T17, X18, T6)) → in_order1_out_ag(node(T18, T17, T19), T6)
in_order1_in_ag(node(T32, T30, T33), T6) → U8_ag(T32, T30, T33, T6, app47_in_aaag(T20, T30, T21, T6))
U8_ag(T32, T30, T33, T6, app47_out_aaag(T20, T30, T21, T6)) → U9_ag(T32, T30, T33, T6, in_order1_in_ag(T32, T20))
in_order1_in_ag(node(T36, T37, T39), T6) → U10_ag(T36, T37, T39, T6, app47_in_aaag(T20, T37, T21, T6))
U10_ag(T36, T37, T39, T6, app47_out_aaag(T20, T37, T21, T6)) → U11_ag(T36, T37, T39, T6, T21, in_order1_in_ag(T36, T20))
in_order1_in_ag(node(T44, T43, T45), T6) → U13_ag(T44, T43, T45, T6, p45_in_aaagaaaa(X17, T43, X18, T6, T44, T45, X19, X20))
p45_in_aaagaaaa(X17, T17, X18, T6, T18, T19, X19, X20) → U14_aaagaaaa(X17, T17, X18, T6, T18, T19, X19, X20, app47_in_aaag(X17, T17, X18, T6))
U14_aaagaaaa(X17, T17, X18, T6, T18, T19, X19, X20, app47_out_aaag(X17, T17, X18, T6)) → p45_out_aaagaaaa(X17, T17, X18, T6, T18, T19, X19, X20)
p45_in_aaagaaaa(T20, T30, T21, T6, T32, T33, T32, X20) → U15_aaagaaaa(T20, T30, T21, T6, T32, T33, X20, app47_in_aaag(T20, T30, T21, T6))
U15_aaagaaaa(T20, T30, T21, T6, T32, T33, X20, app47_out_aaag(T20, T30, T21, T6)) → U16_aaagaaaa(T20, T30, T21, T6, T32, T33, X20, in_order1_in_ag(T32, T20))
U16_aaagaaaa(T20, T30, T21, T6, T32, T33, X20, in_order1_out_ag(T32, T20)) → p45_out_aaagaaaa(T20, T30, T21, T6, T32, T33, T32, X20)
p45_in_aaagaaaa(T20, T37, T21, T6, T36, T39, T36, T39) → U17_aaagaaaa(T20, T37, T21, T6, T36, T39, app47_in_aaag(T20, T37, T21, T6))
U17_aaagaaaa(T20, T37, T21, T6, T36, T39, app47_out_aaag(T20, T37, T21, T6)) → U18_aaagaaaa(T20, T37, T21, T6, T36, T39, in_order1_in_ag(T36, T20))
U18_aaagaaaa(T20, T37, T21, T6, T36, T39, in_order1_out_ag(T36, T20)) → U19_aaagaaaa(T20, T37, T21, T6, T36, T39, in_order1_in_ag(T39, T21))
U19_aaagaaaa(T20, T37, T21, T6, T36, T39, in_order1_out_ag(T39, T21)) → p45_out_aaagaaaa(T20, T37, T21, T6, T36, T39, T36, T39)
U13_ag(T44, T43, T45, T6, p45_out_aaagaaaa(X17, T43, X18, T6, T44, T45, X19, X20)) → in_order1_out_ag(node(T44, T43, T45), T6)
U11_ag(T36, T37, T39, T6, T21, in_order1_out_ag(T36, T20)) → U12_ag(T36, T37, T39, T6, in_order1_in_ag(T39, T21))
U12_ag(T36, T37, T39, T6, in_order1_out_ag(T39, T21)) → in_order1_out_ag(node(T36, T37, T39), T6)
U9_ag(T32, T30, T33, T6, in_order1_out_ag(T32, T20)) → in_order1_out_ag(node(T32, T30, T33), T6)
IN_ORDER1_IN_AG(T6) → U8_AG(T6, app47_in_aaag(T6))
U8_AG(T6, app47_out_aaag(T20, T30, T21, T6)) → IN_ORDER1_IN_AG(T20)
IN_ORDER1_IN_AG(T6) → U10_AG(T6, app47_in_aaag(T6))
U10_AG(T6, app47_out_aaag(T20, T37, T21, T6)) → U11_AG(T6, T21, in_order1_in_ag(T20))
U11_AG(T6, T21, in_order1_out_ag(T20)) → IN_ORDER1_IN_AG(T21)
IN_ORDER1_IN_AG(T6) → P45_IN_AAAGAAAA(T6)
P45_IN_AAAGAAAA(T6) → U15_AAAGAAAA(T6, app47_in_aaag(T6))
U15_AAAGAAAA(T6, app47_out_aaag(T20, T30, T21, T6)) → IN_ORDER1_IN_AG(T20)
P45_IN_AAAGAAAA(T6) → U17_AAAGAAAA(T6, app47_in_aaag(T6))
U17_AAAGAAAA(T6, app47_out_aaag(T20, T37, T21, T6)) → U18_AAAGAAAA(T20, T37, T21, T6, in_order1_in_ag(T20))
U18_AAAGAAAA(T20, T37, T21, T6, in_order1_out_ag(T20)) → IN_ORDER1_IN_AG(T21)
U17_AAAGAAAA(T6, app47_out_aaag(T20, T37, T21, T6)) → IN_ORDER1_IN_AG(T20)
U10_AG(T6, app47_out_aaag(T20, T37, T21, T6)) → IN_ORDER1_IN_AG(T20)
in_order1_in_ag([]) → in_order1_out_ag([])
in_order1_in_ag(T6) → U3_ag(T6, app16_in_aaag(T6))
app16_in_aaag(.(X27, X28)) → app16_out_aaag([], X27, X28, .(X27, X28))
app16_in_aaag(.(X37, T11)) → U1_aaag(X37, T11, app16_in_aaag(T11))
U1_aaag(X37, T11, app16_out_aaag(X38, X39, X40, T11)) → app16_out_aaag(.(X37, X38), X39, X40, .(X37, T11))
U3_ag(T6, app16_out_aaag(X17, X23, X18, T6)) → in_order1_out_ag(T6)
in_order1_in_ag(T6) → U4_ag(T6, app16_in_aaag(T6))
U4_ag(T6, app16_out_aaag(T8, T9, T10, T6)) → U5_ag(T6, T10, in_order30_in_g(T8))
in_order30_in_g([]) → in_order30_out_g([])
U5_ag(T6, T10, in_order30_out_g(T8)) → in_order1_out_ag(T6)
U5_ag(T6, T10, in_order30_out_g(T8)) → U6_ag(T6, in_order30_in_g(T10))
U6_ag(T6, in_order30_out_g(T10)) → in_order1_out_ag(T6)
in_order1_in_ag(T6) → U7_ag(T6, app47_in_aaag(T6))
app47_in_aaag(.(T25, X60)) → app47_out_aaag([], T25, X60, .(T25, X60))
app47_in_aaag(.(X69, T27)) → U2_aaag(X69, T27, app47_in_aaag(T27))
U2_aaag(X69, T27, app47_out_aaag(X70, T28, X71, T27)) → app47_out_aaag(.(X69, X70), T28, X71, .(X69, T27))
U7_ag(T6, app47_out_aaag(X17, T17, X18, T6)) → in_order1_out_ag(T6)
in_order1_in_ag(T6) → U8_ag(T6, app47_in_aaag(T6))
U8_ag(T6, app47_out_aaag(T20, T30, T21, T6)) → U9_ag(T6, in_order1_in_ag(T20))
in_order1_in_ag(T6) → U10_ag(T6, app47_in_aaag(T6))
U10_ag(T6, app47_out_aaag(T20, T37, T21, T6)) → U11_ag(T6, T21, in_order1_in_ag(T20))
in_order1_in_ag(T6) → U13_ag(T6, p45_in_aaagaaaa(T6))
p45_in_aaagaaaa(T6) → U14_aaagaaaa(T6, app47_in_aaag(T6))
U14_aaagaaaa(T6, app47_out_aaag(X17, T17, X18, T6)) → p45_out_aaagaaaa(X17, T17, X18, T6)
p45_in_aaagaaaa(T6) → U15_aaagaaaa(T6, app47_in_aaag(T6))
U15_aaagaaaa(T6, app47_out_aaag(T20, T30, T21, T6)) → U16_aaagaaaa(T20, T30, T21, T6, in_order1_in_ag(T20))
U16_aaagaaaa(T20, T30, T21, T6, in_order1_out_ag(T20)) → p45_out_aaagaaaa(T20, T30, T21, T6)
p45_in_aaagaaaa(T6) → U17_aaagaaaa(T6, app47_in_aaag(T6))
U17_aaagaaaa(T6, app47_out_aaag(T20, T37, T21, T6)) → U18_aaagaaaa(T20, T37, T21, T6, in_order1_in_ag(T20))
U18_aaagaaaa(T20, T37, T21, T6, in_order1_out_ag(T20)) → U19_aaagaaaa(T20, T37, T21, T6, in_order1_in_ag(T21))
U19_aaagaaaa(T20, T37, T21, T6, in_order1_out_ag(T21)) → p45_out_aaagaaaa(T20, T37, T21, T6)
U13_ag(T6, p45_out_aaagaaaa(X17, T43, X18, T6)) → in_order1_out_ag(T6)
U11_ag(T6, T21, in_order1_out_ag(T20)) → U12_ag(T6, in_order1_in_ag(T21))
U12_ag(T6, in_order1_out_ag(T21)) → in_order1_out_ag(T6)
U9_ag(T6, in_order1_out_ag(T20)) → in_order1_out_ag(T6)
in_order1_in_ag(x0)
app16_in_aaag(x0)
U1_aaag(x0, x1, x2)
U3_ag(x0, x1)
U4_ag(x0, x1)
in_order30_in_g(x0)
U5_ag(x0, x1, x2)
U6_ag(x0, x1)
app47_in_aaag(x0)
U2_aaag(x0, x1, x2)
U7_ag(x0, x1)
U8_ag(x0, x1)
U10_ag(x0, x1)
p45_in_aaagaaaa(x0)
U14_aaagaaaa(x0, x1)
U15_aaagaaaa(x0, x1)
U16_aaagaaaa(x0, x1, x2, x3, x4)
U17_aaagaaaa(x0, x1)
U18_aaagaaaa(x0, x1, x2, x3, x4)
U19_aaagaaaa(x0, x1, x2, x3, x4)
U13_ag(x0, x1)
U11_ag(x0, x1, x2)
U12_ag(x0, x1)
U9_ag(x0, x1)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
U8_AG(T6, app47_out_aaag(T20, T30, T21, T6)) → IN_ORDER1_IN_AG(T20)
U10_AG(T6, app47_out_aaag(T20, T37, T21, T6)) → U11_AG(T6, T21, in_order1_in_ag(T20))
U15_AAAGAAAA(T6, app47_out_aaag(T20, T30, T21, T6)) → IN_ORDER1_IN_AG(T20)
U17_AAAGAAAA(T6, app47_out_aaag(T20, T37, T21, T6)) → U18_AAAGAAAA(T20, T37, T21, T6, in_order1_in_ag(T20))
U17_AAAGAAAA(T6, app47_out_aaag(T20, T37, T21, T6)) → IN_ORDER1_IN_AG(T20)
U10_AG(T6, app47_out_aaag(T20, T37, T21, T6)) → IN_ORDER1_IN_AG(T20)
POL(.(x1, x2)) = 1 + x1 + x2
POL(IN_ORDER1_IN_AG(x1)) = x1
POL(P45_IN_AAAGAAAA(x1)) = x1
POL(U10_AG(x1, x2)) = x2
POL(U10_ag(x1, x2)) = 0
POL(U11_AG(x1, x2, x3)) = x2
POL(U11_ag(x1, x2, x3)) = 0
POL(U12_ag(x1, x2)) = 0
POL(U13_ag(x1, x2)) = 0
POL(U14_aaagaaaa(x1, x2)) = 1
POL(U15_AAAGAAAA(x1, x2)) = x2
POL(U15_aaagaaaa(x1, x2)) = 0
POL(U16_aaagaaaa(x1, x2, x3, x4, x5)) = 0
POL(U17_AAAGAAAA(x1, x2)) = x2
POL(U17_aaagaaaa(x1, x2)) = 0
POL(U18_AAAGAAAA(x1, x2, x3, x4, x5)) = x3
POL(U18_aaagaaaa(x1, x2, x3, x4, x5)) = 0
POL(U19_aaagaaaa(x1, x2, x3, x4, x5)) = 0
POL(U1_aaag(x1, x2, x3)) = 0
POL(U2_aaag(x1, x2, x3)) = 1 + x1 + x3
POL(U3_ag(x1, x2)) = 0
POL(U4_ag(x1, x2)) = 0
POL(U5_ag(x1, x2, x3)) = 0
POL(U6_ag(x1, x2)) = 0
POL(U7_ag(x1, x2)) = 0
POL(U8_AG(x1, x2)) = x2
POL(U8_ag(x1, x2)) = 0
POL(U9_ag(x1, x2)) = 0
POL([]) = 0
POL(app16_in_aaag(x1)) = 0
POL(app16_out_aaag(x1, x2, x3, x4)) = 0
POL(app47_in_aaag(x1)) = x1
POL(app47_out_aaag(x1, x2, x3, x4)) = 1 + x1 + x3
POL(in_order1_in_ag(x1)) = 0
POL(in_order1_out_ag(x1)) = 0
POL(in_order30_in_g(x1)) = 1
POL(in_order30_out_g(x1)) = 0
POL(p45_in_aaagaaaa(x1)) = 1
POL(p45_out_aaagaaaa(x1, x2, x3, x4)) = 0
app47_in_aaag(.(T25, X60)) → app47_out_aaag([], T25, X60, .(T25, X60))
app47_in_aaag(.(X69, T27)) → U2_aaag(X69, T27, app47_in_aaag(T27))
U2_aaag(X69, T27, app47_out_aaag(X70, T28, X71, T27)) → app47_out_aaag(.(X69, X70), T28, X71, .(X69, T27))
IN_ORDER1_IN_AG(T6) → U8_AG(T6, app47_in_aaag(T6))
IN_ORDER1_IN_AG(T6) → U10_AG(T6, app47_in_aaag(T6))
U11_AG(T6, T21, in_order1_out_ag(T20)) → IN_ORDER1_IN_AG(T21)
IN_ORDER1_IN_AG(T6) → P45_IN_AAAGAAAA(T6)
P45_IN_AAAGAAAA(T6) → U15_AAAGAAAA(T6, app47_in_aaag(T6))
P45_IN_AAAGAAAA(T6) → U17_AAAGAAAA(T6, app47_in_aaag(T6))
U18_AAAGAAAA(T20, T37, T21, T6, in_order1_out_ag(T20)) → IN_ORDER1_IN_AG(T21)
in_order1_in_ag([]) → in_order1_out_ag([])
in_order1_in_ag(T6) → U3_ag(T6, app16_in_aaag(T6))
app16_in_aaag(.(X27, X28)) → app16_out_aaag([], X27, X28, .(X27, X28))
app16_in_aaag(.(X37, T11)) → U1_aaag(X37, T11, app16_in_aaag(T11))
U1_aaag(X37, T11, app16_out_aaag(X38, X39, X40, T11)) → app16_out_aaag(.(X37, X38), X39, X40, .(X37, T11))
U3_ag(T6, app16_out_aaag(X17, X23, X18, T6)) → in_order1_out_ag(T6)
in_order1_in_ag(T6) → U4_ag(T6, app16_in_aaag(T6))
U4_ag(T6, app16_out_aaag(T8, T9, T10, T6)) → U5_ag(T6, T10, in_order30_in_g(T8))
in_order30_in_g([]) → in_order30_out_g([])
U5_ag(T6, T10, in_order30_out_g(T8)) → in_order1_out_ag(T6)
U5_ag(T6, T10, in_order30_out_g(T8)) → U6_ag(T6, in_order30_in_g(T10))
U6_ag(T6, in_order30_out_g(T10)) → in_order1_out_ag(T6)
in_order1_in_ag(T6) → U7_ag(T6, app47_in_aaag(T6))
app47_in_aaag(.(T25, X60)) → app47_out_aaag([], T25, X60, .(T25, X60))
app47_in_aaag(.(X69, T27)) → U2_aaag(X69, T27, app47_in_aaag(T27))
U2_aaag(X69, T27, app47_out_aaag(X70, T28, X71, T27)) → app47_out_aaag(.(X69, X70), T28, X71, .(X69, T27))
U7_ag(T6, app47_out_aaag(X17, T17, X18, T6)) → in_order1_out_ag(T6)
in_order1_in_ag(T6) → U8_ag(T6, app47_in_aaag(T6))
U8_ag(T6, app47_out_aaag(T20, T30, T21, T6)) → U9_ag(T6, in_order1_in_ag(T20))
in_order1_in_ag(T6) → U10_ag(T6, app47_in_aaag(T6))
U10_ag(T6, app47_out_aaag(T20, T37, T21, T6)) → U11_ag(T6, T21, in_order1_in_ag(T20))
in_order1_in_ag(T6) → U13_ag(T6, p45_in_aaagaaaa(T6))
p45_in_aaagaaaa(T6) → U14_aaagaaaa(T6, app47_in_aaag(T6))
U14_aaagaaaa(T6, app47_out_aaag(X17, T17, X18, T6)) → p45_out_aaagaaaa(X17, T17, X18, T6)
p45_in_aaagaaaa(T6) → U15_aaagaaaa(T6, app47_in_aaag(T6))
U15_aaagaaaa(T6, app47_out_aaag(T20, T30, T21, T6)) → U16_aaagaaaa(T20, T30, T21, T6, in_order1_in_ag(T20))
U16_aaagaaaa(T20, T30, T21, T6, in_order1_out_ag(T20)) → p45_out_aaagaaaa(T20, T30, T21, T6)
p45_in_aaagaaaa(T6) → U17_aaagaaaa(T6, app47_in_aaag(T6))
U17_aaagaaaa(T6, app47_out_aaag(T20, T37, T21, T6)) → U18_aaagaaaa(T20, T37, T21, T6, in_order1_in_ag(T20))
U18_aaagaaaa(T20, T37, T21, T6, in_order1_out_ag(T20)) → U19_aaagaaaa(T20, T37, T21, T6, in_order1_in_ag(T21))
U19_aaagaaaa(T20, T37, T21, T6, in_order1_out_ag(T21)) → p45_out_aaagaaaa(T20, T37, T21, T6)
U13_ag(T6, p45_out_aaagaaaa(X17, T43, X18, T6)) → in_order1_out_ag(T6)
U11_ag(T6, T21, in_order1_out_ag(T20)) → U12_ag(T6, in_order1_in_ag(T21))
U12_ag(T6, in_order1_out_ag(T21)) → in_order1_out_ag(T6)
U9_ag(T6, in_order1_out_ag(T20)) → in_order1_out_ag(T6)
in_order1_in_ag(x0)
app16_in_aaag(x0)
U1_aaag(x0, x1, x2)
U3_ag(x0, x1)
U4_ag(x0, x1)
in_order30_in_g(x0)
U5_ag(x0, x1, x2)
U6_ag(x0, x1)
app47_in_aaag(x0)
U2_aaag(x0, x1, x2)
U7_ag(x0, x1)
U8_ag(x0, x1)
U10_ag(x0, x1)
p45_in_aaagaaaa(x0)
U14_aaagaaaa(x0, x1)
U15_aaagaaaa(x0, x1)
U16_aaagaaaa(x0, x1, x2, x3, x4)
U17_aaagaaaa(x0, x1)
U18_aaagaaaa(x0, x1, x2, x3, x4)
U19_aaagaaaa(x0, x1, x2, x3, x4)
U13_ag(x0, x1)
U11_ag(x0, x1, x2)
U12_ag(x0, x1)
U9_ag(x0, x1)