(0) Obligation:

Clauses:

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

Queries:

qs(g,a).

(1) PrologToPrologProblemTransformerProof (SOUND transformation)

Built Prolog problem from termination graph.

(2) Obligation:

Clauses:

less14(0, s(T33)).
less14(s(T38), s(T39)) :- less14(T38, T39).
part24(T62, .(T63, T64), .(T63, X126), X127) :- less14(T62, T63).
part24(T62, .(T63, T64), .(T63, X126), X127) :- ','(less14(T62, T63), part24(T62, T64, X126, X127)).
part24(T84, .(T85, T86), X177, .(T85, X178)) :- part24(T84, T86, X177, X178).
part24(T92, [], [], []).
qs42([], []).
qs42(.(T103, T104), X230) :- part24(T103, T104, X226, X227).
qs42(.(T103, T104), X230) :- ','(part24(T103, T104, T108, T109), qs42(T108, X228)).
qs42(.(T103, T104), X230) :- ','(part24(T103, T104, T108, T109), ','(qs42(T108, T113), qs42(T109, X229))).
qs42(.(T103, T104), X230) :- ','(part24(T103, T104, T108, T109), ','(qs42(T108, T113), ','(qs42(T109, T114), app57(T113, T103, T114, X230)))).
app57([], T127, T128, .(T127, T128)).
app57(.(T137, T138), T139, T140, .(T137, X270)) :- app57(T138, T139, T140, X270).
app43([], T157, T158, .(T157, T158)).
app43(.(T169, T170), T171, T172, .(T169, T174)) :- app43(T170, T171, T172, T174).
p41(T46, X15, T95, T22, T9) :- qs42(T46, X15).
p41(T46, T98, T95, T22, T9) :- ','(qs42(T46, T98), app43(T95, T22, T98, T9)).
qs84([]).
qs1([], []).
qs1(.(T22, .(T23, T24)), T9) :- less14(T22, T23).
qs1(.(T22, .(T23, T24)), T9) :- ','(less14(T22, T23), part24(T22, T24, X52, X53)).
qs1(.(T22, .(T23, T24)), T9) :- ','(less14(T22, T23), ','(part24(T22, T24, T45, T46), qs1(.(T23, T45), X14))).
qs1(.(T22, .(T23, T24)), T9) :- ','(less14(T22, T23), ','(part24(T22, T24, T45, T46), ','(qs1(.(T23, T45), T95), p41(T46, X15, T95, T22, T9)))).
qs1(.(T191, .(T192, T193)), T9) :- part24(T191, T193, X336, X337).
qs1(.(T191, .(T192, T193)), T9) :- ','(part24(T191, T193, T197, T198), qs42(T197, X14)).
qs1(.(T191, .(T192, T193)), T9) :- ','(part24(T191, T193, T197, T198), ','(qs42(T197, T202), p41(.(T192, T198), X15, T202, T191, T9))).
qs1(.(T207, []), T9) :- qs84(X14).
qs1(.(T207, []), T9) :- ','(qs84(T210), qs84(X15)).
qs1(.(T207, []), T9) :- ','(qs84(T210), ','(qs84(T213), app43(T210, T207, T213, T9))).

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)
less14_in: (b,b) (f,f) (b,f)
part24_in: (b,b,f,f) (b,f,f,f) (f,f,f,f)
qs42_in: (f,f)
app57_in: (f,f,f,f)
p41_in: (f,f,f,f,f) (f,f,f,b,f)
app43_in: (f,f,f,f) (b,f,b,f) (f,b,f,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([], []) → qs1_out_ga([], [])
qs1_in_ga(.(T22, .(T23, T24)), T9) → U17_ga(T22, T23, T24, T9, less14_in_gg(T22, T23))
less14_in_gg(0, s(T33)) → less14_out_gg(0, s(T33))
less14_in_gg(s(T38), s(T39)) → U1_gg(T38, T39, less14_in_gg(T38, T39))
U1_gg(T38, T39, less14_out_gg(T38, T39)) → less14_out_gg(s(T38), s(T39))
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U18_ga(T22, T23, T24, T9, part24_in_ggaa(T22, T24, X52, X53))
part24_in_ggaa(T62, .(T63, T64), .(T63, X126), X127) → U2_ggaa(T62, T63, T64, X126, X127, less14_in_gg(T62, T63))
U2_ggaa(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → part24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
U2_ggaa(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → U3_ggaa(T62, T63, T64, X126, X127, part24_in_ggaa(T62, T64, X126, X127))
part24_in_ggaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_ggaa(T84, T85, T86, X177, X178, part24_in_ggaa(T84, T86, X177, X178))
part24_in_ggaa(T92, [], [], []) → part24_out_ggaa(T92, [], [], [])
U4_ggaa(T84, T85, T86, X177, X178, part24_out_ggaa(T84, T86, X177, X178)) → part24_out_ggaa(T84, .(T85, T86), X177, .(T85, X178))
U3_ggaa(T62, T63, T64, X126, X127, part24_out_ggaa(T62, T64, X126, X127)) → part24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
U18_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, X52, X53)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U19_ga(T22, T23, T24, T9, part24_in_ggaa(T22, T24, T45, T46))
U19_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U20_ga(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
qs1_in_aa([], []) → qs1_out_aa([], [])
qs1_in_aa(.(T22, .(T23, T24)), T9) → U17_aa(T22, T23, T24, T9, less14_in_aa(T22, T23))
less14_in_aa(0, s(T33)) → less14_out_aa(0, s(T33))
less14_in_aa(s(T38), s(T39)) → U1_aa(T38, T39, less14_in_aa(T38, T39))
U1_aa(T38, T39, less14_out_aa(T38, T39)) → less14_out_aa(s(T38), s(T39))
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U18_aa(T22, T23, T24, T9, part24_in_gaaa(T22, T24, X52, X53))
part24_in_gaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_gaaa(T62, T63, T64, X126, X127, less14_in_ga(T62, T63))
less14_in_ga(0, s(T33)) → less14_out_ga(0, s(T33))
less14_in_ga(s(T38), s(T39)) → U1_ga(T38, T39, less14_in_ga(T38, T39))
U1_ga(T38, T39, less14_out_ga(T38, T39)) → less14_out_ga(s(T38), s(T39))
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → U3_gaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
part24_in_gaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_gaaa(T84, T85, T86, X177, X178, part24_in_gaaa(T84, T86, X177, X178))
part24_in_gaaa(T92, [], [], []) → part24_out_gaaa(T92, [], [], [])
U4_gaaa(T84, T85, T86, X177, X178, part24_out_gaaa(T84, T86, X177, X178)) → part24_out_gaaa(T84, .(T85, T86), X177, .(T85, X178))
U3_gaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U18_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, X52, X53)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U19_aa(T22, T23, T24, T9, part24_in_gaaa(T22, T24, T45, T46))
U19_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U20_aa(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
qs1_in_aa(.(T191, .(T192, T193)), T9) → U23_aa(T191, T192, T193, T9, part24_in_aaaa(T191, T193, X336, X337))
part24_in_aaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_aaaa(T62, T63, T64, X126, X127, less14_in_aa(T62, T63))
U2_aaaa(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → part24_out_aaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_aaaa(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → U3_aaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
U3_aaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_aaaa(T62, .(T63, T64), .(T63, X126), X127)
part24_in_aaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_aaaa(T84, T85, T86, X177, X178, part24_in_aaaa(T84, T86, X177, X178))
part24_in_aaaa(T92, [], [], []) → part24_out_aaaa(T92, [], [], [])
U4_aaaa(T84, T85, T86, X177, X178, part24_out_aaaa(T84, T86, X177, X178)) → part24_out_aaaa(T84, .(T85, T86), X177, .(T85, X178))
U23_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, X336, X337)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
qs1_in_aa(.(T191, .(T192, T193)), T9) → U24_aa(T191, T192, T193, T9, part24_in_aaaa(T191, T193, T197, T198))
U24_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U25_aa(T191, T192, T193, T9, qs42_in_aa(T197, X14))
qs42_in_aa([], []) → qs42_out_aa([], [])
qs42_in_aa(.(T103, T104), X230) → U5_aa(T103, T104, X230, part24_in_aaaa(T103, T104, X226, X227))
U5_aa(T103, T104, X230, part24_out_aaaa(T103, T104, X226, X227)) → qs42_out_aa(.(T103, T104), X230)
qs42_in_aa(.(T103, T104), X230) → U6_aa(T103, T104, X230, part24_in_aaaa(T103, T104, T108, T109))
U6_aa(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U7_aa(T103, T104, X230, qs42_in_aa(T108, X228))
U7_aa(T103, T104, X230, qs42_out_aa(T108, X228)) → qs42_out_aa(.(T103, T104), X230)
U6_aa(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U8_aa(T103, T104, X230, T109, qs42_in_aa(T108, T113))
U8_aa(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U9_aa(T103, T104, X230, qs42_in_aa(T109, X229))
U9_aa(T103, T104, X230, qs42_out_aa(T109, X229)) → qs42_out_aa(.(T103, T104), X230)
U8_aa(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U10_aa(T103, T104, X230, T113, qs42_in_aa(T109, T114))
U10_aa(T103, T104, X230, T113, qs42_out_aa(T109, T114)) → U11_aa(T103, T104, X230, app57_in_aaaa(T113, T103, T114, X230))
app57_in_aaaa([], T127, T128, .(T127, T128)) → app57_out_aaaa([], T127, T128, .(T127, T128))
app57_in_aaaa(.(T137, T138), T139, T140, .(T137, X270)) → U12_aaaa(T137, T138, T139, T140, X270, app57_in_aaaa(T138, T139, T140, X270))
U12_aaaa(T137, T138, T139, T140, X270, app57_out_aaaa(T138, T139, T140, X270)) → app57_out_aaaa(.(T137, T138), T139, T140, .(T137, X270))
U11_aa(T103, T104, X230, app57_out_aaaa(T113, T103, T114, X230)) → qs42_out_aa(.(T103, T104), X230)
U25_aa(T191, T192, T193, T9, qs42_out_aa(T197, X14)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
U24_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U26_aa(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_aa(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_aa(T191, T192, T193, T9, p41_in_aaaaa(.(T192, T198), X15, T202, T191, T9))
p41_in_aaaaa(T46, X15, T95, T22, T9) → U14_aaaaa(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
U14_aaaaa(T46, X15, T95, T22, T9, qs42_out_aa(T46, X15)) → p41_out_aaaaa(T46, X15, T95, T22, T9)
p41_in_aaaaa(T46, T98, T95, T22, T9) → U15_aaaaa(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_aaaaa(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_aaaaa(T46, T98, T95, T22, T9, app43_in_aaaa(T95, T22, T98, T9))
app43_in_aaaa([], T157, T158, .(T157, T158)) → app43_out_aaaa([], T157, T158, .(T157, T158))
app43_in_aaaa(.(T169, T170), T171, T172, .(T169, T174)) → U13_aaaa(T169, T170, T171, T172, T174, app43_in_aaaa(T170, T171, T172, T174))
U13_aaaa(T169, T170, T171, T172, T174, app43_out_aaaa(T170, T171, T172, T174)) → app43_out_aaaa(.(T169, T170), T171, T172, .(T169, T174))
U16_aaaaa(T46, T98, T95, T22, T9, app43_out_aaaa(T95, T22, T98, T9)) → p41_out_aaaaa(T46, T98, T95, T22, T9)
U27_aa(T191, T192, T193, T9, p41_out_aaaaa(.(T192, T198), X15, T202, T191, T9)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
qs1_in_aa(.(T207, []), T9) → U28_aa(T207, T9, qs84_in_a(X14))
qs84_in_a([]) → qs84_out_a([])
U28_aa(T207, T9, qs84_out_a(X14)) → qs1_out_aa(.(T207, []), T9)
qs1_in_aa(.(T207, []), T9) → U29_aa(T207, T9, qs84_in_a(T210))
U29_aa(T207, T9, qs84_out_a(T210)) → U30_aa(T207, T9, qs84_in_a(X15))
U30_aa(T207, T9, qs84_out_a(X15)) → qs1_out_aa(.(T207, []), T9)
U29_aa(T207, T9, qs84_out_a(T210)) → U31_aa(T207, T9, T210, qs84_in_a(T213))
U31_aa(T207, T9, T210, qs84_out_a(T213)) → U32_aa(T207, T9, app43_in_gaga(T210, T207, T213, T9))
app43_in_gaga([], T157, T158, .(T157, T158)) → app43_out_gaga([], T157, T158, .(T157, T158))
app43_in_gaga(.(T169, T170), T171, T172, .(T169, T174)) → U13_gaga(T169, T170, T171, T172, T174, app43_in_gaga(T170, T171, T172, T174))
U13_gaga(T169, T170, T171, T172, T174, app43_out_gaga(T170, T171, T172, T174)) → app43_out_gaga(.(T169, T170), T171, T172, .(T169, T174))
U32_aa(T207, T9, app43_out_gaga(T210, T207, T213, T9)) → qs1_out_aa(.(T207, []), T9)
U20_aa(T22, T23, T24, T9, qs1_out_aa(.(T23, T45), X14)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U21_aa(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_aa(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_aa(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
p41_in_aaaga(T46, X15, T95, T22, T9) → U14_aaaga(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
U14_aaaga(T46, X15, T95, T22, T9, qs42_out_aa(T46, X15)) → p41_out_aaaga(T46, X15, T95, T22, T9)
p41_in_aaaga(T46, T98, T95, T22, T9) → U15_aaaga(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_aaaga(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_aaaga(T46, T98, T95, T22, T9, app43_in_agaa(T95, T22, T98, T9))
app43_in_agaa([], T157, T158, .(T157, T158)) → app43_out_agaa([], T157, T158, .(T157, T158))
app43_in_agaa(.(T169, T170), T171, T172, .(T169, T174)) → U13_agaa(T169, T170, T171, T172, T174, app43_in_agaa(T170, T171, T172, T174))
U13_agaa(T169, T170, T171, T172, T174, app43_out_agaa(T170, T171, T172, T174)) → app43_out_agaa(.(T169, T170), T171, T172, .(T169, T174))
U16_aaaga(T46, T98, T95, T22, T9, app43_out_agaa(T95, T22, T98, T9)) → p41_out_aaaga(T46, T98, T95, T22, T9)
U22_aa(T22, T23, T24, T9, p41_out_aaaga(T46, X15, T95, T22, T9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U20_ga(T22, T23, T24, T9, qs1_out_aa(.(T23, T45), X14)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U21_ga(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_ga(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_ga(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
U22_ga(T22, T23, T24, T9, p41_out_aaaga(T46, X15, T95, T22, T9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
qs1_in_ga(.(T191, .(T192, T193)), T9) → U23_ga(T191, T192, T193, T9, part24_in_ggaa(T191, T193, X336, X337))
U23_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, X336, X337)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
qs1_in_ga(.(T191, .(T192, T193)), T9) → U24_ga(T191, T192, T193, T9, part24_in_ggaa(T191, T193, T197, T198))
U24_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U25_ga(T191, T192, T193, T9, qs42_in_aa(T197, X14))
U25_ga(T191, T192, T193, T9, qs42_out_aa(T197, X14)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
U24_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U26_ga(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_ga(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_ga(T191, T192, T193, T9, p41_in_aaaga(.(T192, T198), X15, T202, T191, T9))
U27_ga(T191, T192, T193, T9, p41_out_aaaga(.(T192, T198), X15, T202, T191, T9)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
qs1_in_ga(.(T207, []), T9) → U28_ga(T207, T9, qs84_in_a(X14))
U28_ga(T207, T9, qs84_out_a(X14)) → qs1_out_ga(.(T207, []), T9)
qs1_in_ga(.(T207, []), T9) → U29_ga(T207, T9, qs84_in_a(T210))
U29_ga(T207, T9, qs84_out_a(T210)) → U30_ga(T207, T9, qs84_in_a(X15))
U30_ga(T207, T9, qs84_out_a(X15)) → qs1_out_ga(.(T207, []), T9)
U29_ga(T207, T9, qs84_out_a(T210)) → U31_ga(T207, T9, T210, qs84_in_a(T213))
U31_ga(T207, T9, T210, qs84_out_a(T213)) → U32_ga(T207, T9, app43_in_ggga(T210, T207, T213, T9))
app43_in_ggga([], T157, T158, .(T157, T158)) → app43_out_ggga([], T157, T158, .(T157, T158))
app43_in_ggga(.(T169, T170), T171, T172, .(T169, T174)) → U13_ggga(T169, T170, T171, T172, T174, app43_in_ggga(T170, T171, T172, T174))
U13_ggga(T169, T170, T171, T172, T174, app43_out_ggga(T170, T171, T172, T174)) → app43_out_ggga(.(T169, T170), T171, T172, .(T169, T174))
U32_ga(T207, T9, app43_out_ggga(T210, T207, T213, T9)) → qs1_out_ga(.(T207, []), T9)

The argument filtering Pi contains the following mapping:
qs1_in_ga(x1, x2)  =  qs1_in_ga(x1)
[]  =  []
qs1_out_ga(x1, x2)  =  qs1_out_ga
.(x1, x2)  =  .(x1, x2)
U17_ga(x1, x2, x3, x4, x5)  =  U17_ga(x1, x3, x5)
less14_in_gg(x1, x2)  =  less14_in_gg(x1, x2)
0  =  0
s(x1)  =  s(x1)
less14_out_gg(x1, x2)  =  less14_out_gg
U1_gg(x1, x2, x3)  =  U1_gg(x3)
U18_ga(x1, x2, x3, x4, x5)  =  U18_ga(x5)
part24_in_ggaa(x1, x2, x3, x4)  =  part24_in_ggaa(x1, x2)
U2_ggaa(x1, x2, x3, x4, x5, x6)  =  U2_ggaa(x1, x3, x6)
part24_out_ggaa(x1, x2, x3, x4)  =  part24_out_ggaa
U3_ggaa(x1, x2, x3, x4, x5, x6)  =  U3_ggaa(x6)
U4_ggaa(x1, x2, x3, x4, x5, x6)  =  U4_ggaa(x6)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x5)
U20_ga(x1, x2, x3, x4, x5)  =  U20_ga(x5)
qs1_in_aa(x1, x2)  =  qs1_in_aa
qs1_out_aa(x1, x2)  =  qs1_out_aa
U17_aa(x1, x2, x3, x4, x5)  =  U17_aa(x5)
less14_in_aa(x1, x2)  =  less14_in_aa
less14_out_aa(x1, x2)  =  less14_out_aa(x1)
U1_aa(x1, x2, x3)  =  U1_aa(x3)
U18_aa(x1, x2, x3, x4, x5)  =  U18_aa(x5)
part24_in_gaaa(x1, x2, x3, x4)  =  part24_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x1, x6)
less14_in_ga(x1, x2)  =  less14_in_ga(x1)
less14_out_ga(x1, x2)  =  less14_out_ga
U1_ga(x1, x2, x3)  =  U1_ga(x3)
part24_out_gaaa(x1, x2, x3, x4)  =  part24_out_gaaa
U3_gaaa(x1, x2, x3, x4, x5, x6)  =  U3_gaaa(x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x6)
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(x1, x5)
U20_aa(x1, x2, x3, x4, x5)  =  U20_aa(x5)
U23_aa(x1, x2, x3, x4, x5)  =  U23_aa(x5)
part24_in_aaaa(x1, x2, x3, x4)  =  part24_in_aaaa
U2_aaaa(x1, x2, x3, x4, x5, x6)  =  U2_aaaa(x6)
part24_out_aaaa(x1, x2, x3, x4)  =  part24_out_aaaa
U3_aaaa(x1, x2, x3, x4, x5, x6)  =  U3_aaaa(x6)
U4_aaaa(x1, x2, x3, x4, x5, x6)  =  U4_aaaa(x6)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
qs42_in_aa(x1, x2)  =  qs42_in_aa
qs42_out_aa(x1, x2)  =  qs42_out_aa
U5_aa(x1, x2, x3, x4)  =  U5_aa(x4)
U6_aa(x1, x2, x3, x4)  =  U6_aa(x4)
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
U8_aa(x1, x2, x3, x4, x5)  =  U8_aa(x5)
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)
app57_in_aaaa(x1, x2, x3, x4)  =  app57_in_aaaa
app57_out_aaaa(x1, x2, x3, x4)  =  app57_out_aaaa
U12_aaaa(x1, x2, x3, x4, x5, x6)  =  U12_aaaa(x6)
U26_aa(x1, x2, x3, x4, x5, x6)  =  U26_aa(x6)
U27_aa(x1, x2, x3, x4, x5)  =  U27_aa(x5)
p41_in_aaaaa(x1, x2, x3, x4, x5)  =  p41_in_aaaaa
U14_aaaaa(x1, x2, x3, x4, x5, x6)  =  U14_aaaaa(x6)
p41_out_aaaaa(x1, x2, x3, x4, x5)  =  p41_out_aaaaa
U15_aaaaa(x1, x2, x3, x4, x5, x6)  =  U15_aaaaa(x6)
U16_aaaaa(x1, x2, x3, x4, x5, x6)  =  U16_aaaaa(x6)
app43_in_aaaa(x1, x2, x3, x4)  =  app43_in_aaaa
app43_out_aaaa(x1, x2, x3, x4)  =  app43_out_aaaa
U13_aaaa(x1, x2, x3, x4, x5, x6)  =  U13_aaaa(x6)
U28_aa(x1, x2, x3)  =  U28_aa(x3)
qs84_in_a(x1)  =  qs84_in_a
qs84_out_a(x1)  =  qs84_out_a(x1)
U29_aa(x1, x2, x3)  =  U29_aa(x3)
U30_aa(x1, x2, x3)  =  U30_aa(x3)
U31_aa(x1, x2, x3, x4)  =  U31_aa(x3, x4)
U32_aa(x1, x2, x3)  =  U32_aa(x3)
app43_in_gaga(x1, x2, x3, x4)  =  app43_in_gaga(x1, x3)
app43_out_gaga(x1, x2, x3, x4)  =  app43_out_gaga
U13_gaga(x1, x2, x3, x4, x5, x6)  =  U13_gaga(x6)
U21_aa(x1, x2, x3, x4, x5, x6)  =  U21_aa(x1, x6)
U22_aa(x1, x2, x3, x4, x5)  =  U22_aa(x5)
p41_in_aaaga(x1, x2, x3, x4, x5)  =  p41_in_aaaga(x4)
U14_aaaga(x1, x2, x3, x4, x5, x6)  =  U14_aaaga(x6)
p41_out_aaaga(x1, x2, x3, x4, x5)  =  p41_out_aaaga
U15_aaaga(x1, x2, x3, x4, x5, x6)  =  U15_aaaga(x4, x6)
U16_aaaga(x1, x2, x3, x4, x5, x6)  =  U16_aaaga(x6)
app43_in_agaa(x1, x2, x3, x4)  =  app43_in_agaa(x2)
app43_out_agaa(x1, x2, x3, x4)  =  app43_out_agaa
U13_agaa(x1, x2, x3, x4, x5, x6)  =  U13_agaa(x6)
U21_ga(x1, x2, x3, x4, x5, x6)  =  U21_ga(x1, x6)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x5)
U23_ga(x1, x2, x3, x4, x5)  =  U23_ga(x5)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x1, x5)
U25_ga(x1, x2, x3, x4, x5)  =  U25_ga(x5)
U26_ga(x1, x2, x3, x4, x5, x6)  =  U26_ga(x1, x6)
U27_ga(x1, x2, x3, x4, x5)  =  U27_ga(x5)
U28_ga(x1, x2, x3)  =  U28_ga(x3)
U29_ga(x1, x2, x3)  =  U29_ga(x1, x3)
U30_ga(x1, x2, x3)  =  U30_ga(x3)
U31_ga(x1, x2, x3, x4)  =  U31_ga(x1, x3, x4)
U32_ga(x1, x2, x3)  =  U32_ga(x3)
app43_in_ggga(x1, x2, x3, x4)  =  app43_in_ggga(x1, x2, x3)
app43_out_ggga(x1, x2, x3, x4)  =  app43_out_ggga(x4)
U13_ggga(x1, x2, x3, x4, x5, x6)  =  U13_ggga(x1, x6)

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([], []) → qs1_out_ga([], [])
qs1_in_ga(.(T22, .(T23, T24)), T9) → U17_ga(T22, T23, T24, T9, less14_in_gg(T22, T23))
less14_in_gg(0, s(T33)) → less14_out_gg(0, s(T33))
less14_in_gg(s(T38), s(T39)) → U1_gg(T38, T39, less14_in_gg(T38, T39))
U1_gg(T38, T39, less14_out_gg(T38, T39)) → less14_out_gg(s(T38), s(T39))
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U18_ga(T22, T23, T24, T9, part24_in_ggaa(T22, T24, X52, X53))
part24_in_ggaa(T62, .(T63, T64), .(T63, X126), X127) → U2_ggaa(T62, T63, T64, X126, X127, less14_in_gg(T62, T63))
U2_ggaa(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → part24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
U2_ggaa(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → U3_ggaa(T62, T63, T64, X126, X127, part24_in_ggaa(T62, T64, X126, X127))
part24_in_ggaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_ggaa(T84, T85, T86, X177, X178, part24_in_ggaa(T84, T86, X177, X178))
part24_in_ggaa(T92, [], [], []) → part24_out_ggaa(T92, [], [], [])
U4_ggaa(T84, T85, T86, X177, X178, part24_out_ggaa(T84, T86, X177, X178)) → part24_out_ggaa(T84, .(T85, T86), X177, .(T85, X178))
U3_ggaa(T62, T63, T64, X126, X127, part24_out_ggaa(T62, T64, X126, X127)) → part24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
U18_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, X52, X53)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U19_ga(T22, T23, T24, T9, part24_in_ggaa(T22, T24, T45, T46))
U19_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U20_ga(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
qs1_in_aa([], []) → qs1_out_aa([], [])
qs1_in_aa(.(T22, .(T23, T24)), T9) → U17_aa(T22, T23, T24, T9, less14_in_aa(T22, T23))
less14_in_aa(0, s(T33)) → less14_out_aa(0, s(T33))
less14_in_aa(s(T38), s(T39)) → U1_aa(T38, T39, less14_in_aa(T38, T39))
U1_aa(T38, T39, less14_out_aa(T38, T39)) → less14_out_aa(s(T38), s(T39))
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U18_aa(T22, T23, T24, T9, part24_in_gaaa(T22, T24, X52, X53))
part24_in_gaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_gaaa(T62, T63, T64, X126, X127, less14_in_ga(T62, T63))
less14_in_ga(0, s(T33)) → less14_out_ga(0, s(T33))
less14_in_ga(s(T38), s(T39)) → U1_ga(T38, T39, less14_in_ga(T38, T39))
U1_ga(T38, T39, less14_out_ga(T38, T39)) → less14_out_ga(s(T38), s(T39))
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → U3_gaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
part24_in_gaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_gaaa(T84, T85, T86, X177, X178, part24_in_gaaa(T84, T86, X177, X178))
part24_in_gaaa(T92, [], [], []) → part24_out_gaaa(T92, [], [], [])
U4_gaaa(T84, T85, T86, X177, X178, part24_out_gaaa(T84, T86, X177, X178)) → part24_out_gaaa(T84, .(T85, T86), X177, .(T85, X178))
U3_gaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U18_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, X52, X53)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U19_aa(T22, T23, T24, T9, part24_in_gaaa(T22, T24, T45, T46))
U19_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U20_aa(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
qs1_in_aa(.(T191, .(T192, T193)), T9) → U23_aa(T191, T192, T193, T9, part24_in_aaaa(T191, T193, X336, X337))
part24_in_aaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_aaaa(T62, T63, T64, X126, X127, less14_in_aa(T62, T63))
U2_aaaa(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → part24_out_aaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_aaaa(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → U3_aaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
U3_aaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_aaaa(T62, .(T63, T64), .(T63, X126), X127)
part24_in_aaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_aaaa(T84, T85, T86, X177, X178, part24_in_aaaa(T84, T86, X177, X178))
part24_in_aaaa(T92, [], [], []) → part24_out_aaaa(T92, [], [], [])
U4_aaaa(T84, T85, T86, X177, X178, part24_out_aaaa(T84, T86, X177, X178)) → part24_out_aaaa(T84, .(T85, T86), X177, .(T85, X178))
U23_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, X336, X337)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
qs1_in_aa(.(T191, .(T192, T193)), T9) → U24_aa(T191, T192, T193, T9, part24_in_aaaa(T191, T193, T197, T198))
U24_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U25_aa(T191, T192, T193, T9, qs42_in_aa(T197, X14))
qs42_in_aa([], []) → qs42_out_aa([], [])
qs42_in_aa(.(T103, T104), X230) → U5_aa(T103, T104, X230, part24_in_aaaa(T103, T104, X226, X227))
U5_aa(T103, T104, X230, part24_out_aaaa(T103, T104, X226, X227)) → qs42_out_aa(.(T103, T104), X230)
qs42_in_aa(.(T103, T104), X230) → U6_aa(T103, T104, X230, part24_in_aaaa(T103, T104, T108, T109))
U6_aa(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U7_aa(T103, T104, X230, qs42_in_aa(T108, X228))
U7_aa(T103, T104, X230, qs42_out_aa(T108, X228)) → qs42_out_aa(.(T103, T104), X230)
U6_aa(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U8_aa(T103, T104, X230, T109, qs42_in_aa(T108, T113))
U8_aa(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U9_aa(T103, T104, X230, qs42_in_aa(T109, X229))
U9_aa(T103, T104, X230, qs42_out_aa(T109, X229)) → qs42_out_aa(.(T103, T104), X230)
U8_aa(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U10_aa(T103, T104, X230, T113, qs42_in_aa(T109, T114))
U10_aa(T103, T104, X230, T113, qs42_out_aa(T109, T114)) → U11_aa(T103, T104, X230, app57_in_aaaa(T113, T103, T114, X230))
app57_in_aaaa([], T127, T128, .(T127, T128)) → app57_out_aaaa([], T127, T128, .(T127, T128))
app57_in_aaaa(.(T137, T138), T139, T140, .(T137, X270)) → U12_aaaa(T137, T138, T139, T140, X270, app57_in_aaaa(T138, T139, T140, X270))
U12_aaaa(T137, T138, T139, T140, X270, app57_out_aaaa(T138, T139, T140, X270)) → app57_out_aaaa(.(T137, T138), T139, T140, .(T137, X270))
U11_aa(T103, T104, X230, app57_out_aaaa(T113, T103, T114, X230)) → qs42_out_aa(.(T103, T104), X230)
U25_aa(T191, T192, T193, T9, qs42_out_aa(T197, X14)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
U24_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U26_aa(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_aa(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_aa(T191, T192, T193, T9, p41_in_aaaaa(.(T192, T198), X15, T202, T191, T9))
p41_in_aaaaa(T46, X15, T95, T22, T9) → U14_aaaaa(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
U14_aaaaa(T46, X15, T95, T22, T9, qs42_out_aa(T46, X15)) → p41_out_aaaaa(T46, X15, T95, T22, T9)
p41_in_aaaaa(T46, T98, T95, T22, T9) → U15_aaaaa(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_aaaaa(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_aaaaa(T46, T98, T95, T22, T9, app43_in_aaaa(T95, T22, T98, T9))
app43_in_aaaa([], T157, T158, .(T157, T158)) → app43_out_aaaa([], T157, T158, .(T157, T158))
app43_in_aaaa(.(T169, T170), T171, T172, .(T169, T174)) → U13_aaaa(T169, T170, T171, T172, T174, app43_in_aaaa(T170, T171, T172, T174))
U13_aaaa(T169, T170, T171, T172, T174, app43_out_aaaa(T170, T171, T172, T174)) → app43_out_aaaa(.(T169, T170), T171, T172, .(T169, T174))
U16_aaaaa(T46, T98, T95, T22, T9, app43_out_aaaa(T95, T22, T98, T9)) → p41_out_aaaaa(T46, T98, T95, T22, T9)
U27_aa(T191, T192, T193, T9, p41_out_aaaaa(.(T192, T198), X15, T202, T191, T9)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
qs1_in_aa(.(T207, []), T9) → U28_aa(T207, T9, qs84_in_a(X14))
qs84_in_a([]) → qs84_out_a([])
U28_aa(T207, T9, qs84_out_a(X14)) → qs1_out_aa(.(T207, []), T9)
qs1_in_aa(.(T207, []), T9) → U29_aa(T207, T9, qs84_in_a(T210))
U29_aa(T207, T9, qs84_out_a(T210)) → U30_aa(T207, T9, qs84_in_a(X15))
U30_aa(T207, T9, qs84_out_a(X15)) → qs1_out_aa(.(T207, []), T9)
U29_aa(T207, T9, qs84_out_a(T210)) → U31_aa(T207, T9, T210, qs84_in_a(T213))
U31_aa(T207, T9, T210, qs84_out_a(T213)) → U32_aa(T207, T9, app43_in_gaga(T210, T207, T213, T9))
app43_in_gaga([], T157, T158, .(T157, T158)) → app43_out_gaga([], T157, T158, .(T157, T158))
app43_in_gaga(.(T169, T170), T171, T172, .(T169, T174)) → U13_gaga(T169, T170, T171, T172, T174, app43_in_gaga(T170, T171, T172, T174))
U13_gaga(T169, T170, T171, T172, T174, app43_out_gaga(T170, T171, T172, T174)) → app43_out_gaga(.(T169, T170), T171, T172, .(T169, T174))
U32_aa(T207, T9, app43_out_gaga(T210, T207, T213, T9)) → qs1_out_aa(.(T207, []), T9)
U20_aa(T22, T23, T24, T9, qs1_out_aa(.(T23, T45), X14)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U21_aa(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_aa(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_aa(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
p41_in_aaaga(T46, X15, T95, T22, T9) → U14_aaaga(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
U14_aaaga(T46, X15, T95, T22, T9, qs42_out_aa(T46, X15)) → p41_out_aaaga(T46, X15, T95, T22, T9)
p41_in_aaaga(T46, T98, T95, T22, T9) → U15_aaaga(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_aaaga(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_aaaga(T46, T98, T95, T22, T9, app43_in_agaa(T95, T22, T98, T9))
app43_in_agaa([], T157, T158, .(T157, T158)) → app43_out_agaa([], T157, T158, .(T157, T158))
app43_in_agaa(.(T169, T170), T171, T172, .(T169, T174)) → U13_agaa(T169, T170, T171, T172, T174, app43_in_agaa(T170, T171, T172, T174))
U13_agaa(T169, T170, T171, T172, T174, app43_out_agaa(T170, T171, T172, T174)) → app43_out_agaa(.(T169, T170), T171, T172, .(T169, T174))
U16_aaaga(T46, T98, T95, T22, T9, app43_out_agaa(T95, T22, T98, T9)) → p41_out_aaaga(T46, T98, T95, T22, T9)
U22_aa(T22, T23, T24, T9, p41_out_aaaga(T46, X15, T95, T22, T9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U20_ga(T22, T23, T24, T9, qs1_out_aa(.(T23, T45), X14)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U21_ga(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_ga(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_ga(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
U22_ga(T22, T23, T24, T9, p41_out_aaaga(T46, X15, T95, T22, T9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
qs1_in_ga(.(T191, .(T192, T193)), T9) → U23_ga(T191, T192, T193, T9, part24_in_ggaa(T191, T193, X336, X337))
U23_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, X336, X337)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
qs1_in_ga(.(T191, .(T192, T193)), T9) → U24_ga(T191, T192, T193, T9, part24_in_ggaa(T191, T193, T197, T198))
U24_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U25_ga(T191, T192, T193, T9, qs42_in_aa(T197, X14))
U25_ga(T191, T192, T193, T9, qs42_out_aa(T197, X14)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
U24_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U26_ga(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_ga(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_ga(T191, T192, T193, T9, p41_in_aaaga(.(T192, T198), X15, T202, T191, T9))
U27_ga(T191, T192, T193, T9, p41_out_aaaga(.(T192, T198), X15, T202, T191, T9)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
qs1_in_ga(.(T207, []), T9) → U28_ga(T207, T9, qs84_in_a(X14))
U28_ga(T207, T9, qs84_out_a(X14)) → qs1_out_ga(.(T207, []), T9)
qs1_in_ga(.(T207, []), T9) → U29_ga(T207, T9, qs84_in_a(T210))
U29_ga(T207, T9, qs84_out_a(T210)) → U30_ga(T207, T9, qs84_in_a(X15))
U30_ga(T207, T9, qs84_out_a(X15)) → qs1_out_ga(.(T207, []), T9)
U29_ga(T207, T9, qs84_out_a(T210)) → U31_ga(T207, T9, T210, qs84_in_a(T213))
U31_ga(T207, T9, T210, qs84_out_a(T213)) → U32_ga(T207, T9, app43_in_ggga(T210, T207, T213, T9))
app43_in_ggga([], T157, T158, .(T157, T158)) → app43_out_ggga([], T157, T158, .(T157, T158))
app43_in_ggga(.(T169, T170), T171, T172, .(T169, T174)) → U13_ggga(T169, T170, T171, T172, T174, app43_in_ggga(T170, T171, T172, T174))
U13_ggga(T169, T170, T171, T172, T174, app43_out_ggga(T170, T171, T172, T174)) → app43_out_ggga(.(T169, T170), T171, T172, .(T169, T174))
U32_ga(T207, T9, app43_out_ggga(T210, T207, T213, T9)) → qs1_out_ga(.(T207, []), T9)

The argument filtering Pi contains the following mapping:
qs1_in_ga(x1, x2)  =  qs1_in_ga(x1)
[]  =  []
qs1_out_ga(x1, x2)  =  qs1_out_ga
.(x1, x2)  =  .(x1, x2)
U17_ga(x1, x2, x3, x4, x5)  =  U17_ga(x1, x3, x5)
less14_in_gg(x1, x2)  =  less14_in_gg(x1, x2)
0  =  0
s(x1)  =  s(x1)
less14_out_gg(x1, x2)  =  less14_out_gg
U1_gg(x1, x2, x3)  =  U1_gg(x3)
U18_ga(x1, x2, x3, x4, x5)  =  U18_ga(x5)
part24_in_ggaa(x1, x2, x3, x4)  =  part24_in_ggaa(x1, x2)
U2_ggaa(x1, x2, x3, x4, x5, x6)  =  U2_ggaa(x1, x3, x6)
part24_out_ggaa(x1, x2, x3, x4)  =  part24_out_ggaa
U3_ggaa(x1, x2, x3, x4, x5, x6)  =  U3_ggaa(x6)
U4_ggaa(x1, x2, x3, x4, x5, x6)  =  U4_ggaa(x6)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x5)
U20_ga(x1, x2, x3, x4, x5)  =  U20_ga(x5)
qs1_in_aa(x1, x2)  =  qs1_in_aa
qs1_out_aa(x1, x2)  =  qs1_out_aa
U17_aa(x1, x2, x3, x4, x5)  =  U17_aa(x5)
less14_in_aa(x1, x2)  =  less14_in_aa
less14_out_aa(x1, x2)  =  less14_out_aa(x1)
U1_aa(x1, x2, x3)  =  U1_aa(x3)
U18_aa(x1, x2, x3, x4, x5)  =  U18_aa(x5)
part24_in_gaaa(x1, x2, x3, x4)  =  part24_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x1, x6)
less14_in_ga(x1, x2)  =  less14_in_ga(x1)
less14_out_ga(x1, x2)  =  less14_out_ga
U1_ga(x1, x2, x3)  =  U1_ga(x3)
part24_out_gaaa(x1, x2, x3, x4)  =  part24_out_gaaa
U3_gaaa(x1, x2, x3, x4, x5, x6)  =  U3_gaaa(x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x6)
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(x1, x5)
U20_aa(x1, x2, x3, x4, x5)  =  U20_aa(x5)
U23_aa(x1, x2, x3, x4, x5)  =  U23_aa(x5)
part24_in_aaaa(x1, x2, x3, x4)  =  part24_in_aaaa
U2_aaaa(x1, x2, x3, x4, x5, x6)  =  U2_aaaa(x6)
part24_out_aaaa(x1, x2, x3, x4)  =  part24_out_aaaa
U3_aaaa(x1, x2, x3, x4, x5, x6)  =  U3_aaaa(x6)
U4_aaaa(x1, x2, x3, x4, x5, x6)  =  U4_aaaa(x6)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
qs42_in_aa(x1, x2)  =  qs42_in_aa
qs42_out_aa(x1, x2)  =  qs42_out_aa
U5_aa(x1, x2, x3, x4)  =  U5_aa(x4)
U6_aa(x1, x2, x3, x4)  =  U6_aa(x4)
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
U8_aa(x1, x2, x3, x4, x5)  =  U8_aa(x5)
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)
app57_in_aaaa(x1, x2, x3, x4)  =  app57_in_aaaa
app57_out_aaaa(x1, x2, x3, x4)  =  app57_out_aaaa
U12_aaaa(x1, x2, x3, x4, x5, x6)  =  U12_aaaa(x6)
U26_aa(x1, x2, x3, x4, x5, x6)  =  U26_aa(x6)
U27_aa(x1, x2, x3, x4, x5)  =  U27_aa(x5)
p41_in_aaaaa(x1, x2, x3, x4, x5)  =  p41_in_aaaaa
U14_aaaaa(x1, x2, x3, x4, x5, x6)  =  U14_aaaaa(x6)
p41_out_aaaaa(x1, x2, x3, x4, x5)  =  p41_out_aaaaa
U15_aaaaa(x1, x2, x3, x4, x5, x6)  =  U15_aaaaa(x6)
U16_aaaaa(x1, x2, x3, x4, x5, x6)  =  U16_aaaaa(x6)
app43_in_aaaa(x1, x2, x3, x4)  =  app43_in_aaaa
app43_out_aaaa(x1, x2, x3, x4)  =  app43_out_aaaa
U13_aaaa(x1, x2, x3, x4, x5, x6)  =  U13_aaaa(x6)
U28_aa(x1, x2, x3)  =  U28_aa(x3)
qs84_in_a(x1)  =  qs84_in_a
qs84_out_a(x1)  =  qs84_out_a(x1)
U29_aa(x1, x2, x3)  =  U29_aa(x3)
U30_aa(x1, x2, x3)  =  U30_aa(x3)
U31_aa(x1, x2, x3, x4)  =  U31_aa(x3, x4)
U32_aa(x1, x2, x3)  =  U32_aa(x3)
app43_in_gaga(x1, x2, x3, x4)  =  app43_in_gaga(x1, x3)
app43_out_gaga(x1, x2, x3, x4)  =  app43_out_gaga
U13_gaga(x1, x2, x3, x4, x5, x6)  =  U13_gaga(x6)
U21_aa(x1, x2, x3, x4, x5, x6)  =  U21_aa(x1, x6)
U22_aa(x1, x2, x3, x4, x5)  =  U22_aa(x5)
p41_in_aaaga(x1, x2, x3, x4, x5)  =  p41_in_aaaga(x4)
U14_aaaga(x1, x2, x3, x4, x5, x6)  =  U14_aaaga(x6)
p41_out_aaaga(x1, x2, x3, x4, x5)  =  p41_out_aaaga
U15_aaaga(x1, x2, x3, x4, x5, x6)  =  U15_aaaga(x4, x6)
U16_aaaga(x1, x2, x3, x4, x5, x6)  =  U16_aaaga(x6)
app43_in_agaa(x1, x2, x3, x4)  =  app43_in_agaa(x2)
app43_out_agaa(x1, x2, x3, x4)  =  app43_out_agaa
U13_agaa(x1, x2, x3, x4, x5, x6)  =  U13_agaa(x6)
U21_ga(x1, x2, x3, x4, x5, x6)  =  U21_ga(x1, x6)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x5)
U23_ga(x1, x2, x3, x4, x5)  =  U23_ga(x5)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x1, x5)
U25_ga(x1, x2, x3, x4, x5)  =  U25_ga(x5)
U26_ga(x1, x2, x3, x4, x5, x6)  =  U26_ga(x1, x6)
U27_ga(x1, x2, x3, x4, x5)  =  U27_ga(x5)
U28_ga(x1, x2, x3)  =  U28_ga(x3)
U29_ga(x1, x2, x3)  =  U29_ga(x1, x3)
U30_ga(x1, x2, x3)  =  U30_ga(x3)
U31_ga(x1, x2, x3, x4)  =  U31_ga(x1, x3, x4)
U32_ga(x1, x2, x3)  =  U32_ga(x3)
app43_in_ggga(x1, x2, x3, x4)  =  app43_in_ggga(x1, x2, x3)
app43_out_ggga(x1, x2, x3, x4)  =  app43_out_ggga(x4)
U13_ggga(x1, x2, x3, x4, x5, x6)  =  U13_ggga(x1, x6)

(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) → U17_GA(T22, T23, T24, T9, less14_in_gg(T22, T23))
QS1_IN_GA(.(T22, .(T23, T24)), T9) → LESS14_IN_GG(T22, T23)
LESS14_IN_GG(s(T38), s(T39)) → U1_GG(T38, T39, less14_in_gg(T38, T39))
LESS14_IN_GG(s(T38), s(T39)) → LESS14_IN_GG(T38, T39)
U17_GA(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U18_GA(T22, T23, T24, T9, part24_in_ggaa(T22, T24, X52, X53))
U17_GA(T22, T23, T24, T9, less14_out_gg(T22, T23)) → PART24_IN_GGAA(T22, T24, X52, X53)
PART24_IN_GGAA(T62, .(T63, T64), .(T63, X126), X127) → U2_GGAA(T62, T63, T64, X126, X127, less14_in_gg(T62, T63))
PART24_IN_GGAA(T62, .(T63, T64), .(T63, X126), X127) → LESS14_IN_GG(T62, T63)
U2_GGAA(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → U3_GGAA(T62, T63, T64, X126, X127, part24_in_ggaa(T62, T64, X126, X127))
U2_GGAA(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → PART24_IN_GGAA(T62, T64, X126, X127)
PART24_IN_GGAA(T84, .(T85, T86), X177, .(T85, X178)) → U4_GGAA(T84, T85, T86, X177, X178, part24_in_ggaa(T84, T86, X177, X178))
PART24_IN_GGAA(T84, .(T85, T86), X177, .(T85, X178)) → PART24_IN_GGAA(T84, T86, X177, X178)
U17_GA(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U19_GA(T22, T23, T24, T9, part24_in_ggaa(T22, T24, T45, T46))
U19_GA(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U20_GA(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
U19_GA(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → QS1_IN_AA(.(T23, T45), X14)
QS1_IN_AA(.(T22, .(T23, T24)), T9) → U17_AA(T22, T23, T24, T9, less14_in_aa(T22, T23))
QS1_IN_AA(.(T22, .(T23, T24)), T9) → LESS14_IN_AA(T22, T23)
LESS14_IN_AA(s(T38), s(T39)) → U1_AA(T38, T39, less14_in_aa(T38, T39))
LESS14_IN_AA(s(T38), s(T39)) → LESS14_IN_AA(T38, T39)
U17_AA(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U18_AA(T22, T23, T24, T9, part24_in_gaaa(T22, T24, X52, X53))
U17_AA(T22, T23, T24, T9, less14_out_aa(T22, T23)) → PART24_IN_GAAA(T22, T24, X52, X53)
PART24_IN_GAAA(T62, .(T63, T64), .(T63, X126), X127) → U2_GAAA(T62, T63, T64, X126, X127, less14_in_ga(T62, T63))
PART24_IN_GAAA(T62, .(T63, T64), .(T63, X126), X127) → LESS14_IN_GA(T62, T63)
LESS14_IN_GA(s(T38), s(T39)) → U1_GA(T38, T39, less14_in_ga(T38, T39))
LESS14_IN_GA(s(T38), s(T39)) → LESS14_IN_GA(T38, T39)
U2_GAAA(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → U3_GAAA(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
U2_GAAA(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → PART24_IN_GAAA(T62, T64, X126, X127)
PART24_IN_GAAA(T84, .(T85, T86), X177, .(T85, X178)) → U4_GAAA(T84, T85, T86, X177, X178, part24_in_gaaa(T84, T86, X177, X178))
PART24_IN_GAAA(T84, .(T85, T86), X177, .(T85, X178)) → PART24_IN_GAAA(T84, T86, X177, X178)
U17_AA(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U19_AA(T22, T23, T24, T9, part24_in_gaaa(T22, T24, T45, T46))
U19_AA(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U20_AA(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
U19_AA(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → QS1_IN_AA(.(T23, T45), X14)
QS1_IN_AA(.(T191, .(T192, T193)), T9) → U23_AA(T191, T192, T193, T9, part24_in_aaaa(T191, T193, X336, X337))
QS1_IN_AA(.(T191, .(T192, T193)), T9) → PART24_IN_AAAA(T191, T193, X336, X337)
PART24_IN_AAAA(T62, .(T63, T64), .(T63, X126), X127) → U2_AAAA(T62, T63, T64, X126, X127, less14_in_aa(T62, T63))
PART24_IN_AAAA(T62, .(T63, T64), .(T63, X126), X127) → LESS14_IN_AA(T62, T63)
U2_AAAA(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → U3_AAAA(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
U2_AAAA(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → PART24_IN_GAAA(T62, T64, X126, X127)
PART24_IN_AAAA(T84, .(T85, T86), X177, .(T85, X178)) → U4_AAAA(T84, T85, T86, X177, X178, part24_in_aaaa(T84, T86, X177, X178))
PART24_IN_AAAA(T84, .(T85, T86), X177, .(T85, X178)) → PART24_IN_AAAA(T84, T86, X177, X178)
QS1_IN_AA(.(T191, .(T192, T193)), T9) → U24_AA(T191, T192, T193, T9, part24_in_aaaa(T191, T193, T197, T198))
U24_AA(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U25_AA(T191, T192, T193, T9, qs42_in_aa(T197, X14))
U24_AA(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → QS42_IN_AA(T197, X14)
QS42_IN_AA(.(T103, T104), X230) → U5_AA(T103, T104, X230, part24_in_aaaa(T103, T104, X226, X227))
QS42_IN_AA(.(T103, T104), X230) → PART24_IN_AAAA(T103, T104, X226, X227)
QS42_IN_AA(.(T103, T104), X230) → U6_AA(T103, T104, X230, part24_in_aaaa(T103, T104, T108, T109))
U6_AA(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U7_AA(T103, T104, X230, qs42_in_aa(T108, X228))
U6_AA(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → QS42_IN_AA(T108, X228)
U6_AA(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U8_AA(T103, T104, X230, T109, qs42_in_aa(T108, T113))
U8_AA(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U9_AA(T103, T104, X230, qs42_in_aa(T109, X229))
U8_AA(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → QS42_IN_AA(T109, X229)
U8_AA(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U10_AA(T103, T104, X230, T113, qs42_in_aa(T109, T114))
U10_AA(T103, T104, X230, T113, qs42_out_aa(T109, T114)) → U11_AA(T103, T104, X230, app57_in_aaaa(T113, T103, T114, X230))
U10_AA(T103, T104, X230, T113, qs42_out_aa(T109, T114)) → APP57_IN_AAAA(T113, T103, T114, X230)
APP57_IN_AAAA(.(T137, T138), T139, T140, .(T137, X270)) → U12_AAAA(T137, T138, T139, T140, X270, app57_in_aaaa(T138, T139, T140, X270))
APP57_IN_AAAA(.(T137, T138), T139, T140, .(T137, X270)) → APP57_IN_AAAA(T138, T139, T140, X270)
U24_AA(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U26_AA(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_AA(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_AA(T191, T192, T193, T9, p41_in_aaaaa(.(T192, T198), X15, T202, T191, T9))
U26_AA(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → P41_IN_AAAAA(.(T192, T198), X15, T202, T191, T9)
P41_IN_AAAAA(T46, X15, T95, T22, T9) → U14_AAAAA(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
P41_IN_AAAAA(T46, X15, T95, T22, T9) → QS42_IN_AA(T46, X15)
P41_IN_AAAAA(T46, T98, T95, T22, T9) → U15_AAAAA(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_AAAAA(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_AAAAA(T46, T98, T95, T22, T9, app43_in_aaaa(T95, T22, T98, T9))
U15_AAAAA(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → APP43_IN_AAAA(T95, T22, T98, T9)
APP43_IN_AAAA(.(T169, T170), T171, T172, .(T169, T174)) → U13_AAAA(T169, T170, T171, T172, T174, app43_in_aaaa(T170, T171, T172, T174))
APP43_IN_AAAA(.(T169, T170), T171, T172, .(T169, T174)) → APP43_IN_AAAA(T170, T171, T172, T174)
QS1_IN_AA(.(T207, []), T9) → U28_AA(T207, T9, qs84_in_a(X14))
QS1_IN_AA(.(T207, []), T9) → QS84_IN_A(X14)
QS1_IN_AA(.(T207, []), T9) → U29_AA(T207, T9, qs84_in_a(T210))
U29_AA(T207, T9, qs84_out_a(T210)) → U30_AA(T207, T9, qs84_in_a(X15))
U29_AA(T207, T9, qs84_out_a(T210)) → QS84_IN_A(X15)
U29_AA(T207, T9, qs84_out_a(T210)) → U31_AA(T207, T9, T210, qs84_in_a(T213))
U31_AA(T207, T9, T210, qs84_out_a(T213)) → U32_AA(T207, T9, app43_in_gaga(T210, T207, T213, T9))
U31_AA(T207, T9, T210, qs84_out_a(T213)) → APP43_IN_GAGA(T210, T207, T213, T9)
APP43_IN_GAGA(.(T169, T170), T171, T172, .(T169, T174)) → U13_GAGA(T169, T170, T171, T172, T174, app43_in_gaga(T170, T171, T172, T174))
APP43_IN_GAGA(.(T169, T170), T171, T172, .(T169, T174)) → APP43_IN_GAGA(T170, T171, T172, T174)
U19_AA(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U21_AA(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_AA(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_AA(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
U21_AA(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → P41_IN_AAAGA(T46, X15, T95, T22, T9)
P41_IN_AAAGA(T46, X15, T95, T22, T9) → U14_AAAGA(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
P41_IN_AAAGA(T46, X15, T95, T22, T9) → QS42_IN_AA(T46, X15)
P41_IN_AAAGA(T46, T98, T95, T22, T9) → U15_AAAGA(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_AAAGA(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_AAAGA(T46, T98, T95, T22, T9, app43_in_agaa(T95, T22, T98, T9))
U15_AAAGA(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → APP43_IN_AGAA(T95, T22, T98, T9)
APP43_IN_AGAA(.(T169, T170), T171, T172, .(T169, T174)) → U13_AGAA(T169, T170, T171, T172, T174, app43_in_agaa(T170, T171, T172, T174))
APP43_IN_AGAA(.(T169, T170), T171, T172, .(T169, T174)) → APP43_IN_AGAA(T170, T171, T172, T174)
U19_GA(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U21_GA(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_GA(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_GA(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
U21_GA(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → P41_IN_AAAGA(T46, X15, T95, T22, T9)
QS1_IN_GA(.(T191, .(T192, T193)), T9) → U23_GA(T191, T192, T193, T9, part24_in_ggaa(T191, T193, X336, X337))
QS1_IN_GA(.(T191, .(T192, T193)), T9) → PART24_IN_GGAA(T191, T193, X336, X337)
QS1_IN_GA(.(T191, .(T192, T193)), T9) → U24_GA(T191, T192, T193, T9, part24_in_ggaa(T191, T193, T197, T198))
U24_GA(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U25_GA(T191, T192, T193, T9, qs42_in_aa(T197, X14))
U24_GA(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → QS42_IN_AA(T197, X14)
U24_GA(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U26_GA(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_GA(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_GA(T191, T192, T193, T9, p41_in_aaaga(.(T192, T198), X15, T202, T191, T9))
U26_GA(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → P41_IN_AAAGA(.(T192, T198), X15, T202, T191, T9)
QS1_IN_GA(.(T207, []), T9) → U28_GA(T207, T9, qs84_in_a(X14))
QS1_IN_GA(.(T207, []), T9) → QS84_IN_A(X14)
QS1_IN_GA(.(T207, []), T9) → U29_GA(T207, T9, qs84_in_a(T210))
U29_GA(T207, T9, qs84_out_a(T210)) → U30_GA(T207, T9, qs84_in_a(X15))
U29_GA(T207, T9, qs84_out_a(T210)) → QS84_IN_A(X15)
U29_GA(T207, T9, qs84_out_a(T210)) → U31_GA(T207, T9, T210, qs84_in_a(T213))
U31_GA(T207, T9, T210, qs84_out_a(T213)) → U32_GA(T207, T9, app43_in_ggga(T210, T207, T213, T9))
U31_GA(T207, T9, T210, qs84_out_a(T213)) → APP43_IN_GGGA(T210, T207, T213, T9)
APP43_IN_GGGA(.(T169, T170), T171, T172, .(T169, T174)) → U13_GGGA(T169, T170, T171, T172, T174, app43_in_ggga(T170, T171, T172, T174))
APP43_IN_GGGA(.(T169, T170), T171, T172, .(T169, T174)) → APP43_IN_GGGA(T170, T171, T172, T174)

The TRS R consists of the following rules:

qs1_in_ga([], []) → qs1_out_ga([], [])
qs1_in_ga(.(T22, .(T23, T24)), T9) → U17_ga(T22, T23, T24, T9, less14_in_gg(T22, T23))
less14_in_gg(0, s(T33)) → less14_out_gg(0, s(T33))
less14_in_gg(s(T38), s(T39)) → U1_gg(T38, T39, less14_in_gg(T38, T39))
U1_gg(T38, T39, less14_out_gg(T38, T39)) → less14_out_gg(s(T38), s(T39))
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U18_ga(T22, T23, T24, T9, part24_in_ggaa(T22, T24, X52, X53))
part24_in_ggaa(T62, .(T63, T64), .(T63, X126), X127) → U2_ggaa(T62, T63, T64, X126, X127, less14_in_gg(T62, T63))
U2_ggaa(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → part24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
U2_ggaa(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → U3_ggaa(T62, T63, T64, X126, X127, part24_in_ggaa(T62, T64, X126, X127))
part24_in_ggaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_ggaa(T84, T85, T86, X177, X178, part24_in_ggaa(T84, T86, X177, X178))
part24_in_ggaa(T92, [], [], []) → part24_out_ggaa(T92, [], [], [])
U4_ggaa(T84, T85, T86, X177, X178, part24_out_ggaa(T84, T86, X177, X178)) → part24_out_ggaa(T84, .(T85, T86), X177, .(T85, X178))
U3_ggaa(T62, T63, T64, X126, X127, part24_out_ggaa(T62, T64, X126, X127)) → part24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
U18_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, X52, X53)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U19_ga(T22, T23, T24, T9, part24_in_ggaa(T22, T24, T45, T46))
U19_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U20_ga(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
qs1_in_aa([], []) → qs1_out_aa([], [])
qs1_in_aa(.(T22, .(T23, T24)), T9) → U17_aa(T22, T23, T24, T9, less14_in_aa(T22, T23))
less14_in_aa(0, s(T33)) → less14_out_aa(0, s(T33))
less14_in_aa(s(T38), s(T39)) → U1_aa(T38, T39, less14_in_aa(T38, T39))
U1_aa(T38, T39, less14_out_aa(T38, T39)) → less14_out_aa(s(T38), s(T39))
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U18_aa(T22, T23, T24, T9, part24_in_gaaa(T22, T24, X52, X53))
part24_in_gaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_gaaa(T62, T63, T64, X126, X127, less14_in_ga(T62, T63))
less14_in_ga(0, s(T33)) → less14_out_ga(0, s(T33))
less14_in_ga(s(T38), s(T39)) → U1_ga(T38, T39, less14_in_ga(T38, T39))
U1_ga(T38, T39, less14_out_ga(T38, T39)) → less14_out_ga(s(T38), s(T39))
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → U3_gaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
part24_in_gaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_gaaa(T84, T85, T86, X177, X178, part24_in_gaaa(T84, T86, X177, X178))
part24_in_gaaa(T92, [], [], []) → part24_out_gaaa(T92, [], [], [])
U4_gaaa(T84, T85, T86, X177, X178, part24_out_gaaa(T84, T86, X177, X178)) → part24_out_gaaa(T84, .(T85, T86), X177, .(T85, X178))
U3_gaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U18_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, X52, X53)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U19_aa(T22, T23, T24, T9, part24_in_gaaa(T22, T24, T45, T46))
U19_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U20_aa(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
qs1_in_aa(.(T191, .(T192, T193)), T9) → U23_aa(T191, T192, T193, T9, part24_in_aaaa(T191, T193, X336, X337))
part24_in_aaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_aaaa(T62, T63, T64, X126, X127, less14_in_aa(T62, T63))
U2_aaaa(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → part24_out_aaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_aaaa(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → U3_aaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
U3_aaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_aaaa(T62, .(T63, T64), .(T63, X126), X127)
part24_in_aaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_aaaa(T84, T85, T86, X177, X178, part24_in_aaaa(T84, T86, X177, X178))
part24_in_aaaa(T92, [], [], []) → part24_out_aaaa(T92, [], [], [])
U4_aaaa(T84, T85, T86, X177, X178, part24_out_aaaa(T84, T86, X177, X178)) → part24_out_aaaa(T84, .(T85, T86), X177, .(T85, X178))
U23_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, X336, X337)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
qs1_in_aa(.(T191, .(T192, T193)), T9) → U24_aa(T191, T192, T193, T9, part24_in_aaaa(T191, T193, T197, T198))
U24_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U25_aa(T191, T192, T193, T9, qs42_in_aa(T197, X14))
qs42_in_aa([], []) → qs42_out_aa([], [])
qs42_in_aa(.(T103, T104), X230) → U5_aa(T103, T104, X230, part24_in_aaaa(T103, T104, X226, X227))
U5_aa(T103, T104, X230, part24_out_aaaa(T103, T104, X226, X227)) → qs42_out_aa(.(T103, T104), X230)
qs42_in_aa(.(T103, T104), X230) → U6_aa(T103, T104, X230, part24_in_aaaa(T103, T104, T108, T109))
U6_aa(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U7_aa(T103, T104, X230, qs42_in_aa(T108, X228))
U7_aa(T103, T104, X230, qs42_out_aa(T108, X228)) → qs42_out_aa(.(T103, T104), X230)
U6_aa(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U8_aa(T103, T104, X230, T109, qs42_in_aa(T108, T113))
U8_aa(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U9_aa(T103, T104, X230, qs42_in_aa(T109, X229))
U9_aa(T103, T104, X230, qs42_out_aa(T109, X229)) → qs42_out_aa(.(T103, T104), X230)
U8_aa(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U10_aa(T103, T104, X230, T113, qs42_in_aa(T109, T114))
U10_aa(T103, T104, X230, T113, qs42_out_aa(T109, T114)) → U11_aa(T103, T104, X230, app57_in_aaaa(T113, T103, T114, X230))
app57_in_aaaa([], T127, T128, .(T127, T128)) → app57_out_aaaa([], T127, T128, .(T127, T128))
app57_in_aaaa(.(T137, T138), T139, T140, .(T137, X270)) → U12_aaaa(T137, T138, T139, T140, X270, app57_in_aaaa(T138, T139, T140, X270))
U12_aaaa(T137, T138, T139, T140, X270, app57_out_aaaa(T138, T139, T140, X270)) → app57_out_aaaa(.(T137, T138), T139, T140, .(T137, X270))
U11_aa(T103, T104, X230, app57_out_aaaa(T113, T103, T114, X230)) → qs42_out_aa(.(T103, T104), X230)
U25_aa(T191, T192, T193, T9, qs42_out_aa(T197, X14)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
U24_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U26_aa(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_aa(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_aa(T191, T192, T193, T9, p41_in_aaaaa(.(T192, T198), X15, T202, T191, T9))
p41_in_aaaaa(T46, X15, T95, T22, T9) → U14_aaaaa(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
U14_aaaaa(T46, X15, T95, T22, T9, qs42_out_aa(T46, X15)) → p41_out_aaaaa(T46, X15, T95, T22, T9)
p41_in_aaaaa(T46, T98, T95, T22, T9) → U15_aaaaa(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_aaaaa(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_aaaaa(T46, T98, T95, T22, T9, app43_in_aaaa(T95, T22, T98, T9))
app43_in_aaaa([], T157, T158, .(T157, T158)) → app43_out_aaaa([], T157, T158, .(T157, T158))
app43_in_aaaa(.(T169, T170), T171, T172, .(T169, T174)) → U13_aaaa(T169, T170, T171, T172, T174, app43_in_aaaa(T170, T171, T172, T174))
U13_aaaa(T169, T170, T171, T172, T174, app43_out_aaaa(T170, T171, T172, T174)) → app43_out_aaaa(.(T169, T170), T171, T172, .(T169, T174))
U16_aaaaa(T46, T98, T95, T22, T9, app43_out_aaaa(T95, T22, T98, T9)) → p41_out_aaaaa(T46, T98, T95, T22, T9)
U27_aa(T191, T192, T193, T9, p41_out_aaaaa(.(T192, T198), X15, T202, T191, T9)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
qs1_in_aa(.(T207, []), T9) → U28_aa(T207, T9, qs84_in_a(X14))
qs84_in_a([]) → qs84_out_a([])
U28_aa(T207, T9, qs84_out_a(X14)) → qs1_out_aa(.(T207, []), T9)
qs1_in_aa(.(T207, []), T9) → U29_aa(T207, T9, qs84_in_a(T210))
U29_aa(T207, T9, qs84_out_a(T210)) → U30_aa(T207, T9, qs84_in_a(X15))
U30_aa(T207, T9, qs84_out_a(X15)) → qs1_out_aa(.(T207, []), T9)
U29_aa(T207, T9, qs84_out_a(T210)) → U31_aa(T207, T9, T210, qs84_in_a(T213))
U31_aa(T207, T9, T210, qs84_out_a(T213)) → U32_aa(T207, T9, app43_in_gaga(T210, T207, T213, T9))
app43_in_gaga([], T157, T158, .(T157, T158)) → app43_out_gaga([], T157, T158, .(T157, T158))
app43_in_gaga(.(T169, T170), T171, T172, .(T169, T174)) → U13_gaga(T169, T170, T171, T172, T174, app43_in_gaga(T170, T171, T172, T174))
U13_gaga(T169, T170, T171, T172, T174, app43_out_gaga(T170, T171, T172, T174)) → app43_out_gaga(.(T169, T170), T171, T172, .(T169, T174))
U32_aa(T207, T9, app43_out_gaga(T210, T207, T213, T9)) → qs1_out_aa(.(T207, []), T9)
U20_aa(T22, T23, T24, T9, qs1_out_aa(.(T23, T45), X14)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U21_aa(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_aa(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_aa(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
p41_in_aaaga(T46, X15, T95, T22, T9) → U14_aaaga(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
U14_aaaga(T46, X15, T95, T22, T9, qs42_out_aa(T46, X15)) → p41_out_aaaga(T46, X15, T95, T22, T9)
p41_in_aaaga(T46, T98, T95, T22, T9) → U15_aaaga(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_aaaga(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_aaaga(T46, T98, T95, T22, T9, app43_in_agaa(T95, T22, T98, T9))
app43_in_agaa([], T157, T158, .(T157, T158)) → app43_out_agaa([], T157, T158, .(T157, T158))
app43_in_agaa(.(T169, T170), T171, T172, .(T169, T174)) → U13_agaa(T169, T170, T171, T172, T174, app43_in_agaa(T170, T171, T172, T174))
U13_agaa(T169, T170, T171, T172, T174, app43_out_agaa(T170, T171, T172, T174)) → app43_out_agaa(.(T169, T170), T171, T172, .(T169, T174))
U16_aaaga(T46, T98, T95, T22, T9, app43_out_agaa(T95, T22, T98, T9)) → p41_out_aaaga(T46, T98, T95, T22, T9)
U22_aa(T22, T23, T24, T9, p41_out_aaaga(T46, X15, T95, T22, T9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U20_ga(T22, T23, T24, T9, qs1_out_aa(.(T23, T45), X14)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U21_ga(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_ga(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_ga(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
U22_ga(T22, T23, T24, T9, p41_out_aaaga(T46, X15, T95, T22, T9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
qs1_in_ga(.(T191, .(T192, T193)), T9) → U23_ga(T191, T192, T193, T9, part24_in_ggaa(T191, T193, X336, X337))
U23_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, X336, X337)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
qs1_in_ga(.(T191, .(T192, T193)), T9) → U24_ga(T191, T192, T193, T9, part24_in_ggaa(T191, T193, T197, T198))
U24_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U25_ga(T191, T192, T193, T9, qs42_in_aa(T197, X14))
U25_ga(T191, T192, T193, T9, qs42_out_aa(T197, X14)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
U24_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U26_ga(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_ga(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_ga(T191, T192, T193, T9, p41_in_aaaga(.(T192, T198), X15, T202, T191, T9))
U27_ga(T191, T192, T193, T9, p41_out_aaaga(.(T192, T198), X15, T202, T191, T9)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
qs1_in_ga(.(T207, []), T9) → U28_ga(T207, T9, qs84_in_a(X14))
U28_ga(T207, T9, qs84_out_a(X14)) → qs1_out_ga(.(T207, []), T9)
qs1_in_ga(.(T207, []), T9) → U29_ga(T207, T9, qs84_in_a(T210))
U29_ga(T207, T9, qs84_out_a(T210)) → U30_ga(T207, T9, qs84_in_a(X15))
U30_ga(T207, T9, qs84_out_a(X15)) → qs1_out_ga(.(T207, []), T9)
U29_ga(T207, T9, qs84_out_a(T210)) → U31_ga(T207, T9, T210, qs84_in_a(T213))
U31_ga(T207, T9, T210, qs84_out_a(T213)) → U32_ga(T207, T9, app43_in_ggga(T210, T207, T213, T9))
app43_in_ggga([], T157, T158, .(T157, T158)) → app43_out_ggga([], T157, T158, .(T157, T158))
app43_in_ggga(.(T169, T170), T171, T172, .(T169, T174)) → U13_ggga(T169, T170, T171, T172, T174, app43_in_ggga(T170, T171, T172, T174))
U13_ggga(T169, T170, T171, T172, T174, app43_out_ggga(T170, T171, T172, T174)) → app43_out_ggga(.(T169, T170), T171, T172, .(T169, T174))
U32_ga(T207, T9, app43_out_ggga(T210, T207, T213, T9)) → qs1_out_ga(.(T207, []), T9)

The argument filtering Pi contains the following mapping:
qs1_in_ga(x1, x2)  =  qs1_in_ga(x1)
[]  =  []
qs1_out_ga(x1, x2)  =  qs1_out_ga
.(x1, x2)  =  .(x1, x2)
U17_ga(x1, x2, x3, x4, x5)  =  U17_ga(x1, x3, x5)
less14_in_gg(x1, x2)  =  less14_in_gg(x1, x2)
0  =  0
s(x1)  =  s(x1)
less14_out_gg(x1, x2)  =  less14_out_gg
U1_gg(x1, x2, x3)  =  U1_gg(x3)
U18_ga(x1, x2, x3, x4, x5)  =  U18_ga(x5)
part24_in_ggaa(x1, x2, x3, x4)  =  part24_in_ggaa(x1, x2)
U2_ggaa(x1, x2, x3, x4, x5, x6)  =  U2_ggaa(x1, x3, x6)
part24_out_ggaa(x1, x2, x3, x4)  =  part24_out_ggaa
U3_ggaa(x1, x2, x3, x4, x5, x6)  =  U3_ggaa(x6)
U4_ggaa(x1, x2, x3, x4, x5, x6)  =  U4_ggaa(x6)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x5)
U20_ga(x1, x2, x3, x4, x5)  =  U20_ga(x5)
qs1_in_aa(x1, x2)  =  qs1_in_aa
qs1_out_aa(x1, x2)  =  qs1_out_aa
U17_aa(x1, x2, x3, x4, x5)  =  U17_aa(x5)
less14_in_aa(x1, x2)  =  less14_in_aa
less14_out_aa(x1, x2)  =  less14_out_aa(x1)
U1_aa(x1, x2, x3)  =  U1_aa(x3)
U18_aa(x1, x2, x3, x4, x5)  =  U18_aa(x5)
part24_in_gaaa(x1, x2, x3, x4)  =  part24_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x1, x6)
less14_in_ga(x1, x2)  =  less14_in_ga(x1)
less14_out_ga(x1, x2)  =  less14_out_ga
U1_ga(x1, x2, x3)  =  U1_ga(x3)
part24_out_gaaa(x1, x2, x3, x4)  =  part24_out_gaaa
U3_gaaa(x1, x2, x3, x4, x5, x6)  =  U3_gaaa(x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x6)
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(x1, x5)
U20_aa(x1, x2, x3, x4, x5)  =  U20_aa(x5)
U23_aa(x1, x2, x3, x4, x5)  =  U23_aa(x5)
part24_in_aaaa(x1, x2, x3, x4)  =  part24_in_aaaa
U2_aaaa(x1, x2, x3, x4, x5, x6)  =  U2_aaaa(x6)
part24_out_aaaa(x1, x2, x3, x4)  =  part24_out_aaaa
U3_aaaa(x1, x2, x3, x4, x5, x6)  =  U3_aaaa(x6)
U4_aaaa(x1, x2, x3, x4, x5, x6)  =  U4_aaaa(x6)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
qs42_in_aa(x1, x2)  =  qs42_in_aa
qs42_out_aa(x1, x2)  =  qs42_out_aa
U5_aa(x1, x2, x3, x4)  =  U5_aa(x4)
U6_aa(x1, x2, x3, x4)  =  U6_aa(x4)
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
U8_aa(x1, x2, x3, x4, x5)  =  U8_aa(x5)
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)
app57_in_aaaa(x1, x2, x3, x4)  =  app57_in_aaaa
app57_out_aaaa(x1, x2, x3, x4)  =  app57_out_aaaa
U12_aaaa(x1, x2, x3, x4, x5, x6)  =  U12_aaaa(x6)
U26_aa(x1, x2, x3, x4, x5, x6)  =  U26_aa(x6)
U27_aa(x1, x2, x3, x4, x5)  =  U27_aa(x5)
p41_in_aaaaa(x1, x2, x3, x4, x5)  =  p41_in_aaaaa
U14_aaaaa(x1, x2, x3, x4, x5, x6)  =  U14_aaaaa(x6)
p41_out_aaaaa(x1, x2, x3, x4, x5)  =  p41_out_aaaaa
U15_aaaaa(x1, x2, x3, x4, x5, x6)  =  U15_aaaaa(x6)
U16_aaaaa(x1, x2, x3, x4, x5, x6)  =  U16_aaaaa(x6)
app43_in_aaaa(x1, x2, x3, x4)  =  app43_in_aaaa
app43_out_aaaa(x1, x2, x3, x4)  =  app43_out_aaaa
U13_aaaa(x1, x2, x3, x4, x5, x6)  =  U13_aaaa(x6)
U28_aa(x1, x2, x3)  =  U28_aa(x3)
qs84_in_a(x1)  =  qs84_in_a
qs84_out_a(x1)  =  qs84_out_a(x1)
U29_aa(x1, x2, x3)  =  U29_aa(x3)
U30_aa(x1, x2, x3)  =  U30_aa(x3)
U31_aa(x1, x2, x3, x4)  =  U31_aa(x3, x4)
U32_aa(x1, x2, x3)  =  U32_aa(x3)
app43_in_gaga(x1, x2, x3, x4)  =  app43_in_gaga(x1, x3)
app43_out_gaga(x1, x2, x3, x4)  =  app43_out_gaga
U13_gaga(x1, x2, x3, x4, x5, x6)  =  U13_gaga(x6)
U21_aa(x1, x2, x3, x4, x5, x6)  =  U21_aa(x1, x6)
U22_aa(x1, x2, x3, x4, x5)  =  U22_aa(x5)
p41_in_aaaga(x1, x2, x3, x4, x5)  =  p41_in_aaaga(x4)
U14_aaaga(x1, x2, x3, x4, x5, x6)  =  U14_aaaga(x6)
p41_out_aaaga(x1, x2, x3, x4, x5)  =  p41_out_aaaga
U15_aaaga(x1, x2, x3, x4, x5, x6)  =  U15_aaaga(x4, x6)
U16_aaaga(x1, x2, x3, x4, x5, x6)  =  U16_aaaga(x6)
app43_in_agaa(x1, x2, x3, x4)  =  app43_in_agaa(x2)
app43_out_agaa(x1, x2, x3, x4)  =  app43_out_agaa
U13_agaa(x1, x2, x3, x4, x5, x6)  =  U13_agaa(x6)
U21_ga(x1, x2, x3, x4, x5, x6)  =  U21_ga(x1, x6)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x5)
U23_ga(x1, x2, x3, x4, x5)  =  U23_ga(x5)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x1, x5)
U25_ga(x1, x2, x3, x4, x5)  =  U25_ga(x5)
U26_ga(x1, x2, x3, x4, x5, x6)  =  U26_ga(x1, x6)
U27_ga(x1, x2, x3, x4, x5)  =  U27_ga(x5)
U28_ga(x1, x2, x3)  =  U28_ga(x3)
U29_ga(x1, x2, x3)  =  U29_ga(x1, x3)
U30_ga(x1, x2, x3)  =  U30_ga(x3)
U31_ga(x1, x2, x3, x4)  =  U31_ga(x1, x3, x4)
U32_ga(x1, x2, x3)  =  U32_ga(x3)
app43_in_ggga(x1, x2, x3, x4)  =  app43_in_ggga(x1, x2, x3)
app43_out_ggga(x1, x2, x3, x4)  =  app43_out_ggga(x4)
U13_ggga(x1, x2, x3, x4, x5, x6)  =  U13_ggga(x1, x6)
QS1_IN_GA(x1, x2)  =  QS1_IN_GA(x1)
U17_GA(x1, x2, x3, x4, x5)  =  U17_GA(x1, x3, x5)
LESS14_IN_GG(x1, x2)  =  LESS14_IN_GG(x1, x2)
U1_GG(x1, x2, x3)  =  U1_GG(x3)
U18_GA(x1, x2, x3, x4, x5)  =  U18_GA(x5)
PART24_IN_GGAA(x1, x2, x3, x4)  =  PART24_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(x6)
U19_GA(x1, x2, x3, x4, x5)  =  U19_GA(x1, x5)
U20_GA(x1, x2, x3, x4, x5)  =  U20_GA(x5)
QS1_IN_AA(x1, x2)  =  QS1_IN_AA
U17_AA(x1, x2, x3, x4, x5)  =  U17_AA(x5)
LESS14_IN_AA(x1, x2)  =  LESS14_IN_AA
U1_AA(x1, x2, x3)  =  U1_AA(x3)
U18_AA(x1, x2, x3, x4, x5)  =  U18_AA(x5)
PART24_IN_GAAA(x1, x2, x3, x4)  =  PART24_IN_GAAA(x1)
U2_GAAA(x1, x2, x3, x4, x5, x6)  =  U2_GAAA(x1, x6)
LESS14_IN_GA(x1, x2)  =  LESS14_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(x6)
U19_AA(x1, x2, x3, x4, x5)  =  U19_AA(x1, x5)
U20_AA(x1, x2, x3, x4, x5)  =  U20_AA(x5)
U23_AA(x1, x2, x3, x4, x5)  =  U23_AA(x5)
PART24_IN_AAAA(x1, x2, x3, x4)  =  PART24_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)
U24_AA(x1, x2, x3, x4, x5)  =  U24_AA(x5)
U25_AA(x1, x2, x3, x4, x5)  =  U25_AA(x5)
QS42_IN_AA(x1, x2)  =  QS42_IN_AA
U5_AA(x1, x2, x3, x4)  =  U5_AA(x4)
U6_AA(x1, x2, x3, x4)  =  U6_AA(x4)
U7_AA(x1, x2, x3, x4)  =  U7_AA(x4)
U8_AA(x1, x2, x3, x4, x5)  =  U8_AA(x5)
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)
APP57_IN_AAAA(x1, x2, x3, x4)  =  APP57_IN_AAAA
U12_AAAA(x1, x2, x3, x4, x5, x6)  =  U12_AAAA(x6)
U26_AA(x1, x2, x3, x4, x5, x6)  =  U26_AA(x6)
U27_AA(x1, x2, x3, x4, x5)  =  U27_AA(x5)
P41_IN_AAAAA(x1, x2, x3, x4, x5)  =  P41_IN_AAAAA
U14_AAAAA(x1, x2, x3, x4, x5, x6)  =  U14_AAAAA(x6)
U15_AAAAA(x1, x2, x3, x4, x5, x6)  =  U15_AAAAA(x6)
U16_AAAAA(x1, x2, x3, x4, x5, x6)  =  U16_AAAAA(x6)
APP43_IN_AAAA(x1, x2, x3, x4)  =  APP43_IN_AAAA
U13_AAAA(x1, x2, x3, x4, x5, x6)  =  U13_AAAA(x6)
U28_AA(x1, x2, x3)  =  U28_AA(x3)
QS84_IN_A(x1)  =  QS84_IN_A
U29_AA(x1, x2, x3)  =  U29_AA(x3)
U30_AA(x1, x2, x3)  =  U30_AA(x3)
U31_AA(x1, x2, x3, x4)  =  U31_AA(x3, x4)
U32_AA(x1, x2, x3)  =  U32_AA(x3)
APP43_IN_GAGA(x1, x2, x3, x4)  =  APP43_IN_GAGA(x1, x3)
U13_GAGA(x1, x2, x3, x4, x5, x6)  =  U13_GAGA(x6)
U21_AA(x1, x2, x3, x4, x5, x6)  =  U21_AA(x1, x6)
U22_AA(x1, x2, x3, x4, x5)  =  U22_AA(x5)
P41_IN_AAAGA(x1, x2, x3, x4, x5)  =  P41_IN_AAAGA(x4)
U14_AAAGA(x1, x2, x3, x4, x5, x6)  =  U14_AAAGA(x6)
U15_AAAGA(x1, x2, x3, x4, x5, x6)  =  U15_AAAGA(x4, x6)
U16_AAAGA(x1, x2, x3, x4, x5, x6)  =  U16_AAAGA(x6)
APP43_IN_AGAA(x1, x2, x3, x4)  =  APP43_IN_AGAA(x2)
U13_AGAA(x1, x2, x3, x4, x5, x6)  =  U13_AGAA(x6)
U21_GA(x1, x2, x3, x4, x5, x6)  =  U21_GA(x1, x6)
U22_GA(x1, x2, x3, x4, x5)  =  U22_GA(x5)
U23_GA(x1, x2, x3, x4, x5)  =  U23_GA(x5)
U24_GA(x1, x2, x3, x4, x5)  =  U24_GA(x1, x5)
U25_GA(x1, x2, x3, x4, x5)  =  U25_GA(x5)
U26_GA(x1, x2, x3, x4, x5, x6)  =  U26_GA(x1, x6)
U27_GA(x1, x2, x3, x4, x5)  =  U27_GA(x5)
U28_GA(x1, x2, x3)  =  U28_GA(x3)
U29_GA(x1, x2, x3)  =  U29_GA(x1, x3)
U30_GA(x1, x2, x3)  =  U30_GA(x3)
U31_GA(x1, x2, x3, x4)  =  U31_GA(x1, x3, x4)
U32_GA(x1, x2, x3)  =  U32_GA(x3)
APP43_IN_GGGA(x1, x2, x3, x4)  =  APP43_IN_GGGA(x1, x2, x3)
U13_GGGA(x1, x2, x3, x4, x5, x6)  =  U13_GGGA(x1, 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) → U17_GA(T22, T23, T24, T9, less14_in_gg(T22, T23))
QS1_IN_GA(.(T22, .(T23, T24)), T9) → LESS14_IN_GG(T22, T23)
LESS14_IN_GG(s(T38), s(T39)) → U1_GG(T38, T39, less14_in_gg(T38, T39))
LESS14_IN_GG(s(T38), s(T39)) → LESS14_IN_GG(T38, T39)
U17_GA(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U18_GA(T22, T23, T24, T9, part24_in_ggaa(T22, T24, X52, X53))
U17_GA(T22, T23, T24, T9, less14_out_gg(T22, T23)) → PART24_IN_GGAA(T22, T24, X52, X53)
PART24_IN_GGAA(T62, .(T63, T64), .(T63, X126), X127) → U2_GGAA(T62, T63, T64, X126, X127, less14_in_gg(T62, T63))
PART24_IN_GGAA(T62, .(T63, T64), .(T63, X126), X127) → LESS14_IN_GG(T62, T63)
U2_GGAA(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → U3_GGAA(T62, T63, T64, X126, X127, part24_in_ggaa(T62, T64, X126, X127))
U2_GGAA(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → PART24_IN_GGAA(T62, T64, X126, X127)
PART24_IN_GGAA(T84, .(T85, T86), X177, .(T85, X178)) → U4_GGAA(T84, T85, T86, X177, X178, part24_in_ggaa(T84, T86, X177, X178))
PART24_IN_GGAA(T84, .(T85, T86), X177, .(T85, X178)) → PART24_IN_GGAA(T84, T86, X177, X178)
U17_GA(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U19_GA(T22, T23, T24, T9, part24_in_ggaa(T22, T24, T45, T46))
U19_GA(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U20_GA(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
U19_GA(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → QS1_IN_AA(.(T23, T45), X14)
QS1_IN_AA(.(T22, .(T23, T24)), T9) → U17_AA(T22, T23, T24, T9, less14_in_aa(T22, T23))
QS1_IN_AA(.(T22, .(T23, T24)), T9) → LESS14_IN_AA(T22, T23)
LESS14_IN_AA(s(T38), s(T39)) → U1_AA(T38, T39, less14_in_aa(T38, T39))
LESS14_IN_AA(s(T38), s(T39)) → LESS14_IN_AA(T38, T39)
U17_AA(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U18_AA(T22, T23, T24, T9, part24_in_gaaa(T22, T24, X52, X53))
U17_AA(T22, T23, T24, T9, less14_out_aa(T22, T23)) → PART24_IN_GAAA(T22, T24, X52, X53)
PART24_IN_GAAA(T62, .(T63, T64), .(T63, X126), X127) → U2_GAAA(T62, T63, T64, X126, X127, less14_in_ga(T62, T63))
PART24_IN_GAAA(T62, .(T63, T64), .(T63, X126), X127) → LESS14_IN_GA(T62, T63)
LESS14_IN_GA(s(T38), s(T39)) → U1_GA(T38, T39, less14_in_ga(T38, T39))
LESS14_IN_GA(s(T38), s(T39)) → LESS14_IN_GA(T38, T39)
U2_GAAA(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → U3_GAAA(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
U2_GAAA(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → PART24_IN_GAAA(T62, T64, X126, X127)
PART24_IN_GAAA(T84, .(T85, T86), X177, .(T85, X178)) → U4_GAAA(T84, T85, T86, X177, X178, part24_in_gaaa(T84, T86, X177, X178))
PART24_IN_GAAA(T84, .(T85, T86), X177, .(T85, X178)) → PART24_IN_GAAA(T84, T86, X177, X178)
U17_AA(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U19_AA(T22, T23, T24, T9, part24_in_gaaa(T22, T24, T45, T46))
U19_AA(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U20_AA(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
U19_AA(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → QS1_IN_AA(.(T23, T45), X14)
QS1_IN_AA(.(T191, .(T192, T193)), T9) → U23_AA(T191, T192, T193, T9, part24_in_aaaa(T191, T193, X336, X337))
QS1_IN_AA(.(T191, .(T192, T193)), T9) → PART24_IN_AAAA(T191, T193, X336, X337)
PART24_IN_AAAA(T62, .(T63, T64), .(T63, X126), X127) → U2_AAAA(T62, T63, T64, X126, X127, less14_in_aa(T62, T63))
PART24_IN_AAAA(T62, .(T63, T64), .(T63, X126), X127) → LESS14_IN_AA(T62, T63)
U2_AAAA(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → U3_AAAA(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
U2_AAAA(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → PART24_IN_GAAA(T62, T64, X126, X127)
PART24_IN_AAAA(T84, .(T85, T86), X177, .(T85, X178)) → U4_AAAA(T84, T85, T86, X177, X178, part24_in_aaaa(T84, T86, X177, X178))
PART24_IN_AAAA(T84, .(T85, T86), X177, .(T85, X178)) → PART24_IN_AAAA(T84, T86, X177, X178)
QS1_IN_AA(.(T191, .(T192, T193)), T9) → U24_AA(T191, T192, T193, T9, part24_in_aaaa(T191, T193, T197, T198))
U24_AA(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U25_AA(T191, T192, T193, T9, qs42_in_aa(T197, X14))
U24_AA(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → QS42_IN_AA(T197, X14)
QS42_IN_AA(.(T103, T104), X230) → U5_AA(T103, T104, X230, part24_in_aaaa(T103, T104, X226, X227))
QS42_IN_AA(.(T103, T104), X230) → PART24_IN_AAAA(T103, T104, X226, X227)
QS42_IN_AA(.(T103, T104), X230) → U6_AA(T103, T104, X230, part24_in_aaaa(T103, T104, T108, T109))
U6_AA(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U7_AA(T103, T104, X230, qs42_in_aa(T108, X228))
U6_AA(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → QS42_IN_AA(T108, X228)
U6_AA(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U8_AA(T103, T104, X230, T109, qs42_in_aa(T108, T113))
U8_AA(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U9_AA(T103, T104, X230, qs42_in_aa(T109, X229))
U8_AA(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → QS42_IN_AA(T109, X229)
U8_AA(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U10_AA(T103, T104, X230, T113, qs42_in_aa(T109, T114))
U10_AA(T103, T104, X230, T113, qs42_out_aa(T109, T114)) → U11_AA(T103, T104, X230, app57_in_aaaa(T113, T103, T114, X230))
U10_AA(T103, T104, X230, T113, qs42_out_aa(T109, T114)) → APP57_IN_AAAA(T113, T103, T114, X230)
APP57_IN_AAAA(.(T137, T138), T139, T140, .(T137, X270)) → U12_AAAA(T137, T138, T139, T140, X270, app57_in_aaaa(T138, T139, T140, X270))
APP57_IN_AAAA(.(T137, T138), T139, T140, .(T137, X270)) → APP57_IN_AAAA(T138, T139, T140, X270)
U24_AA(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U26_AA(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_AA(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_AA(T191, T192, T193, T9, p41_in_aaaaa(.(T192, T198), X15, T202, T191, T9))
U26_AA(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → P41_IN_AAAAA(.(T192, T198), X15, T202, T191, T9)
P41_IN_AAAAA(T46, X15, T95, T22, T9) → U14_AAAAA(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
P41_IN_AAAAA(T46, X15, T95, T22, T9) → QS42_IN_AA(T46, X15)
P41_IN_AAAAA(T46, T98, T95, T22, T9) → U15_AAAAA(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_AAAAA(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_AAAAA(T46, T98, T95, T22, T9, app43_in_aaaa(T95, T22, T98, T9))
U15_AAAAA(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → APP43_IN_AAAA(T95, T22, T98, T9)
APP43_IN_AAAA(.(T169, T170), T171, T172, .(T169, T174)) → U13_AAAA(T169, T170, T171, T172, T174, app43_in_aaaa(T170, T171, T172, T174))
APP43_IN_AAAA(.(T169, T170), T171, T172, .(T169, T174)) → APP43_IN_AAAA(T170, T171, T172, T174)
QS1_IN_AA(.(T207, []), T9) → U28_AA(T207, T9, qs84_in_a(X14))
QS1_IN_AA(.(T207, []), T9) → QS84_IN_A(X14)
QS1_IN_AA(.(T207, []), T9) → U29_AA(T207, T9, qs84_in_a(T210))
U29_AA(T207, T9, qs84_out_a(T210)) → U30_AA(T207, T9, qs84_in_a(X15))
U29_AA(T207, T9, qs84_out_a(T210)) → QS84_IN_A(X15)
U29_AA(T207, T9, qs84_out_a(T210)) → U31_AA(T207, T9, T210, qs84_in_a(T213))
U31_AA(T207, T9, T210, qs84_out_a(T213)) → U32_AA(T207, T9, app43_in_gaga(T210, T207, T213, T9))
U31_AA(T207, T9, T210, qs84_out_a(T213)) → APP43_IN_GAGA(T210, T207, T213, T9)
APP43_IN_GAGA(.(T169, T170), T171, T172, .(T169, T174)) → U13_GAGA(T169, T170, T171, T172, T174, app43_in_gaga(T170, T171, T172, T174))
APP43_IN_GAGA(.(T169, T170), T171, T172, .(T169, T174)) → APP43_IN_GAGA(T170, T171, T172, T174)
U19_AA(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U21_AA(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_AA(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_AA(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
U21_AA(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → P41_IN_AAAGA(T46, X15, T95, T22, T9)
P41_IN_AAAGA(T46, X15, T95, T22, T9) → U14_AAAGA(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
P41_IN_AAAGA(T46, X15, T95, T22, T9) → QS42_IN_AA(T46, X15)
P41_IN_AAAGA(T46, T98, T95, T22, T9) → U15_AAAGA(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_AAAGA(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_AAAGA(T46, T98, T95, T22, T9, app43_in_agaa(T95, T22, T98, T9))
U15_AAAGA(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → APP43_IN_AGAA(T95, T22, T98, T9)
APP43_IN_AGAA(.(T169, T170), T171, T172, .(T169, T174)) → U13_AGAA(T169, T170, T171, T172, T174, app43_in_agaa(T170, T171, T172, T174))
APP43_IN_AGAA(.(T169, T170), T171, T172, .(T169, T174)) → APP43_IN_AGAA(T170, T171, T172, T174)
U19_GA(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U21_GA(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_GA(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_GA(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
U21_GA(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → P41_IN_AAAGA(T46, X15, T95, T22, T9)
QS1_IN_GA(.(T191, .(T192, T193)), T9) → U23_GA(T191, T192, T193, T9, part24_in_ggaa(T191, T193, X336, X337))
QS1_IN_GA(.(T191, .(T192, T193)), T9) → PART24_IN_GGAA(T191, T193, X336, X337)
QS1_IN_GA(.(T191, .(T192, T193)), T9) → U24_GA(T191, T192, T193, T9, part24_in_ggaa(T191, T193, T197, T198))
U24_GA(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U25_GA(T191, T192, T193, T9, qs42_in_aa(T197, X14))
U24_GA(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → QS42_IN_AA(T197, X14)
U24_GA(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U26_GA(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_GA(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_GA(T191, T192, T193, T9, p41_in_aaaga(.(T192, T198), X15, T202, T191, T9))
U26_GA(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → P41_IN_AAAGA(.(T192, T198), X15, T202, T191, T9)
QS1_IN_GA(.(T207, []), T9) → U28_GA(T207, T9, qs84_in_a(X14))
QS1_IN_GA(.(T207, []), T9) → QS84_IN_A(X14)
QS1_IN_GA(.(T207, []), T9) → U29_GA(T207, T9, qs84_in_a(T210))
U29_GA(T207, T9, qs84_out_a(T210)) → U30_GA(T207, T9, qs84_in_a(X15))
U29_GA(T207, T9, qs84_out_a(T210)) → QS84_IN_A(X15)
U29_GA(T207, T9, qs84_out_a(T210)) → U31_GA(T207, T9, T210, qs84_in_a(T213))
U31_GA(T207, T9, T210, qs84_out_a(T213)) → U32_GA(T207, T9, app43_in_ggga(T210, T207, T213, T9))
U31_GA(T207, T9, T210, qs84_out_a(T213)) → APP43_IN_GGGA(T210, T207, T213, T9)
APP43_IN_GGGA(.(T169, T170), T171, T172, .(T169, T174)) → U13_GGGA(T169, T170, T171, T172, T174, app43_in_ggga(T170, T171, T172, T174))
APP43_IN_GGGA(.(T169, T170), T171, T172, .(T169, T174)) → APP43_IN_GGGA(T170, T171, T172, T174)

The TRS R consists of the following rules:

qs1_in_ga([], []) → qs1_out_ga([], [])
qs1_in_ga(.(T22, .(T23, T24)), T9) → U17_ga(T22, T23, T24, T9, less14_in_gg(T22, T23))
less14_in_gg(0, s(T33)) → less14_out_gg(0, s(T33))
less14_in_gg(s(T38), s(T39)) → U1_gg(T38, T39, less14_in_gg(T38, T39))
U1_gg(T38, T39, less14_out_gg(T38, T39)) → less14_out_gg(s(T38), s(T39))
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U18_ga(T22, T23, T24, T9, part24_in_ggaa(T22, T24, X52, X53))
part24_in_ggaa(T62, .(T63, T64), .(T63, X126), X127) → U2_ggaa(T62, T63, T64, X126, X127, less14_in_gg(T62, T63))
U2_ggaa(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → part24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
U2_ggaa(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → U3_ggaa(T62, T63, T64, X126, X127, part24_in_ggaa(T62, T64, X126, X127))
part24_in_ggaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_ggaa(T84, T85, T86, X177, X178, part24_in_ggaa(T84, T86, X177, X178))
part24_in_ggaa(T92, [], [], []) → part24_out_ggaa(T92, [], [], [])
U4_ggaa(T84, T85, T86, X177, X178, part24_out_ggaa(T84, T86, X177, X178)) → part24_out_ggaa(T84, .(T85, T86), X177, .(T85, X178))
U3_ggaa(T62, T63, T64, X126, X127, part24_out_ggaa(T62, T64, X126, X127)) → part24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
U18_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, X52, X53)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U19_ga(T22, T23, T24, T9, part24_in_ggaa(T22, T24, T45, T46))
U19_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U20_ga(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
qs1_in_aa([], []) → qs1_out_aa([], [])
qs1_in_aa(.(T22, .(T23, T24)), T9) → U17_aa(T22, T23, T24, T9, less14_in_aa(T22, T23))
less14_in_aa(0, s(T33)) → less14_out_aa(0, s(T33))
less14_in_aa(s(T38), s(T39)) → U1_aa(T38, T39, less14_in_aa(T38, T39))
U1_aa(T38, T39, less14_out_aa(T38, T39)) → less14_out_aa(s(T38), s(T39))
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U18_aa(T22, T23, T24, T9, part24_in_gaaa(T22, T24, X52, X53))
part24_in_gaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_gaaa(T62, T63, T64, X126, X127, less14_in_ga(T62, T63))
less14_in_ga(0, s(T33)) → less14_out_ga(0, s(T33))
less14_in_ga(s(T38), s(T39)) → U1_ga(T38, T39, less14_in_ga(T38, T39))
U1_ga(T38, T39, less14_out_ga(T38, T39)) → less14_out_ga(s(T38), s(T39))
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → U3_gaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
part24_in_gaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_gaaa(T84, T85, T86, X177, X178, part24_in_gaaa(T84, T86, X177, X178))
part24_in_gaaa(T92, [], [], []) → part24_out_gaaa(T92, [], [], [])
U4_gaaa(T84, T85, T86, X177, X178, part24_out_gaaa(T84, T86, X177, X178)) → part24_out_gaaa(T84, .(T85, T86), X177, .(T85, X178))
U3_gaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U18_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, X52, X53)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U19_aa(T22, T23, T24, T9, part24_in_gaaa(T22, T24, T45, T46))
U19_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U20_aa(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
qs1_in_aa(.(T191, .(T192, T193)), T9) → U23_aa(T191, T192, T193, T9, part24_in_aaaa(T191, T193, X336, X337))
part24_in_aaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_aaaa(T62, T63, T64, X126, X127, less14_in_aa(T62, T63))
U2_aaaa(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → part24_out_aaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_aaaa(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → U3_aaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
U3_aaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_aaaa(T62, .(T63, T64), .(T63, X126), X127)
part24_in_aaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_aaaa(T84, T85, T86, X177, X178, part24_in_aaaa(T84, T86, X177, X178))
part24_in_aaaa(T92, [], [], []) → part24_out_aaaa(T92, [], [], [])
U4_aaaa(T84, T85, T86, X177, X178, part24_out_aaaa(T84, T86, X177, X178)) → part24_out_aaaa(T84, .(T85, T86), X177, .(T85, X178))
U23_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, X336, X337)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
qs1_in_aa(.(T191, .(T192, T193)), T9) → U24_aa(T191, T192, T193, T9, part24_in_aaaa(T191, T193, T197, T198))
U24_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U25_aa(T191, T192, T193, T9, qs42_in_aa(T197, X14))
qs42_in_aa([], []) → qs42_out_aa([], [])
qs42_in_aa(.(T103, T104), X230) → U5_aa(T103, T104, X230, part24_in_aaaa(T103, T104, X226, X227))
U5_aa(T103, T104, X230, part24_out_aaaa(T103, T104, X226, X227)) → qs42_out_aa(.(T103, T104), X230)
qs42_in_aa(.(T103, T104), X230) → U6_aa(T103, T104, X230, part24_in_aaaa(T103, T104, T108, T109))
U6_aa(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U7_aa(T103, T104, X230, qs42_in_aa(T108, X228))
U7_aa(T103, T104, X230, qs42_out_aa(T108, X228)) → qs42_out_aa(.(T103, T104), X230)
U6_aa(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U8_aa(T103, T104, X230, T109, qs42_in_aa(T108, T113))
U8_aa(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U9_aa(T103, T104, X230, qs42_in_aa(T109, X229))
U9_aa(T103, T104, X230, qs42_out_aa(T109, X229)) → qs42_out_aa(.(T103, T104), X230)
U8_aa(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U10_aa(T103, T104, X230, T113, qs42_in_aa(T109, T114))
U10_aa(T103, T104, X230, T113, qs42_out_aa(T109, T114)) → U11_aa(T103, T104, X230, app57_in_aaaa(T113, T103, T114, X230))
app57_in_aaaa([], T127, T128, .(T127, T128)) → app57_out_aaaa([], T127, T128, .(T127, T128))
app57_in_aaaa(.(T137, T138), T139, T140, .(T137, X270)) → U12_aaaa(T137, T138, T139, T140, X270, app57_in_aaaa(T138, T139, T140, X270))
U12_aaaa(T137, T138, T139, T140, X270, app57_out_aaaa(T138, T139, T140, X270)) → app57_out_aaaa(.(T137, T138), T139, T140, .(T137, X270))
U11_aa(T103, T104, X230, app57_out_aaaa(T113, T103, T114, X230)) → qs42_out_aa(.(T103, T104), X230)
U25_aa(T191, T192, T193, T9, qs42_out_aa(T197, X14)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
U24_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U26_aa(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_aa(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_aa(T191, T192, T193, T9, p41_in_aaaaa(.(T192, T198), X15, T202, T191, T9))
p41_in_aaaaa(T46, X15, T95, T22, T9) → U14_aaaaa(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
U14_aaaaa(T46, X15, T95, T22, T9, qs42_out_aa(T46, X15)) → p41_out_aaaaa(T46, X15, T95, T22, T9)
p41_in_aaaaa(T46, T98, T95, T22, T9) → U15_aaaaa(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_aaaaa(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_aaaaa(T46, T98, T95, T22, T9, app43_in_aaaa(T95, T22, T98, T9))
app43_in_aaaa([], T157, T158, .(T157, T158)) → app43_out_aaaa([], T157, T158, .(T157, T158))
app43_in_aaaa(.(T169, T170), T171, T172, .(T169, T174)) → U13_aaaa(T169, T170, T171, T172, T174, app43_in_aaaa(T170, T171, T172, T174))
U13_aaaa(T169, T170, T171, T172, T174, app43_out_aaaa(T170, T171, T172, T174)) → app43_out_aaaa(.(T169, T170), T171, T172, .(T169, T174))
U16_aaaaa(T46, T98, T95, T22, T9, app43_out_aaaa(T95, T22, T98, T9)) → p41_out_aaaaa(T46, T98, T95, T22, T9)
U27_aa(T191, T192, T193, T9, p41_out_aaaaa(.(T192, T198), X15, T202, T191, T9)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
qs1_in_aa(.(T207, []), T9) → U28_aa(T207, T9, qs84_in_a(X14))
qs84_in_a([]) → qs84_out_a([])
U28_aa(T207, T9, qs84_out_a(X14)) → qs1_out_aa(.(T207, []), T9)
qs1_in_aa(.(T207, []), T9) → U29_aa(T207, T9, qs84_in_a(T210))
U29_aa(T207, T9, qs84_out_a(T210)) → U30_aa(T207, T9, qs84_in_a(X15))
U30_aa(T207, T9, qs84_out_a(X15)) → qs1_out_aa(.(T207, []), T9)
U29_aa(T207, T9, qs84_out_a(T210)) → U31_aa(T207, T9, T210, qs84_in_a(T213))
U31_aa(T207, T9, T210, qs84_out_a(T213)) → U32_aa(T207, T9, app43_in_gaga(T210, T207, T213, T9))
app43_in_gaga([], T157, T158, .(T157, T158)) → app43_out_gaga([], T157, T158, .(T157, T158))
app43_in_gaga(.(T169, T170), T171, T172, .(T169, T174)) → U13_gaga(T169, T170, T171, T172, T174, app43_in_gaga(T170, T171, T172, T174))
U13_gaga(T169, T170, T171, T172, T174, app43_out_gaga(T170, T171, T172, T174)) → app43_out_gaga(.(T169, T170), T171, T172, .(T169, T174))
U32_aa(T207, T9, app43_out_gaga(T210, T207, T213, T9)) → qs1_out_aa(.(T207, []), T9)
U20_aa(T22, T23, T24, T9, qs1_out_aa(.(T23, T45), X14)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U21_aa(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_aa(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_aa(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
p41_in_aaaga(T46, X15, T95, T22, T9) → U14_aaaga(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
U14_aaaga(T46, X15, T95, T22, T9, qs42_out_aa(T46, X15)) → p41_out_aaaga(T46, X15, T95, T22, T9)
p41_in_aaaga(T46, T98, T95, T22, T9) → U15_aaaga(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_aaaga(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_aaaga(T46, T98, T95, T22, T9, app43_in_agaa(T95, T22, T98, T9))
app43_in_agaa([], T157, T158, .(T157, T158)) → app43_out_agaa([], T157, T158, .(T157, T158))
app43_in_agaa(.(T169, T170), T171, T172, .(T169, T174)) → U13_agaa(T169, T170, T171, T172, T174, app43_in_agaa(T170, T171, T172, T174))
U13_agaa(T169, T170, T171, T172, T174, app43_out_agaa(T170, T171, T172, T174)) → app43_out_agaa(.(T169, T170), T171, T172, .(T169, T174))
U16_aaaga(T46, T98, T95, T22, T9, app43_out_agaa(T95, T22, T98, T9)) → p41_out_aaaga(T46, T98, T95, T22, T9)
U22_aa(T22, T23, T24, T9, p41_out_aaaga(T46, X15, T95, T22, T9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U20_ga(T22, T23, T24, T9, qs1_out_aa(.(T23, T45), X14)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U21_ga(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_ga(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_ga(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
U22_ga(T22, T23, T24, T9, p41_out_aaaga(T46, X15, T95, T22, T9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
qs1_in_ga(.(T191, .(T192, T193)), T9) → U23_ga(T191, T192, T193, T9, part24_in_ggaa(T191, T193, X336, X337))
U23_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, X336, X337)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
qs1_in_ga(.(T191, .(T192, T193)), T9) → U24_ga(T191, T192, T193, T9, part24_in_ggaa(T191, T193, T197, T198))
U24_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U25_ga(T191, T192, T193, T9, qs42_in_aa(T197, X14))
U25_ga(T191, T192, T193, T9, qs42_out_aa(T197, X14)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
U24_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U26_ga(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_ga(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_ga(T191, T192, T193, T9, p41_in_aaaga(.(T192, T198), X15, T202, T191, T9))
U27_ga(T191, T192, T193, T9, p41_out_aaaga(.(T192, T198), X15, T202, T191, T9)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
qs1_in_ga(.(T207, []), T9) → U28_ga(T207, T9, qs84_in_a(X14))
U28_ga(T207, T9, qs84_out_a(X14)) → qs1_out_ga(.(T207, []), T9)
qs1_in_ga(.(T207, []), T9) → U29_ga(T207, T9, qs84_in_a(T210))
U29_ga(T207, T9, qs84_out_a(T210)) → U30_ga(T207, T9, qs84_in_a(X15))
U30_ga(T207, T9, qs84_out_a(X15)) → qs1_out_ga(.(T207, []), T9)
U29_ga(T207, T9, qs84_out_a(T210)) → U31_ga(T207, T9, T210, qs84_in_a(T213))
U31_ga(T207, T9, T210, qs84_out_a(T213)) → U32_ga(T207, T9, app43_in_ggga(T210, T207, T213, T9))
app43_in_ggga([], T157, T158, .(T157, T158)) → app43_out_ggga([], T157, T158, .(T157, T158))
app43_in_ggga(.(T169, T170), T171, T172, .(T169, T174)) → U13_ggga(T169, T170, T171, T172, T174, app43_in_ggga(T170, T171, T172, T174))
U13_ggga(T169, T170, T171, T172, T174, app43_out_ggga(T170, T171, T172, T174)) → app43_out_ggga(.(T169, T170), T171, T172, .(T169, T174))
U32_ga(T207, T9, app43_out_ggga(T210, T207, T213, T9)) → qs1_out_ga(.(T207, []), T9)

The argument filtering Pi contains the following mapping:
qs1_in_ga(x1, x2)  =  qs1_in_ga(x1)
[]  =  []
qs1_out_ga(x1, x2)  =  qs1_out_ga
.(x1, x2)  =  .(x1, x2)
U17_ga(x1, x2, x3, x4, x5)  =  U17_ga(x1, x3, x5)
less14_in_gg(x1, x2)  =  less14_in_gg(x1, x2)
0  =  0
s(x1)  =  s(x1)
less14_out_gg(x1, x2)  =  less14_out_gg
U1_gg(x1, x2, x3)  =  U1_gg(x3)
U18_ga(x1, x2, x3, x4, x5)  =  U18_ga(x5)
part24_in_ggaa(x1, x2, x3, x4)  =  part24_in_ggaa(x1, x2)
U2_ggaa(x1, x2, x3, x4, x5, x6)  =  U2_ggaa(x1, x3, x6)
part24_out_ggaa(x1, x2, x3, x4)  =  part24_out_ggaa
U3_ggaa(x1, x2, x3, x4, x5, x6)  =  U3_ggaa(x6)
U4_ggaa(x1, x2, x3, x4, x5, x6)  =  U4_ggaa(x6)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x5)
U20_ga(x1, x2, x3, x4, x5)  =  U20_ga(x5)
qs1_in_aa(x1, x2)  =  qs1_in_aa
qs1_out_aa(x1, x2)  =  qs1_out_aa
U17_aa(x1, x2, x3, x4, x5)  =  U17_aa(x5)
less14_in_aa(x1, x2)  =  less14_in_aa
less14_out_aa(x1, x2)  =  less14_out_aa(x1)
U1_aa(x1, x2, x3)  =  U1_aa(x3)
U18_aa(x1, x2, x3, x4, x5)  =  U18_aa(x5)
part24_in_gaaa(x1, x2, x3, x4)  =  part24_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x1, x6)
less14_in_ga(x1, x2)  =  less14_in_ga(x1)
less14_out_ga(x1, x2)  =  less14_out_ga
U1_ga(x1, x2, x3)  =  U1_ga(x3)
part24_out_gaaa(x1, x2, x3, x4)  =  part24_out_gaaa
U3_gaaa(x1, x2, x3, x4, x5, x6)  =  U3_gaaa(x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x6)
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(x1, x5)
U20_aa(x1, x2, x3, x4, x5)  =  U20_aa(x5)
U23_aa(x1, x2, x3, x4, x5)  =  U23_aa(x5)
part24_in_aaaa(x1, x2, x3, x4)  =  part24_in_aaaa
U2_aaaa(x1, x2, x3, x4, x5, x6)  =  U2_aaaa(x6)
part24_out_aaaa(x1, x2, x3, x4)  =  part24_out_aaaa
U3_aaaa(x1, x2, x3, x4, x5, x6)  =  U3_aaaa(x6)
U4_aaaa(x1, x2, x3, x4, x5, x6)  =  U4_aaaa(x6)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
qs42_in_aa(x1, x2)  =  qs42_in_aa
qs42_out_aa(x1, x2)  =  qs42_out_aa
U5_aa(x1, x2, x3, x4)  =  U5_aa(x4)
U6_aa(x1, x2, x3, x4)  =  U6_aa(x4)
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
U8_aa(x1, x2, x3, x4, x5)  =  U8_aa(x5)
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)
app57_in_aaaa(x1, x2, x3, x4)  =  app57_in_aaaa
app57_out_aaaa(x1, x2, x3, x4)  =  app57_out_aaaa
U12_aaaa(x1, x2, x3, x4, x5, x6)  =  U12_aaaa(x6)
U26_aa(x1, x2, x3, x4, x5, x6)  =  U26_aa(x6)
U27_aa(x1, x2, x3, x4, x5)  =  U27_aa(x5)
p41_in_aaaaa(x1, x2, x3, x4, x5)  =  p41_in_aaaaa
U14_aaaaa(x1, x2, x3, x4, x5, x6)  =  U14_aaaaa(x6)
p41_out_aaaaa(x1, x2, x3, x4, x5)  =  p41_out_aaaaa
U15_aaaaa(x1, x2, x3, x4, x5, x6)  =  U15_aaaaa(x6)
U16_aaaaa(x1, x2, x3, x4, x5, x6)  =  U16_aaaaa(x6)
app43_in_aaaa(x1, x2, x3, x4)  =  app43_in_aaaa
app43_out_aaaa(x1, x2, x3, x4)  =  app43_out_aaaa
U13_aaaa(x1, x2, x3, x4, x5, x6)  =  U13_aaaa(x6)
U28_aa(x1, x2, x3)  =  U28_aa(x3)
qs84_in_a(x1)  =  qs84_in_a
qs84_out_a(x1)  =  qs84_out_a(x1)
U29_aa(x1, x2, x3)  =  U29_aa(x3)
U30_aa(x1, x2, x3)  =  U30_aa(x3)
U31_aa(x1, x2, x3, x4)  =  U31_aa(x3, x4)
U32_aa(x1, x2, x3)  =  U32_aa(x3)
app43_in_gaga(x1, x2, x3, x4)  =  app43_in_gaga(x1, x3)
app43_out_gaga(x1, x2, x3, x4)  =  app43_out_gaga
U13_gaga(x1, x2, x3, x4, x5, x6)  =  U13_gaga(x6)
U21_aa(x1, x2, x3, x4, x5, x6)  =  U21_aa(x1, x6)
U22_aa(x1, x2, x3, x4, x5)  =  U22_aa(x5)
p41_in_aaaga(x1, x2, x3, x4, x5)  =  p41_in_aaaga(x4)
U14_aaaga(x1, x2, x3, x4, x5, x6)  =  U14_aaaga(x6)
p41_out_aaaga(x1, x2, x3, x4, x5)  =  p41_out_aaaga
U15_aaaga(x1, x2, x3, x4, x5, x6)  =  U15_aaaga(x4, x6)
U16_aaaga(x1, x2, x3, x4, x5, x6)  =  U16_aaaga(x6)
app43_in_agaa(x1, x2, x3, x4)  =  app43_in_agaa(x2)
app43_out_agaa(x1, x2, x3, x4)  =  app43_out_agaa
U13_agaa(x1, x2, x3, x4, x5, x6)  =  U13_agaa(x6)
U21_ga(x1, x2, x3, x4, x5, x6)  =  U21_ga(x1, x6)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x5)
U23_ga(x1, x2, x3, x4, x5)  =  U23_ga(x5)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x1, x5)
U25_ga(x1, x2, x3, x4, x5)  =  U25_ga(x5)
U26_ga(x1, x2, x3, x4, x5, x6)  =  U26_ga(x1, x6)
U27_ga(x1, x2, x3, x4, x5)  =  U27_ga(x5)
U28_ga(x1, x2, x3)  =  U28_ga(x3)
U29_ga(x1, x2, x3)  =  U29_ga(x1, x3)
U30_ga(x1, x2, x3)  =  U30_ga(x3)
U31_ga(x1, x2, x3, x4)  =  U31_ga(x1, x3, x4)
U32_ga(x1, x2, x3)  =  U32_ga(x3)
app43_in_ggga(x1, x2, x3, x4)  =  app43_in_ggga(x1, x2, x3)
app43_out_ggga(x1, x2, x3, x4)  =  app43_out_ggga(x4)
U13_ggga(x1, x2, x3, x4, x5, x6)  =  U13_ggga(x1, x6)
QS1_IN_GA(x1, x2)  =  QS1_IN_GA(x1)
U17_GA(x1, x2, x3, x4, x5)  =  U17_GA(x1, x3, x5)
LESS14_IN_GG(x1, x2)  =  LESS14_IN_GG(x1, x2)
U1_GG(x1, x2, x3)  =  U1_GG(x3)
U18_GA(x1, x2, x3, x4, x5)  =  U18_GA(x5)
PART24_IN_GGAA(x1, x2, x3, x4)  =  PART24_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(x6)
U19_GA(x1, x2, x3, x4, x5)  =  U19_GA(x1, x5)
U20_GA(x1, x2, x3, x4, x5)  =  U20_GA(x5)
QS1_IN_AA(x1, x2)  =  QS1_IN_AA
U17_AA(x1, x2, x3, x4, x5)  =  U17_AA(x5)
LESS14_IN_AA(x1, x2)  =  LESS14_IN_AA
U1_AA(x1, x2, x3)  =  U1_AA(x3)
U18_AA(x1, x2, x3, x4, x5)  =  U18_AA(x5)
PART24_IN_GAAA(x1, x2, x3, x4)  =  PART24_IN_GAAA(x1)
U2_GAAA(x1, x2, x3, x4, x5, x6)  =  U2_GAAA(x1, x6)
LESS14_IN_GA(x1, x2)  =  LESS14_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(x6)
U19_AA(x1, x2, x3, x4, x5)  =  U19_AA(x1, x5)
U20_AA(x1, x2, x3, x4, x5)  =  U20_AA(x5)
U23_AA(x1, x2, x3, x4, x5)  =  U23_AA(x5)
PART24_IN_AAAA(x1, x2, x3, x4)  =  PART24_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)
U24_AA(x1, x2, x3, x4, x5)  =  U24_AA(x5)
U25_AA(x1, x2, x3, x4, x5)  =  U25_AA(x5)
QS42_IN_AA(x1, x2)  =  QS42_IN_AA
U5_AA(x1, x2, x3, x4)  =  U5_AA(x4)
U6_AA(x1, x2, x3, x4)  =  U6_AA(x4)
U7_AA(x1, x2, x3, x4)  =  U7_AA(x4)
U8_AA(x1, x2, x3, x4, x5)  =  U8_AA(x5)
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)
APP57_IN_AAAA(x1, x2, x3, x4)  =  APP57_IN_AAAA
U12_AAAA(x1, x2, x3, x4, x5, x6)  =  U12_AAAA(x6)
U26_AA(x1, x2, x3, x4, x5, x6)  =  U26_AA(x6)
U27_AA(x1, x2, x3, x4, x5)  =  U27_AA(x5)
P41_IN_AAAAA(x1, x2, x3, x4, x5)  =  P41_IN_AAAAA
U14_AAAAA(x1, x2, x3, x4, x5, x6)  =  U14_AAAAA(x6)
U15_AAAAA(x1, x2, x3, x4, x5, x6)  =  U15_AAAAA(x6)
U16_AAAAA(x1, x2, x3, x4, x5, x6)  =  U16_AAAAA(x6)
APP43_IN_AAAA(x1, x2, x3, x4)  =  APP43_IN_AAAA
U13_AAAA(x1, x2, x3, x4, x5, x6)  =  U13_AAAA(x6)
U28_AA(x1, x2, x3)  =  U28_AA(x3)
QS84_IN_A(x1)  =  QS84_IN_A
U29_AA(x1, x2, x3)  =  U29_AA(x3)
U30_AA(x1, x2, x3)  =  U30_AA(x3)
U31_AA(x1, x2, x3, x4)  =  U31_AA(x3, x4)
U32_AA(x1, x2, x3)  =  U32_AA(x3)
APP43_IN_GAGA(x1, x2, x3, x4)  =  APP43_IN_GAGA(x1, x3)
U13_GAGA(x1, x2, x3, x4, x5, x6)  =  U13_GAGA(x6)
U21_AA(x1, x2, x3, x4, x5, x6)  =  U21_AA(x1, x6)
U22_AA(x1, x2, x3, x4, x5)  =  U22_AA(x5)
P41_IN_AAAGA(x1, x2, x3, x4, x5)  =  P41_IN_AAAGA(x4)
U14_AAAGA(x1, x2, x3, x4, x5, x6)  =  U14_AAAGA(x6)
U15_AAAGA(x1, x2, x3, x4, x5, x6)  =  U15_AAAGA(x4, x6)
U16_AAAGA(x1, x2, x3, x4, x5, x6)  =  U16_AAAGA(x6)
APP43_IN_AGAA(x1, x2, x3, x4)  =  APP43_IN_AGAA(x2)
U13_AGAA(x1, x2, x3, x4, x5, x6)  =  U13_AGAA(x6)
U21_GA(x1, x2, x3, x4, x5, x6)  =  U21_GA(x1, x6)
U22_GA(x1, x2, x3, x4, x5)  =  U22_GA(x5)
U23_GA(x1, x2, x3, x4, x5)  =  U23_GA(x5)
U24_GA(x1, x2, x3, x4, x5)  =  U24_GA(x1, x5)
U25_GA(x1, x2, x3, x4, x5)  =  U25_GA(x5)
U26_GA(x1, x2, x3, x4, x5, x6)  =  U26_GA(x1, x6)
U27_GA(x1, x2, x3, x4, x5)  =  U27_GA(x5)
U28_GA(x1, x2, x3)  =  U28_GA(x3)
U29_GA(x1, x2, x3)  =  U29_GA(x1, x3)
U30_GA(x1, x2, x3)  =  U30_GA(x3)
U31_GA(x1, x2, x3, x4)  =  U31_GA(x1, x3, x4)
U32_GA(x1, x2, x3)  =  U32_GA(x3)
APP43_IN_GGGA(x1, x2, x3, x4)  =  APP43_IN_GGGA(x1, x2, x3)
U13_GGGA(x1, x2, x3, x4, x5, x6)  =  U13_GGGA(x1, x6)

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

(7) DependencyGraphProof (EQUIVALENT transformation)

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

(8) Complex Obligation (AND)

(9) Obligation:

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

APP43_IN_GGGA(.(T169, T170), T171, T172, .(T169, T174)) → APP43_IN_GGGA(T170, T171, T172, T174)

The TRS R consists of the following rules:

qs1_in_ga([], []) → qs1_out_ga([], [])
qs1_in_ga(.(T22, .(T23, T24)), T9) → U17_ga(T22, T23, T24, T9, less14_in_gg(T22, T23))
less14_in_gg(0, s(T33)) → less14_out_gg(0, s(T33))
less14_in_gg(s(T38), s(T39)) → U1_gg(T38, T39, less14_in_gg(T38, T39))
U1_gg(T38, T39, less14_out_gg(T38, T39)) → less14_out_gg(s(T38), s(T39))
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U18_ga(T22, T23, T24, T9, part24_in_ggaa(T22, T24, X52, X53))
part24_in_ggaa(T62, .(T63, T64), .(T63, X126), X127) → U2_ggaa(T62, T63, T64, X126, X127, less14_in_gg(T62, T63))
U2_ggaa(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → part24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
U2_ggaa(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → U3_ggaa(T62, T63, T64, X126, X127, part24_in_ggaa(T62, T64, X126, X127))
part24_in_ggaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_ggaa(T84, T85, T86, X177, X178, part24_in_ggaa(T84, T86, X177, X178))
part24_in_ggaa(T92, [], [], []) → part24_out_ggaa(T92, [], [], [])
U4_ggaa(T84, T85, T86, X177, X178, part24_out_ggaa(T84, T86, X177, X178)) → part24_out_ggaa(T84, .(T85, T86), X177, .(T85, X178))
U3_ggaa(T62, T63, T64, X126, X127, part24_out_ggaa(T62, T64, X126, X127)) → part24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
U18_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, X52, X53)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U19_ga(T22, T23, T24, T9, part24_in_ggaa(T22, T24, T45, T46))
U19_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U20_ga(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
qs1_in_aa([], []) → qs1_out_aa([], [])
qs1_in_aa(.(T22, .(T23, T24)), T9) → U17_aa(T22, T23, T24, T9, less14_in_aa(T22, T23))
less14_in_aa(0, s(T33)) → less14_out_aa(0, s(T33))
less14_in_aa(s(T38), s(T39)) → U1_aa(T38, T39, less14_in_aa(T38, T39))
U1_aa(T38, T39, less14_out_aa(T38, T39)) → less14_out_aa(s(T38), s(T39))
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U18_aa(T22, T23, T24, T9, part24_in_gaaa(T22, T24, X52, X53))
part24_in_gaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_gaaa(T62, T63, T64, X126, X127, less14_in_ga(T62, T63))
less14_in_ga(0, s(T33)) → less14_out_ga(0, s(T33))
less14_in_ga(s(T38), s(T39)) → U1_ga(T38, T39, less14_in_ga(T38, T39))
U1_ga(T38, T39, less14_out_ga(T38, T39)) → less14_out_ga(s(T38), s(T39))
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → U3_gaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
part24_in_gaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_gaaa(T84, T85, T86, X177, X178, part24_in_gaaa(T84, T86, X177, X178))
part24_in_gaaa(T92, [], [], []) → part24_out_gaaa(T92, [], [], [])
U4_gaaa(T84, T85, T86, X177, X178, part24_out_gaaa(T84, T86, X177, X178)) → part24_out_gaaa(T84, .(T85, T86), X177, .(T85, X178))
U3_gaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U18_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, X52, X53)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U19_aa(T22, T23, T24, T9, part24_in_gaaa(T22, T24, T45, T46))
U19_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U20_aa(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
qs1_in_aa(.(T191, .(T192, T193)), T9) → U23_aa(T191, T192, T193, T9, part24_in_aaaa(T191, T193, X336, X337))
part24_in_aaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_aaaa(T62, T63, T64, X126, X127, less14_in_aa(T62, T63))
U2_aaaa(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → part24_out_aaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_aaaa(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → U3_aaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
U3_aaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_aaaa(T62, .(T63, T64), .(T63, X126), X127)
part24_in_aaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_aaaa(T84, T85, T86, X177, X178, part24_in_aaaa(T84, T86, X177, X178))
part24_in_aaaa(T92, [], [], []) → part24_out_aaaa(T92, [], [], [])
U4_aaaa(T84, T85, T86, X177, X178, part24_out_aaaa(T84, T86, X177, X178)) → part24_out_aaaa(T84, .(T85, T86), X177, .(T85, X178))
U23_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, X336, X337)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
qs1_in_aa(.(T191, .(T192, T193)), T9) → U24_aa(T191, T192, T193, T9, part24_in_aaaa(T191, T193, T197, T198))
U24_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U25_aa(T191, T192, T193, T9, qs42_in_aa(T197, X14))
qs42_in_aa([], []) → qs42_out_aa([], [])
qs42_in_aa(.(T103, T104), X230) → U5_aa(T103, T104, X230, part24_in_aaaa(T103, T104, X226, X227))
U5_aa(T103, T104, X230, part24_out_aaaa(T103, T104, X226, X227)) → qs42_out_aa(.(T103, T104), X230)
qs42_in_aa(.(T103, T104), X230) → U6_aa(T103, T104, X230, part24_in_aaaa(T103, T104, T108, T109))
U6_aa(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U7_aa(T103, T104, X230, qs42_in_aa(T108, X228))
U7_aa(T103, T104, X230, qs42_out_aa(T108, X228)) → qs42_out_aa(.(T103, T104), X230)
U6_aa(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U8_aa(T103, T104, X230, T109, qs42_in_aa(T108, T113))
U8_aa(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U9_aa(T103, T104, X230, qs42_in_aa(T109, X229))
U9_aa(T103, T104, X230, qs42_out_aa(T109, X229)) → qs42_out_aa(.(T103, T104), X230)
U8_aa(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U10_aa(T103, T104, X230, T113, qs42_in_aa(T109, T114))
U10_aa(T103, T104, X230, T113, qs42_out_aa(T109, T114)) → U11_aa(T103, T104, X230, app57_in_aaaa(T113, T103, T114, X230))
app57_in_aaaa([], T127, T128, .(T127, T128)) → app57_out_aaaa([], T127, T128, .(T127, T128))
app57_in_aaaa(.(T137, T138), T139, T140, .(T137, X270)) → U12_aaaa(T137, T138, T139, T140, X270, app57_in_aaaa(T138, T139, T140, X270))
U12_aaaa(T137, T138, T139, T140, X270, app57_out_aaaa(T138, T139, T140, X270)) → app57_out_aaaa(.(T137, T138), T139, T140, .(T137, X270))
U11_aa(T103, T104, X230, app57_out_aaaa(T113, T103, T114, X230)) → qs42_out_aa(.(T103, T104), X230)
U25_aa(T191, T192, T193, T9, qs42_out_aa(T197, X14)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
U24_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U26_aa(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_aa(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_aa(T191, T192, T193, T9, p41_in_aaaaa(.(T192, T198), X15, T202, T191, T9))
p41_in_aaaaa(T46, X15, T95, T22, T9) → U14_aaaaa(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
U14_aaaaa(T46, X15, T95, T22, T9, qs42_out_aa(T46, X15)) → p41_out_aaaaa(T46, X15, T95, T22, T9)
p41_in_aaaaa(T46, T98, T95, T22, T9) → U15_aaaaa(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_aaaaa(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_aaaaa(T46, T98, T95, T22, T9, app43_in_aaaa(T95, T22, T98, T9))
app43_in_aaaa([], T157, T158, .(T157, T158)) → app43_out_aaaa([], T157, T158, .(T157, T158))
app43_in_aaaa(.(T169, T170), T171, T172, .(T169, T174)) → U13_aaaa(T169, T170, T171, T172, T174, app43_in_aaaa(T170, T171, T172, T174))
U13_aaaa(T169, T170, T171, T172, T174, app43_out_aaaa(T170, T171, T172, T174)) → app43_out_aaaa(.(T169, T170), T171, T172, .(T169, T174))
U16_aaaaa(T46, T98, T95, T22, T9, app43_out_aaaa(T95, T22, T98, T9)) → p41_out_aaaaa(T46, T98, T95, T22, T9)
U27_aa(T191, T192, T193, T9, p41_out_aaaaa(.(T192, T198), X15, T202, T191, T9)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
qs1_in_aa(.(T207, []), T9) → U28_aa(T207, T9, qs84_in_a(X14))
qs84_in_a([]) → qs84_out_a([])
U28_aa(T207, T9, qs84_out_a(X14)) → qs1_out_aa(.(T207, []), T9)
qs1_in_aa(.(T207, []), T9) → U29_aa(T207, T9, qs84_in_a(T210))
U29_aa(T207, T9, qs84_out_a(T210)) → U30_aa(T207, T9, qs84_in_a(X15))
U30_aa(T207, T9, qs84_out_a(X15)) → qs1_out_aa(.(T207, []), T9)
U29_aa(T207, T9, qs84_out_a(T210)) → U31_aa(T207, T9, T210, qs84_in_a(T213))
U31_aa(T207, T9, T210, qs84_out_a(T213)) → U32_aa(T207, T9, app43_in_gaga(T210, T207, T213, T9))
app43_in_gaga([], T157, T158, .(T157, T158)) → app43_out_gaga([], T157, T158, .(T157, T158))
app43_in_gaga(.(T169, T170), T171, T172, .(T169, T174)) → U13_gaga(T169, T170, T171, T172, T174, app43_in_gaga(T170, T171, T172, T174))
U13_gaga(T169, T170, T171, T172, T174, app43_out_gaga(T170, T171, T172, T174)) → app43_out_gaga(.(T169, T170), T171, T172, .(T169, T174))
U32_aa(T207, T9, app43_out_gaga(T210, T207, T213, T9)) → qs1_out_aa(.(T207, []), T9)
U20_aa(T22, T23, T24, T9, qs1_out_aa(.(T23, T45), X14)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U21_aa(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_aa(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_aa(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
p41_in_aaaga(T46, X15, T95, T22, T9) → U14_aaaga(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
U14_aaaga(T46, X15, T95, T22, T9, qs42_out_aa(T46, X15)) → p41_out_aaaga(T46, X15, T95, T22, T9)
p41_in_aaaga(T46, T98, T95, T22, T9) → U15_aaaga(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_aaaga(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_aaaga(T46, T98, T95, T22, T9, app43_in_agaa(T95, T22, T98, T9))
app43_in_agaa([], T157, T158, .(T157, T158)) → app43_out_agaa([], T157, T158, .(T157, T158))
app43_in_agaa(.(T169, T170), T171, T172, .(T169, T174)) → U13_agaa(T169, T170, T171, T172, T174, app43_in_agaa(T170, T171, T172, T174))
U13_agaa(T169, T170, T171, T172, T174, app43_out_agaa(T170, T171, T172, T174)) → app43_out_agaa(.(T169, T170), T171, T172, .(T169, T174))
U16_aaaga(T46, T98, T95, T22, T9, app43_out_agaa(T95, T22, T98, T9)) → p41_out_aaaga(T46, T98, T95, T22, T9)
U22_aa(T22, T23, T24, T9, p41_out_aaaga(T46, X15, T95, T22, T9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U20_ga(T22, T23, T24, T9, qs1_out_aa(.(T23, T45), X14)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U21_ga(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_ga(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_ga(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
U22_ga(T22, T23, T24, T9, p41_out_aaaga(T46, X15, T95, T22, T9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
qs1_in_ga(.(T191, .(T192, T193)), T9) → U23_ga(T191, T192, T193, T9, part24_in_ggaa(T191, T193, X336, X337))
U23_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, X336, X337)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
qs1_in_ga(.(T191, .(T192, T193)), T9) → U24_ga(T191, T192, T193, T9, part24_in_ggaa(T191, T193, T197, T198))
U24_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U25_ga(T191, T192, T193, T9, qs42_in_aa(T197, X14))
U25_ga(T191, T192, T193, T9, qs42_out_aa(T197, X14)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
U24_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U26_ga(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_ga(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_ga(T191, T192, T193, T9, p41_in_aaaga(.(T192, T198), X15, T202, T191, T9))
U27_ga(T191, T192, T193, T9, p41_out_aaaga(.(T192, T198), X15, T202, T191, T9)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
qs1_in_ga(.(T207, []), T9) → U28_ga(T207, T9, qs84_in_a(X14))
U28_ga(T207, T9, qs84_out_a(X14)) → qs1_out_ga(.(T207, []), T9)
qs1_in_ga(.(T207, []), T9) → U29_ga(T207, T9, qs84_in_a(T210))
U29_ga(T207, T9, qs84_out_a(T210)) → U30_ga(T207, T9, qs84_in_a(X15))
U30_ga(T207, T9, qs84_out_a(X15)) → qs1_out_ga(.(T207, []), T9)
U29_ga(T207, T9, qs84_out_a(T210)) → U31_ga(T207, T9, T210, qs84_in_a(T213))
U31_ga(T207, T9, T210, qs84_out_a(T213)) → U32_ga(T207, T9, app43_in_ggga(T210, T207, T213, T9))
app43_in_ggga([], T157, T158, .(T157, T158)) → app43_out_ggga([], T157, T158, .(T157, T158))
app43_in_ggga(.(T169, T170), T171, T172, .(T169, T174)) → U13_ggga(T169, T170, T171, T172, T174, app43_in_ggga(T170, T171, T172, T174))
U13_ggga(T169, T170, T171, T172, T174, app43_out_ggga(T170, T171, T172, T174)) → app43_out_ggga(.(T169, T170), T171, T172, .(T169, T174))
U32_ga(T207, T9, app43_out_ggga(T210, T207, T213, T9)) → qs1_out_ga(.(T207, []), T9)

The argument filtering Pi contains the following mapping:
qs1_in_ga(x1, x2)  =  qs1_in_ga(x1)
[]  =  []
qs1_out_ga(x1, x2)  =  qs1_out_ga
.(x1, x2)  =  .(x1, x2)
U17_ga(x1, x2, x3, x4, x5)  =  U17_ga(x1, x3, x5)
less14_in_gg(x1, x2)  =  less14_in_gg(x1, x2)
0  =  0
s(x1)  =  s(x1)
less14_out_gg(x1, x2)  =  less14_out_gg
U1_gg(x1, x2, x3)  =  U1_gg(x3)
U18_ga(x1, x2, x3, x4, x5)  =  U18_ga(x5)
part24_in_ggaa(x1, x2, x3, x4)  =  part24_in_ggaa(x1, x2)
U2_ggaa(x1, x2, x3, x4, x5, x6)  =  U2_ggaa(x1, x3, x6)
part24_out_ggaa(x1, x2, x3, x4)  =  part24_out_ggaa
U3_ggaa(x1, x2, x3, x4, x5, x6)  =  U3_ggaa(x6)
U4_ggaa(x1, x2, x3, x4, x5, x6)  =  U4_ggaa(x6)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x5)
U20_ga(x1, x2, x3, x4, x5)  =  U20_ga(x5)
qs1_in_aa(x1, x2)  =  qs1_in_aa
qs1_out_aa(x1, x2)  =  qs1_out_aa
U17_aa(x1, x2, x3, x4, x5)  =  U17_aa(x5)
less14_in_aa(x1, x2)  =  less14_in_aa
less14_out_aa(x1, x2)  =  less14_out_aa(x1)
U1_aa(x1, x2, x3)  =  U1_aa(x3)
U18_aa(x1, x2, x3, x4, x5)  =  U18_aa(x5)
part24_in_gaaa(x1, x2, x3, x4)  =  part24_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x1, x6)
less14_in_ga(x1, x2)  =  less14_in_ga(x1)
less14_out_ga(x1, x2)  =  less14_out_ga
U1_ga(x1, x2, x3)  =  U1_ga(x3)
part24_out_gaaa(x1, x2, x3, x4)  =  part24_out_gaaa
U3_gaaa(x1, x2, x3, x4, x5, x6)  =  U3_gaaa(x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x6)
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(x1, x5)
U20_aa(x1, x2, x3, x4, x5)  =  U20_aa(x5)
U23_aa(x1, x2, x3, x4, x5)  =  U23_aa(x5)
part24_in_aaaa(x1, x2, x3, x4)  =  part24_in_aaaa
U2_aaaa(x1, x2, x3, x4, x5, x6)  =  U2_aaaa(x6)
part24_out_aaaa(x1, x2, x3, x4)  =  part24_out_aaaa
U3_aaaa(x1, x2, x3, x4, x5, x6)  =  U3_aaaa(x6)
U4_aaaa(x1, x2, x3, x4, x5, x6)  =  U4_aaaa(x6)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
qs42_in_aa(x1, x2)  =  qs42_in_aa
qs42_out_aa(x1, x2)  =  qs42_out_aa
U5_aa(x1, x2, x3, x4)  =  U5_aa(x4)
U6_aa(x1, x2, x3, x4)  =  U6_aa(x4)
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
U8_aa(x1, x2, x3, x4, x5)  =  U8_aa(x5)
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)
app57_in_aaaa(x1, x2, x3, x4)  =  app57_in_aaaa
app57_out_aaaa(x1, x2, x3, x4)  =  app57_out_aaaa
U12_aaaa(x1, x2, x3, x4, x5, x6)  =  U12_aaaa(x6)
U26_aa(x1, x2, x3, x4, x5, x6)  =  U26_aa(x6)
U27_aa(x1, x2, x3, x4, x5)  =  U27_aa(x5)
p41_in_aaaaa(x1, x2, x3, x4, x5)  =  p41_in_aaaaa
U14_aaaaa(x1, x2, x3, x4, x5, x6)  =  U14_aaaaa(x6)
p41_out_aaaaa(x1, x2, x3, x4, x5)  =  p41_out_aaaaa
U15_aaaaa(x1, x2, x3, x4, x5, x6)  =  U15_aaaaa(x6)
U16_aaaaa(x1, x2, x3, x4, x5, x6)  =  U16_aaaaa(x6)
app43_in_aaaa(x1, x2, x3, x4)  =  app43_in_aaaa
app43_out_aaaa(x1, x2, x3, x4)  =  app43_out_aaaa
U13_aaaa(x1, x2, x3, x4, x5, x6)  =  U13_aaaa(x6)
U28_aa(x1, x2, x3)  =  U28_aa(x3)
qs84_in_a(x1)  =  qs84_in_a
qs84_out_a(x1)  =  qs84_out_a(x1)
U29_aa(x1, x2, x3)  =  U29_aa(x3)
U30_aa(x1, x2, x3)  =  U30_aa(x3)
U31_aa(x1, x2, x3, x4)  =  U31_aa(x3, x4)
U32_aa(x1, x2, x3)  =  U32_aa(x3)
app43_in_gaga(x1, x2, x3, x4)  =  app43_in_gaga(x1, x3)
app43_out_gaga(x1, x2, x3, x4)  =  app43_out_gaga
U13_gaga(x1, x2, x3, x4, x5, x6)  =  U13_gaga(x6)
U21_aa(x1, x2, x3, x4, x5, x6)  =  U21_aa(x1, x6)
U22_aa(x1, x2, x3, x4, x5)  =  U22_aa(x5)
p41_in_aaaga(x1, x2, x3, x4, x5)  =  p41_in_aaaga(x4)
U14_aaaga(x1, x2, x3, x4, x5, x6)  =  U14_aaaga(x6)
p41_out_aaaga(x1, x2, x3, x4, x5)  =  p41_out_aaaga
U15_aaaga(x1, x2, x3, x4, x5, x6)  =  U15_aaaga(x4, x6)
U16_aaaga(x1, x2, x3, x4, x5, x6)  =  U16_aaaga(x6)
app43_in_agaa(x1, x2, x3, x4)  =  app43_in_agaa(x2)
app43_out_agaa(x1, x2, x3, x4)  =  app43_out_agaa
U13_agaa(x1, x2, x3, x4, x5, x6)  =  U13_agaa(x6)
U21_ga(x1, x2, x3, x4, x5, x6)  =  U21_ga(x1, x6)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x5)
U23_ga(x1, x2, x3, x4, x5)  =  U23_ga(x5)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x1, x5)
U25_ga(x1, x2, x3, x4, x5)  =  U25_ga(x5)
U26_ga(x1, x2, x3, x4, x5, x6)  =  U26_ga(x1, x6)
U27_ga(x1, x2, x3, x4, x5)  =  U27_ga(x5)
U28_ga(x1, x2, x3)  =  U28_ga(x3)
U29_ga(x1, x2, x3)  =  U29_ga(x1, x3)
U30_ga(x1, x2, x3)  =  U30_ga(x3)
U31_ga(x1, x2, x3, x4)  =  U31_ga(x1, x3, x4)
U32_ga(x1, x2, x3)  =  U32_ga(x3)
app43_in_ggga(x1, x2, x3, x4)  =  app43_in_ggga(x1, x2, x3)
app43_out_ggga(x1, x2, x3, x4)  =  app43_out_ggga(x4)
U13_ggga(x1, x2, x3, x4, x5, x6)  =  U13_ggga(x1, x6)
APP43_IN_GGGA(x1, x2, x3, x4)  =  APP43_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:

APP43_IN_GGGA(.(T169, T170), T171, T172, .(T169, T174)) → APP43_IN_GGGA(T170, T171, T172, T174)

R is empty.
The argument filtering Pi contains the following mapping:
.(x1, x2)  =  .(x1, x2)
APP43_IN_GGGA(x1, x2, x3, x4)  =  APP43_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:

APP43_IN_GGGA(.(T169, T170), T171, T172) → APP43_IN_GGGA(T170, T171, T172)

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:

  • APP43_IN_GGGA(.(T169, T170), T171, T172) → APP43_IN_GGGA(T170, T171, T172)
    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:

APP43_IN_AGAA(.(T169, T170), T171, T172, .(T169, T174)) → APP43_IN_AGAA(T170, T171, T172, T174)

The TRS R consists of the following rules:

qs1_in_ga([], []) → qs1_out_ga([], [])
qs1_in_ga(.(T22, .(T23, T24)), T9) → U17_ga(T22, T23, T24, T9, less14_in_gg(T22, T23))
less14_in_gg(0, s(T33)) → less14_out_gg(0, s(T33))
less14_in_gg(s(T38), s(T39)) → U1_gg(T38, T39, less14_in_gg(T38, T39))
U1_gg(T38, T39, less14_out_gg(T38, T39)) → less14_out_gg(s(T38), s(T39))
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U18_ga(T22, T23, T24, T9, part24_in_ggaa(T22, T24, X52, X53))
part24_in_ggaa(T62, .(T63, T64), .(T63, X126), X127) → U2_ggaa(T62, T63, T64, X126, X127, less14_in_gg(T62, T63))
U2_ggaa(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → part24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
U2_ggaa(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → U3_ggaa(T62, T63, T64, X126, X127, part24_in_ggaa(T62, T64, X126, X127))
part24_in_ggaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_ggaa(T84, T85, T86, X177, X178, part24_in_ggaa(T84, T86, X177, X178))
part24_in_ggaa(T92, [], [], []) → part24_out_ggaa(T92, [], [], [])
U4_ggaa(T84, T85, T86, X177, X178, part24_out_ggaa(T84, T86, X177, X178)) → part24_out_ggaa(T84, .(T85, T86), X177, .(T85, X178))
U3_ggaa(T62, T63, T64, X126, X127, part24_out_ggaa(T62, T64, X126, X127)) → part24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
U18_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, X52, X53)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U19_ga(T22, T23, T24, T9, part24_in_ggaa(T22, T24, T45, T46))
U19_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U20_ga(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
qs1_in_aa([], []) → qs1_out_aa([], [])
qs1_in_aa(.(T22, .(T23, T24)), T9) → U17_aa(T22, T23, T24, T9, less14_in_aa(T22, T23))
less14_in_aa(0, s(T33)) → less14_out_aa(0, s(T33))
less14_in_aa(s(T38), s(T39)) → U1_aa(T38, T39, less14_in_aa(T38, T39))
U1_aa(T38, T39, less14_out_aa(T38, T39)) → less14_out_aa(s(T38), s(T39))
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U18_aa(T22, T23, T24, T9, part24_in_gaaa(T22, T24, X52, X53))
part24_in_gaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_gaaa(T62, T63, T64, X126, X127, less14_in_ga(T62, T63))
less14_in_ga(0, s(T33)) → less14_out_ga(0, s(T33))
less14_in_ga(s(T38), s(T39)) → U1_ga(T38, T39, less14_in_ga(T38, T39))
U1_ga(T38, T39, less14_out_ga(T38, T39)) → less14_out_ga(s(T38), s(T39))
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → U3_gaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
part24_in_gaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_gaaa(T84, T85, T86, X177, X178, part24_in_gaaa(T84, T86, X177, X178))
part24_in_gaaa(T92, [], [], []) → part24_out_gaaa(T92, [], [], [])
U4_gaaa(T84, T85, T86, X177, X178, part24_out_gaaa(T84, T86, X177, X178)) → part24_out_gaaa(T84, .(T85, T86), X177, .(T85, X178))
U3_gaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U18_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, X52, X53)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U19_aa(T22, T23, T24, T9, part24_in_gaaa(T22, T24, T45, T46))
U19_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U20_aa(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
qs1_in_aa(.(T191, .(T192, T193)), T9) → U23_aa(T191, T192, T193, T9, part24_in_aaaa(T191, T193, X336, X337))
part24_in_aaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_aaaa(T62, T63, T64, X126, X127, less14_in_aa(T62, T63))
U2_aaaa(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → part24_out_aaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_aaaa(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → U3_aaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
U3_aaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_aaaa(T62, .(T63, T64), .(T63, X126), X127)
part24_in_aaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_aaaa(T84, T85, T86, X177, X178, part24_in_aaaa(T84, T86, X177, X178))
part24_in_aaaa(T92, [], [], []) → part24_out_aaaa(T92, [], [], [])
U4_aaaa(T84, T85, T86, X177, X178, part24_out_aaaa(T84, T86, X177, X178)) → part24_out_aaaa(T84, .(T85, T86), X177, .(T85, X178))
U23_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, X336, X337)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
qs1_in_aa(.(T191, .(T192, T193)), T9) → U24_aa(T191, T192, T193, T9, part24_in_aaaa(T191, T193, T197, T198))
U24_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U25_aa(T191, T192, T193, T9, qs42_in_aa(T197, X14))
qs42_in_aa([], []) → qs42_out_aa([], [])
qs42_in_aa(.(T103, T104), X230) → U5_aa(T103, T104, X230, part24_in_aaaa(T103, T104, X226, X227))
U5_aa(T103, T104, X230, part24_out_aaaa(T103, T104, X226, X227)) → qs42_out_aa(.(T103, T104), X230)
qs42_in_aa(.(T103, T104), X230) → U6_aa(T103, T104, X230, part24_in_aaaa(T103, T104, T108, T109))
U6_aa(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U7_aa(T103, T104, X230, qs42_in_aa(T108, X228))
U7_aa(T103, T104, X230, qs42_out_aa(T108, X228)) → qs42_out_aa(.(T103, T104), X230)
U6_aa(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U8_aa(T103, T104, X230, T109, qs42_in_aa(T108, T113))
U8_aa(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U9_aa(T103, T104, X230, qs42_in_aa(T109, X229))
U9_aa(T103, T104, X230, qs42_out_aa(T109, X229)) → qs42_out_aa(.(T103, T104), X230)
U8_aa(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U10_aa(T103, T104, X230, T113, qs42_in_aa(T109, T114))
U10_aa(T103, T104, X230, T113, qs42_out_aa(T109, T114)) → U11_aa(T103, T104, X230, app57_in_aaaa(T113, T103, T114, X230))
app57_in_aaaa([], T127, T128, .(T127, T128)) → app57_out_aaaa([], T127, T128, .(T127, T128))
app57_in_aaaa(.(T137, T138), T139, T140, .(T137, X270)) → U12_aaaa(T137, T138, T139, T140, X270, app57_in_aaaa(T138, T139, T140, X270))
U12_aaaa(T137, T138, T139, T140, X270, app57_out_aaaa(T138, T139, T140, X270)) → app57_out_aaaa(.(T137, T138), T139, T140, .(T137, X270))
U11_aa(T103, T104, X230, app57_out_aaaa(T113, T103, T114, X230)) → qs42_out_aa(.(T103, T104), X230)
U25_aa(T191, T192, T193, T9, qs42_out_aa(T197, X14)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
U24_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U26_aa(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_aa(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_aa(T191, T192, T193, T9, p41_in_aaaaa(.(T192, T198), X15, T202, T191, T9))
p41_in_aaaaa(T46, X15, T95, T22, T9) → U14_aaaaa(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
U14_aaaaa(T46, X15, T95, T22, T9, qs42_out_aa(T46, X15)) → p41_out_aaaaa(T46, X15, T95, T22, T9)
p41_in_aaaaa(T46, T98, T95, T22, T9) → U15_aaaaa(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_aaaaa(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_aaaaa(T46, T98, T95, T22, T9, app43_in_aaaa(T95, T22, T98, T9))
app43_in_aaaa([], T157, T158, .(T157, T158)) → app43_out_aaaa([], T157, T158, .(T157, T158))
app43_in_aaaa(.(T169, T170), T171, T172, .(T169, T174)) → U13_aaaa(T169, T170, T171, T172, T174, app43_in_aaaa(T170, T171, T172, T174))
U13_aaaa(T169, T170, T171, T172, T174, app43_out_aaaa(T170, T171, T172, T174)) → app43_out_aaaa(.(T169, T170), T171, T172, .(T169, T174))
U16_aaaaa(T46, T98, T95, T22, T9, app43_out_aaaa(T95, T22, T98, T9)) → p41_out_aaaaa(T46, T98, T95, T22, T9)
U27_aa(T191, T192, T193, T9, p41_out_aaaaa(.(T192, T198), X15, T202, T191, T9)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
qs1_in_aa(.(T207, []), T9) → U28_aa(T207, T9, qs84_in_a(X14))
qs84_in_a([]) → qs84_out_a([])
U28_aa(T207, T9, qs84_out_a(X14)) → qs1_out_aa(.(T207, []), T9)
qs1_in_aa(.(T207, []), T9) → U29_aa(T207, T9, qs84_in_a(T210))
U29_aa(T207, T9, qs84_out_a(T210)) → U30_aa(T207, T9, qs84_in_a(X15))
U30_aa(T207, T9, qs84_out_a(X15)) → qs1_out_aa(.(T207, []), T9)
U29_aa(T207, T9, qs84_out_a(T210)) → U31_aa(T207, T9, T210, qs84_in_a(T213))
U31_aa(T207, T9, T210, qs84_out_a(T213)) → U32_aa(T207, T9, app43_in_gaga(T210, T207, T213, T9))
app43_in_gaga([], T157, T158, .(T157, T158)) → app43_out_gaga([], T157, T158, .(T157, T158))
app43_in_gaga(.(T169, T170), T171, T172, .(T169, T174)) → U13_gaga(T169, T170, T171, T172, T174, app43_in_gaga(T170, T171, T172, T174))
U13_gaga(T169, T170, T171, T172, T174, app43_out_gaga(T170, T171, T172, T174)) → app43_out_gaga(.(T169, T170), T171, T172, .(T169, T174))
U32_aa(T207, T9, app43_out_gaga(T210, T207, T213, T9)) → qs1_out_aa(.(T207, []), T9)
U20_aa(T22, T23, T24, T9, qs1_out_aa(.(T23, T45), X14)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U21_aa(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_aa(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_aa(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
p41_in_aaaga(T46, X15, T95, T22, T9) → U14_aaaga(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
U14_aaaga(T46, X15, T95, T22, T9, qs42_out_aa(T46, X15)) → p41_out_aaaga(T46, X15, T95, T22, T9)
p41_in_aaaga(T46, T98, T95, T22, T9) → U15_aaaga(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_aaaga(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_aaaga(T46, T98, T95, T22, T9, app43_in_agaa(T95, T22, T98, T9))
app43_in_agaa([], T157, T158, .(T157, T158)) → app43_out_agaa([], T157, T158, .(T157, T158))
app43_in_agaa(.(T169, T170), T171, T172, .(T169, T174)) → U13_agaa(T169, T170, T171, T172, T174, app43_in_agaa(T170, T171, T172, T174))
U13_agaa(T169, T170, T171, T172, T174, app43_out_agaa(T170, T171, T172, T174)) → app43_out_agaa(.(T169, T170), T171, T172, .(T169, T174))
U16_aaaga(T46, T98, T95, T22, T9, app43_out_agaa(T95, T22, T98, T9)) → p41_out_aaaga(T46, T98, T95, T22, T9)
U22_aa(T22, T23, T24, T9, p41_out_aaaga(T46, X15, T95, T22, T9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U20_ga(T22, T23, T24, T9, qs1_out_aa(.(T23, T45), X14)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U21_ga(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_ga(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_ga(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
U22_ga(T22, T23, T24, T9, p41_out_aaaga(T46, X15, T95, T22, T9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
qs1_in_ga(.(T191, .(T192, T193)), T9) → U23_ga(T191, T192, T193, T9, part24_in_ggaa(T191, T193, X336, X337))
U23_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, X336, X337)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
qs1_in_ga(.(T191, .(T192, T193)), T9) → U24_ga(T191, T192, T193, T9, part24_in_ggaa(T191, T193, T197, T198))
U24_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U25_ga(T191, T192, T193, T9, qs42_in_aa(T197, X14))
U25_ga(T191, T192, T193, T9, qs42_out_aa(T197, X14)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
U24_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U26_ga(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_ga(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_ga(T191, T192, T193, T9, p41_in_aaaga(.(T192, T198), X15, T202, T191, T9))
U27_ga(T191, T192, T193, T9, p41_out_aaaga(.(T192, T198), X15, T202, T191, T9)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
qs1_in_ga(.(T207, []), T9) → U28_ga(T207, T9, qs84_in_a(X14))
U28_ga(T207, T9, qs84_out_a(X14)) → qs1_out_ga(.(T207, []), T9)
qs1_in_ga(.(T207, []), T9) → U29_ga(T207, T9, qs84_in_a(T210))
U29_ga(T207, T9, qs84_out_a(T210)) → U30_ga(T207, T9, qs84_in_a(X15))
U30_ga(T207, T9, qs84_out_a(X15)) → qs1_out_ga(.(T207, []), T9)
U29_ga(T207, T9, qs84_out_a(T210)) → U31_ga(T207, T9, T210, qs84_in_a(T213))
U31_ga(T207, T9, T210, qs84_out_a(T213)) → U32_ga(T207, T9, app43_in_ggga(T210, T207, T213, T9))
app43_in_ggga([], T157, T158, .(T157, T158)) → app43_out_ggga([], T157, T158, .(T157, T158))
app43_in_ggga(.(T169, T170), T171, T172, .(T169, T174)) → U13_ggga(T169, T170, T171, T172, T174, app43_in_ggga(T170, T171, T172, T174))
U13_ggga(T169, T170, T171, T172, T174, app43_out_ggga(T170, T171, T172, T174)) → app43_out_ggga(.(T169, T170), T171, T172, .(T169, T174))
U32_ga(T207, T9, app43_out_ggga(T210, T207, T213, T9)) → qs1_out_ga(.(T207, []), T9)

The argument filtering Pi contains the following mapping:
qs1_in_ga(x1, x2)  =  qs1_in_ga(x1)
[]  =  []
qs1_out_ga(x1, x2)  =  qs1_out_ga
.(x1, x2)  =  .(x1, x2)
U17_ga(x1, x2, x3, x4, x5)  =  U17_ga(x1, x3, x5)
less14_in_gg(x1, x2)  =  less14_in_gg(x1, x2)
0  =  0
s(x1)  =  s(x1)
less14_out_gg(x1, x2)  =  less14_out_gg
U1_gg(x1, x2, x3)  =  U1_gg(x3)
U18_ga(x1, x2, x3, x4, x5)  =  U18_ga(x5)
part24_in_ggaa(x1, x2, x3, x4)  =  part24_in_ggaa(x1, x2)
U2_ggaa(x1, x2, x3, x4, x5, x6)  =  U2_ggaa(x1, x3, x6)
part24_out_ggaa(x1, x2, x3, x4)  =  part24_out_ggaa
U3_ggaa(x1, x2, x3, x4, x5, x6)  =  U3_ggaa(x6)
U4_ggaa(x1, x2, x3, x4, x5, x6)  =  U4_ggaa(x6)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x5)
U20_ga(x1, x2, x3, x4, x5)  =  U20_ga(x5)
qs1_in_aa(x1, x2)  =  qs1_in_aa
qs1_out_aa(x1, x2)  =  qs1_out_aa
U17_aa(x1, x2, x3, x4, x5)  =  U17_aa(x5)
less14_in_aa(x1, x2)  =  less14_in_aa
less14_out_aa(x1, x2)  =  less14_out_aa(x1)
U1_aa(x1, x2, x3)  =  U1_aa(x3)
U18_aa(x1, x2, x3, x4, x5)  =  U18_aa(x5)
part24_in_gaaa(x1, x2, x3, x4)  =  part24_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x1, x6)
less14_in_ga(x1, x2)  =  less14_in_ga(x1)
less14_out_ga(x1, x2)  =  less14_out_ga
U1_ga(x1, x2, x3)  =  U1_ga(x3)
part24_out_gaaa(x1, x2, x3, x4)  =  part24_out_gaaa
U3_gaaa(x1, x2, x3, x4, x5, x6)  =  U3_gaaa(x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x6)
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(x1, x5)
U20_aa(x1, x2, x3, x4, x5)  =  U20_aa(x5)
U23_aa(x1, x2, x3, x4, x5)  =  U23_aa(x5)
part24_in_aaaa(x1, x2, x3, x4)  =  part24_in_aaaa
U2_aaaa(x1, x2, x3, x4, x5, x6)  =  U2_aaaa(x6)
part24_out_aaaa(x1, x2, x3, x4)  =  part24_out_aaaa
U3_aaaa(x1, x2, x3, x4, x5, x6)  =  U3_aaaa(x6)
U4_aaaa(x1, x2, x3, x4, x5, x6)  =  U4_aaaa(x6)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
qs42_in_aa(x1, x2)  =  qs42_in_aa
qs42_out_aa(x1, x2)  =  qs42_out_aa
U5_aa(x1, x2, x3, x4)  =  U5_aa(x4)
U6_aa(x1, x2, x3, x4)  =  U6_aa(x4)
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
U8_aa(x1, x2, x3, x4, x5)  =  U8_aa(x5)
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)
app57_in_aaaa(x1, x2, x3, x4)  =  app57_in_aaaa
app57_out_aaaa(x1, x2, x3, x4)  =  app57_out_aaaa
U12_aaaa(x1, x2, x3, x4, x5, x6)  =  U12_aaaa(x6)
U26_aa(x1, x2, x3, x4, x5, x6)  =  U26_aa(x6)
U27_aa(x1, x2, x3, x4, x5)  =  U27_aa(x5)
p41_in_aaaaa(x1, x2, x3, x4, x5)  =  p41_in_aaaaa
U14_aaaaa(x1, x2, x3, x4, x5, x6)  =  U14_aaaaa(x6)
p41_out_aaaaa(x1, x2, x3, x4, x5)  =  p41_out_aaaaa
U15_aaaaa(x1, x2, x3, x4, x5, x6)  =  U15_aaaaa(x6)
U16_aaaaa(x1, x2, x3, x4, x5, x6)  =  U16_aaaaa(x6)
app43_in_aaaa(x1, x2, x3, x4)  =  app43_in_aaaa
app43_out_aaaa(x1, x2, x3, x4)  =  app43_out_aaaa
U13_aaaa(x1, x2, x3, x4, x5, x6)  =  U13_aaaa(x6)
U28_aa(x1, x2, x3)  =  U28_aa(x3)
qs84_in_a(x1)  =  qs84_in_a
qs84_out_a(x1)  =  qs84_out_a(x1)
U29_aa(x1, x2, x3)  =  U29_aa(x3)
U30_aa(x1, x2, x3)  =  U30_aa(x3)
U31_aa(x1, x2, x3, x4)  =  U31_aa(x3, x4)
U32_aa(x1, x2, x3)  =  U32_aa(x3)
app43_in_gaga(x1, x2, x3, x4)  =  app43_in_gaga(x1, x3)
app43_out_gaga(x1, x2, x3, x4)  =  app43_out_gaga
U13_gaga(x1, x2, x3, x4, x5, x6)  =  U13_gaga(x6)
U21_aa(x1, x2, x3, x4, x5, x6)  =  U21_aa(x1, x6)
U22_aa(x1, x2, x3, x4, x5)  =  U22_aa(x5)
p41_in_aaaga(x1, x2, x3, x4, x5)  =  p41_in_aaaga(x4)
U14_aaaga(x1, x2, x3, x4, x5, x6)  =  U14_aaaga(x6)
p41_out_aaaga(x1, x2, x3, x4, x5)  =  p41_out_aaaga
U15_aaaga(x1, x2, x3, x4, x5, x6)  =  U15_aaaga(x4, x6)
U16_aaaga(x1, x2, x3, x4, x5, x6)  =  U16_aaaga(x6)
app43_in_agaa(x1, x2, x3, x4)  =  app43_in_agaa(x2)
app43_out_agaa(x1, x2, x3, x4)  =  app43_out_agaa
U13_agaa(x1, x2, x3, x4, x5, x6)  =  U13_agaa(x6)
U21_ga(x1, x2, x3, x4, x5, x6)  =  U21_ga(x1, x6)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x5)
U23_ga(x1, x2, x3, x4, x5)  =  U23_ga(x5)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x1, x5)
U25_ga(x1, x2, x3, x4, x5)  =  U25_ga(x5)
U26_ga(x1, x2, x3, x4, x5, x6)  =  U26_ga(x1, x6)
U27_ga(x1, x2, x3, x4, x5)  =  U27_ga(x5)
U28_ga(x1, x2, x3)  =  U28_ga(x3)
U29_ga(x1, x2, x3)  =  U29_ga(x1, x3)
U30_ga(x1, x2, x3)  =  U30_ga(x3)
U31_ga(x1, x2, x3, x4)  =  U31_ga(x1, x3, x4)
U32_ga(x1, x2, x3)  =  U32_ga(x3)
app43_in_ggga(x1, x2, x3, x4)  =  app43_in_ggga(x1, x2, x3)
app43_out_ggga(x1, x2, x3, x4)  =  app43_out_ggga(x4)
U13_ggga(x1, x2, x3, x4, x5, x6)  =  U13_ggga(x1, x6)
APP43_IN_AGAA(x1, x2, x3, x4)  =  APP43_IN_AGAA(x2)

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:

APP43_IN_AGAA(.(T169, T170), T171, T172, .(T169, T174)) → APP43_IN_AGAA(T170, T171, T172, T174)

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

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:

APP43_IN_AGAA(T171) → APP43_IN_AGAA(T171)

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

(21) 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 = APP43_IN_AGAA(T171) evaluates to t =APP43_IN_AGAA(T171)

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 APP43_IN_AGAA(T171) to APP43_IN_AGAA(T171).



(22) NO

(23) Obligation:

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

APP43_IN_GAGA(.(T169, T170), T171, T172, .(T169, T174)) → APP43_IN_GAGA(T170, T171, T172, T174)

The TRS R consists of the following rules:

qs1_in_ga([], []) → qs1_out_ga([], [])
qs1_in_ga(.(T22, .(T23, T24)), T9) → U17_ga(T22, T23, T24, T9, less14_in_gg(T22, T23))
less14_in_gg(0, s(T33)) → less14_out_gg(0, s(T33))
less14_in_gg(s(T38), s(T39)) → U1_gg(T38, T39, less14_in_gg(T38, T39))
U1_gg(T38, T39, less14_out_gg(T38, T39)) → less14_out_gg(s(T38), s(T39))
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U18_ga(T22, T23, T24, T9, part24_in_ggaa(T22, T24, X52, X53))
part24_in_ggaa(T62, .(T63, T64), .(T63, X126), X127) → U2_ggaa(T62, T63, T64, X126, X127, less14_in_gg(T62, T63))
U2_ggaa(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → part24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
U2_ggaa(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → U3_ggaa(T62, T63, T64, X126, X127, part24_in_ggaa(T62, T64, X126, X127))
part24_in_ggaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_ggaa(T84, T85, T86, X177, X178, part24_in_ggaa(T84, T86, X177, X178))
part24_in_ggaa(T92, [], [], []) → part24_out_ggaa(T92, [], [], [])
U4_ggaa(T84, T85, T86, X177, X178, part24_out_ggaa(T84, T86, X177, X178)) → part24_out_ggaa(T84, .(T85, T86), X177, .(T85, X178))
U3_ggaa(T62, T63, T64, X126, X127, part24_out_ggaa(T62, T64, X126, X127)) → part24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
U18_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, X52, X53)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U19_ga(T22, T23, T24, T9, part24_in_ggaa(T22, T24, T45, T46))
U19_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U20_ga(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
qs1_in_aa([], []) → qs1_out_aa([], [])
qs1_in_aa(.(T22, .(T23, T24)), T9) → U17_aa(T22, T23, T24, T9, less14_in_aa(T22, T23))
less14_in_aa(0, s(T33)) → less14_out_aa(0, s(T33))
less14_in_aa(s(T38), s(T39)) → U1_aa(T38, T39, less14_in_aa(T38, T39))
U1_aa(T38, T39, less14_out_aa(T38, T39)) → less14_out_aa(s(T38), s(T39))
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U18_aa(T22, T23, T24, T9, part24_in_gaaa(T22, T24, X52, X53))
part24_in_gaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_gaaa(T62, T63, T64, X126, X127, less14_in_ga(T62, T63))
less14_in_ga(0, s(T33)) → less14_out_ga(0, s(T33))
less14_in_ga(s(T38), s(T39)) → U1_ga(T38, T39, less14_in_ga(T38, T39))
U1_ga(T38, T39, less14_out_ga(T38, T39)) → less14_out_ga(s(T38), s(T39))
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → U3_gaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
part24_in_gaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_gaaa(T84, T85, T86, X177, X178, part24_in_gaaa(T84, T86, X177, X178))
part24_in_gaaa(T92, [], [], []) → part24_out_gaaa(T92, [], [], [])
U4_gaaa(T84, T85, T86, X177, X178, part24_out_gaaa(T84, T86, X177, X178)) → part24_out_gaaa(T84, .(T85, T86), X177, .(T85, X178))
U3_gaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U18_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, X52, X53)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U19_aa(T22, T23, T24, T9, part24_in_gaaa(T22, T24, T45, T46))
U19_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U20_aa(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
qs1_in_aa(.(T191, .(T192, T193)), T9) → U23_aa(T191, T192, T193, T9, part24_in_aaaa(T191, T193, X336, X337))
part24_in_aaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_aaaa(T62, T63, T64, X126, X127, less14_in_aa(T62, T63))
U2_aaaa(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → part24_out_aaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_aaaa(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → U3_aaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
U3_aaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_aaaa(T62, .(T63, T64), .(T63, X126), X127)
part24_in_aaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_aaaa(T84, T85, T86, X177, X178, part24_in_aaaa(T84, T86, X177, X178))
part24_in_aaaa(T92, [], [], []) → part24_out_aaaa(T92, [], [], [])
U4_aaaa(T84, T85, T86, X177, X178, part24_out_aaaa(T84, T86, X177, X178)) → part24_out_aaaa(T84, .(T85, T86), X177, .(T85, X178))
U23_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, X336, X337)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
qs1_in_aa(.(T191, .(T192, T193)), T9) → U24_aa(T191, T192, T193, T9, part24_in_aaaa(T191, T193, T197, T198))
U24_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U25_aa(T191, T192, T193, T9, qs42_in_aa(T197, X14))
qs42_in_aa([], []) → qs42_out_aa([], [])
qs42_in_aa(.(T103, T104), X230) → U5_aa(T103, T104, X230, part24_in_aaaa(T103, T104, X226, X227))
U5_aa(T103, T104, X230, part24_out_aaaa(T103, T104, X226, X227)) → qs42_out_aa(.(T103, T104), X230)
qs42_in_aa(.(T103, T104), X230) → U6_aa(T103, T104, X230, part24_in_aaaa(T103, T104, T108, T109))
U6_aa(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U7_aa(T103, T104, X230, qs42_in_aa(T108, X228))
U7_aa(T103, T104, X230, qs42_out_aa(T108, X228)) → qs42_out_aa(.(T103, T104), X230)
U6_aa(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U8_aa(T103, T104, X230, T109, qs42_in_aa(T108, T113))
U8_aa(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U9_aa(T103, T104, X230, qs42_in_aa(T109, X229))
U9_aa(T103, T104, X230, qs42_out_aa(T109, X229)) → qs42_out_aa(.(T103, T104), X230)
U8_aa(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U10_aa(T103, T104, X230, T113, qs42_in_aa(T109, T114))
U10_aa(T103, T104, X230, T113, qs42_out_aa(T109, T114)) → U11_aa(T103, T104, X230, app57_in_aaaa(T113, T103, T114, X230))
app57_in_aaaa([], T127, T128, .(T127, T128)) → app57_out_aaaa([], T127, T128, .(T127, T128))
app57_in_aaaa(.(T137, T138), T139, T140, .(T137, X270)) → U12_aaaa(T137, T138, T139, T140, X270, app57_in_aaaa(T138, T139, T140, X270))
U12_aaaa(T137, T138, T139, T140, X270, app57_out_aaaa(T138, T139, T140, X270)) → app57_out_aaaa(.(T137, T138), T139, T140, .(T137, X270))
U11_aa(T103, T104, X230, app57_out_aaaa(T113, T103, T114, X230)) → qs42_out_aa(.(T103, T104), X230)
U25_aa(T191, T192, T193, T9, qs42_out_aa(T197, X14)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
U24_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U26_aa(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_aa(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_aa(T191, T192, T193, T9, p41_in_aaaaa(.(T192, T198), X15, T202, T191, T9))
p41_in_aaaaa(T46, X15, T95, T22, T9) → U14_aaaaa(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
U14_aaaaa(T46, X15, T95, T22, T9, qs42_out_aa(T46, X15)) → p41_out_aaaaa(T46, X15, T95, T22, T9)
p41_in_aaaaa(T46, T98, T95, T22, T9) → U15_aaaaa(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_aaaaa(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_aaaaa(T46, T98, T95, T22, T9, app43_in_aaaa(T95, T22, T98, T9))
app43_in_aaaa([], T157, T158, .(T157, T158)) → app43_out_aaaa([], T157, T158, .(T157, T158))
app43_in_aaaa(.(T169, T170), T171, T172, .(T169, T174)) → U13_aaaa(T169, T170, T171, T172, T174, app43_in_aaaa(T170, T171, T172, T174))
U13_aaaa(T169, T170, T171, T172, T174, app43_out_aaaa(T170, T171, T172, T174)) → app43_out_aaaa(.(T169, T170), T171, T172, .(T169, T174))
U16_aaaaa(T46, T98, T95, T22, T9, app43_out_aaaa(T95, T22, T98, T9)) → p41_out_aaaaa(T46, T98, T95, T22, T9)
U27_aa(T191, T192, T193, T9, p41_out_aaaaa(.(T192, T198), X15, T202, T191, T9)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
qs1_in_aa(.(T207, []), T9) → U28_aa(T207, T9, qs84_in_a(X14))
qs84_in_a([]) → qs84_out_a([])
U28_aa(T207, T9, qs84_out_a(X14)) → qs1_out_aa(.(T207, []), T9)
qs1_in_aa(.(T207, []), T9) → U29_aa(T207, T9, qs84_in_a(T210))
U29_aa(T207, T9, qs84_out_a(T210)) → U30_aa(T207, T9, qs84_in_a(X15))
U30_aa(T207, T9, qs84_out_a(X15)) → qs1_out_aa(.(T207, []), T9)
U29_aa(T207, T9, qs84_out_a(T210)) → U31_aa(T207, T9, T210, qs84_in_a(T213))
U31_aa(T207, T9, T210, qs84_out_a(T213)) → U32_aa(T207, T9, app43_in_gaga(T210, T207, T213, T9))
app43_in_gaga([], T157, T158, .(T157, T158)) → app43_out_gaga([], T157, T158, .(T157, T158))
app43_in_gaga(.(T169, T170), T171, T172, .(T169, T174)) → U13_gaga(T169, T170, T171, T172, T174, app43_in_gaga(T170, T171, T172, T174))
U13_gaga(T169, T170, T171, T172, T174, app43_out_gaga(T170, T171, T172, T174)) → app43_out_gaga(.(T169, T170), T171, T172, .(T169, T174))
U32_aa(T207, T9, app43_out_gaga(T210, T207, T213, T9)) → qs1_out_aa(.(T207, []), T9)
U20_aa(T22, T23, T24, T9, qs1_out_aa(.(T23, T45), X14)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U21_aa(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_aa(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_aa(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
p41_in_aaaga(T46, X15, T95, T22, T9) → U14_aaaga(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
U14_aaaga(T46, X15, T95, T22, T9, qs42_out_aa(T46, X15)) → p41_out_aaaga(T46, X15, T95, T22, T9)
p41_in_aaaga(T46, T98, T95, T22, T9) → U15_aaaga(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_aaaga(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_aaaga(T46, T98, T95, T22, T9, app43_in_agaa(T95, T22, T98, T9))
app43_in_agaa([], T157, T158, .(T157, T158)) → app43_out_agaa([], T157, T158, .(T157, T158))
app43_in_agaa(.(T169, T170), T171, T172, .(T169, T174)) → U13_agaa(T169, T170, T171, T172, T174, app43_in_agaa(T170, T171, T172, T174))
U13_agaa(T169, T170, T171, T172, T174, app43_out_agaa(T170, T171, T172, T174)) → app43_out_agaa(.(T169, T170), T171, T172, .(T169, T174))
U16_aaaga(T46, T98, T95, T22, T9, app43_out_agaa(T95, T22, T98, T9)) → p41_out_aaaga(T46, T98, T95, T22, T9)
U22_aa(T22, T23, T24, T9, p41_out_aaaga(T46, X15, T95, T22, T9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U20_ga(T22, T23, T24, T9, qs1_out_aa(.(T23, T45), X14)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U21_ga(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_ga(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_ga(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
U22_ga(T22, T23, T24, T9, p41_out_aaaga(T46, X15, T95, T22, T9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
qs1_in_ga(.(T191, .(T192, T193)), T9) → U23_ga(T191, T192, T193, T9, part24_in_ggaa(T191, T193, X336, X337))
U23_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, X336, X337)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
qs1_in_ga(.(T191, .(T192, T193)), T9) → U24_ga(T191, T192, T193, T9, part24_in_ggaa(T191, T193, T197, T198))
U24_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U25_ga(T191, T192, T193, T9, qs42_in_aa(T197, X14))
U25_ga(T191, T192, T193, T9, qs42_out_aa(T197, X14)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
U24_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U26_ga(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_ga(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_ga(T191, T192, T193, T9, p41_in_aaaga(.(T192, T198), X15, T202, T191, T9))
U27_ga(T191, T192, T193, T9, p41_out_aaaga(.(T192, T198), X15, T202, T191, T9)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
qs1_in_ga(.(T207, []), T9) → U28_ga(T207, T9, qs84_in_a(X14))
U28_ga(T207, T9, qs84_out_a(X14)) → qs1_out_ga(.(T207, []), T9)
qs1_in_ga(.(T207, []), T9) → U29_ga(T207, T9, qs84_in_a(T210))
U29_ga(T207, T9, qs84_out_a(T210)) → U30_ga(T207, T9, qs84_in_a(X15))
U30_ga(T207, T9, qs84_out_a(X15)) → qs1_out_ga(.(T207, []), T9)
U29_ga(T207, T9, qs84_out_a(T210)) → U31_ga(T207, T9, T210, qs84_in_a(T213))
U31_ga(T207, T9, T210, qs84_out_a(T213)) → U32_ga(T207, T9, app43_in_ggga(T210, T207, T213, T9))
app43_in_ggga([], T157, T158, .(T157, T158)) → app43_out_ggga([], T157, T158, .(T157, T158))
app43_in_ggga(.(T169, T170), T171, T172, .(T169, T174)) → U13_ggga(T169, T170, T171, T172, T174, app43_in_ggga(T170, T171, T172, T174))
U13_ggga(T169, T170, T171, T172, T174, app43_out_ggga(T170, T171, T172, T174)) → app43_out_ggga(.(T169, T170), T171, T172, .(T169, T174))
U32_ga(T207, T9, app43_out_ggga(T210, T207, T213, T9)) → qs1_out_ga(.(T207, []), T9)

The argument filtering Pi contains the following mapping:
qs1_in_ga(x1, x2)  =  qs1_in_ga(x1)
[]  =  []
qs1_out_ga(x1, x2)  =  qs1_out_ga
.(x1, x2)  =  .(x1, x2)
U17_ga(x1, x2, x3, x4, x5)  =  U17_ga(x1, x3, x5)
less14_in_gg(x1, x2)  =  less14_in_gg(x1, x2)
0  =  0
s(x1)  =  s(x1)
less14_out_gg(x1, x2)  =  less14_out_gg
U1_gg(x1, x2, x3)  =  U1_gg(x3)
U18_ga(x1, x2, x3, x4, x5)  =  U18_ga(x5)
part24_in_ggaa(x1, x2, x3, x4)  =  part24_in_ggaa(x1, x2)
U2_ggaa(x1, x2, x3, x4, x5, x6)  =  U2_ggaa(x1, x3, x6)
part24_out_ggaa(x1, x2, x3, x4)  =  part24_out_ggaa
U3_ggaa(x1, x2, x3, x4, x5, x6)  =  U3_ggaa(x6)
U4_ggaa(x1, x2, x3, x4, x5, x6)  =  U4_ggaa(x6)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x5)
U20_ga(x1, x2, x3, x4, x5)  =  U20_ga(x5)
qs1_in_aa(x1, x2)  =  qs1_in_aa
qs1_out_aa(x1, x2)  =  qs1_out_aa
U17_aa(x1, x2, x3, x4, x5)  =  U17_aa(x5)
less14_in_aa(x1, x2)  =  less14_in_aa
less14_out_aa(x1, x2)  =  less14_out_aa(x1)
U1_aa(x1, x2, x3)  =  U1_aa(x3)
U18_aa(x1, x2, x3, x4, x5)  =  U18_aa(x5)
part24_in_gaaa(x1, x2, x3, x4)  =  part24_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x1, x6)
less14_in_ga(x1, x2)  =  less14_in_ga(x1)
less14_out_ga(x1, x2)  =  less14_out_ga
U1_ga(x1, x2, x3)  =  U1_ga(x3)
part24_out_gaaa(x1, x2, x3, x4)  =  part24_out_gaaa
U3_gaaa(x1, x2, x3, x4, x5, x6)  =  U3_gaaa(x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x6)
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(x1, x5)
U20_aa(x1, x2, x3, x4, x5)  =  U20_aa(x5)
U23_aa(x1, x2, x3, x4, x5)  =  U23_aa(x5)
part24_in_aaaa(x1, x2, x3, x4)  =  part24_in_aaaa
U2_aaaa(x1, x2, x3, x4, x5, x6)  =  U2_aaaa(x6)
part24_out_aaaa(x1, x2, x3, x4)  =  part24_out_aaaa
U3_aaaa(x1, x2, x3, x4, x5, x6)  =  U3_aaaa(x6)
U4_aaaa(x1, x2, x3, x4, x5, x6)  =  U4_aaaa(x6)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
qs42_in_aa(x1, x2)  =  qs42_in_aa
qs42_out_aa(x1, x2)  =  qs42_out_aa
U5_aa(x1, x2, x3, x4)  =  U5_aa(x4)
U6_aa(x1, x2, x3, x4)  =  U6_aa(x4)
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
U8_aa(x1, x2, x3, x4, x5)  =  U8_aa(x5)
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)
app57_in_aaaa(x1, x2, x3, x4)  =  app57_in_aaaa
app57_out_aaaa(x1, x2, x3, x4)  =  app57_out_aaaa
U12_aaaa(x1, x2, x3, x4, x5, x6)  =  U12_aaaa(x6)
U26_aa(x1, x2, x3, x4, x5, x6)  =  U26_aa(x6)
U27_aa(x1, x2, x3, x4, x5)  =  U27_aa(x5)
p41_in_aaaaa(x1, x2, x3, x4, x5)  =  p41_in_aaaaa
U14_aaaaa(x1, x2, x3, x4, x5, x6)  =  U14_aaaaa(x6)
p41_out_aaaaa(x1, x2, x3, x4, x5)  =  p41_out_aaaaa
U15_aaaaa(x1, x2, x3, x4, x5, x6)  =  U15_aaaaa(x6)
U16_aaaaa(x1, x2, x3, x4, x5, x6)  =  U16_aaaaa(x6)
app43_in_aaaa(x1, x2, x3, x4)  =  app43_in_aaaa
app43_out_aaaa(x1, x2, x3, x4)  =  app43_out_aaaa
U13_aaaa(x1, x2, x3, x4, x5, x6)  =  U13_aaaa(x6)
U28_aa(x1, x2, x3)  =  U28_aa(x3)
qs84_in_a(x1)  =  qs84_in_a
qs84_out_a(x1)  =  qs84_out_a(x1)
U29_aa(x1, x2, x3)  =  U29_aa(x3)
U30_aa(x1, x2, x3)  =  U30_aa(x3)
U31_aa(x1, x2, x3, x4)  =  U31_aa(x3, x4)
U32_aa(x1, x2, x3)  =  U32_aa(x3)
app43_in_gaga(x1, x2, x3, x4)  =  app43_in_gaga(x1, x3)
app43_out_gaga(x1, x2, x3, x4)  =  app43_out_gaga
U13_gaga(x1, x2, x3, x4, x5, x6)  =  U13_gaga(x6)
U21_aa(x1, x2, x3, x4, x5, x6)  =  U21_aa(x1, x6)
U22_aa(x1, x2, x3, x4, x5)  =  U22_aa(x5)
p41_in_aaaga(x1, x2, x3, x4, x5)  =  p41_in_aaaga(x4)
U14_aaaga(x1, x2, x3, x4, x5, x6)  =  U14_aaaga(x6)
p41_out_aaaga(x1, x2, x3, x4, x5)  =  p41_out_aaaga
U15_aaaga(x1, x2, x3, x4, x5, x6)  =  U15_aaaga(x4, x6)
U16_aaaga(x1, x2, x3, x4, x5, x6)  =  U16_aaaga(x6)
app43_in_agaa(x1, x2, x3, x4)  =  app43_in_agaa(x2)
app43_out_agaa(x1, x2, x3, x4)  =  app43_out_agaa
U13_agaa(x1, x2, x3, x4, x5, x6)  =  U13_agaa(x6)
U21_ga(x1, x2, x3, x4, x5, x6)  =  U21_ga(x1, x6)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x5)
U23_ga(x1, x2, x3, x4, x5)  =  U23_ga(x5)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x1, x5)
U25_ga(x1, x2, x3, x4, x5)  =  U25_ga(x5)
U26_ga(x1, x2, x3, x4, x5, x6)  =  U26_ga(x1, x6)
U27_ga(x1, x2, x3, x4, x5)  =  U27_ga(x5)
U28_ga(x1, x2, x3)  =  U28_ga(x3)
U29_ga(x1, x2, x3)  =  U29_ga(x1, x3)
U30_ga(x1, x2, x3)  =  U30_ga(x3)
U31_ga(x1, x2, x3, x4)  =  U31_ga(x1, x3, x4)
U32_ga(x1, x2, x3)  =  U32_ga(x3)
app43_in_ggga(x1, x2, x3, x4)  =  app43_in_ggga(x1, x2, x3)
app43_out_ggga(x1, x2, x3, x4)  =  app43_out_ggga(x4)
U13_ggga(x1, x2, x3, x4, x5, x6)  =  U13_ggga(x1, x6)
APP43_IN_GAGA(x1, x2, x3, x4)  =  APP43_IN_GAGA(x1, x3)

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:

APP43_IN_GAGA(.(T169, T170), T171, T172, .(T169, T174)) → APP43_IN_GAGA(T170, T171, T172, T174)

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

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:

APP43_IN_GAGA(.(T169, T170), T172) → APP43_IN_GAGA(T170, T172)

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

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

  • APP43_IN_GAGA(.(T169, T170), T172) → APP43_IN_GAGA(T170, T172)
    The graph contains the following edges 1 > 1, 2 >= 2

(29) YES

(30) Obligation:

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

APP43_IN_AAAA(.(T169, T170), T171, T172, .(T169, T174)) → APP43_IN_AAAA(T170, T171, T172, T174)

The TRS R consists of the following rules:

qs1_in_ga([], []) → qs1_out_ga([], [])
qs1_in_ga(.(T22, .(T23, T24)), T9) → U17_ga(T22, T23, T24, T9, less14_in_gg(T22, T23))
less14_in_gg(0, s(T33)) → less14_out_gg(0, s(T33))
less14_in_gg(s(T38), s(T39)) → U1_gg(T38, T39, less14_in_gg(T38, T39))
U1_gg(T38, T39, less14_out_gg(T38, T39)) → less14_out_gg(s(T38), s(T39))
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U18_ga(T22, T23, T24, T9, part24_in_ggaa(T22, T24, X52, X53))
part24_in_ggaa(T62, .(T63, T64), .(T63, X126), X127) → U2_ggaa(T62, T63, T64, X126, X127, less14_in_gg(T62, T63))
U2_ggaa(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → part24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
U2_ggaa(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → U3_ggaa(T62, T63, T64, X126, X127, part24_in_ggaa(T62, T64, X126, X127))
part24_in_ggaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_ggaa(T84, T85, T86, X177, X178, part24_in_ggaa(T84, T86, X177, X178))
part24_in_ggaa(T92, [], [], []) → part24_out_ggaa(T92, [], [], [])
U4_ggaa(T84, T85, T86, X177, X178, part24_out_ggaa(T84, T86, X177, X178)) → part24_out_ggaa(T84, .(T85, T86), X177, .(T85, X178))
U3_ggaa(T62, T63, T64, X126, X127, part24_out_ggaa(T62, T64, X126, X127)) → part24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
U18_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, X52, X53)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U19_ga(T22, T23, T24, T9, part24_in_ggaa(T22, T24, T45, T46))
U19_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U20_ga(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
qs1_in_aa([], []) → qs1_out_aa([], [])
qs1_in_aa(.(T22, .(T23, T24)), T9) → U17_aa(T22, T23, T24, T9, less14_in_aa(T22, T23))
less14_in_aa(0, s(T33)) → less14_out_aa(0, s(T33))
less14_in_aa(s(T38), s(T39)) → U1_aa(T38, T39, less14_in_aa(T38, T39))
U1_aa(T38, T39, less14_out_aa(T38, T39)) → less14_out_aa(s(T38), s(T39))
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U18_aa(T22, T23, T24, T9, part24_in_gaaa(T22, T24, X52, X53))
part24_in_gaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_gaaa(T62, T63, T64, X126, X127, less14_in_ga(T62, T63))
less14_in_ga(0, s(T33)) → less14_out_ga(0, s(T33))
less14_in_ga(s(T38), s(T39)) → U1_ga(T38, T39, less14_in_ga(T38, T39))
U1_ga(T38, T39, less14_out_ga(T38, T39)) → less14_out_ga(s(T38), s(T39))
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → U3_gaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
part24_in_gaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_gaaa(T84, T85, T86, X177, X178, part24_in_gaaa(T84, T86, X177, X178))
part24_in_gaaa(T92, [], [], []) → part24_out_gaaa(T92, [], [], [])
U4_gaaa(T84, T85, T86, X177, X178, part24_out_gaaa(T84, T86, X177, X178)) → part24_out_gaaa(T84, .(T85, T86), X177, .(T85, X178))
U3_gaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U18_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, X52, X53)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U19_aa(T22, T23, T24, T9, part24_in_gaaa(T22, T24, T45, T46))
U19_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U20_aa(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
qs1_in_aa(.(T191, .(T192, T193)), T9) → U23_aa(T191, T192, T193, T9, part24_in_aaaa(T191, T193, X336, X337))
part24_in_aaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_aaaa(T62, T63, T64, X126, X127, less14_in_aa(T62, T63))
U2_aaaa(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → part24_out_aaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_aaaa(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → U3_aaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
U3_aaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_aaaa(T62, .(T63, T64), .(T63, X126), X127)
part24_in_aaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_aaaa(T84, T85, T86, X177, X178, part24_in_aaaa(T84, T86, X177, X178))
part24_in_aaaa(T92, [], [], []) → part24_out_aaaa(T92, [], [], [])
U4_aaaa(T84, T85, T86, X177, X178, part24_out_aaaa(T84, T86, X177, X178)) → part24_out_aaaa(T84, .(T85, T86), X177, .(T85, X178))
U23_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, X336, X337)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
qs1_in_aa(.(T191, .(T192, T193)), T9) → U24_aa(T191, T192, T193, T9, part24_in_aaaa(T191, T193, T197, T198))
U24_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U25_aa(T191, T192, T193, T9, qs42_in_aa(T197, X14))
qs42_in_aa([], []) → qs42_out_aa([], [])
qs42_in_aa(.(T103, T104), X230) → U5_aa(T103, T104, X230, part24_in_aaaa(T103, T104, X226, X227))
U5_aa(T103, T104, X230, part24_out_aaaa(T103, T104, X226, X227)) → qs42_out_aa(.(T103, T104), X230)
qs42_in_aa(.(T103, T104), X230) → U6_aa(T103, T104, X230, part24_in_aaaa(T103, T104, T108, T109))
U6_aa(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U7_aa(T103, T104, X230, qs42_in_aa(T108, X228))
U7_aa(T103, T104, X230, qs42_out_aa(T108, X228)) → qs42_out_aa(.(T103, T104), X230)
U6_aa(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U8_aa(T103, T104, X230, T109, qs42_in_aa(T108, T113))
U8_aa(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U9_aa(T103, T104, X230, qs42_in_aa(T109, X229))
U9_aa(T103, T104, X230, qs42_out_aa(T109, X229)) → qs42_out_aa(.(T103, T104), X230)
U8_aa(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U10_aa(T103, T104, X230, T113, qs42_in_aa(T109, T114))
U10_aa(T103, T104, X230, T113, qs42_out_aa(T109, T114)) → U11_aa(T103, T104, X230, app57_in_aaaa(T113, T103, T114, X230))
app57_in_aaaa([], T127, T128, .(T127, T128)) → app57_out_aaaa([], T127, T128, .(T127, T128))
app57_in_aaaa(.(T137, T138), T139, T140, .(T137, X270)) → U12_aaaa(T137, T138, T139, T140, X270, app57_in_aaaa(T138, T139, T140, X270))
U12_aaaa(T137, T138, T139, T140, X270, app57_out_aaaa(T138, T139, T140, X270)) → app57_out_aaaa(.(T137, T138), T139, T140, .(T137, X270))
U11_aa(T103, T104, X230, app57_out_aaaa(T113, T103, T114, X230)) → qs42_out_aa(.(T103, T104), X230)
U25_aa(T191, T192, T193, T9, qs42_out_aa(T197, X14)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
U24_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U26_aa(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_aa(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_aa(T191, T192, T193, T9, p41_in_aaaaa(.(T192, T198), X15, T202, T191, T9))
p41_in_aaaaa(T46, X15, T95, T22, T9) → U14_aaaaa(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
U14_aaaaa(T46, X15, T95, T22, T9, qs42_out_aa(T46, X15)) → p41_out_aaaaa(T46, X15, T95, T22, T9)
p41_in_aaaaa(T46, T98, T95, T22, T9) → U15_aaaaa(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_aaaaa(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_aaaaa(T46, T98, T95, T22, T9, app43_in_aaaa(T95, T22, T98, T9))
app43_in_aaaa([], T157, T158, .(T157, T158)) → app43_out_aaaa([], T157, T158, .(T157, T158))
app43_in_aaaa(.(T169, T170), T171, T172, .(T169, T174)) → U13_aaaa(T169, T170, T171, T172, T174, app43_in_aaaa(T170, T171, T172, T174))
U13_aaaa(T169, T170, T171, T172, T174, app43_out_aaaa(T170, T171, T172, T174)) → app43_out_aaaa(.(T169, T170), T171, T172, .(T169, T174))
U16_aaaaa(T46, T98, T95, T22, T9, app43_out_aaaa(T95, T22, T98, T9)) → p41_out_aaaaa(T46, T98, T95, T22, T9)
U27_aa(T191, T192, T193, T9, p41_out_aaaaa(.(T192, T198), X15, T202, T191, T9)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
qs1_in_aa(.(T207, []), T9) → U28_aa(T207, T9, qs84_in_a(X14))
qs84_in_a([]) → qs84_out_a([])
U28_aa(T207, T9, qs84_out_a(X14)) → qs1_out_aa(.(T207, []), T9)
qs1_in_aa(.(T207, []), T9) → U29_aa(T207, T9, qs84_in_a(T210))
U29_aa(T207, T9, qs84_out_a(T210)) → U30_aa(T207, T9, qs84_in_a(X15))
U30_aa(T207, T9, qs84_out_a(X15)) → qs1_out_aa(.(T207, []), T9)
U29_aa(T207, T9, qs84_out_a(T210)) → U31_aa(T207, T9, T210, qs84_in_a(T213))
U31_aa(T207, T9, T210, qs84_out_a(T213)) → U32_aa(T207, T9, app43_in_gaga(T210, T207, T213, T9))
app43_in_gaga([], T157, T158, .(T157, T158)) → app43_out_gaga([], T157, T158, .(T157, T158))
app43_in_gaga(.(T169, T170), T171, T172, .(T169, T174)) → U13_gaga(T169, T170, T171, T172, T174, app43_in_gaga(T170, T171, T172, T174))
U13_gaga(T169, T170, T171, T172, T174, app43_out_gaga(T170, T171, T172, T174)) → app43_out_gaga(.(T169, T170), T171, T172, .(T169, T174))
U32_aa(T207, T9, app43_out_gaga(T210, T207, T213, T9)) → qs1_out_aa(.(T207, []), T9)
U20_aa(T22, T23, T24, T9, qs1_out_aa(.(T23, T45), X14)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U21_aa(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_aa(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_aa(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
p41_in_aaaga(T46, X15, T95, T22, T9) → U14_aaaga(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
U14_aaaga(T46, X15, T95, T22, T9, qs42_out_aa(T46, X15)) → p41_out_aaaga(T46, X15, T95, T22, T9)
p41_in_aaaga(T46, T98, T95, T22, T9) → U15_aaaga(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_aaaga(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_aaaga(T46, T98, T95, T22, T9, app43_in_agaa(T95, T22, T98, T9))
app43_in_agaa([], T157, T158, .(T157, T158)) → app43_out_agaa([], T157, T158, .(T157, T158))
app43_in_agaa(.(T169, T170), T171, T172, .(T169, T174)) → U13_agaa(T169, T170, T171, T172, T174, app43_in_agaa(T170, T171, T172, T174))
U13_agaa(T169, T170, T171, T172, T174, app43_out_agaa(T170, T171, T172, T174)) → app43_out_agaa(.(T169, T170), T171, T172, .(T169, T174))
U16_aaaga(T46, T98, T95, T22, T9, app43_out_agaa(T95, T22, T98, T9)) → p41_out_aaaga(T46, T98, T95, T22, T9)
U22_aa(T22, T23, T24, T9, p41_out_aaaga(T46, X15, T95, T22, T9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U20_ga(T22, T23, T24, T9, qs1_out_aa(.(T23, T45), X14)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U21_ga(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_ga(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_ga(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
U22_ga(T22, T23, T24, T9, p41_out_aaaga(T46, X15, T95, T22, T9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
qs1_in_ga(.(T191, .(T192, T193)), T9) → U23_ga(T191, T192, T193, T9, part24_in_ggaa(T191, T193, X336, X337))
U23_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, X336, X337)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
qs1_in_ga(.(T191, .(T192, T193)), T9) → U24_ga(T191, T192, T193, T9, part24_in_ggaa(T191, T193, T197, T198))
U24_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U25_ga(T191, T192, T193, T9, qs42_in_aa(T197, X14))
U25_ga(T191, T192, T193, T9, qs42_out_aa(T197, X14)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
U24_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U26_ga(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_ga(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_ga(T191, T192, T193, T9, p41_in_aaaga(.(T192, T198), X15, T202, T191, T9))
U27_ga(T191, T192, T193, T9, p41_out_aaaga(.(T192, T198), X15, T202, T191, T9)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
qs1_in_ga(.(T207, []), T9) → U28_ga(T207, T9, qs84_in_a(X14))
U28_ga(T207, T9, qs84_out_a(X14)) → qs1_out_ga(.(T207, []), T9)
qs1_in_ga(.(T207, []), T9) → U29_ga(T207, T9, qs84_in_a(T210))
U29_ga(T207, T9, qs84_out_a(T210)) → U30_ga(T207, T9, qs84_in_a(X15))
U30_ga(T207, T9, qs84_out_a(X15)) → qs1_out_ga(.(T207, []), T9)
U29_ga(T207, T9, qs84_out_a(T210)) → U31_ga(T207, T9, T210, qs84_in_a(T213))
U31_ga(T207, T9, T210, qs84_out_a(T213)) → U32_ga(T207, T9, app43_in_ggga(T210, T207, T213, T9))
app43_in_ggga([], T157, T158, .(T157, T158)) → app43_out_ggga([], T157, T158, .(T157, T158))
app43_in_ggga(.(T169, T170), T171, T172, .(T169, T174)) → U13_ggga(T169, T170, T171, T172, T174, app43_in_ggga(T170, T171, T172, T174))
U13_ggga(T169, T170, T171, T172, T174, app43_out_ggga(T170, T171, T172, T174)) → app43_out_ggga(.(T169, T170), T171, T172, .(T169, T174))
U32_ga(T207, T9, app43_out_ggga(T210, T207, T213, T9)) → qs1_out_ga(.(T207, []), T9)

The argument filtering Pi contains the following mapping:
qs1_in_ga(x1, x2)  =  qs1_in_ga(x1)
[]  =  []
qs1_out_ga(x1, x2)  =  qs1_out_ga
.(x1, x2)  =  .(x1, x2)
U17_ga(x1, x2, x3, x4, x5)  =  U17_ga(x1, x3, x5)
less14_in_gg(x1, x2)  =  less14_in_gg(x1, x2)
0  =  0
s(x1)  =  s(x1)
less14_out_gg(x1, x2)  =  less14_out_gg
U1_gg(x1, x2, x3)  =  U1_gg(x3)
U18_ga(x1, x2, x3, x4, x5)  =  U18_ga(x5)
part24_in_ggaa(x1, x2, x3, x4)  =  part24_in_ggaa(x1, x2)
U2_ggaa(x1, x2, x3, x4, x5, x6)  =  U2_ggaa(x1, x3, x6)
part24_out_ggaa(x1, x2, x3, x4)  =  part24_out_ggaa
U3_ggaa(x1, x2, x3, x4, x5, x6)  =  U3_ggaa(x6)
U4_ggaa(x1, x2, x3, x4, x5, x6)  =  U4_ggaa(x6)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x5)
U20_ga(x1, x2, x3, x4, x5)  =  U20_ga(x5)
qs1_in_aa(x1, x2)  =  qs1_in_aa
qs1_out_aa(x1, x2)  =  qs1_out_aa
U17_aa(x1, x2, x3, x4, x5)  =  U17_aa(x5)
less14_in_aa(x1, x2)  =  less14_in_aa
less14_out_aa(x1, x2)  =  less14_out_aa(x1)
U1_aa(x1, x2, x3)  =  U1_aa(x3)
U18_aa(x1, x2, x3, x4, x5)  =  U18_aa(x5)
part24_in_gaaa(x1, x2, x3, x4)  =  part24_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x1, x6)
less14_in_ga(x1, x2)  =  less14_in_ga(x1)
less14_out_ga(x1, x2)  =  less14_out_ga
U1_ga(x1, x2, x3)  =  U1_ga(x3)
part24_out_gaaa(x1, x2, x3, x4)  =  part24_out_gaaa
U3_gaaa(x1, x2, x3, x4, x5, x6)  =  U3_gaaa(x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x6)
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(x1, x5)
U20_aa(x1, x2, x3, x4, x5)  =  U20_aa(x5)
U23_aa(x1, x2, x3, x4, x5)  =  U23_aa(x5)
part24_in_aaaa(x1, x2, x3, x4)  =  part24_in_aaaa
U2_aaaa(x1, x2, x3, x4, x5, x6)  =  U2_aaaa(x6)
part24_out_aaaa(x1, x2, x3, x4)  =  part24_out_aaaa
U3_aaaa(x1, x2, x3, x4, x5, x6)  =  U3_aaaa(x6)
U4_aaaa(x1, x2, x3, x4, x5, x6)  =  U4_aaaa(x6)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
qs42_in_aa(x1, x2)  =  qs42_in_aa
qs42_out_aa(x1, x2)  =  qs42_out_aa
U5_aa(x1, x2, x3, x4)  =  U5_aa(x4)
U6_aa(x1, x2, x3, x4)  =  U6_aa(x4)
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
U8_aa(x1, x2, x3, x4, x5)  =  U8_aa(x5)
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)
app57_in_aaaa(x1, x2, x3, x4)  =  app57_in_aaaa
app57_out_aaaa(x1, x2, x3, x4)  =  app57_out_aaaa
U12_aaaa(x1, x2, x3, x4, x5, x6)  =  U12_aaaa(x6)
U26_aa(x1, x2, x3, x4, x5, x6)  =  U26_aa(x6)
U27_aa(x1, x2, x3, x4, x5)  =  U27_aa(x5)
p41_in_aaaaa(x1, x2, x3, x4, x5)  =  p41_in_aaaaa
U14_aaaaa(x1, x2, x3, x4, x5, x6)  =  U14_aaaaa(x6)
p41_out_aaaaa(x1, x2, x3, x4, x5)  =  p41_out_aaaaa
U15_aaaaa(x1, x2, x3, x4, x5, x6)  =  U15_aaaaa(x6)
U16_aaaaa(x1, x2, x3, x4, x5, x6)  =  U16_aaaaa(x6)
app43_in_aaaa(x1, x2, x3, x4)  =  app43_in_aaaa
app43_out_aaaa(x1, x2, x3, x4)  =  app43_out_aaaa
U13_aaaa(x1, x2, x3, x4, x5, x6)  =  U13_aaaa(x6)
U28_aa(x1, x2, x3)  =  U28_aa(x3)
qs84_in_a(x1)  =  qs84_in_a
qs84_out_a(x1)  =  qs84_out_a(x1)
U29_aa(x1, x2, x3)  =  U29_aa(x3)
U30_aa(x1, x2, x3)  =  U30_aa(x3)
U31_aa(x1, x2, x3, x4)  =  U31_aa(x3, x4)
U32_aa(x1, x2, x3)  =  U32_aa(x3)
app43_in_gaga(x1, x2, x3, x4)  =  app43_in_gaga(x1, x3)
app43_out_gaga(x1, x2, x3, x4)  =  app43_out_gaga
U13_gaga(x1, x2, x3, x4, x5, x6)  =  U13_gaga(x6)
U21_aa(x1, x2, x3, x4, x5, x6)  =  U21_aa(x1, x6)
U22_aa(x1, x2, x3, x4, x5)  =  U22_aa(x5)
p41_in_aaaga(x1, x2, x3, x4, x5)  =  p41_in_aaaga(x4)
U14_aaaga(x1, x2, x3, x4, x5, x6)  =  U14_aaaga(x6)
p41_out_aaaga(x1, x2, x3, x4, x5)  =  p41_out_aaaga
U15_aaaga(x1, x2, x3, x4, x5, x6)  =  U15_aaaga(x4, x6)
U16_aaaga(x1, x2, x3, x4, x5, x6)  =  U16_aaaga(x6)
app43_in_agaa(x1, x2, x3, x4)  =  app43_in_agaa(x2)
app43_out_agaa(x1, x2, x3, x4)  =  app43_out_agaa
U13_agaa(x1, x2, x3, x4, x5, x6)  =  U13_agaa(x6)
U21_ga(x1, x2, x3, x4, x5, x6)  =  U21_ga(x1, x6)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x5)
U23_ga(x1, x2, x3, x4, x5)  =  U23_ga(x5)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x1, x5)
U25_ga(x1, x2, x3, x4, x5)  =  U25_ga(x5)
U26_ga(x1, x2, x3, x4, x5, x6)  =  U26_ga(x1, x6)
U27_ga(x1, x2, x3, x4, x5)  =  U27_ga(x5)
U28_ga(x1, x2, x3)  =  U28_ga(x3)
U29_ga(x1, x2, x3)  =  U29_ga(x1, x3)
U30_ga(x1, x2, x3)  =  U30_ga(x3)
U31_ga(x1, x2, x3, x4)  =  U31_ga(x1, x3, x4)
U32_ga(x1, x2, x3)  =  U32_ga(x3)
app43_in_ggga(x1, x2, x3, x4)  =  app43_in_ggga(x1, x2, x3)
app43_out_ggga(x1, x2, x3, x4)  =  app43_out_ggga(x4)
U13_ggga(x1, x2, x3, x4, x5, x6)  =  U13_ggga(x1, x6)
APP43_IN_AAAA(x1, x2, x3, x4)  =  APP43_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:

APP43_IN_AAAA(.(T169, T170), T171, T172, .(T169, T174)) → APP43_IN_AAAA(T170, T171, T172, T174)

R is empty.
The argument filtering Pi contains the following mapping:
.(x1, x2)  =  .(x1, x2)
APP43_IN_AAAA(x1, x2, x3, x4)  =  APP43_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:

APP43_IN_AAAAAPP43_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 = APP43_IN_AAAA evaluates to t =APP43_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 APP43_IN_AAAA to APP43_IN_AAAA.



(36) NO

(37) Obligation:

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

APP57_IN_AAAA(.(T137, T138), T139, T140, .(T137, X270)) → APP57_IN_AAAA(T138, T139, T140, X270)

The TRS R consists of the following rules:

qs1_in_ga([], []) → qs1_out_ga([], [])
qs1_in_ga(.(T22, .(T23, T24)), T9) → U17_ga(T22, T23, T24, T9, less14_in_gg(T22, T23))
less14_in_gg(0, s(T33)) → less14_out_gg(0, s(T33))
less14_in_gg(s(T38), s(T39)) → U1_gg(T38, T39, less14_in_gg(T38, T39))
U1_gg(T38, T39, less14_out_gg(T38, T39)) → less14_out_gg(s(T38), s(T39))
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U18_ga(T22, T23, T24, T9, part24_in_ggaa(T22, T24, X52, X53))
part24_in_ggaa(T62, .(T63, T64), .(T63, X126), X127) → U2_ggaa(T62, T63, T64, X126, X127, less14_in_gg(T62, T63))
U2_ggaa(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → part24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
U2_ggaa(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → U3_ggaa(T62, T63, T64, X126, X127, part24_in_ggaa(T62, T64, X126, X127))
part24_in_ggaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_ggaa(T84, T85, T86, X177, X178, part24_in_ggaa(T84, T86, X177, X178))
part24_in_ggaa(T92, [], [], []) → part24_out_ggaa(T92, [], [], [])
U4_ggaa(T84, T85, T86, X177, X178, part24_out_ggaa(T84, T86, X177, X178)) → part24_out_ggaa(T84, .(T85, T86), X177, .(T85, X178))
U3_ggaa(T62, T63, T64, X126, X127, part24_out_ggaa(T62, T64, X126, X127)) → part24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
U18_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, X52, X53)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U19_ga(T22, T23, T24, T9, part24_in_ggaa(T22, T24, T45, T46))
U19_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U20_ga(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
qs1_in_aa([], []) → qs1_out_aa([], [])
qs1_in_aa(.(T22, .(T23, T24)), T9) → U17_aa(T22, T23, T24, T9, less14_in_aa(T22, T23))
less14_in_aa(0, s(T33)) → less14_out_aa(0, s(T33))
less14_in_aa(s(T38), s(T39)) → U1_aa(T38, T39, less14_in_aa(T38, T39))
U1_aa(T38, T39, less14_out_aa(T38, T39)) → less14_out_aa(s(T38), s(T39))
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U18_aa(T22, T23, T24, T9, part24_in_gaaa(T22, T24, X52, X53))
part24_in_gaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_gaaa(T62, T63, T64, X126, X127, less14_in_ga(T62, T63))
less14_in_ga(0, s(T33)) → less14_out_ga(0, s(T33))
less14_in_ga(s(T38), s(T39)) → U1_ga(T38, T39, less14_in_ga(T38, T39))
U1_ga(T38, T39, less14_out_ga(T38, T39)) → less14_out_ga(s(T38), s(T39))
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → U3_gaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
part24_in_gaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_gaaa(T84, T85, T86, X177, X178, part24_in_gaaa(T84, T86, X177, X178))
part24_in_gaaa(T92, [], [], []) → part24_out_gaaa(T92, [], [], [])
U4_gaaa(T84, T85, T86, X177, X178, part24_out_gaaa(T84, T86, X177, X178)) → part24_out_gaaa(T84, .(T85, T86), X177, .(T85, X178))
U3_gaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U18_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, X52, X53)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U19_aa(T22, T23, T24, T9, part24_in_gaaa(T22, T24, T45, T46))
U19_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U20_aa(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
qs1_in_aa(.(T191, .(T192, T193)), T9) → U23_aa(T191, T192, T193, T9, part24_in_aaaa(T191, T193, X336, X337))
part24_in_aaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_aaaa(T62, T63, T64, X126, X127, less14_in_aa(T62, T63))
U2_aaaa(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → part24_out_aaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_aaaa(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → U3_aaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
U3_aaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_aaaa(T62, .(T63, T64), .(T63, X126), X127)
part24_in_aaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_aaaa(T84, T85, T86, X177, X178, part24_in_aaaa(T84, T86, X177, X178))
part24_in_aaaa(T92, [], [], []) → part24_out_aaaa(T92, [], [], [])
U4_aaaa(T84, T85, T86, X177, X178, part24_out_aaaa(T84, T86, X177, X178)) → part24_out_aaaa(T84, .(T85, T86), X177, .(T85, X178))
U23_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, X336, X337)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
qs1_in_aa(.(T191, .(T192, T193)), T9) → U24_aa(T191, T192, T193, T9, part24_in_aaaa(T191, T193, T197, T198))
U24_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U25_aa(T191, T192, T193, T9, qs42_in_aa(T197, X14))
qs42_in_aa([], []) → qs42_out_aa([], [])
qs42_in_aa(.(T103, T104), X230) → U5_aa(T103, T104, X230, part24_in_aaaa(T103, T104, X226, X227))
U5_aa(T103, T104, X230, part24_out_aaaa(T103, T104, X226, X227)) → qs42_out_aa(.(T103, T104), X230)
qs42_in_aa(.(T103, T104), X230) → U6_aa(T103, T104, X230, part24_in_aaaa(T103, T104, T108, T109))
U6_aa(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U7_aa(T103, T104, X230, qs42_in_aa(T108, X228))
U7_aa(T103, T104, X230, qs42_out_aa(T108, X228)) → qs42_out_aa(.(T103, T104), X230)
U6_aa(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U8_aa(T103, T104, X230, T109, qs42_in_aa(T108, T113))
U8_aa(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U9_aa(T103, T104, X230, qs42_in_aa(T109, X229))
U9_aa(T103, T104, X230, qs42_out_aa(T109, X229)) → qs42_out_aa(.(T103, T104), X230)
U8_aa(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U10_aa(T103, T104, X230, T113, qs42_in_aa(T109, T114))
U10_aa(T103, T104, X230, T113, qs42_out_aa(T109, T114)) → U11_aa(T103, T104, X230, app57_in_aaaa(T113, T103, T114, X230))
app57_in_aaaa([], T127, T128, .(T127, T128)) → app57_out_aaaa([], T127, T128, .(T127, T128))
app57_in_aaaa(.(T137, T138), T139, T140, .(T137, X270)) → U12_aaaa(T137, T138, T139, T140, X270, app57_in_aaaa(T138, T139, T140, X270))
U12_aaaa(T137, T138, T139, T140, X270, app57_out_aaaa(T138, T139, T140, X270)) → app57_out_aaaa(.(T137, T138), T139, T140, .(T137, X270))
U11_aa(T103, T104, X230, app57_out_aaaa(T113, T103, T114, X230)) → qs42_out_aa(.(T103, T104), X230)
U25_aa(T191, T192, T193, T9, qs42_out_aa(T197, X14)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
U24_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U26_aa(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_aa(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_aa(T191, T192, T193, T9, p41_in_aaaaa(.(T192, T198), X15, T202, T191, T9))
p41_in_aaaaa(T46, X15, T95, T22, T9) → U14_aaaaa(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
U14_aaaaa(T46, X15, T95, T22, T9, qs42_out_aa(T46, X15)) → p41_out_aaaaa(T46, X15, T95, T22, T9)
p41_in_aaaaa(T46, T98, T95, T22, T9) → U15_aaaaa(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_aaaaa(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_aaaaa(T46, T98, T95, T22, T9, app43_in_aaaa(T95, T22, T98, T9))
app43_in_aaaa([], T157, T158, .(T157, T158)) → app43_out_aaaa([], T157, T158, .(T157, T158))
app43_in_aaaa(.(T169, T170), T171, T172, .(T169, T174)) → U13_aaaa(T169, T170, T171, T172, T174, app43_in_aaaa(T170, T171, T172, T174))
U13_aaaa(T169, T170, T171, T172, T174, app43_out_aaaa(T170, T171, T172, T174)) → app43_out_aaaa(.(T169, T170), T171, T172, .(T169, T174))
U16_aaaaa(T46, T98, T95, T22, T9, app43_out_aaaa(T95, T22, T98, T9)) → p41_out_aaaaa(T46, T98, T95, T22, T9)
U27_aa(T191, T192, T193, T9, p41_out_aaaaa(.(T192, T198), X15, T202, T191, T9)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
qs1_in_aa(.(T207, []), T9) → U28_aa(T207, T9, qs84_in_a(X14))
qs84_in_a([]) → qs84_out_a([])
U28_aa(T207, T9, qs84_out_a(X14)) → qs1_out_aa(.(T207, []), T9)
qs1_in_aa(.(T207, []), T9) → U29_aa(T207, T9, qs84_in_a(T210))
U29_aa(T207, T9, qs84_out_a(T210)) → U30_aa(T207, T9, qs84_in_a(X15))
U30_aa(T207, T9, qs84_out_a(X15)) → qs1_out_aa(.(T207, []), T9)
U29_aa(T207, T9, qs84_out_a(T210)) → U31_aa(T207, T9, T210, qs84_in_a(T213))
U31_aa(T207, T9, T210, qs84_out_a(T213)) → U32_aa(T207, T9, app43_in_gaga(T210, T207, T213, T9))
app43_in_gaga([], T157, T158, .(T157, T158)) → app43_out_gaga([], T157, T158, .(T157, T158))
app43_in_gaga(.(T169, T170), T171, T172, .(T169, T174)) → U13_gaga(T169, T170, T171, T172, T174, app43_in_gaga(T170, T171, T172, T174))
U13_gaga(T169, T170, T171, T172, T174, app43_out_gaga(T170, T171, T172, T174)) → app43_out_gaga(.(T169, T170), T171, T172, .(T169, T174))
U32_aa(T207, T9, app43_out_gaga(T210, T207, T213, T9)) → qs1_out_aa(.(T207, []), T9)
U20_aa(T22, T23, T24, T9, qs1_out_aa(.(T23, T45), X14)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U21_aa(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_aa(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_aa(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
p41_in_aaaga(T46, X15, T95, T22, T9) → U14_aaaga(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
U14_aaaga(T46, X15, T95, T22, T9, qs42_out_aa(T46, X15)) → p41_out_aaaga(T46, X15, T95, T22, T9)
p41_in_aaaga(T46, T98, T95, T22, T9) → U15_aaaga(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_aaaga(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_aaaga(T46, T98, T95, T22, T9, app43_in_agaa(T95, T22, T98, T9))
app43_in_agaa([], T157, T158, .(T157, T158)) → app43_out_agaa([], T157, T158, .(T157, T158))
app43_in_agaa(.(T169, T170), T171, T172, .(T169, T174)) → U13_agaa(T169, T170, T171, T172, T174, app43_in_agaa(T170, T171, T172, T174))
U13_agaa(T169, T170, T171, T172, T174, app43_out_agaa(T170, T171, T172, T174)) → app43_out_agaa(.(T169, T170), T171, T172, .(T169, T174))
U16_aaaga(T46, T98, T95, T22, T9, app43_out_agaa(T95, T22, T98, T9)) → p41_out_aaaga(T46, T98, T95, T22, T9)
U22_aa(T22, T23, T24, T9, p41_out_aaaga(T46, X15, T95, T22, T9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U20_ga(T22, T23, T24, T9, qs1_out_aa(.(T23, T45), X14)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U21_ga(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_ga(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_ga(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
U22_ga(T22, T23, T24, T9, p41_out_aaaga(T46, X15, T95, T22, T9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
qs1_in_ga(.(T191, .(T192, T193)), T9) → U23_ga(T191, T192, T193, T9, part24_in_ggaa(T191, T193, X336, X337))
U23_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, X336, X337)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
qs1_in_ga(.(T191, .(T192, T193)), T9) → U24_ga(T191, T192, T193, T9, part24_in_ggaa(T191, T193, T197, T198))
U24_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U25_ga(T191, T192, T193, T9, qs42_in_aa(T197, X14))
U25_ga(T191, T192, T193, T9, qs42_out_aa(T197, X14)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
U24_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U26_ga(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_ga(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_ga(T191, T192, T193, T9, p41_in_aaaga(.(T192, T198), X15, T202, T191, T9))
U27_ga(T191, T192, T193, T9, p41_out_aaaga(.(T192, T198), X15, T202, T191, T9)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
qs1_in_ga(.(T207, []), T9) → U28_ga(T207, T9, qs84_in_a(X14))
U28_ga(T207, T9, qs84_out_a(X14)) → qs1_out_ga(.(T207, []), T9)
qs1_in_ga(.(T207, []), T9) → U29_ga(T207, T9, qs84_in_a(T210))
U29_ga(T207, T9, qs84_out_a(T210)) → U30_ga(T207, T9, qs84_in_a(X15))
U30_ga(T207, T9, qs84_out_a(X15)) → qs1_out_ga(.(T207, []), T9)
U29_ga(T207, T9, qs84_out_a(T210)) → U31_ga(T207, T9, T210, qs84_in_a(T213))
U31_ga(T207, T9, T210, qs84_out_a(T213)) → U32_ga(T207, T9, app43_in_ggga(T210, T207, T213, T9))
app43_in_ggga([], T157, T158, .(T157, T158)) → app43_out_ggga([], T157, T158, .(T157, T158))
app43_in_ggga(.(T169, T170), T171, T172, .(T169, T174)) → U13_ggga(T169, T170, T171, T172, T174, app43_in_ggga(T170, T171, T172, T174))
U13_ggga(T169, T170, T171, T172, T174, app43_out_ggga(T170, T171, T172, T174)) → app43_out_ggga(.(T169, T170), T171, T172, .(T169, T174))
U32_ga(T207, T9, app43_out_ggga(T210, T207, T213, T9)) → qs1_out_ga(.(T207, []), T9)

The argument filtering Pi contains the following mapping:
qs1_in_ga(x1, x2)  =  qs1_in_ga(x1)
[]  =  []
qs1_out_ga(x1, x2)  =  qs1_out_ga
.(x1, x2)  =  .(x1, x2)
U17_ga(x1, x2, x3, x4, x5)  =  U17_ga(x1, x3, x5)
less14_in_gg(x1, x2)  =  less14_in_gg(x1, x2)
0  =  0
s(x1)  =  s(x1)
less14_out_gg(x1, x2)  =  less14_out_gg
U1_gg(x1, x2, x3)  =  U1_gg(x3)
U18_ga(x1, x2, x3, x4, x5)  =  U18_ga(x5)
part24_in_ggaa(x1, x2, x3, x4)  =  part24_in_ggaa(x1, x2)
U2_ggaa(x1, x2, x3, x4, x5, x6)  =  U2_ggaa(x1, x3, x6)
part24_out_ggaa(x1, x2, x3, x4)  =  part24_out_ggaa
U3_ggaa(x1, x2, x3, x4, x5, x6)  =  U3_ggaa(x6)
U4_ggaa(x1, x2, x3, x4, x5, x6)  =  U4_ggaa(x6)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x5)
U20_ga(x1, x2, x3, x4, x5)  =  U20_ga(x5)
qs1_in_aa(x1, x2)  =  qs1_in_aa
qs1_out_aa(x1, x2)  =  qs1_out_aa
U17_aa(x1, x2, x3, x4, x5)  =  U17_aa(x5)
less14_in_aa(x1, x2)  =  less14_in_aa
less14_out_aa(x1, x2)  =  less14_out_aa(x1)
U1_aa(x1, x2, x3)  =  U1_aa(x3)
U18_aa(x1, x2, x3, x4, x5)  =  U18_aa(x5)
part24_in_gaaa(x1, x2, x3, x4)  =  part24_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x1, x6)
less14_in_ga(x1, x2)  =  less14_in_ga(x1)
less14_out_ga(x1, x2)  =  less14_out_ga
U1_ga(x1, x2, x3)  =  U1_ga(x3)
part24_out_gaaa(x1, x2, x3, x4)  =  part24_out_gaaa
U3_gaaa(x1, x2, x3, x4, x5, x6)  =  U3_gaaa(x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x6)
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(x1, x5)
U20_aa(x1, x2, x3, x4, x5)  =  U20_aa(x5)
U23_aa(x1, x2, x3, x4, x5)  =  U23_aa(x5)
part24_in_aaaa(x1, x2, x3, x4)  =  part24_in_aaaa
U2_aaaa(x1, x2, x3, x4, x5, x6)  =  U2_aaaa(x6)
part24_out_aaaa(x1, x2, x3, x4)  =  part24_out_aaaa
U3_aaaa(x1, x2, x3, x4, x5, x6)  =  U3_aaaa(x6)
U4_aaaa(x1, x2, x3, x4, x5, x6)  =  U4_aaaa(x6)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
qs42_in_aa(x1, x2)  =  qs42_in_aa
qs42_out_aa(x1, x2)  =  qs42_out_aa
U5_aa(x1, x2, x3, x4)  =  U5_aa(x4)
U6_aa(x1, x2, x3, x4)  =  U6_aa(x4)
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
U8_aa(x1, x2, x3, x4, x5)  =  U8_aa(x5)
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)
app57_in_aaaa(x1, x2, x3, x4)  =  app57_in_aaaa
app57_out_aaaa(x1, x2, x3, x4)  =  app57_out_aaaa
U12_aaaa(x1, x2, x3, x4, x5, x6)  =  U12_aaaa(x6)
U26_aa(x1, x2, x3, x4, x5, x6)  =  U26_aa(x6)
U27_aa(x1, x2, x3, x4, x5)  =  U27_aa(x5)
p41_in_aaaaa(x1, x2, x3, x4, x5)  =  p41_in_aaaaa
U14_aaaaa(x1, x2, x3, x4, x5, x6)  =  U14_aaaaa(x6)
p41_out_aaaaa(x1, x2, x3, x4, x5)  =  p41_out_aaaaa
U15_aaaaa(x1, x2, x3, x4, x5, x6)  =  U15_aaaaa(x6)
U16_aaaaa(x1, x2, x3, x4, x5, x6)  =  U16_aaaaa(x6)
app43_in_aaaa(x1, x2, x3, x4)  =  app43_in_aaaa
app43_out_aaaa(x1, x2, x3, x4)  =  app43_out_aaaa
U13_aaaa(x1, x2, x3, x4, x5, x6)  =  U13_aaaa(x6)
U28_aa(x1, x2, x3)  =  U28_aa(x3)
qs84_in_a(x1)  =  qs84_in_a
qs84_out_a(x1)  =  qs84_out_a(x1)
U29_aa(x1, x2, x3)  =  U29_aa(x3)
U30_aa(x1, x2, x3)  =  U30_aa(x3)
U31_aa(x1, x2, x3, x4)  =  U31_aa(x3, x4)
U32_aa(x1, x2, x3)  =  U32_aa(x3)
app43_in_gaga(x1, x2, x3, x4)  =  app43_in_gaga(x1, x3)
app43_out_gaga(x1, x2, x3, x4)  =  app43_out_gaga
U13_gaga(x1, x2, x3, x4, x5, x6)  =  U13_gaga(x6)
U21_aa(x1, x2, x3, x4, x5, x6)  =  U21_aa(x1, x6)
U22_aa(x1, x2, x3, x4, x5)  =  U22_aa(x5)
p41_in_aaaga(x1, x2, x3, x4, x5)  =  p41_in_aaaga(x4)
U14_aaaga(x1, x2, x3, x4, x5, x6)  =  U14_aaaga(x6)
p41_out_aaaga(x1, x2, x3, x4, x5)  =  p41_out_aaaga
U15_aaaga(x1, x2, x3, x4, x5, x6)  =  U15_aaaga(x4, x6)
U16_aaaga(x1, x2, x3, x4, x5, x6)  =  U16_aaaga(x6)
app43_in_agaa(x1, x2, x3, x4)  =  app43_in_agaa(x2)
app43_out_agaa(x1, x2, x3, x4)  =  app43_out_agaa
U13_agaa(x1, x2, x3, x4, x5, x6)  =  U13_agaa(x6)
U21_ga(x1, x2, x3, x4, x5, x6)  =  U21_ga(x1, x6)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x5)
U23_ga(x1, x2, x3, x4, x5)  =  U23_ga(x5)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x1, x5)
U25_ga(x1, x2, x3, x4, x5)  =  U25_ga(x5)
U26_ga(x1, x2, x3, x4, x5, x6)  =  U26_ga(x1, x6)
U27_ga(x1, x2, x3, x4, x5)  =  U27_ga(x5)
U28_ga(x1, x2, x3)  =  U28_ga(x3)
U29_ga(x1, x2, x3)  =  U29_ga(x1, x3)
U30_ga(x1, x2, x3)  =  U30_ga(x3)
U31_ga(x1, x2, x3, x4)  =  U31_ga(x1, x3, x4)
U32_ga(x1, x2, x3)  =  U32_ga(x3)
app43_in_ggga(x1, x2, x3, x4)  =  app43_in_ggga(x1, x2, x3)
app43_out_ggga(x1, x2, x3, x4)  =  app43_out_ggga(x4)
U13_ggga(x1, x2, x3, x4, x5, x6)  =  U13_ggga(x1, x6)
APP57_IN_AAAA(x1, x2, x3, x4)  =  APP57_IN_AAAA

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:

APP57_IN_AAAA(.(T137, T138), T139, T140, .(T137, X270)) → APP57_IN_AAAA(T138, T139, T140, X270)

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

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:

APP57_IN_AAAAAPP57_IN_AAAA

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 = APP57_IN_AAAA evaluates to t =APP57_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 APP57_IN_AAAA to APP57_IN_AAAA.



(43) NO

(44) Obligation:

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

LESS14_IN_GA(s(T38), s(T39)) → LESS14_IN_GA(T38, T39)

The TRS R consists of the following rules:

qs1_in_ga([], []) → qs1_out_ga([], [])
qs1_in_ga(.(T22, .(T23, T24)), T9) → U17_ga(T22, T23, T24, T9, less14_in_gg(T22, T23))
less14_in_gg(0, s(T33)) → less14_out_gg(0, s(T33))
less14_in_gg(s(T38), s(T39)) → U1_gg(T38, T39, less14_in_gg(T38, T39))
U1_gg(T38, T39, less14_out_gg(T38, T39)) → less14_out_gg(s(T38), s(T39))
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U18_ga(T22, T23, T24, T9, part24_in_ggaa(T22, T24, X52, X53))
part24_in_ggaa(T62, .(T63, T64), .(T63, X126), X127) → U2_ggaa(T62, T63, T64, X126, X127, less14_in_gg(T62, T63))
U2_ggaa(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → part24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
U2_ggaa(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → U3_ggaa(T62, T63, T64, X126, X127, part24_in_ggaa(T62, T64, X126, X127))
part24_in_ggaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_ggaa(T84, T85, T86, X177, X178, part24_in_ggaa(T84, T86, X177, X178))
part24_in_ggaa(T92, [], [], []) → part24_out_ggaa(T92, [], [], [])
U4_ggaa(T84, T85, T86, X177, X178, part24_out_ggaa(T84, T86, X177, X178)) → part24_out_ggaa(T84, .(T85, T86), X177, .(T85, X178))
U3_ggaa(T62, T63, T64, X126, X127, part24_out_ggaa(T62, T64, X126, X127)) → part24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
U18_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, X52, X53)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U19_ga(T22, T23, T24, T9, part24_in_ggaa(T22, T24, T45, T46))
U19_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U20_ga(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
qs1_in_aa([], []) → qs1_out_aa([], [])
qs1_in_aa(.(T22, .(T23, T24)), T9) → U17_aa(T22, T23, T24, T9, less14_in_aa(T22, T23))
less14_in_aa(0, s(T33)) → less14_out_aa(0, s(T33))
less14_in_aa(s(T38), s(T39)) → U1_aa(T38, T39, less14_in_aa(T38, T39))
U1_aa(T38, T39, less14_out_aa(T38, T39)) → less14_out_aa(s(T38), s(T39))
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U18_aa(T22, T23, T24, T9, part24_in_gaaa(T22, T24, X52, X53))
part24_in_gaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_gaaa(T62, T63, T64, X126, X127, less14_in_ga(T62, T63))
less14_in_ga(0, s(T33)) → less14_out_ga(0, s(T33))
less14_in_ga(s(T38), s(T39)) → U1_ga(T38, T39, less14_in_ga(T38, T39))
U1_ga(T38, T39, less14_out_ga(T38, T39)) → less14_out_ga(s(T38), s(T39))
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → U3_gaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
part24_in_gaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_gaaa(T84, T85, T86, X177, X178, part24_in_gaaa(T84, T86, X177, X178))
part24_in_gaaa(T92, [], [], []) → part24_out_gaaa(T92, [], [], [])
U4_gaaa(T84, T85, T86, X177, X178, part24_out_gaaa(T84, T86, X177, X178)) → part24_out_gaaa(T84, .(T85, T86), X177, .(T85, X178))
U3_gaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U18_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, X52, X53)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U19_aa(T22, T23, T24, T9, part24_in_gaaa(T22, T24, T45, T46))
U19_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U20_aa(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
qs1_in_aa(.(T191, .(T192, T193)), T9) → U23_aa(T191, T192, T193, T9, part24_in_aaaa(T191, T193, X336, X337))
part24_in_aaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_aaaa(T62, T63, T64, X126, X127, less14_in_aa(T62, T63))
U2_aaaa(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → part24_out_aaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_aaaa(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → U3_aaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
U3_aaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_aaaa(T62, .(T63, T64), .(T63, X126), X127)
part24_in_aaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_aaaa(T84, T85, T86, X177, X178, part24_in_aaaa(T84, T86, X177, X178))
part24_in_aaaa(T92, [], [], []) → part24_out_aaaa(T92, [], [], [])
U4_aaaa(T84, T85, T86, X177, X178, part24_out_aaaa(T84, T86, X177, X178)) → part24_out_aaaa(T84, .(T85, T86), X177, .(T85, X178))
U23_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, X336, X337)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
qs1_in_aa(.(T191, .(T192, T193)), T9) → U24_aa(T191, T192, T193, T9, part24_in_aaaa(T191, T193, T197, T198))
U24_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U25_aa(T191, T192, T193, T9, qs42_in_aa(T197, X14))
qs42_in_aa([], []) → qs42_out_aa([], [])
qs42_in_aa(.(T103, T104), X230) → U5_aa(T103, T104, X230, part24_in_aaaa(T103, T104, X226, X227))
U5_aa(T103, T104, X230, part24_out_aaaa(T103, T104, X226, X227)) → qs42_out_aa(.(T103, T104), X230)
qs42_in_aa(.(T103, T104), X230) → U6_aa(T103, T104, X230, part24_in_aaaa(T103, T104, T108, T109))
U6_aa(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U7_aa(T103, T104, X230, qs42_in_aa(T108, X228))
U7_aa(T103, T104, X230, qs42_out_aa(T108, X228)) → qs42_out_aa(.(T103, T104), X230)
U6_aa(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U8_aa(T103, T104, X230, T109, qs42_in_aa(T108, T113))
U8_aa(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U9_aa(T103, T104, X230, qs42_in_aa(T109, X229))
U9_aa(T103, T104, X230, qs42_out_aa(T109, X229)) → qs42_out_aa(.(T103, T104), X230)
U8_aa(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U10_aa(T103, T104, X230, T113, qs42_in_aa(T109, T114))
U10_aa(T103, T104, X230, T113, qs42_out_aa(T109, T114)) → U11_aa(T103, T104, X230, app57_in_aaaa(T113, T103, T114, X230))
app57_in_aaaa([], T127, T128, .(T127, T128)) → app57_out_aaaa([], T127, T128, .(T127, T128))
app57_in_aaaa(.(T137, T138), T139, T140, .(T137, X270)) → U12_aaaa(T137, T138, T139, T140, X270, app57_in_aaaa(T138, T139, T140, X270))
U12_aaaa(T137, T138, T139, T140, X270, app57_out_aaaa(T138, T139, T140, X270)) → app57_out_aaaa(.(T137, T138), T139, T140, .(T137, X270))
U11_aa(T103, T104, X230, app57_out_aaaa(T113, T103, T114, X230)) → qs42_out_aa(.(T103, T104), X230)
U25_aa(T191, T192, T193, T9, qs42_out_aa(T197, X14)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
U24_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U26_aa(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_aa(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_aa(T191, T192, T193, T9, p41_in_aaaaa(.(T192, T198), X15, T202, T191, T9))
p41_in_aaaaa(T46, X15, T95, T22, T9) → U14_aaaaa(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
U14_aaaaa(T46, X15, T95, T22, T9, qs42_out_aa(T46, X15)) → p41_out_aaaaa(T46, X15, T95, T22, T9)
p41_in_aaaaa(T46, T98, T95, T22, T9) → U15_aaaaa(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_aaaaa(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_aaaaa(T46, T98, T95, T22, T9, app43_in_aaaa(T95, T22, T98, T9))
app43_in_aaaa([], T157, T158, .(T157, T158)) → app43_out_aaaa([], T157, T158, .(T157, T158))
app43_in_aaaa(.(T169, T170), T171, T172, .(T169, T174)) → U13_aaaa(T169, T170, T171, T172, T174, app43_in_aaaa(T170, T171, T172, T174))
U13_aaaa(T169, T170, T171, T172, T174, app43_out_aaaa(T170, T171, T172, T174)) → app43_out_aaaa(.(T169, T170), T171, T172, .(T169, T174))
U16_aaaaa(T46, T98, T95, T22, T9, app43_out_aaaa(T95, T22, T98, T9)) → p41_out_aaaaa(T46, T98, T95, T22, T9)
U27_aa(T191, T192, T193, T9, p41_out_aaaaa(.(T192, T198), X15, T202, T191, T9)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
qs1_in_aa(.(T207, []), T9) → U28_aa(T207, T9, qs84_in_a(X14))
qs84_in_a([]) → qs84_out_a([])
U28_aa(T207, T9, qs84_out_a(X14)) → qs1_out_aa(.(T207, []), T9)
qs1_in_aa(.(T207, []), T9) → U29_aa(T207, T9, qs84_in_a(T210))
U29_aa(T207, T9, qs84_out_a(T210)) → U30_aa(T207, T9, qs84_in_a(X15))
U30_aa(T207, T9, qs84_out_a(X15)) → qs1_out_aa(.(T207, []), T9)
U29_aa(T207, T9, qs84_out_a(T210)) → U31_aa(T207, T9, T210, qs84_in_a(T213))
U31_aa(T207, T9, T210, qs84_out_a(T213)) → U32_aa(T207, T9, app43_in_gaga(T210, T207, T213, T9))
app43_in_gaga([], T157, T158, .(T157, T158)) → app43_out_gaga([], T157, T158, .(T157, T158))
app43_in_gaga(.(T169, T170), T171, T172, .(T169, T174)) → U13_gaga(T169, T170, T171, T172, T174, app43_in_gaga(T170, T171, T172, T174))
U13_gaga(T169, T170, T171, T172, T174, app43_out_gaga(T170, T171, T172, T174)) → app43_out_gaga(.(T169, T170), T171, T172, .(T169, T174))
U32_aa(T207, T9, app43_out_gaga(T210, T207, T213, T9)) → qs1_out_aa(.(T207, []), T9)
U20_aa(T22, T23, T24, T9, qs1_out_aa(.(T23, T45), X14)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U21_aa(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_aa(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_aa(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
p41_in_aaaga(T46, X15, T95, T22, T9) → U14_aaaga(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
U14_aaaga(T46, X15, T95, T22, T9, qs42_out_aa(T46, X15)) → p41_out_aaaga(T46, X15, T95, T22, T9)
p41_in_aaaga(T46, T98, T95, T22, T9) → U15_aaaga(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_aaaga(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_aaaga(T46, T98, T95, T22, T9, app43_in_agaa(T95, T22, T98, T9))
app43_in_agaa([], T157, T158, .(T157, T158)) → app43_out_agaa([], T157, T158, .(T157, T158))
app43_in_agaa(.(T169, T170), T171, T172, .(T169, T174)) → U13_agaa(T169, T170, T171, T172, T174, app43_in_agaa(T170, T171, T172, T174))
U13_agaa(T169, T170, T171, T172, T174, app43_out_agaa(T170, T171, T172, T174)) → app43_out_agaa(.(T169, T170), T171, T172, .(T169, T174))
U16_aaaga(T46, T98, T95, T22, T9, app43_out_agaa(T95, T22, T98, T9)) → p41_out_aaaga(T46, T98, T95, T22, T9)
U22_aa(T22, T23, T24, T9, p41_out_aaaga(T46, X15, T95, T22, T9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U20_ga(T22, T23, T24, T9, qs1_out_aa(.(T23, T45), X14)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U21_ga(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_ga(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_ga(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
U22_ga(T22, T23, T24, T9, p41_out_aaaga(T46, X15, T95, T22, T9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
qs1_in_ga(.(T191, .(T192, T193)), T9) → U23_ga(T191, T192, T193, T9, part24_in_ggaa(T191, T193, X336, X337))
U23_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, X336, X337)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
qs1_in_ga(.(T191, .(T192, T193)), T9) → U24_ga(T191, T192, T193, T9, part24_in_ggaa(T191, T193, T197, T198))
U24_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U25_ga(T191, T192, T193, T9, qs42_in_aa(T197, X14))
U25_ga(T191, T192, T193, T9, qs42_out_aa(T197, X14)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
U24_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U26_ga(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_ga(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_ga(T191, T192, T193, T9, p41_in_aaaga(.(T192, T198), X15, T202, T191, T9))
U27_ga(T191, T192, T193, T9, p41_out_aaaga(.(T192, T198), X15, T202, T191, T9)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
qs1_in_ga(.(T207, []), T9) → U28_ga(T207, T9, qs84_in_a(X14))
U28_ga(T207, T9, qs84_out_a(X14)) → qs1_out_ga(.(T207, []), T9)
qs1_in_ga(.(T207, []), T9) → U29_ga(T207, T9, qs84_in_a(T210))
U29_ga(T207, T9, qs84_out_a(T210)) → U30_ga(T207, T9, qs84_in_a(X15))
U30_ga(T207, T9, qs84_out_a(X15)) → qs1_out_ga(.(T207, []), T9)
U29_ga(T207, T9, qs84_out_a(T210)) → U31_ga(T207, T9, T210, qs84_in_a(T213))
U31_ga(T207, T9, T210, qs84_out_a(T213)) → U32_ga(T207, T9, app43_in_ggga(T210, T207, T213, T9))
app43_in_ggga([], T157, T158, .(T157, T158)) → app43_out_ggga([], T157, T158, .(T157, T158))
app43_in_ggga(.(T169, T170), T171, T172, .(T169, T174)) → U13_ggga(T169, T170, T171, T172, T174, app43_in_ggga(T170, T171, T172, T174))
U13_ggga(T169, T170, T171, T172, T174, app43_out_ggga(T170, T171, T172, T174)) → app43_out_ggga(.(T169, T170), T171, T172, .(T169, T174))
U32_ga(T207, T9, app43_out_ggga(T210, T207, T213, T9)) → qs1_out_ga(.(T207, []), T9)

The argument filtering Pi contains the following mapping:
qs1_in_ga(x1, x2)  =  qs1_in_ga(x1)
[]  =  []
qs1_out_ga(x1, x2)  =  qs1_out_ga
.(x1, x2)  =  .(x1, x2)
U17_ga(x1, x2, x3, x4, x5)  =  U17_ga(x1, x3, x5)
less14_in_gg(x1, x2)  =  less14_in_gg(x1, x2)
0  =  0
s(x1)  =  s(x1)
less14_out_gg(x1, x2)  =  less14_out_gg
U1_gg(x1, x2, x3)  =  U1_gg(x3)
U18_ga(x1, x2, x3, x4, x5)  =  U18_ga(x5)
part24_in_ggaa(x1, x2, x3, x4)  =  part24_in_ggaa(x1, x2)
U2_ggaa(x1, x2, x3, x4, x5, x6)  =  U2_ggaa(x1, x3, x6)
part24_out_ggaa(x1, x2, x3, x4)  =  part24_out_ggaa
U3_ggaa(x1, x2, x3, x4, x5, x6)  =  U3_ggaa(x6)
U4_ggaa(x1, x2, x3, x4, x5, x6)  =  U4_ggaa(x6)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x5)
U20_ga(x1, x2, x3, x4, x5)  =  U20_ga(x5)
qs1_in_aa(x1, x2)  =  qs1_in_aa
qs1_out_aa(x1, x2)  =  qs1_out_aa
U17_aa(x1, x2, x3, x4, x5)  =  U17_aa(x5)
less14_in_aa(x1, x2)  =  less14_in_aa
less14_out_aa(x1, x2)  =  less14_out_aa(x1)
U1_aa(x1, x2, x3)  =  U1_aa(x3)
U18_aa(x1, x2, x3, x4, x5)  =  U18_aa(x5)
part24_in_gaaa(x1, x2, x3, x4)  =  part24_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x1, x6)
less14_in_ga(x1, x2)  =  less14_in_ga(x1)
less14_out_ga(x1, x2)  =  less14_out_ga
U1_ga(x1, x2, x3)  =  U1_ga(x3)
part24_out_gaaa(x1, x2, x3, x4)  =  part24_out_gaaa
U3_gaaa(x1, x2, x3, x4, x5, x6)  =  U3_gaaa(x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x6)
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(x1, x5)
U20_aa(x1, x2, x3, x4, x5)  =  U20_aa(x5)
U23_aa(x1, x2, x3, x4, x5)  =  U23_aa(x5)
part24_in_aaaa(x1, x2, x3, x4)  =  part24_in_aaaa
U2_aaaa(x1, x2, x3, x4, x5, x6)  =  U2_aaaa(x6)
part24_out_aaaa(x1, x2, x3, x4)  =  part24_out_aaaa
U3_aaaa(x1, x2, x3, x4, x5, x6)  =  U3_aaaa(x6)
U4_aaaa(x1, x2, x3, x4, x5, x6)  =  U4_aaaa(x6)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
qs42_in_aa(x1, x2)  =  qs42_in_aa
qs42_out_aa(x1, x2)  =  qs42_out_aa
U5_aa(x1, x2, x3, x4)  =  U5_aa(x4)
U6_aa(x1, x2, x3, x4)  =  U6_aa(x4)
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
U8_aa(x1, x2, x3, x4, x5)  =  U8_aa(x5)
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)
app57_in_aaaa(x1, x2, x3, x4)  =  app57_in_aaaa
app57_out_aaaa(x1, x2, x3, x4)  =  app57_out_aaaa
U12_aaaa(x1, x2, x3, x4, x5, x6)  =  U12_aaaa(x6)
U26_aa(x1, x2, x3, x4, x5, x6)  =  U26_aa(x6)
U27_aa(x1, x2, x3, x4, x5)  =  U27_aa(x5)
p41_in_aaaaa(x1, x2, x3, x4, x5)  =  p41_in_aaaaa
U14_aaaaa(x1, x2, x3, x4, x5, x6)  =  U14_aaaaa(x6)
p41_out_aaaaa(x1, x2, x3, x4, x5)  =  p41_out_aaaaa
U15_aaaaa(x1, x2, x3, x4, x5, x6)  =  U15_aaaaa(x6)
U16_aaaaa(x1, x2, x3, x4, x5, x6)  =  U16_aaaaa(x6)
app43_in_aaaa(x1, x2, x3, x4)  =  app43_in_aaaa
app43_out_aaaa(x1, x2, x3, x4)  =  app43_out_aaaa
U13_aaaa(x1, x2, x3, x4, x5, x6)  =  U13_aaaa(x6)
U28_aa(x1, x2, x3)  =  U28_aa(x3)
qs84_in_a(x1)  =  qs84_in_a
qs84_out_a(x1)  =  qs84_out_a(x1)
U29_aa(x1, x2, x3)  =  U29_aa(x3)
U30_aa(x1, x2, x3)  =  U30_aa(x3)
U31_aa(x1, x2, x3, x4)  =  U31_aa(x3, x4)
U32_aa(x1, x2, x3)  =  U32_aa(x3)
app43_in_gaga(x1, x2, x3, x4)  =  app43_in_gaga(x1, x3)
app43_out_gaga(x1, x2, x3, x4)  =  app43_out_gaga
U13_gaga(x1, x2, x3, x4, x5, x6)  =  U13_gaga(x6)
U21_aa(x1, x2, x3, x4, x5, x6)  =  U21_aa(x1, x6)
U22_aa(x1, x2, x3, x4, x5)  =  U22_aa(x5)
p41_in_aaaga(x1, x2, x3, x4, x5)  =  p41_in_aaaga(x4)
U14_aaaga(x1, x2, x3, x4, x5, x6)  =  U14_aaaga(x6)
p41_out_aaaga(x1, x2, x3, x4, x5)  =  p41_out_aaaga
U15_aaaga(x1, x2, x3, x4, x5, x6)  =  U15_aaaga(x4, x6)
U16_aaaga(x1, x2, x3, x4, x5, x6)  =  U16_aaaga(x6)
app43_in_agaa(x1, x2, x3, x4)  =  app43_in_agaa(x2)
app43_out_agaa(x1, x2, x3, x4)  =  app43_out_agaa
U13_agaa(x1, x2, x3, x4, x5, x6)  =  U13_agaa(x6)
U21_ga(x1, x2, x3, x4, x5, x6)  =  U21_ga(x1, x6)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x5)
U23_ga(x1, x2, x3, x4, x5)  =  U23_ga(x5)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x1, x5)
U25_ga(x1, x2, x3, x4, x5)  =  U25_ga(x5)
U26_ga(x1, x2, x3, x4, x5, x6)  =  U26_ga(x1, x6)
U27_ga(x1, x2, x3, x4, x5)  =  U27_ga(x5)
U28_ga(x1, x2, x3)  =  U28_ga(x3)
U29_ga(x1, x2, x3)  =  U29_ga(x1, x3)
U30_ga(x1, x2, x3)  =  U30_ga(x3)
U31_ga(x1, x2, x3, x4)  =  U31_ga(x1, x3, x4)
U32_ga(x1, x2, x3)  =  U32_ga(x3)
app43_in_ggga(x1, x2, x3, x4)  =  app43_in_ggga(x1, x2, x3)
app43_out_ggga(x1, x2, x3, x4)  =  app43_out_ggga(x4)
U13_ggga(x1, x2, x3, x4, x5, x6)  =  U13_ggga(x1, x6)
LESS14_IN_GA(x1, x2)  =  LESS14_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:

LESS14_IN_GA(s(T38), s(T39)) → LESS14_IN_GA(T38, T39)

R is empty.
The argument filtering Pi contains the following mapping:
s(x1)  =  s(x1)
LESS14_IN_GA(x1, x2)  =  LESS14_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:

LESS14_IN_GA(s(T38)) → LESS14_IN_GA(T38)

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:

  • LESS14_IN_GA(s(T38)) → LESS14_IN_GA(T38)
    The graph contains the following edges 1 > 1

(50) YES

(51) Obligation:

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

U2_GAAA(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → PART24_IN_GAAA(T62, T64, X126, X127)
PART24_IN_GAAA(T62, .(T63, T64), .(T63, X126), X127) → U2_GAAA(T62, T63, T64, X126, X127, less14_in_ga(T62, T63))
PART24_IN_GAAA(T84, .(T85, T86), X177, .(T85, X178)) → PART24_IN_GAAA(T84, T86, X177, X178)

The TRS R consists of the following rules:

qs1_in_ga([], []) → qs1_out_ga([], [])
qs1_in_ga(.(T22, .(T23, T24)), T9) → U17_ga(T22, T23, T24, T9, less14_in_gg(T22, T23))
less14_in_gg(0, s(T33)) → less14_out_gg(0, s(T33))
less14_in_gg(s(T38), s(T39)) → U1_gg(T38, T39, less14_in_gg(T38, T39))
U1_gg(T38, T39, less14_out_gg(T38, T39)) → less14_out_gg(s(T38), s(T39))
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U18_ga(T22, T23, T24, T9, part24_in_ggaa(T22, T24, X52, X53))
part24_in_ggaa(T62, .(T63, T64), .(T63, X126), X127) → U2_ggaa(T62, T63, T64, X126, X127, less14_in_gg(T62, T63))
U2_ggaa(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → part24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
U2_ggaa(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → U3_ggaa(T62, T63, T64, X126, X127, part24_in_ggaa(T62, T64, X126, X127))
part24_in_ggaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_ggaa(T84, T85, T86, X177, X178, part24_in_ggaa(T84, T86, X177, X178))
part24_in_ggaa(T92, [], [], []) → part24_out_ggaa(T92, [], [], [])
U4_ggaa(T84, T85, T86, X177, X178, part24_out_ggaa(T84, T86, X177, X178)) → part24_out_ggaa(T84, .(T85, T86), X177, .(T85, X178))
U3_ggaa(T62, T63, T64, X126, X127, part24_out_ggaa(T62, T64, X126, X127)) → part24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
U18_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, X52, X53)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U19_ga(T22, T23, T24, T9, part24_in_ggaa(T22, T24, T45, T46))
U19_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U20_ga(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
qs1_in_aa([], []) → qs1_out_aa([], [])
qs1_in_aa(.(T22, .(T23, T24)), T9) → U17_aa(T22, T23, T24, T9, less14_in_aa(T22, T23))
less14_in_aa(0, s(T33)) → less14_out_aa(0, s(T33))
less14_in_aa(s(T38), s(T39)) → U1_aa(T38, T39, less14_in_aa(T38, T39))
U1_aa(T38, T39, less14_out_aa(T38, T39)) → less14_out_aa(s(T38), s(T39))
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U18_aa(T22, T23, T24, T9, part24_in_gaaa(T22, T24, X52, X53))
part24_in_gaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_gaaa(T62, T63, T64, X126, X127, less14_in_ga(T62, T63))
less14_in_ga(0, s(T33)) → less14_out_ga(0, s(T33))
less14_in_ga(s(T38), s(T39)) → U1_ga(T38, T39, less14_in_ga(T38, T39))
U1_ga(T38, T39, less14_out_ga(T38, T39)) → less14_out_ga(s(T38), s(T39))
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → U3_gaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
part24_in_gaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_gaaa(T84, T85, T86, X177, X178, part24_in_gaaa(T84, T86, X177, X178))
part24_in_gaaa(T92, [], [], []) → part24_out_gaaa(T92, [], [], [])
U4_gaaa(T84, T85, T86, X177, X178, part24_out_gaaa(T84, T86, X177, X178)) → part24_out_gaaa(T84, .(T85, T86), X177, .(T85, X178))
U3_gaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U18_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, X52, X53)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U19_aa(T22, T23, T24, T9, part24_in_gaaa(T22, T24, T45, T46))
U19_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U20_aa(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
qs1_in_aa(.(T191, .(T192, T193)), T9) → U23_aa(T191, T192, T193, T9, part24_in_aaaa(T191, T193, X336, X337))
part24_in_aaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_aaaa(T62, T63, T64, X126, X127, less14_in_aa(T62, T63))
U2_aaaa(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → part24_out_aaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_aaaa(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → U3_aaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
U3_aaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_aaaa(T62, .(T63, T64), .(T63, X126), X127)
part24_in_aaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_aaaa(T84, T85, T86, X177, X178, part24_in_aaaa(T84, T86, X177, X178))
part24_in_aaaa(T92, [], [], []) → part24_out_aaaa(T92, [], [], [])
U4_aaaa(T84, T85, T86, X177, X178, part24_out_aaaa(T84, T86, X177, X178)) → part24_out_aaaa(T84, .(T85, T86), X177, .(T85, X178))
U23_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, X336, X337)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
qs1_in_aa(.(T191, .(T192, T193)), T9) → U24_aa(T191, T192, T193, T9, part24_in_aaaa(T191, T193, T197, T198))
U24_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U25_aa(T191, T192, T193, T9, qs42_in_aa(T197, X14))
qs42_in_aa([], []) → qs42_out_aa([], [])
qs42_in_aa(.(T103, T104), X230) → U5_aa(T103, T104, X230, part24_in_aaaa(T103, T104, X226, X227))
U5_aa(T103, T104, X230, part24_out_aaaa(T103, T104, X226, X227)) → qs42_out_aa(.(T103, T104), X230)
qs42_in_aa(.(T103, T104), X230) → U6_aa(T103, T104, X230, part24_in_aaaa(T103, T104, T108, T109))
U6_aa(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U7_aa(T103, T104, X230, qs42_in_aa(T108, X228))
U7_aa(T103, T104, X230, qs42_out_aa(T108, X228)) → qs42_out_aa(.(T103, T104), X230)
U6_aa(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U8_aa(T103, T104, X230, T109, qs42_in_aa(T108, T113))
U8_aa(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U9_aa(T103, T104, X230, qs42_in_aa(T109, X229))
U9_aa(T103, T104, X230, qs42_out_aa(T109, X229)) → qs42_out_aa(.(T103, T104), X230)
U8_aa(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U10_aa(T103, T104, X230, T113, qs42_in_aa(T109, T114))
U10_aa(T103, T104, X230, T113, qs42_out_aa(T109, T114)) → U11_aa(T103, T104, X230, app57_in_aaaa(T113, T103, T114, X230))
app57_in_aaaa([], T127, T128, .(T127, T128)) → app57_out_aaaa([], T127, T128, .(T127, T128))
app57_in_aaaa(.(T137, T138), T139, T140, .(T137, X270)) → U12_aaaa(T137, T138, T139, T140, X270, app57_in_aaaa(T138, T139, T140, X270))
U12_aaaa(T137, T138, T139, T140, X270, app57_out_aaaa(T138, T139, T140, X270)) → app57_out_aaaa(.(T137, T138), T139, T140, .(T137, X270))
U11_aa(T103, T104, X230, app57_out_aaaa(T113, T103, T114, X230)) → qs42_out_aa(.(T103, T104), X230)
U25_aa(T191, T192, T193, T9, qs42_out_aa(T197, X14)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
U24_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U26_aa(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_aa(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_aa(T191, T192, T193, T9, p41_in_aaaaa(.(T192, T198), X15, T202, T191, T9))
p41_in_aaaaa(T46, X15, T95, T22, T9) → U14_aaaaa(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
U14_aaaaa(T46, X15, T95, T22, T9, qs42_out_aa(T46, X15)) → p41_out_aaaaa(T46, X15, T95, T22, T9)
p41_in_aaaaa(T46, T98, T95, T22, T9) → U15_aaaaa(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_aaaaa(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_aaaaa(T46, T98, T95, T22, T9, app43_in_aaaa(T95, T22, T98, T9))
app43_in_aaaa([], T157, T158, .(T157, T158)) → app43_out_aaaa([], T157, T158, .(T157, T158))
app43_in_aaaa(.(T169, T170), T171, T172, .(T169, T174)) → U13_aaaa(T169, T170, T171, T172, T174, app43_in_aaaa(T170, T171, T172, T174))
U13_aaaa(T169, T170, T171, T172, T174, app43_out_aaaa(T170, T171, T172, T174)) → app43_out_aaaa(.(T169, T170), T171, T172, .(T169, T174))
U16_aaaaa(T46, T98, T95, T22, T9, app43_out_aaaa(T95, T22, T98, T9)) → p41_out_aaaaa(T46, T98, T95, T22, T9)
U27_aa(T191, T192, T193, T9, p41_out_aaaaa(.(T192, T198), X15, T202, T191, T9)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
qs1_in_aa(.(T207, []), T9) → U28_aa(T207, T9, qs84_in_a(X14))
qs84_in_a([]) → qs84_out_a([])
U28_aa(T207, T9, qs84_out_a(X14)) → qs1_out_aa(.(T207, []), T9)
qs1_in_aa(.(T207, []), T9) → U29_aa(T207, T9, qs84_in_a(T210))
U29_aa(T207, T9, qs84_out_a(T210)) → U30_aa(T207, T9, qs84_in_a(X15))
U30_aa(T207, T9, qs84_out_a(X15)) → qs1_out_aa(.(T207, []), T9)
U29_aa(T207, T9, qs84_out_a(T210)) → U31_aa(T207, T9, T210, qs84_in_a(T213))
U31_aa(T207, T9, T210, qs84_out_a(T213)) → U32_aa(T207, T9, app43_in_gaga(T210, T207, T213, T9))
app43_in_gaga([], T157, T158, .(T157, T158)) → app43_out_gaga([], T157, T158, .(T157, T158))
app43_in_gaga(.(T169, T170), T171, T172, .(T169, T174)) → U13_gaga(T169, T170, T171, T172, T174, app43_in_gaga(T170, T171, T172, T174))
U13_gaga(T169, T170, T171, T172, T174, app43_out_gaga(T170, T171, T172, T174)) → app43_out_gaga(.(T169, T170), T171, T172, .(T169, T174))
U32_aa(T207, T9, app43_out_gaga(T210, T207, T213, T9)) → qs1_out_aa(.(T207, []), T9)
U20_aa(T22, T23, T24, T9, qs1_out_aa(.(T23, T45), X14)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U21_aa(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_aa(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_aa(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
p41_in_aaaga(T46, X15, T95, T22, T9) → U14_aaaga(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
U14_aaaga(T46, X15, T95, T22, T9, qs42_out_aa(T46, X15)) → p41_out_aaaga(T46, X15, T95, T22, T9)
p41_in_aaaga(T46, T98, T95, T22, T9) → U15_aaaga(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_aaaga(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_aaaga(T46, T98, T95, T22, T9, app43_in_agaa(T95, T22, T98, T9))
app43_in_agaa([], T157, T158, .(T157, T158)) → app43_out_agaa([], T157, T158, .(T157, T158))
app43_in_agaa(.(T169, T170), T171, T172, .(T169, T174)) → U13_agaa(T169, T170, T171, T172, T174, app43_in_agaa(T170, T171, T172, T174))
U13_agaa(T169, T170, T171, T172, T174, app43_out_agaa(T170, T171, T172, T174)) → app43_out_agaa(.(T169, T170), T171, T172, .(T169, T174))
U16_aaaga(T46, T98, T95, T22, T9, app43_out_agaa(T95, T22, T98, T9)) → p41_out_aaaga(T46, T98, T95, T22, T9)
U22_aa(T22, T23, T24, T9, p41_out_aaaga(T46, X15, T95, T22, T9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U20_ga(T22, T23, T24, T9, qs1_out_aa(.(T23, T45), X14)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U21_ga(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_ga(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_ga(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
U22_ga(T22, T23, T24, T9, p41_out_aaaga(T46, X15, T95, T22, T9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
qs1_in_ga(.(T191, .(T192, T193)), T9) → U23_ga(T191, T192, T193, T9, part24_in_ggaa(T191, T193, X336, X337))
U23_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, X336, X337)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
qs1_in_ga(.(T191, .(T192, T193)), T9) → U24_ga(T191, T192, T193, T9, part24_in_ggaa(T191, T193, T197, T198))
U24_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U25_ga(T191, T192, T193, T9, qs42_in_aa(T197, X14))
U25_ga(T191, T192, T193, T9, qs42_out_aa(T197, X14)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
U24_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U26_ga(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_ga(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_ga(T191, T192, T193, T9, p41_in_aaaga(.(T192, T198), X15, T202, T191, T9))
U27_ga(T191, T192, T193, T9, p41_out_aaaga(.(T192, T198), X15, T202, T191, T9)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
qs1_in_ga(.(T207, []), T9) → U28_ga(T207, T9, qs84_in_a(X14))
U28_ga(T207, T9, qs84_out_a(X14)) → qs1_out_ga(.(T207, []), T9)
qs1_in_ga(.(T207, []), T9) → U29_ga(T207, T9, qs84_in_a(T210))
U29_ga(T207, T9, qs84_out_a(T210)) → U30_ga(T207, T9, qs84_in_a(X15))
U30_ga(T207, T9, qs84_out_a(X15)) → qs1_out_ga(.(T207, []), T9)
U29_ga(T207, T9, qs84_out_a(T210)) → U31_ga(T207, T9, T210, qs84_in_a(T213))
U31_ga(T207, T9, T210, qs84_out_a(T213)) → U32_ga(T207, T9, app43_in_ggga(T210, T207, T213, T9))
app43_in_ggga([], T157, T158, .(T157, T158)) → app43_out_ggga([], T157, T158, .(T157, T158))
app43_in_ggga(.(T169, T170), T171, T172, .(T169, T174)) → U13_ggga(T169, T170, T171, T172, T174, app43_in_ggga(T170, T171, T172, T174))
U13_ggga(T169, T170, T171, T172, T174, app43_out_ggga(T170, T171, T172, T174)) → app43_out_ggga(.(T169, T170), T171, T172, .(T169, T174))
U32_ga(T207, T9, app43_out_ggga(T210, T207, T213, T9)) → qs1_out_ga(.(T207, []), T9)

The argument filtering Pi contains the following mapping:
qs1_in_ga(x1, x2)  =  qs1_in_ga(x1)
[]  =  []
qs1_out_ga(x1, x2)  =  qs1_out_ga
.(x1, x2)  =  .(x1, x2)
U17_ga(x1, x2, x3, x4, x5)  =  U17_ga(x1, x3, x5)
less14_in_gg(x1, x2)  =  less14_in_gg(x1, x2)
0  =  0
s(x1)  =  s(x1)
less14_out_gg(x1, x2)  =  less14_out_gg
U1_gg(x1, x2, x3)  =  U1_gg(x3)
U18_ga(x1, x2, x3, x4, x5)  =  U18_ga(x5)
part24_in_ggaa(x1, x2, x3, x4)  =  part24_in_ggaa(x1, x2)
U2_ggaa(x1, x2, x3, x4, x5, x6)  =  U2_ggaa(x1, x3, x6)
part24_out_ggaa(x1, x2, x3, x4)  =  part24_out_ggaa
U3_ggaa(x1, x2, x3, x4, x5, x6)  =  U3_ggaa(x6)
U4_ggaa(x1, x2, x3, x4, x5, x6)  =  U4_ggaa(x6)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x5)
U20_ga(x1, x2, x3, x4, x5)  =  U20_ga(x5)
qs1_in_aa(x1, x2)  =  qs1_in_aa
qs1_out_aa(x1, x2)  =  qs1_out_aa
U17_aa(x1, x2, x3, x4, x5)  =  U17_aa(x5)
less14_in_aa(x1, x2)  =  less14_in_aa
less14_out_aa(x1, x2)  =  less14_out_aa(x1)
U1_aa(x1, x2, x3)  =  U1_aa(x3)
U18_aa(x1, x2, x3, x4, x5)  =  U18_aa(x5)
part24_in_gaaa(x1, x2, x3, x4)  =  part24_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x1, x6)
less14_in_ga(x1, x2)  =  less14_in_ga(x1)
less14_out_ga(x1, x2)  =  less14_out_ga
U1_ga(x1, x2, x3)  =  U1_ga(x3)
part24_out_gaaa(x1, x2, x3, x4)  =  part24_out_gaaa
U3_gaaa(x1, x2, x3, x4, x5, x6)  =  U3_gaaa(x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x6)
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(x1, x5)
U20_aa(x1, x2, x3, x4, x5)  =  U20_aa(x5)
U23_aa(x1, x2, x3, x4, x5)  =  U23_aa(x5)
part24_in_aaaa(x1, x2, x3, x4)  =  part24_in_aaaa
U2_aaaa(x1, x2, x3, x4, x5, x6)  =  U2_aaaa(x6)
part24_out_aaaa(x1, x2, x3, x4)  =  part24_out_aaaa
U3_aaaa(x1, x2, x3, x4, x5, x6)  =  U3_aaaa(x6)
U4_aaaa(x1, x2, x3, x4, x5, x6)  =  U4_aaaa(x6)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
qs42_in_aa(x1, x2)  =  qs42_in_aa
qs42_out_aa(x1, x2)  =  qs42_out_aa
U5_aa(x1, x2, x3, x4)  =  U5_aa(x4)
U6_aa(x1, x2, x3, x4)  =  U6_aa(x4)
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
U8_aa(x1, x2, x3, x4, x5)  =  U8_aa(x5)
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)
app57_in_aaaa(x1, x2, x3, x4)  =  app57_in_aaaa
app57_out_aaaa(x1, x2, x3, x4)  =  app57_out_aaaa
U12_aaaa(x1, x2, x3, x4, x5, x6)  =  U12_aaaa(x6)
U26_aa(x1, x2, x3, x4, x5, x6)  =  U26_aa(x6)
U27_aa(x1, x2, x3, x4, x5)  =  U27_aa(x5)
p41_in_aaaaa(x1, x2, x3, x4, x5)  =  p41_in_aaaaa
U14_aaaaa(x1, x2, x3, x4, x5, x6)  =  U14_aaaaa(x6)
p41_out_aaaaa(x1, x2, x3, x4, x5)  =  p41_out_aaaaa
U15_aaaaa(x1, x2, x3, x4, x5, x6)  =  U15_aaaaa(x6)
U16_aaaaa(x1, x2, x3, x4, x5, x6)  =  U16_aaaaa(x6)
app43_in_aaaa(x1, x2, x3, x4)  =  app43_in_aaaa
app43_out_aaaa(x1, x2, x3, x4)  =  app43_out_aaaa
U13_aaaa(x1, x2, x3, x4, x5, x6)  =  U13_aaaa(x6)
U28_aa(x1, x2, x3)  =  U28_aa(x3)
qs84_in_a(x1)  =  qs84_in_a
qs84_out_a(x1)  =  qs84_out_a(x1)
U29_aa(x1, x2, x3)  =  U29_aa(x3)
U30_aa(x1, x2, x3)  =  U30_aa(x3)
U31_aa(x1, x2, x3, x4)  =  U31_aa(x3, x4)
U32_aa(x1, x2, x3)  =  U32_aa(x3)
app43_in_gaga(x1, x2, x3, x4)  =  app43_in_gaga(x1, x3)
app43_out_gaga(x1, x2, x3, x4)  =  app43_out_gaga
U13_gaga(x1, x2, x3, x4, x5, x6)  =  U13_gaga(x6)
U21_aa(x1, x2, x3, x4, x5, x6)  =  U21_aa(x1, x6)
U22_aa(x1, x2, x3, x4, x5)  =  U22_aa(x5)
p41_in_aaaga(x1, x2, x3, x4, x5)  =  p41_in_aaaga(x4)
U14_aaaga(x1, x2, x3, x4, x5, x6)  =  U14_aaaga(x6)
p41_out_aaaga(x1, x2, x3, x4, x5)  =  p41_out_aaaga
U15_aaaga(x1, x2, x3, x4, x5, x6)  =  U15_aaaga(x4, x6)
U16_aaaga(x1, x2, x3, x4, x5, x6)  =  U16_aaaga(x6)
app43_in_agaa(x1, x2, x3, x4)  =  app43_in_agaa(x2)
app43_out_agaa(x1, x2, x3, x4)  =  app43_out_agaa
U13_agaa(x1, x2, x3, x4, x5, x6)  =  U13_agaa(x6)
U21_ga(x1, x2, x3, x4, x5, x6)  =  U21_ga(x1, x6)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x5)
U23_ga(x1, x2, x3, x4, x5)  =  U23_ga(x5)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x1, x5)
U25_ga(x1, x2, x3, x4, x5)  =  U25_ga(x5)
U26_ga(x1, x2, x3, x4, x5, x6)  =  U26_ga(x1, x6)
U27_ga(x1, x2, x3, x4, x5)  =  U27_ga(x5)
U28_ga(x1, x2, x3)  =  U28_ga(x3)
U29_ga(x1, x2, x3)  =  U29_ga(x1, x3)
U30_ga(x1, x2, x3)  =  U30_ga(x3)
U31_ga(x1, x2, x3, x4)  =  U31_ga(x1, x3, x4)
U32_ga(x1, x2, x3)  =  U32_ga(x3)
app43_in_ggga(x1, x2, x3, x4)  =  app43_in_ggga(x1, x2, x3)
app43_out_ggga(x1, x2, x3, x4)  =  app43_out_ggga(x4)
U13_ggga(x1, x2, x3, x4, x5, x6)  =  U13_ggga(x1, x6)
PART24_IN_GAAA(x1, x2, x3, x4)  =  PART24_IN_GAAA(x1)
U2_GAAA(x1, x2, x3, x4, x5, x6)  =  U2_GAAA(x1, x6)

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:

U2_GAAA(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → PART24_IN_GAAA(T62, T64, X126, X127)
PART24_IN_GAAA(T62, .(T63, T64), .(T63, X126), X127) → U2_GAAA(T62, T63, T64, X126, X127, less14_in_ga(T62, T63))
PART24_IN_GAAA(T84, .(T85, T86), X177, .(T85, X178)) → PART24_IN_GAAA(T84, T86, X177, X178)

The TRS R consists of the following rules:

less14_in_ga(0, s(T33)) → less14_out_ga(0, s(T33))
less14_in_ga(s(T38), s(T39)) → U1_ga(T38, T39, less14_in_ga(T38, T39))
U1_ga(T38, T39, less14_out_ga(T38, T39)) → less14_out_ga(s(T38), s(T39))

The argument filtering Pi contains the following mapping:
.(x1, x2)  =  .(x1, x2)
0  =  0
s(x1)  =  s(x1)
less14_in_ga(x1, x2)  =  less14_in_ga(x1)
less14_out_ga(x1, x2)  =  less14_out_ga
U1_ga(x1, x2, x3)  =  U1_ga(x3)
PART24_IN_GAAA(x1, x2, x3, x4)  =  PART24_IN_GAAA(x1)
U2_GAAA(x1, x2, x3, x4, x5, x6)  =  U2_GAAA(x1, x6)

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:

U2_GAAA(T62, less14_out_ga) → PART24_IN_GAAA(T62)
PART24_IN_GAAA(T62) → U2_GAAA(T62, less14_in_ga(T62))
PART24_IN_GAAA(T84) → PART24_IN_GAAA(T84)

The TRS R consists of the following rules:

less14_in_ga(0) → less14_out_ga
less14_in_ga(s(T38)) → U1_ga(less14_in_ga(T38))
U1_ga(less14_out_ga) → less14_out_ga

The set Q consists of the following terms:

less14_in_ga(x0)
U1_ga(x0)

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

(56) Narrowing (SOUND transformation)

By narrowing [LPAR04] the rule PART24_IN_GAAA(T62) → U2_GAAA(T62, less14_in_ga(T62)) at position [1] we obtained the following new rules [LPAR04]:

PART24_IN_GAAA(0) → U2_GAAA(0, less14_out_ga)
PART24_IN_GAAA(s(x0)) → U2_GAAA(s(x0), U1_ga(less14_in_ga(x0)))

(57) Obligation:

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

U2_GAAA(T62, less14_out_ga) → PART24_IN_GAAA(T62)
PART24_IN_GAAA(T84) → PART24_IN_GAAA(T84)
PART24_IN_GAAA(0) → U2_GAAA(0, less14_out_ga)
PART24_IN_GAAA(s(x0)) → U2_GAAA(s(x0), U1_ga(less14_in_ga(x0)))

The TRS R consists of the following rules:

less14_in_ga(0) → less14_out_ga
less14_in_ga(s(T38)) → U1_ga(less14_in_ga(T38))
U1_ga(less14_out_ga) → less14_out_ga

The set Q consists of the following terms:

less14_in_ga(x0)
U1_ga(x0)

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

(58) Instantiation (EQUIVALENT transformation)

By instantiating [LPAR04] the rule U2_GAAA(T62, less14_out_ga) → PART24_IN_GAAA(T62) we obtained the following new rules [LPAR04]:

U2_GAAA(0, less14_out_ga) → PART24_IN_GAAA(0)
U2_GAAA(s(z0), less14_out_ga) → PART24_IN_GAAA(s(z0))

(59) Obligation:

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

PART24_IN_GAAA(T84) → PART24_IN_GAAA(T84)
PART24_IN_GAAA(0) → U2_GAAA(0, less14_out_ga)
PART24_IN_GAAA(s(x0)) → U2_GAAA(s(x0), U1_ga(less14_in_ga(x0)))
U2_GAAA(0, less14_out_ga) → PART24_IN_GAAA(0)
U2_GAAA(s(z0), less14_out_ga) → PART24_IN_GAAA(s(z0))

The TRS R consists of the following rules:

less14_in_ga(0) → less14_out_ga
less14_in_ga(s(T38)) → U1_ga(less14_in_ga(T38))
U1_ga(less14_out_ga) → less14_out_ga

The set Q consists of the following terms:

less14_in_ga(x0)
U1_ga(x0)

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

(60) 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 = PART24_IN_GAAA(T84) evaluates to t =PART24_IN_GAAA(T84)

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 PART24_IN_GAAA(T84) to PART24_IN_GAAA(T84).



(61) NO

(62) Obligation:

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

LESS14_IN_AA(s(T38), s(T39)) → LESS14_IN_AA(T38, T39)

The TRS R consists of the following rules:

qs1_in_ga([], []) → qs1_out_ga([], [])
qs1_in_ga(.(T22, .(T23, T24)), T9) → U17_ga(T22, T23, T24, T9, less14_in_gg(T22, T23))
less14_in_gg(0, s(T33)) → less14_out_gg(0, s(T33))
less14_in_gg(s(T38), s(T39)) → U1_gg(T38, T39, less14_in_gg(T38, T39))
U1_gg(T38, T39, less14_out_gg(T38, T39)) → less14_out_gg(s(T38), s(T39))
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U18_ga(T22, T23, T24, T9, part24_in_ggaa(T22, T24, X52, X53))
part24_in_ggaa(T62, .(T63, T64), .(T63, X126), X127) → U2_ggaa(T62, T63, T64, X126, X127, less14_in_gg(T62, T63))
U2_ggaa(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → part24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
U2_ggaa(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → U3_ggaa(T62, T63, T64, X126, X127, part24_in_ggaa(T62, T64, X126, X127))
part24_in_ggaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_ggaa(T84, T85, T86, X177, X178, part24_in_ggaa(T84, T86, X177, X178))
part24_in_ggaa(T92, [], [], []) → part24_out_ggaa(T92, [], [], [])
U4_ggaa(T84, T85, T86, X177, X178, part24_out_ggaa(T84, T86, X177, X178)) → part24_out_ggaa(T84, .(T85, T86), X177, .(T85, X178))
U3_ggaa(T62, T63, T64, X126, X127, part24_out_ggaa(T62, T64, X126, X127)) → part24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
U18_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, X52, X53)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U19_ga(T22, T23, T24, T9, part24_in_ggaa(T22, T24, T45, T46))
U19_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U20_ga(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
qs1_in_aa([], []) → qs1_out_aa([], [])
qs1_in_aa(.(T22, .(T23, T24)), T9) → U17_aa(T22, T23, T24, T9, less14_in_aa(T22, T23))
less14_in_aa(0, s(T33)) → less14_out_aa(0, s(T33))
less14_in_aa(s(T38), s(T39)) → U1_aa(T38, T39, less14_in_aa(T38, T39))
U1_aa(T38, T39, less14_out_aa(T38, T39)) → less14_out_aa(s(T38), s(T39))
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U18_aa(T22, T23, T24, T9, part24_in_gaaa(T22, T24, X52, X53))
part24_in_gaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_gaaa(T62, T63, T64, X126, X127, less14_in_ga(T62, T63))
less14_in_ga(0, s(T33)) → less14_out_ga(0, s(T33))
less14_in_ga(s(T38), s(T39)) → U1_ga(T38, T39, less14_in_ga(T38, T39))
U1_ga(T38, T39, less14_out_ga(T38, T39)) → less14_out_ga(s(T38), s(T39))
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → U3_gaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
part24_in_gaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_gaaa(T84, T85, T86, X177, X178, part24_in_gaaa(T84, T86, X177, X178))
part24_in_gaaa(T92, [], [], []) → part24_out_gaaa(T92, [], [], [])
U4_gaaa(T84, T85, T86, X177, X178, part24_out_gaaa(T84, T86, X177, X178)) → part24_out_gaaa(T84, .(T85, T86), X177, .(T85, X178))
U3_gaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U18_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, X52, X53)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U19_aa(T22, T23, T24, T9, part24_in_gaaa(T22, T24, T45, T46))
U19_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U20_aa(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
qs1_in_aa(.(T191, .(T192, T193)), T9) → U23_aa(T191, T192, T193, T9, part24_in_aaaa(T191, T193, X336, X337))
part24_in_aaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_aaaa(T62, T63, T64, X126, X127, less14_in_aa(T62, T63))
U2_aaaa(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → part24_out_aaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_aaaa(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → U3_aaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
U3_aaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_aaaa(T62, .(T63, T64), .(T63, X126), X127)
part24_in_aaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_aaaa(T84, T85, T86, X177, X178, part24_in_aaaa(T84, T86, X177, X178))
part24_in_aaaa(T92, [], [], []) → part24_out_aaaa(T92, [], [], [])
U4_aaaa(T84, T85, T86, X177, X178, part24_out_aaaa(T84, T86, X177, X178)) → part24_out_aaaa(T84, .(T85, T86), X177, .(T85, X178))
U23_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, X336, X337)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
qs1_in_aa(.(T191, .(T192, T193)), T9) → U24_aa(T191, T192, T193, T9, part24_in_aaaa(T191, T193, T197, T198))
U24_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U25_aa(T191, T192, T193, T9, qs42_in_aa(T197, X14))
qs42_in_aa([], []) → qs42_out_aa([], [])
qs42_in_aa(.(T103, T104), X230) → U5_aa(T103, T104, X230, part24_in_aaaa(T103, T104, X226, X227))
U5_aa(T103, T104, X230, part24_out_aaaa(T103, T104, X226, X227)) → qs42_out_aa(.(T103, T104), X230)
qs42_in_aa(.(T103, T104), X230) → U6_aa(T103, T104, X230, part24_in_aaaa(T103, T104, T108, T109))
U6_aa(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U7_aa(T103, T104, X230, qs42_in_aa(T108, X228))
U7_aa(T103, T104, X230, qs42_out_aa(T108, X228)) → qs42_out_aa(.(T103, T104), X230)
U6_aa(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U8_aa(T103, T104, X230, T109, qs42_in_aa(T108, T113))
U8_aa(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U9_aa(T103, T104, X230, qs42_in_aa(T109, X229))
U9_aa(T103, T104, X230, qs42_out_aa(T109, X229)) → qs42_out_aa(.(T103, T104), X230)
U8_aa(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U10_aa(T103, T104, X230, T113, qs42_in_aa(T109, T114))
U10_aa(T103, T104, X230, T113, qs42_out_aa(T109, T114)) → U11_aa(T103, T104, X230, app57_in_aaaa(T113, T103, T114, X230))
app57_in_aaaa([], T127, T128, .(T127, T128)) → app57_out_aaaa([], T127, T128, .(T127, T128))
app57_in_aaaa(.(T137, T138), T139, T140, .(T137, X270)) → U12_aaaa(T137, T138, T139, T140, X270, app57_in_aaaa(T138, T139, T140, X270))
U12_aaaa(T137, T138, T139, T140, X270, app57_out_aaaa(T138, T139, T140, X270)) → app57_out_aaaa(.(T137, T138), T139, T140, .(T137, X270))
U11_aa(T103, T104, X230, app57_out_aaaa(T113, T103, T114, X230)) → qs42_out_aa(.(T103, T104), X230)
U25_aa(T191, T192, T193, T9, qs42_out_aa(T197, X14)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
U24_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U26_aa(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_aa(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_aa(T191, T192, T193, T9, p41_in_aaaaa(.(T192, T198), X15, T202, T191, T9))
p41_in_aaaaa(T46, X15, T95, T22, T9) → U14_aaaaa(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
U14_aaaaa(T46, X15, T95, T22, T9, qs42_out_aa(T46, X15)) → p41_out_aaaaa(T46, X15, T95, T22, T9)
p41_in_aaaaa(T46, T98, T95, T22, T9) → U15_aaaaa(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_aaaaa(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_aaaaa(T46, T98, T95, T22, T9, app43_in_aaaa(T95, T22, T98, T9))
app43_in_aaaa([], T157, T158, .(T157, T158)) → app43_out_aaaa([], T157, T158, .(T157, T158))
app43_in_aaaa(.(T169, T170), T171, T172, .(T169, T174)) → U13_aaaa(T169, T170, T171, T172, T174, app43_in_aaaa(T170, T171, T172, T174))
U13_aaaa(T169, T170, T171, T172, T174, app43_out_aaaa(T170, T171, T172, T174)) → app43_out_aaaa(.(T169, T170), T171, T172, .(T169, T174))
U16_aaaaa(T46, T98, T95, T22, T9, app43_out_aaaa(T95, T22, T98, T9)) → p41_out_aaaaa(T46, T98, T95, T22, T9)
U27_aa(T191, T192, T193, T9, p41_out_aaaaa(.(T192, T198), X15, T202, T191, T9)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
qs1_in_aa(.(T207, []), T9) → U28_aa(T207, T9, qs84_in_a(X14))
qs84_in_a([]) → qs84_out_a([])
U28_aa(T207, T9, qs84_out_a(X14)) → qs1_out_aa(.(T207, []), T9)
qs1_in_aa(.(T207, []), T9) → U29_aa(T207, T9, qs84_in_a(T210))
U29_aa(T207, T9, qs84_out_a(T210)) → U30_aa(T207, T9, qs84_in_a(X15))
U30_aa(T207, T9, qs84_out_a(X15)) → qs1_out_aa(.(T207, []), T9)
U29_aa(T207, T9, qs84_out_a(T210)) → U31_aa(T207, T9, T210, qs84_in_a(T213))
U31_aa(T207, T9, T210, qs84_out_a(T213)) → U32_aa(T207, T9, app43_in_gaga(T210, T207, T213, T9))
app43_in_gaga([], T157, T158, .(T157, T158)) → app43_out_gaga([], T157, T158, .(T157, T158))
app43_in_gaga(.(T169, T170), T171, T172, .(T169, T174)) → U13_gaga(T169, T170, T171, T172, T174, app43_in_gaga(T170, T171, T172, T174))
U13_gaga(T169, T170, T171, T172, T174, app43_out_gaga(T170, T171, T172, T174)) → app43_out_gaga(.(T169, T170), T171, T172, .(T169, T174))
U32_aa(T207, T9, app43_out_gaga(T210, T207, T213, T9)) → qs1_out_aa(.(T207, []), T9)
U20_aa(T22, T23, T24, T9, qs1_out_aa(.(T23, T45), X14)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U21_aa(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_aa(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_aa(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
p41_in_aaaga(T46, X15, T95, T22, T9) → U14_aaaga(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
U14_aaaga(T46, X15, T95, T22, T9, qs42_out_aa(T46, X15)) → p41_out_aaaga(T46, X15, T95, T22, T9)
p41_in_aaaga(T46, T98, T95, T22, T9) → U15_aaaga(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_aaaga(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_aaaga(T46, T98, T95, T22, T9, app43_in_agaa(T95, T22, T98, T9))
app43_in_agaa([], T157, T158, .(T157, T158)) → app43_out_agaa([], T157, T158, .(T157, T158))
app43_in_agaa(.(T169, T170), T171, T172, .(T169, T174)) → U13_agaa(T169, T170, T171, T172, T174, app43_in_agaa(T170, T171, T172, T174))
U13_agaa(T169, T170, T171, T172, T174, app43_out_agaa(T170, T171, T172, T174)) → app43_out_agaa(.(T169, T170), T171, T172, .(T169, T174))
U16_aaaga(T46, T98, T95, T22, T9, app43_out_agaa(T95, T22, T98, T9)) → p41_out_aaaga(T46, T98, T95, T22, T9)
U22_aa(T22, T23, T24, T9, p41_out_aaaga(T46, X15, T95, T22, T9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U20_ga(T22, T23, T24, T9, qs1_out_aa(.(T23, T45), X14)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U21_ga(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_ga(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_ga(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
U22_ga(T22, T23, T24, T9, p41_out_aaaga(T46, X15, T95, T22, T9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
qs1_in_ga(.(T191, .(T192, T193)), T9) → U23_ga(T191, T192, T193, T9, part24_in_ggaa(T191, T193, X336, X337))
U23_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, X336, X337)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
qs1_in_ga(.(T191, .(T192, T193)), T9) → U24_ga(T191, T192, T193, T9, part24_in_ggaa(T191, T193, T197, T198))
U24_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U25_ga(T191, T192, T193, T9, qs42_in_aa(T197, X14))
U25_ga(T191, T192, T193, T9, qs42_out_aa(T197, X14)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
U24_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U26_ga(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_ga(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_ga(T191, T192, T193, T9, p41_in_aaaga(.(T192, T198), X15, T202, T191, T9))
U27_ga(T191, T192, T193, T9, p41_out_aaaga(.(T192, T198), X15, T202, T191, T9)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
qs1_in_ga(.(T207, []), T9) → U28_ga(T207, T9, qs84_in_a(X14))
U28_ga(T207, T9, qs84_out_a(X14)) → qs1_out_ga(.(T207, []), T9)
qs1_in_ga(.(T207, []), T9) → U29_ga(T207, T9, qs84_in_a(T210))
U29_ga(T207, T9, qs84_out_a(T210)) → U30_ga(T207, T9, qs84_in_a(X15))
U30_ga(T207, T9, qs84_out_a(X15)) → qs1_out_ga(.(T207, []), T9)
U29_ga(T207, T9, qs84_out_a(T210)) → U31_ga(T207, T9, T210, qs84_in_a(T213))
U31_ga(T207, T9, T210, qs84_out_a(T213)) → U32_ga(T207, T9, app43_in_ggga(T210, T207, T213, T9))
app43_in_ggga([], T157, T158, .(T157, T158)) → app43_out_ggga([], T157, T158, .(T157, T158))
app43_in_ggga(.(T169, T170), T171, T172, .(T169, T174)) → U13_ggga(T169, T170, T171, T172, T174, app43_in_ggga(T170, T171, T172, T174))
U13_ggga(T169, T170, T171, T172, T174, app43_out_ggga(T170, T171, T172, T174)) → app43_out_ggga(.(T169, T170), T171, T172, .(T169, T174))
U32_ga(T207, T9, app43_out_ggga(T210, T207, T213, T9)) → qs1_out_ga(.(T207, []), T9)

The argument filtering Pi contains the following mapping:
qs1_in_ga(x1, x2)  =  qs1_in_ga(x1)
[]  =  []
qs1_out_ga(x1, x2)  =  qs1_out_ga
.(x1, x2)  =  .(x1, x2)
U17_ga(x1, x2, x3, x4, x5)  =  U17_ga(x1, x3, x5)
less14_in_gg(x1, x2)  =  less14_in_gg(x1, x2)
0  =  0
s(x1)  =  s(x1)
less14_out_gg(x1, x2)  =  less14_out_gg
U1_gg(x1, x2, x3)  =  U1_gg(x3)
U18_ga(x1, x2, x3, x4, x5)  =  U18_ga(x5)
part24_in_ggaa(x1, x2, x3, x4)  =  part24_in_ggaa(x1, x2)
U2_ggaa(x1, x2, x3, x4, x5, x6)  =  U2_ggaa(x1, x3, x6)
part24_out_ggaa(x1, x2, x3, x4)  =  part24_out_ggaa
U3_ggaa(x1, x2, x3, x4, x5, x6)  =  U3_ggaa(x6)
U4_ggaa(x1, x2, x3, x4, x5, x6)  =  U4_ggaa(x6)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x5)
U20_ga(x1, x2, x3, x4, x5)  =  U20_ga(x5)
qs1_in_aa(x1, x2)  =  qs1_in_aa
qs1_out_aa(x1, x2)  =  qs1_out_aa
U17_aa(x1, x2, x3, x4, x5)  =  U17_aa(x5)
less14_in_aa(x1, x2)  =  less14_in_aa
less14_out_aa(x1, x2)  =  less14_out_aa(x1)
U1_aa(x1, x2, x3)  =  U1_aa(x3)
U18_aa(x1, x2, x3, x4, x5)  =  U18_aa(x5)
part24_in_gaaa(x1, x2, x3, x4)  =  part24_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x1, x6)
less14_in_ga(x1, x2)  =  less14_in_ga(x1)
less14_out_ga(x1, x2)  =  less14_out_ga
U1_ga(x1, x2, x3)  =  U1_ga(x3)
part24_out_gaaa(x1, x2, x3, x4)  =  part24_out_gaaa
U3_gaaa(x1, x2, x3, x4, x5, x6)  =  U3_gaaa(x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x6)
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(x1, x5)
U20_aa(x1, x2, x3, x4, x5)  =  U20_aa(x5)
U23_aa(x1, x2, x3, x4, x5)  =  U23_aa(x5)
part24_in_aaaa(x1, x2, x3, x4)  =  part24_in_aaaa
U2_aaaa(x1, x2, x3, x4, x5, x6)  =  U2_aaaa(x6)
part24_out_aaaa(x1, x2, x3, x4)  =  part24_out_aaaa
U3_aaaa(x1, x2, x3, x4, x5, x6)  =  U3_aaaa(x6)
U4_aaaa(x1, x2, x3, x4, x5, x6)  =  U4_aaaa(x6)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
qs42_in_aa(x1, x2)  =  qs42_in_aa
qs42_out_aa(x1, x2)  =  qs42_out_aa
U5_aa(x1, x2, x3, x4)  =  U5_aa(x4)
U6_aa(x1, x2, x3, x4)  =  U6_aa(x4)
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
U8_aa(x1, x2, x3, x4, x5)  =  U8_aa(x5)
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)
app57_in_aaaa(x1, x2, x3, x4)  =  app57_in_aaaa
app57_out_aaaa(x1, x2, x3, x4)  =  app57_out_aaaa
U12_aaaa(x1, x2, x3, x4, x5, x6)  =  U12_aaaa(x6)
U26_aa(x1, x2, x3, x4, x5, x6)  =  U26_aa(x6)
U27_aa(x1, x2, x3, x4, x5)  =  U27_aa(x5)
p41_in_aaaaa(x1, x2, x3, x4, x5)  =  p41_in_aaaaa
U14_aaaaa(x1, x2, x3, x4, x5, x6)  =  U14_aaaaa(x6)
p41_out_aaaaa(x1, x2, x3, x4, x5)  =  p41_out_aaaaa
U15_aaaaa(x1, x2, x3, x4, x5, x6)  =  U15_aaaaa(x6)
U16_aaaaa(x1, x2, x3, x4, x5, x6)  =  U16_aaaaa(x6)
app43_in_aaaa(x1, x2, x3, x4)  =  app43_in_aaaa
app43_out_aaaa(x1, x2, x3, x4)  =  app43_out_aaaa
U13_aaaa(x1, x2, x3, x4, x5, x6)  =  U13_aaaa(x6)
U28_aa(x1, x2, x3)  =  U28_aa(x3)
qs84_in_a(x1)  =  qs84_in_a
qs84_out_a(x1)  =  qs84_out_a(x1)
U29_aa(x1, x2, x3)  =  U29_aa(x3)
U30_aa(x1, x2, x3)  =  U30_aa(x3)
U31_aa(x1, x2, x3, x4)  =  U31_aa(x3, x4)
U32_aa(x1, x2, x3)  =  U32_aa(x3)
app43_in_gaga(x1, x2, x3, x4)  =  app43_in_gaga(x1, x3)
app43_out_gaga(x1, x2, x3, x4)  =  app43_out_gaga
U13_gaga(x1, x2, x3, x4, x5, x6)  =  U13_gaga(x6)
U21_aa(x1, x2, x3, x4, x5, x6)  =  U21_aa(x1, x6)
U22_aa(x1, x2, x3, x4, x5)  =  U22_aa(x5)
p41_in_aaaga(x1, x2, x3, x4, x5)  =  p41_in_aaaga(x4)
U14_aaaga(x1, x2, x3, x4, x5, x6)  =  U14_aaaga(x6)
p41_out_aaaga(x1, x2, x3, x4, x5)  =  p41_out_aaaga
U15_aaaga(x1, x2, x3, x4, x5, x6)  =  U15_aaaga(x4, x6)
U16_aaaga(x1, x2, x3, x4, x5, x6)  =  U16_aaaga(x6)
app43_in_agaa(x1, x2, x3, x4)  =  app43_in_agaa(x2)
app43_out_agaa(x1, x2, x3, x4)  =  app43_out_agaa
U13_agaa(x1, x2, x3, x4, x5, x6)  =  U13_agaa(x6)
U21_ga(x1, x2, x3, x4, x5, x6)  =  U21_ga(x1, x6)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x5)
U23_ga(x1, x2, x3, x4, x5)  =  U23_ga(x5)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x1, x5)
U25_ga(x1, x2, x3, x4, x5)  =  U25_ga(x5)
U26_ga(x1, x2, x3, x4, x5, x6)  =  U26_ga(x1, x6)
U27_ga(x1, x2, x3, x4, x5)  =  U27_ga(x5)
U28_ga(x1, x2, x3)  =  U28_ga(x3)
U29_ga(x1, x2, x3)  =  U29_ga(x1, x3)
U30_ga(x1, x2, x3)  =  U30_ga(x3)
U31_ga(x1, x2, x3, x4)  =  U31_ga(x1, x3, x4)
U32_ga(x1, x2, x3)  =  U32_ga(x3)
app43_in_ggga(x1, x2, x3, x4)  =  app43_in_ggga(x1, x2, x3)
app43_out_ggga(x1, x2, x3, x4)  =  app43_out_ggga(x4)
U13_ggga(x1, x2, x3, x4, x5, x6)  =  U13_ggga(x1, x6)
LESS14_IN_AA(x1, x2)  =  LESS14_IN_AA

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

(63) UsableRulesProof (EQUIVALENT transformation)

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

(64) Obligation:

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

LESS14_IN_AA(s(T38), s(T39)) → LESS14_IN_AA(T38, T39)

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

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

(65) PiDPToQDPProof (SOUND transformation)

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

(66) Obligation:

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

LESS14_IN_AALESS14_IN_AA

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

(67) 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 = LESS14_IN_AA evaluates to t =LESS14_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 LESS14_IN_AA to LESS14_IN_AA.



(68) NO

(69) Obligation:

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

PART24_IN_AAAA(T84, .(T85, T86), X177, .(T85, X178)) → PART24_IN_AAAA(T84, T86, X177, X178)

The TRS R consists of the following rules:

qs1_in_ga([], []) → qs1_out_ga([], [])
qs1_in_ga(.(T22, .(T23, T24)), T9) → U17_ga(T22, T23, T24, T9, less14_in_gg(T22, T23))
less14_in_gg(0, s(T33)) → less14_out_gg(0, s(T33))
less14_in_gg(s(T38), s(T39)) → U1_gg(T38, T39, less14_in_gg(T38, T39))
U1_gg(T38, T39, less14_out_gg(T38, T39)) → less14_out_gg(s(T38), s(T39))
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U18_ga(T22, T23, T24, T9, part24_in_ggaa(T22, T24, X52, X53))
part24_in_ggaa(T62, .(T63, T64), .(T63, X126), X127) → U2_ggaa(T62, T63, T64, X126, X127, less14_in_gg(T62, T63))
U2_ggaa(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → part24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
U2_ggaa(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → U3_ggaa(T62, T63, T64, X126, X127, part24_in_ggaa(T62, T64, X126, X127))
part24_in_ggaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_ggaa(T84, T85, T86, X177, X178, part24_in_ggaa(T84, T86, X177, X178))
part24_in_ggaa(T92, [], [], []) → part24_out_ggaa(T92, [], [], [])
U4_ggaa(T84, T85, T86, X177, X178, part24_out_ggaa(T84, T86, X177, X178)) → part24_out_ggaa(T84, .(T85, T86), X177, .(T85, X178))
U3_ggaa(T62, T63, T64, X126, X127, part24_out_ggaa(T62, T64, X126, X127)) → part24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
U18_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, X52, X53)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U19_ga(T22, T23, T24, T9, part24_in_ggaa(T22, T24, T45, T46))
U19_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U20_ga(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
qs1_in_aa([], []) → qs1_out_aa([], [])
qs1_in_aa(.(T22, .(T23, T24)), T9) → U17_aa(T22, T23, T24, T9, less14_in_aa(T22, T23))
less14_in_aa(0, s(T33)) → less14_out_aa(0, s(T33))
less14_in_aa(s(T38), s(T39)) → U1_aa(T38, T39, less14_in_aa(T38, T39))
U1_aa(T38, T39, less14_out_aa(T38, T39)) → less14_out_aa(s(T38), s(T39))
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U18_aa(T22, T23, T24, T9, part24_in_gaaa(T22, T24, X52, X53))
part24_in_gaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_gaaa(T62, T63, T64, X126, X127, less14_in_ga(T62, T63))
less14_in_ga(0, s(T33)) → less14_out_ga(0, s(T33))
less14_in_ga(s(T38), s(T39)) → U1_ga(T38, T39, less14_in_ga(T38, T39))
U1_ga(T38, T39, less14_out_ga(T38, T39)) → less14_out_ga(s(T38), s(T39))
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → U3_gaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
part24_in_gaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_gaaa(T84, T85, T86, X177, X178, part24_in_gaaa(T84, T86, X177, X178))
part24_in_gaaa(T92, [], [], []) → part24_out_gaaa(T92, [], [], [])
U4_gaaa(T84, T85, T86, X177, X178, part24_out_gaaa(T84, T86, X177, X178)) → part24_out_gaaa(T84, .(T85, T86), X177, .(T85, X178))
U3_gaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U18_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, X52, X53)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U19_aa(T22, T23, T24, T9, part24_in_gaaa(T22, T24, T45, T46))
U19_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U20_aa(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
qs1_in_aa(.(T191, .(T192, T193)), T9) → U23_aa(T191, T192, T193, T9, part24_in_aaaa(T191, T193, X336, X337))
part24_in_aaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_aaaa(T62, T63, T64, X126, X127, less14_in_aa(T62, T63))
U2_aaaa(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → part24_out_aaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_aaaa(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → U3_aaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
U3_aaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_aaaa(T62, .(T63, T64), .(T63, X126), X127)
part24_in_aaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_aaaa(T84, T85, T86, X177, X178, part24_in_aaaa(T84, T86, X177, X178))
part24_in_aaaa(T92, [], [], []) → part24_out_aaaa(T92, [], [], [])
U4_aaaa(T84, T85, T86, X177, X178, part24_out_aaaa(T84, T86, X177, X178)) → part24_out_aaaa(T84, .(T85, T86), X177, .(T85, X178))
U23_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, X336, X337)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
qs1_in_aa(.(T191, .(T192, T193)), T9) → U24_aa(T191, T192, T193, T9, part24_in_aaaa(T191, T193, T197, T198))
U24_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U25_aa(T191, T192, T193, T9, qs42_in_aa(T197, X14))
qs42_in_aa([], []) → qs42_out_aa([], [])
qs42_in_aa(.(T103, T104), X230) → U5_aa(T103, T104, X230, part24_in_aaaa(T103, T104, X226, X227))
U5_aa(T103, T104, X230, part24_out_aaaa(T103, T104, X226, X227)) → qs42_out_aa(.(T103, T104), X230)
qs42_in_aa(.(T103, T104), X230) → U6_aa(T103, T104, X230, part24_in_aaaa(T103, T104, T108, T109))
U6_aa(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U7_aa(T103, T104, X230, qs42_in_aa(T108, X228))
U7_aa(T103, T104, X230, qs42_out_aa(T108, X228)) → qs42_out_aa(.(T103, T104), X230)
U6_aa(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U8_aa(T103, T104, X230, T109, qs42_in_aa(T108, T113))
U8_aa(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U9_aa(T103, T104, X230, qs42_in_aa(T109, X229))
U9_aa(T103, T104, X230, qs42_out_aa(T109, X229)) → qs42_out_aa(.(T103, T104), X230)
U8_aa(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U10_aa(T103, T104, X230, T113, qs42_in_aa(T109, T114))
U10_aa(T103, T104, X230, T113, qs42_out_aa(T109, T114)) → U11_aa(T103, T104, X230, app57_in_aaaa(T113, T103, T114, X230))
app57_in_aaaa([], T127, T128, .(T127, T128)) → app57_out_aaaa([], T127, T128, .(T127, T128))
app57_in_aaaa(.(T137, T138), T139, T140, .(T137, X270)) → U12_aaaa(T137, T138, T139, T140, X270, app57_in_aaaa(T138, T139, T140, X270))
U12_aaaa(T137, T138, T139, T140, X270, app57_out_aaaa(T138, T139, T140, X270)) → app57_out_aaaa(.(T137, T138), T139, T140, .(T137, X270))
U11_aa(T103, T104, X230, app57_out_aaaa(T113, T103, T114, X230)) → qs42_out_aa(.(T103, T104), X230)
U25_aa(T191, T192, T193, T9, qs42_out_aa(T197, X14)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
U24_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U26_aa(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_aa(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_aa(T191, T192, T193, T9, p41_in_aaaaa(.(T192, T198), X15, T202, T191, T9))
p41_in_aaaaa(T46, X15, T95, T22, T9) → U14_aaaaa(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
U14_aaaaa(T46, X15, T95, T22, T9, qs42_out_aa(T46, X15)) → p41_out_aaaaa(T46, X15, T95, T22, T9)
p41_in_aaaaa(T46, T98, T95, T22, T9) → U15_aaaaa(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_aaaaa(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_aaaaa(T46, T98, T95, T22, T9, app43_in_aaaa(T95, T22, T98, T9))
app43_in_aaaa([], T157, T158, .(T157, T158)) → app43_out_aaaa([], T157, T158, .(T157, T158))
app43_in_aaaa(.(T169, T170), T171, T172, .(T169, T174)) → U13_aaaa(T169, T170, T171, T172, T174, app43_in_aaaa(T170, T171, T172, T174))
U13_aaaa(T169, T170, T171, T172, T174, app43_out_aaaa(T170, T171, T172, T174)) → app43_out_aaaa(.(T169, T170), T171, T172, .(T169, T174))
U16_aaaaa(T46, T98, T95, T22, T9, app43_out_aaaa(T95, T22, T98, T9)) → p41_out_aaaaa(T46, T98, T95, T22, T9)
U27_aa(T191, T192, T193, T9, p41_out_aaaaa(.(T192, T198), X15, T202, T191, T9)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
qs1_in_aa(.(T207, []), T9) → U28_aa(T207, T9, qs84_in_a(X14))
qs84_in_a([]) → qs84_out_a([])
U28_aa(T207, T9, qs84_out_a(X14)) → qs1_out_aa(.(T207, []), T9)
qs1_in_aa(.(T207, []), T9) → U29_aa(T207, T9, qs84_in_a(T210))
U29_aa(T207, T9, qs84_out_a(T210)) → U30_aa(T207, T9, qs84_in_a(X15))
U30_aa(T207, T9, qs84_out_a(X15)) → qs1_out_aa(.(T207, []), T9)
U29_aa(T207, T9, qs84_out_a(T210)) → U31_aa(T207, T9, T210, qs84_in_a(T213))
U31_aa(T207, T9, T210, qs84_out_a(T213)) → U32_aa(T207, T9, app43_in_gaga(T210, T207, T213, T9))
app43_in_gaga([], T157, T158, .(T157, T158)) → app43_out_gaga([], T157, T158, .(T157, T158))
app43_in_gaga(.(T169, T170), T171, T172, .(T169, T174)) → U13_gaga(T169, T170, T171, T172, T174, app43_in_gaga(T170, T171, T172, T174))
U13_gaga(T169, T170, T171, T172, T174, app43_out_gaga(T170, T171, T172, T174)) → app43_out_gaga(.(T169, T170), T171, T172, .(T169, T174))
U32_aa(T207, T9, app43_out_gaga(T210, T207, T213, T9)) → qs1_out_aa(.(T207, []), T9)
U20_aa(T22, T23, T24, T9, qs1_out_aa(.(T23, T45), X14)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U21_aa(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_aa(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_aa(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
p41_in_aaaga(T46, X15, T95, T22, T9) → U14_aaaga(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
U14_aaaga(T46, X15, T95, T22, T9, qs42_out_aa(T46, X15)) → p41_out_aaaga(T46, X15, T95, T22, T9)
p41_in_aaaga(T46, T98, T95, T22, T9) → U15_aaaga(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_aaaga(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_aaaga(T46, T98, T95, T22, T9, app43_in_agaa(T95, T22, T98, T9))
app43_in_agaa([], T157, T158, .(T157, T158)) → app43_out_agaa([], T157, T158, .(T157, T158))
app43_in_agaa(.(T169, T170), T171, T172, .(T169, T174)) → U13_agaa(T169, T170, T171, T172, T174, app43_in_agaa(T170, T171, T172, T174))
U13_agaa(T169, T170, T171, T172, T174, app43_out_agaa(T170, T171, T172, T174)) → app43_out_agaa(.(T169, T170), T171, T172, .(T169, T174))
U16_aaaga(T46, T98, T95, T22, T9, app43_out_agaa(T95, T22, T98, T9)) → p41_out_aaaga(T46, T98, T95, T22, T9)
U22_aa(T22, T23, T24, T9, p41_out_aaaga(T46, X15, T95, T22, T9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U20_ga(T22, T23, T24, T9, qs1_out_aa(.(T23, T45), X14)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U21_ga(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_ga(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_ga(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
U22_ga(T22, T23, T24, T9, p41_out_aaaga(T46, X15, T95, T22, T9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
qs1_in_ga(.(T191, .(T192, T193)), T9) → U23_ga(T191, T192, T193, T9, part24_in_ggaa(T191, T193, X336, X337))
U23_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, X336, X337)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
qs1_in_ga(.(T191, .(T192, T193)), T9) → U24_ga(T191, T192, T193, T9, part24_in_ggaa(T191, T193, T197, T198))
U24_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U25_ga(T191, T192, T193, T9, qs42_in_aa(T197, X14))
U25_ga(T191, T192, T193, T9, qs42_out_aa(T197, X14)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
U24_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U26_ga(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_ga(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_ga(T191, T192, T193, T9, p41_in_aaaga(.(T192, T198), X15, T202, T191, T9))
U27_ga(T191, T192, T193, T9, p41_out_aaaga(.(T192, T198), X15, T202, T191, T9)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
qs1_in_ga(.(T207, []), T9) → U28_ga(T207, T9, qs84_in_a(X14))
U28_ga(T207, T9, qs84_out_a(X14)) → qs1_out_ga(.(T207, []), T9)
qs1_in_ga(.(T207, []), T9) → U29_ga(T207, T9, qs84_in_a(T210))
U29_ga(T207, T9, qs84_out_a(T210)) → U30_ga(T207, T9, qs84_in_a(X15))
U30_ga(T207, T9, qs84_out_a(X15)) → qs1_out_ga(.(T207, []), T9)
U29_ga(T207, T9, qs84_out_a(T210)) → U31_ga(T207, T9, T210, qs84_in_a(T213))
U31_ga(T207, T9, T210, qs84_out_a(T213)) → U32_ga(T207, T9, app43_in_ggga(T210, T207, T213, T9))
app43_in_ggga([], T157, T158, .(T157, T158)) → app43_out_ggga([], T157, T158, .(T157, T158))
app43_in_ggga(.(T169, T170), T171, T172, .(T169, T174)) → U13_ggga(T169, T170, T171, T172, T174, app43_in_ggga(T170, T171, T172, T174))
U13_ggga(T169, T170, T171, T172, T174, app43_out_ggga(T170, T171, T172, T174)) → app43_out_ggga(.(T169, T170), T171, T172, .(T169, T174))
U32_ga(T207, T9, app43_out_ggga(T210, T207, T213, T9)) → qs1_out_ga(.(T207, []), T9)

The argument filtering Pi contains the following mapping:
qs1_in_ga(x1, x2)  =  qs1_in_ga(x1)
[]  =  []
qs1_out_ga(x1, x2)  =  qs1_out_ga
.(x1, x2)  =  .(x1, x2)
U17_ga(x1, x2, x3, x4, x5)  =  U17_ga(x1, x3, x5)
less14_in_gg(x1, x2)  =  less14_in_gg(x1, x2)
0  =  0
s(x1)  =  s(x1)
less14_out_gg(x1, x2)  =  less14_out_gg
U1_gg(x1, x2, x3)  =  U1_gg(x3)
U18_ga(x1, x2, x3, x4, x5)  =  U18_ga(x5)
part24_in_ggaa(x1, x2, x3, x4)  =  part24_in_ggaa(x1, x2)
U2_ggaa(x1, x2, x3, x4, x5, x6)  =  U2_ggaa(x1, x3, x6)
part24_out_ggaa(x1, x2, x3, x4)  =  part24_out_ggaa
U3_ggaa(x1, x2, x3, x4, x5, x6)  =  U3_ggaa(x6)
U4_ggaa(x1, x2, x3, x4, x5, x6)  =  U4_ggaa(x6)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x5)
U20_ga(x1, x2, x3, x4, x5)  =  U20_ga(x5)
qs1_in_aa(x1, x2)  =  qs1_in_aa
qs1_out_aa(x1, x2)  =  qs1_out_aa
U17_aa(x1, x2, x3, x4, x5)  =  U17_aa(x5)
less14_in_aa(x1, x2)  =  less14_in_aa
less14_out_aa(x1, x2)  =  less14_out_aa(x1)
U1_aa(x1, x2, x3)  =  U1_aa(x3)
U18_aa(x1, x2, x3, x4, x5)  =  U18_aa(x5)
part24_in_gaaa(x1, x2, x3, x4)  =  part24_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x1, x6)
less14_in_ga(x1, x2)  =  less14_in_ga(x1)
less14_out_ga(x1, x2)  =  less14_out_ga
U1_ga(x1, x2, x3)  =  U1_ga(x3)
part24_out_gaaa(x1, x2, x3, x4)  =  part24_out_gaaa
U3_gaaa(x1, x2, x3, x4, x5, x6)  =  U3_gaaa(x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x6)
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(x1, x5)
U20_aa(x1, x2, x3, x4, x5)  =  U20_aa(x5)
U23_aa(x1, x2, x3, x4, x5)  =  U23_aa(x5)
part24_in_aaaa(x1, x2, x3, x4)  =  part24_in_aaaa
U2_aaaa(x1, x2, x3, x4, x5, x6)  =  U2_aaaa(x6)
part24_out_aaaa(x1, x2, x3, x4)  =  part24_out_aaaa
U3_aaaa(x1, x2, x3, x4, x5, x6)  =  U3_aaaa(x6)
U4_aaaa(x1, x2, x3, x4, x5, x6)  =  U4_aaaa(x6)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
qs42_in_aa(x1, x2)  =  qs42_in_aa
qs42_out_aa(x1, x2)  =  qs42_out_aa
U5_aa(x1, x2, x3, x4)  =  U5_aa(x4)
U6_aa(x1, x2, x3, x4)  =  U6_aa(x4)
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
U8_aa(x1, x2, x3, x4, x5)  =  U8_aa(x5)
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)
app57_in_aaaa(x1, x2, x3, x4)  =  app57_in_aaaa
app57_out_aaaa(x1, x2, x3, x4)  =  app57_out_aaaa
U12_aaaa(x1, x2, x3, x4, x5, x6)  =  U12_aaaa(x6)
U26_aa(x1, x2, x3, x4, x5, x6)  =  U26_aa(x6)
U27_aa(x1, x2, x3, x4, x5)  =  U27_aa(x5)
p41_in_aaaaa(x1, x2, x3, x4, x5)  =  p41_in_aaaaa
U14_aaaaa(x1, x2, x3, x4, x5, x6)  =  U14_aaaaa(x6)
p41_out_aaaaa(x1, x2, x3, x4, x5)  =  p41_out_aaaaa
U15_aaaaa(x1, x2, x3, x4, x5, x6)  =  U15_aaaaa(x6)
U16_aaaaa(x1, x2, x3, x4, x5, x6)  =  U16_aaaaa(x6)
app43_in_aaaa(x1, x2, x3, x4)  =  app43_in_aaaa
app43_out_aaaa(x1, x2, x3, x4)  =  app43_out_aaaa
U13_aaaa(x1, x2, x3, x4, x5, x6)  =  U13_aaaa(x6)
U28_aa(x1, x2, x3)  =  U28_aa(x3)
qs84_in_a(x1)  =  qs84_in_a
qs84_out_a(x1)  =  qs84_out_a(x1)
U29_aa(x1, x2, x3)  =  U29_aa(x3)
U30_aa(x1, x2, x3)  =  U30_aa(x3)
U31_aa(x1, x2, x3, x4)  =  U31_aa(x3, x4)
U32_aa(x1, x2, x3)  =  U32_aa(x3)
app43_in_gaga(x1, x2, x3, x4)  =  app43_in_gaga(x1, x3)
app43_out_gaga(x1, x2, x3, x4)  =  app43_out_gaga
U13_gaga(x1, x2, x3, x4, x5, x6)  =  U13_gaga(x6)
U21_aa(x1, x2, x3, x4, x5, x6)  =  U21_aa(x1, x6)
U22_aa(x1, x2, x3, x4, x5)  =  U22_aa(x5)
p41_in_aaaga(x1, x2, x3, x4, x5)  =  p41_in_aaaga(x4)
U14_aaaga(x1, x2, x3, x4, x5, x6)  =  U14_aaaga(x6)
p41_out_aaaga(x1, x2, x3, x4, x5)  =  p41_out_aaaga
U15_aaaga(x1, x2, x3, x4, x5, x6)  =  U15_aaaga(x4, x6)
U16_aaaga(x1, x2, x3, x4, x5, x6)  =  U16_aaaga(x6)
app43_in_agaa(x1, x2, x3, x4)  =  app43_in_agaa(x2)
app43_out_agaa(x1, x2, x3, x4)  =  app43_out_agaa
U13_agaa(x1, x2, x3, x4, x5, x6)  =  U13_agaa(x6)
U21_ga(x1, x2, x3, x4, x5, x6)  =  U21_ga(x1, x6)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x5)
U23_ga(x1, x2, x3, x4, x5)  =  U23_ga(x5)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x1, x5)
U25_ga(x1, x2, x3, x4, x5)  =  U25_ga(x5)
U26_ga(x1, x2, x3, x4, x5, x6)  =  U26_ga(x1, x6)
U27_ga(x1, x2, x3, x4, x5)  =  U27_ga(x5)
U28_ga(x1, x2, x3)  =  U28_ga(x3)
U29_ga(x1, x2, x3)  =  U29_ga(x1, x3)
U30_ga(x1, x2, x3)  =  U30_ga(x3)
U31_ga(x1, x2, x3, x4)  =  U31_ga(x1, x3, x4)
U32_ga(x1, x2, x3)  =  U32_ga(x3)
app43_in_ggga(x1, x2, x3, x4)  =  app43_in_ggga(x1, x2, x3)
app43_out_ggga(x1, x2, x3, x4)  =  app43_out_ggga(x4)
U13_ggga(x1, x2, x3, x4, x5, x6)  =  U13_ggga(x1, x6)
PART24_IN_AAAA(x1, x2, x3, x4)  =  PART24_IN_AAAA

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

(70) UsableRulesProof (EQUIVALENT transformation)

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

(71) Obligation:

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

PART24_IN_AAAA(T84, .(T85, T86), X177, .(T85, X178)) → PART24_IN_AAAA(T84, T86, X177, X178)

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

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

(72) PiDPToQDPProof (SOUND transformation)

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

(73) Obligation:

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

PART24_IN_AAAAPART24_IN_AAAA

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

(74) 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 = PART24_IN_AAAA evaluates to t =PART24_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 PART24_IN_AAAA to PART24_IN_AAAA.



(75) NO

(76) Obligation:

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

QS42_IN_AA(.(T103, T104), X230) → U6_AA(T103, T104, X230, part24_in_aaaa(T103, T104, T108, T109))
U6_AA(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → QS42_IN_AA(T108, X228)
U6_AA(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U8_AA(T103, T104, X230, T109, qs42_in_aa(T108, T113))
U8_AA(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → QS42_IN_AA(T109, X229)

The TRS R consists of the following rules:

qs1_in_ga([], []) → qs1_out_ga([], [])
qs1_in_ga(.(T22, .(T23, T24)), T9) → U17_ga(T22, T23, T24, T9, less14_in_gg(T22, T23))
less14_in_gg(0, s(T33)) → less14_out_gg(0, s(T33))
less14_in_gg(s(T38), s(T39)) → U1_gg(T38, T39, less14_in_gg(T38, T39))
U1_gg(T38, T39, less14_out_gg(T38, T39)) → less14_out_gg(s(T38), s(T39))
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U18_ga(T22, T23, T24, T9, part24_in_ggaa(T22, T24, X52, X53))
part24_in_ggaa(T62, .(T63, T64), .(T63, X126), X127) → U2_ggaa(T62, T63, T64, X126, X127, less14_in_gg(T62, T63))
U2_ggaa(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → part24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
U2_ggaa(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → U3_ggaa(T62, T63, T64, X126, X127, part24_in_ggaa(T62, T64, X126, X127))
part24_in_ggaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_ggaa(T84, T85, T86, X177, X178, part24_in_ggaa(T84, T86, X177, X178))
part24_in_ggaa(T92, [], [], []) → part24_out_ggaa(T92, [], [], [])
U4_ggaa(T84, T85, T86, X177, X178, part24_out_ggaa(T84, T86, X177, X178)) → part24_out_ggaa(T84, .(T85, T86), X177, .(T85, X178))
U3_ggaa(T62, T63, T64, X126, X127, part24_out_ggaa(T62, T64, X126, X127)) → part24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
U18_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, X52, X53)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U19_ga(T22, T23, T24, T9, part24_in_ggaa(T22, T24, T45, T46))
U19_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U20_ga(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
qs1_in_aa([], []) → qs1_out_aa([], [])
qs1_in_aa(.(T22, .(T23, T24)), T9) → U17_aa(T22, T23, T24, T9, less14_in_aa(T22, T23))
less14_in_aa(0, s(T33)) → less14_out_aa(0, s(T33))
less14_in_aa(s(T38), s(T39)) → U1_aa(T38, T39, less14_in_aa(T38, T39))
U1_aa(T38, T39, less14_out_aa(T38, T39)) → less14_out_aa(s(T38), s(T39))
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U18_aa(T22, T23, T24, T9, part24_in_gaaa(T22, T24, X52, X53))
part24_in_gaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_gaaa(T62, T63, T64, X126, X127, less14_in_ga(T62, T63))
less14_in_ga(0, s(T33)) → less14_out_ga(0, s(T33))
less14_in_ga(s(T38), s(T39)) → U1_ga(T38, T39, less14_in_ga(T38, T39))
U1_ga(T38, T39, less14_out_ga(T38, T39)) → less14_out_ga(s(T38), s(T39))
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → U3_gaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
part24_in_gaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_gaaa(T84, T85, T86, X177, X178, part24_in_gaaa(T84, T86, X177, X178))
part24_in_gaaa(T92, [], [], []) → part24_out_gaaa(T92, [], [], [])
U4_gaaa(T84, T85, T86, X177, X178, part24_out_gaaa(T84, T86, X177, X178)) → part24_out_gaaa(T84, .(T85, T86), X177, .(T85, X178))
U3_gaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U18_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, X52, X53)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U19_aa(T22, T23, T24, T9, part24_in_gaaa(T22, T24, T45, T46))
U19_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U20_aa(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
qs1_in_aa(.(T191, .(T192, T193)), T9) → U23_aa(T191, T192, T193, T9, part24_in_aaaa(T191, T193, X336, X337))
part24_in_aaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_aaaa(T62, T63, T64, X126, X127, less14_in_aa(T62, T63))
U2_aaaa(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → part24_out_aaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_aaaa(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → U3_aaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
U3_aaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_aaaa(T62, .(T63, T64), .(T63, X126), X127)
part24_in_aaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_aaaa(T84, T85, T86, X177, X178, part24_in_aaaa(T84, T86, X177, X178))
part24_in_aaaa(T92, [], [], []) → part24_out_aaaa(T92, [], [], [])
U4_aaaa(T84, T85, T86, X177, X178, part24_out_aaaa(T84, T86, X177, X178)) → part24_out_aaaa(T84, .(T85, T86), X177, .(T85, X178))
U23_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, X336, X337)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
qs1_in_aa(.(T191, .(T192, T193)), T9) → U24_aa(T191, T192, T193, T9, part24_in_aaaa(T191, T193, T197, T198))
U24_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U25_aa(T191, T192, T193, T9, qs42_in_aa(T197, X14))
qs42_in_aa([], []) → qs42_out_aa([], [])
qs42_in_aa(.(T103, T104), X230) → U5_aa(T103, T104, X230, part24_in_aaaa(T103, T104, X226, X227))
U5_aa(T103, T104, X230, part24_out_aaaa(T103, T104, X226, X227)) → qs42_out_aa(.(T103, T104), X230)
qs42_in_aa(.(T103, T104), X230) → U6_aa(T103, T104, X230, part24_in_aaaa(T103, T104, T108, T109))
U6_aa(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U7_aa(T103, T104, X230, qs42_in_aa(T108, X228))
U7_aa(T103, T104, X230, qs42_out_aa(T108, X228)) → qs42_out_aa(.(T103, T104), X230)
U6_aa(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U8_aa(T103, T104, X230, T109, qs42_in_aa(T108, T113))
U8_aa(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U9_aa(T103, T104, X230, qs42_in_aa(T109, X229))
U9_aa(T103, T104, X230, qs42_out_aa(T109, X229)) → qs42_out_aa(.(T103, T104), X230)
U8_aa(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U10_aa(T103, T104, X230, T113, qs42_in_aa(T109, T114))
U10_aa(T103, T104, X230, T113, qs42_out_aa(T109, T114)) → U11_aa(T103, T104, X230, app57_in_aaaa(T113, T103, T114, X230))
app57_in_aaaa([], T127, T128, .(T127, T128)) → app57_out_aaaa([], T127, T128, .(T127, T128))
app57_in_aaaa(.(T137, T138), T139, T140, .(T137, X270)) → U12_aaaa(T137, T138, T139, T140, X270, app57_in_aaaa(T138, T139, T140, X270))
U12_aaaa(T137, T138, T139, T140, X270, app57_out_aaaa(T138, T139, T140, X270)) → app57_out_aaaa(.(T137, T138), T139, T140, .(T137, X270))
U11_aa(T103, T104, X230, app57_out_aaaa(T113, T103, T114, X230)) → qs42_out_aa(.(T103, T104), X230)
U25_aa(T191, T192, T193, T9, qs42_out_aa(T197, X14)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
U24_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U26_aa(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_aa(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_aa(T191, T192, T193, T9, p41_in_aaaaa(.(T192, T198), X15, T202, T191, T9))
p41_in_aaaaa(T46, X15, T95, T22, T9) → U14_aaaaa(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
U14_aaaaa(T46, X15, T95, T22, T9, qs42_out_aa(T46, X15)) → p41_out_aaaaa(T46, X15, T95, T22, T9)
p41_in_aaaaa(T46, T98, T95, T22, T9) → U15_aaaaa(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_aaaaa(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_aaaaa(T46, T98, T95, T22, T9, app43_in_aaaa(T95, T22, T98, T9))
app43_in_aaaa([], T157, T158, .(T157, T158)) → app43_out_aaaa([], T157, T158, .(T157, T158))
app43_in_aaaa(.(T169, T170), T171, T172, .(T169, T174)) → U13_aaaa(T169, T170, T171, T172, T174, app43_in_aaaa(T170, T171, T172, T174))
U13_aaaa(T169, T170, T171, T172, T174, app43_out_aaaa(T170, T171, T172, T174)) → app43_out_aaaa(.(T169, T170), T171, T172, .(T169, T174))
U16_aaaaa(T46, T98, T95, T22, T9, app43_out_aaaa(T95, T22, T98, T9)) → p41_out_aaaaa(T46, T98, T95, T22, T9)
U27_aa(T191, T192, T193, T9, p41_out_aaaaa(.(T192, T198), X15, T202, T191, T9)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
qs1_in_aa(.(T207, []), T9) → U28_aa(T207, T9, qs84_in_a(X14))
qs84_in_a([]) → qs84_out_a([])
U28_aa(T207, T9, qs84_out_a(X14)) → qs1_out_aa(.(T207, []), T9)
qs1_in_aa(.(T207, []), T9) → U29_aa(T207, T9, qs84_in_a(T210))
U29_aa(T207, T9, qs84_out_a(T210)) → U30_aa(T207, T9, qs84_in_a(X15))
U30_aa(T207, T9, qs84_out_a(X15)) → qs1_out_aa(.(T207, []), T9)
U29_aa(T207, T9, qs84_out_a(T210)) → U31_aa(T207, T9, T210, qs84_in_a(T213))
U31_aa(T207, T9, T210, qs84_out_a(T213)) → U32_aa(T207, T9, app43_in_gaga(T210, T207, T213, T9))
app43_in_gaga([], T157, T158, .(T157, T158)) → app43_out_gaga([], T157, T158, .(T157, T158))
app43_in_gaga(.(T169, T170), T171, T172, .(T169, T174)) → U13_gaga(T169, T170, T171, T172, T174, app43_in_gaga(T170, T171, T172, T174))
U13_gaga(T169, T170, T171, T172, T174, app43_out_gaga(T170, T171, T172, T174)) → app43_out_gaga(.(T169, T170), T171, T172, .(T169, T174))
U32_aa(T207, T9, app43_out_gaga(T210, T207, T213, T9)) → qs1_out_aa(.(T207, []), T9)
U20_aa(T22, T23, T24, T9, qs1_out_aa(.(T23, T45), X14)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U21_aa(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_aa(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_aa(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
p41_in_aaaga(T46, X15, T95, T22, T9) → U14_aaaga(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
U14_aaaga(T46, X15, T95, T22, T9, qs42_out_aa(T46, X15)) → p41_out_aaaga(T46, X15, T95, T22, T9)
p41_in_aaaga(T46, T98, T95, T22, T9) → U15_aaaga(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_aaaga(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_aaaga(T46, T98, T95, T22, T9, app43_in_agaa(T95, T22, T98, T9))
app43_in_agaa([], T157, T158, .(T157, T158)) → app43_out_agaa([], T157, T158, .(T157, T158))
app43_in_agaa(.(T169, T170), T171, T172, .(T169, T174)) → U13_agaa(T169, T170, T171, T172, T174, app43_in_agaa(T170, T171, T172, T174))
U13_agaa(T169, T170, T171, T172, T174, app43_out_agaa(T170, T171, T172, T174)) → app43_out_agaa(.(T169, T170), T171, T172, .(T169, T174))
U16_aaaga(T46, T98, T95, T22, T9, app43_out_agaa(T95, T22, T98, T9)) → p41_out_aaaga(T46, T98, T95, T22, T9)
U22_aa(T22, T23, T24, T9, p41_out_aaaga(T46, X15, T95, T22, T9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U20_ga(T22, T23, T24, T9, qs1_out_aa(.(T23, T45), X14)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U21_ga(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_ga(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_ga(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
U22_ga(T22, T23, T24, T9, p41_out_aaaga(T46, X15, T95, T22, T9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
qs1_in_ga(.(T191, .(T192, T193)), T9) → U23_ga(T191, T192, T193, T9, part24_in_ggaa(T191, T193, X336, X337))
U23_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, X336, X337)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
qs1_in_ga(.(T191, .(T192, T193)), T9) → U24_ga(T191, T192, T193, T9, part24_in_ggaa(T191, T193, T197, T198))
U24_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U25_ga(T191, T192, T193, T9, qs42_in_aa(T197, X14))
U25_ga(T191, T192, T193, T9, qs42_out_aa(T197, X14)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
U24_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U26_ga(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_ga(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_ga(T191, T192, T193, T9, p41_in_aaaga(.(T192, T198), X15, T202, T191, T9))
U27_ga(T191, T192, T193, T9, p41_out_aaaga(.(T192, T198), X15, T202, T191, T9)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
qs1_in_ga(.(T207, []), T9) → U28_ga(T207, T9, qs84_in_a(X14))
U28_ga(T207, T9, qs84_out_a(X14)) → qs1_out_ga(.(T207, []), T9)
qs1_in_ga(.(T207, []), T9) → U29_ga(T207, T9, qs84_in_a(T210))
U29_ga(T207, T9, qs84_out_a(T210)) → U30_ga(T207, T9, qs84_in_a(X15))
U30_ga(T207, T9, qs84_out_a(X15)) → qs1_out_ga(.(T207, []), T9)
U29_ga(T207, T9, qs84_out_a(T210)) → U31_ga(T207, T9, T210, qs84_in_a(T213))
U31_ga(T207, T9, T210, qs84_out_a(T213)) → U32_ga(T207, T9, app43_in_ggga(T210, T207, T213, T9))
app43_in_ggga([], T157, T158, .(T157, T158)) → app43_out_ggga([], T157, T158, .(T157, T158))
app43_in_ggga(.(T169, T170), T171, T172, .(T169, T174)) → U13_ggga(T169, T170, T171, T172, T174, app43_in_ggga(T170, T171, T172, T174))
U13_ggga(T169, T170, T171, T172, T174, app43_out_ggga(T170, T171, T172, T174)) → app43_out_ggga(.(T169, T170), T171, T172, .(T169, T174))
U32_ga(T207, T9, app43_out_ggga(T210, T207, T213, T9)) → qs1_out_ga(.(T207, []), T9)

The argument filtering Pi contains the following mapping:
qs1_in_ga(x1, x2)  =  qs1_in_ga(x1)
[]  =  []
qs1_out_ga(x1, x2)  =  qs1_out_ga
.(x1, x2)  =  .(x1, x2)
U17_ga(x1, x2, x3, x4, x5)  =  U17_ga(x1, x3, x5)
less14_in_gg(x1, x2)  =  less14_in_gg(x1, x2)
0  =  0
s(x1)  =  s(x1)
less14_out_gg(x1, x2)  =  less14_out_gg
U1_gg(x1, x2, x3)  =  U1_gg(x3)
U18_ga(x1, x2, x3, x4, x5)  =  U18_ga(x5)
part24_in_ggaa(x1, x2, x3, x4)  =  part24_in_ggaa(x1, x2)
U2_ggaa(x1, x2, x3, x4, x5, x6)  =  U2_ggaa(x1, x3, x6)
part24_out_ggaa(x1, x2, x3, x4)  =  part24_out_ggaa
U3_ggaa(x1, x2, x3, x4, x5, x6)  =  U3_ggaa(x6)
U4_ggaa(x1, x2, x3, x4, x5, x6)  =  U4_ggaa(x6)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x5)
U20_ga(x1, x2, x3, x4, x5)  =  U20_ga(x5)
qs1_in_aa(x1, x2)  =  qs1_in_aa
qs1_out_aa(x1, x2)  =  qs1_out_aa
U17_aa(x1, x2, x3, x4, x5)  =  U17_aa(x5)
less14_in_aa(x1, x2)  =  less14_in_aa
less14_out_aa(x1, x2)  =  less14_out_aa(x1)
U1_aa(x1, x2, x3)  =  U1_aa(x3)
U18_aa(x1, x2, x3, x4, x5)  =  U18_aa(x5)
part24_in_gaaa(x1, x2, x3, x4)  =  part24_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x1, x6)
less14_in_ga(x1, x2)  =  less14_in_ga(x1)
less14_out_ga(x1, x2)  =  less14_out_ga
U1_ga(x1, x2, x3)  =  U1_ga(x3)
part24_out_gaaa(x1, x2, x3, x4)  =  part24_out_gaaa
U3_gaaa(x1, x2, x3, x4, x5, x6)  =  U3_gaaa(x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x6)
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(x1, x5)
U20_aa(x1, x2, x3, x4, x5)  =  U20_aa(x5)
U23_aa(x1, x2, x3, x4, x5)  =  U23_aa(x5)
part24_in_aaaa(x1, x2, x3, x4)  =  part24_in_aaaa
U2_aaaa(x1, x2, x3, x4, x5, x6)  =  U2_aaaa(x6)
part24_out_aaaa(x1, x2, x3, x4)  =  part24_out_aaaa
U3_aaaa(x1, x2, x3, x4, x5, x6)  =  U3_aaaa(x6)
U4_aaaa(x1, x2, x3, x4, x5, x6)  =  U4_aaaa(x6)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
qs42_in_aa(x1, x2)  =  qs42_in_aa
qs42_out_aa(x1, x2)  =  qs42_out_aa
U5_aa(x1, x2, x3, x4)  =  U5_aa(x4)
U6_aa(x1, x2, x3, x4)  =  U6_aa(x4)
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
U8_aa(x1, x2, x3, x4, x5)  =  U8_aa(x5)
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)
app57_in_aaaa(x1, x2, x3, x4)  =  app57_in_aaaa
app57_out_aaaa(x1, x2, x3, x4)  =  app57_out_aaaa
U12_aaaa(x1, x2, x3, x4, x5, x6)  =  U12_aaaa(x6)
U26_aa(x1, x2, x3, x4, x5, x6)  =  U26_aa(x6)
U27_aa(x1, x2, x3, x4, x5)  =  U27_aa(x5)
p41_in_aaaaa(x1, x2, x3, x4, x5)  =  p41_in_aaaaa
U14_aaaaa(x1, x2, x3, x4, x5, x6)  =  U14_aaaaa(x6)
p41_out_aaaaa(x1, x2, x3, x4, x5)  =  p41_out_aaaaa
U15_aaaaa(x1, x2, x3, x4, x5, x6)  =  U15_aaaaa(x6)
U16_aaaaa(x1, x2, x3, x4, x5, x6)  =  U16_aaaaa(x6)
app43_in_aaaa(x1, x2, x3, x4)  =  app43_in_aaaa
app43_out_aaaa(x1, x2, x3, x4)  =  app43_out_aaaa
U13_aaaa(x1, x2, x3, x4, x5, x6)  =  U13_aaaa(x6)
U28_aa(x1, x2, x3)  =  U28_aa(x3)
qs84_in_a(x1)  =  qs84_in_a
qs84_out_a(x1)  =  qs84_out_a(x1)
U29_aa(x1, x2, x3)  =  U29_aa(x3)
U30_aa(x1, x2, x3)  =  U30_aa(x3)
U31_aa(x1, x2, x3, x4)  =  U31_aa(x3, x4)
U32_aa(x1, x2, x3)  =  U32_aa(x3)
app43_in_gaga(x1, x2, x3, x4)  =  app43_in_gaga(x1, x3)
app43_out_gaga(x1, x2, x3, x4)  =  app43_out_gaga
U13_gaga(x1, x2, x3, x4, x5, x6)  =  U13_gaga(x6)
U21_aa(x1, x2, x3, x4, x5, x6)  =  U21_aa(x1, x6)
U22_aa(x1, x2, x3, x4, x5)  =  U22_aa(x5)
p41_in_aaaga(x1, x2, x3, x4, x5)  =  p41_in_aaaga(x4)
U14_aaaga(x1, x2, x3, x4, x5, x6)  =  U14_aaaga(x6)
p41_out_aaaga(x1, x2, x3, x4, x5)  =  p41_out_aaaga
U15_aaaga(x1, x2, x3, x4, x5, x6)  =  U15_aaaga(x4, x6)
U16_aaaga(x1, x2, x3, x4, x5, x6)  =  U16_aaaga(x6)
app43_in_agaa(x1, x2, x3, x4)  =  app43_in_agaa(x2)
app43_out_agaa(x1, x2, x3, x4)  =  app43_out_agaa
U13_agaa(x1, x2, x3, x4, x5, x6)  =  U13_agaa(x6)
U21_ga(x1, x2, x3, x4, x5, x6)  =  U21_ga(x1, x6)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x5)
U23_ga(x1, x2, x3, x4, x5)  =  U23_ga(x5)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x1, x5)
U25_ga(x1, x2, x3, x4, x5)  =  U25_ga(x5)
U26_ga(x1, x2, x3, x4, x5, x6)  =  U26_ga(x1, x6)
U27_ga(x1, x2, x3, x4, x5)  =  U27_ga(x5)
U28_ga(x1, x2, x3)  =  U28_ga(x3)
U29_ga(x1, x2, x3)  =  U29_ga(x1, x3)
U30_ga(x1, x2, x3)  =  U30_ga(x3)
U31_ga(x1, x2, x3, x4)  =  U31_ga(x1, x3, x4)
U32_ga(x1, x2, x3)  =  U32_ga(x3)
app43_in_ggga(x1, x2, x3, x4)  =  app43_in_ggga(x1, x2, x3)
app43_out_ggga(x1, x2, x3, x4)  =  app43_out_ggga(x4)
U13_ggga(x1, x2, x3, x4, x5, x6)  =  U13_ggga(x1, x6)
QS42_IN_AA(x1, x2)  =  QS42_IN_AA
U6_AA(x1, x2, x3, x4)  =  U6_AA(x4)
U8_AA(x1, x2, x3, x4, x5)  =  U8_AA(x5)

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

(77) UsableRulesProof (EQUIVALENT transformation)

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

(78) Obligation:

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

QS42_IN_AA(.(T103, T104), X230) → U6_AA(T103, T104, X230, part24_in_aaaa(T103, T104, T108, T109))
U6_AA(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → QS42_IN_AA(T108, X228)
U6_AA(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U8_AA(T103, T104, X230, T109, qs42_in_aa(T108, T113))
U8_AA(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → QS42_IN_AA(T109, X229)

The TRS R consists of the following rules:

part24_in_aaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_aaaa(T62, T63, T64, X126, X127, less14_in_aa(T62, T63))
part24_in_aaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_aaaa(T84, T85, T86, X177, X178, part24_in_aaaa(T84, T86, X177, X178))
part24_in_aaaa(T92, [], [], []) → part24_out_aaaa(T92, [], [], [])
qs42_in_aa([], []) → qs42_out_aa([], [])
qs42_in_aa(.(T103, T104), X230) → U5_aa(T103, T104, X230, part24_in_aaaa(T103, T104, X226, X227))
qs42_in_aa(.(T103, T104), X230) → U6_aa(T103, T104, X230, part24_in_aaaa(T103, T104, T108, T109))
U2_aaaa(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → part24_out_aaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_aaaa(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → U3_aaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
U4_aaaa(T84, T85, T86, X177, X178, part24_out_aaaa(T84, T86, X177, X178)) → part24_out_aaaa(T84, .(T85, T86), X177, .(T85, X178))
U5_aa(T103, T104, X230, part24_out_aaaa(T103, T104, X226, X227)) → qs42_out_aa(.(T103, T104), X230)
U6_aa(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U7_aa(T103, T104, X230, qs42_in_aa(T108, X228))
U6_aa(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U8_aa(T103, T104, X230, T109, qs42_in_aa(T108, T113))
less14_in_aa(0, s(T33)) → less14_out_aa(0, s(T33))
less14_in_aa(s(T38), s(T39)) → U1_aa(T38, T39, less14_in_aa(T38, T39))
U3_aaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_aaaa(T62, .(T63, T64), .(T63, X126), X127)
U7_aa(T103, T104, X230, qs42_out_aa(T108, X228)) → qs42_out_aa(.(T103, T104), X230)
U8_aa(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U9_aa(T103, T104, X230, qs42_in_aa(T109, X229))
U8_aa(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U10_aa(T103, T104, X230, T113, qs42_in_aa(T109, T114))
U1_aa(T38, T39, less14_out_aa(T38, T39)) → less14_out_aa(s(T38), s(T39))
part24_in_gaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_gaaa(T62, T63, T64, X126, X127, less14_in_ga(T62, T63))
part24_in_gaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_gaaa(T84, T85, T86, X177, X178, part24_in_gaaa(T84, T86, X177, X178))
part24_in_gaaa(T92, [], [], []) → part24_out_gaaa(T92, [], [], [])
U9_aa(T103, T104, X230, qs42_out_aa(T109, X229)) → qs42_out_aa(.(T103, T104), X230)
U10_aa(T103, T104, X230, T113, qs42_out_aa(T109, T114)) → U11_aa(T103, T104, X230, app57_in_aaaa(T113, T103, T114, X230))
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → U3_gaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
U4_gaaa(T84, T85, T86, X177, X178, part24_out_gaaa(T84, T86, X177, X178)) → part24_out_gaaa(T84, .(T85, T86), X177, .(T85, X178))
U11_aa(T103, T104, X230, app57_out_aaaa(T113, T103, T114, X230)) → qs42_out_aa(.(T103, T104), X230)
less14_in_ga(0, s(T33)) → less14_out_ga(0, s(T33))
less14_in_ga(s(T38), s(T39)) → U1_ga(T38, T39, less14_in_ga(T38, T39))
U3_gaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
app57_in_aaaa([], T127, T128, .(T127, T128)) → app57_out_aaaa([], T127, T128, .(T127, T128))
app57_in_aaaa(.(T137, T138), T139, T140, .(T137, X270)) → U12_aaaa(T137, T138, T139, T140, X270, app57_in_aaaa(T138, T139, T140, X270))
U1_ga(T38, T39, less14_out_ga(T38, T39)) → less14_out_ga(s(T38), s(T39))
U12_aaaa(T137, T138, T139, T140, X270, app57_out_aaaa(T138, T139, T140, X270)) → app57_out_aaaa(.(T137, T138), T139, T140, .(T137, X270))

The argument filtering Pi contains the following mapping:
[]  =  []
.(x1, x2)  =  .(x1, x2)
0  =  0
s(x1)  =  s(x1)
less14_in_aa(x1, x2)  =  less14_in_aa
less14_out_aa(x1, x2)  =  less14_out_aa(x1)
U1_aa(x1, x2, x3)  =  U1_aa(x3)
part24_in_gaaa(x1, x2, x3, x4)  =  part24_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x1, x6)
less14_in_ga(x1, x2)  =  less14_in_ga(x1)
less14_out_ga(x1, x2)  =  less14_out_ga
U1_ga(x1, x2, x3)  =  U1_ga(x3)
part24_out_gaaa(x1, x2, x3, x4)  =  part24_out_gaaa
U3_gaaa(x1, x2, x3, x4, x5, x6)  =  U3_gaaa(x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x6)
part24_in_aaaa(x1, x2, x3, x4)  =  part24_in_aaaa
U2_aaaa(x1, x2, x3, x4, x5, x6)  =  U2_aaaa(x6)
part24_out_aaaa(x1, x2, x3, x4)  =  part24_out_aaaa
U3_aaaa(x1, x2, x3, x4, x5, x6)  =  U3_aaaa(x6)
U4_aaaa(x1, x2, x3, x4, x5, x6)  =  U4_aaaa(x6)
qs42_in_aa(x1, x2)  =  qs42_in_aa
qs42_out_aa(x1, x2)  =  qs42_out_aa
U5_aa(x1, x2, x3, x4)  =  U5_aa(x4)
U6_aa(x1, x2, x3, x4)  =  U6_aa(x4)
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
U8_aa(x1, x2, x3, x4, x5)  =  U8_aa(x5)
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)
app57_in_aaaa(x1, x2, x3, x4)  =  app57_in_aaaa
app57_out_aaaa(x1, x2, x3, x4)  =  app57_out_aaaa
U12_aaaa(x1, x2, x3, x4, x5, x6)  =  U12_aaaa(x6)
QS42_IN_AA(x1, x2)  =  QS42_IN_AA
U6_AA(x1, x2, x3, x4)  =  U6_AA(x4)
U8_AA(x1, x2, x3, x4, x5)  =  U8_AA(x5)

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

(79) PiDPToQDPProof (SOUND transformation)

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

(80) Obligation:

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

QS42_IN_AAU6_AA(part24_in_aaaa)
U6_AA(part24_out_aaaa) → QS42_IN_AA
U6_AA(part24_out_aaaa) → U8_AA(qs42_in_aa)
U8_AA(qs42_out_aa) → QS42_IN_AA

The TRS R consists of the following rules:

part24_in_aaaaU2_aaaa(less14_in_aa)
part24_in_aaaaU4_aaaa(part24_in_aaaa)
part24_in_aaaapart24_out_aaaa
qs42_in_aaqs42_out_aa
qs42_in_aaU5_aa(part24_in_aaaa)
qs42_in_aaU6_aa(part24_in_aaaa)
U2_aaaa(less14_out_aa(T62)) → part24_out_aaaa
U2_aaaa(less14_out_aa(T62)) → U3_aaaa(part24_in_gaaa(T62))
U4_aaaa(part24_out_aaaa) → part24_out_aaaa
U5_aa(part24_out_aaaa) → qs42_out_aa
U6_aa(part24_out_aaaa) → U7_aa(qs42_in_aa)
U6_aa(part24_out_aaaa) → U8_aa(qs42_in_aa)
less14_in_aaless14_out_aa(0)
less14_in_aaU1_aa(less14_in_aa)
U3_aaaa(part24_out_gaaa) → part24_out_aaaa
U7_aa(qs42_out_aa) → qs42_out_aa
U8_aa(qs42_out_aa) → U9_aa(qs42_in_aa)
U8_aa(qs42_out_aa) → U10_aa(qs42_in_aa)
U1_aa(less14_out_aa(T38)) → less14_out_aa(s(T38))
part24_in_gaaa(T62) → U2_gaaa(T62, less14_in_ga(T62))
part24_in_gaaa(T84) → U4_gaaa(part24_in_gaaa(T84))
part24_in_gaaa(T92) → part24_out_gaaa
U9_aa(qs42_out_aa) → qs42_out_aa
U10_aa(qs42_out_aa) → U11_aa(app57_in_aaaa)
U2_gaaa(T62, less14_out_ga) → part24_out_gaaa
U2_gaaa(T62, less14_out_ga) → U3_gaaa(part24_in_gaaa(T62))
U4_gaaa(part24_out_gaaa) → part24_out_gaaa
U11_aa(app57_out_aaaa) → qs42_out_aa
less14_in_ga(0) → less14_out_ga
less14_in_ga(s(T38)) → U1_ga(less14_in_ga(T38))
U3_gaaa(part24_out_gaaa) → part24_out_gaaa
app57_in_aaaaapp57_out_aaaa
app57_in_aaaaU12_aaaa(app57_in_aaaa)
U1_ga(less14_out_ga) → less14_out_ga
U12_aaaa(app57_out_aaaa) → app57_out_aaaa

The set Q consists of the following terms:

part24_in_aaaa
qs42_in_aa
U2_aaaa(x0)
U4_aaaa(x0)
U5_aa(x0)
U6_aa(x0)
less14_in_aa
U3_aaaa(x0)
U7_aa(x0)
U8_aa(x0)
U1_aa(x0)
part24_in_gaaa(x0)
U9_aa(x0)
U10_aa(x0)
U2_gaaa(x0, x1)
U4_gaaa(x0)
U11_aa(x0)
less14_in_ga(x0)
U3_gaaa(x0)
app57_in_aaaa
U1_ga(x0)
U12_aaaa(x0)

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

(81) Narrowing (SOUND transformation)

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

QS42_IN_AAU6_AA(U2_aaaa(less14_in_aa))
QS42_IN_AAU6_AA(U4_aaaa(part24_in_aaaa))
QS42_IN_AAU6_AA(part24_out_aaaa)

(82) Obligation:

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

U6_AA(part24_out_aaaa) → QS42_IN_AA
U6_AA(part24_out_aaaa) → U8_AA(qs42_in_aa)
U8_AA(qs42_out_aa) → QS42_IN_AA
QS42_IN_AAU6_AA(U2_aaaa(less14_in_aa))
QS42_IN_AAU6_AA(U4_aaaa(part24_in_aaaa))
QS42_IN_AAU6_AA(part24_out_aaaa)

The TRS R consists of the following rules:

part24_in_aaaaU2_aaaa(less14_in_aa)
part24_in_aaaaU4_aaaa(part24_in_aaaa)
part24_in_aaaapart24_out_aaaa
qs42_in_aaqs42_out_aa
qs42_in_aaU5_aa(part24_in_aaaa)
qs42_in_aaU6_aa(part24_in_aaaa)
U2_aaaa(less14_out_aa(T62)) → part24_out_aaaa
U2_aaaa(less14_out_aa(T62)) → U3_aaaa(part24_in_gaaa(T62))
U4_aaaa(part24_out_aaaa) → part24_out_aaaa
U5_aa(part24_out_aaaa) → qs42_out_aa
U6_aa(part24_out_aaaa) → U7_aa(qs42_in_aa)
U6_aa(part24_out_aaaa) → U8_aa(qs42_in_aa)
less14_in_aaless14_out_aa(0)
less14_in_aaU1_aa(less14_in_aa)
U3_aaaa(part24_out_gaaa) → part24_out_aaaa
U7_aa(qs42_out_aa) → qs42_out_aa
U8_aa(qs42_out_aa) → U9_aa(qs42_in_aa)
U8_aa(qs42_out_aa) → U10_aa(qs42_in_aa)
U1_aa(less14_out_aa(T38)) → less14_out_aa(s(T38))
part24_in_gaaa(T62) → U2_gaaa(T62, less14_in_ga(T62))
part24_in_gaaa(T84) → U4_gaaa(part24_in_gaaa(T84))
part24_in_gaaa(T92) → part24_out_gaaa
U9_aa(qs42_out_aa) → qs42_out_aa
U10_aa(qs42_out_aa) → U11_aa(app57_in_aaaa)
U2_gaaa(T62, less14_out_ga) → part24_out_gaaa
U2_gaaa(T62, less14_out_ga) → U3_gaaa(part24_in_gaaa(T62))
U4_gaaa(part24_out_gaaa) → part24_out_gaaa
U11_aa(app57_out_aaaa) → qs42_out_aa
less14_in_ga(0) → less14_out_ga
less14_in_ga(s(T38)) → U1_ga(less14_in_ga(T38))
U3_gaaa(part24_out_gaaa) → part24_out_gaaa
app57_in_aaaaapp57_out_aaaa
app57_in_aaaaU12_aaaa(app57_in_aaaa)
U1_ga(less14_out_ga) → less14_out_ga
U12_aaaa(app57_out_aaaa) → app57_out_aaaa

The set Q consists of the following terms:

part24_in_aaaa
qs42_in_aa
U2_aaaa(x0)
U4_aaaa(x0)
U5_aa(x0)
U6_aa(x0)
less14_in_aa
U3_aaaa(x0)
U7_aa(x0)
U8_aa(x0)
U1_aa(x0)
part24_in_gaaa(x0)
U9_aa(x0)
U10_aa(x0)
U2_gaaa(x0, x1)
U4_gaaa(x0)
U11_aa(x0)
less14_in_ga(x0)
U3_gaaa(x0)
app57_in_aaaa
U1_ga(x0)
U12_aaaa(x0)

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

(83) Narrowing (SOUND transformation)

By narrowing [LPAR04] the rule U6_AA(part24_out_aaaa) → U8_AA(qs42_in_aa) at position [0] we obtained the following new rules [LPAR04]:

U6_AA(part24_out_aaaa) → U8_AA(qs42_out_aa)
U6_AA(part24_out_aaaa) → U8_AA(U5_aa(part24_in_aaaa))
U6_AA(part24_out_aaaa) → U8_AA(U6_aa(part24_in_aaaa))

(84) Obligation:

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

U6_AA(part24_out_aaaa) → QS42_IN_AA
U8_AA(qs42_out_aa) → QS42_IN_AA
QS42_IN_AAU6_AA(U2_aaaa(less14_in_aa))
QS42_IN_AAU6_AA(U4_aaaa(part24_in_aaaa))
QS42_IN_AAU6_AA(part24_out_aaaa)
U6_AA(part24_out_aaaa) → U8_AA(qs42_out_aa)
U6_AA(part24_out_aaaa) → U8_AA(U5_aa(part24_in_aaaa))
U6_AA(part24_out_aaaa) → U8_AA(U6_aa(part24_in_aaaa))

The TRS R consists of the following rules:

part24_in_aaaaU2_aaaa(less14_in_aa)
part24_in_aaaaU4_aaaa(part24_in_aaaa)
part24_in_aaaapart24_out_aaaa
qs42_in_aaqs42_out_aa
qs42_in_aaU5_aa(part24_in_aaaa)
qs42_in_aaU6_aa(part24_in_aaaa)
U2_aaaa(less14_out_aa(T62)) → part24_out_aaaa
U2_aaaa(less14_out_aa(T62)) → U3_aaaa(part24_in_gaaa(T62))
U4_aaaa(part24_out_aaaa) → part24_out_aaaa
U5_aa(part24_out_aaaa) → qs42_out_aa
U6_aa(part24_out_aaaa) → U7_aa(qs42_in_aa)
U6_aa(part24_out_aaaa) → U8_aa(qs42_in_aa)
less14_in_aaless14_out_aa(0)
less14_in_aaU1_aa(less14_in_aa)
U3_aaaa(part24_out_gaaa) → part24_out_aaaa
U7_aa(qs42_out_aa) → qs42_out_aa
U8_aa(qs42_out_aa) → U9_aa(qs42_in_aa)
U8_aa(qs42_out_aa) → U10_aa(qs42_in_aa)
U1_aa(less14_out_aa(T38)) → less14_out_aa(s(T38))
part24_in_gaaa(T62) → U2_gaaa(T62, less14_in_ga(T62))
part24_in_gaaa(T84) → U4_gaaa(part24_in_gaaa(T84))
part24_in_gaaa(T92) → part24_out_gaaa
U9_aa(qs42_out_aa) → qs42_out_aa
U10_aa(qs42_out_aa) → U11_aa(app57_in_aaaa)
U2_gaaa(T62, less14_out_ga) → part24_out_gaaa
U2_gaaa(T62, less14_out_ga) → U3_gaaa(part24_in_gaaa(T62))
U4_gaaa(part24_out_gaaa) → part24_out_gaaa
U11_aa(app57_out_aaaa) → qs42_out_aa
less14_in_ga(0) → less14_out_ga
less14_in_ga(s(T38)) → U1_ga(less14_in_ga(T38))
U3_gaaa(part24_out_gaaa) → part24_out_gaaa
app57_in_aaaaapp57_out_aaaa
app57_in_aaaaU12_aaaa(app57_in_aaaa)
U1_ga(less14_out_ga) → less14_out_ga
U12_aaaa(app57_out_aaaa) → app57_out_aaaa

The set Q consists of the following terms:

part24_in_aaaa
qs42_in_aa
U2_aaaa(x0)
U4_aaaa(x0)
U5_aa(x0)
U6_aa(x0)
less14_in_aa
U3_aaaa(x0)
U7_aa(x0)
U8_aa(x0)
U1_aa(x0)
part24_in_gaaa(x0)
U9_aa(x0)
U10_aa(x0)
U2_gaaa(x0, x1)
U4_gaaa(x0)
U11_aa(x0)
less14_in_ga(x0)
U3_gaaa(x0)
app57_in_aaaa
U1_ga(x0)
U12_aaaa(x0)

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

(85) 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 = QS42_IN_AA evaluates to t =QS42_IN_AA

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




Rewriting sequence

QS42_IN_AAU6_AA(part24_out_aaaa)
with rule QS42_IN_AAU6_AA(part24_out_aaaa) at position [] and matcher [ ]

U6_AA(part24_out_aaaa)QS42_IN_AA
with rule U6_AA(part24_out_aaaa) → QS42_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.



(86) NO

(87) Obligation:

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

U17_AA(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U19_AA(T22, T23, T24, T9, part24_in_gaaa(T22, T24, T45, T46))
U19_AA(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → QS1_IN_AA(.(T23, T45), X14)
QS1_IN_AA(.(T22, .(T23, T24)), T9) → U17_AA(T22, T23, T24, T9, less14_in_aa(T22, T23))

The TRS R consists of the following rules:

qs1_in_ga([], []) → qs1_out_ga([], [])
qs1_in_ga(.(T22, .(T23, T24)), T9) → U17_ga(T22, T23, T24, T9, less14_in_gg(T22, T23))
less14_in_gg(0, s(T33)) → less14_out_gg(0, s(T33))
less14_in_gg(s(T38), s(T39)) → U1_gg(T38, T39, less14_in_gg(T38, T39))
U1_gg(T38, T39, less14_out_gg(T38, T39)) → less14_out_gg(s(T38), s(T39))
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U18_ga(T22, T23, T24, T9, part24_in_ggaa(T22, T24, X52, X53))
part24_in_ggaa(T62, .(T63, T64), .(T63, X126), X127) → U2_ggaa(T62, T63, T64, X126, X127, less14_in_gg(T62, T63))
U2_ggaa(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → part24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
U2_ggaa(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → U3_ggaa(T62, T63, T64, X126, X127, part24_in_ggaa(T62, T64, X126, X127))
part24_in_ggaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_ggaa(T84, T85, T86, X177, X178, part24_in_ggaa(T84, T86, X177, X178))
part24_in_ggaa(T92, [], [], []) → part24_out_ggaa(T92, [], [], [])
U4_ggaa(T84, T85, T86, X177, X178, part24_out_ggaa(T84, T86, X177, X178)) → part24_out_ggaa(T84, .(T85, T86), X177, .(T85, X178))
U3_ggaa(T62, T63, T64, X126, X127, part24_out_ggaa(T62, T64, X126, X127)) → part24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
U18_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, X52, X53)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U19_ga(T22, T23, T24, T9, part24_in_ggaa(T22, T24, T45, T46))
U19_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U20_ga(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
qs1_in_aa([], []) → qs1_out_aa([], [])
qs1_in_aa(.(T22, .(T23, T24)), T9) → U17_aa(T22, T23, T24, T9, less14_in_aa(T22, T23))
less14_in_aa(0, s(T33)) → less14_out_aa(0, s(T33))
less14_in_aa(s(T38), s(T39)) → U1_aa(T38, T39, less14_in_aa(T38, T39))
U1_aa(T38, T39, less14_out_aa(T38, T39)) → less14_out_aa(s(T38), s(T39))
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U18_aa(T22, T23, T24, T9, part24_in_gaaa(T22, T24, X52, X53))
part24_in_gaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_gaaa(T62, T63, T64, X126, X127, less14_in_ga(T62, T63))
less14_in_ga(0, s(T33)) → less14_out_ga(0, s(T33))
less14_in_ga(s(T38), s(T39)) → U1_ga(T38, T39, less14_in_ga(T38, T39))
U1_ga(T38, T39, less14_out_ga(T38, T39)) → less14_out_ga(s(T38), s(T39))
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → U3_gaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
part24_in_gaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_gaaa(T84, T85, T86, X177, X178, part24_in_gaaa(T84, T86, X177, X178))
part24_in_gaaa(T92, [], [], []) → part24_out_gaaa(T92, [], [], [])
U4_gaaa(T84, T85, T86, X177, X178, part24_out_gaaa(T84, T86, X177, X178)) → part24_out_gaaa(T84, .(T85, T86), X177, .(T85, X178))
U3_gaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U18_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, X52, X53)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U19_aa(T22, T23, T24, T9, part24_in_gaaa(T22, T24, T45, T46))
U19_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U20_aa(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
qs1_in_aa(.(T191, .(T192, T193)), T9) → U23_aa(T191, T192, T193, T9, part24_in_aaaa(T191, T193, X336, X337))
part24_in_aaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_aaaa(T62, T63, T64, X126, X127, less14_in_aa(T62, T63))
U2_aaaa(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → part24_out_aaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_aaaa(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → U3_aaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
U3_aaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_aaaa(T62, .(T63, T64), .(T63, X126), X127)
part24_in_aaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_aaaa(T84, T85, T86, X177, X178, part24_in_aaaa(T84, T86, X177, X178))
part24_in_aaaa(T92, [], [], []) → part24_out_aaaa(T92, [], [], [])
U4_aaaa(T84, T85, T86, X177, X178, part24_out_aaaa(T84, T86, X177, X178)) → part24_out_aaaa(T84, .(T85, T86), X177, .(T85, X178))
U23_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, X336, X337)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
qs1_in_aa(.(T191, .(T192, T193)), T9) → U24_aa(T191, T192, T193, T9, part24_in_aaaa(T191, T193, T197, T198))
U24_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U25_aa(T191, T192, T193, T9, qs42_in_aa(T197, X14))
qs42_in_aa([], []) → qs42_out_aa([], [])
qs42_in_aa(.(T103, T104), X230) → U5_aa(T103, T104, X230, part24_in_aaaa(T103, T104, X226, X227))
U5_aa(T103, T104, X230, part24_out_aaaa(T103, T104, X226, X227)) → qs42_out_aa(.(T103, T104), X230)
qs42_in_aa(.(T103, T104), X230) → U6_aa(T103, T104, X230, part24_in_aaaa(T103, T104, T108, T109))
U6_aa(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U7_aa(T103, T104, X230, qs42_in_aa(T108, X228))
U7_aa(T103, T104, X230, qs42_out_aa(T108, X228)) → qs42_out_aa(.(T103, T104), X230)
U6_aa(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U8_aa(T103, T104, X230, T109, qs42_in_aa(T108, T113))
U8_aa(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U9_aa(T103, T104, X230, qs42_in_aa(T109, X229))
U9_aa(T103, T104, X230, qs42_out_aa(T109, X229)) → qs42_out_aa(.(T103, T104), X230)
U8_aa(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U10_aa(T103, T104, X230, T113, qs42_in_aa(T109, T114))
U10_aa(T103, T104, X230, T113, qs42_out_aa(T109, T114)) → U11_aa(T103, T104, X230, app57_in_aaaa(T113, T103, T114, X230))
app57_in_aaaa([], T127, T128, .(T127, T128)) → app57_out_aaaa([], T127, T128, .(T127, T128))
app57_in_aaaa(.(T137, T138), T139, T140, .(T137, X270)) → U12_aaaa(T137, T138, T139, T140, X270, app57_in_aaaa(T138, T139, T140, X270))
U12_aaaa(T137, T138, T139, T140, X270, app57_out_aaaa(T138, T139, T140, X270)) → app57_out_aaaa(.(T137, T138), T139, T140, .(T137, X270))
U11_aa(T103, T104, X230, app57_out_aaaa(T113, T103, T114, X230)) → qs42_out_aa(.(T103, T104), X230)
U25_aa(T191, T192, T193, T9, qs42_out_aa(T197, X14)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
U24_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U26_aa(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_aa(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_aa(T191, T192, T193, T9, p41_in_aaaaa(.(T192, T198), X15, T202, T191, T9))
p41_in_aaaaa(T46, X15, T95, T22, T9) → U14_aaaaa(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
U14_aaaaa(T46, X15, T95, T22, T9, qs42_out_aa(T46, X15)) → p41_out_aaaaa(T46, X15, T95, T22, T9)
p41_in_aaaaa(T46, T98, T95, T22, T9) → U15_aaaaa(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_aaaaa(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_aaaaa(T46, T98, T95, T22, T9, app43_in_aaaa(T95, T22, T98, T9))
app43_in_aaaa([], T157, T158, .(T157, T158)) → app43_out_aaaa([], T157, T158, .(T157, T158))
app43_in_aaaa(.(T169, T170), T171, T172, .(T169, T174)) → U13_aaaa(T169, T170, T171, T172, T174, app43_in_aaaa(T170, T171, T172, T174))
U13_aaaa(T169, T170, T171, T172, T174, app43_out_aaaa(T170, T171, T172, T174)) → app43_out_aaaa(.(T169, T170), T171, T172, .(T169, T174))
U16_aaaaa(T46, T98, T95, T22, T9, app43_out_aaaa(T95, T22, T98, T9)) → p41_out_aaaaa(T46, T98, T95, T22, T9)
U27_aa(T191, T192, T193, T9, p41_out_aaaaa(.(T192, T198), X15, T202, T191, T9)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
qs1_in_aa(.(T207, []), T9) → U28_aa(T207, T9, qs84_in_a(X14))
qs84_in_a([]) → qs84_out_a([])
U28_aa(T207, T9, qs84_out_a(X14)) → qs1_out_aa(.(T207, []), T9)
qs1_in_aa(.(T207, []), T9) → U29_aa(T207, T9, qs84_in_a(T210))
U29_aa(T207, T9, qs84_out_a(T210)) → U30_aa(T207, T9, qs84_in_a(X15))
U30_aa(T207, T9, qs84_out_a(X15)) → qs1_out_aa(.(T207, []), T9)
U29_aa(T207, T9, qs84_out_a(T210)) → U31_aa(T207, T9, T210, qs84_in_a(T213))
U31_aa(T207, T9, T210, qs84_out_a(T213)) → U32_aa(T207, T9, app43_in_gaga(T210, T207, T213, T9))
app43_in_gaga([], T157, T158, .(T157, T158)) → app43_out_gaga([], T157, T158, .(T157, T158))
app43_in_gaga(.(T169, T170), T171, T172, .(T169, T174)) → U13_gaga(T169, T170, T171, T172, T174, app43_in_gaga(T170, T171, T172, T174))
U13_gaga(T169, T170, T171, T172, T174, app43_out_gaga(T170, T171, T172, T174)) → app43_out_gaga(.(T169, T170), T171, T172, .(T169, T174))
U32_aa(T207, T9, app43_out_gaga(T210, T207, T213, T9)) → qs1_out_aa(.(T207, []), T9)
U20_aa(T22, T23, T24, T9, qs1_out_aa(.(T23, T45), X14)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U21_aa(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_aa(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_aa(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
p41_in_aaaga(T46, X15, T95, T22, T9) → U14_aaaga(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
U14_aaaga(T46, X15, T95, T22, T9, qs42_out_aa(T46, X15)) → p41_out_aaaga(T46, X15, T95, T22, T9)
p41_in_aaaga(T46, T98, T95, T22, T9) → U15_aaaga(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_aaaga(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_aaaga(T46, T98, T95, T22, T9, app43_in_agaa(T95, T22, T98, T9))
app43_in_agaa([], T157, T158, .(T157, T158)) → app43_out_agaa([], T157, T158, .(T157, T158))
app43_in_agaa(.(T169, T170), T171, T172, .(T169, T174)) → U13_agaa(T169, T170, T171, T172, T174, app43_in_agaa(T170, T171, T172, T174))
U13_agaa(T169, T170, T171, T172, T174, app43_out_agaa(T170, T171, T172, T174)) → app43_out_agaa(.(T169, T170), T171, T172, .(T169, T174))
U16_aaaga(T46, T98, T95, T22, T9, app43_out_agaa(T95, T22, T98, T9)) → p41_out_aaaga(T46, T98, T95, T22, T9)
U22_aa(T22, T23, T24, T9, p41_out_aaaga(T46, X15, T95, T22, T9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U20_ga(T22, T23, T24, T9, qs1_out_aa(.(T23, T45), X14)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U21_ga(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_ga(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_ga(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
U22_ga(T22, T23, T24, T9, p41_out_aaaga(T46, X15, T95, T22, T9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
qs1_in_ga(.(T191, .(T192, T193)), T9) → U23_ga(T191, T192, T193, T9, part24_in_ggaa(T191, T193, X336, X337))
U23_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, X336, X337)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
qs1_in_ga(.(T191, .(T192, T193)), T9) → U24_ga(T191, T192, T193, T9, part24_in_ggaa(T191, T193, T197, T198))
U24_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U25_ga(T191, T192, T193, T9, qs42_in_aa(T197, X14))
U25_ga(T191, T192, T193, T9, qs42_out_aa(T197, X14)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
U24_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U26_ga(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_ga(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_ga(T191, T192, T193, T9, p41_in_aaaga(.(T192, T198), X15, T202, T191, T9))
U27_ga(T191, T192, T193, T9, p41_out_aaaga(.(T192, T198), X15, T202, T191, T9)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
qs1_in_ga(.(T207, []), T9) → U28_ga(T207, T9, qs84_in_a(X14))
U28_ga(T207, T9, qs84_out_a(X14)) → qs1_out_ga(.(T207, []), T9)
qs1_in_ga(.(T207, []), T9) → U29_ga(T207, T9, qs84_in_a(T210))
U29_ga(T207, T9, qs84_out_a(T210)) → U30_ga(T207, T9, qs84_in_a(X15))
U30_ga(T207, T9, qs84_out_a(X15)) → qs1_out_ga(.(T207, []), T9)
U29_ga(T207, T9, qs84_out_a(T210)) → U31_ga(T207, T9, T210, qs84_in_a(T213))
U31_ga(T207, T9, T210, qs84_out_a(T213)) → U32_ga(T207, T9, app43_in_ggga(T210, T207, T213, T9))
app43_in_ggga([], T157, T158, .(T157, T158)) → app43_out_ggga([], T157, T158, .(T157, T158))
app43_in_ggga(.(T169, T170), T171, T172, .(T169, T174)) → U13_ggga(T169, T170, T171, T172, T174, app43_in_ggga(T170, T171, T172, T174))
U13_ggga(T169, T170, T171, T172, T174, app43_out_ggga(T170, T171, T172, T174)) → app43_out_ggga(.(T169, T170), T171, T172, .(T169, T174))
U32_ga(T207, T9, app43_out_ggga(T210, T207, T213, T9)) → qs1_out_ga(.(T207, []), T9)

The argument filtering Pi contains the following mapping:
qs1_in_ga(x1, x2)  =  qs1_in_ga(x1)
[]  =  []
qs1_out_ga(x1, x2)  =  qs1_out_ga
.(x1, x2)  =  .(x1, x2)
U17_ga(x1, x2, x3, x4, x5)  =  U17_ga(x1, x3, x5)
less14_in_gg(x1, x2)  =  less14_in_gg(x1, x2)
0  =  0
s(x1)  =  s(x1)
less14_out_gg(x1, x2)  =  less14_out_gg
U1_gg(x1, x2, x3)  =  U1_gg(x3)
U18_ga(x1, x2, x3, x4, x5)  =  U18_ga(x5)
part24_in_ggaa(x1, x2, x3, x4)  =  part24_in_ggaa(x1, x2)
U2_ggaa(x1, x2, x3, x4, x5, x6)  =  U2_ggaa(x1, x3, x6)
part24_out_ggaa(x1, x2, x3, x4)  =  part24_out_ggaa
U3_ggaa(x1, x2, x3, x4, x5, x6)  =  U3_ggaa(x6)
U4_ggaa(x1, x2, x3, x4, x5, x6)  =  U4_ggaa(x6)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x5)
U20_ga(x1, x2, x3, x4, x5)  =  U20_ga(x5)
qs1_in_aa(x1, x2)  =  qs1_in_aa
qs1_out_aa(x1, x2)  =  qs1_out_aa
U17_aa(x1, x2, x3, x4, x5)  =  U17_aa(x5)
less14_in_aa(x1, x2)  =  less14_in_aa
less14_out_aa(x1, x2)  =  less14_out_aa(x1)
U1_aa(x1, x2, x3)  =  U1_aa(x3)
U18_aa(x1, x2, x3, x4, x5)  =  U18_aa(x5)
part24_in_gaaa(x1, x2, x3, x4)  =  part24_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x1, x6)
less14_in_ga(x1, x2)  =  less14_in_ga(x1)
less14_out_ga(x1, x2)  =  less14_out_ga
U1_ga(x1, x2, x3)  =  U1_ga(x3)
part24_out_gaaa(x1, x2, x3, x4)  =  part24_out_gaaa
U3_gaaa(x1, x2, x3, x4, x5, x6)  =  U3_gaaa(x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x6)
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(x1, x5)
U20_aa(x1, x2, x3, x4, x5)  =  U20_aa(x5)
U23_aa(x1, x2, x3, x4, x5)  =  U23_aa(x5)
part24_in_aaaa(x1, x2, x3, x4)  =  part24_in_aaaa
U2_aaaa(x1, x2, x3, x4, x5, x6)  =  U2_aaaa(x6)
part24_out_aaaa(x1, x2, x3, x4)  =  part24_out_aaaa
U3_aaaa(x1, x2, x3, x4, x5, x6)  =  U3_aaaa(x6)
U4_aaaa(x1, x2, x3, x4, x5, x6)  =  U4_aaaa(x6)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
qs42_in_aa(x1, x2)  =  qs42_in_aa
qs42_out_aa(x1, x2)  =  qs42_out_aa
U5_aa(x1, x2, x3, x4)  =  U5_aa(x4)
U6_aa(x1, x2, x3, x4)  =  U6_aa(x4)
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
U8_aa(x1, x2, x3, x4, x5)  =  U8_aa(x5)
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)
app57_in_aaaa(x1, x2, x3, x4)  =  app57_in_aaaa
app57_out_aaaa(x1, x2, x3, x4)  =  app57_out_aaaa
U12_aaaa(x1, x2, x3, x4, x5, x6)  =  U12_aaaa(x6)
U26_aa(x1, x2, x3, x4, x5, x6)  =  U26_aa(x6)
U27_aa(x1, x2, x3, x4, x5)  =  U27_aa(x5)
p41_in_aaaaa(x1, x2, x3, x4, x5)  =  p41_in_aaaaa
U14_aaaaa(x1, x2, x3, x4, x5, x6)  =  U14_aaaaa(x6)
p41_out_aaaaa(x1, x2, x3, x4, x5)  =  p41_out_aaaaa
U15_aaaaa(x1, x2, x3, x4, x5, x6)  =  U15_aaaaa(x6)
U16_aaaaa(x1, x2, x3, x4, x5, x6)  =  U16_aaaaa(x6)
app43_in_aaaa(x1, x2, x3, x4)  =  app43_in_aaaa
app43_out_aaaa(x1, x2, x3, x4)  =  app43_out_aaaa
U13_aaaa(x1, x2, x3, x4, x5, x6)  =  U13_aaaa(x6)
U28_aa(x1, x2, x3)  =  U28_aa(x3)
qs84_in_a(x1)  =  qs84_in_a
qs84_out_a(x1)  =  qs84_out_a(x1)
U29_aa(x1, x2, x3)  =  U29_aa(x3)
U30_aa(x1, x2, x3)  =  U30_aa(x3)
U31_aa(x1, x2, x3, x4)  =  U31_aa(x3, x4)
U32_aa(x1, x2, x3)  =  U32_aa(x3)
app43_in_gaga(x1, x2, x3, x4)  =  app43_in_gaga(x1, x3)
app43_out_gaga(x1, x2, x3, x4)  =  app43_out_gaga
U13_gaga(x1, x2, x3, x4, x5, x6)  =  U13_gaga(x6)
U21_aa(x1, x2, x3, x4, x5, x6)  =  U21_aa(x1, x6)
U22_aa(x1, x2, x3, x4, x5)  =  U22_aa(x5)
p41_in_aaaga(x1, x2, x3, x4, x5)  =  p41_in_aaaga(x4)
U14_aaaga(x1, x2, x3, x4, x5, x6)  =  U14_aaaga(x6)
p41_out_aaaga(x1, x2, x3, x4, x5)  =  p41_out_aaaga
U15_aaaga(x1, x2, x3, x4, x5, x6)  =  U15_aaaga(x4, x6)
U16_aaaga(x1, x2, x3, x4, x5, x6)  =  U16_aaaga(x6)
app43_in_agaa(x1, x2, x3, x4)  =  app43_in_agaa(x2)
app43_out_agaa(x1, x2, x3, x4)  =  app43_out_agaa
U13_agaa(x1, x2, x3, x4, x5, x6)  =  U13_agaa(x6)
U21_ga(x1, x2, x3, x4, x5, x6)  =  U21_ga(x1, x6)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x5)
U23_ga(x1, x2, x3, x4, x5)  =  U23_ga(x5)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x1, x5)
U25_ga(x1, x2, x3, x4, x5)  =  U25_ga(x5)
U26_ga(x1, x2, x3, x4, x5, x6)  =  U26_ga(x1, x6)
U27_ga(x1, x2, x3, x4, x5)  =  U27_ga(x5)
U28_ga(x1, x2, x3)  =  U28_ga(x3)
U29_ga(x1, x2, x3)  =  U29_ga(x1, x3)
U30_ga(x1, x2, x3)  =  U30_ga(x3)
U31_ga(x1, x2, x3, x4)  =  U31_ga(x1, x3, x4)
U32_ga(x1, x2, x3)  =  U32_ga(x3)
app43_in_ggga(x1, x2, x3, x4)  =  app43_in_ggga(x1, x2, x3)
app43_out_ggga(x1, x2, x3, x4)  =  app43_out_ggga(x4)
U13_ggga(x1, x2, x3, x4, x5, x6)  =  U13_ggga(x1, x6)
QS1_IN_AA(x1, x2)  =  QS1_IN_AA
U17_AA(x1, x2, x3, x4, x5)  =  U17_AA(x5)
U19_AA(x1, x2, x3, x4, x5)  =  U19_AA(x1, x5)

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

(88) UsableRulesProof (EQUIVALENT transformation)

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

(89) Obligation:

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

U17_AA(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U19_AA(T22, T23, T24, T9, part24_in_gaaa(T22, T24, T45, T46))
U19_AA(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → QS1_IN_AA(.(T23, T45), X14)
QS1_IN_AA(.(T22, .(T23, T24)), T9) → U17_AA(T22, T23, T24, T9, less14_in_aa(T22, T23))

The TRS R consists of the following rules:

part24_in_gaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_gaaa(T62, T63, T64, X126, X127, less14_in_ga(T62, T63))
part24_in_gaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_gaaa(T84, T85, T86, X177, X178, part24_in_gaaa(T84, T86, X177, X178))
part24_in_gaaa(T92, [], [], []) → part24_out_gaaa(T92, [], [], [])
less14_in_aa(0, s(T33)) → less14_out_aa(0, s(T33))
less14_in_aa(s(T38), s(T39)) → U1_aa(T38, T39, less14_in_aa(T38, T39))
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → U3_gaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
U4_gaaa(T84, T85, T86, X177, X178, part24_out_gaaa(T84, T86, X177, X178)) → part24_out_gaaa(T84, .(T85, T86), X177, .(T85, X178))
U1_aa(T38, T39, less14_out_aa(T38, T39)) → less14_out_aa(s(T38), s(T39))
less14_in_ga(0, s(T33)) → less14_out_ga(0, s(T33))
less14_in_ga(s(T38), s(T39)) → U1_ga(T38, T39, less14_in_ga(T38, T39))
U3_gaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U1_ga(T38, T39, less14_out_ga(T38, T39)) → less14_out_ga(s(T38), s(T39))

The argument filtering Pi contains the following mapping:
[]  =  []
.(x1, x2)  =  .(x1, x2)
0  =  0
s(x1)  =  s(x1)
less14_in_aa(x1, x2)  =  less14_in_aa
less14_out_aa(x1, x2)  =  less14_out_aa(x1)
U1_aa(x1, x2, x3)  =  U1_aa(x3)
part24_in_gaaa(x1, x2, x3, x4)  =  part24_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x1, x6)
less14_in_ga(x1, x2)  =  less14_in_ga(x1)
less14_out_ga(x1, x2)  =  less14_out_ga
U1_ga(x1, x2, x3)  =  U1_ga(x3)
part24_out_gaaa(x1, x2, x3, x4)  =  part24_out_gaaa
U3_gaaa(x1, x2, x3, x4, x5, x6)  =  U3_gaaa(x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x6)
QS1_IN_AA(x1, x2)  =  QS1_IN_AA
U17_AA(x1, x2, x3, x4, x5)  =  U17_AA(x5)
U19_AA(x1, x2, x3, x4, x5)  =  U19_AA(x1, x5)

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

(90) PiDPToQDPProof (SOUND transformation)

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

(91) Obligation:

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

U17_AA(less14_out_aa(T22)) → U19_AA(T22, part24_in_gaaa(T22))
U19_AA(T22, part24_out_gaaa) → QS1_IN_AA
QS1_IN_AAU17_AA(less14_in_aa)

The TRS R consists of the following rules:

part24_in_gaaa(T62) → U2_gaaa(T62, less14_in_ga(T62))
part24_in_gaaa(T84) → U4_gaaa(part24_in_gaaa(T84))
part24_in_gaaa(T92) → part24_out_gaaa
less14_in_aaless14_out_aa(0)
less14_in_aaU1_aa(less14_in_aa)
U2_gaaa(T62, less14_out_ga) → part24_out_gaaa
U2_gaaa(T62, less14_out_ga) → U3_gaaa(part24_in_gaaa(T62))
U4_gaaa(part24_out_gaaa) → part24_out_gaaa
U1_aa(less14_out_aa(T38)) → less14_out_aa(s(T38))
less14_in_ga(0) → less14_out_ga
less14_in_ga(s(T38)) → U1_ga(less14_in_ga(T38))
U3_gaaa(part24_out_gaaa) → part24_out_gaaa
U1_ga(less14_out_ga) → less14_out_ga

The set Q consists of the following terms:

part24_in_gaaa(x0)
less14_in_aa
U2_gaaa(x0, x1)
U4_gaaa(x0)
U1_aa(x0)
less14_in_ga(x0)
U3_gaaa(x0)
U1_ga(x0)

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

(92) Narrowing (SOUND transformation)

By narrowing [LPAR04] the rule U17_AA(less14_out_aa(T22)) → U19_AA(T22, part24_in_gaaa(T22)) at position [1] we obtained the following new rules [LPAR04]:

U17_AA(less14_out_aa(x0)) → U19_AA(x0, U2_gaaa(x0, less14_in_ga(x0)))
U17_AA(less14_out_aa(x0)) → U19_AA(x0, U4_gaaa(part24_in_gaaa(x0)))
U17_AA(less14_out_aa(x0)) → U19_AA(x0, part24_out_gaaa)

(93) Obligation:

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

U19_AA(T22, part24_out_gaaa) → QS1_IN_AA
QS1_IN_AAU17_AA(less14_in_aa)
U17_AA(less14_out_aa(x0)) → U19_AA(x0, U2_gaaa(x0, less14_in_ga(x0)))
U17_AA(less14_out_aa(x0)) → U19_AA(x0, U4_gaaa(part24_in_gaaa(x0)))
U17_AA(less14_out_aa(x0)) → U19_AA(x0, part24_out_gaaa)

The TRS R consists of the following rules:

part24_in_gaaa(T62) → U2_gaaa(T62, less14_in_ga(T62))
part24_in_gaaa(T84) → U4_gaaa(part24_in_gaaa(T84))
part24_in_gaaa(T92) → part24_out_gaaa
less14_in_aaless14_out_aa(0)
less14_in_aaU1_aa(less14_in_aa)
U2_gaaa(T62, less14_out_ga) → part24_out_gaaa
U2_gaaa(T62, less14_out_ga) → U3_gaaa(part24_in_gaaa(T62))
U4_gaaa(part24_out_gaaa) → part24_out_gaaa
U1_aa(less14_out_aa(T38)) → less14_out_aa(s(T38))
less14_in_ga(0) → less14_out_ga
less14_in_ga(s(T38)) → U1_ga(less14_in_ga(T38))
U3_gaaa(part24_out_gaaa) → part24_out_gaaa
U1_ga(less14_out_ga) → less14_out_ga

The set Q consists of the following terms:

part24_in_gaaa(x0)
less14_in_aa
U2_gaaa(x0, x1)
U4_gaaa(x0)
U1_aa(x0)
less14_in_ga(x0)
U3_gaaa(x0)
U1_ga(x0)

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

(94) Narrowing (SOUND transformation)

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

QS1_IN_AAU17_AA(less14_out_aa(0))
QS1_IN_AAU17_AA(U1_aa(less14_in_aa))

(95) Obligation:

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

U19_AA(T22, part24_out_gaaa) → QS1_IN_AA
U17_AA(less14_out_aa(x0)) → U19_AA(x0, U2_gaaa(x0, less14_in_ga(x0)))
U17_AA(less14_out_aa(x0)) → U19_AA(x0, U4_gaaa(part24_in_gaaa(x0)))
U17_AA(less14_out_aa(x0)) → U19_AA(x0, part24_out_gaaa)
QS1_IN_AAU17_AA(less14_out_aa(0))
QS1_IN_AAU17_AA(U1_aa(less14_in_aa))

The TRS R consists of the following rules:

part24_in_gaaa(T62) → U2_gaaa(T62, less14_in_ga(T62))
part24_in_gaaa(T84) → U4_gaaa(part24_in_gaaa(T84))
part24_in_gaaa(T92) → part24_out_gaaa
less14_in_aaless14_out_aa(0)
less14_in_aaU1_aa(less14_in_aa)
U2_gaaa(T62, less14_out_ga) → part24_out_gaaa
U2_gaaa(T62, less14_out_ga) → U3_gaaa(part24_in_gaaa(T62))
U4_gaaa(part24_out_gaaa) → part24_out_gaaa
U1_aa(less14_out_aa(T38)) → less14_out_aa(s(T38))
less14_in_ga(0) → less14_out_ga
less14_in_ga(s(T38)) → U1_ga(less14_in_ga(T38))
U3_gaaa(part24_out_gaaa) → part24_out_gaaa
U1_ga(less14_out_ga) → less14_out_ga

The set Q consists of the following terms:

part24_in_gaaa(x0)
less14_in_aa
U2_gaaa(x0, x1)
U4_gaaa(x0)
U1_aa(x0)
less14_in_ga(x0)
U3_gaaa(x0)
U1_ga(x0)

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

(96) 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_AAU17_AA(less14_out_aa(0))
with rule QS1_IN_AAU17_AA(less14_out_aa(0)) at position [] and matcher [ ]

U17_AA(less14_out_aa(0))U19_AA(0, part24_out_gaaa)
with rule U17_AA(less14_out_aa(x0)) → U19_AA(x0, part24_out_gaaa) at position [] and matcher [x0 / 0]

U19_AA(0, part24_out_gaaa)QS1_IN_AA
with rule U19_AA(T22, part24_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.



(97) NO

(98) Obligation:

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

LESS14_IN_GG(s(T38), s(T39)) → LESS14_IN_GG(T38, T39)

The TRS R consists of the following rules:

qs1_in_ga([], []) → qs1_out_ga([], [])
qs1_in_ga(.(T22, .(T23, T24)), T9) → U17_ga(T22, T23, T24, T9, less14_in_gg(T22, T23))
less14_in_gg(0, s(T33)) → less14_out_gg(0, s(T33))
less14_in_gg(s(T38), s(T39)) → U1_gg(T38, T39, less14_in_gg(T38, T39))
U1_gg(T38, T39, less14_out_gg(T38, T39)) → less14_out_gg(s(T38), s(T39))
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U18_ga(T22, T23, T24, T9, part24_in_ggaa(T22, T24, X52, X53))
part24_in_ggaa(T62, .(T63, T64), .(T63, X126), X127) → U2_ggaa(T62, T63, T64, X126, X127, less14_in_gg(T62, T63))
U2_ggaa(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → part24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
U2_ggaa(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → U3_ggaa(T62, T63, T64, X126, X127, part24_in_ggaa(T62, T64, X126, X127))
part24_in_ggaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_ggaa(T84, T85, T86, X177, X178, part24_in_ggaa(T84, T86, X177, X178))
part24_in_ggaa(T92, [], [], []) → part24_out_ggaa(T92, [], [], [])
U4_ggaa(T84, T85, T86, X177, X178, part24_out_ggaa(T84, T86, X177, X178)) → part24_out_ggaa(T84, .(T85, T86), X177, .(T85, X178))
U3_ggaa(T62, T63, T64, X126, X127, part24_out_ggaa(T62, T64, X126, X127)) → part24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
U18_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, X52, X53)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U19_ga(T22, T23, T24, T9, part24_in_ggaa(T22, T24, T45, T46))
U19_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U20_ga(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
qs1_in_aa([], []) → qs1_out_aa([], [])
qs1_in_aa(.(T22, .(T23, T24)), T9) → U17_aa(T22, T23, T24, T9, less14_in_aa(T22, T23))
less14_in_aa(0, s(T33)) → less14_out_aa(0, s(T33))
less14_in_aa(s(T38), s(T39)) → U1_aa(T38, T39, less14_in_aa(T38, T39))
U1_aa(T38, T39, less14_out_aa(T38, T39)) → less14_out_aa(s(T38), s(T39))
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U18_aa(T22, T23, T24, T9, part24_in_gaaa(T22, T24, X52, X53))
part24_in_gaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_gaaa(T62, T63, T64, X126, X127, less14_in_ga(T62, T63))
less14_in_ga(0, s(T33)) → less14_out_ga(0, s(T33))
less14_in_ga(s(T38), s(T39)) → U1_ga(T38, T39, less14_in_ga(T38, T39))
U1_ga(T38, T39, less14_out_ga(T38, T39)) → less14_out_ga(s(T38), s(T39))
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → U3_gaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
part24_in_gaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_gaaa(T84, T85, T86, X177, X178, part24_in_gaaa(T84, T86, X177, X178))
part24_in_gaaa(T92, [], [], []) → part24_out_gaaa(T92, [], [], [])
U4_gaaa(T84, T85, T86, X177, X178, part24_out_gaaa(T84, T86, X177, X178)) → part24_out_gaaa(T84, .(T85, T86), X177, .(T85, X178))
U3_gaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U18_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, X52, X53)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U19_aa(T22, T23, T24, T9, part24_in_gaaa(T22, T24, T45, T46))
U19_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U20_aa(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
qs1_in_aa(.(T191, .(T192, T193)), T9) → U23_aa(T191, T192, T193, T9, part24_in_aaaa(T191, T193, X336, X337))
part24_in_aaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_aaaa(T62, T63, T64, X126, X127, less14_in_aa(T62, T63))
U2_aaaa(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → part24_out_aaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_aaaa(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → U3_aaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
U3_aaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_aaaa(T62, .(T63, T64), .(T63, X126), X127)
part24_in_aaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_aaaa(T84, T85, T86, X177, X178, part24_in_aaaa(T84, T86, X177, X178))
part24_in_aaaa(T92, [], [], []) → part24_out_aaaa(T92, [], [], [])
U4_aaaa(T84, T85, T86, X177, X178, part24_out_aaaa(T84, T86, X177, X178)) → part24_out_aaaa(T84, .(T85, T86), X177, .(T85, X178))
U23_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, X336, X337)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
qs1_in_aa(.(T191, .(T192, T193)), T9) → U24_aa(T191, T192, T193, T9, part24_in_aaaa(T191, T193, T197, T198))
U24_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U25_aa(T191, T192, T193, T9, qs42_in_aa(T197, X14))
qs42_in_aa([], []) → qs42_out_aa([], [])
qs42_in_aa(.(T103, T104), X230) → U5_aa(T103, T104, X230, part24_in_aaaa(T103, T104, X226, X227))
U5_aa(T103, T104, X230, part24_out_aaaa(T103, T104, X226, X227)) → qs42_out_aa(.(T103, T104), X230)
qs42_in_aa(.(T103, T104), X230) → U6_aa(T103, T104, X230, part24_in_aaaa(T103, T104, T108, T109))
U6_aa(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U7_aa(T103, T104, X230, qs42_in_aa(T108, X228))
U7_aa(T103, T104, X230, qs42_out_aa(T108, X228)) → qs42_out_aa(.(T103, T104), X230)
U6_aa(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U8_aa(T103, T104, X230, T109, qs42_in_aa(T108, T113))
U8_aa(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U9_aa(T103, T104, X230, qs42_in_aa(T109, X229))
U9_aa(T103, T104, X230, qs42_out_aa(T109, X229)) → qs42_out_aa(.(T103, T104), X230)
U8_aa(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U10_aa(T103, T104, X230, T113, qs42_in_aa(T109, T114))
U10_aa(T103, T104, X230, T113, qs42_out_aa(T109, T114)) → U11_aa(T103, T104, X230, app57_in_aaaa(T113, T103, T114, X230))
app57_in_aaaa([], T127, T128, .(T127, T128)) → app57_out_aaaa([], T127, T128, .(T127, T128))
app57_in_aaaa(.(T137, T138), T139, T140, .(T137, X270)) → U12_aaaa(T137, T138, T139, T140, X270, app57_in_aaaa(T138, T139, T140, X270))
U12_aaaa(T137, T138, T139, T140, X270, app57_out_aaaa(T138, T139, T140, X270)) → app57_out_aaaa(.(T137, T138), T139, T140, .(T137, X270))
U11_aa(T103, T104, X230, app57_out_aaaa(T113, T103, T114, X230)) → qs42_out_aa(.(T103, T104), X230)
U25_aa(T191, T192, T193, T9, qs42_out_aa(T197, X14)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
U24_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U26_aa(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_aa(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_aa(T191, T192, T193, T9, p41_in_aaaaa(.(T192, T198), X15, T202, T191, T9))
p41_in_aaaaa(T46, X15, T95, T22, T9) → U14_aaaaa(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
U14_aaaaa(T46, X15, T95, T22, T9, qs42_out_aa(T46, X15)) → p41_out_aaaaa(T46, X15, T95, T22, T9)
p41_in_aaaaa(T46, T98, T95, T22, T9) → U15_aaaaa(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_aaaaa(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_aaaaa(T46, T98, T95, T22, T9, app43_in_aaaa(T95, T22, T98, T9))
app43_in_aaaa([], T157, T158, .(T157, T158)) → app43_out_aaaa([], T157, T158, .(T157, T158))
app43_in_aaaa(.(T169, T170), T171, T172, .(T169, T174)) → U13_aaaa(T169, T170, T171, T172, T174, app43_in_aaaa(T170, T171, T172, T174))
U13_aaaa(T169, T170, T171, T172, T174, app43_out_aaaa(T170, T171, T172, T174)) → app43_out_aaaa(.(T169, T170), T171, T172, .(T169, T174))
U16_aaaaa(T46, T98, T95, T22, T9, app43_out_aaaa(T95, T22, T98, T9)) → p41_out_aaaaa(T46, T98, T95, T22, T9)
U27_aa(T191, T192, T193, T9, p41_out_aaaaa(.(T192, T198), X15, T202, T191, T9)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
qs1_in_aa(.(T207, []), T9) → U28_aa(T207, T9, qs84_in_a(X14))
qs84_in_a([]) → qs84_out_a([])
U28_aa(T207, T9, qs84_out_a(X14)) → qs1_out_aa(.(T207, []), T9)
qs1_in_aa(.(T207, []), T9) → U29_aa(T207, T9, qs84_in_a(T210))
U29_aa(T207, T9, qs84_out_a(T210)) → U30_aa(T207, T9, qs84_in_a(X15))
U30_aa(T207, T9, qs84_out_a(X15)) → qs1_out_aa(.(T207, []), T9)
U29_aa(T207, T9, qs84_out_a(T210)) → U31_aa(T207, T9, T210, qs84_in_a(T213))
U31_aa(T207, T9, T210, qs84_out_a(T213)) → U32_aa(T207, T9, app43_in_gaga(T210, T207, T213, T9))
app43_in_gaga([], T157, T158, .(T157, T158)) → app43_out_gaga([], T157, T158, .(T157, T158))
app43_in_gaga(.(T169, T170), T171, T172, .(T169, T174)) → U13_gaga(T169, T170, T171, T172, T174, app43_in_gaga(T170, T171, T172, T174))
U13_gaga(T169, T170, T171, T172, T174, app43_out_gaga(T170, T171, T172, T174)) → app43_out_gaga(.(T169, T170), T171, T172, .(T169, T174))
U32_aa(T207, T9, app43_out_gaga(T210, T207, T213, T9)) → qs1_out_aa(.(T207, []), T9)
U20_aa(T22, T23, T24, T9, qs1_out_aa(.(T23, T45), X14)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U21_aa(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_aa(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_aa(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
p41_in_aaaga(T46, X15, T95, T22, T9) → U14_aaaga(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
U14_aaaga(T46, X15, T95, T22, T9, qs42_out_aa(T46, X15)) → p41_out_aaaga(T46, X15, T95, T22, T9)
p41_in_aaaga(T46, T98, T95, T22, T9) → U15_aaaga(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_aaaga(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_aaaga(T46, T98, T95, T22, T9, app43_in_agaa(T95, T22, T98, T9))
app43_in_agaa([], T157, T158, .(T157, T158)) → app43_out_agaa([], T157, T158, .(T157, T158))
app43_in_agaa(.(T169, T170), T171, T172, .(T169, T174)) → U13_agaa(T169, T170, T171, T172, T174, app43_in_agaa(T170, T171, T172, T174))
U13_agaa(T169, T170, T171, T172, T174, app43_out_agaa(T170, T171, T172, T174)) → app43_out_agaa(.(T169, T170), T171, T172, .(T169, T174))
U16_aaaga(T46, T98, T95, T22, T9, app43_out_agaa(T95, T22, T98, T9)) → p41_out_aaaga(T46, T98, T95, T22, T9)
U22_aa(T22, T23, T24, T9, p41_out_aaaga(T46, X15, T95, T22, T9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U20_ga(T22, T23, T24, T9, qs1_out_aa(.(T23, T45), X14)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U21_ga(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_ga(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_ga(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
U22_ga(T22, T23, T24, T9, p41_out_aaaga(T46, X15, T95, T22, T9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
qs1_in_ga(.(T191, .(T192, T193)), T9) → U23_ga(T191, T192, T193, T9, part24_in_ggaa(T191, T193, X336, X337))
U23_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, X336, X337)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
qs1_in_ga(.(T191, .(T192, T193)), T9) → U24_ga(T191, T192, T193, T9, part24_in_ggaa(T191, T193, T197, T198))
U24_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U25_ga(T191, T192, T193, T9, qs42_in_aa(T197, X14))
U25_ga(T191, T192, T193, T9, qs42_out_aa(T197, X14)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
U24_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U26_ga(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_ga(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_ga(T191, T192, T193, T9, p41_in_aaaga(.(T192, T198), X15, T202, T191, T9))
U27_ga(T191, T192, T193, T9, p41_out_aaaga(.(T192, T198), X15, T202, T191, T9)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
qs1_in_ga(.(T207, []), T9) → U28_ga(T207, T9, qs84_in_a(X14))
U28_ga(T207, T9, qs84_out_a(X14)) → qs1_out_ga(.(T207, []), T9)
qs1_in_ga(.(T207, []), T9) → U29_ga(T207, T9, qs84_in_a(T210))
U29_ga(T207, T9, qs84_out_a(T210)) → U30_ga(T207, T9, qs84_in_a(X15))
U30_ga(T207, T9, qs84_out_a(X15)) → qs1_out_ga(.(T207, []), T9)
U29_ga(T207, T9, qs84_out_a(T210)) → U31_ga(T207, T9, T210, qs84_in_a(T213))
U31_ga(T207, T9, T210, qs84_out_a(T213)) → U32_ga(T207, T9, app43_in_ggga(T210, T207, T213, T9))
app43_in_ggga([], T157, T158, .(T157, T158)) → app43_out_ggga([], T157, T158, .(T157, T158))
app43_in_ggga(.(T169, T170), T171, T172, .(T169, T174)) → U13_ggga(T169, T170, T171, T172, T174, app43_in_ggga(T170, T171, T172, T174))
U13_ggga(T169, T170, T171, T172, T174, app43_out_ggga(T170, T171, T172, T174)) → app43_out_ggga(.(T169, T170), T171, T172, .(T169, T174))
U32_ga(T207, T9, app43_out_ggga(T210, T207, T213, T9)) → qs1_out_ga(.(T207, []), T9)

The argument filtering Pi contains the following mapping:
qs1_in_ga(x1, x2)  =  qs1_in_ga(x1)
[]  =  []
qs1_out_ga(x1, x2)  =  qs1_out_ga
.(x1, x2)  =  .(x1, x2)
U17_ga(x1, x2, x3, x4, x5)  =  U17_ga(x1, x3, x5)
less14_in_gg(x1, x2)  =  less14_in_gg(x1, x2)
0  =  0
s(x1)  =  s(x1)
less14_out_gg(x1, x2)  =  less14_out_gg
U1_gg(x1, x2, x3)  =  U1_gg(x3)
U18_ga(x1, x2, x3, x4, x5)  =  U18_ga(x5)
part24_in_ggaa(x1, x2, x3, x4)  =  part24_in_ggaa(x1, x2)
U2_ggaa(x1, x2, x3, x4, x5, x6)  =  U2_ggaa(x1, x3, x6)
part24_out_ggaa(x1, x2, x3, x4)  =  part24_out_ggaa
U3_ggaa(x1, x2, x3, x4, x5, x6)  =  U3_ggaa(x6)
U4_ggaa(x1, x2, x3, x4, x5, x6)  =  U4_ggaa(x6)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x5)
U20_ga(x1, x2, x3, x4, x5)  =  U20_ga(x5)
qs1_in_aa(x1, x2)  =  qs1_in_aa
qs1_out_aa(x1, x2)  =  qs1_out_aa
U17_aa(x1, x2, x3, x4, x5)  =  U17_aa(x5)
less14_in_aa(x1, x2)  =  less14_in_aa
less14_out_aa(x1, x2)  =  less14_out_aa(x1)
U1_aa(x1, x2, x3)  =  U1_aa(x3)
U18_aa(x1, x2, x3, x4, x5)  =  U18_aa(x5)
part24_in_gaaa(x1, x2, x3, x4)  =  part24_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x1, x6)
less14_in_ga(x1, x2)  =  less14_in_ga(x1)
less14_out_ga(x1, x2)  =  less14_out_ga
U1_ga(x1, x2, x3)  =  U1_ga(x3)
part24_out_gaaa(x1, x2, x3, x4)  =  part24_out_gaaa
U3_gaaa(x1, x2, x3, x4, x5, x6)  =  U3_gaaa(x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x6)
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(x1, x5)
U20_aa(x1, x2, x3, x4, x5)  =  U20_aa(x5)
U23_aa(x1, x2, x3, x4, x5)  =  U23_aa(x5)
part24_in_aaaa(x1, x2, x3, x4)  =  part24_in_aaaa
U2_aaaa(x1, x2, x3, x4, x5, x6)  =  U2_aaaa(x6)
part24_out_aaaa(x1, x2, x3, x4)  =  part24_out_aaaa
U3_aaaa(x1, x2, x3, x4, x5, x6)  =  U3_aaaa(x6)
U4_aaaa(x1, x2, x3, x4, x5, x6)  =  U4_aaaa(x6)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
qs42_in_aa(x1, x2)  =  qs42_in_aa
qs42_out_aa(x1, x2)  =  qs42_out_aa
U5_aa(x1, x2, x3, x4)  =  U5_aa(x4)
U6_aa(x1, x2, x3, x4)  =  U6_aa(x4)
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
U8_aa(x1, x2, x3, x4, x5)  =  U8_aa(x5)
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)
app57_in_aaaa(x1, x2, x3, x4)  =  app57_in_aaaa
app57_out_aaaa(x1, x2, x3, x4)  =  app57_out_aaaa
U12_aaaa(x1, x2, x3, x4, x5, x6)  =  U12_aaaa(x6)
U26_aa(x1, x2, x3, x4, x5, x6)  =  U26_aa(x6)
U27_aa(x1, x2, x3, x4, x5)  =  U27_aa(x5)
p41_in_aaaaa(x1, x2, x3, x4, x5)  =  p41_in_aaaaa
U14_aaaaa(x1, x2, x3, x4, x5, x6)  =  U14_aaaaa(x6)
p41_out_aaaaa(x1, x2, x3, x4, x5)  =  p41_out_aaaaa
U15_aaaaa(x1, x2, x3, x4, x5, x6)  =  U15_aaaaa(x6)
U16_aaaaa(x1, x2, x3, x4, x5, x6)  =  U16_aaaaa(x6)
app43_in_aaaa(x1, x2, x3, x4)  =  app43_in_aaaa
app43_out_aaaa(x1, x2, x3, x4)  =  app43_out_aaaa
U13_aaaa(x1, x2, x3, x4, x5, x6)  =  U13_aaaa(x6)
U28_aa(x1, x2, x3)  =  U28_aa(x3)
qs84_in_a(x1)  =  qs84_in_a
qs84_out_a(x1)  =  qs84_out_a(x1)
U29_aa(x1, x2, x3)  =  U29_aa(x3)
U30_aa(x1, x2, x3)  =  U30_aa(x3)
U31_aa(x1, x2, x3, x4)  =  U31_aa(x3, x4)
U32_aa(x1, x2, x3)  =  U32_aa(x3)
app43_in_gaga(x1, x2, x3, x4)  =  app43_in_gaga(x1, x3)
app43_out_gaga(x1, x2, x3, x4)  =  app43_out_gaga
U13_gaga(x1, x2, x3, x4, x5, x6)  =  U13_gaga(x6)
U21_aa(x1, x2, x3, x4, x5, x6)  =  U21_aa(x1, x6)
U22_aa(x1, x2, x3, x4, x5)  =  U22_aa(x5)
p41_in_aaaga(x1, x2, x3, x4, x5)  =  p41_in_aaaga(x4)
U14_aaaga(x1, x2, x3, x4, x5, x6)  =  U14_aaaga(x6)
p41_out_aaaga(x1, x2, x3, x4, x5)  =  p41_out_aaaga
U15_aaaga(x1, x2, x3, x4, x5, x6)  =  U15_aaaga(x4, x6)
U16_aaaga(x1, x2, x3, x4, x5, x6)  =  U16_aaaga(x6)
app43_in_agaa(x1, x2, x3, x4)  =  app43_in_agaa(x2)
app43_out_agaa(x1, x2, x3, x4)  =  app43_out_agaa
U13_agaa(x1, x2, x3, x4, x5, x6)  =  U13_agaa(x6)
U21_ga(x1, x2, x3, x4, x5, x6)  =  U21_ga(x1, x6)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x5)
U23_ga(x1, x2, x3, x4, x5)  =  U23_ga(x5)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x1, x5)
U25_ga(x1, x2, x3, x4, x5)  =  U25_ga(x5)
U26_ga(x1, x2, x3, x4, x5, x6)  =  U26_ga(x1, x6)
U27_ga(x1, x2, x3, x4, x5)  =  U27_ga(x5)
U28_ga(x1, x2, x3)  =  U28_ga(x3)
U29_ga(x1, x2, x3)  =  U29_ga(x1, x3)
U30_ga(x1, x2, x3)  =  U30_ga(x3)
U31_ga(x1, x2, x3, x4)  =  U31_ga(x1, x3, x4)
U32_ga(x1, x2, x3)  =  U32_ga(x3)
app43_in_ggga(x1, x2, x3, x4)  =  app43_in_ggga(x1, x2, x3)
app43_out_ggga(x1, x2, x3, x4)  =  app43_out_ggga(x4)
U13_ggga(x1, x2, x3, x4, x5, x6)  =  U13_ggga(x1, x6)
LESS14_IN_GG(x1, x2)  =  LESS14_IN_GG(x1, x2)

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

(99) UsableRulesProof (EQUIVALENT transformation)

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

(100) Obligation:

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

LESS14_IN_GG(s(T38), s(T39)) → LESS14_IN_GG(T38, T39)

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

(101) PiDPToQDPProof (EQUIVALENT transformation)

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

(102) Obligation:

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

LESS14_IN_GG(s(T38), s(T39)) → LESS14_IN_GG(T38, T39)

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

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

  • LESS14_IN_GG(s(T38), s(T39)) → LESS14_IN_GG(T38, T39)
    The graph contains the following edges 1 > 1, 2 > 2

(104) YES

(105) Obligation:

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

PART24_IN_GGAA(T62, .(T63, T64), .(T63, X126), X127) → U2_GGAA(T62, T63, T64, X126, X127, less14_in_gg(T62, T63))
U2_GGAA(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → PART24_IN_GGAA(T62, T64, X126, X127)
PART24_IN_GGAA(T84, .(T85, T86), X177, .(T85, X178)) → PART24_IN_GGAA(T84, T86, X177, X178)

The TRS R consists of the following rules:

qs1_in_ga([], []) → qs1_out_ga([], [])
qs1_in_ga(.(T22, .(T23, T24)), T9) → U17_ga(T22, T23, T24, T9, less14_in_gg(T22, T23))
less14_in_gg(0, s(T33)) → less14_out_gg(0, s(T33))
less14_in_gg(s(T38), s(T39)) → U1_gg(T38, T39, less14_in_gg(T38, T39))
U1_gg(T38, T39, less14_out_gg(T38, T39)) → less14_out_gg(s(T38), s(T39))
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U18_ga(T22, T23, T24, T9, part24_in_ggaa(T22, T24, X52, X53))
part24_in_ggaa(T62, .(T63, T64), .(T63, X126), X127) → U2_ggaa(T62, T63, T64, X126, X127, less14_in_gg(T62, T63))
U2_ggaa(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → part24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
U2_ggaa(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → U3_ggaa(T62, T63, T64, X126, X127, part24_in_ggaa(T62, T64, X126, X127))
part24_in_ggaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_ggaa(T84, T85, T86, X177, X178, part24_in_ggaa(T84, T86, X177, X178))
part24_in_ggaa(T92, [], [], []) → part24_out_ggaa(T92, [], [], [])
U4_ggaa(T84, T85, T86, X177, X178, part24_out_ggaa(T84, T86, X177, X178)) → part24_out_ggaa(T84, .(T85, T86), X177, .(T85, X178))
U3_ggaa(T62, T63, T64, X126, X127, part24_out_ggaa(T62, T64, X126, X127)) → part24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
U18_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, X52, X53)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U19_ga(T22, T23, T24, T9, part24_in_ggaa(T22, T24, T45, T46))
U19_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U20_ga(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
qs1_in_aa([], []) → qs1_out_aa([], [])
qs1_in_aa(.(T22, .(T23, T24)), T9) → U17_aa(T22, T23, T24, T9, less14_in_aa(T22, T23))
less14_in_aa(0, s(T33)) → less14_out_aa(0, s(T33))
less14_in_aa(s(T38), s(T39)) → U1_aa(T38, T39, less14_in_aa(T38, T39))
U1_aa(T38, T39, less14_out_aa(T38, T39)) → less14_out_aa(s(T38), s(T39))
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U18_aa(T22, T23, T24, T9, part24_in_gaaa(T22, T24, X52, X53))
part24_in_gaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_gaaa(T62, T63, T64, X126, X127, less14_in_ga(T62, T63))
less14_in_ga(0, s(T33)) → less14_out_ga(0, s(T33))
less14_in_ga(s(T38), s(T39)) → U1_ga(T38, T39, less14_in_ga(T38, T39))
U1_ga(T38, T39, less14_out_ga(T38, T39)) → less14_out_ga(s(T38), s(T39))
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → U3_gaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
part24_in_gaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_gaaa(T84, T85, T86, X177, X178, part24_in_gaaa(T84, T86, X177, X178))
part24_in_gaaa(T92, [], [], []) → part24_out_gaaa(T92, [], [], [])
U4_gaaa(T84, T85, T86, X177, X178, part24_out_gaaa(T84, T86, X177, X178)) → part24_out_gaaa(T84, .(T85, T86), X177, .(T85, X178))
U3_gaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U18_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, X52, X53)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U19_aa(T22, T23, T24, T9, part24_in_gaaa(T22, T24, T45, T46))
U19_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U20_aa(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
qs1_in_aa(.(T191, .(T192, T193)), T9) → U23_aa(T191, T192, T193, T9, part24_in_aaaa(T191, T193, X336, X337))
part24_in_aaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_aaaa(T62, T63, T64, X126, X127, less14_in_aa(T62, T63))
U2_aaaa(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → part24_out_aaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_aaaa(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → U3_aaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
U3_aaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_aaaa(T62, .(T63, T64), .(T63, X126), X127)
part24_in_aaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_aaaa(T84, T85, T86, X177, X178, part24_in_aaaa(T84, T86, X177, X178))
part24_in_aaaa(T92, [], [], []) → part24_out_aaaa(T92, [], [], [])
U4_aaaa(T84, T85, T86, X177, X178, part24_out_aaaa(T84, T86, X177, X178)) → part24_out_aaaa(T84, .(T85, T86), X177, .(T85, X178))
U23_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, X336, X337)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
qs1_in_aa(.(T191, .(T192, T193)), T9) → U24_aa(T191, T192, T193, T9, part24_in_aaaa(T191, T193, T197, T198))
U24_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U25_aa(T191, T192, T193, T9, qs42_in_aa(T197, X14))
qs42_in_aa([], []) → qs42_out_aa([], [])
qs42_in_aa(.(T103, T104), X230) → U5_aa(T103, T104, X230, part24_in_aaaa(T103, T104, X226, X227))
U5_aa(T103, T104, X230, part24_out_aaaa(T103, T104, X226, X227)) → qs42_out_aa(.(T103, T104), X230)
qs42_in_aa(.(T103, T104), X230) → U6_aa(T103, T104, X230, part24_in_aaaa(T103, T104, T108, T109))
U6_aa(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U7_aa(T103, T104, X230, qs42_in_aa(T108, X228))
U7_aa(T103, T104, X230, qs42_out_aa(T108, X228)) → qs42_out_aa(.(T103, T104), X230)
U6_aa(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U8_aa(T103, T104, X230, T109, qs42_in_aa(T108, T113))
U8_aa(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U9_aa(T103, T104, X230, qs42_in_aa(T109, X229))
U9_aa(T103, T104, X230, qs42_out_aa(T109, X229)) → qs42_out_aa(.(T103, T104), X230)
U8_aa(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U10_aa(T103, T104, X230, T113, qs42_in_aa(T109, T114))
U10_aa(T103, T104, X230, T113, qs42_out_aa(T109, T114)) → U11_aa(T103, T104, X230, app57_in_aaaa(T113, T103, T114, X230))
app57_in_aaaa([], T127, T128, .(T127, T128)) → app57_out_aaaa([], T127, T128, .(T127, T128))
app57_in_aaaa(.(T137, T138), T139, T140, .(T137, X270)) → U12_aaaa(T137, T138, T139, T140, X270, app57_in_aaaa(T138, T139, T140, X270))
U12_aaaa(T137, T138, T139, T140, X270, app57_out_aaaa(T138, T139, T140, X270)) → app57_out_aaaa(.(T137, T138), T139, T140, .(T137, X270))
U11_aa(T103, T104, X230, app57_out_aaaa(T113, T103, T114, X230)) → qs42_out_aa(.(T103, T104), X230)
U25_aa(T191, T192, T193, T9, qs42_out_aa(T197, X14)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
U24_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U26_aa(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_aa(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_aa(T191, T192, T193, T9, p41_in_aaaaa(.(T192, T198), X15, T202, T191, T9))
p41_in_aaaaa(T46, X15, T95, T22, T9) → U14_aaaaa(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
U14_aaaaa(T46, X15, T95, T22, T9, qs42_out_aa(T46, X15)) → p41_out_aaaaa(T46, X15, T95, T22, T9)
p41_in_aaaaa(T46, T98, T95, T22, T9) → U15_aaaaa(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_aaaaa(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_aaaaa(T46, T98, T95, T22, T9, app43_in_aaaa(T95, T22, T98, T9))
app43_in_aaaa([], T157, T158, .(T157, T158)) → app43_out_aaaa([], T157, T158, .(T157, T158))
app43_in_aaaa(.(T169, T170), T171, T172, .(T169, T174)) → U13_aaaa(T169, T170, T171, T172, T174, app43_in_aaaa(T170, T171, T172, T174))
U13_aaaa(T169, T170, T171, T172, T174, app43_out_aaaa(T170, T171, T172, T174)) → app43_out_aaaa(.(T169, T170), T171, T172, .(T169, T174))
U16_aaaaa(T46, T98, T95, T22, T9, app43_out_aaaa(T95, T22, T98, T9)) → p41_out_aaaaa(T46, T98, T95, T22, T9)
U27_aa(T191, T192, T193, T9, p41_out_aaaaa(.(T192, T198), X15, T202, T191, T9)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
qs1_in_aa(.(T207, []), T9) → U28_aa(T207, T9, qs84_in_a(X14))
qs84_in_a([]) → qs84_out_a([])
U28_aa(T207, T9, qs84_out_a(X14)) → qs1_out_aa(.(T207, []), T9)
qs1_in_aa(.(T207, []), T9) → U29_aa(T207, T9, qs84_in_a(T210))
U29_aa(T207, T9, qs84_out_a(T210)) → U30_aa(T207, T9, qs84_in_a(X15))
U30_aa(T207, T9, qs84_out_a(X15)) → qs1_out_aa(.(T207, []), T9)
U29_aa(T207, T9, qs84_out_a(T210)) → U31_aa(T207, T9, T210, qs84_in_a(T213))
U31_aa(T207, T9, T210, qs84_out_a(T213)) → U32_aa(T207, T9, app43_in_gaga(T210, T207, T213, T9))
app43_in_gaga([], T157, T158, .(T157, T158)) → app43_out_gaga([], T157, T158, .(T157, T158))
app43_in_gaga(.(T169, T170), T171, T172, .(T169, T174)) → U13_gaga(T169, T170, T171, T172, T174, app43_in_gaga(T170, T171, T172, T174))
U13_gaga(T169, T170, T171, T172, T174, app43_out_gaga(T170, T171, T172, T174)) → app43_out_gaga(.(T169, T170), T171, T172, .(T169, T174))
U32_aa(T207, T9, app43_out_gaga(T210, T207, T213, T9)) → qs1_out_aa(.(T207, []), T9)
U20_aa(T22, T23, T24, T9, qs1_out_aa(.(T23, T45), X14)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U21_aa(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_aa(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_aa(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
p41_in_aaaga(T46, X15, T95, T22, T9) → U14_aaaga(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
U14_aaaga(T46, X15, T95, T22, T9, qs42_out_aa(T46, X15)) → p41_out_aaaga(T46, X15, T95, T22, T9)
p41_in_aaaga(T46, T98, T95, T22, T9) → U15_aaaga(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_aaaga(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_aaaga(T46, T98, T95, T22, T9, app43_in_agaa(T95, T22, T98, T9))
app43_in_agaa([], T157, T158, .(T157, T158)) → app43_out_agaa([], T157, T158, .(T157, T158))
app43_in_agaa(.(T169, T170), T171, T172, .(T169, T174)) → U13_agaa(T169, T170, T171, T172, T174, app43_in_agaa(T170, T171, T172, T174))
U13_agaa(T169, T170, T171, T172, T174, app43_out_agaa(T170, T171, T172, T174)) → app43_out_agaa(.(T169, T170), T171, T172, .(T169, T174))
U16_aaaga(T46, T98, T95, T22, T9, app43_out_agaa(T95, T22, T98, T9)) → p41_out_aaaga(T46, T98, T95, T22, T9)
U22_aa(T22, T23, T24, T9, p41_out_aaaga(T46, X15, T95, T22, T9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U20_ga(T22, T23, T24, T9, qs1_out_aa(.(T23, T45), X14)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U21_ga(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_ga(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_ga(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
U22_ga(T22, T23, T24, T9, p41_out_aaaga(T46, X15, T95, T22, T9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
qs1_in_ga(.(T191, .(T192, T193)), T9) → U23_ga(T191, T192, T193, T9, part24_in_ggaa(T191, T193, X336, X337))
U23_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, X336, X337)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
qs1_in_ga(.(T191, .(T192, T193)), T9) → U24_ga(T191, T192, T193, T9, part24_in_ggaa(T191, T193, T197, T198))
U24_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U25_ga(T191, T192, T193, T9, qs42_in_aa(T197, X14))
U25_ga(T191, T192, T193, T9, qs42_out_aa(T197, X14)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
U24_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U26_ga(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_ga(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_ga(T191, T192, T193, T9, p41_in_aaaga(.(T192, T198), X15, T202, T191, T9))
U27_ga(T191, T192, T193, T9, p41_out_aaaga(.(T192, T198), X15, T202, T191, T9)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
qs1_in_ga(.(T207, []), T9) → U28_ga(T207, T9, qs84_in_a(X14))
U28_ga(T207, T9, qs84_out_a(X14)) → qs1_out_ga(.(T207, []), T9)
qs1_in_ga(.(T207, []), T9) → U29_ga(T207, T9, qs84_in_a(T210))
U29_ga(T207, T9, qs84_out_a(T210)) → U30_ga(T207, T9, qs84_in_a(X15))
U30_ga(T207, T9, qs84_out_a(X15)) → qs1_out_ga(.(T207, []), T9)
U29_ga(T207, T9, qs84_out_a(T210)) → U31_ga(T207, T9, T210, qs84_in_a(T213))
U31_ga(T207, T9, T210, qs84_out_a(T213)) → U32_ga(T207, T9, app43_in_ggga(T210, T207, T213, T9))
app43_in_ggga([], T157, T158, .(T157, T158)) → app43_out_ggga([], T157, T158, .(T157, T158))
app43_in_ggga(.(T169, T170), T171, T172, .(T169, T174)) → U13_ggga(T169, T170, T171, T172, T174, app43_in_ggga(T170, T171, T172, T174))
U13_ggga(T169, T170, T171, T172, T174, app43_out_ggga(T170, T171, T172, T174)) → app43_out_ggga(.(T169, T170), T171, T172, .(T169, T174))
U32_ga(T207, T9, app43_out_ggga(T210, T207, T213, T9)) → qs1_out_ga(.(T207, []), T9)

The argument filtering Pi contains the following mapping:
qs1_in_ga(x1, x2)  =  qs1_in_ga(x1)
[]  =  []
qs1_out_ga(x1, x2)  =  qs1_out_ga
.(x1, x2)  =  .(x1, x2)
U17_ga(x1, x2, x3, x4, x5)  =  U17_ga(x1, x3, x5)
less14_in_gg(x1, x2)  =  less14_in_gg(x1, x2)
0  =  0
s(x1)  =  s(x1)
less14_out_gg(x1, x2)  =  less14_out_gg
U1_gg(x1, x2, x3)  =  U1_gg(x3)
U18_ga(x1, x2, x3, x4, x5)  =  U18_ga(x5)
part24_in_ggaa(x1, x2, x3, x4)  =  part24_in_ggaa(x1, x2)
U2_ggaa(x1, x2, x3, x4, x5, x6)  =  U2_ggaa(x1, x3, x6)
part24_out_ggaa(x1, x2, x3, x4)  =  part24_out_ggaa
U3_ggaa(x1, x2, x3, x4, x5, x6)  =  U3_ggaa(x6)
U4_ggaa(x1, x2, x3, x4, x5, x6)  =  U4_ggaa(x6)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x5)
U20_ga(x1, x2, x3, x4, x5)  =  U20_ga(x5)
qs1_in_aa(x1, x2)  =  qs1_in_aa
qs1_out_aa(x1, x2)  =  qs1_out_aa
U17_aa(x1, x2, x3, x4, x5)  =  U17_aa(x5)
less14_in_aa(x1, x2)  =  less14_in_aa
less14_out_aa(x1, x2)  =  less14_out_aa(x1)
U1_aa(x1, x2, x3)  =  U1_aa(x3)
U18_aa(x1, x2, x3, x4, x5)  =  U18_aa(x5)
part24_in_gaaa(x1, x2, x3, x4)  =  part24_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x1, x6)
less14_in_ga(x1, x2)  =  less14_in_ga(x1)
less14_out_ga(x1, x2)  =  less14_out_ga
U1_ga(x1, x2, x3)  =  U1_ga(x3)
part24_out_gaaa(x1, x2, x3, x4)  =  part24_out_gaaa
U3_gaaa(x1, x2, x3, x4, x5, x6)  =  U3_gaaa(x6)
U4_gaaa(x1, x2, x3, x4, x5, x6)  =  U4_gaaa(x6)
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(x1, x5)
U20_aa(x1, x2, x3, x4, x5)  =  U20_aa(x5)
U23_aa(x1, x2, x3, x4, x5)  =  U23_aa(x5)
part24_in_aaaa(x1, x2, x3, x4)  =  part24_in_aaaa
U2_aaaa(x1, x2, x3, x4, x5, x6)  =  U2_aaaa(x6)
part24_out_aaaa(x1, x2, x3, x4)  =  part24_out_aaaa
U3_aaaa(x1, x2, x3, x4, x5, x6)  =  U3_aaaa(x6)
U4_aaaa(x1, x2, x3, x4, x5, x6)  =  U4_aaaa(x6)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
qs42_in_aa(x1, x2)  =  qs42_in_aa
qs42_out_aa(x1, x2)  =  qs42_out_aa
U5_aa(x1, x2, x3, x4)  =  U5_aa(x4)
U6_aa(x1, x2, x3, x4)  =  U6_aa(x4)
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
U8_aa(x1, x2, x3, x4, x5)  =  U8_aa(x5)
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)
app57_in_aaaa(x1, x2, x3, x4)  =  app57_in_aaaa
app57_out_aaaa(x1, x2, x3, x4)  =  app57_out_aaaa
U12_aaaa(x1, x2, x3, x4, x5, x6)  =  U12_aaaa(x6)
U26_aa(x1, x2, x3, x4, x5, x6)  =  U26_aa(x6)
U27_aa(x1, x2, x3, x4, x5)  =  U27_aa(x5)
p41_in_aaaaa(x1, x2, x3, x4, x5)  =  p41_in_aaaaa
U14_aaaaa(x1, x2, x3, x4, x5, x6)  =  U14_aaaaa(x6)
p41_out_aaaaa(x1, x2, x3, x4, x5)  =  p41_out_aaaaa
U15_aaaaa(x1, x2, x3, x4, x5, x6)  =  U15_aaaaa(x6)
U16_aaaaa(x1, x2, x3, x4, x5, x6)  =  U16_aaaaa(x6)
app43_in_aaaa(x1, x2, x3, x4)  =  app43_in_aaaa
app43_out_aaaa(x1, x2, x3, x4)  =  app43_out_aaaa
U13_aaaa(x1, x2, x3, x4, x5, x6)  =  U13_aaaa(x6)
U28_aa(x1, x2, x3)  =  U28_aa(x3)
qs84_in_a(x1)  =  qs84_in_a
qs84_out_a(x1)  =  qs84_out_a(x1)
U29_aa(x1, x2, x3)  =  U29_aa(x3)
U30_aa(x1, x2, x3)  =  U30_aa(x3)
U31_aa(x1, x2, x3, x4)  =  U31_aa(x3, x4)
U32_aa(x1, x2, x3)  =  U32_aa(x3)
app43_in_gaga(x1, x2, x3, x4)  =  app43_in_gaga(x1, x3)
app43_out_gaga(x1, x2, x3, x4)  =  app43_out_gaga
U13_gaga(x1, x2, x3, x4, x5, x6)  =  U13_gaga(x6)
U21_aa(x1, x2, x3, x4, x5, x6)  =  U21_aa(x1, x6)
U22_aa(x1, x2, x3, x4, x5)  =  U22_aa(x5)
p41_in_aaaga(x1, x2, x3, x4, x5)  =  p41_in_aaaga(x4)
U14_aaaga(x1, x2, x3, x4, x5, x6)  =  U14_aaaga(x6)
p41_out_aaaga(x1, x2, x3, x4, x5)  =  p41_out_aaaga
U15_aaaga(x1, x2, x3, x4, x5, x6)  =  U15_aaaga(x4, x6)
U16_aaaga(x1, x2, x3, x4, x5, x6)  =  U16_aaaga(x6)
app43_in_agaa(x1, x2, x3, x4)  =  app43_in_agaa(x2)
app43_out_agaa(x1, x2, x3, x4)  =  app43_out_agaa
U13_agaa(x1, x2, x3, x4, x5, x6)  =  U13_agaa(x6)
U21_ga(x1, x2, x3, x4, x5, x6)  =  U21_ga(x1, x6)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x5)
U23_ga(x1, x2, x3, x4, x5)  =  U23_ga(x5)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x1, x5)
U25_ga(x1, x2, x3, x4, x5)  =  U25_ga(x5)
U26_ga(x1, x2, x3, x4, x5, x6)  =  U26_ga(x1, x6)
U27_ga(x1, x2, x3, x4, x5)  =  U27_ga(x5)
U28_ga(x1, x2, x3)  =  U28_ga(x3)
U29_ga(x1, x2, x3)  =  U29_ga(x1, x3)
U30_ga(x1, x2, x3)  =  U30_ga(x3)
U31_ga(x1, x2, x3, x4)  =  U31_ga(x1, x3, x4)
U32_ga(x1, x2, x3)  =  U32_ga(x3)
app43_in_ggga(x1, x2, x3, x4)  =  app43_in_ggga(x1, x2, x3)
app43_out_ggga(x1, x2, x3, x4)  =  app43_out_ggga(x4)
U13_ggga(x1, x2, x3, x4, x5, x6)  =  U13_ggga(x1, x6)
PART24_IN_GGAA(x1, x2, x3, x4)  =  PART24_IN_GGAA(x1, x2)
U2_GGAA(x1, x2, x3, x4, x5, x6)  =  U2_GGAA(x1, x3, x6)

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

(106) UsableRulesProof (EQUIVALENT transformation)

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

(107) Obligation:

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

PART24_IN_GGAA(T62, .(T63, T64), .(T63, X126), X127) → U2_GGAA(T62, T63, T64, X126, X127, less14_in_gg(T62, T63))
U2_GGAA(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → PART24_IN_GGAA(T62, T64, X126, X127)
PART24_IN_GGAA(T84, .(T85, T86), X177, .(T85, X178)) → PART24_IN_GGAA(T84, T86, X177, X178)

The TRS R consists of the following rules:

less14_in_gg(0, s(T33)) → less14_out_gg(0, s(T33))
less14_in_gg(s(T38), s(T39)) → U1_gg(T38, T39, less14_in_gg(T38, T39))
U1_gg(T38, T39, less14_out_gg(T38, T39)) → less14_out_gg(s(T38), s(T39))

The argument filtering Pi contains the following mapping:
.(x1, x2)  =  .(x1, x2)
less14_in_gg(x1, x2)  =  less14_in_gg(x1, x2)
0  =  0
s(x1)  =  s(x1)
less14_out_gg(x1, x2)  =  less14_out_gg
U1_gg(x1, x2, x3)  =  U1_gg(x3)
PART24_IN_GGAA(x1, x2, x3, x4)  =  PART24_IN_GGAA(x1, x2)
U2_GGAA(x1, x2, x3, x4, x5, x6)  =  U2_GGAA(x1, x3, x6)

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

(108) PiDPToQDPProof (SOUND transformation)

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

(109) Obligation:

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

PART24_IN_GGAA(T62, .(T63, T64)) → U2_GGAA(T62, T64, less14_in_gg(T62, T63))
U2_GGAA(T62, T64, less14_out_gg) → PART24_IN_GGAA(T62, T64)
PART24_IN_GGAA(T84, .(T85, T86)) → PART24_IN_GGAA(T84, T86)

The TRS R consists of the following rules:

less14_in_gg(0, s(T33)) → less14_out_gg
less14_in_gg(s(T38), s(T39)) → U1_gg(less14_in_gg(T38, T39))
U1_gg(less14_out_gg) → less14_out_gg

The set Q consists of the following terms:

less14_in_gg(x0, x1)
U1_gg(x0)

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

(110) 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(T62, T64, less14_out_gg) → PART24_IN_GGAA(T62, T64)
    The graph contains the following edges 1 >= 1, 2 >= 2

  • PART24_IN_GGAA(T84, .(T85, T86)) → PART24_IN_GGAA(T84, T86)
    The graph contains the following edges 1 >= 1, 2 > 2

  • PART24_IN_GGAA(T62, .(T63, T64)) → U2_GGAA(T62, T64, less14_in_gg(T62, T63))
    The graph contains the following edges 1 >= 1, 2 > 2

(111) YES

(112) 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)
less14_in: (b,b) (f,f) (b,f)
part24_in: (b,b,f,f) (b,f,f,f) (f,f,f,f)
qs42_in: (f,f)
app57_in: (f,f,f,f)
p41_in: (f,f,f,f,f) (f,f,f,b,f)
app43_in: (f,f,f,f) (b,f,b,f) (f,b,f,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([], []) → qs1_out_ga([], [])
qs1_in_ga(.(T22, .(T23, T24)), T9) → U17_ga(T22, T23, T24, T9, less14_in_gg(T22, T23))
less14_in_gg(0, s(T33)) → less14_out_gg(0, s(T33))
less14_in_gg(s(T38), s(T39)) → U1_gg(T38, T39, less14_in_gg(T38, T39))
U1_gg(T38, T39, less14_out_gg(T38, T39)) → less14_out_gg(s(T38), s(T39))
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U18_ga(T22, T23, T24, T9, part24_in_ggaa(T22, T24, X52, X53))
part24_in_ggaa(T62, .(T63, T64), .(T63, X126), X127) → U2_ggaa(T62, T63, T64, X126, X127, less14_in_gg(T62, T63))
U2_ggaa(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → part24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
U2_ggaa(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → U3_ggaa(T62, T63, T64, X126, X127, part24_in_ggaa(T62, T64, X126, X127))
part24_in_ggaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_ggaa(T84, T85, T86, X177, X178, part24_in_ggaa(T84, T86, X177, X178))
part24_in_ggaa(T92, [], [], []) → part24_out_ggaa(T92, [], [], [])
U4_ggaa(T84, T85, T86, X177, X178, part24_out_ggaa(T84, T86, X177, X178)) → part24_out_ggaa(T84, .(T85, T86), X177, .(T85, X178))
U3_ggaa(T62, T63, T64, X126, X127, part24_out_ggaa(T62, T64, X126, X127)) → part24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
U18_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, X52, X53)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U19_ga(T22, T23, T24, T9, part24_in_ggaa(T22, T24, T45, T46))
U19_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U20_ga(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
qs1_in_aa([], []) → qs1_out_aa([], [])
qs1_in_aa(.(T22, .(T23, T24)), T9) → U17_aa(T22, T23, T24, T9, less14_in_aa(T22, T23))
less14_in_aa(0, s(T33)) → less14_out_aa(0, s(T33))
less14_in_aa(s(T38), s(T39)) → U1_aa(T38, T39, less14_in_aa(T38, T39))
U1_aa(T38, T39, less14_out_aa(T38, T39)) → less14_out_aa(s(T38), s(T39))
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U18_aa(T22, T23, T24, T9, part24_in_gaaa(T22, T24, X52, X53))
part24_in_gaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_gaaa(T62, T63, T64, X126, X127, less14_in_ga(T62, T63))
less14_in_ga(0, s(T33)) → less14_out_ga(0, s(T33))
less14_in_ga(s(T38), s(T39)) → U1_ga(T38, T39, less14_in_ga(T38, T39))
U1_ga(T38, T39, less14_out_ga(T38, T39)) → less14_out_ga(s(T38), s(T39))
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → U3_gaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
part24_in_gaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_gaaa(T84, T85, T86, X177, X178, part24_in_gaaa(T84, T86, X177, X178))
part24_in_gaaa(T92, [], [], []) → part24_out_gaaa(T92, [], [], [])
U4_gaaa(T84, T85, T86, X177, X178, part24_out_gaaa(T84, T86, X177, X178)) → part24_out_gaaa(T84, .(T85, T86), X177, .(T85, X178))
U3_gaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U18_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, X52, X53)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U19_aa(T22, T23, T24, T9, part24_in_gaaa(T22, T24, T45, T46))
U19_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U20_aa(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
qs1_in_aa(.(T191, .(T192, T193)), T9) → U23_aa(T191, T192, T193, T9, part24_in_aaaa(T191, T193, X336, X337))
part24_in_aaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_aaaa(T62, T63, T64, X126, X127, less14_in_aa(T62, T63))
U2_aaaa(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → part24_out_aaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_aaaa(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → U3_aaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
U3_aaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_aaaa(T62, .(T63, T64), .(T63, X126), X127)
part24_in_aaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_aaaa(T84, T85, T86, X177, X178, part24_in_aaaa(T84, T86, X177, X178))
part24_in_aaaa(T92, [], [], []) → part24_out_aaaa(T92, [], [], [])
U4_aaaa(T84, T85, T86, X177, X178, part24_out_aaaa(T84, T86, X177, X178)) → part24_out_aaaa(T84, .(T85, T86), X177, .(T85, X178))
U23_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, X336, X337)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
qs1_in_aa(.(T191, .(T192, T193)), T9) → U24_aa(T191, T192, T193, T9, part24_in_aaaa(T191, T193, T197, T198))
U24_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U25_aa(T191, T192, T193, T9, qs42_in_aa(T197, X14))
qs42_in_aa([], []) → qs42_out_aa([], [])
qs42_in_aa(.(T103, T104), X230) → U5_aa(T103, T104, X230, part24_in_aaaa(T103, T104, X226, X227))
U5_aa(T103, T104, X230, part24_out_aaaa(T103, T104, X226, X227)) → qs42_out_aa(.(T103, T104), X230)
qs42_in_aa(.(T103, T104), X230) → U6_aa(T103, T104, X230, part24_in_aaaa(T103, T104, T108, T109))
U6_aa(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U7_aa(T103, T104, X230, qs42_in_aa(T108, X228))
U7_aa(T103, T104, X230, qs42_out_aa(T108, X228)) → qs42_out_aa(.(T103, T104), X230)
U6_aa(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U8_aa(T103, T104, X230, T109, qs42_in_aa(T108, T113))
U8_aa(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U9_aa(T103, T104, X230, qs42_in_aa(T109, X229))
U9_aa(T103, T104, X230, qs42_out_aa(T109, X229)) → qs42_out_aa(.(T103, T104), X230)
U8_aa(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U10_aa(T103, T104, X230, T113, qs42_in_aa(T109, T114))
U10_aa(T103, T104, X230, T113, qs42_out_aa(T109, T114)) → U11_aa(T103, T104, X230, app57_in_aaaa(T113, T103, T114, X230))
app57_in_aaaa([], T127, T128, .(T127, T128)) → app57_out_aaaa([], T127, T128, .(T127, T128))
app57_in_aaaa(.(T137, T138), T139, T140, .(T137, X270)) → U12_aaaa(T137, T138, T139, T140, X270, app57_in_aaaa(T138, T139, T140, X270))
U12_aaaa(T137, T138, T139, T140, X270, app57_out_aaaa(T138, T139, T140, X270)) → app57_out_aaaa(.(T137, T138), T139, T140, .(T137, X270))
U11_aa(T103, T104, X230, app57_out_aaaa(T113, T103, T114, X230)) → qs42_out_aa(.(T103, T104), X230)
U25_aa(T191, T192, T193, T9, qs42_out_aa(T197, X14)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
U24_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U26_aa(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_aa(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_aa(T191, T192, T193, T9, p41_in_aaaaa(.(T192, T198), X15, T202, T191, T9))
p41_in_aaaaa(T46, X15, T95, T22, T9) → U14_aaaaa(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
U14_aaaaa(T46, X15, T95, T22, T9, qs42_out_aa(T46, X15)) → p41_out_aaaaa(T46, X15, T95, T22, T9)
p41_in_aaaaa(T46, T98, T95, T22, T9) → U15_aaaaa(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_aaaaa(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_aaaaa(T46, T98, T95, T22, T9, app43_in_aaaa(T95, T22, T98, T9))
app43_in_aaaa([], T157, T158, .(T157, T158)) → app43_out_aaaa([], T157, T158, .(T157, T158))
app43_in_aaaa(.(T169, T170), T171, T172, .(T169, T174)) → U13_aaaa(T169, T170, T171, T172, T174, app43_in_aaaa(T170, T171, T172, T174))
U13_aaaa(T169, T170, T171, T172, T174, app43_out_aaaa(T170, T171, T172, T174)) → app43_out_aaaa(.(T169, T170), T171, T172, .(T169, T174))
U16_aaaaa(T46, T98, T95, T22, T9, app43_out_aaaa(T95, T22, T98, T9)) → p41_out_aaaaa(T46, T98, T95, T22, T9)
U27_aa(T191, T192, T193, T9, p41_out_aaaaa(.(T192, T198), X15, T202, T191, T9)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
qs1_in_aa(.(T207, []), T9) → U28_aa(T207, T9, qs84_in_a(X14))
qs84_in_a([]) → qs84_out_a([])
U28_aa(T207, T9, qs84_out_a(X14)) → qs1_out_aa(.(T207, []), T9)
qs1_in_aa(.(T207, []), T9) → U29_aa(T207, T9, qs84_in_a(T210))
U29_aa(T207, T9, qs84_out_a(T210)) → U30_aa(T207, T9, qs84_in_a(X15))
U30_aa(T207, T9, qs84_out_a(X15)) → qs1_out_aa(.(T207, []), T9)
U29_aa(T207, T9, qs84_out_a(T210)) → U31_aa(T207, T9, T210, qs84_in_a(T213))
U31_aa(T207, T9, T210, qs84_out_a(T213)) → U32_aa(T207, T9, app43_in_gaga(T210, T207, T213, T9))
app43_in_gaga([], T157, T158, .(T157, T158)) → app43_out_gaga([], T157, T158, .(T157, T158))
app43_in_gaga(.(T169, T170), T171, T172, .(T169, T174)) → U13_gaga(T169, T170, T171, T172, T174, app43_in_gaga(T170, T171, T172, T174))
U13_gaga(T169, T170, T171, T172, T174, app43_out_gaga(T170, T171, T172, T174)) → app43_out_gaga(.(T169, T170), T171, T172, .(T169, T174))
U32_aa(T207, T9, app43_out_gaga(T210, T207, T213, T9)) → qs1_out_aa(.(T207, []), T9)
U20_aa(T22, T23, T24, T9, qs1_out_aa(.(T23, T45), X14)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U21_aa(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_aa(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_aa(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
p41_in_aaaga(T46, X15, T95, T22, T9) → U14_aaaga(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
U14_aaaga(T46, X15, T95, T22, T9, qs42_out_aa(T46, X15)) → p41_out_aaaga(T46, X15, T95, T22, T9)
p41_in_aaaga(T46, T98, T95, T22, T9) → U15_aaaga(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_aaaga(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_aaaga(T46, T98, T95, T22, T9, app43_in_agaa(T95, T22, T98, T9))
app43_in_agaa([], T157, T158, .(T157, T158)) → app43_out_agaa([], T157, T158, .(T157, T158))
app43_in_agaa(.(T169, T170), T171, T172, .(T169, T174)) → U13_agaa(T169, T170, T171, T172, T174, app43_in_agaa(T170, T171, T172, T174))
U13_agaa(T169, T170, T171, T172, T174, app43_out_agaa(T170, T171, T172, T174)) → app43_out_agaa(.(T169, T170), T171, T172, .(T169, T174))
U16_aaaga(T46, T98, T95, T22, T9, app43_out_agaa(T95, T22, T98, T9)) → p41_out_aaaga(T46, T98, T95, T22, T9)
U22_aa(T22, T23, T24, T9, p41_out_aaaga(T46, X15, T95, T22, T9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U20_ga(T22, T23, T24, T9, qs1_out_aa(.(T23, T45), X14)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U21_ga(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_ga(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_ga(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
U22_ga(T22, T23, T24, T9, p41_out_aaaga(T46, X15, T95, T22, T9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
qs1_in_ga(.(T191, .(T192, T193)), T9) → U23_ga(T191, T192, T193, T9, part24_in_ggaa(T191, T193, X336, X337))
U23_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, X336, X337)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
qs1_in_ga(.(T191, .(T192, T193)), T9) → U24_ga(T191, T192, T193, T9, part24_in_ggaa(T191, T193, T197, T198))
U24_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U25_ga(T191, T192, T193, T9, qs42_in_aa(T197, X14))
U25_ga(T191, T192, T193, T9, qs42_out_aa(T197, X14)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
U24_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U26_ga(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_ga(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_ga(T191, T192, T193, T9, p41_in_aaaga(.(T192, T198), X15, T202, T191, T9))
U27_ga(T191, T192, T193, T9, p41_out_aaaga(.(T192, T198), X15, T202, T191, T9)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
qs1_in_ga(.(T207, []), T9) → U28_ga(T207, T9, qs84_in_a(X14))
U28_ga(T207, T9, qs84_out_a(X14)) → qs1_out_ga(.(T207, []), T9)
qs1_in_ga(.(T207, []), T9) → U29_ga(T207, T9, qs84_in_a(T210))
U29_ga(T207, T9, qs84_out_a(T210)) → U30_ga(T207, T9, qs84_in_a(X15))
U30_ga(T207, T9, qs84_out_a(X15)) → qs1_out_ga(.(T207, []), T9)
U29_ga(T207, T9, qs84_out_a(T210)) → U31_ga(T207, T9, T210, qs84_in_a(T213))
U31_ga(T207, T9, T210, qs84_out_a(T213)) → U32_ga(T207, T9, app43_in_ggga(T210, T207, T213, T9))
app43_in_ggga([], T157, T158, .(T157, T158)) → app43_out_ggga([], T157, T158, .(T157, T158))
app43_in_ggga(.(T169, T170), T171, T172, .(T169, T174)) → U13_ggga(T169, T170, T171, T172, T174, app43_in_ggga(T170, T171, T172, T174))
U13_ggga(T169, T170, T171, T172, T174, app43_out_ggga(T170, T171, T172, T174)) → app43_out_ggga(.(T169, T170), T171, T172, .(T169, T174))
U32_ga(T207, T9, app43_out_ggga(T210, T207, T213, T9)) → qs1_out_ga(.(T207, []), T9)

The argument filtering Pi contains the following mapping:
qs1_in_ga(x1, x2)  =  qs1_in_ga(x1)
[]  =  []
qs1_out_ga(x1, x2)  =  qs1_out_ga(x1)
.(x1, x2)  =  .(x1, x2)
U17_ga(x1, x2, x3, x4, x5)  =  U17_ga(x1, x2, x3, x5)
less14_in_gg(x1, x2)  =  less14_in_gg(x1, x2)
0  =  0
s(x1)  =  s(x1)
less14_out_gg(x1, x2)  =  less14_out_gg(x1, x2)
U1_gg(x1, x2, x3)  =  U1_gg(x1, x2, x3)
U18_ga(x1, x2, x3, x4, x5)  =  U18_ga(x1, x2, x3, x5)
part24_in_ggaa(x1, x2, x3, x4)  =  part24_in_ggaa(x1, x2)
U2_ggaa(x1, x2, x3, x4, x5, x6)  =  U2_ggaa(x1, x2, x3, x6)
part24_out_ggaa(x1, x2, x3, x4)  =  part24_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)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x2, x3, x5)
U20_ga(x1, x2, x3, x4, x5)  =  U20_ga(x1, x2, x3, x5)
qs1_in_aa(x1, x2)  =  qs1_in_aa
qs1_out_aa(x1, x2)  =  qs1_out_aa
U17_aa(x1, x2, x3, x4, x5)  =  U17_aa(x5)
less14_in_aa(x1, x2)  =  less14_in_aa
less14_out_aa(x1, x2)  =  less14_out_aa(x1)
U1_aa(x1, x2, x3)  =  U1_aa(x3)
U18_aa(x1, x2, x3, x4, x5)  =  U18_aa(x5)
part24_in_gaaa(x1, x2, x3, x4)  =  part24_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x1, x6)
less14_in_ga(x1, x2)  =  less14_in_ga(x1)
less14_out_ga(x1, x2)  =  less14_out_ga(x1)
U1_ga(x1, x2, x3)  =  U1_ga(x1, x3)
part24_out_gaaa(x1, x2, x3, x4)  =  part24_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)
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(x1, x5)
U20_aa(x1, x2, x3, x4, x5)  =  U20_aa(x5)
U23_aa(x1, x2, x3, x4, x5)  =  U23_aa(x5)
part24_in_aaaa(x1, x2, x3, x4)  =  part24_in_aaaa
U2_aaaa(x1, x2, x3, x4, x5, x6)  =  U2_aaaa(x6)
part24_out_aaaa(x1, x2, x3, x4)  =  part24_out_aaaa
U3_aaaa(x1, x2, x3, x4, x5, x6)  =  U3_aaaa(x6)
U4_aaaa(x1, x2, x3, x4, x5, x6)  =  U4_aaaa(x6)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
qs42_in_aa(x1, x2)  =  qs42_in_aa
qs42_out_aa(x1, x2)  =  qs42_out_aa
U5_aa(x1, x2, x3, x4)  =  U5_aa(x4)
U6_aa(x1, x2, x3, x4)  =  U6_aa(x4)
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
U8_aa(x1, x2, x3, x4, x5)  =  U8_aa(x5)
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)
app57_in_aaaa(x1, x2, x3, x4)  =  app57_in_aaaa
app57_out_aaaa(x1, x2, x3, x4)  =  app57_out_aaaa
U12_aaaa(x1, x2, x3, x4, x5, x6)  =  U12_aaaa(x6)
U26_aa(x1, x2, x3, x4, x5, x6)  =  U26_aa(x6)
U27_aa(x1, x2, x3, x4, x5)  =  U27_aa(x5)
p41_in_aaaaa(x1, x2, x3, x4, x5)  =  p41_in_aaaaa
U14_aaaaa(x1, x2, x3, x4, x5, x6)  =  U14_aaaaa(x6)
p41_out_aaaaa(x1, x2, x3, x4, x5)  =  p41_out_aaaaa
U15_aaaaa(x1, x2, x3, x4, x5, x6)  =  U15_aaaaa(x6)
U16_aaaaa(x1, x2, x3, x4, x5, x6)  =  U16_aaaaa(x6)
app43_in_aaaa(x1, x2, x3, x4)  =  app43_in_aaaa
app43_out_aaaa(x1, x2, x3, x4)  =  app43_out_aaaa
U13_aaaa(x1, x2, x3, x4, x5, x6)  =  U13_aaaa(x6)
U28_aa(x1, x2, x3)  =  U28_aa(x3)
qs84_in_a(x1)  =  qs84_in_a
qs84_out_a(x1)  =  qs84_out_a(x1)
U29_aa(x1, x2, x3)  =  U29_aa(x3)
U30_aa(x1, x2, x3)  =  U30_aa(x3)
U31_aa(x1, x2, x3, x4)  =  U31_aa(x3, x4)
U32_aa(x1, x2, x3)  =  U32_aa(x3)
app43_in_gaga(x1, x2, x3, x4)  =  app43_in_gaga(x1, x3)
app43_out_gaga(x1, x2, x3, x4)  =  app43_out_gaga(x1, x3)
U13_gaga(x1, x2, x3, x4, x5, x6)  =  U13_gaga(x1, x2, x4, x6)
U21_aa(x1, x2, x3, x4, x5, x6)  =  U21_aa(x1, x6)
U22_aa(x1, x2, x3, x4, x5)  =  U22_aa(x5)
p41_in_aaaga(x1, x2, x3, x4, x5)  =  p41_in_aaaga(x4)
U14_aaaga(x1, x2, x3, x4, x5, x6)  =  U14_aaaga(x4, x6)
p41_out_aaaga(x1, x2, x3, x4, x5)  =  p41_out_aaaga(x4)
U15_aaaga(x1, x2, x3, x4, x5, x6)  =  U15_aaaga(x4, x6)
U16_aaaga(x1, x2, x3, x4, x5, x6)  =  U16_aaaga(x4, x6)
app43_in_agaa(x1, x2, x3, x4)  =  app43_in_agaa(x2)
app43_out_agaa(x1, x2, x3, x4)  =  app43_out_agaa(x2)
U13_agaa(x1, x2, x3, x4, x5, x6)  =  U13_agaa(x3, x6)
U21_ga(x1, x2, x3, x4, x5, x6)  =  U21_ga(x1, x2, x3, x6)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x1, x2, x3, x5)
U23_ga(x1, x2, x3, x4, x5)  =  U23_ga(x1, x2, x3, x5)
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, x6)  =  U26_ga(x1, x2, x3, x6)
U27_ga(x1, x2, x3, x4, x5)  =  U27_ga(x1, x2, x3, x5)
U28_ga(x1, x2, x3)  =  U28_ga(x1, x3)
U29_ga(x1, x2, x3)  =  U29_ga(x1, x3)
U30_ga(x1, x2, x3)  =  U30_ga(x1, x3)
U31_ga(x1, x2, x3, x4)  =  U31_ga(x1, x3, x4)
U32_ga(x1, x2, x3)  =  U32_ga(x1, x3)
app43_in_ggga(x1, x2, x3, x4)  =  app43_in_ggga(x1, x2, x3)
app43_out_ggga(x1, x2, x3, x4)  =  app43_out_ggga(x1, x2, x3, x4)
U13_ggga(x1, x2, x3, x4, x5, x6)  =  U13_ggga(x1, x2, x3, x4, x6)

Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog

(113) Obligation:

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

qs1_in_ga([], []) → qs1_out_ga([], [])
qs1_in_ga(.(T22, .(T23, T24)), T9) → U17_ga(T22, T23, T24, T9, less14_in_gg(T22, T23))
less14_in_gg(0, s(T33)) → less14_out_gg(0, s(T33))
less14_in_gg(s(T38), s(T39)) → U1_gg(T38, T39, less14_in_gg(T38, T39))
U1_gg(T38, T39, less14_out_gg(T38, T39)) → less14_out_gg(s(T38), s(T39))
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U18_ga(T22, T23, T24, T9, part24_in_ggaa(T22, T24, X52, X53))
part24_in_ggaa(T62, .(T63, T64), .(T63, X126), X127) → U2_ggaa(T62, T63, T64, X126, X127, less14_in_gg(T62, T63))
U2_ggaa(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → part24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
U2_ggaa(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → U3_ggaa(T62, T63, T64, X126, X127, part24_in_ggaa(T62, T64, X126, X127))
part24_in_ggaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_ggaa(T84, T85, T86, X177, X178, part24_in_ggaa(T84, T86, X177, X178))
part24_in_ggaa(T92, [], [], []) → part24_out_ggaa(T92, [], [], [])
U4_ggaa(T84, T85, T86, X177, X178, part24_out_ggaa(T84, T86, X177, X178)) → part24_out_ggaa(T84, .(T85, T86), X177, .(T85, X178))
U3_ggaa(T62, T63, T64, X126, X127, part24_out_ggaa(T62, T64, X126, X127)) → part24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
U18_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, X52, X53)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U19_ga(T22, T23, T24, T9, part24_in_ggaa(T22, T24, T45, T46))
U19_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U20_ga(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
qs1_in_aa([], []) → qs1_out_aa([], [])
qs1_in_aa(.(T22, .(T23, T24)), T9) → U17_aa(T22, T23, T24, T9, less14_in_aa(T22, T23))
less14_in_aa(0, s(T33)) → less14_out_aa(0, s(T33))
less14_in_aa(s(T38), s(T39)) → U1_aa(T38, T39, less14_in_aa(T38, T39))
U1_aa(T38, T39, less14_out_aa(T38, T39)) → less14_out_aa(s(T38), s(T39))
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U18_aa(T22, T23, T24, T9, part24_in_gaaa(T22, T24, X52, X53))
part24_in_gaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_gaaa(T62, T63, T64, X126, X127, less14_in_ga(T62, T63))
less14_in_ga(0, s(T33)) → less14_out_ga(0, s(T33))
less14_in_ga(s(T38), s(T39)) → U1_ga(T38, T39, less14_in_ga(T38, T39))
U1_ga(T38, T39, less14_out_ga(T38, T39)) → less14_out_ga(s(T38), s(T39))
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → U3_gaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
part24_in_gaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_gaaa(T84, T85, T86, X177, X178, part24_in_gaaa(T84, T86, X177, X178))
part24_in_gaaa(T92, [], [], []) → part24_out_gaaa(T92, [], [], [])
U4_gaaa(T84, T85, T86, X177, X178, part24_out_gaaa(T84, T86, X177, X178)) → part24_out_gaaa(T84, .(T85, T86), X177, .(T85, X178))
U3_gaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U18_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, X52, X53)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U19_aa(T22, T23, T24, T9, part24_in_gaaa(T22, T24, T45, T46))
U19_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U20_aa(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
qs1_in_aa(.(T191, .(T192, T193)), T9) → U23_aa(T191, T192, T193, T9, part24_in_aaaa(T191, T193, X336, X337))
part24_in_aaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_aaaa(T62, T63, T64, X126, X127, less14_in_aa(T62, T63))
U2_aaaa(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → part24_out_aaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_aaaa(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → U3_aaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
U3_aaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_aaaa(T62, .(T63, T64), .(T63, X126), X127)
part24_in_aaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_aaaa(T84, T85, T86, X177, X178, part24_in_aaaa(T84, T86, X177, X178))
part24_in_aaaa(T92, [], [], []) → part24_out_aaaa(T92, [], [], [])
U4_aaaa(T84, T85, T86, X177, X178, part24_out_aaaa(T84, T86, X177, X178)) → part24_out_aaaa(T84, .(T85, T86), X177, .(T85, X178))
U23_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, X336, X337)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
qs1_in_aa(.(T191, .(T192, T193)), T9) → U24_aa(T191, T192, T193, T9, part24_in_aaaa(T191, T193, T197, T198))
U24_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U25_aa(T191, T192, T193, T9, qs42_in_aa(T197, X14))
qs42_in_aa([], []) → qs42_out_aa([], [])
qs42_in_aa(.(T103, T104), X230) → U5_aa(T103, T104, X230, part24_in_aaaa(T103, T104, X226, X227))
U5_aa(T103, T104, X230, part24_out_aaaa(T103, T104, X226, X227)) → qs42_out_aa(.(T103, T104), X230)
qs42_in_aa(.(T103, T104), X230) → U6_aa(T103, T104, X230, part24_in_aaaa(T103, T104, T108, T109))
U6_aa(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U7_aa(T103, T104, X230, qs42_in_aa(T108, X228))
U7_aa(T103, T104, X230, qs42_out_aa(T108, X228)) → qs42_out_aa(.(T103, T104), X230)
U6_aa(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U8_aa(T103, T104, X230, T109, qs42_in_aa(T108, T113))
U8_aa(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U9_aa(T103, T104, X230, qs42_in_aa(T109, X229))
U9_aa(T103, T104, X230, qs42_out_aa(T109, X229)) → qs42_out_aa(.(T103, T104), X230)
U8_aa(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U10_aa(T103, T104, X230, T113, qs42_in_aa(T109, T114))
U10_aa(T103, T104, X230, T113, qs42_out_aa(T109, T114)) → U11_aa(T103, T104, X230, app57_in_aaaa(T113, T103, T114, X230))
app57_in_aaaa([], T127, T128, .(T127, T128)) → app57_out_aaaa([], T127, T128, .(T127, T128))
app57_in_aaaa(.(T137, T138), T139, T140, .(T137, X270)) → U12_aaaa(T137, T138, T139, T140, X270, app57_in_aaaa(T138, T139, T140, X270))
U12_aaaa(T137, T138, T139, T140, X270, app57_out_aaaa(T138, T139, T140, X270)) → app57_out_aaaa(.(T137, T138), T139, T140, .(T137, X270))
U11_aa(T103, T104, X230, app57_out_aaaa(T113, T103, T114, X230)) → qs42_out_aa(.(T103, T104), X230)
U25_aa(T191, T192, T193, T9, qs42_out_aa(T197, X14)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
U24_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U26_aa(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_aa(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_aa(T191, T192, T193, T9, p41_in_aaaaa(.(T192, T198), X15, T202, T191, T9))
p41_in_aaaaa(T46, X15, T95, T22, T9) → U14_aaaaa(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
U14_aaaaa(T46, X15, T95, T22, T9, qs42_out_aa(T46, X15)) → p41_out_aaaaa(T46, X15, T95, T22, T9)
p41_in_aaaaa(T46, T98, T95, T22, T9) → U15_aaaaa(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_aaaaa(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_aaaaa(T46, T98, T95, T22, T9, app43_in_aaaa(T95, T22, T98, T9))
app43_in_aaaa([], T157, T158, .(T157, T158)) → app43_out_aaaa([], T157, T158, .(T157, T158))
app43_in_aaaa(.(T169, T170), T171, T172, .(T169, T174)) → U13_aaaa(T169, T170, T171, T172, T174, app43_in_aaaa(T170, T171, T172, T174))
U13_aaaa(T169, T170, T171, T172, T174, app43_out_aaaa(T170, T171, T172, T174)) → app43_out_aaaa(.(T169, T170), T171, T172, .(T169, T174))
U16_aaaaa(T46, T98, T95, T22, T9, app43_out_aaaa(T95, T22, T98, T9)) → p41_out_aaaaa(T46, T98, T95, T22, T9)
U27_aa(T191, T192, T193, T9, p41_out_aaaaa(.(T192, T198), X15, T202, T191, T9)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
qs1_in_aa(.(T207, []), T9) → U28_aa(T207, T9, qs84_in_a(X14))
qs84_in_a([]) → qs84_out_a([])
U28_aa(T207, T9, qs84_out_a(X14)) → qs1_out_aa(.(T207, []), T9)
qs1_in_aa(.(T207, []), T9) → U29_aa(T207, T9, qs84_in_a(T210))
U29_aa(T207, T9, qs84_out_a(T210)) → U30_aa(T207, T9, qs84_in_a(X15))
U30_aa(T207, T9, qs84_out_a(X15)) → qs1_out_aa(.(T207, []), T9)
U29_aa(T207, T9, qs84_out_a(T210)) → U31_aa(T207, T9, T210, qs84_in_a(T213))
U31_aa(T207, T9, T210, qs84_out_a(T213)) → U32_aa(T207, T9, app43_in_gaga(T210, T207, T213, T9))
app43_in_gaga([], T157, T158, .(T157, T158)) → app43_out_gaga([], T157, T158, .(T157, T158))
app43_in_gaga(.(T169, T170), T171, T172, .(T169, T174)) → U13_gaga(T169, T170, T171, T172, T174, app43_in_gaga(T170, T171, T172, T174))
U13_gaga(T169, T170, T171, T172, T174, app43_out_gaga(T170, T171, T172, T174)) → app43_out_gaga(.(T169, T170), T171, T172, .(T169, T174))
U32_aa(T207, T9, app43_out_gaga(T210, T207, T213, T9)) → qs1_out_aa(.(T207, []), T9)
U20_aa(T22, T23, T24, T9, qs1_out_aa(.(T23, T45), X14)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U21_aa(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_aa(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_aa(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
p41_in_aaaga(T46, X15, T95, T22, T9) → U14_aaaga(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
U14_aaaga(T46, X15, T95, T22, T9, qs42_out_aa(T46, X15)) → p41_out_aaaga(T46, X15, T95, T22, T9)
p41_in_aaaga(T46, T98, T95, T22, T9) → U15_aaaga(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_aaaga(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_aaaga(T46, T98, T95, T22, T9, app43_in_agaa(T95, T22, T98, T9))
app43_in_agaa([], T157, T158, .(T157, T158)) → app43_out_agaa([], T157, T158, .(T157, T158))
app43_in_agaa(.(T169, T170), T171, T172, .(T169, T174)) → U13_agaa(T169, T170, T171, T172, T174, app43_in_agaa(T170, T171, T172, T174))
U13_agaa(T169, T170, T171, T172, T174, app43_out_agaa(T170, T171, T172, T174)) → app43_out_agaa(.(T169, T170), T171, T172, .(T169, T174))
U16_aaaga(T46, T98, T95, T22, T9, app43_out_agaa(T95, T22, T98, T9)) → p41_out_aaaga(T46, T98, T95, T22, T9)
U22_aa(T22, T23, T24, T9, p41_out_aaaga(T46, X15, T95, T22, T9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U20_ga(T22, T23, T24, T9, qs1_out_aa(.(T23, T45), X14)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U21_ga(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_ga(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_ga(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
U22_ga(T22, T23, T24, T9, p41_out_aaaga(T46, X15, T95, T22, T9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
qs1_in_ga(.(T191, .(T192, T193)), T9) → U23_ga(T191, T192, T193, T9, part24_in_ggaa(T191, T193, X336, X337))
U23_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, X336, X337)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
qs1_in_ga(.(T191, .(T192, T193)), T9) → U24_ga(T191, T192, T193, T9, part24_in_ggaa(T191, T193, T197, T198))
U24_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U25_ga(T191, T192, T193, T9, qs42_in_aa(T197, X14))
U25_ga(T191, T192, T193, T9, qs42_out_aa(T197, X14)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
U24_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U26_ga(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_ga(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_ga(T191, T192, T193, T9, p41_in_aaaga(.(T192, T198), X15, T202, T191, T9))
U27_ga(T191, T192, T193, T9, p41_out_aaaga(.(T192, T198), X15, T202, T191, T9)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
qs1_in_ga(.(T207, []), T9) → U28_ga(T207, T9, qs84_in_a(X14))
U28_ga(T207, T9, qs84_out_a(X14)) → qs1_out_ga(.(T207, []), T9)
qs1_in_ga(.(T207, []), T9) → U29_ga(T207, T9, qs84_in_a(T210))
U29_ga(T207, T9, qs84_out_a(T210)) → U30_ga(T207, T9, qs84_in_a(X15))
U30_ga(T207, T9, qs84_out_a(X15)) → qs1_out_ga(.(T207, []), T9)
U29_ga(T207, T9, qs84_out_a(T210)) → U31_ga(T207, T9, T210, qs84_in_a(T213))
U31_ga(T207, T9, T210, qs84_out_a(T213)) → U32_ga(T207, T9, app43_in_ggga(T210, T207, T213, T9))
app43_in_ggga([], T157, T158, .(T157, T158)) → app43_out_ggga([], T157, T158, .(T157, T158))
app43_in_ggga(.(T169, T170), T171, T172, .(T169, T174)) → U13_ggga(T169, T170, T171, T172, T174, app43_in_ggga(T170, T171, T172, T174))
U13_ggga(T169, T170, T171, T172, T174, app43_out_ggga(T170, T171, T172, T174)) → app43_out_ggga(.(T169, T170), T171, T172, .(T169, T174))
U32_ga(T207, T9, app43_out_ggga(T210, T207, T213, T9)) → qs1_out_ga(.(T207, []), T9)

The argument filtering Pi contains the following mapping:
qs1_in_ga(x1, x2)  =  qs1_in_ga(x1)
[]  =  []
qs1_out_ga(x1, x2)  =  qs1_out_ga(x1)
.(x1, x2)  =  .(x1, x2)
U17_ga(x1, x2, x3, x4, x5)  =  U17_ga(x1, x2, x3, x5)
less14_in_gg(x1, x2)  =  less14_in_gg(x1, x2)
0  =  0
s(x1)  =  s(x1)
less14_out_gg(x1, x2)  =  less14_out_gg(x1, x2)
U1_gg(x1, x2, x3)  =  U1_gg(x1, x2, x3)
U18_ga(x1, x2, x3, x4, x5)  =  U18_ga(x1, x2, x3, x5)
part24_in_ggaa(x1, x2, x3, x4)  =  part24_in_ggaa(x1, x2)
U2_ggaa(x1, x2, x3, x4, x5, x6)  =  U2_ggaa(x1, x2, x3, x6)
part24_out_ggaa(x1, x2, x3, x4)  =  part24_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)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x2, x3, x5)
U20_ga(x1, x2, x3, x4, x5)  =  U20_ga(x1, x2, x3, x5)
qs1_in_aa(x1, x2)  =  qs1_in_aa
qs1_out_aa(x1, x2)  =  qs1_out_aa
U17_aa(x1, x2, x3, x4, x5)  =  U17_aa(x5)
less14_in_aa(x1, x2)  =  less14_in_aa
less14_out_aa(x1, x2)  =  less14_out_aa(x1)
U1_aa(x1, x2, x3)  =  U1_aa(x3)
U18_aa(x1, x2, x3, x4, x5)  =  U18_aa(x5)
part24_in_gaaa(x1, x2, x3, x4)  =  part24_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x1, x6)
less14_in_ga(x1, x2)  =  less14_in_ga(x1)
less14_out_ga(x1, x2)  =  less14_out_ga(x1)
U1_ga(x1, x2, x3)  =  U1_ga(x1, x3)
part24_out_gaaa(x1, x2, x3, x4)  =  part24_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)
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(x1, x5)
U20_aa(x1, x2, x3, x4, x5)  =  U20_aa(x5)
U23_aa(x1, x2, x3, x4, x5)  =  U23_aa(x5)
part24_in_aaaa(x1, x2, x3, x4)  =  part24_in_aaaa
U2_aaaa(x1, x2, x3, x4, x5, x6)  =  U2_aaaa(x6)
part24_out_aaaa(x1, x2, x3, x4)  =  part24_out_aaaa
U3_aaaa(x1, x2, x3, x4, x5, x6)  =  U3_aaaa(x6)
U4_aaaa(x1, x2, x3, x4, x5, x6)  =  U4_aaaa(x6)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
qs42_in_aa(x1, x2)  =  qs42_in_aa
qs42_out_aa(x1, x2)  =  qs42_out_aa
U5_aa(x1, x2, x3, x4)  =  U5_aa(x4)
U6_aa(x1, x2, x3, x4)  =  U6_aa(x4)
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
U8_aa(x1, x2, x3, x4, x5)  =  U8_aa(x5)
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)
app57_in_aaaa(x1, x2, x3, x4)  =  app57_in_aaaa
app57_out_aaaa(x1, x2, x3, x4)  =  app57_out_aaaa
U12_aaaa(x1, x2, x3, x4, x5, x6)  =  U12_aaaa(x6)
U26_aa(x1, x2, x3, x4, x5, x6)  =  U26_aa(x6)
U27_aa(x1, x2, x3, x4, x5)  =  U27_aa(x5)
p41_in_aaaaa(x1, x2, x3, x4, x5)  =  p41_in_aaaaa
U14_aaaaa(x1, x2, x3, x4, x5, x6)  =  U14_aaaaa(x6)
p41_out_aaaaa(x1, x2, x3, x4, x5)  =  p41_out_aaaaa
U15_aaaaa(x1, x2, x3, x4, x5, x6)  =  U15_aaaaa(x6)
U16_aaaaa(x1, x2, x3, x4, x5, x6)  =  U16_aaaaa(x6)
app43_in_aaaa(x1, x2, x3, x4)  =  app43_in_aaaa
app43_out_aaaa(x1, x2, x3, x4)  =  app43_out_aaaa
U13_aaaa(x1, x2, x3, x4, x5, x6)  =  U13_aaaa(x6)
U28_aa(x1, x2, x3)  =  U28_aa(x3)
qs84_in_a(x1)  =  qs84_in_a
qs84_out_a(x1)  =  qs84_out_a(x1)
U29_aa(x1, x2, x3)  =  U29_aa(x3)
U30_aa(x1, x2, x3)  =  U30_aa(x3)
U31_aa(x1, x2, x3, x4)  =  U31_aa(x3, x4)
U32_aa(x1, x2, x3)  =  U32_aa(x3)
app43_in_gaga(x1, x2, x3, x4)  =  app43_in_gaga(x1, x3)
app43_out_gaga(x1, x2, x3, x4)  =  app43_out_gaga(x1, x3)
U13_gaga(x1, x2, x3, x4, x5, x6)  =  U13_gaga(x1, x2, x4, x6)
U21_aa(x1, x2, x3, x4, x5, x6)  =  U21_aa(x1, x6)
U22_aa(x1, x2, x3, x4, x5)  =  U22_aa(x5)
p41_in_aaaga(x1, x2, x3, x4, x5)  =  p41_in_aaaga(x4)
U14_aaaga(x1, x2, x3, x4, x5, x6)  =  U14_aaaga(x4, x6)
p41_out_aaaga(x1, x2, x3, x4, x5)  =  p41_out_aaaga(x4)
U15_aaaga(x1, x2, x3, x4, x5, x6)  =  U15_aaaga(x4, x6)
U16_aaaga(x1, x2, x3, x4, x5, x6)  =  U16_aaaga(x4, x6)
app43_in_agaa(x1, x2, x3, x4)  =  app43_in_agaa(x2)
app43_out_agaa(x1, x2, x3, x4)  =  app43_out_agaa(x2)
U13_agaa(x1, x2, x3, x4, x5, x6)  =  U13_agaa(x3, x6)
U21_ga(x1, x2, x3, x4, x5, x6)  =  U21_ga(x1, x2, x3, x6)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x1, x2, x3, x5)
U23_ga(x1, x2, x3, x4, x5)  =  U23_ga(x1, x2, x3, x5)
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, x6)  =  U26_ga(x1, x2, x3, x6)
U27_ga(x1, x2, x3, x4, x5)  =  U27_ga(x1, x2, x3, x5)
U28_ga(x1, x2, x3)  =  U28_ga(x1, x3)
U29_ga(x1, x2, x3)  =  U29_ga(x1, x3)
U30_ga(x1, x2, x3)  =  U30_ga(x1, x3)
U31_ga(x1, x2, x3, x4)  =  U31_ga(x1, x3, x4)
U32_ga(x1, x2, x3)  =  U32_ga(x1, x3)
app43_in_ggga(x1, x2, x3, x4)  =  app43_in_ggga(x1, x2, x3)
app43_out_ggga(x1, x2, x3, x4)  =  app43_out_ggga(x1, x2, x3, x4)
U13_ggga(x1, x2, x3, x4, x5, x6)  =  U13_ggga(x1, x2, x3, x4, x6)

(114) 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) → U17_GA(T22, T23, T24, T9, less14_in_gg(T22, T23))
QS1_IN_GA(.(T22, .(T23, T24)), T9) → LESS14_IN_GG(T22, T23)
LESS14_IN_GG(s(T38), s(T39)) → U1_GG(T38, T39, less14_in_gg(T38, T39))
LESS14_IN_GG(s(T38), s(T39)) → LESS14_IN_GG(T38, T39)
U17_GA(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U18_GA(T22, T23, T24, T9, part24_in_ggaa(T22, T24, X52, X53))
U17_GA(T22, T23, T24, T9, less14_out_gg(T22, T23)) → PART24_IN_GGAA(T22, T24, X52, X53)
PART24_IN_GGAA(T62, .(T63, T64), .(T63, X126), X127) → U2_GGAA(T62, T63, T64, X126, X127, less14_in_gg(T62, T63))
PART24_IN_GGAA(T62, .(T63, T64), .(T63, X126), X127) → LESS14_IN_GG(T62, T63)
U2_GGAA(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → U3_GGAA(T62, T63, T64, X126, X127, part24_in_ggaa(T62, T64, X126, X127))
U2_GGAA(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → PART24_IN_GGAA(T62, T64, X126, X127)
PART24_IN_GGAA(T84, .(T85, T86), X177, .(T85, X178)) → U4_GGAA(T84, T85, T86, X177, X178, part24_in_ggaa(T84, T86, X177, X178))
PART24_IN_GGAA(T84, .(T85, T86), X177, .(T85, X178)) → PART24_IN_GGAA(T84, T86, X177, X178)
U17_GA(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U19_GA(T22, T23, T24, T9, part24_in_ggaa(T22, T24, T45, T46))
U19_GA(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U20_GA(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
U19_GA(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → QS1_IN_AA(.(T23, T45), X14)
QS1_IN_AA(.(T22, .(T23, T24)), T9) → U17_AA(T22, T23, T24, T9, less14_in_aa(T22, T23))
QS1_IN_AA(.(T22, .(T23, T24)), T9) → LESS14_IN_AA(T22, T23)
LESS14_IN_AA(s(T38), s(T39)) → U1_AA(T38, T39, less14_in_aa(T38, T39))
LESS14_IN_AA(s(T38), s(T39)) → LESS14_IN_AA(T38, T39)
U17_AA(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U18_AA(T22, T23, T24, T9, part24_in_gaaa(T22, T24, X52, X53))
U17_AA(T22, T23, T24, T9, less14_out_aa(T22, T23)) → PART24_IN_GAAA(T22, T24, X52, X53)
PART24_IN_GAAA(T62, .(T63, T64), .(T63, X126), X127) → U2_GAAA(T62, T63, T64, X126, X127, less14_in_ga(T62, T63))
PART24_IN_GAAA(T62, .(T63, T64), .(T63, X126), X127) → LESS14_IN_GA(T62, T63)
LESS14_IN_GA(s(T38), s(T39)) → U1_GA(T38, T39, less14_in_ga(T38, T39))
LESS14_IN_GA(s(T38), s(T39)) → LESS14_IN_GA(T38, T39)
U2_GAAA(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → U3_GAAA(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
U2_GAAA(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → PART24_IN_GAAA(T62, T64, X126, X127)
PART24_IN_GAAA(T84, .(T85, T86), X177, .(T85, X178)) → U4_GAAA(T84, T85, T86, X177, X178, part24_in_gaaa(T84, T86, X177, X178))
PART24_IN_GAAA(T84, .(T85, T86), X177, .(T85, X178)) → PART24_IN_GAAA(T84, T86, X177, X178)
U17_AA(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U19_AA(T22, T23, T24, T9, part24_in_gaaa(T22, T24, T45, T46))
U19_AA(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U20_AA(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
U19_AA(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → QS1_IN_AA(.(T23, T45), X14)
QS1_IN_AA(.(T191, .(T192, T193)), T9) → U23_AA(T191, T192, T193, T9, part24_in_aaaa(T191, T193, X336, X337))
QS1_IN_AA(.(T191, .(T192, T193)), T9) → PART24_IN_AAAA(T191, T193, X336, X337)
PART24_IN_AAAA(T62, .(T63, T64), .(T63, X126), X127) → U2_AAAA(T62, T63, T64, X126, X127, less14_in_aa(T62, T63))
PART24_IN_AAAA(T62, .(T63, T64), .(T63, X126), X127) → LESS14_IN_AA(T62, T63)
U2_AAAA(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → U3_AAAA(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
U2_AAAA(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → PART24_IN_GAAA(T62, T64, X126, X127)
PART24_IN_AAAA(T84, .(T85, T86), X177, .(T85, X178)) → U4_AAAA(T84, T85, T86, X177, X178, part24_in_aaaa(T84, T86, X177, X178))
PART24_IN_AAAA(T84, .(T85, T86), X177, .(T85, X178)) → PART24_IN_AAAA(T84, T86, X177, X178)
QS1_IN_AA(.(T191, .(T192, T193)), T9) → U24_AA(T191, T192, T193, T9, part24_in_aaaa(T191, T193, T197, T198))
U24_AA(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U25_AA(T191, T192, T193, T9, qs42_in_aa(T197, X14))
U24_AA(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → QS42_IN_AA(T197, X14)
QS42_IN_AA(.(T103, T104), X230) → U5_AA(T103, T104, X230, part24_in_aaaa(T103, T104, X226, X227))
QS42_IN_AA(.(T103, T104), X230) → PART24_IN_AAAA(T103, T104, X226, X227)
QS42_IN_AA(.(T103, T104), X230) → U6_AA(T103, T104, X230, part24_in_aaaa(T103, T104, T108, T109))
U6_AA(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U7_AA(T103, T104, X230, qs42_in_aa(T108, X228))
U6_AA(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → QS42_IN_AA(T108, X228)
U6_AA(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U8_AA(T103, T104, X230, T109, qs42_in_aa(T108, T113))
U8_AA(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U9_AA(T103, T104, X230, qs42_in_aa(T109, X229))
U8_AA(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → QS42_IN_AA(T109, X229)
U8_AA(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U10_AA(T103, T104, X230, T113, qs42_in_aa(T109, T114))
U10_AA(T103, T104, X230, T113, qs42_out_aa(T109, T114)) → U11_AA(T103, T104, X230, app57_in_aaaa(T113, T103, T114, X230))
U10_AA(T103, T104, X230, T113, qs42_out_aa(T109, T114)) → APP57_IN_AAAA(T113, T103, T114, X230)
APP57_IN_AAAA(.(T137, T138), T139, T140, .(T137, X270)) → U12_AAAA(T137, T138, T139, T140, X270, app57_in_aaaa(T138, T139, T140, X270))
APP57_IN_AAAA(.(T137, T138), T139, T140, .(T137, X270)) → APP57_IN_AAAA(T138, T139, T140, X270)
U24_AA(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U26_AA(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_AA(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_AA(T191, T192, T193, T9, p41_in_aaaaa(.(T192, T198), X15, T202, T191, T9))
U26_AA(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → P41_IN_AAAAA(.(T192, T198), X15, T202, T191, T9)
P41_IN_AAAAA(T46, X15, T95, T22, T9) → U14_AAAAA(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
P41_IN_AAAAA(T46, X15, T95, T22, T9) → QS42_IN_AA(T46, X15)
P41_IN_AAAAA(T46, T98, T95, T22, T9) → U15_AAAAA(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_AAAAA(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_AAAAA(T46, T98, T95, T22, T9, app43_in_aaaa(T95, T22, T98, T9))
U15_AAAAA(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → APP43_IN_AAAA(T95, T22, T98, T9)
APP43_IN_AAAA(.(T169, T170), T171, T172, .(T169, T174)) → U13_AAAA(T169, T170, T171, T172, T174, app43_in_aaaa(T170, T171, T172, T174))
APP43_IN_AAAA(.(T169, T170), T171, T172, .(T169, T174)) → APP43_IN_AAAA(T170, T171, T172, T174)
QS1_IN_AA(.(T207, []), T9) → U28_AA(T207, T9, qs84_in_a(X14))
QS1_IN_AA(.(T207, []), T9) → QS84_IN_A(X14)
QS1_IN_AA(.(T207, []), T9) → U29_AA(T207, T9, qs84_in_a(T210))
U29_AA(T207, T9, qs84_out_a(T210)) → U30_AA(T207, T9, qs84_in_a(X15))
U29_AA(T207, T9, qs84_out_a(T210)) → QS84_IN_A(X15)
U29_AA(T207, T9, qs84_out_a(T210)) → U31_AA(T207, T9, T210, qs84_in_a(T213))
U31_AA(T207, T9, T210, qs84_out_a(T213)) → U32_AA(T207, T9, app43_in_gaga(T210, T207, T213, T9))
U31_AA(T207, T9, T210, qs84_out_a(T213)) → APP43_IN_GAGA(T210, T207, T213, T9)
APP43_IN_GAGA(.(T169, T170), T171, T172, .(T169, T174)) → U13_GAGA(T169, T170, T171, T172, T174, app43_in_gaga(T170, T171, T172, T174))
APP43_IN_GAGA(.(T169, T170), T171, T172, .(T169, T174)) → APP43_IN_GAGA(T170, T171, T172, T174)
U19_AA(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U21_AA(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_AA(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_AA(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
U21_AA(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → P41_IN_AAAGA(T46, X15, T95, T22, T9)
P41_IN_AAAGA(T46, X15, T95, T22, T9) → U14_AAAGA(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
P41_IN_AAAGA(T46, X15, T95, T22, T9) → QS42_IN_AA(T46, X15)
P41_IN_AAAGA(T46, T98, T95, T22, T9) → U15_AAAGA(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_AAAGA(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_AAAGA(T46, T98, T95, T22, T9, app43_in_agaa(T95, T22, T98, T9))
U15_AAAGA(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → APP43_IN_AGAA(T95, T22, T98, T9)
APP43_IN_AGAA(.(T169, T170), T171, T172, .(T169, T174)) → U13_AGAA(T169, T170, T171, T172, T174, app43_in_agaa(T170, T171, T172, T174))
APP43_IN_AGAA(.(T169, T170), T171, T172, .(T169, T174)) → APP43_IN_AGAA(T170, T171, T172, T174)
U19_GA(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U21_GA(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_GA(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_GA(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
U21_GA(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → P41_IN_AAAGA(T46, X15, T95, T22, T9)
QS1_IN_GA(.(T191, .(T192, T193)), T9) → U23_GA(T191, T192, T193, T9, part24_in_ggaa(T191, T193, X336, X337))
QS1_IN_GA(.(T191, .(T192, T193)), T9) → PART24_IN_GGAA(T191, T193, X336, X337)
QS1_IN_GA(.(T191, .(T192, T193)), T9) → U24_GA(T191, T192, T193, T9, part24_in_ggaa(T191, T193, T197, T198))
U24_GA(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U25_GA(T191, T192, T193, T9, qs42_in_aa(T197, X14))
U24_GA(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → QS42_IN_AA(T197, X14)
U24_GA(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U26_GA(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_GA(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_GA(T191, T192, T193, T9, p41_in_aaaga(.(T192, T198), X15, T202, T191, T9))
U26_GA(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → P41_IN_AAAGA(.(T192, T198), X15, T202, T191, T9)
QS1_IN_GA(.(T207, []), T9) → U28_GA(T207, T9, qs84_in_a(X14))
QS1_IN_GA(.(T207, []), T9) → QS84_IN_A(X14)
QS1_IN_GA(.(T207, []), T9) → U29_GA(T207, T9, qs84_in_a(T210))
U29_GA(T207, T9, qs84_out_a(T210)) → U30_GA(T207, T9, qs84_in_a(X15))
U29_GA(T207, T9, qs84_out_a(T210)) → QS84_IN_A(X15)
U29_GA(T207, T9, qs84_out_a(T210)) → U31_GA(T207, T9, T210, qs84_in_a(T213))
U31_GA(T207, T9, T210, qs84_out_a(T213)) → U32_GA(T207, T9, app43_in_ggga(T210, T207, T213, T9))
U31_GA(T207, T9, T210, qs84_out_a(T213)) → APP43_IN_GGGA(T210, T207, T213, T9)
APP43_IN_GGGA(.(T169, T170), T171, T172, .(T169, T174)) → U13_GGGA(T169, T170, T171, T172, T174, app43_in_ggga(T170, T171, T172, T174))
APP43_IN_GGGA(.(T169, T170), T171, T172, .(T169, T174)) → APP43_IN_GGGA(T170, T171, T172, T174)

The TRS R consists of the following rules:

qs1_in_ga([], []) → qs1_out_ga([], [])
qs1_in_ga(.(T22, .(T23, T24)), T9) → U17_ga(T22, T23, T24, T9, less14_in_gg(T22, T23))
less14_in_gg(0, s(T33)) → less14_out_gg(0, s(T33))
less14_in_gg(s(T38), s(T39)) → U1_gg(T38, T39, less14_in_gg(T38, T39))
U1_gg(T38, T39, less14_out_gg(T38, T39)) → less14_out_gg(s(T38), s(T39))
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U18_ga(T22, T23, T24, T9, part24_in_ggaa(T22, T24, X52, X53))
part24_in_ggaa(T62, .(T63, T64), .(T63, X126), X127) → U2_ggaa(T62, T63, T64, X126, X127, less14_in_gg(T62, T63))
U2_ggaa(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → part24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
U2_ggaa(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → U3_ggaa(T62, T63, T64, X126, X127, part24_in_ggaa(T62, T64, X126, X127))
part24_in_ggaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_ggaa(T84, T85, T86, X177, X178, part24_in_ggaa(T84, T86, X177, X178))
part24_in_ggaa(T92, [], [], []) → part24_out_ggaa(T92, [], [], [])
U4_ggaa(T84, T85, T86, X177, X178, part24_out_ggaa(T84, T86, X177, X178)) → part24_out_ggaa(T84, .(T85, T86), X177, .(T85, X178))
U3_ggaa(T62, T63, T64, X126, X127, part24_out_ggaa(T62, T64, X126, X127)) → part24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
U18_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, X52, X53)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U19_ga(T22, T23, T24, T9, part24_in_ggaa(T22, T24, T45, T46))
U19_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U20_ga(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
qs1_in_aa([], []) → qs1_out_aa([], [])
qs1_in_aa(.(T22, .(T23, T24)), T9) → U17_aa(T22, T23, T24, T9, less14_in_aa(T22, T23))
less14_in_aa(0, s(T33)) → less14_out_aa(0, s(T33))
less14_in_aa(s(T38), s(T39)) → U1_aa(T38, T39, less14_in_aa(T38, T39))
U1_aa(T38, T39, less14_out_aa(T38, T39)) → less14_out_aa(s(T38), s(T39))
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U18_aa(T22, T23, T24, T9, part24_in_gaaa(T22, T24, X52, X53))
part24_in_gaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_gaaa(T62, T63, T64, X126, X127, less14_in_ga(T62, T63))
less14_in_ga(0, s(T33)) → less14_out_ga(0, s(T33))
less14_in_ga(s(T38), s(T39)) → U1_ga(T38, T39, less14_in_ga(T38, T39))
U1_ga(T38, T39, less14_out_ga(T38, T39)) → less14_out_ga(s(T38), s(T39))
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → U3_gaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
part24_in_gaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_gaaa(T84, T85, T86, X177, X178, part24_in_gaaa(T84, T86, X177, X178))
part24_in_gaaa(T92, [], [], []) → part24_out_gaaa(T92, [], [], [])
U4_gaaa(T84, T85, T86, X177, X178, part24_out_gaaa(T84, T86, X177, X178)) → part24_out_gaaa(T84, .(T85, T86), X177, .(T85, X178))
U3_gaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U18_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, X52, X53)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U19_aa(T22, T23, T24, T9, part24_in_gaaa(T22, T24, T45, T46))
U19_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U20_aa(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
qs1_in_aa(.(T191, .(T192, T193)), T9) → U23_aa(T191, T192, T193, T9, part24_in_aaaa(T191, T193, X336, X337))
part24_in_aaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_aaaa(T62, T63, T64, X126, X127, less14_in_aa(T62, T63))
U2_aaaa(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → part24_out_aaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_aaaa(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → U3_aaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
U3_aaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_aaaa(T62, .(T63, T64), .(T63, X126), X127)
part24_in_aaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_aaaa(T84, T85, T86, X177, X178, part24_in_aaaa(T84, T86, X177, X178))
part24_in_aaaa(T92, [], [], []) → part24_out_aaaa(T92, [], [], [])
U4_aaaa(T84, T85, T86, X177, X178, part24_out_aaaa(T84, T86, X177, X178)) → part24_out_aaaa(T84, .(T85, T86), X177, .(T85, X178))
U23_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, X336, X337)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
qs1_in_aa(.(T191, .(T192, T193)), T9) → U24_aa(T191, T192, T193, T9, part24_in_aaaa(T191, T193, T197, T198))
U24_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U25_aa(T191, T192, T193, T9, qs42_in_aa(T197, X14))
qs42_in_aa([], []) → qs42_out_aa([], [])
qs42_in_aa(.(T103, T104), X230) → U5_aa(T103, T104, X230, part24_in_aaaa(T103, T104, X226, X227))
U5_aa(T103, T104, X230, part24_out_aaaa(T103, T104, X226, X227)) → qs42_out_aa(.(T103, T104), X230)
qs42_in_aa(.(T103, T104), X230) → U6_aa(T103, T104, X230, part24_in_aaaa(T103, T104, T108, T109))
U6_aa(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U7_aa(T103, T104, X230, qs42_in_aa(T108, X228))
U7_aa(T103, T104, X230, qs42_out_aa(T108, X228)) → qs42_out_aa(.(T103, T104), X230)
U6_aa(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U8_aa(T103, T104, X230, T109, qs42_in_aa(T108, T113))
U8_aa(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U9_aa(T103, T104, X230, qs42_in_aa(T109, X229))
U9_aa(T103, T104, X230, qs42_out_aa(T109, X229)) → qs42_out_aa(.(T103, T104), X230)
U8_aa(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U10_aa(T103, T104, X230, T113, qs42_in_aa(T109, T114))
U10_aa(T103, T104, X230, T113, qs42_out_aa(T109, T114)) → U11_aa(T103, T104, X230, app57_in_aaaa(T113, T103, T114, X230))
app57_in_aaaa([], T127, T128, .(T127, T128)) → app57_out_aaaa([], T127, T128, .(T127, T128))
app57_in_aaaa(.(T137, T138), T139, T140, .(T137, X270)) → U12_aaaa(T137, T138, T139, T140, X270, app57_in_aaaa(T138, T139, T140, X270))
U12_aaaa(T137, T138, T139, T140, X270, app57_out_aaaa(T138, T139, T140, X270)) → app57_out_aaaa(.(T137, T138), T139, T140, .(T137, X270))
U11_aa(T103, T104, X230, app57_out_aaaa(T113, T103, T114, X230)) → qs42_out_aa(.(T103, T104), X230)
U25_aa(T191, T192, T193, T9, qs42_out_aa(T197, X14)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
U24_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U26_aa(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_aa(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_aa(T191, T192, T193, T9, p41_in_aaaaa(.(T192, T198), X15, T202, T191, T9))
p41_in_aaaaa(T46, X15, T95, T22, T9) → U14_aaaaa(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
U14_aaaaa(T46, X15, T95, T22, T9, qs42_out_aa(T46, X15)) → p41_out_aaaaa(T46, X15, T95, T22, T9)
p41_in_aaaaa(T46, T98, T95, T22, T9) → U15_aaaaa(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_aaaaa(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_aaaaa(T46, T98, T95, T22, T9, app43_in_aaaa(T95, T22, T98, T9))
app43_in_aaaa([], T157, T158, .(T157, T158)) → app43_out_aaaa([], T157, T158, .(T157, T158))
app43_in_aaaa(.(T169, T170), T171, T172, .(T169, T174)) → U13_aaaa(T169, T170, T171, T172, T174, app43_in_aaaa(T170, T171, T172, T174))
U13_aaaa(T169, T170, T171, T172, T174, app43_out_aaaa(T170, T171, T172, T174)) → app43_out_aaaa(.(T169, T170), T171, T172, .(T169, T174))
U16_aaaaa(T46, T98, T95, T22, T9, app43_out_aaaa(T95, T22, T98, T9)) → p41_out_aaaaa(T46, T98, T95, T22, T9)
U27_aa(T191, T192, T193, T9, p41_out_aaaaa(.(T192, T198), X15, T202, T191, T9)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
qs1_in_aa(.(T207, []), T9) → U28_aa(T207, T9, qs84_in_a(X14))
qs84_in_a([]) → qs84_out_a([])
U28_aa(T207, T9, qs84_out_a(X14)) → qs1_out_aa(.(T207, []), T9)
qs1_in_aa(.(T207, []), T9) → U29_aa(T207, T9, qs84_in_a(T210))
U29_aa(T207, T9, qs84_out_a(T210)) → U30_aa(T207, T9, qs84_in_a(X15))
U30_aa(T207, T9, qs84_out_a(X15)) → qs1_out_aa(.(T207, []), T9)
U29_aa(T207, T9, qs84_out_a(T210)) → U31_aa(T207, T9, T210, qs84_in_a(T213))
U31_aa(T207, T9, T210, qs84_out_a(T213)) → U32_aa(T207, T9, app43_in_gaga(T210, T207, T213, T9))
app43_in_gaga([], T157, T158, .(T157, T158)) → app43_out_gaga([], T157, T158, .(T157, T158))
app43_in_gaga(.(T169, T170), T171, T172, .(T169, T174)) → U13_gaga(T169, T170, T171, T172, T174, app43_in_gaga(T170, T171, T172, T174))
U13_gaga(T169, T170, T171, T172, T174, app43_out_gaga(T170, T171, T172, T174)) → app43_out_gaga(.(T169, T170), T171, T172, .(T169, T174))
U32_aa(T207, T9, app43_out_gaga(T210, T207, T213, T9)) → qs1_out_aa(.(T207, []), T9)
U20_aa(T22, T23, T24, T9, qs1_out_aa(.(T23, T45), X14)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U21_aa(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_aa(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_aa(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
p41_in_aaaga(T46, X15, T95, T22, T9) → U14_aaaga(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
U14_aaaga(T46, X15, T95, T22, T9, qs42_out_aa(T46, X15)) → p41_out_aaaga(T46, X15, T95, T22, T9)
p41_in_aaaga(T46, T98, T95, T22, T9) → U15_aaaga(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_aaaga(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_aaaga(T46, T98, T95, T22, T9, app43_in_agaa(T95, T22, T98, T9))
app43_in_agaa([], T157, T158, .(T157, T158)) → app43_out_agaa([], T157, T158, .(T157, T158))
app43_in_agaa(.(T169, T170), T171, T172, .(T169, T174)) → U13_agaa(T169, T170, T171, T172, T174, app43_in_agaa(T170, T171, T172, T174))
U13_agaa(T169, T170, T171, T172, T174, app43_out_agaa(T170, T171, T172, T174)) → app43_out_agaa(.(T169, T170), T171, T172, .(T169, T174))
U16_aaaga(T46, T98, T95, T22, T9, app43_out_agaa(T95, T22, T98, T9)) → p41_out_aaaga(T46, T98, T95, T22, T9)
U22_aa(T22, T23, T24, T9, p41_out_aaaga(T46, X15, T95, T22, T9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U20_ga(T22, T23, T24, T9, qs1_out_aa(.(T23, T45), X14)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U21_ga(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_ga(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_ga(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
U22_ga(T22, T23, T24, T9, p41_out_aaaga(T46, X15, T95, T22, T9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
qs1_in_ga(.(T191, .(T192, T193)), T9) → U23_ga(T191, T192, T193, T9, part24_in_ggaa(T191, T193, X336, X337))
U23_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, X336, X337)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
qs1_in_ga(.(T191, .(T192, T193)), T9) → U24_ga(T191, T192, T193, T9, part24_in_ggaa(T191, T193, T197, T198))
U24_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U25_ga(T191, T192, T193, T9, qs42_in_aa(T197, X14))
U25_ga(T191, T192, T193, T9, qs42_out_aa(T197, X14)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
U24_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U26_ga(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_ga(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_ga(T191, T192, T193, T9, p41_in_aaaga(.(T192, T198), X15, T202, T191, T9))
U27_ga(T191, T192, T193, T9, p41_out_aaaga(.(T192, T198), X15, T202, T191, T9)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
qs1_in_ga(.(T207, []), T9) → U28_ga(T207, T9, qs84_in_a(X14))
U28_ga(T207, T9, qs84_out_a(X14)) → qs1_out_ga(.(T207, []), T9)
qs1_in_ga(.(T207, []), T9) → U29_ga(T207, T9, qs84_in_a(T210))
U29_ga(T207, T9, qs84_out_a(T210)) → U30_ga(T207, T9, qs84_in_a(X15))
U30_ga(T207, T9, qs84_out_a(X15)) → qs1_out_ga(.(T207, []), T9)
U29_ga(T207, T9, qs84_out_a(T210)) → U31_ga(T207, T9, T210, qs84_in_a(T213))
U31_ga(T207, T9, T210, qs84_out_a(T213)) → U32_ga(T207, T9, app43_in_ggga(T210, T207, T213, T9))
app43_in_ggga([], T157, T158, .(T157, T158)) → app43_out_ggga([], T157, T158, .(T157, T158))
app43_in_ggga(.(T169, T170), T171, T172, .(T169, T174)) → U13_ggga(T169, T170, T171, T172, T174, app43_in_ggga(T170, T171, T172, T174))
U13_ggga(T169, T170, T171, T172, T174, app43_out_ggga(T170, T171, T172, T174)) → app43_out_ggga(.(T169, T170), T171, T172, .(T169, T174))
U32_ga(T207, T9, app43_out_ggga(T210, T207, T213, T9)) → qs1_out_ga(.(T207, []), T9)

The argument filtering Pi contains the following mapping:
qs1_in_ga(x1, x2)  =  qs1_in_ga(x1)
[]  =  []
qs1_out_ga(x1, x2)  =  qs1_out_ga(x1)
.(x1, x2)  =  .(x1, x2)
U17_ga(x1, x2, x3, x4, x5)  =  U17_ga(x1, x2, x3, x5)
less14_in_gg(x1, x2)  =  less14_in_gg(x1, x2)
0  =  0
s(x1)  =  s(x1)
less14_out_gg(x1, x2)  =  less14_out_gg(x1, x2)
U1_gg(x1, x2, x3)  =  U1_gg(x1, x2, x3)
U18_ga(x1, x2, x3, x4, x5)  =  U18_ga(x1, x2, x3, x5)
part24_in_ggaa(x1, x2, x3, x4)  =  part24_in_ggaa(x1, x2)
U2_ggaa(x1, x2, x3, x4, x5, x6)  =  U2_ggaa(x1, x2, x3, x6)
part24_out_ggaa(x1, x2, x3, x4)  =  part24_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)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x2, x3, x5)
U20_ga(x1, x2, x3, x4, x5)  =  U20_ga(x1, x2, x3, x5)
qs1_in_aa(x1, x2)  =  qs1_in_aa
qs1_out_aa(x1, x2)  =  qs1_out_aa
U17_aa(x1, x2, x3, x4, x5)  =  U17_aa(x5)
less14_in_aa(x1, x2)  =  less14_in_aa
less14_out_aa(x1, x2)  =  less14_out_aa(x1)
U1_aa(x1, x2, x3)  =  U1_aa(x3)
U18_aa(x1, x2, x3, x4, x5)  =  U18_aa(x5)
part24_in_gaaa(x1, x2, x3, x4)  =  part24_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x1, x6)
less14_in_ga(x1, x2)  =  less14_in_ga(x1)
less14_out_ga(x1, x2)  =  less14_out_ga(x1)
U1_ga(x1, x2, x3)  =  U1_ga(x1, x3)
part24_out_gaaa(x1, x2, x3, x4)  =  part24_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)
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(x1, x5)
U20_aa(x1, x2, x3, x4, x5)  =  U20_aa(x5)
U23_aa(x1, x2, x3, x4, x5)  =  U23_aa(x5)
part24_in_aaaa(x1, x2, x3, x4)  =  part24_in_aaaa
U2_aaaa(x1, x2, x3, x4, x5, x6)  =  U2_aaaa(x6)
part24_out_aaaa(x1, x2, x3, x4)  =  part24_out_aaaa
U3_aaaa(x1, x2, x3, x4, x5, x6)  =  U3_aaaa(x6)
U4_aaaa(x1, x2, x3, x4, x5, x6)  =  U4_aaaa(x6)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
qs42_in_aa(x1, x2)  =  qs42_in_aa
qs42_out_aa(x1, x2)  =  qs42_out_aa
U5_aa(x1, x2, x3, x4)  =  U5_aa(x4)
U6_aa(x1, x2, x3, x4)  =  U6_aa(x4)
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
U8_aa(x1, x2, x3, x4, x5)  =  U8_aa(x5)
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)
app57_in_aaaa(x1, x2, x3, x4)  =  app57_in_aaaa
app57_out_aaaa(x1, x2, x3, x4)  =  app57_out_aaaa
U12_aaaa(x1, x2, x3, x4, x5, x6)  =  U12_aaaa(x6)
U26_aa(x1, x2, x3, x4, x5, x6)  =  U26_aa(x6)
U27_aa(x1, x2, x3, x4, x5)  =  U27_aa(x5)
p41_in_aaaaa(x1, x2, x3, x4, x5)  =  p41_in_aaaaa
U14_aaaaa(x1, x2, x3, x4, x5, x6)  =  U14_aaaaa(x6)
p41_out_aaaaa(x1, x2, x3, x4, x5)  =  p41_out_aaaaa
U15_aaaaa(x1, x2, x3, x4, x5, x6)  =  U15_aaaaa(x6)
U16_aaaaa(x1, x2, x3, x4, x5, x6)  =  U16_aaaaa(x6)
app43_in_aaaa(x1, x2, x3, x4)  =  app43_in_aaaa
app43_out_aaaa(x1, x2, x3, x4)  =  app43_out_aaaa
U13_aaaa(x1, x2, x3, x4, x5, x6)  =  U13_aaaa(x6)
U28_aa(x1, x2, x3)  =  U28_aa(x3)
qs84_in_a(x1)  =  qs84_in_a
qs84_out_a(x1)  =  qs84_out_a(x1)
U29_aa(x1, x2, x3)  =  U29_aa(x3)
U30_aa(x1, x2, x3)  =  U30_aa(x3)
U31_aa(x1, x2, x3, x4)  =  U31_aa(x3, x4)
U32_aa(x1, x2, x3)  =  U32_aa(x3)
app43_in_gaga(x1, x2, x3, x4)  =  app43_in_gaga(x1, x3)
app43_out_gaga(x1, x2, x3, x4)  =  app43_out_gaga(x1, x3)
U13_gaga(x1, x2, x3, x4, x5, x6)  =  U13_gaga(x1, x2, x4, x6)
U21_aa(x1, x2, x3, x4, x5, x6)  =  U21_aa(x1, x6)
U22_aa(x1, x2, x3, x4, x5)  =  U22_aa(x5)
p41_in_aaaga(x1, x2, x3, x4, x5)  =  p41_in_aaaga(x4)
U14_aaaga(x1, x2, x3, x4, x5, x6)  =  U14_aaaga(x4, x6)
p41_out_aaaga(x1, x2, x3, x4, x5)  =  p41_out_aaaga(x4)
U15_aaaga(x1, x2, x3, x4, x5, x6)  =  U15_aaaga(x4, x6)
U16_aaaga(x1, x2, x3, x4, x5, x6)  =  U16_aaaga(x4, x6)
app43_in_agaa(x1, x2, x3, x4)  =  app43_in_agaa(x2)
app43_out_agaa(x1, x2, x3, x4)  =  app43_out_agaa(x2)
U13_agaa(x1, x2, x3, x4, x5, x6)  =  U13_agaa(x3, x6)
U21_ga(x1, x2, x3, x4, x5, x6)  =  U21_ga(x1, x2, x3, x6)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x1, x2, x3, x5)
U23_ga(x1, x2, x3, x4, x5)  =  U23_ga(x1, x2, x3, x5)
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, x6)  =  U26_ga(x1, x2, x3, x6)
U27_ga(x1, x2, x3, x4, x5)  =  U27_ga(x1, x2, x3, x5)
U28_ga(x1, x2, x3)  =  U28_ga(x1, x3)
U29_ga(x1, x2, x3)  =  U29_ga(x1, x3)
U30_ga(x1, x2, x3)  =  U30_ga(x1, x3)
U31_ga(x1, x2, x3, x4)  =  U31_ga(x1, x3, x4)
U32_ga(x1, x2, x3)  =  U32_ga(x1, x3)
app43_in_ggga(x1, x2, x3, x4)  =  app43_in_ggga(x1, x2, x3)
app43_out_ggga(x1, x2, x3, x4)  =  app43_out_ggga(x1, x2, x3, x4)
U13_ggga(x1, x2, x3, x4, x5, x6)  =  U13_ggga(x1, x2, x3, x4, x6)
QS1_IN_GA(x1, x2)  =  QS1_IN_GA(x1)
U17_GA(x1, x2, x3, x4, x5)  =  U17_GA(x1, x2, x3, x5)
LESS14_IN_GG(x1, x2)  =  LESS14_IN_GG(x1, x2)
U1_GG(x1, x2, x3)  =  U1_GG(x1, x2, x3)
U18_GA(x1, x2, x3, x4, x5)  =  U18_GA(x1, x2, x3, x5)
PART24_IN_GGAA(x1, x2, x3, x4)  =  PART24_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)
U19_GA(x1, x2, x3, x4, x5)  =  U19_GA(x1, x2, x3, x5)
U20_GA(x1, x2, x3, x4, x5)  =  U20_GA(x1, x2, x3, x5)
QS1_IN_AA(x1, x2)  =  QS1_IN_AA
U17_AA(x1, x2, x3, x4, x5)  =  U17_AA(x5)
LESS14_IN_AA(x1, x2)  =  LESS14_IN_AA
U1_AA(x1, x2, x3)  =  U1_AA(x3)
U18_AA(x1, x2, x3, x4, x5)  =  U18_AA(x5)
PART24_IN_GAAA(x1, x2, x3, x4)  =  PART24_IN_GAAA(x1)
U2_GAAA(x1, x2, x3, x4, x5, x6)  =  U2_GAAA(x1, x6)
LESS14_IN_GA(x1, x2)  =  LESS14_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)
U19_AA(x1, x2, x3, x4, x5)  =  U19_AA(x1, x5)
U20_AA(x1, x2, x3, x4, x5)  =  U20_AA(x5)
U23_AA(x1, x2, x3, x4, x5)  =  U23_AA(x5)
PART24_IN_AAAA(x1, x2, x3, x4)  =  PART24_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)
U24_AA(x1, x2, x3, x4, x5)  =  U24_AA(x5)
U25_AA(x1, x2, x3, x4, x5)  =  U25_AA(x5)
QS42_IN_AA(x1, x2)  =  QS42_IN_AA
U5_AA(x1, x2, x3, x4)  =  U5_AA(x4)
U6_AA(x1, x2, x3, x4)  =  U6_AA(x4)
U7_AA(x1, x2, x3, x4)  =  U7_AA(x4)
U8_AA(x1, x2, x3, x4, x5)  =  U8_AA(x5)
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)
APP57_IN_AAAA(x1, x2, x3, x4)  =  APP57_IN_AAAA
U12_AAAA(x1, x2, x3, x4, x5, x6)  =  U12_AAAA(x6)
U26_AA(x1, x2, x3, x4, x5, x6)  =  U26_AA(x6)
U27_AA(x1, x2, x3, x4, x5)  =  U27_AA(x5)
P41_IN_AAAAA(x1, x2, x3, x4, x5)  =  P41_IN_AAAAA
U14_AAAAA(x1, x2, x3, x4, x5, x6)  =  U14_AAAAA(x6)
U15_AAAAA(x1, x2, x3, x4, x5, x6)  =  U15_AAAAA(x6)
U16_AAAAA(x1, x2, x3, x4, x5, x6)  =  U16_AAAAA(x6)
APP43_IN_AAAA(x1, x2, x3, x4)  =  APP43_IN_AAAA
U13_AAAA(x1, x2, x3, x4, x5, x6)  =  U13_AAAA(x6)
U28_AA(x1, x2, x3)  =  U28_AA(x3)
QS84_IN_A(x1)  =  QS84_IN_A
U29_AA(x1, x2, x3)  =  U29_AA(x3)
U30_AA(x1, x2, x3)  =  U30_AA(x3)
U31_AA(x1, x2, x3, x4)  =  U31_AA(x3, x4)
U32_AA(x1, x2, x3)  =  U32_AA(x3)
APP43_IN_GAGA(x1, x2, x3, x4)  =  APP43_IN_GAGA(x1, x3)
U13_GAGA(x1, x2, x3, x4, x5, x6)  =  U13_GAGA(x1, x2, x4, x6)
U21_AA(x1, x2, x3, x4, x5, x6)  =  U21_AA(x1, x6)
U22_AA(x1, x2, x3, x4, x5)  =  U22_AA(x5)
P41_IN_AAAGA(x1, x2, x3, x4, x5)  =  P41_IN_AAAGA(x4)
U14_AAAGA(x1, x2, x3, x4, x5, x6)  =  U14_AAAGA(x4, x6)
U15_AAAGA(x1, x2, x3, x4, x5, x6)  =  U15_AAAGA(x4, x6)
U16_AAAGA(x1, x2, x3, x4, x5, x6)  =  U16_AAAGA(x4, x6)
APP43_IN_AGAA(x1, x2, x3, x4)  =  APP43_IN_AGAA(x2)
U13_AGAA(x1, x2, x3, x4, x5, x6)  =  U13_AGAA(x3, x6)
U21_GA(x1, x2, x3, x4, x5, x6)  =  U21_GA(x1, x2, x3, x6)
U22_GA(x1, x2, x3, x4, x5)  =  U22_GA(x1, x2, x3, x5)
U23_GA(x1, x2, x3, x4, x5)  =  U23_GA(x1, x2, x3, x5)
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, x6)  =  U26_GA(x1, x2, x3, x6)
U27_GA(x1, x2, x3, x4, x5)  =  U27_GA(x1, x2, x3, x5)
U28_GA(x1, x2, x3)  =  U28_GA(x1, x3)
U29_GA(x1, x2, x3)  =  U29_GA(x1, x3)
U30_GA(x1, x2, x3)  =  U30_GA(x1, x3)
U31_GA(x1, x2, x3, x4)  =  U31_GA(x1, x3, x4)
U32_GA(x1, x2, x3)  =  U32_GA(x1, x3)
APP43_IN_GGGA(x1, x2, x3, x4)  =  APP43_IN_GGGA(x1, x2, x3)
U13_GGGA(x1, x2, x3, x4, x5, x6)  =  U13_GGGA(x1, x2, x3, x4, x6)

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

(115) Obligation:

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

QS1_IN_GA(.(T22, .(T23, T24)), T9) → U17_GA(T22, T23, T24, T9, less14_in_gg(T22, T23))
QS1_IN_GA(.(T22, .(T23, T24)), T9) → LESS14_IN_GG(T22, T23)
LESS14_IN_GG(s(T38), s(T39)) → U1_GG(T38, T39, less14_in_gg(T38, T39))
LESS14_IN_GG(s(T38), s(T39)) → LESS14_IN_GG(T38, T39)
U17_GA(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U18_GA(T22, T23, T24, T9, part24_in_ggaa(T22, T24, X52, X53))
U17_GA(T22, T23, T24, T9, less14_out_gg(T22, T23)) → PART24_IN_GGAA(T22, T24, X52, X53)
PART24_IN_GGAA(T62, .(T63, T64), .(T63, X126), X127) → U2_GGAA(T62, T63, T64, X126, X127, less14_in_gg(T62, T63))
PART24_IN_GGAA(T62, .(T63, T64), .(T63, X126), X127) → LESS14_IN_GG(T62, T63)
U2_GGAA(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → U3_GGAA(T62, T63, T64, X126, X127, part24_in_ggaa(T62, T64, X126, X127))
U2_GGAA(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → PART24_IN_GGAA(T62, T64, X126, X127)
PART24_IN_GGAA(T84, .(T85, T86), X177, .(T85, X178)) → U4_GGAA(T84, T85, T86, X177, X178, part24_in_ggaa(T84, T86, X177, X178))
PART24_IN_GGAA(T84, .(T85, T86), X177, .(T85, X178)) → PART24_IN_GGAA(T84, T86, X177, X178)
U17_GA(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U19_GA(T22, T23, T24, T9, part24_in_ggaa(T22, T24, T45, T46))
U19_GA(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U20_GA(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
U19_GA(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → QS1_IN_AA(.(T23, T45), X14)
QS1_IN_AA(.(T22, .(T23, T24)), T9) → U17_AA(T22, T23, T24, T9, less14_in_aa(T22, T23))
QS1_IN_AA(.(T22, .(T23, T24)), T9) → LESS14_IN_AA(T22, T23)
LESS14_IN_AA(s(T38), s(T39)) → U1_AA(T38, T39, less14_in_aa(T38, T39))
LESS14_IN_AA(s(T38), s(T39)) → LESS14_IN_AA(T38, T39)
U17_AA(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U18_AA(T22, T23, T24, T9, part24_in_gaaa(T22, T24, X52, X53))
U17_AA(T22, T23, T24, T9, less14_out_aa(T22, T23)) → PART24_IN_GAAA(T22, T24, X52, X53)
PART24_IN_GAAA(T62, .(T63, T64), .(T63, X126), X127) → U2_GAAA(T62, T63, T64, X126, X127, less14_in_ga(T62, T63))
PART24_IN_GAAA(T62, .(T63, T64), .(T63, X126), X127) → LESS14_IN_GA(T62, T63)
LESS14_IN_GA(s(T38), s(T39)) → U1_GA(T38, T39, less14_in_ga(T38, T39))
LESS14_IN_GA(s(T38), s(T39)) → LESS14_IN_GA(T38, T39)
U2_GAAA(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → U3_GAAA(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
U2_GAAA(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → PART24_IN_GAAA(T62, T64, X126, X127)
PART24_IN_GAAA(T84, .(T85, T86), X177, .(T85, X178)) → U4_GAAA(T84, T85, T86, X177, X178, part24_in_gaaa(T84, T86, X177, X178))
PART24_IN_GAAA(T84, .(T85, T86), X177, .(T85, X178)) → PART24_IN_GAAA(T84, T86, X177, X178)
U17_AA(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U19_AA(T22, T23, T24, T9, part24_in_gaaa(T22, T24, T45, T46))
U19_AA(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U20_AA(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
U19_AA(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → QS1_IN_AA(.(T23, T45), X14)
QS1_IN_AA(.(T191, .(T192, T193)), T9) → U23_AA(T191, T192, T193, T9, part24_in_aaaa(T191, T193, X336, X337))
QS1_IN_AA(.(T191, .(T192, T193)), T9) → PART24_IN_AAAA(T191, T193, X336, X337)
PART24_IN_AAAA(T62, .(T63, T64), .(T63, X126), X127) → U2_AAAA(T62, T63, T64, X126, X127, less14_in_aa(T62, T63))
PART24_IN_AAAA(T62, .(T63, T64), .(T63, X126), X127) → LESS14_IN_AA(T62, T63)
U2_AAAA(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → U3_AAAA(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
U2_AAAA(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → PART24_IN_GAAA(T62, T64, X126, X127)
PART24_IN_AAAA(T84, .(T85, T86), X177, .(T85, X178)) → U4_AAAA(T84, T85, T86, X177, X178, part24_in_aaaa(T84, T86, X177, X178))
PART24_IN_AAAA(T84, .(T85, T86), X177, .(T85, X178)) → PART24_IN_AAAA(T84, T86, X177, X178)
QS1_IN_AA(.(T191, .(T192, T193)), T9) → U24_AA(T191, T192, T193, T9, part24_in_aaaa(T191, T193, T197, T198))
U24_AA(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U25_AA(T191, T192, T193, T9, qs42_in_aa(T197, X14))
U24_AA(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → QS42_IN_AA(T197, X14)
QS42_IN_AA(.(T103, T104), X230) → U5_AA(T103, T104, X230, part24_in_aaaa(T103, T104, X226, X227))
QS42_IN_AA(.(T103, T104), X230) → PART24_IN_AAAA(T103, T104, X226, X227)
QS42_IN_AA(.(T103, T104), X230) → U6_AA(T103, T104, X230, part24_in_aaaa(T103, T104, T108, T109))
U6_AA(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U7_AA(T103, T104, X230, qs42_in_aa(T108, X228))
U6_AA(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → QS42_IN_AA(T108, X228)
U6_AA(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U8_AA(T103, T104, X230, T109, qs42_in_aa(T108, T113))
U8_AA(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U9_AA(T103, T104, X230, qs42_in_aa(T109, X229))
U8_AA(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → QS42_IN_AA(T109, X229)
U8_AA(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U10_AA(T103, T104, X230, T113, qs42_in_aa(T109, T114))
U10_AA(T103, T104, X230, T113, qs42_out_aa(T109, T114)) → U11_AA(T103, T104, X230, app57_in_aaaa(T113, T103, T114, X230))
U10_AA(T103, T104, X230, T113, qs42_out_aa(T109, T114)) → APP57_IN_AAAA(T113, T103, T114, X230)
APP57_IN_AAAA(.(T137, T138), T139, T140, .(T137, X270)) → U12_AAAA(T137, T138, T139, T140, X270, app57_in_aaaa(T138, T139, T140, X270))
APP57_IN_AAAA(.(T137, T138), T139, T140, .(T137, X270)) → APP57_IN_AAAA(T138, T139, T140, X270)
U24_AA(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U26_AA(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_AA(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_AA(T191, T192, T193, T9, p41_in_aaaaa(.(T192, T198), X15, T202, T191, T9))
U26_AA(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → P41_IN_AAAAA(.(T192, T198), X15, T202, T191, T9)
P41_IN_AAAAA(T46, X15, T95, T22, T9) → U14_AAAAA(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
P41_IN_AAAAA(T46, X15, T95, T22, T9) → QS42_IN_AA(T46, X15)
P41_IN_AAAAA(T46, T98, T95, T22, T9) → U15_AAAAA(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_AAAAA(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_AAAAA(T46, T98, T95, T22, T9, app43_in_aaaa(T95, T22, T98, T9))
U15_AAAAA(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → APP43_IN_AAAA(T95, T22, T98, T9)
APP43_IN_AAAA(.(T169, T170), T171, T172, .(T169, T174)) → U13_AAAA(T169, T170, T171, T172, T174, app43_in_aaaa(T170, T171, T172, T174))
APP43_IN_AAAA(.(T169, T170), T171, T172, .(T169, T174)) → APP43_IN_AAAA(T170, T171, T172, T174)
QS1_IN_AA(.(T207, []), T9) → U28_AA(T207, T9, qs84_in_a(X14))
QS1_IN_AA(.(T207, []), T9) → QS84_IN_A(X14)
QS1_IN_AA(.(T207, []), T9) → U29_AA(T207, T9, qs84_in_a(T210))
U29_AA(T207, T9, qs84_out_a(T210)) → U30_AA(T207, T9, qs84_in_a(X15))
U29_AA(T207, T9, qs84_out_a(T210)) → QS84_IN_A(X15)
U29_AA(T207, T9, qs84_out_a(T210)) → U31_AA(T207, T9, T210, qs84_in_a(T213))
U31_AA(T207, T9, T210, qs84_out_a(T213)) → U32_AA(T207, T9, app43_in_gaga(T210, T207, T213, T9))
U31_AA(T207, T9, T210, qs84_out_a(T213)) → APP43_IN_GAGA(T210, T207, T213, T9)
APP43_IN_GAGA(.(T169, T170), T171, T172, .(T169, T174)) → U13_GAGA(T169, T170, T171, T172, T174, app43_in_gaga(T170, T171, T172, T174))
APP43_IN_GAGA(.(T169, T170), T171, T172, .(T169, T174)) → APP43_IN_GAGA(T170, T171, T172, T174)
U19_AA(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U21_AA(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_AA(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_AA(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
U21_AA(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → P41_IN_AAAGA(T46, X15, T95, T22, T9)
P41_IN_AAAGA(T46, X15, T95, T22, T9) → U14_AAAGA(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
P41_IN_AAAGA(T46, X15, T95, T22, T9) → QS42_IN_AA(T46, X15)
P41_IN_AAAGA(T46, T98, T95, T22, T9) → U15_AAAGA(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_AAAGA(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_AAAGA(T46, T98, T95, T22, T9, app43_in_agaa(T95, T22, T98, T9))
U15_AAAGA(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → APP43_IN_AGAA(T95, T22, T98, T9)
APP43_IN_AGAA(.(T169, T170), T171, T172, .(T169, T174)) → U13_AGAA(T169, T170, T171, T172, T174, app43_in_agaa(T170, T171, T172, T174))
APP43_IN_AGAA(.(T169, T170), T171, T172, .(T169, T174)) → APP43_IN_AGAA(T170, T171, T172, T174)
U19_GA(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U21_GA(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_GA(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_GA(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
U21_GA(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → P41_IN_AAAGA(T46, X15, T95, T22, T9)
QS1_IN_GA(.(T191, .(T192, T193)), T9) → U23_GA(T191, T192, T193, T9, part24_in_ggaa(T191, T193, X336, X337))
QS1_IN_GA(.(T191, .(T192, T193)), T9) → PART24_IN_GGAA(T191, T193, X336, X337)
QS1_IN_GA(.(T191, .(T192, T193)), T9) → U24_GA(T191, T192, T193, T9, part24_in_ggaa(T191, T193, T197, T198))
U24_GA(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U25_GA(T191, T192, T193, T9, qs42_in_aa(T197, X14))
U24_GA(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → QS42_IN_AA(T197, X14)
U24_GA(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U26_GA(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_GA(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_GA(T191, T192, T193, T9, p41_in_aaaga(.(T192, T198), X15, T202, T191, T9))
U26_GA(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → P41_IN_AAAGA(.(T192, T198), X15, T202, T191, T9)
QS1_IN_GA(.(T207, []), T9) → U28_GA(T207, T9, qs84_in_a(X14))
QS1_IN_GA(.(T207, []), T9) → QS84_IN_A(X14)
QS1_IN_GA(.(T207, []), T9) → U29_GA(T207, T9, qs84_in_a(T210))
U29_GA(T207, T9, qs84_out_a(T210)) → U30_GA(T207, T9, qs84_in_a(X15))
U29_GA(T207, T9, qs84_out_a(T210)) → QS84_IN_A(X15)
U29_GA(T207, T9, qs84_out_a(T210)) → U31_GA(T207, T9, T210, qs84_in_a(T213))
U31_GA(T207, T9, T210, qs84_out_a(T213)) → U32_GA(T207, T9, app43_in_ggga(T210, T207, T213, T9))
U31_GA(T207, T9, T210, qs84_out_a(T213)) → APP43_IN_GGGA(T210, T207, T213, T9)
APP43_IN_GGGA(.(T169, T170), T171, T172, .(T169, T174)) → U13_GGGA(T169, T170, T171, T172, T174, app43_in_ggga(T170, T171, T172, T174))
APP43_IN_GGGA(.(T169, T170), T171, T172, .(T169, T174)) → APP43_IN_GGGA(T170, T171, T172, T174)

The TRS R consists of the following rules:

qs1_in_ga([], []) → qs1_out_ga([], [])
qs1_in_ga(.(T22, .(T23, T24)), T9) → U17_ga(T22, T23, T24, T9, less14_in_gg(T22, T23))
less14_in_gg(0, s(T33)) → less14_out_gg(0, s(T33))
less14_in_gg(s(T38), s(T39)) → U1_gg(T38, T39, less14_in_gg(T38, T39))
U1_gg(T38, T39, less14_out_gg(T38, T39)) → less14_out_gg(s(T38), s(T39))
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U18_ga(T22, T23, T24, T9, part24_in_ggaa(T22, T24, X52, X53))
part24_in_ggaa(T62, .(T63, T64), .(T63, X126), X127) → U2_ggaa(T62, T63, T64, X126, X127, less14_in_gg(T62, T63))
U2_ggaa(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → part24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
U2_ggaa(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → U3_ggaa(T62, T63, T64, X126, X127, part24_in_ggaa(T62, T64, X126, X127))
part24_in_ggaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_ggaa(T84, T85, T86, X177, X178, part24_in_ggaa(T84, T86, X177, X178))
part24_in_ggaa(T92, [], [], []) → part24_out_ggaa(T92, [], [], [])
U4_ggaa(T84, T85, T86, X177, X178, part24_out_ggaa(T84, T86, X177, X178)) → part24_out_ggaa(T84, .(T85, T86), X177, .(T85, X178))
U3_ggaa(T62, T63, T64, X126, X127, part24_out_ggaa(T62, T64, X126, X127)) → part24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
U18_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, X52, X53)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U19_ga(T22, T23, T24, T9, part24_in_ggaa(T22, T24, T45, T46))
U19_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U20_ga(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
qs1_in_aa([], []) → qs1_out_aa([], [])
qs1_in_aa(.(T22, .(T23, T24)), T9) → U17_aa(T22, T23, T24, T9, less14_in_aa(T22, T23))
less14_in_aa(0, s(T33)) → less14_out_aa(0, s(T33))
less14_in_aa(s(T38), s(T39)) → U1_aa(T38, T39, less14_in_aa(T38, T39))
U1_aa(T38, T39, less14_out_aa(T38, T39)) → less14_out_aa(s(T38), s(T39))
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U18_aa(T22, T23, T24, T9, part24_in_gaaa(T22, T24, X52, X53))
part24_in_gaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_gaaa(T62, T63, T64, X126, X127, less14_in_ga(T62, T63))
less14_in_ga(0, s(T33)) → less14_out_ga(0, s(T33))
less14_in_ga(s(T38), s(T39)) → U1_ga(T38, T39, less14_in_ga(T38, T39))
U1_ga(T38, T39, less14_out_ga(T38, T39)) → less14_out_ga(s(T38), s(T39))
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → U3_gaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
part24_in_gaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_gaaa(T84, T85, T86, X177, X178, part24_in_gaaa(T84, T86, X177, X178))
part24_in_gaaa(T92, [], [], []) → part24_out_gaaa(T92, [], [], [])
U4_gaaa(T84, T85, T86, X177, X178, part24_out_gaaa(T84, T86, X177, X178)) → part24_out_gaaa(T84, .(T85, T86), X177, .(T85, X178))
U3_gaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U18_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, X52, X53)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U19_aa(T22, T23, T24, T9, part24_in_gaaa(T22, T24, T45, T46))
U19_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U20_aa(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
qs1_in_aa(.(T191, .(T192, T193)), T9) → U23_aa(T191, T192, T193, T9, part24_in_aaaa(T191, T193, X336, X337))
part24_in_aaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_aaaa(T62, T63, T64, X126, X127, less14_in_aa(T62, T63))
U2_aaaa(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → part24_out_aaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_aaaa(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → U3_aaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
U3_aaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_aaaa(T62, .(T63, T64), .(T63, X126), X127)
part24_in_aaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_aaaa(T84, T85, T86, X177, X178, part24_in_aaaa(T84, T86, X177, X178))
part24_in_aaaa(T92, [], [], []) → part24_out_aaaa(T92, [], [], [])
U4_aaaa(T84, T85, T86, X177, X178, part24_out_aaaa(T84, T86, X177, X178)) → part24_out_aaaa(T84, .(T85, T86), X177, .(T85, X178))
U23_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, X336, X337)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
qs1_in_aa(.(T191, .(T192, T193)), T9) → U24_aa(T191, T192, T193, T9, part24_in_aaaa(T191, T193, T197, T198))
U24_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U25_aa(T191, T192, T193, T9, qs42_in_aa(T197, X14))
qs42_in_aa([], []) → qs42_out_aa([], [])
qs42_in_aa(.(T103, T104), X230) → U5_aa(T103, T104, X230, part24_in_aaaa(T103, T104, X226, X227))
U5_aa(T103, T104, X230, part24_out_aaaa(T103, T104, X226, X227)) → qs42_out_aa(.(T103, T104), X230)
qs42_in_aa(.(T103, T104), X230) → U6_aa(T103, T104, X230, part24_in_aaaa(T103, T104, T108, T109))
U6_aa(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U7_aa(T103, T104, X230, qs42_in_aa(T108, X228))
U7_aa(T103, T104, X230, qs42_out_aa(T108, X228)) → qs42_out_aa(.(T103, T104), X230)
U6_aa(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U8_aa(T103, T104, X230, T109, qs42_in_aa(T108, T113))
U8_aa(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U9_aa(T103, T104, X230, qs42_in_aa(T109, X229))
U9_aa(T103, T104, X230, qs42_out_aa(T109, X229)) → qs42_out_aa(.(T103, T104), X230)
U8_aa(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U10_aa(T103, T104, X230, T113, qs42_in_aa(T109, T114))
U10_aa(T103, T104, X230, T113, qs42_out_aa(T109, T114)) → U11_aa(T103, T104, X230, app57_in_aaaa(T113, T103, T114, X230))
app57_in_aaaa([], T127, T128, .(T127, T128)) → app57_out_aaaa([], T127, T128, .(T127, T128))
app57_in_aaaa(.(T137, T138), T139, T140, .(T137, X270)) → U12_aaaa(T137, T138, T139, T140, X270, app57_in_aaaa(T138, T139, T140, X270))
U12_aaaa(T137, T138, T139, T140, X270, app57_out_aaaa(T138, T139, T140, X270)) → app57_out_aaaa(.(T137, T138), T139, T140, .(T137, X270))
U11_aa(T103, T104, X230, app57_out_aaaa(T113, T103, T114, X230)) → qs42_out_aa(.(T103, T104), X230)
U25_aa(T191, T192, T193, T9, qs42_out_aa(T197, X14)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
U24_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U26_aa(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_aa(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_aa(T191, T192, T193, T9, p41_in_aaaaa(.(T192, T198), X15, T202, T191, T9))
p41_in_aaaaa(T46, X15, T95, T22, T9) → U14_aaaaa(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
U14_aaaaa(T46, X15, T95, T22, T9, qs42_out_aa(T46, X15)) → p41_out_aaaaa(T46, X15, T95, T22, T9)
p41_in_aaaaa(T46, T98, T95, T22, T9) → U15_aaaaa(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_aaaaa(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_aaaaa(T46, T98, T95, T22, T9, app43_in_aaaa(T95, T22, T98, T9))
app43_in_aaaa([], T157, T158, .(T157, T158)) → app43_out_aaaa([], T157, T158, .(T157, T158))
app43_in_aaaa(.(T169, T170), T171, T172, .(T169, T174)) → U13_aaaa(T169, T170, T171, T172, T174, app43_in_aaaa(T170, T171, T172, T174))
U13_aaaa(T169, T170, T171, T172, T174, app43_out_aaaa(T170, T171, T172, T174)) → app43_out_aaaa(.(T169, T170), T171, T172, .(T169, T174))
U16_aaaaa(T46, T98, T95, T22, T9, app43_out_aaaa(T95, T22, T98, T9)) → p41_out_aaaaa(T46, T98, T95, T22, T9)
U27_aa(T191, T192, T193, T9, p41_out_aaaaa(.(T192, T198), X15, T202, T191, T9)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
qs1_in_aa(.(T207, []), T9) → U28_aa(T207, T9, qs84_in_a(X14))
qs84_in_a([]) → qs84_out_a([])
U28_aa(T207, T9, qs84_out_a(X14)) → qs1_out_aa(.(T207, []), T9)
qs1_in_aa(.(T207, []), T9) → U29_aa(T207, T9, qs84_in_a(T210))
U29_aa(T207, T9, qs84_out_a(T210)) → U30_aa(T207, T9, qs84_in_a(X15))
U30_aa(T207, T9, qs84_out_a(X15)) → qs1_out_aa(.(T207, []), T9)
U29_aa(T207, T9, qs84_out_a(T210)) → U31_aa(T207, T9, T210, qs84_in_a(T213))
U31_aa(T207, T9, T210, qs84_out_a(T213)) → U32_aa(T207, T9, app43_in_gaga(T210, T207, T213, T9))
app43_in_gaga([], T157, T158, .(T157, T158)) → app43_out_gaga([], T157, T158, .(T157, T158))
app43_in_gaga(.(T169, T170), T171, T172, .(T169, T174)) → U13_gaga(T169, T170, T171, T172, T174, app43_in_gaga(T170, T171, T172, T174))
U13_gaga(T169, T170, T171, T172, T174, app43_out_gaga(T170, T171, T172, T174)) → app43_out_gaga(.(T169, T170), T171, T172, .(T169, T174))
U32_aa(T207, T9, app43_out_gaga(T210, T207, T213, T9)) → qs1_out_aa(.(T207, []), T9)
U20_aa(T22, T23, T24, T9, qs1_out_aa(.(T23, T45), X14)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U21_aa(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_aa(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_aa(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
p41_in_aaaga(T46, X15, T95, T22, T9) → U14_aaaga(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
U14_aaaga(T46, X15, T95, T22, T9, qs42_out_aa(T46, X15)) → p41_out_aaaga(T46, X15, T95, T22, T9)
p41_in_aaaga(T46, T98, T95, T22, T9) → U15_aaaga(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_aaaga(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_aaaga(T46, T98, T95, T22, T9, app43_in_agaa(T95, T22, T98, T9))
app43_in_agaa([], T157, T158, .(T157, T158)) → app43_out_agaa([], T157, T158, .(T157, T158))
app43_in_agaa(.(T169, T170), T171, T172, .(T169, T174)) → U13_agaa(T169, T170, T171, T172, T174, app43_in_agaa(T170, T171, T172, T174))
U13_agaa(T169, T170, T171, T172, T174, app43_out_agaa(T170, T171, T172, T174)) → app43_out_agaa(.(T169, T170), T171, T172, .(T169, T174))
U16_aaaga(T46, T98, T95, T22, T9, app43_out_agaa(T95, T22, T98, T9)) → p41_out_aaaga(T46, T98, T95, T22, T9)
U22_aa(T22, T23, T24, T9, p41_out_aaaga(T46, X15, T95, T22, T9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U20_ga(T22, T23, T24, T9, qs1_out_aa(.(T23, T45), X14)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U21_ga(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_ga(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_ga(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
U22_ga(T22, T23, T24, T9, p41_out_aaaga(T46, X15, T95, T22, T9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
qs1_in_ga(.(T191, .(T192, T193)), T9) → U23_ga(T191, T192, T193, T9, part24_in_ggaa(T191, T193, X336, X337))
U23_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, X336, X337)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
qs1_in_ga(.(T191, .(T192, T193)), T9) → U24_ga(T191, T192, T193, T9, part24_in_ggaa(T191, T193, T197, T198))
U24_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U25_ga(T191, T192, T193, T9, qs42_in_aa(T197, X14))
U25_ga(T191, T192, T193, T9, qs42_out_aa(T197, X14)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
U24_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U26_ga(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_ga(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_ga(T191, T192, T193, T9, p41_in_aaaga(.(T192, T198), X15, T202, T191, T9))
U27_ga(T191, T192, T193, T9, p41_out_aaaga(.(T192, T198), X15, T202, T191, T9)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
qs1_in_ga(.(T207, []), T9) → U28_ga(T207, T9, qs84_in_a(X14))
U28_ga(T207, T9, qs84_out_a(X14)) → qs1_out_ga(.(T207, []), T9)
qs1_in_ga(.(T207, []), T9) → U29_ga(T207, T9, qs84_in_a(T210))
U29_ga(T207, T9, qs84_out_a(T210)) → U30_ga(T207, T9, qs84_in_a(X15))
U30_ga(T207, T9, qs84_out_a(X15)) → qs1_out_ga(.(T207, []), T9)
U29_ga(T207, T9, qs84_out_a(T210)) → U31_ga(T207, T9, T210, qs84_in_a(T213))
U31_ga(T207, T9, T210, qs84_out_a(T213)) → U32_ga(T207, T9, app43_in_ggga(T210, T207, T213, T9))
app43_in_ggga([], T157, T158, .(T157, T158)) → app43_out_ggga([], T157, T158, .(T157, T158))
app43_in_ggga(.(T169, T170), T171, T172, .(T169, T174)) → U13_ggga(T169, T170, T171, T172, T174, app43_in_ggga(T170, T171, T172, T174))
U13_ggga(T169, T170, T171, T172, T174, app43_out_ggga(T170, T171, T172, T174)) → app43_out_ggga(.(T169, T170), T171, T172, .(T169, T174))
U32_ga(T207, T9, app43_out_ggga(T210, T207, T213, T9)) → qs1_out_ga(.(T207, []), T9)

The argument filtering Pi contains the following mapping:
qs1_in_ga(x1, x2)  =  qs1_in_ga(x1)
[]  =  []
qs1_out_ga(x1, x2)  =  qs1_out_ga(x1)
.(x1, x2)  =  .(x1, x2)
U17_ga(x1, x2, x3, x4, x5)  =  U17_ga(x1, x2, x3, x5)
less14_in_gg(x1, x2)  =  less14_in_gg(x1, x2)
0  =  0
s(x1)  =  s(x1)
less14_out_gg(x1, x2)  =  less14_out_gg(x1, x2)
U1_gg(x1, x2, x3)  =  U1_gg(x1, x2, x3)
U18_ga(x1, x2, x3, x4, x5)  =  U18_ga(x1, x2, x3, x5)
part24_in_ggaa(x1, x2, x3, x4)  =  part24_in_ggaa(x1, x2)
U2_ggaa(x1, x2, x3, x4, x5, x6)  =  U2_ggaa(x1, x2, x3, x6)
part24_out_ggaa(x1, x2, x3, x4)  =  part24_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)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x2, x3, x5)
U20_ga(x1, x2, x3, x4, x5)  =  U20_ga(x1, x2, x3, x5)
qs1_in_aa(x1, x2)  =  qs1_in_aa
qs1_out_aa(x1, x2)  =  qs1_out_aa
U17_aa(x1, x2, x3, x4, x5)  =  U17_aa(x5)
less14_in_aa(x1, x2)  =  less14_in_aa
less14_out_aa(x1, x2)  =  less14_out_aa(x1)
U1_aa(x1, x2, x3)  =  U1_aa(x3)
U18_aa(x1, x2, x3, x4, x5)  =  U18_aa(x5)
part24_in_gaaa(x1, x2, x3, x4)  =  part24_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x1, x6)
less14_in_ga(x1, x2)  =  less14_in_ga(x1)
less14_out_ga(x1, x2)  =  less14_out_ga(x1)
U1_ga(x1, x2, x3)  =  U1_ga(x1, x3)
part24_out_gaaa(x1, x2, x3, x4)  =  part24_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)
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(x1, x5)
U20_aa(x1, x2, x3, x4, x5)  =  U20_aa(x5)
U23_aa(x1, x2, x3, x4, x5)  =  U23_aa(x5)
part24_in_aaaa(x1, x2, x3, x4)  =  part24_in_aaaa
U2_aaaa(x1, x2, x3, x4, x5, x6)  =  U2_aaaa(x6)
part24_out_aaaa(x1, x2, x3, x4)  =  part24_out_aaaa
U3_aaaa(x1, x2, x3, x4, x5, x6)  =  U3_aaaa(x6)
U4_aaaa(x1, x2, x3, x4, x5, x6)  =  U4_aaaa(x6)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
qs42_in_aa(x1, x2)  =  qs42_in_aa
qs42_out_aa(x1, x2)  =  qs42_out_aa
U5_aa(x1, x2, x3, x4)  =  U5_aa(x4)
U6_aa(x1, x2, x3, x4)  =  U6_aa(x4)
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
U8_aa(x1, x2, x3, x4, x5)  =  U8_aa(x5)
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)
app57_in_aaaa(x1, x2, x3, x4)  =  app57_in_aaaa
app57_out_aaaa(x1, x2, x3, x4)  =  app57_out_aaaa
U12_aaaa(x1, x2, x3, x4, x5, x6)  =  U12_aaaa(x6)
U26_aa(x1, x2, x3, x4, x5, x6)  =  U26_aa(x6)
U27_aa(x1, x2, x3, x4, x5)  =  U27_aa(x5)
p41_in_aaaaa(x1, x2, x3, x4, x5)  =  p41_in_aaaaa
U14_aaaaa(x1, x2, x3, x4, x5, x6)  =  U14_aaaaa(x6)
p41_out_aaaaa(x1, x2, x3, x4, x5)  =  p41_out_aaaaa
U15_aaaaa(x1, x2, x3, x4, x5, x6)  =  U15_aaaaa(x6)
U16_aaaaa(x1, x2, x3, x4, x5, x6)  =  U16_aaaaa(x6)
app43_in_aaaa(x1, x2, x3, x4)  =  app43_in_aaaa
app43_out_aaaa(x1, x2, x3, x4)  =  app43_out_aaaa
U13_aaaa(x1, x2, x3, x4, x5, x6)  =  U13_aaaa(x6)
U28_aa(x1, x2, x3)  =  U28_aa(x3)
qs84_in_a(x1)  =  qs84_in_a
qs84_out_a(x1)  =  qs84_out_a(x1)
U29_aa(x1, x2, x3)  =  U29_aa(x3)
U30_aa(x1, x2, x3)  =  U30_aa(x3)
U31_aa(x1, x2, x3, x4)  =  U31_aa(x3, x4)
U32_aa(x1, x2, x3)  =  U32_aa(x3)
app43_in_gaga(x1, x2, x3, x4)  =  app43_in_gaga(x1, x3)
app43_out_gaga(x1, x2, x3, x4)  =  app43_out_gaga(x1, x3)
U13_gaga(x1, x2, x3, x4, x5, x6)  =  U13_gaga(x1, x2, x4, x6)
U21_aa(x1, x2, x3, x4, x5, x6)  =  U21_aa(x1, x6)
U22_aa(x1, x2, x3, x4, x5)  =  U22_aa(x5)
p41_in_aaaga(x1, x2, x3, x4, x5)  =  p41_in_aaaga(x4)
U14_aaaga(x1, x2, x3, x4, x5, x6)  =  U14_aaaga(x4, x6)
p41_out_aaaga(x1, x2, x3, x4, x5)  =  p41_out_aaaga(x4)
U15_aaaga(x1, x2, x3, x4, x5, x6)  =  U15_aaaga(x4, x6)
U16_aaaga(x1, x2, x3, x4, x5, x6)  =  U16_aaaga(x4, x6)
app43_in_agaa(x1, x2, x3, x4)  =  app43_in_agaa(x2)
app43_out_agaa(x1, x2, x3, x4)  =  app43_out_agaa(x2)
U13_agaa(x1, x2, x3, x4, x5, x6)  =  U13_agaa(x3, x6)
U21_ga(x1, x2, x3, x4, x5, x6)  =  U21_ga(x1, x2, x3, x6)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x1, x2, x3, x5)
U23_ga(x1, x2, x3, x4, x5)  =  U23_ga(x1, x2, x3, x5)
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, x6)  =  U26_ga(x1, x2, x3, x6)
U27_ga(x1, x2, x3, x4, x5)  =  U27_ga(x1, x2, x3, x5)
U28_ga(x1, x2, x3)  =  U28_ga(x1, x3)
U29_ga(x1, x2, x3)  =  U29_ga(x1, x3)
U30_ga(x1, x2, x3)  =  U30_ga(x1, x3)
U31_ga(x1, x2, x3, x4)  =  U31_ga(x1, x3, x4)
U32_ga(x1, x2, x3)  =  U32_ga(x1, x3)
app43_in_ggga(x1, x2, x3, x4)  =  app43_in_ggga(x1, x2, x3)
app43_out_ggga(x1, x2, x3, x4)  =  app43_out_ggga(x1, x2, x3, x4)
U13_ggga(x1, x2, x3, x4, x5, x6)  =  U13_ggga(x1, x2, x3, x4, x6)
QS1_IN_GA(x1, x2)  =  QS1_IN_GA(x1)
U17_GA(x1, x2, x3, x4, x5)  =  U17_GA(x1, x2, x3, x5)
LESS14_IN_GG(x1, x2)  =  LESS14_IN_GG(x1, x2)
U1_GG(x1, x2, x3)  =  U1_GG(x1, x2, x3)
U18_GA(x1, x2, x3, x4, x5)  =  U18_GA(x1, x2, x3, x5)
PART24_IN_GGAA(x1, x2, x3, x4)  =  PART24_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)
U19_GA(x1, x2, x3, x4, x5)  =  U19_GA(x1, x2, x3, x5)
U20_GA(x1, x2, x3, x4, x5)  =  U20_GA(x1, x2, x3, x5)
QS1_IN_AA(x1, x2)  =  QS1_IN_AA
U17_AA(x1, x2, x3, x4, x5)  =  U17_AA(x5)
LESS14_IN_AA(x1, x2)  =  LESS14_IN_AA
U1_AA(x1, x2, x3)  =  U1_AA(x3)
U18_AA(x1, x2, x3, x4, x5)  =  U18_AA(x5)
PART24_IN_GAAA(x1, x2, x3, x4)  =  PART24_IN_GAAA(x1)
U2_GAAA(x1, x2, x3, x4, x5, x6)  =  U2_GAAA(x1, x6)
LESS14_IN_GA(x1, x2)  =  LESS14_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)
U19_AA(x1, x2, x3, x4, x5)  =  U19_AA(x1, x5)
U20_AA(x1, x2, x3, x4, x5)  =  U20_AA(x5)
U23_AA(x1, x2, x3, x4, x5)  =  U23_AA(x5)
PART24_IN_AAAA(x1, x2, x3, x4)  =  PART24_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)
U24_AA(x1, x2, x3, x4, x5)  =  U24_AA(x5)
U25_AA(x1, x2, x3, x4, x5)  =  U25_AA(x5)
QS42_IN_AA(x1, x2)  =  QS42_IN_AA
U5_AA(x1, x2, x3, x4)  =  U5_AA(x4)
U6_AA(x1, x2, x3, x4)  =  U6_AA(x4)
U7_AA(x1, x2, x3, x4)  =  U7_AA(x4)
U8_AA(x1, x2, x3, x4, x5)  =  U8_AA(x5)
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)
APP57_IN_AAAA(x1, x2, x3, x4)  =  APP57_IN_AAAA
U12_AAAA(x1, x2, x3, x4, x5, x6)  =  U12_AAAA(x6)
U26_AA(x1, x2, x3, x4, x5, x6)  =  U26_AA(x6)
U27_AA(x1, x2, x3, x4, x5)  =  U27_AA(x5)
P41_IN_AAAAA(x1, x2, x3, x4, x5)  =  P41_IN_AAAAA
U14_AAAAA(x1, x2, x3, x4, x5, x6)  =  U14_AAAAA(x6)
U15_AAAAA(x1, x2, x3, x4, x5, x6)  =  U15_AAAAA(x6)
U16_AAAAA(x1, x2, x3, x4, x5, x6)  =  U16_AAAAA(x6)
APP43_IN_AAAA(x1, x2, x3, x4)  =  APP43_IN_AAAA
U13_AAAA(x1, x2, x3, x4, x5, x6)  =  U13_AAAA(x6)
U28_AA(x1, x2, x3)  =  U28_AA(x3)
QS84_IN_A(x1)  =  QS84_IN_A
U29_AA(x1, x2, x3)  =  U29_AA(x3)
U30_AA(x1, x2, x3)  =  U30_AA(x3)
U31_AA(x1, x2, x3, x4)  =  U31_AA(x3, x4)
U32_AA(x1, x2, x3)  =  U32_AA(x3)
APP43_IN_GAGA(x1, x2, x3, x4)  =  APP43_IN_GAGA(x1, x3)
U13_GAGA(x1, x2, x3, x4, x5, x6)  =  U13_GAGA(x1, x2, x4, x6)
U21_AA(x1, x2, x3, x4, x5, x6)  =  U21_AA(x1, x6)
U22_AA(x1, x2, x3, x4, x5)  =  U22_AA(x5)
P41_IN_AAAGA(x1, x2, x3, x4, x5)  =  P41_IN_AAAGA(x4)
U14_AAAGA(x1, x2, x3, x4, x5, x6)  =  U14_AAAGA(x4, x6)
U15_AAAGA(x1, x2, x3, x4, x5, x6)  =  U15_AAAGA(x4, x6)
U16_AAAGA(x1, x2, x3, x4, x5, x6)  =  U16_AAAGA(x4, x6)
APP43_IN_AGAA(x1, x2, x3, x4)  =  APP43_IN_AGAA(x2)
U13_AGAA(x1, x2, x3, x4, x5, x6)  =  U13_AGAA(x3, x6)
U21_GA(x1, x2, x3, x4, x5, x6)  =  U21_GA(x1, x2, x3, x6)
U22_GA(x1, x2, x3, x4, x5)  =  U22_GA(x1, x2, x3, x5)
U23_GA(x1, x2, x3, x4, x5)  =  U23_GA(x1, x2, x3, x5)
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, x6)  =  U26_GA(x1, x2, x3, x6)
U27_GA(x1, x2, x3, x4, x5)  =  U27_GA(x1, x2, x3, x5)
U28_GA(x1, x2, x3)  =  U28_GA(x1, x3)
U29_GA(x1, x2, x3)  =  U29_GA(x1, x3)
U30_GA(x1, x2, x3)  =  U30_GA(x1, x3)
U31_GA(x1, x2, x3, x4)  =  U31_GA(x1, x3, x4)
U32_GA(x1, x2, x3)  =  U32_GA(x1, x3)
APP43_IN_GGGA(x1, x2, x3, x4)  =  APP43_IN_GGGA(x1, x2, x3)
U13_GGGA(x1, x2, x3, x4, x5, x6)  =  U13_GGGA(x1, x2, x3, x4, x6)

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

(116) DependencyGraphProof (EQUIVALENT transformation)

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

(117) Complex Obligation (AND)

(118) Obligation:

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

APP43_IN_GGGA(.(T169, T170), T171, T172, .(T169, T174)) → APP43_IN_GGGA(T170, T171, T172, T174)

The TRS R consists of the following rules:

qs1_in_ga([], []) → qs1_out_ga([], [])
qs1_in_ga(.(T22, .(T23, T24)), T9) → U17_ga(T22, T23, T24, T9, less14_in_gg(T22, T23))
less14_in_gg(0, s(T33)) → less14_out_gg(0, s(T33))
less14_in_gg(s(T38), s(T39)) → U1_gg(T38, T39, less14_in_gg(T38, T39))
U1_gg(T38, T39, less14_out_gg(T38, T39)) → less14_out_gg(s(T38), s(T39))
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U18_ga(T22, T23, T24, T9, part24_in_ggaa(T22, T24, X52, X53))
part24_in_ggaa(T62, .(T63, T64), .(T63, X126), X127) → U2_ggaa(T62, T63, T64, X126, X127, less14_in_gg(T62, T63))
U2_ggaa(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → part24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
U2_ggaa(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → U3_ggaa(T62, T63, T64, X126, X127, part24_in_ggaa(T62, T64, X126, X127))
part24_in_ggaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_ggaa(T84, T85, T86, X177, X178, part24_in_ggaa(T84, T86, X177, X178))
part24_in_ggaa(T92, [], [], []) → part24_out_ggaa(T92, [], [], [])
U4_ggaa(T84, T85, T86, X177, X178, part24_out_ggaa(T84, T86, X177, X178)) → part24_out_ggaa(T84, .(T85, T86), X177, .(T85, X178))
U3_ggaa(T62, T63, T64, X126, X127, part24_out_ggaa(T62, T64, X126, X127)) → part24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
U18_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, X52, X53)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U19_ga(T22, T23, T24, T9, part24_in_ggaa(T22, T24, T45, T46))
U19_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U20_ga(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
qs1_in_aa([], []) → qs1_out_aa([], [])
qs1_in_aa(.(T22, .(T23, T24)), T9) → U17_aa(T22, T23, T24, T9, less14_in_aa(T22, T23))
less14_in_aa(0, s(T33)) → less14_out_aa(0, s(T33))
less14_in_aa(s(T38), s(T39)) → U1_aa(T38, T39, less14_in_aa(T38, T39))
U1_aa(T38, T39, less14_out_aa(T38, T39)) → less14_out_aa(s(T38), s(T39))
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U18_aa(T22, T23, T24, T9, part24_in_gaaa(T22, T24, X52, X53))
part24_in_gaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_gaaa(T62, T63, T64, X126, X127, less14_in_ga(T62, T63))
less14_in_ga(0, s(T33)) → less14_out_ga(0, s(T33))
less14_in_ga(s(T38), s(T39)) → U1_ga(T38, T39, less14_in_ga(T38, T39))
U1_ga(T38, T39, less14_out_ga(T38, T39)) → less14_out_ga(s(T38), s(T39))
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → U3_gaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
part24_in_gaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_gaaa(T84, T85, T86, X177, X178, part24_in_gaaa(T84, T86, X177, X178))
part24_in_gaaa(T92, [], [], []) → part24_out_gaaa(T92, [], [], [])
U4_gaaa(T84, T85, T86, X177, X178, part24_out_gaaa(T84, T86, X177, X178)) → part24_out_gaaa(T84, .(T85, T86), X177, .(T85, X178))
U3_gaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U18_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, X52, X53)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U19_aa(T22, T23, T24, T9, part24_in_gaaa(T22, T24, T45, T46))
U19_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U20_aa(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
qs1_in_aa(.(T191, .(T192, T193)), T9) → U23_aa(T191, T192, T193, T9, part24_in_aaaa(T191, T193, X336, X337))
part24_in_aaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_aaaa(T62, T63, T64, X126, X127, less14_in_aa(T62, T63))
U2_aaaa(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → part24_out_aaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_aaaa(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → U3_aaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
U3_aaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_aaaa(T62, .(T63, T64), .(T63, X126), X127)
part24_in_aaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_aaaa(T84, T85, T86, X177, X178, part24_in_aaaa(T84, T86, X177, X178))
part24_in_aaaa(T92, [], [], []) → part24_out_aaaa(T92, [], [], [])
U4_aaaa(T84, T85, T86, X177, X178, part24_out_aaaa(T84, T86, X177, X178)) → part24_out_aaaa(T84, .(T85, T86), X177, .(T85, X178))
U23_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, X336, X337)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
qs1_in_aa(.(T191, .(T192, T193)), T9) → U24_aa(T191, T192, T193, T9, part24_in_aaaa(T191, T193, T197, T198))
U24_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U25_aa(T191, T192, T193, T9, qs42_in_aa(T197, X14))
qs42_in_aa([], []) → qs42_out_aa([], [])
qs42_in_aa(.(T103, T104), X230) → U5_aa(T103, T104, X230, part24_in_aaaa(T103, T104, X226, X227))
U5_aa(T103, T104, X230, part24_out_aaaa(T103, T104, X226, X227)) → qs42_out_aa(.(T103, T104), X230)
qs42_in_aa(.(T103, T104), X230) → U6_aa(T103, T104, X230, part24_in_aaaa(T103, T104, T108, T109))
U6_aa(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U7_aa(T103, T104, X230, qs42_in_aa(T108, X228))
U7_aa(T103, T104, X230, qs42_out_aa(T108, X228)) → qs42_out_aa(.(T103, T104), X230)
U6_aa(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U8_aa(T103, T104, X230, T109, qs42_in_aa(T108, T113))
U8_aa(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U9_aa(T103, T104, X230, qs42_in_aa(T109, X229))
U9_aa(T103, T104, X230, qs42_out_aa(T109, X229)) → qs42_out_aa(.(T103, T104), X230)
U8_aa(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U10_aa(T103, T104, X230, T113, qs42_in_aa(T109, T114))
U10_aa(T103, T104, X230, T113, qs42_out_aa(T109, T114)) → U11_aa(T103, T104, X230, app57_in_aaaa(T113, T103, T114, X230))
app57_in_aaaa([], T127, T128, .(T127, T128)) → app57_out_aaaa([], T127, T128, .(T127, T128))
app57_in_aaaa(.(T137, T138), T139, T140, .(T137, X270)) → U12_aaaa(T137, T138, T139, T140, X270, app57_in_aaaa(T138, T139, T140, X270))
U12_aaaa(T137, T138, T139, T140, X270, app57_out_aaaa(T138, T139, T140, X270)) → app57_out_aaaa(.(T137, T138), T139, T140, .(T137, X270))
U11_aa(T103, T104, X230, app57_out_aaaa(T113, T103, T114, X230)) → qs42_out_aa(.(T103, T104), X230)
U25_aa(T191, T192, T193, T9, qs42_out_aa(T197, X14)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
U24_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U26_aa(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_aa(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_aa(T191, T192, T193, T9, p41_in_aaaaa(.(T192, T198), X15, T202, T191, T9))
p41_in_aaaaa(T46, X15, T95, T22, T9) → U14_aaaaa(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
U14_aaaaa(T46, X15, T95, T22, T9, qs42_out_aa(T46, X15)) → p41_out_aaaaa(T46, X15, T95, T22, T9)
p41_in_aaaaa(T46, T98, T95, T22, T9) → U15_aaaaa(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_aaaaa(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_aaaaa(T46, T98, T95, T22, T9, app43_in_aaaa(T95, T22, T98, T9))
app43_in_aaaa([], T157, T158, .(T157, T158)) → app43_out_aaaa([], T157, T158, .(T157, T158))
app43_in_aaaa(.(T169, T170), T171, T172, .(T169, T174)) → U13_aaaa(T169, T170, T171, T172, T174, app43_in_aaaa(T170, T171, T172, T174))
U13_aaaa(T169, T170, T171, T172, T174, app43_out_aaaa(T170, T171, T172, T174)) → app43_out_aaaa(.(T169, T170), T171, T172, .(T169, T174))
U16_aaaaa(T46, T98, T95, T22, T9, app43_out_aaaa(T95, T22, T98, T9)) → p41_out_aaaaa(T46, T98, T95, T22, T9)
U27_aa(T191, T192, T193, T9, p41_out_aaaaa(.(T192, T198), X15, T202, T191, T9)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
qs1_in_aa(.(T207, []), T9) → U28_aa(T207, T9, qs84_in_a(X14))
qs84_in_a([]) → qs84_out_a([])
U28_aa(T207, T9, qs84_out_a(X14)) → qs1_out_aa(.(T207, []), T9)
qs1_in_aa(.(T207, []), T9) → U29_aa(T207, T9, qs84_in_a(T210))
U29_aa(T207, T9, qs84_out_a(T210)) → U30_aa(T207, T9, qs84_in_a(X15))
U30_aa(T207, T9, qs84_out_a(X15)) → qs1_out_aa(.(T207, []), T9)
U29_aa(T207, T9, qs84_out_a(T210)) → U31_aa(T207, T9, T210, qs84_in_a(T213))
U31_aa(T207, T9, T210, qs84_out_a(T213)) → U32_aa(T207, T9, app43_in_gaga(T210, T207, T213, T9))
app43_in_gaga([], T157, T158, .(T157, T158)) → app43_out_gaga([], T157, T158, .(T157, T158))
app43_in_gaga(.(T169, T170), T171, T172, .(T169, T174)) → U13_gaga(T169, T170, T171, T172, T174, app43_in_gaga(T170, T171, T172, T174))
U13_gaga(T169, T170, T171, T172, T174, app43_out_gaga(T170, T171, T172, T174)) → app43_out_gaga(.(T169, T170), T171, T172, .(T169, T174))
U32_aa(T207, T9, app43_out_gaga(T210, T207, T213, T9)) → qs1_out_aa(.(T207, []), T9)
U20_aa(T22, T23, T24, T9, qs1_out_aa(.(T23, T45), X14)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U21_aa(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_aa(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_aa(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
p41_in_aaaga(T46, X15, T95, T22, T9) → U14_aaaga(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
U14_aaaga(T46, X15, T95, T22, T9, qs42_out_aa(T46, X15)) → p41_out_aaaga(T46, X15, T95, T22, T9)
p41_in_aaaga(T46, T98, T95, T22, T9) → U15_aaaga(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_aaaga(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_aaaga(T46, T98, T95, T22, T9, app43_in_agaa(T95, T22, T98, T9))
app43_in_agaa([], T157, T158, .(T157, T158)) → app43_out_agaa([], T157, T158, .(T157, T158))
app43_in_agaa(.(T169, T170), T171, T172, .(T169, T174)) → U13_agaa(T169, T170, T171, T172, T174, app43_in_agaa(T170, T171, T172, T174))
U13_agaa(T169, T170, T171, T172, T174, app43_out_agaa(T170, T171, T172, T174)) → app43_out_agaa(.(T169, T170), T171, T172, .(T169, T174))
U16_aaaga(T46, T98, T95, T22, T9, app43_out_agaa(T95, T22, T98, T9)) → p41_out_aaaga(T46, T98, T95, T22, T9)
U22_aa(T22, T23, T24, T9, p41_out_aaaga(T46, X15, T95, T22, T9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U20_ga(T22, T23, T24, T9, qs1_out_aa(.(T23, T45), X14)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U21_ga(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_ga(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_ga(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
U22_ga(T22, T23, T24, T9, p41_out_aaaga(T46, X15, T95, T22, T9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
qs1_in_ga(.(T191, .(T192, T193)), T9) → U23_ga(T191, T192, T193, T9, part24_in_ggaa(T191, T193, X336, X337))
U23_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, X336, X337)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
qs1_in_ga(.(T191, .(T192, T193)), T9) → U24_ga(T191, T192, T193, T9, part24_in_ggaa(T191, T193, T197, T198))
U24_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U25_ga(T191, T192, T193, T9, qs42_in_aa(T197, X14))
U25_ga(T191, T192, T193, T9, qs42_out_aa(T197, X14)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
U24_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U26_ga(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_ga(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_ga(T191, T192, T193, T9, p41_in_aaaga(.(T192, T198), X15, T202, T191, T9))
U27_ga(T191, T192, T193, T9, p41_out_aaaga(.(T192, T198), X15, T202, T191, T9)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
qs1_in_ga(.(T207, []), T9) → U28_ga(T207, T9, qs84_in_a(X14))
U28_ga(T207, T9, qs84_out_a(X14)) → qs1_out_ga(.(T207, []), T9)
qs1_in_ga(.(T207, []), T9) → U29_ga(T207, T9, qs84_in_a(T210))
U29_ga(T207, T9, qs84_out_a(T210)) → U30_ga(T207, T9, qs84_in_a(X15))
U30_ga(T207, T9, qs84_out_a(X15)) → qs1_out_ga(.(T207, []), T9)
U29_ga(T207, T9, qs84_out_a(T210)) → U31_ga(T207, T9, T210, qs84_in_a(T213))
U31_ga(T207, T9, T210, qs84_out_a(T213)) → U32_ga(T207, T9, app43_in_ggga(T210, T207, T213, T9))
app43_in_ggga([], T157, T158, .(T157, T158)) → app43_out_ggga([], T157, T158, .(T157, T158))
app43_in_ggga(.(T169, T170), T171, T172, .(T169, T174)) → U13_ggga(T169, T170, T171, T172, T174, app43_in_ggga(T170, T171, T172, T174))
U13_ggga(T169, T170, T171, T172, T174, app43_out_ggga(T170, T171, T172, T174)) → app43_out_ggga(.(T169, T170), T171, T172, .(T169, T174))
U32_ga(T207, T9, app43_out_ggga(T210, T207, T213, T9)) → qs1_out_ga(.(T207, []), T9)

The argument filtering Pi contains the following mapping:
qs1_in_ga(x1, x2)  =  qs1_in_ga(x1)
[]  =  []
qs1_out_ga(x1, x2)  =  qs1_out_ga(x1)
.(x1, x2)  =  .(x1, x2)
U17_ga(x1, x2, x3, x4, x5)  =  U17_ga(x1, x2, x3, x5)
less14_in_gg(x1, x2)  =  less14_in_gg(x1, x2)
0  =  0
s(x1)  =  s(x1)
less14_out_gg(x1, x2)  =  less14_out_gg(x1, x2)
U1_gg(x1, x2, x3)  =  U1_gg(x1, x2, x3)
U18_ga(x1, x2, x3, x4, x5)  =  U18_ga(x1, x2, x3, x5)
part24_in_ggaa(x1, x2, x3, x4)  =  part24_in_ggaa(x1, x2)
U2_ggaa(x1, x2, x3, x4, x5, x6)  =  U2_ggaa(x1, x2, x3, x6)
part24_out_ggaa(x1, x2, x3, x4)  =  part24_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)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x2, x3, x5)
U20_ga(x1, x2, x3, x4, x5)  =  U20_ga(x1, x2, x3, x5)
qs1_in_aa(x1, x2)  =  qs1_in_aa
qs1_out_aa(x1, x2)  =  qs1_out_aa
U17_aa(x1, x2, x3, x4, x5)  =  U17_aa(x5)
less14_in_aa(x1, x2)  =  less14_in_aa
less14_out_aa(x1, x2)  =  less14_out_aa(x1)
U1_aa(x1, x2, x3)  =  U1_aa(x3)
U18_aa(x1, x2, x3, x4, x5)  =  U18_aa(x5)
part24_in_gaaa(x1, x2, x3, x4)  =  part24_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x1, x6)
less14_in_ga(x1, x2)  =  less14_in_ga(x1)
less14_out_ga(x1, x2)  =  less14_out_ga(x1)
U1_ga(x1, x2, x3)  =  U1_ga(x1, x3)
part24_out_gaaa(x1, x2, x3, x4)  =  part24_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)
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(x1, x5)
U20_aa(x1, x2, x3, x4, x5)  =  U20_aa(x5)
U23_aa(x1, x2, x3, x4, x5)  =  U23_aa(x5)
part24_in_aaaa(x1, x2, x3, x4)  =  part24_in_aaaa
U2_aaaa(x1, x2, x3, x4, x5, x6)  =  U2_aaaa(x6)
part24_out_aaaa(x1, x2, x3, x4)  =  part24_out_aaaa
U3_aaaa(x1, x2, x3, x4, x5, x6)  =  U3_aaaa(x6)
U4_aaaa(x1, x2, x3, x4, x5, x6)  =  U4_aaaa(x6)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
qs42_in_aa(x1, x2)  =  qs42_in_aa
qs42_out_aa(x1, x2)  =  qs42_out_aa
U5_aa(x1, x2, x3, x4)  =  U5_aa(x4)
U6_aa(x1, x2, x3, x4)  =  U6_aa(x4)
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
U8_aa(x1, x2, x3, x4, x5)  =  U8_aa(x5)
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)
app57_in_aaaa(x1, x2, x3, x4)  =  app57_in_aaaa
app57_out_aaaa(x1, x2, x3, x4)  =  app57_out_aaaa
U12_aaaa(x1, x2, x3, x4, x5, x6)  =  U12_aaaa(x6)
U26_aa(x1, x2, x3, x4, x5, x6)  =  U26_aa(x6)
U27_aa(x1, x2, x3, x4, x5)  =  U27_aa(x5)
p41_in_aaaaa(x1, x2, x3, x4, x5)  =  p41_in_aaaaa
U14_aaaaa(x1, x2, x3, x4, x5, x6)  =  U14_aaaaa(x6)
p41_out_aaaaa(x1, x2, x3, x4, x5)  =  p41_out_aaaaa
U15_aaaaa(x1, x2, x3, x4, x5, x6)  =  U15_aaaaa(x6)
U16_aaaaa(x1, x2, x3, x4, x5, x6)  =  U16_aaaaa(x6)
app43_in_aaaa(x1, x2, x3, x4)  =  app43_in_aaaa
app43_out_aaaa(x1, x2, x3, x4)  =  app43_out_aaaa
U13_aaaa(x1, x2, x3, x4, x5, x6)  =  U13_aaaa(x6)
U28_aa(x1, x2, x3)  =  U28_aa(x3)
qs84_in_a(x1)  =  qs84_in_a
qs84_out_a(x1)  =  qs84_out_a(x1)
U29_aa(x1, x2, x3)  =  U29_aa(x3)
U30_aa(x1, x2, x3)  =  U30_aa(x3)
U31_aa(x1, x2, x3, x4)  =  U31_aa(x3, x4)
U32_aa(x1, x2, x3)  =  U32_aa(x3)
app43_in_gaga(x1, x2, x3, x4)  =  app43_in_gaga(x1, x3)
app43_out_gaga(x1, x2, x3, x4)  =  app43_out_gaga(x1, x3)
U13_gaga(x1, x2, x3, x4, x5, x6)  =  U13_gaga(x1, x2, x4, x6)
U21_aa(x1, x2, x3, x4, x5, x6)  =  U21_aa(x1, x6)
U22_aa(x1, x2, x3, x4, x5)  =  U22_aa(x5)
p41_in_aaaga(x1, x2, x3, x4, x5)  =  p41_in_aaaga(x4)
U14_aaaga(x1, x2, x3, x4, x5, x6)  =  U14_aaaga(x4, x6)
p41_out_aaaga(x1, x2, x3, x4, x5)  =  p41_out_aaaga(x4)
U15_aaaga(x1, x2, x3, x4, x5, x6)  =  U15_aaaga(x4, x6)
U16_aaaga(x1, x2, x3, x4, x5, x6)  =  U16_aaaga(x4, x6)
app43_in_agaa(x1, x2, x3, x4)  =  app43_in_agaa(x2)
app43_out_agaa(x1, x2, x3, x4)  =  app43_out_agaa(x2)
U13_agaa(x1, x2, x3, x4, x5, x6)  =  U13_agaa(x3, x6)
U21_ga(x1, x2, x3, x4, x5, x6)  =  U21_ga(x1, x2, x3, x6)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x1, x2, x3, x5)
U23_ga(x1, x2, x3, x4, x5)  =  U23_ga(x1, x2, x3, x5)
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, x6)  =  U26_ga(x1, x2, x3, x6)
U27_ga(x1, x2, x3, x4, x5)  =  U27_ga(x1, x2, x3, x5)
U28_ga(x1, x2, x3)  =  U28_ga(x1, x3)
U29_ga(x1, x2, x3)  =  U29_ga(x1, x3)
U30_ga(x1, x2, x3)  =  U30_ga(x1, x3)
U31_ga(x1, x2, x3, x4)  =  U31_ga(x1, x3, x4)
U32_ga(x1, x2, x3)  =  U32_ga(x1, x3)
app43_in_ggga(x1, x2, x3, x4)  =  app43_in_ggga(x1, x2, x3)
app43_out_ggga(x1, x2, x3, x4)  =  app43_out_ggga(x1, x2, x3, x4)
U13_ggga(x1, x2, x3, x4, x5, x6)  =  U13_ggga(x1, x2, x3, x4, x6)
APP43_IN_GGGA(x1, x2, x3, x4)  =  APP43_IN_GGGA(x1, x2, x3)

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

(119) UsableRulesProof (EQUIVALENT transformation)

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

(120) Obligation:

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

APP43_IN_GGGA(.(T169, T170), T171, T172, .(T169, T174)) → APP43_IN_GGGA(T170, T171, T172, T174)

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

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

(121) PiDPToQDPProof (SOUND transformation)

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

(122) Obligation:

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

APP43_IN_GGGA(.(T169, T170), T171, T172) → APP43_IN_GGGA(T170, T171, T172)

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

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

  • APP43_IN_GGGA(.(T169, T170), T171, T172) → APP43_IN_GGGA(T170, T171, T172)
    The graph contains the following edges 1 > 1, 2 >= 2, 3 >= 3

(124) YES

(125) Obligation:

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

APP43_IN_AGAA(.(T169, T170), T171, T172, .(T169, T174)) → APP43_IN_AGAA(T170, T171, T172, T174)

The TRS R consists of the following rules:

qs1_in_ga([], []) → qs1_out_ga([], [])
qs1_in_ga(.(T22, .(T23, T24)), T9) → U17_ga(T22, T23, T24, T9, less14_in_gg(T22, T23))
less14_in_gg(0, s(T33)) → less14_out_gg(0, s(T33))
less14_in_gg(s(T38), s(T39)) → U1_gg(T38, T39, less14_in_gg(T38, T39))
U1_gg(T38, T39, less14_out_gg(T38, T39)) → less14_out_gg(s(T38), s(T39))
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U18_ga(T22, T23, T24, T9, part24_in_ggaa(T22, T24, X52, X53))
part24_in_ggaa(T62, .(T63, T64), .(T63, X126), X127) → U2_ggaa(T62, T63, T64, X126, X127, less14_in_gg(T62, T63))
U2_ggaa(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → part24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
U2_ggaa(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → U3_ggaa(T62, T63, T64, X126, X127, part24_in_ggaa(T62, T64, X126, X127))
part24_in_ggaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_ggaa(T84, T85, T86, X177, X178, part24_in_ggaa(T84, T86, X177, X178))
part24_in_ggaa(T92, [], [], []) → part24_out_ggaa(T92, [], [], [])
U4_ggaa(T84, T85, T86, X177, X178, part24_out_ggaa(T84, T86, X177, X178)) → part24_out_ggaa(T84, .(T85, T86), X177, .(T85, X178))
U3_ggaa(T62, T63, T64, X126, X127, part24_out_ggaa(T62, T64, X126, X127)) → part24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
U18_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, X52, X53)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U19_ga(T22, T23, T24, T9, part24_in_ggaa(T22, T24, T45, T46))
U19_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U20_ga(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
qs1_in_aa([], []) → qs1_out_aa([], [])
qs1_in_aa(.(T22, .(T23, T24)), T9) → U17_aa(T22, T23, T24, T9, less14_in_aa(T22, T23))
less14_in_aa(0, s(T33)) → less14_out_aa(0, s(T33))
less14_in_aa(s(T38), s(T39)) → U1_aa(T38, T39, less14_in_aa(T38, T39))
U1_aa(T38, T39, less14_out_aa(T38, T39)) → less14_out_aa(s(T38), s(T39))
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U18_aa(T22, T23, T24, T9, part24_in_gaaa(T22, T24, X52, X53))
part24_in_gaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_gaaa(T62, T63, T64, X126, X127, less14_in_ga(T62, T63))
less14_in_ga(0, s(T33)) → less14_out_ga(0, s(T33))
less14_in_ga(s(T38), s(T39)) → U1_ga(T38, T39, less14_in_ga(T38, T39))
U1_ga(T38, T39, less14_out_ga(T38, T39)) → less14_out_ga(s(T38), s(T39))
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → U3_gaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
part24_in_gaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_gaaa(T84, T85, T86, X177, X178, part24_in_gaaa(T84, T86, X177, X178))
part24_in_gaaa(T92, [], [], []) → part24_out_gaaa(T92, [], [], [])
U4_gaaa(T84, T85, T86, X177, X178, part24_out_gaaa(T84, T86, X177, X178)) → part24_out_gaaa(T84, .(T85, T86), X177, .(T85, X178))
U3_gaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U18_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, X52, X53)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U19_aa(T22, T23, T24, T9, part24_in_gaaa(T22, T24, T45, T46))
U19_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U20_aa(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
qs1_in_aa(.(T191, .(T192, T193)), T9) → U23_aa(T191, T192, T193, T9, part24_in_aaaa(T191, T193, X336, X337))
part24_in_aaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_aaaa(T62, T63, T64, X126, X127, less14_in_aa(T62, T63))
U2_aaaa(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → part24_out_aaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_aaaa(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → U3_aaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
U3_aaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_aaaa(T62, .(T63, T64), .(T63, X126), X127)
part24_in_aaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_aaaa(T84, T85, T86, X177, X178, part24_in_aaaa(T84, T86, X177, X178))
part24_in_aaaa(T92, [], [], []) → part24_out_aaaa(T92, [], [], [])
U4_aaaa(T84, T85, T86, X177, X178, part24_out_aaaa(T84, T86, X177, X178)) → part24_out_aaaa(T84, .(T85, T86), X177, .(T85, X178))
U23_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, X336, X337)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
qs1_in_aa(.(T191, .(T192, T193)), T9) → U24_aa(T191, T192, T193, T9, part24_in_aaaa(T191, T193, T197, T198))
U24_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U25_aa(T191, T192, T193, T9, qs42_in_aa(T197, X14))
qs42_in_aa([], []) → qs42_out_aa([], [])
qs42_in_aa(.(T103, T104), X230) → U5_aa(T103, T104, X230, part24_in_aaaa(T103, T104, X226, X227))
U5_aa(T103, T104, X230, part24_out_aaaa(T103, T104, X226, X227)) → qs42_out_aa(.(T103, T104), X230)
qs42_in_aa(.(T103, T104), X230) → U6_aa(T103, T104, X230, part24_in_aaaa(T103, T104, T108, T109))
U6_aa(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U7_aa(T103, T104, X230, qs42_in_aa(T108, X228))
U7_aa(T103, T104, X230, qs42_out_aa(T108, X228)) → qs42_out_aa(.(T103, T104), X230)
U6_aa(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U8_aa(T103, T104, X230, T109, qs42_in_aa(T108, T113))
U8_aa(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U9_aa(T103, T104, X230, qs42_in_aa(T109, X229))
U9_aa(T103, T104, X230, qs42_out_aa(T109, X229)) → qs42_out_aa(.(T103, T104), X230)
U8_aa(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U10_aa(T103, T104, X230, T113, qs42_in_aa(T109, T114))
U10_aa(T103, T104, X230, T113, qs42_out_aa(T109, T114)) → U11_aa(T103, T104, X230, app57_in_aaaa(T113, T103, T114, X230))
app57_in_aaaa([], T127, T128, .(T127, T128)) → app57_out_aaaa([], T127, T128, .(T127, T128))
app57_in_aaaa(.(T137, T138), T139, T140, .(T137, X270)) → U12_aaaa(T137, T138, T139, T140, X270, app57_in_aaaa(T138, T139, T140, X270))
U12_aaaa(T137, T138, T139, T140, X270, app57_out_aaaa(T138, T139, T140, X270)) → app57_out_aaaa(.(T137, T138), T139, T140, .(T137, X270))
U11_aa(T103, T104, X230, app57_out_aaaa(T113, T103, T114, X230)) → qs42_out_aa(.(T103, T104), X230)
U25_aa(T191, T192, T193, T9, qs42_out_aa(T197, X14)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
U24_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U26_aa(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_aa(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_aa(T191, T192, T193, T9, p41_in_aaaaa(.(T192, T198), X15, T202, T191, T9))
p41_in_aaaaa(T46, X15, T95, T22, T9) → U14_aaaaa(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
U14_aaaaa(T46, X15, T95, T22, T9, qs42_out_aa(T46, X15)) → p41_out_aaaaa(T46, X15, T95, T22, T9)
p41_in_aaaaa(T46, T98, T95, T22, T9) → U15_aaaaa(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_aaaaa(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_aaaaa(T46, T98, T95, T22, T9, app43_in_aaaa(T95, T22, T98, T9))
app43_in_aaaa([], T157, T158, .(T157, T158)) → app43_out_aaaa([], T157, T158, .(T157, T158))
app43_in_aaaa(.(T169, T170), T171, T172, .(T169, T174)) → U13_aaaa(T169, T170, T171, T172, T174, app43_in_aaaa(T170, T171, T172, T174))
U13_aaaa(T169, T170, T171, T172, T174, app43_out_aaaa(T170, T171, T172, T174)) → app43_out_aaaa(.(T169, T170), T171, T172, .(T169, T174))
U16_aaaaa(T46, T98, T95, T22, T9, app43_out_aaaa(T95, T22, T98, T9)) → p41_out_aaaaa(T46, T98, T95, T22, T9)
U27_aa(T191, T192, T193, T9, p41_out_aaaaa(.(T192, T198), X15, T202, T191, T9)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
qs1_in_aa(.(T207, []), T9) → U28_aa(T207, T9, qs84_in_a(X14))
qs84_in_a([]) → qs84_out_a([])
U28_aa(T207, T9, qs84_out_a(X14)) → qs1_out_aa(.(T207, []), T9)
qs1_in_aa(.(T207, []), T9) → U29_aa(T207, T9, qs84_in_a(T210))
U29_aa(T207, T9, qs84_out_a(T210)) → U30_aa(T207, T9, qs84_in_a(X15))
U30_aa(T207, T9, qs84_out_a(X15)) → qs1_out_aa(.(T207, []), T9)
U29_aa(T207, T9, qs84_out_a(T210)) → U31_aa(T207, T9, T210, qs84_in_a(T213))
U31_aa(T207, T9, T210, qs84_out_a(T213)) → U32_aa(T207, T9, app43_in_gaga(T210, T207, T213, T9))
app43_in_gaga([], T157, T158, .(T157, T158)) → app43_out_gaga([], T157, T158, .(T157, T158))
app43_in_gaga(.(T169, T170), T171, T172, .(T169, T174)) → U13_gaga(T169, T170, T171, T172, T174, app43_in_gaga(T170, T171, T172, T174))
U13_gaga(T169, T170, T171, T172, T174, app43_out_gaga(T170, T171, T172, T174)) → app43_out_gaga(.(T169, T170), T171, T172, .(T169, T174))
U32_aa(T207, T9, app43_out_gaga(T210, T207, T213, T9)) → qs1_out_aa(.(T207, []), T9)
U20_aa(T22, T23, T24, T9, qs1_out_aa(.(T23, T45), X14)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U21_aa(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_aa(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_aa(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
p41_in_aaaga(T46, X15, T95, T22, T9) → U14_aaaga(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
U14_aaaga(T46, X15, T95, T22, T9, qs42_out_aa(T46, X15)) → p41_out_aaaga(T46, X15, T95, T22, T9)
p41_in_aaaga(T46, T98, T95, T22, T9) → U15_aaaga(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_aaaga(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_aaaga(T46, T98, T95, T22, T9, app43_in_agaa(T95, T22, T98, T9))
app43_in_agaa([], T157, T158, .(T157, T158)) → app43_out_agaa([], T157, T158, .(T157, T158))
app43_in_agaa(.(T169, T170), T171, T172, .(T169, T174)) → U13_agaa(T169, T170, T171, T172, T174, app43_in_agaa(T170, T171, T172, T174))
U13_agaa(T169, T170, T171, T172, T174, app43_out_agaa(T170, T171, T172, T174)) → app43_out_agaa(.(T169, T170), T171, T172, .(T169, T174))
U16_aaaga(T46, T98, T95, T22, T9, app43_out_agaa(T95, T22, T98, T9)) → p41_out_aaaga(T46, T98, T95, T22, T9)
U22_aa(T22, T23, T24, T9, p41_out_aaaga(T46, X15, T95, T22, T9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U20_ga(T22, T23, T24, T9, qs1_out_aa(.(T23, T45), X14)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U21_ga(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_ga(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_ga(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
U22_ga(T22, T23, T24, T9, p41_out_aaaga(T46, X15, T95, T22, T9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
qs1_in_ga(.(T191, .(T192, T193)), T9) → U23_ga(T191, T192, T193, T9, part24_in_ggaa(T191, T193, X336, X337))
U23_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, X336, X337)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
qs1_in_ga(.(T191, .(T192, T193)), T9) → U24_ga(T191, T192, T193, T9, part24_in_ggaa(T191, T193, T197, T198))
U24_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U25_ga(T191, T192, T193, T9, qs42_in_aa(T197, X14))
U25_ga(T191, T192, T193, T9, qs42_out_aa(T197, X14)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
U24_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U26_ga(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_ga(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_ga(T191, T192, T193, T9, p41_in_aaaga(.(T192, T198), X15, T202, T191, T9))
U27_ga(T191, T192, T193, T9, p41_out_aaaga(.(T192, T198), X15, T202, T191, T9)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
qs1_in_ga(.(T207, []), T9) → U28_ga(T207, T9, qs84_in_a(X14))
U28_ga(T207, T9, qs84_out_a(X14)) → qs1_out_ga(.(T207, []), T9)
qs1_in_ga(.(T207, []), T9) → U29_ga(T207, T9, qs84_in_a(T210))
U29_ga(T207, T9, qs84_out_a(T210)) → U30_ga(T207, T9, qs84_in_a(X15))
U30_ga(T207, T9, qs84_out_a(X15)) → qs1_out_ga(.(T207, []), T9)
U29_ga(T207, T9, qs84_out_a(T210)) → U31_ga(T207, T9, T210, qs84_in_a(T213))
U31_ga(T207, T9, T210, qs84_out_a(T213)) → U32_ga(T207, T9, app43_in_ggga(T210, T207, T213, T9))
app43_in_ggga([], T157, T158, .(T157, T158)) → app43_out_ggga([], T157, T158, .(T157, T158))
app43_in_ggga(.(T169, T170), T171, T172, .(T169, T174)) → U13_ggga(T169, T170, T171, T172, T174, app43_in_ggga(T170, T171, T172, T174))
U13_ggga(T169, T170, T171, T172, T174, app43_out_ggga(T170, T171, T172, T174)) → app43_out_ggga(.(T169, T170), T171, T172, .(T169, T174))
U32_ga(T207, T9, app43_out_ggga(T210, T207, T213, T9)) → qs1_out_ga(.(T207, []), T9)

The argument filtering Pi contains the following mapping:
qs1_in_ga(x1, x2)  =  qs1_in_ga(x1)
[]  =  []
qs1_out_ga(x1, x2)  =  qs1_out_ga(x1)
.(x1, x2)  =  .(x1, x2)
U17_ga(x1, x2, x3, x4, x5)  =  U17_ga(x1, x2, x3, x5)
less14_in_gg(x1, x2)  =  less14_in_gg(x1, x2)
0  =  0
s(x1)  =  s(x1)
less14_out_gg(x1, x2)  =  less14_out_gg(x1, x2)
U1_gg(x1, x2, x3)  =  U1_gg(x1, x2, x3)
U18_ga(x1, x2, x3, x4, x5)  =  U18_ga(x1, x2, x3, x5)
part24_in_ggaa(x1, x2, x3, x4)  =  part24_in_ggaa(x1, x2)
U2_ggaa(x1, x2, x3, x4, x5, x6)  =  U2_ggaa(x1, x2, x3, x6)
part24_out_ggaa(x1, x2, x3, x4)  =  part24_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)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x2, x3, x5)
U20_ga(x1, x2, x3, x4, x5)  =  U20_ga(x1, x2, x3, x5)
qs1_in_aa(x1, x2)  =  qs1_in_aa
qs1_out_aa(x1, x2)  =  qs1_out_aa
U17_aa(x1, x2, x3, x4, x5)  =  U17_aa(x5)
less14_in_aa(x1, x2)  =  less14_in_aa
less14_out_aa(x1, x2)  =  less14_out_aa(x1)
U1_aa(x1, x2, x3)  =  U1_aa(x3)
U18_aa(x1, x2, x3, x4, x5)  =  U18_aa(x5)
part24_in_gaaa(x1, x2, x3, x4)  =  part24_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x1, x6)
less14_in_ga(x1, x2)  =  less14_in_ga(x1)
less14_out_ga(x1, x2)  =  less14_out_ga(x1)
U1_ga(x1, x2, x3)  =  U1_ga(x1, x3)
part24_out_gaaa(x1, x2, x3, x4)  =  part24_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)
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(x1, x5)
U20_aa(x1, x2, x3, x4, x5)  =  U20_aa(x5)
U23_aa(x1, x2, x3, x4, x5)  =  U23_aa(x5)
part24_in_aaaa(x1, x2, x3, x4)  =  part24_in_aaaa
U2_aaaa(x1, x2, x3, x4, x5, x6)  =  U2_aaaa(x6)
part24_out_aaaa(x1, x2, x3, x4)  =  part24_out_aaaa
U3_aaaa(x1, x2, x3, x4, x5, x6)  =  U3_aaaa(x6)
U4_aaaa(x1, x2, x3, x4, x5, x6)  =  U4_aaaa(x6)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
qs42_in_aa(x1, x2)  =  qs42_in_aa
qs42_out_aa(x1, x2)  =  qs42_out_aa
U5_aa(x1, x2, x3, x4)  =  U5_aa(x4)
U6_aa(x1, x2, x3, x4)  =  U6_aa(x4)
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
U8_aa(x1, x2, x3, x4, x5)  =  U8_aa(x5)
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)
app57_in_aaaa(x1, x2, x3, x4)  =  app57_in_aaaa
app57_out_aaaa(x1, x2, x3, x4)  =  app57_out_aaaa
U12_aaaa(x1, x2, x3, x4, x5, x6)  =  U12_aaaa(x6)
U26_aa(x1, x2, x3, x4, x5, x6)  =  U26_aa(x6)
U27_aa(x1, x2, x3, x4, x5)  =  U27_aa(x5)
p41_in_aaaaa(x1, x2, x3, x4, x5)  =  p41_in_aaaaa
U14_aaaaa(x1, x2, x3, x4, x5, x6)  =  U14_aaaaa(x6)
p41_out_aaaaa(x1, x2, x3, x4, x5)  =  p41_out_aaaaa
U15_aaaaa(x1, x2, x3, x4, x5, x6)  =  U15_aaaaa(x6)
U16_aaaaa(x1, x2, x3, x4, x5, x6)  =  U16_aaaaa(x6)
app43_in_aaaa(x1, x2, x3, x4)  =  app43_in_aaaa
app43_out_aaaa(x1, x2, x3, x4)  =  app43_out_aaaa
U13_aaaa(x1, x2, x3, x4, x5, x6)  =  U13_aaaa(x6)
U28_aa(x1, x2, x3)  =  U28_aa(x3)
qs84_in_a(x1)  =  qs84_in_a
qs84_out_a(x1)  =  qs84_out_a(x1)
U29_aa(x1, x2, x3)  =  U29_aa(x3)
U30_aa(x1, x2, x3)  =  U30_aa(x3)
U31_aa(x1, x2, x3, x4)  =  U31_aa(x3, x4)
U32_aa(x1, x2, x3)  =  U32_aa(x3)
app43_in_gaga(x1, x2, x3, x4)  =  app43_in_gaga(x1, x3)
app43_out_gaga(x1, x2, x3, x4)  =  app43_out_gaga(x1, x3)
U13_gaga(x1, x2, x3, x4, x5, x6)  =  U13_gaga(x1, x2, x4, x6)
U21_aa(x1, x2, x3, x4, x5, x6)  =  U21_aa(x1, x6)
U22_aa(x1, x2, x3, x4, x5)  =  U22_aa(x5)
p41_in_aaaga(x1, x2, x3, x4, x5)  =  p41_in_aaaga(x4)
U14_aaaga(x1, x2, x3, x4, x5, x6)  =  U14_aaaga(x4, x6)
p41_out_aaaga(x1, x2, x3, x4, x5)  =  p41_out_aaaga(x4)
U15_aaaga(x1, x2, x3, x4, x5, x6)  =  U15_aaaga(x4, x6)
U16_aaaga(x1, x2, x3, x4, x5, x6)  =  U16_aaaga(x4, x6)
app43_in_agaa(x1, x2, x3, x4)  =  app43_in_agaa(x2)
app43_out_agaa(x1, x2, x3, x4)  =  app43_out_agaa(x2)
U13_agaa(x1, x2, x3, x4, x5, x6)  =  U13_agaa(x3, x6)
U21_ga(x1, x2, x3, x4, x5, x6)  =  U21_ga(x1, x2, x3, x6)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x1, x2, x3, x5)
U23_ga(x1, x2, x3, x4, x5)  =  U23_ga(x1, x2, x3, x5)
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, x6)  =  U26_ga(x1, x2, x3, x6)
U27_ga(x1, x2, x3, x4, x5)  =  U27_ga(x1, x2, x3, x5)
U28_ga(x1, x2, x3)  =  U28_ga(x1, x3)
U29_ga(x1, x2, x3)  =  U29_ga(x1, x3)
U30_ga(x1, x2, x3)  =  U30_ga(x1, x3)
U31_ga(x1, x2, x3, x4)  =  U31_ga(x1, x3, x4)
U32_ga(x1, x2, x3)  =  U32_ga(x1, x3)
app43_in_ggga(x1, x2, x3, x4)  =  app43_in_ggga(x1, x2, x3)
app43_out_ggga(x1, x2, x3, x4)  =  app43_out_ggga(x1, x2, x3, x4)
U13_ggga(x1, x2, x3, x4, x5, x6)  =  U13_ggga(x1, x2, x3, x4, x6)
APP43_IN_AGAA(x1, x2, x3, x4)  =  APP43_IN_AGAA(x2)

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

(126) UsableRulesProof (EQUIVALENT transformation)

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

(127) Obligation:

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

APP43_IN_AGAA(.(T169, T170), T171, T172, .(T169, T174)) → APP43_IN_AGAA(T170, T171, T172, T174)

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

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

(128) PiDPToQDPProof (SOUND transformation)

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

(129) Obligation:

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

APP43_IN_AGAA(T171) → APP43_IN_AGAA(T171)

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

(130) 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 = APP43_IN_AGAA(T171) evaluates to t =APP43_IN_AGAA(T171)

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 APP43_IN_AGAA(T171) to APP43_IN_AGAA(T171).



(131) NO

(132) Obligation:

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

APP43_IN_GAGA(.(T169, T170), T171, T172, .(T169, T174)) → APP43_IN_GAGA(T170, T171, T172, T174)

The TRS R consists of the following rules:

qs1_in_ga([], []) → qs1_out_ga([], [])
qs1_in_ga(.(T22, .(T23, T24)), T9) → U17_ga(T22, T23, T24, T9, less14_in_gg(T22, T23))
less14_in_gg(0, s(T33)) → less14_out_gg(0, s(T33))
less14_in_gg(s(T38), s(T39)) → U1_gg(T38, T39, less14_in_gg(T38, T39))
U1_gg(T38, T39, less14_out_gg(T38, T39)) → less14_out_gg(s(T38), s(T39))
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U18_ga(T22, T23, T24, T9, part24_in_ggaa(T22, T24, X52, X53))
part24_in_ggaa(T62, .(T63, T64), .(T63, X126), X127) → U2_ggaa(T62, T63, T64, X126, X127, less14_in_gg(T62, T63))
U2_ggaa(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → part24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
U2_ggaa(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → U3_ggaa(T62, T63, T64, X126, X127, part24_in_ggaa(T62, T64, X126, X127))
part24_in_ggaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_ggaa(T84, T85, T86, X177, X178, part24_in_ggaa(T84, T86, X177, X178))
part24_in_ggaa(T92, [], [], []) → part24_out_ggaa(T92, [], [], [])
U4_ggaa(T84, T85, T86, X177, X178, part24_out_ggaa(T84, T86, X177, X178)) → part24_out_ggaa(T84, .(T85, T86), X177, .(T85, X178))
U3_ggaa(T62, T63, T64, X126, X127, part24_out_ggaa(T62, T64, X126, X127)) → part24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
U18_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, X52, X53)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U19_ga(T22, T23, T24, T9, part24_in_ggaa(T22, T24, T45, T46))
U19_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U20_ga(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
qs1_in_aa([], []) → qs1_out_aa([], [])
qs1_in_aa(.(T22, .(T23, T24)), T9) → U17_aa(T22, T23, T24, T9, less14_in_aa(T22, T23))
less14_in_aa(0, s(T33)) → less14_out_aa(0, s(T33))
less14_in_aa(s(T38), s(T39)) → U1_aa(T38, T39, less14_in_aa(T38, T39))
U1_aa(T38, T39, less14_out_aa(T38, T39)) → less14_out_aa(s(T38), s(T39))
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U18_aa(T22, T23, T24, T9, part24_in_gaaa(T22, T24, X52, X53))
part24_in_gaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_gaaa(T62, T63, T64, X126, X127, less14_in_ga(T62, T63))
less14_in_ga(0, s(T33)) → less14_out_ga(0, s(T33))
less14_in_ga(s(T38), s(T39)) → U1_ga(T38, T39, less14_in_ga(T38, T39))
U1_ga(T38, T39, less14_out_ga(T38, T39)) → less14_out_ga(s(T38), s(T39))
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → U3_gaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
part24_in_gaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_gaaa(T84, T85, T86, X177, X178, part24_in_gaaa(T84, T86, X177, X178))
part24_in_gaaa(T92, [], [], []) → part24_out_gaaa(T92, [], [], [])
U4_gaaa(T84, T85, T86, X177, X178, part24_out_gaaa(T84, T86, X177, X178)) → part24_out_gaaa(T84, .(T85, T86), X177, .(T85, X178))
U3_gaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U18_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, X52, X53)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U19_aa(T22, T23, T24, T9, part24_in_gaaa(T22, T24, T45, T46))
U19_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U20_aa(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
qs1_in_aa(.(T191, .(T192, T193)), T9) → U23_aa(T191, T192, T193, T9, part24_in_aaaa(T191, T193, X336, X337))
part24_in_aaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_aaaa(T62, T63, T64, X126, X127, less14_in_aa(T62, T63))
U2_aaaa(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → part24_out_aaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_aaaa(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → U3_aaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
U3_aaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_aaaa(T62, .(T63, T64), .(T63, X126), X127)
part24_in_aaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_aaaa(T84, T85, T86, X177, X178, part24_in_aaaa(T84, T86, X177, X178))
part24_in_aaaa(T92, [], [], []) → part24_out_aaaa(T92, [], [], [])
U4_aaaa(T84, T85, T86, X177, X178, part24_out_aaaa(T84, T86, X177, X178)) → part24_out_aaaa(T84, .(T85, T86), X177, .(T85, X178))
U23_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, X336, X337)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
qs1_in_aa(.(T191, .(T192, T193)), T9) → U24_aa(T191, T192, T193, T9, part24_in_aaaa(T191, T193, T197, T198))
U24_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U25_aa(T191, T192, T193, T9, qs42_in_aa(T197, X14))
qs42_in_aa([], []) → qs42_out_aa([], [])
qs42_in_aa(.(T103, T104), X230) → U5_aa(T103, T104, X230, part24_in_aaaa(T103, T104, X226, X227))
U5_aa(T103, T104, X230, part24_out_aaaa(T103, T104, X226, X227)) → qs42_out_aa(.(T103, T104), X230)
qs42_in_aa(.(T103, T104), X230) → U6_aa(T103, T104, X230, part24_in_aaaa(T103, T104, T108, T109))
U6_aa(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U7_aa(T103, T104, X230, qs42_in_aa(T108, X228))
U7_aa(T103, T104, X230, qs42_out_aa(T108, X228)) → qs42_out_aa(.(T103, T104), X230)
U6_aa(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U8_aa(T103, T104, X230, T109, qs42_in_aa(T108, T113))
U8_aa(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U9_aa(T103, T104, X230, qs42_in_aa(T109, X229))
U9_aa(T103, T104, X230, qs42_out_aa(T109, X229)) → qs42_out_aa(.(T103, T104), X230)
U8_aa(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U10_aa(T103, T104, X230, T113, qs42_in_aa(T109, T114))
U10_aa(T103, T104, X230, T113, qs42_out_aa(T109, T114)) → U11_aa(T103, T104, X230, app57_in_aaaa(T113, T103, T114, X230))
app57_in_aaaa([], T127, T128, .(T127, T128)) → app57_out_aaaa([], T127, T128, .(T127, T128))
app57_in_aaaa(.(T137, T138), T139, T140, .(T137, X270)) → U12_aaaa(T137, T138, T139, T140, X270, app57_in_aaaa(T138, T139, T140, X270))
U12_aaaa(T137, T138, T139, T140, X270, app57_out_aaaa(T138, T139, T140, X270)) → app57_out_aaaa(.(T137, T138), T139, T140, .(T137, X270))
U11_aa(T103, T104, X230, app57_out_aaaa(T113, T103, T114, X230)) → qs42_out_aa(.(T103, T104), X230)
U25_aa(T191, T192, T193, T9, qs42_out_aa(T197, X14)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
U24_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U26_aa(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_aa(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_aa(T191, T192, T193, T9, p41_in_aaaaa(.(T192, T198), X15, T202, T191, T9))
p41_in_aaaaa(T46, X15, T95, T22, T9) → U14_aaaaa(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
U14_aaaaa(T46, X15, T95, T22, T9, qs42_out_aa(T46, X15)) → p41_out_aaaaa(T46, X15, T95, T22, T9)
p41_in_aaaaa(T46, T98, T95, T22, T9) → U15_aaaaa(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_aaaaa(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_aaaaa(T46, T98, T95, T22, T9, app43_in_aaaa(T95, T22, T98, T9))
app43_in_aaaa([], T157, T158, .(T157, T158)) → app43_out_aaaa([], T157, T158, .(T157, T158))
app43_in_aaaa(.(T169, T170), T171, T172, .(T169, T174)) → U13_aaaa(T169, T170, T171, T172, T174, app43_in_aaaa(T170, T171, T172, T174))
U13_aaaa(T169, T170, T171, T172, T174, app43_out_aaaa(T170, T171, T172, T174)) → app43_out_aaaa(.(T169, T170), T171, T172, .(T169, T174))
U16_aaaaa(T46, T98, T95, T22, T9, app43_out_aaaa(T95, T22, T98, T9)) → p41_out_aaaaa(T46, T98, T95, T22, T9)
U27_aa(T191, T192, T193, T9, p41_out_aaaaa(.(T192, T198), X15, T202, T191, T9)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
qs1_in_aa(.(T207, []), T9) → U28_aa(T207, T9, qs84_in_a(X14))
qs84_in_a([]) → qs84_out_a([])
U28_aa(T207, T9, qs84_out_a(X14)) → qs1_out_aa(.(T207, []), T9)
qs1_in_aa(.(T207, []), T9) → U29_aa(T207, T9, qs84_in_a(T210))
U29_aa(T207, T9, qs84_out_a(T210)) → U30_aa(T207, T9, qs84_in_a(X15))
U30_aa(T207, T9, qs84_out_a(X15)) → qs1_out_aa(.(T207, []), T9)
U29_aa(T207, T9, qs84_out_a(T210)) → U31_aa(T207, T9, T210, qs84_in_a(T213))
U31_aa(T207, T9, T210, qs84_out_a(T213)) → U32_aa(T207, T9, app43_in_gaga(T210, T207, T213, T9))
app43_in_gaga([], T157, T158, .(T157, T158)) → app43_out_gaga([], T157, T158, .(T157, T158))
app43_in_gaga(.(T169, T170), T171, T172, .(T169, T174)) → U13_gaga(T169, T170, T171, T172, T174, app43_in_gaga(T170, T171, T172, T174))
U13_gaga(T169, T170, T171, T172, T174, app43_out_gaga(T170, T171, T172, T174)) → app43_out_gaga(.(T169, T170), T171, T172, .(T169, T174))
U32_aa(T207, T9, app43_out_gaga(T210, T207, T213, T9)) → qs1_out_aa(.(T207, []), T9)
U20_aa(T22, T23, T24, T9, qs1_out_aa(.(T23, T45), X14)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U21_aa(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_aa(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_aa(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
p41_in_aaaga(T46, X15, T95, T22, T9) → U14_aaaga(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
U14_aaaga(T46, X15, T95, T22, T9, qs42_out_aa(T46, X15)) → p41_out_aaaga(T46, X15, T95, T22, T9)
p41_in_aaaga(T46, T98, T95, T22, T9) → U15_aaaga(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_aaaga(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_aaaga(T46, T98, T95, T22, T9, app43_in_agaa(T95, T22, T98, T9))
app43_in_agaa([], T157, T158, .(T157, T158)) → app43_out_agaa([], T157, T158, .(T157, T158))
app43_in_agaa(.(T169, T170), T171, T172, .(T169, T174)) → U13_agaa(T169, T170, T171, T172, T174, app43_in_agaa(T170, T171, T172, T174))
U13_agaa(T169, T170, T171, T172, T174, app43_out_agaa(T170, T171, T172, T174)) → app43_out_agaa(.(T169, T170), T171, T172, .(T169, T174))
U16_aaaga(T46, T98, T95, T22, T9, app43_out_agaa(T95, T22, T98, T9)) → p41_out_aaaga(T46, T98, T95, T22, T9)
U22_aa(T22, T23, T24, T9, p41_out_aaaga(T46, X15, T95, T22, T9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U20_ga(T22, T23, T24, T9, qs1_out_aa(.(T23, T45), X14)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U21_ga(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_ga(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_ga(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
U22_ga(T22, T23, T24, T9, p41_out_aaaga(T46, X15, T95, T22, T9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
qs1_in_ga(.(T191, .(T192, T193)), T9) → U23_ga(T191, T192, T193, T9, part24_in_ggaa(T191, T193, X336, X337))
U23_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, X336, X337)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
qs1_in_ga(.(T191, .(T192, T193)), T9) → U24_ga(T191, T192, T193, T9, part24_in_ggaa(T191, T193, T197, T198))
U24_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U25_ga(T191, T192, T193, T9, qs42_in_aa(T197, X14))
U25_ga(T191, T192, T193, T9, qs42_out_aa(T197, X14)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
U24_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U26_ga(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_ga(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_ga(T191, T192, T193, T9, p41_in_aaaga(.(T192, T198), X15, T202, T191, T9))
U27_ga(T191, T192, T193, T9, p41_out_aaaga(.(T192, T198), X15, T202, T191, T9)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
qs1_in_ga(.(T207, []), T9) → U28_ga(T207, T9, qs84_in_a(X14))
U28_ga(T207, T9, qs84_out_a(X14)) → qs1_out_ga(.(T207, []), T9)
qs1_in_ga(.(T207, []), T9) → U29_ga(T207, T9, qs84_in_a(T210))
U29_ga(T207, T9, qs84_out_a(T210)) → U30_ga(T207, T9, qs84_in_a(X15))
U30_ga(T207, T9, qs84_out_a(X15)) → qs1_out_ga(.(T207, []), T9)
U29_ga(T207, T9, qs84_out_a(T210)) → U31_ga(T207, T9, T210, qs84_in_a(T213))
U31_ga(T207, T9, T210, qs84_out_a(T213)) → U32_ga(T207, T9, app43_in_ggga(T210, T207, T213, T9))
app43_in_ggga([], T157, T158, .(T157, T158)) → app43_out_ggga([], T157, T158, .(T157, T158))
app43_in_ggga(.(T169, T170), T171, T172, .(T169, T174)) → U13_ggga(T169, T170, T171, T172, T174, app43_in_ggga(T170, T171, T172, T174))
U13_ggga(T169, T170, T171, T172, T174, app43_out_ggga(T170, T171, T172, T174)) → app43_out_ggga(.(T169, T170), T171, T172, .(T169, T174))
U32_ga(T207, T9, app43_out_ggga(T210, T207, T213, T9)) → qs1_out_ga(.(T207, []), T9)

The argument filtering Pi contains the following mapping:
qs1_in_ga(x1, x2)  =  qs1_in_ga(x1)
[]  =  []
qs1_out_ga(x1, x2)  =  qs1_out_ga(x1)
.(x1, x2)  =  .(x1, x2)
U17_ga(x1, x2, x3, x4, x5)  =  U17_ga(x1, x2, x3, x5)
less14_in_gg(x1, x2)  =  less14_in_gg(x1, x2)
0  =  0
s(x1)  =  s(x1)
less14_out_gg(x1, x2)  =  less14_out_gg(x1, x2)
U1_gg(x1, x2, x3)  =  U1_gg(x1, x2, x3)
U18_ga(x1, x2, x3, x4, x5)  =  U18_ga(x1, x2, x3, x5)
part24_in_ggaa(x1, x2, x3, x4)  =  part24_in_ggaa(x1, x2)
U2_ggaa(x1, x2, x3, x4, x5, x6)  =  U2_ggaa(x1, x2, x3, x6)
part24_out_ggaa(x1, x2, x3, x4)  =  part24_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)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x2, x3, x5)
U20_ga(x1, x2, x3, x4, x5)  =  U20_ga(x1, x2, x3, x5)
qs1_in_aa(x1, x2)  =  qs1_in_aa
qs1_out_aa(x1, x2)  =  qs1_out_aa
U17_aa(x1, x2, x3, x4, x5)  =  U17_aa(x5)
less14_in_aa(x1, x2)  =  less14_in_aa
less14_out_aa(x1, x2)  =  less14_out_aa(x1)
U1_aa(x1, x2, x3)  =  U1_aa(x3)
U18_aa(x1, x2, x3, x4, x5)  =  U18_aa(x5)
part24_in_gaaa(x1, x2, x3, x4)  =  part24_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x1, x6)
less14_in_ga(x1, x2)  =  less14_in_ga(x1)
less14_out_ga(x1, x2)  =  less14_out_ga(x1)
U1_ga(x1, x2, x3)  =  U1_ga(x1, x3)
part24_out_gaaa(x1, x2, x3, x4)  =  part24_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)
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(x1, x5)
U20_aa(x1, x2, x3, x4, x5)  =  U20_aa(x5)
U23_aa(x1, x2, x3, x4, x5)  =  U23_aa(x5)
part24_in_aaaa(x1, x2, x3, x4)  =  part24_in_aaaa
U2_aaaa(x1, x2, x3, x4, x5, x6)  =  U2_aaaa(x6)
part24_out_aaaa(x1, x2, x3, x4)  =  part24_out_aaaa
U3_aaaa(x1, x2, x3, x4, x5, x6)  =  U3_aaaa(x6)
U4_aaaa(x1, x2, x3, x4, x5, x6)  =  U4_aaaa(x6)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
qs42_in_aa(x1, x2)  =  qs42_in_aa
qs42_out_aa(x1, x2)  =  qs42_out_aa
U5_aa(x1, x2, x3, x4)  =  U5_aa(x4)
U6_aa(x1, x2, x3, x4)  =  U6_aa(x4)
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
U8_aa(x1, x2, x3, x4, x5)  =  U8_aa(x5)
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)
app57_in_aaaa(x1, x2, x3, x4)  =  app57_in_aaaa
app57_out_aaaa(x1, x2, x3, x4)  =  app57_out_aaaa
U12_aaaa(x1, x2, x3, x4, x5, x6)  =  U12_aaaa(x6)
U26_aa(x1, x2, x3, x4, x5, x6)  =  U26_aa(x6)
U27_aa(x1, x2, x3, x4, x5)  =  U27_aa(x5)
p41_in_aaaaa(x1, x2, x3, x4, x5)  =  p41_in_aaaaa
U14_aaaaa(x1, x2, x3, x4, x5, x6)  =  U14_aaaaa(x6)
p41_out_aaaaa(x1, x2, x3, x4, x5)  =  p41_out_aaaaa
U15_aaaaa(x1, x2, x3, x4, x5, x6)  =  U15_aaaaa(x6)
U16_aaaaa(x1, x2, x3, x4, x5, x6)  =  U16_aaaaa(x6)
app43_in_aaaa(x1, x2, x3, x4)  =  app43_in_aaaa
app43_out_aaaa(x1, x2, x3, x4)  =  app43_out_aaaa
U13_aaaa(x1, x2, x3, x4, x5, x6)  =  U13_aaaa(x6)
U28_aa(x1, x2, x3)  =  U28_aa(x3)
qs84_in_a(x1)  =  qs84_in_a
qs84_out_a(x1)  =  qs84_out_a(x1)
U29_aa(x1, x2, x3)  =  U29_aa(x3)
U30_aa(x1, x2, x3)  =  U30_aa(x3)
U31_aa(x1, x2, x3, x4)  =  U31_aa(x3, x4)
U32_aa(x1, x2, x3)  =  U32_aa(x3)
app43_in_gaga(x1, x2, x3, x4)  =  app43_in_gaga(x1, x3)
app43_out_gaga(x1, x2, x3, x4)  =  app43_out_gaga(x1, x3)
U13_gaga(x1, x2, x3, x4, x5, x6)  =  U13_gaga(x1, x2, x4, x6)
U21_aa(x1, x2, x3, x4, x5, x6)  =  U21_aa(x1, x6)
U22_aa(x1, x2, x3, x4, x5)  =  U22_aa(x5)
p41_in_aaaga(x1, x2, x3, x4, x5)  =  p41_in_aaaga(x4)
U14_aaaga(x1, x2, x3, x4, x5, x6)  =  U14_aaaga(x4, x6)
p41_out_aaaga(x1, x2, x3, x4, x5)  =  p41_out_aaaga(x4)
U15_aaaga(x1, x2, x3, x4, x5, x6)  =  U15_aaaga(x4, x6)
U16_aaaga(x1, x2, x3, x4, x5, x6)  =  U16_aaaga(x4, x6)
app43_in_agaa(x1, x2, x3, x4)  =  app43_in_agaa(x2)
app43_out_agaa(x1, x2, x3, x4)  =  app43_out_agaa(x2)
U13_agaa(x1, x2, x3, x4, x5, x6)  =  U13_agaa(x3, x6)
U21_ga(x1, x2, x3, x4, x5, x6)  =  U21_ga(x1, x2, x3, x6)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x1, x2, x3, x5)
U23_ga(x1, x2, x3, x4, x5)  =  U23_ga(x1, x2, x3, x5)
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, x6)  =  U26_ga(x1, x2, x3, x6)
U27_ga(x1, x2, x3, x4, x5)  =  U27_ga(x1, x2, x3, x5)
U28_ga(x1, x2, x3)  =  U28_ga(x1, x3)
U29_ga(x1, x2, x3)  =  U29_ga(x1, x3)
U30_ga(x1, x2, x3)  =  U30_ga(x1, x3)
U31_ga(x1, x2, x3, x4)  =  U31_ga(x1, x3, x4)
U32_ga(x1, x2, x3)  =  U32_ga(x1, x3)
app43_in_ggga(x1, x2, x3, x4)  =  app43_in_ggga(x1, x2, x3)
app43_out_ggga(x1, x2, x3, x4)  =  app43_out_ggga(x1, x2, x3, x4)
U13_ggga(x1, x2, x3, x4, x5, x6)  =  U13_ggga(x1, x2, x3, x4, x6)
APP43_IN_GAGA(x1, x2, x3, x4)  =  APP43_IN_GAGA(x1, x3)

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

(133) UsableRulesProof (EQUIVALENT transformation)

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

(134) Obligation:

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

APP43_IN_GAGA(.(T169, T170), T171, T172, .(T169, T174)) → APP43_IN_GAGA(T170, T171, T172, T174)

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

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

(135) PiDPToQDPProof (SOUND transformation)

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

(136) Obligation:

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

APP43_IN_GAGA(.(T169, T170), T172) → APP43_IN_GAGA(T170, T172)

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

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

  • APP43_IN_GAGA(.(T169, T170), T172) → APP43_IN_GAGA(T170, T172)
    The graph contains the following edges 1 > 1, 2 >= 2

(138) YES

(139) Obligation:

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

APP43_IN_AAAA(.(T169, T170), T171, T172, .(T169, T174)) → APP43_IN_AAAA(T170, T171, T172, T174)

The TRS R consists of the following rules:

qs1_in_ga([], []) → qs1_out_ga([], [])
qs1_in_ga(.(T22, .(T23, T24)), T9) → U17_ga(T22, T23, T24, T9, less14_in_gg(T22, T23))
less14_in_gg(0, s(T33)) → less14_out_gg(0, s(T33))
less14_in_gg(s(T38), s(T39)) → U1_gg(T38, T39, less14_in_gg(T38, T39))
U1_gg(T38, T39, less14_out_gg(T38, T39)) → less14_out_gg(s(T38), s(T39))
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U18_ga(T22, T23, T24, T9, part24_in_ggaa(T22, T24, X52, X53))
part24_in_ggaa(T62, .(T63, T64), .(T63, X126), X127) → U2_ggaa(T62, T63, T64, X126, X127, less14_in_gg(T62, T63))
U2_ggaa(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → part24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
U2_ggaa(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → U3_ggaa(T62, T63, T64, X126, X127, part24_in_ggaa(T62, T64, X126, X127))
part24_in_ggaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_ggaa(T84, T85, T86, X177, X178, part24_in_ggaa(T84, T86, X177, X178))
part24_in_ggaa(T92, [], [], []) → part24_out_ggaa(T92, [], [], [])
U4_ggaa(T84, T85, T86, X177, X178, part24_out_ggaa(T84, T86, X177, X178)) → part24_out_ggaa(T84, .(T85, T86), X177, .(T85, X178))
U3_ggaa(T62, T63, T64, X126, X127, part24_out_ggaa(T62, T64, X126, X127)) → part24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
U18_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, X52, X53)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U19_ga(T22, T23, T24, T9, part24_in_ggaa(T22, T24, T45, T46))
U19_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U20_ga(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
qs1_in_aa([], []) → qs1_out_aa([], [])
qs1_in_aa(.(T22, .(T23, T24)), T9) → U17_aa(T22, T23, T24, T9, less14_in_aa(T22, T23))
less14_in_aa(0, s(T33)) → less14_out_aa(0, s(T33))
less14_in_aa(s(T38), s(T39)) → U1_aa(T38, T39, less14_in_aa(T38, T39))
U1_aa(T38, T39, less14_out_aa(T38, T39)) → less14_out_aa(s(T38), s(T39))
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U18_aa(T22, T23, T24, T9, part24_in_gaaa(T22, T24, X52, X53))
part24_in_gaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_gaaa(T62, T63, T64, X126, X127, less14_in_ga(T62, T63))
less14_in_ga(0, s(T33)) → less14_out_ga(0, s(T33))
less14_in_ga(s(T38), s(T39)) → U1_ga(T38, T39, less14_in_ga(T38, T39))
U1_ga(T38, T39, less14_out_ga(T38, T39)) → less14_out_ga(s(T38), s(T39))
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → U3_gaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
part24_in_gaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_gaaa(T84, T85, T86, X177, X178, part24_in_gaaa(T84, T86, X177, X178))
part24_in_gaaa(T92, [], [], []) → part24_out_gaaa(T92, [], [], [])
U4_gaaa(T84, T85, T86, X177, X178, part24_out_gaaa(T84, T86, X177, X178)) → part24_out_gaaa(T84, .(T85, T86), X177, .(T85, X178))
U3_gaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U18_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, X52, X53)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U19_aa(T22, T23, T24, T9, part24_in_gaaa(T22, T24, T45, T46))
U19_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U20_aa(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
qs1_in_aa(.(T191, .(T192, T193)), T9) → U23_aa(T191, T192, T193, T9, part24_in_aaaa(T191, T193, X336, X337))
part24_in_aaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_aaaa(T62, T63, T64, X126, X127, less14_in_aa(T62, T63))
U2_aaaa(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → part24_out_aaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_aaaa(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → U3_aaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
U3_aaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_aaaa(T62, .(T63, T64), .(T63, X126), X127)
part24_in_aaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_aaaa(T84, T85, T86, X177, X178, part24_in_aaaa(T84, T86, X177, X178))
part24_in_aaaa(T92, [], [], []) → part24_out_aaaa(T92, [], [], [])
U4_aaaa(T84, T85, T86, X177, X178, part24_out_aaaa(T84, T86, X177, X178)) → part24_out_aaaa(T84, .(T85, T86), X177, .(T85, X178))
U23_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, X336, X337)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
qs1_in_aa(.(T191, .(T192, T193)), T9) → U24_aa(T191, T192, T193, T9, part24_in_aaaa(T191, T193, T197, T198))
U24_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U25_aa(T191, T192, T193, T9, qs42_in_aa(T197, X14))
qs42_in_aa([], []) → qs42_out_aa([], [])
qs42_in_aa(.(T103, T104), X230) → U5_aa(T103, T104, X230, part24_in_aaaa(T103, T104, X226, X227))
U5_aa(T103, T104, X230, part24_out_aaaa(T103, T104, X226, X227)) → qs42_out_aa(.(T103, T104), X230)
qs42_in_aa(.(T103, T104), X230) → U6_aa(T103, T104, X230, part24_in_aaaa(T103, T104, T108, T109))
U6_aa(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U7_aa(T103, T104, X230, qs42_in_aa(T108, X228))
U7_aa(T103, T104, X230, qs42_out_aa(T108, X228)) → qs42_out_aa(.(T103, T104), X230)
U6_aa(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U8_aa(T103, T104, X230, T109, qs42_in_aa(T108, T113))
U8_aa(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U9_aa(T103, T104, X230, qs42_in_aa(T109, X229))
U9_aa(T103, T104, X230, qs42_out_aa(T109, X229)) → qs42_out_aa(.(T103, T104), X230)
U8_aa(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U10_aa(T103, T104, X230, T113, qs42_in_aa(T109, T114))
U10_aa(T103, T104, X230, T113, qs42_out_aa(T109, T114)) → U11_aa(T103, T104, X230, app57_in_aaaa(T113, T103, T114, X230))
app57_in_aaaa([], T127, T128, .(T127, T128)) → app57_out_aaaa([], T127, T128, .(T127, T128))
app57_in_aaaa(.(T137, T138), T139, T140, .(T137, X270)) → U12_aaaa(T137, T138, T139, T140, X270, app57_in_aaaa(T138, T139, T140, X270))
U12_aaaa(T137, T138, T139, T140, X270, app57_out_aaaa(T138, T139, T140, X270)) → app57_out_aaaa(.(T137, T138), T139, T140, .(T137, X270))
U11_aa(T103, T104, X230, app57_out_aaaa(T113, T103, T114, X230)) → qs42_out_aa(.(T103, T104), X230)
U25_aa(T191, T192, T193, T9, qs42_out_aa(T197, X14)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
U24_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U26_aa(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_aa(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_aa(T191, T192, T193, T9, p41_in_aaaaa(.(T192, T198), X15, T202, T191, T9))
p41_in_aaaaa(T46, X15, T95, T22, T9) → U14_aaaaa(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
U14_aaaaa(T46, X15, T95, T22, T9, qs42_out_aa(T46, X15)) → p41_out_aaaaa(T46, X15, T95, T22, T9)
p41_in_aaaaa(T46, T98, T95, T22, T9) → U15_aaaaa(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_aaaaa(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_aaaaa(T46, T98, T95, T22, T9, app43_in_aaaa(T95, T22, T98, T9))
app43_in_aaaa([], T157, T158, .(T157, T158)) → app43_out_aaaa([], T157, T158, .(T157, T158))
app43_in_aaaa(.(T169, T170), T171, T172, .(T169, T174)) → U13_aaaa(T169, T170, T171, T172, T174, app43_in_aaaa(T170, T171, T172, T174))
U13_aaaa(T169, T170, T171, T172, T174, app43_out_aaaa(T170, T171, T172, T174)) → app43_out_aaaa(.(T169, T170), T171, T172, .(T169, T174))
U16_aaaaa(T46, T98, T95, T22, T9, app43_out_aaaa(T95, T22, T98, T9)) → p41_out_aaaaa(T46, T98, T95, T22, T9)
U27_aa(T191, T192, T193, T9, p41_out_aaaaa(.(T192, T198), X15, T202, T191, T9)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
qs1_in_aa(.(T207, []), T9) → U28_aa(T207, T9, qs84_in_a(X14))
qs84_in_a([]) → qs84_out_a([])
U28_aa(T207, T9, qs84_out_a(X14)) → qs1_out_aa(.(T207, []), T9)
qs1_in_aa(.(T207, []), T9) → U29_aa(T207, T9, qs84_in_a(T210))
U29_aa(T207, T9, qs84_out_a(T210)) → U30_aa(T207, T9, qs84_in_a(X15))
U30_aa(T207, T9, qs84_out_a(X15)) → qs1_out_aa(.(T207, []), T9)
U29_aa(T207, T9, qs84_out_a(T210)) → U31_aa(T207, T9, T210, qs84_in_a(T213))
U31_aa(T207, T9, T210, qs84_out_a(T213)) → U32_aa(T207, T9, app43_in_gaga(T210, T207, T213, T9))
app43_in_gaga([], T157, T158, .(T157, T158)) → app43_out_gaga([], T157, T158, .(T157, T158))
app43_in_gaga(.(T169, T170), T171, T172, .(T169, T174)) → U13_gaga(T169, T170, T171, T172, T174, app43_in_gaga(T170, T171, T172, T174))
U13_gaga(T169, T170, T171, T172, T174, app43_out_gaga(T170, T171, T172, T174)) → app43_out_gaga(.(T169, T170), T171, T172, .(T169, T174))
U32_aa(T207, T9, app43_out_gaga(T210, T207, T213, T9)) → qs1_out_aa(.(T207, []), T9)
U20_aa(T22, T23, T24, T9, qs1_out_aa(.(T23, T45), X14)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U21_aa(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_aa(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_aa(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
p41_in_aaaga(T46, X15, T95, T22, T9) → U14_aaaga(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
U14_aaaga(T46, X15, T95, T22, T9, qs42_out_aa(T46, X15)) → p41_out_aaaga(T46, X15, T95, T22, T9)
p41_in_aaaga(T46, T98, T95, T22, T9) → U15_aaaga(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_aaaga(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_aaaga(T46, T98, T95, T22, T9, app43_in_agaa(T95, T22, T98, T9))
app43_in_agaa([], T157, T158, .(T157, T158)) → app43_out_agaa([], T157, T158, .(T157, T158))
app43_in_agaa(.(T169, T170), T171, T172, .(T169, T174)) → U13_agaa(T169, T170, T171, T172, T174, app43_in_agaa(T170, T171, T172, T174))
U13_agaa(T169, T170, T171, T172, T174, app43_out_agaa(T170, T171, T172, T174)) → app43_out_agaa(.(T169, T170), T171, T172, .(T169, T174))
U16_aaaga(T46, T98, T95, T22, T9, app43_out_agaa(T95, T22, T98, T9)) → p41_out_aaaga(T46, T98, T95, T22, T9)
U22_aa(T22, T23, T24, T9, p41_out_aaaga(T46, X15, T95, T22, T9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U20_ga(T22, T23, T24, T9, qs1_out_aa(.(T23, T45), X14)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U21_ga(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_ga(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_ga(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
U22_ga(T22, T23, T24, T9, p41_out_aaaga(T46, X15, T95, T22, T9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
qs1_in_ga(.(T191, .(T192, T193)), T9) → U23_ga(T191, T192, T193, T9, part24_in_ggaa(T191, T193, X336, X337))
U23_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, X336, X337)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
qs1_in_ga(.(T191, .(T192, T193)), T9) → U24_ga(T191, T192, T193, T9, part24_in_ggaa(T191, T193, T197, T198))
U24_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U25_ga(T191, T192, T193, T9, qs42_in_aa(T197, X14))
U25_ga(T191, T192, T193, T9, qs42_out_aa(T197, X14)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
U24_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U26_ga(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_ga(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_ga(T191, T192, T193, T9, p41_in_aaaga(.(T192, T198), X15, T202, T191, T9))
U27_ga(T191, T192, T193, T9, p41_out_aaaga(.(T192, T198), X15, T202, T191, T9)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
qs1_in_ga(.(T207, []), T9) → U28_ga(T207, T9, qs84_in_a(X14))
U28_ga(T207, T9, qs84_out_a(X14)) → qs1_out_ga(.(T207, []), T9)
qs1_in_ga(.(T207, []), T9) → U29_ga(T207, T9, qs84_in_a(T210))
U29_ga(T207, T9, qs84_out_a(T210)) → U30_ga(T207, T9, qs84_in_a(X15))
U30_ga(T207, T9, qs84_out_a(X15)) → qs1_out_ga(.(T207, []), T9)
U29_ga(T207, T9, qs84_out_a(T210)) → U31_ga(T207, T9, T210, qs84_in_a(T213))
U31_ga(T207, T9, T210, qs84_out_a(T213)) → U32_ga(T207, T9, app43_in_ggga(T210, T207, T213, T9))
app43_in_ggga([], T157, T158, .(T157, T158)) → app43_out_ggga([], T157, T158, .(T157, T158))
app43_in_ggga(.(T169, T170), T171, T172, .(T169, T174)) → U13_ggga(T169, T170, T171, T172, T174, app43_in_ggga(T170, T171, T172, T174))
U13_ggga(T169, T170, T171, T172, T174, app43_out_ggga(T170, T171, T172, T174)) → app43_out_ggga(.(T169, T170), T171, T172, .(T169, T174))
U32_ga(T207, T9, app43_out_ggga(T210, T207, T213, T9)) → qs1_out_ga(.(T207, []), T9)

The argument filtering Pi contains the following mapping:
qs1_in_ga(x1, x2)  =  qs1_in_ga(x1)
[]  =  []
qs1_out_ga(x1, x2)  =  qs1_out_ga(x1)
.(x1, x2)  =  .(x1, x2)
U17_ga(x1, x2, x3, x4, x5)  =  U17_ga(x1, x2, x3, x5)
less14_in_gg(x1, x2)  =  less14_in_gg(x1, x2)
0  =  0
s(x1)  =  s(x1)
less14_out_gg(x1, x2)  =  less14_out_gg(x1, x2)
U1_gg(x1, x2, x3)  =  U1_gg(x1, x2, x3)
U18_ga(x1, x2, x3, x4, x5)  =  U18_ga(x1, x2, x3, x5)
part24_in_ggaa(x1, x2, x3, x4)  =  part24_in_ggaa(x1, x2)
U2_ggaa(x1, x2, x3, x4, x5, x6)  =  U2_ggaa(x1, x2, x3, x6)
part24_out_ggaa(x1, x2, x3, x4)  =  part24_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)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x2, x3, x5)
U20_ga(x1, x2, x3, x4, x5)  =  U20_ga(x1, x2, x3, x5)
qs1_in_aa(x1, x2)  =  qs1_in_aa
qs1_out_aa(x1, x2)  =  qs1_out_aa
U17_aa(x1, x2, x3, x4, x5)  =  U17_aa(x5)
less14_in_aa(x1, x2)  =  less14_in_aa
less14_out_aa(x1, x2)  =  less14_out_aa(x1)
U1_aa(x1, x2, x3)  =  U1_aa(x3)
U18_aa(x1, x2, x3, x4, x5)  =  U18_aa(x5)
part24_in_gaaa(x1, x2, x3, x4)  =  part24_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x1, x6)
less14_in_ga(x1, x2)  =  less14_in_ga(x1)
less14_out_ga(x1, x2)  =  less14_out_ga(x1)
U1_ga(x1, x2, x3)  =  U1_ga(x1, x3)
part24_out_gaaa(x1, x2, x3, x4)  =  part24_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)
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(x1, x5)
U20_aa(x1, x2, x3, x4, x5)  =  U20_aa(x5)
U23_aa(x1, x2, x3, x4, x5)  =  U23_aa(x5)
part24_in_aaaa(x1, x2, x3, x4)  =  part24_in_aaaa
U2_aaaa(x1, x2, x3, x4, x5, x6)  =  U2_aaaa(x6)
part24_out_aaaa(x1, x2, x3, x4)  =  part24_out_aaaa
U3_aaaa(x1, x2, x3, x4, x5, x6)  =  U3_aaaa(x6)
U4_aaaa(x1, x2, x3, x4, x5, x6)  =  U4_aaaa(x6)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
qs42_in_aa(x1, x2)  =  qs42_in_aa
qs42_out_aa(x1, x2)  =  qs42_out_aa
U5_aa(x1, x2, x3, x4)  =  U5_aa(x4)
U6_aa(x1, x2, x3, x4)  =  U6_aa(x4)
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
U8_aa(x1, x2, x3, x4, x5)  =  U8_aa(x5)
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)
app57_in_aaaa(x1, x2, x3, x4)  =  app57_in_aaaa
app57_out_aaaa(x1, x2, x3, x4)  =  app57_out_aaaa
U12_aaaa(x1, x2, x3, x4, x5, x6)  =  U12_aaaa(x6)
U26_aa(x1, x2, x3, x4, x5, x6)  =  U26_aa(x6)
U27_aa(x1, x2, x3, x4, x5)  =  U27_aa(x5)
p41_in_aaaaa(x1, x2, x3, x4, x5)  =  p41_in_aaaaa
U14_aaaaa(x1, x2, x3, x4, x5, x6)  =  U14_aaaaa(x6)
p41_out_aaaaa(x1, x2, x3, x4, x5)  =  p41_out_aaaaa
U15_aaaaa(x1, x2, x3, x4, x5, x6)  =  U15_aaaaa(x6)
U16_aaaaa(x1, x2, x3, x4, x5, x6)  =  U16_aaaaa(x6)
app43_in_aaaa(x1, x2, x3, x4)  =  app43_in_aaaa
app43_out_aaaa(x1, x2, x3, x4)  =  app43_out_aaaa
U13_aaaa(x1, x2, x3, x4, x5, x6)  =  U13_aaaa(x6)
U28_aa(x1, x2, x3)  =  U28_aa(x3)
qs84_in_a(x1)  =  qs84_in_a
qs84_out_a(x1)  =  qs84_out_a(x1)
U29_aa(x1, x2, x3)  =  U29_aa(x3)
U30_aa(x1, x2, x3)  =  U30_aa(x3)
U31_aa(x1, x2, x3, x4)  =  U31_aa(x3, x4)
U32_aa(x1, x2, x3)  =  U32_aa(x3)
app43_in_gaga(x1, x2, x3, x4)  =  app43_in_gaga(x1, x3)
app43_out_gaga(x1, x2, x3, x4)  =  app43_out_gaga(x1, x3)
U13_gaga(x1, x2, x3, x4, x5, x6)  =  U13_gaga(x1, x2, x4, x6)
U21_aa(x1, x2, x3, x4, x5, x6)  =  U21_aa(x1, x6)
U22_aa(x1, x2, x3, x4, x5)  =  U22_aa(x5)
p41_in_aaaga(x1, x2, x3, x4, x5)  =  p41_in_aaaga(x4)
U14_aaaga(x1, x2, x3, x4, x5, x6)  =  U14_aaaga(x4, x6)
p41_out_aaaga(x1, x2, x3, x4, x5)  =  p41_out_aaaga(x4)
U15_aaaga(x1, x2, x3, x4, x5, x6)  =  U15_aaaga(x4, x6)
U16_aaaga(x1, x2, x3, x4, x5, x6)  =  U16_aaaga(x4, x6)
app43_in_agaa(x1, x2, x3, x4)  =  app43_in_agaa(x2)
app43_out_agaa(x1, x2, x3, x4)  =  app43_out_agaa(x2)
U13_agaa(x1, x2, x3, x4, x5, x6)  =  U13_agaa(x3, x6)
U21_ga(x1, x2, x3, x4, x5, x6)  =  U21_ga(x1, x2, x3, x6)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x1, x2, x3, x5)
U23_ga(x1, x2, x3, x4, x5)  =  U23_ga(x1, x2, x3, x5)
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, x6)  =  U26_ga(x1, x2, x3, x6)
U27_ga(x1, x2, x3, x4, x5)  =  U27_ga(x1, x2, x3, x5)
U28_ga(x1, x2, x3)  =  U28_ga(x1, x3)
U29_ga(x1, x2, x3)  =  U29_ga(x1, x3)
U30_ga(x1, x2, x3)  =  U30_ga(x1, x3)
U31_ga(x1, x2, x3, x4)  =  U31_ga(x1, x3, x4)
U32_ga(x1, x2, x3)  =  U32_ga(x1, x3)
app43_in_ggga(x1, x2, x3, x4)  =  app43_in_ggga(x1, x2, x3)
app43_out_ggga(x1, x2, x3, x4)  =  app43_out_ggga(x1, x2, x3, x4)
U13_ggga(x1, x2, x3, x4, x5, x6)  =  U13_ggga(x1, x2, x3, x4, x6)
APP43_IN_AAAA(x1, x2, x3, x4)  =  APP43_IN_AAAA

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:

APP43_IN_AAAA(.(T169, T170), T171, T172, .(T169, T174)) → APP43_IN_AAAA(T170, T171, T172, T174)

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

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:

APP43_IN_AAAAAPP43_IN_AAAA

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

(144) 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 = APP43_IN_AAAA evaluates to t =APP43_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 APP43_IN_AAAA to APP43_IN_AAAA.



(145) NO

(146) Obligation:

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

APP57_IN_AAAA(.(T137, T138), T139, T140, .(T137, X270)) → APP57_IN_AAAA(T138, T139, T140, X270)

The TRS R consists of the following rules:

qs1_in_ga([], []) → qs1_out_ga([], [])
qs1_in_ga(.(T22, .(T23, T24)), T9) → U17_ga(T22, T23, T24, T9, less14_in_gg(T22, T23))
less14_in_gg(0, s(T33)) → less14_out_gg(0, s(T33))
less14_in_gg(s(T38), s(T39)) → U1_gg(T38, T39, less14_in_gg(T38, T39))
U1_gg(T38, T39, less14_out_gg(T38, T39)) → less14_out_gg(s(T38), s(T39))
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U18_ga(T22, T23, T24, T9, part24_in_ggaa(T22, T24, X52, X53))
part24_in_ggaa(T62, .(T63, T64), .(T63, X126), X127) → U2_ggaa(T62, T63, T64, X126, X127, less14_in_gg(T62, T63))
U2_ggaa(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → part24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
U2_ggaa(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → U3_ggaa(T62, T63, T64, X126, X127, part24_in_ggaa(T62, T64, X126, X127))
part24_in_ggaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_ggaa(T84, T85, T86, X177, X178, part24_in_ggaa(T84, T86, X177, X178))
part24_in_ggaa(T92, [], [], []) → part24_out_ggaa(T92, [], [], [])
U4_ggaa(T84, T85, T86, X177, X178, part24_out_ggaa(T84, T86, X177, X178)) → part24_out_ggaa(T84, .(T85, T86), X177, .(T85, X178))
U3_ggaa(T62, T63, T64, X126, X127, part24_out_ggaa(T62, T64, X126, X127)) → part24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
U18_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, X52, X53)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U19_ga(T22, T23, T24, T9, part24_in_ggaa(T22, T24, T45, T46))
U19_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U20_ga(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
qs1_in_aa([], []) → qs1_out_aa([], [])
qs1_in_aa(.(T22, .(T23, T24)), T9) → U17_aa(T22, T23, T24, T9, less14_in_aa(T22, T23))
less14_in_aa(0, s(T33)) → less14_out_aa(0, s(T33))
less14_in_aa(s(T38), s(T39)) → U1_aa(T38, T39, less14_in_aa(T38, T39))
U1_aa(T38, T39, less14_out_aa(T38, T39)) → less14_out_aa(s(T38), s(T39))
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U18_aa(T22, T23, T24, T9, part24_in_gaaa(T22, T24, X52, X53))
part24_in_gaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_gaaa(T62, T63, T64, X126, X127, less14_in_ga(T62, T63))
less14_in_ga(0, s(T33)) → less14_out_ga(0, s(T33))
less14_in_ga(s(T38), s(T39)) → U1_ga(T38, T39, less14_in_ga(T38, T39))
U1_ga(T38, T39, less14_out_ga(T38, T39)) → less14_out_ga(s(T38), s(T39))
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → U3_gaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
part24_in_gaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_gaaa(T84, T85, T86, X177, X178, part24_in_gaaa(T84, T86, X177, X178))
part24_in_gaaa(T92, [], [], []) → part24_out_gaaa(T92, [], [], [])
U4_gaaa(T84, T85, T86, X177, X178, part24_out_gaaa(T84, T86, X177, X178)) → part24_out_gaaa(T84, .(T85, T86), X177, .(T85, X178))
U3_gaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U18_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, X52, X53)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U19_aa(T22, T23, T24, T9, part24_in_gaaa(T22, T24, T45, T46))
U19_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U20_aa(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
qs1_in_aa(.(T191, .(T192, T193)), T9) → U23_aa(T191, T192, T193, T9, part24_in_aaaa(T191, T193, X336, X337))
part24_in_aaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_aaaa(T62, T63, T64, X126, X127, less14_in_aa(T62, T63))
U2_aaaa(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → part24_out_aaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_aaaa(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → U3_aaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
U3_aaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_aaaa(T62, .(T63, T64), .(T63, X126), X127)
part24_in_aaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_aaaa(T84, T85, T86, X177, X178, part24_in_aaaa(T84, T86, X177, X178))
part24_in_aaaa(T92, [], [], []) → part24_out_aaaa(T92, [], [], [])
U4_aaaa(T84, T85, T86, X177, X178, part24_out_aaaa(T84, T86, X177, X178)) → part24_out_aaaa(T84, .(T85, T86), X177, .(T85, X178))
U23_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, X336, X337)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
qs1_in_aa(.(T191, .(T192, T193)), T9) → U24_aa(T191, T192, T193, T9, part24_in_aaaa(T191, T193, T197, T198))
U24_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U25_aa(T191, T192, T193, T9, qs42_in_aa(T197, X14))
qs42_in_aa([], []) → qs42_out_aa([], [])
qs42_in_aa(.(T103, T104), X230) → U5_aa(T103, T104, X230, part24_in_aaaa(T103, T104, X226, X227))
U5_aa(T103, T104, X230, part24_out_aaaa(T103, T104, X226, X227)) → qs42_out_aa(.(T103, T104), X230)
qs42_in_aa(.(T103, T104), X230) → U6_aa(T103, T104, X230, part24_in_aaaa(T103, T104, T108, T109))
U6_aa(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U7_aa(T103, T104, X230, qs42_in_aa(T108, X228))
U7_aa(T103, T104, X230, qs42_out_aa(T108, X228)) → qs42_out_aa(.(T103, T104), X230)
U6_aa(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U8_aa(T103, T104, X230, T109, qs42_in_aa(T108, T113))
U8_aa(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U9_aa(T103, T104, X230, qs42_in_aa(T109, X229))
U9_aa(T103, T104, X230, qs42_out_aa(T109, X229)) → qs42_out_aa(.(T103, T104), X230)
U8_aa(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U10_aa(T103, T104, X230, T113, qs42_in_aa(T109, T114))
U10_aa(T103, T104, X230, T113, qs42_out_aa(T109, T114)) → U11_aa(T103, T104, X230, app57_in_aaaa(T113, T103, T114, X230))
app57_in_aaaa([], T127, T128, .(T127, T128)) → app57_out_aaaa([], T127, T128, .(T127, T128))
app57_in_aaaa(.(T137, T138), T139, T140, .(T137, X270)) → U12_aaaa(T137, T138, T139, T140, X270, app57_in_aaaa(T138, T139, T140, X270))
U12_aaaa(T137, T138, T139, T140, X270, app57_out_aaaa(T138, T139, T140, X270)) → app57_out_aaaa(.(T137, T138), T139, T140, .(T137, X270))
U11_aa(T103, T104, X230, app57_out_aaaa(T113, T103, T114, X230)) → qs42_out_aa(.(T103, T104), X230)
U25_aa(T191, T192, T193, T9, qs42_out_aa(T197, X14)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
U24_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U26_aa(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_aa(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_aa(T191, T192, T193, T9, p41_in_aaaaa(.(T192, T198), X15, T202, T191, T9))
p41_in_aaaaa(T46, X15, T95, T22, T9) → U14_aaaaa(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
U14_aaaaa(T46, X15, T95, T22, T9, qs42_out_aa(T46, X15)) → p41_out_aaaaa(T46, X15, T95, T22, T9)
p41_in_aaaaa(T46, T98, T95, T22, T9) → U15_aaaaa(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_aaaaa(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_aaaaa(T46, T98, T95, T22, T9, app43_in_aaaa(T95, T22, T98, T9))
app43_in_aaaa([], T157, T158, .(T157, T158)) → app43_out_aaaa([], T157, T158, .(T157, T158))
app43_in_aaaa(.(T169, T170), T171, T172, .(T169, T174)) → U13_aaaa(T169, T170, T171, T172, T174, app43_in_aaaa(T170, T171, T172, T174))
U13_aaaa(T169, T170, T171, T172, T174, app43_out_aaaa(T170, T171, T172, T174)) → app43_out_aaaa(.(T169, T170), T171, T172, .(T169, T174))
U16_aaaaa(T46, T98, T95, T22, T9, app43_out_aaaa(T95, T22, T98, T9)) → p41_out_aaaaa(T46, T98, T95, T22, T9)
U27_aa(T191, T192, T193, T9, p41_out_aaaaa(.(T192, T198), X15, T202, T191, T9)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
qs1_in_aa(.(T207, []), T9) → U28_aa(T207, T9, qs84_in_a(X14))
qs84_in_a([]) → qs84_out_a([])
U28_aa(T207, T9, qs84_out_a(X14)) → qs1_out_aa(.(T207, []), T9)
qs1_in_aa(.(T207, []), T9) → U29_aa(T207, T9, qs84_in_a(T210))
U29_aa(T207, T9, qs84_out_a(T210)) → U30_aa(T207, T9, qs84_in_a(X15))
U30_aa(T207, T9, qs84_out_a(X15)) → qs1_out_aa(.(T207, []), T9)
U29_aa(T207, T9, qs84_out_a(T210)) → U31_aa(T207, T9, T210, qs84_in_a(T213))
U31_aa(T207, T9, T210, qs84_out_a(T213)) → U32_aa(T207, T9, app43_in_gaga(T210, T207, T213, T9))
app43_in_gaga([], T157, T158, .(T157, T158)) → app43_out_gaga([], T157, T158, .(T157, T158))
app43_in_gaga(.(T169, T170), T171, T172, .(T169, T174)) → U13_gaga(T169, T170, T171, T172, T174, app43_in_gaga(T170, T171, T172, T174))
U13_gaga(T169, T170, T171, T172, T174, app43_out_gaga(T170, T171, T172, T174)) → app43_out_gaga(.(T169, T170), T171, T172, .(T169, T174))
U32_aa(T207, T9, app43_out_gaga(T210, T207, T213, T9)) → qs1_out_aa(.(T207, []), T9)
U20_aa(T22, T23, T24, T9, qs1_out_aa(.(T23, T45), X14)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U21_aa(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_aa(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_aa(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
p41_in_aaaga(T46, X15, T95, T22, T9) → U14_aaaga(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
U14_aaaga(T46, X15, T95, T22, T9, qs42_out_aa(T46, X15)) → p41_out_aaaga(T46, X15, T95, T22, T9)
p41_in_aaaga(T46, T98, T95, T22, T9) → U15_aaaga(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_aaaga(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_aaaga(T46, T98, T95, T22, T9, app43_in_agaa(T95, T22, T98, T9))
app43_in_agaa([], T157, T158, .(T157, T158)) → app43_out_agaa([], T157, T158, .(T157, T158))
app43_in_agaa(.(T169, T170), T171, T172, .(T169, T174)) → U13_agaa(T169, T170, T171, T172, T174, app43_in_agaa(T170, T171, T172, T174))
U13_agaa(T169, T170, T171, T172, T174, app43_out_agaa(T170, T171, T172, T174)) → app43_out_agaa(.(T169, T170), T171, T172, .(T169, T174))
U16_aaaga(T46, T98, T95, T22, T9, app43_out_agaa(T95, T22, T98, T9)) → p41_out_aaaga(T46, T98, T95, T22, T9)
U22_aa(T22, T23, T24, T9, p41_out_aaaga(T46, X15, T95, T22, T9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U20_ga(T22, T23, T24, T9, qs1_out_aa(.(T23, T45), X14)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U21_ga(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_ga(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_ga(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
U22_ga(T22, T23, T24, T9, p41_out_aaaga(T46, X15, T95, T22, T9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
qs1_in_ga(.(T191, .(T192, T193)), T9) → U23_ga(T191, T192, T193, T9, part24_in_ggaa(T191, T193, X336, X337))
U23_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, X336, X337)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
qs1_in_ga(.(T191, .(T192, T193)), T9) → U24_ga(T191, T192, T193, T9, part24_in_ggaa(T191, T193, T197, T198))
U24_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U25_ga(T191, T192, T193, T9, qs42_in_aa(T197, X14))
U25_ga(T191, T192, T193, T9, qs42_out_aa(T197, X14)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
U24_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U26_ga(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_ga(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_ga(T191, T192, T193, T9, p41_in_aaaga(.(T192, T198), X15, T202, T191, T9))
U27_ga(T191, T192, T193, T9, p41_out_aaaga(.(T192, T198), X15, T202, T191, T9)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
qs1_in_ga(.(T207, []), T9) → U28_ga(T207, T9, qs84_in_a(X14))
U28_ga(T207, T9, qs84_out_a(X14)) → qs1_out_ga(.(T207, []), T9)
qs1_in_ga(.(T207, []), T9) → U29_ga(T207, T9, qs84_in_a(T210))
U29_ga(T207, T9, qs84_out_a(T210)) → U30_ga(T207, T9, qs84_in_a(X15))
U30_ga(T207, T9, qs84_out_a(X15)) → qs1_out_ga(.(T207, []), T9)
U29_ga(T207, T9, qs84_out_a(T210)) → U31_ga(T207, T9, T210, qs84_in_a(T213))
U31_ga(T207, T9, T210, qs84_out_a(T213)) → U32_ga(T207, T9, app43_in_ggga(T210, T207, T213, T9))
app43_in_ggga([], T157, T158, .(T157, T158)) → app43_out_ggga([], T157, T158, .(T157, T158))
app43_in_ggga(.(T169, T170), T171, T172, .(T169, T174)) → U13_ggga(T169, T170, T171, T172, T174, app43_in_ggga(T170, T171, T172, T174))
U13_ggga(T169, T170, T171, T172, T174, app43_out_ggga(T170, T171, T172, T174)) → app43_out_ggga(.(T169, T170), T171, T172, .(T169, T174))
U32_ga(T207, T9, app43_out_ggga(T210, T207, T213, T9)) → qs1_out_ga(.(T207, []), T9)

The argument filtering Pi contains the following mapping:
qs1_in_ga(x1, x2)  =  qs1_in_ga(x1)
[]  =  []
qs1_out_ga(x1, x2)  =  qs1_out_ga(x1)
.(x1, x2)  =  .(x1, x2)
U17_ga(x1, x2, x3, x4, x5)  =  U17_ga(x1, x2, x3, x5)
less14_in_gg(x1, x2)  =  less14_in_gg(x1, x2)
0  =  0
s(x1)  =  s(x1)
less14_out_gg(x1, x2)  =  less14_out_gg(x1, x2)
U1_gg(x1, x2, x3)  =  U1_gg(x1, x2, x3)
U18_ga(x1, x2, x3, x4, x5)  =  U18_ga(x1, x2, x3, x5)
part24_in_ggaa(x1, x2, x3, x4)  =  part24_in_ggaa(x1, x2)
U2_ggaa(x1, x2, x3, x4, x5, x6)  =  U2_ggaa(x1, x2, x3, x6)
part24_out_ggaa(x1, x2, x3, x4)  =  part24_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)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x2, x3, x5)
U20_ga(x1, x2, x3, x4, x5)  =  U20_ga(x1, x2, x3, x5)
qs1_in_aa(x1, x2)  =  qs1_in_aa
qs1_out_aa(x1, x2)  =  qs1_out_aa
U17_aa(x1, x2, x3, x4, x5)  =  U17_aa(x5)
less14_in_aa(x1, x2)  =  less14_in_aa
less14_out_aa(x1, x2)  =  less14_out_aa(x1)
U1_aa(x1, x2, x3)  =  U1_aa(x3)
U18_aa(x1, x2, x3, x4, x5)  =  U18_aa(x5)
part24_in_gaaa(x1, x2, x3, x4)  =  part24_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x1, x6)
less14_in_ga(x1, x2)  =  less14_in_ga(x1)
less14_out_ga(x1, x2)  =  less14_out_ga(x1)
U1_ga(x1, x2, x3)  =  U1_ga(x1, x3)
part24_out_gaaa(x1, x2, x3, x4)  =  part24_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)
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(x1, x5)
U20_aa(x1, x2, x3, x4, x5)  =  U20_aa(x5)
U23_aa(x1, x2, x3, x4, x5)  =  U23_aa(x5)
part24_in_aaaa(x1, x2, x3, x4)  =  part24_in_aaaa
U2_aaaa(x1, x2, x3, x4, x5, x6)  =  U2_aaaa(x6)
part24_out_aaaa(x1, x2, x3, x4)  =  part24_out_aaaa
U3_aaaa(x1, x2, x3, x4, x5, x6)  =  U3_aaaa(x6)
U4_aaaa(x1, x2, x3, x4, x5, x6)  =  U4_aaaa(x6)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
qs42_in_aa(x1, x2)  =  qs42_in_aa
qs42_out_aa(x1, x2)  =  qs42_out_aa
U5_aa(x1, x2, x3, x4)  =  U5_aa(x4)
U6_aa(x1, x2, x3, x4)  =  U6_aa(x4)
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
U8_aa(x1, x2, x3, x4, x5)  =  U8_aa(x5)
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)
app57_in_aaaa(x1, x2, x3, x4)  =  app57_in_aaaa
app57_out_aaaa(x1, x2, x3, x4)  =  app57_out_aaaa
U12_aaaa(x1, x2, x3, x4, x5, x6)  =  U12_aaaa(x6)
U26_aa(x1, x2, x3, x4, x5, x6)  =  U26_aa(x6)
U27_aa(x1, x2, x3, x4, x5)  =  U27_aa(x5)
p41_in_aaaaa(x1, x2, x3, x4, x5)  =  p41_in_aaaaa
U14_aaaaa(x1, x2, x3, x4, x5, x6)  =  U14_aaaaa(x6)
p41_out_aaaaa(x1, x2, x3, x4, x5)  =  p41_out_aaaaa
U15_aaaaa(x1, x2, x3, x4, x5, x6)  =  U15_aaaaa(x6)
U16_aaaaa(x1, x2, x3, x4, x5, x6)  =  U16_aaaaa(x6)
app43_in_aaaa(x1, x2, x3, x4)  =  app43_in_aaaa
app43_out_aaaa(x1, x2, x3, x4)  =  app43_out_aaaa
U13_aaaa(x1, x2, x3, x4, x5, x6)  =  U13_aaaa(x6)
U28_aa(x1, x2, x3)  =  U28_aa(x3)
qs84_in_a(x1)  =  qs84_in_a
qs84_out_a(x1)  =  qs84_out_a(x1)
U29_aa(x1, x2, x3)  =  U29_aa(x3)
U30_aa(x1, x2, x3)  =  U30_aa(x3)
U31_aa(x1, x2, x3, x4)  =  U31_aa(x3, x4)
U32_aa(x1, x2, x3)  =  U32_aa(x3)
app43_in_gaga(x1, x2, x3, x4)  =  app43_in_gaga(x1, x3)
app43_out_gaga(x1, x2, x3, x4)  =  app43_out_gaga(x1, x3)
U13_gaga(x1, x2, x3, x4, x5, x6)  =  U13_gaga(x1, x2, x4, x6)
U21_aa(x1, x2, x3, x4, x5, x6)  =  U21_aa(x1, x6)
U22_aa(x1, x2, x3, x4, x5)  =  U22_aa(x5)
p41_in_aaaga(x1, x2, x3, x4, x5)  =  p41_in_aaaga(x4)
U14_aaaga(x1, x2, x3, x4, x5, x6)  =  U14_aaaga(x4, x6)
p41_out_aaaga(x1, x2, x3, x4, x5)  =  p41_out_aaaga(x4)
U15_aaaga(x1, x2, x3, x4, x5, x6)  =  U15_aaaga(x4, x6)
U16_aaaga(x1, x2, x3, x4, x5, x6)  =  U16_aaaga(x4, x6)
app43_in_agaa(x1, x2, x3, x4)  =  app43_in_agaa(x2)
app43_out_agaa(x1, x2, x3, x4)  =  app43_out_agaa(x2)
U13_agaa(x1, x2, x3, x4, x5, x6)  =  U13_agaa(x3, x6)
U21_ga(x1, x2, x3, x4, x5, x6)  =  U21_ga(x1, x2, x3, x6)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x1, x2, x3, x5)
U23_ga(x1, x2, x3, x4, x5)  =  U23_ga(x1, x2, x3, x5)
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, x6)  =  U26_ga(x1, x2, x3, x6)
U27_ga(x1, x2, x3, x4, x5)  =  U27_ga(x1, x2, x3, x5)
U28_ga(x1, x2, x3)  =  U28_ga(x1, x3)
U29_ga(x1, x2, x3)  =  U29_ga(x1, x3)
U30_ga(x1, x2, x3)  =  U30_ga(x1, x3)
U31_ga(x1, x2, x3, x4)  =  U31_ga(x1, x3, x4)
U32_ga(x1, x2, x3)  =  U32_ga(x1, x3)
app43_in_ggga(x1, x2, x3, x4)  =  app43_in_ggga(x1, x2, x3)
app43_out_ggga(x1, x2, x3, x4)  =  app43_out_ggga(x1, x2, x3, x4)
U13_ggga(x1, x2, x3, x4, x5, x6)  =  U13_ggga(x1, x2, x3, x4, x6)
APP57_IN_AAAA(x1, x2, x3, x4)  =  APP57_IN_AAAA

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:

APP57_IN_AAAA(.(T137, T138), T139, T140, .(T137, X270)) → APP57_IN_AAAA(T138, T139, T140, X270)

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

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:

APP57_IN_AAAAAPP57_IN_AAAA

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

(151) 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 = APP57_IN_AAAA evaluates to t =APP57_IN_AAAA

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




Rewriting sequence

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



(152) NO

(153) Obligation:

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

LESS14_IN_GA(s(T38), s(T39)) → LESS14_IN_GA(T38, T39)

The TRS R consists of the following rules:

qs1_in_ga([], []) → qs1_out_ga([], [])
qs1_in_ga(.(T22, .(T23, T24)), T9) → U17_ga(T22, T23, T24, T9, less14_in_gg(T22, T23))
less14_in_gg(0, s(T33)) → less14_out_gg(0, s(T33))
less14_in_gg(s(T38), s(T39)) → U1_gg(T38, T39, less14_in_gg(T38, T39))
U1_gg(T38, T39, less14_out_gg(T38, T39)) → less14_out_gg(s(T38), s(T39))
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U18_ga(T22, T23, T24, T9, part24_in_ggaa(T22, T24, X52, X53))
part24_in_ggaa(T62, .(T63, T64), .(T63, X126), X127) → U2_ggaa(T62, T63, T64, X126, X127, less14_in_gg(T62, T63))
U2_ggaa(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → part24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
U2_ggaa(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → U3_ggaa(T62, T63, T64, X126, X127, part24_in_ggaa(T62, T64, X126, X127))
part24_in_ggaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_ggaa(T84, T85, T86, X177, X178, part24_in_ggaa(T84, T86, X177, X178))
part24_in_ggaa(T92, [], [], []) → part24_out_ggaa(T92, [], [], [])
U4_ggaa(T84, T85, T86, X177, X178, part24_out_ggaa(T84, T86, X177, X178)) → part24_out_ggaa(T84, .(T85, T86), X177, .(T85, X178))
U3_ggaa(T62, T63, T64, X126, X127, part24_out_ggaa(T62, T64, X126, X127)) → part24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
U18_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, X52, X53)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U19_ga(T22, T23, T24, T9, part24_in_ggaa(T22, T24, T45, T46))
U19_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U20_ga(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
qs1_in_aa([], []) → qs1_out_aa([], [])
qs1_in_aa(.(T22, .(T23, T24)), T9) → U17_aa(T22, T23, T24, T9, less14_in_aa(T22, T23))
less14_in_aa(0, s(T33)) → less14_out_aa(0, s(T33))
less14_in_aa(s(T38), s(T39)) → U1_aa(T38, T39, less14_in_aa(T38, T39))
U1_aa(T38, T39, less14_out_aa(T38, T39)) → less14_out_aa(s(T38), s(T39))
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U18_aa(T22, T23, T24, T9, part24_in_gaaa(T22, T24, X52, X53))
part24_in_gaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_gaaa(T62, T63, T64, X126, X127, less14_in_ga(T62, T63))
less14_in_ga(0, s(T33)) → less14_out_ga(0, s(T33))
less14_in_ga(s(T38), s(T39)) → U1_ga(T38, T39, less14_in_ga(T38, T39))
U1_ga(T38, T39, less14_out_ga(T38, T39)) → less14_out_ga(s(T38), s(T39))
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → U3_gaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
part24_in_gaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_gaaa(T84, T85, T86, X177, X178, part24_in_gaaa(T84, T86, X177, X178))
part24_in_gaaa(T92, [], [], []) → part24_out_gaaa(T92, [], [], [])
U4_gaaa(T84, T85, T86, X177, X178, part24_out_gaaa(T84, T86, X177, X178)) → part24_out_gaaa(T84, .(T85, T86), X177, .(T85, X178))
U3_gaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U18_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, X52, X53)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U19_aa(T22, T23, T24, T9, part24_in_gaaa(T22, T24, T45, T46))
U19_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U20_aa(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
qs1_in_aa(.(T191, .(T192, T193)), T9) → U23_aa(T191, T192, T193, T9, part24_in_aaaa(T191, T193, X336, X337))
part24_in_aaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_aaaa(T62, T63, T64, X126, X127, less14_in_aa(T62, T63))
U2_aaaa(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → part24_out_aaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_aaaa(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → U3_aaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
U3_aaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_aaaa(T62, .(T63, T64), .(T63, X126), X127)
part24_in_aaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_aaaa(T84, T85, T86, X177, X178, part24_in_aaaa(T84, T86, X177, X178))
part24_in_aaaa(T92, [], [], []) → part24_out_aaaa(T92, [], [], [])
U4_aaaa(T84, T85, T86, X177, X178, part24_out_aaaa(T84, T86, X177, X178)) → part24_out_aaaa(T84, .(T85, T86), X177, .(T85, X178))
U23_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, X336, X337)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
qs1_in_aa(.(T191, .(T192, T193)), T9) → U24_aa(T191, T192, T193, T9, part24_in_aaaa(T191, T193, T197, T198))
U24_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U25_aa(T191, T192, T193, T9, qs42_in_aa(T197, X14))
qs42_in_aa([], []) → qs42_out_aa([], [])
qs42_in_aa(.(T103, T104), X230) → U5_aa(T103, T104, X230, part24_in_aaaa(T103, T104, X226, X227))
U5_aa(T103, T104, X230, part24_out_aaaa(T103, T104, X226, X227)) → qs42_out_aa(.(T103, T104), X230)
qs42_in_aa(.(T103, T104), X230) → U6_aa(T103, T104, X230, part24_in_aaaa(T103, T104, T108, T109))
U6_aa(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U7_aa(T103, T104, X230, qs42_in_aa(T108, X228))
U7_aa(T103, T104, X230, qs42_out_aa(T108, X228)) → qs42_out_aa(.(T103, T104), X230)
U6_aa(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U8_aa(T103, T104, X230, T109, qs42_in_aa(T108, T113))
U8_aa(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U9_aa(T103, T104, X230, qs42_in_aa(T109, X229))
U9_aa(T103, T104, X230, qs42_out_aa(T109, X229)) → qs42_out_aa(.(T103, T104), X230)
U8_aa(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U10_aa(T103, T104, X230, T113, qs42_in_aa(T109, T114))
U10_aa(T103, T104, X230, T113, qs42_out_aa(T109, T114)) → U11_aa(T103, T104, X230, app57_in_aaaa(T113, T103, T114, X230))
app57_in_aaaa([], T127, T128, .(T127, T128)) → app57_out_aaaa([], T127, T128, .(T127, T128))
app57_in_aaaa(.(T137, T138), T139, T140, .(T137, X270)) → U12_aaaa(T137, T138, T139, T140, X270, app57_in_aaaa(T138, T139, T140, X270))
U12_aaaa(T137, T138, T139, T140, X270, app57_out_aaaa(T138, T139, T140, X270)) → app57_out_aaaa(.(T137, T138), T139, T140, .(T137, X270))
U11_aa(T103, T104, X230, app57_out_aaaa(T113, T103, T114, X230)) → qs42_out_aa(.(T103, T104), X230)
U25_aa(T191, T192, T193, T9, qs42_out_aa(T197, X14)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
U24_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U26_aa(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_aa(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_aa(T191, T192, T193, T9, p41_in_aaaaa(.(T192, T198), X15, T202, T191, T9))
p41_in_aaaaa(T46, X15, T95, T22, T9) → U14_aaaaa(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
U14_aaaaa(T46, X15, T95, T22, T9, qs42_out_aa(T46, X15)) → p41_out_aaaaa(T46, X15, T95, T22, T9)
p41_in_aaaaa(T46, T98, T95, T22, T9) → U15_aaaaa(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_aaaaa(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_aaaaa(T46, T98, T95, T22, T9, app43_in_aaaa(T95, T22, T98, T9))
app43_in_aaaa([], T157, T158, .(T157, T158)) → app43_out_aaaa([], T157, T158, .(T157, T158))
app43_in_aaaa(.(T169, T170), T171, T172, .(T169, T174)) → U13_aaaa(T169, T170, T171, T172, T174, app43_in_aaaa(T170, T171, T172, T174))
U13_aaaa(T169, T170, T171, T172, T174, app43_out_aaaa(T170, T171, T172, T174)) → app43_out_aaaa(.(T169, T170), T171, T172, .(T169, T174))
U16_aaaaa(T46, T98, T95, T22, T9, app43_out_aaaa(T95, T22, T98, T9)) → p41_out_aaaaa(T46, T98, T95, T22, T9)
U27_aa(T191, T192, T193, T9, p41_out_aaaaa(.(T192, T198), X15, T202, T191, T9)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
qs1_in_aa(.(T207, []), T9) → U28_aa(T207, T9, qs84_in_a(X14))
qs84_in_a([]) → qs84_out_a([])
U28_aa(T207, T9, qs84_out_a(X14)) → qs1_out_aa(.(T207, []), T9)
qs1_in_aa(.(T207, []), T9) → U29_aa(T207, T9, qs84_in_a(T210))
U29_aa(T207, T9, qs84_out_a(T210)) → U30_aa(T207, T9, qs84_in_a(X15))
U30_aa(T207, T9, qs84_out_a(X15)) → qs1_out_aa(.(T207, []), T9)
U29_aa(T207, T9, qs84_out_a(T210)) → U31_aa(T207, T9, T210, qs84_in_a(T213))
U31_aa(T207, T9, T210, qs84_out_a(T213)) → U32_aa(T207, T9, app43_in_gaga(T210, T207, T213, T9))
app43_in_gaga([], T157, T158, .(T157, T158)) → app43_out_gaga([], T157, T158, .(T157, T158))
app43_in_gaga(.(T169, T170), T171, T172, .(T169, T174)) → U13_gaga(T169, T170, T171, T172, T174, app43_in_gaga(T170, T171, T172, T174))
U13_gaga(T169, T170, T171, T172, T174, app43_out_gaga(T170, T171, T172, T174)) → app43_out_gaga(.(T169, T170), T171, T172, .(T169, T174))
U32_aa(T207, T9, app43_out_gaga(T210, T207, T213, T9)) → qs1_out_aa(.(T207, []), T9)
U20_aa(T22, T23, T24, T9, qs1_out_aa(.(T23, T45), X14)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U21_aa(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_aa(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_aa(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
p41_in_aaaga(T46, X15, T95, T22, T9) → U14_aaaga(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
U14_aaaga(T46, X15, T95, T22, T9, qs42_out_aa(T46, X15)) → p41_out_aaaga(T46, X15, T95, T22, T9)
p41_in_aaaga(T46, T98, T95, T22, T9) → U15_aaaga(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_aaaga(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_aaaga(T46, T98, T95, T22, T9, app43_in_agaa(T95, T22, T98, T9))
app43_in_agaa([], T157, T158, .(T157, T158)) → app43_out_agaa([], T157, T158, .(T157, T158))
app43_in_agaa(.(T169, T170), T171, T172, .(T169, T174)) → U13_agaa(T169, T170, T171, T172, T174, app43_in_agaa(T170, T171, T172, T174))
U13_agaa(T169, T170, T171, T172, T174, app43_out_agaa(T170, T171, T172, T174)) → app43_out_agaa(.(T169, T170), T171, T172, .(T169, T174))
U16_aaaga(T46, T98, T95, T22, T9, app43_out_agaa(T95, T22, T98, T9)) → p41_out_aaaga(T46, T98, T95, T22, T9)
U22_aa(T22, T23, T24, T9, p41_out_aaaga(T46, X15, T95, T22, T9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U20_ga(T22, T23, T24, T9, qs1_out_aa(.(T23, T45), X14)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U21_ga(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_ga(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_ga(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
U22_ga(T22, T23, T24, T9, p41_out_aaaga(T46, X15, T95, T22, T9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
qs1_in_ga(.(T191, .(T192, T193)), T9) → U23_ga(T191, T192, T193, T9, part24_in_ggaa(T191, T193, X336, X337))
U23_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, X336, X337)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
qs1_in_ga(.(T191, .(T192, T193)), T9) → U24_ga(T191, T192, T193, T9, part24_in_ggaa(T191, T193, T197, T198))
U24_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U25_ga(T191, T192, T193, T9, qs42_in_aa(T197, X14))
U25_ga(T191, T192, T193, T9, qs42_out_aa(T197, X14)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
U24_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U26_ga(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_ga(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_ga(T191, T192, T193, T9, p41_in_aaaga(.(T192, T198), X15, T202, T191, T9))
U27_ga(T191, T192, T193, T9, p41_out_aaaga(.(T192, T198), X15, T202, T191, T9)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
qs1_in_ga(.(T207, []), T9) → U28_ga(T207, T9, qs84_in_a(X14))
U28_ga(T207, T9, qs84_out_a(X14)) → qs1_out_ga(.(T207, []), T9)
qs1_in_ga(.(T207, []), T9) → U29_ga(T207, T9, qs84_in_a(T210))
U29_ga(T207, T9, qs84_out_a(T210)) → U30_ga(T207, T9, qs84_in_a(X15))
U30_ga(T207, T9, qs84_out_a(X15)) → qs1_out_ga(.(T207, []), T9)
U29_ga(T207, T9, qs84_out_a(T210)) → U31_ga(T207, T9, T210, qs84_in_a(T213))
U31_ga(T207, T9, T210, qs84_out_a(T213)) → U32_ga(T207, T9, app43_in_ggga(T210, T207, T213, T9))
app43_in_ggga([], T157, T158, .(T157, T158)) → app43_out_ggga([], T157, T158, .(T157, T158))
app43_in_ggga(.(T169, T170), T171, T172, .(T169, T174)) → U13_ggga(T169, T170, T171, T172, T174, app43_in_ggga(T170, T171, T172, T174))
U13_ggga(T169, T170, T171, T172, T174, app43_out_ggga(T170, T171, T172, T174)) → app43_out_ggga(.(T169, T170), T171, T172, .(T169, T174))
U32_ga(T207, T9, app43_out_ggga(T210, T207, T213, T9)) → qs1_out_ga(.(T207, []), T9)

The argument filtering Pi contains the following mapping:
qs1_in_ga(x1, x2)  =  qs1_in_ga(x1)
[]  =  []
qs1_out_ga(x1, x2)  =  qs1_out_ga(x1)
.(x1, x2)  =  .(x1, x2)
U17_ga(x1, x2, x3, x4, x5)  =  U17_ga(x1, x2, x3, x5)
less14_in_gg(x1, x2)  =  less14_in_gg(x1, x2)
0  =  0
s(x1)  =  s(x1)
less14_out_gg(x1, x2)  =  less14_out_gg(x1, x2)
U1_gg(x1, x2, x3)  =  U1_gg(x1, x2, x3)
U18_ga(x1, x2, x3, x4, x5)  =  U18_ga(x1, x2, x3, x5)
part24_in_ggaa(x1, x2, x3, x4)  =  part24_in_ggaa(x1, x2)
U2_ggaa(x1, x2, x3, x4, x5, x6)  =  U2_ggaa(x1, x2, x3, x6)
part24_out_ggaa(x1, x2, x3, x4)  =  part24_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)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x2, x3, x5)
U20_ga(x1, x2, x3, x4, x5)  =  U20_ga(x1, x2, x3, x5)
qs1_in_aa(x1, x2)  =  qs1_in_aa
qs1_out_aa(x1, x2)  =  qs1_out_aa
U17_aa(x1, x2, x3, x4, x5)  =  U17_aa(x5)
less14_in_aa(x1, x2)  =  less14_in_aa
less14_out_aa(x1, x2)  =  less14_out_aa(x1)
U1_aa(x1, x2, x3)  =  U1_aa(x3)
U18_aa(x1, x2, x3, x4, x5)  =  U18_aa(x5)
part24_in_gaaa(x1, x2, x3, x4)  =  part24_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x1, x6)
less14_in_ga(x1, x2)  =  less14_in_ga(x1)
less14_out_ga(x1, x2)  =  less14_out_ga(x1)
U1_ga(x1, x2, x3)  =  U1_ga(x1, x3)
part24_out_gaaa(x1, x2, x3, x4)  =  part24_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)
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(x1, x5)
U20_aa(x1, x2, x3, x4, x5)  =  U20_aa(x5)
U23_aa(x1, x2, x3, x4, x5)  =  U23_aa(x5)
part24_in_aaaa(x1, x2, x3, x4)  =  part24_in_aaaa
U2_aaaa(x1, x2, x3, x4, x5, x6)  =  U2_aaaa(x6)
part24_out_aaaa(x1, x2, x3, x4)  =  part24_out_aaaa
U3_aaaa(x1, x2, x3, x4, x5, x6)  =  U3_aaaa(x6)
U4_aaaa(x1, x2, x3, x4, x5, x6)  =  U4_aaaa(x6)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
qs42_in_aa(x1, x2)  =  qs42_in_aa
qs42_out_aa(x1, x2)  =  qs42_out_aa
U5_aa(x1, x2, x3, x4)  =  U5_aa(x4)
U6_aa(x1, x2, x3, x4)  =  U6_aa(x4)
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
U8_aa(x1, x2, x3, x4, x5)  =  U8_aa(x5)
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)
app57_in_aaaa(x1, x2, x3, x4)  =  app57_in_aaaa
app57_out_aaaa(x1, x2, x3, x4)  =  app57_out_aaaa
U12_aaaa(x1, x2, x3, x4, x5, x6)  =  U12_aaaa(x6)
U26_aa(x1, x2, x3, x4, x5, x6)  =  U26_aa(x6)
U27_aa(x1, x2, x3, x4, x5)  =  U27_aa(x5)
p41_in_aaaaa(x1, x2, x3, x4, x5)  =  p41_in_aaaaa
U14_aaaaa(x1, x2, x3, x4, x5, x6)  =  U14_aaaaa(x6)
p41_out_aaaaa(x1, x2, x3, x4, x5)  =  p41_out_aaaaa
U15_aaaaa(x1, x2, x3, x4, x5, x6)  =  U15_aaaaa(x6)
U16_aaaaa(x1, x2, x3, x4, x5, x6)  =  U16_aaaaa(x6)
app43_in_aaaa(x1, x2, x3, x4)  =  app43_in_aaaa
app43_out_aaaa(x1, x2, x3, x4)  =  app43_out_aaaa
U13_aaaa(x1, x2, x3, x4, x5, x6)  =  U13_aaaa(x6)
U28_aa(x1, x2, x3)  =  U28_aa(x3)
qs84_in_a(x1)  =  qs84_in_a
qs84_out_a(x1)  =  qs84_out_a(x1)
U29_aa(x1, x2, x3)  =  U29_aa(x3)
U30_aa(x1, x2, x3)  =  U30_aa(x3)
U31_aa(x1, x2, x3, x4)  =  U31_aa(x3, x4)
U32_aa(x1, x2, x3)  =  U32_aa(x3)
app43_in_gaga(x1, x2, x3, x4)  =  app43_in_gaga(x1, x3)
app43_out_gaga(x1, x2, x3, x4)  =  app43_out_gaga(x1, x3)
U13_gaga(x1, x2, x3, x4, x5, x6)  =  U13_gaga(x1, x2, x4, x6)
U21_aa(x1, x2, x3, x4, x5, x6)  =  U21_aa(x1, x6)
U22_aa(x1, x2, x3, x4, x5)  =  U22_aa(x5)
p41_in_aaaga(x1, x2, x3, x4, x5)  =  p41_in_aaaga(x4)
U14_aaaga(x1, x2, x3, x4, x5, x6)  =  U14_aaaga(x4, x6)
p41_out_aaaga(x1, x2, x3, x4, x5)  =  p41_out_aaaga(x4)
U15_aaaga(x1, x2, x3, x4, x5, x6)  =  U15_aaaga(x4, x6)
U16_aaaga(x1, x2, x3, x4, x5, x6)  =  U16_aaaga(x4, x6)
app43_in_agaa(x1, x2, x3, x4)  =  app43_in_agaa(x2)
app43_out_agaa(x1, x2, x3, x4)  =  app43_out_agaa(x2)
U13_agaa(x1, x2, x3, x4, x5, x6)  =  U13_agaa(x3, x6)
U21_ga(x1, x2, x3, x4, x5, x6)  =  U21_ga(x1, x2, x3, x6)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x1, x2, x3, x5)
U23_ga(x1, x2, x3, x4, x5)  =  U23_ga(x1, x2, x3, x5)
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, x6)  =  U26_ga(x1, x2, x3, x6)
U27_ga(x1, x2, x3, x4, x5)  =  U27_ga(x1, x2, x3, x5)
U28_ga(x1, x2, x3)  =  U28_ga(x1, x3)
U29_ga(x1, x2, x3)  =  U29_ga(x1, x3)
U30_ga(x1, x2, x3)  =  U30_ga(x1, x3)
U31_ga(x1, x2, x3, x4)  =  U31_ga(x1, x3, x4)
U32_ga(x1, x2, x3)  =  U32_ga(x1, x3)
app43_in_ggga(x1, x2, x3, x4)  =  app43_in_ggga(x1, x2, x3)
app43_out_ggga(x1, x2, x3, x4)  =  app43_out_ggga(x1, x2, x3, x4)
U13_ggga(x1, x2, x3, x4, x5, x6)  =  U13_ggga(x1, x2, x3, x4, x6)
LESS14_IN_GA(x1, x2)  =  LESS14_IN_GA(x1)

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:

LESS14_IN_GA(s(T38), s(T39)) → LESS14_IN_GA(T38, T39)

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

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:

LESS14_IN_GA(s(T38)) → LESS14_IN_GA(T38)

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

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

  • LESS14_IN_GA(s(T38)) → LESS14_IN_GA(T38)
    The graph contains the following edges 1 > 1

(159) YES

(160) Obligation:

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

U2_GAAA(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → PART24_IN_GAAA(T62, T64, X126, X127)
PART24_IN_GAAA(T62, .(T63, T64), .(T63, X126), X127) → U2_GAAA(T62, T63, T64, X126, X127, less14_in_ga(T62, T63))
PART24_IN_GAAA(T84, .(T85, T86), X177, .(T85, X178)) → PART24_IN_GAAA(T84, T86, X177, X178)

The TRS R consists of the following rules:

qs1_in_ga([], []) → qs1_out_ga([], [])
qs1_in_ga(.(T22, .(T23, T24)), T9) → U17_ga(T22, T23, T24, T9, less14_in_gg(T22, T23))
less14_in_gg(0, s(T33)) → less14_out_gg(0, s(T33))
less14_in_gg(s(T38), s(T39)) → U1_gg(T38, T39, less14_in_gg(T38, T39))
U1_gg(T38, T39, less14_out_gg(T38, T39)) → less14_out_gg(s(T38), s(T39))
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U18_ga(T22, T23, T24, T9, part24_in_ggaa(T22, T24, X52, X53))
part24_in_ggaa(T62, .(T63, T64), .(T63, X126), X127) → U2_ggaa(T62, T63, T64, X126, X127, less14_in_gg(T62, T63))
U2_ggaa(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → part24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
U2_ggaa(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → U3_ggaa(T62, T63, T64, X126, X127, part24_in_ggaa(T62, T64, X126, X127))
part24_in_ggaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_ggaa(T84, T85, T86, X177, X178, part24_in_ggaa(T84, T86, X177, X178))
part24_in_ggaa(T92, [], [], []) → part24_out_ggaa(T92, [], [], [])
U4_ggaa(T84, T85, T86, X177, X178, part24_out_ggaa(T84, T86, X177, X178)) → part24_out_ggaa(T84, .(T85, T86), X177, .(T85, X178))
U3_ggaa(T62, T63, T64, X126, X127, part24_out_ggaa(T62, T64, X126, X127)) → part24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
U18_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, X52, X53)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U19_ga(T22, T23, T24, T9, part24_in_ggaa(T22, T24, T45, T46))
U19_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U20_ga(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
qs1_in_aa([], []) → qs1_out_aa([], [])
qs1_in_aa(.(T22, .(T23, T24)), T9) → U17_aa(T22, T23, T24, T9, less14_in_aa(T22, T23))
less14_in_aa(0, s(T33)) → less14_out_aa(0, s(T33))
less14_in_aa(s(T38), s(T39)) → U1_aa(T38, T39, less14_in_aa(T38, T39))
U1_aa(T38, T39, less14_out_aa(T38, T39)) → less14_out_aa(s(T38), s(T39))
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U18_aa(T22, T23, T24, T9, part24_in_gaaa(T22, T24, X52, X53))
part24_in_gaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_gaaa(T62, T63, T64, X126, X127, less14_in_ga(T62, T63))
less14_in_ga(0, s(T33)) → less14_out_ga(0, s(T33))
less14_in_ga(s(T38), s(T39)) → U1_ga(T38, T39, less14_in_ga(T38, T39))
U1_ga(T38, T39, less14_out_ga(T38, T39)) → less14_out_ga(s(T38), s(T39))
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → U3_gaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
part24_in_gaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_gaaa(T84, T85, T86, X177, X178, part24_in_gaaa(T84, T86, X177, X178))
part24_in_gaaa(T92, [], [], []) → part24_out_gaaa(T92, [], [], [])
U4_gaaa(T84, T85, T86, X177, X178, part24_out_gaaa(T84, T86, X177, X178)) → part24_out_gaaa(T84, .(T85, T86), X177, .(T85, X178))
U3_gaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U18_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, X52, X53)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U19_aa(T22, T23, T24, T9, part24_in_gaaa(T22, T24, T45, T46))
U19_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U20_aa(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
qs1_in_aa(.(T191, .(T192, T193)), T9) → U23_aa(T191, T192, T193, T9, part24_in_aaaa(T191, T193, X336, X337))
part24_in_aaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_aaaa(T62, T63, T64, X126, X127, less14_in_aa(T62, T63))
U2_aaaa(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → part24_out_aaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_aaaa(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → U3_aaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
U3_aaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_aaaa(T62, .(T63, T64), .(T63, X126), X127)
part24_in_aaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_aaaa(T84, T85, T86, X177, X178, part24_in_aaaa(T84, T86, X177, X178))
part24_in_aaaa(T92, [], [], []) → part24_out_aaaa(T92, [], [], [])
U4_aaaa(T84, T85, T86, X177, X178, part24_out_aaaa(T84, T86, X177, X178)) → part24_out_aaaa(T84, .(T85, T86), X177, .(T85, X178))
U23_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, X336, X337)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
qs1_in_aa(.(T191, .(T192, T193)), T9) → U24_aa(T191, T192, T193, T9, part24_in_aaaa(T191, T193, T197, T198))
U24_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U25_aa(T191, T192, T193, T9, qs42_in_aa(T197, X14))
qs42_in_aa([], []) → qs42_out_aa([], [])
qs42_in_aa(.(T103, T104), X230) → U5_aa(T103, T104, X230, part24_in_aaaa(T103, T104, X226, X227))
U5_aa(T103, T104, X230, part24_out_aaaa(T103, T104, X226, X227)) → qs42_out_aa(.(T103, T104), X230)
qs42_in_aa(.(T103, T104), X230) → U6_aa(T103, T104, X230, part24_in_aaaa(T103, T104, T108, T109))
U6_aa(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U7_aa(T103, T104, X230, qs42_in_aa(T108, X228))
U7_aa(T103, T104, X230, qs42_out_aa(T108, X228)) → qs42_out_aa(.(T103, T104), X230)
U6_aa(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U8_aa(T103, T104, X230, T109, qs42_in_aa(T108, T113))
U8_aa(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U9_aa(T103, T104, X230, qs42_in_aa(T109, X229))
U9_aa(T103, T104, X230, qs42_out_aa(T109, X229)) → qs42_out_aa(.(T103, T104), X230)
U8_aa(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U10_aa(T103, T104, X230, T113, qs42_in_aa(T109, T114))
U10_aa(T103, T104, X230, T113, qs42_out_aa(T109, T114)) → U11_aa(T103, T104, X230, app57_in_aaaa(T113, T103, T114, X230))
app57_in_aaaa([], T127, T128, .(T127, T128)) → app57_out_aaaa([], T127, T128, .(T127, T128))
app57_in_aaaa(.(T137, T138), T139, T140, .(T137, X270)) → U12_aaaa(T137, T138, T139, T140, X270, app57_in_aaaa(T138, T139, T140, X270))
U12_aaaa(T137, T138, T139, T140, X270, app57_out_aaaa(T138, T139, T140, X270)) → app57_out_aaaa(.(T137, T138), T139, T140, .(T137, X270))
U11_aa(T103, T104, X230, app57_out_aaaa(T113, T103, T114, X230)) → qs42_out_aa(.(T103, T104), X230)
U25_aa(T191, T192, T193, T9, qs42_out_aa(T197, X14)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
U24_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U26_aa(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_aa(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_aa(T191, T192, T193, T9, p41_in_aaaaa(.(T192, T198), X15, T202, T191, T9))
p41_in_aaaaa(T46, X15, T95, T22, T9) → U14_aaaaa(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
U14_aaaaa(T46, X15, T95, T22, T9, qs42_out_aa(T46, X15)) → p41_out_aaaaa(T46, X15, T95, T22, T9)
p41_in_aaaaa(T46, T98, T95, T22, T9) → U15_aaaaa(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_aaaaa(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_aaaaa(T46, T98, T95, T22, T9, app43_in_aaaa(T95, T22, T98, T9))
app43_in_aaaa([], T157, T158, .(T157, T158)) → app43_out_aaaa([], T157, T158, .(T157, T158))
app43_in_aaaa(.(T169, T170), T171, T172, .(T169, T174)) → U13_aaaa(T169, T170, T171, T172, T174, app43_in_aaaa(T170, T171, T172, T174))
U13_aaaa(T169, T170, T171, T172, T174, app43_out_aaaa(T170, T171, T172, T174)) → app43_out_aaaa(.(T169, T170), T171, T172, .(T169, T174))
U16_aaaaa(T46, T98, T95, T22, T9, app43_out_aaaa(T95, T22, T98, T9)) → p41_out_aaaaa(T46, T98, T95, T22, T9)
U27_aa(T191, T192, T193, T9, p41_out_aaaaa(.(T192, T198), X15, T202, T191, T9)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
qs1_in_aa(.(T207, []), T9) → U28_aa(T207, T9, qs84_in_a(X14))
qs84_in_a([]) → qs84_out_a([])
U28_aa(T207, T9, qs84_out_a(X14)) → qs1_out_aa(.(T207, []), T9)
qs1_in_aa(.(T207, []), T9) → U29_aa(T207, T9, qs84_in_a(T210))
U29_aa(T207, T9, qs84_out_a(T210)) → U30_aa(T207, T9, qs84_in_a(X15))
U30_aa(T207, T9, qs84_out_a(X15)) → qs1_out_aa(.(T207, []), T9)
U29_aa(T207, T9, qs84_out_a(T210)) → U31_aa(T207, T9, T210, qs84_in_a(T213))
U31_aa(T207, T9, T210, qs84_out_a(T213)) → U32_aa(T207, T9, app43_in_gaga(T210, T207, T213, T9))
app43_in_gaga([], T157, T158, .(T157, T158)) → app43_out_gaga([], T157, T158, .(T157, T158))
app43_in_gaga(.(T169, T170), T171, T172, .(T169, T174)) → U13_gaga(T169, T170, T171, T172, T174, app43_in_gaga(T170, T171, T172, T174))
U13_gaga(T169, T170, T171, T172, T174, app43_out_gaga(T170, T171, T172, T174)) → app43_out_gaga(.(T169, T170), T171, T172, .(T169, T174))
U32_aa(T207, T9, app43_out_gaga(T210, T207, T213, T9)) → qs1_out_aa(.(T207, []), T9)
U20_aa(T22, T23, T24, T9, qs1_out_aa(.(T23, T45), X14)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U21_aa(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_aa(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_aa(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
p41_in_aaaga(T46, X15, T95, T22, T9) → U14_aaaga(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
U14_aaaga(T46, X15, T95, T22, T9, qs42_out_aa(T46, X15)) → p41_out_aaaga(T46, X15, T95, T22, T9)
p41_in_aaaga(T46, T98, T95, T22, T9) → U15_aaaga(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_aaaga(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_aaaga(T46, T98, T95, T22, T9, app43_in_agaa(T95, T22, T98, T9))
app43_in_agaa([], T157, T158, .(T157, T158)) → app43_out_agaa([], T157, T158, .(T157, T158))
app43_in_agaa(.(T169, T170), T171, T172, .(T169, T174)) → U13_agaa(T169, T170, T171, T172, T174, app43_in_agaa(T170, T171, T172, T174))
U13_agaa(T169, T170, T171, T172, T174, app43_out_agaa(T170, T171, T172, T174)) → app43_out_agaa(.(T169, T170), T171, T172, .(T169, T174))
U16_aaaga(T46, T98, T95, T22, T9, app43_out_agaa(T95, T22, T98, T9)) → p41_out_aaaga(T46, T98, T95, T22, T9)
U22_aa(T22, T23, T24, T9, p41_out_aaaga(T46, X15, T95, T22, T9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U20_ga(T22, T23, T24, T9, qs1_out_aa(.(T23, T45), X14)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U21_ga(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_ga(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_ga(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
U22_ga(T22, T23, T24, T9, p41_out_aaaga(T46, X15, T95, T22, T9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
qs1_in_ga(.(T191, .(T192, T193)), T9) → U23_ga(T191, T192, T193, T9, part24_in_ggaa(T191, T193, X336, X337))
U23_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, X336, X337)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
qs1_in_ga(.(T191, .(T192, T193)), T9) → U24_ga(T191, T192, T193, T9, part24_in_ggaa(T191, T193, T197, T198))
U24_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U25_ga(T191, T192, T193, T9, qs42_in_aa(T197, X14))
U25_ga(T191, T192, T193, T9, qs42_out_aa(T197, X14)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
U24_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U26_ga(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_ga(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_ga(T191, T192, T193, T9, p41_in_aaaga(.(T192, T198), X15, T202, T191, T9))
U27_ga(T191, T192, T193, T9, p41_out_aaaga(.(T192, T198), X15, T202, T191, T9)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
qs1_in_ga(.(T207, []), T9) → U28_ga(T207, T9, qs84_in_a(X14))
U28_ga(T207, T9, qs84_out_a(X14)) → qs1_out_ga(.(T207, []), T9)
qs1_in_ga(.(T207, []), T9) → U29_ga(T207, T9, qs84_in_a(T210))
U29_ga(T207, T9, qs84_out_a(T210)) → U30_ga(T207, T9, qs84_in_a(X15))
U30_ga(T207, T9, qs84_out_a(X15)) → qs1_out_ga(.(T207, []), T9)
U29_ga(T207, T9, qs84_out_a(T210)) → U31_ga(T207, T9, T210, qs84_in_a(T213))
U31_ga(T207, T9, T210, qs84_out_a(T213)) → U32_ga(T207, T9, app43_in_ggga(T210, T207, T213, T9))
app43_in_ggga([], T157, T158, .(T157, T158)) → app43_out_ggga([], T157, T158, .(T157, T158))
app43_in_ggga(.(T169, T170), T171, T172, .(T169, T174)) → U13_ggga(T169, T170, T171, T172, T174, app43_in_ggga(T170, T171, T172, T174))
U13_ggga(T169, T170, T171, T172, T174, app43_out_ggga(T170, T171, T172, T174)) → app43_out_ggga(.(T169, T170), T171, T172, .(T169, T174))
U32_ga(T207, T9, app43_out_ggga(T210, T207, T213, T9)) → qs1_out_ga(.(T207, []), T9)

The argument filtering Pi contains the following mapping:
qs1_in_ga(x1, x2)  =  qs1_in_ga(x1)
[]  =  []
qs1_out_ga(x1, x2)  =  qs1_out_ga(x1)
.(x1, x2)  =  .(x1, x2)
U17_ga(x1, x2, x3, x4, x5)  =  U17_ga(x1, x2, x3, x5)
less14_in_gg(x1, x2)  =  less14_in_gg(x1, x2)
0  =  0
s(x1)  =  s(x1)
less14_out_gg(x1, x2)  =  less14_out_gg(x1, x2)
U1_gg(x1, x2, x3)  =  U1_gg(x1, x2, x3)
U18_ga(x1, x2, x3, x4, x5)  =  U18_ga(x1, x2, x3, x5)
part24_in_ggaa(x1, x2, x3, x4)  =  part24_in_ggaa(x1, x2)
U2_ggaa(x1, x2, x3, x4, x5, x6)  =  U2_ggaa(x1, x2, x3, x6)
part24_out_ggaa(x1, x2, x3, x4)  =  part24_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)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x2, x3, x5)
U20_ga(x1, x2, x3, x4, x5)  =  U20_ga(x1, x2, x3, x5)
qs1_in_aa(x1, x2)  =  qs1_in_aa
qs1_out_aa(x1, x2)  =  qs1_out_aa
U17_aa(x1, x2, x3, x4, x5)  =  U17_aa(x5)
less14_in_aa(x1, x2)  =  less14_in_aa
less14_out_aa(x1, x2)  =  less14_out_aa(x1)
U1_aa(x1, x2, x3)  =  U1_aa(x3)
U18_aa(x1, x2, x3, x4, x5)  =  U18_aa(x5)
part24_in_gaaa(x1, x2, x3, x4)  =  part24_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x1, x6)
less14_in_ga(x1, x2)  =  less14_in_ga(x1)
less14_out_ga(x1, x2)  =  less14_out_ga(x1)
U1_ga(x1, x2, x3)  =  U1_ga(x1, x3)
part24_out_gaaa(x1, x2, x3, x4)  =  part24_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)
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(x1, x5)
U20_aa(x1, x2, x3, x4, x5)  =  U20_aa(x5)
U23_aa(x1, x2, x3, x4, x5)  =  U23_aa(x5)
part24_in_aaaa(x1, x2, x3, x4)  =  part24_in_aaaa
U2_aaaa(x1, x2, x3, x4, x5, x6)  =  U2_aaaa(x6)
part24_out_aaaa(x1, x2, x3, x4)  =  part24_out_aaaa
U3_aaaa(x1, x2, x3, x4, x5, x6)  =  U3_aaaa(x6)
U4_aaaa(x1, x2, x3, x4, x5, x6)  =  U4_aaaa(x6)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
qs42_in_aa(x1, x2)  =  qs42_in_aa
qs42_out_aa(x1, x2)  =  qs42_out_aa
U5_aa(x1, x2, x3, x4)  =  U5_aa(x4)
U6_aa(x1, x2, x3, x4)  =  U6_aa(x4)
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
U8_aa(x1, x2, x3, x4, x5)  =  U8_aa(x5)
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)
app57_in_aaaa(x1, x2, x3, x4)  =  app57_in_aaaa
app57_out_aaaa(x1, x2, x3, x4)  =  app57_out_aaaa
U12_aaaa(x1, x2, x3, x4, x5, x6)  =  U12_aaaa(x6)
U26_aa(x1, x2, x3, x4, x5, x6)  =  U26_aa(x6)
U27_aa(x1, x2, x3, x4, x5)  =  U27_aa(x5)
p41_in_aaaaa(x1, x2, x3, x4, x5)  =  p41_in_aaaaa
U14_aaaaa(x1, x2, x3, x4, x5, x6)  =  U14_aaaaa(x6)
p41_out_aaaaa(x1, x2, x3, x4, x5)  =  p41_out_aaaaa
U15_aaaaa(x1, x2, x3, x4, x5, x6)  =  U15_aaaaa(x6)
U16_aaaaa(x1, x2, x3, x4, x5, x6)  =  U16_aaaaa(x6)
app43_in_aaaa(x1, x2, x3, x4)  =  app43_in_aaaa
app43_out_aaaa(x1, x2, x3, x4)  =  app43_out_aaaa
U13_aaaa(x1, x2, x3, x4, x5, x6)  =  U13_aaaa(x6)
U28_aa(x1, x2, x3)  =  U28_aa(x3)
qs84_in_a(x1)  =  qs84_in_a
qs84_out_a(x1)  =  qs84_out_a(x1)
U29_aa(x1, x2, x3)  =  U29_aa(x3)
U30_aa(x1, x2, x3)  =  U30_aa(x3)
U31_aa(x1, x2, x3, x4)  =  U31_aa(x3, x4)
U32_aa(x1, x2, x3)  =  U32_aa(x3)
app43_in_gaga(x1, x2, x3, x4)  =  app43_in_gaga(x1, x3)
app43_out_gaga(x1, x2, x3, x4)  =  app43_out_gaga(x1, x3)
U13_gaga(x1, x2, x3, x4, x5, x6)  =  U13_gaga(x1, x2, x4, x6)
U21_aa(x1, x2, x3, x4, x5, x6)  =  U21_aa(x1, x6)
U22_aa(x1, x2, x3, x4, x5)  =  U22_aa(x5)
p41_in_aaaga(x1, x2, x3, x4, x5)  =  p41_in_aaaga(x4)
U14_aaaga(x1, x2, x3, x4, x5, x6)  =  U14_aaaga(x4, x6)
p41_out_aaaga(x1, x2, x3, x4, x5)  =  p41_out_aaaga(x4)
U15_aaaga(x1, x2, x3, x4, x5, x6)  =  U15_aaaga(x4, x6)
U16_aaaga(x1, x2, x3, x4, x5, x6)  =  U16_aaaga(x4, x6)
app43_in_agaa(x1, x2, x3, x4)  =  app43_in_agaa(x2)
app43_out_agaa(x1, x2, x3, x4)  =  app43_out_agaa(x2)
U13_agaa(x1, x2, x3, x4, x5, x6)  =  U13_agaa(x3, x6)
U21_ga(x1, x2, x3, x4, x5, x6)  =  U21_ga(x1, x2, x3, x6)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x1, x2, x3, x5)
U23_ga(x1, x2, x3, x4, x5)  =  U23_ga(x1, x2, x3, x5)
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, x6)  =  U26_ga(x1, x2, x3, x6)
U27_ga(x1, x2, x3, x4, x5)  =  U27_ga(x1, x2, x3, x5)
U28_ga(x1, x2, x3)  =  U28_ga(x1, x3)
U29_ga(x1, x2, x3)  =  U29_ga(x1, x3)
U30_ga(x1, x2, x3)  =  U30_ga(x1, x3)
U31_ga(x1, x2, x3, x4)  =  U31_ga(x1, x3, x4)
U32_ga(x1, x2, x3)  =  U32_ga(x1, x3)
app43_in_ggga(x1, x2, x3, x4)  =  app43_in_ggga(x1, x2, x3)
app43_out_ggga(x1, x2, x3, x4)  =  app43_out_ggga(x1, x2, x3, x4)
U13_ggga(x1, x2, x3, x4, x5, x6)  =  U13_ggga(x1, x2, x3, x4, x6)
PART24_IN_GAAA(x1, x2, x3, x4)  =  PART24_IN_GAAA(x1)
U2_GAAA(x1, x2, x3, x4, x5, x6)  =  U2_GAAA(x1, x6)

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:

U2_GAAA(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → PART24_IN_GAAA(T62, T64, X126, X127)
PART24_IN_GAAA(T62, .(T63, T64), .(T63, X126), X127) → U2_GAAA(T62, T63, T64, X126, X127, less14_in_ga(T62, T63))
PART24_IN_GAAA(T84, .(T85, T86), X177, .(T85, X178)) → PART24_IN_GAAA(T84, T86, X177, X178)

The TRS R consists of the following rules:

less14_in_ga(0, s(T33)) → less14_out_ga(0, s(T33))
less14_in_ga(s(T38), s(T39)) → U1_ga(T38, T39, less14_in_ga(T38, T39))
U1_ga(T38, T39, less14_out_ga(T38, T39)) → less14_out_ga(s(T38), s(T39))

The argument filtering Pi contains the following mapping:
.(x1, x2)  =  .(x1, x2)
0  =  0
s(x1)  =  s(x1)
less14_in_ga(x1, x2)  =  less14_in_ga(x1)
less14_out_ga(x1, x2)  =  less14_out_ga(x1)
U1_ga(x1, x2, x3)  =  U1_ga(x1, x3)
PART24_IN_GAAA(x1, x2, x3, x4)  =  PART24_IN_GAAA(x1)
U2_GAAA(x1, x2, x3, x4, x5, x6)  =  U2_GAAA(x1, x6)

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:

U2_GAAA(T62, less14_out_ga(T62)) → PART24_IN_GAAA(T62)
PART24_IN_GAAA(T62) → U2_GAAA(T62, less14_in_ga(T62))
PART24_IN_GAAA(T84) → PART24_IN_GAAA(T84)

The TRS R consists of the following rules:

less14_in_ga(0) → less14_out_ga(0)
less14_in_ga(s(T38)) → U1_ga(T38, less14_in_ga(T38))
U1_ga(T38, less14_out_ga(T38)) → less14_out_ga(s(T38))

The set Q consists of the following terms:

less14_in_ga(x0)
U1_ga(x0, x1)

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

(165) Narrowing (SOUND transformation)

By narrowing [LPAR04] the rule PART24_IN_GAAA(T62) → U2_GAAA(T62, less14_in_ga(T62)) at position [1] we obtained the following new rules [LPAR04]:

PART24_IN_GAAA(0) → U2_GAAA(0, less14_out_ga(0))
PART24_IN_GAAA(s(x0)) → U2_GAAA(s(x0), U1_ga(x0, less14_in_ga(x0)))

(166) Obligation:

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

U2_GAAA(T62, less14_out_ga(T62)) → PART24_IN_GAAA(T62)
PART24_IN_GAAA(T84) → PART24_IN_GAAA(T84)
PART24_IN_GAAA(0) → U2_GAAA(0, less14_out_ga(0))
PART24_IN_GAAA(s(x0)) → U2_GAAA(s(x0), U1_ga(x0, less14_in_ga(x0)))

The TRS R consists of the following rules:

less14_in_ga(0) → less14_out_ga(0)
less14_in_ga(s(T38)) → U1_ga(T38, less14_in_ga(T38))
U1_ga(T38, less14_out_ga(T38)) → less14_out_ga(s(T38))

The set Q consists of the following terms:

less14_in_ga(x0)
U1_ga(x0, x1)

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

(167) Instantiation (EQUIVALENT transformation)

By instantiating [LPAR04] the rule U2_GAAA(T62, less14_out_ga(T62)) → PART24_IN_GAAA(T62) we obtained the following new rules [LPAR04]:

U2_GAAA(0, less14_out_ga(0)) → PART24_IN_GAAA(0)
U2_GAAA(s(z0), less14_out_ga(s(z0))) → PART24_IN_GAAA(s(z0))

(168) Obligation:

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

PART24_IN_GAAA(T84) → PART24_IN_GAAA(T84)
PART24_IN_GAAA(0) → U2_GAAA(0, less14_out_ga(0))
PART24_IN_GAAA(s(x0)) → U2_GAAA(s(x0), U1_ga(x0, less14_in_ga(x0)))
U2_GAAA(0, less14_out_ga(0)) → PART24_IN_GAAA(0)
U2_GAAA(s(z0), less14_out_ga(s(z0))) → PART24_IN_GAAA(s(z0))

The TRS R consists of the following rules:

less14_in_ga(0) → less14_out_ga(0)
less14_in_ga(s(T38)) → U1_ga(T38, less14_in_ga(T38))
U1_ga(T38, less14_out_ga(T38)) → less14_out_ga(s(T38))

The set Q consists of the following terms:

less14_in_ga(x0)
U1_ga(x0, x1)

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

(169) 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 = PART24_IN_GAAA(T84) evaluates to t =PART24_IN_GAAA(T84)

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 PART24_IN_GAAA(T84) to PART24_IN_GAAA(T84).



(170) NO

(171) Obligation:

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

LESS14_IN_AA(s(T38), s(T39)) → LESS14_IN_AA(T38, T39)

The TRS R consists of the following rules:

qs1_in_ga([], []) → qs1_out_ga([], [])
qs1_in_ga(.(T22, .(T23, T24)), T9) → U17_ga(T22, T23, T24, T9, less14_in_gg(T22, T23))
less14_in_gg(0, s(T33)) → less14_out_gg(0, s(T33))
less14_in_gg(s(T38), s(T39)) → U1_gg(T38, T39, less14_in_gg(T38, T39))
U1_gg(T38, T39, less14_out_gg(T38, T39)) → less14_out_gg(s(T38), s(T39))
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U18_ga(T22, T23, T24, T9, part24_in_ggaa(T22, T24, X52, X53))
part24_in_ggaa(T62, .(T63, T64), .(T63, X126), X127) → U2_ggaa(T62, T63, T64, X126, X127, less14_in_gg(T62, T63))
U2_ggaa(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → part24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
U2_ggaa(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → U3_ggaa(T62, T63, T64, X126, X127, part24_in_ggaa(T62, T64, X126, X127))
part24_in_ggaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_ggaa(T84, T85, T86, X177, X178, part24_in_ggaa(T84, T86, X177, X178))
part24_in_ggaa(T92, [], [], []) → part24_out_ggaa(T92, [], [], [])
U4_ggaa(T84, T85, T86, X177, X178, part24_out_ggaa(T84, T86, X177, X178)) → part24_out_ggaa(T84, .(T85, T86), X177, .(T85, X178))
U3_ggaa(T62, T63, T64, X126, X127, part24_out_ggaa(T62, T64, X126, X127)) → part24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
U18_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, X52, X53)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U19_ga(T22, T23, T24, T9, part24_in_ggaa(T22, T24, T45, T46))
U19_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U20_ga(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
qs1_in_aa([], []) → qs1_out_aa([], [])
qs1_in_aa(.(T22, .(T23, T24)), T9) → U17_aa(T22, T23, T24, T9, less14_in_aa(T22, T23))
less14_in_aa(0, s(T33)) → less14_out_aa(0, s(T33))
less14_in_aa(s(T38), s(T39)) → U1_aa(T38, T39, less14_in_aa(T38, T39))
U1_aa(T38, T39, less14_out_aa(T38, T39)) → less14_out_aa(s(T38), s(T39))
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U18_aa(T22, T23, T24, T9, part24_in_gaaa(T22, T24, X52, X53))
part24_in_gaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_gaaa(T62, T63, T64, X126, X127, less14_in_ga(T62, T63))
less14_in_ga(0, s(T33)) → less14_out_ga(0, s(T33))
less14_in_ga(s(T38), s(T39)) → U1_ga(T38, T39, less14_in_ga(T38, T39))
U1_ga(T38, T39, less14_out_ga(T38, T39)) → less14_out_ga(s(T38), s(T39))
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → U3_gaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
part24_in_gaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_gaaa(T84, T85, T86, X177, X178, part24_in_gaaa(T84, T86, X177, X178))
part24_in_gaaa(T92, [], [], []) → part24_out_gaaa(T92, [], [], [])
U4_gaaa(T84, T85, T86, X177, X178, part24_out_gaaa(T84, T86, X177, X178)) → part24_out_gaaa(T84, .(T85, T86), X177, .(T85, X178))
U3_gaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U18_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, X52, X53)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U19_aa(T22, T23, T24, T9, part24_in_gaaa(T22, T24, T45, T46))
U19_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U20_aa(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
qs1_in_aa(.(T191, .(T192, T193)), T9) → U23_aa(T191, T192, T193, T9, part24_in_aaaa(T191, T193, X336, X337))
part24_in_aaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_aaaa(T62, T63, T64, X126, X127, less14_in_aa(T62, T63))
U2_aaaa(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → part24_out_aaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_aaaa(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → U3_aaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
U3_aaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_aaaa(T62, .(T63, T64), .(T63, X126), X127)
part24_in_aaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_aaaa(T84, T85, T86, X177, X178, part24_in_aaaa(T84, T86, X177, X178))
part24_in_aaaa(T92, [], [], []) → part24_out_aaaa(T92, [], [], [])
U4_aaaa(T84, T85, T86, X177, X178, part24_out_aaaa(T84, T86, X177, X178)) → part24_out_aaaa(T84, .(T85, T86), X177, .(T85, X178))
U23_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, X336, X337)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
qs1_in_aa(.(T191, .(T192, T193)), T9) → U24_aa(T191, T192, T193, T9, part24_in_aaaa(T191, T193, T197, T198))
U24_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U25_aa(T191, T192, T193, T9, qs42_in_aa(T197, X14))
qs42_in_aa([], []) → qs42_out_aa([], [])
qs42_in_aa(.(T103, T104), X230) → U5_aa(T103, T104, X230, part24_in_aaaa(T103, T104, X226, X227))
U5_aa(T103, T104, X230, part24_out_aaaa(T103, T104, X226, X227)) → qs42_out_aa(.(T103, T104), X230)
qs42_in_aa(.(T103, T104), X230) → U6_aa(T103, T104, X230, part24_in_aaaa(T103, T104, T108, T109))
U6_aa(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U7_aa(T103, T104, X230, qs42_in_aa(T108, X228))
U7_aa(T103, T104, X230, qs42_out_aa(T108, X228)) → qs42_out_aa(.(T103, T104), X230)
U6_aa(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U8_aa(T103, T104, X230, T109, qs42_in_aa(T108, T113))
U8_aa(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U9_aa(T103, T104, X230, qs42_in_aa(T109, X229))
U9_aa(T103, T104, X230, qs42_out_aa(T109, X229)) → qs42_out_aa(.(T103, T104), X230)
U8_aa(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U10_aa(T103, T104, X230, T113, qs42_in_aa(T109, T114))
U10_aa(T103, T104, X230, T113, qs42_out_aa(T109, T114)) → U11_aa(T103, T104, X230, app57_in_aaaa(T113, T103, T114, X230))
app57_in_aaaa([], T127, T128, .(T127, T128)) → app57_out_aaaa([], T127, T128, .(T127, T128))
app57_in_aaaa(.(T137, T138), T139, T140, .(T137, X270)) → U12_aaaa(T137, T138, T139, T140, X270, app57_in_aaaa(T138, T139, T140, X270))
U12_aaaa(T137, T138, T139, T140, X270, app57_out_aaaa(T138, T139, T140, X270)) → app57_out_aaaa(.(T137, T138), T139, T140, .(T137, X270))
U11_aa(T103, T104, X230, app57_out_aaaa(T113, T103, T114, X230)) → qs42_out_aa(.(T103, T104), X230)
U25_aa(T191, T192, T193, T9, qs42_out_aa(T197, X14)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
U24_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U26_aa(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_aa(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_aa(T191, T192, T193, T9, p41_in_aaaaa(.(T192, T198), X15, T202, T191, T9))
p41_in_aaaaa(T46, X15, T95, T22, T9) → U14_aaaaa(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
U14_aaaaa(T46, X15, T95, T22, T9, qs42_out_aa(T46, X15)) → p41_out_aaaaa(T46, X15, T95, T22, T9)
p41_in_aaaaa(T46, T98, T95, T22, T9) → U15_aaaaa(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_aaaaa(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_aaaaa(T46, T98, T95, T22, T9, app43_in_aaaa(T95, T22, T98, T9))
app43_in_aaaa([], T157, T158, .(T157, T158)) → app43_out_aaaa([], T157, T158, .(T157, T158))
app43_in_aaaa(.(T169, T170), T171, T172, .(T169, T174)) → U13_aaaa(T169, T170, T171, T172, T174, app43_in_aaaa(T170, T171, T172, T174))
U13_aaaa(T169, T170, T171, T172, T174, app43_out_aaaa(T170, T171, T172, T174)) → app43_out_aaaa(.(T169, T170), T171, T172, .(T169, T174))
U16_aaaaa(T46, T98, T95, T22, T9, app43_out_aaaa(T95, T22, T98, T9)) → p41_out_aaaaa(T46, T98, T95, T22, T9)
U27_aa(T191, T192, T193, T9, p41_out_aaaaa(.(T192, T198), X15, T202, T191, T9)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
qs1_in_aa(.(T207, []), T9) → U28_aa(T207, T9, qs84_in_a(X14))
qs84_in_a([]) → qs84_out_a([])
U28_aa(T207, T9, qs84_out_a(X14)) → qs1_out_aa(.(T207, []), T9)
qs1_in_aa(.(T207, []), T9) → U29_aa(T207, T9, qs84_in_a(T210))
U29_aa(T207, T9, qs84_out_a(T210)) → U30_aa(T207, T9, qs84_in_a(X15))
U30_aa(T207, T9, qs84_out_a(X15)) → qs1_out_aa(.(T207, []), T9)
U29_aa(T207, T9, qs84_out_a(T210)) → U31_aa(T207, T9, T210, qs84_in_a(T213))
U31_aa(T207, T9, T210, qs84_out_a(T213)) → U32_aa(T207, T9, app43_in_gaga(T210, T207, T213, T9))
app43_in_gaga([], T157, T158, .(T157, T158)) → app43_out_gaga([], T157, T158, .(T157, T158))
app43_in_gaga(.(T169, T170), T171, T172, .(T169, T174)) → U13_gaga(T169, T170, T171, T172, T174, app43_in_gaga(T170, T171, T172, T174))
U13_gaga(T169, T170, T171, T172, T174, app43_out_gaga(T170, T171, T172, T174)) → app43_out_gaga(.(T169, T170), T171, T172, .(T169, T174))
U32_aa(T207, T9, app43_out_gaga(T210, T207, T213, T9)) → qs1_out_aa(.(T207, []), T9)
U20_aa(T22, T23, T24, T9, qs1_out_aa(.(T23, T45), X14)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U21_aa(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_aa(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_aa(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
p41_in_aaaga(T46, X15, T95, T22, T9) → U14_aaaga(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
U14_aaaga(T46, X15, T95, T22, T9, qs42_out_aa(T46, X15)) → p41_out_aaaga(T46, X15, T95, T22, T9)
p41_in_aaaga(T46, T98, T95, T22, T9) → U15_aaaga(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_aaaga(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_aaaga(T46, T98, T95, T22, T9, app43_in_agaa(T95, T22, T98, T9))
app43_in_agaa([], T157, T158, .(T157, T158)) → app43_out_agaa([], T157, T158, .(T157, T158))
app43_in_agaa(.(T169, T170), T171, T172, .(T169, T174)) → U13_agaa(T169, T170, T171, T172, T174, app43_in_agaa(T170, T171, T172, T174))
U13_agaa(T169, T170, T171, T172, T174, app43_out_agaa(T170, T171, T172, T174)) → app43_out_agaa(.(T169, T170), T171, T172, .(T169, T174))
U16_aaaga(T46, T98, T95, T22, T9, app43_out_agaa(T95, T22, T98, T9)) → p41_out_aaaga(T46, T98, T95, T22, T9)
U22_aa(T22, T23, T24, T9, p41_out_aaaga(T46, X15, T95, T22, T9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U20_ga(T22, T23, T24, T9, qs1_out_aa(.(T23, T45), X14)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U21_ga(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_ga(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_ga(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
U22_ga(T22, T23, T24, T9, p41_out_aaaga(T46, X15, T95, T22, T9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
qs1_in_ga(.(T191, .(T192, T193)), T9) → U23_ga(T191, T192, T193, T9, part24_in_ggaa(T191, T193, X336, X337))
U23_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, X336, X337)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
qs1_in_ga(.(T191, .(T192, T193)), T9) → U24_ga(T191, T192, T193, T9, part24_in_ggaa(T191, T193, T197, T198))
U24_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U25_ga(T191, T192, T193, T9, qs42_in_aa(T197, X14))
U25_ga(T191, T192, T193, T9, qs42_out_aa(T197, X14)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
U24_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U26_ga(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_ga(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_ga(T191, T192, T193, T9, p41_in_aaaga(.(T192, T198), X15, T202, T191, T9))
U27_ga(T191, T192, T193, T9, p41_out_aaaga(.(T192, T198), X15, T202, T191, T9)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
qs1_in_ga(.(T207, []), T9) → U28_ga(T207, T9, qs84_in_a(X14))
U28_ga(T207, T9, qs84_out_a(X14)) → qs1_out_ga(.(T207, []), T9)
qs1_in_ga(.(T207, []), T9) → U29_ga(T207, T9, qs84_in_a(T210))
U29_ga(T207, T9, qs84_out_a(T210)) → U30_ga(T207, T9, qs84_in_a(X15))
U30_ga(T207, T9, qs84_out_a(X15)) → qs1_out_ga(.(T207, []), T9)
U29_ga(T207, T9, qs84_out_a(T210)) → U31_ga(T207, T9, T210, qs84_in_a(T213))
U31_ga(T207, T9, T210, qs84_out_a(T213)) → U32_ga(T207, T9, app43_in_ggga(T210, T207, T213, T9))
app43_in_ggga([], T157, T158, .(T157, T158)) → app43_out_ggga([], T157, T158, .(T157, T158))
app43_in_ggga(.(T169, T170), T171, T172, .(T169, T174)) → U13_ggga(T169, T170, T171, T172, T174, app43_in_ggga(T170, T171, T172, T174))
U13_ggga(T169, T170, T171, T172, T174, app43_out_ggga(T170, T171, T172, T174)) → app43_out_ggga(.(T169, T170), T171, T172, .(T169, T174))
U32_ga(T207, T9, app43_out_ggga(T210, T207, T213, T9)) → qs1_out_ga(.(T207, []), T9)

The argument filtering Pi contains the following mapping:
qs1_in_ga(x1, x2)  =  qs1_in_ga(x1)
[]  =  []
qs1_out_ga(x1, x2)  =  qs1_out_ga(x1)
.(x1, x2)  =  .(x1, x2)
U17_ga(x1, x2, x3, x4, x5)  =  U17_ga(x1, x2, x3, x5)
less14_in_gg(x1, x2)  =  less14_in_gg(x1, x2)
0  =  0
s(x1)  =  s(x1)
less14_out_gg(x1, x2)  =  less14_out_gg(x1, x2)
U1_gg(x1, x2, x3)  =  U1_gg(x1, x2, x3)
U18_ga(x1, x2, x3, x4, x5)  =  U18_ga(x1, x2, x3, x5)
part24_in_ggaa(x1, x2, x3, x4)  =  part24_in_ggaa(x1, x2)
U2_ggaa(x1, x2, x3, x4, x5, x6)  =  U2_ggaa(x1, x2, x3, x6)
part24_out_ggaa(x1, x2, x3, x4)  =  part24_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)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x2, x3, x5)
U20_ga(x1, x2, x3, x4, x5)  =  U20_ga(x1, x2, x3, x5)
qs1_in_aa(x1, x2)  =  qs1_in_aa
qs1_out_aa(x1, x2)  =  qs1_out_aa
U17_aa(x1, x2, x3, x4, x5)  =  U17_aa(x5)
less14_in_aa(x1, x2)  =  less14_in_aa
less14_out_aa(x1, x2)  =  less14_out_aa(x1)
U1_aa(x1, x2, x3)  =  U1_aa(x3)
U18_aa(x1, x2, x3, x4, x5)  =  U18_aa(x5)
part24_in_gaaa(x1, x2, x3, x4)  =  part24_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x1, x6)
less14_in_ga(x1, x2)  =  less14_in_ga(x1)
less14_out_ga(x1, x2)  =  less14_out_ga(x1)
U1_ga(x1, x2, x3)  =  U1_ga(x1, x3)
part24_out_gaaa(x1, x2, x3, x4)  =  part24_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)
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(x1, x5)
U20_aa(x1, x2, x3, x4, x5)  =  U20_aa(x5)
U23_aa(x1, x2, x3, x4, x5)  =  U23_aa(x5)
part24_in_aaaa(x1, x2, x3, x4)  =  part24_in_aaaa
U2_aaaa(x1, x2, x3, x4, x5, x6)  =  U2_aaaa(x6)
part24_out_aaaa(x1, x2, x3, x4)  =  part24_out_aaaa
U3_aaaa(x1, x2, x3, x4, x5, x6)  =  U3_aaaa(x6)
U4_aaaa(x1, x2, x3, x4, x5, x6)  =  U4_aaaa(x6)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
qs42_in_aa(x1, x2)  =  qs42_in_aa
qs42_out_aa(x1, x2)  =  qs42_out_aa
U5_aa(x1, x2, x3, x4)  =  U5_aa(x4)
U6_aa(x1, x2, x3, x4)  =  U6_aa(x4)
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
U8_aa(x1, x2, x3, x4, x5)  =  U8_aa(x5)
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)
app57_in_aaaa(x1, x2, x3, x4)  =  app57_in_aaaa
app57_out_aaaa(x1, x2, x3, x4)  =  app57_out_aaaa
U12_aaaa(x1, x2, x3, x4, x5, x6)  =  U12_aaaa(x6)
U26_aa(x1, x2, x3, x4, x5, x6)  =  U26_aa(x6)
U27_aa(x1, x2, x3, x4, x5)  =  U27_aa(x5)
p41_in_aaaaa(x1, x2, x3, x4, x5)  =  p41_in_aaaaa
U14_aaaaa(x1, x2, x3, x4, x5, x6)  =  U14_aaaaa(x6)
p41_out_aaaaa(x1, x2, x3, x4, x5)  =  p41_out_aaaaa
U15_aaaaa(x1, x2, x3, x4, x5, x6)  =  U15_aaaaa(x6)
U16_aaaaa(x1, x2, x3, x4, x5, x6)  =  U16_aaaaa(x6)
app43_in_aaaa(x1, x2, x3, x4)  =  app43_in_aaaa
app43_out_aaaa(x1, x2, x3, x4)  =  app43_out_aaaa
U13_aaaa(x1, x2, x3, x4, x5, x6)  =  U13_aaaa(x6)
U28_aa(x1, x2, x3)  =  U28_aa(x3)
qs84_in_a(x1)  =  qs84_in_a
qs84_out_a(x1)  =  qs84_out_a(x1)
U29_aa(x1, x2, x3)  =  U29_aa(x3)
U30_aa(x1, x2, x3)  =  U30_aa(x3)
U31_aa(x1, x2, x3, x4)  =  U31_aa(x3, x4)
U32_aa(x1, x2, x3)  =  U32_aa(x3)
app43_in_gaga(x1, x2, x3, x4)  =  app43_in_gaga(x1, x3)
app43_out_gaga(x1, x2, x3, x4)  =  app43_out_gaga(x1, x3)
U13_gaga(x1, x2, x3, x4, x5, x6)  =  U13_gaga(x1, x2, x4, x6)
U21_aa(x1, x2, x3, x4, x5, x6)  =  U21_aa(x1, x6)
U22_aa(x1, x2, x3, x4, x5)  =  U22_aa(x5)
p41_in_aaaga(x1, x2, x3, x4, x5)  =  p41_in_aaaga(x4)
U14_aaaga(x1, x2, x3, x4, x5, x6)  =  U14_aaaga(x4, x6)
p41_out_aaaga(x1, x2, x3, x4, x5)  =  p41_out_aaaga(x4)
U15_aaaga(x1, x2, x3, x4, x5, x6)  =  U15_aaaga(x4, x6)
U16_aaaga(x1, x2, x3, x4, x5, x6)  =  U16_aaaga(x4, x6)
app43_in_agaa(x1, x2, x3, x4)  =  app43_in_agaa(x2)
app43_out_agaa(x1, x2, x3, x4)  =  app43_out_agaa(x2)
U13_agaa(x1, x2, x3, x4, x5, x6)  =  U13_agaa(x3, x6)
U21_ga(x1, x2, x3, x4, x5, x6)  =  U21_ga(x1, x2, x3, x6)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x1, x2, x3, x5)
U23_ga(x1, x2, x3, x4, x5)  =  U23_ga(x1, x2, x3, x5)
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, x6)  =  U26_ga(x1, x2, x3, x6)
U27_ga(x1, x2, x3, x4, x5)  =  U27_ga(x1, x2, x3, x5)
U28_ga(x1, x2, x3)  =  U28_ga(x1, x3)
U29_ga(x1, x2, x3)  =  U29_ga(x1, x3)
U30_ga(x1, x2, x3)  =  U30_ga(x1, x3)
U31_ga(x1, x2, x3, x4)  =  U31_ga(x1, x3, x4)
U32_ga(x1, x2, x3)  =  U32_ga(x1, x3)
app43_in_ggga(x1, x2, x3, x4)  =  app43_in_ggga(x1, x2, x3)
app43_out_ggga(x1, x2, x3, x4)  =  app43_out_ggga(x1, x2, x3, x4)
U13_ggga(x1, x2, x3, x4, x5, x6)  =  U13_ggga(x1, x2, x3, x4, x6)
LESS14_IN_AA(x1, x2)  =  LESS14_IN_AA

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

(172) UsableRulesProof (EQUIVALENT transformation)

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

(173) Obligation:

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

LESS14_IN_AA(s(T38), s(T39)) → LESS14_IN_AA(T38, T39)

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

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

(174) PiDPToQDPProof (SOUND transformation)

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

(175) Obligation:

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

LESS14_IN_AALESS14_IN_AA

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

(176) 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 = LESS14_IN_AA evaluates to t =LESS14_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 LESS14_IN_AA to LESS14_IN_AA.



(177) NO

(178) Obligation:

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

PART24_IN_AAAA(T84, .(T85, T86), X177, .(T85, X178)) → PART24_IN_AAAA(T84, T86, X177, X178)

The TRS R consists of the following rules:

qs1_in_ga([], []) → qs1_out_ga([], [])
qs1_in_ga(.(T22, .(T23, T24)), T9) → U17_ga(T22, T23, T24, T9, less14_in_gg(T22, T23))
less14_in_gg(0, s(T33)) → less14_out_gg(0, s(T33))
less14_in_gg(s(T38), s(T39)) → U1_gg(T38, T39, less14_in_gg(T38, T39))
U1_gg(T38, T39, less14_out_gg(T38, T39)) → less14_out_gg(s(T38), s(T39))
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U18_ga(T22, T23, T24, T9, part24_in_ggaa(T22, T24, X52, X53))
part24_in_ggaa(T62, .(T63, T64), .(T63, X126), X127) → U2_ggaa(T62, T63, T64, X126, X127, less14_in_gg(T62, T63))
U2_ggaa(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → part24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
U2_ggaa(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → U3_ggaa(T62, T63, T64, X126, X127, part24_in_ggaa(T62, T64, X126, X127))
part24_in_ggaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_ggaa(T84, T85, T86, X177, X178, part24_in_ggaa(T84, T86, X177, X178))
part24_in_ggaa(T92, [], [], []) → part24_out_ggaa(T92, [], [], [])
U4_ggaa(T84, T85, T86, X177, X178, part24_out_ggaa(T84, T86, X177, X178)) → part24_out_ggaa(T84, .(T85, T86), X177, .(T85, X178))
U3_ggaa(T62, T63, T64, X126, X127, part24_out_ggaa(T62, T64, X126, X127)) → part24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
U18_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, X52, X53)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U19_ga(T22, T23, T24, T9, part24_in_ggaa(T22, T24, T45, T46))
U19_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U20_ga(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
qs1_in_aa([], []) → qs1_out_aa([], [])
qs1_in_aa(.(T22, .(T23, T24)), T9) → U17_aa(T22, T23, T24, T9, less14_in_aa(T22, T23))
less14_in_aa(0, s(T33)) → less14_out_aa(0, s(T33))
less14_in_aa(s(T38), s(T39)) → U1_aa(T38, T39, less14_in_aa(T38, T39))
U1_aa(T38, T39, less14_out_aa(T38, T39)) → less14_out_aa(s(T38), s(T39))
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U18_aa(T22, T23, T24, T9, part24_in_gaaa(T22, T24, X52, X53))
part24_in_gaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_gaaa(T62, T63, T64, X126, X127, less14_in_ga(T62, T63))
less14_in_ga(0, s(T33)) → less14_out_ga(0, s(T33))
less14_in_ga(s(T38), s(T39)) → U1_ga(T38, T39, less14_in_ga(T38, T39))
U1_ga(T38, T39, less14_out_ga(T38, T39)) → less14_out_ga(s(T38), s(T39))
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → U3_gaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
part24_in_gaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_gaaa(T84, T85, T86, X177, X178, part24_in_gaaa(T84, T86, X177, X178))
part24_in_gaaa(T92, [], [], []) → part24_out_gaaa(T92, [], [], [])
U4_gaaa(T84, T85, T86, X177, X178, part24_out_gaaa(T84, T86, X177, X178)) → part24_out_gaaa(T84, .(T85, T86), X177, .(T85, X178))
U3_gaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U18_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, X52, X53)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U19_aa(T22, T23, T24, T9, part24_in_gaaa(T22, T24, T45, T46))
U19_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U20_aa(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
qs1_in_aa(.(T191, .(T192, T193)), T9) → U23_aa(T191, T192, T193, T9, part24_in_aaaa(T191, T193, X336, X337))
part24_in_aaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_aaaa(T62, T63, T64, X126, X127, less14_in_aa(T62, T63))
U2_aaaa(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → part24_out_aaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_aaaa(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → U3_aaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
U3_aaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_aaaa(T62, .(T63, T64), .(T63, X126), X127)
part24_in_aaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_aaaa(T84, T85, T86, X177, X178, part24_in_aaaa(T84, T86, X177, X178))
part24_in_aaaa(T92, [], [], []) → part24_out_aaaa(T92, [], [], [])
U4_aaaa(T84, T85, T86, X177, X178, part24_out_aaaa(T84, T86, X177, X178)) → part24_out_aaaa(T84, .(T85, T86), X177, .(T85, X178))
U23_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, X336, X337)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
qs1_in_aa(.(T191, .(T192, T193)), T9) → U24_aa(T191, T192, T193, T9, part24_in_aaaa(T191, T193, T197, T198))
U24_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U25_aa(T191, T192, T193, T9, qs42_in_aa(T197, X14))
qs42_in_aa([], []) → qs42_out_aa([], [])
qs42_in_aa(.(T103, T104), X230) → U5_aa(T103, T104, X230, part24_in_aaaa(T103, T104, X226, X227))
U5_aa(T103, T104, X230, part24_out_aaaa(T103, T104, X226, X227)) → qs42_out_aa(.(T103, T104), X230)
qs42_in_aa(.(T103, T104), X230) → U6_aa(T103, T104, X230, part24_in_aaaa(T103, T104, T108, T109))
U6_aa(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U7_aa(T103, T104, X230, qs42_in_aa(T108, X228))
U7_aa(T103, T104, X230, qs42_out_aa(T108, X228)) → qs42_out_aa(.(T103, T104), X230)
U6_aa(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U8_aa(T103, T104, X230, T109, qs42_in_aa(T108, T113))
U8_aa(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U9_aa(T103, T104, X230, qs42_in_aa(T109, X229))
U9_aa(T103, T104, X230, qs42_out_aa(T109, X229)) → qs42_out_aa(.(T103, T104), X230)
U8_aa(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U10_aa(T103, T104, X230, T113, qs42_in_aa(T109, T114))
U10_aa(T103, T104, X230, T113, qs42_out_aa(T109, T114)) → U11_aa(T103, T104, X230, app57_in_aaaa(T113, T103, T114, X230))
app57_in_aaaa([], T127, T128, .(T127, T128)) → app57_out_aaaa([], T127, T128, .(T127, T128))
app57_in_aaaa(.(T137, T138), T139, T140, .(T137, X270)) → U12_aaaa(T137, T138, T139, T140, X270, app57_in_aaaa(T138, T139, T140, X270))
U12_aaaa(T137, T138, T139, T140, X270, app57_out_aaaa(T138, T139, T140, X270)) → app57_out_aaaa(.(T137, T138), T139, T140, .(T137, X270))
U11_aa(T103, T104, X230, app57_out_aaaa(T113, T103, T114, X230)) → qs42_out_aa(.(T103, T104), X230)
U25_aa(T191, T192, T193, T9, qs42_out_aa(T197, X14)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
U24_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U26_aa(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_aa(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_aa(T191, T192, T193, T9, p41_in_aaaaa(.(T192, T198), X15, T202, T191, T9))
p41_in_aaaaa(T46, X15, T95, T22, T9) → U14_aaaaa(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
U14_aaaaa(T46, X15, T95, T22, T9, qs42_out_aa(T46, X15)) → p41_out_aaaaa(T46, X15, T95, T22, T9)
p41_in_aaaaa(T46, T98, T95, T22, T9) → U15_aaaaa(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_aaaaa(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_aaaaa(T46, T98, T95, T22, T9, app43_in_aaaa(T95, T22, T98, T9))
app43_in_aaaa([], T157, T158, .(T157, T158)) → app43_out_aaaa([], T157, T158, .(T157, T158))
app43_in_aaaa(.(T169, T170), T171, T172, .(T169, T174)) → U13_aaaa(T169, T170, T171, T172, T174, app43_in_aaaa(T170, T171, T172, T174))
U13_aaaa(T169, T170, T171, T172, T174, app43_out_aaaa(T170, T171, T172, T174)) → app43_out_aaaa(.(T169, T170), T171, T172, .(T169, T174))
U16_aaaaa(T46, T98, T95, T22, T9, app43_out_aaaa(T95, T22, T98, T9)) → p41_out_aaaaa(T46, T98, T95, T22, T9)
U27_aa(T191, T192, T193, T9, p41_out_aaaaa(.(T192, T198), X15, T202, T191, T9)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
qs1_in_aa(.(T207, []), T9) → U28_aa(T207, T9, qs84_in_a(X14))
qs84_in_a([]) → qs84_out_a([])
U28_aa(T207, T9, qs84_out_a(X14)) → qs1_out_aa(.(T207, []), T9)
qs1_in_aa(.(T207, []), T9) → U29_aa(T207, T9, qs84_in_a(T210))
U29_aa(T207, T9, qs84_out_a(T210)) → U30_aa(T207, T9, qs84_in_a(X15))
U30_aa(T207, T9, qs84_out_a(X15)) → qs1_out_aa(.(T207, []), T9)
U29_aa(T207, T9, qs84_out_a(T210)) → U31_aa(T207, T9, T210, qs84_in_a(T213))
U31_aa(T207, T9, T210, qs84_out_a(T213)) → U32_aa(T207, T9, app43_in_gaga(T210, T207, T213, T9))
app43_in_gaga([], T157, T158, .(T157, T158)) → app43_out_gaga([], T157, T158, .(T157, T158))
app43_in_gaga(.(T169, T170), T171, T172, .(T169, T174)) → U13_gaga(T169, T170, T171, T172, T174, app43_in_gaga(T170, T171, T172, T174))
U13_gaga(T169, T170, T171, T172, T174, app43_out_gaga(T170, T171, T172, T174)) → app43_out_gaga(.(T169, T170), T171, T172, .(T169, T174))
U32_aa(T207, T9, app43_out_gaga(T210, T207, T213, T9)) → qs1_out_aa(.(T207, []), T9)
U20_aa(T22, T23, T24, T9, qs1_out_aa(.(T23, T45), X14)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U21_aa(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_aa(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_aa(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
p41_in_aaaga(T46, X15, T95, T22, T9) → U14_aaaga(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
U14_aaaga(T46, X15, T95, T22, T9, qs42_out_aa(T46, X15)) → p41_out_aaaga(T46, X15, T95, T22, T9)
p41_in_aaaga(T46, T98, T95, T22, T9) → U15_aaaga(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_aaaga(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_aaaga(T46, T98, T95, T22, T9, app43_in_agaa(T95, T22, T98, T9))
app43_in_agaa([], T157, T158, .(T157, T158)) → app43_out_agaa([], T157, T158, .(T157, T158))
app43_in_agaa(.(T169, T170), T171, T172, .(T169, T174)) → U13_agaa(T169, T170, T171, T172, T174, app43_in_agaa(T170, T171, T172, T174))
U13_agaa(T169, T170, T171, T172, T174, app43_out_agaa(T170, T171, T172, T174)) → app43_out_agaa(.(T169, T170), T171, T172, .(T169, T174))
U16_aaaga(T46, T98, T95, T22, T9, app43_out_agaa(T95, T22, T98, T9)) → p41_out_aaaga(T46, T98, T95, T22, T9)
U22_aa(T22, T23, T24, T9, p41_out_aaaga(T46, X15, T95, T22, T9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U20_ga(T22, T23, T24, T9, qs1_out_aa(.(T23, T45), X14)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U21_ga(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_ga(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_ga(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
U22_ga(T22, T23, T24, T9, p41_out_aaaga(T46, X15, T95, T22, T9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
qs1_in_ga(.(T191, .(T192, T193)), T9) → U23_ga(T191, T192, T193, T9, part24_in_ggaa(T191, T193, X336, X337))
U23_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, X336, X337)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
qs1_in_ga(.(T191, .(T192, T193)), T9) → U24_ga(T191, T192, T193, T9, part24_in_ggaa(T191, T193, T197, T198))
U24_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U25_ga(T191, T192, T193, T9, qs42_in_aa(T197, X14))
U25_ga(T191, T192, T193, T9, qs42_out_aa(T197, X14)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
U24_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U26_ga(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_ga(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_ga(T191, T192, T193, T9, p41_in_aaaga(.(T192, T198), X15, T202, T191, T9))
U27_ga(T191, T192, T193, T9, p41_out_aaaga(.(T192, T198), X15, T202, T191, T9)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
qs1_in_ga(.(T207, []), T9) → U28_ga(T207, T9, qs84_in_a(X14))
U28_ga(T207, T9, qs84_out_a(X14)) → qs1_out_ga(.(T207, []), T9)
qs1_in_ga(.(T207, []), T9) → U29_ga(T207, T9, qs84_in_a(T210))
U29_ga(T207, T9, qs84_out_a(T210)) → U30_ga(T207, T9, qs84_in_a(X15))
U30_ga(T207, T9, qs84_out_a(X15)) → qs1_out_ga(.(T207, []), T9)
U29_ga(T207, T9, qs84_out_a(T210)) → U31_ga(T207, T9, T210, qs84_in_a(T213))
U31_ga(T207, T9, T210, qs84_out_a(T213)) → U32_ga(T207, T9, app43_in_ggga(T210, T207, T213, T9))
app43_in_ggga([], T157, T158, .(T157, T158)) → app43_out_ggga([], T157, T158, .(T157, T158))
app43_in_ggga(.(T169, T170), T171, T172, .(T169, T174)) → U13_ggga(T169, T170, T171, T172, T174, app43_in_ggga(T170, T171, T172, T174))
U13_ggga(T169, T170, T171, T172, T174, app43_out_ggga(T170, T171, T172, T174)) → app43_out_ggga(.(T169, T170), T171, T172, .(T169, T174))
U32_ga(T207, T9, app43_out_ggga(T210, T207, T213, T9)) → qs1_out_ga(.(T207, []), T9)

The argument filtering Pi contains the following mapping:
qs1_in_ga(x1, x2)  =  qs1_in_ga(x1)
[]  =  []
qs1_out_ga(x1, x2)  =  qs1_out_ga(x1)
.(x1, x2)  =  .(x1, x2)
U17_ga(x1, x2, x3, x4, x5)  =  U17_ga(x1, x2, x3, x5)
less14_in_gg(x1, x2)  =  less14_in_gg(x1, x2)
0  =  0
s(x1)  =  s(x1)
less14_out_gg(x1, x2)  =  less14_out_gg(x1, x2)
U1_gg(x1, x2, x3)  =  U1_gg(x1, x2, x3)
U18_ga(x1, x2, x3, x4, x5)  =  U18_ga(x1, x2, x3, x5)
part24_in_ggaa(x1, x2, x3, x4)  =  part24_in_ggaa(x1, x2)
U2_ggaa(x1, x2, x3, x4, x5, x6)  =  U2_ggaa(x1, x2, x3, x6)
part24_out_ggaa(x1, x2, x3, x4)  =  part24_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)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x2, x3, x5)
U20_ga(x1, x2, x3, x4, x5)  =  U20_ga(x1, x2, x3, x5)
qs1_in_aa(x1, x2)  =  qs1_in_aa
qs1_out_aa(x1, x2)  =  qs1_out_aa
U17_aa(x1, x2, x3, x4, x5)  =  U17_aa(x5)
less14_in_aa(x1, x2)  =  less14_in_aa
less14_out_aa(x1, x2)  =  less14_out_aa(x1)
U1_aa(x1, x2, x3)  =  U1_aa(x3)
U18_aa(x1, x2, x3, x4, x5)  =  U18_aa(x5)
part24_in_gaaa(x1, x2, x3, x4)  =  part24_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x1, x6)
less14_in_ga(x1, x2)  =  less14_in_ga(x1)
less14_out_ga(x1, x2)  =  less14_out_ga(x1)
U1_ga(x1, x2, x3)  =  U1_ga(x1, x3)
part24_out_gaaa(x1, x2, x3, x4)  =  part24_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)
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(x1, x5)
U20_aa(x1, x2, x3, x4, x5)  =  U20_aa(x5)
U23_aa(x1, x2, x3, x4, x5)  =  U23_aa(x5)
part24_in_aaaa(x1, x2, x3, x4)  =  part24_in_aaaa
U2_aaaa(x1, x2, x3, x4, x5, x6)  =  U2_aaaa(x6)
part24_out_aaaa(x1, x2, x3, x4)  =  part24_out_aaaa
U3_aaaa(x1, x2, x3, x4, x5, x6)  =  U3_aaaa(x6)
U4_aaaa(x1, x2, x3, x4, x5, x6)  =  U4_aaaa(x6)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
qs42_in_aa(x1, x2)  =  qs42_in_aa
qs42_out_aa(x1, x2)  =  qs42_out_aa
U5_aa(x1, x2, x3, x4)  =  U5_aa(x4)
U6_aa(x1, x2, x3, x4)  =  U6_aa(x4)
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
U8_aa(x1, x2, x3, x4, x5)  =  U8_aa(x5)
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)
app57_in_aaaa(x1, x2, x3, x4)  =  app57_in_aaaa
app57_out_aaaa(x1, x2, x3, x4)  =  app57_out_aaaa
U12_aaaa(x1, x2, x3, x4, x5, x6)  =  U12_aaaa(x6)
U26_aa(x1, x2, x3, x4, x5, x6)  =  U26_aa(x6)
U27_aa(x1, x2, x3, x4, x5)  =  U27_aa(x5)
p41_in_aaaaa(x1, x2, x3, x4, x5)  =  p41_in_aaaaa
U14_aaaaa(x1, x2, x3, x4, x5, x6)  =  U14_aaaaa(x6)
p41_out_aaaaa(x1, x2, x3, x4, x5)  =  p41_out_aaaaa
U15_aaaaa(x1, x2, x3, x4, x5, x6)  =  U15_aaaaa(x6)
U16_aaaaa(x1, x2, x3, x4, x5, x6)  =  U16_aaaaa(x6)
app43_in_aaaa(x1, x2, x3, x4)  =  app43_in_aaaa
app43_out_aaaa(x1, x2, x3, x4)  =  app43_out_aaaa
U13_aaaa(x1, x2, x3, x4, x5, x6)  =  U13_aaaa(x6)
U28_aa(x1, x2, x3)  =  U28_aa(x3)
qs84_in_a(x1)  =  qs84_in_a
qs84_out_a(x1)  =  qs84_out_a(x1)
U29_aa(x1, x2, x3)  =  U29_aa(x3)
U30_aa(x1, x2, x3)  =  U30_aa(x3)
U31_aa(x1, x2, x3, x4)  =  U31_aa(x3, x4)
U32_aa(x1, x2, x3)  =  U32_aa(x3)
app43_in_gaga(x1, x2, x3, x4)  =  app43_in_gaga(x1, x3)
app43_out_gaga(x1, x2, x3, x4)  =  app43_out_gaga(x1, x3)
U13_gaga(x1, x2, x3, x4, x5, x6)  =  U13_gaga(x1, x2, x4, x6)
U21_aa(x1, x2, x3, x4, x5, x6)  =  U21_aa(x1, x6)
U22_aa(x1, x2, x3, x4, x5)  =  U22_aa(x5)
p41_in_aaaga(x1, x2, x3, x4, x5)  =  p41_in_aaaga(x4)
U14_aaaga(x1, x2, x3, x4, x5, x6)  =  U14_aaaga(x4, x6)
p41_out_aaaga(x1, x2, x3, x4, x5)  =  p41_out_aaaga(x4)
U15_aaaga(x1, x2, x3, x4, x5, x6)  =  U15_aaaga(x4, x6)
U16_aaaga(x1, x2, x3, x4, x5, x6)  =  U16_aaaga(x4, x6)
app43_in_agaa(x1, x2, x3, x4)  =  app43_in_agaa(x2)
app43_out_agaa(x1, x2, x3, x4)  =  app43_out_agaa(x2)
U13_agaa(x1, x2, x3, x4, x5, x6)  =  U13_agaa(x3, x6)
U21_ga(x1, x2, x3, x4, x5, x6)  =  U21_ga(x1, x2, x3, x6)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x1, x2, x3, x5)
U23_ga(x1, x2, x3, x4, x5)  =  U23_ga(x1, x2, x3, x5)
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, x6)  =  U26_ga(x1, x2, x3, x6)
U27_ga(x1, x2, x3, x4, x5)  =  U27_ga(x1, x2, x3, x5)
U28_ga(x1, x2, x3)  =  U28_ga(x1, x3)
U29_ga(x1, x2, x3)  =  U29_ga(x1, x3)
U30_ga(x1, x2, x3)  =  U30_ga(x1, x3)
U31_ga(x1, x2, x3, x4)  =  U31_ga(x1, x3, x4)
U32_ga(x1, x2, x3)  =  U32_ga(x1, x3)
app43_in_ggga(x1, x2, x3, x4)  =  app43_in_ggga(x1, x2, x3)
app43_out_ggga(x1, x2, x3, x4)  =  app43_out_ggga(x1, x2, x3, x4)
U13_ggga(x1, x2, x3, x4, x5, x6)  =  U13_ggga(x1, x2, x3, x4, x6)
PART24_IN_AAAA(x1, x2, x3, x4)  =  PART24_IN_AAAA

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

(179) UsableRulesProof (EQUIVALENT transformation)

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

(180) Obligation:

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

PART24_IN_AAAA(T84, .(T85, T86), X177, .(T85, X178)) → PART24_IN_AAAA(T84, T86, X177, X178)

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

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

(181) PiDPToQDPProof (SOUND transformation)

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

(182) Obligation:

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

PART24_IN_AAAAPART24_IN_AAAA

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

(183) 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 = PART24_IN_AAAA evaluates to t =PART24_IN_AAAA

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




Rewriting sequence

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



(184) NO

(185) Obligation:

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

QS42_IN_AA(.(T103, T104), X230) → U6_AA(T103, T104, X230, part24_in_aaaa(T103, T104, T108, T109))
U6_AA(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → QS42_IN_AA(T108, X228)
U6_AA(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U8_AA(T103, T104, X230, T109, qs42_in_aa(T108, T113))
U8_AA(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → QS42_IN_AA(T109, X229)

The TRS R consists of the following rules:

qs1_in_ga([], []) → qs1_out_ga([], [])
qs1_in_ga(.(T22, .(T23, T24)), T9) → U17_ga(T22, T23, T24, T9, less14_in_gg(T22, T23))
less14_in_gg(0, s(T33)) → less14_out_gg(0, s(T33))
less14_in_gg(s(T38), s(T39)) → U1_gg(T38, T39, less14_in_gg(T38, T39))
U1_gg(T38, T39, less14_out_gg(T38, T39)) → less14_out_gg(s(T38), s(T39))
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U18_ga(T22, T23, T24, T9, part24_in_ggaa(T22, T24, X52, X53))
part24_in_ggaa(T62, .(T63, T64), .(T63, X126), X127) → U2_ggaa(T62, T63, T64, X126, X127, less14_in_gg(T62, T63))
U2_ggaa(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → part24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
U2_ggaa(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → U3_ggaa(T62, T63, T64, X126, X127, part24_in_ggaa(T62, T64, X126, X127))
part24_in_ggaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_ggaa(T84, T85, T86, X177, X178, part24_in_ggaa(T84, T86, X177, X178))
part24_in_ggaa(T92, [], [], []) → part24_out_ggaa(T92, [], [], [])
U4_ggaa(T84, T85, T86, X177, X178, part24_out_ggaa(T84, T86, X177, X178)) → part24_out_ggaa(T84, .(T85, T86), X177, .(T85, X178))
U3_ggaa(T62, T63, T64, X126, X127, part24_out_ggaa(T62, T64, X126, X127)) → part24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
U18_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, X52, X53)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U19_ga(T22, T23, T24, T9, part24_in_ggaa(T22, T24, T45, T46))
U19_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U20_ga(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
qs1_in_aa([], []) → qs1_out_aa([], [])
qs1_in_aa(.(T22, .(T23, T24)), T9) → U17_aa(T22, T23, T24, T9, less14_in_aa(T22, T23))
less14_in_aa(0, s(T33)) → less14_out_aa(0, s(T33))
less14_in_aa(s(T38), s(T39)) → U1_aa(T38, T39, less14_in_aa(T38, T39))
U1_aa(T38, T39, less14_out_aa(T38, T39)) → less14_out_aa(s(T38), s(T39))
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U18_aa(T22, T23, T24, T9, part24_in_gaaa(T22, T24, X52, X53))
part24_in_gaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_gaaa(T62, T63, T64, X126, X127, less14_in_ga(T62, T63))
less14_in_ga(0, s(T33)) → less14_out_ga(0, s(T33))
less14_in_ga(s(T38), s(T39)) → U1_ga(T38, T39, less14_in_ga(T38, T39))
U1_ga(T38, T39, less14_out_ga(T38, T39)) → less14_out_ga(s(T38), s(T39))
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → U3_gaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
part24_in_gaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_gaaa(T84, T85, T86, X177, X178, part24_in_gaaa(T84, T86, X177, X178))
part24_in_gaaa(T92, [], [], []) → part24_out_gaaa(T92, [], [], [])
U4_gaaa(T84, T85, T86, X177, X178, part24_out_gaaa(T84, T86, X177, X178)) → part24_out_gaaa(T84, .(T85, T86), X177, .(T85, X178))
U3_gaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U18_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, X52, X53)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U19_aa(T22, T23, T24, T9, part24_in_gaaa(T22, T24, T45, T46))
U19_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U20_aa(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
qs1_in_aa(.(T191, .(T192, T193)), T9) → U23_aa(T191, T192, T193, T9, part24_in_aaaa(T191, T193, X336, X337))
part24_in_aaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_aaaa(T62, T63, T64, X126, X127, less14_in_aa(T62, T63))
U2_aaaa(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → part24_out_aaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_aaaa(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → U3_aaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
U3_aaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_aaaa(T62, .(T63, T64), .(T63, X126), X127)
part24_in_aaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_aaaa(T84, T85, T86, X177, X178, part24_in_aaaa(T84, T86, X177, X178))
part24_in_aaaa(T92, [], [], []) → part24_out_aaaa(T92, [], [], [])
U4_aaaa(T84, T85, T86, X177, X178, part24_out_aaaa(T84, T86, X177, X178)) → part24_out_aaaa(T84, .(T85, T86), X177, .(T85, X178))
U23_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, X336, X337)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
qs1_in_aa(.(T191, .(T192, T193)), T9) → U24_aa(T191, T192, T193, T9, part24_in_aaaa(T191, T193, T197, T198))
U24_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U25_aa(T191, T192, T193, T9, qs42_in_aa(T197, X14))
qs42_in_aa([], []) → qs42_out_aa([], [])
qs42_in_aa(.(T103, T104), X230) → U5_aa(T103, T104, X230, part24_in_aaaa(T103, T104, X226, X227))
U5_aa(T103, T104, X230, part24_out_aaaa(T103, T104, X226, X227)) → qs42_out_aa(.(T103, T104), X230)
qs42_in_aa(.(T103, T104), X230) → U6_aa(T103, T104, X230, part24_in_aaaa(T103, T104, T108, T109))
U6_aa(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U7_aa(T103, T104, X230, qs42_in_aa(T108, X228))
U7_aa(T103, T104, X230, qs42_out_aa(T108, X228)) → qs42_out_aa(.(T103, T104), X230)
U6_aa(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U8_aa(T103, T104, X230, T109, qs42_in_aa(T108, T113))
U8_aa(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U9_aa(T103, T104, X230, qs42_in_aa(T109, X229))
U9_aa(T103, T104, X230, qs42_out_aa(T109, X229)) → qs42_out_aa(.(T103, T104), X230)
U8_aa(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U10_aa(T103, T104, X230, T113, qs42_in_aa(T109, T114))
U10_aa(T103, T104, X230, T113, qs42_out_aa(T109, T114)) → U11_aa(T103, T104, X230, app57_in_aaaa(T113, T103, T114, X230))
app57_in_aaaa([], T127, T128, .(T127, T128)) → app57_out_aaaa([], T127, T128, .(T127, T128))
app57_in_aaaa(.(T137, T138), T139, T140, .(T137, X270)) → U12_aaaa(T137, T138, T139, T140, X270, app57_in_aaaa(T138, T139, T140, X270))
U12_aaaa(T137, T138, T139, T140, X270, app57_out_aaaa(T138, T139, T140, X270)) → app57_out_aaaa(.(T137, T138), T139, T140, .(T137, X270))
U11_aa(T103, T104, X230, app57_out_aaaa(T113, T103, T114, X230)) → qs42_out_aa(.(T103, T104), X230)
U25_aa(T191, T192, T193, T9, qs42_out_aa(T197, X14)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
U24_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U26_aa(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_aa(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_aa(T191, T192, T193, T9, p41_in_aaaaa(.(T192, T198), X15, T202, T191, T9))
p41_in_aaaaa(T46, X15, T95, T22, T9) → U14_aaaaa(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
U14_aaaaa(T46, X15, T95, T22, T9, qs42_out_aa(T46, X15)) → p41_out_aaaaa(T46, X15, T95, T22, T9)
p41_in_aaaaa(T46, T98, T95, T22, T9) → U15_aaaaa(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_aaaaa(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_aaaaa(T46, T98, T95, T22, T9, app43_in_aaaa(T95, T22, T98, T9))
app43_in_aaaa([], T157, T158, .(T157, T158)) → app43_out_aaaa([], T157, T158, .(T157, T158))
app43_in_aaaa(.(T169, T170), T171, T172, .(T169, T174)) → U13_aaaa(T169, T170, T171, T172, T174, app43_in_aaaa(T170, T171, T172, T174))
U13_aaaa(T169, T170, T171, T172, T174, app43_out_aaaa(T170, T171, T172, T174)) → app43_out_aaaa(.(T169, T170), T171, T172, .(T169, T174))
U16_aaaaa(T46, T98, T95, T22, T9, app43_out_aaaa(T95, T22, T98, T9)) → p41_out_aaaaa(T46, T98, T95, T22, T9)
U27_aa(T191, T192, T193, T9, p41_out_aaaaa(.(T192, T198), X15, T202, T191, T9)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
qs1_in_aa(.(T207, []), T9) → U28_aa(T207, T9, qs84_in_a(X14))
qs84_in_a([]) → qs84_out_a([])
U28_aa(T207, T9, qs84_out_a(X14)) → qs1_out_aa(.(T207, []), T9)
qs1_in_aa(.(T207, []), T9) → U29_aa(T207, T9, qs84_in_a(T210))
U29_aa(T207, T9, qs84_out_a(T210)) → U30_aa(T207, T9, qs84_in_a(X15))
U30_aa(T207, T9, qs84_out_a(X15)) → qs1_out_aa(.(T207, []), T9)
U29_aa(T207, T9, qs84_out_a(T210)) → U31_aa(T207, T9, T210, qs84_in_a(T213))
U31_aa(T207, T9, T210, qs84_out_a(T213)) → U32_aa(T207, T9, app43_in_gaga(T210, T207, T213, T9))
app43_in_gaga([], T157, T158, .(T157, T158)) → app43_out_gaga([], T157, T158, .(T157, T158))
app43_in_gaga(.(T169, T170), T171, T172, .(T169, T174)) → U13_gaga(T169, T170, T171, T172, T174, app43_in_gaga(T170, T171, T172, T174))
U13_gaga(T169, T170, T171, T172, T174, app43_out_gaga(T170, T171, T172, T174)) → app43_out_gaga(.(T169, T170), T171, T172, .(T169, T174))
U32_aa(T207, T9, app43_out_gaga(T210, T207, T213, T9)) → qs1_out_aa(.(T207, []), T9)
U20_aa(T22, T23, T24, T9, qs1_out_aa(.(T23, T45), X14)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U21_aa(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_aa(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_aa(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
p41_in_aaaga(T46, X15, T95, T22, T9) → U14_aaaga(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
U14_aaaga(T46, X15, T95, T22, T9, qs42_out_aa(T46, X15)) → p41_out_aaaga(T46, X15, T95, T22, T9)
p41_in_aaaga(T46, T98, T95, T22, T9) → U15_aaaga(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_aaaga(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_aaaga(T46, T98, T95, T22, T9, app43_in_agaa(T95, T22, T98, T9))
app43_in_agaa([], T157, T158, .(T157, T158)) → app43_out_agaa([], T157, T158, .(T157, T158))
app43_in_agaa(.(T169, T170), T171, T172, .(T169, T174)) → U13_agaa(T169, T170, T171, T172, T174, app43_in_agaa(T170, T171, T172, T174))
U13_agaa(T169, T170, T171, T172, T174, app43_out_agaa(T170, T171, T172, T174)) → app43_out_agaa(.(T169, T170), T171, T172, .(T169, T174))
U16_aaaga(T46, T98, T95, T22, T9, app43_out_agaa(T95, T22, T98, T9)) → p41_out_aaaga(T46, T98, T95, T22, T9)
U22_aa(T22, T23, T24, T9, p41_out_aaaga(T46, X15, T95, T22, T9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U20_ga(T22, T23, T24, T9, qs1_out_aa(.(T23, T45), X14)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U21_ga(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_ga(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_ga(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
U22_ga(T22, T23, T24, T9, p41_out_aaaga(T46, X15, T95, T22, T9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
qs1_in_ga(.(T191, .(T192, T193)), T9) → U23_ga(T191, T192, T193, T9, part24_in_ggaa(T191, T193, X336, X337))
U23_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, X336, X337)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
qs1_in_ga(.(T191, .(T192, T193)), T9) → U24_ga(T191, T192, T193, T9, part24_in_ggaa(T191, T193, T197, T198))
U24_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U25_ga(T191, T192, T193, T9, qs42_in_aa(T197, X14))
U25_ga(T191, T192, T193, T9, qs42_out_aa(T197, X14)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
U24_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U26_ga(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_ga(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_ga(T191, T192, T193, T9, p41_in_aaaga(.(T192, T198), X15, T202, T191, T9))
U27_ga(T191, T192, T193, T9, p41_out_aaaga(.(T192, T198), X15, T202, T191, T9)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
qs1_in_ga(.(T207, []), T9) → U28_ga(T207, T9, qs84_in_a(X14))
U28_ga(T207, T9, qs84_out_a(X14)) → qs1_out_ga(.(T207, []), T9)
qs1_in_ga(.(T207, []), T9) → U29_ga(T207, T9, qs84_in_a(T210))
U29_ga(T207, T9, qs84_out_a(T210)) → U30_ga(T207, T9, qs84_in_a(X15))
U30_ga(T207, T9, qs84_out_a(X15)) → qs1_out_ga(.(T207, []), T9)
U29_ga(T207, T9, qs84_out_a(T210)) → U31_ga(T207, T9, T210, qs84_in_a(T213))
U31_ga(T207, T9, T210, qs84_out_a(T213)) → U32_ga(T207, T9, app43_in_ggga(T210, T207, T213, T9))
app43_in_ggga([], T157, T158, .(T157, T158)) → app43_out_ggga([], T157, T158, .(T157, T158))
app43_in_ggga(.(T169, T170), T171, T172, .(T169, T174)) → U13_ggga(T169, T170, T171, T172, T174, app43_in_ggga(T170, T171, T172, T174))
U13_ggga(T169, T170, T171, T172, T174, app43_out_ggga(T170, T171, T172, T174)) → app43_out_ggga(.(T169, T170), T171, T172, .(T169, T174))
U32_ga(T207, T9, app43_out_ggga(T210, T207, T213, T9)) → qs1_out_ga(.(T207, []), T9)

The argument filtering Pi contains the following mapping:
qs1_in_ga(x1, x2)  =  qs1_in_ga(x1)
[]  =  []
qs1_out_ga(x1, x2)  =  qs1_out_ga(x1)
.(x1, x2)  =  .(x1, x2)
U17_ga(x1, x2, x3, x4, x5)  =  U17_ga(x1, x2, x3, x5)
less14_in_gg(x1, x2)  =  less14_in_gg(x1, x2)
0  =  0
s(x1)  =  s(x1)
less14_out_gg(x1, x2)  =  less14_out_gg(x1, x2)
U1_gg(x1, x2, x3)  =  U1_gg(x1, x2, x3)
U18_ga(x1, x2, x3, x4, x5)  =  U18_ga(x1, x2, x3, x5)
part24_in_ggaa(x1, x2, x3, x4)  =  part24_in_ggaa(x1, x2)
U2_ggaa(x1, x2, x3, x4, x5, x6)  =  U2_ggaa(x1, x2, x3, x6)
part24_out_ggaa(x1, x2, x3, x4)  =  part24_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)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x2, x3, x5)
U20_ga(x1, x2, x3, x4, x5)  =  U20_ga(x1, x2, x3, x5)
qs1_in_aa(x1, x2)  =  qs1_in_aa
qs1_out_aa(x1, x2)  =  qs1_out_aa
U17_aa(x1, x2, x3, x4, x5)  =  U17_aa(x5)
less14_in_aa(x1, x2)  =  less14_in_aa
less14_out_aa(x1, x2)  =  less14_out_aa(x1)
U1_aa(x1, x2, x3)  =  U1_aa(x3)
U18_aa(x1, x2, x3, x4, x5)  =  U18_aa(x5)
part24_in_gaaa(x1, x2, x3, x4)  =  part24_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x1, x6)
less14_in_ga(x1, x2)  =  less14_in_ga(x1)
less14_out_ga(x1, x2)  =  less14_out_ga(x1)
U1_ga(x1, x2, x3)  =  U1_ga(x1, x3)
part24_out_gaaa(x1, x2, x3, x4)  =  part24_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)
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(x1, x5)
U20_aa(x1, x2, x3, x4, x5)  =  U20_aa(x5)
U23_aa(x1, x2, x3, x4, x5)  =  U23_aa(x5)
part24_in_aaaa(x1, x2, x3, x4)  =  part24_in_aaaa
U2_aaaa(x1, x2, x3, x4, x5, x6)  =  U2_aaaa(x6)
part24_out_aaaa(x1, x2, x3, x4)  =  part24_out_aaaa
U3_aaaa(x1, x2, x3, x4, x5, x6)  =  U3_aaaa(x6)
U4_aaaa(x1, x2, x3, x4, x5, x6)  =  U4_aaaa(x6)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
qs42_in_aa(x1, x2)  =  qs42_in_aa
qs42_out_aa(x1, x2)  =  qs42_out_aa
U5_aa(x1, x2, x3, x4)  =  U5_aa(x4)
U6_aa(x1, x2, x3, x4)  =  U6_aa(x4)
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
U8_aa(x1, x2, x3, x4, x5)  =  U8_aa(x5)
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)
app57_in_aaaa(x1, x2, x3, x4)  =  app57_in_aaaa
app57_out_aaaa(x1, x2, x3, x4)  =  app57_out_aaaa
U12_aaaa(x1, x2, x3, x4, x5, x6)  =  U12_aaaa(x6)
U26_aa(x1, x2, x3, x4, x5, x6)  =  U26_aa(x6)
U27_aa(x1, x2, x3, x4, x5)  =  U27_aa(x5)
p41_in_aaaaa(x1, x2, x3, x4, x5)  =  p41_in_aaaaa
U14_aaaaa(x1, x2, x3, x4, x5, x6)  =  U14_aaaaa(x6)
p41_out_aaaaa(x1, x2, x3, x4, x5)  =  p41_out_aaaaa
U15_aaaaa(x1, x2, x3, x4, x5, x6)  =  U15_aaaaa(x6)
U16_aaaaa(x1, x2, x3, x4, x5, x6)  =  U16_aaaaa(x6)
app43_in_aaaa(x1, x2, x3, x4)  =  app43_in_aaaa
app43_out_aaaa(x1, x2, x3, x4)  =  app43_out_aaaa
U13_aaaa(x1, x2, x3, x4, x5, x6)  =  U13_aaaa(x6)
U28_aa(x1, x2, x3)  =  U28_aa(x3)
qs84_in_a(x1)  =  qs84_in_a
qs84_out_a(x1)  =  qs84_out_a(x1)
U29_aa(x1, x2, x3)  =  U29_aa(x3)
U30_aa(x1, x2, x3)  =  U30_aa(x3)
U31_aa(x1, x2, x3, x4)  =  U31_aa(x3, x4)
U32_aa(x1, x2, x3)  =  U32_aa(x3)
app43_in_gaga(x1, x2, x3, x4)  =  app43_in_gaga(x1, x3)
app43_out_gaga(x1, x2, x3, x4)  =  app43_out_gaga(x1, x3)
U13_gaga(x1, x2, x3, x4, x5, x6)  =  U13_gaga(x1, x2, x4, x6)
U21_aa(x1, x2, x3, x4, x5, x6)  =  U21_aa(x1, x6)
U22_aa(x1, x2, x3, x4, x5)  =  U22_aa(x5)
p41_in_aaaga(x1, x2, x3, x4, x5)  =  p41_in_aaaga(x4)
U14_aaaga(x1, x2, x3, x4, x5, x6)  =  U14_aaaga(x4, x6)
p41_out_aaaga(x1, x2, x3, x4, x5)  =  p41_out_aaaga(x4)
U15_aaaga(x1, x2, x3, x4, x5, x6)  =  U15_aaaga(x4, x6)
U16_aaaga(x1, x2, x3, x4, x5, x6)  =  U16_aaaga(x4, x6)
app43_in_agaa(x1, x2, x3, x4)  =  app43_in_agaa(x2)
app43_out_agaa(x1, x2, x3, x4)  =  app43_out_agaa(x2)
U13_agaa(x1, x2, x3, x4, x5, x6)  =  U13_agaa(x3, x6)
U21_ga(x1, x2, x3, x4, x5, x6)  =  U21_ga(x1, x2, x3, x6)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x1, x2, x3, x5)
U23_ga(x1, x2, x3, x4, x5)  =  U23_ga(x1, x2, x3, x5)
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, x6)  =  U26_ga(x1, x2, x3, x6)
U27_ga(x1, x2, x3, x4, x5)  =  U27_ga(x1, x2, x3, x5)
U28_ga(x1, x2, x3)  =  U28_ga(x1, x3)
U29_ga(x1, x2, x3)  =  U29_ga(x1, x3)
U30_ga(x1, x2, x3)  =  U30_ga(x1, x3)
U31_ga(x1, x2, x3, x4)  =  U31_ga(x1, x3, x4)
U32_ga(x1, x2, x3)  =  U32_ga(x1, x3)
app43_in_ggga(x1, x2, x3, x4)  =  app43_in_ggga(x1, x2, x3)
app43_out_ggga(x1, x2, x3, x4)  =  app43_out_ggga(x1, x2, x3, x4)
U13_ggga(x1, x2, x3, x4, x5, x6)  =  U13_ggga(x1, x2, x3, x4, x6)
QS42_IN_AA(x1, x2)  =  QS42_IN_AA
U6_AA(x1, x2, x3, x4)  =  U6_AA(x4)
U8_AA(x1, x2, x3, x4, x5)  =  U8_AA(x5)

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

(186) UsableRulesProof (EQUIVALENT transformation)

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

(187) Obligation:

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

QS42_IN_AA(.(T103, T104), X230) → U6_AA(T103, T104, X230, part24_in_aaaa(T103, T104, T108, T109))
U6_AA(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → QS42_IN_AA(T108, X228)
U6_AA(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U8_AA(T103, T104, X230, T109, qs42_in_aa(T108, T113))
U8_AA(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → QS42_IN_AA(T109, X229)

The TRS R consists of the following rules:

part24_in_aaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_aaaa(T62, T63, T64, X126, X127, less14_in_aa(T62, T63))
part24_in_aaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_aaaa(T84, T85, T86, X177, X178, part24_in_aaaa(T84, T86, X177, X178))
part24_in_aaaa(T92, [], [], []) → part24_out_aaaa(T92, [], [], [])
qs42_in_aa([], []) → qs42_out_aa([], [])
qs42_in_aa(.(T103, T104), X230) → U5_aa(T103, T104, X230, part24_in_aaaa(T103, T104, X226, X227))
qs42_in_aa(.(T103, T104), X230) → U6_aa(T103, T104, X230, part24_in_aaaa(T103, T104, T108, T109))
U2_aaaa(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → part24_out_aaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_aaaa(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → U3_aaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
U4_aaaa(T84, T85, T86, X177, X178, part24_out_aaaa(T84, T86, X177, X178)) → part24_out_aaaa(T84, .(T85, T86), X177, .(T85, X178))
U5_aa(T103, T104, X230, part24_out_aaaa(T103, T104, X226, X227)) → qs42_out_aa(.(T103, T104), X230)
U6_aa(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U7_aa(T103, T104, X230, qs42_in_aa(T108, X228))
U6_aa(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U8_aa(T103, T104, X230, T109, qs42_in_aa(T108, T113))
less14_in_aa(0, s(T33)) → less14_out_aa(0, s(T33))
less14_in_aa(s(T38), s(T39)) → U1_aa(T38, T39, less14_in_aa(T38, T39))
U3_aaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_aaaa(T62, .(T63, T64), .(T63, X126), X127)
U7_aa(T103, T104, X230, qs42_out_aa(T108, X228)) → qs42_out_aa(.(T103, T104), X230)
U8_aa(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U9_aa(T103, T104, X230, qs42_in_aa(T109, X229))
U8_aa(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U10_aa(T103, T104, X230, T113, qs42_in_aa(T109, T114))
U1_aa(T38, T39, less14_out_aa(T38, T39)) → less14_out_aa(s(T38), s(T39))
part24_in_gaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_gaaa(T62, T63, T64, X126, X127, less14_in_ga(T62, T63))
part24_in_gaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_gaaa(T84, T85, T86, X177, X178, part24_in_gaaa(T84, T86, X177, X178))
part24_in_gaaa(T92, [], [], []) → part24_out_gaaa(T92, [], [], [])
U9_aa(T103, T104, X230, qs42_out_aa(T109, X229)) → qs42_out_aa(.(T103, T104), X230)
U10_aa(T103, T104, X230, T113, qs42_out_aa(T109, T114)) → U11_aa(T103, T104, X230, app57_in_aaaa(T113, T103, T114, X230))
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → U3_gaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
U4_gaaa(T84, T85, T86, X177, X178, part24_out_gaaa(T84, T86, X177, X178)) → part24_out_gaaa(T84, .(T85, T86), X177, .(T85, X178))
U11_aa(T103, T104, X230, app57_out_aaaa(T113, T103, T114, X230)) → qs42_out_aa(.(T103, T104), X230)
less14_in_ga(0, s(T33)) → less14_out_ga(0, s(T33))
less14_in_ga(s(T38), s(T39)) → U1_ga(T38, T39, less14_in_ga(T38, T39))
U3_gaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
app57_in_aaaa([], T127, T128, .(T127, T128)) → app57_out_aaaa([], T127, T128, .(T127, T128))
app57_in_aaaa(.(T137, T138), T139, T140, .(T137, X270)) → U12_aaaa(T137, T138, T139, T140, X270, app57_in_aaaa(T138, T139, T140, X270))
U1_ga(T38, T39, less14_out_ga(T38, T39)) → less14_out_ga(s(T38), s(T39))
U12_aaaa(T137, T138, T139, T140, X270, app57_out_aaaa(T138, T139, T140, X270)) → app57_out_aaaa(.(T137, T138), T139, T140, .(T137, X270))

The argument filtering Pi contains the following mapping:
[]  =  []
.(x1, x2)  =  .(x1, x2)
0  =  0
s(x1)  =  s(x1)
less14_in_aa(x1, x2)  =  less14_in_aa
less14_out_aa(x1, x2)  =  less14_out_aa(x1)
U1_aa(x1, x2, x3)  =  U1_aa(x3)
part24_in_gaaa(x1, x2, x3, x4)  =  part24_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x1, x6)
less14_in_ga(x1, x2)  =  less14_in_ga(x1)
less14_out_ga(x1, x2)  =  less14_out_ga(x1)
U1_ga(x1, x2, x3)  =  U1_ga(x1, x3)
part24_out_gaaa(x1, x2, x3, x4)  =  part24_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)
part24_in_aaaa(x1, x2, x3, x4)  =  part24_in_aaaa
U2_aaaa(x1, x2, x3, x4, x5, x6)  =  U2_aaaa(x6)
part24_out_aaaa(x1, x2, x3, x4)  =  part24_out_aaaa
U3_aaaa(x1, x2, x3, x4, x5, x6)  =  U3_aaaa(x6)
U4_aaaa(x1, x2, x3, x4, x5, x6)  =  U4_aaaa(x6)
qs42_in_aa(x1, x2)  =  qs42_in_aa
qs42_out_aa(x1, x2)  =  qs42_out_aa
U5_aa(x1, x2, x3, x4)  =  U5_aa(x4)
U6_aa(x1, x2, x3, x4)  =  U6_aa(x4)
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
U8_aa(x1, x2, x3, x4, x5)  =  U8_aa(x5)
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)
app57_in_aaaa(x1, x2, x3, x4)  =  app57_in_aaaa
app57_out_aaaa(x1, x2, x3, x4)  =  app57_out_aaaa
U12_aaaa(x1, x2, x3, x4, x5, x6)  =  U12_aaaa(x6)
QS42_IN_AA(x1, x2)  =  QS42_IN_AA
U6_AA(x1, x2, x3, x4)  =  U6_AA(x4)
U8_AA(x1, x2, x3, x4, x5)  =  U8_AA(x5)

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

(188) PiDPToQDPProof (SOUND transformation)

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

(189) Obligation:

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

QS42_IN_AAU6_AA(part24_in_aaaa)
U6_AA(part24_out_aaaa) → QS42_IN_AA
U6_AA(part24_out_aaaa) → U8_AA(qs42_in_aa)
U8_AA(qs42_out_aa) → QS42_IN_AA

The TRS R consists of the following rules:

part24_in_aaaaU2_aaaa(less14_in_aa)
part24_in_aaaaU4_aaaa(part24_in_aaaa)
part24_in_aaaapart24_out_aaaa
qs42_in_aaqs42_out_aa
qs42_in_aaU5_aa(part24_in_aaaa)
qs42_in_aaU6_aa(part24_in_aaaa)
U2_aaaa(less14_out_aa(T62)) → part24_out_aaaa
U2_aaaa(less14_out_aa(T62)) → U3_aaaa(part24_in_gaaa(T62))
U4_aaaa(part24_out_aaaa) → part24_out_aaaa
U5_aa(part24_out_aaaa) → qs42_out_aa
U6_aa(part24_out_aaaa) → U7_aa(qs42_in_aa)
U6_aa(part24_out_aaaa) → U8_aa(qs42_in_aa)
less14_in_aaless14_out_aa(0)
less14_in_aaU1_aa(less14_in_aa)
U3_aaaa(part24_out_gaaa(T62)) → part24_out_aaaa
U7_aa(qs42_out_aa) → qs42_out_aa
U8_aa(qs42_out_aa) → U9_aa(qs42_in_aa)
U8_aa(qs42_out_aa) → U10_aa(qs42_in_aa)
U1_aa(less14_out_aa(T38)) → less14_out_aa(s(T38))
part24_in_gaaa(T62) → U2_gaaa(T62, less14_in_ga(T62))
part24_in_gaaa(T84) → U4_gaaa(T84, part24_in_gaaa(T84))
part24_in_gaaa(T92) → part24_out_gaaa(T92)
U9_aa(qs42_out_aa) → qs42_out_aa
U10_aa(qs42_out_aa) → U11_aa(app57_in_aaaa)
U2_gaaa(T62, less14_out_ga(T62)) → part24_out_gaaa(T62)
U2_gaaa(T62, less14_out_ga(T62)) → U3_gaaa(T62, part24_in_gaaa(T62))
U4_gaaa(T84, part24_out_gaaa(T84)) → part24_out_gaaa(T84)
U11_aa(app57_out_aaaa) → qs42_out_aa
less14_in_ga(0) → less14_out_ga(0)
less14_in_ga(s(T38)) → U1_ga(T38, less14_in_ga(T38))
U3_gaaa(T62, part24_out_gaaa(T62)) → part24_out_gaaa(T62)
app57_in_aaaaapp57_out_aaaa
app57_in_aaaaU12_aaaa(app57_in_aaaa)
U1_ga(T38, less14_out_ga(T38)) → less14_out_ga(s(T38))
U12_aaaa(app57_out_aaaa) → app57_out_aaaa

The set Q consists of the following terms:

part24_in_aaaa
qs42_in_aa
U2_aaaa(x0)
U4_aaaa(x0)
U5_aa(x0)
U6_aa(x0)
less14_in_aa
U3_aaaa(x0)
U7_aa(x0)
U8_aa(x0)
U1_aa(x0)
part24_in_gaaa(x0)
U9_aa(x0)
U10_aa(x0)
U2_gaaa(x0, x1)
U4_gaaa(x0, x1)
U11_aa(x0)
less14_in_ga(x0)
U3_gaaa(x0, x1)
app57_in_aaaa
U1_ga(x0, x1)
U12_aaaa(x0)

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

(190) Narrowing (SOUND transformation)

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

QS42_IN_AAU6_AA(U2_aaaa(less14_in_aa))
QS42_IN_AAU6_AA(U4_aaaa(part24_in_aaaa))
QS42_IN_AAU6_AA(part24_out_aaaa)

(191) Obligation:

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

U6_AA(part24_out_aaaa) → QS42_IN_AA
U6_AA(part24_out_aaaa) → U8_AA(qs42_in_aa)
U8_AA(qs42_out_aa) → QS42_IN_AA
QS42_IN_AAU6_AA(U2_aaaa(less14_in_aa))
QS42_IN_AAU6_AA(U4_aaaa(part24_in_aaaa))
QS42_IN_AAU6_AA(part24_out_aaaa)

The TRS R consists of the following rules:

part24_in_aaaaU2_aaaa(less14_in_aa)
part24_in_aaaaU4_aaaa(part24_in_aaaa)
part24_in_aaaapart24_out_aaaa
qs42_in_aaqs42_out_aa
qs42_in_aaU5_aa(part24_in_aaaa)
qs42_in_aaU6_aa(part24_in_aaaa)
U2_aaaa(less14_out_aa(T62)) → part24_out_aaaa
U2_aaaa(less14_out_aa(T62)) → U3_aaaa(part24_in_gaaa(T62))
U4_aaaa(part24_out_aaaa) → part24_out_aaaa
U5_aa(part24_out_aaaa) → qs42_out_aa
U6_aa(part24_out_aaaa) → U7_aa(qs42_in_aa)
U6_aa(part24_out_aaaa) → U8_aa(qs42_in_aa)
less14_in_aaless14_out_aa(0)
less14_in_aaU1_aa(less14_in_aa)
U3_aaaa(part24_out_gaaa(T62)) → part24_out_aaaa
U7_aa(qs42_out_aa) → qs42_out_aa
U8_aa(qs42_out_aa) → U9_aa(qs42_in_aa)
U8_aa(qs42_out_aa) → U10_aa(qs42_in_aa)
U1_aa(less14_out_aa(T38)) → less14_out_aa(s(T38))
part24_in_gaaa(T62) → U2_gaaa(T62, less14_in_ga(T62))
part24_in_gaaa(T84) → U4_gaaa(T84, part24_in_gaaa(T84))
part24_in_gaaa(T92) → part24_out_gaaa(T92)
U9_aa(qs42_out_aa) → qs42_out_aa
U10_aa(qs42_out_aa) → U11_aa(app57_in_aaaa)
U2_gaaa(T62, less14_out_ga(T62)) → part24_out_gaaa(T62)
U2_gaaa(T62, less14_out_ga(T62)) → U3_gaaa(T62, part24_in_gaaa(T62))
U4_gaaa(T84, part24_out_gaaa(T84)) → part24_out_gaaa(T84)
U11_aa(app57_out_aaaa) → qs42_out_aa
less14_in_ga(0) → less14_out_ga(0)
less14_in_ga(s(T38)) → U1_ga(T38, less14_in_ga(T38))
U3_gaaa(T62, part24_out_gaaa(T62)) → part24_out_gaaa(T62)
app57_in_aaaaapp57_out_aaaa
app57_in_aaaaU12_aaaa(app57_in_aaaa)
U1_ga(T38, less14_out_ga(T38)) → less14_out_ga(s(T38))
U12_aaaa(app57_out_aaaa) → app57_out_aaaa

The set Q consists of the following terms:

part24_in_aaaa
qs42_in_aa
U2_aaaa(x0)
U4_aaaa(x0)
U5_aa(x0)
U6_aa(x0)
less14_in_aa
U3_aaaa(x0)
U7_aa(x0)
U8_aa(x0)
U1_aa(x0)
part24_in_gaaa(x0)
U9_aa(x0)
U10_aa(x0)
U2_gaaa(x0, x1)
U4_gaaa(x0, x1)
U11_aa(x0)
less14_in_ga(x0)
U3_gaaa(x0, x1)
app57_in_aaaa
U1_ga(x0, x1)
U12_aaaa(x0)

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

(192) Narrowing (SOUND transformation)

By narrowing [LPAR04] the rule U6_AA(part24_out_aaaa) → U8_AA(qs42_in_aa) at position [0] we obtained the following new rules [LPAR04]:

U6_AA(part24_out_aaaa) → U8_AA(qs42_out_aa)
U6_AA(part24_out_aaaa) → U8_AA(U5_aa(part24_in_aaaa))
U6_AA(part24_out_aaaa) → U8_AA(U6_aa(part24_in_aaaa))

(193) Obligation:

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

U6_AA(part24_out_aaaa) → QS42_IN_AA
U8_AA(qs42_out_aa) → QS42_IN_AA
QS42_IN_AAU6_AA(U2_aaaa(less14_in_aa))
QS42_IN_AAU6_AA(U4_aaaa(part24_in_aaaa))
QS42_IN_AAU6_AA(part24_out_aaaa)
U6_AA(part24_out_aaaa) → U8_AA(qs42_out_aa)
U6_AA(part24_out_aaaa) → U8_AA(U5_aa(part24_in_aaaa))
U6_AA(part24_out_aaaa) → U8_AA(U6_aa(part24_in_aaaa))

The TRS R consists of the following rules:

part24_in_aaaaU2_aaaa(less14_in_aa)
part24_in_aaaaU4_aaaa(part24_in_aaaa)
part24_in_aaaapart24_out_aaaa
qs42_in_aaqs42_out_aa
qs42_in_aaU5_aa(part24_in_aaaa)
qs42_in_aaU6_aa(part24_in_aaaa)
U2_aaaa(less14_out_aa(T62)) → part24_out_aaaa
U2_aaaa(less14_out_aa(T62)) → U3_aaaa(part24_in_gaaa(T62))
U4_aaaa(part24_out_aaaa) → part24_out_aaaa
U5_aa(part24_out_aaaa) → qs42_out_aa
U6_aa(part24_out_aaaa) → U7_aa(qs42_in_aa)
U6_aa(part24_out_aaaa) → U8_aa(qs42_in_aa)
less14_in_aaless14_out_aa(0)
less14_in_aaU1_aa(less14_in_aa)
U3_aaaa(part24_out_gaaa(T62)) → part24_out_aaaa
U7_aa(qs42_out_aa) → qs42_out_aa
U8_aa(qs42_out_aa) → U9_aa(qs42_in_aa)
U8_aa(qs42_out_aa) → U10_aa(qs42_in_aa)
U1_aa(less14_out_aa(T38)) → less14_out_aa(s(T38))
part24_in_gaaa(T62) → U2_gaaa(T62, less14_in_ga(T62))
part24_in_gaaa(T84) → U4_gaaa(T84, part24_in_gaaa(T84))
part24_in_gaaa(T92) → part24_out_gaaa(T92)
U9_aa(qs42_out_aa) → qs42_out_aa
U10_aa(qs42_out_aa) → U11_aa(app57_in_aaaa)
U2_gaaa(T62, less14_out_ga(T62)) → part24_out_gaaa(T62)
U2_gaaa(T62, less14_out_ga(T62)) → U3_gaaa(T62, part24_in_gaaa(T62))
U4_gaaa(T84, part24_out_gaaa(T84)) → part24_out_gaaa(T84)
U11_aa(app57_out_aaaa) → qs42_out_aa
less14_in_ga(0) → less14_out_ga(0)
less14_in_ga(s(T38)) → U1_ga(T38, less14_in_ga(T38))
U3_gaaa(T62, part24_out_gaaa(T62)) → part24_out_gaaa(T62)
app57_in_aaaaapp57_out_aaaa
app57_in_aaaaU12_aaaa(app57_in_aaaa)
U1_ga(T38, less14_out_ga(T38)) → less14_out_ga(s(T38))
U12_aaaa(app57_out_aaaa) → app57_out_aaaa

The set Q consists of the following terms:

part24_in_aaaa
qs42_in_aa
U2_aaaa(x0)
U4_aaaa(x0)
U5_aa(x0)
U6_aa(x0)
less14_in_aa
U3_aaaa(x0)
U7_aa(x0)
U8_aa(x0)
U1_aa(x0)
part24_in_gaaa(x0)
U9_aa(x0)
U10_aa(x0)
U2_gaaa(x0, x1)
U4_gaaa(x0, x1)
U11_aa(x0)
less14_in_ga(x0)
U3_gaaa(x0, x1)
app57_in_aaaa
U1_ga(x0, x1)
U12_aaaa(x0)

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

(194) 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 = QS42_IN_AA evaluates to t =QS42_IN_AA

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




Rewriting sequence

QS42_IN_AAU6_AA(part24_out_aaaa)
with rule QS42_IN_AAU6_AA(part24_out_aaaa) at position [] and matcher [ ]

U6_AA(part24_out_aaaa)QS42_IN_AA
with rule U6_AA(part24_out_aaaa) → QS42_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.



(195) NO

(196) Obligation:

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

U17_AA(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U19_AA(T22, T23, T24, T9, part24_in_gaaa(T22, T24, T45, T46))
U19_AA(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → QS1_IN_AA(.(T23, T45), X14)
QS1_IN_AA(.(T22, .(T23, T24)), T9) → U17_AA(T22, T23, T24, T9, less14_in_aa(T22, T23))

The TRS R consists of the following rules:

qs1_in_ga([], []) → qs1_out_ga([], [])
qs1_in_ga(.(T22, .(T23, T24)), T9) → U17_ga(T22, T23, T24, T9, less14_in_gg(T22, T23))
less14_in_gg(0, s(T33)) → less14_out_gg(0, s(T33))
less14_in_gg(s(T38), s(T39)) → U1_gg(T38, T39, less14_in_gg(T38, T39))
U1_gg(T38, T39, less14_out_gg(T38, T39)) → less14_out_gg(s(T38), s(T39))
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U18_ga(T22, T23, T24, T9, part24_in_ggaa(T22, T24, X52, X53))
part24_in_ggaa(T62, .(T63, T64), .(T63, X126), X127) → U2_ggaa(T62, T63, T64, X126, X127, less14_in_gg(T62, T63))
U2_ggaa(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → part24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
U2_ggaa(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → U3_ggaa(T62, T63, T64, X126, X127, part24_in_ggaa(T62, T64, X126, X127))
part24_in_ggaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_ggaa(T84, T85, T86, X177, X178, part24_in_ggaa(T84, T86, X177, X178))
part24_in_ggaa(T92, [], [], []) → part24_out_ggaa(T92, [], [], [])
U4_ggaa(T84, T85, T86, X177, X178, part24_out_ggaa(T84, T86, X177, X178)) → part24_out_ggaa(T84, .(T85, T86), X177, .(T85, X178))
U3_ggaa(T62, T63, T64, X126, X127, part24_out_ggaa(T62, T64, X126, X127)) → part24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
U18_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, X52, X53)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U19_ga(T22, T23, T24, T9, part24_in_ggaa(T22, T24, T45, T46))
U19_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U20_ga(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
qs1_in_aa([], []) → qs1_out_aa([], [])
qs1_in_aa(.(T22, .(T23, T24)), T9) → U17_aa(T22, T23, T24, T9, less14_in_aa(T22, T23))
less14_in_aa(0, s(T33)) → less14_out_aa(0, s(T33))
less14_in_aa(s(T38), s(T39)) → U1_aa(T38, T39, less14_in_aa(T38, T39))
U1_aa(T38, T39, less14_out_aa(T38, T39)) → less14_out_aa(s(T38), s(T39))
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U18_aa(T22, T23, T24, T9, part24_in_gaaa(T22, T24, X52, X53))
part24_in_gaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_gaaa(T62, T63, T64, X126, X127, less14_in_ga(T62, T63))
less14_in_ga(0, s(T33)) → less14_out_ga(0, s(T33))
less14_in_ga(s(T38), s(T39)) → U1_ga(T38, T39, less14_in_ga(T38, T39))
U1_ga(T38, T39, less14_out_ga(T38, T39)) → less14_out_ga(s(T38), s(T39))
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → U3_gaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
part24_in_gaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_gaaa(T84, T85, T86, X177, X178, part24_in_gaaa(T84, T86, X177, X178))
part24_in_gaaa(T92, [], [], []) → part24_out_gaaa(T92, [], [], [])
U4_gaaa(T84, T85, T86, X177, X178, part24_out_gaaa(T84, T86, X177, X178)) → part24_out_gaaa(T84, .(T85, T86), X177, .(T85, X178))
U3_gaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U18_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, X52, X53)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U19_aa(T22, T23, T24, T9, part24_in_gaaa(T22, T24, T45, T46))
U19_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U20_aa(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
qs1_in_aa(.(T191, .(T192, T193)), T9) → U23_aa(T191, T192, T193, T9, part24_in_aaaa(T191, T193, X336, X337))
part24_in_aaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_aaaa(T62, T63, T64, X126, X127, less14_in_aa(T62, T63))
U2_aaaa(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → part24_out_aaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_aaaa(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → U3_aaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
U3_aaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_aaaa(T62, .(T63, T64), .(T63, X126), X127)
part24_in_aaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_aaaa(T84, T85, T86, X177, X178, part24_in_aaaa(T84, T86, X177, X178))
part24_in_aaaa(T92, [], [], []) → part24_out_aaaa(T92, [], [], [])
U4_aaaa(T84, T85, T86, X177, X178, part24_out_aaaa(T84, T86, X177, X178)) → part24_out_aaaa(T84, .(T85, T86), X177, .(T85, X178))
U23_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, X336, X337)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
qs1_in_aa(.(T191, .(T192, T193)), T9) → U24_aa(T191, T192, T193, T9, part24_in_aaaa(T191, T193, T197, T198))
U24_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U25_aa(T191, T192, T193, T9, qs42_in_aa(T197, X14))
qs42_in_aa([], []) → qs42_out_aa([], [])
qs42_in_aa(.(T103, T104), X230) → U5_aa(T103, T104, X230, part24_in_aaaa(T103, T104, X226, X227))
U5_aa(T103, T104, X230, part24_out_aaaa(T103, T104, X226, X227)) → qs42_out_aa(.(T103, T104), X230)
qs42_in_aa(.(T103, T104), X230) → U6_aa(T103, T104, X230, part24_in_aaaa(T103, T104, T108, T109))
U6_aa(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U7_aa(T103, T104, X230, qs42_in_aa(T108, X228))
U7_aa(T103, T104, X230, qs42_out_aa(T108, X228)) → qs42_out_aa(.(T103, T104), X230)
U6_aa(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U8_aa(T103, T104, X230, T109, qs42_in_aa(T108, T113))
U8_aa(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U9_aa(T103, T104, X230, qs42_in_aa(T109, X229))
U9_aa(T103, T104, X230, qs42_out_aa(T109, X229)) → qs42_out_aa(.(T103, T104), X230)
U8_aa(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U10_aa(T103, T104, X230, T113, qs42_in_aa(T109, T114))
U10_aa(T103, T104, X230, T113, qs42_out_aa(T109, T114)) → U11_aa(T103, T104, X230, app57_in_aaaa(T113, T103, T114, X230))
app57_in_aaaa([], T127, T128, .(T127, T128)) → app57_out_aaaa([], T127, T128, .(T127, T128))
app57_in_aaaa(.(T137, T138), T139, T140, .(T137, X270)) → U12_aaaa(T137, T138, T139, T140, X270, app57_in_aaaa(T138, T139, T140, X270))
U12_aaaa(T137, T138, T139, T140, X270, app57_out_aaaa(T138, T139, T140, X270)) → app57_out_aaaa(.(T137, T138), T139, T140, .(T137, X270))
U11_aa(T103, T104, X230, app57_out_aaaa(T113, T103, T114, X230)) → qs42_out_aa(.(T103, T104), X230)
U25_aa(T191, T192, T193, T9, qs42_out_aa(T197, X14)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
U24_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U26_aa(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_aa(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_aa(T191, T192, T193, T9, p41_in_aaaaa(.(T192, T198), X15, T202, T191, T9))
p41_in_aaaaa(T46, X15, T95, T22, T9) → U14_aaaaa(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
U14_aaaaa(T46, X15, T95, T22, T9, qs42_out_aa(T46, X15)) → p41_out_aaaaa(T46, X15, T95, T22, T9)
p41_in_aaaaa(T46, T98, T95, T22, T9) → U15_aaaaa(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_aaaaa(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_aaaaa(T46, T98, T95, T22, T9, app43_in_aaaa(T95, T22, T98, T9))
app43_in_aaaa([], T157, T158, .(T157, T158)) → app43_out_aaaa([], T157, T158, .(T157, T158))
app43_in_aaaa(.(T169, T170), T171, T172, .(T169, T174)) → U13_aaaa(T169, T170, T171, T172, T174, app43_in_aaaa(T170, T171, T172, T174))
U13_aaaa(T169, T170, T171, T172, T174, app43_out_aaaa(T170, T171, T172, T174)) → app43_out_aaaa(.(T169, T170), T171, T172, .(T169, T174))
U16_aaaaa(T46, T98, T95, T22, T9, app43_out_aaaa(T95, T22, T98, T9)) → p41_out_aaaaa(T46, T98, T95, T22, T9)
U27_aa(T191, T192, T193, T9, p41_out_aaaaa(.(T192, T198), X15, T202, T191, T9)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
qs1_in_aa(.(T207, []), T9) → U28_aa(T207, T9, qs84_in_a(X14))
qs84_in_a([]) → qs84_out_a([])
U28_aa(T207, T9, qs84_out_a(X14)) → qs1_out_aa(.(T207, []), T9)
qs1_in_aa(.(T207, []), T9) → U29_aa(T207, T9, qs84_in_a(T210))
U29_aa(T207, T9, qs84_out_a(T210)) → U30_aa(T207, T9, qs84_in_a(X15))
U30_aa(T207, T9, qs84_out_a(X15)) → qs1_out_aa(.(T207, []), T9)
U29_aa(T207, T9, qs84_out_a(T210)) → U31_aa(T207, T9, T210, qs84_in_a(T213))
U31_aa(T207, T9, T210, qs84_out_a(T213)) → U32_aa(T207, T9, app43_in_gaga(T210, T207, T213, T9))
app43_in_gaga([], T157, T158, .(T157, T158)) → app43_out_gaga([], T157, T158, .(T157, T158))
app43_in_gaga(.(T169, T170), T171, T172, .(T169, T174)) → U13_gaga(T169, T170, T171, T172, T174, app43_in_gaga(T170, T171, T172, T174))
U13_gaga(T169, T170, T171, T172, T174, app43_out_gaga(T170, T171, T172, T174)) → app43_out_gaga(.(T169, T170), T171, T172, .(T169, T174))
U32_aa(T207, T9, app43_out_gaga(T210, T207, T213, T9)) → qs1_out_aa(.(T207, []), T9)
U20_aa(T22, T23, T24, T9, qs1_out_aa(.(T23, T45), X14)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U21_aa(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_aa(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_aa(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
p41_in_aaaga(T46, X15, T95, T22, T9) → U14_aaaga(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
U14_aaaga(T46, X15, T95, T22, T9, qs42_out_aa(T46, X15)) → p41_out_aaaga(T46, X15, T95, T22, T9)
p41_in_aaaga(T46, T98, T95, T22, T9) → U15_aaaga(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_aaaga(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_aaaga(T46, T98, T95, T22, T9, app43_in_agaa(T95, T22, T98, T9))
app43_in_agaa([], T157, T158, .(T157, T158)) → app43_out_agaa([], T157, T158, .(T157, T158))
app43_in_agaa(.(T169, T170), T171, T172, .(T169, T174)) → U13_agaa(T169, T170, T171, T172, T174, app43_in_agaa(T170, T171, T172, T174))
U13_agaa(T169, T170, T171, T172, T174, app43_out_agaa(T170, T171, T172, T174)) → app43_out_agaa(.(T169, T170), T171, T172, .(T169, T174))
U16_aaaga(T46, T98, T95, T22, T9, app43_out_agaa(T95, T22, T98, T9)) → p41_out_aaaga(T46, T98, T95, T22, T9)
U22_aa(T22, T23, T24, T9, p41_out_aaaga(T46, X15, T95, T22, T9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U20_ga(T22, T23, T24, T9, qs1_out_aa(.(T23, T45), X14)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U21_ga(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_ga(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_ga(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
U22_ga(T22, T23, T24, T9, p41_out_aaaga(T46, X15, T95, T22, T9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
qs1_in_ga(.(T191, .(T192, T193)), T9) → U23_ga(T191, T192, T193, T9, part24_in_ggaa(T191, T193, X336, X337))
U23_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, X336, X337)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
qs1_in_ga(.(T191, .(T192, T193)), T9) → U24_ga(T191, T192, T193, T9, part24_in_ggaa(T191, T193, T197, T198))
U24_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U25_ga(T191, T192, T193, T9, qs42_in_aa(T197, X14))
U25_ga(T191, T192, T193, T9, qs42_out_aa(T197, X14)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
U24_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U26_ga(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_ga(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_ga(T191, T192, T193, T9, p41_in_aaaga(.(T192, T198), X15, T202, T191, T9))
U27_ga(T191, T192, T193, T9, p41_out_aaaga(.(T192, T198), X15, T202, T191, T9)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
qs1_in_ga(.(T207, []), T9) → U28_ga(T207, T9, qs84_in_a(X14))
U28_ga(T207, T9, qs84_out_a(X14)) → qs1_out_ga(.(T207, []), T9)
qs1_in_ga(.(T207, []), T9) → U29_ga(T207, T9, qs84_in_a(T210))
U29_ga(T207, T9, qs84_out_a(T210)) → U30_ga(T207, T9, qs84_in_a(X15))
U30_ga(T207, T9, qs84_out_a(X15)) → qs1_out_ga(.(T207, []), T9)
U29_ga(T207, T9, qs84_out_a(T210)) → U31_ga(T207, T9, T210, qs84_in_a(T213))
U31_ga(T207, T9, T210, qs84_out_a(T213)) → U32_ga(T207, T9, app43_in_ggga(T210, T207, T213, T9))
app43_in_ggga([], T157, T158, .(T157, T158)) → app43_out_ggga([], T157, T158, .(T157, T158))
app43_in_ggga(.(T169, T170), T171, T172, .(T169, T174)) → U13_ggga(T169, T170, T171, T172, T174, app43_in_ggga(T170, T171, T172, T174))
U13_ggga(T169, T170, T171, T172, T174, app43_out_ggga(T170, T171, T172, T174)) → app43_out_ggga(.(T169, T170), T171, T172, .(T169, T174))
U32_ga(T207, T9, app43_out_ggga(T210, T207, T213, T9)) → qs1_out_ga(.(T207, []), T9)

The argument filtering Pi contains the following mapping:
qs1_in_ga(x1, x2)  =  qs1_in_ga(x1)
[]  =  []
qs1_out_ga(x1, x2)  =  qs1_out_ga(x1)
.(x1, x2)  =  .(x1, x2)
U17_ga(x1, x2, x3, x4, x5)  =  U17_ga(x1, x2, x3, x5)
less14_in_gg(x1, x2)  =  less14_in_gg(x1, x2)
0  =  0
s(x1)  =  s(x1)
less14_out_gg(x1, x2)  =  less14_out_gg(x1, x2)
U1_gg(x1, x2, x3)  =  U1_gg(x1, x2, x3)
U18_ga(x1, x2, x3, x4, x5)  =  U18_ga(x1, x2, x3, x5)
part24_in_ggaa(x1, x2, x3, x4)  =  part24_in_ggaa(x1, x2)
U2_ggaa(x1, x2, x3, x4, x5, x6)  =  U2_ggaa(x1, x2, x3, x6)
part24_out_ggaa(x1, x2, x3, x4)  =  part24_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)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x2, x3, x5)
U20_ga(x1, x2, x3, x4, x5)  =  U20_ga(x1, x2, x3, x5)
qs1_in_aa(x1, x2)  =  qs1_in_aa
qs1_out_aa(x1, x2)  =  qs1_out_aa
U17_aa(x1, x2, x3, x4, x5)  =  U17_aa(x5)
less14_in_aa(x1, x2)  =  less14_in_aa
less14_out_aa(x1, x2)  =  less14_out_aa(x1)
U1_aa(x1, x2, x3)  =  U1_aa(x3)
U18_aa(x1, x2, x3, x4, x5)  =  U18_aa(x5)
part24_in_gaaa(x1, x2, x3, x4)  =  part24_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x1, x6)
less14_in_ga(x1, x2)  =  less14_in_ga(x1)
less14_out_ga(x1, x2)  =  less14_out_ga(x1)
U1_ga(x1, x2, x3)  =  U1_ga(x1, x3)
part24_out_gaaa(x1, x2, x3, x4)  =  part24_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)
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(x1, x5)
U20_aa(x1, x2, x3, x4, x5)  =  U20_aa(x5)
U23_aa(x1, x2, x3, x4, x5)  =  U23_aa(x5)
part24_in_aaaa(x1, x2, x3, x4)  =  part24_in_aaaa
U2_aaaa(x1, x2, x3, x4, x5, x6)  =  U2_aaaa(x6)
part24_out_aaaa(x1, x2, x3, x4)  =  part24_out_aaaa
U3_aaaa(x1, x2, x3, x4, x5, x6)  =  U3_aaaa(x6)
U4_aaaa(x1, x2, x3, x4, x5, x6)  =  U4_aaaa(x6)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
qs42_in_aa(x1, x2)  =  qs42_in_aa
qs42_out_aa(x1, x2)  =  qs42_out_aa
U5_aa(x1, x2, x3, x4)  =  U5_aa(x4)
U6_aa(x1, x2, x3, x4)  =  U6_aa(x4)
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
U8_aa(x1, x2, x3, x4, x5)  =  U8_aa(x5)
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)
app57_in_aaaa(x1, x2, x3, x4)  =  app57_in_aaaa
app57_out_aaaa(x1, x2, x3, x4)  =  app57_out_aaaa
U12_aaaa(x1, x2, x3, x4, x5, x6)  =  U12_aaaa(x6)
U26_aa(x1, x2, x3, x4, x5, x6)  =  U26_aa(x6)
U27_aa(x1, x2, x3, x4, x5)  =  U27_aa(x5)
p41_in_aaaaa(x1, x2, x3, x4, x5)  =  p41_in_aaaaa
U14_aaaaa(x1, x2, x3, x4, x5, x6)  =  U14_aaaaa(x6)
p41_out_aaaaa(x1, x2, x3, x4, x5)  =  p41_out_aaaaa
U15_aaaaa(x1, x2, x3, x4, x5, x6)  =  U15_aaaaa(x6)
U16_aaaaa(x1, x2, x3, x4, x5, x6)  =  U16_aaaaa(x6)
app43_in_aaaa(x1, x2, x3, x4)  =  app43_in_aaaa
app43_out_aaaa(x1, x2, x3, x4)  =  app43_out_aaaa
U13_aaaa(x1, x2, x3, x4, x5, x6)  =  U13_aaaa(x6)
U28_aa(x1, x2, x3)  =  U28_aa(x3)
qs84_in_a(x1)  =  qs84_in_a
qs84_out_a(x1)  =  qs84_out_a(x1)
U29_aa(x1, x2, x3)  =  U29_aa(x3)
U30_aa(x1, x2, x3)  =  U30_aa(x3)
U31_aa(x1, x2, x3, x4)  =  U31_aa(x3, x4)
U32_aa(x1, x2, x3)  =  U32_aa(x3)
app43_in_gaga(x1, x2, x3, x4)  =  app43_in_gaga(x1, x3)
app43_out_gaga(x1, x2, x3, x4)  =  app43_out_gaga(x1, x3)
U13_gaga(x1, x2, x3, x4, x5, x6)  =  U13_gaga(x1, x2, x4, x6)
U21_aa(x1, x2, x3, x4, x5, x6)  =  U21_aa(x1, x6)
U22_aa(x1, x2, x3, x4, x5)  =  U22_aa(x5)
p41_in_aaaga(x1, x2, x3, x4, x5)  =  p41_in_aaaga(x4)
U14_aaaga(x1, x2, x3, x4, x5, x6)  =  U14_aaaga(x4, x6)
p41_out_aaaga(x1, x2, x3, x4, x5)  =  p41_out_aaaga(x4)
U15_aaaga(x1, x2, x3, x4, x5, x6)  =  U15_aaaga(x4, x6)
U16_aaaga(x1, x2, x3, x4, x5, x6)  =  U16_aaaga(x4, x6)
app43_in_agaa(x1, x2, x3, x4)  =  app43_in_agaa(x2)
app43_out_agaa(x1, x2, x3, x4)  =  app43_out_agaa(x2)
U13_agaa(x1, x2, x3, x4, x5, x6)  =  U13_agaa(x3, x6)
U21_ga(x1, x2, x3, x4, x5, x6)  =  U21_ga(x1, x2, x3, x6)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x1, x2, x3, x5)
U23_ga(x1, x2, x3, x4, x5)  =  U23_ga(x1, x2, x3, x5)
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, x6)  =  U26_ga(x1, x2, x3, x6)
U27_ga(x1, x2, x3, x4, x5)  =  U27_ga(x1, x2, x3, x5)
U28_ga(x1, x2, x3)  =  U28_ga(x1, x3)
U29_ga(x1, x2, x3)  =  U29_ga(x1, x3)
U30_ga(x1, x2, x3)  =  U30_ga(x1, x3)
U31_ga(x1, x2, x3, x4)  =  U31_ga(x1, x3, x4)
U32_ga(x1, x2, x3)  =  U32_ga(x1, x3)
app43_in_ggga(x1, x2, x3, x4)  =  app43_in_ggga(x1, x2, x3)
app43_out_ggga(x1, x2, x3, x4)  =  app43_out_ggga(x1, x2, x3, x4)
U13_ggga(x1, x2, x3, x4, x5, x6)  =  U13_ggga(x1, x2, x3, x4, x6)
QS1_IN_AA(x1, x2)  =  QS1_IN_AA
U17_AA(x1, x2, x3, x4, x5)  =  U17_AA(x5)
U19_AA(x1, x2, x3, x4, x5)  =  U19_AA(x1, x5)

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

(197) UsableRulesProof (EQUIVALENT transformation)

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

(198) Obligation:

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

U17_AA(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U19_AA(T22, T23, T24, T9, part24_in_gaaa(T22, T24, T45, T46))
U19_AA(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → QS1_IN_AA(.(T23, T45), X14)
QS1_IN_AA(.(T22, .(T23, T24)), T9) → U17_AA(T22, T23, T24, T9, less14_in_aa(T22, T23))

The TRS R consists of the following rules:

part24_in_gaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_gaaa(T62, T63, T64, X126, X127, less14_in_ga(T62, T63))
part24_in_gaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_gaaa(T84, T85, T86, X177, X178, part24_in_gaaa(T84, T86, X177, X178))
part24_in_gaaa(T92, [], [], []) → part24_out_gaaa(T92, [], [], [])
less14_in_aa(0, s(T33)) → less14_out_aa(0, s(T33))
less14_in_aa(s(T38), s(T39)) → U1_aa(T38, T39, less14_in_aa(T38, T39))
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → U3_gaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
U4_gaaa(T84, T85, T86, X177, X178, part24_out_gaaa(T84, T86, X177, X178)) → part24_out_gaaa(T84, .(T85, T86), X177, .(T85, X178))
U1_aa(T38, T39, less14_out_aa(T38, T39)) → less14_out_aa(s(T38), s(T39))
less14_in_ga(0, s(T33)) → less14_out_ga(0, s(T33))
less14_in_ga(s(T38), s(T39)) → U1_ga(T38, T39, less14_in_ga(T38, T39))
U3_gaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U1_ga(T38, T39, less14_out_ga(T38, T39)) → less14_out_ga(s(T38), s(T39))

The argument filtering Pi contains the following mapping:
[]  =  []
.(x1, x2)  =  .(x1, x2)
0  =  0
s(x1)  =  s(x1)
less14_in_aa(x1, x2)  =  less14_in_aa
less14_out_aa(x1, x2)  =  less14_out_aa(x1)
U1_aa(x1, x2, x3)  =  U1_aa(x3)
part24_in_gaaa(x1, x2, x3, x4)  =  part24_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x1, x6)
less14_in_ga(x1, x2)  =  less14_in_ga(x1)
less14_out_ga(x1, x2)  =  less14_out_ga(x1)
U1_ga(x1, x2, x3)  =  U1_ga(x1, x3)
part24_out_gaaa(x1, x2, x3, x4)  =  part24_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)
QS1_IN_AA(x1, x2)  =  QS1_IN_AA
U17_AA(x1, x2, x3, x4, x5)  =  U17_AA(x5)
U19_AA(x1, x2, x3, x4, x5)  =  U19_AA(x1, x5)

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

(199) PiDPToQDPProof (SOUND transformation)

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

(200) Obligation:

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

U17_AA(less14_out_aa(T22)) → U19_AA(T22, part24_in_gaaa(T22))
U19_AA(T22, part24_out_gaaa(T22)) → QS1_IN_AA
QS1_IN_AAU17_AA(less14_in_aa)

The TRS R consists of the following rules:

part24_in_gaaa(T62) → U2_gaaa(T62, less14_in_ga(T62))
part24_in_gaaa(T84) → U4_gaaa(T84, part24_in_gaaa(T84))
part24_in_gaaa(T92) → part24_out_gaaa(T92)
less14_in_aaless14_out_aa(0)
less14_in_aaU1_aa(less14_in_aa)
U2_gaaa(T62, less14_out_ga(T62)) → part24_out_gaaa(T62)
U2_gaaa(T62, less14_out_ga(T62)) → U3_gaaa(T62, part24_in_gaaa(T62))
U4_gaaa(T84, part24_out_gaaa(T84)) → part24_out_gaaa(T84)
U1_aa(less14_out_aa(T38)) → less14_out_aa(s(T38))
less14_in_ga(0) → less14_out_ga(0)
less14_in_ga(s(T38)) → U1_ga(T38, less14_in_ga(T38))
U3_gaaa(T62, part24_out_gaaa(T62)) → part24_out_gaaa(T62)
U1_ga(T38, less14_out_ga(T38)) → less14_out_ga(s(T38))

The set Q consists of the following terms:

part24_in_gaaa(x0)
less14_in_aa
U2_gaaa(x0, x1)
U4_gaaa(x0, x1)
U1_aa(x0)
less14_in_ga(x0)
U3_gaaa(x0, x1)
U1_ga(x0, x1)

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

(201) Narrowing (SOUND transformation)

By narrowing [LPAR04] the rule U17_AA(less14_out_aa(T22)) → U19_AA(T22, part24_in_gaaa(T22)) at position [1] we obtained the following new rules [LPAR04]:

U17_AA(less14_out_aa(x0)) → U19_AA(x0, U2_gaaa(x0, less14_in_ga(x0)))
U17_AA(less14_out_aa(x0)) → U19_AA(x0, U4_gaaa(x0, part24_in_gaaa(x0)))
U17_AA(less14_out_aa(x0)) → U19_AA(x0, part24_out_gaaa(x0))

(202) Obligation:

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

U19_AA(T22, part24_out_gaaa(T22)) → QS1_IN_AA
QS1_IN_AAU17_AA(less14_in_aa)
U17_AA(less14_out_aa(x0)) → U19_AA(x0, U2_gaaa(x0, less14_in_ga(x0)))
U17_AA(less14_out_aa(x0)) → U19_AA(x0, U4_gaaa(x0, part24_in_gaaa(x0)))
U17_AA(less14_out_aa(x0)) → U19_AA(x0, part24_out_gaaa(x0))

The TRS R consists of the following rules:

part24_in_gaaa(T62) → U2_gaaa(T62, less14_in_ga(T62))
part24_in_gaaa(T84) → U4_gaaa(T84, part24_in_gaaa(T84))
part24_in_gaaa(T92) → part24_out_gaaa(T92)
less14_in_aaless14_out_aa(0)
less14_in_aaU1_aa(less14_in_aa)
U2_gaaa(T62, less14_out_ga(T62)) → part24_out_gaaa(T62)
U2_gaaa(T62, less14_out_ga(T62)) → U3_gaaa(T62, part24_in_gaaa(T62))
U4_gaaa(T84, part24_out_gaaa(T84)) → part24_out_gaaa(T84)
U1_aa(less14_out_aa(T38)) → less14_out_aa(s(T38))
less14_in_ga(0) → less14_out_ga(0)
less14_in_ga(s(T38)) → U1_ga(T38, less14_in_ga(T38))
U3_gaaa(T62, part24_out_gaaa(T62)) → part24_out_gaaa(T62)
U1_ga(T38, less14_out_ga(T38)) → less14_out_ga(s(T38))

The set Q consists of the following terms:

part24_in_gaaa(x0)
less14_in_aa
U2_gaaa(x0, x1)
U4_gaaa(x0, x1)
U1_aa(x0)
less14_in_ga(x0)
U3_gaaa(x0, x1)
U1_ga(x0, x1)

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

(203) Narrowing (SOUND transformation)

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

QS1_IN_AAU17_AA(less14_out_aa(0))
QS1_IN_AAU17_AA(U1_aa(less14_in_aa))

(204) Obligation:

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

U19_AA(T22, part24_out_gaaa(T22)) → QS1_IN_AA
U17_AA(less14_out_aa(x0)) → U19_AA(x0, U2_gaaa(x0, less14_in_ga(x0)))
U17_AA(less14_out_aa(x0)) → U19_AA(x0, U4_gaaa(x0, part24_in_gaaa(x0)))
U17_AA(less14_out_aa(x0)) → U19_AA(x0, part24_out_gaaa(x0))
QS1_IN_AAU17_AA(less14_out_aa(0))
QS1_IN_AAU17_AA(U1_aa(less14_in_aa))

The TRS R consists of the following rules:

part24_in_gaaa(T62) → U2_gaaa(T62, less14_in_ga(T62))
part24_in_gaaa(T84) → U4_gaaa(T84, part24_in_gaaa(T84))
part24_in_gaaa(T92) → part24_out_gaaa(T92)
less14_in_aaless14_out_aa(0)
less14_in_aaU1_aa(less14_in_aa)
U2_gaaa(T62, less14_out_ga(T62)) → part24_out_gaaa(T62)
U2_gaaa(T62, less14_out_ga(T62)) → U3_gaaa(T62, part24_in_gaaa(T62))
U4_gaaa(T84, part24_out_gaaa(T84)) → part24_out_gaaa(T84)
U1_aa(less14_out_aa(T38)) → less14_out_aa(s(T38))
less14_in_ga(0) → less14_out_ga(0)
less14_in_ga(s(T38)) → U1_ga(T38, less14_in_ga(T38))
U3_gaaa(T62, part24_out_gaaa(T62)) → part24_out_gaaa(T62)
U1_ga(T38, less14_out_ga(T38)) → less14_out_ga(s(T38))

The set Q consists of the following terms:

part24_in_gaaa(x0)
less14_in_aa
U2_gaaa(x0, x1)
U4_gaaa(x0, x1)
U1_aa(x0)
less14_in_ga(x0)
U3_gaaa(x0, x1)
U1_ga(x0, x1)

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

(205) 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_AAU17_AA(less14_out_aa(0))
with rule QS1_IN_AAU17_AA(less14_out_aa(0)) at position [] and matcher [ ]

U17_AA(less14_out_aa(0))U19_AA(0, part24_out_gaaa(0))
with rule U17_AA(less14_out_aa(x0)) → U19_AA(x0, part24_out_gaaa(x0)) at position [] and matcher [x0 / 0]

U19_AA(0, part24_out_gaaa(0))QS1_IN_AA
with rule U19_AA(T22, part24_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.



(206) NO

(207) Obligation:

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

LESS14_IN_GG(s(T38), s(T39)) → LESS14_IN_GG(T38, T39)

The TRS R consists of the following rules:

qs1_in_ga([], []) → qs1_out_ga([], [])
qs1_in_ga(.(T22, .(T23, T24)), T9) → U17_ga(T22, T23, T24, T9, less14_in_gg(T22, T23))
less14_in_gg(0, s(T33)) → less14_out_gg(0, s(T33))
less14_in_gg(s(T38), s(T39)) → U1_gg(T38, T39, less14_in_gg(T38, T39))
U1_gg(T38, T39, less14_out_gg(T38, T39)) → less14_out_gg(s(T38), s(T39))
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U18_ga(T22, T23, T24, T9, part24_in_ggaa(T22, T24, X52, X53))
part24_in_ggaa(T62, .(T63, T64), .(T63, X126), X127) → U2_ggaa(T62, T63, T64, X126, X127, less14_in_gg(T62, T63))
U2_ggaa(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → part24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
U2_ggaa(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → U3_ggaa(T62, T63, T64, X126, X127, part24_in_ggaa(T62, T64, X126, X127))
part24_in_ggaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_ggaa(T84, T85, T86, X177, X178, part24_in_ggaa(T84, T86, X177, X178))
part24_in_ggaa(T92, [], [], []) → part24_out_ggaa(T92, [], [], [])
U4_ggaa(T84, T85, T86, X177, X178, part24_out_ggaa(T84, T86, X177, X178)) → part24_out_ggaa(T84, .(T85, T86), X177, .(T85, X178))
U3_ggaa(T62, T63, T64, X126, X127, part24_out_ggaa(T62, T64, X126, X127)) → part24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
U18_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, X52, X53)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U19_ga(T22, T23, T24, T9, part24_in_ggaa(T22, T24, T45, T46))
U19_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U20_ga(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
qs1_in_aa([], []) → qs1_out_aa([], [])
qs1_in_aa(.(T22, .(T23, T24)), T9) → U17_aa(T22, T23, T24, T9, less14_in_aa(T22, T23))
less14_in_aa(0, s(T33)) → less14_out_aa(0, s(T33))
less14_in_aa(s(T38), s(T39)) → U1_aa(T38, T39, less14_in_aa(T38, T39))
U1_aa(T38, T39, less14_out_aa(T38, T39)) → less14_out_aa(s(T38), s(T39))
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U18_aa(T22, T23, T24, T9, part24_in_gaaa(T22, T24, X52, X53))
part24_in_gaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_gaaa(T62, T63, T64, X126, X127, less14_in_ga(T62, T63))
less14_in_ga(0, s(T33)) → less14_out_ga(0, s(T33))
less14_in_ga(s(T38), s(T39)) → U1_ga(T38, T39, less14_in_ga(T38, T39))
U1_ga(T38, T39, less14_out_ga(T38, T39)) → less14_out_ga(s(T38), s(T39))
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → U3_gaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
part24_in_gaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_gaaa(T84, T85, T86, X177, X178, part24_in_gaaa(T84, T86, X177, X178))
part24_in_gaaa(T92, [], [], []) → part24_out_gaaa(T92, [], [], [])
U4_gaaa(T84, T85, T86, X177, X178, part24_out_gaaa(T84, T86, X177, X178)) → part24_out_gaaa(T84, .(T85, T86), X177, .(T85, X178))
U3_gaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U18_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, X52, X53)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U19_aa(T22, T23, T24, T9, part24_in_gaaa(T22, T24, T45, T46))
U19_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U20_aa(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
qs1_in_aa(.(T191, .(T192, T193)), T9) → U23_aa(T191, T192, T193, T9, part24_in_aaaa(T191, T193, X336, X337))
part24_in_aaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_aaaa(T62, T63, T64, X126, X127, less14_in_aa(T62, T63))
U2_aaaa(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → part24_out_aaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_aaaa(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → U3_aaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
U3_aaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_aaaa(T62, .(T63, T64), .(T63, X126), X127)
part24_in_aaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_aaaa(T84, T85, T86, X177, X178, part24_in_aaaa(T84, T86, X177, X178))
part24_in_aaaa(T92, [], [], []) → part24_out_aaaa(T92, [], [], [])
U4_aaaa(T84, T85, T86, X177, X178, part24_out_aaaa(T84, T86, X177, X178)) → part24_out_aaaa(T84, .(T85, T86), X177, .(T85, X178))
U23_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, X336, X337)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
qs1_in_aa(.(T191, .(T192, T193)), T9) → U24_aa(T191, T192, T193, T9, part24_in_aaaa(T191, T193, T197, T198))
U24_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U25_aa(T191, T192, T193, T9, qs42_in_aa(T197, X14))
qs42_in_aa([], []) → qs42_out_aa([], [])
qs42_in_aa(.(T103, T104), X230) → U5_aa(T103, T104, X230, part24_in_aaaa(T103, T104, X226, X227))
U5_aa(T103, T104, X230, part24_out_aaaa(T103, T104, X226, X227)) → qs42_out_aa(.(T103, T104), X230)
qs42_in_aa(.(T103, T104), X230) → U6_aa(T103, T104, X230, part24_in_aaaa(T103, T104, T108, T109))
U6_aa(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U7_aa(T103, T104, X230, qs42_in_aa(T108, X228))
U7_aa(T103, T104, X230, qs42_out_aa(T108, X228)) → qs42_out_aa(.(T103, T104), X230)
U6_aa(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U8_aa(T103, T104, X230, T109, qs42_in_aa(T108, T113))
U8_aa(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U9_aa(T103, T104, X230, qs42_in_aa(T109, X229))
U9_aa(T103, T104, X230, qs42_out_aa(T109, X229)) → qs42_out_aa(.(T103, T104), X230)
U8_aa(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U10_aa(T103, T104, X230, T113, qs42_in_aa(T109, T114))
U10_aa(T103, T104, X230, T113, qs42_out_aa(T109, T114)) → U11_aa(T103, T104, X230, app57_in_aaaa(T113, T103, T114, X230))
app57_in_aaaa([], T127, T128, .(T127, T128)) → app57_out_aaaa([], T127, T128, .(T127, T128))
app57_in_aaaa(.(T137, T138), T139, T140, .(T137, X270)) → U12_aaaa(T137, T138, T139, T140, X270, app57_in_aaaa(T138, T139, T140, X270))
U12_aaaa(T137, T138, T139, T140, X270, app57_out_aaaa(T138, T139, T140, X270)) → app57_out_aaaa(.(T137, T138), T139, T140, .(T137, X270))
U11_aa(T103, T104, X230, app57_out_aaaa(T113, T103, T114, X230)) → qs42_out_aa(.(T103, T104), X230)
U25_aa(T191, T192, T193, T9, qs42_out_aa(T197, X14)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
U24_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U26_aa(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_aa(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_aa(T191, T192, T193, T9, p41_in_aaaaa(.(T192, T198), X15, T202, T191, T9))
p41_in_aaaaa(T46, X15, T95, T22, T9) → U14_aaaaa(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
U14_aaaaa(T46, X15, T95, T22, T9, qs42_out_aa(T46, X15)) → p41_out_aaaaa(T46, X15, T95, T22, T9)
p41_in_aaaaa(T46, T98, T95, T22, T9) → U15_aaaaa(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_aaaaa(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_aaaaa(T46, T98, T95, T22, T9, app43_in_aaaa(T95, T22, T98, T9))
app43_in_aaaa([], T157, T158, .(T157, T158)) → app43_out_aaaa([], T157, T158, .(T157, T158))
app43_in_aaaa(.(T169, T170), T171, T172, .(T169, T174)) → U13_aaaa(T169, T170, T171, T172, T174, app43_in_aaaa(T170, T171, T172, T174))
U13_aaaa(T169, T170, T171, T172, T174, app43_out_aaaa(T170, T171, T172, T174)) → app43_out_aaaa(.(T169, T170), T171, T172, .(T169, T174))
U16_aaaaa(T46, T98, T95, T22, T9, app43_out_aaaa(T95, T22, T98, T9)) → p41_out_aaaaa(T46, T98, T95, T22, T9)
U27_aa(T191, T192, T193, T9, p41_out_aaaaa(.(T192, T198), X15, T202, T191, T9)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
qs1_in_aa(.(T207, []), T9) → U28_aa(T207, T9, qs84_in_a(X14))
qs84_in_a([]) → qs84_out_a([])
U28_aa(T207, T9, qs84_out_a(X14)) → qs1_out_aa(.(T207, []), T9)
qs1_in_aa(.(T207, []), T9) → U29_aa(T207, T9, qs84_in_a(T210))
U29_aa(T207, T9, qs84_out_a(T210)) → U30_aa(T207, T9, qs84_in_a(X15))
U30_aa(T207, T9, qs84_out_a(X15)) → qs1_out_aa(.(T207, []), T9)
U29_aa(T207, T9, qs84_out_a(T210)) → U31_aa(T207, T9, T210, qs84_in_a(T213))
U31_aa(T207, T9, T210, qs84_out_a(T213)) → U32_aa(T207, T9, app43_in_gaga(T210, T207, T213, T9))
app43_in_gaga([], T157, T158, .(T157, T158)) → app43_out_gaga([], T157, T158, .(T157, T158))
app43_in_gaga(.(T169, T170), T171, T172, .(T169, T174)) → U13_gaga(T169, T170, T171, T172, T174, app43_in_gaga(T170, T171, T172, T174))
U13_gaga(T169, T170, T171, T172, T174, app43_out_gaga(T170, T171, T172, T174)) → app43_out_gaga(.(T169, T170), T171, T172, .(T169, T174))
U32_aa(T207, T9, app43_out_gaga(T210, T207, T213, T9)) → qs1_out_aa(.(T207, []), T9)
U20_aa(T22, T23, T24, T9, qs1_out_aa(.(T23, T45), X14)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U21_aa(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_aa(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_aa(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
p41_in_aaaga(T46, X15, T95, T22, T9) → U14_aaaga(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
U14_aaaga(T46, X15, T95, T22, T9, qs42_out_aa(T46, X15)) → p41_out_aaaga(T46, X15, T95, T22, T9)
p41_in_aaaga(T46, T98, T95, T22, T9) → U15_aaaga(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_aaaga(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_aaaga(T46, T98, T95, T22, T9, app43_in_agaa(T95, T22, T98, T9))
app43_in_agaa([], T157, T158, .(T157, T158)) → app43_out_agaa([], T157, T158, .(T157, T158))
app43_in_agaa(.(T169, T170), T171, T172, .(T169, T174)) → U13_agaa(T169, T170, T171, T172, T174, app43_in_agaa(T170, T171, T172, T174))
U13_agaa(T169, T170, T171, T172, T174, app43_out_agaa(T170, T171, T172, T174)) → app43_out_agaa(.(T169, T170), T171, T172, .(T169, T174))
U16_aaaga(T46, T98, T95, T22, T9, app43_out_agaa(T95, T22, T98, T9)) → p41_out_aaaga(T46, T98, T95, T22, T9)
U22_aa(T22, T23, T24, T9, p41_out_aaaga(T46, X15, T95, T22, T9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U20_ga(T22, T23, T24, T9, qs1_out_aa(.(T23, T45), X14)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U21_ga(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_ga(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_ga(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
U22_ga(T22, T23, T24, T9, p41_out_aaaga(T46, X15, T95, T22, T9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
qs1_in_ga(.(T191, .(T192, T193)), T9) → U23_ga(T191, T192, T193, T9, part24_in_ggaa(T191, T193, X336, X337))
U23_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, X336, X337)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
qs1_in_ga(.(T191, .(T192, T193)), T9) → U24_ga(T191, T192, T193, T9, part24_in_ggaa(T191, T193, T197, T198))
U24_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U25_ga(T191, T192, T193, T9, qs42_in_aa(T197, X14))
U25_ga(T191, T192, T193, T9, qs42_out_aa(T197, X14)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
U24_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U26_ga(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_ga(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_ga(T191, T192, T193, T9, p41_in_aaaga(.(T192, T198), X15, T202, T191, T9))
U27_ga(T191, T192, T193, T9, p41_out_aaaga(.(T192, T198), X15, T202, T191, T9)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
qs1_in_ga(.(T207, []), T9) → U28_ga(T207, T9, qs84_in_a(X14))
U28_ga(T207, T9, qs84_out_a(X14)) → qs1_out_ga(.(T207, []), T9)
qs1_in_ga(.(T207, []), T9) → U29_ga(T207, T9, qs84_in_a(T210))
U29_ga(T207, T9, qs84_out_a(T210)) → U30_ga(T207, T9, qs84_in_a(X15))
U30_ga(T207, T9, qs84_out_a(X15)) → qs1_out_ga(.(T207, []), T9)
U29_ga(T207, T9, qs84_out_a(T210)) → U31_ga(T207, T9, T210, qs84_in_a(T213))
U31_ga(T207, T9, T210, qs84_out_a(T213)) → U32_ga(T207, T9, app43_in_ggga(T210, T207, T213, T9))
app43_in_ggga([], T157, T158, .(T157, T158)) → app43_out_ggga([], T157, T158, .(T157, T158))
app43_in_ggga(.(T169, T170), T171, T172, .(T169, T174)) → U13_ggga(T169, T170, T171, T172, T174, app43_in_ggga(T170, T171, T172, T174))
U13_ggga(T169, T170, T171, T172, T174, app43_out_ggga(T170, T171, T172, T174)) → app43_out_ggga(.(T169, T170), T171, T172, .(T169, T174))
U32_ga(T207, T9, app43_out_ggga(T210, T207, T213, T9)) → qs1_out_ga(.(T207, []), T9)

The argument filtering Pi contains the following mapping:
qs1_in_ga(x1, x2)  =  qs1_in_ga(x1)
[]  =  []
qs1_out_ga(x1, x2)  =  qs1_out_ga(x1)
.(x1, x2)  =  .(x1, x2)
U17_ga(x1, x2, x3, x4, x5)  =  U17_ga(x1, x2, x3, x5)
less14_in_gg(x1, x2)  =  less14_in_gg(x1, x2)
0  =  0
s(x1)  =  s(x1)
less14_out_gg(x1, x2)  =  less14_out_gg(x1, x2)
U1_gg(x1, x2, x3)  =  U1_gg(x1, x2, x3)
U18_ga(x1, x2, x3, x4, x5)  =  U18_ga(x1, x2, x3, x5)
part24_in_ggaa(x1, x2, x3, x4)  =  part24_in_ggaa(x1, x2)
U2_ggaa(x1, x2, x3, x4, x5, x6)  =  U2_ggaa(x1, x2, x3, x6)
part24_out_ggaa(x1, x2, x3, x4)  =  part24_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)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x2, x3, x5)
U20_ga(x1, x2, x3, x4, x5)  =  U20_ga(x1, x2, x3, x5)
qs1_in_aa(x1, x2)  =  qs1_in_aa
qs1_out_aa(x1, x2)  =  qs1_out_aa
U17_aa(x1, x2, x3, x4, x5)  =  U17_aa(x5)
less14_in_aa(x1, x2)  =  less14_in_aa
less14_out_aa(x1, x2)  =  less14_out_aa(x1)
U1_aa(x1, x2, x3)  =  U1_aa(x3)
U18_aa(x1, x2, x3, x4, x5)  =  U18_aa(x5)
part24_in_gaaa(x1, x2, x3, x4)  =  part24_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x1, x6)
less14_in_ga(x1, x2)  =  less14_in_ga(x1)
less14_out_ga(x1, x2)  =  less14_out_ga(x1)
U1_ga(x1, x2, x3)  =  U1_ga(x1, x3)
part24_out_gaaa(x1, x2, x3, x4)  =  part24_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)
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(x1, x5)
U20_aa(x1, x2, x3, x4, x5)  =  U20_aa(x5)
U23_aa(x1, x2, x3, x4, x5)  =  U23_aa(x5)
part24_in_aaaa(x1, x2, x3, x4)  =  part24_in_aaaa
U2_aaaa(x1, x2, x3, x4, x5, x6)  =  U2_aaaa(x6)
part24_out_aaaa(x1, x2, x3, x4)  =  part24_out_aaaa
U3_aaaa(x1, x2, x3, x4, x5, x6)  =  U3_aaaa(x6)
U4_aaaa(x1, x2, x3, x4, x5, x6)  =  U4_aaaa(x6)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
qs42_in_aa(x1, x2)  =  qs42_in_aa
qs42_out_aa(x1, x2)  =  qs42_out_aa
U5_aa(x1, x2, x3, x4)  =  U5_aa(x4)
U6_aa(x1, x2, x3, x4)  =  U6_aa(x4)
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
U8_aa(x1, x2, x3, x4, x5)  =  U8_aa(x5)
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)
app57_in_aaaa(x1, x2, x3, x4)  =  app57_in_aaaa
app57_out_aaaa(x1, x2, x3, x4)  =  app57_out_aaaa
U12_aaaa(x1, x2, x3, x4, x5, x6)  =  U12_aaaa(x6)
U26_aa(x1, x2, x3, x4, x5, x6)  =  U26_aa(x6)
U27_aa(x1, x2, x3, x4, x5)  =  U27_aa(x5)
p41_in_aaaaa(x1, x2, x3, x4, x5)  =  p41_in_aaaaa
U14_aaaaa(x1, x2, x3, x4, x5, x6)  =  U14_aaaaa(x6)
p41_out_aaaaa(x1, x2, x3, x4, x5)  =  p41_out_aaaaa
U15_aaaaa(x1, x2, x3, x4, x5, x6)  =  U15_aaaaa(x6)
U16_aaaaa(x1, x2, x3, x4, x5, x6)  =  U16_aaaaa(x6)
app43_in_aaaa(x1, x2, x3, x4)  =  app43_in_aaaa
app43_out_aaaa(x1, x2, x3, x4)  =  app43_out_aaaa
U13_aaaa(x1, x2, x3, x4, x5, x6)  =  U13_aaaa(x6)
U28_aa(x1, x2, x3)  =  U28_aa(x3)
qs84_in_a(x1)  =  qs84_in_a
qs84_out_a(x1)  =  qs84_out_a(x1)
U29_aa(x1, x2, x3)  =  U29_aa(x3)
U30_aa(x1, x2, x3)  =  U30_aa(x3)
U31_aa(x1, x2, x3, x4)  =  U31_aa(x3, x4)
U32_aa(x1, x2, x3)  =  U32_aa(x3)
app43_in_gaga(x1, x2, x3, x4)  =  app43_in_gaga(x1, x3)
app43_out_gaga(x1, x2, x3, x4)  =  app43_out_gaga(x1, x3)
U13_gaga(x1, x2, x3, x4, x5, x6)  =  U13_gaga(x1, x2, x4, x6)
U21_aa(x1, x2, x3, x4, x5, x6)  =  U21_aa(x1, x6)
U22_aa(x1, x2, x3, x4, x5)  =  U22_aa(x5)
p41_in_aaaga(x1, x2, x3, x4, x5)  =  p41_in_aaaga(x4)
U14_aaaga(x1, x2, x3, x4, x5, x6)  =  U14_aaaga(x4, x6)
p41_out_aaaga(x1, x2, x3, x4, x5)  =  p41_out_aaaga(x4)
U15_aaaga(x1, x2, x3, x4, x5, x6)  =  U15_aaaga(x4, x6)
U16_aaaga(x1, x2, x3, x4, x5, x6)  =  U16_aaaga(x4, x6)
app43_in_agaa(x1, x2, x3, x4)  =  app43_in_agaa(x2)
app43_out_agaa(x1, x2, x3, x4)  =  app43_out_agaa(x2)
U13_agaa(x1, x2, x3, x4, x5, x6)  =  U13_agaa(x3, x6)
U21_ga(x1, x2, x3, x4, x5, x6)  =  U21_ga(x1, x2, x3, x6)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x1, x2, x3, x5)
U23_ga(x1, x2, x3, x4, x5)  =  U23_ga(x1, x2, x3, x5)
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, x6)  =  U26_ga(x1, x2, x3, x6)
U27_ga(x1, x2, x3, x4, x5)  =  U27_ga(x1, x2, x3, x5)
U28_ga(x1, x2, x3)  =  U28_ga(x1, x3)
U29_ga(x1, x2, x3)  =  U29_ga(x1, x3)
U30_ga(x1, x2, x3)  =  U30_ga(x1, x3)
U31_ga(x1, x2, x3, x4)  =  U31_ga(x1, x3, x4)
U32_ga(x1, x2, x3)  =  U32_ga(x1, x3)
app43_in_ggga(x1, x2, x3, x4)  =  app43_in_ggga(x1, x2, x3)
app43_out_ggga(x1, x2, x3, x4)  =  app43_out_ggga(x1, x2, x3, x4)
U13_ggga(x1, x2, x3, x4, x5, x6)  =  U13_ggga(x1, x2, x3, x4, x6)
LESS14_IN_GG(x1, x2)  =  LESS14_IN_GG(x1, x2)

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

(208) UsableRulesProof (EQUIVALENT transformation)

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

(209) Obligation:

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

LESS14_IN_GG(s(T38), s(T39)) → LESS14_IN_GG(T38, T39)

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

(210) PiDPToQDPProof (EQUIVALENT transformation)

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

(211) Obligation:

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

LESS14_IN_GG(s(T38), s(T39)) → LESS14_IN_GG(T38, T39)

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

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

  • LESS14_IN_GG(s(T38), s(T39)) → LESS14_IN_GG(T38, T39)
    The graph contains the following edges 1 > 1, 2 > 2

(213) YES

(214) Obligation:

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

PART24_IN_GGAA(T62, .(T63, T64), .(T63, X126), X127) → U2_GGAA(T62, T63, T64, X126, X127, less14_in_gg(T62, T63))
U2_GGAA(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → PART24_IN_GGAA(T62, T64, X126, X127)
PART24_IN_GGAA(T84, .(T85, T86), X177, .(T85, X178)) → PART24_IN_GGAA(T84, T86, X177, X178)

The TRS R consists of the following rules:

qs1_in_ga([], []) → qs1_out_ga([], [])
qs1_in_ga(.(T22, .(T23, T24)), T9) → U17_ga(T22, T23, T24, T9, less14_in_gg(T22, T23))
less14_in_gg(0, s(T33)) → less14_out_gg(0, s(T33))
less14_in_gg(s(T38), s(T39)) → U1_gg(T38, T39, less14_in_gg(T38, T39))
U1_gg(T38, T39, less14_out_gg(T38, T39)) → less14_out_gg(s(T38), s(T39))
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U18_ga(T22, T23, T24, T9, part24_in_ggaa(T22, T24, X52, X53))
part24_in_ggaa(T62, .(T63, T64), .(T63, X126), X127) → U2_ggaa(T62, T63, T64, X126, X127, less14_in_gg(T62, T63))
U2_ggaa(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → part24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
U2_ggaa(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → U3_ggaa(T62, T63, T64, X126, X127, part24_in_ggaa(T62, T64, X126, X127))
part24_in_ggaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_ggaa(T84, T85, T86, X177, X178, part24_in_ggaa(T84, T86, X177, X178))
part24_in_ggaa(T92, [], [], []) → part24_out_ggaa(T92, [], [], [])
U4_ggaa(T84, T85, T86, X177, X178, part24_out_ggaa(T84, T86, X177, X178)) → part24_out_ggaa(T84, .(T85, T86), X177, .(T85, X178))
U3_ggaa(T62, T63, T64, X126, X127, part24_out_ggaa(T62, T64, X126, X127)) → part24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
U18_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, X52, X53)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U17_ga(T22, T23, T24, T9, less14_out_gg(T22, T23)) → U19_ga(T22, T23, T24, T9, part24_in_ggaa(T22, T24, T45, T46))
U19_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U20_ga(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
qs1_in_aa([], []) → qs1_out_aa([], [])
qs1_in_aa(.(T22, .(T23, T24)), T9) → U17_aa(T22, T23, T24, T9, less14_in_aa(T22, T23))
less14_in_aa(0, s(T33)) → less14_out_aa(0, s(T33))
less14_in_aa(s(T38), s(T39)) → U1_aa(T38, T39, less14_in_aa(T38, T39))
U1_aa(T38, T39, less14_out_aa(T38, T39)) → less14_out_aa(s(T38), s(T39))
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U18_aa(T22, T23, T24, T9, part24_in_gaaa(T22, T24, X52, X53))
part24_in_gaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_gaaa(T62, T63, T64, X126, X127, less14_in_ga(T62, T63))
less14_in_ga(0, s(T33)) → less14_out_ga(0, s(T33))
less14_in_ga(s(T38), s(T39)) → U1_ga(T38, T39, less14_in_ga(T38, T39))
U1_ga(T38, T39, less14_out_ga(T38, T39)) → less14_out_ga(s(T38), s(T39))
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_gaaa(T62, T63, T64, X126, X127, less14_out_ga(T62, T63)) → U3_gaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
part24_in_gaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_gaaa(T84, T85, T86, X177, X178, part24_in_gaaa(T84, T86, X177, X178))
part24_in_gaaa(T92, [], [], []) → part24_out_gaaa(T92, [], [], [])
U4_gaaa(T84, T85, T86, X177, X178, part24_out_gaaa(T84, T86, X177, X178)) → part24_out_gaaa(T84, .(T85, T86), X177, .(T85, X178))
U3_gaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_gaaa(T62, .(T63, T64), .(T63, X126), X127)
U18_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, X52, X53)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U17_aa(T22, T23, T24, T9, less14_out_aa(T22, T23)) → U19_aa(T22, T23, T24, T9, part24_in_gaaa(T22, T24, T45, T46))
U19_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U20_aa(T22, T23, T24, T9, qs1_in_aa(.(T23, T45), X14))
qs1_in_aa(.(T191, .(T192, T193)), T9) → U23_aa(T191, T192, T193, T9, part24_in_aaaa(T191, T193, X336, X337))
part24_in_aaaa(T62, .(T63, T64), .(T63, X126), X127) → U2_aaaa(T62, T63, T64, X126, X127, less14_in_aa(T62, T63))
U2_aaaa(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → part24_out_aaaa(T62, .(T63, T64), .(T63, X126), X127)
U2_aaaa(T62, T63, T64, X126, X127, less14_out_aa(T62, T63)) → U3_aaaa(T62, T63, T64, X126, X127, part24_in_gaaa(T62, T64, X126, X127))
U3_aaaa(T62, T63, T64, X126, X127, part24_out_gaaa(T62, T64, X126, X127)) → part24_out_aaaa(T62, .(T63, T64), .(T63, X126), X127)
part24_in_aaaa(T84, .(T85, T86), X177, .(T85, X178)) → U4_aaaa(T84, T85, T86, X177, X178, part24_in_aaaa(T84, T86, X177, X178))
part24_in_aaaa(T92, [], [], []) → part24_out_aaaa(T92, [], [], [])
U4_aaaa(T84, T85, T86, X177, X178, part24_out_aaaa(T84, T86, X177, X178)) → part24_out_aaaa(T84, .(T85, T86), X177, .(T85, X178))
U23_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, X336, X337)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
qs1_in_aa(.(T191, .(T192, T193)), T9) → U24_aa(T191, T192, T193, T9, part24_in_aaaa(T191, T193, T197, T198))
U24_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U25_aa(T191, T192, T193, T9, qs42_in_aa(T197, X14))
qs42_in_aa([], []) → qs42_out_aa([], [])
qs42_in_aa(.(T103, T104), X230) → U5_aa(T103, T104, X230, part24_in_aaaa(T103, T104, X226, X227))
U5_aa(T103, T104, X230, part24_out_aaaa(T103, T104, X226, X227)) → qs42_out_aa(.(T103, T104), X230)
qs42_in_aa(.(T103, T104), X230) → U6_aa(T103, T104, X230, part24_in_aaaa(T103, T104, T108, T109))
U6_aa(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U7_aa(T103, T104, X230, qs42_in_aa(T108, X228))
U7_aa(T103, T104, X230, qs42_out_aa(T108, X228)) → qs42_out_aa(.(T103, T104), X230)
U6_aa(T103, T104, X230, part24_out_aaaa(T103, T104, T108, T109)) → U8_aa(T103, T104, X230, T109, qs42_in_aa(T108, T113))
U8_aa(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U9_aa(T103, T104, X230, qs42_in_aa(T109, X229))
U9_aa(T103, T104, X230, qs42_out_aa(T109, X229)) → qs42_out_aa(.(T103, T104), X230)
U8_aa(T103, T104, X230, T109, qs42_out_aa(T108, T113)) → U10_aa(T103, T104, X230, T113, qs42_in_aa(T109, T114))
U10_aa(T103, T104, X230, T113, qs42_out_aa(T109, T114)) → U11_aa(T103, T104, X230, app57_in_aaaa(T113, T103, T114, X230))
app57_in_aaaa([], T127, T128, .(T127, T128)) → app57_out_aaaa([], T127, T128, .(T127, T128))
app57_in_aaaa(.(T137, T138), T139, T140, .(T137, X270)) → U12_aaaa(T137, T138, T139, T140, X270, app57_in_aaaa(T138, T139, T140, X270))
U12_aaaa(T137, T138, T139, T140, X270, app57_out_aaaa(T138, T139, T140, X270)) → app57_out_aaaa(.(T137, T138), T139, T140, .(T137, X270))
U11_aa(T103, T104, X230, app57_out_aaaa(T113, T103, T114, X230)) → qs42_out_aa(.(T103, T104), X230)
U25_aa(T191, T192, T193, T9, qs42_out_aa(T197, X14)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
U24_aa(T191, T192, T193, T9, part24_out_aaaa(T191, T193, T197, T198)) → U26_aa(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_aa(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_aa(T191, T192, T193, T9, p41_in_aaaaa(.(T192, T198), X15, T202, T191, T9))
p41_in_aaaaa(T46, X15, T95, T22, T9) → U14_aaaaa(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
U14_aaaaa(T46, X15, T95, T22, T9, qs42_out_aa(T46, X15)) → p41_out_aaaaa(T46, X15, T95, T22, T9)
p41_in_aaaaa(T46, T98, T95, T22, T9) → U15_aaaaa(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_aaaaa(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_aaaaa(T46, T98, T95, T22, T9, app43_in_aaaa(T95, T22, T98, T9))
app43_in_aaaa([], T157, T158, .(T157, T158)) → app43_out_aaaa([], T157, T158, .(T157, T158))
app43_in_aaaa(.(T169, T170), T171, T172, .(T169, T174)) → U13_aaaa(T169, T170, T171, T172, T174, app43_in_aaaa(T170, T171, T172, T174))
U13_aaaa(T169, T170, T171, T172, T174, app43_out_aaaa(T170, T171, T172, T174)) → app43_out_aaaa(.(T169, T170), T171, T172, .(T169, T174))
U16_aaaaa(T46, T98, T95, T22, T9, app43_out_aaaa(T95, T22, T98, T9)) → p41_out_aaaaa(T46, T98, T95, T22, T9)
U27_aa(T191, T192, T193, T9, p41_out_aaaaa(.(T192, T198), X15, T202, T191, T9)) → qs1_out_aa(.(T191, .(T192, T193)), T9)
qs1_in_aa(.(T207, []), T9) → U28_aa(T207, T9, qs84_in_a(X14))
qs84_in_a([]) → qs84_out_a([])
U28_aa(T207, T9, qs84_out_a(X14)) → qs1_out_aa(.(T207, []), T9)
qs1_in_aa(.(T207, []), T9) → U29_aa(T207, T9, qs84_in_a(T210))
U29_aa(T207, T9, qs84_out_a(T210)) → U30_aa(T207, T9, qs84_in_a(X15))
U30_aa(T207, T9, qs84_out_a(X15)) → qs1_out_aa(.(T207, []), T9)
U29_aa(T207, T9, qs84_out_a(T210)) → U31_aa(T207, T9, T210, qs84_in_a(T213))
U31_aa(T207, T9, T210, qs84_out_a(T213)) → U32_aa(T207, T9, app43_in_gaga(T210, T207, T213, T9))
app43_in_gaga([], T157, T158, .(T157, T158)) → app43_out_gaga([], T157, T158, .(T157, T158))
app43_in_gaga(.(T169, T170), T171, T172, .(T169, T174)) → U13_gaga(T169, T170, T171, T172, T174, app43_in_gaga(T170, T171, T172, T174))
U13_gaga(T169, T170, T171, T172, T174, app43_out_gaga(T170, T171, T172, T174)) → app43_out_gaga(.(T169, T170), T171, T172, .(T169, T174))
U32_aa(T207, T9, app43_out_gaga(T210, T207, T213, T9)) → qs1_out_aa(.(T207, []), T9)
U20_aa(T22, T23, T24, T9, qs1_out_aa(.(T23, T45), X14)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U19_aa(T22, T23, T24, T9, part24_out_gaaa(T22, T24, T45, T46)) → U21_aa(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_aa(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_aa(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
p41_in_aaaga(T46, X15, T95, T22, T9) → U14_aaaga(T46, X15, T95, T22, T9, qs42_in_aa(T46, X15))
U14_aaaga(T46, X15, T95, T22, T9, qs42_out_aa(T46, X15)) → p41_out_aaaga(T46, X15, T95, T22, T9)
p41_in_aaaga(T46, T98, T95, T22, T9) → U15_aaaga(T46, T98, T95, T22, T9, qs42_in_aa(T46, T98))
U15_aaaga(T46, T98, T95, T22, T9, qs42_out_aa(T46, T98)) → U16_aaaga(T46, T98, T95, T22, T9, app43_in_agaa(T95, T22, T98, T9))
app43_in_agaa([], T157, T158, .(T157, T158)) → app43_out_agaa([], T157, T158, .(T157, T158))
app43_in_agaa(.(T169, T170), T171, T172, .(T169, T174)) → U13_agaa(T169, T170, T171, T172, T174, app43_in_agaa(T170, T171, T172, T174))
U13_agaa(T169, T170, T171, T172, T174, app43_out_agaa(T170, T171, T172, T174)) → app43_out_agaa(.(T169, T170), T171, T172, .(T169, T174))
U16_aaaga(T46, T98, T95, T22, T9, app43_out_agaa(T95, T22, T98, T9)) → p41_out_aaaga(T46, T98, T95, T22, T9)
U22_aa(T22, T23, T24, T9, p41_out_aaaga(T46, X15, T95, T22, T9)) → qs1_out_aa(.(T22, .(T23, T24)), T9)
U20_ga(T22, T23, T24, T9, qs1_out_aa(.(T23, T45), X14)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
U19_ga(T22, T23, T24, T9, part24_out_ggaa(T22, T24, T45, T46)) → U21_ga(T22, T23, T24, T9, T46, qs1_in_aa(.(T23, T45), T95))
U21_ga(T22, T23, T24, T9, T46, qs1_out_aa(.(T23, T45), T95)) → U22_ga(T22, T23, T24, T9, p41_in_aaaga(T46, X15, T95, T22, T9))
U22_ga(T22, T23, T24, T9, p41_out_aaaga(T46, X15, T95, T22, T9)) → qs1_out_ga(.(T22, .(T23, T24)), T9)
qs1_in_ga(.(T191, .(T192, T193)), T9) → U23_ga(T191, T192, T193, T9, part24_in_ggaa(T191, T193, X336, X337))
U23_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, X336, X337)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
qs1_in_ga(.(T191, .(T192, T193)), T9) → U24_ga(T191, T192, T193, T9, part24_in_ggaa(T191, T193, T197, T198))
U24_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U25_ga(T191, T192, T193, T9, qs42_in_aa(T197, X14))
U25_ga(T191, T192, T193, T9, qs42_out_aa(T197, X14)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
U24_ga(T191, T192, T193, T9, part24_out_ggaa(T191, T193, T197, T198)) → U26_ga(T191, T192, T193, T9, T198, qs42_in_aa(T197, T202))
U26_ga(T191, T192, T193, T9, T198, qs42_out_aa(T197, T202)) → U27_ga(T191, T192, T193, T9, p41_in_aaaga(.(T192, T198), X15, T202, T191, T9))
U27_ga(T191, T192, T193, T9, p41_out_aaaga(.(T192, T198), X15, T202, T191, T9)) → qs1_out_ga(.(T191, .(T192, T193)), T9)
qs1_in_ga(.(T207, []), T9) → U28_ga(T207, T9, qs84_in_a(X14))
U28_ga(T207, T9, qs84_out_a(X14)) → qs1_out_ga(.(T207, []), T9)
qs1_in_ga(.(T207, []), T9) → U29_ga(T207, T9, qs84_in_a(T210))
U29_ga(T207, T9, qs84_out_a(T210)) → U30_ga(T207, T9, qs84_in_a(X15))
U30_ga(T207, T9, qs84_out_a(X15)) → qs1_out_ga(.(T207, []), T9)
U29_ga(T207, T9, qs84_out_a(T210)) → U31_ga(T207, T9, T210, qs84_in_a(T213))
U31_ga(T207, T9, T210, qs84_out_a(T213)) → U32_ga(T207, T9, app43_in_ggga(T210, T207, T213, T9))
app43_in_ggga([], T157, T158, .(T157, T158)) → app43_out_ggga([], T157, T158, .(T157, T158))
app43_in_ggga(.(T169, T170), T171, T172, .(T169, T174)) → U13_ggga(T169, T170, T171, T172, T174, app43_in_ggga(T170, T171, T172, T174))
U13_ggga(T169, T170, T171, T172, T174, app43_out_ggga(T170, T171, T172, T174)) → app43_out_ggga(.(T169, T170), T171, T172, .(T169, T174))
U32_ga(T207, T9, app43_out_ggga(T210, T207, T213, T9)) → qs1_out_ga(.(T207, []), T9)

The argument filtering Pi contains the following mapping:
qs1_in_ga(x1, x2)  =  qs1_in_ga(x1)
[]  =  []
qs1_out_ga(x1, x2)  =  qs1_out_ga(x1)
.(x1, x2)  =  .(x1, x2)
U17_ga(x1, x2, x3, x4, x5)  =  U17_ga(x1, x2, x3, x5)
less14_in_gg(x1, x2)  =  less14_in_gg(x1, x2)
0  =  0
s(x1)  =  s(x1)
less14_out_gg(x1, x2)  =  less14_out_gg(x1, x2)
U1_gg(x1, x2, x3)  =  U1_gg(x1, x2, x3)
U18_ga(x1, x2, x3, x4, x5)  =  U18_ga(x1, x2, x3, x5)
part24_in_ggaa(x1, x2, x3, x4)  =  part24_in_ggaa(x1, x2)
U2_ggaa(x1, x2, x3, x4, x5, x6)  =  U2_ggaa(x1, x2, x3, x6)
part24_out_ggaa(x1, x2, x3, x4)  =  part24_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)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x2, x3, x5)
U20_ga(x1, x2, x3, x4, x5)  =  U20_ga(x1, x2, x3, x5)
qs1_in_aa(x1, x2)  =  qs1_in_aa
qs1_out_aa(x1, x2)  =  qs1_out_aa
U17_aa(x1, x2, x3, x4, x5)  =  U17_aa(x5)
less14_in_aa(x1, x2)  =  less14_in_aa
less14_out_aa(x1, x2)  =  less14_out_aa(x1)
U1_aa(x1, x2, x3)  =  U1_aa(x3)
U18_aa(x1, x2, x3, x4, x5)  =  U18_aa(x5)
part24_in_gaaa(x1, x2, x3, x4)  =  part24_in_gaaa(x1)
U2_gaaa(x1, x2, x3, x4, x5, x6)  =  U2_gaaa(x1, x6)
less14_in_ga(x1, x2)  =  less14_in_ga(x1)
less14_out_ga(x1, x2)  =  less14_out_ga(x1)
U1_ga(x1, x2, x3)  =  U1_ga(x1, x3)
part24_out_gaaa(x1, x2, x3, x4)  =  part24_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)
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(x1, x5)
U20_aa(x1, x2, x3, x4, x5)  =  U20_aa(x5)
U23_aa(x1, x2, x3, x4, x5)  =  U23_aa(x5)
part24_in_aaaa(x1, x2, x3, x4)  =  part24_in_aaaa
U2_aaaa(x1, x2, x3, x4, x5, x6)  =  U2_aaaa(x6)
part24_out_aaaa(x1, x2, x3, x4)  =  part24_out_aaaa
U3_aaaa(x1, x2, x3, x4, x5, x6)  =  U3_aaaa(x6)
U4_aaaa(x1, x2, x3, x4, x5, x6)  =  U4_aaaa(x6)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U25_aa(x1, x2, x3, x4, x5)  =  U25_aa(x5)
qs42_in_aa(x1, x2)  =  qs42_in_aa
qs42_out_aa(x1, x2)  =  qs42_out_aa
U5_aa(x1, x2, x3, x4)  =  U5_aa(x4)
U6_aa(x1, x2, x3, x4)  =  U6_aa(x4)
U7_aa(x1, x2, x3, x4)  =  U7_aa(x4)
U8_aa(x1, x2, x3, x4, x5)  =  U8_aa(x5)
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)
app57_in_aaaa(x1, x2, x3, x4)  =  app57_in_aaaa
app57_out_aaaa(x1, x2, x3, x4)  =  app57_out_aaaa
U12_aaaa(x1, x2, x3, x4, x5, x6)  =  U12_aaaa(x6)
U26_aa(x1, x2, x3, x4, x5, x6)  =  U26_aa(x6)
U27_aa(x1, x2, x3, x4, x5)  =  U27_aa(x5)
p41_in_aaaaa(x1, x2, x3, x4, x5)  =  p41_in_aaaaa
U14_aaaaa(x1, x2, x3, x4, x5, x6)  =  U14_aaaaa(x6)
p41_out_aaaaa(x1, x2, x3, x4, x5)  =  p41_out_aaaaa
U15_aaaaa(x1, x2, x3, x4, x5, x6)  =  U15_aaaaa(x6)
U16_aaaaa(x1, x2, x3, x4, x5, x6)  =  U16_aaaaa(x6)
app43_in_aaaa(x1, x2, x3, x4)  =  app43_in_aaaa
app43_out_aaaa(x1, x2, x3, x4)  =  app43_out_aaaa
U13_aaaa(x1, x2, x3, x4, x5, x6)  =  U13_aaaa(x6)
U28_aa(x1, x2, x3)  =  U28_aa(x3)
qs84_in_a(x1)  =  qs84_in_a
qs84_out_a(x1)  =  qs84_out_a(x1)
U29_aa(x1, x2, x3)  =  U29_aa(x3)
U30_aa(x1, x2, x3)  =  U30_aa(x3)
U31_aa(x1, x2, x3, x4)  =  U31_aa(x3, x4)
U32_aa(x1, x2, x3)  =  U32_aa(x3)
app43_in_gaga(x1, x2, x3, x4)  =  app43_in_gaga(x1, x3)
app43_out_gaga(x1, x2, x3, x4)  =  app43_out_gaga(x1, x3)
U13_gaga(x1, x2, x3, x4, x5, x6)  =  U13_gaga(x1, x2, x4, x6)
U21_aa(x1, x2, x3, x4, x5, x6)  =  U21_aa(x1, x6)
U22_aa(x1, x2, x3, x4, x5)  =  U22_aa(x5)
p41_in_aaaga(x1, x2, x3, x4, x5)  =  p41_in_aaaga(x4)
U14_aaaga(x1, x2, x3, x4, x5, x6)  =  U14_aaaga(x4, x6)
p41_out_aaaga(x1, x2, x3, x4, x5)  =  p41_out_aaaga(x4)
U15_aaaga(x1, x2, x3, x4, x5, x6)  =  U15_aaaga(x4, x6)
U16_aaaga(x1, x2, x3, x4, x5, x6)  =  U16_aaaga(x4, x6)
app43_in_agaa(x1, x2, x3, x4)  =  app43_in_agaa(x2)
app43_out_agaa(x1, x2, x3, x4)  =  app43_out_agaa(x2)
U13_agaa(x1, x2, x3, x4, x5, x6)  =  U13_agaa(x3, x6)
U21_ga(x1, x2, x3, x4, x5, x6)  =  U21_ga(x1, x2, x3, x6)
U22_ga(x1, x2, x3, x4, x5)  =  U22_ga(x1, x2, x3, x5)
U23_ga(x1, x2, x3, x4, x5)  =  U23_ga(x1, x2, x3, x5)
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, x6)  =  U26_ga(x1, x2, x3, x6)
U27_ga(x1, x2, x3, x4, x5)  =  U27_ga(x1, x2, x3, x5)
U28_ga(x1, x2, x3)  =  U28_ga(x1, x3)
U29_ga(x1, x2, x3)  =  U29_ga(x1, x3)
U30_ga(x1, x2, x3)  =  U30_ga(x1, x3)
U31_ga(x1, x2, x3, x4)  =  U31_ga(x1, x3, x4)
U32_ga(x1, x2, x3)  =  U32_ga(x1, x3)
app43_in_ggga(x1, x2, x3, x4)  =  app43_in_ggga(x1, x2, x3)
app43_out_ggga(x1, x2, x3, x4)  =  app43_out_ggga(x1, x2, x3, x4)
U13_ggga(x1, x2, x3, x4, x5, x6)  =  U13_ggga(x1, x2, x3, x4, x6)
PART24_IN_GGAA(x1, x2, x3, x4)  =  PART24_IN_GGAA(x1, x2)
U2_GGAA(x1, x2, x3, x4, x5, x6)  =  U2_GGAA(x1, x2, x3, x6)

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

(215) UsableRulesProof (EQUIVALENT transformation)

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

(216) Obligation:

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

PART24_IN_GGAA(T62, .(T63, T64), .(T63, X126), X127) → U2_GGAA(T62, T63, T64, X126, X127, less14_in_gg(T62, T63))
U2_GGAA(T62, T63, T64, X126, X127, less14_out_gg(T62, T63)) → PART24_IN_GGAA(T62, T64, X126, X127)
PART24_IN_GGAA(T84, .(T85, T86), X177, .(T85, X178)) → PART24_IN_GGAA(T84, T86, X177, X178)

The TRS R consists of the following rules:

less14_in_gg(0, s(T33)) → less14_out_gg(0, s(T33))
less14_in_gg(s(T38), s(T39)) → U1_gg(T38, T39, less14_in_gg(T38, T39))
U1_gg(T38, T39, less14_out_gg(T38, T39)) → less14_out_gg(s(T38), s(T39))

The argument filtering Pi contains the following mapping:
.(x1, x2)  =  .(x1, x2)
less14_in_gg(x1, x2)  =  less14_in_gg(x1, x2)
0  =  0
s(x1)  =  s(x1)
less14_out_gg(x1, x2)  =  less14_out_gg(x1, x2)
U1_gg(x1, x2, x3)  =  U1_gg(x1, x2, x3)
PART24_IN_GGAA(x1, x2, x3, x4)  =  PART24_IN_GGAA(x1, x2)
U2_GGAA(x1, x2, x3, x4, x5, x6)  =  U2_GGAA(x1, x2, x3, x6)

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

(217) PiDPToQDPProof (SOUND transformation)

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

(218) Obligation:

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

PART24_IN_GGAA(T62, .(T63, T64)) → U2_GGAA(T62, T63, T64, less14_in_gg(T62, T63))
U2_GGAA(T62, T63, T64, less14_out_gg(T62, T63)) → PART24_IN_GGAA(T62, T64)
PART24_IN_GGAA(T84, .(T85, T86)) → PART24_IN_GGAA(T84, T86)

The TRS R consists of the following rules:

less14_in_gg(0, s(T33)) → less14_out_gg(0, s(T33))
less14_in_gg(s(T38), s(T39)) → U1_gg(T38, T39, less14_in_gg(T38, T39))
U1_gg(T38, T39, less14_out_gg(T38, T39)) → less14_out_gg(s(T38), s(T39))

The set Q consists of the following terms:

less14_in_gg(x0, x1)
U1_gg(x0, x1, x2)

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

(219) 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(T62, T63, T64, less14_out_gg(T62, T63)) → PART24_IN_GGAA(T62, T64)
    The graph contains the following edges 1 >= 1, 4 > 1, 3 >= 2

  • PART24_IN_GGAA(T84, .(T85, T86)) → PART24_IN_GGAA(T84, T86)
    The graph contains the following edges 1 >= 1, 2 > 2

  • PART24_IN_GGAA(T62, .(T63, T64)) → U2_GGAA(T62, T63, T64, less14_in_gg(T62, T63))
    The graph contains the following edges 1 >= 1, 2 > 2, 2 > 3

(220) YES