(0) Obligation:

Clauses:

qs(.(X, Xs), Ys) :- ','(part(X, Xs, Littles, Bigs), ','(qs(Littles, Ls), ','(qs(Bigs, Bs), app(Ls, .(X, Bs), Ys)))).
qs([], []).
part(X, .(Y, Xs), .(Y, Ls), Bs) :- ','(gt(X, Y), part(X, Xs, Ls, Bs)).
part(X, .(Y, Xs), Ls, .(Y, Bs)) :- ','(le(X, Y), part(X, Xs, Ls, Bs)).
part(X, [], [], []).
app(.(X, Xs), Ys, .(X, Zs)) :- app(Xs, Ys, Zs).
app([], Ys, Ys).
gt(s(X), s(Y)) :- gt(X, Y).
gt(s(0), 0).
le(s(X), s(Y)) :- le(X, Y).
le(0, s(X)).
le(0, 0).

Queries:

qs(a,g).

(1) PrologToPrologProblemTransformerProof (SOUND transformation)

Built Prolog problem from termination graph.

(2) Obligation:

Clauses:

gt10(s(T46), s(T47)) :- gt10(T46, T47).
gt10(s(0), 0).
part20(T70, .(T73, T74), .(T73, X119), X120) :- gt10(T70, T73).
part20(T70, .(T73, T77), .(T73, X119), X120) :- ','(gt10(T70, T73), part20(T70, T77, X119, X120)).
part20(T95, .(T98, T99), X170, .(T98, X171)) :- le33(T95, T98).
part20(T95, .(T98, T102), X170, .(T98, X171)) :- ','(le33(T95, T98), part20(T95, T102, X170, X171)).
part20(T128, [], [], []).
le33(s(T113), s(T115)) :- le33(T113, T115).
le33(0, s(T122)).
le33(0, 0).
p56(T148, T149, X269, X270, X271, X272, X273) :- part20(T148, T149, X269, X270).
p56(T148, T149, T153, T154, X271, X272, X273) :- ','(part20(T148, T149, T153, T154), qs59(T153, X271)).
p56(T148, T149, T153, T154, T160, X272, X273) :- ','(part20(T148, T149, T153, T154), ','(qs59(T153, T160), qs59(T154, X272))).
p56(T148, T149, T153, T154, T160, T178, X273) :- ','(part20(T148, T149, T153, T154), ','(qs59(T153, T160), ','(qs59(T154, T178), app70(T160, T148, T178, X273)))).
qs59(.(T171, T172), X335) :- p56(T171, T172, X331, X332, X333, X334, X335).
qs59([], []).
app70(.(T201, T202), T203, T204, .(T201, X391)) :- app70(T202, T203, T204, X391).
app70([], T213, T214, .(T213, T214)).
le100(s(T302), s(T303)) :- le100(T302, T303).
le100(0, s(T310)).
le100(0, 0).
qs80(.(T230, T231), X452) :- part87(T230, T231, X448, X449).
qs80(.(T237, T231), X452) :- ','(part87(T237, T231, T235, T236), qs80(T235, X450)).
qs80(.(T237, T231), X452) :- ','(part87(T237, T231, T235, T236), ','(qs80(T235, T319), qs80(T236, X451))).
qs80(.(T325, T231), X452) :- ','(part87(T325, T231, T235, T236), ','(qs80(T235, T319), ','(qs80(T236, T324), app121(T319, T325, T324, X452)))).
qs80([], []).
app121(.(T348, T349), T352, T353, .(T348, X657)) :- app121(T349, T352, T353, X657).
app121([], T362, T363, .(T362, T363)).
app81(.(T389, T390), T391, T394, .(T389, T393)) :- app81(T390, T391, T394, T393).
app81([], T404, T405, .(T404, T405)).
p52(T54, X10, T131, T31, T8) :- qs80(T54, X10).
p52(T54, T217, T131, T31, T8) :- ','(qs80(T54, T217), app81(T131, T31, T217, T8)).
qs155([]).
app162(.(T486, T487), T491, T489, .(T486, T490)) :- app162(T487, T491, T489, T490).
app162([], T501, T502, .(T501, T502)).
qs51(T148, T149, X273) :- p56(T148, T149, X269, X270, X271, X272, X273).
part87(T256, .(T257, T258), .(T257, X503), X504) :- gt10(T256, T257).
part87(T261, .(T257, T262), .(T257, X503), X504) :- ','(gt10(T261, T257), part20(T261, T262, X503, X504)).
part87(T283, .(T284, T285), X554, .(T284, X555)) :- le100(T283, T284).
part87(T288, .(T284, T289), X554, .(T284, X555)) :- ','(le100(T288, T284), part20(T288, T289, X554, X555)).
part87(T316, [], [], []).
qs1(.(T26, .(T27, T28)), T8) :- gt10(T26, T27).
qs1(.(T31, .(T33, T32)), T8) :- ','(gt10(T31, T33), part20(T31, T32, X47, X48)).
qs1(.(T31, .(T33, T32)), T8) :- ','(gt10(T31, T33), ','(part20(T31, T32, T53, T54), qs51(T33, T53, X9))).
qs1(.(T31, .(T33, T32)), T8) :- ','(gt10(T31, T33), ','(part20(T31, T32, T53, T54), ','(qs51(T33, T53, T131), p52(T54, X10, T131, T31, T8)))).
qs1(.(T421, .(T422, T423)), T8) :- le100(T421, T422).
qs1(.(T426, .(T428, T427)), T8) :- ','(le100(T426, T428), part20(T426, T427, X740, X741)).
qs1(.(T426, .(T436, T427)), T8) :- ','(le100(T426, T436), ','(part20(T426, T427, T434, T435), qs80(T434, X9))).
qs1(.(T426, .(T436, T427)), T8) :- ','(le100(T426, T436), ','(part20(T426, T427, T434, T435), ','(qs80(T434, T442), p52(.(T436, T435), X10, T442, T426, T8)))).
qs1(.(T452, []), T8) :- qs155(X9).
qs1(.(T452, []), T8) :- ','(qs155(T455), qs155(X10)).
qs1(.(T452, []), T8) :- ','(qs155(T455), ','(qs155(T460), app162(T455, T452, T460, T8))).
qs1([], []).
qs1([], []).

Queries:

qs1(a,g).

(3) PrologToPiTRSProof (SOUND transformation)

We use the technique of [LOPSTR]. With regard to the inferred argument filtering the predicates were used in the following modes:
qs1_in: (f,b)
gt10_in: (f,f) (b,f)
part20_in: (b,f,f,f) (f,f,f,f)
le33_in: (b,f) (f,f)
qs51_in: (b,f,f)
p56_in: (b,f,f,f,f,f,f) (f,f,f,f,f,f,f)
qs59_in: (f,f)
app70_in: (f,f,f,f) (f,b,f,f)
p52_in: (f,f,f,b,b)
qs80_in: (f,f)
part87_in: (f,f,f,f)
le100_in: (f,f)
app121_in: (f,f,f,f)
app81_in: (f,b,f,b)
app162_in: (b,f,b,b)
Transforming Prolog into the following Term Rewriting System:
Pi-finite rewrite system:
The TRS R consists of the following rules:

qs1_in_ag(.(T26, .(T27, T28)), T8) → U44_ag(T26, T27, T28, T8, gt10_in_aa(T26, T27))
gt10_in_aa(s(T46), s(T47)) → U1_aa(T46, T47, gt10_in_aa(T46, T47))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U1_aa(T46, T47, gt10_out_aa(T46, T47)) → gt10_out_aa(s(T46), s(T47))
U44_ag(T26, T27, T28, T8, gt10_out_aa(T26, T27)) → qs1_out_ag(.(T26, .(T27, T28)), T8)
qs1_in_ag(.(T31, .(T33, T32)), T8) → U45_ag(T31, T33, T32, T8, gt10_in_aa(T31, T33))
U45_ag(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U46_ag(T31, T33, T32, T8, part20_in_gaaa(T31, T32, X47, X48))
part20_in_gaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_gaaa(T70, T73, T74, X119, X120, gt10_in_ga(T70, T73))
gt10_in_ga(s(T46), s(T47)) → U1_ga(T46, T47, gt10_in_ga(T46, T47))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U1_ga(T46, T47, gt10_out_ga(T46, T47)) → gt10_out_ga(s(T46), s(T47))
U2_gaaa(T70, T73, T74, X119, X120, gt10_out_ga(T70, T73)) → part20_out_gaaa(T70, .(T73, T74), .(T73, X119), X120)
part20_in_gaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_gaaa(T70, T73, T77, X119, X120, gt10_in_ga(T70, T73))
U3_gaaa(T70, T73, T77, X119, X120, gt10_out_ga(T70, T73)) → U4_gaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
part20_in_gaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_gaaa(T95, T98, T99, X170, X171, le33_in_ga(T95, T98))
le33_in_ga(s(T113), s(T115)) → U8_ga(T113, T115, le33_in_ga(T113, T115))
le33_in_ga(0, s(T122)) → le33_out_ga(0, s(T122))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U8_ga(T113, T115, le33_out_ga(T113, T115)) → le33_out_ga(s(T113), s(T115))
U5_gaaa(T95, T98, T99, X170, X171, le33_out_ga(T95, T98)) → part20_out_gaaa(T95, .(T98, T99), X170, .(T98, X171))
part20_in_gaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_gaaa(T95, T98, T102, X170, X171, le33_in_ga(T95, T98))
U6_gaaa(T95, T98, T102, X170, X171, le33_out_ga(T95, T98)) → U7_gaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
part20_in_gaaa(T128, [], [], []) → part20_out_gaaa(T128, [], [], [])
U7_gaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_gaaa(T95, .(T98, T102), X170, .(T98, X171))
U4_gaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_gaaa(T70, .(T73, T77), .(T73, X119), X120)
U46_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, X47, X48)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
U45_ag(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U47_ag(T31, T33, T32, T8, part20_in_gaaa(T31, T32, T53, T54))
U47_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U48_ag(T31, T33, T32, T8, qs51_in_gaa(T33, T53, X9))
qs51_in_gaa(T148, T149, X273) → U37_gaa(T148, T149, X273, p56_in_gaaaaaa(T148, T149, X269, X270, X271, X272, X273))
p56_in_gaaaaaa(T148, T149, X269, X270, X271, X272, X273) → U9_gaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_in_gaaa(T148, T149, X269, X270))
U9_gaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_out_gaaa(T148, T149, X269, X270)) → p56_out_gaaaaaa(T148, T149, X269, X270, X271, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, X271, X272, X273) → U10_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U10_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U11_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
qs59_in_aa(.(T171, T172), X335) → U19_aa(T171, T172, X335, p56_in_aaaaaaa(T171, T172, X331, X332, X333, X334, X335))
p56_in_aaaaaaa(T148, T149, X269, X270, X271, X272, X273) → U9_aaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_in_aaaa(T148, T149, X269, X270))
part20_in_aaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_aaaa(T70, T73, T74, X119, X120, gt10_in_aa(T70, T73))
U2_aaaa(T70, T73, T74, X119, X120, gt10_out_aa(T70, T73)) → part20_out_aaaa(T70, .(T73, T74), .(T73, X119), X120)
part20_in_aaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_aaaa(T70, T73, T77, X119, X120, gt10_in_aa(T70, T73))
U3_aaaa(T70, T73, T77, X119, X120, gt10_out_aa(T70, T73)) → U4_aaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
U4_aaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_aaaa(T70, .(T73, T77), .(T73, X119), X120)
part20_in_aaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_aaaa(T95, T98, T99, X170, X171, le33_in_aa(T95, T98))
le33_in_aa(s(T113), s(T115)) → U8_aa(T113, T115, le33_in_aa(T113, T115))
le33_in_aa(0, s(T122)) → le33_out_aa(0, s(T122))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U8_aa(T113, T115, le33_out_aa(T113, T115)) → le33_out_aa(s(T113), s(T115))
U5_aaaa(T95, T98, T99, X170, X171, le33_out_aa(T95, T98)) → part20_out_aaaa(T95, .(T98, T99), X170, .(T98, X171))
part20_in_aaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_aaaa(T95, T98, T102, X170, X171, le33_in_aa(T95, T98))
U6_aaaa(T95, T98, T102, X170, X171, le33_out_aa(T95, T98)) → U7_aaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
U7_aaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_aaaa(T95, .(T98, T102), X170, .(T98, X171))
part20_in_aaaa(T128, [], [], []) → part20_out_aaaa(T128, [], [], [])
U9_aaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_out_aaaa(T148, T149, X269, X270)) → p56_out_aaaaaaa(T148, T149, X269, X270, X271, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, X271, X272, X273) → U10_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U10_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U11_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
qs59_in_aa([], []) → qs59_out_aa([], [])
U11_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_out_aa(T153, X271)) → p56_out_aaaaaaa(T148, T149, T153, T154, X271, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, T160, X272, X273) → U12_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U12_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U13_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U13_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U14_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T154, X272)) → p56_out_aaaaaaa(T148, T149, T153, T154, T160, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, T160, T178, X273) → U15_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_in_aaaa(T148, T149, T153, T154))
U15_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_out_aaaa(T148, T149, T153, T154)) → U16_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U16_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U17_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_in_aaaa(T160, T148, T178, X273))
app70_in_aaaa(.(T201, T202), T203, T204, .(T201, X391)) → U20_aaaa(T201, T202, T203, T204, X391, app70_in_aaaa(T202, T203, T204, X391))
app70_in_aaaa([], T213, T214, .(T213, T214)) → app70_out_aaaa([], T213, T214, .(T213, T214))
U20_aaaa(T201, T202, T203, T204, X391, app70_out_aaaa(T202, T203, T204, X391)) → app70_out_aaaa(.(T201, T202), T203, T204, .(T201, X391))
U18_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_out_aaaa(T160, T148, T178, X273)) → p56_out_aaaaaaa(T148, T149, T153, T154, T160, T178, X273)
U19_aa(T171, T172, X335, p56_out_aaaaaaa(T171, T172, X331, X332, X333, X334, X335)) → qs59_out_aa(.(T171, T172), X335)
U11_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_out_aa(T153, X271)) → p56_out_gaaaaaa(T148, T149, T153, T154, X271, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, T160, X272, X273) → U12_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U12_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U13_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U13_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U14_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T154, X272)) → p56_out_gaaaaaa(T148, T149, T153, T154, T160, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, T160, T178, X273) → U15_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_in_gaaa(T148, T149, T153, T154))
U15_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_out_gaaa(T148, T149, T153, T154)) → U16_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U16_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U17_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_in_agaa(T160, T148, T178, X273))
app70_in_agaa(.(T201, T202), T203, T204, .(T201, X391)) → U20_agaa(T201, T202, T203, T204, X391, app70_in_agaa(T202, T203, T204, X391))
app70_in_agaa([], T213, T214, .(T213, T214)) → app70_out_agaa([], T213, T214, .(T213, T214))
U20_agaa(T201, T202, T203, T204, X391, app70_out_agaa(T202, T203, T204, X391)) → app70_out_agaa(.(T201, T202), T203, T204, .(T201, X391))
U18_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_out_agaa(T160, T148, T178, X273)) → p56_out_gaaaaaa(T148, T149, T153, T154, T160, T178, X273)
U37_gaa(T148, T149, X273, p56_out_gaaaaaa(T148, T149, X269, X270, X271, X272, X273)) → qs51_out_gaa(T148, T149, X273)
U48_ag(T31, T33, T32, T8, qs51_out_gaa(T33, T53, X9)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
U47_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U49_ag(T31, T33, T32, T8, T54, qs51_in_gaa(T33, T53, T131))
U49_ag(T31, T33, T32, T8, T54, qs51_out_gaa(T33, T53, T131)) → U50_ag(T31, T33, T32, T8, p52_in_aaagg(T54, X10, T131, T31, T8))
p52_in_aaagg(T54, X10, T131, T31, T8) → U33_aaagg(T54, X10, T131, T31, T8, qs80_in_aa(T54, X10))
qs80_in_aa(.(T230, T231), X452) → U22_aa(T230, T231, X452, part87_in_aaaa(T230, T231, X448, X449))
part87_in_aaaa(T256, .(T257, T258), .(T257, X503), X504) → U38_aaaa(T256, T257, T258, X503, X504, gt10_in_aa(T256, T257))
U38_aaaa(T256, T257, T258, X503, X504, gt10_out_aa(T256, T257)) → part87_out_aaaa(T256, .(T257, T258), .(T257, X503), X504)
part87_in_aaaa(T261, .(T257, T262), .(T257, X503), X504) → U39_aaaa(T261, T257, T262, X503, X504, gt10_in_aa(T261, T257))
U39_aaaa(T261, T257, T262, X503, X504, gt10_out_aa(T261, T257)) → U40_aaaa(T261, T257, T262, X503, X504, part20_in_gaaa(T261, T262, X503, X504))
U40_aaaa(T261, T257, T262, X503, X504, part20_out_gaaa(T261, T262, X503, X504)) → part87_out_aaaa(T261, .(T257, T262), .(T257, X503), X504)
part87_in_aaaa(T283, .(T284, T285), X554, .(T284, X555)) → U41_aaaa(T283, T284, T285, X554, X555, le100_in_aa(T283, T284))
le100_in_aa(s(T302), s(T303)) → U21_aa(T302, T303, le100_in_aa(T302, T303))
le100_in_aa(0, s(T310)) → le100_out_aa(0, s(T310))
le100_in_aa(0, 0) → le100_out_aa(0, 0)
U21_aa(T302, T303, le100_out_aa(T302, T303)) → le100_out_aa(s(T302), s(T303))
U41_aaaa(T283, T284, T285, X554, X555, le100_out_aa(T283, T284)) → part87_out_aaaa(T283, .(T284, T285), X554, .(T284, X555))
part87_in_aaaa(T288, .(T284, T289), X554, .(T284, X555)) → U42_aaaa(T288, T284, T289, X554, X555, le100_in_aa(T288, T284))
U42_aaaa(T288, T284, T289, X554, X555, le100_out_aa(T288, T284)) → U43_aaaa(T288, T284, T289, X554, X555, part20_in_gaaa(T288, T289, X554, X555))
U43_aaaa(T288, T284, T289, X554, X555, part20_out_gaaa(T288, T289, X554, X555)) → part87_out_aaaa(T288, .(T284, T289), X554, .(T284, X555))
part87_in_aaaa(T316, [], [], []) → part87_out_aaaa(T316, [], [], [])
U22_aa(T230, T231, X452, part87_out_aaaa(T230, T231, X448, X449)) → qs80_out_aa(.(T230, T231), X452)
qs80_in_aa(.(T237, T231), X452) → U23_aa(T237, T231, X452, part87_in_aaaa(T237, T231, T235, T236))
U23_aa(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U24_aa(T237, T231, X452, qs80_in_aa(T235, X450))
qs80_in_aa(.(T325, T231), X452) → U27_aa(T325, T231, X452, part87_in_aaaa(T325, T231, T235, T236))
U27_aa(T325, T231, X452, part87_out_aaaa(T325, T231, T235, T236)) → U28_aa(T325, T231, X452, T236, qs80_in_aa(T235, T319))
qs80_in_aa([], []) → qs80_out_aa([], [])
U28_aa(T325, T231, X452, T236, qs80_out_aa(T235, T319)) → U29_aa(T325, T231, X452, T319, qs80_in_aa(T236, T324))
U29_aa(T325, T231, X452, T319, qs80_out_aa(T236, T324)) → U30_aa(T325, T231, X452, app121_in_aaaa(T319, T325, T324, X452))
app121_in_aaaa(.(T348, T349), T352, T353, .(T348, X657)) → U31_aaaa(T348, T349, T352, T353, X657, app121_in_aaaa(T349, T352, T353, X657))
app121_in_aaaa([], T362, T363, .(T362, T363)) → app121_out_aaaa([], T362, T363, .(T362, T363))
U31_aaaa(T348, T349, T352, T353, X657, app121_out_aaaa(T349, T352, T353, X657)) → app121_out_aaaa(.(T348, T349), T352, T353, .(T348, X657))
U30_aa(T325, T231, X452, app121_out_aaaa(T319, T325, T324, X452)) → qs80_out_aa(.(T325, T231), X452)
U24_aa(T237, T231, X452, qs80_out_aa(T235, X450)) → qs80_out_aa(.(T237, T231), X452)
U23_aa(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U25_aa(T237, T231, X452, T236, qs80_in_aa(T235, T319))
U25_aa(T237, T231, X452, T236, qs80_out_aa(T235, T319)) → U26_aa(T237, T231, X452, qs80_in_aa(T236, X451))
U26_aa(T237, T231, X452, qs80_out_aa(T236, X451)) → qs80_out_aa(.(T237, T231), X452)
U33_aaagg(T54, X10, T131, T31, T8, qs80_out_aa(T54, X10)) → p52_out_aaagg(T54, X10, T131, T31, T8)
p52_in_aaagg(T54, T217, T131, T31, T8) → U34_aaagg(T54, T217, T131, T31, T8, qs80_in_aa(T54, T217))
U34_aaagg(T54, T217, T131, T31, T8, qs80_out_aa(T54, T217)) → U35_aaagg(T54, T217, T131, T31, T8, app81_in_agag(T131, T31, T217, T8))
app81_in_agag(.(T389, T390), T391, T394, .(T389, T393)) → U32_agag(T389, T390, T391, T394, T393, app81_in_agag(T390, T391, T394, T393))
app81_in_agag([], T404, T405, .(T404, T405)) → app81_out_agag([], T404, T405, .(T404, T405))
U32_agag(T389, T390, T391, T394, T393, app81_out_agag(T390, T391, T394, T393)) → app81_out_agag(.(T389, T390), T391, T394, .(T389, T393))
U35_aaagg(T54, T217, T131, T31, T8, app81_out_agag(T131, T31, T217, T8)) → p52_out_aaagg(T54, T217, T131, T31, T8)
U50_ag(T31, T33, T32, T8, p52_out_aaagg(T54, X10, T131, T31, T8)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
qs1_in_ag(.(T421, .(T422, T423)), T8) → U51_ag(T421, T422, T423, T8, le100_in_aa(T421, T422))
U51_ag(T421, T422, T423, T8, le100_out_aa(T421, T422)) → qs1_out_ag(.(T421, .(T422, T423)), T8)
qs1_in_ag(.(T426, .(T428, T427)), T8) → U52_ag(T426, T428, T427, T8, le100_in_aa(T426, T428))
U52_ag(T426, T428, T427, T8, le100_out_aa(T426, T428)) → U53_ag(T426, T428, T427, T8, part20_in_gaaa(T426, T427, X740, X741))
U53_ag(T426, T428, T427, T8, part20_out_gaaa(T426, T427, X740, X741)) → qs1_out_ag(.(T426, .(T428, T427)), T8)
qs1_in_ag(.(T426, .(T436, T427)), T8) → U54_ag(T426, T436, T427, T8, le100_in_aa(T426, T436))
U54_ag(T426, T436, T427, T8, le100_out_aa(T426, T436)) → U55_ag(T426, T436, T427, T8, part20_in_gaaa(T426, T427, T434, T435))
U55_ag(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U56_ag(T426, T436, T427, T8, qs80_in_aa(T434, X9))
U56_ag(T426, T436, T427, T8, qs80_out_aa(T434, X9)) → qs1_out_ag(.(T426, .(T436, T427)), T8)
U55_ag(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U57_ag(T426, T436, T427, T8, T435, qs80_in_aa(T434, T442))
U57_ag(T426, T436, T427, T8, T435, qs80_out_aa(T434, T442)) → U58_ag(T426, T436, T427, T8, p52_in_aaagg(.(T436, T435), X10, T442, T426, T8))
U58_ag(T426, T436, T427, T8, p52_out_aaagg(.(T436, T435), X10, T442, T426, T8)) → qs1_out_ag(.(T426, .(T436, T427)), T8)
qs1_in_ag(.(T452, []), T8) → U59_ag(T452, T8, qs155_in_a(X9))
qs155_in_a([]) → qs155_out_a([])
U59_ag(T452, T8, qs155_out_a(X9)) → qs1_out_ag(.(T452, []), T8)
qs1_in_ag(.(T452, []), T8) → U60_ag(T452, T8, qs155_in_a(T455))
U60_ag(T452, T8, qs155_out_a(T455)) → U61_ag(T452, T8, qs155_in_a(X10))
U61_ag(T452, T8, qs155_out_a(X10)) → qs1_out_ag(.(T452, []), T8)
U60_ag(T452, T8, qs155_out_a(T455)) → U62_ag(T452, T8, T455, qs155_in_a(T460))
U62_ag(T452, T8, T455, qs155_out_a(T460)) → U63_ag(T452, T8, app162_in_gagg(T455, T452, T460, T8))
app162_in_gagg(.(T486, T487), T491, T489, .(T486, T490)) → U36_gagg(T486, T487, T491, T489, T490, app162_in_gagg(T487, T491, T489, T490))
app162_in_gagg([], T501, T502, .(T501, T502)) → app162_out_gagg([], T501, T502, .(T501, T502))
U36_gagg(T486, T487, T491, T489, T490, app162_out_gagg(T487, T491, T489, T490)) → app162_out_gagg(.(T486, T487), T491, T489, .(T486, T490))
U63_ag(T452, T8, app162_out_gagg(T455, T452, T460, T8)) → qs1_out_ag(.(T452, []), T8)
qs1_in_ag([], []) → qs1_out_ag([], [])

The argument filtering Pi contains the following mapping:
qs1_in_ag(x1, x2)  =  qs1_in_ag(x2)
U44_ag(x1, x2, x3, x4, x5)  =  U44_ag(x4, x5)
gt10_in_aa(x1, x2)  =  gt10_in_aa
U1_aa(x1, x2, x3)  =  U1_aa(x3)
gt10_out_aa(x1, x2)  =  gt10_out_aa(x1, x2)
qs1_out_ag(x1, x2)  =  qs1_out_ag(x2)
U45_ag(x1, x2, x3, x4, x5)  =  U45_ag(x4, x5)
U46_ag(x1, x2, x3, x4, x5)  =  U46_ag(x4, x5)
part20_in_gaaa(x1, x2, x3, x4)  =  part20_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x1, x6)
gt10_in_ga(x1, x2)  =  gt10_in_ga(x1)
s(x1)  =  s(x1)
U1_ga(x1, x2, x3)  =  U1_ga(x1, x3)
0  =  0
gt10_out_ga(x1, x2)  =  gt10_out_ga(x1, x2)
part20_out_gaaa(x1, x2, x3, x4)  =  part20_out_gaaa(x1)
U3_gaaa(x1, x2, x3, x4, x5, x6)  =  U3_gaaa(x1, x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x1, x6)
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x1, x6)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U8_ga(x1, x2, x3)  =  U8_ga(x1, x3)
le33_out_ga(x1, x2)  =  le33_out_ga(x1)
U6_gaaa(x1, x2, x3, x4, x5, x6)  =  U6_gaaa(x1, x6)
U7_gaaa(x1, x2, x3, x4, x5, x6)  =  U7_gaaa(x1, x6)
U47_ag(x1, x2, x3, x4, x5)  =  U47_ag(x1, x2, x4, x5)
U48_ag(x1, x2, x3, x4, x5)  =  U48_ag(x4, x5)
qs51_in_gaa(x1, x2, x3)  =  qs51_in_gaa(x1)
U37_gaa(x1, x2, x3, x4)  =  U37_gaa(x1, x4)
p56_in_gaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_in_gaaaaaa(x1)
U9_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_gaaaaaa(x1, x8)
p56_out_gaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_out_gaaaaaa(x1)
U10_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_gaaaaaa(x1, x8)
U11_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_gaaaaaa(x1, x8)
qs59_in_aa(x1, x2)  =  qs59_in_aa
U19_aa(x1, x2, x3, x4)  =  U19_aa(x4)
p56_in_aaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_in_aaaaaaa
U9_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_aaaaaaa(x8)
part20_in_aaaa(x1, x2, x3, x4)  =  part20_in_aaaa
U2_aaaa(x1, x2, x3, x4, x5, x6)  =  U2_aaaa(x6)
part20_out_aaaa(x1, x2, x3, x4)  =  part20_out_aaaa
U3_aaaa(x1, x2, x3, x4, x5, x6)  =  U3_aaaa(x6)
U4_aaaa(x1, x2, x3, x4, x5, x6)  =  U4_aaaa(x6)
U5_aaaa(x1, x2, x3, x4, x5, x6)  =  U5_aaaa(x6)
le33_in_aa(x1, x2)  =  le33_in_aa
U8_aa(x1, x2, x3)  =  U8_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
U6_aaaa(x1, x2, x3, x4, x5, x6)  =  U6_aaaa(x6)
U7_aaaa(x1, x2, x3, x4, x5, x6)  =  U7_aaaa(x6)
p56_out_aaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_out_aaaaaaa
U10_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_aaaaaaa(x8)
U11_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_aaaaaaa(x8)
qs59_out_aa(x1, x2)  =  qs59_out_aa
U12_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_aaaaaaa(x8)
U13_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_aaaaaaa(x8)
U14_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_aaaaaaa(x8)
U15_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_aaaaaaa(x8)
U16_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_aaaaaaa(x8)
U17_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_aaaaaaa(x8)
U18_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_aaaaaaa(x8)
.(x1, x2)  =  .(x1, x2)
[]  =  []
app70_in_aaaa(x1, x2, x3, x4)  =  app70_in_aaaa
U20_aaaa(x1, x2, x3, x4, x5, x6)  =  U20_aaaa(x6)
app70_out_aaaa(x1, x2, x3, x4)  =  app70_out_aaaa
U12_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_gaaaaaa(x1, x8)
U13_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_gaaaaaa(x1, x8)
U14_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_gaaaaaa(x1, x8)
U15_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_gaaaaaa(x1, x8)
U16_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_gaaaaaa(x1, x8)
U17_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_gaaaaaa(x1, x8)
U18_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_gaaaaaa(x1, x8)
app70_in_agaa(x1, x2, x3, x4)  =  app70_in_agaa(x2)
U20_agaa(x1, x2, x3, x4, x5, x6)  =  U20_agaa(x3, x6)
app70_out_agaa(x1, x2, x3, x4)  =  app70_out_agaa(x2)
qs51_out_gaa(x1, x2, x3)  =  qs51_out_gaa(x1)
U49_ag(x1, x2, x3, x4, x5, x6)  =  U49_ag(x1, x4, x6)
U50_ag(x1, x2, x3, x4, x5)  =  U50_ag(x4, x5)
p52_in_aaagg(x1, x2, x3, x4, x5)  =  p52_in_aaagg(x4, x5)
U33_aaagg(x1, x2, x3, x4, x5, x6)  =  U33_aaagg(x4, x5, x6)
qs80_in_aa(x1, x2)  =  qs80_in_aa
U22_aa(x1, x2, x3, x4)  =  U22_aa(x4)
part87_in_aaaa(x1, x2, x3, x4)  =  part87_in_aaaa
U38_aaaa(x1, x2, x3, x4, x5, x6)  =  U38_aaaa(x6)
part87_out_aaaa(x1, x2, x3, x4)  =  part87_out_aaaa
U39_aaaa(x1, x2, x3, x4, x5, x6)  =  U39_aaaa(x6)
U40_aaaa(x1, x2, x3, x4, x5, x6)  =  U40_aaaa(x6)
U41_aaaa(x1, x2, x3, x4, x5, x6)  =  U41_aaaa(x6)
le100_in_aa(x1, x2)  =  le100_in_aa
U21_aa(x1, x2, x3)  =  U21_aa(x3)
le100_out_aa(x1, x2)  =  le100_out_aa(x1)
U42_aaaa(x1, x2, x3, x4, x5, x6)  =  U42_aaaa(x6)
U43_aaaa(x1, x2, x3, x4, x5, x6)  =  U43_aaaa(x6)
qs80_out_aa(x1, x2)  =  qs80_out_aa
U23_aa(x1, x2, x3, x4)  =  U23_aa(x4)
U24_aa(x1, x2, x3, x4)  =  U24_aa(x4)
U27_aa(x1, x2, x3, x4)  =  U27_aa(x4)
U28_aa(x1, x2, x3, x4, x5)  =  U28_aa(x5)
U29_aa(x1, x2, x3, x4, x5)  =  U29_aa(x5)
U30_aa(x1, x2, x3, x4)  =  U30_aa(x4)
app121_in_aaaa(x1, x2, x3, x4)  =  app121_in_aaaa
U31_aaaa(x1, x2, x3, x4, x5, x6)  =  U31_aaaa(x6)
app121_out_aaaa(x1, x2, x3, x4)  =  app121_out_aaaa
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
U26_aa(x1, x2, x3, x4)  =  U26_aa(x4)
p52_out_aaagg(x1, x2, x3, x4, x5)  =  p52_out_aaagg(x4, x5)
U34_aaagg(x1, x2, x3, x4, x5, x6)  =  U34_aaagg(x4, x5, x6)
U35_aaagg(x1, x2, x3, x4, x5, x6)  =  U35_aaagg(x4, x5, x6)
app81_in_agag(x1, x2, x3, x4)  =  app81_in_agag(x2, x4)
U32_agag(x1, x2, x3, x4, x5, x6)  =  U32_agag(x1, x3, x5, x6)
app81_out_agag(x1, x2, x3, x4)  =  app81_out_agag(x1, x2, x3, x4)
U51_ag(x1, x2, x3, x4, x5)  =  U51_ag(x4, x5)
U52_ag(x1, x2, x3, x4, x5)  =  U52_ag(x4, x5)
U53_ag(x1, x2, x3, x4, x5)  =  U53_ag(x4, x5)
U54_ag(x1, x2, x3, x4, x5)  =  U54_ag(x4, x5)
U55_ag(x1, x2, x3, x4, x5)  =  U55_ag(x1, x4, x5)
U56_ag(x1, x2, x3, x4, x5)  =  U56_ag(x4, x5)
U57_ag(x1, x2, x3, x4, x5, x6)  =  U57_ag(x1, x4, x6)
U58_ag(x1, x2, x3, x4, x5)  =  U58_ag(x4, x5)
U59_ag(x1, x2, x3)  =  U59_ag(x2, x3)
qs155_in_a(x1)  =  qs155_in_a
qs155_out_a(x1)  =  qs155_out_a(x1)
U60_ag(x1, x2, x3)  =  U60_ag(x2, x3)
U61_ag(x1, x2, x3)  =  U61_ag(x2, x3)
U62_ag(x1, x2, x3, x4)  =  U62_ag(x2, x3, x4)
U63_ag(x1, x2, x3)  =  U63_ag(x2, x3)
app162_in_gagg(x1, x2, x3, x4)  =  app162_in_gagg(x1, x3, x4)
U36_gagg(x1, x2, x3, x4, x5, x6)  =  U36_gagg(x1, x2, x4, x5, x6)
app162_out_gagg(x1, x2, x3, x4)  =  app162_out_gagg(x1, x2, x3, x4)

Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog

(4) Obligation:

Pi-finite rewrite system:
The TRS R consists of the following rules:

qs1_in_ag(.(T26, .(T27, T28)), T8) → U44_ag(T26, T27, T28, T8, gt10_in_aa(T26, T27))
gt10_in_aa(s(T46), s(T47)) → U1_aa(T46, T47, gt10_in_aa(T46, T47))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U1_aa(T46, T47, gt10_out_aa(T46, T47)) → gt10_out_aa(s(T46), s(T47))
U44_ag(T26, T27, T28, T8, gt10_out_aa(T26, T27)) → qs1_out_ag(.(T26, .(T27, T28)), T8)
qs1_in_ag(.(T31, .(T33, T32)), T8) → U45_ag(T31, T33, T32, T8, gt10_in_aa(T31, T33))
U45_ag(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U46_ag(T31, T33, T32, T8, part20_in_gaaa(T31, T32, X47, X48))
part20_in_gaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_gaaa(T70, T73, T74, X119, X120, gt10_in_ga(T70, T73))
gt10_in_ga(s(T46), s(T47)) → U1_ga(T46, T47, gt10_in_ga(T46, T47))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U1_ga(T46, T47, gt10_out_ga(T46, T47)) → gt10_out_ga(s(T46), s(T47))
U2_gaaa(T70, T73, T74, X119, X120, gt10_out_ga(T70, T73)) → part20_out_gaaa(T70, .(T73, T74), .(T73, X119), X120)
part20_in_gaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_gaaa(T70, T73, T77, X119, X120, gt10_in_ga(T70, T73))
U3_gaaa(T70, T73, T77, X119, X120, gt10_out_ga(T70, T73)) → U4_gaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
part20_in_gaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_gaaa(T95, T98, T99, X170, X171, le33_in_ga(T95, T98))
le33_in_ga(s(T113), s(T115)) → U8_ga(T113, T115, le33_in_ga(T113, T115))
le33_in_ga(0, s(T122)) → le33_out_ga(0, s(T122))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U8_ga(T113, T115, le33_out_ga(T113, T115)) → le33_out_ga(s(T113), s(T115))
U5_gaaa(T95, T98, T99, X170, X171, le33_out_ga(T95, T98)) → part20_out_gaaa(T95, .(T98, T99), X170, .(T98, X171))
part20_in_gaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_gaaa(T95, T98, T102, X170, X171, le33_in_ga(T95, T98))
U6_gaaa(T95, T98, T102, X170, X171, le33_out_ga(T95, T98)) → U7_gaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
part20_in_gaaa(T128, [], [], []) → part20_out_gaaa(T128, [], [], [])
U7_gaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_gaaa(T95, .(T98, T102), X170, .(T98, X171))
U4_gaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_gaaa(T70, .(T73, T77), .(T73, X119), X120)
U46_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, X47, X48)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
U45_ag(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U47_ag(T31, T33, T32, T8, part20_in_gaaa(T31, T32, T53, T54))
U47_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U48_ag(T31, T33, T32, T8, qs51_in_gaa(T33, T53, X9))
qs51_in_gaa(T148, T149, X273) → U37_gaa(T148, T149, X273, p56_in_gaaaaaa(T148, T149, X269, X270, X271, X272, X273))
p56_in_gaaaaaa(T148, T149, X269, X270, X271, X272, X273) → U9_gaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_in_gaaa(T148, T149, X269, X270))
U9_gaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_out_gaaa(T148, T149, X269, X270)) → p56_out_gaaaaaa(T148, T149, X269, X270, X271, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, X271, X272, X273) → U10_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U10_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U11_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
qs59_in_aa(.(T171, T172), X335) → U19_aa(T171, T172, X335, p56_in_aaaaaaa(T171, T172, X331, X332, X333, X334, X335))
p56_in_aaaaaaa(T148, T149, X269, X270, X271, X272, X273) → U9_aaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_in_aaaa(T148, T149, X269, X270))
part20_in_aaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_aaaa(T70, T73, T74, X119, X120, gt10_in_aa(T70, T73))
U2_aaaa(T70, T73, T74, X119, X120, gt10_out_aa(T70, T73)) → part20_out_aaaa(T70, .(T73, T74), .(T73, X119), X120)
part20_in_aaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_aaaa(T70, T73, T77, X119, X120, gt10_in_aa(T70, T73))
U3_aaaa(T70, T73, T77, X119, X120, gt10_out_aa(T70, T73)) → U4_aaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
U4_aaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_aaaa(T70, .(T73, T77), .(T73, X119), X120)
part20_in_aaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_aaaa(T95, T98, T99, X170, X171, le33_in_aa(T95, T98))
le33_in_aa(s(T113), s(T115)) → U8_aa(T113, T115, le33_in_aa(T113, T115))
le33_in_aa(0, s(T122)) → le33_out_aa(0, s(T122))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U8_aa(T113, T115, le33_out_aa(T113, T115)) → le33_out_aa(s(T113), s(T115))
U5_aaaa(T95, T98, T99, X170, X171, le33_out_aa(T95, T98)) → part20_out_aaaa(T95, .(T98, T99), X170, .(T98, X171))
part20_in_aaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_aaaa(T95, T98, T102, X170, X171, le33_in_aa(T95, T98))
U6_aaaa(T95, T98, T102, X170, X171, le33_out_aa(T95, T98)) → U7_aaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
U7_aaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_aaaa(T95, .(T98, T102), X170, .(T98, X171))
part20_in_aaaa(T128, [], [], []) → part20_out_aaaa(T128, [], [], [])
U9_aaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_out_aaaa(T148, T149, X269, X270)) → p56_out_aaaaaaa(T148, T149, X269, X270, X271, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, X271, X272, X273) → U10_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U10_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U11_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
qs59_in_aa([], []) → qs59_out_aa([], [])
U11_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_out_aa(T153, X271)) → p56_out_aaaaaaa(T148, T149, T153, T154, X271, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, T160, X272, X273) → U12_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U12_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U13_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U13_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U14_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T154, X272)) → p56_out_aaaaaaa(T148, T149, T153, T154, T160, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, T160, T178, X273) → U15_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_in_aaaa(T148, T149, T153, T154))
U15_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_out_aaaa(T148, T149, T153, T154)) → U16_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U16_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U17_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_in_aaaa(T160, T148, T178, X273))
app70_in_aaaa(.(T201, T202), T203, T204, .(T201, X391)) → U20_aaaa(T201, T202, T203, T204, X391, app70_in_aaaa(T202, T203, T204, X391))
app70_in_aaaa([], T213, T214, .(T213, T214)) → app70_out_aaaa([], T213, T214, .(T213, T214))
U20_aaaa(T201, T202, T203, T204, X391, app70_out_aaaa(T202, T203, T204, X391)) → app70_out_aaaa(.(T201, T202), T203, T204, .(T201, X391))
U18_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_out_aaaa(T160, T148, T178, X273)) → p56_out_aaaaaaa(T148, T149, T153, T154, T160, T178, X273)
U19_aa(T171, T172, X335, p56_out_aaaaaaa(T171, T172, X331, X332, X333, X334, X335)) → qs59_out_aa(.(T171, T172), X335)
U11_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_out_aa(T153, X271)) → p56_out_gaaaaaa(T148, T149, T153, T154, X271, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, T160, X272, X273) → U12_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U12_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U13_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U13_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U14_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T154, X272)) → p56_out_gaaaaaa(T148, T149, T153, T154, T160, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, T160, T178, X273) → U15_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_in_gaaa(T148, T149, T153, T154))
U15_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_out_gaaa(T148, T149, T153, T154)) → U16_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U16_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U17_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_in_agaa(T160, T148, T178, X273))
app70_in_agaa(.(T201, T202), T203, T204, .(T201, X391)) → U20_agaa(T201, T202, T203, T204, X391, app70_in_agaa(T202, T203, T204, X391))
app70_in_agaa([], T213, T214, .(T213, T214)) → app70_out_agaa([], T213, T214, .(T213, T214))
U20_agaa(T201, T202, T203, T204, X391, app70_out_agaa(T202, T203, T204, X391)) → app70_out_agaa(.(T201, T202), T203, T204, .(T201, X391))
U18_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_out_agaa(T160, T148, T178, X273)) → p56_out_gaaaaaa(T148, T149, T153, T154, T160, T178, X273)
U37_gaa(T148, T149, X273, p56_out_gaaaaaa(T148, T149, X269, X270, X271, X272, X273)) → qs51_out_gaa(T148, T149, X273)
U48_ag(T31, T33, T32, T8, qs51_out_gaa(T33, T53, X9)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
U47_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U49_ag(T31, T33, T32, T8, T54, qs51_in_gaa(T33, T53, T131))
U49_ag(T31, T33, T32, T8, T54, qs51_out_gaa(T33, T53, T131)) → U50_ag(T31, T33, T32, T8, p52_in_aaagg(T54, X10, T131, T31, T8))
p52_in_aaagg(T54, X10, T131, T31, T8) → U33_aaagg(T54, X10, T131, T31, T8, qs80_in_aa(T54, X10))
qs80_in_aa(.(T230, T231), X452) → U22_aa(T230, T231, X452, part87_in_aaaa(T230, T231, X448, X449))
part87_in_aaaa(T256, .(T257, T258), .(T257, X503), X504) → U38_aaaa(T256, T257, T258, X503, X504, gt10_in_aa(T256, T257))
U38_aaaa(T256, T257, T258, X503, X504, gt10_out_aa(T256, T257)) → part87_out_aaaa(T256, .(T257, T258), .(T257, X503), X504)
part87_in_aaaa(T261, .(T257, T262), .(T257, X503), X504) → U39_aaaa(T261, T257, T262, X503, X504, gt10_in_aa(T261, T257))
U39_aaaa(T261, T257, T262, X503, X504, gt10_out_aa(T261, T257)) → U40_aaaa(T261, T257, T262, X503, X504, part20_in_gaaa(T261, T262, X503, X504))
U40_aaaa(T261, T257, T262, X503, X504, part20_out_gaaa(T261, T262, X503, X504)) → part87_out_aaaa(T261, .(T257, T262), .(T257, X503), X504)
part87_in_aaaa(T283, .(T284, T285), X554, .(T284, X555)) → U41_aaaa(T283, T284, T285, X554, X555, le100_in_aa(T283, T284))
le100_in_aa(s(T302), s(T303)) → U21_aa(T302, T303, le100_in_aa(T302, T303))
le100_in_aa(0, s(T310)) → le100_out_aa(0, s(T310))
le100_in_aa(0, 0) → le100_out_aa(0, 0)
U21_aa(T302, T303, le100_out_aa(T302, T303)) → le100_out_aa(s(T302), s(T303))
U41_aaaa(T283, T284, T285, X554, X555, le100_out_aa(T283, T284)) → part87_out_aaaa(T283, .(T284, T285), X554, .(T284, X555))
part87_in_aaaa(T288, .(T284, T289), X554, .(T284, X555)) → U42_aaaa(T288, T284, T289, X554, X555, le100_in_aa(T288, T284))
U42_aaaa(T288, T284, T289, X554, X555, le100_out_aa(T288, T284)) → U43_aaaa(T288, T284, T289, X554, X555, part20_in_gaaa(T288, T289, X554, X555))
U43_aaaa(T288, T284, T289, X554, X555, part20_out_gaaa(T288, T289, X554, X555)) → part87_out_aaaa(T288, .(T284, T289), X554, .(T284, X555))
part87_in_aaaa(T316, [], [], []) → part87_out_aaaa(T316, [], [], [])
U22_aa(T230, T231, X452, part87_out_aaaa(T230, T231, X448, X449)) → qs80_out_aa(.(T230, T231), X452)
qs80_in_aa(.(T237, T231), X452) → U23_aa(T237, T231, X452, part87_in_aaaa(T237, T231, T235, T236))
U23_aa(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U24_aa(T237, T231, X452, qs80_in_aa(T235, X450))
qs80_in_aa(.(T325, T231), X452) → U27_aa(T325, T231, X452, part87_in_aaaa(T325, T231, T235, T236))
U27_aa(T325, T231, X452, part87_out_aaaa(T325, T231, T235, T236)) → U28_aa(T325, T231, X452, T236, qs80_in_aa(T235, T319))
qs80_in_aa([], []) → qs80_out_aa([], [])
U28_aa(T325, T231, X452, T236, qs80_out_aa(T235, T319)) → U29_aa(T325, T231, X452, T319, qs80_in_aa(T236, T324))
U29_aa(T325, T231, X452, T319, qs80_out_aa(T236, T324)) → U30_aa(T325, T231, X452, app121_in_aaaa(T319, T325, T324, X452))
app121_in_aaaa(.(T348, T349), T352, T353, .(T348, X657)) → U31_aaaa(T348, T349, T352, T353, X657, app121_in_aaaa(T349, T352, T353, X657))
app121_in_aaaa([], T362, T363, .(T362, T363)) → app121_out_aaaa([], T362, T363, .(T362, T363))
U31_aaaa(T348, T349, T352, T353, X657, app121_out_aaaa(T349, T352, T353, X657)) → app121_out_aaaa(.(T348, T349), T352, T353, .(T348, X657))
U30_aa(T325, T231, X452, app121_out_aaaa(T319, T325, T324, X452)) → qs80_out_aa(.(T325, T231), X452)
U24_aa(T237, T231, X452, qs80_out_aa(T235, X450)) → qs80_out_aa(.(T237, T231), X452)
U23_aa(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U25_aa(T237, T231, X452, T236, qs80_in_aa(T235, T319))
U25_aa(T237, T231, X452, T236, qs80_out_aa(T235, T319)) → U26_aa(T237, T231, X452, qs80_in_aa(T236, X451))
U26_aa(T237, T231, X452, qs80_out_aa(T236, X451)) → qs80_out_aa(.(T237, T231), X452)
U33_aaagg(T54, X10, T131, T31, T8, qs80_out_aa(T54, X10)) → p52_out_aaagg(T54, X10, T131, T31, T8)
p52_in_aaagg(T54, T217, T131, T31, T8) → U34_aaagg(T54, T217, T131, T31, T8, qs80_in_aa(T54, T217))
U34_aaagg(T54, T217, T131, T31, T8, qs80_out_aa(T54, T217)) → U35_aaagg(T54, T217, T131, T31, T8, app81_in_agag(T131, T31, T217, T8))
app81_in_agag(.(T389, T390), T391, T394, .(T389, T393)) → U32_agag(T389, T390, T391, T394, T393, app81_in_agag(T390, T391, T394, T393))
app81_in_agag([], T404, T405, .(T404, T405)) → app81_out_agag([], T404, T405, .(T404, T405))
U32_agag(T389, T390, T391, T394, T393, app81_out_agag(T390, T391, T394, T393)) → app81_out_agag(.(T389, T390), T391, T394, .(T389, T393))
U35_aaagg(T54, T217, T131, T31, T8, app81_out_agag(T131, T31, T217, T8)) → p52_out_aaagg(T54, T217, T131, T31, T8)
U50_ag(T31, T33, T32, T8, p52_out_aaagg(T54, X10, T131, T31, T8)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
qs1_in_ag(.(T421, .(T422, T423)), T8) → U51_ag(T421, T422, T423, T8, le100_in_aa(T421, T422))
U51_ag(T421, T422, T423, T8, le100_out_aa(T421, T422)) → qs1_out_ag(.(T421, .(T422, T423)), T8)
qs1_in_ag(.(T426, .(T428, T427)), T8) → U52_ag(T426, T428, T427, T8, le100_in_aa(T426, T428))
U52_ag(T426, T428, T427, T8, le100_out_aa(T426, T428)) → U53_ag(T426, T428, T427, T8, part20_in_gaaa(T426, T427, X740, X741))
U53_ag(T426, T428, T427, T8, part20_out_gaaa(T426, T427, X740, X741)) → qs1_out_ag(.(T426, .(T428, T427)), T8)
qs1_in_ag(.(T426, .(T436, T427)), T8) → U54_ag(T426, T436, T427, T8, le100_in_aa(T426, T436))
U54_ag(T426, T436, T427, T8, le100_out_aa(T426, T436)) → U55_ag(T426, T436, T427, T8, part20_in_gaaa(T426, T427, T434, T435))
U55_ag(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U56_ag(T426, T436, T427, T8, qs80_in_aa(T434, X9))
U56_ag(T426, T436, T427, T8, qs80_out_aa(T434, X9)) → qs1_out_ag(.(T426, .(T436, T427)), T8)
U55_ag(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U57_ag(T426, T436, T427, T8, T435, qs80_in_aa(T434, T442))
U57_ag(T426, T436, T427, T8, T435, qs80_out_aa(T434, T442)) → U58_ag(T426, T436, T427, T8, p52_in_aaagg(.(T436, T435), X10, T442, T426, T8))
U58_ag(T426, T436, T427, T8, p52_out_aaagg(.(T436, T435), X10, T442, T426, T8)) → qs1_out_ag(.(T426, .(T436, T427)), T8)
qs1_in_ag(.(T452, []), T8) → U59_ag(T452, T8, qs155_in_a(X9))
qs155_in_a([]) → qs155_out_a([])
U59_ag(T452, T8, qs155_out_a(X9)) → qs1_out_ag(.(T452, []), T8)
qs1_in_ag(.(T452, []), T8) → U60_ag(T452, T8, qs155_in_a(T455))
U60_ag(T452, T8, qs155_out_a(T455)) → U61_ag(T452, T8, qs155_in_a(X10))
U61_ag(T452, T8, qs155_out_a(X10)) → qs1_out_ag(.(T452, []), T8)
U60_ag(T452, T8, qs155_out_a(T455)) → U62_ag(T452, T8, T455, qs155_in_a(T460))
U62_ag(T452, T8, T455, qs155_out_a(T460)) → U63_ag(T452, T8, app162_in_gagg(T455, T452, T460, T8))
app162_in_gagg(.(T486, T487), T491, T489, .(T486, T490)) → U36_gagg(T486, T487, T491, T489, T490, app162_in_gagg(T487, T491, T489, T490))
app162_in_gagg([], T501, T502, .(T501, T502)) → app162_out_gagg([], T501, T502, .(T501, T502))
U36_gagg(T486, T487, T491, T489, T490, app162_out_gagg(T487, T491, T489, T490)) → app162_out_gagg(.(T486, T487), T491, T489, .(T486, T490))
U63_ag(T452, T8, app162_out_gagg(T455, T452, T460, T8)) → qs1_out_ag(.(T452, []), T8)
qs1_in_ag([], []) → qs1_out_ag([], [])

The argument filtering Pi contains the following mapping:
qs1_in_ag(x1, x2)  =  qs1_in_ag(x2)
U44_ag(x1, x2, x3, x4, x5)  =  U44_ag(x4, x5)
gt10_in_aa(x1, x2)  =  gt10_in_aa
U1_aa(x1, x2, x3)  =  U1_aa(x3)
gt10_out_aa(x1, x2)  =  gt10_out_aa(x1, x2)
qs1_out_ag(x1, x2)  =  qs1_out_ag(x2)
U45_ag(x1, x2, x3, x4, x5)  =  U45_ag(x4, x5)
U46_ag(x1, x2, x3, x4, x5)  =  U46_ag(x4, x5)
part20_in_gaaa(x1, x2, x3, x4)  =  part20_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x1, x6)
gt10_in_ga(x1, x2)  =  gt10_in_ga(x1)
s(x1)  =  s(x1)
U1_ga(x1, x2, x3)  =  U1_ga(x1, x3)
0  =  0
gt10_out_ga(x1, x2)  =  gt10_out_ga(x1, x2)
part20_out_gaaa(x1, x2, x3, x4)  =  part20_out_gaaa(x1)
U3_gaaa(x1, x2, x3, x4, x5, x6)  =  U3_gaaa(x1, x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x1, x6)
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x1, x6)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U8_ga(x1, x2, x3)  =  U8_ga(x1, x3)
le33_out_ga(x1, x2)  =  le33_out_ga(x1)
U6_gaaa(x1, x2, x3, x4, x5, x6)  =  U6_gaaa(x1, x6)
U7_gaaa(x1, x2, x3, x4, x5, x6)  =  U7_gaaa(x1, x6)
U47_ag(x1, x2, x3, x4, x5)  =  U47_ag(x1, x2, x4, x5)
U48_ag(x1, x2, x3, x4, x5)  =  U48_ag(x4, x5)
qs51_in_gaa(x1, x2, x3)  =  qs51_in_gaa(x1)
U37_gaa(x1, x2, x3, x4)  =  U37_gaa(x1, x4)
p56_in_gaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_in_gaaaaaa(x1)
U9_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_gaaaaaa(x1, x8)
p56_out_gaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_out_gaaaaaa(x1)
U10_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_gaaaaaa(x1, x8)
U11_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_gaaaaaa(x1, x8)
qs59_in_aa(x1, x2)  =  qs59_in_aa
U19_aa(x1, x2, x3, x4)  =  U19_aa(x4)
p56_in_aaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_in_aaaaaaa
U9_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_aaaaaaa(x8)
part20_in_aaaa(x1, x2, x3, x4)  =  part20_in_aaaa
U2_aaaa(x1, x2, x3, x4, x5, x6)  =  U2_aaaa(x6)
part20_out_aaaa(x1, x2, x3, x4)  =  part20_out_aaaa
U3_aaaa(x1, x2, x3, x4, x5, x6)  =  U3_aaaa(x6)
U4_aaaa(x1, x2, x3, x4, x5, x6)  =  U4_aaaa(x6)
U5_aaaa(x1, x2, x3, x4, x5, x6)  =  U5_aaaa(x6)
le33_in_aa(x1, x2)  =  le33_in_aa
U8_aa(x1, x2, x3)  =  U8_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
U6_aaaa(x1, x2, x3, x4, x5, x6)  =  U6_aaaa(x6)
U7_aaaa(x1, x2, x3, x4, x5, x6)  =  U7_aaaa(x6)
p56_out_aaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_out_aaaaaaa
U10_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_aaaaaaa(x8)
U11_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_aaaaaaa(x8)
qs59_out_aa(x1, x2)  =  qs59_out_aa
U12_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_aaaaaaa(x8)
U13_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_aaaaaaa(x8)
U14_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_aaaaaaa(x8)
U15_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_aaaaaaa(x8)
U16_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_aaaaaaa(x8)
U17_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_aaaaaaa(x8)
U18_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_aaaaaaa(x8)
.(x1, x2)  =  .(x1, x2)
[]  =  []
app70_in_aaaa(x1, x2, x3, x4)  =  app70_in_aaaa
U20_aaaa(x1, x2, x3, x4, x5, x6)  =  U20_aaaa(x6)
app70_out_aaaa(x1, x2, x3, x4)  =  app70_out_aaaa
U12_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_gaaaaaa(x1, x8)
U13_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_gaaaaaa(x1, x8)
U14_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_gaaaaaa(x1, x8)
U15_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_gaaaaaa(x1, x8)
U16_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_gaaaaaa(x1, x8)
U17_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_gaaaaaa(x1, x8)
U18_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_gaaaaaa(x1, x8)
app70_in_agaa(x1, x2, x3, x4)  =  app70_in_agaa(x2)
U20_agaa(x1, x2, x3, x4, x5, x6)  =  U20_agaa(x3, x6)
app70_out_agaa(x1, x2, x3, x4)  =  app70_out_agaa(x2)
qs51_out_gaa(x1, x2, x3)  =  qs51_out_gaa(x1)
U49_ag(x1, x2, x3, x4, x5, x6)  =  U49_ag(x1, x4, x6)
U50_ag(x1, x2, x3, x4, x5)  =  U50_ag(x4, x5)
p52_in_aaagg(x1, x2, x3, x4, x5)  =  p52_in_aaagg(x4, x5)
U33_aaagg(x1, x2, x3, x4, x5, x6)  =  U33_aaagg(x4, x5, x6)
qs80_in_aa(x1, x2)  =  qs80_in_aa
U22_aa(x1, x2, x3, x4)  =  U22_aa(x4)
part87_in_aaaa(x1, x2, x3, x4)  =  part87_in_aaaa
U38_aaaa(x1, x2, x3, x4, x5, x6)  =  U38_aaaa(x6)
part87_out_aaaa(x1, x2, x3, x4)  =  part87_out_aaaa
U39_aaaa(x1, x2, x3, x4, x5, x6)  =  U39_aaaa(x6)
U40_aaaa(x1, x2, x3, x4, x5, x6)  =  U40_aaaa(x6)
U41_aaaa(x1, x2, x3, x4, x5, x6)  =  U41_aaaa(x6)
le100_in_aa(x1, x2)  =  le100_in_aa
U21_aa(x1, x2, x3)  =  U21_aa(x3)
le100_out_aa(x1, x2)  =  le100_out_aa(x1)
U42_aaaa(x1, x2, x3, x4, x5, x6)  =  U42_aaaa(x6)
U43_aaaa(x1, x2, x3, x4, x5, x6)  =  U43_aaaa(x6)
qs80_out_aa(x1, x2)  =  qs80_out_aa
U23_aa(x1, x2, x3, x4)  =  U23_aa(x4)
U24_aa(x1, x2, x3, x4)  =  U24_aa(x4)
U27_aa(x1, x2, x3, x4)  =  U27_aa(x4)
U28_aa(x1, x2, x3, x4, x5)  =  U28_aa(x5)
U29_aa(x1, x2, x3, x4, x5)  =  U29_aa(x5)
U30_aa(x1, x2, x3, x4)  =  U30_aa(x4)
app121_in_aaaa(x1, x2, x3, x4)  =  app121_in_aaaa
U31_aaaa(x1, x2, x3, x4, x5, x6)  =  U31_aaaa(x6)
app121_out_aaaa(x1, x2, x3, x4)  =  app121_out_aaaa
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
U26_aa(x1, x2, x3, x4)  =  U26_aa(x4)
p52_out_aaagg(x1, x2, x3, x4, x5)  =  p52_out_aaagg(x4, x5)
U34_aaagg(x1, x2, x3, x4, x5, x6)  =  U34_aaagg(x4, x5, x6)
U35_aaagg(x1, x2, x3, x4, x5, x6)  =  U35_aaagg(x4, x5, x6)
app81_in_agag(x1, x2, x3, x4)  =  app81_in_agag(x2, x4)
U32_agag(x1, x2, x3, x4, x5, x6)  =  U32_agag(x1, x3, x5, x6)
app81_out_agag(x1, x2, x3, x4)  =  app81_out_agag(x1, x2, x3, x4)
U51_ag(x1, x2, x3, x4, x5)  =  U51_ag(x4, x5)
U52_ag(x1, x2, x3, x4, x5)  =  U52_ag(x4, x5)
U53_ag(x1, x2, x3, x4, x5)  =  U53_ag(x4, x5)
U54_ag(x1, x2, x3, x4, x5)  =  U54_ag(x4, x5)
U55_ag(x1, x2, x3, x4, x5)  =  U55_ag(x1, x4, x5)
U56_ag(x1, x2, x3, x4, x5)  =  U56_ag(x4, x5)
U57_ag(x1, x2, x3, x4, x5, x6)  =  U57_ag(x1, x4, x6)
U58_ag(x1, x2, x3, x4, x5)  =  U58_ag(x4, x5)
U59_ag(x1, x2, x3)  =  U59_ag(x2, x3)
qs155_in_a(x1)  =  qs155_in_a
qs155_out_a(x1)  =  qs155_out_a(x1)
U60_ag(x1, x2, x3)  =  U60_ag(x2, x3)
U61_ag(x1, x2, x3)  =  U61_ag(x2, x3)
U62_ag(x1, x2, x3, x4)  =  U62_ag(x2, x3, x4)
U63_ag(x1, x2, x3)  =  U63_ag(x2, x3)
app162_in_gagg(x1, x2, x3, x4)  =  app162_in_gagg(x1, x3, x4)
U36_gagg(x1, x2, x3, x4, x5, x6)  =  U36_gagg(x1, x2, x4, x5, x6)
app162_out_gagg(x1, x2, x3, x4)  =  app162_out_gagg(x1, x2, x3, x4)

(5) DependencyPairsProof (EQUIVALENT transformation)

Using Dependency Pairs [AG00,LOPSTR] we result in the following initial DP problem:
Pi DP problem:
The TRS P consists of the following rules:

QS1_IN_AG(.(T26, .(T27, T28)), T8) → U44_AG(T26, T27, T28, T8, gt10_in_aa(T26, T27))
QS1_IN_AG(.(T26, .(T27, T28)), T8) → GT10_IN_AA(T26, T27)
GT10_IN_AA(s(T46), s(T47)) → U1_AA(T46, T47, gt10_in_aa(T46, T47))
GT10_IN_AA(s(T46), s(T47)) → GT10_IN_AA(T46, T47)
QS1_IN_AG(.(T31, .(T33, T32)), T8) → U45_AG(T31, T33, T32, T8, gt10_in_aa(T31, T33))
U45_AG(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U46_AG(T31, T33, T32, T8, part20_in_gaaa(T31, T32, X47, X48))
U45_AG(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → PART20_IN_GAAA(T31, T32, X47, X48)
PART20_IN_GAAA(T70, .(T73, T74), .(T73, X119), X120) → U2_GAAA(T70, T73, T74, X119, X120, gt10_in_ga(T70, T73))
PART20_IN_GAAA(T70, .(T73, T74), .(T73, X119), X120) → GT10_IN_GA(T70, T73)
GT10_IN_GA(s(T46), s(T47)) → U1_GA(T46, T47, gt10_in_ga(T46, T47))
GT10_IN_GA(s(T46), s(T47)) → GT10_IN_GA(T46, T47)
PART20_IN_GAAA(T70, .(T73, T77), .(T73, X119), X120) → U3_GAAA(T70, T73, T77, X119, X120, gt10_in_ga(T70, T73))
U3_GAAA(T70, T73, T77, X119, X120, gt10_out_ga(T70, T73)) → U4_GAAA(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
U3_GAAA(T70, T73, T77, X119, X120, gt10_out_ga(T70, T73)) → PART20_IN_GAAA(T70, T77, X119, X120)
PART20_IN_GAAA(T95, .(T98, T99), X170, .(T98, X171)) → U5_GAAA(T95, T98, T99, X170, X171, le33_in_ga(T95, T98))
PART20_IN_GAAA(T95, .(T98, T99), X170, .(T98, X171)) → LE33_IN_GA(T95, T98)
LE33_IN_GA(s(T113), s(T115)) → U8_GA(T113, T115, le33_in_ga(T113, T115))
LE33_IN_GA(s(T113), s(T115)) → LE33_IN_GA(T113, T115)
PART20_IN_GAAA(T95, .(T98, T102), X170, .(T98, X171)) → U6_GAAA(T95, T98, T102, X170, X171, le33_in_ga(T95, T98))
U6_GAAA(T95, T98, T102, X170, X171, le33_out_ga(T95, T98)) → U7_GAAA(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
U6_GAAA(T95, T98, T102, X170, X171, le33_out_ga(T95, T98)) → PART20_IN_GAAA(T95, T102, X170, X171)
U45_AG(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U47_AG(T31, T33, T32, T8, part20_in_gaaa(T31, T32, T53, T54))
U47_AG(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U48_AG(T31, T33, T32, T8, qs51_in_gaa(T33, T53, X9))
U47_AG(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → QS51_IN_GAA(T33, T53, X9)
QS51_IN_GAA(T148, T149, X273) → U37_GAA(T148, T149, X273, p56_in_gaaaaaa(T148, T149, X269, X270, X271, X272, X273))
QS51_IN_GAA(T148, T149, X273) → P56_IN_GAAAAAA(T148, T149, X269, X270, X271, X272, X273)
P56_IN_GAAAAAA(T148, T149, X269, X270, X271, X272, X273) → U9_GAAAAAA(T148, T149, X269, X270, X271, X272, X273, part20_in_gaaa(T148, T149, X269, X270))
P56_IN_GAAAAAA(T148, T149, X269, X270, X271, X272, X273) → PART20_IN_GAAA(T148, T149, X269, X270)
P56_IN_GAAAAAA(T148, T149, T153, T154, X271, X272, X273) → U10_GAAAAAA(T148, T149, T153, T154, X271, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U10_GAAAAAA(T148, T149, T153, T154, X271, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U11_GAAAAAA(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
U10_GAAAAAA(T148, T149, T153, T154, X271, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → QS59_IN_AA(T153, X271)
QS59_IN_AA(.(T171, T172), X335) → U19_AA(T171, T172, X335, p56_in_aaaaaaa(T171, T172, X331, X332, X333, X334, X335))
QS59_IN_AA(.(T171, T172), X335) → P56_IN_AAAAAAA(T171, T172, X331, X332, X333, X334, X335)
P56_IN_AAAAAAA(T148, T149, X269, X270, X271, X272, X273) → U9_AAAAAAA(T148, T149, X269, X270, X271, X272, X273, part20_in_aaaa(T148, T149, X269, X270))
P56_IN_AAAAAAA(T148, T149, X269, X270, X271, X272, X273) → PART20_IN_AAAA(T148, T149, X269, X270)
PART20_IN_AAAA(T70, .(T73, T74), .(T73, X119), X120) → U2_AAAA(T70, T73, T74, X119, X120, gt10_in_aa(T70, T73))
PART20_IN_AAAA(T70, .(T73, T74), .(T73, X119), X120) → GT10_IN_AA(T70, T73)
PART20_IN_AAAA(T70, .(T73, T77), .(T73, X119), X120) → U3_AAAA(T70, T73, T77, X119, X120, gt10_in_aa(T70, T73))
U3_AAAA(T70, T73, T77, X119, X120, gt10_out_aa(T70, T73)) → U4_AAAA(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
U3_AAAA(T70, T73, T77, X119, X120, gt10_out_aa(T70, T73)) → PART20_IN_GAAA(T70, T77, X119, X120)
PART20_IN_AAAA(T95, .(T98, T99), X170, .(T98, X171)) → U5_AAAA(T95, T98, T99, X170, X171, le33_in_aa(T95, T98))
PART20_IN_AAAA(T95, .(T98, T99), X170, .(T98, X171)) → LE33_IN_AA(T95, T98)
LE33_IN_AA(s(T113), s(T115)) → U8_AA(T113, T115, le33_in_aa(T113, T115))
LE33_IN_AA(s(T113), s(T115)) → LE33_IN_AA(T113, T115)
PART20_IN_AAAA(T95, .(T98, T102), X170, .(T98, X171)) → U6_AAAA(T95, T98, T102, X170, X171, le33_in_aa(T95, T98))
U6_AAAA(T95, T98, T102, X170, X171, le33_out_aa(T95, T98)) → U7_AAAA(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
U6_AAAA(T95, T98, T102, X170, X171, le33_out_aa(T95, T98)) → PART20_IN_GAAA(T95, T102, X170, X171)
P56_IN_AAAAAAA(T148, T149, T153, T154, X271, X272, X273) → U10_AAAAAAA(T148, T149, T153, T154, X271, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U10_AAAAAAA(T148, T149, T153, T154, X271, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U11_AAAAAAA(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
U10_AAAAAAA(T148, T149, T153, T154, X271, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → QS59_IN_AA(T153, X271)
P56_IN_AAAAAAA(T148, T149, T153, T154, T160, X272, X273) → U12_AAAAAAA(T148, T149, T153, T154, T160, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U12_AAAAAAA(T148, T149, T153, T154, T160, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U13_AAAAAAA(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U12_AAAAAAA(T148, T149, T153, T154, T160, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → QS59_IN_AA(T153, T160)
U13_AAAAAAA(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_AAAAAAA(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U13_AAAAAAA(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → QS59_IN_AA(T154, X272)
P56_IN_AAAAAAA(T148, T149, T153, T154, T160, T178, X273) → U15_AAAAAAA(T148, T149, T153, T154, T160, T178, X273, part20_in_aaaa(T148, T149, T153, T154))
U15_AAAAAAA(T148, T149, T153, T154, T160, T178, X273, part20_out_aaaa(T148, T149, T153, T154)) → U16_AAAAAAA(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U15_AAAAAAA(T148, T149, T153, T154, T160, T178, X273, part20_out_aaaa(T148, T149, T153, T154)) → QS59_IN_AA(T153, T160)
U16_AAAAAAA(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_AAAAAAA(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U16_AAAAAAA(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → QS59_IN_AA(T154, T178)
U17_AAAAAAA(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_AAAAAAA(T148, T149, T153, T154, T160, T178, X273, app70_in_aaaa(T160, T148, T178, X273))
U17_AAAAAAA(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → APP70_IN_AAAA(T160, T148, T178, X273)
APP70_IN_AAAA(.(T201, T202), T203, T204, .(T201, X391)) → U20_AAAA(T201, T202, T203, T204, X391, app70_in_aaaa(T202, T203, T204, X391))
APP70_IN_AAAA(.(T201, T202), T203, T204, .(T201, X391)) → APP70_IN_AAAA(T202, T203, T204, X391)
P56_IN_GAAAAAA(T148, T149, T153, T154, T160, X272, X273) → U12_GAAAAAA(T148, T149, T153, T154, T160, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U12_GAAAAAA(T148, T149, T153, T154, T160, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U13_GAAAAAA(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U12_GAAAAAA(T148, T149, T153, T154, T160, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → QS59_IN_AA(T153, T160)
U13_GAAAAAA(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_GAAAAAA(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U13_GAAAAAA(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → QS59_IN_AA(T154, X272)
P56_IN_GAAAAAA(T148, T149, T153, T154, T160, T178, X273) → U15_GAAAAAA(T148, T149, T153, T154, T160, T178, X273, part20_in_gaaa(T148, T149, T153, T154))
U15_GAAAAAA(T148, T149, T153, T154, T160, T178, X273, part20_out_gaaa(T148, T149, T153, T154)) → U16_GAAAAAA(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U15_GAAAAAA(T148, T149, T153, T154, T160, T178, X273, part20_out_gaaa(T148, T149, T153, T154)) → QS59_IN_AA(T153, T160)
U16_GAAAAAA(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_GAAAAAA(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U16_GAAAAAA(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → QS59_IN_AA(T154, T178)
U17_GAAAAAA(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_GAAAAAA(T148, T149, T153, T154, T160, T178, X273, app70_in_agaa(T160, T148, T178, X273))
U17_GAAAAAA(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → APP70_IN_AGAA(T160, T148, T178, X273)
APP70_IN_AGAA(.(T201, T202), T203, T204, .(T201, X391)) → U20_AGAA(T201, T202, T203, T204, X391, app70_in_agaa(T202, T203, T204, X391))
APP70_IN_AGAA(.(T201, T202), T203, T204, .(T201, X391)) → APP70_IN_AGAA(T202, T203, T204, X391)
U47_AG(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U49_AG(T31, T33, T32, T8, T54, qs51_in_gaa(T33, T53, T131))
U49_AG(T31, T33, T32, T8, T54, qs51_out_gaa(T33, T53, T131)) → U50_AG(T31, T33, T32, T8, p52_in_aaagg(T54, X10, T131, T31, T8))
U49_AG(T31, T33, T32, T8, T54, qs51_out_gaa(T33, T53, T131)) → P52_IN_AAAGG(T54, X10, T131, T31, T8)
P52_IN_AAAGG(T54, X10, T131, T31, T8) → U33_AAAGG(T54, X10, T131, T31, T8, qs80_in_aa(T54, X10))
P52_IN_AAAGG(T54, X10, T131, T31, T8) → QS80_IN_AA(T54, X10)
QS80_IN_AA(.(T230, T231), X452) → U22_AA(T230, T231, X452, part87_in_aaaa(T230, T231, X448, X449))
QS80_IN_AA(.(T230, T231), X452) → PART87_IN_AAAA(T230, T231, X448, X449)
PART87_IN_AAAA(T256, .(T257, T258), .(T257, X503), X504) → U38_AAAA(T256, T257, T258, X503, X504, gt10_in_aa(T256, T257))
PART87_IN_AAAA(T256, .(T257, T258), .(T257, X503), X504) → GT10_IN_AA(T256, T257)
PART87_IN_AAAA(T261, .(T257, T262), .(T257, X503), X504) → U39_AAAA(T261, T257, T262, X503, X504, gt10_in_aa(T261, T257))
U39_AAAA(T261, T257, T262, X503, X504, gt10_out_aa(T261, T257)) → U40_AAAA(T261, T257, T262, X503, X504, part20_in_gaaa(T261, T262, X503, X504))
U39_AAAA(T261, T257, T262, X503, X504, gt10_out_aa(T261, T257)) → PART20_IN_GAAA(T261, T262, X503, X504)
PART87_IN_AAAA(T283, .(T284, T285), X554, .(T284, X555)) → U41_AAAA(T283, T284, T285, X554, X555, le100_in_aa(T283, T284))
PART87_IN_AAAA(T283, .(T284, T285), X554, .(T284, X555)) → LE100_IN_AA(T283, T284)
LE100_IN_AA(s(T302), s(T303)) → U21_AA(T302, T303, le100_in_aa(T302, T303))
LE100_IN_AA(s(T302), s(T303)) → LE100_IN_AA(T302, T303)
PART87_IN_AAAA(T288, .(T284, T289), X554, .(T284, X555)) → U42_AAAA(T288, T284, T289, X554, X555, le100_in_aa(T288, T284))
U42_AAAA(T288, T284, T289, X554, X555, le100_out_aa(T288, T284)) → U43_AAAA(T288, T284, T289, X554, X555, part20_in_gaaa(T288, T289, X554, X555))
U42_AAAA(T288, T284, T289, X554, X555, le100_out_aa(T288, T284)) → PART20_IN_GAAA(T288, T289, X554, X555)
QS80_IN_AA(.(T237, T231), X452) → U23_AA(T237, T231, X452, part87_in_aaaa(T237, T231, T235, T236))
U23_AA(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U24_AA(T237, T231, X452, qs80_in_aa(T235, X450))
U23_AA(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → QS80_IN_AA(T235, X450)
QS80_IN_AA(.(T325, T231), X452) → U27_AA(T325, T231, X452, part87_in_aaaa(T325, T231, T235, T236))
U27_AA(T325, T231, X452, part87_out_aaaa(T325, T231, T235, T236)) → U28_AA(T325, T231, X452, T236, qs80_in_aa(T235, T319))
U27_AA(T325, T231, X452, part87_out_aaaa(T325, T231, T235, T236)) → QS80_IN_AA(T235, T319)
U28_AA(T325, T231, X452, T236, qs80_out_aa(T235, T319)) → U29_AA(T325, T231, X452, T319, qs80_in_aa(T236, T324))
U28_AA(T325, T231, X452, T236, qs80_out_aa(T235, T319)) → QS80_IN_AA(T236, T324)
U29_AA(T325, T231, X452, T319, qs80_out_aa(T236, T324)) → U30_AA(T325, T231, X452, app121_in_aaaa(T319, T325, T324, X452))
U29_AA(T325, T231, X452, T319, qs80_out_aa(T236, T324)) → APP121_IN_AAAA(T319, T325, T324, X452)
APP121_IN_AAAA(.(T348, T349), T352, T353, .(T348, X657)) → U31_AAAA(T348, T349, T352, T353, X657, app121_in_aaaa(T349, T352, T353, X657))
APP121_IN_AAAA(.(T348, T349), T352, T353, .(T348, X657)) → APP121_IN_AAAA(T349, T352, T353, X657)
U23_AA(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U25_AA(T237, T231, X452, T236, qs80_in_aa(T235, T319))
U25_AA(T237, T231, X452, T236, qs80_out_aa(T235, T319)) → U26_AA(T237, T231, X452, qs80_in_aa(T236, X451))
U25_AA(T237, T231, X452, T236, qs80_out_aa(T235, T319)) → QS80_IN_AA(T236, X451)
P52_IN_AAAGG(T54, T217, T131, T31, T8) → U34_AAAGG(T54, T217, T131, T31, T8, qs80_in_aa(T54, T217))
U34_AAAGG(T54, T217, T131, T31, T8, qs80_out_aa(T54, T217)) → U35_AAAGG(T54, T217, T131, T31, T8, app81_in_agag(T131, T31, T217, T8))
U34_AAAGG(T54, T217, T131, T31, T8, qs80_out_aa(T54, T217)) → APP81_IN_AGAG(T131, T31, T217, T8)
APP81_IN_AGAG(.(T389, T390), T391, T394, .(T389, T393)) → U32_AGAG(T389, T390, T391, T394, T393, app81_in_agag(T390, T391, T394, T393))
APP81_IN_AGAG(.(T389, T390), T391, T394, .(T389, T393)) → APP81_IN_AGAG(T390, T391, T394, T393)
QS1_IN_AG(.(T421, .(T422, T423)), T8) → U51_AG(T421, T422, T423, T8, le100_in_aa(T421, T422))
QS1_IN_AG(.(T421, .(T422, T423)), T8) → LE100_IN_AA(T421, T422)
QS1_IN_AG(.(T426, .(T428, T427)), T8) → U52_AG(T426, T428, T427, T8, le100_in_aa(T426, T428))
U52_AG(T426, T428, T427, T8, le100_out_aa(T426, T428)) → U53_AG(T426, T428, T427, T8, part20_in_gaaa(T426, T427, X740, X741))
U52_AG(T426, T428, T427, T8, le100_out_aa(T426, T428)) → PART20_IN_GAAA(T426, T427, X740, X741)
QS1_IN_AG(.(T426, .(T436, T427)), T8) → U54_AG(T426, T436, T427, T8, le100_in_aa(T426, T436))
U54_AG(T426, T436, T427, T8, le100_out_aa(T426, T436)) → U55_AG(T426, T436, T427, T8, part20_in_gaaa(T426, T427, T434, T435))
U54_AG(T426, T436, T427, T8, le100_out_aa(T426, T436)) → PART20_IN_GAAA(T426, T427, T434, T435)
U55_AG(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U56_AG(T426, T436, T427, T8, qs80_in_aa(T434, X9))
U55_AG(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → QS80_IN_AA(T434, X9)
U55_AG(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U57_AG(T426, T436, T427, T8, T435, qs80_in_aa(T434, T442))
U57_AG(T426, T436, T427, T8, T435, qs80_out_aa(T434, T442)) → U58_AG(T426, T436, T427, T8, p52_in_aaagg(.(T436, T435), X10, T442, T426, T8))
U57_AG(T426, T436, T427, T8, T435, qs80_out_aa(T434, T442)) → P52_IN_AAAGG(.(T436, T435), X10, T442, T426, T8)
QS1_IN_AG(.(T452, []), T8) → U59_AG(T452, T8, qs155_in_a(X9))
QS1_IN_AG(.(T452, []), T8) → QS155_IN_A(X9)
QS1_IN_AG(.(T452, []), T8) → U60_AG(T452, T8, qs155_in_a(T455))
U60_AG(T452, T8, qs155_out_a(T455)) → U61_AG(T452, T8, qs155_in_a(X10))
U60_AG(T452, T8, qs155_out_a(T455)) → QS155_IN_A(X10)
U60_AG(T452, T8, qs155_out_a(T455)) → U62_AG(T452, T8, T455, qs155_in_a(T460))
U62_AG(T452, T8, T455, qs155_out_a(T460)) → U63_AG(T452, T8, app162_in_gagg(T455, T452, T460, T8))
U62_AG(T452, T8, T455, qs155_out_a(T460)) → APP162_IN_GAGG(T455, T452, T460, T8)
APP162_IN_GAGG(.(T486, T487), T491, T489, .(T486, T490)) → U36_GAGG(T486, T487, T491, T489, T490, app162_in_gagg(T487, T491, T489, T490))
APP162_IN_GAGG(.(T486, T487), T491, T489, .(T486, T490)) → APP162_IN_GAGG(T487, T491, T489, T490)

The TRS R consists of the following rules:

qs1_in_ag(.(T26, .(T27, T28)), T8) → U44_ag(T26, T27, T28, T8, gt10_in_aa(T26, T27))
gt10_in_aa(s(T46), s(T47)) → U1_aa(T46, T47, gt10_in_aa(T46, T47))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U1_aa(T46, T47, gt10_out_aa(T46, T47)) → gt10_out_aa(s(T46), s(T47))
U44_ag(T26, T27, T28, T8, gt10_out_aa(T26, T27)) → qs1_out_ag(.(T26, .(T27, T28)), T8)
qs1_in_ag(.(T31, .(T33, T32)), T8) → U45_ag(T31, T33, T32, T8, gt10_in_aa(T31, T33))
U45_ag(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U46_ag(T31, T33, T32, T8, part20_in_gaaa(T31, T32, X47, X48))
part20_in_gaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_gaaa(T70, T73, T74, X119, X120, gt10_in_ga(T70, T73))
gt10_in_ga(s(T46), s(T47)) → U1_ga(T46, T47, gt10_in_ga(T46, T47))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U1_ga(T46, T47, gt10_out_ga(T46, T47)) → gt10_out_ga(s(T46), s(T47))
U2_gaaa(T70, T73, T74, X119, X120, gt10_out_ga(T70, T73)) → part20_out_gaaa(T70, .(T73, T74), .(T73, X119), X120)
part20_in_gaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_gaaa(T70, T73, T77, X119, X120, gt10_in_ga(T70, T73))
U3_gaaa(T70, T73, T77, X119, X120, gt10_out_ga(T70, T73)) → U4_gaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
part20_in_gaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_gaaa(T95, T98, T99, X170, X171, le33_in_ga(T95, T98))
le33_in_ga(s(T113), s(T115)) → U8_ga(T113, T115, le33_in_ga(T113, T115))
le33_in_ga(0, s(T122)) → le33_out_ga(0, s(T122))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U8_ga(T113, T115, le33_out_ga(T113, T115)) → le33_out_ga(s(T113), s(T115))
U5_gaaa(T95, T98, T99, X170, X171, le33_out_ga(T95, T98)) → part20_out_gaaa(T95, .(T98, T99), X170, .(T98, X171))
part20_in_gaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_gaaa(T95, T98, T102, X170, X171, le33_in_ga(T95, T98))
U6_gaaa(T95, T98, T102, X170, X171, le33_out_ga(T95, T98)) → U7_gaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
part20_in_gaaa(T128, [], [], []) → part20_out_gaaa(T128, [], [], [])
U7_gaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_gaaa(T95, .(T98, T102), X170, .(T98, X171))
U4_gaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_gaaa(T70, .(T73, T77), .(T73, X119), X120)
U46_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, X47, X48)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
U45_ag(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U47_ag(T31, T33, T32, T8, part20_in_gaaa(T31, T32, T53, T54))
U47_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U48_ag(T31, T33, T32, T8, qs51_in_gaa(T33, T53, X9))
qs51_in_gaa(T148, T149, X273) → U37_gaa(T148, T149, X273, p56_in_gaaaaaa(T148, T149, X269, X270, X271, X272, X273))
p56_in_gaaaaaa(T148, T149, X269, X270, X271, X272, X273) → U9_gaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_in_gaaa(T148, T149, X269, X270))
U9_gaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_out_gaaa(T148, T149, X269, X270)) → p56_out_gaaaaaa(T148, T149, X269, X270, X271, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, X271, X272, X273) → U10_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U10_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U11_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
qs59_in_aa(.(T171, T172), X335) → U19_aa(T171, T172, X335, p56_in_aaaaaaa(T171, T172, X331, X332, X333, X334, X335))
p56_in_aaaaaaa(T148, T149, X269, X270, X271, X272, X273) → U9_aaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_in_aaaa(T148, T149, X269, X270))
part20_in_aaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_aaaa(T70, T73, T74, X119, X120, gt10_in_aa(T70, T73))
U2_aaaa(T70, T73, T74, X119, X120, gt10_out_aa(T70, T73)) → part20_out_aaaa(T70, .(T73, T74), .(T73, X119), X120)
part20_in_aaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_aaaa(T70, T73, T77, X119, X120, gt10_in_aa(T70, T73))
U3_aaaa(T70, T73, T77, X119, X120, gt10_out_aa(T70, T73)) → U4_aaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
U4_aaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_aaaa(T70, .(T73, T77), .(T73, X119), X120)
part20_in_aaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_aaaa(T95, T98, T99, X170, X171, le33_in_aa(T95, T98))
le33_in_aa(s(T113), s(T115)) → U8_aa(T113, T115, le33_in_aa(T113, T115))
le33_in_aa(0, s(T122)) → le33_out_aa(0, s(T122))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U8_aa(T113, T115, le33_out_aa(T113, T115)) → le33_out_aa(s(T113), s(T115))
U5_aaaa(T95, T98, T99, X170, X171, le33_out_aa(T95, T98)) → part20_out_aaaa(T95, .(T98, T99), X170, .(T98, X171))
part20_in_aaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_aaaa(T95, T98, T102, X170, X171, le33_in_aa(T95, T98))
U6_aaaa(T95, T98, T102, X170, X171, le33_out_aa(T95, T98)) → U7_aaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
U7_aaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_aaaa(T95, .(T98, T102), X170, .(T98, X171))
part20_in_aaaa(T128, [], [], []) → part20_out_aaaa(T128, [], [], [])
U9_aaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_out_aaaa(T148, T149, X269, X270)) → p56_out_aaaaaaa(T148, T149, X269, X270, X271, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, X271, X272, X273) → U10_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U10_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U11_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
qs59_in_aa([], []) → qs59_out_aa([], [])
U11_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_out_aa(T153, X271)) → p56_out_aaaaaaa(T148, T149, T153, T154, X271, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, T160, X272, X273) → U12_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U12_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U13_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U13_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U14_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T154, X272)) → p56_out_aaaaaaa(T148, T149, T153, T154, T160, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, T160, T178, X273) → U15_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_in_aaaa(T148, T149, T153, T154))
U15_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_out_aaaa(T148, T149, T153, T154)) → U16_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U16_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U17_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_in_aaaa(T160, T148, T178, X273))
app70_in_aaaa(.(T201, T202), T203, T204, .(T201, X391)) → U20_aaaa(T201, T202, T203, T204, X391, app70_in_aaaa(T202, T203, T204, X391))
app70_in_aaaa([], T213, T214, .(T213, T214)) → app70_out_aaaa([], T213, T214, .(T213, T214))
U20_aaaa(T201, T202, T203, T204, X391, app70_out_aaaa(T202, T203, T204, X391)) → app70_out_aaaa(.(T201, T202), T203, T204, .(T201, X391))
U18_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_out_aaaa(T160, T148, T178, X273)) → p56_out_aaaaaaa(T148, T149, T153, T154, T160, T178, X273)
U19_aa(T171, T172, X335, p56_out_aaaaaaa(T171, T172, X331, X332, X333, X334, X335)) → qs59_out_aa(.(T171, T172), X335)
U11_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_out_aa(T153, X271)) → p56_out_gaaaaaa(T148, T149, T153, T154, X271, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, T160, X272, X273) → U12_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U12_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U13_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U13_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U14_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T154, X272)) → p56_out_gaaaaaa(T148, T149, T153, T154, T160, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, T160, T178, X273) → U15_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_in_gaaa(T148, T149, T153, T154))
U15_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_out_gaaa(T148, T149, T153, T154)) → U16_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U16_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U17_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_in_agaa(T160, T148, T178, X273))
app70_in_agaa(.(T201, T202), T203, T204, .(T201, X391)) → U20_agaa(T201, T202, T203, T204, X391, app70_in_agaa(T202, T203, T204, X391))
app70_in_agaa([], T213, T214, .(T213, T214)) → app70_out_agaa([], T213, T214, .(T213, T214))
U20_agaa(T201, T202, T203, T204, X391, app70_out_agaa(T202, T203, T204, X391)) → app70_out_agaa(.(T201, T202), T203, T204, .(T201, X391))
U18_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_out_agaa(T160, T148, T178, X273)) → p56_out_gaaaaaa(T148, T149, T153, T154, T160, T178, X273)
U37_gaa(T148, T149, X273, p56_out_gaaaaaa(T148, T149, X269, X270, X271, X272, X273)) → qs51_out_gaa(T148, T149, X273)
U48_ag(T31, T33, T32, T8, qs51_out_gaa(T33, T53, X9)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
U47_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U49_ag(T31, T33, T32, T8, T54, qs51_in_gaa(T33, T53, T131))
U49_ag(T31, T33, T32, T8, T54, qs51_out_gaa(T33, T53, T131)) → U50_ag(T31, T33, T32, T8, p52_in_aaagg(T54, X10, T131, T31, T8))
p52_in_aaagg(T54, X10, T131, T31, T8) → U33_aaagg(T54, X10, T131, T31, T8, qs80_in_aa(T54, X10))
qs80_in_aa(.(T230, T231), X452) → U22_aa(T230, T231, X452, part87_in_aaaa(T230, T231, X448, X449))
part87_in_aaaa(T256, .(T257, T258), .(T257, X503), X504) → U38_aaaa(T256, T257, T258, X503, X504, gt10_in_aa(T256, T257))
U38_aaaa(T256, T257, T258, X503, X504, gt10_out_aa(T256, T257)) → part87_out_aaaa(T256, .(T257, T258), .(T257, X503), X504)
part87_in_aaaa(T261, .(T257, T262), .(T257, X503), X504) → U39_aaaa(T261, T257, T262, X503, X504, gt10_in_aa(T261, T257))
U39_aaaa(T261, T257, T262, X503, X504, gt10_out_aa(T261, T257)) → U40_aaaa(T261, T257, T262, X503, X504, part20_in_gaaa(T261, T262, X503, X504))
U40_aaaa(T261, T257, T262, X503, X504, part20_out_gaaa(T261, T262, X503, X504)) → part87_out_aaaa(T261, .(T257, T262), .(T257, X503), X504)
part87_in_aaaa(T283, .(T284, T285), X554, .(T284, X555)) → U41_aaaa(T283, T284, T285, X554, X555, le100_in_aa(T283, T284))
le100_in_aa(s(T302), s(T303)) → U21_aa(T302, T303, le100_in_aa(T302, T303))
le100_in_aa(0, s(T310)) → le100_out_aa(0, s(T310))
le100_in_aa(0, 0) → le100_out_aa(0, 0)
U21_aa(T302, T303, le100_out_aa(T302, T303)) → le100_out_aa(s(T302), s(T303))
U41_aaaa(T283, T284, T285, X554, X555, le100_out_aa(T283, T284)) → part87_out_aaaa(T283, .(T284, T285), X554, .(T284, X555))
part87_in_aaaa(T288, .(T284, T289), X554, .(T284, X555)) → U42_aaaa(T288, T284, T289, X554, X555, le100_in_aa(T288, T284))
U42_aaaa(T288, T284, T289, X554, X555, le100_out_aa(T288, T284)) → U43_aaaa(T288, T284, T289, X554, X555, part20_in_gaaa(T288, T289, X554, X555))
U43_aaaa(T288, T284, T289, X554, X555, part20_out_gaaa(T288, T289, X554, X555)) → part87_out_aaaa(T288, .(T284, T289), X554, .(T284, X555))
part87_in_aaaa(T316, [], [], []) → part87_out_aaaa(T316, [], [], [])
U22_aa(T230, T231, X452, part87_out_aaaa(T230, T231, X448, X449)) → qs80_out_aa(.(T230, T231), X452)
qs80_in_aa(.(T237, T231), X452) → U23_aa(T237, T231, X452, part87_in_aaaa(T237, T231, T235, T236))
U23_aa(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U24_aa(T237, T231, X452, qs80_in_aa(T235, X450))
qs80_in_aa(.(T325, T231), X452) → U27_aa(T325, T231, X452, part87_in_aaaa(T325, T231, T235, T236))
U27_aa(T325, T231, X452, part87_out_aaaa(T325, T231, T235, T236)) → U28_aa(T325, T231, X452, T236, qs80_in_aa(T235, T319))
qs80_in_aa([], []) → qs80_out_aa([], [])
U28_aa(T325, T231, X452, T236, qs80_out_aa(T235, T319)) → U29_aa(T325, T231, X452, T319, qs80_in_aa(T236, T324))
U29_aa(T325, T231, X452, T319, qs80_out_aa(T236, T324)) → U30_aa(T325, T231, X452, app121_in_aaaa(T319, T325, T324, X452))
app121_in_aaaa(.(T348, T349), T352, T353, .(T348, X657)) → U31_aaaa(T348, T349, T352, T353, X657, app121_in_aaaa(T349, T352, T353, X657))
app121_in_aaaa([], T362, T363, .(T362, T363)) → app121_out_aaaa([], T362, T363, .(T362, T363))
U31_aaaa(T348, T349, T352, T353, X657, app121_out_aaaa(T349, T352, T353, X657)) → app121_out_aaaa(.(T348, T349), T352, T353, .(T348, X657))
U30_aa(T325, T231, X452, app121_out_aaaa(T319, T325, T324, X452)) → qs80_out_aa(.(T325, T231), X452)
U24_aa(T237, T231, X452, qs80_out_aa(T235, X450)) → qs80_out_aa(.(T237, T231), X452)
U23_aa(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U25_aa(T237, T231, X452, T236, qs80_in_aa(T235, T319))
U25_aa(T237, T231, X452, T236, qs80_out_aa(T235, T319)) → U26_aa(T237, T231, X452, qs80_in_aa(T236, X451))
U26_aa(T237, T231, X452, qs80_out_aa(T236, X451)) → qs80_out_aa(.(T237, T231), X452)
U33_aaagg(T54, X10, T131, T31, T8, qs80_out_aa(T54, X10)) → p52_out_aaagg(T54, X10, T131, T31, T8)
p52_in_aaagg(T54, T217, T131, T31, T8) → U34_aaagg(T54, T217, T131, T31, T8, qs80_in_aa(T54, T217))
U34_aaagg(T54, T217, T131, T31, T8, qs80_out_aa(T54, T217)) → U35_aaagg(T54, T217, T131, T31, T8, app81_in_agag(T131, T31, T217, T8))
app81_in_agag(.(T389, T390), T391, T394, .(T389, T393)) → U32_agag(T389, T390, T391, T394, T393, app81_in_agag(T390, T391, T394, T393))
app81_in_agag([], T404, T405, .(T404, T405)) → app81_out_agag([], T404, T405, .(T404, T405))
U32_agag(T389, T390, T391, T394, T393, app81_out_agag(T390, T391, T394, T393)) → app81_out_agag(.(T389, T390), T391, T394, .(T389, T393))
U35_aaagg(T54, T217, T131, T31, T8, app81_out_agag(T131, T31, T217, T8)) → p52_out_aaagg(T54, T217, T131, T31, T8)
U50_ag(T31, T33, T32, T8, p52_out_aaagg(T54, X10, T131, T31, T8)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
qs1_in_ag(.(T421, .(T422, T423)), T8) → U51_ag(T421, T422, T423, T8, le100_in_aa(T421, T422))
U51_ag(T421, T422, T423, T8, le100_out_aa(T421, T422)) → qs1_out_ag(.(T421, .(T422, T423)), T8)
qs1_in_ag(.(T426, .(T428, T427)), T8) → U52_ag(T426, T428, T427, T8, le100_in_aa(T426, T428))
U52_ag(T426, T428, T427, T8, le100_out_aa(T426, T428)) → U53_ag(T426, T428, T427, T8, part20_in_gaaa(T426, T427, X740, X741))
U53_ag(T426, T428, T427, T8, part20_out_gaaa(T426, T427, X740, X741)) → qs1_out_ag(.(T426, .(T428, T427)), T8)
qs1_in_ag(.(T426, .(T436, T427)), T8) → U54_ag(T426, T436, T427, T8, le100_in_aa(T426, T436))
U54_ag(T426, T436, T427, T8, le100_out_aa(T426, T436)) → U55_ag(T426, T436, T427, T8, part20_in_gaaa(T426, T427, T434, T435))
U55_ag(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U56_ag(T426, T436, T427, T8, qs80_in_aa(T434, X9))
U56_ag(T426, T436, T427, T8, qs80_out_aa(T434, X9)) → qs1_out_ag(.(T426, .(T436, T427)), T8)
U55_ag(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U57_ag(T426, T436, T427, T8, T435, qs80_in_aa(T434, T442))
U57_ag(T426, T436, T427, T8, T435, qs80_out_aa(T434, T442)) → U58_ag(T426, T436, T427, T8, p52_in_aaagg(.(T436, T435), X10, T442, T426, T8))
U58_ag(T426, T436, T427, T8, p52_out_aaagg(.(T436, T435), X10, T442, T426, T8)) → qs1_out_ag(.(T426, .(T436, T427)), T8)
qs1_in_ag(.(T452, []), T8) → U59_ag(T452, T8, qs155_in_a(X9))
qs155_in_a([]) → qs155_out_a([])
U59_ag(T452, T8, qs155_out_a(X9)) → qs1_out_ag(.(T452, []), T8)
qs1_in_ag(.(T452, []), T8) → U60_ag(T452, T8, qs155_in_a(T455))
U60_ag(T452, T8, qs155_out_a(T455)) → U61_ag(T452, T8, qs155_in_a(X10))
U61_ag(T452, T8, qs155_out_a(X10)) → qs1_out_ag(.(T452, []), T8)
U60_ag(T452, T8, qs155_out_a(T455)) → U62_ag(T452, T8, T455, qs155_in_a(T460))
U62_ag(T452, T8, T455, qs155_out_a(T460)) → U63_ag(T452, T8, app162_in_gagg(T455, T452, T460, T8))
app162_in_gagg(.(T486, T487), T491, T489, .(T486, T490)) → U36_gagg(T486, T487, T491, T489, T490, app162_in_gagg(T487, T491, T489, T490))
app162_in_gagg([], T501, T502, .(T501, T502)) → app162_out_gagg([], T501, T502, .(T501, T502))
U36_gagg(T486, T487, T491, T489, T490, app162_out_gagg(T487, T491, T489, T490)) → app162_out_gagg(.(T486, T487), T491, T489, .(T486, T490))
U63_ag(T452, T8, app162_out_gagg(T455, T452, T460, T8)) → qs1_out_ag(.(T452, []), T8)
qs1_in_ag([], []) → qs1_out_ag([], [])

The argument filtering Pi contains the following mapping:
qs1_in_ag(x1, x2)  =  qs1_in_ag(x2)
U44_ag(x1, x2, x3, x4, x5)  =  U44_ag(x4, x5)
gt10_in_aa(x1, x2)  =  gt10_in_aa
U1_aa(x1, x2, x3)  =  U1_aa(x3)
gt10_out_aa(x1, x2)  =  gt10_out_aa(x1, x2)
qs1_out_ag(x1, x2)  =  qs1_out_ag(x2)
U45_ag(x1, x2, x3, x4, x5)  =  U45_ag(x4, x5)
U46_ag(x1, x2, x3, x4, x5)  =  U46_ag(x4, x5)
part20_in_gaaa(x1, x2, x3, x4)  =  part20_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x1, x6)
gt10_in_ga(x1, x2)  =  gt10_in_ga(x1)
s(x1)  =  s(x1)
U1_ga(x1, x2, x3)  =  U1_ga(x1, x3)
0  =  0
gt10_out_ga(x1, x2)  =  gt10_out_ga(x1, x2)
part20_out_gaaa(x1, x2, x3, x4)  =  part20_out_gaaa(x1)
U3_gaaa(x1, x2, x3, x4, x5, x6)  =  U3_gaaa(x1, x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x1, x6)
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x1, x6)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U8_ga(x1, x2, x3)  =  U8_ga(x1, x3)
le33_out_ga(x1, x2)  =  le33_out_ga(x1)
U6_gaaa(x1, x2, x3, x4, x5, x6)  =  U6_gaaa(x1, x6)
U7_gaaa(x1, x2, x3, x4, x5, x6)  =  U7_gaaa(x1, x6)
U47_ag(x1, x2, x3, x4, x5)  =  U47_ag(x1, x2, x4, x5)
U48_ag(x1, x2, x3, x4, x5)  =  U48_ag(x4, x5)
qs51_in_gaa(x1, x2, x3)  =  qs51_in_gaa(x1)
U37_gaa(x1, x2, x3, x4)  =  U37_gaa(x1, x4)
p56_in_gaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_in_gaaaaaa(x1)
U9_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_gaaaaaa(x1, x8)
p56_out_gaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_out_gaaaaaa(x1)
U10_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_gaaaaaa(x1, x8)
U11_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_gaaaaaa(x1, x8)
qs59_in_aa(x1, x2)  =  qs59_in_aa
U19_aa(x1, x2, x3, x4)  =  U19_aa(x4)
p56_in_aaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_in_aaaaaaa
U9_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_aaaaaaa(x8)
part20_in_aaaa(x1, x2, x3, x4)  =  part20_in_aaaa
U2_aaaa(x1, x2, x3, x4, x5, x6)  =  U2_aaaa(x6)
part20_out_aaaa(x1, x2, x3, x4)  =  part20_out_aaaa
U3_aaaa(x1, x2, x3, x4, x5, x6)  =  U3_aaaa(x6)
U4_aaaa(x1, x2, x3, x4, x5, x6)  =  U4_aaaa(x6)
U5_aaaa(x1, x2, x3, x4, x5, x6)  =  U5_aaaa(x6)
le33_in_aa(x1, x2)  =  le33_in_aa
U8_aa(x1, x2, x3)  =  U8_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
U6_aaaa(x1, x2, x3, x4, x5, x6)  =  U6_aaaa(x6)
U7_aaaa(x1, x2, x3, x4, x5, x6)  =  U7_aaaa(x6)
p56_out_aaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_out_aaaaaaa
U10_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_aaaaaaa(x8)
U11_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_aaaaaaa(x8)
qs59_out_aa(x1, x2)  =  qs59_out_aa
U12_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_aaaaaaa(x8)
U13_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_aaaaaaa(x8)
U14_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_aaaaaaa(x8)
U15_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_aaaaaaa(x8)
U16_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_aaaaaaa(x8)
U17_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_aaaaaaa(x8)
U18_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_aaaaaaa(x8)
.(x1, x2)  =  .(x1, x2)
[]  =  []
app70_in_aaaa(x1, x2, x3, x4)  =  app70_in_aaaa
U20_aaaa(x1, x2, x3, x4, x5, x6)  =  U20_aaaa(x6)
app70_out_aaaa(x1, x2, x3, x4)  =  app70_out_aaaa
U12_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_gaaaaaa(x1, x8)
U13_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_gaaaaaa(x1, x8)
U14_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_gaaaaaa(x1, x8)
U15_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_gaaaaaa(x1, x8)
U16_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_gaaaaaa(x1, x8)
U17_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_gaaaaaa(x1, x8)
U18_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_gaaaaaa(x1, x8)
app70_in_agaa(x1, x2, x3, x4)  =  app70_in_agaa(x2)
U20_agaa(x1, x2, x3, x4, x5, x6)  =  U20_agaa(x3, x6)
app70_out_agaa(x1, x2, x3, x4)  =  app70_out_agaa(x2)
qs51_out_gaa(x1, x2, x3)  =  qs51_out_gaa(x1)
U49_ag(x1, x2, x3, x4, x5, x6)  =  U49_ag(x1, x4, x6)
U50_ag(x1, x2, x3, x4, x5)  =  U50_ag(x4, x5)
p52_in_aaagg(x1, x2, x3, x4, x5)  =  p52_in_aaagg(x4, x5)
U33_aaagg(x1, x2, x3, x4, x5, x6)  =  U33_aaagg(x4, x5, x6)
qs80_in_aa(x1, x2)  =  qs80_in_aa
U22_aa(x1, x2, x3, x4)  =  U22_aa(x4)
part87_in_aaaa(x1, x2, x3, x4)  =  part87_in_aaaa
U38_aaaa(x1, x2, x3, x4, x5, x6)  =  U38_aaaa(x6)
part87_out_aaaa(x1, x2, x3, x4)  =  part87_out_aaaa
U39_aaaa(x1, x2, x3, x4, x5, x6)  =  U39_aaaa(x6)
U40_aaaa(x1, x2, x3, x4, x5, x6)  =  U40_aaaa(x6)
U41_aaaa(x1, x2, x3, x4, x5, x6)  =  U41_aaaa(x6)
le100_in_aa(x1, x2)  =  le100_in_aa
U21_aa(x1, x2, x3)  =  U21_aa(x3)
le100_out_aa(x1, x2)  =  le100_out_aa(x1)
U42_aaaa(x1, x2, x3, x4, x5, x6)  =  U42_aaaa(x6)
U43_aaaa(x1, x2, x3, x4, x5, x6)  =  U43_aaaa(x6)
qs80_out_aa(x1, x2)  =  qs80_out_aa
U23_aa(x1, x2, x3, x4)  =  U23_aa(x4)
U24_aa(x1, x2, x3, x4)  =  U24_aa(x4)
U27_aa(x1, x2, x3, x4)  =  U27_aa(x4)
U28_aa(x1, x2, x3, x4, x5)  =  U28_aa(x5)
U29_aa(x1, x2, x3, x4, x5)  =  U29_aa(x5)
U30_aa(x1, x2, x3, x4)  =  U30_aa(x4)
app121_in_aaaa(x1, x2, x3, x4)  =  app121_in_aaaa
U31_aaaa(x1, x2, x3, x4, x5, x6)  =  U31_aaaa(x6)
app121_out_aaaa(x1, x2, x3, x4)  =  app121_out_aaaa
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
U26_aa(x1, x2, x3, x4)  =  U26_aa(x4)
p52_out_aaagg(x1, x2, x3, x4, x5)  =  p52_out_aaagg(x4, x5)
U34_aaagg(x1, x2, x3, x4, x5, x6)  =  U34_aaagg(x4, x5, x6)
U35_aaagg(x1, x2, x3, x4, x5, x6)  =  U35_aaagg(x4, x5, x6)
app81_in_agag(x1, x2, x3, x4)  =  app81_in_agag(x2, x4)
U32_agag(x1, x2, x3, x4, x5, x6)  =  U32_agag(x1, x3, x5, x6)
app81_out_agag(x1, x2, x3, x4)  =  app81_out_agag(x1, x2, x3, x4)
U51_ag(x1, x2, x3, x4, x5)  =  U51_ag(x4, x5)
U52_ag(x1, x2, x3, x4, x5)  =  U52_ag(x4, x5)
U53_ag(x1, x2, x3, x4, x5)  =  U53_ag(x4, x5)
U54_ag(x1, x2, x3, x4, x5)  =  U54_ag(x4, x5)
U55_ag(x1, x2, x3, x4, x5)  =  U55_ag(x1, x4, x5)
U56_ag(x1, x2, x3, x4, x5)  =  U56_ag(x4, x5)
U57_ag(x1, x2, x3, x4, x5, x6)  =  U57_ag(x1, x4, x6)
U58_ag(x1, x2, x3, x4, x5)  =  U58_ag(x4, x5)
U59_ag(x1, x2, x3)  =  U59_ag(x2, x3)
qs155_in_a(x1)  =  qs155_in_a
qs155_out_a(x1)  =  qs155_out_a(x1)
U60_ag(x1, x2, x3)  =  U60_ag(x2, x3)
U61_ag(x1, x2, x3)  =  U61_ag(x2, x3)
U62_ag(x1, x2, x3, x4)  =  U62_ag(x2, x3, x4)
U63_ag(x1, x2, x3)  =  U63_ag(x2, x3)
app162_in_gagg(x1, x2, x3, x4)  =  app162_in_gagg(x1, x3, x4)
U36_gagg(x1, x2, x3, x4, x5, x6)  =  U36_gagg(x1, x2, x4, x5, x6)
app162_out_gagg(x1, x2, x3, x4)  =  app162_out_gagg(x1, x2, x3, x4)
QS1_IN_AG(x1, x2)  =  QS1_IN_AG(x2)
U44_AG(x1, x2, x3, x4, x5)  =  U44_AG(x4, x5)
GT10_IN_AA(x1, x2)  =  GT10_IN_AA
U1_AA(x1, x2, x3)  =  U1_AA(x3)
U45_AG(x1, x2, x3, x4, x5)  =  U45_AG(x4, x5)
U46_AG(x1, x2, x3, x4, x5)  =  U46_AG(x4, x5)
PART20_IN_GAAA(x1, x2, x3, x4)  =  PART20_IN_GAAA(x1)
U2_GAAA(x1, x2, x3, x4, x5, x6)  =  U2_GAAA(x1, x6)
GT10_IN_GA(x1, x2)  =  GT10_IN_GA(x1)
U1_GA(x1, x2, x3)  =  U1_GA(x1, x3)
U3_GAAA(x1, x2, x3, x4, x5, x6)  =  U3_GAAA(x1, x6)
U4_GAAA(x1, x2, x3, x4, x5, x6)  =  U4_GAAA(x1, x6)
U5_GAAA(x1, x2, x3, x4, x5, x6)  =  U5_GAAA(x1, x6)
LE33_IN_GA(x1, x2)  =  LE33_IN_GA(x1)
U8_GA(x1, x2, x3)  =  U8_GA(x1, x3)
U6_GAAA(x1, x2, x3, x4, x5, x6)  =  U6_GAAA(x1, x6)
U7_GAAA(x1, x2, x3, x4, x5, x6)  =  U7_GAAA(x1, x6)
U47_AG(x1, x2, x3, x4, x5)  =  U47_AG(x1, x2, x4, x5)
U48_AG(x1, x2, x3, x4, x5)  =  U48_AG(x4, x5)
QS51_IN_GAA(x1, x2, x3)  =  QS51_IN_GAA(x1)
U37_GAA(x1, x2, x3, x4)  =  U37_GAA(x1, x4)
P56_IN_GAAAAAA(x1, x2, x3, x4, x5, x6, x7)  =  P56_IN_GAAAAAA(x1)
U9_GAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_GAAAAAA(x1, x8)
U10_GAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_GAAAAAA(x1, x8)
U11_GAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_GAAAAAA(x1, x8)
QS59_IN_AA(x1, x2)  =  QS59_IN_AA
U19_AA(x1, x2, x3, x4)  =  U19_AA(x4)
P56_IN_AAAAAAA(x1, x2, x3, x4, x5, x6, x7)  =  P56_IN_AAAAAAA
U9_AAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_AAAAAAA(x8)
PART20_IN_AAAA(x1, x2, x3, x4)  =  PART20_IN_AAAA
U2_AAAA(x1, x2, x3, x4, x5, x6)  =  U2_AAAA(x6)
U3_AAAA(x1, x2, x3, x4, x5, x6)  =  U3_AAAA(x6)
U4_AAAA(x1, x2, x3, x4, x5, x6)  =  U4_AAAA(x6)
U5_AAAA(x1, x2, x3, x4, x5, x6)  =  U5_AAAA(x6)
LE33_IN_AA(x1, x2)  =  LE33_IN_AA
U8_AA(x1, x2, x3)  =  U8_AA(x3)
U6_AAAA(x1, x2, x3, x4, x5, x6)  =  U6_AAAA(x6)
U7_AAAA(x1, x2, x3, x4, x5, x6)  =  U7_AAAA(x6)
U10_AAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_AAAAAAA(x8)
U11_AAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_AAAAAAA(x8)
U12_AAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_AAAAAAA(x8)
U13_AAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_AAAAAAA(x8)
U14_AAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_AAAAAAA(x8)
U15_AAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_AAAAAAA(x8)
U16_AAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_AAAAAAA(x8)
U17_AAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_AAAAAAA(x8)
U18_AAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_AAAAAAA(x8)
APP70_IN_AAAA(x1, x2, x3, x4)  =  APP70_IN_AAAA
U20_AAAA(x1, x2, x3, x4, x5, x6)  =  U20_AAAA(x6)
U12_GAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_GAAAAAA(x1, x8)
U13_GAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_GAAAAAA(x1, x8)
U14_GAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_GAAAAAA(x1, x8)
U15_GAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_GAAAAAA(x1, x8)
U16_GAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_GAAAAAA(x1, x8)
U17_GAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_GAAAAAA(x1, x8)
U18_GAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_GAAAAAA(x1, x8)
APP70_IN_AGAA(x1, x2, x3, x4)  =  APP70_IN_AGAA(x2)
U20_AGAA(x1, x2, x3, x4, x5, x6)  =  U20_AGAA(x3, x6)
U49_AG(x1, x2, x3, x4, x5, x6)  =  U49_AG(x1, x4, x6)
U50_AG(x1, x2, x3, x4, x5)  =  U50_AG(x4, x5)
P52_IN_AAAGG(x1, x2, x3, x4, x5)  =  P52_IN_AAAGG(x4, x5)
U33_AAAGG(x1, x2, x3, x4, x5, x6)  =  U33_AAAGG(x4, x5, x6)
QS80_IN_AA(x1, x2)  =  QS80_IN_AA
U22_AA(x1, x2, x3, x4)  =  U22_AA(x4)
PART87_IN_AAAA(x1, x2, x3, x4)  =  PART87_IN_AAAA
U38_AAAA(x1, x2, x3, x4, x5, x6)  =  U38_AAAA(x6)
U39_AAAA(x1, x2, x3, x4, x5, x6)  =  U39_AAAA(x6)
U40_AAAA(x1, x2, x3, x4, x5, x6)  =  U40_AAAA(x6)
U41_AAAA(x1, x2, x3, x4, x5, x6)  =  U41_AAAA(x6)
LE100_IN_AA(x1, x2)  =  LE100_IN_AA
U21_AA(x1, x2, x3)  =  U21_AA(x3)
U42_AAAA(x1, x2, x3, x4, x5, x6)  =  U42_AAAA(x6)
U43_AAAA(x1, x2, x3, x4, x5, x6)  =  U43_AAAA(x6)
U23_AA(x1, x2, x3, x4)  =  U23_AA(x4)
U24_AA(x1, x2, x3, x4)  =  U24_AA(x4)
U27_AA(x1, x2, x3, x4)  =  U27_AA(x4)
U28_AA(x1, x2, x3, x4, x5)  =  U28_AA(x5)
U29_AA(x1, x2, x3, x4, x5)  =  U29_AA(x5)
U30_AA(x1, x2, x3, x4)  =  U30_AA(x4)
APP121_IN_AAAA(x1, x2, x3, x4)  =  APP121_IN_AAAA
U31_AAAA(x1, x2, x3, x4, x5, x6)  =  U31_AAAA(x6)
U25_AA(x1, x2, x3, x4, x5)  =  U25_AA(x5)
U26_AA(x1, x2, x3, x4)  =  U26_AA(x4)
U34_AAAGG(x1, x2, x3, x4, x5, x6)  =  U34_AAAGG(x4, x5, x6)
U35_AAAGG(x1, x2, x3, x4, x5, x6)  =  U35_AAAGG(x4, x5, x6)
APP81_IN_AGAG(x1, x2, x3, x4)  =  APP81_IN_AGAG(x2, x4)
U32_AGAG(x1, x2, x3, x4, x5, x6)  =  U32_AGAG(x1, x3, x5, x6)
U51_AG(x1, x2, x3, x4, x5)  =  U51_AG(x4, x5)
U52_AG(x1, x2, x3, x4, x5)  =  U52_AG(x4, x5)
U53_AG(x1, x2, x3, x4, x5)  =  U53_AG(x4, x5)
U54_AG(x1, x2, x3, x4, x5)  =  U54_AG(x4, x5)
U55_AG(x1, x2, x3, x4, x5)  =  U55_AG(x1, x4, x5)
U56_AG(x1, x2, x3, x4, x5)  =  U56_AG(x4, x5)
U57_AG(x1, x2, x3, x4, x5, x6)  =  U57_AG(x1, x4, x6)
U58_AG(x1, x2, x3, x4, x5)  =  U58_AG(x4, x5)
U59_AG(x1, x2, x3)  =  U59_AG(x2, x3)
QS155_IN_A(x1)  =  QS155_IN_A
U60_AG(x1, x2, x3)  =  U60_AG(x2, x3)
U61_AG(x1, x2, x3)  =  U61_AG(x2, x3)
U62_AG(x1, x2, x3, x4)  =  U62_AG(x2, x3, x4)
U63_AG(x1, x2, x3)  =  U63_AG(x2, x3)
APP162_IN_GAGG(x1, x2, x3, x4)  =  APP162_IN_GAGG(x1, x3, x4)
U36_GAGG(x1, x2, x3, x4, x5, x6)  =  U36_GAGG(x1, x2, x4, x5, x6)

We have to consider all (P,R,Pi)-chains

(6) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

QS1_IN_AG(.(T26, .(T27, T28)), T8) → U44_AG(T26, T27, T28, T8, gt10_in_aa(T26, T27))
QS1_IN_AG(.(T26, .(T27, T28)), T8) → GT10_IN_AA(T26, T27)
GT10_IN_AA(s(T46), s(T47)) → U1_AA(T46, T47, gt10_in_aa(T46, T47))
GT10_IN_AA(s(T46), s(T47)) → GT10_IN_AA(T46, T47)
QS1_IN_AG(.(T31, .(T33, T32)), T8) → U45_AG(T31, T33, T32, T8, gt10_in_aa(T31, T33))
U45_AG(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U46_AG(T31, T33, T32, T8, part20_in_gaaa(T31, T32, X47, X48))
U45_AG(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → PART20_IN_GAAA(T31, T32, X47, X48)
PART20_IN_GAAA(T70, .(T73, T74), .(T73, X119), X120) → U2_GAAA(T70, T73, T74, X119, X120, gt10_in_ga(T70, T73))
PART20_IN_GAAA(T70, .(T73, T74), .(T73, X119), X120) → GT10_IN_GA(T70, T73)
GT10_IN_GA(s(T46), s(T47)) → U1_GA(T46, T47, gt10_in_ga(T46, T47))
GT10_IN_GA(s(T46), s(T47)) → GT10_IN_GA(T46, T47)
PART20_IN_GAAA(T70, .(T73, T77), .(T73, X119), X120) → U3_GAAA(T70, T73, T77, X119, X120, gt10_in_ga(T70, T73))
U3_GAAA(T70, T73, T77, X119, X120, gt10_out_ga(T70, T73)) → U4_GAAA(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
U3_GAAA(T70, T73, T77, X119, X120, gt10_out_ga(T70, T73)) → PART20_IN_GAAA(T70, T77, X119, X120)
PART20_IN_GAAA(T95, .(T98, T99), X170, .(T98, X171)) → U5_GAAA(T95, T98, T99, X170, X171, le33_in_ga(T95, T98))
PART20_IN_GAAA(T95, .(T98, T99), X170, .(T98, X171)) → LE33_IN_GA(T95, T98)
LE33_IN_GA(s(T113), s(T115)) → U8_GA(T113, T115, le33_in_ga(T113, T115))
LE33_IN_GA(s(T113), s(T115)) → LE33_IN_GA(T113, T115)
PART20_IN_GAAA(T95, .(T98, T102), X170, .(T98, X171)) → U6_GAAA(T95, T98, T102, X170, X171, le33_in_ga(T95, T98))
U6_GAAA(T95, T98, T102, X170, X171, le33_out_ga(T95, T98)) → U7_GAAA(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
U6_GAAA(T95, T98, T102, X170, X171, le33_out_ga(T95, T98)) → PART20_IN_GAAA(T95, T102, X170, X171)
U45_AG(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U47_AG(T31, T33, T32, T8, part20_in_gaaa(T31, T32, T53, T54))
U47_AG(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U48_AG(T31, T33, T32, T8, qs51_in_gaa(T33, T53, X9))
U47_AG(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → QS51_IN_GAA(T33, T53, X9)
QS51_IN_GAA(T148, T149, X273) → U37_GAA(T148, T149, X273, p56_in_gaaaaaa(T148, T149, X269, X270, X271, X272, X273))
QS51_IN_GAA(T148, T149, X273) → P56_IN_GAAAAAA(T148, T149, X269, X270, X271, X272, X273)
P56_IN_GAAAAAA(T148, T149, X269, X270, X271, X272, X273) → U9_GAAAAAA(T148, T149, X269, X270, X271, X272, X273, part20_in_gaaa(T148, T149, X269, X270))
P56_IN_GAAAAAA(T148, T149, X269, X270, X271, X272, X273) → PART20_IN_GAAA(T148, T149, X269, X270)
P56_IN_GAAAAAA(T148, T149, T153, T154, X271, X272, X273) → U10_GAAAAAA(T148, T149, T153, T154, X271, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U10_GAAAAAA(T148, T149, T153, T154, X271, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U11_GAAAAAA(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
U10_GAAAAAA(T148, T149, T153, T154, X271, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → QS59_IN_AA(T153, X271)
QS59_IN_AA(.(T171, T172), X335) → U19_AA(T171, T172, X335, p56_in_aaaaaaa(T171, T172, X331, X332, X333, X334, X335))
QS59_IN_AA(.(T171, T172), X335) → P56_IN_AAAAAAA(T171, T172, X331, X332, X333, X334, X335)
P56_IN_AAAAAAA(T148, T149, X269, X270, X271, X272, X273) → U9_AAAAAAA(T148, T149, X269, X270, X271, X272, X273, part20_in_aaaa(T148, T149, X269, X270))
P56_IN_AAAAAAA(T148, T149, X269, X270, X271, X272, X273) → PART20_IN_AAAA(T148, T149, X269, X270)
PART20_IN_AAAA(T70, .(T73, T74), .(T73, X119), X120) → U2_AAAA(T70, T73, T74, X119, X120, gt10_in_aa(T70, T73))
PART20_IN_AAAA(T70, .(T73, T74), .(T73, X119), X120) → GT10_IN_AA(T70, T73)
PART20_IN_AAAA(T70, .(T73, T77), .(T73, X119), X120) → U3_AAAA(T70, T73, T77, X119, X120, gt10_in_aa(T70, T73))
U3_AAAA(T70, T73, T77, X119, X120, gt10_out_aa(T70, T73)) → U4_AAAA(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
U3_AAAA(T70, T73, T77, X119, X120, gt10_out_aa(T70, T73)) → PART20_IN_GAAA(T70, T77, X119, X120)
PART20_IN_AAAA(T95, .(T98, T99), X170, .(T98, X171)) → U5_AAAA(T95, T98, T99, X170, X171, le33_in_aa(T95, T98))
PART20_IN_AAAA(T95, .(T98, T99), X170, .(T98, X171)) → LE33_IN_AA(T95, T98)
LE33_IN_AA(s(T113), s(T115)) → U8_AA(T113, T115, le33_in_aa(T113, T115))
LE33_IN_AA(s(T113), s(T115)) → LE33_IN_AA(T113, T115)
PART20_IN_AAAA(T95, .(T98, T102), X170, .(T98, X171)) → U6_AAAA(T95, T98, T102, X170, X171, le33_in_aa(T95, T98))
U6_AAAA(T95, T98, T102, X170, X171, le33_out_aa(T95, T98)) → U7_AAAA(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
U6_AAAA(T95, T98, T102, X170, X171, le33_out_aa(T95, T98)) → PART20_IN_GAAA(T95, T102, X170, X171)
P56_IN_AAAAAAA(T148, T149, T153, T154, X271, X272, X273) → U10_AAAAAAA(T148, T149, T153, T154, X271, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U10_AAAAAAA(T148, T149, T153, T154, X271, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U11_AAAAAAA(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
U10_AAAAAAA(T148, T149, T153, T154, X271, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → QS59_IN_AA(T153, X271)
P56_IN_AAAAAAA(T148, T149, T153, T154, T160, X272, X273) → U12_AAAAAAA(T148, T149, T153, T154, T160, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U12_AAAAAAA(T148, T149, T153, T154, T160, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U13_AAAAAAA(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U12_AAAAAAA(T148, T149, T153, T154, T160, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → QS59_IN_AA(T153, T160)
U13_AAAAAAA(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_AAAAAAA(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U13_AAAAAAA(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → QS59_IN_AA(T154, X272)
P56_IN_AAAAAAA(T148, T149, T153, T154, T160, T178, X273) → U15_AAAAAAA(T148, T149, T153, T154, T160, T178, X273, part20_in_aaaa(T148, T149, T153, T154))
U15_AAAAAAA(T148, T149, T153, T154, T160, T178, X273, part20_out_aaaa(T148, T149, T153, T154)) → U16_AAAAAAA(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U15_AAAAAAA(T148, T149, T153, T154, T160, T178, X273, part20_out_aaaa(T148, T149, T153, T154)) → QS59_IN_AA(T153, T160)
U16_AAAAAAA(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_AAAAAAA(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U16_AAAAAAA(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → QS59_IN_AA(T154, T178)
U17_AAAAAAA(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_AAAAAAA(T148, T149, T153, T154, T160, T178, X273, app70_in_aaaa(T160, T148, T178, X273))
U17_AAAAAAA(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → APP70_IN_AAAA(T160, T148, T178, X273)
APP70_IN_AAAA(.(T201, T202), T203, T204, .(T201, X391)) → U20_AAAA(T201, T202, T203, T204, X391, app70_in_aaaa(T202, T203, T204, X391))
APP70_IN_AAAA(.(T201, T202), T203, T204, .(T201, X391)) → APP70_IN_AAAA(T202, T203, T204, X391)
P56_IN_GAAAAAA(T148, T149, T153, T154, T160, X272, X273) → U12_GAAAAAA(T148, T149, T153, T154, T160, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U12_GAAAAAA(T148, T149, T153, T154, T160, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U13_GAAAAAA(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U12_GAAAAAA(T148, T149, T153, T154, T160, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → QS59_IN_AA(T153, T160)
U13_GAAAAAA(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_GAAAAAA(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U13_GAAAAAA(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → QS59_IN_AA(T154, X272)
P56_IN_GAAAAAA(T148, T149, T153, T154, T160, T178, X273) → U15_GAAAAAA(T148, T149, T153, T154, T160, T178, X273, part20_in_gaaa(T148, T149, T153, T154))
U15_GAAAAAA(T148, T149, T153, T154, T160, T178, X273, part20_out_gaaa(T148, T149, T153, T154)) → U16_GAAAAAA(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U15_GAAAAAA(T148, T149, T153, T154, T160, T178, X273, part20_out_gaaa(T148, T149, T153, T154)) → QS59_IN_AA(T153, T160)
U16_GAAAAAA(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_GAAAAAA(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U16_GAAAAAA(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → QS59_IN_AA(T154, T178)
U17_GAAAAAA(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_GAAAAAA(T148, T149, T153, T154, T160, T178, X273, app70_in_agaa(T160, T148, T178, X273))
U17_GAAAAAA(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → APP70_IN_AGAA(T160, T148, T178, X273)
APP70_IN_AGAA(.(T201, T202), T203, T204, .(T201, X391)) → U20_AGAA(T201, T202, T203, T204, X391, app70_in_agaa(T202, T203, T204, X391))
APP70_IN_AGAA(.(T201, T202), T203, T204, .(T201, X391)) → APP70_IN_AGAA(T202, T203, T204, X391)
U47_AG(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U49_AG(T31, T33, T32, T8, T54, qs51_in_gaa(T33, T53, T131))
U49_AG(T31, T33, T32, T8, T54, qs51_out_gaa(T33, T53, T131)) → U50_AG(T31, T33, T32, T8, p52_in_aaagg(T54, X10, T131, T31, T8))
U49_AG(T31, T33, T32, T8, T54, qs51_out_gaa(T33, T53, T131)) → P52_IN_AAAGG(T54, X10, T131, T31, T8)
P52_IN_AAAGG(T54, X10, T131, T31, T8) → U33_AAAGG(T54, X10, T131, T31, T8, qs80_in_aa(T54, X10))
P52_IN_AAAGG(T54, X10, T131, T31, T8) → QS80_IN_AA(T54, X10)
QS80_IN_AA(.(T230, T231), X452) → U22_AA(T230, T231, X452, part87_in_aaaa(T230, T231, X448, X449))
QS80_IN_AA(.(T230, T231), X452) → PART87_IN_AAAA(T230, T231, X448, X449)
PART87_IN_AAAA(T256, .(T257, T258), .(T257, X503), X504) → U38_AAAA(T256, T257, T258, X503, X504, gt10_in_aa(T256, T257))
PART87_IN_AAAA(T256, .(T257, T258), .(T257, X503), X504) → GT10_IN_AA(T256, T257)
PART87_IN_AAAA(T261, .(T257, T262), .(T257, X503), X504) → U39_AAAA(T261, T257, T262, X503, X504, gt10_in_aa(T261, T257))
U39_AAAA(T261, T257, T262, X503, X504, gt10_out_aa(T261, T257)) → U40_AAAA(T261, T257, T262, X503, X504, part20_in_gaaa(T261, T262, X503, X504))
U39_AAAA(T261, T257, T262, X503, X504, gt10_out_aa(T261, T257)) → PART20_IN_GAAA(T261, T262, X503, X504)
PART87_IN_AAAA(T283, .(T284, T285), X554, .(T284, X555)) → U41_AAAA(T283, T284, T285, X554, X555, le100_in_aa(T283, T284))
PART87_IN_AAAA(T283, .(T284, T285), X554, .(T284, X555)) → LE100_IN_AA(T283, T284)
LE100_IN_AA(s(T302), s(T303)) → U21_AA(T302, T303, le100_in_aa(T302, T303))
LE100_IN_AA(s(T302), s(T303)) → LE100_IN_AA(T302, T303)
PART87_IN_AAAA(T288, .(T284, T289), X554, .(T284, X555)) → U42_AAAA(T288, T284, T289, X554, X555, le100_in_aa(T288, T284))
U42_AAAA(T288, T284, T289, X554, X555, le100_out_aa(T288, T284)) → U43_AAAA(T288, T284, T289, X554, X555, part20_in_gaaa(T288, T289, X554, X555))
U42_AAAA(T288, T284, T289, X554, X555, le100_out_aa(T288, T284)) → PART20_IN_GAAA(T288, T289, X554, X555)
QS80_IN_AA(.(T237, T231), X452) → U23_AA(T237, T231, X452, part87_in_aaaa(T237, T231, T235, T236))
U23_AA(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U24_AA(T237, T231, X452, qs80_in_aa(T235, X450))
U23_AA(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → QS80_IN_AA(T235, X450)
QS80_IN_AA(.(T325, T231), X452) → U27_AA(T325, T231, X452, part87_in_aaaa(T325, T231, T235, T236))
U27_AA(T325, T231, X452, part87_out_aaaa(T325, T231, T235, T236)) → U28_AA(T325, T231, X452, T236, qs80_in_aa(T235, T319))
U27_AA(T325, T231, X452, part87_out_aaaa(T325, T231, T235, T236)) → QS80_IN_AA(T235, T319)
U28_AA(T325, T231, X452, T236, qs80_out_aa(T235, T319)) → U29_AA(T325, T231, X452, T319, qs80_in_aa(T236, T324))
U28_AA(T325, T231, X452, T236, qs80_out_aa(T235, T319)) → QS80_IN_AA(T236, T324)
U29_AA(T325, T231, X452, T319, qs80_out_aa(T236, T324)) → U30_AA(T325, T231, X452, app121_in_aaaa(T319, T325, T324, X452))
U29_AA(T325, T231, X452, T319, qs80_out_aa(T236, T324)) → APP121_IN_AAAA(T319, T325, T324, X452)
APP121_IN_AAAA(.(T348, T349), T352, T353, .(T348, X657)) → U31_AAAA(T348, T349, T352, T353, X657, app121_in_aaaa(T349, T352, T353, X657))
APP121_IN_AAAA(.(T348, T349), T352, T353, .(T348, X657)) → APP121_IN_AAAA(T349, T352, T353, X657)
U23_AA(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U25_AA(T237, T231, X452, T236, qs80_in_aa(T235, T319))
U25_AA(T237, T231, X452, T236, qs80_out_aa(T235, T319)) → U26_AA(T237, T231, X452, qs80_in_aa(T236, X451))
U25_AA(T237, T231, X452, T236, qs80_out_aa(T235, T319)) → QS80_IN_AA(T236, X451)
P52_IN_AAAGG(T54, T217, T131, T31, T8) → U34_AAAGG(T54, T217, T131, T31, T8, qs80_in_aa(T54, T217))
U34_AAAGG(T54, T217, T131, T31, T8, qs80_out_aa(T54, T217)) → U35_AAAGG(T54, T217, T131, T31, T8, app81_in_agag(T131, T31, T217, T8))
U34_AAAGG(T54, T217, T131, T31, T8, qs80_out_aa(T54, T217)) → APP81_IN_AGAG(T131, T31, T217, T8)
APP81_IN_AGAG(.(T389, T390), T391, T394, .(T389, T393)) → U32_AGAG(T389, T390, T391, T394, T393, app81_in_agag(T390, T391, T394, T393))
APP81_IN_AGAG(.(T389, T390), T391, T394, .(T389, T393)) → APP81_IN_AGAG(T390, T391, T394, T393)
QS1_IN_AG(.(T421, .(T422, T423)), T8) → U51_AG(T421, T422, T423, T8, le100_in_aa(T421, T422))
QS1_IN_AG(.(T421, .(T422, T423)), T8) → LE100_IN_AA(T421, T422)
QS1_IN_AG(.(T426, .(T428, T427)), T8) → U52_AG(T426, T428, T427, T8, le100_in_aa(T426, T428))
U52_AG(T426, T428, T427, T8, le100_out_aa(T426, T428)) → U53_AG(T426, T428, T427, T8, part20_in_gaaa(T426, T427, X740, X741))
U52_AG(T426, T428, T427, T8, le100_out_aa(T426, T428)) → PART20_IN_GAAA(T426, T427, X740, X741)
QS1_IN_AG(.(T426, .(T436, T427)), T8) → U54_AG(T426, T436, T427, T8, le100_in_aa(T426, T436))
U54_AG(T426, T436, T427, T8, le100_out_aa(T426, T436)) → U55_AG(T426, T436, T427, T8, part20_in_gaaa(T426, T427, T434, T435))
U54_AG(T426, T436, T427, T8, le100_out_aa(T426, T436)) → PART20_IN_GAAA(T426, T427, T434, T435)
U55_AG(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U56_AG(T426, T436, T427, T8, qs80_in_aa(T434, X9))
U55_AG(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → QS80_IN_AA(T434, X9)
U55_AG(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U57_AG(T426, T436, T427, T8, T435, qs80_in_aa(T434, T442))
U57_AG(T426, T436, T427, T8, T435, qs80_out_aa(T434, T442)) → U58_AG(T426, T436, T427, T8, p52_in_aaagg(.(T436, T435), X10, T442, T426, T8))
U57_AG(T426, T436, T427, T8, T435, qs80_out_aa(T434, T442)) → P52_IN_AAAGG(.(T436, T435), X10, T442, T426, T8)
QS1_IN_AG(.(T452, []), T8) → U59_AG(T452, T8, qs155_in_a(X9))
QS1_IN_AG(.(T452, []), T8) → QS155_IN_A(X9)
QS1_IN_AG(.(T452, []), T8) → U60_AG(T452, T8, qs155_in_a(T455))
U60_AG(T452, T8, qs155_out_a(T455)) → U61_AG(T452, T8, qs155_in_a(X10))
U60_AG(T452, T8, qs155_out_a(T455)) → QS155_IN_A(X10)
U60_AG(T452, T8, qs155_out_a(T455)) → U62_AG(T452, T8, T455, qs155_in_a(T460))
U62_AG(T452, T8, T455, qs155_out_a(T460)) → U63_AG(T452, T8, app162_in_gagg(T455, T452, T460, T8))
U62_AG(T452, T8, T455, qs155_out_a(T460)) → APP162_IN_GAGG(T455, T452, T460, T8)
APP162_IN_GAGG(.(T486, T487), T491, T489, .(T486, T490)) → U36_GAGG(T486, T487, T491, T489, T490, app162_in_gagg(T487, T491, T489, T490))
APP162_IN_GAGG(.(T486, T487), T491, T489, .(T486, T490)) → APP162_IN_GAGG(T487, T491, T489, T490)

The TRS R consists of the following rules:

qs1_in_ag(.(T26, .(T27, T28)), T8) → U44_ag(T26, T27, T28, T8, gt10_in_aa(T26, T27))
gt10_in_aa(s(T46), s(T47)) → U1_aa(T46, T47, gt10_in_aa(T46, T47))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U1_aa(T46, T47, gt10_out_aa(T46, T47)) → gt10_out_aa(s(T46), s(T47))
U44_ag(T26, T27, T28, T8, gt10_out_aa(T26, T27)) → qs1_out_ag(.(T26, .(T27, T28)), T8)
qs1_in_ag(.(T31, .(T33, T32)), T8) → U45_ag(T31, T33, T32, T8, gt10_in_aa(T31, T33))
U45_ag(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U46_ag(T31, T33, T32, T8, part20_in_gaaa(T31, T32, X47, X48))
part20_in_gaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_gaaa(T70, T73, T74, X119, X120, gt10_in_ga(T70, T73))
gt10_in_ga(s(T46), s(T47)) → U1_ga(T46, T47, gt10_in_ga(T46, T47))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U1_ga(T46, T47, gt10_out_ga(T46, T47)) → gt10_out_ga(s(T46), s(T47))
U2_gaaa(T70, T73, T74, X119, X120, gt10_out_ga(T70, T73)) → part20_out_gaaa(T70, .(T73, T74), .(T73, X119), X120)
part20_in_gaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_gaaa(T70, T73, T77, X119, X120, gt10_in_ga(T70, T73))
U3_gaaa(T70, T73, T77, X119, X120, gt10_out_ga(T70, T73)) → U4_gaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
part20_in_gaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_gaaa(T95, T98, T99, X170, X171, le33_in_ga(T95, T98))
le33_in_ga(s(T113), s(T115)) → U8_ga(T113, T115, le33_in_ga(T113, T115))
le33_in_ga(0, s(T122)) → le33_out_ga(0, s(T122))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U8_ga(T113, T115, le33_out_ga(T113, T115)) → le33_out_ga(s(T113), s(T115))
U5_gaaa(T95, T98, T99, X170, X171, le33_out_ga(T95, T98)) → part20_out_gaaa(T95, .(T98, T99), X170, .(T98, X171))
part20_in_gaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_gaaa(T95, T98, T102, X170, X171, le33_in_ga(T95, T98))
U6_gaaa(T95, T98, T102, X170, X171, le33_out_ga(T95, T98)) → U7_gaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
part20_in_gaaa(T128, [], [], []) → part20_out_gaaa(T128, [], [], [])
U7_gaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_gaaa(T95, .(T98, T102), X170, .(T98, X171))
U4_gaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_gaaa(T70, .(T73, T77), .(T73, X119), X120)
U46_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, X47, X48)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
U45_ag(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U47_ag(T31, T33, T32, T8, part20_in_gaaa(T31, T32, T53, T54))
U47_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U48_ag(T31, T33, T32, T8, qs51_in_gaa(T33, T53, X9))
qs51_in_gaa(T148, T149, X273) → U37_gaa(T148, T149, X273, p56_in_gaaaaaa(T148, T149, X269, X270, X271, X272, X273))
p56_in_gaaaaaa(T148, T149, X269, X270, X271, X272, X273) → U9_gaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_in_gaaa(T148, T149, X269, X270))
U9_gaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_out_gaaa(T148, T149, X269, X270)) → p56_out_gaaaaaa(T148, T149, X269, X270, X271, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, X271, X272, X273) → U10_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U10_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U11_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
qs59_in_aa(.(T171, T172), X335) → U19_aa(T171, T172, X335, p56_in_aaaaaaa(T171, T172, X331, X332, X333, X334, X335))
p56_in_aaaaaaa(T148, T149, X269, X270, X271, X272, X273) → U9_aaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_in_aaaa(T148, T149, X269, X270))
part20_in_aaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_aaaa(T70, T73, T74, X119, X120, gt10_in_aa(T70, T73))
U2_aaaa(T70, T73, T74, X119, X120, gt10_out_aa(T70, T73)) → part20_out_aaaa(T70, .(T73, T74), .(T73, X119), X120)
part20_in_aaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_aaaa(T70, T73, T77, X119, X120, gt10_in_aa(T70, T73))
U3_aaaa(T70, T73, T77, X119, X120, gt10_out_aa(T70, T73)) → U4_aaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
U4_aaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_aaaa(T70, .(T73, T77), .(T73, X119), X120)
part20_in_aaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_aaaa(T95, T98, T99, X170, X171, le33_in_aa(T95, T98))
le33_in_aa(s(T113), s(T115)) → U8_aa(T113, T115, le33_in_aa(T113, T115))
le33_in_aa(0, s(T122)) → le33_out_aa(0, s(T122))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U8_aa(T113, T115, le33_out_aa(T113, T115)) → le33_out_aa(s(T113), s(T115))
U5_aaaa(T95, T98, T99, X170, X171, le33_out_aa(T95, T98)) → part20_out_aaaa(T95, .(T98, T99), X170, .(T98, X171))
part20_in_aaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_aaaa(T95, T98, T102, X170, X171, le33_in_aa(T95, T98))
U6_aaaa(T95, T98, T102, X170, X171, le33_out_aa(T95, T98)) → U7_aaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
U7_aaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_aaaa(T95, .(T98, T102), X170, .(T98, X171))
part20_in_aaaa(T128, [], [], []) → part20_out_aaaa(T128, [], [], [])
U9_aaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_out_aaaa(T148, T149, X269, X270)) → p56_out_aaaaaaa(T148, T149, X269, X270, X271, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, X271, X272, X273) → U10_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U10_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U11_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
qs59_in_aa([], []) → qs59_out_aa([], [])
U11_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_out_aa(T153, X271)) → p56_out_aaaaaaa(T148, T149, T153, T154, X271, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, T160, X272, X273) → U12_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U12_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U13_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U13_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U14_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T154, X272)) → p56_out_aaaaaaa(T148, T149, T153, T154, T160, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, T160, T178, X273) → U15_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_in_aaaa(T148, T149, T153, T154))
U15_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_out_aaaa(T148, T149, T153, T154)) → U16_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U16_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U17_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_in_aaaa(T160, T148, T178, X273))
app70_in_aaaa(.(T201, T202), T203, T204, .(T201, X391)) → U20_aaaa(T201, T202, T203, T204, X391, app70_in_aaaa(T202, T203, T204, X391))
app70_in_aaaa([], T213, T214, .(T213, T214)) → app70_out_aaaa([], T213, T214, .(T213, T214))
U20_aaaa(T201, T202, T203, T204, X391, app70_out_aaaa(T202, T203, T204, X391)) → app70_out_aaaa(.(T201, T202), T203, T204, .(T201, X391))
U18_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_out_aaaa(T160, T148, T178, X273)) → p56_out_aaaaaaa(T148, T149, T153, T154, T160, T178, X273)
U19_aa(T171, T172, X335, p56_out_aaaaaaa(T171, T172, X331, X332, X333, X334, X335)) → qs59_out_aa(.(T171, T172), X335)
U11_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_out_aa(T153, X271)) → p56_out_gaaaaaa(T148, T149, T153, T154, X271, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, T160, X272, X273) → U12_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U12_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U13_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U13_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U14_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T154, X272)) → p56_out_gaaaaaa(T148, T149, T153, T154, T160, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, T160, T178, X273) → U15_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_in_gaaa(T148, T149, T153, T154))
U15_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_out_gaaa(T148, T149, T153, T154)) → U16_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U16_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U17_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_in_agaa(T160, T148, T178, X273))
app70_in_agaa(.(T201, T202), T203, T204, .(T201, X391)) → U20_agaa(T201, T202, T203, T204, X391, app70_in_agaa(T202, T203, T204, X391))
app70_in_agaa([], T213, T214, .(T213, T214)) → app70_out_agaa([], T213, T214, .(T213, T214))
U20_agaa(T201, T202, T203, T204, X391, app70_out_agaa(T202, T203, T204, X391)) → app70_out_agaa(.(T201, T202), T203, T204, .(T201, X391))
U18_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_out_agaa(T160, T148, T178, X273)) → p56_out_gaaaaaa(T148, T149, T153, T154, T160, T178, X273)
U37_gaa(T148, T149, X273, p56_out_gaaaaaa(T148, T149, X269, X270, X271, X272, X273)) → qs51_out_gaa(T148, T149, X273)
U48_ag(T31, T33, T32, T8, qs51_out_gaa(T33, T53, X9)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
U47_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U49_ag(T31, T33, T32, T8, T54, qs51_in_gaa(T33, T53, T131))
U49_ag(T31, T33, T32, T8, T54, qs51_out_gaa(T33, T53, T131)) → U50_ag(T31, T33, T32, T8, p52_in_aaagg(T54, X10, T131, T31, T8))
p52_in_aaagg(T54, X10, T131, T31, T8) → U33_aaagg(T54, X10, T131, T31, T8, qs80_in_aa(T54, X10))
qs80_in_aa(.(T230, T231), X452) → U22_aa(T230, T231, X452, part87_in_aaaa(T230, T231, X448, X449))
part87_in_aaaa(T256, .(T257, T258), .(T257, X503), X504) → U38_aaaa(T256, T257, T258, X503, X504, gt10_in_aa(T256, T257))
U38_aaaa(T256, T257, T258, X503, X504, gt10_out_aa(T256, T257)) → part87_out_aaaa(T256, .(T257, T258), .(T257, X503), X504)
part87_in_aaaa(T261, .(T257, T262), .(T257, X503), X504) → U39_aaaa(T261, T257, T262, X503, X504, gt10_in_aa(T261, T257))
U39_aaaa(T261, T257, T262, X503, X504, gt10_out_aa(T261, T257)) → U40_aaaa(T261, T257, T262, X503, X504, part20_in_gaaa(T261, T262, X503, X504))
U40_aaaa(T261, T257, T262, X503, X504, part20_out_gaaa(T261, T262, X503, X504)) → part87_out_aaaa(T261, .(T257, T262), .(T257, X503), X504)
part87_in_aaaa(T283, .(T284, T285), X554, .(T284, X555)) → U41_aaaa(T283, T284, T285, X554, X555, le100_in_aa(T283, T284))
le100_in_aa(s(T302), s(T303)) → U21_aa(T302, T303, le100_in_aa(T302, T303))
le100_in_aa(0, s(T310)) → le100_out_aa(0, s(T310))
le100_in_aa(0, 0) → le100_out_aa(0, 0)
U21_aa(T302, T303, le100_out_aa(T302, T303)) → le100_out_aa(s(T302), s(T303))
U41_aaaa(T283, T284, T285, X554, X555, le100_out_aa(T283, T284)) → part87_out_aaaa(T283, .(T284, T285), X554, .(T284, X555))
part87_in_aaaa(T288, .(T284, T289), X554, .(T284, X555)) → U42_aaaa(T288, T284, T289, X554, X555, le100_in_aa(T288, T284))
U42_aaaa(T288, T284, T289, X554, X555, le100_out_aa(T288, T284)) → U43_aaaa(T288, T284, T289, X554, X555, part20_in_gaaa(T288, T289, X554, X555))
U43_aaaa(T288, T284, T289, X554, X555, part20_out_gaaa(T288, T289, X554, X555)) → part87_out_aaaa(T288, .(T284, T289), X554, .(T284, X555))
part87_in_aaaa(T316, [], [], []) → part87_out_aaaa(T316, [], [], [])
U22_aa(T230, T231, X452, part87_out_aaaa(T230, T231, X448, X449)) → qs80_out_aa(.(T230, T231), X452)
qs80_in_aa(.(T237, T231), X452) → U23_aa(T237, T231, X452, part87_in_aaaa(T237, T231, T235, T236))
U23_aa(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U24_aa(T237, T231, X452, qs80_in_aa(T235, X450))
qs80_in_aa(.(T325, T231), X452) → U27_aa(T325, T231, X452, part87_in_aaaa(T325, T231, T235, T236))
U27_aa(T325, T231, X452, part87_out_aaaa(T325, T231, T235, T236)) → U28_aa(T325, T231, X452, T236, qs80_in_aa(T235, T319))
qs80_in_aa([], []) → qs80_out_aa([], [])
U28_aa(T325, T231, X452, T236, qs80_out_aa(T235, T319)) → U29_aa(T325, T231, X452, T319, qs80_in_aa(T236, T324))
U29_aa(T325, T231, X452, T319, qs80_out_aa(T236, T324)) → U30_aa(T325, T231, X452, app121_in_aaaa(T319, T325, T324, X452))
app121_in_aaaa(.(T348, T349), T352, T353, .(T348, X657)) → U31_aaaa(T348, T349, T352, T353, X657, app121_in_aaaa(T349, T352, T353, X657))
app121_in_aaaa([], T362, T363, .(T362, T363)) → app121_out_aaaa([], T362, T363, .(T362, T363))
U31_aaaa(T348, T349, T352, T353, X657, app121_out_aaaa(T349, T352, T353, X657)) → app121_out_aaaa(.(T348, T349), T352, T353, .(T348, X657))
U30_aa(T325, T231, X452, app121_out_aaaa(T319, T325, T324, X452)) → qs80_out_aa(.(T325, T231), X452)
U24_aa(T237, T231, X452, qs80_out_aa(T235, X450)) → qs80_out_aa(.(T237, T231), X452)
U23_aa(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U25_aa(T237, T231, X452, T236, qs80_in_aa(T235, T319))
U25_aa(T237, T231, X452, T236, qs80_out_aa(T235, T319)) → U26_aa(T237, T231, X452, qs80_in_aa(T236, X451))
U26_aa(T237, T231, X452, qs80_out_aa(T236, X451)) → qs80_out_aa(.(T237, T231), X452)
U33_aaagg(T54, X10, T131, T31, T8, qs80_out_aa(T54, X10)) → p52_out_aaagg(T54, X10, T131, T31, T8)
p52_in_aaagg(T54, T217, T131, T31, T8) → U34_aaagg(T54, T217, T131, T31, T8, qs80_in_aa(T54, T217))
U34_aaagg(T54, T217, T131, T31, T8, qs80_out_aa(T54, T217)) → U35_aaagg(T54, T217, T131, T31, T8, app81_in_agag(T131, T31, T217, T8))
app81_in_agag(.(T389, T390), T391, T394, .(T389, T393)) → U32_agag(T389, T390, T391, T394, T393, app81_in_agag(T390, T391, T394, T393))
app81_in_agag([], T404, T405, .(T404, T405)) → app81_out_agag([], T404, T405, .(T404, T405))
U32_agag(T389, T390, T391, T394, T393, app81_out_agag(T390, T391, T394, T393)) → app81_out_agag(.(T389, T390), T391, T394, .(T389, T393))
U35_aaagg(T54, T217, T131, T31, T8, app81_out_agag(T131, T31, T217, T8)) → p52_out_aaagg(T54, T217, T131, T31, T8)
U50_ag(T31, T33, T32, T8, p52_out_aaagg(T54, X10, T131, T31, T8)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
qs1_in_ag(.(T421, .(T422, T423)), T8) → U51_ag(T421, T422, T423, T8, le100_in_aa(T421, T422))
U51_ag(T421, T422, T423, T8, le100_out_aa(T421, T422)) → qs1_out_ag(.(T421, .(T422, T423)), T8)
qs1_in_ag(.(T426, .(T428, T427)), T8) → U52_ag(T426, T428, T427, T8, le100_in_aa(T426, T428))
U52_ag(T426, T428, T427, T8, le100_out_aa(T426, T428)) → U53_ag(T426, T428, T427, T8, part20_in_gaaa(T426, T427, X740, X741))
U53_ag(T426, T428, T427, T8, part20_out_gaaa(T426, T427, X740, X741)) → qs1_out_ag(.(T426, .(T428, T427)), T8)
qs1_in_ag(.(T426, .(T436, T427)), T8) → U54_ag(T426, T436, T427, T8, le100_in_aa(T426, T436))
U54_ag(T426, T436, T427, T8, le100_out_aa(T426, T436)) → U55_ag(T426, T436, T427, T8, part20_in_gaaa(T426, T427, T434, T435))
U55_ag(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U56_ag(T426, T436, T427, T8, qs80_in_aa(T434, X9))
U56_ag(T426, T436, T427, T8, qs80_out_aa(T434, X9)) → qs1_out_ag(.(T426, .(T436, T427)), T8)
U55_ag(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U57_ag(T426, T436, T427, T8, T435, qs80_in_aa(T434, T442))
U57_ag(T426, T436, T427, T8, T435, qs80_out_aa(T434, T442)) → U58_ag(T426, T436, T427, T8, p52_in_aaagg(.(T436, T435), X10, T442, T426, T8))
U58_ag(T426, T436, T427, T8, p52_out_aaagg(.(T436, T435), X10, T442, T426, T8)) → qs1_out_ag(.(T426, .(T436, T427)), T8)
qs1_in_ag(.(T452, []), T8) → U59_ag(T452, T8, qs155_in_a(X9))
qs155_in_a([]) → qs155_out_a([])
U59_ag(T452, T8, qs155_out_a(X9)) → qs1_out_ag(.(T452, []), T8)
qs1_in_ag(.(T452, []), T8) → U60_ag(T452, T8, qs155_in_a(T455))
U60_ag(T452, T8, qs155_out_a(T455)) → U61_ag(T452, T8, qs155_in_a(X10))
U61_ag(T452, T8, qs155_out_a(X10)) → qs1_out_ag(.(T452, []), T8)
U60_ag(T452, T8, qs155_out_a(T455)) → U62_ag(T452, T8, T455, qs155_in_a(T460))
U62_ag(T452, T8, T455, qs155_out_a(T460)) → U63_ag(T452, T8, app162_in_gagg(T455, T452, T460, T8))
app162_in_gagg(.(T486, T487), T491, T489, .(T486, T490)) → U36_gagg(T486, T487, T491, T489, T490, app162_in_gagg(T487, T491, T489, T490))
app162_in_gagg([], T501, T502, .(T501, T502)) → app162_out_gagg([], T501, T502, .(T501, T502))
U36_gagg(T486, T487, T491, T489, T490, app162_out_gagg(T487, T491, T489, T490)) → app162_out_gagg(.(T486, T487), T491, T489, .(T486, T490))
U63_ag(T452, T8, app162_out_gagg(T455, T452, T460, T8)) → qs1_out_ag(.(T452, []), T8)
qs1_in_ag([], []) → qs1_out_ag([], [])

The argument filtering Pi contains the following mapping:
qs1_in_ag(x1, x2)  =  qs1_in_ag(x2)
U44_ag(x1, x2, x3, x4, x5)  =  U44_ag(x4, x5)
gt10_in_aa(x1, x2)  =  gt10_in_aa
U1_aa(x1, x2, x3)  =  U1_aa(x3)
gt10_out_aa(x1, x2)  =  gt10_out_aa(x1, x2)
qs1_out_ag(x1, x2)  =  qs1_out_ag(x2)
U45_ag(x1, x2, x3, x4, x5)  =  U45_ag(x4, x5)
U46_ag(x1, x2, x3, x4, x5)  =  U46_ag(x4, x5)
part20_in_gaaa(x1, x2, x3, x4)  =  part20_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x1, x6)
gt10_in_ga(x1, x2)  =  gt10_in_ga(x1)
s(x1)  =  s(x1)
U1_ga(x1, x2, x3)  =  U1_ga(x1, x3)
0  =  0
gt10_out_ga(x1, x2)  =  gt10_out_ga(x1, x2)
part20_out_gaaa(x1, x2, x3, x4)  =  part20_out_gaaa(x1)
U3_gaaa(x1, x2, x3, x4, x5, x6)  =  U3_gaaa(x1, x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x1, x6)
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x1, x6)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U8_ga(x1, x2, x3)  =  U8_ga(x1, x3)
le33_out_ga(x1, x2)  =  le33_out_ga(x1)
U6_gaaa(x1, x2, x3, x4, x5, x6)  =  U6_gaaa(x1, x6)
U7_gaaa(x1, x2, x3, x4, x5, x6)  =  U7_gaaa(x1, x6)
U47_ag(x1, x2, x3, x4, x5)  =  U47_ag(x1, x2, x4, x5)
U48_ag(x1, x2, x3, x4, x5)  =  U48_ag(x4, x5)
qs51_in_gaa(x1, x2, x3)  =  qs51_in_gaa(x1)
U37_gaa(x1, x2, x3, x4)  =  U37_gaa(x1, x4)
p56_in_gaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_in_gaaaaaa(x1)
U9_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_gaaaaaa(x1, x8)
p56_out_gaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_out_gaaaaaa(x1)
U10_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_gaaaaaa(x1, x8)
U11_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_gaaaaaa(x1, x8)
qs59_in_aa(x1, x2)  =  qs59_in_aa
U19_aa(x1, x2, x3, x4)  =  U19_aa(x4)
p56_in_aaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_in_aaaaaaa
U9_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_aaaaaaa(x8)
part20_in_aaaa(x1, x2, x3, x4)  =  part20_in_aaaa
U2_aaaa(x1, x2, x3, x4, x5, x6)  =  U2_aaaa(x6)
part20_out_aaaa(x1, x2, x3, x4)  =  part20_out_aaaa
U3_aaaa(x1, x2, x3, x4, x5, x6)  =  U3_aaaa(x6)
U4_aaaa(x1, x2, x3, x4, x5, x6)  =  U4_aaaa(x6)
U5_aaaa(x1, x2, x3, x4, x5, x6)  =  U5_aaaa(x6)
le33_in_aa(x1, x2)  =  le33_in_aa
U8_aa(x1, x2, x3)  =  U8_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
U6_aaaa(x1, x2, x3, x4, x5, x6)  =  U6_aaaa(x6)
U7_aaaa(x1, x2, x3, x4, x5, x6)  =  U7_aaaa(x6)
p56_out_aaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_out_aaaaaaa
U10_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_aaaaaaa(x8)
U11_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_aaaaaaa(x8)
qs59_out_aa(x1, x2)  =  qs59_out_aa
U12_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_aaaaaaa(x8)
U13_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_aaaaaaa(x8)
U14_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_aaaaaaa(x8)
U15_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_aaaaaaa(x8)
U16_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_aaaaaaa(x8)
U17_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_aaaaaaa(x8)
U18_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_aaaaaaa(x8)
.(x1, x2)  =  .(x1, x2)
[]  =  []
app70_in_aaaa(x1, x2, x3, x4)  =  app70_in_aaaa
U20_aaaa(x1, x2, x3, x4, x5, x6)  =  U20_aaaa(x6)
app70_out_aaaa(x1, x2, x3, x4)  =  app70_out_aaaa
U12_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_gaaaaaa(x1, x8)
U13_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_gaaaaaa(x1, x8)
U14_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_gaaaaaa(x1, x8)
U15_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_gaaaaaa(x1, x8)
U16_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_gaaaaaa(x1, x8)
U17_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_gaaaaaa(x1, x8)
U18_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_gaaaaaa(x1, x8)
app70_in_agaa(x1, x2, x3, x4)  =  app70_in_agaa(x2)
U20_agaa(x1, x2, x3, x4, x5, x6)  =  U20_agaa(x3, x6)
app70_out_agaa(x1, x2, x3, x4)  =  app70_out_agaa(x2)
qs51_out_gaa(x1, x2, x3)  =  qs51_out_gaa(x1)
U49_ag(x1, x2, x3, x4, x5, x6)  =  U49_ag(x1, x4, x6)
U50_ag(x1, x2, x3, x4, x5)  =  U50_ag(x4, x5)
p52_in_aaagg(x1, x2, x3, x4, x5)  =  p52_in_aaagg(x4, x5)
U33_aaagg(x1, x2, x3, x4, x5, x6)  =  U33_aaagg(x4, x5, x6)
qs80_in_aa(x1, x2)  =  qs80_in_aa
U22_aa(x1, x2, x3, x4)  =  U22_aa(x4)
part87_in_aaaa(x1, x2, x3, x4)  =  part87_in_aaaa
U38_aaaa(x1, x2, x3, x4, x5, x6)  =  U38_aaaa(x6)
part87_out_aaaa(x1, x2, x3, x4)  =  part87_out_aaaa
U39_aaaa(x1, x2, x3, x4, x5, x6)  =  U39_aaaa(x6)
U40_aaaa(x1, x2, x3, x4, x5, x6)  =  U40_aaaa(x6)
U41_aaaa(x1, x2, x3, x4, x5, x6)  =  U41_aaaa(x6)
le100_in_aa(x1, x2)  =  le100_in_aa
U21_aa(x1, x2, x3)  =  U21_aa(x3)
le100_out_aa(x1, x2)  =  le100_out_aa(x1)
U42_aaaa(x1, x2, x3, x4, x5, x6)  =  U42_aaaa(x6)
U43_aaaa(x1, x2, x3, x4, x5, x6)  =  U43_aaaa(x6)
qs80_out_aa(x1, x2)  =  qs80_out_aa
U23_aa(x1, x2, x3, x4)  =  U23_aa(x4)
U24_aa(x1, x2, x3, x4)  =  U24_aa(x4)
U27_aa(x1, x2, x3, x4)  =  U27_aa(x4)
U28_aa(x1, x2, x3, x4, x5)  =  U28_aa(x5)
U29_aa(x1, x2, x3, x4, x5)  =  U29_aa(x5)
U30_aa(x1, x2, x3, x4)  =  U30_aa(x4)
app121_in_aaaa(x1, x2, x3, x4)  =  app121_in_aaaa
U31_aaaa(x1, x2, x3, x4, x5, x6)  =  U31_aaaa(x6)
app121_out_aaaa(x1, x2, x3, x4)  =  app121_out_aaaa
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
U26_aa(x1, x2, x3, x4)  =  U26_aa(x4)
p52_out_aaagg(x1, x2, x3, x4, x5)  =  p52_out_aaagg(x4, x5)
U34_aaagg(x1, x2, x3, x4, x5, x6)  =  U34_aaagg(x4, x5, x6)
U35_aaagg(x1, x2, x3, x4, x5, x6)  =  U35_aaagg(x4, x5, x6)
app81_in_agag(x1, x2, x3, x4)  =  app81_in_agag(x2, x4)
U32_agag(x1, x2, x3, x4, x5, x6)  =  U32_agag(x1, x3, x5, x6)
app81_out_agag(x1, x2, x3, x4)  =  app81_out_agag(x1, x2, x3, x4)
U51_ag(x1, x2, x3, x4, x5)  =  U51_ag(x4, x5)
U52_ag(x1, x2, x3, x4, x5)  =  U52_ag(x4, x5)
U53_ag(x1, x2, x3, x4, x5)  =  U53_ag(x4, x5)
U54_ag(x1, x2, x3, x4, x5)  =  U54_ag(x4, x5)
U55_ag(x1, x2, x3, x4, x5)  =  U55_ag(x1, x4, x5)
U56_ag(x1, x2, x3, x4, x5)  =  U56_ag(x4, x5)
U57_ag(x1, x2, x3, x4, x5, x6)  =  U57_ag(x1, x4, x6)
U58_ag(x1, x2, x3, x4, x5)  =  U58_ag(x4, x5)
U59_ag(x1, x2, x3)  =  U59_ag(x2, x3)
qs155_in_a(x1)  =  qs155_in_a
qs155_out_a(x1)  =  qs155_out_a(x1)
U60_ag(x1, x2, x3)  =  U60_ag(x2, x3)
U61_ag(x1, x2, x3)  =  U61_ag(x2, x3)
U62_ag(x1, x2, x3, x4)  =  U62_ag(x2, x3, x4)
U63_ag(x1, x2, x3)  =  U63_ag(x2, x3)
app162_in_gagg(x1, x2, x3, x4)  =  app162_in_gagg(x1, x3, x4)
U36_gagg(x1, x2, x3, x4, x5, x6)  =  U36_gagg(x1, x2, x4, x5, x6)
app162_out_gagg(x1, x2, x3, x4)  =  app162_out_gagg(x1, x2, x3, x4)
QS1_IN_AG(x1, x2)  =  QS1_IN_AG(x2)
U44_AG(x1, x2, x3, x4, x5)  =  U44_AG(x4, x5)
GT10_IN_AA(x1, x2)  =  GT10_IN_AA
U1_AA(x1, x2, x3)  =  U1_AA(x3)
U45_AG(x1, x2, x3, x4, x5)  =  U45_AG(x4, x5)
U46_AG(x1, x2, x3, x4, x5)  =  U46_AG(x4, x5)
PART20_IN_GAAA(x1, x2, x3, x4)  =  PART20_IN_GAAA(x1)
U2_GAAA(x1, x2, x3, x4, x5, x6)  =  U2_GAAA(x1, x6)
GT10_IN_GA(x1, x2)  =  GT10_IN_GA(x1)
U1_GA(x1, x2, x3)  =  U1_GA(x1, x3)
U3_GAAA(x1, x2, x3, x4, x5, x6)  =  U3_GAAA(x1, x6)
U4_GAAA(x1, x2, x3, x4, x5, x6)  =  U4_GAAA(x1, x6)
U5_GAAA(x1, x2, x3, x4, x5, x6)  =  U5_GAAA(x1, x6)
LE33_IN_GA(x1, x2)  =  LE33_IN_GA(x1)
U8_GA(x1, x2, x3)  =  U8_GA(x1, x3)
U6_GAAA(x1, x2, x3, x4, x5, x6)  =  U6_GAAA(x1, x6)
U7_GAAA(x1, x2, x3, x4, x5, x6)  =  U7_GAAA(x1, x6)
U47_AG(x1, x2, x3, x4, x5)  =  U47_AG(x1, x2, x4, x5)
U48_AG(x1, x2, x3, x4, x5)  =  U48_AG(x4, x5)
QS51_IN_GAA(x1, x2, x3)  =  QS51_IN_GAA(x1)
U37_GAA(x1, x2, x3, x4)  =  U37_GAA(x1, x4)
P56_IN_GAAAAAA(x1, x2, x3, x4, x5, x6, x7)  =  P56_IN_GAAAAAA(x1)
U9_GAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_GAAAAAA(x1, x8)
U10_GAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_GAAAAAA(x1, x8)
U11_GAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_GAAAAAA(x1, x8)
QS59_IN_AA(x1, x2)  =  QS59_IN_AA
U19_AA(x1, x2, x3, x4)  =  U19_AA(x4)
P56_IN_AAAAAAA(x1, x2, x3, x4, x5, x6, x7)  =  P56_IN_AAAAAAA
U9_AAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_AAAAAAA(x8)
PART20_IN_AAAA(x1, x2, x3, x4)  =  PART20_IN_AAAA
U2_AAAA(x1, x2, x3, x4, x5, x6)  =  U2_AAAA(x6)
U3_AAAA(x1, x2, x3, x4, x5, x6)  =  U3_AAAA(x6)
U4_AAAA(x1, x2, x3, x4, x5, x6)  =  U4_AAAA(x6)
U5_AAAA(x1, x2, x3, x4, x5, x6)  =  U5_AAAA(x6)
LE33_IN_AA(x1, x2)  =  LE33_IN_AA
U8_AA(x1, x2, x3)  =  U8_AA(x3)
U6_AAAA(x1, x2, x3, x4, x5, x6)  =  U6_AAAA(x6)
U7_AAAA(x1, x2, x3, x4, x5, x6)  =  U7_AAAA(x6)
U10_AAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_AAAAAAA(x8)
U11_AAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_AAAAAAA(x8)
U12_AAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_AAAAAAA(x8)
U13_AAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_AAAAAAA(x8)
U14_AAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_AAAAAAA(x8)
U15_AAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_AAAAAAA(x8)
U16_AAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_AAAAAAA(x8)
U17_AAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_AAAAAAA(x8)
U18_AAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_AAAAAAA(x8)
APP70_IN_AAAA(x1, x2, x3, x4)  =  APP70_IN_AAAA
U20_AAAA(x1, x2, x3, x4, x5, x6)  =  U20_AAAA(x6)
U12_GAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_GAAAAAA(x1, x8)
U13_GAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_GAAAAAA(x1, x8)
U14_GAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_GAAAAAA(x1, x8)
U15_GAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_GAAAAAA(x1, x8)
U16_GAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_GAAAAAA(x1, x8)
U17_GAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_GAAAAAA(x1, x8)
U18_GAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_GAAAAAA(x1, x8)
APP70_IN_AGAA(x1, x2, x3, x4)  =  APP70_IN_AGAA(x2)
U20_AGAA(x1, x2, x3, x4, x5, x6)  =  U20_AGAA(x3, x6)
U49_AG(x1, x2, x3, x4, x5, x6)  =  U49_AG(x1, x4, x6)
U50_AG(x1, x2, x3, x4, x5)  =  U50_AG(x4, x5)
P52_IN_AAAGG(x1, x2, x3, x4, x5)  =  P52_IN_AAAGG(x4, x5)
U33_AAAGG(x1, x2, x3, x4, x5, x6)  =  U33_AAAGG(x4, x5, x6)
QS80_IN_AA(x1, x2)  =  QS80_IN_AA
U22_AA(x1, x2, x3, x4)  =  U22_AA(x4)
PART87_IN_AAAA(x1, x2, x3, x4)  =  PART87_IN_AAAA
U38_AAAA(x1, x2, x3, x4, x5, x6)  =  U38_AAAA(x6)
U39_AAAA(x1, x2, x3, x4, x5, x6)  =  U39_AAAA(x6)
U40_AAAA(x1, x2, x3, x4, x5, x6)  =  U40_AAAA(x6)
U41_AAAA(x1, x2, x3, x4, x5, x6)  =  U41_AAAA(x6)
LE100_IN_AA(x1, x2)  =  LE100_IN_AA
U21_AA(x1, x2, x3)  =  U21_AA(x3)
U42_AAAA(x1, x2, x3, x4, x5, x6)  =  U42_AAAA(x6)
U43_AAAA(x1, x2, x3, x4, x5, x6)  =  U43_AAAA(x6)
U23_AA(x1, x2, x3, x4)  =  U23_AA(x4)
U24_AA(x1, x2, x3, x4)  =  U24_AA(x4)
U27_AA(x1, x2, x3, x4)  =  U27_AA(x4)
U28_AA(x1, x2, x3, x4, x5)  =  U28_AA(x5)
U29_AA(x1, x2, x3, x4, x5)  =  U29_AA(x5)
U30_AA(x1, x2, x3, x4)  =  U30_AA(x4)
APP121_IN_AAAA(x1, x2, x3, x4)  =  APP121_IN_AAAA
U31_AAAA(x1, x2, x3, x4, x5, x6)  =  U31_AAAA(x6)
U25_AA(x1, x2, x3, x4, x5)  =  U25_AA(x5)
U26_AA(x1, x2, x3, x4)  =  U26_AA(x4)
U34_AAAGG(x1, x2, x3, x4, x5, x6)  =  U34_AAAGG(x4, x5, x6)
U35_AAAGG(x1, x2, x3, x4, x5, x6)  =  U35_AAAGG(x4, x5, x6)
APP81_IN_AGAG(x1, x2, x3, x4)  =  APP81_IN_AGAG(x2, x4)
U32_AGAG(x1, x2, x3, x4, x5, x6)  =  U32_AGAG(x1, x3, x5, x6)
U51_AG(x1, x2, x3, x4, x5)  =  U51_AG(x4, x5)
U52_AG(x1, x2, x3, x4, x5)  =  U52_AG(x4, x5)
U53_AG(x1, x2, x3, x4, x5)  =  U53_AG(x4, x5)
U54_AG(x1, x2, x3, x4, x5)  =  U54_AG(x4, x5)
U55_AG(x1, x2, x3, x4, x5)  =  U55_AG(x1, x4, x5)
U56_AG(x1, x2, x3, x4, x5)  =  U56_AG(x4, x5)
U57_AG(x1, x2, x3, x4, x5, x6)  =  U57_AG(x1, x4, x6)
U58_AG(x1, x2, x3, x4, x5)  =  U58_AG(x4, x5)
U59_AG(x1, x2, x3)  =  U59_AG(x2, x3)
QS155_IN_A(x1)  =  QS155_IN_A
U60_AG(x1, x2, x3)  =  U60_AG(x2, x3)
U61_AG(x1, x2, x3)  =  U61_AG(x2, x3)
U62_AG(x1, x2, x3, x4)  =  U62_AG(x2, x3, x4)
U63_AG(x1, x2, x3)  =  U63_AG(x2, x3)
APP162_IN_GAGG(x1, x2, x3, x4)  =  APP162_IN_GAGG(x1, x3, x4)
U36_GAGG(x1, x2, x3, x4, x5, x6)  =  U36_GAGG(x1, x2, x4, x5, x6)

We have to consider all (P,R,Pi)-chains

(7) DependencyGraphProof (EQUIVALENT transformation)

The approximation of the Dependency Graph [LOPSTR] contains 13 SCCs with 107 less nodes.

(8) Complex Obligation (AND)

(9) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

APP162_IN_GAGG(.(T486, T487), T491, T489, .(T486, T490)) → APP162_IN_GAGG(T487, T491, T489, T490)

The TRS R consists of the following rules:

qs1_in_ag(.(T26, .(T27, T28)), T8) → U44_ag(T26, T27, T28, T8, gt10_in_aa(T26, T27))
gt10_in_aa(s(T46), s(T47)) → U1_aa(T46, T47, gt10_in_aa(T46, T47))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U1_aa(T46, T47, gt10_out_aa(T46, T47)) → gt10_out_aa(s(T46), s(T47))
U44_ag(T26, T27, T28, T8, gt10_out_aa(T26, T27)) → qs1_out_ag(.(T26, .(T27, T28)), T8)
qs1_in_ag(.(T31, .(T33, T32)), T8) → U45_ag(T31, T33, T32, T8, gt10_in_aa(T31, T33))
U45_ag(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U46_ag(T31, T33, T32, T8, part20_in_gaaa(T31, T32, X47, X48))
part20_in_gaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_gaaa(T70, T73, T74, X119, X120, gt10_in_ga(T70, T73))
gt10_in_ga(s(T46), s(T47)) → U1_ga(T46, T47, gt10_in_ga(T46, T47))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U1_ga(T46, T47, gt10_out_ga(T46, T47)) → gt10_out_ga(s(T46), s(T47))
U2_gaaa(T70, T73, T74, X119, X120, gt10_out_ga(T70, T73)) → part20_out_gaaa(T70, .(T73, T74), .(T73, X119), X120)
part20_in_gaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_gaaa(T70, T73, T77, X119, X120, gt10_in_ga(T70, T73))
U3_gaaa(T70, T73, T77, X119, X120, gt10_out_ga(T70, T73)) → U4_gaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
part20_in_gaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_gaaa(T95, T98, T99, X170, X171, le33_in_ga(T95, T98))
le33_in_ga(s(T113), s(T115)) → U8_ga(T113, T115, le33_in_ga(T113, T115))
le33_in_ga(0, s(T122)) → le33_out_ga(0, s(T122))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U8_ga(T113, T115, le33_out_ga(T113, T115)) → le33_out_ga(s(T113), s(T115))
U5_gaaa(T95, T98, T99, X170, X171, le33_out_ga(T95, T98)) → part20_out_gaaa(T95, .(T98, T99), X170, .(T98, X171))
part20_in_gaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_gaaa(T95, T98, T102, X170, X171, le33_in_ga(T95, T98))
U6_gaaa(T95, T98, T102, X170, X171, le33_out_ga(T95, T98)) → U7_gaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
part20_in_gaaa(T128, [], [], []) → part20_out_gaaa(T128, [], [], [])
U7_gaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_gaaa(T95, .(T98, T102), X170, .(T98, X171))
U4_gaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_gaaa(T70, .(T73, T77), .(T73, X119), X120)
U46_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, X47, X48)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
U45_ag(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U47_ag(T31, T33, T32, T8, part20_in_gaaa(T31, T32, T53, T54))
U47_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U48_ag(T31, T33, T32, T8, qs51_in_gaa(T33, T53, X9))
qs51_in_gaa(T148, T149, X273) → U37_gaa(T148, T149, X273, p56_in_gaaaaaa(T148, T149, X269, X270, X271, X272, X273))
p56_in_gaaaaaa(T148, T149, X269, X270, X271, X272, X273) → U9_gaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_in_gaaa(T148, T149, X269, X270))
U9_gaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_out_gaaa(T148, T149, X269, X270)) → p56_out_gaaaaaa(T148, T149, X269, X270, X271, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, X271, X272, X273) → U10_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U10_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U11_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
qs59_in_aa(.(T171, T172), X335) → U19_aa(T171, T172, X335, p56_in_aaaaaaa(T171, T172, X331, X332, X333, X334, X335))
p56_in_aaaaaaa(T148, T149, X269, X270, X271, X272, X273) → U9_aaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_in_aaaa(T148, T149, X269, X270))
part20_in_aaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_aaaa(T70, T73, T74, X119, X120, gt10_in_aa(T70, T73))
U2_aaaa(T70, T73, T74, X119, X120, gt10_out_aa(T70, T73)) → part20_out_aaaa(T70, .(T73, T74), .(T73, X119), X120)
part20_in_aaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_aaaa(T70, T73, T77, X119, X120, gt10_in_aa(T70, T73))
U3_aaaa(T70, T73, T77, X119, X120, gt10_out_aa(T70, T73)) → U4_aaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
U4_aaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_aaaa(T70, .(T73, T77), .(T73, X119), X120)
part20_in_aaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_aaaa(T95, T98, T99, X170, X171, le33_in_aa(T95, T98))
le33_in_aa(s(T113), s(T115)) → U8_aa(T113, T115, le33_in_aa(T113, T115))
le33_in_aa(0, s(T122)) → le33_out_aa(0, s(T122))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U8_aa(T113, T115, le33_out_aa(T113, T115)) → le33_out_aa(s(T113), s(T115))
U5_aaaa(T95, T98, T99, X170, X171, le33_out_aa(T95, T98)) → part20_out_aaaa(T95, .(T98, T99), X170, .(T98, X171))
part20_in_aaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_aaaa(T95, T98, T102, X170, X171, le33_in_aa(T95, T98))
U6_aaaa(T95, T98, T102, X170, X171, le33_out_aa(T95, T98)) → U7_aaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
U7_aaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_aaaa(T95, .(T98, T102), X170, .(T98, X171))
part20_in_aaaa(T128, [], [], []) → part20_out_aaaa(T128, [], [], [])
U9_aaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_out_aaaa(T148, T149, X269, X270)) → p56_out_aaaaaaa(T148, T149, X269, X270, X271, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, X271, X272, X273) → U10_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U10_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U11_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
qs59_in_aa([], []) → qs59_out_aa([], [])
U11_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_out_aa(T153, X271)) → p56_out_aaaaaaa(T148, T149, T153, T154, X271, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, T160, X272, X273) → U12_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U12_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U13_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U13_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U14_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T154, X272)) → p56_out_aaaaaaa(T148, T149, T153, T154, T160, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, T160, T178, X273) → U15_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_in_aaaa(T148, T149, T153, T154))
U15_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_out_aaaa(T148, T149, T153, T154)) → U16_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U16_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U17_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_in_aaaa(T160, T148, T178, X273))
app70_in_aaaa(.(T201, T202), T203, T204, .(T201, X391)) → U20_aaaa(T201, T202, T203, T204, X391, app70_in_aaaa(T202, T203, T204, X391))
app70_in_aaaa([], T213, T214, .(T213, T214)) → app70_out_aaaa([], T213, T214, .(T213, T214))
U20_aaaa(T201, T202, T203, T204, X391, app70_out_aaaa(T202, T203, T204, X391)) → app70_out_aaaa(.(T201, T202), T203, T204, .(T201, X391))
U18_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_out_aaaa(T160, T148, T178, X273)) → p56_out_aaaaaaa(T148, T149, T153, T154, T160, T178, X273)
U19_aa(T171, T172, X335, p56_out_aaaaaaa(T171, T172, X331, X332, X333, X334, X335)) → qs59_out_aa(.(T171, T172), X335)
U11_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_out_aa(T153, X271)) → p56_out_gaaaaaa(T148, T149, T153, T154, X271, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, T160, X272, X273) → U12_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U12_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U13_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U13_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U14_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T154, X272)) → p56_out_gaaaaaa(T148, T149, T153, T154, T160, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, T160, T178, X273) → U15_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_in_gaaa(T148, T149, T153, T154))
U15_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_out_gaaa(T148, T149, T153, T154)) → U16_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U16_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U17_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_in_agaa(T160, T148, T178, X273))
app70_in_agaa(.(T201, T202), T203, T204, .(T201, X391)) → U20_agaa(T201, T202, T203, T204, X391, app70_in_agaa(T202, T203, T204, X391))
app70_in_agaa([], T213, T214, .(T213, T214)) → app70_out_agaa([], T213, T214, .(T213, T214))
U20_agaa(T201, T202, T203, T204, X391, app70_out_agaa(T202, T203, T204, X391)) → app70_out_agaa(.(T201, T202), T203, T204, .(T201, X391))
U18_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_out_agaa(T160, T148, T178, X273)) → p56_out_gaaaaaa(T148, T149, T153, T154, T160, T178, X273)
U37_gaa(T148, T149, X273, p56_out_gaaaaaa(T148, T149, X269, X270, X271, X272, X273)) → qs51_out_gaa(T148, T149, X273)
U48_ag(T31, T33, T32, T8, qs51_out_gaa(T33, T53, X9)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
U47_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U49_ag(T31, T33, T32, T8, T54, qs51_in_gaa(T33, T53, T131))
U49_ag(T31, T33, T32, T8, T54, qs51_out_gaa(T33, T53, T131)) → U50_ag(T31, T33, T32, T8, p52_in_aaagg(T54, X10, T131, T31, T8))
p52_in_aaagg(T54, X10, T131, T31, T8) → U33_aaagg(T54, X10, T131, T31, T8, qs80_in_aa(T54, X10))
qs80_in_aa(.(T230, T231), X452) → U22_aa(T230, T231, X452, part87_in_aaaa(T230, T231, X448, X449))
part87_in_aaaa(T256, .(T257, T258), .(T257, X503), X504) → U38_aaaa(T256, T257, T258, X503, X504, gt10_in_aa(T256, T257))
U38_aaaa(T256, T257, T258, X503, X504, gt10_out_aa(T256, T257)) → part87_out_aaaa(T256, .(T257, T258), .(T257, X503), X504)
part87_in_aaaa(T261, .(T257, T262), .(T257, X503), X504) → U39_aaaa(T261, T257, T262, X503, X504, gt10_in_aa(T261, T257))
U39_aaaa(T261, T257, T262, X503, X504, gt10_out_aa(T261, T257)) → U40_aaaa(T261, T257, T262, X503, X504, part20_in_gaaa(T261, T262, X503, X504))
U40_aaaa(T261, T257, T262, X503, X504, part20_out_gaaa(T261, T262, X503, X504)) → part87_out_aaaa(T261, .(T257, T262), .(T257, X503), X504)
part87_in_aaaa(T283, .(T284, T285), X554, .(T284, X555)) → U41_aaaa(T283, T284, T285, X554, X555, le100_in_aa(T283, T284))
le100_in_aa(s(T302), s(T303)) → U21_aa(T302, T303, le100_in_aa(T302, T303))
le100_in_aa(0, s(T310)) → le100_out_aa(0, s(T310))
le100_in_aa(0, 0) → le100_out_aa(0, 0)
U21_aa(T302, T303, le100_out_aa(T302, T303)) → le100_out_aa(s(T302), s(T303))
U41_aaaa(T283, T284, T285, X554, X555, le100_out_aa(T283, T284)) → part87_out_aaaa(T283, .(T284, T285), X554, .(T284, X555))
part87_in_aaaa(T288, .(T284, T289), X554, .(T284, X555)) → U42_aaaa(T288, T284, T289, X554, X555, le100_in_aa(T288, T284))
U42_aaaa(T288, T284, T289, X554, X555, le100_out_aa(T288, T284)) → U43_aaaa(T288, T284, T289, X554, X555, part20_in_gaaa(T288, T289, X554, X555))
U43_aaaa(T288, T284, T289, X554, X555, part20_out_gaaa(T288, T289, X554, X555)) → part87_out_aaaa(T288, .(T284, T289), X554, .(T284, X555))
part87_in_aaaa(T316, [], [], []) → part87_out_aaaa(T316, [], [], [])
U22_aa(T230, T231, X452, part87_out_aaaa(T230, T231, X448, X449)) → qs80_out_aa(.(T230, T231), X452)
qs80_in_aa(.(T237, T231), X452) → U23_aa(T237, T231, X452, part87_in_aaaa(T237, T231, T235, T236))
U23_aa(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U24_aa(T237, T231, X452, qs80_in_aa(T235, X450))
qs80_in_aa(.(T325, T231), X452) → U27_aa(T325, T231, X452, part87_in_aaaa(T325, T231, T235, T236))
U27_aa(T325, T231, X452, part87_out_aaaa(T325, T231, T235, T236)) → U28_aa(T325, T231, X452, T236, qs80_in_aa(T235, T319))
qs80_in_aa([], []) → qs80_out_aa([], [])
U28_aa(T325, T231, X452, T236, qs80_out_aa(T235, T319)) → U29_aa(T325, T231, X452, T319, qs80_in_aa(T236, T324))
U29_aa(T325, T231, X452, T319, qs80_out_aa(T236, T324)) → U30_aa(T325, T231, X452, app121_in_aaaa(T319, T325, T324, X452))
app121_in_aaaa(.(T348, T349), T352, T353, .(T348, X657)) → U31_aaaa(T348, T349, T352, T353, X657, app121_in_aaaa(T349, T352, T353, X657))
app121_in_aaaa([], T362, T363, .(T362, T363)) → app121_out_aaaa([], T362, T363, .(T362, T363))
U31_aaaa(T348, T349, T352, T353, X657, app121_out_aaaa(T349, T352, T353, X657)) → app121_out_aaaa(.(T348, T349), T352, T353, .(T348, X657))
U30_aa(T325, T231, X452, app121_out_aaaa(T319, T325, T324, X452)) → qs80_out_aa(.(T325, T231), X452)
U24_aa(T237, T231, X452, qs80_out_aa(T235, X450)) → qs80_out_aa(.(T237, T231), X452)
U23_aa(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U25_aa(T237, T231, X452, T236, qs80_in_aa(T235, T319))
U25_aa(T237, T231, X452, T236, qs80_out_aa(T235, T319)) → U26_aa(T237, T231, X452, qs80_in_aa(T236, X451))
U26_aa(T237, T231, X452, qs80_out_aa(T236, X451)) → qs80_out_aa(.(T237, T231), X452)
U33_aaagg(T54, X10, T131, T31, T8, qs80_out_aa(T54, X10)) → p52_out_aaagg(T54, X10, T131, T31, T8)
p52_in_aaagg(T54, T217, T131, T31, T8) → U34_aaagg(T54, T217, T131, T31, T8, qs80_in_aa(T54, T217))
U34_aaagg(T54, T217, T131, T31, T8, qs80_out_aa(T54, T217)) → U35_aaagg(T54, T217, T131, T31, T8, app81_in_agag(T131, T31, T217, T8))
app81_in_agag(.(T389, T390), T391, T394, .(T389, T393)) → U32_agag(T389, T390, T391, T394, T393, app81_in_agag(T390, T391, T394, T393))
app81_in_agag([], T404, T405, .(T404, T405)) → app81_out_agag([], T404, T405, .(T404, T405))
U32_agag(T389, T390, T391, T394, T393, app81_out_agag(T390, T391, T394, T393)) → app81_out_agag(.(T389, T390), T391, T394, .(T389, T393))
U35_aaagg(T54, T217, T131, T31, T8, app81_out_agag(T131, T31, T217, T8)) → p52_out_aaagg(T54, T217, T131, T31, T8)
U50_ag(T31, T33, T32, T8, p52_out_aaagg(T54, X10, T131, T31, T8)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
qs1_in_ag(.(T421, .(T422, T423)), T8) → U51_ag(T421, T422, T423, T8, le100_in_aa(T421, T422))
U51_ag(T421, T422, T423, T8, le100_out_aa(T421, T422)) → qs1_out_ag(.(T421, .(T422, T423)), T8)
qs1_in_ag(.(T426, .(T428, T427)), T8) → U52_ag(T426, T428, T427, T8, le100_in_aa(T426, T428))
U52_ag(T426, T428, T427, T8, le100_out_aa(T426, T428)) → U53_ag(T426, T428, T427, T8, part20_in_gaaa(T426, T427, X740, X741))
U53_ag(T426, T428, T427, T8, part20_out_gaaa(T426, T427, X740, X741)) → qs1_out_ag(.(T426, .(T428, T427)), T8)
qs1_in_ag(.(T426, .(T436, T427)), T8) → U54_ag(T426, T436, T427, T8, le100_in_aa(T426, T436))
U54_ag(T426, T436, T427, T8, le100_out_aa(T426, T436)) → U55_ag(T426, T436, T427, T8, part20_in_gaaa(T426, T427, T434, T435))
U55_ag(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U56_ag(T426, T436, T427, T8, qs80_in_aa(T434, X9))
U56_ag(T426, T436, T427, T8, qs80_out_aa(T434, X9)) → qs1_out_ag(.(T426, .(T436, T427)), T8)
U55_ag(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U57_ag(T426, T436, T427, T8, T435, qs80_in_aa(T434, T442))
U57_ag(T426, T436, T427, T8, T435, qs80_out_aa(T434, T442)) → U58_ag(T426, T436, T427, T8, p52_in_aaagg(.(T436, T435), X10, T442, T426, T8))
U58_ag(T426, T436, T427, T8, p52_out_aaagg(.(T436, T435), X10, T442, T426, T8)) → qs1_out_ag(.(T426, .(T436, T427)), T8)
qs1_in_ag(.(T452, []), T8) → U59_ag(T452, T8, qs155_in_a(X9))
qs155_in_a([]) → qs155_out_a([])
U59_ag(T452, T8, qs155_out_a(X9)) → qs1_out_ag(.(T452, []), T8)
qs1_in_ag(.(T452, []), T8) → U60_ag(T452, T8, qs155_in_a(T455))
U60_ag(T452, T8, qs155_out_a(T455)) → U61_ag(T452, T8, qs155_in_a(X10))
U61_ag(T452, T8, qs155_out_a(X10)) → qs1_out_ag(.(T452, []), T8)
U60_ag(T452, T8, qs155_out_a(T455)) → U62_ag(T452, T8, T455, qs155_in_a(T460))
U62_ag(T452, T8, T455, qs155_out_a(T460)) → U63_ag(T452, T8, app162_in_gagg(T455, T452, T460, T8))
app162_in_gagg(.(T486, T487), T491, T489, .(T486, T490)) → U36_gagg(T486, T487, T491, T489, T490, app162_in_gagg(T487, T491, T489, T490))
app162_in_gagg([], T501, T502, .(T501, T502)) → app162_out_gagg([], T501, T502, .(T501, T502))
U36_gagg(T486, T487, T491, T489, T490, app162_out_gagg(T487, T491, T489, T490)) → app162_out_gagg(.(T486, T487), T491, T489, .(T486, T490))
U63_ag(T452, T8, app162_out_gagg(T455, T452, T460, T8)) → qs1_out_ag(.(T452, []), T8)
qs1_in_ag([], []) → qs1_out_ag([], [])

The argument filtering Pi contains the following mapping:
qs1_in_ag(x1, x2)  =  qs1_in_ag(x2)
U44_ag(x1, x2, x3, x4, x5)  =  U44_ag(x4, x5)
gt10_in_aa(x1, x2)  =  gt10_in_aa
U1_aa(x1, x2, x3)  =  U1_aa(x3)
gt10_out_aa(x1, x2)  =  gt10_out_aa(x1, x2)
qs1_out_ag(x1, x2)  =  qs1_out_ag(x2)
U45_ag(x1, x2, x3, x4, x5)  =  U45_ag(x4, x5)
U46_ag(x1, x2, x3, x4, x5)  =  U46_ag(x4, x5)
part20_in_gaaa(x1, x2, x3, x4)  =  part20_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x1, x6)
gt10_in_ga(x1, x2)  =  gt10_in_ga(x1)
s(x1)  =  s(x1)
U1_ga(x1, x2, x3)  =  U1_ga(x1, x3)
0  =  0
gt10_out_ga(x1, x2)  =  gt10_out_ga(x1, x2)
part20_out_gaaa(x1, x2, x3, x4)  =  part20_out_gaaa(x1)
U3_gaaa(x1, x2, x3, x4, x5, x6)  =  U3_gaaa(x1, x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x1, x6)
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x1, x6)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U8_ga(x1, x2, x3)  =  U8_ga(x1, x3)
le33_out_ga(x1, x2)  =  le33_out_ga(x1)
U6_gaaa(x1, x2, x3, x4, x5, x6)  =  U6_gaaa(x1, x6)
U7_gaaa(x1, x2, x3, x4, x5, x6)  =  U7_gaaa(x1, x6)
U47_ag(x1, x2, x3, x4, x5)  =  U47_ag(x1, x2, x4, x5)
U48_ag(x1, x2, x3, x4, x5)  =  U48_ag(x4, x5)
qs51_in_gaa(x1, x2, x3)  =  qs51_in_gaa(x1)
U37_gaa(x1, x2, x3, x4)  =  U37_gaa(x1, x4)
p56_in_gaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_in_gaaaaaa(x1)
U9_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_gaaaaaa(x1, x8)
p56_out_gaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_out_gaaaaaa(x1)
U10_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_gaaaaaa(x1, x8)
U11_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_gaaaaaa(x1, x8)
qs59_in_aa(x1, x2)  =  qs59_in_aa
U19_aa(x1, x2, x3, x4)  =  U19_aa(x4)
p56_in_aaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_in_aaaaaaa
U9_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_aaaaaaa(x8)
part20_in_aaaa(x1, x2, x3, x4)  =  part20_in_aaaa
U2_aaaa(x1, x2, x3, x4, x5, x6)  =  U2_aaaa(x6)
part20_out_aaaa(x1, x2, x3, x4)  =  part20_out_aaaa
U3_aaaa(x1, x2, x3, x4, x5, x6)  =  U3_aaaa(x6)
U4_aaaa(x1, x2, x3, x4, x5, x6)  =  U4_aaaa(x6)
U5_aaaa(x1, x2, x3, x4, x5, x6)  =  U5_aaaa(x6)
le33_in_aa(x1, x2)  =  le33_in_aa
U8_aa(x1, x2, x3)  =  U8_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
U6_aaaa(x1, x2, x3, x4, x5, x6)  =  U6_aaaa(x6)
U7_aaaa(x1, x2, x3, x4, x5, x6)  =  U7_aaaa(x6)
p56_out_aaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_out_aaaaaaa
U10_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_aaaaaaa(x8)
U11_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_aaaaaaa(x8)
qs59_out_aa(x1, x2)  =  qs59_out_aa
U12_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_aaaaaaa(x8)
U13_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_aaaaaaa(x8)
U14_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_aaaaaaa(x8)
U15_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_aaaaaaa(x8)
U16_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_aaaaaaa(x8)
U17_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_aaaaaaa(x8)
U18_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_aaaaaaa(x8)
.(x1, x2)  =  .(x1, x2)
[]  =  []
app70_in_aaaa(x1, x2, x3, x4)  =  app70_in_aaaa
U20_aaaa(x1, x2, x3, x4, x5, x6)  =  U20_aaaa(x6)
app70_out_aaaa(x1, x2, x3, x4)  =  app70_out_aaaa
U12_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_gaaaaaa(x1, x8)
U13_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_gaaaaaa(x1, x8)
U14_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_gaaaaaa(x1, x8)
U15_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_gaaaaaa(x1, x8)
U16_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_gaaaaaa(x1, x8)
U17_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_gaaaaaa(x1, x8)
U18_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_gaaaaaa(x1, x8)
app70_in_agaa(x1, x2, x3, x4)  =  app70_in_agaa(x2)
U20_agaa(x1, x2, x3, x4, x5, x6)  =  U20_agaa(x3, x6)
app70_out_agaa(x1, x2, x3, x4)  =  app70_out_agaa(x2)
qs51_out_gaa(x1, x2, x3)  =  qs51_out_gaa(x1)
U49_ag(x1, x2, x3, x4, x5, x6)  =  U49_ag(x1, x4, x6)
U50_ag(x1, x2, x3, x4, x5)  =  U50_ag(x4, x5)
p52_in_aaagg(x1, x2, x3, x4, x5)  =  p52_in_aaagg(x4, x5)
U33_aaagg(x1, x2, x3, x4, x5, x6)  =  U33_aaagg(x4, x5, x6)
qs80_in_aa(x1, x2)  =  qs80_in_aa
U22_aa(x1, x2, x3, x4)  =  U22_aa(x4)
part87_in_aaaa(x1, x2, x3, x4)  =  part87_in_aaaa
U38_aaaa(x1, x2, x3, x4, x5, x6)  =  U38_aaaa(x6)
part87_out_aaaa(x1, x2, x3, x4)  =  part87_out_aaaa
U39_aaaa(x1, x2, x3, x4, x5, x6)  =  U39_aaaa(x6)
U40_aaaa(x1, x2, x3, x4, x5, x6)  =  U40_aaaa(x6)
U41_aaaa(x1, x2, x3, x4, x5, x6)  =  U41_aaaa(x6)
le100_in_aa(x1, x2)  =  le100_in_aa
U21_aa(x1, x2, x3)  =  U21_aa(x3)
le100_out_aa(x1, x2)  =  le100_out_aa(x1)
U42_aaaa(x1, x2, x3, x4, x5, x6)  =  U42_aaaa(x6)
U43_aaaa(x1, x2, x3, x4, x5, x6)  =  U43_aaaa(x6)
qs80_out_aa(x1, x2)  =  qs80_out_aa
U23_aa(x1, x2, x3, x4)  =  U23_aa(x4)
U24_aa(x1, x2, x3, x4)  =  U24_aa(x4)
U27_aa(x1, x2, x3, x4)  =  U27_aa(x4)
U28_aa(x1, x2, x3, x4, x5)  =  U28_aa(x5)
U29_aa(x1, x2, x3, x4, x5)  =  U29_aa(x5)
U30_aa(x1, x2, x3, x4)  =  U30_aa(x4)
app121_in_aaaa(x1, x2, x3, x4)  =  app121_in_aaaa
U31_aaaa(x1, x2, x3, x4, x5, x6)  =  U31_aaaa(x6)
app121_out_aaaa(x1, x2, x3, x4)  =  app121_out_aaaa
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
U26_aa(x1, x2, x3, x4)  =  U26_aa(x4)
p52_out_aaagg(x1, x2, x3, x4, x5)  =  p52_out_aaagg(x4, x5)
U34_aaagg(x1, x2, x3, x4, x5, x6)  =  U34_aaagg(x4, x5, x6)
U35_aaagg(x1, x2, x3, x4, x5, x6)  =  U35_aaagg(x4, x5, x6)
app81_in_agag(x1, x2, x3, x4)  =  app81_in_agag(x2, x4)
U32_agag(x1, x2, x3, x4, x5, x6)  =  U32_agag(x1, x3, x5, x6)
app81_out_agag(x1, x2, x3, x4)  =  app81_out_agag(x1, x2, x3, x4)
U51_ag(x1, x2, x3, x4, x5)  =  U51_ag(x4, x5)
U52_ag(x1, x2, x3, x4, x5)  =  U52_ag(x4, x5)
U53_ag(x1, x2, x3, x4, x5)  =  U53_ag(x4, x5)
U54_ag(x1, x2, x3, x4, x5)  =  U54_ag(x4, x5)
U55_ag(x1, x2, x3, x4, x5)  =  U55_ag(x1, x4, x5)
U56_ag(x1, x2, x3, x4, x5)  =  U56_ag(x4, x5)
U57_ag(x1, x2, x3, x4, x5, x6)  =  U57_ag(x1, x4, x6)
U58_ag(x1, x2, x3, x4, x5)  =  U58_ag(x4, x5)
U59_ag(x1, x2, x3)  =  U59_ag(x2, x3)
qs155_in_a(x1)  =  qs155_in_a
qs155_out_a(x1)  =  qs155_out_a(x1)
U60_ag(x1, x2, x3)  =  U60_ag(x2, x3)
U61_ag(x1, x2, x3)  =  U61_ag(x2, x3)
U62_ag(x1, x2, x3, x4)  =  U62_ag(x2, x3, x4)
U63_ag(x1, x2, x3)  =  U63_ag(x2, x3)
app162_in_gagg(x1, x2, x3, x4)  =  app162_in_gagg(x1, x3, x4)
U36_gagg(x1, x2, x3, x4, x5, x6)  =  U36_gagg(x1, x2, x4, x5, x6)
app162_out_gagg(x1, x2, x3, x4)  =  app162_out_gagg(x1, x2, x3, x4)
APP162_IN_GAGG(x1, x2, x3, x4)  =  APP162_IN_GAGG(x1, x3, x4)

We have to consider all (P,R,Pi)-chains

(10) UsableRulesProof (EQUIVALENT transformation)

For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R.

(11) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

APP162_IN_GAGG(.(T486, T487), T491, T489, .(T486, T490)) → APP162_IN_GAGG(T487, T491, T489, T490)

R is empty.
The argument filtering Pi contains the following mapping:
.(x1, x2)  =  .(x1, x2)
APP162_IN_GAGG(x1, x2, x3, x4)  =  APP162_IN_GAGG(x1, x3, x4)

We have to consider all (P,R,Pi)-chains

(12) PiDPToQDPProof (SOUND transformation)

Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi.

(13) Obligation:

Q DP problem:
The TRS P consists of the following rules:

APP162_IN_GAGG(.(T486, T487), T489, .(T486, T490)) → APP162_IN_GAGG(T487, T489, T490)

R is empty.
Q is empty.
We have to consider all (P,Q,R)-chains.

(14) QDPSizeChangeProof (EQUIVALENT transformation)

By using the subterm criterion [SUBTERM_CRITERION] together with the size-change analysis [AAECC05] we have proven that there are no infinite chains for this DP problem.

From the DPs we obtained the following set of size-change graphs:

  • APP162_IN_GAGG(.(T486, T487), T489, .(T486, T490)) → APP162_IN_GAGG(T487, T489, T490)
    The graph contains the following edges 1 > 1, 2 >= 2, 3 > 3

(15) YES

(16) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

APP81_IN_AGAG(.(T389, T390), T391, T394, .(T389, T393)) → APP81_IN_AGAG(T390, T391, T394, T393)

The TRS R consists of the following rules:

qs1_in_ag(.(T26, .(T27, T28)), T8) → U44_ag(T26, T27, T28, T8, gt10_in_aa(T26, T27))
gt10_in_aa(s(T46), s(T47)) → U1_aa(T46, T47, gt10_in_aa(T46, T47))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U1_aa(T46, T47, gt10_out_aa(T46, T47)) → gt10_out_aa(s(T46), s(T47))
U44_ag(T26, T27, T28, T8, gt10_out_aa(T26, T27)) → qs1_out_ag(.(T26, .(T27, T28)), T8)
qs1_in_ag(.(T31, .(T33, T32)), T8) → U45_ag(T31, T33, T32, T8, gt10_in_aa(T31, T33))
U45_ag(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U46_ag(T31, T33, T32, T8, part20_in_gaaa(T31, T32, X47, X48))
part20_in_gaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_gaaa(T70, T73, T74, X119, X120, gt10_in_ga(T70, T73))
gt10_in_ga(s(T46), s(T47)) → U1_ga(T46, T47, gt10_in_ga(T46, T47))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U1_ga(T46, T47, gt10_out_ga(T46, T47)) → gt10_out_ga(s(T46), s(T47))
U2_gaaa(T70, T73, T74, X119, X120, gt10_out_ga(T70, T73)) → part20_out_gaaa(T70, .(T73, T74), .(T73, X119), X120)
part20_in_gaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_gaaa(T70, T73, T77, X119, X120, gt10_in_ga(T70, T73))
U3_gaaa(T70, T73, T77, X119, X120, gt10_out_ga(T70, T73)) → U4_gaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
part20_in_gaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_gaaa(T95, T98, T99, X170, X171, le33_in_ga(T95, T98))
le33_in_ga(s(T113), s(T115)) → U8_ga(T113, T115, le33_in_ga(T113, T115))
le33_in_ga(0, s(T122)) → le33_out_ga(0, s(T122))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U8_ga(T113, T115, le33_out_ga(T113, T115)) → le33_out_ga(s(T113), s(T115))
U5_gaaa(T95, T98, T99, X170, X171, le33_out_ga(T95, T98)) → part20_out_gaaa(T95, .(T98, T99), X170, .(T98, X171))
part20_in_gaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_gaaa(T95, T98, T102, X170, X171, le33_in_ga(T95, T98))
U6_gaaa(T95, T98, T102, X170, X171, le33_out_ga(T95, T98)) → U7_gaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
part20_in_gaaa(T128, [], [], []) → part20_out_gaaa(T128, [], [], [])
U7_gaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_gaaa(T95, .(T98, T102), X170, .(T98, X171))
U4_gaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_gaaa(T70, .(T73, T77), .(T73, X119), X120)
U46_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, X47, X48)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
U45_ag(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U47_ag(T31, T33, T32, T8, part20_in_gaaa(T31, T32, T53, T54))
U47_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U48_ag(T31, T33, T32, T8, qs51_in_gaa(T33, T53, X9))
qs51_in_gaa(T148, T149, X273) → U37_gaa(T148, T149, X273, p56_in_gaaaaaa(T148, T149, X269, X270, X271, X272, X273))
p56_in_gaaaaaa(T148, T149, X269, X270, X271, X272, X273) → U9_gaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_in_gaaa(T148, T149, X269, X270))
U9_gaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_out_gaaa(T148, T149, X269, X270)) → p56_out_gaaaaaa(T148, T149, X269, X270, X271, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, X271, X272, X273) → U10_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U10_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U11_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
qs59_in_aa(.(T171, T172), X335) → U19_aa(T171, T172, X335, p56_in_aaaaaaa(T171, T172, X331, X332, X333, X334, X335))
p56_in_aaaaaaa(T148, T149, X269, X270, X271, X272, X273) → U9_aaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_in_aaaa(T148, T149, X269, X270))
part20_in_aaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_aaaa(T70, T73, T74, X119, X120, gt10_in_aa(T70, T73))
U2_aaaa(T70, T73, T74, X119, X120, gt10_out_aa(T70, T73)) → part20_out_aaaa(T70, .(T73, T74), .(T73, X119), X120)
part20_in_aaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_aaaa(T70, T73, T77, X119, X120, gt10_in_aa(T70, T73))
U3_aaaa(T70, T73, T77, X119, X120, gt10_out_aa(T70, T73)) → U4_aaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
U4_aaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_aaaa(T70, .(T73, T77), .(T73, X119), X120)
part20_in_aaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_aaaa(T95, T98, T99, X170, X171, le33_in_aa(T95, T98))
le33_in_aa(s(T113), s(T115)) → U8_aa(T113, T115, le33_in_aa(T113, T115))
le33_in_aa(0, s(T122)) → le33_out_aa(0, s(T122))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U8_aa(T113, T115, le33_out_aa(T113, T115)) → le33_out_aa(s(T113), s(T115))
U5_aaaa(T95, T98, T99, X170, X171, le33_out_aa(T95, T98)) → part20_out_aaaa(T95, .(T98, T99), X170, .(T98, X171))
part20_in_aaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_aaaa(T95, T98, T102, X170, X171, le33_in_aa(T95, T98))
U6_aaaa(T95, T98, T102, X170, X171, le33_out_aa(T95, T98)) → U7_aaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
U7_aaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_aaaa(T95, .(T98, T102), X170, .(T98, X171))
part20_in_aaaa(T128, [], [], []) → part20_out_aaaa(T128, [], [], [])
U9_aaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_out_aaaa(T148, T149, X269, X270)) → p56_out_aaaaaaa(T148, T149, X269, X270, X271, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, X271, X272, X273) → U10_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U10_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U11_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
qs59_in_aa([], []) → qs59_out_aa([], [])
U11_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_out_aa(T153, X271)) → p56_out_aaaaaaa(T148, T149, T153, T154, X271, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, T160, X272, X273) → U12_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U12_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U13_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U13_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U14_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T154, X272)) → p56_out_aaaaaaa(T148, T149, T153, T154, T160, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, T160, T178, X273) → U15_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_in_aaaa(T148, T149, T153, T154))
U15_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_out_aaaa(T148, T149, T153, T154)) → U16_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U16_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U17_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_in_aaaa(T160, T148, T178, X273))
app70_in_aaaa(.(T201, T202), T203, T204, .(T201, X391)) → U20_aaaa(T201, T202, T203, T204, X391, app70_in_aaaa(T202, T203, T204, X391))
app70_in_aaaa([], T213, T214, .(T213, T214)) → app70_out_aaaa([], T213, T214, .(T213, T214))
U20_aaaa(T201, T202, T203, T204, X391, app70_out_aaaa(T202, T203, T204, X391)) → app70_out_aaaa(.(T201, T202), T203, T204, .(T201, X391))
U18_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_out_aaaa(T160, T148, T178, X273)) → p56_out_aaaaaaa(T148, T149, T153, T154, T160, T178, X273)
U19_aa(T171, T172, X335, p56_out_aaaaaaa(T171, T172, X331, X332, X333, X334, X335)) → qs59_out_aa(.(T171, T172), X335)
U11_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_out_aa(T153, X271)) → p56_out_gaaaaaa(T148, T149, T153, T154, X271, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, T160, X272, X273) → U12_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U12_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U13_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U13_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U14_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T154, X272)) → p56_out_gaaaaaa(T148, T149, T153, T154, T160, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, T160, T178, X273) → U15_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_in_gaaa(T148, T149, T153, T154))
U15_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_out_gaaa(T148, T149, T153, T154)) → U16_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U16_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U17_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_in_agaa(T160, T148, T178, X273))
app70_in_agaa(.(T201, T202), T203, T204, .(T201, X391)) → U20_agaa(T201, T202, T203, T204, X391, app70_in_agaa(T202, T203, T204, X391))
app70_in_agaa([], T213, T214, .(T213, T214)) → app70_out_agaa([], T213, T214, .(T213, T214))
U20_agaa(T201, T202, T203, T204, X391, app70_out_agaa(T202, T203, T204, X391)) → app70_out_agaa(.(T201, T202), T203, T204, .(T201, X391))
U18_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_out_agaa(T160, T148, T178, X273)) → p56_out_gaaaaaa(T148, T149, T153, T154, T160, T178, X273)
U37_gaa(T148, T149, X273, p56_out_gaaaaaa(T148, T149, X269, X270, X271, X272, X273)) → qs51_out_gaa(T148, T149, X273)
U48_ag(T31, T33, T32, T8, qs51_out_gaa(T33, T53, X9)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
U47_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U49_ag(T31, T33, T32, T8, T54, qs51_in_gaa(T33, T53, T131))
U49_ag(T31, T33, T32, T8, T54, qs51_out_gaa(T33, T53, T131)) → U50_ag(T31, T33, T32, T8, p52_in_aaagg(T54, X10, T131, T31, T8))
p52_in_aaagg(T54, X10, T131, T31, T8) → U33_aaagg(T54, X10, T131, T31, T8, qs80_in_aa(T54, X10))
qs80_in_aa(.(T230, T231), X452) → U22_aa(T230, T231, X452, part87_in_aaaa(T230, T231, X448, X449))
part87_in_aaaa(T256, .(T257, T258), .(T257, X503), X504) → U38_aaaa(T256, T257, T258, X503, X504, gt10_in_aa(T256, T257))
U38_aaaa(T256, T257, T258, X503, X504, gt10_out_aa(T256, T257)) → part87_out_aaaa(T256, .(T257, T258), .(T257, X503), X504)
part87_in_aaaa(T261, .(T257, T262), .(T257, X503), X504) → U39_aaaa(T261, T257, T262, X503, X504, gt10_in_aa(T261, T257))
U39_aaaa(T261, T257, T262, X503, X504, gt10_out_aa(T261, T257)) → U40_aaaa(T261, T257, T262, X503, X504, part20_in_gaaa(T261, T262, X503, X504))
U40_aaaa(T261, T257, T262, X503, X504, part20_out_gaaa(T261, T262, X503, X504)) → part87_out_aaaa(T261, .(T257, T262), .(T257, X503), X504)
part87_in_aaaa(T283, .(T284, T285), X554, .(T284, X555)) → U41_aaaa(T283, T284, T285, X554, X555, le100_in_aa(T283, T284))
le100_in_aa(s(T302), s(T303)) → U21_aa(T302, T303, le100_in_aa(T302, T303))
le100_in_aa(0, s(T310)) → le100_out_aa(0, s(T310))
le100_in_aa(0, 0) → le100_out_aa(0, 0)
U21_aa(T302, T303, le100_out_aa(T302, T303)) → le100_out_aa(s(T302), s(T303))
U41_aaaa(T283, T284, T285, X554, X555, le100_out_aa(T283, T284)) → part87_out_aaaa(T283, .(T284, T285), X554, .(T284, X555))
part87_in_aaaa(T288, .(T284, T289), X554, .(T284, X555)) → U42_aaaa(T288, T284, T289, X554, X555, le100_in_aa(T288, T284))
U42_aaaa(T288, T284, T289, X554, X555, le100_out_aa(T288, T284)) → U43_aaaa(T288, T284, T289, X554, X555, part20_in_gaaa(T288, T289, X554, X555))
U43_aaaa(T288, T284, T289, X554, X555, part20_out_gaaa(T288, T289, X554, X555)) → part87_out_aaaa(T288, .(T284, T289), X554, .(T284, X555))
part87_in_aaaa(T316, [], [], []) → part87_out_aaaa(T316, [], [], [])
U22_aa(T230, T231, X452, part87_out_aaaa(T230, T231, X448, X449)) → qs80_out_aa(.(T230, T231), X452)
qs80_in_aa(.(T237, T231), X452) → U23_aa(T237, T231, X452, part87_in_aaaa(T237, T231, T235, T236))
U23_aa(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U24_aa(T237, T231, X452, qs80_in_aa(T235, X450))
qs80_in_aa(.(T325, T231), X452) → U27_aa(T325, T231, X452, part87_in_aaaa(T325, T231, T235, T236))
U27_aa(T325, T231, X452, part87_out_aaaa(T325, T231, T235, T236)) → U28_aa(T325, T231, X452, T236, qs80_in_aa(T235, T319))
qs80_in_aa([], []) → qs80_out_aa([], [])
U28_aa(T325, T231, X452, T236, qs80_out_aa(T235, T319)) → U29_aa(T325, T231, X452, T319, qs80_in_aa(T236, T324))
U29_aa(T325, T231, X452, T319, qs80_out_aa(T236, T324)) → U30_aa(T325, T231, X452, app121_in_aaaa(T319, T325, T324, X452))
app121_in_aaaa(.(T348, T349), T352, T353, .(T348, X657)) → U31_aaaa(T348, T349, T352, T353, X657, app121_in_aaaa(T349, T352, T353, X657))
app121_in_aaaa([], T362, T363, .(T362, T363)) → app121_out_aaaa([], T362, T363, .(T362, T363))
U31_aaaa(T348, T349, T352, T353, X657, app121_out_aaaa(T349, T352, T353, X657)) → app121_out_aaaa(.(T348, T349), T352, T353, .(T348, X657))
U30_aa(T325, T231, X452, app121_out_aaaa(T319, T325, T324, X452)) → qs80_out_aa(.(T325, T231), X452)
U24_aa(T237, T231, X452, qs80_out_aa(T235, X450)) → qs80_out_aa(.(T237, T231), X452)
U23_aa(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U25_aa(T237, T231, X452, T236, qs80_in_aa(T235, T319))
U25_aa(T237, T231, X452, T236, qs80_out_aa(T235, T319)) → U26_aa(T237, T231, X452, qs80_in_aa(T236, X451))
U26_aa(T237, T231, X452, qs80_out_aa(T236, X451)) → qs80_out_aa(.(T237, T231), X452)
U33_aaagg(T54, X10, T131, T31, T8, qs80_out_aa(T54, X10)) → p52_out_aaagg(T54, X10, T131, T31, T8)
p52_in_aaagg(T54, T217, T131, T31, T8) → U34_aaagg(T54, T217, T131, T31, T8, qs80_in_aa(T54, T217))
U34_aaagg(T54, T217, T131, T31, T8, qs80_out_aa(T54, T217)) → U35_aaagg(T54, T217, T131, T31, T8, app81_in_agag(T131, T31, T217, T8))
app81_in_agag(.(T389, T390), T391, T394, .(T389, T393)) → U32_agag(T389, T390, T391, T394, T393, app81_in_agag(T390, T391, T394, T393))
app81_in_agag([], T404, T405, .(T404, T405)) → app81_out_agag([], T404, T405, .(T404, T405))
U32_agag(T389, T390, T391, T394, T393, app81_out_agag(T390, T391, T394, T393)) → app81_out_agag(.(T389, T390), T391, T394, .(T389, T393))
U35_aaagg(T54, T217, T131, T31, T8, app81_out_agag(T131, T31, T217, T8)) → p52_out_aaagg(T54, T217, T131, T31, T8)
U50_ag(T31, T33, T32, T8, p52_out_aaagg(T54, X10, T131, T31, T8)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
qs1_in_ag(.(T421, .(T422, T423)), T8) → U51_ag(T421, T422, T423, T8, le100_in_aa(T421, T422))
U51_ag(T421, T422, T423, T8, le100_out_aa(T421, T422)) → qs1_out_ag(.(T421, .(T422, T423)), T8)
qs1_in_ag(.(T426, .(T428, T427)), T8) → U52_ag(T426, T428, T427, T8, le100_in_aa(T426, T428))
U52_ag(T426, T428, T427, T8, le100_out_aa(T426, T428)) → U53_ag(T426, T428, T427, T8, part20_in_gaaa(T426, T427, X740, X741))
U53_ag(T426, T428, T427, T8, part20_out_gaaa(T426, T427, X740, X741)) → qs1_out_ag(.(T426, .(T428, T427)), T8)
qs1_in_ag(.(T426, .(T436, T427)), T8) → U54_ag(T426, T436, T427, T8, le100_in_aa(T426, T436))
U54_ag(T426, T436, T427, T8, le100_out_aa(T426, T436)) → U55_ag(T426, T436, T427, T8, part20_in_gaaa(T426, T427, T434, T435))
U55_ag(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U56_ag(T426, T436, T427, T8, qs80_in_aa(T434, X9))
U56_ag(T426, T436, T427, T8, qs80_out_aa(T434, X9)) → qs1_out_ag(.(T426, .(T436, T427)), T8)
U55_ag(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U57_ag(T426, T436, T427, T8, T435, qs80_in_aa(T434, T442))
U57_ag(T426, T436, T427, T8, T435, qs80_out_aa(T434, T442)) → U58_ag(T426, T436, T427, T8, p52_in_aaagg(.(T436, T435), X10, T442, T426, T8))
U58_ag(T426, T436, T427, T8, p52_out_aaagg(.(T436, T435), X10, T442, T426, T8)) → qs1_out_ag(.(T426, .(T436, T427)), T8)
qs1_in_ag(.(T452, []), T8) → U59_ag(T452, T8, qs155_in_a(X9))
qs155_in_a([]) → qs155_out_a([])
U59_ag(T452, T8, qs155_out_a(X9)) → qs1_out_ag(.(T452, []), T8)
qs1_in_ag(.(T452, []), T8) → U60_ag(T452, T8, qs155_in_a(T455))
U60_ag(T452, T8, qs155_out_a(T455)) → U61_ag(T452, T8, qs155_in_a(X10))
U61_ag(T452, T8, qs155_out_a(X10)) → qs1_out_ag(.(T452, []), T8)
U60_ag(T452, T8, qs155_out_a(T455)) → U62_ag(T452, T8, T455, qs155_in_a(T460))
U62_ag(T452, T8, T455, qs155_out_a(T460)) → U63_ag(T452, T8, app162_in_gagg(T455, T452, T460, T8))
app162_in_gagg(.(T486, T487), T491, T489, .(T486, T490)) → U36_gagg(T486, T487, T491, T489, T490, app162_in_gagg(T487, T491, T489, T490))
app162_in_gagg([], T501, T502, .(T501, T502)) → app162_out_gagg([], T501, T502, .(T501, T502))
U36_gagg(T486, T487, T491, T489, T490, app162_out_gagg(T487, T491, T489, T490)) → app162_out_gagg(.(T486, T487), T491, T489, .(T486, T490))
U63_ag(T452, T8, app162_out_gagg(T455, T452, T460, T8)) → qs1_out_ag(.(T452, []), T8)
qs1_in_ag([], []) → qs1_out_ag([], [])

The argument filtering Pi contains the following mapping:
qs1_in_ag(x1, x2)  =  qs1_in_ag(x2)
U44_ag(x1, x2, x3, x4, x5)  =  U44_ag(x4, x5)
gt10_in_aa(x1, x2)  =  gt10_in_aa
U1_aa(x1, x2, x3)  =  U1_aa(x3)
gt10_out_aa(x1, x2)  =  gt10_out_aa(x1, x2)
qs1_out_ag(x1, x2)  =  qs1_out_ag(x2)
U45_ag(x1, x2, x3, x4, x5)  =  U45_ag(x4, x5)
U46_ag(x1, x2, x3, x4, x5)  =  U46_ag(x4, x5)
part20_in_gaaa(x1, x2, x3, x4)  =  part20_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x1, x6)
gt10_in_ga(x1, x2)  =  gt10_in_ga(x1)
s(x1)  =  s(x1)
U1_ga(x1, x2, x3)  =  U1_ga(x1, x3)
0  =  0
gt10_out_ga(x1, x2)  =  gt10_out_ga(x1, x2)
part20_out_gaaa(x1, x2, x3, x4)  =  part20_out_gaaa(x1)
U3_gaaa(x1, x2, x3, x4, x5, x6)  =  U3_gaaa(x1, x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x1, x6)
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x1, x6)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U8_ga(x1, x2, x3)  =  U8_ga(x1, x3)
le33_out_ga(x1, x2)  =  le33_out_ga(x1)
U6_gaaa(x1, x2, x3, x4, x5, x6)  =  U6_gaaa(x1, x6)
U7_gaaa(x1, x2, x3, x4, x5, x6)  =  U7_gaaa(x1, x6)
U47_ag(x1, x2, x3, x4, x5)  =  U47_ag(x1, x2, x4, x5)
U48_ag(x1, x2, x3, x4, x5)  =  U48_ag(x4, x5)
qs51_in_gaa(x1, x2, x3)  =  qs51_in_gaa(x1)
U37_gaa(x1, x2, x3, x4)  =  U37_gaa(x1, x4)
p56_in_gaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_in_gaaaaaa(x1)
U9_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_gaaaaaa(x1, x8)
p56_out_gaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_out_gaaaaaa(x1)
U10_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_gaaaaaa(x1, x8)
U11_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_gaaaaaa(x1, x8)
qs59_in_aa(x1, x2)  =  qs59_in_aa
U19_aa(x1, x2, x3, x4)  =  U19_aa(x4)
p56_in_aaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_in_aaaaaaa
U9_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_aaaaaaa(x8)
part20_in_aaaa(x1, x2, x3, x4)  =  part20_in_aaaa
U2_aaaa(x1, x2, x3, x4, x5, x6)  =  U2_aaaa(x6)
part20_out_aaaa(x1, x2, x3, x4)  =  part20_out_aaaa
U3_aaaa(x1, x2, x3, x4, x5, x6)  =  U3_aaaa(x6)
U4_aaaa(x1, x2, x3, x4, x5, x6)  =  U4_aaaa(x6)
U5_aaaa(x1, x2, x3, x4, x5, x6)  =  U5_aaaa(x6)
le33_in_aa(x1, x2)  =  le33_in_aa
U8_aa(x1, x2, x3)  =  U8_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
U6_aaaa(x1, x2, x3, x4, x5, x6)  =  U6_aaaa(x6)
U7_aaaa(x1, x2, x3, x4, x5, x6)  =  U7_aaaa(x6)
p56_out_aaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_out_aaaaaaa
U10_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_aaaaaaa(x8)
U11_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_aaaaaaa(x8)
qs59_out_aa(x1, x2)  =  qs59_out_aa
U12_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_aaaaaaa(x8)
U13_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_aaaaaaa(x8)
U14_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_aaaaaaa(x8)
U15_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_aaaaaaa(x8)
U16_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_aaaaaaa(x8)
U17_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_aaaaaaa(x8)
U18_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_aaaaaaa(x8)
.(x1, x2)  =  .(x1, x2)
[]  =  []
app70_in_aaaa(x1, x2, x3, x4)  =  app70_in_aaaa
U20_aaaa(x1, x2, x3, x4, x5, x6)  =  U20_aaaa(x6)
app70_out_aaaa(x1, x2, x3, x4)  =  app70_out_aaaa
U12_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_gaaaaaa(x1, x8)
U13_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_gaaaaaa(x1, x8)
U14_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_gaaaaaa(x1, x8)
U15_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_gaaaaaa(x1, x8)
U16_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_gaaaaaa(x1, x8)
U17_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_gaaaaaa(x1, x8)
U18_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_gaaaaaa(x1, x8)
app70_in_agaa(x1, x2, x3, x4)  =  app70_in_agaa(x2)
U20_agaa(x1, x2, x3, x4, x5, x6)  =  U20_agaa(x3, x6)
app70_out_agaa(x1, x2, x3, x4)  =  app70_out_agaa(x2)
qs51_out_gaa(x1, x2, x3)  =  qs51_out_gaa(x1)
U49_ag(x1, x2, x3, x4, x5, x6)  =  U49_ag(x1, x4, x6)
U50_ag(x1, x2, x3, x4, x5)  =  U50_ag(x4, x5)
p52_in_aaagg(x1, x2, x3, x4, x5)  =  p52_in_aaagg(x4, x5)
U33_aaagg(x1, x2, x3, x4, x5, x6)  =  U33_aaagg(x4, x5, x6)
qs80_in_aa(x1, x2)  =  qs80_in_aa
U22_aa(x1, x2, x3, x4)  =  U22_aa(x4)
part87_in_aaaa(x1, x2, x3, x4)  =  part87_in_aaaa
U38_aaaa(x1, x2, x3, x4, x5, x6)  =  U38_aaaa(x6)
part87_out_aaaa(x1, x2, x3, x4)  =  part87_out_aaaa
U39_aaaa(x1, x2, x3, x4, x5, x6)  =  U39_aaaa(x6)
U40_aaaa(x1, x2, x3, x4, x5, x6)  =  U40_aaaa(x6)
U41_aaaa(x1, x2, x3, x4, x5, x6)  =  U41_aaaa(x6)
le100_in_aa(x1, x2)  =  le100_in_aa
U21_aa(x1, x2, x3)  =  U21_aa(x3)
le100_out_aa(x1, x2)  =  le100_out_aa(x1)
U42_aaaa(x1, x2, x3, x4, x5, x6)  =  U42_aaaa(x6)
U43_aaaa(x1, x2, x3, x4, x5, x6)  =  U43_aaaa(x6)
qs80_out_aa(x1, x2)  =  qs80_out_aa
U23_aa(x1, x2, x3, x4)  =  U23_aa(x4)
U24_aa(x1, x2, x3, x4)  =  U24_aa(x4)
U27_aa(x1, x2, x3, x4)  =  U27_aa(x4)
U28_aa(x1, x2, x3, x4, x5)  =  U28_aa(x5)
U29_aa(x1, x2, x3, x4, x5)  =  U29_aa(x5)
U30_aa(x1, x2, x3, x4)  =  U30_aa(x4)
app121_in_aaaa(x1, x2, x3, x4)  =  app121_in_aaaa
U31_aaaa(x1, x2, x3, x4, x5, x6)  =  U31_aaaa(x6)
app121_out_aaaa(x1, x2, x3, x4)  =  app121_out_aaaa
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
U26_aa(x1, x2, x3, x4)  =  U26_aa(x4)
p52_out_aaagg(x1, x2, x3, x4, x5)  =  p52_out_aaagg(x4, x5)
U34_aaagg(x1, x2, x3, x4, x5, x6)  =  U34_aaagg(x4, x5, x6)
U35_aaagg(x1, x2, x3, x4, x5, x6)  =  U35_aaagg(x4, x5, x6)
app81_in_agag(x1, x2, x3, x4)  =  app81_in_agag(x2, x4)
U32_agag(x1, x2, x3, x4, x5, x6)  =  U32_agag(x1, x3, x5, x6)
app81_out_agag(x1, x2, x3, x4)  =  app81_out_agag(x1, x2, x3, x4)
U51_ag(x1, x2, x3, x4, x5)  =  U51_ag(x4, x5)
U52_ag(x1, x2, x3, x4, x5)  =  U52_ag(x4, x5)
U53_ag(x1, x2, x3, x4, x5)  =  U53_ag(x4, x5)
U54_ag(x1, x2, x3, x4, x5)  =  U54_ag(x4, x5)
U55_ag(x1, x2, x3, x4, x5)  =  U55_ag(x1, x4, x5)
U56_ag(x1, x2, x3, x4, x5)  =  U56_ag(x4, x5)
U57_ag(x1, x2, x3, x4, x5, x6)  =  U57_ag(x1, x4, x6)
U58_ag(x1, x2, x3, x4, x5)  =  U58_ag(x4, x5)
U59_ag(x1, x2, x3)  =  U59_ag(x2, x3)
qs155_in_a(x1)  =  qs155_in_a
qs155_out_a(x1)  =  qs155_out_a(x1)
U60_ag(x1, x2, x3)  =  U60_ag(x2, x3)
U61_ag(x1, x2, x3)  =  U61_ag(x2, x3)
U62_ag(x1, x2, x3, x4)  =  U62_ag(x2, x3, x4)
U63_ag(x1, x2, x3)  =  U63_ag(x2, x3)
app162_in_gagg(x1, x2, x3, x4)  =  app162_in_gagg(x1, x3, x4)
U36_gagg(x1, x2, x3, x4, x5, x6)  =  U36_gagg(x1, x2, x4, x5, x6)
app162_out_gagg(x1, x2, x3, x4)  =  app162_out_gagg(x1, x2, x3, x4)
APP81_IN_AGAG(x1, x2, x3, x4)  =  APP81_IN_AGAG(x2, x4)

We have to consider all (P,R,Pi)-chains

(17) UsableRulesProof (EQUIVALENT transformation)

For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R.

(18) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

APP81_IN_AGAG(.(T389, T390), T391, T394, .(T389, T393)) → APP81_IN_AGAG(T390, T391, T394, T393)

R is empty.
The argument filtering Pi contains the following mapping:
.(x1, x2)  =  .(x1, x2)
APP81_IN_AGAG(x1, x2, x3, x4)  =  APP81_IN_AGAG(x2, x4)

We have to consider all (P,R,Pi)-chains

(19) PiDPToQDPProof (SOUND transformation)

Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi.

(20) Obligation:

Q DP problem:
The TRS P consists of the following rules:

APP81_IN_AGAG(T391, .(T389, T393)) → APP81_IN_AGAG(T391, T393)

R is empty.
Q is empty.
We have to consider all (P,Q,R)-chains.

(21) QDPSizeChangeProof (EQUIVALENT transformation)

By using the subterm criterion [SUBTERM_CRITERION] together with the size-change analysis [AAECC05] we have proven that there are no infinite chains for this DP problem.

From the DPs we obtained the following set of size-change graphs:

  • APP81_IN_AGAG(T391, .(T389, T393)) → APP81_IN_AGAG(T391, T393)
    The graph contains the following edges 1 >= 1, 2 > 2

(22) YES

(23) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

APP121_IN_AAAA(.(T348, T349), T352, T353, .(T348, X657)) → APP121_IN_AAAA(T349, T352, T353, X657)

The TRS R consists of the following rules:

qs1_in_ag(.(T26, .(T27, T28)), T8) → U44_ag(T26, T27, T28, T8, gt10_in_aa(T26, T27))
gt10_in_aa(s(T46), s(T47)) → U1_aa(T46, T47, gt10_in_aa(T46, T47))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U1_aa(T46, T47, gt10_out_aa(T46, T47)) → gt10_out_aa(s(T46), s(T47))
U44_ag(T26, T27, T28, T8, gt10_out_aa(T26, T27)) → qs1_out_ag(.(T26, .(T27, T28)), T8)
qs1_in_ag(.(T31, .(T33, T32)), T8) → U45_ag(T31, T33, T32, T8, gt10_in_aa(T31, T33))
U45_ag(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U46_ag(T31, T33, T32, T8, part20_in_gaaa(T31, T32, X47, X48))
part20_in_gaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_gaaa(T70, T73, T74, X119, X120, gt10_in_ga(T70, T73))
gt10_in_ga(s(T46), s(T47)) → U1_ga(T46, T47, gt10_in_ga(T46, T47))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U1_ga(T46, T47, gt10_out_ga(T46, T47)) → gt10_out_ga(s(T46), s(T47))
U2_gaaa(T70, T73, T74, X119, X120, gt10_out_ga(T70, T73)) → part20_out_gaaa(T70, .(T73, T74), .(T73, X119), X120)
part20_in_gaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_gaaa(T70, T73, T77, X119, X120, gt10_in_ga(T70, T73))
U3_gaaa(T70, T73, T77, X119, X120, gt10_out_ga(T70, T73)) → U4_gaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
part20_in_gaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_gaaa(T95, T98, T99, X170, X171, le33_in_ga(T95, T98))
le33_in_ga(s(T113), s(T115)) → U8_ga(T113, T115, le33_in_ga(T113, T115))
le33_in_ga(0, s(T122)) → le33_out_ga(0, s(T122))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U8_ga(T113, T115, le33_out_ga(T113, T115)) → le33_out_ga(s(T113), s(T115))
U5_gaaa(T95, T98, T99, X170, X171, le33_out_ga(T95, T98)) → part20_out_gaaa(T95, .(T98, T99), X170, .(T98, X171))
part20_in_gaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_gaaa(T95, T98, T102, X170, X171, le33_in_ga(T95, T98))
U6_gaaa(T95, T98, T102, X170, X171, le33_out_ga(T95, T98)) → U7_gaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
part20_in_gaaa(T128, [], [], []) → part20_out_gaaa(T128, [], [], [])
U7_gaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_gaaa(T95, .(T98, T102), X170, .(T98, X171))
U4_gaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_gaaa(T70, .(T73, T77), .(T73, X119), X120)
U46_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, X47, X48)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
U45_ag(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U47_ag(T31, T33, T32, T8, part20_in_gaaa(T31, T32, T53, T54))
U47_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U48_ag(T31, T33, T32, T8, qs51_in_gaa(T33, T53, X9))
qs51_in_gaa(T148, T149, X273) → U37_gaa(T148, T149, X273, p56_in_gaaaaaa(T148, T149, X269, X270, X271, X272, X273))
p56_in_gaaaaaa(T148, T149, X269, X270, X271, X272, X273) → U9_gaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_in_gaaa(T148, T149, X269, X270))
U9_gaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_out_gaaa(T148, T149, X269, X270)) → p56_out_gaaaaaa(T148, T149, X269, X270, X271, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, X271, X272, X273) → U10_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U10_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U11_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
qs59_in_aa(.(T171, T172), X335) → U19_aa(T171, T172, X335, p56_in_aaaaaaa(T171, T172, X331, X332, X333, X334, X335))
p56_in_aaaaaaa(T148, T149, X269, X270, X271, X272, X273) → U9_aaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_in_aaaa(T148, T149, X269, X270))
part20_in_aaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_aaaa(T70, T73, T74, X119, X120, gt10_in_aa(T70, T73))
U2_aaaa(T70, T73, T74, X119, X120, gt10_out_aa(T70, T73)) → part20_out_aaaa(T70, .(T73, T74), .(T73, X119), X120)
part20_in_aaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_aaaa(T70, T73, T77, X119, X120, gt10_in_aa(T70, T73))
U3_aaaa(T70, T73, T77, X119, X120, gt10_out_aa(T70, T73)) → U4_aaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
U4_aaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_aaaa(T70, .(T73, T77), .(T73, X119), X120)
part20_in_aaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_aaaa(T95, T98, T99, X170, X171, le33_in_aa(T95, T98))
le33_in_aa(s(T113), s(T115)) → U8_aa(T113, T115, le33_in_aa(T113, T115))
le33_in_aa(0, s(T122)) → le33_out_aa(0, s(T122))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U8_aa(T113, T115, le33_out_aa(T113, T115)) → le33_out_aa(s(T113), s(T115))
U5_aaaa(T95, T98, T99, X170, X171, le33_out_aa(T95, T98)) → part20_out_aaaa(T95, .(T98, T99), X170, .(T98, X171))
part20_in_aaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_aaaa(T95, T98, T102, X170, X171, le33_in_aa(T95, T98))
U6_aaaa(T95, T98, T102, X170, X171, le33_out_aa(T95, T98)) → U7_aaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
U7_aaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_aaaa(T95, .(T98, T102), X170, .(T98, X171))
part20_in_aaaa(T128, [], [], []) → part20_out_aaaa(T128, [], [], [])
U9_aaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_out_aaaa(T148, T149, X269, X270)) → p56_out_aaaaaaa(T148, T149, X269, X270, X271, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, X271, X272, X273) → U10_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U10_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U11_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
qs59_in_aa([], []) → qs59_out_aa([], [])
U11_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_out_aa(T153, X271)) → p56_out_aaaaaaa(T148, T149, T153, T154, X271, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, T160, X272, X273) → U12_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U12_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U13_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U13_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U14_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T154, X272)) → p56_out_aaaaaaa(T148, T149, T153, T154, T160, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, T160, T178, X273) → U15_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_in_aaaa(T148, T149, T153, T154))
U15_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_out_aaaa(T148, T149, T153, T154)) → U16_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U16_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U17_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_in_aaaa(T160, T148, T178, X273))
app70_in_aaaa(.(T201, T202), T203, T204, .(T201, X391)) → U20_aaaa(T201, T202, T203, T204, X391, app70_in_aaaa(T202, T203, T204, X391))
app70_in_aaaa([], T213, T214, .(T213, T214)) → app70_out_aaaa([], T213, T214, .(T213, T214))
U20_aaaa(T201, T202, T203, T204, X391, app70_out_aaaa(T202, T203, T204, X391)) → app70_out_aaaa(.(T201, T202), T203, T204, .(T201, X391))
U18_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_out_aaaa(T160, T148, T178, X273)) → p56_out_aaaaaaa(T148, T149, T153, T154, T160, T178, X273)
U19_aa(T171, T172, X335, p56_out_aaaaaaa(T171, T172, X331, X332, X333, X334, X335)) → qs59_out_aa(.(T171, T172), X335)
U11_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_out_aa(T153, X271)) → p56_out_gaaaaaa(T148, T149, T153, T154, X271, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, T160, X272, X273) → U12_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U12_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U13_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U13_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U14_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T154, X272)) → p56_out_gaaaaaa(T148, T149, T153, T154, T160, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, T160, T178, X273) → U15_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_in_gaaa(T148, T149, T153, T154))
U15_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_out_gaaa(T148, T149, T153, T154)) → U16_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U16_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U17_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_in_agaa(T160, T148, T178, X273))
app70_in_agaa(.(T201, T202), T203, T204, .(T201, X391)) → U20_agaa(T201, T202, T203, T204, X391, app70_in_agaa(T202, T203, T204, X391))
app70_in_agaa([], T213, T214, .(T213, T214)) → app70_out_agaa([], T213, T214, .(T213, T214))
U20_agaa(T201, T202, T203, T204, X391, app70_out_agaa(T202, T203, T204, X391)) → app70_out_agaa(.(T201, T202), T203, T204, .(T201, X391))
U18_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_out_agaa(T160, T148, T178, X273)) → p56_out_gaaaaaa(T148, T149, T153, T154, T160, T178, X273)
U37_gaa(T148, T149, X273, p56_out_gaaaaaa(T148, T149, X269, X270, X271, X272, X273)) → qs51_out_gaa(T148, T149, X273)
U48_ag(T31, T33, T32, T8, qs51_out_gaa(T33, T53, X9)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
U47_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U49_ag(T31, T33, T32, T8, T54, qs51_in_gaa(T33, T53, T131))
U49_ag(T31, T33, T32, T8, T54, qs51_out_gaa(T33, T53, T131)) → U50_ag(T31, T33, T32, T8, p52_in_aaagg(T54, X10, T131, T31, T8))
p52_in_aaagg(T54, X10, T131, T31, T8) → U33_aaagg(T54, X10, T131, T31, T8, qs80_in_aa(T54, X10))
qs80_in_aa(.(T230, T231), X452) → U22_aa(T230, T231, X452, part87_in_aaaa(T230, T231, X448, X449))
part87_in_aaaa(T256, .(T257, T258), .(T257, X503), X504) → U38_aaaa(T256, T257, T258, X503, X504, gt10_in_aa(T256, T257))
U38_aaaa(T256, T257, T258, X503, X504, gt10_out_aa(T256, T257)) → part87_out_aaaa(T256, .(T257, T258), .(T257, X503), X504)
part87_in_aaaa(T261, .(T257, T262), .(T257, X503), X504) → U39_aaaa(T261, T257, T262, X503, X504, gt10_in_aa(T261, T257))
U39_aaaa(T261, T257, T262, X503, X504, gt10_out_aa(T261, T257)) → U40_aaaa(T261, T257, T262, X503, X504, part20_in_gaaa(T261, T262, X503, X504))
U40_aaaa(T261, T257, T262, X503, X504, part20_out_gaaa(T261, T262, X503, X504)) → part87_out_aaaa(T261, .(T257, T262), .(T257, X503), X504)
part87_in_aaaa(T283, .(T284, T285), X554, .(T284, X555)) → U41_aaaa(T283, T284, T285, X554, X555, le100_in_aa(T283, T284))
le100_in_aa(s(T302), s(T303)) → U21_aa(T302, T303, le100_in_aa(T302, T303))
le100_in_aa(0, s(T310)) → le100_out_aa(0, s(T310))
le100_in_aa(0, 0) → le100_out_aa(0, 0)
U21_aa(T302, T303, le100_out_aa(T302, T303)) → le100_out_aa(s(T302), s(T303))
U41_aaaa(T283, T284, T285, X554, X555, le100_out_aa(T283, T284)) → part87_out_aaaa(T283, .(T284, T285), X554, .(T284, X555))
part87_in_aaaa(T288, .(T284, T289), X554, .(T284, X555)) → U42_aaaa(T288, T284, T289, X554, X555, le100_in_aa(T288, T284))
U42_aaaa(T288, T284, T289, X554, X555, le100_out_aa(T288, T284)) → U43_aaaa(T288, T284, T289, X554, X555, part20_in_gaaa(T288, T289, X554, X555))
U43_aaaa(T288, T284, T289, X554, X555, part20_out_gaaa(T288, T289, X554, X555)) → part87_out_aaaa(T288, .(T284, T289), X554, .(T284, X555))
part87_in_aaaa(T316, [], [], []) → part87_out_aaaa(T316, [], [], [])
U22_aa(T230, T231, X452, part87_out_aaaa(T230, T231, X448, X449)) → qs80_out_aa(.(T230, T231), X452)
qs80_in_aa(.(T237, T231), X452) → U23_aa(T237, T231, X452, part87_in_aaaa(T237, T231, T235, T236))
U23_aa(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U24_aa(T237, T231, X452, qs80_in_aa(T235, X450))
qs80_in_aa(.(T325, T231), X452) → U27_aa(T325, T231, X452, part87_in_aaaa(T325, T231, T235, T236))
U27_aa(T325, T231, X452, part87_out_aaaa(T325, T231, T235, T236)) → U28_aa(T325, T231, X452, T236, qs80_in_aa(T235, T319))
qs80_in_aa([], []) → qs80_out_aa([], [])
U28_aa(T325, T231, X452, T236, qs80_out_aa(T235, T319)) → U29_aa(T325, T231, X452, T319, qs80_in_aa(T236, T324))
U29_aa(T325, T231, X452, T319, qs80_out_aa(T236, T324)) → U30_aa(T325, T231, X452, app121_in_aaaa(T319, T325, T324, X452))
app121_in_aaaa(.(T348, T349), T352, T353, .(T348, X657)) → U31_aaaa(T348, T349, T352, T353, X657, app121_in_aaaa(T349, T352, T353, X657))
app121_in_aaaa([], T362, T363, .(T362, T363)) → app121_out_aaaa([], T362, T363, .(T362, T363))
U31_aaaa(T348, T349, T352, T353, X657, app121_out_aaaa(T349, T352, T353, X657)) → app121_out_aaaa(.(T348, T349), T352, T353, .(T348, X657))
U30_aa(T325, T231, X452, app121_out_aaaa(T319, T325, T324, X452)) → qs80_out_aa(.(T325, T231), X452)
U24_aa(T237, T231, X452, qs80_out_aa(T235, X450)) → qs80_out_aa(.(T237, T231), X452)
U23_aa(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U25_aa(T237, T231, X452, T236, qs80_in_aa(T235, T319))
U25_aa(T237, T231, X452, T236, qs80_out_aa(T235, T319)) → U26_aa(T237, T231, X452, qs80_in_aa(T236, X451))
U26_aa(T237, T231, X452, qs80_out_aa(T236, X451)) → qs80_out_aa(.(T237, T231), X452)
U33_aaagg(T54, X10, T131, T31, T8, qs80_out_aa(T54, X10)) → p52_out_aaagg(T54, X10, T131, T31, T8)
p52_in_aaagg(T54, T217, T131, T31, T8) → U34_aaagg(T54, T217, T131, T31, T8, qs80_in_aa(T54, T217))
U34_aaagg(T54, T217, T131, T31, T8, qs80_out_aa(T54, T217)) → U35_aaagg(T54, T217, T131, T31, T8, app81_in_agag(T131, T31, T217, T8))
app81_in_agag(.(T389, T390), T391, T394, .(T389, T393)) → U32_agag(T389, T390, T391, T394, T393, app81_in_agag(T390, T391, T394, T393))
app81_in_agag([], T404, T405, .(T404, T405)) → app81_out_agag([], T404, T405, .(T404, T405))
U32_agag(T389, T390, T391, T394, T393, app81_out_agag(T390, T391, T394, T393)) → app81_out_agag(.(T389, T390), T391, T394, .(T389, T393))
U35_aaagg(T54, T217, T131, T31, T8, app81_out_agag(T131, T31, T217, T8)) → p52_out_aaagg(T54, T217, T131, T31, T8)
U50_ag(T31, T33, T32, T8, p52_out_aaagg(T54, X10, T131, T31, T8)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
qs1_in_ag(.(T421, .(T422, T423)), T8) → U51_ag(T421, T422, T423, T8, le100_in_aa(T421, T422))
U51_ag(T421, T422, T423, T8, le100_out_aa(T421, T422)) → qs1_out_ag(.(T421, .(T422, T423)), T8)
qs1_in_ag(.(T426, .(T428, T427)), T8) → U52_ag(T426, T428, T427, T8, le100_in_aa(T426, T428))
U52_ag(T426, T428, T427, T8, le100_out_aa(T426, T428)) → U53_ag(T426, T428, T427, T8, part20_in_gaaa(T426, T427, X740, X741))
U53_ag(T426, T428, T427, T8, part20_out_gaaa(T426, T427, X740, X741)) → qs1_out_ag(.(T426, .(T428, T427)), T8)
qs1_in_ag(.(T426, .(T436, T427)), T8) → U54_ag(T426, T436, T427, T8, le100_in_aa(T426, T436))
U54_ag(T426, T436, T427, T8, le100_out_aa(T426, T436)) → U55_ag(T426, T436, T427, T8, part20_in_gaaa(T426, T427, T434, T435))
U55_ag(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U56_ag(T426, T436, T427, T8, qs80_in_aa(T434, X9))
U56_ag(T426, T436, T427, T8, qs80_out_aa(T434, X9)) → qs1_out_ag(.(T426, .(T436, T427)), T8)
U55_ag(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U57_ag(T426, T436, T427, T8, T435, qs80_in_aa(T434, T442))
U57_ag(T426, T436, T427, T8, T435, qs80_out_aa(T434, T442)) → U58_ag(T426, T436, T427, T8, p52_in_aaagg(.(T436, T435), X10, T442, T426, T8))
U58_ag(T426, T436, T427, T8, p52_out_aaagg(.(T436, T435), X10, T442, T426, T8)) → qs1_out_ag(.(T426, .(T436, T427)), T8)
qs1_in_ag(.(T452, []), T8) → U59_ag(T452, T8, qs155_in_a(X9))
qs155_in_a([]) → qs155_out_a([])
U59_ag(T452, T8, qs155_out_a(X9)) → qs1_out_ag(.(T452, []), T8)
qs1_in_ag(.(T452, []), T8) → U60_ag(T452, T8, qs155_in_a(T455))
U60_ag(T452, T8, qs155_out_a(T455)) → U61_ag(T452, T8, qs155_in_a(X10))
U61_ag(T452, T8, qs155_out_a(X10)) → qs1_out_ag(.(T452, []), T8)
U60_ag(T452, T8, qs155_out_a(T455)) → U62_ag(T452, T8, T455, qs155_in_a(T460))
U62_ag(T452, T8, T455, qs155_out_a(T460)) → U63_ag(T452, T8, app162_in_gagg(T455, T452, T460, T8))
app162_in_gagg(.(T486, T487), T491, T489, .(T486, T490)) → U36_gagg(T486, T487, T491, T489, T490, app162_in_gagg(T487, T491, T489, T490))
app162_in_gagg([], T501, T502, .(T501, T502)) → app162_out_gagg([], T501, T502, .(T501, T502))
U36_gagg(T486, T487, T491, T489, T490, app162_out_gagg(T487, T491, T489, T490)) → app162_out_gagg(.(T486, T487), T491, T489, .(T486, T490))
U63_ag(T452, T8, app162_out_gagg(T455, T452, T460, T8)) → qs1_out_ag(.(T452, []), T8)
qs1_in_ag([], []) → qs1_out_ag([], [])

The argument filtering Pi contains the following mapping:
qs1_in_ag(x1, x2)  =  qs1_in_ag(x2)
U44_ag(x1, x2, x3, x4, x5)  =  U44_ag(x4, x5)
gt10_in_aa(x1, x2)  =  gt10_in_aa
U1_aa(x1, x2, x3)  =  U1_aa(x3)
gt10_out_aa(x1, x2)  =  gt10_out_aa(x1, x2)
qs1_out_ag(x1, x2)  =  qs1_out_ag(x2)
U45_ag(x1, x2, x3, x4, x5)  =  U45_ag(x4, x5)
U46_ag(x1, x2, x3, x4, x5)  =  U46_ag(x4, x5)
part20_in_gaaa(x1, x2, x3, x4)  =  part20_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x1, x6)
gt10_in_ga(x1, x2)  =  gt10_in_ga(x1)
s(x1)  =  s(x1)
U1_ga(x1, x2, x3)  =  U1_ga(x1, x3)
0  =  0
gt10_out_ga(x1, x2)  =  gt10_out_ga(x1, x2)
part20_out_gaaa(x1, x2, x3, x4)  =  part20_out_gaaa(x1)
U3_gaaa(x1, x2, x3, x4, x5, x6)  =  U3_gaaa(x1, x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x1, x6)
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x1, x6)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U8_ga(x1, x2, x3)  =  U8_ga(x1, x3)
le33_out_ga(x1, x2)  =  le33_out_ga(x1)
U6_gaaa(x1, x2, x3, x4, x5, x6)  =  U6_gaaa(x1, x6)
U7_gaaa(x1, x2, x3, x4, x5, x6)  =  U7_gaaa(x1, x6)
U47_ag(x1, x2, x3, x4, x5)  =  U47_ag(x1, x2, x4, x5)
U48_ag(x1, x2, x3, x4, x5)  =  U48_ag(x4, x5)
qs51_in_gaa(x1, x2, x3)  =  qs51_in_gaa(x1)
U37_gaa(x1, x2, x3, x4)  =  U37_gaa(x1, x4)
p56_in_gaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_in_gaaaaaa(x1)
U9_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_gaaaaaa(x1, x8)
p56_out_gaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_out_gaaaaaa(x1)
U10_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_gaaaaaa(x1, x8)
U11_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_gaaaaaa(x1, x8)
qs59_in_aa(x1, x2)  =  qs59_in_aa
U19_aa(x1, x2, x3, x4)  =  U19_aa(x4)
p56_in_aaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_in_aaaaaaa
U9_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_aaaaaaa(x8)
part20_in_aaaa(x1, x2, x3, x4)  =  part20_in_aaaa
U2_aaaa(x1, x2, x3, x4, x5, x6)  =  U2_aaaa(x6)
part20_out_aaaa(x1, x2, x3, x4)  =  part20_out_aaaa
U3_aaaa(x1, x2, x3, x4, x5, x6)  =  U3_aaaa(x6)
U4_aaaa(x1, x2, x3, x4, x5, x6)  =  U4_aaaa(x6)
U5_aaaa(x1, x2, x3, x4, x5, x6)  =  U5_aaaa(x6)
le33_in_aa(x1, x2)  =  le33_in_aa
U8_aa(x1, x2, x3)  =  U8_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
U6_aaaa(x1, x2, x3, x4, x5, x6)  =  U6_aaaa(x6)
U7_aaaa(x1, x2, x3, x4, x5, x6)  =  U7_aaaa(x6)
p56_out_aaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_out_aaaaaaa
U10_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_aaaaaaa(x8)
U11_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_aaaaaaa(x8)
qs59_out_aa(x1, x2)  =  qs59_out_aa
U12_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_aaaaaaa(x8)
U13_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_aaaaaaa(x8)
U14_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_aaaaaaa(x8)
U15_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_aaaaaaa(x8)
U16_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_aaaaaaa(x8)
U17_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_aaaaaaa(x8)
U18_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_aaaaaaa(x8)
.(x1, x2)  =  .(x1, x2)
[]  =  []
app70_in_aaaa(x1, x2, x3, x4)  =  app70_in_aaaa
U20_aaaa(x1, x2, x3, x4, x5, x6)  =  U20_aaaa(x6)
app70_out_aaaa(x1, x2, x3, x4)  =  app70_out_aaaa
U12_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_gaaaaaa(x1, x8)
U13_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_gaaaaaa(x1, x8)
U14_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_gaaaaaa(x1, x8)
U15_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_gaaaaaa(x1, x8)
U16_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_gaaaaaa(x1, x8)
U17_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_gaaaaaa(x1, x8)
U18_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_gaaaaaa(x1, x8)
app70_in_agaa(x1, x2, x3, x4)  =  app70_in_agaa(x2)
U20_agaa(x1, x2, x3, x4, x5, x6)  =  U20_agaa(x3, x6)
app70_out_agaa(x1, x2, x3, x4)  =  app70_out_agaa(x2)
qs51_out_gaa(x1, x2, x3)  =  qs51_out_gaa(x1)
U49_ag(x1, x2, x3, x4, x5, x6)  =  U49_ag(x1, x4, x6)
U50_ag(x1, x2, x3, x4, x5)  =  U50_ag(x4, x5)
p52_in_aaagg(x1, x2, x3, x4, x5)  =  p52_in_aaagg(x4, x5)
U33_aaagg(x1, x2, x3, x4, x5, x6)  =  U33_aaagg(x4, x5, x6)
qs80_in_aa(x1, x2)  =  qs80_in_aa
U22_aa(x1, x2, x3, x4)  =  U22_aa(x4)
part87_in_aaaa(x1, x2, x3, x4)  =  part87_in_aaaa
U38_aaaa(x1, x2, x3, x4, x5, x6)  =  U38_aaaa(x6)
part87_out_aaaa(x1, x2, x3, x4)  =  part87_out_aaaa
U39_aaaa(x1, x2, x3, x4, x5, x6)  =  U39_aaaa(x6)
U40_aaaa(x1, x2, x3, x4, x5, x6)  =  U40_aaaa(x6)
U41_aaaa(x1, x2, x3, x4, x5, x6)  =  U41_aaaa(x6)
le100_in_aa(x1, x2)  =  le100_in_aa
U21_aa(x1, x2, x3)  =  U21_aa(x3)
le100_out_aa(x1, x2)  =  le100_out_aa(x1)
U42_aaaa(x1, x2, x3, x4, x5, x6)  =  U42_aaaa(x6)
U43_aaaa(x1, x2, x3, x4, x5, x6)  =  U43_aaaa(x6)
qs80_out_aa(x1, x2)  =  qs80_out_aa
U23_aa(x1, x2, x3, x4)  =  U23_aa(x4)
U24_aa(x1, x2, x3, x4)  =  U24_aa(x4)
U27_aa(x1, x2, x3, x4)  =  U27_aa(x4)
U28_aa(x1, x2, x3, x4, x5)  =  U28_aa(x5)
U29_aa(x1, x2, x3, x4, x5)  =  U29_aa(x5)
U30_aa(x1, x2, x3, x4)  =  U30_aa(x4)
app121_in_aaaa(x1, x2, x3, x4)  =  app121_in_aaaa
U31_aaaa(x1, x2, x3, x4, x5, x6)  =  U31_aaaa(x6)
app121_out_aaaa(x1, x2, x3, x4)  =  app121_out_aaaa
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
U26_aa(x1, x2, x3, x4)  =  U26_aa(x4)
p52_out_aaagg(x1, x2, x3, x4, x5)  =  p52_out_aaagg(x4, x5)
U34_aaagg(x1, x2, x3, x4, x5, x6)  =  U34_aaagg(x4, x5, x6)
U35_aaagg(x1, x2, x3, x4, x5, x6)  =  U35_aaagg(x4, x5, x6)
app81_in_agag(x1, x2, x3, x4)  =  app81_in_agag(x2, x4)
U32_agag(x1, x2, x3, x4, x5, x6)  =  U32_agag(x1, x3, x5, x6)
app81_out_agag(x1, x2, x3, x4)  =  app81_out_agag(x1, x2, x3, x4)
U51_ag(x1, x2, x3, x4, x5)  =  U51_ag(x4, x5)
U52_ag(x1, x2, x3, x4, x5)  =  U52_ag(x4, x5)
U53_ag(x1, x2, x3, x4, x5)  =  U53_ag(x4, x5)
U54_ag(x1, x2, x3, x4, x5)  =  U54_ag(x4, x5)
U55_ag(x1, x2, x3, x4, x5)  =  U55_ag(x1, x4, x5)
U56_ag(x1, x2, x3, x4, x5)  =  U56_ag(x4, x5)
U57_ag(x1, x2, x3, x4, x5, x6)  =  U57_ag(x1, x4, x6)
U58_ag(x1, x2, x3, x4, x5)  =  U58_ag(x4, x5)
U59_ag(x1, x2, x3)  =  U59_ag(x2, x3)
qs155_in_a(x1)  =  qs155_in_a
qs155_out_a(x1)  =  qs155_out_a(x1)
U60_ag(x1, x2, x3)  =  U60_ag(x2, x3)
U61_ag(x1, x2, x3)  =  U61_ag(x2, x3)
U62_ag(x1, x2, x3, x4)  =  U62_ag(x2, x3, x4)
U63_ag(x1, x2, x3)  =  U63_ag(x2, x3)
app162_in_gagg(x1, x2, x3, x4)  =  app162_in_gagg(x1, x3, x4)
U36_gagg(x1, x2, x3, x4, x5, x6)  =  U36_gagg(x1, x2, x4, x5, x6)
app162_out_gagg(x1, x2, x3, x4)  =  app162_out_gagg(x1, x2, x3, x4)
APP121_IN_AAAA(x1, x2, x3, x4)  =  APP121_IN_AAAA

We have to consider all (P,R,Pi)-chains

(24) UsableRulesProof (EQUIVALENT transformation)

For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R.

(25) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

APP121_IN_AAAA(.(T348, T349), T352, T353, .(T348, X657)) → APP121_IN_AAAA(T349, T352, T353, X657)

R is empty.
The argument filtering Pi contains the following mapping:
.(x1, x2)  =  .(x1, x2)
APP121_IN_AAAA(x1, x2, x3, x4)  =  APP121_IN_AAAA

We have to consider all (P,R,Pi)-chains

(26) PiDPToQDPProof (SOUND transformation)

Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi.

(27) Obligation:

Q DP problem:
The TRS P consists of the following rules:

APP121_IN_AAAAAPP121_IN_AAAA

R is empty.
Q is empty.
We have to consider all (P,Q,R)-chains.

(28) NonTerminationProof (EQUIVALENT transformation)

We used the non-termination processor [FROCOS05] to show that the DP problem is infinite.
Found a loop by semiunifying a rule from P directly.

s = APP121_IN_AAAA evaluates to t =APP121_IN_AAAA

Thus s starts an infinite chain as s semiunifies with t with the following substitutions:
  • Semiunifier: [ ]
  • Matcher: [ ]




Rewriting sequence

The DP semiunifies directly so there is only one rewrite step from APP121_IN_AAAA to APP121_IN_AAAA.



(29) NO

(30) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

LE100_IN_AA(s(T302), s(T303)) → LE100_IN_AA(T302, T303)

The TRS R consists of the following rules:

qs1_in_ag(.(T26, .(T27, T28)), T8) → U44_ag(T26, T27, T28, T8, gt10_in_aa(T26, T27))
gt10_in_aa(s(T46), s(T47)) → U1_aa(T46, T47, gt10_in_aa(T46, T47))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U1_aa(T46, T47, gt10_out_aa(T46, T47)) → gt10_out_aa(s(T46), s(T47))
U44_ag(T26, T27, T28, T8, gt10_out_aa(T26, T27)) → qs1_out_ag(.(T26, .(T27, T28)), T8)
qs1_in_ag(.(T31, .(T33, T32)), T8) → U45_ag(T31, T33, T32, T8, gt10_in_aa(T31, T33))
U45_ag(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U46_ag(T31, T33, T32, T8, part20_in_gaaa(T31, T32, X47, X48))
part20_in_gaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_gaaa(T70, T73, T74, X119, X120, gt10_in_ga(T70, T73))
gt10_in_ga(s(T46), s(T47)) → U1_ga(T46, T47, gt10_in_ga(T46, T47))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U1_ga(T46, T47, gt10_out_ga(T46, T47)) → gt10_out_ga(s(T46), s(T47))
U2_gaaa(T70, T73, T74, X119, X120, gt10_out_ga(T70, T73)) → part20_out_gaaa(T70, .(T73, T74), .(T73, X119), X120)
part20_in_gaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_gaaa(T70, T73, T77, X119, X120, gt10_in_ga(T70, T73))
U3_gaaa(T70, T73, T77, X119, X120, gt10_out_ga(T70, T73)) → U4_gaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
part20_in_gaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_gaaa(T95, T98, T99, X170, X171, le33_in_ga(T95, T98))
le33_in_ga(s(T113), s(T115)) → U8_ga(T113, T115, le33_in_ga(T113, T115))
le33_in_ga(0, s(T122)) → le33_out_ga(0, s(T122))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U8_ga(T113, T115, le33_out_ga(T113, T115)) → le33_out_ga(s(T113), s(T115))
U5_gaaa(T95, T98, T99, X170, X171, le33_out_ga(T95, T98)) → part20_out_gaaa(T95, .(T98, T99), X170, .(T98, X171))
part20_in_gaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_gaaa(T95, T98, T102, X170, X171, le33_in_ga(T95, T98))
U6_gaaa(T95, T98, T102, X170, X171, le33_out_ga(T95, T98)) → U7_gaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
part20_in_gaaa(T128, [], [], []) → part20_out_gaaa(T128, [], [], [])
U7_gaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_gaaa(T95, .(T98, T102), X170, .(T98, X171))
U4_gaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_gaaa(T70, .(T73, T77), .(T73, X119), X120)
U46_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, X47, X48)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
U45_ag(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U47_ag(T31, T33, T32, T8, part20_in_gaaa(T31, T32, T53, T54))
U47_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U48_ag(T31, T33, T32, T8, qs51_in_gaa(T33, T53, X9))
qs51_in_gaa(T148, T149, X273) → U37_gaa(T148, T149, X273, p56_in_gaaaaaa(T148, T149, X269, X270, X271, X272, X273))
p56_in_gaaaaaa(T148, T149, X269, X270, X271, X272, X273) → U9_gaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_in_gaaa(T148, T149, X269, X270))
U9_gaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_out_gaaa(T148, T149, X269, X270)) → p56_out_gaaaaaa(T148, T149, X269, X270, X271, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, X271, X272, X273) → U10_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U10_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U11_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
qs59_in_aa(.(T171, T172), X335) → U19_aa(T171, T172, X335, p56_in_aaaaaaa(T171, T172, X331, X332, X333, X334, X335))
p56_in_aaaaaaa(T148, T149, X269, X270, X271, X272, X273) → U9_aaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_in_aaaa(T148, T149, X269, X270))
part20_in_aaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_aaaa(T70, T73, T74, X119, X120, gt10_in_aa(T70, T73))
U2_aaaa(T70, T73, T74, X119, X120, gt10_out_aa(T70, T73)) → part20_out_aaaa(T70, .(T73, T74), .(T73, X119), X120)
part20_in_aaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_aaaa(T70, T73, T77, X119, X120, gt10_in_aa(T70, T73))
U3_aaaa(T70, T73, T77, X119, X120, gt10_out_aa(T70, T73)) → U4_aaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
U4_aaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_aaaa(T70, .(T73, T77), .(T73, X119), X120)
part20_in_aaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_aaaa(T95, T98, T99, X170, X171, le33_in_aa(T95, T98))
le33_in_aa(s(T113), s(T115)) → U8_aa(T113, T115, le33_in_aa(T113, T115))
le33_in_aa(0, s(T122)) → le33_out_aa(0, s(T122))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U8_aa(T113, T115, le33_out_aa(T113, T115)) → le33_out_aa(s(T113), s(T115))
U5_aaaa(T95, T98, T99, X170, X171, le33_out_aa(T95, T98)) → part20_out_aaaa(T95, .(T98, T99), X170, .(T98, X171))
part20_in_aaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_aaaa(T95, T98, T102, X170, X171, le33_in_aa(T95, T98))
U6_aaaa(T95, T98, T102, X170, X171, le33_out_aa(T95, T98)) → U7_aaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
U7_aaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_aaaa(T95, .(T98, T102), X170, .(T98, X171))
part20_in_aaaa(T128, [], [], []) → part20_out_aaaa(T128, [], [], [])
U9_aaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_out_aaaa(T148, T149, X269, X270)) → p56_out_aaaaaaa(T148, T149, X269, X270, X271, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, X271, X272, X273) → U10_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U10_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U11_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
qs59_in_aa([], []) → qs59_out_aa([], [])
U11_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_out_aa(T153, X271)) → p56_out_aaaaaaa(T148, T149, T153, T154, X271, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, T160, X272, X273) → U12_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U12_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U13_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U13_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U14_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T154, X272)) → p56_out_aaaaaaa(T148, T149, T153, T154, T160, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, T160, T178, X273) → U15_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_in_aaaa(T148, T149, T153, T154))
U15_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_out_aaaa(T148, T149, T153, T154)) → U16_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U16_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U17_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_in_aaaa(T160, T148, T178, X273))
app70_in_aaaa(.(T201, T202), T203, T204, .(T201, X391)) → U20_aaaa(T201, T202, T203, T204, X391, app70_in_aaaa(T202, T203, T204, X391))
app70_in_aaaa([], T213, T214, .(T213, T214)) → app70_out_aaaa([], T213, T214, .(T213, T214))
U20_aaaa(T201, T202, T203, T204, X391, app70_out_aaaa(T202, T203, T204, X391)) → app70_out_aaaa(.(T201, T202), T203, T204, .(T201, X391))
U18_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_out_aaaa(T160, T148, T178, X273)) → p56_out_aaaaaaa(T148, T149, T153, T154, T160, T178, X273)
U19_aa(T171, T172, X335, p56_out_aaaaaaa(T171, T172, X331, X332, X333, X334, X335)) → qs59_out_aa(.(T171, T172), X335)
U11_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_out_aa(T153, X271)) → p56_out_gaaaaaa(T148, T149, T153, T154, X271, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, T160, X272, X273) → U12_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U12_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U13_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U13_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U14_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T154, X272)) → p56_out_gaaaaaa(T148, T149, T153, T154, T160, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, T160, T178, X273) → U15_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_in_gaaa(T148, T149, T153, T154))
U15_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_out_gaaa(T148, T149, T153, T154)) → U16_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U16_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U17_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_in_agaa(T160, T148, T178, X273))
app70_in_agaa(.(T201, T202), T203, T204, .(T201, X391)) → U20_agaa(T201, T202, T203, T204, X391, app70_in_agaa(T202, T203, T204, X391))
app70_in_agaa([], T213, T214, .(T213, T214)) → app70_out_agaa([], T213, T214, .(T213, T214))
U20_agaa(T201, T202, T203, T204, X391, app70_out_agaa(T202, T203, T204, X391)) → app70_out_agaa(.(T201, T202), T203, T204, .(T201, X391))
U18_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_out_agaa(T160, T148, T178, X273)) → p56_out_gaaaaaa(T148, T149, T153, T154, T160, T178, X273)
U37_gaa(T148, T149, X273, p56_out_gaaaaaa(T148, T149, X269, X270, X271, X272, X273)) → qs51_out_gaa(T148, T149, X273)
U48_ag(T31, T33, T32, T8, qs51_out_gaa(T33, T53, X9)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
U47_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U49_ag(T31, T33, T32, T8, T54, qs51_in_gaa(T33, T53, T131))
U49_ag(T31, T33, T32, T8, T54, qs51_out_gaa(T33, T53, T131)) → U50_ag(T31, T33, T32, T8, p52_in_aaagg(T54, X10, T131, T31, T8))
p52_in_aaagg(T54, X10, T131, T31, T8) → U33_aaagg(T54, X10, T131, T31, T8, qs80_in_aa(T54, X10))
qs80_in_aa(.(T230, T231), X452) → U22_aa(T230, T231, X452, part87_in_aaaa(T230, T231, X448, X449))
part87_in_aaaa(T256, .(T257, T258), .(T257, X503), X504) → U38_aaaa(T256, T257, T258, X503, X504, gt10_in_aa(T256, T257))
U38_aaaa(T256, T257, T258, X503, X504, gt10_out_aa(T256, T257)) → part87_out_aaaa(T256, .(T257, T258), .(T257, X503), X504)
part87_in_aaaa(T261, .(T257, T262), .(T257, X503), X504) → U39_aaaa(T261, T257, T262, X503, X504, gt10_in_aa(T261, T257))
U39_aaaa(T261, T257, T262, X503, X504, gt10_out_aa(T261, T257)) → U40_aaaa(T261, T257, T262, X503, X504, part20_in_gaaa(T261, T262, X503, X504))
U40_aaaa(T261, T257, T262, X503, X504, part20_out_gaaa(T261, T262, X503, X504)) → part87_out_aaaa(T261, .(T257, T262), .(T257, X503), X504)
part87_in_aaaa(T283, .(T284, T285), X554, .(T284, X555)) → U41_aaaa(T283, T284, T285, X554, X555, le100_in_aa(T283, T284))
le100_in_aa(s(T302), s(T303)) → U21_aa(T302, T303, le100_in_aa(T302, T303))
le100_in_aa(0, s(T310)) → le100_out_aa(0, s(T310))
le100_in_aa(0, 0) → le100_out_aa(0, 0)
U21_aa(T302, T303, le100_out_aa(T302, T303)) → le100_out_aa(s(T302), s(T303))
U41_aaaa(T283, T284, T285, X554, X555, le100_out_aa(T283, T284)) → part87_out_aaaa(T283, .(T284, T285), X554, .(T284, X555))
part87_in_aaaa(T288, .(T284, T289), X554, .(T284, X555)) → U42_aaaa(T288, T284, T289, X554, X555, le100_in_aa(T288, T284))
U42_aaaa(T288, T284, T289, X554, X555, le100_out_aa(T288, T284)) → U43_aaaa(T288, T284, T289, X554, X555, part20_in_gaaa(T288, T289, X554, X555))
U43_aaaa(T288, T284, T289, X554, X555, part20_out_gaaa(T288, T289, X554, X555)) → part87_out_aaaa(T288, .(T284, T289), X554, .(T284, X555))
part87_in_aaaa(T316, [], [], []) → part87_out_aaaa(T316, [], [], [])
U22_aa(T230, T231, X452, part87_out_aaaa(T230, T231, X448, X449)) → qs80_out_aa(.(T230, T231), X452)
qs80_in_aa(.(T237, T231), X452) → U23_aa(T237, T231, X452, part87_in_aaaa(T237, T231, T235, T236))
U23_aa(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U24_aa(T237, T231, X452, qs80_in_aa(T235, X450))
qs80_in_aa(.(T325, T231), X452) → U27_aa(T325, T231, X452, part87_in_aaaa(T325, T231, T235, T236))
U27_aa(T325, T231, X452, part87_out_aaaa(T325, T231, T235, T236)) → U28_aa(T325, T231, X452, T236, qs80_in_aa(T235, T319))
qs80_in_aa([], []) → qs80_out_aa([], [])
U28_aa(T325, T231, X452, T236, qs80_out_aa(T235, T319)) → U29_aa(T325, T231, X452, T319, qs80_in_aa(T236, T324))
U29_aa(T325, T231, X452, T319, qs80_out_aa(T236, T324)) → U30_aa(T325, T231, X452, app121_in_aaaa(T319, T325, T324, X452))
app121_in_aaaa(.(T348, T349), T352, T353, .(T348, X657)) → U31_aaaa(T348, T349, T352, T353, X657, app121_in_aaaa(T349, T352, T353, X657))
app121_in_aaaa([], T362, T363, .(T362, T363)) → app121_out_aaaa([], T362, T363, .(T362, T363))
U31_aaaa(T348, T349, T352, T353, X657, app121_out_aaaa(T349, T352, T353, X657)) → app121_out_aaaa(.(T348, T349), T352, T353, .(T348, X657))
U30_aa(T325, T231, X452, app121_out_aaaa(T319, T325, T324, X452)) → qs80_out_aa(.(T325, T231), X452)
U24_aa(T237, T231, X452, qs80_out_aa(T235, X450)) → qs80_out_aa(.(T237, T231), X452)
U23_aa(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U25_aa(T237, T231, X452, T236, qs80_in_aa(T235, T319))
U25_aa(T237, T231, X452, T236, qs80_out_aa(T235, T319)) → U26_aa(T237, T231, X452, qs80_in_aa(T236, X451))
U26_aa(T237, T231, X452, qs80_out_aa(T236, X451)) → qs80_out_aa(.(T237, T231), X452)
U33_aaagg(T54, X10, T131, T31, T8, qs80_out_aa(T54, X10)) → p52_out_aaagg(T54, X10, T131, T31, T8)
p52_in_aaagg(T54, T217, T131, T31, T8) → U34_aaagg(T54, T217, T131, T31, T8, qs80_in_aa(T54, T217))
U34_aaagg(T54, T217, T131, T31, T8, qs80_out_aa(T54, T217)) → U35_aaagg(T54, T217, T131, T31, T8, app81_in_agag(T131, T31, T217, T8))
app81_in_agag(.(T389, T390), T391, T394, .(T389, T393)) → U32_agag(T389, T390, T391, T394, T393, app81_in_agag(T390, T391, T394, T393))
app81_in_agag([], T404, T405, .(T404, T405)) → app81_out_agag([], T404, T405, .(T404, T405))
U32_agag(T389, T390, T391, T394, T393, app81_out_agag(T390, T391, T394, T393)) → app81_out_agag(.(T389, T390), T391, T394, .(T389, T393))
U35_aaagg(T54, T217, T131, T31, T8, app81_out_agag(T131, T31, T217, T8)) → p52_out_aaagg(T54, T217, T131, T31, T8)
U50_ag(T31, T33, T32, T8, p52_out_aaagg(T54, X10, T131, T31, T8)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
qs1_in_ag(.(T421, .(T422, T423)), T8) → U51_ag(T421, T422, T423, T8, le100_in_aa(T421, T422))
U51_ag(T421, T422, T423, T8, le100_out_aa(T421, T422)) → qs1_out_ag(.(T421, .(T422, T423)), T8)
qs1_in_ag(.(T426, .(T428, T427)), T8) → U52_ag(T426, T428, T427, T8, le100_in_aa(T426, T428))
U52_ag(T426, T428, T427, T8, le100_out_aa(T426, T428)) → U53_ag(T426, T428, T427, T8, part20_in_gaaa(T426, T427, X740, X741))
U53_ag(T426, T428, T427, T8, part20_out_gaaa(T426, T427, X740, X741)) → qs1_out_ag(.(T426, .(T428, T427)), T8)
qs1_in_ag(.(T426, .(T436, T427)), T8) → U54_ag(T426, T436, T427, T8, le100_in_aa(T426, T436))
U54_ag(T426, T436, T427, T8, le100_out_aa(T426, T436)) → U55_ag(T426, T436, T427, T8, part20_in_gaaa(T426, T427, T434, T435))
U55_ag(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U56_ag(T426, T436, T427, T8, qs80_in_aa(T434, X9))
U56_ag(T426, T436, T427, T8, qs80_out_aa(T434, X9)) → qs1_out_ag(.(T426, .(T436, T427)), T8)
U55_ag(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U57_ag(T426, T436, T427, T8, T435, qs80_in_aa(T434, T442))
U57_ag(T426, T436, T427, T8, T435, qs80_out_aa(T434, T442)) → U58_ag(T426, T436, T427, T8, p52_in_aaagg(.(T436, T435), X10, T442, T426, T8))
U58_ag(T426, T436, T427, T8, p52_out_aaagg(.(T436, T435), X10, T442, T426, T8)) → qs1_out_ag(.(T426, .(T436, T427)), T8)
qs1_in_ag(.(T452, []), T8) → U59_ag(T452, T8, qs155_in_a(X9))
qs155_in_a([]) → qs155_out_a([])
U59_ag(T452, T8, qs155_out_a(X9)) → qs1_out_ag(.(T452, []), T8)
qs1_in_ag(.(T452, []), T8) → U60_ag(T452, T8, qs155_in_a(T455))
U60_ag(T452, T8, qs155_out_a(T455)) → U61_ag(T452, T8, qs155_in_a(X10))
U61_ag(T452, T8, qs155_out_a(X10)) → qs1_out_ag(.(T452, []), T8)
U60_ag(T452, T8, qs155_out_a(T455)) → U62_ag(T452, T8, T455, qs155_in_a(T460))
U62_ag(T452, T8, T455, qs155_out_a(T460)) → U63_ag(T452, T8, app162_in_gagg(T455, T452, T460, T8))
app162_in_gagg(.(T486, T487), T491, T489, .(T486, T490)) → U36_gagg(T486, T487, T491, T489, T490, app162_in_gagg(T487, T491, T489, T490))
app162_in_gagg([], T501, T502, .(T501, T502)) → app162_out_gagg([], T501, T502, .(T501, T502))
U36_gagg(T486, T487, T491, T489, T490, app162_out_gagg(T487, T491, T489, T490)) → app162_out_gagg(.(T486, T487), T491, T489, .(T486, T490))
U63_ag(T452, T8, app162_out_gagg(T455, T452, T460, T8)) → qs1_out_ag(.(T452, []), T8)
qs1_in_ag([], []) → qs1_out_ag([], [])

The argument filtering Pi contains the following mapping:
qs1_in_ag(x1, x2)  =  qs1_in_ag(x2)
U44_ag(x1, x2, x3, x4, x5)  =  U44_ag(x4, x5)
gt10_in_aa(x1, x2)  =  gt10_in_aa
U1_aa(x1, x2, x3)  =  U1_aa(x3)
gt10_out_aa(x1, x2)  =  gt10_out_aa(x1, x2)
qs1_out_ag(x1, x2)  =  qs1_out_ag(x2)
U45_ag(x1, x2, x3, x4, x5)  =  U45_ag(x4, x5)
U46_ag(x1, x2, x3, x4, x5)  =  U46_ag(x4, x5)
part20_in_gaaa(x1, x2, x3, x4)  =  part20_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x1, x6)
gt10_in_ga(x1, x2)  =  gt10_in_ga(x1)
s(x1)  =  s(x1)
U1_ga(x1, x2, x3)  =  U1_ga(x1, x3)
0  =  0
gt10_out_ga(x1, x2)  =  gt10_out_ga(x1, x2)
part20_out_gaaa(x1, x2, x3, x4)  =  part20_out_gaaa(x1)
U3_gaaa(x1, x2, x3, x4, x5, x6)  =  U3_gaaa(x1, x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x1, x6)
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x1, x6)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U8_ga(x1, x2, x3)  =  U8_ga(x1, x3)
le33_out_ga(x1, x2)  =  le33_out_ga(x1)
U6_gaaa(x1, x2, x3, x4, x5, x6)  =  U6_gaaa(x1, x6)
U7_gaaa(x1, x2, x3, x4, x5, x6)  =  U7_gaaa(x1, x6)
U47_ag(x1, x2, x3, x4, x5)  =  U47_ag(x1, x2, x4, x5)
U48_ag(x1, x2, x3, x4, x5)  =  U48_ag(x4, x5)
qs51_in_gaa(x1, x2, x3)  =  qs51_in_gaa(x1)
U37_gaa(x1, x2, x3, x4)  =  U37_gaa(x1, x4)
p56_in_gaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_in_gaaaaaa(x1)
U9_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_gaaaaaa(x1, x8)
p56_out_gaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_out_gaaaaaa(x1)
U10_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_gaaaaaa(x1, x8)
U11_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_gaaaaaa(x1, x8)
qs59_in_aa(x1, x2)  =  qs59_in_aa
U19_aa(x1, x2, x3, x4)  =  U19_aa(x4)
p56_in_aaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_in_aaaaaaa
U9_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_aaaaaaa(x8)
part20_in_aaaa(x1, x2, x3, x4)  =  part20_in_aaaa
U2_aaaa(x1, x2, x3, x4, x5, x6)  =  U2_aaaa(x6)
part20_out_aaaa(x1, x2, x3, x4)  =  part20_out_aaaa
U3_aaaa(x1, x2, x3, x4, x5, x6)  =  U3_aaaa(x6)
U4_aaaa(x1, x2, x3, x4, x5, x6)  =  U4_aaaa(x6)
U5_aaaa(x1, x2, x3, x4, x5, x6)  =  U5_aaaa(x6)
le33_in_aa(x1, x2)  =  le33_in_aa
U8_aa(x1, x2, x3)  =  U8_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
U6_aaaa(x1, x2, x3, x4, x5, x6)  =  U6_aaaa(x6)
U7_aaaa(x1, x2, x3, x4, x5, x6)  =  U7_aaaa(x6)
p56_out_aaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_out_aaaaaaa
U10_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_aaaaaaa(x8)
U11_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_aaaaaaa(x8)
qs59_out_aa(x1, x2)  =  qs59_out_aa
U12_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_aaaaaaa(x8)
U13_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_aaaaaaa(x8)
U14_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_aaaaaaa(x8)
U15_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_aaaaaaa(x8)
U16_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_aaaaaaa(x8)
U17_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_aaaaaaa(x8)
U18_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_aaaaaaa(x8)
.(x1, x2)  =  .(x1, x2)
[]  =  []
app70_in_aaaa(x1, x2, x3, x4)  =  app70_in_aaaa
U20_aaaa(x1, x2, x3, x4, x5, x6)  =  U20_aaaa(x6)
app70_out_aaaa(x1, x2, x3, x4)  =  app70_out_aaaa
U12_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_gaaaaaa(x1, x8)
U13_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_gaaaaaa(x1, x8)
U14_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_gaaaaaa(x1, x8)
U15_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_gaaaaaa(x1, x8)
U16_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_gaaaaaa(x1, x8)
U17_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_gaaaaaa(x1, x8)
U18_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_gaaaaaa(x1, x8)
app70_in_agaa(x1, x2, x3, x4)  =  app70_in_agaa(x2)
U20_agaa(x1, x2, x3, x4, x5, x6)  =  U20_agaa(x3, x6)
app70_out_agaa(x1, x2, x3, x4)  =  app70_out_agaa(x2)
qs51_out_gaa(x1, x2, x3)  =  qs51_out_gaa(x1)
U49_ag(x1, x2, x3, x4, x5, x6)  =  U49_ag(x1, x4, x6)
U50_ag(x1, x2, x3, x4, x5)  =  U50_ag(x4, x5)
p52_in_aaagg(x1, x2, x3, x4, x5)  =  p52_in_aaagg(x4, x5)
U33_aaagg(x1, x2, x3, x4, x5, x6)  =  U33_aaagg(x4, x5, x6)
qs80_in_aa(x1, x2)  =  qs80_in_aa
U22_aa(x1, x2, x3, x4)  =  U22_aa(x4)
part87_in_aaaa(x1, x2, x3, x4)  =  part87_in_aaaa
U38_aaaa(x1, x2, x3, x4, x5, x6)  =  U38_aaaa(x6)
part87_out_aaaa(x1, x2, x3, x4)  =  part87_out_aaaa
U39_aaaa(x1, x2, x3, x4, x5, x6)  =  U39_aaaa(x6)
U40_aaaa(x1, x2, x3, x4, x5, x6)  =  U40_aaaa(x6)
U41_aaaa(x1, x2, x3, x4, x5, x6)  =  U41_aaaa(x6)
le100_in_aa(x1, x2)  =  le100_in_aa
U21_aa(x1, x2, x3)  =  U21_aa(x3)
le100_out_aa(x1, x2)  =  le100_out_aa(x1)
U42_aaaa(x1, x2, x3, x4, x5, x6)  =  U42_aaaa(x6)
U43_aaaa(x1, x2, x3, x4, x5, x6)  =  U43_aaaa(x6)
qs80_out_aa(x1, x2)  =  qs80_out_aa
U23_aa(x1, x2, x3, x4)  =  U23_aa(x4)
U24_aa(x1, x2, x3, x4)  =  U24_aa(x4)
U27_aa(x1, x2, x3, x4)  =  U27_aa(x4)
U28_aa(x1, x2, x3, x4, x5)  =  U28_aa(x5)
U29_aa(x1, x2, x3, x4, x5)  =  U29_aa(x5)
U30_aa(x1, x2, x3, x4)  =  U30_aa(x4)
app121_in_aaaa(x1, x2, x3, x4)  =  app121_in_aaaa
U31_aaaa(x1, x2, x3, x4, x5, x6)  =  U31_aaaa(x6)
app121_out_aaaa(x1, x2, x3, x4)  =  app121_out_aaaa
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
U26_aa(x1, x2, x3, x4)  =  U26_aa(x4)
p52_out_aaagg(x1, x2, x3, x4, x5)  =  p52_out_aaagg(x4, x5)
U34_aaagg(x1, x2, x3, x4, x5, x6)  =  U34_aaagg(x4, x5, x6)
U35_aaagg(x1, x2, x3, x4, x5, x6)  =  U35_aaagg(x4, x5, x6)
app81_in_agag(x1, x2, x3, x4)  =  app81_in_agag(x2, x4)
U32_agag(x1, x2, x3, x4, x5, x6)  =  U32_agag(x1, x3, x5, x6)
app81_out_agag(x1, x2, x3, x4)  =  app81_out_agag(x1, x2, x3, x4)
U51_ag(x1, x2, x3, x4, x5)  =  U51_ag(x4, x5)
U52_ag(x1, x2, x3, x4, x5)  =  U52_ag(x4, x5)
U53_ag(x1, x2, x3, x4, x5)  =  U53_ag(x4, x5)
U54_ag(x1, x2, x3, x4, x5)  =  U54_ag(x4, x5)
U55_ag(x1, x2, x3, x4, x5)  =  U55_ag(x1, x4, x5)
U56_ag(x1, x2, x3, x4, x5)  =  U56_ag(x4, x5)
U57_ag(x1, x2, x3, x4, x5, x6)  =  U57_ag(x1, x4, x6)
U58_ag(x1, x2, x3, x4, x5)  =  U58_ag(x4, x5)
U59_ag(x1, x2, x3)  =  U59_ag(x2, x3)
qs155_in_a(x1)  =  qs155_in_a
qs155_out_a(x1)  =  qs155_out_a(x1)
U60_ag(x1, x2, x3)  =  U60_ag(x2, x3)
U61_ag(x1, x2, x3)  =  U61_ag(x2, x3)
U62_ag(x1, x2, x3, x4)  =  U62_ag(x2, x3, x4)
U63_ag(x1, x2, x3)  =  U63_ag(x2, x3)
app162_in_gagg(x1, x2, x3, x4)  =  app162_in_gagg(x1, x3, x4)
U36_gagg(x1, x2, x3, x4, x5, x6)  =  U36_gagg(x1, x2, x4, x5, x6)
app162_out_gagg(x1, x2, x3, x4)  =  app162_out_gagg(x1, x2, x3, x4)
LE100_IN_AA(x1, x2)  =  LE100_IN_AA

We have to consider all (P,R,Pi)-chains

(31) UsableRulesProof (EQUIVALENT transformation)

For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R.

(32) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

LE100_IN_AA(s(T302), s(T303)) → LE100_IN_AA(T302, T303)

R is empty.
The argument filtering Pi contains the following mapping:
s(x1)  =  s(x1)
LE100_IN_AA(x1, x2)  =  LE100_IN_AA

We have to consider all (P,R,Pi)-chains

(33) PiDPToQDPProof (SOUND transformation)

Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi.

(34) Obligation:

Q DP problem:
The TRS P consists of the following rules:

LE100_IN_AALE100_IN_AA

R is empty.
Q is empty.
We have to consider all (P,Q,R)-chains.

(35) NonTerminationProof (EQUIVALENT transformation)

We used the non-termination processor [FROCOS05] to show that the DP problem is infinite.
Found a loop by semiunifying a rule from P directly.

s = LE100_IN_AA evaluates to t =LE100_IN_AA

Thus s starts an infinite chain as s semiunifies with t with the following substitutions:
  • Semiunifier: [ ]
  • Matcher: [ ]




Rewriting sequence

The DP semiunifies directly so there is only one rewrite step from LE100_IN_AA to LE100_IN_AA.



(36) NO

(37) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

APP70_IN_AGAA(.(T201, T202), T203, T204, .(T201, X391)) → APP70_IN_AGAA(T202, T203, T204, X391)

The TRS R consists of the following rules:

qs1_in_ag(.(T26, .(T27, T28)), T8) → U44_ag(T26, T27, T28, T8, gt10_in_aa(T26, T27))
gt10_in_aa(s(T46), s(T47)) → U1_aa(T46, T47, gt10_in_aa(T46, T47))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U1_aa(T46, T47, gt10_out_aa(T46, T47)) → gt10_out_aa(s(T46), s(T47))
U44_ag(T26, T27, T28, T8, gt10_out_aa(T26, T27)) → qs1_out_ag(.(T26, .(T27, T28)), T8)
qs1_in_ag(.(T31, .(T33, T32)), T8) → U45_ag(T31, T33, T32, T8, gt10_in_aa(T31, T33))
U45_ag(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U46_ag(T31, T33, T32, T8, part20_in_gaaa(T31, T32, X47, X48))
part20_in_gaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_gaaa(T70, T73, T74, X119, X120, gt10_in_ga(T70, T73))
gt10_in_ga(s(T46), s(T47)) → U1_ga(T46, T47, gt10_in_ga(T46, T47))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U1_ga(T46, T47, gt10_out_ga(T46, T47)) → gt10_out_ga(s(T46), s(T47))
U2_gaaa(T70, T73, T74, X119, X120, gt10_out_ga(T70, T73)) → part20_out_gaaa(T70, .(T73, T74), .(T73, X119), X120)
part20_in_gaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_gaaa(T70, T73, T77, X119, X120, gt10_in_ga(T70, T73))
U3_gaaa(T70, T73, T77, X119, X120, gt10_out_ga(T70, T73)) → U4_gaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
part20_in_gaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_gaaa(T95, T98, T99, X170, X171, le33_in_ga(T95, T98))
le33_in_ga(s(T113), s(T115)) → U8_ga(T113, T115, le33_in_ga(T113, T115))
le33_in_ga(0, s(T122)) → le33_out_ga(0, s(T122))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U8_ga(T113, T115, le33_out_ga(T113, T115)) → le33_out_ga(s(T113), s(T115))
U5_gaaa(T95, T98, T99, X170, X171, le33_out_ga(T95, T98)) → part20_out_gaaa(T95, .(T98, T99), X170, .(T98, X171))
part20_in_gaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_gaaa(T95, T98, T102, X170, X171, le33_in_ga(T95, T98))
U6_gaaa(T95, T98, T102, X170, X171, le33_out_ga(T95, T98)) → U7_gaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
part20_in_gaaa(T128, [], [], []) → part20_out_gaaa(T128, [], [], [])
U7_gaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_gaaa(T95, .(T98, T102), X170, .(T98, X171))
U4_gaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_gaaa(T70, .(T73, T77), .(T73, X119), X120)
U46_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, X47, X48)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
U45_ag(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U47_ag(T31, T33, T32, T8, part20_in_gaaa(T31, T32, T53, T54))
U47_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U48_ag(T31, T33, T32, T8, qs51_in_gaa(T33, T53, X9))
qs51_in_gaa(T148, T149, X273) → U37_gaa(T148, T149, X273, p56_in_gaaaaaa(T148, T149, X269, X270, X271, X272, X273))
p56_in_gaaaaaa(T148, T149, X269, X270, X271, X272, X273) → U9_gaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_in_gaaa(T148, T149, X269, X270))
U9_gaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_out_gaaa(T148, T149, X269, X270)) → p56_out_gaaaaaa(T148, T149, X269, X270, X271, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, X271, X272, X273) → U10_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U10_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U11_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
qs59_in_aa(.(T171, T172), X335) → U19_aa(T171, T172, X335, p56_in_aaaaaaa(T171, T172, X331, X332, X333, X334, X335))
p56_in_aaaaaaa(T148, T149, X269, X270, X271, X272, X273) → U9_aaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_in_aaaa(T148, T149, X269, X270))
part20_in_aaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_aaaa(T70, T73, T74, X119, X120, gt10_in_aa(T70, T73))
U2_aaaa(T70, T73, T74, X119, X120, gt10_out_aa(T70, T73)) → part20_out_aaaa(T70, .(T73, T74), .(T73, X119), X120)
part20_in_aaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_aaaa(T70, T73, T77, X119, X120, gt10_in_aa(T70, T73))
U3_aaaa(T70, T73, T77, X119, X120, gt10_out_aa(T70, T73)) → U4_aaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
U4_aaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_aaaa(T70, .(T73, T77), .(T73, X119), X120)
part20_in_aaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_aaaa(T95, T98, T99, X170, X171, le33_in_aa(T95, T98))
le33_in_aa(s(T113), s(T115)) → U8_aa(T113, T115, le33_in_aa(T113, T115))
le33_in_aa(0, s(T122)) → le33_out_aa(0, s(T122))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U8_aa(T113, T115, le33_out_aa(T113, T115)) → le33_out_aa(s(T113), s(T115))
U5_aaaa(T95, T98, T99, X170, X171, le33_out_aa(T95, T98)) → part20_out_aaaa(T95, .(T98, T99), X170, .(T98, X171))
part20_in_aaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_aaaa(T95, T98, T102, X170, X171, le33_in_aa(T95, T98))
U6_aaaa(T95, T98, T102, X170, X171, le33_out_aa(T95, T98)) → U7_aaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
U7_aaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_aaaa(T95, .(T98, T102), X170, .(T98, X171))
part20_in_aaaa(T128, [], [], []) → part20_out_aaaa(T128, [], [], [])
U9_aaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_out_aaaa(T148, T149, X269, X270)) → p56_out_aaaaaaa(T148, T149, X269, X270, X271, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, X271, X272, X273) → U10_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U10_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U11_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
qs59_in_aa([], []) → qs59_out_aa([], [])
U11_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_out_aa(T153, X271)) → p56_out_aaaaaaa(T148, T149, T153, T154, X271, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, T160, X272, X273) → U12_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U12_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U13_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U13_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U14_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T154, X272)) → p56_out_aaaaaaa(T148, T149, T153, T154, T160, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, T160, T178, X273) → U15_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_in_aaaa(T148, T149, T153, T154))
U15_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_out_aaaa(T148, T149, T153, T154)) → U16_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U16_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U17_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_in_aaaa(T160, T148, T178, X273))
app70_in_aaaa(.(T201, T202), T203, T204, .(T201, X391)) → U20_aaaa(T201, T202, T203, T204, X391, app70_in_aaaa(T202, T203, T204, X391))
app70_in_aaaa([], T213, T214, .(T213, T214)) → app70_out_aaaa([], T213, T214, .(T213, T214))
U20_aaaa(T201, T202, T203, T204, X391, app70_out_aaaa(T202, T203, T204, X391)) → app70_out_aaaa(.(T201, T202), T203, T204, .(T201, X391))
U18_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_out_aaaa(T160, T148, T178, X273)) → p56_out_aaaaaaa(T148, T149, T153, T154, T160, T178, X273)
U19_aa(T171, T172, X335, p56_out_aaaaaaa(T171, T172, X331, X332, X333, X334, X335)) → qs59_out_aa(.(T171, T172), X335)
U11_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_out_aa(T153, X271)) → p56_out_gaaaaaa(T148, T149, T153, T154, X271, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, T160, X272, X273) → U12_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U12_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U13_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U13_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U14_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T154, X272)) → p56_out_gaaaaaa(T148, T149, T153, T154, T160, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, T160, T178, X273) → U15_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_in_gaaa(T148, T149, T153, T154))
U15_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_out_gaaa(T148, T149, T153, T154)) → U16_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U16_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U17_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_in_agaa(T160, T148, T178, X273))
app70_in_agaa(.(T201, T202), T203, T204, .(T201, X391)) → U20_agaa(T201, T202, T203, T204, X391, app70_in_agaa(T202, T203, T204, X391))
app70_in_agaa([], T213, T214, .(T213, T214)) → app70_out_agaa([], T213, T214, .(T213, T214))
U20_agaa(T201, T202, T203, T204, X391, app70_out_agaa(T202, T203, T204, X391)) → app70_out_agaa(.(T201, T202), T203, T204, .(T201, X391))
U18_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_out_agaa(T160, T148, T178, X273)) → p56_out_gaaaaaa(T148, T149, T153, T154, T160, T178, X273)
U37_gaa(T148, T149, X273, p56_out_gaaaaaa(T148, T149, X269, X270, X271, X272, X273)) → qs51_out_gaa(T148, T149, X273)
U48_ag(T31, T33, T32, T8, qs51_out_gaa(T33, T53, X9)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
U47_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U49_ag(T31, T33, T32, T8, T54, qs51_in_gaa(T33, T53, T131))
U49_ag(T31, T33, T32, T8, T54, qs51_out_gaa(T33, T53, T131)) → U50_ag(T31, T33, T32, T8, p52_in_aaagg(T54, X10, T131, T31, T8))
p52_in_aaagg(T54, X10, T131, T31, T8) → U33_aaagg(T54, X10, T131, T31, T8, qs80_in_aa(T54, X10))
qs80_in_aa(.(T230, T231), X452) → U22_aa(T230, T231, X452, part87_in_aaaa(T230, T231, X448, X449))
part87_in_aaaa(T256, .(T257, T258), .(T257, X503), X504) → U38_aaaa(T256, T257, T258, X503, X504, gt10_in_aa(T256, T257))
U38_aaaa(T256, T257, T258, X503, X504, gt10_out_aa(T256, T257)) → part87_out_aaaa(T256, .(T257, T258), .(T257, X503), X504)
part87_in_aaaa(T261, .(T257, T262), .(T257, X503), X504) → U39_aaaa(T261, T257, T262, X503, X504, gt10_in_aa(T261, T257))
U39_aaaa(T261, T257, T262, X503, X504, gt10_out_aa(T261, T257)) → U40_aaaa(T261, T257, T262, X503, X504, part20_in_gaaa(T261, T262, X503, X504))
U40_aaaa(T261, T257, T262, X503, X504, part20_out_gaaa(T261, T262, X503, X504)) → part87_out_aaaa(T261, .(T257, T262), .(T257, X503), X504)
part87_in_aaaa(T283, .(T284, T285), X554, .(T284, X555)) → U41_aaaa(T283, T284, T285, X554, X555, le100_in_aa(T283, T284))
le100_in_aa(s(T302), s(T303)) → U21_aa(T302, T303, le100_in_aa(T302, T303))
le100_in_aa(0, s(T310)) → le100_out_aa(0, s(T310))
le100_in_aa(0, 0) → le100_out_aa(0, 0)
U21_aa(T302, T303, le100_out_aa(T302, T303)) → le100_out_aa(s(T302), s(T303))
U41_aaaa(T283, T284, T285, X554, X555, le100_out_aa(T283, T284)) → part87_out_aaaa(T283, .(T284, T285), X554, .(T284, X555))
part87_in_aaaa(T288, .(T284, T289), X554, .(T284, X555)) → U42_aaaa(T288, T284, T289, X554, X555, le100_in_aa(T288, T284))
U42_aaaa(T288, T284, T289, X554, X555, le100_out_aa(T288, T284)) → U43_aaaa(T288, T284, T289, X554, X555, part20_in_gaaa(T288, T289, X554, X555))
U43_aaaa(T288, T284, T289, X554, X555, part20_out_gaaa(T288, T289, X554, X555)) → part87_out_aaaa(T288, .(T284, T289), X554, .(T284, X555))
part87_in_aaaa(T316, [], [], []) → part87_out_aaaa(T316, [], [], [])
U22_aa(T230, T231, X452, part87_out_aaaa(T230, T231, X448, X449)) → qs80_out_aa(.(T230, T231), X452)
qs80_in_aa(.(T237, T231), X452) → U23_aa(T237, T231, X452, part87_in_aaaa(T237, T231, T235, T236))
U23_aa(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U24_aa(T237, T231, X452, qs80_in_aa(T235, X450))
qs80_in_aa(.(T325, T231), X452) → U27_aa(T325, T231, X452, part87_in_aaaa(T325, T231, T235, T236))
U27_aa(T325, T231, X452, part87_out_aaaa(T325, T231, T235, T236)) → U28_aa(T325, T231, X452, T236, qs80_in_aa(T235, T319))
qs80_in_aa([], []) → qs80_out_aa([], [])
U28_aa(T325, T231, X452, T236, qs80_out_aa(T235, T319)) → U29_aa(T325, T231, X452, T319, qs80_in_aa(T236, T324))
U29_aa(T325, T231, X452, T319, qs80_out_aa(T236, T324)) → U30_aa(T325, T231, X452, app121_in_aaaa(T319, T325, T324, X452))
app121_in_aaaa(.(T348, T349), T352, T353, .(T348, X657)) → U31_aaaa(T348, T349, T352, T353, X657, app121_in_aaaa(T349, T352, T353, X657))
app121_in_aaaa([], T362, T363, .(T362, T363)) → app121_out_aaaa([], T362, T363, .(T362, T363))
U31_aaaa(T348, T349, T352, T353, X657, app121_out_aaaa(T349, T352, T353, X657)) → app121_out_aaaa(.(T348, T349), T352, T353, .(T348, X657))
U30_aa(T325, T231, X452, app121_out_aaaa(T319, T325, T324, X452)) → qs80_out_aa(.(T325, T231), X452)
U24_aa(T237, T231, X452, qs80_out_aa(T235, X450)) → qs80_out_aa(.(T237, T231), X452)
U23_aa(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U25_aa(T237, T231, X452, T236, qs80_in_aa(T235, T319))
U25_aa(T237, T231, X452, T236, qs80_out_aa(T235, T319)) → U26_aa(T237, T231, X452, qs80_in_aa(T236, X451))
U26_aa(T237, T231, X452, qs80_out_aa(T236, X451)) → qs80_out_aa(.(T237, T231), X452)
U33_aaagg(T54, X10, T131, T31, T8, qs80_out_aa(T54, X10)) → p52_out_aaagg(T54, X10, T131, T31, T8)
p52_in_aaagg(T54, T217, T131, T31, T8) → U34_aaagg(T54, T217, T131, T31, T8, qs80_in_aa(T54, T217))
U34_aaagg(T54, T217, T131, T31, T8, qs80_out_aa(T54, T217)) → U35_aaagg(T54, T217, T131, T31, T8, app81_in_agag(T131, T31, T217, T8))
app81_in_agag(.(T389, T390), T391, T394, .(T389, T393)) → U32_agag(T389, T390, T391, T394, T393, app81_in_agag(T390, T391, T394, T393))
app81_in_agag([], T404, T405, .(T404, T405)) → app81_out_agag([], T404, T405, .(T404, T405))
U32_agag(T389, T390, T391, T394, T393, app81_out_agag(T390, T391, T394, T393)) → app81_out_agag(.(T389, T390), T391, T394, .(T389, T393))
U35_aaagg(T54, T217, T131, T31, T8, app81_out_agag(T131, T31, T217, T8)) → p52_out_aaagg(T54, T217, T131, T31, T8)
U50_ag(T31, T33, T32, T8, p52_out_aaagg(T54, X10, T131, T31, T8)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
qs1_in_ag(.(T421, .(T422, T423)), T8) → U51_ag(T421, T422, T423, T8, le100_in_aa(T421, T422))
U51_ag(T421, T422, T423, T8, le100_out_aa(T421, T422)) → qs1_out_ag(.(T421, .(T422, T423)), T8)
qs1_in_ag(.(T426, .(T428, T427)), T8) → U52_ag(T426, T428, T427, T8, le100_in_aa(T426, T428))
U52_ag(T426, T428, T427, T8, le100_out_aa(T426, T428)) → U53_ag(T426, T428, T427, T8, part20_in_gaaa(T426, T427, X740, X741))
U53_ag(T426, T428, T427, T8, part20_out_gaaa(T426, T427, X740, X741)) → qs1_out_ag(.(T426, .(T428, T427)), T8)
qs1_in_ag(.(T426, .(T436, T427)), T8) → U54_ag(T426, T436, T427, T8, le100_in_aa(T426, T436))
U54_ag(T426, T436, T427, T8, le100_out_aa(T426, T436)) → U55_ag(T426, T436, T427, T8, part20_in_gaaa(T426, T427, T434, T435))
U55_ag(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U56_ag(T426, T436, T427, T8, qs80_in_aa(T434, X9))
U56_ag(T426, T436, T427, T8, qs80_out_aa(T434, X9)) → qs1_out_ag(.(T426, .(T436, T427)), T8)
U55_ag(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U57_ag(T426, T436, T427, T8, T435, qs80_in_aa(T434, T442))
U57_ag(T426, T436, T427, T8, T435, qs80_out_aa(T434, T442)) → U58_ag(T426, T436, T427, T8, p52_in_aaagg(.(T436, T435), X10, T442, T426, T8))
U58_ag(T426, T436, T427, T8, p52_out_aaagg(.(T436, T435), X10, T442, T426, T8)) → qs1_out_ag(.(T426, .(T436, T427)), T8)
qs1_in_ag(.(T452, []), T8) → U59_ag(T452, T8, qs155_in_a(X9))
qs155_in_a([]) → qs155_out_a([])
U59_ag(T452, T8, qs155_out_a(X9)) → qs1_out_ag(.(T452, []), T8)
qs1_in_ag(.(T452, []), T8) → U60_ag(T452, T8, qs155_in_a(T455))
U60_ag(T452, T8, qs155_out_a(T455)) → U61_ag(T452, T8, qs155_in_a(X10))
U61_ag(T452, T8, qs155_out_a(X10)) → qs1_out_ag(.(T452, []), T8)
U60_ag(T452, T8, qs155_out_a(T455)) → U62_ag(T452, T8, T455, qs155_in_a(T460))
U62_ag(T452, T8, T455, qs155_out_a(T460)) → U63_ag(T452, T8, app162_in_gagg(T455, T452, T460, T8))
app162_in_gagg(.(T486, T487), T491, T489, .(T486, T490)) → U36_gagg(T486, T487, T491, T489, T490, app162_in_gagg(T487, T491, T489, T490))
app162_in_gagg([], T501, T502, .(T501, T502)) → app162_out_gagg([], T501, T502, .(T501, T502))
U36_gagg(T486, T487, T491, T489, T490, app162_out_gagg(T487, T491, T489, T490)) → app162_out_gagg(.(T486, T487), T491, T489, .(T486, T490))
U63_ag(T452, T8, app162_out_gagg(T455, T452, T460, T8)) → qs1_out_ag(.(T452, []), T8)
qs1_in_ag([], []) → qs1_out_ag([], [])

The argument filtering Pi contains the following mapping:
qs1_in_ag(x1, x2)  =  qs1_in_ag(x2)
U44_ag(x1, x2, x3, x4, x5)  =  U44_ag(x4, x5)
gt10_in_aa(x1, x2)  =  gt10_in_aa
U1_aa(x1, x2, x3)  =  U1_aa(x3)
gt10_out_aa(x1, x2)  =  gt10_out_aa(x1, x2)
qs1_out_ag(x1, x2)  =  qs1_out_ag(x2)
U45_ag(x1, x2, x3, x4, x5)  =  U45_ag(x4, x5)
U46_ag(x1, x2, x3, x4, x5)  =  U46_ag(x4, x5)
part20_in_gaaa(x1, x2, x3, x4)  =  part20_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x1, x6)
gt10_in_ga(x1, x2)  =  gt10_in_ga(x1)
s(x1)  =  s(x1)
U1_ga(x1, x2, x3)  =  U1_ga(x1, x3)
0  =  0
gt10_out_ga(x1, x2)  =  gt10_out_ga(x1, x2)
part20_out_gaaa(x1, x2, x3, x4)  =  part20_out_gaaa(x1)
U3_gaaa(x1, x2, x3, x4, x5, x6)  =  U3_gaaa(x1, x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x1, x6)
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x1, x6)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U8_ga(x1, x2, x3)  =  U8_ga(x1, x3)
le33_out_ga(x1, x2)  =  le33_out_ga(x1)
U6_gaaa(x1, x2, x3, x4, x5, x6)  =  U6_gaaa(x1, x6)
U7_gaaa(x1, x2, x3, x4, x5, x6)  =  U7_gaaa(x1, x6)
U47_ag(x1, x2, x3, x4, x5)  =  U47_ag(x1, x2, x4, x5)
U48_ag(x1, x2, x3, x4, x5)  =  U48_ag(x4, x5)
qs51_in_gaa(x1, x2, x3)  =  qs51_in_gaa(x1)
U37_gaa(x1, x2, x3, x4)  =  U37_gaa(x1, x4)
p56_in_gaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_in_gaaaaaa(x1)
U9_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_gaaaaaa(x1, x8)
p56_out_gaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_out_gaaaaaa(x1)
U10_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_gaaaaaa(x1, x8)
U11_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_gaaaaaa(x1, x8)
qs59_in_aa(x1, x2)  =  qs59_in_aa
U19_aa(x1, x2, x3, x4)  =  U19_aa(x4)
p56_in_aaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_in_aaaaaaa
U9_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_aaaaaaa(x8)
part20_in_aaaa(x1, x2, x3, x4)  =  part20_in_aaaa
U2_aaaa(x1, x2, x3, x4, x5, x6)  =  U2_aaaa(x6)
part20_out_aaaa(x1, x2, x3, x4)  =  part20_out_aaaa
U3_aaaa(x1, x2, x3, x4, x5, x6)  =  U3_aaaa(x6)
U4_aaaa(x1, x2, x3, x4, x5, x6)  =  U4_aaaa(x6)
U5_aaaa(x1, x2, x3, x4, x5, x6)  =  U5_aaaa(x6)
le33_in_aa(x1, x2)  =  le33_in_aa
U8_aa(x1, x2, x3)  =  U8_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
U6_aaaa(x1, x2, x3, x4, x5, x6)  =  U6_aaaa(x6)
U7_aaaa(x1, x2, x3, x4, x5, x6)  =  U7_aaaa(x6)
p56_out_aaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_out_aaaaaaa
U10_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_aaaaaaa(x8)
U11_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_aaaaaaa(x8)
qs59_out_aa(x1, x2)  =  qs59_out_aa
U12_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_aaaaaaa(x8)
U13_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_aaaaaaa(x8)
U14_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_aaaaaaa(x8)
U15_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_aaaaaaa(x8)
U16_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_aaaaaaa(x8)
U17_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_aaaaaaa(x8)
U18_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_aaaaaaa(x8)
.(x1, x2)  =  .(x1, x2)
[]  =  []
app70_in_aaaa(x1, x2, x3, x4)  =  app70_in_aaaa
U20_aaaa(x1, x2, x3, x4, x5, x6)  =  U20_aaaa(x6)
app70_out_aaaa(x1, x2, x3, x4)  =  app70_out_aaaa
U12_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_gaaaaaa(x1, x8)
U13_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_gaaaaaa(x1, x8)
U14_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_gaaaaaa(x1, x8)
U15_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_gaaaaaa(x1, x8)
U16_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_gaaaaaa(x1, x8)
U17_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_gaaaaaa(x1, x8)
U18_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_gaaaaaa(x1, x8)
app70_in_agaa(x1, x2, x3, x4)  =  app70_in_agaa(x2)
U20_agaa(x1, x2, x3, x4, x5, x6)  =  U20_agaa(x3, x6)
app70_out_agaa(x1, x2, x3, x4)  =  app70_out_agaa(x2)
qs51_out_gaa(x1, x2, x3)  =  qs51_out_gaa(x1)
U49_ag(x1, x2, x3, x4, x5, x6)  =  U49_ag(x1, x4, x6)
U50_ag(x1, x2, x3, x4, x5)  =  U50_ag(x4, x5)
p52_in_aaagg(x1, x2, x3, x4, x5)  =  p52_in_aaagg(x4, x5)
U33_aaagg(x1, x2, x3, x4, x5, x6)  =  U33_aaagg(x4, x5, x6)
qs80_in_aa(x1, x2)  =  qs80_in_aa
U22_aa(x1, x2, x3, x4)  =  U22_aa(x4)
part87_in_aaaa(x1, x2, x3, x4)  =  part87_in_aaaa
U38_aaaa(x1, x2, x3, x4, x5, x6)  =  U38_aaaa(x6)
part87_out_aaaa(x1, x2, x3, x4)  =  part87_out_aaaa
U39_aaaa(x1, x2, x3, x4, x5, x6)  =  U39_aaaa(x6)
U40_aaaa(x1, x2, x3, x4, x5, x6)  =  U40_aaaa(x6)
U41_aaaa(x1, x2, x3, x4, x5, x6)  =  U41_aaaa(x6)
le100_in_aa(x1, x2)  =  le100_in_aa
U21_aa(x1, x2, x3)  =  U21_aa(x3)
le100_out_aa(x1, x2)  =  le100_out_aa(x1)
U42_aaaa(x1, x2, x3, x4, x5, x6)  =  U42_aaaa(x6)
U43_aaaa(x1, x2, x3, x4, x5, x6)  =  U43_aaaa(x6)
qs80_out_aa(x1, x2)  =  qs80_out_aa
U23_aa(x1, x2, x3, x4)  =  U23_aa(x4)
U24_aa(x1, x2, x3, x4)  =  U24_aa(x4)
U27_aa(x1, x2, x3, x4)  =  U27_aa(x4)
U28_aa(x1, x2, x3, x4, x5)  =  U28_aa(x5)
U29_aa(x1, x2, x3, x4, x5)  =  U29_aa(x5)
U30_aa(x1, x2, x3, x4)  =  U30_aa(x4)
app121_in_aaaa(x1, x2, x3, x4)  =  app121_in_aaaa
U31_aaaa(x1, x2, x3, x4, x5, x6)  =  U31_aaaa(x6)
app121_out_aaaa(x1, x2, x3, x4)  =  app121_out_aaaa
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
U26_aa(x1, x2, x3, x4)  =  U26_aa(x4)
p52_out_aaagg(x1, x2, x3, x4, x5)  =  p52_out_aaagg(x4, x5)
U34_aaagg(x1, x2, x3, x4, x5, x6)  =  U34_aaagg(x4, x5, x6)
U35_aaagg(x1, x2, x3, x4, x5, x6)  =  U35_aaagg(x4, x5, x6)
app81_in_agag(x1, x2, x3, x4)  =  app81_in_agag(x2, x4)
U32_agag(x1, x2, x3, x4, x5, x6)  =  U32_agag(x1, x3, x5, x6)
app81_out_agag(x1, x2, x3, x4)  =  app81_out_agag(x1, x2, x3, x4)
U51_ag(x1, x2, x3, x4, x5)  =  U51_ag(x4, x5)
U52_ag(x1, x2, x3, x4, x5)  =  U52_ag(x4, x5)
U53_ag(x1, x2, x3, x4, x5)  =  U53_ag(x4, x5)
U54_ag(x1, x2, x3, x4, x5)  =  U54_ag(x4, x5)
U55_ag(x1, x2, x3, x4, x5)  =  U55_ag(x1, x4, x5)
U56_ag(x1, x2, x3, x4, x5)  =  U56_ag(x4, x5)
U57_ag(x1, x2, x3, x4, x5, x6)  =  U57_ag(x1, x4, x6)
U58_ag(x1, x2, x3, x4, x5)  =  U58_ag(x4, x5)
U59_ag(x1, x2, x3)  =  U59_ag(x2, x3)
qs155_in_a(x1)  =  qs155_in_a
qs155_out_a(x1)  =  qs155_out_a(x1)
U60_ag(x1, x2, x3)  =  U60_ag(x2, x3)
U61_ag(x1, x2, x3)  =  U61_ag(x2, x3)
U62_ag(x1, x2, x3, x4)  =  U62_ag(x2, x3, x4)
U63_ag(x1, x2, x3)  =  U63_ag(x2, x3)
app162_in_gagg(x1, x2, x3, x4)  =  app162_in_gagg(x1, x3, x4)
U36_gagg(x1, x2, x3, x4, x5, x6)  =  U36_gagg(x1, x2, x4, x5, x6)
app162_out_gagg(x1, x2, x3, x4)  =  app162_out_gagg(x1, x2, x3, x4)
APP70_IN_AGAA(x1, x2, x3, x4)  =  APP70_IN_AGAA(x2)

We have to consider all (P,R,Pi)-chains

(38) UsableRulesProof (EQUIVALENT transformation)

For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R.

(39) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

APP70_IN_AGAA(.(T201, T202), T203, T204, .(T201, X391)) → APP70_IN_AGAA(T202, T203, T204, X391)

R is empty.
The argument filtering Pi contains the following mapping:
.(x1, x2)  =  .(x1, x2)
APP70_IN_AGAA(x1, x2, x3, x4)  =  APP70_IN_AGAA(x2)

We have to consider all (P,R,Pi)-chains

(40) PiDPToQDPProof (SOUND transformation)

Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi.

(41) Obligation:

Q DP problem:
The TRS P consists of the following rules:

APP70_IN_AGAA(T203) → APP70_IN_AGAA(T203)

R is empty.
Q is empty.
We have to consider all (P,Q,R)-chains.

(42) NonTerminationProof (EQUIVALENT transformation)

We used the non-termination processor [FROCOS05] to show that the DP problem is infinite.
Found a loop by semiunifying a rule from P directly.

s = APP70_IN_AGAA(T203) evaluates to t =APP70_IN_AGAA(T203)

Thus s starts an infinite chain as s semiunifies with t with the following substitutions:
  • Semiunifier: [ ]
  • Matcher: [ ]




Rewriting sequence

The DP semiunifies directly so there is only one rewrite step from APP70_IN_AGAA(T203) to APP70_IN_AGAA(T203).



(43) NO

(44) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

APP70_IN_AAAA(.(T201, T202), T203, T204, .(T201, X391)) → APP70_IN_AAAA(T202, T203, T204, X391)

The TRS R consists of the following rules:

qs1_in_ag(.(T26, .(T27, T28)), T8) → U44_ag(T26, T27, T28, T8, gt10_in_aa(T26, T27))
gt10_in_aa(s(T46), s(T47)) → U1_aa(T46, T47, gt10_in_aa(T46, T47))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U1_aa(T46, T47, gt10_out_aa(T46, T47)) → gt10_out_aa(s(T46), s(T47))
U44_ag(T26, T27, T28, T8, gt10_out_aa(T26, T27)) → qs1_out_ag(.(T26, .(T27, T28)), T8)
qs1_in_ag(.(T31, .(T33, T32)), T8) → U45_ag(T31, T33, T32, T8, gt10_in_aa(T31, T33))
U45_ag(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U46_ag(T31, T33, T32, T8, part20_in_gaaa(T31, T32, X47, X48))
part20_in_gaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_gaaa(T70, T73, T74, X119, X120, gt10_in_ga(T70, T73))
gt10_in_ga(s(T46), s(T47)) → U1_ga(T46, T47, gt10_in_ga(T46, T47))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U1_ga(T46, T47, gt10_out_ga(T46, T47)) → gt10_out_ga(s(T46), s(T47))
U2_gaaa(T70, T73, T74, X119, X120, gt10_out_ga(T70, T73)) → part20_out_gaaa(T70, .(T73, T74), .(T73, X119), X120)
part20_in_gaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_gaaa(T70, T73, T77, X119, X120, gt10_in_ga(T70, T73))
U3_gaaa(T70, T73, T77, X119, X120, gt10_out_ga(T70, T73)) → U4_gaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
part20_in_gaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_gaaa(T95, T98, T99, X170, X171, le33_in_ga(T95, T98))
le33_in_ga(s(T113), s(T115)) → U8_ga(T113, T115, le33_in_ga(T113, T115))
le33_in_ga(0, s(T122)) → le33_out_ga(0, s(T122))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U8_ga(T113, T115, le33_out_ga(T113, T115)) → le33_out_ga(s(T113), s(T115))
U5_gaaa(T95, T98, T99, X170, X171, le33_out_ga(T95, T98)) → part20_out_gaaa(T95, .(T98, T99), X170, .(T98, X171))
part20_in_gaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_gaaa(T95, T98, T102, X170, X171, le33_in_ga(T95, T98))
U6_gaaa(T95, T98, T102, X170, X171, le33_out_ga(T95, T98)) → U7_gaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
part20_in_gaaa(T128, [], [], []) → part20_out_gaaa(T128, [], [], [])
U7_gaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_gaaa(T95, .(T98, T102), X170, .(T98, X171))
U4_gaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_gaaa(T70, .(T73, T77), .(T73, X119), X120)
U46_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, X47, X48)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
U45_ag(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U47_ag(T31, T33, T32, T8, part20_in_gaaa(T31, T32, T53, T54))
U47_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U48_ag(T31, T33, T32, T8, qs51_in_gaa(T33, T53, X9))
qs51_in_gaa(T148, T149, X273) → U37_gaa(T148, T149, X273, p56_in_gaaaaaa(T148, T149, X269, X270, X271, X272, X273))
p56_in_gaaaaaa(T148, T149, X269, X270, X271, X272, X273) → U9_gaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_in_gaaa(T148, T149, X269, X270))
U9_gaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_out_gaaa(T148, T149, X269, X270)) → p56_out_gaaaaaa(T148, T149, X269, X270, X271, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, X271, X272, X273) → U10_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U10_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U11_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
qs59_in_aa(.(T171, T172), X335) → U19_aa(T171, T172, X335, p56_in_aaaaaaa(T171, T172, X331, X332, X333, X334, X335))
p56_in_aaaaaaa(T148, T149, X269, X270, X271, X272, X273) → U9_aaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_in_aaaa(T148, T149, X269, X270))
part20_in_aaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_aaaa(T70, T73, T74, X119, X120, gt10_in_aa(T70, T73))
U2_aaaa(T70, T73, T74, X119, X120, gt10_out_aa(T70, T73)) → part20_out_aaaa(T70, .(T73, T74), .(T73, X119), X120)
part20_in_aaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_aaaa(T70, T73, T77, X119, X120, gt10_in_aa(T70, T73))
U3_aaaa(T70, T73, T77, X119, X120, gt10_out_aa(T70, T73)) → U4_aaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
U4_aaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_aaaa(T70, .(T73, T77), .(T73, X119), X120)
part20_in_aaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_aaaa(T95, T98, T99, X170, X171, le33_in_aa(T95, T98))
le33_in_aa(s(T113), s(T115)) → U8_aa(T113, T115, le33_in_aa(T113, T115))
le33_in_aa(0, s(T122)) → le33_out_aa(0, s(T122))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U8_aa(T113, T115, le33_out_aa(T113, T115)) → le33_out_aa(s(T113), s(T115))
U5_aaaa(T95, T98, T99, X170, X171, le33_out_aa(T95, T98)) → part20_out_aaaa(T95, .(T98, T99), X170, .(T98, X171))
part20_in_aaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_aaaa(T95, T98, T102, X170, X171, le33_in_aa(T95, T98))
U6_aaaa(T95, T98, T102, X170, X171, le33_out_aa(T95, T98)) → U7_aaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
U7_aaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_aaaa(T95, .(T98, T102), X170, .(T98, X171))
part20_in_aaaa(T128, [], [], []) → part20_out_aaaa(T128, [], [], [])
U9_aaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_out_aaaa(T148, T149, X269, X270)) → p56_out_aaaaaaa(T148, T149, X269, X270, X271, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, X271, X272, X273) → U10_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U10_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U11_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
qs59_in_aa([], []) → qs59_out_aa([], [])
U11_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_out_aa(T153, X271)) → p56_out_aaaaaaa(T148, T149, T153, T154, X271, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, T160, X272, X273) → U12_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U12_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U13_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U13_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U14_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T154, X272)) → p56_out_aaaaaaa(T148, T149, T153, T154, T160, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, T160, T178, X273) → U15_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_in_aaaa(T148, T149, T153, T154))
U15_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_out_aaaa(T148, T149, T153, T154)) → U16_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U16_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U17_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_in_aaaa(T160, T148, T178, X273))
app70_in_aaaa(.(T201, T202), T203, T204, .(T201, X391)) → U20_aaaa(T201, T202, T203, T204, X391, app70_in_aaaa(T202, T203, T204, X391))
app70_in_aaaa([], T213, T214, .(T213, T214)) → app70_out_aaaa([], T213, T214, .(T213, T214))
U20_aaaa(T201, T202, T203, T204, X391, app70_out_aaaa(T202, T203, T204, X391)) → app70_out_aaaa(.(T201, T202), T203, T204, .(T201, X391))
U18_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_out_aaaa(T160, T148, T178, X273)) → p56_out_aaaaaaa(T148, T149, T153, T154, T160, T178, X273)
U19_aa(T171, T172, X335, p56_out_aaaaaaa(T171, T172, X331, X332, X333, X334, X335)) → qs59_out_aa(.(T171, T172), X335)
U11_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_out_aa(T153, X271)) → p56_out_gaaaaaa(T148, T149, T153, T154, X271, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, T160, X272, X273) → U12_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U12_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U13_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U13_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U14_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T154, X272)) → p56_out_gaaaaaa(T148, T149, T153, T154, T160, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, T160, T178, X273) → U15_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_in_gaaa(T148, T149, T153, T154))
U15_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_out_gaaa(T148, T149, T153, T154)) → U16_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U16_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U17_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_in_agaa(T160, T148, T178, X273))
app70_in_agaa(.(T201, T202), T203, T204, .(T201, X391)) → U20_agaa(T201, T202, T203, T204, X391, app70_in_agaa(T202, T203, T204, X391))
app70_in_agaa([], T213, T214, .(T213, T214)) → app70_out_agaa([], T213, T214, .(T213, T214))
U20_agaa(T201, T202, T203, T204, X391, app70_out_agaa(T202, T203, T204, X391)) → app70_out_agaa(.(T201, T202), T203, T204, .(T201, X391))
U18_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_out_agaa(T160, T148, T178, X273)) → p56_out_gaaaaaa(T148, T149, T153, T154, T160, T178, X273)
U37_gaa(T148, T149, X273, p56_out_gaaaaaa(T148, T149, X269, X270, X271, X272, X273)) → qs51_out_gaa(T148, T149, X273)
U48_ag(T31, T33, T32, T8, qs51_out_gaa(T33, T53, X9)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
U47_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U49_ag(T31, T33, T32, T8, T54, qs51_in_gaa(T33, T53, T131))
U49_ag(T31, T33, T32, T8, T54, qs51_out_gaa(T33, T53, T131)) → U50_ag(T31, T33, T32, T8, p52_in_aaagg(T54, X10, T131, T31, T8))
p52_in_aaagg(T54, X10, T131, T31, T8) → U33_aaagg(T54, X10, T131, T31, T8, qs80_in_aa(T54, X10))
qs80_in_aa(.(T230, T231), X452) → U22_aa(T230, T231, X452, part87_in_aaaa(T230, T231, X448, X449))
part87_in_aaaa(T256, .(T257, T258), .(T257, X503), X504) → U38_aaaa(T256, T257, T258, X503, X504, gt10_in_aa(T256, T257))
U38_aaaa(T256, T257, T258, X503, X504, gt10_out_aa(T256, T257)) → part87_out_aaaa(T256, .(T257, T258), .(T257, X503), X504)
part87_in_aaaa(T261, .(T257, T262), .(T257, X503), X504) → U39_aaaa(T261, T257, T262, X503, X504, gt10_in_aa(T261, T257))
U39_aaaa(T261, T257, T262, X503, X504, gt10_out_aa(T261, T257)) → U40_aaaa(T261, T257, T262, X503, X504, part20_in_gaaa(T261, T262, X503, X504))
U40_aaaa(T261, T257, T262, X503, X504, part20_out_gaaa(T261, T262, X503, X504)) → part87_out_aaaa(T261, .(T257, T262), .(T257, X503), X504)
part87_in_aaaa(T283, .(T284, T285), X554, .(T284, X555)) → U41_aaaa(T283, T284, T285, X554, X555, le100_in_aa(T283, T284))
le100_in_aa(s(T302), s(T303)) → U21_aa(T302, T303, le100_in_aa(T302, T303))
le100_in_aa(0, s(T310)) → le100_out_aa(0, s(T310))
le100_in_aa(0, 0) → le100_out_aa(0, 0)
U21_aa(T302, T303, le100_out_aa(T302, T303)) → le100_out_aa(s(T302), s(T303))
U41_aaaa(T283, T284, T285, X554, X555, le100_out_aa(T283, T284)) → part87_out_aaaa(T283, .(T284, T285), X554, .(T284, X555))
part87_in_aaaa(T288, .(T284, T289), X554, .(T284, X555)) → U42_aaaa(T288, T284, T289, X554, X555, le100_in_aa(T288, T284))
U42_aaaa(T288, T284, T289, X554, X555, le100_out_aa(T288, T284)) → U43_aaaa(T288, T284, T289, X554, X555, part20_in_gaaa(T288, T289, X554, X555))
U43_aaaa(T288, T284, T289, X554, X555, part20_out_gaaa(T288, T289, X554, X555)) → part87_out_aaaa(T288, .(T284, T289), X554, .(T284, X555))
part87_in_aaaa(T316, [], [], []) → part87_out_aaaa(T316, [], [], [])
U22_aa(T230, T231, X452, part87_out_aaaa(T230, T231, X448, X449)) → qs80_out_aa(.(T230, T231), X452)
qs80_in_aa(.(T237, T231), X452) → U23_aa(T237, T231, X452, part87_in_aaaa(T237, T231, T235, T236))
U23_aa(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U24_aa(T237, T231, X452, qs80_in_aa(T235, X450))
qs80_in_aa(.(T325, T231), X452) → U27_aa(T325, T231, X452, part87_in_aaaa(T325, T231, T235, T236))
U27_aa(T325, T231, X452, part87_out_aaaa(T325, T231, T235, T236)) → U28_aa(T325, T231, X452, T236, qs80_in_aa(T235, T319))
qs80_in_aa([], []) → qs80_out_aa([], [])
U28_aa(T325, T231, X452, T236, qs80_out_aa(T235, T319)) → U29_aa(T325, T231, X452, T319, qs80_in_aa(T236, T324))
U29_aa(T325, T231, X452, T319, qs80_out_aa(T236, T324)) → U30_aa(T325, T231, X452, app121_in_aaaa(T319, T325, T324, X452))
app121_in_aaaa(.(T348, T349), T352, T353, .(T348, X657)) → U31_aaaa(T348, T349, T352, T353, X657, app121_in_aaaa(T349, T352, T353, X657))
app121_in_aaaa([], T362, T363, .(T362, T363)) → app121_out_aaaa([], T362, T363, .(T362, T363))
U31_aaaa(T348, T349, T352, T353, X657, app121_out_aaaa(T349, T352, T353, X657)) → app121_out_aaaa(.(T348, T349), T352, T353, .(T348, X657))
U30_aa(T325, T231, X452, app121_out_aaaa(T319, T325, T324, X452)) → qs80_out_aa(.(T325, T231), X452)
U24_aa(T237, T231, X452, qs80_out_aa(T235, X450)) → qs80_out_aa(.(T237, T231), X452)
U23_aa(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U25_aa(T237, T231, X452, T236, qs80_in_aa(T235, T319))
U25_aa(T237, T231, X452, T236, qs80_out_aa(T235, T319)) → U26_aa(T237, T231, X452, qs80_in_aa(T236, X451))
U26_aa(T237, T231, X452, qs80_out_aa(T236, X451)) → qs80_out_aa(.(T237, T231), X452)
U33_aaagg(T54, X10, T131, T31, T8, qs80_out_aa(T54, X10)) → p52_out_aaagg(T54, X10, T131, T31, T8)
p52_in_aaagg(T54, T217, T131, T31, T8) → U34_aaagg(T54, T217, T131, T31, T8, qs80_in_aa(T54, T217))
U34_aaagg(T54, T217, T131, T31, T8, qs80_out_aa(T54, T217)) → U35_aaagg(T54, T217, T131, T31, T8, app81_in_agag(T131, T31, T217, T8))
app81_in_agag(.(T389, T390), T391, T394, .(T389, T393)) → U32_agag(T389, T390, T391, T394, T393, app81_in_agag(T390, T391, T394, T393))
app81_in_agag([], T404, T405, .(T404, T405)) → app81_out_agag([], T404, T405, .(T404, T405))
U32_agag(T389, T390, T391, T394, T393, app81_out_agag(T390, T391, T394, T393)) → app81_out_agag(.(T389, T390), T391, T394, .(T389, T393))
U35_aaagg(T54, T217, T131, T31, T8, app81_out_agag(T131, T31, T217, T8)) → p52_out_aaagg(T54, T217, T131, T31, T8)
U50_ag(T31, T33, T32, T8, p52_out_aaagg(T54, X10, T131, T31, T8)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
qs1_in_ag(.(T421, .(T422, T423)), T8) → U51_ag(T421, T422, T423, T8, le100_in_aa(T421, T422))
U51_ag(T421, T422, T423, T8, le100_out_aa(T421, T422)) → qs1_out_ag(.(T421, .(T422, T423)), T8)
qs1_in_ag(.(T426, .(T428, T427)), T8) → U52_ag(T426, T428, T427, T8, le100_in_aa(T426, T428))
U52_ag(T426, T428, T427, T8, le100_out_aa(T426, T428)) → U53_ag(T426, T428, T427, T8, part20_in_gaaa(T426, T427, X740, X741))
U53_ag(T426, T428, T427, T8, part20_out_gaaa(T426, T427, X740, X741)) → qs1_out_ag(.(T426, .(T428, T427)), T8)
qs1_in_ag(.(T426, .(T436, T427)), T8) → U54_ag(T426, T436, T427, T8, le100_in_aa(T426, T436))
U54_ag(T426, T436, T427, T8, le100_out_aa(T426, T436)) → U55_ag(T426, T436, T427, T8, part20_in_gaaa(T426, T427, T434, T435))
U55_ag(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U56_ag(T426, T436, T427, T8, qs80_in_aa(T434, X9))
U56_ag(T426, T436, T427, T8, qs80_out_aa(T434, X9)) → qs1_out_ag(.(T426, .(T436, T427)), T8)
U55_ag(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U57_ag(T426, T436, T427, T8, T435, qs80_in_aa(T434, T442))
U57_ag(T426, T436, T427, T8, T435, qs80_out_aa(T434, T442)) → U58_ag(T426, T436, T427, T8, p52_in_aaagg(.(T436, T435), X10, T442, T426, T8))
U58_ag(T426, T436, T427, T8, p52_out_aaagg(.(T436, T435), X10, T442, T426, T8)) → qs1_out_ag(.(T426, .(T436, T427)), T8)
qs1_in_ag(.(T452, []), T8) → U59_ag(T452, T8, qs155_in_a(X9))
qs155_in_a([]) → qs155_out_a([])
U59_ag(T452, T8, qs155_out_a(X9)) → qs1_out_ag(.(T452, []), T8)
qs1_in_ag(.(T452, []), T8) → U60_ag(T452, T8, qs155_in_a(T455))
U60_ag(T452, T8, qs155_out_a(T455)) → U61_ag(T452, T8, qs155_in_a(X10))
U61_ag(T452, T8, qs155_out_a(X10)) → qs1_out_ag(.(T452, []), T8)
U60_ag(T452, T8, qs155_out_a(T455)) → U62_ag(T452, T8, T455, qs155_in_a(T460))
U62_ag(T452, T8, T455, qs155_out_a(T460)) → U63_ag(T452, T8, app162_in_gagg(T455, T452, T460, T8))
app162_in_gagg(.(T486, T487), T491, T489, .(T486, T490)) → U36_gagg(T486, T487, T491, T489, T490, app162_in_gagg(T487, T491, T489, T490))
app162_in_gagg([], T501, T502, .(T501, T502)) → app162_out_gagg([], T501, T502, .(T501, T502))
U36_gagg(T486, T487, T491, T489, T490, app162_out_gagg(T487, T491, T489, T490)) → app162_out_gagg(.(T486, T487), T491, T489, .(T486, T490))
U63_ag(T452, T8, app162_out_gagg(T455, T452, T460, T8)) → qs1_out_ag(.(T452, []), T8)
qs1_in_ag([], []) → qs1_out_ag([], [])

The argument filtering Pi contains the following mapping:
qs1_in_ag(x1, x2)  =  qs1_in_ag(x2)
U44_ag(x1, x2, x3, x4, x5)  =  U44_ag(x4, x5)
gt10_in_aa(x1, x2)  =  gt10_in_aa
U1_aa(x1, x2, x3)  =  U1_aa(x3)
gt10_out_aa(x1, x2)  =  gt10_out_aa(x1, x2)
qs1_out_ag(x1, x2)  =  qs1_out_ag(x2)
U45_ag(x1, x2, x3, x4, x5)  =  U45_ag(x4, x5)
U46_ag(x1, x2, x3, x4, x5)  =  U46_ag(x4, x5)
part20_in_gaaa(x1, x2, x3, x4)  =  part20_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x1, x6)
gt10_in_ga(x1, x2)  =  gt10_in_ga(x1)
s(x1)  =  s(x1)
U1_ga(x1, x2, x3)  =  U1_ga(x1, x3)
0  =  0
gt10_out_ga(x1, x2)  =  gt10_out_ga(x1, x2)
part20_out_gaaa(x1, x2, x3, x4)  =  part20_out_gaaa(x1)
U3_gaaa(x1, x2, x3, x4, x5, x6)  =  U3_gaaa(x1, x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x1, x6)
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x1, x6)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U8_ga(x1, x2, x3)  =  U8_ga(x1, x3)
le33_out_ga(x1, x2)  =  le33_out_ga(x1)
U6_gaaa(x1, x2, x3, x4, x5, x6)  =  U6_gaaa(x1, x6)
U7_gaaa(x1, x2, x3, x4, x5, x6)  =  U7_gaaa(x1, x6)
U47_ag(x1, x2, x3, x4, x5)  =  U47_ag(x1, x2, x4, x5)
U48_ag(x1, x2, x3, x4, x5)  =  U48_ag(x4, x5)
qs51_in_gaa(x1, x2, x3)  =  qs51_in_gaa(x1)
U37_gaa(x1, x2, x3, x4)  =  U37_gaa(x1, x4)
p56_in_gaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_in_gaaaaaa(x1)
U9_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_gaaaaaa(x1, x8)
p56_out_gaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_out_gaaaaaa(x1)
U10_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_gaaaaaa(x1, x8)
U11_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_gaaaaaa(x1, x8)
qs59_in_aa(x1, x2)  =  qs59_in_aa
U19_aa(x1, x2, x3, x4)  =  U19_aa(x4)
p56_in_aaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_in_aaaaaaa
U9_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_aaaaaaa(x8)
part20_in_aaaa(x1, x2, x3, x4)  =  part20_in_aaaa
U2_aaaa(x1, x2, x3, x4, x5, x6)  =  U2_aaaa(x6)
part20_out_aaaa(x1, x2, x3, x4)  =  part20_out_aaaa
U3_aaaa(x1, x2, x3, x4, x5, x6)  =  U3_aaaa(x6)
U4_aaaa(x1, x2, x3, x4, x5, x6)  =  U4_aaaa(x6)
U5_aaaa(x1, x2, x3, x4, x5, x6)  =  U5_aaaa(x6)
le33_in_aa(x1, x2)  =  le33_in_aa
U8_aa(x1, x2, x3)  =  U8_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
U6_aaaa(x1, x2, x3, x4, x5, x6)  =  U6_aaaa(x6)
U7_aaaa(x1, x2, x3, x4, x5, x6)  =  U7_aaaa(x6)
p56_out_aaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_out_aaaaaaa
U10_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_aaaaaaa(x8)
U11_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_aaaaaaa(x8)
qs59_out_aa(x1, x2)  =  qs59_out_aa
U12_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_aaaaaaa(x8)
U13_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_aaaaaaa(x8)
U14_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_aaaaaaa(x8)
U15_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_aaaaaaa(x8)
U16_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_aaaaaaa(x8)
U17_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_aaaaaaa(x8)
U18_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_aaaaaaa(x8)
.(x1, x2)  =  .(x1, x2)
[]  =  []
app70_in_aaaa(x1, x2, x3, x4)  =  app70_in_aaaa
U20_aaaa(x1, x2, x3, x4, x5, x6)  =  U20_aaaa(x6)
app70_out_aaaa(x1, x2, x3, x4)  =  app70_out_aaaa
U12_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_gaaaaaa(x1, x8)
U13_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_gaaaaaa(x1, x8)
U14_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_gaaaaaa(x1, x8)
U15_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_gaaaaaa(x1, x8)
U16_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_gaaaaaa(x1, x8)
U17_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_gaaaaaa(x1, x8)
U18_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_gaaaaaa(x1, x8)
app70_in_agaa(x1, x2, x3, x4)  =  app70_in_agaa(x2)
U20_agaa(x1, x2, x3, x4, x5, x6)  =  U20_agaa(x3, x6)
app70_out_agaa(x1, x2, x3, x4)  =  app70_out_agaa(x2)
qs51_out_gaa(x1, x2, x3)  =  qs51_out_gaa(x1)
U49_ag(x1, x2, x3, x4, x5, x6)  =  U49_ag(x1, x4, x6)
U50_ag(x1, x2, x3, x4, x5)  =  U50_ag(x4, x5)
p52_in_aaagg(x1, x2, x3, x4, x5)  =  p52_in_aaagg(x4, x5)
U33_aaagg(x1, x2, x3, x4, x5, x6)  =  U33_aaagg(x4, x5, x6)
qs80_in_aa(x1, x2)  =  qs80_in_aa
U22_aa(x1, x2, x3, x4)  =  U22_aa(x4)
part87_in_aaaa(x1, x2, x3, x4)  =  part87_in_aaaa
U38_aaaa(x1, x2, x3, x4, x5, x6)  =  U38_aaaa(x6)
part87_out_aaaa(x1, x2, x3, x4)  =  part87_out_aaaa
U39_aaaa(x1, x2, x3, x4, x5, x6)  =  U39_aaaa(x6)
U40_aaaa(x1, x2, x3, x4, x5, x6)  =  U40_aaaa(x6)
U41_aaaa(x1, x2, x3, x4, x5, x6)  =  U41_aaaa(x6)
le100_in_aa(x1, x2)  =  le100_in_aa
U21_aa(x1, x2, x3)  =  U21_aa(x3)
le100_out_aa(x1, x2)  =  le100_out_aa(x1)
U42_aaaa(x1, x2, x3, x4, x5, x6)  =  U42_aaaa(x6)
U43_aaaa(x1, x2, x3, x4, x5, x6)  =  U43_aaaa(x6)
qs80_out_aa(x1, x2)  =  qs80_out_aa
U23_aa(x1, x2, x3, x4)  =  U23_aa(x4)
U24_aa(x1, x2, x3, x4)  =  U24_aa(x4)
U27_aa(x1, x2, x3, x4)  =  U27_aa(x4)
U28_aa(x1, x2, x3, x4, x5)  =  U28_aa(x5)
U29_aa(x1, x2, x3, x4, x5)  =  U29_aa(x5)
U30_aa(x1, x2, x3, x4)  =  U30_aa(x4)
app121_in_aaaa(x1, x2, x3, x4)  =  app121_in_aaaa
U31_aaaa(x1, x2, x3, x4, x5, x6)  =  U31_aaaa(x6)
app121_out_aaaa(x1, x2, x3, x4)  =  app121_out_aaaa
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
U26_aa(x1, x2, x3, x4)  =  U26_aa(x4)
p52_out_aaagg(x1, x2, x3, x4, x5)  =  p52_out_aaagg(x4, x5)
U34_aaagg(x1, x2, x3, x4, x5, x6)  =  U34_aaagg(x4, x5, x6)
U35_aaagg(x1, x2, x3, x4, x5, x6)  =  U35_aaagg(x4, x5, x6)
app81_in_agag(x1, x2, x3, x4)  =  app81_in_agag(x2, x4)
U32_agag(x1, x2, x3, x4, x5, x6)  =  U32_agag(x1, x3, x5, x6)
app81_out_agag(x1, x2, x3, x4)  =  app81_out_agag(x1, x2, x3, x4)
U51_ag(x1, x2, x3, x4, x5)  =  U51_ag(x4, x5)
U52_ag(x1, x2, x3, x4, x5)  =  U52_ag(x4, x5)
U53_ag(x1, x2, x3, x4, x5)  =  U53_ag(x4, x5)
U54_ag(x1, x2, x3, x4, x5)  =  U54_ag(x4, x5)
U55_ag(x1, x2, x3, x4, x5)  =  U55_ag(x1, x4, x5)
U56_ag(x1, x2, x3, x4, x5)  =  U56_ag(x4, x5)
U57_ag(x1, x2, x3, x4, x5, x6)  =  U57_ag(x1, x4, x6)
U58_ag(x1, x2, x3, x4, x5)  =  U58_ag(x4, x5)
U59_ag(x1, x2, x3)  =  U59_ag(x2, x3)
qs155_in_a(x1)  =  qs155_in_a
qs155_out_a(x1)  =  qs155_out_a(x1)
U60_ag(x1, x2, x3)  =  U60_ag(x2, x3)
U61_ag(x1, x2, x3)  =  U61_ag(x2, x3)
U62_ag(x1, x2, x3, x4)  =  U62_ag(x2, x3, x4)
U63_ag(x1, x2, x3)  =  U63_ag(x2, x3)
app162_in_gagg(x1, x2, x3, x4)  =  app162_in_gagg(x1, x3, x4)
U36_gagg(x1, x2, x3, x4, x5, x6)  =  U36_gagg(x1, x2, x4, x5, x6)
app162_out_gagg(x1, x2, x3, x4)  =  app162_out_gagg(x1, x2, x3, x4)
APP70_IN_AAAA(x1, x2, x3, x4)  =  APP70_IN_AAAA

We have to consider all (P,R,Pi)-chains

(45) UsableRulesProof (EQUIVALENT transformation)

For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R.

(46) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

APP70_IN_AAAA(.(T201, T202), T203, T204, .(T201, X391)) → APP70_IN_AAAA(T202, T203, T204, X391)

R is empty.
The argument filtering Pi contains the following mapping:
.(x1, x2)  =  .(x1, x2)
APP70_IN_AAAA(x1, x2, x3, x4)  =  APP70_IN_AAAA

We have to consider all (P,R,Pi)-chains

(47) PiDPToQDPProof (SOUND transformation)

Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi.

(48) Obligation:

Q DP problem:
The TRS P consists of the following rules:

APP70_IN_AAAAAPP70_IN_AAAA

R is empty.
Q is empty.
We have to consider all (P,Q,R)-chains.

(49) NonTerminationProof (EQUIVALENT transformation)

We used the non-termination processor [FROCOS05] to show that the DP problem is infinite.
Found a loop by semiunifying a rule from P directly.

s = APP70_IN_AAAA evaluates to t =APP70_IN_AAAA

Thus s starts an infinite chain as s semiunifies with t with the following substitutions:
  • Semiunifier: [ ]
  • Matcher: [ ]




Rewriting sequence

The DP semiunifies directly so there is only one rewrite step from APP70_IN_AAAA to APP70_IN_AAAA.



(50) NO

(51) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

LE33_IN_AA(s(T113), s(T115)) → LE33_IN_AA(T113, T115)

The TRS R consists of the following rules:

qs1_in_ag(.(T26, .(T27, T28)), T8) → U44_ag(T26, T27, T28, T8, gt10_in_aa(T26, T27))
gt10_in_aa(s(T46), s(T47)) → U1_aa(T46, T47, gt10_in_aa(T46, T47))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U1_aa(T46, T47, gt10_out_aa(T46, T47)) → gt10_out_aa(s(T46), s(T47))
U44_ag(T26, T27, T28, T8, gt10_out_aa(T26, T27)) → qs1_out_ag(.(T26, .(T27, T28)), T8)
qs1_in_ag(.(T31, .(T33, T32)), T8) → U45_ag(T31, T33, T32, T8, gt10_in_aa(T31, T33))
U45_ag(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U46_ag(T31, T33, T32, T8, part20_in_gaaa(T31, T32, X47, X48))
part20_in_gaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_gaaa(T70, T73, T74, X119, X120, gt10_in_ga(T70, T73))
gt10_in_ga(s(T46), s(T47)) → U1_ga(T46, T47, gt10_in_ga(T46, T47))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U1_ga(T46, T47, gt10_out_ga(T46, T47)) → gt10_out_ga(s(T46), s(T47))
U2_gaaa(T70, T73, T74, X119, X120, gt10_out_ga(T70, T73)) → part20_out_gaaa(T70, .(T73, T74), .(T73, X119), X120)
part20_in_gaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_gaaa(T70, T73, T77, X119, X120, gt10_in_ga(T70, T73))
U3_gaaa(T70, T73, T77, X119, X120, gt10_out_ga(T70, T73)) → U4_gaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
part20_in_gaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_gaaa(T95, T98, T99, X170, X171, le33_in_ga(T95, T98))
le33_in_ga(s(T113), s(T115)) → U8_ga(T113, T115, le33_in_ga(T113, T115))
le33_in_ga(0, s(T122)) → le33_out_ga(0, s(T122))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U8_ga(T113, T115, le33_out_ga(T113, T115)) → le33_out_ga(s(T113), s(T115))
U5_gaaa(T95, T98, T99, X170, X171, le33_out_ga(T95, T98)) → part20_out_gaaa(T95, .(T98, T99), X170, .(T98, X171))
part20_in_gaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_gaaa(T95, T98, T102, X170, X171, le33_in_ga(T95, T98))
U6_gaaa(T95, T98, T102, X170, X171, le33_out_ga(T95, T98)) → U7_gaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
part20_in_gaaa(T128, [], [], []) → part20_out_gaaa(T128, [], [], [])
U7_gaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_gaaa(T95, .(T98, T102), X170, .(T98, X171))
U4_gaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_gaaa(T70, .(T73, T77), .(T73, X119), X120)
U46_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, X47, X48)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
U45_ag(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U47_ag(T31, T33, T32, T8, part20_in_gaaa(T31, T32, T53, T54))
U47_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U48_ag(T31, T33, T32, T8, qs51_in_gaa(T33, T53, X9))
qs51_in_gaa(T148, T149, X273) → U37_gaa(T148, T149, X273, p56_in_gaaaaaa(T148, T149, X269, X270, X271, X272, X273))
p56_in_gaaaaaa(T148, T149, X269, X270, X271, X272, X273) → U9_gaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_in_gaaa(T148, T149, X269, X270))
U9_gaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_out_gaaa(T148, T149, X269, X270)) → p56_out_gaaaaaa(T148, T149, X269, X270, X271, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, X271, X272, X273) → U10_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U10_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U11_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
qs59_in_aa(.(T171, T172), X335) → U19_aa(T171, T172, X335, p56_in_aaaaaaa(T171, T172, X331, X332, X333, X334, X335))
p56_in_aaaaaaa(T148, T149, X269, X270, X271, X272, X273) → U9_aaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_in_aaaa(T148, T149, X269, X270))
part20_in_aaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_aaaa(T70, T73, T74, X119, X120, gt10_in_aa(T70, T73))
U2_aaaa(T70, T73, T74, X119, X120, gt10_out_aa(T70, T73)) → part20_out_aaaa(T70, .(T73, T74), .(T73, X119), X120)
part20_in_aaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_aaaa(T70, T73, T77, X119, X120, gt10_in_aa(T70, T73))
U3_aaaa(T70, T73, T77, X119, X120, gt10_out_aa(T70, T73)) → U4_aaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
U4_aaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_aaaa(T70, .(T73, T77), .(T73, X119), X120)
part20_in_aaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_aaaa(T95, T98, T99, X170, X171, le33_in_aa(T95, T98))
le33_in_aa(s(T113), s(T115)) → U8_aa(T113, T115, le33_in_aa(T113, T115))
le33_in_aa(0, s(T122)) → le33_out_aa(0, s(T122))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U8_aa(T113, T115, le33_out_aa(T113, T115)) → le33_out_aa(s(T113), s(T115))
U5_aaaa(T95, T98, T99, X170, X171, le33_out_aa(T95, T98)) → part20_out_aaaa(T95, .(T98, T99), X170, .(T98, X171))
part20_in_aaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_aaaa(T95, T98, T102, X170, X171, le33_in_aa(T95, T98))
U6_aaaa(T95, T98, T102, X170, X171, le33_out_aa(T95, T98)) → U7_aaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
U7_aaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_aaaa(T95, .(T98, T102), X170, .(T98, X171))
part20_in_aaaa(T128, [], [], []) → part20_out_aaaa(T128, [], [], [])
U9_aaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_out_aaaa(T148, T149, X269, X270)) → p56_out_aaaaaaa(T148, T149, X269, X270, X271, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, X271, X272, X273) → U10_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U10_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U11_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
qs59_in_aa([], []) → qs59_out_aa([], [])
U11_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_out_aa(T153, X271)) → p56_out_aaaaaaa(T148, T149, T153, T154, X271, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, T160, X272, X273) → U12_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U12_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U13_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U13_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U14_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T154, X272)) → p56_out_aaaaaaa(T148, T149, T153, T154, T160, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, T160, T178, X273) → U15_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_in_aaaa(T148, T149, T153, T154))
U15_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_out_aaaa(T148, T149, T153, T154)) → U16_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U16_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U17_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_in_aaaa(T160, T148, T178, X273))
app70_in_aaaa(.(T201, T202), T203, T204, .(T201, X391)) → U20_aaaa(T201, T202, T203, T204, X391, app70_in_aaaa(T202, T203, T204, X391))
app70_in_aaaa([], T213, T214, .(T213, T214)) → app70_out_aaaa([], T213, T214, .(T213, T214))
U20_aaaa(T201, T202, T203, T204, X391, app70_out_aaaa(T202, T203, T204, X391)) → app70_out_aaaa(.(T201, T202), T203, T204, .(T201, X391))
U18_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_out_aaaa(T160, T148, T178, X273)) → p56_out_aaaaaaa(T148, T149, T153, T154, T160, T178, X273)
U19_aa(T171, T172, X335, p56_out_aaaaaaa(T171, T172, X331, X332, X333, X334, X335)) → qs59_out_aa(.(T171, T172), X335)
U11_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_out_aa(T153, X271)) → p56_out_gaaaaaa(T148, T149, T153, T154, X271, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, T160, X272, X273) → U12_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U12_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U13_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U13_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U14_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T154, X272)) → p56_out_gaaaaaa(T148, T149, T153, T154, T160, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, T160, T178, X273) → U15_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_in_gaaa(T148, T149, T153, T154))
U15_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_out_gaaa(T148, T149, T153, T154)) → U16_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U16_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U17_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_in_agaa(T160, T148, T178, X273))
app70_in_agaa(.(T201, T202), T203, T204, .(T201, X391)) → U20_agaa(T201, T202, T203, T204, X391, app70_in_agaa(T202, T203, T204, X391))
app70_in_agaa([], T213, T214, .(T213, T214)) → app70_out_agaa([], T213, T214, .(T213, T214))
U20_agaa(T201, T202, T203, T204, X391, app70_out_agaa(T202, T203, T204, X391)) → app70_out_agaa(.(T201, T202), T203, T204, .(T201, X391))
U18_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_out_agaa(T160, T148, T178, X273)) → p56_out_gaaaaaa(T148, T149, T153, T154, T160, T178, X273)
U37_gaa(T148, T149, X273, p56_out_gaaaaaa(T148, T149, X269, X270, X271, X272, X273)) → qs51_out_gaa(T148, T149, X273)
U48_ag(T31, T33, T32, T8, qs51_out_gaa(T33, T53, X9)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
U47_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U49_ag(T31, T33, T32, T8, T54, qs51_in_gaa(T33, T53, T131))
U49_ag(T31, T33, T32, T8, T54, qs51_out_gaa(T33, T53, T131)) → U50_ag(T31, T33, T32, T8, p52_in_aaagg(T54, X10, T131, T31, T8))
p52_in_aaagg(T54, X10, T131, T31, T8) → U33_aaagg(T54, X10, T131, T31, T8, qs80_in_aa(T54, X10))
qs80_in_aa(.(T230, T231), X452) → U22_aa(T230, T231, X452, part87_in_aaaa(T230, T231, X448, X449))
part87_in_aaaa(T256, .(T257, T258), .(T257, X503), X504) → U38_aaaa(T256, T257, T258, X503, X504, gt10_in_aa(T256, T257))
U38_aaaa(T256, T257, T258, X503, X504, gt10_out_aa(T256, T257)) → part87_out_aaaa(T256, .(T257, T258), .(T257, X503), X504)
part87_in_aaaa(T261, .(T257, T262), .(T257, X503), X504) → U39_aaaa(T261, T257, T262, X503, X504, gt10_in_aa(T261, T257))
U39_aaaa(T261, T257, T262, X503, X504, gt10_out_aa(T261, T257)) → U40_aaaa(T261, T257, T262, X503, X504, part20_in_gaaa(T261, T262, X503, X504))
U40_aaaa(T261, T257, T262, X503, X504, part20_out_gaaa(T261, T262, X503, X504)) → part87_out_aaaa(T261, .(T257, T262), .(T257, X503), X504)
part87_in_aaaa(T283, .(T284, T285), X554, .(T284, X555)) → U41_aaaa(T283, T284, T285, X554, X555, le100_in_aa(T283, T284))
le100_in_aa(s(T302), s(T303)) → U21_aa(T302, T303, le100_in_aa(T302, T303))
le100_in_aa(0, s(T310)) → le100_out_aa(0, s(T310))
le100_in_aa(0, 0) → le100_out_aa(0, 0)
U21_aa(T302, T303, le100_out_aa(T302, T303)) → le100_out_aa(s(T302), s(T303))
U41_aaaa(T283, T284, T285, X554, X555, le100_out_aa(T283, T284)) → part87_out_aaaa(T283, .(T284, T285), X554, .(T284, X555))
part87_in_aaaa(T288, .(T284, T289), X554, .(T284, X555)) → U42_aaaa(T288, T284, T289, X554, X555, le100_in_aa(T288, T284))
U42_aaaa(T288, T284, T289, X554, X555, le100_out_aa(T288, T284)) → U43_aaaa(T288, T284, T289, X554, X555, part20_in_gaaa(T288, T289, X554, X555))
U43_aaaa(T288, T284, T289, X554, X555, part20_out_gaaa(T288, T289, X554, X555)) → part87_out_aaaa(T288, .(T284, T289), X554, .(T284, X555))
part87_in_aaaa(T316, [], [], []) → part87_out_aaaa(T316, [], [], [])
U22_aa(T230, T231, X452, part87_out_aaaa(T230, T231, X448, X449)) → qs80_out_aa(.(T230, T231), X452)
qs80_in_aa(.(T237, T231), X452) → U23_aa(T237, T231, X452, part87_in_aaaa(T237, T231, T235, T236))
U23_aa(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U24_aa(T237, T231, X452, qs80_in_aa(T235, X450))
qs80_in_aa(.(T325, T231), X452) → U27_aa(T325, T231, X452, part87_in_aaaa(T325, T231, T235, T236))
U27_aa(T325, T231, X452, part87_out_aaaa(T325, T231, T235, T236)) → U28_aa(T325, T231, X452, T236, qs80_in_aa(T235, T319))
qs80_in_aa([], []) → qs80_out_aa([], [])
U28_aa(T325, T231, X452, T236, qs80_out_aa(T235, T319)) → U29_aa(T325, T231, X452, T319, qs80_in_aa(T236, T324))
U29_aa(T325, T231, X452, T319, qs80_out_aa(T236, T324)) → U30_aa(T325, T231, X452, app121_in_aaaa(T319, T325, T324, X452))
app121_in_aaaa(.(T348, T349), T352, T353, .(T348, X657)) → U31_aaaa(T348, T349, T352, T353, X657, app121_in_aaaa(T349, T352, T353, X657))
app121_in_aaaa([], T362, T363, .(T362, T363)) → app121_out_aaaa([], T362, T363, .(T362, T363))
U31_aaaa(T348, T349, T352, T353, X657, app121_out_aaaa(T349, T352, T353, X657)) → app121_out_aaaa(.(T348, T349), T352, T353, .(T348, X657))
U30_aa(T325, T231, X452, app121_out_aaaa(T319, T325, T324, X452)) → qs80_out_aa(.(T325, T231), X452)
U24_aa(T237, T231, X452, qs80_out_aa(T235, X450)) → qs80_out_aa(.(T237, T231), X452)
U23_aa(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U25_aa(T237, T231, X452, T236, qs80_in_aa(T235, T319))
U25_aa(T237, T231, X452, T236, qs80_out_aa(T235, T319)) → U26_aa(T237, T231, X452, qs80_in_aa(T236, X451))
U26_aa(T237, T231, X452, qs80_out_aa(T236, X451)) → qs80_out_aa(.(T237, T231), X452)
U33_aaagg(T54, X10, T131, T31, T8, qs80_out_aa(T54, X10)) → p52_out_aaagg(T54, X10, T131, T31, T8)
p52_in_aaagg(T54, T217, T131, T31, T8) → U34_aaagg(T54, T217, T131, T31, T8, qs80_in_aa(T54, T217))
U34_aaagg(T54, T217, T131, T31, T8, qs80_out_aa(T54, T217)) → U35_aaagg(T54, T217, T131, T31, T8, app81_in_agag(T131, T31, T217, T8))
app81_in_agag(.(T389, T390), T391, T394, .(T389, T393)) → U32_agag(T389, T390, T391, T394, T393, app81_in_agag(T390, T391, T394, T393))
app81_in_agag([], T404, T405, .(T404, T405)) → app81_out_agag([], T404, T405, .(T404, T405))
U32_agag(T389, T390, T391, T394, T393, app81_out_agag(T390, T391, T394, T393)) → app81_out_agag(.(T389, T390), T391, T394, .(T389, T393))
U35_aaagg(T54, T217, T131, T31, T8, app81_out_agag(T131, T31, T217, T8)) → p52_out_aaagg(T54, T217, T131, T31, T8)
U50_ag(T31, T33, T32, T8, p52_out_aaagg(T54, X10, T131, T31, T8)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
qs1_in_ag(.(T421, .(T422, T423)), T8) → U51_ag(T421, T422, T423, T8, le100_in_aa(T421, T422))
U51_ag(T421, T422, T423, T8, le100_out_aa(T421, T422)) → qs1_out_ag(.(T421, .(T422, T423)), T8)
qs1_in_ag(.(T426, .(T428, T427)), T8) → U52_ag(T426, T428, T427, T8, le100_in_aa(T426, T428))
U52_ag(T426, T428, T427, T8, le100_out_aa(T426, T428)) → U53_ag(T426, T428, T427, T8, part20_in_gaaa(T426, T427, X740, X741))
U53_ag(T426, T428, T427, T8, part20_out_gaaa(T426, T427, X740, X741)) → qs1_out_ag(.(T426, .(T428, T427)), T8)
qs1_in_ag(.(T426, .(T436, T427)), T8) → U54_ag(T426, T436, T427, T8, le100_in_aa(T426, T436))
U54_ag(T426, T436, T427, T8, le100_out_aa(T426, T436)) → U55_ag(T426, T436, T427, T8, part20_in_gaaa(T426, T427, T434, T435))
U55_ag(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U56_ag(T426, T436, T427, T8, qs80_in_aa(T434, X9))
U56_ag(T426, T436, T427, T8, qs80_out_aa(T434, X9)) → qs1_out_ag(.(T426, .(T436, T427)), T8)
U55_ag(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U57_ag(T426, T436, T427, T8, T435, qs80_in_aa(T434, T442))
U57_ag(T426, T436, T427, T8, T435, qs80_out_aa(T434, T442)) → U58_ag(T426, T436, T427, T8, p52_in_aaagg(.(T436, T435), X10, T442, T426, T8))
U58_ag(T426, T436, T427, T8, p52_out_aaagg(.(T436, T435), X10, T442, T426, T8)) → qs1_out_ag(.(T426, .(T436, T427)), T8)
qs1_in_ag(.(T452, []), T8) → U59_ag(T452, T8, qs155_in_a(X9))
qs155_in_a([]) → qs155_out_a([])
U59_ag(T452, T8, qs155_out_a(X9)) → qs1_out_ag(.(T452, []), T8)
qs1_in_ag(.(T452, []), T8) → U60_ag(T452, T8, qs155_in_a(T455))
U60_ag(T452, T8, qs155_out_a(T455)) → U61_ag(T452, T8, qs155_in_a(X10))
U61_ag(T452, T8, qs155_out_a(X10)) → qs1_out_ag(.(T452, []), T8)
U60_ag(T452, T8, qs155_out_a(T455)) → U62_ag(T452, T8, T455, qs155_in_a(T460))
U62_ag(T452, T8, T455, qs155_out_a(T460)) → U63_ag(T452, T8, app162_in_gagg(T455, T452, T460, T8))
app162_in_gagg(.(T486, T487), T491, T489, .(T486, T490)) → U36_gagg(T486, T487, T491, T489, T490, app162_in_gagg(T487, T491, T489, T490))
app162_in_gagg([], T501, T502, .(T501, T502)) → app162_out_gagg([], T501, T502, .(T501, T502))
U36_gagg(T486, T487, T491, T489, T490, app162_out_gagg(T487, T491, T489, T490)) → app162_out_gagg(.(T486, T487), T491, T489, .(T486, T490))
U63_ag(T452, T8, app162_out_gagg(T455, T452, T460, T8)) → qs1_out_ag(.(T452, []), T8)
qs1_in_ag([], []) → qs1_out_ag([], [])

The argument filtering Pi contains the following mapping:
qs1_in_ag(x1, x2)  =  qs1_in_ag(x2)
U44_ag(x1, x2, x3, x4, x5)  =  U44_ag(x4, x5)
gt10_in_aa(x1, x2)  =  gt10_in_aa
U1_aa(x1, x2, x3)  =  U1_aa(x3)
gt10_out_aa(x1, x2)  =  gt10_out_aa(x1, x2)
qs1_out_ag(x1, x2)  =  qs1_out_ag(x2)
U45_ag(x1, x2, x3, x4, x5)  =  U45_ag(x4, x5)
U46_ag(x1, x2, x3, x4, x5)  =  U46_ag(x4, x5)
part20_in_gaaa(x1, x2, x3, x4)  =  part20_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x1, x6)
gt10_in_ga(x1, x2)  =  gt10_in_ga(x1)
s(x1)  =  s(x1)
U1_ga(x1, x2, x3)  =  U1_ga(x1, x3)
0  =  0
gt10_out_ga(x1, x2)  =  gt10_out_ga(x1, x2)
part20_out_gaaa(x1, x2, x3, x4)  =  part20_out_gaaa(x1)
U3_gaaa(x1, x2, x3, x4, x5, x6)  =  U3_gaaa(x1, x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x1, x6)
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x1, x6)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U8_ga(x1, x2, x3)  =  U8_ga(x1, x3)
le33_out_ga(x1, x2)  =  le33_out_ga(x1)
U6_gaaa(x1, x2, x3, x4, x5, x6)  =  U6_gaaa(x1, x6)
U7_gaaa(x1, x2, x3, x4, x5, x6)  =  U7_gaaa(x1, x6)
U47_ag(x1, x2, x3, x4, x5)  =  U47_ag(x1, x2, x4, x5)
U48_ag(x1, x2, x3, x4, x5)  =  U48_ag(x4, x5)
qs51_in_gaa(x1, x2, x3)  =  qs51_in_gaa(x1)
U37_gaa(x1, x2, x3, x4)  =  U37_gaa(x1, x4)
p56_in_gaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_in_gaaaaaa(x1)
U9_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_gaaaaaa(x1, x8)
p56_out_gaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_out_gaaaaaa(x1)
U10_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_gaaaaaa(x1, x8)
U11_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_gaaaaaa(x1, x8)
qs59_in_aa(x1, x2)  =  qs59_in_aa
U19_aa(x1, x2, x3, x4)  =  U19_aa(x4)
p56_in_aaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_in_aaaaaaa
U9_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_aaaaaaa(x8)
part20_in_aaaa(x1, x2, x3, x4)  =  part20_in_aaaa
U2_aaaa(x1, x2, x3, x4, x5, x6)  =  U2_aaaa(x6)
part20_out_aaaa(x1, x2, x3, x4)  =  part20_out_aaaa
U3_aaaa(x1, x2, x3, x4, x5, x6)  =  U3_aaaa(x6)
U4_aaaa(x1, x2, x3, x4, x5, x6)  =  U4_aaaa(x6)
U5_aaaa(x1, x2, x3, x4, x5, x6)  =  U5_aaaa(x6)
le33_in_aa(x1, x2)  =  le33_in_aa
U8_aa(x1, x2, x3)  =  U8_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
U6_aaaa(x1, x2, x3, x4, x5, x6)  =  U6_aaaa(x6)
U7_aaaa(x1, x2, x3, x4, x5, x6)  =  U7_aaaa(x6)
p56_out_aaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_out_aaaaaaa
U10_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_aaaaaaa(x8)
U11_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_aaaaaaa(x8)
qs59_out_aa(x1, x2)  =  qs59_out_aa
U12_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_aaaaaaa(x8)
U13_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_aaaaaaa(x8)
U14_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_aaaaaaa(x8)
U15_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_aaaaaaa(x8)
U16_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_aaaaaaa(x8)
U17_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_aaaaaaa(x8)
U18_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_aaaaaaa(x8)
.(x1, x2)  =  .(x1, x2)
[]  =  []
app70_in_aaaa(x1, x2, x3, x4)  =  app70_in_aaaa
U20_aaaa(x1, x2, x3, x4, x5, x6)  =  U20_aaaa(x6)
app70_out_aaaa(x1, x2, x3, x4)  =  app70_out_aaaa
U12_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_gaaaaaa(x1, x8)
U13_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_gaaaaaa(x1, x8)
U14_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_gaaaaaa(x1, x8)
U15_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_gaaaaaa(x1, x8)
U16_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_gaaaaaa(x1, x8)
U17_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_gaaaaaa(x1, x8)
U18_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_gaaaaaa(x1, x8)
app70_in_agaa(x1, x2, x3, x4)  =  app70_in_agaa(x2)
U20_agaa(x1, x2, x3, x4, x5, x6)  =  U20_agaa(x3, x6)
app70_out_agaa(x1, x2, x3, x4)  =  app70_out_agaa(x2)
qs51_out_gaa(x1, x2, x3)  =  qs51_out_gaa(x1)
U49_ag(x1, x2, x3, x4, x5, x6)  =  U49_ag(x1, x4, x6)
U50_ag(x1, x2, x3, x4, x5)  =  U50_ag(x4, x5)
p52_in_aaagg(x1, x2, x3, x4, x5)  =  p52_in_aaagg(x4, x5)
U33_aaagg(x1, x2, x3, x4, x5, x6)  =  U33_aaagg(x4, x5, x6)
qs80_in_aa(x1, x2)  =  qs80_in_aa
U22_aa(x1, x2, x3, x4)  =  U22_aa(x4)
part87_in_aaaa(x1, x2, x3, x4)  =  part87_in_aaaa
U38_aaaa(x1, x2, x3, x4, x5, x6)  =  U38_aaaa(x6)
part87_out_aaaa(x1, x2, x3, x4)  =  part87_out_aaaa
U39_aaaa(x1, x2, x3, x4, x5, x6)  =  U39_aaaa(x6)
U40_aaaa(x1, x2, x3, x4, x5, x6)  =  U40_aaaa(x6)
U41_aaaa(x1, x2, x3, x4, x5, x6)  =  U41_aaaa(x6)
le100_in_aa(x1, x2)  =  le100_in_aa
U21_aa(x1, x2, x3)  =  U21_aa(x3)
le100_out_aa(x1, x2)  =  le100_out_aa(x1)
U42_aaaa(x1, x2, x3, x4, x5, x6)  =  U42_aaaa(x6)
U43_aaaa(x1, x2, x3, x4, x5, x6)  =  U43_aaaa(x6)
qs80_out_aa(x1, x2)  =  qs80_out_aa
U23_aa(x1, x2, x3, x4)  =  U23_aa(x4)
U24_aa(x1, x2, x3, x4)  =  U24_aa(x4)
U27_aa(x1, x2, x3, x4)  =  U27_aa(x4)
U28_aa(x1, x2, x3, x4, x5)  =  U28_aa(x5)
U29_aa(x1, x2, x3, x4, x5)  =  U29_aa(x5)
U30_aa(x1, x2, x3, x4)  =  U30_aa(x4)
app121_in_aaaa(x1, x2, x3, x4)  =  app121_in_aaaa
U31_aaaa(x1, x2, x3, x4, x5, x6)  =  U31_aaaa(x6)
app121_out_aaaa(x1, x2, x3, x4)  =  app121_out_aaaa
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
U26_aa(x1, x2, x3, x4)  =  U26_aa(x4)
p52_out_aaagg(x1, x2, x3, x4, x5)  =  p52_out_aaagg(x4, x5)
U34_aaagg(x1, x2, x3, x4, x5, x6)  =  U34_aaagg(x4, x5, x6)
U35_aaagg(x1, x2, x3, x4, x5, x6)  =  U35_aaagg(x4, x5, x6)
app81_in_agag(x1, x2, x3, x4)  =  app81_in_agag(x2, x4)
U32_agag(x1, x2, x3, x4, x5, x6)  =  U32_agag(x1, x3, x5, x6)
app81_out_agag(x1, x2, x3, x4)  =  app81_out_agag(x1, x2, x3, x4)
U51_ag(x1, x2, x3, x4, x5)  =  U51_ag(x4, x5)
U52_ag(x1, x2, x3, x4, x5)  =  U52_ag(x4, x5)
U53_ag(x1, x2, x3, x4, x5)  =  U53_ag(x4, x5)
U54_ag(x1, x2, x3, x4, x5)  =  U54_ag(x4, x5)
U55_ag(x1, x2, x3, x4, x5)  =  U55_ag(x1, x4, x5)
U56_ag(x1, x2, x3, x4, x5)  =  U56_ag(x4, x5)
U57_ag(x1, x2, x3, x4, x5, x6)  =  U57_ag(x1, x4, x6)
U58_ag(x1, x2, x3, x4, x5)  =  U58_ag(x4, x5)
U59_ag(x1, x2, x3)  =  U59_ag(x2, x3)
qs155_in_a(x1)  =  qs155_in_a
qs155_out_a(x1)  =  qs155_out_a(x1)
U60_ag(x1, x2, x3)  =  U60_ag(x2, x3)
U61_ag(x1, x2, x3)  =  U61_ag(x2, x3)
U62_ag(x1, x2, x3, x4)  =  U62_ag(x2, x3, x4)
U63_ag(x1, x2, x3)  =  U63_ag(x2, x3)
app162_in_gagg(x1, x2, x3, x4)  =  app162_in_gagg(x1, x3, x4)
U36_gagg(x1, x2, x3, x4, x5, x6)  =  U36_gagg(x1, x2, x4, x5, x6)
app162_out_gagg(x1, x2, x3, x4)  =  app162_out_gagg(x1, x2, x3, x4)
LE33_IN_AA(x1, x2)  =  LE33_IN_AA

We have to consider all (P,R,Pi)-chains

(52) UsableRulesProof (EQUIVALENT transformation)

For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R.

(53) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

LE33_IN_AA(s(T113), s(T115)) → LE33_IN_AA(T113, T115)

R is empty.
The argument filtering Pi contains the following mapping:
s(x1)  =  s(x1)
LE33_IN_AA(x1, x2)  =  LE33_IN_AA

We have to consider all (P,R,Pi)-chains

(54) PiDPToQDPProof (SOUND transformation)

Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi.

(55) Obligation:

Q DP problem:
The TRS P consists of the following rules:

LE33_IN_AALE33_IN_AA

R is empty.
Q is empty.
We have to consider all (P,Q,R)-chains.

(56) NonTerminationProof (EQUIVALENT transformation)

We used the non-termination processor [FROCOS05] to show that the DP problem is infinite.
Found a loop by semiunifying a rule from P directly.

s = LE33_IN_AA evaluates to t =LE33_IN_AA

Thus s starts an infinite chain as s semiunifies with t with the following substitutions:
  • Matcher: [ ]
  • Semiunifier: [ ]




Rewriting sequence

The DP semiunifies directly so there is only one rewrite step from LE33_IN_AA to LE33_IN_AA.



(57) NO

(58) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

LE33_IN_GA(s(T113), s(T115)) → LE33_IN_GA(T113, T115)

The TRS R consists of the following rules:

qs1_in_ag(.(T26, .(T27, T28)), T8) → U44_ag(T26, T27, T28, T8, gt10_in_aa(T26, T27))
gt10_in_aa(s(T46), s(T47)) → U1_aa(T46, T47, gt10_in_aa(T46, T47))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U1_aa(T46, T47, gt10_out_aa(T46, T47)) → gt10_out_aa(s(T46), s(T47))
U44_ag(T26, T27, T28, T8, gt10_out_aa(T26, T27)) → qs1_out_ag(.(T26, .(T27, T28)), T8)
qs1_in_ag(.(T31, .(T33, T32)), T8) → U45_ag(T31, T33, T32, T8, gt10_in_aa(T31, T33))
U45_ag(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U46_ag(T31, T33, T32, T8, part20_in_gaaa(T31, T32, X47, X48))
part20_in_gaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_gaaa(T70, T73, T74, X119, X120, gt10_in_ga(T70, T73))
gt10_in_ga(s(T46), s(T47)) → U1_ga(T46, T47, gt10_in_ga(T46, T47))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U1_ga(T46, T47, gt10_out_ga(T46, T47)) → gt10_out_ga(s(T46), s(T47))
U2_gaaa(T70, T73, T74, X119, X120, gt10_out_ga(T70, T73)) → part20_out_gaaa(T70, .(T73, T74), .(T73, X119), X120)
part20_in_gaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_gaaa(T70, T73, T77, X119, X120, gt10_in_ga(T70, T73))
U3_gaaa(T70, T73, T77, X119, X120, gt10_out_ga(T70, T73)) → U4_gaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
part20_in_gaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_gaaa(T95, T98, T99, X170, X171, le33_in_ga(T95, T98))
le33_in_ga(s(T113), s(T115)) → U8_ga(T113, T115, le33_in_ga(T113, T115))
le33_in_ga(0, s(T122)) → le33_out_ga(0, s(T122))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U8_ga(T113, T115, le33_out_ga(T113, T115)) → le33_out_ga(s(T113), s(T115))
U5_gaaa(T95, T98, T99, X170, X171, le33_out_ga(T95, T98)) → part20_out_gaaa(T95, .(T98, T99), X170, .(T98, X171))
part20_in_gaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_gaaa(T95, T98, T102, X170, X171, le33_in_ga(T95, T98))
U6_gaaa(T95, T98, T102, X170, X171, le33_out_ga(T95, T98)) → U7_gaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
part20_in_gaaa(T128, [], [], []) → part20_out_gaaa(T128, [], [], [])
U7_gaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_gaaa(T95, .(T98, T102), X170, .(T98, X171))
U4_gaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_gaaa(T70, .(T73, T77), .(T73, X119), X120)
U46_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, X47, X48)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
U45_ag(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U47_ag(T31, T33, T32, T8, part20_in_gaaa(T31, T32, T53, T54))
U47_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U48_ag(T31, T33, T32, T8, qs51_in_gaa(T33, T53, X9))
qs51_in_gaa(T148, T149, X273) → U37_gaa(T148, T149, X273, p56_in_gaaaaaa(T148, T149, X269, X270, X271, X272, X273))
p56_in_gaaaaaa(T148, T149, X269, X270, X271, X272, X273) → U9_gaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_in_gaaa(T148, T149, X269, X270))
U9_gaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_out_gaaa(T148, T149, X269, X270)) → p56_out_gaaaaaa(T148, T149, X269, X270, X271, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, X271, X272, X273) → U10_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U10_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U11_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
qs59_in_aa(.(T171, T172), X335) → U19_aa(T171, T172, X335, p56_in_aaaaaaa(T171, T172, X331, X332, X333, X334, X335))
p56_in_aaaaaaa(T148, T149, X269, X270, X271, X272, X273) → U9_aaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_in_aaaa(T148, T149, X269, X270))
part20_in_aaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_aaaa(T70, T73, T74, X119, X120, gt10_in_aa(T70, T73))
U2_aaaa(T70, T73, T74, X119, X120, gt10_out_aa(T70, T73)) → part20_out_aaaa(T70, .(T73, T74), .(T73, X119), X120)
part20_in_aaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_aaaa(T70, T73, T77, X119, X120, gt10_in_aa(T70, T73))
U3_aaaa(T70, T73, T77, X119, X120, gt10_out_aa(T70, T73)) → U4_aaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
U4_aaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_aaaa(T70, .(T73, T77), .(T73, X119), X120)
part20_in_aaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_aaaa(T95, T98, T99, X170, X171, le33_in_aa(T95, T98))
le33_in_aa(s(T113), s(T115)) → U8_aa(T113, T115, le33_in_aa(T113, T115))
le33_in_aa(0, s(T122)) → le33_out_aa(0, s(T122))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U8_aa(T113, T115, le33_out_aa(T113, T115)) → le33_out_aa(s(T113), s(T115))
U5_aaaa(T95, T98, T99, X170, X171, le33_out_aa(T95, T98)) → part20_out_aaaa(T95, .(T98, T99), X170, .(T98, X171))
part20_in_aaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_aaaa(T95, T98, T102, X170, X171, le33_in_aa(T95, T98))
U6_aaaa(T95, T98, T102, X170, X171, le33_out_aa(T95, T98)) → U7_aaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
U7_aaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_aaaa(T95, .(T98, T102), X170, .(T98, X171))
part20_in_aaaa(T128, [], [], []) → part20_out_aaaa(T128, [], [], [])
U9_aaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_out_aaaa(T148, T149, X269, X270)) → p56_out_aaaaaaa(T148, T149, X269, X270, X271, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, X271, X272, X273) → U10_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U10_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U11_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
qs59_in_aa([], []) → qs59_out_aa([], [])
U11_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_out_aa(T153, X271)) → p56_out_aaaaaaa(T148, T149, T153, T154, X271, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, T160, X272, X273) → U12_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U12_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U13_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U13_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U14_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T154, X272)) → p56_out_aaaaaaa(T148, T149, T153, T154, T160, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, T160, T178, X273) → U15_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_in_aaaa(T148, T149, T153, T154))
U15_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_out_aaaa(T148, T149, T153, T154)) → U16_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U16_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U17_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_in_aaaa(T160, T148, T178, X273))
app70_in_aaaa(.(T201, T202), T203, T204, .(T201, X391)) → U20_aaaa(T201, T202, T203, T204, X391, app70_in_aaaa(T202, T203, T204, X391))
app70_in_aaaa([], T213, T214, .(T213, T214)) → app70_out_aaaa([], T213, T214, .(T213, T214))
U20_aaaa(T201, T202, T203, T204, X391, app70_out_aaaa(T202, T203, T204, X391)) → app70_out_aaaa(.(T201, T202), T203, T204, .(T201, X391))
U18_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_out_aaaa(T160, T148, T178, X273)) → p56_out_aaaaaaa(T148, T149, T153, T154, T160, T178, X273)
U19_aa(T171, T172, X335, p56_out_aaaaaaa(T171, T172, X331, X332, X333, X334, X335)) → qs59_out_aa(.(T171, T172), X335)
U11_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_out_aa(T153, X271)) → p56_out_gaaaaaa(T148, T149, T153, T154, X271, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, T160, X272, X273) → U12_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U12_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U13_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U13_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U14_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T154, X272)) → p56_out_gaaaaaa(T148, T149, T153, T154, T160, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, T160, T178, X273) → U15_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_in_gaaa(T148, T149, T153, T154))
U15_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_out_gaaa(T148, T149, T153, T154)) → U16_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U16_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U17_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_in_agaa(T160, T148, T178, X273))
app70_in_agaa(.(T201, T202), T203, T204, .(T201, X391)) → U20_agaa(T201, T202, T203, T204, X391, app70_in_agaa(T202, T203, T204, X391))
app70_in_agaa([], T213, T214, .(T213, T214)) → app70_out_agaa([], T213, T214, .(T213, T214))
U20_agaa(T201, T202, T203, T204, X391, app70_out_agaa(T202, T203, T204, X391)) → app70_out_agaa(.(T201, T202), T203, T204, .(T201, X391))
U18_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_out_agaa(T160, T148, T178, X273)) → p56_out_gaaaaaa(T148, T149, T153, T154, T160, T178, X273)
U37_gaa(T148, T149, X273, p56_out_gaaaaaa(T148, T149, X269, X270, X271, X272, X273)) → qs51_out_gaa(T148, T149, X273)
U48_ag(T31, T33, T32, T8, qs51_out_gaa(T33, T53, X9)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
U47_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U49_ag(T31, T33, T32, T8, T54, qs51_in_gaa(T33, T53, T131))
U49_ag(T31, T33, T32, T8, T54, qs51_out_gaa(T33, T53, T131)) → U50_ag(T31, T33, T32, T8, p52_in_aaagg(T54, X10, T131, T31, T8))
p52_in_aaagg(T54, X10, T131, T31, T8) → U33_aaagg(T54, X10, T131, T31, T8, qs80_in_aa(T54, X10))
qs80_in_aa(.(T230, T231), X452) → U22_aa(T230, T231, X452, part87_in_aaaa(T230, T231, X448, X449))
part87_in_aaaa(T256, .(T257, T258), .(T257, X503), X504) → U38_aaaa(T256, T257, T258, X503, X504, gt10_in_aa(T256, T257))
U38_aaaa(T256, T257, T258, X503, X504, gt10_out_aa(T256, T257)) → part87_out_aaaa(T256, .(T257, T258), .(T257, X503), X504)
part87_in_aaaa(T261, .(T257, T262), .(T257, X503), X504) → U39_aaaa(T261, T257, T262, X503, X504, gt10_in_aa(T261, T257))
U39_aaaa(T261, T257, T262, X503, X504, gt10_out_aa(T261, T257)) → U40_aaaa(T261, T257, T262, X503, X504, part20_in_gaaa(T261, T262, X503, X504))
U40_aaaa(T261, T257, T262, X503, X504, part20_out_gaaa(T261, T262, X503, X504)) → part87_out_aaaa(T261, .(T257, T262), .(T257, X503), X504)
part87_in_aaaa(T283, .(T284, T285), X554, .(T284, X555)) → U41_aaaa(T283, T284, T285, X554, X555, le100_in_aa(T283, T284))
le100_in_aa(s(T302), s(T303)) → U21_aa(T302, T303, le100_in_aa(T302, T303))
le100_in_aa(0, s(T310)) → le100_out_aa(0, s(T310))
le100_in_aa(0, 0) → le100_out_aa(0, 0)
U21_aa(T302, T303, le100_out_aa(T302, T303)) → le100_out_aa(s(T302), s(T303))
U41_aaaa(T283, T284, T285, X554, X555, le100_out_aa(T283, T284)) → part87_out_aaaa(T283, .(T284, T285), X554, .(T284, X555))
part87_in_aaaa(T288, .(T284, T289), X554, .(T284, X555)) → U42_aaaa(T288, T284, T289, X554, X555, le100_in_aa(T288, T284))
U42_aaaa(T288, T284, T289, X554, X555, le100_out_aa(T288, T284)) → U43_aaaa(T288, T284, T289, X554, X555, part20_in_gaaa(T288, T289, X554, X555))
U43_aaaa(T288, T284, T289, X554, X555, part20_out_gaaa(T288, T289, X554, X555)) → part87_out_aaaa(T288, .(T284, T289), X554, .(T284, X555))
part87_in_aaaa(T316, [], [], []) → part87_out_aaaa(T316, [], [], [])
U22_aa(T230, T231, X452, part87_out_aaaa(T230, T231, X448, X449)) → qs80_out_aa(.(T230, T231), X452)
qs80_in_aa(.(T237, T231), X452) → U23_aa(T237, T231, X452, part87_in_aaaa(T237, T231, T235, T236))
U23_aa(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U24_aa(T237, T231, X452, qs80_in_aa(T235, X450))
qs80_in_aa(.(T325, T231), X452) → U27_aa(T325, T231, X452, part87_in_aaaa(T325, T231, T235, T236))
U27_aa(T325, T231, X452, part87_out_aaaa(T325, T231, T235, T236)) → U28_aa(T325, T231, X452, T236, qs80_in_aa(T235, T319))
qs80_in_aa([], []) → qs80_out_aa([], [])
U28_aa(T325, T231, X452, T236, qs80_out_aa(T235, T319)) → U29_aa(T325, T231, X452, T319, qs80_in_aa(T236, T324))
U29_aa(T325, T231, X452, T319, qs80_out_aa(T236, T324)) → U30_aa(T325, T231, X452, app121_in_aaaa(T319, T325, T324, X452))
app121_in_aaaa(.(T348, T349), T352, T353, .(T348, X657)) → U31_aaaa(T348, T349, T352, T353, X657, app121_in_aaaa(T349, T352, T353, X657))
app121_in_aaaa([], T362, T363, .(T362, T363)) → app121_out_aaaa([], T362, T363, .(T362, T363))
U31_aaaa(T348, T349, T352, T353, X657, app121_out_aaaa(T349, T352, T353, X657)) → app121_out_aaaa(.(T348, T349), T352, T353, .(T348, X657))
U30_aa(T325, T231, X452, app121_out_aaaa(T319, T325, T324, X452)) → qs80_out_aa(.(T325, T231), X452)
U24_aa(T237, T231, X452, qs80_out_aa(T235, X450)) → qs80_out_aa(.(T237, T231), X452)
U23_aa(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U25_aa(T237, T231, X452, T236, qs80_in_aa(T235, T319))
U25_aa(T237, T231, X452, T236, qs80_out_aa(T235, T319)) → U26_aa(T237, T231, X452, qs80_in_aa(T236, X451))
U26_aa(T237, T231, X452, qs80_out_aa(T236, X451)) → qs80_out_aa(.(T237, T231), X452)
U33_aaagg(T54, X10, T131, T31, T8, qs80_out_aa(T54, X10)) → p52_out_aaagg(T54, X10, T131, T31, T8)
p52_in_aaagg(T54, T217, T131, T31, T8) → U34_aaagg(T54, T217, T131, T31, T8, qs80_in_aa(T54, T217))
U34_aaagg(T54, T217, T131, T31, T8, qs80_out_aa(T54, T217)) → U35_aaagg(T54, T217, T131, T31, T8, app81_in_agag(T131, T31, T217, T8))
app81_in_agag(.(T389, T390), T391, T394, .(T389, T393)) → U32_agag(T389, T390, T391, T394, T393, app81_in_agag(T390, T391, T394, T393))
app81_in_agag([], T404, T405, .(T404, T405)) → app81_out_agag([], T404, T405, .(T404, T405))
U32_agag(T389, T390, T391, T394, T393, app81_out_agag(T390, T391, T394, T393)) → app81_out_agag(.(T389, T390), T391, T394, .(T389, T393))
U35_aaagg(T54, T217, T131, T31, T8, app81_out_agag(T131, T31, T217, T8)) → p52_out_aaagg(T54, T217, T131, T31, T8)
U50_ag(T31, T33, T32, T8, p52_out_aaagg(T54, X10, T131, T31, T8)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
qs1_in_ag(.(T421, .(T422, T423)), T8) → U51_ag(T421, T422, T423, T8, le100_in_aa(T421, T422))
U51_ag(T421, T422, T423, T8, le100_out_aa(T421, T422)) → qs1_out_ag(.(T421, .(T422, T423)), T8)
qs1_in_ag(.(T426, .(T428, T427)), T8) → U52_ag(T426, T428, T427, T8, le100_in_aa(T426, T428))
U52_ag(T426, T428, T427, T8, le100_out_aa(T426, T428)) → U53_ag(T426, T428, T427, T8, part20_in_gaaa(T426, T427, X740, X741))
U53_ag(T426, T428, T427, T8, part20_out_gaaa(T426, T427, X740, X741)) → qs1_out_ag(.(T426, .(T428, T427)), T8)
qs1_in_ag(.(T426, .(T436, T427)), T8) → U54_ag(T426, T436, T427, T8, le100_in_aa(T426, T436))
U54_ag(T426, T436, T427, T8, le100_out_aa(T426, T436)) → U55_ag(T426, T436, T427, T8, part20_in_gaaa(T426, T427, T434, T435))
U55_ag(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U56_ag(T426, T436, T427, T8, qs80_in_aa(T434, X9))
U56_ag(T426, T436, T427, T8, qs80_out_aa(T434, X9)) → qs1_out_ag(.(T426, .(T436, T427)), T8)
U55_ag(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U57_ag(T426, T436, T427, T8, T435, qs80_in_aa(T434, T442))
U57_ag(T426, T436, T427, T8, T435, qs80_out_aa(T434, T442)) → U58_ag(T426, T436, T427, T8, p52_in_aaagg(.(T436, T435), X10, T442, T426, T8))
U58_ag(T426, T436, T427, T8, p52_out_aaagg(.(T436, T435), X10, T442, T426, T8)) → qs1_out_ag(.(T426, .(T436, T427)), T8)
qs1_in_ag(.(T452, []), T8) → U59_ag(T452, T8, qs155_in_a(X9))
qs155_in_a([]) → qs155_out_a([])
U59_ag(T452, T8, qs155_out_a(X9)) → qs1_out_ag(.(T452, []), T8)
qs1_in_ag(.(T452, []), T8) → U60_ag(T452, T8, qs155_in_a(T455))
U60_ag(T452, T8, qs155_out_a(T455)) → U61_ag(T452, T8, qs155_in_a(X10))
U61_ag(T452, T8, qs155_out_a(X10)) → qs1_out_ag(.(T452, []), T8)
U60_ag(T452, T8, qs155_out_a(T455)) → U62_ag(T452, T8, T455, qs155_in_a(T460))
U62_ag(T452, T8, T455, qs155_out_a(T460)) → U63_ag(T452, T8, app162_in_gagg(T455, T452, T460, T8))
app162_in_gagg(.(T486, T487), T491, T489, .(T486, T490)) → U36_gagg(T486, T487, T491, T489, T490, app162_in_gagg(T487, T491, T489, T490))
app162_in_gagg([], T501, T502, .(T501, T502)) → app162_out_gagg([], T501, T502, .(T501, T502))
U36_gagg(T486, T487, T491, T489, T490, app162_out_gagg(T487, T491, T489, T490)) → app162_out_gagg(.(T486, T487), T491, T489, .(T486, T490))
U63_ag(T452, T8, app162_out_gagg(T455, T452, T460, T8)) → qs1_out_ag(.(T452, []), T8)
qs1_in_ag([], []) → qs1_out_ag([], [])

The argument filtering Pi contains the following mapping:
qs1_in_ag(x1, x2)  =  qs1_in_ag(x2)
U44_ag(x1, x2, x3, x4, x5)  =  U44_ag(x4, x5)
gt10_in_aa(x1, x2)  =  gt10_in_aa
U1_aa(x1, x2, x3)  =  U1_aa(x3)
gt10_out_aa(x1, x2)  =  gt10_out_aa(x1, x2)
qs1_out_ag(x1, x2)  =  qs1_out_ag(x2)
U45_ag(x1, x2, x3, x4, x5)  =  U45_ag(x4, x5)
U46_ag(x1, x2, x3, x4, x5)  =  U46_ag(x4, x5)
part20_in_gaaa(x1, x2, x3, x4)  =  part20_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x1, x6)
gt10_in_ga(x1, x2)  =  gt10_in_ga(x1)
s(x1)  =  s(x1)
U1_ga(x1, x2, x3)  =  U1_ga(x1, x3)
0  =  0
gt10_out_ga(x1, x2)  =  gt10_out_ga(x1, x2)
part20_out_gaaa(x1, x2, x3, x4)  =  part20_out_gaaa(x1)
U3_gaaa(x1, x2, x3, x4, x5, x6)  =  U3_gaaa(x1, x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x1, x6)
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x1, x6)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U8_ga(x1, x2, x3)  =  U8_ga(x1, x3)
le33_out_ga(x1, x2)  =  le33_out_ga(x1)
U6_gaaa(x1, x2, x3, x4, x5, x6)  =  U6_gaaa(x1, x6)
U7_gaaa(x1, x2, x3, x4, x5, x6)  =  U7_gaaa(x1, x6)
U47_ag(x1, x2, x3, x4, x5)  =  U47_ag(x1, x2, x4, x5)
U48_ag(x1, x2, x3, x4, x5)  =  U48_ag(x4, x5)
qs51_in_gaa(x1, x2, x3)  =  qs51_in_gaa(x1)
U37_gaa(x1, x2, x3, x4)  =  U37_gaa(x1, x4)
p56_in_gaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_in_gaaaaaa(x1)
U9_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_gaaaaaa(x1, x8)
p56_out_gaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_out_gaaaaaa(x1)
U10_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_gaaaaaa(x1, x8)
U11_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_gaaaaaa(x1, x8)
qs59_in_aa(x1, x2)  =  qs59_in_aa
U19_aa(x1, x2, x3, x4)  =  U19_aa(x4)
p56_in_aaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_in_aaaaaaa
U9_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_aaaaaaa(x8)
part20_in_aaaa(x1, x2, x3, x4)  =  part20_in_aaaa
U2_aaaa(x1, x2, x3, x4, x5, x6)  =  U2_aaaa(x6)
part20_out_aaaa(x1, x2, x3, x4)  =  part20_out_aaaa
U3_aaaa(x1, x2, x3, x4, x5, x6)  =  U3_aaaa(x6)
U4_aaaa(x1, x2, x3, x4, x5, x6)  =  U4_aaaa(x6)
U5_aaaa(x1, x2, x3, x4, x5, x6)  =  U5_aaaa(x6)
le33_in_aa(x1, x2)  =  le33_in_aa
U8_aa(x1, x2, x3)  =  U8_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
U6_aaaa(x1, x2, x3, x4, x5, x6)  =  U6_aaaa(x6)
U7_aaaa(x1, x2, x3, x4, x5, x6)  =  U7_aaaa(x6)
p56_out_aaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_out_aaaaaaa
U10_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_aaaaaaa(x8)
U11_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_aaaaaaa(x8)
qs59_out_aa(x1, x2)  =  qs59_out_aa
U12_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_aaaaaaa(x8)
U13_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_aaaaaaa(x8)
U14_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_aaaaaaa(x8)
U15_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_aaaaaaa(x8)
U16_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_aaaaaaa(x8)
U17_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_aaaaaaa(x8)
U18_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_aaaaaaa(x8)
.(x1, x2)  =  .(x1, x2)
[]  =  []
app70_in_aaaa(x1, x2, x3, x4)  =  app70_in_aaaa
U20_aaaa(x1, x2, x3, x4, x5, x6)  =  U20_aaaa(x6)
app70_out_aaaa(x1, x2, x3, x4)  =  app70_out_aaaa
U12_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_gaaaaaa(x1, x8)
U13_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_gaaaaaa(x1, x8)
U14_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_gaaaaaa(x1, x8)
U15_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_gaaaaaa(x1, x8)
U16_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_gaaaaaa(x1, x8)
U17_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_gaaaaaa(x1, x8)
U18_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_gaaaaaa(x1, x8)
app70_in_agaa(x1, x2, x3, x4)  =  app70_in_agaa(x2)
U20_agaa(x1, x2, x3, x4, x5, x6)  =  U20_agaa(x3, x6)
app70_out_agaa(x1, x2, x3, x4)  =  app70_out_agaa(x2)
qs51_out_gaa(x1, x2, x3)  =  qs51_out_gaa(x1)
U49_ag(x1, x2, x3, x4, x5, x6)  =  U49_ag(x1, x4, x6)
U50_ag(x1, x2, x3, x4, x5)  =  U50_ag(x4, x5)
p52_in_aaagg(x1, x2, x3, x4, x5)  =  p52_in_aaagg(x4, x5)
U33_aaagg(x1, x2, x3, x4, x5, x6)  =  U33_aaagg(x4, x5, x6)
qs80_in_aa(x1, x2)  =  qs80_in_aa
U22_aa(x1, x2, x3, x4)  =  U22_aa(x4)
part87_in_aaaa(x1, x2, x3, x4)  =  part87_in_aaaa
U38_aaaa(x1, x2, x3, x4, x5, x6)  =  U38_aaaa(x6)
part87_out_aaaa(x1, x2, x3, x4)  =  part87_out_aaaa
U39_aaaa(x1, x2, x3, x4, x5, x6)  =  U39_aaaa(x6)
U40_aaaa(x1, x2, x3, x4, x5, x6)  =  U40_aaaa(x6)
U41_aaaa(x1, x2, x3, x4, x5, x6)  =  U41_aaaa(x6)
le100_in_aa(x1, x2)  =  le100_in_aa
U21_aa(x1, x2, x3)  =  U21_aa(x3)
le100_out_aa(x1, x2)  =  le100_out_aa(x1)
U42_aaaa(x1, x2, x3, x4, x5, x6)  =  U42_aaaa(x6)
U43_aaaa(x1, x2, x3, x4, x5, x6)  =  U43_aaaa(x6)
qs80_out_aa(x1, x2)  =  qs80_out_aa
U23_aa(x1, x2, x3, x4)  =  U23_aa(x4)
U24_aa(x1, x2, x3, x4)  =  U24_aa(x4)
U27_aa(x1, x2, x3, x4)  =  U27_aa(x4)
U28_aa(x1, x2, x3, x4, x5)  =  U28_aa(x5)
U29_aa(x1, x2, x3, x4, x5)  =  U29_aa(x5)
U30_aa(x1, x2, x3, x4)  =  U30_aa(x4)
app121_in_aaaa(x1, x2, x3, x4)  =  app121_in_aaaa
U31_aaaa(x1, x2, x3, x4, x5, x6)  =  U31_aaaa(x6)
app121_out_aaaa(x1, x2, x3, x4)  =  app121_out_aaaa
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
U26_aa(x1, x2, x3, x4)  =  U26_aa(x4)
p52_out_aaagg(x1, x2, x3, x4, x5)  =  p52_out_aaagg(x4, x5)
U34_aaagg(x1, x2, x3, x4, x5, x6)  =  U34_aaagg(x4, x5, x6)
U35_aaagg(x1, x2, x3, x4, x5, x6)  =  U35_aaagg(x4, x5, x6)
app81_in_agag(x1, x2, x3, x4)  =  app81_in_agag(x2, x4)
U32_agag(x1, x2, x3, x4, x5, x6)  =  U32_agag(x1, x3, x5, x6)
app81_out_agag(x1, x2, x3, x4)  =  app81_out_agag(x1, x2, x3, x4)
U51_ag(x1, x2, x3, x4, x5)  =  U51_ag(x4, x5)
U52_ag(x1, x2, x3, x4, x5)  =  U52_ag(x4, x5)
U53_ag(x1, x2, x3, x4, x5)  =  U53_ag(x4, x5)
U54_ag(x1, x2, x3, x4, x5)  =  U54_ag(x4, x5)
U55_ag(x1, x2, x3, x4, x5)  =  U55_ag(x1, x4, x5)
U56_ag(x1, x2, x3, x4, x5)  =  U56_ag(x4, x5)
U57_ag(x1, x2, x3, x4, x5, x6)  =  U57_ag(x1, x4, x6)
U58_ag(x1, x2, x3, x4, x5)  =  U58_ag(x4, x5)
U59_ag(x1, x2, x3)  =  U59_ag(x2, x3)
qs155_in_a(x1)  =  qs155_in_a
qs155_out_a(x1)  =  qs155_out_a(x1)
U60_ag(x1, x2, x3)  =  U60_ag(x2, x3)
U61_ag(x1, x2, x3)  =  U61_ag(x2, x3)
U62_ag(x1, x2, x3, x4)  =  U62_ag(x2, x3, x4)
U63_ag(x1, x2, x3)  =  U63_ag(x2, x3)
app162_in_gagg(x1, x2, x3, x4)  =  app162_in_gagg(x1, x3, x4)
U36_gagg(x1, x2, x3, x4, x5, x6)  =  U36_gagg(x1, x2, x4, x5, x6)
app162_out_gagg(x1, x2, x3, x4)  =  app162_out_gagg(x1, x2, x3, x4)
LE33_IN_GA(x1, x2)  =  LE33_IN_GA(x1)

We have to consider all (P,R,Pi)-chains

(59) UsableRulesProof (EQUIVALENT transformation)

For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R.

(60) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

LE33_IN_GA(s(T113), s(T115)) → LE33_IN_GA(T113, T115)

R is empty.
The argument filtering Pi contains the following mapping:
s(x1)  =  s(x1)
LE33_IN_GA(x1, x2)  =  LE33_IN_GA(x1)

We have to consider all (P,R,Pi)-chains

(61) PiDPToQDPProof (SOUND transformation)

Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi.

(62) Obligation:

Q DP problem:
The TRS P consists of the following rules:

LE33_IN_GA(s(T113)) → LE33_IN_GA(T113)

R is empty.
Q is empty.
We have to consider all (P,Q,R)-chains.

(63) QDPSizeChangeProof (EQUIVALENT transformation)

By using the subterm criterion [SUBTERM_CRITERION] together with the size-change analysis [AAECC05] we have proven that there are no infinite chains for this DP problem.

From the DPs we obtained the following set of size-change graphs:

  • LE33_IN_GA(s(T113)) → LE33_IN_GA(T113)
    The graph contains the following edges 1 > 1

(64) YES

(65) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

GT10_IN_GA(s(T46), s(T47)) → GT10_IN_GA(T46, T47)

The TRS R consists of the following rules:

qs1_in_ag(.(T26, .(T27, T28)), T8) → U44_ag(T26, T27, T28, T8, gt10_in_aa(T26, T27))
gt10_in_aa(s(T46), s(T47)) → U1_aa(T46, T47, gt10_in_aa(T46, T47))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U1_aa(T46, T47, gt10_out_aa(T46, T47)) → gt10_out_aa(s(T46), s(T47))
U44_ag(T26, T27, T28, T8, gt10_out_aa(T26, T27)) → qs1_out_ag(.(T26, .(T27, T28)), T8)
qs1_in_ag(.(T31, .(T33, T32)), T8) → U45_ag(T31, T33, T32, T8, gt10_in_aa(T31, T33))
U45_ag(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U46_ag(T31, T33, T32, T8, part20_in_gaaa(T31, T32, X47, X48))
part20_in_gaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_gaaa(T70, T73, T74, X119, X120, gt10_in_ga(T70, T73))
gt10_in_ga(s(T46), s(T47)) → U1_ga(T46, T47, gt10_in_ga(T46, T47))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U1_ga(T46, T47, gt10_out_ga(T46, T47)) → gt10_out_ga(s(T46), s(T47))
U2_gaaa(T70, T73, T74, X119, X120, gt10_out_ga(T70, T73)) → part20_out_gaaa(T70, .(T73, T74), .(T73, X119), X120)
part20_in_gaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_gaaa(T70, T73, T77, X119, X120, gt10_in_ga(T70, T73))
U3_gaaa(T70, T73, T77, X119, X120, gt10_out_ga(T70, T73)) → U4_gaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
part20_in_gaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_gaaa(T95, T98, T99, X170, X171, le33_in_ga(T95, T98))
le33_in_ga(s(T113), s(T115)) → U8_ga(T113, T115, le33_in_ga(T113, T115))
le33_in_ga(0, s(T122)) → le33_out_ga(0, s(T122))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U8_ga(T113, T115, le33_out_ga(T113, T115)) → le33_out_ga(s(T113), s(T115))
U5_gaaa(T95, T98, T99, X170, X171, le33_out_ga(T95, T98)) → part20_out_gaaa(T95, .(T98, T99), X170, .(T98, X171))
part20_in_gaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_gaaa(T95, T98, T102, X170, X171, le33_in_ga(T95, T98))
U6_gaaa(T95, T98, T102, X170, X171, le33_out_ga(T95, T98)) → U7_gaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
part20_in_gaaa(T128, [], [], []) → part20_out_gaaa(T128, [], [], [])
U7_gaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_gaaa(T95, .(T98, T102), X170, .(T98, X171))
U4_gaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_gaaa(T70, .(T73, T77), .(T73, X119), X120)
U46_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, X47, X48)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
U45_ag(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U47_ag(T31, T33, T32, T8, part20_in_gaaa(T31, T32, T53, T54))
U47_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U48_ag(T31, T33, T32, T8, qs51_in_gaa(T33, T53, X9))
qs51_in_gaa(T148, T149, X273) → U37_gaa(T148, T149, X273, p56_in_gaaaaaa(T148, T149, X269, X270, X271, X272, X273))
p56_in_gaaaaaa(T148, T149, X269, X270, X271, X272, X273) → U9_gaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_in_gaaa(T148, T149, X269, X270))
U9_gaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_out_gaaa(T148, T149, X269, X270)) → p56_out_gaaaaaa(T148, T149, X269, X270, X271, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, X271, X272, X273) → U10_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U10_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U11_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
qs59_in_aa(.(T171, T172), X335) → U19_aa(T171, T172, X335, p56_in_aaaaaaa(T171, T172, X331, X332, X333, X334, X335))
p56_in_aaaaaaa(T148, T149, X269, X270, X271, X272, X273) → U9_aaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_in_aaaa(T148, T149, X269, X270))
part20_in_aaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_aaaa(T70, T73, T74, X119, X120, gt10_in_aa(T70, T73))
U2_aaaa(T70, T73, T74, X119, X120, gt10_out_aa(T70, T73)) → part20_out_aaaa(T70, .(T73, T74), .(T73, X119), X120)
part20_in_aaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_aaaa(T70, T73, T77, X119, X120, gt10_in_aa(T70, T73))
U3_aaaa(T70, T73, T77, X119, X120, gt10_out_aa(T70, T73)) → U4_aaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
U4_aaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_aaaa(T70, .(T73, T77), .(T73, X119), X120)
part20_in_aaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_aaaa(T95, T98, T99, X170, X171, le33_in_aa(T95, T98))
le33_in_aa(s(T113), s(T115)) → U8_aa(T113, T115, le33_in_aa(T113, T115))
le33_in_aa(0, s(T122)) → le33_out_aa(0, s(T122))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U8_aa(T113, T115, le33_out_aa(T113, T115)) → le33_out_aa(s(T113), s(T115))
U5_aaaa(T95, T98, T99, X170, X171, le33_out_aa(T95, T98)) → part20_out_aaaa(T95, .(T98, T99), X170, .(T98, X171))
part20_in_aaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_aaaa(T95, T98, T102, X170, X171, le33_in_aa(T95, T98))
U6_aaaa(T95, T98, T102, X170, X171, le33_out_aa(T95, T98)) → U7_aaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
U7_aaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_aaaa(T95, .(T98, T102), X170, .(T98, X171))
part20_in_aaaa(T128, [], [], []) → part20_out_aaaa(T128, [], [], [])
U9_aaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_out_aaaa(T148, T149, X269, X270)) → p56_out_aaaaaaa(T148, T149, X269, X270, X271, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, X271, X272, X273) → U10_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U10_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U11_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
qs59_in_aa([], []) → qs59_out_aa([], [])
U11_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_out_aa(T153, X271)) → p56_out_aaaaaaa(T148, T149, T153, T154, X271, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, T160, X272, X273) → U12_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U12_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U13_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U13_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U14_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T154, X272)) → p56_out_aaaaaaa(T148, T149, T153, T154, T160, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, T160, T178, X273) → U15_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_in_aaaa(T148, T149, T153, T154))
U15_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_out_aaaa(T148, T149, T153, T154)) → U16_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U16_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U17_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_in_aaaa(T160, T148, T178, X273))
app70_in_aaaa(.(T201, T202), T203, T204, .(T201, X391)) → U20_aaaa(T201, T202, T203, T204, X391, app70_in_aaaa(T202, T203, T204, X391))
app70_in_aaaa([], T213, T214, .(T213, T214)) → app70_out_aaaa([], T213, T214, .(T213, T214))
U20_aaaa(T201, T202, T203, T204, X391, app70_out_aaaa(T202, T203, T204, X391)) → app70_out_aaaa(.(T201, T202), T203, T204, .(T201, X391))
U18_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_out_aaaa(T160, T148, T178, X273)) → p56_out_aaaaaaa(T148, T149, T153, T154, T160, T178, X273)
U19_aa(T171, T172, X335, p56_out_aaaaaaa(T171, T172, X331, X332, X333, X334, X335)) → qs59_out_aa(.(T171, T172), X335)
U11_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_out_aa(T153, X271)) → p56_out_gaaaaaa(T148, T149, T153, T154, X271, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, T160, X272, X273) → U12_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U12_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U13_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U13_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U14_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T154, X272)) → p56_out_gaaaaaa(T148, T149, T153, T154, T160, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, T160, T178, X273) → U15_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_in_gaaa(T148, T149, T153, T154))
U15_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_out_gaaa(T148, T149, T153, T154)) → U16_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U16_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U17_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_in_agaa(T160, T148, T178, X273))
app70_in_agaa(.(T201, T202), T203, T204, .(T201, X391)) → U20_agaa(T201, T202, T203, T204, X391, app70_in_agaa(T202, T203, T204, X391))
app70_in_agaa([], T213, T214, .(T213, T214)) → app70_out_agaa([], T213, T214, .(T213, T214))
U20_agaa(T201, T202, T203, T204, X391, app70_out_agaa(T202, T203, T204, X391)) → app70_out_agaa(.(T201, T202), T203, T204, .(T201, X391))
U18_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_out_agaa(T160, T148, T178, X273)) → p56_out_gaaaaaa(T148, T149, T153, T154, T160, T178, X273)
U37_gaa(T148, T149, X273, p56_out_gaaaaaa(T148, T149, X269, X270, X271, X272, X273)) → qs51_out_gaa(T148, T149, X273)
U48_ag(T31, T33, T32, T8, qs51_out_gaa(T33, T53, X9)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
U47_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U49_ag(T31, T33, T32, T8, T54, qs51_in_gaa(T33, T53, T131))
U49_ag(T31, T33, T32, T8, T54, qs51_out_gaa(T33, T53, T131)) → U50_ag(T31, T33, T32, T8, p52_in_aaagg(T54, X10, T131, T31, T8))
p52_in_aaagg(T54, X10, T131, T31, T8) → U33_aaagg(T54, X10, T131, T31, T8, qs80_in_aa(T54, X10))
qs80_in_aa(.(T230, T231), X452) → U22_aa(T230, T231, X452, part87_in_aaaa(T230, T231, X448, X449))
part87_in_aaaa(T256, .(T257, T258), .(T257, X503), X504) → U38_aaaa(T256, T257, T258, X503, X504, gt10_in_aa(T256, T257))
U38_aaaa(T256, T257, T258, X503, X504, gt10_out_aa(T256, T257)) → part87_out_aaaa(T256, .(T257, T258), .(T257, X503), X504)
part87_in_aaaa(T261, .(T257, T262), .(T257, X503), X504) → U39_aaaa(T261, T257, T262, X503, X504, gt10_in_aa(T261, T257))
U39_aaaa(T261, T257, T262, X503, X504, gt10_out_aa(T261, T257)) → U40_aaaa(T261, T257, T262, X503, X504, part20_in_gaaa(T261, T262, X503, X504))
U40_aaaa(T261, T257, T262, X503, X504, part20_out_gaaa(T261, T262, X503, X504)) → part87_out_aaaa(T261, .(T257, T262), .(T257, X503), X504)
part87_in_aaaa(T283, .(T284, T285), X554, .(T284, X555)) → U41_aaaa(T283, T284, T285, X554, X555, le100_in_aa(T283, T284))
le100_in_aa(s(T302), s(T303)) → U21_aa(T302, T303, le100_in_aa(T302, T303))
le100_in_aa(0, s(T310)) → le100_out_aa(0, s(T310))
le100_in_aa(0, 0) → le100_out_aa(0, 0)
U21_aa(T302, T303, le100_out_aa(T302, T303)) → le100_out_aa(s(T302), s(T303))
U41_aaaa(T283, T284, T285, X554, X555, le100_out_aa(T283, T284)) → part87_out_aaaa(T283, .(T284, T285), X554, .(T284, X555))
part87_in_aaaa(T288, .(T284, T289), X554, .(T284, X555)) → U42_aaaa(T288, T284, T289, X554, X555, le100_in_aa(T288, T284))
U42_aaaa(T288, T284, T289, X554, X555, le100_out_aa(T288, T284)) → U43_aaaa(T288, T284, T289, X554, X555, part20_in_gaaa(T288, T289, X554, X555))
U43_aaaa(T288, T284, T289, X554, X555, part20_out_gaaa(T288, T289, X554, X555)) → part87_out_aaaa(T288, .(T284, T289), X554, .(T284, X555))
part87_in_aaaa(T316, [], [], []) → part87_out_aaaa(T316, [], [], [])
U22_aa(T230, T231, X452, part87_out_aaaa(T230, T231, X448, X449)) → qs80_out_aa(.(T230, T231), X452)
qs80_in_aa(.(T237, T231), X452) → U23_aa(T237, T231, X452, part87_in_aaaa(T237, T231, T235, T236))
U23_aa(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U24_aa(T237, T231, X452, qs80_in_aa(T235, X450))
qs80_in_aa(.(T325, T231), X452) → U27_aa(T325, T231, X452, part87_in_aaaa(T325, T231, T235, T236))
U27_aa(T325, T231, X452, part87_out_aaaa(T325, T231, T235, T236)) → U28_aa(T325, T231, X452, T236, qs80_in_aa(T235, T319))
qs80_in_aa([], []) → qs80_out_aa([], [])
U28_aa(T325, T231, X452, T236, qs80_out_aa(T235, T319)) → U29_aa(T325, T231, X452, T319, qs80_in_aa(T236, T324))
U29_aa(T325, T231, X452, T319, qs80_out_aa(T236, T324)) → U30_aa(T325, T231, X452, app121_in_aaaa(T319, T325, T324, X452))
app121_in_aaaa(.(T348, T349), T352, T353, .(T348, X657)) → U31_aaaa(T348, T349, T352, T353, X657, app121_in_aaaa(T349, T352, T353, X657))
app121_in_aaaa([], T362, T363, .(T362, T363)) → app121_out_aaaa([], T362, T363, .(T362, T363))
U31_aaaa(T348, T349, T352, T353, X657, app121_out_aaaa(T349, T352, T353, X657)) → app121_out_aaaa(.(T348, T349), T352, T353, .(T348, X657))
U30_aa(T325, T231, X452, app121_out_aaaa(T319, T325, T324, X452)) → qs80_out_aa(.(T325, T231), X452)
U24_aa(T237, T231, X452, qs80_out_aa(T235, X450)) → qs80_out_aa(.(T237, T231), X452)
U23_aa(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U25_aa(T237, T231, X452, T236, qs80_in_aa(T235, T319))
U25_aa(T237, T231, X452, T236, qs80_out_aa(T235, T319)) → U26_aa(T237, T231, X452, qs80_in_aa(T236, X451))
U26_aa(T237, T231, X452, qs80_out_aa(T236, X451)) → qs80_out_aa(.(T237, T231), X452)
U33_aaagg(T54, X10, T131, T31, T8, qs80_out_aa(T54, X10)) → p52_out_aaagg(T54, X10, T131, T31, T8)
p52_in_aaagg(T54, T217, T131, T31, T8) → U34_aaagg(T54, T217, T131, T31, T8, qs80_in_aa(T54, T217))
U34_aaagg(T54, T217, T131, T31, T8, qs80_out_aa(T54, T217)) → U35_aaagg(T54, T217, T131, T31, T8, app81_in_agag(T131, T31, T217, T8))
app81_in_agag(.(T389, T390), T391, T394, .(T389, T393)) → U32_agag(T389, T390, T391, T394, T393, app81_in_agag(T390, T391, T394, T393))
app81_in_agag([], T404, T405, .(T404, T405)) → app81_out_agag([], T404, T405, .(T404, T405))
U32_agag(T389, T390, T391, T394, T393, app81_out_agag(T390, T391, T394, T393)) → app81_out_agag(.(T389, T390), T391, T394, .(T389, T393))
U35_aaagg(T54, T217, T131, T31, T8, app81_out_agag(T131, T31, T217, T8)) → p52_out_aaagg(T54, T217, T131, T31, T8)
U50_ag(T31, T33, T32, T8, p52_out_aaagg(T54, X10, T131, T31, T8)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
qs1_in_ag(.(T421, .(T422, T423)), T8) → U51_ag(T421, T422, T423, T8, le100_in_aa(T421, T422))
U51_ag(T421, T422, T423, T8, le100_out_aa(T421, T422)) → qs1_out_ag(.(T421, .(T422, T423)), T8)
qs1_in_ag(.(T426, .(T428, T427)), T8) → U52_ag(T426, T428, T427, T8, le100_in_aa(T426, T428))
U52_ag(T426, T428, T427, T8, le100_out_aa(T426, T428)) → U53_ag(T426, T428, T427, T8, part20_in_gaaa(T426, T427, X740, X741))
U53_ag(T426, T428, T427, T8, part20_out_gaaa(T426, T427, X740, X741)) → qs1_out_ag(.(T426, .(T428, T427)), T8)
qs1_in_ag(.(T426, .(T436, T427)), T8) → U54_ag(T426, T436, T427, T8, le100_in_aa(T426, T436))
U54_ag(T426, T436, T427, T8, le100_out_aa(T426, T436)) → U55_ag(T426, T436, T427, T8, part20_in_gaaa(T426, T427, T434, T435))
U55_ag(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U56_ag(T426, T436, T427, T8, qs80_in_aa(T434, X9))
U56_ag(T426, T436, T427, T8, qs80_out_aa(T434, X9)) → qs1_out_ag(.(T426, .(T436, T427)), T8)
U55_ag(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U57_ag(T426, T436, T427, T8, T435, qs80_in_aa(T434, T442))
U57_ag(T426, T436, T427, T8, T435, qs80_out_aa(T434, T442)) → U58_ag(T426, T436, T427, T8, p52_in_aaagg(.(T436, T435), X10, T442, T426, T8))
U58_ag(T426, T436, T427, T8, p52_out_aaagg(.(T436, T435), X10, T442, T426, T8)) → qs1_out_ag(.(T426, .(T436, T427)), T8)
qs1_in_ag(.(T452, []), T8) → U59_ag(T452, T8, qs155_in_a(X9))
qs155_in_a([]) → qs155_out_a([])
U59_ag(T452, T8, qs155_out_a(X9)) → qs1_out_ag(.(T452, []), T8)
qs1_in_ag(.(T452, []), T8) → U60_ag(T452, T8, qs155_in_a(T455))
U60_ag(T452, T8, qs155_out_a(T455)) → U61_ag(T452, T8, qs155_in_a(X10))
U61_ag(T452, T8, qs155_out_a(X10)) → qs1_out_ag(.(T452, []), T8)
U60_ag(T452, T8, qs155_out_a(T455)) → U62_ag(T452, T8, T455, qs155_in_a(T460))
U62_ag(T452, T8, T455, qs155_out_a(T460)) → U63_ag(T452, T8, app162_in_gagg(T455, T452, T460, T8))
app162_in_gagg(.(T486, T487), T491, T489, .(T486, T490)) → U36_gagg(T486, T487, T491, T489, T490, app162_in_gagg(T487, T491, T489, T490))
app162_in_gagg([], T501, T502, .(T501, T502)) → app162_out_gagg([], T501, T502, .(T501, T502))
U36_gagg(T486, T487, T491, T489, T490, app162_out_gagg(T487, T491, T489, T490)) → app162_out_gagg(.(T486, T487), T491, T489, .(T486, T490))
U63_ag(T452, T8, app162_out_gagg(T455, T452, T460, T8)) → qs1_out_ag(.(T452, []), T8)
qs1_in_ag([], []) → qs1_out_ag([], [])

The argument filtering Pi contains the following mapping:
qs1_in_ag(x1, x2)  =  qs1_in_ag(x2)
U44_ag(x1, x2, x3, x4, x5)  =  U44_ag(x4, x5)
gt10_in_aa(x1, x2)  =  gt10_in_aa
U1_aa(x1, x2, x3)  =  U1_aa(x3)
gt10_out_aa(x1, x2)  =  gt10_out_aa(x1, x2)
qs1_out_ag(x1, x2)  =  qs1_out_ag(x2)
U45_ag(x1, x2, x3, x4, x5)  =  U45_ag(x4, x5)
U46_ag(x1, x2, x3, x4, x5)  =  U46_ag(x4, x5)
part20_in_gaaa(x1, x2, x3, x4)  =  part20_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x1, x6)
gt10_in_ga(x1, x2)  =  gt10_in_ga(x1)
s(x1)  =  s(x1)
U1_ga(x1, x2, x3)  =  U1_ga(x1, x3)
0  =  0
gt10_out_ga(x1, x2)  =  gt10_out_ga(x1, x2)
part20_out_gaaa(x1, x2, x3, x4)  =  part20_out_gaaa(x1)
U3_gaaa(x1, x2, x3, x4, x5, x6)  =  U3_gaaa(x1, x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x1, x6)
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x1, x6)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U8_ga(x1, x2, x3)  =  U8_ga(x1, x3)
le33_out_ga(x1, x2)  =  le33_out_ga(x1)
U6_gaaa(x1, x2, x3, x4, x5, x6)  =  U6_gaaa(x1, x6)
U7_gaaa(x1, x2, x3, x4, x5, x6)  =  U7_gaaa(x1, x6)
U47_ag(x1, x2, x3, x4, x5)  =  U47_ag(x1, x2, x4, x5)
U48_ag(x1, x2, x3, x4, x5)  =  U48_ag(x4, x5)
qs51_in_gaa(x1, x2, x3)  =  qs51_in_gaa(x1)
U37_gaa(x1, x2, x3, x4)  =  U37_gaa(x1, x4)
p56_in_gaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_in_gaaaaaa(x1)
U9_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_gaaaaaa(x1, x8)
p56_out_gaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_out_gaaaaaa(x1)
U10_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_gaaaaaa(x1, x8)
U11_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_gaaaaaa(x1, x8)
qs59_in_aa(x1, x2)  =  qs59_in_aa
U19_aa(x1, x2, x3, x4)  =  U19_aa(x4)
p56_in_aaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_in_aaaaaaa
U9_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_aaaaaaa(x8)
part20_in_aaaa(x1, x2, x3, x4)  =  part20_in_aaaa
U2_aaaa(x1, x2, x3, x4, x5, x6)  =  U2_aaaa(x6)
part20_out_aaaa(x1, x2, x3, x4)  =  part20_out_aaaa
U3_aaaa(x1, x2, x3, x4, x5, x6)  =  U3_aaaa(x6)
U4_aaaa(x1, x2, x3, x4, x5, x6)  =  U4_aaaa(x6)
U5_aaaa(x1, x2, x3, x4, x5, x6)  =  U5_aaaa(x6)
le33_in_aa(x1, x2)  =  le33_in_aa
U8_aa(x1, x2, x3)  =  U8_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
U6_aaaa(x1, x2, x3, x4, x5, x6)  =  U6_aaaa(x6)
U7_aaaa(x1, x2, x3, x4, x5, x6)  =  U7_aaaa(x6)
p56_out_aaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_out_aaaaaaa
U10_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_aaaaaaa(x8)
U11_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_aaaaaaa(x8)
qs59_out_aa(x1, x2)  =  qs59_out_aa
U12_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_aaaaaaa(x8)
U13_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_aaaaaaa(x8)
U14_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_aaaaaaa(x8)
U15_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_aaaaaaa(x8)
U16_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_aaaaaaa(x8)
U17_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_aaaaaaa(x8)
U18_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_aaaaaaa(x8)
.(x1, x2)  =  .(x1, x2)
[]  =  []
app70_in_aaaa(x1, x2, x3, x4)  =  app70_in_aaaa
U20_aaaa(x1, x2, x3, x4, x5, x6)  =  U20_aaaa(x6)
app70_out_aaaa(x1, x2, x3, x4)  =  app70_out_aaaa
U12_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_gaaaaaa(x1, x8)
U13_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_gaaaaaa(x1, x8)
U14_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_gaaaaaa(x1, x8)
U15_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_gaaaaaa(x1, x8)
U16_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_gaaaaaa(x1, x8)
U17_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_gaaaaaa(x1, x8)
U18_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_gaaaaaa(x1, x8)
app70_in_agaa(x1, x2, x3, x4)  =  app70_in_agaa(x2)
U20_agaa(x1, x2, x3, x4, x5, x6)  =  U20_agaa(x3, x6)
app70_out_agaa(x1, x2, x3, x4)  =  app70_out_agaa(x2)
qs51_out_gaa(x1, x2, x3)  =  qs51_out_gaa(x1)
U49_ag(x1, x2, x3, x4, x5, x6)  =  U49_ag(x1, x4, x6)
U50_ag(x1, x2, x3, x4, x5)  =  U50_ag(x4, x5)
p52_in_aaagg(x1, x2, x3, x4, x5)  =  p52_in_aaagg(x4, x5)
U33_aaagg(x1, x2, x3, x4, x5, x6)  =  U33_aaagg(x4, x5, x6)
qs80_in_aa(x1, x2)  =  qs80_in_aa
U22_aa(x1, x2, x3, x4)  =  U22_aa(x4)
part87_in_aaaa(x1, x2, x3, x4)  =  part87_in_aaaa
U38_aaaa(x1, x2, x3, x4, x5, x6)  =  U38_aaaa(x6)
part87_out_aaaa(x1, x2, x3, x4)  =  part87_out_aaaa
U39_aaaa(x1, x2, x3, x4, x5, x6)  =  U39_aaaa(x6)
U40_aaaa(x1, x2, x3, x4, x5, x6)  =  U40_aaaa(x6)
U41_aaaa(x1, x2, x3, x4, x5, x6)  =  U41_aaaa(x6)
le100_in_aa(x1, x2)  =  le100_in_aa
U21_aa(x1, x2, x3)  =  U21_aa(x3)
le100_out_aa(x1, x2)  =  le100_out_aa(x1)
U42_aaaa(x1, x2, x3, x4, x5, x6)  =  U42_aaaa(x6)
U43_aaaa(x1, x2, x3, x4, x5, x6)  =  U43_aaaa(x6)
qs80_out_aa(x1, x2)  =  qs80_out_aa
U23_aa(x1, x2, x3, x4)  =  U23_aa(x4)
U24_aa(x1, x2, x3, x4)  =  U24_aa(x4)
U27_aa(x1, x2, x3, x4)  =  U27_aa(x4)
U28_aa(x1, x2, x3, x4, x5)  =  U28_aa(x5)
U29_aa(x1, x2, x3, x4, x5)  =  U29_aa(x5)
U30_aa(x1, x2, x3, x4)  =  U30_aa(x4)
app121_in_aaaa(x1, x2, x3, x4)  =  app121_in_aaaa
U31_aaaa(x1, x2, x3, x4, x5, x6)  =  U31_aaaa(x6)
app121_out_aaaa(x1, x2, x3, x4)  =  app121_out_aaaa
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
U26_aa(x1, x2, x3, x4)  =  U26_aa(x4)
p52_out_aaagg(x1, x2, x3, x4, x5)  =  p52_out_aaagg(x4, x5)
U34_aaagg(x1, x2, x3, x4, x5, x6)  =  U34_aaagg(x4, x5, x6)
U35_aaagg(x1, x2, x3, x4, x5, x6)  =  U35_aaagg(x4, x5, x6)
app81_in_agag(x1, x2, x3, x4)  =  app81_in_agag(x2, x4)
U32_agag(x1, x2, x3, x4, x5, x6)  =  U32_agag(x1, x3, x5, x6)
app81_out_agag(x1, x2, x3, x4)  =  app81_out_agag(x1, x2, x3, x4)
U51_ag(x1, x2, x3, x4, x5)  =  U51_ag(x4, x5)
U52_ag(x1, x2, x3, x4, x5)  =  U52_ag(x4, x5)
U53_ag(x1, x2, x3, x4, x5)  =  U53_ag(x4, x5)
U54_ag(x1, x2, x3, x4, x5)  =  U54_ag(x4, x5)
U55_ag(x1, x2, x3, x4, x5)  =  U55_ag(x1, x4, x5)
U56_ag(x1, x2, x3, x4, x5)  =  U56_ag(x4, x5)
U57_ag(x1, x2, x3, x4, x5, x6)  =  U57_ag(x1, x4, x6)
U58_ag(x1, x2, x3, x4, x5)  =  U58_ag(x4, x5)
U59_ag(x1, x2, x3)  =  U59_ag(x2, x3)
qs155_in_a(x1)  =  qs155_in_a
qs155_out_a(x1)  =  qs155_out_a(x1)
U60_ag(x1, x2, x3)  =  U60_ag(x2, x3)
U61_ag(x1, x2, x3)  =  U61_ag(x2, x3)
U62_ag(x1, x2, x3, x4)  =  U62_ag(x2, x3, x4)
U63_ag(x1, x2, x3)  =  U63_ag(x2, x3)
app162_in_gagg(x1, x2, x3, x4)  =  app162_in_gagg(x1, x3, x4)
U36_gagg(x1, x2, x3, x4, x5, x6)  =  U36_gagg(x1, x2, x4, x5, x6)
app162_out_gagg(x1, x2, x3, x4)  =  app162_out_gagg(x1, x2, x3, x4)
GT10_IN_GA(x1, x2)  =  GT10_IN_GA(x1)

We have to consider all (P,R,Pi)-chains

(66) UsableRulesProof (EQUIVALENT transformation)

For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R.

(67) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

GT10_IN_GA(s(T46), s(T47)) → GT10_IN_GA(T46, T47)

R is empty.
The argument filtering Pi contains the following mapping:
s(x1)  =  s(x1)
GT10_IN_GA(x1, x2)  =  GT10_IN_GA(x1)

We have to consider all (P,R,Pi)-chains

(68) PiDPToQDPProof (SOUND transformation)

Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi.

(69) Obligation:

Q DP problem:
The TRS P consists of the following rules:

GT10_IN_GA(s(T46)) → GT10_IN_GA(T46)

R is empty.
Q is empty.
We have to consider all (P,Q,R)-chains.

(70) QDPSizeChangeProof (EQUIVALENT transformation)

By using the subterm criterion [SUBTERM_CRITERION] together with the size-change analysis [AAECC05] we have proven that there are no infinite chains for this DP problem.

From the DPs we obtained the following set of size-change graphs:

  • GT10_IN_GA(s(T46)) → GT10_IN_GA(T46)
    The graph contains the following edges 1 > 1

(71) YES

(72) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

PART20_IN_GAAA(T70, .(T73, T77), .(T73, X119), X120) → U3_GAAA(T70, T73, T77, X119, X120, gt10_in_ga(T70, T73))
U3_GAAA(T70, T73, T77, X119, X120, gt10_out_ga(T70, T73)) → PART20_IN_GAAA(T70, T77, X119, X120)
PART20_IN_GAAA(T95, .(T98, T102), X170, .(T98, X171)) → U6_GAAA(T95, T98, T102, X170, X171, le33_in_ga(T95, T98))
U6_GAAA(T95, T98, T102, X170, X171, le33_out_ga(T95, T98)) → PART20_IN_GAAA(T95, T102, X170, X171)

The TRS R consists of the following rules:

qs1_in_ag(.(T26, .(T27, T28)), T8) → U44_ag(T26, T27, T28, T8, gt10_in_aa(T26, T27))
gt10_in_aa(s(T46), s(T47)) → U1_aa(T46, T47, gt10_in_aa(T46, T47))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U1_aa(T46, T47, gt10_out_aa(T46, T47)) → gt10_out_aa(s(T46), s(T47))
U44_ag(T26, T27, T28, T8, gt10_out_aa(T26, T27)) → qs1_out_ag(.(T26, .(T27, T28)), T8)
qs1_in_ag(.(T31, .(T33, T32)), T8) → U45_ag(T31, T33, T32, T8, gt10_in_aa(T31, T33))
U45_ag(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U46_ag(T31, T33, T32, T8, part20_in_gaaa(T31, T32, X47, X48))
part20_in_gaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_gaaa(T70, T73, T74, X119, X120, gt10_in_ga(T70, T73))
gt10_in_ga(s(T46), s(T47)) → U1_ga(T46, T47, gt10_in_ga(T46, T47))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U1_ga(T46, T47, gt10_out_ga(T46, T47)) → gt10_out_ga(s(T46), s(T47))
U2_gaaa(T70, T73, T74, X119, X120, gt10_out_ga(T70, T73)) → part20_out_gaaa(T70, .(T73, T74), .(T73, X119), X120)
part20_in_gaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_gaaa(T70, T73, T77, X119, X120, gt10_in_ga(T70, T73))
U3_gaaa(T70, T73, T77, X119, X120, gt10_out_ga(T70, T73)) → U4_gaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
part20_in_gaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_gaaa(T95, T98, T99, X170, X171, le33_in_ga(T95, T98))
le33_in_ga(s(T113), s(T115)) → U8_ga(T113, T115, le33_in_ga(T113, T115))
le33_in_ga(0, s(T122)) → le33_out_ga(0, s(T122))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U8_ga(T113, T115, le33_out_ga(T113, T115)) → le33_out_ga(s(T113), s(T115))
U5_gaaa(T95, T98, T99, X170, X171, le33_out_ga(T95, T98)) → part20_out_gaaa(T95, .(T98, T99), X170, .(T98, X171))
part20_in_gaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_gaaa(T95, T98, T102, X170, X171, le33_in_ga(T95, T98))
U6_gaaa(T95, T98, T102, X170, X171, le33_out_ga(T95, T98)) → U7_gaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
part20_in_gaaa(T128, [], [], []) → part20_out_gaaa(T128, [], [], [])
U7_gaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_gaaa(T95, .(T98, T102), X170, .(T98, X171))
U4_gaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_gaaa(T70, .(T73, T77), .(T73, X119), X120)
U46_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, X47, X48)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
U45_ag(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U47_ag(T31, T33, T32, T8, part20_in_gaaa(T31, T32, T53, T54))
U47_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U48_ag(T31, T33, T32, T8, qs51_in_gaa(T33, T53, X9))
qs51_in_gaa(T148, T149, X273) → U37_gaa(T148, T149, X273, p56_in_gaaaaaa(T148, T149, X269, X270, X271, X272, X273))
p56_in_gaaaaaa(T148, T149, X269, X270, X271, X272, X273) → U9_gaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_in_gaaa(T148, T149, X269, X270))
U9_gaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_out_gaaa(T148, T149, X269, X270)) → p56_out_gaaaaaa(T148, T149, X269, X270, X271, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, X271, X272, X273) → U10_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U10_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U11_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
qs59_in_aa(.(T171, T172), X335) → U19_aa(T171, T172, X335, p56_in_aaaaaaa(T171, T172, X331, X332, X333, X334, X335))
p56_in_aaaaaaa(T148, T149, X269, X270, X271, X272, X273) → U9_aaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_in_aaaa(T148, T149, X269, X270))
part20_in_aaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_aaaa(T70, T73, T74, X119, X120, gt10_in_aa(T70, T73))
U2_aaaa(T70, T73, T74, X119, X120, gt10_out_aa(T70, T73)) → part20_out_aaaa(T70, .(T73, T74), .(T73, X119), X120)
part20_in_aaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_aaaa(T70, T73, T77, X119, X120, gt10_in_aa(T70, T73))
U3_aaaa(T70, T73, T77, X119, X120, gt10_out_aa(T70, T73)) → U4_aaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
U4_aaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_aaaa(T70, .(T73, T77), .(T73, X119), X120)
part20_in_aaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_aaaa(T95, T98, T99, X170, X171, le33_in_aa(T95, T98))
le33_in_aa(s(T113), s(T115)) → U8_aa(T113, T115, le33_in_aa(T113, T115))
le33_in_aa(0, s(T122)) → le33_out_aa(0, s(T122))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U8_aa(T113, T115, le33_out_aa(T113, T115)) → le33_out_aa(s(T113), s(T115))
U5_aaaa(T95, T98, T99, X170, X171, le33_out_aa(T95, T98)) → part20_out_aaaa(T95, .(T98, T99), X170, .(T98, X171))
part20_in_aaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_aaaa(T95, T98, T102, X170, X171, le33_in_aa(T95, T98))
U6_aaaa(T95, T98, T102, X170, X171, le33_out_aa(T95, T98)) → U7_aaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
U7_aaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_aaaa(T95, .(T98, T102), X170, .(T98, X171))
part20_in_aaaa(T128, [], [], []) → part20_out_aaaa(T128, [], [], [])
U9_aaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_out_aaaa(T148, T149, X269, X270)) → p56_out_aaaaaaa(T148, T149, X269, X270, X271, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, X271, X272, X273) → U10_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U10_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U11_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
qs59_in_aa([], []) → qs59_out_aa([], [])
U11_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_out_aa(T153, X271)) → p56_out_aaaaaaa(T148, T149, T153, T154, X271, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, T160, X272, X273) → U12_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U12_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U13_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U13_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U14_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T154, X272)) → p56_out_aaaaaaa(T148, T149, T153, T154, T160, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, T160, T178, X273) → U15_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_in_aaaa(T148, T149, T153, T154))
U15_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_out_aaaa(T148, T149, T153, T154)) → U16_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U16_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U17_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_in_aaaa(T160, T148, T178, X273))
app70_in_aaaa(.(T201, T202), T203, T204, .(T201, X391)) → U20_aaaa(T201, T202, T203, T204, X391, app70_in_aaaa(T202, T203, T204, X391))
app70_in_aaaa([], T213, T214, .(T213, T214)) → app70_out_aaaa([], T213, T214, .(T213, T214))
U20_aaaa(T201, T202, T203, T204, X391, app70_out_aaaa(T202, T203, T204, X391)) → app70_out_aaaa(.(T201, T202), T203, T204, .(T201, X391))
U18_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_out_aaaa(T160, T148, T178, X273)) → p56_out_aaaaaaa(T148, T149, T153, T154, T160, T178, X273)
U19_aa(T171, T172, X335, p56_out_aaaaaaa(T171, T172, X331, X332, X333, X334, X335)) → qs59_out_aa(.(T171, T172), X335)
U11_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_out_aa(T153, X271)) → p56_out_gaaaaaa(T148, T149, T153, T154, X271, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, T160, X272, X273) → U12_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U12_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U13_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U13_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U14_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T154, X272)) → p56_out_gaaaaaa(T148, T149, T153, T154, T160, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, T160, T178, X273) → U15_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_in_gaaa(T148, T149, T153, T154))
U15_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_out_gaaa(T148, T149, T153, T154)) → U16_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U16_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U17_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_in_agaa(T160, T148, T178, X273))
app70_in_agaa(.(T201, T202), T203, T204, .(T201, X391)) → U20_agaa(T201, T202, T203, T204, X391, app70_in_agaa(T202, T203, T204, X391))
app70_in_agaa([], T213, T214, .(T213, T214)) → app70_out_agaa([], T213, T214, .(T213, T214))
U20_agaa(T201, T202, T203, T204, X391, app70_out_agaa(T202, T203, T204, X391)) → app70_out_agaa(.(T201, T202), T203, T204, .(T201, X391))
U18_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_out_agaa(T160, T148, T178, X273)) → p56_out_gaaaaaa(T148, T149, T153, T154, T160, T178, X273)
U37_gaa(T148, T149, X273, p56_out_gaaaaaa(T148, T149, X269, X270, X271, X272, X273)) → qs51_out_gaa(T148, T149, X273)
U48_ag(T31, T33, T32, T8, qs51_out_gaa(T33, T53, X9)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
U47_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U49_ag(T31, T33, T32, T8, T54, qs51_in_gaa(T33, T53, T131))
U49_ag(T31, T33, T32, T8, T54, qs51_out_gaa(T33, T53, T131)) → U50_ag(T31, T33, T32, T8, p52_in_aaagg(T54, X10, T131, T31, T8))
p52_in_aaagg(T54, X10, T131, T31, T8) → U33_aaagg(T54, X10, T131, T31, T8, qs80_in_aa(T54, X10))
qs80_in_aa(.(T230, T231), X452) → U22_aa(T230, T231, X452, part87_in_aaaa(T230, T231, X448, X449))
part87_in_aaaa(T256, .(T257, T258), .(T257, X503), X504) → U38_aaaa(T256, T257, T258, X503, X504, gt10_in_aa(T256, T257))
U38_aaaa(T256, T257, T258, X503, X504, gt10_out_aa(T256, T257)) → part87_out_aaaa(T256, .(T257, T258), .(T257, X503), X504)
part87_in_aaaa(T261, .(T257, T262), .(T257, X503), X504) → U39_aaaa(T261, T257, T262, X503, X504, gt10_in_aa(T261, T257))
U39_aaaa(T261, T257, T262, X503, X504, gt10_out_aa(T261, T257)) → U40_aaaa(T261, T257, T262, X503, X504, part20_in_gaaa(T261, T262, X503, X504))
U40_aaaa(T261, T257, T262, X503, X504, part20_out_gaaa(T261, T262, X503, X504)) → part87_out_aaaa(T261, .(T257, T262), .(T257, X503), X504)
part87_in_aaaa(T283, .(T284, T285), X554, .(T284, X555)) → U41_aaaa(T283, T284, T285, X554, X555, le100_in_aa(T283, T284))
le100_in_aa(s(T302), s(T303)) → U21_aa(T302, T303, le100_in_aa(T302, T303))
le100_in_aa(0, s(T310)) → le100_out_aa(0, s(T310))
le100_in_aa(0, 0) → le100_out_aa(0, 0)
U21_aa(T302, T303, le100_out_aa(T302, T303)) → le100_out_aa(s(T302), s(T303))
U41_aaaa(T283, T284, T285, X554, X555, le100_out_aa(T283, T284)) → part87_out_aaaa(T283, .(T284, T285), X554, .(T284, X555))
part87_in_aaaa(T288, .(T284, T289), X554, .(T284, X555)) → U42_aaaa(T288, T284, T289, X554, X555, le100_in_aa(T288, T284))
U42_aaaa(T288, T284, T289, X554, X555, le100_out_aa(T288, T284)) → U43_aaaa(T288, T284, T289, X554, X555, part20_in_gaaa(T288, T289, X554, X555))
U43_aaaa(T288, T284, T289, X554, X555, part20_out_gaaa(T288, T289, X554, X555)) → part87_out_aaaa(T288, .(T284, T289), X554, .(T284, X555))
part87_in_aaaa(T316, [], [], []) → part87_out_aaaa(T316, [], [], [])
U22_aa(T230, T231, X452, part87_out_aaaa(T230, T231, X448, X449)) → qs80_out_aa(.(T230, T231), X452)
qs80_in_aa(.(T237, T231), X452) → U23_aa(T237, T231, X452, part87_in_aaaa(T237, T231, T235, T236))
U23_aa(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U24_aa(T237, T231, X452, qs80_in_aa(T235, X450))
qs80_in_aa(.(T325, T231), X452) → U27_aa(T325, T231, X452, part87_in_aaaa(T325, T231, T235, T236))
U27_aa(T325, T231, X452, part87_out_aaaa(T325, T231, T235, T236)) → U28_aa(T325, T231, X452, T236, qs80_in_aa(T235, T319))
qs80_in_aa([], []) → qs80_out_aa([], [])
U28_aa(T325, T231, X452, T236, qs80_out_aa(T235, T319)) → U29_aa(T325, T231, X452, T319, qs80_in_aa(T236, T324))
U29_aa(T325, T231, X452, T319, qs80_out_aa(T236, T324)) → U30_aa(T325, T231, X452, app121_in_aaaa(T319, T325, T324, X452))
app121_in_aaaa(.(T348, T349), T352, T353, .(T348, X657)) → U31_aaaa(T348, T349, T352, T353, X657, app121_in_aaaa(T349, T352, T353, X657))
app121_in_aaaa([], T362, T363, .(T362, T363)) → app121_out_aaaa([], T362, T363, .(T362, T363))
U31_aaaa(T348, T349, T352, T353, X657, app121_out_aaaa(T349, T352, T353, X657)) → app121_out_aaaa(.(T348, T349), T352, T353, .(T348, X657))
U30_aa(T325, T231, X452, app121_out_aaaa(T319, T325, T324, X452)) → qs80_out_aa(.(T325, T231), X452)
U24_aa(T237, T231, X452, qs80_out_aa(T235, X450)) → qs80_out_aa(.(T237, T231), X452)
U23_aa(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U25_aa(T237, T231, X452, T236, qs80_in_aa(T235, T319))
U25_aa(T237, T231, X452, T236, qs80_out_aa(T235, T319)) → U26_aa(T237, T231, X452, qs80_in_aa(T236, X451))
U26_aa(T237, T231, X452, qs80_out_aa(T236, X451)) → qs80_out_aa(.(T237, T231), X452)
U33_aaagg(T54, X10, T131, T31, T8, qs80_out_aa(T54, X10)) → p52_out_aaagg(T54, X10, T131, T31, T8)
p52_in_aaagg(T54, T217, T131, T31, T8) → U34_aaagg(T54, T217, T131, T31, T8, qs80_in_aa(T54, T217))
U34_aaagg(T54, T217, T131, T31, T8, qs80_out_aa(T54, T217)) → U35_aaagg(T54, T217, T131, T31, T8, app81_in_agag(T131, T31, T217, T8))
app81_in_agag(.(T389, T390), T391, T394, .(T389, T393)) → U32_agag(T389, T390, T391, T394, T393, app81_in_agag(T390, T391, T394, T393))
app81_in_agag([], T404, T405, .(T404, T405)) → app81_out_agag([], T404, T405, .(T404, T405))
U32_agag(T389, T390, T391, T394, T393, app81_out_agag(T390, T391, T394, T393)) → app81_out_agag(.(T389, T390), T391, T394, .(T389, T393))
U35_aaagg(T54, T217, T131, T31, T8, app81_out_agag(T131, T31, T217, T8)) → p52_out_aaagg(T54, T217, T131, T31, T8)
U50_ag(T31, T33, T32, T8, p52_out_aaagg(T54, X10, T131, T31, T8)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
qs1_in_ag(.(T421, .(T422, T423)), T8) → U51_ag(T421, T422, T423, T8, le100_in_aa(T421, T422))
U51_ag(T421, T422, T423, T8, le100_out_aa(T421, T422)) → qs1_out_ag(.(T421, .(T422, T423)), T8)
qs1_in_ag(.(T426, .(T428, T427)), T8) → U52_ag(T426, T428, T427, T8, le100_in_aa(T426, T428))
U52_ag(T426, T428, T427, T8, le100_out_aa(T426, T428)) → U53_ag(T426, T428, T427, T8, part20_in_gaaa(T426, T427, X740, X741))
U53_ag(T426, T428, T427, T8, part20_out_gaaa(T426, T427, X740, X741)) → qs1_out_ag(.(T426, .(T428, T427)), T8)
qs1_in_ag(.(T426, .(T436, T427)), T8) → U54_ag(T426, T436, T427, T8, le100_in_aa(T426, T436))
U54_ag(T426, T436, T427, T8, le100_out_aa(T426, T436)) → U55_ag(T426, T436, T427, T8, part20_in_gaaa(T426, T427, T434, T435))
U55_ag(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U56_ag(T426, T436, T427, T8, qs80_in_aa(T434, X9))
U56_ag(T426, T436, T427, T8, qs80_out_aa(T434, X9)) → qs1_out_ag(.(T426, .(T436, T427)), T8)
U55_ag(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U57_ag(T426, T436, T427, T8, T435, qs80_in_aa(T434, T442))
U57_ag(T426, T436, T427, T8, T435, qs80_out_aa(T434, T442)) → U58_ag(T426, T436, T427, T8, p52_in_aaagg(.(T436, T435), X10, T442, T426, T8))
U58_ag(T426, T436, T427, T8, p52_out_aaagg(.(T436, T435), X10, T442, T426, T8)) → qs1_out_ag(.(T426, .(T436, T427)), T8)
qs1_in_ag(.(T452, []), T8) → U59_ag(T452, T8, qs155_in_a(X9))
qs155_in_a([]) → qs155_out_a([])
U59_ag(T452, T8, qs155_out_a(X9)) → qs1_out_ag(.(T452, []), T8)
qs1_in_ag(.(T452, []), T8) → U60_ag(T452, T8, qs155_in_a(T455))
U60_ag(T452, T8, qs155_out_a(T455)) → U61_ag(T452, T8, qs155_in_a(X10))
U61_ag(T452, T8, qs155_out_a(X10)) → qs1_out_ag(.(T452, []), T8)
U60_ag(T452, T8, qs155_out_a(T455)) → U62_ag(T452, T8, T455, qs155_in_a(T460))
U62_ag(T452, T8, T455, qs155_out_a(T460)) → U63_ag(T452, T8, app162_in_gagg(T455, T452, T460, T8))
app162_in_gagg(.(T486, T487), T491, T489, .(T486, T490)) → U36_gagg(T486, T487, T491, T489, T490, app162_in_gagg(T487, T491, T489, T490))
app162_in_gagg([], T501, T502, .(T501, T502)) → app162_out_gagg([], T501, T502, .(T501, T502))
U36_gagg(T486, T487, T491, T489, T490, app162_out_gagg(T487, T491, T489, T490)) → app162_out_gagg(.(T486, T487), T491, T489, .(T486, T490))
U63_ag(T452, T8, app162_out_gagg(T455, T452, T460, T8)) → qs1_out_ag(.(T452, []), T8)
qs1_in_ag([], []) → qs1_out_ag([], [])

The argument filtering Pi contains the following mapping:
qs1_in_ag(x1, x2)  =  qs1_in_ag(x2)
U44_ag(x1, x2, x3, x4, x5)  =  U44_ag(x4, x5)
gt10_in_aa(x1, x2)  =  gt10_in_aa
U1_aa(x1, x2, x3)  =  U1_aa(x3)
gt10_out_aa(x1, x2)  =  gt10_out_aa(x1, x2)
qs1_out_ag(x1, x2)  =  qs1_out_ag(x2)
U45_ag(x1, x2, x3, x4, x5)  =  U45_ag(x4, x5)
U46_ag(x1, x2, x3, x4, x5)  =  U46_ag(x4, x5)
part20_in_gaaa(x1, x2, x3, x4)  =  part20_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x1, x6)
gt10_in_ga(x1, x2)  =  gt10_in_ga(x1)
s(x1)  =  s(x1)
U1_ga(x1, x2, x3)  =  U1_ga(x1, x3)
0  =  0
gt10_out_ga(x1, x2)  =  gt10_out_ga(x1, x2)
part20_out_gaaa(x1, x2, x3, x4)  =  part20_out_gaaa(x1)
U3_gaaa(x1, x2, x3, x4, x5, x6)  =  U3_gaaa(x1, x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x1, x6)
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x1, x6)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U8_ga(x1, x2, x3)  =  U8_ga(x1, x3)
le33_out_ga(x1, x2)  =  le33_out_ga(x1)
U6_gaaa(x1, x2, x3, x4, x5, x6)  =  U6_gaaa(x1, x6)
U7_gaaa(x1, x2, x3, x4, x5, x6)  =  U7_gaaa(x1, x6)
U47_ag(x1, x2, x3, x4, x5)  =  U47_ag(x1, x2, x4, x5)
U48_ag(x1, x2, x3, x4, x5)  =  U48_ag(x4, x5)
qs51_in_gaa(x1, x2, x3)  =  qs51_in_gaa(x1)
U37_gaa(x1, x2, x3, x4)  =  U37_gaa(x1, x4)
p56_in_gaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_in_gaaaaaa(x1)
U9_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_gaaaaaa(x1, x8)
p56_out_gaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_out_gaaaaaa(x1)
U10_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_gaaaaaa(x1, x8)
U11_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_gaaaaaa(x1, x8)
qs59_in_aa(x1, x2)  =  qs59_in_aa
U19_aa(x1, x2, x3, x4)  =  U19_aa(x4)
p56_in_aaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_in_aaaaaaa
U9_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_aaaaaaa(x8)
part20_in_aaaa(x1, x2, x3, x4)  =  part20_in_aaaa
U2_aaaa(x1, x2, x3, x4, x5, x6)  =  U2_aaaa(x6)
part20_out_aaaa(x1, x2, x3, x4)  =  part20_out_aaaa
U3_aaaa(x1, x2, x3, x4, x5, x6)  =  U3_aaaa(x6)
U4_aaaa(x1, x2, x3, x4, x5, x6)  =  U4_aaaa(x6)
U5_aaaa(x1, x2, x3, x4, x5, x6)  =  U5_aaaa(x6)
le33_in_aa(x1, x2)  =  le33_in_aa
U8_aa(x1, x2, x3)  =  U8_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
U6_aaaa(x1, x2, x3, x4, x5, x6)  =  U6_aaaa(x6)
U7_aaaa(x1, x2, x3, x4, x5, x6)  =  U7_aaaa(x6)
p56_out_aaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_out_aaaaaaa
U10_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_aaaaaaa(x8)
U11_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_aaaaaaa(x8)
qs59_out_aa(x1, x2)  =  qs59_out_aa
U12_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_aaaaaaa(x8)
U13_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_aaaaaaa(x8)
U14_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_aaaaaaa(x8)
U15_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_aaaaaaa(x8)
U16_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_aaaaaaa(x8)
U17_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_aaaaaaa(x8)
U18_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_aaaaaaa(x8)
.(x1, x2)  =  .(x1, x2)
[]  =  []
app70_in_aaaa(x1, x2, x3, x4)  =  app70_in_aaaa
U20_aaaa(x1, x2, x3, x4, x5, x6)  =  U20_aaaa(x6)
app70_out_aaaa(x1, x2, x3, x4)  =  app70_out_aaaa
U12_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_gaaaaaa(x1, x8)
U13_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_gaaaaaa(x1, x8)
U14_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_gaaaaaa(x1, x8)
U15_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_gaaaaaa(x1, x8)
U16_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_gaaaaaa(x1, x8)
U17_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_gaaaaaa(x1, x8)
U18_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_gaaaaaa(x1, x8)
app70_in_agaa(x1, x2, x3, x4)  =  app70_in_agaa(x2)
U20_agaa(x1, x2, x3, x4, x5, x6)  =  U20_agaa(x3, x6)
app70_out_agaa(x1, x2, x3, x4)  =  app70_out_agaa(x2)
qs51_out_gaa(x1, x2, x3)  =  qs51_out_gaa(x1)
U49_ag(x1, x2, x3, x4, x5, x6)  =  U49_ag(x1, x4, x6)
U50_ag(x1, x2, x3, x4, x5)  =  U50_ag(x4, x5)
p52_in_aaagg(x1, x2, x3, x4, x5)  =  p52_in_aaagg(x4, x5)
U33_aaagg(x1, x2, x3, x4, x5, x6)  =  U33_aaagg(x4, x5, x6)
qs80_in_aa(x1, x2)  =  qs80_in_aa
U22_aa(x1, x2, x3, x4)  =  U22_aa(x4)
part87_in_aaaa(x1, x2, x3, x4)  =  part87_in_aaaa
U38_aaaa(x1, x2, x3, x4, x5, x6)  =  U38_aaaa(x6)
part87_out_aaaa(x1, x2, x3, x4)  =  part87_out_aaaa
U39_aaaa(x1, x2, x3, x4, x5, x6)  =  U39_aaaa(x6)
U40_aaaa(x1, x2, x3, x4, x5, x6)  =  U40_aaaa(x6)
U41_aaaa(x1, x2, x3, x4, x5, x6)  =  U41_aaaa(x6)
le100_in_aa(x1, x2)  =  le100_in_aa
U21_aa(x1, x2, x3)  =  U21_aa(x3)
le100_out_aa(x1, x2)  =  le100_out_aa(x1)
U42_aaaa(x1, x2, x3, x4, x5, x6)  =  U42_aaaa(x6)
U43_aaaa(x1, x2, x3, x4, x5, x6)  =  U43_aaaa(x6)
qs80_out_aa(x1, x2)  =  qs80_out_aa
U23_aa(x1, x2, x3, x4)  =  U23_aa(x4)
U24_aa(x1, x2, x3, x4)  =  U24_aa(x4)
U27_aa(x1, x2, x3, x4)  =  U27_aa(x4)
U28_aa(x1, x2, x3, x4, x5)  =  U28_aa(x5)
U29_aa(x1, x2, x3, x4, x5)  =  U29_aa(x5)
U30_aa(x1, x2, x3, x4)  =  U30_aa(x4)
app121_in_aaaa(x1, x2, x3, x4)  =  app121_in_aaaa
U31_aaaa(x1, x2, x3, x4, x5, x6)  =  U31_aaaa(x6)
app121_out_aaaa(x1, x2, x3, x4)  =  app121_out_aaaa
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
U26_aa(x1, x2, x3, x4)  =  U26_aa(x4)
p52_out_aaagg(x1, x2, x3, x4, x5)  =  p52_out_aaagg(x4, x5)
U34_aaagg(x1, x2, x3, x4, x5, x6)  =  U34_aaagg(x4, x5, x6)
U35_aaagg(x1, x2, x3, x4, x5, x6)  =  U35_aaagg(x4, x5, x6)
app81_in_agag(x1, x2, x3, x4)  =  app81_in_agag(x2, x4)
U32_agag(x1, x2, x3, x4, x5, x6)  =  U32_agag(x1, x3, x5, x6)
app81_out_agag(x1, x2, x3, x4)  =  app81_out_agag(x1, x2, x3, x4)
U51_ag(x1, x2, x3, x4, x5)  =  U51_ag(x4, x5)
U52_ag(x1, x2, x3, x4, x5)  =  U52_ag(x4, x5)
U53_ag(x1, x2, x3, x4, x5)  =  U53_ag(x4, x5)
U54_ag(x1, x2, x3, x4, x5)  =  U54_ag(x4, x5)
U55_ag(x1, x2, x3, x4, x5)  =  U55_ag(x1, x4, x5)
U56_ag(x1, x2, x3, x4, x5)  =  U56_ag(x4, x5)
U57_ag(x1, x2, x3, x4, x5, x6)  =  U57_ag(x1, x4, x6)
U58_ag(x1, x2, x3, x4, x5)  =  U58_ag(x4, x5)
U59_ag(x1, x2, x3)  =  U59_ag(x2, x3)
qs155_in_a(x1)  =  qs155_in_a
qs155_out_a(x1)  =  qs155_out_a(x1)
U60_ag(x1, x2, x3)  =  U60_ag(x2, x3)
U61_ag(x1, x2, x3)  =  U61_ag(x2, x3)
U62_ag(x1, x2, x3, x4)  =  U62_ag(x2, x3, x4)
U63_ag(x1, x2, x3)  =  U63_ag(x2, x3)
app162_in_gagg(x1, x2, x3, x4)  =  app162_in_gagg(x1, x3, x4)
U36_gagg(x1, x2, x3, x4, x5, x6)  =  U36_gagg(x1, x2, x4, x5, x6)
app162_out_gagg(x1, x2, x3, x4)  =  app162_out_gagg(x1, x2, x3, x4)
PART20_IN_GAAA(x1, x2, x3, x4)  =  PART20_IN_GAAA(x1)
U3_GAAA(x1, x2, x3, x4, x5, x6)  =  U3_GAAA(x1, x6)
U6_GAAA(x1, x2, x3, x4, x5, x6)  =  U6_GAAA(x1, x6)

We have to consider all (P,R,Pi)-chains

(73) UsableRulesProof (EQUIVALENT transformation)

For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R.

(74) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

PART20_IN_GAAA(T70, .(T73, T77), .(T73, X119), X120) → U3_GAAA(T70, T73, T77, X119, X120, gt10_in_ga(T70, T73))
U3_GAAA(T70, T73, T77, X119, X120, gt10_out_ga(T70, T73)) → PART20_IN_GAAA(T70, T77, X119, X120)
PART20_IN_GAAA(T95, .(T98, T102), X170, .(T98, X171)) → U6_GAAA(T95, T98, T102, X170, X171, le33_in_ga(T95, T98))
U6_GAAA(T95, T98, T102, X170, X171, le33_out_ga(T95, T98)) → PART20_IN_GAAA(T95, T102, X170, X171)

The TRS R consists of the following rules:

gt10_in_ga(s(T46), s(T47)) → U1_ga(T46, T47, gt10_in_ga(T46, T47))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
le33_in_ga(s(T113), s(T115)) → U8_ga(T113, T115, le33_in_ga(T113, T115))
le33_in_ga(0, s(T122)) → le33_out_ga(0, s(T122))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U1_ga(T46, T47, gt10_out_ga(T46, T47)) → gt10_out_ga(s(T46), s(T47))
U8_ga(T113, T115, le33_out_ga(T113, T115)) → le33_out_ga(s(T113), s(T115))

The argument filtering Pi contains the following mapping:
gt10_in_ga(x1, x2)  =  gt10_in_ga(x1)
s(x1)  =  s(x1)
U1_ga(x1, x2, x3)  =  U1_ga(x1, x3)
0  =  0
gt10_out_ga(x1, x2)  =  gt10_out_ga(x1, x2)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U8_ga(x1, x2, x3)  =  U8_ga(x1, x3)
le33_out_ga(x1, x2)  =  le33_out_ga(x1)
.(x1, x2)  =  .(x1, x2)
PART20_IN_GAAA(x1, x2, x3, x4)  =  PART20_IN_GAAA(x1)
U3_GAAA(x1, x2, x3, x4, x5, x6)  =  U3_GAAA(x1, x6)
U6_GAAA(x1, x2, x3, x4, x5, x6)  =  U6_GAAA(x1, x6)

We have to consider all (P,R,Pi)-chains

(75) PiDPToQDPProof (SOUND transformation)

Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi.

(76) Obligation:

Q DP problem:
The TRS P consists of the following rules:

PART20_IN_GAAA(T70) → U3_GAAA(T70, gt10_in_ga(T70))
U3_GAAA(T70, gt10_out_ga(T70, T73)) → PART20_IN_GAAA(T70)
PART20_IN_GAAA(T95) → U6_GAAA(T95, le33_in_ga(T95))
U6_GAAA(T95, le33_out_ga(T95)) → PART20_IN_GAAA(T95)

The TRS R consists of the following rules:

gt10_in_ga(s(T46)) → U1_ga(T46, gt10_in_ga(T46))
gt10_in_ga(s(0)) → gt10_out_ga(s(0), 0)
le33_in_ga(s(T113)) → U8_ga(T113, le33_in_ga(T113))
le33_in_ga(0) → le33_out_ga(0)
U1_ga(T46, gt10_out_ga(T46, T47)) → gt10_out_ga(s(T46), s(T47))
U8_ga(T113, le33_out_ga(T113)) → le33_out_ga(s(T113))

The set Q consists of the following terms:

gt10_in_ga(x0)
le33_in_ga(x0)
U1_ga(x0, x1)
U8_ga(x0, x1)

We have to consider all (P,Q,R)-chains.

(77) Narrowing (SOUND transformation)

By narrowing [LPAR04] the rule PART20_IN_GAAA(T70) → U3_GAAA(T70, gt10_in_ga(T70)) at position [1] we obtained the following new rules [LPAR04]:

PART20_IN_GAAA(s(x0)) → U3_GAAA(s(x0), U1_ga(x0, gt10_in_ga(x0)))
PART20_IN_GAAA(s(0)) → U3_GAAA(s(0), gt10_out_ga(s(0), 0))

(78) Obligation:

Q DP problem:
The TRS P consists of the following rules:

U3_GAAA(T70, gt10_out_ga(T70, T73)) → PART20_IN_GAAA(T70)
PART20_IN_GAAA(T95) → U6_GAAA(T95, le33_in_ga(T95))
U6_GAAA(T95, le33_out_ga(T95)) → PART20_IN_GAAA(T95)
PART20_IN_GAAA(s(x0)) → U3_GAAA(s(x0), U1_ga(x0, gt10_in_ga(x0)))
PART20_IN_GAAA(s(0)) → U3_GAAA(s(0), gt10_out_ga(s(0), 0))

The TRS R consists of the following rules:

gt10_in_ga(s(T46)) → U1_ga(T46, gt10_in_ga(T46))
gt10_in_ga(s(0)) → gt10_out_ga(s(0), 0)
le33_in_ga(s(T113)) → U8_ga(T113, le33_in_ga(T113))
le33_in_ga(0) → le33_out_ga(0)
U1_ga(T46, gt10_out_ga(T46, T47)) → gt10_out_ga(s(T46), s(T47))
U8_ga(T113, le33_out_ga(T113)) → le33_out_ga(s(T113))

The set Q consists of the following terms:

gt10_in_ga(x0)
le33_in_ga(x0)
U1_ga(x0, x1)
U8_ga(x0, x1)

We have to consider all (P,Q,R)-chains.

(79) Narrowing (SOUND transformation)

By narrowing [LPAR04] the rule PART20_IN_GAAA(T95) → U6_GAAA(T95, le33_in_ga(T95)) at position [1] we obtained the following new rules [LPAR04]:

PART20_IN_GAAA(s(x0)) → U6_GAAA(s(x0), U8_ga(x0, le33_in_ga(x0)))
PART20_IN_GAAA(0) → U6_GAAA(0, le33_out_ga(0))

(80) Obligation:

Q DP problem:
The TRS P consists of the following rules:

U3_GAAA(T70, gt10_out_ga(T70, T73)) → PART20_IN_GAAA(T70)
U6_GAAA(T95, le33_out_ga(T95)) → PART20_IN_GAAA(T95)
PART20_IN_GAAA(s(x0)) → U3_GAAA(s(x0), U1_ga(x0, gt10_in_ga(x0)))
PART20_IN_GAAA(s(0)) → U3_GAAA(s(0), gt10_out_ga(s(0), 0))
PART20_IN_GAAA(s(x0)) → U6_GAAA(s(x0), U8_ga(x0, le33_in_ga(x0)))
PART20_IN_GAAA(0) → U6_GAAA(0, le33_out_ga(0))

The TRS R consists of the following rules:

gt10_in_ga(s(T46)) → U1_ga(T46, gt10_in_ga(T46))
gt10_in_ga(s(0)) → gt10_out_ga(s(0), 0)
le33_in_ga(s(T113)) → U8_ga(T113, le33_in_ga(T113))
le33_in_ga(0) → le33_out_ga(0)
U1_ga(T46, gt10_out_ga(T46, T47)) → gt10_out_ga(s(T46), s(T47))
U8_ga(T113, le33_out_ga(T113)) → le33_out_ga(s(T113))

The set Q consists of the following terms:

gt10_in_ga(x0)
le33_in_ga(x0)
U1_ga(x0, x1)
U8_ga(x0, x1)

We have to consider all (P,Q,R)-chains.

(81) Instantiation (EQUIVALENT transformation)

By instantiating [LPAR04] the rule U3_GAAA(T70, gt10_out_ga(T70, T73)) → PART20_IN_GAAA(T70) we obtained the following new rules [LPAR04]:

U3_GAAA(s(z0), gt10_out_ga(s(z0), x1)) → PART20_IN_GAAA(s(z0))
U3_GAAA(s(0), gt10_out_ga(s(0), 0)) → PART20_IN_GAAA(s(0))

(82) Obligation:

Q DP problem:
The TRS P consists of the following rules:

U6_GAAA(T95, le33_out_ga(T95)) → PART20_IN_GAAA(T95)
PART20_IN_GAAA(s(x0)) → U3_GAAA(s(x0), U1_ga(x0, gt10_in_ga(x0)))
PART20_IN_GAAA(s(0)) → U3_GAAA(s(0), gt10_out_ga(s(0), 0))
PART20_IN_GAAA(s(x0)) → U6_GAAA(s(x0), U8_ga(x0, le33_in_ga(x0)))
PART20_IN_GAAA(0) → U6_GAAA(0, le33_out_ga(0))
U3_GAAA(s(z0), gt10_out_ga(s(z0), x1)) → PART20_IN_GAAA(s(z0))
U3_GAAA(s(0), gt10_out_ga(s(0), 0)) → PART20_IN_GAAA(s(0))

The TRS R consists of the following rules:

gt10_in_ga(s(T46)) → U1_ga(T46, gt10_in_ga(T46))
gt10_in_ga(s(0)) → gt10_out_ga(s(0), 0)
le33_in_ga(s(T113)) → U8_ga(T113, le33_in_ga(T113))
le33_in_ga(0) → le33_out_ga(0)
U1_ga(T46, gt10_out_ga(T46, T47)) → gt10_out_ga(s(T46), s(T47))
U8_ga(T113, le33_out_ga(T113)) → le33_out_ga(s(T113))

The set Q consists of the following terms:

gt10_in_ga(x0)
le33_in_ga(x0)
U1_ga(x0, x1)
U8_ga(x0, x1)

We have to consider all (P,Q,R)-chains.

(83) Instantiation (EQUIVALENT transformation)

By instantiating [LPAR04] the rule U6_GAAA(T95, le33_out_ga(T95)) → PART20_IN_GAAA(T95) we obtained the following new rules [LPAR04]:

U6_GAAA(s(z0), le33_out_ga(s(z0))) → PART20_IN_GAAA(s(z0))
U6_GAAA(0, le33_out_ga(0)) → PART20_IN_GAAA(0)

(84) Obligation:

Q DP problem:
The TRS P consists of the following rules:

PART20_IN_GAAA(s(x0)) → U3_GAAA(s(x0), U1_ga(x0, gt10_in_ga(x0)))
PART20_IN_GAAA(s(0)) → U3_GAAA(s(0), gt10_out_ga(s(0), 0))
PART20_IN_GAAA(s(x0)) → U6_GAAA(s(x0), U8_ga(x0, le33_in_ga(x0)))
PART20_IN_GAAA(0) → U6_GAAA(0, le33_out_ga(0))
U3_GAAA(s(z0), gt10_out_ga(s(z0), x1)) → PART20_IN_GAAA(s(z0))
U3_GAAA(s(0), gt10_out_ga(s(0), 0)) → PART20_IN_GAAA(s(0))
U6_GAAA(s(z0), le33_out_ga(s(z0))) → PART20_IN_GAAA(s(z0))
U6_GAAA(0, le33_out_ga(0)) → PART20_IN_GAAA(0)

The TRS R consists of the following rules:

gt10_in_ga(s(T46)) → U1_ga(T46, gt10_in_ga(T46))
gt10_in_ga(s(0)) → gt10_out_ga(s(0), 0)
le33_in_ga(s(T113)) → U8_ga(T113, le33_in_ga(T113))
le33_in_ga(0) → le33_out_ga(0)
U1_ga(T46, gt10_out_ga(T46, T47)) → gt10_out_ga(s(T46), s(T47))
U8_ga(T113, le33_out_ga(T113)) → le33_out_ga(s(T113))

The set Q consists of the following terms:

gt10_in_ga(x0)
le33_in_ga(x0)
U1_ga(x0, x1)
U8_ga(x0, x1)

We have to consider all (P,Q,R)-chains.

(85) DependencyGraphProof (EQUIVALENT transformation)

The approximation of the Dependency Graph [LPAR04,FROCOS05,EDGSTAR] contains 2 SCCs.

(86) Complex Obligation (AND)

(87) Obligation:

Q DP problem:
The TRS P consists of the following rules:

U6_GAAA(0, le33_out_ga(0)) → PART20_IN_GAAA(0)
PART20_IN_GAAA(0) → U6_GAAA(0, le33_out_ga(0))

The TRS R consists of the following rules:

gt10_in_ga(s(T46)) → U1_ga(T46, gt10_in_ga(T46))
gt10_in_ga(s(0)) → gt10_out_ga(s(0), 0)
le33_in_ga(s(T113)) → U8_ga(T113, le33_in_ga(T113))
le33_in_ga(0) → le33_out_ga(0)
U1_ga(T46, gt10_out_ga(T46, T47)) → gt10_out_ga(s(T46), s(T47))
U8_ga(T113, le33_out_ga(T113)) → le33_out_ga(s(T113))

The set Q consists of the following terms:

gt10_in_ga(x0)
le33_in_ga(x0)
U1_ga(x0, x1)
U8_ga(x0, x1)

We have to consider all (P,Q,R)-chains.

(88) UsableRulesProof (EQUIVALENT transformation)

As all Q-normal forms are R-normal forms we are in the innermost case. Hence, by the usable rules processor [LPAR04] we can delete all non-usable rules [FROCOS05] from R.

(89) Obligation:

Q DP problem:
The TRS P consists of the following rules:

U6_GAAA(0, le33_out_ga(0)) → PART20_IN_GAAA(0)
PART20_IN_GAAA(0) → U6_GAAA(0, le33_out_ga(0))

R is empty.
The set Q consists of the following terms:

gt10_in_ga(x0)
le33_in_ga(x0)
U1_ga(x0, x1)
U8_ga(x0, x1)

We have to consider all (P,Q,R)-chains.

(90) QReductionProof (EQUIVALENT transformation)

We deleted the following terms from Q as each root-symbol of these terms does neither occur in P nor in R.[THIEMANN].

gt10_in_ga(x0)
le33_in_ga(x0)
U1_ga(x0, x1)
U8_ga(x0, x1)

(91) Obligation:

Q DP problem:
The TRS P consists of the following rules:

U6_GAAA(0, le33_out_ga(0)) → PART20_IN_GAAA(0)
PART20_IN_GAAA(0) → U6_GAAA(0, le33_out_ga(0))

R is empty.
Q is empty.
We have to consider all (P,Q,R)-chains.

(92) NonTerminationProof (EQUIVALENT transformation)

We used the non-termination processor [FROCOS05] to show that the DP problem is infinite.
Found a loop by narrowing to the left:

s = PART20_IN_GAAA(0) evaluates to t =PART20_IN_GAAA(0)

Thus s starts an infinite chain as s semiunifies with t with the following substitutions:
  • Semiunifier: [ ]
  • Matcher: [ ]




Rewriting sequence

PART20_IN_GAAA(0)U6_GAAA(0, le33_out_ga(0))
with rule PART20_IN_GAAA(0) → U6_GAAA(0, le33_out_ga(0)) at position [] and matcher [ ]

U6_GAAA(0, le33_out_ga(0))PART20_IN_GAAA(0)
with rule U6_GAAA(0, le33_out_ga(0)) → PART20_IN_GAAA(0)

Now applying the matcher to the start term leads to a term which is equal to the last term in the rewriting sequence


All these steps are and every following step will be a correct step w.r.t to Q.



(93) NO

(94) Obligation:

Q DP problem:
The TRS P consists of the following rules:

U3_GAAA(s(z0), gt10_out_ga(s(z0), x1)) → PART20_IN_GAAA(s(z0))
PART20_IN_GAAA(s(x0)) → U3_GAAA(s(x0), U1_ga(x0, gt10_in_ga(x0)))
U3_GAAA(s(0), gt10_out_ga(s(0), 0)) → PART20_IN_GAAA(s(0))
PART20_IN_GAAA(s(0)) → U3_GAAA(s(0), gt10_out_ga(s(0), 0))
PART20_IN_GAAA(s(x0)) → U6_GAAA(s(x0), U8_ga(x0, le33_in_ga(x0)))
U6_GAAA(s(z0), le33_out_ga(s(z0))) → PART20_IN_GAAA(s(z0))

The TRS R consists of the following rules:

gt10_in_ga(s(T46)) → U1_ga(T46, gt10_in_ga(T46))
gt10_in_ga(s(0)) → gt10_out_ga(s(0), 0)
le33_in_ga(s(T113)) → U8_ga(T113, le33_in_ga(T113))
le33_in_ga(0) → le33_out_ga(0)
U1_ga(T46, gt10_out_ga(T46, T47)) → gt10_out_ga(s(T46), s(T47))
U8_ga(T113, le33_out_ga(T113)) → le33_out_ga(s(T113))

The set Q consists of the following terms:

gt10_in_ga(x0)
le33_in_ga(x0)
U1_ga(x0, x1)
U8_ga(x0, x1)

We have to consider all (P,Q,R)-chains.

(95) NonTerminationProof (EQUIVALENT transformation)

We used the non-termination processor [FROCOS05] to show that the DP problem is infinite.
Found a loop by narrowing to the left:

s = PART20_IN_GAAA(s(0)) evaluates to t =PART20_IN_GAAA(s(0))

Thus s starts an infinite chain as s semiunifies with t with the following substitutions:
  • Semiunifier: [ ]
  • Matcher: [ ]




Rewriting sequence

PART20_IN_GAAA(s(0))U3_GAAA(s(0), gt10_out_ga(s(0), 0))
with rule PART20_IN_GAAA(s(0)) → U3_GAAA(s(0), gt10_out_ga(s(0), 0)) at position [] and matcher [ ]

U3_GAAA(s(0), gt10_out_ga(s(0), 0))PART20_IN_GAAA(s(0))
with rule U3_GAAA(s(z0), gt10_out_ga(s(z0), x1)) → PART20_IN_GAAA(s(z0))

Now applying the matcher to the start term leads to a term which is equal to the last term in the rewriting sequence


All these steps are and every following step will be a correct step w.r.t to Q.



(96) NO

(97) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

GT10_IN_AA(s(T46), s(T47)) → GT10_IN_AA(T46, T47)

The TRS R consists of the following rules:

qs1_in_ag(.(T26, .(T27, T28)), T8) → U44_ag(T26, T27, T28, T8, gt10_in_aa(T26, T27))
gt10_in_aa(s(T46), s(T47)) → U1_aa(T46, T47, gt10_in_aa(T46, T47))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U1_aa(T46, T47, gt10_out_aa(T46, T47)) → gt10_out_aa(s(T46), s(T47))
U44_ag(T26, T27, T28, T8, gt10_out_aa(T26, T27)) → qs1_out_ag(.(T26, .(T27, T28)), T8)
qs1_in_ag(.(T31, .(T33, T32)), T8) → U45_ag(T31, T33, T32, T8, gt10_in_aa(T31, T33))
U45_ag(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U46_ag(T31, T33, T32, T8, part20_in_gaaa(T31, T32, X47, X48))
part20_in_gaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_gaaa(T70, T73, T74, X119, X120, gt10_in_ga(T70, T73))
gt10_in_ga(s(T46), s(T47)) → U1_ga(T46, T47, gt10_in_ga(T46, T47))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U1_ga(T46, T47, gt10_out_ga(T46, T47)) → gt10_out_ga(s(T46), s(T47))
U2_gaaa(T70, T73, T74, X119, X120, gt10_out_ga(T70, T73)) → part20_out_gaaa(T70, .(T73, T74), .(T73, X119), X120)
part20_in_gaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_gaaa(T70, T73, T77, X119, X120, gt10_in_ga(T70, T73))
U3_gaaa(T70, T73, T77, X119, X120, gt10_out_ga(T70, T73)) → U4_gaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
part20_in_gaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_gaaa(T95, T98, T99, X170, X171, le33_in_ga(T95, T98))
le33_in_ga(s(T113), s(T115)) → U8_ga(T113, T115, le33_in_ga(T113, T115))
le33_in_ga(0, s(T122)) → le33_out_ga(0, s(T122))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U8_ga(T113, T115, le33_out_ga(T113, T115)) → le33_out_ga(s(T113), s(T115))
U5_gaaa(T95, T98, T99, X170, X171, le33_out_ga(T95, T98)) → part20_out_gaaa(T95, .(T98, T99), X170, .(T98, X171))
part20_in_gaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_gaaa(T95, T98, T102, X170, X171, le33_in_ga(T95, T98))
U6_gaaa(T95, T98, T102, X170, X171, le33_out_ga(T95, T98)) → U7_gaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
part20_in_gaaa(T128, [], [], []) → part20_out_gaaa(T128, [], [], [])
U7_gaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_gaaa(T95, .(T98, T102), X170, .(T98, X171))
U4_gaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_gaaa(T70, .(T73, T77), .(T73, X119), X120)
U46_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, X47, X48)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
U45_ag(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U47_ag(T31, T33, T32, T8, part20_in_gaaa(T31, T32, T53, T54))
U47_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U48_ag(T31, T33, T32, T8, qs51_in_gaa(T33, T53, X9))
qs51_in_gaa(T148, T149, X273) → U37_gaa(T148, T149, X273, p56_in_gaaaaaa(T148, T149, X269, X270, X271, X272, X273))
p56_in_gaaaaaa(T148, T149, X269, X270, X271, X272, X273) → U9_gaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_in_gaaa(T148, T149, X269, X270))
U9_gaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_out_gaaa(T148, T149, X269, X270)) → p56_out_gaaaaaa(T148, T149, X269, X270, X271, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, X271, X272, X273) → U10_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U10_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U11_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
qs59_in_aa(.(T171, T172), X335) → U19_aa(T171, T172, X335, p56_in_aaaaaaa(T171, T172, X331, X332, X333, X334, X335))
p56_in_aaaaaaa(T148, T149, X269, X270, X271, X272, X273) → U9_aaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_in_aaaa(T148, T149, X269, X270))
part20_in_aaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_aaaa(T70, T73, T74, X119, X120, gt10_in_aa(T70, T73))
U2_aaaa(T70, T73, T74, X119, X120, gt10_out_aa(T70, T73)) → part20_out_aaaa(T70, .(T73, T74), .(T73, X119), X120)
part20_in_aaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_aaaa(T70, T73, T77, X119, X120, gt10_in_aa(T70, T73))
U3_aaaa(T70, T73, T77, X119, X120, gt10_out_aa(T70, T73)) → U4_aaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
U4_aaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_aaaa(T70, .(T73, T77), .(T73, X119), X120)
part20_in_aaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_aaaa(T95, T98, T99, X170, X171, le33_in_aa(T95, T98))
le33_in_aa(s(T113), s(T115)) → U8_aa(T113, T115, le33_in_aa(T113, T115))
le33_in_aa(0, s(T122)) → le33_out_aa(0, s(T122))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U8_aa(T113, T115, le33_out_aa(T113, T115)) → le33_out_aa(s(T113), s(T115))
U5_aaaa(T95, T98, T99, X170, X171, le33_out_aa(T95, T98)) → part20_out_aaaa(T95, .(T98, T99), X170, .(T98, X171))
part20_in_aaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_aaaa(T95, T98, T102, X170, X171, le33_in_aa(T95, T98))
U6_aaaa(T95, T98, T102, X170, X171, le33_out_aa(T95, T98)) → U7_aaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
U7_aaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_aaaa(T95, .(T98, T102), X170, .(T98, X171))
part20_in_aaaa(T128, [], [], []) → part20_out_aaaa(T128, [], [], [])
U9_aaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_out_aaaa(T148, T149, X269, X270)) → p56_out_aaaaaaa(T148, T149, X269, X270, X271, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, X271, X272, X273) → U10_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U10_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U11_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
qs59_in_aa([], []) → qs59_out_aa([], [])
U11_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_out_aa(T153, X271)) → p56_out_aaaaaaa(T148, T149, T153, T154, X271, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, T160, X272, X273) → U12_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U12_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U13_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U13_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U14_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T154, X272)) → p56_out_aaaaaaa(T148, T149, T153, T154, T160, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, T160, T178, X273) → U15_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_in_aaaa(T148, T149, T153, T154))
U15_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_out_aaaa(T148, T149, T153, T154)) → U16_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U16_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U17_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_in_aaaa(T160, T148, T178, X273))
app70_in_aaaa(.(T201, T202), T203, T204, .(T201, X391)) → U20_aaaa(T201, T202, T203, T204, X391, app70_in_aaaa(T202, T203, T204, X391))
app70_in_aaaa([], T213, T214, .(T213, T214)) → app70_out_aaaa([], T213, T214, .(T213, T214))
U20_aaaa(T201, T202, T203, T204, X391, app70_out_aaaa(T202, T203, T204, X391)) → app70_out_aaaa(.(T201, T202), T203, T204, .(T201, X391))
U18_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_out_aaaa(T160, T148, T178, X273)) → p56_out_aaaaaaa(T148, T149, T153, T154, T160, T178, X273)
U19_aa(T171, T172, X335, p56_out_aaaaaaa(T171, T172, X331, X332, X333, X334, X335)) → qs59_out_aa(.(T171, T172), X335)
U11_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_out_aa(T153, X271)) → p56_out_gaaaaaa(T148, T149, T153, T154, X271, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, T160, X272, X273) → U12_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U12_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U13_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U13_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U14_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T154, X272)) → p56_out_gaaaaaa(T148, T149, T153, T154, T160, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, T160, T178, X273) → U15_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_in_gaaa(T148, T149, T153, T154))
U15_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_out_gaaa(T148, T149, T153, T154)) → U16_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U16_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U17_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_in_agaa(T160, T148, T178, X273))
app70_in_agaa(.(T201, T202), T203, T204, .(T201, X391)) → U20_agaa(T201, T202, T203, T204, X391, app70_in_agaa(T202, T203, T204, X391))
app70_in_agaa([], T213, T214, .(T213, T214)) → app70_out_agaa([], T213, T214, .(T213, T214))
U20_agaa(T201, T202, T203, T204, X391, app70_out_agaa(T202, T203, T204, X391)) → app70_out_agaa(.(T201, T202), T203, T204, .(T201, X391))
U18_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_out_agaa(T160, T148, T178, X273)) → p56_out_gaaaaaa(T148, T149, T153, T154, T160, T178, X273)
U37_gaa(T148, T149, X273, p56_out_gaaaaaa(T148, T149, X269, X270, X271, X272, X273)) → qs51_out_gaa(T148, T149, X273)
U48_ag(T31, T33, T32, T8, qs51_out_gaa(T33, T53, X9)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
U47_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U49_ag(T31, T33, T32, T8, T54, qs51_in_gaa(T33, T53, T131))
U49_ag(T31, T33, T32, T8, T54, qs51_out_gaa(T33, T53, T131)) → U50_ag(T31, T33, T32, T8, p52_in_aaagg(T54, X10, T131, T31, T8))
p52_in_aaagg(T54, X10, T131, T31, T8) → U33_aaagg(T54, X10, T131, T31, T8, qs80_in_aa(T54, X10))
qs80_in_aa(.(T230, T231), X452) → U22_aa(T230, T231, X452, part87_in_aaaa(T230, T231, X448, X449))
part87_in_aaaa(T256, .(T257, T258), .(T257, X503), X504) → U38_aaaa(T256, T257, T258, X503, X504, gt10_in_aa(T256, T257))
U38_aaaa(T256, T257, T258, X503, X504, gt10_out_aa(T256, T257)) → part87_out_aaaa(T256, .(T257, T258), .(T257, X503), X504)
part87_in_aaaa(T261, .(T257, T262), .(T257, X503), X504) → U39_aaaa(T261, T257, T262, X503, X504, gt10_in_aa(T261, T257))
U39_aaaa(T261, T257, T262, X503, X504, gt10_out_aa(T261, T257)) → U40_aaaa(T261, T257, T262, X503, X504, part20_in_gaaa(T261, T262, X503, X504))
U40_aaaa(T261, T257, T262, X503, X504, part20_out_gaaa(T261, T262, X503, X504)) → part87_out_aaaa(T261, .(T257, T262), .(T257, X503), X504)
part87_in_aaaa(T283, .(T284, T285), X554, .(T284, X555)) → U41_aaaa(T283, T284, T285, X554, X555, le100_in_aa(T283, T284))
le100_in_aa(s(T302), s(T303)) → U21_aa(T302, T303, le100_in_aa(T302, T303))
le100_in_aa(0, s(T310)) → le100_out_aa(0, s(T310))
le100_in_aa(0, 0) → le100_out_aa(0, 0)
U21_aa(T302, T303, le100_out_aa(T302, T303)) → le100_out_aa(s(T302), s(T303))
U41_aaaa(T283, T284, T285, X554, X555, le100_out_aa(T283, T284)) → part87_out_aaaa(T283, .(T284, T285), X554, .(T284, X555))
part87_in_aaaa(T288, .(T284, T289), X554, .(T284, X555)) → U42_aaaa(T288, T284, T289, X554, X555, le100_in_aa(T288, T284))
U42_aaaa(T288, T284, T289, X554, X555, le100_out_aa(T288, T284)) → U43_aaaa(T288, T284, T289, X554, X555, part20_in_gaaa(T288, T289, X554, X555))
U43_aaaa(T288, T284, T289, X554, X555, part20_out_gaaa(T288, T289, X554, X555)) → part87_out_aaaa(T288, .(T284, T289), X554, .(T284, X555))
part87_in_aaaa(T316, [], [], []) → part87_out_aaaa(T316, [], [], [])
U22_aa(T230, T231, X452, part87_out_aaaa(T230, T231, X448, X449)) → qs80_out_aa(.(T230, T231), X452)
qs80_in_aa(.(T237, T231), X452) → U23_aa(T237, T231, X452, part87_in_aaaa(T237, T231, T235, T236))
U23_aa(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U24_aa(T237, T231, X452, qs80_in_aa(T235, X450))
qs80_in_aa(.(T325, T231), X452) → U27_aa(T325, T231, X452, part87_in_aaaa(T325, T231, T235, T236))
U27_aa(T325, T231, X452, part87_out_aaaa(T325, T231, T235, T236)) → U28_aa(T325, T231, X452, T236, qs80_in_aa(T235, T319))
qs80_in_aa([], []) → qs80_out_aa([], [])
U28_aa(T325, T231, X452, T236, qs80_out_aa(T235, T319)) → U29_aa(T325, T231, X452, T319, qs80_in_aa(T236, T324))
U29_aa(T325, T231, X452, T319, qs80_out_aa(T236, T324)) → U30_aa(T325, T231, X452, app121_in_aaaa(T319, T325, T324, X452))
app121_in_aaaa(.(T348, T349), T352, T353, .(T348, X657)) → U31_aaaa(T348, T349, T352, T353, X657, app121_in_aaaa(T349, T352, T353, X657))
app121_in_aaaa([], T362, T363, .(T362, T363)) → app121_out_aaaa([], T362, T363, .(T362, T363))
U31_aaaa(T348, T349, T352, T353, X657, app121_out_aaaa(T349, T352, T353, X657)) → app121_out_aaaa(.(T348, T349), T352, T353, .(T348, X657))
U30_aa(T325, T231, X452, app121_out_aaaa(T319, T325, T324, X452)) → qs80_out_aa(.(T325, T231), X452)
U24_aa(T237, T231, X452, qs80_out_aa(T235, X450)) → qs80_out_aa(.(T237, T231), X452)
U23_aa(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U25_aa(T237, T231, X452, T236, qs80_in_aa(T235, T319))
U25_aa(T237, T231, X452, T236, qs80_out_aa(T235, T319)) → U26_aa(T237, T231, X452, qs80_in_aa(T236, X451))
U26_aa(T237, T231, X452, qs80_out_aa(T236, X451)) → qs80_out_aa(.(T237, T231), X452)
U33_aaagg(T54, X10, T131, T31, T8, qs80_out_aa(T54, X10)) → p52_out_aaagg(T54, X10, T131, T31, T8)
p52_in_aaagg(T54, T217, T131, T31, T8) → U34_aaagg(T54, T217, T131, T31, T8, qs80_in_aa(T54, T217))
U34_aaagg(T54, T217, T131, T31, T8, qs80_out_aa(T54, T217)) → U35_aaagg(T54, T217, T131, T31, T8, app81_in_agag(T131, T31, T217, T8))
app81_in_agag(.(T389, T390), T391, T394, .(T389, T393)) → U32_agag(T389, T390, T391, T394, T393, app81_in_agag(T390, T391, T394, T393))
app81_in_agag([], T404, T405, .(T404, T405)) → app81_out_agag([], T404, T405, .(T404, T405))
U32_agag(T389, T390, T391, T394, T393, app81_out_agag(T390, T391, T394, T393)) → app81_out_agag(.(T389, T390), T391, T394, .(T389, T393))
U35_aaagg(T54, T217, T131, T31, T8, app81_out_agag(T131, T31, T217, T8)) → p52_out_aaagg(T54, T217, T131, T31, T8)
U50_ag(T31, T33, T32, T8, p52_out_aaagg(T54, X10, T131, T31, T8)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
qs1_in_ag(.(T421, .(T422, T423)), T8) → U51_ag(T421, T422, T423, T8, le100_in_aa(T421, T422))
U51_ag(T421, T422, T423, T8, le100_out_aa(T421, T422)) → qs1_out_ag(.(T421, .(T422, T423)), T8)
qs1_in_ag(.(T426, .(T428, T427)), T8) → U52_ag(T426, T428, T427, T8, le100_in_aa(T426, T428))
U52_ag(T426, T428, T427, T8, le100_out_aa(T426, T428)) → U53_ag(T426, T428, T427, T8, part20_in_gaaa(T426, T427, X740, X741))
U53_ag(T426, T428, T427, T8, part20_out_gaaa(T426, T427, X740, X741)) → qs1_out_ag(.(T426, .(T428, T427)), T8)
qs1_in_ag(.(T426, .(T436, T427)), T8) → U54_ag(T426, T436, T427, T8, le100_in_aa(T426, T436))
U54_ag(T426, T436, T427, T8, le100_out_aa(T426, T436)) → U55_ag(T426, T436, T427, T8, part20_in_gaaa(T426, T427, T434, T435))
U55_ag(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U56_ag(T426, T436, T427, T8, qs80_in_aa(T434, X9))
U56_ag(T426, T436, T427, T8, qs80_out_aa(T434, X9)) → qs1_out_ag(.(T426, .(T436, T427)), T8)
U55_ag(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U57_ag(T426, T436, T427, T8, T435, qs80_in_aa(T434, T442))
U57_ag(T426, T436, T427, T8, T435, qs80_out_aa(T434, T442)) → U58_ag(T426, T436, T427, T8, p52_in_aaagg(.(T436, T435), X10, T442, T426, T8))
U58_ag(T426, T436, T427, T8, p52_out_aaagg(.(T436, T435), X10, T442, T426, T8)) → qs1_out_ag(.(T426, .(T436, T427)), T8)
qs1_in_ag(.(T452, []), T8) → U59_ag(T452, T8, qs155_in_a(X9))
qs155_in_a([]) → qs155_out_a([])
U59_ag(T452, T8, qs155_out_a(X9)) → qs1_out_ag(.(T452, []), T8)
qs1_in_ag(.(T452, []), T8) → U60_ag(T452, T8, qs155_in_a(T455))
U60_ag(T452, T8, qs155_out_a(T455)) → U61_ag(T452, T8, qs155_in_a(X10))
U61_ag(T452, T8, qs155_out_a(X10)) → qs1_out_ag(.(T452, []), T8)
U60_ag(T452, T8, qs155_out_a(T455)) → U62_ag(T452, T8, T455, qs155_in_a(T460))
U62_ag(T452, T8, T455, qs155_out_a(T460)) → U63_ag(T452, T8, app162_in_gagg(T455, T452, T460, T8))
app162_in_gagg(.(T486, T487), T491, T489, .(T486, T490)) → U36_gagg(T486, T487, T491, T489, T490, app162_in_gagg(T487, T491, T489, T490))
app162_in_gagg([], T501, T502, .(T501, T502)) → app162_out_gagg([], T501, T502, .(T501, T502))
U36_gagg(T486, T487, T491, T489, T490, app162_out_gagg(T487, T491, T489, T490)) → app162_out_gagg(.(T486, T487), T491, T489, .(T486, T490))
U63_ag(T452, T8, app162_out_gagg(T455, T452, T460, T8)) → qs1_out_ag(.(T452, []), T8)
qs1_in_ag([], []) → qs1_out_ag([], [])

The argument filtering Pi contains the following mapping:
qs1_in_ag(x1, x2)  =  qs1_in_ag(x2)
U44_ag(x1, x2, x3, x4, x5)  =  U44_ag(x4, x5)
gt10_in_aa(x1, x2)  =  gt10_in_aa
U1_aa(x1, x2, x3)  =  U1_aa(x3)
gt10_out_aa(x1, x2)  =  gt10_out_aa(x1, x2)
qs1_out_ag(x1, x2)  =  qs1_out_ag(x2)
U45_ag(x1, x2, x3, x4, x5)  =  U45_ag(x4, x5)
U46_ag(x1, x2, x3, x4, x5)  =  U46_ag(x4, x5)
part20_in_gaaa(x1, x2, x3, x4)  =  part20_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x1, x6)
gt10_in_ga(x1, x2)  =  gt10_in_ga(x1)
s(x1)  =  s(x1)
U1_ga(x1, x2, x3)  =  U1_ga(x1, x3)
0  =  0
gt10_out_ga(x1, x2)  =  gt10_out_ga(x1, x2)
part20_out_gaaa(x1, x2, x3, x4)  =  part20_out_gaaa(x1)
U3_gaaa(x1, x2, x3, x4, x5, x6)  =  U3_gaaa(x1, x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x1, x6)
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x1, x6)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U8_ga(x1, x2, x3)  =  U8_ga(x1, x3)
le33_out_ga(x1, x2)  =  le33_out_ga(x1)
U6_gaaa(x1, x2, x3, x4, x5, x6)  =  U6_gaaa(x1, x6)
U7_gaaa(x1, x2, x3, x4, x5, x6)  =  U7_gaaa(x1, x6)
U47_ag(x1, x2, x3, x4, x5)  =  U47_ag(x1, x2, x4, x5)
U48_ag(x1, x2, x3, x4, x5)  =  U48_ag(x4, x5)
qs51_in_gaa(x1, x2, x3)  =  qs51_in_gaa(x1)
U37_gaa(x1, x2, x3, x4)  =  U37_gaa(x1, x4)
p56_in_gaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_in_gaaaaaa(x1)
U9_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_gaaaaaa(x1, x8)
p56_out_gaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_out_gaaaaaa(x1)
U10_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_gaaaaaa(x1, x8)
U11_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_gaaaaaa(x1, x8)
qs59_in_aa(x1, x2)  =  qs59_in_aa
U19_aa(x1, x2, x3, x4)  =  U19_aa(x4)
p56_in_aaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_in_aaaaaaa
U9_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_aaaaaaa(x8)
part20_in_aaaa(x1, x2, x3, x4)  =  part20_in_aaaa
U2_aaaa(x1, x2, x3, x4, x5, x6)  =  U2_aaaa(x6)
part20_out_aaaa(x1, x2, x3, x4)  =  part20_out_aaaa
U3_aaaa(x1, x2, x3, x4, x5, x6)  =  U3_aaaa(x6)
U4_aaaa(x1, x2, x3, x4, x5, x6)  =  U4_aaaa(x6)
U5_aaaa(x1, x2, x3, x4, x5, x6)  =  U5_aaaa(x6)
le33_in_aa(x1, x2)  =  le33_in_aa
U8_aa(x1, x2, x3)  =  U8_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
U6_aaaa(x1, x2, x3, x4, x5, x6)  =  U6_aaaa(x6)
U7_aaaa(x1, x2, x3, x4, x5, x6)  =  U7_aaaa(x6)
p56_out_aaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_out_aaaaaaa
U10_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_aaaaaaa(x8)
U11_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_aaaaaaa(x8)
qs59_out_aa(x1, x2)  =  qs59_out_aa
U12_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_aaaaaaa(x8)
U13_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_aaaaaaa(x8)
U14_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_aaaaaaa(x8)
U15_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_aaaaaaa(x8)
U16_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_aaaaaaa(x8)
U17_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_aaaaaaa(x8)
U18_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_aaaaaaa(x8)
.(x1, x2)  =  .(x1, x2)
[]  =  []
app70_in_aaaa(x1, x2, x3, x4)  =  app70_in_aaaa
U20_aaaa(x1, x2, x3, x4, x5, x6)  =  U20_aaaa(x6)
app70_out_aaaa(x1, x2, x3, x4)  =  app70_out_aaaa
U12_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_gaaaaaa(x1, x8)
U13_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_gaaaaaa(x1, x8)
U14_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_gaaaaaa(x1, x8)
U15_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_gaaaaaa(x1, x8)
U16_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_gaaaaaa(x1, x8)
U17_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_gaaaaaa(x1, x8)
U18_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_gaaaaaa(x1, x8)
app70_in_agaa(x1, x2, x3, x4)  =  app70_in_agaa(x2)
U20_agaa(x1, x2, x3, x4, x5, x6)  =  U20_agaa(x3, x6)
app70_out_agaa(x1, x2, x3, x4)  =  app70_out_agaa(x2)
qs51_out_gaa(x1, x2, x3)  =  qs51_out_gaa(x1)
U49_ag(x1, x2, x3, x4, x5, x6)  =  U49_ag(x1, x4, x6)
U50_ag(x1, x2, x3, x4, x5)  =  U50_ag(x4, x5)
p52_in_aaagg(x1, x2, x3, x4, x5)  =  p52_in_aaagg(x4, x5)
U33_aaagg(x1, x2, x3, x4, x5, x6)  =  U33_aaagg(x4, x5, x6)
qs80_in_aa(x1, x2)  =  qs80_in_aa
U22_aa(x1, x2, x3, x4)  =  U22_aa(x4)
part87_in_aaaa(x1, x2, x3, x4)  =  part87_in_aaaa
U38_aaaa(x1, x2, x3, x4, x5, x6)  =  U38_aaaa(x6)
part87_out_aaaa(x1, x2, x3, x4)  =  part87_out_aaaa
U39_aaaa(x1, x2, x3, x4, x5, x6)  =  U39_aaaa(x6)
U40_aaaa(x1, x2, x3, x4, x5, x6)  =  U40_aaaa(x6)
U41_aaaa(x1, x2, x3, x4, x5, x6)  =  U41_aaaa(x6)
le100_in_aa(x1, x2)  =  le100_in_aa
U21_aa(x1, x2, x3)  =  U21_aa(x3)
le100_out_aa(x1, x2)  =  le100_out_aa(x1)
U42_aaaa(x1, x2, x3, x4, x5, x6)  =  U42_aaaa(x6)
U43_aaaa(x1, x2, x3, x4, x5, x6)  =  U43_aaaa(x6)
qs80_out_aa(x1, x2)  =  qs80_out_aa
U23_aa(x1, x2, x3, x4)  =  U23_aa(x4)
U24_aa(x1, x2, x3, x4)  =  U24_aa(x4)
U27_aa(x1, x2, x3, x4)  =  U27_aa(x4)
U28_aa(x1, x2, x3, x4, x5)  =  U28_aa(x5)
U29_aa(x1, x2, x3, x4, x5)  =  U29_aa(x5)
U30_aa(x1, x2, x3, x4)  =  U30_aa(x4)
app121_in_aaaa(x1, x2, x3, x4)  =  app121_in_aaaa
U31_aaaa(x1, x2, x3, x4, x5, x6)  =  U31_aaaa(x6)
app121_out_aaaa(x1, x2, x3, x4)  =  app121_out_aaaa
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
U26_aa(x1, x2, x3, x4)  =  U26_aa(x4)
p52_out_aaagg(x1, x2, x3, x4, x5)  =  p52_out_aaagg(x4, x5)
U34_aaagg(x1, x2, x3, x4, x5, x6)  =  U34_aaagg(x4, x5, x6)
U35_aaagg(x1, x2, x3, x4, x5, x6)  =  U35_aaagg(x4, x5, x6)
app81_in_agag(x1, x2, x3, x4)  =  app81_in_agag(x2, x4)
U32_agag(x1, x2, x3, x4, x5, x6)  =  U32_agag(x1, x3, x5, x6)
app81_out_agag(x1, x2, x3, x4)  =  app81_out_agag(x1, x2, x3, x4)
U51_ag(x1, x2, x3, x4, x5)  =  U51_ag(x4, x5)
U52_ag(x1, x2, x3, x4, x5)  =  U52_ag(x4, x5)
U53_ag(x1, x2, x3, x4, x5)  =  U53_ag(x4, x5)
U54_ag(x1, x2, x3, x4, x5)  =  U54_ag(x4, x5)
U55_ag(x1, x2, x3, x4, x5)  =  U55_ag(x1, x4, x5)
U56_ag(x1, x2, x3, x4, x5)  =  U56_ag(x4, x5)
U57_ag(x1, x2, x3, x4, x5, x6)  =  U57_ag(x1, x4, x6)
U58_ag(x1, x2, x3, x4, x5)  =  U58_ag(x4, x5)
U59_ag(x1, x2, x3)  =  U59_ag(x2, x3)
qs155_in_a(x1)  =  qs155_in_a
qs155_out_a(x1)  =  qs155_out_a(x1)
U60_ag(x1, x2, x3)  =  U60_ag(x2, x3)
U61_ag(x1, x2, x3)  =  U61_ag(x2, x3)
U62_ag(x1, x2, x3, x4)  =  U62_ag(x2, x3, x4)
U63_ag(x1, x2, x3)  =  U63_ag(x2, x3)
app162_in_gagg(x1, x2, x3, x4)  =  app162_in_gagg(x1, x3, x4)
U36_gagg(x1, x2, x3, x4, x5, x6)  =  U36_gagg(x1, x2, x4, x5, x6)
app162_out_gagg(x1, x2, x3, x4)  =  app162_out_gagg(x1, x2, x3, x4)
GT10_IN_AA(x1, x2)  =  GT10_IN_AA

We have to consider all (P,R,Pi)-chains

(98) UsableRulesProof (EQUIVALENT transformation)

For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R.

(99) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

GT10_IN_AA(s(T46), s(T47)) → GT10_IN_AA(T46, T47)

R is empty.
The argument filtering Pi contains the following mapping:
s(x1)  =  s(x1)
GT10_IN_AA(x1, x2)  =  GT10_IN_AA

We have to consider all (P,R,Pi)-chains

(100) PiDPToQDPProof (SOUND transformation)

Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi.

(101) Obligation:

Q DP problem:
The TRS P consists of the following rules:

GT10_IN_AAGT10_IN_AA

R is empty.
Q is empty.
We have to consider all (P,Q,R)-chains.

(102) NonTerminationProof (EQUIVALENT transformation)

We used the non-termination processor [FROCOS05] to show that the DP problem is infinite.
Found a loop by semiunifying a rule from P directly.

s = GT10_IN_AA evaluates to t =GT10_IN_AA

Thus s starts an infinite chain as s semiunifies with t with the following substitutions:
  • Matcher: [ ]
  • Semiunifier: [ ]




Rewriting sequence

The DP semiunifies directly so there is only one rewrite step from GT10_IN_AA to GT10_IN_AA.



(103) NO

(104) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

QS80_IN_AA(.(T237, T231), X452) → U23_AA(T237, T231, X452, part87_in_aaaa(T237, T231, T235, T236))
U23_AA(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → QS80_IN_AA(T235, X450)
QS80_IN_AA(.(T325, T231), X452) → U27_AA(T325, T231, X452, part87_in_aaaa(T325, T231, T235, T236))
U27_AA(T325, T231, X452, part87_out_aaaa(T325, T231, T235, T236)) → U28_AA(T325, T231, X452, T236, qs80_in_aa(T235, T319))
U28_AA(T325, T231, X452, T236, qs80_out_aa(T235, T319)) → QS80_IN_AA(T236, T324)
U27_AA(T325, T231, X452, part87_out_aaaa(T325, T231, T235, T236)) → QS80_IN_AA(T235, T319)
U23_AA(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U25_AA(T237, T231, X452, T236, qs80_in_aa(T235, T319))
U25_AA(T237, T231, X452, T236, qs80_out_aa(T235, T319)) → QS80_IN_AA(T236, X451)

The TRS R consists of the following rules:

qs1_in_ag(.(T26, .(T27, T28)), T8) → U44_ag(T26, T27, T28, T8, gt10_in_aa(T26, T27))
gt10_in_aa(s(T46), s(T47)) → U1_aa(T46, T47, gt10_in_aa(T46, T47))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U1_aa(T46, T47, gt10_out_aa(T46, T47)) → gt10_out_aa(s(T46), s(T47))
U44_ag(T26, T27, T28, T8, gt10_out_aa(T26, T27)) → qs1_out_ag(.(T26, .(T27, T28)), T8)
qs1_in_ag(.(T31, .(T33, T32)), T8) → U45_ag(T31, T33, T32, T8, gt10_in_aa(T31, T33))
U45_ag(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U46_ag(T31, T33, T32, T8, part20_in_gaaa(T31, T32, X47, X48))
part20_in_gaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_gaaa(T70, T73, T74, X119, X120, gt10_in_ga(T70, T73))
gt10_in_ga(s(T46), s(T47)) → U1_ga(T46, T47, gt10_in_ga(T46, T47))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U1_ga(T46, T47, gt10_out_ga(T46, T47)) → gt10_out_ga(s(T46), s(T47))
U2_gaaa(T70, T73, T74, X119, X120, gt10_out_ga(T70, T73)) → part20_out_gaaa(T70, .(T73, T74), .(T73, X119), X120)
part20_in_gaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_gaaa(T70, T73, T77, X119, X120, gt10_in_ga(T70, T73))
U3_gaaa(T70, T73, T77, X119, X120, gt10_out_ga(T70, T73)) → U4_gaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
part20_in_gaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_gaaa(T95, T98, T99, X170, X171, le33_in_ga(T95, T98))
le33_in_ga(s(T113), s(T115)) → U8_ga(T113, T115, le33_in_ga(T113, T115))
le33_in_ga(0, s(T122)) → le33_out_ga(0, s(T122))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U8_ga(T113, T115, le33_out_ga(T113, T115)) → le33_out_ga(s(T113), s(T115))
U5_gaaa(T95, T98, T99, X170, X171, le33_out_ga(T95, T98)) → part20_out_gaaa(T95, .(T98, T99), X170, .(T98, X171))
part20_in_gaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_gaaa(T95, T98, T102, X170, X171, le33_in_ga(T95, T98))
U6_gaaa(T95, T98, T102, X170, X171, le33_out_ga(T95, T98)) → U7_gaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
part20_in_gaaa(T128, [], [], []) → part20_out_gaaa(T128, [], [], [])
U7_gaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_gaaa(T95, .(T98, T102), X170, .(T98, X171))
U4_gaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_gaaa(T70, .(T73, T77), .(T73, X119), X120)
U46_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, X47, X48)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
U45_ag(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U47_ag(T31, T33, T32, T8, part20_in_gaaa(T31, T32, T53, T54))
U47_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U48_ag(T31, T33, T32, T8, qs51_in_gaa(T33, T53, X9))
qs51_in_gaa(T148, T149, X273) → U37_gaa(T148, T149, X273, p56_in_gaaaaaa(T148, T149, X269, X270, X271, X272, X273))
p56_in_gaaaaaa(T148, T149, X269, X270, X271, X272, X273) → U9_gaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_in_gaaa(T148, T149, X269, X270))
U9_gaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_out_gaaa(T148, T149, X269, X270)) → p56_out_gaaaaaa(T148, T149, X269, X270, X271, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, X271, X272, X273) → U10_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U10_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U11_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
qs59_in_aa(.(T171, T172), X335) → U19_aa(T171, T172, X335, p56_in_aaaaaaa(T171, T172, X331, X332, X333, X334, X335))
p56_in_aaaaaaa(T148, T149, X269, X270, X271, X272, X273) → U9_aaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_in_aaaa(T148, T149, X269, X270))
part20_in_aaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_aaaa(T70, T73, T74, X119, X120, gt10_in_aa(T70, T73))
U2_aaaa(T70, T73, T74, X119, X120, gt10_out_aa(T70, T73)) → part20_out_aaaa(T70, .(T73, T74), .(T73, X119), X120)
part20_in_aaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_aaaa(T70, T73, T77, X119, X120, gt10_in_aa(T70, T73))
U3_aaaa(T70, T73, T77, X119, X120, gt10_out_aa(T70, T73)) → U4_aaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
U4_aaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_aaaa(T70, .(T73, T77), .(T73, X119), X120)
part20_in_aaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_aaaa(T95, T98, T99, X170, X171, le33_in_aa(T95, T98))
le33_in_aa(s(T113), s(T115)) → U8_aa(T113, T115, le33_in_aa(T113, T115))
le33_in_aa(0, s(T122)) → le33_out_aa(0, s(T122))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U8_aa(T113, T115, le33_out_aa(T113, T115)) → le33_out_aa(s(T113), s(T115))
U5_aaaa(T95, T98, T99, X170, X171, le33_out_aa(T95, T98)) → part20_out_aaaa(T95, .(T98, T99), X170, .(T98, X171))
part20_in_aaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_aaaa(T95, T98, T102, X170, X171, le33_in_aa(T95, T98))
U6_aaaa(T95, T98, T102, X170, X171, le33_out_aa(T95, T98)) → U7_aaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
U7_aaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_aaaa(T95, .(T98, T102), X170, .(T98, X171))
part20_in_aaaa(T128, [], [], []) → part20_out_aaaa(T128, [], [], [])
U9_aaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_out_aaaa(T148, T149, X269, X270)) → p56_out_aaaaaaa(T148, T149, X269, X270, X271, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, X271, X272, X273) → U10_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U10_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U11_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
qs59_in_aa([], []) → qs59_out_aa([], [])
U11_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_out_aa(T153, X271)) → p56_out_aaaaaaa(T148, T149, T153, T154, X271, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, T160, X272, X273) → U12_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U12_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U13_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U13_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U14_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T154, X272)) → p56_out_aaaaaaa(T148, T149, T153, T154, T160, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, T160, T178, X273) → U15_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_in_aaaa(T148, T149, T153, T154))
U15_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_out_aaaa(T148, T149, T153, T154)) → U16_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U16_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U17_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_in_aaaa(T160, T148, T178, X273))
app70_in_aaaa(.(T201, T202), T203, T204, .(T201, X391)) → U20_aaaa(T201, T202, T203, T204, X391, app70_in_aaaa(T202, T203, T204, X391))
app70_in_aaaa([], T213, T214, .(T213, T214)) → app70_out_aaaa([], T213, T214, .(T213, T214))
U20_aaaa(T201, T202, T203, T204, X391, app70_out_aaaa(T202, T203, T204, X391)) → app70_out_aaaa(.(T201, T202), T203, T204, .(T201, X391))
U18_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_out_aaaa(T160, T148, T178, X273)) → p56_out_aaaaaaa(T148, T149, T153, T154, T160, T178, X273)
U19_aa(T171, T172, X335, p56_out_aaaaaaa(T171, T172, X331, X332, X333, X334, X335)) → qs59_out_aa(.(T171, T172), X335)
U11_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_out_aa(T153, X271)) → p56_out_gaaaaaa(T148, T149, T153, T154, X271, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, T160, X272, X273) → U12_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U12_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U13_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U13_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U14_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T154, X272)) → p56_out_gaaaaaa(T148, T149, T153, T154, T160, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, T160, T178, X273) → U15_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_in_gaaa(T148, T149, T153, T154))
U15_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_out_gaaa(T148, T149, T153, T154)) → U16_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U16_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U17_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_in_agaa(T160, T148, T178, X273))
app70_in_agaa(.(T201, T202), T203, T204, .(T201, X391)) → U20_agaa(T201, T202, T203, T204, X391, app70_in_agaa(T202, T203, T204, X391))
app70_in_agaa([], T213, T214, .(T213, T214)) → app70_out_agaa([], T213, T214, .(T213, T214))
U20_agaa(T201, T202, T203, T204, X391, app70_out_agaa(T202, T203, T204, X391)) → app70_out_agaa(.(T201, T202), T203, T204, .(T201, X391))
U18_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_out_agaa(T160, T148, T178, X273)) → p56_out_gaaaaaa(T148, T149, T153, T154, T160, T178, X273)
U37_gaa(T148, T149, X273, p56_out_gaaaaaa(T148, T149, X269, X270, X271, X272, X273)) → qs51_out_gaa(T148, T149, X273)
U48_ag(T31, T33, T32, T8, qs51_out_gaa(T33, T53, X9)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
U47_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U49_ag(T31, T33, T32, T8, T54, qs51_in_gaa(T33, T53, T131))
U49_ag(T31, T33, T32, T8, T54, qs51_out_gaa(T33, T53, T131)) → U50_ag(T31, T33, T32, T8, p52_in_aaagg(T54, X10, T131, T31, T8))
p52_in_aaagg(T54, X10, T131, T31, T8) → U33_aaagg(T54, X10, T131, T31, T8, qs80_in_aa(T54, X10))
qs80_in_aa(.(T230, T231), X452) → U22_aa(T230, T231, X452, part87_in_aaaa(T230, T231, X448, X449))
part87_in_aaaa(T256, .(T257, T258), .(T257, X503), X504) → U38_aaaa(T256, T257, T258, X503, X504, gt10_in_aa(T256, T257))
U38_aaaa(T256, T257, T258, X503, X504, gt10_out_aa(T256, T257)) → part87_out_aaaa(T256, .(T257, T258), .(T257, X503), X504)
part87_in_aaaa(T261, .(T257, T262), .(T257, X503), X504) → U39_aaaa(T261, T257, T262, X503, X504, gt10_in_aa(T261, T257))
U39_aaaa(T261, T257, T262, X503, X504, gt10_out_aa(T261, T257)) → U40_aaaa(T261, T257, T262, X503, X504, part20_in_gaaa(T261, T262, X503, X504))
U40_aaaa(T261, T257, T262, X503, X504, part20_out_gaaa(T261, T262, X503, X504)) → part87_out_aaaa(T261, .(T257, T262), .(T257, X503), X504)
part87_in_aaaa(T283, .(T284, T285), X554, .(T284, X555)) → U41_aaaa(T283, T284, T285, X554, X555, le100_in_aa(T283, T284))
le100_in_aa(s(T302), s(T303)) → U21_aa(T302, T303, le100_in_aa(T302, T303))
le100_in_aa(0, s(T310)) → le100_out_aa(0, s(T310))
le100_in_aa(0, 0) → le100_out_aa(0, 0)
U21_aa(T302, T303, le100_out_aa(T302, T303)) → le100_out_aa(s(T302), s(T303))
U41_aaaa(T283, T284, T285, X554, X555, le100_out_aa(T283, T284)) → part87_out_aaaa(T283, .(T284, T285), X554, .(T284, X555))
part87_in_aaaa(T288, .(T284, T289), X554, .(T284, X555)) → U42_aaaa(T288, T284, T289, X554, X555, le100_in_aa(T288, T284))
U42_aaaa(T288, T284, T289, X554, X555, le100_out_aa(T288, T284)) → U43_aaaa(T288, T284, T289, X554, X555, part20_in_gaaa(T288, T289, X554, X555))
U43_aaaa(T288, T284, T289, X554, X555, part20_out_gaaa(T288, T289, X554, X555)) → part87_out_aaaa(T288, .(T284, T289), X554, .(T284, X555))
part87_in_aaaa(T316, [], [], []) → part87_out_aaaa(T316, [], [], [])
U22_aa(T230, T231, X452, part87_out_aaaa(T230, T231, X448, X449)) → qs80_out_aa(.(T230, T231), X452)
qs80_in_aa(.(T237, T231), X452) → U23_aa(T237, T231, X452, part87_in_aaaa(T237, T231, T235, T236))
U23_aa(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U24_aa(T237, T231, X452, qs80_in_aa(T235, X450))
qs80_in_aa(.(T325, T231), X452) → U27_aa(T325, T231, X452, part87_in_aaaa(T325, T231, T235, T236))
U27_aa(T325, T231, X452, part87_out_aaaa(T325, T231, T235, T236)) → U28_aa(T325, T231, X452, T236, qs80_in_aa(T235, T319))
qs80_in_aa([], []) → qs80_out_aa([], [])
U28_aa(T325, T231, X452, T236, qs80_out_aa(T235, T319)) → U29_aa(T325, T231, X452, T319, qs80_in_aa(T236, T324))
U29_aa(T325, T231, X452, T319, qs80_out_aa(T236, T324)) → U30_aa(T325, T231, X452, app121_in_aaaa(T319, T325, T324, X452))
app121_in_aaaa(.(T348, T349), T352, T353, .(T348, X657)) → U31_aaaa(T348, T349, T352, T353, X657, app121_in_aaaa(T349, T352, T353, X657))
app121_in_aaaa([], T362, T363, .(T362, T363)) → app121_out_aaaa([], T362, T363, .(T362, T363))
U31_aaaa(T348, T349, T352, T353, X657, app121_out_aaaa(T349, T352, T353, X657)) → app121_out_aaaa(.(T348, T349), T352, T353, .(T348, X657))
U30_aa(T325, T231, X452, app121_out_aaaa(T319, T325, T324, X452)) → qs80_out_aa(.(T325, T231), X452)
U24_aa(T237, T231, X452, qs80_out_aa(T235, X450)) → qs80_out_aa(.(T237, T231), X452)
U23_aa(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U25_aa(T237, T231, X452, T236, qs80_in_aa(T235, T319))
U25_aa(T237, T231, X452, T236, qs80_out_aa(T235, T319)) → U26_aa(T237, T231, X452, qs80_in_aa(T236, X451))
U26_aa(T237, T231, X452, qs80_out_aa(T236, X451)) → qs80_out_aa(.(T237, T231), X452)
U33_aaagg(T54, X10, T131, T31, T8, qs80_out_aa(T54, X10)) → p52_out_aaagg(T54, X10, T131, T31, T8)
p52_in_aaagg(T54, T217, T131, T31, T8) → U34_aaagg(T54, T217, T131, T31, T8, qs80_in_aa(T54, T217))
U34_aaagg(T54, T217, T131, T31, T8, qs80_out_aa(T54, T217)) → U35_aaagg(T54, T217, T131, T31, T8, app81_in_agag(T131, T31, T217, T8))
app81_in_agag(.(T389, T390), T391, T394, .(T389, T393)) → U32_agag(T389, T390, T391, T394, T393, app81_in_agag(T390, T391, T394, T393))
app81_in_agag([], T404, T405, .(T404, T405)) → app81_out_agag([], T404, T405, .(T404, T405))
U32_agag(T389, T390, T391, T394, T393, app81_out_agag(T390, T391, T394, T393)) → app81_out_agag(.(T389, T390), T391, T394, .(T389, T393))
U35_aaagg(T54, T217, T131, T31, T8, app81_out_agag(T131, T31, T217, T8)) → p52_out_aaagg(T54, T217, T131, T31, T8)
U50_ag(T31, T33, T32, T8, p52_out_aaagg(T54, X10, T131, T31, T8)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
qs1_in_ag(.(T421, .(T422, T423)), T8) → U51_ag(T421, T422, T423, T8, le100_in_aa(T421, T422))
U51_ag(T421, T422, T423, T8, le100_out_aa(T421, T422)) → qs1_out_ag(.(T421, .(T422, T423)), T8)
qs1_in_ag(.(T426, .(T428, T427)), T8) → U52_ag(T426, T428, T427, T8, le100_in_aa(T426, T428))
U52_ag(T426, T428, T427, T8, le100_out_aa(T426, T428)) → U53_ag(T426, T428, T427, T8, part20_in_gaaa(T426, T427, X740, X741))
U53_ag(T426, T428, T427, T8, part20_out_gaaa(T426, T427, X740, X741)) → qs1_out_ag(.(T426, .(T428, T427)), T8)
qs1_in_ag(.(T426, .(T436, T427)), T8) → U54_ag(T426, T436, T427, T8, le100_in_aa(T426, T436))
U54_ag(T426, T436, T427, T8, le100_out_aa(T426, T436)) → U55_ag(T426, T436, T427, T8, part20_in_gaaa(T426, T427, T434, T435))
U55_ag(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U56_ag(T426, T436, T427, T8, qs80_in_aa(T434, X9))
U56_ag(T426, T436, T427, T8, qs80_out_aa(T434, X9)) → qs1_out_ag(.(T426, .(T436, T427)), T8)
U55_ag(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U57_ag(T426, T436, T427, T8, T435, qs80_in_aa(T434, T442))
U57_ag(T426, T436, T427, T8, T435, qs80_out_aa(T434, T442)) → U58_ag(T426, T436, T427, T8, p52_in_aaagg(.(T436, T435), X10, T442, T426, T8))
U58_ag(T426, T436, T427, T8, p52_out_aaagg(.(T436, T435), X10, T442, T426, T8)) → qs1_out_ag(.(T426, .(T436, T427)), T8)
qs1_in_ag(.(T452, []), T8) → U59_ag(T452, T8, qs155_in_a(X9))
qs155_in_a([]) → qs155_out_a([])
U59_ag(T452, T8, qs155_out_a(X9)) → qs1_out_ag(.(T452, []), T8)
qs1_in_ag(.(T452, []), T8) → U60_ag(T452, T8, qs155_in_a(T455))
U60_ag(T452, T8, qs155_out_a(T455)) → U61_ag(T452, T8, qs155_in_a(X10))
U61_ag(T452, T8, qs155_out_a(X10)) → qs1_out_ag(.(T452, []), T8)
U60_ag(T452, T8, qs155_out_a(T455)) → U62_ag(T452, T8, T455, qs155_in_a(T460))
U62_ag(T452, T8, T455, qs155_out_a(T460)) → U63_ag(T452, T8, app162_in_gagg(T455, T452, T460, T8))
app162_in_gagg(.(T486, T487), T491, T489, .(T486, T490)) → U36_gagg(T486, T487, T491, T489, T490, app162_in_gagg(T487, T491, T489, T490))
app162_in_gagg([], T501, T502, .(T501, T502)) → app162_out_gagg([], T501, T502, .(T501, T502))
U36_gagg(T486, T487, T491, T489, T490, app162_out_gagg(T487, T491, T489, T490)) → app162_out_gagg(.(T486, T487), T491, T489, .(T486, T490))
U63_ag(T452, T8, app162_out_gagg(T455, T452, T460, T8)) → qs1_out_ag(.(T452, []), T8)
qs1_in_ag([], []) → qs1_out_ag([], [])

The argument filtering Pi contains the following mapping:
qs1_in_ag(x1, x2)  =  qs1_in_ag(x2)
U44_ag(x1, x2, x3, x4, x5)  =  U44_ag(x4, x5)
gt10_in_aa(x1, x2)  =  gt10_in_aa
U1_aa(x1, x2, x3)  =  U1_aa(x3)
gt10_out_aa(x1, x2)  =  gt10_out_aa(x1, x2)
qs1_out_ag(x1, x2)  =  qs1_out_ag(x2)
U45_ag(x1, x2, x3, x4, x5)  =  U45_ag(x4, x5)
U46_ag(x1, x2, x3, x4, x5)  =  U46_ag(x4, x5)
part20_in_gaaa(x1, x2, x3, x4)  =  part20_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x1, x6)
gt10_in_ga(x1, x2)  =  gt10_in_ga(x1)
s(x1)  =  s(x1)
U1_ga(x1, x2, x3)  =  U1_ga(x1, x3)
0  =  0
gt10_out_ga(x1, x2)  =  gt10_out_ga(x1, x2)
part20_out_gaaa(x1, x2, x3, x4)  =  part20_out_gaaa(x1)
U3_gaaa(x1, x2, x3, x4, x5, x6)  =  U3_gaaa(x1, x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x1, x6)
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x1, x6)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U8_ga(x1, x2, x3)  =  U8_ga(x1, x3)
le33_out_ga(x1, x2)  =  le33_out_ga(x1)
U6_gaaa(x1, x2, x3, x4, x5, x6)  =  U6_gaaa(x1, x6)
U7_gaaa(x1, x2, x3, x4, x5, x6)  =  U7_gaaa(x1, x6)
U47_ag(x1, x2, x3, x4, x5)  =  U47_ag(x1, x2, x4, x5)
U48_ag(x1, x2, x3, x4, x5)  =  U48_ag(x4, x5)
qs51_in_gaa(x1, x2, x3)  =  qs51_in_gaa(x1)
U37_gaa(x1, x2, x3, x4)  =  U37_gaa(x1, x4)
p56_in_gaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_in_gaaaaaa(x1)
U9_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_gaaaaaa(x1, x8)
p56_out_gaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_out_gaaaaaa(x1)
U10_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_gaaaaaa(x1, x8)
U11_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_gaaaaaa(x1, x8)
qs59_in_aa(x1, x2)  =  qs59_in_aa
U19_aa(x1, x2, x3, x4)  =  U19_aa(x4)
p56_in_aaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_in_aaaaaaa
U9_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_aaaaaaa(x8)
part20_in_aaaa(x1, x2, x3, x4)  =  part20_in_aaaa
U2_aaaa(x1, x2, x3, x4, x5, x6)  =  U2_aaaa(x6)
part20_out_aaaa(x1, x2, x3, x4)  =  part20_out_aaaa
U3_aaaa(x1, x2, x3, x4, x5, x6)  =  U3_aaaa(x6)
U4_aaaa(x1, x2, x3, x4, x5, x6)  =  U4_aaaa(x6)
U5_aaaa(x1, x2, x3, x4, x5, x6)  =  U5_aaaa(x6)
le33_in_aa(x1, x2)  =  le33_in_aa
U8_aa(x1, x2, x3)  =  U8_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
U6_aaaa(x1, x2, x3, x4, x5, x6)  =  U6_aaaa(x6)
U7_aaaa(x1, x2, x3, x4, x5, x6)  =  U7_aaaa(x6)
p56_out_aaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_out_aaaaaaa
U10_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_aaaaaaa(x8)
U11_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_aaaaaaa(x8)
qs59_out_aa(x1, x2)  =  qs59_out_aa
U12_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_aaaaaaa(x8)
U13_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_aaaaaaa(x8)
U14_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_aaaaaaa(x8)
U15_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_aaaaaaa(x8)
U16_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_aaaaaaa(x8)
U17_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_aaaaaaa(x8)
U18_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_aaaaaaa(x8)
.(x1, x2)  =  .(x1, x2)
[]  =  []
app70_in_aaaa(x1, x2, x3, x4)  =  app70_in_aaaa
U20_aaaa(x1, x2, x3, x4, x5, x6)  =  U20_aaaa(x6)
app70_out_aaaa(x1, x2, x3, x4)  =  app70_out_aaaa
U12_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_gaaaaaa(x1, x8)
U13_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_gaaaaaa(x1, x8)
U14_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_gaaaaaa(x1, x8)
U15_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_gaaaaaa(x1, x8)
U16_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_gaaaaaa(x1, x8)
U17_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_gaaaaaa(x1, x8)
U18_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_gaaaaaa(x1, x8)
app70_in_agaa(x1, x2, x3, x4)  =  app70_in_agaa(x2)
U20_agaa(x1, x2, x3, x4, x5, x6)  =  U20_agaa(x3, x6)
app70_out_agaa(x1, x2, x3, x4)  =  app70_out_agaa(x2)
qs51_out_gaa(x1, x2, x3)  =  qs51_out_gaa(x1)
U49_ag(x1, x2, x3, x4, x5, x6)  =  U49_ag(x1, x4, x6)
U50_ag(x1, x2, x3, x4, x5)  =  U50_ag(x4, x5)
p52_in_aaagg(x1, x2, x3, x4, x5)  =  p52_in_aaagg(x4, x5)
U33_aaagg(x1, x2, x3, x4, x5, x6)  =  U33_aaagg(x4, x5, x6)
qs80_in_aa(x1, x2)  =  qs80_in_aa
U22_aa(x1, x2, x3, x4)  =  U22_aa(x4)
part87_in_aaaa(x1, x2, x3, x4)  =  part87_in_aaaa
U38_aaaa(x1, x2, x3, x4, x5, x6)  =  U38_aaaa(x6)
part87_out_aaaa(x1, x2, x3, x4)  =  part87_out_aaaa
U39_aaaa(x1, x2, x3, x4, x5, x6)  =  U39_aaaa(x6)
U40_aaaa(x1, x2, x3, x4, x5, x6)  =  U40_aaaa(x6)
U41_aaaa(x1, x2, x3, x4, x5, x6)  =  U41_aaaa(x6)
le100_in_aa(x1, x2)  =  le100_in_aa
U21_aa(x1, x2, x3)  =  U21_aa(x3)
le100_out_aa(x1, x2)  =  le100_out_aa(x1)
U42_aaaa(x1, x2, x3, x4, x5, x6)  =  U42_aaaa(x6)
U43_aaaa(x1, x2, x3, x4, x5, x6)  =  U43_aaaa(x6)
qs80_out_aa(x1, x2)  =  qs80_out_aa
U23_aa(x1, x2, x3, x4)  =  U23_aa(x4)
U24_aa(x1, x2, x3, x4)  =  U24_aa(x4)
U27_aa(x1, x2, x3, x4)  =  U27_aa(x4)
U28_aa(x1, x2, x3, x4, x5)  =  U28_aa(x5)
U29_aa(x1, x2, x3, x4, x5)  =  U29_aa(x5)
U30_aa(x1, x2, x3, x4)  =  U30_aa(x4)
app121_in_aaaa(x1, x2, x3, x4)  =  app121_in_aaaa
U31_aaaa(x1, x2, x3, x4, x5, x6)  =  U31_aaaa(x6)
app121_out_aaaa(x1, x2, x3, x4)  =  app121_out_aaaa
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
U26_aa(x1, x2, x3, x4)  =  U26_aa(x4)
p52_out_aaagg(x1, x2, x3, x4, x5)  =  p52_out_aaagg(x4, x5)
U34_aaagg(x1, x2, x3, x4, x5, x6)  =  U34_aaagg(x4, x5, x6)
U35_aaagg(x1, x2, x3, x4, x5, x6)  =  U35_aaagg(x4, x5, x6)
app81_in_agag(x1, x2, x3, x4)  =  app81_in_agag(x2, x4)
U32_agag(x1, x2, x3, x4, x5, x6)  =  U32_agag(x1, x3, x5, x6)
app81_out_agag(x1, x2, x3, x4)  =  app81_out_agag(x1, x2, x3, x4)
U51_ag(x1, x2, x3, x4, x5)  =  U51_ag(x4, x5)
U52_ag(x1, x2, x3, x4, x5)  =  U52_ag(x4, x5)
U53_ag(x1, x2, x3, x4, x5)  =  U53_ag(x4, x5)
U54_ag(x1, x2, x3, x4, x5)  =  U54_ag(x4, x5)
U55_ag(x1, x2, x3, x4, x5)  =  U55_ag(x1, x4, x5)
U56_ag(x1, x2, x3, x4, x5)  =  U56_ag(x4, x5)
U57_ag(x1, x2, x3, x4, x5, x6)  =  U57_ag(x1, x4, x6)
U58_ag(x1, x2, x3, x4, x5)  =  U58_ag(x4, x5)
U59_ag(x1, x2, x3)  =  U59_ag(x2, x3)
qs155_in_a(x1)  =  qs155_in_a
qs155_out_a(x1)  =  qs155_out_a(x1)
U60_ag(x1, x2, x3)  =  U60_ag(x2, x3)
U61_ag(x1, x2, x3)  =  U61_ag(x2, x3)
U62_ag(x1, x2, x3, x4)  =  U62_ag(x2, x3, x4)
U63_ag(x1, x2, x3)  =  U63_ag(x2, x3)
app162_in_gagg(x1, x2, x3, x4)  =  app162_in_gagg(x1, x3, x4)
U36_gagg(x1, x2, x3, x4, x5, x6)  =  U36_gagg(x1, x2, x4, x5, x6)
app162_out_gagg(x1, x2, x3, x4)  =  app162_out_gagg(x1, x2, x3, x4)
QS80_IN_AA(x1, x2)  =  QS80_IN_AA
U23_AA(x1, x2, x3, x4)  =  U23_AA(x4)
U27_AA(x1, x2, x3, x4)  =  U27_AA(x4)
U28_AA(x1, x2, x3, x4, x5)  =  U28_AA(x5)
U25_AA(x1, x2, x3, x4, x5)  =  U25_AA(x5)

We have to consider all (P,R,Pi)-chains

(105) UsableRulesProof (EQUIVALENT transformation)

For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R.

(106) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

QS80_IN_AA(.(T237, T231), X452) → U23_AA(T237, T231, X452, part87_in_aaaa(T237, T231, T235, T236))
U23_AA(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → QS80_IN_AA(T235, X450)
QS80_IN_AA(.(T325, T231), X452) → U27_AA(T325, T231, X452, part87_in_aaaa(T325, T231, T235, T236))
U27_AA(T325, T231, X452, part87_out_aaaa(T325, T231, T235, T236)) → U28_AA(T325, T231, X452, T236, qs80_in_aa(T235, T319))
U28_AA(T325, T231, X452, T236, qs80_out_aa(T235, T319)) → QS80_IN_AA(T236, T324)
U27_AA(T325, T231, X452, part87_out_aaaa(T325, T231, T235, T236)) → QS80_IN_AA(T235, T319)
U23_AA(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U25_AA(T237, T231, X452, T236, qs80_in_aa(T235, T319))
U25_AA(T237, T231, X452, T236, qs80_out_aa(T235, T319)) → QS80_IN_AA(T236, X451)

The TRS R consists of the following rules:

part87_in_aaaa(T256, .(T257, T258), .(T257, X503), X504) → U38_aaaa(T256, T257, T258, X503, X504, gt10_in_aa(T256, T257))
part87_in_aaaa(T261, .(T257, T262), .(T257, X503), X504) → U39_aaaa(T261, T257, T262, X503, X504, gt10_in_aa(T261, T257))
part87_in_aaaa(T283, .(T284, T285), X554, .(T284, X555)) → U41_aaaa(T283, T284, T285, X554, X555, le100_in_aa(T283, T284))
part87_in_aaaa(T288, .(T284, T289), X554, .(T284, X555)) → U42_aaaa(T288, T284, T289, X554, X555, le100_in_aa(T288, T284))
part87_in_aaaa(T316, [], [], []) → part87_out_aaaa(T316, [], [], [])
qs80_in_aa(.(T230, T231), X452) → U22_aa(T230, T231, X452, part87_in_aaaa(T230, T231, X448, X449))
qs80_in_aa(.(T237, T231), X452) → U23_aa(T237, T231, X452, part87_in_aaaa(T237, T231, T235, T236))
qs80_in_aa(.(T325, T231), X452) → U27_aa(T325, T231, X452, part87_in_aaaa(T325, T231, T235, T236))
qs80_in_aa([], []) → qs80_out_aa([], [])
U38_aaaa(T256, T257, T258, X503, X504, gt10_out_aa(T256, T257)) → part87_out_aaaa(T256, .(T257, T258), .(T257, X503), X504)
U39_aaaa(T261, T257, T262, X503, X504, gt10_out_aa(T261, T257)) → U40_aaaa(T261, T257, T262, X503, X504, part20_in_gaaa(T261, T262, X503, X504))
U41_aaaa(T283, T284, T285, X554, X555, le100_out_aa(T283, T284)) → part87_out_aaaa(T283, .(T284, T285), X554, .(T284, X555))
U42_aaaa(T288, T284, T289, X554, X555, le100_out_aa(T288, T284)) → U43_aaaa(T288, T284, T289, X554, X555, part20_in_gaaa(T288, T289, X554, X555))
U22_aa(T230, T231, X452, part87_out_aaaa(T230, T231, X448, X449)) → qs80_out_aa(.(T230, T231), X452)
U23_aa(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U24_aa(T237, T231, X452, qs80_in_aa(T235, X450))
U23_aa(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U25_aa(T237, T231, X452, T236, qs80_in_aa(T235, T319))
U27_aa(T325, T231, X452, part87_out_aaaa(T325, T231, T235, T236)) → U28_aa(T325, T231, X452, T236, qs80_in_aa(T235, T319))
gt10_in_aa(s(T46), s(T47)) → U1_aa(T46, T47, gt10_in_aa(T46, T47))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U40_aaaa(T261, T257, T262, X503, X504, part20_out_gaaa(T261, T262, X503, X504)) → part87_out_aaaa(T261, .(T257, T262), .(T257, X503), X504)
le100_in_aa(s(T302), s(T303)) → U21_aa(T302, T303, le100_in_aa(T302, T303))
le100_in_aa(0, s(T310)) → le100_out_aa(0, s(T310))
le100_in_aa(0, 0) → le100_out_aa(0, 0)
U43_aaaa(T288, T284, T289, X554, X555, part20_out_gaaa(T288, T289, X554, X555)) → part87_out_aaaa(T288, .(T284, T289), X554, .(T284, X555))
U24_aa(T237, T231, X452, qs80_out_aa(T235, X450)) → qs80_out_aa(.(T237, T231), X452)
U25_aa(T237, T231, X452, T236, qs80_out_aa(T235, T319)) → U26_aa(T237, T231, X452, qs80_in_aa(T236, X451))
U28_aa(T325, T231, X452, T236, qs80_out_aa(T235, T319)) → U29_aa(T325, T231, X452, T319, qs80_in_aa(T236, T324))
U1_aa(T46, T47, gt10_out_aa(T46, T47)) → gt10_out_aa(s(T46), s(T47))
part20_in_gaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_gaaa(T70, T73, T74, X119, X120, gt10_in_ga(T70, T73))
part20_in_gaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_gaaa(T70, T73, T77, X119, X120, gt10_in_ga(T70, T73))
part20_in_gaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_gaaa(T95, T98, T99, X170, X171, le33_in_ga(T95, T98))
part20_in_gaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_gaaa(T95, T98, T102, X170, X171, le33_in_ga(T95, T98))
part20_in_gaaa(T128, [], [], []) → part20_out_gaaa(T128, [], [], [])
U21_aa(T302, T303, le100_out_aa(T302, T303)) → le100_out_aa(s(T302), s(T303))
U26_aa(T237, T231, X452, qs80_out_aa(T236, X451)) → qs80_out_aa(.(T237, T231), X452)
U29_aa(T325, T231, X452, T319, qs80_out_aa(T236, T324)) → U30_aa(T325, T231, X452, app121_in_aaaa(T319, T325, T324, X452))
U2_gaaa(T70, T73, T74, X119, X120, gt10_out_ga(T70, T73)) → part20_out_gaaa(T70, .(T73, T74), .(T73, X119), X120)
U3_gaaa(T70, T73, T77, X119, X120, gt10_out_ga(T70, T73)) → U4_gaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
U5_gaaa(T95, T98, T99, X170, X171, le33_out_ga(T95, T98)) → part20_out_gaaa(T95, .(T98, T99), X170, .(T98, X171))
U6_gaaa(T95, T98, T102, X170, X171, le33_out_ga(T95, T98)) → U7_gaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
U30_aa(T325, T231, X452, app121_out_aaaa(T319, T325, T324, X452)) → qs80_out_aa(.(T325, T231), X452)
gt10_in_ga(s(T46), s(T47)) → U1_ga(T46, T47, gt10_in_ga(T46, T47))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U4_gaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_gaaa(T70, .(T73, T77), .(T73, X119), X120)
le33_in_ga(s(T113), s(T115)) → U8_ga(T113, T115, le33_in_ga(T113, T115))
le33_in_ga(0, s(T122)) → le33_out_ga(0, s(T122))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U7_gaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_gaaa(T95, .(T98, T102), X170, .(T98, X171))
app121_in_aaaa(.(T348, T349), T352, T353, .(T348, X657)) → U31_aaaa(T348, T349, T352, T353, X657, app121_in_aaaa(T349, T352, T353, X657))
app121_in_aaaa([], T362, T363, .(T362, T363)) → app121_out_aaaa([], T362, T363, .(T362, T363))
U1_ga(T46, T47, gt10_out_ga(T46, T47)) → gt10_out_ga(s(T46), s(T47))
U8_ga(T113, T115, le33_out_ga(T113, T115)) → le33_out_ga(s(T113), s(T115))
U31_aaaa(T348, T349, T352, T353, X657, app121_out_aaaa(T349, T352, T353, X657)) → app121_out_aaaa(.(T348, T349), T352, T353, .(T348, X657))

The argument filtering Pi contains the following mapping:
gt10_in_aa(x1, x2)  =  gt10_in_aa
U1_aa(x1, x2, x3)  =  U1_aa(x3)
gt10_out_aa(x1, x2)  =  gt10_out_aa(x1, x2)
part20_in_gaaa(x1, x2, x3, x4)  =  part20_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x1, x6)
gt10_in_ga(x1, x2)  =  gt10_in_ga(x1)
s(x1)  =  s(x1)
U1_ga(x1, x2, x3)  =  U1_ga(x1, x3)
0  =  0
gt10_out_ga(x1, x2)  =  gt10_out_ga(x1, x2)
part20_out_gaaa(x1, x2, x3, x4)  =  part20_out_gaaa(x1)
U3_gaaa(x1, x2, x3, x4, x5, x6)  =  U3_gaaa(x1, x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x1, x6)
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x1, x6)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U8_ga(x1, x2, x3)  =  U8_ga(x1, x3)
le33_out_ga(x1, x2)  =  le33_out_ga(x1)
U6_gaaa(x1, x2, x3, x4, x5, x6)  =  U6_gaaa(x1, x6)
U7_gaaa(x1, x2, x3, x4, x5, x6)  =  U7_gaaa(x1, x6)
.(x1, x2)  =  .(x1, x2)
[]  =  []
qs80_in_aa(x1, x2)  =  qs80_in_aa
U22_aa(x1, x2, x3, x4)  =  U22_aa(x4)
part87_in_aaaa(x1, x2, x3, x4)  =  part87_in_aaaa
U38_aaaa(x1, x2, x3, x4, x5, x6)  =  U38_aaaa(x6)
part87_out_aaaa(x1, x2, x3, x4)  =  part87_out_aaaa
U39_aaaa(x1, x2, x3, x4, x5, x6)  =  U39_aaaa(x6)
U40_aaaa(x1, x2, x3, x4, x5, x6)  =  U40_aaaa(x6)
U41_aaaa(x1, x2, x3, x4, x5, x6)  =  U41_aaaa(x6)
le100_in_aa(x1, x2)  =  le100_in_aa
U21_aa(x1, x2, x3)  =  U21_aa(x3)
le100_out_aa(x1, x2)  =  le100_out_aa(x1)
U42_aaaa(x1, x2, x3, x4, x5, x6)  =  U42_aaaa(x6)
U43_aaaa(x1, x2, x3, x4, x5, x6)  =  U43_aaaa(x6)
qs80_out_aa(x1, x2)  =  qs80_out_aa
U23_aa(x1, x2, x3, x4)  =  U23_aa(x4)
U24_aa(x1, x2, x3, x4)  =  U24_aa(x4)
U27_aa(x1, x2, x3, x4)  =  U27_aa(x4)
U28_aa(x1, x2, x3, x4, x5)  =  U28_aa(x5)
U29_aa(x1, x2, x3, x4, x5)  =  U29_aa(x5)
U30_aa(x1, x2, x3, x4)  =  U30_aa(x4)
app121_in_aaaa(x1, x2, x3, x4)  =  app121_in_aaaa
U31_aaaa(x1, x2, x3, x4, x5, x6)  =  U31_aaaa(x6)
app121_out_aaaa(x1, x2, x3, x4)  =  app121_out_aaaa
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
U26_aa(x1, x2, x3, x4)  =  U26_aa(x4)
QS80_IN_AA(x1, x2)  =  QS80_IN_AA
U23_AA(x1, x2, x3, x4)  =  U23_AA(x4)
U27_AA(x1, x2, x3, x4)  =  U27_AA(x4)
U28_AA(x1, x2, x3, x4, x5)  =  U28_AA(x5)
U25_AA(x1, x2, x3, x4, x5)  =  U25_AA(x5)

We have to consider all (P,R,Pi)-chains

(107) PiDPToQDPProof (SOUND transformation)

Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi.

(108) Obligation:

Q DP problem:
The TRS P consists of the following rules:

QS80_IN_AAU23_AA(part87_in_aaaa)
U23_AA(part87_out_aaaa) → QS80_IN_AA
QS80_IN_AAU27_AA(part87_in_aaaa)
U27_AA(part87_out_aaaa) → U28_AA(qs80_in_aa)
U28_AA(qs80_out_aa) → QS80_IN_AA
U27_AA(part87_out_aaaa) → QS80_IN_AA
U23_AA(part87_out_aaaa) → U25_AA(qs80_in_aa)
U25_AA(qs80_out_aa) → QS80_IN_AA

The TRS R consists of the following rules:

part87_in_aaaaU38_aaaa(gt10_in_aa)
part87_in_aaaaU39_aaaa(gt10_in_aa)
part87_in_aaaaU41_aaaa(le100_in_aa)
part87_in_aaaaU42_aaaa(le100_in_aa)
part87_in_aaaapart87_out_aaaa
qs80_in_aaU22_aa(part87_in_aaaa)
qs80_in_aaU23_aa(part87_in_aaaa)
qs80_in_aaU27_aa(part87_in_aaaa)
qs80_in_aaqs80_out_aa
U38_aaaa(gt10_out_aa(T256, T257)) → part87_out_aaaa
U39_aaaa(gt10_out_aa(T261, T257)) → U40_aaaa(part20_in_gaaa(T261))
U41_aaaa(le100_out_aa(T283)) → part87_out_aaaa
U42_aaaa(le100_out_aa(T288)) → U43_aaaa(part20_in_gaaa(T288))
U22_aa(part87_out_aaaa) → qs80_out_aa
U23_aa(part87_out_aaaa) → U24_aa(qs80_in_aa)
U23_aa(part87_out_aaaa) → U25_aa(qs80_in_aa)
U27_aa(part87_out_aaaa) → U28_aa(qs80_in_aa)
gt10_in_aaU1_aa(gt10_in_aa)
gt10_in_aagt10_out_aa(s(0), 0)
U40_aaaa(part20_out_gaaa(T261)) → part87_out_aaaa
le100_in_aaU21_aa(le100_in_aa)
le100_in_aale100_out_aa(0)
U43_aaaa(part20_out_gaaa(T288)) → part87_out_aaaa
U24_aa(qs80_out_aa) → qs80_out_aa
U25_aa(qs80_out_aa) → U26_aa(qs80_in_aa)
U28_aa(qs80_out_aa) → U29_aa(qs80_in_aa)
U1_aa(gt10_out_aa(T46, T47)) → gt10_out_aa(s(T46), s(T47))
part20_in_gaaa(T70) → U2_gaaa(T70, gt10_in_ga(T70))
part20_in_gaaa(T70) → U3_gaaa(T70, gt10_in_ga(T70))
part20_in_gaaa(T95) → U5_gaaa(T95, le33_in_ga(T95))
part20_in_gaaa(T95) → U6_gaaa(T95, le33_in_ga(T95))
part20_in_gaaa(T128) → part20_out_gaaa(T128)
U21_aa(le100_out_aa(T302)) → le100_out_aa(s(T302))
U26_aa(qs80_out_aa) → qs80_out_aa
U29_aa(qs80_out_aa) → U30_aa(app121_in_aaaa)
U2_gaaa(T70, gt10_out_ga(T70, T73)) → part20_out_gaaa(T70)
U3_gaaa(T70, gt10_out_ga(T70, T73)) → U4_gaaa(T70, part20_in_gaaa(T70))
U5_gaaa(T95, le33_out_ga(T95)) → part20_out_gaaa(T95)
U6_gaaa(T95, le33_out_ga(T95)) → U7_gaaa(T95, part20_in_gaaa(T95))
U30_aa(app121_out_aaaa) → qs80_out_aa
gt10_in_ga(s(T46)) → U1_ga(T46, gt10_in_ga(T46))
gt10_in_ga(s(0)) → gt10_out_ga(s(0), 0)
U4_gaaa(T70, part20_out_gaaa(T70)) → part20_out_gaaa(T70)
le33_in_ga(s(T113)) → U8_ga(T113, le33_in_ga(T113))
le33_in_ga(0) → le33_out_ga(0)
U7_gaaa(T95, part20_out_gaaa(T95)) → part20_out_gaaa(T95)
app121_in_aaaaU31_aaaa(app121_in_aaaa)
app121_in_aaaaapp121_out_aaaa
U1_ga(T46, gt10_out_ga(T46, T47)) → gt10_out_ga(s(T46), s(T47))
U8_ga(T113, le33_out_ga(T113)) → le33_out_ga(s(T113))
U31_aaaa(app121_out_aaaa) → app121_out_aaaa

The set Q consists of the following terms:

part87_in_aaaa
qs80_in_aa
U38_aaaa(x0)
U39_aaaa(x0)
U41_aaaa(x0)
U42_aaaa(x0)
U22_aa(x0)
U23_aa(x0)
U27_aa(x0)
gt10_in_aa
U40_aaaa(x0)
le100_in_aa
U43_aaaa(x0)
U24_aa(x0)
U25_aa(x0)
U28_aa(x0)
U1_aa(x0)
part20_in_gaaa(x0)
U21_aa(x0)
U26_aa(x0)
U29_aa(x0)
U2_gaaa(x0, x1)
U3_gaaa(x0, x1)
U5_gaaa(x0, x1)
U6_gaaa(x0, x1)
U30_aa(x0)
gt10_in_ga(x0)
U4_gaaa(x0, x1)
le33_in_ga(x0)
U7_gaaa(x0, x1)
app121_in_aaaa
U1_ga(x0, x1)
U8_ga(x0, x1)
U31_aaaa(x0)

We have to consider all (P,Q,R)-chains.

(109) Narrowing (SOUND transformation)

By narrowing [LPAR04] the rule QS80_IN_AAU23_AA(part87_in_aaaa) at position [0] we obtained the following new rules [LPAR04]:

QS80_IN_AAU23_AA(U38_aaaa(gt10_in_aa))
QS80_IN_AAU23_AA(U39_aaaa(gt10_in_aa))
QS80_IN_AAU23_AA(U41_aaaa(le100_in_aa))
QS80_IN_AAU23_AA(U42_aaaa(le100_in_aa))
QS80_IN_AAU23_AA(part87_out_aaaa)

(110) Obligation:

Q DP problem:
The TRS P consists of the following rules:

U23_AA(part87_out_aaaa) → QS80_IN_AA
QS80_IN_AAU27_AA(part87_in_aaaa)
U27_AA(part87_out_aaaa) → U28_AA(qs80_in_aa)
U28_AA(qs80_out_aa) → QS80_IN_AA
U27_AA(part87_out_aaaa) → QS80_IN_AA
U23_AA(part87_out_aaaa) → U25_AA(qs80_in_aa)
U25_AA(qs80_out_aa) → QS80_IN_AA
QS80_IN_AAU23_AA(U38_aaaa(gt10_in_aa))
QS80_IN_AAU23_AA(U39_aaaa(gt10_in_aa))
QS80_IN_AAU23_AA(U41_aaaa(le100_in_aa))
QS80_IN_AAU23_AA(U42_aaaa(le100_in_aa))
QS80_IN_AAU23_AA(part87_out_aaaa)

The TRS R consists of the following rules:

part87_in_aaaaU38_aaaa(gt10_in_aa)
part87_in_aaaaU39_aaaa(gt10_in_aa)
part87_in_aaaaU41_aaaa(le100_in_aa)
part87_in_aaaaU42_aaaa(le100_in_aa)
part87_in_aaaapart87_out_aaaa
qs80_in_aaU22_aa(part87_in_aaaa)
qs80_in_aaU23_aa(part87_in_aaaa)
qs80_in_aaU27_aa(part87_in_aaaa)
qs80_in_aaqs80_out_aa
U38_aaaa(gt10_out_aa(T256, T257)) → part87_out_aaaa
U39_aaaa(gt10_out_aa(T261, T257)) → U40_aaaa(part20_in_gaaa(T261))
U41_aaaa(le100_out_aa(T283)) → part87_out_aaaa
U42_aaaa(le100_out_aa(T288)) → U43_aaaa(part20_in_gaaa(T288))
U22_aa(part87_out_aaaa) → qs80_out_aa
U23_aa(part87_out_aaaa) → U24_aa(qs80_in_aa)
U23_aa(part87_out_aaaa) → U25_aa(qs80_in_aa)
U27_aa(part87_out_aaaa) → U28_aa(qs80_in_aa)
gt10_in_aaU1_aa(gt10_in_aa)
gt10_in_aagt10_out_aa(s(0), 0)
U40_aaaa(part20_out_gaaa(T261)) → part87_out_aaaa
le100_in_aaU21_aa(le100_in_aa)
le100_in_aale100_out_aa(0)
U43_aaaa(part20_out_gaaa(T288)) → part87_out_aaaa
U24_aa(qs80_out_aa) → qs80_out_aa
U25_aa(qs80_out_aa) → U26_aa(qs80_in_aa)
U28_aa(qs80_out_aa) → U29_aa(qs80_in_aa)
U1_aa(gt10_out_aa(T46, T47)) → gt10_out_aa(s(T46), s(T47))
part20_in_gaaa(T70) → U2_gaaa(T70, gt10_in_ga(T70))
part20_in_gaaa(T70) → U3_gaaa(T70, gt10_in_ga(T70))
part20_in_gaaa(T95) → U5_gaaa(T95, le33_in_ga(T95))
part20_in_gaaa(T95) → U6_gaaa(T95, le33_in_ga(T95))
part20_in_gaaa(T128) → part20_out_gaaa(T128)
U21_aa(le100_out_aa(T302)) → le100_out_aa(s(T302))
U26_aa(qs80_out_aa) → qs80_out_aa
U29_aa(qs80_out_aa) → U30_aa(app121_in_aaaa)
U2_gaaa(T70, gt10_out_ga(T70, T73)) → part20_out_gaaa(T70)
U3_gaaa(T70, gt10_out_ga(T70, T73)) → U4_gaaa(T70, part20_in_gaaa(T70))
U5_gaaa(T95, le33_out_ga(T95)) → part20_out_gaaa(T95)
U6_gaaa(T95, le33_out_ga(T95)) → U7_gaaa(T95, part20_in_gaaa(T95))
U30_aa(app121_out_aaaa) → qs80_out_aa
gt10_in_ga(s(T46)) → U1_ga(T46, gt10_in_ga(T46))
gt10_in_ga(s(0)) → gt10_out_ga(s(0), 0)
U4_gaaa(T70, part20_out_gaaa(T70)) → part20_out_gaaa(T70)
le33_in_ga(s(T113)) → U8_ga(T113, le33_in_ga(T113))
le33_in_ga(0) → le33_out_ga(0)
U7_gaaa(T95, part20_out_gaaa(T95)) → part20_out_gaaa(T95)
app121_in_aaaaU31_aaaa(app121_in_aaaa)
app121_in_aaaaapp121_out_aaaa
U1_ga(T46, gt10_out_ga(T46, T47)) → gt10_out_ga(s(T46), s(T47))
U8_ga(T113, le33_out_ga(T113)) → le33_out_ga(s(T113))
U31_aaaa(app121_out_aaaa) → app121_out_aaaa

The set Q consists of the following terms:

part87_in_aaaa
qs80_in_aa
U38_aaaa(x0)
U39_aaaa(x0)
U41_aaaa(x0)
U42_aaaa(x0)
U22_aa(x0)
U23_aa(x0)
U27_aa(x0)
gt10_in_aa
U40_aaaa(x0)
le100_in_aa
U43_aaaa(x0)
U24_aa(x0)
U25_aa(x0)
U28_aa(x0)
U1_aa(x0)
part20_in_gaaa(x0)
U21_aa(x0)
U26_aa(x0)
U29_aa(x0)
U2_gaaa(x0, x1)
U3_gaaa(x0, x1)
U5_gaaa(x0, x1)
U6_gaaa(x0, x1)
U30_aa(x0)
gt10_in_ga(x0)
U4_gaaa(x0, x1)
le33_in_ga(x0)
U7_gaaa(x0, x1)
app121_in_aaaa
U1_ga(x0, x1)
U8_ga(x0, x1)
U31_aaaa(x0)

We have to consider all (P,Q,R)-chains.

(111) Narrowing (SOUND transformation)

By narrowing [LPAR04] the rule QS80_IN_AAU27_AA(part87_in_aaaa) at position [0] we obtained the following new rules [LPAR04]:

QS80_IN_AAU27_AA(U38_aaaa(gt10_in_aa))
QS80_IN_AAU27_AA(U39_aaaa(gt10_in_aa))
QS80_IN_AAU27_AA(U41_aaaa(le100_in_aa))
QS80_IN_AAU27_AA(U42_aaaa(le100_in_aa))
QS80_IN_AAU27_AA(part87_out_aaaa)

(112) Obligation:

Q DP problem:
The TRS P consists of the following rules:

U23_AA(part87_out_aaaa) → QS80_IN_AA
U27_AA(part87_out_aaaa) → U28_AA(qs80_in_aa)
U28_AA(qs80_out_aa) → QS80_IN_AA
U27_AA(part87_out_aaaa) → QS80_IN_AA
U23_AA(part87_out_aaaa) → U25_AA(qs80_in_aa)
U25_AA(qs80_out_aa) → QS80_IN_AA
QS80_IN_AAU23_AA(U38_aaaa(gt10_in_aa))
QS80_IN_AAU23_AA(U39_aaaa(gt10_in_aa))
QS80_IN_AAU23_AA(U41_aaaa(le100_in_aa))
QS80_IN_AAU23_AA(U42_aaaa(le100_in_aa))
QS80_IN_AAU23_AA(part87_out_aaaa)
QS80_IN_AAU27_AA(U38_aaaa(gt10_in_aa))
QS80_IN_AAU27_AA(U39_aaaa(gt10_in_aa))
QS80_IN_AAU27_AA(U41_aaaa(le100_in_aa))
QS80_IN_AAU27_AA(U42_aaaa(le100_in_aa))
QS80_IN_AAU27_AA(part87_out_aaaa)

The TRS R consists of the following rules:

part87_in_aaaaU38_aaaa(gt10_in_aa)
part87_in_aaaaU39_aaaa(gt10_in_aa)
part87_in_aaaaU41_aaaa(le100_in_aa)
part87_in_aaaaU42_aaaa(le100_in_aa)
part87_in_aaaapart87_out_aaaa
qs80_in_aaU22_aa(part87_in_aaaa)
qs80_in_aaU23_aa(part87_in_aaaa)
qs80_in_aaU27_aa(part87_in_aaaa)
qs80_in_aaqs80_out_aa
U38_aaaa(gt10_out_aa(T256, T257)) → part87_out_aaaa
U39_aaaa(gt10_out_aa(T261, T257)) → U40_aaaa(part20_in_gaaa(T261))
U41_aaaa(le100_out_aa(T283)) → part87_out_aaaa
U42_aaaa(le100_out_aa(T288)) → U43_aaaa(part20_in_gaaa(T288))
U22_aa(part87_out_aaaa) → qs80_out_aa
U23_aa(part87_out_aaaa) → U24_aa(qs80_in_aa)
U23_aa(part87_out_aaaa) → U25_aa(qs80_in_aa)
U27_aa(part87_out_aaaa) → U28_aa(qs80_in_aa)
gt10_in_aaU1_aa(gt10_in_aa)
gt10_in_aagt10_out_aa(s(0), 0)
U40_aaaa(part20_out_gaaa(T261)) → part87_out_aaaa
le100_in_aaU21_aa(le100_in_aa)
le100_in_aale100_out_aa(0)
U43_aaaa(part20_out_gaaa(T288)) → part87_out_aaaa
U24_aa(qs80_out_aa) → qs80_out_aa
U25_aa(qs80_out_aa) → U26_aa(qs80_in_aa)
U28_aa(qs80_out_aa) → U29_aa(qs80_in_aa)
U1_aa(gt10_out_aa(T46, T47)) → gt10_out_aa(s(T46), s(T47))
part20_in_gaaa(T70) → U2_gaaa(T70, gt10_in_ga(T70))
part20_in_gaaa(T70) → U3_gaaa(T70, gt10_in_ga(T70))
part20_in_gaaa(T95) → U5_gaaa(T95, le33_in_ga(T95))
part20_in_gaaa(T95) → U6_gaaa(T95, le33_in_ga(T95))
part20_in_gaaa(T128) → part20_out_gaaa(T128)
U21_aa(le100_out_aa(T302)) → le100_out_aa(s(T302))
U26_aa(qs80_out_aa) → qs80_out_aa
U29_aa(qs80_out_aa) → U30_aa(app121_in_aaaa)
U2_gaaa(T70, gt10_out_ga(T70, T73)) → part20_out_gaaa(T70)
U3_gaaa(T70, gt10_out_ga(T70, T73)) → U4_gaaa(T70, part20_in_gaaa(T70))
U5_gaaa(T95, le33_out_ga(T95)) → part20_out_gaaa(T95)
U6_gaaa(T95, le33_out_ga(T95)) → U7_gaaa(T95, part20_in_gaaa(T95))
U30_aa(app121_out_aaaa) → qs80_out_aa
gt10_in_ga(s(T46)) → U1_ga(T46, gt10_in_ga(T46))
gt10_in_ga(s(0)) → gt10_out_ga(s(0), 0)
U4_gaaa(T70, part20_out_gaaa(T70)) → part20_out_gaaa(T70)
le33_in_ga(s(T113)) → U8_ga(T113, le33_in_ga(T113))
le33_in_ga(0) → le33_out_ga(0)
U7_gaaa(T95, part20_out_gaaa(T95)) → part20_out_gaaa(T95)
app121_in_aaaaU31_aaaa(app121_in_aaaa)
app121_in_aaaaapp121_out_aaaa
U1_ga(T46, gt10_out_ga(T46, T47)) → gt10_out_ga(s(T46), s(T47))
U8_ga(T113, le33_out_ga(T113)) → le33_out_ga(s(T113))
U31_aaaa(app121_out_aaaa) → app121_out_aaaa

The set Q consists of the following terms:

part87_in_aaaa
qs80_in_aa
U38_aaaa(x0)
U39_aaaa(x0)
U41_aaaa(x0)
U42_aaaa(x0)
U22_aa(x0)
U23_aa(x0)
U27_aa(x0)
gt10_in_aa
U40_aaaa(x0)
le100_in_aa
U43_aaaa(x0)
U24_aa(x0)
U25_aa(x0)
U28_aa(x0)
U1_aa(x0)
part20_in_gaaa(x0)
U21_aa(x0)
U26_aa(x0)
U29_aa(x0)
U2_gaaa(x0, x1)
U3_gaaa(x0, x1)
U5_gaaa(x0, x1)
U6_gaaa(x0, x1)
U30_aa(x0)
gt10_in_ga(x0)
U4_gaaa(x0, x1)
le33_in_ga(x0)
U7_gaaa(x0, x1)
app121_in_aaaa
U1_ga(x0, x1)
U8_ga(x0, x1)
U31_aaaa(x0)

We have to consider all (P,Q,R)-chains.

(113) Narrowing (SOUND transformation)

By narrowing [LPAR04] the rule U27_AA(part87_out_aaaa) → U28_AA(qs80_in_aa) at position [0] we obtained the following new rules [LPAR04]:

U27_AA(part87_out_aaaa) → U28_AA(U22_aa(part87_in_aaaa))
U27_AA(part87_out_aaaa) → U28_AA(U23_aa(part87_in_aaaa))
U27_AA(part87_out_aaaa) → U28_AA(U27_aa(part87_in_aaaa))
U27_AA(part87_out_aaaa) → U28_AA(qs80_out_aa)

(114) Obligation:

Q DP problem:
The TRS P consists of the following rules:

U23_AA(part87_out_aaaa) → QS80_IN_AA
U28_AA(qs80_out_aa) → QS80_IN_AA
U27_AA(part87_out_aaaa) → QS80_IN_AA
U23_AA(part87_out_aaaa) → U25_AA(qs80_in_aa)
U25_AA(qs80_out_aa) → QS80_IN_AA
QS80_IN_AAU23_AA(U38_aaaa(gt10_in_aa))
QS80_IN_AAU23_AA(U39_aaaa(gt10_in_aa))
QS80_IN_AAU23_AA(U41_aaaa(le100_in_aa))
QS80_IN_AAU23_AA(U42_aaaa(le100_in_aa))
QS80_IN_AAU23_AA(part87_out_aaaa)
QS80_IN_AAU27_AA(U38_aaaa(gt10_in_aa))
QS80_IN_AAU27_AA(U39_aaaa(gt10_in_aa))
QS80_IN_AAU27_AA(U41_aaaa(le100_in_aa))
QS80_IN_AAU27_AA(U42_aaaa(le100_in_aa))
QS80_IN_AAU27_AA(part87_out_aaaa)
U27_AA(part87_out_aaaa) → U28_AA(U22_aa(part87_in_aaaa))
U27_AA(part87_out_aaaa) → U28_AA(U23_aa(part87_in_aaaa))
U27_AA(part87_out_aaaa) → U28_AA(U27_aa(part87_in_aaaa))
U27_AA(part87_out_aaaa) → U28_AA(qs80_out_aa)

The TRS R consists of the following rules:

part87_in_aaaaU38_aaaa(gt10_in_aa)
part87_in_aaaaU39_aaaa(gt10_in_aa)
part87_in_aaaaU41_aaaa(le100_in_aa)
part87_in_aaaaU42_aaaa(le100_in_aa)
part87_in_aaaapart87_out_aaaa
qs80_in_aaU22_aa(part87_in_aaaa)
qs80_in_aaU23_aa(part87_in_aaaa)
qs80_in_aaU27_aa(part87_in_aaaa)
qs80_in_aaqs80_out_aa
U38_aaaa(gt10_out_aa(T256, T257)) → part87_out_aaaa
U39_aaaa(gt10_out_aa(T261, T257)) → U40_aaaa(part20_in_gaaa(T261))
U41_aaaa(le100_out_aa(T283)) → part87_out_aaaa
U42_aaaa(le100_out_aa(T288)) → U43_aaaa(part20_in_gaaa(T288))
U22_aa(part87_out_aaaa) → qs80_out_aa
U23_aa(part87_out_aaaa) → U24_aa(qs80_in_aa)
U23_aa(part87_out_aaaa) → U25_aa(qs80_in_aa)
U27_aa(part87_out_aaaa) → U28_aa(qs80_in_aa)
gt10_in_aaU1_aa(gt10_in_aa)
gt10_in_aagt10_out_aa(s(0), 0)
U40_aaaa(part20_out_gaaa(T261)) → part87_out_aaaa
le100_in_aaU21_aa(le100_in_aa)
le100_in_aale100_out_aa(0)
U43_aaaa(part20_out_gaaa(T288)) → part87_out_aaaa
U24_aa(qs80_out_aa) → qs80_out_aa
U25_aa(qs80_out_aa) → U26_aa(qs80_in_aa)
U28_aa(qs80_out_aa) → U29_aa(qs80_in_aa)
U1_aa(gt10_out_aa(T46, T47)) → gt10_out_aa(s(T46), s(T47))
part20_in_gaaa(T70) → U2_gaaa(T70, gt10_in_ga(T70))
part20_in_gaaa(T70) → U3_gaaa(T70, gt10_in_ga(T70))
part20_in_gaaa(T95) → U5_gaaa(T95, le33_in_ga(T95))
part20_in_gaaa(T95) → U6_gaaa(T95, le33_in_ga(T95))
part20_in_gaaa(T128) → part20_out_gaaa(T128)
U21_aa(le100_out_aa(T302)) → le100_out_aa(s(T302))
U26_aa(qs80_out_aa) → qs80_out_aa
U29_aa(qs80_out_aa) → U30_aa(app121_in_aaaa)
U2_gaaa(T70, gt10_out_ga(T70, T73)) → part20_out_gaaa(T70)
U3_gaaa(T70, gt10_out_ga(T70, T73)) → U4_gaaa(T70, part20_in_gaaa(T70))
U5_gaaa(T95, le33_out_ga(T95)) → part20_out_gaaa(T95)
U6_gaaa(T95, le33_out_ga(T95)) → U7_gaaa(T95, part20_in_gaaa(T95))
U30_aa(app121_out_aaaa) → qs80_out_aa
gt10_in_ga(s(T46)) → U1_ga(T46, gt10_in_ga(T46))
gt10_in_ga(s(0)) → gt10_out_ga(s(0), 0)
U4_gaaa(T70, part20_out_gaaa(T70)) → part20_out_gaaa(T70)
le33_in_ga(s(T113)) → U8_ga(T113, le33_in_ga(T113))
le33_in_ga(0) → le33_out_ga(0)
U7_gaaa(T95, part20_out_gaaa(T95)) → part20_out_gaaa(T95)
app121_in_aaaaU31_aaaa(app121_in_aaaa)
app121_in_aaaaapp121_out_aaaa
U1_ga(T46, gt10_out_ga(T46, T47)) → gt10_out_ga(s(T46), s(T47))
U8_ga(T113, le33_out_ga(T113)) → le33_out_ga(s(T113))
U31_aaaa(app121_out_aaaa) → app121_out_aaaa

The set Q consists of the following terms:

part87_in_aaaa
qs80_in_aa
U38_aaaa(x0)
U39_aaaa(x0)
U41_aaaa(x0)
U42_aaaa(x0)
U22_aa(x0)
U23_aa(x0)
U27_aa(x0)
gt10_in_aa
U40_aaaa(x0)
le100_in_aa
U43_aaaa(x0)
U24_aa(x0)
U25_aa(x0)
U28_aa(x0)
U1_aa(x0)
part20_in_gaaa(x0)
U21_aa(x0)
U26_aa(x0)
U29_aa(x0)
U2_gaaa(x0, x1)
U3_gaaa(x0, x1)
U5_gaaa(x0, x1)
U6_gaaa(x0, x1)
U30_aa(x0)
gt10_in_ga(x0)
U4_gaaa(x0, x1)
le33_in_ga(x0)
U7_gaaa(x0, x1)
app121_in_aaaa
U1_ga(x0, x1)
U8_ga(x0, x1)
U31_aaaa(x0)

We have to consider all (P,Q,R)-chains.

(115) Narrowing (SOUND transformation)

By narrowing [LPAR04] the rule U23_AA(part87_out_aaaa) → U25_AA(qs80_in_aa) at position [0] we obtained the following new rules [LPAR04]:

U23_AA(part87_out_aaaa) → U25_AA(U22_aa(part87_in_aaaa))
U23_AA(part87_out_aaaa) → U25_AA(U23_aa(part87_in_aaaa))
U23_AA(part87_out_aaaa) → U25_AA(U27_aa(part87_in_aaaa))
U23_AA(part87_out_aaaa) → U25_AA(qs80_out_aa)

(116) Obligation:

Q DP problem:
The TRS P consists of the following rules:

U23_AA(part87_out_aaaa) → QS80_IN_AA
U28_AA(qs80_out_aa) → QS80_IN_AA
U27_AA(part87_out_aaaa) → QS80_IN_AA
U25_AA(qs80_out_aa) → QS80_IN_AA
QS80_IN_AAU23_AA(U38_aaaa(gt10_in_aa))
QS80_IN_AAU23_AA(U39_aaaa(gt10_in_aa))
QS80_IN_AAU23_AA(U41_aaaa(le100_in_aa))
QS80_IN_AAU23_AA(U42_aaaa(le100_in_aa))
QS80_IN_AAU23_AA(part87_out_aaaa)
QS80_IN_AAU27_AA(U38_aaaa(gt10_in_aa))
QS80_IN_AAU27_AA(U39_aaaa(gt10_in_aa))
QS80_IN_AAU27_AA(U41_aaaa(le100_in_aa))
QS80_IN_AAU27_AA(U42_aaaa(le100_in_aa))
QS80_IN_AAU27_AA(part87_out_aaaa)
U27_AA(part87_out_aaaa) → U28_AA(U22_aa(part87_in_aaaa))
U27_AA(part87_out_aaaa) → U28_AA(U23_aa(part87_in_aaaa))
U27_AA(part87_out_aaaa) → U28_AA(U27_aa(part87_in_aaaa))
U27_AA(part87_out_aaaa) → U28_AA(qs80_out_aa)
U23_AA(part87_out_aaaa) → U25_AA(U22_aa(part87_in_aaaa))
U23_AA(part87_out_aaaa) → U25_AA(U23_aa(part87_in_aaaa))
U23_AA(part87_out_aaaa) → U25_AA(U27_aa(part87_in_aaaa))
U23_AA(part87_out_aaaa) → U25_AA(qs80_out_aa)

The TRS R consists of the following rules:

part87_in_aaaaU38_aaaa(gt10_in_aa)
part87_in_aaaaU39_aaaa(gt10_in_aa)
part87_in_aaaaU41_aaaa(le100_in_aa)
part87_in_aaaaU42_aaaa(le100_in_aa)
part87_in_aaaapart87_out_aaaa
qs80_in_aaU22_aa(part87_in_aaaa)
qs80_in_aaU23_aa(part87_in_aaaa)
qs80_in_aaU27_aa(part87_in_aaaa)
qs80_in_aaqs80_out_aa
U38_aaaa(gt10_out_aa(T256, T257)) → part87_out_aaaa
U39_aaaa(gt10_out_aa(T261, T257)) → U40_aaaa(part20_in_gaaa(T261))
U41_aaaa(le100_out_aa(T283)) → part87_out_aaaa
U42_aaaa(le100_out_aa(T288)) → U43_aaaa(part20_in_gaaa(T288))
U22_aa(part87_out_aaaa) → qs80_out_aa
U23_aa(part87_out_aaaa) → U24_aa(qs80_in_aa)
U23_aa(part87_out_aaaa) → U25_aa(qs80_in_aa)
U27_aa(part87_out_aaaa) → U28_aa(qs80_in_aa)
gt10_in_aaU1_aa(gt10_in_aa)
gt10_in_aagt10_out_aa(s(0), 0)
U40_aaaa(part20_out_gaaa(T261)) → part87_out_aaaa
le100_in_aaU21_aa(le100_in_aa)
le100_in_aale100_out_aa(0)
U43_aaaa(part20_out_gaaa(T288)) → part87_out_aaaa
U24_aa(qs80_out_aa) → qs80_out_aa
U25_aa(qs80_out_aa) → U26_aa(qs80_in_aa)
U28_aa(qs80_out_aa) → U29_aa(qs80_in_aa)
U1_aa(gt10_out_aa(T46, T47)) → gt10_out_aa(s(T46), s(T47))
part20_in_gaaa(T70) → U2_gaaa(T70, gt10_in_ga(T70))
part20_in_gaaa(T70) → U3_gaaa(T70, gt10_in_ga(T70))
part20_in_gaaa(T95) → U5_gaaa(T95, le33_in_ga(T95))
part20_in_gaaa(T95) → U6_gaaa(T95, le33_in_ga(T95))
part20_in_gaaa(T128) → part20_out_gaaa(T128)
U21_aa(le100_out_aa(T302)) → le100_out_aa(s(T302))
U26_aa(qs80_out_aa) → qs80_out_aa
U29_aa(qs80_out_aa) → U30_aa(app121_in_aaaa)
U2_gaaa(T70, gt10_out_ga(T70, T73)) → part20_out_gaaa(T70)
U3_gaaa(T70, gt10_out_ga(T70, T73)) → U4_gaaa(T70, part20_in_gaaa(T70))
U5_gaaa(T95, le33_out_ga(T95)) → part20_out_gaaa(T95)
U6_gaaa(T95, le33_out_ga(T95)) → U7_gaaa(T95, part20_in_gaaa(T95))
U30_aa(app121_out_aaaa) → qs80_out_aa
gt10_in_ga(s(T46)) → U1_ga(T46, gt10_in_ga(T46))
gt10_in_ga(s(0)) → gt10_out_ga(s(0), 0)
U4_gaaa(T70, part20_out_gaaa(T70)) → part20_out_gaaa(T70)
le33_in_ga(s(T113)) → U8_ga(T113, le33_in_ga(T113))
le33_in_ga(0) → le33_out_ga(0)
U7_gaaa(T95, part20_out_gaaa(T95)) → part20_out_gaaa(T95)
app121_in_aaaaU31_aaaa(app121_in_aaaa)
app121_in_aaaaapp121_out_aaaa
U1_ga(T46, gt10_out_ga(T46, T47)) → gt10_out_ga(s(T46), s(T47))
U8_ga(T113, le33_out_ga(T113)) → le33_out_ga(s(T113))
U31_aaaa(app121_out_aaaa) → app121_out_aaaa

The set Q consists of the following terms:

part87_in_aaaa
qs80_in_aa
U38_aaaa(x0)
U39_aaaa(x0)
U41_aaaa(x0)
U42_aaaa(x0)
U22_aa(x0)
U23_aa(x0)
U27_aa(x0)
gt10_in_aa
U40_aaaa(x0)
le100_in_aa
U43_aaaa(x0)
U24_aa(x0)
U25_aa(x0)
U28_aa(x0)
U1_aa(x0)
part20_in_gaaa(x0)
U21_aa(x0)
U26_aa(x0)
U29_aa(x0)
U2_gaaa(x0, x1)
U3_gaaa(x0, x1)
U5_gaaa(x0, x1)
U6_gaaa(x0, x1)
U30_aa(x0)
gt10_in_ga(x0)
U4_gaaa(x0, x1)
le33_in_ga(x0)
U7_gaaa(x0, x1)
app121_in_aaaa
U1_ga(x0, x1)
U8_ga(x0, x1)
U31_aaaa(x0)

We have to consider all (P,Q,R)-chains.

(117) NonTerminationProof (EQUIVALENT transformation)

We used the non-termination processor [FROCOS05] to show that the DP problem is infinite.
Found a loop by narrowing to the left:

s = QS80_IN_AA evaluates to t =QS80_IN_AA

Thus s starts an infinite chain as s semiunifies with t with the following substitutions:
  • Semiunifier: [ ]
  • Matcher: [ ]




Rewriting sequence

QS80_IN_AAU23_AA(part87_out_aaaa)
with rule QS80_IN_AAU23_AA(part87_out_aaaa) at position [] and matcher [ ]

U23_AA(part87_out_aaaa)QS80_IN_AA
with rule U23_AA(part87_out_aaaa) → QS80_IN_AA

Now applying the matcher to the start term leads to a term which is equal to the last term in the rewriting sequence


All these steps are and every following step will be a correct step w.r.t to Q.



(118) NO

(119) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

P56_IN_AAAAAAA(T148, T149, T153, T154, X271, X272, X273) → U10_AAAAAAA(T148, T149, T153, T154, X271, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U10_AAAAAAA(T148, T149, T153, T154, X271, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → QS59_IN_AA(T153, X271)
QS59_IN_AA(.(T171, T172), X335) → P56_IN_AAAAAAA(T171, T172, X331, X332, X333, X334, X335)
P56_IN_AAAAAAA(T148, T149, T153, T154, T160, X272, X273) → U12_AAAAAAA(T148, T149, T153, T154, T160, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U12_AAAAAAA(T148, T149, T153, T154, T160, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U13_AAAAAAA(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U13_AAAAAAA(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → QS59_IN_AA(T154, X272)
U12_AAAAAAA(T148, T149, T153, T154, T160, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → QS59_IN_AA(T153, T160)
P56_IN_AAAAAAA(T148, T149, T153, T154, T160, T178, X273) → U15_AAAAAAA(T148, T149, T153, T154, T160, T178, X273, part20_in_aaaa(T148, T149, T153, T154))
U15_AAAAAAA(T148, T149, T153, T154, T160, T178, X273, part20_out_aaaa(T148, T149, T153, T154)) → U16_AAAAAAA(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U16_AAAAAAA(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → QS59_IN_AA(T154, T178)
U15_AAAAAAA(T148, T149, T153, T154, T160, T178, X273, part20_out_aaaa(T148, T149, T153, T154)) → QS59_IN_AA(T153, T160)

The TRS R consists of the following rules:

qs1_in_ag(.(T26, .(T27, T28)), T8) → U44_ag(T26, T27, T28, T8, gt10_in_aa(T26, T27))
gt10_in_aa(s(T46), s(T47)) → U1_aa(T46, T47, gt10_in_aa(T46, T47))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U1_aa(T46, T47, gt10_out_aa(T46, T47)) → gt10_out_aa(s(T46), s(T47))
U44_ag(T26, T27, T28, T8, gt10_out_aa(T26, T27)) → qs1_out_ag(.(T26, .(T27, T28)), T8)
qs1_in_ag(.(T31, .(T33, T32)), T8) → U45_ag(T31, T33, T32, T8, gt10_in_aa(T31, T33))
U45_ag(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U46_ag(T31, T33, T32, T8, part20_in_gaaa(T31, T32, X47, X48))
part20_in_gaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_gaaa(T70, T73, T74, X119, X120, gt10_in_ga(T70, T73))
gt10_in_ga(s(T46), s(T47)) → U1_ga(T46, T47, gt10_in_ga(T46, T47))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U1_ga(T46, T47, gt10_out_ga(T46, T47)) → gt10_out_ga(s(T46), s(T47))
U2_gaaa(T70, T73, T74, X119, X120, gt10_out_ga(T70, T73)) → part20_out_gaaa(T70, .(T73, T74), .(T73, X119), X120)
part20_in_gaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_gaaa(T70, T73, T77, X119, X120, gt10_in_ga(T70, T73))
U3_gaaa(T70, T73, T77, X119, X120, gt10_out_ga(T70, T73)) → U4_gaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
part20_in_gaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_gaaa(T95, T98, T99, X170, X171, le33_in_ga(T95, T98))
le33_in_ga(s(T113), s(T115)) → U8_ga(T113, T115, le33_in_ga(T113, T115))
le33_in_ga(0, s(T122)) → le33_out_ga(0, s(T122))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U8_ga(T113, T115, le33_out_ga(T113, T115)) → le33_out_ga(s(T113), s(T115))
U5_gaaa(T95, T98, T99, X170, X171, le33_out_ga(T95, T98)) → part20_out_gaaa(T95, .(T98, T99), X170, .(T98, X171))
part20_in_gaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_gaaa(T95, T98, T102, X170, X171, le33_in_ga(T95, T98))
U6_gaaa(T95, T98, T102, X170, X171, le33_out_ga(T95, T98)) → U7_gaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
part20_in_gaaa(T128, [], [], []) → part20_out_gaaa(T128, [], [], [])
U7_gaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_gaaa(T95, .(T98, T102), X170, .(T98, X171))
U4_gaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_gaaa(T70, .(T73, T77), .(T73, X119), X120)
U46_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, X47, X48)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
U45_ag(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U47_ag(T31, T33, T32, T8, part20_in_gaaa(T31, T32, T53, T54))
U47_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U48_ag(T31, T33, T32, T8, qs51_in_gaa(T33, T53, X9))
qs51_in_gaa(T148, T149, X273) → U37_gaa(T148, T149, X273, p56_in_gaaaaaa(T148, T149, X269, X270, X271, X272, X273))
p56_in_gaaaaaa(T148, T149, X269, X270, X271, X272, X273) → U9_gaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_in_gaaa(T148, T149, X269, X270))
U9_gaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_out_gaaa(T148, T149, X269, X270)) → p56_out_gaaaaaa(T148, T149, X269, X270, X271, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, X271, X272, X273) → U10_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U10_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U11_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
qs59_in_aa(.(T171, T172), X335) → U19_aa(T171, T172, X335, p56_in_aaaaaaa(T171, T172, X331, X332, X333, X334, X335))
p56_in_aaaaaaa(T148, T149, X269, X270, X271, X272, X273) → U9_aaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_in_aaaa(T148, T149, X269, X270))
part20_in_aaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_aaaa(T70, T73, T74, X119, X120, gt10_in_aa(T70, T73))
U2_aaaa(T70, T73, T74, X119, X120, gt10_out_aa(T70, T73)) → part20_out_aaaa(T70, .(T73, T74), .(T73, X119), X120)
part20_in_aaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_aaaa(T70, T73, T77, X119, X120, gt10_in_aa(T70, T73))
U3_aaaa(T70, T73, T77, X119, X120, gt10_out_aa(T70, T73)) → U4_aaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
U4_aaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_aaaa(T70, .(T73, T77), .(T73, X119), X120)
part20_in_aaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_aaaa(T95, T98, T99, X170, X171, le33_in_aa(T95, T98))
le33_in_aa(s(T113), s(T115)) → U8_aa(T113, T115, le33_in_aa(T113, T115))
le33_in_aa(0, s(T122)) → le33_out_aa(0, s(T122))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U8_aa(T113, T115, le33_out_aa(T113, T115)) → le33_out_aa(s(T113), s(T115))
U5_aaaa(T95, T98, T99, X170, X171, le33_out_aa(T95, T98)) → part20_out_aaaa(T95, .(T98, T99), X170, .(T98, X171))
part20_in_aaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_aaaa(T95, T98, T102, X170, X171, le33_in_aa(T95, T98))
U6_aaaa(T95, T98, T102, X170, X171, le33_out_aa(T95, T98)) → U7_aaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
U7_aaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_aaaa(T95, .(T98, T102), X170, .(T98, X171))
part20_in_aaaa(T128, [], [], []) → part20_out_aaaa(T128, [], [], [])
U9_aaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_out_aaaa(T148, T149, X269, X270)) → p56_out_aaaaaaa(T148, T149, X269, X270, X271, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, X271, X272, X273) → U10_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U10_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U11_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
qs59_in_aa([], []) → qs59_out_aa([], [])
U11_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_out_aa(T153, X271)) → p56_out_aaaaaaa(T148, T149, T153, T154, X271, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, T160, X272, X273) → U12_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U12_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U13_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U13_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U14_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T154, X272)) → p56_out_aaaaaaa(T148, T149, T153, T154, T160, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, T160, T178, X273) → U15_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_in_aaaa(T148, T149, T153, T154))
U15_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_out_aaaa(T148, T149, T153, T154)) → U16_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U16_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U17_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_in_aaaa(T160, T148, T178, X273))
app70_in_aaaa(.(T201, T202), T203, T204, .(T201, X391)) → U20_aaaa(T201, T202, T203, T204, X391, app70_in_aaaa(T202, T203, T204, X391))
app70_in_aaaa([], T213, T214, .(T213, T214)) → app70_out_aaaa([], T213, T214, .(T213, T214))
U20_aaaa(T201, T202, T203, T204, X391, app70_out_aaaa(T202, T203, T204, X391)) → app70_out_aaaa(.(T201, T202), T203, T204, .(T201, X391))
U18_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_out_aaaa(T160, T148, T178, X273)) → p56_out_aaaaaaa(T148, T149, T153, T154, T160, T178, X273)
U19_aa(T171, T172, X335, p56_out_aaaaaaa(T171, T172, X331, X332, X333, X334, X335)) → qs59_out_aa(.(T171, T172), X335)
U11_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_out_aa(T153, X271)) → p56_out_gaaaaaa(T148, T149, T153, T154, X271, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, T160, X272, X273) → U12_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U12_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U13_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U13_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U14_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T154, X272)) → p56_out_gaaaaaa(T148, T149, T153, T154, T160, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, T160, T178, X273) → U15_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_in_gaaa(T148, T149, T153, T154))
U15_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_out_gaaa(T148, T149, T153, T154)) → U16_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U16_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U17_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_in_agaa(T160, T148, T178, X273))
app70_in_agaa(.(T201, T202), T203, T204, .(T201, X391)) → U20_agaa(T201, T202, T203, T204, X391, app70_in_agaa(T202, T203, T204, X391))
app70_in_agaa([], T213, T214, .(T213, T214)) → app70_out_agaa([], T213, T214, .(T213, T214))
U20_agaa(T201, T202, T203, T204, X391, app70_out_agaa(T202, T203, T204, X391)) → app70_out_agaa(.(T201, T202), T203, T204, .(T201, X391))
U18_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_out_agaa(T160, T148, T178, X273)) → p56_out_gaaaaaa(T148, T149, T153, T154, T160, T178, X273)
U37_gaa(T148, T149, X273, p56_out_gaaaaaa(T148, T149, X269, X270, X271, X272, X273)) → qs51_out_gaa(T148, T149, X273)
U48_ag(T31, T33, T32, T8, qs51_out_gaa(T33, T53, X9)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
U47_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U49_ag(T31, T33, T32, T8, T54, qs51_in_gaa(T33, T53, T131))
U49_ag(T31, T33, T32, T8, T54, qs51_out_gaa(T33, T53, T131)) → U50_ag(T31, T33, T32, T8, p52_in_aaagg(T54, X10, T131, T31, T8))
p52_in_aaagg(T54, X10, T131, T31, T8) → U33_aaagg(T54, X10, T131, T31, T8, qs80_in_aa(T54, X10))
qs80_in_aa(.(T230, T231), X452) → U22_aa(T230, T231, X452, part87_in_aaaa(T230, T231, X448, X449))
part87_in_aaaa(T256, .(T257, T258), .(T257, X503), X504) → U38_aaaa(T256, T257, T258, X503, X504, gt10_in_aa(T256, T257))
U38_aaaa(T256, T257, T258, X503, X504, gt10_out_aa(T256, T257)) → part87_out_aaaa(T256, .(T257, T258), .(T257, X503), X504)
part87_in_aaaa(T261, .(T257, T262), .(T257, X503), X504) → U39_aaaa(T261, T257, T262, X503, X504, gt10_in_aa(T261, T257))
U39_aaaa(T261, T257, T262, X503, X504, gt10_out_aa(T261, T257)) → U40_aaaa(T261, T257, T262, X503, X504, part20_in_gaaa(T261, T262, X503, X504))
U40_aaaa(T261, T257, T262, X503, X504, part20_out_gaaa(T261, T262, X503, X504)) → part87_out_aaaa(T261, .(T257, T262), .(T257, X503), X504)
part87_in_aaaa(T283, .(T284, T285), X554, .(T284, X555)) → U41_aaaa(T283, T284, T285, X554, X555, le100_in_aa(T283, T284))
le100_in_aa(s(T302), s(T303)) → U21_aa(T302, T303, le100_in_aa(T302, T303))
le100_in_aa(0, s(T310)) → le100_out_aa(0, s(T310))
le100_in_aa(0, 0) → le100_out_aa(0, 0)
U21_aa(T302, T303, le100_out_aa(T302, T303)) → le100_out_aa(s(T302), s(T303))
U41_aaaa(T283, T284, T285, X554, X555, le100_out_aa(T283, T284)) → part87_out_aaaa(T283, .(T284, T285), X554, .(T284, X555))
part87_in_aaaa(T288, .(T284, T289), X554, .(T284, X555)) → U42_aaaa(T288, T284, T289, X554, X555, le100_in_aa(T288, T284))
U42_aaaa(T288, T284, T289, X554, X555, le100_out_aa(T288, T284)) → U43_aaaa(T288, T284, T289, X554, X555, part20_in_gaaa(T288, T289, X554, X555))
U43_aaaa(T288, T284, T289, X554, X555, part20_out_gaaa(T288, T289, X554, X555)) → part87_out_aaaa(T288, .(T284, T289), X554, .(T284, X555))
part87_in_aaaa(T316, [], [], []) → part87_out_aaaa(T316, [], [], [])
U22_aa(T230, T231, X452, part87_out_aaaa(T230, T231, X448, X449)) → qs80_out_aa(.(T230, T231), X452)
qs80_in_aa(.(T237, T231), X452) → U23_aa(T237, T231, X452, part87_in_aaaa(T237, T231, T235, T236))
U23_aa(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U24_aa(T237, T231, X452, qs80_in_aa(T235, X450))
qs80_in_aa(.(T325, T231), X452) → U27_aa(T325, T231, X452, part87_in_aaaa(T325, T231, T235, T236))
U27_aa(T325, T231, X452, part87_out_aaaa(T325, T231, T235, T236)) → U28_aa(T325, T231, X452, T236, qs80_in_aa(T235, T319))
qs80_in_aa([], []) → qs80_out_aa([], [])
U28_aa(T325, T231, X452, T236, qs80_out_aa(T235, T319)) → U29_aa(T325, T231, X452, T319, qs80_in_aa(T236, T324))
U29_aa(T325, T231, X452, T319, qs80_out_aa(T236, T324)) → U30_aa(T325, T231, X452, app121_in_aaaa(T319, T325, T324, X452))
app121_in_aaaa(.(T348, T349), T352, T353, .(T348, X657)) → U31_aaaa(T348, T349, T352, T353, X657, app121_in_aaaa(T349, T352, T353, X657))
app121_in_aaaa([], T362, T363, .(T362, T363)) → app121_out_aaaa([], T362, T363, .(T362, T363))
U31_aaaa(T348, T349, T352, T353, X657, app121_out_aaaa(T349, T352, T353, X657)) → app121_out_aaaa(.(T348, T349), T352, T353, .(T348, X657))
U30_aa(T325, T231, X452, app121_out_aaaa(T319, T325, T324, X452)) → qs80_out_aa(.(T325, T231), X452)
U24_aa(T237, T231, X452, qs80_out_aa(T235, X450)) → qs80_out_aa(.(T237, T231), X452)
U23_aa(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U25_aa(T237, T231, X452, T236, qs80_in_aa(T235, T319))
U25_aa(T237, T231, X452, T236, qs80_out_aa(T235, T319)) → U26_aa(T237, T231, X452, qs80_in_aa(T236, X451))
U26_aa(T237, T231, X452, qs80_out_aa(T236, X451)) → qs80_out_aa(.(T237, T231), X452)
U33_aaagg(T54, X10, T131, T31, T8, qs80_out_aa(T54, X10)) → p52_out_aaagg(T54, X10, T131, T31, T8)
p52_in_aaagg(T54, T217, T131, T31, T8) → U34_aaagg(T54, T217, T131, T31, T8, qs80_in_aa(T54, T217))
U34_aaagg(T54, T217, T131, T31, T8, qs80_out_aa(T54, T217)) → U35_aaagg(T54, T217, T131, T31, T8, app81_in_agag(T131, T31, T217, T8))
app81_in_agag(.(T389, T390), T391, T394, .(T389, T393)) → U32_agag(T389, T390, T391, T394, T393, app81_in_agag(T390, T391, T394, T393))
app81_in_agag([], T404, T405, .(T404, T405)) → app81_out_agag([], T404, T405, .(T404, T405))
U32_agag(T389, T390, T391, T394, T393, app81_out_agag(T390, T391, T394, T393)) → app81_out_agag(.(T389, T390), T391, T394, .(T389, T393))
U35_aaagg(T54, T217, T131, T31, T8, app81_out_agag(T131, T31, T217, T8)) → p52_out_aaagg(T54, T217, T131, T31, T8)
U50_ag(T31, T33, T32, T8, p52_out_aaagg(T54, X10, T131, T31, T8)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
qs1_in_ag(.(T421, .(T422, T423)), T8) → U51_ag(T421, T422, T423, T8, le100_in_aa(T421, T422))
U51_ag(T421, T422, T423, T8, le100_out_aa(T421, T422)) → qs1_out_ag(.(T421, .(T422, T423)), T8)
qs1_in_ag(.(T426, .(T428, T427)), T8) → U52_ag(T426, T428, T427, T8, le100_in_aa(T426, T428))
U52_ag(T426, T428, T427, T8, le100_out_aa(T426, T428)) → U53_ag(T426, T428, T427, T8, part20_in_gaaa(T426, T427, X740, X741))
U53_ag(T426, T428, T427, T8, part20_out_gaaa(T426, T427, X740, X741)) → qs1_out_ag(.(T426, .(T428, T427)), T8)
qs1_in_ag(.(T426, .(T436, T427)), T8) → U54_ag(T426, T436, T427, T8, le100_in_aa(T426, T436))
U54_ag(T426, T436, T427, T8, le100_out_aa(T426, T436)) → U55_ag(T426, T436, T427, T8, part20_in_gaaa(T426, T427, T434, T435))
U55_ag(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U56_ag(T426, T436, T427, T8, qs80_in_aa(T434, X9))
U56_ag(T426, T436, T427, T8, qs80_out_aa(T434, X9)) → qs1_out_ag(.(T426, .(T436, T427)), T8)
U55_ag(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U57_ag(T426, T436, T427, T8, T435, qs80_in_aa(T434, T442))
U57_ag(T426, T436, T427, T8, T435, qs80_out_aa(T434, T442)) → U58_ag(T426, T436, T427, T8, p52_in_aaagg(.(T436, T435), X10, T442, T426, T8))
U58_ag(T426, T436, T427, T8, p52_out_aaagg(.(T436, T435), X10, T442, T426, T8)) → qs1_out_ag(.(T426, .(T436, T427)), T8)
qs1_in_ag(.(T452, []), T8) → U59_ag(T452, T8, qs155_in_a(X9))
qs155_in_a([]) → qs155_out_a([])
U59_ag(T452, T8, qs155_out_a(X9)) → qs1_out_ag(.(T452, []), T8)
qs1_in_ag(.(T452, []), T8) → U60_ag(T452, T8, qs155_in_a(T455))
U60_ag(T452, T8, qs155_out_a(T455)) → U61_ag(T452, T8, qs155_in_a(X10))
U61_ag(T452, T8, qs155_out_a(X10)) → qs1_out_ag(.(T452, []), T8)
U60_ag(T452, T8, qs155_out_a(T455)) → U62_ag(T452, T8, T455, qs155_in_a(T460))
U62_ag(T452, T8, T455, qs155_out_a(T460)) → U63_ag(T452, T8, app162_in_gagg(T455, T452, T460, T8))
app162_in_gagg(.(T486, T487), T491, T489, .(T486, T490)) → U36_gagg(T486, T487, T491, T489, T490, app162_in_gagg(T487, T491, T489, T490))
app162_in_gagg([], T501, T502, .(T501, T502)) → app162_out_gagg([], T501, T502, .(T501, T502))
U36_gagg(T486, T487, T491, T489, T490, app162_out_gagg(T487, T491, T489, T490)) → app162_out_gagg(.(T486, T487), T491, T489, .(T486, T490))
U63_ag(T452, T8, app162_out_gagg(T455, T452, T460, T8)) → qs1_out_ag(.(T452, []), T8)
qs1_in_ag([], []) → qs1_out_ag([], [])

The argument filtering Pi contains the following mapping:
qs1_in_ag(x1, x2)  =  qs1_in_ag(x2)
U44_ag(x1, x2, x3, x4, x5)  =  U44_ag(x4, x5)
gt10_in_aa(x1, x2)  =  gt10_in_aa
U1_aa(x1, x2, x3)  =  U1_aa(x3)
gt10_out_aa(x1, x2)  =  gt10_out_aa(x1, x2)
qs1_out_ag(x1, x2)  =  qs1_out_ag(x2)
U45_ag(x1, x2, x3, x4, x5)  =  U45_ag(x4, x5)
U46_ag(x1, x2, x3, x4, x5)  =  U46_ag(x4, x5)
part20_in_gaaa(x1, x2, x3, x4)  =  part20_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x1, x6)
gt10_in_ga(x1, x2)  =  gt10_in_ga(x1)
s(x1)  =  s(x1)
U1_ga(x1, x2, x3)  =  U1_ga(x1, x3)
0  =  0
gt10_out_ga(x1, x2)  =  gt10_out_ga(x1, x2)
part20_out_gaaa(x1, x2, x3, x4)  =  part20_out_gaaa(x1)
U3_gaaa(x1, x2, x3, x4, x5, x6)  =  U3_gaaa(x1, x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x1, x6)
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x1, x6)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U8_ga(x1, x2, x3)  =  U8_ga(x1, x3)
le33_out_ga(x1, x2)  =  le33_out_ga(x1)
U6_gaaa(x1, x2, x3, x4, x5, x6)  =  U6_gaaa(x1, x6)
U7_gaaa(x1, x2, x3, x4, x5, x6)  =  U7_gaaa(x1, x6)
U47_ag(x1, x2, x3, x4, x5)  =  U47_ag(x1, x2, x4, x5)
U48_ag(x1, x2, x3, x4, x5)  =  U48_ag(x4, x5)
qs51_in_gaa(x1, x2, x3)  =  qs51_in_gaa(x1)
U37_gaa(x1, x2, x3, x4)  =  U37_gaa(x1, x4)
p56_in_gaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_in_gaaaaaa(x1)
U9_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_gaaaaaa(x1, x8)
p56_out_gaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_out_gaaaaaa(x1)
U10_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_gaaaaaa(x1, x8)
U11_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_gaaaaaa(x1, x8)
qs59_in_aa(x1, x2)  =  qs59_in_aa
U19_aa(x1, x2, x3, x4)  =  U19_aa(x4)
p56_in_aaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_in_aaaaaaa
U9_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_aaaaaaa(x8)
part20_in_aaaa(x1, x2, x3, x4)  =  part20_in_aaaa
U2_aaaa(x1, x2, x3, x4, x5, x6)  =  U2_aaaa(x6)
part20_out_aaaa(x1, x2, x3, x4)  =  part20_out_aaaa
U3_aaaa(x1, x2, x3, x4, x5, x6)  =  U3_aaaa(x6)
U4_aaaa(x1, x2, x3, x4, x5, x6)  =  U4_aaaa(x6)
U5_aaaa(x1, x2, x3, x4, x5, x6)  =  U5_aaaa(x6)
le33_in_aa(x1, x2)  =  le33_in_aa
U8_aa(x1, x2, x3)  =  U8_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
U6_aaaa(x1, x2, x3, x4, x5, x6)  =  U6_aaaa(x6)
U7_aaaa(x1, x2, x3, x4, x5, x6)  =  U7_aaaa(x6)
p56_out_aaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_out_aaaaaaa
U10_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_aaaaaaa(x8)
U11_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_aaaaaaa(x8)
qs59_out_aa(x1, x2)  =  qs59_out_aa
U12_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_aaaaaaa(x8)
U13_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_aaaaaaa(x8)
U14_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_aaaaaaa(x8)
U15_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_aaaaaaa(x8)
U16_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_aaaaaaa(x8)
U17_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_aaaaaaa(x8)
U18_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_aaaaaaa(x8)
.(x1, x2)  =  .(x1, x2)
[]  =  []
app70_in_aaaa(x1, x2, x3, x4)  =  app70_in_aaaa
U20_aaaa(x1, x2, x3, x4, x5, x6)  =  U20_aaaa(x6)
app70_out_aaaa(x1, x2, x3, x4)  =  app70_out_aaaa
U12_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_gaaaaaa(x1, x8)
U13_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_gaaaaaa(x1, x8)
U14_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_gaaaaaa(x1, x8)
U15_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_gaaaaaa(x1, x8)
U16_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_gaaaaaa(x1, x8)
U17_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_gaaaaaa(x1, x8)
U18_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_gaaaaaa(x1, x8)
app70_in_agaa(x1, x2, x3, x4)  =  app70_in_agaa(x2)
U20_agaa(x1, x2, x3, x4, x5, x6)  =  U20_agaa(x3, x6)
app70_out_agaa(x1, x2, x3, x4)  =  app70_out_agaa(x2)
qs51_out_gaa(x1, x2, x3)  =  qs51_out_gaa(x1)
U49_ag(x1, x2, x3, x4, x5, x6)  =  U49_ag(x1, x4, x6)
U50_ag(x1, x2, x3, x4, x5)  =  U50_ag(x4, x5)
p52_in_aaagg(x1, x2, x3, x4, x5)  =  p52_in_aaagg(x4, x5)
U33_aaagg(x1, x2, x3, x4, x5, x6)  =  U33_aaagg(x4, x5, x6)
qs80_in_aa(x1, x2)  =  qs80_in_aa
U22_aa(x1, x2, x3, x4)  =  U22_aa(x4)
part87_in_aaaa(x1, x2, x3, x4)  =  part87_in_aaaa
U38_aaaa(x1, x2, x3, x4, x5, x6)  =  U38_aaaa(x6)
part87_out_aaaa(x1, x2, x3, x4)  =  part87_out_aaaa
U39_aaaa(x1, x2, x3, x4, x5, x6)  =  U39_aaaa(x6)
U40_aaaa(x1, x2, x3, x4, x5, x6)  =  U40_aaaa(x6)
U41_aaaa(x1, x2, x3, x4, x5, x6)  =  U41_aaaa(x6)
le100_in_aa(x1, x2)  =  le100_in_aa
U21_aa(x1, x2, x3)  =  U21_aa(x3)
le100_out_aa(x1, x2)  =  le100_out_aa(x1)
U42_aaaa(x1, x2, x3, x4, x5, x6)  =  U42_aaaa(x6)
U43_aaaa(x1, x2, x3, x4, x5, x6)  =  U43_aaaa(x6)
qs80_out_aa(x1, x2)  =  qs80_out_aa
U23_aa(x1, x2, x3, x4)  =  U23_aa(x4)
U24_aa(x1, x2, x3, x4)  =  U24_aa(x4)
U27_aa(x1, x2, x3, x4)  =  U27_aa(x4)
U28_aa(x1, x2, x3, x4, x5)  =  U28_aa(x5)
U29_aa(x1, x2, x3, x4, x5)  =  U29_aa(x5)
U30_aa(x1, x2, x3, x4)  =  U30_aa(x4)
app121_in_aaaa(x1, x2, x3, x4)  =  app121_in_aaaa
U31_aaaa(x1, x2, x3, x4, x5, x6)  =  U31_aaaa(x6)
app121_out_aaaa(x1, x2, x3, x4)  =  app121_out_aaaa
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
U26_aa(x1, x2, x3, x4)  =  U26_aa(x4)
p52_out_aaagg(x1, x2, x3, x4, x5)  =  p52_out_aaagg(x4, x5)
U34_aaagg(x1, x2, x3, x4, x5, x6)  =  U34_aaagg(x4, x5, x6)
U35_aaagg(x1, x2, x3, x4, x5, x6)  =  U35_aaagg(x4, x5, x6)
app81_in_agag(x1, x2, x3, x4)  =  app81_in_agag(x2, x4)
U32_agag(x1, x2, x3, x4, x5, x6)  =  U32_agag(x1, x3, x5, x6)
app81_out_agag(x1, x2, x3, x4)  =  app81_out_agag(x1, x2, x3, x4)
U51_ag(x1, x2, x3, x4, x5)  =  U51_ag(x4, x5)
U52_ag(x1, x2, x3, x4, x5)  =  U52_ag(x4, x5)
U53_ag(x1, x2, x3, x4, x5)  =  U53_ag(x4, x5)
U54_ag(x1, x2, x3, x4, x5)  =  U54_ag(x4, x5)
U55_ag(x1, x2, x3, x4, x5)  =  U55_ag(x1, x4, x5)
U56_ag(x1, x2, x3, x4, x5)  =  U56_ag(x4, x5)
U57_ag(x1, x2, x3, x4, x5, x6)  =  U57_ag(x1, x4, x6)
U58_ag(x1, x2, x3, x4, x5)  =  U58_ag(x4, x5)
U59_ag(x1, x2, x3)  =  U59_ag(x2, x3)
qs155_in_a(x1)  =  qs155_in_a
qs155_out_a(x1)  =  qs155_out_a(x1)
U60_ag(x1, x2, x3)  =  U60_ag(x2, x3)
U61_ag(x1, x2, x3)  =  U61_ag(x2, x3)
U62_ag(x1, x2, x3, x4)  =  U62_ag(x2, x3, x4)
U63_ag(x1, x2, x3)  =  U63_ag(x2, x3)
app162_in_gagg(x1, x2, x3, x4)  =  app162_in_gagg(x1, x3, x4)
U36_gagg(x1, x2, x3, x4, x5, x6)  =  U36_gagg(x1, x2, x4, x5, x6)
app162_out_gagg(x1, x2, x3, x4)  =  app162_out_gagg(x1, x2, x3, x4)
QS59_IN_AA(x1, x2)  =  QS59_IN_AA
P56_IN_AAAAAAA(x1, x2, x3, x4, x5, x6, x7)  =  P56_IN_AAAAAAA
U10_AAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_AAAAAAA(x8)
U12_AAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_AAAAAAA(x8)
U13_AAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_AAAAAAA(x8)
U15_AAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_AAAAAAA(x8)
U16_AAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_AAAAAAA(x8)

We have to consider all (P,R,Pi)-chains

(120) UsableRulesProof (EQUIVALENT transformation)

For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R.

(121) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

P56_IN_AAAAAAA(T148, T149, T153, T154, X271, X272, X273) → U10_AAAAAAA(T148, T149, T153, T154, X271, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U10_AAAAAAA(T148, T149, T153, T154, X271, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → QS59_IN_AA(T153, X271)
QS59_IN_AA(.(T171, T172), X335) → P56_IN_AAAAAAA(T171, T172, X331, X332, X333, X334, X335)
P56_IN_AAAAAAA(T148, T149, T153, T154, T160, X272, X273) → U12_AAAAAAA(T148, T149, T153, T154, T160, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U12_AAAAAAA(T148, T149, T153, T154, T160, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U13_AAAAAAA(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U13_AAAAAAA(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → QS59_IN_AA(T154, X272)
U12_AAAAAAA(T148, T149, T153, T154, T160, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → QS59_IN_AA(T153, T160)
P56_IN_AAAAAAA(T148, T149, T153, T154, T160, T178, X273) → U15_AAAAAAA(T148, T149, T153, T154, T160, T178, X273, part20_in_aaaa(T148, T149, T153, T154))
U15_AAAAAAA(T148, T149, T153, T154, T160, T178, X273, part20_out_aaaa(T148, T149, T153, T154)) → U16_AAAAAAA(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U16_AAAAAAA(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → QS59_IN_AA(T154, T178)
U15_AAAAAAA(T148, T149, T153, T154, T160, T178, X273, part20_out_aaaa(T148, T149, T153, T154)) → QS59_IN_AA(T153, T160)

The TRS R consists of the following rules:

part20_in_aaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_aaaa(T70, T73, T74, X119, X120, gt10_in_aa(T70, T73))
part20_in_aaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_aaaa(T70, T73, T77, X119, X120, gt10_in_aa(T70, T73))
part20_in_aaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_aaaa(T95, T98, T99, X170, X171, le33_in_aa(T95, T98))
part20_in_aaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_aaaa(T95, T98, T102, X170, X171, le33_in_aa(T95, T98))
part20_in_aaaa(T128, [], [], []) → part20_out_aaaa(T128, [], [], [])
qs59_in_aa(.(T171, T172), X335) → U19_aa(T171, T172, X335, p56_in_aaaaaaa(T171, T172, X331, X332, X333, X334, X335))
qs59_in_aa([], []) → qs59_out_aa([], [])
U2_aaaa(T70, T73, T74, X119, X120, gt10_out_aa(T70, T73)) → part20_out_aaaa(T70, .(T73, T74), .(T73, X119), X120)
U3_aaaa(T70, T73, T77, X119, X120, gt10_out_aa(T70, T73)) → U4_aaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
U5_aaaa(T95, T98, T99, X170, X171, le33_out_aa(T95, T98)) → part20_out_aaaa(T95, .(T98, T99), X170, .(T98, X171))
U6_aaaa(T95, T98, T102, X170, X171, le33_out_aa(T95, T98)) → U7_aaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
U19_aa(T171, T172, X335, p56_out_aaaaaaa(T171, T172, X331, X332, X333, X334, X335)) → qs59_out_aa(.(T171, T172), X335)
gt10_in_aa(s(T46), s(T47)) → U1_aa(T46, T47, gt10_in_aa(T46, T47))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U4_aaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_aaaa(T70, .(T73, T77), .(T73, X119), X120)
le33_in_aa(s(T113), s(T115)) → U8_aa(T113, T115, le33_in_aa(T113, T115))
le33_in_aa(0, s(T122)) → le33_out_aa(0, s(T122))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U7_aaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_aaaa(T95, .(T98, T102), X170, .(T98, X171))
p56_in_aaaaaaa(T148, T149, X269, X270, X271, X272, X273) → U9_aaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_in_aaaa(T148, T149, X269, X270))
p56_in_aaaaaaa(T148, T149, T153, T154, X271, X272, X273) → U10_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
p56_in_aaaaaaa(T148, T149, T153, T154, T160, X272, X273) → U12_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
p56_in_aaaaaaa(T148, T149, T153, T154, T160, T178, X273) → U15_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_in_aaaa(T148, T149, T153, T154))
U1_aa(T46, T47, gt10_out_aa(T46, T47)) → gt10_out_aa(s(T46), s(T47))
part20_in_gaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_gaaa(T70, T73, T74, X119, X120, gt10_in_ga(T70, T73))
part20_in_gaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_gaaa(T70, T73, T77, X119, X120, gt10_in_ga(T70, T73))
part20_in_gaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_gaaa(T95, T98, T99, X170, X171, le33_in_ga(T95, T98))
part20_in_gaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_gaaa(T95, T98, T102, X170, X171, le33_in_ga(T95, T98))
part20_in_gaaa(T128, [], [], []) → part20_out_gaaa(T128, [], [], [])
U8_aa(T113, T115, le33_out_aa(T113, T115)) → le33_out_aa(s(T113), s(T115))
U9_aaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_out_aaaa(T148, T149, X269, X270)) → p56_out_aaaaaaa(T148, T149, X269, X270, X271, X272, X273)
U10_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U11_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
U12_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U13_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U15_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_out_aaaa(T148, T149, T153, T154)) → U16_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U2_gaaa(T70, T73, T74, X119, X120, gt10_out_ga(T70, T73)) → part20_out_gaaa(T70, .(T73, T74), .(T73, X119), X120)
U3_gaaa(T70, T73, T77, X119, X120, gt10_out_ga(T70, T73)) → U4_gaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
U5_gaaa(T95, T98, T99, X170, X171, le33_out_ga(T95, T98)) → part20_out_gaaa(T95, .(T98, T99), X170, .(T98, X171))
U6_gaaa(T95, T98, T102, X170, X171, le33_out_ga(T95, T98)) → U7_gaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
U11_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_out_aa(T153, X271)) → p56_out_aaaaaaa(T148, T149, T153, T154, X271, X272, X273)
U13_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U16_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
gt10_in_ga(s(T46), s(T47)) → U1_ga(T46, T47, gt10_in_ga(T46, T47))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U4_gaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_gaaa(T70, .(T73, T77), .(T73, X119), X120)
le33_in_ga(s(T113), s(T115)) → U8_ga(T113, T115, le33_in_ga(T113, T115))
le33_in_ga(0, s(T122)) → le33_out_ga(0, s(T122))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U7_gaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_gaaa(T95, .(T98, T102), X170, .(T98, X171))
U14_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T154, X272)) → p56_out_aaaaaaa(T148, T149, T153, T154, T160, X272, X273)
U17_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_in_aaaa(T160, T148, T178, X273))
U1_ga(T46, T47, gt10_out_ga(T46, T47)) → gt10_out_ga(s(T46), s(T47))
U8_ga(T113, T115, le33_out_ga(T113, T115)) → le33_out_ga(s(T113), s(T115))
U18_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_out_aaaa(T160, T148, T178, X273)) → p56_out_aaaaaaa(T148, T149, T153, T154, T160, T178, X273)
app70_in_aaaa(.(T201, T202), T203, T204, .(T201, X391)) → U20_aaaa(T201, T202, T203, T204, X391, app70_in_aaaa(T202, T203, T204, X391))
app70_in_aaaa([], T213, T214, .(T213, T214)) → app70_out_aaaa([], T213, T214, .(T213, T214))
U20_aaaa(T201, T202, T203, T204, X391, app70_out_aaaa(T202, T203, T204, X391)) → app70_out_aaaa(.(T201, T202), T203, T204, .(T201, X391))

The argument filtering Pi contains the following mapping:
gt10_in_aa(x1, x2)  =  gt10_in_aa
U1_aa(x1, x2, x3)  =  U1_aa(x3)
gt10_out_aa(x1, x2)  =  gt10_out_aa(x1, x2)
part20_in_gaaa(x1, x2, x3, x4)  =  part20_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x1, x6)
gt10_in_ga(x1, x2)  =  gt10_in_ga(x1)
s(x1)  =  s(x1)
U1_ga(x1, x2, x3)  =  U1_ga(x1, x3)
0  =  0
gt10_out_ga(x1, x2)  =  gt10_out_ga(x1, x2)
part20_out_gaaa(x1, x2, x3, x4)  =  part20_out_gaaa(x1)
U3_gaaa(x1, x2, x3, x4, x5, x6)  =  U3_gaaa(x1, x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x1, x6)
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x1, x6)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U8_ga(x1, x2, x3)  =  U8_ga(x1, x3)
le33_out_ga(x1, x2)  =  le33_out_ga(x1)
U6_gaaa(x1, x2, x3, x4, x5, x6)  =  U6_gaaa(x1, x6)
U7_gaaa(x1, x2, x3, x4, x5, x6)  =  U7_gaaa(x1, x6)
qs59_in_aa(x1, x2)  =  qs59_in_aa
U19_aa(x1, x2, x3, x4)  =  U19_aa(x4)
p56_in_aaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_in_aaaaaaa
U9_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_aaaaaaa(x8)
part20_in_aaaa(x1, x2, x3, x4)  =  part20_in_aaaa
U2_aaaa(x1, x2, x3, x4, x5, x6)  =  U2_aaaa(x6)
part20_out_aaaa(x1, x2, x3, x4)  =  part20_out_aaaa
U3_aaaa(x1, x2, x3, x4, x5, x6)  =  U3_aaaa(x6)
U4_aaaa(x1, x2, x3, x4, x5, x6)  =  U4_aaaa(x6)
U5_aaaa(x1, x2, x3, x4, x5, x6)  =  U5_aaaa(x6)
le33_in_aa(x1, x2)  =  le33_in_aa
U8_aa(x1, x2, x3)  =  U8_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
U6_aaaa(x1, x2, x3, x4, x5, x6)  =  U6_aaaa(x6)
U7_aaaa(x1, x2, x3, x4, x5, x6)  =  U7_aaaa(x6)
p56_out_aaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_out_aaaaaaa
U10_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_aaaaaaa(x8)
U11_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_aaaaaaa(x8)
qs59_out_aa(x1, x2)  =  qs59_out_aa
U12_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_aaaaaaa(x8)
U13_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_aaaaaaa(x8)
U14_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_aaaaaaa(x8)
U15_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_aaaaaaa(x8)
U16_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_aaaaaaa(x8)
U17_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_aaaaaaa(x8)
U18_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_aaaaaaa(x8)
.(x1, x2)  =  .(x1, x2)
[]  =  []
app70_in_aaaa(x1, x2, x3, x4)  =  app70_in_aaaa
U20_aaaa(x1, x2, x3, x4, x5, x6)  =  U20_aaaa(x6)
app70_out_aaaa(x1, x2, x3, x4)  =  app70_out_aaaa
QS59_IN_AA(x1, x2)  =  QS59_IN_AA
P56_IN_AAAAAAA(x1, x2, x3, x4, x5, x6, x7)  =  P56_IN_AAAAAAA
U10_AAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_AAAAAAA(x8)
U12_AAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_AAAAAAA(x8)
U13_AAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_AAAAAAA(x8)
U15_AAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_AAAAAAA(x8)
U16_AAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_AAAAAAA(x8)

We have to consider all (P,R,Pi)-chains

(122) PiDPToQDPProof (SOUND transformation)

Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi.

(123) Obligation:

Q DP problem:
The TRS P consists of the following rules:

P56_IN_AAAAAAAU10_AAAAAAA(part20_in_aaaa)
U10_AAAAAAA(part20_out_aaaa) → QS59_IN_AA
QS59_IN_AAP56_IN_AAAAAAA
P56_IN_AAAAAAAU12_AAAAAAA(part20_in_aaaa)
U12_AAAAAAA(part20_out_aaaa) → U13_AAAAAAA(qs59_in_aa)
U13_AAAAAAA(qs59_out_aa) → QS59_IN_AA
U12_AAAAAAA(part20_out_aaaa) → QS59_IN_AA
P56_IN_AAAAAAAU15_AAAAAAA(part20_in_aaaa)
U15_AAAAAAA(part20_out_aaaa) → U16_AAAAAAA(qs59_in_aa)
U16_AAAAAAA(qs59_out_aa) → QS59_IN_AA
U15_AAAAAAA(part20_out_aaaa) → QS59_IN_AA

The TRS R consists of the following rules:

part20_in_aaaaU2_aaaa(gt10_in_aa)
part20_in_aaaaU3_aaaa(gt10_in_aa)
part20_in_aaaaU5_aaaa(le33_in_aa)
part20_in_aaaaU6_aaaa(le33_in_aa)
part20_in_aaaapart20_out_aaaa
qs59_in_aaU19_aa(p56_in_aaaaaaa)
qs59_in_aaqs59_out_aa
U2_aaaa(gt10_out_aa(T70, T73)) → part20_out_aaaa
U3_aaaa(gt10_out_aa(T70, T73)) → U4_aaaa(part20_in_gaaa(T70))
U5_aaaa(le33_out_aa(T95)) → part20_out_aaaa
U6_aaaa(le33_out_aa(T95)) → U7_aaaa(part20_in_gaaa(T95))
U19_aa(p56_out_aaaaaaa) → qs59_out_aa
gt10_in_aaU1_aa(gt10_in_aa)
gt10_in_aagt10_out_aa(s(0), 0)
U4_aaaa(part20_out_gaaa(T70)) → part20_out_aaaa
le33_in_aaU8_aa(le33_in_aa)
le33_in_aale33_out_aa(0)
U7_aaaa(part20_out_gaaa(T95)) → part20_out_aaaa
p56_in_aaaaaaaU9_aaaaaaa(part20_in_aaaa)
p56_in_aaaaaaaU10_aaaaaaa(part20_in_aaaa)
p56_in_aaaaaaaU12_aaaaaaa(part20_in_aaaa)
p56_in_aaaaaaaU15_aaaaaaa(part20_in_aaaa)
U1_aa(gt10_out_aa(T46, T47)) → gt10_out_aa(s(T46), s(T47))
part20_in_gaaa(T70) → U2_gaaa(T70, gt10_in_ga(T70))
part20_in_gaaa(T70) → U3_gaaa(T70, gt10_in_ga(T70))
part20_in_gaaa(T95) → U5_gaaa(T95, le33_in_ga(T95))
part20_in_gaaa(T95) → U6_gaaa(T95, le33_in_ga(T95))
part20_in_gaaa(T128) → part20_out_gaaa(T128)
U8_aa(le33_out_aa(T113)) → le33_out_aa(s(T113))
U9_aaaaaaa(part20_out_aaaa) → p56_out_aaaaaaa
U10_aaaaaaa(part20_out_aaaa) → U11_aaaaaaa(qs59_in_aa)
U12_aaaaaaa(part20_out_aaaa) → U13_aaaaaaa(qs59_in_aa)
U15_aaaaaaa(part20_out_aaaa) → U16_aaaaaaa(qs59_in_aa)
U2_gaaa(T70, gt10_out_ga(T70, T73)) → part20_out_gaaa(T70)
U3_gaaa(T70, gt10_out_ga(T70, T73)) → U4_gaaa(T70, part20_in_gaaa(T70))
U5_gaaa(T95, le33_out_ga(T95)) → part20_out_gaaa(T95)
U6_gaaa(T95, le33_out_ga(T95)) → U7_gaaa(T95, part20_in_gaaa(T95))
U11_aaaaaaa(qs59_out_aa) → p56_out_aaaaaaa
U13_aaaaaaa(qs59_out_aa) → U14_aaaaaaa(qs59_in_aa)
U16_aaaaaaa(qs59_out_aa) → U17_aaaaaaa(qs59_in_aa)
gt10_in_ga(s(T46)) → U1_ga(T46, gt10_in_ga(T46))
gt10_in_ga(s(0)) → gt10_out_ga(s(0), 0)
U4_gaaa(T70, part20_out_gaaa(T70)) → part20_out_gaaa(T70)
le33_in_ga(s(T113)) → U8_ga(T113, le33_in_ga(T113))
le33_in_ga(0) → le33_out_ga(0)
U7_gaaa(T95, part20_out_gaaa(T95)) → part20_out_gaaa(T95)
U14_aaaaaaa(qs59_out_aa) → p56_out_aaaaaaa
U17_aaaaaaa(qs59_out_aa) → U18_aaaaaaa(app70_in_aaaa)
U1_ga(T46, gt10_out_ga(T46, T47)) → gt10_out_ga(s(T46), s(T47))
U8_ga(T113, le33_out_ga(T113)) → le33_out_ga(s(T113))
U18_aaaaaaa(app70_out_aaaa) → p56_out_aaaaaaa
app70_in_aaaaU20_aaaa(app70_in_aaaa)
app70_in_aaaaapp70_out_aaaa
U20_aaaa(app70_out_aaaa) → app70_out_aaaa

The set Q consists of the following terms:

part20_in_aaaa
qs59_in_aa
U2_aaaa(x0)
U3_aaaa(x0)
U5_aaaa(x0)
U6_aaaa(x0)
U19_aa(x0)
gt10_in_aa
U4_aaaa(x0)
le33_in_aa
U7_aaaa(x0)
p56_in_aaaaaaa
U1_aa(x0)
part20_in_gaaa(x0)
U8_aa(x0)
U9_aaaaaaa(x0)
U10_aaaaaaa(x0)
U12_aaaaaaa(x0)
U15_aaaaaaa(x0)
U2_gaaa(x0, x1)
U3_gaaa(x0, x1)
U5_gaaa(x0, x1)
U6_gaaa(x0, x1)
U11_aaaaaaa(x0)
U13_aaaaaaa(x0)
U16_aaaaaaa(x0)
gt10_in_ga(x0)
U4_gaaa(x0, x1)
le33_in_ga(x0)
U7_gaaa(x0, x1)
U14_aaaaaaa(x0)
U17_aaaaaaa(x0)
U1_ga(x0, x1)
U8_ga(x0, x1)
U18_aaaaaaa(x0)
app70_in_aaaa
U20_aaaa(x0)

We have to consider all (P,Q,R)-chains.

(124) Narrowing (SOUND transformation)

By narrowing [LPAR04] the rule P56_IN_AAAAAAAU10_AAAAAAA(part20_in_aaaa) at position [0] we obtained the following new rules [LPAR04]:

P56_IN_AAAAAAAU10_AAAAAAA(U2_aaaa(gt10_in_aa))
P56_IN_AAAAAAAU10_AAAAAAA(U3_aaaa(gt10_in_aa))
P56_IN_AAAAAAAU10_AAAAAAA(U5_aaaa(le33_in_aa))
P56_IN_AAAAAAAU10_AAAAAAA(U6_aaaa(le33_in_aa))
P56_IN_AAAAAAAU10_AAAAAAA(part20_out_aaaa)

(125) Obligation:

Q DP problem:
The TRS P consists of the following rules:

U10_AAAAAAA(part20_out_aaaa) → QS59_IN_AA
QS59_IN_AAP56_IN_AAAAAAA
P56_IN_AAAAAAAU12_AAAAAAA(part20_in_aaaa)
U12_AAAAAAA(part20_out_aaaa) → U13_AAAAAAA(qs59_in_aa)
U13_AAAAAAA(qs59_out_aa) → QS59_IN_AA
U12_AAAAAAA(part20_out_aaaa) → QS59_IN_AA
P56_IN_AAAAAAAU15_AAAAAAA(part20_in_aaaa)
U15_AAAAAAA(part20_out_aaaa) → U16_AAAAAAA(qs59_in_aa)
U16_AAAAAAA(qs59_out_aa) → QS59_IN_AA
U15_AAAAAAA(part20_out_aaaa) → QS59_IN_AA
P56_IN_AAAAAAAU10_AAAAAAA(U2_aaaa(gt10_in_aa))
P56_IN_AAAAAAAU10_AAAAAAA(U3_aaaa(gt10_in_aa))
P56_IN_AAAAAAAU10_AAAAAAA(U5_aaaa(le33_in_aa))
P56_IN_AAAAAAAU10_AAAAAAA(U6_aaaa(le33_in_aa))
P56_IN_AAAAAAAU10_AAAAAAA(part20_out_aaaa)

The TRS R consists of the following rules:

part20_in_aaaaU2_aaaa(gt10_in_aa)
part20_in_aaaaU3_aaaa(gt10_in_aa)
part20_in_aaaaU5_aaaa(le33_in_aa)
part20_in_aaaaU6_aaaa(le33_in_aa)
part20_in_aaaapart20_out_aaaa
qs59_in_aaU19_aa(p56_in_aaaaaaa)
qs59_in_aaqs59_out_aa
U2_aaaa(gt10_out_aa(T70, T73)) → part20_out_aaaa
U3_aaaa(gt10_out_aa(T70, T73)) → U4_aaaa(part20_in_gaaa(T70))
U5_aaaa(le33_out_aa(T95)) → part20_out_aaaa
U6_aaaa(le33_out_aa(T95)) → U7_aaaa(part20_in_gaaa(T95))
U19_aa(p56_out_aaaaaaa) → qs59_out_aa
gt10_in_aaU1_aa(gt10_in_aa)
gt10_in_aagt10_out_aa(s(0), 0)
U4_aaaa(part20_out_gaaa(T70)) → part20_out_aaaa
le33_in_aaU8_aa(le33_in_aa)
le33_in_aale33_out_aa(0)
U7_aaaa(part20_out_gaaa(T95)) → part20_out_aaaa
p56_in_aaaaaaaU9_aaaaaaa(part20_in_aaaa)
p56_in_aaaaaaaU10_aaaaaaa(part20_in_aaaa)
p56_in_aaaaaaaU12_aaaaaaa(part20_in_aaaa)
p56_in_aaaaaaaU15_aaaaaaa(part20_in_aaaa)
U1_aa(gt10_out_aa(T46, T47)) → gt10_out_aa(s(T46), s(T47))
part20_in_gaaa(T70) → U2_gaaa(T70, gt10_in_ga(T70))
part20_in_gaaa(T70) → U3_gaaa(T70, gt10_in_ga(T70))
part20_in_gaaa(T95) → U5_gaaa(T95, le33_in_ga(T95))
part20_in_gaaa(T95) → U6_gaaa(T95, le33_in_ga(T95))
part20_in_gaaa(T128) → part20_out_gaaa(T128)
U8_aa(le33_out_aa(T113)) → le33_out_aa(s(T113))
U9_aaaaaaa(part20_out_aaaa) → p56_out_aaaaaaa
U10_aaaaaaa(part20_out_aaaa) → U11_aaaaaaa(qs59_in_aa)
U12_aaaaaaa(part20_out_aaaa) → U13_aaaaaaa(qs59_in_aa)
U15_aaaaaaa(part20_out_aaaa) → U16_aaaaaaa(qs59_in_aa)
U2_gaaa(T70, gt10_out_ga(T70, T73)) → part20_out_gaaa(T70)
U3_gaaa(T70, gt10_out_ga(T70, T73)) → U4_gaaa(T70, part20_in_gaaa(T70))
U5_gaaa(T95, le33_out_ga(T95)) → part20_out_gaaa(T95)
U6_gaaa(T95, le33_out_ga(T95)) → U7_gaaa(T95, part20_in_gaaa(T95))
U11_aaaaaaa(qs59_out_aa) → p56_out_aaaaaaa
U13_aaaaaaa(qs59_out_aa) → U14_aaaaaaa(qs59_in_aa)
U16_aaaaaaa(qs59_out_aa) → U17_aaaaaaa(qs59_in_aa)
gt10_in_ga(s(T46)) → U1_ga(T46, gt10_in_ga(T46))
gt10_in_ga(s(0)) → gt10_out_ga(s(0), 0)
U4_gaaa(T70, part20_out_gaaa(T70)) → part20_out_gaaa(T70)
le33_in_ga(s(T113)) → U8_ga(T113, le33_in_ga(T113))
le33_in_ga(0) → le33_out_ga(0)
U7_gaaa(T95, part20_out_gaaa(T95)) → part20_out_gaaa(T95)
U14_aaaaaaa(qs59_out_aa) → p56_out_aaaaaaa
U17_aaaaaaa(qs59_out_aa) → U18_aaaaaaa(app70_in_aaaa)
U1_ga(T46, gt10_out_ga(T46, T47)) → gt10_out_ga(s(T46), s(T47))
U8_ga(T113, le33_out_ga(T113)) → le33_out_ga(s(T113))
U18_aaaaaaa(app70_out_aaaa) → p56_out_aaaaaaa
app70_in_aaaaU20_aaaa(app70_in_aaaa)
app70_in_aaaaapp70_out_aaaa
U20_aaaa(app70_out_aaaa) → app70_out_aaaa

The set Q consists of the following terms:

part20_in_aaaa
qs59_in_aa
U2_aaaa(x0)
U3_aaaa(x0)
U5_aaaa(x0)
U6_aaaa(x0)
U19_aa(x0)
gt10_in_aa
U4_aaaa(x0)
le33_in_aa
U7_aaaa(x0)
p56_in_aaaaaaa
U1_aa(x0)
part20_in_gaaa(x0)
U8_aa(x0)
U9_aaaaaaa(x0)
U10_aaaaaaa(x0)
U12_aaaaaaa(x0)
U15_aaaaaaa(x0)
U2_gaaa(x0, x1)
U3_gaaa(x0, x1)
U5_gaaa(x0, x1)
U6_gaaa(x0, x1)
U11_aaaaaaa(x0)
U13_aaaaaaa(x0)
U16_aaaaaaa(x0)
gt10_in_ga(x0)
U4_gaaa(x0, x1)
le33_in_ga(x0)
U7_gaaa(x0, x1)
U14_aaaaaaa(x0)
U17_aaaaaaa(x0)
U1_ga(x0, x1)
U8_ga(x0, x1)
U18_aaaaaaa(x0)
app70_in_aaaa
U20_aaaa(x0)

We have to consider all (P,Q,R)-chains.

(126) Narrowing (SOUND transformation)

By narrowing [LPAR04] the rule P56_IN_AAAAAAAU12_AAAAAAA(part20_in_aaaa) at position [0] we obtained the following new rules [LPAR04]:

P56_IN_AAAAAAAU12_AAAAAAA(U2_aaaa(gt10_in_aa))
P56_IN_AAAAAAAU12_AAAAAAA(U3_aaaa(gt10_in_aa))
P56_IN_AAAAAAAU12_AAAAAAA(U5_aaaa(le33_in_aa))
P56_IN_AAAAAAAU12_AAAAAAA(U6_aaaa(le33_in_aa))
P56_IN_AAAAAAAU12_AAAAAAA(part20_out_aaaa)

(127) Obligation:

Q DP problem:
The TRS P consists of the following rules:

U10_AAAAAAA(part20_out_aaaa) → QS59_IN_AA
QS59_IN_AAP56_IN_AAAAAAA
U12_AAAAAAA(part20_out_aaaa) → U13_AAAAAAA(qs59_in_aa)
U13_AAAAAAA(qs59_out_aa) → QS59_IN_AA
U12_AAAAAAA(part20_out_aaaa) → QS59_IN_AA
P56_IN_AAAAAAAU15_AAAAAAA(part20_in_aaaa)
U15_AAAAAAA(part20_out_aaaa) → U16_AAAAAAA(qs59_in_aa)
U16_AAAAAAA(qs59_out_aa) → QS59_IN_AA
U15_AAAAAAA(part20_out_aaaa) → QS59_IN_AA
P56_IN_AAAAAAAU10_AAAAAAA(U2_aaaa(gt10_in_aa))
P56_IN_AAAAAAAU10_AAAAAAA(U3_aaaa(gt10_in_aa))
P56_IN_AAAAAAAU10_AAAAAAA(U5_aaaa(le33_in_aa))
P56_IN_AAAAAAAU10_AAAAAAA(U6_aaaa(le33_in_aa))
P56_IN_AAAAAAAU10_AAAAAAA(part20_out_aaaa)
P56_IN_AAAAAAAU12_AAAAAAA(U2_aaaa(gt10_in_aa))
P56_IN_AAAAAAAU12_AAAAAAA(U3_aaaa(gt10_in_aa))
P56_IN_AAAAAAAU12_AAAAAAA(U5_aaaa(le33_in_aa))
P56_IN_AAAAAAAU12_AAAAAAA(U6_aaaa(le33_in_aa))
P56_IN_AAAAAAAU12_AAAAAAA(part20_out_aaaa)

The TRS R consists of the following rules:

part20_in_aaaaU2_aaaa(gt10_in_aa)
part20_in_aaaaU3_aaaa(gt10_in_aa)
part20_in_aaaaU5_aaaa(le33_in_aa)
part20_in_aaaaU6_aaaa(le33_in_aa)
part20_in_aaaapart20_out_aaaa
qs59_in_aaU19_aa(p56_in_aaaaaaa)
qs59_in_aaqs59_out_aa
U2_aaaa(gt10_out_aa(T70, T73)) → part20_out_aaaa
U3_aaaa(gt10_out_aa(T70, T73)) → U4_aaaa(part20_in_gaaa(T70))
U5_aaaa(le33_out_aa(T95)) → part20_out_aaaa
U6_aaaa(le33_out_aa(T95)) → U7_aaaa(part20_in_gaaa(T95))
U19_aa(p56_out_aaaaaaa) → qs59_out_aa
gt10_in_aaU1_aa(gt10_in_aa)
gt10_in_aagt10_out_aa(s(0), 0)
U4_aaaa(part20_out_gaaa(T70)) → part20_out_aaaa
le33_in_aaU8_aa(le33_in_aa)
le33_in_aale33_out_aa(0)
U7_aaaa(part20_out_gaaa(T95)) → part20_out_aaaa
p56_in_aaaaaaaU9_aaaaaaa(part20_in_aaaa)
p56_in_aaaaaaaU10_aaaaaaa(part20_in_aaaa)
p56_in_aaaaaaaU12_aaaaaaa(part20_in_aaaa)
p56_in_aaaaaaaU15_aaaaaaa(part20_in_aaaa)
U1_aa(gt10_out_aa(T46, T47)) → gt10_out_aa(s(T46), s(T47))
part20_in_gaaa(T70) → U2_gaaa(T70, gt10_in_ga(T70))
part20_in_gaaa(T70) → U3_gaaa(T70, gt10_in_ga(T70))
part20_in_gaaa(T95) → U5_gaaa(T95, le33_in_ga(T95))
part20_in_gaaa(T95) → U6_gaaa(T95, le33_in_ga(T95))
part20_in_gaaa(T128) → part20_out_gaaa(T128)
U8_aa(le33_out_aa(T113)) → le33_out_aa(s(T113))
U9_aaaaaaa(part20_out_aaaa) → p56_out_aaaaaaa
U10_aaaaaaa(part20_out_aaaa) → U11_aaaaaaa(qs59_in_aa)
U12_aaaaaaa(part20_out_aaaa) → U13_aaaaaaa(qs59_in_aa)
U15_aaaaaaa(part20_out_aaaa) → U16_aaaaaaa(qs59_in_aa)
U2_gaaa(T70, gt10_out_ga(T70, T73)) → part20_out_gaaa(T70)
U3_gaaa(T70, gt10_out_ga(T70, T73)) → U4_gaaa(T70, part20_in_gaaa(T70))
U5_gaaa(T95, le33_out_ga(T95)) → part20_out_gaaa(T95)
U6_gaaa(T95, le33_out_ga(T95)) → U7_gaaa(T95, part20_in_gaaa(T95))
U11_aaaaaaa(qs59_out_aa) → p56_out_aaaaaaa
U13_aaaaaaa(qs59_out_aa) → U14_aaaaaaa(qs59_in_aa)
U16_aaaaaaa(qs59_out_aa) → U17_aaaaaaa(qs59_in_aa)
gt10_in_ga(s(T46)) → U1_ga(T46, gt10_in_ga(T46))
gt10_in_ga(s(0)) → gt10_out_ga(s(0), 0)
U4_gaaa(T70, part20_out_gaaa(T70)) → part20_out_gaaa(T70)
le33_in_ga(s(T113)) → U8_ga(T113, le33_in_ga(T113))
le33_in_ga(0) → le33_out_ga(0)
U7_gaaa(T95, part20_out_gaaa(T95)) → part20_out_gaaa(T95)
U14_aaaaaaa(qs59_out_aa) → p56_out_aaaaaaa
U17_aaaaaaa(qs59_out_aa) → U18_aaaaaaa(app70_in_aaaa)
U1_ga(T46, gt10_out_ga(T46, T47)) → gt10_out_ga(s(T46), s(T47))
U8_ga(T113, le33_out_ga(T113)) → le33_out_ga(s(T113))
U18_aaaaaaa(app70_out_aaaa) → p56_out_aaaaaaa
app70_in_aaaaU20_aaaa(app70_in_aaaa)
app70_in_aaaaapp70_out_aaaa
U20_aaaa(app70_out_aaaa) → app70_out_aaaa

The set Q consists of the following terms:

part20_in_aaaa
qs59_in_aa
U2_aaaa(x0)
U3_aaaa(x0)
U5_aaaa(x0)
U6_aaaa(x0)
U19_aa(x0)
gt10_in_aa
U4_aaaa(x0)
le33_in_aa
U7_aaaa(x0)
p56_in_aaaaaaa
U1_aa(x0)
part20_in_gaaa(x0)
U8_aa(x0)
U9_aaaaaaa(x0)
U10_aaaaaaa(x0)
U12_aaaaaaa(x0)
U15_aaaaaaa(x0)
U2_gaaa(x0, x1)
U3_gaaa(x0, x1)
U5_gaaa(x0, x1)
U6_gaaa(x0, x1)
U11_aaaaaaa(x0)
U13_aaaaaaa(x0)
U16_aaaaaaa(x0)
gt10_in_ga(x0)
U4_gaaa(x0, x1)
le33_in_ga(x0)
U7_gaaa(x0, x1)
U14_aaaaaaa(x0)
U17_aaaaaaa(x0)
U1_ga(x0, x1)
U8_ga(x0, x1)
U18_aaaaaaa(x0)
app70_in_aaaa
U20_aaaa(x0)

We have to consider all (P,Q,R)-chains.

(128) Narrowing (SOUND transformation)

By narrowing [LPAR04] the rule U12_AAAAAAA(part20_out_aaaa) → U13_AAAAAAA(qs59_in_aa) at position [0] we obtained the following new rules [LPAR04]:

U12_AAAAAAA(part20_out_aaaa) → U13_AAAAAAA(U19_aa(p56_in_aaaaaaa))
U12_AAAAAAA(part20_out_aaaa) → U13_AAAAAAA(qs59_out_aa)

(129) Obligation:

Q DP problem:
The TRS P consists of the following rules:

U10_AAAAAAA(part20_out_aaaa) → QS59_IN_AA
QS59_IN_AAP56_IN_AAAAAAA
U13_AAAAAAA(qs59_out_aa) → QS59_IN_AA
U12_AAAAAAA(part20_out_aaaa) → QS59_IN_AA
P56_IN_AAAAAAAU15_AAAAAAA(part20_in_aaaa)
U15_AAAAAAA(part20_out_aaaa) → U16_AAAAAAA(qs59_in_aa)
U16_AAAAAAA(qs59_out_aa) → QS59_IN_AA
U15_AAAAAAA(part20_out_aaaa) → QS59_IN_AA
P56_IN_AAAAAAAU10_AAAAAAA(U2_aaaa(gt10_in_aa))
P56_IN_AAAAAAAU10_AAAAAAA(U3_aaaa(gt10_in_aa))
P56_IN_AAAAAAAU10_AAAAAAA(U5_aaaa(le33_in_aa))
P56_IN_AAAAAAAU10_AAAAAAA(U6_aaaa(le33_in_aa))
P56_IN_AAAAAAAU10_AAAAAAA(part20_out_aaaa)
P56_IN_AAAAAAAU12_AAAAAAA(U2_aaaa(gt10_in_aa))
P56_IN_AAAAAAAU12_AAAAAAA(U3_aaaa(gt10_in_aa))
P56_IN_AAAAAAAU12_AAAAAAA(U5_aaaa(le33_in_aa))
P56_IN_AAAAAAAU12_AAAAAAA(U6_aaaa(le33_in_aa))
P56_IN_AAAAAAAU12_AAAAAAA(part20_out_aaaa)
U12_AAAAAAA(part20_out_aaaa) → U13_AAAAAAA(U19_aa(p56_in_aaaaaaa))
U12_AAAAAAA(part20_out_aaaa) → U13_AAAAAAA(qs59_out_aa)

The TRS R consists of the following rules:

part20_in_aaaaU2_aaaa(gt10_in_aa)
part20_in_aaaaU3_aaaa(gt10_in_aa)
part20_in_aaaaU5_aaaa(le33_in_aa)
part20_in_aaaaU6_aaaa(le33_in_aa)
part20_in_aaaapart20_out_aaaa
qs59_in_aaU19_aa(p56_in_aaaaaaa)
qs59_in_aaqs59_out_aa
U2_aaaa(gt10_out_aa(T70, T73)) → part20_out_aaaa
U3_aaaa(gt10_out_aa(T70, T73)) → U4_aaaa(part20_in_gaaa(T70))
U5_aaaa(le33_out_aa(T95)) → part20_out_aaaa
U6_aaaa(le33_out_aa(T95)) → U7_aaaa(part20_in_gaaa(T95))
U19_aa(p56_out_aaaaaaa) → qs59_out_aa
gt10_in_aaU1_aa(gt10_in_aa)
gt10_in_aagt10_out_aa(s(0), 0)
U4_aaaa(part20_out_gaaa(T70)) → part20_out_aaaa
le33_in_aaU8_aa(le33_in_aa)
le33_in_aale33_out_aa(0)
U7_aaaa(part20_out_gaaa(T95)) → part20_out_aaaa
p56_in_aaaaaaaU9_aaaaaaa(part20_in_aaaa)
p56_in_aaaaaaaU10_aaaaaaa(part20_in_aaaa)
p56_in_aaaaaaaU12_aaaaaaa(part20_in_aaaa)
p56_in_aaaaaaaU15_aaaaaaa(part20_in_aaaa)
U1_aa(gt10_out_aa(T46, T47)) → gt10_out_aa(s(T46), s(T47))
part20_in_gaaa(T70) → U2_gaaa(T70, gt10_in_ga(T70))
part20_in_gaaa(T70) → U3_gaaa(T70, gt10_in_ga(T70))
part20_in_gaaa(T95) → U5_gaaa(T95, le33_in_ga(T95))
part20_in_gaaa(T95) → U6_gaaa(T95, le33_in_ga(T95))
part20_in_gaaa(T128) → part20_out_gaaa(T128)
U8_aa(le33_out_aa(T113)) → le33_out_aa(s(T113))
U9_aaaaaaa(part20_out_aaaa) → p56_out_aaaaaaa
U10_aaaaaaa(part20_out_aaaa) → U11_aaaaaaa(qs59_in_aa)
U12_aaaaaaa(part20_out_aaaa) → U13_aaaaaaa(qs59_in_aa)
U15_aaaaaaa(part20_out_aaaa) → U16_aaaaaaa(qs59_in_aa)
U2_gaaa(T70, gt10_out_ga(T70, T73)) → part20_out_gaaa(T70)
U3_gaaa(T70, gt10_out_ga(T70, T73)) → U4_gaaa(T70, part20_in_gaaa(T70))
U5_gaaa(T95, le33_out_ga(T95)) → part20_out_gaaa(T95)
U6_gaaa(T95, le33_out_ga(T95)) → U7_gaaa(T95, part20_in_gaaa(T95))
U11_aaaaaaa(qs59_out_aa) → p56_out_aaaaaaa
U13_aaaaaaa(qs59_out_aa) → U14_aaaaaaa(qs59_in_aa)
U16_aaaaaaa(qs59_out_aa) → U17_aaaaaaa(qs59_in_aa)
gt10_in_ga(s(T46)) → U1_ga(T46, gt10_in_ga(T46))
gt10_in_ga(s(0)) → gt10_out_ga(s(0), 0)
U4_gaaa(T70, part20_out_gaaa(T70)) → part20_out_gaaa(T70)
le33_in_ga(s(T113)) → U8_ga(T113, le33_in_ga(T113))
le33_in_ga(0) → le33_out_ga(0)
U7_gaaa(T95, part20_out_gaaa(T95)) → part20_out_gaaa(T95)
U14_aaaaaaa(qs59_out_aa) → p56_out_aaaaaaa
U17_aaaaaaa(qs59_out_aa) → U18_aaaaaaa(app70_in_aaaa)
U1_ga(T46, gt10_out_ga(T46, T47)) → gt10_out_ga(s(T46), s(T47))
U8_ga(T113, le33_out_ga(T113)) → le33_out_ga(s(T113))
U18_aaaaaaa(app70_out_aaaa) → p56_out_aaaaaaa
app70_in_aaaaU20_aaaa(app70_in_aaaa)
app70_in_aaaaapp70_out_aaaa
U20_aaaa(app70_out_aaaa) → app70_out_aaaa

The set Q consists of the following terms:

part20_in_aaaa
qs59_in_aa
U2_aaaa(x0)
U3_aaaa(x0)
U5_aaaa(x0)
U6_aaaa(x0)
U19_aa(x0)
gt10_in_aa
U4_aaaa(x0)
le33_in_aa
U7_aaaa(x0)
p56_in_aaaaaaa
U1_aa(x0)
part20_in_gaaa(x0)
U8_aa(x0)
U9_aaaaaaa(x0)
U10_aaaaaaa(x0)
U12_aaaaaaa(x0)
U15_aaaaaaa(x0)
U2_gaaa(x0, x1)
U3_gaaa(x0, x1)
U5_gaaa(x0, x1)
U6_gaaa(x0, x1)
U11_aaaaaaa(x0)
U13_aaaaaaa(x0)
U16_aaaaaaa(x0)
gt10_in_ga(x0)
U4_gaaa(x0, x1)
le33_in_ga(x0)
U7_gaaa(x0, x1)
U14_aaaaaaa(x0)
U17_aaaaaaa(x0)
U1_ga(x0, x1)
U8_ga(x0, x1)
U18_aaaaaaa(x0)
app70_in_aaaa
U20_aaaa(x0)

We have to consider all (P,Q,R)-chains.

(130) Narrowing (SOUND transformation)

By narrowing [LPAR04] the rule P56_IN_AAAAAAAU15_AAAAAAA(part20_in_aaaa) at position [0] we obtained the following new rules [LPAR04]:

P56_IN_AAAAAAAU15_AAAAAAA(U2_aaaa(gt10_in_aa))
P56_IN_AAAAAAAU15_AAAAAAA(U3_aaaa(gt10_in_aa))
P56_IN_AAAAAAAU15_AAAAAAA(U5_aaaa(le33_in_aa))
P56_IN_AAAAAAAU15_AAAAAAA(U6_aaaa(le33_in_aa))
P56_IN_AAAAAAAU15_AAAAAAA(part20_out_aaaa)

(131) Obligation:

Q DP problem:
The TRS P consists of the following rules:

U10_AAAAAAA(part20_out_aaaa) → QS59_IN_AA
QS59_IN_AAP56_IN_AAAAAAA
U13_AAAAAAA(qs59_out_aa) → QS59_IN_AA
U12_AAAAAAA(part20_out_aaaa) → QS59_IN_AA
U15_AAAAAAA(part20_out_aaaa) → U16_AAAAAAA(qs59_in_aa)
U16_AAAAAAA(qs59_out_aa) → QS59_IN_AA
U15_AAAAAAA(part20_out_aaaa) → QS59_IN_AA
P56_IN_AAAAAAAU10_AAAAAAA(U2_aaaa(gt10_in_aa))
P56_IN_AAAAAAAU10_AAAAAAA(U3_aaaa(gt10_in_aa))
P56_IN_AAAAAAAU10_AAAAAAA(U5_aaaa(le33_in_aa))
P56_IN_AAAAAAAU10_AAAAAAA(U6_aaaa(le33_in_aa))
P56_IN_AAAAAAAU10_AAAAAAA(part20_out_aaaa)
P56_IN_AAAAAAAU12_AAAAAAA(U2_aaaa(gt10_in_aa))
P56_IN_AAAAAAAU12_AAAAAAA(U3_aaaa(gt10_in_aa))
P56_IN_AAAAAAAU12_AAAAAAA(U5_aaaa(le33_in_aa))
P56_IN_AAAAAAAU12_AAAAAAA(U6_aaaa(le33_in_aa))
P56_IN_AAAAAAAU12_AAAAAAA(part20_out_aaaa)
U12_AAAAAAA(part20_out_aaaa) → U13_AAAAAAA(U19_aa(p56_in_aaaaaaa))
U12_AAAAAAA(part20_out_aaaa) → U13_AAAAAAA(qs59_out_aa)
P56_IN_AAAAAAAU15_AAAAAAA(U2_aaaa(gt10_in_aa))
P56_IN_AAAAAAAU15_AAAAAAA(U3_aaaa(gt10_in_aa))
P56_IN_AAAAAAAU15_AAAAAAA(U5_aaaa(le33_in_aa))
P56_IN_AAAAAAAU15_AAAAAAA(U6_aaaa(le33_in_aa))
P56_IN_AAAAAAAU15_AAAAAAA(part20_out_aaaa)

The TRS R consists of the following rules:

part20_in_aaaaU2_aaaa(gt10_in_aa)
part20_in_aaaaU3_aaaa(gt10_in_aa)
part20_in_aaaaU5_aaaa(le33_in_aa)
part20_in_aaaaU6_aaaa(le33_in_aa)
part20_in_aaaapart20_out_aaaa
qs59_in_aaU19_aa(p56_in_aaaaaaa)
qs59_in_aaqs59_out_aa
U2_aaaa(gt10_out_aa(T70, T73)) → part20_out_aaaa
U3_aaaa(gt10_out_aa(T70, T73)) → U4_aaaa(part20_in_gaaa(T70))
U5_aaaa(le33_out_aa(T95)) → part20_out_aaaa
U6_aaaa(le33_out_aa(T95)) → U7_aaaa(part20_in_gaaa(T95))
U19_aa(p56_out_aaaaaaa) → qs59_out_aa
gt10_in_aaU1_aa(gt10_in_aa)
gt10_in_aagt10_out_aa(s(0), 0)
U4_aaaa(part20_out_gaaa(T70)) → part20_out_aaaa
le33_in_aaU8_aa(le33_in_aa)
le33_in_aale33_out_aa(0)
U7_aaaa(part20_out_gaaa(T95)) → part20_out_aaaa
p56_in_aaaaaaaU9_aaaaaaa(part20_in_aaaa)
p56_in_aaaaaaaU10_aaaaaaa(part20_in_aaaa)
p56_in_aaaaaaaU12_aaaaaaa(part20_in_aaaa)
p56_in_aaaaaaaU15_aaaaaaa(part20_in_aaaa)
U1_aa(gt10_out_aa(T46, T47)) → gt10_out_aa(s(T46), s(T47))
part20_in_gaaa(T70) → U2_gaaa(T70, gt10_in_ga(T70))
part20_in_gaaa(T70) → U3_gaaa(T70, gt10_in_ga(T70))
part20_in_gaaa(T95) → U5_gaaa(T95, le33_in_ga(T95))
part20_in_gaaa(T95) → U6_gaaa(T95, le33_in_ga(T95))
part20_in_gaaa(T128) → part20_out_gaaa(T128)
U8_aa(le33_out_aa(T113)) → le33_out_aa(s(T113))
U9_aaaaaaa(part20_out_aaaa) → p56_out_aaaaaaa
U10_aaaaaaa(part20_out_aaaa) → U11_aaaaaaa(qs59_in_aa)
U12_aaaaaaa(part20_out_aaaa) → U13_aaaaaaa(qs59_in_aa)
U15_aaaaaaa(part20_out_aaaa) → U16_aaaaaaa(qs59_in_aa)
U2_gaaa(T70, gt10_out_ga(T70, T73)) → part20_out_gaaa(T70)
U3_gaaa(T70, gt10_out_ga(T70, T73)) → U4_gaaa(T70, part20_in_gaaa(T70))
U5_gaaa(T95, le33_out_ga(T95)) → part20_out_gaaa(T95)
U6_gaaa(T95, le33_out_ga(T95)) → U7_gaaa(T95, part20_in_gaaa(T95))
U11_aaaaaaa(qs59_out_aa) → p56_out_aaaaaaa
U13_aaaaaaa(qs59_out_aa) → U14_aaaaaaa(qs59_in_aa)
U16_aaaaaaa(qs59_out_aa) → U17_aaaaaaa(qs59_in_aa)
gt10_in_ga(s(T46)) → U1_ga(T46, gt10_in_ga(T46))
gt10_in_ga(s(0)) → gt10_out_ga(s(0), 0)
U4_gaaa(T70, part20_out_gaaa(T70)) → part20_out_gaaa(T70)
le33_in_ga(s(T113)) → U8_ga(T113, le33_in_ga(T113))
le33_in_ga(0) → le33_out_ga(0)
U7_gaaa(T95, part20_out_gaaa(T95)) → part20_out_gaaa(T95)
U14_aaaaaaa(qs59_out_aa) → p56_out_aaaaaaa
U17_aaaaaaa(qs59_out_aa) → U18_aaaaaaa(app70_in_aaaa)
U1_ga(T46, gt10_out_ga(T46, T47)) → gt10_out_ga(s(T46), s(T47))
U8_ga(T113, le33_out_ga(T113)) → le33_out_ga(s(T113))
U18_aaaaaaa(app70_out_aaaa) → p56_out_aaaaaaa
app70_in_aaaaU20_aaaa(app70_in_aaaa)
app70_in_aaaaapp70_out_aaaa
U20_aaaa(app70_out_aaaa) → app70_out_aaaa

The set Q consists of the following terms:

part20_in_aaaa
qs59_in_aa
U2_aaaa(x0)
U3_aaaa(x0)
U5_aaaa(x0)
U6_aaaa(x0)
U19_aa(x0)
gt10_in_aa
U4_aaaa(x0)
le33_in_aa
U7_aaaa(x0)
p56_in_aaaaaaa
U1_aa(x0)
part20_in_gaaa(x0)
U8_aa(x0)
U9_aaaaaaa(x0)
U10_aaaaaaa(x0)
U12_aaaaaaa(x0)
U15_aaaaaaa(x0)
U2_gaaa(x0, x1)
U3_gaaa(x0, x1)
U5_gaaa(x0, x1)
U6_gaaa(x0, x1)
U11_aaaaaaa(x0)
U13_aaaaaaa(x0)
U16_aaaaaaa(x0)
gt10_in_ga(x0)
U4_gaaa(x0, x1)
le33_in_ga(x0)
U7_gaaa(x0, x1)
U14_aaaaaaa(x0)
U17_aaaaaaa(x0)
U1_ga(x0, x1)
U8_ga(x0, x1)
U18_aaaaaaa(x0)
app70_in_aaaa
U20_aaaa(x0)

We have to consider all (P,Q,R)-chains.

(132) Narrowing (SOUND transformation)

By narrowing [LPAR04] the rule U15_AAAAAAA(part20_out_aaaa) → U16_AAAAAAA(qs59_in_aa) at position [0] we obtained the following new rules [LPAR04]:

U15_AAAAAAA(part20_out_aaaa) → U16_AAAAAAA(U19_aa(p56_in_aaaaaaa))
U15_AAAAAAA(part20_out_aaaa) → U16_AAAAAAA(qs59_out_aa)

(133) Obligation:

Q DP problem:
The TRS P consists of the following rules:

U10_AAAAAAA(part20_out_aaaa) → QS59_IN_AA
QS59_IN_AAP56_IN_AAAAAAA
U13_AAAAAAA(qs59_out_aa) → QS59_IN_AA
U12_AAAAAAA(part20_out_aaaa) → QS59_IN_AA
U16_AAAAAAA(qs59_out_aa) → QS59_IN_AA
U15_AAAAAAA(part20_out_aaaa) → QS59_IN_AA
P56_IN_AAAAAAAU10_AAAAAAA(U2_aaaa(gt10_in_aa))
P56_IN_AAAAAAAU10_AAAAAAA(U3_aaaa(gt10_in_aa))
P56_IN_AAAAAAAU10_AAAAAAA(U5_aaaa(le33_in_aa))
P56_IN_AAAAAAAU10_AAAAAAA(U6_aaaa(le33_in_aa))
P56_IN_AAAAAAAU10_AAAAAAA(part20_out_aaaa)
P56_IN_AAAAAAAU12_AAAAAAA(U2_aaaa(gt10_in_aa))
P56_IN_AAAAAAAU12_AAAAAAA(U3_aaaa(gt10_in_aa))
P56_IN_AAAAAAAU12_AAAAAAA(U5_aaaa(le33_in_aa))
P56_IN_AAAAAAAU12_AAAAAAA(U6_aaaa(le33_in_aa))
P56_IN_AAAAAAAU12_AAAAAAA(part20_out_aaaa)
U12_AAAAAAA(part20_out_aaaa) → U13_AAAAAAA(U19_aa(p56_in_aaaaaaa))
U12_AAAAAAA(part20_out_aaaa) → U13_AAAAAAA(qs59_out_aa)
P56_IN_AAAAAAAU15_AAAAAAA(U2_aaaa(gt10_in_aa))
P56_IN_AAAAAAAU15_AAAAAAA(U3_aaaa(gt10_in_aa))
P56_IN_AAAAAAAU15_AAAAAAA(U5_aaaa(le33_in_aa))
P56_IN_AAAAAAAU15_AAAAAAA(U6_aaaa(le33_in_aa))
P56_IN_AAAAAAAU15_AAAAAAA(part20_out_aaaa)
U15_AAAAAAA(part20_out_aaaa) → U16_AAAAAAA(U19_aa(p56_in_aaaaaaa))
U15_AAAAAAA(part20_out_aaaa) → U16_AAAAAAA(qs59_out_aa)

The TRS R consists of the following rules:

part20_in_aaaaU2_aaaa(gt10_in_aa)
part20_in_aaaaU3_aaaa(gt10_in_aa)
part20_in_aaaaU5_aaaa(le33_in_aa)
part20_in_aaaaU6_aaaa(le33_in_aa)
part20_in_aaaapart20_out_aaaa
qs59_in_aaU19_aa(p56_in_aaaaaaa)
qs59_in_aaqs59_out_aa
U2_aaaa(gt10_out_aa(T70, T73)) → part20_out_aaaa
U3_aaaa(gt10_out_aa(T70, T73)) → U4_aaaa(part20_in_gaaa(T70))
U5_aaaa(le33_out_aa(T95)) → part20_out_aaaa
U6_aaaa(le33_out_aa(T95)) → U7_aaaa(part20_in_gaaa(T95))
U19_aa(p56_out_aaaaaaa) → qs59_out_aa
gt10_in_aaU1_aa(gt10_in_aa)
gt10_in_aagt10_out_aa(s(0), 0)
U4_aaaa(part20_out_gaaa(T70)) → part20_out_aaaa
le33_in_aaU8_aa(le33_in_aa)
le33_in_aale33_out_aa(0)
U7_aaaa(part20_out_gaaa(T95)) → part20_out_aaaa
p56_in_aaaaaaaU9_aaaaaaa(part20_in_aaaa)
p56_in_aaaaaaaU10_aaaaaaa(part20_in_aaaa)
p56_in_aaaaaaaU12_aaaaaaa(part20_in_aaaa)
p56_in_aaaaaaaU15_aaaaaaa(part20_in_aaaa)
U1_aa(gt10_out_aa(T46, T47)) → gt10_out_aa(s(T46), s(T47))
part20_in_gaaa(T70) → U2_gaaa(T70, gt10_in_ga(T70))
part20_in_gaaa(T70) → U3_gaaa(T70, gt10_in_ga(T70))
part20_in_gaaa(T95) → U5_gaaa(T95, le33_in_ga(T95))
part20_in_gaaa(T95) → U6_gaaa(T95, le33_in_ga(T95))
part20_in_gaaa(T128) → part20_out_gaaa(T128)
U8_aa(le33_out_aa(T113)) → le33_out_aa(s(T113))
U9_aaaaaaa(part20_out_aaaa) → p56_out_aaaaaaa
U10_aaaaaaa(part20_out_aaaa) → U11_aaaaaaa(qs59_in_aa)
U12_aaaaaaa(part20_out_aaaa) → U13_aaaaaaa(qs59_in_aa)
U15_aaaaaaa(part20_out_aaaa) → U16_aaaaaaa(qs59_in_aa)
U2_gaaa(T70, gt10_out_ga(T70, T73)) → part20_out_gaaa(T70)
U3_gaaa(T70, gt10_out_ga(T70, T73)) → U4_gaaa(T70, part20_in_gaaa(T70))
U5_gaaa(T95, le33_out_ga(T95)) → part20_out_gaaa(T95)
U6_gaaa(T95, le33_out_ga(T95)) → U7_gaaa(T95, part20_in_gaaa(T95))
U11_aaaaaaa(qs59_out_aa) → p56_out_aaaaaaa
U13_aaaaaaa(qs59_out_aa) → U14_aaaaaaa(qs59_in_aa)
U16_aaaaaaa(qs59_out_aa) → U17_aaaaaaa(qs59_in_aa)
gt10_in_ga(s(T46)) → U1_ga(T46, gt10_in_ga(T46))
gt10_in_ga(s(0)) → gt10_out_ga(s(0), 0)
U4_gaaa(T70, part20_out_gaaa(T70)) → part20_out_gaaa(T70)
le33_in_ga(s(T113)) → U8_ga(T113, le33_in_ga(T113))
le33_in_ga(0) → le33_out_ga(0)
U7_gaaa(T95, part20_out_gaaa(T95)) → part20_out_gaaa(T95)
U14_aaaaaaa(qs59_out_aa) → p56_out_aaaaaaa
U17_aaaaaaa(qs59_out_aa) → U18_aaaaaaa(app70_in_aaaa)
U1_ga(T46, gt10_out_ga(T46, T47)) → gt10_out_ga(s(T46), s(T47))
U8_ga(T113, le33_out_ga(T113)) → le33_out_ga(s(T113))
U18_aaaaaaa(app70_out_aaaa) → p56_out_aaaaaaa
app70_in_aaaaU20_aaaa(app70_in_aaaa)
app70_in_aaaaapp70_out_aaaa
U20_aaaa(app70_out_aaaa) → app70_out_aaaa

The set Q consists of the following terms:

part20_in_aaaa
qs59_in_aa
U2_aaaa(x0)
U3_aaaa(x0)
U5_aaaa(x0)
U6_aaaa(x0)
U19_aa(x0)
gt10_in_aa
U4_aaaa(x0)
le33_in_aa
U7_aaaa(x0)
p56_in_aaaaaaa
U1_aa(x0)
part20_in_gaaa(x0)
U8_aa(x0)
U9_aaaaaaa(x0)
U10_aaaaaaa(x0)
U12_aaaaaaa(x0)
U15_aaaaaaa(x0)
U2_gaaa(x0, x1)
U3_gaaa(x0, x1)
U5_gaaa(x0, x1)
U6_gaaa(x0, x1)
U11_aaaaaaa(x0)
U13_aaaaaaa(x0)
U16_aaaaaaa(x0)
gt10_in_ga(x0)
U4_gaaa(x0, x1)
le33_in_ga(x0)
U7_gaaa(x0, x1)
U14_aaaaaaa(x0)
U17_aaaaaaa(x0)
U1_ga(x0, x1)
U8_ga(x0, x1)
U18_aaaaaaa(x0)
app70_in_aaaa
U20_aaaa(x0)

We have to consider all (P,Q,R)-chains.

(134) NonTerminationProof (EQUIVALENT transformation)

We used the non-termination processor [FROCOS05] to show that the DP problem is infinite.
Found a loop by narrowing to the left:

s = QS59_IN_AA evaluates to t =QS59_IN_AA

Thus s starts an infinite chain as s semiunifies with t with the following substitutions:
  • Matcher: [ ]
  • Semiunifier: [ ]




Rewriting sequence

QS59_IN_AAP56_IN_AAAAAAA
with rule QS59_IN_AAP56_IN_AAAAAAA at position [] and matcher [ ]

P56_IN_AAAAAAAU10_AAAAAAA(part20_out_aaaa)
with rule P56_IN_AAAAAAAU10_AAAAAAA(part20_out_aaaa) at position [] and matcher [ ]

U10_AAAAAAA(part20_out_aaaa)QS59_IN_AA
with rule U10_AAAAAAA(part20_out_aaaa) → QS59_IN_AA

Now applying the matcher to the start term leads to a term which is equal to the last term in the rewriting sequence


All these steps are and every following step will be a correct step w.r.t to Q.



(135) NO

(136) PrologToPiTRSProof (SOUND transformation)

We use the technique of [LOPSTR]. With regard to the inferred argument filtering the predicates were used in the following modes:
qs1_in: (f,b)
gt10_in: (f,f) (b,f)
part20_in: (b,f,f,f) (f,f,f,f)
le33_in: (b,f) (f,f)
qs51_in: (b,f,f)
p56_in: (b,f,f,f,f,f,f) (f,f,f,f,f,f,f)
qs59_in: (f,f)
app70_in: (f,f,f,f) (f,b,f,f)
p52_in: (f,f,f,b,b)
qs80_in: (f,f)
part87_in: (f,f,f,f)
le100_in: (f,f)
app121_in: (f,f,f,f)
app81_in: (f,b,f,b)
app162_in: (b,f,b,b)
Transforming Prolog into the following Term Rewriting System:
Pi-finite rewrite system:
The TRS R consists of the following rules:

qs1_in_ag(.(T26, .(T27, T28)), T8) → U44_ag(T26, T27, T28, T8, gt10_in_aa(T26, T27))
gt10_in_aa(s(T46), s(T47)) → U1_aa(T46, T47, gt10_in_aa(T46, T47))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U1_aa(T46, T47, gt10_out_aa(T46, T47)) → gt10_out_aa(s(T46), s(T47))
U44_ag(T26, T27, T28, T8, gt10_out_aa(T26, T27)) → qs1_out_ag(.(T26, .(T27, T28)), T8)
qs1_in_ag(.(T31, .(T33, T32)), T8) → U45_ag(T31, T33, T32, T8, gt10_in_aa(T31, T33))
U45_ag(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U46_ag(T31, T33, T32, T8, part20_in_gaaa(T31, T32, X47, X48))
part20_in_gaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_gaaa(T70, T73, T74, X119, X120, gt10_in_ga(T70, T73))
gt10_in_ga(s(T46), s(T47)) → U1_ga(T46, T47, gt10_in_ga(T46, T47))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U1_ga(T46, T47, gt10_out_ga(T46, T47)) → gt10_out_ga(s(T46), s(T47))
U2_gaaa(T70, T73, T74, X119, X120, gt10_out_ga(T70, T73)) → part20_out_gaaa(T70, .(T73, T74), .(T73, X119), X120)
part20_in_gaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_gaaa(T70, T73, T77, X119, X120, gt10_in_ga(T70, T73))
U3_gaaa(T70, T73, T77, X119, X120, gt10_out_ga(T70, T73)) → U4_gaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
part20_in_gaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_gaaa(T95, T98, T99, X170, X171, le33_in_ga(T95, T98))
le33_in_ga(s(T113), s(T115)) → U8_ga(T113, T115, le33_in_ga(T113, T115))
le33_in_ga(0, s(T122)) → le33_out_ga(0, s(T122))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U8_ga(T113, T115, le33_out_ga(T113, T115)) → le33_out_ga(s(T113), s(T115))
U5_gaaa(T95, T98, T99, X170, X171, le33_out_ga(T95, T98)) → part20_out_gaaa(T95, .(T98, T99), X170, .(T98, X171))
part20_in_gaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_gaaa(T95, T98, T102, X170, X171, le33_in_ga(T95, T98))
U6_gaaa(T95, T98, T102, X170, X171, le33_out_ga(T95, T98)) → U7_gaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
part20_in_gaaa(T128, [], [], []) → part20_out_gaaa(T128, [], [], [])
U7_gaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_gaaa(T95, .(T98, T102), X170, .(T98, X171))
U4_gaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_gaaa(T70, .(T73, T77), .(T73, X119), X120)
U46_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, X47, X48)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
U45_ag(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U47_ag(T31, T33, T32, T8, part20_in_gaaa(T31, T32, T53, T54))
U47_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U48_ag(T31, T33, T32, T8, qs51_in_gaa(T33, T53, X9))
qs51_in_gaa(T148, T149, X273) → U37_gaa(T148, T149, X273, p56_in_gaaaaaa(T148, T149, X269, X270, X271, X272, X273))
p56_in_gaaaaaa(T148, T149, X269, X270, X271, X272, X273) → U9_gaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_in_gaaa(T148, T149, X269, X270))
U9_gaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_out_gaaa(T148, T149, X269, X270)) → p56_out_gaaaaaa(T148, T149, X269, X270, X271, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, X271, X272, X273) → U10_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U10_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U11_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
qs59_in_aa(.(T171, T172), X335) → U19_aa(T171, T172, X335, p56_in_aaaaaaa(T171, T172, X331, X332, X333, X334, X335))
p56_in_aaaaaaa(T148, T149, X269, X270, X271, X272, X273) → U9_aaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_in_aaaa(T148, T149, X269, X270))
part20_in_aaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_aaaa(T70, T73, T74, X119, X120, gt10_in_aa(T70, T73))
U2_aaaa(T70, T73, T74, X119, X120, gt10_out_aa(T70, T73)) → part20_out_aaaa(T70, .(T73, T74), .(T73, X119), X120)
part20_in_aaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_aaaa(T70, T73, T77, X119, X120, gt10_in_aa(T70, T73))
U3_aaaa(T70, T73, T77, X119, X120, gt10_out_aa(T70, T73)) → U4_aaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
U4_aaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_aaaa(T70, .(T73, T77), .(T73, X119), X120)
part20_in_aaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_aaaa(T95, T98, T99, X170, X171, le33_in_aa(T95, T98))
le33_in_aa(s(T113), s(T115)) → U8_aa(T113, T115, le33_in_aa(T113, T115))
le33_in_aa(0, s(T122)) → le33_out_aa(0, s(T122))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U8_aa(T113, T115, le33_out_aa(T113, T115)) → le33_out_aa(s(T113), s(T115))
U5_aaaa(T95, T98, T99, X170, X171, le33_out_aa(T95, T98)) → part20_out_aaaa(T95, .(T98, T99), X170, .(T98, X171))
part20_in_aaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_aaaa(T95, T98, T102, X170, X171, le33_in_aa(T95, T98))
U6_aaaa(T95, T98, T102, X170, X171, le33_out_aa(T95, T98)) → U7_aaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
U7_aaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_aaaa(T95, .(T98, T102), X170, .(T98, X171))
part20_in_aaaa(T128, [], [], []) → part20_out_aaaa(T128, [], [], [])
U9_aaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_out_aaaa(T148, T149, X269, X270)) → p56_out_aaaaaaa(T148, T149, X269, X270, X271, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, X271, X272, X273) → U10_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U10_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U11_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
qs59_in_aa([], []) → qs59_out_aa([], [])
U11_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_out_aa(T153, X271)) → p56_out_aaaaaaa(T148, T149, T153, T154, X271, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, T160, X272, X273) → U12_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U12_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U13_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U13_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U14_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T154, X272)) → p56_out_aaaaaaa(T148, T149, T153, T154, T160, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, T160, T178, X273) → U15_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_in_aaaa(T148, T149, T153, T154))
U15_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_out_aaaa(T148, T149, T153, T154)) → U16_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U16_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U17_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_in_aaaa(T160, T148, T178, X273))
app70_in_aaaa(.(T201, T202), T203, T204, .(T201, X391)) → U20_aaaa(T201, T202, T203, T204, X391, app70_in_aaaa(T202, T203, T204, X391))
app70_in_aaaa([], T213, T214, .(T213, T214)) → app70_out_aaaa([], T213, T214, .(T213, T214))
U20_aaaa(T201, T202, T203, T204, X391, app70_out_aaaa(T202, T203, T204, X391)) → app70_out_aaaa(.(T201, T202), T203, T204, .(T201, X391))
U18_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_out_aaaa(T160, T148, T178, X273)) → p56_out_aaaaaaa(T148, T149, T153, T154, T160, T178, X273)
U19_aa(T171, T172, X335, p56_out_aaaaaaa(T171, T172, X331, X332, X333, X334, X335)) → qs59_out_aa(.(T171, T172), X335)
U11_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_out_aa(T153, X271)) → p56_out_gaaaaaa(T148, T149, T153, T154, X271, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, T160, X272, X273) → U12_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U12_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U13_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U13_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U14_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T154, X272)) → p56_out_gaaaaaa(T148, T149, T153, T154, T160, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, T160, T178, X273) → U15_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_in_gaaa(T148, T149, T153, T154))
U15_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_out_gaaa(T148, T149, T153, T154)) → U16_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U16_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U17_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_in_agaa(T160, T148, T178, X273))
app70_in_agaa(.(T201, T202), T203, T204, .(T201, X391)) → U20_agaa(T201, T202, T203, T204, X391, app70_in_agaa(T202, T203, T204, X391))
app70_in_agaa([], T213, T214, .(T213, T214)) → app70_out_agaa([], T213, T214, .(T213, T214))
U20_agaa(T201, T202, T203, T204, X391, app70_out_agaa(T202, T203, T204, X391)) → app70_out_agaa(.(T201, T202), T203, T204, .(T201, X391))
U18_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_out_agaa(T160, T148, T178, X273)) → p56_out_gaaaaaa(T148, T149, T153, T154, T160, T178, X273)
U37_gaa(T148, T149, X273, p56_out_gaaaaaa(T148, T149, X269, X270, X271, X272, X273)) → qs51_out_gaa(T148, T149, X273)
U48_ag(T31, T33, T32, T8, qs51_out_gaa(T33, T53, X9)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
U47_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U49_ag(T31, T33, T32, T8, T54, qs51_in_gaa(T33, T53, T131))
U49_ag(T31, T33, T32, T8, T54, qs51_out_gaa(T33, T53, T131)) → U50_ag(T31, T33, T32, T8, p52_in_aaagg(T54, X10, T131, T31, T8))
p52_in_aaagg(T54, X10, T131, T31, T8) → U33_aaagg(T54, X10, T131, T31, T8, qs80_in_aa(T54, X10))
qs80_in_aa(.(T230, T231), X452) → U22_aa(T230, T231, X452, part87_in_aaaa(T230, T231, X448, X449))
part87_in_aaaa(T256, .(T257, T258), .(T257, X503), X504) → U38_aaaa(T256, T257, T258, X503, X504, gt10_in_aa(T256, T257))
U38_aaaa(T256, T257, T258, X503, X504, gt10_out_aa(T256, T257)) → part87_out_aaaa(T256, .(T257, T258), .(T257, X503), X504)
part87_in_aaaa(T261, .(T257, T262), .(T257, X503), X504) → U39_aaaa(T261, T257, T262, X503, X504, gt10_in_aa(T261, T257))
U39_aaaa(T261, T257, T262, X503, X504, gt10_out_aa(T261, T257)) → U40_aaaa(T261, T257, T262, X503, X504, part20_in_gaaa(T261, T262, X503, X504))
U40_aaaa(T261, T257, T262, X503, X504, part20_out_gaaa(T261, T262, X503, X504)) → part87_out_aaaa(T261, .(T257, T262), .(T257, X503), X504)
part87_in_aaaa(T283, .(T284, T285), X554, .(T284, X555)) → U41_aaaa(T283, T284, T285, X554, X555, le100_in_aa(T283, T284))
le100_in_aa(s(T302), s(T303)) → U21_aa(T302, T303, le100_in_aa(T302, T303))
le100_in_aa(0, s(T310)) → le100_out_aa(0, s(T310))
le100_in_aa(0, 0) → le100_out_aa(0, 0)
U21_aa(T302, T303, le100_out_aa(T302, T303)) → le100_out_aa(s(T302), s(T303))
U41_aaaa(T283, T284, T285, X554, X555, le100_out_aa(T283, T284)) → part87_out_aaaa(T283, .(T284, T285), X554, .(T284, X555))
part87_in_aaaa(T288, .(T284, T289), X554, .(T284, X555)) → U42_aaaa(T288, T284, T289, X554, X555, le100_in_aa(T288, T284))
U42_aaaa(T288, T284, T289, X554, X555, le100_out_aa(T288, T284)) → U43_aaaa(T288, T284, T289, X554, X555, part20_in_gaaa(T288, T289, X554, X555))
U43_aaaa(T288, T284, T289, X554, X555, part20_out_gaaa(T288, T289, X554, X555)) → part87_out_aaaa(T288, .(T284, T289), X554, .(T284, X555))
part87_in_aaaa(T316, [], [], []) → part87_out_aaaa(T316, [], [], [])
U22_aa(T230, T231, X452, part87_out_aaaa(T230, T231, X448, X449)) → qs80_out_aa(.(T230, T231), X452)
qs80_in_aa(.(T237, T231), X452) → U23_aa(T237, T231, X452, part87_in_aaaa(T237, T231, T235, T236))
U23_aa(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U24_aa(T237, T231, X452, qs80_in_aa(T235, X450))
qs80_in_aa(.(T325, T231), X452) → U27_aa(T325, T231, X452, part87_in_aaaa(T325, T231, T235, T236))
U27_aa(T325, T231, X452, part87_out_aaaa(T325, T231, T235, T236)) → U28_aa(T325, T231, X452, T236, qs80_in_aa(T235, T319))
qs80_in_aa([], []) → qs80_out_aa([], [])
U28_aa(T325, T231, X452, T236, qs80_out_aa(T235, T319)) → U29_aa(T325, T231, X452, T319, qs80_in_aa(T236, T324))
U29_aa(T325, T231, X452, T319, qs80_out_aa(T236, T324)) → U30_aa(T325, T231, X452, app121_in_aaaa(T319, T325, T324, X452))
app121_in_aaaa(.(T348, T349), T352, T353, .(T348, X657)) → U31_aaaa(T348, T349, T352, T353, X657, app121_in_aaaa(T349, T352, T353, X657))
app121_in_aaaa([], T362, T363, .(T362, T363)) → app121_out_aaaa([], T362, T363, .(T362, T363))
U31_aaaa(T348, T349, T352, T353, X657, app121_out_aaaa(T349, T352, T353, X657)) → app121_out_aaaa(.(T348, T349), T352, T353, .(T348, X657))
U30_aa(T325, T231, X452, app121_out_aaaa(T319, T325, T324, X452)) → qs80_out_aa(.(T325, T231), X452)
U24_aa(T237, T231, X452, qs80_out_aa(T235, X450)) → qs80_out_aa(.(T237, T231), X452)
U23_aa(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U25_aa(T237, T231, X452, T236, qs80_in_aa(T235, T319))
U25_aa(T237, T231, X452, T236, qs80_out_aa(T235, T319)) → U26_aa(T237, T231, X452, qs80_in_aa(T236, X451))
U26_aa(T237, T231, X452, qs80_out_aa(T236, X451)) → qs80_out_aa(.(T237, T231), X452)
U33_aaagg(T54, X10, T131, T31, T8, qs80_out_aa(T54, X10)) → p52_out_aaagg(T54, X10, T131, T31, T8)
p52_in_aaagg(T54, T217, T131, T31, T8) → U34_aaagg(T54, T217, T131, T31, T8, qs80_in_aa(T54, T217))
U34_aaagg(T54, T217, T131, T31, T8, qs80_out_aa(T54, T217)) → U35_aaagg(T54, T217, T131, T31, T8, app81_in_agag(T131, T31, T217, T8))
app81_in_agag(.(T389, T390), T391, T394, .(T389, T393)) → U32_agag(T389, T390, T391, T394, T393, app81_in_agag(T390, T391, T394, T393))
app81_in_agag([], T404, T405, .(T404, T405)) → app81_out_agag([], T404, T405, .(T404, T405))
U32_agag(T389, T390, T391, T394, T393, app81_out_agag(T390, T391, T394, T393)) → app81_out_agag(.(T389, T390), T391, T394, .(T389, T393))
U35_aaagg(T54, T217, T131, T31, T8, app81_out_agag(T131, T31, T217, T8)) → p52_out_aaagg(T54, T217, T131, T31, T8)
U50_ag(T31, T33, T32, T8, p52_out_aaagg(T54, X10, T131, T31, T8)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
qs1_in_ag(.(T421, .(T422, T423)), T8) → U51_ag(T421, T422, T423, T8, le100_in_aa(T421, T422))
U51_ag(T421, T422, T423, T8, le100_out_aa(T421, T422)) → qs1_out_ag(.(T421, .(T422, T423)), T8)
qs1_in_ag(.(T426, .(T428, T427)), T8) → U52_ag(T426, T428, T427, T8, le100_in_aa(T426, T428))
U52_ag(T426, T428, T427, T8, le100_out_aa(T426, T428)) → U53_ag(T426, T428, T427, T8, part20_in_gaaa(T426, T427, X740, X741))
U53_ag(T426, T428, T427, T8, part20_out_gaaa(T426, T427, X740, X741)) → qs1_out_ag(.(T426, .(T428, T427)), T8)
qs1_in_ag(.(T426, .(T436, T427)), T8) → U54_ag(T426, T436, T427, T8, le100_in_aa(T426, T436))
U54_ag(T426, T436, T427, T8, le100_out_aa(T426, T436)) → U55_ag(T426, T436, T427, T8, part20_in_gaaa(T426, T427, T434, T435))
U55_ag(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U56_ag(T426, T436, T427, T8, qs80_in_aa(T434, X9))
U56_ag(T426, T436, T427, T8, qs80_out_aa(T434, X9)) → qs1_out_ag(.(T426, .(T436, T427)), T8)
U55_ag(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U57_ag(T426, T436, T427, T8, T435, qs80_in_aa(T434, T442))
U57_ag(T426, T436, T427, T8, T435, qs80_out_aa(T434, T442)) → U58_ag(T426, T436, T427, T8, p52_in_aaagg(.(T436, T435), X10, T442, T426, T8))
U58_ag(T426, T436, T427, T8, p52_out_aaagg(.(T436, T435), X10, T442, T426, T8)) → qs1_out_ag(.(T426, .(T436, T427)), T8)
qs1_in_ag(.(T452, []), T8) → U59_ag(T452, T8, qs155_in_a(X9))
qs155_in_a([]) → qs155_out_a([])
U59_ag(T452, T8, qs155_out_a(X9)) → qs1_out_ag(.(T452, []), T8)
qs1_in_ag(.(T452, []), T8) → U60_ag(T452, T8, qs155_in_a(T455))
U60_ag(T452, T8, qs155_out_a(T455)) → U61_ag(T452, T8, qs155_in_a(X10))
U61_ag(T452, T8, qs155_out_a(X10)) → qs1_out_ag(.(T452, []), T8)
U60_ag(T452, T8, qs155_out_a(T455)) → U62_ag(T452, T8, T455, qs155_in_a(T460))
U62_ag(T452, T8, T455, qs155_out_a(T460)) → U63_ag(T452, T8, app162_in_gagg(T455, T452, T460, T8))
app162_in_gagg(.(T486, T487), T491, T489, .(T486, T490)) → U36_gagg(T486, T487, T491, T489, T490, app162_in_gagg(T487, T491, T489, T490))
app162_in_gagg([], T501, T502, .(T501, T502)) → app162_out_gagg([], T501, T502, .(T501, T502))
U36_gagg(T486, T487, T491, T489, T490, app162_out_gagg(T487, T491, T489, T490)) → app162_out_gagg(.(T486, T487), T491, T489, .(T486, T490))
U63_ag(T452, T8, app162_out_gagg(T455, T452, T460, T8)) → qs1_out_ag(.(T452, []), T8)
qs1_in_ag([], []) → qs1_out_ag([], [])

The argument filtering Pi contains the following mapping:
qs1_in_ag(x1, x2)  =  qs1_in_ag(x2)
U44_ag(x1, x2, x3, x4, x5)  =  U44_ag(x5)
gt10_in_aa(x1, x2)  =  gt10_in_aa
U1_aa(x1, x2, x3)  =  U1_aa(x3)
gt10_out_aa(x1, x2)  =  gt10_out_aa(x1, x2)
qs1_out_ag(x1, x2)  =  qs1_out_ag
U45_ag(x1, x2, x3, x4, x5)  =  U45_ag(x4, x5)
U46_ag(x1, x2, x3, x4, x5)  =  U46_ag(x5)
part20_in_gaaa(x1, x2, x3, x4)  =  part20_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x6)
gt10_in_ga(x1, x2)  =  gt10_in_ga(x1)
s(x1)  =  s(x1)
U1_ga(x1, x2, x3)  =  U1_ga(x3)
0  =  0
gt10_out_ga(x1, x2)  =  gt10_out_ga(x2)
part20_out_gaaa(x1, x2, x3, x4)  =  part20_out_gaaa
U3_gaaa(x1, x2, x3, x4, x5, x6)  =  U3_gaaa(x1, x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x6)
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x6)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U8_ga(x1, x2, x3)  =  U8_ga(x3)
le33_out_ga(x1, x2)  =  le33_out_ga
U6_gaaa(x1, x2, x3, x4, x5, x6)  =  U6_gaaa(x1, x6)
U7_gaaa(x1, x2, x3, x4, x5, x6)  =  U7_gaaa(x6)
U47_ag(x1, x2, x3, x4, x5)  =  U47_ag(x1, x2, x4, x5)
U48_ag(x1, x2, x3, x4, x5)  =  U48_ag(x5)
qs51_in_gaa(x1, x2, x3)  =  qs51_in_gaa(x1)
U37_gaa(x1, x2, x3, x4)  =  U37_gaa(x4)
p56_in_gaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_in_gaaaaaa(x1)
U9_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_gaaaaaa(x8)
p56_out_gaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_out_gaaaaaa
U10_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_gaaaaaa(x8)
U11_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_gaaaaaa(x8)
qs59_in_aa(x1, x2)  =  qs59_in_aa
U19_aa(x1, x2, x3, x4)  =  U19_aa(x4)
p56_in_aaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_in_aaaaaaa
U9_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_aaaaaaa(x8)
part20_in_aaaa(x1, x2, x3, x4)  =  part20_in_aaaa
U2_aaaa(x1, x2, x3, x4, x5, x6)  =  U2_aaaa(x6)
part20_out_aaaa(x1, x2, x3, x4)  =  part20_out_aaaa
U3_aaaa(x1, x2, x3, x4, x5, x6)  =  U3_aaaa(x6)
U4_aaaa(x1, x2, x3, x4, x5, x6)  =  U4_aaaa(x6)
U5_aaaa(x1, x2, x3, x4, x5, x6)  =  U5_aaaa(x6)
le33_in_aa(x1, x2)  =  le33_in_aa
U8_aa(x1, x2, x3)  =  U8_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
U6_aaaa(x1, x2, x3, x4, x5, x6)  =  U6_aaaa(x6)
U7_aaaa(x1, x2, x3, x4, x5, x6)  =  U7_aaaa(x6)
p56_out_aaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_out_aaaaaaa
U10_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_aaaaaaa(x8)
U11_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_aaaaaaa(x8)
qs59_out_aa(x1, x2)  =  qs59_out_aa
U12_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_aaaaaaa(x8)
U13_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_aaaaaaa(x8)
U14_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_aaaaaaa(x8)
U15_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_aaaaaaa(x8)
U16_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_aaaaaaa(x8)
U17_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_aaaaaaa(x8)
U18_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_aaaaaaa(x8)
.(x1, x2)  =  .(x1, x2)
[]  =  []
app70_in_aaaa(x1, x2, x3, x4)  =  app70_in_aaaa
U20_aaaa(x1, x2, x3, x4, x5, x6)  =  U20_aaaa(x6)
app70_out_aaaa(x1, x2, x3, x4)  =  app70_out_aaaa
U12_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_gaaaaaa(x8)
U13_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_gaaaaaa(x8)
U14_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_gaaaaaa(x8)
U15_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_gaaaaaa(x1, x8)
U16_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_gaaaaaa(x1, x8)
U17_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_gaaaaaa(x1, x8)
U18_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_gaaaaaa(x8)
app70_in_agaa(x1, x2, x3, x4)  =  app70_in_agaa(x2)
U20_agaa(x1, x2, x3, x4, x5, x6)  =  U20_agaa(x6)
app70_out_agaa(x1, x2, x3, x4)  =  app70_out_agaa
qs51_out_gaa(x1, x2, x3)  =  qs51_out_gaa
U49_ag(x1, x2, x3, x4, x5, x6)  =  U49_ag(x1, x4, x6)
U50_ag(x1, x2, x3, x4, x5)  =  U50_ag(x5)
p52_in_aaagg(x1, x2, x3, x4, x5)  =  p52_in_aaagg(x4, x5)
U33_aaagg(x1, x2, x3, x4, x5, x6)  =  U33_aaagg(x6)
qs80_in_aa(x1, x2)  =  qs80_in_aa
U22_aa(x1, x2, x3, x4)  =  U22_aa(x4)
part87_in_aaaa(x1, x2, x3, x4)  =  part87_in_aaaa
U38_aaaa(x1, x2, x3, x4, x5, x6)  =  U38_aaaa(x6)
part87_out_aaaa(x1, x2, x3, x4)  =  part87_out_aaaa
U39_aaaa(x1, x2, x3, x4, x5, x6)  =  U39_aaaa(x6)
U40_aaaa(x1, x2, x3, x4, x5, x6)  =  U40_aaaa(x6)
U41_aaaa(x1, x2, x3, x4, x5, x6)  =  U41_aaaa(x6)
le100_in_aa(x1, x2)  =  le100_in_aa
U21_aa(x1, x2, x3)  =  U21_aa(x3)
le100_out_aa(x1, x2)  =  le100_out_aa(x1)
U42_aaaa(x1, x2, x3, x4, x5, x6)  =  U42_aaaa(x6)
U43_aaaa(x1, x2, x3, x4, x5, x6)  =  U43_aaaa(x6)
qs80_out_aa(x1, x2)  =  qs80_out_aa
U23_aa(x1, x2, x3, x4)  =  U23_aa(x4)
U24_aa(x1, x2, x3, x4)  =  U24_aa(x4)
U27_aa(x1, x2, x3, x4)  =  U27_aa(x4)
U28_aa(x1, x2, x3, x4, x5)  =  U28_aa(x5)
U29_aa(x1, x2, x3, x4, x5)  =  U29_aa(x5)
U30_aa(x1, x2, x3, x4)  =  U30_aa(x4)
app121_in_aaaa(x1, x2, x3, x4)  =  app121_in_aaaa
U31_aaaa(x1, x2, x3, x4, x5, x6)  =  U31_aaaa(x6)
app121_out_aaaa(x1, x2, x3, x4)  =  app121_out_aaaa
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
U26_aa(x1, x2, x3, x4)  =  U26_aa(x4)
p52_out_aaagg(x1, x2, x3, x4, x5)  =  p52_out_aaagg
U34_aaagg(x1, x2, x3, x4, x5, x6)  =  U34_aaagg(x4, x5, x6)
U35_aaagg(x1, x2, x3, x4, x5, x6)  =  U35_aaagg(x6)
app81_in_agag(x1, x2, x3, x4)  =  app81_in_agag(x2, x4)
U32_agag(x1, x2, x3, x4, x5, x6)  =  U32_agag(x1, x6)
app81_out_agag(x1, x2, x3, x4)  =  app81_out_agag(x1, x3)
U51_ag(x1, x2, x3, x4, x5)  =  U51_ag(x5)
U52_ag(x1, x2, x3, x4, x5)  =  U52_ag(x5)
U53_ag(x1, x2, x3, x4, x5)  =  U53_ag(x5)
U54_ag(x1, x2, x3, x4, x5)  =  U54_ag(x4, x5)
U55_ag(x1, x2, x3, x4, x5)  =  U55_ag(x1, x4, x5)
U56_ag(x1, x2, x3, x4, x5)  =  U56_ag(x5)
U57_ag(x1, x2, x3, x4, x5, x6)  =  U57_ag(x1, x4, x6)
U58_ag(x1, x2, x3, x4, x5)  =  U58_ag(x5)
U59_ag(x1, x2, x3)  =  U59_ag(x3)
qs155_in_a(x1)  =  qs155_in_a
qs155_out_a(x1)  =  qs155_out_a(x1)
U60_ag(x1, x2, x3)  =  U60_ag(x2, x3)
U61_ag(x1, x2, x3)  =  U61_ag(x3)
U62_ag(x1, x2, x3, x4)  =  U62_ag(x2, x3, x4)
U63_ag(x1, x2, x3)  =  U63_ag(x3)
app162_in_gagg(x1, x2, x3, x4)  =  app162_in_gagg(x1, x3, x4)
U36_gagg(x1, x2, x3, x4, x5, x6)  =  U36_gagg(x6)
app162_out_gagg(x1, x2, x3, x4)  =  app162_out_gagg(x2)

Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog

(137) Obligation:

Pi-finite rewrite system:
The TRS R consists of the following rules:

qs1_in_ag(.(T26, .(T27, T28)), T8) → U44_ag(T26, T27, T28, T8, gt10_in_aa(T26, T27))
gt10_in_aa(s(T46), s(T47)) → U1_aa(T46, T47, gt10_in_aa(T46, T47))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U1_aa(T46, T47, gt10_out_aa(T46, T47)) → gt10_out_aa(s(T46), s(T47))
U44_ag(T26, T27, T28, T8, gt10_out_aa(T26, T27)) → qs1_out_ag(.(T26, .(T27, T28)), T8)
qs1_in_ag(.(T31, .(T33, T32)), T8) → U45_ag(T31, T33, T32, T8, gt10_in_aa(T31, T33))
U45_ag(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U46_ag(T31, T33, T32, T8, part20_in_gaaa(T31, T32, X47, X48))
part20_in_gaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_gaaa(T70, T73, T74, X119, X120, gt10_in_ga(T70, T73))
gt10_in_ga(s(T46), s(T47)) → U1_ga(T46, T47, gt10_in_ga(T46, T47))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U1_ga(T46, T47, gt10_out_ga(T46, T47)) → gt10_out_ga(s(T46), s(T47))
U2_gaaa(T70, T73, T74, X119, X120, gt10_out_ga(T70, T73)) → part20_out_gaaa(T70, .(T73, T74), .(T73, X119), X120)
part20_in_gaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_gaaa(T70, T73, T77, X119, X120, gt10_in_ga(T70, T73))
U3_gaaa(T70, T73, T77, X119, X120, gt10_out_ga(T70, T73)) → U4_gaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
part20_in_gaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_gaaa(T95, T98, T99, X170, X171, le33_in_ga(T95, T98))
le33_in_ga(s(T113), s(T115)) → U8_ga(T113, T115, le33_in_ga(T113, T115))
le33_in_ga(0, s(T122)) → le33_out_ga(0, s(T122))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U8_ga(T113, T115, le33_out_ga(T113, T115)) → le33_out_ga(s(T113), s(T115))
U5_gaaa(T95, T98, T99, X170, X171, le33_out_ga(T95, T98)) → part20_out_gaaa(T95, .(T98, T99), X170, .(T98, X171))
part20_in_gaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_gaaa(T95, T98, T102, X170, X171, le33_in_ga(T95, T98))
U6_gaaa(T95, T98, T102, X170, X171, le33_out_ga(T95, T98)) → U7_gaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
part20_in_gaaa(T128, [], [], []) → part20_out_gaaa(T128, [], [], [])
U7_gaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_gaaa(T95, .(T98, T102), X170, .(T98, X171))
U4_gaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_gaaa(T70, .(T73, T77), .(T73, X119), X120)
U46_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, X47, X48)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
U45_ag(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U47_ag(T31, T33, T32, T8, part20_in_gaaa(T31, T32, T53, T54))
U47_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U48_ag(T31, T33, T32, T8, qs51_in_gaa(T33, T53, X9))
qs51_in_gaa(T148, T149, X273) → U37_gaa(T148, T149, X273, p56_in_gaaaaaa(T148, T149, X269, X270, X271, X272, X273))
p56_in_gaaaaaa(T148, T149, X269, X270, X271, X272, X273) → U9_gaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_in_gaaa(T148, T149, X269, X270))
U9_gaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_out_gaaa(T148, T149, X269, X270)) → p56_out_gaaaaaa(T148, T149, X269, X270, X271, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, X271, X272, X273) → U10_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U10_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U11_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
qs59_in_aa(.(T171, T172), X335) → U19_aa(T171, T172, X335, p56_in_aaaaaaa(T171, T172, X331, X332, X333, X334, X335))
p56_in_aaaaaaa(T148, T149, X269, X270, X271, X272, X273) → U9_aaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_in_aaaa(T148, T149, X269, X270))
part20_in_aaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_aaaa(T70, T73, T74, X119, X120, gt10_in_aa(T70, T73))
U2_aaaa(T70, T73, T74, X119, X120, gt10_out_aa(T70, T73)) → part20_out_aaaa(T70, .(T73, T74), .(T73, X119), X120)
part20_in_aaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_aaaa(T70, T73, T77, X119, X120, gt10_in_aa(T70, T73))
U3_aaaa(T70, T73, T77, X119, X120, gt10_out_aa(T70, T73)) → U4_aaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
U4_aaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_aaaa(T70, .(T73, T77), .(T73, X119), X120)
part20_in_aaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_aaaa(T95, T98, T99, X170, X171, le33_in_aa(T95, T98))
le33_in_aa(s(T113), s(T115)) → U8_aa(T113, T115, le33_in_aa(T113, T115))
le33_in_aa(0, s(T122)) → le33_out_aa(0, s(T122))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U8_aa(T113, T115, le33_out_aa(T113, T115)) → le33_out_aa(s(T113), s(T115))
U5_aaaa(T95, T98, T99, X170, X171, le33_out_aa(T95, T98)) → part20_out_aaaa(T95, .(T98, T99), X170, .(T98, X171))
part20_in_aaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_aaaa(T95, T98, T102, X170, X171, le33_in_aa(T95, T98))
U6_aaaa(T95, T98, T102, X170, X171, le33_out_aa(T95, T98)) → U7_aaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
U7_aaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_aaaa(T95, .(T98, T102), X170, .(T98, X171))
part20_in_aaaa(T128, [], [], []) → part20_out_aaaa(T128, [], [], [])
U9_aaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_out_aaaa(T148, T149, X269, X270)) → p56_out_aaaaaaa(T148, T149, X269, X270, X271, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, X271, X272, X273) → U10_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U10_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U11_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
qs59_in_aa([], []) → qs59_out_aa([], [])
U11_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_out_aa(T153, X271)) → p56_out_aaaaaaa(T148, T149, T153, T154, X271, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, T160, X272, X273) → U12_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U12_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U13_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U13_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U14_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T154, X272)) → p56_out_aaaaaaa(T148, T149, T153, T154, T160, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, T160, T178, X273) → U15_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_in_aaaa(T148, T149, T153, T154))
U15_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_out_aaaa(T148, T149, T153, T154)) → U16_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U16_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U17_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_in_aaaa(T160, T148, T178, X273))
app70_in_aaaa(.(T201, T202), T203, T204, .(T201, X391)) → U20_aaaa(T201, T202, T203, T204, X391, app70_in_aaaa(T202, T203, T204, X391))
app70_in_aaaa([], T213, T214, .(T213, T214)) → app70_out_aaaa([], T213, T214, .(T213, T214))
U20_aaaa(T201, T202, T203, T204, X391, app70_out_aaaa(T202, T203, T204, X391)) → app70_out_aaaa(.(T201, T202), T203, T204, .(T201, X391))
U18_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_out_aaaa(T160, T148, T178, X273)) → p56_out_aaaaaaa(T148, T149, T153, T154, T160, T178, X273)
U19_aa(T171, T172, X335, p56_out_aaaaaaa(T171, T172, X331, X332, X333, X334, X335)) → qs59_out_aa(.(T171, T172), X335)
U11_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_out_aa(T153, X271)) → p56_out_gaaaaaa(T148, T149, T153, T154, X271, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, T160, X272, X273) → U12_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U12_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U13_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U13_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U14_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T154, X272)) → p56_out_gaaaaaa(T148, T149, T153, T154, T160, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, T160, T178, X273) → U15_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_in_gaaa(T148, T149, T153, T154))
U15_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_out_gaaa(T148, T149, T153, T154)) → U16_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U16_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U17_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_in_agaa(T160, T148, T178, X273))
app70_in_agaa(.(T201, T202), T203, T204, .(T201, X391)) → U20_agaa(T201, T202, T203, T204, X391, app70_in_agaa(T202, T203, T204, X391))
app70_in_agaa([], T213, T214, .(T213, T214)) → app70_out_agaa([], T213, T214, .(T213, T214))
U20_agaa(T201, T202, T203, T204, X391, app70_out_agaa(T202, T203, T204, X391)) → app70_out_agaa(.(T201, T202), T203, T204, .(T201, X391))
U18_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_out_agaa(T160, T148, T178, X273)) → p56_out_gaaaaaa(T148, T149, T153, T154, T160, T178, X273)
U37_gaa(T148, T149, X273, p56_out_gaaaaaa(T148, T149, X269, X270, X271, X272, X273)) → qs51_out_gaa(T148, T149, X273)
U48_ag(T31, T33, T32, T8, qs51_out_gaa(T33, T53, X9)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
U47_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U49_ag(T31, T33, T32, T8, T54, qs51_in_gaa(T33, T53, T131))
U49_ag(T31, T33, T32, T8, T54, qs51_out_gaa(T33, T53, T131)) → U50_ag(T31, T33, T32, T8, p52_in_aaagg(T54, X10, T131, T31, T8))
p52_in_aaagg(T54, X10, T131, T31, T8) → U33_aaagg(T54, X10, T131, T31, T8, qs80_in_aa(T54, X10))
qs80_in_aa(.(T230, T231), X452) → U22_aa(T230, T231, X452, part87_in_aaaa(T230, T231, X448, X449))
part87_in_aaaa(T256, .(T257, T258), .(T257, X503), X504) → U38_aaaa(T256, T257, T258, X503, X504, gt10_in_aa(T256, T257))
U38_aaaa(T256, T257, T258, X503, X504, gt10_out_aa(T256, T257)) → part87_out_aaaa(T256, .(T257, T258), .(T257, X503), X504)
part87_in_aaaa(T261, .(T257, T262), .(T257, X503), X504) → U39_aaaa(T261, T257, T262, X503, X504, gt10_in_aa(T261, T257))
U39_aaaa(T261, T257, T262, X503, X504, gt10_out_aa(T261, T257)) → U40_aaaa(T261, T257, T262, X503, X504, part20_in_gaaa(T261, T262, X503, X504))
U40_aaaa(T261, T257, T262, X503, X504, part20_out_gaaa(T261, T262, X503, X504)) → part87_out_aaaa(T261, .(T257, T262), .(T257, X503), X504)
part87_in_aaaa(T283, .(T284, T285), X554, .(T284, X555)) → U41_aaaa(T283, T284, T285, X554, X555, le100_in_aa(T283, T284))
le100_in_aa(s(T302), s(T303)) → U21_aa(T302, T303, le100_in_aa(T302, T303))
le100_in_aa(0, s(T310)) → le100_out_aa(0, s(T310))
le100_in_aa(0, 0) → le100_out_aa(0, 0)
U21_aa(T302, T303, le100_out_aa(T302, T303)) → le100_out_aa(s(T302), s(T303))
U41_aaaa(T283, T284, T285, X554, X555, le100_out_aa(T283, T284)) → part87_out_aaaa(T283, .(T284, T285), X554, .(T284, X555))
part87_in_aaaa(T288, .(T284, T289), X554, .(T284, X555)) → U42_aaaa(T288, T284, T289, X554, X555, le100_in_aa(T288, T284))
U42_aaaa(T288, T284, T289, X554, X555, le100_out_aa(T288, T284)) → U43_aaaa(T288, T284, T289, X554, X555, part20_in_gaaa(T288, T289, X554, X555))
U43_aaaa(T288, T284, T289, X554, X555, part20_out_gaaa(T288, T289, X554, X555)) → part87_out_aaaa(T288, .(T284, T289), X554, .(T284, X555))
part87_in_aaaa(T316, [], [], []) → part87_out_aaaa(T316, [], [], [])
U22_aa(T230, T231, X452, part87_out_aaaa(T230, T231, X448, X449)) → qs80_out_aa(.(T230, T231), X452)
qs80_in_aa(.(T237, T231), X452) → U23_aa(T237, T231, X452, part87_in_aaaa(T237, T231, T235, T236))
U23_aa(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U24_aa(T237, T231, X452, qs80_in_aa(T235, X450))
qs80_in_aa(.(T325, T231), X452) → U27_aa(T325, T231, X452, part87_in_aaaa(T325, T231, T235, T236))
U27_aa(T325, T231, X452, part87_out_aaaa(T325, T231, T235, T236)) → U28_aa(T325, T231, X452, T236, qs80_in_aa(T235, T319))
qs80_in_aa([], []) → qs80_out_aa([], [])
U28_aa(T325, T231, X452, T236, qs80_out_aa(T235, T319)) → U29_aa(T325, T231, X452, T319, qs80_in_aa(T236, T324))
U29_aa(T325, T231, X452, T319, qs80_out_aa(T236, T324)) → U30_aa(T325, T231, X452, app121_in_aaaa(T319, T325, T324, X452))
app121_in_aaaa(.(T348, T349), T352, T353, .(T348, X657)) → U31_aaaa(T348, T349, T352, T353, X657, app121_in_aaaa(T349, T352, T353, X657))
app121_in_aaaa([], T362, T363, .(T362, T363)) → app121_out_aaaa([], T362, T363, .(T362, T363))
U31_aaaa(T348, T349, T352, T353, X657, app121_out_aaaa(T349, T352, T353, X657)) → app121_out_aaaa(.(T348, T349), T352, T353, .(T348, X657))
U30_aa(T325, T231, X452, app121_out_aaaa(T319, T325, T324, X452)) → qs80_out_aa(.(T325, T231), X452)
U24_aa(T237, T231, X452, qs80_out_aa(T235, X450)) → qs80_out_aa(.(T237, T231), X452)
U23_aa(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U25_aa(T237, T231, X452, T236, qs80_in_aa(T235, T319))
U25_aa(T237, T231, X452, T236, qs80_out_aa(T235, T319)) → U26_aa(T237, T231, X452, qs80_in_aa(T236, X451))
U26_aa(T237, T231, X452, qs80_out_aa(T236, X451)) → qs80_out_aa(.(T237, T231), X452)
U33_aaagg(T54, X10, T131, T31, T8, qs80_out_aa(T54, X10)) → p52_out_aaagg(T54, X10, T131, T31, T8)
p52_in_aaagg(T54, T217, T131, T31, T8) → U34_aaagg(T54, T217, T131, T31, T8, qs80_in_aa(T54, T217))
U34_aaagg(T54, T217, T131, T31, T8, qs80_out_aa(T54, T217)) → U35_aaagg(T54, T217, T131, T31, T8, app81_in_agag(T131, T31, T217, T8))
app81_in_agag(.(T389, T390), T391, T394, .(T389, T393)) → U32_agag(T389, T390, T391, T394, T393, app81_in_agag(T390, T391, T394, T393))
app81_in_agag([], T404, T405, .(T404, T405)) → app81_out_agag([], T404, T405, .(T404, T405))
U32_agag(T389, T390, T391, T394, T393, app81_out_agag(T390, T391, T394, T393)) → app81_out_agag(.(T389, T390), T391, T394, .(T389, T393))
U35_aaagg(T54, T217, T131, T31, T8, app81_out_agag(T131, T31, T217, T8)) → p52_out_aaagg(T54, T217, T131, T31, T8)
U50_ag(T31, T33, T32, T8, p52_out_aaagg(T54, X10, T131, T31, T8)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
qs1_in_ag(.(T421, .(T422, T423)), T8) → U51_ag(T421, T422, T423, T8, le100_in_aa(T421, T422))
U51_ag(T421, T422, T423, T8, le100_out_aa(T421, T422)) → qs1_out_ag(.(T421, .(T422, T423)), T8)
qs1_in_ag(.(T426, .(T428, T427)), T8) → U52_ag(T426, T428, T427, T8, le100_in_aa(T426, T428))
U52_ag(T426, T428, T427, T8, le100_out_aa(T426, T428)) → U53_ag(T426, T428, T427, T8, part20_in_gaaa(T426, T427, X740, X741))
U53_ag(T426, T428, T427, T8, part20_out_gaaa(T426, T427, X740, X741)) → qs1_out_ag(.(T426, .(T428, T427)), T8)
qs1_in_ag(.(T426, .(T436, T427)), T8) → U54_ag(T426, T436, T427, T8, le100_in_aa(T426, T436))
U54_ag(T426, T436, T427, T8, le100_out_aa(T426, T436)) → U55_ag(T426, T436, T427, T8, part20_in_gaaa(T426, T427, T434, T435))
U55_ag(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U56_ag(T426, T436, T427, T8, qs80_in_aa(T434, X9))
U56_ag(T426, T436, T427, T8, qs80_out_aa(T434, X9)) → qs1_out_ag(.(T426, .(T436, T427)), T8)
U55_ag(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U57_ag(T426, T436, T427, T8, T435, qs80_in_aa(T434, T442))
U57_ag(T426, T436, T427, T8, T435, qs80_out_aa(T434, T442)) → U58_ag(T426, T436, T427, T8, p52_in_aaagg(.(T436, T435), X10, T442, T426, T8))
U58_ag(T426, T436, T427, T8, p52_out_aaagg(.(T436, T435), X10, T442, T426, T8)) → qs1_out_ag(.(T426, .(T436, T427)), T8)
qs1_in_ag(.(T452, []), T8) → U59_ag(T452, T8, qs155_in_a(X9))
qs155_in_a([]) → qs155_out_a([])
U59_ag(T452, T8, qs155_out_a(X9)) → qs1_out_ag(.(T452, []), T8)
qs1_in_ag(.(T452, []), T8) → U60_ag(T452, T8, qs155_in_a(T455))
U60_ag(T452, T8, qs155_out_a(T455)) → U61_ag(T452, T8, qs155_in_a(X10))
U61_ag(T452, T8, qs155_out_a(X10)) → qs1_out_ag(.(T452, []), T8)
U60_ag(T452, T8, qs155_out_a(T455)) → U62_ag(T452, T8, T455, qs155_in_a(T460))
U62_ag(T452, T8, T455, qs155_out_a(T460)) → U63_ag(T452, T8, app162_in_gagg(T455, T452, T460, T8))
app162_in_gagg(.(T486, T487), T491, T489, .(T486, T490)) → U36_gagg(T486, T487, T491, T489, T490, app162_in_gagg(T487, T491, T489, T490))
app162_in_gagg([], T501, T502, .(T501, T502)) → app162_out_gagg([], T501, T502, .(T501, T502))
U36_gagg(T486, T487, T491, T489, T490, app162_out_gagg(T487, T491, T489, T490)) → app162_out_gagg(.(T486, T487), T491, T489, .(T486, T490))
U63_ag(T452, T8, app162_out_gagg(T455, T452, T460, T8)) → qs1_out_ag(.(T452, []), T8)
qs1_in_ag([], []) → qs1_out_ag([], [])

The argument filtering Pi contains the following mapping:
qs1_in_ag(x1, x2)  =  qs1_in_ag(x2)
U44_ag(x1, x2, x3, x4, x5)  =  U44_ag(x5)
gt10_in_aa(x1, x2)  =  gt10_in_aa
U1_aa(x1, x2, x3)  =  U1_aa(x3)
gt10_out_aa(x1, x2)  =  gt10_out_aa(x1, x2)
qs1_out_ag(x1, x2)  =  qs1_out_ag
U45_ag(x1, x2, x3, x4, x5)  =  U45_ag(x4, x5)
U46_ag(x1, x2, x3, x4, x5)  =  U46_ag(x5)
part20_in_gaaa(x1, x2, x3, x4)  =  part20_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x6)
gt10_in_ga(x1, x2)  =  gt10_in_ga(x1)
s(x1)  =  s(x1)
U1_ga(x1, x2, x3)  =  U1_ga(x3)
0  =  0
gt10_out_ga(x1, x2)  =  gt10_out_ga(x2)
part20_out_gaaa(x1, x2, x3, x4)  =  part20_out_gaaa
U3_gaaa(x1, x2, x3, x4, x5, x6)  =  U3_gaaa(x1, x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x6)
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x6)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U8_ga(x1, x2, x3)  =  U8_ga(x3)
le33_out_ga(x1, x2)  =  le33_out_ga
U6_gaaa(x1, x2, x3, x4, x5, x6)  =  U6_gaaa(x1, x6)
U7_gaaa(x1, x2, x3, x4, x5, x6)  =  U7_gaaa(x6)
U47_ag(x1, x2, x3, x4, x5)  =  U47_ag(x1, x2, x4, x5)
U48_ag(x1, x2, x3, x4, x5)  =  U48_ag(x5)
qs51_in_gaa(x1, x2, x3)  =  qs51_in_gaa(x1)
U37_gaa(x1, x2, x3, x4)  =  U37_gaa(x4)
p56_in_gaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_in_gaaaaaa(x1)
U9_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_gaaaaaa(x8)
p56_out_gaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_out_gaaaaaa
U10_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_gaaaaaa(x8)
U11_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_gaaaaaa(x8)
qs59_in_aa(x1, x2)  =  qs59_in_aa
U19_aa(x1, x2, x3, x4)  =  U19_aa(x4)
p56_in_aaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_in_aaaaaaa
U9_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_aaaaaaa(x8)
part20_in_aaaa(x1, x2, x3, x4)  =  part20_in_aaaa
U2_aaaa(x1, x2, x3, x4, x5, x6)  =  U2_aaaa(x6)
part20_out_aaaa(x1, x2, x3, x4)  =  part20_out_aaaa
U3_aaaa(x1, x2, x3, x4, x5, x6)  =  U3_aaaa(x6)
U4_aaaa(x1, x2, x3, x4, x5, x6)  =  U4_aaaa(x6)
U5_aaaa(x1, x2, x3, x4, x5, x6)  =  U5_aaaa(x6)
le33_in_aa(x1, x2)  =  le33_in_aa
U8_aa(x1, x2, x3)  =  U8_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
U6_aaaa(x1, x2, x3, x4, x5, x6)  =  U6_aaaa(x6)
U7_aaaa(x1, x2, x3, x4, x5, x6)  =  U7_aaaa(x6)
p56_out_aaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_out_aaaaaaa
U10_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_aaaaaaa(x8)
U11_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_aaaaaaa(x8)
qs59_out_aa(x1, x2)  =  qs59_out_aa
U12_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_aaaaaaa(x8)
U13_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_aaaaaaa(x8)
U14_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_aaaaaaa(x8)
U15_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_aaaaaaa(x8)
U16_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_aaaaaaa(x8)
U17_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_aaaaaaa(x8)
U18_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_aaaaaaa(x8)
.(x1, x2)  =  .(x1, x2)
[]  =  []
app70_in_aaaa(x1, x2, x3, x4)  =  app70_in_aaaa
U20_aaaa(x1, x2, x3, x4, x5, x6)  =  U20_aaaa(x6)
app70_out_aaaa(x1, x2, x3, x4)  =  app70_out_aaaa
U12_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_gaaaaaa(x8)
U13_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_gaaaaaa(x8)
U14_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_gaaaaaa(x8)
U15_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_gaaaaaa(x1, x8)
U16_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_gaaaaaa(x1, x8)
U17_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_gaaaaaa(x1, x8)
U18_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_gaaaaaa(x8)
app70_in_agaa(x1, x2, x3, x4)  =  app70_in_agaa(x2)
U20_agaa(x1, x2, x3, x4, x5, x6)  =  U20_agaa(x6)
app70_out_agaa(x1, x2, x3, x4)  =  app70_out_agaa
qs51_out_gaa(x1, x2, x3)  =  qs51_out_gaa
U49_ag(x1, x2, x3, x4, x5, x6)  =  U49_ag(x1, x4, x6)
U50_ag(x1, x2, x3, x4, x5)  =  U50_ag(x5)
p52_in_aaagg(x1, x2, x3, x4, x5)  =  p52_in_aaagg(x4, x5)
U33_aaagg(x1, x2, x3, x4, x5, x6)  =  U33_aaagg(x6)
qs80_in_aa(x1, x2)  =  qs80_in_aa
U22_aa(x1, x2, x3, x4)  =  U22_aa(x4)
part87_in_aaaa(x1, x2, x3, x4)  =  part87_in_aaaa
U38_aaaa(x1, x2, x3, x4, x5, x6)  =  U38_aaaa(x6)
part87_out_aaaa(x1, x2, x3, x4)  =  part87_out_aaaa
U39_aaaa(x1, x2, x3, x4, x5, x6)  =  U39_aaaa(x6)
U40_aaaa(x1, x2, x3, x4, x5, x6)  =  U40_aaaa(x6)
U41_aaaa(x1, x2, x3, x4, x5, x6)  =  U41_aaaa(x6)
le100_in_aa(x1, x2)  =  le100_in_aa
U21_aa(x1, x2, x3)  =  U21_aa(x3)
le100_out_aa(x1, x2)  =  le100_out_aa(x1)
U42_aaaa(x1, x2, x3, x4, x5, x6)  =  U42_aaaa(x6)
U43_aaaa(x1, x2, x3, x4, x5, x6)  =  U43_aaaa(x6)
qs80_out_aa(x1, x2)  =  qs80_out_aa
U23_aa(x1, x2, x3, x4)  =  U23_aa(x4)
U24_aa(x1, x2, x3, x4)  =  U24_aa(x4)
U27_aa(x1, x2, x3, x4)  =  U27_aa(x4)
U28_aa(x1, x2, x3, x4, x5)  =  U28_aa(x5)
U29_aa(x1, x2, x3, x4, x5)  =  U29_aa(x5)
U30_aa(x1, x2, x3, x4)  =  U30_aa(x4)
app121_in_aaaa(x1, x2, x3, x4)  =  app121_in_aaaa
U31_aaaa(x1, x2, x3, x4, x5, x6)  =  U31_aaaa(x6)
app121_out_aaaa(x1, x2, x3, x4)  =  app121_out_aaaa
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
U26_aa(x1, x2, x3, x4)  =  U26_aa(x4)
p52_out_aaagg(x1, x2, x3, x4, x5)  =  p52_out_aaagg
U34_aaagg(x1, x2, x3, x4, x5, x6)  =  U34_aaagg(x4, x5, x6)
U35_aaagg(x1, x2, x3, x4, x5, x6)  =  U35_aaagg(x6)
app81_in_agag(x1, x2, x3, x4)  =  app81_in_agag(x2, x4)
U32_agag(x1, x2, x3, x4, x5, x6)  =  U32_agag(x1, x6)
app81_out_agag(x1, x2, x3, x4)  =  app81_out_agag(x1, x3)
U51_ag(x1, x2, x3, x4, x5)  =  U51_ag(x5)
U52_ag(x1, x2, x3, x4, x5)  =  U52_ag(x5)
U53_ag(x1, x2, x3, x4, x5)  =  U53_ag(x5)
U54_ag(x1, x2, x3, x4, x5)  =  U54_ag(x4, x5)
U55_ag(x1, x2, x3, x4, x5)  =  U55_ag(x1, x4, x5)
U56_ag(x1, x2, x3, x4, x5)  =  U56_ag(x5)
U57_ag(x1, x2, x3, x4, x5, x6)  =  U57_ag(x1, x4, x6)
U58_ag(x1, x2, x3, x4, x5)  =  U58_ag(x5)
U59_ag(x1, x2, x3)  =  U59_ag(x3)
qs155_in_a(x1)  =  qs155_in_a
qs155_out_a(x1)  =  qs155_out_a(x1)
U60_ag(x1, x2, x3)  =  U60_ag(x2, x3)
U61_ag(x1, x2, x3)  =  U61_ag(x3)
U62_ag(x1, x2, x3, x4)  =  U62_ag(x2, x3, x4)
U63_ag(x1, x2, x3)  =  U63_ag(x3)
app162_in_gagg(x1, x2, x3, x4)  =  app162_in_gagg(x1, x3, x4)
U36_gagg(x1, x2, x3, x4, x5, x6)  =  U36_gagg(x6)
app162_out_gagg(x1, x2, x3, x4)  =  app162_out_gagg(x2)

(138) DependencyPairsProof (EQUIVALENT transformation)

Using Dependency Pairs [AG00,LOPSTR] we result in the following initial DP problem:
Pi DP problem:
The TRS P consists of the following rules:

QS1_IN_AG(.(T26, .(T27, T28)), T8) → U44_AG(T26, T27, T28, T8, gt10_in_aa(T26, T27))
QS1_IN_AG(.(T26, .(T27, T28)), T8) → GT10_IN_AA(T26, T27)
GT10_IN_AA(s(T46), s(T47)) → U1_AA(T46, T47, gt10_in_aa(T46, T47))
GT10_IN_AA(s(T46), s(T47)) → GT10_IN_AA(T46, T47)
QS1_IN_AG(.(T31, .(T33, T32)), T8) → U45_AG(T31, T33, T32, T8, gt10_in_aa(T31, T33))
U45_AG(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U46_AG(T31, T33, T32, T8, part20_in_gaaa(T31, T32, X47, X48))
U45_AG(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → PART20_IN_GAAA(T31, T32, X47, X48)
PART20_IN_GAAA(T70, .(T73, T74), .(T73, X119), X120) → U2_GAAA(T70, T73, T74, X119, X120, gt10_in_ga(T70, T73))
PART20_IN_GAAA(T70, .(T73, T74), .(T73, X119), X120) → GT10_IN_GA(T70, T73)
GT10_IN_GA(s(T46), s(T47)) → U1_GA(T46, T47, gt10_in_ga(T46, T47))
GT10_IN_GA(s(T46), s(T47)) → GT10_IN_GA(T46, T47)
PART20_IN_GAAA(T70, .(T73, T77), .(T73, X119), X120) → U3_GAAA(T70, T73, T77, X119, X120, gt10_in_ga(T70, T73))
U3_GAAA(T70, T73, T77, X119, X120, gt10_out_ga(T70, T73)) → U4_GAAA(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
U3_GAAA(T70, T73, T77, X119, X120, gt10_out_ga(T70, T73)) → PART20_IN_GAAA(T70, T77, X119, X120)
PART20_IN_GAAA(T95, .(T98, T99), X170, .(T98, X171)) → U5_GAAA(T95, T98, T99, X170, X171, le33_in_ga(T95, T98))
PART20_IN_GAAA(T95, .(T98, T99), X170, .(T98, X171)) → LE33_IN_GA(T95, T98)
LE33_IN_GA(s(T113), s(T115)) → U8_GA(T113, T115, le33_in_ga(T113, T115))
LE33_IN_GA(s(T113), s(T115)) → LE33_IN_GA(T113, T115)
PART20_IN_GAAA(T95, .(T98, T102), X170, .(T98, X171)) → U6_GAAA(T95, T98, T102, X170, X171, le33_in_ga(T95, T98))
U6_GAAA(T95, T98, T102, X170, X171, le33_out_ga(T95, T98)) → U7_GAAA(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
U6_GAAA(T95, T98, T102, X170, X171, le33_out_ga(T95, T98)) → PART20_IN_GAAA(T95, T102, X170, X171)
U45_AG(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U47_AG(T31, T33, T32, T8, part20_in_gaaa(T31, T32, T53, T54))
U47_AG(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U48_AG(T31, T33, T32, T8, qs51_in_gaa(T33, T53, X9))
U47_AG(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → QS51_IN_GAA(T33, T53, X9)
QS51_IN_GAA(T148, T149, X273) → U37_GAA(T148, T149, X273, p56_in_gaaaaaa(T148, T149, X269, X270, X271, X272, X273))
QS51_IN_GAA(T148, T149, X273) → P56_IN_GAAAAAA(T148, T149, X269, X270, X271, X272, X273)
P56_IN_GAAAAAA(T148, T149, X269, X270, X271, X272, X273) → U9_GAAAAAA(T148, T149, X269, X270, X271, X272, X273, part20_in_gaaa(T148, T149, X269, X270))
P56_IN_GAAAAAA(T148, T149, X269, X270, X271, X272, X273) → PART20_IN_GAAA(T148, T149, X269, X270)
P56_IN_GAAAAAA(T148, T149, T153, T154, X271, X272, X273) → U10_GAAAAAA(T148, T149, T153, T154, X271, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U10_GAAAAAA(T148, T149, T153, T154, X271, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U11_GAAAAAA(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
U10_GAAAAAA(T148, T149, T153, T154, X271, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → QS59_IN_AA(T153, X271)
QS59_IN_AA(.(T171, T172), X335) → U19_AA(T171, T172, X335, p56_in_aaaaaaa(T171, T172, X331, X332, X333, X334, X335))
QS59_IN_AA(.(T171, T172), X335) → P56_IN_AAAAAAA(T171, T172, X331, X332, X333, X334, X335)
P56_IN_AAAAAAA(T148, T149, X269, X270, X271, X272, X273) → U9_AAAAAAA(T148, T149, X269, X270, X271, X272, X273, part20_in_aaaa(T148, T149, X269, X270))
P56_IN_AAAAAAA(T148, T149, X269, X270, X271, X272, X273) → PART20_IN_AAAA(T148, T149, X269, X270)
PART20_IN_AAAA(T70, .(T73, T74), .(T73, X119), X120) → U2_AAAA(T70, T73, T74, X119, X120, gt10_in_aa(T70, T73))
PART20_IN_AAAA(T70, .(T73, T74), .(T73, X119), X120) → GT10_IN_AA(T70, T73)
PART20_IN_AAAA(T70, .(T73, T77), .(T73, X119), X120) → U3_AAAA(T70, T73, T77, X119, X120, gt10_in_aa(T70, T73))
U3_AAAA(T70, T73, T77, X119, X120, gt10_out_aa(T70, T73)) → U4_AAAA(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
U3_AAAA(T70, T73, T77, X119, X120, gt10_out_aa(T70, T73)) → PART20_IN_GAAA(T70, T77, X119, X120)
PART20_IN_AAAA(T95, .(T98, T99), X170, .(T98, X171)) → U5_AAAA(T95, T98, T99, X170, X171, le33_in_aa(T95, T98))
PART20_IN_AAAA(T95, .(T98, T99), X170, .(T98, X171)) → LE33_IN_AA(T95, T98)
LE33_IN_AA(s(T113), s(T115)) → U8_AA(T113, T115, le33_in_aa(T113, T115))
LE33_IN_AA(s(T113), s(T115)) → LE33_IN_AA(T113, T115)
PART20_IN_AAAA(T95, .(T98, T102), X170, .(T98, X171)) → U6_AAAA(T95, T98, T102, X170, X171, le33_in_aa(T95, T98))
U6_AAAA(T95, T98, T102, X170, X171, le33_out_aa(T95, T98)) → U7_AAAA(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
U6_AAAA(T95, T98, T102, X170, X171, le33_out_aa(T95, T98)) → PART20_IN_GAAA(T95, T102, X170, X171)
P56_IN_AAAAAAA(T148, T149, T153, T154, X271, X272, X273) → U10_AAAAAAA(T148, T149, T153, T154, X271, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U10_AAAAAAA(T148, T149, T153, T154, X271, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U11_AAAAAAA(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
U10_AAAAAAA(T148, T149, T153, T154, X271, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → QS59_IN_AA(T153, X271)
P56_IN_AAAAAAA(T148, T149, T153, T154, T160, X272, X273) → U12_AAAAAAA(T148, T149, T153, T154, T160, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U12_AAAAAAA(T148, T149, T153, T154, T160, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U13_AAAAAAA(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U12_AAAAAAA(T148, T149, T153, T154, T160, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → QS59_IN_AA(T153, T160)
U13_AAAAAAA(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_AAAAAAA(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U13_AAAAAAA(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → QS59_IN_AA(T154, X272)
P56_IN_AAAAAAA(T148, T149, T153, T154, T160, T178, X273) → U15_AAAAAAA(T148, T149, T153, T154, T160, T178, X273, part20_in_aaaa(T148, T149, T153, T154))
U15_AAAAAAA(T148, T149, T153, T154, T160, T178, X273, part20_out_aaaa(T148, T149, T153, T154)) → U16_AAAAAAA(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U15_AAAAAAA(T148, T149, T153, T154, T160, T178, X273, part20_out_aaaa(T148, T149, T153, T154)) → QS59_IN_AA(T153, T160)
U16_AAAAAAA(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_AAAAAAA(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U16_AAAAAAA(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → QS59_IN_AA(T154, T178)
U17_AAAAAAA(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_AAAAAAA(T148, T149, T153, T154, T160, T178, X273, app70_in_aaaa(T160, T148, T178, X273))
U17_AAAAAAA(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → APP70_IN_AAAA(T160, T148, T178, X273)
APP70_IN_AAAA(.(T201, T202), T203, T204, .(T201, X391)) → U20_AAAA(T201, T202, T203, T204, X391, app70_in_aaaa(T202, T203, T204, X391))
APP70_IN_AAAA(.(T201, T202), T203, T204, .(T201, X391)) → APP70_IN_AAAA(T202, T203, T204, X391)
P56_IN_GAAAAAA(T148, T149, T153, T154, T160, X272, X273) → U12_GAAAAAA(T148, T149, T153, T154, T160, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U12_GAAAAAA(T148, T149, T153, T154, T160, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U13_GAAAAAA(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U12_GAAAAAA(T148, T149, T153, T154, T160, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → QS59_IN_AA(T153, T160)
U13_GAAAAAA(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_GAAAAAA(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U13_GAAAAAA(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → QS59_IN_AA(T154, X272)
P56_IN_GAAAAAA(T148, T149, T153, T154, T160, T178, X273) → U15_GAAAAAA(T148, T149, T153, T154, T160, T178, X273, part20_in_gaaa(T148, T149, T153, T154))
U15_GAAAAAA(T148, T149, T153, T154, T160, T178, X273, part20_out_gaaa(T148, T149, T153, T154)) → U16_GAAAAAA(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U15_GAAAAAA(T148, T149, T153, T154, T160, T178, X273, part20_out_gaaa(T148, T149, T153, T154)) → QS59_IN_AA(T153, T160)
U16_GAAAAAA(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_GAAAAAA(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U16_GAAAAAA(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → QS59_IN_AA(T154, T178)
U17_GAAAAAA(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_GAAAAAA(T148, T149, T153, T154, T160, T178, X273, app70_in_agaa(T160, T148, T178, X273))
U17_GAAAAAA(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → APP70_IN_AGAA(T160, T148, T178, X273)
APP70_IN_AGAA(.(T201, T202), T203, T204, .(T201, X391)) → U20_AGAA(T201, T202, T203, T204, X391, app70_in_agaa(T202, T203, T204, X391))
APP70_IN_AGAA(.(T201, T202), T203, T204, .(T201, X391)) → APP70_IN_AGAA(T202, T203, T204, X391)
U47_AG(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U49_AG(T31, T33, T32, T8, T54, qs51_in_gaa(T33, T53, T131))
U49_AG(T31, T33, T32, T8, T54, qs51_out_gaa(T33, T53, T131)) → U50_AG(T31, T33, T32, T8, p52_in_aaagg(T54, X10, T131, T31, T8))
U49_AG(T31, T33, T32, T8, T54, qs51_out_gaa(T33, T53, T131)) → P52_IN_AAAGG(T54, X10, T131, T31, T8)
P52_IN_AAAGG(T54, X10, T131, T31, T8) → U33_AAAGG(T54, X10, T131, T31, T8, qs80_in_aa(T54, X10))
P52_IN_AAAGG(T54, X10, T131, T31, T8) → QS80_IN_AA(T54, X10)
QS80_IN_AA(.(T230, T231), X452) → U22_AA(T230, T231, X452, part87_in_aaaa(T230, T231, X448, X449))
QS80_IN_AA(.(T230, T231), X452) → PART87_IN_AAAA(T230, T231, X448, X449)
PART87_IN_AAAA(T256, .(T257, T258), .(T257, X503), X504) → U38_AAAA(T256, T257, T258, X503, X504, gt10_in_aa(T256, T257))
PART87_IN_AAAA(T256, .(T257, T258), .(T257, X503), X504) → GT10_IN_AA(T256, T257)
PART87_IN_AAAA(T261, .(T257, T262), .(T257, X503), X504) → U39_AAAA(T261, T257, T262, X503, X504, gt10_in_aa(T261, T257))
U39_AAAA(T261, T257, T262, X503, X504, gt10_out_aa(T261, T257)) → U40_AAAA(T261, T257, T262, X503, X504, part20_in_gaaa(T261, T262, X503, X504))
U39_AAAA(T261, T257, T262, X503, X504, gt10_out_aa(T261, T257)) → PART20_IN_GAAA(T261, T262, X503, X504)
PART87_IN_AAAA(T283, .(T284, T285), X554, .(T284, X555)) → U41_AAAA(T283, T284, T285, X554, X555, le100_in_aa(T283, T284))
PART87_IN_AAAA(T283, .(T284, T285), X554, .(T284, X555)) → LE100_IN_AA(T283, T284)
LE100_IN_AA(s(T302), s(T303)) → U21_AA(T302, T303, le100_in_aa(T302, T303))
LE100_IN_AA(s(T302), s(T303)) → LE100_IN_AA(T302, T303)
PART87_IN_AAAA(T288, .(T284, T289), X554, .(T284, X555)) → U42_AAAA(T288, T284, T289, X554, X555, le100_in_aa(T288, T284))
U42_AAAA(T288, T284, T289, X554, X555, le100_out_aa(T288, T284)) → U43_AAAA(T288, T284, T289, X554, X555, part20_in_gaaa(T288, T289, X554, X555))
U42_AAAA(T288, T284, T289, X554, X555, le100_out_aa(T288, T284)) → PART20_IN_GAAA(T288, T289, X554, X555)
QS80_IN_AA(.(T237, T231), X452) → U23_AA(T237, T231, X452, part87_in_aaaa(T237, T231, T235, T236))
U23_AA(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U24_AA(T237, T231, X452, qs80_in_aa(T235, X450))
U23_AA(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → QS80_IN_AA(T235, X450)
QS80_IN_AA(.(T325, T231), X452) → U27_AA(T325, T231, X452, part87_in_aaaa(T325, T231, T235, T236))
U27_AA(T325, T231, X452, part87_out_aaaa(T325, T231, T235, T236)) → U28_AA(T325, T231, X452, T236, qs80_in_aa(T235, T319))
U27_AA(T325, T231, X452, part87_out_aaaa(T325, T231, T235, T236)) → QS80_IN_AA(T235, T319)
U28_AA(T325, T231, X452, T236, qs80_out_aa(T235, T319)) → U29_AA(T325, T231, X452, T319, qs80_in_aa(T236, T324))
U28_AA(T325, T231, X452, T236, qs80_out_aa(T235, T319)) → QS80_IN_AA(T236, T324)
U29_AA(T325, T231, X452, T319, qs80_out_aa(T236, T324)) → U30_AA(T325, T231, X452, app121_in_aaaa(T319, T325, T324, X452))
U29_AA(T325, T231, X452, T319, qs80_out_aa(T236, T324)) → APP121_IN_AAAA(T319, T325, T324, X452)
APP121_IN_AAAA(.(T348, T349), T352, T353, .(T348, X657)) → U31_AAAA(T348, T349, T352, T353, X657, app121_in_aaaa(T349, T352, T353, X657))
APP121_IN_AAAA(.(T348, T349), T352, T353, .(T348, X657)) → APP121_IN_AAAA(T349, T352, T353, X657)
U23_AA(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U25_AA(T237, T231, X452, T236, qs80_in_aa(T235, T319))
U25_AA(T237, T231, X452, T236, qs80_out_aa(T235, T319)) → U26_AA(T237, T231, X452, qs80_in_aa(T236, X451))
U25_AA(T237, T231, X452, T236, qs80_out_aa(T235, T319)) → QS80_IN_AA(T236, X451)
P52_IN_AAAGG(T54, T217, T131, T31, T8) → U34_AAAGG(T54, T217, T131, T31, T8, qs80_in_aa(T54, T217))
U34_AAAGG(T54, T217, T131, T31, T8, qs80_out_aa(T54, T217)) → U35_AAAGG(T54, T217, T131, T31, T8, app81_in_agag(T131, T31, T217, T8))
U34_AAAGG(T54, T217, T131, T31, T8, qs80_out_aa(T54, T217)) → APP81_IN_AGAG(T131, T31, T217, T8)
APP81_IN_AGAG(.(T389, T390), T391, T394, .(T389, T393)) → U32_AGAG(T389, T390, T391, T394, T393, app81_in_agag(T390, T391, T394, T393))
APP81_IN_AGAG(.(T389, T390), T391, T394, .(T389, T393)) → APP81_IN_AGAG(T390, T391, T394, T393)
QS1_IN_AG(.(T421, .(T422, T423)), T8) → U51_AG(T421, T422, T423, T8, le100_in_aa(T421, T422))
QS1_IN_AG(.(T421, .(T422, T423)), T8) → LE100_IN_AA(T421, T422)
QS1_IN_AG(.(T426, .(T428, T427)), T8) → U52_AG(T426, T428, T427, T8, le100_in_aa(T426, T428))
U52_AG(T426, T428, T427, T8, le100_out_aa(T426, T428)) → U53_AG(T426, T428, T427, T8, part20_in_gaaa(T426, T427, X740, X741))
U52_AG(T426, T428, T427, T8, le100_out_aa(T426, T428)) → PART20_IN_GAAA(T426, T427, X740, X741)
QS1_IN_AG(.(T426, .(T436, T427)), T8) → U54_AG(T426, T436, T427, T8, le100_in_aa(T426, T436))
U54_AG(T426, T436, T427, T8, le100_out_aa(T426, T436)) → U55_AG(T426, T436, T427, T8, part20_in_gaaa(T426, T427, T434, T435))
U54_AG(T426, T436, T427, T8, le100_out_aa(T426, T436)) → PART20_IN_GAAA(T426, T427, T434, T435)
U55_AG(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U56_AG(T426, T436, T427, T8, qs80_in_aa(T434, X9))
U55_AG(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → QS80_IN_AA(T434, X9)
U55_AG(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U57_AG(T426, T436, T427, T8, T435, qs80_in_aa(T434, T442))
U57_AG(T426, T436, T427, T8, T435, qs80_out_aa(T434, T442)) → U58_AG(T426, T436, T427, T8, p52_in_aaagg(.(T436, T435), X10, T442, T426, T8))
U57_AG(T426, T436, T427, T8, T435, qs80_out_aa(T434, T442)) → P52_IN_AAAGG(.(T436, T435), X10, T442, T426, T8)
QS1_IN_AG(.(T452, []), T8) → U59_AG(T452, T8, qs155_in_a(X9))
QS1_IN_AG(.(T452, []), T8) → QS155_IN_A(X9)
QS1_IN_AG(.(T452, []), T8) → U60_AG(T452, T8, qs155_in_a(T455))
U60_AG(T452, T8, qs155_out_a(T455)) → U61_AG(T452, T8, qs155_in_a(X10))
U60_AG(T452, T8, qs155_out_a(T455)) → QS155_IN_A(X10)
U60_AG(T452, T8, qs155_out_a(T455)) → U62_AG(T452, T8, T455, qs155_in_a(T460))
U62_AG(T452, T8, T455, qs155_out_a(T460)) → U63_AG(T452, T8, app162_in_gagg(T455, T452, T460, T8))
U62_AG(T452, T8, T455, qs155_out_a(T460)) → APP162_IN_GAGG(T455, T452, T460, T8)
APP162_IN_GAGG(.(T486, T487), T491, T489, .(T486, T490)) → U36_GAGG(T486, T487, T491, T489, T490, app162_in_gagg(T487, T491, T489, T490))
APP162_IN_GAGG(.(T486, T487), T491, T489, .(T486, T490)) → APP162_IN_GAGG(T487, T491, T489, T490)

The TRS R consists of the following rules:

qs1_in_ag(.(T26, .(T27, T28)), T8) → U44_ag(T26, T27, T28, T8, gt10_in_aa(T26, T27))
gt10_in_aa(s(T46), s(T47)) → U1_aa(T46, T47, gt10_in_aa(T46, T47))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U1_aa(T46, T47, gt10_out_aa(T46, T47)) → gt10_out_aa(s(T46), s(T47))
U44_ag(T26, T27, T28, T8, gt10_out_aa(T26, T27)) → qs1_out_ag(.(T26, .(T27, T28)), T8)
qs1_in_ag(.(T31, .(T33, T32)), T8) → U45_ag(T31, T33, T32, T8, gt10_in_aa(T31, T33))
U45_ag(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U46_ag(T31, T33, T32, T8, part20_in_gaaa(T31, T32, X47, X48))
part20_in_gaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_gaaa(T70, T73, T74, X119, X120, gt10_in_ga(T70, T73))
gt10_in_ga(s(T46), s(T47)) → U1_ga(T46, T47, gt10_in_ga(T46, T47))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U1_ga(T46, T47, gt10_out_ga(T46, T47)) → gt10_out_ga(s(T46), s(T47))
U2_gaaa(T70, T73, T74, X119, X120, gt10_out_ga(T70, T73)) → part20_out_gaaa(T70, .(T73, T74), .(T73, X119), X120)
part20_in_gaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_gaaa(T70, T73, T77, X119, X120, gt10_in_ga(T70, T73))
U3_gaaa(T70, T73, T77, X119, X120, gt10_out_ga(T70, T73)) → U4_gaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
part20_in_gaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_gaaa(T95, T98, T99, X170, X171, le33_in_ga(T95, T98))
le33_in_ga(s(T113), s(T115)) → U8_ga(T113, T115, le33_in_ga(T113, T115))
le33_in_ga(0, s(T122)) → le33_out_ga(0, s(T122))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U8_ga(T113, T115, le33_out_ga(T113, T115)) → le33_out_ga(s(T113), s(T115))
U5_gaaa(T95, T98, T99, X170, X171, le33_out_ga(T95, T98)) → part20_out_gaaa(T95, .(T98, T99), X170, .(T98, X171))
part20_in_gaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_gaaa(T95, T98, T102, X170, X171, le33_in_ga(T95, T98))
U6_gaaa(T95, T98, T102, X170, X171, le33_out_ga(T95, T98)) → U7_gaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
part20_in_gaaa(T128, [], [], []) → part20_out_gaaa(T128, [], [], [])
U7_gaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_gaaa(T95, .(T98, T102), X170, .(T98, X171))
U4_gaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_gaaa(T70, .(T73, T77), .(T73, X119), X120)
U46_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, X47, X48)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
U45_ag(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U47_ag(T31, T33, T32, T8, part20_in_gaaa(T31, T32, T53, T54))
U47_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U48_ag(T31, T33, T32, T8, qs51_in_gaa(T33, T53, X9))
qs51_in_gaa(T148, T149, X273) → U37_gaa(T148, T149, X273, p56_in_gaaaaaa(T148, T149, X269, X270, X271, X272, X273))
p56_in_gaaaaaa(T148, T149, X269, X270, X271, X272, X273) → U9_gaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_in_gaaa(T148, T149, X269, X270))
U9_gaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_out_gaaa(T148, T149, X269, X270)) → p56_out_gaaaaaa(T148, T149, X269, X270, X271, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, X271, X272, X273) → U10_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U10_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U11_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
qs59_in_aa(.(T171, T172), X335) → U19_aa(T171, T172, X335, p56_in_aaaaaaa(T171, T172, X331, X332, X333, X334, X335))
p56_in_aaaaaaa(T148, T149, X269, X270, X271, X272, X273) → U9_aaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_in_aaaa(T148, T149, X269, X270))
part20_in_aaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_aaaa(T70, T73, T74, X119, X120, gt10_in_aa(T70, T73))
U2_aaaa(T70, T73, T74, X119, X120, gt10_out_aa(T70, T73)) → part20_out_aaaa(T70, .(T73, T74), .(T73, X119), X120)
part20_in_aaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_aaaa(T70, T73, T77, X119, X120, gt10_in_aa(T70, T73))
U3_aaaa(T70, T73, T77, X119, X120, gt10_out_aa(T70, T73)) → U4_aaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
U4_aaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_aaaa(T70, .(T73, T77), .(T73, X119), X120)
part20_in_aaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_aaaa(T95, T98, T99, X170, X171, le33_in_aa(T95, T98))
le33_in_aa(s(T113), s(T115)) → U8_aa(T113, T115, le33_in_aa(T113, T115))
le33_in_aa(0, s(T122)) → le33_out_aa(0, s(T122))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U8_aa(T113, T115, le33_out_aa(T113, T115)) → le33_out_aa(s(T113), s(T115))
U5_aaaa(T95, T98, T99, X170, X171, le33_out_aa(T95, T98)) → part20_out_aaaa(T95, .(T98, T99), X170, .(T98, X171))
part20_in_aaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_aaaa(T95, T98, T102, X170, X171, le33_in_aa(T95, T98))
U6_aaaa(T95, T98, T102, X170, X171, le33_out_aa(T95, T98)) → U7_aaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
U7_aaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_aaaa(T95, .(T98, T102), X170, .(T98, X171))
part20_in_aaaa(T128, [], [], []) → part20_out_aaaa(T128, [], [], [])
U9_aaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_out_aaaa(T148, T149, X269, X270)) → p56_out_aaaaaaa(T148, T149, X269, X270, X271, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, X271, X272, X273) → U10_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U10_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U11_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
qs59_in_aa([], []) → qs59_out_aa([], [])
U11_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_out_aa(T153, X271)) → p56_out_aaaaaaa(T148, T149, T153, T154, X271, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, T160, X272, X273) → U12_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U12_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U13_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U13_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U14_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T154, X272)) → p56_out_aaaaaaa(T148, T149, T153, T154, T160, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, T160, T178, X273) → U15_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_in_aaaa(T148, T149, T153, T154))
U15_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_out_aaaa(T148, T149, T153, T154)) → U16_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U16_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U17_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_in_aaaa(T160, T148, T178, X273))
app70_in_aaaa(.(T201, T202), T203, T204, .(T201, X391)) → U20_aaaa(T201, T202, T203, T204, X391, app70_in_aaaa(T202, T203, T204, X391))
app70_in_aaaa([], T213, T214, .(T213, T214)) → app70_out_aaaa([], T213, T214, .(T213, T214))
U20_aaaa(T201, T202, T203, T204, X391, app70_out_aaaa(T202, T203, T204, X391)) → app70_out_aaaa(.(T201, T202), T203, T204, .(T201, X391))
U18_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_out_aaaa(T160, T148, T178, X273)) → p56_out_aaaaaaa(T148, T149, T153, T154, T160, T178, X273)
U19_aa(T171, T172, X335, p56_out_aaaaaaa(T171, T172, X331, X332, X333, X334, X335)) → qs59_out_aa(.(T171, T172), X335)
U11_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_out_aa(T153, X271)) → p56_out_gaaaaaa(T148, T149, T153, T154, X271, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, T160, X272, X273) → U12_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U12_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U13_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U13_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U14_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T154, X272)) → p56_out_gaaaaaa(T148, T149, T153, T154, T160, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, T160, T178, X273) → U15_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_in_gaaa(T148, T149, T153, T154))
U15_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_out_gaaa(T148, T149, T153, T154)) → U16_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U16_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U17_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_in_agaa(T160, T148, T178, X273))
app70_in_agaa(.(T201, T202), T203, T204, .(T201, X391)) → U20_agaa(T201, T202, T203, T204, X391, app70_in_agaa(T202, T203, T204, X391))
app70_in_agaa([], T213, T214, .(T213, T214)) → app70_out_agaa([], T213, T214, .(T213, T214))
U20_agaa(T201, T202, T203, T204, X391, app70_out_agaa(T202, T203, T204, X391)) → app70_out_agaa(.(T201, T202), T203, T204, .(T201, X391))
U18_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_out_agaa(T160, T148, T178, X273)) → p56_out_gaaaaaa(T148, T149, T153, T154, T160, T178, X273)
U37_gaa(T148, T149, X273, p56_out_gaaaaaa(T148, T149, X269, X270, X271, X272, X273)) → qs51_out_gaa(T148, T149, X273)
U48_ag(T31, T33, T32, T8, qs51_out_gaa(T33, T53, X9)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
U47_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U49_ag(T31, T33, T32, T8, T54, qs51_in_gaa(T33, T53, T131))
U49_ag(T31, T33, T32, T8, T54, qs51_out_gaa(T33, T53, T131)) → U50_ag(T31, T33, T32, T8, p52_in_aaagg(T54, X10, T131, T31, T8))
p52_in_aaagg(T54, X10, T131, T31, T8) → U33_aaagg(T54, X10, T131, T31, T8, qs80_in_aa(T54, X10))
qs80_in_aa(.(T230, T231), X452) → U22_aa(T230, T231, X452, part87_in_aaaa(T230, T231, X448, X449))
part87_in_aaaa(T256, .(T257, T258), .(T257, X503), X504) → U38_aaaa(T256, T257, T258, X503, X504, gt10_in_aa(T256, T257))
U38_aaaa(T256, T257, T258, X503, X504, gt10_out_aa(T256, T257)) → part87_out_aaaa(T256, .(T257, T258), .(T257, X503), X504)
part87_in_aaaa(T261, .(T257, T262), .(T257, X503), X504) → U39_aaaa(T261, T257, T262, X503, X504, gt10_in_aa(T261, T257))
U39_aaaa(T261, T257, T262, X503, X504, gt10_out_aa(T261, T257)) → U40_aaaa(T261, T257, T262, X503, X504, part20_in_gaaa(T261, T262, X503, X504))
U40_aaaa(T261, T257, T262, X503, X504, part20_out_gaaa(T261, T262, X503, X504)) → part87_out_aaaa(T261, .(T257, T262), .(T257, X503), X504)
part87_in_aaaa(T283, .(T284, T285), X554, .(T284, X555)) → U41_aaaa(T283, T284, T285, X554, X555, le100_in_aa(T283, T284))
le100_in_aa(s(T302), s(T303)) → U21_aa(T302, T303, le100_in_aa(T302, T303))
le100_in_aa(0, s(T310)) → le100_out_aa(0, s(T310))
le100_in_aa(0, 0) → le100_out_aa(0, 0)
U21_aa(T302, T303, le100_out_aa(T302, T303)) → le100_out_aa(s(T302), s(T303))
U41_aaaa(T283, T284, T285, X554, X555, le100_out_aa(T283, T284)) → part87_out_aaaa(T283, .(T284, T285), X554, .(T284, X555))
part87_in_aaaa(T288, .(T284, T289), X554, .(T284, X555)) → U42_aaaa(T288, T284, T289, X554, X555, le100_in_aa(T288, T284))
U42_aaaa(T288, T284, T289, X554, X555, le100_out_aa(T288, T284)) → U43_aaaa(T288, T284, T289, X554, X555, part20_in_gaaa(T288, T289, X554, X555))
U43_aaaa(T288, T284, T289, X554, X555, part20_out_gaaa(T288, T289, X554, X555)) → part87_out_aaaa(T288, .(T284, T289), X554, .(T284, X555))
part87_in_aaaa(T316, [], [], []) → part87_out_aaaa(T316, [], [], [])
U22_aa(T230, T231, X452, part87_out_aaaa(T230, T231, X448, X449)) → qs80_out_aa(.(T230, T231), X452)
qs80_in_aa(.(T237, T231), X452) → U23_aa(T237, T231, X452, part87_in_aaaa(T237, T231, T235, T236))
U23_aa(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U24_aa(T237, T231, X452, qs80_in_aa(T235, X450))
qs80_in_aa(.(T325, T231), X452) → U27_aa(T325, T231, X452, part87_in_aaaa(T325, T231, T235, T236))
U27_aa(T325, T231, X452, part87_out_aaaa(T325, T231, T235, T236)) → U28_aa(T325, T231, X452, T236, qs80_in_aa(T235, T319))
qs80_in_aa([], []) → qs80_out_aa([], [])
U28_aa(T325, T231, X452, T236, qs80_out_aa(T235, T319)) → U29_aa(T325, T231, X452, T319, qs80_in_aa(T236, T324))
U29_aa(T325, T231, X452, T319, qs80_out_aa(T236, T324)) → U30_aa(T325, T231, X452, app121_in_aaaa(T319, T325, T324, X452))
app121_in_aaaa(.(T348, T349), T352, T353, .(T348, X657)) → U31_aaaa(T348, T349, T352, T353, X657, app121_in_aaaa(T349, T352, T353, X657))
app121_in_aaaa([], T362, T363, .(T362, T363)) → app121_out_aaaa([], T362, T363, .(T362, T363))
U31_aaaa(T348, T349, T352, T353, X657, app121_out_aaaa(T349, T352, T353, X657)) → app121_out_aaaa(.(T348, T349), T352, T353, .(T348, X657))
U30_aa(T325, T231, X452, app121_out_aaaa(T319, T325, T324, X452)) → qs80_out_aa(.(T325, T231), X452)
U24_aa(T237, T231, X452, qs80_out_aa(T235, X450)) → qs80_out_aa(.(T237, T231), X452)
U23_aa(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U25_aa(T237, T231, X452, T236, qs80_in_aa(T235, T319))
U25_aa(T237, T231, X452, T236, qs80_out_aa(T235, T319)) → U26_aa(T237, T231, X452, qs80_in_aa(T236, X451))
U26_aa(T237, T231, X452, qs80_out_aa(T236, X451)) → qs80_out_aa(.(T237, T231), X452)
U33_aaagg(T54, X10, T131, T31, T8, qs80_out_aa(T54, X10)) → p52_out_aaagg(T54, X10, T131, T31, T8)
p52_in_aaagg(T54, T217, T131, T31, T8) → U34_aaagg(T54, T217, T131, T31, T8, qs80_in_aa(T54, T217))
U34_aaagg(T54, T217, T131, T31, T8, qs80_out_aa(T54, T217)) → U35_aaagg(T54, T217, T131, T31, T8, app81_in_agag(T131, T31, T217, T8))
app81_in_agag(.(T389, T390), T391, T394, .(T389, T393)) → U32_agag(T389, T390, T391, T394, T393, app81_in_agag(T390, T391, T394, T393))
app81_in_agag([], T404, T405, .(T404, T405)) → app81_out_agag([], T404, T405, .(T404, T405))
U32_agag(T389, T390, T391, T394, T393, app81_out_agag(T390, T391, T394, T393)) → app81_out_agag(.(T389, T390), T391, T394, .(T389, T393))
U35_aaagg(T54, T217, T131, T31, T8, app81_out_agag(T131, T31, T217, T8)) → p52_out_aaagg(T54, T217, T131, T31, T8)
U50_ag(T31, T33, T32, T8, p52_out_aaagg(T54, X10, T131, T31, T8)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
qs1_in_ag(.(T421, .(T422, T423)), T8) → U51_ag(T421, T422, T423, T8, le100_in_aa(T421, T422))
U51_ag(T421, T422, T423, T8, le100_out_aa(T421, T422)) → qs1_out_ag(.(T421, .(T422, T423)), T8)
qs1_in_ag(.(T426, .(T428, T427)), T8) → U52_ag(T426, T428, T427, T8, le100_in_aa(T426, T428))
U52_ag(T426, T428, T427, T8, le100_out_aa(T426, T428)) → U53_ag(T426, T428, T427, T8, part20_in_gaaa(T426, T427, X740, X741))
U53_ag(T426, T428, T427, T8, part20_out_gaaa(T426, T427, X740, X741)) → qs1_out_ag(.(T426, .(T428, T427)), T8)
qs1_in_ag(.(T426, .(T436, T427)), T8) → U54_ag(T426, T436, T427, T8, le100_in_aa(T426, T436))
U54_ag(T426, T436, T427, T8, le100_out_aa(T426, T436)) → U55_ag(T426, T436, T427, T8, part20_in_gaaa(T426, T427, T434, T435))
U55_ag(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U56_ag(T426, T436, T427, T8, qs80_in_aa(T434, X9))
U56_ag(T426, T436, T427, T8, qs80_out_aa(T434, X9)) → qs1_out_ag(.(T426, .(T436, T427)), T8)
U55_ag(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U57_ag(T426, T436, T427, T8, T435, qs80_in_aa(T434, T442))
U57_ag(T426, T436, T427, T8, T435, qs80_out_aa(T434, T442)) → U58_ag(T426, T436, T427, T8, p52_in_aaagg(.(T436, T435), X10, T442, T426, T8))
U58_ag(T426, T436, T427, T8, p52_out_aaagg(.(T436, T435), X10, T442, T426, T8)) → qs1_out_ag(.(T426, .(T436, T427)), T8)
qs1_in_ag(.(T452, []), T8) → U59_ag(T452, T8, qs155_in_a(X9))
qs155_in_a([]) → qs155_out_a([])
U59_ag(T452, T8, qs155_out_a(X9)) → qs1_out_ag(.(T452, []), T8)
qs1_in_ag(.(T452, []), T8) → U60_ag(T452, T8, qs155_in_a(T455))
U60_ag(T452, T8, qs155_out_a(T455)) → U61_ag(T452, T8, qs155_in_a(X10))
U61_ag(T452, T8, qs155_out_a(X10)) → qs1_out_ag(.(T452, []), T8)
U60_ag(T452, T8, qs155_out_a(T455)) → U62_ag(T452, T8, T455, qs155_in_a(T460))
U62_ag(T452, T8, T455, qs155_out_a(T460)) → U63_ag(T452, T8, app162_in_gagg(T455, T452, T460, T8))
app162_in_gagg(.(T486, T487), T491, T489, .(T486, T490)) → U36_gagg(T486, T487, T491, T489, T490, app162_in_gagg(T487, T491, T489, T490))
app162_in_gagg([], T501, T502, .(T501, T502)) → app162_out_gagg([], T501, T502, .(T501, T502))
U36_gagg(T486, T487, T491, T489, T490, app162_out_gagg(T487, T491, T489, T490)) → app162_out_gagg(.(T486, T487), T491, T489, .(T486, T490))
U63_ag(T452, T8, app162_out_gagg(T455, T452, T460, T8)) → qs1_out_ag(.(T452, []), T8)
qs1_in_ag([], []) → qs1_out_ag([], [])

The argument filtering Pi contains the following mapping:
qs1_in_ag(x1, x2)  =  qs1_in_ag(x2)
U44_ag(x1, x2, x3, x4, x5)  =  U44_ag(x5)
gt10_in_aa(x1, x2)  =  gt10_in_aa
U1_aa(x1, x2, x3)  =  U1_aa(x3)
gt10_out_aa(x1, x2)  =  gt10_out_aa(x1, x2)
qs1_out_ag(x1, x2)  =  qs1_out_ag
U45_ag(x1, x2, x3, x4, x5)  =  U45_ag(x4, x5)
U46_ag(x1, x2, x3, x4, x5)  =  U46_ag(x5)
part20_in_gaaa(x1, x2, x3, x4)  =  part20_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x6)
gt10_in_ga(x1, x2)  =  gt10_in_ga(x1)
s(x1)  =  s(x1)
U1_ga(x1, x2, x3)  =  U1_ga(x3)
0  =  0
gt10_out_ga(x1, x2)  =  gt10_out_ga(x2)
part20_out_gaaa(x1, x2, x3, x4)  =  part20_out_gaaa
U3_gaaa(x1, x2, x3, x4, x5, x6)  =  U3_gaaa(x1, x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x6)
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x6)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U8_ga(x1, x2, x3)  =  U8_ga(x3)
le33_out_ga(x1, x2)  =  le33_out_ga
U6_gaaa(x1, x2, x3, x4, x5, x6)  =  U6_gaaa(x1, x6)
U7_gaaa(x1, x2, x3, x4, x5, x6)  =  U7_gaaa(x6)
U47_ag(x1, x2, x3, x4, x5)  =  U47_ag(x1, x2, x4, x5)
U48_ag(x1, x2, x3, x4, x5)  =  U48_ag(x5)
qs51_in_gaa(x1, x2, x3)  =  qs51_in_gaa(x1)
U37_gaa(x1, x2, x3, x4)  =  U37_gaa(x4)
p56_in_gaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_in_gaaaaaa(x1)
U9_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_gaaaaaa(x8)
p56_out_gaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_out_gaaaaaa
U10_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_gaaaaaa(x8)
U11_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_gaaaaaa(x8)
qs59_in_aa(x1, x2)  =  qs59_in_aa
U19_aa(x1, x2, x3, x4)  =  U19_aa(x4)
p56_in_aaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_in_aaaaaaa
U9_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_aaaaaaa(x8)
part20_in_aaaa(x1, x2, x3, x4)  =  part20_in_aaaa
U2_aaaa(x1, x2, x3, x4, x5, x6)  =  U2_aaaa(x6)
part20_out_aaaa(x1, x2, x3, x4)  =  part20_out_aaaa
U3_aaaa(x1, x2, x3, x4, x5, x6)  =  U3_aaaa(x6)
U4_aaaa(x1, x2, x3, x4, x5, x6)  =  U4_aaaa(x6)
U5_aaaa(x1, x2, x3, x4, x5, x6)  =  U5_aaaa(x6)
le33_in_aa(x1, x2)  =  le33_in_aa
U8_aa(x1, x2, x3)  =  U8_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
U6_aaaa(x1, x2, x3, x4, x5, x6)  =  U6_aaaa(x6)
U7_aaaa(x1, x2, x3, x4, x5, x6)  =  U7_aaaa(x6)
p56_out_aaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_out_aaaaaaa
U10_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_aaaaaaa(x8)
U11_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_aaaaaaa(x8)
qs59_out_aa(x1, x2)  =  qs59_out_aa
U12_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_aaaaaaa(x8)
U13_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_aaaaaaa(x8)
U14_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_aaaaaaa(x8)
U15_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_aaaaaaa(x8)
U16_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_aaaaaaa(x8)
U17_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_aaaaaaa(x8)
U18_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_aaaaaaa(x8)
.(x1, x2)  =  .(x1, x2)
[]  =  []
app70_in_aaaa(x1, x2, x3, x4)  =  app70_in_aaaa
U20_aaaa(x1, x2, x3, x4, x5, x6)  =  U20_aaaa(x6)
app70_out_aaaa(x1, x2, x3, x4)  =  app70_out_aaaa
U12_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_gaaaaaa(x8)
U13_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_gaaaaaa(x8)
U14_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_gaaaaaa(x8)
U15_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_gaaaaaa(x1, x8)
U16_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_gaaaaaa(x1, x8)
U17_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_gaaaaaa(x1, x8)
U18_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_gaaaaaa(x8)
app70_in_agaa(x1, x2, x3, x4)  =  app70_in_agaa(x2)
U20_agaa(x1, x2, x3, x4, x5, x6)  =  U20_agaa(x6)
app70_out_agaa(x1, x2, x3, x4)  =  app70_out_agaa
qs51_out_gaa(x1, x2, x3)  =  qs51_out_gaa
U49_ag(x1, x2, x3, x4, x5, x6)  =  U49_ag(x1, x4, x6)
U50_ag(x1, x2, x3, x4, x5)  =  U50_ag(x5)
p52_in_aaagg(x1, x2, x3, x4, x5)  =  p52_in_aaagg(x4, x5)
U33_aaagg(x1, x2, x3, x4, x5, x6)  =  U33_aaagg(x6)
qs80_in_aa(x1, x2)  =  qs80_in_aa
U22_aa(x1, x2, x3, x4)  =  U22_aa(x4)
part87_in_aaaa(x1, x2, x3, x4)  =  part87_in_aaaa
U38_aaaa(x1, x2, x3, x4, x5, x6)  =  U38_aaaa(x6)
part87_out_aaaa(x1, x2, x3, x4)  =  part87_out_aaaa
U39_aaaa(x1, x2, x3, x4, x5, x6)  =  U39_aaaa(x6)
U40_aaaa(x1, x2, x3, x4, x5, x6)  =  U40_aaaa(x6)
U41_aaaa(x1, x2, x3, x4, x5, x6)  =  U41_aaaa(x6)
le100_in_aa(x1, x2)  =  le100_in_aa
U21_aa(x1, x2, x3)  =  U21_aa(x3)
le100_out_aa(x1, x2)  =  le100_out_aa(x1)
U42_aaaa(x1, x2, x3, x4, x5, x6)  =  U42_aaaa(x6)
U43_aaaa(x1, x2, x3, x4, x5, x6)  =  U43_aaaa(x6)
qs80_out_aa(x1, x2)  =  qs80_out_aa
U23_aa(x1, x2, x3, x4)  =  U23_aa(x4)
U24_aa(x1, x2, x3, x4)  =  U24_aa(x4)
U27_aa(x1, x2, x3, x4)  =  U27_aa(x4)
U28_aa(x1, x2, x3, x4, x5)  =  U28_aa(x5)
U29_aa(x1, x2, x3, x4, x5)  =  U29_aa(x5)
U30_aa(x1, x2, x3, x4)  =  U30_aa(x4)
app121_in_aaaa(x1, x2, x3, x4)  =  app121_in_aaaa
U31_aaaa(x1, x2, x3, x4, x5, x6)  =  U31_aaaa(x6)
app121_out_aaaa(x1, x2, x3, x4)  =  app121_out_aaaa
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
U26_aa(x1, x2, x3, x4)  =  U26_aa(x4)
p52_out_aaagg(x1, x2, x3, x4, x5)  =  p52_out_aaagg
U34_aaagg(x1, x2, x3, x4, x5, x6)  =  U34_aaagg(x4, x5, x6)
U35_aaagg(x1, x2, x3, x4, x5, x6)  =  U35_aaagg(x6)
app81_in_agag(x1, x2, x3, x4)  =  app81_in_agag(x2, x4)
U32_agag(x1, x2, x3, x4, x5, x6)  =  U32_agag(x1, x6)
app81_out_agag(x1, x2, x3, x4)  =  app81_out_agag(x1, x3)
U51_ag(x1, x2, x3, x4, x5)  =  U51_ag(x5)
U52_ag(x1, x2, x3, x4, x5)  =  U52_ag(x5)
U53_ag(x1, x2, x3, x4, x5)  =  U53_ag(x5)
U54_ag(x1, x2, x3, x4, x5)  =  U54_ag(x4, x5)
U55_ag(x1, x2, x3, x4, x5)  =  U55_ag(x1, x4, x5)
U56_ag(x1, x2, x3, x4, x5)  =  U56_ag(x5)
U57_ag(x1, x2, x3, x4, x5, x6)  =  U57_ag(x1, x4, x6)
U58_ag(x1, x2, x3, x4, x5)  =  U58_ag(x5)
U59_ag(x1, x2, x3)  =  U59_ag(x3)
qs155_in_a(x1)  =  qs155_in_a
qs155_out_a(x1)  =  qs155_out_a(x1)
U60_ag(x1, x2, x3)  =  U60_ag(x2, x3)
U61_ag(x1, x2, x3)  =  U61_ag(x3)
U62_ag(x1, x2, x3, x4)  =  U62_ag(x2, x3, x4)
U63_ag(x1, x2, x3)  =  U63_ag(x3)
app162_in_gagg(x1, x2, x3, x4)  =  app162_in_gagg(x1, x3, x4)
U36_gagg(x1, x2, x3, x4, x5, x6)  =  U36_gagg(x6)
app162_out_gagg(x1, x2, x3, x4)  =  app162_out_gagg(x2)
QS1_IN_AG(x1, x2)  =  QS1_IN_AG(x2)
U44_AG(x1, x2, x3, x4, x5)  =  U44_AG(x5)
GT10_IN_AA(x1, x2)  =  GT10_IN_AA
U1_AA(x1, x2, x3)  =  U1_AA(x3)
U45_AG(x1, x2, x3, x4, x5)  =  U45_AG(x4, x5)
U46_AG(x1, x2, x3, x4, x5)  =  U46_AG(x5)
PART20_IN_GAAA(x1, x2, x3, x4)  =  PART20_IN_GAAA(x1)
U2_GAAA(x1, x2, x3, x4, x5, x6)  =  U2_GAAA(x6)
GT10_IN_GA(x1, x2)  =  GT10_IN_GA(x1)
U1_GA(x1, x2, x3)  =  U1_GA(x3)
U3_GAAA(x1, x2, x3, x4, x5, x6)  =  U3_GAAA(x1, x6)
U4_GAAA(x1, x2, x3, x4, x5, x6)  =  U4_GAAA(x6)
U5_GAAA(x1, x2, x3, x4, x5, x6)  =  U5_GAAA(x6)
LE33_IN_GA(x1, x2)  =  LE33_IN_GA(x1)
U8_GA(x1, x2, x3)  =  U8_GA(x3)
U6_GAAA(x1, x2, x3, x4, x5, x6)  =  U6_GAAA(x1, x6)
U7_GAAA(x1, x2, x3, x4, x5, x6)  =  U7_GAAA(x6)
U47_AG(x1, x2, x3, x4, x5)  =  U47_AG(x1, x2, x4, x5)
U48_AG(x1, x2, x3, x4, x5)  =  U48_AG(x5)
QS51_IN_GAA(x1, x2, x3)  =  QS51_IN_GAA(x1)
U37_GAA(x1, x2, x3, x4)  =  U37_GAA(x4)
P56_IN_GAAAAAA(x1, x2, x3, x4, x5, x6, x7)  =  P56_IN_GAAAAAA(x1)
U9_GAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_GAAAAAA(x8)
U10_GAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_GAAAAAA(x8)
U11_GAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_GAAAAAA(x8)
QS59_IN_AA(x1, x2)  =  QS59_IN_AA
U19_AA(x1, x2, x3, x4)  =  U19_AA(x4)
P56_IN_AAAAAAA(x1, x2, x3, x4, x5, x6, x7)  =  P56_IN_AAAAAAA
U9_AAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_AAAAAAA(x8)
PART20_IN_AAAA(x1, x2, x3, x4)  =  PART20_IN_AAAA
U2_AAAA(x1, x2, x3, x4, x5, x6)  =  U2_AAAA(x6)
U3_AAAA(x1, x2, x3, x4, x5, x6)  =  U3_AAAA(x6)
U4_AAAA(x1, x2, x3, x4, x5, x6)  =  U4_AAAA(x6)
U5_AAAA(x1, x2, x3, x4, x5, x6)  =  U5_AAAA(x6)
LE33_IN_AA(x1, x2)  =  LE33_IN_AA
U8_AA(x1, x2, x3)  =  U8_AA(x3)
U6_AAAA(x1, x2, x3, x4, x5, x6)  =  U6_AAAA(x6)
U7_AAAA(x1, x2, x3, x4, x5, x6)  =  U7_AAAA(x6)
U10_AAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_AAAAAAA(x8)
U11_AAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_AAAAAAA(x8)
U12_AAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_AAAAAAA(x8)
U13_AAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_AAAAAAA(x8)
U14_AAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_AAAAAAA(x8)
U15_AAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_AAAAAAA(x8)
U16_AAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_AAAAAAA(x8)
U17_AAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_AAAAAAA(x8)
U18_AAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_AAAAAAA(x8)
APP70_IN_AAAA(x1, x2, x3, x4)  =  APP70_IN_AAAA
U20_AAAA(x1, x2, x3, x4, x5, x6)  =  U20_AAAA(x6)
U12_GAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_GAAAAAA(x8)
U13_GAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_GAAAAAA(x8)
U14_GAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_GAAAAAA(x8)
U15_GAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_GAAAAAA(x1, x8)
U16_GAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_GAAAAAA(x1, x8)
U17_GAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_GAAAAAA(x1, x8)
U18_GAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_GAAAAAA(x8)
APP70_IN_AGAA(x1, x2, x3, x4)  =  APP70_IN_AGAA(x2)
U20_AGAA(x1, x2, x3, x4, x5, x6)  =  U20_AGAA(x6)
U49_AG(x1, x2, x3, x4, x5, x6)  =  U49_AG(x1, x4, x6)
U50_AG(x1, x2, x3, x4, x5)  =  U50_AG(x5)
P52_IN_AAAGG(x1, x2, x3, x4, x5)  =  P52_IN_AAAGG(x4, x5)
U33_AAAGG(x1, x2, x3, x4, x5, x6)  =  U33_AAAGG(x6)
QS80_IN_AA(x1, x2)  =  QS80_IN_AA
U22_AA(x1, x2, x3, x4)  =  U22_AA(x4)
PART87_IN_AAAA(x1, x2, x3, x4)  =  PART87_IN_AAAA
U38_AAAA(x1, x2, x3, x4, x5, x6)  =  U38_AAAA(x6)
U39_AAAA(x1, x2, x3, x4, x5, x6)  =  U39_AAAA(x6)
U40_AAAA(x1, x2, x3, x4, x5, x6)  =  U40_AAAA(x6)
U41_AAAA(x1, x2, x3, x4, x5, x6)  =  U41_AAAA(x6)
LE100_IN_AA(x1, x2)  =  LE100_IN_AA
U21_AA(x1, x2, x3)  =  U21_AA(x3)
U42_AAAA(x1, x2, x3, x4, x5, x6)  =  U42_AAAA(x6)
U43_AAAA(x1, x2, x3, x4, x5, x6)  =  U43_AAAA(x6)
U23_AA(x1, x2, x3, x4)  =  U23_AA(x4)
U24_AA(x1, x2, x3, x4)  =  U24_AA(x4)
U27_AA(x1, x2, x3, x4)  =  U27_AA(x4)
U28_AA(x1, x2, x3, x4, x5)  =  U28_AA(x5)
U29_AA(x1, x2, x3, x4, x5)  =  U29_AA(x5)
U30_AA(x1, x2, x3, x4)  =  U30_AA(x4)
APP121_IN_AAAA(x1, x2, x3, x4)  =  APP121_IN_AAAA
U31_AAAA(x1, x2, x3, x4, x5, x6)  =  U31_AAAA(x6)
U25_AA(x1, x2, x3, x4, x5)  =  U25_AA(x5)
U26_AA(x1, x2, x3, x4)  =  U26_AA(x4)
U34_AAAGG(x1, x2, x3, x4, x5, x6)  =  U34_AAAGG(x4, x5, x6)
U35_AAAGG(x1, x2, x3, x4, x5, x6)  =  U35_AAAGG(x6)
APP81_IN_AGAG(x1, x2, x3, x4)  =  APP81_IN_AGAG(x2, x4)
U32_AGAG(x1, x2, x3, x4, x5, x6)  =  U32_AGAG(x1, x6)
U51_AG(x1, x2, x3, x4, x5)  =  U51_AG(x5)
U52_AG(x1, x2, x3, x4, x5)  =  U52_AG(x5)
U53_AG(x1, x2, x3, x4, x5)  =  U53_AG(x5)
U54_AG(x1, x2, x3, x4, x5)  =  U54_AG(x4, x5)
U55_AG(x1, x2, x3, x4, x5)  =  U55_AG(x1, x4, x5)
U56_AG(x1, x2, x3, x4, x5)  =  U56_AG(x5)
U57_AG(x1, x2, x3, x4, x5, x6)  =  U57_AG(x1, x4, x6)
U58_AG(x1, x2, x3, x4, x5)  =  U58_AG(x5)
U59_AG(x1, x2, x3)  =  U59_AG(x3)
QS155_IN_A(x1)  =  QS155_IN_A
U60_AG(x1, x2, x3)  =  U60_AG(x2, x3)
U61_AG(x1, x2, x3)  =  U61_AG(x3)
U62_AG(x1, x2, x3, x4)  =  U62_AG(x2, x3, x4)
U63_AG(x1, x2, x3)  =  U63_AG(x3)
APP162_IN_GAGG(x1, x2, x3, x4)  =  APP162_IN_GAGG(x1, x3, x4)
U36_GAGG(x1, x2, x3, x4, x5, x6)  =  U36_GAGG(x6)

We have to consider all (P,R,Pi)-chains

(139) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

QS1_IN_AG(.(T26, .(T27, T28)), T8) → U44_AG(T26, T27, T28, T8, gt10_in_aa(T26, T27))
QS1_IN_AG(.(T26, .(T27, T28)), T8) → GT10_IN_AA(T26, T27)
GT10_IN_AA(s(T46), s(T47)) → U1_AA(T46, T47, gt10_in_aa(T46, T47))
GT10_IN_AA(s(T46), s(T47)) → GT10_IN_AA(T46, T47)
QS1_IN_AG(.(T31, .(T33, T32)), T8) → U45_AG(T31, T33, T32, T8, gt10_in_aa(T31, T33))
U45_AG(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U46_AG(T31, T33, T32, T8, part20_in_gaaa(T31, T32, X47, X48))
U45_AG(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → PART20_IN_GAAA(T31, T32, X47, X48)
PART20_IN_GAAA(T70, .(T73, T74), .(T73, X119), X120) → U2_GAAA(T70, T73, T74, X119, X120, gt10_in_ga(T70, T73))
PART20_IN_GAAA(T70, .(T73, T74), .(T73, X119), X120) → GT10_IN_GA(T70, T73)
GT10_IN_GA(s(T46), s(T47)) → U1_GA(T46, T47, gt10_in_ga(T46, T47))
GT10_IN_GA(s(T46), s(T47)) → GT10_IN_GA(T46, T47)
PART20_IN_GAAA(T70, .(T73, T77), .(T73, X119), X120) → U3_GAAA(T70, T73, T77, X119, X120, gt10_in_ga(T70, T73))
U3_GAAA(T70, T73, T77, X119, X120, gt10_out_ga(T70, T73)) → U4_GAAA(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
U3_GAAA(T70, T73, T77, X119, X120, gt10_out_ga(T70, T73)) → PART20_IN_GAAA(T70, T77, X119, X120)
PART20_IN_GAAA(T95, .(T98, T99), X170, .(T98, X171)) → U5_GAAA(T95, T98, T99, X170, X171, le33_in_ga(T95, T98))
PART20_IN_GAAA(T95, .(T98, T99), X170, .(T98, X171)) → LE33_IN_GA(T95, T98)
LE33_IN_GA(s(T113), s(T115)) → U8_GA(T113, T115, le33_in_ga(T113, T115))
LE33_IN_GA(s(T113), s(T115)) → LE33_IN_GA(T113, T115)
PART20_IN_GAAA(T95, .(T98, T102), X170, .(T98, X171)) → U6_GAAA(T95, T98, T102, X170, X171, le33_in_ga(T95, T98))
U6_GAAA(T95, T98, T102, X170, X171, le33_out_ga(T95, T98)) → U7_GAAA(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
U6_GAAA(T95, T98, T102, X170, X171, le33_out_ga(T95, T98)) → PART20_IN_GAAA(T95, T102, X170, X171)
U45_AG(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U47_AG(T31, T33, T32, T8, part20_in_gaaa(T31, T32, T53, T54))
U47_AG(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U48_AG(T31, T33, T32, T8, qs51_in_gaa(T33, T53, X9))
U47_AG(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → QS51_IN_GAA(T33, T53, X9)
QS51_IN_GAA(T148, T149, X273) → U37_GAA(T148, T149, X273, p56_in_gaaaaaa(T148, T149, X269, X270, X271, X272, X273))
QS51_IN_GAA(T148, T149, X273) → P56_IN_GAAAAAA(T148, T149, X269, X270, X271, X272, X273)
P56_IN_GAAAAAA(T148, T149, X269, X270, X271, X272, X273) → U9_GAAAAAA(T148, T149, X269, X270, X271, X272, X273, part20_in_gaaa(T148, T149, X269, X270))
P56_IN_GAAAAAA(T148, T149, X269, X270, X271, X272, X273) → PART20_IN_GAAA(T148, T149, X269, X270)
P56_IN_GAAAAAA(T148, T149, T153, T154, X271, X272, X273) → U10_GAAAAAA(T148, T149, T153, T154, X271, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U10_GAAAAAA(T148, T149, T153, T154, X271, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U11_GAAAAAA(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
U10_GAAAAAA(T148, T149, T153, T154, X271, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → QS59_IN_AA(T153, X271)
QS59_IN_AA(.(T171, T172), X335) → U19_AA(T171, T172, X335, p56_in_aaaaaaa(T171, T172, X331, X332, X333, X334, X335))
QS59_IN_AA(.(T171, T172), X335) → P56_IN_AAAAAAA(T171, T172, X331, X332, X333, X334, X335)
P56_IN_AAAAAAA(T148, T149, X269, X270, X271, X272, X273) → U9_AAAAAAA(T148, T149, X269, X270, X271, X272, X273, part20_in_aaaa(T148, T149, X269, X270))
P56_IN_AAAAAAA(T148, T149, X269, X270, X271, X272, X273) → PART20_IN_AAAA(T148, T149, X269, X270)
PART20_IN_AAAA(T70, .(T73, T74), .(T73, X119), X120) → U2_AAAA(T70, T73, T74, X119, X120, gt10_in_aa(T70, T73))
PART20_IN_AAAA(T70, .(T73, T74), .(T73, X119), X120) → GT10_IN_AA(T70, T73)
PART20_IN_AAAA(T70, .(T73, T77), .(T73, X119), X120) → U3_AAAA(T70, T73, T77, X119, X120, gt10_in_aa(T70, T73))
U3_AAAA(T70, T73, T77, X119, X120, gt10_out_aa(T70, T73)) → U4_AAAA(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
U3_AAAA(T70, T73, T77, X119, X120, gt10_out_aa(T70, T73)) → PART20_IN_GAAA(T70, T77, X119, X120)
PART20_IN_AAAA(T95, .(T98, T99), X170, .(T98, X171)) → U5_AAAA(T95, T98, T99, X170, X171, le33_in_aa(T95, T98))
PART20_IN_AAAA(T95, .(T98, T99), X170, .(T98, X171)) → LE33_IN_AA(T95, T98)
LE33_IN_AA(s(T113), s(T115)) → U8_AA(T113, T115, le33_in_aa(T113, T115))
LE33_IN_AA(s(T113), s(T115)) → LE33_IN_AA(T113, T115)
PART20_IN_AAAA(T95, .(T98, T102), X170, .(T98, X171)) → U6_AAAA(T95, T98, T102, X170, X171, le33_in_aa(T95, T98))
U6_AAAA(T95, T98, T102, X170, X171, le33_out_aa(T95, T98)) → U7_AAAA(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
U6_AAAA(T95, T98, T102, X170, X171, le33_out_aa(T95, T98)) → PART20_IN_GAAA(T95, T102, X170, X171)
P56_IN_AAAAAAA(T148, T149, T153, T154, X271, X272, X273) → U10_AAAAAAA(T148, T149, T153, T154, X271, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U10_AAAAAAA(T148, T149, T153, T154, X271, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U11_AAAAAAA(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
U10_AAAAAAA(T148, T149, T153, T154, X271, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → QS59_IN_AA(T153, X271)
P56_IN_AAAAAAA(T148, T149, T153, T154, T160, X272, X273) → U12_AAAAAAA(T148, T149, T153, T154, T160, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U12_AAAAAAA(T148, T149, T153, T154, T160, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U13_AAAAAAA(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U12_AAAAAAA(T148, T149, T153, T154, T160, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → QS59_IN_AA(T153, T160)
U13_AAAAAAA(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_AAAAAAA(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U13_AAAAAAA(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → QS59_IN_AA(T154, X272)
P56_IN_AAAAAAA(T148, T149, T153, T154, T160, T178, X273) → U15_AAAAAAA(T148, T149, T153, T154, T160, T178, X273, part20_in_aaaa(T148, T149, T153, T154))
U15_AAAAAAA(T148, T149, T153, T154, T160, T178, X273, part20_out_aaaa(T148, T149, T153, T154)) → U16_AAAAAAA(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U15_AAAAAAA(T148, T149, T153, T154, T160, T178, X273, part20_out_aaaa(T148, T149, T153, T154)) → QS59_IN_AA(T153, T160)
U16_AAAAAAA(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_AAAAAAA(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U16_AAAAAAA(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → QS59_IN_AA(T154, T178)
U17_AAAAAAA(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_AAAAAAA(T148, T149, T153, T154, T160, T178, X273, app70_in_aaaa(T160, T148, T178, X273))
U17_AAAAAAA(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → APP70_IN_AAAA(T160, T148, T178, X273)
APP70_IN_AAAA(.(T201, T202), T203, T204, .(T201, X391)) → U20_AAAA(T201, T202, T203, T204, X391, app70_in_aaaa(T202, T203, T204, X391))
APP70_IN_AAAA(.(T201, T202), T203, T204, .(T201, X391)) → APP70_IN_AAAA(T202, T203, T204, X391)
P56_IN_GAAAAAA(T148, T149, T153, T154, T160, X272, X273) → U12_GAAAAAA(T148, T149, T153, T154, T160, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U12_GAAAAAA(T148, T149, T153, T154, T160, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U13_GAAAAAA(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U12_GAAAAAA(T148, T149, T153, T154, T160, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → QS59_IN_AA(T153, T160)
U13_GAAAAAA(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_GAAAAAA(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U13_GAAAAAA(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → QS59_IN_AA(T154, X272)
P56_IN_GAAAAAA(T148, T149, T153, T154, T160, T178, X273) → U15_GAAAAAA(T148, T149, T153, T154, T160, T178, X273, part20_in_gaaa(T148, T149, T153, T154))
U15_GAAAAAA(T148, T149, T153, T154, T160, T178, X273, part20_out_gaaa(T148, T149, T153, T154)) → U16_GAAAAAA(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U15_GAAAAAA(T148, T149, T153, T154, T160, T178, X273, part20_out_gaaa(T148, T149, T153, T154)) → QS59_IN_AA(T153, T160)
U16_GAAAAAA(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_GAAAAAA(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U16_GAAAAAA(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → QS59_IN_AA(T154, T178)
U17_GAAAAAA(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_GAAAAAA(T148, T149, T153, T154, T160, T178, X273, app70_in_agaa(T160, T148, T178, X273))
U17_GAAAAAA(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → APP70_IN_AGAA(T160, T148, T178, X273)
APP70_IN_AGAA(.(T201, T202), T203, T204, .(T201, X391)) → U20_AGAA(T201, T202, T203, T204, X391, app70_in_agaa(T202, T203, T204, X391))
APP70_IN_AGAA(.(T201, T202), T203, T204, .(T201, X391)) → APP70_IN_AGAA(T202, T203, T204, X391)
U47_AG(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U49_AG(T31, T33, T32, T8, T54, qs51_in_gaa(T33, T53, T131))
U49_AG(T31, T33, T32, T8, T54, qs51_out_gaa(T33, T53, T131)) → U50_AG(T31, T33, T32, T8, p52_in_aaagg(T54, X10, T131, T31, T8))
U49_AG(T31, T33, T32, T8, T54, qs51_out_gaa(T33, T53, T131)) → P52_IN_AAAGG(T54, X10, T131, T31, T8)
P52_IN_AAAGG(T54, X10, T131, T31, T8) → U33_AAAGG(T54, X10, T131, T31, T8, qs80_in_aa(T54, X10))
P52_IN_AAAGG(T54, X10, T131, T31, T8) → QS80_IN_AA(T54, X10)
QS80_IN_AA(.(T230, T231), X452) → U22_AA(T230, T231, X452, part87_in_aaaa(T230, T231, X448, X449))
QS80_IN_AA(.(T230, T231), X452) → PART87_IN_AAAA(T230, T231, X448, X449)
PART87_IN_AAAA(T256, .(T257, T258), .(T257, X503), X504) → U38_AAAA(T256, T257, T258, X503, X504, gt10_in_aa(T256, T257))
PART87_IN_AAAA(T256, .(T257, T258), .(T257, X503), X504) → GT10_IN_AA(T256, T257)
PART87_IN_AAAA(T261, .(T257, T262), .(T257, X503), X504) → U39_AAAA(T261, T257, T262, X503, X504, gt10_in_aa(T261, T257))
U39_AAAA(T261, T257, T262, X503, X504, gt10_out_aa(T261, T257)) → U40_AAAA(T261, T257, T262, X503, X504, part20_in_gaaa(T261, T262, X503, X504))
U39_AAAA(T261, T257, T262, X503, X504, gt10_out_aa(T261, T257)) → PART20_IN_GAAA(T261, T262, X503, X504)
PART87_IN_AAAA(T283, .(T284, T285), X554, .(T284, X555)) → U41_AAAA(T283, T284, T285, X554, X555, le100_in_aa(T283, T284))
PART87_IN_AAAA(T283, .(T284, T285), X554, .(T284, X555)) → LE100_IN_AA(T283, T284)
LE100_IN_AA(s(T302), s(T303)) → U21_AA(T302, T303, le100_in_aa(T302, T303))
LE100_IN_AA(s(T302), s(T303)) → LE100_IN_AA(T302, T303)
PART87_IN_AAAA(T288, .(T284, T289), X554, .(T284, X555)) → U42_AAAA(T288, T284, T289, X554, X555, le100_in_aa(T288, T284))
U42_AAAA(T288, T284, T289, X554, X555, le100_out_aa(T288, T284)) → U43_AAAA(T288, T284, T289, X554, X555, part20_in_gaaa(T288, T289, X554, X555))
U42_AAAA(T288, T284, T289, X554, X555, le100_out_aa(T288, T284)) → PART20_IN_GAAA(T288, T289, X554, X555)
QS80_IN_AA(.(T237, T231), X452) → U23_AA(T237, T231, X452, part87_in_aaaa(T237, T231, T235, T236))
U23_AA(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U24_AA(T237, T231, X452, qs80_in_aa(T235, X450))
U23_AA(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → QS80_IN_AA(T235, X450)
QS80_IN_AA(.(T325, T231), X452) → U27_AA(T325, T231, X452, part87_in_aaaa(T325, T231, T235, T236))
U27_AA(T325, T231, X452, part87_out_aaaa(T325, T231, T235, T236)) → U28_AA(T325, T231, X452, T236, qs80_in_aa(T235, T319))
U27_AA(T325, T231, X452, part87_out_aaaa(T325, T231, T235, T236)) → QS80_IN_AA(T235, T319)
U28_AA(T325, T231, X452, T236, qs80_out_aa(T235, T319)) → U29_AA(T325, T231, X452, T319, qs80_in_aa(T236, T324))
U28_AA(T325, T231, X452, T236, qs80_out_aa(T235, T319)) → QS80_IN_AA(T236, T324)
U29_AA(T325, T231, X452, T319, qs80_out_aa(T236, T324)) → U30_AA(T325, T231, X452, app121_in_aaaa(T319, T325, T324, X452))
U29_AA(T325, T231, X452, T319, qs80_out_aa(T236, T324)) → APP121_IN_AAAA(T319, T325, T324, X452)
APP121_IN_AAAA(.(T348, T349), T352, T353, .(T348, X657)) → U31_AAAA(T348, T349, T352, T353, X657, app121_in_aaaa(T349, T352, T353, X657))
APP121_IN_AAAA(.(T348, T349), T352, T353, .(T348, X657)) → APP121_IN_AAAA(T349, T352, T353, X657)
U23_AA(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U25_AA(T237, T231, X452, T236, qs80_in_aa(T235, T319))
U25_AA(T237, T231, X452, T236, qs80_out_aa(T235, T319)) → U26_AA(T237, T231, X452, qs80_in_aa(T236, X451))
U25_AA(T237, T231, X452, T236, qs80_out_aa(T235, T319)) → QS80_IN_AA(T236, X451)
P52_IN_AAAGG(T54, T217, T131, T31, T8) → U34_AAAGG(T54, T217, T131, T31, T8, qs80_in_aa(T54, T217))
U34_AAAGG(T54, T217, T131, T31, T8, qs80_out_aa(T54, T217)) → U35_AAAGG(T54, T217, T131, T31, T8, app81_in_agag(T131, T31, T217, T8))
U34_AAAGG(T54, T217, T131, T31, T8, qs80_out_aa(T54, T217)) → APP81_IN_AGAG(T131, T31, T217, T8)
APP81_IN_AGAG(.(T389, T390), T391, T394, .(T389, T393)) → U32_AGAG(T389, T390, T391, T394, T393, app81_in_agag(T390, T391, T394, T393))
APP81_IN_AGAG(.(T389, T390), T391, T394, .(T389, T393)) → APP81_IN_AGAG(T390, T391, T394, T393)
QS1_IN_AG(.(T421, .(T422, T423)), T8) → U51_AG(T421, T422, T423, T8, le100_in_aa(T421, T422))
QS1_IN_AG(.(T421, .(T422, T423)), T8) → LE100_IN_AA(T421, T422)
QS1_IN_AG(.(T426, .(T428, T427)), T8) → U52_AG(T426, T428, T427, T8, le100_in_aa(T426, T428))
U52_AG(T426, T428, T427, T8, le100_out_aa(T426, T428)) → U53_AG(T426, T428, T427, T8, part20_in_gaaa(T426, T427, X740, X741))
U52_AG(T426, T428, T427, T8, le100_out_aa(T426, T428)) → PART20_IN_GAAA(T426, T427, X740, X741)
QS1_IN_AG(.(T426, .(T436, T427)), T8) → U54_AG(T426, T436, T427, T8, le100_in_aa(T426, T436))
U54_AG(T426, T436, T427, T8, le100_out_aa(T426, T436)) → U55_AG(T426, T436, T427, T8, part20_in_gaaa(T426, T427, T434, T435))
U54_AG(T426, T436, T427, T8, le100_out_aa(T426, T436)) → PART20_IN_GAAA(T426, T427, T434, T435)
U55_AG(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U56_AG(T426, T436, T427, T8, qs80_in_aa(T434, X9))
U55_AG(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → QS80_IN_AA(T434, X9)
U55_AG(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U57_AG(T426, T436, T427, T8, T435, qs80_in_aa(T434, T442))
U57_AG(T426, T436, T427, T8, T435, qs80_out_aa(T434, T442)) → U58_AG(T426, T436, T427, T8, p52_in_aaagg(.(T436, T435), X10, T442, T426, T8))
U57_AG(T426, T436, T427, T8, T435, qs80_out_aa(T434, T442)) → P52_IN_AAAGG(.(T436, T435), X10, T442, T426, T8)
QS1_IN_AG(.(T452, []), T8) → U59_AG(T452, T8, qs155_in_a(X9))
QS1_IN_AG(.(T452, []), T8) → QS155_IN_A(X9)
QS1_IN_AG(.(T452, []), T8) → U60_AG(T452, T8, qs155_in_a(T455))
U60_AG(T452, T8, qs155_out_a(T455)) → U61_AG(T452, T8, qs155_in_a(X10))
U60_AG(T452, T8, qs155_out_a(T455)) → QS155_IN_A(X10)
U60_AG(T452, T8, qs155_out_a(T455)) → U62_AG(T452, T8, T455, qs155_in_a(T460))
U62_AG(T452, T8, T455, qs155_out_a(T460)) → U63_AG(T452, T8, app162_in_gagg(T455, T452, T460, T8))
U62_AG(T452, T8, T455, qs155_out_a(T460)) → APP162_IN_GAGG(T455, T452, T460, T8)
APP162_IN_GAGG(.(T486, T487), T491, T489, .(T486, T490)) → U36_GAGG(T486, T487, T491, T489, T490, app162_in_gagg(T487, T491, T489, T490))
APP162_IN_GAGG(.(T486, T487), T491, T489, .(T486, T490)) → APP162_IN_GAGG(T487, T491, T489, T490)

The TRS R consists of the following rules:

qs1_in_ag(.(T26, .(T27, T28)), T8) → U44_ag(T26, T27, T28, T8, gt10_in_aa(T26, T27))
gt10_in_aa(s(T46), s(T47)) → U1_aa(T46, T47, gt10_in_aa(T46, T47))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U1_aa(T46, T47, gt10_out_aa(T46, T47)) → gt10_out_aa(s(T46), s(T47))
U44_ag(T26, T27, T28, T8, gt10_out_aa(T26, T27)) → qs1_out_ag(.(T26, .(T27, T28)), T8)
qs1_in_ag(.(T31, .(T33, T32)), T8) → U45_ag(T31, T33, T32, T8, gt10_in_aa(T31, T33))
U45_ag(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U46_ag(T31, T33, T32, T8, part20_in_gaaa(T31, T32, X47, X48))
part20_in_gaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_gaaa(T70, T73, T74, X119, X120, gt10_in_ga(T70, T73))
gt10_in_ga(s(T46), s(T47)) → U1_ga(T46, T47, gt10_in_ga(T46, T47))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U1_ga(T46, T47, gt10_out_ga(T46, T47)) → gt10_out_ga(s(T46), s(T47))
U2_gaaa(T70, T73, T74, X119, X120, gt10_out_ga(T70, T73)) → part20_out_gaaa(T70, .(T73, T74), .(T73, X119), X120)
part20_in_gaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_gaaa(T70, T73, T77, X119, X120, gt10_in_ga(T70, T73))
U3_gaaa(T70, T73, T77, X119, X120, gt10_out_ga(T70, T73)) → U4_gaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
part20_in_gaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_gaaa(T95, T98, T99, X170, X171, le33_in_ga(T95, T98))
le33_in_ga(s(T113), s(T115)) → U8_ga(T113, T115, le33_in_ga(T113, T115))
le33_in_ga(0, s(T122)) → le33_out_ga(0, s(T122))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U8_ga(T113, T115, le33_out_ga(T113, T115)) → le33_out_ga(s(T113), s(T115))
U5_gaaa(T95, T98, T99, X170, X171, le33_out_ga(T95, T98)) → part20_out_gaaa(T95, .(T98, T99), X170, .(T98, X171))
part20_in_gaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_gaaa(T95, T98, T102, X170, X171, le33_in_ga(T95, T98))
U6_gaaa(T95, T98, T102, X170, X171, le33_out_ga(T95, T98)) → U7_gaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
part20_in_gaaa(T128, [], [], []) → part20_out_gaaa(T128, [], [], [])
U7_gaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_gaaa(T95, .(T98, T102), X170, .(T98, X171))
U4_gaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_gaaa(T70, .(T73, T77), .(T73, X119), X120)
U46_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, X47, X48)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
U45_ag(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U47_ag(T31, T33, T32, T8, part20_in_gaaa(T31, T32, T53, T54))
U47_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U48_ag(T31, T33, T32, T8, qs51_in_gaa(T33, T53, X9))
qs51_in_gaa(T148, T149, X273) → U37_gaa(T148, T149, X273, p56_in_gaaaaaa(T148, T149, X269, X270, X271, X272, X273))
p56_in_gaaaaaa(T148, T149, X269, X270, X271, X272, X273) → U9_gaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_in_gaaa(T148, T149, X269, X270))
U9_gaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_out_gaaa(T148, T149, X269, X270)) → p56_out_gaaaaaa(T148, T149, X269, X270, X271, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, X271, X272, X273) → U10_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U10_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U11_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
qs59_in_aa(.(T171, T172), X335) → U19_aa(T171, T172, X335, p56_in_aaaaaaa(T171, T172, X331, X332, X333, X334, X335))
p56_in_aaaaaaa(T148, T149, X269, X270, X271, X272, X273) → U9_aaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_in_aaaa(T148, T149, X269, X270))
part20_in_aaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_aaaa(T70, T73, T74, X119, X120, gt10_in_aa(T70, T73))
U2_aaaa(T70, T73, T74, X119, X120, gt10_out_aa(T70, T73)) → part20_out_aaaa(T70, .(T73, T74), .(T73, X119), X120)
part20_in_aaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_aaaa(T70, T73, T77, X119, X120, gt10_in_aa(T70, T73))
U3_aaaa(T70, T73, T77, X119, X120, gt10_out_aa(T70, T73)) → U4_aaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
U4_aaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_aaaa(T70, .(T73, T77), .(T73, X119), X120)
part20_in_aaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_aaaa(T95, T98, T99, X170, X171, le33_in_aa(T95, T98))
le33_in_aa(s(T113), s(T115)) → U8_aa(T113, T115, le33_in_aa(T113, T115))
le33_in_aa(0, s(T122)) → le33_out_aa(0, s(T122))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U8_aa(T113, T115, le33_out_aa(T113, T115)) → le33_out_aa(s(T113), s(T115))
U5_aaaa(T95, T98, T99, X170, X171, le33_out_aa(T95, T98)) → part20_out_aaaa(T95, .(T98, T99), X170, .(T98, X171))
part20_in_aaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_aaaa(T95, T98, T102, X170, X171, le33_in_aa(T95, T98))
U6_aaaa(T95, T98, T102, X170, X171, le33_out_aa(T95, T98)) → U7_aaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
U7_aaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_aaaa(T95, .(T98, T102), X170, .(T98, X171))
part20_in_aaaa(T128, [], [], []) → part20_out_aaaa(T128, [], [], [])
U9_aaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_out_aaaa(T148, T149, X269, X270)) → p56_out_aaaaaaa(T148, T149, X269, X270, X271, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, X271, X272, X273) → U10_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U10_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U11_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
qs59_in_aa([], []) → qs59_out_aa([], [])
U11_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_out_aa(T153, X271)) → p56_out_aaaaaaa(T148, T149, T153, T154, X271, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, T160, X272, X273) → U12_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U12_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U13_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U13_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U14_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T154, X272)) → p56_out_aaaaaaa(T148, T149, T153, T154, T160, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, T160, T178, X273) → U15_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_in_aaaa(T148, T149, T153, T154))
U15_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_out_aaaa(T148, T149, T153, T154)) → U16_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U16_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U17_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_in_aaaa(T160, T148, T178, X273))
app70_in_aaaa(.(T201, T202), T203, T204, .(T201, X391)) → U20_aaaa(T201, T202, T203, T204, X391, app70_in_aaaa(T202, T203, T204, X391))
app70_in_aaaa([], T213, T214, .(T213, T214)) → app70_out_aaaa([], T213, T214, .(T213, T214))
U20_aaaa(T201, T202, T203, T204, X391, app70_out_aaaa(T202, T203, T204, X391)) → app70_out_aaaa(.(T201, T202), T203, T204, .(T201, X391))
U18_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_out_aaaa(T160, T148, T178, X273)) → p56_out_aaaaaaa(T148, T149, T153, T154, T160, T178, X273)
U19_aa(T171, T172, X335, p56_out_aaaaaaa(T171, T172, X331, X332, X333, X334, X335)) → qs59_out_aa(.(T171, T172), X335)
U11_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_out_aa(T153, X271)) → p56_out_gaaaaaa(T148, T149, T153, T154, X271, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, T160, X272, X273) → U12_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U12_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U13_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U13_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U14_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T154, X272)) → p56_out_gaaaaaa(T148, T149, T153, T154, T160, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, T160, T178, X273) → U15_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_in_gaaa(T148, T149, T153, T154))
U15_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_out_gaaa(T148, T149, T153, T154)) → U16_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U16_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U17_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_in_agaa(T160, T148, T178, X273))
app70_in_agaa(.(T201, T202), T203, T204, .(T201, X391)) → U20_agaa(T201, T202, T203, T204, X391, app70_in_agaa(T202, T203, T204, X391))
app70_in_agaa([], T213, T214, .(T213, T214)) → app70_out_agaa([], T213, T214, .(T213, T214))
U20_agaa(T201, T202, T203, T204, X391, app70_out_agaa(T202, T203, T204, X391)) → app70_out_agaa(.(T201, T202), T203, T204, .(T201, X391))
U18_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_out_agaa(T160, T148, T178, X273)) → p56_out_gaaaaaa(T148, T149, T153, T154, T160, T178, X273)
U37_gaa(T148, T149, X273, p56_out_gaaaaaa(T148, T149, X269, X270, X271, X272, X273)) → qs51_out_gaa(T148, T149, X273)
U48_ag(T31, T33, T32, T8, qs51_out_gaa(T33, T53, X9)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
U47_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U49_ag(T31, T33, T32, T8, T54, qs51_in_gaa(T33, T53, T131))
U49_ag(T31, T33, T32, T8, T54, qs51_out_gaa(T33, T53, T131)) → U50_ag(T31, T33, T32, T8, p52_in_aaagg(T54, X10, T131, T31, T8))
p52_in_aaagg(T54, X10, T131, T31, T8) → U33_aaagg(T54, X10, T131, T31, T8, qs80_in_aa(T54, X10))
qs80_in_aa(.(T230, T231), X452) → U22_aa(T230, T231, X452, part87_in_aaaa(T230, T231, X448, X449))
part87_in_aaaa(T256, .(T257, T258), .(T257, X503), X504) → U38_aaaa(T256, T257, T258, X503, X504, gt10_in_aa(T256, T257))
U38_aaaa(T256, T257, T258, X503, X504, gt10_out_aa(T256, T257)) → part87_out_aaaa(T256, .(T257, T258), .(T257, X503), X504)
part87_in_aaaa(T261, .(T257, T262), .(T257, X503), X504) → U39_aaaa(T261, T257, T262, X503, X504, gt10_in_aa(T261, T257))
U39_aaaa(T261, T257, T262, X503, X504, gt10_out_aa(T261, T257)) → U40_aaaa(T261, T257, T262, X503, X504, part20_in_gaaa(T261, T262, X503, X504))
U40_aaaa(T261, T257, T262, X503, X504, part20_out_gaaa(T261, T262, X503, X504)) → part87_out_aaaa(T261, .(T257, T262), .(T257, X503), X504)
part87_in_aaaa(T283, .(T284, T285), X554, .(T284, X555)) → U41_aaaa(T283, T284, T285, X554, X555, le100_in_aa(T283, T284))
le100_in_aa(s(T302), s(T303)) → U21_aa(T302, T303, le100_in_aa(T302, T303))
le100_in_aa(0, s(T310)) → le100_out_aa(0, s(T310))
le100_in_aa(0, 0) → le100_out_aa(0, 0)
U21_aa(T302, T303, le100_out_aa(T302, T303)) → le100_out_aa(s(T302), s(T303))
U41_aaaa(T283, T284, T285, X554, X555, le100_out_aa(T283, T284)) → part87_out_aaaa(T283, .(T284, T285), X554, .(T284, X555))
part87_in_aaaa(T288, .(T284, T289), X554, .(T284, X555)) → U42_aaaa(T288, T284, T289, X554, X555, le100_in_aa(T288, T284))
U42_aaaa(T288, T284, T289, X554, X555, le100_out_aa(T288, T284)) → U43_aaaa(T288, T284, T289, X554, X555, part20_in_gaaa(T288, T289, X554, X555))
U43_aaaa(T288, T284, T289, X554, X555, part20_out_gaaa(T288, T289, X554, X555)) → part87_out_aaaa(T288, .(T284, T289), X554, .(T284, X555))
part87_in_aaaa(T316, [], [], []) → part87_out_aaaa(T316, [], [], [])
U22_aa(T230, T231, X452, part87_out_aaaa(T230, T231, X448, X449)) → qs80_out_aa(.(T230, T231), X452)
qs80_in_aa(.(T237, T231), X452) → U23_aa(T237, T231, X452, part87_in_aaaa(T237, T231, T235, T236))
U23_aa(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U24_aa(T237, T231, X452, qs80_in_aa(T235, X450))
qs80_in_aa(.(T325, T231), X452) → U27_aa(T325, T231, X452, part87_in_aaaa(T325, T231, T235, T236))
U27_aa(T325, T231, X452, part87_out_aaaa(T325, T231, T235, T236)) → U28_aa(T325, T231, X452, T236, qs80_in_aa(T235, T319))
qs80_in_aa([], []) → qs80_out_aa([], [])
U28_aa(T325, T231, X452, T236, qs80_out_aa(T235, T319)) → U29_aa(T325, T231, X452, T319, qs80_in_aa(T236, T324))
U29_aa(T325, T231, X452, T319, qs80_out_aa(T236, T324)) → U30_aa(T325, T231, X452, app121_in_aaaa(T319, T325, T324, X452))
app121_in_aaaa(.(T348, T349), T352, T353, .(T348, X657)) → U31_aaaa(T348, T349, T352, T353, X657, app121_in_aaaa(T349, T352, T353, X657))
app121_in_aaaa([], T362, T363, .(T362, T363)) → app121_out_aaaa([], T362, T363, .(T362, T363))
U31_aaaa(T348, T349, T352, T353, X657, app121_out_aaaa(T349, T352, T353, X657)) → app121_out_aaaa(.(T348, T349), T352, T353, .(T348, X657))
U30_aa(T325, T231, X452, app121_out_aaaa(T319, T325, T324, X452)) → qs80_out_aa(.(T325, T231), X452)
U24_aa(T237, T231, X452, qs80_out_aa(T235, X450)) → qs80_out_aa(.(T237, T231), X452)
U23_aa(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U25_aa(T237, T231, X452, T236, qs80_in_aa(T235, T319))
U25_aa(T237, T231, X452, T236, qs80_out_aa(T235, T319)) → U26_aa(T237, T231, X452, qs80_in_aa(T236, X451))
U26_aa(T237, T231, X452, qs80_out_aa(T236, X451)) → qs80_out_aa(.(T237, T231), X452)
U33_aaagg(T54, X10, T131, T31, T8, qs80_out_aa(T54, X10)) → p52_out_aaagg(T54, X10, T131, T31, T8)
p52_in_aaagg(T54, T217, T131, T31, T8) → U34_aaagg(T54, T217, T131, T31, T8, qs80_in_aa(T54, T217))
U34_aaagg(T54, T217, T131, T31, T8, qs80_out_aa(T54, T217)) → U35_aaagg(T54, T217, T131, T31, T8, app81_in_agag(T131, T31, T217, T8))
app81_in_agag(.(T389, T390), T391, T394, .(T389, T393)) → U32_agag(T389, T390, T391, T394, T393, app81_in_agag(T390, T391, T394, T393))
app81_in_agag([], T404, T405, .(T404, T405)) → app81_out_agag([], T404, T405, .(T404, T405))
U32_agag(T389, T390, T391, T394, T393, app81_out_agag(T390, T391, T394, T393)) → app81_out_agag(.(T389, T390), T391, T394, .(T389, T393))
U35_aaagg(T54, T217, T131, T31, T8, app81_out_agag(T131, T31, T217, T8)) → p52_out_aaagg(T54, T217, T131, T31, T8)
U50_ag(T31, T33, T32, T8, p52_out_aaagg(T54, X10, T131, T31, T8)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
qs1_in_ag(.(T421, .(T422, T423)), T8) → U51_ag(T421, T422, T423, T8, le100_in_aa(T421, T422))
U51_ag(T421, T422, T423, T8, le100_out_aa(T421, T422)) → qs1_out_ag(.(T421, .(T422, T423)), T8)
qs1_in_ag(.(T426, .(T428, T427)), T8) → U52_ag(T426, T428, T427, T8, le100_in_aa(T426, T428))
U52_ag(T426, T428, T427, T8, le100_out_aa(T426, T428)) → U53_ag(T426, T428, T427, T8, part20_in_gaaa(T426, T427, X740, X741))
U53_ag(T426, T428, T427, T8, part20_out_gaaa(T426, T427, X740, X741)) → qs1_out_ag(.(T426, .(T428, T427)), T8)
qs1_in_ag(.(T426, .(T436, T427)), T8) → U54_ag(T426, T436, T427, T8, le100_in_aa(T426, T436))
U54_ag(T426, T436, T427, T8, le100_out_aa(T426, T436)) → U55_ag(T426, T436, T427, T8, part20_in_gaaa(T426, T427, T434, T435))
U55_ag(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U56_ag(T426, T436, T427, T8, qs80_in_aa(T434, X9))
U56_ag(T426, T436, T427, T8, qs80_out_aa(T434, X9)) → qs1_out_ag(.(T426, .(T436, T427)), T8)
U55_ag(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U57_ag(T426, T436, T427, T8, T435, qs80_in_aa(T434, T442))
U57_ag(T426, T436, T427, T8, T435, qs80_out_aa(T434, T442)) → U58_ag(T426, T436, T427, T8, p52_in_aaagg(.(T436, T435), X10, T442, T426, T8))
U58_ag(T426, T436, T427, T8, p52_out_aaagg(.(T436, T435), X10, T442, T426, T8)) → qs1_out_ag(.(T426, .(T436, T427)), T8)
qs1_in_ag(.(T452, []), T8) → U59_ag(T452, T8, qs155_in_a(X9))
qs155_in_a([]) → qs155_out_a([])
U59_ag(T452, T8, qs155_out_a(X9)) → qs1_out_ag(.(T452, []), T8)
qs1_in_ag(.(T452, []), T8) → U60_ag(T452, T8, qs155_in_a(T455))
U60_ag(T452, T8, qs155_out_a(T455)) → U61_ag(T452, T8, qs155_in_a(X10))
U61_ag(T452, T8, qs155_out_a(X10)) → qs1_out_ag(.(T452, []), T8)
U60_ag(T452, T8, qs155_out_a(T455)) → U62_ag(T452, T8, T455, qs155_in_a(T460))
U62_ag(T452, T8, T455, qs155_out_a(T460)) → U63_ag(T452, T8, app162_in_gagg(T455, T452, T460, T8))
app162_in_gagg(.(T486, T487), T491, T489, .(T486, T490)) → U36_gagg(T486, T487, T491, T489, T490, app162_in_gagg(T487, T491, T489, T490))
app162_in_gagg([], T501, T502, .(T501, T502)) → app162_out_gagg([], T501, T502, .(T501, T502))
U36_gagg(T486, T487, T491, T489, T490, app162_out_gagg(T487, T491, T489, T490)) → app162_out_gagg(.(T486, T487), T491, T489, .(T486, T490))
U63_ag(T452, T8, app162_out_gagg(T455, T452, T460, T8)) → qs1_out_ag(.(T452, []), T8)
qs1_in_ag([], []) → qs1_out_ag([], [])

The argument filtering Pi contains the following mapping:
qs1_in_ag(x1, x2)  =  qs1_in_ag(x2)
U44_ag(x1, x2, x3, x4, x5)  =  U44_ag(x5)
gt10_in_aa(x1, x2)  =  gt10_in_aa
U1_aa(x1, x2, x3)  =  U1_aa(x3)
gt10_out_aa(x1, x2)  =  gt10_out_aa(x1, x2)
qs1_out_ag(x1, x2)  =  qs1_out_ag
U45_ag(x1, x2, x3, x4, x5)  =  U45_ag(x4, x5)
U46_ag(x1, x2, x3, x4, x5)  =  U46_ag(x5)
part20_in_gaaa(x1, x2, x3, x4)  =  part20_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x6)
gt10_in_ga(x1, x2)  =  gt10_in_ga(x1)
s(x1)  =  s(x1)
U1_ga(x1, x2, x3)  =  U1_ga(x3)
0  =  0
gt10_out_ga(x1, x2)  =  gt10_out_ga(x2)
part20_out_gaaa(x1, x2, x3, x4)  =  part20_out_gaaa
U3_gaaa(x1, x2, x3, x4, x5, x6)  =  U3_gaaa(x1, x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x6)
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x6)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U8_ga(x1, x2, x3)  =  U8_ga(x3)
le33_out_ga(x1, x2)  =  le33_out_ga
U6_gaaa(x1, x2, x3, x4, x5, x6)  =  U6_gaaa(x1, x6)
U7_gaaa(x1, x2, x3, x4, x5, x6)  =  U7_gaaa(x6)
U47_ag(x1, x2, x3, x4, x5)  =  U47_ag(x1, x2, x4, x5)
U48_ag(x1, x2, x3, x4, x5)  =  U48_ag(x5)
qs51_in_gaa(x1, x2, x3)  =  qs51_in_gaa(x1)
U37_gaa(x1, x2, x3, x4)  =  U37_gaa(x4)
p56_in_gaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_in_gaaaaaa(x1)
U9_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_gaaaaaa(x8)
p56_out_gaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_out_gaaaaaa
U10_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_gaaaaaa(x8)
U11_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_gaaaaaa(x8)
qs59_in_aa(x1, x2)  =  qs59_in_aa
U19_aa(x1, x2, x3, x4)  =  U19_aa(x4)
p56_in_aaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_in_aaaaaaa
U9_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_aaaaaaa(x8)
part20_in_aaaa(x1, x2, x3, x4)  =  part20_in_aaaa
U2_aaaa(x1, x2, x3, x4, x5, x6)  =  U2_aaaa(x6)
part20_out_aaaa(x1, x2, x3, x4)  =  part20_out_aaaa
U3_aaaa(x1, x2, x3, x4, x5, x6)  =  U3_aaaa(x6)
U4_aaaa(x1, x2, x3, x4, x5, x6)  =  U4_aaaa(x6)
U5_aaaa(x1, x2, x3, x4, x5, x6)  =  U5_aaaa(x6)
le33_in_aa(x1, x2)  =  le33_in_aa
U8_aa(x1, x2, x3)  =  U8_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
U6_aaaa(x1, x2, x3, x4, x5, x6)  =  U6_aaaa(x6)
U7_aaaa(x1, x2, x3, x4, x5, x6)  =  U7_aaaa(x6)
p56_out_aaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_out_aaaaaaa
U10_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_aaaaaaa(x8)
U11_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_aaaaaaa(x8)
qs59_out_aa(x1, x2)  =  qs59_out_aa
U12_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_aaaaaaa(x8)
U13_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_aaaaaaa(x8)
U14_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_aaaaaaa(x8)
U15_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_aaaaaaa(x8)
U16_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_aaaaaaa(x8)
U17_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_aaaaaaa(x8)
U18_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_aaaaaaa(x8)
.(x1, x2)  =  .(x1, x2)
[]  =  []
app70_in_aaaa(x1, x2, x3, x4)  =  app70_in_aaaa
U20_aaaa(x1, x2, x3, x4, x5, x6)  =  U20_aaaa(x6)
app70_out_aaaa(x1, x2, x3, x4)  =  app70_out_aaaa
U12_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_gaaaaaa(x8)
U13_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_gaaaaaa(x8)
U14_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_gaaaaaa(x8)
U15_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_gaaaaaa(x1, x8)
U16_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_gaaaaaa(x1, x8)
U17_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_gaaaaaa(x1, x8)
U18_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_gaaaaaa(x8)
app70_in_agaa(x1, x2, x3, x4)  =  app70_in_agaa(x2)
U20_agaa(x1, x2, x3, x4, x5, x6)  =  U20_agaa(x6)
app70_out_agaa(x1, x2, x3, x4)  =  app70_out_agaa
qs51_out_gaa(x1, x2, x3)  =  qs51_out_gaa
U49_ag(x1, x2, x3, x4, x5, x6)  =  U49_ag(x1, x4, x6)
U50_ag(x1, x2, x3, x4, x5)  =  U50_ag(x5)
p52_in_aaagg(x1, x2, x3, x4, x5)  =  p52_in_aaagg(x4, x5)
U33_aaagg(x1, x2, x3, x4, x5, x6)  =  U33_aaagg(x6)
qs80_in_aa(x1, x2)  =  qs80_in_aa
U22_aa(x1, x2, x3, x4)  =  U22_aa(x4)
part87_in_aaaa(x1, x2, x3, x4)  =  part87_in_aaaa
U38_aaaa(x1, x2, x3, x4, x5, x6)  =  U38_aaaa(x6)
part87_out_aaaa(x1, x2, x3, x4)  =  part87_out_aaaa
U39_aaaa(x1, x2, x3, x4, x5, x6)  =  U39_aaaa(x6)
U40_aaaa(x1, x2, x3, x4, x5, x6)  =  U40_aaaa(x6)
U41_aaaa(x1, x2, x3, x4, x5, x6)  =  U41_aaaa(x6)
le100_in_aa(x1, x2)  =  le100_in_aa
U21_aa(x1, x2, x3)  =  U21_aa(x3)
le100_out_aa(x1, x2)  =  le100_out_aa(x1)
U42_aaaa(x1, x2, x3, x4, x5, x6)  =  U42_aaaa(x6)
U43_aaaa(x1, x2, x3, x4, x5, x6)  =  U43_aaaa(x6)
qs80_out_aa(x1, x2)  =  qs80_out_aa
U23_aa(x1, x2, x3, x4)  =  U23_aa(x4)
U24_aa(x1, x2, x3, x4)  =  U24_aa(x4)
U27_aa(x1, x2, x3, x4)  =  U27_aa(x4)
U28_aa(x1, x2, x3, x4, x5)  =  U28_aa(x5)
U29_aa(x1, x2, x3, x4, x5)  =  U29_aa(x5)
U30_aa(x1, x2, x3, x4)  =  U30_aa(x4)
app121_in_aaaa(x1, x2, x3, x4)  =  app121_in_aaaa
U31_aaaa(x1, x2, x3, x4, x5, x6)  =  U31_aaaa(x6)
app121_out_aaaa(x1, x2, x3, x4)  =  app121_out_aaaa
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
U26_aa(x1, x2, x3, x4)  =  U26_aa(x4)
p52_out_aaagg(x1, x2, x3, x4, x5)  =  p52_out_aaagg
U34_aaagg(x1, x2, x3, x4, x5, x6)  =  U34_aaagg(x4, x5, x6)
U35_aaagg(x1, x2, x3, x4, x5, x6)  =  U35_aaagg(x6)
app81_in_agag(x1, x2, x3, x4)  =  app81_in_agag(x2, x4)
U32_agag(x1, x2, x3, x4, x5, x6)  =  U32_agag(x1, x6)
app81_out_agag(x1, x2, x3, x4)  =  app81_out_agag(x1, x3)
U51_ag(x1, x2, x3, x4, x5)  =  U51_ag(x5)
U52_ag(x1, x2, x3, x4, x5)  =  U52_ag(x5)
U53_ag(x1, x2, x3, x4, x5)  =  U53_ag(x5)
U54_ag(x1, x2, x3, x4, x5)  =  U54_ag(x4, x5)
U55_ag(x1, x2, x3, x4, x5)  =  U55_ag(x1, x4, x5)
U56_ag(x1, x2, x3, x4, x5)  =  U56_ag(x5)
U57_ag(x1, x2, x3, x4, x5, x6)  =  U57_ag(x1, x4, x6)
U58_ag(x1, x2, x3, x4, x5)  =  U58_ag(x5)
U59_ag(x1, x2, x3)  =  U59_ag(x3)
qs155_in_a(x1)  =  qs155_in_a
qs155_out_a(x1)  =  qs155_out_a(x1)
U60_ag(x1, x2, x3)  =  U60_ag(x2, x3)
U61_ag(x1, x2, x3)  =  U61_ag(x3)
U62_ag(x1, x2, x3, x4)  =  U62_ag(x2, x3, x4)
U63_ag(x1, x2, x3)  =  U63_ag(x3)
app162_in_gagg(x1, x2, x3, x4)  =  app162_in_gagg(x1, x3, x4)
U36_gagg(x1, x2, x3, x4, x5, x6)  =  U36_gagg(x6)
app162_out_gagg(x1, x2, x3, x4)  =  app162_out_gagg(x2)
QS1_IN_AG(x1, x2)  =  QS1_IN_AG(x2)
U44_AG(x1, x2, x3, x4, x5)  =  U44_AG(x5)
GT10_IN_AA(x1, x2)  =  GT10_IN_AA
U1_AA(x1, x2, x3)  =  U1_AA(x3)
U45_AG(x1, x2, x3, x4, x5)  =  U45_AG(x4, x5)
U46_AG(x1, x2, x3, x4, x5)  =  U46_AG(x5)
PART20_IN_GAAA(x1, x2, x3, x4)  =  PART20_IN_GAAA(x1)
U2_GAAA(x1, x2, x3, x4, x5, x6)  =  U2_GAAA(x6)
GT10_IN_GA(x1, x2)  =  GT10_IN_GA(x1)
U1_GA(x1, x2, x3)  =  U1_GA(x3)
U3_GAAA(x1, x2, x3, x4, x5, x6)  =  U3_GAAA(x1, x6)
U4_GAAA(x1, x2, x3, x4, x5, x6)  =  U4_GAAA(x6)
U5_GAAA(x1, x2, x3, x4, x5, x6)  =  U5_GAAA(x6)
LE33_IN_GA(x1, x2)  =  LE33_IN_GA(x1)
U8_GA(x1, x2, x3)  =  U8_GA(x3)
U6_GAAA(x1, x2, x3, x4, x5, x6)  =  U6_GAAA(x1, x6)
U7_GAAA(x1, x2, x3, x4, x5, x6)  =  U7_GAAA(x6)
U47_AG(x1, x2, x3, x4, x5)  =  U47_AG(x1, x2, x4, x5)
U48_AG(x1, x2, x3, x4, x5)  =  U48_AG(x5)
QS51_IN_GAA(x1, x2, x3)  =  QS51_IN_GAA(x1)
U37_GAA(x1, x2, x3, x4)  =  U37_GAA(x4)
P56_IN_GAAAAAA(x1, x2, x3, x4, x5, x6, x7)  =  P56_IN_GAAAAAA(x1)
U9_GAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_GAAAAAA(x8)
U10_GAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_GAAAAAA(x8)
U11_GAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_GAAAAAA(x8)
QS59_IN_AA(x1, x2)  =  QS59_IN_AA
U19_AA(x1, x2, x3, x4)  =  U19_AA(x4)
P56_IN_AAAAAAA(x1, x2, x3, x4, x5, x6, x7)  =  P56_IN_AAAAAAA
U9_AAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_AAAAAAA(x8)
PART20_IN_AAAA(x1, x2, x3, x4)  =  PART20_IN_AAAA
U2_AAAA(x1, x2, x3, x4, x5, x6)  =  U2_AAAA(x6)
U3_AAAA(x1, x2, x3, x4, x5, x6)  =  U3_AAAA(x6)
U4_AAAA(x1, x2, x3, x4, x5, x6)  =  U4_AAAA(x6)
U5_AAAA(x1, x2, x3, x4, x5, x6)  =  U5_AAAA(x6)
LE33_IN_AA(x1, x2)  =  LE33_IN_AA
U8_AA(x1, x2, x3)  =  U8_AA(x3)
U6_AAAA(x1, x2, x3, x4, x5, x6)  =  U6_AAAA(x6)
U7_AAAA(x1, x2, x3, x4, x5, x6)  =  U7_AAAA(x6)
U10_AAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_AAAAAAA(x8)
U11_AAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_AAAAAAA(x8)
U12_AAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_AAAAAAA(x8)
U13_AAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_AAAAAAA(x8)
U14_AAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_AAAAAAA(x8)
U15_AAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_AAAAAAA(x8)
U16_AAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_AAAAAAA(x8)
U17_AAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_AAAAAAA(x8)
U18_AAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_AAAAAAA(x8)
APP70_IN_AAAA(x1, x2, x3, x4)  =  APP70_IN_AAAA
U20_AAAA(x1, x2, x3, x4, x5, x6)  =  U20_AAAA(x6)
U12_GAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_GAAAAAA(x8)
U13_GAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_GAAAAAA(x8)
U14_GAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_GAAAAAA(x8)
U15_GAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_GAAAAAA(x1, x8)
U16_GAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_GAAAAAA(x1, x8)
U17_GAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_GAAAAAA(x1, x8)
U18_GAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_GAAAAAA(x8)
APP70_IN_AGAA(x1, x2, x3, x4)  =  APP70_IN_AGAA(x2)
U20_AGAA(x1, x2, x3, x4, x5, x6)  =  U20_AGAA(x6)
U49_AG(x1, x2, x3, x4, x5, x6)  =  U49_AG(x1, x4, x6)
U50_AG(x1, x2, x3, x4, x5)  =  U50_AG(x5)
P52_IN_AAAGG(x1, x2, x3, x4, x5)  =  P52_IN_AAAGG(x4, x5)
U33_AAAGG(x1, x2, x3, x4, x5, x6)  =  U33_AAAGG(x6)
QS80_IN_AA(x1, x2)  =  QS80_IN_AA
U22_AA(x1, x2, x3, x4)  =  U22_AA(x4)
PART87_IN_AAAA(x1, x2, x3, x4)  =  PART87_IN_AAAA
U38_AAAA(x1, x2, x3, x4, x5, x6)  =  U38_AAAA(x6)
U39_AAAA(x1, x2, x3, x4, x5, x6)  =  U39_AAAA(x6)
U40_AAAA(x1, x2, x3, x4, x5, x6)  =  U40_AAAA(x6)
U41_AAAA(x1, x2, x3, x4, x5, x6)  =  U41_AAAA(x6)
LE100_IN_AA(x1, x2)  =  LE100_IN_AA
U21_AA(x1, x2, x3)  =  U21_AA(x3)
U42_AAAA(x1, x2, x3, x4, x5, x6)  =  U42_AAAA(x6)
U43_AAAA(x1, x2, x3, x4, x5, x6)  =  U43_AAAA(x6)
U23_AA(x1, x2, x3, x4)  =  U23_AA(x4)
U24_AA(x1, x2, x3, x4)  =  U24_AA(x4)
U27_AA(x1, x2, x3, x4)  =  U27_AA(x4)
U28_AA(x1, x2, x3, x4, x5)  =  U28_AA(x5)
U29_AA(x1, x2, x3, x4, x5)  =  U29_AA(x5)
U30_AA(x1, x2, x3, x4)  =  U30_AA(x4)
APP121_IN_AAAA(x1, x2, x3, x4)  =  APP121_IN_AAAA
U31_AAAA(x1, x2, x3, x4, x5, x6)  =  U31_AAAA(x6)
U25_AA(x1, x2, x3, x4, x5)  =  U25_AA(x5)
U26_AA(x1, x2, x3, x4)  =  U26_AA(x4)
U34_AAAGG(x1, x2, x3, x4, x5, x6)  =  U34_AAAGG(x4, x5, x6)
U35_AAAGG(x1, x2, x3, x4, x5, x6)  =  U35_AAAGG(x6)
APP81_IN_AGAG(x1, x2, x3, x4)  =  APP81_IN_AGAG(x2, x4)
U32_AGAG(x1, x2, x3, x4, x5, x6)  =  U32_AGAG(x1, x6)
U51_AG(x1, x2, x3, x4, x5)  =  U51_AG(x5)
U52_AG(x1, x2, x3, x4, x5)  =  U52_AG(x5)
U53_AG(x1, x2, x3, x4, x5)  =  U53_AG(x5)
U54_AG(x1, x2, x3, x4, x5)  =  U54_AG(x4, x5)
U55_AG(x1, x2, x3, x4, x5)  =  U55_AG(x1, x4, x5)
U56_AG(x1, x2, x3, x4, x5)  =  U56_AG(x5)
U57_AG(x1, x2, x3, x4, x5, x6)  =  U57_AG(x1, x4, x6)
U58_AG(x1, x2, x3, x4, x5)  =  U58_AG(x5)
U59_AG(x1, x2, x3)  =  U59_AG(x3)
QS155_IN_A(x1)  =  QS155_IN_A
U60_AG(x1, x2, x3)  =  U60_AG(x2, x3)
U61_AG(x1, x2, x3)  =  U61_AG(x3)
U62_AG(x1, x2, x3, x4)  =  U62_AG(x2, x3, x4)
U63_AG(x1, x2, x3)  =  U63_AG(x3)
APP162_IN_GAGG(x1, x2, x3, x4)  =  APP162_IN_GAGG(x1, x3, x4)
U36_GAGG(x1, x2, x3, x4, x5, x6)  =  U36_GAGG(x6)

We have to consider all (P,R,Pi)-chains

(140) DependencyGraphProof (EQUIVALENT transformation)

The approximation of the Dependency Graph [LOPSTR] contains 13 SCCs with 107 less nodes.

(141) Complex Obligation (AND)

(142) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

APP162_IN_GAGG(.(T486, T487), T491, T489, .(T486, T490)) → APP162_IN_GAGG(T487, T491, T489, T490)

The TRS R consists of the following rules:

qs1_in_ag(.(T26, .(T27, T28)), T8) → U44_ag(T26, T27, T28, T8, gt10_in_aa(T26, T27))
gt10_in_aa(s(T46), s(T47)) → U1_aa(T46, T47, gt10_in_aa(T46, T47))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U1_aa(T46, T47, gt10_out_aa(T46, T47)) → gt10_out_aa(s(T46), s(T47))
U44_ag(T26, T27, T28, T8, gt10_out_aa(T26, T27)) → qs1_out_ag(.(T26, .(T27, T28)), T8)
qs1_in_ag(.(T31, .(T33, T32)), T8) → U45_ag(T31, T33, T32, T8, gt10_in_aa(T31, T33))
U45_ag(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U46_ag(T31, T33, T32, T8, part20_in_gaaa(T31, T32, X47, X48))
part20_in_gaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_gaaa(T70, T73, T74, X119, X120, gt10_in_ga(T70, T73))
gt10_in_ga(s(T46), s(T47)) → U1_ga(T46, T47, gt10_in_ga(T46, T47))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U1_ga(T46, T47, gt10_out_ga(T46, T47)) → gt10_out_ga(s(T46), s(T47))
U2_gaaa(T70, T73, T74, X119, X120, gt10_out_ga(T70, T73)) → part20_out_gaaa(T70, .(T73, T74), .(T73, X119), X120)
part20_in_gaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_gaaa(T70, T73, T77, X119, X120, gt10_in_ga(T70, T73))
U3_gaaa(T70, T73, T77, X119, X120, gt10_out_ga(T70, T73)) → U4_gaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
part20_in_gaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_gaaa(T95, T98, T99, X170, X171, le33_in_ga(T95, T98))
le33_in_ga(s(T113), s(T115)) → U8_ga(T113, T115, le33_in_ga(T113, T115))
le33_in_ga(0, s(T122)) → le33_out_ga(0, s(T122))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U8_ga(T113, T115, le33_out_ga(T113, T115)) → le33_out_ga(s(T113), s(T115))
U5_gaaa(T95, T98, T99, X170, X171, le33_out_ga(T95, T98)) → part20_out_gaaa(T95, .(T98, T99), X170, .(T98, X171))
part20_in_gaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_gaaa(T95, T98, T102, X170, X171, le33_in_ga(T95, T98))
U6_gaaa(T95, T98, T102, X170, X171, le33_out_ga(T95, T98)) → U7_gaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
part20_in_gaaa(T128, [], [], []) → part20_out_gaaa(T128, [], [], [])
U7_gaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_gaaa(T95, .(T98, T102), X170, .(T98, X171))
U4_gaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_gaaa(T70, .(T73, T77), .(T73, X119), X120)
U46_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, X47, X48)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
U45_ag(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U47_ag(T31, T33, T32, T8, part20_in_gaaa(T31, T32, T53, T54))
U47_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U48_ag(T31, T33, T32, T8, qs51_in_gaa(T33, T53, X9))
qs51_in_gaa(T148, T149, X273) → U37_gaa(T148, T149, X273, p56_in_gaaaaaa(T148, T149, X269, X270, X271, X272, X273))
p56_in_gaaaaaa(T148, T149, X269, X270, X271, X272, X273) → U9_gaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_in_gaaa(T148, T149, X269, X270))
U9_gaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_out_gaaa(T148, T149, X269, X270)) → p56_out_gaaaaaa(T148, T149, X269, X270, X271, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, X271, X272, X273) → U10_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U10_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U11_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
qs59_in_aa(.(T171, T172), X335) → U19_aa(T171, T172, X335, p56_in_aaaaaaa(T171, T172, X331, X332, X333, X334, X335))
p56_in_aaaaaaa(T148, T149, X269, X270, X271, X272, X273) → U9_aaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_in_aaaa(T148, T149, X269, X270))
part20_in_aaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_aaaa(T70, T73, T74, X119, X120, gt10_in_aa(T70, T73))
U2_aaaa(T70, T73, T74, X119, X120, gt10_out_aa(T70, T73)) → part20_out_aaaa(T70, .(T73, T74), .(T73, X119), X120)
part20_in_aaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_aaaa(T70, T73, T77, X119, X120, gt10_in_aa(T70, T73))
U3_aaaa(T70, T73, T77, X119, X120, gt10_out_aa(T70, T73)) → U4_aaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
U4_aaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_aaaa(T70, .(T73, T77), .(T73, X119), X120)
part20_in_aaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_aaaa(T95, T98, T99, X170, X171, le33_in_aa(T95, T98))
le33_in_aa(s(T113), s(T115)) → U8_aa(T113, T115, le33_in_aa(T113, T115))
le33_in_aa(0, s(T122)) → le33_out_aa(0, s(T122))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U8_aa(T113, T115, le33_out_aa(T113, T115)) → le33_out_aa(s(T113), s(T115))
U5_aaaa(T95, T98, T99, X170, X171, le33_out_aa(T95, T98)) → part20_out_aaaa(T95, .(T98, T99), X170, .(T98, X171))
part20_in_aaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_aaaa(T95, T98, T102, X170, X171, le33_in_aa(T95, T98))
U6_aaaa(T95, T98, T102, X170, X171, le33_out_aa(T95, T98)) → U7_aaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
U7_aaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_aaaa(T95, .(T98, T102), X170, .(T98, X171))
part20_in_aaaa(T128, [], [], []) → part20_out_aaaa(T128, [], [], [])
U9_aaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_out_aaaa(T148, T149, X269, X270)) → p56_out_aaaaaaa(T148, T149, X269, X270, X271, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, X271, X272, X273) → U10_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U10_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U11_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
qs59_in_aa([], []) → qs59_out_aa([], [])
U11_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_out_aa(T153, X271)) → p56_out_aaaaaaa(T148, T149, T153, T154, X271, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, T160, X272, X273) → U12_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U12_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U13_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U13_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U14_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T154, X272)) → p56_out_aaaaaaa(T148, T149, T153, T154, T160, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, T160, T178, X273) → U15_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_in_aaaa(T148, T149, T153, T154))
U15_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_out_aaaa(T148, T149, T153, T154)) → U16_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U16_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U17_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_in_aaaa(T160, T148, T178, X273))
app70_in_aaaa(.(T201, T202), T203, T204, .(T201, X391)) → U20_aaaa(T201, T202, T203, T204, X391, app70_in_aaaa(T202, T203, T204, X391))
app70_in_aaaa([], T213, T214, .(T213, T214)) → app70_out_aaaa([], T213, T214, .(T213, T214))
U20_aaaa(T201, T202, T203, T204, X391, app70_out_aaaa(T202, T203, T204, X391)) → app70_out_aaaa(.(T201, T202), T203, T204, .(T201, X391))
U18_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_out_aaaa(T160, T148, T178, X273)) → p56_out_aaaaaaa(T148, T149, T153, T154, T160, T178, X273)
U19_aa(T171, T172, X335, p56_out_aaaaaaa(T171, T172, X331, X332, X333, X334, X335)) → qs59_out_aa(.(T171, T172), X335)
U11_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_out_aa(T153, X271)) → p56_out_gaaaaaa(T148, T149, T153, T154, X271, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, T160, X272, X273) → U12_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U12_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U13_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U13_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U14_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T154, X272)) → p56_out_gaaaaaa(T148, T149, T153, T154, T160, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, T160, T178, X273) → U15_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_in_gaaa(T148, T149, T153, T154))
U15_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_out_gaaa(T148, T149, T153, T154)) → U16_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U16_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U17_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_in_agaa(T160, T148, T178, X273))
app70_in_agaa(.(T201, T202), T203, T204, .(T201, X391)) → U20_agaa(T201, T202, T203, T204, X391, app70_in_agaa(T202, T203, T204, X391))
app70_in_agaa([], T213, T214, .(T213, T214)) → app70_out_agaa([], T213, T214, .(T213, T214))
U20_agaa(T201, T202, T203, T204, X391, app70_out_agaa(T202, T203, T204, X391)) → app70_out_agaa(.(T201, T202), T203, T204, .(T201, X391))
U18_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_out_agaa(T160, T148, T178, X273)) → p56_out_gaaaaaa(T148, T149, T153, T154, T160, T178, X273)
U37_gaa(T148, T149, X273, p56_out_gaaaaaa(T148, T149, X269, X270, X271, X272, X273)) → qs51_out_gaa(T148, T149, X273)
U48_ag(T31, T33, T32, T8, qs51_out_gaa(T33, T53, X9)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
U47_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U49_ag(T31, T33, T32, T8, T54, qs51_in_gaa(T33, T53, T131))
U49_ag(T31, T33, T32, T8, T54, qs51_out_gaa(T33, T53, T131)) → U50_ag(T31, T33, T32, T8, p52_in_aaagg(T54, X10, T131, T31, T8))
p52_in_aaagg(T54, X10, T131, T31, T8) → U33_aaagg(T54, X10, T131, T31, T8, qs80_in_aa(T54, X10))
qs80_in_aa(.(T230, T231), X452) → U22_aa(T230, T231, X452, part87_in_aaaa(T230, T231, X448, X449))
part87_in_aaaa(T256, .(T257, T258), .(T257, X503), X504) → U38_aaaa(T256, T257, T258, X503, X504, gt10_in_aa(T256, T257))
U38_aaaa(T256, T257, T258, X503, X504, gt10_out_aa(T256, T257)) → part87_out_aaaa(T256, .(T257, T258), .(T257, X503), X504)
part87_in_aaaa(T261, .(T257, T262), .(T257, X503), X504) → U39_aaaa(T261, T257, T262, X503, X504, gt10_in_aa(T261, T257))
U39_aaaa(T261, T257, T262, X503, X504, gt10_out_aa(T261, T257)) → U40_aaaa(T261, T257, T262, X503, X504, part20_in_gaaa(T261, T262, X503, X504))
U40_aaaa(T261, T257, T262, X503, X504, part20_out_gaaa(T261, T262, X503, X504)) → part87_out_aaaa(T261, .(T257, T262), .(T257, X503), X504)
part87_in_aaaa(T283, .(T284, T285), X554, .(T284, X555)) → U41_aaaa(T283, T284, T285, X554, X555, le100_in_aa(T283, T284))
le100_in_aa(s(T302), s(T303)) → U21_aa(T302, T303, le100_in_aa(T302, T303))
le100_in_aa(0, s(T310)) → le100_out_aa(0, s(T310))
le100_in_aa(0, 0) → le100_out_aa(0, 0)
U21_aa(T302, T303, le100_out_aa(T302, T303)) → le100_out_aa(s(T302), s(T303))
U41_aaaa(T283, T284, T285, X554, X555, le100_out_aa(T283, T284)) → part87_out_aaaa(T283, .(T284, T285), X554, .(T284, X555))
part87_in_aaaa(T288, .(T284, T289), X554, .(T284, X555)) → U42_aaaa(T288, T284, T289, X554, X555, le100_in_aa(T288, T284))
U42_aaaa(T288, T284, T289, X554, X555, le100_out_aa(T288, T284)) → U43_aaaa(T288, T284, T289, X554, X555, part20_in_gaaa(T288, T289, X554, X555))
U43_aaaa(T288, T284, T289, X554, X555, part20_out_gaaa(T288, T289, X554, X555)) → part87_out_aaaa(T288, .(T284, T289), X554, .(T284, X555))
part87_in_aaaa(T316, [], [], []) → part87_out_aaaa(T316, [], [], [])
U22_aa(T230, T231, X452, part87_out_aaaa(T230, T231, X448, X449)) → qs80_out_aa(.(T230, T231), X452)
qs80_in_aa(.(T237, T231), X452) → U23_aa(T237, T231, X452, part87_in_aaaa(T237, T231, T235, T236))
U23_aa(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U24_aa(T237, T231, X452, qs80_in_aa(T235, X450))
qs80_in_aa(.(T325, T231), X452) → U27_aa(T325, T231, X452, part87_in_aaaa(T325, T231, T235, T236))
U27_aa(T325, T231, X452, part87_out_aaaa(T325, T231, T235, T236)) → U28_aa(T325, T231, X452, T236, qs80_in_aa(T235, T319))
qs80_in_aa([], []) → qs80_out_aa([], [])
U28_aa(T325, T231, X452, T236, qs80_out_aa(T235, T319)) → U29_aa(T325, T231, X452, T319, qs80_in_aa(T236, T324))
U29_aa(T325, T231, X452, T319, qs80_out_aa(T236, T324)) → U30_aa(T325, T231, X452, app121_in_aaaa(T319, T325, T324, X452))
app121_in_aaaa(.(T348, T349), T352, T353, .(T348, X657)) → U31_aaaa(T348, T349, T352, T353, X657, app121_in_aaaa(T349, T352, T353, X657))
app121_in_aaaa([], T362, T363, .(T362, T363)) → app121_out_aaaa([], T362, T363, .(T362, T363))
U31_aaaa(T348, T349, T352, T353, X657, app121_out_aaaa(T349, T352, T353, X657)) → app121_out_aaaa(.(T348, T349), T352, T353, .(T348, X657))
U30_aa(T325, T231, X452, app121_out_aaaa(T319, T325, T324, X452)) → qs80_out_aa(.(T325, T231), X452)
U24_aa(T237, T231, X452, qs80_out_aa(T235, X450)) → qs80_out_aa(.(T237, T231), X452)
U23_aa(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U25_aa(T237, T231, X452, T236, qs80_in_aa(T235, T319))
U25_aa(T237, T231, X452, T236, qs80_out_aa(T235, T319)) → U26_aa(T237, T231, X452, qs80_in_aa(T236, X451))
U26_aa(T237, T231, X452, qs80_out_aa(T236, X451)) → qs80_out_aa(.(T237, T231), X452)
U33_aaagg(T54, X10, T131, T31, T8, qs80_out_aa(T54, X10)) → p52_out_aaagg(T54, X10, T131, T31, T8)
p52_in_aaagg(T54, T217, T131, T31, T8) → U34_aaagg(T54, T217, T131, T31, T8, qs80_in_aa(T54, T217))
U34_aaagg(T54, T217, T131, T31, T8, qs80_out_aa(T54, T217)) → U35_aaagg(T54, T217, T131, T31, T8, app81_in_agag(T131, T31, T217, T8))
app81_in_agag(.(T389, T390), T391, T394, .(T389, T393)) → U32_agag(T389, T390, T391, T394, T393, app81_in_agag(T390, T391, T394, T393))
app81_in_agag([], T404, T405, .(T404, T405)) → app81_out_agag([], T404, T405, .(T404, T405))
U32_agag(T389, T390, T391, T394, T393, app81_out_agag(T390, T391, T394, T393)) → app81_out_agag(.(T389, T390), T391, T394, .(T389, T393))
U35_aaagg(T54, T217, T131, T31, T8, app81_out_agag(T131, T31, T217, T8)) → p52_out_aaagg(T54, T217, T131, T31, T8)
U50_ag(T31, T33, T32, T8, p52_out_aaagg(T54, X10, T131, T31, T8)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
qs1_in_ag(.(T421, .(T422, T423)), T8) → U51_ag(T421, T422, T423, T8, le100_in_aa(T421, T422))
U51_ag(T421, T422, T423, T8, le100_out_aa(T421, T422)) → qs1_out_ag(.(T421, .(T422, T423)), T8)
qs1_in_ag(.(T426, .(T428, T427)), T8) → U52_ag(T426, T428, T427, T8, le100_in_aa(T426, T428))
U52_ag(T426, T428, T427, T8, le100_out_aa(T426, T428)) → U53_ag(T426, T428, T427, T8, part20_in_gaaa(T426, T427, X740, X741))
U53_ag(T426, T428, T427, T8, part20_out_gaaa(T426, T427, X740, X741)) → qs1_out_ag(.(T426, .(T428, T427)), T8)
qs1_in_ag(.(T426, .(T436, T427)), T8) → U54_ag(T426, T436, T427, T8, le100_in_aa(T426, T436))
U54_ag(T426, T436, T427, T8, le100_out_aa(T426, T436)) → U55_ag(T426, T436, T427, T8, part20_in_gaaa(T426, T427, T434, T435))
U55_ag(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U56_ag(T426, T436, T427, T8, qs80_in_aa(T434, X9))
U56_ag(T426, T436, T427, T8, qs80_out_aa(T434, X9)) → qs1_out_ag(.(T426, .(T436, T427)), T8)
U55_ag(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U57_ag(T426, T436, T427, T8, T435, qs80_in_aa(T434, T442))
U57_ag(T426, T436, T427, T8, T435, qs80_out_aa(T434, T442)) → U58_ag(T426, T436, T427, T8, p52_in_aaagg(.(T436, T435), X10, T442, T426, T8))
U58_ag(T426, T436, T427, T8, p52_out_aaagg(.(T436, T435), X10, T442, T426, T8)) → qs1_out_ag(.(T426, .(T436, T427)), T8)
qs1_in_ag(.(T452, []), T8) → U59_ag(T452, T8, qs155_in_a(X9))
qs155_in_a([]) → qs155_out_a([])
U59_ag(T452, T8, qs155_out_a(X9)) → qs1_out_ag(.(T452, []), T8)
qs1_in_ag(.(T452, []), T8) → U60_ag(T452, T8, qs155_in_a(T455))
U60_ag(T452, T8, qs155_out_a(T455)) → U61_ag(T452, T8, qs155_in_a(X10))
U61_ag(T452, T8, qs155_out_a(X10)) → qs1_out_ag(.(T452, []), T8)
U60_ag(T452, T8, qs155_out_a(T455)) → U62_ag(T452, T8, T455, qs155_in_a(T460))
U62_ag(T452, T8, T455, qs155_out_a(T460)) → U63_ag(T452, T8, app162_in_gagg(T455, T452, T460, T8))
app162_in_gagg(.(T486, T487), T491, T489, .(T486, T490)) → U36_gagg(T486, T487, T491, T489, T490, app162_in_gagg(T487, T491, T489, T490))
app162_in_gagg([], T501, T502, .(T501, T502)) → app162_out_gagg([], T501, T502, .(T501, T502))
U36_gagg(T486, T487, T491, T489, T490, app162_out_gagg(T487, T491, T489, T490)) → app162_out_gagg(.(T486, T487), T491, T489, .(T486, T490))
U63_ag(T452, T8, app162_out_gagg(T455, T452, T460, T8)) → qs1_out_ag(.(T452, []), T8)
qs1_in_ag([], []) → qs1_out_ag([], [])

The argument filtering Pi contains the following mapping:
qs1_in_ag(x1, x2)  =  qs1_in_ag(x2)
U44_ag(x1, x2, x3, x4, x5)  =  U44_ag(x5)
gt10_in_aa(x1, x2)  =  gt10_in_aa
U1_aa(x1, x2, x3)  =  U1_aa(x3)
gt10_out_aa(x1, x2)  =  gt10_out_aa(x1, x2)
qs1_out_ag(x1, x2)  =  qs1_out_ag
U45_ag(x1, x2, x3, x4, x5)  =  U45_ag(x4, x5)
U46_ag(x1, x2, x3, x4, x5)  =  U46_ag(x5)
part20_in_gaaa(x1, x2, x3, x4)  =  part20_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x6)
gt10_in_ga(x1, x2)  =  gt10_in_ga(x1)
s(x1)  =  s(x1)
U1_ga(x1, x2, x3)  =  U1_ga(x3)
0  =  0
gt10_out_ga(x1, x2)  =  gt10_out_ga(x2)
part20_out_gaaa(x1, x2, x3, x4)  =  part20_out_gaaa
U3_gaaa(x1, x2, x3, x4, x5, x6)  =  U3_gaaa(x1, x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x6)
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x6)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U8_ga(x1, x2, x3)  =  U8_ga(x3)
le33_out_ga(x1, x2)  =  le33_out_ga
U6_gaaa(x1, x2, x3, x4, x5, x6)  =  U6_gaaa(x1, x6)
U7_gaaa(x1, x2, x3, x4, x5, x6)  =  U7_gaaa(x6)
U47_ag(x1, x2, x3, x4, x5)  =  U47_ag(x1, x2, x4, x5)
U48_ag(x1, x2, x3, x4, x5)  =  U48_ag(x5)
qs51_in_gaa(x1, x2, x3)  =  qs51_in_gaa(x1)
U37_gaa(x1, x2, x3, x4)  =  U37_gaa(x4)
p56_in_gaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_in_gaaaaaa(x1)
U9_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_gaaaaaa(x8)
p56_out_gaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_out_gaaaaaa
U10_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_gaaaaaa(x8)
U11_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_gaaaaaa(x8)
qs59_in_aa(x1, x2)  =  qs59_in_aa
U19_aa(x1, x2, x3, x4)  =  U19_aa(x4)
p56_in_aaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_in_aaaaaaa
U9_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_aaaaaaa(x8)
part20_in_aaaa(x1, x2, x3, x4)  =  part20_in_aaaa
U2_aaaa(x1, x2, x3, x4, x5, x6)  =  U2_aaaa(x6)
part20_out_aaaa(x1, x2, x3, x4)  =  part20_out_aaaa
U3_aaaa(x1, x2, x3, x4, x5, x6)  =  U3_aaaa(x6)
U4_aaaa(x1, x2, x3, x4, x5, x6)  =  U4_aaaa(x6)
U5_aaaa(x1, x2, x3, x4, x5, x6)  =  U5_aaaa(x6)
le33_in_aa(x1, x2)  =  le33_in_aa
U8_aa(x1, x2, x3)  =  U8_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
U6_aaaa(x1, x2, x3, x4, x5, x6)  =  U6_aaaa(x6)
U7_aaaa(x1, x2, x3, x4, x5, x6)  =  U7_aaaa(x6)
p56_out_aaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_out_aaaaaaa
U10_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_aaaaaaa(x8)
U11_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_aaaaaaa(x8)
qs59_out_aa(x1, x2)  =  qs59_out_aa
U12_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_aaaaaaa(x8)
U13_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_aaaaaaa(x8)
U14_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_aaaaaaa(x8)
U15_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_aaaaaaa(x8)
U16_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_aaaaaaa(x8)
U17_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_aaaaaaa(x8)
U18_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_aaaaaaa(x8)
.(x1, x2)  =  .(x1, x2)
[]  =  []
app70_in_aaaa(x1, x2, x3, x4)  =  app70_in_aaaa
U20_aaaa(x1, x2, x3, x4, x5, x6)  =  U20_aaaa(x6)
app70_out_aaaa(x1, x2, x3, x4)  =  app70_out_aaaa
U12_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_gaaaaaa(x8)
U13_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_gaaaaaa(x8)
U14_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_gaaaaaa(x8)
U15_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_gaaaaaa(x1, x8)
U16_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_gaaaaaa(x1, x8)
U17_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_gaaaaaa(x1, x8)
U18_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_gaaaaaa(x8)
app70_in_agaa(x1, x2, x3, x4)  =  app70_in_agaa(x2)
U20_agaa(x1, x2, x3, x4, x5, x6)  =  U20_agaa(x6)
app70_out_agaa(x1, x2, x3, x4)  =  app70_out_agaa
qs51_out_gaa(x1, x2, x3)  =  qs51_out_gaa
U49_ag(x1, x2, x3, x4, x5, x6)  =  U49_ag(x1, x4, x6)
U50_ag(x1, x2, x3, x4, x5)  =  U50_ag(x5)
p52_in_aaagg(x1, x2, x3, x4, x5)  =  p52_in_aaagg(x4, x5)
U33_aaagg(x1, x2, x3, x4, x5, x6)  =  U33_aaagg(x6)
qs80_in_aa(x1, x2)  =  qs80_in_aa
U22_aa(x1, x2, x3, x4)  =  U22_aa(x4)
part87_in_aaaa(x1, x2, x3, x4)  =  part87_in_aaaa
U38_aaaa(x1, x2, x3, x4, x5, x6)  =  U38_aaaa(x6)
part87_out_aaaa(x1, x2, x3, x4)  =  part87_out_aaaa
U39_aaaa(x1, x2, x3, x4, x5, x6)  =  U39_aaaa(x6)
U40_aaaa(x1, x2, x3, x4, x5, x6)  =  U40_aaaa(x6)
U41_aaaa(x1, x2, x3, x4, x5, x6)  =  U41_aaaa(x6)
le100_in_aa(x1, x2)  =  le100_in_aa
U21_aa(x1, x2, x3)  =  U21_aa(x3)
le100_out_aa(x1, x2)  =  le100_out_aa(x1)
U42_aaaa(x1, x2, x3, x4, x5, x6)  =  U42_aaaa(x6)
U43_aaaa(x1, x2, x3, x4, x5, x6)  =  U43_aaaa(x6)
qs80_out_aa(x1, x2)  =  qs80_out_aa
U23_aa(x1, x2, x3, x4)  =  U23_aa(x4)
U24_aa(x1, x2, x3, x4)  =  U24_aa(x4)
U27_aa(x1, x2, x3, x4)  =  U27_aa(x4)
U28_aa(x1, x2, x3, x4, x5)  =  U28_aa(x5)
U29_aa(x1, x2, x3, x4, x5)  =  U29_aa(x5)
U30_aa(x1, x2, x3, x4)  =  U30_aa(x4)
app121_in_aaaa(x1, x2, x3, x4)  =  app121_in_aaaa
U31_aaaa(x1, x2, x3, x4, x5, x6)  =  U31_aaaa(x6)
app121_out_aaaa(x1, x2, x3, x4)  =  app121_out_aaaa
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
U26_aa(x1, x2, x3, x4)  =  U26_aa(x4)
p52_out_aaagg(x1, x2, x3, x4, x5)  =  p52_out_aaagg
U34_aaagg(x1, x2, x3, x4, x5, x6)  =  U34_aaagg(x4, x5, x6)
U35_aaagg(x1, x2, x3, x4, x5, x6)  =  U35_aaagg(x6)
app81_in_agag(x1, x2, x3, x4)  =  app81_in_agag(x2, x4)
U32_agag(x1, x2, x3, x4, x5, x6)  =  U32_agag(x1, x6)
app81_out_agag(x1, x2, x3, x4)  =  app81_out_agag(x1, x3)
U51_ag(x1, x2, x3, x4, x5)  =  U51_ag(x5)
U52_ag(x1, x2, x3, x4, x5)  =  U52_ag(x5)
U53_ag(x1, x2, x3, x4, x5)  =  U53_ag(x5)
U54_ag(x1, x2, x3, x4, x5)  =  U54_ag(x4, x5)
U55_ag(x1, x2, x3, x4, x5)  =  U55_ag(x1, x4, x5)
U56_ag(x1, x2, x3, x4, x5)  =  U56_ag(x5)
U57_ag(x1, x2, x3, x4, x5, x6)  =  U57_ag(x1, x4, x6)
U58_ag(x1, x2, x3, x4, x5)  =  U58_ag(x5)
U59_ag(x1, x2, x3)  =  U59_ag(x3)
qs155_in_a(x1)  =  qs155_in_a
qs155_out_a(x1)  =  qs155_out_a(x1)
U60_ag(x1, x2, x3)  =  U60_ag(x2, x3)
U61_ag(x1, x2, x3)  =  U61_ag(x3)
U62_ag(x1, x2, x3, x4)  =  U62_ag(x2, x3, x4)
U63_ag(x1, x2, x3)  =  U63_ag(x3)
app162_in_gagg(x1, x2, x3, x4)  =  app162_in_gagg(x1, x3, x4)
U36_gagg(x1, x2, x3, x4, x5, x6)  =  U36_gagg(x6)
app162_out_gagg(x1, x2, x3, x4)  =  app162_out_gagg(x2)
APP162_IN_GAGG(x1, x2, x3, x4)  =  APP162_IN_GAGG(x1, x3, x4)

We have to consider all (P,R,Pi)-chains

(143) UsableRulesProof (EQUIVALENT transformation)

For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R.

(144) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

APP162_IN_GAGG(.(T486, T487), T491, T489, .(T486, T490)) → APP162_IN_GAGG(T487, T491, T489, T490)

R is empty.
The argument filtering Pi contains the following mapping:
.(x1, x2)  =  .(x1, x2)
APP162_IN_GAGG(x1, x2, x3, x4)  =  APP162_IN_GAGG(x1, x3, x4)

We have to consider all (P,R,Pi)-chains

(145) PiDPToQDPProof (SOUND transformation)

Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi.

(146) Obligation:

Q DP problem:
The TRS P consists of the following rules:

APP162_IN_GAGG(.(T486, T487), T489, .(T486, T490)) → APP162_IN_GAGG(T487, T489, T490)

R is empty.
Q is empty.
We have to consider all (P,Q,R)-chains.

(147) QDPSizeChangeProof (EQUIVALENT transformation)

By using the subterm criterion [SUBTERM_CRITERION] together with the size-change analysis [AAECC05] we have proven that there are no infinite chains for this DP problem.

From the DPs we obtained the following set of size-change graphs:

  • APP162_IN_GAGG(.(T486, T487), T489, .(T486, T490)) → APP162_IN_GAGG(T487, T489, T490)
    The graph contains the following edges 1 > 1, 2 >= 2, 3 > 3

(148) YES

(149) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

APP81_IN_AGAG(.(T389, T390), T391, T394, .(T389, T393)) → APP81_IN_AGAG(T390, T391, T394, T393)

The TRS R consists of the following rules:

qs1_in_ag(.(T26, .(T27, T28)), T8) → U44_ag(T26, T27, T28, T8, gt10_in_aa(T26, T27))
gt10_in_aa(s(T46), s(T47)) → U1_aa(T46, T47, gt10_in_aa(T46, T47))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U1_aa(T46, T47, gt10_out_aa(T46, T47)) → gt10_out_aa(s(T46), s(T47))
U44_ag(T26, T27, T28, T8, gt10_out_aa(T26, T27)) → qs1_out_ag(.(T26, .(T27, T28)), T8)
qs1_in_ag(.(T31, .(T33, T32)), T8) → U45_ag(T31, T33, T32, T8, gt10_in_aa(T31, T33))
U45_ag(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U46_ag(T31, T33, T32, T8, part20_in_gaaa(T31, T32, X47, X48))
part20_in_gaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_gaaa(T70, T73, T74, X119, X120, gt10_in_ga(T70, T73))
gt10_in_ga(s(T46), s(T47)) → U1_ga(T46, T47, gt10_in_ga(T46, T47))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U1_ga(T46, T47, gt10_out_ga(T46, T47)) → gt10_out_ga(s(T46), s(T47))
U2_gaaa(T70, T73, T74, X119, X120, gt10_out_ga(T70, T73)) → part20_out_gaaa(T70, .(T73, T74), .(T73, X119), X120)
part20_in_gaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_gaaa(T70, T73, T77, X119, X120, gt10_in_ga(T70, T73))
U3_gaaa(T70, T73, T77, X119, X120, gt10_out_ga(T70, T73)) → U4_gaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
part20_in_gaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_gaaa(T95, T98, T99, X170, X171, le33_in_ga(T95, T98))
le33_in_ga(s(T113), s(T115)) → U8_ga(T113, T115, le33_in_ga(T113, T115))
le33_in_ga(0, s(T122)) → le33_out_ga(0, s(T122))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U8_ga(T113, T115, le33_out_ga(T113, T115)) → le33_out_ga(s(T113), s(T115))
U5_gaaa(T95, T98, T99, X170, X171, le33_out_ga(T95, T98)) → part20_out_gaaa(T95, .(T98, T99), X170, .(T98, X171))
part20_in_gaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_gaaa(T95, T98, T102, X170, X171, le33_in_ga(T95, T98))
U6_gaaa(T95, T98, T102, X170, X171, le33_out_ga(T95, T98)) → U7_gaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
part20_in_gaaa(T128, [], [], []) → part20_out_gaaa(T128, [], [], [])
U7_gaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_gaaa(T95, .(T98, T102), X170, .(T98, X171))
U4_gaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_gaaa(T70, .(T73, T77), .(T73, X119), X120)
U46_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, X47, X48)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
U45_ag(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U47_ag(T31, T33, T32, T8, part20_in_gaaa(T31, T32, T53, T54))
U47_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U48_ag(T31, T33, T32, T8, qs51_in_gaa(T33, T53, X9))
qs51_in_gaa(T148, T149, X273) → U37_gaa(T148, T149, X273, p56_in_gaaaaaa(T148, T149, X269, X270, X271, X272, X273))
p56_in_gaaaaaa(T148, T149, X269, X270, X271, X272, X273) → U9_gaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_in_gaaa(T148, T149, X269, X270))
U9_gaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_out_gaaa(T148, T149, X269, X270)) → p56_out_gaaaaaa(T148, T149, X269, X270, X271, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, X271, X272, X273) → U10_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U10_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U11_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
qs59_in_aa(.(T171, T172), X335) → U19_aa(T171, T172, X335, p56_in_aaaaaaa(T171, T172, X331, X332, X333, X334, X335))
p56_in_aaaaaaa(T148, T149, X269, X270, X271, X272, X273) → U9_aaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_in_aaaa(T148, T149, X269, X270))
part20_in_aaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_aaaa(T70, T73, T74, X119, X120, gt10_in_aa(T70, T73))
U2_aaaa(T70, T73, T74, X119, X120, gt10_out_aa(T70, T73)) → part20_out_aaaa(T70, .(T73, T74), .(T73, X119), X120)
part20_in_aaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_aaaa(T70, T73, T77, X119, X120, gt10_in_aa(T70, T73))
U3_aaaa(T70, T73, T77, X119, X120, gt10_out_aa(T70, T73)) → U4_aaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
U4_aaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_aaaa(T70, .(T73, T77), .(T73, X119), X120)
part20_in_aaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_aaaa(T95, T98, T99, X170, X171, le33_in_aa(T95, T98))
le33_in_aa(s(T113), s(T115)) → U8_aa(T113, T115, le33_in_aa(T113, T115))
le33_in_aa(0, s(T122)) → le33_out_aa(0, s(T122))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U8_aa(T113, T115, le33_out_aa(T113, T115)) → le33_out_aa(s(T113), s(T115))
U5_aaaa(T95, T98, T99, X170, X171, le33_out_aa(T95, T98)) → part20_out_aaaa(T95, .(T98, T99), X170, .(T98, X171))
part20_in_aaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_aaaa(T95, T98, T102, X170, X171, le33_in_aa(T95, T98))
U6_aaaa(T95, T98, T102, X170, X171, le33_out_aa(T95, T98)) → U7_aaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
U7_aaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_aaaa(T95, .(T98, T102), X170, .(T98, X171))
part20_in_aaaa(T128, [], [], []) → part20_out_aaaa(T128, [], [], [])
U9_aaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_out_aaaa(T148, T149, X269, X270)) → p56_out_aaaaaaa(T148, T149, X269, X270, X271, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, X271, X272, X273) → U10_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U10_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U11_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
qs59_in_aa([], []) → qs59_out_aa([], [])
U11_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_out_aa(T153, X271)) → p56_out_aaaaaaa(T148, T149, T153, T154, X271, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, T160, X272, X273) → U12_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U12_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U13_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U13_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U14_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T154, X272)) → p56_out_aaaaaaa(T148, T149, T153, T154, T160, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, T160, T178, X273) → U15_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_in_aaaa(T148, T149, T153, T154))
U15_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_out_aaaa(T148, T149, T153, T154)) → U16_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U16_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U17_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_in_aaaa(T160, T148, T178, X273))
app70_in_aaaa(.(T201, T202), T203, T204, .(T201, X391)) → U20_aaaa(T201, T202, T203, T204, X391, app70_in_aaaa(T202, T203, T204, X391))
app70_in_aaaa([], T213, T214, .(T213, T214)) → app70_out_aaaa([], T213, T214, .(T213, T214))
U20_aaaa(T201, T202, T203, T204, X391, app70_out_aaaa(T202, T203, T204, X391)) → app70_out_aaaa(.(T201, T202), T203, T204, .(T201, X391))
U18_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_out_aaaa(T160, T148, T178, X273)) → p56_out_aaaaaaa(T148, T149, T153, T154, T160, T178, X273)
U19_aa(T171, T172, X335, p56_out_aaaaaaa(T171, T172, X331, X332, X333, X334, X335)) → qs59_out_aa(.(T171, T172), X335)
U11_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_out_aa(T153, X271)) → p56_out_gaaaaaa(T148, T149, T153, T154, X271, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, T160, X272, X273) → U12_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U12_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U13_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U13_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U14_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T154, X272)) → p56_out_gaaaaaa(T148, T149, T153, T154, T160, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, T160, T178, X273) → U15_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_in_gaaa(T148, T149, T153, T154))
U15_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_out_gaaa(T148, T149, T153, T154)) → U16_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U16_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U17_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_in_agaa(T160, T148, T178, X273))
app70_in_agaa(.(T201, T202), T203, T204, .(T201, X391)) → U20_agaa(T201, T202, T203, T204, X391, app70_in_agaa(T202, T203, T204, X391))
app70_in_agaa([], T213, T214, .(T213, T214)) → app70_out_agaa([], T213, T214, .(T213, T214))
U20_agaa(T201, T202, T203, T204, X391, app70_out_agaa(T202, T203, T204, X391)) → app70_out_agaa(.(T201, T202), T203, T204, .(T201, X391))
U18_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_out_agaa(T160, T148, T178, X273)) → p56_out_gaaaaaa(T148, T149, T153, T154, T160, T178, X273)
U37_gaa(T148, T149, X273, p56_out_gaaaaaa(T148, T149, X269, X270, X271, X272, X273)) → qs51_out_gaa(T148, T149, X273)
U48_ag(T31, T33, T32, T8, qs51_out_gaa(T33, T53, X9)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
U47_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U49_ag(T31, T33, T32, T8, T54, qs51_in_gaa(T33, T53, T131))
U49_ag(T31, T33, T32, T8, T54, qs51_out_gaa(T33, T53, T131)) → U50_ag(T31, T33, T32, T8, p52_in_aaagg(T54, X10, T131, T31, T8))
p52_in_aaagg(T54, X10, T131, T31, T8) → U33_aaagg(T54, X10, T131, T31, T8, qs80_in_aa(T54, X10))
qs80_in_aa(.(T230, T231), X452) → U22_aa(T230, T231, X452, part87_in_aaaa(T230, T231, X448, X449))
part87_in_aaaa(T256, .(T257, T258), .(T257, X503), X504) → U38_aaaa(T256, T257, T258, X503, X504, gt10_in_aa(T256, T257))
U38_aaaa(T256, T257, T258, X503, X504, gt10_out_aa(T256, T257)) → part87_out_aaaa(T256, .(T257, T258), .(T257, X503), X504)
part87_in_aaaa(T261, .(T257, T262), .(T257, X503), X504) → U39_aaaa(T261, T257, T262, X503, X504, gt10_in_aa(T261, T257))
U39_aaaa(T261, T257, T262, X503, X504, gt10_out_aa(T261, T257)) → U40_aaaa(T261, T257, T262, X503, X504, part20_in_gaaa(T261, T262, X503, X504))
U40_aaaa(T261, T257, T262, X503, X504, part20_out_gaaa(T261, T262, X503, X504)) → part87_out_aaaa(T261, .(T257, T262), .(T257, X503), X504)
part87_in_aaaa(T283, .(T284, T285), X554, .(T284, X555)) → U41_aaaa(T283, T284, T285, X554, X555, le100_in_aa(T283, T284))
le100_in_aa(s(T302), s(T303)) → U21_aa(T302, T303, le100_in_aa(T302, T303))
le100_in_aa(0, s(T310)) → le100_out_aa(0, s(T310))
le100_in_aa(0, 0) → le100_out_aa(0, 0)
U21_aa(T302, T303, le100_out_aa(T302, T303)) → le100_out_aa(s(T302), s(T303))
U41_aaaa(T283, T284, T285, X554, X555, le100_out_aa(T283, T284)) → part87_out_aaaa(T283, .(T284, T285), X554, .(T284, X555))
part87_in_aaaa(T288, .(T284, T289), X554, .(T284, X555)) → U42_aaaa(T288, T284, T289, X554, X555, le100_in_aa(T288, T284))
U42_aaaa(T288, T284, T289, X554, X555, le100_out_aa(T288, T284)) → U43_aaaa(T288, T284, T289, X554, X555, part20_in_gaaa(T288, T289, X554, X555))
U43_aaaa(T288, T284, T289, X554, X555, part20_out_gaaa(T288, T289, X554, X555)) → part87_out_aaaa(T288, .(T284, T289), X554, .(T284, X555))
part87_in_aaaa(T316, [], [], []) → part87_out_aaaa(T316, [], [], [])
U22_aa(T230, T231, X452, part87_out_aaaa(T230, T231, X448, X449)) → qs80_out_aa(.(T230, T231), X452)
qs80_in_aa(.(T237, T231), X452) → U23_aa(T237, T231, X452, part87_in_aaaa(T237, T231, T235, T236))
U23_aa(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U24_aa(T237, T231, X452, qs80_in_aa(T235, X450))
qs80_in_aa(.(T325, T231), X452) → U27_aa(T325, T231, X452, part87_in_aaaa(T325, T231, T235, T236))
U27_aa(T325, T231, X452, part87_out_aaaa(T325, T231, T235, T236)) → U28_aa(T325, T231, X452, T236, qs80_in_aa(T235, T319))
qs80_in_aa([], []) → qs80_out_aa([], [])
U28_aa(T325, T231, X452, T236, qs80_out_aa(T235, T319)) → U29_aa(T325, T231, X452, T319, qs80_in_aa(T236, T324))
U29_aa(T325, T231, X452, T319, qs80_out_aa(T236, T324)) → U30_aa(T325, T231, X452, app121_in_aaaa(T319, T325, T324, X452))
app121_in_aaaa(.(T348, T349), T352, T353, .(T348, X657)) → U31_aaaa(T348, T349, T352, T353, X657, app121_in_aaaa(T349, T352, T353, X657))
app121_in_aaaa([], T362, T363, .(T362, T363)) → app121_out_aaaa([], T362, T363, .(T362, T363))
U31_aaaa(T348, T349, T352, T353, X657, app121_out_aaaa(T349, T352, T353, X657)) → app121_out_aaaa(.(T348, T349), T352, T353, .(T348, X657))
U30_aa(T325, T231, X452, app121_out_aaaa(T319, T325, T324, X452)) → qs80_out_aa(.(T325, T231), X452)
U24_aa(T237, T231, X452, qs80_out_aa(T235, X450)) → qs80_out_aa(.(T237, T231), X452)
U23_aa(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U25_aa(T237, T231, X452, T236, qs80_in_aa(T235, T319))
U25_aa(T237, T231, X452, T236, qs80_out_aa(T235, T319)) → U26_aa(T237, T231, X452, qs80_in_aa(T236, X451))
U26_aa(T237, T231, X452, qs80_out_aa(T236, X451)) → qs80_out_aa(.(T237, T231), X452)
U33_aaagg(T54, X10, T131, T31, T8, qs80_out_aa(T54, X10)) → p52_out_aaagg(T54, X10, T131, T31, T8)
p52_in_aaagg(T54, T217, T131, T31, T8) → U34_aaagg(T54, T217, T131, T31, T8, qs80_in_aa(T54, T217))
U34_aaagg(T54, T217, T131, T31, T8, qs80_out_aa(T54, T217)) → U35_aaagg(T54, T217, T131, T31, T8, app81_in_agag(T131, T31, T217, T8))
app81_in_agag(.(T389, T390), T391, T394, .(T389, T393)) → U32_agag(T389, T390, T391, T394, T393, app81_in_agag(T390, T391, T394, T393))
app81_in_agag([], T404, T405, .(T404, T405)) → app81_out_agag([], T404, T405, .(T404, T405))
U32_agag(T389, T390, T391, T394, T393, app81_out_agag(T390, T391, T394, T393)) → app81_out_agag(.(T389, T390), T391, T394, .(T389, T393))
U35_aaagg(T54, T217, T131, T31, T8, app81_out_agag(T131, T31, T217, T8)) → p52_out_aaagg(T54, T217, T131, T31, T8)
U50_ag(T31, T33, T32, T8, p52_out_aaagg(T54, X10, T131, T31, T8)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
qs1_in_ag(.(T421, .(T422, T423)), T8) → U51_ag(T421, T422, T423, T8, le100_in_aa(T421, T422))
U51_ag(T421, T422, T423, T8, le100_out_aa(T421, T422)) → qs1_out_ag(.(T421, .(T422, T423)), T8)
qs1_in_ag(.(T426, .(T428, T427)), T8) → U52_ag(T426, T428, T427, T8, le100_in_aa(T426, T428))
U52_ag(T426, T428, T427, T8, le100_out_aa(T426, T428)) → U53_ag(T426, T428, T427, T8, part20_in_gaaa(T426, T427, X740, X741))
U53_ag(T426, T428, T427, T8, part20_out_gaaa(T426, T427, X740, X741)) → qs1_out_ag(.(T426, .(T428, T427)), T8)
qs1_in_ag(.(T426, .(T436, T427)), T8) → U54_ag(T426, T436, T427, T8, le100_in_aa(T426, T436))
U54_ag(T426, T436, T427, T8, le100_out_aa(T426, T436)) → U55_ag(T426, T436, T427, T8, part20_in_gaaa(T426, T427, T434, T435))
U55_ag(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U56_ag(T426, T436, T427, T8, qs80_in_aa(T434, X9))
U56_ag(T426, T436, T427, T8, qs80_out_aa(T434, X9)) → qs1_out_ag(.(T426, .(T436, T427)), T8)
U55_ag(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U57_ag(T426, T436, T427, T8, T435, qs80_in_aa(T434, T442))
U57_ag(T426, T436, T427, T8, T435, qs80_out_aa(T434, T442)) → U58_ag(T426, T436, T427, T8, p52_in_aaagg(.(T436, T435), X10, T442, T426, T8))
U58_ag(T426, T436, T427, T8, p52_out_aaagg(.(T436, T435), X10, T442, T426, T8)) → qs1_out_ag(.(T426, .(T436, T427)), T8)
qs1_in_ag(.(T452, []), T8) → U59_ag(T452, T8, qs155_in_a(X9))
qs155_in_a([]) → qs155_out_a([])
U59_ag(T452, T8, qs155_out_a(X9)) → qs1_out_ag(.(T452, []), T8)
qs1_in_ag(.(T452, []), T8) → U60_ag(T452, T8, qs155_in_a(T455))
U60_ag(T452, T8, qs155_out_a(T455)) → U61_ag(T452, T8, qs155_in_a(X10))
U61_ag(T452, T8, qs155_out_a(X10)) → qs1_out_ag(.(T452, []), T8)
U60_ag(T452, T8, qs155_out_a(T455)) → U62_ag(T452, T8, T455, qs155_in_a(T460))
U62_ag(T452, T8, T455, qs155_out_a(T460)) → U63_ag(T452, T8, app162_in_gagg(T455, T452, T460, T8))
app162_in_gagg(.(T486, T487), T491, T489, .(T486, T490)) → U36_gagg(T486, T487, T491, T489, T490, app162_in_gagg(T487, T491, T489, T490))
app162_in_gagg([], T501, T502, .(T501, T502)) → app162_out_gagg([], T501, T502, .(T501, T502))
U36_gagg(T486, T487, T491, T489, T490, app162_out_gagg(T487, T491, T489, T490)) → app162_out_gagg(.(T486, T487), T491, T489, .(T486, T490))
U63_ag(T452, T8, app162_out_gagg(T455, T452, T460, T8)) → qs1_out_ag(.(T452, []), T8)
qs1_in_ag([], []) → qs1_out_ag([], [])

The argument filtering Pi contains the following mapping:
qs1_in_ag(x1, x2)  =  qs1_in_ag(x2)
U44_ag(x1, x2, x3, x4, x5)  =  U44_ag(x5)
gt10_in_aa(x1, x2)  =  gt10_in_aa
U1_aa(x1, x2, x3)  =  U1_aa(x3)
gt10_out_aa(x1, x2)  =  gt10_out_aa(x1, x2)
qs1_out_ag(x1, x2)  =  qs1_out_ag
U45_ag(x1, x2, x3, x4, x5)  =  U45_ag(x4, x5)
U46_ag(x1, x2, x3, x4, x5)  =  U46_ag(x5)
part20_in_gaaa(x1, x2, x3, x4)  =  part20_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x6)
gt10_in_ga(x1, x2)  =  gt10_in_ga(x1)
s(x1)  =  s(x1)
U1_ga(x1, x2, x3)  =  U1_ga(x3)
0  =  0
gt10_out_ga(x1, x2)  =  gt10_out_ga(x2)
part20_out_gaaa(x1, x2, x3, x4)  =  part20_out_gaaa
U3_gaaa(x1, x2, x3, x4, x5, x6)  =  U3_gaaa(x1, x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x6)
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x6)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U8_ga(x1, x2, x3)  =  U8_ga(x3)
le33_out_ga(x1, x2)  =  le33_out_ga
U6_gaaa(x1, x2, x3, x4, x5, x6)  =  U6_gaaa(x1, x6)
U7_gaaa(x1, x2, x3, x4, x5, x6)  =  U7_gaaa(x6)
U47_ag(x1, x2, x3, x4, x5)  =  U47_ag(x1, x2, x4, x5)
U48_ag(x1, x2, x3, x4, x5)  =  U48_ag(x5)
qs51_in_gaa(x1, x2, x3)  =  qs51_in_gaa(x1)
U37_gaa(x1, x2, x3, x4)  =  U37_gaa(x4)
p56_in_gaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_in_gaaaaaa(x1)
U9_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_gaaaaaa(x8)
p56_out_gaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_out_gaaaaaa
U10_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_gaaaaaa(x8)
U11_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_gaaaaaa(x8)
qs59_in_aa(x1, x2)  =  qs59_in_aa
U19_aa(x1, x2, x3, x4)  =  U19_aa(x4)
p56_in_aaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_in_aaaaaaa
U9_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_aaaaaaa(x8)
part20_in_aaaa(x1, x2, x3, x4)  =  part20_in_aaaa
U2_aaaa(x1, x2, x3, x4, x5, x6)  =  U2_aaaa(x6)
part20_out_aaaa(x1, x2, x3, x4)  =  part20_out_aaaa
U3_aaaa(x1, x2, x3, x4, x5, x6)  =  U3_aaaa(x6)
U4_aaaa(x1, x2, x3, x4, x5, x6)  =  U4_aaaa(x6)
U5_aaaa(x1, x2, x3, x4, x5, x6)  =  U5_aaaa(x6)
le33_in_aa(x1, x2)  =  le33_in_aa
U8_aa(x1, x2, x3)  =  U8_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
U6_aaaa(x1, x2, x3, x4, x5, x6)  =  U6_aaaa(x6)
U7_aaaa(x1, x2, x3, x4, x5, x6)  =  U7_aaaa(x6)
p56_out_aaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_out_aaaaaaa
U10_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_aaaaaaa(x8)
U11_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_aaaaaaa(x8)
qs59_out_aa(x1, x2)  =  qs59_out_aa
U12_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_aaaaaaa(x8)
U13_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_aaaaaaa(x8)
U14_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_aaaaaaa(x8)
U15_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_aaaaaaa(x8)
U16_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_aaaaaaa(x8)
U17_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_aaaaaaa(x8)
U18_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_aaaaaaa(x8)
.(x1, x2)  =  .(x1, x2)
[]  =  []
app70_in_aaaa(x1, x2, x3, x4)  =  app70_in_aaaa
U20_aaaa(x1, x2, x3, x4, x5, x6)  =  U20_aaaa(x6)
app70_out_aaaa(x1, x2, x3, x4)  =  app70_out_aaaa
U12_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_gaaaaaa(x8)
U13_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_gaaaaaa(x8)
U14_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_gaaaaaa(x8)
U15_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_gaaaaaa(x1, x8)
U16_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_gaaaaaa(x1, x8)
U17_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_gaaaaaa(x1, x8)
U18_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_gaaaaaa(x8)
app70_in_agaa(x1, x2, x3, x4)  =  app70_in_agaa(x2)
U20_agaa(x1, x2, x3, x4, x5, x6)  =  U20_agaa(x6)
app70_out_agaa(x1, x2, x3, x4)  =  app70_out_agaa
qs51_out_gaa(x1, x2, x3)  =  qs51_out_gaa
U49_ag(x1, x2, x3, x4, x5, x6)  =  U49_ag(x1, x4, x6)
U50_ag(x1, x2, x3, x4, x5)  =  U50_ag(x5)
p52_in_aaagg(x1, x2, x3, x4, x5)  =  p52_in_aaagg(x4, x5)
U33_aaagg(x1, x2, x3, x4, x5, x6)  =  U33_aaagg(x6)
qs80_in_aa(x1, x2)  =  qs80_in_aa
U22_aa(x1, x2, x3, x4)  =  U22_aa(x4)
part87_in_aaaa(x1, x2, x3, x4)  =  part87_in_aaaa
U38_aaaa(x1, x2, x3, x4, x5, x6)  =  U38_aaaa(x6)
part87_out_aaaa(x1, x2, x3, x4)  =  part87_out_aaaa
U39_aaaa(x1, x2, x3, x4, x5, x6)  =  U39_aaaa(x6)
U40_aaaa(x1, x2, x3, x4, x5, x6)  =  U40_aaaa(x6)
U41_aaaa(x1, x2, x3, x4, x5, x6)  =  U41_aaaa(x6)
le100_in_aa(x1, x2)  =  le100_in_aa
U21_aa(x1, x2, x3)  =  U21_aa(x3)
le100_out_aa(x1, x2)  =  le100_out_aa(x1)
U42_aaaa(x1, x2, x3, x4, x5, x6)  =  U42_aaaa(x6)
U43_aaaa(x1, x2, x3, x4, x5, x6)  =  U43_aaaa(x6)
qs80_out_aa(x1, x2)  =  qs80_out_aa
U23_aa(x1, x2, x3, x4)  =  U23_aa(x4)
U24_aa(x1, x2, x3, x4)  =  U24_aa(x4)
U27_aa(x1, x2, x3, x4)  =  U27_aa(x4)
U28_aa(x1, x2, x3, x4, x5)  =  U28_aa(x5)
U29_aa(x1, x2, x3, x4, x5)  =  U29_aa(x5)
U30_aa(x1, x2, x3, x4)  =  U30_aa(x4)
app121_in_aaaa(x1, x2, x3, x4)  =  app121_in_aaaa
U31_aaaa(x1, x2, x3, x4, x5, x6)  =  U31_aaaa(x6)
app121_out_aaaa(x1, x2, x3, x4)  =  app121_out_aaaa
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
U26_aa(x1, x2, x3, x4)  =  U26_aa(x4)
p52_out_aaagg(x1, x2, x3, x4, x5)  =  p52_out_aaagg
U34_aaagg(x1, x2, x3, x4, x5, x6)  =  U34_aaagg(x4, x5, x6)
U35_aaagg(x1, x2, x3, x4, x5, x6)  =  U35_aaagg(x6)
app81_in_agag(x1, x2, x3, x4)  =  app81_in_agag(x2, x4)
U32_agag(x1, x2, x3, x4, x5, x6)  =  U32_agag(x1, x6)
app81_out_agag(x1, x2, x3, x4)  =  app81_out_agag(x1, x3)
U51_ag(x1, x2, x3, x4, x5)  =  U51_ag(x5)
U52_ag(x1, x2, x3, x4, x5)  =  U52_ag(x5)
U53_ag(x1, x2, x3, x4, x5)  =  U53_ag(x5)
U54_ag(x1, x2, x3, x4, x5)  =  U54_ag(x4, x5)
U55_ag(x1, x2, x3, x4, x5)  =  U55_ag(x1, x4, x5)
U56_ag(x1, x2, x3, x4, x5)  =  U56_ag(x5)
U57_ag(x1, x2, x3, x4, x5, x6)  =  U57_ag(x1, x4, x6)
U58_ag(x1, x2, x3, x4, x5)  =  U58_ag(x5)
U59_ag(x1, x2, x3)  =  U59_ag(x3)
qs155_in_a(x1)  =  qs155_in_a
qs155_out_a(x1)  =  qs155_out_a(x1)
U60_ag(x1, x2, x3)  =  U60_ag(x2, x3)
U61_ag(x1, x2, x3)  =  U61_ag(x3)
U62_ag(x1, x2, x3, x4)  =  U62_ag(x2, x3, x4)
U63_ag(x1, x2, x3)  =  U63_ag(x3)
app162_in_gagg(x1, x2, x3, x4)  =  app162_in_gagg(x1, x3, x4)
U36_gagg(x1, x2, x3, x4, x5, x6)  =  U36_gagg(x6)
app162_out_gagg(x1, x2, x3, x4)  =  app162_out_gagg(x2)
APP81_IN_AGAG(x1, x2, x3, x4)  =  APP81_IN_AGAG(x2, x4)

We have to consider all (P,R,Pi)-chains

(150) UsableRulesProof (EQUIVALENT transformation)

For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R.

(151) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

APP81_IN_AGAG(.(T389, T390), T391, T394, .(T389, T393)) → APP81_IN_AGAG(T390, T391, T394, T393)

R is empty.
The argument filtering Pi contains the following mapping:
.(x1, x2)  =  .(x1, x2)
APP81_IN_AGAG(x1, x2, x3, x4)  =  APP81_IN_AGAG(x2, x4)

We have to consider all (P,R,Pi)-chains

(152) PiDPToQDPProof (SOUND transformation)

Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi.

(153) Obligation:

Q DP problem:
The TRS P consists of the following rules:

APP81_IN_AGAG(T391, .(T389, T393)) → APP81_IN_AGAG(T391, T393)

R is empty.
Q is empty.
We have to consider all (P,Q,R)-chains.

(154) QDPSizeChangeProof (EQUIVALENT transformation)

By using the subterm criterion [SUBTERM_CRITERION] together with the size-change analysis [AAECC05] we have proven that there are no infinite chains for this DP problem.

From the DPs we obtained the following set of size-change graphs:

  • APP81_IN_AGAG(T391, .(T389, T393)) → APP81_IN_AGAG(T391, T393)
    The graph contains the following edges 1 >= 1, 2 > 2

(155) YES

(156) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

APP121_IN_AAAA(.(T348, T349), T352, T353, .(T348, X657)) → APP121_IN_AAAA(T349, T352, T353, X657)

The TRS R consists of the following rules:

qs1_in_ag(.(T26, .(T27, T28)), T8) → U44_ag(T26, T27, T28, T8, gt10_in_aa(T26, T27))
gt10_in_aa(s(T46), s(T47)) → U1_aa(T46, T47, gt10_in_aa(T46, T47))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U1_aa(T46, T47, gt10_out_aa(T46, T47)) → gt10_out_aa(s(T46), s(T47))
U44_ag(T26, T27, T28, T8, gt10_out_aa(T26, T27)) → qs1_out_ag(.(T26, .(T27, T28)), T8)
qs1_in_ag(.(T31, .(T33, T32)), T8) → U45_ag(T31, T33, T32, T8, gt10_in_aa(T31, T33))
U45_ag(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U46_ag(T31, T33, T32, T8, part20_in_gaaa(T31, T32, X47, X48))
part20_in_gaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_gaaa(T70, T73, T74, X119, X120, gt10_in_ga(T70, T73))
gt10_in_ga(s(T46), s(T47)) → U1_ga(T46, T47, gt10_in_ga(T46, T47))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U1_ga(T46, T47, gt10_out_ga(T46, T47)) → gt10_out_ga(s(T46), s(T47))
U2_gaaa(T70, T73, T74, X119, X120, gt10_out_ga(T70, T73)) → part20_out_gaaa(T70, .(T73, T74), .(T73, X119), X120)
part20_in_gaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_gaaa(T70, T73, T77, X119, X120, gt10_in_ga(T70, T73))
U3_gaaa(T70, T73, T77, X119, X120, gt10_out_ga(T70, T73)) → U4_gaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
part20_in_gaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_gaaa(T95, T98, T99, X170, X171, le33_in_ga(T95, T98))
le33_in_ga(s(T113), s(T115)) → U8_ga(T113, T115, le33_in_ga(T113, T115))
le33_in_ga(0, s(T122)) → le33_out_ga(0, s(T122))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U8_ga(T113, T115, le33_out_ga(T113, T115)) → le33_out_ga(s(T113), s(T115))
U5_gaaa(T95, T98, T99, X170, X171, le33_out_ga(T95, T98)) → part20_out_gaaa(T95, .(T98, T99), X170, .(T98, X171))
part20_in_gaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_gaaa(T95, T98, T102, X170, X171, le33_in_ga(T95, T98))
U6_gaaa(T95, T98, T102, X170, X171, le33_out_ga(T95, T98)) → U7_gaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
part20_in_gaaa(T128, [], [], []) → part20_out_gaaa(T128, [], [], [])
U7_gaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_gaaa(T95, .(T98, T102), X170, .(T98, X171))
U4_gaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_gaaa(T70, .(T73, T77), .(T73, X119), X120)
U46_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, X47, X48)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
U45_ag(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U47_ag(T31, T33, T32, T8, part20_in_gaaa(T31, T32, T53, T54))
U47_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U48_ag(T31, T33, T32, T8, qs51_in_gaa(T33, T53, X9))
qs51_in_gaa(T148, T149, X273) → U37_gaa(T148, T149, X273, p56_in_gaaaaaa(T148, T149, X269, X270, X271, X272, X273))
p56_in_gaaaaaa(T148, T149, X269, X270, X271, X272, X273) → U9_gaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_in_gaaa(T148, T149, X269, X270))
U9_gaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_out_gaaa(T148, T149, X269, X270)) → p56_out_gaaaaaa(T148, T149, X269, X270, X271, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, X271, X272, X273) → U10_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U10_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U11_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
qs59_in_aa(.(T171, T172), X335) → U19_aa(T171, T172, X335, p56_in_aaaaaaa(T171, T172, X331, X332, X333, X334, X335))
p56_in_aaaaaaa(T148, T149, X269, X270, X271, X272, X273) → U9_aaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_in_aaaa(T148, T149, X269, X270))
part20_in_aaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_aaaa(T70, T73, T74, X119, X120, gt10_in_aa(T70, T73))
U2_aaaa(T70, T73, T74, X119, X120, gt10_out_aa(T70, T73)) → part20_out_aaaa(T70, .(T73, T74), .(T73, X119), X120)
part20_in_aaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_aaaa(T70, T73, T77, X119, X120, gt10_in_aa(T70, T73))
U3_aaaa(T70, T73, T77, X119, X120, gt10_out_aa(T70, T73)) → U4_aaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
U4_aaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_aaaa(T70, .(T73, T77), .(T73, X119), X120)
part20_in_aaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_aaaa(T95, T98, T99, X170, X171, le33_in_aa(T95, T98))
le33_in_aa(s(T113), s(T115)) → U8_aa(T113, T115, le33_in_aa(T113, T115))
le33_in_aa(0, s(T122)) → le33_out_aa(0, s(T122))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U8_aa(T113, T115, le33_out_aa(T113, T115)) → le33_out_aa(s(T113), s(T115))
U5_aaaa(T95, T98, T99, X170, X171, le33_out_aa(T95, T98)) → part20_out_aaaa(T95, .(T98, T99), X170, .(T98, X171))
part20_in_aaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_aaaa(T95, T98, T102, X170, X171, le33_in_aa(T95, T98))
U6_aaaa(T95, T98, T102, X170, X171, le33_out_aa(T95, T98)) → U7_aaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
U7_aaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_aaaa(T95, .(T98, T102), X170, .(T98, X171))
part20_in_aaaa(T128, [], [], []) → part20_out_aaaa(T128, [], [], [])
U9_aaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_out_aaaa(T148, T149, X269, X270)) → p56_out_aaaaaaa(T148, T149, X269, X270, X271, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, X271, X272, X273) → U10_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U10_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U11_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
qs59_in_aa([], []) → qs59_out_aa([], [])
U11_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_out_aa(T153, X271)) → p56_out_aaaaaaa(T148, T149, T153, T154, X271, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, T160, X272, X273) → U12_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U12_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U13_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U13_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U14_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T154, X272)) → p56_out_aaaaaaa(T148, T149, T153, T154, T160, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, T160, T178, X273) → U15_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_in_aaaa(T148, T149, T153, T154))
U15_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_out_aaaa(T148, T149, T153, T154)) → U16_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U16_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U17_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_in_aaaa(T160, T148, T178, X273))
app70_in_aaaa(.(T201, T202), T203, T204, .(T201, X391)) → U20_aaaa(T201, T202, T203, T204, X391, app70_in_aaaa(T202, T203, T204, X391))
app70_in_aaaa([], T213, T214, .(T213, T214)) → app70_out_aaaa([], T213, T214, .(T213, T214))
U20_aaaa(T201, T202, T203, T204, X391, app70_out_aaaa(T202, T203, T204, X391)) → app70_out_aaaa(.(T201, T202), T203, T204, .(T201, X391))
U18_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_out_aaaa(T160, T148, T178, X273)) → p56_out_aaaaaaa(T148, T149, T153, T154, T160, T178, X273)
U19_aa(T171, T172, X335, p56_out_aaaaaaa(T171, T172, X331, X332, X333, X334, X335)) → qs59_out_aa(.(T171, T172), X335)
U11_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_out_aa(T153, X271)) → p56_out_gaaaaaa(T148, T149, T153, T154, X271, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, T160, X272, X273) → U12_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U12_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U13_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U13_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U14_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T154, X272)) → p56_out_gaaaaaa(T148, T149, T153, T154, T160, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, T160, T178, X273) → U15_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_in_gaaa(T148, T149, T153, T154))
U15_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_out_gaaa(T148, T149, T153, T154)) → U16_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U16_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U17_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_in_agaa(T160, T148, T178, X273))
app70_in_agaa(.(T201, T202), T203, T204, .(T201, X391)) → U20_agaa(T201, T202, T203, T204, X391, app70_in_agaa(T202, T203, T204, X391))
app70_in_agaa([], T213, T214, .(T213, T214)) → app70_out_agaa([], T213, T214, .(T213, T214))
U20_agaa(T201, T202, T203, T204, X391, app70_out_agaa(T202, T203, T204, X391)) → app70_out_agaa(.(T201, T202), T203, T204, .(T201, X391))
U18_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_out_agaa(T160, T148, T178, X273)) → p56_out_gaaaaaa(T148, T149, T153, T154, T160, T178, X273)
U37_gaa(T148, T149, X273, p56_out_gaaaaaa(T148, T149, X269, X270, X271, X272, X273)) → qs51_out_gaa(T148, T149, X273)
U48_ag(T31, T33, T32, T8, qs51_out_gaa(T33, T53, X9)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
U47_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U49_ag(T31, T33, T32, T8, T54, qs51_in_gaa(T33, T53, T131))
U49_ag(T31, T33, T32, T8, T54, qs51_out_gaa(T33, T53, T131)) → U50_ag(T31, T33, T32, T8, p52_in_aaagg(T54, X10, T131, T31, T8))
p52_in_aaagg(T54, X10, T131, T31, T8) → U33_aaagg(T54, X10, T131, T31, T8, qs80_in_aa(T54, X10))
qs80_in_aa(.(T230, T231), X452) → U22_aa(T230, T231, X452, part87_in_aaaa(T230, T231, X448, X449))
part87_in_aaaa(T256, .(T257, T258), .(T257, X503), X504) → U38_aaaa(T256, T257, T258, X503, X504, gt10_in_aa(T256, T257))
U38_aaaa(T256, T257, T258, X503, X504, gt10_out_aa(T256, T257)) → part87_out_aaaa(T256, .(T257, T258), .(T257, X503), X504)
part87_in_aaaa(T261, .(T257, T262), .(T257, X503), X504) → U39_aaaa(T261, T257, T262, X503, X504, gt10_in_aa(T261, T257))
U39_aaaa(T261, T257, T262, X503, X504, gt10_out_aa(T261, T257)) → U40_aaaa(T261, T257, T262, X503, X504, part20_in_gaaa(T261, T262, X503, X504))
U40_aaaa(T261, T257, T262, X503, X504, part20_out_gaaa(T261, T262, X503, X504)) → part87_out_aaaa(T261, .(T257, T262), .(T257, X503), X504)
part87_in_aaaa(T283, .(T284, T285), X554, .(T284, X555)) → U41_aaaa(T283, T284, T285, X554, X555, le100_in_aa(T283, T284))
le100_in_aa(s(T302), s(T303)) → U21_aa(T302, T303, le100_in_aa(T302, T303))
le100_in_aa(0, s(T310)) → le100_out_aa(0, s(T310))
le100_in_aa(0, 0) → le100_out_aa(0, 0)
U21_aa(T302, T303, le100_out_aa(T302, T303)) → le100_out_aa(s(T302), s(T303))
U41_aaaa(T283, T284, T285, X554, X555, le100_out_aa(T283, T284)) → part87_out_aaaa(T283, .(T284, T285), X554, .(T284, X555))
part87_in_aaaa(T288, .(T284, T289), X554, .(T284, X555)) → U42_aaaa(T288, T284, T289, X554, X555, le100_in_aa(T288, T284))
U42_aaaa(T288, T284, T289, X554, X555, le100_out_aa(T288, T284)) → U43_aaaa(T288, T284, T289, X554, X555, part20_in_gaaa(T288, T289, X554, X555))
U43_aaaa(T288, T284, T289, X554, X555, part20_out_gaaa(T288, T289, X554, X555)) → part87_out_aaaa(T288, .(T284, T289), X554, .(T284, X555))
part87_in_aaaa(T316, [], [], []) → part87_out_aaaa(T316, [], [], [])
U22_aa(T230, T231, X452, part87_out_aaaa(T230, T231, X448, X449)) → qs80_out_aa(.(T230, T231), X452)
qs80_in_aa(.(T237, T231), X452) → U23_aa(T237, T231, X452, part87_in_aaaa(T237, T231, T235, T236))
U23_aa(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U24_aa(T237, T231, X452, qs80_in_aa(T235, X450))
qs80_in_aa(.(T325, T231), X452) → U27_aa(T325, T231, X452, part87_in_aaaa(T325, T231, T235, T236))
U27_aa(T325, T231, X452, part87_out_aaaa(T325, T231, T235, T236)) → U28_aa(T325, T231, X452, T236, qs80_in_aa(T235, T319))
qs80_in_aa([], []) → qs80_out_aa([], [])
U28_aa(T325, T231, X452, T236, qs80_out_aa(T235, T319)) → U29_aa(T325, T231, X452, T319, qs80_in_aa(T236, T324))
U29_aa(T325, T231, X452, T319, qs80_out_aa(T236, T324)) → U30_aa(T325, T231, X452, app121_in_aaaa(T319, T325, T324, X452))
app121_in_aaaa(.(T348, T349), T352, T353, .(T348, X657)) → U31_aaaa(T348, T349, T352, T353, X657, app121_in_aaaa(T349, T352, T353, X657))
app121_in_aaaa([], T362, T363, .(T362, T363)) → app121_out_aaaa([], T362, T363, .(T362, T363))
U31_aaaa(T348, T349, T352, T353, X657, app121_out_aaaa(T349, T352, T353, X657)) → app121_out_aaaa(.(T348, T349), T352, T353, .(T348, X657))
U30_aa(T325, T231, X452, app121_out_aaaa(T319, T325, T324, X452)) → qs80_out_aa(.(T325, T231), X452)
U24_aa(T237, T231, X452, qs80_out_aa(T235, X450)) → qs80_out_aa(.(T237, T231), X452)
U23_aa(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U25_aa(T237, T231, X452, T236, qs80_in_aa(T235, T319))
U25_aa(T237, T231, X452, T236, qs80_out_aa(T235, T319)) → U26_aa(T237, T231, X452, qs80_in_aa(T236, X451))
U26_aa(T237, T231, X452, qs80_out_aa(T236, X451)) → qs80_out_aa(.(T237, T231), X452)
U33_aaagg(T54, X10, T131, T31, T8, qs80_out_aa(T54, X10)) → p52_out_aaagg(T54, X10, T131, T31, T8)
p52_in_aaagg(T54, T217, T131, T31, T8) → U34_aaagg(T54, T217, T131, T31, T8, qs80_in_aa(T54, T217))
U34_aaagg(T54, T217, T131, T31, T8, qs80_out_aa(T54, T217)) → U35_aaagg(T54, T217, T131, T31, T8, app81_in_agag(T131, T31, T217, T8))
app81_in_agag(.(T389, T390), T391, T394, .(T389, T393)) → U32_agag(T389, T390, T391, T394, T393, app81_in_agag(T390, T391, T394, T393))
app81_in_agag([], T404, T405, .(T404, T405)) → app81_out_agag([], T404, T405, .(T404, T405))
U32_agag(T389, T390, T391, T394, T393, app81_out_agag(T390, T391, T394, T393)) → app81_out_agag(.(T389, T390), T391, T394, .(T389, T393))
U35_aaagg(T54, T217, T131, T31, T8, app81_out_agag(T131, T31, T217, T8)) → p52_out_aaagg(T54, T217, T131, T31, T8)
U50_ag(T31, T33, T32, T8, p52_out_aaagg(T54, X10, T131, T31, T8)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
qs1_in_ag(.(T421, .(T422, T423)), T8) → U51_ag(T421, T422, T423, T8, le100_in_aa(T421, T422))
U51_ag(T421, T422, T423, T8, le100_out_aa(T421, T422)) → qs1_out_ag(.(T421, .(T422, T423)), T8)
qs1_in_ag(.(T426, .(T428, T427)), T8) → U52_ag(T426, T428, T427, T8, le100_in_aa(T426, T428))
U52_ag(T426, T428, T427, T8, le100_out_aa(T426, T428)) → U53_ag(T426, T428, T427, T8, part20_in_gaaa(T426, T427, X740, X741))
U53_ag(T426, T428, T427, T8, part20_out_gaaa(T426, T427, X740, X741)) → qs1_out_ag(.(T426, .(T428, T427)), T8)
qs1_in_ag(.(T426, .(T436, T427)), T8) → U54_ag(T426, T436, T427, T8, le100_in_aa(T426, T436))
U54_ag(T426, T436, T427, T8, le100_out_aa(T426, T436)) → U55_ag(T426, T436, T427, T8, part20_in_gaaa(T426, T427, T434, T435))
U55_ag(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U56_ag(T426, T436, T427, T8, qs80_in_aa(T434, X9))
U56_ag(T426, T436, T427, T8, qs80_out_aa(T434, X9)) → qs1_out_ag(.(T426, .(T436, T427)), T8)
U55_ag(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U57_ag(T426, T436, T427, T8, T435, qs80_in_aa(T434, T442))
U57_ag(T426, T436, T427, T8, T435, qs80_out_aa(T434, T442)) → U58_ag(T426, T436, T427, T8, p52_in_aaagg(.(T436, T435), X10, T442, T426, T8))
U58_ag(T426, T436, T427, T8, p52_out_aaagg(.(T436, T435), X10, T442, T426, T8)) → qs1_out_ag(.(T426, .(T436, T427)), T8)
qs1_in_ag(.(T452, []), T8) → U59_ag(T452, T8, qs155_in_a(X9))
qs155_in_a([]) → qs155_out_a([])
U59_ag(T452, T8, qs155_out_a(X9)) → qs1_out_ag(.(T452, []), T8)
qs1_in_ag(.(T452, []), T8) → U60_ag(T452, T8, qs155_in_a(T455))
U60_ag(T452, T8, qs155_out_a(T455)) → U61_ag(T452, T8, qs155_in_a(X10))
U61_ag(T452, T8, qs155_out_a(X10)) → qs1_out_ag(.(T452, []), T8)
U60_ag(T452, T8, qs155_out_a(T455)) → U62_ag(T452, T8, T455, qs155_in_a(T460))
U62_ag(T452, T8, T455, qs155_out_a(T460)) → U63_ag(T452, T8, app162_in_gagg(T455, T452, T460, T8))
app162_in_gagg(.(T486, T487), T491, T489, .(T486, T490)) → U36_gagg(T486, T487, T491, T489, T490, app162_in_gagg(T487, T491, T489, T490))
app162_in_gagg([], T501, T502, .(T501, T502)) → app162_out_gagg([], T501, T502, .(T501, T502))
U36_gagg(T486, T487, T491, T489, T490, app162_out_gagg(T487, T491, T489, T490)) → app162_out_gagg(.(T486, T487), T491, T489, .(T486, T490))
U63_ag(T452, T8, app162_out_gagg(T455, T452, T460, T8)) → qs1_out_ag(.(T452, []), T8)
qs1_in_ag([], []) → qs1_out_ag([], [])

The argument filtering Pi contains the following mapping:
qs1_in_ag(x1, x2)  =  qs1_in_ag(x2)
U44_ag(x1, x2, x3, x4, x5)  =  U44_ag(x5)
gt10_in_aa(x1, x2)  =  gt10_in_aa
U1_aa(x1, x2, x3)  =  U1_aa(x3)
gt10_out_aa(x1, x2)  =  gt10_out_aa(x1, x2)
qs1_out_ag(x1, x2)  =  qs1_out_ag
U45_ag(x1, x2, x3, x4, x5)  =  U45_ag(x4, x5)
U46_ag(x1, x2, x3, x4, x5)  =  U46_ag(x5)
part20_in_gaaa(x1, x2, x3, x4)  =  part20_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x6)
gt10_in_ga(x1, x2)  =  gt10_in_ga(x1)
s(x1)  =  s(x1)
U1_ga(x1, x2, x3)  =  U1_ga(x3)
0  =  0
gt10_out_ga(x1, x2)  =  gt10_out_ga(x2)
part20_out_gaaa(x1, x2, x3, x4)  =  part20_out_gaaa
U3_gaaa(x1, x2, x3, x4, x5, x6)  =  U3_gaaa(x1, x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x6)
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x6)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U8_ga(x1, x2, x3)  =  U8_ga(x3)
le33_out_ga(x1, x2)  =  le33_out_ga
U6_gaaa(x1, x2, x3, x4, x5, x6)  =  U6_gaaa(x1, x6)
U7_gaaa(x1, x2, x3, x4, x5, x6)  =  U7_gaaa(x6)
U47_ag(x1, x2, x3, x4, x5)  =  U47_ag(x1, x2, x4, x5)
U48_ag(x1, x2, x3, x4, x5)  =  U48_ag(x5)
qs51_in_gaa(x1, x2, x3)  =  qs51_in_gaa(x1)
U37_gaa(x1, x2, x3, x4)  =  U37_gaa(x4)
p56_in_gaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_in_gaaaaaa(x1)
U9_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_gaaaaaa(x8)
p56_out_gaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_out_gaaaaaa
U10_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_gaaaaaa(x8)
U11_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_gaaaaaa(x8)
qs59_in_aa(x1, x2)  =  qs59_in_aa
U19_aa(x1, x2, x3, x4)  =  U19_aa(x4)
p56_in_aaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_in_aaaaaaa
U9_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_aaaaaaa(x8)
part20_in_aaaa(x1, x2, x3, x4)  =  part20_in_aaaa
U2_aaaa(x1, x2, x3, x4, x5, x6)  =  U2_aaaa(x6)
part20_out_aaaa(x1, x2, x3, x4)  =  part20_out_aaaa
U3_aaaa(x1, x2, x3, x4, x5, x6)  =  U3_aaaa(x6)
U4_aaaa(x1, x2, x3, x4, x5, x6)  =  U4_aaaa(x6)
U5_aaaa(x1, x2, x3, x4, x5, x6)  =  U5_aaaa(x6)
le33_in_aa(x1, x2)  =  le33_in_aa
U8_aa(x1, x2, x3)  =  U8_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
U6_aaaa(x1, x2, x3, x4, x5, x6)  =  U6_aaaa(x6)
U7_aaaa(x1, x2, x3, x4, x5, x6)  =  U7_aaaa(x6)
p56_out_aaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_out_aaaaaaa
U10_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_aaaaaaa(x8)
U11_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_aaaaaaa(x8)
qs59_out_aa(x1, x2)  =  qs59_out_aa
U12_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_aaaaaaa(x8)
U13_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_aaaaaaa(x8)
U14_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_aaaaaaa(x8)
U15_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_aaaaaaa(x8)
U16_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_aaaaaaa(x8)
U17_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_aaaaaaa(x8)
U18_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_aaaaaaa(x8)
.(x1, x2)  =  .(x1, x2)
[]  =  []
app70_in_aaaa(x1, x2, x3, x4)  =  app70_in_aaaa
U20_aaaa(x1, x2, x3, x4, x5, x6)  =  U20_aaaa(x6)
app70_out_aaaa(x1, x2, x3, x4)  =  app70_out_aaaa
U12_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_gaaaaaa(x8)
U13_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_gaaaaaa(x8)
U14_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_gaaaaaa(x8)
U15_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_gaaaaaa(x1, x8)
U16_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_gaaaaaa(x1, x8)
U17_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_gaaaaaa(x1, x8)
U18_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_gaaaaaa(x8)
app70_in_agaa(x1, x2, x3, x4)  =  app70_in_agaa(x2)
U20_agaa(x1, x2, x3, x4, x5, x6)  =  U20_agaa(x6)
app70_out_agaa(x1, x2, x3, x4)  =  app70_out_agaa
qs51_out_gaa(x1, x2, x3)  =  qs51_out_gaa
U49_ag(x1, x2, x3, x4, x5, x6)  =  U49_ag(x1, x4, x6)
U50_ag(x1, x2, x3, x4, x5)  =  U50_ag(x5)
p52_in_aaagg(x1, x2, x3, x4, x5)  =  p52_in_aaagg(x4, x5)
U33_aaagg(x1, x2, x3, x4, x5, x6)  =  U33_aaagg(x6)
qs80_in_aa(x1, x2)  =  qs80_in_aa
U22_aa(x1, x2, x3, x4)  =  U22_aa(x4)
part87_in_aaaa(x1, x2, x3, x4)  =  part87_in_aaaa
U38_aaaa(x1, x2, x3, x4, x5, x6)  =  U38_aaaa(x6)
part87_out_aaaa(x1, x2, x3, x4)  =  part87_out_aaaa
U39_aaaa(x1, x2, x3, x4, x5, x6)  =  U39_aaaa(x6)
U40_aaaa(x1, x2, x3, x4, x5, x6)  =  U40_aaaa(x6)
U41_aaaa(x1, x2, x3, x4, x5, x6)  =  U41_aaaa(x6)
le100_in_aa(x1, x2)  =  le100_in_aa
U21_aa(x1, x2, x3)  =  U21_aa(x3)
le100_out_aa(x1, x2)  =  le100_out_aa(x1)
U42_aaaa(x1, x2, x3, x4, x5, x6)  =  U42_aaaa(x6)
U43_aaaa(x1, x2, x3, x4, x5, x6)  =  U43_aaaa(x6)
qs80_out_aa(x1, x2)  =  qs80_out_aa
U23_aa(x1, x2, x3, x4)  =  U23_aa(x4)
U24_aa(x1, x2, x3, x4)  =  U24_aa(x4)
U27_aa(x1, x2, x3, x4)  =  U27_aa(x4)
U28_aa(x1, x2, x3, x4, x5)  =  U28_aa(x5)
U29_aa(x1, x2, x3, x4, x5)  =  U29_aa(x5)
U30_aa(x1, x2, x3, x4)  =  U30_aa(x4)
app121_in_aaaa(x1, x2, x3, x4)  =  app121_in_aaaa
U31_aaaa(x1, x2, x3, x4, x5, x6)  =  U31_aaaa(x6)
app121_out_aaaa(x1, x2, x3, x4)  =  app121_out_aaaa
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
U26_aa(x1, x2, x3, x4)  =  U26_aa(x4)
p52_out_aaagg(x1, x2, x3, x4, x5)  =  p52_out_aaagg
U34_aaagg(x1, x2, x3, x4, x5, x6)  =  U34_aaagg(x4, x5, x6)
U35_aaagg(x1, x2, x3, x4, x5, x6)  =  U35_aaagg(x6)
app81_in_agag(x1, x2, x3, x4)  =  app81_in_agag(x2, x4)
U32_agag(x1, x2, x3, x4, x5, x6)  =  U32_agag(x1, x6)
app81_out_agag(x1, x2, x3, x4)  =  app81_out_agag(x1, x3)
U51_ag(x1, x2, x3, x4, x5)  =  U51_ag(x5)
U52_ag(x1, x2, x3, x4, x5)  =  U52_ag(x5)
U53_ag(x1, x2, x3, x4, x5)  =  U53_ag(x5)
U54_ag(x1, x2, x3, x4, x5)  =  U54_ag(x4, x5)
U55_ag(x1, x2, x3, x4, x5)  =  U55_ag(x1, x4, x5)
U56_ag(x1, x2, x3, x4, x5)  =  U56_ag(x5)
U57_ag(x1, x2, x3, x4, x5, x6)  =  U57_ag(x1, x4, x6)
U58_ag(x1, x2, x3, x4, x5)  =  U58_ag(x5)
U59_ag(x1, x2, x3)  =  U59_ag(x3)
qs155_in_a(x1)  =  qs155_in_a
qs155_out_a(x1)  =  qs155_out_a(x1)
U60_ag(x1, x2, x3)  =  U60_ag(x2, x3)
U61_ag(x1, x2, x3)  =  U61_ag(x3)
U62_ag(x1, x2, x3, x4)  =  U62_ag(x2, x3, x4)
U63_ag(x1, x2, x3)  =  U63_ag(x3)
app162_in_gagg(x1, x2, x3, x4)  =  app162_in_gagg(x1, x3, x4)
U36_gagg(x1, x2, x3, x4, x5, x6)  =  U36_gagg(x6)
app162_out_gagg(x1, x2, x3, x4)  =  app162_out_gagg(x2)
APP121_IN_AAAA(x1, x2, x3, x4)  =  APP121_IN_AAAA

We have to consider all (P,R,Pi)-chains

(157) UsableRulesProof (EQUIVALENT transformation)

For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R.

(158) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

APP121_IN_AAAA(.(T348, T349), T352, T353, .(T348, X657)) → APP121_IN_AAAA(T349, T352, T353, X657)

R is empty.
The argument filtering Pi contains the following mapping:
.(x1, x2)  =  .(x1, x2)
APP121_IN_AAAA(x1, x2, x3, x4)  =  APP121_IN_AAAA

We have to consider all (P,R,Pi)-chains

(159) PiDPToQDPProof (SOUND transformation)

Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi.

(160) Obligation:

Q DP problem:
The TRS P consists of the following rules:

APP121_IN_AAAAAPP121_IN_AAAA

R is empty.
Q is empty.
We have to consider all (P,Q,R)-chains.

(161) NonTerminationProof (EQUIVALENT transformation)

We used the non-termination processor [FROCOS05] to show that the DP problem is infinite.
Found a loop by semiunifying a rule from P directly.

s = APP121_IN_AAAA evaluates to t =APP121_IN_AAAA

Thus s starts an infinite chain as s semiunifies with t with the following substitutions:
  • Matcher: [ ]
  • Semiunifier: [ ]




Rewriting sequence

The DP semiunifies directly so there is only one rewrite step from APP121_IN_AAAA to APP121_IN_AAAA.



(162) NO

(163) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

LE100_IN_AA(s(T302), s(T303)) → LE100_IN_AA(T302, T303)

The TRS R consists of the following rules:

qs1_in_ag(.(T26, .(T27, T28)), T8) → U44_ag(T26, T27, T28, T8, gt10_in_aa(T26, T27))
gt10_in_aa(s(T46), s(T47)) → U1_aa(T46, T47, gt10_in_aa(T46, T47))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U1_aa(T46, T47, gt10_out_aa(T46, T47)) → gt10_out_aa(s(T46), s(T47))
U44_ag(T26, T27, T28, T8, gt10_out_aa(T26, T27)) → qs1_out_ag(.(T26, .(T27, T28)), T8)
qs1_in_ag(.(T31, .(T33, T32)), T8) → U45_ag(T31, T33, T32, T8, gt10_in_aa(T31, T33))
U45_ag(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U46_ag(T31, T33, T32, T8, part20_in_gaaa(T31, T32, X47, X48))
part20_in_gaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_gaaa(T70, T73, T74, X119, X120, gt10_in_ga(T70, T73))
gt10_in_ga(s(T46), s(T47)) → U1_ga(T46, T47, gt10_in_ga(T46, T47))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U1_ga(T46, T47, gt10_out_ga(T46, T47)) → gt10_out_ga(s(T46), s(T47))
U2_gaaa(T70, T73, T74, X119, X120, gt10_out_ga(T70, T73)) → part20_out_gaaa(T70, .(T73, T74), .(T73, X119), X120)
part20_in_gaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_gaaa(T70, T73, T77, X119, X120, gt10_in_ga(T70, T73))
U3_gaaa(T70, T73, T77, X119, X120, gt10_out_ga(T70, T73)) → U4_gaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
part20_in_gaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_gaaa(T95, T98, T99, X170, X171, le33_in_ga(T95, T98))
le33_in_ga(s(T113), s(T115)) → U8_ga(T113, T115, le33_in_ga(T113, T115))
le33_in_ga(0, s(T122)) → le33_out_ga(0, s(T122))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U8_ga(T113, T115, le33_out_ga(T113, T115)) → le33_out_ga(s(T113), s(T115))
U5_gaaa(T95, T98, T99, X170, X171, le33_out_ga(T95, T98)) → part20_out_gaaa(T95, .(T98, T99), X170, .(T98, X171))
part20_in_gaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_gaaa(T95, T98, T102, X170, X171, le33_in_ga(T95, T98))
U6_gaaa(T95, T98, T102, X170, X171, le33_out_ga(T95, T98)) → U7_gaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
part20_in_gaaa(T128, [], [], []) → part20_out_gaaa(T128, [], [], [])
U7_gaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_gaaa(T95, .(T98, T102), X170, .(T98, X171))
U4_gaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_gaaa(T70, .(T73, T77), .(T73, X119), X120)
U46_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, X47, X48)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
U45_ag(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U47_ag(T31, T33, T32, T8, part20_in_gaaa(T31, T32, T53, T54))
U47_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U48_ag(T31, T33, T32, T8, qs51_in_gaa(T33, T53, X9))
qs51_in_gaa(T148, T149, X273) → U37_gaa(T148, T149, X273, p56_in_gaaaaaa(T148, T149, X269, X270, X271, X272, X273))
p56_in_gaaaaaa(T148, T149, X269, X270, X271, X272, X273) → U9_gaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_in_gaaa(T148, T149, X269, X270))
U9_gaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_out_gaaa(T148, T149, X269, X270)) → p56_out_gaaaaaa(T148, T149, X269, X270, X271, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, X271, X272, X273) → U10_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U10_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U11_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
qs59_in_aa(.(T171, T172), X335) → U19_aa(T171, T172, X335, p56_in_aaaaaaa(T171, T172, X331, X332, X333, X334, X335))
p56_in_aaaaaaa(T148, T149, X269, X270, X271, X272, X273) → U9_aaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_in_aaaa(T148, T149, X269, X270))
part20_in_aaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_aaaa(T70, T73, T74, X119, X120, gt10_in_aa(T70, T73))
U2_aaaa(T70, T73, T74, X119, X120, gt10_out_aa(T70, T73)) → part20_out_aaaa(T70, .(T73, T74), .(T73, X119), X120)
part20_in_aaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_aaaa(T70, T73, T77, X119, X120, gt10_in_aa(T70, T73))
U3_aaaa(T70, T73, T77, X119, X120, gt10_out_aa(T70, T73)) → U4_aaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
U4_aaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_aaaa(T70, .(T73, T77), .(T73, X119), X120)
part20_in_aaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_aaaa(T95, T98, T99, X170, X171, le33_in_aa(T95, T98))
le33_in_aa(s(T113), s(T115)) → U8_aa(T113, T115, le33_in_aa(T113, T115))
le33_in_aa(0, s(T122)) → le33_out_aa(0, s(T122))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U8_aa(T113, T115, le33_out_aa(T113, T115)) → le33_out_aa(s(T113), s(T115))
U5_aaaa(T95, T98, T99, X170, X171, le33_out_aa(T95, T98)) → part20_out_aaaa(T95, .(T98, T99), X170, .(T98, X171))
part20_in_aaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_aaaa(T95, T98, T102, X170, X171, le33_in_aa(T95, T98))
U6_aaaa(T95, T98, T102, X170, X171, le33_out_aa(T95, T98)) → U7_aaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
U7_aaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_aaaa(T95, .(T98, T102), X170, .(T98, X171))
part20_in_aaaa(T128, [], [], []) → part20_out_aaaa(T128, [], [], [])
U9_aaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_out_aaaa(T148, T149, X269, X270)) → p56_out_aaaaaaa(T148, T149, X269, X270, X271, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, X271, X272, X273) → U10_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U10_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U11_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
qs59_in_aa([], []) → qs59_out_aa([], [])
U11_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_out_aa(T153, X271)) → p56_out_aaaaaaa(T148, T149, T153, T154, X271, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, T160, X272, X273) → U12_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U12_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U13_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U13_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U14_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T154, X272)) → p56_out_aaaaaaa(T148, T149, T153, T154, T160, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, T160, T178, X273) → U15_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_in_aaaa(T148, T149, T153, T154))
U15_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_out_aaaa(T148, T149, T153, T154)) → U16_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U16_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U17_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_in_aaaa(T160, T148, T178, X273))
app70_in_aaaa(.(T201, T202), T203, T204, .(T201, X391)) → U20_aaaa(T201, T202, T203, T204, X391, app70_in_aaaa(T202, T203, T204, X391))
app70_in_aaaa([], T213, T214, .(T213, T214)) → app70_out_aaaa([], T213, T214, .(T213, T214))
U20_aaaa(T201, T202, T203, T204, X391, app70_out_aaaa(T202, T203, T204, X391)) → app70_out_aaaa(.(T201, T202), T203, T204, .(T201, X391))
U18_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_out_aaaa(T160, T148, T178, X273)) → p56_out_aaaaaaa(T148, T149, T153, T154, T160, T178, X273)
U19_aa(T171, T172, X335, p56_out_aaaaaaa(T171, T172, X331, X332, X333, X334, X335)) → qs59_out_aa(.(T171, T172), X335)
U11_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_out_aa(T153, X271)) → p56_out_gaaaaaa(T148, T149, T153, T154, X271, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, T160, X272, X273) → U12_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U12_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U13_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U13_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U14_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T154, X272)) → p56_out_gaaaaaa(T148, T149, T153, T154, T160, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, T160, T178, X273) → U15_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_in_gaaa(T148, T149, T153, T154))
U15_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_out_gaaa(T148, T149, T153, T154)) → U16_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U16_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U17_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_in_agaa(T160, T148, T178, X273))
app70_in_agaa(.(T201, T202), T203, T204, .(T201, X391)) → U20_agaa(T201, T202, T203, T204, X391, app70_in_agaa(T202, T203, T204, X391))
app70_in_agaa([], T213, T214, .(T213, T214)) → app70_out_agaa([], T213, T214, .(T213, T214))
U20_agaa(T201, T202, T203, T204, X391, app70_out_agaa(T202, T203, T204, X391)) → app70_out_agaa(.(T201, T202), T203, T204, .(T201, X391))
U18_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_out_agaa(T160, T148, T178, X273)) → p56_out_gaaaaaa(T148, T149, T153, T154, T160, T178, X273)
U37_gaa(T148, T149, X273, p56_out_gaaaaaa(T148, T149, X269, X270, X271, X272, X273)) → qs51_out_gaa(T148, T149, X273)
U48_ag(T31, T33, T32, T8, qs51_out_gaa(T33, T53, X9)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
U47_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U49_ag(T31, T33, T32, T8, T54, qs51_in_gaa(T33, T53, T131))
U49_ag(T31, T33, T32, T8, T54, qs51_out_gaa(T33, T53, T131)) → U50_ag(T31, T33, T32, T8, p52_in_aaagg(T54, X10, T131, T31, T8))
p52_in_aaagg(T54, X10, T131, T31, T8) → U33_aaagg(T54, X10, T131, T31, T8, qs80_in_aa(T54, X10))
qs80_in_aa(.(T230, T231), X452) → U22_aa(T230, T231, X452, part87_in_aaaa(T230, T231, X448, X449))
part87_in_aaaa(T256, .(T257, T258), .(T257, X503), X504) → U38_aaaa(T256, T257, T258, X503, X504, gt10_in_aa(T256, T257))
U38_aaaa(T256, T257, T258, X503, X504, gt10_out_aa(T256, T257)) → part87_out_aaaa(T256, .(T257, T258), .(T257, X503), X504)
part87_in_aaaa(T261, .(T257, T262), .(T257, X503), X504) → U39_aaaa(T261, T257, T262, X503, X504, gt10_in_aa(T261, T257))
U39_aaaa(T261, T257, T262, X503, X504, gt10_out_aa(T261, T257)) → U40_aaaa(T261, T257, T262, X503, X504, part20_in_gaaa(T261, T262, X503, X504))
U40_aaaa(T261, T257, T262, X503, X504, part20_out_gaaa(T261, T262, X503, X504)) → part87_out_aaaa(T261, .(T257, T262), .(T257, X503), X504)
part87_in_aaaa(T283, .(T284, T285), X554, .(T284, X555)) → U41_aaaa(T283, T284, T285, X554, X555, le100_in_aa(T283, T284))
le100_in_aa(s(T302), s(T303)) → U21_aa(T302, T303, le100_in_aa(T302, T303))
le100_in_aa(0, s(T310)) → le100_out_aa(0, s(T310))
le100_in_aa(0, 0) → le100_out_aa(0, 0)
U21_aa(T302, T303, le100_out_aa(T302, T303)) → le100_out_aa(s(T302), s(T303))
U41_aaaa(T283, T284, T285, X554, X555, le100_out_aa(T283, T284)) → part87_out_aaaa(T283, .(T284, T285), X554, .(T284, X555))
part87_in_aaaa(T288, .(T284, T289), X554, .(T284, X555)) → U42_aaaa(T288, T284, T289, X554, X555, le100_in_aa(T288, T284))
U42_aaaa(T288, T284, T289, X554, X555, le100_out_aa(T288, T284)) → U43_aaaa(T288, T284, T289, X554, X555, part20_in_gaaa(T288, T289, X554, X555))
U43_aaaa(T288, T284, T289, X554, X555, part20_out_gaaa(T288, T289, X554, X555)) → part87_out_aaaa(T288, .(T284, T289), X554, .(T284, X555))
part87_in_aaaa(T316, [], [], []) → part87_out_aaaa(T316, [], [], [])
U22_aa(T230, T231, X452, part87_out_aaaa(T230, T231, X448, X449)) → qs80_out_aa(.(T230, T231), X452)
qs80_in_aa(.(T237, T231), X452) → U23_aa(T237, T231, X452, part87_in_aaaa(T237, T231, T235, T236))
U23_aa(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U24_aa(T237, T231, X452, qs80_in_aa(T235, X450))
qs80_in_aa(.(T325, T231), X452) → U27_aa(T325, T231, X452, part87_in_aaaa(T325, T231, T235, T236))
U27_aa(T325, T231, X452, part87_out_aaaa(T325, T231, T235, T236)) → U28_aa(T325, T231, X452, T236, qs80_in_aa(T235, T319))
qs80_in_aa([], []) → qs80_out_aa([], [])
U28_aa(T325, T231, X452, T236, qs80_out_aa(T235, T319)) → U29_aa(T325, T231, X452, T319, qs80_in_aa(T236, T324))
U29_aa(T325, T231, X452, T319, qs80_out_aa(T236, T324)) → U30_aa(T325, T231, X452, app121_in_aaaa(T319, T325, T324, X452))
app121_in_aaaa(.(T348, T349), T352, T353, .(T348, X657)) → U31_aaaa(T348, T349, T352, T353, X657, app121_in_aaaa(T349, T352, T353, X657))
app121_in_aaaa([], T362, T363, .(T362, T363)) → app121_out_aaaa([], T362, T363, .(T362, T363))
U31_aaaa(T348, T349, T352, T353, X657, app121_out_aaaa(T349, T352, T353, X657)) → app121_out_aaaa(.(T348, T349), T352, T353, .(T348, X657))
U30_aa(T325, T231, X452, app121_out_aaaa(T319, T325, T324, X452)) → qs80_out_aa(.(T325, T231), X452)
U24_aa(T237, T231, X452, qs80_out_aa(T235, X450)) → qs80_out_aa(.(T237, T231), X452)
U23_aa(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U25_aa(T237, T231, X452, T236, qs80_in_aa(T235, T319))
U25_aa(T237, T231, X452, T236, qs80_out_aa(T235, T319)) → U26_aa(T237, T231, X452, qs80_in_aa(T236, X451))
U26_aa(T237, T231, X452, qs80_out_aa(T236, X451)) → qs80_out_aa(.(T237, T231), X452)
U33_aaagg(T54, X10, T131, T31, T8, qs80_out_aa(T54, X10)) → p52_out_aaagg(T54, X10, T131, T31, T8)
p52_in_aaagg(T54, T217, T131, T31, T8) → U34_aaagg(T54, T217, T131, T31, T8, qs80_in_aa(T54, T217))
U34_aaagg(T54, T217, T131, T31, T8, qs80_out_aa(T54, T217)) → U35_aaagg(T54, T217, T131, T31, T8, app81_in_agag(T131, T31, T217, T8))
app81_in_agag(.(T389, T390), T391, T394, .(T389, T393)) → U32_agag(T389, T390, T391, T394, T393, app81_in_agag(T390, T391, T394, T393))
app81_in_agag([], T404, T405, .(T404, T405)) → app81_out_agag([], T404, T405, .(T404, T405))
U32_agag(T389, T390, T391, T394, T393, app81_out_agag(T390, T391, T394, T393)) → app81_out_agag(.(T389, T390), T391, T394, .(T389, T393))
U35_aaagg(T54, T217, T131, T31, T8, app81_out_agag(T131, T31, T217, T8)) → p52_out_aaagg(T54, T217, T131, T31, T8)
U50_ag(T31, T33, T32, T8, p52_out_aaagg(T54, X10, T131, T31, T8)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
qs1_in_ag(.(T421, .(T422, T423)), T8) → U51_ag(T421, T422, T423, T8, le100_in_aa(T421, T422))
U51_ag(T421, T422, T423, T8, le100_out_aa(T421, T422)) → qs1_out_ag(.(T421, .(T422, T423)), T8)
qs1_in_ag(.(T426, .(T428, T427)), T8) → U52_ag(T426, T428, T427, T8, le100_in_aa(T426, T428))
U52_ag(T426, T428, T427, T8, le100_out_aa(T426, T428)) → U53_ag(T426, T428, T427, T8, part20_in_gaaa(T426, T427, X740, X741))
U53_ag(T426, T428, T427, T8, part20_out_gaaa(T426, T427, X740, X741)) → qs1_out_ag(.(T426, .(T428, T427)), T8)
qs1_in_ag(.(T426, .(T436, T427)), T8) → U54_ag(T426, T436, T427, T8, le100_in_aa(T426, T436))
U54_ag(T426, T436, T427, T8, le100_out_aa(T426, T436)) → U55_ag(T426, T436, T427, T8, part20_in_gaaa(T426, T427, T434, T435))
U55_ag(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U56_ag(T426, T436, T427, T8, qs80_in_aa(T434, X9))
U56_ag(T426, T436, T427, T8, qs80_out_aa(T434, X9)) → qs1_out_ag(.(T426, .(T436, T427)), T8)
U55_ag(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U57_ag(T426, T436, T427, T8, T435, qs80_in_aa(T434, T442))
U57_ag(T426, T436, T427, T8, T435, qs80_out_aa(T434, T442)) → U58_ag(T426, T436, T427, T8, p52_in_aaagg(.(T436, T435), X10, T442, T426, T8))
U58_ag(T426, T436, T427, T8, p52_out_aaagg(.(T436, T435), X10, T442, T426, T8)) → qs1_out_ag(.(T426, .(T436, T427)), T8)
qs1_in_ag(.(T452, []), T8) → U59_ag(T452, T8, qs155_in_a(X9))
qs155_in_a([]) → qs155_out_a([])
U59_ag(T452, T8, qs155_out_a(X9)) → qs1_out_ag(.(T452, []), T8)
qs1_in_ag(.(T452, []), T8) → U60_ag(T452, T8, qs155_in_a(T455))
U60_ag(T452, T8, qs155_out_a(T455)) → U61_ag(T452, T8, qs155_in_a(X10))
U61_ag(T452, T8, qs155_out_a(X10)) → qs1_out_ag(.(T452, []), T8)
U60_ag(T452, T8, qs155_out_a(T455)) → U62_ag(T452, T8, T455, qs155_in_a(T460))
U62_ag(T452, T8, T455, qs155_out_a(T460)) → U63_ag(T452, T8, app162_in_gagg(T455, T452, T460, T8))
app162_in_gagg(.(T486, T487), T491, T489, .(T486, T490)) → U36_gagg(T486, T487, T491, T489, T490, app162_in_gagg(T487, T491, T489, T490))
app162_in_gagg([], T501, T502, .(T501, T502)) → app162_out_gagg([], T501, T502, .(T501, T502))
U36_gagg(T486, T487, T491, T489, T490, app162_out_gagg(T487, T491, T489, T490)) → app162_out_gagg(.(T486, T487), T491, T489, .(T486, T490))
U63_ag(T452, T8, app162_out_gagg(T455, T452, T460, T8)) → qs1_out_ag(.(T452, []), T8)
qs1_in_ag([], []) → qs1_out_ag([], [])

The argument filtering Pi contains the following mapping:
qs1_in_ag(x1, x2)  =  qs1_in_ag(x2)
U44_ag(x1, x2, x3, x4, x5)  =  U44_ag(x5)
gt10_in_aa(x1, x2)  =  gt10_in_aa
U1_aa(x1, x2, x3)  =  U1_aa(x3)
gt10_out_aa(x1, x2)  =  gt10_out_aa(x1, x2)
qs1_out_ag(x1, x2)  =  qs1_out_ag
U45_ag(x1, x2, x3, x4, x5)  =  U45_ag(x4, x5)
U46_ag(x1, x2, x3, x4, x5)  =  U46_ag(x5)
part20_in_gaaa(x1, x2, x3, x4)  =  part20_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x6)
gt10_in_ga(x1, x2)  =  gt10_in_ga(x1)
s(x1)  =  s(x1)
U1_ga(x1, x2, x3)  =  U1_ga(x3)
0  =  0
gt10_out_ga(x1, x2)  =  gt10_out_ga(x2)
part20_out_gaaa(x1, x2, x3, x4)  =  part20_out_gaaa
U3_gaaa(x1, x2, x3, x4, x5, x6)  =  U3_gaaa(x1, x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x6)
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x6)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U8_ga(x1, x2, x3)  =  U8_ga(x3)
le33_out_ga(x1, x2)  =  le33_out_ga
U6_gaaa(x1, x2, x3, x4, x5, x6)  =  U6_gaaa(x1, x6)
U7_gaaa(x1, x2, x3, x4, x5, x6)  =  U7_gaaa(x6)
U47_ag(x1, x2, x3, x4, x5)  =  U47_ag(x1, x2, x4, x5)
U48_ag(x1, x2, x3, x4, x5)  =  U48_ag(x5)
qs51_in_gaa(x1, x2, x3)  =  qs51_in_gaa(x1)
U37_gaa(x1, x2, x3, x4)  =  U37_gaa(x4)
p56_in_gaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_in_gaaaaaa(x1)
U9_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_gaaaaaa(x8)
p56_out_gaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_out_gaaaaaa
U10_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_gaaaaaa(x8)
U11_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_gaaaaaa(x8)
qs59_in_aa(x1, x2)  =  qs59_in_aa
U19_aa(x1, x2, x3, x4)  =  U19_aa(x4)
p56_in_aaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_in_aaaaaaa
U9_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_aaaaaaa(x8)
part20_in_aaaa(x1, x2, x3, x4)  =  part20_in_aaaa
U2_aaaa(x1, x2, x3, x4, x5, x6)  =  U2_aaaa(x6)
part20_out_aaaa(x1, x2, x3, x4)  =  part20_out_aaaa
U3_aaaa(x1, x2, x3, x4, x5, x6)  =  U3_aaaa(x6)
U4_aaaa(x1, x2, x3, x4, x5, x6)  =  U4_aaaa(x6)
U5_aaaa(x1, x2, x3, x4, x5, x6)  =  U5_aaaa(x6)
le33_in_aa(x1, x2)  =  le33_in_aa
U8_aa(x1, x2, x3)  =  U8_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
U6_aaaa(x1, x2, x3, x4, x5, x6)  =  U6_aaaa(x6)
U7_aaaa(x1, x2, x3, x4, x5, x6)  =  U7_aaaa(x6)
p56_out_aaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_out_aaaaaaa
U10_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_aaaaaaa(x8)
U11_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_aaaaaaa(x8)
qs59_out_aa(x1, x2)  =  qs59_out_aa
U12_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_aaaaaaa(x8)
U13_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_aaaaaaa(x8)
U14_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_aaaaaaa(x8)
U15_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_aaaaaaa(x8)
U16_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_aaaaaaa(x8)
U17_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_aaaaaaa(x8)
U18_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_aaaaaaa(x8)
.(x1, x2)  =  .(x1, x2)
[]  =  []
app70_in_aaaa(x1, x2, x3, x4)  =  app70_in_aaaa
U20_aaaa(x1, x2, x3, x4, x5, x6)  =  U20_aaaa(x6)
app70_out_aaaa(x1, x2, x3, x4)  =  app70_out_aaaa
U12_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_gaaaaaa(x8)
U13_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_gaaaaaa(x8)
U14_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_gaaaaaa(x8)
U15_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_gaaaaaa(x1, x8)
U16_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_gaaaaaa(x1, x8)
U17_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_gaaaaaa(x1, x8)
U18_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_gaaaaaa(x8)
app70_in_agaa(x1, x2, x3, x4)  =  app70_in_agaa(x2)
U20_agaa(x1, x2, x3, x4, x5, x6)  =  U20_agaa(x6)
app70_out_agaa(x1, x2, x3, x4)  =  app70_out_agaa
qs51_out_gaa(x1, x2, x3)  =  qs51_out_gaa
U49_ag(x1, x2, x3, x4, x5, x6)  =  U49_ag(x1, x4, x6)
U50_ag(x1, x2, x3, x4, x5)  =  U50_ag(x5)
p52_in_aaagg(x1, x2, x3, x4, x5)  =  p52_in_aaagg(x4, x5)
U33_aaagg(x1, x2, x3, x4, x5, x6)  =  U33_aaagg(x6)
qs80_in_aa(x1, x2)  =  qs80_in_aa
U22_aa(x1, x2, x3, x4)  =  U22_aa(x4)
part87_in_aaaa(x1, x2, x3, x4)  =  part87_in_aaaa
U38_aaaa(x1, x2, x3, x4, x5, x6)  =  U38_aaaa(x6)
part87_out_aaaa(x1, x2, x3, x4)  =  part87_out_aaaa
U39_aaaa(x1, x2, x3, x4, x5, x6)  =  U39_aaaa(x6)
U40_aaaa(x1, x2, x3, x4, x5, x6)  =  U40_aaaa(x6)
U41_aaaa(x1, x2, x3, x4, x5, x6)  =  U41_aaaa(x6)
le100_in_aa(x1, x2)  =  le100_in_aa
U21_aa(x1, x2, x3)  =  U21_aa(x3)
le100_out_aa(x1, x2)  =  le100_out_aa(x1)
U42_aaaa(x1, x2, x3, x4, x5, x6)  =  U42_aaaa(x6)
U43_aaaa(x1, x2, x3, x4, x5, x6)  =  U43_aaaa(x6)
qs80_out_aa(x1, x2)  =  qs80_out_aa
U23_aa(x1, x2, x3, x4)  =  U23_aa(x4)
U24_aa(x1, x2, x3, x4)  =  U24_aa(x4)
U27_aa(x1, x2, x3, x4)  =  U27_aa(x4)
U28_aa(x1, x2, x3, x4, x5)  =  U28_aa(x5)
U29_aa(x1, x2, x3, x4, x5)  =  U29_aa(x5)
U30_aa(x1, x2, x3, x4)  =  U30_aa(x4)
app121_in_aaaa(x1, x2, x3, x4)  =  app121_in_aaaa
U31_aaaa(x1, x2, x3, x4, x5, x6)  =  U31_aaaa(x6)
app121_out_aaaa(x1, x2, x3, x4)  =  app121_out_aaaa
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
U26_aa(x1, x2, x3, x4)  =  U26_aa(x4)
p52_out_aaagg(x1, x2, x3, x4, x5)  =  p52_out_aaagg
U34_aaagg(x1, x2, x3, x4, x5, x6)  =  U34_aaagg(x4, x5, x6)
U35_aaagg(x1, x2, x3, x4, x5, x6)  =  U35_aaagg(x6)
app81_in_agag(x1, x2, x3, x4)  =  app81_in_agag(x2, x4)
U32_agag(x1, x2, x3, x4, x5, x6)  =  U32_agag(x1, x6)
app81_out_agag(x1, x2, x3, x4)  =  app81_out_agag(x1, x3)
U51_ag(x1, x2, x3, x4, x5)  =  U51_ag(x5)
U52_ag(x1, x2, x3, x4, x5)  =  U52_ag(x5)
U53_ag(x1, x2, x3, x4, x5)  =  U53_ag(x5)
U54_ag(x1, x2, x3, x4, x5)  =  U54_ag(x4, x5)
U55_ag(x1, x2, x3, x4, x5)  =  U55_ag(x1, x4, x5)
U56_ag(x1, x2, x3, x4, x5)  =  U56_ag(x5)
U57_ag(x1, x2, x3, x4, x5, x6)  =  U57_ag(x1, x4, x6)
U58_ag(x1, x2, x3, x4, x5)  =  U58_ag(x5)
U59_ag(x1, x2, x3)  =  U59_ag(x3)
qs155_in_a(x1)  =  qs155_in_a
qs155_out_a(x1)  =  qs155_out_a(x1)
U60_ag(x1, x2, x3)  =  U60_ag(x2, x3)
U61_ag(x1, x2, x3)  =  U61_ag(x3)
U62_ag(x1, x2, x3, x4)  =  U62_ag(x2, x3, x4)
U63_ag(x1, x2, x3)  =  U63_ag(x3)
app162_in_gagg(x1, x2, x3, x4)  =  app162_in_gagg(x1, x3, x4)
U36_gagg(x1, x2, x3, x4, x5, x6)  =  U36_gagg(x6)
app162_out_gagg(x1, x2, x3, x4)  =  app162_out_gagg(x2)
LE100_IN_AA(x1, x2)  =  LE100_IN_AA

We have to consider all (P,R,Pi)-chains

(164) UsableRulesProof (EQUIVALENT transformation)

For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R.

(165) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

LE100_IN_AA(s(T302), s(T303)) → LE100_IN_AA(T302, T303)

R is empty.
The argument filtering Pi contains the following mapping:
s(x1)  =  s(x1)
LE100_IN_AA(x1, x2)  =  LE100_IN_AA

We have to consider all (P,R,Pi)-chains

(166) PiDPToQDPProof (SOUND transformation)

Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi.

(167) Obligation:

Q DP problem:
The TRS P consists of the following rules:

LE100_IN_AALE100_IN_AA

R is empty.
Q is empty.
We have to consider all (P,Q,R)-chains.

(168) NonTerminationProof (EQUIVALENT transformation)

We used the non-termination processor [FROCOS05] to show that the DP problem is infinite.
Found a loop by semiunifying a rule from P directly.

s = LE100_IN_AA evaluates to t =LE100_IN_AA

Thus s starts an infinite chain as s semiunifies with t with the following substitutions:
  • Semiunifier: [ ]
  • Matcher: [ ]




Rewriting sequence

The DP semiunifies directly so there is only one rewrite step from LE100_IN_AA to LE100_IN_AA.



(169) NO

(170) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

APP70_IN_AGAA(.(T201, T202), T203, T204, .(T201, X391)) → APP70_IN_AGAA(T202, T203, T204, X391)

The TRS R consists of the following rules:

qs1_in_ag(.(T26, .(T27, T28)), T8) → U44_ag(T26, T27, T28, T8, gt10_in_aa(T26, T27))
gt10_in_aa(s(T46), s(T47)) → U1_aa(T46, T47, gt10_in_aa(T46, T47))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U1_aa(T46, T47, gt10_out_aa(T46, T47)) → gt10_out_aa(s(T46), s(T47))
U44_ag(T26, T27, T28, T8, gt10_out_aa(T26, T27)) → qs1_out_ag(.(T26, .(T27, T28)), T8)
qs1_in_ag(.(T31, .(T33, T32)), T8) → U45_ag(T31, T33, T32, T8, gt10_in_aa(T31, T33))
U45_ag(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U46_ag(T31, T33, T32, T8, part20_in_gaaa(T31, T32, X47, X48))
part20_in_gaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_gaaa(T70, T73, T74, X119, X120, gt10_in_ga(T70, T73))
gt10_in_ga(s(T46), s(T47)) → U1_ga(T46, T47, gt10_in_ga(T46, T47))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U1_ga(T46, T47, gt10_out_ga(T46, T47)) → gt10_out_ga(s(T46), s(T47))
U2_gaaa(T70, T73, T74, X119, X120, gt10_out_ga(T70, T73)) → part20_out_gaaa(T70, .(T73, T74), .(T73, X119), X120)
part20_in_gaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_gaaa(T70, T73, T77, X119, X120, gt10_in_ga(T70, T73))
U3_gaaa(T70, T73, T77, X119, X120, gt10_out_ga(T70, T73)) → U4_gaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
part20_in_gaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_gaaa(T95, T98, T99, X170, X171, le33_in_ga(T95, T98))
le33_in_ga(s(T113), s(T115)) → U8_ga(T113, T115, le33_in_ga(T113, T115))
le33_in_ga(0, s(T122)) → le33_out_ga(0, s(T122))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U8_ga(T113, T115, le33_out_ga(T113, T115)) → le33_out_ga(s(T113), s(T115))
U5_gaaa(T95, T98, T99, X170, X171, le33_out_ga(T95, T98)) → part20_out_gaaa(T95, .(T98, T99), X170, .(T98, X171))
part20_in_gaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_gaaa(T95, T98, T102, X170, X171, le33_in_ga(T95, T98))
U6_gaaa(T95, T98, T102, X170, X171, le33_out_ga(T95, T98)) → U7_gaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
part20_in_gaaa(T128, [], [], []) → part20_out_gaaa(T128, [], [], [])
U7_gaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_gaaa(T95, .(T98, T102), X170, .(T98, X171))
U4_gaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_gaaa(T70, .(T73, T77), .(T73, X119), X120)
U46_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, X47, X48)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
U45_ag(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U47_ag(T31, T33, T32, T8, part20_in_gaaa(T31, T32, T53, T54))
U47_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U48_ag(T31, T33, T32, T8, qs51_in_gaa(T33, T53, X9))
qs51_in_gaa(T148, T149, X273) → U37_gaa(T148, T149, X273, p56_in_gaaaaaa(T148, T149, X269, X270, X271, X272, X273))
p56_in_gaaaaaa(T148, T149, X269, X270, X271, X272, X273) → U9_gaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_in_gaaa(T148, T149, X269, X270))
U9_gaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_out_gaaa(T148, T149, X269, X270)) → p56_out_gaaaaaa(T148, T149, X269, X270, X271, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, X271, X272, X273) → U10_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U10_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U11_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
qs59_in_aa(.(T171, T172), X335) → U19_aa(T171, T172, X335, p56_in_aaaaaaa(T171, T172, X331, X332, X333, X334, X335))
p56_in_aaaaaaa(T148, T149, X269, X270, X271, X272, X273) → U9_aaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_in_aaaa(T148, T149, X269, X270))
part20_in_aaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_aaaa(T70, T73, T74, X119, X120, gt10_in_aa(T70, T73))
U2_aaaa(T70, T73, T74, X119, X120, gt10_out_aa(T70, T73)) → part20_out_aaaa(T70, .(T73, T74), .(T73, X119), X120)
part20_in_aaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_aaaa(T70, T73, T77, X119, X120, gt10_in_aa(T70, T73))
U3_aaaa(T70, T73, T77, X119, X120, gt10_out_aa(T70, T73)) → U4_aaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
U4_aaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_aaaa(T70, .(T73, T77), .(T73, X119), X120)
part20_in_aaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_aaaa(T95, T98, T99, X170, X171, le33_in_aa(T95, T98))
le33_in_aa(s(T113), s(T115)) → U8_aa(T113, T115, le33_in_aa(T113, T115))
le33_in_aa(0, s(T122)) → le33_out_aa(0, s(T122))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U8_aa(T113, T115, le33_out_aa(T113, T115)) → le33_out_aa(s(T113), s(T115))
U5_aaaa(T95, T98, T99, X170, X171, le33_out_aa(T95, T98)) → part20_out_aaaa(T95, .(T98, T99), X170, .(T98, X171))
part20_in_aaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_aaaa(T95, T98, T102, X170, X171, le33_in_aa(T95, T98))
U6_aaaa(T95, T98, T102, X170, X171, le33_out_aa(T95, T98)) → U7_aaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
U7_aaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_aaaa(T95, .(T98, T102), X170, .(T98, X171))
part20_in_aaaa(T128, [], [], []) → part20_out_aaaa(T128, [], [], [])
U9_aaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_out_aaaa(T148, T149, X269, X270)) → p56_out_aaaaaaa(T148, T149, X269, X270, X271, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, X271, X272, X273) → U10_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U10_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U11_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
qs59_in_aa([], []) → qs59_out_aa([], [])
U11_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_out_aa(T153, X271)) → p56_out_aaaaaaa(T148, T149, T153, T154, X271, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, T160, X272, X273) → U12_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U12_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U13_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U13_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U14_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T154, X272)) → p56_out_aaaaaaa(T148, T149, T153, T154, T160, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, T160, T178, X273) → U15_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_in_aaaa(T148, T149, T153, T154))
U15_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_out_aaaa(T148, T149, T153, T154)) → U16_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U16_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U17_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_in_aaaa(T160, T148, T178, X273))
app70_in_aaaa(.(T201, T202), T203, T204, .(T201, X391)) → U20_aaaa(T201, T202, T203, T204, X391, app70_in_aaaa(T202, T203, T204, X391))
app70_in_aaaa([], T213, T214, .(T213, T214)) → app70_out_aaaa([], T213, T214, .(T213, T214))
U20_aaaa(T201, T202, T203, T204, X391, app70_out_aaaa(T202, T203, T204, X391)) → app70_out_aaaa(.(T201, T202), T203, T204, .(T201, X391))
U18_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_out_aaaa(T160, T148, T178, X273)) → p56_out_aaaaaaa(T148, T149, T153, T154, T160, T178, X273)
U19_aa(T171, T172, X335, p56_out_aaaaaaa(T171, T172, X331, X332, X333, X334, X335)) → qs59_out_aa(.(T171, T172), X335)
U11_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_out_aa(T153, X271)) → p56_out_gaaaaaa(T148, T149, T153, T154, X271, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, T160, X272, X273) → U12_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U12_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U13_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U13_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U14_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T154, X272)) → p56_out_gaaaaaa(T148, T149, T153, T154, T160, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, T160, T178, X273) → U15_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_in_gaaa(T148, T149, T153, T154))
U15_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_out_gaaa(T148, T149, T153, T154)) → U16_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U16_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U17_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_in_agaa(T160, T148, T178, X273))
app70_in_agaa(.(T201, T202), T203, T204, .(T201, X391)) → U20_agaa(T201, T202, T203, T204, X391, app70_in_agaa(T202, T203, T204, X391))
app70_in_agaa([], T213, T214, .(T213, T214)) → app70_out_agaa([], T213, T214, .(T213, T214))
U20_agaa(T201, T202, T203, T204, X391, app70_out_agaa(T202, T203, T204, X391)) → app70_out_agaa(.(T201, T202), T203, T204, .(T201, X391))
U18_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_out_agaa(T160, T148, T178, X273)) → p56_out_gaaaaaa(T148, T149, T153, T154, T160, T178, X273)
U37_gaa(T148, T149, X273, p56_out_gaaaaaa(T148, T149, X269, X270, X271, X272, X273)) → qs51_out_gaa(T148, T149, X273)
U48_ag(T31, T33, T32, T8, qs51_out_gaa(T33, T53, X9)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
U47_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U49_ag(T31, T33, T32, T8, T54, qs51_in_gaa(T33, T53, T131))
U49_ag(T31, T33, T32, T8, T54, qs51_out_gaa(T33, T53, T131)) → U50_ag(T31, T33, T32, T8, p52_in_aaagg(T54, X10, T131, T31, T8))
p52_in_aaagg(T54, X10, T131, T31, T8) → U33_aaagg(T54, X10, T131, T31, T8, qs80_in_aa(T54, X10))
qs80_in_aa(.(T230, T231), X452) → U22_aa(T230, T231, X452, part87_in_aaaa(T230, T231, X448, X449))
part87_in_aaaa(T256, .(T257, T258), .(T257, X503), X504) → U38_aaaa(T256, T257, T258, X503, X504, gt10_in_aa(T256, T257))
U38_aaaa(T256, T257, T258, X503, X504, gt10_out_aa(T256, T257)) → part87_out_aaaa(T256, .(T257, T258), .(T257, X503), X504)
part87_in_aaaa(T261, .(T257, T262), .(T257, X503), X504) → U39_aaaa(T261, T257, T262, X503, X504, gt10_in_aa(T261, T257))
U39_aaaa(T261, T257, T262, X503, X504, gt10_out_aa(T261, T257)) → U40_aaaa(T261, T257, T262, X503, X504, part20_in_gaaa(T261, T262, X503, X504))
U40_aaaa(T261, T257, T262, X503, X504, part20_out_gaaa(T261, T262, X503, X504)) → part87_out_aaaa(T261, .(T257, T262), .(T257, X503), X504)
part87_in_aaaa(T283, .(T284, T285), X554, .(T284, X555)) → U41_aaaa(T283, T284, T285, X554, X555, le100_in_aa(T283, T284))
le100_in_aa(s(T302), s(T303)) → U21_aa(T302, T303, le100_in_aa(T302, T303))
le100_in_aa(0, s(T310)) → le100_out_aa(0, s(T310))
le100_in_aa(0, 0) → le100_out_aa(0, 0)
U21_aa(T302, T303, le100_out_aa(T302, T303)) → le100_out_aa(s(T302), s(T303))
U41_aaaa(T283, T284, T285, X554, X555, le100_out_aa(T283, T284)) → part87_out_aaaa(T283, .(T284, T285), X554, .(T284, X555))
part87_in_aaaa(T288, .(T284, T289), X554, .(T284, X555)) → U42_aaaa(T288, T284, T289, X554, X555, le100_in_aa(T288, T284))
U42_aaaa(T288, T284, T289, X554, X555, le100_out_aa(T288, T284)) → U43_aaaa(T288, T284, T289, X554, X555, part20_in_gaaa(T288, T289, X554, X555))
U43_aaaa(T288, T284, T289, X554, X555, part20_out_gaaa(T288, T289, X554, X555)) → part87_out_aaaa(T288, .(T284, T289), X554, .(T284, X555))
part87_in_aaaa(T316, [], [], []) → part87_out_aaaa(T316, [], [], [])
U22_aa(T230, T231, X452, part87_out_aaaa(T230, T231, X448, X449)) → qs80_out_aa(.(T230, T231), X452)
qs80_in_aa(.(T237, T231), X452) → U23_aa(T237, T231, X452, part87_in_aaaa(T237, T231, T235, T236))
U23_aa(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U24_aa(T237, T231, X452, qs80_in_aa(T235, X450))
qs80_in_aa(.(T325, T231), X452) → U27_aa(T325, T231, X452, part87_in_aaaa(T325, T231, T235, T236))
U27_aa(T325, T231, X452, part87_out_aaaa(T325, T231, T235, T236)) → U28_aa(T325, T231, X452, T236, qs80_in_aa(T235, T319))
qs80_in_aa([], []) → qs80_out_aa([], [])
U28_aa(T325, T231, X452, T236, qs80_out_aa(T235, T319)) → U29_aa(T325, T231, X452, T319, qs80_in_aa(T236, T324))
U29_aa(T325, T231, X452, T319, qs80_out_aa(T236, T324)) → U30_aa(T325, T231, X452, app121_in_aaaa(T319, T325, T324, X452))
app121_in_aaaa(.(T348, T349), T352, T353, .(T348, X657)) → U31_aaaa(T348, T349, T352, T353, X657, app121_in_aaaa(T349, T352, T353, X657))
app121_in_aaaa([], T362, T363, .(T362, T363)) → app121_out_aaaa([], T362, T363, .(T362, T363))
U31_aaaa(T348, T349, T352, T353, X657, app121_out_aaaa(T349, T352, T353, X657)) → app121_out_aaaa(.(T348, T349), T352, T353, .(T348, X657))
U30_aa(T325, T231, X452, app121_out_aaaa(T319, T325, T324, X452)) → qs80_out_aa(.(T325, T231), X452)
U24_aa(T237, T231, X452, qs80_out_aa(T235, X450)) → qs80_out_aa(.(T237, T231), X452)
U23_aa(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U25_aa(T237, T231, X452, T236, qs80_in_aa(T235, T319))
U25_aa(T237, T231, X452, T236, qs80_out_aa(T235, T319)) → U26_aa(T237, T231, X452, qs80_in_aa(T236, X451))
U26_aa(T237, T231, X452, qs80_out_aa(T236, X451)) → qs80_out_aa(.(T237, T231), X452)
U33_aaagg(T54, X10, T131, T31, T8, qs80_out_aa(T54, X10)) → p52_out_aaagg(T54, X10, T131, T31, T8)
p52_in_aaagg(T54, T217, T131, T31, T8) → U34_aaagg(T54, T217, T131, T31, T8, qs80_in_aa(T54, T217))
U34_aaagg(T54, T217, T131, T31, T8, qs80_out_aa(T54, T217)) → U35_aaagg(T54, T217, T131, T31, T8, app81_in_agag(T131, T31, T217, T8))
app81_in_agag(.(T389, T390), T391, T394, .(T389, T393)) → U32_agag(T389, T390, T391, T394, T393, app81_in_agag(T390, T391, T394, T393))
app81_in_agag([], T404, T405, .(T404, T405)) → app81_out_agag([], T404, T405, .(T404, T405))
U32_agag(T389, T390, T391, T394, T393, app81_out_agag(T390, T391, T394, T393)) → app81_out_agag(.(T389, T390), T391, T394, .(T389, T393))
U35_aaagg(T54, T217, T131, T31, T8, app81_out_agag(T131, T31, T217, T8)) → p52_out_aaagg(T54, T217, T131, T31, T8)
U50_ag(T31, T33, T32, T8, p52_out_aaagg(T54, X10, T131, T31, T8)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
qs1_in_ag(.(T421, .(T422, T423)), T8) → U51_ag(T421, T422, T423, T8, le100_in_aa(T421, T422))
U51_ag(T421, T422, T423, T8, le100_out_aa(T421, T422)) → qs1_out_ag(.(T421, .(T422, T423)), T8)
qs1_in_ag(.(T426, .(T428, T427)), T8) → U52_ag(T426, T428, T427, T8, le100_in_aa(T426, T428))
U52_ag(T426, T428, T427, T8, le100_out_aa(T426, T428)) → U53_ag(T426, T428, T427, T8, part20_in_gaaa(T426, T427, X740, X741))
U53_ag(T426, T428, T427, T8, part20_out_gaaa(T426, T427, X740, X741)) → qs1_out_ag(.(T426, .(T428, T427)), T8)
qs1_in_ag(.(T426, .(T436, T427)), T8) → U54_ag(T426, T436, T427, T8, le100_in_aa(T426, T436))
U54_ag(T426, T436, T427, T8, le100_out_aa(T426, T436)) → U55_ag(T426, T436, T427, T8, part20_in_gaaa(T426, T427, T434, T435))
U55_ag(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U56_ag(T426, T436, T427, T8, qs80_in_aa(T434, X9))
U56_ag(T426, T436, T427, T8, qs80_out_aa(T434, X9)) → qs1_out_ag(.(T426, .(T436, T427)), T8)
U55_ag(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U57_ag(T426, T436, T427, T8, T435, qs80_in_aa(T434, T442))
U57_ag(T426, T436, T427, T8, T435, qs80_out_aa(T434, T442)) → U58_ag(T426, T436, T427, T8, p52_in_aaagg(.(T436, T435), X10, T442, T426, T8))
U58_ag(T426, T436, T427, T8, p52_out_aaagg(.(T436, T435), X10, T442, T426, T8)) → qs1_out_ag(.(T426, .(T436, T427)), T8)
qs1_in_ag(.(T452, []), T8) → U59_ag(T452, T8, qs155_in_a(X9))
qs155_in_a([]) → qs155_out_a([])
U59_ag(T452, T8, qs155_out_a(X9)) → qs1_out_ag(.(T452, []), T8)
qs1_in_ag(.(T452, []), T8) → U60_ag(T452, T8, qs155_in_a(T455))
U60_ag(T452, T8, qs155_out_a(T455)) → U61_ag(T452, T8, qs155_in_a(X10))
U61_ag(T452, T8, qs155_out_a(X10)) → qs1_out_ag(.(T452, []), T8)
U60_ag(T452, T8, qs155_out_a(T455)) → U62_ag(T452, T8, T455, qs155_in_a(T460))
U62_ag(T452, T8, T455, qs155_out_a(T460)) → U63_ag(T452, T8, app162_in_gagg(T455, T452, T460, T8))
app162_in_gagg(.(T486, T487), T491, T489, .(T486, T490)) → U36_gagg(T486, T487, T491, T489, T490, app162_in_gagg(T487, T491, T489, T490))
app162_in_gagg([], T501, T502, .(T501, T502)) → app162_out_gagg([], T501, T502, .(T501, T502))
U36_gagg(T486, T487, T491, T489, T490, app162_out_gagg(T487, T491, T489, T490)) → app162_out_gagg(.(T486, T487), T491, T489, .(T486, T490))
U63_ag(T452, T8, app162_out_gagg(T455, T452, T460, T8)) → qs1_out_ag(.(T452, []), T8)
qs1_in_ag([], []) → qs1_out_ag([], [])

The argument filtering Pi contains the following mapping:
qs1_in_ag(x1, x2)  =  qs1_in_ag(x2)
U44_ag(x1, x2, x3, x4, x5)  =  U44_ag(x5)
gt10_in_aa(x1, x2)  =  gt10_in_aa
U1_aa(x1, x2, x3)  =  U1_aa(x3)
gt10_out_aa(x1, x2)  =  gt10_out_aa(x1, x2)
qs1_out_ag(x1, x2)  =  qs1_out_ag
U45_ag(x1, x2, x3, x4, x5)  =  U45_ag(x4, x5)
U46_ag(x1, x2, x3, x4, x5)  =  U46_ag(x5)
part20_in_gaaa(x1, x2, x3, x4)  =  part20_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x6)
gt10_in_ga(x1, x2)  =  gt10_in_ga(x1)
s(x1)  =  s(x1)
U1_ga(x1, x2, x3)  =  U1_ga(x3)
0  =  0
gt10_out_ga(x1, x2)  =  gt10_out_ga(x2)
part20_out_gaaa(x1, x2, x3, x4)  =  part20_out_gaaa
U3_gaaa(x1, x2, x3, x4, x5, x6)  =  U3_gaaa(x1, x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x6)
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x6)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U8_ga(x1, x2, x3)  =  U8_ga(x3)
le33_out_ga(x1, x2)  =  le33_out_ga
U6_gaaa(x1, x2, x3, x4, x5, x6)  =  U6_gaaa(x1, x6)
U7_gaaa(x1, x2, x3, x4, x5, x6)  =  U7_gaaa(x6)
U47_ag(x1, x2, x3, x4, x5)  =  U47_ag(x1, x2, x4, x5)
U48_ag(x1, x2, x3, x4, x5)  =  U48_ag(x5)
qs51_in_gaa(x1, x2, x3)  =  qs51_in_gaa(x1)
U37_gaa(x1, x2, x3, x4)  =  U37_gaa(x4)
p56_in_gaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_in_gaaaaaa(x1)
U9_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_gaaaaaa(x8)
p56_out_gaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_out_gaaaaaa
U10_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_gaaaaaa(x8)
U11_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_gaaaaaa(x8)
qs59_in_aa(x1, x2)  =  qs59_in_aa
U19_aa(x1, x2, x3, x4)  =  U19_aa(x4)
p56_in_aaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_in_aaaaaaa
U9_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_aaaaaaa(x8)
part20_in_aaaa(x1, x2, x3, x4)  =  part20_in_aaaa
U2_aaaa(x1, x2, x3, x4, x5, x6)  =  U2_aaaa(x6)
part20_out_aaaa(x1, x2, x3, x4)  =  part20_out_aaaa
U3_aaaa(x1, x2, x3, x4, x5, x6)  =  U3_aaaa(x6)
U4_aaaa(x1, x2, x3, x4, x5, x6)  =  U4_aaaa(x6)
U5_aaaa(x1, x2, x3, x4, x5, x6)  =  U5_aaaa(x6)
le33_in_aa(x1, x2)  =  le33_in_aa
U8_aa(x1, x2, x3)  =  U8_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
U6_aaaa(x1, x2, x3, x4, x5, x6)  =  U6_aaaa(x6)
U7_aaaa(x1, x2, x3, x4, x5, x6)  =  U7_aaaa(x6)
p56_out_aaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_out_aaaaaaa
U10_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_aaaaaaa(x8)
U11_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_aaaaaaa(x8)
qs59_out_aa(x1, x2)  =  qs59_out_aa
U12_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_aaaaaaa(x8)
U13_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_aaaaaaa(x8)
U14_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_aaaaaaa(x8)
U15_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_aaaaaaa(x8)
U16_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_aaaaaaa(x8)
U17_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_aaaaaaa(x8)
U18_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_aaaaaaa(x8)
.(x1, x2)  =  .(x1, x2)
[]  =  []
app70_in_aaaa(x1, x2, x3, x4)  =  app70_in_aaaa
U20_aaaa(x1, x2, x3, x4, x5, x6)  =  U20_aaaa(x6)
app70_out_aaaa(x1, x2, x3, x4)  =  app70_out_aaaa
U12_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_gaaaaaa(x8)
U13_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_gaaaaaa(x8)
U14_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_gaaaaaa(x8)
U15_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_gaaaaaa(x1, x8)
U16_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_gaaaaaa(x1, x8)
U17_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_gaaaaaa(x1, x8)
U18_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_gaaaaaa(x8)
app70_in_agaa(x1, x2, x3, x4)  =  app70_in_agaa(x2)
U20_agaa(x1, x2, x3, x4, x5, x6)  =  U20_agaa(x6)
app70_out_agaa(x1, x2, x3, x4)  =  app70_out_agaa
qs51_out_gaa(x1, x2, x3)  =  qs51_out_gaa
U49_ag(x1, x2, x3, x4, x5, x6)  =  U49_ag(x1, x4, x6)
U50_ag(x1, x2, x3, x4, x5)  =  U50_ag(x5)
p52_in_aaagg(x1, x2, x3, x4, x5)  =  p52_in_aaagg(x4, x5)
U33_aaagg(x1, x2, x3, x4, x5, x6)  =  U33_aaagg(x6)
qs80_in_aa(x1, x2)  =  qs80_in_aa
U22_aa(x1, x2, x3, x4)  =  U22_aa(x4)
part87_in_aaaa(x1, x2, x3, x4)  =  part87_in_aaaa
U38_aaaa(x1, x2, x3, x4, x5, x6)  =  U38_aaaa(x6)
part87_out_aaaa(x1, x2, x3, x4)  =  part87_out_aaaa
U39_aaaa(x1, x2, x3, x4, x5, x6)  =  U39_aaaa(x6)
U40_aaaa(x1, x2, x3, x4, x5, x6)  =  U40_aaaa(x6)
U41_aaaa(x1, x2, x3, x4, x5, x6)  =  U41_aaaa(x6)
le100_in_aa(x1, x2)  =  le100_in_aa
U21_aa(x1, x2, x3)  =  U21_aa(x3)
le100_out_aa(x1, x2)  =  le100_out_aa(x1)
U42_aaaa(x1, x2, x3, x4, x5, x6)  =  U42_aaaa(x6)
U43_aaaa(x1, x2, x3, x4, x5, x6)  =  U43_aaaa(x6)
qs80_out_aa(x1, x2)  =  qs80_out_aa
U23_aa(x1, x2, x3, x4)  =  U23_aa(x4)
U24_aa(x1, x2, x3, x4)  =  U24_aa(x4)
U27_aa(x1, x2, x3, x4)  =  U27_aa(x4)
U28_aa(x1, x2, x3, x4, x5)  =  U28_aa(x5)
U29_aa(x1, x2, x3, x4, x5)  =  U29_aa(x5)
U30_aa(x1, x2, x3, x4)  =  U30_aa(x4)
app121_in_aaaa(x1, x2, x3, x4)  =  app121_in_aaaa
U31_aaaa(x1, x2, x3, x4, x5, x6)  =  U31_aaaa(x6)
app121_out_aaaa(x1, x2, x3, x4)  =  app121_out_aaaa
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
U26_aa(x1, x2, x3, x4)  =  U26_aa(x4)
p52_out_aaagg(x1, x2, x3, x4, x5)  =  p52_out_aaagg
U34_aaagg(x1, x2, x3, x4, x5, x6)  =  U34_aaagg(x4, x5, x6)
U35_aaagg(x1, x2, x3, x4, x5, x6)  =  U35_aaagg(x6)
app81_in_agag(x1, x2, x3, x4)  =  app81_in_agag(x2, x4)
U32_agag(x1, x2, x3, x4, x5, x6)  =  U32_agag(x1, x6)
app81_out_agag(x1, x2, x3, x4)  =  app81_out_agag(x1, x3)
U51_ag(x1, x2, x3, x4, x5)  =  U51_ag(x5)
U52_ag(x1, x2, x3, x4, x5)  =  U52_ag(x5)
U53_ag(x1, x2, x3, x4, x5)  =  U53_ag(x5)
U54_ag(x1, x2, x3, x4, x5)  =  U54_ag(x4, x5)
U55_ag(x1, x2, x3, x4, x5)  =  U55_ag(x1, x4, x5)
U56_ag(x1, x2, x3, x4, x5)  =  U56_ag(x5)
U57_ag(x1, x2, x3, x4, x5, x6)  =  U57_ag(x1, x4, x6)
U58_ag(x1, x2, x3, x4, x5)  =  U58_ag(x5)
U59_ag(x1, x2, x3)  =  U59_ag(x3)
qs155_in_a(x1)  =  qs155_in_a
qs155_out_a(x1)  =  qs155_out_a(x1)
U60_ag(x1, x2, x3)  =  U60_ag(x2, x3)
U61_ag(x1, x2, x3)  =  U61_ag(x3)
U62_ag(x1, x2, x3, x4)  =  U62_ag(x2, x3, x4)
U63_ag(x1, x2, x3)  =  U63_ag(x3)
app162_in_gagg(x1, x2, x3, x4)  =  app162_in_gagg(x1, x3, x4)
U36_gagg(x1, x2, x3, x4, x5, x6)  =  U36_gagg(x6)
app162_out_gagg(x1, x2, x3, x4)  =  app162_out_gagg(x2)
APP70_IN_AGAA(x1, x2, x3, x4)  =  APP70_IN_AGAA(x2)

We have to consider all (P,R,Pi)-chains

(171) UsableRulesProof (EQUIVALENT transformation)

For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R.

(172) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

APP70_IN_AGAA(.(T201, T202), T203, T204, .(T201, X391)) → APP70_IN_AGAA(T202, T203, T204, X391)

R is empty.
The argument filtering Pi contains the following mapping:
.(x1, x2)  =  .(x1, x2)
APP70_IN_AGAA(x1, x2, x3, x4)  =  APP70_IN_AGAA(x2)

We have to consider all (P,R,Pi)-chains

(173) PiDPToQDPProof (SOUND transformation)

Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi.

(174) Obligation:

Q DP problem:
The TRS P consists of the following rules:

APP70_IN_AGAA(T203) → APP70_IN_AGAA(T203)

R is empty.
Q is empty.
We have to consider all (P,Q,R)-chains.

(175) NonTerminationProof (EQUIVALENT transformation)

We used the non-termination processor [FROCOS05] to show that the DP problem is infinite.
Found a loop by semiunifying a rule from P directly.

s = APP70_IN_AGAA(T203) evaluates to t =APP70_IN_AGAA(T203)

Thus s starts an infinite chain as s semiunifies with t with the following substitutions:
  • Matcher: [ ]
  • Semiunifier: [ ]




Rewriting sequence

The DP semiunifies directly so there is only one rewrite step from APP70_IN_AGAA(T203) to APP70_IN_AGAA(T203).



(176) NO

(177) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

APP70_IN_AAAA(.(T201, T202), T203, T204, .(T201, X391)) → APP70_IN_AAAA(T202, T203, T204, X391)

The TRS R consists of the following rules:

qs1_in_ag(.(T26, .(T27, T28)), T8) → U44_ag(T26, T27, T28, T8, gt10_in_aa(T26, T27))
gt10_in_aa(s(T46), s(T47)) → U1_aa(T46, T47, gt10_in_aa(T46, T47))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U1_aa(T46, T47, gt10_out_aa(T46, T47)) → gt10_out_aa(s(T46), s(T47))
U44_ag(T26, T27, T28, T8, gt10_out_aa(T26, T27)) → qs1_out_ag(.(T26, .(T27, T28)), T8)
qs1_in_ag(.(T31, .(T33, T32)), T8) → U45_ag(T31, T33, T32, T8, gt10_in_aa(T31, T33))
U45_ag(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U46_ag(T31, T33, T32, T8, part20_in_gaaa(T31, T32, X47, X48))
part20_in_gaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_gaaa(T70, T73, T74, X119, X120, gt10_in_ga(T70, T73))
gt10_in_ga(s(T46), s(T47)) → U1_ga(T46, T47, gt10_in_ga(T46, T47))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U1_ga(T46, T47, gt10_out_ga(T46, T47)) → gt10_out_ga(s(T46), s(T47))
U2_gaaa(T70, T73, T74, X119, X120, gt10_out_ga(T70, T73)) → part20_out_gaaa(T70, .(T73, T74), .(T73, X119), X120)
part20_in_gaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_gaaa(T70, T73, T77, X119, X120, gt10_in_ga(T70, T73))
U3_gaaa(T70, T73, T77, X119, X120, gt10_out_ga(T70, T73)) → U4_gaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
part20_in_gaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_gaaa(T95, T98, T99, X170, X171, le33_in_ga(T95, T98))
le33_in_ga(s(T113), s(T115)) → U8_ga(T113, T115, le33_in_ga(T113, T115))
le33_in_ga(0, s(T122)) → le33_out_ga(0, s(T122))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U8_ga(T113, T115, le33_out_ga(T113, T115)) → le33_out_ga(s(T113), s(T115))
U5_gaaa(T95, T98, T99, X170, X171, le33_out_ga(T95, T98)) → part20_out_gaaa(T95, .(T98, T99), X170, .(T98, X171))
part20_in_gaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_gaaa(T95, T98, T102, X170, X171, le33_in_ga(T95, T98))
U6_gaaa(T95, T98, T102, X170, X171, le33_out_ga(T95, T98)) → U7_gaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
part20_in_gaaa(T128, [], [], []) → part20_out_gaaa(T128, [], [], [])
U7_gaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_gaaa(T95, .(T98, T102), X170, .(T98, X171))
U4_gaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_gaaa(T70, .(T73, T77), .(T73, X119), X120)
U46_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, X47, X48)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
U45_ag(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U47_ag(T31, T33, T32, T8, part20_in_gaaa(T31, T32, T53, T54))
U47_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U48_ag(T31, T33, T32, T8, qs51_in_gaa(T33, T53, X9))
qs51_in_gaa(T148, T149, X273) → U37_gaa(T148, T149, X273, p56_in_gaaaaaa(T148, T149, X269, X270, X271, X272, X273))
p56_in_gaaaaaa(T148, T149, X269, X270, X271, X272, X273) → U9_gaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_in_gaaa(T148, T149, X269, X270))
U9_gaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_out_gaaa(T148, T149, X269, X270)) → p56_out_gaaaaaa(T148, T149, X269, X270, X271, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, X271, X272, X273) → U10_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U10_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U11_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
qs59_in_aa(.(T171, T172), X335) → U19_aa(T171, T172, X335, p56_in_aaaaaaa(T171, T172, X331, X332, X333, X334, X335))
p56_in_aaaaaaa(T148, T149, X269, X270, X271, X272, X273) → U9_aaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_in_aaaa(T148, T149, X269, X270))
part20_in_aaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_aaaa(T70, T73, T74, X119, X120, gt10_in_aa(T70, T73))
U2_aaaa(T70, T73, T74, X119, X120, gt10_out_aa(T70, T73)) → part20_out_aaaa(T70, .(T73, T74), .(T73, X119), X120)
part20_in_aaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_aaaa(T70, T73, T77, X119, X120, gt10_in_aa(T70, T73))
U3_aaaa(T70, T73, T77, X119, X120, gt10_out_aa(T70, T73)) → U4_aaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
U4_aaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_aaaa(T70, .(T73, T77), .(T73, X119), X120)
part20_in_aaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_aaaa(T95, T98, T99, X170, X171, le33_in_aa(T95, T98))
le33_in_aa(s(T113), s(T115)) → U8_aa(T113, T115, le33_in_aa(T113, T115))
le33_in_aa(0, s(T122)) → le33_out_aa(0, s(T122))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U8_aa(T113, T115, le33_out_aa(T113, T115)) → le33_out_aa(s(T113), s(T115))
U5_aaaa(T95, T98, T99, X170, X171, le33_out_aa(T95, T98)) → part20_out_aaaa(T95, .(T98, T99), X170, .(T98, X171))
part20_in_aaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_aaaa(T95, T98, T102, X170, X171, le33_in_aa(T95, T98))
U6_aaaa(T95, T98, T102, X170, X171, le33_out_aa(T95, T98)) → U7_aaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
U7_aaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_aaaa(T95, .(T98, T102), X170, .(T98, X171))
part20_in_aaaa(T128, [], [], []) → part20_out_aaaa(T128, [], [], [])
U9_aaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_out_aaaa(T148, T149, X269, X270)) → p56_out_aaaaaaa(T148, T149, X269, X270, X271, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, X271, X272, X273) → U10_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U10_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U11_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
qs59_in_aa([], []) → qs59_out_aa([], [])
U11_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_out_aa(T153, X271)) → p56_out_aaaaaaa(T148, T149, T153, T154, X271, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, T160, X272, X273) → U12_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U12_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U13_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U13_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U14_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T154, X272)) → p56_out_aaaaaaa(T148, T149, T153, T154, T160, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, T160, T178, X273) → U15_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_in_aaaa(T148, T149, T153, T154))
U15_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_out_aaaa(T148, T149, T153, T154)) → U16_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U16_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U17_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_in_aaaa(T160, T148, T178, X273))
app70_in_aaaa(.(T201, T202), T203, T204, .(T201, X391)) → U20_aaaa(T201, T202, T203, T204, X391, app70_in_aaaa(T202, T203, T204, X391))
app70_in_aaaa([], T213, T214, .(T213, T214)) → app70_out_aaaa([], T213, T214, .(T213, T214))
U20_aaaa(T201, T202, T203, T204, X391, app70_out_aaaa(T202, T203, T204, X391)) → app70_out_aaaa(.(T201, T202), T203, T204, .(T201, X391))
U18_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_out_aaaa(T160, T148, T178, X273)) → p56_out_aaaaaaa(T148, T149, T153, T154, T160, T178, X273)
U19_aa(T171, T172, X335, p56_out_aaaaaaa(T171, T172, X331, X332, X333, X334, X335)) → qs59_out_aa(.(T171, T172), X335)
U11_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_out_aa(T153, X271)) → p56_out_gaaaaaa(T148, T149, T153, T154, X271, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, T160, X272, X273) → U12_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U12_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U13_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U13_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U14_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T154, X272)) → p56_out_gaaaaaa(T148, T149, T153, T154, T160, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, T160, T178, X273) → U15_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_in_gaaa(T148, T149, T153, T154))
U15_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_out_gaaa(T148, T149, T153, T154)) → U16_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U16_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U17_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_in_agaa(T160, T148, T178, X273))
app70_in_agaa(.(T201, T202), T203, T204, .(T201, X391)) → U20_agaa(T201, T202, T203, T204, X391, app70_in_agaa(T202, T203, T204, X391))
app70_in_agaa([], T213, T214, .(T213, T214)) → app70_out_agaa([], T213, T214, .(T213, T214))
U20_agaa(T201, T202, T203, T204, X391, app70_out_agaa(T202, T203, T204, X391)) → app70_out_agaa(.(T201, T202), T203, T204, .(T201, X391))
U18_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_out_agaa(T160, T148, T178, X273)) → p56_out_gaaaaaa(T148, T149, T153, T154, T160, T178, X273)
U37_gaa(T148, T149, X273, p56_out_gaaaaaa(T148, T149, X269, X270, X271, X272, X273)) → qs51_out_gaa(T148, T149, X273)
U48_ag(T31, T33, T32, T8, qs51_out_gaa(T33, T53, X9)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
U47_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U49_ag(T31, T33, T32, T8, T54, qs51_in_gaa(T33, T53, T131))
U49_ag(T31, T33, T32, T8, T54, qs51_out_gaa(T33, T53, T131)) → U50_ag(T31, T33, T32, T8, p52_in_aaagg(T54, X10, T131, T31, T8))
p52_in_aaagg(T54, X10, T131, T31, T8) → U33_aaagg(T54, X10, T131, T31, T8, qs80_in_aa(T54, X10))
qs80_in_aa(.(T230, T231), X452) → U22_aa(T230, T231, X452, part87_in_aaaa(T230, T231, X448, X449))
part87_in_aaaa(T256, .(T257, T258), .(T257, X503), X504) → U38_aaaa(T256, T257, T258, X503, X504, gt10_in_aa(T256, T257))
U38_aaaa(T256, T257, T258, X503, X504, gt10_out_aa(T256, T257)) → part87_out_aaaa(T256, .(T257, T258), .(T257, X503), X504)
part87_in_aaaa(T261, .(T257, T262), .(T257, X503), X504) → U39_aaaa(T261, T257, T262, X503, X504, gt10_in_aa(T261, T257))
U39_aaaa(T261, T257, T262, X503, X504, gt10_out_aa(T261, T257)) → U40_aaaa(T261, T257, T262, X503, X504, part20_in_gaaa(T261, T262, X503, X504))
U40_aaaa(T261, T257, T262, X503, X504, part20_out_gaaa(T261, T262, X503, X504)) → part87_out_aaaa(T261, .(T257, T262), .(T257, X503), X504)
part87_in_aaaa(T283, .(T284, T285), X554, .(T284, X555)) → U41_aaaa(T283, T284, T285, X554, X555, le100_in_aa(T283, T284))
le100_in_aa(s(T302), s(T303)) → U21_aa(T302, T303, le100_in_aa(T302, T303))
le100_in_aa(0, s(T310)) → le100_out_aa(0, s(T310))
le100_in_aa(0, 0) → le100_out_aa(0, 0)
U21_aa(T302, T303, le100_out_aa(T302, T303)) → le100_out_aa(s(T302), s(T303))
U41_aaaa(T283, T284, T285, X554, X555, le100_out_aa(T283, T284)) → part87_out_aaaa(T283, .(T284, T285), X554, .(T284, X555))
part87_in_aaaa(T288, .(T284, T289), X554, .(T284, X555)) → U42_aaaa(T288, T284, T289, X554, X555, le100_in_aa(T288, T284))
U42_aaaa(T288, T284, T289, X554, X555, le100_out_aa(T288, T284)) → U43_aaaa(T288, T284, T289, X554, X555, part20_in_gaaa(T288, T289, X554, X555))
U43_aaaa(T288, T284, T289, X554, X555, part20_out_gaaa(T288, T289, X554, X555)) → part87_out_aaaa(T288, .(T284, T289), X554, .(T284, X555))
part87_in_aaaa(T316, [], [], []) → part87_out_aaaa(T316, [], [], [])
U22_aa(T230, T231, X452, part87_out_aaaa(T230, T231, X448, X449)) → qs80_out_aa(.(T230, T231), X452)
qs80_in_aa(.(T237, T231), X452) → U23_aa(T237, T231, X452, part87_in_aaaa(T237, T231, T235, T236))
U23_aa(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U24_aa(T237, T231, X452, qs80_in_aa(T235, X450))
qs80_in_aa(.(T325, T231), X452) → U27_aa(T325, T231, X452, part87_in_aaaa(T325, T231, T235, T236))
U27_aa(T325, T231, X452, part87_out_aaaa(T325, T231, T235, T236)) → U28_aa(T325, T231, X452, T236, qs80_in_aa(T235, T319))
qs80_in_aa([], []) → qs80_out_aa([], [])
U28_aa(T325, T231, X452, T236, qs80_out_aa(T235, T319)) → U29_aa(T325, T231, X452, T319, qs80_in_aa(T236, T324))
U29_aa(T325, T231, X452, T319, qs80_out_aa(T236, T324)) → U30_aa(T325, T231, X452, app121_in_aaaa(T319, T325, T324, X452))
app121_in_aaaa(.(T348, T349), T352, T353, .(T348, X657)) → U31_aaaa(T348, T349, T352, T353, X657, app121_in_aaaa(T349, T352, T353, X657))
app121_in_aaaa([], T362, T363, .(T362, T363)) → app121_out_aaaa([], T362, T363, .(T362, T363))
U31_aaaa(T348, T349, T352, T353, X657, app121_out_aaaa(T349, T352, T353, X657)) → app121_out_aaaa(.(T348, T349), T352, T353, .(T348, X657))
U30_aa(T325, T231, X452, app121_out_aaaa(T319, T325, T324, X452)) → qs80_out_aa(.(T325, T231), X452)
U24_aa(T237, T231, X452, qs80_out_aa(T235, X450)) → qs80_out_aa(.(T237, T231), X452)
U23_aa(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U25_aa(T237, T231, X452, T236, qs80_in_aa(T235, T319))
U25_aa(T237, T231, X452, T236, qs80_out_aa(T235, T319)) → U26_aa(T237, T231, X452, qs80_in_aa(T236, X451))
U26_aa(T237, T231, X452, qs80_out_aa(T236, X451)) → qs80_out_aa(.(T237, T231), X452)
U33_aaagg(T54, X10, T131, T31, T8, qs80_out_aa(T54, X10)) → p52_out_aaagg(T54, X10, T131, T31, T8)
p52_in_aaagg(T54, T217, T131, T31, T8) → U34_aaagg(T54, T217, T131, T31, T8, qs80_in_aa(T54, T217))
U34_aaagg(T54, T217, T131, T31, T8, qs80_out_aa(T54, T217)) → U35_aaagg(T54, T217, T131, T31, T8, app81_in_agag(T131, T31, T217, T8))
app81_in_agag(.(T389, T390), T391, T394, .(T389, T393)) → U32_agag(T389, T390, T391, T394, T393, app81_in_agag(T390, T391, T394, T393))
app81_in_agag([], T404, T405, .(T404, T405)) → app81_out_agag([], T404, T405, .(T404, T405))
U32_agag(T389, T390, T391, T394, T393, app81_out_agag(T390, T391, T394, T393)) → app81_out_agag(.(T389, T390), T391, T394, .(T389, T393))
U35_aaagg(T54, T217, T131, T31, T8, app81_out_agag(T131, T31, T217, T8)) → p52_out_aaagg(T54, T217, T131, T31, T8)
U50_ag(T31, T33, T32, T8, p52_out_aaagg(T54, X10, T131, T31, T8)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
qs1_in_ag(.(T421, .(T422, T423)), T8) → U51_ag(T421, T422, T423, T8, le100_in_aa(T421, T422))
U51_ag(T421, T422, T423, T8, le100_out_aa(T421, T422)) → qs1_out_ag(.(T421, .(T422, T423)), T8)
qs1_in_ag(.(T426, .(T428, T427)), T8) → U52_ag(T426, T428, T427, T8, le100_in_aa(T426, T428))
U52_ag(T426, T428, T427, T8, le100_out_aa(T426, T428)) → U53_ag(T426, T428, T427, T8, part20_in_gaaa(T426, T427, X740, X741))
U53_ag(T426, T428, T427, T8, part20_out_gaaa(T426, T427, X740, X741)) → qs1_out_ag(.(T426, .(T428, T427)), T8)
qs1_in_ag(.(T426, .(T436, T427)), T8) → U54_ag(T426, T436, T427, T8, le100_in_aa(T426, T436))
U54_ag(T426, T436, T427, T8, le100_out_aa(T426, T436)) → U55_ag(T426, T436, T427, T8, part20_in_gaaa(T426, T427, T434, T435))
U55_ag(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U56_ag(T426, T436, T427, T8, qs80_in_aa(T434, X9))
U56_ag(T426, T436, T427, T8, qs80_out_aa(T434, X9)) → qs1_out_ag(.(T426, .(T436, T427)), T8)
U55_ag(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U57_ag(T426, T436, T427, T8, T435, qs80_in_aa(T434, T442))
U57_ag(T426, T436, T427, T8, T435, qs80_out_aa(T434, T442)) → U58_ag(T426, T436, T427, T8, p52_in_aaagg(.(T436, T435), X10, T442, T426, T8))
U58_ag(T426, T436, T427, T8, p52_out_aaagg(.(T436, T435), X10, T442, T426, T8)) → qs1_out_ag(.(T426, .(T436, T427)), T8)
qs1_in_ag(.(T452, []), T8) → U59_ag(T452, T8, qs155_in_a(X9))
qs155_in_a([]) → qs155_out_a([])
U59_ag(T452, T8, qs155_out_a(X9)) → qs1_out_ag(.(T452, []), T8)
qs1_in_ag(.(T452, []), T8) → U60_ag(T452, T8, qs155_in_a(T455))
U60_ag(T452, T8, qs155_out_a(T455)) → U61_ag(T452, T8, qs155_in_a(X10))
U61_ag(T452, T8, qs155_out_a(X10)) → qs1_out_ag(.(T452, []), T8)
U60_ag(T452, T8, qs155_out_a(T455)) → U62_ag(T452, T8, T455, qs155_in_a(T460))
U62_ag(T452, T8, T455, qs155_out_a(T460)) → U63_ag(T452, T8, app162_in_gagg(T455, T452, T460, T8))
app162_in_gagg(.(T486, T487), T491, T489, .(T486, T490)) → U36_gagg(T486, T487, T491, T489, T490, app162_in_gagg(T487, T491, T489, T490))
app162_in_gagg([], T501, T502, .(T501, T502)) → app162_out_gagg([], T501, T502, .(T501, T502))
U36_gagg(T486, T487, T491, T489, T490, app162_out_gagg(T487, T491, T489, T490)) → app162_out_gagg(.(T486, T487), T491, T489, .(T486, T490))
U63_ag(T452, T8, app162_out_gagg(T455, T452, T460, T8)) → qs1_out_ag(.(T452, []), T8)
qs1_in_ag([], []) → qs1_out_ag([], [])

The argument filtering Pi contains the following mapping:
qs1_in_ag(x1, x2)  =  qs1_in_ag(x2)
U44_ag(x1, x2, x3, x4, x5)  =  U44_ag(x5)
gt10_in_aa(x1, x2)  =  gt10_in_aa
U1_aa(x1, x2, x3)  =  U1_aa(x3)
gt10_out_aa(x1, x2)  =  gt10_out_aa(x1, x2)
qs1_out_ag(x1, x2)  =  qs1_out_ag
U45_ag(x1, x2, x3, x4, x5)  =  U45_ag(x4, x5)
U46_ag(x1, x2, x3, x4, x5)  =  U46_ag(x5)
part20_in_gaaa(x1, x2, x3, x4)  =  part20_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x6)
gt10_in_ga(x1, x2)  =  gt10_in_ga(x1)
s(x1)  =  s(x1)
U1_ga(x1, x2, x3)  =  U1_ga(x3)
0  =  0
gt10_out_ga(x1, x2)  =  gt10_out_ga(x2)
part20_out_gaaa(x1, x2, x3, x4)  =  part20_out_gaaa
U3_gaaa(x1, x2, x3, x4, x5, x6)  =  U3_gaaa(x1, x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x6)
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x6)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U8_ga(x1, x2, x3)  =  U8_ga(x3)
le33_out_ga(x1, x2)  =  le33_out_ga
U6_gaaa(x1, x2, x3, x4, x5, x6)  =  U6_gaaa(x1, x6)
U7_gaaa(x1, x2, x3, x4, x5, x6)  =  U7_gaaa(x6)
U47_ag(x1, x2, x3, x4, x5)  =  U47_ag(x1, x2, x4, x5)
U48_ag(x1, x2, x3, x4, x5)  =  U48_ag(x5)
qs51_in_gaa(x1, x2, x3)  =  qs51_in_gaa(x1)
U37_gaa(x1, x2, x3, x4)  =  U37_gaa(x4)
p56_in_gaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_in_gaaaaaa(x1)
U9_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_gaaaaaa(x8)
p56_out_gaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_out_gaaaaaa
U10_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_gaaaaaa(x8)
U11_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_gaaaaaa(x8)
qs59_in_aa(x1, x2)  =  qs59_in_aa
U19_aa(x1, x2, x3, x4)  =  U19_aa(x4)
p56_in_aaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_in_aaaaaaa
U9_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_aaaaaaa(x8)
part20_in_aaaa(x1, x2, x3, x4)  =  part20_in_aaaa
U2_aaaa(x1, x2, x3, x4, x5, x6)  =  U2_aaaa(x6)
part20_out_aaaa(x1, x2, x3, x4)  =  part20_out_aaaa
U3_aaaa(x1, x2, x3, x4, x5, x6)  =  U3_aaaa(x6)
U4_aaaa(x1, x2, x3, x4, x5, x6)  =  U4_aaaa(x6)
U5_aaaa(x1, x2, x3, x4, x5, x6)  =  U5_aaaa(x6)
le33_in_aa(x1, x2)  =  le33_in_aa
U8_aa(x1, x2, x3)  =  U8_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
U6_aaaa(x1, x2, x3, x4, x5, x6)  =  U6_aaaa(x6)
U7_aaaa(x1, x2, x3, x4, x5, x6)  =  U7_aaaa(x6)
p56_out_aaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_out_aaaaaaa
U10_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_aaaaaaa(x8)
U11_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_aaaaaaa(x8)
qs59_out_aa(x1, x2)  =  qs59_out_aa
U12_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_aaaaaaa(x8)
U13_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_aaaaaaa(x8)
U14_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_aaaaaaa(x8)
U15_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_aaaaaaa(x8)
U16_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_aaaaaaa(x8)
U17_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_aaaaaaa(x8)
U18_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_aaaaaaa(x8)
.(x1, x2)  =  .(x1, x2)
[]  =  []
app70_in_aaaa(x1, x2, x3, x4)  =  app70_in_aaaa
U20_aaaa(x1, x2, x3, x4, x5, x6)  =  U20_aaaa(x6)
app70_out_aaaa(x1, x2, x3, x4)  =  app70_out_aaaa
U12_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_gaaaaaa(x8)
U13_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_gaaaaaa(x8)
U14_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_gaaaaaa(x8)
U15_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_gaaaaaa(x1, x8)
U16_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_gaaaaaa(x1, x8)
U17_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_gaaaaaa(x1, x8)
U18_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_gaaaaaa(x8)
app70_in_agaa(x1, x2, x3, x4)  =  app70_in_agaa(x2)
U20_agaa(x1, x2, x3, x4, x5, x6)  =  U20_agaa(x6)
app70_out_agaa(x1, x2, x3, x4)  =  app70_out_agaa
qs51_out_gaa(x1, x2, x3)  =  qs51_out_gaa
U49_ag(x1, x2, x3, x4, x5, x6)  =  U49_ag(x1, x4, x6)
U50_ag(x1, x2, x3, x4, x5)  =  U50_ag(x5)
p52_in_aaagg(x1, x2, x3, x4, x5)  =  p52_in_aaagg(x4, x5)
U33_aaagg(x1, x2, x3, x4, x5, x6)  =  U33_aaagg(x6)
qs80_in_aa(x1, x2)  =  qs80_in_aa
U22_aa(x1, x2, x3, x4)  =  U22_aa(x4)
part87_in_aaaa(x1, x2, x3, x4)  =  part87_in_aaaa
U38_aaaa(x1, x2, x3, x4, x5, x6)  =  U38_aaaa(x6)
part87_out_aaaa(x1, x2, x3, x4)  =  part87_out_aaaa
U39_aaaa(x1, x2, x3, x4, x5, x6)  =  U39_aaaa(x6)
U40_aaaa(x1, x2, x3, x4, x5, x6)  =  U40_aaaa(x6)
U41_aaaa(x1, x2, x3, x4, x5, x6)  =  U41_aaaa(x6)
le100_in_aa(x1, x2)  =  le100_in_aa
U21_aa(x1, x2, x3)  =  U21_aa(x3)
le100_out_aa(x1, x2)  =  le100_out_aa(x1)
U42_aaaa(x1, x2, x3, x4, x5, x6)  =  U42_aaaa(x6)
U43_aaaa(x1, x2, x3, x4, x5, x6)  =  U43_aaaa(x6)
qs80_out_aa(x1, x2)  =  qs80_out_aa
U23_aa(x1, x2, x3, x4)  =  U23_aa(x4)
U24_aa(x1, x2, x3, x4)  =  U24_aa(x4)
U27_aa(x1, x2, x3, x4)  =  U27_aa(x4)
U28_aa(x1, x2, x3, x4, x5)  =  U28_aa(x5)
U29_aa(x1, x2, x3, x4, x5)  =  U29_aa(x5)
U30_aa(x1, x2, x3, x4)  =  U30_aa(x4)
app121_in_aaaa(x1, x2, x3, x4)  =  app121_in_aaaa
U31_aaaa(x1, x2, x3, x4, x5, x6)  =  U31_aaaa(x6)
app121_out_aaaa(x1, x2, x3, x4)  =  app121_out_aaaa
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
U26_aa(x1, x2, x3, x4)  =  U26_aa(x4)
p52_out_aaagg(x1, x2, x3, x4, x5)  =  p52_out_aaagg
U34_aaagg(x1, x2, x3, x4, x5, x6)  =  U34_aaagg(x4, x5, x6)
U35_aaagg(x1, x2, x3, x4, x5, x6)  =  U35_aaagg(x6)
app81_in_agag(x1, x2, x3, x4)  =  app81_in_agag(x2, x4)
U32_agag(x1, x2, x3, x4, x5, x6)  =  U32_agag(x1, x6)
app81_out_agag(x1, x2, x3, x4)  =  app81_out_agag(x1, x3)
U51_ag(x1, x2, x3, x4, x5)  =  U51_ag(x5)
U52_ag(x1, x2, x3, x4, x5)  =  U52_ag(x5)
U53_ag(x1, x2, x3, x4, x5)  =  U53_ag(x5)
U54_ag(x1, x2, x3, x4, x5)  =  U54_ag(x4, x5)
U55_ag(x1, x2, x3, x4, x5)  =  U55_ag(x1, x4, x5)
U56_ag(x1, x2, x3, x4, x5)  =  U56_ag(x5)
U57_ag(x1, x2, x3, x4, x5, x6)  =  U57_ag(x1, x4, x6)
U58_ag(x1, x2, x3, x4, x5)  =  U58_ag(x5)
U59_ag(x1, x2, x3)  =  U59_ag(x3)
qs155_in_a(x1)  =  qs155_in_a
qs155_out_a(x1)  =  qs155_out_a(x1)
U60_ag(x1, x2, x3)  =  U60_ag(x2, x3)
U61_ag(x1, x2, x3)  =  U61_ag(x3)
U62_ag(x1, x2, x3, x4)  =  U62_ag(x2, x3, x4)
U63_ag(x1, x2, x3)  =  U63_ag(x3)
app162_in_gagg(x1, x2, x3, x4)  =  app162_in_gagg(x1, x3, x4)
U36_gagg(x1, x2, x3, x4, x5, x6)  =  U36_gagg(x6)
app162_out_gagg(x1, x2, x3, x4)  =  app162_out_gagg(x2)
APP70_IN_AAAA(x1, x2, x3, x4)  =  APP70_IN_AAAA

We have to consider all (P,R,Pi)-chains

(178) UsableRulesProof (EQUIVALENT transformation)

For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R.

(179) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

APP70_IN_AAAA(.(T201, T202), T203, T204, .(T201, X391)) → APP70_IN_AAAA(T202, T203, T204, X391)

R is empty.
The argument filtering Pi contains the following mapping:
.(x1, x2)  =  .(x1, x2)
APP70_IN_AAAA(x1, x2, x3, x4)  =  APP70_IN_AAAA

We have to consider all (P,R,Pi)-chains

(180) PiDPToQDPProof (SOUND transformation)

Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi.

(181) Obligation:

Q DP problem:
The TRS P consists of the following rules:

APP70_IN_AAAAAPP70_IN_AAAA

R is empty.
Q is empty.
We have to consider all (P,Q,R)-chains.

(182) NonTerminationProof (EQUIVALENT transformation)

We used the non-termination processor [FROCOS05] to show that the DP problem is infinite.
Found a loop by semiunifying a rule from P directly.

s = APP70_IN_AAAA evaluates to t =APP70_IN_AAAA

Thus s starts an infinite chain as s semiunifies with t with the following substitutions:
  • Semiunifier: [ ]
  • Matcher: [ ]




Rewriting sequence

The DP semiunifies directly so there is only one rewrite step from APP70_IN_AAAA to APP70_IN_AAAA.



(183) NO

(184) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

LE33_IN_AA(s(T113), s(T115)) → LE33_IN_AA(T113, T115)

The TRS R consists of the following rules:

qs1_in_ag(.(T26, .(T27, T28)), T8) → U44_ag(T26, T27, T28, T8, gt10_in_aa(T26, T27))
gt10_in_aa(s(T46), s(T47)) → U1_aa(T46, T47, gt10_in_aa(T46, T47))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U1_aa(T46, T47, gt10_out_aa(T46, T47)) → gt10_out_aa(s(T46), s(T47))
U44_ag(T26, T27, T28, T8, gt10_out_aa(T26, T27)) → qs1_out_ag(.(T26, .(T27, T28)), T8)
qs1_in_ag(.(T31, .(T33, T32)), T8) → U45_ag(T31, T33, T32, T8, gt10_in_aa(T31, T33))
U45_ag(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U46_ag(T31, T33, T32, T8, part20_in_gaaa(T31, T32, X47, X48))
part20_in_gaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_gaaa(T70, T73, T74, X119, X120, gt10_in_ga(T70, T73))
gt10_in_ga(s(T46), s(T47)) → U1_ga(T46, T47, gt10_in_ga(T46, T47))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U1_ga(T46, T47, gt10_out_ga(T46, T47)) → gt10_out_ga(s(T46), s(T47))
U2_gaaa(T70, T73, T74, X119, X120, gt10_out_ga(T70, T73)) → part20_out_gaaa(T70, .(T73, T74), .(T73, X119), X120)
part20_in_gaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_gaaa(T70, T73, T77, X119, X120, gt10_in_ga(T70, T73))
U3_gaaa(T70, T73, T77, X119, X120, gt10_out_ga(T70, T73)) → U4_gaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
part20_in_gaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_gaaa(T95, T98, T99, X170, X171, le33_in_ga(T95, T98))
le33_in_ga(s(T113), s(T115)) → U8_ga(T113, T115, le33_in_ga(T113, T115))
le33_in_ga(0, s(T122)) → le33_out_ga(0, s(T122))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U8_ga(T113, T115, le33_out_ga(T113, T115)) → le33_out_ga(s(T113), s(T115))
U5_gaaa(T95, T98, T99, X170, X171, le33_out_ga(T95, T98)) → part20_out_gaaa(T95, .(T98, T99), X170, .(T98, X171))
part20_in_gaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_gaaa(T95, T98, T102, X170, X171, le33_in_ga(T95, T98))
U6_gaaa(T95, T98, T102, X170, X171, le33_out_ga(T95, T98)) → U7_gaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
part20_in_gaaa(T128, [], [], []) → part20_out_gaaa(T128, [], [], [])
U7_gaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_gaaa(T95, .(T98, T102), X170, .(T98, X171))
U4_gaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_gaaa(T70, .(T73, T77), .(T73, X119), X120)
U46_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, X47, X48)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
U45_ag(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U47_ag(T31, T33, T32, T8, part20_in_gaaa(T31, T32, T53, T54))
U47_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U48_ag(T31, T33, T32, T8, qs51_in_gaa(T33, T53, X9))
qs51_in_gaa(T148, T149, X273) → U37_gaa(T148, T149, X273, p56_in_gaaaaaa(T148, T149, X269, X270, X271, X272, X273))
p56_in_gaaaaaa(T148, T149, X269, X270, X271, X272, X273) → U9_gaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_in_gaaa(T148, T149, X269, X270))
U9_gaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_out_gaaa(T148, T149, X269, X270)) → p56_out_gaaaaaa(T148, T149, X269, X270, X271, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, X271, X272, X273) → U10_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U10_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U11_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
qs59_in_aa(.(T171, T172), X335) → U19_aa(T171, T172, X335, p56_in_aaaaaaa(T171, T172, X331, X332, X333, X334, X335))
p56_in_aaaaaaa(T148, T149, X269, X270, X271, X272, X273) → U9_aaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_in_aaaa(T148, T149, X269, X270))
part20_in_aaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_aaaa(T70, T73, T74, X119, X120, gt10_in_aa(T70, T73))
U2_aaaa(T70, T73, T74, X119, X120, gt10_out_aa(T70, T73)) → part20_out_aaaa(T70, .(T73, T74), .(T73, X119), X120)
part20_in_aaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_aaaa(T70, T73, T77, X119, X120, gt10_in_aa(T70, T73))
U3_aaaa(T70, T73, T77, X119, X120, gt10_out_aa(T70, T73)) → U4_aaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
U4_aaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_aaaa(T70, .(T73, T77), .(T73, X119), X120)
part20_in_aaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_aaaa(T95, T98, T99, X170, X171, le33_in_aa(T95, T98))
le33_in_aa(s(T113), s(T115)) → U8_aa(T113, T115, le33_in_aa(T113, T115))
le33_in_aa(0, s(T122)) → le33_out_aa(0, s(T122))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U8_aa(T113, T115, le33_out_aa(T113, T115)) → le33_out_aa(s(T113), s(T115))
U5_aaaa(T95, T98, T99, X170, X171, le33_out_aa(T95, T98)) → part20_out_aaaa(T95, .(T98, T99), X170, .(T98, X171))
part20_in_aaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_aaaa(T95, T98, T102, X170, X171, le33_in_aa(T95, T98))
U6_aaaa(T95, T98, T102, X170, X171, le33_out_aa(T95, T98)) → U7_aaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
U7_aaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_aaaa(T95, .(T98, T102), X170, .(T98, X171))
part20_in_aaaa(T128, [], [], []) → part20_out_aaaa(T128, [], [], [])
U9_aaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_out_aaaa(T148, T149, X269, X270)) → p56_out_aaaaaaa(T148, T149, X269, X270, X271, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, X271, X272, X273) → U10_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U10_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U11_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
qs59_in_aa([], []) → qs59_out_aa([], [])
U11_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_out_aa(T153, X271)) → p56_out_aaaaaaa(T148, T149, T153, T154, X271, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, T160, X272, X273) → U12_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U12_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U13_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U13_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U14_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T154, X272)) → p56_out_aaaaaaa(T148, T149, T153, T154, T160, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, T160, T178, X273) → U15_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_in_aaaa(T148, T149, T153, T154))
U15_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_out_aaaa(T148, T149, T153, T154)) → U16_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U16_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U17_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_in_aaaa(T160, T148, T178, X273))
app70_in_aaaa(.(T201, T202), T203, T204, .(T201, X391)) → U20_aaaa(T201, T202, T203, T204, X391, app70_in_aaaa(T202, T203, T204, X391))
app70_in_aaaa([], T213, T214, .(T213, T214)) → app70_out_aaaa([], T213, T214, .(T213, T214))
U20_aaaa(T201, T202, T203, T204, X391, app70_out_aaaa(T202, T203, T204, X391)) → app70_out_aaaa(.(T201, T202), T203, T204, .(T201, X391))
U18_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_out_aaaa(T160, T148, T178, X273)) → p56_out_aaaaaaa(T148, T149, T153, T154, T160, T178, X273)
U19_aa(T171, T172, X335, p56_out_aaaaaaa(T171, T172, X331, X332, X333, X334, X335)) → qs59_out_aa(.(T171, T172), X335)
U11_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_out_aa(T153, X271)) → p56_out_gaaaaaa(T148, T149, T153, T154, X271, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, T160, X272, X273) → U12_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U12_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U13_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U13_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U14_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T154, X272)) → p56_out_gaaaaaa(T148, T149, T153, T154, T160, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, T160, T178, X273) → U15_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_in_gaaa(T148, T149, T153, T154))
U15_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_out_gaaa(T148, T149, T153, T154)) → U16_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U16_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U17_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_in_agaa(T160, T148, T178, X273))
app70_in_agaa(.(T201, T202), T203, T204, .(T201, X391)) → U20_agaa(T201, T202, T203, T204, X391, app70_in_agaa(T202, T203, T204, X391))
app70_in_agaa([], T213, T214, .(T213, T214)) → app70_out_agaa([], T213, T214, .(T213, T214))
U20_agaa(T201, T202, T203, T204, X391, app70_out_agaa(T202, T203, T204, X391)) → app70_out_agaa(.(T201, T202), T203, T204, .(T201, X391))
U18_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_out_agaa(T160, T148, T178, X273)) → p56_out_gaaaaaa(T148, T149, T153, T154, T160, T178, X273)
U37_gaa(T148, T149, X273, p56_out_gaaaaaa(T148, T149, X269, X270, X271, X272, X273)) → qs51_out_gaa(T148, T149, X273)
U48_ag(T31, T33, T32, T8, qs51_out_gaa(T33, T53, X9)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
U47_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U49_ag(T31, T33, T32, T8, T54, qs51_in_gaa(T33, T53, T131))
U49_ag(T31, T33, T32, T8, T54, qs51_out_gaa(T33, T53, T131)) → U50_ag(T31, T33, T32, T8, p52_in_aaagg(T54, X10, T131, T31, T8))
p52_in_aaagg(T54, X10, T131, T31, T8) → U33_aaagg(T54, X10, T131, T31, T8, qs80_in_aa(T54, X10))
qs80_in_aa(.(T230, T231), X452) → U22_aa(T230, T231, X452, part87_in_aaaa(T230, T231, X448, X449))
part87_in_aaaa(T256, .(T257, T258), .(T257, X503), X504) → U38_aaaa(T256, T257, T258, X503, X504, gt10_in_aa(T256, T257))
U38_aaaa(T256, T257, T258, X503, X504, gt10_out_aa(T256, T257)) → part87_out_aaaa(T256, .(T257, T258), .(T257, X503), X504)
part87_in_aaaa(T261, .(T257, T262), .(T257, X503), X504) → U39_aaaa(T261, T257, T262, X503, X504, gt10_in_aa(T261, T257))
U39_aaaa(T261, T257, T262, X503, X504, gt10_out_aa(T261, T257)) → U40_aaaa(T261, T257, T262, X503, X504, part20_in_gaaa(T261, T262, X503, X504))
U40_aaaa(T261, T257, T262, X503, X504, part20_out_gaaa(T261, T262, X503, X504)) → part87_out_aaaa(T261, .(T257, T262), .(T257, X503), X504)
part87_in_aaaa(T283, .(T284, T285), X554, .(T284, X555)) → U41_aaaa(T283, T284, T285, X554, X555, le100_in_aa(T283, T284))
le100_in_aa(s(T302), s(T303)) → U21_aa(T302, T303, le100_in_aa(T302, T303))
le100_in_aa(0, s(T310)) → le100_out_aa(0, s(T310))
le100_in_aa(0, 0) → le100_out_aa(0, 0)
U21_aa(T302, T303, le100_out_aa(T302, T303)) → le100_out_aa(s(T302), s(T303))
U41_aaaa(T283, T284, T285, X554, X555, le100_out_aa(T283, T284)) → part87_out_aaaa(T283, .(T284, T285), X554, .(T284, X555))
part87_in_aaaa(T288, .(T284, T289), X554, .(T284, X555)) → U42_aaaa(T288, T284, T289, X554, X555, le100_in_aa(T288, T284))
U42_aaaa(T288, T284, T289, X554, X555, le100_out_aa(T288, T284)) → U43_aaaa(T288, T284, T289, X554, X555, part20_in_gaaa(T288, T289, X554, X555))
U43_aaaa(T288, T284, T289, X554, X555, part20_out_gaaa(T288, T289, X554, X555)) → part87_out_aaaa(T288, .(T284, T289), X554, .(T284, X555))
part87_in_aaaa(T316, [], [], []) → part87_out_aaaa(T316, [], [], [])
U22_aa(T230, T231, X452, part87_out_aaaa(T230, T231, X448, X449)) → qs80_out_aa(.(T230, T231), X452)
qs80_in_aa(.(T237, T231), X452) → U23_aa(T237, T231, X452, part87_in_aaaa(T237, T231, T235, T236))
U23_aa(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U24_aa(T237, T231, X452, qs80_in_aa(T235, X450))
qs80_in_aa(.(T325, T231), X452) → U27_aa(T325, T231, X452, part87_in_aaaa(T325, T231, T235, T236))
U27_aa(T325, T231, X452, part87_out_aaaa(T325, T231, T235, T236)) → U28_aa(T325, T231, X452, T236, qs80_in_aa(T235, T319))
qs80_in_aa([], []) → qs80_out_aa([], [])
U28_aa(T325, T231, X452, T236, qs80_out_aa(T235, T319)) → U29_aa(T325, T231, X452, T319, qs80_in_aa(T236, T324))
U29_aa(T325, T231, X452, T319, qs80_out_aa(T236, T324)) → U30_aa(T325, T231, X452, app121_in_aaaa(T319, T325, T324, X452))
app121_in_aaaa(.(T348, T349), T352, T353, .(T348, X657)) → U31_aaaa(T348, T349, T352, T353, X657, app121_in_aaaa(T349, T352, T353, X657))
app121_in_aaaa([], T362, T363, .(T362, T363)) → app121_out_aaaa([], T362, T363, .(T362, T363))
U31_aaaa(T348, T349, T352, T353, X657, app121_out_aaaa(T349, T352, T353, X657)) → app121_out_aaaa(.(T348, T349), T352, T353, .(T348, X657))
U30_aa(T325, T231, X452, app121_out_aaaa(T319, T325, T324, X452)) → qs80_out_aa(.(T325, T231), X452)
U24_aa(T237, T231, X452, qs80_out_aa(T235, X450)) → qs80_out_aa(.(T237, T231), X452)
U23_aa(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U25_aa(T237, T231, X452, T236, qs80_in_aa(T235, T319))
U25_aa(T237, T231, X452, T236, qs80_out_aa(T235, T319)) → U26_aa(T237, T231, X452, qs80_in_aa(T236, X451))
U26_aa(T237, T231, X452, qs80_out_aa(T236, X451)) → qs80_out_aa(.(T237, T231), X452)
U33_aaagg(T54, X10, T131, T31, T8, qs80_out_aa(T54, X10)) → p52_out_aaagg(T54, X10, T131, T31, T8)
p52_in_aaagg(T54, T217, T131, T31, T8) → U34_aaagg(T54, T217, T131, T31, T8, qs80_in_aa(T54, T217))
U34_aaagg(T54, T217, T131, T31, T8, qs80_out_aa(T54, T217)) → U35_aaagg(T54, T217, T131, T31, T8, app81_in_agag(T131, T31, T217, T8))
app81_in_agag(.(T389, T390), T391, T394, .(T389, T393)) → U32_agag(T389, T390, T391, T394, T393, app81_in_agag(T390, T391, T394, T393))
app81_in_agag([], T404, T405, .(T404, T405)) → app81_out_agag([], T404, T405, .(T404, T405))
U32_agag(T389, T390, T391, T394, T393, app81_out_agag(T390, T391, T394, T393)) → app81_out_agag(.(T389, T390), T391, T394, .(T389, T393))
U35_aaagg(T54, T217, T131, T31, T8, app81_out_agag(T131, T31, T217, T8)) → p52_out_aaagg(T54, T217, T131, T31, T8)
U50_ag(T31, T33, T32, T8, p52_out_aaagg(T54, X10, T131, T31, T8)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
qs1_in_ag(.(T421, .(T422, T423)), T8) → U51_ag(T421, T422, T423, T8, le100_in_aa(T421, T422))
U51_ag(T421, T422, T423, T8, le100_out_aa(T421, T422)) → qs1_out_ag(.(T421, .(T422, T423)), T8)
qs1_in_ag(.(T426, .(T428, T427)), T8) → U52_ag(T426, T428, T427, T8, le100_in_aa(T426, T428))
U52_ag(T426, T428, T427, T8, le100_out_aa(T426, T428)) → U53_ag(T426, T428, T427, T8, part20_in_gaaa(T426, T427, X740, X741))
U53_ag(T426, T428, T427, T8, part20_out_gaaa(T426, T427, X740, X741)) → qs1_out_ag(.(T426, .(T428, T427)), T8)
qs1_in_ag(.(T426, .(T436, T427)), T8) → U54_ag(T426, T436, T427, T8, le100_in_aa(T426, T436))
U54_ag(T426, T436, T427, T8, le100_out_aa(T426, T436)) → U55_ag(T426, T436, T427, T8, part20_in_gaaa(T426, T427, T434, T435))
U55_ag(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U56_ag(T426, T436, T427, T8, qs80_in_aa(T434, X9))
U56_ag(T426, T436, T427, T8, qs80_out_aa(T434, X9)) → qs1_out_ag(.(T426, .(T436, T427)), T8)
U55_ag(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U57_ag(T426, T436, T427, T8, T435, qs80_in_aa(T434, T442))
U57_ag(T426, T436, T427, T8, T435, qs80_out_aa(T434, T442)) → U58_ag(T426, T436, T427, T8, p52_in_aaagg(.(T436, T435), X10, T442, T426, T8))
U58_ag(T426, T436, T427, T8, p52_out_aaagg(.(T436, T435), X10, T442, T426, T8)) → qs1_out_ag(.(T426, .(T436, T427)), T8)
qs1_in_ag(.(T452, []), T8) → U59_ag(T452, T8, qs155_in_a(X9))
qs155_in_a([]) → qs155_out_a([])
U59_ag(T452, T8, qs155_out_a(X9)) → qs1_out_ag(.(T452, []), T8)
qs1_in_ag(.(T452, []), T8) → U60_ag(T452, T8, qs155_in_a(T455))
U60_ag(T452, T8, qs155_out_a(T455)) → U61_ag(T452, T8, qs155_in_a(X10))
U61_ag(T452, T8, qs155_out_a(X10)) → qs1_out_ag(.(T452, []), T8)
U60_ag(T452, T8, qs155_out_a(T455)) → U62_ag(T452, T8, T455, qs155_in_a(T460))
U62_ag(T452, T8, T455, qs155_out_a(T460)) → U63_ag(T452, T8, app162_in_gagg(T455, T452, T460, T8))
app162_in_gagg(.(T486, T487), T491, T489, .(T486, T490)) → U36_gagg(T486, T487, T491, T489, T490, app162_in_gagg(T487, T491, T489, T490))
app162_in_gagg([], T501, T502, .(T501, T502)) → app162_out_gagg([], T501, T502, .(T501, T502))
U36_gagg(T486, T487, T491, T489, T490, app162_out_gagg(T487, T491, T489, T490)) → app162_out_gagg(.(T486, T487), T491, T489, .(T486, T490))
U63_ag(T452, T8, app162_out_gagg(T455, T452, T460, T8)) → qs1_out_ag(.(T452, []), T8)
qs1_in_ag([], []) → qs1_out_ag([], [])

The argument filtering Pi contains the following mapping:
qs1_in_ag(x1, x2)  =  qs1_in_ag(x2)
U44_ag(x1, x2, x3, x4, x5)  =  U44_ag(x5)
gt10_in_aa(x1, x2)  =  gt10_in_aa
U1_aa(x1, x2, x3)  =  U1_aa(x3)
gt10_out_aa(x1, x2)  =  gt10_out_aa(x1, x2)
qs1_out_ag(x1, x2)  =  qs1_out_ag
U45_ag(x1, x2, x3, x4, x5)  =  U45_ag(x4, x5)
U46_ag(x1, x2, x3, x4, x5)  =  U46_ag(x5)
part20_in_gaaa(x1, x2, x3, x4)  =  part20_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x6)
gt10_in_ga(x1, x2)  =  gt10_in_ga(x1)
s(x1)  =  s(x1)
U1_ga(x1, x2, x3)  =  U1_ga(x3)
0  =  0
gt10_out_ga(x1, x2)  =  gt10_out_ga(x2)
part20_out_gaaa(x1, x2, x3, x4)  =  part20_out_gaaa
U3_gaaa(x1, x2, x3, x4, x5, x6)  =  U3_gaaa(x1, x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x6)
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x6)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U8_ga(x1, x2, x3)  =  U8_ga(x3)
le33_out_ga(x1, x2)  =  le33_out_ga
U6_gaaa(x1, x2, x3, x4, x5, x6)  =  U6_gaaa(x1, x6)
U7_gaaa(x1, x2, x3, x4, x5, x6)  =  U7_gaaa(x6)
U47_ag(x1, x2, x3, x4, x5)  =  U47_ag(x1, x2, x4, x5)
U48_ag(x1, x2, x3, x4, x5)  =  U48_ag(x5)
qs51_in_gaa(x1, x2, x3)  =  qs51_in_gaa(x1)
U37_gaa(x1, x2, x3, x4)  =  U37_gaa(x4)
p56_in_gaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_in_gaaaaaa(x1)
U9_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_gaaaaaa(x8)
p56_out_gaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_out_gaaaaaa
U10_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_gaaaaaa(x8)
U11_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_gaaaaaa(x8)
qs59_in_aa(x1, x2)  =  qs59_in_aa
U19_aa(x1, x2, x3, x4)  =  U19_aa(x4)
p56_in_aaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_in_aaaaaaa
U9_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_aaaaaaa(x8)
part20_in_aaaa(x1, x2, x3, x4)  =  part20_in_aaaa
U2_aaaa(x1, x2, x3, x4, x5, x6)  =  U2_aaaa(x6)
part20_out_aaaa(x1, x2, x3, x4)  =  part20_out_aaaa
U3_aaaa(x1, x2, x3, x4, x5, x6)  =  U3_aaaa(x6)
U4_aaaa(x1, x2, x3, x4, x5, x6)  =  U4_aaaa(x6)
U5_aaaa(x1, x2, x3, x4, x5, x6)  =  U5_aaaa(x6)
le33_in_aa(x1, x2)  =  le33_in_aa
U8_aa(x1, x2, x3)  =  U8_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
U6_aaaa(x1, x2, x3, x4, x5, x6)  =  U6_aaaa(x6)
U7_aaaa(x1, x2, x3, x4, x5, x6)  =  U7_aaaa(x6)
p56_out_aaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_out_aaaaaaa
U10_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_aaaaaaa(x8)
U11_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_aaaaaaa(x8)
qs59_out_aa(x1, x2)  =  qs59_out_aa
U12_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_aaaaaaa(x8)
U13_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_aaaaaaa(x8)
U14_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_aaaaaaa(x8)
U15_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_aaaaaaa(x8)
U16_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_aaaaaaa(x8)
U17_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_aaaaaaa(x8)
U18_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_aaaaaaa(x8)
.(x1, x2)  =  .(x1, x2)
[]  =  []
app70_in_aaaa(x1, x2, x3, x4)  =  app70_in_aaaa
U20_aaaa(x1, x2, x3, x4, x5, x6)  =  U20_aaaa(x6)
app70_out_aaaa(x1, x2, x3, x4)  =  app70_out_aaaa
U12_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_gaaaaaa(x8)
U13_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_gaaaaaa(x8)
U14_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_gaaaaaa(x8)
U15_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_gaaaaaa(x1, x8)
U16_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_gaaaaaa(x1, x8)
U17_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_gaaaaaa(x1, x8)
U18_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_gaaaaaa(x8)
app70_in_agaa(x1, x2, x3, x4)  =  app70_in_agaa(x2)
U20_agaa(x1, x2, x3, x4, x5, x6)  =  U20_agaa(x6)
app70_out_agaa(x1, x2, x3, x4)  =  app70_out_agaa
qs51_out_gaa(x1, x2, x3)  =  qs51_out_gaa
U49_ag(x1, x2, x3, x4, x5, x6)  =  U49_ag(x1, x4, x6)
U50_ag(x1, x2, x3, x4, x5)  =  U50_ag(x5)
p52_in_aaagg(x1, x2, x3, x4, x5)  =  p52_in_aaagg(x4, x5)
U33_aaagg(x1, x2, x3, x4, x5, x6)  =  U33_aaagg(x6)
qs80_in_aa(x1, x2)  =  qs80_in_aa
U22_aa(x1, x2, x3, x4)  =  U22_aa(x4)
part87_in_aaaa(x1, x2, x3, x4)  =  part87_in_aaaa
U38_aaaa(x1, x2, x3, x4, x5, x6)  =  U38_aaaa(x6)
part87_out_aaaa(x1, x2, x3, x4)  =  part87_out_aaaa
U39_aaaa(x1, x2, x3, x4, x5, x6)  =  U39_aaaa(x6)
U40_aaaa(x1, x2, x3, x4, x5, x6)  =  U40_aaaa(x6)
U41_aaaa(x1, x2, x3, x4, x5, x6)  =  U41_aaaa(x6)
le100_in_aa(x1, x2)  =  le100_in_aa
U21_aa(x1, x2, x3)  =  U21_aa(x3)
le100_out_aa(x1, x2)  =  le100_out_aa(x1)
U42_aaaa(x1, x2, x3, x4, x5, x6)  =  U42_aaaa(x6)
U43_aaaa(x1, x2, x3, x4, x5, x6)  =  U43_aaaa(x6)
qs80_out_aa(x1, x2)  =  qs80_out_aa
U23_aa(x1, x2, x3, x4)  =  U23_aa(x4)
U24_aa(x1, x2, x3, x4)  =  U24_aa(x4)
U27_aa(x1, x2, x3, x4)  =  U27_aa(x4)
U28_aa(x1, x2, x3, x4, x5)  =  U28_aa(x5)
U29_aa(x1, x2, x3, x4, x5)  =  U29_aa(x5)
U30_aa(x1, x2, x3, x4)  =  U30_aa(x4)
app121_in_aaaa(x1, x2, x3, x4)  =  app121_in_aaaa
U31_aaaa(x1, x2, x3, x4, x5, x6)  =  U31_aaaa(x6)
app121_out_aaaa(x1, x2, x3, x4)  =  app121_out_aaaa
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
U26_aa(x1, x2, x3, x4)  =  U26_aa(x4)
p52_out_aaagg(x1, x2, x3, x4, x5)  =  p52_out_aaagg
U34_aaagg(x1, x2, x3, x4, x5, x6)  =  U34_aaagg(x4, x5, x6)
U35_aaagg(x1, x2, x3, x4, x5, x6)  =  U35_aaagg(x6)
app81_in_agag(x1, x2, x3, x4)  =  app81_in_agag(x2, x4)
U32_agag(x1, x2, x3, x4, x5, x6)  =  U32_agag(x1, x6)
app81_out_agag(x1, x2, x3, x4)  =  app81_out_agag(x1, x3)
U51_ag(x1, x2, x3, x4, x5)  =  U51_ag(x5)
U52_ag(x1, x2, x3, x4, x5)  =  U52_ag(x5)
U53_ag(x1, x2, x3, x4, x5)  =  U53_ag(x5)
U54_ag(x1, x2, x3, x4, x5)  =  U54_ag(x4, x5)
U55_ag(x1, x2, x3, x4, x5)  =  U55_ag(x1, x4, x5)
U56_ag(x1, x2, x3, x4, x5)  =  U56_ag(x5)
U57_ag(x1, x2, x3, x4, x5, x6)  =  U57_ag(x1, x4, x6)
U58_ag(x1, x2, x3, x4, x5)  =  U58_ag(x5)
U59_ag(x1, x2, x3)  =  U59_ag(x3)
qs155_in_a(x1)  =  qs155_in_a
qs155_out_a(x1)  =  qs155_out_a(x1)
U60_ag(x1, x2, x3)  =  U60_ag(x2, x3)
U61_ag(x1, x2, x3)  =  U61_ag(x3)
U62_ag(x1, x2, x3, x4)  =  U62_ag(x2, x3, x4)
U63_ag(x1, x2, x3)  =  U63_ag(x3)
app162_in_gagg(x1, x2, x3, x4)  =  app162_in_gagg(x1, x3, x4)
U36_gagg(x1, x2, x3, x4, x5, x6)  =  U36_gagg(x6)
app162_out_gagg(x1, x2, x3, x4)  =  app162_out_gagg(x2)
LE33_IN_AA(x1, x2)  =  LE33_IN_AA

We have to consider all (P,R,Pi)-chains

(185) UsableRulesProof (EQUIVALENT transformation)

For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R.

(186) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

LE33_IN_AA(s(T113), s(T115)) → LE33_IN_AA(T113, T115)

R is empty.
The argument filtering Pi contains the following mapping:
s(x1)  =  s(x1)
LE33_IN_AA(x1, x2)  =  LE33_IN_AA

We have to consider all (P,R,Pi)-chains

(187) PiDPToQDPProof (SOUND transformation)

Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi.

(188) Obligation:

Q DP problem:
The TRS P consists of the following rules:

LE33_IN_AALE33_IN_AA

R is empty.
Q is empty.
We have to consider all (P,Q,R)-chains.

(189) NonTerminationProof (EQUIVALENT transformation)

We used the non-termination processor [FROCOS05] to show that the DP problem is infinite.
Found a loop by semiunifying a rule from P directly.

s = LE33_IN_AA evaluates to t =LE33_IN_AA

Thus s starts an infinite chain as s semiunifies with t with the following substitutions:
  • Semiunifier: [ ]
  • Matcher: [ ]




Rewriting sequence

The DP semiunifies directly so there is only one rewrite step from LE33_IN_AA to LE33_IN_AA.



(190) NO

(191) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

LE33_IN_GA(s(T113), s(T115)) → LE33_IN_GA(T113, T115)

The TRS R consists of the following rules:

qs1_in_ag(.(T26, .(T27, T28)), T8) → U44_ag(T26, T27, T28, T8, gt10_in_aa(T26, T27))
gt10_in_aa(s(T46), s(T47)) → U1_aa(T46, T47, gt10_in_aa(T46, T47))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U1_aa(T46, T47, gt10_out_aa(T46, T47)) → gt10_out_aa(s(T46), s(T47))
U44_ag(T26, T27, T28, T8, gt10_out_aa(T26, T27)) → qs1_out_ag(.(T26, .(T27, T28)), T8)
qs1_in_ag(.(T31, .(T33, T32)), T8) → U45_ag(T31, T33, T32, T8, gt10_in_aa(T31, T33))
U45_ag(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U46_ag(T31, T33, T32, T8, part20_in_gaaa(T31, T32, X47, X48))
part20_in_gaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_gaaa(T70, T73, T74, X119, X120, gt10_in_ga(T70, T73))
gt10_in_ga(s(T46), s(T47)) → U1_ga(T46, T47, gt10_in_ga(T46, T47))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U1_ga(T46, T47, gt10_out_ga(T46, T47)) → gt10_out_ga(s(T46), s(T47))
U2_gaaa(T70, T73, T74, X119, X120, gt10_out_ga(T70, T73)) → part20_out_gaaa(T70, .(T73, T74), .(T73, X119), X120)
part20_in_gaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_gaaa(T70, T73, T77, X119, X120, gt10_in_ga(T70, T73))
U3_gaaa(T70, T73, T77, X119, X120, gt10_out_ga(T70, T73)) → U4_gaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
part20_in_gaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_gaaa(T95, T98, T99, X170, X171, le33_in_ga(T95, T98))
le33_in_ga(s(T113), s(T115)) → U8_ga(T113, T115, le33_in_ga(T113, T115))
le33_in_ga(0, s(T122)) → le33_out_ga(0, s(T122))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U8_ga(T113, T115, le33_out_ga(T113, T115)) → le33_out_ga(s(T113), s(T115))
U5_gaaa(T95, T98, T99, X170, X171, le33_out_ga(T95, T98)) → part20_out_gaaa(T95, .(T98, T99), X170, .(T98, X171))
part20_in_gaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_gaaa(T95, T98, T102, X170, X171, le33_in_ga(T95, T98))
U6_gaaa(T95, T98, T102, X170, X171, le33_out_ga(T95, T98)) → U7_gaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
part20_in_gaaa(T128, [], [], []) → part20_out_gaaa(T128, [], [], [])
U7_gaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_gaaa(T95, .(T98, T102), X170, .(T98, X171))
U4_gaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_gaaa(T70, .(T73, T77), .(T73, X119), X120)
U46_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, X47, X48)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
U45_ag(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U47_ag(T31, T33, T32, T8, part20_in_gaaa(T31, T32, T53, T54))
U47_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U48_ag(T31, T33, T32, T8, qs51_in_gaa(T33, T53, X9))
qs51_in_gaa(T148, T149, X273) → U37_gaa(T148, T149, X273, p56_in_gaaaaaa(T148, T149, X269, X270, X271, X272, X273))
p56_in_gaaaaaa(T148, T149, X269, X270, X271, X272, X273) → U9_gaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_in_gaaa(T148, T149, X269, X270))
U9_gaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_out_gaaa(T148, T149, X269, X270)) → p56_out_gaaaaaa(T148, T149, X269, X270, X271, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, X271, X272, X273) → U10_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U10_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U11_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
qs59_in_aa(.(T171, T172), X335) → U19_aa(T171, T172, X335, p56_in_aaaaaaa(T171, T172, X331, X332, X333, X334, X335))
p56_in_aaaaaaa(T148, T149, X269, X270, X271, X272, X273) → U9_aaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_in_aaaa(T148, T149, X269, X270))
part20_in_aaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_aaaa(T70, T73, T74, X119, X120, gt10_in_aa(T70, T73))
U2_aaaa(T70, T73, T74, X119, X120, gt10_out_aa(T70, T73)) → part20_out_aaaa(T70, .(T73, T74), .(T73, X119), X120)
part20_in_aaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_aaaa(T70, T73, T77, X119, X120, gt10_in_aa(T70, T73))
U3_aaaa(T70, T73, T77, X119, X120, gt10_out_aa(T70, T73)) → U4_aaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
U4_aaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_aaaa(T70, .(T73, T77), .(T73, X119), X120)
part20_in_aaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_aaaa(T95, T98, T99, X170, X171, le33_in_aa(T95, T98))
le33_in_aa(s(T113), s(T115)) → U8_aa(T113, T115, le33_in_aa(T113, T115))
le33_in_aa(0, s(T122)) → le33_out_aa(0, s(T122))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U8_aa(T113, T115, le33_out_aa(T113, T115)) → le33_out_aa(s(T113), s(T115))
U5_aaaa(T95, T98, T99, X170, X171, le33_out_aa(T95, T98)) → part20_out_aaaa(T95, .(T98, T99), X170, .(T98, X171))
part20_in_aaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_aaaa(T95, T98, T102, X170, X171, le33_in_aa(T95, T98))
U6_aaaa(T95, T98, T102, X170, X171, le33_out_aa(T95, T98)) → U7_aaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
U7_aaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_aaaa(T95, .(T98, T102), X170, .(T98, X171))
part20_in_aaaa(T128, [], [], []) → part20_out_aaaa(T128, [], [], [])
U9_aaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_out_aaaa(T148, T149, X269, X270)) → p56_out_aaaaaaa(T148, T149, X269, X270, X271, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, X271, X272, X273) → U10_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U10_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U11_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
qs59_in_aa([], []) → qs59_out_aa([], [])
U11_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_out_aa(T153, X271)) → p56_out_aaaaaaa(T148, T149, T153, T154, X271, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, T160, X272, X273) → U12_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U12_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U13_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U13_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U14_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T154, X272)) → p56_out_aaaaaaa(T148, T149, T153, T154, T160, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, T160, T178, X273) → U15_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_in_aaaa(T148, T149, T153, T154))
U15_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_out_aaaa(T148, T149, T153, T154)) → U16_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U16_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U17_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_in_aaaa(T160, T148, T178, X273))
app70_in_aaaa(.(T201, T202), T203, T204, .(T201, X391)) → U20_aaaa(T201, T202, T203, T204, X391, app70_in_aaaa(T202, T203, T204, X391))
app70_in_aaaa([], T213, T214, .(T213, T214)) → app70_out_aaaa([], T213, T214, .(T213, T214))
U20_aaaa(T201, T202, T203, T204, X391, app70_out_aaaa(T202, T203, T204, X391)) → app70_out_aaaa(.(T201, T202), T203, T204, .(T201, X391))
U18_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_out_aaaa(T160, T148, T178, X273)) → p56_out_aaaaaaa(T148, T149, T153, T154, T160, T178, X273)
U19_aa(T171, T172, X335, p56_out_aaaaaaa(T171, T172, X331, X332, X333, X334, X335)) → qs59_out_aa(.(T171, T172), X335)
U11_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_out_aa(T153, X271)) → p56_out_gaaaaaa(T148, T149, T153, T154, X271, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, T160, X272, X273) → U12_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U12_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U13_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U13_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U14_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T154, X272)) → p56_out_gaaaaaa(T148, T149, T153, T154, T160, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, T160, T178, X273) → U15_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_in_gaaa(T148, T149, T153, T154))
U15_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_out_gaaa(T148, T149, T153, T154)) → U16_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U16_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U17_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_in_agaa(T160, T148, T178, X273))
app70_in_agaa(.(T201, T202), T203, T204, .(T201, X391)) → U20_agaa(T201, T202, T203, T204, X391, app70_in_agaa(T202, T203, T204, X391))
app70_in_agaa([], T213, T214, .(T213, T214)) → app70_out_agaa([], T213, T214, .(T213, T214))
U20_agaa(T201, T202, T203, T204, X391, app70_out_agaa(T202, T203, T204, X391)) → app70_out_agaa(.(T201, T202), T203, T204, .(T201, X391))
U18_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_out_agaa(T160, T148, T178, X273)) → p56_out_gaaaaaa(T148, T149, T153, T154, T160, T178, X273)
U37_gaa(T148, T149, X273, p56_out_gaaaaaa(T148, T149, X269, X270, X271, X272, X273)) → qs51_out_gaa(T148, T149, X273)
U48_ag(T31, T33, T32, T8, qs51_out_gaa(T33, T53, X9)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
U47_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U49_ag(T31, T33, T32, T8, T54, qs51_in_gaa(T33, T53, T131))
U49_ag(T31, T33, T32, T8, T54, qs51_out_gaa(T33, T53, T131)) → U50_ag(T31, T33, T32, T8, p52_in_aaagg(T54, X10, T131, T31, T8))
p52_in_aaagg(T54, X10, T131, T31, T8) → U33_aaagg(T54, X10, T131, T31, T8, qs80_in_aa(T54, X10))
qs80_in_aa(.(T230, T231), X452) → U22_aa(T230, T231, X452, part87_in_aaaa(T230, T231, X448, X449))
part87_in_aaaa(T256, .(T257, T258), .(T257, X503), X504) → U38_aaaa(T256, T257, T258, X503, X504, gt10_in_aa(T256, T257))
U38_aaaa(T256, T257, T258, X503, X504, gt10_out_aa(T256, T257)) → part87_out_aaaa(T256, .(T257, T258), .(T257, X503), X504)
part87_in_aaaa(T261, .(T257, T262), .(T257, X503), X504) → U39_aaaa(T261, T257, T262, X503, X504, gt10_in_aa(T261, T257))
U39_aaaa(T261, T257, T262, X503, X504, gt10_out_aa(T261, T257)) → U40_aaaa(T261, T257, T262, X503, X504, part20_in_gaaa(T261, T262, X503, X504))
U40_aaaa(T261, T257, T262, X503, X504, part20_out_gaaa(T261, T262, X503, X504)) → part87_out_aaaa(T261, .(T257, T262), .(T257, X503), X504)
part87_in_aaaa(T283, .(T284, T285), X554, .(T284, X555)) → U41_aaaa(T283, T284, T285, X554, X555, le100_in_aa(T283, T284))
le100_in_aa(s(T302), s(T303)) → U21_aa(T302, T303, le100_in_aa(T302, T303))
le100_in_aa(0, s(T310)) → le100_out_aa(0, s(T310))
le100_in_aa(0, 0) → le100_out_aa(0, 0)
U21_aa(T302, T303, le100_out_aa(T302, T303)) → le100_out_aa(s(T302), s(T303))
U41_aaaa(T283, T284, T285, X554, X555, le100_out_aa(T283, T284)) → part87_out_aaaa(T283, .(T284, T285), X554, .(T284, X555))
part87_in_aaaa(T288, .(T284, T289), X554, .(T284, X555)) → U42_aaaa(T288, T284, T289, X554, X555, le100_in_aa(T288, T284))
U42_aaaa(T288, T284, T289, X554, X555, le100_out_aa(T288, T284)) → U43_aaaa(T288, T284, T289, X554, X555, part20_in_gaaa(T288, T289, X554, X555))
U43_aaaa(T288, T284, T289, X554, X555, part20_out_gaaa(T288, T289, X554, X555)) → part87_out_aaaa(T288, .(T284, T289), X554, .(T284, X555))
part87_in_aaaa(T316, [], [], []) → part87_out_aaaa(T316, [], [], [])
U22_aa(T230, T231, X452, part87_out_aaaa(T230, T231, X448, X449)) → qs80_out_aa(.(T230, T231), X452)
qs80_in_aa(.(T237, T231), X452) → U23_aa(T237, T231, X452, part87_in_aaaa(T237, T231, T235, T236))
U23_aa(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U24_aa(T237, T231, X452, qs80_in_aa(T235, X450))
qs80_in_aa(.(T325, T231), X452) → U27_aa(T325, T231, X452, part87_in_aaaa(T325, T231, T235, T236))
U27_aa(T325, T231, X452, part87_out_aaaa(T325, T231, T235, T236)) → U28_aa(T325, T231, X452, T236, qs80_in_aa(T235, T319))
qs80_in_aa([], []) → qs80_out_aa([], [])
U28_aa(T325, T231, X452, T236, qs80_out_aa(T235, T319)) → U29_aa(T325, T231, X452, T319, qs80_in_aa(T236, T324))
U29_aa(T325, T231, X452, T319, qs80_out_aa(T236, T324)) → U30_aa(T325, T231, X452, app121_in_aaaa(T319, T325, T324, X452))
app121_in_aaaa(.(T348, T349), T352, T353, .(T348, X657)) → U31_aaaa(T348, T349, T352, T353, X657, app121_in_aaaa(T349, T352, T353, X657))
app121_in_aaaa([], T362, T363, .(T362, T363)) → app121_out_aaaa([], T362, T363, .(T362, T363))
U31_aaaa(T348, T349, T352, T353, X657, app121_out_aaaa(T349, T352, T353, X657)) → app121_out_aaaa(.(T348, T349), T352, T353, .(T348, X657))
U30_aa(T325, T231, X452, app121_out_aaaa(T319, T325, T324, X452)) → qs80_out_aa(.(T325, T231), X452)
U24_aa(T237, T231, X452, qs80_out_aa(T235, X450)) → qs80_out_aa(.(T237, T231), X452)
U23_aa(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U25_aa(T237, T231, X452, T236, qs80_in_aa(T235, T319))
U25_aa(T237, T231, X452, T236, qs80_out_aa(T235, T319)) → U26_aa(T237, T231, X452, qs80_in_aa(T236, X451))
U26_aa(T237, T231, X452, qs80_out_aa(T236, X451)) → qs80_out_aa(.(T237, T231), X452)
U33_aaagg(T54, X10, T131, T31, T8, qs80_out_aa(T54, X10)) → p52_out_aaagg(T54, X10, T131, T31, T8)
p52_in_aaagg(T54, T217, T131, T31, T8) → U34_aaagg(T54, T217, T131, T31, T8, qs80_in_aa(T54, T217))
U34_aaagg(T54, T217, T131, T31, T8, qs80_out_aa(T54, T217)) → U35_aaagg(T54, T217, T131, T31, T8, app81_in_agag(T131, T31, T217, T8))
app81_in_agag(.(T389, T390), T391, T394, .(T389, T393)) → U32_agag(T389, T390, T391, T394, T393, app81_in_agag(T390, T391, T394, T393))
app81_in_agag([], T404, T405, .(T404, T405)) → app81_out_agag([], T404, T405, .(T404, T405))
U32_agag(T389, T390, T391, T394, T393, app81_out_agag(T390, T391, T394, T393)) → app81_out_agag(.(T389, T390), T391, T394, .(T389, T393))
U35_aaagg(T54, T217, T131, T31, T8, app81_out_agag(T131, T31, T217, T8)) → p52_out_aaagg(T54, T217, T131, T31, T8)
U50_ag(T31, T33, T32, T8, p52_out_aaagg(T54, X10, T131, T31, T8)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
qs1_in_ag(.(T421, .(T422, T423)), T8) → U51_ag(T421, T422, T423, T8, le100_in_aa(T421, T422))
U51_ag(T421, T422, T423, T8, le100_out_aa(T421, T422)) → qs1_out_ag(.(T421, .(T422, T423)), T8)
qs1_in_ag(.(T426, .(T428, T427)), T8) → U52_ag(T426, T428, T427, T8, le100_in_aa(T426, T428))
U52_ag(T426, T428, T427, T8, le100_out_aa(T426, T428)) → U53_ag(T426, T428, T427, T8, part20_in_gaaa(T426, T427, X740, X741))
U53_ag(T426, T428, T427, T8, part20_out_gaaa(T426, T427, X740, X741)) → qs1_out_ag(.(T426, .(T428, T427)), T8)
qs1_in_ag(.(T426, .(T436, T427)), T8) → U54_ag(T426, T436, T427, T8, le100_in_aa(T426, T436))
U54_ag(T426, T436, T427, T8, le100_out_aa(T426, T436)) → U55_ag(T426, T436, T427, T8, part20_in_gaaa(T426, T427, T434, T435))
U55_ag(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U56_ag(T426, T436, T427, T8, qs80_in_aa(T434, X9))
U56_ag(T426, T436, T427, T8, qs80_out_aa(T434, X9)) → qs1_out_ag(.(T426, .(T436, T427)), T8)
U55_ag(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U57_ag(T426, T436, T427, T8, T435, qs80_in_aa(T434, T442))
U57_ag(T426, T436, T427, T8, T435, qs80_out_aa(T434, T442)) → U58_ag(T426, T436, T427, T8, p52_in_aaagg(.(T436, T435), X10, T442, T426, T8))
U58_ag(T426, T436, T427, T8, p52_out_aaagg(.(T436, T435), X10, T442, T426, T8)) → qs1_out_ag(.(T426, .(T436, T427)), T8)
qs1_in_ag(.(T452, []), T8) → U59_ag(T452, T8, qs155_in_a(X9))
qs155_in_a([]) → qs155_out_a([])
U59_ag(T452, T8, qs155_out_a(X9)) → qs1_out_ag(.(T452, []), T8)
qs1_in_ag(.(T452, []), T8) → U60_ag(T452, T8, qs155_in_a(T455))
U60_ag(T452, T8, qs155_out_a(T455)) → U61_ag(T452, T8, qs155_in_a(X10))
U61_ag(T452, T8, qs155_out_a(X10)) → qs1_out_ag(.(T452, []), T8)
U60_ag(T452, T8, qs155_out_a(T455)) → U62_ag(T452, T8, T455, qs155_in_a(T460))
U62_ag(T452, T8, T455, qs155_out_a(T460)) → U63_ag(T452, T8, app162_in_gagg(T455, T452, T460, T8))
app162_in_gagg(.(T486, T487), T491, T489, .(T486, T490)) → U36_gagg(T486, T487, T491, T489, T490, app162_in_gagg(T487, T491, T489, T490))
app162_in_gagg([], T501, T502, .(T501, T502)) → app162_out_gagg([], T501, T502, .(T501, T502))
U36_gagg(T486, T487, T491, T489, T490, app162_out_gagg(T487, T491, T489, T490)) → app162_out_gagg(.(T486, T487), T491, T489, .(T486, T490))
U63_ag(T452, T8, app162_out_gagg(T455, T452, T460, T8)) → qs1_out_ag(.(T452, []), T8)
qs1_in_ag([], []) → qs1_out_ag([], [])

The argument filtering Pi contains the following mapping:
qs1_in_ag(x1, x2)  =  qs1_in_ag(x2)
U44_ag(x1, x2, x3, x4, x5)  =  U44_ag(x5)
gt10_in_aa(x1, x2)  =  gt10_in_aa
U1_aa(x1, x2, x3)  =  U1_aa(x3)
gt10_out_aa(x1, x2)  =  gt10_out_aa(x1, x2)
qs1_out_ag(x1, x2)  =  qs1_out_ag
U45_ag(x1, x2, x3, x4, x5)  =  U45_ag(x4, x5)
U46_ag(x1, x2, x3, x4, x5)  =  U46_ag(x5)
part20_in_gaaa(x1, x2, x3, x4)  =  part20_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x6)
gt10_in_ga(x1, x2)  =  gt10_in_ga(x1)
s(x1)  =  s(x1)
U1_ga(x1, x2, x3)  =  U1_ga(x3)
0  =  0
gt10_out_ga(x1, x2)  =  gt10_out_ga(x2)
part20_out_gaaa(x1, x2, x3, x4)  =  part20_out_gaaa
U3_gaaa(x1, x2, x3, x4, x5, x6)  =  U3_gaaa(x1, x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x6)
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x6)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U8_ga(x1, x2, x3)  =  U8_ga(x3)
le33_out_ga(x1, x2)  =  le33_out_ga
U6_gaaa(x1, x2, x3, x4, x5, x6)  =  U6_gaaa(x1, x6)
U7_gaaa(x1, x2, x3, x4, x5, x6)  =  U7_gaaa(x6)
U47_ag(x1, x2, x3, x4, x5)  =  U47_ag(x1, x2, x4, x5)
U48_ag(x1, x2, x3, x4, x5)  =  U48_ag(x5)
qs51_in_gaa(x1, x2, x3)  =  qs51_in_gaa(x1)
U37_gaa(x1, x2, x3, x4)  =  U37_gaa(x4)
p56_in_gaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_in_gaaaaaa(x1)
U9_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_gaaaaaa(x8)
p56_out_gaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_out_gaaaaaa
U10_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_gaaaaaa(x8)
U11_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_gaaaaaa(x8)
qs59_in_aa(x1, x2)  =  qs59_in_aa
U19_aa(x1, x2, x3, x4)  =  U19_aa(x4)
p56_in_aaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_in_aaaaaaa
U9_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_aaaaaaa(x8)
part20_in_aaaa(x1, x2, x3, x4)  =  part20_in_aaaa
U2_aaaa(x1, x2, x3, x4, x5, x6)  =  U2_aaaa(x6)
part20_out_aaaa(x1, x2, x3, x4)  =  part20_out_aaaa
U3_aaaa(x1, x2, x3, x4, x5, x6)  =  U3_aaaa(x6)
U4_aaaa(x1, x2, x3, x4, x5, x6)  =  U4_aaaa(x6)
U5_aaaa(x1, x2, x3, x4, x5, x6)  =  U5_aaaa(x6)
le33_in_aa(x1, x2)  =  le33_in_aa
U8_aa(x1, x2, x3)  =  U8_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
U6_aaaa(x1, x2, x3, x4, x5, x6)  =  U6_aaaa(x6)
U7_aaaa(x1, x2, x3, x4, x5, x6)  =  U7_aaaa(x6)
p56_out_aaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_out_aaaaaaa
U10_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_aaaaaaa(x8)
U11_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_aaaaaaa(x8)
qs59_out_aa(x1, x2)  =  qs59_out_aa
U12_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_aaaaaaa(x8)
U13_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_aaaaaaa(x8)
U14_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_aaaaaaa(x8)
U15_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_aaaaaaa(x8)
U16_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_aaaaaaa(x8)
U17_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_aaaaaaa(x8)
U18_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_aaaaaaa(x8)
.(x1, x2)  =  .(x1, x2)
[]  =  []
app70_in_aaaa(x1, x2, x3, x4)  =  app70_in_aaaa
U20_aaaa(x1, x2, x3, x4, x5, x6)  =  U20_aaaa(x6)
app70_out_aaaa(x1, x2, x3, x4)  =  app70_out_aaaa
U12_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_gaaaaaa(x8)
U13_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_gaaaaaa(x8)
U14_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_gaaaaaa(x8)
U15_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_gaaaaaa(x1, x8)
U16_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_gaaaaaa(x1, x8)
U17_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_gaaaaaa(x1, x8)
U18_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_gaaaaaa(x8)
app70_in_agaa(x1, x2, x3, x4)  =  app70_in_agaa(x2)
U20_agaa(x1, x2, x3, x4, x5, x6)  =  U20_agaa(x6)
app70_out_agaa(x1, x2, x3, x4)  =  app70_out_agaa
qs51_out_gaa(x1, x2, x3)  =  qs51_out_gaa
U49_ag(x1, x2, x3, x4, x5, x6)  =  U49_ag(x1, x4, x6)
U50_ag(x1, x2, x3, x4, x5)  =  U50_ag(x5)
p52_in_aaagg(x1, x2, x3, x4, x5)  =  p52_in_aaagg(x4, x5)
U33_aaagg(x1, x2, x3, x4, x5, x6)  =  U33_aaagg(x6)
qs80_in_aa(x1, x2)  =  qs80_in_aa
U22_aa(x1, x2, x3, x4)  =  U22_aa(x4)
part87_in_aaaa(x1, x2, x3, x4)  =  part87_in_aaaa
U38_aaaa(x1, x2, x3, x4, x5, x6)  =  U38_aaaa(x6)
part87_out_aaaa(x1, x2, x3, x4)  =  part87_out_aaaa
U39_aaaa(x1, x2, x3, x4, x5, x6)  =  U39_aaaa(x6)
U40_aaaa(x1, x2, x3, x4, x5, x6)  =  U40_aaaa(x6)
U41_aaaa(x1, x2, x3, x4, x5, x6)  =  U41_aaaa(x6)
le100_in_aa(x1, x2)  =  le100_in_aa
U21_aa(x1, x2, x3)  =  U21_aa(x3)
le100_out_aa(x1, x2)  =  le100_out_aa(x1)
U42_aaaa(x1, x2, x3, x4, x5, x6)  =  U42_aaaa(x6)
U43_aaaa(x1, x2, x3, x4, x5, x6)  =  U43_aaaa(x6)
qs80_out_aa(x1, x2)  =  qs80_out_aa
U23_aa(x1, x2, x3, x4)  =  U23_aa(x4)
U24_aa(x1, x2, x3, x4)  =  U24_aa(x4)
U27_aa(x1, x2, x3, x4)  =  U27_aa(x4)
U28_aa(x1, x2, x3, x4, x5)  =  U28_aa(x5)
U29_aa(x1, x2, x3, x4, x5)  =  U29_aa(x5)
U30_aa(x1, x2, x3, x4)  =  U30_aa(x4)
app121_in_aaaa(x1, x2, x3, x4)  =  app121_in_aaaa
U31_aaaa(x1, x2, x3, x4, x5, x6)  =  U31_aaaa(x6)
app121_out_aaaa(x1, x2, x3, x4)  =  app121_out_aaaa
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
U26_aa(x1, x2, x3, x4)  =  U26_aa(x4)
p52_out_aaagg(x1, x2, x3, x4, x5)  =  p52_out_aaagg
U34_aaagg(x1, x2, x3, x4, x5, x6)  =  U34_aaagg(x4, x5, x6)
U35_aaagg(x1, x2, x3, x4, x5, x6)  =  U35_aaagg(x6)
app81_in_agag(x1, x2, x3, x4)  =  app81_in_agag(x2, x4)
U32_agag(x1, x2, x3, x4, x5, x6)  =  U32_agag(x1, x6)
app81_out_agag(x1, x2, x3, x4)  =  app81_out_agag(x1, x3)
U51_ag(x1, x2, x3, x4, x5)  =  U51_ag(x5)
U52_ag(x1, x2, x3, x4, x5)  =  U52_ag(x5)
U53_ag(x1, x2, x3, x4, x5)  =  U53_ag(x5)
U54_ag(x1, x2, x3, x4, x5)  =  U54_ag(x4, x5)
U55_ag(x1, x2, x3, x4, x5)  =  U55_ag(x1, x4, x5)
U56_ag(x1, x2, x3, x4, x5)  =  U56_ag(x5)
U57_ag(x1, x2, x3, x4, x5, x6)  =  U57_ag(x1, x4, x6)
U58_ag(x1, x2, x3, x4, x5)  =  U58_ag(x5)
U59_ag(x1, x2, x3)  =  U59_ag(x3)
qs155_in_a(x1)  =  qs155_in_a
qs155_out_a(x1)  =  qs155_out_a(x1)
U60_ag(x1, x2, x3)  =  U60_ag(x2, x3)
U61_ag(x1, x2, x3)  =  U61_ag(x3)
U62_ag(x1, x2, x3, x4)  =  U62_ag(x2, x3, x4)
U63_ag(x1, x2, x3)  =  U63_ag(x3)
app162_in_gagg(x1, x2, x3, x4)  =  app162_in_gagg(x1, x3, x4)
U36_gagg(x1, x2, x3, x4, x5, x6)  =  U36_gagg(x6)
app162_out_gagg(x1, x2, x3, x4)  =  app162_out_gagg(x2)
LE33_IN_GA(x1, x2)  =  LE33_IN_GA(x1)

We have to consider all (P,R,Pi)-chains

(192) UsableRulesProof (EQUIVALENT transformation)

For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R.

(193) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

LE33_IN_GA(s(T113), s(T115)) → LE33_IN_GA(T113, T115)

R is empty.
The argument filtering Pi contains the following mapping:
s(x1)  =  s(x1)
LE33_IN_GA(x1, x2)  =  LE33_IN_GA(x1)

We have to consider all (P,R,Pi)-chains

(194) PiDPToQDPProof (SOUND transformation)

Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi.

(195) Obligation:

Q DP problem:
The TRS P consists of the following rules:

LE33_IN_GA(s(T113)) → LE33_IN_GA(T113)

R is empty.
Q is empty.
We have to consider all (P,Q,R)-chains.

(196) QDPSizeChangeProof (EQUIVALENT transformation)

By using the subterm criterion [SUBTERM_CRITERION] together with the size-change analysis [AAECC05] we have proven that there are no infinite chains for this DP problem.

From the DPs we obtained the following set of size-change graphs:

  • LE33_IN_GA(s(T113)) → LE33_IN_GA(T113)
    The graph contains the following edges 1 > 1

(197) YES

(198) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

GT10_IN_GA(s(T46), s(T47)) → GT10_IN_GA(T46, T47)

The TRS R consists of the following rules:

qs1_in_ag(.(T26, .(T27, T28)), T8) → U44_ag(T26, T27, T28, T8, gt10_in_aa(T26, T27))
gt10_in_aa(s(T46), s(T47)) → U1_aa(T46, T47, gt10_in_aa(T46, T47))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U1_aa(T46, T47, gt10_out_aa(T46, T47)) → gt10_out_aa(s(T46), s(T47))
U44_ag(T26, T27, T28, T8, gt10_out_aa(T26, T27)) → qs1_out_ag(.(T26, .(T27, T28)), T8)
qs1_in_ag(.(T31, .(T33, T32)), T8) → U45_ag(T31, T33, T32, T8, gt10_in_aa(T31, T33))
U45_ag(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U46_ag(T31, T33, T32, T8, part20_in_gaaa(T31, T32, X47, X48))
part20_in_gaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_gaaa(T70, T73, T74, X119, X120, gt10_in_ga(T70, T73))
gt10_in_ga(s(T46), s(T47)) → U1_ga(T46, T47, gt10_in_ga(T46, T47))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U1_ga(T46, T47, gt10_out_ga(T46, T47)) → gt10_out_ga(s(T46), s(T47))
U2_gaaa(T70, T73, T74, X119, X120, gt10_out_ga(T70, T73)) → part20_out_gaaa(T70, .(T73, T74), .(T73, X119), X120)
part20_in_gaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_gaaa(T70, T73, T77, X119, X120, gt10_in_ga(T70, T73))
U3_gaaa(T70, T73, T77, X119, X120, gt10_out_ga(T70, T73)) → U4_gaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
part20_in_gaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_gaaa(T95, T98, T99, X170, X171, le33_in_ga(T95, T98))
le33_in_ga(s(T113), s(T115)) → U8_ga(T113, T115, le33_in_ga(T113, T115))
le33_in_ga(0, s(T122)) → le33_out_ga(0, s(T122))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U8_ga(T113, T115, le33_out_ga(T113, T115)) → le33_out_ga(s(T113), s(T115))
U5_gaaa(T95, T98, T99, X170, X171, le33_out_ga(T95, T98)) → part20_out_gaaa(T95, .(T98, T99), X170, .(T98, X171))
part20_in_gaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_gaaa(T95, T98, T102, X170, X171, le33_in_ga(T95, T98))
U6_gaaa(T95, T98, T102, X170, X171, le33_out_ga(T95, T98)) → U7_gaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
part20_in_gaaa(T128, [], [], []) → part20_out_gaaa(T128, [], [], [])
U7_gaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_gaaa(T95, .(T98, T102), X170, .(T98, X171))
U4_gaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_gaaa(T70, .(T73, T77), .(T73, X119), X120)
U46_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, X47, X48)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
U45_ag(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U47_ag(T31, T33, T32, T8, part20_in_gaaa(T31, T32, T53, T54))
U47_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U48_ag(T31, T33, T32, T8, qs51_in_gaa(T33, T53, X9))
qs51_in_gaa(T148, T149, X273) → U37_gaa(T148, T149, X273, p56_in_gaaaaaa(T148, T149, X269, X270, X271, X272, X273))
p56_in_gaaaaaa(T148, T149, X269, X270, X271, X272, X273) → U9_gaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_in_gaaa(T148, T149, X269, X270))
U9_gaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_out_gaaa(T148, T149, X269, X270)) → p56_out_gaaaaaa(T148, T149, X269, X270, X271, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, X271, X272, X273) → U10_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U10_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U11_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
qs59_in_aa(.(T171, T172), X335) → U19_aa(T171, T172, X335, p56_in_aaaaaaa(T171, T172, X331, X332, X333, X334, X335))
p56_in_aaaaaaa(T148, T149, X269, X270, X271, X272, X273) → U9_aaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_in_aaaa(T148, T149, X269, X270))
part20_in_aaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_aaaa(T70, T73, T74, X119, X120, gt10_in_aa(T70, T73))
U2_aaaa(T70, T73, T74, X119, X120, gt10_out_aa(T70, T73)) → part20_out_aaaa(T70, .(T73, T74), .(T73, X119), X120)
part20_in_aaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_aaaa(T70, T73, T77, X119, X120, gt10_in_aa(T70, T73))
U3_aaaa(T70, T73, T77, X119, X120, gt10_out_aa(T70, T73)) → U4_aaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
U4_aaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_aaaa(T70, .(T73, T77), .(T73, X119), X120)
part20_in_aaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_aaaa(T95, T98, T99, X170, X171, le33_in_aa(T95, T98))
le33_in_aa(s(T113), s(T115)) → U8_aa(T113, T115, le33_in_aa(T113, T115))
le33_in_aa(0, s(T122)) → le33_out_aa(0, s(T122))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U8_aa(T113, T115, le33_out_aa(T113, T115)) → le33_out_aa(s(T113), s(T115))
U5_aaaa(T95, T98, T99, X170, X171, le33_out_aa(T95, T98)) → part20_out_aaaa(T95, .(T98, T99), X170, .(T98, X171))
part20_in_aaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_aaaa(T95, T98, T102, X170, X171, le33_in_aa(T95, T98))
U6_aaaa(T95, T98, T102, X170, X171, le33_out_aa(T95, T98)) → U7_aaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
U7_aaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_aaaa(T95, .(T98, T102), X170, .(T98, X171))
part20_in_aaaa(T128, [], [], []) → part20_out_aaaa(T128, [], [], [])
U9_aaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_out_aaaa(T148, T149, X269, X270)) → p56_out_aaaaaaa(T148, T149, X269, X270, X271, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, X271, X272, X273) → U10_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U10_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U11_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
qs59_in_aa([], []) → qs59_out_aa([], [])
U11_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_out_aa(T153, X271)) → p56_out_aaaaaaa(T148, T149, T153, T154, X271, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, T160, X272, X273) → U12_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U12_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U13_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U13_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U14_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T154, X272)) → p56_out_aaaaaaa(T148, T149, T153, T154, T160, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, T160, T178, X273) → U15_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_in_aaaa(T148, T149, T153, T154))
U15_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_out_aaaa(T148, T149, T153, T154)) → U16_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U16_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U17_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_in_aaaa(T160, T148, T178, X273))
app70_in_aaaa(.(T201, T202), T203, T204, .(T201, X391)) → U20_aaaa(T201, T202, T203, T204, X391, app70_in_aaaa(T202, T203, T204, X391))
app70_in_aaaa([], T213, T214, .(T213, T214)) → app70_out_aaaa([], T213, T214, .(T213, T214))
U20_aaaa(T201, T202, T203, T204, X391, app70_out_aaaa(T202, T203, T204, X391)) → app70_out_aaaa(.(T201, T202), T203, T204, .(T201, X391))
U18_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_out_aaaa(T160, T148, T178, X273)) → p56_out_aaaaaaa(T148, T149, T153, T154, T160, T178, X273)
U19_aa(T171, T172, X335, p56_out_aaaaaaa(T171, T172, X331, X332, X333, X334, X335)) → qs59_out_aa(.(T171, T172), X335)
U11_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_out_aa(T153, X271)) → p56_out_gaaaaaa(T148, T149, T153, T154, X271, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, T160, X272, X273) → U12_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U12_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U13_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U13_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U14_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T154, X272)) → p56_out_gaaaaaa(T148, T149, T153, T154, T160, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, T160, T178, X273) → U15_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_in_gaaa(T148, T149, T153, T154))
U15_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_out_gaaa(T148, T149, T153, T154)) → U16_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U16_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U17_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_in_agaa(T160, T148, T178, X273))
app70_in_agaa(.(T201, T202), T203, T204, .(T201, X391)) → U20_agaa(T201, T202, T203, T204, X391, app70_in_agaa(T202, T203, T204, X391))
app70_in_agaa([], T213, T214, .(T213, T214)) → app70_out_agaa([], T213, T214, .(T213, T214))
U20_agaa(T201, T202, T203, T204, X391, app70_out_agaa(T202, T203, T204, X391)) → app70_out_agaa(.(T201, T202), T203, T204, .(T201, X391))
U18_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_out_agaa(T160, T148, T178, X273)) → p56_out_gaaaaaa(T148, T149, T153, T154, T160, T178, X273)
U37_gaa(T148, T149, X273, p56_out_gaaaaaa(T148, T149, X269, X270, X271, X272, X273)) → qs51_out_gaa(T148, T149, X273)
U48_ag(T31, T33, T32, T8, qs51_out_gaa(T33, T53, X9)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
U47_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U49_ag(T31, T33, T32, T8, T54, qs51_in_gaa(T33, T53, T131))
U49_ag(T31, T33, T32, T8, T54, qs51_out_gaa(T33, T53, T131)) → U50_ag(T31, T33, T32, T8, p52_in_aaagg(T54, X10, T131, T31, T8))
p52_in_aaagg(T54, X10, T131, T31, T8) → U33_aaagg(T54, X10, T131, T31, T8, qs80_in_aa(T54, X10))
qs80_in_aa(.(T230, T231), X452) → U22_aa(T230, T231, X452, part87_in_aaaa(T230, T231, X448, X449))
part87_in_aaaa(T256, .(T257, T258), .(T257, X503), X504) → U38_aaaa(T256, T257, T258, X503, X504, gt10_in_aa(T256, T257))
U38_aaaa(T256, T257, T258, X503, X504, gt10_out_aa(T256, T257)) → part87_out_aaaa(T256, .(T257, T258), .(T257, X503), X504)
part87_in_aaaa(T261, .(T257, T262), .(T257, X503), X504) → U39_aaaa(T261, T257, T262, X503, X504, gt10_in_aa(T261, T257))
U39_aaaa(T261, T257, T262, X503, X504, gt10_out_aa(T261, T257)) → U40_aaaa(T261, T257, T262, X503, X504, part20_in_gaaa(T261, T262, X503, X504))
U40_aaaa(T261, T257, T262, X503, X504, part20_out_gaaa(T261, T262, X503, X504)) → part87_out_aaaa(T261, .(T257, T262), .(T257, X503), X504)
part87_in_aaaa(T283, .(T284, T285), X554, .(T284, X555)) → U41_aaaa(T283, T284, T285, X554, X555, le100_in_aa(T283, T284))
le100_in_aa(s(T302), s(T303)) → U21_aa(T302, T303, le100_in_aa(T302, T303))
le100_in_aa(0, s(T310)) → le100_out_aa(0, s(T310))
le100_in_aa(0, 0) → le100_out_aa(0, 0)
U21_aa(T302, T303, le100_out_aa(T302, T303)) → le100_out_aa(s(T302), s(T303))
U41_aaaa(T283, T284, T285, X554, X555, le100_out_aa(T283, T284)) → part87_out_aaaa(T283, .(T284, T285), X554, .(T284, X555))
part87_in_aaaa(T288, .(T284, T289), X554, .(T284, X555)) → U42_aaaa(T288, T284, T289, X554, X555, le100_in_aa(T288, T284))
U42_aaaa(T288, T284, T289, X554, X555, le100_out_aa(T288, T284)) → U43_aaaa(T288, T284, T289, X554, X555, part20_in_gaaa(T288, T289, X554, X555))
U43_aaaa(T288, T284, T289, X554, X555, part20_out_gaaa(T288, T289, X554, X555)) → part87_out_aaaa(T288, .(T284, T289), X554, .(T284, X555))
part87_in_aaaa(T316, [], [], []) → part87_out_aaaa(T316, [], [], [])
U22_aa(T230, T231, X452, part87_out_aaaa(T230, T231, X448, X449)) → qs80_out_aa(.(T230, T231), X452)
qs80_in_aa(.(T237, T231), X452) → U23_aa(T237, T231, X452, part87_in_aaaa(T237, T231, T235, T236))
U23_aa(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U24_aa(T237, T231, X452, qs80_in_aa(T235, X450))
qs80_in_aa(.(T325, T231), X452) → U27_aa(T325, T231, X452, part87_in_aaaa(T325, T231, T235, T236))
U27_aa(T325, T231, X452, part87_out_aaaa(T325, T231, T235, T236)) → U28_aa(T325, T231, X452, T236, qs80_in_aa(T235, T319))
qs80_in_aa([], []) → qs80_out_aa([], [])
U28_aa(T325, T231, X452, T236, qs80_out_aa(T235, T319)) → U29_aa(T325, T231, X452, T319, qs80_in_aa(T236, T324))
U29_aa(T325, T231, X452, T319, qs80_out_aa(T236, T324)) → U30_aa(T325, T231, X452, app121_in_aaaa(T319, T325, T324, X452))
app121_in_aaaa(.(T348, T349), T352, T353, .(T348, X657)) → U31_aaaa(T348, T349, T352, T353, X657, app121_in_aaaa(T349, T352, T353, X657))
app121_in_aaaa([], T362, T363, .(T362, T363)) → app121_out_aaaa([], T362, T363, .(T362, T363))
U31_aaaa(T348, T349, T352, T353, X657, app121_out_aaaa(T349, T352, T353, X657)) → app121_out_aaaa(.(T348, T349), T352, T353, .(T348, X657))
U30_aa(T325, T231, X452, app121_out_aaaa(T319, T325, T324, X452)) → qs80_out_aa(.(T325, T231), X452)
U24_aa(T237, T231, X452, qs80_out_aa(T235, X450)) → qs80_out_aa(.(T237, T231), X452)
U23_aa(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U25_aa(T237, T231, X452, T236, qs80_in_aa(T235, T319))
U25_aa(T237, T231, X452, T236, qs80_out_aa(T235, T319)) → U26_aa(T237, T231, X452, qs80_in_aa(T236, X451))
U26_aa(T237, T231, X452, qs80_out_aa(T236, X451)) → qs80_out_aa(.(T237, T231), X452)
U33_aaagg(T54, X10, T131, T31, T8, qs80_out_aa(T54, X10)) → p52_out_aaagg(T54, X10, T131, T31, T8)
p52_in_aaagg(T54, T217, T131, T31, T8) → U34_aaagg(T54, T217, T131, T31, T8, qs80_in_aa(T54, T217))
U34_aaagg(T54, T217, T131, T31, T8, qs80_out_aa(T54, T217)) → U35_aaagg(T54, T217, T131, T31, T8, app81_in_agag(T131, T31, T217, T8))
app81_in_agag(.(T389, T390), T391, T394, .(T389, T393)) → U32_agag(T389, T390, T391, T394, T393, app81_in_agag(T390, T391, T394, T393))
app81_in_agag([], T404, T405, .(T404, T405)) → app81_out_agag([], T404, T405, .(T404, T405))
U32_agag(T389, T390, T391, T394, T393, app81_out_agag(T390, T391, T394, T393)) → app81_out_agag(.(T389, T390), T391, T394, .(T389, T393))
U35_aaagg(T54, T217, T131, T31, T8, app81_out_agag(T131, T31, T217, T8)) → p52_out_aaagg(T54, T217, T131, T31, T8)
U50_ag(T31, T33, T32, T8, p52_out_aaagg(T54, X10, T131, T31, T8)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
qs1_in_ag(.(T421, .(T422, T423)), T8) → U51_ag(T421, T422, T423, T8, le100_in_aa(T421, T422))
U51_ag(T421, T422, T423, T8, le100_out_aa(T421, T422)) → qs1_out_ag(.(T421, .(T422, T423)), T8)
qs1_in_ag(.(T426, .(T428, T427)), T8) → U52_ag(T426, T428, T427, T8, le100_in_aa(T426, T428))
U52_ag(T426, T428, T427, T8, le100_out_aa(T426, T428)) → U53_ag(T426, T428, T427, T8, part20_in_gaaa(T426, T427, X740, X741))
U53_ag(T426, T428, T427, T8, part20_out_gaaa(T426, T427, X740, X741)) → qs1_out_ag(.(T426, .(T428, T427)), T8)
qs1_in_ag(.(T426, .(T436, T427)), T8) → U54_ag(T426, T436, T427, T8, le100_in_aa(T426, T436))
U54_ag(T426, T436, T427, T8, le100_out_aa(T426, T436)) → U55_ag(T426, T436, T427, T8, part20_in_gaaa(T426, T427, T434, T435))
U55_ag(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U56_ag(T426, T436, T427, T8, qs80_in_aa(T434, X9))
U56_ag(T426, T436, T427, T8, qs80_out_aa(T434, X9)) → qs1_out_ag(.(T426, .(T436, T427)), T8)
U55_ag(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U57_ag(T426, T436, T427, T8, T435, qs80_in_aa(T434, T442))
U57_ag(T426, T436, T427, T8, T435, qs80_out_aa(T434, T442)) → U58_ag(T426, T436, T427, T8, p52_in_aaagg(.(T436, T435), X10, T442, T426, T8))
U58_ag(T426, T436, T427, T8, p52_out_aaagg(.(T436, T435), X10, T442, T426, T8)) → qs1_out_ag(.(T426, .(T436, T427)), T8)
qs1_in_ag(.(T452, []), T8) → U59_ag(T452, T8, qs155_in_a(X9))
qs155_in_a([]) → qs155_out_a([])
U59_ag(T452, T8, qs155_out_a(X9)) → qs1_out_ag(.(T452, []), T8)
qs1_in_ag(.(T452, []), T8) → U60_ag(T452, T8, qs155_in_a(T455))
U60_ag(T452, T8, qs155_out_a(T455)) → U61_ag(T452, T8, qs155_in_a(X10))
U61_ag(T452, T8, qs155_out_a(X10)) → qs1_out_ag(.(T452, []), T8)
U60_ag(T452, T8, qs155_out_a(T455)) → U62_ag(T452, T8, T455, qs155_in_a(T460))
U62_ag(T452, T8, T455, qs155_out_a(T460)) → U63_ag(T452, T8, app162_in_gagg(T455, T452, T460, T8))
app162_in_gagg(.(T486, T487), T491, T489, .(T486, T490)) → U36_gagg(T486, T487, T491, T489, T490, app162_in_gagg(T487, T491, T489, T490))
app162_in_gagg([], T501, T502, .(T501, T502)) → app162_out_gagg([], T501, T502, .(T501, T502))
U36_gagg(T486, T487, T491, T489, T490, app162_out_gagg(T487, T491, T489, T490)) → app162_out_gagg(.(T486, T487), T491, T489, .(T486, T490))
U63_ag(T452, T8, app162_out_gagg(T455, T452, T460, T8)) → qs1_out_ag(.(T452, []), T8)
qs1_in_ag([], []) → qs1_out_ag([], [])

The argument filtering Pi contains the following mapping:
qs1_in_ag(x1, x2)  =  qs1_in_ag(x2)
U44_ag(x1, x2, x3, x4, x5)  =  U44_ag(x5)
gt10_in_aa(x1, x2)  =  gt10_in_aa
U1_aa(x1, x2, x3)  =  U1_aa(x3)
gt10_out_aa(x1, x2)  =  gt10_out_aa(x1, x2)
qs1_out_ag(x1, x2)  =  qs1_out_ag
U45_ag(x1, x2, x3, x4, x5)  =  U45_ag(x4, x5)
U46_ag(x1, x2, x3, x4, x5)  =  U46_ag(x5)
part20_in_gaaa(x1, x2, x3, x4)  =  part20_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x6)
gt10_in_ga(x1, x2)  =  gt10_in_ga(x1)
s(x1)  =  s(x1)
U1_ga(x1, x2, x3)  =  U1_ga(x3)
0  =  0
gt10_out_ga(x1, x2)  =  gt10_out_ga(x2)
part20_out_gaaa(x1, x2, x3, x4)  =  part20_out_gaaa
U3_gaaa(x1, x2, x3, x4, x5, x6)  =  U3_gaaa(x1, x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x6)
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x6)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U8_ga(x1, x2, x3)  =  U8_ga(x3)
le33_out_ga(x1, x2)  =  le33_out_ga
U6_gaaa(x1, x2, x3, x4, x5, x6)  =  U6_gaaa(x1, x6)
U7_gaaa(x1, x2, x3, x4, x5, x6)  =  U7_gaaa(x6)
U47_ag(x1, x2, x3, x4, x5)  =  U47_ag(x1, x2, x4, x5)
U48_ag(x1, x2, x3, x4, x5)  =  U48_ag(x5)
qs51_in_gaa(x1, x2, x3)  =  qs51_in_gaa(x1)
U37_gaa(x1, x2, x3, x4)  =  U37_gaa(x4)
p56_in_gaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_in_gaaaaaa(x1)
U9_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_gaaaaaa(x8)
p56_out_gaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_out_gaaaaaa
U10_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_gaaaaaa(x8)
U11_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_gaaaaaa(x8)
qs59_in_aa(x1, x2)  =  qs59_in_aa
U19_aa(x1, x2, x3, x4)  =  U19_aa(x4)
p56_in_aaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_in_aaaaaaa
U9_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_aaaaaaa(x8)
part20_in_aaaa(x1, x2, x3, x4)  =  part20_in_aaaa
U2_aaaa(x1, x2, x3, x4, x5, x6)  =  U2_aaaa(x6)
part20_out_aaaa(x1, x2, x3, x4)  =  part20_out_aaaa
U3_aaaa(x1, x2, x3, x4, x5, x6)  =  U3_aaaa(x6)
U4_aaaa(x1, x2, x3, x4, x5, x6)  =  U4_aaaa(x6)
U5_aaaa(x1, x2, x3, x4, x5, x6)  =  U5_aaaa(x6)
le33_in_aa(x1, x2)  =  le33_in_aa
U8_aa(x1, x2, x3)  =  U8_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
U6_aaaa(x1, x2, x3, x4, x5, x6)  =  U6_aaaa(x6)
U7_aaaa(x1, x2, x3, x4, x5, x6)  =  U7_aaaa(x6)
p56_out_aaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_out_aaaaaaa
U10_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_aaaaaaa(x8)
U11_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_aaaaaaa(x8)
qs59_out_aa(x1, x2)  =  qs59_out_aa
U12_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_aaaaaaa(x8)
U13_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_aaaaaaa(x8)
U14_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_aaaaaaa(x8)
U15_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_aaaaaaa(x8)
U16_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_aaaaaaa(x8)
U17_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_aaaaaaa(x8)
U18_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_aaaaaaa(x8)
.(x1, x2)  =  .(x1, x2)
[]  =  []
app70_in_aaaa(x1, x2, x3, x4)  =  app70_in_aaaa
U20_aaaa(x1, x2, x3, x4, x5, x6)  =  U20_aaaa(x6)
app70_out_aaaa(x1, x2, x3, x4)  =  app70_out_aaaa
U12_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_gaaaaaa(x8)
U13_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_gaaaaaa(x8)
U14_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_gaaaaaa(x8)
U15_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_gaaaaaa(x1, x8)
U16_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_gaaaaaa(x1, x8)
U17_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_gaaaaaa(x1, x8)
U18_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_gaaaaaa(x8)
app70_in_agaa(x1, x2, x3, x4)  =  app70_in_agaa(x2)
U20_agaa(x1, x2, x3, x4, x5, x6)  =  U20_agaa(x6)
app70_out_agaa(x1, x2, x3, x4)  =  app70_out_agaa
qs51_out_gaa(x1, x2, x3)  =  qs51_out_gaa
U49_ag(x1, x2, x3, x4, x5, x6)  =  U49_ag(x1, x4, x6)
U50_ag(x1, x2, x3, x4, x5)  =  U50_ag(x5)
p52_in_aaagg(x1, x2, x3, x4, x5)  =  p52_in_aaagg(x4, x5)
U33_aaagg(x1, x2, x3, x4, x5, x6)  =  U33_aaagg(x6)
qs80_in_aa(x1, x2)  =  qs80_in_aa
U22_aa(x1, x2, x3, x4)  =  U22_aa(x4)
part87_in_aaaa(x1, x2, x3, x4)  =  part87_in_aaaa
U38_aaaa(x1, x2, x3, x4, x5, x6)  =  U38_aaaa(x6)
part87_out_aaaa(x1, x2, x3, x4)  =  part87_out_aaaa
U39_aaaa(x1, x2, x3, x4, x5, x6)  =  U39_aaaa(x6)
U40_aaaa(x1, x2, x3, x4, x5, x6)  =  U40_aaaa(x6)
U41_aaaa(x1, x2, x3, x4, x5, x6)  =  U41_aaaa(x6)
le100_in_aa(x1, x2)  =  le100_in_aa
U21_aa(x1, x2, x3)  =  U21_aa(x3)
le100_out_aa(x1, x2)  =  le100_out_aa(x1)
U42_aaaa(x1, x2, x3, x4, x5, x6)  =  U42_aaaa(x6)
U43_aaaa(x1, x2, x3, x4, x5, x6)  =  U43_aaaa(x6)
qs80_out_aa(x1, x2)  =  qs80_out_aa
U23_aa(x1, x2, x3, x4)  =  U23_aa(x4)
U24_aa(x1, x2, x3, x4)  =  U24_aa(x4)
U27_aa(x1, x2, x3, x4)  =  U27_aa(x4)
U28_aa(x1, x2, x3, x4, x5)  =  U28_aa(x5)
U29_aa(x1, x2, x3, x4, x5)  =  U29_aa(x5)
U30_aa(x1, x2, x3, x4)  =  U30_aa(x4)
app121_in_aaaa(x1, x2, x3, x4)  =  app121_in_aaaa
U31_aaaa(x1, x2, x3, x4, x5, x6)  =  U31_aaaa(x6)
app121_out_aaaa(x1, x2, x3, x4)  =  app121_out_aaaa
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
U26_aa(x1, x2, x3, x4)  =  U26_aa(x4)
p52_out_aaagg(x1, x2, x3, x4, x5)  =  p52_out_aaagg
U34_aaagg(x1, x2, x3, x4, x5, x6)  =  U34_aaagg(x4, x5, x6)
U35_aaagg(x1, x2, x3, x4, x5, x6)  =  U35_aaagg(x6)
app81_in_agag(x1, x2, x3, x4)  =  app81_in_agag(x2, x4)
U32_agag(x1, x2, x3, x4, x5, x6)  =  U32_agag(x1, x6)
app81_out_agag(x1, x2, x3, x4)  =  app81_out_agag(x1, x3)
U51_ag(x1, x2, x3, x4, x5)  =  U51_ag(x5)
U52_ag(x1, x2, x3, x4, x5)  =  U52_ag(x5)
U53_ag(x1, x2, x3, x4, x5)  =  U53_ag(x5)
U54_ag(x1, x2, x3, x4, x5)  =  U54_ag(x4, x5)
U55_ag(x1, x2, x3, x4, x5)  =  U55_ag(x1, x4, x5)
U56_ag(x1, x2, x3, x4, x5)  =  U56_ag(x5)
U57_ag(x1, x2, x3, x4, x5, x6)  =  U57_ag(x1, x4, x6)
U58_ag(x1, x2, x3, x4, x5)  =  U58_ag(x5)
U59_ag(x1, x2, x3)  =  U59_ag(x3)
qs155_in_a(x1)  =  qs155_in_a
qs155_out_a(x1)  =  qs155_out_a(x1)
U60_ag(x1, x2, x3)  =  U60_ag(x2, x3)
U61_ag(x1, x2, x3)  =  U61_ag(x3)
U62_ag(x1, x2, x3, x4)  =  U62_ag(x2, x3, x4)
U63_ag(x1, x2, x3)  =  U63_ag(x3)
app162_in_gagg(x1, x2, x3, x4)  =  app162_in_gagg(x1, x3, x4)
U36_gagg(x1, x2, x3, x4, x5, x6)  =  U36_gagg(x6)
app162_out_gagg(x1, x2, x3, x4)  =  app162_out_gagg(x2)
GT10_IN_GA(x1, x2)  =  GT10_IN_GA(x1)

We have to consider all (P,R,Pi)-chains

(199) UsableRulesProof (EQUIVALENT transformation)

For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R.

(200) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

GT10_IN_GA(s(T46), s(T47)) → GT10_IN_GA(T46, T47)

R is empty.
The argument filtering Pi contains the following mapping:
s(x1)  =  s(x1)
GT10_IN_GA(x1, x2)  =  GT10_IN_GA(x1)

We have to consider all (P,R,Pi)-chains

(201) PiDPToQDPProof (SOUND transformation)

Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi.

(202) Obligation:

Q DP problem:
The TRS P consists of the following rules:

GT10_IN_GA(s(T46)) → GT10_IN_GA(T46)

R is empty.
Q is empty.
We have to consider all (P,Q,R)-chains.

(203) QDPSizeChangeProof (EQUIVALENT transformation)

By using the subterm criterion [SUBTERM_CRITERION] together with the size-change analysis [AAECC05] we have proven that there are no infinite chains for this DP problem.

From the DPs we obtained the following set of size-change graphs:

  • GT10_IN_GA(s(T46)) → GT10_IN_GA(T46)
    The graph contains the following edges 1 > 1

(204) YES

(205) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

PART20_IN_GAAA(T70, .(T73, T77), .(T73, X119), X120) → U3_GAAA(T70, T73, T77, X119, X120, gt10_in_ga(T70, T73))
U3_GAAA(T70, T73, T77, X119, X120, gt10_out_ga(T70, T73)) → PART20_IN_GAAA(T70, T77, X119, X120)
PART20_IN_GAAA(T95, .(T98, T102), X170, .(T98, X171)) → U6_GAAA(T95, T98, T102, X170, X171, le33_in_ga(T95, T98))
U6_GAAA(T95, T98, T102, X170, X171, le33_out_ga(T95, T98)) → PART20_IN_GAAA(T95, T102, X170, X171)

The TRS R consists of the following rules:

qs1_in_ag(.(T26, .(T27, T28)), T8) → U44_ag(T26, T27, T28, T8, gt10_in_aa(T26, T27))
gt10_in_aa(s(T46), s(T47)) → U1_aa(T46, T47, gt10_in_aa(T46, T47))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U1_aa(T46, T47, gt10_out_aa(T46, T47)) → gt10_out_aa(s(T46), s(T47))
U44_ag(T26, T27, T28, T8, gt10_out_aa(T26, T27)) → qs1_out_ag(.(T26, .(T27, T28)), T8)
qs1_in_ag(.(T31, .(T33, T32)), T8) → U45_ag(T31, T33, T32, T8, gt10_in_aa(T31, T33))
U45_ag(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U46_ag(T31, T33, T32, T8, part20_in_gaaa(T31, T32, X47, X48))
part20_in_gaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_gaaa(T70, T73, T74, X119, X120, gt10_in_ga(T70, T73))
gt10_in_ga(s(T46), s(T47)) → U1_ga(T46, T47, gt10_in_ga(T46, T47))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U1_ga(T46, T47, gt10_out_ga(T46, T47)) → gt10_out_ga(s(T46), s(T47))
U2_gaaa(T70, T73, T74, X119, X120, gt10_out_ga(T70, T73)) → part20_out_gaaa(T70, .(T73, T74), .(T73, X119), X120)
part20_in_gaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_gaaa(T70, T73, T77, X119, X120, gt10_in_ga(T70, T73))
U3_gaaa(T70, T73, T77, X119, X120, gt10_out_ga(T70, T73)) → U4_gaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
part20_in_gaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_gaaa(T95, T98, T99, X170, X171, le33_in_ga(T95, T98))
le33_in_ga(s(T113), s(T115)) → U8_ga(T113, T115, le33_in_ga(T113, T115))
le33_in_ga(0, s(T122)) → le33_out_ga(0, s(T122))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U8_ga(T113, T115, le33_out_ga(T113, T115)) → le33_out_ga(s(T113), s(T115))
U5_gaaa(T95, T98, T99, X170, X171, le33_out_ga(T95, T98)) → part20_out_gaaa(T95, .(T98, T99), X170, .(T98, X171))
part20_in_gaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_gaaa(T95, T98, T102, X170, X171, le33_in_ga(T95, T98))
U6_gaaa(T95, T98, T102, X170, X171, le33_out_ga(T95, T98)) → U7_gaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
part20_in_gaaa(T128, [], [], []) → part20_out_gaaa(T128, [], [], [])
U7_gaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_gaaa(T95, .(T98, T102), X170, .(T98, X171))
U4_gaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_gaaa(T70, .(T73, T77), .(T73, X119), X120)
U46_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, X47, X48)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
U45_ag(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U47_ag(T31, T33, T32, T8, part20_in_gaaa(T31, T32, T53, T54))
U47_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U48_ag(T31, T33, T32, T8, qs51_in_gaa(T33, T53, X9))
qs51_in_gaa(T148, T149, X273) → U37_gaa(T148, T149, X273, p56_in_gaaaaaa(T148, T149, X269, X270, X271, X272, X273))
p56_in_gaaaaaa(T148, T149, X269, X270, X271, X272, X273) → U9_gaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_in_gaaa(T148, T149, X269, X270))
U9_gaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_out_gaaa(T148, T149, X269, X270)) → p56_out_gaaaaaa(T148, T149, X269, X270, X271, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, X271, X272, X273) → U10_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U10_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U11_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
qs59_in_aa(.(T171, T172), X335) → U19_aa(T171, T172, X335, p56_in_aaaaaaa(T171, T172, X331, X332, X333, X334, X335))
p56_in_aaaaaaa(T148, T149, X269, X270, X271, X272, X273) → U9_aaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_in_aaaa(T148, T149, X269, X270))
part20_in_aaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_aaaa(T70, T73, T74, X119, X120, gt10_in_aa(T70, T73))
U2_aaaa(T70, T73, T74, X119, X120, gt10_out_aa(T70, T73)) → part20_out_aaaa(T70, .(T73, T74), .(T73, X119), X120)
part20_in_aaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_aaaa(T70, T73, T77, X119, X120, gt10_in_aa(T70, T73))
U3_aaaa(T70, T73, T77, X119, X120, gt10_out_aa(T70, T73)) → U4_aaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
U4_aaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_aaaa(T70, .(T73, T77), .(T73, X119), X120)
part20_in_aaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_aaaa(T95, T98, T99, X170, X171, le33_in_aa(T95, T98))
le33_in_aa(s(T113), s(T115)) → U8_aa(T113, T115, le33_in_aa(T113, T115))
le33_in_aa(0, s(T122)) → le33_out_aa(0, s(T122))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U8_aa(T113, T115, le33_out_aa(T113, T115)) → le33_out_aa(s(T113), s(T115))
U5_aaaa(T95, T98, T99, X170, X171, le33_out_aa(T95, T98)) → part20_out_aaaa(T95, .(T98, T99), X170, .(T98, X171))
part20_in_aaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_aaaa(T95, T98, T102, X170, X171, le33_in_aa(T95, T98))
U6_aaaa(T95, T98, T102, X170, X171, le33_out_aa(T95, T98)) → U7_aaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
U7_aaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_aaaa(T95, .(T98, T102), X170, .(T98, X171))
part20_in_aaaa(T128, [], [], []) → part20_out_aaaa(T128, [], [], [])
U9_aaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_out_aaaa(T148, T149, X269, X270)) → p56_out_aaaaaaa(T148, T149, X269, X270, X271, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, X271, X272, X273) → U10_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U10_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U11_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
qs59_in_aa([], []) → qs59_out_aa([], [])
U11_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_out_aa(T153, X271)) → p56_out_aaaaaaa(T148, T149, T153, T154, X271, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, T160, X272, X273) → U12_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U12_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U13_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U13_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U14_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T154, X272)) → p56_out_aaaaaaa(T148, T149, T153, T154, T160, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, T160, T178, X273) → U15_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_in_aaaa(T148, T149, T153, T154))
U15_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_out_aaaa(T148, T149, T153, T154)) → U16_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U16_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U17_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_in_aaaa(T160, T148, T178, X273))
app70_in_aaaa(.(T201, T202), T203, T204, .(T201, X391)) → U20_aaaa(T201, T202, T203, T204, X391, app70_in_aaaa(T202, T203, T204, X391))
app70_in_aaaa([], T213, T214, .(T213, T214)) → app70_out_aaaa([], T213, T214, .(T213, T214))
U20_aaaa(T201, T202, T203, T204, X391, app70_out_aaaa(T202, T203, T204, X391)) → app70_out_aaaa(.(T201, T202), T203, T204, .(T201, X391))
U18_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_out_aaaa(T160, T148, T178, X273)) → p56_out_aaaaaaa(T148, T149, T153, T154, T160, T178, X273)
U19_aa(T171, T172, X335, p56_out_aaaaaaa(T171, T172, X331, X332, X333, X334, X335)) → qs59_out_aa(.(T171, T172), X335)
U11_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_out_aa(T153, X271)) → p56_out_gaaaaaa(T148, T149, T153, T154, X271, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, T160, X272, X273) → U12_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U12_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U13_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U13_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U14_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T154, X272)) → p56_out_gaaaaaa(T148, T149, T153, T154, T160, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, T160, T178, X273) → U15_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_in_gaaa(T148, T149, T153, T154))
U15_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_out_gaaa(T148, T149, T153, T154)) → U16_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U16_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U17_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_in_agaa(T160, T148, T178, X273))
app70_in_agaa(.(T201, T202), T203, T204, .(T201, X391)) → U20_agaa(T201, T202, T203, T204, X391, app70_in_agaa(T202, T203, T204, X391))
app70_in_agaa([], T213, T214, .(T213, T214)) → app70_out_agaa([], T213, T214, .(T213, T214))
U20_agaa(T201, T202, T203, T204, X391, app70_out_agaa(T202, T203, T204, X391)) → app70_out_agaa(.(T201, T202), T203, T204, .(T201, X391))
U18_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_out_agaa(T160, T148, T178, X273)) → p56_out_gaaaaaa(T148, T149, T153, T154, T160, T178, X273)
U37_gaa(T148, T149, X273, p56_out_gaaaaaa(T148, T149, X269, X270, X271, X272, X273)) → qs51_out_gaa(T148, T149, X273)
U48_ag(T31, T33, T32, T8, qs51_out_gaa(T33, T53, X9)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
U47_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U49_ag(T31, T33, T32, T8, T54, qs51_in_gaa(T33, T53, T131))
U49_ag(T31, T33, T32, T8, T54, qs51_out_gaa(T33, T53, T131)) → U50_ag(T31, T33, T32, T8, p52_in_aaagg(T54, X10, T131, T31, T8))
p52_in_aaagg(T54, X10, T131, T31, T8) → U33_aaagg(T54, X10, T131, T31, T8, qs80_in_aa(T54, X10))
qs80_in_aa(.(T230, T231), X452) → U22_aa(T230, T231, X452, part87_in_aaaa(T230, T231, X448, X449))
part87_in_aaaa(T256, .(T257, T258), .(T257, X503), X504) → U38_aaaa(T256, T257, T258, X503, X504, gt10_in_aa(T256, T257))
U38_aaaa(T256, T257, T258, X503, X504, gt10_out_aa(T256, T257)) → part87_out_aaaa(T256, .(T257, T258), .(T257, X503), X504)
part87_in_aaaa(T261, .(T257, T262), .(T257, X503), X504) → U39_aaaa(T261, T257, T262, X503, X504, gt10_in_aa(T261, T257))
U39_aaaa(T261, T257, T262, X503, X504, gt10_out_aa(T261, T257)) → U40_aaaa(T261, T257, T262, X503, X504, part20_in_gaaa(T261, T262, X503, X504))
U40_aaaa(T261, T257, T262, X503, X504, part20_out_gaaa(T261, T262, X503, X504)) → part87_out_aaaa(T261, .(T257, T262), .(T257, X503), X504)
part87_in_aaaa(T283, .(T284, T285), X554, .(T284, X555)) → U41_aaaa(T283, T284, T285, X554, X555, le100_in_aa(T283, T284))
le100_in_aa(s(T302), s(T303)) → U21_aa(T302, T303, le100_in_aa(T302, T303))
le100_in_aa(0, s(T310)) → le100_out_aa(0, s(T310))
le100_in_aa(0, 0) → le100_out_aa(0, 0)
U21_aa(T302, T303, le100_out_aa(T302, T303)) → le100_out_aa(s(T302), s(T303))
U41_aaaa(T283, T284, T285, X554, X555, le100_out_aa(T283, T284)) → part87_out_aaaa(T283, .(T284, T285), X554, .(T284, X555))
part87_in_aaaa(T288, .(T284, T289), X554, .(T284, X555)) → U42_aaaa(T288, T284, T289, X554, X555, le100_in_aa(T288, T284))
U42_aaaa(T288, T284, T289, X554, X555, le100_out_aa(T288, T284)) → U43_aaaa(T288, T284, T289, X554, X555, part20_in_gaaa(T288, T289, X554, X555))
U43_aaaa(T288, T284, T289, X554, X555, part20_out_gaaa(T288, T289, X554, X555)) → part87_out_aaaa(T288, .(T284, T289), X554, .(T284, X555))
part87_in_aaaa(T316, [], [], []) → part87_out_aaaa(T316, [], [], [])
U22_aa(T230, T231, X452, part87_out_aaaa(T230, T231, X448, X449)) → qs80_out_aa(.(T230, T231), X452)
qs80_in_aa(.(T237, T231), X452) → U23_aa(T237, T231, X452, part87_in_aaaa(T237, T231, T235, T236))
U23_aa(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U24_aa(T237, T231, X452, qs80_in_aa(T235, X450))
qs80_in_aa(.(T325, T231), X452) → U27_aa(T325, T231, X452, part87_in_aaaa(T325, T231, T235, T236))
U27_aa(T325, T231, X452, part87_out_aaaa(T325, T231, T235, T236)) → U28_aa(T325, T231, X452, T236, qs80_in_aa(T235, T319))
qs80_in_aa([], []) → qs80_out_aa([], [])
U28_aa(T325, T231, X452, T236, qs80_out_aa(T235, T319)) → U29_aa(T325, T231, X452, T319, qs80_in_aa(T236, T324))
U29_aa(T325, T231, X452, T319, qs80_out_aa(T236, T324)) → U30_aa(T325, T231, X452, app121_in_aaaa(T319, T325, T324, X452))
app121_in_aaaa(.(T348, T349), T352, T353, .(T348, X657)) → U31_aaaa(T348, T349, T352, T353, X657, app121_in_aaaa(T349, T352, T353, X657))
app121_in_aaaa([], T362, T363, .(T362, T363)) → app121_out_aaaa([], T362, T363, .(T362, T363))
U31_aaaa(T348, T349, T352, T353, X657, app121_out_aaaa(T349, T352, T353, X657)) → app121_out_aaaa(.(T348, T349), T352, T353, .(T348, X657))
U30_aa(T325, T231, X452, app121_out_aaaa(T319, T325, T324, X452)) → qs80_out_aa(.(T325, T231), X452)
U24_aa(T237, T231, X452, qs80_out_aa(T235, X450)) → qs80_out_aa(.(T237, T231), X452)
U23_aa(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U25_aa(T237, T231, X452, T236, qs80_in_aa(T235, T319))
U25_aa(T237, T231, X452, T236, qs80_out_aa(T235, T319)) → U26_aa(T237, T231, X452, qs80_in_aa(T236, X451))
U26_aa(T237, T231, X452, qs80_out_aa(T236, X451)) → qs80_out_aa(.(T237, T231), X452)
U33_aaagg(T54, X10, T131, T31, T8, qs80_out_aa(T54, X10)) → p52_out_aaagg(T54, X10, T131, T31, T8)
p52_in_aaagg(T54, T217, T131, T31, T8) → U34_aaagg(T54, T217, T131, T31, T8, qs80_in_aa(T54, T217))
U34_aaagg(T54, T217, T131, T31, T8, qs80_out_aa(T54, T217)) → U35_aaagg(T54, T217, T131, T31, T8, app81_in_agag(T131, T31, T217, T8))
app81_in_agag(.(T389, T390), T391, T394, .(T389, T393)) → U32_agag(T389, T390, T391, T394, T393, app81_in_agag(T390, T391, T394, T393))
app81_in_agag([], T404, T405, .(T404, T405)) → app81_out_agag([], T404, T405, .(T404, T405))
U32_agag(T389, T390, T391, T394, T393, app81_out_agag(T390, T391, T394, T393)) → app81_out_agag(.(T389, T390), T391, T394, .(T389, T393))
U35_aaagg(T54, T217, T131, T31, T8, app81_out_agag(T131, T31, T217, T8)) → p52_out_aaagg(T54, T217, T131, T31, T8)
U50_ag(T31, T33, T32, T8, p52_out_aaagg(T54, X10, T131, T31, T8)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
qs1_in_ag(.(T421, .(T422, T423)), T8) → U51_ag(T421, T422, T423, T8, le100_in_aa(T421, T422))
U51_ag(T421, T422, T423, T8, le100_out_aa(T421, T422)) → qs1_out_ag(.(T421, .(T422, T423)), T8)
qs1_in_ag(.(T426, .(T428, T427)), T8) → U52_ag(T426, T428, T427, T8, le100_in_aa(T426, T428))
U52_ag(T426, T428, T427, T8, le100_out_aa(T426, T428)) → U53_ag(T426, T428, T427, T8, part20_in_gaaa(T426, T427, X740, X741))
U53_ag(T426, T428, T427, T8, part20_out_gaaa(T426, T427, X740, X741)) → qs1_out_ag(.(T426, .(T428, T427)), T8)
qs1_in_ag(.(T426, .(T436, T427)), T8) → U54_ag(T426, T436, T427, T8, le100_in_aa(T426, T436))
U54_ag(T426, T436, T427, T8, le100_out_aa(T426, T436)) → U55_ag(T426, T436, T427, T8, part20_in_gaaa(T426, T427, T434, T435))
U55_ag(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U56_ag(T426, T436, T427, T8, qs80_in_aa(T434, X9))
U56_ag(T426, T436, T427, T8, qs80_out_aa(T434, X9)) → qs1_out_ag(.(T426, .(T436, T427)), T8)
U55_ag(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U57_ag(T426, T436, T427, T8, T435, qs80_in_aa(T434, T442))
U57_ag(T426, T436, T427, T8, T435, qs80_out_aa(T434, T442)) → U58_ag(T426, T436, T427, T8, p52_in_aaagg(.(T436, T435), X10, T442, T426, T8))
U58_ag(T426, T436, T427, T8, p52_out_aaagg(.(T436, T435), X10, T442, T426, T8)) → qs1_out_ag(.(T426, .(T436, T427)), T8)
qs1_in_ag(.(T452, []), T8) → U59_ag(T452, T8, qs155_in_a(X9))
qs155_in_a([]) → qs155_out_a([])
U59_ag(T452, T8, qs155_out_a(X9)) → qs1_out_ag(.(T452, []), T8)
qs1_in_ag(.(T452, []), T8) → U60_ag(T452, T8, qs155_in_a(T455))
U60_ag(T452, T8, qs155_out_a(T455)) → U61_ag(T452, T8, qs155_in_a(X10))
U61_ag(T452, T8, qs155_out_a(X10)) → qs1_out_ag(.(T452, []), T8)
U60_ag(T452, T8, qs155_out_a(T455)) → U62_ag(T452, T8, T455, qs155_in_a(T460))
U62_ag(T452, T8, T455, qs155_out_a(T460)) → U63_ag(T452, T8, app162_in_gagg(T455, T452, T460, T8))
app162_in_gagg(.(T486, T487), T491, T489, .(T486, T490)) → U36_gagg(T486, T487, T491, T489, T490, app162_in_gagg(T487, T491, T489, T490))
app162_in_gagg([], T501, T502, .(T501, T502)) → app162_out_gagg([], T501, T502, .(T501, T502))
U36_gagg(T486, T487, T491, T489, T490, app162_out_gagg(T487, T491, T489, T490)) → app162_out_gagg(.(T486, T487), T491, T489, .(T486, T490))
U63_ag(T452, T8, app162_out_gagg(T455, T452, T460, T8)) → qs1_out_ag(.(T452, []), T8)
qs1_in_ag([], []) → qs1_out_ag([], [])

The argument filtering Pi contains the following mapping:
qs1_in_ag(x1, x2)  =  qs1_in_ag(x2)
U44_ag(x1, x2, x3, x4, x5)  =  U44_ag(x5)
gt10_in_aa(x1, x2)  =  gt10_in_aa
U1_aa(x1, x2, x3)  =  U1_aa(x3)
gt10_out_aa(x1, x2)  =  gt10_out_aa(x1, x2)
qs1_out_ag(x1, x2)  =  qs1_out_ag
U45_ag(x1, x2, x3, x4, x5)  =  U45_ag(x4, x5)
U46_ag(x1, x2, x3, x4, x5)  =  U46_ag(x5)
part20_in_gaaa(x1, x2, x3, x4)  =  part20_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x6)
gt10_in_ga(x1, x2)  =  gt10_in_ga(x1)
s(x1)  =  s(x1)
U1_ga(x1, x2, x3)  =  U1_ga(x3)
0  =  0
gt10_out_ga(x1, x2)  =  gt10_out_ga(x2)
part20_out_gaaa(x1, x2, x3, x4)  =  part20_out_gaaa
U3_gaaa(x1, x2, x3, x4, x5, x6)  =  U3_gaaa(x1, x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x6)
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x6)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U8_ga(x1, x2, x3)  =  U8_ga(x3)
le33_out_ga(x1, x2)  =  le33_out_ga
U6_gaaa(x1, x2, x3, x4, x5, x6)  =  U6_gaaa(x1, x6)
U7_gaaa(x1, x2, x3, x4, x5, x6)  =  U7_gaaa(x6)
U47_ag(x1, x2, x3, x4, x5)  =  U47_ag(x1, x2, x4, x5)
U48_ag(x1, x2, x3, x4, x5)  =  U48_ag(x5)
qs51_in_gaa(x1, x2, x3)  =  qs51_in_gaa(x1)
U37_gaa(x1, x2, x3, x4)  =  U37_gaa(x4)
p56_in_gaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_in_gaaaaaa(x1)
U9_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_gaaaaaa(x8)
p56_out_gaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_out_gaaaaaa
U10_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_gaaaaaa(x8)
U11_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_gaaaaaa(x8)
qs59_in_aa(x1, x2)  =  qs59_in_aa
U19_aa(x1, x2, x3, x4)  =  U19_aa(x4)
p56_in_aaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_in_aaaaaaa
U9_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_aaaaaaa(x8)
part20_in_aaaa(x1, x2, x3, x4)  =  part20_in_aaaa
U2_aaaa(x1, x2, x3, x4, x5, x6)  =  U2_aaaa(x6)
part20_out_aaaa(x1, x2, x3, x4)  =  part20_out_aaaa
U3_aaaa(x1, x2, x3, x4, x5, x6)  =  U3_aaaa(x6)
U4_aaaa(x1, x2, x3, x4, x5, x6)  =  U4_aaaa(x6)
U5_aaaa(x1, x2, x3, x4, x5, x6)  =  U5_aaaa(x6)
le33_in_aa(x1, x2)  =  le33_in_aa
U8_aa(x1, x2, x3)  =  U8_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
U6_aaaa(x1, x2, x3, x4, x5, x6)  =  U6_aaaa(x6)
U7_aaaa(x1, x2, x3, x4, x5, x6)  =  U7_aaaa(x6)
p56_out_aaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_out_aaaaaaa
U10_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_aaaaaaa(x8)
U11_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_aaaaaaa(x8)
qs59_out_aa(x1, x2)  =  qs59_out_aa
U12_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_aaaaaaa(x8)
U13_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_aaaaaaa(x8)
U14_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_aaaaaaa(x8)
U15_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_aaaaaaa(x8)
U16_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_aaaaaaa(x8)
U17_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_aaaaaaa(x8)
U18_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_aaaaaaa(x8)
.(x1, x2)  =  .(x1, x2)
[]  =  []
app70_in_aaaa(x1, x2, x3, x4)  =  app70_in_aaaa
U20_aaaa(x1, x2, x3, x4, x5, x6)  =  U20_aaaa(x6)
app70_out_aaaa(x1, x2, x3, x4)  =  app70_out_aaaa
U12_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_gaaaaaa(x8)
U13_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_gaaaaaa(x8)
U14_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_gaaaaaa(x8)
U15_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_gaaaaaa(x1, x8)
U16_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_gaaaaaa(x1, x8)
U17_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_gaaaaaa(x1, x8)
U18_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_gaaaaaa(x8)
app70_in_agaa(x1, x2, x3, x4)  =  app70_in_agaa(x2)
U20_agaa(x1, x2, x3, x4, x5, x6)  =  U20_agaa(x6)
app70_out_agaa(x1, x2, x3, x4)  =  app70_out_agaa
qs51_out_gaa(x1, x2, x3)  =  qs51_out_gaa
U49_ag(x1, x2, x3, x4, x5, x6)  =  U49_ag(x1, x4, x6)
U50_ag(x1, x2, x3, x4, x5)  =  U50_ag(x5)
p52_in_aaagg(x1, x2, x3, x4, x5)  =  p52_in_aaagg(x4, x5)
U33_aaagg(x1, x2, x3, x4, x5, x6)  =  U33_aaagg(x6)
qs80_in_aa(x1, x2)  =  qs80_in_aa
U22_aa(x1, x2, x3, x4)  =  U22_aa(x4)
part87_in_aaaa(x1, x2, x3, x4)  =  part87_in_aaaa
U38_aaaa(x1, x2, x3, x4, x5, x6)  =  U38_aaaa(x6)
part87_out_aaaa(x1, x2, x3, x4)  =  part87_out_aaaa
U39_aaaa(x1, x2, x3, x4, x5, x6)  =  U39_aaaa(x6)
U40_aaaa(x1, x2, x3, x4, x5, x6)  =  U40_aaaa(x6)
U41_aaaa(x1, x2, x3, x4, x5, x6)  =  U41_aaaa(x6)
le100_in_aa(x1, x2)  =  le100_in_aa
U21_aa(x1, x2, x3)  =  U21_aa(x3)
le100_out_aa(x1, x2)  =  le100_out_aa(x1)
U42_aaaa(x1, x2, x3, x4, x5, x6)  =  U42_aaaa(x6)
U43_aaaa(x1, x2, x3, x4, x5, x6)  =  U43_aaaa(x6)
qs80_out_aa(x1, x2)  =  qs80_out_aa
U23_aa(x1, x2, x3, x4)  =  U23_aa(x4)
U24_aa(x1, x2, x3, x4)  =  U24_aa(x4)
U27_aa(x1, x2, x3, x4)  =  U27_aa(x4)
U28_aa(x1, x2, x3, x4, x5)  =  U28_aa(x5)
U29_aa(x1, x2, x3, x4, x5)  =  U29_aa(x5)
U30_aa(x1, x2, x3, x4)  =  U30_aa(x4)
app121_in_aaaa(x1, x2, x3, x4)  =  app121_in_aaaa
U31_aaaa(x1, x2, x3, x4, x5, x6)  =  U31_aaaa(x6)
app121_out_aaaa(x1, x2, x3, x4)  =  app121_out_aaaa
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
U26_aa(x1, x2, x3, x4)  =  U26_aa(x4)
p52_out_aaagg(x1, x2, x3, x4, x5)  =  p52_out_aaagg
U34_aaagg(x1, x2, x3, x4, x5, x6)  =  U34_aaagg(x4, x5, x6)
U35_aaagg(x1, x2, x3, x4, x5, x6)  =  U35_aaagg(x6)
app81_in_agag(x1, x2, x3, x4)  =  app81_in_agag(x2, x4)
U32_agag(x1, x2, x3, x4, x5, x6)  =  U32_agag(x1, x6)
app81_out_agag(x1, x2, x3, x4)  =  app81_out_agag(x1, x3)
U51_ag(x1, x2, x3, x4, x5)  =  U51_ag(x5)
U52_ag(x1, x2, x3, x4, x5)  =  U52_ag(x5)
U53_ag(x1, x2, x3, x4, x5)  =  U53_ag(x5)
U54_ag(x1, x2, x3, x4, x5)  =  U54_ag(x4, x5)
U55_ag(x1, x2, x3, x4, x5)  =  U55_ag(x1, x4, x5)
U56_ag(x1, x2, x3, x4, x5)  =  U56_ag(x5)
U57_ag(x1, x2, x3, x4, x5, x6)  =  U57_ag(x1, x4, x6)
U58_ag(x1, x2, x3, x4, x5)  =  U58_ag(x5)
U59_ag(x1, x2, x3)  =  U59_ag(x3)
qs155_in_a(x1)  =  qs155_in_a
qs155_out_a(x1)  =  qs155_out_a(x1)
U60_ag(x1, x2, x3)  =  U60_ag(x2, x3)
U61_ag(x1, x2, x3)  =  U61_ag(x3)
U62_ag(x1, x2, x3, x4)  =  U62_ag(x2, x3, x4)
U63_ag(x1, x2, x3)  =  U63_ag(x3)
app162_in_gagg(x1, x2, x3, x4)  =  app162_in_gagg(x1, x3, x4)
U36_gagg(x1, x2, x3, x4, x5, x6)  =  U36_gagg(x6)
app162_out_gagg(x1, x2, x3, x4)  =  app162_out_gagg(x2)
PART20_IN_GAAA(x1, x2, x3, x4)  =  PART20_IN_GAAA(x1)
U3_GAAA(x1, x2, x3, x4, x5, x6)  =  U3_GAAA(x1, x6)
U6_GAAA(x1, x2, x3, x4, x5, x6)  =  U6_GAAA(x1, x6)

We have to consider all (P,R,Pi)-chains

(206) UsableRulesProof (EQUIVALENT transformation)

For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R.

(207) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

PART20_IN_GAAA(T70, .(T73, T77), .(T73, X119), X120) → U3_GAAA(T70, T73, T77, X119, X120, gt10_in_ga(T70, T73))
U3_GAAA(T70, T73, T77, X119, X120, gt10_out_ga(T70, T73)) → PART20_IN_GAAA(T70, T77, X119, X120)
PART20_IN_GAAA(T95, .(T98, T102), X170, .(T98, X171)) → U6_GAAA(T95, T98, T102, X170, X171, le33_in_ga(T95, T98))
U6_GAAA(T95, T98, T102, X170, X171, le33_out_ga(T95, T98)) → PART20_IN_GAAA(T95, T102, X170, X171)

The TRS R consists of the following rules:

gt10_in_ga(s(T46), s(T47)) → U1_ga(T46, T47, gt10_in_ga(T46, T47))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
le33_in_ga(s(T113), s(T115)) → U8_ga(T113, T115, le33_in_ga(T113, T115))
le33_in_ga(0, s(T122)) → le33_out_ga(0, s(T122))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U1_ga(T46, T47, gt10_out_ga(T46, T47)) → gt10_out_ga(s(T46), s(T47))
U8_ga(T113, T115, le33_out_ga(T113, T115)) → le33_out_ga(s(T113), s(T115))

The argument filtering Pi contains the following mapping:
gt10_in_ga(x1, x2)  =  gt10_in_ga(x1)
s(x1)  =  s(x1)
U1_ga(x1, x2, x3)  =  U1_ga(x3)
0  =  0
gt10_out_ga(x1, x2)  =  gt10_out_ga(x2)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U8_ga(x1, x2, x3)  =  U8_ga(x3)
le33_out_ga(x1, x2)  =  le33_out_ga
.(x1, x2)  =  .(x1, x2)
PART20_IN_GAAA(x1, x2, x3, x4)  =  PART20_IN_GAAA(x1)
U3_GAAA(x1, x2, x3, x4, x5, x6)  =  U3_GAAA(x1, x6)
U6_GAAA(x1, x2, x3, x4, x5, x6)  =  U6_GAAA(x1, x6)

We have to consider all (P,R,Pi)-chains

(208) PiDPToQDPProof (SOUND transformation)

Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi.

(209) Obligation:

Q DP problem:
The TRS P consists of the following rules:

PART20_IN_GAAA(T70) → U3_GAAA(T70, gt10_in_ga(T70))
U3_GAAA(T70, gt10_out_ga(T73)) → PART20_IN_GAAA(T70)
PART20_IN_GAAA(T95) → U6_GAAA(T95, le33_in_ga(T95))
U6_GAAA(T95, le33_out_ga) → PART20_IN_GAAA(T95)

The TRS R consists of the following rules:

gt10_in_ga(s(T46)) → U1_ga(gt10_in_ga(T46))
gt10_in_ga(s(0)) → gt10_out_ga(0)
le33_in_ga(s(T113)) → U8_ga(le33_in_ga(T113))
le33_in_ga(0) → le33_out_ga
U1_ga(gt10_out_ga(T47)) → gt10_out_ga(s(T47))
U8_ga(le33_out_ga) → le33_out_ga

The set Q consists of the following terms:

gt10_in_ga(x0)
le33_in_ga(x0)
U1_ga(x0)
U8_ga(x0)

We have to consider all (P,Q,R)-chains.

(210) Narrowing (SOUND transformation)

By narrowing [LPAR04] the rule PART20_IN_GAAA(T70) → U3_GAAA(T70, gt10_in_ga(T70)) at position [1] we obtained the following new rules [LPAR04]:

PART20_IN_GAAA(s(x0)) → U3_GAAA(s(x0), U1_ga(gt10_in_ga(x0)))
PART20_IN_GAAA(s(0)) → U3_GAAA(s(0), gt10_out_ga(0))

(211) Obligation:

Q DP problem:
The TRS P consists of the following rules:

U3_GAAA(T70, gt10_out_ga(T73)) → PART20_IN_GAAA(T70)
PART20_IN_GAAA(T95) → U6_GAAA(T95, le33_in_ga(T95))
U6_GAAA(T95, le33_out_ga) → PART20_IN_GAAA(T95)
PART20_IN_GAAA(s(x0)) → U3_GAAA(s(x0), U1_ga(gt10_in_ga(x0)))
PART20_IN_GAAA(s(0)) → U3_GAAA(s(0), gt10_out_ga(0))

The TRS R consists of the following rules:

gt10_in_ga(s(T46)) → U1_ga(gt10_in_ga(T46))
gt10_in_ga(s(0)) → gt10_out_ga(0)
le33_in_ga(s(T113)) → U8_ga(le33_in_ga(T113))
le33_in_ga(0) → le33_out_ga
U1_ga(gt10_out_ga(T47)) → gt10_out_ga(s(T47))
U8_ga(le33_out_ga) → le33_out_ga

The set Q consists of the following terms:

gt10_in_ga(x0)
le33_in_ga(x0)
U1_ga(x0)
U8_ga(x0)

We have to consider all (P,Q,R)-chains.

(212) Narrowing (SOUND transformation)

By narrowing [LPAR04] the rule PART20_IN_GAAA(T95) → U6_GAAA(T95, le33_in_ga(T95)) at position [1] we obtained the following new rules [LPAR04]:

PART20_IN_GAAA(s(x0)) → U6_GAAA(s(x0), U8_ga(le33_in_ga(x0)))
PART20_IN_GAAA(0) → U6_GAAA(0, le33_out_ga)

(213) Obligation:

Q DP problem:
The TRS P consists of the following rules:

U3_GAAA(T70, gt10_out_ga(T73)) → PART20_IN_GAAA(T70)
U6_GAAA(T95, le33_out_ga) → PART20_IN_GAAA(T95)
PART20_IN_GAAA(s(x0)) → U3_GAAA(s(x0), U1_ga(gt10_in_ga(x0)))
PART20_IN_GAAA(s(0)) → U3_GAAA(s(0), gt10_out_ga(0))
PART20_IN_GAAA(s(x0)) → U6_GAAA(s(x0), U8_ga(le33_in_ga(x0)))
PART20_IN_GAAA(0) → U6_GAAA(0, le33_out_ga)

The TRS R consists of the following rules:

gt10_in_ga(s(T46)) → U1_ga(gt10_in_ga(T46))
gt10_in_ga(s(0)) → gt10_out_ga(0)
le33_in_ga(s(T113)) → U8_ga(le33_in_ga(T113))
le33_in_ga(0) → le33_out_ga
U1_ga(gt10_out_ga(T47)) → gt10_out_ga(s(T47))
U8_ga(le33_out_ga) → le33_out_ga

The set Q consists of the following terms:

gt10_in_ga(x0)
le33_in_ga(x0)
U1_ga(x0)
U8_ga(x0)

We have to consider all (P,Q,R)-chains.

(214) Instantiation (EQUIVALENT transformation)

By instantiating [LPAR04] the rule U3_GAAA(T70, gt10_out_ga(T73)) → PART20_IN_GAAA(T70) we obtained the following new rules [LPAR04]:

U3_GAAA(s(z0), gt10_out_ga(x1)) → PART20_IN_GAAA(s(z0))
U3_GAAA(s(0), gt10_out_ga(0)) → PART20_IN_GAAA(s(0))

(215) Obligation:

Q DP problem:
The TRS P consists of the following rules:

U6_GAAA(T95, le33_out_ga) → PART20_IN_GAAA(T95)
PART20_IN_GAAA(s(x0)) → U3_GAAA(s(x0), U1_ga(gt10_in_ga(x0)))
PART20_IN_GAAA(s(0)) → U3_GAAA(s(0), gt10_out_ga(0))
PART20_IN_GAAA(s(x0)) → U6_GAAA(s(x0), U8_ga(le33_in_ga(x0)))
PART20_IN_GAAA(0) → U6_GAAA(0, le33_out_ga)
U3_GAAA(s(z0), gt10_out_ga(x1)) → PART20_IN_GAAA(s(z0))
U3_GAAA(s(0), gt10_out_ga(0)) → PART20_IN_GAAA(s(0))

The TRS R consists of the following rules:

gt10_in_ga(s(T46)) → U1_ga(gt10_in_ga(T46))
gt10_in_ga(s(0)) → gt10_out_ga(0)
le33_in_ga(s(T113)) → U8_ga(le33_in_ga(T113))
le33_in_ga(0) → le33_out_ga
U1_ga(gt10_out_ga(T47)) → gt10_out_ga(s(T47))
U8_ga(le33_out_ga) → le33_out_ga

The set Q consists of the following terms:

gt10_in_ga(x0)
le33_in_ga(x0)
U1_ga(x0)
U8_ga(x0)

We have to consider all (P,Q,R)-chains.

(216) Instantiation (EQUIVALENT transformation)

By instantiating [LPAR04] the rule U6_GAAA(T95, le33_out_ga) → PART20_IN_GAAA(T95) we obtained the following new rules [LPAR04]:

U6_GAAA(s(z0), le33_out_ga) → PART20_IN_GAAA(s(z0))
U6_GAAA(0, le33_out_ga) → PART20_IN_GAAA(0)

(217) Obligation:

Q DP problem:
The TRS P consists of the following rules:

PART20_IN_GAAA(s(x0)) → U3_GAAA(s(x0), U1_ga(gt10_in_ga(x0)))
PART20_IN_GAAA(s(0)) → U3_GAAA(s(0), gt10_out_ga(0))
PART20_IN_GAAA(s(x0)) → U6_GAAA(s(x0), U8_ga(le33_in_ga(x0)))
PART20_IN_GAAA(0) → U6_GAAA(0, le33_out_ga)
U3_GAAA(s(z0), gt10_out_ga(x1)) → PART20_IN_GAAA(s(z0))
U3_GAAA(s(0), gt10_out_ga(0)) → PART20_IN_GAAA(s(0))
U6_GAAA(s(z0), le33_out_ga) → PART20_IN_GAAA(s(z0))
U6_GAAA(0, le33_out_ga) → PART20_IN_GAAA(0)

The TRS R consists of the following rules:

gt10_in_ga(s(T46)) → U1_ga(gt10_in_ga(T46))
gt10_in_ga(s(0)) → gt10_out_ga(0)
le33_in_ga(s(T113)) → U8_ga(le33_in_ga(T113))
le33_in_ga(0) → le33_out_ga
U1_ga(gt10_out_ga(T47)) → gt10_out_ga(s(T47))
U8_ga(le33_out_ga) → le33_out_ga

The set Q consists of the following terms:

gt10_in_ga(x0)
le33_in_ga(x0)
U1_ga(x0)
U8_ga(x0)

We have to consider all (P,Q,R)-chains.

(218) DependencyGraphProof (EQUIVALENT transformation)

The approximation of the Dependency Graph [LPAR04,FROCOS05,EDGSTAR] contains 2 SCCs.

(219) Complex Obligation (AND)

(220) Obligation:

Q DP problem:
The TRS P consists of the following rules:

U6_GAAA(0, le33_out_ga) → PART20_IN_GAAA(0)
PART20_IN_GAAA(0) → U6_GAAA(0, le33_out_ga)

The TRS R consists of the following rules:

gt10_in_ga(s(T46)) → U1_ga(gt10_in_ga(T46))
gt10_in_ga(s(0)) → gt10_out_ga(0)
le33_in_ga(s(T113)) → U8_ga(le33_in_ga(T113))
le33_in_ga(0) → le33_out_ga
U1_ga(gt10_out_ga(T47)) → gt10_out_ga(s(T47))
U8_ga(le33_out_ga) → le33_out_ga

The set Q consists of the following terms:

gt10_in_ga(x0)
le33_in_ga(x0)
U1_ga(x0)
U8_ga(x0)

We have to consider all (P,Q,R)-chains.

(221) UsableRulesProof (EQUIVALENT transformation)

As all Q-normal forms are R-normal forms we are in the innermost case. Hence, by the usable rules processor [LPAR04] we can delete all non-usable rules [FROCOS05] from R.

(222) Obligation:

Q DP problem:
The TRS P consists of the following rules:

U6_GAAA(0, le33_out_ga) → PART20_IN_GAAA(0)
PART20_IN_GAAA(0) → U6_GAAA(0, le33_out_ga)

R is empty.
The set Q consists of the following terms:

gt10_in_ga(x0)
le33_in_ga(x0)
U1_ga(x0)
U8_ga(x0)

We have to consider all (P,Q,R)-chains.

(223) QReductionProof (EQUIVALENT transformation)

We deleted the following terms from Q as each root-symbol of these terms does neither occur in P nor in R.[THIEMANN].

gt10_in_ga(x0)
le33_in_ga(x0)
U1_ga(x0)
U8_ga(x0)

(224) Obligation:

Q DP problem:
The TRS P consists of the following rules:

U6_GAAA(0, le33_out_ga) → PART20_IN_GAAA(0)
PART20_IN_GAAA(0) → U6_GAAA(0, le33_out_ga)

R is empty.
Q is empty.
We have to consider all (P,Q,R)-chains.

(225) NonTerminationProof (EQUIVALENT transformation)

We used the non-termination processor [FROCOS05] to show that the DP problem is infinite.
Found a loop by narrowing to the left:

s = PART20_IN_GAAA(0) evaluates to t =PART20_IN_GAAA(0)

Thus s starts an infinite chain as s semiunifies with t with the following substitutions:
  • Semiunifier: [ ]
  • Matcher: [ ]




Rewriting sequence

PART20_IN_GAAA(0)U6_GAAA(0, le33_out_ga)
with rule PART20_IN_GAAA(0) → U6_GAAA(0, le33_out_ga) at position [] and matcher [ ]

U6_GAAA(0, le33_out_ga)PART20_IN_GAAA(0)
with rule U6_GAAA(0, le33_out_ga) → PART20_IN_GAAA(0)

Now applying the matcher to the start term leads to a term which is equal to the last term in the rewriting sequence


All these steps are and every following step will be a correct step w.r.t to Q.



(226) NO

(227) Obligation:

Q DP problem:
The TRS P consists of the following rules:

U3_GAAA(s(z0), gt10_out_ga(x1)) → PART20_IN_GAAA(s(z0))
PART20_IN_GAAA(s(x0)) → U3_GAAA(s(x0), U1_ga(gt10_in_ga(x0)))
U3_GAAA(s(0), gt10_out_ga(0)) → PART20_IN_GAAA(s(0))
PART20_IN_GAAA(s(0)) → U3_GAAA(s(0), gt10_out_ga(0))
PART20_IN_GAAA(s(x0)) → U6_GAAA(s(x0), U8_ga(le33_in_ga(x0)))
U6_GAAA(s(z0), le33_out_ga) → PART20_IN_GAAA(s(z0))

The TRS R consists of the following rules:

gt10_in_ga(s(T46)) → U1_ga(gt10_in_ga(T46))
gt10_in_ga(s(0)) → gt10_out_ga(0)
le33_in_ga(s(T113)) → U8_ga(le33_in_ga(T113))
le33_in_ga(0) → le33_out_ga
U1_ga(gt10_out_ga(T47)) → gt10_out_ga(s(T47))
U8_ga(le33_out_ga) → le33_out_ga

The set Q consists of the following terms:

gt10_in_ga(x0)
le33_in_ga(x0)
U1_ga(x0)
U8_ga(x0)

We have to consider all (P,Q,R)-chains.

(228) NonTerminationProof (EQUIVALENT transformation)

We used the non-termination processor [FROCOS05] to show that the DP problem is infinite.
Found a loop by narrowing to the left:

s = PART20_IN_GAAA(s(0)) evaluates to t =PART20_IN_GAAA(s(0))

Thus s starts an infinite chain as s semiunifies with t with the following substitutions:
  • Semiunifier: [ ]
  • Matcher: [ ]




Rewriting sequence

PART20_IN_GAAA(s(0))U3_GAAA(s(0), gt10_out_ga(0))
with rule PART20_IN_GAAA(s(0)) → U3_GAAA(s(0), gt10_out_ga(0)) at position [] and matcher [ ]

U3_GAAA(s(0), gt10_out_ga(0))PART20_IN_GAAA(s(0))
with rule U3_GAAA(s(z0), gt10_out_ga(x1)) → PART20_IN_GAAA(s(z0))

Now applying the matcher to the start term leads to a term which is equal to the last term in the rewriting sequence


All these steps are and every following step will be a correct step w.r.t to Q.



(229) NO

(230) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

GT10_IN_AA(s(T46), s(T47)) → GT10_IN_AA(T46, T47)

The TRS R consists of the following rules:

qs1_in_ag(.(T26, .(T27, T28)), T8) → U44_ag(T26, T27, T28, T8, gt10_in_aa(T26, T27))
gt10_in_aa(s(T46), s(T47)) → U1_aa(T46, T47, gt10_in_aa(T46, T47))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U1_aa(T46, T47, gt10_out_aa(T46, T47)) → gt10_out_aa(s(T46), s(T47))
U44_ag(T26, T27, T28, T8, gt10_out_aa(T26, T27)) → qs1_out_ag(.(T26, .(T27, T28)), T8)
qs1_in_ag(.(T31, .(T33, T32)), T8) → U45_ag(T31, T33, T32, T8, gt10_in_aa(T31, T33))
U45_ag(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U46_ag(T31, T33, T32, T8, part20_in_gaaa(T31, T32, X47, X48))
part20_in_gaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_gaaa(T70, T73, T74, X119, X120, gt10_in_ga(T70, T73))
gt10_in_ga(s(T46), s(T47)) → U1_ga(T46, T47, gt10_in_ga(T46, T47))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U1_ga(T46, T47, gt10_out_ga(T46, T47)) → gt10_out_ga(s(T46), s(T47))
U2_gaaa(T70, T73, T74, X119, X120, gt10_out_ga(T70, T73)) → part20_out_gaaa(T70, .(T73, T74), .(T73, X119), X120)
part20_in_gaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_gaaa(T70, T73, T77, X119, X120, gt10_in_ga(T70, T73))
U3_gaaa(T70, T73, T77, X119, X120, gt10_out_ga(T70, T73)) → U4_gaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
part20_in_gaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_gaaa(T95, T98, T99, X170, X171, le33_in_ga(T95, T98))
le33_in_ga(s(T113), s(T115)) → U8_ga(T113, T115, le33_in_ga(T113, T115))
le33_in_ga(0, s(T122)) → le33_out_ga(0, s(T122))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U8_ga(T113, T115, le33_out_ga(T113, T115)) → le33_out_ga(s(T113), s(T115))
U5_gaaa(T95, T98, T99, X170, X171, le33_out_ga(T95, T98)) → part20_out_gaaa(T95, .(T98, T99), X170, .(T98, X171))
part20_in_gaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_gaaa(T95, T98, T102, X170, X171, le33_in_ga(T95, T98))
U6_gaaa(T95, T98, T102, X170, X171, le33_out_ga(T95, T98)) → U7_gaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
part20_in_gaaa(T128, [], [], []) → part20_out_gaaa(T128, [], [], [])
U7_gaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_gaaa(T95, .(T98, T102), X170, .(T98, X171))
U4_gaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_gaaa(T70, .(T73, T77), .(T73, X119), X120)
U46_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, X47, X48)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
U45_ag(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U47_ag(T31, T33, T32, T8, part20_in_gaaa(T31, T32, T53, T54))
U47_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U48_ag(T31, T33, T32, T8, qs51_in_gaa(T33, T53, X9))
qs51_in_gaa(T148, T149, X273) → U37_gaa(T148, T149, X273, p56_in_gaaaaaa(T148, T149, X269, X270, X271, X272, X273))
p56_in_gaaaaaa(T148, T149, X269, X270, X271, X272, X273) → U9_gaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_in_gaaa(T148, T149, X269, X270))
U9_gaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_out_gaaa(T148, T149, X269, X270)) → p56_out_gaaaaaa(T148, T149, X269, X270, X271, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, X271, X272, X273) → U10_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U10_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U11_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
qs59_in_aa(.(T171, T172), X335) → U19_aa(T171, T172, X335, p56_in_aaaaaaa(T171, T172, X331, X332, X333, X334, X335))
p56_in_aaaaaaa(T148, T149, X269, X270, X271, X272, X273) → U9_aaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_in_aaaa(T148, T149, X269, X270))
part20_in_aaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_aaaa(T70, T73, T74, X119, X120, gt10_in_aa(T70, T73))
U2_aaaa(T70, T73, T74, X119, X120, gt10_out_aa(T70, T73)) → part20_out_aaaa(T70, .(T73, T74), .(T73, X119), X120)
part20_in_aaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_aaaa(T70, T73, T77, X119, X120, gt10_in_aa(T70, T73))
U3_aaaa(T70, T73, T77, X119, X120, gt10_out_aa(T70, T73)) → U4_aaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
U4_aaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_aaaa(T70, .(T73, T77), .(T73, X119), X120)
part20_in_aaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_aaaa(T95, T98, T99, X170, X171, le33_in_aa(T95, T98))
le33_in_aa(s(T113), s(T115)) → U8_aa(T113, T115, le33_in_aa(T113, T115))
le33_in_aa(0, s(T122)) → le33_out_aa(0, s(T122))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U8_aa(T113, T115, le33_out_aa(T113, T115)) → le33_out_aa(s(T113), s(T115))
U5_aaaa(T95, T98, T99, X170, X171, le33_out_aa(T95, T98)) → part20_out_aaaa(T95, .(T98, T99), X170, .(T98, X171))
part20_in_aaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_aaaa(T95, T98, T102, X170, X171, le33_in_aa(T95, T98))
U6_aaaa(T95, T98, T102, X170, X171, le33_out_aa(T95, T98)) → U7_aaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
U7_aaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_aaaa(T95, .(T98, T102), X170, .(T98, X171))
part20_in_aaaa(T128, [], [], []) → part20_out_aaaa(T128, [], [], [])
U9_aaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_out_aaaa(T148, T149, X269, X270)) → p56_out_aaaaaaa(T148, T149, X269, X270, X271, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, X271, X272, X273) → U10_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U10_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U11_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
qs59_in_aa([], []) → qs59_out_aa([], [])
U11_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_out_aa(T153, X271)) → p56_out_aaaaaaa(T148, T149, T153, T154, X271, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, T160, X272, X273) → U12_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U12_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U13_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U13_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U14_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T154, X272)) → p56_out_aaaaaaa(T148, T149, T153, T154, T160, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, T160, T178, X273) → U15_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_in_aaaa(T148, T149, T153, T154))
U15_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_out_aaaa(T148, T149, T153, T154)) → U16_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U16_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U17_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_in_aaaa(T160, T148, T178, X273))
app70_in_aaaa(.(T201, T202), T203, T204, .(T201, X391)) → U20_aaaa(T201, T202, T203, T204, X391, app70_in_aaaa(T202, T203, T204, X391))
app70_in_aaaa([], T213, T214, .(T213, T214)) → app70_out_aaaa([], T213, T214, .(T213, T214))
U20_aaaa(T201, T202, T203, T204, X391, app70_out_aaaa(T202, T203, T204, X391)) → app70_out_aaaa(.(T201, T202), T203, T204, .(T201, X391))
U18_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_out_aaaa(T160, T148, T178, X273)) → p56_out_aaaaaaa(T148, T149, T153, T154, T160, T178, X273)
U19_aa(T171, T172, X335, p56_out_aaaaaaa(T171, T172, X331, X332, X333, X334, X335)) → qs59_out_aa(.(T171, T172), X335)
U11_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_out_aa(T153, X271)) → p56_out_gaaaaaa(T148, T149, T153, T154, X271, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, T160, X272, X273) → U12_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U12_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U13_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U13_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U14_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T154, X272)) → p56_out_gaaaaaa(T148, T149, T153, T154, T160, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, T160, T178, X273) → U15_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_in_gaaa(T148, T149, T153, T154))
U15_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_out_gaaa(T148, T149, T153, T154)) → U16_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U16_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U17_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_in_agaa(T160, T148, T178, X273))
app70_in_agaa(.(T201, T202), T203, T204, .(T201, X391)) → U20_agaa(T201, T202, T203, T204, X391, app70_in_agaa(T202, T203, T204, X391))
app70_in_agaa([], T213, T214, .(T213, T214)) → app70_out_agaa([], T213, T214, .(T213, T214))
U20_agaa(T201, T202, T203, T204, X391, app70_out_agaa(T202, T203, T204, X391)) → app70_out_agaa(.(T201, T202), T203, T204, .(T201, X391))
U18_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_out_agaa(T160, T148, T178, X273)) → p56_out_gaaaaaa(T148, T149, T153, T154, T160, T178, X273)
U37_gaa(T148, T149, X273, p56_out_gaaaaaa(T148, T149, X269, X270, X271, X272, X273)) → qs51_out_gaa(T148, T149, X273)
U48_ag(T31, T33, T32, T8, qs51_out_gaa(T33, T53, X9)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
U47_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U49_ag(T31, T33, T32, T8, T54, qs51_in_gaa(T33, T53, T131))
U49_ag(T31, T33, T32, T8, T54, qs51_out_gaa(T33, T53, T131)) → U50_ag(T31, T33, T32, T8, p52_in_aaagg(T54, X10, T131, T31, T8))
p52_in_aaagg(T54, X10, T131, T31, T8) → U33_aaagg(T54, X10, T131, T31, T8, qs80_in_aa(T54, X10))
qs80_in_aa(.(T230, T231), X452) → U22_aa(T230, T231, X452, part87_in_aaaa(T230, T231, X448, X449))
part87_in_aaaa(T256, .(T257, T258), .(T257, X503), X504) → U38_aaaa(T256, T257, T258, X503, X504, gt10_in_aa(T256, T257))
U38_aaaa(T256, T257, T258, X503, X504, gt10_out_aa(T256, T257)) → part87_out_aaaa(T256, .(T257, T258), .(T257, X503), X504)
part87_in_aaaa(T261, .(T257, T262), .(T257, X503), X504) → U39_aaaa(T261, T257, T262, X503, X504, gt10_in_aa(T261, T257))
U39_aaaa(T261, T257, T262, X503, X504, gt10_out_aa(T261, T257)) → U40_aaaa(T261, T257, T262, X503, X504, part20_in_gaaa(T261, T262, X503, X504))
U40_aaaa(T261, T257, T262, X503, X504, part20_out_gaaa(T261, T262, X503, X504)) → part87_out_aaaa(T261, .(T257, T262), .(T257, X503), X504)
part87_in_aaaa(T283, .(T284, T285), X554, .(T284, X555)) → U41_aaaa(T283, T284, T285, X554, X555, le100_in_aa(T283, T284))
le100_in_aa(s(T302), s(T303)) → U21_aa(T302, T303, le100_in_aa(T302, T303))
le100_in_aa(0, s(T310)) → le100_out_aa(0, s(T310))
le100_in_aa(0, 0) → le100_out_aa(0, 0)
U21_aa(T302, T303, le100_out_aa(T302, T303)) → le100_out_aa(s(T302), s(T303))
U41_aaaa(T283, T284, T285, X554, X555, le100_out_aa(T283, T284)) → part87_out_aaaa(T283, .(T284, T285), X554, .(T284, X555))
part87_in_aaaa(T288, .(T284, T289), X554, .(T284, X555)) → U42_aaaa(T288, T284, T289, X554, X555, le100_in_aa(T288, T284))
U42_aaaa(T288, T284, T289, X554, X555, le100_out_aa(T288, T284)) → U43_aaaa(T288, T284, T289, X554, X555, part20_in_gaaa(T288, T289, X554, X555))
U43_aaaa(T288, T284, T289, X554, X555, part20_out_gaaa(T288, T289, X554, X555)) → part87_out_aaaa(T288, .(T284, T289), X554, .(T284, X555))
part87_in_aaaa(T316, [], [], []) → part87_out_aaaa(T316, [], [], [])
U22_aa(T230, T231, X452, part87_out_aaaa(T230, T231, X448, X449)) → qs80_out_aa(.(T230, T231), X452)
qs80_in_aa(.(T237, T231), X452) → U23_aa(T237, T231, X452, part87_in_aaaa(T237, T231, T235, T236))
U23_aa(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U24_aa(T237, T231, X452, qs80_in_aa(T235, X450))
qs80_in_aa(.(T325, T231), X452) → U27_aa(T325, T231, X452, part87_in_aaaa(T325, T231, T235, T236))
U27_aa(T325, T231, X452, part87_out_aaaa(T325, T231, T235, T236)) → U28_aa(T325, T231, X452, T236, qs80_in_aa(T235, T319))
qs80_in_aa([], []) → qs80_out_aa([], [])
U28_aa(T325, T231, X452, T236, qs80_out_aa(T235, T319)) → U29_aa(T325, T231, X452, T319, qs80_in_aa(T236, T324))
U29_aa(T325, T231, X452, T319, qs80_out_aa(T236, T324)) → U30_aa(T325, T231, X452, app121_in_aaaa(T319, T325, T324, X452))
app121_in_aaaa(.(T348, T349), T352, T353, .(T348, X657)) → U31_aaaa(T348, T349, T352, T353, X657, app121_in_aaaa(T349, T352, T353, X657))
app121_in_aaaa([], T362, T363, .(T362, T363)) → app121_out_aaaa([], T362, T363, .(T362, T363))
U31_aaaa(T348, T349, T352, T353, X657, app121_out_aaaa(T349, T352, T353, X657)) → app121_out_aaaa(.(T348, T349), T352, T353, .(T348, X657))
U30_aa(T325, T231, X452, app121_out_aaaa(T319, T325, T324, X452)) → qs80_out_aa(.(T325, T231), X452)
U24_aa(T237, T231, X452, qs80_out_aa(T235, X450)) → qs80_out_aa(.(T237, T231), X452)
U23_aa(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U25_aa(T237, T231, X452, T236, qs80_in_aa(T235, T319))
U25_aa(T237, T231, X452, T236, qs80_out_aa(T235, T319)) → U26_aa(T237, T231, X452, qs80_in_aa(T236, X451))
U26_aa(T237, T231, X452, qs80_out_aa(T236, X451)) → qs80_out_aa(.(T237, T231), X452)
U33_aaagg(T54, X10, T131, T31, T8, qs80_out_aa(T54, X10)) → p52_out_aaagg(T54, X10, T131, T31, T8)
p52_in_aaagg(T54, T217, T131, T31, T8) → U34_aaagg(T54, T217, T131, T31, T8, qs80_in_aa(T54, T217))
U34_aaagg(T54, T217, T131, T31, T8, qs80_out_aa(T54, T217)) → U35_aaagg(T54, T217, T131, T31, T8, app81_in_agag(T131, T31, T217, T8))
app81_in_agag(.(T389, T390), T391, T394, .(T389, T393)) → U32_agag(T389, T390, T391, T394, T393, app81_in_agag(T390, T391, T394, T393))
app81_in_agag([], T404, T405, .(T404, T405)) → app81_out_agag([], T404, T405, .(T404, T405))
U32_agag(T389, T390, T391, T394, T393, app81_out_agag(T390, T391, T394, T393)) → app81_out_agag(.(T389, T390), T391, T394, .(T389, T393))
U35_aaagg(T54, T217, T131, T31, T8, app81_out_agag(T131, T31, T217, T8)) → p52_out_aaagg(T54, T217, T131, T31, T8)
U50_ag(T31, T33, T32, T8, p52_out_aaagg(T54, X10, T131, T31, T8)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
qs1_in_ag(.(T421, .(T422, T423)), T8) → U51_ag(T421, T422, T423, T8, le100_in_aa(T421, T422))
U51_ag(T421, T422, T423, T8, le100_out_aa(T421, T422)) → qs1_out_ag(.(T421, .(T422, T423)), T8)
qs1_in_ag(.(T426, .(T428, T427)), T8) → U52_ag(T426, T428, T427, T8, le100_in_aa(T426, T428))
U52_ag(T426, T428, T427, T8, le100_out_aa(T426, T428)) → U53_ag(T426, T428, T427, T8, part20_in_gaaa(T426, T427, X740, X741))
U53_ag(T426, T428, T427, T8, part20_out_gaaa(T426, T427, X740, X741)) → qs1_out_ag(.(T426, .(T428, T427)), T8)
qs1_in_ag(.(T426, .(T436, T427)), T8) → U54_ag(T426, T436, T427, T8, le100_in_aa(T426, T436))
U54_ag(T426, T436, T427, T8, le100_out_aa(T426, T436)) → U55_ag(T426, T436, T427, T8, part20_in_gaaa(T426, T427, T434, T435))
U55_ag(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U56_ag(T426, T436, T427, T8, qs80_in_aa(T434, X9))
U56_ag(T426, T436, T427, T8, qs80_out_aa(T434, X9)) → qs1_out_ag(.(T426, .(T436, T427)), T8)
U55_ag(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U57_ag(T426, T436, T427, T8, T435, qs80_in_aa(T434, T442))
U57_ag(T426, T436, T427, T8, T435, qs80_out_aa(T434, T442)) → U58_ag(T426, T436, T427, T8, p52_in_aaagg(.(T436, T435), X10, T442, T426, T8))
U58_ag(T426, T436, T427, T8, p52_out_aaagg(.(T436, T435), X10, T442, T426, T8)) → qs1_out_ag(.(T426, .(T436, T427)), T8)
qs1_in_ag(.(T452, []), T8) → U59_ag(T452, T8, qs155_in_a(X9))
qs155_in_a([]) → qs155_out_a([])
U59_ag(T452, T8, qs155_out_a(X9)) → qs1_out_ag(.(T452, []), T8)
qs1_in_ag(.(T452, []), T8) → U60_ag(T452, T8, qs155_in_a(T455))
U60_ag(T452, T8, qs155_out_a(T455)) → U61_ag(T452, T8, qs155_in_a(X10))
U61_ag(T452, T8, qs155_out_a(X10)) → qs1_out_ag(.(T452, []), T8)
U60_ag(T452, T8, qs155_out_a(T455)) → U62_ag(T452, T8, T455, qs155_in_a(T460))
U62_ag(T452, T8, T455, qs155_out_a(T460)) → U63_ag(T452, T8, app162_in_gagg(T455, T452, T460, T8))
app162_in_gagg(.(T486, T487), T491, T489, .(T486, T490)) → U36_gagg(T486, T487, T491, T489, T490, app162_in_gagg(T487, T491, T489, T490))
app162_in_gagg([], T501, T502, .(T501, T502)) → app162_out_gagg([], T501, T502, .(T501, T502))
U36_gagg(T486, T487, T491, T489, T490, app162_out_gagg(T487, T491, T489, T490)) → app162_out_gagg(.(T486, T487), T491, T489, .(T486, T490))
U63_ag(T452, T8, app162_out_gagg(T455, T452, T460, T8)) → qs1_out_ag(.(T452, []), T8)
qs1_in_ag([], []) → qs1_out_ag([], [])

The argument filtering Pi contains the following mapping:
qs1_in_ag(x1, x2)  =  qs1_in_ag(x2)
U44_ag(x1, x2, x3, x4, x5)  =  U44_ag(x5)
gt10_in_aa(x1, x2)  =  gt10_in_aa
U1_aa(x1, x2, x3)  =  U1_aa(x3)
gt10_out_aa(x1, x2)  =  gt10_out_aa(x1, x2)
qs1_out_ag(x1, x2)  =  qs1_out_ag
U45_ag(x1, x2, x3, x4, x5)  =  U45_ag(x4, x5)
U46_ag(x1, x2, x3, x4, x5)  =  U46_ag(x5)
part20_in_gaaa(x1, x2, x3, x4)  =  part20_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x6)
gt10_in_ga(x1, x2)  =  gt10_in_ga(x1)
s(x1)  =  s(x1)
U1_ga(x1, x2, x3)  =  U1_ga(x3)
0  =  0
gt10_out_ga(x1, x2)  =  gt10_out_ga(x2)
part20_out_gaaa(x1, x2, x3, x4)  =  part20_out_gaaa
U3_gaaa(x1, x2, x3, x4, x5, x6)  =  U3_gaaa(x1, x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x6)
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x6)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U8_ga(x1, x2, x3)  =  U8_ga(x3)
le33_out_ga(x1, x2)  =  le33_out_ga
U6_gaaa(x1, x2, x3, x4, x5, x6)  =  U6_gaaa(x1, x6)
U7_gaaa(x1, x2, x3, x4, x5, x6)  =  U7_gaaa(x6)
U47_ag(x1, x2, x3, x4, x5)  =  U47_ag(x1, x2, x4, x5)
U48_ag(x1, x2, x3, x4, x5)  =  U48_ag(x5)
qs51_in_gaa(x1, x2, x3)  =  qs51_in_gaa(x1)
U37_gaa(x1, x2, x3, x4)  =  U37_gaa(x4)
p56_in_gaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_in_gaaaaaa(x1)
U9_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_gaaaaaa(x8)
p56_out_gaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_out_gaaaaaa
U10_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_gaaaaaa(x8)
U11_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_gaaaaaa(x8)
qs59_in_aa(x1, x2)  =  qs59_in_aa
U19_aa(x1, x2, x3, x4)  =  U19_aa(x4)
p56_in_aaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_in_aaaaaaa
U9_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_aaaaaaa(x8)
part20_in_aaaa(x1, x2, x3, x4)  =  part20_in_aaaa
U2_aaaa(x1, x2, x3, x4, x5, x6)  =  U2_aaaa(x6)
part20_out_aaaa(x1, x2, x3, x4)  =  part20_out_aaaa
U3_aaaa(x1, x2, x3, x4, x5, x6)  =  U3_aaaa(x6)
U4_aaaa(x1, x2, x3, x4, x5, x6)  =  U4_aaaa(x6)
U5_aaaa(x1, x2, x3, x4, x5, x6)  =  U5_aaaa(x6)
le33_in_aa(x1, x2)  =  le33_in_aa
U8_aa(x1, x2, x3)  =  U8_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
U6_aaaa(x1, x2, x3, x4, x5, x6)  =  U6_aaaa(x6)
U7_aaaa(x1, x2, x3, x4, x5, x6)  =  U7_aaaa(x6)
p56_out_aaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_out_aaaaaaa
U10_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_aaaaaaa(x8)
U11_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_aaaaaaa(x8)
qs59_out_aa(x1, x2)  =  qs59_out_aa
U12_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_aaaaaaa(x8)
U13_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_aaaaaaa(x8)
U14_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_aaaaaaa(x8)
U15_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_aaaaaaa(x8)
U16_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_aaaaaaa(x8)
U17_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_aaaaaaa(x8)
U18_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_aaaaaaa(x8)
.(x1, x2)  =  .(x1, x2)
[]  =  []
app70_in_aaaa(x1, x2, x3, x4)  =  app70_in_aaaa
U20_aaaa(x1, x2, x3, x4, x5, x6)  =  U20_aaaa(x6)
app70_out_aaaa(x1, x2, x3, x4)  =  app70_out_aaaa
U12_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_gaaaaaa(x8)
U13_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_gaaaaaa(x8)
U14_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_gaaaaaa(x8)
U15_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_gaaaaaa(x1, x8)
U16_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_gaaaaaa(x1, x8)
U17_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_gaaaaaa(x1, x8)
U18_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_gaaaaaa(x8)
app70_in_agaa(x1, x2, x3, x4)  =  app70_in_agaa(x2)
U20_agaa(x1, x2, x3, x4, x5, x6)  =  U20_agaa(x6)
app70_out_agaa(x1, x2, x3, x4)  =  app70_out_agaa
qs51_out_gaa(x1, x2, x3)  =  qs51_out_gaa
U49_ag(x1, x2, x3, x4, x5, x6)  =  U49_ag(x1, x4, x6)
U50_ag(x1, x2, x3, x4, x5)  =  U50_ag(x5)
p52_in_aaagg(x1, x2, x3, x4, x5)  =  p52_in_aaagg(x4, x5)
U33_aaagg(x1, x2, x3, x4, x5, x6)  =  U33_aaagg(x6)
qs80_in_aa(x1, x2)  =  qs80_in_aa
U22_aa(x1, x2, x3, x4)  =  U22_aa(x4)
part87_in_aaaa(x1, x2, x3, x4)  =  part87_in_aaaa
U38_aaaa(x1, x2, x3, x4, x5, x6)  =  U38_aaaa(x6)
part87_out_aaaa(x1, x2, x3, x4)  =  part87_out_aaaa
U39_aaaa(x1, x2, x3, x4, x5, x6)  =  U39_aaaa(x6)
U40_aaaa(x1, x2, x3, x4, x5, x6)  =  U40_aaaa(x6)
U41_aaaa(x1, x2, x3, x4, x5, x6)  =  U41_aaaa(x6)
le100_in_aa(x1, x2)  =  le100_in_aa
U21_aa(x1, x2, x3)  =  U21_aa(x3)
le100_out_aa(x1, x2)  =  le100_out_aa(x1)
U42_aaaa(x1, x2, x3, x4, x5, x6)  =  U42_aaaa(x6)
U43_aaaa(x1, x2, x3, x4, x5, x6)  =  U43_aaaa(x6)
qs80_out_aa(x1, x2)  =  qs80_out_aa
U23_aa(x1, x2, x3, x4)  =  U23_aa(x4)
U24_aa(x1, x2, x3, x4)  =  U24_aa(x4)
U27_aa(x1, x2, x3, x4)  =  U27_aa(x4)
U28_aa(x1, x2, x3, x4, x5)  =  U28_aa(x5)
U29_aa(x1, x2, x3, x4, x5)  =  U29_aa(x5)
U30_aa(x1, x2, x3, x4)  =  U30_aa(x4)
app121_in_aaaa(x1, x2, x3, x4)  =  app121_in_aaaa
U31_aaaa(x1, x2, x3, x4, x5, x6)  =  U31_aaaa(x6)
app121_out_aaaa(x1, x2, x3, x4)  =  app121_out_aaaa
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
U26_aa(x1, x2, x3, x4)  =  U26_aa(x4)
p52_out_aaagg(x1, x2, x3, x4, x5)  =  p52_out_aaagg
U34_aaagg(x1, x2, x3, x4, x5, x6)  =  U34_aaagg(x4, x5, x6)
U35_aaagg(x1, x2, x3, x4, x5, x6)  =  U35_aaagg(x6)
app81_in_agag(x1, x2, x3, x4)  =  app81_in_agag(x2, x4)
U32_agag(x1, x2, x3, x4, x5, x6)  =  U32_agag(x1, x6)
app81_out_agag(x1, x2, x3, x4)  =  app81_out_agag(x1, x3)
U51_ag(x1, x2, x3, x4, x5)  =  U51_ag(x5)
U52_ag(x1, x2, x3, x4, x5)  =  U52_ag(x5)
U53_ag(x1, x2, x3, x4, x5)  =  U53_ag(x5)
U54_ag(x1, x2, x3, x4, x5)  =  U54_ag(x4, x5)
U55_ag(x1, x2, x3, x4, x5)  =  U55_ag(x1, x4, x5)
U56_ag(x1, x2, x3, x4, x5)  =  U56_ag(x5)
U57_ag(x1, x2, x3, x4, x5, x6)  =  U57_ag(x1, x4, x6)
U58_ag(x1, x2, x3, x4, x5)  =  U58_ag(x5)
U59_ag(x1, x2, x3)  =  U59_ag(x3)
qs155_in_a(x1)  =  qs155_in_a
qs155_out_a(x1)  =  qs155_out_a(x1)
U60_ag(x1, x2, x3)  =  U60_ag(x2, x3)
U61_ag(x1, x2, x3)  =  U61_ag(x3)
U62_ag(x1, x2, x3, x4)  =  U62_ag(x2, x3, x4)
U63_ag(x1, x2, x3)  =  U63_ag(x3)
app162_in_gagg(x1, x2, x3, x4)  =  app162_in_gagg(x1, x3, x4)
U36_gagg(x1, x2, x3, x4, x5, x6)  =  U36_gagg(x6)
app162_out_gagg(x1, x2, x3, x4)  =  app162_out_gagg(x2)
GT10_IN_AA(x1, x2)  =  GT10_IN_AA

We have to consider all (P,R,Pi)-chains

(231) UsableRulesProof (EQUIVALENT transformation)

For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R.

(232) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

GT10_IN_AA(s(T46), s(T47)) → GT10_IN_AA(T46, T47)

R is empty.
The argument filtering Pi contains the following mapping:
s(x1)  =  s(x1)
GT10_IN_AA(x1, x2)  =  GT10_IN_AA

We have to consider all (P,R,Pi)-chains

(233) PiDPToQDPProof (SOUND transformation)

Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi.

(234) Obligation:

Q DP problem:
The TRS P consists of the following rules:

GT10_IN_AAGT10_IN_AA

R is empty.
Q is empty.
We have to consider all (P,Q,R)-chains.

(235) NonTerminationProof (EQUIVALENT transformation)

We used the non-termination processor [FROCOS05] to show that the DP problem is infinite.
Found a loop by semiunifying a rule from P directly.

s = GT10_IN_AA evaluates to t =GT10_IN_AA

Thus s starts an infinite chain as s semiunifies with t with the following substitutions:
  • Semiunifier: [ ]
  • Matcher: [ ]




Rewriting sequence

The DP semiunifies directly so there is only one rewrite step from GT10_IN_AA to GT10_IN_AA.



(236) NO

(237) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

QS80_IN_AA(.(T237, T231), X452) → U23_AA(T237, T231, X452, part87_in_aaaa(T237, T231, T235, T236))
U23_AA(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → QS80_IN_AA(T235, X450)
QS80_IN_AA(.(T325, T231), X452) → U27_AA(T325, T231, X452, part87_in_aaaa(T325, T231, T235, T236))
U27_AA(T325, T231, X452, part87_out_aaaa(T325, T231, T235, T236)) → U28_AA(T325, T231, X452, T236, qs80_in_aa(T235, T319))
U28_AA(T325, T231, X452, T236, qs80_out_aa(T235, T319)) → QS80_IN_AA(T236, T324)
U27_AA(T325, T231, X452, part87_out_aaaa(T325, T231, T235, T236)) → QS80_IN_AA(T235, T319)
U23_AA(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U25_AA(T237, T231, X452, T236, qs80_in_aa(T235, T319))
U25_AA(T237, T231, X452, T236, qs80_out_aa(T235, T319)) → QS80_IN_AA(T236, X451)

The TRS R consists of the following rules:

qs1_in_ag(.(T26, .(T27, T28)), T8) → U44_ag(T26, T27, T28, T8, gt10_in_aa(T26, T27))
gt10_in_aa(s(T46), s(T47)) → U1_aa(T46, T47, gt10_in_aa(T46, T47))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U1_aa(T46, T47, gt10_out_aa(T46, T47)) → gt10_out_aa(s(T46), s(T47))
U44_ag(T26, T27, T28, T8, gt10_out_aa(T26, T27)) → qs1_out_ag(.(T26, .(T27, T28)), T8)
qs1_in_ag(.(T31, .(T33, T32)), T8) → U45_ag(T31, T33, T32, T8, gt10_in_aa(T31, T33))
U45_ag(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U46_ag(T31, T33, T32, T8, part20_in_gaaa(T31, T32, X47, X48))
part20_in_gaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_gaaa(T70, T73, T74, X119, X120, gt10_in_ga(T70, T73))
gt10_in_ga(s(T46), s(T47)) → U1_ga(T46, T47, gt10_in_ga(T46, T47))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U1_ga(T46, T47, gt10_out_ga(T46, T47)) → gt10_out_ga(s(T46), s(T47))
U2_gaaa(T70, T73, T74, X119, X120, gt10_out_ga(T70, T73)) → part20_out_gaaa(T70, .(T73, T74), .(T73, X119), X120)
part20_in_gaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_gaaa(T70, T73, T77, X119, X120, gt10_in_ga(T70, T73))
U3_gaaa(T70, T73, T77, X119, X120, gt10_out_ga(T70, T73)) → U4_gaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
part20_in_gaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_gaaa(T95, T98, T99, X170, X171, le33_in_ga(T95, T98))
le33_in_ga(s(T113), s(T115)) → U8_ga(T113, T115, le33_in_ga(T113, T115))
le33_in_ga(0, s(T122)) → le33_out_ga(0, s(T122))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U8_ga(T113, T115, le33_out_ga(T113, T115)) → le33_out_ga(s(T113), s(T115))
U5_gaaa(T95, T98, T99, X170, X171, le33_out_ga(T95, T98)) → part20_out_gaaa(T95, .(T98, T99), X170, .(T98, X171))
part20_in_gaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_gaaa(T95, T98, T102, X170, X171, le33_in_ga(T95, T98))
U6_gaaa(T95, T98, T102, X170, X171, le33_out_ga(T95, T98)) → U7_gaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
part20_in_gaaa(T128, [], [], []) → part20_out_gaaa(T128, [], [], [])
U7_gaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_gaaa(T95, .(T98, T102), X170, .(T98, X171))
U4_gaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_gaaa(T70, .(T73, T77), .(T73, X119), X120)
U46_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, X47, X48)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
U45_ag(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U47_ag(T31, T33, T32, T8, part20_in_gaaa(T31, T32, T53, T54))
U47_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U48_ag(T31, T33, T32, T8, qs51_in_gaa(T33, T53, X9))
qs51_in_gaa(T148, T149, X273) → U37_gaa(T148, T149, X273, p56_in_gaaaaaa(T148, T149, X269, X270, X271, X272, X273))
p56_in_gaaaaaa(T148, T149, X269, X270, X271, X272, X273) → U9_gaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_in_gaaa(T148, T149, X269, X270))
U9_gaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_out_gaaa(T148, T149, X269, X270)) → p56_out_gaaaaaa(T148, T149, X269, X270, X271, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, X271, X272, X273) → U10_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U10_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U11_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
qs59_in_aa(.(T171, T172), X335) → U19_aa(T171, T172, X335, p56_in_aaaaaaa(T171, T172, X331, X332, X333, X334, X335))
p56_in_aaaaaaa(T148, T149, X269, X270, X271, X272, X273) → U9_aaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_in_aaaa(T148, T149, X269, X270))
part20_in_aaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_aaaa(T70, T73, T74, X119, X120, gt10_in_aa(T70, T73))
U2_aaaa(T70, T73, T74, X119, X120, gt10_out_aa(T70, T73)) → part20_out_aaaa(T70, .(T73, T74), .(T73, X119), X120)
part20_in_aaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_aaaa(T70, T73, T77, X119, X120, gt10_in_aa(T70, T73))
U3_aaaa(T70, T73, T77, X119, X120, gt10_out_aa(T70, T73)) → U4_aaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
U4_aaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_aaaa(T70, .(T73, T77), .(T73, X119), X120)
part20_in_aaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_aaaa(T95, T98, T99, X170, X171, le33_in_aa(T95, T98))
le33_in_aa(s(T113), s(T115)) → U8_aa(T113, T115, le33_in_aa(T113, T115))
le33_in_aa(0, s(T122)) → le33_out_aa(0, s(T122))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U8_aa(T113, T115, le33_out_aa(T113, T115)) → le33_out_aa(s(T113), s(T115))
U5_aaaa(T95, T98, T99, X170, X171, le33_out_aa(T95, T98)) → part20_out_aaaa(T95, .(T98, T99), X170, .(T98, X171))
part20_in_aaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_aaaa(T95, T98, T102, X170, X171, le33_in_aa(T95, T98))
U6_aaaa(T95, T98, T102, X170, X171, le33_out_aa(T95, T98)) → U7_aaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
U7_aaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_aaaa(T95, .(T98, T102), X170, .(T98, X171))
part20_in_aaaa(T128, [], [], []) → part20_out_aaaa(T128, [], [], [])
U9_aaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_out_aaaa(T148, T149, X269, X270)) → p56_out_aaaaaaa(T148, T149, X269, X270, X271, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, X271, X272, X273) → U10_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U10_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U11_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
qs59_in_aa([], []) → qs59_out_aa([], [])
U11_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_out_aa(T153, X271)) → p56_out_aaaaaaa(T148, T149, T153, T154, X271, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, T160, X272, X273) → U12_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U12_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U13_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U13_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U14_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T154, X272)) → p56_out_aaaaaaa(T148, T149, T153, T154, T160, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, T160, T178, X273) → U15_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_in_aaaa(T148, T149, T153, T154))
U15_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_out_aaaa(T148, T149, T153, T154)) → U16_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U16_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U17_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_in_aaaa(T160, T148, T178, X273))
app70_in_aaaa(.(T201, T202), T203, T204, .(T201, X391)) → U20_aaaa(T201, T202, T203, T204, X391, app70_in_aaaa(T202, T203, T204, X391))
app70_in_aaaa([], T213, T214, .(T213, T214)) → app70_out_aaaa([], T213, T214, .(T213, T214))
U20_aaaa(T201, T202, T203, T204, X391, app70_out_aaaa(T202, T203, T204, X391)) → app70_out_aaaa(.(T201, T202), T203, T204, .(T201, X391))
U18_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_out_aaaa(T160, T148, T178, X273)) → p56_out_aaaaaaa(T148, T149, T153, T154, T160, T178, X273)
U19_aa(T171, T172, X335, p56_out_aaaaaaa(T171, T172, X331, X332, X333, X334, X335)) → qs59_out_aa(.(T171, T172), X335)
U11_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_out_aa(T153, X271)) → p56_out_gaaaaaa(T148, T149, T153, T154, X271, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, T160, X272, X273) → U12_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U12_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U13_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U13_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U14_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T154, X272)) → p56_out_gaaaaaa(T148, T149, T153, T154, T160, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, T160, T178, X273) → U15_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_in_gaaa(T148, T149, T153, T154))
U15_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_out_gaaa(T148, T149, T153, T154)) → U16_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U16_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U17_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_in_agaa(T160, T148, T178, X273))
app70_in_agaa(.(T201, T202), T203, T204, .(T201, X391)) → U20_agaa(T201, T202, T203, T204, X391, app70_in_agaa(T202, T203, T204, X391))
app70_in_agaa([], T213, T214, .(T213, T214)) → app70_out_agaa([], T213, T214, .(T213, T214))
U20_agaa(T201, T202, T203, T204, X391, app70_out_agaa(T202, T203, T204, X391)) → app70_out_agaa(.(T201, T202), T203, T204, .(T201, X391))
U18_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_out_agaa(T160, T148, T178, X273)) → p56_out_gaaaaaa(T148, T149, T153, T154, T160, T178, X273)
U37_gaa(T148, T149, X273, p56_out_gaaaaaa(T148, T149, X269, X270, X271, X272, X273)) → qs51_out_gaa(T148, T149, X273)
U48_ag(T31, T33, T32, T8, qs51_out_gaa(T33, T53, X9)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
U47_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U49_ag(T31, T33, T32, T8, T54, qs51_in_gaa(T33, T53, T131))
U49_ag(T31, T33, T32, T8, T54, qs51_out_gaa(T33, T53, T131)) → U50_ag(T31, T33, T32, T8, p52_in_aaagg(T54, X10, T131, T31, T8))
p52_in_aaagg(T54, X10, T131, T31, T8) → U33_aaagg(T54, X10, T131, T31, T8, qs80_in_aa(T54, X10))
qs80_in_aa(.(T230, T231), X452) → U22_aa(T230, T231, X452, part87_in_aaaa(T230, T231, X448, X449))
part87_in_aaaa(T256, .(T257, T258), .(T257, X503), X504) → U38_aaaa(T256, T257, T258, X503, X504, gt10_in_aa(T256, T257))
U38_aaaa(T256, T257, T258, X503, X504, gt10_out_aa(T256, T257)) → part87_out_aaaa(T256, .(T257, T258), .(T257, X503), X504)
part87_in_aaaa(T261, .(T257, T262), .(T257, X503), X504) → U39_aaaa(T261, T257, T262, X503, X504, gt10_in_aa(T261, T257))
U39_aaaa(T261, T257, T262, X503, X504, gt10_out_aa(T261, T257)) → U40_aaaa(T261, T257, T262, X503, X504, part20_in_gaaa(T261, T262, X503, X504))
U40_aaaa(T261, T257, T262, X503, X504, part20_out_gaaa(T261, T262, X503, X504)) → part87_out_aaaa(T261, .(T257, T262), .(T257, X503), X504)
part87_in_aaaa(T283, .(T284, T285), X554, .(T284, X555)) → U41_aaaa(T283, T284, T285, X554, X555, le100_in_aa(T283, T284))
le100_in_aa(s(T302), s(T303)) → U21_aa(T302, T303, le100_in_aa(T302, T303))
le100_in_aa(0, s(T310)) → le100_out_aa(0, s(T310))
le100_in_aa(0, 0) → le100_out_aa(0, 0)
U21_aa(T302, T303, le100_out_aa(T302, T303)) → le100_out_aa(s(T302), s(T303))
U41_aaaa(T283, T284, T285, X554, X555, le100_out_aa(T283, T284)) → part87_out_aaaa(T283, .(T284, T285), X554, .(T284, X555))
part87_in_aaaa(T288, .(T284, T289), X554, .(T284, X555)) → U42_aaaa(T288, T284, T289, X554, X555, le100_in_aa(T288, T284))
U42_aaaa(T288, T284, T289, X554, X555, le100_out_aa(T288, T284)) → U43_aaaa(T288, T284, T289, X554, X555, part20_in_gaaa(T288, T289, X554, X555))
U43_aaaa(T288, T284, T289, X554, X555, part20_out_gaaa(T288, T289, X554, X555)) → part87_out_aaaa(T288, .(T284, T289), X554, .(T284, X555))
part87_in_aaaa(T316, [], [], []) → part87_out_aaaa(T316, [], [], [])
U22_aa(T230, T231, X452, part87_out_aaaa(T230, T231, X448, X449)) → qs80_out_aa(.(T230, T231), X452)
qs80_in_aa(.(T237, T231), X452) → U23_aa(T237, T231, X452, part87_in_aaaa(T237, T231, T235, T236))
U23_aa(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U24_aa(T237, T231, X452, qs80_in_aa(T235, X450))
qs80_in_aa(.(T325, T231), X452) → U27_aa(T325, T231, X452, part87_in_aaaa(T325, T231, T235, T236))
U27_aa(T325, T231, X452, part87_out_aaaa(T325, T231, T235, T236)) → U28_aa(T325, T231, X452, T236, qs80_in_aa(T235, T319))
qs80_in_aa([], []) → qs80_out_aa([], [])
U28_aa(T325, T231, X452, T236, qs80_out_aa(T235, T319)) → U29_aa(T325, T231, X452, T319, qs80_in_aa(T236, T324))
U29_aa(T325, T231, X452, T319, qs80_out_aa(T236, T324)) → U30_aa(T325, T231, X452, app121_in_aaaa(T319, T325, T324, X452))
app121_in_aaaa(.(T348, T349), T352, T353, .(T348, X657)) → U31_aaaa(T348, T349, T352, T353, X657, app121_in_aaaa(T349, T352, T353, X657))
app121_in_aaaa([], T362, T363, .(T362, T363)) → app121_out_aaaa([], T362, T363, .(T362, T363))
U31_aaaa(T348, T349, T352, T353, X657, app121_out_aaaa(T349, T352, T353, X657)) → app121_out_aaaa(.(T348, T349), T352, T353, .(T348, X657))
U30_aa(T325, T231, X452, app121_out_aaaa(T319, T325, T324, X452)) → qs80_out_aa(.(T325, T231), X452)
U24_aa(T237, T231, X452, qs80_out_aa(T235, X450)) → qs80_out_aa(.(T237, T231), X452)
U23_aa(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U25_aa(T237, T231, X452, T236, qs80_in_aa(T235, T319))
U25_aa(T237, T231, X452, T236, qs80_out_aa(T235, T319)) → U26_aa(T237, T231, X452, qs80_in_aa(T236, X451))
U26_aa(T237, T231, X452, qs80_out_aa(T236, X451)) → qs80_out_aa(.(T237, T231), X452)
U33_aaagg(T54, X10, T131, T31, T8, qs80_out_aa(T54, X10)) → p52_out_aaagg(T54, X10, T131, T31, T8)
p52_in_aaagg(T54, T217, T131, T31, T8) → U34_aaagg(T54, T217, T131, T31, T8, qs80_in_aa(T54, T217))
U34_aaagg(T54, T217, T131, T31, T8, qs80_out_aa(T54, T217)) → U35_aaagg(T54, T217, T131, T31, T8, app81_in_agag(T131, T31, T217, T8))
app81_in_agag(.(T389, T390), T391, T394, .(T389, T393)) → U32_agag(T389, T390, T391, T394, T393, app81_in_agag(T390, T391, T394, T393))
app81_in_agag([], T404, T405, .(T404, T405)) → app81_out_agag([], T404, T405, .(T404, T405))
U32_agag(T389, T390, T391, T394, T393, app81_out_agag(T390, T391, T394, T393)) → app81_out_agag(.(T389, T390), T391, T394, .(T389, T393))
U35_aaagg(T54, T217, T131, T31, T8, app81_out_agag(T131, T31, T217, T8)) → p52_out_aaagg(T54, T217, T131, T31, T8)
U50_ag(T31, T33, T32, T8, p52_out_aaagg(T54, X10, T131, T31, T8)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
qs1_in_ag(.(T421, .(T422, T423)), T8) → U51_ag(T421, T422, T423, T8, le100_in_aa(T421, T422))
U51_ag(T421, T422, T423, T8, le100_out_aa(T421, T422)) → qs1_out_ag(.(T421, .(T422, T423)), T8)
qs1_in_ag(.(T426, .(T428, T427)), T8) → U52_ag(T426, T428, T427, T8, le100_in_aa(T426, T428))
U52_ag(T426, T428, T427, T8, le100_out_aa(T426, T428)) → U53_ag(T426, T428, T427, T8, part20_in_gaaa(T426, T427, X740, X741))
U53_ag(T426, T428, T427, T8, part20_out_gaaa(T426, T427, X740, X741)) → qs1_out_ag(.(T426, .(T428, T427)), T8)
qs1_in_ag(.(T426, .(T436, T427)), T8) → U54_ag(T426, T436, T427, T8, le100_in_aa(T426, T436))
U54_ag(T426, T436, T427, T8, le100_out_aa(T426, T436)) → U55_ag(T426, T436, T427, T8, part20_in_gaaa(T426, T427, T434, T435))
U55_ag(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U56_ag(T426, T436, T427, T8, qs80_in_aa(T434, X9))
U56_ag(T426, T436, T427, T8, qs80_out_aa(T434, X9)) → qs1_out_ag(.(T426, .(T436, T427)), T8)
U55_ag(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U57_ag(T426, T436, T427, T8, T435, qs80_in_aa(T434, T442))
U57_ag(T426, T436, T427, T8, T435, qs80_out_aa(T434, T442)) → U58_ag(T426, T436, T427, T8, p52_in_aaagg(.(T436, T435), X10, T442, T426, T8))
U58_ag(T426, T436, T427, T8, p52_out_aaagg(.(T436, T435), X10, T442, T426, T8)) → qs1_out_ag(.(T426, .(T436, T427)), T8)
qs1_in_ag(.(T452, []), T8) → U59_ag(T452, T8, qs155_in_a(X9))
qs155_in_a([]) → qs155_out_a([])
U59_ag(T452, T8, qs155_out_a(X9)) → qs1_out_ag(.(T452, []), T8)
qs1_in_ag(.(T452, []), T8) → U60_ag(T452, T8, qs155_in_a(T455))
U60_ag(T452, T8, qs155_out_a(T455)) → U61_ag(T452, T8, qs155_in_a(X10))
U61_ag(T452, T8, qs155_out_a(X10)) → qs1_out_ag(.(T452, []), T8)
U60_ag(T452, T8, qs155_out_a(T455)) → U62_ag(T452, T8, T455, qs155_in_a(T460))
U62_ag(T452, T8, T455, qs155_out_a(T460)) → U63_ag(T452, T8, app162_in_gagg(T455, T452, T460, T8))
app162_in_gagg(.(T486, T487), T491, T489, .(T486, T490)) → U36_gagg(T486, T487, T491, T489, T490, app162_in_gagg(T487, T491, T489, T490))
app162_in_gagg([], T501, T502, .(T501, T502)) → app162_out_gagg([], T501, T502, .(T501, T502))
U36_gagg(T486, T487, T491, T489, T490, app162_out_gagg(T487, T491, T489, T490)) → app162_out_gagg(.(T486, T487), T491, T489, .(T486, T490))
U63_ag(T452, T8, app162_out_gagg(T455, T452, T460, T8)) → qs1_out_ag(.(T452, []), T8)
qs1_in_ag([], []) → qs1_out_ag([], [])

The argument filtering Pi contains the following mapping:
qs1_in_ag(x1, x2)  =  qs1_in_ag(x2)
U44_ag(x1, x2, x3, x4, x5)  =  U44_ag(x5)
gt10_in_aa(x1, x2)  =  gt10_in_aa
U1_aa(x1, x2, x3)  =  U1_aa(x3)
gt10_out_aa(x1, x2)  =  gt10_out_aa(x1, x2)
qs1_out_ag(x1, x2)  =  qs1_out_ag
U45_ag(x1, x2, x3, x4, x5)  =  U45_ag(x4, x5)
U46_ag(x1, x2, x3, x4, x5)  =  U46_ag(x5)
part20_in_gaaa(x1, x2, x3, x4)  =  part20_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x6)
gt10_in_ga(x1, x2)  =  gt10_in_ga(x1)
s(x1)  =  s(x1)
U1_ga(x1, x2, x3)  =  U1_ga(x3)
0  =  0
gt10_out_ga(x1, x2)  =  gt10_out_ga(x2)
part20_out_gaaa(x1, x2, x3, x4)  =  part20_out_gaaa
U3_gaaa(x1, x2, x3, x4, x5, x6)  =  U3_gaaa(x1, x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x6)
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x6)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U8_ga(x1, x2, x3)  =  U8_ga(x3)
le33_out_ga(x1, x2)  =  le33_out_ga
U6_gaaa(x1, x2, x3, x4, x5, x6)  =  U6_gaaa(x1, x6)
U7_gaaa(x1, x2, x3, x4, x5, x6)  =  U7_gaaa(x6)
U47_ag(x1, x2, x3, x4, x5)  =  U47_ag(x1, x2, x4, x5)
U48_ag(x1, x2, x3, x4, x5)  =  U48_ag(x5)
qs51_in_gaa(x1, x2, x3)  =  qs51_in_gaa(x1)
U37_gaa(x1, x2, x3, x4)  =  U37_gaa(x4)
p56_in_gaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_in_gaaaaaa(x1)
U9_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_gaaaaaa(x8)
p56_out_gaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_out_gaaaaaa
U10_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_gaaaaaa(x8)
U11_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_gaaaaaa(x8)
qs59_in_aa(x1, x2)  =  qs59_in_aa
U19_aa(x1, x2, x3, x4)  =  U19_aa(x4)
p56_in_aaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_in_aaaaaaa
U9_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_aaaaaaa(x8)
part20_in_aaaa(x1, x2, x3, x4)  =  part20_in_aaaa
U2_aaaa(x1, x2, x3, x4, x5, x6)  =  U2_aaaa(x6)
part20_out_aaaa(x1, x2, x3, x4)  =  part20_out_aaaa
U3_aaaa(x1, x2, x3, x4, x5, x6)  =  U3_aaaa(x6)
U4_aaaa(x1, x2, x3, x4, x5, x6)  =  U4_aaaa(x6)
U5_aaaa(x1, x2, x3, x4, x5, x6)  =  U5_aaaa(x6)
le33_in_aa(x1, x2)  =  le33_in_aa
U8_aa(x1, x2, x3)  =  U8_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
U6_aaaa(x1, x2, x3, x4, x5, x6)  =  U6_aaaa(x6)
U7_aaaa(x1, x2, x3, x4, x5, x6)  =  U7_aaaa(x6)
p56_out_aaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_out_aaaaaaa
U10_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_aaaaaaa(x8)
U11_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_aaaaaaa(x8)
qs59_out_aa(x1, x2)  =  qs59_out_aa
U12_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_aaaaaaa(x8)
U13_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_aaaaaaa(x8)
U14_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_aaaaaaa(x8)
U15_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_aaaaaaa(x8)
U16_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_aaaaaaa(x8)
U17_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_aaaaaaa(x8)
U18_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_aaaaaaa(x8)
.(x1, x2)  =  .(x1, x2)
[]  =  []
app70_in_aaaa(x1, x2, x3, x4)  =  app70_in_aaaa
U20_aaaa(x1, x2, x3, x4, x5, x6)  =  U20_aaaa(x6)
app70_out_aaaa(x1, x2, x3, x4)  =  app70_out_aaaa
U12_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_gaaaaaa(x8)
U13_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_gaaaaaa(x8)
U14_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_gaaaaaa(x8)
U15_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_gaaaaaa(x1, x8)
U16_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_gaaaaaa(x1, x8)
U17_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_gaaaaaa(x1, x8)
U18_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_gaaaaaa(x8)
app70_in_agaa(x1, x2, x3, x4)  =  app70_in_agaa(x2)
U20_agaa(x1, x2, x3, x4, x5, x6)  =  U20_agaa(x6)
app70_out_agaa(x1, x2, x3, x4)  =  app70_out_agaa
qs51_out_gaa(x1, x2, x3)  =  qs51_out_gaa
U49_ag(x1, x2, x3, x4, x5, x6)  =  U49_ag(x1, x4, x6)
U50_ag(x1, x2, x3, x4, x5)  =  U50_ag(x5)
p52_in_aaagg(x1, x2, x3, x4, x5)  =  p52_in_aaagg(x4, x5)
U33_aaagg(x1, x2, x3, x4, x5, x6)  =  U33_aaagg(x6)
qs80_in_aa(x1, x2)  =  qs80_in_aa
U22_aa(x1, x2, x3, x4)  =  U22_aa(x4)
part87_in_aaaa(x1, x2, x3, x4)  =  part87_in_aaaa
U38_aaaa(x1, x2, x3, x4, x5, x6)  =  U38_aaaa(x6)
part87_out_aaaa(x1, x2, x3, x4)  =  part87_out_aaaa
U39_aaaa(x1, x2, x3, x4, x5, x6)  =  U39_aaaa(x6)
U40_aaaa(x1, x2, x3, x4, x5, x6)  =  U40_aaaa(x6)
U41_aaaa(x1, x2, x3, x4, x5, x6)  =  U41_aaaa(x6)
le100_in_aa(x1, x2)  =  le100_in_aa
U21_aa(x1, x2, x3)  =  U21_aa(x3)
le100_out_aa(x1, x2)  =  le100_out_aa(x1)
U42_aaaa(x1, x2, x3, x4, x5, x6)  =  U42_aaaa(x6)
U43_aaaa(x1, x2, x3, x4, x5, x6)  =  U43_aaaa(x6)
qs80_out_aa(x1, x2)  =  qs80_out_aa
U23_aa(x1, x2, x3, x4)  =  U23_aa(x4)
U24_aa(x1, x2, x3, x4)  =  U24_aa(x4)
U27_aa(x1, x2, x3, x4)  =  U27_aa(x4)
U28_aa(x1, x2, x3, x4, x5)  =  U28_aa(x5)
U29_aa(x1, x2, x3, x4, x5)  =  U29_aa(x5)
U30_aa(x1, x2, x3, x4)  =  U30_aa(x4)
app121_in_aaaa(x1, x2, x3, x4)  =  app121_in_aaaa
U31_aaaa(x1, x2, x3, x4, x5, x6)  =  U31_aaaa(x6)
app121_out_aaaa(x1, x2, x3, x4)  =  app121_out_aaaa
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
U26_aa(x1, x2, x3, x4)  =  U26_aa(x4)
p52_out_aaagg(x1, x2, x3, x4, x5)  =  p52_out_aaagg
U34_aaagg(x1, x2, x3, x4, x5, x6)  =  U34_aaagg(x4, x5, x6)
U35_aaagg(x1, x2, x3, x4, x5, x6)  =  U35_aaagg(x6)
app81_in_agag(x1, x2, x3, x4)  =  app81_in_agag(x2, x4)
U32_agag(x1, x2, x3, x4, x5, x6)  =  U32_agag(x1, x6)
app81_out_agag(x1, x2, x3, x4)  =  app81_out_agag(x1, x3)
U51_ag(x1, x2, x3, x4, x5)  =  U51_ag(x5)
U52_ag(x1, x2, x3, x4, x5)  =  U52_ag(x5)
U53_ag(x1, x2, x3, x4, x5)  =  U53_ag(x5)
U54_ag(x1, x2, x3, x4, x5)  =  U54_ag(x4, x5)
U55_ag(x1, x2, x3, x4, x5)  =  U55_ag(x1, x4, x5)
U56_ag(x1, x2, x3, x4, x5)  =  U56_ag(x5)
U57_ag(x1, x2, x3, x4, x5, x6)  =  U57_ag(x1, x4, x6)
U58_ag(x1, x2, x3, x4, x5)  =  U58_ag(x5)
U59_ag(x1, x2, x3)  =  U59_ag(x3)
qs155_in_a(x1)  =  qs155_in_a
qs155_out_a(x1)  =  qs155_out_a(x1)
U60_ag(x1, x2, x3)  =  U60_ag(x2, x3)
U61_ag(x1, x2, x3)  =  U61_ag(x3)
U62_ag(x1, x2, x3, x4)  =  U62_ag(x2, x3, x4)
U63_ag(x1, x2, x3)  =  U63_ag(x3)
app162_in_gagg(x1, x2, x3, x4)  =  app162_in_gagg(x1, x3, x4)
U36_gagg(x1, x2, x3, x4, x5, x6)  =  U36_gagg(x6)
app162_out_gagg(x1, x2, x3, x4)  =  app162_out_gagg(x2)
QS80_IN_AA(x1, x2)  =  QS80_IN_AA
U23_AA(x1, x2, x3, x4)  =  U23_AA(x4)
U27_AA(x1, x2, x3, x4)  =  U27_AA(x4)
U28_AA(x1, x2, x3, x4, x5)  =  U28_AA(x5)
U25_AA(x1, x2, x3, x4, x5)  =  U25_AA(x5)

We have to consider all (P,R,Pi)-chains

(238) UsableRulesProof (EQUIVALENT transformation)

For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R.

(239) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

QS80_IN_AA(.(T237, T231), X452) → U23_AA(T237, T231, X452, part87_in_aaaa(T237, T231, T235, T236))
U23_AA(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → QS80_IN_AA(T235, X450)
QS80_IN_AA(.(T325, T231), X452) → U27_AA(T325, T231, X452, part87_in_aaaa(T325, T231, T235, T236))
U27_AA(T325, T231, X452, part87_out_aaaa(T325, T231, T235, T236)) → U28_AA(T325, T231, X452, T236, qs80_in_aa(T235, T319))
U28_AA(T325, T231, X452, T236, qs80_out_aa(T235, T319)) → QS80_IN_AA(T236, T324)
U27_AA(T325, T231, X452, part87_out_aaaa(T325, T231, T235, T236)) → QS80_IN_AA(T235, T319)
U23_AA(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U25_AA(T237, T231, X452, T236, qs80_in_aa(T235, T319))
U25_AA(T237, T231, X452, T236, qs80_out_aa(T235, T319)) → QS80_IN_AA(T236, X451)

The TRS R consists of the following rules:

part87_in_aaaa(T256, .(T257, T258), .(T257, X503), X504) → U38_aaaa(T256, T257, T258, X503, X504, gt10_in_aa(T256, T257))
part87_in_aaaa(T261, .(T257, T262), .(T257, X503), X504) → U39_aaaa(T261, T257, T262, X503, X504, gt10_in_aa(T261, T257))
part87_in_aaaa(T283, .(T284, T285), X554, .(T284, X555)) → U41_aaaa(T283, T284, T285, X554, X555, le100_in_aa(T283, T284))
part87_in_aaaa(T288, .(T284, T289), X554, .(T284, X555)) → U42_aaaa(T288, T284, T289, X554, X555, le100_in_aa(T288, T284))
part87_in_aaaa(T316, [], [], []) → part87_out_aaaa(T316, [], [], [])
qs80_in_aa(.(T230, T231), X452) → U22_aa(T230, T231, X452, part87_in_aaaa(T230, T231, X448, X449))
qs80_in_aa(.(T237, T231), X452) → U23_aa(T237, T231, X452, part87_in_aaaa(T237, T231, T235, T236))
qs80_in_aa(.(T325, T231), X452) → U27_aa(T325, T231, X452, part87_in_aaaa(T325, T231, T235, T236))
qs80_in_aa([], []) → qs80_out_aa([], [])
U38_aaaa(T256, T257, T258, X503, X504, gt10_out_aa(T256, T257)) → part87_out_aaaa(T256, .(T257, T258), .(T257, X503), X504)
U39_aaaa(T261, T257, T262, X503, X504, gt10_out_aa(T261, T257)) → U40_aaaa(T261, T257, T262, X503, X504, part20_in_gaaa(T261, T262, X503, X504))
U41_aaaa(T283, T284, T285, X554, X555, le100_out_aa(T283, T284)) → part87_out_aaaa(T283, .(T284, T285), X554, .(T284, X555))
U42_aaaa(T288, T284, T289, X554, X555, le100_out_aa(T288, T284)) → U43_aaaa(T288, T284, T289, X554, X555, part20_in_gaaa(T288, T289, X554, X555))
U22_aa(T230, T231, X452, part87_out_aaaa(T230, T231, X448, X449)) → qs80_out_aa(.(T230, T231), X452)
U23_aa(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U24_aa(T237, T231, X452, qs80_in_aa(T235, X450))
U23_aa(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U25_aa(T237, T231, X452, T236, qs80_in_aa(T235, T319))
U27_aa(T325, T231, X452, part87_out_aaaa(T325, T231, T235, T236)) → U28_aa(T325, T231, X452, T236, qs80_in_aa(T235, T319))
gt10_in_aa(s(T46), s(T47)) → U1_aa(T46, T47, gt10_in_aa(T46, T47))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U40_aaaa(T261, T257, T262, X503, X504, part20_out_gaaa(T261, T262, X503, X504)) → part87_out_aaaa(T261, .(T257, T262), .(T257, X503), X504)
le100_in_aa(s(T302), s(T303)) → U21_aa(T302, T303, le100_in_aa(T302, T303))
le100_in_aa(0, s(T310)) → le100_out_aa(0, s(T310))
le100_in_aa(0, 0) → le100_out_aa(0, 0)
U43_aaaa(T288, T284, T289, X554, X555, part20_out_gaaa(T288, T289, X554, X555)) → part87_out_aaaa(T288, .(T284, T289), X554, .(T284, X555))
U24_aa(T237, T231, X452, qs80_out_aa(T235, X450)) → qs80_out_aa(.(T237, T231), X452)
U25_aa(T237, T231, X452, T236, qs80_out_aa(T235, T319)) → U26_aa(T237, T231, X452, qs80_in_aa(T236, X451))
U28_aa(T325, T231, X452, T236, qs80_out_aa(T235, T319)) → U29_aa(T325, T231, X452, T319, qs80_in_aa(T236, T324))
U1_aa(T46, T47, gt10_out_aa(T46, T47)) → gt10_out_aa(s(T46), s(T47))
part20_in_gaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_gaaa(T70, T73, T74, X119, X120, gt10_in_ga(T70, T73))
part20_in_gaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_gaaa(T70, T73, T77, X119, X120, gt10_in_ga(T70, T73))
part20_in_gaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_gaaa(T95, T98, T99, X170, X171, le33_in_ga(T95, T98))
part20_in_gaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_gaaa(T95, T98, T102, X170, X171, le33_in_ga(T95, T98))
part20_in_gaaa(T128, [], [], []) → part20_out_gaaa(T128, [], [], [])
U21_aa(T302, T303, le100_out_aa(T302, T303)) → le100_out_aa(s(T302), s(T303))
U26_aa(T237, T231, X452, qs80_out_aa(T236, X451)) → qs80_out_aa(.(T237, T231), X452)
U29_aa(T325, T231, X452, T319, qs80_out_aa(T236, T324)) → U30_aa(T325, T231, X452, app121_in_aaaa(T319, T325, T324, X452))
U2_gaaa(T70, T73, T74, X119, X120, gt10_out_ga(T70, T73)) → part20_out_gaaa(T70, .(T73, T74), .(T73, X119), X120)
U3_gaaa(T70, T73, T77, X119, X120, gt10_out_ga(T70, T73)) → U4_gaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
U5_gaaa(T95, T98, T99, X170, X171, le33_out_ga(T95, T98)) → part20_out_gaaa(T95, .(T98, T99), X170, .(T98, X171))
U6_gaaa(T95, T98, T102, X170, X171, le33_out_ga(T95, T98)) → U7_gaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
U30_aa(T325, T231, X452, app121_out_aaaa(T319, T325, T324, X452)) → qs80_out_aa(.(T325, T231), X452)
gt10_in_ga(s(T46), s(T47)) → U1_ga(T46, T47, gt10_in_ga(T46, T47))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U4_gaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_gaaa(T70, .(T73, T77), .(T73, X119), X120)
le33_in_ga(s(T113), s(T115)) → U8_ga(T113, T115, le33_in_ga(T113, T115))
le33_in_ga(0, s(T122)) → le33_out_ga(0, s(T122))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U7_gaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_gaaa(T95, .(T98, T102), X170, .(T98, X171))
app121_in_aaaa(.(T348, T349), T352, T353, .(T348, X657)) → U31_aaaa(T348, T349, T352, T353, X657, app121_in_aaaa(T349, T352, T353, X657))
app121_in_aaaa([], T362, T363, .(T362, T363)) → app121_out_aaaa([], T362, T363, .(T362, T363))
U1_ga(T46, T47, gt10_out_ga(T46, T47)) → gt10_out_ga(s(T46), s(T47))
U8_ga(T113, T115, le33_out_ga(T113, T115)) → le33_out_ga(s(T113), s(T115))
U31_aaaa(T348, T349, T352, T353, X657, app121_out_aaaa(T349, T352, T353, X657)) → app121_out_aaaa(.(T348, T349), T352, T353, .(T348, X657))

The argument filtering Pi contains the following mapping:
gt10_in_aa(x1, x2)  =  gt10_in_aa
U1_aa(x1, x2, x3)  =  U1_aa(x3)
gt10_out_aa(x1, x2)  =  gt10_out_aa(x1, x2)
part20_in_gaaa(x1, x2, x3, x4)  =  part20_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x6)
gt10_in_ga(x1, x2)  =  gt10_in_ga(x1)
s(x1)  =  s(x1)
U1_ga(x1, x2, x3)  =  U1_ga(x3)
0  =  0
gt10_out_ga(x1, x2)  =  gt10_out_ga(x2)
part20_out_gaaa(x1, x2, x3, x4)  =  part20_out_gaaa
U3_gaaa(x1, x2, x3, x4, x5, x6)  =  U3_gaaa(x1, x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x6)
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x6)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U8_ga(x1, x2, x3)  =  U8_ga(x3)
le33_out_ga(x1, x2)  =  le33_out_ga
U6_gaaa(x1, x2, x3, x4, x5, x6)  =  U6_gaaa(x1, x6)
U7_gaaa(x1, x2, x3, x4, x5, x6)  =  U7_gaaa(x6)
.(x1, x2)  =  .(x1, x2)
[]  =  []
qs80_in_aa(x1, x2)  =  qs80_in_aa
U22_aa(x1, x2, x3, x4)  =  U22_aa(x4)
part87_in_aaaa(x1, x2, x3, x4)  =  part87_in_aaaa
U38_aaaa(x1, x2, x3, x4, x5, x6)  =  U38_aaaa(x6)
part87_out_aaaa(x1, x2, x3, x4)  =  part87_out_aaaa
U39_aaaa(x1, x2, x3, x4, x5, x6)  =  U39_aaaa(x6)
U40_aaaa(x1, x2, x3, x4, x5, x6)  =  U40_aaaa(x6)
U41_aaaa(x1, x2, x3, x4, x5, x6)  =  U41_aaaa(x6)
le100_in_aa(x1, x2)  =  le100_in_aa
U21_aa(x1, x2, x3)  =  U21_aa(x3)
le100_out_aa(x1, x2)  =  le100_out_aa(x1)
U42_aaaa(x1, x2, x3, x4, x5, x6)  =  U42_aaaa(x6)
U43_aaaa(x1, x2, x3, x4, x5, x6)  =  U43_aaaa(x6)
qs80_out_aa(x1, x2)  =  qs80_out_aa
U23_aa(x1, x2, x3, x4)  =  U23_aa(x4)
U24_aa(x1, x2, x3, x4)  =  U24_aa(x4)
U27_aa(x1, x2, x3, x4)  =  U27_aa(x4)
U28_aa(x1, x2, x3, x4, x5)  =  U28_aa(x5)
U29_aa(x1, x2, x3, x4, x5)  =  U29_aa(x5)
U30_aa(x1, x2, x3, x4)  =  U30_aa(x4)
app121_in_aaaa(x1, x2, x3, x4)  =  app121_in_aaaa
U31_aaaa(x1, x2, x3, x4, x5, x6)  =  U31_aaaa(x6)
app121_out_aaaa(x1, x2, x3, x4)  =  app121_out_aaaa
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
U26_aa(x1, x2, x3, x4)  =  U26_aa(x4)
QS80_IN_AA(x1, x2)  =  QS80_IN_AA
U23_AA(x1, x2, x3, x4)  =  U23_AA(x4)
U27_AA(x1, x2, x3, x4)  =  U27_AA(x4)
U28_AA(x1, x2, x3, x4, x5)  =  U28_AA(x5)
U25_AA(x1, x2, x3, x4, x5)  =  U25_AA(x5)

We have to consider all (P,R,Pi)-chains

(240) PiDPToQDPProof (SOUND transformation)

Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi.

(241) Obligation:

Q DP problem:
The TRS P consists of the following rules:

QS80_IN_AAU23_AA(part87_in_aaaa)
U23_AA(part87_out_aaaa) → QS80_IN_AA
QS80_IN_AAU27_AA(part87_in_aaaa)
U27_AA(part87_out_aaaa) → U28_AA(qs80_in_aa)
U28_AA(qs80_out_aa) → QS80_IN_AA
U27_AA(part87_out_aaaa) → QS80_IN_AA
U23_AA(part87_out_aaaa) → U25_AA(qs80_in_aa)
U25_AA(qs80_out_aa) → QS80_IN_AA

The TRS R consists of the following rules:

part87_in_aaaaU38_aaaa(gt10_in_aa)
part87_in_aaaaU39_aaaa(gt10_in_aa)
part87_in_aaaaU41_aaaa(le100_in_aa)
part87_in_aaaaU42_aaaa(le100_in_aa)
part87_in_aaaapart87_out_aaaa
qs80_in_aaU22_aa(part87_in_aaaa)
qs80_in_aaU23_aa(part87_in_aaaa)
qs80_in_aaU27_aa(part87_in_aaaa)
qs80_in_aaqs80_out_aa
U38_aaaa(gt10_out_aa(T256, T257)) → part87_out_aaaa
U39_aaaa(gt10_out_aa(T261, T257)) → U40_aaaa(part20_in_gaaa(T261))
U41_aaaa(le100_out_aa(T283)) → part87_out_aaaa
U42_aaaa(le100_out_aa(T288)) → U43_aaaa(part20_in_gaaa(T288))
U22_aa(part87_out_aaaa) → qs80_out_aa
U23_aa(part87_out_aaaa) → U24_aa(qs80_in_aa)
U23_aa(part87_out_aaaa) → U25_aa(qs80_in_aa)
U27_aa(part87_out_aaaa) → U28_aa(qs80_in_aa)
gt10_in_aaU1_aa(gt10_in_aa)
gt10_in_aagt10_out_aa(s(0), 0)
U40_aaaa(part20_out_gaaa) → part87_out_aaaa
le100_in_aaU21_aa(le100_in_aa)
le100_in_aale100_out_aa(0)
U43_aaaa(part20_out_gaaa) → part87_out_aaaa
U24_aa(qs80_out_aa) → qs80_out_aa
U25_aa(qs80_out_aa) → U26_aa(qs80_in_aa)
U28_aa(qs80_out_aa) → U29_aa(qs80_in_aa)
U1_aa(gt10_out_aa(T46, T47)) → gt10_out_aa(s(T46), s(T47))
part20_in_gaaa(T70) → U2_gaaa(gt10_in_ga(T70))
part20_in_gaaa(T70) → U3_gaaa(T70, gt10_in_ga(T70))
part20_in_gaaa(T95) → U5_gaaa(le33_in_ga(T95))
part20_in_gaaa(T95) → U6_gaaa(T95, le33_in_ga(T95))
part20_in_gaaa(T128) → part20_out_gaaa
U21_aa(le100_out_aa(T302)) → le100_out_aa(s(T302))
U26_aa(qs80_out_aa) → qs80_out_aa
U29_aa(qs80_out_aa) → U30_aa(app121_in_aaaa)
U2_gaaa(gt10_out_ga(T73)) → part20_out_gaaa
U3_gaaa(T70, gt10_out_ga(T73)) → U4_gaaa(part20_in_gaaa(T70))
U5_gaaa(le33_out_ga) → part20_out_gaaa
U6_gaaa(T95, le33_out_ga) → U7_gaaa(part20_in_gaaa(T95))
U30_aa(app121_out_aaaa) → qs80_out_aa
gt10_in_ga(s(T46)) → U1_ga(gt10_in_ga(T46))
gt10_in_ga(s(0)) → gt10_out_ga(0)
U4_gaaa(part20_out_gaaa) → part20_out_gaaa
le33_in_ga(s(T113)) → U8_ga(le33_in_ga(T113))
le33_in_ga(0) → le33_out_ga
U7_gaaa(part20_out_gaaa) → part20_out_gaaa
app121_in_aaaaU31_aaaa(app121_in_aaaa)
app121_in_aaaaapp121_out_aaaa
U1_ga(gt10_out_ga(T47)) → gt10_out_ga(s(T47))
U8_ga(le33_out_ga) → le33_out_ga
U31_aaaa(app121_out_aaaa) → app121_out_aaaa

The set Q consists of the following terms:

part87_in_aaaa
qs80_in_aa
U38_aaaa(x0)
U39_aaaa(x0)
U41_aaaa(x0)
U42_aaaa(x0)
U22_aa(x0)
U23_aa(x0)
U27_aa(x0)
gt10_in_aa
U40_aaaa(x0)
le100_in_aa
U43_aaaa(x0)
U24_aa(x0)
U25_aa(x0)
U28_aa(x0)
U1_aa(x0)
part20_in_gaaa(x0)
U21_aa(x0)
U26_aa(x0)
U29_aa(x0)
U2_gaaa(x0)
U3_gaaa(x0, x1)
U5_gaaa(x0)
U6_gaaa(x0, x1)
U30_aa(x0)
gt10_in_ga(x0)
U4_gaaa(x0)
le33_in_ga(x0)
U7_gaaa(x0)
app121_in_aaaa
U1_ga(x0)
U8_ga(x0)
U31_aaaa(x0)

We have to consider all (P,Q,R)-chains.

(242) Narrowing (SOUND transformation)

By narrowing [LPAR04] the rule QS80_IN_AAU23_AA(part87_in_aaaa) at position [0] we obtained the following new rules [LPAR04]:

QS80_IN_AAU23_AA(U38_aaaa(gt10_in_aa))
QS80_IN_AAU23_AA(U39_aaaa(gt10_in_aa))
QS80_IN_AAU23_AA(U41_aaaa(le100_in_aa))
QS80_IN_AAU23_AA(U42_aaaa(le100_in_aa))
QS80_IN_AAU23_AA(part87_out_aaaa)

(243) Obligation:

Q DP problem:
The TRS P consists of the following rules:

U23_AA(part87_out_aaaa) → QS80_IN_AA
QS80_IN_AAU27_AA(part87_in_aaaa)
U27_AA(part87_out_aaaa) → U28_AA(qs80_in_aa)
U28_AA(qs80_out_aa) → QS80_IN_AA
U27_AA(part87_out_aaaa) → QS80_IN_AA
U23_AA(part87_out_aaaa) → U25_AA(qs80_in_aa)
U25_AA(qs80_out_aa) → QS80_IN_AA
QS80_IN_AAU23_AA(U38_aaaa(gt10_in_aa))
QS80_IN_AAU23_AA(U39_aaaa(gt10_in_aa))
QS80_IN_AAU23_AA(U41_aaaa(le100_in_aa))
QS80_IN_AAU23_AA(U42_aaaa(le100_in_aa))
QS80_IN_AAU23_AA(part87_out_aaaa)

The TRS R consists of the following rules:

part87_in_aaaaU38_aaaa(gt10_in_aa)
part87_in_aaaaU39_aaaa(gt10_in_aa)
part87_in_aaaaU41_aaaa(le100_in_aa)
part87_in_aaaaU42_aaaa(le100_in_aa)
part87_in_aaaapart87_out_aaaa
qs80_in_aaU22_aa(part87_in_aaaa)
qs80_in_aaU23_aa(part87_in_aaaa)
qs80_in_aaU27_aa(part87_in_aaaa)
qs80_in_aaqs80_out_aa
U38_aaaa(gt10_out_aa(T256, T257)) → part87_out_aaaa
U39_aaaa(gt10_out_aa(T261, T257)) → U40_aaaa(part20_in_gaaa(T261))
U41_aaaa(le100_out_aa(T283)) → part87_out_aaaa
U42_aaaa(le100_out_aa(T288)) → U43_aaaa(part20_in_gaaa(T288))
U22_aa(part87_out_aaaa) → qs80_out_aa
U23_aa(part87_out_aaaa) → U24_aa(qs80_in_aa)
U23_aa(part87_out_aaaa) → U25_aa(qs80_in_aa)
U27_aa(part87_out_aaaa) → U28_aa(qs80_in_aa)
gt10_in_aaU1_aa(gt10_in_aa)
gt10_in_aagt10_out_aa(s(0), 0)
U40_aaaa(part20_out_gaaa) → part87_out_aaaa
le100_in_aaU21_aa(le100_in_aa)
le100_in_aale100_out_aa(0)
U43_aaaa(part20_out_gaaa) → part87_out_aaaa
U24_aa(qs80_out_aa) → qs80_out_aa
U25_aa(qs80_out_aa) → U26_aa(qs80_in_aa)
U28_aa(qs80_out_aa) → U29_aa(qs80_in_aa)
U1_aa(gt10_out_aa(T46, T47)) → gt10_out_aa(s(T46), s(T47))
part20_in_gaaa(T70) → U2_gaaa(gt10_in_ga(T70))
part20_in_gaaa(T70) → U3_gaaa(T70, gt10_in_ga(T70))
part20_in_gaaa(T95) → U5_gaaa(le33_in_ga(T95))
part20_in_gaaa(T95) → U6_gaaa(T95, le33_in_ga(T95))
part20_in_gaaa(T128) → part20_out_gaaa
U21_aa(le100_out_aa(T302)) → le100_out_aa(s(T302))
U26_aa(qs80_out_aa) → qs80_out_aa
U29_aa(qs80_out_aa) → U30_aa(app121_in_aaaa)
U2_gaaa(gt10_out_ga(T73)) → part20_out_gaaa
U3_gaaa(T70, gt10_out_ga(T73)) → U4_gaaa(part20_in_gaaa(T70))
U5_gaaa(le33_out_ga) → part20_out_gaaa
U6_gaaa(T95, le33_out_ga) → U7_gaaa(part20_in_gaaa(T95))
U30_aa(app121_out_aaaa) → qs80_out_aa
gt10_in_ga(s(T46)) → U1_ga(gt10_in_ga(T46))
gt10_in_ga(s(0)) → gt10_out_ga(0)
U4_gaaa(part20_out_gaaa) → part20_out_gaaa
le33_in_ga(s(T113)) → U8_ga(le33_in_ga(T113))
le33_in_ga(0) → le33_out_ga
U7_gaaa(part20_out_gaaa) → part20_out_gaaa
app121_in_aaaaU31_aaaa(app121_in_aaaa)
app121_in_aaaaapp121_out_aaaa
U1_ga(gt10_out_ga(T47)) → gt10_out_ga(s(T47))
U8_ga(le33_out_ga) → le33_out_ga
U31_aaaa(app121_out_aaaa) → app121_out_aaaa

The set Q consists of the following terms:

part87_in_aaaa
qs80_in_aa
U38_aaaa(x0)
U39_aaaa(x0)
U41_aaaa(x0)
U42_aaaa(x0)
U22_aa(x0)
U23_aa(x0)
U27_aa(x0)
gt10_in_aa
U40_aaaa(x0)
le100_in_aa
U43_aaaa(x0)
U24_aa(x0)
U25_aa(x0)
U28_aa(x0)
U1_aa(x0)
part20_in_gaaa(x0)
U21_aa(x0)
U26_aa(x0)
U29_aa(x0)
U2_gaaa(x0)
U3_gaaa(x0, x1)
U5_gaaa(x0)
U6_gaaa(x0, x1)
U30_aa(x0)
gt10_in_ga(x0)
U4_gaaa(x0)
le33_in_ga(x0)
U7_gaaa(x0)
app121_in_aaaa
U1_ga(x0)
U8_ga(x0)
U31_aaaa(x0)

We have to consider all (P,Q,R)-chains.

(244) Narrowing (SOUND transformation)

By narrowing [LPAR04] the rule QS80_IN_AAU27_AA(part87_in_aaaa) at position [0] we obtained the following new rules [LPAR04]:

QS80_IN_AAU27_AA(U38_aaaa(gt10_in_aa))
QS80_IN_AAU27_AA(U39_aaaa(gt10_in_aa))
QS80_IN_AAU27_AA(U41_aaaa(le100_in_aa))
QS80_IN_AAU27_AA(U42_aaaa(le100_in_aa))
QS80_IN_AAU27_AA(part87_out_aaaa)

(245) Obligation:

Q DP problem:
The TRS P consists of the following rules:

U23_AA(part87_out_aaaa) → QS80_IN_AA
U27_AA(part87_out_aaaa) → U28_AA(qs80_in_aa)
U28_AA(qs80_out_aa) → QS80_IN_AA
U27_AA(part87_out_aaaa) → QS80_IN_AA
U23_AA(part87_out_aaaa) → U25_AA(qs80_in_aa)
U25_AA(qs80_out_aa) → QS80_IN_AA
QS80_IN_AAU23_AA(U38_aaaa(gt10_in_aa))
QS80_IN_AAU23_AA(U39_aaaa(gt10_in_aa))
QS80_IN_AAU23_AA(U41_aaaa(le100_in_aa))
QS80_IN_AAU23_AA(U42_aaaa(le100_in_aa))
QS80_IN_AAU23_AA(part87_out_aaaa)
QS80_IN_AAU27_AA(U38_aaaa(gt10_in_aa))
QS80_IN_AAU27_AA(U39_aaaa(gt10_in_aa))
QS80_IN_AAU27_AA(U41_aaaa(le100_in_aa))
QS80_IN_AAU27_AA(U42_aaaa(le100_in_aa))
QS80_IN_AAU27_AA(part87_out_aaaa)

The TRS R consists of the following rules:

part87_in_aaaaU38_aaaa(gt10_in_aa)
part87_in_aaaaU39_aaaa(gt10_in_aa)
part87_in_aaaaU41_aaaa(le100_in_aa)
part87_in_aaaaU42_aaaa(le100_in_aa)
part87_in_aaaapart87_out_aaaa
qs80_in_aaU22_aa(part87_in_aaaa)
qs80_in_aaU23_aa(part87_in_aaaa)
qs80_in_aaU27_aa(part87_in_aaaa)
qs80_in_aaqs80_out_aa
U38_aaaa(gt10_out_aa(T256, T257)) → part87_out_aaaa
U39_aaaa(gt10_out_aa(T261, T257)) → U40_aaaa(part20_in_gaaa(T261))
U41_aaaa(le100_out_aa(T283)) → part87_out_aaaa
U42_aaaa(le100_out_aa(T288)) → U43_aaaa(part20_in_gaaa(T288))
U22_aa(part87_out_aaaa) → qs80_out_aa
U23_aa(part87_out_aaaa) → U24_aa(qs80_in_aa)
U23_aa(part87_out_aaaa) → U25_aa(qs80_in_aa)
U27_aa(part87_out_aaaa) → U28_aa(qs80_in_aa)
gt10_in_aaU1_aa(gt10_in_aa)
gt10_in_aagt10_out_aa(s(0), 0)
U40_aaaa(part20_out_gaaa) → part87_out_aaaa
le100_in_aaU21_aa(le100_in_aa)
le100_in_aale100_out_aa(0)
U43_aaaa(part20_out_gaaa) → part87_out_aaaa
U24_aa(qs80_out_aa) → qs80_out_aa
U25_aa(qs80_out_aa) → U26_aa(qs80_in_aa)
U28_aa(qs80_out_aa) → U29_aa(qs80_in_aa)
U1_aa(gt10_out_aa(T46, T47)) → gt10_out_aa(s(T46), s(T47))
part20_in_gaaa(T70) → U2_gaaa(gt10_in_ga(T70))
part20_in_gaaa(T70) → U3_gaaa(T70, gt10_in_ga(T70))
part20_in_gaaa(T95) → U5_gaaa(le33_in_ga(T95))
part20_in_gaaa(T95) → U6_gaaa(T95, le33_in_ga(T95))
part20_in_gaaa(T128) → part20_out_gaaa
U21_aa(le100_out_aa(T302)) → le100_out_aa(s(T302))
U26_aa(qs80_out_aa) → qs80_out_aa
U29_aa(qs80_out_aa) → U30_aa(app121_in_aaaa)
U2_gaaa(gt10_out_ga(T73)) → part20_out_gaaa
U3_gaaa(T70, gt10_out_ga(T73)) → U4_gaaa(part20_in_gaaa(T70))
U5_gaaa(le33_out_ga) → part20_out_gaaa
U6_gaaa(T95, le33_out_ga) → U7_gaaa(part20_in_gaaa(T95))
U30_aa(app121_out_aaaa) → qs80_out_aa
gt10_in_ga(s(T46)) → U1_ga(gt10_in_ga(T46))
gt10_in_ga(s(0)) → gt10_out_ga(0)
U4_gaaa(part20_out_gaaa) → part20_out_gaaa
le33_in_ga(s(T113)) → U8_ga(le33_in_ga(T113))
le33_in_ga(0) → le33_out_ga
U7_gaaa(part20_out_gaaa) → part20_out_gaaa
app121_in_aaaaU31_aaaa(app121_in_aaaa)
app121_in_aaaaapp121_out_aaaa
U1_ga(gt10_out_ga(T47)) → gt10_out_ga(s(T47))
U8_ga(le33_out_ga) → le33_out_ga
U31_aaaa(app121_out_aaaa) → app121_out_aaaa

The set Q consists of the following terms:

part87_in_aaaa
qs80_in_aa
U38_aaaa(x0)
U39_aaaa(x0)
U41_aaaa(x0)
U42_aaaa(x0)
U22_aa(x0)
U23_aa(x0)
U27_aa(x0)
gt10_in_aa
U40_aaaa(x0)
le100_in_aa
U43_aaaa(x0)
U24_aa(x0)
U25_aa(x0)
U28_aa(x0)
U1_aa(x0)
part20_in_gaaa(x0)
U21_aa(x0)
U26_aa(x0)
U29_aa(x0)
U2_gaaa(x0)
U3_gaaa(x0, x1)
U5_gaaa(x0)
U6_gaaa(x0, x1)
U30_aa(x0)
gt10_in_ga(x0)
U4_gaaa(x0)
le33_in_ga(x0)
U7_gaaa(x0)
app121_in_aaaa
U1_ga(x0)
U8_ga(x0)
U31_aaaa(x0)

We have to consider all (P,Q,R)-chains.

(246) Narrowing (SOUND transformation)

By narrowing [LPAR04] the rule U27_AA(part87_out_aaaa) → U28_AA(qs80_in_aa) at position [0] we obtained the following new rules [LPAR04]:

U27_AA(part87_out_aaaa) → U28_AA(U22_aa(part87_in_aaaa))
U27_AA(part87_out_aaaa) → U28_AA(U23_aa(part87_in_aaaa))
U27_AA(part87_out_aaaa) → U28_AA(U27_aa(part87_in_aaaa))
U27_AA(part87_out_aaaa) → U28_AA(qs80_out_aa)

(247) Obligation:

Q DP problem:
The TRS P consists of the following rules:

U23_AA(part87_out_aaaa) → QS80_IN_AA
U28_AA(qs80_out_aa) → QS80_IN_AA
U27_AA(part87_out_aaaa) → QS80_IN_AA
U23_AA(part87_out_aaaa) → U25_AA(qs80_in_aa)
U25_AA(qs80_out_aa) → QS80_IN_AA
QS80_IN_AAU23_AA(U38_aaaa(gt10_in_aa))
QS80_IN_AAU23_AA(U39_aaaa(gt10_in_aa))
QS80_IN_AAU23_AA(U41_aaaa(le100_in_aa))
QS80_IN_AAU23_AA(U42_aaaa(le100_in_aa))
QS80_IN_AAU23_AA(part87_out_aaaa)
QS80_IN_AAU27_AA(U38_aaaa(gt10_in_aa))
QS80_IN_AAU27_AA(U39_aaaa(gt10_in_aa))
QS80_IN_AAU27_AA(U41_aaaa(le100_in_aa))
QS80_IN_AAU27_AA(U42_aaaa(le100_in_aa))
QS80_IN_AAU27_AA(part87_out_aaaa)
U27_AA(part87_out_aaaa) → U28_AA(U22_aa(part87_in_aaaa))
U27_AA(part87_out_aaaa) → U28_AA(U23_aa(part87_in_aaaa))
U27_AA(part87_out_aaaa) → U28_AA(U27_aa(part87_in_aaaa))
U27_AA(part87_out_aaaa) → U28_AA(qs80_out_aa)

The TRS R consists of the following rules:

part87_in_aaaaU38_aaaa(gt10_in_aa)
part87_in_aaaaU39_aaaa(gt10_in_aa)
part87_in_aaaaU41_aaaa(le100_in_aa)
part87_in_aaaaU42_aaaa(le100_in_aa)
part87_in_aaaapart87_out_aaaa
qs80_in_aaU22_aa(part87_in_aaaa)
qs80_in_aaU23_aa(part87_in_aaaa)
qs80_in_aaU27_aa(part87_in_aaaa)
qs80_in_aaqs80_out_aa
U38_aaaa(gt10_out_aa(T256, T257)) → part87_out_aaaa
U39_aaaa(gt10_out_aa(T261, T257)) → U40_aaaa(part20_in_gaaa(T261))
U41_aaaa(le100_out_aa(T283)) → part87_out_aaaa
U42_aaaa(le100_out_aa(T288)) → U43_aaaa(part20_in_gaaa(T288))
U22_aa(part87_out_aaaa) → qs80_out_aa
U23_aa(part87_out_aaaa) → U24_aa(qs80_in_aa)
U23_aa(part87_out_aaaa) → U25_aa(qs80_in_aa)
U27_aa(part87_out_aaaa) → U28_aa(qs80_in_aa)
gt10_in_aaU1_aa(gt10_in_aa)
gt10_in_aagt10_out_aa(s(0), 0)
U40_aaaa(part20_out_gaaa) → part87_out_aaaa
le100_in_aaU21_aa(le100_in_aa)
le100_in_aale100_out_aa(0)
U43_aaaa(part20_out_gaaa) → part87_out_aaaa
U24_aa(qs80_out_aa) → qs80_out_aa
U25_aa(qs80_out_aa) → U26_aa(qs80_in_aa)
U28_aa(qs80_out_aa) → U29_aa(qs80_in_aa)
U1_aa(gt10_out_aa(T46, T47)) → gt10_out_aa(s(T46), s(T47))
part20_in_gaaa(T70) → U2_gaaa(gt10_in_ga(T70))
part20_in_gaaa(T70) → U3_gaaa(T70, gt10_in_ga(T70))
part20_in_gaaa(T95) → U5_gaaa(le33_in_ga(T95))
part20_in_gaaa(T95) → U6_gaaa(T95, le33_in_ga(T95))
part20_in_gaaa(T128) → part20_out_gaaa
U21_aa(le100_out_aa(T302)) → le100_out_aa(s(T302))
U26_aa(qs80_out_aa) → qs80_out_aa
U29_aa(qs80_out_aa) → U30_aa(app121_in_aaaa)
U2_gaaa(gt10_out_ga(T73)) → part20_out_gaaa
U3_gaaa(T70, gt10_out_ga(T73)) → U4_gaaa(part20_in_gaaa(T70))
U5_gaaa(le33_out_ga) → part20_out_gaaa
U6_gaaa(T95, le33_out_ga) → U7_gaaa(part20_in_gaaa(T95))
U30_aa(app121_out_aaaa) → qs80_out_aa
gt10_in_ga(s(T46)) → U1_ga(gt10_in_ga(T46))
gt10_in_ga(s(0)) → gt10_out_ga(0)
U4_gaaa(part20_out_gaaa) → part20_out_gaaa
le33_in_ga(s(T113)) → U8_ga(le33_in_ga(T113))
le33_in_ga(0) → le33_out_ga
U7_gaaa(part20_out_gaaa) → part20_out_gaaa
app121_in_aaaaU31_aaaa(app121_in_aaaa)
app121_in_aaaaapp121_out_aaaa
U1_ga(gt10_out_ga(T47)) → gt10_out_ga(s(T47))
U8_ga(le33_out_ga) → le33_out_ga
U31_aaaa(app121_out_aaaa) → app121_out_aaaa

The set Q consists of the following terms:

part87_in_aaaa
qs80_in_aa
U38_aaaa(x0)
U39_aaaa(x0)
U41_aaaa(x0)
U42_aaaa(x0)
U22_aa(x0)
U23_aa(x0)
U27_aa(x0)
gt10_in_aa
U40_aaaa(x0)
le100_in_aa
U43_aaaa(x0)
U24_aa(x0)
U25_aa(x0)
U28_aa(x0)
U1_aa(x0)
part20_in_gaaa(x0)
U21_aa(x0)
U26_aa(x0)
U29_aa(x0)
U2_gaaa(x0)
U3_gaaa(x0, x1)
U5_gaaa(x0)
U6_gaaa(x0, x1)
U30_aa(x0)
gt10_in_ga(x0)
U4_gaaa(x0)
le33_in_ga(x0)
U7_gaaa(x0)
app121_in_aaaa
U1_ga(x0)
U8_ga(x0)
U31_aaaa(x0)

We have to consider all (P,Q,R)-chains.

(248) Narrowing (SOUND transformation)

By narrowing [LPAR04] the rule U23_AA(part87_out_aaaa) → U25_AA(qs80_in_aa) at position [0] we obtained the following new rules [LPAR04]:

U23_AA(part87_out_aaaa) → U25_AA(U22_aa(part87_in_aaaa))
U23_AA(part87_out_aaaa) → U25_AA(U23_aa(part87_in_aaaa))
U23_AA(part87_out_aaaa) → U25_AA(U27_aa(part87_in_aaaa))
U23_AA(part87_out_aaaa) → U25_AA(qs80_out_aa)

(249) Obligation:

Q DP problem:
The TRS P consists of the following rules:

U23_AA(part87_out_aaaa) → QS80_IN_AA
U28_AA(qs80_out_aa) → QS80_IN_AA
U27_AA(part87_out_aaaa) → QS80_IN_AA
U25_AA(qs80_out_aa) → QS80_IN_AA
QS80_IN_AAU23_AA(U38_aaaa(gt10_in_aa))
QS80_IN_AAU23_AA(U39_aaaa(gt10_in_aa))
QS80_IN_AAU23_AA(U41_aaaa(le100_in_aa))
QS80_IN_AAU23_AA(U42_aaaa(le100_in_aa))
QS80_IN_AAU23_AA(part87_out_aaaa)
QS80_IN_AAU27_AA(U38_aaaa(gt10_in_aa))
QS80_IN_AAU27_AA(U39_aaaa(gt10_in_aa))
QS80_IN_AAU27_AA(U41_aaaa(le100_in_aa))
QS80_IN_AAU27_AA(U42_aaaa(le100_in_aa))
QS80_IN_AAU27_AA(part87_out_aaaa)
U27_AA(part87_out_aaaa) → U28_AA(U22_aa(part87_in_aaaa))
U27_AA(part87_out_aaaa) → U28_AA(U23_aa(part87_in_aaaa))
U27_AA(part87_out_aaaa) → U28_AA(U27_aa(part87_in_aaaa))
U27_AA(part87_out_aaaa) → U28_AA(qs80_out_aa)
U23_AA(part87_out_aaaa) → U25_AA(U22_aa(part87_in_aaaa))
U23_AA(part87_out_aaaa) → U25_AA(U23_aa(part87_in_aaaa))
U23_AA(part87_out_aaaa) → U25_AA(U27_aa(part87_in_aaaa))
U23_AA(part87_out_aaaa) → U25_AA(qs80_out_aa)

The TRS R consists of the following rules:

part87_in_aaaaU38_aaaa(gt10_in_aa)
part87_in_aaaaU39_aaaa(gt10_in_aa)
part87_in_aaaaU41_aaaa(le100_in_aa)
part87_in_aaaaU42_aaaa(le100_in_aa)
part87_in_aaaapart87_out_aaaa
qs80_in_aaU22_aa(part87_in_aaaa)
qs80_in_aaU23_aa(part87_in_aaaa)
qs80_in_aaU27_aa(part87_in_aaaa)
qs80_in_aaqs80_out_aa
U38_aaaa(gt10_out_aa(T256, T257)) → part87_out_aaaa
U39_aaaa(gt10_out_aa(T261, T257)) → U40_aaaa(part20_in_gaaa(T261))
U41_aaaa(le100_out_aa(T283)) → part87_out_aaaa
U42_aaaa(le100_out_aa(T288)) → U43_aaaa(part20_in_gaaa(T288))
U22_aa(part87_out_aaaa) → qs80_out_aa
U23_aa(part87_out_aaaa) → U24_aa(qs80_in_aa)
U23_aa(part87_out_aaaa) → U25_aa(qs80_in_aa)
U27_aa(part87_out_aaaa) → U28_aa(qs80_in_aa)
gt10_in_aaU1_aa(gt10_in_aa)
gt10_in_aagt10_out_aa(s(0), 0)
U40_aaaa(part20_out_gaaa) → part87_out_aaaa
le100_in_aaU21_aa(le100_in_aa)
le100_in_aale100_out_aa(0)
U43_aaaa(part20_out_gaaa) → part87_out_aaaa
U24_aa(qs80_out_aa) → qs80_out_aa
U25_aa(qs80_out_aa) → U26_aa(qs80_in_aa)
U28_aa(qs80_out_aa) → U29_aa(qs80_in_aa)
U1_aa(gt10_out_aa(T46, T47)) → gt10_out_aa(s(T46), s(T47))
part20_in_gaaa(T70) → U2_gaaa(gt10_in_ga(T70))
part20_in_gaaa(T70) → U3_gaaa(T70, gt10_in_ga(T70))
part20_in_gaaa(T95) → U5_gaaa(le33_in_ga(T95))
part20_in_gaaa(T95) → U6_gaaa(T95, le33_in_ga(T95))
part20_in_gaaa(T128) → part20_out_gaaa
U21_aa(le100_out_aa(T302)) → le100_out_aa(s(T302))
U26_aa(qs80_out_aa) → qs80_out_aa
U29_aa(qs80_out_aa) → U30_aa(app121_in_aaaa)
U2_gaaa(gt10_out_ga(T73)) → part20_out_gaaa
U3_gaaa(T70, gt10_out_ga(T73)) → U4_gaaa(part20_in_gaaa(T70))
U5_gaaa(le33_out_ga) → part20_out_gaaa
U6_gaaa(T95, le33_out_ga) → U7_gaaa(part20_in_gaaa(T95))
U30_aa(app121_out_aaaa) → qs80_out_aa
gt10_in_ga(s(T46)) → U1_ga(gt10_in_ga(T46))
gt10_in_ga(s(0)) → gt10_out_ga(0)
U4_gaaa(part20_out_gaaa) → part20_out_gaaa
le33_in_ga(s(T113)) → U8_ga(le33_in_ga(T113))
le33_in_ga(0) → le33_out_ga
U7_gaaa(part20_out_gaaa) → part20_out_gaaa
app121_in_aaaaU31_aaaa(app121_in_aaaa)
app121_in_aaaaapp121_out_aaaa
U1_ga(gt10_out_ga(T47)) → gt10_out_ga(s(T47))
U8_ga(le33_out_ga) → le33_out_ga
U31_aaaa(app121_out_aaaa) → app121_out_aaaa

The set Q consists of the following terms:

part87_in_aaaa
qs80_in_aa
U38_aaaa(x0)
U39_aaaa(x0)
U41_aaaa(x0)
U42_aaaa(x0)
U22_aa(x0)
U23_aa(x0)
U27_aa(x0)
gt10_in_aa
U40_aaaa(x0)
le100_in_aa
U43_aaaa(x0)
U24_aa(x0)
U25_aa(x0)
U28_aa(x0)
U1_aa(x0)
part20_in_gaaa(x0)
U21_aa(x0)
U26_aa(x0)
U29_aa(x0)
U2_gaaa(x0)
U3_gaaa(x0, x1)
U5_gaaa(x0)
U6_gaaa(x0, x1)
U30_aa(x0)
gt10_in_ga(x0)
U4_gaaa(x0)
le33_in_ga(x0)
U7_gaaa(x0)
app121_in_aaaa
U1_ga(x0)
U8_ga(x0)
U31_aaaa(x0)

We have to consider all (P,Q,R)-chains.

(250) NonTerminationProof (EQUIVALENT transformation)

We used the non-termination processor [FROCOS05] to show that the DP problem is infinite.
Found a loop by narrowing to the left:

s = QS80_IN_AA evaluates to t =QS80_IN_AA

Thus s starts an infinite chain as s semiunifies with t with the following substitutions:
  • Matcher: [ ]
  • Semiunifier: [ ]




Rewriting sequence

QS80_IN_AAU23_AA(part87_out_aaaa)
with rule QS80_IN_AAU23_AA(part87_out_aaaa) at position [] and matcher [ ]

U23_AA(part87_out_aaaa)QS80_IN_AA
with rule U23_AA(part87_out_aaaa) → QS80_IN_AA

Now applying the matcher to the start term leads to a term which is equal to the last term in the rewriting sequence


All these steps are and every following step will be a correct step w.r.t to Q.



(251) NO

(252) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

P56_IN_AAAAAAA(T148, T149, T153, T154, X271, X272, X273) → U10_AAAAAAA(T148, T149, T153, T154, X271, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U10_AAAAAAA(T148, T149, T153, T154, X271, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → QS59_IN_AA(T153, X271)
QS59_IN_AA(.(T171, T172), X335) → P56_IN_AAAAAAA(T171, T172, X331, X332, X333, X334, X335)
P56_IN_AAAAAAA(T148, T149, T153, T154, T160, X272, X273) → U12_AAAAAAA(T148, T149, T153, T154, T160, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U12_AAAAAAA(T148, T149, T153, T154, T160, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U13_AAAAAAA(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U13_AAAAAAA(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → QS59_IN_AA(T154, X272)
U12_AAAAAAA(T148, T149, T153, T154, T160, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → QS59_IN_AA(T153, T160)
P56_IN_AAAAAAA(T148, T149, T153, T154, T160, T178, X273) → U15_AAAAAAA(T148, T149, T153, T154, T160, T178, X273, part20_in_aaaa(T148, T149, T153, T154))
U15_AAAAAAA(T148, T149, T153, T154, T160, T178, X273, part20_out_aaaa(T148, T149, T153, T154)) → U16_AAAAAAA(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U16_AAAAAAA(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → QS59_IN_AA(T154, T178)
U15_AAAAAAA(T148, T149, T153, T154, T160, T178, X273, part20_out_aaaa(T148, T149, T153, T154)) → QS59_IN_AA(T153, T160)

The TRS R consists of the following rules:

qs1_in_ag(.(T26, .(T27, T28)), T8) → U44_ag(T26, T27, T28, T8, gt10_in_aa(T26, T27))
gt10_in_aa(s(T46), s(T47)) → U1_aa(T46, T47, gt10_in_aa(T46, T47))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U1_aa(T46, T47, gt10_out_aa(T46, T47)) → gt10_out_aa(s(T46), s(T47))
U44_ag(T26, T27, T28, T8, gt10_out_aa(T26, T27)) → qs1_out_ag(.(T26, .(T27, T28)), T8)
qs1_in_ag(.(T31, .(T33, T32)), T8) → U45_ag(T31, T33, T32, T8, gt10_in_aa(T31, T33))
U45_ag(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U46_ag(T31, T33, T32, T8, part20_in_gaaa(T31, T32, X47, X48))
part20_in_gaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_gaaa(T70, T73, T74, X119, X120, gt10_in_ga(T70, T73))
gt10_in_ga(s(T46), s(T47)) → U1_ga(T46, T47, gt10_in_ga(T46, T47))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U1_ga(T46, T47, gt10_out_ga(T46, T47)) → gt10_out_ga(s(T46), s(T47))
U2_gaaa(T70, T73, T74, X119, X120, gt10_out_ga(T70, T73)) → part20_out_gaaa(T70, .(T73, T74), .(T73, X119), X120)
part20_in_gaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_gaaa(T70, T73, T77, X119, X120, gt10_in_ga(T70, T73))
U3_gaaa(T70, T73, T77, X119, X120, gt10_out_ga(T70, T73)) → U4_gaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
part20_in_gaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_gaaa(T95, T98, T99, X170, X171, le33_in_ga(T95, T98))
le33_in_ga(s(T113), s(T115)) → U8_ga(T113, T115, le33_in_ga(T113, T115))
le33_in_ga(0, s(T122)) → le33_out_ga(0, s(T122))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U8_ga(T113, T115, le33_out_ga(T113, T115)) → le33_out_ga(s(T113), s(T115))
U5_gaaa(T95, T98, T99, X170, X171, le33_out_ga(T95, T98)) → part20_out_gaaa(T95, .(T98, T99), X170, .(T98, X171))
part20_in_gaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_gaaa(T95, T98, T102, X170, X171, le33_in_ga(T95, T98))
U6_gaaa(T95, T98, T102, X170, X171, le33_out_ga(T95, T98)) → U7_gaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
part20_in_gaaa(T128, [], [], []) → part20_out_gaaa(T128, [], [], [])
U7_gaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_gaaa(T95, .(T98, T102), X170, .(T98, X171))
U4_gaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_gaaa(T70, .(T73, T77), .(T73, X119), X120)
U46_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, X47, X48)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
U45_ag(T31, T33, T32, T8, gt10_out_aa(T31, T33)) → U47_ag(T31, T33, T32, T8, part20_in_gaaa(T31, T32, T53, T54))
U47_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U48_ag(T31, T33, T32, T8, qs51_in_gaa(T33, T53, X9))
qs51_in_gaa(T148, T149, X273) → U37_gaa(T148, T149, X273, p56_in_gaaaaaa(T148, T149, X269, X270, X271, X272, X273))
p56_in_gaaaaaa(T148, T149, X269, X270, X271, X272, X273) → U9_gaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_in_gaaa(T148, T149, X269, X270))
U9_gaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_out_gaaa(T148, T149, X269, X270)) → p56_out_gaaaaaa(T148, T149, X269, X270, X271, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, X271, X272, X273) → U10_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U10_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U11_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
qs59_in_aa(.(T171, T172), X335) → U19_aa(T171, T172, X335, p56_in_aaaaaaa(T171, T172, X331, X332, X333, X334, X335))
p56_in_aaaaaaa(T148, T149, X269, X270, X271, X272, X273) → U9_aaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_in_aaaa(T148, T149, X269, X270))
part20_in_aaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_aaaa(T70, T73, T74, X119, X120, gt10_in_aa(T70, T73))
U2_aaaa(T70, T73, T74, X119, X120, gt10_out_aa(T70, T73)) → part20_out_aaaa(T70, .(T73, T74), .(T73, X119), X120)
part20_in_aaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_aaaa(T70, T73, T77, X119, X120, gt10_in_aa(T70, T73))
U3_aaaa(T70, T73, T77, X119, X120, gt10_out_aa(T70, T73)) → U4_aaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
U4_aaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_aaaa(T70, .(T73, T77), .(T73, X119), X120)
part20_in_aaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_aaaa(T95, T98, T99, X170, X171, le33_in_aa(T95, T98))
le33_in_aa(s(T113), s(T115)) → U8_aa(T113, T115, le33_in_aa(T113, T115))
le33_in_aa(0, s(T122)) → le33_out_aa(0, s(T122))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U8_aa(T113, T115, le33_out_aa(T113, T115)) → le33_out_aa(s(T113), s(T115))
U5_aaaa(T95, T98, T99, X170, X171, le33_out_aa(T95, T98)) → part20_out_aaaa(T95, .(T98, T99), X170, .(T98, X171))
part20_in_aaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_aaaa(T95, T98, T102, X170, X171, le33_in_aa(T95, T98))
U6_aaaa(T95, T98, T102, X170, X171, le33_out_aa(T95, T98)) → U7_aaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
U7_aaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_aaaa(T95, .(T98, T102), X170, .(T98, X171))
part20_in_aaaa(T128, [], [], []) → part20_out_aaaa(T128, [], [], [])
U9_aaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_out_aaaa(T148, T149, X269, X270)) → p56_out_aaaaaaa(T148, T149, X269, X270, X271, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, X271, X272, X273) → U10_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U10_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U11_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
qs59_in_aa([], []) → qs59_out_aa([], [])
U11_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_out_aa(T153, X271)) → p56_out_aaaaaaa(T148, T149, T153, T154, X271, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, T160, X272, X273) → U12_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U12_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U13_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U13_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U14_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T154, X272)) → p56_out_aaaaaaa(T148, T149, T153, T154, T160, X272, X273)
p56_in_aaaaaaa(T148, T149, T153, T154, T160, T178, X273) → U15_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_in_aaaa(T148, T149, T153, T154))
U15_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_out_aaaa(T148, T149, T153, T154)) → U16_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U16_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U17_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_in_aaaa(T160, T148, T178, X273))
app70_in_aaaa(.(T201, T202), T203, T204, .(T201, X391)) → U20_aaaa(T201, T202, T203, T204, X391, app70_in_aaaa(T202, T203, T204, X391))
app70_in_aaaa([], T213, T214, .(T213, T214)) → app70_out_aaaa([], T213, T214, .(T213, T214))
U20_aaaa(T201, T202, T203, T204, X391, app70_out_aaaa(T202, T203, T204, X391)) → app70_out_aaaa(.(T201, T202), T203, T204, .(T201, X391))
U18_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_out_aaaa(T160, T148, T178, X273)) → p56_out_aaaaaaa(T148, T149, T153, T154, T160, T178, X273)
U19_aa(T171, T172, X335, p56_out_aaaaaaa(T171, T172, X331, X332, X333, X334, X335)) → qs59_out_aa(.(T171, T172), X335)
U11_gaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_out_aa(T153, X271)) → p56_out_gaaaaaa(T148, T149, T153, T154, X271, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, T160, X272, X273) → U12_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_in_gaaa(T148, T149, T153, T154))
U12_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_out_gaaa(T148, T149, T153, T154)) → U13_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U13_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U14_gaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T154, X272)) → p56_out_gaaaaaa(T148, T149, T153, T154, T160, X272, X273)
p56_in_gaaaaaa(T148, T149, T153, T154, T160, T178, X273) → U15_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_in_gaaa(T148, T149, T153, T154))
U15_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_out_gaaa(T148, T149, T153, T154)) → U16_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U16_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
U17_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_in_agaa(T160, T148, T178, X273))
app70_in_agaa(.(T201, T202), T203, T204, .(T201, X391)) → U20_agaa(T201, T202, T203, T204, X391, app70_in_agaa(T202, T203, T204, X391))
app70_in_agaa([], T213, T214, .(T213, T214)) → app70_out_agaa([], T213, T214, .(T213, T214))
U20_agaa(T201, T202, T203, T204, X391, app70_out_agaa(T202, T203, T204, X391)) → app70_out_agaa(.(T201, T202), T203, T204, .(T201, X391))
U18_gaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_out_agaa(T160, T148, T178, X273)) → p56_out_gaaaaaa(T148, T149, T153, T154, T160, T178, X273)
U37_gaa(T148, T149, X273, p56_out_gaaaaaa(T148, T149, X269, X270, X271, X272, X273)) → qs51_out_gaa(T148, T149, X273)
U48_ag(T31, T33, T32, T8, qs51_out_gaa(T33, T53, X9)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
U47_ag(T31, T33, T32, T8, part20_out_gaaa(T31, T32, T53, T54)) → U49_ag(T31, T33, T32, T8, T54, qs51_in_gaa(T33, T53, T131))
U49_ag(T31, T33, T32, T8, T54, qs51_out_gaa(T33, T53, T131)) → U50_ag(T31, T33, T32, T8, p52_in_aaagg(T54, X10, T131, T31, T8))
p52_in_aaagg(T54, X10, T131, T31, T8) → U33_aaagg(T54, X10, T131, T31, T8, qs80_in_aa(T54, X10))
qs80_in_aa(.(T230, T231), X452) → U22_aa(T230, T231, X452, part87_in_aaaa(T230, T231, X448, X449))
part87_in_aaaa(T256, .(T257, T258), .(T257, X503), X504) → U38_aaaa(T256, T257, T258, X503, X504, gt10_in_aa(T256, T257))
U38_aaaa(T256, T257, T258, X503, X504, gt10_out_aa(T256, T257)) → part87_out_aaaa(T256, .(T257, T258), .(T257, X503), X504)
part87_in_aaaa(T261, .(T257, T262), .(T257, X503), X504) → U39_aaaa(T261, T257, T262, X503, X504, gt10_in_aa(T261, T257))
U39_aaaa(T261, T257, T262, X503, X504, gt10_out_aa(T261, T257)) → U40_aaaa(T261, T257, T262, X503, X504, part20_in_gaaa(T261, T262, X503, X504))
U40_aaaa(T261, T257, T262, X503, X504, part20_out_gaaa(T261, T262, X503, X504)) → part87_out_aaaa(T261, .(T257, T262), .(T257, X503), X504)
part87_in_aaaa(T283, .(T284, T285), X554, .(T284, X555)) → U41_aaaa(T283, T284, T285, X554, X555, le100_in_aa(T283, T284))
le100_in_aa(s(T302), s(T303)) → U21_aa(T302, T303, le100_in_aa(T302, T303))
le100_in_aa(0, s(T310)) → le100_out_aa(0, s(T310))
le100_in_aa(0, 0) → le100_out_aa(0, 0)
U21_aa(T302, T303, le100_out_aa(T302, T303)) → le100_out_aa(s(T302), s(T303))
U41_aaaa(T283, T284, T285, X554, X555, le100_out_aa(T283, T284)) → part87_out_aaaa(T283, .(T284, T285), X554, .(T284, X555))
part87_in_aaaa(T288, .(T284, T289), X554, .(T284, X555)) → U42_aaaa(T288, T284, T289, X554, X555, le100_in_aa(T288, T284))
U42_aaaa(T288, T284, T289, X554, X555, le100_out_aa(T288, T284)) → U43_aaaa(T288, T284, T289, X554, X555, part20_in_gaaa(T288, T289, X554, X555))
U43_aaaa(T288, T284, T289, X554, X555, part20_out_gaaa(T288, T289, X554, X555)) → part87_out_aaaa(T288, .(T284, T289), X554, .(T284, X555))
part87_in_aaaa(T316, [], [], []) → part87_out_aaaa(T316, [], [], [])
U22_aa(T230, T231, X452, part87_out_aaaa(T230, T231, X448, X449)) → qs80_out_aa(.(T230, T231), X452)
qs80_in_aa(.(T237, T231), X452) → U23_aa(T237, T231, X452, part87_in_aaaa(T237, T231, T235, T236))
U23_aa(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U24_aa(T237, T231, X452, qs80_in_aa(T235, X450))
qs80_in_aa(.(T325, T231), X452) → U27_aa(T325, T231, X452, part87_in_aaaa(T325, T231, T235, T236))
U27_aa(T325, T231, X452, part87_out_aaaa(T325, T231, T235, T236)) → U28_aa(T325, T231, X452, T236, qs80_in_aa(T235, T319))
qs80_in_aa([], []) → qs80_out_aa([], [])
U28_aa(T325, T231, X452, T236, qs80_out_aa(T235, T319)) → U29_aa(T325, T231, X452, T319, qs80_in_aa(T236, T324))
U29_aa(T325, T231, X452, T319, qs80_out_aa(T236, T324)) → U30_aa(T325, T231, X452, app121_in_aaaa(T319, T325, T324, X452))
app121_in_aaaa(.(T348, T349), T352, T353, .(T348, X657)) → U31_aaaa(T348, T349, T352, T353, X657, app121_in_aaaa(T349, T352, T353, X657))
app121_in_aaaa([], T362, T363, .(T362, T363)) → app121_out_aaaa([], T362, T363, .(T362, T363))
U31_aaaa(T348, T349, T352, T353, X657, app121_out_aaaa(T349, T352, T353, X657)) → app121_out_aaaa(.(T348, T349), T352, T353, .(T348, X657))
U30_aa(T325, T231, X452, app121_out_aaaa(T319, T325, T324, X452)) → qs80_out_aa(.(T325, T231), X452)
U24_aa(T237, T231, X452, qs80_out_aa(T235, X450)) → qs80_out_aa(.(T237, T231), X452)
U23_aa(T237, T231, X452, part87_out_aaaa(T237, T231, T235, T236)) → U25_aa(T237, T231, X452, T236, qs80_in_aa(T235, T319))
U25_aa(T237, T231, X452, T236, qs80_out_aa(T235, T319)) → U26_aa(T237, T231, X452, qs80_in_aa(T236, X451))
U26_aa(T237, T231, X452, qs80_out_aa(T236, X451)) → qs80_out_aa(.(T237, T231), X452)
U33_aaagg(T54, X10, T131, T31, T8, qs80_out_aa(T54, X10)) → p52_out_aaagg(T54, X10, T131, T31, T8)
p52_in_aaagg(T54, T217, T131, T31, T8) → U34_aaagg(T54, T217, T131, T31, T8, qs80_in_aa(T54, T217))
U34_aaagg(T54, T217, T131, T31, T8, qs80_out_aa(T54, T217)) → U35_aaagg(T54, T217, T131, T31, T8, app81_in_agag(T131, T31, T217, T8))
app81_in_agag(.(T389, T390), T391, T394, .(T389, T393)) → U32_agag(T389, T390, T391, T394, T393, app81_in_agag(T390, T391, T394, T393))
app81_in_agag([], T404, T405, .(T404, T405)) → app81_out_agag([], T404, T405, .(T404, T405))
U32_agag(T389, T390, T391, T394, T393, app81_out_agag(T390, T391, T394, T393)) → app81_out_agag(.(T389, T390), T391, T394, .(T389, T393))
U35_aaagg(T54, T217, T131, T31, T8, app81_out_agag(T131, T31, T217, T8)) → p52_out_aaagg(T54, T217, T131, T31, T8)
U50_ag(T31, T33, T32, T8, p52_out_aaagg(T54, X10, T131, T31, T8)) → qs1_out_ag(.(T31, .(T33, T32)), T8)
qs1_in_ag(.(T421, .(T422, T423)), T8) → U51_ag(T421, T422, T423, T8, le100_in_aa(T421, T422))
U51_ag(T421, T422, T423, T8, le100_out_aa(T421, T422)) → qs1_out_ag(.(T421, .(T422, T423)), T8)
qs1_in_ag(.(T426, .(T428, T427)), T8) → U52_ag(T426, T428, T427, T8, le100_in_aa(T426, T428))
U52_ag(T426, T428, T427, T8, le100_out_aa(T426, T428)) → U53_ag(T426, T428, T427, T8, part20_in_gaaa(T426, T427, X740, X741))
U53_ag(T426, T428, T427, T8, part20_out_gaaa(T426, T427, X740, X741)) → qs1_out_ag(.(T426, .(T428, T427)), T8)
qs1_in_ag(.(T426, .(T436, T427)), T8) → U54_ag(T426, T436, T427, T8, le100_in_aa(T426, T436))
U54_ag(T426, T436, T427, T8, le100_out_aa(T426, T436)) → U55_ag(T426, T436, T427, T8, part20_in_gaaa(T426, T427, T434, T435))
U55_ag(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U56_ag(T426, T436, T427, T8, qs80_in_aa(T434, X9))
U56_ag(T426, T436, T427, T8, qs80_out_aa(T434, X9)) → qs1_out_ag(.(T426, .(T436, T427)), T8)
U55_ag(T426, T436, T427, T8, part20_out_gaaa(T426, T427, T434, T435)) → U57_ag(T426, T436, T427, T8, T435, qs80_in_aa(T434, T442))
U57_ag(T426, T436, T427, T8, T435, qs80_out_aa(T434, T442)) → U58_ag(T426, T436, T427, T8, p52_in_aaagg(.(T436, T435), X10, T442, T426, T8))
U58_ag(T426, T436, T427, T8, p52_out_aaagg(.(T436, T435), X10, T442, T426, T8)) → qs1_out_ag(.(T426, .(T436, T427)), T8)
qs1_in_ag(.(T452, []), T8) → U59_ag(T452, T8, qs155_in_a(X9))
qs155_in_a([]) → qs155_out_a([])
U59_ag(T452, T8, qs155_out_a(X9)) → qs1_out_ag(.(T452, []), T8)
qs1_in_ag(.(T452, []), T8) → U60_ag(T452, T8, qs155_in_a(T455))
U60_ag(T452, T8, qs155_out_a(T455)) → U61_ag(T452, T8, qs155_in_a(X10))
U61_ag(T452, T8, qs155_out_a(X10)) → qs1_out_ag(.(T452, []), T8)
U60_ag(T452, T8, qs155_out_a(T455)) → U62_ag(T452, T8, T455, qs155_in_a(T460))
U62_ag(T452, T8, T455, qs155_out_a(T460)) → U63_ag(T452, T8, app162_in_gagg(T455, T452, T460, T8))
app162_in_gagg(.(T486, T487), T491, T489, .(T486, T490)) → U36_gagg(T486, T487, T491, T489, T490, app162_in_gagg(T487, T491, T489, T490))
app162_in_gagg([], T501, T502, .(T501, T502)) → app162_out_gagg([], T501, T502, .(T501, T502))
U36_gagg(T486, T487, T491, T489, T490, app162_out_gagg(T487, T491, T489, T490)) → app162_out_gagg(.(T486, T487), T491, T489, .(T486, T490))
U63_ag(T452, T8, app162_out_gagg(T455, T452, T460, T8)) → qs1_out_ag(.(T452, []), T8)
qs1_in_ag([], []) → qs1_out_ag([], [])

The argument filtering Pi contains the following mapping:
qs1_in_ag(x1, x2)  =  qs1_in_ag(x2)
U44_ag(x1, x2, x3, x4, x5)  =  U44_ag(x5)
gt10_in_aa(x1, x2)  =  gt10_in_aa
U1_aa(x1, x2, x3)  =  U1_aa(x3)
gt10_out_aa(x1, x2)  =  gt10_out_aa(x1, x2)
qs1_out_ag(x1, x2)  =  qs1_out_ag
U45_ag(x1, x2, x3, x4, x5)  =  U45_ag(x4, x5)
U46_ag(x1, x2, x3, x4, x5)  =  U46_ag(x5)
part20_in_gaaa(x1, x2, x3, x4)  =  part20_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x6)
gt10_in_ga(x1, x2)  =  gt10_in_ga(x1)
s(x1)  =  s(x1)
U1_ga(x1, x2, x3)  =  U1_ga(x3)
0  =  0
gt10_out_ga(x1, x2)  =  gt10_out_ga(x2)
part20_out_gaaa(x1, x2, x3, x4)  =  part20_out_gaaa
U3_gaaa(x1, x2, x3, x4, x5, x6)  =  U3_gaaa(x1, x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x6)
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x6)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U8_ga(x1, x2, x3)  =  U8_ga(x3)
le33_out_ga(x1, x2)  =  le33_out_ga
U6_gaaa(x1, x2, x3, x4, x5, x6)  =  U6_gaaa(x1, x6)
U7_gaaa(x1, x2, x3, x4, x5, x6)  =  U7_gaaa(x6)
U47_ag(x1, x2, x3, x4, x5)  =  U47_ag(x1, x2, x4, x5)
U48_ag(x1, x2, x3, x4, x5)  =  U48_ag(x5)
qs51_in_gaa(x1, x2, x3)  =  qs51_in_gaa(x1)
U37_gaa(x1, x2, x3, x4)  =  U37_gaa(x4)
p56_in_gaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_in_gaaaaaa(x1)
U9_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_gaaaaaa(x8)
p56_out_gaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_out_gaaaaaa
U10_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_gaaaaaa(x8)
U11_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_gaaaaaa(x8)
qs59_in_aa(x1, x2)  =  qs59_in_aa
U19_aa(x1, x2, x3, x4)  =  U19_aa(x4)
p56_in_aaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_in_aaaaaaa
U9_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_aaaaaaa(x8)
part20_in_aaaa(x1, x2, x3, x4)  =  part20_in_aaaa
U2_aaaa(x1, x2, x3, x4, x5, x6)  =  U2_aaaa(x6)
part20_out_aaaa(x1, x2, x3, x4)  =  part20_out_aaaa
U3_aaaa(x1, x2, x3, x4, x5, x6)  =  U3_aaaa(x6)
U4_aaaa(x1, x2, x3, x4, x5, x6)  =  U4_aaaa(x6)
U5_aaaa(x1, x2, x3, x4, x5, x6)  =  U5_aaaa(x6)
le33_in_aa(x1, x2)  =  le33_in_aa
U8_aa(x1, x2, x3)  =  U8_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
U6_aaaa(x1, x2, x3, x4, x5, x6)  =  U6_aaaa(x6)
U7_aaaa(x1, x2, x3, x4, x5, x6)  =  U7_aaaa(x6)
p56_out_aaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_out_aaaaaaa
U10_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_aaaaaaa(x8)
U11_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_aaaaaaa(x8)
qs59_out_aa(x1, x2)  =  qs59_out_aa
U12_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_aaaaaaa(x8)
U13_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_aaaaaaa(x8)
U14_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_aaaaaaa(x8)
U15_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_aaaaaaa(x8)
U16_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_aaaaaaa(x8)
U17_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_aaaaaaa(x8)
U18_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_aaaaaaa(x8)
.(x1, x2)  =  .(x1, x2)
[]  =  []
app70_in_aaaa(x1, x2, x3, x4)  =  app70_in_aaaa
U20_aaaa(x1, x2, x3, x4, x5, x6)  =  U20_aaaa(x6)
app70_out_aaaa(x1, x2, x3, x4)  =  app70_out_aaaa
U12_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_gaaaaaa(x8)
U13_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_gaaaaaa(x8)
U14_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_gaaaaaa(x8)
U15_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_gaaaaaa(x1, x8)
U16_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_gaaaaaa(x1, x8)
U17_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_gaaaaaa(x1, x8)
U18_gaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_gaaaaaa(x8)
app70_in_agaa(x1, x2, x3, x4)  =  app70_in_agaa(x2)
U20_agaa(x1, x2, x3, x4, x5, x6)  =  U20_agaa(x6)
app70_out_agaa(x1, x2, x3, x4)  =  app70_out_agaa
qs51_out_gaa(x1, x2, x3)  =  qs51_out_gaa
U49_ag(x1, x2, x3, x4, x5, x6)  =  U49_ag(x1, x4, x6)
U50_ag(x1, x2, x3, x4, x5)  =  U50_ag(x5)
p52_in_aaagg(x1, x2, x3, x4, x5)  =  p52_in_aaagg(x4, x5)
U33_aaagg(x1, x2, x3, x4, x5, x6)  =  U33_aaagg(x6)
qs80_in_aa(x1, x2)  =  qs80_in_aa
U22_aa(x1, x2, x3, x4)  =  U22_aa(x4)
part87_in_aaaa(x1, x2, x3, x4)  =  part87_in_aaaa
U38_aaaa(x1, x2, x3, x4, x5, x6)  =  U38_aaaa(x6)
part87_out_aaaa(x1, x2, x3, x4)  =  part87_out_aaaa
U39_aaaa(x1, x2, x3, x4, x5, x6)  =  U39_aaaa(x6)
U40_aaaa(x1, x2, x3, x4, x5, x6)  =  U40_aaaa(x6)
U41_aaaa(x1, x2, x3, x4, x5, x6)  =  U41_aaaa(x6)
le100_in_aa(x1, x2)  =  le100_in_aa
U21_aa(x1, x2, x3)  =  U21_aa(x3)
le100_out_aa(x1, x2)  =  le100_out_aa(x1)
U42_aaaa(x1, x2, x3, x4, x5, x6)  =  U42_aaaa(x6)
U43_aaaa(x1, x2, x3, x4, x5, x6)  =  U43_aaaa(x6)
qs80_out_aa(x1, x2)  =  qs80_out_aa
U23_aa(x1, x2, x3, x4)  =  U23_aa(x4)
U24_aa(x1, x2, x3, x4)  =  U24_aa(x4)
U27_aa(x1, x2, x3, x4)  =  U27_aa(x4)
U28_aa(x1, x2, x3, x4, x5)  =  U28_aa(x5)
U29_aa(x1, x2, x3, x4, x5)  =  U29_aa(x5)
U30_aa(x1, x2, x3, x4)  =  U30_aa(x4)
app121_in_aaaa(x1, x2, x3, x4)  =  app121_in_aaaa
U31_aaaa(x1, x2, x3, x4, x5, x6)  =  U31_aaaa(x6)
app121_out_aaaa(x1, x2, x3, x4)  =  app121_out_aaaa
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
U26_aa(x1, x2, x3, x4)  =  U26_aa(x4)
p52_out_aaagg(x1, x2, x3, x4, x5)  =  p52_out_aaagg
U34_aaagg(x1, x2, x3, x4, x5, x6)  =  U34_aaagg(x4, x5, x6)
U35_aaagg(x1, x2, x3, x4, x5, x6)  =  U35_aaagg(x6)
app81_in_agag(x1, x2, x3, x4)  =  app81_in_agag(x2, x4)
U32_agag(x1, x2, x3, x4, x5, x6)  =  U32_agag(x1, x6)
app81_out_agag(x1, x2, x3, x4)  =  app81_out_agag(x1, x3)
U51_ag(x1, x2, x3, x4, x5)  =  U51_ag(x5)
U52_ag(x1, x2, x3, x4, x5)  =  U52_ag(x5)
U53_ag(x1, x2, x3, x4, x5)  =  U53_ag(x5)
U54_ag(x1, x2, x3, x4, x5)  =  U54_ag(x4, x5)
U55_ag(x1, x2, x3, x4, x5)  =  U55_ag(x1, x4, x5)
U56_ag(x1, x2, x3, x4, x5)  =  U56_ag(x5)
U57_ag(x1, x2, x3, x4, x5, x6)  =  U57_ag(x1, x4, x6)
U58_ag(x1, x2, x3, x4, x5)  =  U58_ag(x5)
U59_ag(x1, x2, x3)  =  U59_ag(x3)
qs155_in_a(x1)  =  qs155_in_a
qs155_out_a(x1)  =  qs155_out_a(x1)
U60_ag(x1, x2, x3)  =  U60_ag(x2, x3)
U61_ag(x1, x2, x3)  =  U61_ag(x3)
U62_ag(x1, x2, x3, x4)  =  U62_ag(x2, x3, x4)
U63_ag(x1, x2, x3)  =  U63_ag(x3)
app162_in_gagg(x1, x2, x3, x4)  =  app162_in_gagg(x1, x3, x4)
U36_gagg(x1, x2, x3, x4, x5, x6)  =  U36_gagg(x6)
app162_out_gagg(x1, x2, x3, x4)  =  app162_out_gagg(x2)
QS59_IN_AA(x1, x2)  =  QS59_IN_AA
P56_IN_AAAAAAA(x1, x2, x3, x4, x5, x6, x7)  =  P56_IN_AAAAAAA
U10_AAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_AAAAAAA(x8)
U12_AAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_AAAAAAA(x8)
U13_AAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_AAAAAAA(x8)
U15_AAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_AAAAAAA(x8)
U16_AAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_AAAAAAA(x8)

We have to consider all (P,R,Pi)-chains

(253) UsableRulesProof (EQUIVALENT transformation)

For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R.

(254) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

P56_IN_AAAAAAA(T148, T149, T153, T154, X271, X272, X273) → U10_AAAAAAA(T148, T149, T153, T154, X271, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U10_AAAAAAA(T148, T149, T153, T154, X271, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → QS59_IN_AA(T153, X271)
QS59_IN_AA(.(T171, T172), X335) → P56_IN_AAAAAAA(T171, T172, X331, X332, X333, X334, X335)
P56_IN_AAAAAAA(T148, T149, T153, T154, T160, X272, X273) → U12_AAAAAAA(T148, T149, T153, T154, T160, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
U12_AAAAAAA(T148, T149, T153, T154, T160, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U13_AAAAAAA(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U13_AAAAAAA(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → QS59_IN_AA(T154, X272)
U12_AAAAAAA(T148, T149, T153, T154, T160, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → QS59_IN_AA(T153, T160)
P56_IN_AAAAAAA(T148, T149, T153, T154, T160, T178, X273) → U15_AAAAAAA(T148, T149, T153, T154, T160, T178, X273, part20_in_aaaa(T148, T149, T153, T154))
U15_AAAAAAA(T148, T149, T153, T154, T160, T178, X273, part20_out_aaaa(T148, T149, T153, T154)) → U16_AAAAAAA(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U16_AAAAAAA(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → QS59_IN_AA(T154, T178)
U15_AAAAAAA(T148, T149, T153, T154, T160, T178, X273, part20_out_aaaa(T148, T149, T153, T154)) → QS59_IN_AA(T153, T160)

The TRS R consists of the following rules:

part20_in_aaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_aaaa(T70, T73, T74, X119, X120, gt10_in_aa(T70, T73))
part20_in_aaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_aaaa(T70, T73, T77, X119, X120, gt10_in_aa(T70, T73))
part20_in_aaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_aaaa(T95, T98, T99, X170, X171, le33_in_aa(T95, T98))
part20_in_aaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_aaaa(T95, T98, T102, X170, X171, le33_in_aa(T95, T98))
part20_in_aaaa(T128, [], [], []) → part20_out_aaaa(T128, [], [], [])
qs59_in_aa(.(T171, T172), X335) → U19_aa(T171, T172, X335, p56_in_aaaaaaa(T171, T172, X331, X332, X333, X334, X335))
qs59_in_aa([], []) → qs59_out_aa([], [])
U2_aaaa(T70, T73, T74, X119, X120, gt10_out_aa(T70, T73)) → part20_out_aaaa(T70, .(T73, T74), .(T73, X119), X120)
U3_aaaa(T70, T73, T77, X119, X120, gt10_out_aa(T70, T73)) → U4_aaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
U5_aaaa(T95, T98, T99, X170, X171, le33_out_aa(T95, T98)) → part20_out_aaaa(T95, .(T98, T99), X170, .(T98, X171))
U6_aaaa(T95, T98, T102, X170, X171, le33_out_aa(T95, T98)) → U7_aaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
U19_aa(T171, T172, X335, p56_out_aaaaaaa(T171, T172, X331, X332, X333, X334, X335)) → qs59_out_aa(.(T171, T172), X335)
gt10_in_aa(s(T46), s(T47)) → U1_aa(T46, T47, gt10_in_aa(T46, T47))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U4_aaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_aaaa(T70, .(T73, T77), .(T73, X119), X120)
le33_in_aa(s(T113), s(T115)) → U8_aa(T113, T115, le33_in_aa(T113, T115))
le33_in_aa(0, s(T122)) → le33_out_aa(0, s(T122))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U7_aaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_aaaa(T95, .(T98, T102), X170, .(T98, X171))
p56_in_aaaaaaa(T148, T149, X269, X270, X271, X272, X273) → U9_aaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_in_aaaa(T148, T149, X269, X270))
p56_in_aaaaaaa(T148, T149, T153, T154, X271, X272, X273) → U10_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
p56_in_aaaaaaa(T148, T149, T153, T154, T160, X272, X273) → U12_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_in_aaaa(T148, T149, T153, T154))
p56_in_aaaaaaa(T148, T149, T153, T154, T160, T178, X273) → U15_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_in_aaaa(T148, T149, T153, T154))
U1_aa(T46, T47, gt10_out_aa(T46, T47)) → gt10_out_aa(s(T46), s(T47))
part20_in_gaaa(T70, .(T73, T74), .(T73, X119), X120) → U2_gaaa(T70, T73, T74, X119, X120, gt10_in_ga(T70, T73))
part20_in_gaaa(T70, .(T73, T77), .(T73, X119), X120) → U3_gaaa(T70, T73, T77, X119, X120, gt10_in_ga(T70, T73))
part20_in_gaaa(T95, .(T98, T99), X170, .(T98, X171)) → U5_gaaa(T95, T98, T99, X170, X171, le33_in_ga(T95, T98))
part20_in_gaaa(T95, .(T98, T102), X170, .(T98, X171)) → U6_gaaa(T95, T98, T102, X170, X171, le33_in_ga(T95, T98))
part20_in_gaaa(T128, [], [], []) → part20_out_gaaa(T128, [], [], [])
U8_aa(T113, T115, le33_out_aa(T113, T115)) → le33_out_aa(s(T113), s(T115))
U9_aaaaaaa(T148, T149, X269, X270, X271, X272, X273, part20_out_aaaa(T148, T149, X269, X270)) → p56_out_aaaaaaa(T148, T149, X269, X270, X271, X272, X273)
U10_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U11_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_in_aa(T153, X271))
U12_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, part20_out_aaaa(T148, T149, T153, T154)) → U13_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T153, T160))
U15_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, part20_out_aaaa(T148, T149, T153, T154)) → U16_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T153, T160))
U2_gaaa(T70, T73, T74, X119, X120, gt10_out_ga(T70, T73)) → part20_out_gaaa(T70, .(T73, T74), .(T73, X119), X120)
U3_gaaa(T70, T73, T77, X119, X120, gt10_out_ga(T70, T73)) → U4_gaaa(T70, T73, T77, X119, X120, part20_in_gaaa(T70, T77, X119, X120))
U5_gaaa(T95, T98, T99, X170, X171, le33_out_ga(T95, T98)) → part20_out_gaaa(T95, .(T98, T99), X170, .(T98, X171))
U6_gaaa(T95, T98, T102, X170, X171, le33_out_ga(T95, T98)) → U7_gaaa(T95, T98, T102, X170, X171, part20_in_gaaa(T95, T102, X170, X171))
U11_aaaaaaa(T148, T149, T153, T154, X271, X272, X273, qs59_out_aa(T153, X271)) → p56_out_aaaaaaa(T148, T149, T153, T154, X271, X272, X273)
U13_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T153, T160)) → U14_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_in_aa(T154, X272))
U16_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T153, T160)) → U17_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_in_aa(T154, T178))
gt10_in_ga(s(T46), s(T47)) → U1_ga(T46, T47, gt10_in_ga(T46, T47))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U4_gaaa(T70, T73, T77, X119, X120, part20_out_gaaa(T70, T77, X119, X120)) → part20_out_gaaa(T70, .(T73, T77), .(T73, X119), X120)
le33_in_ga(s(T113), s(T115)) → U8_ga(T113, T115, le33_in_ga(T113, T115))
le33_in_ga(0, s(T122)) → le33_out_ga(0, s(T122))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U7_gaaa(T95, T98, T102, X170, X171, part20_out_gaaa(T95, T102, X170, X171)) → part20_out_gaaa(T95, .(T98, T102), X170, .(T98, X171))
U14_aaaaaaa(T148, T149, T153, T154, T160, X272, X273, qs59_out_aa(T154, X272)) → p56_out_aaaaaaa(T148, T149, T153, T154, T160, X272, X273)
U17_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, qs59_out_aa(T154, T178)) → U18_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_in_aaaa(T160, T148, T178, X273))
U1_ga(T46, T47, gt10_out_ga(T46, T47)) → gt10_out_ga(s(T46), s(T47))
U8_ga(T113, T115, le33_out_ga(T113, T115)) → le33_out_ga(s(T113), s(T115))
U18_aaaaaaa(T148, T149, T153, T154, T160, T178, X273, app70_out_aaaa(T160, T148, T178, X273)) → p56_out_aaaaaaa(T148, T149, T153, T154, T160, T178, X273)
app70_in_aaaa(.(T201, T202), T203, T204, .(T201, X391)) → U20_aaaa(T201, T202, T203, T204, X391, app70_in_aaaa(T202, T203, T204, X391))
app70_in_aaaa([], T213, T214, .(T213, T214)) → app70_out_aaaa([], T213, T214, .(T213, T214))
U20_aaaa(T201, T202, T203, T204, X391, app70_out_aaaa(T202, T203, T204, X391)) → app70_out_aaaa(.(T201, T202), T203, T204, .(T201, X391))

The argument filtering Pi contains the following mapping:
gt10_in_aa(x1, x2)  =  gt10_in_aa
U1_aa(x1, x2, x3)  =  U1_aa(x3)
gt10_out_aa(x1, x2)  =  gt10_out_aa(x1, x2)
part20_in_gaaa(x1, x2, x3, x4)  =  part20_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x6)
gt10_in_ga(x1, x2)  =  gt10_in_ga(x1)
s(x1)  =  s(x1)
U1_ga(x1, x2, x3)  =  U1_ga(x3)
0  =  0
gt10_out_ga(x1, x2)  =  gt10_out_ga(x2)
part20_out_gaaa(x1, x2, x3, x4)  =  part20_out_gaaa
U3_gaaa(x1, x2, x3, x4, x5, x6)  =  U3_gaaa(x1, x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x6)
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x6)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U8_ga(x1, x2, x3)  =  U8_ga(x3)
le33_out_ga(x1, x2)  =  le33_out_ga
U6_gaaa(x1, x2, x3, x4, x5, x6)  =  U6_gaaa(x1, x6)
U7_gaaa(x1, x2, x3, x4, x5, x6)  =  U7_gaaa(x6)
qs59_in_aa(x1, x2)  =  qs59_in_aa
U19_aa(x1, x2, x3, x4)  =  U19_aa(x4)
p56_in_aaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_in_aaaaaaa
U9_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U9_aaaaaaa(x8)
part20_in_aaaa(x1, x2, x3, x4)  =  part20_in_aaaa
U2_aaaa(x1, x2, x3, x4, x5, x6)  =  U2_aaaa(x6)
part20_out_aaaa(x1, x2, x3, x4)  =  part20_out_aaaa
U3_aaaa(x1, x2, x3, x4, x5, x6)  =  U3_aaaa(x6)
U4_aaaa(x1, x2, x3, x4, x5, x6)  =  U4_aaaa(x6)
U5_aaaa(x1, x2, x3, x4, x5, x6)  =  U5_aaaa(x6)
le33_in_aa(x1, x2)  =  le33_in_aa
U8_aa(x1, x2, x3)  =  U8_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
U6_aaaa(x1, x2, x3, x4, x5, x6)  =  U6_aaaa(x6)
U7_aaaa(x1, x2, x3, x4, x5, x6)  =  U7_aaaa(x6)
p56_out_aaaaaaa(x1, x2, x3, x4, x5, x6, x7)  =  p56_out_aaaaaaa
U10_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_aaaaaaa(x8)
U11_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U11_aaaaaaa(x8)
qs59_out_aa(x1, x2)  =  qs59_out_aa
U12_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_aaaaaaa(x8)
U13_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_aaaaaaa(x8)
U14_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U14_aaaaaaa(x8)
U15_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_aaaaaaa(x8)
U16_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_aaaaaaa(x8)
U17_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U17_aaaaaaa(x8)
U18_aaaaaaa(x1, x2, x3, x4, x5, x6, x7, x8)  =  U18_aaaaaaa(x8)
.(x1, x2)  =  .(x1, x2)
[]  =  []
app70_in_aaaa(x1, x2, x3, x4)  =  app70_in_aaaa
U20_aaaa(x1, x2, x3, x4, x5, x6)  =  U20_aaaa(x6)
app70_out_aaaa(x1, x2, x3, x4)  =  app70_out_aaaa
QS59_IN_AA(x1, x2)  =  QS59_IN_AA
P56_IN_AAAAAAA(x1, x2, x3, x4, x5, x6, x7)  =  P56_IN_AAAAAAA
U10_AAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_AAAAAAA(x8)
U12_AAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U12_AAAAAAA(x8)
U13_AAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U13_AAAAAAA(x8)
U15_AAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U15_AAAAAAA(x8)
U16_AAAAAAA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U16_AAAAAAA(x8)

We have to consider all (P,R,Pi)-chains

(255) PiDPToQDPProof (SOUND transformation)

Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi.

(256) Obligation:

Q DP problem:
The TRS P consists of the following rules:

P56_IN_AAAAAAAU10_AAAAAAA(part20_in_aaaa)
U10_AAAAAAA(part20_out_aaaa) → QS59_IN_AA
QS59_IN_AAP56_IN_AAAAAAA
P56_IN_AAAAAAAU12_AAAAAAA(part20_in_aaaa)
U12_AAAAAAA(part20_out_aaaa) → U13_AAAAAAA(qs59_in_aa)
U13_AAAAAAA(qs59_out_aa) → QS59_IN_AA
U12_AAAAAAA(part20_out_aaaa) → QS59_IN_AA
P56_IN_AAAAAAAU15_AAAAAAA(part20_in_aaaa)
U15_AAAAAAA(part20_out_aaaa) → U16_AAAAAAA(qs59_in_aa)
U16_AAAAAAA(qs59_out_aa) → QS59_IN_AA
U15_AAAAAAA(part20_out_aaaa) → QS59_IN_AA

The TRS R consists of the following rules:

part20_in_aaaaU2_aaaa(gt10_in_aa)
part20_in_aaaaU3_aaaa(gt10_in_aa)
part20_in_aaaaU5_aaaa(le33_in_aa)
part20_in_aaaaU6_aaaa(le33_in_aa)
part20_in_aaaapart20_out_aaaa
qs59_in_aaU19_aa(p56_in_aaaaaaa)
qs59_in_aaqs59_out_aa
U2_aaaa(gt10_out_aa(T70, T73)) → part20_out_aaaa
U3_aaaa(gt10_out_aa(T70, T73)) → U4_aaaa(part20_in_gaaa(T70))
U5_aaaa(le33_out_aa(T95)) → part20_out_aaaa
U6_aaaa(le33_out_aa(T95)) → U7_aaaa(part20_in_gaaa(T95))
U19_aa(p56_out_aaaaaaa) → qs59_out_aa
gt10_in_aaU1_aa(gt10_in_aa)
gt10_in_aagt10_out_aa(s(0), 0)
U4_aaaa(part20_out_gaaa) → part20_out_aaaa
le33_in_aaU8_aa(le33_in_aa)
le33_in_aale33_out_aa(0)
U7_aaaa(part20_out_gaaa) → part20_out_aaaa
p56_in_aaaaaaaU9_aaaaaaa(part20_in_aaaa)
p56_in_aaaaaaaU10_aaaaaaa(part20_in_aaaa)
p56_in_aaaaaaaU12_aaaaaaa(part20_in_aaaa)
p56_in_aaaaaaaU15_aaaaaaa(part20_in_aaaa)
U1_aa(gt10_out_aa(T46, T47)) → gt10_out_aa(s(T46), s(T47))
part20_in_gaaa(T70) → U2_gaaa(gt10_in_ga(T70))
part20_in_gaaa(T70) → U3_gaaa(T70, gt10_in_ga(T70))
part20_in_gaaa(T95) → U5_gaaa(le33_in_ga(T95))
part20_in_gaaa(T95) → U6_gaaa(T95, le33_in_ga(T95))
part20_in_gaaa(T128) → part20_out_gaaa
U8_aa(le33_out_aa(T113)) → le33_out_aa(s(T113))
U9_aaaaaaa(part20_out_aaaa) → p56_out_aaaaaaa
U10_aaaaaaa(part20_out_aaaa) → U11_aaaaaaa(qs59_in_aa)
U12_aaaaaaa(part20_out_aaaa) → U13_aaaaaaa(qs59_in_aa)
U15_aaaaaaa(part20_out_aaaa) → U16_aaaaaaa(qs59_in_aa)
U2_gaaa(gt10_out_ga(T73)) → part20_out_gaaa
U3_gaaa(T70, gt10_out_ga(T73)) → U4_gaaa(part20_in_gaaa(T70))
U5_gaaa(le33_out_ga) → part20_out_gaaa
U6_gaaa(T95, le33_out_ga) → U7_gaaa(part20_in_gaaa(T95))
U11_aaaaaaa(qs59_out_aa) → p56_out_aaaaaaa
U13_aaaaaaa(qs59_out_aa) → U14_aaaaaaa(qs59_in_aa)
U16_aaaaaaa(qs59_out_aa) → U17_aaaaaaa(qs59_in_aa)
gt10_in_ga(s(T46)) → U1_ga(gt10_in_ga(T46))
gt10_in_ga(s(0)) → gt10_out_ga(0)
U4_gaaa(part20_out_gaaa) → part20_out_gaaa
le33_in_ga(s(T113)) → U8_ga(le33_in_ga(T113))
le33_in_ga(0) → le33_out_ga
U7_gaaa(part20_out_gaaa) → part20_out_gaaa
U14_aaaaaaa(qs59_out_aa) → p56_out_aaaaaaa
U17_aaaaaaa(qs59_out_aa) → U18_aaaaaaa(app70_in_aaaa)
U1_ga(gt10_out_ga(T47)) → gt10_out_ga(s(T47))
U8_ga(le33_out_ga) → le33_out_ga
U18_aaaaaaa(app70_out_aaaa) → p56_out_aaaaaaa
app70_in_aaaaU20_aaaa(app70_in_aaaa)
app70_in_aaaaapp70_out_aaaa
U20_aaaa(app70_out_aaaa) → app70_out_aaaa

The set Q consists of the following terms:

part20_in_aaaa
qs59_in_aa
U2_aaaa(x0)
U3_aaaa(x0)
U5_aaaa(x0)
U6_aaaa(x0)
U19_aa(x0)
gt10_in_aa
U4_aaaa(x0)
le33_in_aa
U7_aaaa(x0)
p56_in_aaaaaaa
U1_aa(x0)
part20_in_gaaa(x0)
U8_aa(x0)
U9_aaaaaaa(x0)
U10_aaaaaaa(x0)
U12_aaaaaaa(x0)
U15_aaaaaaa(x0)
U2_gaaa(x0)
U3_gaaa(x0, x1)
U5_gaaa(x0)
U6_gaaa(x0, x1)
U11_aaaaaaa(x0)
U13_aaaaaaa(x0)
U16_aaaaaaa(x0)
gt10_in_ga(x0)
U4_gaaa(x0)
le33_in_ga(x0)
U7_gaaa(x0)
U14_aaaaaaa(x0)
U17_aaaaaaa(x0)
U1_ga(x0)
U8_ga(x0)
U18_aaaaaaa(x0)
app70_in_aaaa
U20_aaaa(x0)

We have to consider all (P,Q,R)-chains.

(257) Narrowing (SOUND transformation)

By narrowing [LPAR04] the rule P56_IN_AAAAAAAU10_AAAAAAA(part20_in_aaaa) at position [0] we obtained the following new rules [LPAR04]:

P56_IN_AAAAAAAU10_AAAAAAA(U2_aaaa(gt10_in_aa))
P56_IN_AAAAAAAU10_AAAAAAA(U3_aaaa(gt10_in_aa))
P56_IN_AAAAAAAU10_AAAAAAA(U5_aaaa(le33_in_aa))
P56_IN_AAAAAAAU10_AAAAAAA(U6_aaaa(le33_in_aa))
P56_IN_AAAAAAAU10_AAAAAAA(part20_out_aaaa)

(258) Obligation:

Q DP problem:
The TRS P consists of the following rules:

U10_AAAAAAA(part20_out_aaaa) → QS59_IN_AA
QS59_IN_AAP56_IN_AAAAAAA
P56_IN_AAAAAAAU12_AAAAAAA(part20_in_aaaa)
U12_AAAAAAA(part20_out_aaaa) → U13_AAAAAAA(qs59_in_aa)
U13_AAAAAAA(qs59_out_aa) → QS59_IN_AA
U12_AAAAAAA(part20_out_aaaa) → QS59_IN_AA
P56_IN_AAAAAAAU15_AAAAAAA(part20_in_aaaa)
U15_AAAAAAA(part20_out_aaaa) → U16_AAAAAAA(qs59_in_aa)
U16_AAAAAAA(qs59_out_aa) → QS59_IN_AA
U15_AAAAAAA(part20_out_aaaa) → QS59_IN_AA
P56_IN_AAAAAAAU10_AAAAAAA(U2_aaaa(gt10_in_aa))
P56_IN_AAAAAAAU10_AAAAAAA(U3_aaaa(gt10_in_aa))
P56_IN_AAAAAAAU10_AAAAAAA(U5_aaaa(le33_in_aa))
P56_IN_AAAAAAAU10_AAAAAAA(U6_aaaa(le33_in_aa))
P56_IN_AAAAAAAU10_AAAAAAA(part20_out_aaaa)

The TRS R consists of the following rules:

part20_in_aaaaU2_aaaa(gt10_in_aa)
part20_in_aaaaU3_aaaa(gt10_in_aa)
part20_in_aaaaU5_aaaa(le33_in_aa)
part20_in_aaaaU6_aaaa(le33_in_aa)
part20_in_aaaapart20_out_aaaa
qs59_in_aaU19_aa(p56_in_aaaaaaa)
qs59_in_aaqs59_out_aa
U2_aaaa(gt10_out_aa(T70, T73)) → part20_out_aaaa
U3_aaaa(gt10_out_aa(T70, T73)) → U4_aaaa(part20_in_gaaa(T70))
U5_aaaa(le33_out_aa(T95)) → part20_out_aaaa
U6_aaaa(le33_out_aa(T95)) → U7_aaaa(part20_in_gaaa(T95))
U19_aa(p56_out_aaaaaaa) → qs59_out_aa
gt10_in_aaU1_aa(gt10_in_aa)
gt10_in_aagt10_out_aa(s(0), 0)
U4_aaaa(part20_out_gaaa) → part20_out_aaaa
le33_in_aaU8_aa(le33_in_aa)
le33_in_aale33_out_aa(0)
U7_aaaa(part20_out_gaaa) → part20_out_aaaa
p56_in_aaaaaaaU9_aaaaaaa(part20_in_aaaa)
p56_in_aaaaaaaU10_aaaaaaa(part20_in_aaaa)
p56_in_aaaaaaaU12_aaaaaaa(part20_in_aaaa)
p56_in_aaaaaaaU15_aaaaaaa(part20_in_aaaa)
U1_aa(gt10_out_aa(T46, T47)) → gt10_out_aa(s(T46), s(T47))
part20_in_gaaa(T70) → U2_gaaa(gt10_in_ga(T70))
part20_in_gaaa(T70) → U3_gaaa(T70, gt10_in_ga(T70))
part20_in_gaaa(T95) → U5_gaaa(le33_in_ga(T95))
part20_in_gaaa(T95) → U6_gaaa(T95, le33_in_ga(T95))
part20_in_gaaa(T128) → part20_out_gaaa
U8_aa(le33_out_aa(T113)) → le33_out_aa(s(T113))
U9_aaaaaaa(part20_out_aaaa) → p56_out_aaaaaaa
U10_aaaaaaa(part20_out_aaaa) → U11_aaaaaaa(qs59_in_aa)
U12_aaaaaaa(part20_out_aaaa) → U13_aaaaaaa(qs59_in_aa)
U15_aaaaaaa(part20_out_aaaa) → U16_aaaaaaa(qs59_in_aa)
U2_gaaa(gt10_out_ga(T73)) → part20_out_gaaa
U3_gaaa(T70, gt10_out_ga(T73)) → U4_gaaa(part20_in_gaaa(T70))
U5_gaaa(le33_out_ga) → part20_out_gaaa
U6_gaaa(T95, le33_out_ga) → U7_gaaa(part20_in_gaaa(T95))
U11_aaaaaaa(qs59_out_aa) → p56_out_aaaaaaa
U13_aaaaaaa(qs59_out_aa) → U14_aaaaaaa(qs59_in_aa)
U16_aaaaaaa(qs59_out_aa) → U17_aaaaaaa(qs59_in_aa)
gt10_in_ga(s(T46)) → U1_ga(gt10_in_ga(T46))
gt10_in_ga(s(0)) → gt10_out_ga(0)
U4_gaaa(part20_out_gaaa) → part20_out_gaaa
le33_in_ga(s(T113)) → U8_ga(le33_in_ga(T113))
le33_in_ga(0) → le33_out_ga
U7_gaaa(part20_out_gaaa) → part20_out_gaaa
U14_aaaaaaa(qs59_out_aa) → p56_out_aaaaaaa
U17_aaaaaaa(qs59_out_aa) → U18_aaaaaaa(app70_in_aaaa)
U1_ga(gt10_out_ga(T47)) → gt10_out_ga(s(T47))
U8_ga(le33_out_ga) → le33_out_ga
U18_aaaaaaa(app70_out_aaaa) → p56_out_aaaaaaa
app70_in_aaaaU20_aaaa(app70_in_aaaa)
app70_in_aaaaapp70_out_aaaa
U20_aaaa(app70_out_aaaa) → app70_out_aaaa

The set Q consists of the following terms:

part20_in_aaaa
qs59_in_aa
U2_aaaa(x0)
U3_aaaa(x0)
U5_aaaa(x0)
U6_aaaa(x0)
U19_aa(x0)
gt10_in_aa
U4_aaaa(x0)
le33_in_aa
U7_aaaa(x0)
p56_in_aaaaaaa
U1_aa(x0)
part20_in_gaaa(x0)
U8_aa(x0)
U9_aaaaaaa(x0)
U10_aaaaaaa(x0)
U12_aaaaaaa(x0)
U15_aaaaaaa(x0)
U2_gaaa(x0)
U3_gaaa(x0, x1)
U5_gaaa(x0)
U6_gaaa(x0, x1)
U11_aaaaaaa(x0)
U13_aaaaaaa(x0)
U16_aaaaaaa(x0)
gt10_in_ga(x0)
U4_gaaa(x0)
le33_in_ga(x0)
U7_gaaa(x0)
U14_aaaaaaa(x0)
U17_aaaaaaa(x0)
U1_ga(x0)
U8_ga(x0)
U18_aaaaaaa(x0)
app70_in_aaaa
U20_aaaa(x0)

We have to consider all (P,Q,R)-chains.

(259) Narrowing (SOUND transformation)

By narrowing [LPAR04] the rule P56_IN_AAAAAAAU12_AAAAAAA(part20_in_aaaa) at position [0] we obtained the following new rules [LPAR04]:

P56_IN_AAAAAAAU12_AAAAAAA(U2_aaaa(gt10_in_aa))
P56_IN_AAAAAAAU12_AAAAAAA(U3_aaaa(gt10_in_aa))
P56_IN_AAAAAAAU12_AAAAAAA(U5_aaaa(le33_in_aa))
P56_IN_AAAAAAAU12_AAAAAAA(U6_aaaa(le33_in_aa))
P56_IN_AAAAAAAU12_AAAAAAA(part20_out_aaaa)

(260) Obligation:

Q DP problem:
The TRS P consists of the following rules:

U10_AAAAAAA(part20_out_aaaa) → QS59_IN_AA
QS59_IN_AAP56_IN_AAAAAAA
U12_AAAAAAA(part20_out_aaaa) → U13_AAAAAAA(qs59_in_aa)
U13_AAAAAAA(qs59_out_aa) → QS59_IN_AA
U12_AAAAAAA(part20_out_aaaa) → QS59_IN_AA
P56_IN_AAAAAAAU15_AAAAAAA(part20_in_aaaa)
U15_AAAAAAA(part20_out_aaaa) → U16_AAAAAAA(qs59_in_aa)
U16_AAAAAAA(qs59_out_aa) → QS59_IN_AA
U15_AAAAAAA(part20_out_aaaa) → QS59_IN_AA
P56_IN_AAAAAAAU10_AAAAAAA(U2_aaaa(gt10_in_aa))
P56_IN_AAAAAAAU10_AAAAAAA(U3_aaaa(gt10_in_aa))
P56_IN_AAAAAAAU10_AAAAAAA(U5_aaaa(le33_in_aa))
P56_IN_AAAAAAAU10_AAAAAAA(U6_aaaa(le33_in_aa))
P56_IN_AAAAAAAU10_AAAAAAA(part20_out_aaaa)
P56_IN_AAAAAAAU12_AAAAAAA(U2_aaaa(gt10_in_aa))
P56_IN_AAAAAAAU12_AAAAAAA(U3_aaaa(gt10_in_aa))
P56_IN_AAAAAAAU12_AAAAAAA(U5_aaaa(le33_in_aa))
P56_IN_AAAAAAAU12_AAAAAAA(U6_aaaa(le33_in_aa))
P56_IN_AAAAAAAU12_AAAAAAA(part20_out_aaaa)

The TRS R consists of the following rules:

part20_in_aaaaU2_aaaa(gt10_in_aa)
part20_in_aaaaU3_aaaa(gt10_in_aa)
part20_in_aaaaU5_aaaa(le33_in_aa)
part20_in_aaaaU6_aaaa(le33_in_aa)
part20_in_aaaapart20_out_aaaa
qs59_in_aaU19_aa(p56_in_aaaaaaa)
qs59_in_aaqs59_out_aa
U2_aaaa(gt10_out_aa(T70, T73)) → part20_out_aaaa
U3_aaaa(gt10_out_aa(T70, T73)) → U4_aaaa(part20_in_gaaa(T70))
U5_aaaa(le33_out_aa(T95)) → part20_out_aaaa
U6_aaaa(le33_out_aa(T95)) → U7_aaaa(part20_in_gaaa(T95))
U19_aa(p56_out_aaaaaaa) → qs59_out_aa
gt10_in_aaU1_aa(gt10_in_aa)
gt10_in_aagt10_out_aa(s(0), 0)
U4_aaaa(part20_out_gaaa) → part20_out_aaaa
le33_in_aaU8_aa(le33_in_aa)
le33_in_aale33_out_aa(0)
U7_aaaa(part20_out_gaaa) → part20_out_aaaa
p56_in_aaaaaaaU9_aaaaaaa(part20_in_aaaa)
p56_in_aaaaaaaU10_aaaaaaa(part20_in_aaaa)
p56_in_aaaaaaaU12_aaaaaaa(part20_in_aaaa)
p56_in_aaaaaaaU15_aaaaaaa(part20_in_aaaa)
U1_aa(gt10_out_aa(T46, T47)) → gt10_out_aa(s(T46), s(T47))
part20_in_gaaa(T70) → U2_gaaa(gt10_in_ga(T70))
part20_in_gaaa(T70) → U3_gaaa(T70, gt10_in_ga(T70))
part20_in_gaaa(T95) → U5_gaaa(le33_in_ga(T95))
part20_in_gaaa(T95) → U6_gaaa(T95, le33_in_ga(T95))
part20_in_gaaa(T128) → part20_out_gaaa
U8_aa(le33_out_aa(T113)) → le33_out_aa(s(T113))
U9_aaaaaaa(part20_out_aaaa) → p56_out_aaaaaaa
U10_aaaaaaa(part20_out_aaaa) → U11_aaaaaaa(qs59_in_aa)
U12_aaaaaaa(part20_out_aaaa) → U13_aaaaaaa(qs59_in_aa)
U15_aaaaaaa(part20_out_aaaa) → U16_aaaaaaa(qs59_in_aa)
U2_gaaa(gt10_out_ga(T73)) → part20_out_gaaa
U3_gaaa(T70, gt10_out_ga(T73)) → U4_gaaa(part20_in_gaaa(T70))
U5_gaaa(le33_out_ga) → part20_out_gaaa
U6_gaaa(T95, le33_out_ga) → U7_gaaa(part20_in_gaaa(T95))
U11_aaaaaaa(qs59_out_aa) → p56_out_aaaaaaa
U13_aaaaaaa(qs59_out_aa) → U14_aaaaaaa(qs59_in_aa)
U16_aaaaaaa(qs59_out_aa) → U17_aaaaaaa(qs59_in_aa)
gt10_in_ga(s(T46)) → U1_ga(gt10_in_ga(T46))
gt10_in_ga(s(0)) → gt10_out_ga(0)
U4_gaaa(part20_out_gaaa) → part20_out_gaaa
le33_in_ga(s(T113)) → U8_ga(le33_in_ga(T113))
le33_in_ga(0) → le33_out_ga
U7_gaaa(part20_out_gaaa) → part20_out_gaaa
U14_aaaaaaa(qs59_out_aa) → p56_out_aaaaaaa
U17_aaaaaaa(qs59_out_aa) → U18_aaaaaaa(app70_in_aaaa)
U1_ga(gt10_out_ga(T47)) → gt10_out_ga(s(T47))
U8_ga(le33_out_ga) → le33_out_ga
U18_aaaaaaa(app70_out_aaaa) → p56_out_aaaaaaa
app70_in_aaaaU20_aaaa(app70_in_aaaa)
app70_in_aaaaapp70_out_aaaa
U20_aaaa(app70_out_aaaa) → app70_out_aaaa

The set Q consists of the following terms:

part20_in_aaaa
qs59_in_aa
U2_aaaa(x0)
U3_aaaa(x0)
U5_aaaa(x0)
U6_aaaa(x0)
U19_aa(x0)
gt10_in_aa
U4_aaaa(x0)
le33_in_aa
U7_aaaa(x0)
p56_in_aaaaaaa
U1_aa(x0)
part20_in_gaaa(x0)
U8_aa(x0)
U9_aaaaaaa(x0)
U10_aaaaaaa(x0)
U12_aaaaaaa(x0)
U15_aaaaaaa(x0)
U2_gaaa(x0)
U3_gaaa(x0, x1)
U5_gaaa(x0)
U6_gaaa(x0, x1)
U11_aaaaaaa(x0)
U13_aaaaaaa(x0)
U16_aaaaaaa(x0)
gt10_in_ga(x0)
U4_gaaa(x0)
le33_in_ga(x0)
U7_gaaa(x0)
U14_aaaaaaa(x0)
U17_aaaaaaa(x0)
U1_ga(x0)
U8_ga(x0)
U18_aaaaaaa(x0)
app70_in_aaaa
U20_aaaa(x0)

We have to consider all (P,Q,R)-chains.

(261) Narrowing (SOUND transformation)

By narrowing [LPAR04] the rule U12_AAAAAAA(part20_out_aaaa) → U13_AAAAAAA(qs59_in_aa) at position [0] we obtained the following new rules [LPAR04]:

U12_AAAAAAA(part20_out_aaaa) → U13_AAAAAAA(U19_aa(p56_in_aaaaaaa))
U12_AAAAAAA(part20_out_aaaa) → U13_AAAAAAA(qs59_out_aa)

(262) Obligation:

Q DP problem:
The TRS P consists of the following rules:

U10_AAAAAAA(part20_out_aaaa) → QS59_IN_AA
QS59_IN_AAP56_IN_AAAAAAA
U13_AAAAAAA(qs59_out_aa) → QS59_IN_AA
U12_AAAAAAA(part20_out_aaaa) → QS59_IN_AA
P56_IN_AAAAAAAU15_AAAAAAA(part20_in_aaaa)
U15_AAAAAAA(part20_out_aaaa) → U16_AAAAAAA(qs59_in_aa)
U16_AAAAAAA(qs59_out_aa) → QS59_IN_AA
U15_AAAAAAA(part20_out_aaaa) → QS59_IN_AA
P56_IN_AAAAAAAU10_AAAAAAA(U2_aaaa(gt10_in_aa))
P56_IN_AAAAAAAU10_AAAAAAA(U3_aaaa(gt10_in_aa))
P56_IN_AAAAAAAU10_AAAAAAA(U5_aaaa(le33_in_aa))
P56_IN_AAAAAAAU10_AAAAAAA(U6_aaaa(le33_in_aa))
P56_IN_AAAAAAAU10_AAAAAAA(part20_out_aaaa)
P56_IN_AAAAAAAU12_AAAAAAA(U2_aaaa(gt10_in_aa))
P56_IN_AAAAAAAU12_AAAAAAA(U3_aaaa(gt10_in_aa))
P56_IN_AAAAAAAU12_AAAAAAA(U5_aaaa(le33_in_aa))
P56_IN_AAAAAAAU12_AAAAAAA(U6_aaaa(le33_in_aa))
P56_IN_AAAAAAAU12_AAAAAAA(part20_out_aaaa)
U12_AAAAAAA(part20_out_aaaa) → U13_AAAAAAA(U19_aa(p56_in_aaaaaaa))
U12_AAAAAAA(part20_out_aaaa) → U13_AAAAAAA(qs59_out_aa)

The TRS R consists of the following rules:

part20_in_aaaaU2_aaaa(gt10_in_aa)
part20_in_aaaaU3_aaaa(gt10_in_aa)
part20_in_aaaaU5_aaaa(le33_in_aa)
part20_in_aaaaU6_aaaa(le33_in_aa)
part20_in_aaaapart20_out_aaaa
qs59_in_aaU19_aa(p56_in_aaaaaaa)
qs59_in_aaqs59_out_aa
U2_aaaa(gt10_out_aa(T70, T73)) → part20_out_aaaa
U3_aaaa(gt10_out_aa(T70, T73)) → U4_aaaa(part20_in_gaaa(T70))
U5_aaaa(le33_out_aa(T95)) → part20_out_aaaa
U6_aaaa(le33_out_aa(T95)) → U7_aaaa(part20_in_gaaa(T95))
U19_aa(p56_out_aaaaaaa) → qs59_out_aa
gt10_in_aaU1_aa(gt10_in_aa)
gt10_in_aagt10_out_aa(s(0), 0)
U4_aaaa(part20_out_gaaa) → part20_out_aaaa
le33_in_aaU8_aa(le33_in_aa)
le33_in_aale33_out_aa(0)
U7_aaaa(part20_out_gaaa) → part20_out_aaaa
p56_in_aaaaaaaU9_aaaaaaa(part20_in_aaaa)
p56_in_aaaaaaaU10_aaaaaaa(part20_in_aaaa)
p56_in_aaaaaaaU12_aaaaaaa(part20_in_aaaa)
p56_in_aaaaaaaU15_aaaaaaa(part20_in_aaaa)
U1_aa(gt10_out_aa(T46, T47)) → gt10_out_aa(s(T46), s(T47))
part20_in_gaaa(T70) → U2_gaaa(gt10_in_ga(T70))
part20_in_gaaa(T70) → U3_gaaa(T70, gt10_in_ga(T70))
part20_in_gaaa(T95) → U5_gaaa(le33_in_ga(T95))
part20_in_gaaa(T95) → U6_gaaa(T95, le33_in_ga(T95))
part20_in_gaaa(T128) → part20_out_gaaa
U8_aa(le33_out_aa(T113)) → le33_out_aa(s(T113))
U9_aaaaaaa(part20_out_aaaa) → p56_out_aaaaaaa
U10_aaaaaaa(part20_out_aaaa) → U11_aaaaaaa(qs59_in_aa)
U12_aaaaaaa(part20_out_aaaa) → U13_aaaaaaa(qs59_in_aa)
U15_aaaaaaa(part20_out_aaaa) → U16_aaaaaaa(qs59_in_aa)
U2_gaaa(gt10_out_ga(T73)) → part20_out_gaaa
U3_gaaa(T70, gt10_out_ga(T73)) → U4_gaaa(part20_in_gaaa(T70))
U5_gaaa(le33_out_ga) → part20_out_gaaa
U6_gaaa(T95, le33_out_ga) → U7_gaaa(part20_in_gaaa(T95))
U11_aaaaaaa(qs59_out_aa) → p56_out_aaaaaaa
U13_aaaaaaa(qs59_out_aa) → U14_aaaaaaa(qs59_in_aa)
U16_aaaaaaa(qs59_out_aa) → U17_aaaaaaa(qs59_in_aa)
gt10_in_ga(s(T46)) → U1_ga(gt10_in_ga(T46))
gt10_in_ga(s(0)) → gt10_out_ga(0)
U4_gaaa(part20_out_gaaa) → part20_out_gaaa
le33_in_ga(s(T113)) → U8_ga(le33_in_ga(T113))
le33_in_ga(0) → le33_out_ga
U7_gaaa(part20_out_gaaa) → part20_out_gaaa
U14_aaaaaaa(qs59_out_aa) → p56_out_aaaaaaa
U17_aaaaaaa(qs59_out_aa) → U18_aaaaaaa(app70_in_aaaa)
U1_ga(gt10_out_ga(T47)) → gt10_out_ga(s(T47))
U8_ga(le33_out_ga) → le33_out_ga
U18_aaaaaaa(app70_out_aaaa) → p56_out_aaaaaaa
app70_in_aaaaU20_aaaa(app70_in_aaaa)
app70_in_aaaaapp70_out_aaaa
U20_aaaa(app70_out_aaaa) → app70_out_aaaa

The set Q consists of the following terms:

part20_in_aaaa
qs59_in_aa
U2_aaaa(x0)
U3_aaaa(x0)
U5_aaaa(x0)
U6_aaaa(x0)
U19_aa(x0)
gt10_in_aa
U4_aaaa(x0)
le33_in_aa
U7_aaaa(x0)
p56_in_aaaaaaa
U1_aa(x0)
part20_in_gaaa(x0)
U8_aa(x0)
U9_aaaaaaa(x0)
U10_aaaaaaa(x0)
U12_aaaaaaa(x0)
U15_aaaaaaa(x0)
U2_gaaa(x0)
U3_gaaa(x0, x1)
U5_gaaa(x0)
U6_gaaa(x0, x1)
U11_aaaaaaa(x0)
U13_aaaaaaa(x0)
U16_aaaaaaa(x0)
gt10_in_ga(x0)
U4_gaaa(x0)
le33_in_ga(x0)
U7_gaaa(x0)
U14_aaaaaaa(x0)
U17_aaaaaaa(x0)
U1_ga(x0)
U8_ga(x0)
U18_aaaaaaa(x0)
app70_in_aaaa
U20_aaaa(x0)

We have to consider all (P,Q,R)-chains.

(263) Narrowing (SOUND transformation)

By narrowing [LPAR04] the rule P56_IN_AAAAAAAU15_AAAAAAA(part20_in_aaaa) at position [0] we obtained the following new rules [LPAR04]:

P56_IN_AAAAAAAU15_AAAAAAA(U2_aaaa(gt10_in_aa))
P56_IN_AAAAAAAU15_AAAAAAA(U3_aaaa(gt10_in_aa))
P56_IN_AAAAAAAU15_AAAAAAA(U5_aaaa(le33_in_aa))
P56_IN_AAAAAAAU15_AAAAAAA(U6_aaaa(le33_in_aa))
P56_IN_AAAAAAAU15_AAAAAAA(part20_out_aaaa)

(264) Obligation:

Q DP problem:
The TRS P consists of the following rules:

U10_AAAAAAA(part20_out_aaaa) → QS59_IN_AA
QS59_IN_AAP56_IN_AAAAAAA
U13_AAAAAAA(qs59_out_aa) → QS59_IN_AA
U12_AAAAAAA(part20_out_aaaa) → QS59_IN_AA
U15_AAAAAAA(part20_out_aaaa) → U16_AAAAAAA(qs59_in_aa)
U16_AAAAAAA(qs59_out_aa) → QS59_IN_AA
U15_AAAAAAA(part20_out_aaaa) → QS59_IN_AA
P56_IN_AAAAAAAU10_AAAAAAA(U2_aaaa(gt10_in_aa))
P56_IN_AAAAAAAU10_AAAAAAA(U3_aaaa(gt10_in_aa))
P56_IN_AAAAAAAU10_AAAAAAA(U5_aaaa(le33_in_aa))
P56_IN_AAAAAAAU10_AAAAAAA(U6_aaaa(le33_in_aa))
P56_IN_AAAAAAAU10_AAAAAAA(part20_out_aaaa)
P56_IN_AAAAAAAU12_AAAAAAA(U2_aaaa(gt10_in_aa))
P56_IN_AAAAAAAU12_AAAAAAA(U3_aaaa(gt10_in_aa))
P56_IN_AAAAAAAU12_AAAAAAA(U5_aaaa(le33_in_aa))
P56_IN_AAAAAAAU12_AAAAAAA(U6_aaaa(le33_in_aa))
P56_IN_AAAAAAAU12_AAAAAAA(part20_out_aaaa)
U12_AAAAAAA(part20_out_aaaa) → U13_AAAAAAA(U19_aa(p56_in_aaaaaaa))
U12_AAAAAAA(part20_out_aaaa) → U13_AAAAAAA(qs59_out_aa)
P56_IN_AAAAAAAU15_AAAAAAA(U2_aaaa(gt10_in_aa))
P56_IN_AAAAAAAU15_AAAAAAA(U3_aaaa(gt10_in_aa))
P56_IN_AAAAAAAU15_AAAAAAA(U5_aaaa(le33_in_aa))
P56_IN_AAAAAAAU15_AAAAAAA(U6_aaaa(le33_in_aa))
P56_IN_AAAAAAAU15_AAAAAAA(part20_out_aaaa)

The TRS R consists of the following rules:

part20_in_aaaaU2_aaaa(gt10_in_aa)
part20_in_aaaaU3_aaaa(gt10_in_aa)
part20_in_aaaaU5_aaaa(le33_in_aa)
part20_in_aaaaU6_aaaa(le33_in_aa)
part20_in_aaaapart20_out_aaaa
qs59_in_aaU19_aa(p56_in_aaaaaaa)
qs59_in_aaqs59_out_aa
U2_aaaa(gt10_out_aa(T70, T73)) → part20_out_aaaa
U3_aaaa(gt10_out_aa(T70, T73)) → U4_aaaa(part20_in_gaaa(T70))
U5_aaaa(le33_out_aa(T95)) → part20_out_aaaa
U6_aaaa(le33_out_aa(T95)) → U7_aaaa(part20_in_gaaa(T95))
U19_aa(p56_out_aaaaaaa) → qs59_out_aa
gt10_in_aaU1_aa(gt10_in_aa)
gt10_in_aagt10_out_aa(s(0), 0)
U4_aaaa(part20_out_gaaa) → part20_out_aaaa
le33_in_aaU8_aa(le33_in_aa)
le33_in_aale33_out_aa(0)
U7_aaaa(part20_out_gaaa) → part20_out_aaaa
p56_in_aaaaaaaU9_aaaaaaa(part20_in_aaaa)
p56_in_aaaaaaaU10_aaaaaaa(part20_in_aaaa)
p56_in_aaaaaaaU12_aaaaaaa(part20_in_aaaa)
p56_in_aaaaaaaU15_aaaaaaa(part20_in_aaaa)
U1_aa(gt10_out_aa(T46, T47)) → gt10_out_aa(s(T46), s(T47))
part20_in_gaaa(T70) → U2_gaaa(gt10_in_ga(T70))
part20_in_gaaa(T70) → U3_gaaa(T70, gt10_in_ga(T70))
part20_in_gaaa(T95) → U5_gaaa(le33_in_ga(T95))
part20_in_gaaa(T95) → U6_gaaa(T95, le33_in_ga(T95))
part20_in_gaaa(T128) → part20_out_gaaa
U8_aa(le33_out_aa(T113)) → le33_out_aa(s(T113))
U9_aaaaaaa(part20_out_aaaa) → p56_out_aaaaaaa
U10_aaaaaaa(part20_out_aaaa) → U11_aaaaaaa(qs59_in_aa)
U12_aaaaaaa(part20_out_aaaa) → U13_aaaaaaa(qs59_in_aa)
U15_aaaaaaa(part20_out_aaaa) → U16_aaaaaaa(qs59_in_aa)
U2_gaaa(gt10_out_ga(T73)) → part20_out_gaaa
U3_gaaa(T70, gt10_out_ga(T73)) → U4_gaaa(part20_in_gaaa(T70))
U5_gaaa(le33_out_ga) → part20_out_gaaa
U6_gaaa(T95, le33_out_ga) → U7_gaaa(part20_in_gaaa(T95))
U11_aaaaaaa(qs59_out_aa) → p56_out_aaaaaaa
U13_aaaaaaa(qs59_out_aa) → U14_aaaaaaa(qs59_in_aa)
U16_aaaaaaa(qs59_out_aa) → U17_aaaaaaa(qs59_in_aa)
gt10_in_ga(s(T46)) → U1_ga(gt10_in_ga(T46))
gt10_in_ga(s(0)) → gt10_out_ga(0)
U4_gaaa(part20_out_gaaa) → part20_out_gaaa
le33_in_ga(s(T113)) → U8_ga(le33_in_ga(T113))
le33_in_ga(0) → le33_out_ga
U7_gaaa(part20_out_gaaa) → part20_out_gaaa
U14_aaaaaaa(qs59_out_aa) → p56_out_aaaaaaa
U17_aaaaaaa(qs59_out_aa) → U18_aaaaaaa(app70_in_aaaa)
U1_ga(gt10_out_ga(T47)) → gt10_out_ga(s(T47))
U8_ga(le33_out_ga) → le33_out_ga
U18_aaaaaaa(app70_out_aaaa) → p56_out_aaaaaaa
app70_in_aaaaU20_aaaa(app70_in_aaaa)
app70_in_aaaaapp70_out_aaaa
U20_aaaa(app70_out_aaaa) → app70_out_aaaa

The set Q consists of the following terms:

part20_in_aaaa
qs59_in_aa
U2_aaaa(x0)
U3_aaaa(x0)
U5_aaaa(x0)
U6_aaaa(x0)
U19_aa(x0)
gt10_in_aa
U4_aaaa(x0)
le33_in_aa
U7_aaaa(x0)
p56_in_aaaaaaa
U1_aa(x0)
part20_in_gaaa(x0)
U8_aa(x0)
U9_aaaaaaa(x0)
U10_aaaaaaa(x0)
U12_aaaaaaa(x0)
U15_aaaaaaa(x0)
U2_gaaa(x0)
U3_gaaa(x0, x1)
U5_gaaa(x0)
U6_gaaa(x0, x1)
U11_aaaaaaa(x0)
U13_aaaaaaa(x0)
U16_aaaaaaa(x0)
gt10_in_ga(x0)
U4_gaaa(x0)
le33_in_ga(x0)
U7_gaaa(x0)
U14_aaaaaaa(x0)
U17_aaaaaaa(x0)
U1_ga(x0)
U8_ga(x0)
U18_aaaaaaa(x0)
app70_in_aaaa
U20_aaaa(x0)

We have to consider all (P,Q,R)-chains.

(265) Narrowing (SOUND transformation)

By narrowing [LPAR04] the rule U15_AAAAAAA(part20_out_aaaa) → U16_AAAAAAA(qs59_in_aa) at position [0] we obtained the following new rules [LPAR04]:

U15_AAAAAAA(part20_out_aaaa) → U16_AAAAAAA(U19_aa(p56_in_aaaaaaa))
U15_AAAAAAA(part20_out_aaaa) → U16_AAAAAAA(qs59_out_aa)

(266) Obligation:

Q DP problem:
The TRS P consists of the following rules:

U10_AAAAAAA(part20_out_aaaa) → QS59_IN_AA
QS59_IN_AAP56_IN_AAAAAAA
U13_AAAAAAA(qs59_out_aa) → QS59_IN_AA
U12_AAAAAAA(part20_out_aaaa) → QS59_IN_AA
U16_AAAAAAA(qs59_out_aa) → QS59_IN_AA
U15_AAAAAAA(part20_out_aaaa) → QS59_IN_AA
P56_IN_AAAAAAAU10_AAAAAAA(U2_aaaa(gt10_in_aa))
P56_IN_AAAAAAAU10_AAAAAAA(U3_aaaa(gt10_in_aa))
P56_IN_AAAAAAAU10_AAAAAAA(U5_aaaa(le33_in_aa))
P56_IN_AAAAAAAU10_AAAAAAA(U6_aaaa(le33_in_aa))
P56_IN_AAAAAAAU10_AAAAAAA(part20_out_aaaa)
P56_IN_AAAAAAAU12_AAAAAAA(U2_aaaa(gt10_in_aa))
P56_IN_AAAAAAAU12_AAAAAAA(U3_aaaa(gt10_in_aa))
P56_IN_AAAAAAAU12_AAAAAAA(U5_aaaa(le33_in_aa))
P56_IN_AAAAAAAU12_AAAAAAA(U6_aaaa(le33_in_aa))
P56_IN_AAAAAAAU12_AAAAAAA(part20_out_aaaa)
U12_AAAAAAA(part20_out_aaaa) → U13_AAAAAAA(U19_aa(p56_in_aaaaaaa))
U12_AAAAAAA(part20_out_aaaa) → U13_AAAAAAA(qs59_out_aa)
P56_IN_AAAAAAAU15_AAAAAAA(U2_aaaa(gt10_in_aa))
P56_IN_AAAAAAAU15_AAAAAAA(U3_aaaa(gt10_in_aa))
P56_IN_AAAAAAAU15_AAAAAAA(U5_aaaa(le33_in_aa))
P56_IN_AAAAAAAU15_AAAAAAA(U6_aaaa(le33_in_aa))
P56_IN_AAAAAAAU15_AAAAAAA(part20_out_aaaa)
U15_AAAAAAA(part20_out_aaaa) → U16_AAAAAAA(U19_aa(p56_in_aaaaaaa))
U15_AAAAAAA(part20_out_aaaa) → U16_AAAAAAA(qs59_out_aa)

The TRS R consists of the following rules:

part20_in_aaaaU2_aaaa(gt10_in_aa)
part20_in_aaaaU3_aaaa(gt10_in_aa)
part20_in_aaaaU5_aaaa(le33_in_aa)
part20_in_aaaaU6_aaaa(le33_in_aa)
part20_in_aaaapart20_out_aaaa
qs59_in_aaU19_aa(p56_in_aaaaaaa)
qs59_in_aaqs59_out_aa
U2_aaaa(gt10_out_aa(T70, T73)) → part20_out_aaaa
U3_aaaa(gt10_out_aa(T70, T73)) → U4_aaaa(part20_in_gaaa(T70))
U5_aaaa(le33_out_aa(T95)) → part20_out_aaaa
U6_aaaa(le33_out_aa(T95)) → U7_aaaa(part20_in_gaaa(T95))
U19_aa(p56_out_aaaaaaa) → qs59_out_aa
gt10_in_aaU1_aa(gt10_in_aa)
gt10_in_aagt10_out_aa(s(0), 0)
U4_aaaa(part20_out_gaaa) → part20_out_aaaa
le33_in_aaU8_aa(le33_in_aa)
le33_in_aale33_out_aa(0)
U7_aaaa(part20_out_gaaa) → part20_out_aaaa
p56_in_aaaaaaaU9_aaaaaaa(part20_in_aaaa)
p56_in_aaaaaaaU10_aaaaaaa(part20_in_aaaa)
p56_in_aaaaaaaU12_aaaaaaa(part20_in_aaaa)
p56_in_aaaaaaaU15_aaaaaaa(part20_in_aaaa)
U1_aa(gt10_out_aa(T46, T47)) → gt10_out_aa(s(T46), s(T47))
part20_in_gaaa(T70) → U2_gaaa(gt10_in_ga(T70))
part20_in_gaaa(T70) → U3_gaaa(T70, gt10_in_ga(T70))
part20_in_gaaa(T95) → U5_gaaa(le33_in_ga(T95))
part20_in_gaaa(T95) → U6_gaaa(T95, le33_in_ga(T95))
part20_in_gaaa(T128) → part20_out_gaaa
U8_aa(le33_out_aa(T113)) → le33_out_aa(s(T113))
U9_aaaaaaa(part20_out_aaaa) → p56_out_aaaaaaa
U10_aaaaaaa(part20_out_aaaa) → U11_aaaaaaa(qs59_in_aa)
U12_aaaaaaa(part20_out_aaaa) → U13_aaaaaaa(qs59_in_aa)
U15_aaaaaaa(part20_out_aaaa) → U16_aaaaaaa(qs59_in_aa)
U2_gaaa(gt10_out_ga(T73)) → part20_out_gaaa
U3_gaaa(T70, gt10_out_ga(T73)) → U4_gaaa(part20_in_gaaa(T70))
U5_gaaa(le33_out_ga) → part20_out_gaaa
U6_gaaa(T95, le33_out_ga) → U7_gaaa(part20_in_gaaa(T95))
U11_aaaaaaa(qs59_out_aa) → p56_out_aaaaaaa
U13_aaaaaaa(qs59_out_aa) → U14_aaaaaaa(qs59_in_aa)
U16_aaaaaaa(qs59_out_aa) → U17_aaaaaaa(qs59_in_aa)
gt10_in_ga(s(T46)) → U1_ga(gt10_in_ga(T46))
gt10_in_ga(s(0)) → gt10_out_ga(0)
U4_gaaa(part20_out_gaaa) → part20_out_gaaa
le33_in_ga(s(T113)) → U8_ga(le33_in_ga(T113))
le33_in_ga(0) → le33_out_ga
U7_gaaa(part20_out_gaaa) → part20_out_gaaa
U14_aaaaaaa(qs59_out_aa) → p56_out_aaaaaaa
U17_aaaaaaa(qs59_out_aa) → U18_aaaaaaa(app70_in_aaaa)
U1_ga(gt10_out_ga(T47)) → gt10_out_ga(s(T47))
U8_ga(le33_out_ga) → le33_out_ga
U18_aaaaaaa(app70_out_aaaa) → p56_out_aaaaaaa
app70_in_aaaaU20_aaaa(app70_in_aaaa)
app70_in_aaaaapp70_out_aaaa
U20_aaaa(app70_out_aaaa) → app70_out_aaaa

The set Q consists of the following terms:

part20_in_aaaa
qs59_in_aa
U2_aaaa(x0)
U3_aaaa(x0)
U5_aaaa(x0)
U6_aaaa(x0)
U19_aa(x0)
gt10_in_aa
U4_aaaa(x0)
le33_in_aa
U7_aaaa(x0)
p56_in_aaaaaaa
U1_aa(x0)
part20_in_gaaa(x0)
U8_aa(x0)
U9_aaaaaaa(x0)
U10_aaaaaaa(x0)
U12_aaaaaaa(x0)
U15_aaaaaaa(x0)
U2_gaaa(x0)
U3_gaaa(x0, x1)
U5_gaaa(x0)
U6_gaaa(x0, x1)
U11_aaaaaaa(x0)
U13_aaaaaaa(x0)
U16_aaaaaaa(x0)
gt10_in_ga(x0)
U4_gaaa(x0)
le33_in_ga(x0)
U7_gaaa(x0)
U14_aaaaaaa(x0)
U17_aaaaaaa(x0)
U1_ga(x0)
U8_ga(x0)
U18_aaaaaaa(x0)
app70_in_aaaa
U20_aaaa(x0)

We have to consider all (P,Q,R)-chains.

(267) NonTerminationProof (EQUIVALENT transformation)

We used the non-termination processor [FROCOS05] to show that the DP problem is infinite.
Found a loop by narrowing to the left:

s = QS59_IN_AA evaluates to t =QS59_IN_AA

Thus s starts an infinite chain as s semiunifies with t with the following substitutions:
  • Semiunifier: [ ]
  • Matcher: [ ]




Rewriting sequence

QS59_IN_AAP56_IN_AAAAAAA
with rule QS59_IN_AAP56_IN_AAAAAAA at position [] and matcher [ ]

P56_IN_AAAAAAAU10_AAAAAAA(part20_out_aaaa)
with rule P56_IN_AAAAAAAU10_AAAAAAA(part20_out_aaaa) at position [] and matcher [ ]

U10_AAAAAAA(part20_out_aaaa)QS59_IN_AA
with rule U10_AAAAAAA(part20_out_aaaa) → QS59_IN_AA

Now applying the matcher to the start term leads to a term which is equal to the last term in the rewriting sequence


All these steps are and every following step will be a correct step w.r.t to Q.



(268) NO