(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(g,a).

(1) PrologToPrologProblemTransformerProof (SOUND transformation)

Built Prolog problem from termination graph.

(2) Obligation:

Clauses:

gt10(s(T37), s(T38)) :- gt10(T37, T38).
gt10(s(0), 0).
part20(T61, .(T62, T63), .(T62, X119), X120) :- gt10(T61, T62).
part20(T61, .(T62, T63), .(T62, X119), X120) :- ','(gt10(T61, T62), part20(T61, T63, X119, X120)).
part20(T83, .(T84, T85), X170, .(T84, X171)) :- le33(T83, T84).
part20(T83, .(T84, T85), X170, .(T84, X171)) :- ','(le33(T83, T84), part20(T83, T85, X170, X171)).
part20(T112, [], [], []).
le33(s(T98), s(T99)) :- le33(T98, T99).
le33(0, s(T106)).
le33(0, 0).
qs53(.(T131, T132), X275) :- part20(T131, T132, X271, X272).
qs53(.(T131, T132), X275) :- ','(part20(T131, T132, T136, T137), qs53(T136, X273)).
qs53(.(T131, T132), X275) :- ','(part20(T131, T132, T136, T137), ','(qs53(T136, T143), qs53(T137, X274))).
qs53(.(T131, T132), X275) :- ','(part20(T131, T132, T136, T137), ','(qs53(T136, T143), ','(qs53(T137, T148), app65(T143, T131, T148, X275)))).
qs53([], []).
app65(.(T171, T172), T173, T174, .(T171, X354)) :- app65(T172, T173, T174, X354).
app65([], T183, T184, .(T183, T184)).
app54(.(T210, T211), T212, T213, .(T210, T215)) :- app54(T211, T212, T213, T215).
app54([], T225, T226, .(T225, T226)).
p52(T45, X10, T115, T22, T9) :- qs53(T45, X10).
p52(T45, T120, T115, T22, T9) :- ','(qs53(T45, T120), app54(T115, T22, T120, T9)).
qs99([]).
qs1(.(T22, .(T23, T24)), T9) :- gt10(T22, T23).
qs1(.(T22, .(T23, T24)), T9) :- ','(gt10(T22, T23), part20(T22, T24, X47, X48)).
qs1(.(T22, .(T23, T24)), T9) :- ','(gt10(T22, T23), ','(part20(T22, T24, T44, T45), qs1(.(T23, T44), X9))).
qs1(.(T22, .(T23, T24)), T9) :- ','(gt10(T22, T23), ','(part20(T22, T24, T44, T45), ','(qs1(.(T23, T44), T115), p52(T45, X10, T115, T22, T9)))).
qs1(.(T239, .(T240, T241)), T9) :- le33(T239, T240).
qs1(.(T239, .(T240, T241)), T9) :- ','(le33(T239, T240), part20(T239, T241, X437, X438)).
qs1(.(T239, .(T240, T241)), T9) :- ','(le33(T239, T240), ','(part20(T239, T241, T249, T250), qs53(T249, X9))).
qs1(.(T239, .(T240, T241)), T9) :- ','(le33(T239, T240), ','(part20(T239, T241, T249, T250), ','(qs53(T249, T256), p52(.(T240, T250), X10, T256, T239, T9)))).
qs1(.(T265, []), T9) :- qs99(X9).
qs1(.(T265, []), T9) :- ','(qs99(T268), qs99(X10)).
qs1(.(T265, []), T9) :- ','(qs99(T268), ','(qs99(T273), app54(T268, T265, T273, T9))).
qs1([], []).

Queries:

qs1(g,a).

(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: (b,f) (f,f)
gt10_in: (b,b) (f,f) (b,f)
part20_in: (b,b,f,f) (b,f,f,f) (f,f,f,f)
le33_in: (b,b) (b,f) (f,f)
qs53_in: (f,f)
app65_in: (f,f,f,f)
p52_in: (f,f,f,b,f)
app54_in: (f,b,f,f) (b,f,b,f) (b,b,b,f)
Transforming Prolog into the following Term Rewriting System:
Pi-finite rewrite system:
The TRS R consists of the following rules:

qs1_in_ga(.(T22, .(T23, T24)), T9) → U19_ga(T22, T23, T24, T9, gt10_in_gg(T22, T23))
gt10_in_gg(s(T37), s(T38)) → U1_gg(T37, T38, gt10_in_gg(T37, T38))
gt10_in_gg(s(0), 0) → gt10_out_gg(s(0), 0)
U1_gg(T37, T38, gt10_out_gg(T37, T38)) → gt10_out_gg(s(T37), s(T38))
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U20_ga(T22, T23, T24, T9, part20_in_ggaa(T22, T24, X47, X48))
part20_in_ggaa(T61, .(T62, T63), .(T62, X119), X120) → U2_ggaa(T61, T62, T63, X119, X120, gt10_in_gg(T61, T62))
U2_ggaa(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → part20_out_ggaa(T61, .(T62, T63), .(T62, X119), X120)
U2_ggaa(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → U3_ggaa(T61, T62, T63, X119, X120, part20_in_ggaa(T61, T63, X119, X120))
part20_in_ggaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_ggaa(T83, T84, T85, X170, X171, le33_in_gg(T83, T84))
le33_in_gg(s(T98), s(T99)) → U6_gg(T98, T99, le33_in_gg(T98, T99))
le33_in_gg(0, s(T106)) → le33_out_gg(0, s(T106))
le33_in_gg(0, 0) → le33_out_gg(0, 0)
U6_gg(T98, T99, le33_out_gg(T98, T99)) → le33_out_gg(s(T98), s(T99))
U4_ggaa(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → part20_out_ggaa(T83, .(T84, T85), X170, .(T84, X171))
U4_ggaa(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → U5_ggaa(T83, T84, T85, X170, X171, part20_in_ggaa(T83, T85, X170, X171))
part20_in_ggaa(T112, [], [], []) → part20_out_ggaa(T112, [], [], [])
U5_ggaa(T83, T84, T85, X170, X171, part20_out_ggaa(T83, T85, X170, X171)) → part20_out_ggaa(T83, .(T84, T85), X170, .(T84, X171))
U3_ggaa(T61, T62, T63, X119, X120, part20_out_ggaa(T61, T63, X119, X120)) → part20_out_ggaa(T61, .(T62, T63), .(T62, X119), X120)
U20_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, X47, X48)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U21_ga(T22, T23, T24, T9, part20_in_ggaa(T22, T24, T44, T45))
U21_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U22_ga(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
qs1_in_aa(.(T22, .(T23, T24)), T9) → U19_aa(T22, T23, T24, T9, gt10_in_aa(T22, T23))
gt10_in_aa(s(T37), s(T38)) → U1_aa(T37, T38, gt10_in_aa(T37, T38))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U1_aa(T37, T38, gt10_out_aa(T37, T38)) → gt10_out_aa(s(T37), s(T38))
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U20_aa(T22, T23, T24, T9, part20_in_gaaa(T22, T24, X47, X48))
part20_in_gaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_gaaa(T61, T62, T63, X119, X120, gt10_in_ga(T61, T62))
gt10_in_ga(s(T37), s(T38)) → U1_ga(T37, T38, gt10_in_ga(T37, T38))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U1_ga(T37, T38, gt10_out_ga(T37, T38)) → gt10_out_ga(s(T37), s(T38))
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → U3_gaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
part20_in_gaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_gaaa(T83, T84, T85, X170, X171, le33_in_ga(T83, T84))
le33_in_ga(s(T98), s(T99)) → U6_ga(T98, T99, le33_in_ga(T98, T99))
le33_in_ga(0, s(T106)) → le33_out_ga(0, s(T106))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U6_ga(T98, T99, le33_out_ga(T98, T99)) → le33_out_ga(s(T98), s(T99))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → U5_gaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
part20_in_gaaa(T112, [], [], []) → part20_out_gaaa(T112, [], [], [])
U5_gaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U3_gaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U20_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, X47, X48)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U21_aa(T22, T23, T24, T9, part20_in_gaaa(T22, T24, T44, T45))
U21_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U22_aa(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
qs1_in_aa(.(T239, .(T240, T241)), T9) → U25_aa(T239, T240, T241, T9, le33_in_aa(T239, T240))
le33_in_aa(s(T98), s(T99)) → U6_aa(T98, T99, le33_in_aa(T98, T99))
le33_in_aa(0, s(T106)) → le33_out_aa(0, s(T106))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U6_aa(T98, T99, le33_out_aa(T98, T99)) → le33_out_aa(s(T98), s(T99))
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U26_aa(T239, T240, T241, T9, part20_in_gaaa(T239, T241, X437, X438))
U26_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, X437, X438)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U27_aa(T239, T240, T241, T9, part20_in_gaaa(T239, T241, T249, T250))
U27_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U28_aa(T239, T240, T241, T9, qs53_in_aa(T249, X9))
qs53_in_aa(.(T131, T132), X275) → U7_aa(T131, T132, X275, part20_in_aaaa(T131, T132, X271, X272))
part20_in_aaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_aaaa(T61, T62, T63, X119, X120, gt10_in_aa(T61, T62))
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → U3_aaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
U3_aaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
part20_in_aaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_aaaa(T83, T84, T85, X170, X171, le33_in_aa(T83, T84))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → U5_aaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
U5_aaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
part20_in_aaaa(T112, [], [], []) → part20_out_aaaa(T112, [], [], [])
U7_aa(T131, T132, X275, part20_out_aaaa(T131, T132, X271, X272)) → qs53_out_aa(.(T131, T132), X275)
qs53_in_aa(.(T131, T132), X275) → U8_aa(T131, T132, X275, part20_in_aaaa(T131, T132, T136, T137))
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U9_aa(T131, T132, X275, qs53_in_aa(T136, X273))
qs53_in_aa([], []) → qs53_out_aa([], [])
U9_aa(T131, T132, X275, qs53_out_aa(T136, X273)) → qs53_out_aa(.(T131, T132), X275)
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U10_aa(T131, T132, X275, T137, qs53_in_aa(T136, T143))
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U11_aa(T131, T132, X275, qs53_in_aa(T137, X274))
U11_aa(T131, T132, X275, qs53_out_aa(T137, X274)) → qs53_out_aa(.(T131, T132), X275)
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U12_aa(T131, T132, X275, T143, qs53_in_aa(T137, T148))
U12_aa(T131, T132, X275, T143, qs53_out_aa(T137, T148)) → U13_aa(T131, T132, X275, app65_in_aaaa(T143, T131, T148, X275))
app65_in_aaaa(.(T171, T172), T173, T174, .(T171, X354)) → U14_aaaa(T171, T172, T173, T174, X354, app65_in_aaaa(T172, T173, T174, X354))
app65_in_aaaa([], T183, T184, .(T183, T184)) → app65_out_aaaa([], T183, T184, .(T183, T184))
U14_aaaa(T171, T172, T173, T174, X354, app65_out_aaaa(T172, T173, T174, X354)) → app65_out_aaaa(.(T171, T172), T173, T174, .(T171, X354))
U13_aa(T131, T132, X275, app65_out_aaaa(T143, T131, T148, X275)) → qs53_out_aa(.(T131, T132), X275)
U28_aa(T239, T240, T241, T9, qs53_out_aa(T249, X9)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U27_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U29_aa(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_aa(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_aa(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
p52_in_aaaga(T45, X10, T115, T22, T9) → U16_aaaga(T45, X10, T115, T22, T9, qs53_in_aa(T45, X10))
U16_aaaga(T45, X10, T115, T22, T9, qs53_out_aa(T45, X10)) → p52_out_aaaga(T45, X10, T115, T22, T9)
p52_in_aaaga(T45, T120, T115, T22, T9) → U17_aaaga(T45, T120, T115, T22, T9, qs53_in_aa(T45, T120))
U17_aaaga(T45, T120, T115, T22, T9, qs53_out_aa(T45, T120)) → U18_aaaga(T45, T120, T115, T22, T9, app54_in_agaa(T115, T22, T120, T9))
app54_in_agaa(.(T210, T211), T212, T213, .(T210, T215)) → U15_agaa(T210, T211, T212, T213, T215, app54_in_agaa(T211, T212, T213, T215))
app54_in_agaa([], T225, T226, .(T225, T226)) → app54_out_agaa([], T225, T226, .(T225, T226))
U15_agaa(T210, T211, T212, T213, T215, app54_out_agaa(T211, T212, T213, T215)) → app54_out_agaa(.(T210, T211), T212, T213, .(T210, T215))
U18_aaaga(T45, T120, T115, T22, T9, app54_out_agaa(T115, T22, T120, T9)) → p52_out_aaaga(T45, T120, T115, T22, T9)
U30_aa(T239, T240, T241, T9, p52_out_aaaga(.(T240, T250), X10, T256, T239, T9)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
qs1_in_aa(.(T265, []), T9) → U31_aa(T265, T9, qs99_in_a(X9))
qs99_in_a([]) → qs99_out_a([])
U31_aa(T265, T9, qs99_out_a(X9)) → qs1_out_aa(.(T265, []), T9)
qs1_in_aa(.(T265, []), T9) → U32_aa(T265, T9, qs99_in_a(T268))
U32_aa(T265, T9, qs99_out_a(T268)) → U33_aa(T265, T9, qs99_in_a(X10))
U33_aa(T265, T9, qs99_out_a(X10)) → qs1_out_aa(.(T265, []), T9)
U32_aa(T265, T9, qs99_out_a(T268)) → U34_aa(T265, T9, T268, qs99_in_a(T273))
U34_aa(T265, T9, T268, qs99_out_a(T273)) → U35_aa(T265, T9, app54_in_gaga(T268, T265, T273, T9))
app54_in_gaga(.(T210, T211), T212, T213, .(T210, T215)) → U15_gaga(T210, T211, T212, T213, T215, app54_in_gaga(T211, T212, T213, T215))
app54_in_gaga([], T225, T226, .(T225, T226)) → app54_out_gaga([], T225, T226, .(T225, T226))
U15_gaga(T210, T211, T212, T213, T215, app54_out_gaga(T211, T212, T213, T215)) → app54_out_gaga(.(T210, T211), T212, T213, .(T210, T215))
U35_aa(T265, T9, app54_out_gaga(T268, T265, T273, T9)) → qs1_out_aa(.(T265, []), T9)
qs1_in_aa([], []) → qs1_out_aa([], [])
U22_aa(T22, T23, T24, T9, qs1_out_aa(.(T23, T44), X9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U21_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U23_aa(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_aa(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_aa(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U24_aa(T22, T23, T24, T9, p52_out_aaaga(T45, X10, T115, T22, T9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U22_ga(T22, T23, T24, T9, qs1_out_aa(.(T23, T44), X9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U21_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U23_ga(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_ga(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_ga(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U24_ga(T22, T23, T24, T9, p52_out_aaaga(T45, X10, T115, T22, T9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
qs1_in_ga(.(T239, .(T240, T241)), T9) → U25_ga(T239, T240, T241, T9, le33_in_gg(T239, T240))
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U26_ga(T239, T240, T241, T9, part20_in_ggaa(T239, T241, X437, X438))
U26_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, X437, X438)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U27_ga(T239, T240, T241, T9, part20_in_ggaa(T239, T241, T249, T250))
U27_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U28_ga(T239, T240, T241, T9, qs53_in_aa(T249, X9))
U28_ga(T239, T240, T241, T9, qs53_out_aa(T249, X9)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U27_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U29_ga(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_ga(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_ga(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
U30_ga(T239, T240, T241, T9, p52_out_aaaga(.(T240, T250), X10, T256, T239, T9)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
qs1_in_ga(.(T265, []), T9) → U31_ga(T265, T9, qs99_in_a(X9))
U31_ga(T265, T9, qs99_out_a(X9)) → qs1_out_ga(.(T265, []), T9)
qs1_in_ga(.(T265, []), T9) → U32_ga(T265, T9, qs99_in_a(T268))
U32_ga(T265, T9, qs99_out_a(T268)) → U33_ga(T265, T9, qs99_in_a(X10))
U33_ga(T265, T9, qs99_out_a(X10)) → qs1_out_ga(.(T265, []), T9)
U32_ga(T265, T9, qs99_out_a(T268)) → U34_ga(T265, T9, T268, qs99_in_a(T273))
U34_ga(T265, T9, T268, qs99_out_a(T273)) → U35_ga(T265, T9, app54_in_ggga(T268, T265, T273, T9))
app54_in_ggga(.(T210, T211), T212, T213, .(T210, T215)) → U15_ggga(T210, T211, T212, T213, T215, app54_in_ggga(T211, T212, T213, T215))
app54_in_ggga([], T225, T226, .(T225, T226)) → app54_out_ggga([], T225, T226, .(T225, T226))
U15_ggga(T210, T211, T212, T213, T215, app54_out_ggga(T211, T212, T213, T215)) → app54_out_ggga(.(T210, T211), T212, T213, .(T210, T215))
U35_ga(T265, T9, app54_out_ggga(T268, T265, T273, T9)) → qs1_out_ga(.(T265, []), T9)
qs1_in_ga([], []) → qs1_out_ga([], [])

The argument filtering Pi contains the following mapping:
qs1_in_ga(x1, x2)  =  qs1_in_ga(x1)
.(x1, x2)  =  .(x1, x2)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x2, x3, x5)
gt10_in_gg(x1, x2)  =  gt10_in_gg(x1, x2)
s(x1)  =  s(x1)
U1_gg(x1, x2, x3)  =  U1_gg(x1, x2, x3)
0  =  0
gt10_out_gg(x1, x2)  =  gt10_out_gg(x1, x2)
qs1_out_ga(x1, x2)  =  qs1_out_ga(x1)
U20_ga(x1, x2, x3, x4, x5)  =  U20_ga(x1, x2, x3, x5)
part20_in_ggaa(x1, x2, x3, x4)  =  part20_in_ggaa(x1, x2)
U2_ggaa(x1, x2, x3, x4, x5, x6)  =  U2_ggaa(x1, x2, x3, x6)
part20_out_ggaa(x1, x2, x3, x4)  =  part20_out_ggaa(x1, x2)
U3_ggaa(x1, x2, x3, x4, x5, x6)  =  U3_ggaa(x1, x2, x3, x6)
U4_ggaa(x1, x2, x3, x4, x5, x6)  =  U4_ggaa(x1, x2, x3, x6)
le33_in_gg(x1, x2)  =  le33_in_gg(x1, x2)
U6_gg(x1, x2, x3)  =  U6_gg(x1, x2, x3)
le33_out_gg(x1, x2)  =  le33_out_gg(x1, x2)
U5_ggaa(x1, x2, x3, x4, x5, x6)  =  U5_ggaa(x1, x2, x3, x6)
[]  =  []
U21_ga(x1, x2, x3, x4, x5)  =  U21_ga(x1, x2, x3, x5)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x1, x2, x3, x5)
qs1_in_aa(x1, x2)  =  qs1_in_aa
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(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_aa(x1, x2)  =  qs1_out_aa
U20_aa(x1, x2, x3, x4, x5)  =  U20_aa(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)
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)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U6_ga(x1, x2, x3)  =  U6_ga(x1, x3)
le33_out_ga(x1, x2)  =  le33_out_ga(x1)
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x1, x6)
U21_aa(x1, x2, x3, x4, x5)  =  U21_aa(x1, x5)
U22_aa(x1, x2, x3, x4, x5)  =  U22_aa(x5)
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
le33_in_aa(x1, x2)  =  le33_in_aa
U6_aa(x1, x2, x3)  =  U6_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
U26_aa(x1, x2, x3, x4, x5)  =  U26_aa(x5)
U27_aa(x1, x2, x3, x4, x5)  =  U27_aa(x1, x5)
U28_aa(x1, x2, x3, x4, x5)  =  U28_aa(x5)
qs53_in_aa(x1, x2)  =  qs53_in_aa
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
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)
qs53_out_aa(x1, x2)  =  qs53_out_aa
U8_aa(x1, x2, x3, x4)  =  U8_aa(x4)
U9_aa(x1, x2, x3, x4)  =  U9_aa(x4)
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4)  =  U11_aa(x4)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4)  =  U13_aa(x4)
app65_in_aaaa(x1, x2, x3, x4)  =  app65_in_aaaa
U14_aaaa(x1, x2, x3, x4, x5, x6)  =  U14_aaaa(x6)
app65_out_aaaa(x1, x2, x3, x4)  =  app65_out_aaaa
U29_aa(x1, x2, x3, x4, x5, x6)  =  U29_aa(x1, x6)
U30_aa(x1, x2, x3, x4, x5)  =  U30_aa(x5)
p52_in_aaaga(x1, x2, x3, x4, x5)  =  p52_in_aaaga(x4)
U16_aaaga(x1, x2, x3, x4, x5, x6)  =  U16_aaaga(x4, x6)
p52_out_aaaga(x1, x2, x3, x4, x5)  =  p52_out_aaaga(x4)
U17_aaaga(x1, x2, x3, x4, x5, x6)  =  U17_aaaga(x4, x6)
U18_aaaga(x1, x2, x3, x4, x5, x6)  =  U18_aaaga(x4, x6)
app54_in_agaa(x1, x2, x3, x4)  =  app54_in_agaa(x2)
U15_agaa(x1, x2, x3, x4, x5, x6)  =  U15_agaa(x3, x6)
app54_out_agaa(x1, x2, x3, x4)  =  app54_out_agaa(x2)
U31_aa(x1, x2, x3)  =  U31_aa(x3)
qs99_in_a(x1)  =  qs99_in_a
qs99_out_a(x1)  =  qs99_out_a(x1)
U32_aa(x1, x2, x3)  =  U32_aa(x3)
U33_aa(x1, x2, x3)  =  U33_aa(x3)
U34_aa(x1, x2, x3, x4)  =  U34_aa(x3, x4)
U35_aa(x1, x2, x3)  =  U35_aa(x3)
app54_in_gaga(x1, x2, x3, x4)  =  app54_in_gaga(x1, x3)
U15_gaga(x1, x2, x3, x4, x5, x6)  =  U15_gaga(x1, x2, x4, x6)
app54_out_gaga(x1, x2, x3, x4)  =  app54_out_gaga(x1, x3)
U23_aa(x1, x2, x3, x4, x5, x6)  =  U23_aa(x1, x6)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U23_ga(x1, x2, x3, x4, x5, x6)  =  U23_ga(x1, x2, x3, x6)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x1, x2, x3, x5)
U25_ga(x1, x2, x3, x4, x5)  =  U25_ga(x1, x2, x3, x5)
U26_ga(x1, x2, x3, x4, x5)  =  U26_ga(x1, x2, x3, x5)
U27_ga(x1, x2, x3, x4, x5)  =  U27_ga(x1, x2, x3, x5)
U28_ga(x1, x2, x3, x4, x5)  =  U28_ga(x1, x2, x3, x5)
U29_ga(x1, x2, x3, x4, x5, x6)  =  U29_ga(x1, x2, x3, x6)
U30_ga(x1, x2, x3, x4, x5)  =  U30_ga(x1, x2, x3, x5)
U31_ga(x1, x2, x3)  =  U31_ga(x1, x3)
U32_ga(x1, x2, x3)  =  U32_ga(x1, x3)
U33_ga(x1, x2, x3)  =  U33_ga(x1, x3)
U34_ga(x1, x2, x3, x4)  =  U34_ga(x1, x3, x4)
U35_ga(x1, x2, x3)  =  U35_ga(x1, x3)
app54_in_ggga(x1, x2, x3, x4)  =  app54_in_ggga(x1, x2, x3)
U15_ggga(x1, x2, x3, x4, x5, x6)  =  U15_ggga(x1, x2, x3, x4, x6)
app54_out_ggga(x1, x2, x3, x4)  =  app54_out_ggga(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_ga(.(T22, .(T23, T24)), T9) → U19_ga(T22, T23, T24, T9, gt10_in_gg(T22, T23))
gt10_in_gg(s(T37), s(T38)) → U1_gg(T37, T38, gt10_in_gg(T37, T38))
gt10_in_gg(s(0), 0) → gt10_out_gg(s(0), 0)
U1_gg(T37, T38, gt10_out_gg(T37, T38)) → gt10_out_gg(s(T37), s(T38))
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U20_ga(T22, T23, T24, T9, part20_in_ggaa(T22, T24, X47, X48))
part20_in_ggaa(T61, .(T62, T63), .(T62, X119), X120) → U2_ggaa(T61, T62, T63, X119, X120, gt10_in_gg(T61, T62))
U2_ggaa(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → part20_out_ggaa(T61, .(T62, T63), .(T62, X119), X120)
U2_ggaa(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → U3_ggaa(T61, T62, T63, X119, X120, part20_in_ggaa(T61, T63, X119, X120))
part20_in_ggaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_ggaa(T83, T84, T85, X170, X171, le33_in_gg(T83, T84))
le33_in_gg(s(T98), s(T99)) → U6_gg(T98, T99, le33_in_gg(T98, T99))
le33_in_gg(0, s(T106)) → le33_out_gg(0, s(T106))
le33_in_gg(0, 0) → le33_out_gg(0, 0)
U6_gg(T98, T99, le33_out_gg(T98, T99)) → le33_out_gg(s(T98), s(T99))
U4_ggaa(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → part20_out_ggaa(T83, .(T84, T85), X170, .(T84, X171))
U4_ggaa(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → U5_ggaa(T83, T84, T85, X170, X171, part20_in_ggaa(T83, T85, X170, X171))
part20_in_ggaa(T112, [], [], []) → part20_out_ggaa(T112, [], [], [])
U5_ggaa(T83, T84, T85, X170, X171, part20_out_ggaa(T83, T85, X170, X171)) → part20_out_ggaa(T83, .(T84, T85), X170, .(T84, X171))
U3_ggaa(T61, T62, T63, X119, X120, part20_out_ggaa(T61, T63, X119, X120)) → part20_out_ggaa(T61, .(T62, T63), .(T62, X119), X120)
U20_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, X47, X48)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U21_ga(T22, T23, T24, T9, part20_in_ggaa(T22, T24, T44, T45))
U21_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U22_ga(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
qs1_in_aa(.(T22, .(T23, T24)), T9) → U19_aa(T22, T23, T24, T9, gt10_in_aa(T22, T23))
gt10_in_aa(s(T37), s(T38)) → U1_aa(T37, T38, gt10_in_aa(T37, T38))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U1_aa(T37, T38, gt10_out_aa(T37, T38)) → gt10_out_aa(s(T37), s(T38))
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U20_aa(T22, T23, T24, T9, part20_in_gaaa(T22, T24, X47, X48))
part20_in_gaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_gaaa(T61, T62, T63, X119, X120, gt10_in_ga(T61, T62))
gt10_in_ga(s(T37), s(T38)) → U1_ga(T37, T38, gt10_in_ga(T37, T38))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U1_ga(T37, T38, gt10_out_ga(T37, T38)) → gt10_out_ga(s(T37), s(T38))
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → U3_gaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
part20_in_gaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_gaaa(T83, T84, T85, X170, X171, le33_in_ga(T83, T84))
le33_in_ga(s(T98), s(T99)) → U6_ga(T98, T99, le33_in_ga(T98, T99))
le33_in_ga(0, s(T106)) → le33_out_ga(0, s(T106))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U6_ga(T98, T99, le33_out_ga(T98, T99)) → le33_out_ga(s(T98), s(T99))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → U5_gaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
part20_in_gaaa(T112, [], [], []) → part20_out_gaaa(T112, [], [], [])
U5_gaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U3_gaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U20_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, X47, X48)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U21_aa(T22, T23, T24, T9, part20_in_gaaa(T22, T24, T44, T45))
U21_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U22_aa(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
qs1_in_aa(.(T239, .(T240, T241)), T9) → U25_aa(T239, T240, T241, T9, le33_in_aa(T239, T240))
le33_in_aa(s(T98), s(T99)) → U6_aa(T98, T99, le33_in_aa(T98, T99))
le33_in_aa(0, s(T106)) → le33_out_aa(0, s(T106))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U6_aa(T98, T99, le33_out_aa(T98, T99)) → le33_out_aa(s(T98), s(T99))
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U26_aa(T239, T240, T241, T9, part20_in_gaaa(T239, T241, X437, X438))
U26_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, X437, X438)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U27_aa(T239, T240, T241, T9, part20_in_gaaa(T239, T241, T249, T250))
U27_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U28_aa(T239, T240, T241, T9, qs53_in_aa(T249, X9))
qs53_in_aa(.(T131, T132), X275) → U7_aa(T131, T132, X275, part20_in_aaaa(T131, T132, X271, X272))
part20_in_aaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_aaaa(T61, T62, T63, X119, X120, gt10_in_aa(T61, T62))
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → U3_aaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
U3_aaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
part20_in_aaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_aaaa(T83, T84, T85, X170, X171, le33_in_aa(T83, T84))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → U5_aaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
U5_aaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
part20_in_aaaa(T112, [], [], []) → part20_out_aaaa(T112, [], [], [])
U7_aa(T131, T132, X275, part20_out_aaaa(T131, T132, X271, X272)) → qs53_out_aa(.(T131, T132), X275)
qs53_in_aa(.(T131, T132), X275) → U8_aa(T131, T132, X275, part20_in_aaaa(T131, T132, T136, T137))
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U9_aa(T131, T132, X275, qs53_in_aa(T136, X273))
qs53_in_aa([], []) → qs53_out_aa([], [])
U9_aa(T131, T132, X275, qs53_out_aa(T136, X273)) → qs53_out_aa(.(T131, T132), X275)
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U10_aa(T131, T132, X275, T137, qs53_in_aa(T136, T143))
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U11_aa(T131, T132, X275, qs53_in_aa(T137, X274))
U11_aa(T131, T132, X275, qs53_out_aa(T137, X274)) → qs53_out_aa(.(T131, T132), X275)
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U12_aa(T131, T132, X275, T143, qs53_in_aa(T137, T148))
U12_aa(T131, T132, X275, T143, qs53_out_aa(T137, T148)) → U13_aa(T131, T132, X275, app65_in_aaaa(T143, T131, T148, X275))
app65_in_aaaa(.(T171, T172), T173, T174, .(T171, X354)) → U14_aaaa(T171, T172, T173, T174, X354, app65_in_aaaa(T172, T173, T174, X354))
app65_in_aaaa([], T183, T184, .(T183, T184)) → app65_out_aaaa([], T183, T184, .(T183, T184))
U14_aaaa(T171, T172, T173, T174, X354, app65_out_aaaa(T172, T173, T174, X354)) → app65_out_aaaa(.(T171, T172), T173, T174, .(T171, X354))
U13_aa(T131, T132, X275, app65_out_aaaa(T143, T131, T148, X275)) → qs53_out_aa(.(T131, T132), X275)
U28_aa(T239, T240, T241, T9, qs53_out_aa(T249, X9)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U27_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U29_aa(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_aa(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_aa(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
p52_in_aaaga(T45, X10, T115, T22, T9) → U16_aaaga(T45, X10, T115, T22, T9, qs53_in_aa(T45, X10))
U16_aaaga(T45, X10, T115, T22, T9, qs53_out_aa(T45, X10)) → p52_out_aaaga(T45, X10, T115, T22, T9)
p52_in_aaaga(T45, T120, T115, T22, T9) → U17_aaaga(T45, T120, T115, T22, T9, qs53_in_aa(T45, T120))
U17_aaaga(T45, T120, T115, T22, T9, qs53_out_aa(T45, T120)) → U18_aaaga(T45, T120, T115, T22, T9, app54_in_agaa(T115, T22, T120, T9))
app54_in_agaa(.(T210, T211), T212, T213, .(T210, T215)) → U15_agaa(T210, T211, T212, T213, T215, app54_in_agaa(T211, T212, T213, T215))
app54_in_agaa([], T225, T226, .(T225, T226)) → app54_out_agaa([], T225, T226, .(T225, T226))
U15_agaa(T210, T211, T212, T213, T215, app54_out_agaa(T211, T212, T213, T215)) → app54_out_agaa(.(T210, T211), T212, T213, .(T210, T215))
U18_aaaga(T45, T120, T115, T22, T9, app54_out_agaa(T115, T22, T120, T9)) → p52_out_aaaga(T45, T120, T115, T22, T9)
U30_aa(T239, T240, T241, T9, p52_out_aaaga(.(T240, T250), X10, T256, T239, T9)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
qs1_in_aa(.(T265, []), T9) → U31_aa(T265, T9, qs99_in_a(X9))
qs99_in_a([]) → qs99_out_a([])
U31_aa(T265, T9, qs99_out_a(X9)) → qs1_out_aa(.(T265, []), T9)
qs1_in_aa(.(T265, []), T9) → U32_aa(T265, T9, qs99_in_a(T268))
U32_aa(T265, T9, qs99_out_a(T268)) → U33_aa(T265, T9, qs99_in_a(X10))
U33_aa(T265, T9, qs99_out_a(X10)) → qs1_out_aa(.(T265, []), T9)
U32_aa(T265, T9, qs99_out_a(T268)) → U34_aa(T265, T9, T268, qs99_in_a(T273))
U34_aa(T265, T9, T268, qs99_out_a(T273)) → U35_aa(T265, T9, app54_in_gaga(T268, T265, T273, T9))
app54_in_gaga(.(T210, T211), T212, T213, .(T210, T215)) → U15_gaga(T210, T211, T212, T213, T215, app54_in_gaga(T211, T212, T213, T215))
app54_in_gaga([], T225, T226, .(T225, T226)) → app54_out_gaga([], T225, T226, .(T225, T226))
U15_gaga(T210, T211, T212, T213, T215, app54_out_gaga(T211, T212, T213, T215)) → app54_out_gaga(.(T210, T211), T212, T213, .(T210, T215))
U35_aa(T265, T9, app54_out_gaga(T268, T265, T273, T9)) → qs1_out_aa(.(T265, []), T9)
qs1_in_aa([], []) → qs1_out_aa([], [])
U22_aa(T22, T23, T24, T9, qs1_out_aa(.(T23, T44), X9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U21_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U23_aa(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_aa(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_aa(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U24_aa(T22, T23, T24, T9, p52_out_aaaga(T45, X10, T115, T22, T9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U22_ga(T22, T23, T24, T9, qs1_out_aa(.(T23, T44), X9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U21_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U23_ga(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_ga(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_ga(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U24_ga(T22, T23, T24, T9, p52_out_aaaga(T45, X10, T115, T22, T9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
qs1_in_ga(.(T239, .(T240, T241)), T9) → U25_ga(T239, T240, T241, T9, le33_in_gg(T239, T240))
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U26_ga(T239, T240, T241, T9, part20_in_ggaa(T239, T241, X437, X438))
U26_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, X437, X438)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U27_ga(T239, T240, T241, T9, part20_in_ggaa(T239, T241, T249, T250))
U27_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U28_ga(T239, T240, T241, T9, qs53_in_aa(T249, X9))
U28_ga(T239, T240, T241, T9, qs53_out_aa(T249, X9)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U27_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U29_ga(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_ga(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_ga(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
U30_ga(T239, T240, T241, T9, p52_out_aaaga(.(T240, T250), X10, T256, T239, T9)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
qs1_in_ga(.(T265, []), T9) → U31_ga(T265, T9, qs99_in_a(X9))
U31_ga(T265, T9, qs99_out_a(X9)) → qs1_out_ga(.(T265, []), T9)
qs1_in_ga(.(T265, []), T9) → U32_ga(T265, T9, qs99_in_a(T268))
U32_ga(T265, T9, qs99_out_a(T268)) → U33_ga(T265, T9, qs99_in_a(X10))
U33_ga(T265, T9, qs99_out_a(X10)) → qs1_out_ga(.(T265, []), T9)
U32_ga(T265, T9, qs99_out_a(T268)) → U34_ga(T265, T9, T268, qs99_in_a(T273))
U34_ga(T265, T9, T268, qs99_out_a(T273)) → U35_ga(T265, T9, app54_in_ggga(T268, T265, T273, T9))
app54_in_ggga(.(T210, T211), T212, T213, .(T210, T215)) → U15_ggga(T210, T211, T212, T213, T215, app54_in_ggga(T211, T212, T213, T215))
app54_in_ggga([], T225, T226, .(T225, T226)) → app54_out_ggga([], T225, T226, .(T225, T226))
U15_ggga(T210, T211, T212, T213, T215, app54_out_ggga(T211, T212, T213, T215)) → app54_out_ggga(.(T210, T211), T212, T213, .(T210, T215))
U35_ga(T265, T9, app54_out_ggga(T268, T265, T273, T9)) → qs1_out_ga(.(T265, []), T9)
qs1_in_ga([], []) → qs1_out_ga([], [])

The argument filtering Pi contains the following mapping:
qs1_in_ga(x1, x2)  =  qs1_in_ga(x1)
.(x1, x2)  =  .(x1, x2)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x2, x3, x5)
gt10_in_gg(x1, x2)  =  gt10_in_gg(x1, x2)
s(x1)  =  s(x1)
U1_gg(x1, x2, x3)  =  U1_gg(x1, x2, x3)
0  =  0
gt10_out_gg(x1, x2)  =  gt10_out_gg(x1, x2)
qs1_out_ga(x1, x2)  =  qs1_out_ga(x1)
U20_ga(x1, x2, x3, x4, x5)  =  U20_ga(x1, x2, x3, x5)
part20_in_ggaa(x1, x2, x3, x4)  =  part20_in_ggaa(x1, x2)
U2_ggaa(x1, x2, x3, x4, x5, x6)  =  U2_ggaa(x1, x2, x3, x6)
part20_out_ggaa(x1, x2, x3, x4)  =  part20_out_ggaa(x1, x2)
U3_ggaa(x1, x2, x3, x4, x5, x6)  =  U3_ggaa(x1, x2, x3, x6)
U4_ggaa(x1, x2, x3, x4, x5, x6)  =  U4_ggaa(x1, x2, x3, x6)
le33_in_gg(x1, x2)  =  le33_in_gg(x1, x2)
U6_gg(x1, x2, x3)  =  U6_gg(x1, x2, x3)
le33_out_gg(x1, x2)  =  le33_out_gg(x1, x2)
U5_ggaa(x1, x2, x3, x4, x5, x6)  =  U5_ggaa(x1, x2, x3, x6)
[]  =  []
U21_ga(x1, x2, x3, x4, x5)  =  U21_ga(x1, x2, x3, x5)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x1, x2, x3, x5)
qs1_in_aa(x1, x2)  =  qs1_in_aa
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(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_aa(x1, x2)  =  qs1_out_aa
U20_aa(x1, x2, x3, x4, x5)  =  U20_aa(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)
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)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U6_ga(x1, x2, x3)  =  U6_ga(x1, x3)
le33_out_ga(x1, x2)  =  le33_out_ga(x1)
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x1, x6)
U21_aa(x1, x2, x3, x4, x5)  =  U21_aa(x1, x5)
U22_aa(x1, x2, x3, x4, x5)  =  U22_aa(x5)
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
le33_in_aa(x1, x2)  =  le33_in_aa
U6_aa(x1, x2, x3)  =  U6_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
U26_aa(x1, x2, x3, x4, x5)  =  U26_aa(x5)
U27_aa(x1, x2, x3, x4, x5)  =  U27_aa(x1, x5)
U28_aa(x1, x2, x3, x4, x5)  =  U28_aa(x5)
qs53_in_aa(x1, x2)  =  qs53_in_aa
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
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)
qs53_out_aa(x1, x2)  =  qs53_out_aa
U8_aa(x1, x2, x3, x4)  =  U8_aa(x4)
U9_aa(x1, x2, x3, x4)  =  U9_aa(x4)
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4)  =  U11_aa(x4)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4)  =  U13_aa(x4)
app65_in_aaaa(x1, x2, x3, x4)  =  app65_in_aaaa
U14_aaaa(x1, x2, x3, x4, x5, x6)  =  U14_aaaa(x6)
app65_out_aaaa(x1, x2, x3, x4)  =  app65_out_aaaa
U29_aa(x1, x2, x3, x4, x5, x6)  =  U29_aa(x1, x6)
U30_aa(x1, x2, x3, x4, x5)  =  U30_aa(x5)
p52_in_aaaga(x1, x2, x3, x4, x5)  =  p52_in_aaaga(x4)
U16_aaaga(x1, x2, x3, x4, x5, x6)  =  U16_aaaga(x4, x6)
p52_out_aaaga(x1, x2, x3, x4, x5)  =  p52_out_aaaga(x4)
U17_aaaga(x1, x2, x3, x4, x5, x6)  =  U17_aaaga(x4, x6)
U18_aaaga(x1, x2, x3, x4, x5, x6)  =  U18_aaaga(x4, x6)
app54_in_agaa(x1, x2, x3, x4)  =  app54_in_agaa(x2)
U15_agaa(x1, x2, x3, x4, x5, x6)  =  U15_agaa(x3, x6)
app54_out_agaa(x1, x2, x3, x4)  =  app54_out_agaa(x2)
U31_aa(x1, x2, x3)  =  U31_aa(x3)
qs99_in_a(x1)  =  qs99_in_a
qs99_out_a(x1)  =  qs99_out_a(x1)
U32_aa(x1, x2, x3)  =  U32_aa(x3)
U33_aa(x1, x2, x3)  =  U33_aa(x3)
U34_aa(x1, x2, x3, x4)  =  U34_aa(x3, x4)
U35_aa(x1, x2, x3)  =  U35_aa(x3)
app54_in_gaga(x1, x2, x3, x4)  =  app54_in_gaga(x1, x3)
U15_gaga(x1, x2, x3, x4, x5, x6)  =  U15_gaga(x1, x2, x4, x6)
app54_out_gaga(x1, x2, x3, x4)  =  app54_out_gaga(x1, x3)
U23_aa(x1, x2, x3, x4, x5, x6)  =  U23_aa(x1, x6)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U23_ga(x1, x2, x3, x4, x5, x6)  =  U23_ga(x1, x2, x3, x6)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x1, x2, x3, x5)
U25_ga(x1, x2, x3, x4, x5)  =  U25_ga(x1, x2, x3, x5)
U26_ga(x1, x2, x3, x4, x5)  =  U26_ga(x1, x2, x3, x5)
U27_ga(x1, x2, x3, x4, x5)  =  U27_ga(x1, x2, x3, x5)
U28_ga(x1, x2, x3, x4, x5)  =  U28_ga(x1, x2, x3, x5)
U29_ga(x1, x2, x3, x4, x5, x6)  =  U29_ga(x1, x2, x3, x6)
U30_ga(x1, x2, x3, x4, x5)  =  U30_ga(x1, x2, x3, x5)
U31_ga(x1, x2, x3)  =  U31_ga(x1, x3)
U32_ga(x1, x2, x3)  =  U32_ga(x1, x3)
U33_ga(x1, x2, x3)  =  U33_ga(x1, x3)
U34_ga(x1, x2, x3, x4)  =  U34_ga(x1, x3, x4)
U35_ga(x1, x2, x3)  =  U35_ga(x1, x3)
app54_in_ggga(x1, x2, x3, x4)  =  app54_in_ggga(x1, x2, x3)
U15_ggga(x1, x2, x3, x4, x5, x6)  =  U15_ggga(x1, x2, x3, x4, x6)
app54_out_ggga(x1, x2, x3, x4)  =  app54_out_ggga(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_GA(.(T22, .(T23, T24)), T9) → U19_GA(T22, T23, T24, T9, gt10_in_gg(T22, T23))
QS1_IN_GA(.(T22, .(T23, T24)), T9) → GT10_IN_GG(T22, T23)
GT10_IN_GG(s(T37), s(T38)) → U1_GG(T37, T38, gt10_in_gg(T37, T38))
GT10_IN_GG(s(T37), s(T38)) → GT10_IN_GG(T37, T38)
U19_GA(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U20_GA(T22, T23, T24, T9, part20_in_ggaa(T22, T24, X47, X48))
U19_GA(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → PART20_IN_GGAA(T22, T24, X47, X48)
PART20_IN_GGAA(T61, .(T62, T63), .(T62, X119), X120) → U2_GGAA(T61, T62, T63, X119, X120, gt10_in_gg(T61, T62))
PART20_IN_GGAA(T61, .(T62, T63), .(T62, X119), X120) → GT10_IN_GG(T61, T62)
U2_GGAA(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → U3_GGAA(T61, T62, T63, X119, X120, part20_in_ggaa(T61, T63, X119, X120))
U2_GGAA(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → PART20_IN_GGAA(T61, T63, X119, X120)
PART20_IN_GGAA(T83, .(T84, T85), X170, .(T84, X171)) → U4_GGAA(T83, T84, T85, X170, X171, le33_in_gg(T83, T84))
PART20_IN_GGAA(T83, .(T84, T85), X170, .(T84, X171)) → LE33_IN_GG(T83, T84)
LE33_IN_GG(s(T98), s(T99)) → U6_GG(T98, T99, le33_in_gg(T98, T99))
LE33_IN_GG(s(T98), s(T99)) → LE33_IN_GG(T98, T99)
U4_GGAA(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → U5_GGAA(T83, T84, T85, X170, X171, part20_in_ggaa(T83, T85, X170, X171))
U4_GGAA(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → PART20_IN_GGAA(T83, T85, X170, X171)
U19_GA(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U21_GA(T22, T23, T24, T9, part20_in_ggaa(T22, T24, T44, T45))
U21_GA(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U22_GA(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
U21_GA(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → QS1_IN_AA(.(T23, T44), X9)
QS1_IN_AA(.(T22, .(T23, T24)), T9) → U19_AA(T22, T23, T24, T9, gt10_in_aa(T22, T23))
QS1_IN_AA(.(T22, .(T23, T24)), T9) → GT10_IN_AA(T22, T23)
GT10_IN_AA(s(T37), s(T38)) → U1_AA(T37, T38, gt10_in_aa(T37, T38))
GT10_IN_AA(s(T37), s(T38)) → GT10_IN_AA(T37, T38)
U19_AA(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U20_AA(T22, T23, T24, T9, part20_in_gaaa(T22, T24, X47, X48))
U19_AA(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → PART20_IN_GAAA(T22, T24, X47, X48)
PART20_IN_GAAA(T61, .(T62, T63), .(T62, X119), X120) → U2_GAAA(T61, T62, T63, X119, X120, gt10_in_ga(T61, T62))
PART20_IN_GAAA(T61, .(T62, T63), .(T62, X119), X120) → GT10_IN_GA(T61, T62)
GT10_IN_GA(s(T37), s(T38)) → U1_GA(T37, T38, gt10_in_ga(T37, T38))
GT10_IN_GA(s(T37), s(T38)) → GT10_IN_GA(T37, T38)
U2_GAAA(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → U3_GAAA(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
U2_GAAA(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → PART20_IN_GAAA(T61, T63, X119, X120)
PART20_IN_GAAA(T83, .(T84, T85), X170, .(T84, X171)) → U4_GAAA(T83, T84, T85, X170, X171, le33_in_ga(T83, T84))
PART20_IN_GAAA(T83, .(T84, T85), X170, .(T84, X171)) → LE33_IN_GA(T83, T84)
LE33_IN_GA(s(T98), s(T99)) → U6_GA(T98, T99, le33_in_ga(T98, T99))
LE33_IN_GA(s(T98), s(T99)) → LE33_IN_GA(T98, T99)
U4_GAAA(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → U5_GAAA(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
U4_GAAA(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → PART20_IN_GAAA(T83, T85, X170, X171)
U19_AA(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U21_AA(T22, T23, T24, T9, part20_in_gaaa(T22, T24, T44, T45))
U21_AA(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U22_AA(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
U21_AA(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → QS1_IN_AA(.(T23, T44), X9)
QS1_IN_AA(.(T239, .(T240, T241)), T9) → U25_AA(T239, T240, T241, T9, le33_in_aa(T239, T240))
QS1_IN_AA(.(T239, .(T240, T241)), T9) → LE33_IN_AA(T239, T240)
LE33_IN_AA(s(T98), s(T99)) → U6_AA(T98, T99, le33_in_aa(T98, T99))
LE33_IN_AA(s(T98), s(T99)) → LE33_IN_AA(T98, T99)
U25_AA(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U26_AA(T239, T240, T241, T9, part20_in_gaaa(T239, T241, X437, X438))
U25_AA(T239, T240, T241, T9, le33_out_aa(T239, T240)) → PART20_IN_GAAA(T239, T241, X437, X438)
U25_AA(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U27_AA(T239, T240, T241, T9, part20_in_gaaa(T239, T241, T249, T250))
U27_AA(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U28_AA(T239, T240, T241, T9, qs53_in_aa(T249, X9))
U27_AA(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → QS53_IN_AA(T249, X9)
QS53_IN_AA(.(T131, T132), X275) → U7_AA(T131, T132, X275, part20_in_aaaa(T131, T132, X271, X272))
QS53_IN_AA(.(T131, T132), X275) → PART20_IN_AAAA(T131, T132, X271, X272)
PART20_IN_AAAA(T61, .(T62, T63), .(T62, X119), X120) → U2_AAAA(T61, T62, T63, X119, X120, gt10_in_aa(T61, T62))
PART20_IN_AAAA(T61, .(T62, T63), .(T62, X119), X120) → GT10_IN_AA(T61, T62)
U2_AAAA(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → U3_AAAA(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
U2_AAAA(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → PART20_IN_GAAA(T61, T63, X119, X120)
PART20_IN_AAAA(T83, .(T84, T85), X170, .(T84, X171)) → U4_AAAA(T83, T84, T85, X170, X171, le33_in_aa(T83, T84))
PART20_IN_AAAA(T83, .(T84, T85), X170, .(T84, X171)) → LE33_IN_AA(T83, T84)
U4_AAAA(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → U5_AAAA(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
U4_AAAA(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → PART20_IN_GAAA(T83, T85, X170, X171)
QS53_IN_AA(.(T131, T132), X275) → U8_AA(T131, T132, X275, part20_in_aaaa(T131, T132, T136, T137))
U8_AA(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U9_AA(T131, T132, X275, qs53_in_aa(T136, X273))
U8_AA(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → QS53_IN_AA(T136, X273)
U8_AA(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U10_AA(T131, T132, X275, T137, qs53_in_aa(T136, T143))
U10_AA(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U11_AA(T131, T132, X275, qs53_in_aa(T137, X274))
U10_AA(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → QS53_IN_AA(T137, X274)
U10_AA(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U12_AA(T131, T132, X275, T143, qs53_in_aa(T137, T148))
U12_AA(T131, T132, X275, T143, qs53_out_aa(T137, T148)) → U13_AA(T131, T132, X275, app65_in_aaaa(T143, T131, T148, X275))
U12_AA(T131, T132, X275, T143, qs53_out_aa(T137, T148)) → APP65_IN_AAAA(T143, T131, T148, X275)
APP65_IN_AAAA(.(T171, T172), T173, T174, .(T171, X354)) → U14_AAAA(T171, T172, T173, T174, X354, app65_in_aaaa(T172, T173, T174, X354))
APP65_IN_AAAA(.(T171, T172), T173, T174, .(T171, X354)) → APP65_IN_AAAA(T172, T173, T174, X354)
U27_AA(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U29_AA(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_AA(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_AA(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
U29_AA(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → P52_IN_AAAGA(.(T240, T250), X10, T256, T239, T9)
P52_IN_AAAGA(T45, X10, T115, T22, T9) → U16_AAAGA(T45, X10, T115, T22, T9, qs53_in_aa(T45, X10))
P52_IN_AAAGA(T45, X10, T115, T22, T9) → QS53_IN_AA(T45, X10)
P52_IN_AAAGA(T45, T120, T115, T22, T9) → U17_AAAGA(T45, T120, T115, T22, T9, qs53_in_aa(T45, T120))
U17_AAAGA(T45, T120, T115, T22, T9, qs53_out_aa(T45, T120)) → U18_AAAGA(T45, T120, T115, T22, T9, app54_in_agaa(T115, T22, T120, T9))
U17_AAAGA(T45, T120, T115, T22, T9, qs53_out_aa(T45, T120)) → APP54_IN_AGAA(T115, T22, T120, T9)
APP54_IN_AGAA(.(T210, T211), T212, T213, .(T210, T215)) → U15_AGAA(T210, T211, T212, T213, T215, app54_in_agaa(T211, T212, T213, T215))
APP54_IN_AGAA(.(T210, T211), T212, T213, .(T210, T215)) → APP54_IN_AGAA(T211, T212, T213, T215)
QS1_IN_AA(.(T265, []), T9) → U31_AA(T265, T9, qs99_in_a(X9))
QS1_IN_AA(.(T265, []), T9) → QS99_IN_A(X9)
QS1_IN_AA(.(T265, []), T9) → U32_AA(T265, T9, qs99_in_a(T268))
U32_AA(T265, T9, qs99_out_a(T268)) → U33_AA(T265, T9, qs99_in_a(X10))
U32_AA(T265, T9, qs99_out_a(T268)) → QS99_IN_A(X10)
U32_AA(T265, T9, qs99_out_a(T268)) → U34_AA(T265, T9, T268, qs99_in_a(T273))
U34_AA(T265, T9, T268, qs99_out_a(T273)) → U35_AA(T265, T9, app54_in_gaga(T268, T265, T273, T9))
U34_AA(T265, T9, T268, qs99_out_a(T273)) → APP54_IN_GAGA(T268, T265, T273, T9)
APP54_IN_GAGA(.(T210, T211), T212, T213, .(T210, T215)) → U15_GAGA(T210, T211, T212, T213, T215, app54_in_gaga(T211, T212, T213, T215))
APP54_IN_GAGA(.(T210, T211), T212, T213, .(T210, T215)) → APP54_IN_GAGA(T211, T212, T213, T215)
U21_AA(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U23_AA(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_AA(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_AA(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U23_AA(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → P52_IN_AAAGA(T45, X10, T115, T22, T9)
U21_GA(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U23_GA(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_GA(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_GA(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U23_GA(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → P52_IN_AAAGA(T45, X10, T115, T22, T9)
QS1_IN_GA(.(T239, .(T240, T241)), T9) → U25_GA(T239, T240, T241, T9, le33_in_gg(T239, T240))
QS1_IN_GA(.(T239, .(T240, T241)), T9) → LE33_IN_GG(T239, T240)
U25_GA(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U26_GA(T239, T240, T241, T9, part20_in_ggaa(T239, T241, X437, X438))
U25_GA(T239, T240, T241, T9, le33_out_gg(T239, T240)) → PART20_IN_GGAA(T239, T241, X437, X438)
U25_GA(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U27_GA(T239, T240, T241, T9, part20_in_ggaa(T239, T241, T249, T250))
U27_GA(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U28_GA(T239, T240, T241, T9, qs53_in_aa(T249, X9))
U27_GA(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → QS53_IN_AA(T249, X9)
U27_GA(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U29_GA(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_GA(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_GA(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
U29_GA(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → P52_IN_AAAGA(.(T240, T250), X10, T256, T239, T9)
QS1_IN_GA(.(T265, []), T9) → U31_GA(T265, T9, qs99_in_a(X9))
QS1_IN_GA(.(T265, []), T9) → QS99_IN_A(X9)
QS1_IN_GA(.(T265, []), T9) → U32_GA(T265, T9, qs99_in_a(T268))
U32_GA(T265, T9, qs99_out_a(T268)) → U33_GA(T265, T9, qs99_in_a(X10))
U32_GA(T265, T9, qs99_out_a(T268)) → QS99_IN_A(X10)
U32_GA(T265, T9, qs99_out_a(T268)) → U34_GA(T265, T9, T268, qs99_in_a(T273))
U34_GA(T265, T9, T268, qs99_out_a(T273)) → U35_GA(T265, T9, app54_in_ggga(T268, T265, T273, T9))
U34_GA(T265, T9, T268, qs99_out_a(T273)) → APP54_IN_GGGA(T268, T265, T273, T9)
APP54_IN_GGGA(.(T210, T211), T212, T213, .(T210, T215)) → U15_GGGA(T210, T211, T212, T213, T215, app54_in_ggga(T211, T212, T213, T215))
APP54_IN_GGGA(.(T210, T211), T212, T213, .(T210, T215)) → APP54_IN_GGGA(T211, T212, T213, T215)

The TRS R consists of the following rules:

qs1_in_ga(.(T22, .(T23, T24)), T9) → U19_ga(T22, T23, T24, T9, gt10_in_gg(T22, T23))
gt10_in_gg(s(T37), s(T38)) → U1_gg(T37, T38, gt10_in_gg(T37, T38))
gt10_in_gg(s(0), 0) → gt10_out_gg(s(0), 0)
U1_gg(T37, T38, gt10_out_gg(T37, T38)) → gt10_out_gg(s(T37), s(T38))
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U20_ga(T22, T23, T24, T9, part20_in_ggaa(T22, T24, X47, X48))
part20_in_ggaa(T61, .(T62, T63), .(T62, X119), X120) → U2_ggaa(T61, T62, T63, X119, X120, gt10_in_gg(T61, T62))
U2_ggaa(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → part20_out_ggaa(T61, .(T62, T63), .(T62, X119), X120)
U2_ggaa(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → U3_ggaa(T61, T62, T63, X119, X120, part20_in_ggaa(T61, T63, X119, X120))
part20_in_ggaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_ggaa(T83, T84, T85, X170, X171, le33_in_gg(T83, T84))
le33_in_gg(s(T98), s(T99)) → U6_gg(T98, T99, le33_in_gg(T98, T99))
le33_in_gg(0, s(T106)) → le33_out_gg(0, s(T106))
le33_in_gg(0, 0) → le33_out_gg(0, 0)
U6_gg(T98, T99, le33_out_gg(T98, T99)) → le33_out_gg(s(T98), s(T99))
U4_ggaa(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → part20_out_ggaa(T83, .(T84, T85), X170, .(T84, X171))
U4_ggaa(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → U5_ggaa(T83, T84, T85, X170, X171, part20_in_ggaa(T83, T85, X170, X171))
part20_in_ggaa(T112, [], [], []) → part20_out_ggaa(T112, [], [], [])
U5_ggaa(T83, T84, T85, X170, X171, part20_out_ggaa(T83, T85, X170, X171)) → part20_out_ggaa(T83, .(T84, T85), X170, .(T84, X171))
U3_ggaa(T61, T62, T63, X119, X120, part20_out_ggaa(T61, T63, X119, X120)) → part20_out_ggaa(T61, .(T62, T63), .(T62, X119), X120)
U20_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, X47, X48)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U21_ga(T22, T23, T24, T9, part20_in_ggaa(T22, T24, T44, T45))
U21_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U22_ga(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
qs1_in_aa(.(T22, .(T23, T24)), T9) → U19_aa(T22, T23, T24, T9, gt10_in_aa(T22, T23))
gt10_in_aa(s(T37), s(T38)) → U1_aa(T37, T38, gt10_in_aa(T37, T38))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U1_aa(T37, T38, gt10_out_aa(T37, T38)) → gt10_out_aa(s(T37), s(T38))
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U20_aa(T22, T23, T24, T9, part20_in_gaaa(T22, T24, X47, X48))
part20_in_gaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_gaaa(T61, T62, T63, X119, X120, gt10_in_ga(T61, T62))
gt10_in_ga(s(T37), s(T38)) → U1_ga(T37, T38, gt10_in_ga(T37, T38))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U1_ga(T37, T38, gt10_out_ga(T37, T38)) → gt10_out_ga(s(T37), s(T38))
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → U3_gaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
part20_in_gaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_gaaa(T83, T84, T85, X170, X171, le33_in_ga(T83, T84))
le33_in_ga(s(T98), s(T99)) → U6_ga(T98, T99, le33_in_ga(T98, T99))
le33_in_ga(0, s(T106)) → le33_out_ga(0, s(T106))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U6_ga(T98, T99, le33_out_ga(T98, T99)) → le33_out_ga(s(T98), s(T99))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → U5_gaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
part20_in_gaaa(T112, [], [], []) → part20_out_gaaa(T112, [], [], [])
U5_gaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U3_gaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U20_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, X47, X48)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U21_aa(T22, T23, T24, T9, part20_in_gaaa(T22, T24, T44, T45))
U21_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U22_aa(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
qs1_in_aa(.(T239, .(T240, T241)), T9) → U25_aa(T239, T240, T241, T9, le33_in_aa(T239, T240))
le33_in_aa(s(T98), s(T99)) → U6_aa(T98, T99, le33_in_aa(T98, T99))
le33_in_aa(0, s(T106)) → le33_out_aa(0, s(T106))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U6_aa(T98, T99, le33_out_aa(T98, T99)) → le33_out_aa(s(T98), s(T99))
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U26_aa(T239, T240, T241, T9, part20_in_gaaa(T239, T241, X437, X438))
U26_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, X437, X438)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U27_aa(T239, T240, T241, T9, part20_in_gaaa(T239, T241, T249, T250))
U27_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U28_aa(T239, T240, T241, T9, qs53_in_aa(T249, X9))
qs53_in_aa(.(T131, T132), X275) → U7_aa(T131, T132, X275, part20_in_aaaa(T131, T132, X271, X272))
part20_in_aaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_aaaa(T61, T62, T63, X119, X120, gt10_in_aa(T61, T62))
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → U3_aaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
U3_aaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
part20_in_aaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_aaaa(T83, T84, T85, X170, X171, le33_in_aa(T83, T84))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → U5_aaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
U5_aaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
part20_in_aaaa(T112, [], [], []) → part20_out_aaaa(T112, [], [], [])
U7_aa(T131, T132, X275, part20_out_aaaa(T131, T132, X271, X272)) → qs53_out_aa(.(T131, T132), X275)
qs53_in_aa(.(T131, T132), X275) → U8_aa(T131, T132, X275, part20_in_aaaa(T131, T132, T136, T137))
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U9_aa(T131, T132, X275, qs53_in_aa(T136, X273))
qs53_in_aa([], []) → qs53_out_aa([], [])
U9_aa(T131, T132, X275, qs53_out_aa(T136, X273)) → qs53_out_aa(.(T131, T132), X275)
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U10_aa(T131, T132, X275, T137, qs53_in_aa(T136, T143))
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U11_aa(T131, T132, X275, qs53_in_aa(T137, X274))
U11_aa(T131, T132, X275, qs53_out_aa(T137, X274)) → qs53_out_aa(.(T131, T132), X275)
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U12_aa(T131, T132, X275, T143, qs53_in_aa(T137, T148))
U12_aa(T131, T132, X275, T143, qs53_out_aa(T137, T148)) → U13_aa(T131, T132, X275, app65_in_aaaa(T143, T131, T148, X275))
app65_in_aaaa(.(T171, T172), T173, T174, .(T171, X354)) → U14_aaaa(T171, T172, T173, T174, X354, app65_in_aaaa(T172, T173, T174, X354))
app65_in_aaaa([], T183, T184, .(T183, T184)) → app65_out_aaaa([], T183, T184, .(T183, T184))
U14_aaaa(T171, T172, T173, T174, X354, app65_out_aaaa(T172, T173, T174, X354)) → app65_out_aaaa(.(T171, T172), T173, T174, .(T171, X354))
U13_aa(T131, T132, X275, app65_out_aaaa(T143, T131, T148, X275)) → qs53_out_aa(.(T131, T132), X275)
U28_aa(T239, T240, T241, T9, qs53_out_aa(T249, X9)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U27_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U29_aa(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_aa(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_aa(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
p52_in_aaaga(T45, X10, T115, T22, T9) → U16_aaaga(T45, X10, T115, T22, T9, qs53_in_aa(T45, X10))
U16_aaaga(T45, X10, T115, T22, T9, qs53_out_aa(T45, X10)) → p52_out_aaaga(T45, X10, T115, T22, T9)
p52_in_aaaga(T45, T120, T115, T22, T9) → U17_aaaga(T45, T120, T115, T22, T9, qs53_in_aa(T45, T120))
U17_aaaga(T45, T120, T115, T22, T9, qs53_out_aa(T45, T120)) → U18_aaaga(T45, T120, T115, T22, T9, app54_in_agaa(T115, T22, T120, T9))
app54_in_agaa(.(T210, T211), T212, T213, .(T210, T215)) → U15_agaa(T210, T211, T212, T213, T215, app54_in_agaa(T211, T212, T213, T215))
app54_in_agaa([], T225, T226, .(T225, T226)) → app54_out_agaa([], T225, T226, .(T225, T226))
U15_agaa(T210, T211, T212, T213, T215, app54_out_agaa(T211, T212, T213, T215)) → app54_out_agaa(.(T210, T211), T212, T213, .(T210, T215))
U18_aaaga(T45, T120, T115, T22, T9, app54_out_agaa(T115, T22, T120, T9)) → p52_out_aaaga(T45, T120, T115, T22, T9)
U30_aa(T239, T240, T241, T9, p52_out_aaaga(.(T240, T250), X10, T256, T239, T9)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
qs1_in_aa(.(T265, []), T9) → U31_aa(T265, T9, qs99_in_a(X9))
qs99_in_a([]) → qs99_out_a([])
U31_aa(T265, T9, qs99_out_a(X9)) → qs1_out_aa(.(T265, []), T9)
qs1_in_aa(.(T265, []), T9) → U32_aa(T265, T9, qs99_in_a(T268))
U32_aa(T265, T9, qs99_out_a(T268)) → U33_aa(T265, T9, qs99_in_a(X10))
U33_aa(T265, T9, qs99_out_a(X10)) → qs1_out_aa(.(T265, []), T9)
U32_aa(T265, T9, qs99_out_a(T268)) → U34_aa(T265, T9, T268, qs99_in_a(T273))
U34_aa(T265, T9, T268, qs99_out_a(T273)) → U35_aa(T265, T9, app54_in_gaga(T268, T265, T273, T9))
app54_in_gaga(.(T210, T211), T212, T213, .(T210, T215)) → U15_gaga(T210, T211, T212, T213, T215, app54_in_gaga(T211, T212, T213, T215))
app54_in_gaga([], T225, T226, .(T225, T226)) → app54_out_gaga([], T225, T226, .(T225, T226))
U15_gaga(T210, T211, T212, T213, T215, app54_out_gaga(T211, T212, T213, T215)) → app54_out_gaga(.(T210, T211), T212, T213, .(T210, T215))
U35_aa(T265, T9, app54_out_gaga(T268, T265, T273, T9)) → qs1_out_aa(.(T265, []), T9)
qs1_in_aa([], []) → qs1_out_aa([], [])
U22_aa(T22, T23, T24, T9, qs1_out_aa(.(T23, T44), X9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U21_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U23_aa(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_aa(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_aa(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U24_aa(T22, T23, T24, T9, p52_out_aaaga(T45, X10, T115, T22, T9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U22_ga(T22, T23, T24, T9, qs1_out_aa(.(T23, T44), X9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U21_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U23_ga(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_ga(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_ga(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U24_ga(T22, T23, T24, T9, p52_out_aaaga(T45, X10, T115, T22, T9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
qs1_in_ga(.(T239, .(T240, T241)), T9) → U25_ga(T239, T240, T241, T9, le33_in_gg(T239, T240))
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U26_ga(T239, T240, T241, T9, part20_in_ggaa(T239, T241, X437, X438))
U26_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, X437, X438)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U27_ga(T239, T240, T241, T9, part20_in_ggaa(T239, T241, T249, T250))
U27_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U28_ga(T239, T240, T241, T9, qs53_in_aa(T249, X9))
U28_ga(T239, T240, T241, T9, qs53_out_aa(T249, X9)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U27_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U29_ga(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_ga(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_ga(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
U30_ga(T239, T240, T241, T9, p52_out_aaaga(.(T240, T250), X10, T256, T239, T9)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
qs1_in_ga(.(T265, []), T9) → U31_ga(T265, T9, qs99_in_a(X9))
U31_ga(T265, T9, qs99_out_a(X9)) → qs1_out_ga(.(T265, []), T9)
qs1_in_ga(.(T265, []), T9) → U32_ga(T265, T9, qs99_in_a(T268))
U32_ga(T265, T9, qs99_out_a(T268)) → U33_ga(T265, T9, qs99_in_a(X10))
U33_ga(T265, T9, qs99_out_a(X10)) → qs1_out_ga(.(T265, []), T9)
U32_ga(T265, T9, qs99_out_a(T268)) → U34_ga(T265, T9, T268, qs99_in_a(T273))
U34_ga(T265, T9, T268, qs99_out_a(T273)) → U35_ga(T265, T9, app54_in_ggga(T268, T265, T273, T9))
app54_in_ggga(.(T210, T211), T212, T213, .(T210, T215)) → U15_ggga(T210, T211, T212, T213, T215, app54_in_ggga(T211, T212, T213, T215))
app54_in_ggga([], T225, T226, .(T225, T226)) → app54_out_ggga([], T225, T226, .(T225, T226))
U15_ggga(T210, T211, T212, T213, T215, app54_out_ggga(T211, T212, T213, T215)) → app54_out_ggga(.(T210, T211), T212, T213, .(T210, T215))
U35_ga(T265, T9, app54_out_ggga(T268, T265, T273, T9)) → qs1_out_ga(.(T265, []), T9)
qs1_in_ga([], []) → qs1_out_ga([], [])

The argument filtering Pi contains the following mapping:
qs1_in_ga(x1, x2)  =  qs1_in_ga(x1)
.(x1, x2)  =  .(x1, x2)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x2, x3, x5)
gt10_in_gg(x1, x2)  =  gt10_in_gg(x1, x2)
s(x1)  =  s(x1)
U1_gg(x1, x2, x3)  =  U1_gg(x1, x2, x3)
0  =  0
gt10_out_gg(x1, x2)  =  gt10_out_gg(x1, x2)
qs1_out_ga(x1, x2)  =  qs1_out_ga(x1)
U20_ga(x1, x2, x3, x4, x5)  =  U20_ga(x1, x2, x3, x5)
part20_in_ggaa(x1, x2, x3, x4)  =  part20_in_ggaa(x1, x2)
U2_ggaa(x1, x2, x3, x4, x5, x6)  =  U2_ggaa(x1, x2, x3, x6)
part20_out_ggaa(x1, x2, x3, x4)  =  part20_out_ggaa(x1, x2)
U3_ggaa(x1, x2, x3, x4, x5, x6)  =  U3_ggaa(x1, x2, x3, x6)
U4_ggaa(x1, x2, x3, x4, x5, x6)  =  U4_ggaa(x1, x2, x3, x6)
le33_in_gg(x1, x2)  =  le33_in_gg(x1, x2)
U6_gg(x1, x2, x3)  =  U6_gg(x1, x2, x3)
le33_out_gg(x1, x2)  =  le33_out_gg(x1, x2)
U5_ggaa(x1, x2, x3, x4, x5, x6)  =  U5_ggaa(x1, x2, x3, x6)
[]  =  []
U21_ga(x1, x2, x3, x4, x5)  =  U21_ga(x1, x2, x3, x5)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x1, x2, x3, x5)
qs1_in_aa(x1, x2)  =  qs1_in_aa
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(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_aa(x1, x2)  =  qs1_out_aa
U20_aa(x1, x2, x3, x4, x5)  =  U20_aa(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)
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)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U6_ga(x1, x2, x3)  =  U6_ga(x1, x3)
le33_out_ga(x1, x2)  =  le33_out_ga(x1)
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x1, x6)
U21_aa(x1, x2, x3, x4, x5)  =  U21_aa(x1, x5)
U22_aa(x1, x2, x3, x4, x5)  =  U22_aa(x5)
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
le33_in_aa(x1, x2)  =  le33_in_aa
U6_aa(x1, x2, x3)  =  U6_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
U26_aa(x1, x2, x3, x4, x5)  =  U26_aa(x5)
U27_aa(x1, x2, x3, x4, x5)  =  U27_aa(x1, x5)
U28_aa(x1, x2, x3, x4, x5)  =  U28_aa(x5)
qs53_in_aa(x1, x2)  =  qs53_in_aa
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
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)
qs53_out_aa(x1, x2)  =  qs53_out_aa
U8_aa(x1, x2, x3, x4)  =  U8_aa(x4)
U9_aa(x1, x2, x3, x4)  =  U9_aa(x4)
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4)  =  U11_aa(x4)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4)  =  U13_aa(x4)
app65_in_aaaa(x1, x2, x3, x4)  =  app65_in_aaaa
U14_aaaa(x1, x2, x3, x4, x5, x6)  =  U14_aaaa(x6)
app65_out_aaaa(x1, x2, x3, x4)  =  app65_out_aaaa
U29_aa(x1, x2, x3, x4, x5, x6)  =  U29_aa(x1, x6)
U30_aa(x1, x2, x3, x4, x5)  =  U30_aa(x5)
p52_in_aaaga(x1, x2, x3, x4, x5)  =  p52_in_aaaga(x4)
U16_aaaga(x1, x2, x3, x4, x5, x6)  =  U16_aaaga(x4, x6)
p52_out_aaaga(x1, x2, x3, x4, x5)  =  p52_out_aaaga(x4)
U17_aaaga(x1, x2, x3, x4, x5, x6)  =  U17_aaaga(x4, x6)
U18_aaaga(x1, x2, x3, x4, x5, x6)  =  U18_aaaga(x4, x6)
app54_in_agaa(x1, x2, x3, x4)  =  app54_in_agaa(x2)
U15_agaa(x1, x2, x3, x4, x5, x6)  =  U15_agaa(x3, x6)
app54_out_agaa(x1, x2, x3, x4)  =  app54_out_agaa(x2)
U31_aa(x1, x2, x3)  =  U31_aa(x3)
qs99_in_a(x1)  =  qs99_in_a
qs99_out_a(x1)  =  qs99_out_a(x1)
U32_aa(x1, x2, x3)  =  U32_aa(x3)
U33_aa(x1, x2, x3)  =  U33_aa(x3)
U34_aa(x1, x2, x3, x4)  =  U34_aa(x3, x4)
U35_aa(x1, x2, x3)  =  U35_aa(x3)
app54_in_gaga(x1, x2, x3, x4)  =  app54_in_gaga(x1, x3)
U15_gaga(x1, x2, x3, x4, x5, x6)  =  U15_gaga(x1, x2, x4, x6)
app54_out_gaga(x1, x2, x3, x4)  =  app54_out_gaga(x1, x3)
U23_aa(x1, x2, x3, x4, x5, x6)  =  U23_aa(x1, x6)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U23_ga(x1, x2, x3, x4, x5, x6)  =  U23_ga(x1, x2, x3, x6)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x1, x2, x3, x5)
U25_ga(x1, x2, x3, x4, x5)  =  U25_ga(x1, x2, x3, x5)
U26_ga(x1, x2, x3, x4, x5)  =  U26_ga(x1, x2, x3, x5)
U27_ga(x1, x2, x3, x4, x5)  =  U27_ga(x1, x2, x3, x5)
U28_ga(x1, x2, x3, x4, x5)  =  U28_ga(x1, x2, x3, x5)
U29_ga(x1, x2, x3, x4, x5, x6)  =  U29_ga(x1, x2, x3, x6)
U30_ga(x1, x2, x3, x4, x5)  =  U30_ga(x1, x2, x3, x5)
U31_ga(x1, x2, x3)  =  U31_ga(x1, x3)
U32_ga(x1, x2, x3)  =  U32_ga(x1, x3)
U33_ga(x1, x2, x3)  =  U33_ga(x1, x3)
U34_ga(x1, x2, x3, x4)  =  U34_ga(x1, x3, x4)
U35_ga(x1, x2, x3)  =  U35_ga(x1, x3)
app54_in_ggga(x1, x2, x3, x4)  =  app54_in_ggga(x1, x2, x3)
U15_ggga(x1, x2, x3, x4, x5, x6)  =  U15_ggga(x1, x2, x3, x4, x6)
app54_out_ggga(x1, x2, x3, x4)  =  app54_out_ggga(x1, x2, x3, x4)
QS1_IN_GA(x1, x2)  =  QS1_IN_GA(x1)
U19_GA(x1, x2, x3, x4, x5)  =  U19_GA(x1, x2, x3, x5)
GT10_IN_GG(x1, x2)  =  GT10_IN_GG(x1, x2)
U1_GG(x1, x2, x3)  =  U1_GG(x1, x2, x3)
U20_GA(x1, x2, x3, x4, x5)  =  U20_GA(x1, x2, x3, x5)
PART20_IN_GGAA(x1, x2, x3, x4)  =  PART20_IN_GGAA(x1, x2)
U2_GGAA(x1, x2, x3, x4, x5, x6)  =  U2_GGAA(x1, x2, x3, x6)
U3_GGAA(x1, x2, x3, x4, x5, x6)  =  U3_GGAA(x1, x2, x3, x6)
U4_GGAA(x1, x2, x3, x4, x5, x6)  =  U4_GGAA(x1, x2, x3, x6)
LE33_IN_GG(x1, x2)  =  LE33_IN_GG(x1, x2)
U6_GG(x1, x2, x3)  =  U6_GG(x1, x2, x3)
U5_GGAA(x1, x2, x3, x4, x5, x6)  =  U5_GGAA(x1, x2, x3, x6)
U21_GA(x1, x2, x3, x4, x5)  =  U21_GA(x1, x2, x3, x5)
U22_GA(x1, x2, x3, x4, x5)  =  U22_GA(x1, x2, x3, x5)
QS1_IN_AA(x1, x2)  =  QS1_IN_AA
U19_AA(x1, x2, x3, x4, x5)  =  U19_AA(x5)
GT10_IN_AA(x1, x2)  =  GT10_IN_AA
U1_AA(x1, x2, x3)  =  U1_AA(x3)
U20_AA(x1, x2, x3, x4, x5)  =  U20_AA(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)
LE33_IN_GA(x1, x2)  =  LE33_IN_GA(x1)
U6_GA(x1, x2, x3)  =  U6_GA(x1, x3)
U5_GAAA(x1, x2, x3, x4, x5, x6)  =  U5_GAAA(x1, x6)
U21_AA(x1, x2, x3, x4, x5)  =  U21_AA(x1, x5)
U22_AA(x1, x2, x3, x4, x5)  =  U22_AA(x5)
U25_AA(x1, x2, x3, x4, x5)  =  U25_AA(x5)
LE33_IN_AA(x1, x2)  =  LE33_IN_AA
U6_AA(x1, x2, x3)  =  U6_AA(x3)
U26_AA(x1, x2, x3, x4, x5)  =  U26_AA(x5)
U27_AA(x1, x2, x3, x4, x5)  =  U27_AA(x1, x5)
U28_AA(x1, x2, x3, x4, x5)  =  U28_AA(x5)
QS53_IN_AA(x1, x2)  =  QS53_IN_AA
U7_AA(x1, x2, x3, x4)  =  U7_AA(x4)
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)
U8_AA(x1, x2, x3, x4)  =  U8_AA(x4)
U9_AA(x1, x2, x3, x4)  =  U9_AA(x4)
U10_AA(x1, x2, x3, x4, x5)  =  U10_AA(x5)
U11_AA(x1, x2, x3, x4)  =  U11_AA(x4)
U12_AA(x1, x2, x3, x4, x5)  =  U12_AA(x5)
U13_AA(x1, x2, x3, x4)  =  U13_AA(x4)
APP65_IN_AAAA(x1, x2, x3, x4)  =  APP65_IN_AAAA
U14_AAAA(x1, x2, x3, x4, x5, x6)  =  U14_AAAA(x6)
U29_AA(x1, x2, x3, x4, x5, x6)  =  U29_AA(x1, x6)
U30_AA(x1, x2, x3, x4, x5)  =  U30_AA(x5)
P52_IN_AAAGA(x1, x2, x3, x4, x5)  =  P52_IN_AAAGA(x4)
U16_AAAGA(x1, x2, x3, x4, x5, x6)  =  U16_AAAGA(x4, x6)
U17_AAAGA(x1, x2, x3, x4, x5, x6)  =  U17_AAAGA(x4, x6)
U18_AAAGA(x1, x2, x3, x4, x5, x6)  =  U18_AAAGA(x4, x6)
APP54_IN_AGAA(x1, x2, x3, x4)  =  APP54_IN_AGAA(x2)
U15_AGAA(x1, x2, x3, x4, x5, x6)  =  U15_AGAA(x3, x6)
U31_AA(x1, x2, x3)  =  U31_AA(x3)
QS99_IN_A(x1)  =  QS99_IN_A
U32_AA(x1, x2, x3)  =  U32_AA(x3)
U33_AA(x1, x2, x3)  =  U33_AA(x3)
U34_AA(x1, x2, x3, x4)  =  U34_AA(x3, x4)
U35_AA(x1, x2, x3)  =  U35_AA(x3)
APP54_IN_GAGA(x1, x2, x3, x4)  =  APP54_IN_GAGA(x1, x3)
U15_GAGA(x1, x2, x3, x4, x5, x6)  =  U15_GAGA(x1, x2, x4, x6)
U23_AA(x1, x2, x3, x4, x5, x6)  =  U23_AA(x1, x6)
U24_AA(x1, x2, x3, x4, x5)  =  U24_AA(x5)
U23_GA(x1, x2, x3, x4, x5, x6)  =  U23_GA(x1, x2, x3, x6)
U24_GA(x1, x2, x3, x4, x5)  =  U24_GA(x1, x2, x3, x5)
U25_GA(x1, x2, x3, x4, x5)  =  U25_GA(x1, x2, x3, x5)
U26_GA(x1, x2, x3, x4, x5)  =  U26_GA(x1, x2, x3, x5)
U27_GA(x1, x2, x3, x4, x5)  =  U27_GA(x1, x2, x3, x5)
U28_GA(x1, x2, x3, x4, x5)  =  U28_GA(x1, x2, x3, x5)
U29_GA(x1, x2, x3, x4, x5, x6)  =  U29_GA(x1, x2, x3, x6)
U30_GA(x1, x2, x3, x4, x5)  =  U30_GA(x1, x2, x3, x5)
U31_GA(x1, x2, x3)  =  U31_GA(x1, x3)
U32_GA(x1, x2, x3)  =  U32_GA(x1, x3)
U33_GA(x1, x2, x3)  =  U33_GA(x1, x3)
U34_GA(x1, x2, x3, x4)  =  U34_GA(x1, x3, x4)
U35_GA(x1, x2, x3)  =  U35_GA(x1, x3)
APP54_IN_GGGA(x1, x2, x3, x4)  =  APP54_IN_GGGA(x1, x2, x3)
U15_GGGA(x1, x2, x3, x4, x5, x6)  =  U15_GGGA(x1, x2, x3, x4, 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_GA(.(T22, .(T23, T24)), T9) → U19_GA(T22, T23, T24, T9, gt10_in_gg(T22, T23))
QS1_IN_GA(.(T22, .(T23, T24)), T9) → GT10_IN_GG(T22, T23)
GT10_IN_GG(s(T37), s(T38)) → U1_GG(T37, T38, gt10_in_gg(T37, T38))
GT10_IN_GG(s(T37), s(T38)) → GT10_IN_GG(T37, T38)
U19_GA(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U20_GA(T22, T23, T24, T9, part20_in_ggaa(T22, T24, X47, X48))
U19_GA(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → PART20_IN_GGAA(T22, T24, X47, X48)
PART20_IN_GGAA(T61, .(T62, T63), .(T62, X119), X120) → U2_GGAA(T61, T62, T63, X119, X120, gt10_in_gg(T61, T62))
PART20_IN_GGAA(T61, .(T62, T63), .(T62, X119), X120) → GT10_IN_GG(T61, T62)
U2_GGAA(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → U3_GGAA(T61, T62, T63, X119, X120, part20_in_ggaa(T61, T63, X119, X120))
U2_GGAA(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → PART20_IN_GGAA(T61, T63, X119, X120)
PART20_IN_GGAA(T83, .(T84, T85), X170, .(T84, X171)) → U4_GGAA(T83, T84, T85, X170, X171, le33_in_gg(T83, T84))
PART20_IN_GGAA(T83, .(T84, T85), X170, .(T84, X171)) → LE33_IN_GG(T83, T84)
LE33_IN_GG(s(T98), s(T99)) → U6_GG(T98, T99, le33_in_gg(T98, T99))
LE33_IN_GG(s(T98), s(T99)) → LE33_IN_GG(T98, T99)
U4_GGAA(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → U5_GGAA(T83, T84, T85, X170, X171, part20_in_ggaa(T83, T85, X170, X171))
U4_GGAA(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → PART20_IN_GGAA(T83, T85, X170, X171)
U19_GA(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U21_GA(T22, T23, T24, T9, part20_in_ggaa(T22, T24, T44, T45))
U21_GA(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U22_GA(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
U21_GA(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → QS1_IN_AA(.(T23, T44), X9)
QS1_IN_AA(.(T22, .(T23, T24)), T9) → U19_AA(T22, T23, T24, T9, gt10_in_aa(T22, T23))
QS1_IN_AA(.(T22, .(T23, T24)), T9) → GT10_IN_AA(T22, T23)
GT10_IN_AA(s(T37), s(T38)) → U1_AA(T37, T38, gt10_in_aa(T37, T38))
GT10_IN_AA(s(T37), s(T38)) → GT10_IN_AA(T37, T38)
U19_AA(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U20_AA(T22, T23, T24, T9, part20_in_gaaa(T22, T24, X47, X48))
U19_AA(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → PART20_IN_GAAA(T22, T24, X47, X48)
PART20_IN_GAAA(T61, .(T62, T63), .(T62, X119), X120) → U2_GAAA(T61, T62, T63, X119, X120, gt10_in_ga(T61, T62))
PART20_IN_GAAA(T61, .(T62, T63), .(T62, X119), X120) → GT10_IN_GA(T61, T62)
GT10_IN_GA(s(T37), s(T38)) → U1_GA(T37, T38, gt10_in_ga(T37, T38))
GT10_IN_GA(s(T37), s(T38)) → GT10_IN_GA(T37, T38)
U2_GAAA(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → U3_GAAA(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
U2_GAAA(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → PART20_IN_GAAA(T61, T63, X119, X120)
PART20_IN_GAAA(T83, .(T84, T85), X170, .(T84, X171)) → U4_GAAA(T83, T84, T85, X170, X171, le33_in_ga(T83, T84))
PART20_IN_GAAA(T83, .(T84, T85), X170, .(T84, X171)) → LE33_IN_GA(T83, T84)
LE33_IN_GA(s(T98), s(T99)) → U6_GA(T98, T99, le33_in_ga(T98, T99))
LE33_IN_GA(s(T98), s(T99)) → LE33_IN_GA(T98, T99)
U4_GAAA(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → U5_GAAA(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
U4_GAAA(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → PART20_IN_GAAA(T83, T85, X170, X171)
U19_AA(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U21_AA(T22, T23, T24, T9, part20_in_gaaa(T22, T24, T44, T45))
U21_AA(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U22_AA(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
U21_AA(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → QS1_IN_AA(.(T23, T44), X9)
QS1_IN_AA(.(T239, .(T240, T241)), T9) → U25_AA(T239, T240, T241, T9, le33_in_aa(T239, T240))
QS1_IN_AA(.(T239, .(T240, T241)), T9) → LE33_IN_AA(T239, T240)
LE33_IN_AA(s(T98), s(T99)) → U6_AA(T98, T99, le33_in_aa(T98, T99))
LE33_IN_AA(s(T98), s(T99)) → LE33_IN_AA(T98, T99)
U25_AA(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U26_AA(T239, T240, T241, T9, part20_in_gaaa(T239, T241, X437, X438))
U25_AA(T239, T240, T241, T9, le33_out_aa(T239, T240)) → PART20_IN_GAAA(T239, T241, X437, X438)
U25_AA(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U27_AA(T239, T240, T241, T9, part20_in_gaaa(T239, T241, T249, T250))
U27_AA(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U28_AA(T239, T240, T241, T9, qs53_in_aa(T249, X9))
U27_AA(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → QS53_IN_AA(T249, X9)
QS53_IN_AA(.(T131, T132), X275) → U7_AA(T131, T132, X275, part20_in_aaaa(T131, T132, X271, X272))
QS53_IN_AA(.(T131, T132), X275) → PART20_IN_AAAA(T131, T132, X271, X272)
PART20_IN_AAAA(T61, .(T62, T63), .(T62, X119), X120) → U2_AAAA(T61, T62, T63, X119, X120, gt10_in_aa(T61, T62))
PART20_IN_AAAA(T61, .(T62, T63), .(T62, X119), X120) → GT10_IN_AA(T61, T62)
U2_AAAA(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → U3_AAAA(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
U2_AAAA(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → PART20_IN_GAAA(T61, T63, X119, X120)
PART20_IN_AAAA(T83, .(T84, T85), X170, .(T84, X171)) → U4_AAAA(T83, T84, T85, X170, X171, le33_in_aa(T83, T84))
PART20_IN_AAAA(T83, .(T84, T85), X170, .(T84, X171)) → LE33_IN_AA(T83, T84)
U4_AAAA(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → U5_AAAA(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
U4_AAAA(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → PART20_IN_GAAA(T83, T85, X170, X171)
QS53_IN_AA(.(T131, T132), X275) → U8_AA(T131, T132, X275, part20_in_aaaa(T131, T132, T136, T137))
U8_AA(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U9_AA(T131, T132, X275, qs53_in_aa(T136, X273))
U8_AA(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → QS53_IN_AA(T136, X273)
U8_AA(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U10_AA(T131, T132, X275, T137, qs53_in_aa(T136, T143))
U10_AA(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U11_AA(T131, T132, X275, qs53_in_aa(T137, X274))
U10_AA(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → QS53_IN_AA(T137, X274)
U10_AA(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U12_AA(T131, T132, X275, T143, qs53_in_aa(T137, T148))
U12_AA(T131, T132, X275, T143, qs53_out_aa(T137, T148)) → U13_AA(T131, T132, X275, app65_in_aaaa(T143, T131, T148, X275))
U12_AA(T131, T132, X275, T143, qs53_out_aa(T137, T148)) → APP65_IN_AAAA(T143, T131, T148, X275)
APP65_IN_AAAA(.(T171, T172), T173, T174, .(T171, X354)) → U14_AAAA(T171, T172, T173, T174, X354, app65_in_aaaa(T172, T173, T174, X354))
APP65_IN_AAAA(.(T171, T172), T173, T174, .(T171, X354)) → APP65_IN_AAAA(T172, T173, T174, X354)
U27_AA(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U29_AA(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_AA(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_AA(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
U29_AA(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → P52_IN_AAAGA(.(T240, T250), X10, T256, T239, T9)
P52_IN_AAAGA(T45, X10, T115, T22, T9) → U16_AAAGA(T45, X10, T115, T22, T9, qs53_in_aa(T45, X10))
P52_IN_AAAGA(T45, X10, T115, T22, T9) → QS53_IN_AA(T45, X10)
P52_IN_AAAGA(T45, T120, T115, T22, T9) → U17_AAAGA(T45, T120, T115, T22, T9, qs53_in_aa(T45, T120))
U17_AAAGA(T45, T120, T115, T22, T9, qs53_out_aa(T45, T120)) → U18_AAAGA(T45, T120, T115, T22, T9, app54_in_agaa(T115, T22, T120, T9))
U17_AAAGA(T45, T120, T115, T22, T9, qs53_out_aa(T45, T120)) → APP54_IN_AGAA(T115, T22, T120, T9)
APP54_IN_AGAA(.(T210, T211), T212, T213, .(T210, T215)) → U15_AGAA(T210, T211, T212, T213, T215, app54_in_agaa(T211, T212, T213, T215))
APP54_IN_AGAA(.(T210, T211), T212, T213, .(T210, T215)) → APP54_IN_AGAA(T211, T212, T213, T215)
QS1_IN_AA(.(T265, []), T9) → U31_AA(T265, T9, qs99_in_a(X9))
QS1_IN_AA(.(T265, []), T9) → QS99_IN_A(X9)
QS1_IN_AA(.(T265, []), T9) → U32_AA(T265, T9, qs99_in_a(T268))
U32_AA(T265, T9, qs99_out_a(T268)) → U33_AA(T265, T9, qs99_in_a(X10))
U32_AA(T265, T9, qs99_out_a(T268)) → QS99_IN_A(X10)
U32_AA(T265, T9, qs99_out_a(T268)) → U34_AA(T265, T9, T268, qs99_in_a(T273))
U34_AA(T265, T9, T268, qs99_out_a(T273)) → U35_AA(T265, T9, app54_in_gaga(T268, T265, T273, T9))
U34_AA(T265, T9, T268, qs99_out_a(T273)) → APP54_IN_GAGA(T268, T265, T273, T9)
APP54_IN_GAGA(.(T210, T211), T212, T213, .(T210, T215)) → U15_GAGA(T210, T211, T212, T213, T215, app54_in_gaga(T211, T212, T213, T215))
APP54_IN_GAGA(.(T210, T211), T212, T213, .(T210, T215)) → APP54_IN_GAGA(T211, T212, T213, T215)
U21_AA(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U23_AA(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_AA(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_AA(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U23_AA(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → P52_IN_AAAGA(T45, X10, T115, T22, T9)
U21_GA(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U23_GA(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_GA(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_GA(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U23_GA(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → P52_IN_AAAGA(T45, X10, T115, T22, T9)
QS1_IN_GA(.(T239, .(T240, T241)), T9) → U25_GA(T239, T240, T241, T9, le33_in_gg(T239, T240))
QS1_IN_GA(.(T239, .(T240, T241)), T9) → LE33_IN_GG(T239, T240)
U25_GA(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U26_GA(T239, T240, T241, T9, part20_in_ggaa(T239, T241, X437, X438))
U25_GA(T239, T240, T241, T9, le33_out_gg(T239, T240)) → PART20_IN_GGAA(T239, T241, X437, X438)
U25_GA(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U27_GA(T239, T240, T241, T9, part20_in_ggaa(T239, T241, T249, T250))
U27_GA(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U28_GA(T239, T240, T241, T9, qs53_in_aa(T249, X9))
U27_GA(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → QS53_IN_AA(T249, X9)
U27_GA(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U29_GA(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_GA(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_GA(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
U29_GA(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → P52_IN_AAAGA(.(T240, T250), X10, T256, T239, T9)
QS1_IN_GA(.(T265, []), T9) → U31_GA(T265, T9, qs99_in_a(X9))
QS1_IN_GA(.(T265, []), T9) → QS99_IN_A(X9)
QS1_IN_GA(.(T265, []), T9) → U32_GA(T265, T9, qs99_in_a(T268))
U32_GA(T265, T9, qs99_out_a(T268)) → U33_GA(T265, T9, qs99_in_a(X10))
U32_GA(T265, T9, qs99_out_a(T268)) → QS99_IN_A(X10)
U32_GA(T265, T9, qs99_out_a(T268)) → U34_GA(T265, T9, T268, qs99_in_a(T273))
U34_GA(T265, T9, T268, qs99_out_a(T273)) → U35_GA(T265, T9, app54_in_ggga(T268, T265, T273, T9))
U34_GA(T265, T9, T268, qs99_out_a(T273)) → APP54_IN_GGGA(T268, T265, T273, T9)
APP54_IN_GGGA(.(T210, T211), T212, T213, .(T210, T215)) → U15_GGGA(T210, T211, T212, T213, T215, app54_in_ggga(T211, T212, T213, T215))
APP54_IN_GGGA(.(T210, T211), T212, T213, .(T210, T215)) → APP54_IN_GGGA(T211, T212, T213, T215)

The TRS R consists of the following rules:

qs1_in_ga(.(T22, .(T23, T24)), T9) → U19_ga(T22, T23, T24, T9, gt10_in_gg(T22, T23))
gt10_in_gg(s(T37), s(T38)) → U1_gg(T37, T38, gt10_in_gg(T37, T38))
gt10_in_gg(s(0), 0) → gt10_out_gg(s(0), 0)
U1_gg(T37, T38, gt10_out_gg(T37, T38)) → gt10_out_gg(s(T37), s(T38))
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U20_ga(T22, T23, T24, T9, part20_in_ggaa(T22, T24, X47, X48))
part20_in_ggaa(T61, .(T62, T63), .(T62, X119), X120) → U2_ggaa(T61, T62, T63, X119, X120, gt10_in_gg(T61, T62))
U2_ggaa(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → part20_out_ggaa(T61, .(T62, T63), .(T62, X119), X120)
U2_ggaa(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → U3_ggaa(T61, T62, T63, X119, X120, part20_in_ggaa(T61, T63, X119, X120))
part20_in_ggaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_ggaa(T83, T84, T85, X170, X171, le33_in_gg(T83, T84))
le33_in_gg(s(T98), s(T99)) → U6_gg(T98, T99, le33_in_gg(T98, T99))
le33_in_gg(0, s(T106)) → le33_out_gg(0, s(T106))
le33_in_gg(0, 0) → le33_out_gg(0, 0)
U6_gg(T98, T99, le33_out_gg(T98, T99)) → le33_out_gg(s(T98), s(T99))
U4_ggaa(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → part20_out_ggaa(T83, .(T84, T85), X170, .(T84, X171))
U4_ggaa(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → U5_ggaa(T83, T84, T85, X170, X171, part20_in_ggaa(T83, T85, X170, X171))
part20_in_ggaa(T112, [], [], []) → part20_out_ggaa(T112, [], [], [])
U5_ggaa(T83, T84, T85, X170, X171, part20_out_ggaa(T83, T85, X170, X171)) → part20_out_ggaa(T83, .(T84, T85), X170, .(T84, X171))
U3_ggaa(T61, T62, T63, X119, X120, part20_out_ggaa(T61, T63, X119, X120)) → part20_out_ggaa(T61, .(T62, T63), .(T62, X119), X120)
U20_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, X47, X48)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U21_ga(T22, T23, T24, T9, part20_in_ggaa(T22, T24, T44, T45))
U21_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U22_ga(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
qs1_in_aa(.(T22, .(T23, T24)), T9) → U19_aa(T22, T23, T24, T9, gt10_in_aa(T22, T23))
gt10_in_aa(s(T37), s(T38)) → U1_aa(T37, T38, gt10_in_aa(T37, T38))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U1_aa(T37, T38, gt10_out_aa(T37, T38)) → gt10_out_aa(s(T37), s(T38))
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U20_aa(T22, T23, T24, T9, part20_in_gaaa(T22, T24, X47, X48))
part20_in_gaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_gaaa(T61, T62, T63, X119, X120, gt10_in_ga(T61, T62))
gt10_in_ga(s(T37), s(T38)) → U1_ga(T37, T38, gt10_in_ga(T37, T38))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U1_ga(T37, T38, gt10_out_ga(T37, T38)) → gt10_out_ga(s(T37), s(T38))
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → U3_gaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
part20_in_gaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_gaaa(T83, T84, T85, X170, X171, le33_in_ga(T83, T84))
le33_in_ga(s(T98), s(T99)) → U6_ga(T98, T99, le33_in_ga(T98, T99))
le33_in_ga(0, s(T106)) → le33_out_ga(0, s(T106))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U6_ga(T98, T99, le33_out_ga(T98, T99)) → le33_out_ga(s(T98), s(T99))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → U5_gaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
part20_in_gaaa(T112, [], [], []) → part20_out_gaaa(T112, [], [], [])
U5_gaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U3_gaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U20_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, X47, X48)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U21_aa(T22, T23, T24, T9, part20_in_gaaa(T22, T24, T44, T45))
U21_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U22_aa(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
qs1_in_aa(.(T239, .(T240, T241)), T9) → U25_aa(T239, T240, T241, T9, le33_in_aa(T239, T240))
le33_in_aa(s(T98), s(T99)) → U6_aa(T98, T99, le33_in_aa(T98, T99))
le33_in_aa(0, s(T106)) → le33_out_aa(0, s(T106))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U6_aa(T98, T99, le33_out_aa(T98, T99)) → le33_out_aa(s(T98), s(T99))
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U26_aa(T239, T240, T241, T9, part20_in_gaaa(T239, T241, X437, X438))
U26_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, X437, X438)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U27_aa(T239, T240, T241, T9, part20_in_gaaa(T239, T241, T249, T250))
U27_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U28_aa(T239, T240, T241, T9, qs53_in_aa(T249, X9))
qs53_in_aa(.(T131, T132), X275) → U7_aa(T131, T132, X275, part20_in_aaaa(T131, T132, X271, X272))
part20_in_aaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_aaaa(T61, T62, T63, X119, X120, gt10_in_aa(T61, T62))
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → U3_aaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
U3_aaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
part20_in_aaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_aaaa(T83, T84, T85, X170, X171, le33_in_aa(T83, T84))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → U5_aaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
U5_aaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
part20_in_aaaa(T112, [], [], []) → part20_out_aaaa(T112, [], [], [])
U7_aa(T131, T132, X275, part20_out_aaaa(T131, T132, X271, X272)) → qs53_out_aa(.(T131, T132), X275)
qs53_in_aa(.(T131, T132), X275) → U8_aa(T131, T132, X275, part20_in_aaaa(T131, T132, T136, T137))
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U9_aa(T131, T132, X275, qs53_in_aa(T136, X273))
qs53_in_aa([], []) → qs53_out_aa([], [])
U9_aa(T131, T132, X275, qs53_out_aa(T136, X273)) → qs53_out_aa(.(T131, T132), X275)
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U10_aa(T131, T132, X275, T137, qs53_in_aa(T136, T143))
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U11_aa(T131, T132, X275, qs53_in_aa(T137, X274))
U11_aa(T131, T132, X275, qs53_out_aa(T137, X274)) → qs53_out_aa(.(T131, T132), X275)
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U12_aa(T131, T132, X275, T143, qs53_in_aa(T137, T148))
U12_aa(T131, T132, X275, T143, qs53_out_aa(T137, T148)) → U13_aa(T131, T132, X275, app65_in_aaaa(T143, T131, T148, X275))
app65_in_aaaa(.(T171, T172), T173, T174, .(T171, X354)) → U14_aaaa(T171, T172, T173, T174, X354, app65_in_aaaa(T172, T173, T174, X354))
app65_in_aaaa([], T183, T184, .(T183, T184)) → app65_out_aaaa([], T183, T184, .(T183, T184))
U14_aaaa(T171, T172, T173, T174, X354, app65_out_aaaa(T172, T173, T174, X354)) → app65_out_aaaa(.(T171, T172), T173, T174, .(T171, X354))
U13_aa(T131, T132, X275, app65_out_aaaa(T143, T131, T148, X275)) → qs53_out_aa(.(T131, T132), X275)
U28_aa(T239, T240, T241, T9, qs53_out_aa(T249, X9)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U27_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U29_aa(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_aa(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_aa(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
p52_in_aaaga(T45, X10, T115, T22, T9) → U16_aaaga(T45, X10, T115, T22, T9, qs53_in_aa(T45, X10))
U16_aaaga(T45, X10, T115, T22, T9, qs53_out_aa(T45, X10)) → p52_out_aaaga(T45, X10, T115, T22, T9)
p52_in_aaaga(T45, T120, T115, T22, T9) → U17_aaaga(T45, T120, T115, T22, T9, qs53_in_aa(T45, T120))
U17_aaaga(T45, T120, T115, T22, T9, qs53_out_aa(T45, T120)) → U18_aaaga(T45, T120, T115, T22, T9, app54_in_agaa(T115, T22, T120, T9))
app54_in_agaa(.(T210, T211), T212, T213, .(T210, T215)) → U15_agaa(T210, T211, T212, T213, T215, app54_in_agaa(T211, T212, T213, T215))
app54_in_agaa([], T225, T226, .(T225, T226)) → app54_out_agaa([], T225, T226, .(T225, T226))
U15_agaa(T210, T211, T212, T213, T215, app54_out_agaa(T211, T212, T213, T215)) → app54_out_agaa(.(T210, T211), T212, T213, .(T210, T215))
U18_aaaga(T45, T120, T115, T22, T9, app54_out_agaa(T115, T22, T120, T9)) → p52_out_aaaga(T45, T120, T115, T22, T9)
U30_aa(T239, T240, T241, T9, p52_out_aaaga(.(T240, T250), X10, T256, T239, T9)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
qs1_in_aa(.(T265, []), T9) → U31_aa(T265, T9, qs99_in_a(X9))
qs99_in_a([]) → qs99_out_a([])
U31_aa(T265, T9, qs99_out_a(X9)) → qs1_out_aa(.(T265, []), T9)
qs1_in_aa(.(T265, []), T9) → U32_aa(T265, T9, qs99_in_a(T268))
U32_aa(T265, T9, qs99_out_a(T268)) → U33_aa(T265, T9, qs99_in_a(X10))
U33_aa(T265, T9, qs99_out_a(X10)) → qs1_out_aa(.(T265, []), T9)
U32_aa(T265, T9, qs99_out_a(T268)) → U34_aa(T265, T9, T268, qs99_in_a(T273))
U34_aa(T265, T9, T268, qs99_out_a(T273)) → U35_aa(T265, T9, app54_in_gaga(T268, T265, T273, T9))
app54_in_gaga(.(T210, T211), T212, T213, .(T210, T215)) → U15_gaga(T210, T211, T212, T213, T215, app54_in_gaga(T211, T212, T213, T215))
app54_in_gaga([], T225, T226, .(T225, T226)) → app54_out_gaga([], T225, T226, .(T225, T226))
U15_gaga(T210, T211, T212, T213, T215, app54_out_gaga(T211, T212, T213, T215)) → app54_out_gaga(.(T210, T211), T212, T213, .(T210, T215))
U35_aa(T265, T9, app54_out_gaga(T268, T265, T273, T9)) → qs1_out_aa(.(T265, []), T9)
qs1_in_aa([], []) → qs1_out_aa([], [])
U22_aa(T22, T23, T24, T9, qs1_out_aa(.(T23, T44), X9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U21_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U23_aa(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_aa(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_aa(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U24_aa(T22, T23, T24, T9, p52_out_aaaga(T45, X10, T115, T22, T9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U22_ga(T22, T23, T24, T9, qs1_out_aa(.(T23, T44), X9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U21_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U23_ga(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_ga(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_ga(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U24_ga(T22, T23, T24, T9, p52_out_aaaga(T45, X10, T115, T22, T9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
qs1_in_ga(.(T239, .(T240, T241)), T9) → U25_ga(T239, T240, T241, T9, le33_in_gg(T239, T240))
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U26_ga(T239, T240, T241, T9, part20_in_ggaa(T239, T241, X437, X438))
U26_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, X437, X438)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U27_ga(T239, T240, T241, T9, part20_in_ggaa(T239, T241, T249, T250))
U27_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U28_ga(T239, T240, T241, T9, qs53_in_aa(T249, X9))
U28_ga(T239, T240, T241, T9, qs53_out_aa(T249, X9)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U27_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U29_ga(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_ga(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_ga(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
U30_ga(T239, T240, T241, T9, p52_out_aaaga(.(T240, T250), X10, T256, T239, T9)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
qs1_in_ga(.(T265, []), T9) → U31_ga(T265, T9, qs99_in_a(X9))
U31_ga(T265, T9, qs99_out_a(X9)) → qs1_out_ga(.(T265, []), T9)
qs1_in_ga(.(T265, []), T9) → U32_ga(T265, T9, qs99_in_a(T268))
U32_ga(T265, T9, qs99_out_a(T268)) → U33_ga(T265, T9, qs99_in_a(X10))
U33_ga(T265, T9, qs99_out_a(X10)) → qs1_out_ga(.(T265, []), T9)
U32_ga(T265, T9, qs99_out_a(T268)) → U34_ga(T265, T9, T268, qs99_in_a(T273))
U34_ga(T265, T9, T268, qs99_out_a(T273)) → U35_ga(T265, T9, app54_in_ggga(T268, T265, T273, T9))
app54_in_ggga(.(T210, T211), T212, T213, .(T210, T215)) → U15_ggga(T210, T211, T212, T213, T215, app54_in_ggga(T211, T212, T213, T215))
app54_in_ggga([], T225, T226, .(T225, T226)) → app54_out_ggga([], T225, T226, .(T225, T226))
U15_ggga(T210, T211, T212, T213, T215, app54_out_ggga(T211, T212, T213, T215)) → app54_out_ggga(.(T210, T211), T212, T213, .(T210, T215))
U35_ga(T265, T9, app54_out_ggga(T268, T265, T273, T9)) → qs1_out_ga(.(T265, []), T9)
qs1_in_ga([], []) → qs1_out_ga([], [])

The argument filtering Pi contains the following mapping:
qs1_in_ga(x1, x2)  =  qs1_in_ga(x1)
.(x1, x2)  =  .(x1, x2)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x2, x3, x5)
gt10_in_gg(x1, x2)  =  gt10_in_gg(x1, x2)
s(x1)  =  s(x1)
U1_gg(x1, x2, x3)  =  U1_gg(x1, x2, x3)
0  =  0
gt10_out_gg(x1, x2)  =  gt10_out_gg(x1, x2)
qs1_out_ga(x1, x2)  =  qs1_out_ga(x1)
U20_ga(x1, x2, x3, x4, x5)  =  U20_ga(x1, x2, x3, x5)
part20_in_ggaa(x1, x2, x3, x4)  =  part20_in_ggaa(x1, x2)
U2_ggaa(x1, x2, x3, x4, x5, x6)  =  U2_ggaa(x1, x2, x3, x6)
part20_out_ggaa(x1, x2, x3, x4)  =  part20_out_ggaa(x1, x2)
U3_ggaa(x1, x2, x3, x4, x5, x6)  =  U3_ggaa(x1, x2, x3, x6)
U4_ggaa(x1, x2, x3, x4, x5, x6)  =  U4_ggaa(x1, x2, x3, x6)
le33_in_gg(x1, x2)  =  le33_in_gg(x1, x2)
U6_gg(x1, x2, x3)  =  U6_gg(x1, x2, x3)
le33_out_gg(x1, x2)  =  le33_out_gg(x1, x2)
U5_ggaa(x1, x2, x3, x4, x5, x6)  =  U5_ggaa(x1, x2, x3, x6)
[]  =  []
U21_ga(x1, x2, x3, x4, x5)  =  U21_ga(x1, x2, x3, x5)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x1, x2, x3, x5)
qs1_in_aa(x1, x2)  =  qs1_in_aa
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(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_aa(x1, x2)  =  qs1_out_aa
U20_aa(x1, x2, x3, x4, x5)  =  U20_aa(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)
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)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U6_ga(x1, x2, x3)  =  U6_ga(x1, x3)
le33_out_ga(x1, x2)  =  le33_out_ga(x1)
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x1, x6)
U21_aa(x1, x2, x3, x4, x5)  =  U21_aa(x1, x5)
U22_aa(x1, x2, x3, x4, x5)  =  U22_aa(x5)
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
le33_in_aa(x1, x2)  =  le33_in_aa
U6_aa(x1, x2, x3)  =  U6_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
U26_aa(x1, x2, x3, x4, x5)  =  U26_aa(x5)
U27_aa(x1, x2, x3, x4, x5)  =  U27_aa(x1, x5)
U28_aa(x1, x2, x3, x4, x5)  =  U28_aa(x5)
qs53_in_aa(x1, x2)  =  qs53_in_aa
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
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)
qs53_out_aa(x1, x2)  =  qs53_out_aa
U8_aa(x1, x2, x3, x4)  =  U8_aa(x4)
U9_aa(x1, x2, x3, x4)  =  U9_aa(x4)
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4)  =  U11_aa(x4)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4)  =  U13_aa(x4)
app65_in_aaaa(x1, x2, x3, x4)  =  app65_in_aaaa
U14_aaaa(x1, x2, x3, x4, x5, x6)  =  U14_aaaa(x6)
app65_out_aaaa(x1, x2, x3, x4)  =  app65_out_aaaa
U29_aa(x1, x2, x3, x4, x5, x6)  =  U29_aa(x1, x6)
U30_aa(x1, x2, x3, x4, x5)  =  U30_aa(x5)
p52_in_aaaga(x1, x2, x3, x4, x5)  =  p52_in_aaaga(x4)
U16_aaaga(x1, x2, x3, x4, x5, x6)  =  U16_aaaga(x4, x6)
p52_out_aaaga(x1, x2, x3, x4, x5)  =  p52_out_aaaga(x4)
U17_aaaga(x1, x2, x3, x4, x5, x6)  =  U17_aaaga(x4, x6)
U18_aaaga(x1, x2, x3, x4, x5, x6)  =  U18_aaaga(x4, x6)
app54_in_agaa(x1, x2, x3, x4)  =  app54_in_agaa(x2)
U15_agaa(x1, x2, x3, x4, x5, x6)  =  U15_agaa(x3, x6)
app54_out_agaa(x1, x2, x3, x4)  =  app54_out_agaa(x2)
U31_aa(x1, x2, x3)  =  U31_aa(x3)
qs99_in_a(x1)  =  qs99_in_a
qs99_out_a(x1)  =  qs99_out_a(x1)
U32_aa(x1, x2, x3)  =  U32_aa(x3)
U33_aa(x1, x2, x3)  =  U33_aa(x3)
U34_aa(x1, x2, x3, x4)  =  U34_aa(x3, x4)
U35_aa(x1, x2, x3)  =  U35_aa(x3)
app54_in_gaga(x1, x2, x3, x4)  =  app54_in_gaga(x1, x3)
U15_gaga(x1, x2, x3, x4, x5, x6)  =  U15_gaga(x1, x2, x4, x6)
app54_out_gaga(x1, x2, x3, x4)  =  app54_out_gaga(x1, x3)
U23_aa(x1, x2, x3, x4, x5, x6)  =  U23_aa(x1, x6)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U23_ga(x1, x2, x3, x4, x5, x6)  =  U23_ga(x1, x2, x3, x6)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x1, x2, x3, x5)
U25_ga(x1, x2, x3, x4, x5)  =  U25_ga(x1, x2, x3, x5)
U26_ga(x1, x2, x3, x4, x5)  =  U26_ga(x1, x2, x3, x5)
U27_ga(x1, x2, x3, x4, x5)  =  U27_ga(x1, x2, x3, x5)
U28_ga(x1, x2, x3, x4, x5)  =  U28_ga(x1, x2, x3, x5)
U29_ga(x1, x2, x3, x4, x5, x6)  =  U29_ga(x1, x2, x3, x6)
U30_ga(x1, x2, x3, x4, x5)  =  U30_ga(x1, x2, x3, x5)
U31_ga(x1, x2, x3)  =  U31_ga(x1, x3)
U32_ga(x1, x2, x3)  =  U32_ga(x1, x3)
U33_ga(x1, x2, x3)  =  U33_ga(x1, x3)
U34_ga(x1, x2, x3, x4)  =  U34_ga(x1, x3, x4)
U35_ga(x1, x2, x3)  =  U35_ga(x1, x3)
app54_in_ggga(x1, x2, x3, x4)  =  app54_in_ggga(x1, x2, x3)
U15_ggga(x1, x2, x3, x4, x5, x6)  =  U15_ggga(x1, x2, x3, x4, x6)
app54_out_ggga(x1, x2, x3, x4)  =  app54_out_ggga(x1, x2, x3, x4)
QS1_IN_GA(x1, x2)  =  QS1_IN_GA(x1)
U19_GA(x1, x2, x3, x4, x5)  =  U19_GA(x1, x2, x3, x5)
GT10_IN_GG(x1, x2)  =  GT10_IN_GG(x1, x2)
U1_GG(x1, x2, x3)  =  U1_GG(x1, x2, x3)
U20_GA(x1, x2, x3, x4, x5)  =  U20_GA(x1, x2, x3, x5)
PART20_IN_GGAA(x1, x2, x3, x4)  =  PART20_IN_GGAA(x1, x2)
U2_GGAA(x1, x2, x3, x4, x5, x6)  =  U2_GGAA(x1, x2, x3, x6)
U3_GGAA(x1, x2, x3, x4, x5, x6)  =  U3_GGAA(x1, x2, x3, x6)
U4_GGAA(x1, x2, x3, x4, x5, x6)  =  U4_GGAA(x1, x2, x3, x6)
LE33_IN_GG(x1, x2)  =  LE33_IN_GG(x1, x2)
U6_GG(x1, x2, x3)  =  U6_GG(x1, x2, x3)
U5_GGAA(x1, x2, x3, x4, x5, x6)  =  U5_GGAA(x1, x2, x3, x6)
U21_GA(x1, x2, x3, x4, x5)  =  U21_GA(x1, x2, x3, x5)
U22_GA(x1, x2, x3, x4, x5)  =  U22_GA(x1, x2, x3, x5)
QS1_IN_AA(x1, x2)  =  QS1_IN_AA
U19_AA(x1, x2, x3, x4, x5)  =  U19_AA(x5)
GT10_IN_AA(x1, x2)  =  GT10_IN_AA
U1_AA(x1, x2, x3)  =  U1_AA(x3)
U20_AA(x1, x2, x3, x4, x5)  =  U20_AA(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)
LE33_IN_GA(x1, x2)  =  LE33_IN_GA(x1)
U6_GA(x1, x2, x3)  =  U6_GA(x1, x3)
U5_GAAA(x1, x2, x3, x4, x5, x6)  =  U5_GAAA(x1, x6)
U21_AA(x1, x2, x3, x4, x5)  =  U21_AA(x1, x5)
U22_AA(x1, x2, x3, x4, x5)  =  U22_AA(x5)
U25_AA(x1, x2, x3, x4, x5)  =  U25_AA(x5)
LE33_IN_AA(x1, x2)  =  LE33_IN_AA
U6_AA(x1, x2, x3)  =  U6_AA(x3)
U26_AA(x1, x2, x3, x4, x5)  =  U26_AA(x5)
U27_AA(x1, x2, x3, x4, x5)  =  U27_AA(x1, x5)
U28_AA(x1, x2, x3, x4, x5)  =  U28_AA(x5)
QS53_IN_AA(x1, x2)  =  QS53_IN_AA
U7_AA(x1, x2, x3, x4)  =  U7_AA(x4)
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)
U8_AA(x1, x2, x3, x4)  =  U8_AA(x4)
U9_AA(x1, x2, x3, x4)  =  U9_AA(x4)
U10_AA(x1, x2, x3, x4, x5)  =  U10_AA(x5)
U11_AA(x1, x2, x3, x4)  =  U11_AA(x4)
U12_AA(x1, x2, x3, x4, x5)  =  U12_AA(x5)
U13_AA(x1, x2, x3, x4)  =  U13_AA(x4)
APP65_IN_AAAA(x1, x2, x3, x4)  =  APP65_IN_AAAA
U14_AAAA(x1, x2, x3, x4, x5, x6)  =  U14_AAAA(x6)
U29_AA(x1, x2, x3, x4, x5, x6)  =  U29_AA(x1, x6)
U30_AA(x1, x2, x3, x4, x5)  =  U30_AA(x5)
P52_IN_AAAGA(x1, x2, x3, x4, x5)  =  P52_IN_AAAGA(x4)
U16_AAAGA(x1, x2, x3, x4, x5, x6)  =  U16_AAAGA(x4, x6)
U17_AAAGA(x1, x2, x3, x4, x5, x6)  =  U17_AAAGA(x4, x6)
U18_AAAGA(x1, x2, x3, x4, x5, x6)  =  U18_AAAGA(x4, x6)
APP54_IN_AGAA(x1, x2, x3, x4)  =  APP54_IN_AGAA(x2)
U15_AGAA(x1, x2, x3, x4, x5, x6)  =  U15_AGAA(x3, x6)
U31_AA(x1, x2, x3)  =  U31_AA(x3)
QS99_IN_A(x1)  =  QS99_IN_A
U32_AA(x1, x2, x3)  =  U32_AA(x3)
U33_AA(x1, x2, x3)  =  U33_AA(x3)
U34_AA(x1, x2, x3, x4)  =  U34_AA(x3, x4)
U35_AA(x1, x2, x3)  =  U35_AA(x3)
APP54_IN_GAGA(x1, x2, x3, x4)  =  APP54_IN_GAGA(x1, x3)
U15_GAGA(x1, x2, x3, x4, x5, x6)  =  U15_GAGA(x1, x2, x4, x6)
U23_AA(x1, x2, x3, x4, x5, x6)  =  U23_AA(x1, x6)
U24_AA(x1, x2, x3, x4, x5)  =  U24_AA(x5)
U23_GA(x1, x2, x3, x4, x5, x6)  =  U23_GA(x1, x2, x3, x6)
U24_GA(x1, x2, x3, x4, x5)  =  U24_GA(x1, x2, x3, x5)
U25_GA(x1, x2, x3, x4, x5)  =  U25_GA(x1, x2, x3, x5)
U26_GA(x1, x2, x3, x4, x5)  =  U26_GA(x1, x2, x3, x5)
U27_GA(x1, x2, x3, x4, x5)  =  U27_GA(x1, x2, x3, x5)
U28_GA(x1, x2, x3, x4, x5)  =  U28_GA(x1, x2, x3, x5)
U29_GA(x1, x2, x3, x4, x5, x6)  =  U29_GA(x1, x2, x3, x6)
U30_GA(x1, x2, x3, x4, x5)  =  U30_GA(x1, x2, x3, x5)
U31_GA(x1, x2, x3)  =  U31_GA(x1, x3)
U32_GA(x1, x2, x3)  =  U32_GA(x1, x3)
U33_GA(x1, x2, x3)  =  U33_GA(x1, x3)
U34_GA(x1, x2, x3, x4)  =  U34_GA(x1, x3, x4)
U35_GA(x1, x2, x3)  =  U35_GA(x1, x3)
APP54_IN_GGGA(x1, x2, x3, x4)  =  APP54_IN_GGGA(x1, x2, x3)
U15_GGGA(x1, x2, x3, x4, x5, x6)  =  U15_GGGA(x1, x2, x3, x4, x6)

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

(7) DependencyGraphProof (EQUIVALENT transformation)

The approximation of the Dependency Graph [LOPSTR] contains 14 SCCs with 91 less nodes.

(8) Complex Obligation (AND)

(9) Obligation:

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

APP54_IN_GGGA(.(T210, T211), T212, T213, .(T210, T215)) → APP54_IN_GGGA(T211, T212, T213, T215)

The TRS R consists of the following rules:

qs1_in_ga(.(T22, .(T23, T24)), T9) → U19_ga(T22, T23, T24, T9, gt10_in_gg(T22, T23))
gt10_in_gg(s(T37), s(T38)) → U1_gg(T37, T38, gt10_in_gg(T37, T38))
gt10_in_gg(s(0), 0) → gt10_out_gg(s(0), 0)
U1_gg(T37, T38, gt10_out_gg(T37, T38)) → gt10_out_gg(s(T37), s(T38))
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U20_ga(T22, T23, T24, T9, part20_in_ggaa(T22, T24, X47, X48))
part20_in_ggaa(T61, .(T62, T63), .(T62, X119), X120) → U2_ggaa(T61, T62, T63, X119, X120, gt10_in_gg(T61, T62))
U2_ggaa(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → part20_out_ggaa(T61, .(T62, T63), .(T62, X119), X120)
U2_ggaa(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → U3_ggaa(T61, T62, T63, X119, X120, part20_in_ggaa(T61, T63, X119, X120))
part20_in_ggaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_ggaa(T83, T84, T85, X170, X171, le33_in_gg(T83, T84))
le33_in_gg(s(T98), s(T99)) → U6_gg(T98, T99, le33_in_gg(T98, T99))
le33_in_gg(0, s(T106)) → le33_out_gg(0, s(T106))
le33_in_gg(0, 0) → le33_out_gg(0, 0)
U6_gg(T98, T99, le33_out_gg(T98, T99)) → le33_out_gg(s(T98), s(T99))
U4_ggaa(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → part20_out_ggaa(T83, .(T84, T85), X170, .(T84, X171))
U4_ggaa(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → U5_ggaa(T83, T84, T85, X170, X171, part20_in_ggaa(T83, T85, X170, X171))
part20_in_ggaa(T112, [], [], []) → part20_out_ggaa(T112, [], [], [])
U5_ggaa(T83, T84, T85, X170, X171, part20_out_ggaa(T83, T85, X170, X171)) → part20_out_ggaa(T83, .(T84, T85), X170, .(T84, X171))
U3_ggaa(T61, T62, T63, X119, X120, part20_out_ggaa(T61, T63, X119, X120)) → part20_out_ggaa(T61, .(T62, T63), .(T62, X119), X120)
U20_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, X47, X48)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U21_ga(T22, T23, T24, T9, part20_in_ggaa(T22, T24, T44, T45))
U21_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U22_ga(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
qs1_in_aa(.(T22, .(T23, T24)), T9) → U19_aa(T22, T23, T24, T9, gt10_in_aa(T22, T23))
gt10_in_aa(s(T37), s(T38)) → U1_aa(T37, T38, gt10_in_aa(T37, T38))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U1_aa(T37, T38, gt10_out_aa(T37, T38)) → gt10_out_aa(s(T37), s(T38))
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U20_aa(T22, T23, T24, T9, part20_in_gaaa(T22, T24, X47, X48))
part20_in_gaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_gaaa(T61, T62, T63, X119, X120, gt10_in_ga(T61, T62))
gt10_in_ga(s(T37), s(T38)) → U1_ga(T37, T38, gt10_in_ga(T37, T38))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U1_ga(T37, T38, gt10_out_ga(T37, T38)) → gt10_out_ga(s(T37), s(T38))
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → U3_gaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
part20_in_gaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_gaaa(T83, T84, T85, X170, X171, le33_in_ga(T83, T84))
le33_in_ga(s(T98), s(T99)) → U6_ga(T98, T99, le33_in_ga(T98, T99))
le33_in_ga(0, s(T106)) → le33_out_ga(0, s(T106))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U6_ga(T98, T99, le33_out_ga(T98, T99)) → le33_out_ga(s(T98), s(T99))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → U5_gaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
part20_in_gaaa(T112, [], [], []) → part20_out_gaaa(T112, [], [], [])
U5_gaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U3_gaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U20_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, X47, X48)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U21_aa(T22, T23, T24, T9, part20_in_gaaa(T22, T24, T44, T45))
U21_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U22_aa(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
qs1_in_aa(.(T239, .(T240, T241)), T9) → U25_aa(T239, T240, T241, T9, le33_in_aa(T239, T240))
le33_in_aa(s(T98), s(T99)) → U6_aa(T98, T99, le33_in_aa(T98, T99))
le33_in_aa(0, s(T106)) → le33_out_aa(0, s(T106))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U6_aa(T98, T99, le33_out_aa(T98, T99)) → le33_out_aa(s(T98), s(T99))
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U26_aa(T239, T240, T241, T9, part20_in_gaaa(T239, T241, X437, X438))
U26_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, X437, X438)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U27_aa(T239, T240, T241, T9, part20_in_gaaa(T239, T241, T249, T250))
U27_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U28_aa(T239, T240, T241, T9, qs53_in_aa(T249, X9))
qs53_in_aa(.(T131, T132), X275) → U7_aa(T131, T132, X275, part20_in_aaaa(T131, T132, X271, X272))
part20_in_aaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_aaaa(T61, T62, T63, X119, X120, gt10_in_aa(T61, T62))
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → U3_aaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
U3_aaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
part20_in_aaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_aaaa(T83, T84, T85, X170, X171, le33_in_aa(T83, T84))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → U5_aaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
U5_aaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
part20_in_aaaa(T112, [], [], []) → part20_out_aaaa(T112, [], [], [])
U7_aa(T131, T132, X275, part20_out_aaaa(T131, T132, X271, X272)) → qs53_out_aa(.(T131, T132), X275)
qs53_in_aa(.(T131, T132), X275) → U8_aa(T131, T132, X275, part20_in_aaaa(T131, T132, T136, T137))
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U9_aa(T131, T132, X275, qs53_in_aa(T136, X273))
qs53_in_aa([], []) → qs53_out_aa([], [])
U9_aa(T131, T132, X275, qs53_out_aa(T136, X273)) → qs53_out_aa(.(T131, T132), X275)
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U10_aa(T131, T132, X275, T137, qs53_in_aa(T136, T143))
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U11_aa(T131, T132, X275, qs53_in_aa(T137, X274))
U11_aa(T131, T132, X275, qs53_out_aa(T137, X274)) → qs53_out_aa(.(T131, T132), X275)
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U12_aa(T131, T132, X275, T143, qs53_in_aa(T137, T148))
U12_aa(T131, T132, X275, T143, qs53_out_aa(T137, T148)) → U13_aa(T131, T132, X275, app65_in_aaaa(T143, T131, T148, X275))
app65_in_aaaa(.(T171, T172), T173, T174, .(T171, X354)) → U14_aaaa(T171, T172, T173, T174, X354, app65_in_aaaa(T172, T173, T174, X354))
app65_in_aaaa([], T183, T184, .(T183, T184)) → app65_out_aaaa([], T183, T184, .(T183, T184))
U14_aaaa(T171, T172, T173, T174, X354, app65_out_aaaa(T172, T173, T174, X354)) → app65_out_aaaa(.(T171, T172), T173, T174, .(T171, X354))
U13_aa(T131, T132, X275, app65_out_aaaa(T143, T131, T148, X275)) → qs53_out_aa(.(T131, T132), X275)
U28_aa(T239, T240, T241, T9, qs53_out_aa(T249, X9)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U27_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U29_aa(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_aa(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_aa(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
p52_in_aaaga(T45, X10, T115, T22, T9) → U16_aaaga(T45, X10, T115, T22, T9, qs53_in_aa(T45, X10))
U16_aaaga(T45, X10, T115, T22, T9, qs53_out_aa(T45, X10)) → p52_out_aaaga(T45, X10, T115, T22, T9)
p52_in_aaaga(T45, T120, T115, T22, T9) → U17_aaaga(T45, T120, T115, T22, T9, qs53_in_aa(T45, T120))
U17_aaaga(T45, T120, T115, T22, T9, qs53_out_aa(T45, T120)) → U18_aaaga(T45, T120, T115, T22, T9, app54_in_agaa(T115, T22, T120, T9))
app54_in_agaa(.(T210, T211), T212, T213, .(T210, T215)) → U15_agaa(T210, T211, T212, T213, T215, app54_in_agaa(T211, T212, T213, T215))
app54_in_agaa([], T225, T226, .(T225, T226)) → app54_out_agaa([], T225, T226, .(T225, T226))
U15_agaa(T210, T211, T212, T213, T215, app54_out_agaa(T211, T212, T213, T215)) → app54_out_agaa(.(T210, T211), T212, T213, .(T210, T215))
U18_aaaga(T45, T120, T115, T22, T9, app54_out_agaa(T115, T22, T120, T9)) → p52_out_aaaga(T45, T120, T115, T22, T9)
U30_aa(T239, T240, T241, T9, p52_out_aaaga(.(T240, T250), X10, T256, T239, T9)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
qs1_in_aa(.(T265, []), T9) → U31_aa(T265, T9, qs99_in_a(X9))
qs99_in_a([]) → qs99_out_a([])
U31_aa(T265, T9, qs99_out_a(X9)) → qs1_out_aa(.(T265, []), T9)
qs1_in_aa(.(T265, []), T9) → U32_aa(T265, T9, qs99_in_a(T268))
U32_aa(T265, T9, qs99_out_a(T268)) → U33_aa(T265, T9, qs99_in_a(X10))
U33_aa(T265, T9, qs99_out_a(X10)) → qs1_out_aa(.(T265, []), T9)
U32_aa(T265, T9, qs99_out_a(T268)) → U34_aa(T265, T9, T268, qs99_in_a(T273))
U34_aa(T265, T9, T268, qs99_out_a(T273)) → U35_aa(T265, T9, app54_in_gaga(T268, T265, T273, T9))
app54_in_gaga(.(T210, T211), T212, T213, .(T210, T215)) → U15_gaga(T210, T211, T212, T213, T215, app54_in_gaga(T211, T212, T213, T215))
app54_in_gaga([], T225, T226, .(T225, T226)) → app54_out_gaga([], T225, T226, .(T225, T226))
U15_gaga(T210, T211, T212, T213, T215, app54_out_gaga(T211, T212, T213, T215)) → app54_out_gaga(.(T210, T211), T212, T213, .(T210, T215))
U35_aa(T265, T9, app54_out_gaga(T268, T265, T273, T9)) → qs1_out_aa(.(T265, []), T9)
qs1_in_aa([], []) → qs1_out_aa([], [])
U22_aa(T22, T23, T24, T9, qs1_out_aa(.(T23, T44), X9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U21_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U23_aa(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_aa(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_aa(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U24_aa(T22, T23, T24, T9, p52_out_aaaga(T45, X10, T115, T22, T9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U22_ga(T22, T23, T24, T9, qs1_out_aa(.(T23, T44), X9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U21_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U23_ga(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_ga(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_ga(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U24_ga(T22, T23, T24, T9, p52_out_aaaga(T45, X10, T115, T22, T9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
qs1_in_ga(.(T239, .(T240, T241)), T9) → U25_ga(T239, T240, T241, T9, le33_in_gg(T239, T240))
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U26_ga(T239, T240, T241, T9, part20_in_ggaa(T239, T241, X437, X438))
U26_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, X437, X438)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U27_ga(T239, T240, T241, T9, part20_in_ggaa(T239, T241, T249, T250))
U27_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U28_ga(T239, T240, T241, T9, qs53_in_aa(T249, X9))
U28_ga(T239, T240, T241, T9, qs53_out_aa(T249, X9)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U27_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U29_ga(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_ga(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_ga(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
U30_ga(T239, T240, T241, T9, p52_out_aaaga(.(T240, T250), X10, T256, T239, T9)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
qs1_in_ga(.(T265, []), T9) → U31_ga(T265, T9, qs99_in_a(X9))
U31_ga(T265, T9, qs99_out_a(X9)) → qs1_out_ga(.(T265, []), T9)
qs1_in_ga(.(T265, []), T9) → U32_ga(T265, T9, qs99_in_a(T268))
U32_ga(T265, T9, qs99_out_a(T268)) → U33_ga(T265, T9, qs99_in_a(X10))
U33_ga(T265, T9, qs99_out_a(X10)) → qs1_out_ga(.(T265, []), T9)
U32_ga(T265, T9, qs99_out_a(T268)) → U34_ga(T265, T9, T268, qs99_in_a(T273))
U34_ga(T265, T9, T268, qs99_out_a(T273)) → U35_ga(T265, T9, app54_in_ggga(T268, T265, T273, T9))
app54_in_ggga(.(T210, T211), T212, T213, .(T210, T215)) → U15_ggga(T210, T211, T212, T213, T215, app54_in_ggga(T211, T212, T213, T215))
app54_in_ggga([], T225, T226, .(T225, T226)) → app54_out_ggga([], T225, T226, .(T225, T226))
U15_ggga(T210, T211, T212, T213, T215, app54_out_ggga(T211, T212, T213, T215)) → app54_out_ggga(.(T210, T211), T212, T213, .(T210, T215))
U35_ga(T265, T9, app54_out_ggga(T268, T265, T273, T9)) → qs1_out_ga(.(T265, []), T9)
qs1_in_ga([], []) → qs1_out_ga([], [])

The argument filtering Pi contains the following mapping:
qs1_in_ga(x1, x2)  =  qs1_in_ga(x1)
.(x1, x2)  =  .(x1, x2)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x2, x3, x5)
gt10_in_gg(x1, x2)  =  gt10_in_gg(x1, x2)
s(x1)  =  s(x1)
U1_gg(x1, x2, x3)  =  U1_gg(x1, x2, x3)
0  =  0
gt10_out_gg(x1, x2)  =  gt10_out_gg(x1, x2)
qs1_out_ga(x1, x2)  =  qs1_out_ga(x1)
U20_ga(x1, x2, x3, x4, x5)  =  U20_ga(x1, x2, x3, x5)
part20_in_ggaa(x1, x2, x3, x4)  =  part20_in_ggaa(x1, x2)
U2_ggaa(x1, x2, x3, x4, x5, x6)  =  U2_ggaa(x1, x2, x3, x6)
part20_out_ggaa(x1, x2, x3, x4)  =  part20_out_ggaa(x1, x2)
U3_ggaa(x1, x2, x3, x4, x5, x6)  =  U3_ggaa(x1, x2, x3, x6)
U4_ggaa(x1, x2, x3, x4, x5, x6)  =  U4_ggaa(x1, x2, x3, x6)
le33_in_gg(x1, x2)  =  le33_in_gg(x1, x2)
U6_gg(x1, x2, x3)  =  U6_gg(x1, x2, x3)
le33_out_gg(x1, x2)  =  le33_out_gg(x1, x2)
U5_ggaa(x1, x2, x3, x4, x5, x6)  =  U5_ggaa(x1, x2, x3, x6)
[]  =  []
U21_ga(x1, x2, x3, x4, x5)  =  U21_ga(x1, x2, x3, x5)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x1, x2, x3, x5)
qs1_in_aa(x1, x2)  =  qs1_in_aa
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(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_aa(x1, x2)  =  qs1_out_aa
U20_aa(x1, x2, x3, x4, x5)  =  U20_aa(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)
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)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U6_ga(x1, x2, x3)  =  U6_ga(x1, x3)
le33_out_ga(x1, x2)  =  le33_out_ga(x1)
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x1, x6)
U21_aa(x1, x2, x3, x4, x5)  =  U21_aa(x1, x5)
U22_aa(x1, x2, x3, x4, x5)  =  U22_aa(x5)
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
le33_in_aa(x1, x2)  =  le33_in_aa
U6_aa(x1, x2, x3)  =  U6_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
U26_aa(x1, x2, x3, x4, x5)  =  U26_aa(x5)
U27_aa(x1, x2, x3, x4, x5)  =  U27_aa(x1, x5)
U28_aa(x1, x2, x3, x4, x5)  =  U28_aa(x5)
qs53_in_aa(x1, x2)  =  qs53_in_aa
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
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)
qs53_out_aa(x1, x2)  =  qs53_out_aa
U8_aa(x1, x2, x3, x4)  =  U8_aa(x4)
U9_aa(x1, x2, x3, x4)  =  U9_aa(x4)
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4)  =  U11_aa(x4)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4)  =  U13_aa(x4)
app65_in_aaaa(x1, x2, x3, x4)  =  app65_in_aaaa
U14_aaaa(x1, x2, x3, x4, x5, x6)  =  U14_aaaa(x6)
app65_out_aaaa(x1, x2, x3, x4)  =  app65_out_aaaa
U29_aa(x1, x2, x3, x4, x5, x6)  =  U29_aa(x1, x6)
U30_aa(x1, x2, x3, x4, x5)  =  U30_aa(x5)
p52_in_aaaga(x1, x2, x3, x4, x5)  =  p52_in_aaaga(x4)
U16_aaaga(x1, x2, x3, x4, x5, x6)  =  U16_aaaga(x4, x6)
p52_out_aaaga(x1, x2, x3, x4, x5)  =  p52_out_aaaga(x4)
U17_aaaga(x1, x2, x3, x4, x5, x6)  =  U17_aaaga(x4, x6)
U18_aaaga(x1, x2, x3, x4, x5, x6)  =  U18_aaaga(x4, x6)
app54_in_agaa(x1, x2, x3, x4)  =  app54_in_agaa(x2)
U15_agaa(x1, x2, x3, x4, x5, x6)  =  U15_agaa(x3, x6)
app54_out_agaa(x1, x2, x3, x4)  =  app54_out_agaa(x2)
U31_aa(x1, x2, x3)  =  U31_aa(x3)
qs99_in_a(x1)  =  qs99_in_a
qs99_out_a(x1)  =  qs99_out_a(x1)
U32_aa(x1, x2, x3)  =  U32_aa(x3)
U33_aa(x1, x2, x3)  =  U33_aa(x3)
U34_aa(x1, x2, x3, x4)  =  U34_aa(x3, x4)
U35_aa(x1, x2, x3)  =  U35_aa(x3)
app54_in_gaga(x1, x2, x3, x4)  =  app54_in_gaga(x1, x3)
U15_gaga(x1, x2, x3, x4, x5, x6)  =  U15_gaga(x1, x2, x4, x6)
app54_out_gaga(x1, x2, x3, x4)  =  app54_out_gaga(x1, x3)
U23_aa(x1, x2, x3, x4, x5, x6)  =  U23_aa(x1, x6)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U23_ga(x1, x2, x3, x4, x5, x6)  =  U23_ga(x1, x2, x3, x6)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x1, x2, x3, x5)
U25_ga(x1, x2, x3, x4, x5)  =  U25_ga(x1, x2, x3, x5)
U26_ga(x1, x2, x3, x4, x5)  =  U26_ga(x1, x2, x3, x5)
U27_ga(x1, x2, x3, x4, x5)  =  U27_ga(x1, x2, x3, x5)
U28_ga(x1, x2, x3, x4, x5)  =  U28_ga(x1, x2, x3, x5)
U29_ga(x1, x2, x3, x4, x5, x6)  =  U29_ga(x1, x2, x3, x6)
U30_ga(x1, x2, x3, x4, x5)  =  U30_ga(x1, x2, x3, x5)
U31_ga(x1, x2, x3)  =  U31_ga(x1, x3)
U32_ga(x1, x2, x3)  =  U32_ga(x1, x3)
U33_ga(x1, x2, x3)  =  U33_ga(x1, x3)
U34_ga(x1, x2, x3, x4)  =  U34_ga(x1, x3, x4)
U35_ga(x1, x2, x3)  =  U35_ga(x1, x3)
app54_in_ggga(x1, x2, x3, x4)  =  app54_in_ggga(x1, x2, x3)
U15_ggga(x1, x2, x3, x4, x5, x6)  =  U15_ggga(x1, x2, x3, x4, x6)
app54_out_ggga(x1, x2, x3, x4)  =  app54_out_ggga(x1, x2, x3, x4)
APP54_IN_GGGA(x1, x2, x3, x4)  =  APP54_IN_GGGA(x1, x2, x3)

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:

APP54_IN_GGGA(.(T210, T211), T212, T213, .(T210, T215)) → APP54_IN_GGGA(T211, T212, T213, T215)

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

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:

APP54_IN_GGGA(.(T210, T211), T212, T213) → APP54_IN_GGGA(T211, T212, T213)

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:

  • APP54_IN_GGGA(.(T210, T211), T212, T213) → APP54_IN_GGGA(T211, T212, T213)
    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:

APP54_IN_GAGA(.(T210, T211), T212, T213, .(T210, T215)) → APP54_IN_GAGA(T211, T212, T213, T215)

The TRS R consists of the following rules:

qs1_in_ga(.(T22, .(T23, T24)), T9) → U19_ga(T22, T23, T24, T9, gt10_in_gg(T22, T23))
gt10_in_gg(s(T37), s(T38)) → U1_gg(T37, T38, gt10_in_gg(T37, T38))
gt10_in_gg(s(0), 0) → gt10_out_gg(s(0), 0)
U1_gg(T37, T38, gt10_out_gg(T37, T38)) → gt10_out_gg(s(T37), s(T38))
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U20_ga(T22, T23, T24, T9, part20_in_ggaa(T22, T24, X47, X48))
part20_in_ggaa(T61, .(T62, T63), .(T62, X119), X120) → U2_ggaa(T61, T62, T63, X119, X120, gt10_in_gg(T61, T62))
U2_ggaa(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → part20_out_ggaa(T61, .(T62, T63), .(T62, X119), X120)
U2_ggaa(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → U3_ggaa(T61, T62, T63, X119, X120, part20_in_ggaa(T61, T63, X119, X120))
part20_in_ggaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_ggaa(T83, T84, T85, X170, X171, le33_in_gg(T83, T84))
le33_in_gg(s(T98), s(T99)) → U6_gg(T98, T99, le33_in_gg(T98, T99))
le33_in_gg(0, s(T106)) → le33_out_gg(0, s(T106))
le33_in_gg(0, 0) → le33_out_gg(0, 0)
U6_gg(T98, T99, le33_out_gg(T98, T99)) → le33_out_gg(s(T98), s(T99))
U4_ggaa(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → part20_out_ggaa(T83, .(T84, T85), X170, .(T84, X171))
U4_ggaa(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → U5_ggaa(T83, T84, T85, X170, X171, part20_in_ggaa(T83, T85, X170, X171))
part20_in_ggaa(T112, [], [], []) → part20_out_ggaa(T112, [], [], [])
U5_ggaa(T83, T84, T85, X170, X171, part20_out_ggaa(T83, T85, X170, X171)) → part20_out_ggaa(T83, .(T84, T85), X170, .(T84, X171))
U3_ggaa(T61, T62, T63, X119, X120, part20_out_ggaa(T61, T63, X119, X120)) → part20_out_ggaa(T61, .(T62, T63), .(T62, X119), X120)
U20_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, X47, X48)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U21_ga(T22, T23, T24, T9, part20_in_ggaa(T22, T24, T44, T45))
U21_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U22_ga(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
qs1_in_aa(.(T22, .(T23, T24)), T9) → U19_aa(T22, T23, T24, T9, gt10_in_aa(T22, T23))
gt10_in_aa(s(T37), s(T38)) → U1_aa(T37, T38, gt10_in_aa(T37, T38))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U1_aa(T37, T38, gt10_out_aa(T37, T38)) → gt10_out_aa(s(T37), s(T38))
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U20_aa(T22, T23, T24, T9, part20_in_gaaa(T22, T24, X47, X48))
part20_in_gaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_gaaa(T61, T62, T63, X119, X120, gt10_in_ga(T61, T62))
gt10_in_ga(s(T37), s(T38)) → U1_ga(T37, T38, gt10_in_ga(T37, T38))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U1_ga(T37, T38, gt10_out_ga(T37, T38)) → gt10_out_ga(s(T37), s(T38))
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → U3_gaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
part20_in_gaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_gaaa(T83, T84, T85, X170, X171, le33_in_ga(T83, T84))
le33_in_ga(s(T98), s(T99)) → U6_ga(T98, T99, le33_in_ga(T98, T99))
le33_in_ga(0, s(T106)) → le33_out_ga(0, s(T106))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U6_ga(T98, T99, le33_out_ga(T98, T99)) → le33_out_ga(s(T98), s(T99))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → U5_gaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
part20_in_gaaa(T112, [], [], []) → part20_out_gaaa(T112, [], [], [])
U5_gaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U3_gaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U20_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, X47, X48)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U21_aa(T22, T23, T24, T9, part20_in_gaaa(T22, T24, T44, T45))
U21_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U22_aa(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
qs1_in_aa(.(T239, .(T240, T241)), T9) → U25_aa(T239, T240, T241, T9, le33_in_aa(T239, T240))
le33_in_aa(s(T98), s(T99)) → U6_aa(T98, T99, le33_in_aa(T98, T99))
le33_in_aa(0, s(T106)) → le33_out_aa(0, s(T106))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U6_aa(T98, T99, le33_out_aa(T98, T99)) → le33_out_aa(s(T98), s(T99))
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U26_aa(T239, T240, T241, T9, part20_in_gaaa(T239, T241, X437, X438))
U26_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, X437, X438)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U27_aa(T239, T240, T241, T9, part20_in_gaaa(T239, T241, T249, T250))
U27_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U28_aa(T239, T240, T241, T9, qs53_in_aa(T249, X9))
qs53_in_aa(.(T131, T132), X275) → U7_aa(T131, T132, X275, part20_in_aaaa(T131, T132, X271, X272))
part20_in_aaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_aaaa(T61, T62, T63, X119, X120, gt10_in_aa(T61, T62))
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → U3_aaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
U3_aaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
part20_in_aaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_aaaa(T83, T84, T85, X170, X171, le33_in_aa(T83, T84))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → U5_aaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
U5_aaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
part20_in_aaaa(T112, [], [], []) → part20_out_aaaa(T112, [], [], [])
U7_aa(T131, T132, X275, part20_out_aaaa(T131, T132, X271, X272)) → qs53_out_aa(.(T131, T132), X275)
qs53_in_aa(.(T131, T132), X275) → U8_aa(T131, T132, X275, part20_in_aaaa(T131, T132, T136, T137))
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U9_aa(T131, T132, X275, qs53_in_aa(T136, X273))
qs53_in_aa([], []) → qs53_out_aa([], [])
U9_aa(T131, T132, X275, qs53_out_aa(T136, X273)) → qs53_out_aa(.(T131, T132), X275)
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U10_aa(T131, T132, X275, T137, qs53_in_aa(T136, T143))
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U11_aa(T131, T132, X275, qs53_in_aa(T137, X274))
U11_aa(T131, T132, X275, qs53_out_aa(T137, X274)) → qs53_out_aa(.(T131, T132), X275)
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U12_aa(T131, T132, X275, T143, qs53_in_aa(T137, T148))
U12_aa(T131, T132, X275, T143, qs53_out_aa(T137, T148)) → U13_aa(T131, T132, X275, app65_in_aaaa(T143, T131, T148, X275))
app65_in_aaaa(.(T171, T172), T173, T174, .(T171, X354)) → U14_aaaa(T171, T172, T173, T174, X354, app65_in_aaaa(T172, T173, T174, X354))
app65_in_aaaa([], T183, T184, .(T183, T184)) → app65_out_aaaa([], T183, T184, .(T183, T184))
U14_aaaa(T171, T172, T173, T174, X354, app65_out_aaaa(T172, T173, T174, X354)) → app65_out_aaaa(.(T171, T172), T173, T174, .(T171, X354))
U13_aa(T131, T132, X275, app65_out_aaaa(T143, T131, T148, X275)) → qs53_out_aa(.(T131, T132), X275)
U28_aa(T239, T240, T241, T9, qs53_out_aa(T249, X9)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U27_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U29_aa(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_aa(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_aa(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
p52_in_aaaga(T45, X10, T115, T22, T9) → U16_aaaga(T45, X10, T115, T22, T9, qs53_in_aa(T45, X10))
U16_aaaga(T45, X10, T115, T22, T9, qs53_out_aa(T45, X10)) → p52_out_aaaga(T45, X10, T115, T22, T9)
p52_in_aaaga(T45, T120, T115, T22, T9) → U17_aaaga(T45, T120, T115, T22, T9, qs53_in_aa(T45, T120))
U17_aaaga(T45, T120, T115, T22, T9, qs53_out_aa(T45, T120)) → U18_aaaga(T45, T120, T115, T22, T9, app54_in_agaa(T115, T22, T120, T9))
app54_in_agaa(.(T210, T211), T212, T213, .(T210, T215)) → U15_agaa(T210, T211, T212, T213, T215, app54_in_agaa(T211, T212, T213, T215))
app54_in_agaa([], T225, T226, .(T225, T226)) → app54_out_agaa([], T225, T226, .(T225, T226))
U15_agaa(T210, T211, T212, T213, T215, app54_out_agaa(T211, T212, T213, T215)) → app54_out_agaa(.(T210, T211), T212, T213, .(T210, T215))
U18_aaaga(T45, T120, T115, T22, T9, app54_out_agaa(T115, T22, T120, T9)) → p52_out_aaaga(T45, T120, T115, T22, T9)
U30_aa(T239, T240, T241, T9, p52_out_aaaga(.(T240, T250), X10, T256, T239, T9)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
qs1_in_aa(.(T265, []), T9) → U31_aa(T265, T9, qs99_in_a(X9))
qs99_in_a([]) → qs99_out_a([])
U31_aa(T265, T9, qs99_out_a(X9)) → qs1_out_aa(.(T265, []), T9)
qs1_in_aa(.(T265, []), T9) → U32_aa(T265, T9, qs99_in_a(T268))
U32_aa(T265, T9, qs99_out_a(T268)) → U33_aa(T265, T9, qs99_in_a(X10))
U33_aa(T265, T9, qs99_out_a(X10)) → qs1_out_aa(.(T265, []), T9)
U32_aa(T265, T9, qs99_out_a(T268)) → U34_aa(T265, T9, T268, qs99_in_a(T273))
U34_aa(T265, T9, T268, qs99_out_a(T273)) → U35_aa(T265, T9, app54_in_gaga(T268, T265, T273, T9))
app54_in_gaga(.(T210, T211), T212, T213, .(T210, T215)) → U15_gaga(T210, T211, T212, T213, T215, app54_in_gaga(T211, T212, T213, T215))
app54_in_gaga([], T225, T226, .(T225, T226)) → app54_out_gaga([], T225, T226, .(T225, T226))
U15_gaga(T210, T211, T212, T213, T215, app54_out_gaga(T211, T212, T213, T215)) → app54_out_gaga(.(T210, T211), T212, T213, .(T210, T215))
U35_aa(T265, T9, app54_out_gaga(T268, T265, T273, T9)) → qs1_out_aa(.(T265, []), T9)
qs1_in_aa([], []) → qs1_out_aa([], [])
U22_aa(T22, T23, T24, T9, qs1_out_aa(.(T23, T44), X9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U21_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U23_aa(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_aa(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_aa(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U24_aa(T22, T23, T24, T9, p52_out_aaaga(T45, X10, T115, T22, T9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U22_ga(T22, T23, T24, T9, qs1_out_aa(.(T23, T44), X9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U21_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U23_ga(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_ga(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_ga(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U24_ga(T22, T23, T24, T9, p52_out_aaaga(T45, X10, T115, T22, T9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
qs1_in_ga(.(T239, .(T240, T241)), T9) → U25_ga(T239, T240, T241, T9, le33_in_gg(T239, T240))
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U26_ga(T239, T240, T241, T9, part20_in_ggaa(T239, T241, X437, X438))
U26_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, X437, X438)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U27_ga(T239, T240, T241, T9, part20_in_ggaa(T239, T241, T249, T250))
U27_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U28_ga(T239, T240, T241, T9, qs53_in_aa(T249, X9))
U28_ga(T239, T240, T241, T9, qs53_out_aa(T249, X9)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U27_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U29_ga(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_ga(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_ga(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
U30_ga(T239, T240, T241, T9, p52_out_aaaga(.(T240, T250), X10, T256, T239, T9)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
qs1_in_ga(.(T265, []), T9) → U31_ga(T265, T9, qs99_in_a(X9))
U31_ga(T265, T9, qs99_out_a(X9)) → qs1_out_ga(.(T265, []), T9)
qs1_in_ga(.(T265, []), T9) → U32_ga(T265, T9, qs99_in_a(T268))
U32_ga(T265, T9, qs99_out_a(T268)) → U33_ga(T265, T9, qs99_in_a(X10))
U33_ga(T265, T9, qs99_out_a(X10)) → qs1_out_ga(.(T265, []), T9)
U32_ga(T265, T9, qs99_out_a(T268)) → U34_ga(T265, T9, T268, qs99_in_a(T273))
U34_ga(T265, T9, T268, qs99_out_a(T273)) → U35_ga(T265, T9, app54_in_ggga(T268, T265, T273, T9))
app54_in_ggga(.(T210, T211), T212, T213, .(T210, T215)) → U15_ggga(T210, T211, T212, T213, T215, app54_in_ggga(T211, T212, T213, T215))
app54_in_ggga([], T225, T226, .(T225, T226)) → app54_out_ggga([], T225, T226, .(T225, T226))
U15_ggga(T210, T211, T212, T213, T215, app54_out_ggga(T211, T212, T213, T215)) → app54_out_ggga(.(T210, T211), T212, T213, .(T210, T215))
U35_ga(T265, T9, app54_out_ggga(T268, T265, T273, T9)) → qs1_out_ga(.(T265, []), T9)
qs1_in_ga([], []) → qs1_out_ga([], [])

The argument filtering Pi contains the following mapping:
qs1_in_ga(x1, x2)  =  qs1_in_ga(x1)
.(x1, x2)  =  .(x1, x2)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x2, x3, x5)
gt10_in_gg(x1, x2)  =  gt10_in_gg(x1, x2)
s(x1)  =  s(x1)
U1_gg(x1, x2, x3)  =  U1_gg(x1, x2, x3)
0  =  0
gt10_out_gg(x1, x2)  =  gt10_out_gg(x1, x2)
qs1_out_ga(x1, x2)  =  qs1_out_ga(x1)
U20_ga(x1, x2, x3, x4, x5)  =  U20_ga(x1, x2, x3, x5)
part20_in_ggaa(x1, x2, x3, x4)  =  part20_in_ggaa(x1, x2)
U2_ggaa(x1, x2, x3, x4, x5, x6)  =  U2_ggaa(x1, x2, x3, x6)
part20_out_ggaa(x1, x2, x3, x4)  =  part20_out_ggaa(x1, x2)
U3_ggaa(x1, x2, x3, x4, x5, x6)  =  U3_ggaa(x1, x2, x3, x6)
U4_ggaa(x1, x2, x3, x4, x5, x6)  =  U4_ggaa(x1, x2, x3, x6)
le33_in_gg(x1, x2)  =  le33_in_gg(x1, x2)
U6_gg(x1, x2, x3)  =  U6_gg(x1, x2, x3)
le33_out_gg(x1, x2)  =  le33_out_gg(x1, x2)
U5_ggaa(x1, x2, x3, x4, x5, x6)  =  U5_ggaa(x1, x2, x3, x6)
[]  =  []
U21_ga(x1, x2, x3, x4, x5)  =  U21_ga(x1, x2, x3, x5)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x1, x2, x3, x5)
qs1_in_aa(x1, x2)  =  qs1_in_aa
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(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_aa(x1, x2)  =  qs1_out_aa
U20_aa(x1, x2, x3, x4, x5)  =  U20_aa(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)
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)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U6_ga(x1, x2, x3)  =  U6_ga(x1, x3)
le33_out_ga(x1, x2)  =  le33_out_ga(x1)
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x1, x6)
U21_aa(x1, x2, x3, x4, x5)  =  U21_aa(x1, x5)
U22_aa(x1, x2, x3, x4, x5)  =  U22_aa(x5)
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
le33_in_aa(x1, x2)  =  le33_in_aa
U6_aa(x1, x2, x3)  =  U6_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
U26_aa(x1, x2, x3, x4, x5)  =  U26_aa(x5)
U27_aa(x1, x2, x3, x4, x5)  =  U27_aa(x1, x5)
U28_aa(x1, x2, x3, x4, x5)  =  U28_aa(x5)
qs53_in_aa(x1, x2)  =  qs53_in_aa
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
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)
qs53_out_aa(x1, x2)  =  qs53_out_aa
U8_aa(x1, x2, x3, x4)  =  U8_aa(x4)
U9_aa(x1, x2, x3, x4)  =  U9_aa(x4)
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4)  =  U11_aa(x4)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4)  =  U13_aa(x4)
app65_in_aaaa(x1, x2, x3, x4)  =  app65_in_aaaa
U14_aaaa(x1, x2, x3, x4, x5, x6)  =  U14_aaaa(x6)
app65_out_aaaa(x1, x2, x3, x4)  =  app65_out_aaaa
U29_aa(x1, x2, x3, x4, x5, x6)  =  U29_aa(x1, x6)
U30_aa(x1, x2, x3, x4, x5)  =  U30_aa(x5)
p52_in_aaaga(x1, x2, x3, x4, x5)  =  p52_in_aaaga(x4)
U16_aaaga(x1, x2, x3, x4, x5, x6)  =  U16_aaaga(x4, x6)
p52_out_aaaga(x1, x2, x3, x4, x5)  =  p52_out_aaaga(x4)
U17_aaaga(x1, x2, x3, x4, x5, x6)  =  U17_aaaga(x4, x6)
U18_aaaga(x1, x2, x3, x4, x5, x6)  =  U18_aaaga(x4, x6)
app54_in_agaa(x1, x2, x3, x4)  =  app54_in_agaa(x2)
U15_agaa(x1, x2, x3, x4, x5, x6)  =  U15_agaa(x3, x6)
app54_out_agaa(x1, x2, x3, x4)  =  app54_out_agaa(x2)
U31_aa(x1, x2, x3)  =  U31_aa(x3)
qs99_in_a(x1)  =  qs99_in_a
qs99_out_a(x1)  =  qs99_out_a(x1)
U32_aa(x1, x2, x3)  =  U32_aa(x3)
U33_aa(x1, x2, x3)  =  U33_aa(x3)
U34_aa(x1, x2, x3, x4)  =  U34_aa(x3, x4)
U35_aa(x1, x2, x3)  =  U35_aa(x3)
app54_in_gaga(x1, x2, x3, x4)  =  app54_in_gaga(x1, x3)
U15_gaga(x1, x2, x3, x4, x5, x6)  =  U15_gaga(x1, x2, x4, x6)
app54_out_gaga(x1, x2, x3, x4)  =  app54_out_gaga(x1, x3)
U23_aa(x1, x2, x3, x4, x5, x6)  =  U23_aa(x1, x6)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U23_ga(x1, x2, x3, x4, x5, x6)  =  U23_ga(x1, x2, x3, x6)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x1, x2, x3, x5)
U25_ga(x1, x2, x3, x4, x5)  =  U25_ga(x1, x2, x3, x5)
U26_ga(x1, x2, x3, x4, x5)  =  U26_ga(x1, x2, x3, x5)
U27_ga(x1, x2, x3, x4, x5)  =  U27_ga(x1, x2, x3, x5)
U28_ga(x1, x2, x3, x4, x5)  =  U28_ga(x1, x2, x3, x5)
U29_ga(x1, x2, x3, x4, x5, x6)  =  U29_ga(x1, x2, x3, x6)
U30_ga(x1, x2, x3, x4, x5)  =  U30_ga(x1, x2, x3, x5)
U31_ga(x1, x2, x3)  =  U31_ga(x1, x3)
U32_ga(x1, x2, x3)  =  U32_ga(x1, x3)
U33_ga(x1, x2, x3)  =  U33_ga(x1, x3)
U34_ga(x1, x2, x3, x4)  =  U34_ga(x1, x3, x4)
U35_ga(x1, x2, x3)  =  U35_ga(x1, x3)
app54_in_ggga(x1, x2, x3, x4)  =  app54_in_ggga(x1, x2, x3)
U15_ggga(x1, x2, x3, x4, x5, x6)  =  U15_ggga(x1, x2, x3, x4, x6)
app54_out_ggga(x1, x2, x3, x4)  =  app54_out_ggga(x1, x2, x3, x4)
APP54_IN_GAGA(x1, x2, x3, x4)  =  APP54_IN_GAGA(x1, x3)

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:

APP54_IN_GAGA(.(T210, T211), T212, T213, .(T210, T215)) → APP54_IN_GAGA(T211, T212, T213, T215)

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

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:

APP54_IN_GAGA(.(T210, T211), T213) → APP54_IN_GAGA(T211, T213)

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:

  • APP54_IN_GAGA(.(T210, T211), T213) → APP54_IN_GAGA(T211, T213)
    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:

APP54_IN_AGAA(.(T210, T211), T212, T213, .(T210, T215)) → APP54_IN_AGAA(T211, T212, T213, T215)

The TRS R consists of the following rules:

qs1_in_ga(.(T22, .(T23, T24)), T9) → U19_ga(T22, T23, T24, T9, gt10_in_gg(T22, T23))
gt10_in_gg(s(T37), s(T38)) → U1_gg(T37, T38, gt10_in_gg(T37, T38))
gt10_in_gg(s(0), 0) → gt10_out_gg(s(0), 0)
U1_gg(T37, T38, gt10_out_gg(T37, T38)) → gt10_out_gg(s(T37), s(T38))
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U20_ga(T22, T23, T24, T9, part20_in_ggaa(T22, T24, X47, X48))
part20_in_ggaa(T61, .(T62, T63), .(T62, X119), X120) → U2_ggaa(T61, T62, T63, X119, X120, gt10_in_gg(T61, T62))
U2_ggaa(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → part20_out_ggaa(T61, .(T62, T63), .(T62, X119), X120)
U2_ggaa(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → U3_ggaa(T61, T62, T63, X119, X120, part20_in_ggaa(T61, T63, X119, X120))
part20_in_ggaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_ggaa(T83, T84, T85, X170, X171, le33_in_gg(T83, T84))
le33_in_gg(s(T98), s(T99)) → U6_gg(T98, T99, le33_in_gg(T98, T99))
le33_in_gg(0, s(T106)) → le33_out_gg(0, s(T106))
le33_in_gg(0, 0) → le33_out_gg(0, 0)
U6_gg(T98, T99, le33_out_gg(T98, T99)) → le33_out_gg(s(T98), s(T99))
U4_ggaa(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → part20_out_ggaa(T83, .(T84, T85), X170, .(T84, X171))
U4_ggaa(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → U5_ggaa(T83, T84, T85, X170, X171, part20_in_ggaa(T83, T85, X170, X171))
part20_in_ggaa(T112, [], [], []) → part20_out_ggaa(T112, [], [], [])
U5_ggaa(T83, T84, T85, X170, X171, part20_out_ggaa(T83, T85, X170, X171)) → part20_out_ggaa(T83, .(T84, T85), X170, .(T84, X171))
U3_ggaa(T61, T62, T63, X119, X120, part20_out_ggaa(T61, T63, X119, X120)) → part20_out_ggaa(T61, .(T62, T63), .(T62, X119), X120)
U20_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, X47, X48)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U21_ga(T22, T23, T24, T9, part20_in_ggaa(T22, T24, T44, T45))
U21_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U22_ga(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
qs1_in_aa(.(T22, .(T23, T24)), T9) → U19_aa(T22, T23, T24, T9, gt10_in_aa(T22, T23))
gt10_in_aa(s(T37), s(T38)) → U1_aa(T37, T38, gt10_in_aa(T37, T38))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U1_aa(T37, T38, gt10_out_aa(T37, T38)) → gt10_out_aa(s(T37), s(T38))
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U20_aa(T22, T23, T24, T9, part20_in_gaaa(T22, T24, X47, X48))
part20_in_gaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_gaaa(T61, T62, T63, X119, X120, gt10_in_ga(T61, T62))
gt10_in_ga(s(T37), s(T38)) → U1_ga(T37, T38, gt10_in_ga(T37, T38))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U1_ga(T37, T38, gt10_out_ga(T37, T38)) → gt10_out_ga(s(T37), s(T38))
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → U3_gaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
part20_in_gaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_gaaa(T83, T84, T85, X170, X171, le33_in_ga(T83, T84))
le33_in_ga(s(T98), s(T99)) → U6_ga(T98, T99, le33_in_ga(T98, T99))
le33_in_ga(0, s(T106)) → le33_out_ga(0, s(T106))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U6_ga(T98, T99, le33_out_ga(T98, T99)) → le33_out_ga(s(T98), s(T99))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → U5_gaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
part20_in_gaaa(T112, [], [], []) → part20_out_gaaa(T112, [], [], [])
U5_gaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U3_gaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U20_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, X47, X48)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U21_aa(T22, T23, T24, T9, part20_in_gaaa(T22, T24, T44, T45))
U21_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U22_aa(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
qs1_in_aa(.(T239, .(T240, T241)), T9) → U25_aa(T239, T240, T241, T9, le33_in_aa(T239, T240))
le33_in_aa(s(T98), s(T99)) → U6_aa(T98, T99, le33_in_aa(T98, T99))
le33_in_aa(0, s(T106)) → le33_out_aa(0, s(T106))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U6_aa(T98, T99, le33_out_aa(T98, T99)) → le33_out_aa(s(T98), s(T99))
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U26_aa(T239, T240, T241, T9, part20_in_gaaa(T239, T241, X437, X438))
U26_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, X437, X438)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U27_aa(T239, T240, T241, T9, part20_in_gaaa(T239, T241, T249, T250))
U27_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U28_aa(T239, T240, T241, T9, qs53_in_aa(T249, X9))
qs53_in_aa(.(T131, T132), X275) → U7_aa(T131, T132, X275, part20_in_aaaa(T131, T132, X271, X272))
part20_in_aaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_aaaa(T61, T62, T63, X119, X120, gt10_in_aa(T61, T62))
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → U3_aaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
U3_aaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
part20_in_aaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_aaaa(T83, T84, T85, X170, X171, le33_in_aa(T83, T84))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → U5_aaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
U5_aaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
part20_in_aaaa(T112, [], [], []) → part20_out_aaaa(T112, [], [], [])
U7_aa(T131, T132, X275, part20_out_aaaa(T131, T132, X271, X272)) → qs53_out_aa(.(T131, T132), X275)
qs53_in_aa(.(T131, T132), X275) → U8_aa(T131, T132, X275, part20_in_aaaa(T131, T132, T136, T137))
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U9_aa(T131, T132, X275, qs53_in_aa(T136, X273))
qs53_in_aa([], []) → qs53_out_aa([], [])
U9_aa(T131, T132, X275, qs53_out_aa(T136, X273)) → qs53_out_aa(.(T131, T132), X275)
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U10_aa(T131, T132, X275, T137, qs53_in_aa(T136, T143))
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U11_aa(T131, T132, X275, qs53_in_aa(T137, X274))
U11_aa(T131, T132, X275, qs53_out_aa(T137, X274)) → qs53_out_aa(.(T131, T132), X275)
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U12_aa(T131, T132, X275, T143, qs53_in_aa(T137, T148))
U12_aa(T131, T132, X275, T143, qs53_out_aa(T137, T148)) → U13_aa(T131, T132, X275, app65_in_aaaa(T143, T131, T148, X275))
app65_in_aaaa(.(T171, T172), T173, T174, .(T171, X354)) → U14_aaaa(T171, T172, T173, T174, X354, app65_in_aaaa(T172, T173, T174, X354))
app65_in_aaaa([], T183, T184, .(T183, T184)) → app65_out_aaaa([], T183, T184, .(T183, T184))
U14_aaaa(T171, T172, T173, T174, X354, app65_out_aaaa(T172, T173, T174, X354)) → app65_out_aaaa(.(T171, T172), T173, T174, .(T171, X354))
U13_aa(T131, T132, X275, app65_out_aaaa(T143, T131, T148, X275)) → qs53_out_aa(.(T131, T132), X275)
U28_aa(T239, T240, T241, T9, qs53_out_aa(T249, X9)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U27_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U29_aa(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_aa(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_aa(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
p52_in_aaaga(T45, X10, T115, T22, T9) → U16_aaaga(T45, X10, T115, T22, T9, qs53_in_aa(T45, X10))
U16_aaaga(T45, X10, T115, T22, T9, qs53_out_aa(T45, X10)) → p52_out_aaaga(T45, X10, T115, T22, T9)
p52_in_aaaga(T45, T120, T115, T22, T9) → U17_aaaga(T45, T120, T115, T22, T9, qs53_in_aa(T45, T120))
U17_aaaga(T45, T120, T115, T22, T9, qs53_out_aa(T45, T120)) → U18_aaaga(T45, T120, T115, T22, T9, app54_in_agaa(T115, T22, T120, T9))
app54_in_agaa(.(T210, T211), T212, T213, .(T210, T215)) → U15_agaa(T210, T211, T212, T213, T215, app54_in_agaa(T211, T212, T213, T215))
app54_in_agaa([], T225, T226, .(T225, T226)) → app54_out_agaa([], T225, T226, .(T225, T226))
U15_agaa(T210, T211, T212, T213, T215, app54_out_agaa(T211, T212, T213, T215)) → app54_out_agaa(.(T210, T211), T212, T213, .(T210, T215))
U18_aaaga(T45, T120, T115, T22, T9, app54_out_agaa(T115, T22, T120, T9)) → p52_out_aaaga(T45, T120, T115, T22, T9)
U30_aa(T239, T240, T241, T9, p52_out_aaaga(.(T240, T250), X10, T256, T239, T9)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
qs1_in_aa(.(T265, []), T9) → U31_aa(T265, T9, qs99_in_a(X9))
qs99_in_a([]) → qs99_out_a([])
U31_aa(T265, T9, qs99_out_a(X9)) → qs1_out_aa(.(T265, []), T9)
qs1_in_aa(.(T265, []), T9) → U32_aa(T265, T9, qs99_in_a(T268))
U32_aa(T265, T9, qs99_out_a(T268)) → U33_aa(T265, T9, qs99_in_a(X10))
U33_aa(T265, T9, qs99_out_a(X10)) → qs1_out_aa(.(T265, []), T9)
U32_aa(T265, T9, qs99_out_a(T268)) → U34_aa(T265, T9, T268, qs99_in_a(T273))
U34_aa(T265, T9, T268, qs99_out_a(T273)) → U35_aa(T265, T9, app54_in_gaga(T268, T265, T273, T9))
app54_in_gaga(.(T210, T211), T212, T213, .(T210, T215)) → U15_gaga(T210, T211, T212, T213, T215, app54_in_gaga(T211, T212, T213, T215))
app54_in_gaga([], T225, T226, .(T225, T226)) → app54_out_gaga([], T225, T226, .(T225, T226))
U15_gaga(T210, T211, T212, T213, T215, app54_out_gaga(T211, T212, T213, T215)) → app54_out_gaga(.(T210, T211), T212, T213, .(T210, T215))
U35_aa(T265, T9, app54_out_gaga(T268, T265, T273, T9)) → qs1_out_aa(.(T265, []), T9)
qs1_in_aa([], []) → qs1_out_aa([], [])
U22_aa(T22, T23, T24, T9, qs1_out_aa(.(T23, T44), X9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U21_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U23_aa(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_aa(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_aa(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U24_aa(T22, T23, T24, T9, p52_out_aaaga(T45, X10, T115, T22, T9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U22_ga(T22, T23, T24, T9, qs1_out_aa(.(T23, T44), X9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U21_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U23_ga(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_ga(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_ga(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U24_ga(T22, T23, T24, T9, p52_out_aaaga(T45, X10, T115, T22, T9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
qs1_in_ga(.(T239, .(T240, T241)), T9) → U25_ga(T239, T240, T241, T9, le33_in_gg(T239, T240))
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U26_ga(T239, T240, T241, T9, part20_in_ggaa(T239, T241, X437, X438))
U26_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, X437, X438)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U27_ga(T239, T240, T241, T9, part20_in_ggaa(T239, T241, T249, T250))
U27_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U28_ga(T239, T240, T241, T9, qs53_in_aa(T249, X9))
U28_ga(T239, T240, T241, T9, qs53_out_aa(T249, X9)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U27_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U29_ga(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_ga(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_ga(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
U30_ga(T239, T240, T241, T9, p52_out_aaaga(.(T240, T250), X10, T256, T239, T9)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
qs1_in_ga(.(T265, []), T9) → U31_ga(T265, T9, qs99_in_a(X9))
U31_ga(T265, T9, qs99_out_a(X9)) → qs1_out_ga(.(T265, []), T9)
qs1_in_ga(.(T265, []), T9) → U32_ga(T265, T9, qs99_in_a(T268))
U32_ga(T265, T9, qs99_out_a(T268)) → U33_ga(T265, T9, qs99_in_a(X10))
U33_ga(T265, T9, qs99_out_a(X10)) → qs1_out_ga(.(T265, []), T9)
U32_ga(T265, T9, qs99_out_a(T268)) → U34_ga(T265, T9, T268, qs99_in_a(T273))
U34_ga(T265, T9, T268, qs99_out_a(T273)) → U35_ga(T265, T9, app54_in_ggga(T268, T265, T273, T9))
app54_in_ggga(.(T210, T211), T212, T213, .(T210, T215)) → U15_ggga(T210, T211, T212, T213, T215, app54_in_ggga(T211, T212, T213, T215))
app54_in_ggga([], T225, T226, .(T225, T226)) → app54_out_ggga([], T225, T226, .(T225, T226))
U15_ggga(T210, T211, T212, T213, T215, app54_out_ggga(T211, T212, T213, T215)) → app54_out_ggga(.(T210, T211), T212, T213, .(T210, T215))
U35_ga(T265, T9, app54_out_ggga(T268, T265, T273, T9)) → qs1_out_ga(.(T265, []), T9)
qs1_in_ga([], []) → qs1_out_ga([], [])

The argument filtering Pi contains the following mapping:
qs1_in_ga(x1, x2)  =  qs1_in_ga(x1)
.(x1, x2)  =  .(x1, x2)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x2, x3, x5)
gt10_in_gg(x1, x2)  =  gt10_in_gg(x1, x2)
s(x1)  =  s(x1)
U1_gg(x1, x2, x3)  =  U1_gg(x1, x2, x3)
0  =  0
gt10_out_gg(x1, x2)  =  gt10_out_gg(x1, x2)
qs1_out_ga(x1, x2)  =  qs1_out_ga(x1)
U20_ga(x1, x2, x3, x4, x5)  =  U20_ga(x1, x2, x3, x5)
part20_in_ggaa(x1, x2, x3, x4)  =  part20_in_ggaa(x1, x2)
U2_ggaa(x1, x2, x3, x4, x5, x6)  =  U2_ggaa(x1, x2, x3, x6)
part20_out_ggaa(x1, x2, x3, x4)  =  part20_out_ggaa(x1, x2)
U3_ggaa(x1, x2, x3, x4, x5, x6)  =  U3_ggaa(x1, x2, x3, x6)
U4_ggaa(x1, x2, x3, x4, x5, x6)  =  U4_ggaa(x1, x2, x3, x6)
le33_in_gg(x1, x2)  =  le33_in_gg(x1, x2)
U6_gg(x1, x2, x3)  =  U6_gg(x1, x2, x3)
le33_out_gg(x1, x2)  =  le33_out_gg(x1, x2)
U5_ggaa(x1, x2, x3, x4, x5, x6)  =  U5_ggaa(x1, x2, x3, x6)
[]  =  []
U21_ga(x1, x2, x3, x4, x5)  =  U21_ga(x1, x2, x3, x5)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x1, x2, x3, x5)
qs1_in_aa(x1, x2)  =  qs1_in_aa
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(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_aa(x1, x2)  =  qs1_out_aa
U20_aa(x1, x2, x3, x4, x5)  =  U20_aa(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)
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)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U6_ga(x1, x2, x3)  =  U6_ga(x1, x3)
le33_out_ga(x1, x2)  =  le33_out_ga(x1)
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x1, x6)
U21_aa(x1, x2, x3, x4, x5)  =  U21_aa(x1, x5)
U22_aa(x1, x2, x3, x4, x5)  =  U22_aa(x5)
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
le33_in_aa(x1, x2)  =  le33_in_aa
U6_aa(x1, x2, x3)  =  U6_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
U26_aa(x1, x2, x3, x4, x5)  =  U26_aa(x5)
U27_aa(x1, x2, x3, x4, x5)  =  U27_aa(x1, x5)
U28_aa(x1, x2, x3, x4, x5)  =  U28_aa(x5)
qs53_in_aa(x1, x2)  =  qs53_in_aa
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
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)
qs53_out_aa(x1, x2)  =  qs53_out_aa
U8_aa(x1, x2, x3, x4)  =  U8_aa(x4)
U9_aa(x1, x2, x3, x4)  =  U9_aa(x4)
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4)  =  U11_aa(x4)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4)  =  U13_aa(x4)
app65_in_aaaa(x1, x2, x3, x4)  =  app65_in_aaaa
U14_aaaa(x1, x2, x3, x4, x5, x6)  =  U14_aaaa(x6)
app65_out_aaaa(x1, x2, x3, x4)  =  app65_out_aaaa
U29_aa(x1, x2, x3, x4, x5, x6)  =  U29_aa(x1, x6)
U30_aa(x1, x2, x3, x4, x5)  =  U30_aa(x5)
p52_in_aaaga(x1, x2, x3, x4, x5)  =  p52_in_aaaga(x4)
U16_aaaga(x1, x2, x3, x4, x5, x6)  =  U16_aaaga(x4, x6)
p52_out_aaaga(x1, x2, x3, x4, x5)  =  p52_out_aaaga(x4)
U17_aaaga(x1, x2, x3, x4, x5, x6)  =  U17_aaaga(x4, x6)
U18_aaaga(x1, x2, x3, x4, x5, x6)  =  U18_aaaga(x4, x6)
app54_in_agaa(x1, x2, x3, x4)  =  app54_in_agaa(x2)
U15_agaa(x1, x2, x3, x4, x5, x6)  =  U15_agaa(x3, x6)
app54_out_agaa(x1, x2, x3, x4)  =  app54_out_agaa(x2)
U31_aa(x1, x2, x3)  =  U31_aa(x3)
qs99_in_a(x1)  =  qs99_in_a
qs99_out_a(x1)  =  qs99_out_a(x1)
U32_aa(x1, x2, x3)  =  U32_aa(x3)
U33_aa(x1, x2, x3)  =  U33_aa(x3)
U34_aa(x1, x2, x3, x4)  =  U34_aa(x3, x4)
U35_aa(x1, x2, x3)  =  U35_aa(x3)
app54_in_gaga(x1, x2, x3, x4)  =  app54_in_gaga(x1, x3)
U15_gaga(x1, x2, x3, x4, x5, x6)  =  U15_gaga(x1, x2, x4, x6)
app54_out_gaga(x1, x2, x3, x4)  =  app54_out_gaga(x1, x3)
U23_aa(x1, x2, x3, x4, x5, x6)  =  U23_aa(x1, x6)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U23_ga(x1, x2, x3, x4, x5, x6)  =  U23_ga(x1, x2, x3, x6)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x1, x2, x3, x5)
U25_ga(x1, x2, x3, x4, x5)  =  U25_ga(x1, x2, x3, x5)
U26_ga(x1, x2, x3, x4, x5)  =  U26_ga(x1, x2, x3, x5)
U27_ga(x1, x2, x3, x4, x5)  =  U27_ga(x1, x2, x3, x5)
U28_ga(x1, x2, x3, x4, x5)  =  U28_ga(x1, x2, x3, x5)
U29_ga(x1, x2, x3, x4, x5, x6)  =  U29_ga(x1, x2, x3, x6)
U30_ga(x1, x2, x3, x4, x5)  =  U30_ga(x1, x2, x3, x5)
U31_ga(x1, x2, x3)  =  U31_ga(x1, x3)
U32_ga(x1, x2, x3)  =  U32_ga(x1, x3)
U33_ga(x1, x2, x3)  =  U33_ga(x1, x3)
U34_ga(x1, x2, x3, x4)  =  U34_ga(x1, x3, x4)
U35_ga(x1, x2, x3)  =  U35_ga(x1, x3)
app54_in_ggga(x1, x2, x3, x4)  =  app54_in_ggga(x1, x2, x3)
U15_ggga(x1, x2, x3, x4, x5, x6)  =  U15_ggga(x1, x2, x3, x4, x6)
app54_out_ggga(x1, x2, x3, x4)  =  app54_out_ggga(x1, x2, x3, x4)
APP54_IN_AGAA(x1, x2, x3, x4)  =  APP54_IN_AGAA(x2)

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:

APP54_IN_AGAA(.(T210, T211), T212, T213, .(T210, T215)) → APP54_IN_AGAA(T211, T212, T213, T215)

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

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:

APP54_IN_AGAA(T212) → APP54_IN_AGAA(T212)

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 = APP54_IN_AGAA(T212) evaluates to t =APP54_IN_AGAA(T212)

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 APP54_IN_AGAA(T212) to APP54_IN_AGAA(T212).



(29) NO

(30) Obligation:

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

APP65_IN_AAAA(.(T171, T172), T173, T174, .(T171, X354)) → APP65_IN_AAAA(T172, T173, T174, X354)

The TRS R consists of the following rules:

qs1_in_ga(.(T22, .(T23, T24)), T9) → U19_ga(T22, T23, T24, T9, gt10_in_gg(T22, T23))
gt10_in_gg(s(T37), s(T38)) → U1_gg(T37, T38, gt10_in_gg(T37, T38))
gt10_in_gg(s(0), 0) → gt10_out_gg(s(0), 0)
U1_gg(T37, T38, gt10_out_gg(T37, T38)) → gt10_out_gg(s(T37), s(T38))
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U20_ga(T22, T23, T24, T9, part20_in_ggaa(T22, T24, X47, X48))
part20_in_ggaa(T61, .(T62, T63), .(T62, X119), X120) → U2_ggaa(T61, T62, T63, X119, X120, gt10_in_gg(T61, T62))
U2_ggaa(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → part20_out_ggaa(T61, .(T62, T63), .(T62, X119), X120)
U2_ggaa(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → U3_ggaa(T61, T62, T63, X119, X120, part20_in_ggaa(T61, T63, X119, X120))
part20_in_ggaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_ggaa(T83, T84, T85, X170, X171, le33_in_gg(T83, T84))
le33_in_gg(s(T98), s(T99)) → U6_gg(T98, T99, le33_in_gg(T98, T99))
le33_in_gg(0, s(T106)) → le33_out_gg(0, s(T106))
le33_in_gg(0, 0) → le33_out_gg(0, 0)
U6_gg(T98, T99, le33_out_gg(T98, T99)) → le33_out_gg(s(T98), s(T99))
U4_ggaa(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → part20_out_ggaa(T83, .(T84, T85), X170, .(T84, X171))
U4_ggaa(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → U5_ggaa(T83, T84, T85, X170, X171, part20_in_ggaa(T83, T85, X170, X171))
part20_in_ggaa(T112, [], [], []) → part20_out_ggaa(T112, [], [], [])
U5_ggaa(T83, T84, T85, X170, X171, part20_out_ggaa(T83, T85, X170, X171)) → part20_out_ggaa(T83, .(T84, T85), X170, .(T84, X171))
U3_ggaa(T61, T62, T63, X119, X120, part20_out_ggaa(T61, T63, X119, X120)) → part20_out_ggaa(T61, .(T62, T63), .(T62, X119), X120)
U20_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, X47, X48)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U21_ga(T22, T23, T24, T9, part20_in_ggaa(T22, T24, T44, T45))
U21_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U22_ga(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
qs1_in_aa(.(T22, .(T23, T24)), T9) → U19_aa(T22, T23, T24, T9, gt10_in_aa(T22, T23))
gt10_in_aa(s(T37), s(T38)) → U1_aa(T37, T38, gt10_in_aa(T37, T38))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U1_aa(T37, T38, gt10_out_aa(T37, T38)) → gt10_out_aa(s(T37), s(T38))
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U20_aa(T22, T23, T24, T9, part20_in_gaaa(T22, T24, X47, X48))
part20_in_gaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_gaaa(T61, T62, T63, X119, X120, gt10_in_ga(T61, T62))
gt10_in_ga(s(T37), s(T38)) → U1_ga(T37, T38, gt10_in_ga(T37, T38))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U1_ga(T37, T38, gt10_out_ga(T37, T38)) → gt10_out_ga(s(T37), s(T38))
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → U3_gaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
part20_in_gaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_gaaa(T83, T84, T85, X170, X171, le33_in_ga(T83, T84))
le33_in_ga(s(T98), s(T99)) → U6_ga(T98, T99, le33_in_ga(T98, T99))
le33_in_ga(0, s(T106)) → le33_out_ga(0, s(T106))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U6_ga(T98, T99, le33_out_ga(T98, T99)) → le33_out_ga(s(T98), s(T99))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → U5_gaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
part20_in_gaaa(T112, [], [], []) → part20_out_gaaa(T112, [], [], [])
U5_gaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U3_gaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U20_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, X47, X48)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U21_aa(T22, T23, T24, T9, part20_in_gaaa(T22, T24, T44, T45))
U21_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U22_aa(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
qs1_in_aa(.(T239, .(T240, T241)), T9) → U25_aa(T239, T240, T241, T9, le33_in_aa(T239, T240))
le33_in_aa(s(T98), s(T99)) → U6_aa(T98, T99, le33_in_aa(T98, T99))
le33_in_aa(0, s(T106)) → le33_out_aa(0, s(T106))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U6_aa(T98, T99, le33_out_aa(T98, T99)) → le33_out_aa(s(T98), s(T99))
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U26_aa(T239, T240, T241, T9, part20_in_gaaa(T239, T241, X437, X438))
U26_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, X437, X438)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U27_aa(T239, T240, T241, T9, part20_in_gaaa(T239, T241, T249, T250))
U27_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U28_aa(T239, T240, T241, T9, qs53_in_aa(T249, X9))
qs53_in_aa(.(T131, T132), X275) → U7_aa(T131, T132, X275, part20_in_aaaa(T131, T132, X271, X272))
part20_in_aaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_aaaa(T61, T62, T63, X119, X120, gt10_in_aa(T61, T62))
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → U3_aaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
U3_aaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
part20_in_aaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_aaaa(T83, T84, T85, X170, X171, le33_in_aa(T83, T84))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → U5_aaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
U5_aaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
part20_in_aaaa(T112, [], [], []) → part20_out_aaaa(T112, [], [], [])
U7_aa(T131, T132, X275, part20_out_aaaa(T131, T132, X271, X272)) → qs53_out_aa(.(T131, T132), X275)
qs53_in_aa(.(T131, T132), X275) → U8_aa(T131, T132, X275, part20_in_aaaa(T131, T132, T136, T137))
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U9_aa(T131, T132, X275, qs53_in_aa(T136, X273))
qs53_in_aa([], []) → qs53_out_aa([], [])
U9_aa(T131, T132, X275, qs53_out_aa(T136, X273)) → qs53_out_aa(.(T131, T132), X275)
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U10_aa(T131, T132, X275, T137, qs53_in_aa(T136, T143))
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U11_aa(T131, T132, X275, qs53_in_aa(T137, X274))
U11_aa(T131, T132, X275, qs53_out_aa(T137, X274)) → qs53_out_aa(.(T131, T132), X275)
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U12_aa(T131, T132, X275, T143, qs53_in_aa(T137, T148))
U12_aa(T131, T132, X275, T143, qs53_out_aa(T137, T148)) → U13_aa(T131, T132, X275, app65_in_aaaa(T143, T131, T148, X275))
app65_in_aaaa(.(T171, T172), T173, T174, .(T171, X354)) → U14_aaaa(T171, T172, T173, T174, X354, app65_in_aaaa(T172, T173, T174, X354))
app65_in_aaaa([], T183, T184, .(T183, T184)) → app65_out_aaaa([], T183, T184, .(T183, T184))
U14_aaaa(T171, T172, T173, T174, X354, app65_out_aaaa(T172, T173, T174, X354)) → app65_out_aaaa(.(T171, T172), T173, T174, .(T171, X354))
U13_aa(T131, T132, X275, app65_out_aaaa(T143, T131, T148, X275)) → qs53_out_aa(.(T131, T132), X275)
U28_aa(T239, T240, T241, T9, qs53_out_aa(T249, X9)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U27_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U29_aa(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_aa(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_aa(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
p52_in_aaaga(T45, X10, T115, T22, T9) → U16_aaaga(T45, X10, T115, T22, T9, qs53_in_aa(T45, X10))
U16_aaaga(T45, X10, T115, T22, T9, qs53_out_aa(T45, X10)) → p52_out_aaaga(T45, X10, T115, T22, T9)
p52_in_aaaga(T45, T120, T115, T22, T9) → U17_aaaga(T45, T120, T115, T22, T9, qs53_in_aa(T45, T120))
U17_aaaga(T45, T120, T115, T22, T9, qs53_out_aa(T45, T120)) → U18_aaaga(T45, T120, T115, T22, T9, app54_in_agaa(T115, T22, T120, T9))
app54_in_agaa(.(T210, T211), T212, T213, .(T210, T215)) → U15_agaa(T210, T211, T212, T213, T215, app54_in_agaa(T211, T212, T213, T215))
app54_in_agaa([], T225, T226, .(T225, T226)) → app54_out_agaa([], T225, T226, .(T225, T226))
U15_agaa(T210, T211, T212, T213, T215, app54_out_agaa(T211, T212, T213, T215)) → app54_out_agaa(.(T210, T211), T212, T213, .(T210, T215))
U18_aaaga(T45, T120, T115, T22, T9, app54_out_agaa(T115, T22, T120, T9)) → p52_out_aaaga(T45, T120, T115, T22, T9)
U30_aa(T239, T240, T241, T9, p52_out_aaaga(.(T240, T250), X10, T256, T239, T9)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
qs1_in_aa(.(T265, []), T9) → U31_aa(T265, T9, qs99_in_a(X9))
qs99_in_a([]) → qs99_out_a([])
U31_aa(T265, T9, qs99_out_a(X9)) → qs1_out_aa(.(T265, []), T9)
qs1_in_aa(.(T265, []), T9) → U32_aa(T265, T9, qs99_in_a(T268))
U32_aa(T265, T9, qs99_out_a(T268)) → U33_aa(T265, T9, qs99_in_a(X10))
U33_aa(T265, T9, qs99_out_a(X10)) → qs1_out_aa(.(T265, []), T9)
U32_aa(T265, T9, qs99_out_a(T268)) → U34_aa(T265, T9, T268, qs99_in_a(T273))
U34_aa(T265, T9, T268, qs99_out_a(T273)) → U35_aa(T265, T9, app54_in_gaga(T268, T265, T273, T9))
app54_in_gaga(.(T210, T211), T212, T213, .(T210, T215)) → U15_gaga(T210, T211, T212, T213, T215, app54_in_gaga(T211, T212, T213, T215))
app54_in_gaga([], T225, T226, .(T225, T226)) → app54_out_gaga([], T225, T226, .(T225, T226))
U15_gaga(T210, T211, T212, T213, T215, app54_out_gaga(T211, T212, T213, T215)) → app54_out_gaga(.(T210, T211), T212, T213, .(T210, T215))
U35_aa(T265, T9, app54_out_gaga(T268, T265, T273, T9)) → qs1_out_aa(.(T265, []), T9)
qs1_in_aa([], []) → qs1_out_aa([], [])
U22_aa(T22, T23, T24, T9, qs1_out_aa(.(T23, T44), X9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U21_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U23_aa(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_aa(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_aa(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U24_aa(T22, T23, T24, T9, p52_out_aaaga(T45, X10, T115, T22, T9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U22_ga(T22, T23, T24, T9, qs1_out_aa(.(T23, T44), X9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U21_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U23_ga(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_ga(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_ga(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U24_ga(T22, T23, T24, T9, p52_out_aaaga(T45, X10, T115, T22, T9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
qs1_in_ga(.(T239, .(T240, T241)), T9) → U25_ga(T239, T240, T241, T9, le33_in_gg(T239, T240))
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U26_ga(T239, T240, T241, T9, part20_in_ggaa(T239, T241, X437, X438))
U26_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, X437, X438)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U27_ga(T239, T240, T241, T9, part20_in_ggaa(T239, T241, T249, T250))
U27_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U28_ga(T239, T240, T241, T9, qs53_in_aa(T249, X9))
U28_ga(T239, T240, T241, T9, qs53_out_aa(T249, X9)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U27_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U29_ga(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_ga(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_ga(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
U30_ga(T239, T240, T241, T9, p52_out_aaaga(.(T240, T250), X10, T256, T239, T9)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
qs1_in_ga(.(T265, []), T9) → U31_ga(T265, T9, qs99_in_a(X9))
U31_ga(T265, T9, qs99_out_a(X9)) → qs1_out_ga(.(T265, []), T9)
qs1_in_ga(.(T265, []), T9) → U32_ga(T265, T9, qs99_in_a(T268))
U32_ga(T265, T9, qs99_out_a(T268)) → U33_ga(T265, T9, qs99_in_a(X10))
U33_ga(T265, T9, qs99_out_a(X10)) → qs1_out_ga(.(T265, []), T9)
U32_ga(T265, T9, qs99_out_a(T268)) → U34_ga(T265, T9, T268, qs99_in_a(T273))
U34_ga(T265, T9, T268, qs99_out_a(T273)) → U35_ga(T265, T9, app54_in_ggga(T268, T265, T273, T9))
app54_in_ggga(.(T210, T211), T212, T213, .(T210, T215)) → U15_ggga(T210, T211, T212, T213, T215, app54_in_ggga(T211, T212, T213, T215))
app54_in_ggga([], T225, T226, .(T225, T226)) → app54_out_ggga([], T225, T226, .(T225, T226))
U15_ggga(T210, T211, T212, T213, T215, app54_out_ggga(T211, T212, T213, T215)) → app54_out_ggga(.(T210, T211), T212, T213, .(T210, T215))
U35_ga(T265, T9, app54_out_ggga(T268, T265, T273, T9)) → qs1_out_ga(.(T265, []), T9)
qs1_in_ga([], []) → qs1_out_ga([], [])

The argument filtering Pi contains the following mapping:
qs1_in_ga(x1, x2)  =  qs1_in_ga(x1)
.(x1, x2)  =  .(x1, x2)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x2, x3, x5)
gt10_in_gg(x1, x2)  =  gt10_in_gg(x1, x2)
s(x1)  =  s(x1)
U1_gg(x1, x2, x3)  =  U1_gg(x1, x2, x3)
0  =  0
gt10_out_gg(x1, x2)  =  gt10_out_gg(x1, x2)
qs1_out_ga(x1, x2)  =  qs1_out_ga(x1)
U20_ga(x1, x2, x3, x4, x5)  =  U20_ga(x1, x2, x3, x5)
part20_in_ggaa(x1, x2, x3, x4)  =  part20_in_ggaa(x1, x2)
U2_ggaa(x1, x2, x3, x4, x5, x6)  =  U2_ggaa(x1, x2, x3, x6)
part20_out_ggaa(x1, x2, x3, x4)  =  part20_out_ggaa(x1, x2)
U3_ggaa(x1, x2, x3, x4, x5, x6)  =  U3_ggaa(x1, x2, x3, x6)
U4_ggaa(x1, x2, x3, x4, x5, x6)  =  U4_ggaa(x1, x2, x3, x6)
le33_in_gg(x1, x2)  =  le33_in_gg(x1, x2)
U6_gg(x1, x2, x3)  =  U6_gg(x1, x2, x3)
le33_out_gg(x1, x2)  =  le33_out_gg(x1, x2)
U5_ggaa(x1, x2, x3, x4, x5, x6)  =  U5_ggaa(x1, x2, x3, x6)
[]  =  []
U21_ga(x1, x2, x3, x4, x5)  =  U21_ga(x1, x2, x3, x5)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x1, x2, x3, x5)
qs1_in_aa(x1, x2)  =  qs1_in_aa
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(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_aa(x1, x2)  =  qs1_out_aa
U20_aa(x1, x2, x3, x4, x5)  =  U20_aa(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)
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)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U6_ga(x1, x2, x3)  =  U6_ga(x1, x3)
le33_out_ga(x1, x2)  =  le33_out_ga(x1)
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x1, x6)
U21_aa(x1, x2, x3, x4, x5)  =  U21_aa(x1, x5)
U22_aa(x1, x2, x3, x4, x5)  =  U22_aa(x5)
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
le33_in_aa(x1, x2)  =  le33_in_aa
U6_aa(x1, x2, x3)  =  U6_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
U26_aa(x1, x2, x3, x4, x5)  =  U26_aa(x5)
U27_aa(x1, x2, x3, x4, x5)  =  U27_aa(x1, x5)
U28_aa(x1, x2, x3, x4, x5)  =  U28_aa(x5)
qs53_in_aa(x1, x2)  =  qs53_in_aa
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
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)
qs53_out_aa(x1, x2)  =  qs53_out_aa
U8_aa(x1, x2, x3, x4)  =  U8_aa(x4)
U9_aa(x1, x2, x3, x4)  =  U9_aa(x4)
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4)  =  U11_aa(x4)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4)  =  U13_aa(x4)
app65_in_aaaa(x1, x2, x3, x4)  =  app65_in_aaaa
U14_aaaa(x1, x2, x3, x4, x5, x6)  =  U14_aaaa(x6)
app65_out_aaaa(x1, x2, x3, x4)  =  app65_out_aaaa
U29_aa(x1, x2, x3, x4, x5, x6)  =  U29_aa(x1, x6)
U30_aa(x1, x2, x3, x4, x5)  =  U30_aa(x5)
p52_in_aaaga(x1, x2, x3, x4, x5)  =  p52_in_aaaga(x4)
U16_aaaga(x1, x2, x3, x4, x5, x6)  =  U16_aaaga(x4, x6)
p52_out_aaaga(x1, x2, x3, x4, x5)  =  p52_out_aaaga(x4)
U17_aaaga(x1, x2, x3, x4, x5, x6)  =  U17_aaaga(x4, x6)
U18_aaaga(x1, x2, x3, x4, x5, x6)  =  U18_aaaga(x4, x6)
app54_in_agaa(x1, x2, x3, x4)  =  app54_in_agaa(x2)
U15_agaa(x1, x2, x3, x4, x5, x6)  =  U15_agaa(x3, x6)
app54_out_agaa(x1, x2, x3, x4)  =  app54_out_agaa(x2)
U31_aa(x1, x2, x3)  =  U31_aa(x3)
qs99_in_a(x1)  =  qs99_in_a
qs99_out_a(x1)  =  qs99_out_a(x1)
U32_aa(x1, x2, x3)  =  U32_aa(x3)
U33_aa(x1, x2, x3)  =  U33_aa(x3)
U34_aa(x1, x2, x3, x4)  =  U34_aa(x3, x4)
U35_aa(x1, x2, x3)  =  U35_aa(x3)
app54_in_gaga(x1, x2, x3, x4)  =  app54_in_gaga(x1, x3)
U15_gaga(x1, x2, x3, x4, x5, x6)  =  U15_gaga(x1, x2, x4, x6)
app54_out_gaga(x1, x2, x3, x4)  =  app54_out_gaga(x1, x3)
U23_aa(x1, x2, x3, x4, x5, x6)  =  U23_aa(x1, x6)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U23_ga(x1, x2, x3, x4, x5, x6)  =  U23_ga(x1, x2, x3, x6)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x1, x2, x3, x5)
U25_ga(x1, x2, x3, x4, x5)  =  U25_ga(x1, x2, x3, x5)
U26_ga(x1, x2, x3, x4, x5)  =  U26_ga(x1, x2, x3, x5)
U27_ga(x1, x2, x3, x4, x5)  =  U27_ga(x1, x2, x3, x5)
U28_ga(x1, x2, x3, x4, x5)  =  U28_ga(x1, x2, x3, x5)
U29_ga(x1, x2, x3, x4, x5, x6)  =  U29_ga(x1, x2, x3, x6)
U30_ga(x1, x2, x3, x4, x5)  =  U30_ga(x1, x2, x3, x5)
U31_ga(x1, x2, x3)  =  U31_ga(x1, x3)
U32_ga(x1, x2, x3)  =  U32_ga(x1, x3)
U33_ga(x1, x2, x3)  =  U33_ga(x1, x3)
U34_ga(x1, x2, x3, x4)  =  U34_ga(x1, x3, x4)
U35_ga(x1, x2, x3)  =  U35_ga(x1, x3)
app54_in_ggga(x1, x2, x3, x4)  =  app54_in_ggga(x1, x2, x3)
U15_ggga(x1, x2, x3, x4, x5, x6)  =  U15_ggga(x1, x2, x3, x4, x6)
app54_out_ggga(x1, x2, x3, x4)  =  app54_out_ggga(x1, x2, x3, x4)
APP65_IN_AAAA(x1, x2, x3, x4)  =  APP65_IN_AAAA

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:

APP65_IN_AAAA(.(T171, T172), T173, T174, .(T171, X354)) → APP65_IN_AAAA(T172, T173, T174, X354)

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

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:

APP65_IN_AAAAAPP65_IN_AAAA

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 = APP65_IN_AAAA evaluates to t =APP65_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 APP65_IN_AAAA to APP65_IN_AAAA.



(36) NO

(37) Obligation:

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

LE33_IN_AA(s(T98), s(T99)) → LE33_IN_AA(T98, T99)

The TRS R consists of the following rules:

qs1_in_ga(.(T22, .(T23, T24)), T9) → U19_ga(T22, T23, T24, T9, gt10_in_gg(T22, T23))
gt10_in_gg(s(T37), s(T38)) → U1_gg(T37, T38, gt10_in_gg(T37, T38))
gt10_in_gg(s(0), 0) → gt10_out_gg(s(0), 0)
U1_gg(T37, T38, gt10_out_gg(T37, T38)) → gt10_out_gg(s(T37), s(T38))
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U20_ga(T22, T23, T24, T9, part20_in_ggaa(T22, T24, X47, X48))
part20_in_ggaa(T61, .(T62, T63), .(T62, X119), X120) → U2_ggaa(T61, T62, T63, X119, X120, gt10_in_gg(T61, T62))
U2_ggaa(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → part20_out_ggaa(T61, .(T62, T63), .(T62, X119), X120)
U2_ggaa(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → U3_ggaa(T61, T62, T63, X119, X120, part20_in_ggaa(T61, T63, X119, X120))
part20_in_ggaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_ggaa(T83, T84, T85, X170, X171, le33_in_gg(T83, T84))
le33_in_gg(s(T98), s(T99)) → U6_gg(T98, T99, le33_in_gg(T98, T99))
le33_in_gg(0, s(T106)) → le33_out_gg(0, s(T106))
le33_in_gg(0, 0) → le33_out_gg(0, 0)
U6_gg(T98, T99, le33_out_gg(T98, T99)) → le33_out_gg(s(T98), s(T99))
U4_ggaa(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → part20_out_ggaa(T83, .(T84, T85), X170, .(T84, X171))
U4_ggaa(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → U5_ggaa(T83, T84, T85, X170, X171, part20_in_ggaa(T83, T85, X170, X171))
part20_in_ggaa(T112, [], [], []) → part20_out_ggaa(T112, [], [], [])
U5_ggaa(T83, T84, T85, X170, X171, part20_out_ggaa(T83, T85, X170, X171)) → part20_out_ggaa(T83, .(T84, T85), X170, .(T84, X171))
U3_ggaa(T61, T62, T63, X119, X120, part20_out_ggaa(T61, T63, X119, X120)) → part20_out_ggaa(T61, .(T62, T63), .(T62, X119), X120)
U20_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, X47, X48)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U21_ga(T22, T23, T24, T9, part20_in_ggaa(T22, T24, T44, T45))
U21_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U22_ga(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
qs1_in_aa(.(T22, .(T23, T24)), T9) → U19_aa(T22, T23, T24, T9, gt10_in_aa(T22, T23))
gt10_in_aa(s(T37), s(T38)) → U1_aa(T37, T38, gt10_in_aa(T37, T38))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U1_aa(T37, T38, gt10_out_aa(T37, T38)) → gt10_out_aa(s(T37), s(T38))
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U20_aa(T22, T23, T24, T9, part20_in_gaaa(T22, T24, X47, X48))
part20_in_gaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_gaaa(T61, T62, T63, X119, X120, gt10_in_ga(T61, T62))
gt10_in_ga(s(T37), s(T38)) → U1_ga(T37, T38, gt10_in_ga(T37, T38))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U1_ga(T37, T38, gt10_out_ga(T37, T38)) → gt10_out_ga(s(T37), s(T38))
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → U3_gaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
part20_in_gaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_gaaa(T83, T84, T85, X170, X171, le33_in_ga(T83, T84))
le33_in_ga(s(T98), s(T99)) → U6_ga(T98, T99, le33_in_ga(T98, T99))
le33_in_ga(0, s(T106)) → le33_out_ga(0, s(T106))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U6_ga(T98, T99, le33_out_ga(T98, T99)) → le33_out_ga(s(T98), s(T99))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → U5_gaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
part20_in_gaaa(T112, [], [], []) → part20_out_gaaa(T112, [], [], [])
U5_gaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U3_gaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U20_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, X47, X48)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U21_aa(T22, T23, T24, T9, part20_in_gaaa(T22, T24, T44, T45))
U21_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U22_aa(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
qs1_in_aa(.(T239, .(T240, T241)), T9) → U25_aa(T239, T240, T241, T9, le33_in_aa(T239, T240))
le33_in_aa(s(T98), s(T99)) → U6_aa(T98, T99, le33_in_aa(T98, T99))
le33_in_aa(0, s(T106)) → le33_out_aa(0, s(T106))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U6_aa(T98, T99, le33_out_aa(T98, T99)) → le33_out_aa(s(T98), s(T99))
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U26_aa(T239, T240, T241, T9, part20_in_gaaa(T239, T241, X437, X438))
U26_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, X437, X438)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U27_aa(T239, T240, T241, T9, part20_in_gaaa(T239, T241, T249, T250))
U27_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U28_aa(T239, T240, T241, T9, qs53_in_aa(T249, X9))
qs53_in_aa(.(T131, T132), X275) → U7_aa(T131, T132, X275, part20_in_aaaa(T131, T132, X271, X272))
part20_in_aaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_aaaa(T61, T62, T63, X119, X120, gt10_in_aa(T61, T62))
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → U3_aaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
U3_aaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
part20_in_aaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_aaaa(T83, T84, T85, X170, X171, le33_in_aa(T83, T84))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → U5_aaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
U5_aaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
part20_in_aaaa(T112, [], [], []) → part20_out_aaaa(T112, [], [], [])
U7_aa(T131, T132, X275, part20_out_aaaa(T131, T132, X271, X272)) → qs53_out_aa(.(T131, T132), X275)
qs53_in_aa(.(T131, T132), X275) → U8_aa(T131, T132, X275, part20_in_aaaa(T131, T132, T136, T137))
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U9_aa(T131, T132, X275, qs53_in_aa(T136, X273))
qs53_in_aa([], []) → qs53_out_aa([], [])
U9_aa(T131, T132, X275, qs53_out_aa(T136, X273)) → qs53_out_aa(.(T131, T132), X275)
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U10_aa(T131, T132, X275, T137, qs53_in_aa(T136, T143))
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U11_aa(T131, T132, X275, qs53_in_aa(T137, X274))
U11_aa(T131, T132, X275, qs53_out_aa(T137, X274)) → qs53_out_aa(.(T131, T132), X275)
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U12_aa(T131, T132, X275, T143, qs53_in_aa(T137, T148))
U12_aa(T131, T132, X275, T143, qs53_out_aa(T137, T148)) → U13_aa(T131, T132, X275, app65_in_aaaa(T143, T131, T148, X275))
app65_in_aaaa(.(T171, T172), T173, T174, .(T171, X354)) → U14_aaaa(T171, T172, T173, T174, X354, app65_in_aaaa(T172, T173, T174, X354))
app65_in_aaaa([], T183, T184, .(T183, T184)) → app65_out_aaaa([], T183, T184, .(T183, T184))
U14_aaaa(T171, T172, T173, T174, X354, app65_out_aaaa(T172, T173, T174, X354)) → app65_out_aaaa(.(T171, T172), T173, T174, .(T171, X354))
U13_aa(T131, T132, X275, app65_out_aaaa(T143, T131, T148, X275)) → qs53_out_aa(.(T131, T132), X275)
U28_aa(T239, T240, T241, T9, qs53_out_aa(T249, X9)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U27_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U29_aa(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_aa(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_aa(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
p52_in_aaaga(T45, X10, T115, T22, T9) → U16_aaaga(T45, X10, T115, T22, T9, qs53_in_aa(T45, X10))
U16_aaaga(T45, X10, T115, T22, T9, qs53_out_aa(T45, X10)) → p52_out_aaaga(T45, X10, T115, T22, T9)
p52_in_aaaga(T45, T120, T115, T22, T9) → U17_aaaga(T45, T120, T115, T22, T9, qs53_in_aa(T45, T120))
U17_aaaga(T45, T120, T115, T22, T9, qs53_out_aa(T45, T120)) → U18_aaaga(T45, T120, T115, T22, T9, app54_in_agaa(T115, T22, T120, T9))
app54_in_agaa(.(T210, T211), T212, T213, .(T210, T215)) → U15_agaa(T210, T211, T212, T213, T215, app54_in_agaa(T211, T212, T213, T215))
app54_in_agaa([], T225, T226, .(T225, T226)) → app54_out_agaa([], T225, T226, .(T225, T226))
U15_agaa(T210, T211, T212, T213, T215, app54_out_agaa(T211, T212, T213, T215)) → app54_out_agaa(.(T210, T211), T212, T213, .(T210, T215))
U18_aaaga(T45, T120, T115, T22, T9, app54_out_agaa(T115, T22, T120, T9)) → p52_out_aaaga(T45, T120, T115, T22, T9)
U30_aa(T239, T240, T241, T9, p52_out_aaaga(.(T240, T250), X10, T256, T239, T9)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
qs1_in_aa(.(T265, []), T9) → U31_aa(T265, T9, qs99_in_a(X9))
qs99_in_a([]) → qs99_out_a([])
U31_aa(T265, T9, qs99_out_a(X9)) → qs1_out_aa(.(T265, []), T9)
qs1_in_aa(.(T265, []), T9) → U32_aa(T265, T9, qs99_in_a(T268))
U32_aa(T265, T9, qs99_out_a(T268)) → U33_aa(T265, T9, qs99_in_a(X10))
U33_aa(T265, T9, qs99_out_a(X10)) → qs1_out_aa(.(T265, []), T9)
U32_aa(T265, T9, qs99_out_a(T268)) → U34_aa(T265, T9, T268, qs99_in_a(T273))
U34_aa(T265, T9, T268, qs99_out_a(T273)) → U35_aa(T265, T9, app54_in_gaga(T268, T265, T273, T9))
app54_in_gaga(.(T210, T211), T212, T213, .(T210, T215)) → U15_gaga(T210, T211, T212, T213, T215, app54_in_gaga(T211, T212, T213, T215))
app54_in_gaga([], T225, T226, .(T225, T226)) → app54_out_gaga([], T225, T226, .(T225, T226))
U15_gaga(T210, T211, T212, T213, T215, app54_out_gaga(T211, T212, T213, T215)) → app54_out_gaga(.(T210, T211), T212, T213, .(T210, T215))
U35_aa(T265, T9, app54_out_gaga(T268, T265, T273, T9)) → qs1_out_aa(.(T265, []), T9)
qs1_in_aa([], []) → qs1_out_aa([], [])
U22_aa(T22, T23, T24, T9, qs1_out_aa(.(T23, T44), X9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U21_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U23_aa(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_aa(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_aa(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U24_aa(T22, T23, T24, T9, p52_out_aaaga(T45, X10, T115, T22, T9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U22_ga(T22, T23, T24, T9, qs1_out_aa(.(T23, T44), X9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U21_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U23_ga(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_ga(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_ga(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U24_ga(T22, T23, T24, T9, p52_out_aaaga(T45, X10, T115, T22, T9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
qs1_in_ga(.(T239, .(T240, T241)), T9) → U25_ga(T239, T240, T241, T9, le33_in_gg(T239, T240))
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U26_ga(T239, T240, T241, T9, part20_in_ggaa(T239, T241, X437, X438))
U26_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, X437, X438)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U27_ga(T239, T240, T241, T9, part20_in_ggaa(T239, T241, T249, T250))
U27_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U28_ga(T239, T240, T241, T9, qs53_in_aa(T249, X9))
U28_ga(T239, T240, T241, T9, qs53_out_aa(T249, X9)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U27_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U29_ga(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_ga(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_ga(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
U30_ga(T239, T240, T241, T9, p52_out_aaaga(.(T240, T250), X10, T256, T239, T9)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
qs1_in_ga(.(T265, []), T9) → U31_ga(T265, T9, qs99_in_a(X9))
U31_ga(T265, T9, qs99_out_a(X9)) → qs1_out_ga(.(T265, []), T9)
qs1_in_ga(.(T265, []), T9) → U32_ga(T265, T9, qs99_in_a(T268))
U32_ga(T265, T9, qs99_out_a(T268)) → U33_ga(T265, T9, qs99_in_a(X10))
U33_ga(T265, T9, qs99_out_a(X10)) → qs1_out_ga(.(T265, []), T9)
U32_ga(T265, T9, qs99_out_a(T268)) → U34_ga(T265, T9, T268, qs99_in_a(T273))
U34_ga(T265, T9, T268, qs99_out_a(T273)) → U35_ga(T265, T9, app54_in_ggga(T268, T265, T273, T9))
app54_in_ggga(.(T210, T211), T212, T213, .(T210, T215)) → U15_ggga(T210, T211, T212, T213, T215, app54_in_ggga(T211, T212, T213, T215))
app54_in_ggga([], T225, T226, .(T225, T226)) → app54_out_ggga([], T225, T226, .(T225, T226))
U15_ggga(T210, T211, T212, T213, T215, app54_out_ggga(T211, T212, T213, T215)) → app54_out_ggga(.(T210, T211), T212, T213, .(T210, T215))
U35_ga(T265, T9, app54_out_ggga(T268, T265, T273, T9)) → qs1_out_ga(.(T265, []), T9)
qs1_in_ga([], []) → qs1_out_ga([], [])

The argument filtering Pi contains the following mapping:
qs1_in_ga(x1, x2)  =  qs1_in_ga(x1)
.(x1, x2)  =  .(x1, x2)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x2, x3, x5)
gt10_in_gg(x1, x2)  =  gt10_in_gg(x1, x2)
s(x1)  =  s(x1)
U1_gg(x1, x2, x3)  =  U1_gg(x1, x2, x3)
0  =  0
gt10_out_gg(x1, x2)  =  gt10_out_gg(x1, x2)
qs1_out_ga(x1, x2)  =  qs1_out_ga(x1)
U20_ga(x1, x2, x3, x4, x5)  =  U20_ga(x1, x2, x3, x5)
part20_in_ggaa(x1, x2, x3, x4)  =  part20_in_ggaa(x1, x2)
U2_ggaa(x1, x2, x3, x4, x5, x6)  =  U2_ggaa(x1, x2, x3, x6)
part20_out_ggaa(x1, x2, x3, x4)  =  part20_out_ggaa(x1, x2)
U3_ggaa(x1, x2, x3, x4, x5, x6)  =  U3_ggaa(x1, x2, x3, x6)
U4_ggaa(x1, x2, x3, x4, x5, x6)  =  U4_ggaa(x1, x2, x3, x6)
le33_in_gg(x1, x2)  =  le33_in_gg(x1, x2)
U6_gg(x1, x2, x3)  =  U6_gg(x1, x2, x3)
le33_out_gg(x1, x2)  =  le33_out_gg(x1, x2)
U5_ggaa(x1, x2, x3, x4, x5, x6)  =  U5_ggaa(x1, x2, x3, x6)
[]  =  []
U21_ga(x1, x2, x3, x4, x5)  =  U21_ga(x1, x2, x3, x5)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x1, x2, x3, x5)
qs1_in_aa(x1, x2)  =  qs1_in_aa
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(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_aa(x1, x2)  =  qs1_out_aa
U20_aa(x1, x2, x3, x4, x5)  =  U20_aa(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)
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)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U6_ga(x1, x2, x3)  =  U6_ga(x1, x3)
le33_out_ga(x1, x2)  =  le33_out_ga(x1)
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x1, x6)
U21_aa(x1, x2, x3, x4, x5)  =  U21_aa(x1, x5)
U22_aa(x1, x2, x3, x4, x5)  =  U22_aa(x5)
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
le33_in_aa(x1, x2)  =  le33_in_aa
U6_aa(x1, x2, x3)  =  U6_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
U26_aa(x1, x2, x3, x4, x5)  =  U26_aa(x5)
U27_aa(x1, x2, x3, x4, x5)  =  U27_aa(x1, x5)
U28_aa(x1, x2, x3, x4, x5)  =  U28_aa(x5)
qs53_in_aa(x1, x2)  =  qs53_in_aa
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
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)
qs53_out_aa(x1, x2)  =  qs53_out_aa
U8_aa(x1, x2, x3, x4)  =  U8_aa(x4)
U9_aa(x1, x2, x3, x4)  =  U9_aa(x4)
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4)  =  U11_aa(x4)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4)  =  U13_aa(x4)
app65_in_aaaa(x1, x2, x3, x4)  =  app65_in_aaaa
U14_aaaa(x1, x2, x3, x4, x5, x6)  =  U14_aaaa(x6)
app65_out_aaaa(x1, x2, x3, x4)  =  app65_out_aaaa
U29_aa(x1, x2, x3, x4, x5, x6)  =  U29_aa(x1, x6)
U30_aa(x1, x2, x3, x4, x5)  =  U30_aa(x5)
p52_in_aaaga(x1, x2, x3, x4, x5)  =  p52_in_aaaga(x4)
U16_aaaga(x1, x2, x3, x4, x5, x6)  =  U16_aaaga(x4, x6)
p52_out_aaaga(x1, x2, x3, x4, x5)  =  p52_out_aaaga(x4)
U17_aaaga(x1, x2, x3, x4, x5, x6)  =  U17_aaaga(x4, x6)
U18_aaaga(x1, x2, x3, x4, x5, x6)  =  U18_aaaga(x4, x6)
app54_in_agaa(x1, x2, x3, x4)  =  app54_in_agaa(x2)
U15_agaa(x1, x2, x3, x4, x5, x6)  =  U15_agaa(x3, x6)
app54_out_agaa(x1, x2, x3, x4)  =  app54_out_agaa(x2)
U31_aa(x1, x2, x3)  =  U31_aa(x3)
qs99_in_a(x1)  =  qs99_in_a
qs99_out_a(x1)  =  qs99_out_a(x1)
U32_aa(x1, x2, x3)  =  U32_aa(x3)
U33_aa(x1, x2, x3)  =  U33_aa(x3)
U34_aa(x1, x2, x3, x4)  =  U34_aa(x3, x4)
U35_aa(x1, x2, x3)  =  U35_aa(x3)
app54_in_gaga(x1, x2, x3, x4)  =  app54_in_gaga(x1, x3)
U15_gaga(x1, x2, x3, x4, x5, x6)  =  U15_gaga(x1, x2, x4, x6)
app54_out_gaga(x1, x2, x3, x4)  =  app54_out_gaga(x1, x3)
U23_aa(x1, x2, x3, x4, x5, x6)  =  U23_aa(x1, x6)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U23_ga(x1, x2, x3, x4, x5, x6)  =  U23_ga(x1, x2, x3, x6)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x1, x2, x3, x5)
U25_ga(x1, x2, x3, x4, x5)  =  U25_ga(x1, x2, x3, x5)
U26_ga(x1, x2, x3, x4, x5)  =  U26_ga(x1, x2, x3, x5)
U27_ga(x1, x2, x3, x4, x5)  =  U27_ga(x1, x2, x3, x5)
U28_ga(x1, x2, x3, x4, x5)  =  U28_ga(x1, x2, x3, x5)
U29_ga(x1, x2, x3, x4, x5, x6)  =  U29_ga(x1, x2, x3, x6)
U30_ga(x1, x2, x3, x4, x5)  =  U30_ga(x1, x2, x3, x5)
U31_ga(x1, x2, x3)  =  U31_ga(x1, x3)
U32_ga(x1, x2, x3)  =  U32_ga(x1, x3)
U33_ga(x1, x2, x3)  =  U33_ga(x1, x3)
U34_ga(x1, x2, x3, x4)  =  U34_ga(x1, x3, x4)
U35_ga(x1, x2, x3)  =  U35_ga(x1, x3)
app54_in_ggga(x1, x2, x3, x4)  =  app54_in_ggga(x1, x2, x3)
U15_ggga(x1, x2, x3, x4, x5, x6)  =  U15_ggga(x1, x2, x3, x4, x6)
app54_out_ggga(x1, x2, x3, x4)  =  app54_out_ggga(x1, x2, x3, x4)
LE33_IN_AA(x1, x2)  =  LE33_IN_AA

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:

LE33_IN_AA(s(T98), s(T99)) → LE33_IN_AA(T98, T99)

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

(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:

LE33_IN_AALE33_IN_AA

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 = 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.



(43) NO

(44) Obligation:

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

LE33_IN_GA(s(T98), s(T99)) → LE33_IN_GA(T98, T99)

The TRS R consists of the following rules:

qs1_in_ga(.(T22, .(T23, T24)), T9) → U19_ga(T22, T23, T24, T9, gt10_in_gg(T22, T23))
gt10_in_gg(s(T37), s(T38)) → U1_gg(T37, T38, gt10_in_gg(T37, T38))
gt10_in_gg(s(0), 0) → gt10_out_gg(s(0), 0)
U1_gg(T37, T38, gt10_out_gg(T37, T38)) → gt10_out_gg(s(T37), s(T38))
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U20_ga(T22, T23, T24, T9, part20_in_ggaa(T22, T24, X47, X48))
part20_in_ggaa(T61, .(T62, T63), .(T62, X119), X120) → U2_ggaa(T61, T62, T63, X119, X120, gt10_in_gg(T61, T62))
U2_ggaa(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → part20_out_ggaa(T61, .(T62, T63), .(T62, X119), X120)
U2_ggaa(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → U3_ggaa(T61, T62, T63, X119, X120, part20_in_ggaa(T61, T63, X119, X120))
part20_in_ggaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_ggaa(T83, T84, T85, X170, X171, le33_in_gg(T83, T84))
le33_in_gg(s(T98), s(T99)) → U6_gg(T98, T99, le33_in_gg(T98, T99))
le33_in_gg(0, s(T106)) → le33_out_gg(0, s(T106))
le33_in_gg(0, 0) → le33_out_gg(0, 0)
U6_gg(T98, T99, le33_out_gg(T98, T99)) → le33_out_gg(s(T98), s(T99))
U4_ggaa(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → part20_out_ggaa(T83, .(T84, T85), X170, .(T84, X171))
U4_ggaa(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → U5_ggaa(T83, T84, T85, X170, X171, part20_in_ggaa(T83, T85, X170, X171))
part20_in_ggaa(T112, [], [], []) → part20_out_ggaa(T112, [], [], [])
U5_ggaa(T83, T84, T85, X170, X171, part20_out_ggaa(T83, T85, X170, X171)) → part20_out_ggaa(T83, .(T84, T85), X170, .(T84, X171))
U3_ggaa(T61, T62, T63, X119, X120, part20_out_ggaa(T61, T63, X119, X120)) → part20_out_ggaa(T61, .(T62, T63), .(T62, X119), X120)
U20_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, X47, X48)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U21_ga(T22, T23, T24, T9, part20_in_ggaa(T22, T24, T44, T45))
U21_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U22_ga(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
qs1_in_aa(.(T22, .(T23, T24)), T9) → U19_aa(T22, T23, T24, T9, gt10_in_aa(T22, T23))
gt10_in_aa(s(T37), s(T38)) → U1_aa(T37, T38, gt10_in_aa(T37, T38))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U1_aa(T37, T38, gt10_out_aa(T37, T38)) → gt10_out_aa(s(T37), s(T38))
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U20_aa(T22, T23, T24, T9, part20_in_gaaa(T22, T24, X47, X48))
part20_in_gaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_gaaa(T61, T62, T63, X119, X120, gt10_in_ga(T61, T62))
gt10_in_ga(s(T37), s(T38)) → U1_ga(T37, T38, gt10_in_ga(T37, T38))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U1_ga(T37, T38, gt10_out_ga(T37, T38)) → gt10_out_ga(s(T37), s(T38))
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → U3_gaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
part20_in_gaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_gaaa(T83, T84, T85, X170, X171, le33_in_ga(T83, T84))
le33_in_ga(s(T98), s(T99)) → U6_ga(T98, T99, le33_in_ga(T98, T99))
le33_in_ga(0, s(T106)) → le33_out_ga(0, s(T106))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U6_ga(T98, T99, le33_out_ga(T98, T99)) → le33_out_ga(s(T98), s(T99))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → U5_gaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
part20_in_gaaa(T112, [], [], []) → part20_out_gaaa(T112, [], [], [])
U5_gaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U3_gaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U20_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, X47, X48)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U21_aa(T22, T23, T24, T9, part20_in_gaaa(T22, T24, T44, T45))
U21_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U22_aa(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
qs1_in_aa(.(T239, .(T240, T241)), T9) → U25_aa(T239, T240, T241, T9, le33_in_aa(T239, T240))
le33_in_aa(s(T98), s(T99)) → U6_aa(T98, T99, le33_in_aa(T98, T99))
le33_in_aa(0, s(T106)) → le33_out_aa(0, s(T106))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U6_aa(T98, T99, le33_out_aa(T98, T99)) → le33_out_aa(s(T98), s(T99))
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U26_aa(T239, T240, T241, T9, part20_in_gaaa(T239, T241, X437, X438))
U26_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, X437, X438)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U27_aa(T239, T240, T241, T9, part20_in_gaaa(T239, T241, T249, T250))
U27_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U28_aa(T239, T240, T241, T9, qs53_in_aa(T249, X9))
qs53_in_aa(.(T131, T132), X275) → U7_aa(T131, T132, X275, part20_in_aaaa(T131, T132, X271, X272))
part20_in_aaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_aaaa(T61, T62, T63, X119, X120, gt10_in_aa(T61, T62))
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → U3_aaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
U3_aaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
part20_in_aaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_aaaa(T83, T84, T85, X170, X171, le33_in_aa(T83, T84))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → U5_aaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
U5_aaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
part20_in_aaaa(T112, [], [], []) → part20_out_aaaa(T112, [], [], [])
U7_aa(T131, T132, X275, part20_out_aaaa(T131, T132, X271, X272)) → qs53_out_aa(.(T131, T132), X275)
qs53_in_aa(.(T131, T132), X275) → U8_aa(T131, T132, X275, part20_in_aaaa(T131, T132, T136, T137))
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U9_aa(T131, T132, X275, qs53_in_aa(T136, X273))
qs53_in_aa([], []) → qs53_out_aa([], [])
U9_aa(T131, T132, X275, qs53_out_aa(T136, X273)) → qs53_out_aa(.(T131, T132), X275)
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U10_aa(T131, T132, X275, T137, qs53_in_aa(T136, T143))
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U11_aa(T131, T132, X275, qs53_in_aa(T137, X274))
U11_aa(T131, T132, X275, qs53_out_aa(T137, X274)) → qs53_out_aa(.(T131, T132), X275)
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U12_aa(T131, T132, X275, T143, qs53_in_aa(T137, T148))
U12_aa(T131, T132, X275, T143, qs53_out_aa(T137, T148)) → U13_aa(T131, T132, X275, app65_in_aaaa(T143, T131, T148, X275))
app65_in_aaaa(.(T171, T172), T173, T174, .(T171, X354)) → U14_aaaa(T171, T172, T173, T174, X354, app65_in_aaaa(T172, T173, T174, X354))
app65_in_aaaa([], T183, T184, .(T183, T184)) → app65_out_aaaa([], T183, T184, .(T183, T184))
U14_aaaa(T171, T172, T173, T174, X354, app65_out_aaaa(T172, T173, T174, X354)) → app65_out_aaaa(.(T171, T172), T173, T174, .(T171, X354))
U13_aa(T131, T132, X275, app65_out_aaaa(T143, T131, T148, X275)) → qs53_out_aa(.(T131, T132), X275)
U28_aa(T239, T240, T241, T9, qs53_out_aa(T249, X9)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U27_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U29_aa(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_aa(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_aa(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
p52_in_aaaga(T45, X10, T115, T22, T9) → U16_aaaga(T45, X10, T115, T22, T9, qs53_in_aa(T45, X10))
U16_aaaga(T45, X10, T115, T22, T9, qs53_out_aa(T45, X10)) → p52_out_aaaga(T45, X10, T115, T22, T9)
p52_in_aaaga(T45, T120, T115, T22, T9) → U17_aaaga(T45, T120, T115, T22, T9, qs53_in_aa(T45, T120))
U17_aaaga(T45, T120, T115, T22, T9, qs53_out_aa(T45, T120)) → U18_aaaga(T45, T120, T115, T22, T9, app54_in_agaa(T115, T22, T120, T9))
app54_in_agaa(.(T210, T211), T212, T213, .(T210, T215)) → U15_agaa(T210, T211, T212, T213, T215, app54_in_agaa(T211, T212, T213, T215))
app54_in_agaa([], T225, T226, .(T225, T226)) → app54_out_agaa([], T225, T226, .(T225, T226))
U15_agaa(T210, T211, T212, T213, T215, app54_out_agaa(T211, T212, T213, T215)) → app54_out_agaa(.(T210, T211), T212, T213, .(T210, T215))
U18_aaaga(T45, T120, T115, T22, T9, app54_out_agaa(T115, T22, T120, T9)) → p52_out_aaaga(T45, T120, T115, T22, T9)
U30_aa(T239, T240, T241, T9, p52_out_aaaga(.(T240, T250), X10, T256, T239, T9)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
qs1_in_aa(.(T265, []), T9) → U31_aa(T265, T9, qs99_in_a(X9))
qs99_in_a([]) → qs99_out_a([])
U31_aa(T265, T9, qs99_out_a(X9)) → qs1_out_aa(.(T265, []), T9)
qs1_in_aa(.(T265, []), T9) → U32_aa(T265, T9, qs99_in_a(T268))
U32_aa(T265, T9, qs99_out_a(T268)) → U33_aa(T265, T9, qs99_in_a(X10))
U33_aa(T265, T9, qs99_out_a(X10)) → qs1_out_aa(.(T265, []), T9)
U32_aa(T265, T9, qs99_out_a(T268)) → U34_aa(T265, T9, T268, qs99_in_a(T273))
U34_aa(T265, T9, T268, qs99_out_a(T273)) → U35_aa(T265, T9, app54_in_gaga(T268, T265, T273, T9))
app54_in_gaga(.(T210, T211), T212, T213, .(T210, T215)) → U15_gaga(T210, T211, T212, T213, T215, app54_in_gaga(T211, T212, T213, T215))
app54_in_gaga([], T225, T226, .(T225, T226)) → app54_out_gaga([], T225, T226, .(T225, T226))
U15_gaga(T210, T211, T212, T213, T215, app54_out_gaga(T211, T212, T213, T215)) → app54_out_gaga(.(T210, T211), T212, T213, .(T210, T215))
U35_aa(T265, T9, app54_out_gaga(T268, T265, T273, T9)) → qs1_out_aa(.(T265, []), T9)
qs1_in_aa([], []) → qs1_out_aa([], [])
U22_aa(T22, T23, T24, T9, qs1_out_aa(.(T23, T44), X9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U21_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U23_aa(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_aa(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_aa(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U24_aa(T22, T23, T24, T9, p52_out_aaaga(T45, X10, T115, T22, T9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U22_ga(T22, T23, T24, T9, qs1_out_aa(.(T23, T44), X9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U21_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U23_ga(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_ga(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_ga(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U24_ga(T22, T23, T24, T9, p52_out_aaaga(T45, X10, T115, T22, T9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
qs1_in_ga(.(T239, .(T240, T241)), T9) → U25_ga(T239, T240, T241, T9, le33_in_gg(T239, T240))
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U26_ga(T239, T240, T241, T9, part20_in_ggaa(T239, T241, X437, X438))
U26_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, X437, X438)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U27_ga(T239, T240, T241, T9, part20_in_ggaa(T239, T241, T249, T250))
U27_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U28_ga(T239, T240, T241, T9, qs53_in_aa(T249, X9))
U28_ga(T239, T240, T241, T9, qs53_out_aa(T249, X9)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U27_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U29_ga(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_ga(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_ga(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
U30_ga(T239, T240, T241, T9, p52_out_aaaga(.(T240, T250), X10, T256, T239, T9)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
qs1_in_ga(.(T265, []), T9) → U31_ga(T265, T9, qs99_in_a(X9))
U31_ga(T265, T9, qs99_out_a(X9)) → qs1_out_ga(.(T265, []), T9)
qs1_in_ga(.(T265, []), T9) → U32_ga(T265, T9, qs99_in_a(T268))
U32_ga(T265, T9, qs99_out_a(T268)) → U33_ga(T265, T9, qs99_in_a(X10))
U33_ga(T265, T9, qs99_out_a(X10)) → qs1_out_ga(.(T265, []), T9)
U32_ga(T265, T9, qs99_out_a(T268)) → U34_ga(T265, T9, T268, qs99_in_a(T273))
U34_ga(T265, T9, T268, qs99_out_a(T273)) → U35_ga(T265, T9, app54_in_ggga(T268, T265, T273, T9))
app54_in_ggga(.(T210, T211), T212, T213, .(T210, T215)) → U15_ggga(T210, T211, T212, T213, T215, app54_in_ggga(T211, T212, T213, T215))
app54_in_ggga([], T225, T226, .(T225, T226)) → app54_out_ggga([], T225, T226, .(T225, T226))
U15_ggga(T210, T211, T212, T213, T215, app54_out_ggga(T211, T212, T213, T215)) → app54_out_ggga(.(T210, T211), T212, T213, .(T210, T215))
U35_ga(T265, T9, app54_out_ggga(T268, T265, T273, T9)) → qs1_out_ga(.(T265, []), T9)
qs1_in_ga([], []) → qs1_out_ga([], [])

The argument filtering Pi contains the following mapping:
qs1_in_ga(x1, x2)  =  qs1_in_ga(x1)
.(x1, x2)  =  .(x1, x2)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x2, x3, x5)
gt10_in_gg(x1, x2)  =  gt10_in_gg(x1, x2)
s(x1)  =  s(x1)
U1_gg(x1, x2, x3)  =  U1_gg(x1, x2, x3)
0  =  0
gt10_out_gg(x1, x2)  =  gt10_out_gg(x1, x2)
qs1_out_ga(x1, x2)  =  qs1_out_ga(x1)
U20_ga(x1, x2, x3, x4, x5)  =  U20_ga(x1, x2, x3, x5)
part20_in_ggaa(x1, x2, x3, x4)  =  part20_in_ggaa(x1, x2)
U2_ggaa(x1, x2, x3, x4, x5, x6)  =  U2_ggaa(x1, x2, x3, x6)
part20_out_ggaa(x1, x2, x3, x4)  =  part20_out_ggaa(x1, x2)
U3_ggaa(x1, x2, x3, x4, x5, x6)  =  U3_ggaa(x1, x2, x3, x6)
U4_ggaa(x1, x2, x3, x4, x5, x6)  =  U4_ggaa(x1, x2, x3, x6)
le33_in_gg(x1, x2)  =  le33_in_gg(x1, x2)
U6_gg(x1, x2, x3)  =  U6_gg(x1, x2, x3)
le33_out_gg(x1, x2)  =  le33_out_gg(x1, x2)
U5_ggaa(x1, x2, x3, x4, x5, x6)  =  U5_ggaa(x1, x2, x3, x6)
[]  =  []
U21_ga(x1, x2, x3, x4, x5)  =  U21_ga(x1, x2, x3, x5)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x1, x2, x3, x5)
qs1_in_aa(x1, x2)  =  qs1_in_aa
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(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_aa(x1, x2)  =  qs1_out_aa
U20_aa(x1, x2, x3, x4, x5)  =  U20_aa(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)
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)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U6_ga(x1, x2, x3)  =  U6_ga(x1, x3)
le33_out_ga(x1, x2)  =  le33_out_ga(x1)
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x1, x6)
U21_aa(x1, x2, x3, x4, x5)  =  U21_aa(x1, x5)
U22_aa(x1, x2, x3, x4, x5)  =  U22_aa(x5)
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
le33_in_aa(x1, x2)  =  le33_in_aa
U6_aa(x1, x2, x3)  =  U6_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
U26_aa(x1, x2, x3, x4, x5)  =  U26_aa(x5)
U27_aa(x1, x2, x3, x4, x5)  =  U27_aa(x1, x5)
U28_aa(x1, x2, x3, x4, x5)  =  U28_aa(x5)
qs53_in_aa(x1, x2)  =  qs53_in_aa
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
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)
qs53_out_aa(x1, x2)  =  qs53_out_aa
U8_aa(x1, x2, x3, x4)  =  U8_aa(x4)
U9_aa(x1, x2, x3, x4)  =  U9_aa(x4)
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4)  =  U11_aa(x4)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4)  =  U13_aa(x4)
app65_in_aaaa(x1, x2, x3, x4)  =  app65_in_aaaa
U14_aaaa(x1, x2, x3, x4, x5, x6)  =  U14_aaaa(x6)
app65_out_aaaa(x1, x2, x3, x4)  =  app65_out_aaaa
U29_aa(x1, x2, x3, x4, x5, x6)  =  U29_aa(x1, x6)
U30_aa(x1, x2, x3, x4, x5)  =  U30_aa(x5)
p52_in_aaaga(x1, x2, x3, x4, x5)  =  p52_in_aaaga(x4)
U16_aaaga(x1, x2, x3, x4, x5, x6)  =  U16_aaaga(x4, x6)
p52_out_aaaga(x1, x2, x3, x4, x5)  =  p52_out_aaaga(x4)
U17_aaaga(x1, x2, x3, x4, x5, x6)  =  U17_aaaga(x4, x6)
U18_aaaga(x1, x2, x3, x4, x5, x6)  =  U18_aaaga(x4, x6)
app54_in_agaa(x1, x2, x3, x4)  =  app54_in_agaa(x2)
U15_agaa(x1, x2, x3, x4, x5, x6)  =  U15_agaa(x3, x6)
app54_out_agaa(x1, x2, x3, x4)  =  app54_out_agaa(x2)
U31_aa(x1, x2, x3)  =  U31_aa(x3)
qs99_in_a(x1)  =  qs99_in_a
qs99_out_a(x1)  =  qs99_out_a(x1)
U32_aa(x1, x2, x3)  =  U32_aa(x3)
U33_aa(x1, x2, x3)  =  U33_aa(x3)
U34_aa(x1, x2, x3, x4)  =  U34_aa(x3, x4)
U35_aa(x1, x2, x3)  =  U35_aa(x3)
app54_in_gaga(x1, x2, x3, x4)  =  app54_in_gaga(x1, x3)
U15_gaga(x1, x2, x3, x4, x5, x6)  =  U15_gaga(x1, x2, x4, x6)
app54_out_gaga(x1, x2, x3, x4)  =  app54_out_gaga(x1, x3)
U23_aa(x1, x2, x3, x4, x5, x6)  =  U23_aa(x1, x6)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U23_ga(x1, x2, x3, x4, x5, x6)  =  U23_ga(x1, x2, x3, x6)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x1, x2, x3, x5)
U25_ga(x1, x2, x3, x4, x5)  =  U25_ga(x1, x2, x3, x5)
U26_ga(x1, x2, x3, x4, x5)  =  U26_ga(x1, x2, x3, x5)
U27_ga(x1, x2, x3, x4, x5)  =  U27_ga(x1, x2, x3, x5)
U28_ga(x1, x2, x3, x4, x5)  =  U28_ga(x1, x2, x3, x5)
U29_ga(x1, x2, x3, x4, x5, x6)  =  U29_ga(x1, x2, x3, x6)
U30_ga(x1, x2, x3, x4, x5)  =  U30_ga(x1, x2, x3, x5)
U31_ga(x1, x2, x3)  =  U31_ga(x1, x3)
U32_ga(x1, x2, x3)  =  U32_ga(x1, x3)
U33_ga(x1, x2, x3)  =  U33_ga(x1, x3)
U34_ga(x1, x2, x3, x4)  =  U34_ga(x1, x3, x4)
U35_ga(x1, x2, x3)  =  U35_ga(x1, x3)
app54_in_ggga(x1, x2, x3, x4)  =  app54_in_ggga(x1, x2, x3)
U15_ggga(x1, x2, x3, x4, x5, x6)  =  U15_ggga(x1, x2, x3, x4, x6)
app54_out_ggga(x1, x2, x3, x4)  =  app54_out_ggga(x1, x2, x3, x4)
LE33_IN_GA(x1, x2)  =  LE33_IN_GA(x1)

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:

LE33_IN_GA(s(T98), s(T99)) → LE33_IN_GA(T98, T99)

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

(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:

LE33_IN_GA(s(T98)) → LE33_IN_GA(T98)

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

(49) 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(T98)) → LE33_IN_GA(T98)
    The graph contains the following edges 1 > 1

(50) YES

(51) Obligation:

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

GT10_IN_GA(s(T37), s(T38)) → GT10_IN_GA(T37, T38)

The TRS R consists of the following rules:

qs1_in_ga(.(T22, .(T23, T24)), T9) → U19_ga(T22, T23, T24, T9, gt10_in_gg(T22, T23))
gt10_in_gg(s(T37), s(T38)) → U1_gg(T37, T38, gt10_in_gg(T37, T38))
gt10_in_gg(s(0), 0) → gt10_out_gg(s(0), 0)
U1_gg(T37, T38, gt10_out_gg(T37, T38)) → gt10_out_gg(s(T37), s(T38))
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U20_ga(T22, T23, T24, T9, part20_in_ggaa(T22, T24, X47, X48))
part20_in_ggaa(T61, .(T62, T63), .(T62, X119), X120) → U2_ggaa(T61, T62, T63, X119, X120, gt10_in_gg(T61, T62))
U2_ggaa(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → part20_out_ggaa(T61, .(T62, T63), .(T62, X119), X120)
U2_ggaa(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → U3_ggaa(T61, T62, T63, X119, X120, part20_in_ggaa(T61, T63, X119, X120))
part20_in_ggaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_ggaa(T83, T84, T85, X170, X171, le33_in_gg(T83, T84))
le33_in_gg(s(T98), s(T99)) → U6_gg(T98, T99, le33_in_gg(T98, T99))
le33_in_gg(0, s(T106)) → le33_out_gg(0, s(T106))
le33_in_gg(0, 0) → le33_out_gg(0, 0)
U6_gg(T98, T99, le33_out_gg(T98, T99)) → le33_out_gg(s(T98), s(T99))
U4_ggaa(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → part20_out_ggaa(T83, .(T84, T85), X170, .(T84, X171))
U4_ggaa(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → U5_ggaa(T83, T84, T85, X170, X171, part20_in_ggaa(T83, T85, X170, X171))
part20_in_ggaa(T112, [], [], []) → part20_out_ggaa(T112, [], [], [])
U5_ggaa(T83, T84, T85, X170, X171, part20_out_ggaa(T83, T85, X170, X171)) → part20_out_ggaa(T83, .(T84, T85), X170, .(T84, X171))
U3_ggaa(T61, T62, T63, X119, X120, part20_out_ggaa(T61, T63, X119, X120)) → part20_out_ggaa(T61, .(T62, T63), .(T62, X119), X120)
U20_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, X47, X48)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U21_ga(T22, T23, T24, T9, part20_in_ggaa(T22, T24, T44, T45))
U21_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U22_ga(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
qs1_in_aa(.(T22, .(T23, T24)), T9) → U19_aa(T22, T23, T24, T9, gt10_in_aa(T22, T23))
gt10_in_aa(s(T37), s(T38)) → U1_aa(T37, T38, gt10_in_aa(T37, T38))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U1_aa(T37, T38, gt10_out_aa(T37, T38)) → gt10_out_aa(s(T37), s(T38))
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U20_aa(T22, T23, T24, T9, part20_in_gaaa(T22, T24, X47, X48))
part20_in_gaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_gaaa(T61, T62, T63, X119, X120, gt10_in_ga(T61, T62))
gt10_in_ga(s(T37), s(T38)) → U1_ga(T37, T38, gt10_in_ga(T37, T38))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U1_ga(T37, T38, gt10_out_ga(T37, T38)) → gt10_out_ga(s(T37), s(T38))
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → U3_gaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
part20_in_gaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_gaaa(T83, T84, T85, X170, X171, le33_in_ga(T83, T84))
le33_in_ga(s(T98), s(T99)) → U6_ga(T98, T99, le33_in_ga(T98, T99))
le33_in_ga(0, s(T106)) → le33_out_ga(0, s(T106))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U6_ga(T98, T99, le33_out_ga(T98, T99)) → le33_out_ga(s(T98), s(T99))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → U5_gaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
part20_in_gaaa(T112, [], [], []) → part20_out_gaaa(T112, [], [], [])
U5_gaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U3_gaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U20_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, X47, X48)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U21_aa(T22, T23, T24, T9, part20_in_gaaa(T22, T24, T44, T45))
U21_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U22_aa(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
qs1_in_aa(.(T239, .(T240, T241)), T9) → U25_aa(T239, T240, T241, T9, le33_in_aa(T239, T240))
le33_in_aa(s(T98), s(T99)) → U6_aa(T98, T99, le33_in_aa(T98, T99))
le33_in_aa(0, s(T106)) → le33_out_aa(0, s(T106))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U6_aa(T98, T99, le33_out_aa(T98, T99)) → le33_out_aa(s(T98), s(T99))
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U26_aa(T239, T240, T241, T9, part20_in_gaaa(T239, T241, X437, X438))
U26_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, X437, X438)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U27_aa(T239, T240, T241, T9, part20_in_gaaa(T239, T241, T249, T250))
U27_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U28_aa(T239, T240, T241, T9, qs53_in_aa(T249, X9))
qs53_in_aa(.(T131, T132), X275) → U7_aa(T131, T132, X275, part20_in_aaaa(T131, T132, X271, X272))
part20_in_aaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_aaaa(T61, T62, T63, X119, X120, gt10_in_aa(T61, T62))
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → U3_aaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
U3_aaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
part20_in_aaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_aaaa(T83, T84, T85, X170, X171, le33_in_aa(T83, T84))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → U5_aaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
U5_aaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
part20_in_aaaa(T112, [], [], []) → part20_out_aaaa(T112, [], [], [])
U7_aa(T131, T132, X275, part20_out_aaaa(T131, T132, X271, X272)) → qs53_out_aa(.(T131, T132), X275)
qs53_in_aa(.(T131, T132), X275) → U8_aa(T131, T132, X275, part20_in_aaaa(T131, T132, T136, T137))
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U9_aa(T131, T132, X275, qs53_in_aa(T136, X273))
qs53_in_aa([], []) → qs53_out_aa([], [])
U9_aa(T131, T132, X275, qs53_out_aa(T136, X273)) → qs53_out_aa(.(T131, T132), X275)
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U10_aa(T131, T132, X275, T137, qs53_in_aa(T136, T143))
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U11_aa(T131, T132, X275, qs53_in_aa(T137, X274))
U11_aa(T131, T132, X275, qs53_out_aa(T137, X274)) → qs53_out_aa(.(T131, T132), X275)
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U12_aa(T131, T132, X275, T143, qs53_in_aa(T137, T148))
U12_aa(T131, T132, X275, T143, qs53_out_aa(T137, T148)) → U13_aa(T131, T132, X275, app65_in_aaaa(T143, T131, T148, X275))
app65_in_aaaa(.(T171, T172), T173, T174, .(T171, X354)) → U14_aaaa(T171, T172, T173, T174, X354, app65_in_aaaa(T172, T173, T174, X354))
app65_in_aaaa([], T183, T184, .(T183, T184)) → app65_out_aaaa([], T183, T184, .(T183, T184))
U14_aaaa(T171, T172, T173, T174, X354, app65_out_aaaa(T172, T173, T174, X354)) → app65_out_aaaa(.(T171, T172), T173, T174, .(T171, X354))
U13_aa(T131, T132, X275, app65_out_aaaa(T143, T131, T148, X275)) → qs53_out_aa(.(T131, T132), X275)
U28_aa(T239, T240, T241, T9, qs53_out_aa(T249, X9)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U27_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U29_aa(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_aa(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_aa(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
p52_in_aaaga(T45, X10, T115, T22, T9) → U16_aaaga(T45, X10, T115, T22, T9, qs53_in_aa(T45, X10))
U16_aaaga(T45, X10, T115, T22, T9, qs53_out_aa(T45, X10)) → p52_out_aaaga(T45, X10, T115, T22, T9)
p52_in_aaaga(T45, T120, T115, T22, T9) → U17_aaaga(T45, T120, T115, T22, T9, qs53_in_aa(T45, T120))
U17_aaaga(T45, T120, T115, T22, T9, qs53_out_aa(T45, T120)) → U18_aaaga(T45, T120, T115, T22, T9, app54_in_agaa(T115, T22, T120, T9))
app54_in_agaa(.(T210, T211), T212, T213, .(T210, T215)) → U15_agaa(T210, T211, T212, T213, T215, app54_in_agaa(T211, T212, T213, T215))
app54_in_agaa([], T225, T226, .(T225, T226)) → app54_out_agaa([], T225, T226, .(T225, T226))
U15_agaa(T210, T211, T212, T213, T215, app54_out_agaa(T211, T212, T213, T215)) → app54_out_agaa(.(T210, T211), T212, T213, .(T210, T215))
U18_aaaga(T45, T120, T115, T22, T9, app54_out_agaa(T115, T22, T120, T9)) → p52_out_aaaga(T45, T120, T115, T22, T9)
U30_aa(T239, T240, T241, T9, p52_out_aaaga(.(T240, T250), X10, T256, T239, T9)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
qs1_in_aa(.(T265, []), T9) → U31_aa(T265, T9, qs99_in_a(X9))
qs99_in_a([]) → qs99_out_a([])
U31_aa(T265, T9, qs99_out_a(X9)) → qs1_out_aa(.(T265, []), T9)
qs1_in_aa(.(T265, []), T9) → U32_aa(T265, T9, qs99_in_a(T268))
U32_aa(T265, T9, qs99_out_a(T268)) → U33_aa(T265, T9, qs99_in_a(X10))
U33_aa(T265, T9, qs99_out_a(X10)) → qs1_out_aa(.(T265, []), T9)
U32_aa(T265, T9, qs99_out_a(T268)) → U34_aa(T265, T9, T268, qs99_in_a(T273))
U34_aa(T265, T9, T268, qs99_out_a(T273)) → U35_aa(T265, T9, app54_in_gaga(T268, T265, T273, T9))
app54_in_gaga(.(T210, T211), T212, T213, .(T210, T215)) → U15_gaga(T210, T211, T212, T213, T215, app54_in_gaga(T211, T212, T213, T215))
app54_in_gaga([], T225, T226, .(T225, T226)) → app54_out_gaga([], T225, T226, .(T225, T226))
U15_gaga(T210, T211, T212, T213, T215, app54_out_gaga(T211, T212, T213, T215)) → app54_out_gaga(.(T210, T211), T212, T213, .(T210, T215))
U35_aa(T265, T9, app54_out_gaga(T268, T265, T273, T9)) → qs1_out_aa(.(T265, []), T9)
qs1_in_aa([], []) → qs1_out_aa([], [])
U22_aa(T22, T23, T24, T9, qs1_out_aa(.(T23, T44), X9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U21_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U23_aa(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_aa(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_aa(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U24_aa(T22, T23, T24, T9, p52_out_aaaga(T45, X10, T115, T22, T9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U22_ga(T22, T23, T24, T9, qs1_out_aa(.(T23, T44), X9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U21_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U23_ga(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_ga(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_ga(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U24_ga(T22, T23, T24, T9, p52_out_aaaga(T45, X10, T115, T22, T9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
qs1_in_ga(.(T239, .(T240, T241)), T9) → U25_ga(T239, T240, T241, T9, le33_in_gg(T239, T240))
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U26_ga(T239, T240, T241, T9, part20_in_ggaa(T239, T241, X437, X438))
U26_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, X437, X438)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U27_ga(T239, T240, T241, T9, part20_in_ggaa(T239, T241, T249, T250))
U27_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U28_ga(T239, T240, T241, T9, qs53_in_aa(T249, X9))
U28_ga(T239, T240, T241, T9, qs53_out_aa(T249, X9)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U27_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U29_ga(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_ga(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_ga(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
U30_ga(T239, T240, T241, T9, p52_out_aaaga(.(T240, T250), X10, T256, T239, T9)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
qs1_in_ga(.(T265, []), T9) → U31_ga(T265, T9, qs99_in_a(X9))
U31_ga(T265, T9, qs99_out_a(X9)) → qs1_out_ga(.(T265, []), T9)
qs1_in_ga(.(T265, []), T9) → U32_ga(T265, T9, qs99_in_a(T268))
U32_ga(T265, T9, qs99_out_a(T268)) → U33_ga(T265, T9, qs99_in_a(X10))
U33_ga(T265, T9, qs99_out_a(X10)) → qs1_out_ga(.(T265, []), T9)
U32_ga(T265, T9, qs99_out_a(T268)) → U34_ga(T265, T9, T268, qs99_in_a(T273))
U34_ga(T265, T9, T268, qs99_out_a(T273)) → U35_ga(T265, T9, app54_in_ggga(T268, T265, T273, T9))
app54_in_ggga(.(T210, T211), T212, T213, .(T210, T215)) → U15_ggga(T210, T211, T212, T213, T215, app54_in_ggga(T211, T212, T213, T215))
app54_in_ggga([], T225, T226, .(T225, T226)) → app54_out_ggga([], T225, T226, .(T225, T226))
U15_ggga(T210, T211, T212, T213, T215, app54_out_ggga(T211, T212, T213, T215)) → app54_out_ggga(.(T210, T211), T212, T213, .(T210, T215))
U35_ga(T265, T9, app54_out_ggga(T268, T265, T273, T9)) → qs1_out_ga(.(T265, []), T9)
qs1_in_ga([], []) → qs1_out_ga([], [])

The argument filtering Pi contains the following mapping:
qs1_in_ga(x1, x2)  =  qs1_in_ga(x1)
.(x1, x2)  =  .(x1, x2)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x2, x3, x5)
gt10_in_gg(x1, x2)  =  gt10_in_gg(x1, x2)
s(x1)  =  s(x1)
U1_gg(x1, x2, x3)  =  U1_gg(x1, x2, x3)
0  =  0
gt10_out_gg(x1, x2)  =  gt10_out_gg(x1, x2)
qs1_out_ga(x1, x2)  =  qs1_out_ga(x1)
U20_ga(x1, x2, x3, x4, x5)  =  U20_ga(x1, x2, x3, x5)
part20_in_ggaa(x1, x2, x3, x4)  =  part20_in_ggaa(x1, x2)
U2_ggaa(x1, x2, x3, x4, x5, x6)  =  U2_ggaa(x1, x2, x3, x6)
part20_out_ggaa(x1, x2, x3, x4)  =  part20_out_ggaa(x1, x2)
U3_ggaa(x1, x2, x3, x4, x5, x6)  =  U3_ggaa(x1, x2, x3, x6)
U4_ggaa(x1, x2, x3, x4, x5, x6)  =  U4_ggaa(x1, x2, x3, x6)
le33_in_gg(x1, x2)  =  le33_in_gg(x1, x2)
U6_gg(x1, x2, x3)  =  U6_gg(x1, x2, x3)
le33_out_gg(x1, x2)  =  le33_out_gg(x1, x2)
U5_ggaa(x1, x2, x3, x4, x5, x6)  =  U5_ggaa(x1, x2, x3, x6)
[]  =  []
U21_ga(x1, x2, x3, x4, x5)  =  U21_ga(x1, x2, x3, x5)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x1, x2, x3, x5)
qs1_in_aa(x1, x2)  =  qs1_in_aa
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(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_aa(x1, x2)  =  qs1_out_aa
U20_aa(x1, x2, x3, x4, x5)  =  U20_aa(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)
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)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U6_ga(x1, x2, x3)  =  U6_ga(x1, x3)
le33_out_ga(x1, x2)  =  le33_out_ga(x1)
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x1, x6)
U21_aa(x1, x2, x3, x4, x5)  =  U21_aa(x1, x5)
U22_aa(x1, x2, x3, x4, x5)  =  U22_aa(x5)
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
le33_in_aa(x1, x2)  =  le33_in_aa
U6_aa(x1, x2, x3)  =  U6_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
U26_aa(x1, x2, x3, x4, x5)  =  U26_aa(x5)
U27_aa(x1, x2, x3, x4, x5)  =  U27_aa(x1, x5)
U28_aa(x1, x2, x3, x4, x5)  =  U28_aa(x5)
qs53_in_aa(x1, x2)  =  qs53_in_aa
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
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)
qs53_out_aa(x1, x2)  =  qs53_out_aa
U8_aa(x1, x2, x3, x4)  =  U8_aa(x4)
U9_aa(x1, x2, x3, x4)  =  U9_aa(x4)
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4)  =  U11_aa(x4)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4)  =  U13_aa(x4)
app65_in_aaaa(x1, x2, x3, x4)  =  app65_in_aaaa
U14_aaaa(x1, x2, x3, x4, x5, x6)  =  U14_aaaa(x6)
app65_out_aaaa(x1, x2, x3, x4)  =  app65_out_aaaa
U29_aa(x1, x2, x3, x4, x5, x6)  =  U29_aa(x1, x6)
U30_aa(x1, x2, x3, x4, x5)  =  U30_aa(x5)
p52_in_aaaga(x1, x2, x3, x4, x5)  =  p52_in_aaaga(x4)
U16_aaaga(x1, x2, x3, x4, x5, x6)  =  U16_aaaga(x4, x6)
p52_out_aaaga(x1, x2, x3, x4, x5)  =  p52_out_aaaga(x4)
U17_aaaga(x1, x2, x3, x4, x5, x6)  =  U17_aaaga(x4, x6)
U18_aaaga(x1, x2, x3, x4, x5, x6)  =  U18_aaaga(x4, x6)
app54_in_agaa(x1, x2, x3, x4)  =  app54_in_agaa(x2)
U15_agaa(x1, x2, x3, x4, x5, x6)  =  U15_agaa(x3, x6)
app54_out_agaa(x1, x2, x3, x4)  =  app54_out_agaa(x2)
U31_aa(x1, x2, x3)  =  U31_aa(x3)
qs99_in_a(x1)  =  qs99_in_a
qs99_out_a(x1)  =  qs99_out_a(x1)
U32_aa(x1, x2, x3)  =  U32_aa(x3)
U33_aa(x1, x2, x3)  =  U33_aa(x3)
U34_aa(x1, x2, x3, x4)  =  U34_aa(x3, x4)
U35_aa(x1, x2, x3)  =  U35_aa(x3)
app54_in_gaga(x1, x2, x3, x4)  =  app54_in_gaga(x1, x3)
U15_gaga(x1, x2, x3, x4, x5, x6)  =  U15_gaga(x1, x2, x4, x6)
app54_out_gaga(x1, x2, x3, x4)  =  app54_out_gaga(x1, x3)
U23_aa(x1, x2, x3, x4, x5, x6)  =  U23_aa(x1, x6)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U23_ga(x1, x2, x3, x4, x5, x6)  =  U23_ga(x1, x2, x3, x6)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x1, x2, x3, x5)
U25_ga(x1, x2, x3, x4, x5)  =  U25_ga(x1, x2, x3, x5)
U26_ga(x1, x2, x3, x4, x5)  =  U26_ga(x1, x2, x3, x5)
U27_ga(x1, x2, x3, x4, x5)  =  U27_ga(x1, x2, x3, x5)
U28_ga(x1, x2, x3, x4, x5)  =  U28_ga(x1, x2, x3, x5)
U29_ga(x1, x2, x3, x4, x5, x6)  =  U29_ga(x1, x2, x3, x6)
U30_ga(x1, x2, x3, x4, x5)  =  U30_ga(x1, x2, x3, x5)
U31_ga(x1, x2, x3)  =  U31_ga(x1, x3)
U32_ga(x1, x2, x3)  =  U32_ga(x1, x3)
U33_ga(x1, x2, x3)  =  U33_ga(x1, x3)
U34_ga(x1, x2, x3, x4)  =  U34_ga(x1, x3, x4)
U35_ga(x1, x2, x3)  =  U35_ga(x1, x3)
app54_in_ggga(x1, x2, x3, x4)  =  app54_in_ggga(x1, x2, x3)
U15_ggga(x1, x2, x3, x4, x5, x6)  =  U15_ggga(x1, x2, x3, x4, x6)
app54_out_ggga(x1, x2, x3, x4)  =  app54_out_ggga(x1, x2, x3, x4)
GT10_IN_GA(x1, x2)  =  GT10_IN_GA(x1)

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:

GT10_IN_GA(s(T37), s(T38)) → GT10_IN_GA(T37, T38)

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

(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:

GT10_IN_GA(s(T37)) → GT10_IN_GA(T37)

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

(56) 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(T37)) → GT10_IN_GA(T37)
    The graph contains the following edges 1 > 1

(57) YES

(58) Obligation:

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

U2_GAAA(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → PART20_IN_GAAA(T61, T63, X119, X120)
PART20_IN_GAAA(T61, .(T62, T63), .(T62, X119), X120) → U2_GAAA(T61, T62, T63, X119, X120, gt10_in_ga(T61, T62))
PART20_IN_GAAA(T83, .(T84, T85), X170, .(T84, X171)) → U4_GAAA(T83, T84, T85, X170, X171, le33_in_ga(T83, T84))
U4_GAAA(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → PART20_IN_GAAA(T83, T85, X170, X171)

The TRS R consists of the following rules:

qs1_in_ga(.(T22, .(T23, T24)), T9) → U19_ga(T22, T23, T24, T9, gt10_in_gg(T22, T23))
gt10_in_gg(s(T37), s(T38)) → U1_gg(T37, T38, gt10_in_gg(T37, T38))
gt10_in_gg(s(0), 0) → gt10_out_gg(s(0), 0)
U1_gg(T37, T38, gt10_out_gg(T37, T38)) → gt10_out_gg(s(T37), s(T38))
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U20_ga(T22, T23, T24, T9, part20_in_ggaa(T22, T24, X47, X48))
part20_in_ggaa(T61, .(T62, T63), .(T62, X119), X120) → U2_ggaa(T61, T62, T63, X119, X120, gt10_in_gg(T61, T62))
U2_ggaa(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → part20_out_ggaa(T61, .(T62, T63), .(T62, X119), X120)
U2_ggaa(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → U3_ggaa(T61, T62, T63, X119, X120, part20_in_ggaa(T61, T63, X119, X120))
part20_in_ggaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_ggaa(T83, T84, T85, X170, X171, le33_in_gg(T83, T84))
le33_in_gg(s(T98), s(T99)) → U6_gg(T98, T99, le33_in_gg(T98, T99))
le33_in_gg(0, s(T106)) → le33_out_gg(0, s(T106))
le33_in_gg(0, 0) → le33_out_gg(0, 0)
U6_gg(T98, T99, le33_out_gg(T98, T99)) → le33_out_gg(s(T98), s(T99))
U4_ggaa(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → part20_out_ggaa(T83, .(T84, T85), X170, .(T84, X171))
U4_ggaa(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → U5_ggaa(T83, T84, T85, X170, X171, part20_in_ggaa(T83, T85, X170, X171))
part20_in_ggaa(T112, [], [], []) → part20_out_ggaa(T112, [], [], [])
U5_ggaa(T83, T84, T85, X170, X171, part20_out_ggaa(T83, T85, X170, X171)) → part20_out_ggaa(T83, .(T84, T85), X170, .(T84, X171))
U3_ggaa(T61, T62, T63, X119, X120, part20_out_ggaa(T61, T63, X119, X120)) → part20_out_ggaa(T61, .(T62, T63), .(T62, X119), X120)
U20_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, X47, X48)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U21_ga(T22, T23, T24, T9, part20_in_ggaa(T22, T24, T44, T45))
U21_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U22_ga(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
qs1_in_aa(.(T22, .(T23, T24)), T9) → U19_aa(T22, T23, T24, T9, gt10_in_aa(T22, T23))
gt10_in_aa(s(T37), s(T38)) → U1_aa(T37, T38, gt10_in_aa(T37, T38))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U1_aa(T37, T38, gt10_out_aa(T37, T38)) → gt10_out_aa(s(T37), s(T38))
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U20_aa(T22, T23, T24, T9, part20_in_gaaa(T22, T24, X47, X48))
part20_in_gaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_gaaa(T61, T62, T63, X119, X120, gt10_in_ga(T61, T62))
gt10_in_ga(s(T37), s(T38)) → U1_ga(T37, T38, gt10_in_ga(T37, T38))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U1_ga(T37, T38, gt10_out_ga(T37, T38)) → gt10_out_ga(s(T37), s(T38))
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → U3_gaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
part20_in_gaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_gaaa(T83, T84, T85, X170, X171, le33_in_ga(T83, T84))
le33_in_ga(s(T98), s(T99)) → U6_ga(T98, T99, le33_in_ga(T98, T99))
le33_in_ga(0, s(T106)) → le33_out_ga(0, s(T106))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U6_ga(T98, T99, le33_out_ga(T98, T99)) → le33_out_ga(s(T98), s(T99))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → U5_gaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
part20_in_gaaa(T112, [], [], []) → part20_out_gaaa(T112, [], [], [])
U5_gaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U3_gaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U20_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, X47, X48)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U21_aa(T22, T23, T24, T9, part20_in_gaaa(T22, T24, T44, T45))
U21_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U22_aa(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
qs1_in_aa(.(T239, .(T240, T241)), T9) → U25_aa(T239, T240, T241, T9, le33_in_aa(T239, T240))
le33_in_aa(s(T98), s(T99)) → U6_aa(T98, T99, le33_in_aa(T98, T99))
le33_in_aa(0, s(T106)) → le33_out_aa(0, s(T106))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U6_aa(T98, T99, le33_out_aa(T98, T99)) → le33_out_aa(s(T98), s(T99))
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U26_aa(T239, T240, T241, T9, part20_in_gaaa(T239, T241, X437, X438))
U26_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, X437, X438)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U27_aa(T239, T240, T241, T9, part20_in_gaaa(T239, T241, T249, T250))
U27_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U28_aa(T239, T240, T241, T9, qs53_in_aa(T249, X9))
qs53_in_aa(.(T131, T132), X275) → U7_aa(T131, T132, X275, part20_in_aaaa(T131, T132, X271, X272))
part20_in_aaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_aaaa(T61, T62, T63, X119, X120, gt10_in_aa(T61, T62))
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → U3_aaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
U3_aaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
part20_in_aaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_aaaa(T83, T84, T85, X170, X171, le33_in_aa(T83, T84))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → U5_aaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
U5_aaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
part20_in_aaaa(T112, [], [], []) → part20_out_aaaa(T112, [], [], [])
U7_aa(T131, T132, X275, part20_out_aaaa(T131, T132, X271, X272)) → qs53_out_aa(.(T131, T132), X275)
qs53_in_aa(.(T131, T132), X275) → U8_aa(T131, T132, X275, part20_in_aaaa(T131, T132, T136, T137))
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U9_aa(T131, T132, X275, qs53_in_aa(T136, X273))
qs53_in_aa([], []) → qs53_out_aa([], [])
U9_aa(T131, T132, X275, qs53_out_aa(T136, X273)) → qs53_out_aa(.(T131, T132), X275)
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U10_aa(T131, T132, X275, T137, qs53_in_aa(T136, T143))
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U11_aa(T131, T132, X275, qs53_in_aa(T137, X274))
U11_aa(T131, T132, X275, qs53_out_aa(T137, X274)) → qs53_out_aa(.(T131, T132), X275)
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U12_aa(T131, T132, X275, T143, qs53_in_aa(T137, T148))
U12_aa(T131, T132, X275, T143, qs53_out_aa(T137, T148)) → U13_aa(T131, T132, X275, app65_in_aaaa(T143, T131, T148, X275))
app65_in_aaaa(.(T171, T172), T173, T174, .(T171, X354)) → U14_aaaa(T171, T172, T173, T174, X354, app65_in_aaaa(T172, T173, T174, X354))
app65_in_aaaa([], T183, T184, .(T183, T184)) → app65_out_aaaa([], T183, T184, .(T183, T184))
U14_aaaa(T171, T172, T173, T174, X354, app65_out_aaaa(T172, T173, T174, X354)) → app65_out_aaaa(.(T171, T172), T173, T174, .(T171, X354))
U13_aa(T131, T132, X275, app65_out_aaaa(T143, T131, T148, X275)) → qs53_out_aa(.(T131, T132), X275)
U28_aa(T239, T240, T241, T9, qs53_out_aa(T249, X9)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U27_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U29_aa(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_aa(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_aa(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
p52_in_aaaga(T45, X10, T115, T22, T9) → U16_aaaga(T45, X10, T115, T22, T9, qs53_in_aa(T45, X10))
U16_aaaga(T45, X10, T115, T22, T9, qs53_out_aa(T45, X10)) → p52_out_aaaga(T45, X10, T115, T22, T9)
p52_in_aaaga(T45, T120, T115, T22, T9) → U17_aaaga(T45, T120, T115, T22, T9, qs53_in_aa(T45, T120))
U17_aaaga(T45, T120, T115, T22, T9, qs53_out_aa(T45, T120)) → U18_aaaga(T45, T120, T115, T22, T9, app54_in_agaa(T115, T22, T120, T9))
app54_in_agaa(.(T210, T211), T212, T213, .(T210, T215)) → U15_agaa(T210, T211, T212, T213, T215, app54_in_agaa(T211, T212, T213, T215))
app54_in_agaa([], T225, T226, .(T225, T226)) → app54_out_agaa([], T225, T226, .(T225, T226))
U15_agaa(T210, T211, T212, T213, T215, app54_out_agaa(T211, T212, T213, T215)) → app54_out_agaa(.(T210, T211), T212, T213, .(T210, T215))
U18_aaaga(T45, T120, T115, T22, T9, app54_out_agaa(T115, T22, T120, T9)) → p52_out_aaaga(T45, T120, T115, T22, T9)
U30_aa(T239, T240, T241, T9, p52_out_aaaga(.(T240, T250), X10, T256, T239, T9)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
qs1_in_aa(.(T265, []), T9) → U31_aa(T265, T9, qs99_in_a(X9))
qs99_in_a([]) → qs99_out_a([])
U31_aa(T265, T9, qs99_out_a(X9)) → qs1_out_aa(.(T265, []), T9)
qs1_in_aa(.(T265, []), T9) → U32_aa(T265, T9, qs99_in_a(T268))
U32_aa(T265, T9, qs99_out_a(T268)) → U33_aa(T265, T9, qs99_in_a(X10))
U33_aa(T265, T9, qs99_out_a(X10)) → qs1_out_aa(.(T265, []), T9)
U32_aa(T265, T9, qs99_out_a(T268)) → U34_aa(T265, T9, T268, qs99_in_a(T273))
U34_aa(T265, T9, T268, qs99_out_a(T273)) → U35_aa(T265, T9, app54_in_gaga(T268, T265, T273, T9))
app54_in_gaga(.(T210, T211), T212, T213, .(T210, T215)) → U15_gaga(T210, T211, T212, T213, T215, app54_in_gaga(T211, T212, T213, T215))
app54_in_gaga([], T225, T226, .(T225, T226)) → app54_out_gaga([], T225, T226, .(T225, T226))
U15_gaga(T210, T211, T212, T213, T215, app54_out_gaga(T211, T212, T213, T215)) → app54_out_gaga(.(T210, T211), T212, T213, .(T210, T215))
U35_aa(T265, T9, app54_out_gaga(T268, T265, T273, T9)) → qs1_out_aa(.(T265, []), T9)
qs1_in_aa([], []) → qs1_out_aa([], [])
U22_aa(T22, T23, T24, T9, qs1_out_aa(.(T23, T44), X9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U21_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U23_aa(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_aa(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_aa(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U24_aa(T22, T23, T24, T9, p52_out_aaaga(T45, X10, T115, T22, T9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U22_ga(T22, T23, T24, T9, qs1_out_aa(.(T23, T44), X9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U21_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U23_ga(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_ga(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_ga(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U24_ga(T22, T23, T24, T9, p52_out_aaaga(T45, X10, T115, T22, T9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
qs1_in_ga(.(T239, .(T240, T241)), T9) → U25_ga(T239, T240, T241, T9, le33_in_gg(T239, T240))
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U26_ga(T239, T240, T241, T9, part20_in_ggaa(T239, T241, X437, X438))
U26_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, X437, X438)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U27_ga(T239, T240, T241, T9, part20_in_ggaa(T239, T241, T249, T250))
U27_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U28_ga(T239, T240, T241, T9, qs53_in_aa(T249, X9))
U28_ga(T239, T240, T241, T9, qs53_out_aa(T249, X9)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U27_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U29_ga(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_ga(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_ga(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
U30_ga(T239, T240, T241, T9, p52_out_aaaga(.(T240, T250), X10, T256, T239, T9)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
qs1_in_ga(.(T265, []), T9) → U31_ga(T265, T9, qs99_in_a(X9))
U31_ga(T265, T9, qs99_out_a(X9)) → qs1_out_ga(.(T265, []), T9)
qs1_in_ga(.(T265, []), T9) → U32_ga(T265, T9, qs99_in_a(T268))
U32_ga(T265, T9, qs99_out_a(T268)) → U33_ga(T265, T9, qs99_in_a(X10))
U33_ga(T265, T9, qs99_out_a(X10)) → qs1_out_ga(.(T265, []), T9)
U32_ga(T265, T9, qs99_out_a(T268)) → U34_ga(T265, T9, T268, qs99_in_a(T273))
U34_ga(T265, T9, T268, qs99_out_a(T273)) → U35_ga(T265, T9, app54_in_ggga(T268, T265, T273, T9))
app54_in_ggga(.(T210, T211), T212, T213, .(T210, T215)) → U15_ggga(T210, T211, T212, T213, T215, app54_in_ggga(T211, T212, T213, T215))
app54_in_ggga([], T225, T226, .(T225, T226)) → app54_out_ggga([], T225, T226, .(T225, T226))
U15_ggga(T210, T211, T212, T213, T215, app54_out_ggga(T211, T212, T213, T215)) → app54_out_ggga(.(T210, T211), T212, T213, .(T210, T215))
U35_ga(T265, T9, app54_out_ggga(T268, T265, T273, T9)) → qs1_out_ga(.(T265, []), T9)
qs1_in_ga([], []) → qs1_out_ga([], [])

The argument filtering Pi contains the following mapping:
qs1_in_ga(x1, x2)  =  qs1_in_ga(x1)
.(x1, x2)  =  .(x1, x2)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x2, x3, x5)
gt10_in_gg(x1, x2)  =  gt10_in_gg(x1, x2)
s(x1)  =  s(x1)
U1_gg(x1, x2, x3)  =  U1_gg(x1, x2, x3)
0  =  0
gt10_out_gg(x1, x2)  =  gt10_out_gg(x1, x2)
qs1_out_ga(x1, x2)  =  qs1_out_ga(x1)
U20_ga(x1, x2, x3, x4, x5)  =  U20_ga(x1, x2, x3, x5)
part20_in_ggaa(x1, x2, x3, x4)  =  part20_in_ggaa(x1, x2)
U2_ggaa(x1, x2, x3, x4, x5, x6)  =  U2_ggaa(x1, x2, x3, x6)
part20_out_ggaa(x1, x2, x3, x4)  =  part20_out_ggaa(x1, x2)
U3_ggaa(x1, x2, x3, x4, x5, x6)  =  U3_ggaa(x1, x2, x3, x6)
U4_ggaa(x1, x2, x3, x4, x5, x6)  =  U4_ggaa(x1, x2, x3, x6)
le33_in_gg(x1, x2)  =  le33_in_gg(x1, x2)
U6_gg(x1, x2, x3)  =  U6_gg(x1, x2, x3)
le33_out_gg(x1, x2)  =  le33_out_gg(x1, x2)
U5_ggaa(x1, x2, x3, x4, x5, x6)  =  U5_ggaa(x1, x2, x3, x6)
[]  =  []
U21_ga(x1, x2, x3, x4, x5)  =  U21_ga(x1, x2, x3, x5)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x1, x2, x3, x5)
qs1_in_aa(x1, x2)  =  qs1_in_aa
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(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_aa(x1, x2)  =  qs1_out_aa
U20_aa(x1, x2, x3, x4, x5)  =  U20_aa(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)
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)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U6_ga(x1, x2, x3)  =  U6_ga(x1, x3)
le33_out_ga(x1, x2)  =  le33_out_ga(x1)
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x1, x6)
U21_aa(x1, x2, x3, x4, x5)  =  U21_aa(x1, x5)
U22_aa(x1, x2, x3, x4, x5)  =  U22_aa(x5)
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
le33_in_aa(x1, x2)  =  le33_in_aa
U6_aa(x1, x2, x3)  =  U6_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
U26_aa(x1, x2, x3, x4, x5)  =  U26_aa(x5)
U27_aa(x1, x2, x3, x4, x5)  =  U27_aa(x1, x5)
U28_aa(x1, x2, x3, x4, x5)  =  U28_aa(x5)
qs53_in_aa(x1, x2)  =  qs53_in_aa
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
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)
qs53_out_aa(x1, x2)  =  qs53_out_aa
U8_aa(x1, x2, x3, x4)  =  U8_aa(x4)
U9_aa(x1, x2, x3, x4)  =  U9_aa(x4)
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4)  =  U11_aa(x4)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4)  =  U13_aa(x4)
app65_in_aaaa(x1, x2, x3, x4)  =  app65_in_aaaa
U14_aaaa(x1, x2, x3, x4, x5, x6)  =  U14_aaaa(x6)
app65_out_aaaa(x1, x2, x3, x4)  =  app65_out_aaaa
U29_aa(x1, x2, x3, x4, x5, x6)  =  U29_aa(x1, x6)
U30_aa(x1, x2, x3, x4, x5)  =  U30_aa(x5)
p52_in_aaaga(x1, x2, x3, x4, x5)  =  p52_in_aaaga(x4)
U16_aaaga(x1, x2, x3, x4, x5, x6)  =  U16_aaaga(x4, x6)
p52_out_aaaga(x1, x2, x3, x4, x5)  =  p52_out_aaaga(x4)
U17_aaaga(x1, x2, x3, x4, x5, x6)  =  U17_aaaga(x4, x6)
U18_aaaga(x1, x2, x3, x4, x5, x6)  =  U18_aaaga(x4, x6)
app54_in_agaa(x1, x2, x3, x4)  =  app54_in_agaa(x2)
U15_agaa(x1, x2, x3, x4, x5, x6)  =  U15_agaa(x3, x6)
app54_out_agaa(x1, x2, x3, x4)  =  app54_out_agaa(x2)
U31_aa(x1, x2, x3)  =  U31_aa(x3)
qs99_in_a(x1)  =  qs99_in_a
qs99_out_a(x1)  =  qs99_out_a(x1)
U32_aa(x1, x2, x3)  =  U32_aa(x3)
U33_aa(x1, x2, x3)  =  U33_aa(x3)
U34_aa(x1, x2, x3, x4)  =  U34_aa(x3, x4)
U35_aa(x1, x2, x3)  =  U35_aa(x3)
app54_in_gaga(x1, x2, x3, x4)  =  app54_in_gaga(x1, x3)
U15_gaga(x1, x2, x3, x4, x5, x6)  =  U15_gaga(x1, x2, x4, x6)
app54_out_gaga(x1, x2, x3, x4)  =  app54_out_gaga(x1, x3)
U23_aa(x1, x2, x3, x4, x5, x6)  =  U23_aa(x1, x6)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U23_ga(x1, x2, x3, x4, x5, x6)  =  U23_ga(x1, x2, x3, x6)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x1, x2, x3, x5)
U25_ga(x1, x2, x3, x4, x5)  =  U25_ga(x1, x2, x3, x5)
U26_ga(x1, x2, x3, x4, x5)  =  U26_ga(x1, x2, x3, x5)
U27_ga(x1, x2, x3, x4, x5)  =  U27_ga(x1, x2, x3, x5)
U28_ga(x1, x2, x3, x4, x5)  =  U28_ga(x1, x2, x3, x5)
U29_ga(x1, x2, x3, x4, x5, x6)  =  U29_ga(x1, x2, x3, x6)
U30_ga(x1, x2, x3, x4, x5)  =  U30_ga(x1, x2, x3, x5)
U31_ga(x1, x2, x3)  =  U31_ga(x1, x3)
U32_ga(x1, x2, x3)  =  U32_ga(x1, x3)
U33_ga(x1, x2, x3)  =  U33_ga(x1, x3)
U34_ga(x1, x2, x3, x4)  =  U34_ga(x1, x3, x4)
U35_ga(x1, x2, x3)  =  U35_ga(x1, x3)
app54_in_ggga(x1, x2, x3, x4)  =  app54_in_ggga(x1, x2, x3)
U15_ggga(x1, x2, x3, x4, x5, x6)  =  U15_ggga(x1, x2, x3, x4, x6)
app54_out_ggga(x1, x2, x3, x4)  =  app54_out_ggga(x1, x2, x3, x4)
PART20_IN_GAAA(x1, x2, x3, x4)  =  PART20_IN_GAAA(x1)
U2_GAAA(x1, x2, x3, x4, x5, x6)  =  U2_GAAA(x1, x6)
U4_GAAA(x1, x2, x3, x4, x5, x6)  =  U4_GAAA(x1, x6)

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:

U2_GAAA(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → PART20_IN_GAAA(T61, T63, X119, X120)
PART20_IN_GAAA(T61, .(T62, T63), .(T62, X119), X120) → U2_GAAA(T61, T62, T63, X119, X120, gt10_in_ga(T61, T62))
PART20_IN_GAAA(T83, .(T84, T85), X170, .(T84, X171)) → U4_GAAA(T83, T84, T85, X170, X171, le33_in_ga(T83, T84))
U4_GAAA(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → PART20_IN_GAAA(T83, T85, X170, X171)

The TRS R consists of the following rules:

gt10_in_ga(s(T37), s(T38)) → U1_ga(T37, T38, gt10_in_ga(T37, T38))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
le33_in_ga(s(T98), s(T99)) → U6_ga(T98, T99, le33_in_ga(T98, T99))
le33_in_ga(0, s(T106)) → le33_out_ga(0, s(T106))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U1_ga(T37, T38, gt10_out_ga(T37, T38)) → gt10_out_ga(s(T37), s(T38))
U6_ga(T98, T99, le33_out_ga(T98, T99)) → le33_out_ga(s(T98), s(T99))

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

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:

U2_GAAA(T61, gt10_out_ga(T61, T62)) → PART20_IN_GAAA(T61)
PART20_IN_GAAA(T61) → U2_GAAA(T61, gt10_in_ga(T61))
PART20_IN_GAAA(T83) → U4_GAAA(T83, le33_in_ga(T83))
U4_GAAA(T83, le33_out_ga(T83)) → PART20_IN_GAAA(T83)

The TRS R consists of the following rules:

gt10_in_ga(s(T37)) → U1_ga(T37, gt10_in_ga(T37))
gt10_in_ga(s(0)) → gt10_out_ga(s(0), 0)
le33_in_ga(s(T98)) → U6_ga(T98, le33_in_ga(T98))
le33_in_ga(0) → le33_out_ga(0)
U1_ga(T37, gt10_out_ga(T37, T38)) → gt10_out_ga(s(T37), s(T38))
U6_ga(T98, le33_out_ga(T98)) → le33_out_ga(s(T98))

The set Q consists of the following terms:

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

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

(63) Narrowing (SOUND transformation)

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

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

(64) Obligation:

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

U2_GAAA(T61, gt10_out_ga(T61, T62)) → PART20_IN_GAAA(T61)
PART20_IN_GAAA(T83) → U4_GAAA(T83, le33_in_ga(T83))
U4_GAAA(T83, le33_out_ga(T83)) → PART20_IN_GAAA(T83)
PART20_IN_GAAA(s(x0)) → U2_GAAA(s(x0), U1_ga(x0, gt10_in_ga(x0)))
PART20_IN_GAAA(s(0)) → U2_GAAA(s(0), gt10_out_ga(s(0), 0))

The TRS R consists of the following rules:

gt10_in_ga(s(T37)) → U1_ga(T37, gt10_in_ga(T37))
gt10_in_ga(s(0)) → gt10_out_ga(s(0), 0)
le33_in_ga(s(T98)) → U6_ga(T98, le33_in_ga(T98))
le33_in_ga(0) → le33_out_ga(0)
U1_ga(T37, gt10_out_ga(T37, T38)) → gt10_out_ga(s(T37), s(T38))
U6_ga(T98, le33_out_ga(T98)) → le33_out_ga(s(T98))

The set Q consists of the following terms:

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

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

(65) Narrowing (SOUND transformation)

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

PART20_IN_GAAA(s(x0)) → U4_GAAA(s(x0), U6_ga(x0, le33_in_ga(x0)))
PART20_IN_GAAA(0) → U4_GAAA(0, le33_out_ga(0))

(66) Obligation:

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

U2_GAAA(T61, gt10_out_ga(T61, T62)) → PART20_IN_GAAA(T61)
U4_GAAA(T83, le33_out_ga(T83)) → PART20_IN_GAAA(T83)
PART20_IN_GAAA(s(x0)) → U2_GAAA(s(x0), U1_ga(x0, gt10_in_ga(x0)))
PART20_IN_GAAA(s(0)) → U2_GAAA(s(0), gt10_out_ga(s(0), 0))
PART20_IN_GAAA(s(x0)) → U4_GAAA(s(x0), U6_ga(x0, le33_in_ga(x0)))
PART20_IN_GAAA(0) → U4_GAAA(0, le33_out_ga(0))

The TRS R consists of the following rules:

gt10_in_ga(s(T37)) → U1_ga(T37, gt10_in_ga(T37))
gt10_in_ga(s(0)) → gt10_out_ga(s(0), 0)
le33_in_ga(s(T98)) → U6_ga(T98, le33_in_ga(T98))
le33_in_ga(0) → le33_out_ga(0)
U1_ga(T37, gt10_out_ga(T37, T38)) → gt10_out_ga(s(T37), s(T38))
U6_ga(T98, le33_out_ga(T98)) → le33_out_ga(s(T98))

The set Q consists of the following terms:

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

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

(67) Instantiation (EQUIVALENT transformation)

By instantiating [LPAR04] the rule U2_GAAA(T61, gt10_out_ga(T61, T62)) → PART20_IN_GAAA(T61) we obtained the following new rules [LPAR04]:

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

(68) Obligation:

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

U4_GAAA(T83, le33_out_ga(T83)) → PART20_IN_GAAA(T83)
PART20_IN_GAAA(s(x0)) → U2_GAAA(s(x0), U1_ga(x0, gt10_in_ga(x0)))
PART20_IN_GAAA(s(0)) → U2_GAAA(s(0), gt10_out_ga(s(0), 0))
PART20_IN_GAAA(s(x0)) → U4_GAAA(s(x0), U6_ga(x0, le33_in_ga(x0)))
PART20_IN_GAAA(0) → U4_GAAA(0, le33_out_ga(0))
U2_GAAA(s(z0), gt10_out_ga(s(z0), x1)) → PART20_IN_GAAA(s(z0))
U2_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(T37)) → U1_ga(T37, gt10_in_ga(T37))
gt10_in_ga(s(0)) → gt10_out_ga(s(0), 0)
le33_in_ga(s(T98)) → U6_ga(T98, le33_in_ga(T98))
le33_in_ga(0) → le33_out_ga(0)
U1_ga(T37, gt10_out_ga(T37, T38)) → gt10_out_ga(s(T37), s(T38))
U6_ga(T98, le33_out_ga(T98)) → le33_out_ga(s(T98))

The set Q consists of the following terms:

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

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

(69) Instantiation (EQUIVALENT transformation)

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

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

(70) Obligation:

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

PART20_IN_GAAA(s(x0)) → U2_GAAA(s(x0), U1_ga(x0, gt10_in_ga(x0)))
PART20_IN_GAAA(s(0)) → U2_GAAA(s(0), gt10_out_ga(s(0), 0))
PART20_IN_GAAA(s(x0)) → U4_GAAA(s(x0), U6_ga(x0, le33_in_ga(x0)))
PART20_IN_GAAA(0) → U4_GAAA(0, le33_out_ga(0))
U2_GAAA(s(z0), gt10_out_ga(s(z0), x1)) → PART20_IN_GAAA(s(z0))
U2_GAAA(s(0), gt10_out_ga(s(0), 0)) → PART20_IN_GAAA(s(0))
U4_GAAA(s(z0), le33_out_ga(s(z0))) → PART20_IN_GAAA(s(z0))
U4_GAAA(0, le33_out_ga(0)) → PART20_IN_GAAA(0)

The TRS R consists of the following rules:

gt10_in_ga(s(T37)) → U1_ga(T37, gt10_in_ga(T37))
gt10_in_ga(s(0)) → gt10_out_ga(s(0), 0)
le33_in_ga(s(T98)) → U6_ga(T98, le33_in_ga(T98))
le33_in_ga(0) → le33_out_ga(0)
U1_ga(T37, gt10_out_ga(T37, T38)) → gt10_out_ga(s(T37), s(T38))
U6_ga(T98, le33_out_ga(T98)) → le33_out_ga(s(T98))

The set Q consists of the following terms:

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

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

(71) DependencyGraphProof (EQUIVALENT transformation)

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

(72) Complex Obligation (AND)

(73) Obligation:

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

U4_GAAA(0, le33_out_ga(0)) → PART20_IN_GAAA(0)
PART20_IN_GAAA(0) → U4_GAAA(0, le33_out_ga(0))

The TRS R consists of the following rules:

gt10_in_ga(s(T37)) → U1_ga(T37, gt10_in_ga(T37))
gt10_in_ga(s(0)) → gt10_out_ga(s(0), 0)
le33_in_ga(s(T98)) → U6_ga(T98, le33_in_ga(T98))
le33_in_ga(0) → le33_out_ga(0)
U1_ga(T37, gt10_out_ga(T37, T38)) → gt10_out_ga(s(T37), s(T38))
U6_ga(T98, le33_out_ga(T98)) → le33_out_ga(s(T98))

The set Q consists of the following terms:

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

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

(74) 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.

(75) Obligation:

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

U4_GAAA(0, le33_out_ga(0)) → PART20_IN_GAAA(0)
PART20_IN_GAAA(0) → U4_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)
U6_ga(x0, x1)

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

(76) 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)
U6_ga(x0, x1)

(77) Obligation:

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

U4_GAAA(0, le33_out_ga(0)) → PART20_IN_GAAA(0)
PART20_IN_GAAA(0) → U4_GAAA(0, le33_out_ga(0))

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

(78) 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)U4_GAAA(0, le33_out_ga(0))
with rule PART20_IN_GAAA(0) → U4_GAAA(0, le33_out_ga(0)) at position [] and matcher [ ]

U4_GAAA(0, le33_out_ga(0))PART20_IN_GAAA(0)
with rule U4_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.



(79) NO

(80) Obligation:

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

U2_GAAA(s(z0), gt10_out_ga(s(z0), x1)) → PART20_IN_GAAA(s(z0))
PART20_IN_GAAA(s(x0)) → U2_GAAA(s(x0), U1_ga(x0, gt10_in_ga(x0)))
U2_GAAA(s(0), gt10_out_ga(s(0), 0)) → PART20_IN_GAAA(s(0))
PART20_IN_GAAA(s(0)) → U2_GAAA(s(0), gt10_out_ga(s(0), 0))
PART20_IN_GAAA(s(x0)) → U4_GAAA(s(x0), U6_ga(x0, le33_in_ga(x0)))
U4_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(T37)) → U1_ga(T37, gt10_in_ga(T37))
gt10_in_ga(s(0)) → gt10_out_ga(s(0), 0)
le33_in_ga(s(T98)) → U6_ga(T98, le33_in_ga(T98))
le33_in_ga(0) → le33_out_ga(0)
U1_ga(T37, gt10_out_ga(T37, T38)) → gt10_out_ga(s(T37), s(T38))
U6_ga(T98, le33_out_ga(T98)) → le33_out_ga(s(T98))

The set Q consists of the following terms:

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

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

(81) 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:
  • Matcher: [ ]
  • Semiunifier: [ ]




Rewriting sequence

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

U2_GAAA(s(0), gt10_out_ga(s(0), 0))PART20_IN_GAAA(s(0))
with rule U2_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.



(82) NO

(83) Obligation:

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

GT10_IN_AA(s(T37), s(T38)) → GT10_IN_AA(T37, T38)

The TRS R consists of the following rules:

qs1_in_ga(.(T22, .(T23, T24)), T9) → U19_ga(T22, T23, T24, T9, gt10_in_gg(T22, T23))
gt10_in_gg(s(T37), s(T38)) → U1_gg(T37, T38, gt10_in_gg(T37, T38))
gt10_in_gg(s(0), 0) → gt10_out_gg(s(0), 0)
U1_gg(T37, T38, gt10_out_gg(T37, T38)) → gt10_out_gg(s(T37), s(T38))
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U20_ga(T22, T23, T24, T9, part20_in_ggaa(T22, T24, X47, X48))
part20_in_ggaa(T61, .(T62, T63), .(T62, X119), X120) → U2_ggaa(T61, T62, T63, X119, X120, gt10_in_gg(T61, T62))
U2_ggaa(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → part20_out_ggaa(T61, .(T62, T63), .(T62, X119), X120)
U2_ggaa(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → U3_ggaa(T61, T62, T63, X119, X120, part20_in_ggaa(T61, T63, X119, X120))
part20_in_ggaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_ggaa(T83, T84, T85, X170, X171, le33_in_gg(T83, T84))
le33_in_gg(s(T98), s(T99)) → U6_gg(T98, T99, le33_in_gg(T98, T99))
le33_in_gg(0, s(T106)) → le33_out_gg(0, s(T106))
le33_in_gg(0, 0) → le33_out_gg(0, 0)
U6_gg(T98, T99, le33_out_gg(T98, T99)) → le33_out_gg(s(T98), s(T99))
U4_ggaa(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → part20_out_ggaa(T83, .(T84, T85), X170, .(T84, X171))
U4_ggaa(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → U5_ggaa(T83, T84, T85, X170, X171, part20_in_ggaa(T83, T85, X170, X171))
part20_in_ggaa(T112, [], [], []) → part20_out_ggaa(T112, [], [], [])
U5_ggaa(T83, T84, T85, X170, X171, part20_out_ggaa(T83, T85, X170, X171)) → part20_out_ggaa(T83, .(T84, T85), X170, .(T84, X171))
U3_ggaa(T61, T62, T63, X119, X120, part20_out_ggaa(T61, T63, X119, X120)) → part20_out_ggaa(T61, .(T62, T63), .(T62, X119), X120)
U20_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, X47, X48)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U21_ga(T22, T23, T24, T9, part20_in_ggaa(T22, T24, T44, T45))
U21_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U22_ga(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
qs1_in_aa(.(T22, .(T23, T24)), T9) → U19_aa(T22, T23, T24, T9, gt10_in_aa(T22, T23))
gt10_in_aa(s(T37), s(T38)) → U1_aa(T37, T38, gt10_in_aa(T37, T38))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U1_aa(T37, T38, gt10_out_aa(T37, T38)) → gt10_out_aa(s(T37), s(T38))
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U20_aa(T22, T23, T24, T9, part20_in_gaaa(T22, T24, X47, X48))
part20_in_gaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_gaaa(T61, T62, T63, X119, X120, gt10_in_ga(T61, T62))
gt10_in_ga(s(T37), s(T38)) → U1_ga(T37, T38, gt10_in_ga(T37, T38))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U1_ga(T37, T38, gt10_out_ga(T37, T38)) → gt10_out_ga(s(T37), s(T38))
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → U3_gaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
part20_in_gaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_gaaa(T83, T84, T85, X170, X171, le33_in_ga(T83, T84))
le33_in_ga(s(T98), s(T99)) → U6_ga(T98, T99, le33_in_ga(T98, T99))
le33_in_ga(0, s(T106)) → le33_out_ga(0, s(T106))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U6_ga(T98, T99, le33_out_ga(T98, T99)) → le33_out_ga(s(T98), s(T99))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → U5_gaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
part20_in_gaaa(T112, [], [], []) → part20_out_gaaa(T112, [], [], [])
U5_gaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U3_gaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U20_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, X47, X48)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U21_aa(T22, T23, T24, T9, part20_in_gaaa(T22, T24, T44, T45))
U21_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U22_aa(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
qs1_in_aa(.(T239, .(T240, T241)), T9) → U25_aa(T239, T240, T241, T9, le33_in_aa(T239, T240))
le33_in_aa(s(T98), s(T99)) → U6_aa(T98, T99, le33_in_aa(T98, T99))
le33_in_aa(0, s(T106)) → le33_out_aa(0, s(T106))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U6_aa(T98, T99, le33_out_aa(T98, T99)) → le33_out_aa(s(T98), s(T99))
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U26_aa(T239, T240, T241, T9, part20_in_gaaa(T239, T241, X437, X438))
U26_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, X437, X438)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U27_aa(T239, T240, T241, T9, part20_in_gaaa(T239, T241, T249, T250))
U27_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U28_aa(T239, T240, T241, T9, qs53_in_aa(T249, X9))
qs53_in_aa(.(T131, T132), X275) → U7_aa(T131, T132, X275, part20_in_aaaa(T131, T132, X271, X272))
part20_in_aaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_aaaa(T61, T62, T63, X119, X120, gt10_in_aa(T61, T62))
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → U3_aaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
U3_aaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
part20_in_aaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_aaaa(T83, T84, T85, X170, X171, le33_in_aa(T83, T84))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → U5_aaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
U5_aaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
part20_in_aaaa(T112, [], [], []) → part20_out_aaaa(T112, [], [], [])
U7_aa(T131, T132, X275, part20_out_aaaa(T131, T132, X271, X272)) → qs53_out_aa(.(T131, T132), X275)
qs53_in_aa(.(T131, T132), X275) → U8_aa(T131, T132, X275, part20_in_aaaa(T131, T132, T136, T137))
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U9_aa(T131, T132, X275, qs53_in_aa(T136, X273))
qs53_in_aa([], []) → qs53_out_aa([], [])
U9_aa(T131, T132, X275, qs53_out_aa(T136, X273)) → qs53_out_aa(.(T131, T132), X275)
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U10_aa(T131, T132, X275, T137, qs53_in_aa(T136, T143))
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U11_aa(T131, T132, X275, qs53_in_aa(T137, X274))
U11_aa(T131, T132, X275, qs53_out_aa(T137, X274)) → qs53_out_aa(.(T131, T132), X275)
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U12_aa(T131, T132, X275, T143, qs53_in_aa(T137, T148))
U12_aa(T131, T132, X275, T143, qs53_out_aa(T137, T148)) → U13_aa(T131, T132, X275, app65_in_aaaa(T143, T131, T148, X275))
app65_in_aaaa(.(T171, T172), T173, T174, .(T171, X354)) → U14_aaaa(T171, T172, T173, T174, X354, app65_in_aaaa(T172, T173, T174, X354))
app65_in_aaaa([], T183, T184, .(T183, T184)) → app65_out_aaaa([], T183, T184, .(T183, T184))
U14_aaaa(T171, T172, T173, T174, X354, app65_out_aaaa(T172, T173, T174, X354)) → app65_out_aaaa(.(T171, T172), T173, T174, .(T171, X354))
U13_aa(T131, T132, X275, app65_out_aaaa(T143, T131, T148, X275)) → qs53_out_aa(.(T131, T132), X275)
U28_aa(T239, T240, T241, T9, qs53_out_aa(T249, X9)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U27_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U29_aa(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_aa(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_aa(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
p52_in_aaaga(T45, X10, T115, T22, T9) → U16_aaaga(T45, X10, T115, T22, T9, qs53_in_aa(T45, X10))
U16_aaaga(T45, X10, T115, T22, T9, qs53_out_aa(T45, X10)) → p52_out_aaaga(T45, X10, T115, T22, T9)
p52_in_aaaga(T45, T120, T115, T22, T9) → U17_aaaga(T45, T120, T115, T22, T9, qs53_in_aa(T45, T120))
U17_aaaga(T45, T120, T115, T22, T9, qs53_out_aa(T45, T120)) → U18_aaaga(T45, T120, T115, T22, T9, app54_in_agaa(T115, T22, T120, T9))
app54_in_agaa(.(T210, T211), T212, T213, .(T210, T215)) → U15_agaa(T210, T211, T212, T213, T215, app54_in_agaa(T211, T212, T213, T215))
app54_in_agaa([], T225, T226, .(T225, T226)) → app54_out_agaa([], T225, T226, .(T225, T226))
U15_agaa(T210, T211, T212, T213, T215, app54_out_agaa(T211, T212, T213, T215)) → app54_out_agaa(.(T210, T211), T212, T213, .(T210, T215))
U18_aaaga(T45, T120, T115, T22, T9, app54_out_agaa(T115, T22, T120, T9)) → p52_out_aaaga(T45, T120, T115, T22, T9)
U30_aa(T239, T240, T241, T9, p52_out_aaaga(.(T240, T250), X10, T256, T239, T9)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
qs1_in_aa(.(T265, []), T9) → U31_aa(T265, T9, qs99_in_a(X9))
qs99_in_a([]) → qs99_out_a([])
U31_aa(T265, T9, qs99_out_a(X9)) → qs1_out_aa(.(T265, []), T9)
qs1_in_aa(.(T265, []), T9) → U32_aa(T265, T9, qs99_in_a(T268))
U32_aa(T265, T9, qs99_out_a(T268)) → U33_aa(T265, T9, qs99_in_a(X10))
U33_aa(T265, T9, qs99_out_a(X10)) → qs1_out_aa(.(T265, []), T9)
U32_aa(T265, T9, qs99_out_a(T268)) → U34_aa(T265, T9, T268, qs99_in_a(T273))
U34_aa(T265, T9, T268, qs99_out_a(T273)) → U35_aa(T265, T9, app54_in_gaga(T268, T265, T273, T9))
app54_in_gaga(.(T210, T211), T212, T213, .(T210, T215)) → U15_gaga(T210, T211, T212, T213, T215, app54_in_gaga(T211, T212, T213, T215))
app54_in_gaga([], T225, T226, .(T225, T226)) → app54_out_gaga([], T225, T226, .(T225, T226))
U15_gaga(T210, T211, T212, T213, T215, app54_out_gaga(T211, T212, T213, T215)) → app54_out_gaga(.(T210, T211), T212, T213, .(T210, T215))
U35_aa(T265, T9, app54_out_gaga(T268, T265, T273, T9)) → qs1_out_aa(.(T265, []), T9)
qs1_in_aa([], []) → qs1_out_aa([], [])
U22_aa(T22, T23, T24, T9, qs1_out_aa(.(T23, T44), X9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U21_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U23_aa(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_aa(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_aa(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U24_aa(T22, T23, T24, T9, p52_out_aaaga(T45, X10, T115, T22, T9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U22_ga(T22, T23, T24, T9, qs1_out_aa(.(T23, T44), X9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U21_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U23_ga(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_ga(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_ga(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U24_ga(T22, T23, T24, T9, p52_out_aaaga(T45, X10, T115, T22, T9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
qs1_in_ga(.(T239, .(T240, T241)), T9) → U25_ga(T239, T240, T241, T9, le33_in_gg(T239, T240))
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U26_ga(T239, T240, T241, T9, part20_in_ggaa(T239, T241, X437, X438))
U26_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, X437, X438)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U27_ga(T239, T240, T241, T9, part20_in_ggaa(T239, T241, T249, T250))
U27_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U28_ga(T239, T240, T241, T9, qs53_in_aa(T249, X9))
U28_ga(T239, T240, T241, T9, qs53_out_aa(T249, X9)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U27_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U29_ga(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_ga(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_ga(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
U30_ga(T239, T240, T241, T9, p52_out_aaaga(.(T240, T250), X10, T256, T239, T9)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
qs1_in_ga(.(T265, []), T9) → U31_ga(T265, T9, qs99_in_a(X9))
U31_ga(T265, T9, qs99_out_a(X9)) → qs1_out_ga(.(T265, []), T9)
qs1_in_ga(.(T265, []), T9) → U32_ga(T265, T9, qs99_in_a(T268))
U32_ga(T265, T9, qs99_out_a(T268)) → U33_ga(T265, T9, qs99_in_a(X10))
U33_ga(T265, T9, qs99_out_a(X10)) → qs1_out_ga(.(T265, []), T9)
U32_ga(T265, T9, qs99_out_a(T268)) → U34_ga(T265, T9, T268, qs99_in_a(T273))
U34_ga(T265, T9, T268, qs99_out_a(T273)) → U35_ga(T265, T9, app54_in_ggga(T268, T265, T273, T9))
app54_in_ggga(.(T210, T211), T212, T213, .(T210, T215)) → U15_ggga(T210, T211, T212, T213, T215, app54_in_ggga(T211, T212, T213, T215))
app54_in_ggga([], T225, T226, .(T225, T226)) → app54_out_ggga([], T225, T226, .(T225, T226))
U15_ggga(T210, T211, T212, T213, T215, app54_out_ggga(T211, T212, T213, T215)) → app54_out_ggga(.(T210, T211), T212, T213, .(T210, T215))
U35_ga(T265, T9, app54_out_ggga(T268, T265, T273, T9)) → qs1_out_ga(.(T265, []), T9)
qs1_in_ga([], []) → qs1_out_ga([], [])

The argument filtering Pi contains the following mapping:
qs1_in_ga(x1, x2)  =  qs1_in_ga(x1)
.(x1, x2)  =  .(x1, x2)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x2, x3, x5)
gt10_in_gg(x1, x2)  =  gt10_in_gg(x1, x2)
s(x1)  =  s(x1)
U1_gg(x1, x2, x3)  =  U1_gg(x1, x2, x3)
0  =  0
gt10_out_gg(x1, x2)  =  gt10_out_gg(x1, x2)
qs1_out_ga(x1, x2)  =  qs1_out_ga(x1)
U20_ga(x1, x2, x3, x4, x5)  =  U20_ga(x1, x2, x3, x5)
part20_in_ggaa(x1, x2, x3, x4)  =  part20_in_ggaa(x1, x2)
U2_ggaa(x1, x2, x3, x4, x5, x6)  =  U2_ggaa(x1, x2, x3, x6)
part20_out_ggaa(x1, x2, x3, x4)  =  part20_out_ggaa(x1, x2)
U3_ggaa(x1, x2, x3, x4, x5, x6)  =  U3_ggaa(x1, x2, x3, x6)
U4_ggaa(x1, x2, x3, x4, x5, x6)  =  U4_ggaa(x1, x2, x3, x6)
le33_in_gg(x1, x2)  =  le33_in_gg(x1, x2)
U6_gg(x1, x2, x3)  =  U6_gg(x1, x2, x3)
le33_out_gg(x1, x2)  =  le33_out_gg(x1, x2)
U5_ggaa(x1, x2, x3, x4, x5, x6)  =  U5_ggaa(x1, x2, x3, x6)
[]  =  []
U21_ga(x1, x2, x3, x4, x5)  =  U21_ga(x1, x2, x3, x5)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x1, x2, x3, x5)
qs1_in_aa(x1, x2)  =  qs1_in_aa
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(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_aa(x1, x2)  =  qs1_out_aa
U20_aa(x1, x2, x3, x4, x5)  =  U20_aa(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)
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)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U6_ga(x1, x2, x3)  =  U6_ga(x1, x3)
le33_out_ga(x1, x2)  =  le33_out_ga(x1)
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x1, x6)
U21_aa(x1, x2, x3, x4, x5)  =  U21_aa(x1, x5)
U22_aa(x1, x2, x3, x4, x5)  =  U22_aa(x5)
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
le33_in_aa(x1, x2)  =  le33_in_aa
U6_aa(x1, x2, x3)  =  U6_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
U26_aa(x1, x2, x3, x4, x5)  =  U26_aa(x5)
U27_aa(x1, x2, x3, x4, x5)  =  U27_aa(x1, x5)
U28_aa(x1, x2, x3, x4, x5)  =  U28_aa(x5)
qs53_in_aa(x1, x2)  =  qs53_in_aa
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
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)
qs53_out_aa(x1, x2)  =  qs53_out_aa
U8_aa(x1, x2, x3, x4)  =  U8_aa(x4)
U9_aa(x1, x2, x3, x4)  =  U9_aa(x4)
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4)  =  U11_aa(x4)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4)  =  U13_aa(x4)
app65_in_aaaa(x1, x2, x3, x4)  =  app65_in_aaaa
U14_aaaa(x1, x2, x3, x4, x5, x6)  =  U14_aaaa(x6)
app65_out_aaaa(x1, x2, x3, x4)  =  app65_out_aaaa
U29_aa(x1, x2, x3, x4, x5, x6)  =  U29_aa(x1, x6)
U30_aa(x1, x2, x3, x4, x5)  =  U30_aa(x5)
p52_in_aaaga(x1, x2, x3, x4, x5)  =  p52_in_aaaga(x4)
U16_aaaga(x1, x2, x3, x4, x5, x6)  =  U16_aaaga(x4, x6)
p52_out_aaaga(x1, x2, x3, x4, x5)  =  p52_out_aaaga(x4)
U17_aaaga(x1, x2, x3, x4, x5, x6)  =  U17_aaaga(x4, x6)
U18_aaaga(x1, x2, x3, x4, x5, x6)  =  U18_aaaga(x4, x6)
app54_in_agaa(x1, x2, x3, x4)  =  app54_in_agaa(x2)
U15_agaa(x1, x2, x3, x4, x5, x6)  =  U15_agaa(x3, x6)
app54_out_agaa(x1, x2, x3, x4)  =  app54_out_agaa(x2)
U31_aa(x1, x2, x3)  =  U31_aa(x3)
qs99_in_a(x1)  =  qs99_in_a
qs99_out_a(x1)  =  qs99_out_a(x1)
U32_aa(x1, x2, x3)  =  U32_aa(x3)
U33_aa(x1, x2, x3)  =  U33_aa(x3)
U34_aa(x1, x2, x3, x4)  =  U34_aa(x3, x4)
U35_aa(x1, x2, x3)  =  U35_aa(x3)
app54_in_gaga(x1, x2, x3, x4)  =  app54_in_gaga(x1, x3)
U15_gaga(x1, x2, x3, x4, x5, x6)  =  U15_gaga(x1, x2, x4, x6)
app54_out_gaga(x1, x2, x3, x4)  =  app54_out_gaga(x1, x3)
U23_aa(x1, x2, x3, x4, x5, x6)  =  U23_aa(x1, x6)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U23_ga(x1, x2, x3, x4, x5, x6)  =  U23_ga(x1, x2, x3, x6)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x1, x2, x3, x5)
U25_ga(x1, x2, x3, x4, x5)  =  U25_ga(x1, x2, x3, x5)
U26_ga(x1, x2, x3, x4, x5)  =  U26_ga(x1, x2, x3, x5)
U27_ga(x1, x2, x3, x4, x5)  =  U27_ga(x1, x2, x3, x5)
U28_ga(x1, x2, x3, x4, x5)  =  U28_ga(x1, x2, x3, x5)
U29_ga(x1, x2, x3, x4, x5, x6)  =  U29_ga(x1, x2, x3, x6)
U30_ga(x1, x2, x3, x4, x5)  =  U30_ga(x1, x2, x3, x5)
U31_ga(x1, x2, x3)  =  U31_ga(x1, x3)
U32_ga(x1, x2, x3)  =  U32_ga(x1, x3)
U33_ga(x1, x2, x3)  =  U33_ga(x1, x3)
U34_ga(x1, x2, x3, x4)  =  U34_ga(x1, x3, x4)
U35_ga(x1, x2, x3)  =  U35_ga(x1, x3)
app54_in_ggga(x1, x2, x3, x4)  =  app54_in_ggga(x1, x2, x3)
U15_ggga(x1, x2, x3, x4, x5, x6)  =  U15_ggga(x1, x2, x3, x4, x6)
app54_out_ggga(x1, x2, x3, x4)  =  app54_out_ggga(x1, x2, x3, x4)
GT10_IN_AA(x1, x2)  =  GT10_IN_AA

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

(84) UsableRulesProof (EQUIVALENT transformation)

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

(85) Obligation:

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

GT10_IN_AA(s(T37), s(T38)) → GT10_IN_AA(T37, T38)

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

(86) PiDPToQDPProof (SOUND transformation)

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

(87) 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.

(88) 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.



(89) NO

(90) Obligation:

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

QS53_IN_AA(.(T131, T132), X275) → U8_AA(T131, T132, X275, part20_in_aaaa(T131, T132, T136, T137))
U8_AA(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → QS53_IN_AA(T136, X273)
U8_AA(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U10_AA(T131, T132, X275, T137, qs53_in_aa(T136, T143))
U10_AA(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → QS53_IN_AA(T137, X274)

The TRS R consists of the following rules:

qs1_in_ga(.(T22, .(T23, T24)), T9) → U19_ga(T22, T23, T24, T9, gt10_in_gg(T22, T23))
gt10_in_gg(s(T37), s(T38)) → U1_gg(T37, T38, gt10_in_gg(T37, T38))
gt10_in_gg(s(0), 0) → gt10_out_gg(s(0), 0)
U1_gg(T37, T38, gt10_out_gg(T37, T38)) → gt10_out_gg(s(T37), s(T38))
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U20_ga(T22, T23, T24, T9, part20_in_ggaa(T22, T24, X47, X48))
part20_in_ggaa(T61, .(T62, T63), .(T62, X119), X120) → U2_ggaa(T61, T62, T63, X119, X120, gt10_in_gg(T61, T62))
U2_ggaa(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → part20_out_ggaa(T61, .(T62, T63), .(T62, X119), X120)
U2_ggaa(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → U3_ggaa(T61, T62, T63, X119, X120, part20_in_ggaa(T61, T63, X119, X120))
part20_in_ggaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_ggaa(T83, T84, T85, X170, X171, le33_in_gg(T83, T84))
le33_in_gg(s(T98), s(T99)) → U6_gg(T98, T99, le33_in_gg(T98, T99))
le33_in_gg(0, s(T106)) → le33_out_gg(0, s(T106))
le33_in_gg(0, 0) → le33_out_gg(0, 0)
U6_gg(T98, T99, le33_out_gg(T98, T99)) → le33_out_gg(s(T98), s(T99))
U4_ggaa(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → part20_out_ggaa(T83, .(T84, T85), X170, .(T84, X171))
U4_ggaa(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → U5_ggaa(T83, T84, T85, X170, X171, part20_in_ggaa(T83, T85, X170, X171))
part20_in_ggaa(T112, [], [], []) → part20_out_ggaa(T112, [], [], [])
U5_ggaa(T83, T84, T85, X170, X171, part20_out_ggaa(T83, T85, X170, X171)) → part20_out_ggaa(T83, .(T84, T85), X170, .(T84, X171))
U3_ggaa(T61, T62, T63, X119, X120, part20_out_ggaa(T61, T63, X119, X120)) → part20_out_ggaa(T61, .(T62, T63), .(T62, X119), X120)
U20_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, X47, X48)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U21_ga(T22, T23, T24, T9, part20_in_ggaa(T22, T24, T44, T45))
U21_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U22_ga(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
qs1_in_aa(.(T22, .(T23, T24)), T9) → U19_aa(T22, T23, T24, T9, gt10_in_aa(T22, T23))
gt10_in_aa(s(T37), s(T38)) → U1_aa(T37, T38, gt10_in_aa(T37, T38))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U1_aa(T37, T38, gt10_out_aa(T37, T38)) → gt10_out_aa(s(T37), s(T38))
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U20_aa(T22, T23, T24, T9, part20_in_gaaa(T22, T24, X47, X48))
part20_in_gaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_gaaa(T61, T62, T63, X119, X120, gt10_in_ga(T61, T62))
gt10_in_ga(s(T37), s(T38)) → U1_ga(T37, T38, gt10_in_ga(T37, T38))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U1_ga(T37, T38, gt10_out_ga(T37, T38)) → gt10_out_ga(s(T37), s(T38))
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → U3_gaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
part20_in_gaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_gaaa(T83, T84, T85, X170, X171, le33_in_ga(T83, T84))
le33_in_ga(s(T98), s(T99)) → U6_ga(T98, T99, le33_in_ga(T98, T99))
le33_in_ga(0, s(T106)) → le33_out_ga(0, s(T106))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U6_ga(T98, T99, le33_out_ga(T98, T99)) → le33_out_ga(s(T98), s(T99))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → U5_gaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
part20_in_gaaa(T112, [], [], []) → part20_out_gaaa(T112, [], [], [])
U5_gaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U3_gaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U20_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, X47, X48)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U21_aa(T22, T23, T24, T9, part20_in_gaaa(T22, T24, T44, T45))
U21_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U22_aa(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
qs1_in_aa(.(T239, .(T240, T241)), T9) → U25_aa(T239, T240, T241, T9, le33_in_aa(T239, T240))
le33_in_aa(s(T98), s(T99)) → U6_aa(T98, T99, le33_in_aa(T98, T99))
le33_in_aa(0, s(T106)) → le33_out_aa(0, s(T106))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U6_aa(T98, T99, le33_out_aa(T98, T99)) → le33_out_aa(s(T98), s(T99))
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U26_aa(T239, T240, T241, T9, part20_in_gaaa(T239, T241, X437, X438))
U26_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, X437, X438)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U27_aa(T239, T240, T241, T9, part20_in_gaaa(T239, T241, T249, T250))
U27_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U28_aa(T239, T240, T241, T9, qs53_in_aa(T249, X9))
qs53_in_aa(.(T131, T132), X275) → U7_aa(T131, T132, X275, part20_in_aaaa(T131, T132, X271, X272))
part20_in_aaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_aaaa(T61, T62, T63, X119, X120, gt10_in_aa(T61, T62))
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → U3_aaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
U3_aaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
part20_in_aaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_aaaa(T83, T84, T85, X170, X171, le33_in_aa(T83, T84))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → U5_aaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
U5_aaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
part20_in_aaaa(T112, [], [], []) → part20_out_aaaa(T112, [], [], [])
U7_aa(T131, T132, X275, part20_out_aaaa(T131, T132, X271, X272)) → qs53_out_aa(.(T131, T132), X275)
qs53_in_aa(.(T131, T132), X275) → U8_aa(T131, T132, X275, part20_in_aaaa(T131, T132, T136, T137))
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U9_aa(T131, T132, X275, qs53_in_aa(T136, X273))
qs53_in_aa([], []) → qs53_out_aa([], [])
U9_aa(T131, T132, X275, qs53_out_aa(T136, X273)) → qs53_out_aa(.(T131, T132), X275)
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U10_aa(T131, T132, X275, T137, qs53_in_aa(T136, T143))
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U11_aa(T131, T132, X275, qs53_in_aa(T137, X274))
U11_aa(T131, T132, X275, qs53_out_aa(T137, X274)) → qs53_out_aa(.(T131, T132), X275)
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U12_aa(T131, T132, X275, T143, qs53_in_aa(T137, T148))
U12_aa(T131, T132, X275, T143, qs53_out_aa(T137, T148)) → U13_aa(T131, T132, X275, app65_in_aaaa(T143, T131, T148, X275))
app65_in_aaaa(.(T171, T172), T173, T174, .(T171, X354)) → U14_aaaa(T171, T172, T173, T174, X354, app65_in_aaaa(T172, T173, T174, X354))
app65_in_aaaa([], T183, T184, .(T183, T184)) → app65_out_aaaa([], T183, T184, .(T183, T184))
U14_aaaa(T171, T172, T173, T174, X354, app65_out_aaaa(T172, T173, T174, X354)) → app65_out_aaaa(.(T171, T172), T173, T174, .(T171, X354))
U13_aa(T131, T132, X275, app65_out_aaaa(T143, T131, T148, X275)) → qs53_out_aa(.(T131, T132), X275)
U28_aa(T239, T240, T241, T9, qs53_out_aa(T249, X9)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U27_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U29_aa(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_aa(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_aa(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
p52_in_aaaga(T45, X10, T115, T22, T9) → U16_aaaga(T45, X10, T115, T22, T9, qs53_in_aa(T45, X10))
U16_aaaga(T45, X10, T115, T22, T9, qs53_out_aa(T45, X10)) → p52_out_aaaga(T45, X10, T115, T22, T9)
p52_in_aaaga(T45, T120, T115, T22, T9) → U17_aaaga(T45, T120, T115, T22, T9, qs53_in_aa(T45, T120))
U17_aaaga(T45, T120, T115, T22, T9, qs53_out_aa(T45, T120)) → U18_aaaga(T45, T120, T115, T22, T9, app54_in_agaa(T115, T22, T120, T9))
app54_in_agaa(.(T210, T211), T212, T213, .(T210, T215)) → U15_agaa(T210, T211, T212, T213, T215, app54_in_agaa(T211, T212, T213, T215))
app54_in_agaa([], T225, T226, .(T225, T226)) → app54_out_agaa([], T225, T226, .(T225, T226))
U15_agaa(T210, T211, T212, T213, T215, app54_out_agaa(T211, T212, T213, T215)) → app54_out_agaa(.(T210, T211), T212, T213, .(T210, T215))
U18_aaaga(T45, T120, T115, T22, T9, app54_out_agaa(T115, T22, T120, T9)) → p52_out_aaaga(T45, T120, T115, T22, T9)
U30_aa(T239, T240, T241, T9, p52_out_aaaga(.(T240, T250), X10, T256, T239, T9)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
qs1_in_aa(.(T265, []), T9) → U31_aa(T265, T9, qs99_in_a(X9))
qs99_in_a([]) → qs99_out_a([])
U31_aa(T265, T9, qs99_out_a(X9)) → qs1_out_aa(.(T265, []), T9)
qs1_in_aa(.(T265, []), T9) → U32_aa(T265, T9, qs99_in_a(T268))
U32_aa(T265, T9, qs99_out_a(T268)) → U33_aa(T265, T9, qs99_in_a(X10))
U33_aa(T265, T9, qs99_out_a(X10)) → qs1_out_aa(.(T265, []), T9)
U32_aa(T265, T9, qs99_out_a(T268)) → U34_aa(T265, T9, T268, qs99_in_a(T273))
U34_aa(T265, T9, T268, qs99_out_a(T273)) → U35_aa(T265, T9, app54_in_gaga(T268, T265, T273, T9))
app54_in_gaga(.(T210, T211), T212, T213, .(T210, T215)) → U15_gaga(T210, T211, T212, T213, T215, app54_in_gaga(T211, T212, T213, T215))
app54_in_gaga([], T225, T226, .(T225, T226)) → app54_out_gaga([], T225, T226, .(T225, T226))
U15_gaga(T210, T211, T212, T213, T215, app54_out_gaga(T211, T212, T213, T215)) → app54_out_gaga(.(T210, T211), T212, T213, .(T210, T215))
U35_aa(T265, T9, app54_out_gaga(T268, T265, T273, T9)) → qs1_out_aa(.(T265, []), T9)
qs1_in_aa([], []) → qs1_out_aa([], [])
U22_aa(T22, T23, T24, T9, qs1_out_aa(.(T23, T44), X9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U21_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U23_aa(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_aa(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_aa(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U24_aa(T22, T23, T24, T9, p52_out_aaaga(T45, X10, T115, T22, T9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U22_ga(T22, T23, T24, T9, qs1_out_aa(.(T23, T44), X9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U21_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U23_ga(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_ga(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_ga(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U24_ga(T22, T23, T24, T9, p52_out_aaaga(T45, X10, T115, T22, T9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
qs1_in_ga(.(T239, .(T240, T241)), T9) → U25_ga(T239, T240, T241, T9, le33_in_gg(T239, T240))
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U26_ga(T239, T240, T241, T9, part20_in_ggaa(T239, T241, X437, X438))
U26_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, X437, X438)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U27_ga(T239, T240, T241, T9, part20_in_ggaa(T239, T241, T249, T250))
U27_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U28_ga(T239, T240, T241, T9, qs53_in_aa(T249, X9))
U28_ga(T239, T240, T241, T9, qs53_out_aa(T249, X9)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U27_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U29_ga(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_ga(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_ga(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
U30_ga(T239, T240, T241, T9, p52_out_aaaga(.(T240, T250), X10, T256, T239, T9)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
qs1_in_ga(.(T265, []), T9) → U31_ga(T265, T9, qs99_in_a(X9))
U31_ga(T265, T9, qs99_out_a(X9)) → qs1_out_ga(.(T265, []), T9)
qs1_in_ga(.(T265, []), T9) → U32_ga(T265, T9, qs99_in_a(T268))
U32_ga(T265, T9, qs99_out_a(T268)) → U33_ga(T265, T9, qs99_in_a(X10))
U33_ga(T265, T9, qs99_out_a(X10)) → qs1_out_ga(.(T265, []), T9)
U32_ga(T265, T9, qs99_out_a(T268)) → U34_ga(T265, T9, T268, qs99_in_a(T273))
U34_ga(T265, T9, T268, qs99_out_a(T273)) → U35_ga(T265, T9, app54_in_ggga(T268, T265, T273, T9))
app54_in_ggga(.(T210, T211), T212, T213, .(T210, T215)) → U15_ggga(T210, T211, T212, T213, T215, app54_in_ggga(T211, T212, T213, T215))
app54_in_ggga([], T225, T226, .(T225, T226)) → app54_out_ggga([], T225, T226, .(T225, T226))
U15_ggga(T210, T211, T212, T213, T215, app54_out_ggga(T211, T212, T213, T215)) → app54_out_ggga(.(T210, T211), T212, T213, .(T210, T215))
U35_ga(T265, T9, app54_out_ggga(T268, T265, T273, T9)) → qs1_out_ga(.(T265, []), T9)
qs1_in_ga([], []) → qs1_out_ga([], [])

The argument filtering Pi contains the following mapping:
qs1_in_ga(x1, x2)  =  qs1_in_ga(x1)
.(x1, x2)  =  .(x1, x2)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x2, x3, x5)
gt10_in_gg(x1, x2)  =  gt10_in_gg(x1, x2)
s(x1)  =  s(x1)
U1_gg(x1, x2, x3)  =  U1_gg(x1, x2, x3)
0  =  0
gt10_out_gg(x1, x2)  =  gt10_out_gg(x1, x2)
qs1_out_ga(x1, x2)  =  qs1_out_ga(x1)
U20_ga(x1, x2, x3, x4, x5)  =  U20_ga(x1, x2, x3, x5)
part20_in_ggaa(x1, x2, x3, x4)  =  part20_in_ggaa(x1, x2)
U2_ggaa(x1, x2, x3, x4, x5, x6)  =  U2_ggaa(x1, x2, x3, x6)
part20_out_ggaa(x1, x2, x3, x4)  =  part20_out_ggaa(x1, x2)
U3_ggaa(x1, x2, x3, x4, x5, x6)  =  U3_ggaa(x1, x2, x3, x6)
U4_ggaa(x1, x2, x3, x4, x5, x6)  =  U4_ggaa(x1, x2, x3, x6)
le33_in_gg(x1, x2)  =  le33_in_gg(x1, x2)
U6_gg(x1, x2, x3)  =  U6_gg(x1, x2, x3)
le33_out_gg(x1, x2)  =  le33_out_gg(x1, x2)
U5_ggaa(x1, x2, x3, x4, x5, x6)  =  U5_ggaa(x1, x2, x3, x6)
[]  =  []
U21_ga(x1, x2, x3, x4, x5)  =  U21_ga(x1, x2, x3, x5)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x1, x2, x3, x5)
qs1_in_aa(x1, x2)  =  qs1_in_aa
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(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_aa(x1, x2)  =  qs1_out_aa
U20_aa(x1, x2, x3, x4, x5)  =  U20_aa(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)
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)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U6_ga(x1, x2, x3)  =  U6_ga(x1, x3)
le33_out_ga(x1, x2)  =  le33_out_ga(x1)
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x1, x6)
U21_aa(x1, x2, x3, x4, x5)  =  U21_aa(x1, x5)
U22_aa(x1, x2, x3, x4, x5)  =  U22_aa(x5)
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
le33_in_aa(x1, x2)  =  le33_in_aa
U6_aa(x1, x2, x3)  =  U6_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
U26_aa(x1, x2, x3, x4, x5)  =  U26_aa(x5)
U27_aa(x1, x2, x3, x4, x5)  =  U27_aa(x1, x5)
U28_aa(x1, x2, x3, x4, x5)  =  U28_aa(x5)
qs53_in_aa(x1, x2)  =  qs53_in_aa
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
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)
qs53_out_aa(x1, x2)  =  qs53_out_aa
U8_aa(x1, x2, x3, x4)  =  U8_aa(x4)
U9_aa(x1, x2, x3, x4)  =  U9_aa(x4)
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4)  =  U11_aa(x4)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4)  =  U13_aa(x4)
app65_in_aaaa(x1, x2, x3, x4)  =  app65_in_aaaa
U14_aaaa(x1, x2, x3, x4, x5, x6)  =  U14_aaaa(x6)
app65_out_aaaa(x1, x2, x3, x4)  =  app65_out_aaaa
U29_aa(x1, x2, x3, x4, x5, x6)  =  U29_aa(x1, x6)
U30_aa(x1, x2, x3, x4, x5)  =  U30_aa(x5)
p52_in_aaaga(x1, x2, x3, x4, x5)  =  p52_in_aaaga(x4)
U16_aaaga(x1, x2, x3, x4, x5, x6)  =  U16_aaaga(x4, x6)
p52_out_aaaga(x1, x2, x3, x4, x5)  =  p52_out_aaaga(x4)
U17_aaaga(x1, x2, x3, x4, x5, x6)  =  U17_aaaga(x4, x6)
U18_aaaga(x1, x2, x3, x4, x5, x6)  =  U18_aaaga(x4, x6)
app54_in_agaa(x1, x2, x3, x4)  =  app54_in_agaa(x2)
U15_agaa(x1, x2, x3, x4, x5, x6)  =  U15_agaa(x3, x6)
app54_out_agaa(x1, x2, x3, x4)  =  app54_out_agaa(x2)
U31_aa(x1, x2, x3)  =  U31_aa(x3)
qs99_in_a(x1)  =  qs99_in_a
qs99_out_a(x1)  =  qs99_out_a(x1)
U32_aa(x1, x2, x3)  =  U32_aa(x3)
U33_aa(x1, x2, x3)  =  U33_aa(x3)
U34_aa(x1, x2, x3, x4)  =  U34_aa(x3, x4)
U35_aa(x1, x2, x3)  =  U35_aa(x3)
app54_in_gaga(x1, x2, x3, x4)  =  app54_in_gaga(x1, x3)
U15_gaga(x1, x2, x3, x4, x5, x6)  =  U15_gaga(x1, x2, x4, x6)
app54_out_gaga(x1, x2, x3, x4)  =  app54_out_gaga(x1, x3)
U23_aa(x1, x2, x3, x4, x5, x6)  =  U23_aa(x1, x6)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U23_ga(x1, x2, x3, x4, x5, x6)  =  U23_ga(x1, x2, x3, x6)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x1, x2, x3, x5)
U25_ga(x1, x2, x3, x4, x5)  =  U25_ga(x1, x2, x3, x5)
U26_ga(x1, x2, x3, x4, x5)  =  U26_ga(x1, x2, x3, x5)
U27_ga(x1, x2, x3, x4, x5)  =  U27_ga(x1, x2, x3, x5)
U28_ga(x1, x2, x3, x4, x5)  =  U28_ga(x1, x2, x3, x5)
U29_ga(x1, x2, x3, x4, x5, x6)  =  U29_ga(x1, x2, x3, x6)
U30_ga(x1, x2, x3, x4, x5)  =  U30_ga(x1, x2, x3, x5)
U31_ga(x1, x2, x3)  =  U31_ga(x1, x3)
U32_ga(x1, x2, x3)  =  U32_ga(x1, x3)
U33_ga(x1, x2, x3)  =  U33_ga(x1, x3)
U34_ga(x1, x2, x3, x4)  =  U34_ga(x1, x3, x4)
U35_ga(x1, x2, x3)  =  U35_ga(x1, x3)
app54_in_ggga(x1, x2, x3, x4)  =  app54_in_ggga(x1, x2, x3)
U15_ggga(x1, x2, x3, x4, x5, x6)  =  U15_ggga(x1, x2, x3, x4, x6)
app54_out_ggga(x1, x2, x3, x4)  =  app54_out_ggga(x1, x2, x3, x4)
QS53_IN_AA(x1, x2)  =  QS53_IN_AA
U8_AA(x1, x2, x3, x4)  =  U8_AA(x4)
U10_AA(x1, x2, x3, x4, x5)  =  U10_AA(x5)

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

(91) UsableRulesProof (EQUIVALENT transformation)

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

(92) Obligation:

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

QS53_IN_AA(.(T131, T132), X275) → U8_AA(T131, T132, X275, part20_in_aaaa(T131, T132, T136, T137))
U8_AA(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → QS53_IN_AA(T136, X273)
U8_AA(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U10_AA(T131, T132, X275, T137, qs53_in_aa(T136, T143))
U10_AA(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → QS53_IN_AA(T137, X274)

The TRS R consists of the following rules:

part20_in_aaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_aaaa(T61, T62, T63, X119, X120, gt10_in_aa(T61, T62))
part20_in_aaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_aaaa(T83, T84, T85, X170, X171, le33_in_aa(T83, T84))
part20_in_aaaa(T112, [], [], []) → part20_out_aaaa(T112, [], [], [])
qs53_in_aa(.(T131, T132), X275) → U7_aa(T131, T132, X275, part20_in_aaaa(T131, T132, X271, X272))
qs53_in_aa(.(T131, T132), X275) → U8_aa(T131, T132, X275, part20_in_aaaa(T131, T132, T136, T137))
qs53_in_aa([], []) → qs53_out_aa([], [])
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → U3_aaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → U5_aaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
U7_aa(T131, T132, X275, part20_out_aaaa(T131, T132, X271, X272)) → qs53_out_aa(.(T131, T132), X275)
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U9_aa(T131, T132, X275, qs53_in_aa(T136, X273))
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U10_aa(T131, T132, X275, T137, qs53_in_aa(T136, T143))
gt10_in_aa(s(T37), s(T38)) → U1_aa(T37, T38, gt10_in_aa(T37, T38))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U3_aaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
le33_in_aa(s(T98), s(T99)) → U6_aa(T98, T99, le33_in_aa(T98, T99))
le33_in_aa(0, s(T106)) → le33_out_aa(0, s(T106))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U5_aaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
U9_aa(T131, T132, X275, qs53_out_aa(T136, X273)) → qs53_out_aa(.(T131, T132), X275)
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U11_aa(T131, T132, X275, qs53_in_aa(T137, X274))
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U12_aa(T131, T132, X275, T143, qs53_in_aa(T137, T148))
U1_aa(T37, T38, gt10_out_aa(T37, T38)) → gt10_out_aa(s(T37), s(T38))
part20_in_gaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_gaaa(T61, T62, T63, X119, X120, gt10_in_ga(T61, T62))
part20_in_gaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_gaaa(T83, T84, T85, X170, X171, le33_in_ga(T83, T84))
part20_in_gaaa(T112, [], [], []) → part20_out_gaaa(T112, [], [], [])
U6_aa(T98, T99, le33_out_aa(T98, T99)) → le33_out_aa(s(T98), s(T99))
U11_aa(T131, T132, X275, qs53_out_aa(T137, X274)) → qs53_out_aa(.(T131, T132), X275)
U12_aa(T131, T132, X275, T143, qs53_out_aa(T137, T148)) → U13_aa(T131, T132, X275, app65_in_aaaa(T143, T131, T148, X275))
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → U3_gaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → U5_gaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
U13_aa(T131, T132, X275, app65_out_aaaa(T143, T131, T148, X275)) → qs53_out_aa(.(T131, T132), X275)
gt10_in_ga(s(T37), s(T38)) → U1_ga(T37, T38, gt10_in_ga(T37, T38))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U3_gaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
le33_in_ga(s(T98), s(T99)) → U6_ga(T98, T99, le33_in_ga(T98, T99))
le33_in_ga(0, s(T106)) → le33_out_ga(0, s(T106))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U5_gaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
app65_in_aaaa(.(T171, T172), T173, T174, .(T171, X354)) → U14_aaaa(T171, T172, T173, T174, X354, app65_in_aaaa(T172, T173, T174, X354))
app65_in_aaaa([], T183, T184, .(T183, T184)) → app65_out_aaaa([], T183, T184, .(T183, T184))
U1_ga(T37, T38, gt10_out_ga(T37, T38)) → gt10_out_ga(s(T37), s(T38))
U6_ga(T98, T99, le33_out_ga(T98, T99)) → le33_out_ga(s(T98), s(T99))
U14_aaaa(T171, T172, T173, T174, X354, app65_out_aaaa(T172, T173, T174, X354)) → app65_out_aaaa(.(T171, T172), T173, T174, .(T171, X354))

The argument filtering Pi contains the following mapping:
.(x1, x2)  =  .(x1, x2)
s(x1)  =  s(x1)
0  =  0
[]  =  []
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)
U1_ga(x1, x2, x3)  =  U1_ga(x1, x3)
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)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U6_ga(x1, x2, x3)  =  U6_ga(x1, x3)
le33_out_ga(x1, x2)  =  le33_out_ga(x1)
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x1, x6)
le33_in_aa(x1, x2)  =  le33_in_aa
U6_aa(x1, x2, x3)  =  U6_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
qs53_in_aa(x1, x2)  =  qs53_in_aa
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
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)
qs53_out_aa(x1, x2)  =  qs53_out_aa
U8_aa(x1, x2, x3, x4)  =  U8_aa(x4)
U9_aa(x1, x2, x3, x4)  =  U9_aa(x4)
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4)  =  U11_aa(x4)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4)  =  U13_aa(x4)
app65_in_aaaa(x1, x2, x3, x4)  =  app65_in_aaaa
U14_aaaa(x1, x2, x3, x4, x5, x6)  =  U14_aaaa(x6)
app65_out_aaaa(x1, x2, x3, x4)  =  app65_out_aaaa
QS53_IN_AA(x1, x2)  =  QS53_IN_AA
U8_AA(x1, x2, x3, x4)  =  U8_AA(x4)
U10_AA(x1, x2, x3, x4, x5)  =  U10_AA(x5)

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

(93) PiDPToQDPProof (SOUND transformation)

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

(94) Obligation:

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

QS53_IN_AAU8_AA(part20_in_aaaa)
U8_AA(part20_out_aaaa) → QS53_IN_AA
U8_AA(part20_out_aaaa) → U10_AA(qs53_in_aa)
U10_AA(qs53_out_aa) → QS53_IN_AA

The TRS R consists of the following rules:

part20_in_aaaaU2_aaaa(gt10_in_aa)
part20_in_aaaaU4_aaaa(le33_in_aa)
part20_in_aaaapart20_out_aaaa
qs53_in_aaU7_aa(part20_in_aaaa)
qs53_in_aaU8_aa(part20_in_aaaa)
qs53_in_aaqs53_out_aa
U2_aaaa(gt10_out_aa(T61, T62)) → part20_out_aaaa
U2_aaaa(gt10_out_aa(T61, T62)) → U3_aaaa(part20_in_gaaa(T61))
U4_aaaa(le33_out_aa(T83)) → part20_out_aaaa
U4_aaaa(le33_out_aa(T83)) → U5_aaaa(part20_in_gaaa(T83))
U7_aa(part20_out_aaaa) → qs53_out_aa
U8_aa(part20_out_aaaa) → U9_aa(qs53_in_aa)
U8_aa(part20_out_aaaa) → U10_aa(qs53_in_aa)
gt10_in_aaU1_aa(gt10_in_aa)
gt10_in_aagt10_out_aa(s(0), 0)
U3_aaaa(part20_out_gaaa(T61)) → part20_out_aaaa
le33_in_aaU6_aa(le33_in_aa)
le33_in_aale33_out_aa(0)
U5_aaaa(part20_out_gaaa(T83)) → part20_out_aaaa
U9_aa(qs53_out_aa) → qs53_out_aa
U10_aa(qs53_out_aa) → U11_aa(qs53_in_aa)
U10_aa(qs53_out_aa) → U12_aa(qs53_in_aa)
U1_aa(gt10_out_aa(T37, T38)) → gt10_out_aa(s(T37), s(T38))
part20_in_gaaa(T61) → U2_gaaa(T61, gt10_in_ga(T61))
part20_in_gaaa(T83) → U4_gaaa(T83, le33_in_ga(T83))
part20_in_gaaa(T112) → part20_out_gaaa(T112)
U6_aa(le33_out_aa(T98)) → le33_out_aa(s(T98))
U11_aa(qs53_out_aa) → qs53_out_aa
U12_aa(qs53_out_aa) → U13_aa(app65_in_aaaa)
U2_gaaa(T61, gt10_out_ga(T61, T62)) → part20_out_gaaa(T61)
U2_gaaa(T61, gt10_out_ga(T61, T62)) → U3_gaaa(T61, part20_in_gaaa(T61))
U4_gaaa(T83, le33_out_ga(T83)) → part20_out_gaaa(T83)
U4_gaaa(T83, le33_out_ga(T83)) → U5_gaaa(T83, part20_in_gaaa(T83))
U13_aa(app65_out_aaaa) → qs53_out_aa
gt10_in_ga(s(T37)) → U1_ga(T37, gt10_in_ga(T37))
gt10_in_ga(s(0)) → gt10_out_ga(s(0), 0)
U3_gaaa(T61, part20_out_gaaa(T61)) → part20_out_gaaa(T61)
le33_in_ga(s(T98)) → U6_ga(T98, le33_in_ga(T98))
le33_in_ga(0) → le33_out_ga(0)
U5_gaaa(T83, part20_out_gaaa(T83)) → part20_out_gaaa(T83)
app65_in_aaaaU14_aaaa(app65_in_aaaa)
app65_in_aaaaapp65_out_aaaa
U1_ga(T37, gt10_out_ga(T37, T38)) → gt10_out_ga(s(T37), s(T38))
U6_ga(T98, le33_out_ga(T98)) → le33_out_ga(s(T98))
U14_aaaa(app65_out_aaaa) → app65_out_aaaa

The set Q consists of the following terms:

part20_in_aaaa
qs53_in_aa
U2_aaaa(x0)
U4_aaaa(x0)
U7_aa(x0)
U8_aa(x0)
gt10_in_aa
U3_aaaa(x0)
le33_in_aa
U5_aaaa(x0)
U9_aa(x0)
U10_aa(x0)
U1_aa(x0)
part20_in_gaaa(x0)
U6_aa(x0)
U11_aa(x0)
U12_aa(x0)
U2_gaaa(x0, x1)
U4_gaaa(x0, x1)
U13_aa(x0)
gt10_in_ga(x0)
U3_gaaa(x0, x1)
le33_in_ga(x0)
U5_gaaa(x0, x1)
app65_in_aaaa
U1_ga(x0, x1)
U6_ga(x0, x1)
U14_aaaa(x0)

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

(95) Narrowing (SOUND transformation)

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

QS53_IN_AAU8_AA(U2_aaaa(gt10_in_aa))
QS53_IN_AAU8_AA(U4_aaaa(le33_in_aa))
QS53_IN_AAU8_AA(part20_out_aaaa)

(96) Obligation:

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

U8_AA(part20_out_aaaa) → QS53_IN_AA
U8_AA(part20_out_aaaa) → U10_AA(qs53_in_aa)
U10_AA(qs53_out_aa) → QS53_IN_AA
QS53_IN_AAU8_AA(U2_aaaa(gt10_in_aa))
QS53_IN_AAU8_AA(U4_aaaa(le33_in_aa))
QS53_IN_AAU8_AA(part20_out_aaaa)

The TRS R consists of the following rules:

part20_in_aaaaU2_aaaa(gt10_in_aa)
part20_in_aaaaU4_aaaa(le33_in_aa)
part20_in_aaaapart20_out_aaaa
qs53_in_aaU7_aa(part20_in_aaaa)
qs53_in_aaU8_aa(part20_in_aaaa)
qs53_in_aaqs53_out_aa
U2_aaaa(gt10_out_aa(T61, T62)) → part20_out_aaaa
U2_aaaa(gt10_out_aa(T61, T62)) → U3_aaaa(part20_in_gaaa(T61))
U4_aaaa(le33_out_aa(T83)) → part20_out_aaaa
U4_aaaa(le33_out_aa(T83)) → U5_aaaa(part20_in_gaaa(T83))
U7_aa(part20_out_aaaa) → qs53_out_aa
U8_aa(part20_out_aaaa) → U9_aa(qs53_in_aa)
U8_aa(part20_out_aaaa) → U10_aa(qs53_in_aa)
gt10_in_aaU1_aa(gt10_in_aa)
gt10_in_aagt10_out_aa(s(0), 0)
U3_aaaa(part20_out_gaaa(T61)) → part20_out_aaaa
le33_in_aaU6_aa(le33_in_aa)
le33_in_aale33_out_aa(0)
U5_aaaa(part20_out_gaaa(T83)) → part20_out_aaaa
U9_aa(qs53_out_aa) → qs53_out_aa
U10_aa(qs53_out_aa) → U11_aa(qs53_in_aa)
U10_aa(qs53_out_aa) → U12_aa(qs53_in_aa)
U1_aa(gt10_out_aa(T37, T38)) → gt10_out_aa(s(T37), s(T38))
part20_in_gaaa(T61) → U2_gaaa(T61, gt10_in_ga(T61))
part20_in_gaaa(T83) → U4_gaaa(T83, le33_in_ga(T83))
part20_in_gaaa(T112) → part20_out_gaaa(T112)
U6_aa(le33_out_aa(T98)) → le33_out_aa(s(T98))
U11_aa(qs53_out_aa) → qs53_out_aa
U12_aa(qs53_out_aa) → U13_aa(app65_in_aaaa)
U2_gaaa(T61, gt10_out_ga(T61, T62)) → part20_out_gaaa(T61)
U2_gaaa(T61, gt10_out_ga(T61, T62)) → U3_gaaa(T61, part20_in_gaaa(T61))
U4_gaaa(T83, le33_out_ga(T83)) → part20_out_gaaa(T83)
U4_gaaa(T83, le33_out_ga(T83)) → U5_gaaa(T83, part20_in_gaaa(T83))
U13_aa(app65_out_aaaa) → qs53_out_aa
gt10_in_ga(s(T37)) → U1_ga(T37, gt10_in_ga(T37))
gt10_in_ga(s(0)) → gt10_out_ga(s(0), 0)
U3_gaaa(T61, part20_out_gaaa(T61)) → part20_out_gaaa(T61)
le33_in_ga(s(T98)) → U6_ga(T98, le33_in_ga(T98))
le33_in_ga(0) → le33_out_ga(0)
U5_gaaa(T83, part20_out_gaaa(T83)) → part20_out_gaaa(T83)
app65_in_aaaaU14_aaaa(app65_in_aaaa)
app65_in_aaaaapp65_out_aaaa
U1_ga(T37, gt10_out_ga(T37, T38)) → gt10_out_ga(s(T37), s(T38))
U6_ga(T98, le33_out_ga(T98)) → le33_out_ga(s(T98))
U14_aaaa(app65_out_aaaa) → app65_out_aaaa

The set Q consists of the following terms:

part20_in_aaaa
qs53_in_aa
U2_aaaa(x0)
U4_aaaa(x0)
U7_aa(x0)
U8_aa(x0)
gt10_in_aa
U3_aaaa(x0)
le33_in_aa
U5_aaaa(x0)
U9_aa(x0)
U10_aa(x0)
U1_aa(x0)
part20_in_gaaa(x0)
U6_aa(x0)
U11_aa(x0)
U12_aa(x0)
U2_gaaa(x0, x1)
U4_gaaa(x0, x1)
U13_aa(x0)
gt10_in_ga(x0)
U3_gaaa(x0, x1)
le33_in_ga(x0)
U5_gaaa(x0, x1)
app65_in_aaaa
U1_ga(x0, x1)
U6_ga(x0, x1)
U14_aaaa(x0)

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

(97) Narrowing (SOUND transformation)

By narrowing [LPAR04] the rule U8_AA(part20_out_aaaa) → U10_AA(qs53_in_aa) at position [0] we obtained the following new rules [LPAR04]:

U8_AA(part20_out_aaaa) → U10_AA(U7_aa(part20_in_aaaa))
U8_AA(part20_out_aaaa) → U10_AA(U8_aa(part20_in_aaaa))
U8_AA(part20_out_aaaa) → U10_AA(qs53_out_aa)

(98) Obligation:

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

U8_AA(part20_out_aaaa) → QS53_IN_AA
U10_AA(qs53_out_aa) → QS53_IN_AA
QS53_IN_AAU8_AA(U2_aaaa(gt10_in_aa))
QS53_IN_AAU8_AA(U4_aaaa(le33_in_aa))
QS53_IN_AAU8_AA(part20_out_aaaa)
U8_AA(part20_out_aaaa) → U10_AA(U7_aa(part20_in_aaaa))
U8_AA(part20_out_aaaa) → U10_AA(U8_aa(part20_in_aaaa))
U8_AA(part20_out_aaaa) → U10_AA(qs53_out_aa)

The TRS R consists of the following rules:

part20_in_aaaaU2_aaaa(gt10_in_aa)
part20_in_aaaaU4_aaaa(le33_in_aa)
part20_in_aaaapart20_out_aaaa
qs53_in_aaU7_aa(part20_in_aaaa)
qs53_in_aaU8_aa(part20_in_aaaa)
qs53_in_aaqs53_out_aa
U2_aaaa(gt10_out_aa(T61, T62)) → part20_out_aaaa
U2_aaaa(gt10_out_aa(T61, T62)) → U3_aaaa(part20_in_gaaa(T61))
U4_aaaa(le33_out_aa(T83)) → part20_out_aaaa
U4_aaaa(le33_out_aa(T83)) → U5_aaaa(part20_in_gaaa(T83))
U7_aa(part20_out_aaaa) → qs53_out_aa
U8_aa(part20_out_aaaa) → U9_aa(qs53_in_aa)
U8_aa(part20_out_aaaa) → U10_aa(qs53_in_aa)
gt10_in_aaU1_aa(gt10_in_aa)
gt10_in_aagt10_out_aa(s(0), 0)
U3_aaaa(part20_out_gaaa(T61)) → part20_out_aaaa
le33_in_aaU6_aa(le33_in_aa)
le33_in_aale33_out_aa(0)
U5_aaaa(part20_out_gaaa(T83)) → part20_out_aaaa
U9_aa(qs53_out_aa) → qs53_out_aa
U10_aa(qs53_out_aa) → U11_aa(qs53_in_aa)
U10_aa(qs53_out_aa) → U12_aa(qs53_in_aa)
U1_aa(gt10_out_aa(T37, T38)) → gt10_out_aa(s(T37), s(T38))
part20_in_gaaa(T61) → U2_gaaa(T61, gt10_in_ga(T61))
part20_in_gaaa(T83) → U4_gaaa(T83, le33_in_ga(T83))
part20_in_gaaa(T112) → part20_out_gaaa(T112)
U6_aa(le33_out_aa(T98)) → le33_out_aa(s(T98))
U11_aa(qs53_out_aa) → qs53_out_aa
U12_aa(qs53_out_aa) → U13_aa(app65_in_aaaa)
U2_gaaa(T61, gt10_out_ga(T61, T62)) → part20_out_gaaa(T61)
U2_gaaa(T61, gt10_out_ga(T61, T62)) → U3_gaaa(T61, part20_in_gaaa(T61))
U4_gaaa(T83, le33_out_ga(T83)) → part20_out_gaaa(T83)
U4_gaaa(T83, le33_out_ga(T83)) → U5_gaaa(T83, part20_in_gaaa(T83))
U13_aa(app65_out_aaaa) → qs53_out_aa
gt10_in_ga(s(T37)) → U1_ga(T37, gt10_in_ga(T37))
gt10_in_ga(s(0)) → gt10_out_ga(s(0), 0)
U3_gaaa(T61, part20_out_gaaa(T61)) → part20_out_gaaa(T61)
le33_in_ga(s(T98)) → U6_ga(T98, le33_in_ga(T98))
le33_in_ga(0) → le33_out_ga(0)
U5_gaaa(T83, part20_out_gaaa(T83)) → part20_out_gaaa(T83)
app65_in_aaaaU14_aaaa(app65_in_aaaa)
app65_in_aaaaapp65_out_aaaa
U1_ga(T37, gt10_out_ga(T37, T38)) → gt10_out_ga(s(T37), s(T38))
U6_ga(T98, le33_out_ga(T98)) → le33_out_ga(s(T98))
U14_aaaa(app65_out_aaaa) → app65_out_aaaa

The set Q consists of the following terms:

part20_in_aaaa
qs53_in_aa
U2_aaaa(x0)
U4_aaaa(x0)
U7_aa(x0)
U8_aa(x0)
gt10_in_aa
U3_aaaa(x0)
le33_in_aa
U5_aaaa(x0)
U9_aa(x0)
U10_aa(x0)
U1_aa(x0)
part20_in_gaaa(x0)
U6_aa(x0)
U11_aa(x0)
U12_aa(x0)
U2_gaaa(x0, x1)
U4_gaaa(x0, x1)
U13_aa(x0)
gt10_in_ga(x0)
U3_gaaa(x0, x1)
le33_in_ga(x0)
U5_gaaa(x0, x1)
app65_in_aaaa
U1_ga(x0, x1)
U6_ga(x0, x1)
U14_aaaa(x0)

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

(99) 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 = QS53_IN_AA evaluates to t =QS53_IN_AA

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




Rewriting sequence

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

U8_AA(part20_out_aaaa)QS53_IN_AA
with rule U8_AA(part20_out_aaaa) → QS53_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.



(100) NO

(101) Obligation:

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

U19_AA(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U21_AA(T22, T23, T24, T9, part20_in_gaaa(T22, T24, T44, T45))
U21_AA(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → QS1_IN_AA(.(T23, T44), X9)
QS1_IN_AA(.(T22, .(T23, T24)), T9) → U19_AA(T22, T23, T24, T9, gt10_in_aa(T22, T23))

The TRS R consists of the following rules:

qs1_in_ga(.(T22, .(T23, T24)), T9) → U19_ga(T22, T23, T24, T9, gt10_in_gg(T22, T23))
gt10_in_gg(s(T37), s(T38)) → U1_gg(T37, T38, gt10_in_gg(T37, T38))
gt10_in_gg(s(0), 0) → gt10_out_gg(s(0), 0)
U1_gg(T37, T38, gt10_out_gg(T37, T38)) → gt10_out_gg(s(T37), s(T38))
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U20_ga(T22, T23, T24, T9, part20_in_ggaa(T22, T24, X47, X48))
part20_in_ggaa(T61, .(T62, T63), .(T62, X119), X120) → U2_ggaa(T61, T62, T63, X119, X120, gt10_in_gg(T61, T62))
U2_ggaa(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → part20_out_ggaa(T61, .(T62, T63), .(T62, X119), X120)
U2_ggaa(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → U3_ggaa(T61, T62, T63, X119, X120, part20_in_ggaa(T61, T63, X119, X120))
part20_in_ggaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_ggaa(T83, T84, T85, X170, X171, le33_in_gg(T83, T84))
le33_in_gg(s(T98), s(T99)) → U6_gg(T98, T99, le33_in_gg(T98, T99))
le33_in_gg(0, s(T106)) → le33_out_gg(0, s(T106))
le33_in_gg(0, 0) → le33_out_gg(0, 0)
U6_gg(T98, T99, le33_out_gg(T98, T99)) → le33_out_gg(s(T98), s(T99))
U4_ggaa(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → part20_out_ggaa(T83, .(T84, T85), X170, .(T84, X171))
U4_ggaa(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → U5_ggaa(T83, T84, T85, X170, X171, part20_in_ggaa(T83, T85, X170, X171))
part20_in_ggaa(T112, [], [], []) → part20_out_ggaa(T112, [], [], [])
U5_ggaa(T83, T84, T85, X170, X171, part20_out_ggaa(T83, T85, X170, X171)) → part20_out_ggaa(T83, .(T84, T85), X170, .(T84, X171))
U3_ggaa(T61, T62, T63, X119, X120, part20_out_ggaa(T61, T63, X119, X120)) → part20_out_ggaa(T61, .(T62, T63), .(T62, X119), X120)
U20_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, X47, X48)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U21_ga(T22, T23, T24, T9, part20_in_ggaa(T22, T24, T44, T45))
U21_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U22_ga(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
qs1_in_aa(.(T22, .(T23, T24)), T9) → U19_aa(T22, T23, T24, T9, gt10_in_aa(T22, T23))
gt10_in_aa(s(T37), s(T38)) → U1_aa(T37, T38, gt10_in_aa(T37, T38))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U1_aa(T37, T38, gt10_out_aa(T37, T38)) → gt10_out_aa(s(T37), s(T38))
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U20_aa(T22, T23, T24, T9, part20_in_gaaa(T22, T24, X47, X48))
part20_in_gaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_gaaa(T61, T62, T63, X119, X120, gt10_in_ga(T61, T62))
gt10_in_ga(s(T37), s(T38)) → U1_ga(T37, T38, gt10_in_ga(T37, T38))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U1_ga(T37, T38, gt10_out_ga(T37, T38)) → gt10_out_ga(s(T37), s(T38))
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → U3_gaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
part20_in_gaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_gaaa(T83, T84, T85, X170, X171, le33_in_ga(T83, T84))
le33_in_ga(s(T98), s(T99)) → U6_ga(T98, T99, le33_in_ga(T98, T99))
le33_in_ga(0, s(T106)) → le33_out_ga(0, s(T106))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U6_ga(T98, T99, le33_out_ga(T98, T99)) → le33_out_ga(s(T98), s(T99))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → U5_gaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
part20_in_gaaa(T112, [], [], []) → part20_out_gaaa(T112, [], [], [])
U5_gaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U3_gaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U20_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, X47, X48)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U21_aa(T22, T23, T24, T9, part20_in_gaaa(T22, T24, T44, T45))
U21_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U22_aa(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
qs1_in_aa(.(T239, .(T240, T241)), T9) → U25_aa(T239, T240, T241, T9, le33_in_aa(T239, T240))
le33_in_aa(s(T98), s(T99)) → U6_aa(T98, T99, le33_in_aa(T98, T99))
le33_in_aa(0, s(T106)) → le33_out_aa(0, s(T106))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U6_aa(T98, T99, le33_out_aa(T98, T99)) → le33_out_aa(s(T98), s(T99))
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U26_aa(T239, T240, T241, T9, part20_in_gaaa(T239, T241, X437, X438))
U26_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, X437, X438)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U27_aa(T239, T240, T241, T9, part20_in_gaaa(T239, T241, T249, T250))
U27_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U28_aa(T239, T240, T241, T9, qs53_in_aa(T249, X9))
qs53_in_aa(.(T131, T132), X275) → U7_aa(T131, T132, X275, part20_in_aaaa(T131, T132, X271, X272))
part20_in_aaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_aaaa(T61, T62, T63, X119, X120, gt10_in_aa(T61, T62))
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → U3_aaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
U3_aaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
part20_in_aaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_aaaa(T83, T84, T85, X170, X171, le33_in_aa(T83, T84))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → U5_aaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
U5_aaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
part20_in_aaaa(T112, [], [], []) → part20_out_aaaa(T112, [], [], [])
U7_aa(T131, T132, X275, part20_out_aaaa(T131, T132, X271, X272)) → qs53_out_aa(.(T131, T132), X275)
qs53_in_aa(.(T131, T132), X275) → U8_aa(T131, T132, X275, part20_in_aaaa(T131, T132, T136, T137))
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U9_aa(T131, T132, X275, qs53_in_aa(T136, X273))
qs53_in_aa([], []) → qs53_out_aa([], [])
U9_aa(T131, T132, X275, qs53_out_aa(T136, X273)) → qs53_out_aa(.(T131, T132), X275)
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U10_aa(T131, T132, X275, T137, qs53_in_aa(T136, T143))
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U11_aa(T131, T132, X275, qs53_in_aa(T137, X274))
U11_aa(T131, T132, X275, qs53_out_aa(T137, X274)) → qs53_out_aa(.(T131, T132), X275)
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U12_aa(T131, T132, X275, T143, qs53_in_aa(T137, T148))
U12_aa(T131, T132, X275, T143, qs53_out_aa(T137, T148)) → U13_aa(T131, T132, X275, app65_in_aaaa(T143, T131, T148, X275))
app65_in_aaaa(.(T171, T172), T173, T174, .(T171, X354)) → U14_aaaa(T171, T172, T173, T174, X354, app65_in_aaaa(T172, T173, T174, X354))
app65_in_aaaa([], T183, T184, .(T183, T184)) → app65_out_aaaa([], T183, T184, .(T183, T184))
U14_aaaa(T171, T172, T173, T174, X354, app65_out_aaaa(T172, T173, T174, X354)) → app65_out_aaaa(.(T171, T172), T173, T174, .(T171, X354))
U13_aa(T131, T132, X275, app65_out_aaaa(T143, T131, T148, X275)) → qs53_out_aa(.(T131, T132), X275)
U28_aa(T239, T240, T241, T9, qs53_out_aa(T249, X9)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U27_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U29_aa(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_aa(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_aa(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
p52_in_aaaga(T45, X10, T115, T22, T9) → U16_aaaga(T45, X10, T115, T22, T9, qs53_in_aa(T45, X10))
U16_aaaga(T45, X10, T115, T22, T9, qs53_out_aa(T45, X10)) → p52_out_aaaga(T45, X10, T115, T22, T9)
p52_in_aaaga(T45, T120, T115, T22, T9) → U17_aaaga(T45, T120, T115, T22, T9, qs53_in_aa(T45, T120))
U17_aaaga(T45, T120, T115, T22, T9, qs53_out_aa(T45, T120)) → U18_aaaga(T45, T120, T115, T22, T9, app54_in_agaa(T115, T22, T120, T9))
app54_in_agaa(.(T210, T211), T212, T213, .(T210, T215)) → U15_agaa(T210, T211, T212, T213, T215, app54_in_agaa(T211, T212, T213, T215))
app54_in_agaa([], T225, T226, .(T225, T226)) → app54_out_agaa([], T225, T226, .(T225, T226))
U15_agaa(T210, T211, T212, T213, T215, app54_out_agaa(T211, T212, T213, T215)) → app54_out_agaa(.(T210, T211), T212, T213, .(T210, T215))
U18_aaaga(T45, T120, T115, T22, T9, app54_out_agaa(T115, T22, T120, T9)) → p52_out_aaaga(T45, T120, T115, T22, T9)
U30_aa(T239, T240, T241, T9, p52_out_aaaga(.(T240, T250), X10, T256, T239, T9)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
qs1_in_aa(.(T265, []), T9) → U31_aa(T265, T9, qs99_in_a(X9))
qs99_in_a([]) → qs99_out_a([])
U31_aa(T265, T9, qs99_out_a(X9)) → qs1_out_aa(.(T265, []), T9)
qs1_in_aa(.(T265, []), T9) → U32_aa(T265, T9, qs99_in_a(T268))
U32_aa(T265, T9, qs99_out_a(T268)) → U33_aa(T265, T9, qs99_in_a(X10))
U33_aa(T265, T9, qs99_out_a(X10)) → qs1_out_aa(.(T265, []), T9)
U32_aa(T265, T9, qs99_out_a(T268)) → U34_aa(T265, T9, T268, qs99_in_a(T273))
U34_aa(T265, T9, T268, qs99_out_a(T273)) → U35_aa(T265, T9, app54_in_gaga(T268, T265, T273, T9))
app54_in_gaga(.(T210, T211), T212, T213, .(T210, T215)) → U15_gaga(T210, T211, T212, T213, T215, app54_in_gaga(T211, T212, T213, T215))
app54_in_gaga([], T225, T226, .(T225, T226)) → app54_out_gaga([], T225, T226, .(T225, T226))
U15_gaga(T210, T211, T212, T213, T215, app54_out_gaga(T211, T212, T213, T215)) → app54_out_gaga(.(T210, T211), T212, T213, .(T210, T215))
U35_aa(T265, T9, app54_out_gaga(T268, T265, T273, T9)) → qs1_out_aa(.(T265, []), T9)
qs1_in_aa([], []) → qs1_out_aa([], [])
U22_aa(T22, T23, T24, T9, qs1_out_aa(.(T23, T44), X9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U21_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U23_aa(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_aa(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_aa(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U24_aa(T22, T23, T24, T9, p52_out_aaaga(T45, X10, T115, T22, T9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U22_ga(T22, T23, T24, T9, qs1_out_aa(.(T23, T44), X9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U21_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U23_ga(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_ga(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_ga(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U24_ga(T22, T23, T24, T9, p52_out_aaaga(T45, X10, T115, T22, T9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
qs1_in_ga(.(T239, .(T240, T241)), T9) → U25_ga(T239, T240, T241, T9, le33_in_gg(T239, T240))
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U26_ga(T239, T240, T241, T9, part20_in_ggaa(T239, T241, X437, X438))
U26_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, X437, X438)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U27_ga(T239, T240, T241, T9, part20_in_ggaa(T239, T241, T249, T250))
U27_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U28_ga(T239, T240, T241, T9, qs53_in_aa(T249, X9))
U28_ga(T239, T240, T241, T9, qs53_out_aa(T249, X9)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U27_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U29_ga(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_ga(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_ga(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
U30_ga(T239, T240, T241, T9, p52_out_aaaga(.(T240, T250), X10, T256, T239, T9)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
qs1_in_ga(.(T265, []), T9) → U31_ga(T265, T9, qs99_in_a(X9))
U31_ga(T265, T9, qs99_out_a(X9)) → qs1_out_ga(.(T265, []), T9)
qs1_in_ga(.(T265, []), T9) → U32_ga(T265, T9, qs99_in_a(T268))
U32_ga(T265, T9, qs99_out_a(T268)) → U33_ga(T265, T9, qs99_in_a(X10))
U33_ga(T265, T9, qs99_out_a(X10)) → qs1_out_ga(.(T265, []), T9)
U32_ga(T265, T9, qs99_out_a(T268)) → U34_ga(T265, T9, T268, qs99_in_a(T273))
U34_ga(T265, T9, T268, qs99_out_a(T273)) → U35_ga(T265, T9, app54_in_ggga(T268, T265, T273, T9))
app54_in_ggga(.(T210, T211), T212, T213, .(T210, T215)) → U15_ggga(T210, T211, T212, T213, T215, app54_in_ggga(T211, T212, T213, T215))
app54_in_ggga([], T225, T226, .(T225, T226)) → app54_out_ggga([], T225, T226, .(T225, T226))
U15_ggga(T210, T211, T212, T213, T215, app54_out_ggga(T211, T212, T213, T215)) → app54_out_ggga(.(T210, T211), T212, T213, .(T210, T215))
U35_ga(T265, T9, app54_out_ggga(T268, T265, T273, T9)) → qs1_out_ga(.(T265, []), T9)
qs1_in_ga([], []) → qs1_out_ga([], [])

The argument filtering Pi contains the following mapping:
qs1_in_ga(x1, x2)  =  qs1_in_ga(x1)
.(x1, x2)  =  .(x1, x2)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x2, x3, x5)
gt10_in_gg(x1, x2)  =  gt10_in_gg(x1, x2)
s(x1)  =  s(x1)
U1_gg(x1, x2, x3)  =  U1_gg(x1, x2, x3)
0  =  0
gt10_out_gg(x1, x2)  =  gt10_out_gg(x1, x2)
qs1_out_ga(x1, x2)  =  qs1_out_ga(x1)
U20_ga(x1, x2, x3, x4, x5)  =  U20_ga(x1, x2, x3, x5)
part20_in_ggaa(x1, x2, x3, x4)  =  part20_in_ggaa(x1, x2)
U2_ggaa(x1, x2, x3, x4, x5, x6)  =  U2_ggaa(x1, x2, x3, x6)
part20_out_ggaa(x1, x2, x3, x4)  =  part20_out_ggaa(x1, x2)
U3_ggaa(x1, x2, x3, x4, x5, x6)  =  U3_ggaa(x1, x2, x3, x6)
U4_ggaa(x1, x2, x3, x4, x5, x6)  =  U4_ggaa(x1, x2, x3, x6)
le33_in_gg(x1, x2)  =  le33_in_gg(x1, x2)
U6_gg(x1, x2, x3)  =  U6_gg(x1, x2, x3)
le33_out_gg(x1, x2)  =  le33_out_gg(x1, x2)
U5_ggaa(x1, x2, x3, x4, x5, x6)  =  U5_ggaa(x1, x2, x3, x6)
[]  =  []
U21_ga(x1, x2, x3, x4, x5)  =  U21_ga(x1, x2, x3, x5)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x1, x2, x3, x5)
qs1_in_aa(x1, x2)  =  qs1_in_aa
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(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_aa(x1, x2)  =  qs1_out_aa
U20_aa(x1, x2, x3, x4, x5)  =  U20_aa(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)
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)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U6_ga(x1, x2, x3)  =  U6_ga(x1, x3)
le33_out_ga(x1, x2)  =  le33_out_ga(x1)
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x1, x6)
U21_aa(x1, x2, x3, x4, x5)  =  U21_aa(x1, x5)
U22_aa(x1, x2, x3, x4, x5)  =  U22_aa(x5)
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
le33_in_aa(x1, x2)  =  le33_in_aa
U6_aa(x1, x2, x3)  =  U6_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
U26_aa(x1, x2, x3, x4, x5)  =  U26_aa(x5)
U27_aa(x1, x2, x3, x4, x5)  =  U27_aa(x1, x5)
U28_aa(x1, x2, x3, x4, x5)  =  U28_aa(x5)
qs53_in_aa(x1, x2)  =  qs53_in_aa
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
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)
qs53_out_aa(x1, x2)  =  qs53_out_aa
U8_aa(x1, x2, x3, x4)  =  U8_aa(x4)
U9_aa(x1, x2, x3, x4)  =  U9_aa(x4)
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4)  =  U11_aa(x4)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4)  =  U13_aa(x4)
app65_in_aaaa(x1, x2, x3, x4)  =  app65_in_aaaa
U14_aaaa(x1, x2, x3, x4, x5, x6)  =  U14_aaaa(x6)
app65_out_aaaa(x1, x2, x3, x4)  =  app65_out_aaaa
U29_aa(x1, x2, x3, x4, x5, x6)  =  U29_aa(x1, x6)
U30_aa(x1, x2, x3, x4, x5)  =  U30_aa(x5)
p52_in_aaaga(x1, x2, x3, x4, x5)  =  p52_in_aaaga(x4)
U16_aaaga(x1, x2, x3, x4, x5, x6)  =  U16_aaaga(x4, x6)
p52_out_aaaga(x1, x2, x3, x4, x5)  =  p52_out_aaaga(x4)
U17_aaaga(x1, x2, x3, x4, x5, x6)  =  U17_aaaga(x4, x6)
U18_aaaga(x1, x2, x3, x4, x5, x6)  =  U18_aaaga(x4, x6)
app54_in_agaa(x1, x2, x3, x4)  =  app54_in_agaa(x2)
U15_agaa(x1, x2, x3, x4, x5, x6)  =  U15_agaa(x3, x6)
app54_out_agaa(x1, x2, x3, x4)  =  app54_out_agaa(x2)
U31_aa(x1, x2, x3)  =  U31_aa(x3)
qs99_in_a(x1)  =  qs99_in_a
qs99_out_a(x1)  =  qs99_out_a(x1)
U32_aa(x1, x2, x3)  =  U32_aa(x3)
U33_aa(x1, x2, x3)  =  U33_aa(x3)
U34_aa(x1, x2, x3, x4)  =  U34_aa(x3, x4)
U35_aa(x1, x2, x3)  =  U35_aa(x3)
app54_in_gaga(x1, x2, x3, x4)  =  app54_in_gaga(x1, x3)
U15_gaga(x1, x2, x3, x4, x5, x6)  =  U15_gaga(x1, x2, x4, x6)
app54_out_gaga(x1, x2, x3, x4)  =  app54_out_gaga(x1, x3)
U23_aa(x1, x2, x3, x4, x5, x6)  =  U23_aa(x1, x6)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U23_ga(x1, x2, x3, x4, x5, x6)  =  U23_ga(x1, x2, x3, x6)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x1, x2, x3, x5)
U25_ga(x1, x2, x3, x4, x5)  =  U25_ga(x1, x2, x3, x5)
U26_ga(x1, x2, x3, x4, x5)  =  U26_ga(x1, x2, x3, x5)
U27_ga(x1, x2, x3, x4, x5)  =  U27_ga(x1, x2, x3, x5)
U28_ga(x1, x2, x3, x4, x5)  =  U28_ga(x1, x2, x3, x5)
U29_ga(x1, x2, x3, x4, x5, x6)  =  U29_ga(x1, x2, x3, x6)
U30_ga(x1, x2, x3, x4, x5)  =  U30_ga(x1, x2, x3, x5)
U31_ga(x1, x2, x3)  =  U31_ga(x1, x3)
U32_ga(x1, x2, x3)  =  U32_ga(x1, x3)
U33_ga(x1, x2, x3)  =  U33_ga(x1, x3)
U34_ga(x1, x2, x3, x4)  =  U34_ga(x1, x3, x4)
U35_ga(x1, x2, x3)  =  U35_ga(x1, x3)
app54_in_ggga(x1, x2, x3, x4)  =  app54_in_ggga(x1, x2, x3)
U15_ggga(x1, x2, x3, x4, x5, x6)  =  U15_ggga(x1, x2, x3, x4, x6)
app54_out_ggga(x1, x2, x3, x4)  =  app54_out_ggga(x1, x2, x3, x4)
QS1_IN_AA(x1, x2)  =  QS1_IN_AA
U19_AA(x1, x2, x3, x4, x5)  =  U19_AA(x5)
U21_AA(x1, x2, x3, x4, x5)  =  U21_AA(x1, x5)

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

(102) UsableRulesProof (EQUIVALENT transformation)

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

(103) Obligation:

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

U19_AA(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U21_AA(T22, T23, T24, T9, part20_in_gaaa(T22, T24, T44, T45))
U21_AA(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → QS1_IN_AA(.(T23, T44), X9)
QS1_IN_AA(.(T22, .(T23, T24)), T9) → U19_AA(T22, T23, T24, T9, gt10_in_aa(T22, T23))

The TRS R consists of the following rules:

part20_in_gaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_gaaa(T61, T62, T63, X119, X120, gt10_in_ga(T61, T62))
part20_in_gaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_gaaa(T83, T84, T85, X170, X171, le33_in_ga(T83, T84))
part20_in_gaaa(T112, [], [], []) → part20_out_gaaa(T112, [], [], [])
gt10_in_aa(s(T37), s(T38)) → U1_aa(T37, T38, gt10_in_aa(T37, T38))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → U3_gaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → U5_gaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
U1_aa(T37, T38, gt10_out_aa(T37, T38)) → gt10_out_aa(s(T37), s(T38))
gt10_in_ga(s(T37), s(T38)) → U1_ga(T37, T38, gt10_in_ga(T37, T38))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U3_gaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
le33_in_ga(s(T98), s(T99)) → U6_ga(T98, T99, le33_in_ga(T98, T99))
le33_in_ga(0, s(T106)) → le33_out_ga(0, s(T106))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U5_gaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U1_ga(T37, T38, gt10_out_ga(T37, T38)) → gt10_out_ga(s(T37), s(T38))
U6_ga(T98, T99, le33_out_ga(T98, T99)) → le33_out_ga(s(T98), s(T99))

The argument filtering Pi contains the following mapping:
.(x1, x2)  =  .(x1, x2)
s(x1)  =  s(x1)
0  =  0
[]  =  []
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)
U1_ga(x1, x2, x3)  =  U1_ga(x1, x3)
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)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U6_ga(x1, x2, x3)  =  U6_ga(x1, x3)
le33_out_ga(x1, x2)  =  le33_out_ga(x1)
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x1, x6)
QS1_IN_AA(x1, x2)  =  QS1_IN_AA
U19_AA(x1, x2, x3, x4, x5)  =  U19_AA(x5)
U21_AA(x1, x2, x3, x4, x5)  =  U21_AA(x1, x5)

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

(104) PiDPToQDPProof (SOUND transformation)

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

(105) Obligation:

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

U19_AA(gt10_out_aa(T22, T23)) → U21_AA(T22, part20_in_gaaa(T22))
U21_AA(T22, part20_out_gaaa(T22)) → QS1_IN_AA
QS1_IN_AAU19_AA(gt10_in_aa)

The TRS R consists of the following rules:

part20_in_gaaa(T61) → U2_gaaa(T61, gt10_in_ga(T61))
part20_in_gaaa(T83) → U4_gaaa(T83, le33_in_ga(T83))
part20_in_gaaa(T112) → part20_out_gaaa(T112)
gt10_in_aaU1_aa(gt10_in_aa)
gt10_in_aagt10_out_aa(s(0), 0)
U2_gaaa(T61, gt10_out_ga(T61, T62)) → part20_out_gaaa(T61)
U2_gaaa(T61, gt10_out_ga(T61, T62)) → U3_gaaa(T61, part20_in_gaaa(T61))
U4_gaaa(T83, le33_out_ga(T83)) → part20_out_gaaa(T83)
U4_gaaa(T83, le33_out_ga(T83)) → U5_gaaa(T83, part20_in_gaaa(T83))
U1_aa(gt10_out_aa(T37, T38)) → gt10_out_aa(s(T37), s(T38))
gt10_in_ga(s(T37)) → U1_ga(T37, gt10_in_ga(T37))
gt10_in_ga(s(0)) → gt10_out_ga(s(0), 0)
U3_gaaa(T61, part20_out_gaaa(T61)) → part20_out_gaaa(T61)
le33_in_ga(s(T98)) → U6_ga(T98, le33_in_ga(T98))
le33_in_ga(0) → le33_out_ga(0)
U5_gaaa(T83, part20_out_gaaa(T83)) → part20_out_gaaa(T83)
U1_ga(T37, gt10_out_ga(T37, T38)) → gt10_out_ga(s(T37), s(T38))
U6_ga(T98, le33_out_ga(T98)) → le33_out_ga(s(T98))

The set Q consists of the following terms:

part20_in_gaaa(x0)
gt10_in_aa
U2_gaaa(x0, x1)
U4_gaaa(x0, x1)
U1_aa(x0)
gt10_in_ga(x0)
U3_gaaa(x0, x1)
le33_in_ga(x0)
U5_gaaa(x0, x1)
U1_ga(x0, x1)
U6_ga(x0, x1)

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

(106) Narrowing (SOUND transformation)

By narrowing [LPAR04] the rule U19_AA(gt10_out_aa(T22, T23)) → U21_AA(T22, part20_in_gaaa(T22)) at position [1] we obtained the following new rules [LPAR04]:

U19_AA(gt10_out_aa(x0, y1)) → U21_AA(x0, U2_gaaa(x0, gt10_in_ga(x0)))
U19_AA(gt10_out_aa(x0, y1)) → U21_AA(x0, U4_gaaa(x0, le33_in_ga(x0)))
U19_AA(gt10_out_aa(x0, y1)) → U21_AA(x0, part20_out_gaaa(x0))

(107) Obligation:

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

U21_AA(T22, part20_out_gaaa(T22)) → QS1_IN_AA
QS1_IN_AAU19_AA(gt10_in_aa)
U19_AA(gt10_out_aa(x0, y1)) → U21_AA(x0, U2_gaaa(x0, gt10_in_ga(x0)))
U19_AA(gt10_out_aa(x0, y1)) → U21_AA(x0, U4_gaaa(x0, le33_in_ga(x0)))
U19_AA(gt10_out_aa(x0, y1)) → U21_AA(x0, part20_out_gaaa(x0))

The TRS R consists of the following rules:

part20_in_gaaa(T61) → U2_gaaa(T61, gt10_in_ga(T61))
part20_in_gaaa(T83) → U4_gaaa(T83, le33_in_ga(T83))
part20_in_gaaa(T112) → part20_out_gaaa(T112)
gt10_in_aaU1_aa(gt10_in_aa)
gt10_in_aagt10_out_aa(s(0), 0)
U2_gaaa(T61, gt10_out_ga(T61, T62)) → part20_out_gaaa(T61)
U2_gaaa(T61, gt10_out_ga(T61, T62)) → U3_gaaa(T61, part20_in_gaaa(T61))
U4_gaaa(T83, le33_out_ga(T83)) → part20_out_gaaa(T83)
U4_gaaa(T83, le33_out_ga(T83)) → U5_gaaa(T83, part20_in_gaaa(T83))
U1_aa(gt10_out_aa(T37, T38)) → gt10_out_aa(s(T37), s(T38))
gt10_in_ga(s(T37)) → U1_ga(T37, gt10_in_ga(T37))
gt10_in_ga(s(0)) → gt10_out_ga(s(0), 0)
U3_gaaa(T61, part20_out_gaaa(T61)) → part20_out_gaaa(T61)
le33_in_ga(s(T98)) → U6_ga(T98, le33_in_ga(T98))
le33_in_ga(0) → le33_out_ga(0)
U5_gaaa(T83, part20_out_gaaa(T83)) → part20_out_gaaa(T83)
U1_ga(T37, gt10_out_ga(T37, T38)) → gt10_out_ga(s(T37), s(T38))
U6_ga(T98, le33_out_ga(T98)) → le33_out_ga(s(T98))

The set Q consists of the following terms:

part20_in_gaaa(x0)
gt10_in_aa
U2_gaaa(x0, x1)
U4_gaaa(x0, x1)
U1_aa(x0)
gt10_in_ga(x0)
U3_gaaa(x0, x1)
le33_in_ga(x0)
U5_gaaa(x0, x1)
U1_ga(x0, x1)
U6_ga(x0, x1)

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

(108) Narrowing (SOUND transformation)

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

QS1_IN_AAU19_AA(U1_aa(gt10_in_aa))
QS1_IN_AAU19_AA(gt10_out_aa(s(0), 0))

(109) Obligation:

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

U21_AA(T22, part20_out_gaaa(T22)) → QS1_IN_AA
U19_AA(gt10_out_aa(x0, y1)) → U21_AA(x0, U2_gaaa(x0, gt10_in_ga(x0)))
U19_AA(gt10_out_aa(x0, y1)) → U21_AA(x0, U4_gaaa(x0, le33_in_ga(x0)))
U19_AA(gt10_out_aa(x0, y1)) → U21_AA(x0, part20_out_gaaa(x0))
QS1_IN_AAU19_AA(U1_aa(gt10_in_aa))
QS1_IN_AAU19_AA(gt10_out_aa(s(0), 0))

The TRS R consists of the following rules:

part20_in_gaaa(T61) → U2_gaaa(T61, gt10_in_ga(T61))
part20_in_gaaa(T83) → U4_gaaa(T83, le33_in_ga(T83))
part20_in_gaaa(T112) → part20_out_gaaa(T112)
gt10_in_aaU1_aa(gt10_in_aa)
gt10_in_aagt10_out_aa(s(0), 0)
U2_gaaa(T61, gt10_out_ga(T61, T62)) → part20_out_gaaa(T61)
U2_gaaa(T61, gt10_out_ga(T61, T62)) → U3_gaaa(T61, part20_in_gaaa(T61))
U4_gaaa(T83, le33_out_ga(T83)) → part20_out_gaaa(T83)
U4_gaaa(T83, le33_out_ga(T83)) → U5_gaaa(T83, part20_in_gaaa(T83))
U1_aa(gt10_out_aa(T37, T38)) → gt10_out_aa(s(T37), s(T38))
gt10_in_ga(s(T37)) → U1_ga(T37, gt10_in_ga(T37))
gt10_in_ga(s(0)) → gt10_out_ga(s(0), 0)
U3_gaaa(T61, part20_out_gaaa(T61)) → part20_out_gaaa(T61)
le33_in_ga(s(T98)) → U6_ga(T98, le33_in_ga(T98))
le33_in_ga(0) → le33_out_ga(0)
U5_gaaa(T83, part20_out_gaaa(T83)) → part20_out_gaaa(T83)
U1_ga(T37, gt10_out_ga(T37, T38)) → gt10_out_ga(s(T37), s(T38))
U6_ga(T98, le33_out_ga(T98)) → le33_out_ga(s(T98))

The set Q consists of the following terms:

part20_in_gaaa(x0)
gt10_in_aa
U2_gaaa(x0, x1)
U4_gaaa(x0, x1)
U1_aa(x0)
gt10_in_ga(x0)
U3_gaaa(x0, x1)
le33_in_ga(x0)
U5_gaaa(x0, x1)
U1_ga(x0, x1)
U6_ga(x0, x1)

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

(110) 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 = QS1_IN_AA evaluates to t =QS1_IN_AA

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




Rewriting sequence

QS1_IN_AAU19_AA(gt10_out_aa(s(0), 0))
with rule QS1_IN_AAU19_AA(gt10_out_aa(s(0), 0)) at position [] and matcher [ ]

U19_AA(gt10_out_aa(s(0), 0))U21_AA(s(0), part20_out_gaaa(s(0)))
with rule U19_AA(gt10_out_aa(x0, y1)) → U21_AA(x0, part20_out_gaaa(x0)) at position [] and matcher [x0 / s(0), y1 / 0]

U21_AA(s(0), part20_out_gaaa(s(0)))QS1_IN_AA
with rule U21_AA(T22, part20_out_gaaa(T22)) → QS1_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.



(111) NO

(112) Obligation:

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

LE33_IN_GG(s(T98), s(T99)) → LE33_IN_GG(T98, T99)

The TRS R consists of the following rules:

qs1_in_ga(.(T22, .(T23, T24)), T9) → U19_ga(T22, T23, T24, T9, gt10_in_gg(T22, T23))
gt10_in_gg(s(T37), s(T38)) → U1_gg(T37, T38, gt10_in_gg(T37, T38))
gt10_in_gg(s(0), 0) → gt10_out_gg(s(0), 0)
U1_gg(T37, T38, gt10_out_gg(T37, T38)) → gt10_out_gg(s(T37), s(T38))
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U20_ga(T22, T23, T24, T9, part20_in_ggaa(T22, T24, X47, X48))
part20_in_ggaa(T61, .(T62, T63), .(T62, X119), X120) → U2_ggaa(T61, T62, T63, X119, X120, gt10_in_gg(T61, T62))
U2_ggaa(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → part20_out_ggaa(T61, .(T62, T63), .(T62, X119), X120)
U2_ggaa(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → U3_ggaa(T61, T62, T63, X119, X120, part20_in_ggaa(T61, T63, X119, X120))
part20_in_ggaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_ggaa(T83, T84, T85, X170, X171, le33_in_gg(T83, T84))
le33_in_gg(s(T98), s(T99)) → U6_gg(T98, T99, le33_in_gg(T98, T99))
le33_in_gg(0, s(T106)) → le33_out_gg(0, s(T106))
le33_in_gg(0, 0) → le33_out_gg(0, 0)
U6_gg(T98, T99, le33_out_gg(T98, T99)) → le33_out_gg(s(T98), s(T99))
U4_ggaa(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → part20_out_ggaa(T83, .(T84, T85), X170, .(T84, X171))
U4_ggaa(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → U5_ggaa(T83, T84, T85, X170, X171, part20_in_ggaa(T83, T85, X170, X171))
part20_in_ggaa(T112, [], [], []) → part20_out_ggaa(T112, [], [], [])
U5_ggaa(T83, T84, T85, X170, X171, part20_out_ggaa(T83, T85, X170, X171)) → part20_out_ggaa(T83, .(T84, T85), X170, .(T84, X171))
U3_ggaa(T61, T62, T63, X119, X120, part20_out_ggaa(T61, T63, X119, X120)) → part20_out_ggaa(T61, .(T62, T63), .(T62, X119), X120)
U20_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, X47, X48)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U21_ga(T22, T23, T24, T9, part20_in_ggaa(T22, T24, T44, T45))
U21_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U22_ga(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
qs1_in_aa(.(T22, .(T23, T24)), T9) → U19_aa(T22, T23, T24, T9, gt10_in_aa(T22, T23))
gt10_in_aa(s(T37), s(T38)) → U1_aa(T37, T38, gt10_in_aa(T37, T38))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U1_aa(T37, T38, gt10_out_aa(T37, T38)) → gt10_out_aa(s(T37), s(T38))
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U20_aa(T22, T23, T24, T9, part20_in_gaaa(T22, T24, X47, X48))
part20_in_gaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_gaaa(T61, T62, T63, X119, X120, gt10_in_ga(T61, T62))
gt10_in_ga(s(T37), s(T38)) → U1_ga(T37, T38, gt10_in_ga(T37, T38))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U1_ga(T37, T38, gt10_out_ga(T37, T38)) → gt10_out_ga(s(T37), s(T38))
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → U3_gaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
part20_in_gaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_gaaa(T83, T84, T85, X170, X171, le33_in_ga(T83, T84))
le33_in_ga(s(T98), s(T99)) → U6_ga(T98, T99, le33_in_ga(T98, T99))
le33_in_ga(0, s(T106)) → le33_out_ga(0, s(T106))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U6_ga(T98, T99, le33_out_ga(T98, T99)) → le33_out_ga(s(T98), s(T99))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → U5_gaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
part20_in_gaaa(T112, [], [], []) → part20_out_gaaa(T112, [], [], [])
U5_gaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U3_gaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U20_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, X47, X48)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U21_aa(T22, T23, T24, T9, part20_in_gaaa(T22, T24, T44, T45))
U21_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U22_aa(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
qs1_in_aa(.(T239, .(T240, T241)), T9) → U25_aa(T239, T240, T241, T9, le33_in_aa(T239, T240))
le33_in_aa(s(T98), s(T99)) → U6_aa(T98, T99, le33_in_aa(T98, T99))
le33_in_aa(0, s(T106)) → le33_out_aa(0, s(T106))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U6_aa(T98, T99, le33_out_aa(T98, T99)) → le33_out_aa(s(T98), s(T99))
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U26_aa(T239, T240, T241, T9, part20_in_gaaa(T239, T241, X437, X438))
U26_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, X437, X438)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U27_aa(T239, T240, T241, T9, part20_in_gaaa(T239, T241, T249, T250))
U27_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U28_aa(T239, T240, T241, T9, qs53_in_aa(T249, X9))
qs53_in_aa(.(T131, T132), X275) → U7_aa(T131, T132, X275, part20_in_aaaa(T131, T132, X271, X272))
part20_in_aaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_aaaa(T61, T62, T63, X119, X120, gt10_in_aa(T61, T62))
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → U3_aaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
U3_aaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
part20_in_aaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_aaaa(T83, T84, T85, X170, X171, le33_in_aa(T83, T84))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → U5_aaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
U5_aaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
part20_in_aaaa(T112, [], [], []) → part20_out_aaaa(T112, [], [], [])
U7_aa(T131, T132, X275, part20_out_aaaa(T131, T132, X271, X272)) → qs53_out_aa(.(T131, T132), X275)
qs53_in_aa(.(T131, T132), X275) → U8_aa(T131, T132, X275, part20_in_aaaa(T131, T132, T136, T137))
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U9_aa(T131, T132, X275, qs53_in_aa(T136, X273))
qs53_in_aa([], []) → qs53_out_aa([], [])
U9_aa(T131, T132, X275, qs53_out_aa(T136, X273)) → qs53_out_aa(.(T131, T132), X275)
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U10_aa(T131, T132, X275, T137, qs53_in_aa(T136, T143))
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U11_aa(T131, T132, X275, qs53_in_aa(T137, X274))
U11_aa(T131, T132, X275, qs53_out_aa(T137, X274)) → qs53_out_aa(.(T131, T132), X275)
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U12_aa(T131, T132, X275, T143, qs53_in_aa(T137, T148))
U12_aa(T131, T132, X275, T143, qs53_out_aa(T137, T148)) → U13_aa(T131, T132, X275, app65_in_aaaa(T143, T131, T148, X275))
app65_in_aaaa(.(T171, T172), T173, T174, .(T171, X354)) → U14_aaaa(T171, T172, T173, T174, X354, app65_in_aaaa(T172, T173, T174, X354))
app65_in_aaaa([], T183, T184, .(T183, T184)) → app65_out_aaaa([], T183, T184, .(T183, T184))
U14_aaaa(T171, T172, T173, T174, X354, app65_out_aaaa(T172, T173, T174, X354)) → app65_out_aaaa(.(T171, T172), T173, T174, .(T171, X354))
U13_aa(T131, T132, X275, app65_out_aaaa(T143, T131, T148, X275)) → qs53_out_aa(.(T131, T132), X275)
U28_aa(T239, T240, T241, T9, qs53_out_aa(T249, X9)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U27_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U29_aa(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_aa(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_aa(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
p52_in_aaaga(T45, X10, T115, T22, T9) → U16_aaaga(T45, X10, T115, T22, T9, qs53_in_aa(T45, X10))
U16_aaaga(T45, X10, T115, T22, T9, qs53_out_aa(T45, X10)) → p52_out_aaaga(T45, X10, T115, T22, T9)
p52_in_aaaga(T45, T120, T115, T22, T9) → U17_aaaga(T45, T120, T115, T22, T9, qs53_in_aa(T45, T120))
U17_aaaga(T45, T120, T115, T22, T9, qs53_out_aa(T45, T120)) → U18_aaaga(T45, T120, T115, T22, T9, app54_in_agaa(T115, T22, T120, T9))
app54_in_agaa(.(T210, T211), T212, T213, .(T210, T215)) → U15_agaa(T210, T211, T212, T213, T215, app54_in_agaa(T211, T212, T213, T215))
app54_in_agaa([], T225, T226, .(T225, T226)) → app54_out_agaa([], T225, T226, .(T225, T226))
U15_agaa(T210, T211, T212, T213, T215, app54_out_agaa(T211, T212, T213, T215)) → app54_out_agaa(.(T210, T211), T212, T213, .(T210, T215))
U18_aaaga(T45, T120, T115, T22, T9, app54_out_agaa(T115, T22, T120, T9)) → p52_out_aaaga(T45, T120, T115, T22, T9)
U30_aa(T239, T240, T241, T9, p52_out_aaaga(.(T240, T250), X10, T256, T239, T9)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
qs1_in_aa(.(T265, []), T9) → U31_aa(T265, T9, qs99_in_a(X9))
qs99_in_a([]) → qs99_out_a([])
U31_aa(T265, T9, qs99_out_a(X9)) → qs1_out_aa(.(T265, []), T9)
qs1_in_aa(.(T265, []), T9) → U32_aa(T265, T9, qs99_in_a(T268))
U32_aa(T265, T9, qs99_out_a(T268)) → U33_aa(T265, T9, qs99_in_a(X10))
U33_aa(T265, T9, qs99_out_a(X10)) → qs1_out_aa(.(T265, []), T9)
U32_aa(T265, T9, qs99_out_a(T268)) → U34_aa(T265, T9, T268, qs99_in_a(T273))
U34_aa(T265, T9, T268, qs99_out_a(T273)) → U35_aa(T265, T9, app54_in_gaga(T268, T265, T273, T9))
app54_in_gaga(.(T210, T211), T212, T213, .(T210, T215)) → U15_gaga(T210, T211, T212, T213, T215, app54_in_gaga(T211, T212, T213, T215))
app54_in_gaga([], T225, T226, .(T225, T226)) → app54_out_gaga([], T225, T226, .(T225, T226))
U15_gaga(T210, T211, T212, T213, T215, app54_out_gaga(T211, T212, T213, T215)) → app54_out_gaga(.(T210, T211), T212, T213, .(T210, T215))
U35_aa(T265, T9, app54_out_gaga(T268, T265, T273, T9)) → qs1_out_aa(.(T265, []), T9)
qs1_in_aa([], []) → qs1_out_aa([], [])
U22_aa(T22, T23, T24, T9, qs1_out_aa(.(T23, T44), X9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U21_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U23_aa(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_aa(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_aa(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U24_aa(T22, T23, T24, T9, p52_out_aaaga(T45, X10, T115, T22, T9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U22_ga(T22, T23, T24, T9, qs1_out_aa(.(T23, T44), X9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U21_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U23_ga(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_ga(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_ga(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U24_ga(T22, T23, T24, T9, p52_out_aaaga(T45, X10, T115, T22, T9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
qs1_in_ga(.(T239, .(T240, T241)), T9) → U25_ga(T239, T240, T241, T9, le33_in_gg(T239, T240))
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U26_ga(T239, T240, T241, T9, part20_in_ggaa(T239, T241, X437, X438))
U26_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, X437, X438)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U27_ga(T239, T240, T241, T9, part20_in_ggaa(T239, T241, T249, T250))
U27_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U28_ga(T239, T240, T241, T9, qs53_in_aa(T249, X9))
U28_ga(T239, T240, T241, T9, qs53_out_aa(T249, X9)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U27_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U29_ga(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_ga(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_ga(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
U30_ga(T239, T240, T241, T9, p52_out_aaaga(.(T240, T250), X10, T256, T239, T9)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
qs1_in_ga(.(T265, []), T9) → U31_ga(T265, T9, qs99_in_a(X9))
U31_ga(T265, T9, qs99_out_a(X9)) → qs1_out_ga(.(T265, []), T9)
qs1_in_ga(.(T265, []), T9) → U32_ga(T265, T9, qs99_in_a(T268))
U32_ga(T265, T9, qs99_out_a(T268)) → U33_ga(T265, T9, qs99_in_a(X10))
U33_ga(T265, T9, qs99_out_a(X10)) → qs1_out_ga(.(T265, []), T9)
U32_ga(T265, T9, qs99_out_a(T268)) → U34_ga(T265, T9, T268, qs99_in_a(T273))
U34_ga(T265, T9, T268, qs99_out_a(T273)) → U35_ga(T265, T9, app54_in_ggga(T268, T265, T273, T9))
app54_in_ggga(.(T210, T211), T212, T213, .(T210, T215)) → U15_ggga(T210, T211, T212, T213, T215, app54_in_ggga(T211, T212, T213, T215))
app54_in_ggga([], T225, T226, .(T225, T226)) → app54_out_ggga([], T225, T226, .(T225, T226))
U15_ggga(T210, T211, T212, T213, T215, app54_out_ggga(T211, T212, T213, T215)) → app54_out_ggga(.(T210, T211), T212, T213, .(T210, T215))
U35_ga(T265, T9, app54_out_ggga(T268, T265, T273, T9)) → qs1_out_ga(.(T265, []), T9)
qs1_in_ga([], []) → qs1_out_ga([], [])

The argument filtering Pi contains the following mapping:
qs1_in_ga(x1, x2)  =  qs1_in_ga(x1)
.(x1, x2)  =  .(x1, x2)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x2, x3, x5)
gt10_in_gg(x1, x2)  =  gt10_in_gg(x1, x2)
s(x1)  =  s(x1)
U1_gg(x1, x2, x3)  =  U1_gg(x1, x2, x3)
0  =  0
gt10_out_gg(x1, x2)  =  gt10_out_gg(x1, x2)
qs1_out_ga(x1, x2)  =  qs1_out_ga(x1)
U20_ga(x1, x2, x3, x4, x5)  =  U20_ga(x1, x2, x3, x5)
part20_in_ggaa(x1, x2, x3, x4)  =  part20_in_ggaa(x1, x2)
U2_ggaa(x1, x2, x3, x4, x5, x6)  =  U2_ggaa(x1, x2, x3, x6)
part20_out_ggaa(x1, x2, x3, x4)  =  part20_out_ggaa(x1, x2)
U3_ggaa(x1, x2, x3, x4, x5, x6)  =  U3_ggaa(x1, x2, x3, x6)
U4_ggaa(x1, x2, x3, x4, x5, x6)  =  U4_ggaa(x1, x2, x3, x6)
le33_in_gg(x1, x2)  =  le33_in_gg(x1, x2)
U6_gg(x1, x2, x3)  =  U6_gg(x1, x2, x3)
le33_out_gg(x1, x2)  =  le33_out_gg(x1, x2)
U5_ggaa(x1, x2, x3, x4, x5, x6)  =  U5_ggaa(x1, x2, x3, x6)
[]  =  []
U21_ga(x1, x2, x3, x4, x5)  =  U21_ga(x1, x2, x3, x5)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x1, x2, x3, x5)
qs1_in_aa(x1, x2)  =  qs1_in_aa
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(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_aa(x1, x2)  =  qs1_out_aa
U20_aa(x1, x2, x3, x4, x5)  =  U20_aa(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)
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)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U6_ga(x1, x2, x3)  =  U6_ga(x1, x3)
le33_out_ga(x1, x2)  =  le33_out_ga(x1)
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x1, x6)
U21_aa(x1, x2, x3, x4, x5)  =  U21_aa(x1, x5)
U22_aa(x1, x2, x3, x4, x5)  =  U22_aa(x5)
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
le33_in_aa(x1, x2)  =  le33_in_aa
U6_aa(x1, x2, x3)  =  U6_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
U26_aa(x1, x2, x3, x4, x5)  =  U26_aa(x5)
U27_aa(x1, x2, x3, x4, x5)  =  U27_aa(x1, x5)
U28_aa(x1, x2, x3, x4, x5)  =  U28_aa(x5)
qs53_in_aa(x1, x2)  =  qs53_in_aa
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
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)
qs53_out_aa(x1, x2)  =  qs53_out_aa
U8_aa(x1, x2, x3, x4)  =  U8_aa(x4)
U9_aa(x1, x2, x3, x4)  =  U9_aa(x4)
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4)  =  U11_aa(x4)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4)  =  U13_aa(x4)
app65_in_aaaa(x1, x2, x3, x4)  =  app65_in_aaaa
U14_aaaa(x1, x2, x3, x4, x5, x6)  =  U14_aaaa(x6)
app65_out_aaaa(x1, x2, x3, x4)  =  app65_out_aaaa
U29_aa(x1, x2, x3, x4, x5, x6)  =  U29_aa(x1, x6)
U30_aa(x1, x2, x3, x4, x5)  =  U30_aa(x5)
p52_in_aaaga(x1, x2, x3, x4, x5)  =  p52_in_aaaga(x4)
U16_aaaga(x1, x2, x3, x4, x5, x6)  =  U16_aaaga(x4, x6)
p52_out_aaaga(x1, x2, x3, x4, x5)  =  p52_out_aaaga(x4)
U17_aaaga(x1, x2, x3, x4, x5, x6)  =  U17_aaaga(x4, x6)
U18_aaaga(x1, x2, x3, x4, x5, x6)  =  U18_aaaga(x4, x6)
app54_in_agaa(x1, x2, x3, x4)  =  app54_in_agaa(x2)
U15_agaa(x1, x2, x3, x4, x5, x6)  =  U15_agaa(x3, x6)
app54_out_agaa(x1, x2, x3, x4)  =  app54_out_agaa(x2)
U31_aa(x1, x2, x3)  =  U31_aa(x3)
qs99_in_a(x1)  =  qs99_in_a
qs99_out_a(x1)  =  qs99_out_a(x1)
U32_aa(x1, x2, x3)  =  U32_aa(x3)
U33_aa(x1, x2, x3)  =  U33_aa(x3)
U34_aa(x1, x2, x3, x4)  =  U34_aa(x3, x4)
U35_aa(x1, x2, x3)  =  U35_aa(x3)
app54_in_gaga(x1, x2, x3, x4)  =  app54_in_gaga(x1, x3)
U15_gaga(x1, x2, x3, x4, x5, x6)  =  U15_gaga(x1, x2, x4, x6)
app54_out_gaga(x1, x2, x3, x4)  =  app54_out_gaga(x1, x3)
U23_aa(x1, x2, x3, x4, x5, x6)  =  U23_aa(x1, x6)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U23_ga(x1, x2, x3, x4, x5, x6)  =  U23_ga(x1, x2, x3, x6)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x1, x2, x3, x5)
U25_ga(x1, x2, x3, x4, x5)  =  U25_ga(x1, x2, x3, x5)
U26_ga(x1, x2, x3, x4, x5)  =  U26_ga(x1, x2, x3, x5)
U27_ga(x1, x2, x3, x4, x5)  =  U27_ga(x1, x2, x3, x5)
U28_ga(x1, x2, x3, x4, x5)  =  U28_ga(x1, x2, x3, x5)
U29_ga(x1, x2, x3, x4, x5, x6)  =  U29_ga(x1, x2, x3, x6)
U30_ga(x1, x2, x3, x4, x5)  =  U30_ga(x1, x2, x3, x5)
U31_ga(x1, x2, x3)  =  U31_ga(x1, x3)
U32_ga(x1, x2, x3)  =  U32_ga(x1, x3)
U33_ga(x1, x2, x3)  =  U33_ga(x1, x3)
U34_ga(x1, x2, x3, x4)  =  U34_ga(x1, x3, x4)
U35_ga(x1, x2, x3)  =  U35_ga(x1, x3)
app54_in_ggga(x1, x2, x3, x4)  =  app54_in_ggga(x1, x2, x3)
U15_ggga(x1, x2, x3, x4, x5, x6)  =  U15_ggga(x1, x2, x3, x4, x6)
app54_out_ggga(x1, x2, x3, x4)  =  app54_out_ggga(x1, x2, x3, x4)
LE33_IN_GG(x1, x2)  =  LE33_IN_GG(x1, x2)

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

(113) UsableRulesProof (EQUIVALENT transformation)

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

(114) Obligation:

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

LE33_IN_GG(s(T98), s(T99)) → LE33_IN_GG(T98, T99)

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

(115) PiDPToQDPProof (EQUIVALENT transformation)

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

(116) Obligation:

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

LE33_IN_GG(s(T98), s(T99)) → LE33_IN_GG(T98, T99)

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

(117) 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_GG(s(T98), s(T99)) → LE33_IN_GG(T98, T99)
    The graph contains the following edges 1 > 1, 2 > 2

(118) YES

(119) Obligation:

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

GT10_IN_GG(s(T37), s(T38)) → GT10_IN_GG(T37, T38)

The TRS R consists of the following rules:

qs1_in_ga(.(T22, .(T23, T24)), T9) → U19_ga(T22, T23, T24, T9, gt10_in_gg(T22, T23))
gt10_in_gg(s(T37), s(T38)) → U1_gg(T37, T38, gt10_in_gg(T37, T38))
gt10_in_gg(s(0), 0) → gt10_out_gg(s(0), 0)
U1_gg(T37, T38, gt10_out_gg(T37, T38)) → gt10_out_gg(s(T37), s(T38))
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U20_ga(T22, T23, T24, T9, part20_in_ggaa(T22, T24, X47, X48))
part20_in_ggaa(T61, .(T62, T63), .(T62, X119), X120) → U2_ggaa(T61, T62, T63, X119, X120, gt10_in_gg(T61, T62))
U2_ggaa(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → part20_out_ggaa(T61, .(T62, T63), .(T62, X119), X120)
U2_ggaa(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → U3_ggaa(T61, T62, T63, X119, X120, part20_in_ggaa(T61, T63, X119, X120))
part20_in_ggaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_ggaa(T83, T84, T85, X170, X171, le33_in_gg(T83, T84))
le33_in_gg(s(T98), s(T99)) → U6_gg(T98, T99, le33_in_gg(T98, T99))
le33_in_gg(0, s(T106)) → le33_out_gg(0, s(T106))
le33_in_gg(0, 0) → le33_out_gg(0, 0)
U6_gg(T98, T99, le33_out_gg(T98, T99)) → le33_out_gg(s(T98), s(T99))
U4_ggaa(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → part20_out_ggaa(T83, .(T84, T85), X170, .(T84, X171))
U4_ggaa(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → U5_ggaa(T83, T84, T85, X170, X171, part20_in_ggaa(T83, T85, X170, X171))
part20_in_ggaa(T112, [], [], []) → part20_out_ggaa(T112, [], [], [])
U5_ggaa(T83, T84, T85, X170, X171, part20_out_ggaa(T83, T85, X170, X171)) → part20_out_ggaa(T83, .(T84, T85), X170, .(T84, X171))
U3_ggaa(T61, T62, T63, X119, X120, part20_out_ggaa(T61, T63, X119, X120)) → part20_out_ggaa(T61, .(T62, T63), .(T62, X119), X120)
U20_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, X47, X48)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U21_ga(T22, T23, T24, T9, part20_in_ggaa(T22, T24, T44, T45))
U21_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U22_ga(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
qs1_in_aa(.(T22, .(T23, T24)), T9) → U19_aa(T22, T23, T24, T9, gt10_in_aa(T22, T23))
gt10_in_aa(s(T37), s(T38)) → U1_aa(T37, T38, gt10_in_aa(T37, T38))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U1_aa(T37, T38, gt10_out_aa(T37, T38)) → gt10_out_aa(s(T37), s(T38))
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U20_aa(T22, T23, T24, T9, part20_in_gaaa(T22, T24, X47, X48))
part20_in_gaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_gaaa(T61, T62, T63, X119, X120, gt10_in_ga(T61, T62))
gt10_in_ga(s(T37), s(T38)) → U1_ga(T37, T38, gt10_in_ga(T37, T38))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U1_ga(T37, T38, gt10_out_ga(T37, T38)) → gt10_out_ga(s(T37), s(T38))
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → U3_gaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
part20_in_gaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_gaaa(T83, T84, T85, X170, X171, le33_in_ga(T83, T84))
le33_in_ga(s(T98), s(T99)) → U6_ga(T98, T99, le33_in_ga(T98, T99))
le33_in_ga(0, s(T106)) → le33_out_ga(0, s(T106))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U6_ga(T98, T99, le33_out_ga(T98, T99)) → le33_out_ga(s(T98), s(T99))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → U5_gaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
part20_in_gaaa(T112, [], [], []) → part20_out_gaaa(T112, [], [], [])
U5_gaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U3_gaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U20_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, X47, X48)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U21_aa(T22, T23, T24, T9, part20_in_gaaa(T22, T24, T44, T45))
U21_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U22_aa(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
qs1_in_aa(.(T239, .(T240, T241)), T9) → U25_aa(T239, T240, T241, T9, le33_in_aa(T239, T240))
le33_in_aa(s(T98), s(T99)) → U6_aa(T98, T99, le33_in_aa(T98, T99))
le33_in_aa(0, s(T106)) → le33_out_aa(0, s(T106))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U6_aa(T98, T99, le33_out_aa(T98, T99)) → le33_out_aa(s(T98), s(T99))
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U26_aa(T239, T240, T241, T9, part20_in_gaaa(T239, T241, X437, X438))
U26_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, X437, X438)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U27_aa(T239, T240, T241, T9, part20_in_gaaa(T239, T241, T249, T250))
U27_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U28_aa(T239, T240, T241, T9, qs53_in_aa(T249, X9))
qs53_in_aa(.(T131, T132), X275) → U7_aa(T131, T132, X275, part20_in_aaaa(T131, T132, X271, X272))
part20_in_aaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_aaaa(T61, T62, T63, X119, X120, gt10_in_aa(T61, T62))
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → U3_aaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
U3_aaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
part20_in_aaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_aaaa(T83, T84, T85, X170, X171, le33_in_aa(T83, T84))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → U5_aaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
U5_aaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
part20_in_aaaa(T112, [], [], []) → part20_out_aaaa(T112, [], [], [])
U7_aa(T131, T132, X275, part20_out_aaaa(T131, T132, X271, X272)) → qs53_out_aa(.(T131, T132), X275)
qs53_in_aa(.(T131, T132), X275) → U8_aa(T131, T132, X275, part20_in_aaaa(T131, T132, T136, T137))
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U9_aa(T131, T132, X275, qs53_in_aa(T136, X273))
qs53_in_aa([], []) → qs53_out_aa([], [])
U9_aa(T131, T132, X275, qs53_out_aa(T136, X273)) → qs53_out_aa(.(T131, T132), X275)
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U10_aa(T131, T132, X275, T137, qs53_in_aa(T136, T143))
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U11_aa(T131, T132, X275, qs53_in_aa(T137, X274))
U11_aa(T131, T132, X275, qs53_out_aa(T137, X274)) → qs53_out_aa(.(T131, T132), X275)
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U12_aa(T131, T132, X275, T143, qs53_in_aa(T137, T148))
U12_aa(T131, T132, X275, T143, qs53_out_aa(T137, T148)) → U13_aa(T131, T132, X275, app65_in_aaaa(T143, T131, T148, X275))
app65_in_aaaa(.(T171, T172), T173, T174, .(T171, X354)) → U14_aaaa(T171, T172, T173, T174, X354, app65_in_aaaa(T172, T173, T174, X354))
app65_in_aaaa([], T183, T184, .(T183, T184)) → app65_out_aaaa([], T183, T184, .(T183, T184))
U14_aaaa(T171, T172, T173, T174, X354, app65_out_aaaa(T172, T173, T174, X354)) → app65_out_aaaa(.(T171, T172), T173, T174, .(T171, X354))
U13_aa(T131, T132, X275, app65_out_aaaa(T143, T131, T148, X275)) → qs53_out_aa(.(T131, T132), X275)
U28_aa(T239, T240, T241, T9, qs53_out_aa(T249, X9)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U27_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U29_aa(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_aa(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_aa(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
p52_in_aaaga(T45, X10, T115, T22, T9) → U16_aaaga(T45, X10, T115, T22, T9, qs53_in_aa(T45, X10))
U16_aaaga(T45, X10, T115, T22, T9, qs53_out_aa(T45, X10)) → p52_out_aaaga(T45, X10, T115, T22, T9)
p52_in_aaaga(T45, T120, T115, T22, T9) → U17_aaaga(T45, T120, T115, T22, T9, qs53_in_aa(T45, T120))
U17_aaaga(T45, T120, T115, T22, T9, qs53_out_aa(T45, T120)) → U18_aaaga(T45, T120, T115, T22, T9, app54_in_agaa(T115, T22, T120, T9))
app54_in_agaa(.(T210, T211), T212, T213, .(T210, T215)) → U15_agaa(T210, T211, T212, T213, T215, app54_in_agaa(T211, T212, T213, T215))
app54_in_agaa([], T225, T226, .(T225, T226)) → app54_out_agaa([], T225, T226, .(T225, T226))
U15_agaa(T210, T211, T212, T213, T215, app54_out_agaa(T211, T212, T213, T215)) → app54_out_agaa(.(T210, T211), T212, T213, .(T210, T215))
U18_aaaga(T45, T120, T115, T22, T9, app54_out_agaa(T115, T22, T120, T9)) → p52_out_aaaga(T45, T120, T115, T22, T9)
U30_aa(T239, T240, T241, T9, p52_out_aaaga(.(T240, T250), X10, T256, T239, T9)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
qs1_in_aa(.(T265, []), T9) → U31_aa(T265, T9, qs99_in_a(X9))
qs99_in_a([]) → qs99_out_a([])
U31_aa(T265, T9, qs99_out_a(X9)) → qs1_out_aa(.(T265, []), T9)
qs1_in_aa(.(T265, []), T9) → U32_aa(T265, T9, qs99_in_a(T268))
U32_aa(T265, T9, qs99_out_a(T268)) → U33_aa(T265, T9, qs99_in_a(X10))
U33_aa(T265, T9, qs99_out_a(X10)) → qs1_out_aa(.(T265, []), T9)
U32_aa(T265, T9, qs99_out_a(T268)) → U34_aa(T265, T9, T268, qs99_in_a(T273))
U34_aa(T265, T9, T268, qs99_out_a(T273)) → U35_aa(T265, T9, app54_in_gaga(T268, T265, T273, T9))
app54_in_gaga(.(T210, T211), T212, T213, .(T210, T215)) → U15_gaga(T210, T211, T212, T213, T215, app54_in_gaga(T211, T212, T213, T215))
app54_in_gaga([], T225, T226, .(T225, T226)) → app54_out_gaga([], T225, T226, .(T225, T226))
U15_gaga(T210, T211, T212, T213, T215, app54_out_gaga(T211, T212, T213, T215)) → app54_out_gaga(.(T210, T211), T212, T213, .(T210, T215))
U35_aa(T265, T9, app54_out_gaga(T268, T265, T273, T9)) → qs1_out_aa(.(T265, []), T9)
qs1_in_aa([], []) → qs1_out_aa([], [])
U22_aa(T22, T23, T24, T9, qs1_out_aa(.(T23, T44), X9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U21_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U23_aa(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_aa(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_aa(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U24_aa(T22, T23, T24, T9, p52_out_aaaga(T45, X10, T115, T22, T9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U22_ga(T22, T23, T24, T9, qs1_out_aa(.(T23, T44), X9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U21_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U23_ga(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_ga(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_ga(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U24_ga(T22, T23, T24, T9, p52_out_aaaga(T45, X10, T115, T22, T9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
qs1_in_ga(.(T239, .(T240, T241)), T9) → U25_ga(T239, T240, T241, T9, le33_in_gg(T239, T240))
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U26_ga(T239, T240, T241, T9, part20_in_ggaa(T239, T241, X437, X438))
U26_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, X437, X438)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U27_ga(T239, T240, T241, T9, part20_in_ggaa(T239, T241, T249, T250))
U27_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U28_ga(T239, T240, T241, T9, qs53_in_aa(T249, X9))
U28_ga(T239, T240, T241, T9, qs53_out_aa(T249, X9)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U27_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U29_ga(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_ga(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_ga(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
U30_ga(T239, T240, T241, T9, p52_out_aaaga(.(T240, T250), X10, T256, T239, T9)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
qs1_in_ga(.(T265, []), T9) → U31_ga(T265, T9, qs99_in_a(X9))
U31_ga(T265, T9, qs99_out_a(X9)) → qs1_out_ga(.(T265, []), T9)
qs1_in_ga(.(T265, []), T9) → U32_ga(T265, T9, qs99_in_a(T268))
U32_ga(T265, T9, qs99_out_a(T268)) → U33_ga(T265, T9, qs99_in_a(X10))
U33_ga(T265, T9, qs99_out_a(X10)) → qs1_out_ga(.(T265, []), T9)
U32_ga(T265, T9, qs99_out_a(T268)) → U34_ga(T265, T9, T268, qs99_in_a(T273))
U34_ga(T265, T9, T268, qs99_out_a(T273)) → U35_ga(T265, T9, app54_in_ggga(T268, T265, T273, T9))
app54_in_ggga(.(T210, T211), T212, T213, .(T210, T215)) → U15_ggga(T210, T211, T212, T213, T215, app54_in_ggga(T211, T212, T213, T215))
app54_in_ggga([], T225, T226, .(T225, T226)) → app54_out_ggga([], T225, T226, .(T225, T226))
U15_ggga(T210, T211, T212, T213, T215, app54_out_ggga(T211, T212, T213, T215)) → app54_out_ggga(.(T210, T211), T212, T213, .(T210, T215))
U35_ga(T265, T9, app54_out_ggga(T268, T265, T273, T9)) → qs1_out_ga(.(T265, []), T9)
qs1_in_ga([], []) → qs1_out_ga([], [])

The argument filtering Pi contains the following mapping:
qs1_in_ga(x1, x2)  =  qs1_in_ga(x1)
.(x1, x2)  =  .(x1, x2)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x2, x3, x5)
gt10_in_gg(x1, x2)  =  gt10_in_gg(x1, x2)
s(x1)  =  s(x1)
U1_gg(x1, x2, x3)  =  U1_gg(x1, x2, x3)
0  =  0
gt10_out_gg(x1, x2)  =  gt10_out_gg(x1, x2)
qs1_out_ga(x1, x2)  =  qs1_out_ga(x1)
U20_ga(x1, x2, x3, x4, x5)  =  U20_ga(x1, x2, x3, x5)
part20_in_ggaa(x1, x2, x3, x4)  =  part20_in_ggaa(x1, x2)
U2_ggaa(x1, x2, x3, x4, x5, x6)  =  U2_ggaa(x1, x2, x3, x6)
part20_out_ggaa(x1, x2, x3, x4)  =  part20_out_ggaa(x1, x2)
U3_ggaa(x1, x2, x3, x4, x5, x6)  =  U3_ggaa(x1, x2, x3, x6)
U4_ggaa(x1, x2, x3, x4, x5, x6)  =  U4_ggaa(x1, x2, x3, x6)
le33_in_gg(x1, x2)  =  le33_in_gg(x1, x2)
U6_gg(x1, x2, x3)  =  U6_gg(x1, x2, x3)
le33_out_gg(x1, x2)  =  le33_out_gg(x1, x2)
U5_ggaa(x1, x2, x3, x4, x5, x6)  =  U5_ggaa(x1, x2, x3, x6)
[]  =  []
U21_ga(x1, x2, x3, x4, x5)  =  U21_ga(x1, x2, x3, x5)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x1, x2, x3, x5)
qs1_in_aa(x1, x2)  =  qs1_in_aa
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(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_aa(x1, x2)  =  qs1_out_aa
U20_aa(x1, x2, x3, x4, x5)  =  U20_aa(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)
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)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U6_ga(x1, x2, x3)  =  U6_ga(x1, x3)
le33_out_ga(x1, x2)  =  le33_out_ga(x1)
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x1, x6)
U21_aa(x1, x2, x3, x4, x5)  =  U21_aa(x1, x5)
U22_aa(x1, x2, x3, x4, x5)  =  U22_aa(x5)
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
le33_in_aa(x1, x2)  =  le33_in_aa
U6_aa(x1, x2, x3)  =  U6_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
U26_aa(x1, x2, x3, x4, x5)  =  U26_aa(x5)
U27_aa(x1, x2, x3, x4, x5)  =  U27_aa(x1, x5)
U28_aa(x1, x2, x3, x4, x5)  =  U28_aa(x5)
qs53_in_aa(x1, x2)  =  qs53_in_aa
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
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)
qs53_out_aa(x1, x2)  =  qs53_out_aa
U8_aa(x1, x2, x3, x4)  =  U8_aa(x4)
U9_aa(x1, x2, x3, x4)  =  U9_aa(x4)
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4)  =  U11_aa(x4)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4)  =  U13_aa(x4)
app65_in_aaaa(x1, x2, x3, x4)  =  app65_in_aaaa
U14_aaaa(x1, x2, x3, x4, x5, x6)  =  U14_aaaa(x6)
app65_out_aaaa(x1, x2, x3, x4)  =  app65_out_aaaa
U29_aa(x1, x2, x3, x4, x5, x6)  =  U29_aa(x1, x6)
U30_aa(x1, x2, x3, x4, x5)  =  U30_aa(x5)
p52_in_aaaga(x1, x2, x3, x4, x5)  =  p52_in_aaaga(x4)
U16_aaaga(x1, x2, x3, x4, x5, x6)  =  U16_aaaga(x4, x6)
p52_out_aaaga(x1, x2, x3, x4, x5)  =  p52_out_aaaga(x4)
U17_aaaga(x1, x2, x3, x4, x5, x6)  =  U17_aaaga(x4, x6)
U18_aaaga(x1, x2, x3, x4, x5, x6)  =  U18_aaaga(x4, x6)
app54_in_agaa(x1, x2, x3, x4)  =  app54_in_agaa(x2)
U15_agaa(x1, x2, x3, x4, x5, x6)  =  U15_agaa(x3, x6)
app54_out_agaa(x1, x2, x3, x4)  =  app54_out_agaa(x2)
U31_aa(x1, x2, x3)  =  U31_aa(x3)
qs99_in_a(x1)  =  qs99_in_a
qs99_out_a(x1)  =  qs99_out_a(x1)
U32_aa(x1, x2, x3)  =  U32_aa(x3)
U33_aa(x1, x2, x3)  =  U33_aa(x3)
U34_aa(x1, x2, x3, x4)  =  U34_aa(x3, x4)
U35_aa(x1, x2, x3)  =  U35_aa(x3)
app54_in_gaga(x1, x2, x3, x4)  =  app54_in_gaga(x1, x3)
U15_gaga(x1, x2, x3, x4, x5, x6)  =  U15_gaga(x1, x2, x4, x6)
app54_out_gaga(x1, x2, x3, x4)  =  app54_out_gaga(x1, x3)
U23_aa(x1, x2, x3, x4, x5, x6)  =  U23_aa(x1, x6)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U23_ga(x1, x2, x3, x4, x5, x6)  =  U23_ga(x1, x2, x3, x6)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x1, x2, x3, x5)
U25_ga(x1, x2, x3, x4, x5)  =  U25_ga(x1, x2, x3, x5)
U26_ga(x1, x2, x3, x4, x5)  =  U26_ga(x1, x2, x3, x5)
U27_ga(x1, x2, x3, x4, x5)  =  U27_ga(x1, x2, x3, x5)
U28_ga(x1, x2, x3, x4, x5)  =  U28_ga(x1, x2, x3, x5)
U29_ga(x1, x2, x3, x4, x5, x6)  =  U29_ga(x1, x2, x3, x6)
U30_ga(x1, x2, x3, x4, x5)  =  U30_ga(x1, x2, x3, x5)
U31_ga(x1, x2, x3)  =  U31_ga(x1, x3)
U32_ga(x1, x2, x3)  =  U32_ga(x1, x3)
U33_ga(x1, x2, x3)  =  U33_ga(x1, x3)
U34_ga(x1, x2, x3, x4)  =  U34_ga(x1, x3, x4)
U35_ga(x1, x2, x3)  =  U35_ga(x1, x3)
app54_in_ggga(x1, x2, x3, x4)  =  app54_in_ggga(x1, x2, x3)
U15_ggga(x1, x2, x3, x4, x5, x6)  =  U15_ggga(x1, x2, x3, x4, x6)
app54_out_ggga(x1, x2, x3, x4)  =  app54_out_ggga(x1, x2, x3, x4)
GT10_IN_GG(x1, x2)  =  GT10_IN_GG(x1, x2)

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:

GT10_IN_GG(s(T37), s(T38)) → GT10_IN_GG(T37, T38)

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

(122) PiDPToQDPProof (EQUIVALENT 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:

GT10_IN_GG(s(T37), s(T38)) → GT10_IN_GG(T37, T38)

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

(124) 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_GG(s(T37), s(T38)) → GT10_IN_GG(T37, T38)
    The graph contains the following edges 1 > 1, 2 > 2

(125) YES

(126) Obligation:

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

PART20_IN_GGAA(T61, .(T62, T63), .(T62, X119), X120) → U2_GGAA(T61, T62, T63, X119, X120, gt10_in_gg(T61, T62))
U2_GGAA(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → PART20_IN_GGAA(T61, T63, X119, X120)
PART20_IN_GGAA(T83, .(T84, T85), X170, .(T84, X171)) → U4_GGAA(T83, T84, T85, X170, X171, le33_in_gg(T83, T84))
U4_GGAA(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → PART20_IN_GGAA(T83, T85, X170, X171)

The TRS R consists of the following rules:

qs1_in_ga(.(T22, .(T23, T24)), T9) → U19_ga(T22, T23, T24, T9, gt10_in_gg(T22, T23))
gt10_in_gg(s(T37), s(T38)) → U1_gg(T37, T38, gt10_in_gg(T37, T38))
gt10_in_gg(s(0), 0) → gt10_out_gg(s(0), 0)
U1_gg(T37, T38, gt10_out_gg(T37, T38)) → gt10_out_gg(s(T37), s(T38))
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U20_ga(T22, T23, T24, T9, part20_in_ggaa(T22, T24, X47, X48))
part20_in_ggaa(T61, .(T62, T63), .(T62, X119), X120) → U2_ggaa(T61, T62, T63, X119, X120, gt10_in_gg(T61, T62))
U2_ggaa(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → part20_out_ggaa(T61, .(T62, T63), .(T62, X119), X120)
U2_ggaa(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → U3_ggaa(T61, T62, T63, X119, X120, part20_in_ggaa(T61, T63, X119, X120))
part20_in_ggaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_ggaa(T83, T84, T85, X170, X171, le33_in_gg(T83, T84))
le33_in_gg(s(T98), s(T99)) → U6_gg(T98, T99, le33_in_gg(T98, T99))
le33_in_gg(0, s(T106)) → le33_out_gg(0, s(T106))
le33_in_gg(0, 0) → le33_out_gg(0, 0)
U6_gg(T98, T99, le33_out_gg(T98, T99)) → le33_out_gg(s(T98), s(T99))
U4_ggaa(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → part20_out_ggaa(T83, .(T84, T85), X170, .(T84, X171))
U4_ggaa(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → U5_ggaa(T83, T84, T85, X170, X171, part20_in_ggaa(T83, T85, X170, X171))
part20_in_ggaa(T112, [], [], []) → part20_out_ggaa(T112, [], [], [])
U5_ggaa(T83, T84, T85, X170, X171, part20_out_ggaa(T83, T85, X170, X171)) → part20_out_ggaa(T83, .(T84, T85), X170, .(T84, X171))
U3_ggaa(T61, T62, T63, X119, X120, part20_out_ggaa(T61, T63, X119, X120)) → part20_out_ggaa(T61, .(T62, T63), .(T62, X119), X120)
U20_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, X47, X48)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U21_ga(T22, T23, T24, T9, part20_in_ggaa(T22, T24, T44, T45))
U21_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U22_ga(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
qs1_in_aa(.(T22, .(T23, T24)), T9) → U19_aa(T22, T23, T24, T9, gt10_in_aa(T22, T23))
gt10_in_aa(s(T37), s(T38)) → U1_aa(T37, T38, gt10_in_aa(T37, T38))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U1_aa(T37, T38, gt10_out_aa(T37, T38)) → gt10_out_aa(s(T37), s(T38))
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U20_aa(T22, T23, T24, T9, part20_in_gaaa(T22, T24, X47, X48))
part20_in_gaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_gaaa(T61, T62, T63, X119, X120, gt10_in_ga(T61, T62))
gt10_in_ga(s(T37), s(T38)) → U1_ga(T37, T38, gt10_in_ga(T37, T38))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U1_ga(T37, T38, gt10_out_ga(T37, T38)) → gt10_out_ga(s(T37), s(T38))
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → U3_gaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
part20_in_gaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_gaaa(T83, T84, T85, X170, X171, le33_in_ga(T83, T84))
le33_in_ga(s(T98), s(T99)) → U6_ga(T98, T99, le33_in_ga(T98, T99))
le33_in_ga(0, s(T106)) → le33_out_ga(0, s(T106))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U6_ga(T98, T99, le33_out_ga(T98, T99)) → le33_out_ga(s(T98), s(T99))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → U5_gaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
part20_in_gaaa(T112, [], [], []) → part20_out_gaaa(T112, [], [], [])
U5_gaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U3_gaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U20_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, X47, X48)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U21_aa(T22, T23, T24, T9, part20_in_gaaa(T22, T24, T44, T45))
U21_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U22_aa(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
qs1_in_aa(.(T239, .(T240, T241)), T9) → U25_aa(T239, T240, T241, T9, le33_in_aa(T239, T240))
le33_in_aa(s(T98), s(T99)) → U6_aa(T98, T99, le33_in_aa(T98, T99))
le33_in_aa(0, s(T106)) → le33_out_aa(0, s(T106))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U6_aa(T98, T99, le33_out_aa(T98, T99)) → le33_out_aa(s(T98), s(T99))
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U26_aa(T239, T240, T241, T9, part20_in_gaaa(T239, T241, X437, X438))
U26_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, X437, X438)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U27_aa(T239, T240, T241, T9, part20_in_gaaa(T239, T241, T249, T250))
U27_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U28_aa(T239, T240, T241, T9, qs53_in_aa(T249, X9))
qs53_in_aa(.(T131, T132), X275) → U7_aa(T131, T132, X275, part20_in_aaaa(T131, T132, X271, X272))
part20_in_aaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_aaaa(T61, T62, T63, X119, X120, gt10_in_aa(T61, T62))
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → U3_aaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
U3_aaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
part20_in_aaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_aaaa(T83, T84, T85, X170, X171, le33_in_aa(T83, T84))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → U5_aaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
U5_aaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
part20_in_aaaa(T112, [], [], []) → part20_out_aaaa(T112, [], [], [])
U7_aa(T131, T132, X275, part20_out_aaaa(T131, T132, X271, X272)) → qs53_out_aa(.(T131, T132), X275)
qs53_in_aa(.(T131, T132), X275) → U8_aa(T131, T132, X275, part20_in_aaaa(T131, T132, T136, T137))
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U9_aa(T131, T132, X275, qs53_in_aa(T136, X273))
qs53_in_aa([], []) → qs53_out_aa([], [])
U9_aa(T131, T132, X275, qs53_out_aa(T136, X273)) → qs53_out_aa(.(T131, T132), X275)
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U10_aa(T131, T132, X275, T137, qs53_in_aa(T136, T143))
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U11_aa(T131, T132, X275, qs53_in_aa(T137, X274))
U11_aa(T131, T132, X275, qs53_out_aa(T137, X274)) → qs53_out_aa(.(T131, T132), X275)
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U12_aa(T131, T132, X275, T143, qs53_in_aa(T137, T148))
U12_aa(T131, T132, X275, T143, qs53_out_aa(T137, T148)) → U13_aa(T131, T132, X275, app65_in_aaaa(T143, T131, T148, X275))
app65_in_aaaa(.(T171, T172), T173, T174, .(T171, X354)) → U14_aaaa(T171, T172, T173, T174, X354, app65_in_aaaa(T172, T173, T174, X354))
app65_in_aaaa([], T183, T184, .(T183, T184)) → app65_out_aaaa([], T183, T184, .(T183, T184))
U14_aaaa(T171, T172, T173, T174, X354, app65_out_aaaa(T172, T173, T174, X354)) → app65_out_aaaa(.(T171, T172), T173, T174, .(T171, X354))
U13_aa(T131, T132, X275, app65_out_aaaa(T143, T131, T148, X275)) → qs53_out_aa(.(T131, T132), X275)
U28_aa(T239, T240, T241, T9, qs53_out_aa(T249, X9)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U27_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U29_aa(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_aa(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_aa(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
p52_in_aaaga(T45, X10, T115, T22, T9) → U16_aaaga(T45, X10, T115, T22, T9, qs53_in_aa(T45, X10))
U16_aaaga(T45, X10, T115, T22, T9, qs53_out_aa(T45, X10)) → p52_out_aaaga(T45, X10, T115, T22, T9)
p52_in_aaaga(T45, T120, T115, T22, T9) → U17_aaaga(T45, T120, T115, T22, T9, qs53_in_aa(T45, T120))
U17_aaaga(T45, T120, T115, T22, T9, qs53_out_aa(T45, T120)) → U18_aaaga(T45, T120, T115, T22, T9, app54_in_agaa(T115, T22, T120, T9))
app54_in_agaa(.(T210, T211), T212, T213, .(T210, T215)) → U15_agaa(T210, T211, T212, T213, T215, app54_in_agaa(T211, T212, T213, T215))
app54_in_agaa([], T225, T226, .(T225, T226)) → app54_out_agaa([], T225, T226, .(T225, T226))
U15_agaa(T210, T211, T212, T213, T215, app54_out_agaa(T211, T212, T213, T215)) → app54_out_agaa(.(T210, T211), T212, T213, .(T210, T215))
U18_aaaga(T45, T120, T115, T22, T9, app54_out_agaa(T115, T22, T120, T9)) → p52_out_aaaga(T45, T120, T115, T22, T9)
U30_aa(T239, T240, T241, T9, p52_out_aaaga(.(T240, T250), X10, T256, T239, T9)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
qs1_in_aa(.(T265, []), T9) → U31_aa(T265, T9, qs99_in_a(X9))
qs99_in_a([]) → qs99_out_a([])
U31_aa(T265, T9, qs99_out_a(X9)) → qs1_out_aa(.(T265, []), T9)
qs1_in_aa(.(T265, []), T9) → U32_aa(T265, T9, qs99_in_a(T268))
U32_aa(T265, T9, qs99_out_a(T268)) → U33_aa(T265, T9, qs99_in_a(X10))
U33_aa(T265, T9, qs99_out_a(X10)) → qs1_out_aa(.(T265, []), T9)
U32_aa(T265, T9, qs99_out_a(T268)) → U34_aa(T265, T9, T268, qs99_in_a(T273))
U34_aa(T265, T9, T268, qs99_out_a(T273)) → U35_aa(T265, T9, app54_in_gaga(T268, T265, T273, T9))
app54_in_gaga(.(T210, T211), T212, T213, .(T210, T215)) → U15_gaga(T210, T211, T212, T213, T215, app54_in_gaga(T211, T212, T213, T215))
app54_in_gaga([], T225, T226, .(T225, T226)) → app54_out_gaga([], T225, T226, .(T225, T226))
U15_gaga(T210, T211, T212, T213, T215, app54_out_gaga(T211, T212, T213, T215)) → app54_out_gaga(.(T210, T211), T212, T213, .(T210, T215))
U35_aa(T265, T9, app54_out_gaga(T268, T265, T273, T9)) → qs1_out_aa(.(T265, []), T9)
qs1_in_aa([], []) → qs1_out_aa([], [])
U22_aa(T22, T23, T24, T9, qs1_out_aa(.(T23, T44), X9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U21_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U23_aa(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_aa(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_aa(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U24_aa(T22, T23, T24, T9, p52_out_aaaga(T45, X10, T115, T22, T9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U22_ga(T22, T23, T24, T9, qs1_out_aa(.(T23, T44), X9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U21_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U23_ga(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_ga(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_ga(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U24_ga(T22, T23, T24, T9, p52_out_aaaga(T45, X10, T115, T22, T9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
qs1_in_ga(.(T239, .(T240, T241)), T9) → U25_ga(T239, T240, T241, T9, le33_in_gg(T239, T240))
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U26_ga(T239, T240, T241, T9, part20_in_ggaa(T239, T241, X437, X438))
U26_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, X437, X438)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U27_ga(T239, T240, T241, T9, part20_in_ggaa(T239, T241, T249, T250))
U27_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U28_ga(T239, T240, T241, T9, qs53_in_aa(T249, X9))
U28_ga(T239, T240, T241, T9, qs53_out_aa(T249, X9)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U27_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U29_ga(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_ga(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_ga(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
U30_ga(T239, T240, T241, T9, p52_out_aaaga(.(T240, T250), X10, T256, T239, T9)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
qs1_in_ga(.(T265, []), T9) → U31_ga(T265, T9, qs99_in_a(X9))
U31_ga(T265, T9, qs99_out_a(X9)) → qs1_out_ga(.(T265, []), T9)
qs1_in_ga(.(T265, []), T9) → U32_ga(T265, T9, qs99_in_a(T268))
U32_ga(T265, T9, qs99_out_a(T268)) → U33_ga(T265, T9, qs99_in_a(X10))
U33_ga(T265, T9, qs99_out_a(X10)) → qs1_out_ga(.(T265, []), T9)
U32_ga(T265, T9, qs99_out_a(T268)) → U34_ga(T265, T9, T268, qs99_in_a(T273))
U34_ga(T265, T9, T268, qs99_out_a(T273)) → U35_ga(T265, T9, app54_in_ggga(T268, T265, T273, T9))
app54_in_ggga(.(T210, T211), T212, T213, .(T210, T215)) → U15_ggga(T210, T211, T212, T213, T215, app54_in_ggga(T211, T212, T213, T215))
app54_in_ggga([], T225, T226, .(T225, T226)) → app54_out_ggga([], T225, T226, .(T225, T226))
U15_ggga(T210, T211, T212, T213, T215, app54_out_ggga(T211, T212, T213, T215)) → app54_out_ggga(.(T210, T211), T212, T213, .(T210, T215))
U35_ga(T265, T9, app54_out_ggga(T268, T265, T273, T9)) → qs1_out_ga(.(T265, []), T9)
qs1_in_ga([], []) → qs1_out_ga([], [])

The argument filtering Pi contains the following mapping:
qs1_in_ga(x1, x2)  =  qs1_in_ga(x1)
.(x1, x2)  =  .(x1, x2)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x2, x3, x5)
gt10_in_gg(x1, x2)  =  gt10_in_gg(x1, x2)
s(x1)  =  s(x1)
U1_gg(x1, x2, x3)  =  U1_gg(x1, x2, x3)
0  =  0
gt10_out_gg(x1, x2)  =  gt10_out_gg(x1, x2)
qs1_out_ga(x1, x2)  =  qs1_out_ga(x1)
U20_ga(x1, x2, x3, x4, x5)  =  U20_ga(x1, x2, x3, x5)
part20_in_ggaa(x1, x2, x3, x4)  =  part20_in_ggaa(x1, x2)
U2_ggaa(x1, x2, x3, x4, x5, x6)  =  U2_ggaa(x1, x2, x3, x6)
part20_out_ggaa(x1, x2, x3, x4)  =  part20_out_ggaa(x1, x2)
U3_ggaa(x1, x2, x3, x4, x5, x6)  =  U3_ggaa(x1, x2, x3, x6)
U4_ggaa(x1, x2, x3, x4, x5, x6)  =  U4_ggaa(x1, x2, x3, x6)
le33_in_gg(x1, x2)  =  le33_in_gg(x1, x2)
U6_gg(x1, x2, x3)  =  U6_gg(x1, x2, x3)
le33_out_gg(x1, x2)  =  le33_out_gg(x1, x2)
U5_ggaa(x1, x2, x3, x4, x5, x6)  =  U5_ggaa(x1, x2, x3, x6)
[]  =  []
U21_ga(x1, x2, x3, x4, x5)  =  U21_ga(x1, x2, x3, x5)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x1, x2, x3, x5)
qs1_in_aa(x1, x2)  =  qs1_in_aa
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(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_aa(x1, x2)  =  qs1_out_aa
U20_aa(x1, x2, x3, x4, x5)  =  U20_aa(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)
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)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U6_ga(x1, x2, x3)  =  U6_ga(x1, x3)
le33_out_ga(x1, x2)  =  le33_out_ga(x1)
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x1, x6)
U21_aa(x1, x2, x3, x4, x5)  =  U21_aa(x1, x5)
U22_aa(x1, x2, x3, x4, x5)  =  U22_aa(x5)
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
le33_in_aa(x1, x2)  =  le33_in_aa
U6_aa(x1, x2, x3)  =  U6_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
U26_aa(x1, x2, x3, x4, x5)  =  U26_aa(x5)
U27_aa(x1, x2, x3, x4, x5)  =  U27_aa(x1, x5)
U28_aa(x1, x2, x3, x4, x5)  =  U28_aa(x5)
qs53_in_aa(x1, x2)  =  qs53_in_aa
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
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)
qs53_out_aa(x1, x2)  =  qs53_out_aa
U8_aa(x1, x2, x3, x4)  =  U8_aa(x4)
U9_aa(x1, x2, x3, x4)  =  U9_aa(x4)
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4)  =  U11_aa(x4)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4)  =  U13_aa(x4)
app65_in_aaaa(x1, x2, x3, x4)  =  app65_in_aaaa
U14_aaaa(x1, x2, x3, x4, x5, x6)  =  U14_aaaa(x6)
app65_out_aaaa(x1, x2, x3, x4)  =  app65_out_aaaa
U29_aa(x1, x2, x3, x4, x5, x6)  =  U29_aa(x1, x6)
U30_aa(x1, x2, x3, x4, x5)  =  U30_aa(x5)
p52_in_aaaga(x1, x2, x3, x4, x5)  =  p52_in_aaaga(x4)
U16_aaaga(x1, x2, x3, x4, x5, x6)  =  U16_aaaga(x4, x6)
p52_out_aaaga(x1, x2, x3, x4, x5)  =  p52_out_aaaga(x4)
U17_aaaga(x1, x2, x3, x4, x5, x6)  =  U17_aaaga(x4, x6)
U18_aaaga(x1, x2, x3, x4, x5, x6)  =  U18_aaaga(x4, x6)
app54_in_agaa(x1, x2, x3, x4)  =  app54_in_agaa(x2)
U15_agaa(x1, x2, x3, x4, x5, x6)  =  U15_agaa(x3, x6)
app54_out_agaa(x1, x2, x3, x4)  =  app54_out_agaa(x2)
U31_aa(x1, x2, x3)  =  U31_aa(x3)
qs99_in_a(x1)  =  qs99_in_a
qs99_out_a(x1)  =  qs99_out_a(x1)
U32_aa(x1, x2, x3)  =  U32_aa(x3)
U33_aa(x1, x2, x3)  =  U33_aa(x3)
U34_aa(x1, x2, x3, x4)  =  U34_aa(x3, x4)
U35_aa(x1, x2, x3)  =  U35_aa(x3)
app54_in_gaga(x1, x2, x3, x4)  =  app54_in_gaga(x1, x3)
U15_gaga(x1, x2, x3, x4, x5, x6)  =  U15_gaga(x1, x2, x4, x6)
app54_out_gaga(x1, x2, x3, x4)  =  app54_out_gaga(x1, x3)
U23_aa(x1, x2, x3, x4, x5, x6)  =  U23_aa(x1, x6)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U23_ga(x1, x2, x3, x4, x5, x6)  =  U23_ga(x1, x2, x3, x6)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x1, x2, x3, x5)
U25_ga(x1, x2, x3, x4, x5)  =  U25_ga(x1, x2, x3, x5)
U26_ga(x1, x2, x3, x4, x5)  =  U26_ga(x1, x2, x3, x5)
U27_ga(x1, x2, x3, x4, x5)  =  U27_ga(x1, x2, x3, x5)
U28_ga(x1, x2, x3, x4, x5)  =  U28_ga(x1, x2, x3, x5)
U29_ga(x1, x2, x3, x4, x5, x6)  =  U29_ga(x1, x2, x3, x6)
U30_ga(x1, x2, x3, x4, x5)  =  U30_ga(x1, x2, x3, x5)
U31_ga(x1, x2, x3)  =  U31_ga(x1, x3)
U32_ga(x1, x2, x3)  =  U32_ga(x1, x3)
U33_ga(x1, x2, x3)  =  U33_ga(x1, x3)
U34_ga(x1, x2, x3, x4)  =  U34_ga(x1, x3, x4)
U35_ga(x1, x2, x3)  =  U35_ga(x1, x3)
app54_in_ggga(x1, x2, x3, x4)  =  app54_in_ggga(x1, x2, x3)
U15_ggga(x1, x2, x3, x4, x5, x6)  =  U15_ggga(x1, x2, x3, x4, x6)
app54_out_ggga(x1, x2, x3, x4)  =  app54_out_ggga(x1, x2, x3, x4)
PART20_IN_GGAA(x1, x2, x3, x4)  =  PART20_IN_GGAA(x1, x2)
U2_GGAA(x1, x2, x3, x4, x5, x6)  =  U2_GGAA(x1, x2, x3, x6)
U4_GGAA(x1, x2, x3, x4, x5, x6)  =  U4_GGAA(x1, x2, x3, x6)

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

(127) UsableRulesProof (EQUIVALENT transformation)

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

(128) Obligation:

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

PART20_IN_GGAA(T61, .(T62, T63), .(T62, X119), X120) → U2_GGAA(T61, T62, T63, X119, X120, gt10_in_gg(T61, T62))
U2_GGAA(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → PART20_IN_GGAA(T61, T63, X119, X120)
PART20_IN_GGAA(T83, .(T84, T85), X170, .(T84, X171)) → U4_GGAA(T83, T84, T85, X170, X171, le33_in_gg(T83, T84))
U4_GGAA(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → PART20_IN_GGAA(T83, T85, X170, X171)

The TRS R consists of the following rules:

gt10_in_gg(s(T37), s(T38)) → U1_gg(T37, T38, gt10_in_gg(T37, T38))
gt10_in_gg(s(0), 0) → gt10_out_gg(s(0), 0)
le33_in_gg(s(T98), s(T99)) → U6_gg(T98, T99, le33_in_gg(T98, T99))
le33_in_gg(0, s(T106)) → le33_out_gg(0, s(T106))
le33_in_gg(0, 0) → le33_out_gg(0, 0)
U1_gg(T37, T38, gt10_out_gg(T37, T38)) → gt10_out_gg(s(T37), s(T38))
U6_gg(T98, T99, le33_out_gg(T98, T99)) → le33_out_gg(s(T98), s(T99))

The argument filtering Pi contains the following mapping:
.(x1, x2)  =  .(x1, x2)
gt10_in_gg(x1, x2)  =  gt10_in_gg(x1, x2)
s(x1)  =  s(x1)
U1_gg(x1, x2, x3)  =  U1_gg(x1, x2, x3)
0  =  0
gt10_out_gg(x1, x2)  =  gt10_out_gg(x1, x2)
le33_in_gg(x1, x2)  =  le33_in_gg(x1, x2)
U6_gg(x1, x2, x3)  =  U6_gg(x1, x2, x3)
le33_out_gg(x1, x2)  =  le33_out_gg(x1, x2)
PART20_IN_GGAA(x1, x2, x3, x4)  =  PART20_IN_GGAA(x1, x2)
U2_GGAA(x1, x2, x3, x4, x5, x6)  =  U2_GGAA(x1, x2, x3, x6)
U4_GGAA(x1, x2, x3, x4, x5, x6)  =  U4_GGAA(x1, x2, x3, x6)

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

(129) PiDPToQDPProof (SOUND transformation)

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

(130) Obligation:

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

PART20_IN_GGAA(T61, .(T62, T63)) → U2_GGAA(T61, T62, T63, gt10_in_gg(T61, T62))
U2_GGAA(T61, T62, T63, gt10_out_gg(T61, T62)) → PART20_IN_GGAA(T61, T63)
PART20_IN_GGAA(T83, .(T84, T85)) → U4_GGAA(T83, T84, T85, le33_in_gg(T83, T84))
U4_GGAA(T83, T84, T85, le33_out_gg(T83, T84)) → PART20_IN_GGAA(T83, T85)

The TRS R consists of the following rules:

gt10_in_gg(s(T37), s(T38)) → U1_gg(T37, T38, gt10_in_gg(T37, T38))
gt10_in_gg(s(0), 0) → gt10_out_gg(s(0), 0)
le33_in_gg(s(T98), s(T99)) → U6_gg(T98, T99, le33_in_gg(T98, T99))
le33_in_gg(0, s(T106)) → le33_out_gg(0, s(T106))
le33_in_gg(0, 0) → le33_out_gg(0, 0)
U1_gg(T37, T38, gt10_out_gg(T37, T38)) → gt10_out_gg(s(T37), s(T38))
U6_gg(T98, T99, le33_out_gg(T98, T99)) → le33_out_gg(s(T98), s(T99))

The set Q consists of the following terms:

gt10_in_gg(x0, x1)
le33_in_gg(x0, x1)
U1_gg(x0, x1, x2)
U6_gg(x0, x1, x2)

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

(131) 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:

  • U2_GGAA(T61, T62, T63, gt10_out_gg(T61, T62)) → PART20_IN_GGAA(T61, T63)
    The graph contains the following edges 1 >= 1, 4 > 1, 3 >= 2

  • U4_GGAA(T83, T84, T85, le33_out_gg(T83, T84)) → PART20_IN_GGAA(T83, T85)
    The graph contains the following edges 1 >= 1, 4 > 1, 3 >= 2

  • PART20_IN_GGAA(T61, .(T62, T63)) → U2_GGAA(T61, T62, T63, gt10_in_gg(T61, T62))
    The graph contains the following edges 1 >= 1, 2 > 2, 2 > 3

  • PART20_IN_GGAA(T83, .(T84, T85)) → U4_GGAA(T83, T84, T85, le33_in_gg(T83, T84))
    The graph contains the following edges 1 >= 1, 2 > 2, 2 > 3

(132) YES

(133) 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: (b,f) (f,f)
gt10_in: (b,b) (f,f) (b,f)
part20_in: (b,b,f,f) (b,f,f,f) (f,f,f,f)
le33_in: (b,b) (b,f) (f,f)
qs53_in: (f,f)
app65_in: (f,f,f,f)
p52_in: (f,f,f,b,f)
app54_in: (f,b,f,f) (b,f,b,f) (b,b,b,f)
Transforming Prolog into the following Term Rewriting System:
Pi-finite rewrite system:
The TRS R consists of the following rules:

qs1_in_ga(.(T22, .(T23, T24)), T9) → U19_ga(T22, T23, T24, T9, gt10_in_gg(T22, T23))
gt10_in_gg(s(T37), s(T38)) → U1_gg(T37, T38, gt10_in_gg(T37, T38))
gt10_in_gg(s(0), 0) → gt10_out_gg(s(0), 0)
U1_gg(T37, T38, gt10_out_gg(T37, T38)) → gt10_out_gg(s(T37), s(T38))
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U20_ga(T22, T23, T24, T9, part20_in_ggaa(T22, T24, X47, X48))
part20_in_ggaa(T61, .(T62, T63), .(T62, X119), X120) → U2_ggaa(T61, T62, T63, X119, X120, gt10_in_gg(T61, T62))
U2_ggaa(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → part20_out_ggaa(T61, .(T62, T63), .(T62, X119), X120)
U2_ggaa(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → U3_ggaa(T61, T62, T63, X119, X120, part20_in_ggaa(T61, T63, X119, X120))
part20_in_ggaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_ggaa(T83, T84, T85, X170, X171, le33_in_gg(T83, T84))
le33_in_gg(s(T98), s(T99)) → U6_gg(T98, T99, le33_in_gg(T98, T99))
le33_in_gg(0, s(T106)) → le33_out_gg(0, s(T106))
le33_in_gg(0, 0) → le33_out_gg(0, 0)
U6_gg(T98, T99, le33_out_gg(T98, T99)) → le33_out_gg(s(T98), s(T99))
U4_ggaa(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → part20_out_ggaa(T83, .(T84, T85), X170, .(T84, X171))
U4_ggaa(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → U5_ggaa(T83, T84, T85, X170, X171, part20_in_ggaa(T83, T85, X170, X171))
part20_in_ggaa(T112, [], [], []) → part20_out_ggaa(T112, [], [], [])
U5_ggaa(T83, T84, T85, X170, X171, part20_out_ggaa(T83, T85, X170, X171)) → part20_out_ggaa(T83, .(T84, T85), X170, .(T84, X171))
U3_ggaa(T61, T62, T63, X119, X120, part20_out_ggaa(T61, T63, X119, X120)) → part20_out_ggaa(T61, .(T62, T63), .(T62, X119), X120)
U20_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, X47, X48)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U21_ga(T22, T23, T24, T9, part20_in_ggaa(T22, T24, T44, T45))
U21_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U22_ga(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
qs1_in_aa(.(T22, .(T23, T24)), T9) → U19_aa(T22, T23, T24, T9, gt10_in_aa(T22, T23))
gt10_in_aa(s(T37), s(T38)) → U1_aa(T37, T38, gt10_in_aa(T37, T38))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U1_aa(T37, T38, gt10_out_aa(T37, T38)) → gt10_out_aa(s(T37), s(T38))
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U20_aa(T22, T23, T24, T9, part20_in_gaaa(T22, T24, X47, X48))
part20_in_gaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_gaaa(T61, T62, T63, X119, X120, gt10_in_ga(T61, T62))
gt10_in_ga(s(T37), s(T38)) → U1_ga(T37, T38, gt10_in_ga(T37, T38))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U1_ga(T37, T38, gt10_out_ga(T37, T38)) → gt10_out_ga(s(T37), s(T38))
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → U3_gaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
part20_in_gaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_gaaa(T83, T84, T85, X170, X171, le33_in_ga(T83, T84))
le33_in_ga(s(T98), s(T99)) → U6_ga(T98, T99, le33_in_ga(T98, T99))
le33_in_ga(0, s(T106)) → le33_out_ga(0, s(T106))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U6_ga(T98, T99, le33_out_ga(T98, T99)) → le33_out_ga(s(T98), s(T99))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → U5_gaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
part20_in_gaaa(T112, [], [], []) → part20_out_gaaa(T112, [], [], [])
U5_gaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U3_gaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U20_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, X47, X48)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U21_aa(T22, T23, T24, T9, part20_in_gaaa(T22, T24, T44, T45))
U21_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U22_aa(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
qs1_in_aa(.(T239, .(T240, T241)), T9) → U25_aa(T239, T240, T241, T9, le33_in_aa(T239, T240))
le33_in_aa(s(T98), s(T99)) → U6_aa(T98, T99, le33_in_aa(T98, T99))
le33_in_aa(0, s(T106)) → le33_out_aa(0, s(T106))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U6_aa(T98, T99, le33_out_aa(T98, T99)) → le33_out_aa(s(T98), s(T99))
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U26_aa(T239, T240, T241, T9, part20_in_gaaa(T239, T241, X437, X438))
U26_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, X437, X438)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U27_aa(T239, T240, T241, T9, part20_in_gaaa(T239, T241, T249, T250))
U27_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U28_aa(T239, T240, T241, T9, qs53_in_aa(T249, X9))
qs53_in_aa(.(T131, T132), X275) → U7_aa(T131, T132, X275, part20_in_aaaa(T131, T132, X271, X272))
part20_in_aaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_aaaa(T61, T62, T63, X119, X120, gt10_in_aa(T61, T62))
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → U3_aaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
U3_aaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
part20_in_aaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_aaaa(T83, T84, T85, X170, X171, le33_in_aa(T83, T84))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → U5_aaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
U5_aaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
part20_in_aaaa(T112, [], [], []) → part20_out_aaaa(T112, [], [], [])
U7_aa(T131, T132, X275, part20_out_aaaa(T131, T132, X271, X272)) → qs53_out_aa(.(T131, T132), X275)
qs53_in_aa(.(T131, T132), X275) → U8_aa(T131, T132, X275, part20_in_aaaa(T131, T132, T136, T137))
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U9_aa(T131, T132, X275, qs53_in_aa(T136, X273))
qs53_in_aa([], []) → qs53_out_aa([], [])
U9_aa(T131, T132, X275, qs53_out_aa(T136, X273)) → qs53_out_aa(.(T131, T132), X275)
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U10_aa(T131, T132, X275, T137, qs53_in_aa(T136, T143))
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U11_aa(T131, T132, X275, qs53_in_aa(T137, X274))
U11_aa(T131, T132, X275, qs53_out_aa(T137, X274)) → qs53_out_aa(.(T131, T132), X275)
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U12_aa(T131, T132, X275, T143, qs53_in_aa(T137, T148))
U12_aa(T131, T132, X275, T143, qs53_out_aa(T137, T148)) → U13_aa(T131, T132, X275, app65_in_aaaa(T143, T131, T148, X275))
app65_in_aaaa(.(T171, T172), T173, T174, .(T171, X354)) → U14_aaaa(T171, T172, T173, T174, X354, app65_in_aaaa(T172, T173, T174, X354))
app65_in_aaaa([], T183, T184, .(T183, T184)) → app65_out_aaaa([], T183, T184, .(T183, T184))
U14_aaaa(T171, T172, T173, T174, X354, app65_out_aaaa(T172, T173, T174, X354)) → app65_out_aaaa(.(T171, T172), T173, T174, .(T171, X354))
U13_aa(T131, T132, X275, app65_out_aaaa(T143, T131, T148, X275)) → qs53_out_aa(.(T131, T132), X275)
U28_aa(T239, T240, T241, T9, qs53_out_aa(T249, X9)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U27_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U29_aa(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_aa(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_aa(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
p52_in_aaaga(T45, X10, T115, T22, T9) → U16_aaaga(T45, X10, T115, T22, T9, qs53_in_aa(T45, X10))
U16_aaaga(T45, X10, T115, T22, T9, qs53_out_aa(T45, X10)) → p52_out_aaaga(T45, X10, T115, T22, T9)
p52_in_aaaga(T45, T120, T115, T22, T9) → U17_aaaga(T45, T120, T115, T22, T9, qs53_in_aa(T45, T120))
U17_aaaga(T45, T120, T115, T22, T9, qs53_out_aa(T45, T120)) → U18_aaaga(T45, T120, T115, T22, T9, app54_in_agaa(T115, T22, T120, T9))
app54_in_agaa(.(T210, T211), T212, T213, .(T210, T215)) → U15_agaa(T210, T211, T212, T213, T215, app54_in_agaa(T211, T212, T213, T215))
app54_in_agaa([], T225, T226, .(T225, T226)) → app54_out_agaa([], T225, T226, .(T225, T226))
U15_agaa(T210, T211, T212, T213, T215, app54_out_agaa(T211, T212, T213, T215)) → app54_out_agaa(.(T210, T211), T212, T213, .(T210, T215))
U18_aaaga(T45, T120, T115, T22, T9, app54_out_agaa(T115, T22, T120, T9)) → p52_out_aaaga(T45, T120, T115, T22, T9)
U30_aa(T239, T240, T241, T9, p52_out_aaaga(.(T240, T250), X10, T256, T239, T9)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
qs1_in_aa(.(T265, []), T9) → U31_aa(T265, T9, qs99_in_a(X9))
qs99_in_a([]) → qs99_out_a([])
U31_aa(T265, T9, qs99_out_a(X9)) → qs1_out_aa(.(T265, []), T9)
qs1_in_aa(.(T265, []), T9) → U32_aa(T265, T9, qs99_in_a(T268))
U32_aa(T265, T9, qs99_out_a(T268)) → U33_aa(T265, T9, qs99_in_a(X10))
U33_aa(T265, T9, qs99_out_a(X10)) → qs1_out_aa(.(T265, []), T9)
U32_aa(T265, T9, qs99_out_a(T268)) → U34_aa(T265, T9, T268, qs99_in_a(T273))
U34_aa(T265, T9, T268, qs99_out_a(T273)) → U35_aa(T265, T9, app54_in_gaga(T268, T265, T273, T9))
app54_in_gaga(.(T210, T211), T212, T213, .(T210, T215)) → U15_gaga(T210, T211, T212, T213, T215, app54_in_gaga(T211, T212, T213, T215))
app54_in_gaga([], T225, T226, .(T225, T226)) → app54_out_gaga([], T225, T226, .(T225, T226))
U15_gaga(T210, T211, T212, T213, T215, app54_out_gaga(T211, T212, T213, T215)) → app54_out_gaga(.(T210, T211), T212, T213, .(T210, T215))
U35_aa(T265, T9, app54_out_gaga(T268, T265, T273, T9)) → qs1_out_aa(.(T265, []), T9)
qs1_in_aa([], []) → qs1_out_aa([], [])
U22_aa(T22, T23, T24, T9, qs1_out_aa(.(T23, T44), X9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U21_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U23_aa(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_aa(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_aa(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U24_aa(T22, T23, T24, T9, p52_out_aaaga(T45, X10, T115, T22, T9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U22_ga(T22, T23, T24, T9, qs1_out_aa(.(T23, T44), X9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U21_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U23_ga(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_ga(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_ga(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U24_ga(T22, T23, T24, T9, p52_out_aaaga(T45, X10, T115, T22, T9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
qs1_in_ga(.(T239, .(T240, T241)), T9) → U25_ga(T239, T240, T241, T9, le33_in_gg(T239, T240))
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U26_ga(T239, T240, T241, T9, part20_in_ggaa(T239, T241, X437, X438))
U26_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, X437, X438)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U27_ga(T239, T240, T241, T9, part20_in_ggaa(T239, T241, T249, T250))
U27_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U28_ga(T239, T240, T241, T9, qs53_in_aa(T249, X9))
U28_ga(T239, T240, T241, T9, qs53_out_aa(T249, X9)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U27_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U29_ga(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_ga(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_ga(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
U30_ga(T239, T240, T241, T9, p52_out_aaaga(.(T240, T250), X10, T256, T239, T9)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
qs1_in_ga(.(T265, []), T9) → U31_ga(T265, T9, qs99_in_a(X9))
U31_ga(T265, T9, qs99_out_a(X9)) → qs1_out_ga(.(T265, []), T9)
qs1_in_ga(.(T265, []), T9) → U32_ga(T265, T9, qs99_in_a(T268))
U32_ga(T265, T9, qs99_out_a(T268)) → U33_ga(T265, T9, qs99_in_a(X10))
U33_ga(T265, T9, qs99_out_a(X10)) → qs1_out_ga(.(T265, []), T9)
U32_ga(T265, T9, qs99_out_a(T268)) → U34_ga(T265, T9, T268, qs99_in_a(T273))
U34_ga(T265, T9, T268, qs99_out_a(T273)) → U35_ga(T265, T9, app54_in_ggga(T268, T265, T273, T9))
app54_in_ggga(.(T210, T211), T212, T213, .(T210, T215)) → U15_ggga(T210, T211, T212, T213, T215, app54_in_ggga(T211, T212, T213, T215))
app54_in_ggga([], T225, T226, .(T225, T226)) → app54_out_ggga([], T225, T226, .(T225, T226))
U15_ggga(T210, T211, T212, T213, T215, app54_out_ggga(T211, T212, T213, T215)) → app54_out_ggga(.(T210, T211), T212, T213, .(T210, T215))
U35_ga(T265, T9, app54_out_ggga(T268, T265, T273, T9)) → qs1_out_ga(.(T265, []), T9)
qs1_in_ga([], []) → qs1_out_ga([], [])

The argument filtering Pi contains the following mapping:
qs1_in_ga(x1, x2)  =  qs1_in_ga(x1)
.(x1, x2)  =  .(x1, x2)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x3, x5)
gt10_in_gg(x1, x2)  =  gt10_in_gg(x1, x2)
s(x1)  =  s(x1)
U1_gg(x1, x2, x3)  =  U1_gg(x3)
0  =  0
gt10_out_gg(x1, x2)  =  gt10_out_gg
qs1_out_ga(x1, x2)  =  qs1_out_ga
U20_ga(x1, x2, x3, x4, x5)  =  U20_ga(x5)
part20_in_ggaa(x1, x2, x3, x4)  =  part20_in_ggaa(x1, x2)
U2_ggaa(x1, x2, x3, x4, x5, x6)  =  U2_ggaa(x1, x3, x6)
part20_out_ggaa(x1, x2, x3, x4)  =  part20_out_ggaa
U3_ggaa(x1, x2, x3, x4, x5, x6)  =  U3_ggaa(x6)
U4_ggaa(x1, x2, x3, x4, x5, x6)  =  U4_ggaa(x1, x3, x6)
le33_in_gg(x1, x2)  =  le33_in_gg(x1, x2)
U6_gg(x1, x2, x3)  =  U6_gg(x3)
le33_out_gg(x1, x2)  =  le33_out_gg
U5_ggaa(x1, x2, x3, x4, x5, x6)  =  U5_ggaa(x6)
[]  =  []
U21_ga(x1, x2, x3, x4, x5)  =  U21_ga(x1, x5)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x5)
qs1_in_aa(x1, x2)  =  qs1_in_aa
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(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_aa(x1, x2)  =  qs1_out_aa
U20_aa(x1, x2, x3, x4, x5)  =  U20_aa(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(x3)
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(x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x1, x6)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U6_ga(x1, x2, x3)  =  U6_ga(x3)
le33_out_ga(x1, x2)  =  le33_out_ga
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x6)
U21_aa(x1, x2, x3, x4, x5)  =  U21_aa(x1, x5)
U22_aa(x1, x2, x3, x4, x5)  =  U22_aa(x5)
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
le33_in_aa(x1, x2)  =  le33_in_aa
U6_aa(x1, x2, x3)  =  U6_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
U26_aa(x1, x2, x3, x4, x5)  =  U26_aa(x5)
U27_aa(x1, x2, x3, x4, x5)  =  U27_aa(x1, x5)
U28_aa(x1, x2, x3, x4, x5)  =  U28_aa(x5)
qs53_in_aa(x1, x2)  =  qs53_in_aa
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
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)
qs53_out_aa(x1, x2)  =  qs53_out_aa
U8_aa(x1, x2, x3, x4)  =  U8_aa(x4)
U9_aa(x1, x2, x3, x4)  =  U9_aa(x4)
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4)  =  U11_aa(x4)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4)  =  U13_aa(x4)
app65_in_aaaa(x1, x2, x3, x4)  =  app65_in_aaaa
U14_aaaa(x1, x2, x3, x4, x5, x6)  =  U14_aaaa(x6)
app65_out_aaaa(x1, x2, x3, x4)  =  app65_out_aaaa
U29_aa(x1, x2, x3, x4, x5, x6)  =  U29_aa(x1, x6)
U30_aa(x1, x2, x3, x4, x5)  =  U30_aa(x5)
p52_in_aaaga(x1, x2, x3, x4, x5)  =  p52_in_aaaga(x4)
U16_aaaga(x1, x2, x3, x4, x5, x6)  =  U16_aaaga(x6)
p52_out_aaaga(x1, x2, x3, x4, x5)  =  p52_out_aaaga
U17_aaaga(x1, x2, x3, x4, x5, x6)  =  U17_aaaga(x4, x6)
U18_aaaga(x1, x2, x3, x4, x5, x6)  =  U18_aaaga(x6)
app54_in_agaa(x1, x2, x3, x4)  =  app54_in_agaa(x2)
U15_agaa(x1, x2, x3, x4, x5, x6)  =  U15_agaa(x6)
app54_out_agaa(x1, x2, x3, x4)  =  app54_out_agaa
U31_aa(x1, x2, x3)  =  U31_aa(x3)
qs99_in_a(x1)  =  qs99_in_a
qs99_out_a(x1)  =  qs99_out_a(x1)
U32_aa(x1, x2, x3)  =  U32_aa(x3)
U33_aa(x1, x2, x3)  =  U33_aa(x3)
U34_aa(x1, x2, x3, x4)  =  U34_aa(x3, x4)
U35_aa(x1, x2, x3)  =  U35_aa(x3)
app54_in_gaga(x1, x2, x3, x4)  =  app54_in_gaga(x1, x3)
U15_gaga(x1, x2, x3, x4, x5, x6)  =  U15_gaga(x6)
app54_out_gaga(x1, x2, x3, x4)  =  app54_out_gaga
U23_aa(x1, x2, x3, x4, x5, x6)  =  U23_aa(x1, x6)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U23_ga(x1, x2, x3, x4, x5, x6)  =  U23_ga(x1, x6)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x5)
U25_ga(x1, x2, x3, x4, x5)  =  U25_ga(x1, x3, x5)
U26_ga(x1, x2, x3, x4, x5)  =  U26_ga(x5)
U27_ga(x1, x2, x3, x4, x5)  =  U27_ga(x1, x5)
U28_ga(x1, x2, x3, x4, x5)  =  U28_ga(x5)
U29_ga(x1, x2, x3, x4, x5, x6)  =  U29_ga(x1, x6)
U30_ga(x1, x2, x3, x4, x5)  =  U30_ga(x5)
U31_ga(x1, x2, x3)  =  U31_ga(x3)
U32_ga(x1, x2, x3)  =  U32_ga(x1, x3)
U33_ga(x1, x2, x3)  =  U33_ga(x3)
U34_ga(x1, x2, x3, x4)  =  U34_ga(x1, x3, x4)
U35_ga(x1, x2, x3)  =  U35_ga(x3)
app54_in_ggga(x1, x2, x3, x4)  =  app54_in_ggga(x1, x2, x3)
U15_ggga(x1, x2, x3, x4, x5, x6)  =  U15_ggga(x1, x6)
app54_out_ggga(x1, x2, x3, x4)  =  app54_out_ggga(x4)

Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog

(134) Obligation:

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

qs1_in_ga(.(T22, .(T23, T24)), T9) → U19_ga(T22, T23, T24, T9, gt10_in_gg(T22, T23))
gt10_in_gg(s(T37), s(T38)) → U1_gg(T37, T38, gt10_in_gg(T37, T38))
gt10_in_gg(s(0), 0) → gt10_out_gg(s(0), 0)
U1_gg(T37, T38, gt10_out_gg(T37, T38)) → gt10_out_gg(s(T37), s(T38))
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U20_ga(T22, T23, T24, T9, part20_in_ggaa(T22, T24, X47, X48))
part20_in_ggaa(T61, .(T62, T63), .(T62, X119), X120) → U2_ggaa(T61, T62, T63, X119, X120, gt10_in_gg(T61, T62))
U2_ggaa(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → part20_out_ggaa(T61, .(T62, T63), .(T62, X119), X120)
U2_ggaa(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → U3_ggaa(T61, T62, T63, X119, X120, part20_in_ggaa(T61, T63, X119, X120))
part20_in_ggaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_ggaa(T83, T84, T85, X170, X171, le33_in_gg(T83, T84))
le33_in_gg(s(T98), s(T99)) → U6_gg(T98, T99, le33_in_gg(T98, T99))
le33_in_gg(0, s(T106)) → le33_out_gg(0, s(T106))
le33_in_gg(0, 0) → le33_out_gg(0, 0)
U6_gg(T98, T99, le33_out_gg(T98, T99)) → le33_out_gg(s(T98), s(T99))
U4_ggaa(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → part20_out_ggaa(T83, .(T84, T85), X170, .(T84, X171))
U4_ggaa(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → U5_ggaa(T83, T84, T85, X170, X171, part20_in_ggaa(T83, T85, X170, X171))
part20_in_ggaa(T112, [], [], []) → part20_out_ggaa(T112, [], [], [])
U5_ggaa(T83, T84, T85, X170, X171, part20_out_ggaa(T83, T85, X170, X171)) → part20_out_ggaa(T83, .(T84, T85), X170, .(T84, X171))
U3_ggaa(T61, T62, T63, X119, X120, part20_out_ggaa(T61, T63, X119, X120)) → part20_out_ggaa(T61, .(T62, T63), .(T62, X119), X120)
U20_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, X47, X48)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U21_ga(T22, T23, T24, T9, part20_in_ggaa(T22, T24, T44, T45))
U21_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U22_ga(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
qs1_in_aa(.(T22, .(T23, T24)), T9) → U19_aa(T22, T23, T24, T9, gt10_in_aa(T22, T23))
gt10_in_aa(s(T37), s(T38)) → U1_aa(T37, T38, gt10_in_aa(T37, T38))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U1_aa(T37, T38, gt10_out_aa(T37, T38)) → gt10_out_aa(s(T37), s(T38))
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U20_aa(T22, T23, T24, T9, part20_in_gaaa(T22, T24, X47, X48))
part20_in_gaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_gaaa(T61, T62, T63, X119, X120, gt10_in_ga(T61, T62))
gt10_in_ga(s(T37), s(T38)) → U1_ga(T37, T38, gt10_in_ga(T37, T38))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U1_ga(T37, T38, gt10_out_ga(T37, T38)) → gt10_out_ga(s(T37), s(T38))
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → U3_gaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
part20_in_gaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_gaaa(T83, T84, T85, X170, X171, le33_in_ga(T83, T84))
le33_in_ga(s(T98), s(T99)) → U6_ga(T98, T99, le33_in_ga(T98, T99))
le33_in_ga(0, s(T106)) → le33_out_ga(0, s(T106))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U6_ga(T98, T99, le33_out_ga(T98, T99)) → le33_out_ga(s(T98), s(T99))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → U5_gaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
part20_in_gaaa(T112, [], [], []) → part20_out_gaaa(T112, [], [], [])
U5_gaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U3_gaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U20_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, X47, X48)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U21_aa(T22, T23, T24, T9, part20_in_gaaa(T22, T24, T44, T45))
U21_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U22_aa(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
qs1_in_aa(.(T239, .(T240, T241)), T9) → U25_aa(T239, T240, T241, T9, le33_in_aa(T239, T240))
le33_in_aa(s(T98), s(T99)) → U6_aa(T98, T99, le33_in_aa(T98, T99))
le33_in_aa(0, s(T106)) → le33_out_aa(0, s(T106))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U6_aa(T98, T99, le33_out_aa(T98, T99)) → le33_out_aa(s(T98), s(T99))
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U26_aa(T239, T240, T241, T9, part20_in_gaaa(T239, T241, X437, X438))
U26_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, X437, X438)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U27_aa(T239, T240, T241, T9, part20_in_gaaa(T239, T241, T249, T250))
U27_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U28_aa(T239, T240, T241, T9, qs53_in_aa(T249, X9))
qs53_in_aa(.(T131, T132), X275) → U7_aa(T131, T132, X275, part20_in_aaaa(T131, T132, X271, X272))
part20_in_aaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_aaaa(T61, T62, T63, X119, X120, gt10_in_aa(T61, T62))
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → U3_aaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
U3_aaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
part20_in_aaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_aaaa(T83, T84, T85, X170, X171, le33_in_aa(T83, T84))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → U5_aaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
U5_aaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
part20_in_aaaa(T112, [], [], []) → part20_out_aaaa(T112, [], [], [])
U7_aa(T131, T132, X275, part20_out_aaaa(T131, T132, X271, X272)) → qs53_out_aa(.(T131, T132), X275)
qs53_in_aa(.(T131, T132), X275) → U8_aa(T131, T132, X275, part20_in_aaaa(T131, T132, T136, T137))
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U9_aa(T131, T132, X275, qs53_in_aa(T136, X273))
qs53_in_aa([], []) → qs53_out_aa([], [])
U9_aa(T131, T132, X275, qs53_out_aa(T136, X273)) → qs53_out_aa(.(T131, T132), X275)
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U10_aa(T131, T132, X275, T137, qs53_in_aa(T136, T143))
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U11_aa(T131, T132, X275, qs53_in_aa(T137, X274))
U11_aa(T131, T132, X275, qs53_out_aa(T137, X274)) → qs53_out_aa(.(T131, T132), X275)
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U12_aa(T131, T132, X275, T143, qs53_in_aa(T137, T148))
U12_aa(T131, T132, X275, T143, qs53_out_aa(T137, T148)) → U13_aa(T131, T132, X275, app65_in_aaaa(T143, T131, T148, X275))
app65_in_aaaa(.(T171, T172), T173, T174, .(T171, X354)) → U14_aaaa(T171, T172, T173, T174, X354, app65_in_aaaa(T172, T173, T174, X354))
app65_in_aaaa([], T183, T184, .(T183, T184)) → app65_out_aaaa([], T183, T184, .(T183, T184))
U14_aaaa(T171, T172, T173, T174, X354, app65_out_aaaa(T172, T173, T174, X354)) → app65_out_aaaa(.(T171, T172), T173, T174, .(T171, X354))
U13_aa(T131, T132, X275, app65_out_aaaa(T143, T131, T148, X275)) → qs53_out_aa(.(T131, T132), X275)
U28_aa(T239, T240, T241, T9, qs53_out_aa(T249, X9)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U27_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U29_aa(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_aa(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_aa(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
p52_in_aaaga(T45, X10, T115, T22, T9) → U16_aaaga(T45, X10, T115, T22, T9, qs53_in_aa(T45, X10))
U16_aaaga(T45, X10, T115, T22, T9, qs53_out_aa(T45, X10)) → p52_out_aaaga(T45, X10, T115, T22, T9)
p52_in_aaaga(T45, T120, T115, T22, T9) → U17_aaaga(T45, T120, T115, T22, T9, qs53_in_aa(T45, T120))
U17_aaaga(T45, T120, T115, T22, T9, qs53_out_aa(T45, T120)) → U18_aaaga(T45, T120, T115, T22, T9, app54_in_agaa(T115, T22, T120, T9))
app54_in_agaa(.(T210, T211), T212, T213, .(T210, T215)) → U15_agaa(T210, T211, T212, T213, T215, app54_in_agaa(T211, T212, T213, T215))
app54_in_agaa([], T225, T226, .(T225, T226)) → app54_out_agaa([], T225, T226, .(T225, T226))
U15_agaa(T210, T211, T212, T213, T215, app54_out_agaa(T211, T212, T213, T215)) → app54_out_agaa(.(T210, T211), T212, T213, .(T210, T215))
U18_aaaga(T45, T120, T115, T22, T9, app54_out_agaa(T115, T22, T120, T9)) → p52_out_aaaga(T45, T120, T115, T22, T9)
U30_aa(T239, T240, T241, T9, p52_out_aaaga(.(T240, T250), X10, T256, T239, T9)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
qs1_in_aa(.(T265, []), T9) → U31_aa(T265, T9, qs99_in_a(X9))
qs99_in_a([]) → qs99_out_a([])
U31_aa(T265, T9, qs99_out_a(X9)) → qs1_out_aa(.(T265, []), T9)
qs1_in_aa(.(T265, []), T9) → U32_aa(T265, T9, qs99_in_a(T268))
U32_aa(T265, T9, qs99_out_a(T268)) → U33_aa(T265, T9, qs99_in_a(X10))
U33_aa(T265, T9, qs99_out_a(X10)) → qs1_out_aa(.(T265, []), T9)
U32_aa(T265, T9, qs99_out_a(T268)) → U34_aa(T265, T9, T268, qs99_in_a(T273))
U34_aa(T265, T9, T268, qs99_out_a(T273)) → U35_aa(T265, T9, app54_in_gaga(T268, T265, T273, T9))
app54_in_gaga(.(T210, T211), T212, T213, .(T210, T215)) → U15_gaga(T210, T211, T212, T213, T215, app54_in_gaga(T211, T212, T213, T215))
app54_in_gaga([], T225, T226, .(T225, T226)) → app54_out_gaga([], T225, T226, .(T225, T226))
U15_gaga(T210, T211, T212, T213, T215, app54_out_gaga(T211, T212, T213, T215)) → app54_out_gaga(.(T210, T211), T212, T213, .(T210, T215))
U35_aa(T265, T9, app54_out_gaga(T268, T265, T273, T9)) → qs1_out_aa(.(T265, []), T9)
qs1_in_aa([], []) → qs1_out_aa([], [])
U22_aa(T22, T23, T24, T9, qs1_out_aa(.(T23, T44), X9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U21_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U23_aa(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_aa(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_aa(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U24_aa(T22, T23, T24, T9, p52_out_aaaga(T45, X10, T115, T22, T9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U22_ga(T22, T23, T24, T9, qs1_out_aa(.(T23, T44), X9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U21_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U23_ga(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_ga(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_ga(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U24_ga(T22, T23, T24, T9, p52_out_aaaga(T45, X10, T115, T22, T9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
qs1_in_ga(.(T239, .(T240, T241)), T9) → U25_ga(T239, T240, T241, T9, le33_in_gg(T239, T240))
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U26_ga(T239, T240, T241, T9, part20_in_ggaa(T239, T241, X437, X438))
U26_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, X437, X438)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U27_ga(T239, T240, T241, T9, part20_in_ggaa(T239, T241, T249, T250))
U27_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U28_ga(T239, T240, T241, T9, qs53_in_aa(T249, X9))
U28_ga(T239, T240, T241, T9, qs53_out_aa(T249, X9)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U27_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U29_ga(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_ga(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_ga(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
U30_ga(T239, T240, T241, T9, p52_out_aaaga(.(T240, T250), X10, T256, T239, T9)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
qs1_in_ga(.(T265, []), T9) → U31_ga(T265, T9, qs99_in_a(X9))
U31_ga(T265, T9, qs99_out_a(X9)) → qs1_out_ga(.(T265, []), T9)
qs1_in_ga(.(T265, []), T9) → U32_ga(T265, T9, qs99_in_a(T268))
U32_ga(T265, T9, qs99_out_a(T268)) → U33_ga(T265, T9, qs99_in_a(X10))
U33_ga(T265, T9, qs99_out_a(X10)) → qs1_out_ga(.(T265, []), T9)
U32_ga(T265, T9, qs99_out_a(T268)) → U34_ga(T265, T9, T268, qs99_in_a(T273))
U34_ga(T265, T9, T268, qs99_out_a(T273)) → U35_ga(T265, T9, app54_in_ggga(T268, T265, T273, T9))
app54_in_ggga(.(T210, T211), T212, T213, .(T210, T215)) → U15_ggga(T210, T211, T212, T213, T215, app54_in_ggga(T211, T212, T213, T215))
app54_in_ggga([], T225, T226, .(T225, T226)) → app54_out_ggga([], T225, T226, .(T225, T226))
U15_ggga(T210, T211, T212, T213, T215, app54_out_ggga(T211, T212, T213, T215)) → app54_out_ggga(.(T210, T211), T212, T213, .(T210, T215))
U35_ga(T265, T9, app54_out_ggga(T268, T265, T273, T9)) → qs1_out_ga(.(T265, []), T9)
qs1_in_ga([], []) → qs1_out_ga([], [])

The argument filtering Pi contains the following mapping:
qs1_in_ga(x1, x2)  =  qs1_in_ga(x1)
.(x1, x2)  =  .(x1, x2)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x3, x5)
gt10_in_gg(x1, x2)  =  gt10_in_gg(x1, x2)
s(x1)  =  s(x1)
U1_gg(x1, x2, x3)  =  U1_gg(x3)
0  =  0
gt10_out_gg(x1, x2)  =  gt10_out_gg
qs1_out_ga(x1, x2)  =  qs1_out_ga
U20_ga(x1, x2, x3, x4, x5)  =  U20_ga(x5)
part20_in_ggaa(x1, x2, x3, x4)  =  part20_in_ggaa(x1, x2)
U2_ggaa(x1, x2, x3, x4, x5, x6)  =  U2_ggaa(x1, x3, x6)
part20_out_ggaa(x1, x2, x3, x4)  =  part20_out_ggaa
U3_ggaa(x1, x2, x3, x4, x5, x6)  =  U3_ggaa(x6)
U4_ggaa(x1, x2, x3, x4, x5, x6)  =  U4_ggaa(x1, x3, x6)
le33_in_gg(x1, x2)  =  le33_in_gg(x1, x2)
U6_gg(x1, x2, x3)  =  U6_gg(x3)
le33_out_gg(x1, x2)  =  le33_out_gg
U5_ggaa(x1, x2, x3, x4, x5, x6)  =  U5_ggaa(x6)
[]  =  []
U21_ga(x1, x2, x3, x4, x5)  =  U21_ga(x1, x5)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x5)
qs1_in_aa(x1, x2)  =  qs1_in_aa
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(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_aa(x1, x2)  =  qs1_out_aa
U20_aa(x1, x2, x3, x4, x5)  =  U20_aa(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(x3)
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(x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x1, x6)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U6_ga(x1, x2, x3)  =  U6_ga(x3)
le33_out_ga(x1, x2)  =  le33_out_ga
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x6)
U21_aa(x1, x2, x3, x4, x5)  =  U21_aa(x1, x5)
U22_aa(x1, x2, x3, x4, x5)  =  U22_aa(x5)
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
le33_in_aa(x1, x2)  =  le33_in_aa
U6_aa(x1, x2, x3)  =  U6_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
U26_aa(x1, x2, x3, x4, x5)  =  U26_aa(x5)
U27_aa(x1, x2, x3, x4, x5)  =  U27_aa(x1, x5)
U28_aa(x1, x2, x3, x4, x5)  =  U28_aa(x5)
qs53_in_aa(x1, x2)  =  qs53_in_aa
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
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)
qs53_out_aa(x1, x2)  =  qs53_out_aa
U8_aa(x1, x2, x3, x4)  =  U8_aa(x4)
U9_aa(x1, x2, x3, x4)  =  U9_aa(x4)
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4)  =  U11_aa(x4)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4)  =  U13_aa(x4)
app65_in_aaaa(x1, x2, x3, x4)  =  app65_in_aaaa
U14_aaaa(x1, x2, x3, x4, x5, x6)  =  U14_aaaa(x6)
app65_out_aaaa(x1, x2, x3, x4)  =  app65_out_aaaa
U29_aa(x1, x2, x3, x4, x5, x6)  =  U29_aa(x1, x6)
U30_aa(x1, x2, x3, x4, x5)  =  U30_aa(x5)
p52_in_aaaga(x1, x2, x3, x4, x5)  =  p52_in_aaaga(x4)
U16_aaaga(x1, x2, x3, x4, x5, x6)  =  U16_aaaga(x6)
p52_out_aaaga(x1, x2, x3, x4, x5)  =  p52_out_aaaga
U17_aaaga(x1, x2, x3, x4, x5, x6)  =  U17_aaaga(x4, x6)
U18_aaaga(x1, x2, x3, x4, x5, x6)  =  U18_aaaga(x6)
app54_in_agaa(x1, x2, x3, x4)  =  app54_in_agaa(x2)
U15_agaa(x1, x2, x3, x4, x5, x6)  =  U15_agaa(x6)
app54_out_agaa(x1, x2, x3, x4)  =  app54_out_agaa
U31_aa(x1, x2, x3)  =  U31_aa(x3)
qs99_in_a(x1)  =  qs99_in_a
qs99_out_a(x1)  =  qs99_out_a(x1)
U32_aa(x1, x2, x3)  =  U32_aa(x3)
U33_aa(x1, x2, x3)  =  U33_aa(x3)
U34_aa(x1, x2, x3, x4)  =  U34_aa(x3, x4)
U35_aa(x1, x2, x3)  =  U35_aa(x3)
app54_in_gaga(x1, x2, x3, x4)  =  app54_in_gaga(x1, x3)
U15_gaga(x1, x2, x3, x4, x5, x6)  =  U15_gaga(x6)
app54_out_gaga(x1, x2, x3, x4)  =  app54_out_gaga
U23_aa(x1, x2, x3, x4, x5, x6)  =  U23_aa(x1, x6)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U23_ga(x1, x2, x3, x4, x5, x6)  =  U23_ga(x1, x6)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x5)
U25_ga(x1, x2, x3, x4, x5)  =  U25_ga(x1, x3, x5)
U26_ga(x1, x2, x3, x4, x5)  =  U26_ga(x5)
U27_ga(x1, x2, x3, x4, x5)  =  U27_ga(x1, x5)
U28_ga(x1, x2, x3, x4, x5)  =  U28_ga(x5)
U29_ga(x1, x2, x3, x4, x5, x6)  =  U29_ga(x1, x6)
U30_ga(x1, x2, x3, x4, x5)  =  U30_ga(x5)
U31_ga(x1, x2, x3)  =  U31_ga(x3)
U32_ga(x1, x2, x3)  =  U32_ga(x1, x3)
U33_ga(x1, x2, x3)  =  U33_ga(x3)
U34_ga(x1, x2, x3, x4)  =  U34_ga(x1, x3, x4)
U35_ga(x1, x2, x3)  =  U35_ga(x3)
app54_in_ggga(x1, x2, x3, x4)  =  app54_in_ggga(x1, x2, x3)
U15_ggga(x1, x2, x3, x4, x5, x6)  =  U15_ggga(x1, x6)
app54_out_ggga(x1, x2, x3, x4)  =  app54_out_ggga(x4)

(135) 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_GA(.(T22, .(T23, T24)), T9) → U19_GA(T22, T23, T24, T9, gt10_in_gg(T22, T23))
QS1_IN_GA(.(T22, .(T23, T24)), T9) → GT10_IN_GG(T22, T23)
GT10_IN_GG(s(T37), s(T38)) → U1_GG(T37, T38, gt10_in_gg(T37, T38))
GT10_IN_GG(s(T37), s(T38)) → GT10_IN_GG(T37, T38)
U19_GA(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U20_GA(T22, T23, T24, T9, part20_in_ggaa(T22, T24, X47, X48))
U19_GA(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → PART20_IN_GGAA(T22, T24, X47, X48)
PART20_IN_GGAA(T61, .(T62, T63), .(T62, X119), X120) → U2_GGAA(T61, T62, T63, X119, X120, gt10_in_gg(T61, T62))
PART20_IN_GGAA(T61, .(T62, T63), .(T62, X119), X120) → GT10_IN_GG(T61, T62)
U2_GGAA(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → U3_GGAA(T61, T62, T63, X119, X120, part20_in_ggaa(T61, T63, X119, X120))
U2_GGAA(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → PART20_IN_GGAA(T61, T63, X119, X120)
PART20_IN_GGAA(T83, .(T84, T85), X170, .(T84, X171)) → U4_GGAA(T83, T84, T85, X170, X171, le33_in_gg(T83, T84))
PART20_IN_GGAA(T83, .(T84, T85), X170, .(T84, X171)) → LE33_IN_GG(T83, T84)
LE33_IN_GG(s(T98), s(T99)) → U6_GG(T98, T99, le33_in_gg(T98, T99))
LE33_IN_GG(s(T98), s(T99)) → LE33_IN_GG(T98, T99)
U4_GGAA(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → U5_GGAA(T83, T84, T85, X170, X171, part20_in_ggaa(T83, T85, X170, X171))
U4_GGAA(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → PART20_IN_GGAA(T83, T85, X170, X171)
U19_GA(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U21_GA(T22, T23, T24, T9, part20_in_ggaa(T22, T24, T44, T45))
U21_GA(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U22_GA(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
U21_GA(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → QS1_IN_AA(.(T23, T44), X9)
QS1_IN_AA(.(T22, .(T23, T24)), T9) → U19_AA(T22, T23, T24, T9, gt10_in_aa(T22, T23))
QS1_IN_AA(.(T22, .(T23, T24)), T9) → GT10_IN_AA(T22, T23)
GT10_IN_AA(s(T37), s(T38)) → U1_AA(T37, T38, gt10_in_aa(T37, T38))
GT10_IN_AA(s(T37), s(T38)) → GT10_IN_AA(T37, T38)
U19_AA(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U20_AA(T22, T23, T24, T9, part20_in_gaaa(T22, T24, X47, X48))
U19_AA(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → PART20_IN_GAAA(T22, T24, X47, X48)
PART20_IN_GAAA(T61, .(T62, T63), .(T62, X119), X120) → U2_GAAA(T61, T62, T63, X119, X120, gt10_in_ga(T61, T62))
PART20_IN_GAAA(T61, .(T62, T63), .(T62, X119), X120) → GT10_IN_GA(T61, T62)
GT10_IN_GA(s(T37), s(T38)) → U1_GA(T37, T38, gt10_in_ga(T37, T38))
GT10_IN_GA(s(T37), s(T38)) → GT10_IN_GA(T37, T38)
U2_GAAA(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → U3_GAAA(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
U2_GAAA(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → PART20_IN_GAAA(T61, T63, X119, X120)
PART20_IN_GAAA(T83, .(T84, T85), X170, .(T84, X171)) → U4_GAAA(T83, T84, T85, X170, X171, le33_in_ga(T83, T84))
PART20_IN_GAAA(T83, .(T84, T85), X170, .(T84, X171)) → LE33_IN_GA(T83, T84)
LE33_IN_GA(s(T98), s(T99)) → U6_GA(T98, T99, le33_in_ga(T98, T99))
LE33_IN_GA(s(T98), s(T99)) → LE33_IN_GA(T98, T99)
U4_GAAA(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → U5_GAAA(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
U4_GAAA(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → PART20_IN_GAAA(T83, T85, X170, X171)
U19_AA(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U21_AA(T22, T23, T24, T9, part20_in_gaaa(T22, T24, T44, T45))
U21_AA(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U22_AA(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
U21_AA(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → QS1_IN_AA(.(T23, T44), X9)
QS1_IN_AA(.(T239, .(T240, T241)), T9) → U25_AA(T239, T240, T241, T9, le33_in_aa(T239, T240))
QS1_IN_AA(.(T239, .(T240, T241)), T9) → LE33_IN_AA(T239, T240)
LE33_IN_AA(s(T98), s(T99)) → U6_AA(T98, T99, le33_in_aa(T98, T99))
LE33_IN_AA(s(T98), s(T99)) → LE33_IN_AA(T98, T99)
U25_AA(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U26_AA(T239, T240, T241, T9, part20_in_gaaa(T239, T241, X437, X438))
U25_AA(T239, T240, T241, T9, le33_out_aa(T239, T240)) → PART20_IN_GAAA(T239, T241, X437, X438)
U25_AA(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U27_AA(T239, T240, T241, T9, part20_in_gaaa(T239, T241, T249, T250))
U27_AA(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U28_AA(T239, T240, T241, T9, qs53_in_aa(T249, X9))
U27_AA(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → QS53_IN_AA(T249, X9)
QS53_IN_AA(.(T131, T132), X275) → U7_AA(T131, T132, X275, part20_in_aaaa(T131, T132, X271, X272))
QS53_IN_AA(.(T131, T132), X275) → PART20_IN_AAAA(T131, T132, X271, X272)
PART20_IN_AAAA(T61, .(T62, T63), .(T62, X119), X120) → U2_AAAA(T61, T62, T63, X119, X120, gt10_in_aa(T61, T62))
PART20_IN_AAAA(T61, .(T62, T63), .(T62, X119), X120) → GT10_IN_AA(T61, T62)
U2_AAAA(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → U3_AAAA(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
U2_AAAA(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → PART20_IN_GAAA(T61, T63, X119, X120)
PART20_IN_AAAA(T83, .(T84, T85), X170, .(T84, X171)) → U4_AAAA(T83, T84, T85, X170, X171, le33_in_aa(T83, T84))
PART20_IN_AAAA(T83, .(T84, T85), X170, .(T84, X171)) → LE33_IN_AA(T83, T84)
U4_AAAA(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → U5_AAAA(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
U4_AAAA(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → PART20_IN_GAAA(T83, T85, X170, X171)
QS53_IN_AA(.(T131, T132), X275) → U8_AA(T131, T132, X275, part20_in_aaaa(T131, T132, T136, T137))
U8_AA(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U9_AA(T131, T132, X275, qs53_in_aa(T136, X273))
U8_AA(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → QS53_IN_AA(T136, X273)
U8_AA(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U10_AA(T131, T132, X275, T137, qs53_in_aa(T136, T143))
U10_AA(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U11_AA(T131, T132, X275, qs53_in_aa(T137, X274))
U10_AA(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → QS53_IN_AA(T137, X274)
U10_AA(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U12_AA(T131, T132, X275, T143, qs53_in_aa(T137, T148))
U12_AA(T131, T132, X275, T143, qs53_out_aa(T137, T148)) → U13_AA(T131, T132, X275, app65_in_aaaa(T143, T131, T148, X275))
U12_AA(T131, T132, X275, T143, qs53_out_aa(T137, T148)) → APP65_IN_AAAA(T143, T131, T148, X275)
APP65_IN_AAAA(.(T171, T172), T173, T174, .(T171, X354)) → U14_AAAA(T171, T172, T173, T174, X354, app65_in_aaaa(T172, T173, T174, X354))
APP65_IN_AAAA(.(T171, T172), T173, T174, .(T171, X354)) → APP65_IN_AAAA(T172, T173, T174, X354)
U27_AA(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U29_AA(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_AA(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_AA(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
U29_AA(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → P52_IN_AAAGA(.(T240, T250), X10, T256, T239, T9)
P52_IN_AAAGA(T45, X10, T115, T22, T9) → U16_AAAGA(T45, X10, T115, T22, T9, qs53_in_aa(T45, X10))
P52_IN_AAAGA(T45, X10, T115, T22, T9) → QS53_IN_AA(T45, X10)
P52_IN_AAAGA(T45, T120, T115, T22, T9) → U17_AAAGA(T45, T120, T115, T22, T9, qs53_in_aa(T45, T120))
U17_AAAGA(T45, T120, T115, T22, T9, qs53_out_aa(T45, T120)) → U18_AAAGA(T45, T120, T115, T22, T9, app54_in_agaa(T115, T22, T120, T9))
U17_AAAGA(T45, T120, T115, T22, T9, qs53_out_aa(T45, T120)) → APP54_IN_AGAA(T115, T22, T120, T9)
APP54_IN_AGAA(.(T210, T211), T212, T213, .(T210, T215)) → U15_AGAA(T210, T211, T212, T213, T215, app54_in_agaa(T211, T212, T213, T215))
APP54_IN_AGAA(.(T210, T211), T212, T213, .(T210, T215)) → APP54_IN_AGAA(T211, T212, T213, T215)
QS1_IN_AA(.(T265, []), T9) → U31_AA(T265, T9, qs99_in_a(X9))
QS1_IN_AA(.(T265, []), T9) → QS99_IN_A(X9)
QS1_IN_AA(.(T265, []), T9) → U32_AA(T265, T9, qs99_in_a(T268))
U32_AA(T265, T9, qs99_out_a(T268)) → U33_AA(T265, T9, qs99_in_a(X10))
U32_AA(T265, T9, qs99_out_a(T268)) → QS99_IN_A(X10)
U32_AA(T265, T9, qs99_out_a(T268)) → U34_AA(T265, T9, T268, qs99_in_a(T273))
U34_AA(T265, T9, T268, qs99_out_a(T273)) → U35_AA(T265, T9, app54_in_gaga(T268, T265, T273, T9))
U34_AA(T265, T9, T268, qs99_out_a(T273)) → APP54_IN_GAGA(T268, T265, T273, T9)
APP54_IN_GAGA(.(T210, T211), T212, T213, .(T210, T215)) → U15_GAGA(T210, T211, T212, T213, T215, app54_in_gaga(T211, T212, T213, T215))
APP54_IN_GAGA(.(T210, T211), T212, T213, .(T210, T215)) → APP54_IN_GAGA(T211, T212, T213, T215)
U21_AA(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U23_AA(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_AA(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_AA(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U23_AA(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → P52_IN_AAAGA(T45, X10, T115, T22, T9)
U21_GA(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U23_GA(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_GA(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_GA(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U23_GA(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → P52_IN_AAAGA(T45, X10, T115, T22, T9)
QS1_IN_GA(.(T239, .(T240, T241)), T9) → U25_GA(T239, T240, T241, T9, le33_in_gg(T239, T240))
QS1_IN_GA(.(T239, .(T240, T241)), T9) → LE33_IN_GG(T239, T240)
U25_GA(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U26_GA(T239, T240, T241, T9, part20_in_ggaa(T239, T241, X437, X438))
U25_GA(T239, T240, T241, T9, le33_out_gg(T239, T240)) → PART20_IN_GGAA(T239, T241, X437, X438)
U25_GA(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U27_GA(T239, T240, T241, T9, part20_in_ggaa(T239, T241, T249, T250))
U27_GA(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U28_GA(T239, T240, T241, T9, qs53_in_aa(T249, X9))
U27_GA(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → QS53_IN_AA(T249, X9)
U27_GA(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U29_GA(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_GA(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_GA(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
U29_GA(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → P52_IN_AAAGA(.(T240, T250), X10, T256, T239, T9)
QS1_IN_GA(.(T265, []), T9) → U31_GA(T265, T9, qs99_in_a(X9))
QS1_IN_GA(.(T265, []), T9) → QS99_IN_A(X9)
QS1_IN_GA(.(T265, []), T9) → U32_GA(T265, T9, qs99_in_a(T268))
U32_GA(T265, T9, qs99_out_a(T268)) → U33_GA(T265, T9, qs99_in_a(X10))
U32_GA(T265, T9, qs99_out_a(T268)) → QS99_IN_A(X10)
U32_GA(T265, T9, qs99_out_a(T268)) → U34_GA(T265, T9, T268, qs99_in_a(T273))
U34_GA(T265, T9, T268, qs99_out_a(T273)) → U35_GA(T265, T9, app54_in_ggga(T268, T265, T273, T9))
U34_GA(T265, T9, T268, qs99_out_a(T273)) → APP54_IN_GGGA(T268, T265, T273, T9)
APP54_IN_GGGA(.(T210, T211), T212, T213, .(T210, T215)) → U15_GGGA(T210, T211, T212, T213, T215, app54_in_ggga(T211, T212, T213, T215))
APP54_IN_GGGA(.(T210, T211), T212, T213, .(T210, T215)) → APP54_IN_GGGA(T211, T212, T213, T215)

The TRS R consists of the following rules:

qs1_in_ga(.(T22, .(T23, T24)), T9) → U19_ga(T22, T23, T24, T9, gt10_in_gg(T22, T23))
gt10_in_gg(s(T37), s(T38)) → U1_gg(T37, T38, gt10_in_gg(T37, T38))
gt10_in_gg(s(0), 0) → gt10_out_gg(s(0), 0)
U1_gg(T37, T38, gt10_out_gg(T37, T38)) → gt10_out_gg(s(T37), s(T38))
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U20_ga(T22, T23, T24, T9, part20_in_ggaa(T22, T24, X47, X48))
part20_in_ggaa(T61, .(T62, T63), .(T62, X119), X120) → U2_ggaa(T61, T62, T63, X119, X120, gt10_in_gg(T61, T62))
U2_ggaa(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → part20_out_ggaa(T61, .(T62, T63), .(T62, X119), X120)
U2_ggaa(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → U3_ggaa(T61, T62, T63, X119, X120, part20_in_ggaa(T61, T63, X119, X120))
part20_in_ggaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_ggaa(T83, T84, T85, X170, X171, le33_in_gg(T83, T84))
le33_in_gg(s(T98), s(T99)) → U6_gg(T98, T99, le33_in_gg(T98, T99))
le33_in_gg(0, s(T106)) → le33_out_gg(0, s(T106))
le33_in_gg(0, 0) → le33_out_gg(0, 0)
U6_gg(T98, T99, le33_out_gg(T98, T99)) → le33_out_gg(s(T98), s(T99))
U4_ggaa(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → part20_out_ggaa(T83, .(T84, T85), X170, .(T84, X171))
U4_ggaa(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → U5_ggaa(T83, T84, T85, X170, X171, part20_in_ggaa(T83, T85, X170, X171))
part20_in_ggaa(T112, [], [], []) → part20_out_ggaa(T112, [], [], [])
U5_ggaa(T83, T84, T85, X170, X171, part20_out_ggaa(T83, T85, X170, X171)) → part20_out_ggaa(T83, .(T84, T85), X170, .(T84, X171))
U3_ggaa(T61, T62, T63, X119, X120, part20_out_ggaa(T61, T63, X119, X120)) → part20_out_ggaa(T61, .(T62, T63), .(T62, X119), X120)
U20_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, X47, X48)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U21_ga(T22, T23, T24, T9, part20_in_ggaa(T22, T24, T44, T45))
U21_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U22_ga(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
qs1_in_aa(.(T22, .(T23, T24)), T9) → U19_aa(T22, T23, T24, T9, gt10_in_aa(T22, T23))
gt10_in_aa(s(T37), s(T38)) → U1_aa(T37, T38, gt10_in_aa(T37, T38))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U1_aa(T37, T38, gt10_out_aa(T37, T38)) → gt10_out_aa(s(T37), s(T38))
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U20_aa(T22, T23, T24, T9, part20_in_gaaa(T22, T24, X47, X48))
part20_in_gaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_gaaa(T61, T62, T63, X119, X120, gt10_in_ga(T61, T62))
gt10_in_ga(s(T37), s(T38)) → U1_ga(T37, T38, gt10_in_ga(T37, T38))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U1_ga(T37, T38, gt10_out_ga(T37, T38)) → gt10_out_ga(s(T37), s(T38))
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → U3_gaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
part20_in_gaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_gaaa(T83, T84, T85, X170, X171, le33_in_ga(T83, T84))
le33_in_ga(s(T98), s(T99)) → U6_ga(T98, T99, le33_in_ga(T98, T99))
le33_in_ga(0, s(T106)) → le33_out_ga(0, s(T106))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U6_ga(T98, T99, le33_out_ga(T98, T99)) → le33_out_ga(s(T98), s(T99))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → U5_gaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
part20_in_gaaa(T112, [], [], []) → part20_out_gaaa(T112, [], [], [])
U5_gaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U3_gaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U20_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, X47, X48)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U21_aa(T22, T23, T24, T9, part20_in_gaaa(T22, T24, T44, T45))
U21_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U22_aa(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
qs1_in_aa(.(T239, .(T240, T241)), T9) → U25_aa(T239, T240, T241, T9, le33_in_aa(T239, T240))
le33_in_aa(s(T98), s(T99)) → U6_aa(T98, T99, le33_in_aa(T98, T99))
le33_in_aa(0, s(T106)) → le33_out_aa(0, s(T106))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U6_aa(T98, T99, le33_out_aa(T98, T99)) → le33_out_aa(s(T98), s(T99))
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U26_aa(T239, T240, T241, T9, part20_in_gaaa(T239, T241, X437, X438))
U26_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, X437, X438)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U27_aa(T239, T240, T241, T9, part20_in_gaaa(T239, T241, T249, T250))
U27_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U28_aa(T239, T240, T241, T9, qs53_in_aa(T249, X9))
qs53_in_aa(.(T131, T132), X275) → U7_aa(T131, T132, X275, part20_in_aaaa(T131, T132, X271, X272))
part20_in_aaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_aaaa(T61, T62, T63, X119, X120, gt10_in_aa(T61, T62))
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → U3_aaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
U3_aaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
part20_in_aaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_aaaa(T83, T84, T85, X170, X171, le33_in_aa(T83, T84))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → U5_aaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
U5_aaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
part20_in_aaaa(T112, [], [], []) → part20_out_aaaa(T112, [], [], [])
U7_aa(T131, T132, X275, part20_out_aaaa(T131, T132, X271, X272)) → qs53_out_aa(.(T131, T132), X275)
qs53_in_aa(.(T131, T132), X275) → U8_aa(T131, T132, X275, part20_in_aaaa(T131, T132, T136, T137))
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U9_aa(T131, T132, X275, qs53_in_aa(T136, X273))
qs53_in_aa([], []) → qs53_out_aa([], [])
U9_aa(T131, T132, X275, qs53_out_aa(T136, X273)) → qs53_out_aa(.(T131, T132), X275)
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U10_aa(T131, T132, X275, T137, qs53_in_aa(T136, T143))
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U11_aa(T131, T132, X275, qs53_in_aa(T137, X274))
U11_aa(T131, T132, X275, qs53_out_aa(T137, X274)) → qs53_out_aa(.(T131, T132), X275)
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U12_aa(T131, T132, X275, T143, qs53_in_aa(T137, T148))
U12_aa(T131, T132, X275, T143, qs53_out_aa(T137, T148)) → U13_aa(T131, T132, X275, app65_in_aaaa(T143, T131, T148, X275))
app65_in_aaaa(.(T171, T172), T173, T174, .(T171, X354)) → U14_aaaa(T171, T172, T173, T174, X354, app65_in_aaaa(T172, T173, T174, X354))
app65_in_aaaa([], T183, T184, .(T183, T184)) → app65_out_aaaa([], T183, T184, .(T183, T184))
U14_aaaa(T171, T172, T173, T174, X354, app65_out_aaaa(T172, T173, T174, X354)) → app65_out_aaaa(.(T171, T172), T173, T174, .(T171, X354))
U13_aa(T131, T132, X275, app65_out_aaaa(T143, T131, T148, X275)) → qs53_out_aa(.(T131, T132), X275)
U28_aa(T239, T240, T241, T9, qs53_out_aa(T249, X9)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U27_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U29_aa(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_aa(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_aa(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
p52_in_aaaga(T45, X10, T115, T22, T9) → U16_aaaga(T45, X10, T115, T22, T9, qs53_in_aa(T45, X10))
U16_aaaga(T45, X10, T115, T22, T9, qs53_out_aa(T45, X10)) → p52_out_aaaga(T45, X10, T115, T22, T9)
p52_in_aaaga(T45, T120, T115, T22, T9) → U17_aaaga(T45, T120, T115, T22, T9, qs53_in_aa(T45, T120))
U17_aaaga(T45, T120, T115, T22, T9, qs53_out_aa(T45, T120)) → U18_aaaga(T45, T120, T115, T22, T9, app54_in_agaa(T115, T22, T120, T9))
app54_in_agaa(.(T210, T211), T212, T213, .(T210, T215)) → U15_agaa(T210, T211, T212, T213, T215, app54_in_agaa(T211, T212, T213, T215))
app54_in_agaa([], T225, T226, .(T225, T226)) → app54_out_agaa([], T225, T226, .(T225, T226))
U15_agaa(T210, T211, T212, T213, T215, app54_out_agaa(T211, T212, T213, T215)) → app54_out_agaa(.(T210, T211), T212, T213, .(T210, T215))
U18_aaaga(T45, T120, T115, T22, T9, app54_out_agaa(T115, T22, T120, T9)) → p52_out_aaaga(T45, T120, T115, T22, T9)
U30_aa(T239, T240, T241, T9, p52_out_aaaga(.(T240, T250), X10, T256, T239, T9)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
qs1_in_aa(.(T265, []), T9) → U31_aa(T265, T9, qs99_in_a(X9))
qs99_in_a([]) → qs99_out_a([])
U31_aa(T265, T9, qs99_out_a(X9)) → qs1_out_aa(.(T265, []), T9)
qs1_in_aa(.(T265, []), T9) → U32_aa(T265, T9, qs99_in_a(T268))
U32_aa(T265, T9, qs99_out_a(T268)) → U33_aa(T265, T9, qs99_in_a(X10))
U33_aa(T265, T9, qs99_out_a(X10)) → qs1_out_aa(.(T265, []), T9)
U32_aa(T265, T9, qs99_out_a(T268)) → U34_aa(T265, T9, T268, qs99_in_a(T273))
U34_aa(T265, T9, T268, qs99_out_a(T273)) → U35_aa(T265, T9, app54_in_gaga(T268, T265, T273, T9))
app54_in_gaga(.(T210, T211), T212, T213, .(T210, T215)) → U15_gaga(T210, T211, T212, T213, T215, app54_in_gaga(T211, T212, T213, T215))
app54_in_gaga([], T225, T226, .(T225, T226)) → app54_out_gaga([], T225, T226, .(T225, T226))
U15_gaga(T210, T211, T212, T213, T215, app54_out_gaga(T211, T212, T213, T215)) → app54_out_gaga(.(T210, T211), T212, T213, .(T210, T215))
U35_aa(T265, T9, app54_out_gaga(T268, T265, T273, T9)) → qs1_out_aa(.(T265, []), T9)
qs1_in_aa([], []) → qs1_out_aa([], [])
U22_aa(T22, T23, T24, T9, qs1_out_aa(.(T23, T44), X9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U21_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U23_aa(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_aa(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_aa(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U24_aa(T22, T23, T24, T9, p52_out_aaaga(T45, X10, T115, T22, T9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U22_ga(T22, T23, T24, T9, qs1_out_aa(.(T23, T44), X9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U21_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U23_ga(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_ga(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_ga(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U24_ga(T22, T23, T24, T9, p52_out_aaaga(T45, X10, T115, T22, T9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
qs1_in_ga(.(T239, .(T240, T241)), T9) → U25_ga(T239, T240, T241, T9, le33_in_gg(T239, T240))
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U26_ga(T239, T240, T241, T9, part20_in_ggaa(T239, T241, X437, X438))
U26_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, X437, X438)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U27_ga(T239, T240, T241, T9, part20_in_ggaa(T239, T241, T249, T250))
U27_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U28_ga(T239, T240, T241, T9, qs53_in_aa(T249, X9))
U28_ga(T239, T240, T241, T9, qs53_out_aa(T249, X9)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U27_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U29_ga(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_ga(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_ga(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
U30_ga(T239, T240, T241, T9, p52_out_aaaga(.(T240, T250), X10, T256, T239, T9)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
qs1_in_ga(.(T265, []), T9) → U31_ga(T265, T9, qs99_in_a(X9))
U31_ga(T265, T9, qs99_out_a(X9)) → qs1_out_ga(.(T265, []), T9)
qs1_in_ga(.(T265, []), T9) → U32_ga(T265, T9, qs99_in_a(T268))
U32_ga(T265, T9, qs99_out_a(T268)) → U33_ga(T265, T9, qs99_in_a(X10))
U33_ga(T265, T9, qs99_out_a(X10)) → qs1_out_ga(.(T265, []), T9)
U32_ga(T265, T9, qs99_out_a(T268)) → U34_ga(T265, T9, T268, qs99_in_a(T273))
U34_ga(T265, T9, T268, qs99_out_a(T273)) → U35_ga(T265, T9, app54_in_ggga(T268, T265, T273, T9))
app54_in_ggga(.(T210, T211), T212, T213, .(T210, T215)) → U15_ggga(T210, T211, T212, T213, T215, app54_in_ggga(T211, T212, T213, T215))
app54_in_ggga([], T225, T226, .(T225, T226)) → app54_out_ggga([], T225, T226, .(T225, T226))
U15_ggga(T210, T211, T212, T213, T215, app54_out_ggga(T211, T212, T213, T215)) → app54_out_ggga(.(T210, T211), T212, T213, .(T210, T215))
U35_ga(T265, T9, app54_out_ggga(T268, T265, T273, T9)) → qs1_out_ga(.(T265, []), T9)
qs1_in_ga([], []) → qs1_out_ga([], [])

The argument filtering Pi contains the following mapping:
qs1_in_ga(x1, x2)  =  qs1_in_ga(x1)
.(x1, x2)  =  .(x1, x2)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x3, x5)
gt10_in_gg(x1, x2)  =  gt10_in_gg(x1, x2)
s(x1)  =  s(x1)
U1_gg(x1, x2, x3)  =  U1_gg(x3)
0  =  0
gt10_out_gg(x1, x2)  =  gt10_out_gg
qs1_out_ga(x1, x2)  =  qs1_out_ga
U20_ga(x1, x2, x3, x4, x5)  =  U20_ga(x5)
part20_in_ggaa(x1, x2, x3, x4)  =  part20_in_ggaa(x1, x2)
U2_ggaa(x1, x2, x3, x4, x5, x6)  =  U2_ggaa(x1, x3, x6)
part20_out_ggaa(x1, x2, x3, x4)  =  part20_out_ggaa
U3_ggaa(x1, x2, x3, x4, x5, x6)  =  U3_ggaa(x6)
U4_ggaa(x1, x2, x3, x4, x5, x6)  =  U4_ggaa(x1, x3, x6)
le33_in_gg(x1, x2)  =  le33_in_gg(x1, x2)
U6_gg(x1, x2, x3)  =  U6_gg(x3)
le33_out_gg(x1, x2)  =  le33_out_gg
U5_ggaa(x1, x2, x3, x4, x5, x6)  =  U5_ggaa(x6)
[]  =  []
U21_ga(x1, x2, x3, x4, x5)  =  U21_ga(x1, x5)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x5)
qs1_in_aa(x1, x2)  =  qs1_in_aa
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(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_aa(x1, x2)  =  qs1_out_aa
U20_aa(x1, x2, x3, x4, x5)  =  U20_aa(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(x3)
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(x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x1, x6)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U6_ga(x1, x2, x3)  =  U6_ga(x3)
le33_out_ga(x1, x2)  =  le33_out_ga
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x6)
U21_aa(x1, x2, x3, x4, x5)  =  U21_aa(x1, x5)
U22_aa(x1, x2, x3, x4, x5)  =  U22_aa(x5)
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
le33_in_aa(x1, x2)  =  le33_in_aa
U6_aa(x1, x2, x3)  =  U6_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
U26_aa(x1, x2, x3, x4, x5)  =  U26_aa(x5)
U27_aa(x1, x2, x3, x4, x5)  =  U27_aa(x1, x5)
U28_aa(x1, x2, x3, x4, x5)  =  U28_aa(x5)
qs53_in_aa(x1, x2)  =  qs53_in_aa
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
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)
qs53_out_aa(x1, x2)  =  qs53_out_aa
U8_aa(x1, x2, x3, x4)  =  U8_aa(x4)
U9_aa(x1, x2, x3, x4)  =  U9_aa(x4)
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4)  =  U11_aa(x4)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4)  =  U13_aa(x4)
app65_in_aaaa(x1, x2, x3, x4)  =  app65_in_aaaa
U14_aaaa(x1, x2, x3, x4, x5, x6)  =  U14_aaaa(x6)
app65_out_aaaa(x1, x2, x3, x4)  =  app65_out_aaaa
U29_aa(x1, x2, x3, x4, x5, x6)  =  U29_aa(x1, x6)
U30_aa(x1, x2, x3, x4, x5)  =  U30_aa(x5)
p52_in_aaaga(x1, x2, x3, x4, x5)  =  p52_in_aaaga(x4)
U16_aaaga(x1, x2, x3, x4, x5, x6)  =  U16_aaaga(x6)
p52_out_aaaga(x1, x2, x3, x4, x5)  =  p52_out_aaaga
U17_aaaga(x1, x2, x3, x4, x5, x6)  =  U17_aaaga(x4, x6)
U18_aaaga(x1, x2, x3, x4, x5, x6)  =  U18_aaaga(x6)
app54_in_agaa(x1, x2, x3, x4)  =  app54_in_agaa(x2)
U15_agaa(x1, x2, x3, x4, x5, x6)  =  U15_agaa(x6)
app54_out_agaa(x1, x2, x3, x4)  =  app54_out_agaa
U31_aa(x1, x2, x3)  =  U31_aa(x3)
qs99_in_a(x1)  =  qs99_in_a
qs99_out_a(x1)  =  qs99_out_a(x1)
U32_aa(x1, x2, x3)  =  U32_aa(x3)
U33_aa(x1, x2, x3)  =  U33_aa(x3)
U34_aa(x1, x2, x3, x4)  =  U34_aa(x3, x4)
U35_aa(x1, x2, x3)  =  U35_aa(x3)
app54_in_gaga(x1, x2, x3, x4)  =  app54_in_gaga(x1, x3)
U15_gaga(x1, x2, x3, x4, x5, x6)  =  U15_gaga(x6)
app54_out_gaga(x1, x2, x3, x4)  =  app54_out_gaga
U23_aa(x1, x2, x3, x4, x5, x6)  =  U23_aa(x1, x6)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U23_ga(x1, x2, x3, x4, x5, x6)  =  U23_ga(x1, x6)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x5)
U25_ga(x1, x2, x3, x4, x5)  =  U25_ga(x1, x3, x5)
U26_ga(x1, x2, x3, x4, x5)  =  U26_ga(x5)
U27_ga(x1, x2, x3, x4, x5)  =  U27_ga(x1, x5)
U28_ga(x1, x2, x3, x4, x5)  =  U28_ga(x5)
U29_ga(x1, x2, x3, x4, x5, x6)  =  U29_ga(x1, x6)
U30_ga(x1, x2, x3, x4, x5)  =  U30_ga(x5)
U31_ga(x1, x2, x3)  =  U31_ga(x3)
U32_ga(x1, x2, x3)  =  U32_ga(x1, x3)
U33_ga(x1, x2, x3)  =  U33_ga(x3)
U34_ga(x1, x2, x3, x4)  =  U34_ga(x1, x3, x4)
U35_ga(x1, x2, x3)  =  U35_ga(x3)
app54_in_ggga(x1, x2, x3, x4)  =  app54_in_ggga(x1, x2, x3)
U15_ggga(x1, x2, x3, x4, x5, x6)  =  U15_ggga(x1, x6)
app54_out_ggga(x1, x2, x3, x4)  =  app54_out_ggga(x4)
QS1_IN_GA(x1, x2)  =  QS1_IN_GA(x1)
U19_GA(x1, x2, x3, x4, x5)  =  U19_GA(x1, x3, x5)
GT10_IN_GG(x1, x2)  =  GT10_IN_GG(x1, x2)
U1_GG(x1, x2, x3)  =  U1_GG(x3)
U20_GA(x1, x2, x3, x4, x5)  =  U20_GA(x5)
PART20_IN_GGAA(x1, x2, x3, x4)  =  PART20_IN_GGAA(x1, x2)
U2_GGAA(x1, x2, x3, x4, x5, x6)  =  U2_GGAA(x1, x3, x6)
U3_GGAA(x1, x2, x3, x4, x5, x6)  =  U3_GGAA(x6)
U4_GGAA(x1, x2, x3, x4, x5, x6)  =  U4_GGAA(x1, x3, x6)
LE33_IN_GG(x1, x2)  =  LE33_IN_GG(x1, x2)
U6_GG(x1, x2, x3)  =  U6_GG(x3)
U5_GGAA(x1, x2, x3, x4, x5, x6)  =  U5_GGAA(x6)
U21_GA(x1, x2, x3, x4, x5)  =  U21_GA(x1, x5)
U22_GA(x1, x2, x3, x4, x5)  =  U22_GA(x5)
QS1_IN_AA(x1, x2)  =  QS1_IN_AA
U19_AA(x1, x2, x3, x4, x5)  =  U19_AA(x5)
GT10_IN_AA(x1, x2)  =  GT10_IN_AA
U1_AA(x1, x2, x3)  =  U1_AA(x3)
U20_AA(x1, x2, x3, x4, x5)  =  U20_AA(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(x3)
U3_GAAA(x1, x2, x3, x4, x5, x6)  =  U3_GAAA(x6)
U4_GAAA(x1, x2, x3, x4, x5, x6)  =  U4_GAAA(x1, x6)
LE33_IN_GA(x1, x2)  =  LE33_IN_GA(x1)
U6_GA(x1, x2, x3)  =  U6_GA(x3)
U5_GAAA(x1, x2, x3, x4, x5, x6)  =  U5_GAAA(x6)
U21_AA(x1, x2, x3, x4, x5)  =  U21_AA(x1, x5)
U22_AA(x1, x2, x3, x4, x5)  =  U22_AA(x5)
U25_AA(x1, x2, x3, x4, x5)  =  U25_AA(x5)
LE33_IN_AA(x1, x2)  =  LE33_IN_AA
U6_AA(x1, x2, x3)  =  U6_AA(x3)
U26_AA(x1, x2, x3, x4, x5)  =  U26_AA(x5)
U27_AA(x1, x2, x3, x4, x5)  =  U27_AA(x1, x5)
U28_AA(x1, x2, x3, x4, x5)  =  U28_AA(x5)
QS53_IN_AA(x1, x2)  =  QS53_IN_AA
U7_AA(x1, x2, x3, x4)  =  U7_AA(x4)
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)
U8_AA(x1, x2, x3, x4)  =  U8_AA(x4)
U9_AA(x1, x2, x3, x4)  =  U9_AA(x4)
U10_AA(x1, x2, x3, x4, x5)  =  U10_AA(x5)
U11_AA(x1, x2, x3, x4)  =  U11_AA(x4)
U12_AA(x1, x2, x3, x4, x5)  =  U12_AA(x5)
U13_AA(x1, x2, x3, x4)  =  U13_AA(x4)
APP65_IN_AAAA(x1, x2, x3, x4)  =  APP65_IN_AAAA
U14_AAAA(x1, x2, x3, x4, x5, x6)  =  U14_AAAA(x6)
U29_AA(x1, x2, x3, x4, x5, x6)  =  U29_AA(x1, x6)
U30_AA(x1, x2, x3, x4, x5)  =  U30_AA(x5)
P52_IN_AAAGA(x1, x2, x3, x4, x5)  =  P52_IN_AAAGA(x4)
U16_AAAGA(x1, x2, x3, x4, x5, x6)  =  U16_AAAGA(x6)
U17_AAAGA(x1, x2, x3, x4, x5, x6)  =  U17_AAAGA(x4, x6)
U18_AAAGA(x1, x2, x3, x4, x5, x6)  =  U18_AAAGA(x6)
APP54_IN_AGAA(x1, x2, x3, x4)  =  APP54_IN_AGAA(x2)
U15_AGAA(x1, x2, x3, x4, x5, x6)  =  U15_AGAA(x6)
U31_AA(x1, x2, x3)  =  U31_AA(x3)
QS99_IN_A(x1)  =  QS99_IN_A
U32_AA(x1, x2, x3)  =  U32_AA(x3)
U33_AA(x1, x2, x3)  =  U33_AA(x3)
U34_AA(x1, x2, x3, x4)  =  U34_AA(x3, x4)
U35_AA(x1, x2, x3)  =  U35_AA(x3)
APP54_IN_GAGA(x1, x2, x3, x4)  =  APP54_IN_GAGA(x1, x3)
U15_GAGA(x1, x2, x3, x4, x5, x6)  =  U15_GAGA(x6)
U23_AA(x1, x2, x3, x4, x5, x6)  =  U23_AA(x1, x6)
U24_AA(x1, x2, x3, x4, x5)  =  U24_AA(x5)
U23_GA(x1, x2, x3, x4, x5, x6)  =  U23_GA(x1, x6)
U24_GA(x1, x2, x3, x4, x5)  =  U24_GA(x5)
U25_GA(x1, x2, x3, x4, x5)  =  U25_GA(x1, x3, x5)
U26_GA(x1, x2, x3, x4, x5)  =  U26_GA(x5)
U27_GA(x1, x2, x3, x4, x5)  =  U27_GA(x1, x5)
U28_GA(x1, x2, x3, x4, x5)  =  U28_GA(x5)
U29_GA(x1, x2, x3, x4, x5, x6)  =  U29_GA(x1, x6)
U30_GA(x1, x2, x3, x4, x5)  =  U30_GA(x5)
U31_GA(x1, x2, x3)  =  U31_GA(x3)
U32_GA(x1, x2, x3)  =  U32_GA(x1, x3)
U33_GA(x1, x2, x3)  =  U33_GA(x3)
U34_GA(x1, x2, x3, x4)  =  U34_GA(x1, x3, x4)
U35_GA(x1, x2, x3)  =  U35_GA(x3)
APP54_IN_GGGA(x1, x2, x3, x4)  =  APP54_IN_GGGA(x1, x2, x3)
U15_GGGA(x1, x2, x3, x4, x5, x6)  =  U15_GGGA(x1, x6)

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

(136) Obligation:

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

QS1_IN_GA(.(T22, .(T23, T24)), T9) → U19_GA(T22, T23, T24, T9, gt10_in_gg(T22, T23))
QS1_IN_GA(.(T22, .(T23, T24)), T9) → GT10_IN_GG(T22, T23)
GT10_IN_GG(s(T37), s(T38)) → U1_GG(T37, T38, gt10_in_gg(T37, T38))
GT10_IN_GG(s(T37), s(T38)) → GT10_IN_GG(T37, T38)
U19_GA(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U20_GA(T22, T23, T24, T9, part20_in_ggaa(T22, T24, X47, X48))
U19_GA(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → PART20_IN_GGAA(T22, T24, X47, X48)
PART20_IN_GGAA(T61, .(T62, T63), .(T62, X119), X120) → U2_GGAA(T61, T62, T63, X119, X120, gt10_in_gg(T61, T62))
PART20_IN_GGAA(T61, .(T62, T63), .(T62, X119), X120) → GT10_IN_GG(T61, T62)
U2_GGAA(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → U3_GGAA(T61, T62, T63, X119, X120, part20_in_ggaa(T61, T63, X119, X120))
U2_GGAA(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → PART20_IN_GGAA(T61, T63, X119, X120)
PART20_IN_GGAA(T83, .(T84, T85), X170, .(T84, X171)) → U4_GGAA(T83, T84, T85, X170, X171, le33_in_gg(T83, T84))
PART20_IN_GGAA(T83, .(T84, T85), X170, .(T84, X171)) → LE33_IN_GG(T83, T84)
LE33_IN_GG(s(T98), s(T99)) → U6_GG(T98, T99, le33_in_gg(T98, T99))
LE33_IN_GG(s(T98), s(T99)) → LE33_IN_GG(T98, T99)
U4_GGAA(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → U5_GGAA(T83, T84, T85, X170, X171, part20_in_ggaa(T83, T85, X170, X171))
U4_GGAA(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → PART20_IN_GGAA(T83, T85, X170, X171)
U19_GA(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U21_GA(T22, T23, T24, T9, part20_in_ggaa(T22, T24, T44, T45))
U21_GA(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U22_GA(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
U21_GA(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → QS1_IN_AA(.(T23, T44), X9)
QS1_IN_AA(.(T22, .(T23, T24)), T9) → U19_AA(T22, T23, T24, T9, gt10_in_aa(T22, T23))
QS1_IN_AA(.(T22, .(T23, T24)), T9) → GT10_IN_AA(T22, T23)
GT10_IN_AA(s(T37), s(T38)) → U1_AA(T37, T38, gt10_in_aa(T37, T38))
GT10_IN_AA(s(T37), s(T38)) → GT10_IN_AA(T37, T38)
U19_AA(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U20_AA(T22, T23, T24, T9, part20_in_gaaa(T22, T24, X47, X48))
U19_AA(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → PART20_IN_GAAA(T22, T24, X47, X48)
PART20_IN_GAAA(T61, .(T62, T63), .(T62, X119), X120) → U2_GAAA(T61, T62, T63, X119, X120, gt10_in_ga(T61, T62))
PART20_IN_GAAA(T61, .(T62, T63), .(T62, X119), X120) → GT10_IN_GA(T61, T62)
GT10_IN_GA(s(T37), s(T38)) → U1_GA(T37, T38, gt10_in_ga(T37, T38))
GT10_IN_GA(s(T37), s(T38)) → GT10_IN_GA(T37, T38)
U2_GAAA(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → U3_GAAA(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
U2_GAAA(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → PART20_IN_GAAA(T61, T63, X119, X120)
PART20_IN_GAAA(T83, .(T84, T85), X170, .(T84, X171)) → U4_GAAA(T83, T84, T85, X170, X171, le33_in_ga(T83, T84))
PART20_IN_GAAA(T83, .(T84, T85), X170, .(T84, X171)) → LE33_IN_GA(T83, T84)
LE33_IN_GA(s(T98), s(T99)) → U6_GA(T98, T99, le33_in_ga(T98, T99))
LE33_IN_GA(s(T98), s(T99)) → LE33_IN_GA(T98, T99)
U4_GAAA(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → U5_GAAA(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
U4_GAAA(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → PART20_IN_GAAA(T83, T85, X170, X171)
U19_AA(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U21_AA(T22, T23, T24, T9, part20_in_gaaa(T22, T24, T44, T45))
U21_AA(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U22_AA(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
U21_AA(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → QS1_IN_AA(.(T23, T44), X9)
QS1_IN_AA(.(T239, .(T240, T241)), T9) → U25_AA(T239, T240, T241, T9, le33_in_aa(T239, T240))
QS1_IN_AA(.(T239, .(T240, T241)), T9) → LE33_IN_AA(T239, T240)
LE33_IN_AA(s(T98), s(T99)) → U6_AA(T98, T99, le33_in_aa(T98, T99))
LE33_IN_AA(s(T98), s(T99)) → LE33_IN_AA(T98, T99)
U25_AA(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U26_AA(T239, T240, T241, T9, part20_in_gaaa(T239, T241, X437, X438))
U25_AA(T239, T240, T241, T9, le33_out_aa(T239, T240)) → PART20_IN_GAAA(T239, T241, X437, X438)
U25_AA(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U27_AA(T239, T240, T241, T9, part20_in_gaaa(T239, T241, T249, T250))
U27_AA(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U28_AA(T239, T240, T241, T9, qs53_in_aa(T249, X9))
U27_AA(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → QS53_IN_AA(T249, X9)
QS53_IN_AA(.(T131, T132), X275) → U7_AA(T131, T132, X275, part20_in_aaaa(T131, T132, X271, X272))
QS53_IN_AA(.(T131, T132), X275) → PART20_IN_AAAA(T131, T132, X271, X272)
PART20_IN_AAAA(T61, .(T62, T63), .(T62, X119), X120) → U2_AAAA(T61, T62, T63, X119, X120, gt10_in_aa(T61, T62))
PART20_IN_AAAA(T61, .(T62, T63), .(T62, X119), X120) → GT10_IN_AA(T61, T62)
U2_AAAA(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → U3_AAAA(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
U2_AAAA(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → PART20_IN_GAAA(T61, T63, X119, X120)
PART20_IN_AAAA(T83, .(T84, T85), X170, .(T84, X171)) → U4_AAAA(T83, T84, T85, X170, X171, le33_in_aa(T83, T84))
PART20_IN_AAAA(T83, .(T84, T85), X170, .(T84, X171)) → LE33_IN_AA(T83, T84)
U4_AAAA(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → U5_AAAA(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
U4_AAAA(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → PART20_IN_GAAA(T83, T85, X170, X171)
QS53_IN_AA(.(T131, T132), X275) → U8_AA(T131, T132, X275, part20_in_aaaa(T131, T132, T136, T137))
U8_AA(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U9_AA(T131, T132, X275, qs53_in_aa(T136, X273))
U8_AA(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → QS53_IN_AA(T136, X273)
U8_AA(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U10_AA(T131, T132, X275, T137, qs53_in_aa(T136, T143))
U10_AA(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U11_AA(T131, T132, X275, qs53_in_aa(T137, X274))
U10_AA(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → QS53_IN_AA(T137, X274)
U10_AA(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U12_AA(T131, T132, X275, T143, qs53_in_aa(T137, T148))
U12_AA(T131, T132, X275, T143, qs53_out_aa(T137, T148)) → U13_AA(T131, T132, X275, app65_in_aaaa(T143, T131, T148, X275))
U12_AA(T131, T132, X275, T143, qs53_out_aa(T137, T148)) → APP65_IN_AAAA(T143, T131, T148, X275)
APP65_IN_AAAA(.(T171, T172), T173, T174, .(T171, X354)) → U14_AAAA(T171, T172, T173, T174, X354, app65_in_aaaa(T172, T173, T174, X354))
APP65_IN_AAAA(.(T171, T172), T173, T174, .(T171, X354)) → APP65_IN_AAAA(T172, T173, T174, X354)
U27_AA(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U29_AA(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_AA(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_AA(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
U29_AA(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → P52_IN_AAAGA(.(T240, T250), X10, T256, T239, T9)
P52_IN_AAAGA(T45, X10, T115, T22, T9) → U16_AAAGA(T45, X10, T115, T22, T9, qs53_in_aa(T45, X10))
P52_IN_AAAGA(T45, X10, T115, T22, T9) → QS53_IN_AA(T45, X10)
P52_IN_AAAGA(T45, T120, T115, T22, T9) → U17_AAAGA(T45, T120, T115, T22, T9, qs53_in_aa(T45, T120))
U17_AAAGA(T45, T120, T115, T22, T9, qs53_out_aa(T45, T120)) → U18_AAAGA(T45, T120, T115, T22, T9, app54_in_agaa(T115, T22, T120, T9))
U17_AAAGA(T45, T120, T115, T22, T9, qs53_out_aa(T45, T120)) → APP54_IN_AGAA(T115, T22, T120, T9)
APP54_IN_AGAA(.(T210, T211), T212, T213, .(T210, T215)) → U15_AGAA(T210, T211, T212, T213, T215, app54_in_agaa(T211, T212, T213, T215))
APP54_IN_AGAA(.(T210, T211), T212, T213, .(T210, T215)) → APP54_IN_AGAA(T211, T212, T213, T215)
QS1_IN_AA(.(T265, []), T9) → U31_AA(T265, T9, qs99_in_a(X9))
QS1_IN_AA(.(T265, []), T9) → QS99_IN_A(X9)
QS1_IN_AA(.(T265, []), T9) → U32_AA(T265, T9, qs99_in_a(T268))
U32_AA(T265, T9, qs99_out_a(T268)) → U33_AA(T265, T9, qs99_in_a(X10))
U32_AA(T265, T9, qs99_out_a(T268)) → QS99_IN_A(X10)
U32_AA(T265, T9, qs99_out_a(T268)) → U34_AA(T265, T9, T268, qs99_in_a(T273))
U34_AA(T265, T9, T268, qs99_out_a(T273)) → U35_AA(T265, T9, app54_in_gaga(T268, T265, T273, T9))
U34_AA(T265, T9, T268, qs99_out_a(T273)) → APP54_IN_GAGA(T268, T265, T273, T9)
APP54_IN_GAGA(.(T210, T211), T212, T213, .(T210, T215)) → U15_GAGA(T210, T211, T212, T213, T215, app54_in_gaga(T211, T212, T213, T215))
APP54_IN_GAGA(.(T210, T211), T212, T213, .(T210, T215)) → APP54_IN_GAGA(T211, T212, T213, T215)
U21_AA(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U23_AA(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_AA(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_AA(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U23_AA(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → P52_IN_AAAGA(T45, X10, T115, T22, T9)
U21_GA(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U23_GA(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_GA(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_GA(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U23_GA(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → P52_IN_AAAGA(T45, X10, T115, T22, T9)
QS1_IN_GA(.(T239, .(T240, T241)), T9) → U25_GA(T239, T240, T241, T9, le33_in_gg(T239, T240))
QS1_IN_GA(.(T239, .(T240, T241)), T9) → LE33_IN_GG(T239, T240)
U25_GA(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U26_GA(T239, T240, T241, T9, part20_in_ggaa(T239, T241, X437, X438))
U25_GA(T239, T240, T241, T9, le33_out_gg(T239, T240)) → PART20_IN_GGAA(T239, T241, X437, X438)
U25_GA(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U27_GA(T239, T240, T241, T9, part20_in_ggaa(T239, T241, T249, T250))
U27_GA(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U28_GA(T239, T240, T241, T9, qs53_in_aa(T249, X9))
U27_GA(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → QS53_IN_AA(T249, X9)
U27_GA(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U29_GA(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_GA(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_GA(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
U29_GA(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → P52_IN_AAAGA(.(T240, T250), X10, T256, T239, T9)
QS1_IN_GA(.(T265, []), T9) → U31_GA(T265, T9, qs99_in_a(X9))
QS1_IN_GA(.(T265, []), T9) → QS99_IN_A(X9)
QS1_IN_GA(.(T265, []), T9) → U32_GA(T265, T9, qs99_in_a(T268))
U32_GA(T265, T9, qs99_out_a(T268)) → U33_GA(T265, T9, qs99_in_a(X10))
U32_GA(T265, T9, qs99_out_a(T268)) → QS99_IN_A(X10)
U32_GA(T265, T9, qs99_out_a(T268)) → U34_GA(T265, T9, T268, qs99_in_a(T273))
U34_GA(T265, T9, T268, qs99_out_a(T273)) → U35_GA(T265, T9, app54_in_ggga(T268, T265, T273, T9))
U34_GA(T265, T9, T268, qs99_out_a(T273)) → APP54_IN_GGGA(T268, T265, T273, T9)
APP54_IN_GGGA(.(T210, T211), T212, T213, .(T210, T215)) → U15_GGGA(T210, T211, T212, T213, T215, app54_in_ggga(T211, T212, T213, T215))
APP54_IN_GGGA(.(T210, T211), T212, T213, .(T210, T215)) → APP54_IN_GGGA(T211, T212, T213, T215)

The TRS R consists of the following rules:

qs1_in_ga(.(T22, .(T23, T24)), T9) → U19_ga(T22, T23, T24, T9, gt10_in_gg(T22, T23))
gt10_in_gg(s(T37), s(T38)) → U1_gg(T37, T38, gt10_in_gg(T37, T38))
gt10_in_gg(s(0), 0) → gt10_out_gg(s(0), 0)
U1_gg(T37, T38, gt10_out_gg(T37, T38)) → gt10_out_gg(s(T37), s(T38))
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U20_ga(T22, T23, T24, T9, part20_in_ggaa(T22, T24, X47, X48))
part20_in_ggaa(T61, .(T62, T63), .(T62, X119), X120) → U2_ggaa(T61, T62, T63, X119, X120, gt10_in_gg(T61, T62))
U2_ggaa(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → part20_out_ggaa(T61, .(T62, T63), .(T62, X119), X120)
U2_ggaa(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → U3_ggaa(T61, T62, T63, X119, X120, part20_in_ggaa(T61, T63, X119, X120))
part20_in_ggaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_ggaa(T83, T84, T85, X170, X171, le33_in_gg(T83, T84))
le33_in_gg(s(T98), s(T99)) → U6_gg(T98, T99, le33_in_gg(T98, T99))
le33_in_gg(0, s(T106)) → le33_out_gg(0, s(T106))
le33_in_gg(0, 0) → le33_out_gg(0, 0)
U6_gg(T98, T99, le33_out_gg(T98, T99)) → le33_out_gg(s(T98), s(T99))
U4_ggaa(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → part20_out_ggaa(T83, .(T84, T85), X170, .(T84, X171))
U4_ggaa(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → U5_ggaa(T83, T84, T85, X170, X171, part20_in_ggaa(T83, T85, X170, X171))
part20_in_ggaa(T112, [], [], []) → part20_out_ggaa(T112, [], [], [])
U5_ggaa(T83, T84, T85, X170, X171, part20_out_ggaa(T83, T85, X170, X171)) → part20_out_ggaa(T83, .(T84, T85), X170, .(T84, X171))
U3_ggaa(T61, T62, T63, X119, X120, part20_out_ggaa(T61, T63, X119, X120)) → part20_out_ggaa(T61, .(T62, T63), .(T62, X119), X120)
U20_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, X47, X48)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U21_ga(T22, T23, T24, T9, part20_in_ggaa(T22, T24, T44, T45))
U21_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U22_ga(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
qs1_in_aa(.(T22, .(T23, T24)), T9) → U19_aa(T22, T23, T24, T9, gt10_in_aa(T22, T23))
gt10_in_aa(s(T37), s(T38)) → U1_aa(T37, T38, gt10_in_aa(T37, T38))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U1_aa(T37, T38, gt10_out_aa(T37, T38)) → gt10_out_aa(s(T37), s(T38))
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U20_aa(T22, T23, T24, T9, part20_in_gaaa(T22, T24, X47, X48))
part20_in_gaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_gaaa(T61, T62, T63, X119, X120, gt10_in_ga(T61, T62))
gt10_in_ga(s(T37), s(T38)) → U1_ga(T37, T38, gt10_in_ga(T37, T38))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U1_ga(T37, T38, gt10_out_ga(T37, T38)) → gt10_out_ga(s(T37), s(T38))
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → U3_gaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
part20_in_gaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_gaaa(T83, T84, T85, X170, X171, le33_in_ga(T83, T84))
le33_in_ga(s(T98), s(T99)) → U6_ga(T98, T99, le33_in_ga(T98, T99))
le33_in_ga(0, s(T106)) → le33_out_ga(0, s(T106))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U6_ga(T98, T99, le33_out_ga(T98, T99)) → le33_out_ga(s(T98), s(T99))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → U5_gaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
part20_in_gaaa(T112, [], [], []) → part20_out_gaaa(T112, [], [], [])
U5_gaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U3_gaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U20_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, X47, X48)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U21_aa(T22, T23, T24, T9, part20_in_gaaa(T22, T24, T44, T45))
U21_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U22_aa(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
qs1_in_aa(.(T239, .(T240, T241)), T9) → U25_aa(T239, T240, T241, T9, le33_in_aa(T239, T240))
le33_in_aa(s(T98), s(T99)) → U6_aa(T98, T99, le33_in_aa(T98, T99))
le33_in_aa(0, s(T106)) → le33_out_aa(0, s(T106))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U6_aa(T98, T99, le33_out_aa(T98, T99)) → le33_out_aa(s(T98), s(T99))
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U26_aa(T239, T240, T241, T9, part20_in_gaaa(T239, T241, X437, X438))
U26_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, X437, X438)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U27_aa(T239, T240, T241, T9, part20_in_gaaa(T239, T241, T249, T250))
U27_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U28_aa(T239, T240, T241, T9, qs53_in_aa(T249, X9))
qs53_in_aa(.(T131, T132), X275) → U7_aa(T131, T132, X275, part20_in_aaaa(T131, T132, X271, X272))
part20_in_aaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_aaaa(T61, T62, T63, X119, X120, gt10_in_aa(T61, T62))
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → U3_aaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
U3_aaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
part20_in_aaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_aaaa(T83, T84, T85, X170, X171, le33_in_aa(T83, T84))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → U5_aaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
U5_aaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
part20_in_aaaa(T112, [], [], []) → part20_out_aaaa(T112, [], [], [])
U7_aa(T131, T132, X275, part20_out_aaaa(T131, T132, X271, X272)) → qs53_out_aa(.(T131, T132), X275)
qs53_in_aa(.(T131, T132), X275) → U8_aa(T131, T132, X275, part20_in_aaaa(T131, T132, T136, T137))
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U9_aa(T131, T132, X275, qs53_in_aa(T136, X273))
qs53_in_aa([], []) → qs53_out_aa([], [])
U9_aa(T131, T132, X275, qs53_out_aa(T136, X273)) → qs53_out_aa(.(T131, T132), X275)
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U10_aa(T131, T132, X275, T137, qs53_in_aa(T136, T143))
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U11_aa(T131, T132, X275, qs53_in_aa(T137, X274))
U11_aa(T131, T132, X275, qs53_out_aa(T137, X274)) → qs53_out_aa(.(T131, T132), X275)
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U12_aa(T131, T132, X275, T143, qs53_in_aa(T137, T148))
U12_aa(T131, T132, X275, T143, qs53_out_aa(T137, T148)) → U13_aa(T131, T132, X275, app65_in_aaaa(T143, T131, T148, X275))
app65_in_aaaa(.(T171, T172), T173, T174, .(T171, X354)) → U14_aaaa(T171, T172, T173, T174, X354, app65_in_aaaa(T172, T173, T174, X354))
app65_in_aaaa([], T183, T184, .(T183, T184)) → app65_out_aaaa([], T183, T184, .(T183, T184))
U14_aaaa(T171, T172, T173, T174, X354, app65_out_aaaa(T172, T173, T174, X354)) → app65_out_aaaa(.(T171, T172), T173, T174, .(T171, X354))
U13_aa(T131, T132, X275, app65_out_aaaa(T143, T131, T148, X275)) → qs53_out_aa(.(T131, T132), X275)
U28_aa(T239, T240, T241, T9, qs53_out_aa(T249, X9)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U27_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U29_aa(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_aa(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_aa(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
p52_in_aaaga(T45, X10, T115, T22, T9) → U16_aaaga(T45, X10, T115, T22, T9, qs53_in_aa(T45, X10))
U16_aaaga(T45, X10, T115, T22, T9, qs53_out_aa(T45, X10)) → p52_out_aaaga(T45, X10, T115, T22, T9)
p52_in_aaaga(T45, T120, T115, T22, T9) → U17_aaaga(T45, T120, T115, T22, T9, qs53_in_aa(T45, T120))
U17_aaaga(T45, T120, T115, T22, T9, qs53_out_aa(T45, T120)) → U18_aaaga(T45, T120, T115, T22, T9, app54_in_agaa(T115, T22, T120, T9))
app54_in_agaa(.(T210, T211), T212, T213, .(T210, T215)) → U15_agaa(T210, T211, T212, T213, T215, app54_in_agaa(T211, T212, T213, T215))
app54_in_agaa([], T225, T226, .(T225, T226)) → app54_out_agaa([], T225, T226, .(T225, T226))
U15_agaa(T210, T211, T212, T213, T215, app54_out_agaa(T211, T212, T213, T215)) → app54_out_agaa(.(T210, T211), T212, T213, .(T210, T215))
U18_aaaga(T45, T120, T115, T22, T9, app54_out_agaa(T115, T22, T120, T9)) → p52_out_aaaga(T45, T120, T115, T22, T9)
U30_aa(T239, T240, T241, T9, p52_out_aaaga(.(T240, T250), X10, T256, T239, T9)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
qs1_in_aa(.(T265, []), T9) → U31_aa(T265, T9, qs99_in_a(X9))
qs99_in_a([]) → qs99_out_a([])
U31_aa(T265, T9, qs99_out_a(X9)) → qs1_out_aa(.(T265, []), T9)
qs1_in_aa(.(T265, []), T9) → U32_aa(T265, T9, qs99_in_a(T268))
U32_aa(T265, T9, qs99_out_a(T268)) → U33_aa(T265, T9, qs99_in_a(X10))
U33_aa(T265, T9, qs99_out_a(X10)) → qs1_out_aa(.(T265, []), T9)
U32_aa(T265, T9, qs99_out_a(T268)) → U34_aa(T265, T9, T268, qs99_in_a(T273))
U34_aa(T265, T9, T268, qs99_out_a(T273)) → U35_aa(T265, T9, app54_in_gaga(T268, T265, T273, T9))
app54_in_gaga(.(T210, T211), T212, T213, .(T210, T215)) → U15_gaga(T210, T211, T212, T213, T215, app54_in_gaga(T211, T212, T213, T215))
app54_in_gaga([], T225, T226, .(T225, T226)) → app54_out_gaga([], T225, T226, .(T225, T226))
U15_gaga(T210, T211, T212, T213, T215, app54_out_gaga(T211, T212, T213, T215)) → app54_out_gaga(.(T210, T211), T212, T213, .(T210, T215))
U35_aa(T265, T9, app54_out_gaga(T268, T265, T273, T9)) → qs1_out_aa(.(T265, []), T9)
qs1_in_aa([], []) → qs1_out_aa([], [])
U22_aa(T22, T23, T24, T9, qs1_out_aa(.(T23, T44), X9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U21_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U23_aa(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_aa(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_aa(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U24_aa(T22, T23, T24, T9, p52_out_aaaga(T45, X10, T115, T22, T9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U22_ga(T22, T23, T24, T9, qs1_out_aa(.(T23, T44), X9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U21_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U23_ga(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_ga(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_ga(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U24_ga(T22, T23, T24, T9, p52_out_aaaga(T45, X10, T115, T22, T9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
qs1_in_ga(.(T239, .(T240, T241)), T9) → U25_ga(T239, T240, T241, T9, le33_in_gg(T239, T240))
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U26_ga(T239, T240, T241, T9, part20_in_ggaa(T239, T241, X437, X438))
U26_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, X437, X438)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U27_ga(T239, T240, T241, T9, part20_in_ggaa(T239, T241, T249, T250))
U27_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U28_ga(T239, T240, T241, T9, qs53_in_aa(T249, X9))
U28_ga(T239, T240, T241, T9, qs53_out_aa(T249, X9)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U27_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U29_ga(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_ga(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_ga(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
U30_ga(T239, T240, T241, T9, p52_out_aaaga(.(T240, T250), X10, T256, T239, T9)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
qs1_in_ga(.(T265, []), T9) → U31_ga(T265, T9, qs99_in_a(X9))
U31_ga(T265, T9, qs99_out_a(X9)) → qs1_out_ga(.(T265, []), T9)
qs1_in_ga(.(T265, []), T9) → U32_ga(T265, T9, qs99_in_a(T268))
U32_ga(T265, T9, qs99_out_a(T268)) → U33_ga(T265, T9, qs99_in_a(X10))
U33_ga(T265, T9, qs99_out_a(X10)) → qs1_out_ga(.(T265, []), T9)
U32_ga(T265, T9, qs99_out_a(T268)) → U34_ga(T265, T9, T268, qs99_in_a(T273))
U34_ga(T265, T9, T268, qs99_out_a(T273)) → U35_ga(T265, T9, app54_in_ggga(T268, T265, T273, T9))
app54_in_ggga(.(T210, T211), T212, T213, .(T210, T215)) → U15_ggga(T210, T211, T212, T213, T215, app54_in_ggga(T211, T212, T213, T215))
app54_in_ggga([], T225, T226, .(T225, T226)) → app54_out_ggga([], T225, T226, .(T225, T226))
U15_ggga(T210, T211, T212, T213, T215, app54_out_ggga(T211, T212, T213, T215)) → app54_out_ggga(.(T210, T211), T212, T213, .(T210, T215))
U35_ga(T265, T9, app54_out_ggga(T268, T265, T273, T9)) → qs1_out_ga(.(T265, []), T9)
qs1_in_ga([], []) → qs1_out_ga([], [])

The argument filtering Pi contains the following mapping:
qs1_in_ga(x1, x2)  =  qs1_in_ga(x1)
.(x1, x2)  =  .(x1, x2)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x3, x5)
gt10_in_gg(x1, x2)  =  gt10_in_gg(x1, x2)
s(x1)  =  s(x1)
U1_gg(x1, x2, x3)  =  U1_gg(x3)
0  =  0
gt10_out_gg(x1, x2)  =  gt10_out_gg
qs1_out_ga(x1, x2)  =  qs1_out_ga
U20_ga(x1, x2, x3, x4, x5)  =  U20_ga(x5)
part20_in_ggaa(x1, x2, x3, x4)  =  part20_in_ggaa(x1, x2)
U2_ggaa(x1, x2, x3, x4, x5, x6)  =  U2_ggaa(x1, x3, x6)
part20_out_ggaa(x1, x2, x3, x4)  =  part20_out_ggaa
U3_ggaa(x1, x2, x3, x4, x5, x6)  =  U3_ggaa(x6)
U4_ggaa(x1, x2, x3, x4, x5, x6)  =  U4_ggaa(x1, x3, x6)
le33_in_gg(x1, x2)  =  le33_in_gg(x1, x2)
U6_gg(x1, x2, x3)  =  U6_gg(x3)
le33_out_gg(x1, x2)  =  le33_out_gg
U5_ggaa(x1, x2, x3, x4, x5, x6)  =  U5_ggaa(x6)
[]  =  []
U21_ga(x1, x2, x3, x4, x5)  =  U21_ga(x1, x5)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x5)
qs1_in_aa(x1, x2)  =  qs1_in_aa
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(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_aa(x1, x2)  =  qs1_out_aa
U20_aa(x1, x2, x3, x4, x5)  =  U20_aa(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(x3)
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(x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x1, x6)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U6_ga(x1, x2, x3)  =  U6_ga(x3)
le33_out_ga(x1, x2)  =  le33_out_ga
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x6)
U21_aa(x1, x2, x3, x4, x5)  =  U21_aa(x1, x5)
U22_aa(x1, x2, x3, x4, x5)  =  U22_aa(x5)
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
le33_in_aa(x1, x2)  =  le33_in_aa
U6_aa(x1, x2, x3)  =  U6_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
U26_aa(x1, x2, x3, x4, x5)  =  U26_aa(x5)
U27_aa(x1, x2, x3, x4, x5)  =  U27_aa(x1, x5)
U28_aa(x1, x2, x3, x4, x5)  =  U28_aa(x5)
qs53_in_aa(x1, x2)  =  qs53_in_aa
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
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)
qs53_out_aa(x1, x2)  =  qs53_out_aa
U8_aa(x1, x2, x3, x4)  =  U8_aa(x4)
U9_aa(x1, x2, x3, x4)  =  U9_aa(x4)
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4)  =  U11_aa(x4)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4)  =  U13_aa(x4)
app65_in_aaaa(x1, x2, x3, x4)  =  app65_in_aaaa
U14_aaaa(x1, x2, x3, x4, x5, x6)  =  U14_aaaa(x6)
app65_out_aaaa(x1, x2, x3, x4)  =  app65_out_aaaa
U29_aa(x1, x2, x3, x4, x5, x6)  =  U29_aa(x1, x6)
U30_aa(x1, x2, x3, x4, x5)  =  U30_aa(x5)
p52_in_aaaga(x1, x2, x3, x4, x5)  =  p52_in_aaaga(x4)
U16_aaaga(x1, x2, x3, x4, x5, x6)  =  U16_aaaga(x6)
p52_out_aaaga(x1, x2, x3, x4, x5)  =  p52_out_aaaga
U17_aaaga(x1, x2, x3, x4, x5, x6)  =  U17_aaaga(x4, x6)
U18_aaaga(x1, x2, x3, x4, x5, x6)  =  U18_aaaga(x6)
app54_in_agaa(x1, x2, x3, x4)  =  app54_in_agaa(x2)
U15_agaa(x1, x2, x3, x4, x5, x6)  =  U15_agaa(x6)
app54_out_agaa(x1, x2, x3, x4)  =  app54_out_agaa
U31_aa(x1, x2, x3)  =  U31_aa(x3)
qs99_in_a(x1)  =  qs99_in_a
qs99_out_a(x1)  =  qs99_out_a(x1)
U32_aa(x1, x2, x3)  =  U32_aa(x3)
U33_aa(x1, x2, x3)  =  U33_aa(x3)
U34_aa(x1, x2, x3, x4)  =  U34_aa(x3, x4)
U35_aa(x1, x2, x3)  =  U35_aa(x3)
app54_in_gaga(x1, x2, x3, x4)  =  app54_in_gaga(x1, x3)
U15_gaga(x1, x2, x3, x4, x5, x6)  =  U15_gaga(x6)
app54_out_gaga(x1, x2, x3, x4)  =  app54_out_gaga
U23_aa(x1, x2, x3, x4, x5, x6)  =  U23_aa(x1, x6)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U23_ga(x1, x2, x3, x4, x5, x6)  =  U23_ga(x1, x6)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x5)
U25_ga(x1, x2, x3, x4, x5)  =  U25_ga(x1, x3, x5)
U26_ga(x1, x2, x3, x4, x5)  =  U26_ga(x5)
U27_ga(x1, x2, x3, x4, x5)  =  U27_ga(x1, x5)
U28_ga(x1, x2, x3, x4, x5)  =  U28_ga(x5)
U29_ga(x1, x2, x3, x4, x5, x6)  =  U29_ga(x1, x6)
U30_ga(x1, x2, x3, x4, x5)  =  U30_ga(x5)
U31_ga(x1, x2, x3)  =  U31_ga(x3)
U32_ga(x1, x2, x3)  =  U32_ga(x1, x3)
U33_ga(x1, x2, x3)  =  U33_ga(x3)
U34_ga(x1, x2, x3, x4)  =  U34_ga(x1, x3, x4)
U35_ga(x1, x2, x3)  =  U35_ga(x3)
app54_in_ggga(x1, x2, x3, x4)  =  app54_in_ggga(x1, x2, x3)
U15_ggga(x1, x2, x3, x4, x5, x6)  =  U15_ggga(x1, x6)
app54_out_ggga(x1, x2, x3, x4)  =  app54_out_ggga(x4)
QS1_IN_GA(x1, x2)  =  QS1_IN_GA(x1)
U19_GA(x1, x2, x3, x4, x5)  =  U19_GA(x1, x3, x5)
GT10_IN_GG(x1, x2)  =  GT10_IN_GG(x1, x2)
U1_GG(x1, x2, x3)  =  U1_GG(x3)
U20_GA(x1, x2, x3, x4, x5)  =  U20_GA(x5)
PART20_IN_GGAA(x1, x2, x3, x4)  =  PART20_IN_GGAA(x1, x2)
U2_GGAA(x1, x2, x3, x4, x5, x6)  =  U2_GGAA(x1, x3, x6)
U3_GGAA(x1, x2, x3, x4, x5, x6)  =  U3_GGAA(x6)
U4_GGAA(x1, x2, x3, x4, x5, x6)  =  U4_GGAA(x1, x3, x6)
LE33_IN_GG(x1, x2)  =  LE33_IN_GG(x1, x2)
U6_GG(x1, x2, x3)  =  U6_GG(x3)
U5_GGAA(x1, x2, x3, x4, x5, x6)  =  U5_GGAA(x6)
U21_GA(x1, x2, x3, x4, x5)  =  U21_GA(x1, x5)
U22_GA(x1, x2, x3, x4, x5)  =  U22_GA(x5)
QS1_IN_AA(x1, x2)  =  QS1_IN_AA
U19_AA(x1, x2, x3, x4, x5)  =  U19_AA(x5)
GT10_IN_AA(x1, x2)  =  GT10_IN_AA
U1_AA(x1, x2, x3)  =  U1_AA(x3)
U20_AA(x1, x2, x3, x4, x5)  =  U20_AA(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(x3)
U3_GAAA(x1, x2, x3, x4, x5, x6)  =  U3_GAAA(x6)
U4_GAAA(x1, x2, x3, x4, x5, x6)  =  U4_GAAA(x1, x6)
LE33_IN_GA(x1, x2)  =  LE33_IN_GA(x1)
U6_GA(x1, x2, x3)  =  U6_GA(x3)
U5_GAAA(x1, x2, x3, x4, x5, x6)  =  U5_GAAA(x6)
U21_AA(x1, x2, x3, x4, x5)  =  U21_AA(x1, x5)
U22_AA(x1, x2, x3, x4, x5)  =  U22_AA(x5)
U25_AA(x1, x2, x3, x4, x5)  =  U25_AA(x5)
LE33_IN_AA(x1, x2)  =  LE33_IN_AA
U6_AA(x1, x2, x3)  =  U6_AA(x3)
U26_AA(x1, x2, x3, x4, x5)  =  U26_AA(x5)
U27_AA(x1, x2, x3, x4, x5)  =  U27_AA(x1, x5)
U28_AA(x1, x2, x3, x4, x5)  =  U28_AA(x5)
QS53_IN_AA(x1, x2)  =  QS53_IN_AA
U7_AA(x1, x2, x3, x4)  =  U7_AA(x4)
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)
U8_AA(x1, x2, x3, x4)  =  U8_AA(x4)
U9_AA(x1, x2, x3, x4)  =  U9_AA(x4)
U10_AA(x1, x2, x3, x4, x5)  =  U10_AA(x5)
U11_AA(x1, x2, x3, x4)  =  U11_AA(x4)
U12_AA(x1, x2, x3, x4, x5)  =  U12_AA(x5)
U13_AA(x1, x2, x3, x4)  =  U13_AA(x4)
APP65_IN_AAAA(x1, x2, x3, x4)  =  APP65_IN_AAAA
U14_AAAA(x1, x2, x3, x4, x5, x6)  =  U14_AAAA(x6)
U29_AA(x1, x2, x3, x4, x5, x6)  =  U29_AA(x1, x6)
U30_AA(x1, x2, x3, x4, x5)  =  U30_AA(x5)
P52_IN_AAAGA(x1, x2, x3, x4, x5)  =  P52_IN_AAAGA(x4)
U16_AAAGA(x1, x2, x3, x4, x5, x6)  =  U16_AAAGA(x6)
U17_AAAGA(x1, x2, x3, x4, x5, x6)  =  U17_AAAGA(x4, x6)
U18_AAAGA(x1, x2, x3, x4, x5, x6)  =  U18_AAAGA(x6)
APP54_IN_AGAA(x1, x2, x3, x4)  =  APP54_IN_AGAA(x2)
U15_AGAA(x1, x2, x3, x4, x5, x6)  =  U15_AGAA(x6)
U31_AA(x1, x2, x3)  =  U31_AA(x3)
QS99_IN_A(x1)  =  QS99_IN_A
U32_AA(x1, x2, x3)  =  U32_AA(x3)
U33_AA(x1, x2, x3)  =  U33_AA(x3)
U34_AA(x1, x2, x3, x4)  =  U34_AA(x3, x4)
U35_AA(x1, x2, x3)  =  U35_AA(x3)
APP54_IN_GAGA(x1, x2, x3, x4)  =  APP54_IN_GAGA(x1, x3)
U15_GAGA(x1, x2, x3, x4, x5, x6)  =  U15_GAGA(x6)
U23_AA(x1, x2, x3, x4, x5, x6)  =  U23_AA(x1, x6)
U24_AA(x1, x2, x3, x4, x5)  =  U24_AA(x5)
U23_GA(x1, x2, x3, x4, x5, x6)  =  U23_GA(x1, x6)
U24_GA(x1, x2, x3, x4, x5)  =  U24_GA(x5)
U25_GA(x1, x2, x3, x4, x5)  =  U25_GA(x1, x3, x5)
U26_GA(x1, x2, x3, x4, x5)  =  U26_GA(x5)
U27_GA(x1, x2, x3, x4, x5)  =  U27_GA(x1, x5)
U28_GA(x1, x2, x3, x4, x5)  =  U28_GA(x5)
U29_GA(x1, x2, x3, x4, x5, x6)  =  U29_GA(x1, x6)
U30_GA(x1, x2, x3, x4, x5)  =  U30_GA(x5)
U31_GA(x1, x2, x3)  =  U31_GA(x3)
U32_GA(x1, x2, x3)  =  U32_GA(x1, x3)
U33_GA(x1, x2, x3)  =  U33_GA(x3)
U34_GA(x1, x2, x3, x4)  =  U34_GA(x1, x3, x4)
U35_GA(x1, x2, x3)  =  U35_GA(x3)
APP54_IN_GGGA(x1, x2, x3, x4)  =  APP54_IN_GGGA(x1, x2, x3)
U15_GGGA(x1, x2, x3, x4, x5, x6)  =  U15_GGGA(x1, x6)

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

(137) DependencyGraphProof (EQUIVALENT transformation)

The approximation of the Dependency Graph [LOPSTR] contains 14 SCCs with 91 less nodes.

(138) Complex Obligation (AND)

(139) Obligation:

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

APP54_IN_GGGA(.(T210, T211), T212, T213, .(T210, T215)) → APP54_IN_GGGA(T211, T212, T213, T215)

The TRS R consists of the following rules:

qs1_in_ga(.(T22, .(T23, T24)), T9) → U19_ga(T22, T23, T24, T9, gt10_in_gg(T22, T23))
gt10_in_gg(s(T37), s(T38)) → U1_gg(T37, T38, gt10_in_gg(T37, T38))
gt10_in_gg(s(0), 0) → gt10_out_gg(s(0), 0)
U1_gg(T37, T38, gt10_out_gg(T37, T38)) → gt10_out_gg(s(T37), s(T38))
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U20_ga(T22, T23, T24, T9, part20_in_ggaa(T22, T24, X47, X48))
part20_in_ggaa(T61, .(T62, T63), .(T62, X119), X120) → U2_ggaa(T61, T62, T63, X119, X120, gt10_in_gg(T61, T62))
U2_ggaa(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → part20_out_ggaa(T61, .(T62, T63), .(T62, X119), X120)
U2_ggaa(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → U3_ggaa(T61, T62, T63, X119, X120, part20_in_ggaa(T61, T63, X119, X120))
part20_in_ggaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_ggaa(T83, T84, T85, X170, X171, le33_in_gg(T83, T84))
le33_in_gg(s(T98), s(T99)) → U6_gg(T98, T99, le33_in_gg(T98, T99))
le33_in_gg(0, s(T106)) → le33_out_gg(0, s(T106))
le33_in_gg(0, 0) → le33_out_gg(0, 0)
U6_gg(T98, T99, le33_out_gg(T98, T99)) → le33_out_gg(s(T98), s(T99))
U4_ggaa(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → part20_out_ggaa(T83, .(T84, T85), X170, .(T84, X171))
U4_ggaa(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → U5_ggaa(T83, T84, T85, X170, X171, part20_in_ggaa(T83, T85, X170, X171))
part20_in_ggaa(T112, [], [], []) → part20_out_ggaa(T112, [], [], [])
U5_ggaa(T83, T84, T85, X170, X171, part20_out_ggaa(T83, T85, X170, X171)) → part20_out_ggaa(T83, .(T84, T85), X170, .(T84, X171))
U3_ggaa(T61, T62, T63, X119, X120, part20_out_ggaa(T61, T63, X119, X120)) → part20_out_ggaa(T61, .(T62, T63), .(T62, X119), X120)
U20_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, X47, X48)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U21_ga(T22, T23, T24, T9, part20_in_ggaa(T22, T24, T44, T45))
U21_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U22_ga(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
qs1_in_aa(.(T22, .(T23, T24)), T9) → U19_aa(T22, T23, T24, T9, gt10_in_aa(T22, T23))
gt10_in_aa(s(T37), s(T38)) → U1_aa(T37, T38, gt10_in_aa(T37, T38))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U1_aa(T37, T38, gt10_out_aa(T37, T38)) → gt10_out_aa(s(T37), s(T38))
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U20_aa(T22, T23, T24, T9, part20_in_gaaa(T22, T24, X47, X48))
part20_in_gaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_gaaa(T61, T62, T63, X119, X120, gt10_in_ga(T61, T62))
gt10_in_ga(s(T37), s(T38)) → U1_ga(T37, T38, gt10_in_ga(T37, T38))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U1_ga(T37, T38, gt10_out_ga(T37, T38)) → gt10_out_ga(s(T37), s(T38))
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → U3_gaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
part20_in_gaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_gaaa(T83, T84, T85, X170, X171, le33_in_ga(T83, T84))
le33_in_ga(s(T98), s(T99)) → U6_ga(T98, T99, le33_in_ga(T98, T99))
le33_in_ga(0, s(T106)) → le33_out_ga(0, s(T106))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U6_ga(T98, T99, le33_out_ga(T98, T99)) → le33_out_ga(s(T98), s(T99))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → U5_gaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
part20_in_gaaa(T112, [], [], []) → part20_out_gaaa(T112, [], [], [])
U5_gaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U3_gaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U20_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, X47, X48)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U21_aa(T22, T23, T24, T9, part20_in_gaaa(T22, T24, T44, T45))
U21_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U22_aa(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
qs1_in_aa(.(T239, .(T240, T241)), T9) → U25_aa(T239, T240, T241, T9, le33_in_aa(T239, T240))
le33_in_aa(s(T98), s(T99)) → U6_aa(T98, T99, le33_in_aa(T98, T99))
le33_in_aa(0, s(T106)) → le33_out_aa(0, s(T106))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U6_aa(T98, T99, le33_out_aa(T98, T99)) → le33_out_aa(s(T98), s(T99))
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U26_aa(T239, T240, T241, T9, part20_in_gaaa(T239, T241, X437, X438))
U26_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, X437, X438)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U27_aa(T239, T240, T241, T9, part20_in_gaaa(T239, T241, T249, T250))
U27_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U28_aa(T239, T240, T241, T9, qs53_in_aa(T249, X9))
qs53_in_aa(.(T131, T132), X275) → U7_aa(T131, T132, X275, part20_in_aaaa(T131, T132, X271, X272))
part20_in_aaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_aaaa(T61, T62, T63, X119, X120, gt10_in_aa(T61, T62))
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → U3_aaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
U3_aaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
part20_in_aaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_aaaa(T83, T84, T85, X170, X171, le33_in_aa(T83, T84))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → U5_aaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
U5_aaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
part20_in_aaaa(T112, [], [], []) → part20_out_aaaa(T112, [], [], [])
U7_aa(T131, T132, X275, part20_out_aaaa(T131, T132, X271, X272)) → qs53_out_aa(.(T131, T132), X275)
qs53_in_aa(.(T131, T132), X275) → U8_aa(T131, T132, X275, part20_in_aaaa(T131, T132, T136, T137))
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U9_aa(T131, T132, X275, qs53_in_aa(T136, X273))
qs53_in_aa([], []) → qs53_out_aa([], [])
U9_aa(T131, T132, X275, qs53_out_aa(T136, X273)) → qs53_out_aa(.(T131, T132), X275)
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U10_aa(T131, T132, X275, T137, qs53_in_aa(T136, T143))
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U11_aa(T131, T132, X275, qs53_in_aa(T137, X274))
U11_aa(T131, T132, X275, qs53_out_aa(T137, X274)) → qs53_out_aa(.(T131, T132), X275)
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U12_aa(T131, T132, X275, T143, qs53_in_aa(T137, T148))
U12_aa(T131, T132, X275, T143, qs53_out_aa(T137, T148)) → U13_aa(T131, T132, X275, app65_in_aaaa(T143, T131, T148, X275))
app65_in_aaaa(.(T171, T172), T173, T174, .(T171, X354)) → U14_aaaa(T171, T172, T173, T174, X354, app65_in_aaaa(T172, T173, T174, X354))
app65_in_aaaa([], T183, T184, .(T183, T184)) → app65_out_aaaa([], T183, T184, .(T183, T184))
U14_aaaa(T171, T172, T173, T174, X354, app65_out_aaaa(T172, T173, T174, X354)) → app65_out_aaaa(.(T171, T172), T173, T174, .(T171, X354))
U13_aa(T131, T132, X275, app65_out_aaaa(T143, T131, T148, X275)) → qs53_out_aa(.(T131, T132), X275)
U28_aa(T239, T240, T241, T9, qs53_out_aa(T249, X9)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U27_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U29_aa(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_aa(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_aa(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
p52_in_aaaga(T45, X10, T115, T22, T9) → U16_aaaga(T45, X10, T115, T22, T9, qs53_in_aa(T45, X10))
U16_aaaga(T45, X10, T115, T22, T9, qs53_out_aa(T45, X10)) → p52_out_aaaga(T45, X10, T115, T22, T9)
p52_in_aaaga(T45, T120, T115, T22, T9) → U17_aaaga(T45, T120, T115, T22, T9, qs53_in_aa(T45, T120))
U17_aaaga(T45, T120, T115, T22, T9, qs53_out_aa(T45, T120)) → U18_aaaga(T45, T120, T115, T22, T9, app54_in_agaa(T115, T22, T120, T9))
app54_in_agaa(.(T210, T211), T212, T213, .(T210, T215)) → U15_agaa(T210, T211, T212, T213, T215, app54_in_agaa(T211, T212, T213, T215))
app54_in_agaa([], T225, T226, .(T225, T226)) → app54_out_agaa([], T225, T226, .(T225, T226))
U15_agaa(T210, T211, T212, T213, T215, app54_out_agaa(T211, T212, T213, T215)) → app54_out_agaa(.(T210, T211), T212, T213, .(T210, T215))
U18_aaaga(T45, T120, T115, T22, T9, app54_out_agaa(T115, T22, T120, T9)) → p52_out_aaaga(T45, T120, T115, T22, T9)
U30_aa(T239, T240, T241, T9, p52_out_aaaga(.(T240, T250), X10, T256, T239, T9)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
qs1_in_aa(.(T265, []), T9) → U31_aa(T265, T9, qs99_in_a(X9))
qs99_in_a([]) → qs99_out_a([])
U31_aa(T265, T9, qs99_out_a(X9)) → qs1_out_aa(.(T265, []), T9)
qs1_in_aa(.(T265, []), T9) → U32_aa(T265, T9, qs99_in_a(T268))
U32_aa(T265, T9, qs99_out_a(T268)) → U33_aa(T265, T9, qs99_in_a(X10))
U33_aa(T265, T9, qs99_out_a(X10)) → qs1_out_aa(.(T265, []), T9)
U32_aa(T265, T9, qs99_out_a(T268)) → U34_aa(T265, T9, T268, qs99_in_a(T273))
U34_aa(T265, T9, T268, qs99_out_a(T273)) → U35_aa(T265, T9, app54_in_gaga(T268, T265, T273, T9))
app54_in_gaga(.(T210, T211), T212, T213, .(T210, T215)) → U15_gaga(T210, T211, T212, T213, T215, app54_in_gaga(T211, T212, T213, T215))
app54_in_gaga([], T225, T226, .(T225, T226)) → app54_out_gaga([], T225, T226, .(T225, T226))
U15_gaga(T210, T211, T212, T213, T215, app54_out_gaga(T211, T212, T213, T215)) → app54_out_gaga(.(T210, T211), T212, T213, .(T210, T215))
U35_aa(T265, T9, app54_out_gaga(T268, T265, T273, T9)) → qs1_out_aa(.(T265, []), T9)
qs1_in_aa([], []) → qs1_out_aa([], [])
U22_aa(T22, T23, T24, T9, qs1_out_aa(.(T23, T44), X9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U21_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U23_aa(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_aa(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_aa(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U24_aa(T22, T23, T24, T9, p52_out_aaaga(T45, X10, T115, T22, T9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U22_ga(T22, T23, T24, T9, qs1_out_aa(.(T23, T44), X9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U21_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U23_ga(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_ga(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_ga(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U24_ga(T22, T23, T24, T9, p52_out_aaaga(T45, X10, T115, T22, T9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
qs1_in_ga(.(T239, .(T240, T241)), T9) → U25_ga(T239, T240, T241, T9, le33_in_gg(T239, T240))
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U26_ga(T239, T240, T241, T9, part20_in_ggaa(T239, T241, X437, X438))
U26_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, X437, X438)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U27_ga(T239, T240, T241, T9, part20_in_ggaa(T239, T241, T249, T250))
U27_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U28_ga(T239, T240, T241, T9, qs53_in_aa(T249, X9))
U28_ga(T239, T240, T241, T9, qs53_out_aa(T249, X9)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U27_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U29_ga(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_ga(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_ga(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
U30_ga(T239, T240, T241, T9, p52_out_aaaga(.(T240, T250), X10, T256, T239, T9)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
qs1_in_ga(.(T265, []), T9) → U31_ga(T265, T9, qs99_in_a(X9))
U31_ga(T265, T9, qs99_out_a(X9)) → qs1_out_ga(.(T265, []), T9)
qs1_in_ga(.(T265, []), T9) → U32_ga(T265, T9, qs99_in_a(T268))
U32_ga(T265, T9, qs99_out_a(T268)) → U33_ga(T265, T9, qs99_in_a(X10))
U33_ga(T265, T9, qs99_out_a(X10)) → qs1_out_ga(.(T265, []), T9)
U32_ga(T265, T9, qs99_out_a(T268)) → U34_ga(T265, T9, T268, qs99_in_a(T273))
U34_ga(T265, T9, T268, qs99_out_a(T273)) → U35_ga(T265, T9, app54_in_ggga(T268, T265, T273, T9))
app54_in_ggga(.(T210, T211), T212, T213, .(T210, T215)) → U15_ggga(T210, T211, T212, T213, T215, app54_in_ggga(T211, T212, T213, T215))
app54_in_ggga([], T225, T226, .(T225, T226)) → app54_out_ggga([], T225, T226, .(T225, T226))
U15_ggga(T210, T211, T212, T213, T215, app54_out_ggga(T211, T212, T213, T215)) → app54_out_ggga(.(T210, T211), T212, T213, .(T210, T215))
U35_ga(T265, T9, app54_out_ggga(T268, T265, T273, T9)) → qs1_out_ga(.(T265, []), T9)
qs1_in_ga([], []) → qs1_out_ga([], [])

The argument filtering Pi contains the following mapping:
qs1_in_ga(x1, x2)  =  qs1_in_ga(x1)
.(x1, x2)  =  .(x1, x2)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x3, x5)
gt10_in_gg(x1, x2)  =  gt10_in_gg(x1, x2)
s(x1)  =  s(x1)
U1_gg(x1, x2, x3)  =  U1_gg(x3)
0  =  0
gt10_out_gg(x1, x2)  =  gt10_out_gg
qs1_out_ga(x1, x2)  =  qs1_out_ga
U20_ga(x1, x2, x3, x4, x5)  =  U20_ga(x5)
part20_in_ggaa(x1, x2, x3, x4)  =  part20_in_ggaa(x1, x2)
U2_ggaa(x1, x2, x3, x4, x5, x6)  =  U2_ggaa(x1, x3, x6)
part20_out_ggaa(x1, x2, x3, x4)  =  part20_out_ggaa
U3_ggaa(x1, x2, x3, x4, x5, x6)  =  U3_ggaa(x6)
U4_ggaa(x1, x2, x3, x4, x5, x6)  =  U4_ggaa(x1, x3, x6)
le33_in_gg(x1, x2)  =  le33_in_gg(x1, x2)
U6_gg(x1, x2, x3)  =  U6_gg(x3)
le33_out_gg(x1, x2)  =  le33_out_gg
U5_ggaa(x1, x2, x3, x4, x5, x6)  =  U5_ggaa(x6)
[]  =  []
U21_ga(x1, x2, x3, x4, x5)  =  U21_ga(x1, x5)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x5)
qs1_in_aa(x1, x2)  =  qs1_in_aa
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(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_aa(x1, x2)  =  qs1_out_aa
U20_aa(x1, x2, x3, x4, x5)  =  U20_aa(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(x3)
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(x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x1, x6)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U6_ga(x1, x2, x3)  =  U6_ga(x3)
le33_out_ga(x1, x2)  =  le33_out_ga
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x6)
U21_aa(x1, x2, x3, x4, x5)  =  U21_aa(x1, x5)
U22_aa(x1, x2, x3, x4, x5)  =  U22_aa(x5)
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
le33_in_aa(x1, x2)  =  le33_in_aa
U6_aa(x1, x2, x3)  =  U6_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
U26_aa(x1, x2, x3, x4, x5)  =  U26_aa(x5)
U27_aa(x1, x2, x3, x4, x5)  =  U27_aa(x1, x5)
U28_aa(x1, x2, x3, x4, x5)  =  U28_aa(x5)
qs53_in_aa(x1, x2)  =  qs53_in_aa
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
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)
qs53_out_aa(x1, x2)  =  qs53_out_aa
U8_aa(x1, x2, x3, x4)  =  U8_aa(x4)
U9_aa(x1, x2, x3, x4)  =  U9_aa(x4)
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4)  =  U11_aa(x4)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4)  =  U13_aa(x4)
app65_in_aaaa(x1, x2, x3, x4)  =  app65_in_aaaa
U14_aaaa(x1, x2, x3, x4, x5, x6)  =  U14_aaaa(x6)
app65_out_aaaa(x1, x2, x3, x4)  =  app65_out_aaaa
U29_aa(x1, x2, x3, x4, x5, x6)  =  U29_aa(x1, x6)
U30_aa(x1, x2, x3, x4, x5)  =  U30_aa(x5)
p52_in_aaaga(x1, x2, x3, x4, x5)  =  p52_in_aaaga(x4)
U16_aaaga(x1, x2, x3, x4, x5, x6)  =  U16_aaaga(x6)
p52_out_aaaga(x1, x2, x3, x4, x5)  =  p52_out_aaaga
U17_aaaga(x1, x2, x3, x4, x5, x6)  =  U17_aaaga(x4, x6)
U18_aaaga(x1, x2, x3, x4, x5, x6)  =  U18_aaaga(x6)
app54_in_agaa(x1, x2, x3, x4)  =  app54_in_agaa(x2)
U15_agaa(x1, x2, x3, x4, x5, x6)  =  U15_agaa(x6)
app54_out_agaa(x1, x2, x3, x4)  =  app54_out_agaa
U31_aa(x1, x2, x3)  =  U31_aa(x3)
qs99_in_a(x1)  =  qs99_in_a
qs99_out_a(x1)  =  qs99_out_a(x1)
U32_aa(x1, x2, x3)  =  U32_aa(x3)
U33_aa(x1, x2, x3)  =  U33_aa(x3)
U34_aa(x1, x2, x3, x4)  =  U34_aa(x3, x4)
U35_aa(x1, x2, x3)  =  U35_aa(x3)
app54_in_gaga(x1, x2, x3, x4)  =  app54_in_gaga(x1, x3)
U15_gaga(x1, x2, x3, x4, x5, x6)  =  U15_gaga(x6)
app54_out_gaga(x1, x2, x3, x4)  =  app54_out_gaga
U23_aa(x1, x2, x3, x4, x5, x6)  =  U23_aa(x1, x6)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U23_ga(x1, x2, x3, x4, x5, x6)  =  U23_ga(x1, x6)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x5)
U25_ga(x1, x2, x3, x4, x5)  =  U25_ga(x1, x3, x5)
U26_ga(x1, x2, x3, x4, x5)  =  U26_ga(x5)
U27_ga(x1, x2, x3, x4, x5)  =  U27_ga(x1, x5)
U28_ga(x1, x2, x3, x4, x5)  =  U28_ga(x5)
U29_ga(x1, x2, x3, x4, x5, x6)  =  U29_ga(x1, x6)
U30_ga(x1, x2, x3, x4, x5)  =  U30_ga(x5)
U31_ga(x1, x2, x3)  =  U31_ga(x3)
U32_ga(x1, x2, x3)  =  U32_ga(x1, x3)
U33_ga(x1, x2, x3)  =  U33_ga(x3)
U34_ga(x1, x2, x3, x4)  =  U34_ga(x1, x3, x4)
U35_ga(x1, x2, x3)  =  U35_ga(x3)
app54_in_ggga(x1, x2, x3, x4)  =  app54_in_ggga(x1, x2, x3)
U15_ggga(x1, x2, x3, x4, x5, x6)  =  U15_ggga(x1, x6)
app54_out_ggga(x1, x2, x3, x4)  =  app54_out_ggga(x4)
APP54_IN_GGGA(x1, x2, x3, x4)  =  APP54_IN_GGGA(x1, x2, x3)

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

(140) UsableRulesProof (EQUIVALENT transformation)

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

(141) Obligation:

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

APP54_IN_GGGA(.(T210, T211), T212, T213, .(T210, T215)) → APP54_IN_GGGA(T211, T212, T213, T215)

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

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

(142) PiDPToQDPProof (SOUND transformation)

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

(143) Obligation:

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

APP54_IN_GGGA(.(T210, T211), T212, T213) → APP54_IN_GGGA(T211, T212, T213)

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

(144) 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:

  • APP54_IN_GGGA(.(T210, T211), T212, T213) → APP54_IN_GGGA(T211, T212, T213)
    The graph contains the following edges 1 > 1, 2 >= 2, 3 >= 3

(145) YES

(146) Obligation:

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

APP54_IN_GAGA(.(T210, T211), T212, T213, .(T210, T215)) → APP54_IN_GAGA(T211, T212, T213, T215)

The TRS R consists of the following rules:

qs1_in_ga(.(T22, .(T23, T24)), T9) → U19_ga(T22, T23, T24, T9, gt10_in_gg(T22, T23))
gt10_in_gg(s(T37), s(T38)) → U1_gg(T37, T38, gt10_in_gg(T37, T38))
gt10_in_gg(s(0), 0) → gt10_out_gg(s(0), 0)
U1_gg(T37, T38, gt10_out_gg(T37, T38)) → gt10_out_gg(s(T37), s(T38))
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U20_ga(T22, T23, T24, T9, part20_in_ggaa(T22, T24, X47, X48))
part20_in_ggaa(T61, .(T62, T63), .(T62, X119), X120) → U2_ggaa(T61, T62, T63, X119, X120, gt10_in_gg(T61, T62))
U2_ggaa(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → part20_out_ggaa(T61, .(T62, T63), .(T62, X119), X120)
U2_ggaa(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → U3_ggaa(T61, T62, T63, X119, X120, part20_in_ggaa(T61, T63, X119, X120))
part20_in_ggaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_ggaa(T83, T84, T85, X170, X171, le33_in_gg(T83, T84))
le33_in_gg(s(T98), s(T99)) → U6_gg(T98, T99, le33_in_gg(T98, T99))
le33_in_gg(0, s(T106)) → le33_out_gg(0, s(T106))
le33_in_gg(0, 0) → le33_out_gg(0, 0)
U6_gg(T98, T99, le33_out_gg(T98, T99)) → le33_out_gg(s(T98), s(T99))
U4_ggaa(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → part20_out_ggaa(T83, .(T84, T85), X170, .(T84, X171))
U4_ggaa(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → U5_ggaa(T83, T84, T85, X170, X171, part20_in_ggaa(T83, T85, X170, X171))
part20_in_ggaa(T112, [], [], []) → part20_out_ggaa(T112, [], [], [])
U5_ggaa(T83, T84, T85, X170, X171, part20_out_ggaa(T83, T85, X170, X171)) → part20_out_ggaa(T83, .(T84, T85), X170, .(T84, X171))
U3_ggaa(T61, T62, T63, X119, X120, part20_out_ggaa(T61, T63, X119, X120)) → part20_out_ggaa(T61, .(T62, T63), .(T62, X119), X120)
U20_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, X47, X48)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U21_ga(T22, T23, T24, T9, part20_in_ggaa(T22, T24, T44, T45))
U21_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U22_ga(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
qs1_in_aa(.(T22, .(T23, T24)), T9) → U19_aa(T22, T23, T24, T9, gt10_in_aa(T22, T23))
gt10_in_aa(s(T37), s(T38)) → U1_aa(T37, T38, gt10_in_aa(T37, T38))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U1_aa(T37, T38, gt10_out_aa(T37, T38)) → gt10_out_aa(s(T37), s(T38))
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U20_aa(T22, T23, T24, T9, part20_in_gaaa(T22, T24, X47, X48))
part20_in_gaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_gaaa(T61, T62, T63, X119, X120, gt10_in_ga(T61, T62))
gt10_in_ga(s(T37), s(T38)) → U1_ga(T37, T38, gt10_in_ga(T37, T38))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U1_ga(T37, T38, gt10_out_ga(T37, T38)) → gt10_out_ga(s(T37), s(T38))
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → U3_gaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
part20_in_gaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_gaaa(T83, T84, T85, X170, X171, le33_in_ga(T83, T84))
le33_in_ga(s(T98), s(T99)) → U6_ga(T98, T99, le33_in_ga(T98, T99))
le33_in_ga(0, s(T106)) → le33_out_ga(0, s(T106))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U6_ga(T98, T99, le33_out_ga(T98, T99)) → le33_out_ga(s(T98), s(T99))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → U5_gaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
part20_in_gaaa(T112, [], [], []) → part20_out_gaaa(T112, [], [], [])
U5_gaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U3_gaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U20_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, X47, X48)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U21_aa(T22, T23, T24, T9, part20_in_gaaa(T22, T24, T44, T45))
U21_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U22_aa(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
qs1_in_aa(.(T239, .(T240, T241)), T9) → U25_aa(T239, T240, T241, T9, le33_in_aa(T239, T240))
le33_in_aa(s(T98), s(T99)) → U6_aa(T98, T99, le33_in_aa(T98, T99))
le33_in_aa(0, s(T106)) → le33_out_aa(0, s(T106))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U6_aa(T98, T99, le33_out_aa(T98, T99)) → le33_out_aa(s(T98), s(T99))
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U26_aa(T239, T240, T241, T9, part20_in_gaaa(T239, T241, X437, X438))
U26_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, X437, X438)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U27_aa(T239, T240, T241, T9, part20_in_gaaa(T239, T241, T249, T250))
U27_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U28_aa(T239, T240, T241, T9, qs53_in_aa(T249, X9))
qs53_in_aa(.(T131, T132), X275) → U7_aa(T131, T132, X275, part20_in_aaaa(T131, T132, X271, X272))
part20_in_aaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_aaaa(T61, T62, T63, X119, X120, gt10_in_aa(T61, T62))
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → U3_aaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
U3_aaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
part20_in_aaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_aaaa(T83, T84, T85, X170, X171, le33_in_aa(T83, T84))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → U5_aaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
U5_aaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
part20_in_aaaa(T112, [], [], []) → part20_out_aaaa(T112, [], [], [])
U7_aa(T131, T132, X275, part20_out_aaaa(T131, T132, X271, X272)) → qs53_out_aa(.(T131, T132), X275)
qs53_in_aa(.(T131, T132), X275) → U8_aa(T131, T132, X275, part20_in_aaaa(T131, T132, T136, T137))
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U9_aa(T131, T132, X275, qs53_in_aa(T136, X273))
qs53_in_aa([], []) → qs53_out_aa([], [])
U9_aa(T131, T132, X275, qs53_out_aa(T136, X273)) → qs53_out_aa(.(T131, T132), X275)
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U10_aa(T131, T132, X275, T137, qs53_in_aa(T136, T143))
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U11_aa(T131, T132, X275, qs53_in_aa(T137, X274))
U11_aa(T131, T132, X275, qs53_out_aa(T137, X274)) → qs53_out_aa(.(T131, T132), X275)
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U12_aa(T131, T132, X275, T143, qs53_in_aa(T137, T148))
U12_aa(T131, T132, X275, T143, qs53_out_aa(T137, T148)) → U13_aa(T131, T132, X275, app65_in_aaaa(T143, T131, T148, X275))
app65_in_aaaa(.(T171, T172), T173, T174, .(T171, X354)) → U14_aaaa(T171, T172, T173, T174, X354, app65_in_aaaa(T172, T173, T174, X354))
app65_in_aaaa([], T183, T184, .(T183, T184)) → app65_out_aaaa([], T183, T184, .(T183, T184))
U14_aaaa(T171, T172, T173, T174, X354, app65_out_aaaa(T172, T173, T174, X354)) → app65_out_aaaa(.(T171, T172), T173, T174, .(T171, X354))
U13_aa(T131, T132, X275, app65_out_aaaa(T143, T131, T148, X275)) → qs53_out_aa(.(T131, T132), X275)
U28_aa(T239, T240, T241, T9, qs53_out_aa(T249, X9)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U27_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U29_aa(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_aa(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_aa(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
p52_in_aaaga(T45, X10, T115, T22, T9) → U16_aaaga(T45, X10, T115, T22, T9, qs53_in_aa(T45, X10))
U16_aaaga(T45, X10, T115, T22, T9, qs53_out_aa(T45, X10)) → p52_out_aaaga(T45, X10, T115, T22, T9)
p52_in_aaaga(T45, T120, T115, T22, T9) → U17_aaaga(T45, T120, T115, T22, T9, qs53_in_aa(T45, T120))
U17_aaaga(T45, T120, T115, T22, T9, qs53_out_aa(T45, T120)) → U18_aaaga(T45, T120, T115, T22, T9, app54_in_agaa(T115, T22, T120, T9))
app54_in_agaa(.(T210, T211), T212, T213, .(T210, T215)) → U15_agaa(T210, T211, T212, T213, T215, app54_in_agaa(T211, T212, T213, T215))
app54_in_agaa([], T225, T226, .(T225, T226)) → app54_out_agaa([], T225, T226, .(T225, T226))
U15_agaa(T210, T211, T212, T213, T215, app54_out_agaa(T211, T212, T213, T215)) → app54_out_agaa(.(T210, T211), T212, T213, .(T210, T215))
U18_aaaga(T45, T120, T115, T22, T9, app54_out_agaa(T115, T22, T120, T9)) → p52_out_aaaga(T45, T120, T115, T22, T9)
U30_aa(T239, T240, T241, T9, p52_out_aaaga(.(T240, T250), X10, T256, T239, T9)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
qs1_in_aa(.(T265, []), T9) → U31_aa(T265, T9, qs99_in_a(X9))
qs99_in_a([]) → qs99_out_a([])
U31_aa(T265, T9, qs99_out_a(X9)) → qs1_out_aa(.(T265, []), T9)
qs1_in_aa(.(T265, []), T9) → U32_aa(T265, T9, qs99_in_a(T268))
U32_aa(T265, T9, qs99_out_a(T268)) → U33_aa(T265, T9, qs99_in_a(X10))
U33_aa(T265, T9, qs99_out_a(X10)) → qs1_out_aa(.(T265, []), T9)
U32_aa(T265, T9, qs99_out_a(T268)) → U34_aa(T265, T9, T268, qs99_in_a(T273))
U34_aa(T265, T9, T268, qs99_out_a(T273)) → U35_aa(T265, T9, app54_in_gaga(T268, T265, T273, T9))
app54_in_gaga(.(T210, T211), T212, T213, .(T210, T215)) → U15_gaga(T210, T211, T212, T213, T215, app54_in_gaga(T211, T212, T213, T215))
app54_in_gaga([], T225, T226, .(T225, T226)) → app54_out_gaga([], T225, T226, .(T225, T226))
U15_gaga(T210, T211, T212, T213, T215, app54_out_gaga(T211, T212, T213, T215)) → app54_out_gaga(.(T210, T211), T212, T213, .(T210, T215))
U35_aa(T265, T9, app54_out_gaga(T268, T265, T273, T9)) → qs1_out_aa(.(T265, []), T9)
qs1_in_aa([], []) → qs1_out_aa([], [])
U22_aa(T22, T23, T24, T9, qs1_out_aa(.(T23, T44), X9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U21_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U23_aa(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_aa(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_aa(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U24_aa(T22, T23, T24, T9, p52_out_aaaga(T45, X10, T115, T22, T9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U22_ga(T22, T23, T24, T9, qs1_out_aa(.(T23, T44), X9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U21_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U23_ga(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_ga(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_ga(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U24_ga(T22, T23, T24, T9, p52_out_aaaga(T45, X10, T115, T22, T9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
qs1_in_ga(.(T239, .(T240, T241)), T9) → U25_ga(T239, T240, T241, T9, le33_in_gg(T239, T240))
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U26_ga(T239, T240, T241, T9, part20_in_ggaa(T239, T241, X437, X438))
U26_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, X437, X438)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U27_ga(T239, T240, T241, T9, part20_in_ggaa(T239, T241, T249, T250))
U27_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U28_ga(T239, T240, T241, T9, qs53_in_aa(T249, X9))
U28_ga(T239, T240, T241, T9, qs53_out_aa(T249, X9)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U27_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U29_ga(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_ga(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_ga(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
U30_ga(T239, T240, T241, T9, p52_out_aaaga(.(T240, T250), X10, T256, T239, T9)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
qs1_in_ga(.(T265, []), T9) → U31_ga(T265, T9, qs99_in_a(X9))
U31_ga(T265, T9, qs99_out_a(X9)) → qs1_out_ga(.(T265, []), T9)
qs1_in_ga(.(T265, []), T9) → U32_ga(T265, T9, qs99_in_a(T268))
U32_ga(T265, T9, qs99_out_a(T268)) → U33_ga(T265, T9, qs99_in_a(X10))
U33_ga(T265, T9, qs99_out_a(X10)) → qs1_out_ga(.(T265, []), T9)
U32_ga(T265, T9, qs99_out_a(T268)) → U34_ga(T265, T9, T268, qs99_in_a(T273))
U34_ga(T265, T9, T268, qs99_out_a(T273)) → U35_ga(T265, T9, app54_in_ggga(T268, T265, T273, T9))
app54_in_ggga(.(T210, T211), T212, T213, .(T210, T215)) → U15_ggga(T210, T211, T212, T213, T215, app54_in_ggga(T211, T212, T213, T215))
app54_in_ggga([], T225, T226, .(T225, T226)) → app54_out_ggga([], T225, T226, .(T225, T226))
U15_ggga(T210, T211, T212, T213, T215, app54_out_ggga(T211, T212, T213, T215)) → app54_out_ggga(.(T210, T211), T212, T213, .(T210, T215))
U35_ga(T265, T9, app54_out_ggga(T268, T265, T273, T9)) → qs1_out_ga(.(T265, []), T9)
qs1_in_ga([], []) → qs1_out_ga([], [])

The argument filtering Pi contains the following mapping:
qs1_in_ga(x1, x2)  =  qs1_in_ga(x1)
.(x1, x2)  =  .(x1, x2)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x3, x5)
gt10_in_gg(x1, x2)  =  gt10_in_gg(x1, x2)
s(x1)  =  s(x1)
U1_gg(x1, x2, x3)  =  U1_gg(x3)
0  =  0
gt10_out_gg(x1, x2)  =  gt10_out_gg
qs1_out_ga(x1, x2)  =  qs1_out_ga
U20_ga(x1, x2, x3, x4, x5)  =  U20_ga(x5)
part20_in_ggaa(x1, x2, x3, x4)  =  part20_in_ggaa(x1, x2)
U2_ggaa(x1, x2, x3, x4, x5, x6)  =  U2_ggaa(x1, x3, x6)
part20_out_ggaa(x1, x2, x3, x4)  =  part20_out_ggaa
U3_ggaa(x1, x2, x3, x4, x5, x6)  =  U3_ggaa(x6)
U4_ggaa(x1, x2, x3, x4, x5, x6)  =  U4_ggaa(x1, x3, x6)
le33_in_gg(x1, x2)  =  le33_in_gg(x1, x2)
U6_gg(x1, x2, x3)  =  U6_gg(x3)
le33_out_gg(x1, x2)  =  le33_out_gg
U5_ggaa(x1, x2, x3, x4, x5, x6)  =  U5_ggaa(x6)
[]  =  []
U21_ga(x1, x2, x3, x4, x5)  =  U21_ga(x1, x5)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x5)
qs1_in_aa(x1, x2)  =  qs1_in_aa
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(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_aa(x1, x2)  =  qs1_out_aa
U20_aa(x1, x2, x3, x4, x5)  =  U20_aa(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(x3)
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(x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x1, x6)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U6_ga(x1, x2, x3)  =  U6_ga(x3)
le33_out_ga(x1, x2)  =  le33_out_ga
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x6)
U21_aa(x1, x2, x3, x4, x5)  =  U21_aa(x1, x5)
U22_aa(x1, x2, x3, x4, x5)  =  U22_aa(x5)
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
le33_in_aa(x1, x2)  =  le33_in_aa
U6_aa(x1, x2, x3)  =  U6_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
U26_aa(x1, x2, x3, x4, x5)  =  U26_aa(x5)
U27_aa(x1, x2, x3, x4, x5)  =  U27_aa(x1, x5)
U28_aa(x1, x2, x3, x4, x5)  =  U28_aa(x5)
qs53_in_aa(x1, x2)  =  qs53_in_aa
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
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)
qs53_out_aa(x1, x2)  =  qs53_out_aa
U8_aa(x1, x2, x3, x4)  =  U8_aa(x4)
U9_aa(x1, x2, x3, x4)  =  U9_aa(x4)
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4)  =  U11_aa(x4)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4)  =  U13_aa(x4)
app65_in_aaaa(x1, x2, x3, x4)  =  app65_in_aaaa
U14_aaaa(x1, x2, x3, x4, x5, x6)  =  U14_aaaa(x6)
app65_out_aaaa(x1, x2, x3, x4)  =  app65_out_aaaa
U29_aa(x1, x2, x3, x4, x5, x6)  =  U29_aa(x1, x6)
U30_aa(x1, x2, x3, x4, x5)  =  U30_aa(x5)
p52_in_aaaga(x1, x2, x3, x4, x5)  =  p52_in_aaaga(x4)
U16_aaaga(x1, x2, x3, x4, x5, x6)  =  U16_aaaga(x6)
p52_out_aaaga(x1, x2, x3, x4, x5)  =  p52_out_aaaga
U17_aaaga(x1, x2, x3, x4, x5, x6)  =  U17_aaaga(x4, x6)
U18_aaaga(x1, x2, x3, x4, x5, x6)  =  U18_aaaga(x6)
app54_in_agaa(x1, x2, x3, x4)  =  app54_in_agaa(x2)
U15_agaa(x1, x2, x3, x4, x5, x6)  =  U15_agaa(x6)
app54_out_agaa(x1, x2, x3, x4)  =  app54_out_agaa
U31_aa(x1, x2, x3)  =  U31_aa(x3)
qs99_in_a(x1)  =  qs99_in_a
qs99_out_a(x1)  =  qs99_out_a(x1)
U32_aa(x1, x2, x3)  =  U32_aa(x3)
U33_aa(x1, x2, x3)  =  U33_aa(x3)
U34_aa(x1, x2, x3, x4)  =  U34_aa(x3, x4)
U35_aa(x1, x2, x3)  =  U35_aa(x3)
app54_in_gaga(x1, x2, x3, x4)  =  app54_in_gaga(x1, x3)
U15_gaga(x1, x2, x3, x4, x5, x6)  =  U15_gaga(x6)
app54_out_gaga(x1, x2, x3, x4)  =  app54_out_gaga
U23_aa(x1, x2, x3, x4, x5, x6)  =  U23_aa(x1, x6)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U23_ga(x1, x2, x3, x4, x5, x6)  =  U23_ga(x1, x6)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x5)
U25_ga(x1, x2, x3, x4, x5)  =  U25_ga(x1, x3, x5)
U26_ga(x1, x2, x3, x4, x5)  =  U26_ga(x5)
U27_ga(x1, x2, x3, x4, x5)  =  U27_ga(x1, x5)
U28_ga(x1, x2, x3, x4, x5)  =  U28_ga(x5)
U29_ga(x1, x2, x3, x4, x5, x6)  =  U29_ga(x1, x6)
U30_ga(x1, x2, x3, x4, x5)  =  U30_ga(x5)
U31_ga(x1, x2, x3)  =  U31_ga(x3)
U32_ga(x1, x2, x3)  =  U32_ga(x1, x3)
U33_ga(x1, x2, x3)  =  U33_ga(x3)
U34_ga(x1, x2, x3, x4)  =  U34_ga(x1, x3, x4)
U35_ga(x1, x2, x3)  =  U35_ga(x3)
app54_in_ggga(x1, x2, x3, x4)  =  app54_in_ggga(x1, x2, x3)
U15_ggga(x1, x2, x3, x4, x5, x6)  =  U15_ggga(x1, x6)
app54_out_ggga(x1, x2, x3, x4)  =  app54_out_ggga(x4)
APP54_IN_GAGA(x1, x2, x3, x4)  =  APP54_IN_GAGA(x1, x3)

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

(147) UsableRulesProof (EQUIVALENT transformation)

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

(148) Obligation:

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

APP54_IN_GAGA(.(T210, T211), T212, T213, .(T210, T215)) → APP54_IN_GAGA(T211, T212, T213, T215)

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

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

(149) PiDPToQDPProof (SOUND transformation)

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

(150) Obligation:

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

APP54_IN_GAGA(.(T210, T211), T213) → APP54_IN_GAGA(T211, T213)

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

(151) 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:

  • APP54_IN_GAGA(.(T210, T211), T213) → APP54_IN_GAGA(T211, T213)
    The graph contains the following edges 1 > 1, 2 >= 2

(152) YES

(153) Obligation:

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

APP54_IN_AGAA(.(T210, T211), T212, T213, .(T210, T215)) → APP54_IN_AGAA(T211, T212, T213, T215)

The TRS R consists of the following rules:

qs1_in_ga(.(T22, .(T23, T24)), T9) → U19_ga(T22, T23, T24, T9, gt10_in_gg(T22, T23))
gt10_in_gg(s(T37), s(T38)) → U1_gg(T37, T38, gt10_in_gg(T37, T38))
gt10_in_gg(s(0), 0) → gt10_out_gg(s(0), 0)
U1_gg(T37, T38, gt10_out_gg(T37, T38)) → gt10_out_gg(s(T37), s(T38))
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U20_ga(T22, T23, T24, T9, part20_in_ggaa(T22, T24, X47, X48))
part20_in_ggaa(T61, .(T62, T63), .(T62, X119), X120) → U2_ggaa(T61, T62, T63, X119, X120, gt10_in_gg(T61, T62))
U2_ggaa(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → part20_out_ggaa(T61, .(T62, T63), .(T62, X119), X120)
U2_ggaa(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → U3_ggaa(T61, T62, T63, X119, X120, part20_in_ggaa(T61, T63, X119, X120))
part20_in_ggaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_ggaa(T83, T84, T85, X170, X171, le33_in_gg(T83, T84))
le33_in_gg(s(T98), s(T99)) → U6_gg(T98, T99, le33_in_gg(T98, T99))
le33_in_gg(0, s(T106)) → le33_out_gg(0, s(T106))
le33_in_gg(0, 0) → le33_out_gg(0, 0)
U6_gg(T98, T99, le33_out_gg(T98, T99)) → le33_out_gg(s(T98), s(T99))
U4_ggaa(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → part20_out_ggaa(T83, .(T84, T85), X170, .(T84, X171))
U4_ggaa(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → U5_ggaa(T83, T84, T85, X170, X171, part20_in_ggaa(T83, T85, X170, X171))
part20_in_ggaa(T112, [], [], []) → part20_out_ggaa(T112, [], [], [])
U5_ggaa(T83, T84, T85, X170, X171, part20_out_ggaa(T83, T85, X170, X171)) → part20_out_ggaa(T83, .(T84, T85), X170, .(T84, X171))
U3_ggaa(T61, T62, T63, X119, X120, part20_out_ggaa(T61, T63, X119, X120)) → part20_out_ggaa(T61, .(T62, T63), .(T62, X119), X120)
U20_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, X47, X48)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U21_ga(T22, T23, T24, T9, part20_in_ggaa(T22, T24, T44, T45))
U21_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U22_ga(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
qs1_in_aa(.(T22, .(T23, T24)), T9) → U19_aa(T22, T23, T24, T9, gt10_in_aa(T22, T23))
gt10_in_aa(s(T37), s(T38)) → U1_aa(T37, T38, gt10_in_aa(T37, T38))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U1_aa(T37, T38, gt10_out_aa(T37, T38)) → gt10_out_aa(s(T37), s(T38))
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U20_aa(T22, T23, T24, T9, part20_in_gaaa(T22, T24, X47, X48))
part20_in_gaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_gaaa(T61, T62, T63, X119, X120, gt10_in_ga(T61, T62))
gt10_in_ga(s(T37), s(T38)) → U1_ga(T37, T38, gt10_in_ga(T37, T38))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U1_ga(T37, T38, gt10_out_ga(T37, T38)) → gt10_out_ga(s(T37), s(T38))
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → U3_gaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
part20_in_gaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_gaaa(T83, T84, T85, X170, X171, le33_in_ga(T83, T84))
le33_in_ga(s(T98), s(T99)) → U6_ga(T98, T99, le33_in_ga(T98, T99))
le33_in_ga(0, s(T106)) → le33_out_ga(0, s(T106))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U6_ga(T98, T99, le33_out_ga(T98, T99)) → le33_out_ga(s(T98), s(T99))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → U5_gaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
part20_in_gaaa(T112, [], [], []) → part20_out_gaaa(T112, [], [], [])
U5_gaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U3_gaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U20_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, X47, X48)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U21_aa(T22, T23, T24, T9, part20_in_gaaa(T22, T24, T44, T45))
U21_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U22_aa(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
qs1_in_aa(.(T239, .(T240, T241)), T9) → U25_aa(T239, T240, T241, T9, le33_in_aa(T239, T240))
le33_in_aa(s(T98), s(T99)) → U6_aa(T98, T99, le33_in_aa(T98, T99))
le33_in_aa(0, s(T106)) → le33_out_aa(0, s(T106))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U6_aa(T98, T99, le33_out_aa(T98, T99)) → le33_out_aa(s(T98), s(T99))
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U26_aa(T239, T240, T241, T9, part20_in_gaaa(T239, T241, X437, X438))
U26_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, X437, X438)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U27_aa(T239, T240, T241, T9, part20_in_gaaa(T239, T241, T249, T250))
U27_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U28_aa(T239, T240, T241, T9, qs53_in_aa(T249, X9))
qs53_in_aa(.(T131, T132), X275) → U7_aa(T131, T132, X275, part20_in_aaaa(T131, T132, X271, X272))
part20_in_aaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_aaaa(T61, T62, T63, X119, X120, gt10_in_aa(T61, T62))
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → U3_aaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
U3_aaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
part20_in_aaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_aaaa(T83, T84, T85, X170, X171, le33_in_aa(T83, T84))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → U5_aaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
U5_aaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
part20_in_aaaa(T112, [], [], []) → part20_out_aaaa(T112, [], [], [])
U7_aa(T131, T132, X275, part20_out_aaaa(T131, T132, X271, X272)) → qs53_out_aa(.(T131, T132), X275)
qs53_in_aa(.(T131, T132), X275) → U8_aa(T131, T132, X275, part20_in_aaaa(T131, T132, T136, T137))
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U9_aa(T131, T132, X275, qs53_in_aa(T136, X273))
qs53_in_aa([], []) → qs53_out_aa([], [])
U9_aa(T131, T132, X275, qs53_out_aa(T136, X273)) → qs53_out_aa(.(T131, T132), X275)
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U10_aa(T131, T132, X275, T137, qs53_in_aa(T136, T143))
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U11_aa(T131, T132, X275, qs53_in_aa(T137, X274))
U11_aa(T131, T132, X275, qs53_out_aa(T137, X274)) → qs53_out_aa(.(T131, T132), X275)
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U12_aa(T131, T132, X275, T143, qs53_in_aa(T137, T148))
U12_aa(T131, T132, X275, T143, qs53_out_aa(T137, T148)) → U13_aa(T131, T132, X275, app65_in_aaaa(T143, T131, T148, X275))
app65_in_aaaa(.(T171, T172), T173, T174, .(T171, X354)) → U14_aaaa(T171, T172, T173, T174, X354, app65_in_aaaa(T172, T173, T174, X354))
app65_in_aaaa([], T183, T184, .(T183, T184)) → app65_out_aaaa([], T183, T184, .(T183, T184))
U14_aaaa(T171, T172, T173, T174, X354, app65_out_aaaa(T172, T173, T174, X354)) → app65_out_aaaa(.(T171, T172), T173, T174, .(T171, X354))
U13_aa(T131, T132, X275, app65_out_aaaa(T143, T131, T148, X275)) → qs53_out_aa(.(T131, T132), X275)
U28_aa(T239, T240, T241, T9, qs53_out_aa(T249, X9)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U27_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U29_aa(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_aa(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_aa(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
p52_in_aaaga(T45, X10, T115, T22, T9) → U16_aaaga(T45, X10, T115, T22, T9, qs53_in_aa(T45, X10))
U16_aaaga(T45, X10, T115, T22, T9, qs53_out_aa(T45, X10)) → p52_out_aaaga(T45, X10, T115, T22, T9)
p52_in_aaaga(T45, T120, T115, T22, T9) → U17_aaaga(T45, T120, T115, T22, T9, qs53_in_aa(T45, T120))
U17_aaaga(T45, T120, T115, T22, T9, qs53_out_aa(T45, T120)) → U18_aaaga(T45, T120, T115, T22, T9, app54_in_agaa(T115, T22, T120, T9))
app54_in_agaa(.(T210, T211), T212, T213, .(T210, T215)) → U15_agaa(T210, T211, T212, T213, T215, app54_in_agaa(T211, T212, T213, T215))
app54_in_agaa([], T225, T226, .(T225, T226)) → app54_out_agaa([], T225, T226, .(T225, T226))
U15_agaa(T210, T211, T212, T213, T215, app54_out_agaa(T211, T212, T213, T215)) → app54_out_agaa(.(T210, T211), T212, T213, .(T210, T215))
U18_aaaga(T45, T120, T115, T22, T9, app54_out_agaa(T115, T22, T120, T9)) → p52_out_aaaga(T45, T120, T115, T22, T9)
U30_aa(T239, T240, T241, T9, p52_out_aaaga(.(T240, T250), X10, T256, T239, T9)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
qs1_in_aa(.(T265, []), T9) → U31_aa(T265, T9, qs99_in_a(X9))
qs99_in_a([]) → qs99_out_a([])
U31_aa(T265, T9, qs99_out_a(X9)) → qs1_out_aa(.(T265, []), T9)
qs1_in_aa(.(T265, []), T9) → U32_aa(T265, T9, qs99_in_a(T268))
U32_aa(T265, T9, qs99_out_a(T268)) → U33_aa(T265, T9, qs99_in_a(X10))
U33_aa(T265, T9, qs99_out_a(X10)) → qs1_out_aa(.(T265, []), T9)
U32_aa(T265, T9, qs99_out_a(T268)) → U34_aa(T265, T9, T268, qs99_in_a(T273))
U34_aa(T265, T9, T268, qs99_out_a(T273)) → U35_aa(T265, T9, app54_in_gaga(T268, T265, T273, T9))
app54_in_gaga(.(T210, T211), T212, T213, .(T210, T215)) → U15_gaga(T210, T211, T212, T213, T215, app54_in_gaga(T211, T212, T213, T215))
app54_in_gaga([], T225, T226, .(T225, T226)) → app54_out_gaga([], T225, T226, .(T225, T226))
U15_gaga(T210, T211, T212, T213, T215, app54_out_gaga(T211, T212, T213, T215)) → app54_out_gaga(.(T210, T211), T212, T213, .(T210, T215))
U35_aa(T265, T9, app54_out_gaga(T268, T265, T273, T9)) → qs1_out_aa(.(T265, []), T9)
qs1_in_aa([], []) → qs1_out_aa([], [])
U22_aa(T22, T23, T24, T9, qs1_out_aa(.(T23, T44), X9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U21_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U23_aa(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_aa(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_aa(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U24_aa(T22, T23, T24, T9, p52_out_aaaga(T45, X10, T115, T22, T9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U22_ga(T22, T23, T24, T9, qs1_out_aa(.(T23, T44), X9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U21_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U23_ga(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_ga(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_ga(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U24_ga(T22, T23, T24, T9, p52_out_aaaga(T45, X10, T115, T22, T9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
qs1_in_ga(.(T239, .(T240, T241)), T9) → U25_ga(T239, T240, T241, T9, le33_in_gg(T239, T240))
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U26_ga(T239, T240, T241, T9, part20_in_ggaa(T239, T241, X437, X438))
U26_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, X437, X438)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U27_ga(T239, T240, T241, T9, part20_in_ggaa(T239, T241, T249, T250))
U27_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U28_ga(T239, T240, T241, T9, qs53_in_aa(T249, X9))
U28_ga(T239, T240, T241, T9, qs53_out_aa(T249, X9)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U27_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U29_ga(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_ga(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_ga(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
U30_ga(T239, T240, T241, T9, p52_out_aaaga(.(T240, T250), X10, T256, T239, T9)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
qs1_in_ga(.(T265, []), T9) → U31_ga(T265, T9, qs99_in_a(X9))
U31_ga(T265, T9, qs99_out_a(X9)) → qs1_out_ga(.(T265, []), T9)
qs1_in_ga(.(T265, []), T9) → U32_ga(T265, T9, qs99_in_a(T268))
U32_ga(T265, T9, qs99_out_a(T268)) → U33_ga(T265, T9, qs99_in_a(X10))
U33_ga(T265, T9, qs99_out_a(X10)) → qs1_out_ga(.(T265, []), T9)
U32_ga(T265, T9, qs99_out_a(T268)) → U34_ga(T265, T9, T268, qs99_in_a(T273))
U34_ga(T265, T9, T268, qs99_out_a(T273)) → U35_ga(T265, T9, app54_in_ggga(T268, T265, T273, T9))
app54_in_ggga(.(T210, T211), T212, T213, .(T210, T215)) → U15_ggga(T210, T211, T212, T213, T215, app54_in_ggga(T211, T212, T213, T215))
app54_in_ggga([], T225, T226, .(T225, T226)) → app54_out_ggga([], T225, T226, .(T225, T226))
U15_ggga(T210, T211, T212, T213, T215, app54_out_ggga(T211, T212, T213, T215)) → app54_out_ggga(.(T210, T211), T212, T213, .(T210, T215))
U35_ga(T265, T9, app54_out_ggga(T268, T265, T273, T9)) → qs1_out_ga(.(T265, []), T9)
qs1_in_ga([], []) → qs1_out_ga([], [])

The argument filtering Pi contains the following mapping:
qs1_in_ga(x1, x2)  =  qs1_in_ga(x1)
.(x1, x2)  =  .(x1, x2)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x3, x5)
gt10_in_gg(x1, x2)  =  gt10_in_gg(x1, x2)
s(x1)  =  s(x1)
U1_gg(x1, x2, x3)  =  U1_gg(x3)
0  =  0
gt10_out_gg(x1, x2)  =  gt10_out_gg
qs1_out_ga(x1, x2)  =  qs1_out_ga
U20_ga(x1, x2, x3, x4, x5)  =  U20_ga(x5)
part20_in_ggaa(x1, x2, x3, x4)  =  part20_in_ggaa(x1, x2)
U2_ggaa(x1, x2, x3, x4, x5, x6)  =  U2_ggaa(x1, x3, x6)
part20_out_ggaa(x1, x2, x3, x4)  =  part20_out_ggaa
U3_ggaa(x1, x2, x3, x4, x5, x6)  =  U3_ggaa(x6)
U4_ggaa(x1, x2, x3, x4, x5, x6)  =  U4_ggaa(x1, x3, x6)
le33_in_gg(x1, x2)  =  le33_in_gg(x1, x2)
U6_gg(x1, x2, x3)  =  U6_gg(x3)
le33_out_gg(x1, x2)  =  le33_out_gg
U5_ggaa(x1, x2, x3, x4, x5, x6)  =  U5_ggaa(x6)
[]  =  []
U21_ga(x1, x2, x3, x4, x5)  =  U21_ga(x1, x5)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x5)
qs1_in_aa(x1, x2)  =  qs1_in_aa
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(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_aa(x1, x2)  =  qs1_out_aa
U20_aa(x1, x2, x3, x4, x5)  =  U20_aa(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(x3)
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(x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x1, x6)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U6_ga(x1, x2, x3)  =  U6_ga(x3)
le33_out_ga(x1, x2)  =  le33_out_ga
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x6)
U21_aa(x1, x2, x3, x4, x5)  =  U21_aa(x1, x5)
U22_aa(x1, x2, x3, x4, x5)  =  U22_aa(x5)
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
le33_in_aa(x1, x2)  =  le33_in_aa
U6_aa(x1, x2, x3)  =  U6_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
U26_aa(x1, x2, x3, x4, x5)  =  U26_aa(x5)
U27_aa(x1, x2, x3, x4, x5)  =  U27_aa(x1, x5)
U28_aa(x1, x2, x3, x4, x5)  =  U28_aa(x5)
qs53_in_aa(x1, x2)  =  qs53_in_aa
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
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)
qs53_out_aa(x1, x2)  =  qs53_out_aa
U8_aa(x1, x2, x3, x4)  =  U8_aa(x4)
U9_aa(x1, x2, x3, x4)  =  U9_aa(x4)
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4)  =  U11_aa(x4)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4)  =  U13_aa(x4)
app65_in_aaaa(x1, x2, x3, x4)  =  app65_in_aaaa
U14_aaaa(x1, x2, x3, x4, x5, x6)  =  U14_aaaa(x6)
app65_out_aaaa(x1, x2, x3, x4)  =  app65_out_aaaa
U29_aa(x1, x2, x3, x4, x5, x6)  =  U29_aa(x1, x6)
U30_aa(x1, x2, x3, x4, x5)  =  U30_aa(x5)
p52_in_aaaga(x1, x2, x3, x4, x5)  =  p52_in_aaaga(x4)
U16_aaaga(x1, x2, x3, x4, x5, x6)  =  U16_aaaga(x6)
p52_out_aaaga(x1, x2, x3, x4, x5)  =  p52_out_aaaga
U17_aaaga(x1, x2, x3, x4, x5, x6)  =  U17_aaaga(x4, x6)
U18_aaaga(x1, x2, x3, x4, x5, x6)  =  U18_aaaga(x6)
app54_in_agaa(x1, x2, x3, x4)  =  app54_in_agaa(x2)
U15_agaa(x1, x2, x3, x4, x5, x6)  =  U15_agaa(x6)
app54_out_agaa(x1, x2, x3, x4)  =  app54_out_agaa
U31_aa(x1, x2, x3)  =  U31_aa(x3)
qs99_in_a(x1)  =  qs99_in_a
qs99_out_a(x1)  =  qs99_out_a(x1)
U32_aa(x1, x2, x3)  =  U32_aa(x3)
U33_aa(x1, x2, x3)  =  U33_aa(x3)
U34_aa(x1, x2, x3, x4)  =  U34_aa(x3, x4)
U35_aa(x1, x2, x3)  =  U35_aa(x3)
app54_in_gaga(x1, x2, x3, x4)  =  app54_in_gaga(x1, x3)
U15_gaga(x1, x2, x3, x4, x5, x6)  =  U15_gaga(x6)
app54_out_gaga(x1, x2, x3, x4)  =  app54_out_gaga
U23_aa(x1, x2, x3, x4, x5, x6)  =  U23_aa(x1, x6)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U23_ga(x1, x2, x3, x4, x5, x6)  =  U23_ga(x1, x6)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x5)
U25_ga(x1, x2, x3, x4, x5)  =  U25_ga(x1, x3, x5)
U26_ga(x1, x2, x3, x4, x5)  =  U26_ga(x5)
U27_ga(x1, x2, x3, x4, x5)  =  U27_ga(x1, x5)
U28_ga(x1, x2, x3, x4, x5)  =  U28_ga(x5)
U29_ga(x1, x2, x3, x4, x5, x6)  =  U29_ga(x1, x6)
U30_ga(x1, x2, x3, x4, x5)  =  U30_ga(x5)
U31_ga(x1, x2, x3)  =  U31_ga(x3)
U32_ga(x1, x2, x3)  =  U32_ga(x1, x3)
U33_ga(x1, x2, x3)  =  U33_ga(x3)
U34_ga(x1, x2, x3, x4)  =  U34_ga(x1, x3, x4)
U35_ga(x1, x2, x3)  =  U35_ga(x3)
app54_in_ggga(x1, x2, x3, x4)  =  app54_in_ggga(x1, x2, x3)
U15_ggga(x1, x2, x3, x4, x5, x6)  =  U15_ggga(x1, x6)
app54_out_ggga(x1, x2, x3, x4)  =  app54_out_ggga(x4)
APP54_IN_AGAA(x1, x2, x3, x4)  =  APP54_IN_AGAA(x2)

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

(154) UsableRulesProof (EQUIVALENT transformation)

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

(155) Obligation:

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

APP54_IN_AGAA(.(T210, T211), T212, T213, .(T210, T215)) → APP54_IN_AGAA(T211, T212, T213, T215)

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

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

(156) PiDPToQDPProof (SOUND transformation)

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

(157) Obligation:

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

APP54_IN_AGAA(T212) → APP54_IN_AGAA(T212)

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

(158) 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 = APP54_IN_AGAA(T212) evaluates to t =APP54_IN_AGAA(T212)

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 APP54_IN_AGAA(T212) to APP54_IN_AGAA(T212).



(159) NO

(160) Obligation:

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

APP65_IN_AAAA(.(T171, T172), T173, T174, .(T171, X354)) → APP65_IN_AAAA(T172, T173, T174, X354)

The TRS R consists of the following rules:

qs1_in_ga(.(T22, .(T23, T24)), T9) → U19_ga(T22, T23, T24, T9, gt10_in_gg(T22, T23))
gt10_in_gg(s(T37), s(T38)) → U1_gg(T37, T38, gt10_in_gg(T37, T38))
gt10_in_gg(s(0), 0) → gt10_out_gg(s(0), 0)
U1_gg(T37, T38, gt10_out_gg(T37, T38)) → gt10_out_gg(s(T37), s(T38))
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U20_ga(T22, T23, T24, T9, part20_in_ggaa(T22, T24, X47, X48))
part20_in_ggaa(T61, .(T62, T63), .(T62, X119), X120) → U2_ggaa(T61, T62, T63, X119, X120, gt10_in_gg(T61, T62))
U2_ggaa(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → part20_out_ggaa(T61, .(T62, T63), .(T62, X119), X120)
U2_ggaa(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → U3_ggaa(T61, T62, T63, X119, X120, part20_in_ggaa(T61, T63, X119, X120))
part20_in_ggaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_ggaa(T83, T84, T85, X170, X171, le33_in_gg(T83, T84))
le33_in_gg(s(T98), s(T99)) → U6_gg(T98, T99, le33_in_gg(T98, T99))
le33_in_gg(0, s(T106)) → le33_out_gg(0, s(T106))
le33_in_gg(0, 0) → le33_out_gg(0, 0)
U6_gg(T98, T99, le33_out_gg(T98, T99)) → le33_out_gg(s(T98), s(T99))
U4_ggaa(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → part20_out_ggaa(T83, .(T84, T85), X170, .(T84, X171))
U4_ggaa(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → U5_ggaa(T83, T84, T85, X170, X171, part20_in_ggaa(T83, T85, X170, X171))
part20_in_ggaa(T112, [], [], []) → part20_out_ggaa(T112, [], [], [])
U5_ggaa(T83, T84, T85, X170, X171, part20_out_ggaa(T83, T85, X170, X171)) → part20_out_ggaa(T83, .(T84, T85), X170, .(T84, X171))
U3_ggaa(T61, T62, T63, X119, X120, part20_out_ggaa(T61, T63, X119, X120)) → part20_out_ggaa(T61, .(T62, T63), .(T62, X119), X120)
U20_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, X47, X48)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U21_ga(T22, T23, T24, T9, part20_in_ggaa(T22, T24, T44, T45))
U21_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U22_ga(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
qs1_in_aa(.(T22, .(T23, T24)), T9) → U19_aa(T22, T23, T24, T9, gt10_in_aa(T22, T23))
gt10_in_aa(s(T37), s(T38)) → U1_aa(T37, T38, gt10_in_aa(T37, T38))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U1_aa(T37, T38, gt10_out_aa(T37, T38)) → gt10_out_aa(s(T37), s(T38))
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U20_aa(T22, T23, T24, T9, part20_in_gaaa(T22, T24, X47, X48))
part20_in_gaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_gaaa(T61, T62, T63, X119, X120, gt10_in_ga(T61, T62))
gt10_in_ga(s(T37), s(T38)) → U1_ga(T37, T38, gt10_in_ga(T37, T38))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U1_ga(T37, T38, gt10_out_ga(T37, T38)) → gt10_out_ga(s(T37), s(T38))
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → U3_gaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
part20_in_gaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_gaaa(T83, T84, T85, X170, X171, le33_in_ga(T83, T84))
le33_in_ga(s(T98), s(T99)) → U6_ga(T98, T99, le33_in_ga(T98, T99))
le33_in_ga(0, s(T106)) → le33_out_ga(0, s(T106))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U6_ga(T98, T99, le33_out_ga(T98, T99)) → le33_out_ga(s(T98), s(T99))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → U5_gaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
part20_in_gaaa(T112, [], [], []) → part20_out_gaaa(T112, [], [], [])
U5_gaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U3_gaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U20_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, X47, X48)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U21_aa(T22, T23, T24, T9, part20_in_gaaa(T22, T24, T44, T45))
U21_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U22_aa(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
qs1_in_aa(.(T239, .(T240, T241)), T9) → U25_aa(T239, T240, T241, T9, le33_in_aa(T239, T240))
le33_in_aa(s(T98), s(T99)) → U6_aa(T98, T99, le33_in_aa(T98, T99))
le33_in_aa(0, s(T106)) → le33_out_aa(0, s(T106))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U6_aa(T98, T99, le33_out_aa(T98, T99)) → le33_out_aa(s(T98), s(T99))
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U26_aa(T239, T240, T241, T9, part20_in_gaaa(T239, T241, X437, X438))
U26_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, X437, X438)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U27_aa(T239, T240, T241, T9, part20_in_gaaa(T239, T241, T249, T250))
U27_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U28_aa(T239, T240, T241, T9, qs53_in_aa(T249, X9))
qs53_in_aa(.(T131, T132), X275) → U7_aa(T131, T132, X275, part20_in_aaaa(T131, T132, X271, X272))
part20_in_aaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_aaaa(T61, T62, T63, X119, X120, gt10_in_aa(T61, T62))
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → U3_aaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
U3_aaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
part20_in_aaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_aaaa(T83, T84, T85, X170, X171, le33_in_aa(T83, T84))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → U5_aaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
U5_aaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
part20_in_aaaa(T112, [], [], []) → part20_out_aaaa(T112, [], [], [])
U7_aa(T131, T132, X275, part20_out_aaaa(T131, T132, X271, X272)) → qs53_out_aa(.(T131, T132), X275)
qs53_in_aa(.(T131, T132), X275) → U8_aa(T131, T132, X275, part20_in_aaaa(T131, T132, T136, T137))
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U9_aa(T131, T132, X275, qs53_in_aa(T136, X273))
qs53_in_aa([], []) → qs53_out_aa([], [])
U9_aa(T131, T132, X275, qs53_out_aa(T136, X273)) → qs53_out_aa(.(T131, T132), X275)
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U10_aa(T131, T132, X275, T137, qs53_in_aa(T136, T143))
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U11_aa(T131, T132, X275, qs53_in_aa(T137, X274))
U11_aa(T131, T132, X275, qs53_out_aa(T137, X274)) → qs53_out_aa(.(T131, T132), X275)
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U12_aa(T131, T132, X275, T143, qs53_in_aa(T137, T148))
U12_aa(T131, T132, X275, T143, qs53_out_aa(T137, T148)) → U13_aa(T131, T132, X275, app65_in_aaaa(T143, T131, T148, X275))
app65_in_aaaa(.(T171, T172), T173, T174, .(T171, X354)) → U14_aaaa(T171, T172, T173, T174, X354, app65_in_aaaa(T172, T173, T174, X354))
app65_in_aaaa([], T183, T184, .(T183, T184)) → app65_out_aaaa([], T183, T184, .(T183, T184))
U14_aaaa(T171, T172, T173, T174, X354, app65_out_aaaa(T172, T173, T174, X354)) → app65_out_aaaa(.(T171, T172), T173, T174, .(T171, X354))
U13_aa(T131, T132, X275, app65_out_aaaa(T143, T131, T148, X275)) → qs53_out_aa(.(T131, T132), X275)
U28_aa(T239, T240, T241, T9, qs53_out_aa(T249, X9)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U27_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U29_aa(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_aa(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_aa(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
p52_in_aaaga(T45, X10, T115, T22, T9) → U16_aaaga(T45, X10, T115, T22, T9, qs53_in_aa(T45, X10))
U16_aaaga(T45, X10, T115, T22, T9, qs53_out_aa(T45, X10)) → p52_out_aaaga(T45, X10, T115, T22, T9)
p52_in_aaaga(T45, T120, T115, T22, T9) → U17_aaaga(T45, T120, T115, T22, T9, qs53_in_aa(T45, T120))
U17_aaaga(T45, T120, T115, T22, T9, qs53_out_aa(T45, T120)) → U18_aaaga(T45, T120, T115, T22, T9, app54_in_agaa(T115, T22, T120, T9))
app54_in_agaa(.(T210, T211), T212, T213, .(T210, T215)) → U15_agaa(T210, T211, T212, T213, T215, app54_in_agaa(T211, T212, T213, T215))
app54_in_agaa([], T225, T226, .(T225, T226)) → app54_out_agaa([], T225, T226, .(T225, T226))
U15_agaa(T210, T211, T212, T213, T215, app54_out_agaa(T211, T212, T213, T215)) → app54_out_agaa(.(T210, T211), T212, T213, .(T210, T215))
U18_aaaga(T45, T120, T115, T22, T9, app54_out_agaa(T115, T22, T120, T9)) → p52_out_aaaga(T45, T120, T115, T22, T9)
U30_aa(T239, T240, T241, T9, p52_out_aaaga(.(T240, T250), X10, T256, T239, T9)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
qs1_in_aa(.(T265, []), T9) → U31_aa(T265, T9, qs99_in_a(X9))
qs99_in_a([]) → qs99_out_a([])
U31_aa(T265, T9, qs99_out_a(X9)) → qs1_out_aa(.(T265, []), T9)
qs1_in_aa(.(T265, []), T9) → U32_aa(T265, T9, qs99_in_a(T268))
U32_aa(T265, T9, qs99_out_a(T268)) → U33_aa(T265, T9, qs99_in_a(X10))
U33_aa(T265, T9, qs99_out_a(X10)) → qs1_out_aa(.(T265, []), T9)
U32_aa(T265, T9, qs99_out_a(T268)) → U34_aa(T265, T9, T268, qs99_in_a(T273))
U34_aa(T265, T9, T268, qs99_out_a(T273)) → U35_aa(T265, T9, app54_in_gaga(T268, T265, T273, T9))
app54_in_gaga(.(T210, T211), T212, T213, .(T210, T215)) → U15_gaga(T210, T211, T212, T213, T215, app54_in_gaga(T211, T212, T213, T215))
app54_in_gaga([], T225, T226, .(T225, T226)) → app54_out_gaga([], T225, T226, .(T225, T226))
U15_gaga(T210, T211, T212, T213, T215, app54_out_gaga(T211, T212, T213, T215)) → app54_out_gaga(.(T210, T211), T212, T213, .(T210, T215))
U35_aa(T265, T9, app54_out_gaga(T268, T265, T273, T9)) → qs1_out_aa(.(T265, []), T9)
qs1_in_aa([], []) → qs1_out_aa([], [])
U22_aa(T22, T23, T24, T9, qs1_out_aa(.(T23, T44), X9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U21_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U23_aa(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_aa(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_aa(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U24_aa(T22, T23, T24, T9, p52_out_aaaga(T45, X10, T115, T22, T9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U22_ga(T22, T23, T24, T9, qs1_out_aa(.(T23, T44), X9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U21_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U23_ga(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_ga(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_ga(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U24_ga(T22, T23, T24, T9, p52_out_aaaga(T45, X10, T115, T22, T9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
qs1_in_ga(.(T239, .(T240, T241)), T9) → U25_ga(T239, T240, T241, T9, le33_in_gg(T239, T240))
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U26_ga(T239, T240, T241, T9, part20_in_ggaa(T239, T241, X437, X438))
U26_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, X437, X438)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U27_ga(T239, T240, T241, T9, part20_in_ggaa(T239, T241, T249, T250))
U27_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U28_ga(T239, T240, T241, T9, qs53_in_aa(T249, X9))
U28_ga(T239, T240, T241, T9, qs53_out_aa(T249, X9)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U27_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U29_ga(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_ga(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_ga(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
U30_ga(T239, T240, T241, T9, p52_out_aaaga(.(T240, T250), X10, T256, T239, T9)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
qs1_in_ga(.(T265, []), T9) → U31_ga(T265, T9, qs99_in_a(X9))
U31_ga(T265, T9, qs99_out_a(X9)) → qs1_out_ga(.(T265, []), T9)
qs1_in_ga(.(T265, []), T9) → U32_ga(T265, T9, qs99_in_a(T268))
U32_ga(T265, T9, qs99_out_a(T268)) → U33_ga(T265, T9, qs99_in_a(X10))
U33_ga(T265, T9, qs99_out_a(X10)) → qs1_out_ga(.(T265, []), T9)
U32_ga(T265, T9, qs99_out_a(T268)) → U34_ga(T265, T9, T268, qs99_in_a(T273))
U34_ga(T265, T9, T268, qs99_out_a(T273)) → U35_ga(T265, T9, app54_in_ggga(T268, T265, T273, T9))
app54_in_ggga(.(T210, T211), T212, T213, .(T210, T215)) → U15_ggga(T210, T211, T212, T213, T215, app54_in_ggga(T211, T212, T213, T215))
app54_in_ggga([], T225, T226, .(T225, T226)) → app54_out_ggga([], T225, T226, .(T225, T226))
U15_ggga(T210, T211, T212, T213, T215, app54_out_ggga(T211, T212, T213, T215)) → app54_out_ggga(.(T210, T211), T212, T213, .(T210, T215))
U35_ga(T265, T9, app54_out_ggga(T268, T265, T273, T9)) → qs1_out_ga(.(T265, []), T9)
qs1_in_ga([], []) → qs1_out_ga([], [])

The argument filtering Pi contains the following mapping:
qs1_in_ga(x1, x2)  =  qs1_in_ga(x1)
.(x1, x2)  =  .(x1, x2)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x3, x5)
gt10_in_gg(x1, x2)  =  gt10_in_gg(x1, x2)
s(x1)  =  s(x1)
U1_gg(x1, x2, x3)  =  U1_gg(x3)
0  =  0
gt10_out_gg(x1, x2)  =  gt10_out_gg
qs1_out_ga(x1, x2)  =  qs1_out_ga
U20_ga(x1, x2, x3, x4, x5)  =  U20_ga(x5)
part20_in_ggaa(x1, x2, x3, x4)  =  part20_in_ggaa(x1, x2)
U2_ggaa(x1, x2, x3, x4, x5, x6)  =  U2_ggaa(x1, x3, x6)
part20_out_ggaa(x1, x2, x3, x4)  =  part20_out_ggaa
U3_ggaa(x1, x2, x3, x4, x5, x6)  =  U3_ggaa(x6)
U4_ggaa(x1, x2, x3, x4, x5, x6)  =  U4_ggaa(x1, x3, x6)
le33_in_gg(x1, x2)  =  le33_in_gg(x1, x2)
U6_gg(x1, x2, x3)  =  U6_gg(x3)
le33_out_gg(x1, x2)  =  le33_out_gg
U5_ggaa(x1, x2, x3, x4, x5, x6)  =  U5_ggaa(x6)
[]  =  []
U21_ga(x1, x2, x3, x4, x5)  =  U21_ga(x1, x5)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x5)
qs1_in_aa(x1, x2)  =  qs1_in_aa
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(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_aa(x1, x2)  =  qs1_out_aa
U20_aa(x1, x2, x3, x4, x5)  =  U20_aa(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(x3)
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(x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x1, x6)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U6_ga(x1, x2, x3)  =  U6_ga(x3)
le33_out_ga(x1, x2)  =  le33_out_ga
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x6)
U21_aa(x1, x2, x3, x4, x5)  =  U21_aa(x1, x5)
U22_aa(x1, x2, x3, x4, x5)  =  U22_aa(x5)
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
le33_in_aa(x1, x2)  =  le33_in_aa
U6_aa(x1, x2, x3)  =  U6_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
U26_aa(x1, x2, x3, x4, x5)  =  U26_aa(x5)
U27_aa(x1, x2, x3, x4, x5)  =  U27_aa(x1, x5)
U28_aa(x1, x2, x3, x4, x5)  =  U28_aa(x5)
qs53_in_aa(x1, x2)  =  qs53_in_aa
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
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)
qs53_out_aa(x1, x2)  =  qs53_out_aa
U8_aa(x1, x2, x3, x4)  =  U8_aa(x4)
U9_aa(x1, x2, x3, x4)  =  U9_aa(x4)
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4)  =  U11_aa(x4)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4)  =  U13_aa(x4)
app65_in_aaaa(x1, x2, x3, x4)  =  app65_in_aaaa
U14_aaaa(x1, x2, x3, x4, x5, x6)  =  U14_aaaa(x6)
app65_out_aaaa(x1, x2, x3, x4)  =  app65_out_aaaa
U29_aa(x1, x2, x3, x4, x5, x6)  =  U29_aa(x1, x6)
U30_aa(x1, x2, x3, x4, x5)  =  U30_aa(x5)
p52_in_aaaga(x1, x2, x3, x4, x5)  =  p52_in_aaaga(x4)
U16_aaaga(x1, x2, x3, x4, x5, x6)  =  U16_aaaga(x6)
p52_out_aaaga(x1, x2, x3, x4, x5)  =  p52_out_aaaga
U17_aaaga(x1, x2, x3, x4, x5, x6)  =  U17_aaaga(x4, x6)
U18_aaaga(x1, x2, x3, x4, x5, x6)  =  U18_aaaga(x6)
app54_in_agaa(x1, x2, x3, x4)  =  app54_in_agaa(x2)
U15_agaa(x1, x2, x3, x4, x5, x6)  =  U15_agaa(x6)
app54_out_agaa(x1, x2, x3, x4)  =  app54_out_agaa
U31_aa(x1, x2, x3)  =  U31_aa(x3)
qs99_in_a(x1)  =  qs99_in_a
qs99_out_a(x1)  =  qs99_out_a(x1)
U32_aa(x1, x2, x3)  =  U32_aa(x3)
U33_aa(x1, x2, x3)  =  U33_aa(x3)
U34_aa(x1, x2, x3, x4)  =  U34_aa(x3, x4)
U35_aa(x1, x2, x3)  =  U35_aa(x3)
app54_in_gaga(x1, x2, x3, x4)  =  app54_in_gaga(x1, x3)
U15_gaga(x1, x2, x3, x4, x5, x6)  =  U15_gaga(x6)
app54_out_gaga(x1, x2, x3, x4)  =  app54_out_gaga
U23_aa(x1, x2, x3, x4, x5, x6)  =  U23_aa(x1, x6)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U23_ga(x1, x2, x3, x4, x5, x6)  =  U23_ga(x1, x6)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x5)
U25_ga(x1, x2, x3, x4, x5)  =  U25_ga(x1, x3, x5)
U26_ga(x1, x2, x3, x4, x5)  =  U26_ga(x5)
U27_ga(x1, x2, x3, x4, x5)  =  U27_ga(x1, x5)
U28_ga(x1, x2, x3, x4, x5)  =  U28_ga(x5)
U29_ga(x1, x2, x3, x4, x5, x6)  =  U29_ga(x1, x6)
U30_ga(x1, x2, x3, x4, x5)  =  U30_ga(x5)
U31_ga(x1, x2, x3)  =  U31_ga(x3)
U32_ga(x1, x2, x3)  =  U32_ga(x1, x3)
U33_ga(x1, x2, x3)  =  U33_ga(x3)
U34_ga(x1, x2, x3, x4)  =  U34_ga(x1, x3, x4)
U35_ga(x1, x2, x3)  =  U35_ga(x3)
app54_in_ggga(x1, x2, x3, x4)  =  app54_in_ggga(x1, x2, x3)
U15_ggga(x1, x2, x3, x4, x5, x6)  =  U15_ggga(x1, x6)
app54_out_ggga(x1, x2, x3, x4)  =  app54_out_ggga(x4)
APP65_IN_AAAA(x1, x2, x3, x4)  =  APP65_IN_AAAA

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

(161) UsableRulesProof (EQUIVALENT transformation)

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

(162) Obligation:

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

APP65_IN_AAAA(.(T171, T172), T173, T174, .(T171, X354)) → APP65_IN_AAAA(T172, T173, T174, X354)

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

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

(163) PiDPToQDPProof (SOUND transformation)

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

(164) Obligation:

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

APP65_IN_AAAAAPP65_IN_AAAA

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

(165) 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 = APP65_IN_AAAA evaluates to t =APP65_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 APP65_IN_AAAA to APP65_IN_AAAA.



(166) NO

(167) Obligation:

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

LE33_IN_AA(s(T98), s(T99)) → LE33_IN_AA(T98, T99)

The TRS R consists of the following rules:

qs1_in_ga(.(T22, .(T23, T24)), T9) → U19_ga(T22, T23, T24, T9, gt10_in_gg(T22, T23))
gt10_in_gg(s(T37), s(T38)) → U1_gg(T37, T38, gt10_in_gg(T37, T38))
gt10_in_gg(s(0), 0) → gt10_out_gg(s(0), 0)
U1_gg(T37, T38, gt10_out_gg(T37, T38)) → gt10_out_gg(s(T37), s(T38))
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U20_ga(T22, T23, T24, T9, part20_in_ggaa(T22, T24, X47, X48))
part20_in_ggaa(T61, .(T62, T63), .(T62, X119), X120) → U2_ggaa(T61, T62, T63, X119, X120, gt10_in_gg(T61, T62))
U2_ggaa(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → part20_out_ggaa(T61, .(T62, T63), .(T62, X119), X120)
U2_ggaa(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → U3_ggaa(T61, T62, T63, X119, X120, part20_in_ggaa(T61, T63, X119, X120))
part20_in_ggaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_ggaa(T83, T84, T85, X170, X171, le33_in_gg(T83, T84))
le33_in_gg(s(T98), s(T99)) → U6_gg(T98, T99, le33_in_gg(T98, T99))
le33_in_gg(0, s(T106)) → le33_out_gg(0, s(T106))
le33_in_gg(0, 0) → le33_out_gg(0, 0)
U6_gg(T98, T99, le33_out_gg(T98, T99)) → le33_out_gg(s(T98), s(T99))
U4_ggaa(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → part20_out_ggaa(T83, .(T84, T85), X170, .(T84, X171))
U4_ggaa(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → U5_ggaa(T83, T84, T85, X170, X171, part20_in_ggaa(T83, T85, X170, X171))
part20_in_ggaa(T112, [], [], []) → part20_out_ggaa(T112, [], [], [])
U5_ggaa(T83, T84, T85, X170, X171, part20_out_ggaa(T83, T85, X170, X171)) → part20_out_ggaa(T83, .(T84, T85), X170, .(T84, X171))
U3_ggaa(T61, T62, T63, X119, X120, part20_out_ggaa(T61, T63, X119, X120)) → part20_out_ggaa(T61, .(T62, T63), .(T62, X119), X120)
U20_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, X47, X48)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U21_ga(T22, T23, T24, T9, part20_in_ggaa(T22, T24, T44, T45))
U21_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U22_ga(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
qs1_in_aa(.(T22, .(T23, T24)), T9) → U19_aa(T22, T23, T24, T9, gt10_in_aa(T22, T23))
gt10_in_aa(s(T37), s(T38)) → U1_aa(T37, T38, gt10_in_aa(T37, T38))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U1_aa(T37, T38, gt10_out_aa(T37, T38)) → gt10_out_aa(s(T37), s(T38))
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U20_aa(T22, T23, T24, T9, part20_in_gaaa(T22, T24, X47, X48))
part20_in_gaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_gaaa(T61, T62, T63, X119, X120, gt10_in_ga(T61, T62))
gt10_in_ga(s(T37), s(T38)) → U1_ga(T37, T38, gt10_in_ga(T37, T38))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U1_ga(T37, T38, gt10_out_ga(T37, T38)) → gt10_out_ga(s(T37), s(T38))
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → U3_gaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
part20_in_gaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_gaaa(T83, T84, T85, X170, X171, le33_in_ga(T83, T84))
le33_in_ga(s(T98), s(T99)) → U6_ga(T98, T99, le33_in_ga(T98, T99))
le33_in_ga(0, s(T106)) → le33_out_ga(0, s(T106))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U6_ga(T98, T99, le33_out_ga(T98, T99)) → le33_out_ga(s(T98), s(T99))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → U5_gaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
part20_in_gaaa(T112, [], [], []) → part20_out_gaaa(T112, [], [], [])
U5_gaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U3_gaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U20_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, X47, X48)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U21_aa(T22, T23, T24, T9, part20_in_gaaa(T22, T24, T44, T45))
U21_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U22_aa(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
qs1_in_aa(.(T239, .(T240, T241)), T9) → U25_aa(T239, T240, T241, T9, le33_in_aa(T239, T240))
le33_in_aa(s(T98), s(T99)) → U6_aa(T98, T99, le33_in_aa(T98, T99))
le33_in_aa(0, s(T106)) → le33_out_aa(0, s(T106))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U6_aa(T98, T99, le33_out_aa(T98, T99)) → le33_out_aa(s(T98), s(T99))
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U26_aa(T239, T240, T241, T9, part20_in_gaaa(T239, T241, X437, X438))
U26_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, X437, X438)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U27_aa(T239, T240, T241, T9, part20_in_gaaa(T239, T241, T249, T250))
U27_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U28_aa(T239, T240, T241, T9, qs53_in_aa(T249, X9))
qs53_in_aa(.(T131, T132), X275) → U7_aa(T131, T132, X275, part20_in_aaaa(T131, T132, X271, X272))
part20_in_aaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_aaaa(T61, T62, T63, X119, X120, gt10_in_aa(T61, T62))
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → U3_aaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
U3_aaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
part20_in_aaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_aaaa(T83, T84, T85, X170, X171, le33_in_aa(T83, T84))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → U5_aaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
U5_aaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
part20_in_aaaa(T112, [], [], []) → part20_out_aaaa(T112, [], [], [])
U7_aa(T131, T132, X275, part20_out_aaaa(T131, T132, X271, X272)) → qs53_out_aa(.(T131, T132), X275)
qs53_in_aa(.(T131, T132), X275) → U8_aa(T131, T132, X275, part20_in_aaaa(T131, T132, T136, T137))
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U9_aa(T131, T132, X275, qs53_in_aa(T136, X273))
qs53_in_aa([], []) → qs53_out_aa([], [])
U9_aa(T131, T132, X275, qs53_out_aa(T136, X273)) → qs53_out_aa(.(T131, T132), X275)
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U10_aa(T131, T132, X275, T137, qs53_in_aa(T136, T143))
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U11_aa(T131, T132, X275, qs53_in_aa(T137, X274))
U11_aa(T131, T132, X275, qs53_out_aa(T137, X274)) → qs53_out_aa(.(T131, T132), X275)
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U12_aa(T131, T132, X275, T143, qs53_in_aa(T137, T148))
U12_aa(T131, T132, X275, T143, qs53_out_aa(T137, T148)) → U13_aa(T131, T132, X275, app65_in_aaaa(T143, T131, T148, X275))
app65_in_aaaa(.(T171, T172), T173, T174, .(T171, X354)) → U14_aaaa(T171, T172, T173, T174, X354, app65_in_aaaa(T172, T173, T174, X354))
app65_in_aaaa([], T183, T184, .(T183, T184)) → app65_out_aaaa([], T183, T184, .(T183, T184))
U14_aaaa(T171, T172, T173, T174, X354, app65_out_aaaa(T172, T173, T174, X354)) → app65_out_aaaa(.(T171, T172), T173, T174, .(T171, X354))
U13_aa(T131, T132, X275, app65_out_aaaa(T143, T131, T148, X275)) → qs53_out_aa(.(T131, T132), X275)
U28_aa(T239, T240, T241, T9, qs53_out_aa(T249, X9)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U27_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U29_aa(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_aa(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_aa(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
p52_in_aaaga(T45, X10, T115, T22, T9) → U16_aaaga(T45, X10, T115, T22, T9, qs53_in_aa(T45, X10))
U16_aaaga(T45, X10, T115, T22, T9, qs53_out_aa(T45, X10)) → p52_out_aaaga(T45, X10, T115, T22, T9)
p52_in_aaaga(T45, T120, T115, T22, T9) → U17_aaaga(T45, T120, T115, T22, T9, qs53_in_aa(T45, T120))
U17_aaaga(T45, T120, T115, T22, T9, qs53_out_aa(T45, T120)) → U18_aaaga(T45, T120, T115, T22, T9, app54_in_agaa(T115, T22, T120, T9))
app54_in_agaa(.(T210, T211), T212, T213, .(T210, T215)) → U15_agaa(T210, T211, T212, T213, T215, app54_in_agaa(T211, T212, T213, T215))
app54_in_agaa([], T225, T226, .(T225, T226)) → app54_out_agaa([], T225, T226, .(T225, T226))
U15_agaa(T210, T211, T212, T213, T215, app54_out_agaa(T211, T212, T213, T215)) → app54_out_agaa(.(T210, T211), T212, T213, .(T210, T215))
U18_aaaga(T45, T120, T115, T22, T9, app54_out_agaa(T115, T22, T120, T9)) → p52_out_aaaga(T45, T120, T115, T22, T9)
U30_aa(T239, T240, T241, T9, p52_out_aaaga(.(T240, T250), X10, T256, T239, T9)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
qs1_in_aa(.(T265, []), T9) → U31_aa(T265, T9, qs99_in_a(X9))
qs99_in_a([]) → qs99_out_a([])
U31_aa(T265, T9, qs99_out_a(X9)) → qs1_out_aa(.(T265, []), T9)
qs1_in_aa(.(T265, []), T9) → U32_aa(T265, T9, qs99_in_a(T268))
U32_aa(T265, T9, qs99_out_a(T268)) → U33_aa(T265, T9, qs99_in_a(X10))
U33_aa(T265, T9, qs99_out_a(X10)) → qs1_out_aa(.(T265, []), T9)
U32_aa(T265, T9, qs99_out_a(T268)) → U34_aa(T265, T9, T268, qs99_in_a(T273))
U34_aa(T265, T9, T268, qs99_out_a(T273)) → U35_aa(T265, T9, app54_in_gaga(T268, T265, T273, T9))
app54_in_gaga(.(T210, T211), T212, T213, .(T210, T215)) → U15_gaga(T210, T211, T212, T213, T215, app54_in_gaga(T211, T212, T213, T215))
app54_in_gaga([], T225, T226, .(T225, T226)) → app54_out_gaga([], T225, T226, .(T225, T226))
U15_gaga(T210, T211, T212, T213, T215, app54_out_gaga(T211, T212, T213, T215)) → app54_out_gaga(.(T210, T211), T212, T213, .(T210, T215))
U35_aa(T265, T9, app54_out_gaga(T268, T265, T273, T9)) → qs1_out_aa(.(T265, []), T9)
qs1_in_aa([], []) → qs1_out_aa([], [])
U22_aa(T22, T23, T24, T9, qs1_out_aa(.(T23, T44), X9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U21_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U23_aa(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_aa(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_aa(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U24_aa(T22, T23, T24, T9, p52_out_aaaga(T45, X10, T115, T22, T9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U22_ga(T22, T23, T24, T9, qs1_out_aa(.(T23, T44), X9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U21_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U23_ga(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_ga(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_ga(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U24_ga(T22, T23, T24, T9, p52_out_aaaga(T45, X10, T115, T22, T9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
qs1_in_ga(.(T239, .(T240, T241)), T9) → U25_ga(T239, T240, T241, T9, le33_in_gg(T239, T240))
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U26_ga(T239, T240, T241, T9, part20_in_ggaa(T239, T241, X437, X438))
U26_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, X437, X438)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U27_ga(T239, T240, T241, T9, part20_in_ggaa(T239, T241, T249, T250))
U27_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U28_ga(T239, T240, T241, T9, qs53_in_aa(T249, X9))
U28_ga(T239, T240, T241, T9, qs53_out_aa(T249, X9)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U27_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U29_ga(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_ga(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_ga(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
U30_ga(T239, T240, T241, T9, p52_out_aaaga(.(T240, T250), X10, T256, T239, T9)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
qs1_in_ga(.(T265, []), T9) → U31_ga(T265, T9, qs99_in_a(X9))
U31_ga(T265, T9, qs99_out_a(X9)) → qs1_out_ga(.(T265, []), T9)
qs1_in_ga(.(T265, []), T9) → U32_ga(T265, T9, qs99_in_a(T268))
U32_ga(T265, T9, qs99_out_a(T268)) → U33_ga(T265, T9, qs99_in_a(X10))
U33_ga(T265, T9, qs99_out_a(X10)) → qs1_out_ga(.(T265, []), T9)
U32_ga(T265, T9, qs99_out_a(T268)) → U34_ga(T265, T9, T268, qs99_in_a(T273))
U34_ga(T265, T9, T268, qs99_out_a(T273)) → U35_ga(T265, T9, app54_in_ggga(T268, T265, T273, T9))
app54_in_ggga(.(T210, T211), T212, T213, .(T210, T215)) → U15_ggga(T210, T211, T212, T213, T215, app54_in_ggga(T211, T212, T213, T215))
app54_in_ggga([], T225, T226, .(T225, T226)) → app54_out_ggga([], T225, T226, .(T225, T226))
U15_ggga(T210, T211, T212, T213, T215, app54_out_ggga(T211, T212, T213, T215)) → app54_out_ggga(.(T210, T211), T212, T213, .(T210, T215))
U35_ga(T265, T9, app54_out_ggga(T268, T265, T273, T9)) → qs1_out_ga(.(T265, []), T9)
qs1_in_ga([], []) → qs1_out_ga([], [])

The argument filtering Pi contains the following mapping:
qs1_in_ga(x1, x2)  =  qs1_in_ga(x1)
.(x1, x2)  =  .(x1, x2)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x3, x5)
gt10_in_gg(x1, x2)  =  gt10_in_gg(x1, x2)
s(x1)  =  s(x1)
U1_gg(x1, x2, x3)  =  U1_gg(x3)
0  =  0
gt10_out_gg(x1, x2)  =  gt10_out_gg
qs1_out_ga(x1, x2)  =  qs1_out_ga
U20_ga(x1, x2, x3, x4, x5)  =  U20_ga(x5)
part20_in_ggaa(x1, x2, x3, x4)  =  part20_in_ggaa(x1, x2)
U2_ggaa(x1, x2, x3, x4, x5, x6)  =  U2_ggaa(x1, x3, x6)
part20_out_ggaa(x1, x2, x3, x4)  =  part20_out_ggaa
U3_ggaa(x1, x2, x3, x4, x5, x6)  =  U3_ggaa(x6)
U4_ggaa(x1, x2, x3, x4, x5, x6)  =  U4_ggaa(x1, x3, x6)
le33_in_gg(x1, x2)  =  le33_in_gg(x1, x2)
U6_gg(x1, x2, x3)  =  U6_gg(x3)
le33_out_gg(x1, x2)  =  le33_out_gg
U5_ggaa(x1, x2, x3, x4, x5, x6)  =  U5_ggaa(x6)
[]  =  []
U21_ga(x1, x2, x3, x4, x5)  =  U21_ga(x1, x5)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x5)
qs1_in_aa(x1, x2)  =  qs1_in_aa
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(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_aa(x1, x2)  =  qs1_out_aa
U20_aa(x1, x2, x3, x4, x5)  =  U20_aa(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(x3)
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(x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x1, x6)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U6_ga(x1, x2, x3)  =  U6_ga(x3)
le33_out_ga(x1, x2)  =  le33_out_ga
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x6)
U21_aa(x1, x2, x3, x4, x5)  =  U21_aa(x1, x5)
U22_aa(x1, x2, x3, x4, x5)  =  U22_aa(x5)
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
le33_in_aa(x1, x2)  =  le33_in_aa
U6_aa(x1, x2, x3)  =  U6_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
U26_aa(x1, x2, x3, x4, x5)  =  U26_aa(x5)
U27_aa(x1, x2, x3, x4, x5)  =  U27_aa(x1, x5)
U28_aa(x1, x2, x3, x4, x5)  =  U28_aa(x5)
qs53_in_aa(x1, x2)  =  qs53_in_aa
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
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)
qs53_out_aa(x1, x2)  =  qs53_out_aa
U8_aa(x1, x2, x3, x4)  =  U8_aa(x4)
U9_aa(x1, x2, x3, x4)  =  U9_aa(x4)
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4)  =  U11_aa(x4)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4)  =  U13_aa(x4)
app65_in_aaaa(x1, x2, x3, x4)  =  app65_in_aaaa
U14_aaaa(x1, x2, x3, x4, x5, x6)  =  U14_aaaa(x6)
app65_out_aaaa(x1, x2, x3, x4)  =  app65_out_aaaa
U29_aa(x1, x2, x3, x4, x5, x6)  =  U29_aa(x1, x6)
U30_aa(x1, x2, x3, x4, x5)  =  U30_aa(x5)
p52_in_aaaga(x1, x2, x3, x4, x5)  =  p52_in_aaaga(x4)
U16_aaaga(x1, x2, x3, x4, x5, x6)  =  U16_aaaga(x6)
p52_out_aaaga(x1, x2, x3, x4, x5)  =  p52_out_aaaga
U17_aaaga(x1, x2, x3, x4, x5, x6)  =  U17_aaaga(x4, x6)
U18_aaaga(x1, x2, x3, x4, x5, x6)  =  U18_aaaga(x6)
app54_in_agaa(x1, x2, x3, x4)  =  app54_in_agaa(x2)
U15_agaa(x1, x2, x3, x4, x5, x6)  =  U15_agaa(x6)
app54_out_agaa(x1, x2, x3, x4)  =  app54_out_agaa
U31_aa(x1, x2, x3)  =  U31_aa(x3)
qs99_in_a(x1)  =  qs99_in_a
qs99_out_a(x1)  =  qs99_out_a(x1)
U32_aa(x1, x2, x3)  =  U32_aa(x3)
U33_aa(x1, x2, x3)  =  U33_aa(x3)
U34_aa(x1, x2, x3, x4)  =  U34_aa(x3, x4)
U35_aa(x1, x2, x3)  =  U35_aa(x3)
app54_in_gaga(x1, x2, x3, x4)  =  app54_in_gaga(x1, x3)
U15_gaga(x1, x2, x3, x4, x5, x6)  =  U15_gaga(x6)
app54_out_gaga(x1, x2, x3, x4)  =  app54_out_gaga
U23_aa(x1, x2, x3, x4, x5, x6)  =  U23_aa(x1, x6)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U23_ga(x1, x2, x3, x4, x5, x6)  =  U23_ga(x1, x6)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x5)
U25_ga(x1, x2, x3, x4, x5)  =  U25_ga(x1, x3, x5)
U26_ga(x1, x2, x3, x4, x5)  =  U26_ga(x5)
U27_ga(x1, x2, x3, x4, x5)  =  U27_ga(x1, x5)
U28_ga(x1, x2, x3, x4, x5)  =  U28_ga(x5)
U29_ga(x1, x2, x3, x4, x5, x6)  =  U29_ga(x1, x6)
U30_ga(x1, x2, x3, x4, x5)  =  U30_ga(x5)
U31_ga(x1, x2, x3)  =  U31_ga(x3)
U32_ga(x1, x2, x3)  =  U32_ga(x1, x3)
U33_ga(x1, x2, x3)  =  U33_ga(x3)
U34_ga(x1, x2, x3, x4)  =  U34_ga(x1, x3, x4)
U35_ga(x1, x2, x3)  =  U35_ga(x3)
app54_in_ggga(x1, x2, x3, x4)  =  app54_in_ggga(x1, x2, x3)
U15_ggga(x1, x2, x3, x4, x5, x6)  =  U15_ggga(x1, x6)
app54_out_ggga(x1, x2, x3, x4)  =  app54_out_ggga(x4)
LE33_IN_AA(x1, x2)  =  LE33_IN_AA

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

(168) UsableRulesProof (EQUIVALENT transformation)

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

(169) Obligation:

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

LE33_IN_AA(s(T98), s(T99)) → LE33_IN_AA(T98, T99)

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

(170) PiDPToQDPProof (SOUND transformation)

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

(171) 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.

(172) 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.



(173) NO

(174) Obligation:

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

LE33_IN_GA(s(T98), s(T99)) → LE33_IN_GA(T98, T99)

The TRS R consists of the following rules:

qs1_in_ga(.(T22, .(T23, T24)), T9) → U19_ga(T22, T23, T24, T9, gt10_in_gg(T22, T23))
gt10_in_gg(s(T37), s(T38)) → U1_gg(T37, T38, gt10_in_gg(T37, T38))
gt10_in_gg(s(0), 0) → gt10_out_gg(s(0), 0)
U1_gg(T37, T38, gt10_out_gg(T37, T38)) → gt10_out_gg(s(T37), s(T38))
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U20_ga(T22, T23, T24, T9, part20_in_ggaa(T22, T24, X47, X48))
part20_in_ggaa(T61, .(T62, T63), .(T62, X119), X120) → U2_ggaa(T61, T62, T63, X119, X120, gt10_in_gg(T61, T62))
U2_ggaa(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → part20_out_ggaa(T61, .(T62, T63), .(T62, X119), X120)
U2_ggaa(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → U3_ggaa(T61, T62, T63, X119, X120, part20_in_ggaa(T61, T63, X119, X120))
part20_in_ggaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_ggaa(T83, T84, T85, X170, X171, le33_in_gg(T83, T84))
le33_in_gg(s(T98), s(T99)) → U6_gg(T98, T99, le33_in_gg(T98, T99))
le33_in_gg(0, s(T106)) → le33_out_gg(0, s(T106))
le33_in_gg(0, 0) → le33_out_gg(0, 0)
U6_gg(T98, T99, le33_out_gg(T98, T99)) → le33_out_gg(s(T98), s(T99))
U4_ggaa(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → part20_out_ggaa(T83, .(T84, T85), X170, .(T84, X171))
U4_ggaa(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → U5_ggaa(T83, T84, T85, X170, X171, part20_in_ggaa(T83, T85, X170, X171))
part20_in_ggaa(T112, [], [], []) → part20_out_ggaa(T112, [], [], [])
U5_ggaa(T83, T84, T85, X170, X171, part20_out_ggaa(T83, T85, X170, X171)) → part20_out_ggaa(T83, .(T84, T85), X170, .(T84, X171))
U3_ggaa(T61, T62, T63, X119, X120, part20_out_ggaa(T61, T63, X119, X120)) → part20_out_ggaa(T61, .(T62, T63), .(T62, X119), X120)
U20_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, X47, X48)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U21_ga(T22, T23, T24, T9, part20_in_ggaa(T22, T24, T44, T45))
U21_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U22_ga(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
qs1_in_aa(.(T22, .(T23, T24)), T9) → U19_aa(T22, T23, T24, T9, gt10_in_aa(T22, T23))
gt10_in_aa(s(T37), s(T38)) → U1_aa(T37, T38, gt10_in_aa(T37, T38))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U1_aa(T37, T38, gt10_out_aa(T37, T38)) → gt10_out_aa(s(T37), s(T38))
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U20_aa(T22, T23, T24, T9, part20_in_gaaa(T22, T24, X47, X48))
part20_in_gaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_gaaa(T61, T62, T63, X119, X120, gt10_in_ga(T61, T62))
gt10_in_ga(s(T37), s(T38)) → U1_ga(T37, T38, gt10_in_ga(T37, T38))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U1_ga(T37, T38, gt10_out_ga(T37, T38)) → gt10_out_ga(s(T37), s(T38))
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → U3_gaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
part20_in_gaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_gaaa(T83, T84, T85, X170, X171, le33_in_ga(T83, T84))
le33_in_ga(s(T98), s(T99)) → U6_ga(T98, T99, le33_in_ga(T98, T99))
le33_in_ga(0, s(T106)) → le33_out_ga(0, s(T106))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U6_ga(T98, T99, le33_out_ga(T98, T99)) → le33_out_ga(s(T98), s(T99))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → U5_gaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
part20_in_gaaa(T112, [], [], []) → part20_out_gaaa(T112, [], [], [])
U5_gaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U3_gaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U20_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, X47, X48)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U21_aa(T22, T23, T24, T9, part20_in_gaaa(T22, T24, T44, T45))
U21_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U22_aa(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
qs1_in_aa(.(T239, .(T240, T241)), T9) → U25_aa(T239, T240, T241, T9, le33_in_aa(T239, T240))
le33_in_aa(s(T98), s(T99)) → U6_aa(T98, T99, le33_in_aa(T98, T99))
le33_in_aa(0, s(T106)) → le33_out_aa(0, s(T106))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U6_aa(T98, T99, le33_out_aa(T98, T99)) → le33_out_aa(s(T98), s(T99))
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U26_aa(T239, T240, T241, T9, part20_in_gaaa(T239, T241, X437, X438))
U26_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, X437, X438)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U27_aa(T239, T240, T241, T9, part20_in_gaaa(T239, T241, T249, T250))
U27_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U28_aa(T239, T240, T241, T9, qs53_in_aa(T249, X9))
qs53_in_aa(.(T131, T132), X275) → U7_aa(T131, T132, X275, part20_in_aaaa(T131, T132, X271, X272))
part20_in_aaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_aaaa(T61, T62, T63, X119, X120, gt10_in_aa(T61, T62))
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → U3_aaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
U3_aaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
part20_in_aaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_aaaa(T83, T84, T85, X170, X171, le33_in_aa(T83, T84))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → U5_aaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
U5_aaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
part20_in_aaaa(T112, [], [], []) → part20_out_aaaa(T112, [], [], [])
U7_aa(T131, T132, X275, part20_out_aaaa(T131, T132, X271, X272)) → qs53_out_aa(.(T131, T132), X275)
qs53_in_aa(.(T131, T132), X275) → U8_aa(T131, T132, X275, part20_in_aaaa(T131, T132, T136, T137))
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U9_aa(T131, T132, X275, qs53_in_aa(T136, X273))
qs53_in_aa([], []) → qs53_out_aa([], [])
U9_aa(T131, T132, X275, qs53_out_aa(T136, X273)) → qs53_out_aa(.(T131, T132), X275)
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U10_aa(T131, T132, X275, T137, qs53_in_aa(T136, T143))
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U11_aa(T131, T132, X275, qs53_in_aa(T137, X274))
U11_aa(T131, T132, X275, qs53_out_aa(T137, X274)) → qs53_out_aa(.(T131, T132), X275)
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U12_aa(T131, T132, X275, T143, qs53_in_aa(T137, T148))
U12_aa(T131, T132, X275, T143, qs53_out_aa(T137, T148)) → U13_aa(T131, T132, X275, app65_in_aaaa(T143, T131, T148, X275))
app65_in_aaaa(.(T171, T172), T173, T174, .(T171, X354)) → U14_aaaa(T171, T172, T173, T174, X354, app65_in_aaaa(T172, T173, T174, X354))
app65_in_aaaa([], T183, T184, .(T183, T184)) → app65_out_aaaa([], T183, T184, .(T183, T184))
U14_aaaa(T171, T172, T173, T174, X354, app65_out_aaaa(T172, T173, T174, X354)) → app65_out_aaaa(.(T171, T172), T173, T174, .(T171, X354))
U13_aa(T131, T132, X275, app65_out_aaaa(T143, T131, T148, X275)) → qs53_out_aa(.(T131, T132), X275)
U28_aa(T239, T240, T241, T9, qs53_out_aa(T249, X9)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U27_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U29_aa(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_aa(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_aa(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
p52_in_aaaga(T45, X10, T115, T22, T9) → U16_aaaga(T45, X10, T115, T22, T9, qs53_in_aa(T45, X10))
U16_aaaga(T45, X10, T115, T22, T9, qs53_out_aa(T45, X10)) → p52_out_aaaga(T45, X10, T115, T22, T9)
p52_in_aaaga(T45, T120, T115, T22, T9) → U17_aaaga(T45, T120, T115, T22, T9, qs53_in_aa(T45, T120))
U17_aaaga(T45, T120, T115, T22, T9, qs53_out_aa(T45, T120)) → U18_aaaga(T45, T120, T115, T22, T9, app54_in_agaa(T115, T22, T120, T9))
app54_in_agaa(.(T210, T211), T212, T213, .(T210, T215)) → U15_agaa(T210, T211, T212, T213, T215, app54_in_agaa(T211, T212, T213, T215))
app54_in_agaa([], T225, T226, .(T225, T226)) → app54_out_agaa([], T225, T226, .(T225, T226))
U15_agaa(T210, T211, T212, T213, T215, app54_out_agaa(T211, T212, T213, T215)) → app54_out_agaa(.(T210, T211), T212, T213, .(T210, T215))
U18_aaaga(T45, T120, T115, T22, T9, app54_out_agaa(T115, T22, T120, T9)) → p52_out_aaaga(T45, T120, T115, T22, T9)
U30_aa(T239, T240, T241, T9, p52_out_aaaga(.(T240, T250), X10, T256, T239, T9)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
qs1_in_aa(.(T265, []), T9) → U31_aa(T265, T9, qs99_in_a(X9))
qs99_in_a([]) → qs99_out_a([])
U31_aa(T265, T9, qs99_out_a(X9)) → qs1_out_aa(.(T265, []), T9)
qs1_in_aa(.(T265, []), T9) → U32_aa(T265, T9, qs99_in_a(T268))
U32_aa(T265, T9, qs99_out_a(T268)) → U33_aa(T265, T9, qs99_in_a(X10))
U33_aa(T265, T9, qs99_out_a(X10)) → qs1_out_aa(.(T265, []), T9)
U32_aa(T265, T9, qs99_out_a(T268)) → U34_aa(T265, T9, T268, qs99_in_a(T273))
U34_aa(T265, T9, T268, qs99_out_a(T273)) → U35_aa(T265, T9, app54_in_gaga(T268, T265, T273, T9))
app54_in_gaga(.(T210, T211), T212, T213, .(T210, T215)) → U15_gaga(T210, T211, T212, T213, T215, app54_in_gaga(T211, T212, T213, T215))
app54_in_gaga([], T225, T226, .(T225, T226)) → app54_out_gaga([], T225, T226, .(T225, T226))
U15_gaga(T210, T211, T212, T213, T215, app54_out_gaga(T211, T212, T213, T215)) → app54_out_gaga(.(T210, T211), T212, T213, .(T210, T215))
U35_aa(T265, T9, app54_out_gaga(T268, T265, T273, T9)) → qs1_out_aa(.(T265, []), T9)
qs1_in_aa([], []) → qs1_out_aa([], [])
U22_aa(T22, T23, T24, T9, qs1_out_aa(.(T23, T44), X9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U21_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U23_aa(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_aa(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_aa(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U24_aa(T22, T23, T24, T9, p52_out_aaaga(T45, X10, T115, T22, T9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U22_ga(T22, T23, T24, T9, qs1_out_aa(.(T23, T44), X9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U21_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U23_ga(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_ga(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_ga(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U24_ga(T22, T23, T24, T9, p52_out_aaaga(T45, X10, T115, T22, T9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
qs1_in_ga(.(T239, .(T240, T241)), T9) → U25_ga(T239, T240, T241, T9, le33_in_gg(T239, T240))
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U26_ga(T239, T240, T241, T9, part20_in_ggaa(T239, T241, X437, X438))
U26_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, X437, X438)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U27_ga(T239, T240, T241, T9, part20_in_ggaa(T239, T241, T249, T250))
U27_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U28_ga(T239, T240, T241, T9, qs53_in_aa(T249, X9))
U28_ga(T239, T240, T241, T9, qs53_out_aa(T249, X9)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U27_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U29_ga(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_ga(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_ga(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
U30_ga(T239, T240, T241, T9, p52_out_aaaga(.(T240, T250), X10, T256, T239, T9)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
qs1_in_ga(.(T265, []), T9) → U31_ga(T265, T9, qs99_in_a(X9))
U31_ga(T265, T9, qs99_out_a(X9)) → qs1_out_ga(.(T265, []), T9)
qs1_in_ga(.(T265, []), T9) → U32_ga(T265, T9, qs99_in_a(T268))
U32_ga(T265, T9, qs99_out_a(T268)) → U33_ga(T265, T9, qs99_in_a(X10))
U33_ga(T265, T9, qs99_out_a(X10)) → qs1_out_ga(.(T265, []), T9)
U32_ga(T265, T9, qs99_out_a(T268)) → U34_ga(T265, T9, T268, qs99_in_a(T273))
U34_ga(T265, T9, T268, qs99_out_a(T273)) → U35_ga(T265, T9, app54_in_ggga(T268, T265, T273, T9))
app54_in_ggga(.(T210, T211), T212, T213, .(T210, T215)) → U15_ggga(T210, T211, T212, T213, T215, app54_in_ggga(T211, T212, T213, T215))
app54_in_ggga([], T225, T226, .(T225, T226)) → app54_out_ggga([], T225, T226, .(T225, T226))
U15_ggga(T210, T211, T212, T213, T215, app54_out_ggga(T211, T212, T213, T215)) → app54_out_ggga(.(T210, T211), T212, T213, .(T210, T215))
U35_ga(T265, T9, app54_out_ggga(T268, T265, T273, T9)) → qs1_out_ga(.(T265, []), T9)
qs1_in_ga([], []) → qs1_out_ga([], [])

The argument filtering Pi contains the following mapping:
qs1_in_ga(x1, x2)  =  qs1_in_ga(x1)
.(x1, x2)  =  .(x1, x2)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x3, x5)
gt10_in_gg(x1, x2)  =  gt10_in_gg(x1, x2)
s(x1)  =  s(x1)
U1_gg(x1, x2, x3)  =  U1_gg(x3)
0  =  0
gt10_out_gg(x1, x2)  =  gt10_out_gg
qs1_out_ga(x1, x2)  =  qs1_out_ga
U20_ga(x1, x2, x3, x4, x5)  =  U20_ga(x5)
part20_in_ggaa(x1, x2, x3, x4)  =  part20_in_ggaa(x1, x2)
U2_ggaa(x1, x2, x3, x4, x5, x6)  =  U2_ggaa(x1, x3, x6)
part20_out_ggaa(x1, x2, x3, x4)  =  part20_out_ggaa
U3_ggaa(x1, x2, x3, x4, x5, x6)  =  U3_ggaa(x6)
U4_ggaa(x1, x2, x3, x4, x5, x6)  =  U4_ggaa(x1, x3, x6)
le33_in_gg(x1, x2)  =  le33_in_gg(x1, x2)
U6_gg(x1, x2, x3)  =  U6_gg(x3)
le33_out_gg(x1, x2)  =  le33_out_gg
U5_ggaa(x1, x2, x3, x4, x5, x6)  =  U5_ggaa(x6)
[]  =  []
U21_ga(x1, x2, x3, x4, x5)  =  U21_ga(x1, x5)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x5)
qs1_in_aa(x1, x2)  =  qs1_in_aa
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(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_aa(x1, x2)  =  qs1_out_aa
U20_aa(x1, x2, x3, x4, x5)  =  U20_aa(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(x3)
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(x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x1, x6)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U6_ga(x1, x2, x3)  =  U6_ga(x3)
le33_out_ga(x1, x2)  =  le33_out_ga
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x6)
U21_aa(x1, x2, x3, x4, x5)  =  U21_aa(x1, x5)
U22_aa(x1, x2, x3, x4, x5)  =  U22_aa(x5)
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
le33_in_aa(x1, x2)  =  le33_in_aa
U6_aa(x1, x2, x3)  =  U6_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
U26_aa(x1, x2, x3, x4, x5)  =  U26_aa(x5)
U27_aa(x1, x2, x3, x4, x5)  =  U27_aa(x1, x5)
U28_aa(x1, x2, x3, x4, x5)  =  U28_aa(x5)
qs53_in_aa(x1, x2)  =  qs53_in_aa
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
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)
qs53_out_aa(x1, x2)  =  qs53_out_aa
U8_aa(x1, x2, x3, x4)  =  U8_aa(x4)
U9_aa(x1, x2, x3, x4)  =  U9_aa(x4)
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4)  =  U11_aa(x4)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4)  =  U13_aa(x4)
app65_in_aaaa(x1, x2, x3, x4)  =  app65_in_aaaa
U14_aaaa(x1, x2, x3, x4, x5, x6)  =  U14_aaaa(x6)
app65_out_aaaa(x1, x2, x3, x4)  =  app65_out_aaaa
U29_aa(x1, x2, x3, x4, x5, x6)  =  U29_aa(x1, x6)
U30_aa(x1, x2, x3, x4, x5)  =  U30_aa(x5)
p52_in_aaaga(x1, x2, x3, x4, x5)  =  p52_in_aaaga(x4)
U16_aaaga(x1, x2, x3, x4, x5, x6)  =  U16_aaaga(x6)
p52_out_aaaga(x1, x2, x3, x4, x5)  =  p52_out_aaaga
U17_aaaga(x1, x2, x3, x4, x5, x6)  =  U17_aaaga(x4, x6)
U18_aaaga(x1, x2, x3, x4, x5, x6)  =  U18_aaaga(x6)
app54_in_agaa(x1, x2, x3, x4)  =  app54_in_agaa(x2)
U15_agaa(x1, x2, x3, x4, x5, x6)  =  U15_agaa(x6)
app54_out_agaa(x1, x2, x3, x4)  =  app54_out_agaa
U31_aa(x1, x2, x3)  =  U31_aa(x3)
qs99_in_a(x1)  =  qs99_in_a
qs99_out_a(x1)  =  qs99_out_a(x1)
U32_aa(x1, x2, x3)  =  U32_aa(x3)
U33_aa(x1, x2, x3)  =  U33_aa(x3)
U34_aa(x1, x2, x3, x4)  =  U34_aa(x3, x4)
U35_aa(x1, x2, x3)  =  U35_aa(x3)
app54_in_gaga(x1, x2, x3, x4)  =  app54_in_gaga(x1, x3)
U15_gaga(x1, x2, x3, x4, x5, x6)  =  U15_gaga(x6)
app54_out_gaga(x1, x2, x3, x4)  =  app54_out_gaga
U23_aa(x1, x2, x3, x4, x5, x6)  =  U23_aa(x1, x6)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U23_ga(x1, x2, x3, x4, x5, x6)  =  U23_ga(x1, x6)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x5)
U25_ga(x1, x2, x3, x4, x5)  =  U25_ga(x1, x3, x5)
U26_ga(x1, x2, x3, x4, x5)  =  U26_ga(x5)
U27_ga(x1, x2, x3, x4, x5)  =  U27_ga(x1, x5)
U28_ga(x1, x2, x3, x4, x5)  =  U28_ga(x5)
U29_ga(x1, x2, x3, x4, x5, x6)  =  U29_ga(x1, x6)
U30_ga(x1, x2, x3, x4, x5)  =  U30_ga(x5)
U31_ga(x1, x2, x3)  =  U31_ga(x3)
U32_ga(x1, x2, x3)  =  U32_ga(x1, x3)
U33_ga(x1, x2, x3)  =  U33_ga(x3)
U34_ga(x1, x2, x3, x4)  =  U34_ga(x1, x3, x4)
U35_ga(x1, x2, x3)  =  U35_ga(x3)
app54_in_ggga(x1, x2, x3, x4)  =  app54_in_ggga(x1, x2, x3)
U15_ggga(x1, x2, x3, x4, x5, x6)  =  U15_ggga(x1, x6)
app54_out_ggga(x1, x2, x3, x4)  =  app54_out_ggga(x4)
LE33_IN_GA(x1, x2)  =  LE33_IN_GA(x1)

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

(175) UsableRulesProof (EQUIVALENT transformation)

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

(176) Obligation:

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

LE33_IN_GA(s(T98), s(T99)) → LE33_IN_GA(T98, T99)

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

(177) PiDPToQDPProof (SOUND transformation)

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

(178) Obligation:

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

LE33_IN_GA(s(T98)) → LE33_IN_GA(T98)

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

(179) 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(T98)) → LE33_IN_GA(T98)
    The graph contains the following edges 1 > 1

(180) YES

(181) Obligation:

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

GT10_IN_GA(s(T37), s(T38)) → GT10_IN_GA(T37, T38)

The TRS R consists of the following rules:

qs1_in_ga(.(T22, .(T23, T24)), T9) → U19_ga(T22, T23, T24, T9, gt10_in_gg(T22, T23))
gt10_in_gg(s(T37), s(T38)) → U1_gg(T37, T38, gt10_in_gg(T37, T38))
gt10_in_gg(s(0), 0) → gt10_out_gg(s(0), 0)
U1_gg(T37, T38, gt10_out_gg(T37, T38)) → gt10_out_gg(s(T37), s(T38))
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U20_ga(T22, T23, T24, T9, part20_in_ggaa(T22, T24, X47, X48))
part20_in_ggaa(T61, .(T62, T63), .(T62, X119), X120) → U2_ggaa(T61, T62, T63, X119, X120, gt10_in_gg(T61, T62))
U2_ggaa(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → part20_out_ggaa(T61, .(T62, T63), .(T62, X119), X120)
U2_ggaa(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → U3_ggaa(T61, T62, T63, X119, X120, part20_in_ggaa(T61, T63, X119, X120))
part20_in_ggaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_ggaa(T83, T84, T85, X170, X171, le33_in_gg(T83, T84))
le33_in_gg(s(T98), s(T99)) → U6_gg(T98, T99, le33_in_gg(T98, T99))
le33_in_gg(0, s(T106)) → le33_out_gg(0, s(T106))
le33_in_gg(0, 0) → le33_out_gg(0, 0)
U6_gg(T98, T99, le33_out_gg(T98, T99)) → le33_out_gg(s(T98), s(T99))
U4_ggaa(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → part20_out_ggaa(T83, .(T84, T85), X170, .(T84, X171))
U4_ggaa(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → U5_ggaa(T83, T84, T85, X170, X171, part20_in_ggaa(T83, T85, X170, X171))
part20_in_ggaa(T112, [], [], []) → part20_out_ggaa(T112, [], [], [])
U5_ggaa(T83, T84, T85, X170, X171, part20_out_ggaa(T83, T85, X170, X171)) → part20_out_ggaa(T83, .(T84, T85), X170, .(T84, X171))
U3_ggaa(T61, T62, T63, X119, X120, part20_out_ggaa(T61, T63, X119, X120)) → part20_out_ggaa(T61, .(T62, T63), .(T62, X119), X120)
U20_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, X47, X48)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U21_ga(T22, T23, T24, T9, part20_in_ggaa(T22, T24, T44, T45))
U21_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U22_ga(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
qs1_in_aa(.(T22, .(T23, T24)), T9) → U19_aa(T22, T23, T24, T9, gt10_in_aa(T22, T23))
gt10_in_aa(s(T37), s(T38)) → U1_aa(T37, T38, gt10_in_aa(T37, T38))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U1_aa(T37, T38, gt10_out_aa(T37, T38)) → gt10_out_aa(s(T37), s(T38))
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U20_aa(T22, T23, T24, T9, part20_in_gaaa(T22, T24, X47, X48))
part20_in_gaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_gaaa(T61, T62, T63, X119, X120, gt10_in_ga(T61, T62))
gt10_in_ga(s(T37), s(T38)) → U1_ga(T37, T38, gt10_in_ga(T37, T38))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U1_ga(T37, T38, gt10_out_ga(T37, T38)) → gt10_out_ga(s(T37), s(T38))
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → U3_gaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
part20_in_gaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_gaaa(T83, T84, T85, X170, X171, le33_in_ga(T83, T84))
le33_in_ga(s(T98), s(T99)) → U6_ga(T98, T99, le33_in_ga(T98, T99))
le33_in_ga(0, s(T106)) → le33_out_ga(0, s(T106))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U6_ga(T98, T99, le33_out_ga(T98, T99)) → le33_out_ga(s(T98), s(T99))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → U5_gaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
part20_in_gaaa(T112, [], [], []) → part20_out_gaaa(T112, [], [], [])
U5_gaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U3_gaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U20_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, X47, X48)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U21_aa(T22, T23, T24, T9, part20_in_gaaa(T22, T24, T44, T45))
U21_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U22_aa(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
qs1_in_aa(.(T239, .(T240, T241)), T9) → U25_aa(T239, T240, T241, T9, le33_in_aa(T239, T240))
le33_in_aa(s(T98), s(T99)) → U6_aa(T98, T99, le33_in_aa(T98, T99))
le33_in_aa(0, s(T106)) → le33_out_aa(0, s(T106))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U6_aa(T98, T99, le33_out_aa(T98, T99)) → le33_out_aa(s(T98), s(T99))
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U26_aa(T239, T240, T241, T9, part20_in_gaaa(T239, T241, X437, X438))
U26_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, X437, X438)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U27_aa(T239, T240, T241, T9, part20_in_gaaa(T239, T241, T249, T250))
U27_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U28_aa(T239, T240, T241, T9, qs53_in_aa(T249, X9))
qs53_in_aa(.(T131, T132), X275) → U7_aa(T131, T132, X275, part20_in_aaaa(T131, T132, X271, X272))
part20_in_aaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_aaaa(T61, T62, T63, X119, X120, gt10_in_aa(T61, T62))
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → U3_aaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
U3_aaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
part20_in_aaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_aaaa(T83, T84, T85, X170, X171, le33_in_aa(T83, T84))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → U5_aaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
U5_aaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
part20_in_aaaa(T112, [], [], []) → part20_out_aaaa(T112, [], [], [])
U7_aa(T131, T132, X275, part20_out_aaaa(T131, T132, X271, X272)) → qs53_out_aa(.(T131, T132), X275)
qs53_in_aa(.(T131, T132), X275) → U8_aa(T131, T132, X275, part20_in_aaaa(T131, T132, T136, T137))
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U9_aa(T131, T132, X275, qs53_in_aa(T136, X273))
qs53_in_aa([], []) → qs53_out_aa([], [])
U9_aa(T131, T132, X275, qs53_out_aa(T136, X273)) → qs53_out_aa(.(T131, T132), X275)
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U10_aa(T131, T132, X275, T137, qs53_in_aa(T136, T143))
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U11_aa(T131, T132, X275, qs53_in_aa(T137, X274))
U11_aa(T131, T132, X275, qs53_out_aa(T137, X274)) → qs53_out_aa(.(T131, T132), X275)
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U12_aa(T131, T132, X275, T143, qs53_in_aa(T137, T148))
U12_aa(T131, T132, X275, T143, qs53_out_aa(T137, T148)) → U13_aa(T131, T132, X275, app65_in_aaaa(T143, T131, T148, X275))
app65_in_aaaa(.(T171, T172), T173, T174, .(T171, X354)) → U14_aaaa(T171, T172, T173, T174, X354, app65_in_aaaa(T172, T173, T174, X354))
app65_in_aaaa([], T183, T184, .(T183, T184)) → app65_out_aaaa([], T183, T184, .(T183, T184))
U14_aaaa(T171, T172, T173, T174, X354, app65_out_aaaa(T172, T173, T174, X354)) → app65_out_aaaa(.(T171, T172), T173, T174, .(T171, X354))
U13_aa(T131, T132, X275, app65_out_aaaa(T143, T131, T148, X275)) → qs53_out_aa(.(T131, T132), X275)
U28_aa(T239, T240, T241, T9, qs53_out_aa(T249, X9)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U27_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U29_aa(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_aa(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_aa(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
p52_in_aaaga(T45, X10, T115, T22, T9) → U16_aaaga(T45, X10, T115, T22, T9, qs53_in_aa(T45, X10))
U16_aaaga(T45, X10, T115, T22, T9, qs53_out_aa(T45, X10)) → p52_out_aaaga(T45, X10, T115, T22, T9)
p52_in_aaaga(T45, T120, T115, T22, T9) → U17_aaaga(T45, T120, T115, T22, T9, qs53_in_aa(T45, T120))
U17_aaaga(T45, T120, T115, T22, T9, qs53_out_aa(T45, T120)) → U18_aaaga(T45, T120, T115, T22, T9, app54_in_agaa(T115, T22, T120, T9))
app54_in_agaa(.(T210, T211), T212, T213, .(T210, T215)) → U15_agaa(T210, T211, T212, T213, T215, app54_in_agaa(T211, T212, T213, T215))
app54_in_agaa([], T225, T226, .(T225, T226)) → app54_out_agaa([], T225, T226, .(T225, T226))
U15_agaa(T210, T211, T212, T213, T215, app54_out_agaa(T211, T212, T213, T215)) → app54_out_agaa(.(T210, T211), T212, T213, .(T210, T215))
U18_aaaga(T45, T120, T115, T22, T9, app54_out_agaa(T115, T22, T120, T9)) → p52_out_aaaga(T45, T120, T115, T22, T9)
U30_aa(T239, T240, T241, T9, p52_out_aaaga(.(T240, T250), X10, T256, T239, T9)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
qs1_in_aa(.(T265, []), T9) → U31_aa(T265, T9, qs99_in_a(X9))
qs99_in_a([]) → qs99_out_a([])
U31_aa(T265, T9, qs99_out_a(X9)) → qs1_out_aa(.(T265, []), T9)
qs1_in_aa(.(T265, []), T9) → U32_aa(T265, T9, qs99_in_a(T268))
U32_aa(T265, T9, qs99_out_a(T268)) → U33_aa(T265, T9, qs99_in_a(X10))
U33_aa(T265, T9, qs99_out_a(X10)) → qs1_out_aa(.(T265, []), T9)
U32_aa(T265, T9, qs99_out_a(T268)) → U34_aa(T265, T9, T268, qs99_in_a(T273))
U34_aa(T265, T9, T268, qs99_out_a(T273)) → U35_aa(T265, T9, app54_in_gaga(T268, T265, T273, T9))
app54_in_gaga(.(T210, T211), T212, T213, .(T210, T215)) → U15_gaga(T210, T211, T212, T213, T215, app54_in_gaga(T211, T212, T213, T215))
app54_in_gaga([], T225, T226, .(T225, T226)) → app54_out_gaga([], T225, T226, .(T225, T226))
U15_gaga(T210, T211, T212, T213, T215, app54_out_gaga(T211, T212, T213, T215)) → app54_out_gaga(.(T210, T211), T212, T213, .(T210, T215))
U35_aa(T265, T9, app54_out_gaga(T268, T265, T273, T9)) → qs1_out_aa(.(T265, []), T9)
qs1_in_aa([], []) → qs1_out_aa([], [])
U22_aa(T22, T23, T24, T9, qs1_out_aa(.(T23, T44), X9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U21_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U23_aa(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_aa(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_aa(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U24_aa(T22, T23, T24, T9, p52_out_aaaga(T45, X10, T115, T22, T9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U22_ga(T22, T23, T24, T9, qs1_out_aa(.(T23, T44), X9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U21_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U23_ga(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_ga(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_ga(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U24_ga(T22, T23, T24, T9, p52_out_aaaga(T45, X10, T115, T22, T9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
qs1_in_ga(.(T239, .(T240, T241)), T9) → U25_ga(T239, T240, T241, T9, le33_in_gg(T239, T240))
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U26_ga(T239, T240, T241, T9, part20_in_ggaa(T239, T241, X437, X438))
U26_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, X437, X438)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U27_ga(T239, T240, T241, T9, part20_in_ggaa(T239, T241, T249, T250))
U27_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U28_ga(T239, T240, T241, T9, qs53_in_aa(T249, X9))
U28_ga(T239, T240, T241, T9, qs53_out_aa(T249, X9)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U27_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U29_ga(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_ga(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_ga(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
U30_ga(T239, T240, T241, T9, p52_out_aaaga(.(T240, T250), X10, T256, T239, T9)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
qs1_in_ga(.(T265, []), T9) → U31_ga(T265, T9, qs99_in_a(X9))
U31_ga(T265, T9, qs99_out_a(X9)) → qs1_out_ga(.(T265, []), T9)
qs1_in_ga(.(T265, []), T9) → U32_ga(T265, T9, qs99_in_a(T268))
U32_ga(T265, T9, qs99_out_a(T268)) → U33_ga(T265, T9, qs99_in_a(X10))
U33_ga(T265, T9, qs99_out_a(X10)) → qs1_out_ga(.(T265, []), T9)
U32_ga(T265, T9, qs99_out_a(T268)) → U34_ga(T265, T9, T268, qs99_in_a(T273))
U34_ga(T265, T9, T268, qs99_out_a(T273)) → U35_ga(T265, T9, app54_in_ggga(T268, T265, T273, T9))
app54_in_ggga(.(T210, T211), T212, T213, .(T210, T215)) → U15_ggga(T210, T211, T212, T213, T215, app54_in_ggga(T211, T212, T213, T215))
app54_in_ggga([], T225, T226, .(T225, T226)) → app54_out_ggga([], T225, T226, .(T225, T226))
U15_ggga(T210, T211, T212, T213, T215, app54_out_ggga(T211, T212, T213, T215)) → app54_out_ggga(.(T210, T211), T212, T213, .(T210, T215))
U35_ga(T265, T9, app54_out_ggga(T268, T265, T273, T9)) → qs1_out_ga(.(T265, []), T9)
qs1_in_ga([], []) → qs1_out_ga([], [])

The argument filtering Pi contains the following mapping:
qs1_in_ga(x1, x2)  =  qs1_in_ga(x1)
.(x1, x2)  =  .(x1, x2)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x3, x5)
gt10_in_gg(x1, x2)  =  gt10_in_gg(x1, x2)
s(x1)  =  s(x1)
U1_gg(x1, x2, x3)  =  U1_gg(x3)
0  =  0
gt10_out_gg(x1, x2)  =  gt10_out_gg
qs1_out_ga(x1, x2)  =  qs1_out_ga
U20_ga(x1, x2, x3, x4, x5)  =  U20_ga(x5)
part20_in_ggaa(x1, x2, x3, x4)  =  part20_in_ggaa(x1, x2)
U2_ggaa(x1, x2, x3, x4, x5, x6)  =  U2_ggaa(x1, x3, x6)
part20_out_ggaa(x1, x2, x3, x4)  =  part20_out_ggaa
U3_ggaa(x1, x2, x3, x4, x5, x6)  =  U3_ggaa(x6)
U4_ggaa(x1, x2, x3, x4, x5, x6)  =  U4_ggaa(x1, x3, x6)
le33_in_gg(x1, x2)  =  le33_in_gg(x1, x2)
U6_gg(x1, x2, x3)  =  U6_gg(x3)
le33_out_gg(x1, x2)  =  le33_out_gg
U5_ggaa(x1, x2, x3, x4, x5, x6)  =  U5_ggaa(x6)
[]  =  []
U21_ga(x1, x2, x3, x4, x5)  =  U21_ga(x1, x5)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x5)
qs1_in_aa(x1, x2)  =  qs1_in_aa
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(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_aa(x1, x2)  =  qs1_out_aa
U20_aa(x1, x2, x3, x4, x5)  =  U20_aa(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(x3)
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(x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x1, x6)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U6_ga(x1, x2, x3)  =  U6_ga(x3)
le33_out_ga(x1, x2)  =  le33_out_ga
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x6)
U21_aa(x1, x2, x3, x4, x5)  =  U21_aa(x1, x5)
U22_aa(x1, x2, x3, x4, x5)  =  U22_aa(x5)
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
le33_in_aa(x1, x2)  =  le33_in_aa
U6_aa(x1, x2, x3)  =  U6_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
U26_aa(x1, x2, x3, x4, x5)  =  U26_aa(x5)
U27_aa(x1, x2, x3, x4, x5)  =  U27_aa(x1, x5)
U28_aa(x1, x2, x3, x4, x5)  =  U28_aa(x5)
qs53_in_aa(x1, x2)  =  qs53_in_aa
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
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)
qs53_out_aa(x1, x2)  =  qs53_out_aa
U8_aa(x1, x2, x3, x4)  =  U8_aa(x4)
U9_aa(x1, x2, x3, x4)  =  U9_aa(x4)
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4)  =  U11_aa(x4)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4)  =  U13_aa(x4)
app65_in_aaaa(x1, x2, x3, x4)  =  app65_in_aaaa
U14_aaaa(x1, x2, x3, x4, x5, x6)  =  U14_aaaa(x6)
app65_out_aaaa(x1, x2, x3, x4)  =  app65_out_aaaa
U29_aa(x1, x2, x3, x4, x5, x6)  =  U29_aa(x1, x6)
U30_aa(x1, x2, x3, x4, x5)  =  U30_aa(x5)
p52_in_aaaga(x1, x2, x3, x4, x5)  =  p52_in_aaaga(x4)
U16_aaaga(x1, x2, x3, x4, x5, x6)  =  U16_aaaga(x6)
p52_out_aaaga(x1, x2, x3, x4, x5)  =  p52_out_aaaga
U17_aaaga(x1, x2, x3, x4, x5, x6)  =  U17_aaaga(x4, x6)
U18_aaaga(x1, x2, x3, x4, x5, x6)  =  U18_aaaga(x6)
app54_in_agaa(x1, x2, x3, x4)  =  app54_in_agaa(x2)
U15_agaa(x1, x2, x3, x4, x5, x6)  =  U15_agaa(x6)
app54_out_agaa(x1, x2, x3, x4)  =  app54_out_agaa
U31_aa(x1, x2, x3)  =  U31_aa(x3)
qs99_in_a(x1)  =  qs99_in_a
qs99_out_a(x1)  =  qs99_out_a(x1)
U32_aa(x1, x2, x3)  =  U32_aa(x3)
U33_aa(x1, x2, x3)  =  U33_aa(x3)
U34_aa(x1, x2, x3, x4)  =  U34_aa(x3, x4)
U35_aa(x1, x2, x3)  =  U35_aa(x3)
app54_in_gaga(x1, x2, x3, x4)  =  app54_in_gaga(x1, x3)
U15_gaga(x1, x2, x3, x4, x5, x6)  =  U15_gaga(x6)
app54_out_gaga(x1, x2, x3, x4)  =  app54_out_gaga
U23_aa(x1, x2, x3, x4, x5, x6)  =  U23_aa(x1, x6)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U23_ga(x1, x2, x3, x4, x5, x6)  =  U23_ga(x1, x6)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x5)
U25_ga(x1, x2, x3, x4, x5)  =  U25_ga(x1, x3, x5)
U26_ga(x1, x2, x3, x4, x5)  =  U26_ga(x5)
U27_ga(x1, x2, x3, x4, x5)  =  U27_ga(x1, x5)
U28_ga(x1, x2, x3, x4, x5)  =  U28_ga(x5)
U29_ga(x1, x2, x3, x4, x5, x6)  =  U29_ga(x1, x6)
U30_ga(x1, x2, x3, x4, x5)  =  U30_ga(x5)
U31_ga(x1, x2, x3)  =  U31_ga(x3)
U32_ga(x1, x2, x3)  =  U32_ga(x1, x3)
U33_ga(x1, x2, x3)  =  U33_ga(x3)
U34_ga(x1, x2, x3, x4)  =  U34_ga(x1, x3, x4)
U35_ga(x1, x2, x3)  =  U35_ga(x3)
app54_in_ggga(x1, x2, x3, x4)  =  app54_in_ggga(x1, x2, x3)
U15_ggga(x1, x2, x3, x4, x5, x6)  =  U15_ggga(x1, x6)
app54_out_ggga(x1, x2, x3, x4)  =  app54_out_ggga(x4)
GT10_IN_GA(x1, x2)  =  GT10_IN_GA(x1)

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

(182) UsableRulesProof (EQUIVALENT transformation)

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

(183) Obligation:

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

GT10_IN_GA(s(T37), s(T38)) → GT10_IN_GA(T37, T38)

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

(184) PiDPToQDPProof (SOUND transformation)

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

(185) Obligation:

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

GT10_IN_GA(s(T37)) → GT10_IN_GA(T37)

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

(186) 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(T37)) → GT10_IN_GA(T37)
    The graph contains the following edges 1 > 1

(187) YES

(188) Obligation:

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

U2_GAAA(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → PART20_IN_GAAA(T61, T63, X119, X120)
PART20_IN_GAAA(T61, .(T62, T63), .(T62, X119), X120) → U2_GAAA(T61, T62, T63, X119, X120, gt10_in_ga(T61, T62))
PART20_IN_GAAA(T83, .(T84, T85), X170, .(T84, X171)) → U4_GAAA(T83, T84, T85, X170, X171, le33_in_ga(T83, T84))
U4_GAAA(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → PART20_IN_GAAA(T83, T85, X170, X171)

The TRS R consists of the following rules:

qs1_in_ga(.(T22, .(T23, T24)), T9) → U19_ga(T22, T23, T24, T9, gt10_in_gg(T22, T23))
gt10_in_gg(s(T37), s(T38)) → U1_gg(T37, T38, gt10_in_gg(T37, T38))
gt10_in_gg(s(0), 0) → gt10_out_gg(s(0), 0)
U1_gg(T37, T38, gt10_out_gg(T37, T38)) → gt10_out_gg(s(T37), s(T38))
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U20_ga(T22, T23, T24, T9, part20_in_ggaa(T22, T24, X47, X48))
part20_in_ggaa(T61, .(T62, T63), .(T62, X119), X120) → U2_ggaa(T61, T62, T63, X119, X120, gt10_in_gg(T61, T62))
U2_ggaa(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → part20_out_ggaa(T61, .(T62, T63), .(T62, X119), X120)
U2_ggaa(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → U3_ggaa(T61, T62, T63, X119, X120, part20_in_ggaa(T61, T63, X119, X120))
part20_in_ggaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_ggaa(T83, T84, T85, X170, X171, le33_in_gg(T83, T84))
le33_in_gg(s(T98), s(T99)) → U6_gg(T98, T99, le33_in_gg(T98, T99))
le33_in_gg(0, s(T106)) → le33_out_gg(0, s(T106))
le33_in_gg(0, 0) → le33_out_gg(0, 0)
U6_gg(T98, T99, le33_out_gg(T98, T99)) → le33_out_gg(s(T98), s(T99))
U4_ggaa(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → part20_out_ggaa(T83, .(T84, T85), X170, .(T84, X171))
U4_ggaa(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → U5_ggaa(T83, T84, T85, X170, X171, part20_in_ggaa(T83, T85, X170, X171))
part20_in_ggaa(T112, [], [], []) → part20_out_ggaa(T112, [], [], [])
U5_ggaa(T83, T84, T85, X170, X171, part20_out_ggaa(T83, T85, X170, X171)) → part20_out_ggaa(T83, .(T84, T85), X170, .(T84, X171))
U3_ggaa(T61, T62, T63, X119, X120, part20_out_ggaa(T61, T63, X119, X120)) → part20_out_ggaa(T61, .(T62, T63), .(T62, X119), X120)
U20_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, X47, X48)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U21_ga(T22, T23, T24, T9, part20_in_ggaa(T22, T24, T44, T45))
U21_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U22_ga(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
qs1_in_aa(.(T22, .(T23, T24)), T9) → U19_aa(T22, T23, T24, T9, gt10_in_aa(T22, T23))
gt10_in_aa(s(T37), s(T38)) → U1_aa(T37, T38, gt10_in_aa(T37, T38))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U1_aa(T37, T38, gt10_out_aa(T37, T38)) → gt10_out_aa(s(T37), s(T38))
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U20_aa(T22, T23, T24, T9, part20_in_gaaa(T22, T24, X47, X48))
part20_in_gaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_gaaa(T61, T62, T63, X119, X120, gt10_in_ga(T61, T62))
gt10_in_ga(s(T37), s(T38)) → U1_ga(T37, T38, gt10_in_ga(T37, T38))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U1_ga(T37, T38, gt10_out_ga(T37, T38)) → gt10_out_ga(s(T37), s(T38))
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → U3_gaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
part20_in_gaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_gaaa(T83, T84, T85, X170, X171, le33_in_ga(T83, T84))
le33_in_ga(s(T98), s(T99)) → U6_ga(T98, T99, le33_in_ga(T98, T99))
le33_in_ga(0, s(T106)) → le33_out_ga(0, s(T106))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U6_ga(T98, T99, le33_out_ga(T98, T99)) → le33_out_ga(s(T98), s(T99))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → U5_gaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
part20_in_gaaa(T112, [], [], []) → part20_out_gaaa(T112, [], [], [])
U5_gaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U3_gaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U20_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, X47, X48)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U21_aa(T22, T23, T24, T9, part20_in_gaaa(T22, T24, T44, T45))
U21_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U22_aa(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
qs1_in_aa(.(T239, .(T240, T241)), T9) → U25_aa(T239, T240, T241, T9, le33_in_aa(T239, T240))
le33_in_aa(s(T98), s(T99)) → U6_aa(T98, T99, le33_in_aa(T98, T99))
le33_in_aa(0, s(T106)) → le33_out_aa(0, s(T106))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U6_aa(T98, T99, le33_out_aa(T98, T99)) → le33_out_aa(s(T98), s(T99))
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U26_aa(T239, T240, T241, T9, part20_in_gaaa(T239, T241, X437, X438))
U26_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, X437, X438)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U27_aa(T239, T240, T241, T9, part20_in_gaaa(T239, T241, T249, T250))
U27_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U28_aa(T239, T240, T241, T9, qs53_in_aa(T249, X9))
qs53_in_aa(.(T131, T132), X275) → U7_aa(T131, T132, X275, part20_in_aaaa(T131, T132, X271, X272))
part20_in_aaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_aaaa(T61, T62, T63, X119, X120, gt10_in_aa(T61, T62))
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → U3_aaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
U3_aaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
part20_in_aaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_aaaa(T83, T84, T85, X170, X171, le33_in_aa(T83, T84))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → U5_aaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
U5_aaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
part20_in_aaaa(T112, [], [], []) → part20_out_aaaa(T112, [], [], [])
U7_aa(T131, T132, X275, part20_out_aaaa(T131, T132, X271, X272)) → qs53_out_aa(.(T131, T132), X275)
qs53_in_aa(.(T131, T132), X275) → U8_aa(T131, T132, X275, part20_in_aaaa(T131, T132, T136, T137))
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U9_aa(T131, T132, X275, qs53_in_aa(T136, X273))
qs53_in_aa([], []) → qs53_out_aa([], [])
U9_aa(T131, T132, X275, qs53_out_aa(T136, X273)) → qs53_out_aa(.(T131, T132), X275)
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U10_aa(T131, T132, X275, T137, qs53_in_aa(T136, T143))
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U11_aa(T131, T132, X275, qs53_in_aa(T137, X274))
U11_aa(T131, T132, X275, qs53_out_aa(T137, X274)) → qs53_out_aa(.(T131, T132), X275)
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U12_aa(T131, T132, X275, T143, qs53_in_aa(T137, T148))
U12_aa(T131, T132, X275, T143, qs53_out_aa(T137, T148)) → U13_aa(T131, T132, X275, app65_in_aaaa(T143, T131, T148, X275))
app65_in_aaaa(.(T171, T172), T173, T174, .(T171, X354)) → U14_aaaa(T171, T172, T173, T174, X354, app65_in_aaaa(T172, T173, T174, X354))
app65_in_aaaa([], T183, T184, .(T183, T184)) → app65_out_aaaa([], T183, T184, .(T183, T184))
U14_aaaa(T171, T172, T173, T174, X354, app65_out_aaaa(T172, T173, T174, X354)) → app65_out_aaaa(.(T171, T172), T173, T174, .(T171, X354))
U13_aa(T131, T132, X275, app65_out_aaaa(T143, T131, T148, X275)) → qs53_out_aa(.(T131, T132), X275)
U28_aa(T239, T240, T241, T9, qs53_out_aa(T249, X9)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U27_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U29_aa(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_aa(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_aa(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
p52_in_aaaga(T45, X10, T115, T22, T9) → U16_aaaga(T45, X10, T115, T22, T9, qs53_in_aa(T45, X10))
U16_aaaga(T45, X10, T115, T22, T9, qs53_out_aa(T45, X10)) → p52_out_aaaga(T45, X10, T115, T22, T9)
p52_in_aaaga(T45, T120, T115, T22, T9) → U17_aaaga(T45, T120, T115, T22, T9, qs53_in_aa(T45, T120))
U17_aaaga(T45, T120, T115, T22, T9, qs53_out_aa(T45, T120)) → U18_aaaga(T45, T120, T115, T22, T9, app54_in_agaa(T115, T22, T120, T9))
app54_in_agaa(.(T210, T211), T212, T213, .(T210, T215)) → U15_agaa(T210, T211, T212, T213, T215, app54_in_agaa(T211, T212, T213, T215))
app54_in_agaa([], T225, T226, .(T225, T226)) → app54_out_agaa([], T225, T226, .(T225, T226))
U15_agaa(T210, T211, T212, T213, T215, app54_out_agaa(T211, T212, T213, T215)) → app54_out_agaa(.(T210, T211), T212, T213, .(T210, T215))
U18_aaaga(T45, T120, T115, T22, T9, app54_out_agaa(T115, T22, T120, T9)) → p52_out_aaaga(T45, T120, T115, T22, T9)
U30_aa(T239, T240, T241, T9, p52_out_aaaga(.(T240, T250), X10, T256, T239, T9)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
qs1_in_aa(.(T265, []), T9) → U31_aa(T265, T9, qs99_in_a(X9))
qs99_in_a([]) → qs99_out_a([])
U31_aa(T265, T9, qs99_out_a(X9)) → qs1_out_aa(.(T265, []), T9)
qs1_in_aa(.(T265, []), T9) → U32_aa(T265, T9, qs99_in_a(T268))
U32_aa(T265, T9, qs99_out_a(T268)) → U33_aa(T265, T9, qs99_in_a(X10))
U33_aa(T265, T9, qs99_out_a(X10)) → qs1_out_aa(.(T265, []), T9)
U32_aa(T265, T9, qs99_out_a(T268)) → U34_aa(T265, T9, T268, qs99_in_a(T273))
U34_aa(T265, T9, T268, qs99_out_a(T273)) → U35_aa(T265, T9, app54_in_gaga(T268, T265, T273, T9))
app54_in_gaga(.(T210, T211), T212, T213, .(T210, T215)) → U15_gaga(T210, T211, T212, T213, T215, app54_in_gaga(T211, T212, T213, T215))
app54_in_gaga([], T225, T226, .(T225, T226)) → app54_out_gaga([], T225, T226, .(T225, T226))
U15_gaga(T210, T211, T212, T213, T215, app54_out_gaga(T211, T212, T213, T215)) → app54_out_gaga(.(T210, T211), T212, T213, .(T210, T215))
U35_aa(T265, T9, app54_out_gaga(T268, T265, T273, T9)) → qs1_out_aa(.(T265, []), T9)
qs1_in_aa([], []) → qs1_out_aa([], [])
U22_aa(T22, T23, T24, T9, qs1_out_aa(.(T23, T44), X9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U21_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U23_aa(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_aa(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_aa(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U24_aa(T22, T23, T24, T9, p52_out_aaaga(T45, X10, T115, T22, T9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U22_ga(T22, T23, T24, T9, qs1_out_aa(.(T23, T44), X9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U21_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U23_ga(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_ga(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_ga(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U24_ga(T22, T23, T24, T9, p52_out_aaaga(T45, X10, T115, T22, T9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
qs1_in_ga(.(T239, .(T240, T241)), T9) → U25_ga(T239, T240, T241, T9, le33_in_gg(T239, T240))
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U26_ga(T239, T240, T241, T9, part20_in_ggaa(T239, T241, X437, X438))
U26_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, X437, X438)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U27_ga(T239, T240, T241, T9, part20_in_ggaa(T239, T241, T249, T250))
U27_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U28_ga(T239, T240, T241, T9, qs53_in_aa(T249, X9))
U28_ga(T239, T240, T241, T9, qs53_out_aa(T249, X9)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U27_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U29_ga(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_ga(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_ga(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
U30_ga(T239, T240, T241, T9, p52_out_aaaga(.(T240, T250), X10, T256, T239, T9)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
qs1_in_ga(.(T265, []), T9) → U31_ga(T265, T9, qs99_in_a(X9))
U31_ga(T265, T9, qs99_out_a(X9)) → qs1_out_ga(.(T265, []), T9)
qs1_in_ga(.(T265, []), T9) → U32_ga(T265, T9, qs99_in_a(T268))
U32_ga(T265, T9, qs99_out_a(T268)) → U33_ga(T265, T9, qs99_in_a(X10))
U33_ga(T265, T9, qs99_out_a(X10)) → qs1_out_ga(.(T265, []), T9)
U32_ga(T265, T9, qs99_out_a(T268)) → U34_ga(T265, T9, T268, qs99_in_a(T273))
U34_ga(T265, T9, T268, qs99_out_a(T273)) → U35_ga(T265, T9, app54_in_ggga(T268, T265, T273, T9))
app54_in_ggga(.(T210, T211), T212, T213, .(T210, T215)) → U15_ggga(T210, T211, T212, T213, T215, app54_in_ggga(T211, T212, T213, T215))
app54_in_ggga([], T225, T226, .(T225, T226)) → app54_out_ggga([], T225, T226, .(T225, T226))
U15_ggga(T210, T211, T212, T213, T215, app54_out_ggga(T211, T212, T213, T215)) → app54_out_ggga(.(T210, T211), T212, T213, .(T210, T215))
U35_ga(T265, T9, app54_out_ggga(T268, T265, T273, T9)) → qs1_out_ga(.(T265, []), T9)
qs1_in_ga([], []) → qs1_out_ga([], [])

The argument filtering Pi contains the following mapping:
qs1_in_ga(x1, x2)  =  qs1_in_ga(x1)
.(x1, x2)  =  .(x1, x2)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x3, x5)
gt10_in_gg(x1, x2)  =  gt10_in_gg(x1, x2)
s(x1)  =  s(x1)
U1_gg(x1, x2, x3)  =  U1_gg(x3)
0  =  0
gt10_out_gg(x1, x2)  =  gt10_out_gg
qs1_out_ga(x1, x2)  =  qs1_out_ga
U20_ga(x1, x2, x3, x4, x5)  =  U20_ga(x5)
part20_in_ggaa(x1, x2, x3, x4)  =  part20_in_ggaa(x1, x2)
U2_ggaa(x1, x2, x3, x4, x5, x6)  =  U2_ggaa(x1, x3, x6)
part20_out_ggaa(x1, x2, x3, x4)  =  part20_out_ggaa
U3_ggaa(x1, x2, x3, x4, x5, x6)  =  U3_ggaa(x6)
U4_ggaa(x1, x2, x3, x4, x5, x6)  =  U4_ggaa(x1, x3, x6)
le33_in_gg(x1, x2)  =  le33_in_gg(x1, x2)
U6_gg(x1, x2, x3)  =  U6_gg(x3)
le33_out_gg(x1, x2)  =  le33_out_gg
U5_ggaa(x1, x2, x3, x4, x5, x6)  =  U5_ggaa(x6)
[]  =  []
U21_ga(x1, x2, x3, x4, x5)  =  U21_ga(x1, x5)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x5)
qs1_in_aa(x1, x2)  =  qs1_in_aa
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(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_aa(x1, x2)  =  qs1_out_aa
U20_aa(x1, x2, x3, x4, x5)  =  U20_aa(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(x3)
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(x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x1, x6)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U6_ga(x1, x2, x3)  =  U6_ga(x3)
le33_out_ga(x1, x2)  =  le33_out_ga
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x6)
U21_aa(x1, x2, x3, x4, x5)  =  U21_aa(x1, x5)
U22_aa(x1, x2, x3, x4, x5)  =  U22_aa(x5)
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
le33_in_aa(x1, x2)  =  le33_in_aa
U6_aa(x1, x2, x3)  =  U6_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
U26_aa(x1, x2, x3, x4, x5)  =  U26_aa(x5)
U27_aa(x1, x2, x3, x4, x5)  =  U27_aa(x1, x5)
U28_aa(x1, x2, x3, x4, x5)  =  U28_aa(x5)
qs53_in_aa(x1, x2)  =  qs53_in_aa
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
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)
qs53_out_aa(x1, x2)  =  qs53_out_aa
U8_aa(x1, x2, x3, x4)  =  U8_aa(x4)
U9_aa(x1, x2, x3, x4)  =  U9_aa(x4)
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4)  =  U11_aa(x4)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4)  =  U13_aa(x4)
app65_in_aaaa(x1, x2, x3, x4)  =  app65_in_aaaa
U14_aaaa(x1, x2, x3, x4, x5, x6)  =  U14_aaaa(x6)
app65_out_aaaa(x1, x2, x3, x4)  =  app65_out_aaaa
U29_aa(x1, x2, x3, x4, x5, x6)  =  U29_aa(x1, x6)
U30_aa(x1, x2, x3, x4, x5)  =  U30_aa(x5)
p52_in_aaaga(x1, x2, x3, x4, x5)  =  p52_in_aaaga(x4)
U16_aaaga(x1, x2, x3, x4, x5, x6)  =  U16_aaaga(x6)
p52_out_aaaga(x1, x2, x3, x4, x5)  =  p52_out_aaaga
U17_aaaga(x1, x2, x3, x4, x5, x6)  =  U17_aaaga(x4, x6)
U18_aaaga(x1, x2, x3, x4, x5, x6)  =  U18_aaaga(x6)
app54_in_agaa(x1, x2, x3, x4)  =  app54_in_agaa(x2)
U15_agaa(x1, x2, x3, x4, x5, x6)  =  U15_agaa(x6)
app54_out_agaa(x1, x2, x3, x4)  =  app54_out_agaa
U31_aa(x1, x2, x3)  =  U31_aa(x3)
qs99_in_a(x1)  =  qs99_in_a
qs99_out_a(x1)  =  qs99_out_a(x1)
U32_aa(x1, x2, x3)  =  U32_aa(x3)
U33_aa(x1, x2, x3)  =  U33_aa(x3)
U34_aa(x1, x2, x3, x4)  =  U34_aa(x3, x4)
U35_aa(x1, x2, x3)  =  U35_aa(x3)
app54_in_gaga(x1, x2, x3, x4)  =  app54_in_gaga(x1, x3)
U15_gaga(x1, x2, x3, x4, x5, x6)  =  U15_gaga(x6)
app54_out_gaga(x1, x2, x3, x4)  =  app54_out_gaga
U23_aa(x1, x2, x3, x4, x5, x6)  =  U23_aa(x1, x6)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U23_ga(x1, x2, x3, x4, x5, x6)  =  U23_ga(x1, x6)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x5)
U25_ga(x1, x2, x3, x4, x5)  =  U25_ga(x1, x3, x5)
U26_ga(x1, x2, x3, x4, x5)  =  U26_ga(x5)
U27_ga(x1, x2, x3, x4, x5)  =  U27_ga(x1, x5)
U28_ga(x1, x2, x3, x4, x5)  =  U28_ga(x5)
U29_ga(x1, x2, x3, x4, x5, x6)  =  U29_ga(x1, x6)
U30_ga(x1, x2, x3, x4, x5)  =  U30_ga(x5)
U31_ga(x1, x2, x3)  =  U31_ga(x3)
U32_ga(x1, x2, x3)  =  U32_ga(x1, x3)
U33_ga(x1, x2, x3)  =  U33_ga(x3)
U34_ga(x1, x2, x3, x4)  =  U34_ga(x1, x3, x4)
U35_ga(x1, x2, x3)  =  U35_ga(x3)
app54_in_ggga(x1, x2, x3, x4)  =  app54_in_ggga(x1, x2, x3)
U15_ggga(x1, x2, x3, x4, x5, x6)  =  U15_ggga(x1, x6)
app54_out_ggga(x1, x2, x3, x4)  =  app54_out_ggga(x4)
PART20_IN_GAAA(x1, x2, x3, x4)  =  PART20_IN_GAAA(x1)
U2_GAAA(x1, x2, x3, x4, x5, x6)  =  U2_GAAA(x1, x6)
U4_GAAA(x1, x2, x3, x4, x5, x6)  =  U4_GAAA(x1, x6)

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

(189) UsableRulesProof (EQUIVALENT transformation)

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

(190) Obligation:

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

U2_GAAA(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → PART20_IN_GAAA(T61, T63, X119, X120)
PART20_IN_GAAA(T61, .(T62, T63), .(T62, X119), X120) → U2_GAAA(T61, T62, T63, X119, X120, gt10_in_ga(T61, T62))
PART20_IN_GAAA(T83, .(T84, T85), X170, .(T84, X171)) → U4_GAAA(T83, T84, T85, X170, X171, le33_in_ga(T83, T84))
U4_GAAA(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → PART20_IN_GAAA(T83, T85, X170, X171)

The TRS R consists of the following rules:

gt10_in_ga(s(T37), s(T38)) → U1_ga(T37, T38, gt10_in_ga(T37, T38))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
le33_in_ga(s(T98), s(T99)) → U6_ga(T98, T99, le33_in_ga(T98, T99))
le33_in_ga(0, s(T106)) → le33_out_ga(0, s(T106))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U1_ga(T37, T38, gt10_out_ga(T37, T38)) → gt10_out_ga(s(T37), s(T38))
U6_ga(T98, T99, le33_out_ga(T98, T99)) → le33_out_ga(s(T98), s(T99))

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

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

(191) PiDPToQDPProof (SOUND transformation)

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

(192) Obligation:

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

U2_GAAA(T61, gt10_out_ga(T62)) → PART20_IN_GAAA(T61)
PART20_IN_GAAA(T61) → U2_GAAA(T61, gt10_in_ga(T61))
PART20_IN_GAAA(T83) → U4_GAAA(T83, le33_in_ga(T83))
U4_GAAA(T83, le33_out_ga) → PART20_IN_GAAA(T83)

The TRS R consists of the following rules:

gt10_in_ga(s(T37)) → U1_ga(gt10_in_ga(T37))
gt10_in_ga(s(0)) → gt10_out_ga(0)
le33_in_ga(s(T98)) → U6_ga(le33_in_ga(T98))
le33_in_ga(0) → le33_out_ga
U1_ga(gt10_out_ga(T38)) → gt10_out_ga(s(T38))
U6_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)
U6_ga(x0)

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

(193) Narrowing (SOUND transformation)

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

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

(194) Obligation:

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

U2_GAAA(T61, gt10_out_ga(T62)) → PART20_IN_GAAA(T61)
PART20_IN_GAAA(T83) → U4_GAAA(T83, le33_in_ga(T83))
U4_GAAA(T83, le33_out_ga) → PART20_IN_GAAA(T83)
PART20_IN_GAAA(s(x0)) → U2_GAAA(s(x0), U1_ga(gt10_in_ga(x0)))
PART20_IN_GAAA(s(0)) → U2_GAAA(s(0), gt10_out_ga(0))

The TRS R consists of the following rules:

gt10_in_ga(s(T37)) → U1_ga(gt10_in_ga(T37))
gt10_in_ga(s(0)) → gt10_out_ga(0)
le33_in_ga(s(T98)) → U6_ga(le33_in_ga(T98))
le33_in_ga(0) → le33_out_ga
U1_ga(gt10_out_ga(T38)) → gt10_out_ga(s(T38))
U6_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)
U6_ga(x0)

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

(195) Narrowing (SOUND transformation)

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

PART20_IN_GAAA(s(x0)) → U4_GAAA(s(x0), U6_ga(le33_in_ga(x0)))
PART20_IN_GAAA(0) → U4_GAAA(0, le33_out_ga)

(196) Obligation:

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

U2_GAAA(T61, gt10_out_ga(T62)) → PART20_IN_GAAA(T61)
U4_GAAA(T83, le33_out_ga) → PART20_IN_GAAA(T83)
PART20_IN_GAAA(s(x0)) → U2_GAAA(s(x0), U1_ga(gt10_in_ga(x0)))
PART20_IN_GAAA(s(0)) → U2_GAAA(s(0), gt10_out_ga(0))
PART20_IN_GAAA(s(x0)) → U4_GAAA(s(x0), U6_ga(le33_in_ga(x0)))
PART20_IN_GAAA(0) → U4_GAAA(0, le33_out_ga)

The TRS R consists of the following rules:

gt10_in_ga(s(T37)) → U1_ga(gt10_in_ga(T37))
gt10_in_ga(s(0)) → gt10_out_ga(0)
le33_in_ga(s(T98)) → U6_ga(le33_in_ga(T98))
le33_in_ga(0) → le33_out_ga
U1_ga(gt10_out_ga(T38)) → gt10_out_ga(s(T38))
U6_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)
U6_ga(x0)

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

(197) Instantiation (EQUIVALENT transformation)

By instantiating [LPAR04] the rule U2_GAAA(T61, gt10_out_ga(T62)) → PART20_IN_GAAA(T61) we obtained the following new rules [LPAR04]:

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

(198) Obligation:

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

U4_GAAA(T83, le33_out_ga) → PART20_IN_GAAA(T83)
PART20_IN_GAAA(s(x0)) → U2_GAAA(s(x0), U1_ga(gt10_in_ga(x0)))
PART20_IN_GAAA(s(0)) → U2_GAAA(s(0), gt10_out_ga(0))
PART20_IN_GAAA(s(x0)) → U4_GAAA(s(x0), U6_ga(le33_in_ga(x0)))
PART20_IN_GAAA(0) → U4_GAAA(0, le33_out_ga)
U2_GAAA(s(z0), gt10_out_ga(x1)) → PART20_IN_GAAA(s(z0))
U2_GAAA(s(0), gt10_out_ga(0)) → PART20_IN_GAAA(s(0))

The TRS R consists of the following rules:

gt10_in_ga(s(T37)) → U1_ga(gt10_in_ga(T37))
gt10_in_ga(s(0)) → gt10_out_ga(0)
le33_in_ga(s(T98)) → U6_ga(le33_in_ga(T98))
le33_in_ga(0) → le33_out_ga
U1_ga(gt10_out_ga(T38)) → gt10_out_ga(s(T38))
U6_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)
U6_ga(x0)

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

(199) Instantiation (EQUIVALENT transformation)

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

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

(200) Obligation:

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

PART20_IN_GAAA(s(x0)) → U2_GAAA(s(x0), U1_ga(gt10_in_ga(x0)))
PART20_IN_GAAA(s(0)) → U2_GAAA(s(0), gt10_out_ga(0))
PART20_IN_GAAA(s(x0)) → U4_GAAA(s(x0), U6_ga(le33_in_ga(x0)))
PART20_IN_GAAA(0) → U4_GAAA(0, le33_out_ga)
U2_GAAA(s(z0), gt10_out_ga(x1)) → PART20_IN_GAAA(s(z0))
U2_GAAA(s(0), gt10_out_ga(0)) → PART20_IN_GAAA(s(0))
U4_GAAA(s(z0), le33_out_ga) → PART20_IN_GAAA(s(z0))
U4_GAAA(0, le33_out_ga) → PART20_IN_GAAA(0)

The TRS R consists of the following rules:

gt10_in_ga(s(T37)) → U1_ga(gt10_in_ga(T37))
gt10_in_ga(s(0)) → gt10_out_ga(0)
le33_in_ga(s(T98)) → U6_ga(le33_in_ga(T98))
le33_in_ga(0) → le33_out_ga
U1_ga(gt10_out_ga(T38)) → gt10_out_ga(s(T38))
U6_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)
U6_ga(x0)

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

(201) DependencyGraphProof (EQUIVALENT transformation)

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

(202) Complex Obligation (AND)

(203) Obligation:

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

U4_GAAA(0, le33_out_ga) → PART20_IN_GAAA(0)
PART20_IN_GAAA(0) → U4_GAAA(0, le33_out_ga)

The TRS R consists of the following rules:

gt10_in_ga(s(T37)) → U1_ga(gt10_in_ga(T37))
gt10_in_ga(s(0)) → gt10_out_ga(0)
le33_in_ga(s(T98)) → U6_ga(le33_in_ga(T98))
le33_in_ga(0) → le33_out_ga
U1_ga(gt10_out_ga(T38)) → gt10_out_ga(s(T38))
U6_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)
U6_ga(x0)

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

(204) 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.

(205) Obligation:

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

U4_GAAA(0, le33_out_ga) → PART20_IN_GAAA(0)
PART20_IN_GAAA(0) → U4_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)
U6_ga(x0)

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

(206) 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)
U6_ga(x0)

(207) Obligation:

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

U4_GAAA(0, le33_out_ga) → PART20_IN_GAAA(0)
PART20_IN_GAAA(0) → U4_GAAA(0, le33_out_ga)

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

(208) 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)U4_GAAA(0, le33_out_ga)
with rule PART20_IN_GAAA(0) → U4_GAAA(0, le33_out_ga) at position [] and matcher [ ]

U4_GAAA(0, le33_out_ga)PART20_IN_GAAA(0)
with rule U4_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.



(209) NO

(210) Obligation:

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

U2_GAAA(s(z0), gt10_out_ga(x1)) → PART20_IN_GAAA(s(z0))
PART20_IN_GAAA(s(x0)) → U2_GAAA(s(x0), U1_ga(gt10_in_ga(x0)))
U2_GAAA(s(0), gt10_out_ga(0)) → PART20_IN_GAAA(s(0))
PART20_IN_GAAA(s(0)) → U2_GAAA(s(0), gt10_out_ga(0))
PART20_IN_GAAA(s(x0)) → U4_GAAA(s(x0), U6_ga(le33_in_ga(x0)))
U4_GAAA(s(z0), le33_out_ga) → PART20_IN_GAAA(s(z0))

The TRS R consists of the following rules:

gt10_in_ga(s(T37)) → U1_ga(gt10_in_ga(T37))
gt10_in_ga(s(0)) → gt10_out_ga(0)
le33_in_ga(s(T98)) → U6_ga(le33_in_ga(T98))
le33_in_ga(0) → le33_out_ga
U1_ga(gt10_out_ga(T38)) → gt10_out_ga(s(T38))
U6_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)
U6_ga(x0)

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

(211) 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))U2_GAAA(s(0), gt10_out_ga(0))
with rule PART20_IN_GAAA(s(0)) → U2_GAAA(s(0), gt10_out_ga(0)) at position [] and matcher [ ]

U2_GAAA(s(0), gt10_out_ga(0))PART20_IN_GAAA(s(0))
with rule U2_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.



(212) NO

(213) Obligation:

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

GT10_IN_AA(s(T37), s(T38)) → GT10_IN_AA(T37, T38)

The TRS R consists of the following rules:

qs1_in_ga(.(T22, .(T23, T24)), T9) → U19_ga(T22, T23, T24, T9, gt10_in_gg(T22, T23))
gt10_in_gg(s(T37), s(T38)) → U1_gg(T37, T38, gt10_in_gg(T37, T38))
gt10_in_gg(s(0), 0) → gt10_out_gg(s(0), 0)
U1_gg(T37, T38, gt10_out_gg(T37, T38)) → gt10_out_gg(s(T37), s(T38))
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U20_ga(T22, T23, T24, T9, part20_in_ggaa(T22, T24, X47, X48))
part20_in_ggaa(T61, .(T62, T63), .(T62, X119), X120) → U2_ggaa(T61, T62, T63, X119, X120, gt10_in_gg(T61, T62))
U2_ggaa(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → part20_out_ggaa(T61, .(T62, T63), .(T62, X119), X120)
U2_ggaa(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → U3_ggaa(T61, T62, T63, X119, X120, part20_in_ggaa(T61, T63, X119, X120))
part20_in_ggaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_ggaa(T83, T84, T85, X170, X171, le33_in_gg(T83, T84))
le33_in_gg(s(T98), s(T99)) → U6_gg(T98, T99, le33_in_gg(T98, T99))
le33_in_gg(0, s(T106)) → le33_out_gg(0, s(T106))
le33_in_gg(0, 0) → le33_out_gg(0, 0)
U6_gg(T98, T99, le33_out_gg(T98, T99)) → le33_out_gg(s(T98), s(T99))
U4_ggaa(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → part20_out_ggaa(T83, .(T84, T85), X170, .(T84, X171))
U4_ggaa(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → U5_ggaa(T83, T84, T85, X170, X171, part20_in_ggaa(T83, T85, X170, X171))
part20_in_ggaa(T112, [], [], []) → part20_out_ggaa(T112, [], [], [])
U5_ggaa(T83, T84, T85, X170, X171, part20_out_ggaa(T83, T85, X170, X171)) → part20_out_ggaa(T83, .(T84, T85), X170, .(T84, X171))
U3_ggaa(T61, T62, T63, X119, X120, part20_out_ggaa(T61, T63, X119, X120)) → part20_out_ggaa(T61, .(T62, T63), .(T62, X119), X120)
U20_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, X47, X48)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U21_ga(T22, T23, T24, T9, part20_in_ggaa(T22, T24, T44, T45))
U21_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U22_ga(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
qs1_in_aa(.(T22, .(T23, T24)), T9) → U19_aa(T22, T23, T24, T9, gt10_in_aa(T22, T23))
gt10_in_aa(s(T37), s(T38)) → U1_aa(T37, T38, gt10_in_aa(T37, T38))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U1_aa(T37, T38, gt10_out_aa(T37, T38)) → gt10_out_aa(s(T37), s(T38))
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U20_aa(T22, T23, T24, T9, part20_in_gaaa(T22, T24, X47, X48))
part20_in_gaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_gaaa(T61, T62, T63, X119, X120, gt10_in_ga(T61, T62))
gt10_in_ga(s(T37), s(T38)) → U1_ga(T37, T38, gt10_in_ga(T37, T38))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U1_ga(T37, T38, gt10_out_ga(T37, T38)) → gt10_out_ga(s(T37), s(T38))
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → U3_gaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
part20_in_gaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_gaaa(T83, T84, T85, X170, X171, le33_in_ga(T83, T84))
le33_in_ga(s(T98), s(T99)) → U6_ga(T98, T99, le33_in_ga(T98, T99))
le33_in_ga(0, s(T106)) → le33_out_ga(0, s(T106))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U6_ga(T98, T99, le33_out_ga(T98, T99)) → le33_out_ga(s(T98), s(T99))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → U5_gaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
part20_in_gaaa(T112, [], [], []) → part20_out_gaaa(T112, [], [], [])
U5_gaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U3_gaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U20_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, X47, X48)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U21_aa(T22, T23, T24, T9, part20_in_gaaa(T22, T24, T44, T45))
U21_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U22_aa(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
qs1_in_aa(.(T239, .(T240, T241)), T9) → U25_aa(T239, T240, T241, T9, le33_in_aa(T239, T240))
le33_in_aa(s(T98), s(T99)) → U6_aa(T98, T99, le33_in_aa(T98, T99))
le33_in_aa(0, s(T106)) → le33_out_aa(0, s(T106))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U6_aa(T98, T99, le33_out_aa(T98, T99)) → le33_out_aa(s(T98), s(T99))
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U26_aa(T239, T240, T241, T9, part20_in_gaaa(T239, T241, X437, X438))
U26_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, X437, X438)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U27_aa(T239, T240, T241, T9, part20_in_gaaa(T239, T241, T249, T250))
U27_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U28_aa(T239, T240, T241, T9, qs53_in_aa(T249, X9))
qs53_in_aa(.(T131, T132), X275) → U7_aa(T131, T132, X275, part20_in_aaaa(T131, T132, X271, X272))
part20_in_aaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_aaaa(T61, T62, T63, X119, X120, gt10_in_aa(T61, T62))
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → U3_aaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
U3_aaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
part20_in_aaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_aaaa(T83, T84, T85, X170, X171, le33_in_aa(T83, T84))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → U5_aaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
U5_aaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
part20_in_aaaa(T112, [], [], []) → part20_out_aaaa(T112, [], [], [])
U7_aa(T131, T132, X275, part20_out_aaaa(T131, T132, X271, X272)) → qs53_out_aa(.(T131, T132), X275)
qs53_in_aa(.(T131, T132), X275) → U8_aa(T131, T132, X275, part20_in_aaaa(T131, T132, T136, T137))
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U9_aa(T131, T132, X275, qs53_in_aa(T136, X273))
qs53_in_aa([], []) → qs53_out_aa([], [])
U9_aa(T131, T132, X275, qs53_out_aa(T136, X273)) → qs53_out_aa(.(T131, T132), X275)
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U10_aa(T131, T132, X275, T137, qs53_in_aa(T136, T143))
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U11_aa(T131, T132, X275, qs53_in_aa(T137, X274))
U11_aa(T131, T132, X275, qs53_out_aa(T137, X274)) → qs53_out_aa(.(T131, T132), X275)
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U12_aa(T131, T132, X275, T143, qs53_in_aa(T137, T148))
U12_aa(T131, T132, X275, T143, qs53_out_aa(T137, T148)) → U13_aa(T131, T132, X275, app65_in_aaaa(T143, T131, T148, X275))
app65_in_aaaa(.(T171, T172), T173, T174, .(T171, X354)) → U14_aaaa(T171, T172, T173, T174, X354, app65_in_aaaa(T172, T173, T174, X354))
app65_in_aaaa([], T183, T184, .(T183, T184)) → app65_out_aaaa([], T183, T184, .(T183, T184))
U14_aaaa(T171, T172, T173, T174, X354, app65_out_aaaa(T172, T173, T174, X354)) → app65_out_aaaa(.(T171, T172), T173, T174, .(T171, X354))
U13_aa(T131, T132, X275, app65_out_aaaa(T143, T131, T148, X275)) → qs53_out_aa(.(T131, T132), X275)
U28_aa(T239, T240, T241, T9, qs53_out_aa(T249, X9)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U27_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U29_aa(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_aa(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_aa(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
p52_in_aaaga(T45, X10, T115, T22, T9) → U16_aaaga(T45, X10, T115, T22, T9, qs53_in_aa(T45, X10))
U16_aaaga(T45, X10, T115, T22, T9, qs53_out_aa(T45, X10)) → p52_out_aaaga(T45, X10, T115, T22, T9)
p52_in_aaaga(T45, T120, T115, T22, T9) → U17_aaaga(T45, T120, T115, T22, T9, qs53_in_aa(T45, T120))
U17_aaaga(T45, T120, T115, T22, T9, qs53_out_aa(T45, T120)) → U18_aaaga(T45, T120, T115, T22, T9, app54_in_agaa(T115, T22, T120, T9))
app54_in_agaa(.(T210, T211), T212, T213, .(T210, T215)) → U15_agaa(T210, T211, T212, T213, T215, app54_in_agaa(T211, T212, T213, T215))
app54_in_agaa([], T225, T226, .(T225, T226)) → app54_out_agaa([], T225, T226, .(T225, T226))
U15_agaa(T210, T211, T212, T213, T215, app54_out_agaa(T211, T212, T213, T215)) → app54_out_agaa(.(T210, T211), T212, T213, .(T210, T215))
U18_aaaga(T45, T120, T115, T22, T9, app54_out_agaa(T115, T22, T120, T9)) → p52_out_aaaga(T45, T120, T115, T22, T9)
U30_aa(T239, T240, T241, T9, p52_out_aaaga(.(T240, T250), X10, T256, T239, T9)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
qs1_in_aa(.(T265, []), T9) → U31_aa(T265, T9, qs99_in_a(X9))
qs99_in_a([]) → qs99_out_a([])
U31_aa(T265, T9, qs99_out_a(X9)) → qs1_out_aa(.(T265, []), T9)
qs1_in_aa(.(T265, []), T9) → U32_aa(T265, T9, qs99_in_a(T268))
U32_aa(T265, T9, qs99_out_a(T268)) → U33_aa(T265, T9, qs99_in_a(X10))
U33_aa(T265, T9, qs99_out_a(X10)) → qs1_out_aa(.(T265, []), T9)
U32_aa(T265, T9, qs99_out_a(T268)) → U34_aa(T265, T9, T268, qs99_in_a(T273))
U34_aa(T265, T9, T268, qs99_out_a(T273)) → U35_aa(T265, T9, app54_in_gaga(T268, T265, T273, T9))
app54_in_gaga(.(T210, T211), T212, T213, .(T210, T215)) → U15_gaga(T210, T211, T212, T213, T215, app54_in_gaga(T211, T212, T213, T215))
app54_in_gaga([], T225, T226, .(T225, T226)) → app54_out_gaga([], T225, T226, .(T225, T226))
U15_gaga(T210, T211, T212, T213, T215, app54_out_gaga(T211, T212, T213, T215)) → app54_out_gaga(.(T210, T211), T212, T213, .(T210, T215))
U35_aa(T265, T9, app54_out_gaga(T268, T265, T273, T9)) → qs1_out_aa(.(T265, []), T9)
qs1_in_aa([], []) → qs1_out_aa([], [])
U22_aa(T22, T23, T24, T9, qs1_out_aa(.(T23, T44), X9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U21_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U23_aa(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_aa(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_aa(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U24_aa(T22, T23, T24, T9, p52_out_aaaga(T45, X10, T115, T22, T9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U22_ga(T22, T23, T24, T9, qs1_out_aa(.(T23, T44), X9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U21_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U23_ga(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_ga(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_ga(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U24_ga(T22, T23, T24, T9, p52_out_aaaga(T45, X10, T115, T22, T9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
qs1_in_ga(.(T239, .(T240, T241)), T9) → U25_ga(T239, T240, T241, T9, le33_in_gg(T239, T240))
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U26_ga(T239, T240, T241, T9, part20_in_ggaa(T239, T241, X437, X438))
U26_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, X437, X438)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U27_ga(T239, T240, T241, T9, part20_in_ggaa(T239, T241, T249, T250))
U27_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U28_ga(T239, T240, T241, T9, qs53_in_aa(T249, X9))
U28_ga(T239, T240, T241, T9, qs53_out_aa(T249, X9)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U27_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U29_ga(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_ga(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_ga(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
U30_ga(T239, T240, T241, T9, p52_out_aaaga(.(T240, T250), X10, T256, T239, T9)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
qs1_in_ga(.(T265, []), T9) → U31_ga(T265, T9, qs99_in_a(X9))
U31_ga(T265, T9, qs99_out_a(X9)) → qs1_out_ga(.(T265, []), T9)
qs1_in_ga(.(T265, []), T9) → U32_ga(T265, T9, qs99_in_a(T268))
U32_ga(T265, T9, qs99_out_a(T268)) → U33_ga(T265, T9, qs99_in_a(X10))
U33_ga(T265, T9, qs99_out_a(X10)) → qs1_out_ga(.(T265, []), T9)
U32_ga(T265, T9, qs99_out_a(T268)) → U34_ga(T265, T9, T268, qs99_in_a(T273))
U34_ga(T265, T9, T268, qs99_out_a(T273)) → U35_ga(T265, T9, app54_in_ggga(T268, T265, T273, T9))
app54_in_ggga(.(T210, T211), T212, T213, .(T210, T215)) → U15_ggga(T210, T211, T212, T213, T215, app54_in_ggga(T211, T212, T213, T215))
app54_in_ggga([], T225, T226, .(T225, T226)) → app54_out_ggga([], T225, T226, .(T225, T226))
U15_ggga(T210, T211, T212, T213, T215, app54_out_ggga(T211, T212, T213, T215)) → app54_out_ggga(.(T210, T211), T212, T213, .(T210, T215))
U35_ga(T265, T9, app54_out_ggga(T268, T265, T273, T9)) → qs1_out_ga(.(T265, []), T9)
qs1_in_ga([], []) → qs1_out_ga([], [])

The argument filtering Pi contains the following mapping:
qs1_in_ga(x1, x2)  =  qs1_in_ga(x1)
.(x1, x2)  =  .(x1, x2)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x3, x5)
gt10_in_gg(x1, x2)  =  gt10_in_gg(x1, x2)
s(x1)  =  s(x1)
U1_gg(x1, x2, x3)  =  U1_gg(x3)
0  =  0
gt10_out_gg(x1, x2)  =  gt10_out_gg
qs1_out_ga(x1, x2)  =  qs1_out_ga
U20_ga(x1, x2, x3, x4, x5)  =  U20_ga(x5)
part20_in_ggaa(x1, x2, x3, x4)  =  part20_in_ggaa(x1, x2)
U2_ggaa(x1, x2, x3, x4, x5, x6)  =  U2_ggaa(x1, x3, x6)
part20_out_ggaa(x1, x2, x3, x4)  =  part20_out_ggaa
U3_ggaa(x1, x2, x3, x4, x5, x6)  =  U3_ggaa(x6)
U4_ggaa(x1, x2, x3, x4, x5, x6)  =  U4_ggaa(x1, x3, x6)
le33_in_gg(x1, x2)  =  le33_in_gg(x1, x2)
U6_gg(x1, x2, x3)  =  U6_gg(x3)
le33_out_gg(x1, x2)  =  le33_out_gg
U5_ggaa(x1, x2, x3, x4, x5, x6)  =  U5_ggaa(x6)
[]  =  []
U21_ga(x1, x2, x3, x4, x5)  =  U21_ga(x1, x5)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x5)
qs1_in_aa(x1, x2)  =  qs1_in_aa
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(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_aa(x1, x2)  =  qs1_out_aa
U20_aa(x1, x2, x3, x4, x5)  =  U20_aa(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(x3)
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(x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x1, x6)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U6_ga(x1, x2, x3)  =  U6_ga(x3)
le33_out_ga(x1, x2)  =  le33_out_ga
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x6)
U21_aa(x1, x2, x3, x4, x5)  =  U21_aa(x1, x5)
U22_aa(x1, x2, x3, x4, x5)  =  U22_aa(x5)
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
le33_in_aa(x1, x2)  =  le33_in_aa
U6_aa(x1, x2, x3)  =  U6_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
U26_aa(x1, x2, x3, x4, x5)  =  U26_aa(x5)
U27_aa(x1, x2, x3, x4, x5)  =  U27_aa(x1, x5)
U28_aa(x1, x2, x3, x4, x5)  =  U28_aa(x5)
qs53_in_aa(x1, x2)  =  qs53_in_aa
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
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)
qs53_out_aa(x1, x2)  =  qs53_out_aa
U8_aa(x1, x2, x3, x4)  =  U8_aa(x4)
U9_aa(x1, x2, x3, x4)  =  U9_aa(x4)
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4)  =  U11_aa(x4)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4)  =  U13_aa(x4)
app65_in_aaaa(x1, x2, x3, x4)  =  app65_in_aaaa
U14_aaaa(x1, x2, x3, x4, x5, x6)  =  U14_aaaa(x6)
app65_out_aaaa(x1, x2, x3, x4)  =  app65_out_aaaa
U29_aa(x1, x2, x3, x4, x5, x6)  =  U29_aa(x1, x6)
U30_aa(x1, x2, x3, x4, x5)  =  U30_aa(x5)
p52_in_aaaga(x1, x2, x3, x4, x5)  =  p52_in_aaaga(x4)
U16_aaaga(x1, x2, x3, x4, x5, x6)  =  U16_aaaga(x6)
p52_out_aaaga(x1, x2, x3, x4, x5)  =  p52_out_aaaga
U17_aaaga(x1, x2, x3, x4, x5, x6)  =  U17_aaaga(x4, x6)
U18_aaaga(x1, x2, x3, x4, x5, x6)  =  U18_aaaga(x6)
app54_in_agaa(x1, x2, x3, x4)  =  app54_in_agaa(x2)
U15_agaa(x1, x2, x3, x4, x5, x6)  =  U15_agaa(x6)
app54_out_agaa(x1, x2, x3, x4)  =  app54_out_agaa
U31_aa(x1, x2, x3)  =  U31_aa(x3)
qs99_in_a(x1)  =  qs99_in_a
qs99_out_a(x1)  =  qs99_out_a(x1)
U32_aa(x1, x2, x3)  =  U32_aa(x3)
U33_aa(x1, x2, x3)  =  U33_aa(x3)
U34_aa(x1, x2, x3, x4)  =  U34_aa(x3, x4)
U35_aa(x1, x2, x3)  =  U35_aa(x3)
app54_in_gaga(x1, x2, x3, x4)  =  app54_in_gaga(x1, x3)
U15_gaga(x1, x2, x3, x4, x5, x6)  =  U15_gaga(x6)
app54_out_gaga(x1, x2, x3, x4)  =  app54_out_gaga
U23_aa(x1, x2, x3, x4, x5, x6)  =  U23_aa(x1, x6)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U23_ga(x1, x2, x3, x4, x5, x6)  =  U23_ga(x1, x6)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x5)
U25_ga(x1, x2, x3, x4, x5)  =  U25_ga(x1, x3, x5)
U26_ga(x1, x2, x3, x4, x5)  =  U26_ga(x5)
U27_ga(x1, x2, x3, x4, x5)  =  U27_ga(x1, x5)
U28_ga(x1, x2, x3, x4, x5)  =  U28_ga(x5)
U29_ga(x1, x2, x3, x4, x5, x6)  =  U29_ga(x1, x6)
U30_ga(x1, x2, x3, x4, x5)  =  U30_ga(x5)
U31_ga(x1, x2, x3)  =  U31_ga(x3)
U32_ga(x1, x2, x3)  =  U32_ga(x1, x3)
U33_ga(x1, x2, x3)  =  U33_ga(x3)
U34_ga(x1, x2, x3, x4)  =  U34_ga(x1, x3, x4)
U35_ga(x1, x2, x3)  =  U35_ga(x3)
app54_in_ggga(x1, x2, x3, x4)  =  app54_in_ggga(x1, x2, x3)
U15_ggga(x1, x2, x3, x4, x5, x6)  =  U15_ggga(x1, x6)
app54_out_ggga(x1, x2, x3, x4)  =  app54_out_ggga(x4)
GT10_IN_AA(x1, x2)  =  GT10_IN_AA

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

(214) UsableRulesProof (EQUIVALENT transformation)

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

(215) Obligation:

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

GT10_IN_AA(s(T37), s(T38)) → GT10_IN_AA(T37, T38)

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

(216) PiDPToQDPProof (SOUND transformation)

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

(217) 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.

(218) 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.



(219) NO

(220) Obligation:

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

QS53_IN_AA(.(T131, T132), X275) → U8_AA(T131, T132, X275, part20_in_aaaa(T131, T132, T136, T137))
U8_AA(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → QS53_IN_AA(T136, X273)
U8_AA(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U10_AA(T131, T132, X275, T137, qs53_in_aa(T136, T143))
U10_AA(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → QS53_IN_AA(T137, X274)

The TRS R consists of the following rules:

qs1_in_ga(.(T22, .(T23, T24)), T9) → U19_ga(T22, T23, T24, T9, gt10_in_gg(T22, T23))
gt10_in_gg(s(T37), s(T38)) → U1_gg(T37, T38, gt10_in_gg(T37, T38))
gt10_in_gg(s(0), 0) → gt10_out_gg(s(0), 0)
U1_gg(T37, T38, gt10_out_gg(T37, T38)) → gt10_out_gg(s(T37), s(T38))
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U20_ga(T22, T23, T24, T9, part20_in_ggaa(T22, T24, X47, X48))
part20_in_ggaa(T61, .(T62, T63), .(T62, X119), X120) → U2_ggaa(T61, T62, T63, X119, X120, gt10_in_gg(T61, T62))
U2_ggaa(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → part20_out_ggaa(T61, .(T62, T63), .(T62, X119), X120)
U2_ggaa(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → U3_ggaa(T61, T62, T63, X119, X120, part20_in_ggaa(T61, T63, X119, X120))
part20_in_ggaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_ggaa(T83, T84, T85, X170, X171, le33_in_gg(T83, T84))
le33_in_gg(s(T98), s(T99)) → U6_gg(T98, T99, le33_in_gg(T98, T99))
le33_in_gg(0, s(T106)) → le33_out_gg(0, s(T106))
le33_in_gg(0, 0) → le33_out_gg(0, 0)
U6_gg(T98, T99, le33_out_gg(T98, T99)) → le33_out_gg(s(T98), s(T99))
U4_ggaa(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → part20_out_ggaa(T83, .(T84, T85), X170, .(T84, X171))
U4_ggaa(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → U5_ggaa(T83, T84, T85, X170, X171, part20_in_ggaa(T83, T85, X170, X171))
part20_in_ggaa(T112, [], [], []) → part20_out_ggaa(T112, [], [], [])
U5_ggaa(T83, T84, T85, X170, X171, part20_out_ggaa(T83, T85, X170, X171)) → part20_out_ggaa(T83, .(T84, T85), X170, .(T84, X171))
U3_ggaa(T61, T62, T63, X119, X120, part20_out_ggaa(T61, T63, X119, X120)) → part20_out_ggaa(T61, .(T62, T63), .(T62, X119), X120)
U20_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, X47, X48)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U21_ga(T22, T23, T24, T9, part20_in_ggaa(T22, T24, T44, T45))
U21_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U22_ga(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
qs1_in_aa(.(T22, .(T23, T24)), T9) → U19_aa(T22, T23, T24, T9, gt10_in_aa(T22, T23))
gt10_in_aa(s(T37), s(T38)) → U1_aa(T37, T38, gt10_in_aa(T37, T38))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U1_aa(T37, T38, gt10_out_aa(T37, T38)) → gt10_out_aa(s(T37), s(T38))
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U20_aa(T22, T23, T24, T9, part20_in_gaaa(T22, T24, X47, X48))
part20_in_gaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_gaaa(T61, T62, T63, X119, X120, gt10_in_ga(T61, T62))
gt10_in_ga(s(T37), s(T38)) → U1_ga(T37, T38, gt10_in_ga(T37, T38))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U1_ga(T37, T38, gt10_out_ga(T37, T38)) → gt10_out_ga(s(T37), s(T38))
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → U3_gaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
part20_in_gaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_gaaa(T83, T84, T85, X170, X171, le33_in_ga(T83, T84))
le33_in_ga(s(T98), s(T99)) → U6_ga(T98, T99, le33_in_ga(T98, T99))
le33_in_ga(0, s(T106)) → le33_out_ga(0, s(T106))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U6_ga(T98, T99, le33_out_ga(T98, T99)) → le33_out_ga(s(T98), s(T99))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → U5_gaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
part20_in_gaaa(T112, [], [], []) → part20_out_gaaa(T112, [], [], [])
U5_gaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U3_gaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U20_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, X47, X48)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U21_aa(T22, T23, T24, T9, part20_in_gaaa(T22, T24, T44, T45))
U21_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U22_aa(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
qs1_in_aa(.(T239, .(T240, T241)), T9) → U25_aa(T239, T240, T241, T9, le33_in_aa(T239, T240))
le33_in_aa(s(T98), s(T99)) → U6_aa(T98, T99, le33_in_aa(T98, T99))
le33_in_aa(0, s(T106)) → le33_out_aa(0, s(T106))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U6_aa(T98, T99, le33_out_aa(T98, T99)) → le33_out_aa(s(T98), s(T99))
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U26_aa(T239, T240, T241, T9, part20_in_gaaa(T239, T241, X437, X438))
U26_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, X437, X438)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U27_aa(T239, T240, T241, T9, part20_in_gaaa(T239, T241, T249, T250))
U27_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U28_aa(T239, T240, T241, T9, qs53_in_aa(T249, X9))
qs53_in_aa(.(T131, T132), X275) → U7_aa(T131, T132, X275, part20_in_aaaa(T131, T132, X271, X272))
part20_in_aaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_aaaa(T61, T62, T63, X119, X120, gt10_in_aa(T61, T62))
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → U3_aaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
U3_aaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
part20_in_aaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_aaaa(T83, T84, T85, X170, X171, le33_in_aa(T83, T84))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → U5_aaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
U5_aaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
part20_in_aaaa(T112, [], [], []) → part20_out_aaaa(T112, [], [], [])
U7_aa(T131, T132, X275, part20_out_aaaa(T131, T132, X271, X272)) → qs53_out_aa(.(T131, T132), X275)
qs53_in_aa(.(T131, T132), X275) → U8_aa(T131, T132, X275, part20_in_aaaa(T131, T132, T136, T137))
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U9_aa(T131, T132, X275, qs53_in_aa(T136, X273))
qs53_in_aa([], []) → qs53_out_aa([], [])
U9_aa(T131, T132, X275, qs53_out_aa(T136, X273)) → qs53_out_aa(.(T131, T132), X275)
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U10_aa(T131, T132, X275, T137, qs53_in_aa(T136, T143))
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U11_aa(T131, T132, X275, qs53_in_aa(T137, X274))
U11_aa(T131, T132, X275, qs53_out_aa(T137, X274)) → qs53_out_aa(.(T131, T132), X275)
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U12_aa(T131, T132, X275, T143, qs53_in_aa(T137, T148))
U12_aa(T131, T132, X275, T143, qs53_out_aa(T137, T148)) → U13_aa(T131, T132, X275, app65_in_aaaa(T143, T131, T148, X275))
app65_in_aaaa(.(T171, T172), T173, T174, .(T171, X354)) → U14_aaaa(T171, T172, T173, T174, X354, app65_in_aaaa(T172, T173, T174, X354))
app65_in_aaaa([], T183, T184, .(T183, T184)) → app65_out_aaaa([], T183, T184, .(T183, T184))
U14_aaaa(T171, T172, T173, T174, X354, app65_out_aaaa(T172, T173, T174, X354)) → app65_out_aaaa(.(T171, T172), T173, T174, .(T171, X354))
U13_aa(T131, T132, X275, app65_out_aaaa(T143, T131, T148, X275)) → qs53_out_aa(.(T131, T132), X275)
U28_aa(T239, T240, T241, T9, qs53_out_aa(T249, X9)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U27_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U29_aa(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_aa(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_aa(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
p52_in_aaaga(T45, X10, T115, T22, T9) → U16_aaaga(T45, X10, T115, T22, T9, qs53_in_aa(T45, X10))
U16_aaaga(T45, X10, T115, T22, T9, qs53_out_aa(T45, X10)) → p52_out_aaaga(T45, X10, T115, T22, T9)
p52_in_aaaga(T45, T120, T115, T22, T9) → U17_aaaga(T45, T120, T115, T22, T9, qs53_in_aa(T45, T120))
U17_aaaga(T45, T120, T115, T22, T9, qs53_out_aa(T45, T120)) → U18_aaaga(T45, T120, T115, T22, T9, app54_in_agaa(T115, T22, T120, T9))
app54_in_agaa(.(T210, T211), T212, T213, .(T210, T215)) → U15_agaa(T210, T211, T212, T213, T215, app54_in_agaa(T211, T212, T213, T215))
app54_in_agaa([], T225, T226, .(T225, T226)) → app54_out_agaa([], T225, T226, .(T225, T226))
U15_agaa(T210, T211, T212, T213, T215, app54_out_agaa(T211, T212, T213, T215)) → app54_out_agaa(.(T210, T211), T212, T213, .(T210, T215))
U18_aaaga(T45, T120, T115, T22, T9, app54_out_agaa(T115, T22, T120, T9)) → p52_out_aaaga(T45, T120, T115, T22, T9)
U30_aa(T239, T240, T241, T9, p52_out_aaaga(.(T240, T250), X10, T256, T239, T9)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
qs1_in_aa(.(T265, []), T9) → U31_aa(T265, T9, qs99_in_a(X9))
qs99_in_a([]) → qs99_out_a([])
U31_aa(T265, T9, qs99_out_a(X9)) → qs1_out_aa(.(T265, []), T9)
qs1_in_aa(.(T265, []), T9) → U32_aa(T265, T9, qs99_in_a(T268))
U32_aa(T265, T9, qs99_out_a(T268)) → U33_aa(T265, T9, qs99_in_a(X10))
U33_aa(T265, T9, qs99_out_a(X10)) → qs1_out_aa(.(T265, []), T9)
U32_aa(T265, T9, qs99_out_a(T268)) → U34_aa(T265, T9, T268, qs99_in_a(T273))
U34_aa(T265, T9, T268, qs99_out_a(T273)) → U35_aa(T265, T9, app54_in_gaga(T268, T265, T273, T9))
app54_in_gaga(.(T210, T211), T212, T213, .(T210, T215)) → U15_gaga(T210, T211, T212, T213, T215, app54_in_gaga(T211, T212, T213, T215))
app54_in_gaga([], T225, T226, .(T225, T226)) → app54_out_gaga([], T225, T226, .(T225, T226))
U15_gaga(T210, T211, T212, T213, T215, app54_out_gaga(T211, T212, T213, T215)) → app54_out_gaga(.(T210, T211), T212, T213, .(T210, T215))
U35_aa(T265, T9, app54_out_gaga(T268, T265, T273, T9)) → qs1_out_aa(.(T265, []), T9)
qs1_in_aa([], []) → qs1_out_aa([], [])
U22_aa(T22, T23, T24, T9, qs1_out_aa(.(T23, T44), X9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U21_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U23_aa(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_aa(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_aa(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U24_aa(T22, T23, T24, T9, p52_out_aaaga(T45, X10, T115, T22, T9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U22_ga(T22, T23, T24, T9, qs1_out_aa(.(T23, T44), X9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U21_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U23_ga(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_ga(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_ga(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U24_ga(T22, T23, T24, T9, p52_out_aaaga(T45, X10, T115, T22, T9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
qs1_in_ga(.(T239, .(T240, T241)), T9) → U25_ga(T239, T240, T241, T9, le33_in_gg(T239, T240))
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U26_ga(T239, T240, T241, T9, part20_in_ggaa(T239, T241, X437, X438))
U26_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, X437, X438)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U27_ga(T239, T240, T241, T9, part20_in_ggaa(T239, T241, T249, T250))
U27_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U28_ga(T239, T240, T241, T9, qs53_in_aa(T249, X9))
U28_ga(T239, T240, T241, T9, qs53_out_aa(T249, X9)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U27_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U29_ga(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_ga(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_ga(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
U30_ga(T239, T240, T241, T9, p52_out_aaaga(.(T240, T250), X10, T256, T239, T9)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
qs1_in_ga(.(T265, []), T9) → U31_ga(T265, T9, qs99_in_a(X9))
U31_ga(T265, T9, qs99_out_a(X9)) → qs1_out_ga(.(T265, []), T9)
qs1_in_ga(.(T265, []), T9) → U32_ga(T265, T9, qs99_in_a(T268))
U32_ga(T265, T9, qs99_out_a(T268)) → U33_ga(T265, T9, qs99_in_a(X10))
U33_ga(T265, T9, qs99_out_a(X10)) → qs1_out_ga(.(T265, []), T9)
U32_ga(T265, T9, qs99_out_a(T268)) → U34_ga(T265, T9, T268, qs99_in_a(T273))
U34_ga(T265, T9, T268, qs99_out_a(T273)) → U35_ga(T265, T9, app54_in_ggga(T268, T265, T273, T9))
app54_in_ggga(.(T210, T211), T212, T213, .(T210, T215)) → U15_ggga(T210, T211, T212, T213, T215, app54_in_ggga(T211, T212, T213, T215))
app54_in_ggga([], T225, T226, .(T225, T226)) → app54_out_ggga([], T225, T226, .(T225, T226))
U15_ggga(T210, T211, T212, T213, T215, app54_out_ggga(T211, T212, T213, T215)) → app54_out_ggga(.(T210, T211), T212, T213, .(T210, T215))
U35_ga(T265, T9, app54_out_ggga(T268, T265, T273, T9)) → qs1_out_ga(.(T265, []), T9)
qs1_in_ga([], []) → qs1_out_ga([], [])

The argument filtering Pi contains the following mapping:
qs1_in_ga(x1, x2)  =  qs1_in_ga(x1)
.(x1, x2)  =  .(x1, x2)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x3, x5)
gt10_in_gg(x1, x2)  =  gt10_in_gg(x1, x2)
s(x1)  =  s(x1)
U1_gg(x1, x2, x3)  =  U1_gg(x3)
0  =  0
gt10_out_gg(x1, x2)  =  gt10_out_gg
qs1_out_ga(x1, x2)  =  qs1_out_ga
U20_ga(x1, x2, x3, x4, x5)  =  U20_ga(x5)
part20_in_ggaa(x1, x2, x3, x4)  =  part20_in_ggaa(x1, x2)
U2_ggaa(x1, x2, x3, x4, x5, x6)  =  U2_ggaa(x1, x3, x6)
part20_out_ggaa(x1, x2, x3, x4)  =  part20_out_ggaa
U3_ggaa(x1, x2, x3, x4, x5, x6)  =  U3_ggaa(x6)
U4_ggaa(x1, x2, x3, x4, x5, x6)  =  U4_ggaa(x1, x3, x6)
le33_in_gg(x1, x2)  =  le33_in_gg(x1, x2)
U6_gg(x1, x2, x3)  =  U6_gg(x3)
le33_out_gg(x1, x2)  =  le33_out_gg
U5_ggaa(x1, x2, x3, x4, x5, x6)  =  U5_ggaa(x6)
[]  =  []
U21_ga(x1, x2, x3, x4, x5)  =  U21_ga(x1, x5)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x5)
qs1_in_aa(x1, x2)  =  qs1_in_aa
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(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_aa(x1, x2)  =  qs1_out_aa
U20_aa(x1, x2, x3, x4, x5)  =  U20_aa(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(x3)
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(x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x1, x6)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U6_ga(x1, x2, x3)  =  U6_ga(x3)
le33_out_ga(x1, x2)  =  le33_out_ga
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x6)
U21_aa(x1, x2, x3, x4, x5)  =  U21_aa(x1, x5)
U22_aa(x1, x2, x3, x4, x5)  =  U22_aa(x5)
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
le33_in_aa(x1, x2)  =  le33_in_aa
U6_aa(x1, x2, x3)  =  U6_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
U26_aa(x1, x2, x3, x4, x5)  =  U26_aa(x5)
U27_aa(x1, x2, x3, x4, x5)  =  U27_aa(x1, x5)
U28_aa(x1, x2, x3, x4, x5)  =  U28_aa(x5)
qs53_in_aa(x1, x2)  =  qs53_in_aa
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
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)
qs53_out_aa(x1, x2)  =  qs53_out_aa
U8_aa(x1, x2, x3, x4)  =  U8_aa(x4)
U9_aa(x1, x2, x3, x4)  =  U9_aa(x4)
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4)  =  U11_aa(x4)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4)  =  U13_aa(x4)
app65_in_aaaa(x1, x2, x3, x4)  =  app65_in_aaaa
U14_aaaa(x1, x2, x3, x4, x5, x6)  =  U14_aaaa(x6)
app65_out_aaaa(x1, x2, x3, x4)  =  app65_out_aaaa
U29_aa(x1, x2, x3, x4, x5, x6)  =  U29_aa(x1, x6)
U30_aa(x1, x2, x3, x4, x5)  =  U30_aa(x5)
p52_in_aaaga(x1, x2, x3, x4, x5)  =  p52_in_aaaga(x4)
U16_aaaga(x1, x2, x3, x4, x5, x6)  =  U16_aaaga(x6)
p52_out_aaaga(x1, x2, x3, x4, x5)  =  p52_out_aaaga
U17_aaaga(x1, x2, x3, x4, x5, x6)  =  U17_aaaga(x4, x6)
U18_aaaga(x1, x2, x3, x4, x5, x6)  =  U18_aaaga(x6)
app54_in_agaa(x1, x2, x3, x4)  =  app54_in_agaa(x2)
U15_agaa(x1, x2, x3, x4, x5, x6)  =  U15_agaa(x6)
app54_out_agaa(x1, x2, x3, x4)  =  app54_out_agaa
U31_aa(x1, x2, x3)  =  U31_aa(x3)
qs99_in_a(x1)  =  qs99_in_a
qs99_out_a(x1)  =  qs99_out_a(x1)
U32_aa(x1, x2, x3)  =  U32_aa(x3)
U33_aa(x1, x2, x3)  =  U33_aa(x3)
U34_aa(x1, x2, x3, x4)  =  U34_aa(x3, x4)
U35_aa(x1, x2, x3)  =  U35_aa(x3)
app54_in_gaga(x1, x2, x3, x4)  =  app54_in_gaga(x1, x3)
U15_gaga(x1, x2, x3, x4, x5, x6)  =  U15_gaga(x6)
app54_out_gaga(x1, x2, x3, x4)  =  app54_out_gaga
U23_aa(x1, x2, x3, x4, x5, x6)  =  U23_aa(x1, x6)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U23_ga(x1, x2, x3, x4, x5, x6)  =  U23_ga(x1, x6)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x5)
U25_ga(x1, x2, x3, x4, x5)  =  U25_ga(x1, x3, x5)
U26_ga(x1, x2, x3, x4, x5)  =  U26_ga(x5)
U27_ga(x1, x2, x3, x4, x5)  =  U27_ga(x1, x5)
U28_ga(x1, x2, x3, x4, x5)  =  U28_ga(x5)
U29_ga(x1, x2, x3, x4, x5, x6)  =  U29_ga(x1, x6)
U30_ga(x1, x2, x3, x4, x5)  =  U30_ga(x5)
U31_ga(x1, x2, x3)  =  U31_ga(x3)
U32_ga(x1, x2, x3)  =  U32_ga(x1, x3)
U33_ga(x1, x2, x3)  =  U33_ga(x3)
U34_ga(x1, x2, x3, x4)  =  U34_ga(x1, x3, x4)
U35_ga(x1, x2, x3)  =  U35_ga(x3)
app54_in_ggga(x1, x2, x3, x4)  =  app54_in_ggga(x1, x2, x3)
U15_ggga(x1, x2, x3, x4, x5, x6)  =  U15_ggga(x1, x6)
app54_out_ggga(x1, x2, x3, x4)  =  app54_out_ggga(x4)
QS53_IN_AA(x1, x2)  =  QS53_IN_AA
U8_AA(x1, x2, x3, x4)  =  U8_AA(x4)
U10_AA(x1, x2, x3, x4, x5)  =  U10_AA(x5)

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

(221) UsableRulesProof (EQUIVALENT transformation)

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

(222) Obligation:

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

QS53_IN_AA(.(T131, T132), X275) → U8_AA(T131, T132, X275, part20_in_aaaa(T131, T132, T136, T137))
U8_AA(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → QS53_IN_AA(T136, X273)
U8_AA(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U10_AA(T131, T132, X275, T137, qs53_in_aa(T136, T143))
U10_AA(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → QS53_IN_AA(T137, X274)

The TRS R consists of the following rules:

part20_in_aaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_aaaa(T61, T62, T63, X119, X120, gt10_in_aa(T61, T62))
part20_in_aaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_aaaa(T83, T84, T85, X170, X171, le33_in_aa(T83, T84))
part20_in_aaaa(T112, [], [], []) → part20_out_aaaa(T112, [], [], [])
qs53_in_aa(.(T131, T132), X275) → U7_aa(T131, T132, X275, part20_in_aaaa(T131, T132, X271, X272))
qs53_in_aa(.(T131, T132), X275) → U8_aa(T131, T132, X275, part20_in_aaaa(T131, T132, T136, T137))
qs53_in_aa([], []) → qs53_out_aa([], [])
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → U3_aaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → U5_aaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
U7_aa(T131, T132, X275, part20_out_aaaa(T131, T132, X271, X272)) → qs53_out_aa(.(T131, T132), X275)
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U9_aa(T131, T132, X275, qs53_in_aa(T136, X273))
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U10_aa(T131, T132, X275, T137, qs53_in_aa(T136, T143))
gt10_in_aa(s(T37), s(T38)) → U1_aa(T37, T38, gt10_in_aa(T37, T38))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U3_aaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
le33_in_aa(s(T98), s(T99)) → U6_aa(T98, T99, le33_in_aa(T98, T99))
le33_in_aa(0, s(T106)) → le33_out_aa(0, s(T106))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U5_aaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
U9_aa(T131, T132, X275, qs53_out_aa(T136, X273)) → qs53_out_aa(.(T131, T132), X275)
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U11_aa(T131, T132, X275, qs53_in_aa(T137, X274))
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U12_aa(T131, T132, X275, T143, qs53_in_aa(T137, T148))
U1_aa(T37, T38, gt10_out_aa(T37, T38)) → gt10_out_aa(s(T37), s(T38))
part20_in_gaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_gaaa(T61, T62, T63, X119, X120, gt10_in_ga(T61, T62))
part20_in_gaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_gaaa(T83, T84, T85, X170, X171, le33_in_ga(T83, T84))
part20_in_gaaa(T112, [], [], []) → part20_out_gaaa(T112, [], [], [])
U6_aa(T98, T99, le33_out_aa(T98, T99)) → le33_out_aa(s(T98), s(T99))
U11_aa(T131, T132, X275, qs53_out_aa(T137, X274)) → qs53_out_aa(.(T131, T132), X275)
U12_aa(T131, T132, X275, T143, qs53_out_aa(T137, T148)) → U13_aa(T131, T132, X275, app65_in_aaaa(T143, T131, T148, X275))
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → U3_gaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → U5_gaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
U13_aa(T131, T132, X275, app65_out_aaaa(T143, T131, T148, X275)) → qs53_out_aa(.(T131, T132), X275)
gt10_in_ga(s(T37), s(T38)) → U1_ga(T37, T38, gt10_in_ga(T37, T38))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U3_gaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
le33_in_ga(s(T98), s(T99)) → U6_ga(T98, T99, le33_in_ga(T98, T99))
le33_in_ga(0, s(T106)) → le33_out_ga(0, s(T106))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U5_gaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
app65_in_aaaa(.(T171, T172), T173, T174, .(T171, X354)) → U14_aaaa(T171, T172, T173, T174, X354, app65_in_aaaa(T172, T173, T174, X354))
app65_in_aaaa([], T183, T184, .(T183, T184)) → app65_out_aaaa([], T183, T184, .(T183, T184))
U1_ga(T37, T38, gt10_out_ga(T37, T38)) → gt10_out_ga(s(T37), s(T38))
U6_ga(T98, T99, le33_out_ga(T98, T99)) → le33_out_ga(s(T98), s(T99))
U14_aaaa(T171, T172, T173, T174, X354, app65_out_aaaa(T172, T173, T174, X354)) → app65_out_aaaa(.(T171, T172), T173, T174, .(T171, X354))

The argument filtering Pi contains the following mapping:
.(x1, x2)  =  .(x1, x2)
s(x1)  =  s(x1)
0  =  0
[]  =  []
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)
U1_ga(x1, x2, x3)  =  U1_ga(x3)
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(x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x1, x6)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U6_ga(x1, x2, x3)  =  U6_ga(x3)
le33_out_ga(x1, x2)  =  le33_out_ga
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x6)
le33_in_aa(x1, x2)  =  le33_in_aa
U6_aa(x1, x2, x3)  =  U6_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
qs53_in_aa(x1, x2)  =  qs53_in_aa
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
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)
qs53_out_aa(x1, x2)  =  qs53_out_aa
U8_aa(x1, x2, x3, x4)  =  U8_aa(x4)
U9_aa(x1, x2, x3, x4)  =  U9_aa(x4)
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4)  =  U11_aa(x4)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4)  =  U13_aa(x4)
app65_in_aaaa(x1, x2, x3, x4)  =  app65_in_aaaa
U14_aaaa(x1, x2, x3, x4, x5, x6)  =  U14_aaaa(x6)
app65_out_aaaa(x1, x2, x3, x4)  =  app65_out_aaaa
QS53_IN_AA(x1, x2)  =  QS53_IN_AA
U8_AA(x1, x2, x3, x4)  =  U8_AA(x4)
U10_AA(x1, x2, x3, x4, x5)  =  U10_AA(x5)

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

(223) PiDPToQDPProof (SOUND transformation)

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

(224) Obligation:

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

QS53_IN_AAU8_AA(part20_in_aaaa)
U8_AA(part20_out_aaaa) → QS53_IN_AA
U8_AA(part20_out_aaaa) → U10_AA(qs53_in_aa)
U10_AA(qs53_out_aa) → QS53_IN_AA

The TRS R consists of the following rules:

part20_in_aaaaU2_aaaa(gt10_in_aa)
part20_in_aaaaU4_aaaa(le33_in_aa)
part20_in_aaaapart20_out_aaaa
qs53_in_aaU7_aa(part20_in_aaaa)
qs53_in_aaU8_aa(part20_in_aaaa)
qs53_in_aaqs53_out_aa
U2_aaaa(gt10_out_aa(T61, T62)) → part20_out_aaaa
U2_aaaa(gt10_out_aa(T61, T62)) → U3_aaaa(part20_in_gaaa(T61))
U4_aaaa(le33_out_aa(T83)) → part20_out_aaaa
U4_aaaa(le33_out_aa(T83)) → U5_aaaa(part20_in_gaaa(T83))
U7_aa(part20_out_aaaa) → qs53_out_aa
U8_aa(part20_out_aaaa) → U9_aa(qs53_in_aa)
U8_aa(part20_out_aaaa) → U10_aa(qs53_in_aa)
gt10_in_aaU1_aa(gt10_in_aa)
gt10_in_aagt10_out_aa(s(0), 0)
U3_aaaa(part20_out_gaaa) → part20_out_aaaa
le33_in_aaU6_aa(le33_in_aa)
le33_in_aale33_out_aa(0)
U5_aaaa(part20_out_gaaa) → part20_out_aaaa
U9_aa(qs53_out_aa) → qs53_out_aa
U10_aa(qs53_out_aa) → U11_aa(qs53_in_aa)
U10_aa(qs53_out_aa) → U12_aa(qs53_in_aa)
U1_aa(gt10_out_aa(T37, T38)) → gt10_out_aa(s(T37), s(T38))
part20_in_gaaa(T61) → U2_gaaa(T61, gt10_in_ga(T61))
part20_in_gaaa(T83) → U4_gaaa(T83, le33_in_ga(T83))
part20_in_gaaa(T112) → part20_out_gaaa
U6_aa(le33_out_aa(T98)) → le33_out_aa(s(T98))
U11_aa(qs53_out_aa) → qs53_out_aa
U12_aa(qs53_out_aa) → U13_aa(app65_in_aaaa)
U2_gaaa(T61, gt10_out_ga(T62)) → part20_out_gaaa
U2_gaaa(T61, gt10_out_ga(T62)) → U3_gaaa(part20_in_gaaa(T61))
U4_gaaa(T83, le33_out_ga) → part20_out_gaaa
U4_gaaa(T83, le33_out_ga) → U5_gaaa(part20_in_gaaa(T83))
U13_aa(app65_out_aaaa) → qs53_out_aa
gt10_in_ga(s(T37)) → U1_ga(gt10_in_ga(T37))
gt10_in_ga(s(0)) → gt10_out_ga(0)
U3_gaaa(part20_out_gaaa) → part20_out_gaaa
le33_in_ga(s(T98)) → U6_ga(le33_in_ga(T98))
le33_in_ga(0) → le33_out_ga
U5_gaaa(part20_out_gaaa) → part20_out_gaaa
app65_in_aaaaU14_aaaa(app65_in_aaaa)
app65_in_aaaaapp65_out_aaaa
U1_ga(gt10_out_ga(T38)) → gt10_out_ga(s(T38))
U6_ga(le33_out_ga) → le33_out_ga
U14_aaaa(app65_out_aaaa) → app65_out_aaaa

The set Q consists of the following terms:

part20_in_aaaa
qs53_in_aa
U2_aaaa(x0)
U4_aaaa(x0)
U7_aa(x0)
U8_aa(x0)
gt10_in_aa
U3_aaaa(x0)
le33_in_aa
U5_aaaa(x0)
U9_aa(x0)
U10_aa(x0)
U1_aa(x0)
part20_in_gaaa(x0)
U6_aa(x0)
U11_aa(x0)
U12_aa(x0)
U2_gaaa(x0, x1)
U4_gaaa(x0, x1)
U13_aa(x0)
gt10_in_ga(x0)
U3_gaaa(x0)
le33_in_ga(x0)
U5_gaaa(x0)
app65_in_aaaa
U1_ga(x0)
U6_ga(x0)
U14_aaaa(x0)

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

(225) Narrowing (SOUND transformation)

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

QS53_IN_AAU8_AA(U2_aaaa(gt10_in_aa))
QS53_IN_AAU8_AA(U4_aaaa(le33_in_aa))
QS53_IN_AAU8_AA(part20_out_aaaa)

(226) Obligation:

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

U8_AA(part20_out_aaaa) → QS53_IN_AA
U8_AA(part20_out_aaaa) → U10_AA(qs53_in_aa)
U10_AA(qs53_out_aa) → QS53_IN_AA
QS53_IN_AAU8_AA(U2_aaaa(gt10_in_aa))
QS53_IN_AAU8_AA(U4_aaaa(le33_in_aa))
QS53_IN_AAU8_AA(part20_out_aaaa)

The TRS R consists of the following rules:

part20_in_aaaaU2_aaaa(gt10_in_aa)
part20_in_aaaaU4_aaaa(le33_in_aa)
part20_in_aaaapart20_out_aaaa
qs53_in_aaU7_aa(part20_in_aaaa)
qs53_in_aaU8_aa(part20_in_aaaa)
qs53_in_aaqs53_out_aa
U2_aaaa(gt10_out_aa(T61, T62)) → part20_out_aaaa
U2_aaaa(gt10_out_aa(T61, T62)) → U3_aaaa(part20_in_gaaa(T61))
U4_aaaa(le33_out_aa(T83)) → part20_out_aaaa
U4_aaaa(le33_out_aa(T83)) → U5_aaaa(part20_in_gaaa(T83))
U7_aa(part20_out_aaaa) → qs53_out_aa
U8_aa(part20_out_aaaa) → U9_aa(qs53_in_aa)
U8_aa(part20_out_aaaa) → U10_aa(qs53_in_aa)
gt10_in_aaU1_aa(gt10_in_aa)
gt10_in_aagt10_out_aa(s(0), 0)
U3_aaaa(part20_out_gaaa) → part20_out_aaaa
le33_in_aaU6_aa(le33_in_aa)
le33_in_aale33_out_aa(0)
U5_aaaa(part20_out_gaaa) → part20_out_aaaa
U9_aa(qs53_out_aa) → qs53_out_aa
U10_aa(qs53_out_aa) → U11_aa(qs53_in_aa)
U10_aa(qs53_out_aa) → U12_aa(qs53_in_aa)
U1_aa(gt10_out_aa(T37, T38)) → gt10_out_aa(s(T37), s(T38))
part20_in_gaaa(T61) → U2_gaaa(T61, gt10_in_ga(T61))
part20_in_gaaa(T83) → U4_gaaa(T83, le33_in_ga(T83))
part20_in_gaaa(T112) → part20_out_gaaa
U6_aa(le33_out_aa(T98)) → le33_out_aa(s(T98))
U11_aa(qs53_out_aa) → qs53_out_aa
U12_aa(qs53_out_aa) → U13_aa(app65_in_aaaa)
U2_gaaa(T61, gt10_out_ga(T62)) → part20_out_gaaa
U2_gaaa(T61, gt10_out_ga(T62)) → U3_gaaa(part20_in_gaaa(T61))
U4_gaaa(T83, le33_out_ga) → part20_out_gaaa
U4_gaaa(T83, le33_out_ga) → U5_gaaa(part20_in_gaaa(T83))
U13_aa(app65_out_aaaa) → qs53_out_aa
gt10_in_ga(s(T37)) → U1_ga(gt10_in_ga(T37))
gt10_in_ga(s(0)) → gt10_out_ga(0)
U3_gaaa(part20_out_gaaa) → part20_out_gaaa
le33_in_ga(s(T98)) → U6_ga(le33_in_ga(T98))
le33_in_ga(0) → le33_out_ga
U5_gaaa(part20_out_gaaa) → part20_out_gaaa
app65_in_aaaaU14_aaaa(app65_in_aaaa)
app65_in_aaaaapp65_out_aaaa
U1_ga(gt10_out_ga(T38)) → gt10_out_ga(s(T38))
U6_ga(le33_out_ga) → le33_out_ga
U14_aaaa(app65_out_aaaa) → app65_out_aaaa

The set Q consists of the following terms:

part20_in_aaaa
qs53_in_aa
U2_aaaa(x0)
U4_aaaa(x0)
U7_aa(x0)
U8_aa(x0)
gt10_in_aa
U3_aaaa(x0)
le33_in_aa
U5_aaaa(x0)
U9_aa(x0)
U10_aa(x0)
U1_aa(x0)
part20_in_gaaa(x0)
U6_aa(x0)
U11_aa(x0)
U12_aa(x0)
U2_gaaa(x0, x1)
U4_gaaa(x0, x1)
U13_aa(x0)
gt10_in_ga(x0)
U3_gaaa(x0)
le33_in_ga(x0)
U5_gaaa(x0)
app65_in_aaaa
U1_ga(x0)
U6_ga(x0)
U14_aaaa(x0)

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

(227) Narrowing (SOUND transformation)

By narrowing [LPAR04] the rule U8_AA(part20_out_aaaa) → U10_AA(qs53_in_aa) at position [0] we obtained the following new rules [LPAR04]:

U8_AA(part20_out_aaaa) → U10_AA(U7_aa(part20_in_aaaa))
U8_AA(part20_out_aaaa) → U10_AA(U8_aa(part20_in_aaaa))
U8_AA(part20_out_aaaa) → U10_AA(qs53_out_aa)

(228) Obligation:

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

U8_AA(part20_out_aaaa) → QS53_IN_AA
U10_AA(qs53_out_aa) → QS53_IN_AA
QS53_IN_AAU8_AA(U2_aaaa(gt10_in_aa))
QS53_IN_AAU8_AA(U4_aaaa(le33_in_aa))
QS53_IN_AAU8_AA(part20_out_aaaa)
U8_AA(part20_out_aaaa) → U10_AA(U7_aa(part20_in_aaaa))
U8_AA(part20_out_aaaa) → U10_AA(U8_aa(part20_in_aaaa))
U8_AA(part20_out_aaaa) → U10_AA(qs53_out_aa)

The TRS R consists of the following rules:

part20_in_aaaaU2_aaaa(gt10_in_aa)
part20_in_aaaaU4_aaaa(le33_in_aa)
part20_in_aaaapart20_out_aaaa
qs53_in_aaU7_aa(part20_in_aaaa)
qs53_in_aaU8_aa(part20_in_aaaa)
qs53_in_aaqs53_out_aa
U2_aaaa(gt10_out_aa(T61, T62)) → part20_out_aaaa
U2_aaaa(gt10_out_aa(T61, T62)) → U3_aaaa(part20_in_gaaa(T61))
U4_aaaa(le33_out_aa(T83)) → part20_out_aaaa
U4_aaaa(le33_out_aa(T83)) → U5_aaaa(part20_in_gaaa(T83))
U7_aa(part20_out_aaaa) → qs53_out_aa
U8_aa(part20_out_aaaa) → U9_aa(qs53_in_aa)
U8_aa(part20_out_aaaa) → U10_aa(qs53_in_aa)
gt10_in_aaU1_aa(gt10_in_aa)
gt10_in_aagt10_out_aa(s(0), 0)
U3_aaaa(part20_out_gaaa) → part20_out_aaaa
le33_in_aaU6_aa(le33_in_aa)
le33_in_aale33_out_aa(0)
U5_aaaa(part20_out_gaaa) → part20_out_aaaa
U9_aa(qs53_out_aa) → qs53_out_aa
U10_aa(qs53_out_aa) → U11_aa(qs53_in_aa)
U10_aa(qs53_out_aa) → U12_aa(qs53_in_aa)
U1_aa(gt10_out_aa(T37, T38)) → gt10_out_aa(s(T37), s(T38))
part20_in_gaaa(T61) → U2_gaaa(T61, gt10_in_ga(T61))
part20_in_gaaa(T83) → U4_gaaa(T83, le33_in_ga(T83))
part20_in_gaaa(T112) → part20_out_gaaa
U6_aa(le33_out_aa(T98)) → le33_out_aa(s(T98))
U11_aa(qs53_out_aa) → qs53_out_aa
U12_aa(qs53_out_aa) → U13_aa(app65_in_aaaa)
U2_gaaa(T61, gt10_out_ga(T62)) → part20_out_gaaa
U2_gaaa(T61, gt10_out_ga(T62)) → U3_gaaa(part20_in_gaaa(T61))
U4_gaaa(T83, le33_out_ga) → part20_out_gaaa
U4_gaaa(T83, le33_out_ga) → U5_gaaa(part20_in_gaaa(T83))
U13_aa(app65_out_aaaa) → qs53_out_aa
gt10_in_ga(s(T37)) → U1_ga(gt10_in_ga(T37))
gt10_in_ga(s(0)) → gt10_out_ga(0)
U3_gaaa(part20_out_gaaa) → part20_out_gaaa
le33_in_ga(s(T98)) → U6_ga(le33_in_ga(T98))
le33_in_ga(0) → le33_out_ga
U5_gaaa(part20_out_gaaa) → part20_out_gaaa
app65_in_aaaaU14_aaaa(app65_in_aaaa)
app65_in_aaaaapp65_out_aaaa
U1_ga(gt10_out_ga(T38)) → gt10_out_ga(s(T38))
U6_ga(le33_out_ga) → le33_out_ga
U14_aaaa(app65_out_aaaa) → app65_out_aaaa

The set Q consists of the following terms:

part20_in_aaaa
qs53_in_aa
U2_aaaa(x0)
U4_aaaa(x0)
U7_aa(x0)
U8_aa(x0)
gt10_in_aa
U3_aaaa(x0)
le33_in_aa
U5_aaaa(x0)
U9_aa(x0)
U10_aa(x0)
U1_aa(x0)
part20_in_gaaa(x0)
U6_aa(x0)
U11_aa(x0)
U12_aa(x0)
U2_gaaa(x0, x1)
U4_gaaa(x0, x1)
U13_aa(x0)
gt10_in_ga(x0)
U3_gaaa(x0)
le33_in_ga(x0)
U5_gaaa(x0)
app65_in_aaaa
U1_ga(x0)
U6_ga(x0)
U14_aaaa(x0)

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

(229) 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 = QS53_IN_AA evaluates to t =QS53_IN_AA

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




Rewriting sequence

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

U8_AA(part20_out_aaaa)QS53_IN_AA
with rule U8_AA(part20_out_aaaa) → QS53_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.



(230) NO

(231) Obligation:

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

U19_AA(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U21_AA(T22, T23, T24, T9, part20_in_gaaa(T22, T24, T44, T45))
U21_AA(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → QS1_IN_AA(.(T23, T44), X9)
QS1_IN_AA(.(T22, .(T23, T24)), T9) → U19_AA(T22, T23, T24, T9, gt10_in_aa(T22, T23))

The TRS R consists of the following rules:

qs1_in_ga(.(T22, .(T23, T24)), T9) → U19_ga(T22, T23, T24, T9, gt10_in_gg(T22, T23))
gt10_in_gg(s(T37), s(T38)) → U1_gg(T37, T38, gt10_in_gg(T37, T38))
gt10_in_gg(s(0), 0) → gt10_out_gg(s(0), 0)
U1_gg(T37, T38, gt10_out_gg(T37, T38)) → gt10_out_gg(s(T37), s(T38))
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U20_ga(T22, T23, T24, T9, part20_in_ggaa(T22, T24, X47, X48))
part20_in_ggaa(T61, .(T62, T63), .(T62, X119), X120) → U2_ggaa(T61, T62, T63, X119, X120, gt10_in_gg(T61, T62))
U2_ggaa(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → part20_out_ggaa(T61, .(T62, T63), .(T62, X119), X120)
U2_ggaa(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → U3_ggaa(T61, T62, T63, X119, X120, part20_in_ggaa(T61, T63, X119, X120))
part20_in_ggaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_ggaa(T83, T84, T85, X170, X171, le33_in_gg(T83, T84))
le33_in_gg(s(T98), s(T99)) → U6_gg(T98, T99, le33_in_gg(T98, T99))
le33_in_gg(0, s(T106)) → le33_out_gg(0, s(T106))
le33_in_gg(0, 0) → le33_out_gg(0, 0)
U6_gg(T98, T99, le33_out_gg(T98, T99)) → le33_out_gg(s(T98), s(T99))
U4_ggaa(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → part20_out_ggaa(T83, .(T84, T85), X170, .(T84, X171))
U4_ggaa(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → U5_ggaa(T83, T84, T85, X170, X171, part20_in_ggaa(T83, T85, X170, X171))
part20_in_ggaa(T112, [], [], []) → part20_out_ggaa(T112, [], [], [])
U5_ggaa(T83, T84, T85, X170, X171, part20_out_ggaa(T83, T85, X170, X171)) → part20_out_ggaa(T83, .(T84, T85), X170, .(T84, X171))
U3_ggaa(T61, T62, T63, X119, X120, part20_out_ggaa(T61, T63, X119, X120)) → part20_out_ggaa(T61, .(T62, T63), .(T62, X119), X120)
U20_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, X47, X48)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U21_ga(T22, T23, T24, T9, part20_in_ggaa(T22, T24, T44, T45))
U21_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U22_ga(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
qs1_in_aa(.(T22, .(T23, T24)), T9) → U19_aa(T22, T23, T24, T9, gt10_in_aa(T22, T23))
gt10_in_aa(s(T37), s(T38)) → U1_aa(T37, T38, gt10_in_aa(T37, T38))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U1_aa(T37, T38, gt10_out_aa(T37, T38)) → gt10_out_aa(s(T37), s(T38))
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U20_aa(T22, T23, T24, T9, part20_in_gaaa(T22, T24, X47, X48))
part20_in_gaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_gaaa(T61, T62, T63, X119, X120, gt10_in_ga(T61, T62))
gt10_in_ga(s(T37), s(T38)) → U1_ga(T37, T38, gt10_in_ga(T37, T38))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U1_ga(T37, T38, gt10_out_ga(T37, T38)) → gt10_out_ga(s(T37), s(T38))
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → U3_gaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
part20_in_gaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_gaaa(T83, T84, T85, X170, X171, le33_in_ga(T83, T84))
le33_in_ga(s(T98), s(T99)) → U6_ga(T98, T99, le33_in_ga(T98, T99))
le33_in_ga(0, s(T106)) → le33_out_ga(0, s(T106))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U6_ga(T98, T99, le33_out_ga(T98, T99)) → le33_out_ga(s(T98), s(T99))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → U5_gaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
part20_in_gaaa(T112, [], [], []) → part20_out_gaaa(T112, [], [], [])
U5_gaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U3_gaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U20_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, X47, X48)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U21_aa(T22, T23, T24, T9, part20_in_gaaa(T22, T24, T44, T45))
U21_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U22_aa(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
qs1_in_aa(.(T239, .(T240, T241)), T9) → U25_aa(T239, T240, T241, T9, le33_in_aa(T239, T240))
le33_in_aa(s(T98), s(T99)) → U6_aa(T98, T99, le33_in_aa(T98, T99))
le33_in_aa(0, s(T106)) → le33_out_aa(0, s(T106))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U6_aa(T98, T99, le33_out_aa(T98, T99)) → le33_out_aa(s(T98), s(T99))
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U26_aa(T239, T240, T241, T9, part20_in_gaaa(T239, T241, X437, X438))
U26_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, X437, X438)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U27_aa(T239, T240, T241, T9, part20_in_gaaa(T239, T241, T249, T250))
U27_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U28_aa(T239, T240, T241, T9, qs53_in_aa(T249, X9))
qs53_in_aa(.(T131, T132), X275) → U7_aa(T131, T132, X275, part20_in_aaaa(T131, T132, X271, X272))
part20_in_aaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_aaaa(T61, T62, T63, X119, X120, gt10_in_aa(T61, T62))
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → U3_aaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
U3_aaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
part20_in_aaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_aaaa(T83, T84, T85, X170, X171, le33_in_aa(T83, T84))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → U5_aaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
U5_aaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
part20_in_aaaa(T112, [], [], []) → part20_out_aaaa(T112, [], [], [])
U7_aa(T131, T132, X275, part20_out_aaaa(T131, T132, X271, X272)) → qs53_out_aa(.(T131, T132), X275)
qs53_in_aa(.(T131, T132), X275) → U8_aa(T131, T132, X275, part20_in_aaaa(T131, T132, T136, T137))
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U9_aa(T131, T132, X275, qs53_in_aa(T136, X273))
qs53_in_aa([], []) → qs53_out_aa([], [])
U9_aa(T131, T132, X275, qs53_out_aa(T136, X273)) → qs53_out_aa(.(T131, T132), X275)
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U10_aa(T131, T132, X275, T137, qs53_in_aa(T136, T143))
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U11_aa(T131, T132, X275, qs53_in_aa(T137, X274))
U11_aa(T131, T132, X275, qs53_out_aa(T137, X274)) → qs53_out_aa(.(T131, T132), X275)
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U12_aa(T131, T132, X275, T143, qs53_in_aa(T137, T148))
U12_aa(T131, T132, X275, T143, qs53_out_aa(T137, T148)) → U13_aa(T131, T132, X275, app65_in_aaaa(T143, T131, T148, X275))
app65_in_aaaa(.(T171, T172), T173, T174, .(T171, X354)) → U14_aaaa(T171, T172, T173, T174, X354, app65_in_aaaa(T172, T173, T174, X354))
app65_in_aaaa([], T183, T184, .(T183, T184)) → app65_out_aaaa([], T183, T184, .(T183, T184))
U14_aaaa(T171, T172, T173, T174, X354, app65_out_aaaa(T172, T173, T174, X354)) → app65_out_aaaa(.(T171, T172), T173, T174, .(T171, X354))
U13_aa(T131, T132, X275, app65_out_aaaa(T143, T131, T148, X275)) → qs53_out_aa(.(T131, T132), X275)
U28_aa(T239, T240, T241, T9, qs53_out_aa(T249, X9)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U27_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U29_aa(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_aa(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_aa(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
p52_in_aaaga(T45, X10, T115, T22, T9) → U16_aaaga(T45, X10, T115, T22, T9, qs53_in_aa(T45, X10))
U16_aaaga(T45, X10, T115, T22, T9, qs53_out_aa(T45, X10)) → p52_out_aaaga(T45, X10, T115, T22, T9)
p52_in_aaaga(T45, T120, T115, T22, T9) → U17_aaaga(T45, T120, T115, T22, T9, qs53_in_aa(T45, T120))
U17_aaaga(T45, T120, T115, T22, T9, qs53_out_aa(T45, T120)) → U18_aaaga(T45, T120, T115, T22, T9, app54_in_agaa(T115, T22, T120, T9))
app54_in_agaa(.(T210, T211), T212, T213, .(T210, T215)) → U15_agaa(T210, T211, T212, T213, T215, app54_in_agaa(T211, T212, T213, T215))
app54_in_agaa([], T225, T226, .(T225, T226)) → app54_out_agaa([], T225, T226, .(T225, T226))
U15_agaa(T210, T211, T212, T213, T215, app54_out_agaa(T211, T212, T213, T215)) → app54_out_agaa(.(T210, T211), T212, T213, .(T210, T215))
U18_aaaga(T45, T120, T115, T22, T9, app54_out_agaa(T115, T22, T120, T9)) → p52_out_aaaga(T45, T120, T115, T22, T9)
U30_aa(T239, T240, T241, T9, p52_out_aaaga(.(T240, T250), X10, T256, T239, T9)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
qs1_in_aa(.(T265, []), T9) → U31_aa(T265, T9, qs99_in_a(X9))
qs99_in_a([]) → qs99_out_a([])
U31_aa(T265, T9, qs99_out_a(X9)) → qs1_out_aa(.(T265, []), T9)
qs1_in_aa(.(T265, []), T9) → U32_aa(T265, T9, qs99_in_a(T268))
U32_aa(T265, T9, qs99_out_a(T268)) → U33_aa(T265, T9, qs99_in_a(X10))
U33_aa(T265, T9, qs99_out_a(X10)) → qs1_out_aa(.(T265, []), T9)
U32_aa(T265, T9, qs99_out_a(T268)) → U34_aa(T265, T9, T268, qs99_in_a(T273))
U34_aa(T265, T9, T268, qs99_out_a(T273)) → U35_aa(T265, T9, app54_in_gaga(T268, T265, T273, T9))
app54_in_gaga(.(T210, T211), T212, T213, .(T210, T215)) → U15_gaga(T210, T211, T212, T213, T215, app54_in_gaga(T211, T212, T213, T215))
app54_in_gaga([], T225, T226, .(T225, T226)) → app54_out_gaga([], T225, T226, .(T225, T226))
U15_gaga(T210, T211, T212, T213, T215, app54_out_gaga(T211, T212, T213, T215)) → app54_out_gaga(.(T210, T211), T212, T213, .(T210, T215))
U35_aa(T265, T9, app54_out_gaga(T268, T265, T273, T9)) → qs1_out_aa(.(T265, []), T9)
qs1_in_aa([], []) → qs1_out_aa([], [])
U22_aa(T22, T23, T24, T9, qs1_out_aa(.(T23, T44), X9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U21_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U23_aa(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_aa(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_aa(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U24_aa(T22, T23, T24, T9, p52_out_aaaga(T45, X10, T115, T22, T9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U22_ga(T22, T23, T24, T9, qs1_out_aa(.(T23, T44), X9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U21_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U23_ga(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_ga(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_ga(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U24_ga(T22, T23, T24, T9, p52_out_aaaga(T45, X10, T115, T22, T9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
qs1_in_ga(.(T239, .(T240, T241)), T9) → U25_ga(T239, T240, T241, T9, le33_in_gg(T239, T240))
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U26_ga(T239, T240, T241, T9, part20_in_ggaa(T239, T241, X437, X438))
U26_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, X437, X438)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U27_ga(T239, T240, T241, T9, part20_in_ggaa(T239, T241, T249, T250))
U27_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U28_ga(T239, T240, T241, T9, qs53_in_aa(T249, X9))
U28_ga(T239, T240, T241, T9, qs53_out_aa(T249, X9)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U27_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U29_ga(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_ga(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_ga(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
U30_ga(T239, T240, T241, T9, p52_out_aaaga(.(T240, T250), X10, T256, T239, T9)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
qs1_in_ga(.(T265, []), T9) → U31_ga(T265, T9, qs99_in_a(X9))
U31_ga(T265, T9, qs99_out_a(X9)) → qs1_out_ga(.(T265, []), T9)
qs1_in_ga(.(T265, []), T9) → U32_ga(T265, T9, qs99_in_a(T268))
U32_ga(T265, T9, qs99_out_a(T268)) → U33_ga(T265, T9, qs99_in_a(X10))
U33_ga(T265, T9, qs99_out_a(X10)) → qs1_out_ga(.(T265, []), T9)
U32_ga(T265, T9, qs99_out_a(T268)) → U34_ga(T265, T9, T268, qs99_in_a(T273))
U34_ga(T265, T9, T268, qs99_out_a(T273)) → U35_ga(T265, T9, app54_in_ggga(T268, T265, T273, T9))
app54_in_ggga(.(T210, T211), T212, T213, .(T210, T215)) → U15_ggga(T210, T211, T212, T213, T215, app54_in_ggga(T211, T212, T213, T215))
app54_in_ggga([], T225, T226, .(T225, T226)) → app54_out_ggga([], T225, T226, .(T225, T226))
U15_ggga(T210, T211, T212, T213, T215, app54_out_ggga(T211, T212, T213, T215)) → app54_out_ggga(.(T210, T211), T212, T213, .(T210, T215))
U35_ga(T265, T9, app54_out_ggga(T268, T265, T273, T9)) → qs1_out_ga(.(T265, []), T9)
qs1_in_ga([], []) → qs1_out_ga([], [])

The argument filtering Pi contains the following mapping:
qs1_in_ga(x1, x2)  =  qs1_in_ga(x1)
.(x1, x2)  =  .(x1, x2)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x3, x5)
gt10_in_gg(x1, x2)  =  gt10_in_gg(x1, x2)
s(x1)  =  s(x1)
U1_gg(x1, x2, x3)  =  U1_gg(x3)
0  =  0
gt10_out_gg(x1, x2)  =  gt10_out_gg
qs1_out_ga(x1, x2)  =  qs1_out_ga
U20_ga(x1, x2, x3, x4, x5)  =  U20_ga(x5)
part20_in_ggaa(x1, x2, x3, x4)  =  part20_in_ggaa(x1, x2)
U2_ggaa(x1, x2, x3, x4, x5, x6)  =  U2_ggaa(x1, x3, x6)
part20_out_ggaa(x1, x2, x3, x4)  =  part20_out_ggaa
U3_ggaa(x1, x2, x3, x4, x5, x6)  =  U3_ggaa(x6)
U4_ggaa(x1, x2, x3, x4, x5, x6)  =  U4_ggaa(x1, x3, x6)
le33_in_gg(x1, x2)  =  le33_in_gg(x1, x2)
U6_gg(x1, x2, x3)  =  U6_gg(x3)
le33_out_gg(x1, x2)  =  le33_out_gg
U5_ggaa(x1, x2, x3, x4, x5, x6)  =  U5_ggaa(x6)
[]  =  []
U21_ga(x1, x2, x3, x4, x5)  =  U21_ga(x1, x5)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x5)
qs1_in_aa(x1, x2)  =  qs1_in_aa
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(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_aa(x1, x2)  =  qs1_out_aa
U20_aa(x1, x2, x3, x4, x5)  =  U20_aa(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(x3)
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(x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x1, x6)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U6_ga(x1, x2, x3)  =  U6_ga(x3)
le33_out_ga(x1, x2)  =  le33_out_ga
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x6)
U21_aa(x1, x2, x3, x4, x5)  =  U21_aa(x1, x5)
U22_aa(x1, x2, x3, x4, x5)  =  U22_aa(x5)
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
le33_in_aa(x1, x2)  =  le33_in_aa
U6_aa(x1, x2, x3)  =  U6_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
U26_aa(x1, x2, x3, x4, x5)  =  U26_aa(x5)
U27_aa(x1, x2, x3, x4, x5)  =  U27_aa(x1, x5)
U28_aa(x1, x2, x3, x4, x5)  =  U28_aa(x5)
qs53_in_aa(x1, x2)  =  qs53_in_aa
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
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)
qs53_out_aa(x1, x2)  =  qs53_out_aa
U8_aa(x1, x2, x3, x4)  =  U8_aa(x4)
U9_aa(x1, x2, x3, x4)  =  U9_aa(x4)
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4)  =  U11_aa(x4)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4)  =  U13_aa(x4)
app65_in_aaaa(x1, x2, x3, x4)  =  app65_in_aaaa
U14_aaaa(x1, x2, x3, x4, x5, x6)  =  U14_aaaa(x6)
app65_out_aaaa(x1, x2, x3, x4)  =  app65_out_aaaa
U29_aa(x1, x2, x3, x4, x5, x6)  =  U29_aa(x1, x6)
U30_aa(x1, x2, x3, x4, x5)  =  U30_aa(x5)
p52_in_aaaga(x1, x2, x3, x4, x5)  =  p52_in_aaaga(x4)
U16_aaaga(x1, x2, x3, x4, x5, x6)  =  U16_aaaga(x6)
p52_out_aaaga(x1, x2, x3, x4, x5)  =  p52_out_aaaga
U17_aaaga(x1, x2, x3, x4, x5, x6)  =  U17_aaaga(x4, x6)
U18_aaaga(x1, x2, x3, x4, x5, x6)  =  U18_aaaga(x6)
app54_in_agaa(x1, x2, x3, x4)  =  app54_in_agaa(x2)
U15_agaa(x1, x2, x3, x4, x5, x6)  =  U15_agaa(x6)
app54_out_agaa(x1, x2, x3, x4)  =  app54_out_agaa
U31_aa(x1, x2, x3)  =  U31_aa(x3)
qs99_in_a(x1)  =  qs99_in_a
qs99_out_a(x1)  =  qs99_out_a(x1)
U32_aa(x1, x2, x3)  =  U32_aa(x3)
U33_aa(x1, x2, x3)  =  U33_aa(x3)
U34_aa(x1, x2, x3, x4)  =  U34_aa(x3, x4)
U35_aa(x1, x2, x3)  =  U35_aa(x3)
app54_in_gaga(x1, x2, x3, x4)  =  app54_in_gaga(x1, x3)
U15_gaga(x1, x2, x3, x4, x5, x6)  =  U15_gaga(x6)
app54_out_gaga(x1, x2, x3, x4)  =  app54_out_gaga
U23_aa(x1, x2, x3, x4, x5, x6)  =  U23_aa(x1, x6)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U23_ga(x1, x2, x3, x4, x5, x6)  =  U23_ga(x1, x6)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x5)
U25_ga(x1, x2, x3, x4, x5)  =  U25_ga(x1, x3, x5)
U26_ga(x1, x2, x3, x4, x5)  =  U26_ga(x5)
U27_ga(x1, x2, x3, x4, x5)  =  U27_ga(x1, x5)
U28_ga(x1, x2, x3, x4, x5)  =  U28_ga(x5)
U29_ga(x1, x2, x3, x4, x5, x6)  =  U29_ga(x1, x6)
U30_ga(x1, x2, x3, x4, x5)  =  U30_ga(x5)
U31_ga(x1, x2, x3)  =  U31_ga(x3)
U32_ga(x1, x2, x3)  =  U32_ga(x1, x3)
U33_ga(x1, x2, x3)  =  U33_ga(x3)
U34_ga(x1, x2, x3, x4)  =  U34_ga(x1, x3, x4)
U35_ga(x1, x2, x3)  =  U35_ga(x3)
app54_in_ggga(x1, x2, x3, x4)  =  app54_in_ggga(x1, x2, x3)
U15_ggga(x1, x2, x3, x4, x5, x6)  =  U15_ggga(x1, x6)
app54_out_ggga(x1, x2, x3, x4)  =  app54_out_ggga(x4)
QS1_IN_AA(x1, x2)  =  QS1_IN_AA
U19_AA(x1, x2, x3, x4, x5)  =  U19_AA(x5)
U21_AA(x1, x2, x3, x4, x5)  =  U21_AA(x1, x5)

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

(232) UsableRulesProof (EQUIVALENT transformation)

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

(233) Obligation:

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

U19_AA(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U21_AA(T22, T23, T24, T9, part20_in_gaaa(T22, T24, T44, T45))
U21_AA(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → QS1_IN_AA(.(T23, T44), X9)
QS1_IN_AA(.(T22, .(T23, T24)), T9) → U19_AA(T22, T23, T24, T9, gt10_in_aa(T22, T23))

The TRS R consists of the following rules:

part20_in_gaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_gaaa(T61, T62, T63, X119, X120, gt10_in_ga(T61, T62))
part20_in_gaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_gaaa(T83, T84, T85, X170, X171, le33_in_ga(T83, T84))
part20_in_gaaa(T112, [], [], []) → part20_out_gaaa(T112, [], [], [])
gt10_in_aa(s(T37), s(T38)) → U1_aa(T37, T38, gt10_in_aa(T37, T38))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → U3_gaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → U5_gaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
U1_aa(T37, T38, gt10_out_aa(T37, T38)) → gt10_out_aa(s(T37), s(T38))
gt10_in_ga(s(T37), s(T38)) → U1_ga(T37, T38, gt10_in_ga(T37, T38))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U3_gaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
le33_in_ga(s(T98), s(T99)) → U6_ga(T98, T99, le33_in_ga(T98, T99))
le33_in_ga(0, s(T106)) → le33_out_ga(0, s(T106))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U5_gaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U1_ga(T37, T38, gt10_out_ga(T37, T38)) → gt10_out_ga(s(T37), s(T38))
U6_ga(T98, T99, le33_out_ga(T98, T99)) → le33_out_ga(s(T98), s(T99))

The argument filtering Pi contains the following mapping:
.(x1, x2)  =  .(x1, x2)
s(x1)  =  s(x1)
0  =  0
[]  =  []
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)
U1_ga(x1, x2, x3)  =  U1_ga(x3)
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(x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x1, x6)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U6_ga(x1, x2, x3)  =  U6_ga(x3)
le33_out_ga(x1, x2)  =  le33_out_ga
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x6)
QS1_IN_AA(x1, x2)  =  QS1_IN_AA
U19_AA(x1, x2, x3, x4, x5)  =  U19_AA(x5)
U21_AA(x1, x2, x3, x4, x5)  =  U21_AA(x1, x5)

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

(234) PiDPToQDPProof (SOUND transformation)

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

(235) Obligation:

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

U19_AA(gt10_out_aa(T22, T23)) → U21_AA(T22, part20_in_gaaa(T22))
U21_AA(T22, part20_out_gaaa) → QS1_IN_AA
QS1_IN_AAU19_AA(gt10_in_aa)

The TRS R consists of the following rules:

part20_in_gaaa(T61) → U2_gaaa(T61, gt10_in_ga(T61))
part20_in_gaaa(T83) → U4_gaaa(T83, le33_in_ga(T83))
part20_in_gaaa(T112) → part20_out_gaaa
gt10_in_aaU1_aa(gt10_in_aa)
gt10_in_aagt10_out_aa(s(0), 0)
U2_gaaa(T61, gt10_out_ga(T62)) → part20_out_gaaa
U2_gaaa(T61, gt10_out_ga(T62)) → U3_gaaa(part20_in_gaaa(T61))
U4_gaaa(T83, le33_out_ga) → part20_out_gaaa
U4_gaaa(T83, le33_out_ga) → U5_gaaa(part20_in_gaaa(T83))
U1_aa(gt10_out_aa(T37, T38)) → gt10_out_aa(s(T37), s(T38))
gt10_in_ga(s(T37)) → U1_ga(gt10_in_ga(T37))
gt10_in_ga(s(0)) → gt10_out_ga(0)
U3_gaaa(part20_out_gaaa) → part20_out_gaaa
le33_in_ga(s(T98)) → U6_ga(le33_in_ga(T98))
le33_in_ga(0) → le33_out_ga
U5_gaaa(part20_out_gaaa) → part20_out_gaaa
U1_ga(gt10_out_ga(T38)) → gt10_out_ga(s(T38))
U6_ga(le33_out_ga) → le33_out_ga

The set Q consists of the following terms:

part20_in_gaaa(x0)
gt10_in_aa
U2_gaaa(x0, x1)
U4_gaaa(x0, x1)
U1_aa(x0)
gt10_in_ga(x0)
U3_gaaa(x0)
le33_in_ga(x0)
U5_gaaa(x0)
U1_ga(x0)
U6_ga(x0)

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

(236) Narrowing (SOUND transformation)

By narrowing [LPAR04] the rule U19_AA(gt10_out_aa(T22, T23)) → U21_AA(T22, part20_in_gaaa(T22)) at position [1] we obtained the following new rules [LPAR04]:

U19_AA(gt10_out_aa(x0, y1)) → U21_AA(x0, U2_gaaa(x0, gt10_in_ga(x0)))
U19_AA(gt10_out_aa(x0, y1)) → U21_AA(x0, U4_gaaa(x0, le33_in_ga(x0)))
U19_AA(gt10_out_aa(x0, y1)) → U21_AA(x0, part20_out_gaaa)

(237) Obligation:

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

U21_AA(T22, part20_out_gaaa) → QS1_IN_AA
QS1_IN_AAU19_AA(gt10_in_aa)
U19_AA(gt10_out_aa(x0, y1)) → U21_AA(x0, U2_gaaa(x0, gt10_in_ga(x0)))
U19_AA(gt10_out_aa(x0, y1)) → U21_AA(x0, U4_gaaa(x0, le33_in_ga(x0)))
U19_AA(gt10_out_aa(x0, y1)) → U21_AA(x0, part20_out_gaaa)

The TRS R consists of the following rules:

part20_in_gaaa(T61) → U2_gaaa(T61, gt10_in_ga(T61))
part20_in_gaaa(T83) → U4_gaaa(T83, le33_in_ga(T83))
part20_in_gaaa(T112) → part20_out_gaaa
gt10_in_aaU1_aa(gt10_in_aa)
gt10_in_aagt10_out_aa(s(0), 0)
U2_gaaa(T61, gt10_out_ga(T62)) → part20_out_gaaa
U2_gaaa(T61, gt10_out_ga(T62)) → U3_gaaa(part20_in_gaaa(T61))
U4_gaaa(T83, le33_out_ga) → part20_out_gaaa
U4_gaaa(T83, le33_out_ga) → U5_gaaa(part20_in_gaaa(T83))
U1_aa(gt10_out_aa(T37, T38)) → gt10_out_aa(s(T37), s(T38))
gt10_in_ga(s(T37)) → U1_ga(gt10_in_ga(T37))
gt10_in_ga(s(0)) → gt10_out_ga(0)
U3_gaaa(part20_out_gaaa) → part20_out_gaaa
le33_in_ga(s(T98)) → U6_ga(le33_in_ga(T98))
le33_in_ga(0) → le33_out_ga
U5_gaaa(part20_out_gaaa) → part20_out_gaaa
U1_ga(gt10_out_ga(T38)) → gt10_out_ga(s(T38))
U6_ga(le33_out_ga) → le33_out_ga

The set Q consists of the following terms:

part20_in_gaaa(x0)
gt10_in_aa
U2_gaaa(x0, x1)
U4_gaaa(x0, x1)
U1_aa(x0)
gt10_in_ga(x0)
U3_gaaa(x0)
le33_in_ga(x0)
U5_gaaa(x0)
U1_ga(x0)
U6_ga(x0)

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

(238) Narrowing (SOUND transformation)

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

QS1_IN_AAU19_AA(U1_aa(gt10_in_aa))
QS1_IN_AAU19_AA(gt10_out_aa(s(0), 0))

(239) Obligation:

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

U21_AA(T22, part20_out_gaaa) → QS1_IN_AA
U19_AA(gt10_out_aa(x0, y1)) → U21_AA(x0, U2_gaaa(x0, gt10_in_ga(x0)))
U19_AA(gt10_out_aa(x0, y1)) → U21_AA(x0, U4_gaaa(x0, le33_in_ga(x0)))
U19_AA(gt10_out_aa(x0, y1)) → U21_AA(x0, part20_out_gaaa)
QS1_IN_AAU19_AA(U1_aa(gt10_in_aa))
QS1_IN_AAU19_AA(gt10_out_aa(s(0), 0))

The TRS R consists of the following rules:

part20_in_gaaa(T61) → U2_gaaa(T61, gt10_in_ga(T61))
part20_in_gaaa(T83) → U4_gaaa(T83, le33_in_ga(T83))
part20_in_gaaa(T112) → part20_out_gaaa
gt10_in_aaU1_aa(gt10_in_aa)
gt10_in_aagt10_out_aa(s(0), 0)
U2_gaaa(T61, gt10_out_ga(T62)) → part20_out_gaaa
U2_gaaa(T61, gt10_out_ga(T62)) → U3_gaaa(part20_in_gaaa(T61))
U4_gaaa(T83, le33_out_ga) → part20_out_gaaa
U4_gaaa(T83, le33_out_ga) → U5_gaaa(part20_in_gaaa(T83))
U1_aa(gt10_out_aa(T37, T38)) → gt10_out_aa(s(T37), s(T38))
gt10_in_ga(s(T37)) → U1_ga(gt10_in_ga(T37))
gt10_in_ga(s(0)) → gt10_out_ga(0)
U3_gaaa(part20_out_gaaa) → part20_out_gaaa
le33_in_ga(s(T98)) → U6_ga(le33_in_ga(T98))
le33_in_ga(0) → le33_out_ga
U5_gaaa(part20_out_gaaa) → part20_out_gaaa
U1_ga(gt10_out_ga(T38)) → gt10_out_ga(s(T38))
U6_ga(le33_out_ga) → le33_out_ga

The set Q consists of the following terms:

part20_in_gaaa(x0)
gt10_in_aa
U2_gaaa(x0, x1)
U4_gaaa(x0, x1)
U1_aa(x0)
gt10_in_ga(x0)
U3_gaaa(x0)
le33_in_ga(x0)
U5_gaaa(x0)
U1_ga(x0)
U6_ga(x0)

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

(240) 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 = QS1_IN_AA evaluates to t =QS1_IN_AA

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




Rewriting sequence

QS1_IN_AAU19_AA(gt10_out_aa(s(0), 0))
with rule QS1_IN_AAU19_AA(gt10_out_aa(s(0), 0)) at position [] and matcher [ ]

U19_AA(gt10_out_aa(s(0), 0))U21_AA(s(0), part20_out_gaaa)
with rule U19_AA(gt10_out_aa(x0, y1)) → U21_AA(x0, part20_out_gaaa) at position [] and matcher [x0 / s(0), y1 / 0]

U21_AA(s(0), part20_out_gaaa)QS1_IN_AA
with rule U21_AA(T22, part20_out_gaaa) → QS1_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.



(241) NO

(242) Obligation:

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

LE33_IN_GG(s(T98), s(T99)) → LE33_IN_GG(T98, T99)

The TRS R consists of the following rules:

qs1_in_ga(.(T22, .(T23, T24)), T9) → U19_ga(T22, T23, T24, T9, gt10_in_gg(T22, T23))
gt10_in_gg(s(T37), s(T38)) → U1_gg(T37, T38, gt10_in_gg(T37, T38))
gt10_in_gg(s(0), 0) → gt10_out_gg(s(0), 0)
U1_gg(T37, T38, gt10_out_gg(T37, T38)) → gt10_out_gg(s(T37), s(T38))
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U20_ga(T22, T23, T24, T9, part20_in_ggaa(T22, T24, X47, X48))
part20_in_ggaa(T61, .(T62, T63), .(T62, X119), X120) → U2_ggaa(T61, T62, T63, X119, X120, gt10_in_gg(T61, T62))
U2_ggaa(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → part20_out_ggaa(T61, .(T62, T63), .(T62, X119), X120)
U2_ggaa(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → U3_ggaa(T61, T62, T63, X119, X120, part20_in_ggaa(T61, T63, X119, X120))
part20_in_ggaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_ggaa(T83, T84, T85, X170, X171, le33_in_gg(T83, T84))
le33_in_gg(s(T98), s(T99)) → U6_gg(T98, T99, le33_in_gg(T98, T99))
le33_in_gg(0, s(T106)) → le33_out_gg(0, s(T106))
le33_in_gg(0, 0) → le33_out_gg(0, 0)
U6_gg(T98, T99, le33_out_gg(T98, T99)) → le33_out_gg(s(T98), s(T99))
U4_ggaa(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → part20_out_ggaa(T83, .(T84, T85), X170, .(T84, X171))
U4_ggaa(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → U5_ggaa(T83, T84, T85, X170, X171, part20_in_ggaa(T83, T85, X170, X171))
part20_in_ggaa(T112, [], [], []) → part20_out_ggaa(T112, [], [], [])
U5_ggaa(T83, T84, T85, X170, X171, part20_out_ggaa(T83, T85, X170, X171)) → part20_out_ggaa(T83, .(T84, T85), X170, .(T84, X171))
U3_ggaa(T61, T62, T63, X119, X120, part20_out_ggaa(T61, T63, X119, X120)) → part20_out_ggaa(T61, .(T62, T63), .(T62, X119), X120)
U20_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, X47, X48)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U21_ga(T22, T23, T24, T9, part20_in_ggaa(T22, T24, T44, T45))
U21_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U22_ga(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
qs1_in_aa(.(T22, .(T23, T24)), T9) → U19_aa(T22, T23, T24, T9, gt10_in_aa(T22, T23))
gt10_in_aa(s(T37), s(T38)) → U1_aa(T37, T38, gt10_in_aa(T37, T38))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U1_aa(T37, T38, gt10_out_aa(T37, T38)) → gt10_out_aa(s(T37), s(T38))
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U20_aa(T22, T23, T24, T9, part20_in_gaaa(T22, T24, X47, X48))
part20_in_gaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_gaaa(T61, T62, T63, X119, X120, gt10_in_ga(T61, T62))
gt10_in_ga(s(T37), s(T38)) → U1_ga(T37, T38, gt10_in_ga(T37, T38))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U1_ga(T37, T38, gt10_out_ga(T37, T38)) → gt10_out_ga(s(T37), s(T38))
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → U3_gaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
part20_in_gaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_gaaa(T83, T84, T85, X170, X171, le33_in_ga(T83, T84))
le33_in_ga(s(T98), s(T99)) → U6_ga(T98, T99, le33_in_ga(T98, T99))
le33_in_ga(0, s(T106)) → le33_out_ga(0, s(T106))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U6_ga(T98, T99, le33_out_ga(T98, T99)) → le33_out_ga(s(T98), s(T99))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → U5_gaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
part20_in_gaaa(T112, [], [], []) → part20_out_gaaa(T112, [], [], [])
U5_gaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U3_gaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U20_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, X47, X48)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U21_aa(T22, T23, T24, T9, part20_in_gaaa(T22, T24, T44, T45))
U21_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U22_aa(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
qs1_in_aa(.(T239, .(T240, T241)), T9) → U25_aa(T239, T240, T241, T9, le33_in_aa(T239, T240))
le33_in_aa(s(T98), s(T99)) → U6_aa(T98, T99, le33_in_aa(T98, T99))
le33_in_aa(0, s(T106)) → le33_out_aa(0, s(T106))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U6_aa(T98, T99, le33_out_aa(T98, T99)) → le33_out_aa(s(T98), s(T99))
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U26_aa(T239, T240, T241, T9, part20_in_gaaa(T239, T241, X437, X438))
U26_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, X437, X438)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U27_aa(T239, T240, T241, T9, part20_in_gaaa(T239, T241, T249, T250))
U27_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U28_aa(T239, T240, T241, T9, qs53_in_aa(T249, X9))
qs53_in_aa(.(T131, T132), X275) → U7_aa(T131, T132, X275, part20_in_aaaa(T131, T132, X271, X272))
part20_in_aaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_aaaa(T61, T62, T63, X119, X120, gt10_in_aa(T61, T62))
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → U3_aaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
U3_aaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
part20_in_aaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_aaaa(T83, T84, T85, X170, X171, le33_in_aa(T83, T84))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → U5_aaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
U5_aaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
part20_in_aaaa(T112, [], [], []) → part20_out_aaaa(T112, [], [], [])
U7_aa(T131, T132, X275, part20_out_aaaa(T131, T132, X271, X272)) → qs53_out_aa(.(T131, T132), X275)
qs53_in_aa(.(T131, T132), X275) → U8_aa(T131, T132, X275, part20_in_aaaa(T131, T132, T136, T137))
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U9_aa(T131, T132, X275, qs53_in_aa(T136, X273))
qs53_in_aa([], []) → qs53_out_aa([], [])
U9_aa(T131, T132, X275, qs53_out_aa(T136, X273)) → qs53_out_aa(.(T131, T132), X275)
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U10_aa(T131, T132, X275, T137, qs53_in_aa(T136, T143))
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U11_aa(T131, T132, X275, qs53_in_aa(T137, X274))
U11_aa(T131, T132, X275, qs53_out_aa(T137, X274)) → qs53_out_aa(.(T131, T132), X275)
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U12_aa(T131, T132, X275, T143, qs53_in_aa(T137, T148))
U12_aa(T131, T132, X275, T143, qs53_out_aa(T137, T148)) → U13_aa(T131, T132, X275, app65_in_aaaa(T143, T131, T148, X275))
app65_in_aaaa(.(T171, T172), T173, T174, .(T171, X354)) → U14_aaaa(T171, T172, T173, T174, X354, app65_in_aaaa(T172, T173, T174, X354))
app65_in_aaaa([], T183, T184, .(T183, T184)) → app65_out_aaaa([], T183, T184, .(T183, T184))
U14_aaaa(T171, T172, T173, T174, X354, app65_out_aaaa(T172, T173, T174, X354)) → app65_out_aaaa(.(T171, T172), T173, T174, .(T171, X354))
U13_aa(T131, T132, X275, app65_out_aaaa(T143, T131, T148, X275)) → qs53_out_aa(.(T131, T132), X275)
U28_aa(T239, T240, T241, T9, qs53_out_aa(T249, X9)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U27_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U29_aa(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_aa(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_aa(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
p52_in_aaaga(T45, X10, T115, T22, T9) → U16_aaaga(T45, X10, T115, T22, T9, qs53_in_aa(T45, X10))
U16_aaaga(T45, X10, T115, T22, T9, qs53_out_aa(T45, X10)) → p52_out_aaaga(T45, X10, T115, T22, T9)
p52_in_aaaga(T45, T120, T115, T22, T9) → U17_aaaga(T45, T120, T115, T22, T9, qs53_in_aa(T45, T120))
U17_aaaga(T45, T120, T115, T22, T9, qs53_out_aa(T45, T120)) → U18_aaaga(T45, T120, T115, T22, T9, app54_in_agaa(T115, T22, T120, T9))
app54_in_agaa(.(T210, T211), T212, T213, .(T210, T215)) → U15_agaa(T210, T211, T212, T213, T215, app54_in_agaa(T211, T212, T213, T215))
app54_in_agaa([], T225, T226, .(T225, T226)) → app54_out_agaa([], T225, T226, .(T225, T226))
U15_agaa(T210, T211, T212, T213, T215, app54_out_agaa(T211, T212, T213, T215)) → app54_out_agaa(.(T210, T211), T212, T213, .(T210, T215))
U18_aaaga(T45, T120, T115, T22, T9, app54_out_agaa(T115, T22, T120, T9)) → p52_out_aaaga(T45, T120, T115, T22, T9)
U30_aa(T239, T240, T241, T9, p52_out_aaaga(.(T240, T250), X10, T256, T239, T9)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
qs1_in_aa(.(T265, []), T9) → U31_aa(T265, T9, qs99_in_a(X9))
qs99_in_a([]) → qs99_out_a([])
U31_aa(T265, T9, qs99_out_a(X9)) → qs1_out_aa(.(T265, []), T9)
qs1_in_aa(.(T265, []), T9) → U32_aa(T265, T9, qs99_in_a(T268))
U32_aa(T265, T9, qs99_out_a(T268)) → U33_aa(T265, T9, qs99_in_a(X10))
U33_aa(T265, T9, qs99_out_a(X10)) → qs1_out_aa(.(T265, []), T9)
U32_aa(T265, T9, qs99_out_a(T268)) → U34_aa(T265, T9, T268, qs99_in_a(T273))
U34_aa(T265, T9, T268, qs99_out_a(T273)) → U35_aa(T265, T9, app54_in_gaga(T268, T265, T273, T9))
app54_in_gaga(.(T210, T211), T212, T213, .(T210, T215)) → U15_gaga(T210, T211, T212, T213, T215, app54_in_gaga(T211, T212, T213, T215))
app54_in_gaga([], T225, T226, .(T225, T226)) → app54_out_gaga([], T225, T226, .(T225, T226))
U15_gaga(T210, T211, T212, T213, T215, app54_out_gaga(T211, T212, T213, T215)) → app54_out_gaga(.(T210, T211), T212, T213, .(T210, T215))
U35_aa(T265, T9, app54_out_gaga(T268, T265, T273, T9)) → qs1_out_aa(.(T265, []), T9)
qs1_in_aa([], []) → qs1_out_aa([], [])
U22_aa(T22, T23, T24, T9, qs1_out_aa(.(T23, T44), X9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U21_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U23_aa(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_aa(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_aa(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U24_aa(T22, T23, T24, T9, p52_out_aaaga(T45, X10, T115, T22, T9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U22_ga(T22, T23, T24, T9, qs1_out_aa(.(T23, T44), X9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U21_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U23_ga(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_ga(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_ga(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U24_ga(T22, T23, T24, T9, p52_out_aaaga(T45, X10, T115, T22, T9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
qs1_in_ga(.(T239, .(T240, T241)), T9) → U25_ga(T239, T240, T241, T9, le33_in_gg(T239, T240))
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U26_ga(T239, T240, T241, T9, part20_in_ggaa(T239, T241, X437, X438))
U26_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, X437, X438)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U27_ga(T239, T240, T241, T9, part20_in_ggaa(T239, T241, T249, T250))
U27_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U28_ga(T239, T240, T241, T9, qs53_in_aa(T249, X9))
U28_ga(T239, T240, T241, T9, qs53_out_aa(T249, X9)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U27_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U29_ga(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_ga(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_ga(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
U30_ga(T239, T240, T241, T9, p52_out_aaaga(.(T240, T250), X10, T256, T239, T9)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
qs1_in_ga(.(T265, []), T9) → U31_ga(T265, T9, qs99_in_a(X9))
U31_ga(T265, T9, qs99_out_a(X9)) → qs1_out_ga(.(T265, []), T9)
qs1_in_ga(.(T265, []), T9) → U32_ga(T265, T9, qs99_in_a(T268))
U32_ga(T265, T9, qs99_out_a(T268)) → U33_ga(T265, T9, qs99_in_a(X10))
U33_ga(T265, T9, qs99_out_a(X10)) → qs1_out_ga(.(T265, []), T9)
U32_ga(T265, T9, qs99_out_a(T268)) → U34_ga(T265, T9, T268, qs99_in_a(T273))
U34_ga(T265, T9, T268, qs99_out_a(T273)) → U35_ga(T265, T9, app54_in_ggga(T268, T265, T273, T9))
app54_in_ggga(.(T210, T211), T212, T213, .(T210, T215)) → U15_ggga(T210, T211, T212, T213, T215, app54_in_ggga(T211, T212, T213, T215))
app54_in_ggga([], T225, T226, .(T225, T226)) → app54_out_ggga([], T225, T226, .(T225, T226))
U15_ggga(T210, T211, T212, T213, T215, app54_out_ggga(T211, T212, T213, T215)) → app54_out_ggga(.(T210, T211), T212, T213, .(T210, T215))
U35_ga(T265, T9, app54_out_ggga(T268, T265, T273, T9)) → qs1_out_ga(.(T265, []), T9)
qs1_in_ga([], []) → qs1_out_ga([], [])

The argument filtering Pi contains the following mapping:
qs1_in_ga(x1, x2)  =  qs1_in_ga(x1)
.(x1, x2)  =  .(x1, x2)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x3, x5)
gt10_in_gg(x1, x2)  =  gt10_in_gg(x1, x2)
s(x1)  =  s(x1)
U1_gg(x1, x2, x3)  =  U1_gg(x3)
0  =  0
gt10_out_gg(x1, x2)  =  gt10_out_gg
qs1_out_ga(x1, x2)  =  qs1_out_ga
U20_ga(x1, x2, x3, x4, x5)  =  U20_ga(x5)
part20_in_ggaa(x1, x2, x3, x4)  =  part20_in_ggaa(x1, x2)
U2_ggaa(x1, x2, x3, x4, x5, x6)  =  U2_ggaa(x1, x3, x6)
part20_out_ggaa(x1, x2, x3, x4)  =  part20_out_ggaa
U3_ggaa(x1, x2, x3, x4, x5, x6)  =  U3_ggaa(x6)
U4_ggaa(x1, x2, x3, x4, x5, x6)  =  U4_ggaa(x1, x3, x6)
le33_in_gg(x1, x2)  =  le33_in_gg(x1, x2)
U6_gg(x1, x2, x3)  =  U6_gg(x3)
le33_out_gg(x1, x2)  =  le33_out_gg
U5_ggaa(x1, x2, x3, x4, x5, x6)  =  U5_ggaa(x6)
[]  =  []
U21_ga(x1, x2, x3, x4, x5)  =  U21_ga(x1, x5)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x5)
qs1_in_aa(x1, x2)  =  qs1_in_aa
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(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_aa(x1, x2)  =  qs1_out_aa
U20_aa(x1, x2, x3, x4, x5)  =  U20_aa(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(x3)
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(x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x1, x6)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U6_ga(x1, x2, x3)  =  U6_ga(x3)
le33_out_ga(x1, x2)  =  le33_out_ga
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x6)
U21_aa(x1, x2, x3, x4, x5)  =  U21_aa(x1, x5)
U22_aa(x1, x2, x3, x4, x5)  =  U22_aa(x5)
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
le33_in_aa(x1, x2)  =  le33_in_aa
U6_aa(x1, x2, x3)  =  U6_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
U26_aa(x1, x2, x3, x4, x5)  =  U26_aa(x5)
U27_aa(x1, x2, x3, x4, x5)  =  U27_aa(x1, x5)
U28_aa(x1, x2, x3, x4, x5)  =  U28_aa(x5)
qs53_in_aa(x1, x2)  =  qs53_in_aa
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
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)
qs53_out_aa(x1, x2)  =  qs53_out_aa
U8_aa(x1, x2, x3, x4)  =  U8_aa(x4)
U9_aa(x1, x2, x3, x4)  =  U9_aa(x4)
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4)  =  U11_aa(x4)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4)  =  U13_aa(x4)
app65_in_aaaa(x1, x2, x3, x4)  =  app65_in_aaaa
U14_aaaa(x1, x2, x3, x4, x5, x6)  =  U14_aaaa(x6)
app65_out_aaaa(x1, x2, x3, x4)  =  app65_out_aaaa
U29_aa(x1, x2, x3, x4, x5, x6)  =  U29_aa(x1, x6)
U30_aa(x1, x2, x3, x4, x5)  =  U30_aa(x5)
p52_in_aaaga(x1, x2, x3, x4, x5)  =  p52_in_aaaga(x4)
U16_aaaga(x1, x2, x3, x4, x5, x6)  =  U16_aaaga(x6)
p52_out_aaaga(x1, x2, x3, x4, x5)  =  p52_out_aaaga
U17_aaaga(x1, x2, x3, x4, x5, x6)  =  U17_aaaga(x4, x6)
U18_aaaga(x1, x2, x3, x4, x5, x6)  =  U18_aaaga(x6)
app54_in_agaa(x1, x2, x3, x4)  =  app54_in_agaa(x2)
U15_agaa(x1, x2, x3, x4, x5, x6)  =  U15_agaa(x6)
app54_out_agaa(x1, x2, x3, x4)  =  app54_out_agaa
U31_aa(x1, x2, x3)  =  U31_aa(x3)
qs99_in_a(x1)  =  qs99_in_a
qs99_out_a(x1)  =  qs99_out_a(x1)
U32_aa(x1, x2, x3)  =  U32_aa(x3)
U33_aa(x1, x2, x3)  =  U33_aa(x3)
U34_aa(x1, x2, x3, x4)  =  U34_aa(x3, x4)
U35_aa(x1, x2, x3)  =  U35_aa(x3)
app54_in_gaga(x1, x2, x3, x4)  =  app54_in_gaga(x1, x3)
U15_gaga(x1, x2, x3, x4, x5, x6)  =  U15_gaga(x6)
app54_out_gaga(x1, x2, x3, x4)  =  app54_out_gaga
U23_aa(x1, x2, x3, x4, x5, x6)  =  U23_aa(x1, x6)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U23_ga(x1, x2, x3, x4, x5, x6)  =  U23_ga(x1, x6)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x5)
U25_ga(x1, x2, x3, x4, x5)  =  U25_ga(x1, x3, x5)
U26_ga(x1, x2, x3, x4, x5)  =  U26_ga(x5)
U27_ga(x1, x2, x3, x4, x5)  =  U27_ga(x1, x5)
U28_ga(x1, x2, x3, x4, x5)  =  U28_ga(x5)
U29_ga(x1, x2, x3, x4, x5, x6)  =  U29_ga(x1, x6)
U30_ga(x1, x2, x3, x4, x5)  =  U30_ga(x5)
U31_ga(x1, x2, x3)  =  U31_ga(x3)
U32_ga(x1, x2, x3)  =  U32_ga(x1, x3)
U33_ga(x1, x2, x3)  =  U33_ga(x3)
U34_ga(x1, x2, x3, x4)  =  U34_ga(x1, x3, x4)
U35_ga(x1, x2, x3)  =  U35_ga(x3)
app54_in_ggga(x1, x2, x3, x4)  =  app54_in_ggga(x1, x2, x3)
U15_ggga(x1, x2, x3, x4, x5, x6)  =  U15_ggga(x1, x6)
app54_out_ggga(x1, x2, x3, x4)  =  app54_out_ggga(x4)
LE33_IN_GG(x1, x2)  =  LE33_IN_GG(x1, x2)

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

(243) UsableRulesProof (EQUIVALENT transformation)

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

(244) Obligation:

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

LE33_IN_GG(s(T98), s(T99)) → LE33_IN_GG(T98, T99)

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

(245) PiDPToQDPProof (EQUIVALENT transformation)

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

(246) Obligation:

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

LE33_IN_GG(s(T98), s(T99)) → LE33_IN_GG(T98, T99)

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

(247) 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_GG(s(T98), s(T99)) → LE33_IN_GG(T98, T99)
    The graph contains the following edges 1 > 1, 2 > 2

(248) YES

(249) Obligation:

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

GT10_IN_GG(s(T37), s(T38)) → GT10_IN_GG(T37, T38)

The TRS R consists of the following rules:

qs1_in_ga(.(T22, .(T23, T24)), T9) → U19_ga(T22, T23, T24, T9, gt10_in_gg(T22, T23))
gt10_in_gg(s(T37), s(T38)) → U1_gg(T37, T38, gt10_in_gg(T37, T38))
gt10_in_gg(s(0), 0) → gt10_out_gg(s(0), 0)
U1_gg(T37, T38, gt10_out_gg(T37, T38)) → gt10_out_gg(s(T37), s(T38))
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U20_ga(T22, T23, T24, T9, part20_in_ggaa(T22, T24, X47, X48))
part20_in_ggaa(T61, .(T62, T63), .(T62, X119), X120) → U2_ggaa(T61, T62, T63, X119, X120, gt10_in_gg(T61, T62))
U2_ggaa(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → part20_out_ggaa(T61, .(T62, T63), .(T62, X119), X120)
U2_ggaa(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → U3_ggaa(T61, T62, T63, X119, X120, part20_in_ggaa(T61, T63, X119, X120))
part20_in_ggaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_ggaa(T83, T84, T85, X170, X171, le33_in_gg(T83, T84))
le33_in_gg(s(T98), s(T99)) → U6_gg(T98, T99, le33_in_gg(T98, T99))
le33_in_gg(0, s(T106)) → le33_out_gg(0, s(T106))
le33_in_gg(0, 0) → le33_out_gg(0, 0)
U6_gg(T98, T99, le33_out_gg(T98, T99)) → le33_out_gg(s(T98), s(T99))
U4_ggaa(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → part20_out_ggaa(T83, .(T84, T85), X170, .(T84, X171))
U4_ggaa(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → U5_ggaa(T83, T84, T85, X170, X171, part20_in_ggaa(T83, T85, X170, X171))
part20_in_ggaa(T112, [], [], []) → part20_out_ggaa(T112, [], [], [])
U5_ggaa(T83, T84, T85, X170, X171, part20_out_ggaa(T83, T85, X170, X171)) → part20_out_ggaa(T83, .(T84, T85), X170, .(T84, X171))
U3_ggaa(T61, T62, T63, X119, X120, part20_out_ggaa(T61, T63, X119, X120)) → part20_out_ggaa(T61, .(T62, T63), .(T62, X119), X120)
U20_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, X47, X48)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U21_ga(T22, T23, T24, T9, part20_in_ggaa(T22, T24, T44, T45))
U21_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U22_ga(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
qs1_in_aa(.(T22, .(T23, T24)), T9) → U19_aa(T22, T23, T24, T9, gt10_in_aa(T22, T23))
gt10_in_aa(s(T37), s(T38)) → U1_aa(T37, T38, gt10_in_aa(T37, T38))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U1_aa(T37, T38, gt10_out_aa(T37, T38)) → gt10_out_aa(s(T37), s(T38))
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U20_aa(T22, T23, T24, T9, part20_in_gaaa(T22, T24, X47, X48))
part20_in_gaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_gaaa(T61, T62, T63, X119, X120, gt10_in_ga(T61, T62))
gt10_in_ga(s(T37), s(T38)) → U1_ga(T37, T38, gt10_in_ga(T37, T38))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U1_ga(T37, T38, gt10_out_ga(T37, T38)) → gt10_out_ga(s(T37), s(T38))
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → U3_gaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
part20_in_gaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_gaaa(T83, T84, T85, X170, X171, le33_in_ga(T83, T84))
le33_in_ga(s(T98), s(T99)) → U6_ga(T98, T99, le33_in_ga(T98, T99))
le33_in_ga(0, s(T106)) → le33_out_ga(0, s(T106))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U6_ga(T98, T99, le33_out_ga(T98, T99)) → le33_out_ga(s(T98), s(T99))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → U5_gaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
part20_in_gaaa(T112, [], [], []) → part20_out_gaaa(T112, [], [], [])
U5_gaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U3_gaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U20_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, X47, X48)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U21_aa(T22, T23, T24, T9, part20_in_gaaa(T22, T24, T44, T45))
U21_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U22_aa(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
qs1_in_aa(.(T239, .(T240, T241)), T9) → U25_aa(T239, T240, T241, T9, le33_in_aa(T239, T240))
le33_in_aa(s(T98), s(T99)) → U6_aa(T98, T99, le33_in_aa(T98, T99))
le33_in_aa(0, s(T106)) → le33_out_aa(0, s(T106))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U6_aa(T98, T99, le33_out_aa(T98, T99)) → le33_out_aa(s(T98), s(T99))
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U26_aa(T239, T240, T241, T9, part20_in_gaaa(T239, T241, X437, X438))
U26_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, X437, X438)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U27_aa(T239, T240, T241, T9, part20_in_gaaa(T239, T241, T249, T250))
U27_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U28_aa(T239, T240, T241, T9, qs53_in_aa(T249, X9))
qs53_in_aa(.(T131, T132), X275) → U7_aa(T131, T132, X275, part20_in_aaaa(T131, T132, X271, X272))
part20_in_aaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_aaaa(T61, T62, T63, X119, X120, gt10_in_aa(T61, T62))
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → U3_aaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
U3_aaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
part20_in_aaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_aaaa(T83, T84, T85, X170, X171, le33_in_aa(T83, T84))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → U5_aaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
U5_aaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
part20_in_aaaa(T112, [], [], []) → part20_out_aaaa(T112, [], [], [])
U7_aa(T131, T132, X275, part20_out_aaaa(T131, T132, X271, X272)) → qs53_out_aa(.(T131, T132), X275)
qs53_in_aa(.(T131, T132), X275) → U8_aa(T131, T132, X275, part20_in_aaaa(T131, T132, T136, T137))
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U9_aa(T131, T132, X275, qs53_in_aa(T136, X273))
qs53_in_aa([], []) → qs53_out_aa([], [])
U9_aa(T131, T132, X275, qs53_out_aa(T136, X273)) → qs53_out_aa(.(T131, T132), X275)
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U10_aa(T131, T132, X275, T137, qs53_in_aa(T136, T143))
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U11_aa(T131, T132, X275, qs53_in_aa(T137, X274))
U11_aa(T131, T132, X275, qs53_out_aa(T137, X274)) → qs53_out_aa(.(T131, T132), X275)
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U12_aa(T131, T132, X275, T143, qs53_in_aa(T137, T148))
U12_aa(T131, T132, X275, T143, qs53_out_aa(T137, T148)) → U13_aa(T131, T132, X275, app65_in_aaaa(T143, T131, T148, X275))
app65_in_aaaa(.(T171, T172), T173, T174, .(T171, X354)) → U14_aaaa(T171, T172, T173, T174, X354, app65_in_aaaa(T172, T173, T174, X354))
app65_in_aaaa([], T183, T184, .(T183, T184)) → app65_out_aaaa([], T183, T184, .(T183, T184))
U14_aaaa(T171, T172, T173, T174, X354, app65_out_aaaa(T172, T173, T174, X354)) → app65_out_aaaa(.(T171, T172), T173, T174, .(T171, X354))
U13_aa(T131, T132, X275, app65_out_aaaa(T143, T131, T148, X275)) → qs53_out_aa(.(T131, T132), X275)
U28_aa(T239, T240, T241, T9, qs53_out_aa(T249, X9)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U27_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U29_aa(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_aa(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_aa(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
p52_in_aaaga(T45, X10, T115, T22, T9) → U16_aaaga(T45, X10, T115, T22, T9, qs53_in_aa(T45, X10))
U16_aaaga(T45, X10, T115, T22, T9, qs53_out_aa(T45, X10)) → p52_out_aaaga(T45, X10, T115, T22, T9)
p52_in_aaaga(T45, T120, T115, T22, T9) → U17_aaaga(T45, T120, T115, T22, T9, qs53_in_aa(T45, T120))
U17_aaaga(T45, T120, T115, T22, T9, qs53_out_aa(T45, T120)) → U18_aaaga(T45, T120, T115, T22, T9, app54_in_agaa(T115, T22, T120, T9))
app54_in_agaa(.(T210, T211), T212, T213, .(T210, T215)) → U15_agaa(T210, T211, T212, T213, T215, app54_in_agaa(T211, T212, T213, T215))
app54_in_agaa([], T225, T226, .(T225, T226)) → app54_out_agaa([], T225, T226, .(T225, T226))
U15_agaa(T210, T211, T212, T213, T215, app54_out_agaa(T211, T212, T213, T215)) → app54_out_agaa(.(T210, T211), T212, T213, .(T210, T215))
U18_aaaga(T45, T120, T115, T22, T9, app54_out_agaa(T115, T22, T120, T9)) → p52_out_aaaga(T45, T120, T115, T22, T9)
U30_aa(T239, T240, T241, T9, p52_out_aaaga(.(T240, T250), X10, T256, T239, T9)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
qs1_in_aa(.(T265, []), T9) → U31_aa(T265, T9, qs99_in_a(X9))
qs99_in_a([]) → qs99_out_a([])
U31_aa(T265, T9, qs99_out_a(X9)) → qs1_out_aa(.(T265, []), T9)
qs1_in_aa(.(T265, []), T9) → U32_aa(T265, T9, qs99_in_a(T268))
U32_aa(T265, T9, qs99_out_a(T268)) → U33_aa(T265, T9, qs99_in_a(X10))
U33_aa(T265, T9, qs99_out_a(X10)) → qs1_out_aa(.(T265, []), T9)
U32_aa(T265, T9, qs99_out_a(T268)) → U34_aa(T265, T9, T268, qs99_in_a(T273))
U34_aa(T265, T9, T268, qs99_out_a(T273)) → U35_aa(T265, T9, app54_in_gaga(T268, T265, T273, T9))
app54_in_gaga(.(T210, T211), T212, T213, .(T210, T215)) → U15_gaga(T210, T211, T212, T213, T215, app54_in_gaga(T211, T212, T213, T215))
app54_in_gaga([], T225, T226, .(T225, T226)) → app54_out_gaga([], T225, T226, .(T225, T226))
U15_gaga(T210, T211, T212, T213, T215, app54_out_gaga(T211, T212, T213, T215)) → app54_out_gaga(.(T210, T211), T212, T213, .(T210, T215))
U35_aa(T265, T9, app54_out_gaga(T268, T265, T273, T9)) → qs1_out_aa(.(T265, []), T9)
qs1_in_aa([], []) → qs1_out_aa([], [])
U22_aa(T22, T23, T24, T9, qs1_out_aa(.(T23, T44), X9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U21_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U23_aa(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_aa(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_aa(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U24_aa(T22, T23, T24, T9, p52_out_aaaga(T45, X10, T115, T22, T9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U22_ga(T22, T23, T24, T9, qs1_out_aa(.(T23, T44), X9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U21_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U23_ga(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_ga(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_ga(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U24_ga(T22, T23, T24, T9, p52_out_aaaga(T45, X10, T115, T22, T9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
qs1_in_ga(.(T239, .(T240, T241)), T9) → U25_ga(T239, T240, T241, T9, le33_in_gg(T239, T240))
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U26_ga(T239, T240, T241, T9, part20_in_ggaa(T239, T241, X437, X438))
U26_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, X437, X438)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U27_ga(T239, T240, T241, T9, part20_in_ggaa(T239, T241, T249, T250))
U27_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U28_ga(T239, T240, T241, T9, qs53_in_aa(T249, X9))
U28_ga(T239, T240, T241, T9, qs53_out_aa(T249, X9)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U27_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U29_ga(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_ga(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_ga(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
U30_ga(T239, T240, T241, T9, p52_out_aaaga(.(T240, T250), X10, T256, T239, T9)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
qs1_in_ga(.(T265, []), T9) → U31_ga(T265, T9, qs99_in_a(X9))
U31_ga(T265, T9, qs99_out_a(X9)) → qs1_out_ga(.(T265, []), T9)
qs1_in_ga(.(T265, []), T9) → U32_ga(T265, T9, qs99_in_a(T268))
U32_ga(T265, T9, qs99_out_a(T268)) → U33_ga(T265, T9, qs99_in_a(X10))
U33_ga(T265, T9, qs99_out_a(X10)) → qs1_out_ga(.(T265, []), T9)
U32_ga(T265, T9, qs99_out_a(T268)) → U34_ga(T265, T9, T268, qs99_in_a(T273))
U34_ga(T265, T9, T268, qs99_out_a(T273)) → U35_ga(T265, T9, app54_in_ggga(T268, T265, T273, T9))
app54_in_ggga(.(T210, T211), T212, T213, .(T210, T215)) → U15_ggga(T210, T211, T212, T213, T215, app54_in_ggga(T211, T212, T213, T215))
app54_in_ggga([], T225, T226, .(T225, T226)) → app54_out_ggga([], T225, T226, .(T225, T226))
U15_ggga(T210, T211, T212, T213, T215, app54_out_ggga(T211, T212, T213, T215)) → app54_out_ggga(.(T210, T211), T212, T213, .(T210, T215))
U35_ga(T265, T9, app54_out_ggga(T268, T265, T273, T9)) → qs1_out_ga(.(T265, []), T9)
qs1_in_ga([], []) → qs1_out_ga([], [])

The argument filtering Pi contains the following mapping:
qs1_in_ga(x1, x2)  =  qs1_in_ga(x1)
.(x1, x2)  =  .(x1, x2)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x3, x5)
gt10_in_gg(x1, x2)  =  gt10_in_gg(x1, x2)
s(x1)  =  s(x1)
U1_gg(x1, x2, x3)  =  U1_gg(x3)
0  =  0
gt10_out_gg(x1, x2)  =  gt10_out_gg
qs1_out_ga(x1, x2)  =  qs1_out_ga
U20_ga(x1, x2, x3, x4, x5)  =  U20_ga(x5)
part20_in_ggaa(x1, x2, x3, x4)  =  part20_in_ggaa(x1, x2)
U2_ggaa(x1, x2, x3, x4, x5, x6)  =  U2_ggaa(x1, x3, x6)
part20_out_ggaa(x1, x2, x3, x4)  =  part20_out_ggaa
U3_ggaa(x1, x2, x3, x4, x5, x6)  =  U3_ggaa(x6)
U4_ggaa(x1, x2, x3, x4, x5, x6)  =  U4_ggaa(x1, x3, x6)
le33_in_gg(x1, x2)  =  le33_in_gg(x1, x2)
U6_gg(x1, x2, x3)  =  U6_gg(x3)
le33_out_gg(x1, x2)  =  le33_out_gg
U5_ggaa(x1, x2, x3, x4, x5, x6)  =  U5_ggaa(x6)
[]  =  []
U21_ga(x1, x2, x3, x4, x5)  =  U21_ga(x1, x5)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x5)
qs1_in_aa(x1, x2)  =  qs1_in_aa
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(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_aa(x1, x2)  =  qs1_out_aa
U20_aa(x1, x2, x3, x4, x5)  =  U20_aa(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(x3)
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(x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x1, x6)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U6_ga(x1, x2, x3)  =  U6_ga(x3)
le33_out_ga(x1, x2)  =  le33_out_ga
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x6)
U21_aa(x1, x2, x3, x4, x5)  =  U21_aa(x1, x5)
U22_aa(x1, x2, x3, x4, x5)  =  U22_aa(x5)
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
le33_in_aa(x1, x2)  =  le33_in_aa
U6_aa(x1, x2, x3)  =  U6_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
U26_aa(x1, x2, x3, x4, x5)  =  U26_aa(x5)
U27_aa(x1, x2, x3, x4, x5)  =  U27_aa(x1, x5)
U28_aa(x1, x2, x3, x4, x5)  =  U28_aa(x5)
qs53_in_aa(x1, x2)  =  qs53_in_aa
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
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)
qs53_out_aa(x1, x2)  =  qs53_out_aa
U8_aa(x1, x2, x3, x4)  =  U8_aa(x4)
U9_aa(x1, x2, x3, x4)  =  U9_aa(x4)
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4)  =  U11_aa(x4)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4)  =  U13_aa(x4)
app65_in_aaaa(x1, x2, x3, x4)  =  app65_in_aaaa
U14_aaaa(x1, x2, x3, x4, x5, x6)  =  U14_aaaa(x6)
app65_out_aaaa(x1, x2, x3, x4)  =  app65_out_aaaa
U29_aa(x1, x2, x3, x4, x5, x6)  =  U29_aa(x1, x6)
U30_aa(x1, x2, x3, x4, x5)  =  U30_aa(x5)
p52_in_aaaga(x1, x2, x3, x4, x5)  =  p52_in_aaaga(x4)
U16_aaaga(x1, x2, x3, x4, x5, x6)  =  U16_aaaga(x6)
p52_out_aaaga(x1, x2, x3, x4, x5)  =  p52_out_aaaga
U17_aaaga(x1, x2, x3, x4, x5, x6)  =  U17_aaaga(x4, x6)
U18_aaaga(x1, x2, x3, x4, x5, x6)  =  U18_aaaga(x6)
app54_in_agaa(x1, x2, x3, x4)  =  app54_in_agaa(x2)
U15_agaa(x1, x2, x3, x4, x5, x6)  =  U15_agaa(x6)
app54_out_agaa(x1, x2, x3, x4)  =  app54_out_agaa
U31_aa(x1, x2, x3)  =  U31_aa(x3)
qs99_in_a(x1)  =  qs99_in_a
qs99_out_a(x1)  =  qs99_out_a(x1)
U32_aa(x1, x2, x3)  =  U32_aa(x3)
U33_aa(x1, x2, x3)  =  U33_aa(x3)
U34_aa(x1, x2, x3, x4)  =  U34_aa(x3, x4)
U35_aa(x1, x2, x3)  =  U35_aa(x3)
app54_in_gaga(x1, x2, x3, x4)  =  app54_in_gaga(x1, x3)
U15_gaga(x1, x2, x3, x4, x5, x6)  =  U15_gaga(x6)
app54_out_gaga(x1, x2, x3, x4)  =  app54_out_gaga
U23_aa(x1, x2, x3, x4, x5, x6)  =  U23_aa(x1, x6)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U23_ga(x1, x2, x3, x4, x5, x6)  =  U23_ga(x1, x6)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x5)
U25_ga(x1, x2, x3, x4, x5)  =  U25_ga(x1, x3, x5)
U26_ga(x1, x2, x3, x4, x5)  =  U26_ga(x5)
U27_ga(x1, x2, x3, x4, x5)  =  U27_ga(x1, x5)
U28_ga(x1, x2, x3, x4, x5)  =  U28_ga(x5)
U29_ga(x1, x2, x3, x4, x5, x6)  =  U29_ga(x1, x6)
U30_ga(x1, x2, x3, x4, x5)  =  U30_ga(x5)
U31_ga(x1, x2, x3)  =  U31_ga(x3)
U32_ga(x1, x2, x3)  =  U32_ga(x1, x3)
U33_ga(x1, x2, x3)  =  U33_ga(x3)
U34_ga(x1, x2, x3, x4)  =  U34_ga(x1, x3, x4)
U35_ga(x1, x2, x3)  =  U35_ga(x3)
app54_in_ggga(x1, x2, x3, x4)  =  app54_in_ggga(x1, x2, x3)
U15_ggga(x1, x2, x3, x4, x5, x6)  =  U15_ggga(x1, x6)
app54_out_ggga(x1, x2, x3, x4)  =  app54_out_ggga(x4)
GT10_IN_GG(x1, x2)  =  GT10_IN_GG(x1, x2)

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

(250) UsableRulesProof (EQUIVALENT transformation)

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

(251) Obligation:

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

GT10_IN_GG(s(T37), s(T38)) → GT10_IN_GG(T37, T38)

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

(252) PiDPToQDPProof (EQUIVALENT transformation)

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

(253) Obligation:

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

GT10_IN_GG(s(T37), s(T38)) → GT10_IN_GG(T37, T38)

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

(254) 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_GG(s(T37), s(T38)) → GT10_IN_GG(T37, T38)
    The graph contains the following edges 1 > 1, 2 > 2

(255) YES

(256) Obligation:

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

PART20_IN_GGAA(T61, .(T62, T63), .(T62, X119), X120) → U2_GGAA(T61, T62, T63, X119, X120, gt10_in_gg(T61, T62))
U2_GGAA(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → PART20_IN_GGAA(T61, T63, X119, X120)
PART20_IN_GGAA(T83, .(T84, T85), X170, .(T84, X171)) → U4_GGAA(T83, T84, T85, X170, X171, le33_in_gg(T83, T84))
U4_GGAA(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → PART20_IN_GGAA(T83, T85, X170, X171)

The TRS R consists of the following rules:

qs1_in_ga(.(T22, .(T23, T24)), T9) → U19_ga(T22, T23, T24, T9, gt10_in_gg(T22, T23))
gt10_in_gg(s(T37), s(T38)) → U1_gg(T37, T38, gt10_in_gg(T37, T38))
gt10_in_gg(s(0), 0) → gt10_out_gg(s(0), 0)
U1_gg(T37, T38, gt10_out_gg(T37, T38)) → gt10_out_gg(s(T37), s(T38))
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U20_ga(T22, T23, T24, T9, part20_in_ggaa(T22, T24, X47, X48))
part20_in_ggaa(T61, .(T62, T63), .(T62, X119), X120) → U2_ggaa(T61, T62, T63, X119, X120, gt10_in_gg(T61, T62))
U2_ggaa(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → part20_out_ggaa(T61, .(T62, T63), .(T62, X119), X120)
U2_ggaa(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → U3_ggaa(T61, T62, T63, X119, X120, part20_in_ggaa(T61, T63, X119, X120))
part20_in_ggaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_ggaa(T83, T84, T85, X170, X171, le33_in_gg(T83, T84))
le33_in_gg(s(T98), s(T99)) → U6_gg(T98, T99, le33_in_gg(T98, T99))
le33_in_gg(0, s(T106)) → le33_out_gg(0, s(T106))
le33_in_gg(0, 0) → le33_out_gg(0, 0)
U6_gg(T98, T99, le33_out_gg(T98, T99)) → le33_out_gg(s(T98), s(T99))
U4_ggaa(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → part20_out_ggaa(T83, .(T84, T85), X170, .(T84, X171))
U4_ggaa(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → U5_ggaa(T83, T84, T85, X170, X171, part20_in_ggaa(T83, T85, X170, X171))
part20_in_ggaa(T112, [], [], []) → part20_out_ggaa(T112, [], [], [])
U5_ggaa(T83, T84, T85, X170, X171, part20_out_ggaa(T83, T85, X170, X171)) → part20_out_ggaa(T83, .(T84, T85), X170, .(T84, X171))
U3_ggaa(T61, T62, T63, X119, X120, part20_out_ggaa(T61, T63, X119, X120)) → part20_out_ggaa(T61, .(T62, T63), .(T62, X119), X120)
U20_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, X47, X48)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, gt10_out_gg(T22, T23)) → U21_ga(T22, T23, T24, T9, part20_in_ggaa(T22, T24, T44, T45))
U21_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U22_ga(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
qs1_in_aa(.(T22, .(T23, T24)), T9) → U19_aa(T22, T23, T24, T9, gt10_in_aa(T22, T23))
gt10_in_aa(s(T37), s(T38)) → U1_aa(T37, T38, gt10_in_aa(T37, T38))
gt10_in_aa(s(0), 0) → gt10_out_aa(s(0), 0)
U1_aa(T37, T38, gt10_out_aa(T37, T38)) → gt10_out_aa(s(T37), s(T38))
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U20_aa(T22, T23, T24, T9, part20_in_gaaa(T22, T24, X47, X48))
part20_in_gaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_gaaa(T61, T62, T63, X119, X120, gt10_in_ga(T61, T62))
gt10_in_ga(s(T37), s(T38)) → U1_ga(T37, T38, gt10_in_ga(T37, T38))
gt10_in_ga(s(0), 0) → gt10_out_ga(s(0), 0)
U1_ga(T37, T38, gt10_out_ga(T37, T38)) → gt10_out_ga(s(T37), s(T38))
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_gaaa(T61, T62, T63, X119, X120, gt10_out_ga(T61, T62)) → U3_gaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
part20_in_gaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_gaaa(T83, T84, T85, X170, X171, le33_in_ga(T83, T84))
le33_in_ga(s(T98), s(T99)) → U6_ga(T98, T99, le33_in_ga(T98, T99))
le33_in_ga(0, s(T106)) → le33_out_ga(0, s(T106))
le33_in_ga(0, 0) → le33_out_ga(0, 0)
U6_ga(T98, T99, le33_out_ga(T98, T99)) → le33_out_ga(s(T98), s(T99))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_gaaa(T83, T84, T85, X170, X171, le33_out_ga(T83, T84)) → U5_gaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
part20_in_gaaa(T112, [], [], []) → part20_out_gaaa(T112, [], [], [])
U5_gaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_gaaa(T83, .(T84, T85), X170, .(T84, X171))
U3_gaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_gaaa(T61, .(T62, T63), .(T62, X119), X120)
U20_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, X47, X48)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, gt10_out_aa(T22, T23)) → U21_aa(T22, T23, T24, T9, part20_in_gaaa(T22, T24, T44, T45))
U21_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U22_aa(T22, T23, T24, T9, qs1_in_aa(.(T23, T44), X9))
qs1_in_aa(.(T239, .(T240, T241)), T9) → U25_aa(T239, T240, T241, T9, le33_in_aa(T239, T240))
le33_in_aa(s(T98), s(T99)) → U6_aa(T98, T99, le33_in_aa(T98, T99))
le33_in_aa(0, s(T106)) → le33_out_aa(0, s(T106))
le33_in_aa(0, 0) → le33_out_aa(0, 0)
U6_aa(T98, T99, le33_out_aa(T98, T99)) → le33_out_aa(s(T98), s(T99))
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U26_aa(T239, T240, T241, T9, part20_in_gaaa(T239, T241, X437, X438))
U26_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, X437, X438)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U25_aa(T239, T240, T241, T9, le33_out_aa(T239, T240)) → U27_aa(T239, T240, T241, T9, part20_in_gaaa(T239, T241, T249, T250))
U27_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U28_aa(T239, T240, T241, T9, qs53_in_aa(T249, X9))
qs53_in_aa(.(T131, T132), X275) → U7_aa(T131, T132, X275, part20_in_aaaa(T131, T132, X271, X272))
part20_in_aaaa(T61, .(T62, T63), .(T62, X119), X120) → U2_aaaa(T61, T62, T63, X119, X120, gt10_in_aa(T61, T62))
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
U2_aaaa(T61, T62, T63, X119, X120, gt10_out_aa(T61, T62)) → U3_aaaa(T61, T62, T63, X119, X120, part20_in_gaaa(T61, T63, X119, X120))
U3_aaaa(T61, T62, T63, X119, X120, part20_out_gaaa(T61, T63, X119, X120)) → part20_out_aaaa(T61, .(T62, T63), .(T62, X119), X120)
part20_in_aaaa(T83, .(T84, T85), X170, .(T84, X171)) → U4_aaaa(T83, T84, T85, X170, X171, le33_in_aa(T83, T84))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
U4_aaaa(T83, T84, T85, X170, X171, le33_out_aa(T83, T84)) → U5_aaaa(T83, T84, T85, X170, X171, part20_in_gaaa(T83, T85, X170, X171))
U5_aaaa(T83, T84, T85, X170, X171, part20_out_gaaa(T83, T85, X170, X171)) → part20_out_aaaa(T83, .(T84, T85), X170, .(T84, X171))
part20_in_aaaa(T112, [], [], []) → part20_out_aaaa(T112, [], [], [])
U7_aa(T131, T132, X275, part20_out_aaaa(T131, T132, X271, X272)) → qs53_out_aa(.(T131, T132), X275)
qs53_in_aa(.(T131, T132), X275) → U8_aa(T131, T132, X275, part20_in_aaaa(T131, T132, T136, T137))
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U9_aa(T131, T132, X275, qs53_in_aa(T136, X273))
qs53_in_aa([], []) → qs53_out_aa([], [])
U9_aa(T131, T132, X275, qs53_out_aa(T136, X273)) → qs53_out_aa(.(T131, T132), X275)
U8_aa(T131, T132, X275, part20_out_aaaa(T131, T132, T136, T137)) → U10_aa(T131, T132, X275, T137, qs53_in_aa(T136, T143))
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U11_aa(T131, T132, X275, qs53_in_aa(T137, X274))
U11_aa(T131, T132, X275, qs53_out_aa(T137, X274)) → qs53_out_aa(.(T131, T132), X275)
U10_aa(T131, T132, X275, T137, qs53_out_aa(T136, T143)) → U12_aa(T131, T132, X275, T143, qs53_in_aa(T137, T148))
U12_aa(T131, T132, X275, T143, qs53_out_aa(T137, T148)) → U13_aa(T131, T132, X275, app65_in_aaaa(T143, T131, T148, X275))
app65_in_aaaa(.(T171, T172), T173, T174, .(T171, X354)) → U14_aaaa(T171, T172, T173, T174, X354, app65_in_aaaa(T172, T173, T174, X354))
app65_in_aaaa([], T183, T184, .(T183, T184)) → app65_out_aaaa([], T183, T184, .(T183, T184))
U14_aaaa(T171, T172, T173, T174, X354, app65_out_aaaa(T172, T173, T174, X354)) → app65_out_aaaa(.(T171, T172), T173, T174, .(T171, X354))
U13_aa(T131, T132, X275, app65_out_aaaa(T143, T131, T148, X275)) → qs53_out_aa(.(T131, T132), X275)
U28_aa(T239, T240, T241, T9, qs53_out_aa(T249, X9)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
U27_aa(T239, T240, T241, T9, part20_out_gaaa(T239, T241, T249, T250)) → U29_aa(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_aa(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_aa(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
p52_in_aaaga(T45, X10, T115, T22, T9) → U16_aaaga(T45, X10, T115, T22, T9, qs53_in_aa(T45, X10))
U16_aaaga(T45, X10, T115, T22, T9, qs53_out_aa(T45, X10)) → p52_out_aaaga(T45, X10, T115, T22, T9)
p52_in_aaaga(T45, T120, T115, T22, T9) → U17_aaaga(T45, T120, T115, T22, T9, qs53_in_aa(T45, T120))
U17_aaaga(T45, T120, T115, T22, T9, qs53_out_aa(T45, T120)) → U18_aaaga(T45, T120, T115, T22, T9, app54_in_agaa(T115, T22, T120, T9))
app54_in_agaa(.(T210, T211), T212, T213, .(T210, T215)) → U15_agaa(T210, T211, T212, T213, T215, app54_in_agaa(T211, T212, T213, T215))
app54_in_agaa([], T225, T226, .(T225, T226)) → app54_out_agaa([], T225, T226, .(T225, T226))
U15_agaa(T210, T211, T212, T213, T215, app54_out_agaa(T211, T212, T213, T215)) → app54_out_agaa(.(T210, T211), T212, T213, .(T210, T215))
U18_aaaga(T45, T120, T115, T22, T9, app54_out_agaa(T115, T22, T120, T9)) → p52_out_aaaga(T45, T120, T115, T22, T9)
U30_aa(T239, T240, T241, T9, p52_out_aaaga(.(T240, T250), X10, T256, T239, T9)) → qs1_out_aa(.(T239, .(T240, T241)), T9)
qs1_in_aa(.(T265, []), T9) → U31_aa(T265, T9, qs99_in_a(X9))
qs99_in_a([]) → qs99_out_a([])
U31_aa(T265, T9, qs99_out_a(X9)) → qs1_out_aa(.(T265, []), T9)
qs1_in_aa(.(T265, []), T9) → U32_aa(T265, T9, qs99_in_a(T268))
U32_aa(T265, T9, qs99_out_a(T268)) → U33_aa(T265, T9, qs99_in_a(X10))
U33_aa(T265, T9, qs99_out_a(X10)) → qs1_out_aa(.(T265, []), T9)
U32_aa(T265, T9, qs99_out_a(T268)) → U34_aa(T265, T9, T268, qs99_in_a(T273))
U34_aa(T265, T9, T268, qs99_out_a(T273)) → U35_aa(T265, T9, app54_in_gaga(T268, T265, T273, T9))
app54_in_gaga(.(T210, T211), T212, T213, .(T210, T215)) → U15_gaga(T210, T211, T212, T213, T215, app54_in_gaga(T211, T212, T213, T215))
app54_in_gaga([], T225, T226, .(T225, T226)) → app54_out_gaga([], T225, T226, .(T225, T226))
U15_gaga(T210, T211, T212, T213, T215, app54_out_gaga(T211, T212, T213, T215)) → app54_out_gaga(.(T210, T211), T212, T213, .(T210, T215))
U35_aa(T265, T9, app54_out_gaga(T268, T265, T273, T9)) → qs1_out_aa(.(T265, []), T9)
qs1_in_aa([], []) → qs1_out_aa([], [])
U22_aa(T22, T23, T24, T9, qs1_out_aa(.(T23, T44), X9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U21_aa(T22, T23, T24, T9, part20_out_gaaa(T22, T24, T44, T45)) → U23_aa(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_aa(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_aa(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U24_aa(T22, T23, T24, T9, p52_out_aaaga(T45, X10, T115, T22, T9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U22_ga(T22, T23, T24, T9, qs1_out_aa(.(T23, T44), X9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U21_ga(T22, T23, T24, T9, part20_out_ggaa(T22, T24, T44, T45)) → U23_ga(T22, T23, T24, T9, T45, qs1_in_aa(.(T23, T44), T115))
U23_ga(T22, T23, T24, T9, T45, qs1_out_aa(.(T23, T44), T115)) → U24_ga(T22, T23, T24, T9, p52_in_aaaga(T45, X10, T115, T22, T9))
U24_ga(T22, T23, T24, T9, p52_out_aaaga(T45, X10, T115, T22, T9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
qs1_in_ga(.(T239, .(T240, T241)), T9) → U25_ga(T239, T240, T241, T9, le33_in_gg(T239, T240))
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U26_ga(T239, T240, T241, T9, part20_in_ggaa(T239, T241, X437, X438))
U26_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, X437, X438)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U25_ga(T239, T240, T241, T9, le33_out_gg(T239, T240)) → U27_ga(T239, T240, T241, T9, part20_in_ggaa(T239, T241, T249, T250))
U27_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U28_ga(T239, T240, T241, T9, qs53_in_aa(T249, X9))
U28_ga(T239, T240, T241, T9, qs53_out_aa(T249, X9)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
U27_ga(T239, T240, T241, T9, part20_out_ggaa(T239, T241, T249, T250)) → U29_ga(T239, T240, T241, T9, T250, qs53_in_aa(T249, T256))
U29_ga(T239, T240, T241, T9, T250, qs53_out_aa(T249, T256)) → U30_ga(T239, T240, T241, T9, p52_in_aaaga(.(T240, T250), X10, T256, T239, T9))
U30_ga(T239, T240, T241, T9, p52_out_aaaga(.(T240, T250), X10, T256, T239, T9)) → qs1_out_ga(.(T239, .(T240, T241)), T9)
qs1_in_ga(.(T265, []), T9) → U31_ga(T265, T9, qs99_in_a(X9))
U31_ga(T265, T9, qs99_out_a(X9)) → qs1_out_ga(.(T265, []), T9)
qs1_in_ga(.(T265, []), T9) → U32_ga(T265, T9, qs99_in_a(T268))
U32_ga(T265, T9, qs99_out_a(T268)) → U33_ga(T265, T9, qs99_in_a(X10))
U33_ga(T265, T9, qs99_out_a(X10)) → qs1_out_ga(.(T265, []), T9)
U32_ga(T265, T9, qs99_out_a(T268)) → U34_ga(T265, T9, T268, qs99_in_a(T273))
U34_ga(T265, T9, T268, qs99_out_a(T273)) → U35_ga(T265, T9, app54_in_ggga(T268, T265, T273, T9))
app54_in_ggga(.(T210, T211), T212, T213, .(T210, T215)) → U15_ggga(T210, T211, T212, T213, T215, app54_in_ggga(T211, T212, T213, T215))
app54_in_ggga([], T225, T226, .(T225, T226)) → app54_out_ggga([], T225, T226, .(T225, T226))
U15_ggga(T210, T211, T212, T213, T215, app54_out_ggga(T211, T212, T213, T215)) → app54_out_ggga(.(T210, T211), T212, T213, .(T210, T215))
U35_ga(T265, T9, app54_out_ggga(T268, T265, T273, T9)) → qs1_out_ga(.(T265, []), T9)
qs1_in_ga([], []) → qs1_out_ga([], [])

The argument filtering Pi contains the following mapping:
qs1_in_ga(x1, x2)  =  qs1_in_ga(x1)
.(x1, x2)  =  .(x1, x2)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x3, x5)
gt10_in_gg(x1, x2)  =  gt10_in_gg(x1, x2)
s(x1)  =  s(x1)
U1_gg(x1, x2, x3)  =  U1_gg(x3)
0  =  0
gt10_out_gg(x1, x2)  =  gt10_out_gg
qs1_out_ga(x1, x2)  =  qs1_out_ga
U20_ga(x1, x2, x3, x4, x5)  =  U20_ga(x5)
part20_in_ggaa(x1, x2, x3, x4)  =  part20_in_ggaa(x1, x2)
U2_ggaa(x1, x2, x3, x4, x5, x6)  =  U2_ggaa(x1, x3, x6)
part20_out_ggaa(x1, x2, x3, x4)  =  part20_out_ggaa
U3_ggaa(x1, x2, x3, x4, x5, x6)  =  U3_ggaa(x6)
U4_ggaa(x1, x2, x3, x4, x5, x6)  =  U4_ggaa(x1, x3, x6)
le33_in_gg(x1, x2)  =  le33_in_gg(x1, x2)
U6_gg(x1, x2, x3)  =  U6_gg(x3)
le33_out_gg(x1, x2)  =  le33_out_gg
U5_ggaa(x1, x2, x3, x4, x5, x6)  =  U5_ggaa(x6)
[]  =  []
U21_ga(x1, x2, x3, x4, x5)  =  U21_ga(x1, x5)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x5)
qs1_in_aa(x1, x2)  =  qs1_in_aa
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(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_aa(x1, x2)  =  qs1_out_aa
U20_aa(x1, x2, x3, x4, x5)  =  U20_aa(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(x3)
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(x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x1, x6)
le33_in_ga(x1, x2)  =  le33_in_ga(x1)
U6_ga(x1, x2, x3)  =  U6_ga(x3)
le33_out_ga(x1, x2)  =  le33_out_ga
U5_gaaa(x1, x2, x3, x4, x5, x6)  =  U5_gaaa(x6)
U21_aa(x1, x2, x3, x4, x5)  =  U21_aa(x1, x5)
U22_aa(x1, x2, x3, x4, x5)  =  U22_aa(x5)
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
le33_in_aa(x1, x2)  =  le33_in_aa
U6_aa(x1, x2, x3)  =  U6_aa(x3)
le33_out_aa(x1, x2)  =  le33_out_aa(x1)
U26_aa(x1, x2, x3, x4, x5)  =  U26_aa(x5)
U27_aa(x1, x2, x3, x4, x5)  =  U27_aa(x1, x5)
U28_aa(x1, x2, x3, x4, x5)  =  U28_aa(x5)
qs53_in_aa(x1, x2)  =  qs53_in_aa
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
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)
qs53_out_aa(x1, x2)  =  qs53_out_aa
U8_aa(x1, x2, x3, x4)  =  U8_aa(x4)
U9_aa(x1, x2, x3, x4)  =  U9_aa(x4)
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4)  =  U11_aa(x4)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4)  =  U13_aa(x4)
app65_in_aaaa(x1, x2, x3, x4)  =  app65_in_aaaa
U14_aaaa(x1, x2, x3, x4, x5, x6)  =  U14_aaaa(x6)
app65_out_aaaa(x1, x2, x3, x4)  =  app65_out_aaaa
U29_aa(x1, x2, x3, x4, x5, x6)  =  U29_aa(x1, x6)
U30_aa(x1, x2, x3, x4, x5)  =  U30_aa(x5)
p52_in_aaaga(x1, x2, x3, x4, x5)  =  p52_in_aaaga(x4)
U16_aaaga(x1, x2, x3, x4, x5, x6)  =  U16_aaaga(x6)
p52_out_aaaga(x1, x2, x3, x4, x5)  =  p52_out_aaaga
U17_aaaga(x1, x2, x3, x4, x5, x6)  =  U17_aaaga(x4, x6)
U18_aaaga(x1, x2, x3, x4, x5, x6)  =  U18_aaaga(x6)
app54_in_agaa(x1, x2, x3, x4)  =  app54_in_agaa(x2)
U15_agaa(x1, x2, x3, x4, x5, x6)  =  U15_agaa(x6)
app54_out_agaa(x1, x2, x3, x4)  =  app54_out_agaa
U31_aa(x1, x2, x3)  =  U31_aa(x3)
qs99_in_a(x1)  =  qs99_in_a
qs99_out_a(x1)  =  qs99_out_a(x1)
U32_aa(x1, x2, x3)  =  U32_aa(x3)
U33_aa(x1, x2, x3)  =  U33_aa(x3)
U34_aa(x1, x2, x3, x4)  =  U34_aa(x3, x4)
U35_aa(x1, x2, x3)  =  U35_aa(x3)
app54_in_gaga(x1, x2, x3, x4)  =  app54_in_gaga(x1, x3)
U15_gaga(x1, x2, x3, x4, x5, x6)  =  U15_gaga(x6)
app54_out_gaga(x1, x2, x3, x4)  =  app54_out_gaga
U23_aa(x1, x2, x3, x4, x5, x6)  =  U23_aa(x1, x6)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U23_ga(x1, x2, x3, x4, x5, x6)  =  U23_ga(x1, x6)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x5)
U25_ga(x1, x2, x3, x4, x5)  =  U25_ga(x1, x3, x5)
U26_ga(x1, x2, x3, x4, x5)  =  U26_ga(x5)
U27_ga(x1, x2, x3, x4, x5)  =  U27_ga(x1, x5)
U28_ga(x1, x2, x3, x4, x5)  =  U28_ga(x5)
U29_ga(x1, x2, x3, x4, x5, x6)  =  U29_ga(x1, x6)
U30_ga(x1, x2, x3, x4, x5)  =  U30_ga(x5)
U31_ga(x1, x2, x3)  =  U31_ga(x3)
U32_ga(x1, x2, x3)  =  U32_ga(x1, x3)
U33_ga(x1, x2, x3)  =  U33_ga(x3)
U34_ga(x1, x2, x3, x4)  =  U34_ga(x1, x3, x4)
U35_ga(x1, x2, x3)  =  U35_ga(x3)
app54_in_ggga(x1, x2, x3, x4)  =  app54_in_ggga(x1, x2, x3)
U15_ggga(x1, x2, x3, x4, x5, x6)  =  U15_ggga(x1, x6)
app54_out_ggga(x1, x2, x3, x4)  =  app54_out_ggga(x4)
PART20_IN_GGAA(x1, x2, x3, x4)  =  PART20_IN_GGAA(x1, x2)
U2_GGAA(x1, x2, x3, x4, x5, x6)  =  U2_GGAA(x1, x3, x6)
U4_GGAA(x1, x2, x3, x4, x5, x6)  =  U4_GGAA(x1, x3, x6)

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

(257) UsableRulesProof (EQUIVALENT transformation)

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

(258) Obligation:

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

PART20_IN_GGAA(T61, .(T62, T63), .(T62, X119), X120) → U2_GGAA(T61, T62, T63, X119, X120, gt10_in_gg(T61, T62))
U2_GGAA(T61, T62, T63, X119, X120, gt10_out_gg(T61, T62)) → PART20_IN_GGAA(T61, T63, X119, X120)
PART20_IN_GGAA(T83, .(T84, T85), X170, .(T84, X171)) → U4_GGAA(T83, T84, T85, X170, X171, le33_in_gg(T83, T84))
U4_GGAA(T83, T84, T85, X170, X171, le33_out_gg(T83, T84)) → PART20_IN_GGAA(T83, T85, X170, X171)

The TRS R consists of the following rules:

gt10_in_gg(s(T37), s(T38)) → U1_gg(T37, T38, gt10_in_gg(T37, T38))
gt10_in_gg(s(0), 0) → gt10_out_gg(s(0), 0)
le33_in_gg(s(T98), s(T99)) → U6_gg(T98, T99, le33_in_gg(T98, T99))
le33_in_gg(0, s(T106)) → le33_out_gg(0, s(T106))
le33_in_gg(0, 0) → le33_out_gg(0, 0)
U1_gg(T37, T38, gt10_out_gg(T37, T38)) → gt10_out_gg(s(T37), s(T38))
U6_gg(T98, T99, le33_out_gg(T98, T99)) → le33_out_gg(s(T98), s(T99))

The argument filtering Pi contains the following mapping:
.(x1, x2)  =  .(x1, x2)
gt10_in_gg(x1, x2)  =  gt10_in_gg(x1, x2)
s(x1)  =  s(x1)
U1_gg(x1, x2, x3)  =  U1_gg(x3)
0  =  0
gt10_out_gg(x1, x2)  =  gt10_out_gg
le33_in_gg(x1, x2)  =  le33_in_gg(x1, x2)
U6_gg(x1, x2, x3)  =  U6_gg(x3)
le33_out_gg(x1, x2)  =  le33_out_gg
PART20_IN_GGAA(x1, x2, x3, x4)  =  PART20_IN_GGAA(x1, x2)
U2_GGAA(x1, x2, x3, x4, x5, x6)  =  U2_GGAA(x1, x3, x6)
U4_GGAA(x1, x2, x3, x4, x5, x6)  =  U4_GGAA(x1, x3, x6)

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

(259) PiDPToQDPProof (SOUND transformation)

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

(260) Obligation:

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

PART20_IN_GGAA(T61, .(T62, T63)) → U2_GGAA(T61, T63, gt10_in_gg(T61, T62))
U2_GGAA(T61, T63, gt10_out_gg) → PART20_IN_GGAA(T61, T63)
PART20_IN_GGAA(T83, .(T84, T85)) → U4_GGAA(T83, T85, le33_in_gg(T83, T84))
U4_GGAA(T83, T85, le33_out_gg) → PART20_IN_GGAA(T83, T85)

The TRS R consists of the following rules:

gt10_in_gg(s(T37), s(T38)) → U1_gg(gt10_in_gg(T37, T38))
gt10_in_gg(s(0), 0) → gt10_out_gg
le33_in_gg(s(T98), s(T99)) → U6_gg(le33_in_gg(T98, T99))
le33_in_gg(0, s(T106)) → le33_out_gg
le33_in_gg(0, 0) → le33_out_gg
U1_gg(gt10_out_gg) → gt10_out_gg
U6_gg(le33_out_gg) → le33_out_gg

The set Q consists of the following terms:

gt10_in_gg(x0, x1)
le33_in_gg(x0, x1)
U1_gg(x0)
U6_gg(x0)

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

(261) 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:

  • U2_GGAA(T61, T63, gt10_out_gg) → PART20_IN_GGAA(T61, T63)
    The graph contains the following edges 1 >= 1, 2 >= 2

  • U4_GGAA(T83, T85, le33_out_gg) → PART20_IN_GGAA(T83, T85)
    The graph contains the following edges 1 >= 1, 2 >= 2

  • PART20_IN_GGAA(T61, .(T62, T63)) → U2_GGAA(T61, T63, gt10_in_gg(T61, T62))
    The graph contains the following edges 1 >= 1, 2 > 2

  • PART20_IN_GGAA(T83, .(T84, T85)) → U4_GGAA(T83, T85, le33_in_gg(T83, T84))
    The graph contains the following edges 1 >= 1, 2 > 2

(262) YES