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 FALSE
↳16 PiDP
↳17 UsableRulesProof (⇔)
↳18 PiDP
↳19 PiDPToQDPProof (⇐)
↳20 QDP
↳21 NonTerminationProof (⇔)
↳22 FALSE
↳23 PiDP
↳24 UsableRulesProof (⇔)
↳25 PiDP
↳26 PiDPToQDPProof (⇐)
↳27 QDP
↳28 MRRProof (⇔)
↳29 QDP
↳30 MRRProof (⇔)
↳31 QDP
↳32 UsableRulesProof (⇔)
↳33 QDP
↳34 QReductionProof (⇔)
↳35 QDP
↳36 Narrowing (⇐)
↳37 QDP
↳38 Narrowing (⇐)
↳39 QDP
↳40 NonTerminationProof (⇔)
↳41 FALSE
↳42 PiDP
↳43 UsableRulesProof (⇔)
↳44 PiDP
↳45 PiDPToQDPProof (⇐)
↳46 QDP
↳47 QDPSizeChangeProof (⇔)
↳48 TRUE
↳49 PiDP
↳50 UsableRulesProof (⇔)
↳51 PiDP
↳52 PiDPToQDPProof (⇔)
↳53 QDP
↳54 QDPSizeChangeProof (⇔)
↳55 TRUE
↳56 PiDP
↳57 UsableRulesProof (⇔)
↳58 PiDP
↳59 PiDPToQDPProof (⇐)
↳60 QDP
↳61 NonTerminationProof (⇔)
↳62 FALSE
↳63 PiDP
↳64 UsableRulesProof (⇔)
↳65 PiDP
↳66 PiDPToQDPProof (⇐)
↳67 QDP
↳68 QDPSizeChangeProof (⇔)
↳69 TRUE
↳70 PrologToPiTRSProof (⇐)
↳71 PiTRS
↳72 DependencyPairsProof (⇔)
↳73 PiDP
↳74 DependencyGraphProof (⇔)
↳75 AND
↳76 PiDP
↳77 UsableRulesProof (⇔)
↳78 PiDP
↳79 PiDPToQDPProof (⇐)
↳80 QDP
↳81 NonTerminationProof (⇔)
↳82 FALSE
↳83 PiDP
↳84 UsableRulesProof (⇔)
↳85 PiDP
↳86 PiDPToQDPProof (⇐)
↳87 QDP
↳88 NonTerminationProof (⇔)
↳89 FALSE
↳90 PiDP
↳91 UsableRulesProof (⇔)
↳92 PiDP
↳93 PiDPToQDPProof (⇐)
↳94 QDP
↳95 MRRProof (⇔)
↳96 QDP
↳97 UsableRulesProof (⇔)
↳98 QDP
↳99 QReductionProof (⇔)
↳100 QDP
↳101 Narrowing (⇐)
↳102 QDP
↳103 Narrowing (⇐)
↳104 QDP
↳105 NonTerminationProof (⇔)
↳106 FALSE
↳107 PiDP
↳108 UsableRulesProof (⇔)
↳109 PiDP
↳110 PiDPToQDPProof (⇐)
↳111 QDP
↳112 QDPSizeChangeProof (⇔)
↳113 TRUE
↳114 PiDP
↳115 UsableRulesProof (⇔)
↳116 PiDP
↳117 PiDPToQDPProof (⇔)
↳118 QDP
↳119 QDPSizeChangeProof (⇔)
↳120 TRUE
↳121 PiDP
↳122 UsableRulesProof (⇔)
↳123 PiDP
↳124 PiDPToQDPProof (⇐)
↳125 QDP
↳126 NonTerminationProof (⇔)
↳127 FALSE
↳128 PiDP
↳129 UsableRulesProof (⇔)
↳130 PiDP
↳131 PiDPToQDPProof (⇐)
↳132 QDP
↳133 QDPSizeChangeProof (⇔)
↳134 TRUE
lessleaves1_in_gg(nil, cons(T3, T4)) → lessleaves1_out_gg(nil, cons(T3, T4))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U17_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, X20))
app10_in_gga(nil, T11, T11) → app10_out_gga(nil, T11, T11)
app10_in_gga([], T14, cons(X42, cons(X58, X55))) → U2_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
app24_in_gaaa(T14, cons(X58, X55), X37, X38) → U1_gaaa(T14, X58, X55, X37, X38, app24_in_gaaa(T14, X55, X53, X54))
U1_gaaa(T14, X58, X55, X37, X38, app24_out_gaaa(T14, X55, X53, X54)) → app24_out_gaaa(T14, cons(X58, X55), X37, X38)
U2_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app10_out_gga([], T14, cons(X42, cons(X58, X55)))
app10_in_gga(.(T17, T18), T13, cons(T17, X39)) → U3_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U3_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app10_out_gga(.(T17, T18), T13, cons(T17, X39))
U17_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, X20)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U18_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, T9))
U18_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, T9)) → U19_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, X21))
app41_in_gga(nil, T21, T21) → app41_out_gga(nil, T21, T21)
app41_in_gga(T7, T8, X21) → U16_gga(T7, T8, X21, app14_in_gga(T7, T8, X21))
app14_in_gga([], T14, cons(X42, cons(X58, X55))) → U4_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
U4_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app14_out_gga([], T14, cons(X42, cons(X58, X55)))
app14_in_gga(.(T17, T18), T13, cons(T17, X39)) → U5_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U5_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app14_out_gga(.(T17, T18), T13, cons(T17, X39))
U16_gga(T7, T8, X21, app14_out_gga(T7, T8, X21)) → app41_out_gga(T7, T8, X21)
U19_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, X21)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U20_gg(T5, T6, T7, T8, app10_in_ggg(T5, T6, nil))
app10_in_ggg(nil, T11, T11) → app10_out_ggg(nil, T11, T11)
app10_in_ggg([], T14, cons(X42, cons(X58, X55))) → U2_ggg(T14, X42, X58, X55, app24_in_ggaa(T14, X55, X53, X54))
app24_in_ggaa(T14, cons(X58, X55), X37, X38) → U1_ggaa(T14, X58, X55, X37, X38, app24_in_ggaa(T14, X55, X53, X54))
U1_ggaa(T14, X58, X55, X37, X38, app24_out_ggaa(T14, X55, X53, X54)) → app24_out_ggaa(T14, cons(X58, X55), X37, X38)
U2_ggg(T14, X42, X58, X55, app24_out_ggaa(T14, X55, X53, X54)) → app10_out_ggg([], T14, cons(X42, cons(X58, X55)))
app10_in_ggg(.(T17, T18), T13, cons(T17, X39)) → U3_ggg(T17, T18, T13, X39, app10_in_ggg(T18, T13, X39))
U3_ggg(T17, T18, T13, X39, app10_out_ggg(T18, T13, X39)) → app10_out_ggg(.(T17, T18), T13, cons(T17, X39))
U20_gg(T5, T6, T7, T8, app10_out_ggg(T5, T6, nil)) → U21_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, cons(T22, T23)))
U21_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, cons(T22, T23))) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U22_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, cons(T28, T29)))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U23_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T30, T31)))
U23_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T30, T31))) → U24_gg(T5, T6, T7, T8, app60_in_aaa(T28, T29, X98))
app60_in_aaa(nil, T37, T37) → app60_out_aaa(nil, T37, T37)
app60_in_aaa([], T44, cons(X120, cons(X136, X133))) → U7_aaa(T44, X120, X136, X133, app75_in_aa(T44, X133))
app75_in_aa(T44, cons(X136, X133)) → U6_aa(T44, X136, X133, app75_in_aa(T44, X133))
U6_aa(T44, X136, X133, app75_out_aa(T44, X133)) → app75_out_aa(T44, cons(X136, X133))
U7_aaa(T44, X120, X136, X133, app75_out_aa(T44, X133)) → app60_out_aaa([], T44, cons(X120, cons(X136, X133)))
app60_in_aaa(.(T50, T52), T53, cons(T50, X117)) → U8_aaa(T50, T52, T53, X117, app60_in_aaa(T52, T53, X117))
app60_in_aaa(.(T59, T61), T62, cons(T59, X117)) → U9_aaa(T59, T61, T62, X117, app60_in_aaa(T61, T62, X117))
U9_aaa(T59, T61, T62, X117, app60_out_aaa(T61, T62, X117)) → app60_out_aaa(.(T59, T61), T62, cons(T59, X117))
U8_aaa(T50, T52, T53, X117, app60_out_aaa(T52, T53, X117)) → app60_out_aaa(.(T50, T52), T53, cons(T50, X117))
U24_gg(T5, T6, T7, T8, app60_out_aaa(T28, T29, X98)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U25_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T33, T34)))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U26_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T32))
U26_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T32)) → U27_gg(T5, T6, T7, T8, app60_in_aaa(T33, T34, X99))
U27_gg(T5, T6, T7, T8, app60_out_aaa(T33, T34, X99)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U28_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T64))
U28_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T64)) → U29_gg(T5, T6, T7, T8, T64, app60_in_aaa(T33, T34, T63))
U29_gg(T5, T6, T7, T8, T64, app60_out_aaa(T33, T34, T63)) → U30_gg(T5, T6, T7, T8, lessleaves42_in_aa(T64, T63))
lessleaves42_in_aa(nil, cons(T22, T23)) → lessleaves42_out_aa(nil, cons(T22, T23))
lessleaves42_in_aa(cons(T28, T29), cons(T30, T31)) → U10_aa(T28, T29, T30, T31, app60_in_aaa(T28, T29, X98))
U10_aa(T28, T29, T30, T31, app60_out_aaa(T28, T29, X98)) → lessleaves42_out_aa(cons(T28, T29), cons(T30, T31))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U11_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T32))
U11_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T32)) → U12_aa(T28, T29, T33, T34, app60_in_aaa(T33, T34, X99))
U12_aa(T28, T29, T33, T34, app60_out_aaa(T33, T34, X99)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U13_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T64))
U13_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T64)) → U14_aa(T28, T29, T33, T34, T64, app60_in_aaa(T33, T34, T63))
U14_aa(T28, T29, T33, T34, T64, app60_out_aaa(T33, T34, T63)) → U15_aa(T28, T29, T33, T34, lessleaves42_in_aa(T64, T63))
U15_aa(T28, T29, T33, T34, lessleaves42_out_aa(T64, T63)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
U30_gg(T5, T6, T7, T8, lessleaves42_out_aa(T64, T63)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
lessleaves1_in_gg(nil, cons(T3, T4)) → lessleaves1_out_gg(nil, cons(T3, T4))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U17_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, X20))
app10_in_gga(nil, T11, T11) → app10_out_gga(nil, T11, T11)
app10_in_gga([], T14, cons(X42, cons(X58, X55))) → U2_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
app24_in_gaaa(T14, cons(X58, X55), X37, X38) → U1_gaaa(T14, X58, X55, X37, X38, app24_in_gaaa(T14, X55, X53, X54))
U1_gaaa(T14, X58, X55, X37, X38, app24_out_gaaa(T14, X55, X53, X54)) → app24_out_gaaa(T14, cons(X58, X55), X37, X38)
U2_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app10_out_gga([], T14, cons(X42, cons(X58, X55)))
app10_in_gga(.(T17, T18), T13, cons(T17, X39)) → U3_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U3_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app10_out_gga(.(T17, T18), T13, cons(T17, X39))
U17_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, X20)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U18_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, T9))
U18_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, T9)) → U19_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, X21))
app41_in_gga(nil, T21, T21) → app41_out_gga(nil, T21, T21)
app41_in_gga(T7, T8, X21) → U16_gga(T7, T8, X21, app14_in_gga(T7, T8, X21))
app14_in_gga([], T14, cons(X42, cons(X58, X55))) → U4_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
U4_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app14_out_gga([], T14, cons(X42, cons(X58, X55)))
app14_in_gga(.(T17, T18), T13, cons(T17, X39)) → U5_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U5_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app14_out_gga(.(T17, T18), T13, cons(T17, X39))
U16_gga(T7, T8, X21, app14_out_gga(T7, T8, X21)) → app41_out_gga(T7, T8, X21)
U19_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, X21)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U20_gg(T5, T6, T7, T8, app10_in_ggg(T5, T6, nil))
app10_in_ggg(nil, T11, T11) → app10_out_ggg(nil, T11, T11)
app10_in_ggg([], T14, cons(X42, cons(X58, X55))) → U2_ggg(T14, X42, X58, X55, app24_in_ggaa(T14, X55, X53, X54))
app24_in_ggaa(T14, cons(X58, X55), X37, X38) → U1_ggaa(T14, X58, X55, X37, X38, app24_in_ggaa(T14, X55, X53, X54))
U1_ggaa(T14, X58, X55, X37, X38, app24_out_ggaa(T14, X55, X53, X54)) → app24_out_ggaa(T14, cons(X58, X55), X37, X38)
U2_ggg(T14, X42, X58, X55, app24_out_ggaa(T14, X55, X53, X54)) → app10_out_ggg([], T14, cons(X42, cons(X58, X55)))
app10_in_ggg(.(T17, T18), T13, cons(T17, X39)) → U3_ggg(T17, T18, T13, X39, app10_in_ggg(T18, T13, X39))
U3_ggg(T17, T18, T13, X39, app10_out_ggg(T18, T13, X39)) → app10_out_ggg(.(T17, T18), T13, cons(T17, X39))
U20_gg(T5, T6, T7, T8, app10_out_ggg(T5, T6, nil)) → U21_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, cons(T22, T23)))
U21_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, cons(T22, T23))) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U22_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, cons(T28, T29)))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U23_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T30, T31)))
U23_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T30, T31))) → U24_gg(T5, T6, T7, T8, app60_in_aaa(T28, T29, X98))
app60_in_aaa(nil, T37, T37) → app60_out_aaa(nil, T37, T37)
app60_in_aaa([], T44, cons(X120, cons(X136, X133))) → U7_aaa(T44, X120, X136, X133, app75_in_aa(T44, X133))
app75_in_aa(T44, cons(X136, X133)) → U6_aa(T44, X136, X133, app75_in_aa(T44, X133))
U6_aa(T44, X136, X133, app75_out_aa(T44, X133)) → app75_out_aa(T44, cons(X136, X133))
U7_aaa(T44, X120, X136, X133, app75_out_aa(T44, X133)) → app60_out_aaa([], T44, cons(X120, cons(X136, X133)))
app60_in_aaa(.(T50, T52), T53, cons(T50, X117)) → U8_aaa(T50, T52, T53, X117, app60_in_aaa(T52, T53, X117))
app60_in_aaa(.(T59, T61), T62, cons(T59, X117)) → U9_aaa(T59, T61, T62, X117, app60_in_aaa(T61, T62, X117))
U9_aaa(T59, T61, T62, X117, app60_out_aaa(T61, T62, X117)) → app60_out_aaa(.(T59, T61), T62, cons(T59, X117))
U8_aaa(T50, T52, T53, X117, app60_out_aaa(T52, T53, X117)) → app60_out_aaa(.(T50, T52), T53, cons(T50, X117))
U24_gg(T5, T6, T7, T8, app60_out_aaa(T28, T29, X98)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U25_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T33, T34)))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U26_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T32))
U26_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T32)) → U27_gg(T5, T6, T7, T8, app60_in_aaa(T33, T34, X99))
U27_gg(T5, T6, T7, T8, app60_out_aaa(T33, T34, X99)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U28_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T64))
U28_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T64)) → U29_gg(T5, T6, T7, T8, T64, app60_in_aaa(T33, T34, T63))
U29_gg(T5, T6, T7, T8, T64, app60_out_aaa(T33, T34, T63)) → U30_gg(T5, T6, T7, T8, lessleaves42_in_aa(T64, T63))
lessleaves42_in_aa(nil, cons(T22, T23)) → lessleaves42_out_aa(nil, cons(T22, T23))
lessleaves42_in_aa(cons(T28, T29), cons(T30, T31)) → U10_aa(T28, T29, T30, T31, app60_in_aaa(T28, T29, X98))
U10_aa(T28, T29, T30, T31, app60_out_aaa(T28, T29, X98)) → lessleaves42_out_aa(cons(T28, T29), cons(T30, T31))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U11_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T32))
U11_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T32)) → U12_aa(T28, T29, T33, T34, app60_in_aaa(T33, T34, X99))
U12_aa(T28, T29, T33, T34, app60_out_aaa(T33, T34, X99)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U13_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T64))
U13_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T64)) → U14_aa(T28, T29, T33, T34, T64, app60_in_aaa(T33, T34, T63))
U14_aa(T28, T29, T33, T34, T64, app60_out_aaa(T33, T34, T63)) → U15_aa(T28, T29, T33, T34, lessleaves42_in_aa(T64, T63))
U15_aa(T28, T29, T33, T34, lessleaves42_out_aa(T64, T63)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
U30_gg(T5, T6, T7, T8, lessleaves42_out_aa(T64, T63)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
LESSLEAVES1_IN_GG(cons(T5, T6), cons(T7, T8)) → U17_GG(T5, T6, T7, T8, app10_in_gga(T5, T6, X20))
LESSLEAVES1_IN_GG(cons(T5, T6), cons(T7, T8)) → APP10_IN_GGA(T5, T6, X20)
APP10_IN_GGA([], T14, cons(X42, cons(X58, X55))) → U2_GGA(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
APP10_IN_GGA([], T14, cons(X42, cons(X58, X55))) → APP24_IN_GAAA(T14, X55, X53, X54)
APP24_IN_GAAA(T14, cons(X58, X55), X37, X38) → U1_GAAA(T14, X58, X55, X37, X38, app24_in_gaaa(T14, X55, X53, X54))
APP24_IN_GAAA(T14, cons(X58, X55), X37, X38) → APP24_IN_GAAA(T14, X55, X53, X54)
APP10_IN_GGA(.(T17, T18), T13, cons(T17, X39)) → U3_GGA(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
APP10_IN_GGA(.(T17, T18), T13, cons(T17, X39)) → APP10_IN_GGA(T18, T13, X39)
LESSLEAVES1_IN_GG(cons(T5, T6), cons(T7, T8)) → U18_GG(T5, T6, T7, T8, app10_in_gga(T5, T6, T9))
U18_GG(T5, T6, T7, T8, app10_out_gga(T5, T6, T9)) → U19_GG(T5, T6, T7, T8, app41_in_gga(T7, T8, X21))
U18_GG(T5, T6, T7, T8, app10_out_gga(T5, T6, T9)) → APP41_IN_GGA(T7, T8, X21)
APP41_IN_GGA(T7, T8, X21) → U16_GGA(T7, T8, X21, app14_in_gga(T7, T8, X21))
APP41_IN_GGA(T7, T8, X21) → APP14_IN_GGA(T7, T8, X21)
APP14_IN_GGA([], T14, cons(X42, cons(X58, X55))) → U4_GGA(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
APP14_IN_GGA([], T14, cons(X42, cons(X58, X55))) → APP24_IN_GAAA(T14, X55, X53, X54)
APP14_IN_GGA(.(T17, T18), T13, cons(T17, X39)) → U5_GGA(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
APP14_IN_GGA(.(T17, T18), T13, cons(T17, X39)) → APP10_IN_GGA(T18, T13, X39)
LESSLEAVES1_IN_GG(cons(T5, T6), cons(T7, T8)) → U20_GG(T5, T6, T7, T8, app10_in_ggg(T5, T6, nil))
LESSLEAVES1_IN_GG(cons(T5, T6), cons(T7, T8)) → APP10_IN_GGG(T5, T6, nil)
APP10_IN_GGG([], T14, cons(X42, cons(X58, X55))) → U2_GGG(T14, X42, X58, X55, app24_in_ggaa(T14, X55, X53, X54))
APP10_IN_GGG([], T14, cons(X42, cons(X58, X55))) → APP24_IN_GGAA(T14, X55, X53, X54)
APP24_IN_GGAA(T14, cons(X58, X55), X37, X38) → U1_GGAA(T14, X58, X55, X37, X38, app24_in_ggaa(T14, X55, X53, X54))
APP24_IN_GGAA(T14, cons(X58, X55), X37, X38) → APP24_IN_GGAA(T14, X55, X53, X54)
APP10_IN_GGG(.(T17, T18), T13, cons(T17, X39)) → U3_GGG(T17, T18, T13, X39, app10_in_ggg(T18, T13, X39))
APP10_IN_GGG(.(T17, T18), T13, cons(T17, X39)) → APP10_IN_GGG(T18, T13, X39)
U20_GG(T5, T6, T7, T8, app10_out_ggg(T5, T6, nil)) → U21_GG(T5, T6, T7, T8, app41_in_gga(T7, T8, cons(T22, T23)))
U20_GG(T5, T6, T7, T8, app10_out_ggg(T5, T6, nil)) → APP41_IN_GGA(T7, T8, cons(T22, T23))
LESSLEAVES1_IN_GG(cons(T5, T6), cons(T7, T8)) → U22_GG(T5, T6, T7, T8, app10_in_gga(T5, T6, cons(T28, T29)))
LESSLEAVES1_IN_GG(cons(T5, T6), cons(T7, T8)) → APP10_IN_GGA(T5, T6, cons(T28, T29))
U22_GG(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U23_GG(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T30, T31)))
U22_GG(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → APP41_IN_GGA(T7, T8, cons(T30, T31))
U23_GG(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T30, T31))) → U24_GG(T5, T6, T7, T8, app60_in_aaa(T28, T29, X98))
U23_GG(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T30, T31))) → APP60_IN_AAA(T28, T29, X98)
APP60_IN_AAA([], T44, cons(X120, cons(X136, X133))) → U7_AAA(T44, X120, X136, X133, app75_in_aa(T44, X133))
APP60_IN_AAA([], T44, cons(X120, cons(X136, X133))) → APP75_IN_AA(T44, X133)
APP75_IN_AA(T44, cons(X136, X133)) → U6_AA(T44, X136, X133, app75_in_aa(T44, X133))
APP75_IN_AA(T44, cons(X136, X133)) → APP75_IN_AA(T44, X133)
APP60_IN_AAA(.(T50, T52), T53, cons(T50, X117)) → U8_AAA(T50, T52, T53, X117, app60_in_aaa(T52, T53, X117))
APP60_IN_AAA(.(T50, T52), T53, cons(T50, X117)) → APP60_IN_AAA(T52, T53, X117)
APP60_IN_AAA(.(T59, T61), T62, cons(T59, X117)) → U9_AAA(T59, T61, T62, X117, app60_in_aaa(T61, T62, X117))
U22_GG(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U25_GG(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T33, T34)))
U25_GG(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U26_GG(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T32))
U25_GG(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → APP60_IN_AAA(T28, T29, T32)
U26_GG(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T32)) → U27_GG(T5, T6, T7, T8, app60_in_aaa(T33, T34, X99))
U26_GG(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T32)) → APP60_IN_AAA(T33, T34, X99)
U25_GG(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U28_GG(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T64))
U28_GG(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T64)) → U29_GG(T5, T6, T7, T8, T64, app60_in_aaa(T33, T34, T63))
U28_GG(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T64)) → APP60_IN_AAA(T33, T34, T63)
U29_GG(T5, T6, T7, T8, T64, app60_out_aaa(T33, T34, T63)) → U30_GG(T5, T6, T7, T8, lessleaves42_in_aa(T64, T63))
U29_GG(T5, T6, T7, T8, T64, app60_out_aaa(T33, T34, T63)) → LESSLEAVES42_IN_AA(T64, T63)
LESSLEAVES42_IN_AA(cons(T28, T29), cons(T30, T31)) → U10_AA(T28, T29, T30, T31, app60_in_aaa(T28, T29, X98))
LESSLEAVES42_IN_AA(cons(T28, T29), cons(T30, T31)) → APP60_IN_AAA(T28, T29, X98)
LESSLEAVES42_IN_AA(cons(T28, T29), cons(T33, T34)) → U11_AA(T28, T29, T33, T34, app60_in_aaa(T28, T29, T32))
U11_AA(T28, T29, T33, T34, app60_out_aaa(T28, T29, T32)) → U12_AA(T28, T29, T33, T34, app60_in_aaa(T33, T34, X99))
U11_AA(T28, T29, T33, T34, app60_out_aaa(T28, T29, T32)) → APP60_IN_AAA(T33, T34, X99)
LESSLEAVES42_IN_AA(cons(T28, T29), cons(T33, T34)) → U13_AA(T28, T29, T33, T34, app60_in_aaa(T28, T29, T64))
U13_AA(T28, T29, T33, T34, app60_out_aaa(T28, T29, T64)) → U14_AA(T28, T29, T33, T34, T64, app60_in_aaa(T33, T34, T63))
U13_AA(T28, T29, T33, T34, app60_out_aaa(T28, T29, T64)) → APP60_IN_AAA(T33, T34, T63)
U14_AA(T28, T29, T33, T34, T64, app60_out_aaa(T33, T34, T63)) → U15_AA(T28, T29, T33, T34, lessleaves42_in_aa(T64, T63))
U14_AA(T28, T29, T33, T34, T64, app60_out_aaa(T33, T34, T63)) → LESSLEAVES42_IN_AA(T64, T63)
lessleaves1_in_gg(nil, cons(T3, T4)) → lessleaves1_out_gg(nil, cons(T3, T4))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U17_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, X20))
app10_in_gga(nil, T11, T11) → app10_out_gga(nil, T11, T11)
app10_in_gga([], T14, cons(X42, cons(X58, X55))) → U2_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
app24_in_gaaa(T14, cons(X58, X55), X37, X38) → U1_gaaa(T14, X58, X55, X37, X38, app24_in_gaaa(T14, X55, X53, X54))
U1_gaaa(T14, X58, X55, X37, X38, app24_out_gaaa(T14, X55, X53, X54)) → app24_out_gaaa(T14, cons(X58, X55), X37, X38)
U2_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app10_out_gga([], T14, cons(X42, cons(X58, X55)))
app10_in_gga(.(T17, T18), T13, cons(T17, X39)) → U3_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U3_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app10_out_gga(.(T17, T18), T13, cons(T17, X39))
U17_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, X20)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U18_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, T9))
U18_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, T9)) → U19_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, X21))
app41_in_gga(nil, T21, T21) → app41_out_gga(nil, T21, T21)
app41_in_gga(T7, T8, X21) → U16_gga(T7, T8, X21, app14_in_gga(T7, T8, X21))
app14_in_gga([], T14, cons(X42, cons(X58, X55))) → U4_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
U4_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app14_out_gga([], T14, cons(X42, cons(X58, X55)))
app14_in_gga(.(T17, T18), T13, cons(T17, X39)) → U5_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U5_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app14_out_gga(.(T17, T18), T13, cons(T17, X39))
U16_gga(T7, T8, X21, app14_out_gga(T7, T8, X21)) → app41_out_gga(T7, T8, X21)
U19_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, X21)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U20_gg(T5, T6, T7, T8, app10_in_ggg(T5, T6, nil))
app10_in_ggg(nil, T11, T11) → app10_out_ggg(nil, T11, T11)
app10_in_ggg([], T14, cons(X42, cons(X58, X55))) → U2_ggg(T14, X42, X58, X55, app24_in_ggaa(T14, X55, X53, X54))
app24_in_ggaa(T14, cons(X58, X55), X37, X38) → U1_ggaa(T14, X58, X55, X37, X38, app24_in_ggaa(T14, X55, X53, X54))
U1_ggaa(T14, X58, X55, X37, X38, app24_out_ggaa(T14, X55, X53, X54)) → app24_out_ggaa(T14, cons(X58, X55), X37, X38)
U2_ggg(T14, X42, X58, X55, app24_out_ggaa(T14, X55, X53, X54)) → app10_out_ggg([], T14, cons(X42, cons(X58, X55)))
app10_in_ggg(.(T17, T18), T13, cons(T17, X39)) → U3_ggg(T17, T18, T13, X39, app10_in_ggg(T18, T13, X39))
U3_ggg(T17, T18, T13, X39, app10_out_ggg(T18, T13, X39)) → app10_out_ggg(.(T17, T18), T13, cons(T17, X39))
U20_gg(T5, T6, T7, T8, app10_out_ggg(T5, T6, nil)) → U21_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, cons(T22, T23)))
U21_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, cons(T22, T23))) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U22_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, cons(T28, T29)))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U23_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T30, T31)))
U23_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T30, T31))) → U24_gg(T5, T6, T7, T8, app60_in_aaa(T28, T29, X98))
app60_in_aaa(nil, T37, T37) → app60_out_aaa(nil, T37, T37)
app60_in_aaa([], T44, cons(X120, cons(X136, X133))) → U7_aaa(T44, X120, X136, X133, app75_in_aa(T44, X133))
app75_in_aa(T44, cons(X136, X133)) → U6_aa(T44, X136, X133, app75_in_aa(T44, X133))
U6_aa(T44, X136, X133, app75_out_aa(T44, X133)) → app75_out_aa(T44, cons(X136, X133))
U7_aaa(T44, X120, X136, X133, app75_out_aa(T44, X133)) → app60_out_aaa([], T44, cons(X120, cons(X136, X133)))
app60_in_aaa(.(T50, T52), T53, cons(T50, X117)) → U8_aaa(T50, T52, T53, X117, app60_in_aaa(T52, T53, X117))
app60_in_aaa(.(T59, T61), T62, cons(T59, X117)) → U9_aaa(T59, T61, T62, X117, app60_in_aaa(T61, T62, X117))
U9_aaa(T59, T61, T62, X117, app60_out_aaa(T61, T62, X117)) → app60_out_aaa(.(T59, T61), T62, cons(T59, X117))
U8_aaa(T50, T52, T53, X117, app60_out_aaa(T52, T53, X117)) → app60_out_aaa(.(T50, T52), T53, cons(T50, X117))
U24_gg(T5, T6, T7, T8, app60_out_aaa(T28, T29, X98)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U25_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T33, T34)))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U26_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T32))
U26_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T32)) → U27_gg(T5, T6, T7, T8, app60_in_aaa(T33, T34, X99))
U27_gg(T5, T6, T7, T8, app60_out_aaa(T33, T34, X99)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U28_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T64))
U28_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T64)) → U29_gg(T5, T6, T7, T8, T64, app60_in_aaa(T33, T34, T63))
U29_gg(T5, T6, T7, T8, T64, app60_out_aaa(T33, T34, T63)) → U30_gg(T5, T6, T7, T8, lessleaves42_in_aa(T64, T63))
lessleaves42_in_aa(nil, cons(T22, T23)) → lessleaves42_out_aa(nil, cons(T22, T23))
lessleaves42_in_aa(cons(T28, T29), cons(T30, T31)) → U10_aa(T28, T29, T30, T31, app60_in_aaa(T28, T29, X98))
U10_aa(T28, T29, T30, T31, app60_out_aaa(T28, T29, X98)) → lessleaves42_out_aa(cons(T28, T29), cons(T30, T31))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U11_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T32))
U11_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T32)) → U12_aa(T28, T29, T33, T34, app60_in_aaa(T33, T34, X99))
U12_aa(T28, T29, T33, T34, app60_out_aaa(T33, T34, X99)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U13_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T64))
U13_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T64)) → U14_aa(T28, T29, T33, T34, T64, app60_in_aaa(T33, T34, T63))
U14_aa(T28, T29, T33, T34, T64, app60_out_aaa(T33, T34, T63)) → U15_aa(T28, T29, T33, T34, lessleaves42_in_aa(T64, T63))
U15_aa(T28, T29, T33, T34, lessleaves42_out_aa(T64, T63)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
U30_gg(T5, T6, T7, T8, lessleaves42_out_aa(T64, T63)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
LESSLEAVES1_IN_GG(cons(T5, T6), cons(T7, T8)) → U17_GG(T5, T6, T7, T8, app10_in_gga(T5, T6, X20))
LESSLEAVES1_IN_GG(cons(T5, T6), cons(T7, T8)) → APP10_IN_GGA(T5, T6, X20)
APP10_IN_GGA([], T14, cons(X42, cons(X58, X55))) → U2_GGA(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
APP10_IN_GGA([], T14, cons(X42, cons(X58, X55))) → APP24_IN_GAAA(T14, X55, X53, X54)
APP24_IN_GAAA(T14, cons(X58, X55), X37, X38) → U1_GAAA(T14, X58, X55, X37, X38, app24_in_gaaa(T14, X55, X53, X54))
APP24_IN_GAAA(T14, cons(X58, X55), X37, X38) → APP24_IN_GAAA(T14, X55, X53, X54)
APP10_IN_GGA(.(T17, T18), T13, cons(T17, X39)) → U3_GGA(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
APP10_IN_GGA(.(T17, T18), T13, cons(T17, X39)) → APP10_IN_GGA(T18, T13, X39)
LESSLEAVES1_IN_GG(cons(T5, T6), cons(T7, T8)) → U18_GG(T5, T6, T7, T8, app10_in_gga(T5, T6, T9))
U18_GG(T5, T6, T7, T8, app10_out_gga(T5, T6, T9)) → U19_GG(T5, T6, T7, T8, app41_in_gga(T7, T8, X21))
U18_GG(T5, T6, T7, T8, app10_out_gga(T5, T6, T9)) → APP41_IN_GGA(T7, T8, X21)
APP41_IN_GGA(T7, T8, X21) → U16_GGA(T7, T8, X21, app14_in_gga(T7, T8, X21))
APP41_IN_GGA(T7, T8, X21) → APP14_IN_GGA(T7, T8, X21)
APP14_IN_GGA([], T14, cons(X42, cons(X58, X55))) → U4_GGA(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
APP14_IN_GGA([], T14, cons(X42, cons(X58, X55))) → APP24_IN_GAAA(T14, X55, X53, X54)
APP14_IN_GGA(.(T17, T18), T13, cons(T17, X39)) → U5_GGA(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
APP14_IN_GGA(.(T17, T18), T13, cons(T17, X39)) → APP10_IN_GGA(T18, T13, X39)
LESSLEAVES1_IN_GG(cons(T5, T6), cons(T7, T8)) → U20_GG(T5, T6, T7, T8, app10_in_ggg(T5, T6, nil))
LESSLEAVES1_IN_GG(cons(T5, T6), cons(T7, T8)) → APP10_IN_GGG(T5, T6, nil)
APP10_IN_GGG([], T14, cons(X42, cons(X58, X55))) → U2_GGG(T14, X42, X58, X55, app24_in_ggaa(T14, X55, X53, X54))
APP10_IN_GGG([], T14, cons(X42, cons(X58, X55))) → APP24_IN_GGAA(T14, X55, X53, X54)
APP24_IN_GGAA(T14, cons(X58, X55), X37, X38) → U1_GGAA(T14, X58, X55, X37, X38, app24_in_ggaa(T14, X55, X53, X54))
APP24_IN_GGAA(T14, cons(X58, X55), X37, X38) → APP24_IN_GGAA(T14, X55, X53, X54)
APP10_IN_GGG(.(T17, T18), T13, cons(T17, X39)) → U3_GGG(T17, T18, T13, X39, app10_in_ggg(T18, T13, X39))
APP10_IN_GGG(.(T17, T18), T13, cons(T17, X39)) → APP10_IN_GGG(T18, T13, X39)
U20_GG(T5, T6, T7, T8, app10_out_ggg(T5, T6, nil)) → U21_GG(T5, T6, T7, T8, app41_in_gga(T7, T8, cons(T22, T23)))
U20_GG(T5, T6, T7, T8, app10_out_ggg(T5, T6, nil)) → APP41_IN_GGA(T7, T8, cons(T22, T23))
LESSLEAVES1_IN_GG(cons(T5, T6), cons(T7, T8)) → U22_GG(T5, T6, T7, T8, app10_in_gga(T5, T6, cons(T28, T29)))
LESSLEAVES1_IN_GG(cons(T5, T6), cons(T7, T8)) → APP10_IN_GGA(T5, T6, cons(T28, T29))
U22_GG(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U23_GG(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T30, T31)))
U22_GG(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → APP41_IN_GGA(T7, T8, cons(T30, T31))
U23_GG(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T30, T31))) → U24_GG(T5, T6, T7, T8, app60_in_aaa(T28, T29, X98))
U23_GG(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T30, T31))) → APP60_IN_AAA(T28, T29, X98)
APP60_IN_AAA([], T44, cons(X120, cons(X136, X133))) → U7_AAA(T44, X120, X136, X133, app75_in_aa(T44, X133))
APP60_IN_AAA([], T44, cons(X120, cons(X136, X133))) → APP75_IN_AA(T44, X133)
APP75_IN_AA(T44, cons(X136, X133)) → U6_AA(T44, X136, X133, app75_in_aa(T44, X133))
APP75_IN_AA(T44, cons(X136, X133)) → APP75_IN_AA(T44, X133)
APP60_IN_AAA(.(T50, T52), T53, cons(T50, X117)) → U8_AAA(T50, T52, T53, X117, app60_in_aaa(T52, T53, X117))
APP60_IN_AAA(.(T50, T52), T53, cons(T50, X117)) → APP60_IN_AAA(T52, T53, X117)
APP60_IN_AAA(.(T59, T61), T62, cons(T59, X117)) → U9_AAA(T59, T61, T62, X117, app60_in_aaa(T61, T62, X117))
U22_GG(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U25_GG(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T33, T34)))
U25_GG(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U26_GG(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T32))
U25_GG(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → APP60_IN_AAA(T28, T29, T32)
U26_GG(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T32)) → U27_GG(T5, T6, T7, T8, app60_in_aaa(T33, T34, X99))
U26_GG(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T32)) → APP60_IN_AAA(T33, T34, X99)
U25_GG(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U28_GG(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T64))
U28_GG(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T64)) → U29_GG(T5, T6, T7, T8, T64, app60_in_aaa(T33, T34, T63))
U28_GG(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T64)) → APP60_IN_AAA(T33, T34, T63)
U29_GG(T5, T6, T7, T8, T64, app60_out_aaa(T33, T34, T63)) → U30_GG(T5, T6, T7, T8, lessleaves42_in_aa(T64, T63))
U29_GG(T5, T6, T7, T8, T64, app60_out_aaa(T33, T34, T63)) → LESSLEAVES42_IN_AA(T64, T63)
LESSLEAVES42_IN_AA(cons(T28, T29), cons(T30, T31)) → U10_AA(T28, T29, T30, T31, app60_in_aaa(T28, T29, X98))
LESSLEAVES42_IN_AA(cons(T28, T29), cons(T30, T31)) → APP60_IN_AAA(T28, T29, X98)
LESSLEAVES42_IN_AA(cons(T28, T29), cons(T33, T34)) → U11_AA(T28, T29, T33, T34, app60_in_aaa(T28, T29, T32))
U11_AA(T28, T29, T33, T34, app60_out_aaa(T28, T29, T32)) → U12_AA(T28, T29, T33, T34, app60_in_aaa(T33, T34, X99))
U11_AA(T28, T29, T33, T34, app60_out_aaa(T28, T29, T32)) → APP60_IN_AAA(T33, T34, X99)
LESSLEAVES42_IN_AA(cons(T28, T29), cons(T33, T34)) → U13_AA(T28, T29, T33, T34, app60_in_aaa(T28, T29, T64))
U13_AA(T28, T29, T33, T34, app60_out_aaa(T28, T29, T64)) → U14_AA(T28, T29, T33, T34, T64, app60_in_aaa(T33, T34, T63))
U13_AA(T28, T29, T33, T34, app60_out_aaa(T28, T29, T64)) → APP60_IN_AAA(T33, T34, T63)
U14_AA(T28, T29, T33, T34, T64, app60_out_aaa(T33, T34, T63)) → U15_AA(T28, T29, T33, T34, lessleaves42_in_aa(T64, T63))
U14_AA(T28, T29, T33, T34, T64, app60_out_aaa(T33, T34, T63)) → LESSLEAVES42_IN_AA(T64, T63)
lessleaves1_in_gg(nil, cons(T3, T4)) → lessleaves1_out_gg(nil, cons(T3, T4))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U17_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, X20))
app10_in_gga(nil, T11, T11) → app10_out_gga(nil, T11, T11)
app10_in_gga([], T14, cons(X42, cons(X58, X55))) → U2_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
app24_in_gaaa(T14, cons(X58, X55), X37, X38) → U1_gaaa(T14, X58, X55, X37, X38, app24_in_gaaa(T14, X55, X53, X54))
U1_gaaa(T14, X58, X55, X37, X38, app24_out_gaaa(T14, X55, X53, X54)) → app24_out_gaaa(T14, cons(X58, X55), X37, X38)
U2_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app10_out_gga([], T14, cons(X42, cons(X58, X55)))
app10_in_gga(.(T17, T18), T13, cons(T17, X39)) → U3_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U3_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app10_out_gga(.(T17, T18), T13, cons(T17, X39))
U17_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, X20)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U18_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, T9))
U18_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, T9)) → U19_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, X21))
app41_in_gga(nil, T21, T21) → app41_out_gga(nil, T21, T21)
app41_in_gga(T7, T8, X21) → U16_gga(T7, T8, X21, app14_in_gga(T7, T8, X21))
app14_in_gga([], T14, cons(X42, cons(X58, X55))) → U4_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
U4_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app14_out_gga([], T14, cons(X42, cons(X58, X55)))
app14_in_gga(.(T17, T18), T13, cons(T17, X39)) → U5_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U5_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app14_out_gga(.(T17, T18), T13, cons(T17, X39))
U16_gga(T7, T8, X21, app14_out_gga(T7, T8, X21)) → app41_out_gga(T7, T8, X21)
U19_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, X21)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U20_gg(T5, T6, T7, T8, app10_in_ggg(T5, T6, nil))
app10_in_ggg(nil, T11, T11) → app10_out_ggg(nil, T11, T11)
app10_in_ggg([], T14, cons(X42, cons(X58, X55))) → U2_ggg(T14, X42, X58, X55, app24_in_ggaa(T14, X55, X53, X54))
app24_in_ggaa(T14, cons(X58, X55), X37, X38) → U1_ggaa(T14, X58, X55, X37, X38, app24_in_ggaa(T14, X55, X53, X54))
U1_ggaa(T14, X58, X55, X37, X38, app24_out_ggaa(T14, X55, X53, X54)) → app24_out_ggaa(T14, cons(X58, X55), X37, X38)
U2_ggg(T14, X42, X58, X55, app24_out_ggaa(T14, X55, X53, X54)) → app10_out_ggg([], T14, cons(X42, cons(X58, X55)))
app10_in_ggg(.(T17, T18), T13, cons(T17, X39)) → U3_ggg(T17, T18, T13, X39, app10_in_ggg(T18, T13, X39))
U3_ggg(T17, T18, T13, X39, app10_out_ggg(T18, T13, X39)) → app10_out_ggg(.(T17, T18), T13, cons(T17, X39))
U20_gg(T5, T6, T7, T8, app10_out_ggg(T5, T6, nil)) → U21_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, cons(T22, T23)))
U21_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, cons(T22, T23))) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U22_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, cons(T28, T29)))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U23_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T30, T31)))
U23_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T30, T31))) → U24_gg(T5, T6, T7, T8, app60_in_aaa(T28, T29, X98))
app60_in_aaa(nil, T37, T37) → app60_out_aaa(nil, T37, T37)
app60_in_aaa([], T44, cons(X120, cons(X136, X133))) → U7_aaa(T44, X120, X136, X133, app75_in_aa(T44, X133))
app75_in_aa(T44, cons(X136, X133)) → U6_aa(T44, X136, X133, app75_in_aa(T44, X133))
U6_aa(T44, X136, X133, app75_out_aa(T44, X133)) → app75_out_aa(T44, cons(X136, X133))
U7_aaa(T44, X120, X136, X133, app75_out_aa(T44, X133)) → app60_out_aaa([], T44, cons(X120, cons(X136, X133)))
app60_in_aaa(.(T50, T52), T53, cons(T50, X117)) → U8_aaa(T50, T52, T53, X117, app60_in_aaa(T52, T53, X117))
app60_in_aaa(.(T59, T61), T62, cons(T59, X117)) → U9_aaa(T59, T61, T62, X117, app60_in_aaa(T61, T62, X117))
U9_aaa(T59, T61, T62, X117, app60_out_aaa(T61, T62, X117)) → app60_out_aaa(.(T59, T61), T62, cons(T59, X117))
U8_aaa(T50, T52, T53, X117, app60_out_aaa(T52, T53, X117)) → app60_out_aaa(.(T50, T52), T53, cons(T50, X117))
U24_gg(T5, T6, T7, T8, app60_out_aaa(T28, T29, X98)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U25_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T33, T34)))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U26_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T32))
U26_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T32)) → U27_gg(T5, T6, T7, T8, app60_in_aaa(T33, T34, X99))
U27_gg(T5, T6, T7, T8, app60_out_aaa(T33, T34, X99)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U28_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T64))
U28_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T64)) → U29_gg(T5, T6, T7, T8, T64, app60_in_aaa(T33, T34, T63))
U29_gg(T5, T6, T7, T8, T64, app60_out_aaa(T33, T34, T63)) → U30_gg(T5, T6, T7, T8, lessleaves42_in_aa(T64, T63))
lessleaves42_in_aa(nil, cons(T22, T23)) → lessleaves42_out_aa(nil, cons(T22, T23))
lessleaves42_in_aa(cons(T28, T29), cons(T30, T31)) → U10_aa(T28, T29, T30, T31, app60_in_aaa(T28, T29, X98))
U10_aa(T28, T29, T30, T31, app60_out_aaa(T28, T29, X98)) → lessleaves42_out_aa(cons(T28, T29), cons(T30, T31))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U11_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T32))
U11_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T32)) → U12_aa(T28, T29, T33, T34, app60_in_aaa(T33, T34, X99))
U12_aa(T28, T29, T33, T34, app60_out_aaa(T33, T34, X99)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U13_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T64))
U13_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T64)) → U14_aa(T28, T29, T33, T34, T64, app60_in_aaa(T33, T34, T63))
U14_aa(T28, T29, T33, T34, T64, app60_out_aaa(T33, T34, T63)) → U15_aa(T28, T29, T33, T34, lessleaves42_in_aa(T64, T63))
U15_aa(T28, T29, T33, T34, lessleaves42_out_aa(T64, T63)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
U30_gg(T5, T6, T7, T8, lessleaves42_out_aa(T64, T63)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
APP75_IN_AA(T44, cons(X136, X133)) → APP75_IN_AA(T44, X133)
lessleaves1_in_gg(nil, cons(T3, T4)) → lessleaves1_out_gg(nil, cons(T3, T4))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U17_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, X20))
app10_in_gga(nil, T11, T11) → app10_out_gga(nil, T11, T11)
app10_in_gga([], T14, cons(X42, cons(X58, X55))) → U2_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
app24_in_gaaa(T14, cons(X58, X55), X37, X38) → U1_gaaa(T14, X58, X55, X37, X38, app24_in_gaaa(T14, X55, X53, X54))
U1_gaaa(T14, X58, X55, X37, X38, app24_out_gaaa(T14, X55, X53, X54)) → app24_out_gaaa(T14, cons(X58, X55), X37, X38)
U2_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app10_out_gga([], T14, cons(X42, cons(X58, X55)))
app10_in_gga(.(T17, T18), T13, cons(T17, X39)) → U3_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U3_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app10_out_gga(.(T17, T18), T13, cons(T17, X39))
U17_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, X20)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U18_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, T9))
U18_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, T9)) → U19_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, X21))
app41_in_gga(nil, T21, T21) → app41_out_gga(nil, T21, T21)
app41_in_gga(T7, T8, X21) → U16_gga(T7, T8, X21, app14_in_gga(T7, T8, X21))
app14_in_gga([], T14, cons(X42, cons(X58, X55))) → U4_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
U4_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app14_out_gga([], T14, cons(X42, cons(X58, X55)))
app14_in_gga(.(T17, T18), T13, cons(T17, X39)) → U5_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U5_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app14_out_gga(.(T17, T18), T13, cons(T17, X39))
U16_gga(T7, T8, X21, app14_out_gga(T7, T8, X21)) → app41_out_gga(T7, T8, X21)
U19_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, X21)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U20_gg(T5, T6, T7, T8, app10_in_ggg(T5, T6, nil))
app10_in_ggg(nil, T11, T11) → app10_out_ggg(nil, T11, T11)
app10_in_ggg([], T14, cons(X42, cons(X58, X55))) → U2_ggg(T14, X42, X58, X55, app24_in_ggaa(T14, X55, X53, X54))
app24_in_ggaa(T14, cons(X58, X55), X37, X38) → U1_ggaa(T14, X58, X55, X37, X38, app24_in_ggaa(T14, X55, X53, X54))
U1_ggaa(T14, X58, X55, X37, X38, app24_out_ggaa(T14, X55, X53, X54)) → app24_out_ggaa(T14, cons(X58, X55), X37, X38)
U2_ggg(T14, X42, X58, X55, app24_out_ggaa(T14, X55, X53, X54)) → app10_out_ggg([], T14, cons(X42, cons(X58, X55)))
app10_in_ggg(.(T17, T18), T13, cons(T17, X39)) → U3_ggg(T17, T18, T13, X39, app10_in_ggg(T18, T13, X39))
U3_ggg(T17, T18, T13, X39, app10_out_ggg(T18, T13, X39)) → app10_out_ggg(.(T17, T18), T13, cons(T17, X39))
U20_gg(T5, T6, T7, T8, app10_out_ggg(T5, T6, nil)) → U21_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, cons(T22, T23)))
U21_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, cons(T22, T23))) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U22_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, cons(T28, T29)))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U23_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T30, T31)))
U23_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T30, T31))) → U24_gg(T5, T6, T7, T8, app60_in_aaa(T28, T29, X98))
app60_in_aaa(nil, T37, T37) → app60_out_aaa(nil, T37, T37)
app60_in_aaa([], T44, cons(X120, cons(X136, X133))) → U7_aaa(T44, X120, X136, X133, app75_in_aa(T44, X133))
app75_in_aa(T44, cons(X136, X133)) → U6_aa(T44, X136, X133, app75_in_aa(T44, X133))
U6_aa(T44, X136, X133, app75_out_aa(T44, X133)) → app75_out_aa(T44, cons(X136, X133))
U7_aaa(T44, X120, X136, X133, app75_out_aa(T44, X133)) → app60_out_aaa([], T44, cons(X120, cons(X136, X133)))
app60_in_aaa(.(T50, T52), T53, cons(T50, X117)) → U8_aaa(T50, T52, T53, X117, app60_in_aaa(T52, T53, X117))
app60_in_aaa(.(T59, T61), T62, cons(T59, X117)) → U9_aaa(T59, T61, T62, X117, app60_in_aaa(T61, T62, X117))
U9_aaa(T59, T61, T62, X117, app60_out_aaa(T61, T62, X117)) → app60_out_aaa(.(T59, T61), T62, cons(T59, X117))
U8_aaa(T50, T52, T53, X117, app60_out_aaa(T52, T53, X117)) → app60_out_aaa(.(T50, T52), T53, cons(T50, X117))
U24_gg(T5, T6, T7, T8, app60_out_aaa(T28, T29, X98)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U25_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T33, T34)))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U26_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T32))
U26_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T32)) → U27_gg(T5, T6, T7, T8, app60_in_aaa(T33, T34, X99))
U27_gg(T5, T6, T7, T8, app60_out_aaa(T33, T34, X99)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U28_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T64))
U28_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T64)) → U29_gg(T5, T6, T7, T8, T64, app60_in_aaa(T33, T34, T63))
U29_gg(T5, T6, T7, T8, T64, app60_out_aaa(T33, T34, T63)) → U30_gg(T5, T6, T7, T8, lessleaves42_in_aa(T64, T63))
lessleaves42_in_aa(nil, cons(T22, T23)) → lessleaves42_out_aa(nil, cons(T22, T23))
lessleaves42_in_aa(cons(T28, T29), cons(T30, T31)) → U10_aa(T28, T29, T30, T31, app60_in_aaa(T28, T29, X98))
U10_aa(T28, T29, T30, T31, app60_out_aaa(T28, T29, X98)) → lessleaves42_out_aa(cons(T28, T29), cons(T30, T31))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U11_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T32))
U11_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T32)) → U12_aa(T28, T29, T33, T34, app60_in_aaa(T33, T34, X99))
U12_aa(T28, T29, T33, T34, app60_out_aaa(T33, T34, X99)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U13_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T64))
U13_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T64)) → U14_aa(T28, T29, T33, T34, T64, app60_in_aaa(T33, T34, T63))
U14_aa(T28, T29, T33, T34, T64, app60_out_aaa(T33, T34, T63)) → U15_aa(T28, T29, T33, T34, lessleaves42_in_aa(T64, T63))
U15_aa(T28, T29, T33, T34, lessleaves42_out_aa(T64, T63)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
U30_gg(T5, T6, T7, T8, lessleaves42_out_aa(T64, T63)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
APP75_IN_AA(T44, cons(X136, X133)) → APP75_IN_AA(T44, X133)
APP75_IN_AA → APP75_IN_AA
APP60_IN_AAA(.(T50, T52), T53, cons(T50, X117)) → APP60_IN_AAA(T52, T53, X117)
lessleaves1_in_gg(nil, cons(T3, T4)) → lessleaves1_out_gg(nil, cons(T3, T4))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U17_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, X20))
app10_in_gga(nil, T11, T11) → app10_out_gga(nil, T11, T11)
app10_in_gga([], T14, cons(X42, cons(X58, X55))) → U2_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
app24_in_gaaa(T14, cons(X58, X55), X37, X38) → U1_gaaa(T14, X58, X55, X37, X38, app24_in_gaaa(T14, X55, X53, X54))
U1_gaaa(T14, X58, X55, X37, X38, app24_out_gaaa(T14, X55, X53, X54)) → app24_out_gaaa(T14, cons(X58, X55), X37, X38)
U2_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app10_out_gga([], T14, cons(X42, cons(X58, X55)))
app10_in_gga(.(T17, T18), T13, cons(T17, X39)) → U3_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U3_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app10_out_gga(.(T17, T18), T13, cons(T17, X39))
U17_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, X20)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U18_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, T9))
U18_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, T9)) → U19_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, X21))
app41_in_gga(nil, T21, T21) → app41_out_gga(nil, T21, T21)
app41_in_gga(T7, T8, X21) → U16_gga(T7, T8, X21, app14_in_gga(T7, T8, X21))
app14_in_gga([], T14, cons(X42, cons(X58, X55))) → U4_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
U4_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app14_out_gga([], T14, cons(X42, cons(X58, X55)))
app14_in_gga(.(T17, T18), T13, cons(T17, X39)) → U5_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U5_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app14_out_gga(.(T17, T18), T13, cons(T17, X39))
U16_gga(T7, T8, X21, app14_out_gga(T7, T8, X21)) → app41_out_gga(T7, T8, X21)
U19_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, X21)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U20_gg(T5, T6, T7, T8, app10_in_ggg(T5, T6, nil))
app10_in_ggg(nil, T11, T11) → app10_out_ggg(nil, T11, T11)
app10_in_ggg([], T14, cons(X42, cons(X58, X55))) → U2_ggg(T14, X42, X58, X55, app24_in_ggaa(T14, X55, X53, X54))
app24_in_ggaa(T14, cons(X58, X55), X37, X38) → U1_ggaa(T14, X58, X55, X37, X38, app24_in_ggaa(T14, X55, X53, X54))
U1_ggaa(T14, X58, X55, X37, X38, app24_out_ggaa(T14, X55, X53, X54)) → app24_out_ggaa(T14, cons(X58, X55), X37, X38)
U2_ggg(T14, X42, X58, X55, app24_out_ggaa(T14, X55, X53, X54)) → app10_out_ggg([], T14, cons(X42, cons(X58, X55)))
app10_in_ggg(.(T17, T18), T13, cons(T17, X39)) → U3_ggg(T17, T18, T13, X39, app10_in_ggg(T18, T13, X39))
U3_ggg(T17, T18, T13, X39, app10_out_ggg(T18, T13, X39)) → app10_out_ggg(.(T17, T18), T13, cons(T17, X39))
U20_gg(T5, T6, T7, T8, app10_out_ggg(T5, T6, nil)) → U21_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, cons(T22, T23)))
U21_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, cons(T22, T23))) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U22_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, cons(T28, T29)))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U23_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T30, T31)))
U23_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T30, T31))) → U24_gg(T5, T6, T7, T8, app60_in_aaa(T28, T29, X98))
app60_in_aaa(nil, T37, T37) → app60_out_aaa(nil, T37, T37)
app60_in_aaa([], T44, cons(X120, cons(X136, X133))) → U7_aaa(T44, X120, X136, X133, app75_in_aa(T44, X133))
app75_in_aa(T44, cons(X136, X133)) → U6_aa(T44, X136, X133, app75_in_aa(T44, X133))
U6_aa(T44, X136, X133, app75_out_aa(T44, X133)) → app75_out_aa(T44, cons(X136, X133))
U7_aaa(T44, X120, X136, X133, app75_out_aa(T44, X133)) → app60_out_aaa([], T44, cons(X120, cons(X136, X133)))
app60_in_aaa(.(T50, T52), T53, cons(T50, X117)) → U8_aaa(T50, T52, T53, X117, app60_in_aaa(T52, T53, X117))
app60_in_aaa(.(T59, T61), T62, cons(T59, X117)) → U9_aaa(T59, T61, T62, X117, app60_in_aaa(T61, T62, X117))
U9_aaa(T59, T61, T62, X117, app60_out_aaa(T61, T62, X117)) → app60_out_aaa(.(T59, T61), T62, cons(T59, X117))
U8_aaa(T50, T52, T53, X117, app60_out_aaa(T52, T53, X117)) → app60_out_aaa(.(T50, T52), T53, cons(T50, X117))
U24_gg(T5, T6, T7, T8, app60_out_aaa(T28, T29, X98)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U25_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T33, T34)))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U26_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T32))
U26_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T32)) → U27_gg(T5, T6, T7, T8, app60_in_aaa(T33, T34, X99))
U27_gg(T5, T6, T7, T8, app60_out_aaa(T33, T34, X99)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U28_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T64))
U28_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T64)) → U29_gg(T5, T6, T7, T8, T64, app60_in_aaa(T33, T34, T63))
U29_gg(T5, T6, T7, T8, T64, app60_out_aaa(T33, T34, T63)) → U30_gg(T5, T6, T7, T8, lessleaves42_in_aa(T64, T63))
lessleaves42_in_aa(nil, cons(T22, T23)) → lessleaves42_out_aa(nil, cons(T22, T23))
lessleaves42_in_aa(cons(T28, T29), cons(T30, T31)) → U10_aa(T28, T29, T30, T31, app60_in_aaa(T28, T29, X98))
U10_aa(T28, T29, T30, T31, app60_out_aaa(T28, T29, X98)) → lessleaves42_out_aa(cons(T28, T29), cons(T30, T31))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U11_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T32))
U11_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T32)) → U12_aa(T28, T29, T33, T34, app60_in_aaa(T33, T34, X99))
U12_aa(T28, T29, T33, T34, app60_out_aaa(T33, T34, X99)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U13_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T64))
U13_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T64)) → U14_aa(T28, T29, T33, T34, T64, app60_in_aaa(T33, T34, T63))
U14_aa(T28, T29, T33, T34, T64, app60_out_aaa(T33, T34, T63)) → U15_aa(T28, T29, T33, T34, lessleaves42_in_aa(T64, T63))
U15_aa(T28, T29, T33, T34, lessleaves42_out_aa(T64, T63)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
U30_gg(T5, T6, T7, T8, lessleaves42_out_aa(T64, T63)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
APP60_IN_AAA(.(T50, T52), T53, cons(T50, X117)) → APP60_IN_AAA(T52, T53, X117)
APP60_IN_AAA → APP60_IN_AAA
LESSLEAVES42_IN_AA(cons(T28, T29), cons(T33, T34)) → U13_AA(T28, T29, T33, T34, app60_in_aaa(T28, T29, T64))
U13_AA(T28, T29, T33, T34, app60_out_aaa(T28, T29, T64)) → U14_AA(T28, T29, T33, T34, T64, app60_in_aaa(T33, T34, T63))
U14_AA(T28, T29, T33, T34, T64, app60_out_aaa(T33, T34, T63)) → LESSLEAVES42_IN_AA(T64, T63)
lessleaves1_in_gg(nil, cons(T3, T4)) → lessleaves1_out_gg(nil, cons(T3, T4))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U17_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, X20))
app10_in_gga(nil, T11, T11) → app10_out_gga(nil, T11, T11)
app10_in_gga([], T14, cons(X42, cons(X58, X55))) → U2_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
app24_in_gaaa(T14, cons(X58, X55), X37, X38) → U1_gaaa(T14, X58, X55, X37, X38, app24_in_gaaa(T14, X55, X53, X54))
U1_gaaa(T14, X58, X55, X37, X38, app24_out_gaaa(T14, X55, X53, X54)) → app24_out_gaaa(T14, cons(X58, X55), X37, X38)
U2_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app10_out_gga([], T14, cons(X42, cons(X58, X55)))
app10_in_gga(.(T17, T18), T13, cons(T17, X39)) → U3_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U3_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app10_out_gga(.(T17, T18), T13, cons(T17, X39))
U17_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, X20)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U18_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, T9))
U18_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, T9)) → U19_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, X21))
app41_in_gga(nil, T21, T21) → app41_out_gga(nil, T21, T21)
app41_in_gga(T7, T8, X21) → U16_gga(T7, T8, X21, app14_in_gga(T7, T8, X21))
app14_in_gga([], T14, cons(X42, cons(X58, X55))) → U4_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
U4_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app14_out_gga([], T14, cons(X42, cons(X58, X55)))
app14_in_gga(.(T17, T18), T13, cons(T17, X39)) → U5_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U5_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app14_out_gga(.(T17, T18), T13, cons(T17, X39))
U16_gga(T7, T8, X21, app14_out_gga(T7, T8, X21)) → app41_out_gga(T7, T8, X21)
U19_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, X21)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U20_gg(T5, T6, T7, T8, app10_in_ggg(T5, T6, nil))
app10_in_ggg(nil, T11, T11) → app10_out_ggg(nil, T11, T11)
app10_in_ggg([], T14, cons(X42, cons(X58, X55))) → U2_ggg(T14, X42, X58, X55, app24_in_ggaa(T14, X55, X53, X54))
app24_in_ggaa(T14, cons(X58, X55), X37, X38) → U1_ggaa(T14, X58, X55, X37, X38, app24_in_ggaa(T14, X55, X53, X54))
U1_ggaa(T14, X58, X55, X37, X38, app24_out_ggaa(T14, X55, X53, X54)) → app24_out_ggaa(T14, cons(X58, X55), X37, X38)
U2_ggg(T14, X42, X58, X55, app24_out_ggaa(T14, X55, X53, X54)) → app10_out_ggg([], T14, cons(X42, cons(X58, X55)))
app10_in_ggg(.(T17, T18), T13, cons(T17, X39)) → U3_ggg(T17, T18, T13, X39, app10_in_ggg(T18, T13, X39))
U3_ggg(T17, T18, T13, X39, app10_out_ggg(T18, T13, X39)) → app10_out_ggg(.(T17, T18), T13, cons(T17, X39))
U20_gg(T5, T6, T7, T8, app10_out_ggg(T5, T6, nil)) → U21_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, cons(T22, T23)))
U21_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, cons(T22, T23))) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U22_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, cons(T28, T29)))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U23_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T30, T31)))
U23_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T30, T31))) → U24_gg(T5, T6, T7, T8, app60_in_aaa(T28, T29, X98))
app60_in_aaa(nil, T37, T37) → app60_out_aaa(nil, T37, T37)
app60_in_aaa([], T44, cons(X120, cons(X136, X133))) → U7_aaa(T44, X120, X136, X133, app75_in_aa(T44, X133))
app75_in_aa(T44, cons(X136, X133)) → U6_aa(T44, X136, X133, app75_in_aa(T44, X133))
U6_aa(T44, X136, X133, app75_out_aa(T44, X133)) → app75_out_aa(T44, cons(X136, X133))
U7_aaa(T44, X120, X136, X133, app75_out_aa(T44, X133)) → app60_out_aaa([], T44, cons(X120, cons(X136, X133)))
app60_in_aaa(.(T50, T52), T53, cons(T50, X117)) → U8_aaa(T50, T52, T53, X117, app60_in_aaa(T52, T53, X117))
app60_in_aaa(.(T59, T61), T62, cons(T59, X117)) → U9_aaa(T59, T61, T62, X117, app60_in_aaa(T61, T62, X117))
U9_aaa(T59, T61, T62, X117, app60_out_aaa(T61, T62, X117)) → app60_out_aaa(.(T59, T61), T62, cons(T59, X117))
U8_aaa(T50, T52, T53, X117, app60_out_aaa(T52, T53, X117)) → app60_out_aaa(.(T50, T52), T53, cons(T50, X117))
U24_gg(T5, T6, T7, T8, app60_out_aaa(T28, T29, X98)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U25_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T33, T34)))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U26_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T32))
U26_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T32)) → U27_gg(T5, T6, T7, T8, app60_in_aaa(T33, T34, X99))
U27_gg(T5, T6, T7, T8, app60_out_aaa(T33, T34, X99)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U28_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T64))
U28_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T64)) → U29_gg(T5, T6, T7, T8, T64, app60_in_aaa(T33, T34, T63))
U29_gg(T5, T6, T7, T8, T64, app60_out_aaa(T33, T34, T63)) → U30_gg(T5, T6, T7, T8, lessleaves42_in_aa(T64, T63))
lessleaves42_in_aa(nil, cons(T22, T23)) → lessleaves42_out_aa(nil, cons(T22, T23))
lessleaves42_in_aa(cons(T28, T29), cons(T30, T31)) → U10_aa(T28, T29, T30, T31, app60_in_aaa(T28, T29, X98))
U10_aa(T28, T29, T30, T31, app60_out_aaa(T28, T29, X98)) → lessleaves42_out_aa(cons(T28, T29), cons(T30, T31))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U11_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T32))
U11_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T32)) → U12_aa(T28, T29, T33, T34, app60_in_aaa(T33, T34, X99))
U12_aa(T28, T29, T33, T34, app60_out_aaa(T33, T34, X99)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U13_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T64))
U13_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T64)) → U14_aa(T28, T29, T33, T34, T64, app60_in_aaa(T33, T34, T63))
U14_aa(T28, T29, T33, T34, T64, app60_out_aaa(T33, T34, T63)) → U15_aa(T28, T29, T33, T34, lessleaves42_in_aa(T64, T63))
U15_aa(T28, T29, T33, T34, lessleaves42_out_aa(T64, T63)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
U30_gg(T5, T6, T7, T8, lessleaves42_out_aa(T64, T63)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
LESSLEAVES42_IN_AA(cons(T28, T29), cons(T33, T34)) → U13_AA(T28, T29, T33, T34, app60_in_aaa(T28, T29, T64))
U13_AA(T28, T29, T33, T34, app60_out_aaa(T28, T29, T64)) → U14_AA(T28, T29, T33, T34, T64, app60_in_aaa(T33, T34, T63))
U14_AA(T28, T29, T33, T34, T64, app60_out_aaa(T33, T34, T63)) → LESSLEAVES42_IN_AA(T64, T63)
app60_in_aaa(nil, T37, T37) → app60_out_aaa(nil, T37, T37)
app60_in_aaa([], T44, cons(X120, cons(X136, X133))) → U7_aaa(T44, X120, X136, X133, app75_in_aa(T44, X133))
app60_in_aaa(.(T50, T52), T53, cons(T50, X117)) → U8_aaa(T50, T52, T53, X117, app60_in_aaa(T52, T53, X117))
app60_in_aaa(.(T59, T61), T62, cons(T59, X117)) → U9_aaa(T59, T61, T62, X117, app60_in_aaa(T61, T62, X117))
U7_aaa(T44, X120, X136, X133, app75_out_aa(T44, X133)) → app60_out_aaa([], T44, cons(X120, cons(X136, X133)))
U8_aaa(T50, T52, T53, X117, app60_out_aaa(T52, T53, X117)) → app60_out_aaa(.(T50, T52), T53, cons(T50, X117))
U9_aaa(T59, T61, T62, X117, app60_out_aaa(T61, T62, X117)) → app60_out_aaa(.(T59, T61), T62, cons(T59, X117))
app75_in_aa(T44, cons(X136, X133)) → U6_aa(T44, X136, X133, app75_in_aa(T44, X133))
U6_aa(T44, X136, X133, app75_out_aa(T44, X133)) → app75_out_aa(T44, cons(X136, X133))
LESSLEAVES42_IN_AA → U13_AA(app60_in_aaa)
U13_AA(app60_out_aaa) → U14_AA(app60_in_aaa)
U14_AA(app60_out_aaa) → LESSLEAVES42_IN_AA
app60_in_aaa → app60_out_aaa
app60_in_aaa → U7_aaa(app75_in_aa)
app60_in_aaa → U8_aaa(app60_in_aaa)
app60_in_aaa → U9_aaa(app60_in_aaa)
U7_aaa(app75_out_aa(T44)) → app60_out_aaa
U8_aaa(app60_out_aaa) → app60_out_aaa
U9_aaa(app60_out_aaa) → app60_out_aaa
app75_in_aa → U6_aa(app75_in_aa)
U6_aa(app75_out_aa(T44)) → app75_out_aa(T44)
app60_in_aaa
U7_aaa(x0)
U8_aaa(x0)
U9_aaa(x0)
app75_in_aa
U6_aa(x0)
U7_aaa(app75_out_aa(T44)) → app60_out_aaa
POL(LESSLEAVES42_IN_AA) = 0
POL(U13_AA(x1)) = x1
POL(U14_AA(x1)) = 2·x1
POL(U6_aa(x1)) = x1
POL(U7_aaa(x1)) = x1
POL(U8_aaa(x1)) = 2·x1
POL(U9_aaa(x1)) = 2·x1
POL(app60_in_aaa) = 0
POL(app60_out_aaa) = 0
POL(app75_in_aa) = 0
POL(app75_out_aa(x1)) = 1 + 2·x1
LESSLEAVES42_IN_AA → U13_AA(app60_in_aaa)
U13_AA(app60_out_aaa) → U14_AA(app60_in_aaa)
U14_AA(app60_out_aaa) → LESSLEAVES42_IN_AA
app60_in_aaa → app60_out_aaa
app60_in_aaa → U7_aaa(app75_in_aa)
app60_in_aaa → U8_aaa(app60_in_aaa)
app60_in_aaa → U9_aaa(app60_in_aaa)
U8_aaa(app60_out_aaa) → app60_out_aaa
U9_aaa(app60_out_aaa) → app60_out_aaa
app75_in_aa → U6_aa(app75_in_aa)
U6_aa(app75_out_aa(T44)) → app75_out_aa(T44)
app60_in_aaa
U7_aaa(x0)
U8_aaa(x0)
U9_aaa(x0)
app75_in_aa
U6_aa(x0)
app60_in_aaa → U7_aaa(app75_in_aa)
POL(LESSLEAVES42_IN_AA) = 1
POL(U13_AA(x1)) = x1
POL(U14_AA(x1)) = x1
POL(U6_aa(x1)) = x1
POL(U7_aaa(x1)) = x1
POL(U8_aaa(x1)) = x1
POL(U9_aaa(x1)) = x1
POL(app60_in_aaa) = 1
POL(app60_out_aaa) = 1
POL(app75_in_aa) = 0
POL(app75_out_aa(x1)) = x1
LESSLEAVES42_IN_AA → U13_AA(app60_in_aaa)
U13_AA(app60_out_aaa) → U14_AA(app60_in_aaa)
U14_AA(app60_out_aaa) → LESSLEAVES42_IN_AA
app60_in_aaa → app60_out_aaa
app60_in_aaa → U8_aaa(app60_in_aaa)
app60_in_aaa → U9_aaa(app60_in_aaa)
U8_aaa(app60_out_aaa) → app60_out_aaa
U9_aaa(app60_out_aaa) → app60_out_aaa
app75_in_aa → U6_aa(app75_in_aa)
U6_aa(app75_out_aa(T44)) → app75_out_aa(T44)
app60_in_aaa
U7_aaa(x0)
U8_aaa(x0)
U9_aaa(x0)
app75_in_aa
U6_aa(x0)
LESSLEAVES42_IN_AA → U13_AA(app60_in_aaa)
U13_AA(app60_out_aaa) → U14_AA(app60_in_aaa)
U14_AA(app60_out_aaa) → LESSLEAVES42_IN_AA
app60_in_aaa → app60_out_aaa
app60_in_aaa → U8_aaa(app60_in_aaa)
app60_in_aaa → U9_aaa(app60_in_aaa)
U9_aaa(app60_out_aaa) → app60_out_aaa
U8_aaa(app60_out_aaa) → app60_out_aaa
app60_in_aaa
U7_aaa(x0)
U8_aaa(x0)
U9_aaa(x0)
app75_in_aa
U6_aa(x0)
U7_aaa(x0)
app75_in_aa
U6_aa(x0)
LESSLEAVES42_IN_AA → U13_AA(app60_in_aaa)
U13_AA(app60_out_aaa) → U14_AA(app60_in_aaa)
U14_AA(app60_out_aaa) → LESSLEAVES42_IN_AA
app60_in_aaa → app60_out_aaa
app60_in_aaa → U8_aaa(app60_in_aaa)
app60_in_aaa → U9_aaa(app60_in_aaa)
U9_aaa(app60_out_aaa) → app60_out_aaa
U8_aaa(app60_out_aaa) → app60_out_aaa
app60_in_aaa
U8_aaa(x0)
U9_aaa(x0)
LESSLEAVES42_IN_AA → U13_AA(app60_out_aaa)
LESSLEAVES42_IN_AA → U13_AA(U8_aaa(app60_in_aaa))
LESSLEAVES42_IN_AA → U13_AA(U9_aaa(app60_in_aaa))
U13_AA(app60_out_aaa) → U14_AA(app60_in_aaa)
U14_AA(app60_out_aaa) → LESSLEAVES42_IN_AA
LESSLEAVES42_IN_AA → U13_AA(app60_out_aaa)
LESSLEAVES42_IN_AA → U13_AA(U8_aaa(app60_in_aaa))
LESSLEAVES42_IN_AA → U13_AA(U9_aaa(app60_in_aaa))
app60_in_aaa → app60_out_aaa
app60_in_aaa → U8_aaa(app60_in_aaa)
app60_in_aaa → U9_aaa(app60_in_aaa)
U9_aaa(app60_out_aaa) → app60_out_aaa
U8_aaa(app60_out_aaa) → app60_out_aaa
app60_in_aaa
U8_aaa(x0)
U9_aaa(x0)
U13_AA(app60_out_aaa) → U14_AA(app60_out_aaa)
U13_AA(app60_out_aaa) → U14_AA(U8_aaa(app60_in_aaa))
U13_AA(app60_out_aaa) → U14_AA(U9_aaa(app60_in_aaa))
U14_AA(app60_out_aaa) → LESSLEAVES42_IN_AA
LESSLEAVES42_IN_AA → U13_AA(app60_out_aaa)
LESSLEAVES42_IN_AA → U13_AA(U8_aaa(app60_in_aaa))
LESSLEAVES42_IN_AA → U13_AA(U9_aaa(app60_in_aaa))
U13_AA(app60_out_aaa) → U14_AA(app60_out_aaa)
U13_AA(app60_out_aaa) → U14_AA(U8_aaa(app60_in_aaa))
U13_AA(app60_out_aaa) → U14_AA(U9_aaa(app60_in_aaa))
app60_in_aaa → app60_out_aaa
app60_in_aaa → U8_aaa(app60_in_aaa)
app60_in_aaa → U9_aaa(app60_in_aaa)
U9_aaa(app60_out_aaa) → app60_out_aaa
U8_aaa(app60_out_aaa) → app60_out_aaa
app60_in_aaa
U8_aaa(x0)
U9_aaa(x0)
APP24_IN_GGAA(T14, cons(X58, X55), X37, X38) → APP24_IN_GGAA(T14, X55, X53, X54)
lessleaves1_in_gg(nil, cons(T3, T4)) → lessleaves1_out_gg(nil, cons(T3, T4))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U17_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, X20))
app10_in_gga(nil, T11, T11) → app10_out_gga(nil, T11, T11)
app10_in_gga([], T14, cons(X42, cons(X58, X55))) → U2_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
app24_in_gaaa(T14, cons(X58, X55), X37, X38) → U1_gaaa(T14, X58, X55, X37, X38, app24_in_gaaa(T14, X55, X53, X54))
U1_gaaa(T14, X58, X55, X37, X38, app24_out_gaaa(T14, X55, X53, X54)) → app24_out_gaaa(T14, cons(X58, X55), X37, X38)
U2_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app10_out_gga([], T14, cons(X42, cons(X58, X55)))
app10_in_gga(.(T17, T18), T13, cons(T17, X39)) → U3_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U3_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app10_out_gga(.(T17, T18), T13, cons(T17, X39))
U17_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, X20)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U18_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, T9))
U18_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, T9)) → U19_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, X21))
app41_in_gga(nil, T21, T21) → app41_out_gga(nil, T21, T21)
app41_in_gga(T7, T8, X21) → U16_gga(T7, T8, X21, app14_in_gga(T7, T8, X21))
app14_in_gga([], T14, cons(X42, cons(X58, X55))) → U4_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
U4_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app14_out_gga([], T14, cons(X42, cons(X58, X55)))
app14_in_gga(.(T17, T18), T13, cons(T17, X39)) → U5_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U5_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app14_out_gga(.(T17, T18), T13, cons(T17, X39))
U16_gga(T7, T8, X21, app14_out_gga(T7, T8, X21)) → app41_out_gga(T7, T8, X21)
U19_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, X21)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U20_gg(T5, T6, T7, T8, app10_in_ggg(T5, T6, nil))
app10_in_ggg(nil, T11, T11) → app10_out_ggg(nil, T11, T11)
app10_in_ggg([], T14, cons(X42, cons(X58, X55))) → U2_ggg(T14, X42, X58, X55, app24_in_ggaa(T14, X55, X53, X54))
app24_in_ggaa(T14, cons(X58, X55), X37, X38) → U1_ggaa(T14, X58, X55, X37, X38, app24_in_ggaa(T14, X55, X53, X54))
U1_ggaa(T14, X58, X55, X37, X38, app24_out_ggaa(T14, X55, X53, X54)) → app24_out_ggaa(T14, cons(X58, X55), X37, X38)
U2_ggg(T14, X42, X58, X55, app24_out_ggaa(T14, X55, X53, X54)) → app10_out_ggg([], T14, cons(X42, cons(X58, X55)))
app10_in_ggg(.(T17, T18), T13, cons(T17, X39)) → U3_ggg(T17, T18, T13, X39, app10_in_ggg(T18, T13, X39))
U3_ggg(T17, T18, T13, X39, app10_out_ggg(T18, T13, X39)) → app10_out_ggg(.(T17, T18), T13, cons(T17, X39))
U20_gg(T5, T6, T7, T8, app10_out_ggg(T5, T6, nil)) → U21_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, cons(T22, T23)))
U21_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, cons(T22, T23))) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U22_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, cons(T28, T29)))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U23_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T30, T31)))
U23_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T30, T31))) → U24_gg(T5, T6, T7, T8, app60_in_aaa(T28, T29, X98))
app60_in_aaa(nil, T37, T37) → app60_out_aaa(nil, T37, T37)
app60_in_aaa([], T44, cons(X120, cons(X136, X133))) → U7_aaa(T44, X120, X136, X133, app75_in_aa(T44, X133))
app75_in_aa(T44, cons(X136, X133)) → U6_aa(T44, X136, X133, app75_in_aa(T44, X133))
U6_aa(T44, X136, X133, app75_out_aa(T44, X133)) → app75_out_aa(T44, cons(X136, X133))
U7_aaa(T44, X120, X136, X133, app75_out_aa(T44, X133)) → app60_out_aaa([], T44, cons(X120, cons(X136, X133)))
app60_in_aaa(.(T50, T52), T53, cons(T50, X117)) → U8_aaa(T50, T52, T53, X117, app60_in_aaa(T52, T53, X117))
app60_in_aaa(.(T59, T61), T62, cons(T59, X117)) → U9_aaa(T59, T61, T62, X117, app60_in_aaa(T61, T62, X117))
U9_aaa(T59, T61, T62, X117, app60_out_aaa(T61, T62, X117)) → app60_out_aaa(.(T59, T61), T62, cons(T59, X117))
U8_aaa(T50, T52, T53, X117, app60_out_aaa(T52, T53, X117)) → app60_out_aaa(.(T50, T52), T53, cons(T50, X117))
U24_gg(T5, T6, T7, T8, app60_out_aaa(T28, T29, X98)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U25_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T33, T34)))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U26_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T32))
U26_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T32)) → U27_gg(T5, T6, T7, T8, app60_in_aaa(T33, T34, X99))
U27_gg(T5, T6, T7, T8, app60_out_aaa(T33, T34, X99)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U28_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T64))
U28_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T64)) → U29_gg(T5, T6, T7, T8, T64, app60_in_aaa(T33, T34, T63))
U29_gg(T5, T6, T7, T8, T64, app60_out_aaa(T33, T34, T63)) → U30_gg(T5, T6, T7, T8, lessleaves42_in_aa(T64, T63))
lessleaves42_in_aa(nil, cons(T22, T23)) → lessleaves42_out_aa(nil, cons(T22, T23))
lessleaves42_in_aa(cons(T28, T29), cons(T30, T31)) → U10_aa(T28, T29, T30, T31, app60_in_aaa(T28, T29, X98))
U10_aa(T28, T29, T30, T31, app60_out_aaa(T28, T29, X98)) → lessleaves42_out_aa(cons(T28, T29), cons(T30, T31))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U11_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T32))
U11_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T32)) → U12_aa(T28, T29, T33, T34, app60_in_aaa(T33, T34, X99))
U12_aa(T28, T29, T33, T34, app60_out_aaa(T33, T34, X99)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U13_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T64))
U13_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T64)) → U14_aa(T28, T29, T33, T34, T64, app60_in_aaa(T33, T34, T63))
U14_aa(T28, T29, T33, T34, T64, app60_out_aaa(T33, T34, T63)) → U15_aa(T28, T29, T33, T34, lessleaves42_in_aa(T64, T63))
U15_aa(T28, T29, T33, T34, lessleaves42_out_aa(T64, T63)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
U30_gg(T5, T6, T7, T8, lessleaves42_out_aa(T64, T63)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
APP24_IN_GGAA(T14, cons(X58, X55), X37, X38) → APP24_IN_GGAA(T14, X55, X53, X54)
APP24_IN_GGAA(T14, cons(X58, X55)) → APP24_IN_GGAA(T14, X55)
From the DPs we obtained the following set of size-change graphs:
APP10_IN_GGG(.(T17, T18), T13, cons(T17, X39)) → APP10_IN_GGG(T18, T13, X39)
lessleaves1_in_gg(nil, cons(T3, T4)) → lessleaves1_out_gg(nil, cons(T3, T4))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U17_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, X20))
app10_in_gga(nil, T11, T11) → app10_out_gga(nil, T11, T11)
app10_in_gga([], T14, cons(X42, cons(X58, X55))) → U2_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
app24_in_gaaa(T14, cons(X58, X55), X37, X38) → U1_gaaa(T14, X58, X55, X37, X38, app24_in_gaaa(T14, X55, X53, X54))
U1_gaaa(T14, X58, X55, X37, X38, app24_out_gaaa(T14, X55, X53, X54)) → app24_out_gaaa(T14, cons(X58, X55), X37, X38)
U2_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app10_out_gga([], T14, cons(X42, cons(X58, X55)))
app10_in_gga(.(T17, T18), T13, cons(T17, X39)) → U3_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U3_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app10_out_gga(.(T17, T18), T13, cons(T17, X39))
U17_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, X20)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U18_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, T9))
U18_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, T9)) → U19_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, X21))
app41_in_gga(nil, T21, T21) → app41_out_gga(nil, T21, T21)
app41_in_gga(T7, T8, X21) → U16_gga(T7, T8, X21, app14_in_gga(T7, T8, X21))
app14_in_gga([], T14, cons(X42, cons(X58, X55))) → U4_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
U4_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app14_out_gga([], T14, cons(X42, cons(X58, X55)))
app14_in_gga(.(T17, T18), T13, cons(T17, X39)) → U5_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U5_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app14_out_gga(.(T17, T18), T13, cons(T17, X39))
U16_gga(T7, T8, X21, app14_out_gga(T7, T8, X21)) → app41_out_gga(T7, T8, X21)
U19_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, X21)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U20_gg(T5, T6, T7, T8, app10_in_ggg(T5, T6, nil))
app10_in_ggg(nil, T11, T11) → app10_out_ggg(nil, T11, T11)
app10_in_ggg([], T14, cons(X42, cons(X58, X55))) → U2_ggg(T14, X42, X58, X55, app24_in_ggaa(T14, X55, X53, X54))
app24_in_ggaa(T14, cons(X58, X55), X37, X38) → U1_ggaa(T14, X58, X55, X37, X38, app24_in_ggaa(T14, X55, X53, X54))
U1_ggaa(T14, X58, X55, X37, X38, app24_out_ggaa(T14, X55, X53, X54)) → app24_out_ggaa(T14, cons(X58, X55), X37, X38)
U2_ggg(T14, X42, X58, X55, app24_out_ggaa(T14, X55, X53, X54)) → app10_out_ggg([], T14, cons(X42, cons(X58, X55)))
app10_in_ggg(.(T17, T18), T13, cons(T17, X39)) → U3_ggg(T17, T18, T13, X39, app10_in_ggg(T18, T13, X39))
U3_ggg(T17, T18, T13, X39, app10_out_ggg(T18, T13, X39)) → app10_out_ggg(.(T17, T18), T13, cons(T17, X39))
U20_gg(T5, T6, T7, T8, app10_out_ggg(T5, T6, nil)) → U21_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, cons(T22, T23)))
U21_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, cons(T22, T23))) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U22_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, cons(T28, T29)))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U23_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T30, T31)))
U23_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T30, T31))) → U24_gg(T5, T6, T7, T8, app60_in_aaa(T28, T29, X98))
app60_in_aaa(nil, T37, T37) → app60_out_aaa(nil, T37, T37)
app60_in_aaa([], T44, cons(X120, cons(X136, X133))) → U7_aaa(T44, X120, X136, X133, app75_in_aa(T44, X133))
app75_in_aa(T44, cons(X136, X133)) → U6_aa(T44, X136, X133, app75_in_aa(T44, X133))
U6_aa(T44, X136, X133, app75_out_aa(T44, X133)) → app75_out_aa(T44, cons(X136, X133))
U7_aaa(T44, X120, X136, X133, app75_out_aa(T44, X133)) → app60_out_aaa([], T44, cons(X120, cons(X136, X133)))
app60_in_aaa(.(T50, T52), T53, cons(T50, X117)) → U8_aaa(T50, T52, T53, X117, app60_in_aaa(T52, T53, X117))
app60_in_aaa(.(T59, T61), T62, cons(T59, X117)) → U9_aaa(T59, T61, T62, X117, app60_in_aaa(T61, T62, X117))
U9_aaa(T59, T61, T62, X117, app60_out_aaa(T61, T62, X117)) → app60_out_aaa(.(T59, T61), T62, cons(T59, X117))
U8_aaa(T50, T52, T53, X117, app60_out_aaa(T52, T53, X117)) → app60_out_aaa(.(T50, T52), T53, cons(T50, X117))
U24_gg(T5, T6, T7, T8, app60_out_aaa(T28, T29, X98)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U25_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T33, T34)))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U26_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T32))
U26_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T32)) → U27_gg(T5, T6, T7, T8, app60_in_aaa(T33, T34, X99))
U27_gg(T5, T6, T7, T8, app60_out_aaa(T33, T34, X99)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U28_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T64))
U28_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T64)) → U29_gg(T5, T6, T7, T8, T64, app60_in_aaa(T33, T34, T63))
U29_gg(T5, T6, T7, T8, T64, app60_out_aaa(T33, T34, T63)) → U30_gg(T5, T6, T7, T8, lessleaves42_in_aa(T64, T63))
lessleaves42_in_aa(nil, cons(T22, T23)) → lessleaves42_out_aa(nil, cons(T22, T23))
lessleaves42_in_aa(cons(T28, T29), cons(T30, T31)) → U10_aa(T28, T29, T30, T31, app60_in_aaa(T28, T29, X98))
U10_aa(T28, T29, T30, T31, app60_out_aaa(T28, T29, X98)) → lessleaves42_out_aa(cons(T28, T29), cons(T30, T31))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U11_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T32))
U11_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T32)) → U12_aa(T28, T29, T33, T34, app60_in_aaa(T33, T34, X99))
U12_aa(T28, T29, T33, T34, app60_out_aaa(T33, T34, X99)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U13_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T64))
U13_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T64)) → U14_aa(T28, T29, T33, T34, T64, app60_in_aaa(T33, T34, T63))
U14_aa(T28, T29, T33, T34, T64, app60_out_aaa(T33, T34, T63)) → U15_aa(T28, T29, T33, T34, lessleaves42_in_aa(T64, T63))
U15_aa(T28, T29, T33, T34, lessleaves42_out_aa(T64, T63)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
U30_gg(T5, T6, T7, T8, lessleaves42_out_aa(T64, T63)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
APP10_IN_GGG(.(T17, T18), T13, cons(T17, X39)) → APP10_IN_GGG(T18, T13, X39)
APP10_IN_GGG(.(T17, T18), T13, cons(T17, X39)) → APP10_IN_GGG(T18, T13, X39)
From the DPs we obtained the following set of size-change graphs:
APP24_IN_GAAA(T14, cons(X58, X55), X37, X38) → APP24_IN_GAAA(T14, X55, X53, X54)
lessleaves1_in_gg(nil, cons(T3, T4)) → lessleaves1_out_gg(nil, cons(T3, T4))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U17_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, X20))
app10_in_gga(nil, T11, T11) → app10_out_gga(nil, T11, T11)
app10_in_gga([], T14, cons(X42, cons(X58, X55))) → U2_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
app24_in_gaaa(T14, cons(X58, X55), X37, X38) → U1_gaaa(T14, X58, X55, X37, X38, app24_in_gaaa(T14, X55, X53, X54))
U1_gaaa(T14, X58, X55, X37, X38, app24_out_gaaa(T14, X55, X53, X54)) → app24_out_gaaa(T14, cons(X58, X55), X37, X38)
U2_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app10_out_gga([], T14, cons(X42, cons(X58, X55)))
app10_in_gga(.(T17, T18), T13, cons(T17, X39)) → U3_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U3_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app10_out_gga(.(T17, T18), T13, cons(T17, X39))
U17_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, X20)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U18_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, T9))
U18_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, T9)) → U19_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, X21))
app41_in_gga(nil, T21, T21) → app41_out_gga(nil, T21, T21)
app41_in_gga(T7, T8, X21) → U16_gga(T7, T8, X21, app14_in_gga(T7, T8, X21))
app14_in_gga([], T14, cons(X42, cons(X58, X55))) → U4_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
U4_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app14_out_gga([], T14, cons(X42, cons(X58, X55)))
app14_in_gga(.(T17, T18), T13, cons(T17, X39)) → U5_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U5_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app14_out_gga(.(T17, T18), T13, cons(T17, X39))
U16_gga(T7, T8, X21, app14_out_gga(T7, T8, X21)) → app41_out_gga(T7, T8, X21)
U19_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, X21)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U20_gg(T5, T6, T7, T8, app10_in_ggg(T5, T6, nil))
app10_in_ggg(nil, T11, T11) → app10_out_ggg(nil, T11, T11)
app10_in_ggg([], T14, cons(X42, cons(X58, X55))) → U2_ggg(T14, X42, X58, X55, app24_in_ggaa(T14, X55, X53, X54))
app24_in_ggaa(T14, cons(X58, X55), X37, X38) → U1_ggaa(T14, X58, X55, X37, X38, app24_in_ggaa(T14, X55, X53, X54))
U1_ggaa(T14, X58, X55, X37, X38, app24_out_ggaa(T14, X55, X53, X54)) → app24_out_ggaa(T14, cons(X58, X55), X37, X38)
U2_ggg(T14, X42, X58, X55, app24_out_ggaa(T14, X55, X53, X54)) → app10_out_ggg([], T14, cons(X42, cons(X58, X55)))
app10_in_ggg(.(T17, T18), T13, cons(T17, X39)) → U3_ggg(T17, T18, T13, X39, app10_in_ggg(T18, T13, X39))
U3_ggg(T17, T18, T13, X39, app10_out_ggg(T18, T13, X39)) → app10_out_ggg(.(T17, T18), T13, cons(T17, X39))
U20_gg(T5, T6, T7, T8, app10_out_ggg(T5, T6, nil)) → U21_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, cons(T22, T23)))
U21_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, cons(T22, T23))) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U22_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, cons(T28, T29)))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U23_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T30, T31)))
U23_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T30, T31))) → U24_gg(T5, T6, T7, T8, app60_in_aaa(T28, T29, X98))
app60_in_aaa(nil, T37, T37) → app60_out_aaa(nil, T37, T37)
app60_in_aaa([], T44, cons(X120, cons(X136, X133))) → U7_aaa(T44, X120, X136, X133, app75_in_aa(T44, X133))
app75_in_aa(T44, cons(X136, X133)) → U6_aa(T44, X136, X133, app75_in_aa(T44, X133))
U6_aa(T44, X136, X133, app75_out_aa(T44, X133)) → app75_out_aa(T44, cons(X136, X133))
U7_aaa(T44, X120, X136, X133, app75_out_aa(T44, X133)) → app60_out_aaa([], T44, cons(X120, cons(X136, X133)))
app60_in_aaa(.(T50, T52), T53, cons(T50, X117)) → U8_aaa(T50, T52, T53, X117, app60_in_aaa(T52, T53, X117))
app60_in_aaa(.(T59, T61), T62, cons(T59, X117)) → U9_aaa(T59, T61, T62, X117, app60_in_aaa(T61, T62, X117))
U9_aaa(T59, T61, T62, X117, app60_out_aaa(T61, T62, X117)) → app60_out_aaa(.(T59, T61), T62, cons(T59, X117))
U8_aaa(T50, T52, T53, X117, app60_out_aaa(T52, T53, X117)) → app60_out_aaa(.(T50, T52), T53, cons(T50, X117))
U24_gg(T5, T6, T7, T8, app60_out_aaa(T28, T29, X98)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U25_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T33, T34)))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U26_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T32))
U26_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T32)) → U27_gg(T5, T6, T7, T8, app60_in_aaa(T33, T34, X99))
U27_gg(T5, T6, T7, T8, app60_out_aaa(T33, T34, X99)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U28_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T64))
U28_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T64)) → U29_gg(T5, T6, T7, T8, T64, app60_in_aaa(T33, T34, T63))
U29_gg(T5, T6, T7, T8, T64, app60_out_aaa(T33, T34, T63)) → U30_gg(T5, T6, T7, T8, lessleaves42_in_aa(T64, T63))
lessleaves42_in_aa(nil, cons(T22, T23)) → lessleaves42_out_aa(nil, cons(T22, T23))
lessleaves42_in_aa(cons(T28, T29), cons(T30, T31)) → U10_aa(T28, T29, T30, T31, app60_in_aaa(T28, T29, X98))
U10_aa(T28, T29, T30, T31, app60_out_aaa(T28, T29, X98)) → lessleaves42_out_aa(cons(T28, T29), cons(T30, T31))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U11_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T32))
U11_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T32)) → U12_aa(T28, T29, T33, T34, app60_in_aaa(T33, T34, X99))
U12_aa(T28, T29, T33, T34, app60_out_aaa(T33, T34, X99)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U13_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T64))
U13_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T64)) → U14_aa(T28, T29, T33, T34, T64, app60_in_aaa(T33, T34, T63))
U14_aa(T28, T29, T33, T34, T64, app60_out_aaa(T33, T34, T63)) → U15_aa(T28, T29, T33, T34, lessleaves42_in_aa(T64, T63))
U15_aa(T28, T29, T33, T34, lessleaves42_out_aa(T64, T63)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
U30_gg(T5, T6, T7, T8, lessleaves42_out_aa(T64, T63)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
APP24_IN_GAAA(T14, cons(X58, X55), X37, X38) → APP24_IN_GAAA(T14, X55, X53, X54)
APP24_IN_GAAA(T14) → APP24_IN_GAAA(T14)
APP10_IN_GGA(.(T17, T18), T13, cons(T17, X39)) → APP10_IN_GGA(T18, T13, X39)
lessleaves1_in_gg(nil, cons(T3, T4)) → lessleaves1_out_gg(nil, cons(T3, T4))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U17_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, X20))
app10_in_gga(nil, T11, T11) → app10_out_gga(nil, T11, T11)
app10_in_gga([], T14, cons(X42, cons(X58, X55))) → U2_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
app24_in_gaaa(T14, cons(X58, X55), X37, X38) → U1_gaaa(T14, X58, X55, X37, X38, app24_in_gaaa(T14, X55, X53, X54))
U1_gaaa(T14, X58, X55, X37, X38, app24_out_gaaa(T14, X55, X53, X54)) → app24_out_gaaa(T14, cons(X58, X55), X37, X38)
U2_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app10_out_gga([], T14, cons(X42, cons(X58, X55)))
app10_in_gga(.(T17, T18), T13, cons(T17, X39)) → U3_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U3_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app10_out_gga(.(T17, T18), T13, cons(T17, X39))
U17_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, X20)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U18_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, T9))
U18_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, T9)) → U19_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, X21))
app41_in_gga(nil, T21, T21) → app41_out_gga(nil, T21, T21)
app41_in_gga(T7, T8, X21) → U16_gga(T7, T8, X21, app14_in_gga(T7, T8, X21))
app14_in_gga([], T14, cons(X42, cons(X58, X55))) → U4_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
U4_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app14_out_gga([], T14, cons(X42, cons(X58, X55)))
app14_in_gga(.(T17, T18), T13, cons(T17, X39)) → U5_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U5_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app14_out_gga(.(T17, T18), T13, cons(T17, X39))
U16_gga(T7, T8, X21, app14_out_gga(T7, T8, X21)) → app41_out_gga(T7, T8, X21)
U19_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, X21)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U20_gg(T5, T6, T7, T8, app10_in_ggg(T5, T6, nil))
app10_in_ggg(nil, T11, T11) → app10_out_ggg(nil, T11, T11)
app10_in_ggg([], T14, cons(X42, cons(X58, X55))) → U2_ggg(T14, X42, X58, X55, app24_in_ggaa(T14, X55, X53, X54))
app24_in_ggaa(T14, cons(X58, X55), X37, X38) → U1_ggaa(T14, X58, X55, X37, X38, app24_in_ggaa(T14, X55, X53, X54))
U1_ggaa(T14, X58, X55, X37, X38, app24_out_ggaa(T14, X55, X53, X54)) → app24_out_ggaa(T14, cons(X58, X55), X37, X38)
U2_ggg(T14, X42, X58, X55, app24_out_ggaa(T14, X55, X53, X54)) → app10_out_ggg([], T14, cons(X42, cons(X58, X55)))
app10_in_ggg(.(T17, T18), T13, cons(T17, X39)) → U3_ggg(T17, T18, T13, X39, app10_in_ggg(T18, T13, X39))
U3_ggg(T17, T18, T13, X39, app10_out_ggg(T18, T13, X39)) → app10_out_ggg(.(T17, T18), T13, cons(T17, X39))
U20_gg(T5, T6, T7, T8, app10_out_ggg(T5, T6, nil)) → U21_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, cons(T22, T23)))
U21_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, cons(T22, T23))) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U22_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, cons(T28, T29)))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U23_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T30, T31)))
U23_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T30, T31))) → U24_gg(T5, T6, T7, T8, app60_in_aaa(T28, T29, X98))
app60_in_aaa(nil, T37, T37) → app60_out_aaa(nil, T37, T37)
app60_in_aaa([], T44, cons(X120, cons(X136, X133))) → U7_aaa(T44, X120, X136, X133, app75_in_aa(T44, X133))
app75_in_aa(T44, cons(X136, X133)) → U6_aa(T44, X136, X133, app75_in_aa(T44, X133))
U6_aa(T44, X136, X133, app75_out_aa(T44, X133)) → app75_out_aa(T44, cons(X136, X133))
U7_aaa(T44, X120, X136, X133, app75_out_aa(T44, X133)) → app60_out_aaa([], T44, cons(X120, cons(X136, X133)))
app60_in_aaa(.(T50, T52), T53, cons(T50, X117)) → U8_aaa(T50, T52, T53, X117, app60_in_aaa(T52, T53, X117))
app60_in_aaa(.(T59, T61), T62, cons(T59, X117)) → U9_aaa(T59, T61, T62, X117, app60_in_aaa(T61, T62, X117))
U9_aaa(T59, T61, T62, X117, app60_out_aaa(T61, T62, X117)) → app60_out_aaa(.(T59, T61), T62, cons(T59, X117))
U8_aaa(T50, T52, T53, X117, app60_out_aaa(T52, T53, X117)) → app60_out_aaa(.(T50, T52), T53, cons(T50, X117))
U24_gg(T5, T6, T7, T8, app60_out_aaa(T28, T29, X98)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U25_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T33, T34)))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U26_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T32))
U26_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T32)) → U27_gg(T5, T6, T7, T8, app60_in_aaa(T33, T34, X99))
U27_gg(T5, T6, T7, T8, app60_out_aaa(T33, T34, X99)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U28_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T64))
U28_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T64)) → U29_gg(T5, T6, T7, T8, T64, app60_in_aaa(T33, T34, T63))
U29_gg(T5, T6, T7, T8, T64, app60_out_aaa(T33, T34, T63)) → U30_gg(T5, T6, T7, T8, lessleaves42_in_aa(T64, T63))
lessleaves42_in_aa(nil, cons(T22, T23)) → lessleaves42_out_aa(nil, cons(T22, T23))
lessleaves42_in_aa(cons(T28, T29), cons(T30, T31)) → U10_aa(T28, T29, T30, T31, app60_in_aaa(T28, T29, X98))
U10_aa(T28, T29, T30, T31, app60_out_aaa(T28, T29, X98)) → lessleaves42_out_aa(cons(T28, T29), cons(T30, T31))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U11_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T32))
U11_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T32)) → U12_aa(T28, T29, T33, T34, app60_in_aaa(T33, T34, X99))
U12_aa(T28, T29, T33, T34, app60_out_aaa(T33, T34, X99)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U13_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T64))
U13_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T64)) → U14_aa(T28, T29, T33, T34, T64, app60_in_aaa(T33, T34, T63))
U14_aa(T28, T29, T33, T34, T64, app60_out_aaa(T33, T34, T63)) → U15_aa(T28, T29, T33, T34, lessleaves42_in_aa(T64, T63))
U15_aa(T28, T29, T33, T34, lessleaves42_out_aa(T64, T63)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
U30_gg(T5, T6, T7, T8, lessleaves42_out_aa(T64, T63)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
APP10_IN_GGA(.(T17, T18), T13, cons(T17, X39)) → APP10_IN_GGA(T18, T13, X39)
APP10_IN_GGA(.(T17, T18), T13) → APP10_IN_GGA(T18, T13)
From the DPs we obtained the following set of size-change graphs:
lessleaves1_in_gg(nil, cons(T3, T4)) → lessleaves1_out_gg(nil, cons(T3, T4))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U17_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, X20))
app10_in_gga(nil, T11, T11) → app10_out_gga(nil, T11, T11)
app10_in_gga([], T14, cons(X42, cons(X58, X55))) → U2_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
app24_in_gaaa(T14, cons(X58, X55), X37, X38) → U1_gaaa(T14, X58, X55, X37, X38, app24_in_gaaa(T14, X55, X53, X54))
U1_gaaa(T14, X58, X55, X37, X38, app24_out_gaaa(T14, X55, X53, X54)) → app24_out_gaaa(T14, cons(X58, X55), X37, X38)
U2_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app10_out_gga([], T14, cons(X42, cons(X58, X55)))
app10_in_gga(.(T17, T18), T13, cons(T17, X39)) → U3_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U3_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app10_out_gga(.(T17, T18), T13, cons(T17, X39))
U17_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, X20)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U18_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, T9))
U18_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, T9)) → U19_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, X21))
app41_in_gga(nil, T21, T21) → app41_out_gga(nil, T21, T21)
app41_in_gga(T7, T8, X21) → U16_gga(T7, T8, X21, app14_in_gga(T7, T8, X21))
app14_in_gga([], T14, cons(X42, cons(X58, X55))) → U4_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
U4_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app14_out_gga([], T14, cons(X42, cons(X58, X55)))
app14_in_gga(.(T17, T18), T13, cons(T17, X39)) → U5_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U5_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app14_out_gga(.(T17, T18), T13, cons(T17, X39))
U16_gga(T7, T8, X21, app14_out_gga(T7, T8, X21)) → app41_out_gga(T7, T8, X21)
U19_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, X21)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U20_gg(T5, T6, T7, T8, app10_in_ggg(T5, T6, nil))
app10_in_ggg(nil, T11, T11) → app10_out_ggg(nil, T11, T11)
app10_in_ggg([], T14, cons(X42, cons(X58, X55))) → U2_ggg(T14, X42, X58, X55, app24_in_ggaa(T14, X55, X53, X54))
app24_in_ggaa(T14, cons(X58, X55), X37, X38) → U1_ggaa(T14, X58, X55, X37, X38, app24_in_ggaa(T14, X55, X53, X54))
U1_ggaa(T14, X58, X55, X37, X38, app24_out_ggaa(T14, X55, X53, X54)) → app24_out_ggaa(T14, cons(X58, X55), X37, X38)
U2_ggg(T14, X42, X58, X55, app24_out_ggaa(T14, X55, X53, X54)) → app10_out_ggg([], T14, cons(X42, cons(X58, X55)))
app10_in_ggg(.(T17, T18), T13, cons(T17, X39)) → U3_ggg(T17, T18, T13, X39, app10_in_ggg(T18, T13, X39))
U3_ggg(T17, T18, T13, X39, app10_out_ggg(T18, T13, X39)) → app10_out_ggg(.(T17, T18), T13, cons(T17, X39))
U20_gg(T5, T6, T7, T8, app10_out_ggg(T5, T6, nil)) → U21_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, cons(T22, T23)))
U21_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, cons(T22, T23))) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U22_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, cons(T28, T29)))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U23_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T30, T31)))
U23_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T30, T31))) → U24_gg(T5, T6, T7, T8, app60_in_aaa(T28, T29, X98))
app60_in_aaa(nil, T37, T37) → app60_out_aaa(nil, T37, T37)
app60_in_aaa([], T44, cons(X120, cons(X136, X133))) → U7_aaa(T44, X120, X136, X133, app75_in_aa(T44, X133))
app75_in_aa(T44, cons(X136, X133)) → U6_aa(T44, X136, X133, app75_in_aa(T44, X133))
U6_aa(T44, X136, X133, app75_out_aa(T44, X133)) → app75_out_aa(T44, cons(X136, X133))
U7_aaa(T44, X120, X136, X133, app75_out_aa(T44, X133)) → app60_out_aaa([], T44, cons(X120, cons(X136, X133)))
app60_in_aaa(.(T50, T52), T53, cons(T50, X117)) → U8_aaa(T50, T52, T53, X117, app60_in_aaa(T52, T53, X117))
app60_in_aaa(.(T59, T61), T62, cons(T59, X117)) → U9_aaa(T59, T61, T62, X117, app60_in_aaa(T61, T62, X117))
U9_aaa(T59, T61, T62, X117, app60_out_aaa(T61, T62, X117)) → app60_out_aaa(.(T59, T61), T62, cons(T59, X117))
U8_aaa(T50, T52, T53, X117, app60_out_aaa(T52, T53, X117)) → app60_out_aaa(.(T50, T52), T53, cons(T50, X117))
U24_gg(T5, T6, T7, T8, app60_out_aaa(T28, T29, X98)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U25_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T33, T34)))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U26_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T32))
U26_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T32)) → U27_gg(T5, T6, T7, T8, app60_in_aaa(T33, T34, X99))
U27_gg(T5, T6, T7, T8, app60_out_aaa(T33, T34, X99)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U28_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T64))
U28_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T64)) → U29_gg(T5, T6, T7, T8, T64, app60_in_aaa(T33, T34, T63))
U29_gg(T5, T6, T7, T8, T64, app60_out_aaa(T33, T34, T63)) → U30_gg(T5, T6, T7, T8, lessleaves42_in_aa(T64, T63))
lessleaves42_in_aa(nil, cons(T22, T23)) → lessleaves42_out_aa(nil, cons(T22, T23))
lessleaves42_in_aa(cons(T28, T29), cons(T30, T31)) → U10_aa(T28, T29, T30, T31, app60_in_aaa(T28, T29, X98))
U10_aa(T28, T29, T30, T31, app60_out_aaa(T28, T29, X98)) → lessleaves42_out_aa(cons(T28, T29), cons(T30, T31))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U11_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T32))
U11_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T32)) → U12_aa(T28, T29, T33, T34, app60_in_aaa(T33, T34, X99))
U12_aa(T28, T29, T33, T34, app60_out_aaa(T33, T34, X99)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U13_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T64))
U13_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T64)) → U14_aa(T28, T29, T33, T34, T64, app60_in_aaa(T33, T34, T63))
U14_aa(T28, T29, T33, T34, T64, app60_out_aaa(T33, T34, T63)) → U15_aa(T28, T29, T33, T34, lessleaves42_in_aa(T64, T63))
U15_aa(T28, T29, T33, T34, lessleaves42_out_aa(T64, T63)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
U30_gg(T5, T6, T7, T8, lessleaves42_out_aa(T64, T63)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
lessleaves1_in_gg(nil, cons(T3, T4)) → lessleaves1_out_gg(nil, cons(T3, T4))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U17_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, X20))
app10_in_gga(nil, T11, T11) → app10_out_gga(nil, T11, T11)
app10_in_gga([], T14, cons(X42, cons(X58, X55))) → U2_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
app24_in_gaaa(T14, cons(X58, X55), X37, X38) → U1_gaaa(T14, X58, X55, X37, X38, app24_in_gaaa(T14, X55, X53, X54))
U1_gaaa(T14, X58, X55, X37, X38, app24_out_gaaa(T14, X55, X53, X54)) → app24_out_gaaa(T14, cons(X58, X55), X37, X38)
U2_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app10_out_gga([], T14, cons(X42, cons(X58, X55)))
app10_in_gga(.(T17, T18), T13, cons(T17, X39)) → U3_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U3_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app10_out_gga(.(T17, T18), T13, cons(T17, X39))
U17_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, X20)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U18_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, T9))
U18_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, T9)) → U19_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, X21))
app41_in_gga(nil, T21, T21) → app41_out_gga(nil, T21, T21)
app41_in_gga(T7, T8, X21) → U16_gga(T7, T8, X21, app14_in_gga(T7, T8, X21))
app14_in_gga([], T14, cons(X42, cons(X58, X55))) → U4_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
U4_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app14_out_gga([], T14, cons(X42, cons(X58, X55)))
app14_in_gga(.(T17, T18), T13, cons(T17, X39)) → U5_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U5_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app14_out_gga(.(T17, T18), T13, cons(T17, X39))
U16_gga(T7, T8, X21, app14_out_gga(T7, T8, X21)) → app41_out_gga(T7, T8, X21)
U19_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, X21)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U20_gg(T5, T6, T7, T8, app10_in_ggg(T5, T6, nil))
app10_in_ggg(nil, T11, T11) → app10_out_ggg(nil, T11, T11)
app10_in_ggg([], T14, cons(X42, cons(X58, X55))) → U2_ggg(T14, X42, X58, X55, app24_in_ggaa(T14, X55, X53, X54))
app24_in_ggaa(T14, cons(X58, X55), X37, X38) → U1_ggaa(T14, X58, X55, X37, X38, app24_in_ggaa(T14, X55, X53, X54))
U1_ggaa(T14, X58, X55, X37, X38, app24_out_ggaa(T14, X55, X53, X54)) → app24_out_ggaa(T14, cons(X58, X55), X37, X38)
U2_ggg(T14, X42, X58, X55, app24_out_ggaa(T14, X55, X53, X54)) → app10_out_ggg([], T14, cons(X42, cons(X58, X55)))
app10_in_ggg(.(T17, T18), T13, cons(T17, X39)) → U3_ggg(T17, T18, T13, X39, app10_in_ggg(T18, T13, X39))
U3_ggg(T17, T18, T13, X39, app10_out_ggg(T18, T13, X39)) → app10_out_ggg(.(T17, T18), T13, cons(T17, X39))
U20_gg(T5, T6, T7, T8, app10_out_ggg(T5, T6, nil)) → U21_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, cons(T22, T23)))
U21_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, cons(T22, T23))) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U22_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, cons(T28, T29)))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U23_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T30, T31)))
U23_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T30, T31))) → U24_gg(T5, T6, T7, T8, app60_in_aaa(T28, T29, X98))
app60_in_aaa(nil, T37, T37) → app60_out_aaa(nil, T37, T37)
app60_in_aaa([], T44, cons(X120, cons(X136, X133))) → U7_aaa(T44, X120, X136, X133, app75_in_aa(T44, X133))
app75_in_aa(T44, cons(X136, X133)) → U6_aa(T44, X136, X133, app75_in_aa(T44, X133))
U6_aa(T44, X136, X133, app75_out_aa(T44, X133)) → app75_out_aa(T44, cons(X136, X133))
U7_aaa(T44, X120, X136, X133, app75_out_aa(T44, X133)) → app60_out_aaa([], T44, cons(X120, cons(X136, X133)))
app60_in_aaa(.(T50, T52), T53, cons(T50, X117)) → U8_aaa(T50, T52, T53, X117, app60_in_aaa(T52, T53, X117))
app60_in_aaa(.(T59, T61), T62, cons(T59, X117)) → U9_aaa(T59, T61, T62, X117, app60_in_aaa(T61, T62, X117))
U9_aaa(T59, T61, T62, X117, app60_out_aaa(T61, T62, X117)) → app60_out_aaa(.(T59, T61), T62, cons(T59, X117))
U8_aaa(T50, T52, T53, X117, app60_out_aaa(T52, T53, X117)) → app60_out_aaa(.(T50, T52), T53, cons(T50, X117))
U24_gg(T5, T6, T7, T8, app60_out_aaa(T28, T29, X98)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U25_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T33, T34)))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U26_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T32))
U26_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T32)) → U27_gg(T5, T6, T7, T8, app60_in_aaa(T33, T34, X99))
U27_gg(T5, T6, T7, T8, app60_out_aaa(T33, T34, X99)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U28_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T64))
U28_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T64)) → U29_gg(T5, T6, T7, T8, T64, app60_in_aaa(T33, T34, T63))
U29_gg(T5, T6, T7, T8, T64, app60_out_aaa(T33, T34, T63)) → U30_gg(T5, T6, T7, T8, lessleaves42_in_aa(T64, T63))
lessleaves42_in_aa(nil, cons(T22, T23)) → lessleaves42_out_aa(nil, cons(T22, T23))
lessleaves42_in_aa(cons(T28, T29), cons(T30, T31)) → U10_aa(T28, T29, T30, T31, app60_in_aaa(T28, T29, X98))
U10_aa(T28, T29, T30, T31, app60_out_aaa(T28, T29, X98)) → lessleaves42_out_aa(cons(T28, T29), cons(T30, T31))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U11_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T32))
U11_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T32)) → U12_aa(T28, T29, T33, T34, app60_in_aaa(T33, T34, X99))
U12_aa(T28, T29, T33, T34, app60_out_aaa(T33, T34, X99)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U13_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T64))
U13_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T64)) → U14_aa(T28, T29, T33, T34, T64, app60_in_aaa(T33, T34, T63))
U14_aa(T28, T29, T33, T34, T64, app60_out_aaa(T33, T34, T63)) → U15_aa(T28, T29, T33, T34, lessleaves42_in_aa(T64, T63))
U15_aa(T28, T29, T33, T34, lessleaves42_out_aa(T64, T63)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
U30_gg(T5, T6, T7, T8, lessleaves42_out_aa(T64, T63)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
LESSLEAVES1_IN_GG(cons(T5, T6), cons(T7, T8)) → U17_GG(T5, T6, T7, T8, app10_in_gga(T5, T6, X20))
LESSLEAVES1_IN_GG(cons(T5, T6), cons(T7, T8)) → APP10_IN_GGA(T5, T6, X20)
APP10_IN_GGA([], T14, cons(X42, cons(X58, X55))) → U2_GGA(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
APP10_IN_GGA([], T14, cons(X42, cons(X58, X55))) → APP24_IN_GAAA(T14, X55, X53, X54)
APP24_IN_GAAA(T14, cons(X58, X55), X37, X38) → U1_GAAA(T14, X58, X55, X37, X38, app24_in_gaaa(T14, X55, X53, X54))
APP24_IN_GAAA(T14, cons(X58, X55), X37, X38) → APP24_IN_GAAA(T14, X55, X53, X54)
APP10_IN_GGA(.(T17, T18), T13, cons(T17, X39)) → U3_GGA(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
APP10_IN_GGA(.(T17, T18), T13, cons(T17, X39)) → APP10_IN_GGA(T18, T13, X39)
LESSLEAVES1_IN_GG(cons(T5, T6), cons(T7, T8)) → U18_GG(T5, T6, T7, T8, app10_in_gga(T5, T6, T9))
U18_GG(T5, T6, T7, T8, app10_out_gga(T5, T6, T9)) → U19_GG(T5, T6, T7, T8, app41_in_gga(T7, T8, X21))
U18_GG(T5, T6, T7, T8, app10_out_gga(T5, T6, T9)) → APP41_IN_GGA(T7, T8, X21)
APP41_IN_GGA(T7, T8, X21) → U16_GGA(T7, T8, X21, app14_in_gga(T7, T8, X21))
APP41_IN_GGA(T7, T8, X21) → APP14_IN_GGA(T7, T8, X21)
APP14_IN_GGA([], T14, cons(X42, cons(X58, X55))) → U4_GGA(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
APP14_IN_GGA([], T14, cons(X42, cons(X58, X55))) → APP24_IN_GAAA(T14, X55, X53, X54)
APP14_IN_GGA(.(T17, T18), T13, cons(T17, X39)) → U5_GGA(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
APP14_IN_GGA(.(T17, T18), T13, cons(T17, X39)) → APP10_IN_GGA(T18, T13, X39)
LESSLEAVES1_IN_GG(cons(T5, T6), cons(T7, T8)) → U20_GG(T5, T6, T7, T8, app10_in_ggg(T5, T6, nil))
LESSLEAVES1_IN_GG(cons(T5, T6), cons(T7, T8)) → APP10_IN_GGG(T5, T6, nil)
APP10_IN_GGG([], T14, cons(X42, cons(X58, X55))) → U2_GGG(T14, X42, X58, X55, app24_in_ggaa(T14, X55, X53, X54))
APP10_IN_GGG([], T14, cons(X42, cons(X58, X55))) → APP24_IN_GGAA(T14, X55, X53, X54)
APP24_IN_GGAA(T14, cons(X58, X55), X37, X38) → U1_GGAA(T14, X58, X55, X37, X38, app24_in_ggaa(T14, X55, X53, X54))
APP24_IN_GGAA(T14, cons(X58, X55), X37, X38) → APP24_IN_GGAA(T14, X55, X53, X54)
APP10_IN_GGG(.(T17, T18), T13, cons(T17, X39)) → U3_GGG(T17, T18, T13, X39, app10_in_ggg(T18, T13, X39))
APP10_IN_GGG(.(T17, T18), T13, cons(T17, X39)) → APP10_IN_GGG(T18, T13, X39)
U20_GG(T5, T6, T7, T8, app10_out_ggg(T5, T6, nil)) → U21_GG(T5, T6, T7, T8, app41_in_gga(T7, T8, cons(T22, T23)))
U20_GG(T5, T6, T7, T8, app10_out_ggg(T5, T6, nil)) → APP41_IN_GGA(T7, T8, cons(T22, T23))
LESSLEAVES1_IN_GG(cons(T5, T6), cons(T7, T8)) → U22_GG(T5, T6, T7, T8, app10_in_gga(T5, T6, cons(T28, T29)))
LESSLEAVES1_IN_GG(cons(T5, T6), cons(T7, T8)) → APP10_IN_GGA(T5, T6, cons(T28, T29))
U22_GG(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U23_GG(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T30, T31)))
U22_GG(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → APP41_IN_GGA(T7, T8, cons(T30, T31))
U23_GG(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T30, T31))) → U24_GG(T5, T6, T7, T8, app60_in_aaa(T28, T29, X98))
U23_GG(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T30, T31))) → APP60_IN_AAA(T28, T29, X98)
APP60_IN_AAA([], T44, cons(X120, cons(X136, X133))) → U7_AAA(T44, X120, X136, X133, app75_in_aa(T44, X133))
APP60_IN_AAA([], T44, cons(X120, cons(X136, X133))) → APP75_IN_AA(T44, X133)
APP75_IN_AA(T44, cons(X136, X133)) → U6_AA(T44, X136, X133, app75_in_aa(T44, X133))
APP75_IN_AA(T44, cons(X136, X133)) → APP75_IN_AA(T44, X133)
APP60_IN_AAA(.(T50, T52), T53, cons(T50, X117)) → U8_AAA(T50, T52, T53, X117, app60_in_aaa(T52, T53, X117))
APP60_IN_AAA(.(T50, T52), T53, cons(T50, X117)) → APP60_IN_AAA(T52, T53, X117)
APP60_IN_AAA(.(T59, T61), T62, cons(T59, X117)) → U9_AAA(T59, T61, T62, X117, app60_in_aaa(T61, T62, X117))
U22_GG(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U25_GG(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T33, T34)))
U25_GG(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U26_GG(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T32))
U25_GG(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → APP60_IN_AAA(T28, T29, T32)
U26_GG(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T32)) → U27_GG(T5, T6, T7, T8, app60_in_aaa(T33, T34, X99))
U26_GG(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T32)) → APP60_IN_AAA(T33, T34, X99)
U25_GG(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U28_GG(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T64))
U28_GG(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T64)) → U29_GG(T5, T6, T7, T8, T64, app60_in_aaa(T33, T34, T63))
U28_GG(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T64)) → APP60_IN_AAA(T33, T34, T63)
U29_GG(T5, T6, T7, T8, T64, app60_out_aaa(T33, T34, T63)) → U30_GG(T5, T6, T7, T8, lessleaves42_in_aa(T64, T63))
U29_GG(T5, T6, T7, T8, T64, app60_out_aaa(T33, T34, T63)) → LESSLEAVES42_IN_AA(T64, T63)
LESSLEAVES42_IN_AA(cons(T28, T29), cons(T30, T31)) → U10_AA(T28, T29, T30, T31, app60_in_aaa(T28, T29, X98))
LESSLEAVES42_IN_AA(cons(T28, T29), cons(T30, T31)) → APP60_IN_AAA(T28, T29, X98)
LESSLEAVES42_IN_AA(cons(T28, T29), cons(T33, T34)) → U11_AA(T28, T29, T33, T34, app60_in_aaa(T28, T29, T32))
U11_AA(T28, T29, T33, T34, app60_out_aaa(T28, T29, T32)) → U12_AA(T28, T29, T33, T34, app60_in_aaa(T33, T34, X99))
U11_AA(T28, T29, T33, T34, app60_out_aaa(T28, T29, T32)) → APP60_IN_AAA(T33, T34, X99)
LESSLEAVES42_IN_AA(cons(T28, T29), cons(T33, T34)) → U13_AA(T28, T29, T33, T34, app60_in_aaa(T28, T29, T64))
U13_AA(T28, T29, T33, T34, app60_out_aaa(T28, T29, T64)) → U14_AA(T28, T29, T33, T34, T64, app60_in_aaa(T33, T34, T63))
U13_AA(T28, T29, T33, T34, app60_out_aaa(T28, T29, T64)) → APP60_IN_AAA(T33, T34, T63)
U14_AA(T28, T29, T33, T34, T64, app60_out_aaa(T33, T34, T63)) → U15_AA(T28, T29, T33, T34, lessleaves42_in_aa(T64, T63))
U14_AA(T28, T29, T33, T34, T64, app60_out_aaa(T33, T34, T63)) → LESSLEAVES42_IN_AA(T64, T63)
lessleaves1_in_gg(nil, cons(T3, T4)) → lessleaves1_out_gg(nil, cons(T3, T4))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U17_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, X20))
app10_in_gga(nil, T11, T11) → app10_out_gga(nil, T11, T11)
app10_in_gga([], T14, cons(X42, cons(X58, X55))) → U2_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
app24_in_gaaa(T14, cons(X58, X55), X37, X38) → U1_gaaa(T14, X58, X55, X37, X38, app24_in_gaaa(T14, X55, X53, X54))
U1_gaaa(T14, X58, X55, X37, X38, app24_out_gaaa(T14, X55, X53, X54)) → app24_out_gaaa(T14, cons(X58, X55), X37, X38)
U2_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app10_out_gga([], T14, cons(X42, cons(X58, X55)))
app10_in_gga(.(T17, T18), T13, cons(T17, X39)) → U3_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U3_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app10_out_gga(.(T17, T18), T13, cons(T17, X39))
U17_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, X20)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U18_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, T9))
U18_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, T9)) → U19_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, X21))
app41_in_gga(nil, T21, T21) → app41_out_gga(nil, T21, T21)
app41_in_gga(T7, T8, X21) → U16_gga(T7, T8, X21, app14_in_gga(T7, T8, X21))
app14_in_gga([], T14, cons(X42, cons(X58, X55))) → U4_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
U4_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app14_out_gga([], T14, cons(X42, cons(X58, X55)))
app14_in_gga(.(T17, T18), T13, cons(T17, X39)) → U5_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U5_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app14_out_gga(.(T17, T18), T13, cons(T17, X39))
U16_gga(T7, T8, X21, app14_out_gga(T7, T8, X21)) → app41_out_gga(T7, T8, X21)
U19_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, X21)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U20_gg(T5, T6, T7, T8, app10_in_ggg(T5, T6, nil))
app10_in_ggg(nil, T11, T11) → app10_out_ggg(nil, T11, T11)
app10_in_ggg([], T14, cons(X42, cons(X58, X55))) → U2_ggg(T14, X42, X58, X55, app24_in_ggaa(T14, X55, X53, X54))
app24_in_ggaa(T14, cons(X58, X55), X37, X38) → U1_ggaa(T14, X58, X55, X37, X38, app24_in_ggaa(T14, X55, X53, X54))
U1_ggaa(T14, X58, X55, X37, X38, app24_out_ggaa(T14, X55, X53, X54)) → app24_out_ggaa(T14, cons(X58, X55), X37, X38)
U2_ggg(T14, X42, X58, X55, app24_out_ggaa(T14, X55, X53, X54)) → app10_out_ggg([], T14, cons(X42, cons(X58, X55)))
app10_in_ggg(.(T17, T18), T13, cons(T17, X39)) → U3_ggg(T17, T18, T13, X39, app10_in_ggg(T18, T13, X39))
U3_ggg(T17, T18, T13, X39, app10_out_ggg(T18, T13, X39)) → app10_out_ggg(.(T17, T18), T13, cons(T17, X39))
U20_gg(T5, T6, T7, T8, app10_out_ggg(T5, T6, nil)) → U21_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, cons(T22, T23)))
U21_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, cons(T22, T23))) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U22_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, cons(T28, T29)))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U23_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T30, T31)))
U23_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T30, T31))) → U24_gg(T5, T6, T7, T8, app60_in_aaa(T28, T29, X98))
app60_in_aaa(nil, T37, T37) → app60_out_aaa(nil, T37, T37)
app60_in_aaa([], T44, cons(X120, cons(X136, X133))) → U7_aaa(T44, X120, X136, X133, app75_in_aa(T44, X133))
app75_in_aa(T44, cons(X136, X133)) → U6_aa(T44, X136, X133, app75_in_aa(T44, X133))
U6_aa(T44, X136, X133, app75_out_aa(T44, X133)) → app75_out_aa(T44, cons(X136, X133))
U7_aaa(T44, X120, X136, X133, app75_out_aa(T44, X133)) → app60_out_aaa([], T44, cons(X120, cons(X136, X133)))
app60_in_aaa(.(T50, T52), T53, cons(T50, X117)) → U8_aaa(T50, T52, T53, X117, app60_in_aaa(T52, T53, X117))
app60_in_aaa(.(T59, T61), T62, cons(T59, X117)) → U9_aaa(T59, T61, T62, X117, app60_in_aaa(T61, T62, X117))
U9_aaa(T59, T61, T62, X117, app60_out_aaa(T61, T62, X117)) → app60_out_aaa(.(T59, T61), T62, cons(T59, X117))
U8_aaa(T50, T52, T53, X117, app60_out_aaa(T52, T53, X117)) → app60_out_aaa(.(T50, T52), T53, cons(T50, X117))
U24_gg(T5, T6, T7, T8, app60_out_aaa(T28, T29, X98)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U25_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T33, T34)))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U26_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T32))
U26_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T32)) → U27_gg(T5, T6, T7, T8, app60_in_aaa(T33, T34, X99))
U27_gg(T5, T6, T7, T8, app60_out_aaa(T33, T34, X99)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U28_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T64))
U28_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T64)) → U29_gg(T5, T6, T7, T8, T64, app60_in_aaa(T33, T34, T63))
U29_gg(T5, T6, T7, T8, T64, app60_out_aaa(T33, T34, T63)) → U30_gg(T5, T6, T7, T8, lessleaves42_in_aa(T64, T63))
lessleaves42_in_aa(nil, cons(T22, T23)) → lessleaves42_out_aa(nil, cons(T22, T23))
lessleaves42_in_aa(cons(T28, T29), cons(T30, T31)) → U10_aa(T28, T29, T30, T31, app60_in_aaa(T28, T29, X98))
U10_aa(T28, T29, T30, T31, app60_out_aaa(T28, T29, X98)) → lessleaves42_out_aa(cons(T28, T29), cons(T30, T31))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U11_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T32))
U11_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T32)) → U12_aa(T28, T29, T33, T34, app60_in_aaa(T33, T34, X99))
U12_aa(T28, T29, T33, T34, app60_out_aaa(T33, T34, X99)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U13_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T64))
U13_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T64)) → U14_aa(T28, T29, T33, T34, T64, app60_in_aaa(T33, T34, T63))
U14_aa(T28, T29, T33, T34, T64, app60_out_aaa(T33, T34, T63)) → U15_aa(T28, T29, T33, T34, lessleaves42_in_aa(T64, T63))
U15_aa(T28, T29, T33, T34, lessleaves42_out_aa(T64, T63)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
U30_gg(T5, T6, T7, T8, lessleaves42_out_aa(T64, T63)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
LESSLEAVES1_IN_GG(cons(T5, T6), cons(T7, T8)) → U17_GG(T5, T6, T7, T8, app10_in_gga(T5, T6, X20))
LESSLEAVES1_IN_GG(cons(T5, T6), cons(T7, T8)) → APP10_IN_GGA(T5, T6, X20)
APP10_IN_GGA([], T14, cons(X42, cons(X58, X55))) → U2_GGA(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
APP10_IN_GGA([], T14, cons(X42, cons(X58, X55))) → APP24_IN_GAAA(T14, X55, X53, X54)
APP24_IN_GAAA(T14, cons(X58, X55), X37, X38) → U1_GAAA(T14, X58, X55, X37, X38, app24_in_gaaa(T14, X55, X53, X54))
APP24_IN_GAAA(T14, cons(X58, X55), X37, X38) → APP24_IN_GAAA(T14, X55, X53, X54)
APP10_IN_GGA(.(T17, T18), T13, cons(T17, X39)) → U3_GGA(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
APP10_IN_GGA(.(T17, T18), T13, cons(T17, X39)) → APP10_IN_GGA(T18, T13, X39)
LESSLEAVES1_IN_GG(cons(T5, T6), cons(T7, T8)) → U18_GG(T5, T6, T7, T8, app10_in_gga(T5, T6, T9))
U18_GG(T5, T6, T7, T8, app10_out_gga(T5, T6, T9)) → U19_GG(T5, T6, T7, T8, app41_in_gga(T7, T8, X21))
U18_GG(T5, T6, T7, T8, app10_out_gga(T5, T6, T9)) → APP41_IN_GGA(T7, T8, X21)
APP41_IN_GGA(T7, T8, X21) → U16_GGA(T7, T8, X21, app14_in_gga(T7, T8, X21))
APP41_IN_GGA(T7, T8, X21) → APP14_IN_GGA(T7, T8, X21)
APP14_IN_GGA([], T14, cons(X42, cons(X58, X55))) → U4_GGA(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
APP14_IN_GGA([], T14, cons(X42, cons(X58, X55))) → APP24_IN_GAAA(T14, X55, X53, X54)
APP14_IN_GGA(.(T17, T18), T13, cons(T17, X39)) → U5_GGA(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
APP14_IN_GGA(.(T17, T18), T13, cons(T17, X39)) → APP10_IN_GGA(T18, T13, X39)
LESSLEAVES1_IN_GG(cons(T5, T6), cons(T7, T8)) → U20_GG(T5, T6, T7, T8, app10_in_ggg(T5, T6, nil))
LESSLEAVES1_IN_GG(cons(T5, T6), cons(T7, T8)) → APP10_IN_GGG(T5, T6, nil)
APP10_IN_GGG([], T14, cons(X42, cons(X58, X55))) → U2_GGG(T14, X42, X58, X55, app24_in_ggaa(T14, X55, X53, X54))
APP10_IN_GGG([], T14, cons(X42, cons(X58, X55))) → APP24_IN_GGAA(T14, X55, X53, X54)
APP24_IN_GGAA(T14, cons(X58, X55), X37, X38) → U1_GGAA(T14, X58, X55, X37, X38, app24_in_ggaa(T14, X55, X53, X54))
APP24_IN_GGAA(T14, cons(X58, X55), X37, X38) → APP24_IN_GGAA(T14, X55, X53, X54)
APP10_IN_GGG(.(T17, T18), T13, cons(T17, X39)) → U3_GGG(T17, T18, T13, X39, app10_in_ggg(T18, T13, X39))
APP10_IN_GGG(.(T17, T18), T13, cons(T17, X39)) → APP10_IN_GGG(T18, T13, X39)
U20_GG(T5, T6, T7, T8, app10_out_ggg(T5, T6, nil)) → U21_GG(T5, T6, T7, T8, app41_in_gga(T7, T8, cons(T22, T23)))
U20_GG(T5, T6, T7, T8, app10_out_ggg(T5, T6, nil)) → APP41_IN_GGA(T7, T8, cons(T22, T23))
LESSLEAVES1_IN_GG(cons(T5, T6), cons(T7, T8)) → U22_GG(T5, T6, T7, T8, app10_in_gga(T5, T6, cons(T28, T29)))
LESSLEAVES1_IN_GG(cons(T5, T6), cons(T7, T8)) → APP10_IN_GGA(T5, T6, cons(T28, T29))
U22_GG(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U23_GG(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T30, T31)))
U22_GG(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → APP41_IN_GGA(T7, T8, cons(T30, T31))
U23_GG(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T30, T31))) → U24_GG(T5, T6, T7, T8, app60_in_aaa(T28, T29, X98))
U23_GG(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T30, T31))) → APP60_IN_AAA(T28, T29, X98)
APP60_IN_AAA([], T44, cons(X120, cons(X136, X133))) → U7_AAA(T44, X120, X136, X133, app75_in_aa(T44, X133))
APP60_IN_AAA([], T44, cons(X120, cons(X136, X133))) → APP75_IN_AA(T44, X133)
APP75_IN_AA(T44, cons(X136, X133)) → U6_AA(T44, X136, X133, app75_in_aa(T44, X133))
APP75_IN_AA(T44, cons(X136, X133)) → APP75_IN_AA(T44, X133)
APP60_IN_AAA(.(T50, T52), T53, cons(T50, X117)) → U8_AAA(T50, T52, T53, X117, app60_in_aaa(T52, T53, X117))
APP60_IN_AAA(.(T50, T52), T53, cons(T50, X117)) → APP60_IN_AAA(T52, T53, X117)
APP60_IN_AAA(.(T59, T61), T62, cons(T59, X117)) → U9_AAA(T59, T61, T62, X117, app60_in_aaa(T61, T62, X117))
U22_GG(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U25_GG(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T33, T34)))
U25_GG(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U26_GG(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T32))
U25_GG(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → APP60_IN_AAA(T28, T29, T32)
U26_GG(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T32)) → U27_GG(T5, T6, T7, T8, app60_in_aaa(T33, T34, X99))
U26_GG(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T32)) → APP60_IN_AAA(T33, T34, X99)
U25_GG(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U28_GG(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T64))
U28_GG(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T64)) → U29_GG(T5, T6, T7, T8, T64, app60_in_aaa(T33, T34, T63))
U28_GG(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T64)) → APP60_IN_AAA(T33, T34, T63)
U29_GG(T5, T6, T7, T8, T64, app60_out_aaa(T33, T34, T63)) → U30_GG(T5, T6, T7, T8, lessleaves42_in_aa(T64, T63))
U29_GG(T5, T6, T7, T8, T64, app60_out_aaa(T33, T34, T63)) → LESSLEAVES42_IN_AA(T64, T63)
LESSLEAVES42_IN_AA(cons(T28, T29), cons(T30, T31)) → U10_AA(T28, T29, T30, T31, app60_in_aaa(T28, T29, X98))
LESSLEAVES42_IN_AA(cons(T28, T29), cons(T30, T31)) → APP60_IN_AAA(T28, T29, X98)
LESSLEAVES42_IN_AA(cons(T28, T29), cons(T33, T34)) → U11_AA(T28, T29, T33, T34, app60_in_aaa(T28, T29, T32))
U11_AA(T28, T29, T33, T34, app60_out_aaa(T28, T29, T32)) → U12_AA(T28, T29, T33, T34, app60_in_aaa(T33, T34, X99))
U11_AA(T28, T29, T33, T34, app60_out_aaa(T28, T29, T32)) → APP60_IN_AAA(T33, T34, X99)
LESSLEAVES42_IN_AA(cons(T28, T29), cons(T33, T34)) → U13_AA(T28, T29, T33, T34, app60_in_aaa(T28, T29, T64))
U13_AA(T28, T29, T33, T34, app60_out_aaa(T28, T29, T64)) → U14_AA(T28, T29, T33, T34, T64, app60_in_aaa(T33, T34, T63))
U13_AA(T28, T29, T33, T34, app60_out_aaa(T28, T29, T64)) → APP60_IN_AAA(T33, T34, T63)
U14_AA(T28, T29, T33, T34, T64, app60_out_aaa(T33, T34, T63)) → U15_AA(T28, T29, T33, T34, lessleaves42_in_aa(T64, T63))
U14_AA(T28, T29, T33, T34, T64, app60_out_aaa(T33, T34, T63)) → LESSLEAVES42_IN_AA(T64, T63)
lessleaves1_in_gg(nil, cons(T3, T4)) → lessleaves1_out_gg(nil, cons(T3, T4))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U17_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, X20))
app10_in_gga(nil, T11, T11) → app10_out_gga(nil, T11, T11)
app10_in_gga([], T14, cons(X42, cons(X58, X55))) → U2_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
app24_in_gaaa(T14, cons(X58, X55), X37, X38) → U1_gaaa(T14, X58, X55, X37, X38, app24_in_gaaa(T14, X55, X53, X54))
U1_gaaa(T14, X58, X55, X37, X38, app24_out_gaaa(T14, X55, X53, X54)) → app24_out_gaaa(T14, cons(X58, X55), X37, X38)
U2_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app10_out_gga([], T14, cons(X42, cons(X58, X55)))
app10_in_gga(.(T17, T18), T13, cons(T17, X39)) → U3_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U3_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app10_out_gga(.(T17, T18), T13, cons(T17, X39))
U17_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, X20)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U18_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, T9))
U18_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, T9)) → U19_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, X21))
app41_in_gga(nil, T21, T21) → app41_out_gga(nil, T21, T21)
app41_in_gga(T7, T8, X21) → U16_gga(T7, T8, X21, app14_in_gga(T7, T8, X21))
app14_in_gga([], T14, cons(X42, cons(X58, X55))) → U4_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
U4_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app14_out_gga([], T14, cons(X42, cons(X58, X55)))
app14_in_gga(.(T17, T18), T13, cons(T17, X39)) → U5_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U5_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app14_out_gga(.(T17, T18), T13, cons(T17, X39))
U16_gga(T7, T8, X21, app14_out_gga(T7, T8, X21)) → app41_out_gga(T7, T8, X21)
U19_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, X21)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U20_gg(T5, T6, T7, T8, app10_in_ggg(T5, T6, nil))
app10_in_ggg(nil, T11, T11) → app10_out_ggg(nil, T11, T11)
app10_in_ggg([], T14, cons(X42, cons(X58, X55))) → U2_ggg(T14, X42, X58, X55, app24_in_ggaa(T14, X55, X53, X54))
app24_in_ggaa(T14, cons(X58, X55), X37, X38) → U1_ggaa(T14, X58, X55, X37, X38, app24_in_ggaa(T14, X55, X53, X54))
U1_ggaa(T14, X58, X55, X37, X38, app24_out_ggaa(T14, X55, X53, X54)) → app24_out_ggaa(T14, cons(X58, X55), X37, X38)
U2_ggg(T14, X42, X58, X55, app24_out_ggaa(T14, X55, X53, X54)) → app10_out_ggg([], T14, cons(X42, cons(X58, X55)))
app10_in_ggg(.(T17, T18), T13, cons(T17, X39)) → U3_ggg(T17, T18, T13, X39, app10_in_ggg(T18, T13, X39))
U3_ggg(T17, T18, T13, X39, app10_out_ggg(T18, T13, X39)) → app10_out_ggg(.(T17, T18), T13, cons(T17, X39))
U20_gg(T5, T6, T7, T8, app10_out_ggg(T5, T6, nil)) → U21_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, cons(T22, T23)))
U21_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, cons(T22, T23))) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U22_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, cons(T28, T29)))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U23_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T30, T31)))
U23_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T30, T31))) → U24_gg(T5, T6, T7, T8, app60_in_aaa(T28, T29, X98))
app60_in_aaa(nil, T37, T37) → app60_out_aaa(nil, T37, T37)
app60_in_aaa([], T44, cons(X120, cons(X136, X133))) → U7_aaa(T44, X120, X136, X133, app75_in_aa(T44, X133))
app75_in_aa(T44, cons(X136, X133)) → U6_aa(T44, X136, X133, app75_in_aa(T44, X133))
U6_aa(T44, X136, X133, app75_out_aa(T44, X133)) → app75_out_aa(T44, cons(X136, X133))
U7_aaa(T44, X120, X136, X133, app75_out_aa(T44, X133)) → app60_out_aaa([], T44, cons(X120, cons(X136, X133)))
app60_in_aaa(.(T50, T52), T53, cons(T50, X117)) → U8_aaa(T50, T52, T53, X117, app60_in_aaa(T52, T53, X117))
app60_in_aaa(.(T59, T61), T62, cons(T59, X117)) → U9_aaa(T59, T61, T62, X117, app60_in_aaa(T61, T62, X117))
U9_aaa(T59, T61, T62, X117, app60_out_aaa(T61, T62, X117)) → app60_out_aaa(.(T59, T61), T62, cons(T59, X117))
U8_aaa(T50, T52, T53, X117, app60_out_aaa(T52, T53, X117)) → app60_out_aaa(.(T50, T52), T53, cons(T50, X117))
U24_gg(T5, T6, T7, T8, app60_out_aaa(T28, T29, X98)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U25_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T33, T34)))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U26_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T32))
U26_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T32)) → U27_gg(T5, T6, T7, T8, app60_in_aaa(T33, T34, X99))
U27_gg(T5, T6, T7, T8, app60_out_aaa(T33, T34, X99)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U28_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T64))
U28_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T64)) → U29_gg(T5, T6, T7, T8, T64, app60_in_aaa(T33, T34, T63))
U29_gg(T5, T6, T7, T8, T64, app60_out_aaa(T33, T34, T63)) → U30_gg(T5, T6, T7, T8, lessleaves42_in_aa(T64, T63))
lessleaves42_in_aa(nil, cons(T22, T23)) → lessleaves42_out_aa(nil, cons(T22, T23))
lessleaves42_in_aa(cons(T28, T29), cons(T30, T31)) → U10_aa(T28, T29, T30, T31, app60_in_aaa(T28, T29, X98))
U10_aa(T28, T29, T30, T31, app60_out_aaa(T28, T29, X98)) → lessleaves42_out_aa(cons(T28, T29), cons(T30, T31))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U11_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T32))
U11_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T32)) → U12_aa(T28, T29, T33, T34, app60_in_aaa(T33, T34, X99))
U12_aa(T28, T29, T33, T34, app60_out_aaa(T33, T34, X99)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U13_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T64))
U13_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T64)) → U14_aa(T28, T29, T33, T34, T64, app60_in_aaa(T33, T34, T63))
U14_aa(T28, T29, T33, T34, T64, app60_out_aaa(T33, T34, T63)) → U15_aa(T28, T29, T33, T34, lessleaves42_in_aa(T64, T63))
U15_aa(T28, T29, T33, T34, lessleaves42_out_aa(T64, T63)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
U30_gg(T5, T6, T7, T8, lessleaves42_out_aa(T64, T63)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
APP75_IN_AA(T44, cons(X136, X133)) → APP75_IN_AA(T44, X133)
lessleaves1_in_gg(nil, cons(T3, T4)) → lessleaves1_out_gg(nil, cons(T3, T4))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U17_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, X20))
app10_in_gga(nil, T11, T11) → app10_out_gga(nil, T11, T11)
app10_in_gga([], T14, cons(X42, cons(X58, X55))) → U2_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
app24_in_gaaa(T14, cons(X58, X55), X37, X38) → U1_gaaa(T14, X58, X55, X37, X38, app24_in_gaaa(T14, X55, X53, X54))
U1_gaaa(T14, X58, X55, X37, X38, app24_out_gaaa(T14, X55, X53, X54)) → app24_out_gaaa(T14, cons(X58, X55), X37, X38)
U2_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app10_out_gga([], T14, cons(X42, cons(X58, X55)))
app10_in_gga(.(T17, T18), T13, cons(T17, X39)) → U3_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U3_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app10_out_gga(.(T17, T18), T13, cons(T17, X39))
U17_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, X20)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U18_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, T9))
U18_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, T9)) → U19_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, X21))
app41_in_gga(nil, T21, T21) → app41_out_gga(nil, T21, T21)
app41_in_gga(T7, T8, X21) → U16_gga(T7, T8, X21, app14_in_gga(T7, T8, X21))
app14_in_gga([], T14, cons(X42, cons(X58, X55))) → U4_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
U4_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app14_out_gga([], T14, cons(X42, cons(X58, X55)))
app14_in_gga(.(T17, T18), T13, cons(T17, X39)) → U5_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U5_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app14_out_gga(.(T17, T18), T13, cons(T17, X39))
U16_gga(T7, T8, X21, app14_out_gga(T7, T8, X21)) → app41_out_gga(T7, T8, X21)
U19_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, X21)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U20_gg(T5, T6, T7, T8, app10_in_ggg(T5, T6, nil))
app10_in_ggg(nil, T11, T11) → app10_out_ggg(nil, T11, T11)
app10_in_ggg([], T14, cons(X42, cons(X58, X55))) → U2_ggg(T14, X42, X58, X55, app24_in_ggaa(T14, X55, X53, X54))
app24_in_ggaa(T14, cons(X58, X55), X37, X38) → U1_ggaa(T14, X58, X55, X37, X38, app24_in_ggaa(T14, X55, X53, X54))
U1_ggaa(T14, X58, X55, X37, X38, app24_out_ggaa(T14, X55, X53, X54)) → app24_out_ggaa(T14, cons(X58, X55), X37, X38)
U2_ggg(T14, X42, X58, X55, app24_out_ggaa(T14, X55, X53, X54)) → app10_out_ggg([], T14, cons(X42, cons(X58, X55)))
app10_in_ggg(.(T17, T18), T13, cons(T17, X39)) → U3_ggg(T17, T18, T13, X39, app10_in_ggg(T18, T13, X39))
U3_ggg(T17, T18, T13, X39, app10_out_ggg(T18, T13, X39)) → app10_out_ggg(.(T17, T18), T13, cons(T17, X39))
U20_gg(T5, T6, T7, T8, app10_out_ggg(T5, T6, nil)) → U21_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, cons(T22, T23)))
U21_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, cons(T22, T23))) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U22_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, cons(T28, T29)))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U23_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T30, T31)))
U23_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T30, T31))) → U24_gg(T5, T6, T7, T8, app60_in_aaa(T28, T29, X98))
app60_in_aaa(nil, T37, T37) → app60_out_aaa(nil, T37, T37)
app60_in_aaa([], T44, cons(X120, cons(X136, X133))) → U7_aaa(T44, X120, X136, X133, app75_in_aa(T44, X133))
app75_in_aa(T44, cons(X136, X133)) → U6_aa(T44, X136, X133, app75_in_aa(T44, X133))
U6_aa(T44, X136, X133, app75_out_aa(T44, X133)) → app75_out_aa(T44, cons(X136, X133))
U7_aaa(T44, X120, X136, X133, app75_out_aa(T44, X133)) → app60_out_aaa([], T44, cons(X120, cons(X136, X133)))
app60_in_aaa(.(T50, T52), T53, cons(T50, X117)) → U8_aaa(T50, T52, T53, X117, app60_in_aaa(T52, T53, X117))
app60_in_aaa(.(T59, T61), T62, cons(T59, X117)) → U9_aaa(T59, T61, T62, X117, app60_in_aaa(T61, T62, X117))
U9_aaa(T59, T61, T62, X117, app60_out_aaa(T61, T62, X117)) → app60_out_aaa(.(T59, T61), T62, cons(T59, X117))
U8_aaa(T50, T52, T53, X117, app60_out_aaa(T52, T53, X117)) → app60_out_aaa(.(T50, T52), T53, cons(T50, X117))
U24_gg(T5, T6, T7, T8, app60_out_aaa(T28, T29, X98)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U25_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T33, T34)))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U26_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T32))
U26_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T32)) → U27_gg(T5, T6, T7, T8, app60_in_aaa(T33, T34, X99))
U27_gg(T5, T6, T7, T8, app60_out_aaa(T33, T34, X99)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U28_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T64))
U28_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T64)) → U29_gg(T5, T6, T7, T8, T64, app60_in_aaa(T33, T34, T63))
U29_gg(T5, T6, T7, T8, T64, app60_out_aaa(T33, T34, T63)) → U30_gg(T5, T6, T7, T8, lessleaves42_in_aa(T64, T63))
lessleaves42_in_aa(nil, cons(T22, T23)) → lessleaves42_out_aa(nil, cons(T22, T23))
lessleaves42_in_aa(cons(T28, T29), cons(T30, T31)) → U10_aa(T28, T29, T30, T31, app60_in_aaa(T28, T29, X98))
U10_aa(T28, T29, T30, T31, app60_out_aaa(T28, T29, X98)) → lessleaves42_out_aa(cons(T28, T29), cons(T30, T31))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U11_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T32))
U11_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T32)) → U12_aa(T28, T29, T33, T34, app60_in_aaa(T33, T34, X99))
U12_aa(T28, T29, T33, T34, app60_out_aaa(T33, T34, X99)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U13_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T64))
U13_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T64)) → U14_aa(T28, T29, T33, T34, T64, app60_in_aaa(T33, T34, T63))
U14_aa(T28, T29, T33, T34, T64, app60_out_aaa(T33, T34, T63)) → U15_aa(T28, T29, T33, T34, lessleaves42_in_aa(T64, T63))
U15_aa(T28, T29, T33, T34, lessleaves42_out_aa(T64, T63)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
U30_gg(T5, T6, T7, T8, lessleaves42_out_aa(T64, T63)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
APP75_IN_AA(T44, cons(X136, X133)) → APP75_IN_AA(T44, X133)
APP75_IN_AA → APP75_IN_AA
APP60_IN_AAA(.(T50, T52), T53, cons(T50, X117)) → APP60_IN_AAA(T52, T53, X117)
lessleaves1_in_gg(nil, cons(T3, T4)) → lessleaves1_out_gg(nil, cons(T3, T4))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U17_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, X20))
app10_in_gga(nil, T11, T11) → app10_out_gga(nil, T11, T11)
app10_in_gga([], T14, cons(X42, cons(X58, X55))) → U2_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
app24_in_gaaa(T14, cons(X58, X55), X37, X38) → U1_gaaa(T14, X58, X55, X37, X38, app24_in_gaaa(T14, X55, X53, X54))
U1_gaaa(T14, X58, X55, X37, X38, app24_out_gaaa(T14, X55, X53, X54)) → app24_out_gaaa(T14, cons(X58, X55), X37, X38)
U2_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app10_out_gga([], T14, cons(X42, cons(X58, X55)))
app10_in_gga(.(T17, T18), T13, cons(T17, X39)) → U3_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U3_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app10_out_gga(.(T17, T18), T13, cons(T17, X39))
U17_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, X20)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U18_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, T9))
U18_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, T9)) → U19_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, X21))
app41_in_gga(nil, T21, T21) → app41_out_gga(nil, T21, T21)
app41_in_gga(T7, T8, X21) → U16_gga(T7, T8, X21, app14_in_gga(T7, T8, X21))
app14_in_gga([], T14, cons(X42, cons(X58, X55))) → U4_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
U4_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app14_out_gga([], T14, cons(X42, cons(X58, X55)))
app14_in_gga(.(T17, T18), T13, cons(T17, X39)) → U5_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U5_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app14_out_gga(.(T17, T18), T13, cons(T17, X39))
U16_gga(T7, T8, X21, app14_out_gga(T7, T8, X21)) → app41_out_gga(T7, T8, X21)
U19_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, X21)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U20_gg(T5, T6, T7, T8, app10_in_ggg(T5, T6, nil))
app10_in_ggg(nil, T11, T11) → app10_out_ggg(nil, T11, T11)
app10_in_ggg([], T14, cons(X42, cons(X58, X55))) → U2_ggg(T14, X42, X58, X55, app24_in_ggaa(T14, X55, X53, X54))
app24_in_ggaa(T14, cons(X58, X55), X37, X38) → U1_ggaa(T14, X58, X55, X37, X38, app24_in_ggaa(T14, X55, X53, X54))
U1_ggaa(T14, X58, X55, X37, X38, app24_out_ggaa(T14, X55, X53, X54)) → app24_out_ggaa(T14, cons(X58, X55), X37, X38)
U2_ggg(T14, X42, X58, X55, app24_out_ggaa(T14, X55, X53, X54)) → app10_out_ggg([], T14, cons(X42, cons(X58, X55)))
app10_in_ggg(.(T17, T18), T13, cons(T17, X39)) → U3_ggg(T17, T18, T13, X39, app10_in_ggg(T18, T13, X39))
U3_ggg(T17, T18, T13, X39, app10_out_ggg(T18, T13, X39)) → app10_out_ggg(.(T17, T18), T13, cons(T17, X39))
U20_gg(T5, T6, T7, T8, app10_out_ggg(T5, T6, nil)) → U21_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, cons(T22, T23)))
U21_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, cons(T22, T23))) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U22_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, cons(T28, T29)))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U23_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T30, T31)))
U23_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T30, T31))) → U24_gg(T5, T6, T7, T8, app60_in_aaa(T28, T29, X98))
app60_in_aaa(nil, T37, T37) → app60_out_aaa(nil, T37, T37)
app60_in_aaa([], T44, cons(X120, cons(X136, X133))) → U7_aaa(T44, X120, X136, X133, app75_in_aa(T44, X133))
app75_in_aa(T44, cons(X136, X133)) → U6_aa(T44, X136, X133, app75_in_aa(T44, X133))
U6_aa(T44, X136, X133, app75_out_aa(T44, X133)) → app75_out_aa(T44, cons(X136, X133))
U7_aaa(T44, X120, X136, X133, app75_out_aa(T44, X133)) → app60_out_aaa([], T44, cons(X120, cons(X136, X133)))
app60_in_aaa(.(T50, T52), T53, cons(T50, X117)) → U8_aaa(T50, T52, T53, X117, app60_in_aaa(T52, T53, X117))
app60_in_aaa(.(T59, T61), T62, cons(T59, X117)) → U9_aaa(T59, T61, T62, X117, app60_in_aaa(T61, T62, X117))
U9_aaa(T59, T61, T62, X117, app60_out_aaa(T61, T62, X117)) → app60_out_aaa(.(T59, T61), T62, cons(T59, X117))
U8_aaa(T50, T52, T53, X117, app60_out_aaa(T52, T53, X117)) → app60_out_aaa(.(T50, T52), T53, cons(T50, X117))
U24_gg(T5, T6, T7, T8, app60_out_aaa(T28, T29, X98)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U25_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T33, T34)))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U26_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T32))
U26_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T32)) → U27_gg(T5, T6, T7, T8, app60_in_aaa(T33, T34, X99))
U27_gg(T5, T6, T7, T8, app60_out_aaa(T33, T34, X99)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U28_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T64))
U28_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T64)) → U29_gg(T5, T6, T7, T8, T64, app60_in_aaa(T33, T34, T63))
U29_gg(T5, T6, T7, T8, T64, app60_out_aaa(T33, T34, T63)) → U30_gg(T5, T6, T7, T8, lessleaves42_in_aa(T64, T63))
lessleaves42_in_aa(nil, cons(T22, T23)) → lessleaves42_out_aa(nil, cons(T22, T23))
lessleaves42_in_aa(cons(T28, T29), cons(T30, T31)) → U10_aa(T28, T29, T30, T31, app60_in_aaa(T28, T29, X98))
U10_aa(T28, T29, T30, T31, app60_out_aaa(T28, T29, X98)) → lessleaves42_out_aa(cons(T28, T29), cons(T30, T31))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U11_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T32))
U11_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T32)) → U12_aa(T28, T29, T33, T34, app60_in_aaa(T33, T34, X99))
U12_aa(T28, T29, T33, T34, app60_out_aaa(T33, T34, X99)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U13_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T64))
U13_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T64)) → U14_aa(T28, T29, T33, T34, T64, app60_in_aaa(T33, T34, T63))
U14_aa(T28, T29, T33, T34, T64, app60_out_aaa(T33, T34, T63)) → U15_aa(T28, T29, T33, T34, lessleaves42_in_aa(T64, T63))
U15_aa(T28, T29, T33, T34, lessleaves42_out_aa(T64, T63)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
U30_gg(T5, T6, T7, T8, lessleaves42_out_aa(T64, T63)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
APP60_IN_AAA(.(T50, T52), T53, cons(T50, X117)) → APP60_IN_AAA(T52, T53, X117)
APP60_IN_AAA → APP60_IN_AAA
LESSLEAVES42_IN_AA(cons(T28, T29), cons(T33, T34)) → U13_AA(T28, T29, T33, T34, app60_in_aaa(T28, T29, T64))
U13_AA(T28, T29, T33, T34, app60_out_aaa(T28, T29, T64)) → U14_AA(T28, T29, T33, T34, T64, app60_in_aaa(T33, T34, T63))
U14_AA(T28, T29, T33, T34, T64, app60_out_aaa(T33, T34, T63)) → LESSLEAVES42_IN_AA(T64, T63)
lessleaves1_in_gg(nil, cons(T3, T4)) → lessleaves1_out_gg(nil, cons(T3, T4))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U17_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, X20))
app10_in_gga(nil, T11, T11) → app10_out_gga(nil, T11, T11)
app10_in_gga([], T14, cons(X42, cons(X58, X55))) → U2_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
app24_in_gaaa(T14, cons(X58, X55), X37, X38) → U1_gaaa(T14, X58, X55, X37, X38, app24_in_gaaa(T14, X55, X53, X54))
U1_gaaa(T14, X58, X55, X37, X38, app24_out_gaaa(T14, X55, X53, X54)) → app24_out_gaaa(T14, cons(X58, X55), X37, X38)
U2_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app10_out_gga([], T14, cons(X42, cons(X58, X55)))
app10_in_gga(.(T17, T18), T13, cons(T17, X39)) → U3_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U3_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app10_out_gga(.(T17, T18), T13, cons(T17, X39))
U17_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, X20)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U18_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, T9))
U18_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, T9)) → U19_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, X21))
app41_in_gga(nil, T21, T21) → app41_out_gga(nil, T21, T21)
app41_in_gga(T7, T8, X21) → U16_gga(T7, T8, X21, app14_in_gga(T7, T8, X21))
app14_in_gga([], T14, cons(X42, cons(X58, X55))) → U4_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
U4_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app14_out_gga([], T14, cons(X42, cons(X58, X55)))
app14_in_gga(.(T17, T18), T13, cons(T17, X39)) → U5_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U5_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app14_out_gga(.(T17, T18), T13, cons(T17, X39))
U16_gga(T7, T8, X21, app14_out_gga(T7, T8, X21)) → app41_out_gga(T7, T8, X21)
U19_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, X21)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U20_gg(T5, T6, T7, T8, app10_in_ggg(T5, T6, nil))
app10_in_ggg(nil, T11, T11) → app10_out_ggg(nil, T11, T11)
app10_in_ggg([], T14, cons(X42, cons(X58, X55))) → U2_ggg(T14, X42, X58, X55, app24_in_ggaa(T14, X55, X53, X54))
app24_in_ggaa(T14, cons(X58, X55), X37, X38) → U1_ggaa(T14, X58, X55, X37, X38, app24_in_ggaa(T14, X55, X53, X54))
U1_ggaa(T14, X58, X55, X37, X38, app24_out_ggaa(T14, X55, X53, X54)) → app24_out_ggaa(T14, cons(X58, X55), X37, X38)
U2_ggg(T14, X42, X58, X55, app24_out_ggaa(T14, X55, X53, X54)) → app10_out_ggg([], T14, cons(X42, cons(X58, X55)))
app10_in_ggg(.(T17, T18), T13, cons(T17, X39)) → U3_ggg(T17, T18, T13, X39, app10_in_ggg(T18, T13, X39))
U3_ggg(T17, T18, T13, X39, app10_out_ggg(T18, T13, X39)) → app10_out_ggg(.(T17, T18), T13, cons(T17, X39))
U20_gg(T5, T6, T7, T8, app10_out_ggg(T5, T6, nil)) → U21_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, cons(T22, T23)))
U21_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, cons(T22, T23))) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U22_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, cons(T28, T29)))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U23_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T30, T31)))
U23_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T30, T31))) → U24_gg(T5, T6, T7, T8, app60_in_aaa(T28, T29, X98))
app60_in_aaa(nil, T37, T37) → app60_out_aaa(nil, T37, T37)
app60_in_aaa([], T44, cons(X120, cons(X136, X133))) → U7_aaa(T44, X120, X136, X133, app75_in_aa(T44, X133))
app75_in_aa(T44, cons(X136, X133)) → U6_aa(T44, X136, X133, app75_in_aa(T44, X133))
U6_aa(T44, X136, X133, app75_out_aa(T44, X133)) → app75_out_aa(T44, cons(X136, X133))
U7_aaa(T44, X120, X136, X133, app75_out_aa(T44, X133)) → app60_out_aaa([], T44, cons(X120, cons(X136, X133)))
app60_in_aaa(.(T50, T52), T53, cons(T50, X117)) → U8_aaa(T50, T52, T53, X117, app60_in_aaa(T52, T53, X117))
app60_in_aaa(.(T59, T61), T62, cons(T59, X117)) → U9_aaa(T59, T61, T62, X117, app60_in_aaa(T61, T62, X117))
U9_aaa(T59, T61, T62, X117, app60_out_aaa(T61, T62, X117)) → app60_out_aaa(.(T59, T61), T62, cons(T59, X117))
U8_aaa(T50, T52, T53, X117, app60_out_aaa(T52, T53, X117)) → app60_out_aaa(.(T50, T52), T53, cons(T50, X117))
U24_gg(T5, T6, T7, T8, app60_out_aaa(T28, T29, X98)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U25_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T33, T34)))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U26_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T32))
U26_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T32)) → U27_gg(T5, T6, T7, T8, app60_in_aaa(T33, T34, X99))
U27_gg(T5, T6, T7, T8, app60_out_aaa(T33, T34, X99)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U28_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T64))
U28_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T64)) → U29_gg(T5, T6, T7, T8, T64, app60_in_aaa(T33, T34, T63))
U29_gg(T5, T6, T7, T8, T64, app60_out_aaa(T33, T34, T63)) → U30_gg(T5, T6, T7, T8, lessleaves42_in_aa(T64, T63))
lessleaves42_in_aa(nil, cons(T22, T23)) → lessleaves42_out_aa(nil, cons(T22, T23))
lessleaves42_in_aa(cons(T28, T29), cons(T30, T31)) → U10_aa(T28, T29, T30, T31, app60_in_aaa(T28, T29, X98))
U10_aa(T28, T29, T30, T31, app60_out_aaa(T28, T29, X98)) → lessleaves42_out_aa(cons(T28, T29), cons(T30, T31))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U11_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T32))
U11_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T32)) → U12_aa(T28, T29, T33, T34, app60_in_aaa(T33, T34, X99))
U12_aa(T28, T29, T33, T34, app60_out_aaa(T33, T34, X99)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U13_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T64))
U13_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T64)) → U14_aa(T28, T29, T33, T34, T64, app60_in_aaa(T33, T34, T63))
U14_aa(T28, T29, T33, T34, T64, app60_out_aaa(T33, T34, T63)) → U15_aa(T28, T29, T33, T34, lessleaves42_in_aa(T64, T63))
U15_aa(T28, T29, T33, T34, lessleaves42_out_aa(T64, T63)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
U30_gg(T5, T6, T7, T8, lessleaves42_out_aa(T64, T63)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
LESSLEAVES42_IN_AA(cons(T28, T29), cons(T33, T34)) → U13_AA(T28, T29, T33, T34, app60_in_aaa(T28, T29, T64))
U13_AA(T28, T29, T33, T34, app60_out_aaa(T28, T29, T64)) → U14_AA(T28, T29, T33, T34, T64, app60_in_aaa(T33, T34, T63))
U14_AA(T28, T29, T33, T34, T64, app60_out_aaa(T33, T34, T63)) → LESSLEAVES42_IN_AA(T64, T63)
app60_in_aaa(nil, T37, T37) → app60_out_aaa(nil, T37, T37)
app60_in_aaa([], T44, cons(X120, cons(X136, X133))) → U7_aaa(T44, X120, X136, X133, app75_in_aa(T44, X133))
app60_in_aaa(.(T50, T52), T53, cons(T50, X117)) → U8_aaa(T50, T52, T53, X117, app60_in_aaa(T52, T53, X117))
app60_in_aaa(.(T59, T61), T62, cons(T59, X117)) → U9_aaa(T59, T61, T62, X117, app60_in_aaa(T61, T62, X117))
U7_aaa(T44, X120, X136, X133, app75_out_aa(T44, X133)) → app60_out_aaa([], T44, cons(X120, cons(X136, X133)))
U8_aaa(T50, T52, T53, X117, app60_out_aaa(T52, T53, X117)) → app60_out_aaa(.(T50, T52), T53, cons(T50, X117))
U9_aaa(T59, T61, T62, X117, app60_out_aaa(T61, T62, X117)) → app60_out_aaa(.(T59, T61), T62, cons(T59, X117))
app75_in_aa(T44, cons(X136, X133)) → U6_aa(T44, X136, X133, app75_in_aa(T44, X133))
U6_aa(T44, X136, X133, app75_out_aa(T44, X133)) → app75_out_aa(T44, cons(X136, X133))
LESSLEAVES42_IN_AA → U13_AA(app60_in_aaa)
U13_AA(app60_out_aaa) → U14_AA(app60_in_aaa)
U14_AA(app60_out_aaa) → LESSLEAVES42_IN_AA
app60_in_aaa → app60_out_aaa
app60_in_aaa → U7_aaa(app75_in_aa)
app60_in_aaa → U8_aaa(app60_in_aaa)
app60_in_aaa → U9_aaa(app60_in_aaa)
U7_aaa(app75_out_aa(T44)) → app60_out_aaa
U8_aaa(app60_out_aaa) → app60_out_aaa
U9_aaa(app60_out_aaa) → app60_out_aaa
app75_in_aa → U6_aa(app75_in_aa)
U6_aa(app75_out_aa(T44)) → app75_out_aa(T44)
app60_in_aaa
U7_aaa(x0)
U8_aaa(x0)
U9_aaa(x0)
app75_in_aa
U6_aa(x0)
app60_in_aaa → U7_aaa(app75_in_aa)
U7_aaa(app75_out_aa(T44)) → app60_out_aaa
POL(LESSLEAVES42_IN_AA) = 1
POL(U13_AA(x1)) = x1
POL(U14_AA(x1)) = x1
POL(U6_aa(x1)) = x1
POL(U7_aaa(x1)) = x1
POL(U8_aaa(x1)) = x1
POL(U9_aaa(x1)) = x1
POL(app60_in_aaa) = 1
POL(app60_out_aaa) = 1
POL(app75_in_aa) = 0
POL(app75_out_aa(x1)) = 2 + x1
LESSLEAVES42_IN_AA → U13_AA(app60_in_aaa)
U13_AA(app60_out_aaa) → U14_AA(app60_in_aaa)
U14_AA(app60_out_aaa) → LESSLEAVES42_IN_AA
app60_in_aaa → app60_out_aaa
app60_in_aaa → U8_aaa(app60_in_aaa)
app60_in_aaa → U9_aaa(app60_in_aaa)
U8_aaa(app60_out_aaa) → app60_out_aaa
U9_aaa(app60_out_aaa) → app60_out_aaa
app75_in_aa → U6_aa(app75_in_aa)
U6_aa(app75_out_aa(T44)) → app75_out_aa(T44)
app60_in_aaa
U7_aaa(x0)
U8_aaa(x0)
U9_aaa(x0)
app75_in_aa
U6_aa(x0)
LESSLEAVES42_IN_AA → U13_AA(app60_in_aaa)
U13_AA(app60_out_aaa) → U14_AA(app60_in_aaa)
U14_AA(app60_out_aaa) → LESSLEAVES42_IN_AA
app60_in_aaa → app60_out_aaa
app60_in_aaa → U8_aaa(app60_in_aaa)
app60_in_aaa → U9_aaa(app60_in_aaa)
U9_aaa(app60_out_aaa) → app60_out_aaa
U8_aaa(app60_out_aaa) → app60_out_aaa
app60_in_aaa
U7_aaa(x0)
U8_aaa(x0)
U9_aaa(x0)
app75_in_aa
U6_aa(x0)
U7_aaa(x0)
app75_in_aa
U6_aa(x0)
LESSLEAVES42_IN_AA → U13_AA(app60_in_aaa)
U13_AA(app60_out_aaa) → U14_AA(app60_in_aaa)
U14_AA(app60_out_aaa) → LESSLEAVES42_IN_AA
app60_in_aaa → app60_out_aaa
app60_in_aaa → U8_aaa(app60_in_aaa)
app60_in_aaa → U9_aaa(app60_in_aaa)
U9_aaa(app60_out_aaa) → app60_out_aaa
U8_aaa(app60_out_aaa) → app60_out_aaa
app60_in_aaa
U8_aaa(x0)
U9_aaa(x0)
LESSLEAVES42_IN_AA → U13_AA(app60_out_aaa)
LESSLEAVES42_IN_AA → U13_AA(U8_aaa(app60_in_aaa))
LESSLEAVES42_IN_AA → U13_AA(U9_aaa(app60_in_aaa))
U13_AA(app60_out_aaa) → U14_AA(app60_in_aaa)
U14_AA(app60_out_aaa) → LESSLEAVES42_IN_AA
LESSLEAVES42_IN_AA → U13_AA(app60_out_aaa)
LESSLEAVES42_IN_AA → U13_AA(U8_aaa(app60_in_aaa))
LESSLEAVES42_IN_AA → U13_AA(U9_aaa(app60_in_aaa))
app60_in_aaa → app60_out_aaa
app60_in_aaa → U8_aaa(app60_in_aaa)
app60_in_aaa → U9_aaa(app60_in_aaa)
U9_aaa(app60_out_aaa) → app60_out_aaa
U8_aaa(app60_out_aaa) → app60_out_aaa
app60_in_aaa
U8_aaa(x0)
U9_aaa(x0)
U13_AA(app60_out_aaa) → U14_AA(app60_out_aaa)
U13_AA(app60_out_aaa) → U14_AA(U8_aaa(app60_in_aaa))
U13_AA(app60_out_aaa) → U14_AA(U9_aaa(app60_in_aaa))
U14_AA(app60_out_aaa) → LESSLEAVES42_IN_AA
LESSLEAVES42_IN_AA → U13_AA(app60_out_aaa)
LESSLEAVES42_IN_AA → U13_AA(U8_aaa(app60_in_aaa))
LESSLEAVES42_IN_AA → U13_AA(U9_aaa(app60_in_aaa))
U13_AA(app60_out_aaa) → U14_AA(app60_out_aaa)
U13_AA(app60_out_aaa) → U14_AA(U8_aaa(app60_in_aaa))
U13_AA(app60_out_aaa) → U14_AA(U9_aaa(app60_in_aaa))
app60_in_aaa → app60_out_aaa
app60_in_aaa → U8_aaa(app60_in_aaa)
app60_in_aaa → U9_aaa(app60_in_aaa)
U9_aaa(app60_out_aaa) → app60_out_aaa
U8_aaa(app60_out_aaa) → app60_out_aaa
app60_in_aaa
U8_aaa(x0)
U9_aaa(x0)
APP24_IN_GGAA(T14, cons(X58, X55), X37, X38) → APP24_IN_GGAA(T14, X55, X53, X54)
lessleaves1_in_gg(nil, cons(T3, T4)) → lessleaves1_out_gg(nil, cons(T3, T4))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U17_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, X20))
app10_in_gga(nil, T11, T11) → app10_out_gga(nil, T11, T11)
app10_in_gga([], T14, cons(X42, cons(X58, X55))) → U2_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
app24_in_gaaa(T14, cons(X58, X55), X37, X38) → U1_gaaa(T14, X58, X55, X37, X38, app24_in_gaaa(T14, X55, X53, X54))
U1_gaaa(T14, X58, X55, X37, X38, app24_out_gaaa(T14, X55, X53, X54)) → app24_out_gaaa(T14, cons(X58, X55), X37, X38)
U2_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app10_out_gga([], T14, cons(X42, cons(X58, X55)))
app10_in_gga(.(T17, T18), T13, cons(T17, X39)) → U3_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U3_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app10_out_gga(.(T17, T18), T13, cons(T17, X39))
U17_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, X20)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U18_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, T9))
U18_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, T9)) → U19_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, X21))
app41_in_gga(nil, T21, T21) → app41_out_gga(nil, T21, T21)
app41_in_gga(T7, T8, X21) → U16_gga(T7, T8, X21, app14_in_gga(T7, T8, X21))
app14_in_gga([], T14, cons(X42, cons(X58, X55))) → U4_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
U4_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app14_out_gga([], T14, cons(X42, cons(X58, X55)))
app14_in_gga(.(T17, T18), T13, cons(T17, X39)) → U5_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U5_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app14_out_gga(.(T17, T18), T13, cons(T17, X39))
U16_gga(T7, T8, X21, app14_out_gga(T7, T8, X21)) → app41_out_gga(T7, T8, X21)
U19_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, X21)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U20_gg(T5, T6, T7, T8, app10_in_ggg(T5, T6, nil))
app10_in_ggg(nil, T11, T11) → app10_out_ggg(nil, T11, T11)
app10_in_ggg([], T14, cons(X42, cons(X58, X55))) → U2_ggg(T14, X42, X58, X55, app24_in_ggaa(T14, X55, X53, X54))
app24_in_ggaa(T14, cons(X58, X55), X37, X38) → U1_ggaa(T14, X58, X55, X37, X38, app24_in_ggaa(T14, X55, X53, X54))
U1_ggaa(T14, X58, X55, X37, X38, app24_out_ggaa(T14, X55, X53, X54)) → app24_out_ggaa(T14, cons(X58, X55), X37, X38)
U2_ggg(T14, X42, X58, X55, app24_out_ggaa(T14, X55, X53, X54)) → app10_out_ggg([], T14, cons(X42, cons(X58, X55)))
app10_in_ggg(.(T17, T18), T13, cons(T17, X39)) → U3_ggg(T17, T18, T13, X39, app10_in_ggg(T18, T13, X39))
U3_ggg(T17, T18, T13, X39, app10_out_ggg(T18, T13, X39)) → app10_out_ggg(.(T17, T18), T13, cons(T17, X39))
U20_gg(T5, T6, T7, T8, app10_out_ggg(T5, T6, nil)) → U21_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, cons(T22, T23)))
U21_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, cons(T22, T23))) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U22_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, cons(T28, T29)))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U23_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T30, T31)))
U23_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T30, T31))) → U24_gg(T5, T6, T7, T8, app60_in_aaa(T28, T29, X98))
app60_in_aaa(nil, T37, T37) → app60_out_aaa(nil, T37, T37)
app60_in_aaa([], T44, cons(X120, cons(X136, X133))) → U7_aaa(T44, X120, X136, X133, app75_in_aa(T44, X133))
app75_in_aa(T44, cons(X136, X133)) → U6_aa(T44, X136, X133, app75_in_aa(T44, X133))
U6_aa(T44, X136, X133, app75_out_aa(T44, X133)) → app75_out_aa(T44, cons(X136, X133))
U7_aaa(T44, X120, X136, X133, app75_out_aa(T44, X133)) → app60_out_aaa([], T44, cons(X120, cons(X136, X133)))
app60_in_aaa(.(T50, T52), T53, cons(T50, X117)) → U8_aaa(T50, T52, T53, X117, app60_in_aaa(T52, T53, X117))
app60_in_aaa(.(T59, T61), T62, cons(T59, X117)) → U9_aaa(T59, T61, T62, X117, app60_in_aaa(T61, T62, X117))
U9_aaa(T59, T61, T62, X117, app60_out_aaa(T61, T62, X117)) → app60_out_aaa(.(T59, T61), T62, cons(T59, X117))
U8_aaa(T50, T52, T53, X117, app60_out_aaa(T52, T53, X117)) → app60_out_aaa(.(T50, T52), T53, cons(T50, X117))
U24_gg(T5, T6, T7, T8, app60_out_aaa(T28, T29, X98)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U25_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T33, T34)))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U26_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T32))
U26_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T32)) → U27_gg(T5, T6, T7, T8, app60_in_aaa(T33, T34, X99))
U27_gg(T5, T6, T7, T8, app60_out_aaa(T33, T34, X99)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U28_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T64))
U28_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T64)) → U29_gg(T5, T6, T7, T8, T64, app60_in_aaa(T33, T34, T63))
U29_gg(T5, T6, T7, T8, T64, app60_out_aaa(T33, T34, T63)) → U30_gg(T5, T6, T7, T8, lessleaves42_in_aa(T64, T63))
lessleaves42_in_aa(nil, cons(T22, T23)) → lessleaves42_out_aa(nil, cons(T22, T23))
lessleaves42_in_aa(cons(T28, T29), cons(T30, T31)) → U10_aa(T28, T29, T30, T31, app60_in_aaa(T28, T29, X98))
U10_aa(T28, T29, T30, T31, app60_out_aaa(T28, T29, X98)) → lessleaves42_out_aa(cons(T28, T29), cons(T30, T31))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U11_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T32))
U11_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T32)) → U12_aa(T28, T29, T33, T34, app60_in_aaa(T33, T34, X99))
U12_aa(T28, T29, T33, T34, app60_out_aaa(T33, T34, X99)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U13_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T64))
U13_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T64)) → U14_aa(T28, T29, T33, T34, T64, app60_in_aaa(T33, T34, T63))
U14_aa(T28, T29, T33, T34, T64, app60_out_aaa(T33, T34, T63)) → U15_aa(T28, T29, T33, T34, lessleaves42_in_aa(T64, T63))
U15_aa(T28, T29, T33, T34, lessleaves42_out_aa(T64, T63)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
U30_gg(T5, T6, T7, T8, lessleaves42_out_aa(T64, T63)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
APP24_IN_GGAA(T14, cons(X58, X55), X37, X38) → APP24_IN_GGAA(T14, X55, X53, X54)
APP24_IN_GGAA(T14, cons(X58, X55)) → APP24_IN_GGAA(T14, X55)
From the DPs we obtained the following set of size-change graphs:
APP10_IN_GGG(.(T17, T18), T13, cons(T17, X39)) → APP10_IN_GGG(T18, T13, X39)
lessleaves1_in_gg(nil, cons(T3, T4)) → lessleaves1_out_gg(nil, cons(T3, T4))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U17_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, X20))
app10_in_gga(nil, T11, T11) → app10_out_gga(nil, T11, T11)
app10_in_gga([], T14, cons(X42, cons(X58, X55))) → U2_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
app24_in_gaaa(T14, cons(X58, X55), X37, X38) → U1_gaaa(T14, X58, X55, X37, X38, app24_in_gaaa(T14, X55, X53, X54))
U1_gaaa(T14, X58, X55, X37, X38, app24_out_gaaa(T14, X55, X53, X54)) → app24_out_gaaa(T14, cons(X58, X55), X37, X38)
U2_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app10_out_gga([], T14, cons(X42, cons(X58, X55)))
app10_in_gga(.(T17, T18), T13, cons(T17, X39)) → U3_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U3_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app10_out_gga(.(T17, T18), T13, cons(T17, X39))
U17_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, X20)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U18_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, T9))
U18_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, T9)) → U19_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, X21))
app41_in_gga(nil, T21, T21) → app41_out_gga(nil, T21, T21)
app41_in_gga(T7, T8, X21) → U16_gga(T7, T8, X21, app14_in_gga(T7, T8, X21))
app14_in_gga([], T14, cons(X42, cons(X58, X55))) → U4_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
U4_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app14_out_gga([], T14, cons(X42, cons(X58, X55)))
app14_in_gga(.(T17, T18), T13, cons(T17, X39)) → U5_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U5_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app14_out_gga(.(T17, T18), T13, cons(T17, X39))
U16_gga(T7, T8, X21, app14_out_gga(T7, T8, X21)) → app41_out_gga(T7, T8, X21)
U19_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, X21)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U20_gg(T5, T6, T7, T8, app10_in_ggg(T5, T6, nil))
app10_in_ggg(nil, T11, T11) → app10_out_ggg(nil, T11, T11)
app10_in_ggg([], T14, cons(X42, cons(X58, X55))) → U2_ggg(T14, X42, X58, X55, app24_in_ggaa(T14, X55, X53, X54))
app24_in_ggaa(T14, cons(X58, X55), X37, X38) → U1_ggaa(T14, X58, X55, X37, X38, app24_in_ggaa(T14, X55, X53, X54))
U1_ggaa(T14, X58, X55, X37, X38, app24_out_ggaa(T14, X55, X53, X54)) → app24_out_ggaa(T14, cons(X58, X55), X37, X38)
U2_ggg(T14, X42, X58, X55, app24_out_ggaa(T14, X55, X53, X54)) → app10_out_ggg([], T14, cons(X42, cons(X58, X55)))
app10_in_ggg(.(T17, T18), T13, cons(T17, X39)) → U3_ggg(T17, T18, T13, X39, app10_in_ggg(T18, T13, X39))
U3_ggg(T17, T18, T13, X39, app10_out_ggg(T18, T13, X39)) → app10_out_ggg(.(T17, T18), T13, cons(T17, X39))
U20_gg(T5, T6, T7, T8, app10_out_ggg(T5, T6, nil)) → U21_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, cons(T22, T23)))
U21_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, cons(T22, T23))) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U22_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, cons(T28, T29)))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U23_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T30, T31)))
U23_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T30, T31))) → U24_gg(T5, T6, T7, T8, app60_in_aaa(T28, T29, X98))
app60_in_aaa(nil, T37, T37) → app60_out_aaa(nil, T37, T37)
app60_in_aaa([], T44, cons(X120, cons(X136, X133))) → U7_aaa(T44, X120, X136, X133, app75_in_aa(T44, X133))
app75_in_aa(T44, cons(X136, X133)) → U6_aa(T44, X136, X133, app75_in_aa(T44, X133))
U6_aa(T44, X136, X133, app75_out_aa(T44, X133)) → app75_out_aa(T44, cons(X136, X133))
U7_aaa(T44, X120, X136, X133, app75_out_aa(T44, X133)) → app60_out_aaa([], T44, cons(X120, cons(X136, X133)))
app60_in_aaa(.(T50, T52), T53, cons(T50, X117)) → U8_aaa(T50, T52, T53, X117, app60_in_aaa(T52, T53, X117))
app60_in_aaa(.(T59, T61), T62, cons(T59, X117)) → U9_aaa(T59, T61, T62, X117, app60_in_aaa(T61, T62, X117))
U9_aaa(T59, T61, T62, X117, app60_out_aaa(T61, T62, X117)) → app60_out_aaa(.(T59, T61), T62, cons(T59, X117))
U8_aaa(T50, T52, T53, X117, app60_out_aaa(T52, T53, X117)) → app60_out_aaa(.(T50, T52), T53, cons(T50, X117))
U24_gg(T5, T6, T7, T8, app60_out_aaa(T28, T29, X98)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U25_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T33, T34)))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U26_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T32))
U26_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T32)) → U27_gg(T5, T6, T7, T8, app60_in_aaa(T33, T34, X99))
U27_gg(T5, T6, T7, T8, app60_out_aaa(T33, T34, X99)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U28_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T64))
U28_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T64)) → U29_gg(T5, T6, T7, T8, T64, app60_in_aaa(T33, T34, T63))
U29_gg(T5, T6, T7, T8, T64, app60_out_aaa(T33, T34, T63)) → U30_gg(T5, T6, T7, T8, lessleaves42_in_aa(T64, T63))
lessleaves42_in_aa(nil, cons(T22, T23)) → lessleaves42_out_aa(nil, cons(T22, T23))
lessleaves42_in_aa(cons(T28, T29), cons(T30, T31)) → U10_aa(T28, T29, T30, T31, app60_in_aaa(T28, T29, X98))
U10_aa(T28, T29, T30, T31, app60_out_aaa(T28, T29, X98)) → lessleaves42_out_aa(cons(T28, T29), cons(T30, T31))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U11_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T32))
U11_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T32)) → U12_aa(T28, T29, T33, T34, app60_in_aaa(T33, T34, X99))
U12_aa(T28, T29, T33, T34, app60_out_aaa(T33, T34, X99)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U13_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T64))
U13_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T64)) → U14_aa(T28, T29, T33, T34, T64, app60_in_aaa(T33, T34, T63))
U14_aa(T28, T29, T33, T34, T64, app60_out_aaa(T33, T34, T63)) → U15_aa(T28, T29, T33, T34, lessleaves42_in_aa(T64, T63))
U15_aa(T28, T29, T33, T34, lessleaves42_out_aa(T64, T63)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
U30_gg(T5, T6, T7, T8, lessleaves42_out_aa(T64, T63)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
APP10_IN_GGG(.(T17, T18), T13, cons(T17, X39)) → APP10_IN_GGG(T18, T13, X39)
APP10_IN_GGG(.(T17, T18), T13, cons(T17, X39)) → APP10_IN_GGG(T18, T13, X39)
From the DPs we obtained the following set of size-change graphs:
APP24_IN_GAAA(T14, cons(X58, X55), X37, X38) → APP24_IN_GAAA(T14, X55, X53, X54)
lessleaves1_in_gg(nil, cons(T3, T4)) → lessleaves1_out_gg(nil, cons(T3, T4))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U17_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, X20))
app10_in_gga(nil, T11, T11) → app10_out_gga(nil, T11, T11)
app10_in_gga([], T14, cons(X42, cons(X58, X55))) → U2_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
app24_in_gaaa(T14, cons(X58, X55), X37, X38) → U1_gaaa(T14, X58, X55, X37, X38, app24_in_gaaa(T14, X55, X53, X54))
U1_gaaa(T14, X58, X55, X37, X38, app24_out_gaaa(T14, X55, X53, X54)) → app24_out_gaaa(T14, cons(X58, X55), X37, X38)
U2_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app10_out_gga([], T14, cons(X42, cons(X58, X55)))
app10_in_gga(.(T17, T18), T13, cons(T17, X39)) → U3_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U3_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app10_out_gga(.(T17, T18), T13, cons(T17, X39))
U17_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, X20)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U18_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, T9))
U18_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, T9)) → U19_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, X21))
app41_in_gga(nil, T21, T21) → app41_out_gga(nil, T21, T21)
app41_in_gga(T7, T8, X21) → U16_gga(T7, T8, X21, app14_in_gga(T7, T8, X21))
app14_in_gga([], T14, cons(X42, cons(X58, X55))) → U4_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
U4_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app14_out_gga([], T14, cons(X42, cons(X58, X55)))
app14_in_gga(.(T17, T18), T13, cons(T17, X39)) → U5_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U5_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app14_out_gga(.(T17, T18), T13, cons(T17, X39))
U16_gga(T7, T8, X21, app14_out_gga(T7, T8, X21)) → app41_out_gga(T7, T8, X21)
U19_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, X21)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U20_gg(T5, T6, T7, T8, app10_in_ggg(T5, T6, nil))
app10_in_ggg(nil, T11, T11) → app10_out_ggg(nil, T11, T11)
app10_in_ggg([], T14, cons(X42, cons(X58, X55))) → U2_ggg(T14, X42, X58, X55, app24_in_ggaa(T14, X55, X53, X54))
app24_in_ggaa(T14, cons(X58, X55), X37, X38) → U1_ggaa(T14, X58, X55, X37, X38, app24_in_ggaa(T14, X55, X53, X54))
U1_ggaa(T14, X58, X55, X37, X38, app24_out_ggaa(T14, X55, X53, X54)) → app24_out_ggaa(T14, cons(X58, X55), X37, X38)
U2_ggg(T14, X42, X58, X55, app24_out_ggaa(T14, X55, X53, X54)) → app10_out_ggg([], T14, cons(X42, cons(X58, X55)))
app10_in_ggg(.(T17, T18), T13, cons(T17, X39)) → U3_ggg(T17, T18, T13, X39, app10_in_ggg(T18, T13, X39))
U3_ggg(T17, T18, T13, X39, app10_out_ggg(T18, T13, X39)) → app10_out_ggg(.(T17, T18), T13, cons(T17, X39))
U20_gg(T5, T6, T7, T8, app10_out_ggg(T5, T6, nil)) → U21_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, cons(T22, T23)))
U21_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, cons(T22, T23))) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U22_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, cons(T28, T29)))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U23_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T30, T31)))
U23_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T30, T31))) → U24_gg(T5, T6, T7, T8, app60_in_aaa(T28, T29, X98))
app60_in_aaa(nil, T37, T37) → app60_out_aaa(nil, T37, T37)
app60_in_aaa([], T44, cons(X120, cons(X136, X133))) → U7_aaa(T44, X120, X136, X133, app75_in_aa(T44, X133))
app75_in_aa(T44, cons(X136, X133)) → U6_aa(T44, X136, X133, app75_in_aa(T44, X133))
U6_aa(T44, X136, X133, app75_out_aa(T44, X133)) → app75_out_aa(T44, cons(X136, X133))
U7_aaa(T44, X120, X136, X133, app75_out_aa(T44, X133)) → app60_out_aaa([], T44, cons(X120, cons(X136, X133)))
app60_in_aaa(.(T50, T52), T53, cons(T50, X117)) → U8_aaa(T50, T52, T53, X117, app60_in_aaa(T52, T53, X117))
app60_in_aaa(.(T59, T61), T62, cons(T59, X117)) → U9_aaa(T59, T61, T62, X117, app60_in_aaa(T61, T62, X117))
U9_aaa(T59, T61, T62, X117, app60_out_aaa(T61, T62, X117)) → app60_out_aaa(.(T59, T61), T62, cons(T59, X117))
U8_aaa(T50, T52, T53, X117, app60_out_aaa(T52, T53, X117)) → app60_out_aaa(.(T50, T52), T53, cons(T50, X117))
U24_gg(T5, T6, T7, T8, app60_out_aaa(T28, T29, X98)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U25_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T33, T34)))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U26_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T32))
U26_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T32)) → U27_gg(T5, T6, T7, T8, app60_in_aaa(T33, T34, X99))
U27_gg(T5, T6, T7, T8, app60_out_aaa(T33, T34, X99)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U28_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T64))
U28_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T64)) → U29_gg(T5, T6, T7, T8, T64, app60_in_aaa(T33, T34, T63))
U29_gg(T5, T6, T7, T8, T64, app60_out_aaa(T33, T34, T63)) → U30_gg(T5, T6, T7, T8, lessleaves42_in_aa(T64, T63))
lessleaves42_in_aa(nil, cons(T22, T23)) → lessleaves42_out_aa(nil, cons(T22, T23))
lessleaves42_in_aa(cons(T28, T29), cons(T30, T31)) → U10_aa(T28, T29, T30, T31, app60_in_aaa(T28, T29, X98))
U10_aa(T28, T29, T30, T31, app60_out_aaa(T28, T29, X98)) → lessleaves42_out_aa(cons(T28, T29), cons(T30, T31))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U11_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T32))
U11_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T32)) → U12_aa(T28, T29, T33, T34, app60_in_aaa(T33, T34, X99))
U12_aa(T28, T29, T33, T34, app60_out_aaa(T33, T34, X99)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U13_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T64))
U13_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T64)) → U14_aa(T28, T29, T33, T34, T64, app60_in_aaa(T33, T34, T63))
U14_aa(T28, T29, T33, T34, T64, app60_out_aaa(T33, T34, T63)) → U15_aa(T28, T29, T33, T34, lessleaves42_in_aa(T64, T63))
U15_aa(T28, T29, T33, T34, lessleaves42_out_aa(T64, T63)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
U30_gg(T5, T6, T7, T8, lessleaves42_out_aa(T64, T63)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
APP24_IN_GAAA(T14, cons(X58, X55), X37, X38) → APP24_IN_GAAA(T14, X55, X53, X54)
APP24_IN_GAAA(T14) → APP24_IN_GAAA(T14)
APP10_IN_GGA(.(T17, T18), T13, cons(T17, X39)) → APP10_IN_GGA(T18, T13, X39)
lessleaves1_in_gg(nil, cons(T3, T4)) → lessleaves1_out_gg(nil, cons(T3, T4))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U17_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, X20))
app10_in_gga(nil, T11, T11) → app10_out_gga(nil, T11, T11)
app10_in_gga([], T14, cons(X42, cons(X58, X55))) → U2_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
app24_in_gaaa(T14, cons(X58, X55), X37, X38) → U1_gaaa(T14, X58, X55, X37, X38, app24_in_gaaa(T14, X55, X53, X54))
U1_gaaa(T14, X58, X55, X37, X38, app24_out_gaaa(T14, X55, X53, X54)) → app24_out_gaaa(T14, cons(X58, X55), X37, X38)
U2_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app10_out_gga([], T14, cons(X42, cons(X58, X55)))
app10_in_gga(.(T17, T18), T13, cons(T17, X39)) → U3_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U3_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app10_out_gga(.(T17, T18), T13, cons(T17, X39))
U17_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, X20)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U18_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, T9))
U18_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, T9)) → U19_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, X21))
app41_in_gga(nil, T21, T21) → app41_out_gga(nil, T21, T21)
app41_in_gga(T7, T8, X21) → U16_gga(T7, T8, X21, app14_in_gga(T7, T8, X21))
app14_in_gga([], T14, cons(X42, cons(X58, X55))) → U4_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
U4_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app14_out_gga([], T14, cons(X42, cons(X58, X55)))
app14_in_gga(.(T17, T18), T13, cons(T17, X39)) → U5_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U5_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app14_out_gga(.(T17, T18), T13, cons(T17, X39))
U16_gga(T7, T8, X21, app14_out_gga(T7, T8, X21)) → app41_out_gga(T7, T8, X21)
U19_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, X21)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U20_gg(T5, T6, T7, T8, app10_in_ggg(T5, T6, nil))
app10_in_ggg(nil, T11, T11) → app10_out_ggg(nil, T11, T11)
app10_in_ggg([], T14, cons(X42, cons(X58, X55))) → U2_ggg(T14, X42, X58, X55, app24_in_ggaa(T14, X55, X53, X54))
app24_in_ggaa(T14, cons(X58, X55), X37, X38) → U1_ggaa(T14, X58, X55, X37, X38, app24_in_ggaa(T14, X55, X53, X54))
U1_ggaa(T14, X58, X55, X37, X38, app24_out_ggaa(T14, X55, X53, X54)) → app24_out_ggaa(T14, cons(X58, X55), X37, X38)
U2_ggg(T14, X42, X58, X55, app24_out_ggaa(T14, X55, X53, X54)) → app10_out_ggg([], T14, cons(X42, cons(X58, X55)))
app10_in_ggg(.(T17, T18), T13, cons(T17, X39)) → U3_ggg(T17, T18, T13, X39, app10_in_ggg(T18, T13, X39))
U3_ggg(T17, T18, T13, X39, app10_out_ggg(T18, T13, X39)) → app10_out_ggg(.(T17, T18), T13, cons(T17, X39))
U20_gg(T5, T6, T7, T8, app10_out_ggg(T5, T6, nil)) → U21_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, cons(T22, T23)))
U21_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, cons(T22, T23))) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U22_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, cons(T28, T29)))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U23_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T30, T31)))
U23_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T30, T31))) → U24_gg(T5, T6, T7, T8, app60_in_aaa(T28, T29, X98))
app60_in_aaa(nil, T37, T37) → app60_out_aaa(nil, T37, T37)
app60_in_aaa([], T44, cons(X120, cons(X136, X133))) → U7_aaa(T44, X120, X136, X133, app75_in_aa(T44, X133))
app75_in_aa(T44, cons(X136, X133)) → U6_aa(T44, X136, X133, app75_in_aa(T44, X133))
U6_aa(T44, X136, X133, app75_out_aa(T44, X133)) → app75_out_aa(T44, cons(X136, X133))
U7_aaa(T44, X120, X136, X133, app75_out_aa(T44, X133)) → app60_out_aaa([], T44, cons(X120, cons(X136, X133)))
app60_in_aaa(.(T50, T52), T53, cons(T50, X117)) → U8_aaa(T50, T52, T53, X117, app60_in_aaa(T52, T53, X117))
app60_in_aaa(.(T59, T61), T62, cons(T59, X117)) → U9_aaa(T59, T61, T62, X117, app60_in_aaa(T61, T62, X117))
U9_aaa(T59, T61, T62, X117, app60_out_aaa(T61, T62, X117)) → app60_out_aaa(.(T59, T61), T62, cons(T59, X117))
U8_aaa(T50, T52, T53, X117, app60_out_aaa(T52, T53, X117)) → app60_out_aaa(.(T50, T52), T53, cons(T50, X117))
U24_gg(T5, T6, T7, T8, app60_out_aaa(T28, T29, X98)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U25_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T33, T34)))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U26_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T32))
U26_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T32)) → U27_gg(T5, T6, T7, T8, app60_in_aaa(T33, T34, X99))
U27_gg(T5, T6, T7, T8, app60_out_aaa(T33, T34, X99)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U28_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T64))
U28_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T64)) → U29_gg(T5, T6, T7, T8, T64, app60_in_aaa(T33, T34, T63))
U29_gg(T5, T6, T7, T8, T64, app60_out_aaa(T33, T34, T63)) → U30_gg(T5, T6, T7, T8, lessleaves42_in_aa(T64, T63))
lessleaves42_in_aa(nil, cons(T22, T23)) → lessleaves42_out_aa(nil, cons(T22, T23))
lessleaves42_in_aa(cons(T28, T29), cons(T30, T31)) → U10_aa(T28, T29, T30, T31, app60_in_aaa(T28, T29, X98))
U10_aa(T28, T29, T30, T31, app60_out_aaa(T28, T29, X98)) → lessleaves42_out_aa(cons(T28, T29), cons(T30, T31))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U11_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T32))
U11_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T32)) → U12_aa(T28, T29, T33, T34, app60_in_aaa(T33, T34, X99))
U12_aa(T28, T29, T33, T34, app60_out_aaa(T33, T34, X99)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U13_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T64))
U13_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T64)) → U14_aa(T28, T29, T33, T34, T64, app60_in_aaa(T33, T34, T63))
U14_aa(T28, T29, T33, T34, T64, app60_out_aaa(T33, T34, T63)) → U15_aa(T28, T29, T33, T34, lessleaves42_in_aa(T64, T63))
U15_aa(T28, T29, T33, T34, lessleaves42_out_aa(T64, T63)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
U30_gg(T5, T6, T7, T8, lessleaves42_out_aa(T64, T63)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
APP10_IN_GGA(.(T17, T18), T13, cons(T17, X39)) → APP10_IN_GGA(T18, T13, X39)
APP10_IN_GGA(.(T17, T18), T13) → APP10_IN_GGA(T18, T13)
From the DPs we obtained the following set of size-change graphs: