(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) PrologToDTProblemTransformerProof (SOUND transformation)

Built DT problem from termination graph.

(2) Obligation:

Triples:

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) :- ','(lessc14(T62, T63), part24(T62, T64, X126, X127)).
part24(T84, .(T85, T86), X177, .(T85, X178)) :- part24(T84, T86, X177, X178).
qs42(.(T103, T104), X230) :- part24(T103, T104, X226, X227).
qs42(.(T103, T104), X230) :- ','(partc24(T103, T104, T108, T109), qs42(T108, X228)).
qs42(.(T103, T104), X230) :- ','(partc24(T103, T104, T108, T109), ','(qsc42(T108, T113), qs42(T109, X229))).
qs42(.(T103, T104), X230) :- ','(partc24(T103, T104, T108, T109), ','(qsc42(T108, T113), ','(qsc42(T109, T114), app57(T113, T103, T114, X230)))).
app57(.(T137, T138), T139, T140, .(T137, X270)) :- app57(T138, T139, T140, X270).
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) :- ','(qsc42(T46, T98), app43(T95, T22, T98, T9)).
qs1(.(T22, .(T23, T24)), T9) :- less14(T22, T23).
qs1(.(T22, .(T23, T24)), T9) :- ','(lessc14(T22, T23), part24(T22, T24, X52, X53)).
qs1(.(T22, .(T23, T24)), T9) :- ','(lessc14(T22, T23), ','(partc24(T22, T24, T45, T46), qs1(.(T23, T45), X14))).
qs1(.(T22, .(T23, T24)), T9) :- ','(lessc14(T22, T23), ','(partc24(T22, T24, T45, T46), ','(qsc1(.(T23, T45), T95), p41(T46, X15, T95, T22, T9)))).
qs1(.(T191, .(T192, T193)), T9) :- part24(T191, T193, X336, X337).
qs1(.(T191, .(T192, T193)), T9) :- ','(partc24(T191, T193, T197, T198), qs42(T197, X14)).
qs1(.(T191, .(T192, T193)), T9) :- ','(partc24(T191, T193, T197, T198), ','(qsc42(T197, T202), p41(.(T192, T198), X15, T202, T191, T9))).
qs1(.(T207, []), T9) :- qs84(X14).
qs1(.(T207, []), T9) :- ','(qsc84(T210), qs84(X15)).
qs1(.(T207, []), T9) :- ','(qsc84(T210), ','(qsc84(T213), app43(T210, T207, T213, T9))).

Clauses:

lessc14(0, s(T33)).
lessc14(s(T38), s(T39)) :- lessc14(T38, T39).
partc24(T62, .(T63, T64), .(T63, X126), X127) :- ','(lessc14(T62, T63), partc24(T62, T64, X126, X127)).
partc24(T84, .(T85, T86), X177, .(T85, X178)) :- partc24(T84, T86, X177, X178).
partc24(T92, [], [], []).
qsc1([], []).
qsc1(.(T22, .(T23, T24)), T9) :- ','(lessc14(T22, T23), ','(partc24(T22, T24, T45, T46), ','(qsc1(.(T23, T45), T95), qc41(T46, X15, T95, T22, T9)))).
qsc1(.(T191, .(T192, T193)), T9) :- ','(partc24(T191, T193, T197, T198), ','(qsc42(T197, T202), qc41(.(T192, T198), X15, T202, T191, T9))).
qsc1(.(T207, []), T9) :- ','(qsc84(T210), ','(qsc84(T213), appc43(T210, T207, T213, T9))).
qsc42([], []).
qsc42(.(T103, T104), X230) :- ','(partc24(T103, T104, T108, T109), ','(qsc42(T108, T113), ','(qsc42(T109, T114), appc57(T113, T103, T114, X230)))).
appc57([], T127, T128, .(T127, T128)).
appc57(.(T137, T138), T139, T140, .(T137, X270)) :- appc57(T138, T139, T140, X270).
appc43([], T157, T158, .(T157, T158)).
appc43(.(T169, T170), T171, T172, .(T169, T174)) :- appc43(T170, T171, T172, T174).
qc41(T46, T98, T95, T22, T9) :- ','(qsc42(T46, T98), appc43(T95, T22, T98, T9)).
qsc84([]).

Afs:

qs1(x1, x2)  =  qs1(x1)

(3) UndefinedPredicateInTriplesTransformerProof (SOUND transformation)

Deleted triples and predicates having undefined goals [UNKNOWN].

(4) Obligation:

Triples:

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) :- ','(lessc14(T62, T63), part24(T62, T64, X126, X127)).
part24(T84, .(T85, T86), X177, .(T85, X178)) :- part24(T84, T86, X177, X178).
qs42(.(T103, T104), X230) :- part24(T103, T104, X226, X227).
qs42(.(T103, T104), X230) :- ','(partc24(T103, T104, T108, T109), qs42(T108, X228)).
qs42(.(T103, T104), X230) :- ','(partc24(T103, T104, T108, T109), ','(qsc42(T108, T113), qs42(T109, X229))).
qs42(.(T103, T104), X230) :- ','(partc24(T103, T104, T108, T109), ','(qsc42(T108, T113), ','(qsc42(T109, T114), app57(T113, T103, T114, X230)))).
app57(.(T137, T138), T139, T140, .(T137, X270)) :- app57(T138, T139, T140, X270).
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) :- ','(qsc42(T46, T98), app43(T95, T22, T98, T9)).
qs1(.(T22, .(T23, T24)), T9) :- less14(T22, T23).
qs1(.(T22, .(T23, T24)), T9) :- ','(lessc14(T22, T23), part24(T22, T24, X52, X53)).
qs1(.(T22, .(T23, T24)), T9) :- ','(lessc14(T22, T23), ','(partc24(T22, T24, T45, T46), qs1(.(T23, T45), X14))).
qs1(.(T22, .(T23, T24)), T9) :- ','(lessc14(T22, T23), ','(partc24(T22, T24, T45, T46), ','(qsc1(.(T23, T45), T95), p41(T46, X15, T95, T22, T9)))).
qs1(.(T191, .(T192, T193)), T9) :- part24(T191, T193, X336, X337).
qs1(.(T191, .(T192, T193)), T9) :- ','(partc24(T191, T193, T197, T198), qs42(T197, X14)).
qs1(.(T191, .(T192, T193)), T9) :- ','(partc24(T191, T193, T197, T198), ','(qsc42(T197, T202), p41(.(T192, T198), X15, T202, T191, T9))).
qs1(.(T207, []), T9) :- ','(qsc84(T210), ','(qsc84(T213), app43(T210, T207, T213, T9))).

Clauses:

lessc14(0, s(T33)).
lessc14(s(T38), s(T39)) :- lessc14(T38, T39).
partc24(T62, .(T63, T64), .(T63, X126), X127) :- ','(lessc14(T62, T63), partc24(T62, T64, X126, X127)).
partc24(T84, .(T85, T86), X177, .(T85, X178)) :- partc24(T84, T86, X177, X178).
partc24(T92, [], [], []).
qsc1([], []).
qsc1(.(T22, .(T23, T24)), T9) :- ','(lessc14(T22, T23), ','(partc24(T22, T24, T45, T46), ','(qsc1(.(T23, T45), T95), qc41(T46, X15, T95, T22, T9)))).
qsc1(.(T191, .(T192, T193)), T9) :- ','(partc24(T191, T193, T197, T198), ','(qsc42(T197, T202), qc41(.(T192, T198), X15, T202, T191, T9))).
qsc1(.(T207, []), T9) :- ','(qsc84(T210), ','(qsc84(T213), appc43(T210, T207, T213, T9))).
qsc42([], []).
qsc42(.(T103, T104), X230) :- ','(partc24(T103, T104, T108, T109), ','(qsc42(T108, T113), ','(qsc42(T109, T114), appc57(T113, T103, T114, X230)))).
appc57([], T127, T128, .(T127, T128)).
appc57(.(T137, T138), T139, T140, .(T137, X270)) :- appc57(T138, T139, T140, X270).
appc43([], T157, T158, .(T157, T158)).
appc43(.(T169, T170), T171, T172, .(T169, T174)) :- appc43(T170, T171, T172, T174).
qc41(T46, T98, T95, T22, T9) :- ','(qsc42(T46, T98), appc43(T95, T22, T98, T9)).
qsc84([]).

Afs:

qs1(x1, x2)  =  qs1(x1)

(5) TriplesToPiDPProof (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)
less14_in: (b,b)
lessc14_in: (b,b)
part24_in: (b,b,f,f)
partc24_in: (b,b,f,f)
qs42_in: (b,f)
qsc42_in: (b,f)
appc57_in: (b,b,b,f)
app57_in: (b,b,b,f)
p41_in: (b,f,b,b,f)
app43_in: (b,b,b,f)
qsc1_in: (b,f)
qc41_in: (b,f,b,b,f)
appc43_in: (b,b,b,f)
Transforming TRIPLES into the following Term Rewriting System:
Pi DP problem:
The TRS P consists of the following rules:

QS1_IN_GA(.(T22, .(T23, T24)), T9) → U18_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)
QS1_IN_GA(.(T22, .(T23, T24)), T9) → U19_GA(T22, T23, T24, T9, lessc14_in_gg(T22, T23))
U19_GA(T22, T23, T24, T9, lessc14_out_gg(T22, T23)) → U20_GA(T22, T23, T24, T9, part24_in_ggaa(T22, T24, X52, X53))
U19_GA(T22, T23, T24, T9, lessc14_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)
PART24_IN_GGAA(T62, .(T63, T64), .(T63, X126), X127) → U3_GGAA(T62, T63, T64, X126, X127, lessc14_in_gg(T62, T63))
U3_GGAA(T62, T63, T64, X126, X127, lessc14_out_gg(T62, T63)) → U4_GGAA(T62, T63, T64, X126, X127, part24_in_ggaa(T62, T64, X126, X127))
U3_GGAA(T62, T63, T64, X126, X127, lessc14_out_gg(T62, T63)) → PART24_IN_GGAA(T62, T64, X126, X127)
PART24_IN_GGAA(T84, .(T85, T86), X177, .(T85, X178)) → U5_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)
U19_GA(T22, T23, T24, T9, lessc14_out_gg(T22, T23)) → U21_GA(T22, T23, T24, T9, partc24_in_ggaa(T22, T24, T45, T46))
U21_GA(T22, T23, T24, T9, partc24_out_ggaa(T22, T24, T45, T46)) → U22_GA(T22, T23, T24, T9, qs1_in_ga(.(T23, T45), X14))
U21_GA(T22, T23, T24, T9, partc24_out_ggaa(T22, T24, T45, T46)) → QS1_IN_GA(.(T23, T45), X14)
QS1_IN_GA(.(T191, .(T192, T193)), T9) → U25_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) → U26_GA(T191, T192, T193, T9, partc24_in_ggaa(T191, T193, T197, T198))
U26_GA(T191, T192, T193, T9, partc24_out_ggaa(T191, T193, T197, T198)) → U27_GA(T191, T192, T193, T9, qs42_in_ga(T197, X14))
U26_GA(T191, T192, T193, T9, partc24_out_ggaa(T191, T193, T197, T198)) → QS42_IN_GA(T197, X14)
QS42_IN_GA(.(T103, T104), X230) → U6_GA(T103, T104, X230, part24_in_ggaa(T103, T104, X226, X227))
QS42_IN_GA(.(T103, T104), X230) → PART24_IN_GGAA(T103, T104, X226, X227)
QS42_IN_GA(.(T103, T104), X230) → U7_GA(T103, T104, X230, partc24_in_ggaa(T103, T104, T108, T109))
U7_GA(T103, T104, X230, partc24_out_ggaa(T103, T104, T108, T109)) → U8_GA(T103, T104, X230, qs42_in_ga(T108, X228))
U7_GA(T103, T104, X230, partc24_out_ggaa(T103, T104, T108, T109)) → QS42_IN_GA(T108, X228)
U7_GA(T103, T104, X230, partc24_out_ggaa(T103, T104, T108, T109)) → U9_GA(T103, T104, X230, T109, qsc42_in_ga(T108, T113))
U9_GA(T103, T104, X230, T109, qsc42_out_ga(T108, T113)) → U10_GA(T103, T104, X230, qs42_in_ga(T109, X229))
U9_GA(T103, T104, X230, T109, qsc42_out_ga(T108, T113)) → QS42_IN_GA(T109, X229)
U9_GA(T103, T104, X230, T109, qsc42_out_ga(T108, T113)) → U11_GA(T103, T104, X230, T113, qsc42_in_ga(T109, T114))
U11_GA(T103, T104, X230, T113, qsc42_out_ga(T109, T114)) → U12_GA(T103, T104, X230, app57_in_ggga(T113, T103, T114, X230))
U11_GA(T103, T104, X230, T113, qsc42_out_ga(T109, T114)) → APP57_IN_GGGA(T113, T103, T114, X230)
APP57_IN_GGGA(.(T137, T138), T139, T140, .(T137, X270)) → U13_GGGA(T137, T138, T139, T140, X270, app57_in_ggga(T138, T139, T140, X270))
APP57_IN_GGGA(.(T137, T138), T139, T140, .(T137, X270)) → APP57_IN_GGGA(T138, T139, T140, X270)
U26_GA(T191, T192, T193, T9, partc24_out_ggaa(T191, T193, T197, T198)) → U28_GA(T191, T192, T193, T9, T198, qsc42_in_ga(T197, T202))
U28_GA(T191, T192, T193, T9, T198, qsc42_out_ga(T197, T202)) → U29_GA(T191, T192, T193, T9, p41_in_gagga(.(T192, T198), X15, T202, T191, T9))
U28_GA(T191, T192, T193, T9, T198, qsc42_out_ga(T197, T202)) → P41_IN_GAGGA(.(T192, T198), X15, T202, T191, T9)
P41_IN_GAGGA(T46, X15, T95, T22, T9) → U15_GAGGA(T46, X15, T95, T22, T9, qs42_in_ga(T46, X15))
P41_IN_GAGGA(T46, X15, T95, T22, T9) → QS42_IN_GA(T46, X15)
P41_IN_GAGGA(T46, T98, T95, T22, T9) → U16_GAGGA(T46, T98, T95, T22, T9, qsc42_in_ga(T46, T98))
U16_GAGGA(T46, T98, T95, T22, T9, qsc42_out_ga(T46, T98)) → U17_GAGGA(T46, T98, T95, T22, T9, app43_in_ggga(T95, T22, T98, T9))
U16_GAGGA(T46, T98, T95, T22, T9, qsc42_out_ga(T46, T98)) → APP43_IN_GGGA(T95, T22, T98, T9)
APP43_IN_GGGA(.(T169, T170), T171, T172, .(T169, T174)) → U14_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)
QS1_IN_GA(.(T207, []), T9) → U30_GA(T207, T9, qsc84_in_a(T210))
U30_GA(T207, T9, qsc84_out_a(T210)) → U31_GA(T207, T9, T210, qsc84_in_a(T213))
U31_GA(T207, T9, T210, qsc84_out_a(T213)) → U32_GA(T207, T9, app43_in_ggga(T210, T207, T213, T9))
U31_GA(T207, T9, T210, qsc84_out_a(T213)) → APP43_IN_GGGA(T210, T207, T213, T9)
U21_GA(T22, T23, T24, T9, partc24_out_ggaa(T22, T24, T45, T46)) → U23_GA(T22, T23, T24, T9, T46, qsc1_in_ga(.(T23, T45), T95))
U23_GA(T22, T23, T24, T9, T46, qsc1_out_ga(.(T23, T45), T95)) → U24_GA(T22, T23, T24, T9, p41_in_gagga(T46, X15, T95, T22, T9))
U23_GA(T22, T23, T24, T9, T46, qsc1_out_ga(.(T23, T45), T95)) → P41_IN_GAGGA(T46, X15, T95, T22, T9)

The TRS R consists of the following rules:

lessc14_in_gg(0, s(T33)) → lessc14_out_gg(0, s(T33))
lessc14_in_gg(s(T38), s(T39)) → U34_gg(T38, T39, lessc14_in_gg(T38, T39))
U34_gg(T38, T39, lessc14_out_gg(T38, T39)) → lessc14_out_gg(s(T38), s(T39))
partc24_in_ggaa(T62, .(T63, T64), .(T63, X126), X127) → U35_ggaa(T62, T63, T64, X126, X127, lessc14_in_gg(T62, T63))
U35_ggaa(T62, T63, T64, X126, X127, lessc14_out_gg(T62, T63)) → U36_ggaa(T62, T63, T64, X126, X127, partc24_in_ggaa(T62, T64, X126, X127))
partc24_in_ggaa(T84, .(T85, T86), X177, .(T85, X178)) → U37_ggaa(T84, T85, T86, X177, X178, partc24_in_ggaa(T84, T86, X177, X178))
partc24_in_ggaa(T92, [], [], []) → partc24_out_ggaa(T92, [], [], [])
U37_ggaa(T84, T85, T86, X177, X178, partc24_out_ggaa(T84, T86, X177, X178)) → partc24_out_ggaa(T84, .(T85, T86), X177, .(T85, X178))
U36_ggaa(T62, T63, T64, X126, X127, partc24_out_ggaa(T62, T64, X126, X127)) → partc24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
qsc42_in_ga([], []) → qsc42_out_ga([], [])
qsc42_in_ga(.(T103, T104), X230) → U48_ga(T103, T104, X230, partc24_in_ggaa(T103, T104, T108, T109))
U48_ga(T103, T104, X230, partc24_out_ggaa(T103, T104, T108, T109)) → U49_ga(T103, T104, X230, T109, qsc42_in_ga(T108, T113))
U49_ga(T103, T104, X230, T109, qsc42_out_ga(T108, T113)) → U50_ga(T103, T104, X230, T113, qsc42_in_ga(T109, T114))
U50_ga(T103, T104, X230, T113, qsc42_out_ga(T109, T114)) → U51_ga(T103, T104, X230, appc57_in_ggga(T113, T103, T114, X230))
appc57_in_ggga([], T127, T128, .(T127, T128)) → appc57_out_ggga([], T127, T128, .(T127, T128))
appc57_in_ggga(.(T137, T138), T139, T140, .(T137, X270)) → U52_ggga(T137, T138, T139, T140, X270, appc57_in_ggga(T138, T139, T140, X270))
U52_ggga(T137, T138, T139, T140, X270, appc57_out_ggga(T138, T139, T140, X270)) → appc57_out_ggga(.(T137, T138), T139, T140, .(T137, X270))
U51_ga(T103, T104, X230, appc57_out_ggga(T113, T103, T114, X230)) → qsc42_out_ga(.(T103, T104), X230)
qsc84_in_a([]) → qsc84_out_a([])
qsc1_in_ga([], []) → qsc1_out_ga([], [])
qsc1_in_ga(.(T22, .(T23, T24)), T9) → U38_ga(T22, T23, T24, T9, lessc14_in_gg(T22, T23))
U38_ga(T22, T23, T24, T9, lessc14_out_gg(T22, T23)) → U39_ga(T22, T23, T24, T9, partc24_in_ggaa(T22, T24, T45, T46))
U39_ga(T22, T23, T24, T9, partc24_out_ggaa(T22, T24, T45, T46)) → U40_ga(T22, T23, T24, T9, T46, qsc1_in_ga(.(T23, T45), T95))
qsc1_in_ga(.(T191, .(T192, T193)), T9) → U42_ga(T191, T192, T193, T9, partc24_in_ggaa(T191, T193, T197, T198))
U42_ga(T191, T192, T193, T9, partc24_out_ggaa(T191, T193, T197, T198)) → U43_ga(T191, T192, T193, T9, T198, qsc42_in_ga(T197, T202))
U43_ga(T191, T192, T193, T9, T198, qsc42_out_ga(T197, T202)) → U44_ga(T191, T192, T193, T9, qc41_in_gagga(.(T192, T198), X15, T202, T191, T9))
qc41_in_gagga(T46, T98, T95, T22, T9) → U54_gagga(T46, T98, T95, T22, T9, qsc42_in_ga(T46, T98))
U54_gagga(T46, T98, T95, T22, T9, qsc42_out_ga(T46, T98)) → U55_gagga(T46, T98, T95, T22, T9, appc43_in_ggga(T95, T22, T98, T9))
appc43_in_ggga([], T157, T158, .(T157, T158)) → appc43_out_ggga([], T157, T158, .(T157, T158))
appc43_in_ggga(.(T169, T170), T171, T172, .(T169, T174)) → U53_ggga(T169, T170, T171, T172, T174, appc43_in_ggga(T170, T171, T172, T174))
U53_ggga(T169, T170, T171, T172, T174, appc43_out_ggga(T170, T171, T172, T174)) → appc43_out_ggga(.(T169, T170), T171, T172, .(T169, T174))
U55_gagga(T46, T98, T95, T22, T9, appc43_out_ggga(T95, T22, T98, T9)) → qc41_out_gagga(T46, T98, T95, T22, T9)
U44_ga(T191, T192, T193, T9, qc41_out_gagga(.(T192, T198), X15, T202, T191, T9)) → qsc1_out_ga(.(T191, .(T192, T193)), T9)
qsc1_in_ga(.(T207, []), T9) → U45_ga(T207, T9, qsc84_in_a(T210))
U45_ga(T207, T9, qsc84_out_a(T210)) → U46_ga(T207, T9, T210, qsc84_in_a(T213))
U46_ga(T207, T9, T210, qsc84_out_a(T213)) → U47_ga(T207, T9, appc43_in_ggga(T210, T207, T213, T9))
U47_ga(T207, T9, appc43_out_ggga(T210, T207, T213, T9)) → qsc1_out_ga(.(T207, []), T9)
U40_ga(T22, T23, T24, T9, T46, qsc1_out_ga(.(T23, T45), T95)) → U41_ga(T22, T23, T24, T9, qc41_in_gagga(T46, X15, T95, T22, T9))
U41_ga(T22, T23, T24, T9, qc41_out_gagga(T46, X15, T95, T22, T9)) → qsc1_out_ga(.(T22, .(T23, T24)), T9)

The argument filtering Pi contains the following mapping:
qs1_in_ga(x1, x2)  =  qs1_in_ga(x1)
.(x1, x2)  =  .(x1, x2)
less14_in_gg(x1, x2)  =  less14_in_gg(x1, x2)
s(x1)  =  s(x1)
lessc14_in_gg(x1, x2)  =  lessc14_in_gg(x1, x2)
0  =  0
lessc14_out_gg(x1, x2)  =  lessc14_out_gg(x1, x2)
U34_gg(x1, x2, x3)  =  U34_gg(x1, x2, x3)
part24_in_ggaa(x1, x2, x3, x4)  =  part24_in_ggaa(x1, x2)
partc24_in_ggaa(x1, x2, x3, x4)  =  partc24_in_ggaa(x1, x2)
U35_ggaa(x1, x2, x3, x4, x5, x6)  =  U35_ggaa(x1, x2, x3, x6)
U36_ggaa(x1, x2, x3, x4, x5, x6)  =  U36_ggaa(x1, x2, x3, x6)
U37_ggaa(x1, x2, x3, x4, x5, x6)  =  U37_ggaa(x1, x2, x3, x6)
[]  =  []
partc24_out_ggaa(x1, x2, x3, x4)  =  partc24_out_ggaa(x1, x2, x3, x4)
qs42_in_ga(x1, x2)  =  qs42_in_ga(x1)
qsc42_in_ga(x1, x2)  =  qsc42_in_ga(x1)
qsc42_out_ga(x1, x2)  =  qsc42_out_ga(x1, x2)
U48_ga(x1, x2, x3, x4)  =  U48_ga(x1, x2, x4)
U49_ga(x1, x2, x3, x4, x5)  =  U49_ga(x1, x2, x4, x5)
U50_ga(x1, x2, x3, x4, x5)  =  U50_ga(x1, x2, x4, x5)
U51_ga(x1, x2, x3, x4)  =  U51_ga(x1, x2, x4)
appc57_in_ggga(x1, x2, x3, x4)  =  appc57_in_ggga(x1, x2, x3)
appc57_out_ggga(x1, x2, x3, x4)  =  appc57_out_ggga(x1, x2, x3, x4)
U52_ggga(x1, x2, x3, x4, x5, x6)  =  U52_ggga(x1, x2, x3, x4, x6)
app57_in_ggga(x1, x2, x3, x4)  =  app57_in_ggga(x1, x2, x3)
p41_in_gagga(x1, x2, x3, x4, x5)  =  p41_in_gagga(x1, x3, x4)
app43_in_ggga(x1, x2, x3, x4)  =  app43_in_ggga(x1, x2, x3)
qsc84_in_a(x1)  =  qsc84_in_a
qsc84_out_a(x1)  =  qsc84_out_a(x1)
qsc1_in_ga(x1, x2)  =  qsc1_in_ga(x1)
qsc1_out_ga(x1, x2)  =  qsc1_out_ga(x1, x2)
U38_ga(x1, x2, x3, x4, x5)  =  U38_ga(x1, x2, x3, x5)
U39_ga(x1, x2, x3, x4, x5)  =  U39_ga(x1, x2, x3, x5)
U40_ga(x1, x2, x3, x4, x5, x6)  =  U40_ga(x1, x2, x3, x5, x6)
U42_ga(x1, x2, x3, x4, x5)  =  U42_ga(x1, x2, x3, x5)
U43_ga(x1, x2, x3, x4, x5, x6)  =  U43_ga(x1, x2, x3, x5, x6)
U44_ga(x1, x2, x3, x4, x5)  =  U44_ga(x1, x2, x3, x5)
qc41_in_gagga(x1, x2, x3, x4, x5)  =  qc41_in_gagga(x1, x3, x4)
U54_gagga(x1, x2, x3, x4, x5, x6)  =  U54_gagga(x1, x3, x4, x6)
U55_gagga(x1, x2, x3, x4, x5, x6)  =  U55_gagga(x1, x2, x3, x4, x6)
appc43_in_ggga(x1, x2, x3, x4)  =  appc43_in_ggga(x1, x2, x3)
appc43_out_ggga(x1, x2, x3, x4)  =  appc43_out_ggga(x1, x2, x3, x4)
U53_ggga(x1, x2, x3, x4, x5, x6)  =  U53_ggga(x1, x2, x3, x4, x6)
qc41_out_gagga(x1, x2, x3, x4, x5)  =  qc41_out_gagga(x1, x2, x3, x4, x5)
U45_ga(x1, x2, x3)  =  U45_ga(x1, x3)
U46_ga(x1, x2, x3, x4)  =  U46_ga(x1, x3, x4)
U47_ga(x1, x2, x3)  =  U47_ga(x1, x3)
U41_ga(x1, x2, x3, x4, x5)  =  U41_ga(x1, x2, x3, x5)
QS1_IN_GA(x1, x2)  =  QS1_IN_GA(x1)
U18_GA(x1, x2, x3, x4, x5)  =  U18_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)
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)
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)
U5_GGAA(x1, x2, x3, x4, x5, x6)  =  U5_GGAA(x1, x2, x3, x6)
U21_GA(x1, x2, x3, x4, x5)  =  U21_GA(x1, x2, x3, x5)
U22_GA(x1, x2, x3, x4, x5)  =  U22_GA(x1, x2, x3, x5)
U25_GA(x1, x2, x3, x4, x5)  =  U25_GA(x1, x2, x3, x5)
U26_GA(x1, x2, x3, x4, x5)  =  U26_GA(x1, x2, x3, x5)
U27_GA(x1, x2, x3, x4, x5)  =  U27_GA(x1, x2, x3, x5)
QS42_IN_GA(x1, x2)  =  QS42_IN_GA(x1)
U6_GA(x1, x2, x3, x4)  =  U6_GA(x1, x2, x4)
U7_GA(x1, x2, x3, x4)  =  U7_GA(x1, x2, x4)
U8_GA(x1, x2, x3, x4)  =  U8_GA(x1, x2, x4)
U9_GA(x1, x2, x3, x4, x5)  =  U9_GA(x1, x2, x4, x5)
U10_GA(x1, x2, x3, x4)  =  U10_GA(x1, x2, x4)
U11_GA(x1, x2, x3, x4, x5)  =  U11_GA(x1, x2, x4, x5)
U12_GA(x1, x2, x3, x4)  =  U12_GA(x1, x2, x4)
APP57_IN_GGGA(x1, x2, x3, x4)  =  APP57_IN_GGGA(x1, x2, x3)
U13_GGGA(x1, x2, x3, x4, x5, x6)  =  U13_GGGA(x1, x2, x3, x4, x6)
U28_GA(x1, x2, x3, x4, x5, x6)  =  U28_GA(x1, x2, x3, x5, x6)
U29_GA(x1, x2, x3, x4, x5)  =  U29_GA(x1, x2, x3, x5)
P41_IN_GAGGA(x1, x2, x3, x4, x5)  =  P41_IN_GAGGA(x1, x3, x4)
U15_GAGGA(x1, x2, x3, x4, x5, x6)  =  U15_GAGGA(x1, x3, x4, x6)
U16_GAGGA(x1, x2, x3, x4, x5, x6)  =  U16_GAGGA(x1, x3, x4, x6)
U17_GAGGA(x1, x2, x3, x4, x5, x6)  =  U17_GAGGA(x1, x3, x4, x6)
APP43_IN_GGGA(x1, x2, x3, x4)  =  APP43_IN_GGGA(x1, x2, x3)
U14_GGGA(x1, x2, x3, x4, x5, x6)  =  U14_GGGA(x1, x2, x3, x4, x6)
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)
U23_GA(x1, x2, x3, x4, x5, x6)  =  U23_GA(x1, x2, x3, x5, x6)
U24_GA(x1, x2, x3, x4, x5)  =  U24_GA(x1, x2, x3, x5)

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

Infinitary Constructor Rewriting Termination of PiDP implies Termination of TRIPLES

(6) Obligation:

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

QS1_IN_GA(.(T22, .(T23, T24)), T9) → U18_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)
QS1_IN_GA(.(T22, .(T23, T24)), T9) → U19_GA(T22, T23, T24, T9, lessc14_in_gg(T22, T23))
U19_GA(T22, T23, T24, T9, lessc14_out_gg(T22, T23)) → U20_GA(T22, T23, T24, T9, part24_in_ggaa(T22, T24, X52, X53))
U19_GA(T22, T23, T24, T9, lessc14_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)
PART24_IN_GGAA(T62, .(T63, T64), .(T63, X126), X127) → U3_GGAA(T62, T63, T64, X126, X127, lessc14_in_gg(T62, T63))
U3_GGAA(T62, T63, T64, X126, X127, lessc14_out_gg(T62, T63)) → U4_GGAA(T62, T63, T64, X126, X127, part24_in_ggaa(T62, T64, X126, X127))
U3_GGAA(T62, T63, T64, X126, X127, lessc14_out_gg(T62, T63)) → PART24_IN_GGAA(T62, T64, X126, X127)
PART24_IN_GGAA(T84, .(T85, T86), X177, .(T85, X178)) → U5_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)
U19_GA(T22, T23, T24, T9, lessc14_out_gg(T22, T23)) → U21_GA(T22, T23, T24, T9, partc24_in_ggaa(T22, T24, T45, T46))
U21_GA(T22, T23, T24, T9, partc24_out_ggaa(T22, T24, T45, T46)) → U22_GA(T22, T23, T24, T9, qs1_in_ga(.(T23, T45), X14))
U21_GA(T22, T23, T24, T9, partc24_out_ggaa(T22, T24, T45, T46)) → QS1_IN_GA(.(T23, T45), X14)
QS1_IN_GA(.(T191, .(T192, T193)), T9) → U25_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) → U26_GA(T191, T192, T193, T9, partc24_in_ggaa(T191, T193, T197, T198))
U26_GA(T191, T192, T193, T9, partc24_out_ggaa(T191, T193, T197, T198)) → U27_GA(T191, T192, T193, T9, qs42_in_ga(T197, X14))
U26_GA(T191, T192, T193, T9, partc24_out_ggaa(T191, T193, T197, T198)) → QS42_IN_GA(T197, X14)
QS42_IN_GA(.(T103, T104), X230) → U6_GA(T103, T104, X230, part24_in_ggaa(T103, T104, X226, X227))
QS42_IN_GA(.(T103, T104), X230) → PART24_IN_GGAA(T103, T104, X226, X227)
QS42_IN_GA(.(T103, T104), X230) → U7_GA(T103, T104, X230, partc24_in_ggaa(T103, T104, T108, T109))
U7_GA(T103, T104, X230, partc24_out_ggaa(T103, T104, T108, T109)) → U8_GA(T103, T104, X230, qs42_in_ga(T108, X228))
U7_GA(T103, T104, X230, partc24_out_ggaa(T103, T104, T108, T109)) → QS42_IN_GA(T108, X228)
U7_GA(T103, T104, X230, partc24_out_ggaa(T103, T104, T108, T109)) → U9_GA(T103, T104, X230, T109, qsc42_in_ga(T108, T113))
U9_GA(T103, T104, X230, T109, qsc42_out_ga(T108, T113)) → U10_GA(T103, T104, X230, qs42_in_ga(T109, X229))
U9_GA(T103, T104, X230, T109, qsc42_out_ga(T108, T113)) → QS42_IN_GA(T109, X229)
U9_GA(T103, T104, X230, T109, qsc42_out_ga(T108, T113)) → U11_GA(T103, T104, X230, T113, qsc42_in_ga(T109, T114))
U11_GA(T103, T104, X230, T113, qsc42_out_ga(T109, T114)) → U12_GA(T103, T104, X230, app57_in_ggga(T113, T103, T114, X230))
U11_GA(T103, T104, X230, T113, qsc42_out_ga(T109, T114)) → APP57_IN_GGGA(T113, T103, T114, X230)
APP57_IN_GGGA(.(T137, T138), T139, T140, .(T137, X270)) → U13_GGGA(T137, T138, T139, T140, X270, app57_in_ggga(T138, T139, T140, X270))
APP57_IN_GGGA(.(T137, T138), T139, T140, .(T137, X270)) → APP57_IN_GGGA(T138, T139, T140, X270)
U26_GA(T191, T192, T193, T9, partc24_out_ggaa(T191, T193, T197, T198)) → U28_GA(T191, T192, T193, T9, T198, qsc42_in_ga(T197, T202))
U28_GA(T191, T192, T193, T9, T198, qsc42_out_ga(T197, T202)) → U29_GA(T191, T192, T193, T9, p41_in_gagga(.(T192, T198), X15, T202, T191, T9))
U28_GA(T191, T192, T193, T9, T198, qsc42_out_ga(T197, T202)) → P41_IN_GAGGA(.(T192, T198), X15, T202, T191, T9)
P41_IN_GAGGA(T46, X15, T95, T22, T9) → U15_GAGGA(T46, X15, T95, T22, T9, qs42_in_ga(T46, X15))
P41_IN_GAGGA(T46, X15, T95, T22, T9) → QS42_IN_GA(T46, X15)
P41_IN_GAGGA(T46, T98, T95, T22, T9) → U16_GAGGA(T46, T98, T95, T22, T9, qsc42_in_ga(T46, T98))
U16_GAGGA(T46, T98, T95, T22, T9, qsc42_out_ga(T46, T98)) → U17_GAGGA(T46, T98, T95, T22, T9, app43_in_ggga(T95, T22, T98, T9))
U16_GAGGA(T46, T98, T95, T22, T9, qsc42_out_ga(T46, T98)) → APP43_IN_GGGA(T95, T22, T98, T9)
APP43_IN_GGGA(.(T169, T170), T171, T172, .(T169, T174)) → U14_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)
QS1_IN_GA(.(T207, []), T9) → U30_GA(T207, T9, qsc84_in_a(T210))
U30_GA(T207, T9, qsc84_out_a(T210)) → U31_GA(T207, T9, T210, qsc84_in_a(T213))
U31_GA(T207, T9, T210, qsc84_out_a(T213)) → U32_GA(T207, T9, app43_in_ggga(T210, T207, T213, T9))
U31_GA(T207, T9, T210, qsc84_out_a(T213)) → APP43_IN_GGGA(T210, T207, T213, T9)
U21_GA(T22, T23, T24, T9, partc24_out_ggaa(T22, T24, T45, T46)) → U23_GA(T22, T23, T24, T9, T46, qsc1_in_ga(.(T23, T45), T95))
U23_GA(T22, T23, T24, T9, T46, qsc1_out_ga(.(T23, T45), T95)) → U24_GA(T22, T23, T24, T9, p41_in_gagga(T46, X15, T95, T22, T9))
U23_GA(T22, T23, T24, T9, T46, qsc1_out_ga(.(T23, T45), T95)) → P41_IN_GAGGA(T46, X15, T95, T22, T9)

The TRS R consists of the following rules:

lessc14_in_gg(0, s(T33)) → lessc14_out_gg(0, s(T33))
lessc14_in_gg(s(T38), s(T39)) → U34_gg(T38, T39, lessc14_in_gg(T38, T39))
U34_gg(T38, T39, lessc14_out_gg(T38, T39)) → lessc14_out_gg(s(T38), s(T39))
partc24_in_ggaa(T62, .(T63, T64), .(T63, X126), X127) → U35_ggaa(T62, T63, T64, X126, X127, lessc14_in_gg(T62, T63))
U35_ggaa(T62, T63, T64, X126, X127, lessc14_out_gg(T62, T63)) → U36_ggaa(T62, T63, T64, X126, X127, partc24_in_ggaa(T62, T64, X126, X127))
partc24_in_ggaa(T84, .(T85, T86), X177, .(T85, X178)) → U37_ggaa(T84, T85, T86, X177, X178, partc24_in_ggaa(T84, T86, X177, X178))
partc24_in_ggaa(T92, [], [], []) → partc24_out_ggaa(T92, [], [], [])
U37_ggaa(T84, T85, T86, X177, X178, partc24_out_ggaa(T84, T86, X177, X178)) → partc24_out_ggaa(T84, .(T85, T86), X177, .(T85, X178))
U36_ggaa(T62, T63, T64, X126, X127, partc24_out_ggaa(T62, T64, X126, X127)) → partc24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
qsc42_in_ga([], []) → qsc42_out_ga([], [])
qsc42_in_ga(.(T103, T104), X230) → U48_ga(T103, T104, X230, partc24_in_ggaa(T103, T104, T108, T109))
U48_ga(T103, T104, X230, partc24_out_ggaa(T103, T104, T108, T109)) → U49_ga(T103, T104, X230, T109, qsc42_in_ga(T108, T113))
U49_ga(T103, T104, X230, T109, qsc42_out_ga(T108, T113)) → U50_ga(T103, T104, X230, T113, qsc42_in_ga(T109, T114))
U50_ga(T103, T104, X230, T113, qsc42_out_ga(T109, T114)) → U51_ga(T103, T104, X230, appc57_in_ggga(T113, T103, T114, X230))
appc57_in_ggga([], T127, T128, .(T127, T128)) → appc57_out_ggga([], T127, T128, .(T127, T128))
appc57_in_ggga(.(T137, T138), T139, T140, .(T137, X270)) → U52_ggga(T137, T138, T139, T140, X270, appc57_in_ggga(T138, T139, T140, X270))
U52_ggga(T137, T138, T139, T140, X270, appc57_out_ggga(T138, T139, T140, X270)) → appc57_out_ggga(.(T137, T138), T139, T140, .(T137, X270))
U51_ga(T103, T104, X230, appc57_out_ggga(T113, T103, T114, X230)) → qsc42_out_ga(.(T103, T104), X230)
qsc84_in_a([]) → qsc84_out_a([])
qsc1_in_ga([], []) → qsc1_out_ga([], [])
qsc1_in_ga(.(T22, .(T23, T24)), T9) → U38_ga(T22, T23, T24, T9, lessc14_in_gg(T22, T23))
U38_ga(T22, T23, T24, T9, lessc14_out_gg(T22, T23)) → U39_ga(T22, T23, T24, T9, partc24_in_ggaa(T22, T24, T45, T46))
U39_ga(T22, T23, T24, T9, partc24_out_ggaa(T22, T24, T45, T46)) → U40_ga(T22, T23, T24, T9, T46, qsc1_in_ga(.(T23, T45), T95))
qsc1_in_ga(.(T191, .(T192, T193)), T9) → U42_ga(T191, T192, T193, T9, partc24_in_ggaa(T191, T193, T197, T198))
U42_ga(T191, T192, T193, T9, partc24_out_ggaa(T191, T193, T197, T198)) → U43_ga(T191, T192, T193, T9, T198, qsc42_in_ga(T197, T202))
U43_ga(T191, T192, T193, T9, T198, qsc42_out_ga(T197, T202)) → U44_ga(T191, T192, T193, T9, qc41_in_gagga(.(T192, T198), X15, T202, T191, T9))
qc41_in_gagga(T46, T98, T95, T22, T9) → U54_gagga(T46, T98, T95, T22, T9, qsc42_in_ga(T46, T98))
U54_gagga(T46, T98, T95, T22, T9, qsc42_out_ga(T46, T98)) → U55_gagga(T46, T98, T95, T22, T9, appc43_in_ggga(T95, T22, T98, T9))
appc43_in_ggga([], T157, T158, .(T157, T158)) → appc43_out_ggga([], T157, T158, .(T157, T158))
appc43_in_ggga(.(T169, T170), T171, T172, .(T169, T174)) → U53_ggga(T169, T170, T171, T172, T174, appc43_in_ggga(T170, T171, T172, T174))
U53_ggga(T169, T170, T171, T172, T174, appc43_out_ggga(T170, T171, T172, T174)) → appc43_out_ggga(.(T169, T170), T171, T172, .(T169, T174))
U55_gagga(T46, T98, T95, T22, T9, appc43_out_ggga(T95, T22, T98, T9)) → qc41_out_gagga(T46, T98, T95, T22, T9)
U44_ga(T191, T192, T193, T9, qc41_out_gagga(.(T192, T198), X15, T202, T191, T9)) → qsc1_out_ga(.(T191, .(T192, T193)), T9)
qsc1_in_ga(.(T207, []), T9) → U45_ga(T207, T9, qsc84_in_a(T210))
U45_ga(T207, T9, qsc84_out_a(T210)) → U46_ga(T207, T9, T210, qsc84_in_a(T213))
U46_ga(T207, T9, T210, qsc84_out_a(T213)) → U47_ga(T207, T9, appc43_in_ggga(T210, T207, T213, T9))
U47_ga(T207, T9, appc43_out_ggga(T210, T207, T213, T9)) → qsc1_out_ga(.(T207, []), T9)
U40_ga(T22, T23, T24, T9, T46, qsc1_out_ga(.(T23, T45), T95)) → U41_ga(T22, T23, T24, T9, qc41_in_gagga(T46, X15, T95, T22, T9))
U41_ga(T22, T23, T24, T9, qc41_out_gagga(T46, X15, T95, T22, T9)) → qsc1_out_ga(.(T22, .(T23, T24)), T9)

The argument filtering Pi contains the following mapping:
qs1_in_ga(x1, x2)  =  qs1_in_ga(x1)
.(x1, x2)  =  .(x1, x2)
less14_in_gg(x1, x2)  =  less14_in_gg(x1, x2)
s(x1)  =  s(x1)
lessc14_in_gg(x1, x2)  =  lessc14_in_gg(x1, x2)
0  =  0
lessc14_out_gg(x1, x2)  =  lessc14_out_gg(x1, x2)
U34_gg(x1, x2, x3)  =  U34_gg(x1, x2, x3)
part24_in_ggaa(x1, x2, x3, x4)  =  part24_in_ggaa(x1, x2)
partc24_in_ggaa(x1, x2, x3, x4)  =  partc24_in_ggaa(x1, x2)
U35_ggaa(x1, x2, x3, x4, x5, x6)  =  U35_ggaa(x1, x2, x3, x6)
U36_ggaa(x1, x2, x3, x4, x5, x6)  =  U36_ggaa(x1, x2, x3, x6)
U37_ggaa(x1, x2, x3, x4, x5, x6)  =  U37_ggaa(x1, x2, x3, x6)
[]  =  []
partc24_out_ggaa(x1, x2, x3, x4)  =  partc24_out_ggaa(x1, x2, x3, x4)
qs42_in_ga(x1, x2)  =  qs42_in_ga(x1)
qsc42_in_ga(x1, x2)  =  qsc42_in_ga(x1)
qsc42_out_ga(x1, x2)  =  qsc42_out_ga(x1, x2)
U48_ga(x1, x2, x3, x4)  =  U48_ga(x1, x2, x4)
U49_ga(x1, x2, x3, x4, x5)  =  U49_ga(x1, x2, x4, x5)
U50_ga(x1, x2, x3, x4, x5)  =  U50_ga(x1, x2, x4, x5)
U51_ga(x1, x2, x3, x4)  =  U51_ga(x1, x2, x4)
appc57_in_ggga(x1, x2, x3, x4)  =  appc57_in_ggga(x1, x2, x3)
appc57_out_ggga(x1, x2, x3, x4)  =  appc57_out_ggga(x1, x2, x3, x4)
U52_ggga(x1, x2, x3, x4, x5, x6)  =  U52_ggga(x1, x2, x3, x4, x6)
app57_in_ggga(x1, x2, x3, x4)  =  app57_in_ggga(x1, x2, x3)
p41_in_gagga(x1, x2, x3, x4, x5)  =  p41_in_gagga(x1, x3, x4)
app43_in_ggga(x1, x2, x3, x4)  =  app43_in_ggga(x1, x2, x3)
qsc84_in_a(x1)  =  qsc84_in_a
qsc84_out_a(x1)  =  qsc84_out_a(x1)
qsc1_in_ga(x1, x2)  =  qsc1_in_ga(x1)
qsc1_out_ga(x1, x2)  =  qsc1_out_ga(x1, x2)
U38_ga(x1, x2, x3, x4, x5)  =  U38_ga(x1, x2, x3, x5)
U39_ga(x1, x2, x3, x4, x5)  =  U39_ga(x1, x2, x3, x5)
U40_ga(x1, x2, x3, x4, x5, x6)  =  U40_ga(x1, x2, x3, x5, x6)
U42_ga(x1, x2, x3, x4, x5)  =  U42_ga(x1, x2, x3, x5)
U43_ga(x1, x2, x3, x4, x5, x6)  =  U43_ga(x1, x2, x3, x5, x6)
U44_ga(x1, x2, x3, x4, x5)  =  U44_ga(x1, x2, x3, x5)
qc41_in_gagga(x1, x2, x3, x4, x5)  =  qc41_in_gagga(x1, x3, x4)
U54_gagga(x1, x2, x3, x4, x5, x6)  =  U54_gagga(x1, x3, x4, x6)
U55_gagga(x1, x2, x3, x4, x5, x6)  =  U55_gagga(x1, x2, x3, x4, x6)
appc43_in_ggga(x1, x2, x3, x4)  =  appc43_in_ggga(x1, x2, x3)
appc43_out_ggga(x1, x2, x3, x4)  =  appc43_out_ggga(x1, x2, x3, x4)
U53_ggga(x1, x2, x3, x4, x5, x6)  =  U53_ggga(x1, x2, x3, x4, x6)
qc41_out_gagga(x1, x2, x3, x4, x5)  =  qc41_out_gagga(x1, x2, x3, x4, x5)
U45_ga(x1, x2, x3)  =  U45_ga(x1, x3)
U46_ga(x1, x2, x3, x4)  =  U46_ga(x1, x3, x4)
U47_ga(x1, x2, x3)  =  U47_ga(x1, x3)
U41_ga(x1, x2, x3, x4, x5)  =  U41_ga(x1, x2, x3, x5)
QS1_IN_GA(x1, x2)  =  QS1_IN_GA(x1)
U18_GA(x1, x2, x3, x4, x5)  =  U18_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)
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)
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)
U5_GGAA(x1, x2, x3, x4, x5, x6)  =  U5_GGAA(x1, x2, x3, x6)
U21_GA(x1, x2, x3, x4, x5)  =  U21_GA(x1, x2, x3, x5)
U22_GA(x1, x2, x3, x4, x5)  =  U22_GA(x1, x2, x3, x5)
U25_GA(x1, x2, x3, x4, x5)  =  U25_GA(x1, x2, x3, x5)
U26_GA(x1, x2, x3, x4, x5)  =  U26_GA(x1, x2, x3, x5)
U27_GA(x1, x2, x3, x4, x5)  =  U27_GA(x1, x2, x3, x5)
QS42_IN_GA(x1, x2)  =  QS42_IN_GA(x1)
U6_GA(x1, x2, x3, x4)  =  U6_GA(x1, x2, x4)
U7_GA(x1, x2, x3, x4)  =  U7_GA(x1, x2, x4)
U8_GA(x1, x2, x3, x4)  =  U8_GA(x1, x2, x4)
U9_GA(x1, x2, x3, x4, x5)  =  U9_GA(x1, x2, x4, x5)
U10_GA(x1, x2, x3, x4)  =  U10_GA(x1, x2, x4)
U11_GA(x1, x2, x3, x4, x5)  =  U11_GA(x1, x2, x4, x5)
U12_GA(x1, x2, x3, x4)  =  U12_GA(x1, x2, x4)
APP57_IN_GGGA(x1, x2, x3, x4)  =  APP57_IN_GGGA(x1, x2, x3)
U13_GGGA(x1, x2, x3, x4, x5, x6)  =  U13_GGGA(x1, x2, x3, x4, x6)
U28_GA(x1, x2, x3, x4, x5, x6)  =  U28_GA(x1, x2, x3, x5, x6)
U29_GA(x1, x2, x3, x4, x5)  =  U29_GA(x1, x2, x3, x5)
P41_IN_GAGGA(x1, x2, x3, x4, x5)  =  P41_IN_GAGGA(x1, x3, x4)
U15_GAGGA(x1, x2, x3, x4, x5, x6)  =  U15_GAGGA(x1, x3, x4, x6)
U16_GAGGA(x1, x2, x3, x4, x5, x6)  =  U16_GAGGA(x1, x3, x4, x6)
U17_GAGGA(x1, x2, x3, x4, x5, x6)  =  U17_GAGGA(x1, x3, x4, x6)
APP43_IN_GGGA(x1, x2, x3, x4)  =  APP43_IN_GGGA(x1, x2, x3)
U14_GGGA(x1, x2, x3, x4, x5, x6)  =  U14_GGGA(x1, x2, x3, x4, x6)
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)
U23_GA(x1, x2, x3, x4, x5, x6)  =  U23_GA(x1, x2, x3, x5, x6)
U24_GA(x1, x2, x3, x4, x5)  =  U24_GA(x1, x2, x3, x5)

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

(7) DependencyGraphProof (EQUIVALENT transformation)

The approximation of the Dependency Graph [LOPSTR] contains 6 SCCs with 39 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:

lessc14_in_gg(0, s(T33)) → lessc14_out_gg(0, s(T33))
lessc14_in_gg(s(T38), s(T39)) → U34_gg(T38, T39, lessc14_in_gg(T38, T39))
U34_gg(T38, T39, lessc14_out_gg(T38, T39)) → lessc14_out_gg(s(T38), s(T39))
partc24_in_ggaa(T62, .(T63, T64), .(T63, X126), X127) → U35_ggaa(T62, T63, T64, X126, X127, lessc14_in_gg(T62, T63))
U35_ggaa(T62, T63, T64, X126, X127, lessc14_out_gg(T62, T63)) → U36_ggaa(T62, T63, T64, X126, X127, partc24_in_ggaa(T62, T64, X126, X127))
partc24_in_ggaa(T84, .(T85, T86), X177, .(T85, X178)) → U37_ggaa(T84, T85, T86, X177, X178, partc24_in_ggaa(T84, T86, X177, X178))
partc24_in_ggaa(T92, [], [], []) → partc24_out_ggaa(T92, [], [], [])
U37_ggaa(T84, T85, T86, X177, X178, partc24_out_ggaa(T84, T86, X177, X178)) → partc24_out_ggaa(T84, .(T85, T86), X177, .(T85, X178))
U36_ggaa(T62, T63, T64, X126, X127, partc24_out_ggaa(T62, T64, X126, X127)) → partc24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
qsc42_in_ga([], []) → qsc42_out_ga([], [])
qsc42_in_ga(.(T103, T104), X230) → U48_ga(T103, T104, X230, partc24_in_ggaa(T103, T104, T108, T109))
U48_ga(T103, T104, X230, partc24_out_ggaa(T103, T104, T108, T109)) → U49_ga(T103, T104, X230, T109, qsc42_in_ga(T108, T113))
U49_ga(T103, T104, X230, T109, qsc42_out_ga(T108, T113)) → U50_ga(T103, T104, X230, T113, qsc42_in_ga(T109, T114))
U50_ga(T103, T104, X230, T113, qsc42_out_ga(T109, T114)) → U51_ga(T103, T104, X230, appc57_in_ggga(T113, T103, T114, X230))
appc57_in_ggga([], T127, T128, .(T127, T128)) → appc57_out_ggga([], T127, T128, .(T127, T128))
appc57_in_ggga(.(T137, T138), T139, T140, .(T137, X270)) → U52_ggga(T137, T138, T139, T140, X270, appc57_in_ggga(T138, T139, T140, X270))
U52_ggga(T137, T138, T139, T140, X270, appc57_out_ggga(T138, T139, T140, X270)) → appc57_out_ggga(.(T137, T138), T139, T140, .(T137, X270))
U51_ga(T103, T104, X230, appc57_out_ggga(T113, T103, T114, X230)) → qsc42_out_ga(.(T103, T104), X230)
qsc84_in_a([]) → qsc84_out_a([])
qsc1_in_ga([], []) → qsc1_out_ga([], [])
qsc1_in_ga(.(T22, .(T23, T24)), T9) → U38_ga(T22, T23, T24, T9, lessc14_in_gg(T22, T23))
U38_ga(T22, T23, T24, T9, lessc14_out_gg(T22, T23)) → U39_ga(T22, T23, T24, T9, partc24_in_ggaa(T22, T24, T45, T46))
U39_ga(T22, T23, T24, T9, partc24_out_ggaa(T22, T24, T45, T46)) → U40_ga(T22, T23, T24, T9, T46, qsc1_in_ga(.(T23, T45), T95))
qsc1_in_ga(.(T191, .(T192, T193)), T9) → U42_ga(T191, T192, T193, T9, partc24_in_ggaa(T191, T193, T197, T198))
U42_ga(T191, T192, T193, T9, partc24_out_ggaa(T191, T193, T197, T198)) → U43_ga(T191, T192, T193, T9, T198, qsc42_in_ga(T197, T202))
U43_ga(T191, T192, T193, T9, T198, qsc42_out_ga(T197, T202)) → U44_ga(T191, T192, T193, T9, qc41_in_gagga(.(T192, T198), X15, T202, T191, T9))
qc41_in_gagga(T46, T98, T95, T22, T9) → U54_gagga(T46, T98, T95, T22, T9, qsc42_in_ga(T46, T98))
U54_gagga(T46, T98, T95, T22, T9, qsc42_out_ga(T46, T98)) → U55_gagga(T46, T98, T95, T22, T9, appc43_in_ggga(T95, T22, T98, T9))
appc43_in_ggga([], T157, T158, .(T157, T158)) → appc43_out_ggga([], T157, T158, .(T157, T158))
appc43_in_ggga(.(T169, T170), T171, T172, .(T169, T174)) → U53_ggga(T169, T170, T171, T172, T174, appc43_in_ggga(T170, T171, T172, T174))
U53_ggga(T169, T170, T171, T172, T174, appc43_out_ggga(T170, T171, T172, T174)) → appc43_out_ggga(.(T169, T170), T171, T172, .(T169, T174))
U55_gagga(T46, T98, T95, T22, T9, appc43_out_ggga(T95, T22, T98, T9)) → qc41_out_gagga(T46, T98, T95, T22, T9)
U44_ga(T191, T192, T193, T9, qc41_out_gagga(.(T192, T198), X15, T202, T191, T9)) → qsc1_out_ga(.(T191, .(T192, T193)), T9)
qsc1_in_ga(.(T207, []), T9) → U45_ga(T207, T9, qsc84_in_a(T210))
U45_ga(T207, T9, qsc84_out_a(T210)) → U46_ga(T207, T9, T210, qsc84_in_a(T213))
U46_ga(T207, T9, T210, qsc84_out_a(T213)) → U47_ga(T207, T9, appc43_in_ggga(T210, T207, T213, T9))
U47_ga(T207, T9, appc43_out_ggga(T210, T207, T213, T9)) → qsc1_out_ga(.(T207, []), T9)
U40_ga(T22, T23, T24, T9, T46, qsc1_out_ga(.(T23, T45), T95)) → U41_ga(T22, T23, T24, T9, qc41_in_gagga(T46, X15, T95, T22, T9))
U41_ga(T22, T23, T24, T9, qc41_out_gagga(T46, X15, T95, T22, T9)) → qsc1_out_ga(.(T22, .(T23, T24)), T9)

The argument filtering Pi contains the following mapping:
.(x1, x2)  =  .(x1, x2)
s(x1)  =  s(x1)
lessc14_in_gg(x1, x2)  =  lessc14_in_gg(x1, x2)
0  =  0
lessc14_out_gg(x1, x2)  =  lessc14_out_gg(x1, x2)
U34_gg(x1, x2, x3)  =  U34_gg(x1, x2, x3)
partc24_in_ggaa(x1, x2, x3, x4)  =  partc24_in_ggaa(x1, x2)
U35_ggaa(x1, x2, x3, x4, x5, x6)  =  U35_ggaa(x1, x2, x3, x6)
U36_ggaa(x1, x2, x3, x4, x5, x6)  =  U36_ggaa(x1, x2, x3, x6)
U37_ggaa(x1, x2, x3, x4, x5, x6)  =  U37_ggaa(x1, x2, x3, x6)
[]  =  []
partc24_out_ggaa(x1, x2, x3, x4)  =  partc24_out_ggaa(x1, x2, x3, x4)
qsc42_in_ga(x1, x2)  =  qsc42_in_ga(x1)
qsc42_out_ga(x1, x2)  =  qsc42_out_ga(x1, x2)
U48_ga(x1, x2, x3, x4)  =  U48_ga(x1, x2, x4)
U49_ga(x1, x2, x3, x4, x5)  =  U49_ga(x1, x2, x4, x5)
U50_ga(x1, x2, x3, x4, x5)  =  U50_ga(x1, x2, x4, x5)
U51_ga(x1, x2, x3, x4)  =  U51_ga(x1, x2, x4)
appc57_in_ggga(x1, x2, x3, x4)  =  appc57_in_ggga(x1, x2, x3)
appc57_out_ggga(x1, x2, x3, x4)  =  appc57_out_ggga(x1, x2, x3, x4)
U52_ggga(x1, x2, x3, x4, x5, x6)  =  U52_ggga(x1, x2, x3, x4, x6)
qsc84_in_a(x1)  =  qsc84_in_a
qsc84_out_a(x1)  =  qsc84_out_a(x1)
qsc1_in_ga(x1, x2)  =  qsc1_in_ga(x1)
qsc1_out_ga(x1, x2)  =  qsc1_out_ga(x1, x2)
U38_ga(x1, x2, x3, x4, x5)  =  U38_ga(x1, x2, x3, x5)
U39_ga(x1, x2, x3, x4, x5)  =  U39_ga(x1, x2, x3, x5)
U40_ga(x1, x2, x3, x4, x5, x6)  =  U40_ga(x1, x2, x3, x5, x6)
U42_ga(x1, x2, x3, x4, x5)  =  U42_ga(x1, x2, x3, x5)
U43_ga(x1, x2, x3, x4, x5, x6)  =  U43_ga(x1, x2, x3, x5, x6)
U44_ga(x1, x2, x3, x4, x5)  =  U44_ga(x1, x2, x3, x5)
qc41_in_gagga(x1, x2, x3, x4, x5)  =  qc41_in_gagga(x1, x3, x4)
U54_gagga(x1, x2, x3, x4, x5, x6)  =  U54_gagga(x1, x3, x4, x6)
U55_gagga(x1, x2, x3, x4, x5, x6)  =  U55_gagga(x1, x2, x3, x4, x6)
appc43_in_ggga(x1, x2, x3, x4)  =  appc43_in_ggga(x1, x2, x3)
appc43_out_ggga(x1, x2, x3, x4)  =  appc43_out_ggga(x1, x2, x3, x4)
U53_ggga(x1, x2, x3, x4, x5, x6)  =  U53_ggga(x1, x2, x3, x4, x6)
qc41_out_gagga(x1, x2, x3, x4, x5)  =  qc41_out_gagga(x1, x2, x3, x4, x5)
U45_ga(x1, x2, x3)  =  U45_ga(x1, x3)
U46_ga(x1, x2, x3, x4)  =  U46_ga(x1, x3, x4)
U47_ga(x1, x2, x3)  =  U47_ga(x1, x3)
U41_ga(x1, x2, x3, x4, x5)  =  U41_ga(x1, x2, x3, x5)
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:

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

The TRS R consists of the following rules:

lessc14_in_gg(0, s(T33)) → lessc14_out_gg(0, s(T33))
lessc14_in_gg(s(T38), s(T39)) → U34_gg(T38, T39, lessc14_in_gg(T38, T39))
U34_gg(T38, T39, lessc14_out_gg(T38, T39)) → lessc14_out_gg(s(T38), s(T39))
partc24_in_ggaa(T62, .(T63, T64), .(T63, X126), X127) → U35_ggaa(T62, T63, T64, X126, X127, lessc14_in_gg(T62, T63))
U35_ggaa(T62, T63, T64, X126, X127, lessc14_out_gg(T62, T63)) → U36_ggaa(T62, T63, T64, X126, X127, partc24_in_ggaa(T62, T64, X126, X127))
partc24_in_ggaa(T84, .(T85, T86), X177, .(T85, X178)) → U37_ggaa(T84, T85, T86, X177, X178, partc24_in_ggaa(T84, T86, X177, X178))
partc24_in_ggaa(T92, [], [], []) → partc24_out_ggaa(T92, [], [], [])
U37_ggaa(T84, T85, T86, X177, X178, partc24_out_ggaa(T84, T86, X177, X178)) → partc24_out_ggaa(T84, .(T85, T86), X177, .(T85, X178))
U36_ggaa(T62, T63, T64, X126, X127, partc24_out_ggaa(T62, T64, X126, X127)) → partc24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
qsc42_in_ga([], []) → qsc42_out_ga([], [])
qsc42_in_ga(.(T103, T104), X230) → U48_ga(T103, T104, X230, partc24_in_ggaa(T103, T104, T108, T109))
U48_ga(T103, T104, X230, partc24_out_ggaa(T103, T104, T108, T109)) → U49_ga(T103, T104, X230, T109, qsc42_in_ga(T108, T113))
U49_ga(T103, T104, X230, T109, qsc42_out_ga(T108, T113)) → U50_ga(T103, T104, X230, T113, qsc42_in_ga(T109, T114))
U50_ga(T103, T104, X230, T113, qsc42_out_ga(T109, T114)) → U51_ga(T103, T104, X230, appc57_in_ggga(T113, T103, T114, X230))
appc57_in_ggga([], T127, T128, .(T127, T128)) → appc57_out_ggga([], T127, T128, .(T127, T128))
appc57_in_ggga(.(T137, T138), T139, T140, .(T137, X270)) → U52_ggga(T137, T138, T139, T140, X270, appc57_in_ggga(T138, T139, T140, X270))
U52_ggga(T137, T138, T139, T140, X270, appc57_out_ggga(T138, T139, T140, X270)) → appc57_out_ggga(.(T137, T138), T139, T140, .(T137, X270))
U51_ga(T103, T104, X230, appc57_out_ggga(T113, T103, T114, X230)) → qsc42_out_ga(.(T103, T104), X230)
qsc84_in_a([]) → qsc84_out_a([])
qsc1_in_ga([], []) → qsc1_out_ga([], [])
qsc1_in_ga(.(T22, .(T23, T24)), T9) → U38_ga(T22, T23, T24, T9, lessc14_in_gg(T22, T23))
U38_ga(T22, T23, T24, T9, lessc14_out_gg(T22, T23)) → U39_ga(T22, T23, T24, T9, partc24_in_ggaa(T22, T24, T45, T46))
U39_ga(T22, T23, T24, T9, partc24_out_ggaa(T22, T24, T45, T46)) → U40_ga(T22, T23, T24, T9, T46, qsc1_in_ga(.(T23, T45), T95))
qsc1_in_ga(.(T191, .(T192, T193)), T9) → U42_ga(T191, T192, T193, T9, partc24_in_ggaa(T191, T193, T197, T198))
U42_ga(T191, T192, T193, T9, partc24_out_ggaa(T191, T193, T197, T198)) → U43_ga(T191, T192, T193, T9, T198, qsc42_in_ga(T197, T202))
U43_ga(T191, T192, T193, T9, T198, qsc42_out_ga(T197, T202)) → U44_ga(T191, T192, T193, T9, qc41_in_gagga(.(T192, T198), X15, T202, T191, T9))
qc41_in_gagga(T46, T98, T95, T22, T9) → U54_gagga(T46, T98, T95, T22, T9, qsc42_in_ga(T46, T98))
U54_gagga(T46, T98, T95, T22, T9, qsc42_out_ga(T46, T98)) → U55_gagga(T46, T98, T95, T22, T9, appc43_in_ggga(T95, T22, T98, T9))
appc43_in_ggga([], T157, T158, .(T157, T158)) → appc43_out_ggga([], T157, T158, .(T157, T158))
appc43_in_ggga(.(T169, T170), T171, T172, .(T169, T174)) → U53_ggga(T169, T170, T171, T172, T174, appc43_in_ggga(T170, T171, T172, T174))
U53_ggga(T169, T170, T171, T172, T174, appc43_out_ggga(T170, T171, T172, T174)) → appc43_out_ggga(.(T169, T170), T171, T172, .(T169, T174))
U55_gagga(T46, T98, T95, T22, T9, appc43_out_ggga(T95, T22, T98, T9)) → qc41_out_gagga(T46, T98, T95, T22, T9)
U44_ga(T191, T192, T193, T9, qc41_out_gagga(.(T192, T198), X15, T202, T191, T9)) → qsc1_out_ga(.(T191, .(T192, T193)), T9)
qsc1_in_ga(.(T207, []), T9) → U45_ga(T207, T9, qsc84_in_a(T210))
U45_ga(T207, T9, qsc84_out_a(T210)) → U46_ga(T207, T9, T210, qsc84_in_a(T213))
U46_ga(T207, T9, T210, qsc84_out_a(T213)) → U47_ga(T207, T9, appc43_in_ggga(T210, T207, T213, T9))
U47_ga(T207, T9, appc43_out_ggga(T210, T207, T213, T9)) → qsc1_out_ga(.(T207, []), T9)
U40_ga(T22, T23, T24, T9, T46, qsc1_out_ga(.(T23, T45), T95)) → U41_ga(T22, T23, T24, T9, qc41_in_gagga(T46, X15, T95, T22, T9))
U41_ga(T22, T23, T24, T9, qc41_out_gagga(T46, X15, T95, T22, T9)) → qsc1_out_ga(.(T22, .(T23, T24)), T9)

The argument filtering Pi contains the following mapping:
.(x1, x2)  =  .(x1, x2)
s(x1)  =  s(x1)
lessc14_in_gg(x1, x2)  =  lessc14_in_gg(x1, x2)
0  =  0
lessc14_out_gg(x1, x2)  =  lessc14_out_gg(x1, x2)
U34_gg(x1, x2, x3)  =  U34_gg(x1, x2, x3)
partc24_in_ggaa(x1, x2, x3, x4)  =  partc24_in_ggaa(x1, x2)
U35_ggaa(x1, x2, x3, x4, x5, x6)  =  U35_ggaa(x1, x2, x3, x6)
U36_ggaa(x1, x2, x3, x4, x5, x6)  =  U36_ggaa(x1, x2, x3, x6)
U37_ggaa(x1, x2, x3, x4, x5, x6)  =  U37_ggaa(x1, x2, x3, x6)
[]  =  []
partc24_out_ggaa(x1, x2, x3, x4)  =  partc24_out_ggaa(x1, x2, x3, x4)
qsc42_in_ga(x1, x2)  =  qsc42_in_ga(x1)
qsc42_out_ga(x1, x2)  =  qsc42_out_ga(x1, x2)
U48_ga(x1, x2, x3, x4)  =  U48_ga(x1, x2, x4)
U49_ga(x1, x2, x3, x4, x5)  =  U49_ga(x1, x2, x4, x5)
U50_ga(x1, x2, x3, x4, x5)  =  U50_ga(x1, x2, x4, x5)
U51_ga(x1, x2, x3, x4)  =  U51_ga(x1, x2, x4)
appc57_in_ggga(x1, x2, x3, x4)  =  appc57_in_ggga(x1, x2, x3)
appc57_out_ggga(x1, x2, x3, x4)  =  appc57_out_ggga(x1, x2, x3, x4)
U52_ggga(x1, x2, x3, x4, x5, x6)  =  U52_ggga(x1, x2, x3, x4, x6)
qsc84_in_a(x1)  =  qsc84_in_a
qsc84_out_a(x1)  =  qsc84_out_a(x1)
qsc1_in_ga(x1, x2)  =  qsc1_in_ga(x1)
qsc1_out_ga(x1, x2)  =  qsc1_out_ga(x1, x2)
U38_ga(x1, x2, x3, x4, x5)  =  U38_ga(x1, x2, x3, x5)
U39_ga(x1, x2, x3, x4, x5)  =  U39_ga(x1, x2, x3, x5)
U40_ga(x1, x2, x3, x4, x5, x6)  =  U40_ga(x1, x2, x3, x5, x6)
U42_ga(x1, x2, x3, x4, x5)  =  U42_ga(x1, x2, x3, x5)
U43_ga(x1, x2, x3, x4, x5, x6)  =  U43_ga(x1, x2, x3, x5, x6)
U44_ga(x1, x2, x3, x4, x5)  =  U44_ga(x1, x2, x3, x5)
qc41_in_gagga(x1, x2, x3, x4, x5)  =  qc41_in_gagga(x1, x3, x4)
U54_gagga(x1, x2, x3, x4, x5, x6)  =  U54_gagga(x1, x3, x4, x6)
U55_gagga(x1, x2, x3, x4, x5, x6)  =  U55_gagga(x1, x2, x3, x4, x6)
appc43_in_ggga(x1, x2, x3, x4)  =  appc43_in_ggga(x1, x2, x3)
appc43_out_ggga(x1, x2, x3, x4)  =  appc43_out_ggga(x1, x2, x3, x4)
U53_ggga(x1, x2, x3, x4, x5, x6)  =  U53_ggga(x1, x2, x3, x4, x6)
qc41_out_gagga(x1, x2, x3, x4, x5)  =  qc41_out_gagga(x1, x2, x3, x4, x5)
U45_ga(x1, x2, x3)  =  U45_ga(x1, x3)
U46_ga(x1, x2, x3, x4)  =  U46_ga(x1, x3, x4)
U47_ga(x1, x2, x3)  =  U47_ga(x1, x3)
U41_ga(x1, x2, x3, x4, x5)  =  U41_ga(x1, x2, x3, x5)
APP57_IN_GGGA(x1, x2, x3, x4)  =  APP57_IN_GGGA(x1, x2, x3)

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

(17) UsableRulesProof (EQUIVALENT transformation)

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

(18) Obligation:

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

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

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

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

(19) PiDPToQDPProof (SOUND transformation)

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

(20) Obligation:

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

APP57_IN_GGGA(.(T137, T138), T139, T140) → APP57_IN_GGGA(T138, T139, T140)

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

(21) QDPSizeChangeProof (EQUIVALENT transformation)

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

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

  • APP57_IN_GGGA(.(T137, T138), T139, T140) → APP57_IN_GGGA(T138, T139, T140)
    The graph contains the following edges 1 > 1, 2 >= 2, 3 >= 3

(22) YES

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

lessc14_in_gg(0, s(T33)) → lessc14_out_gg(0, s(T33))
lessc14_in_gg(s(T38), s(T39)) → U34_gg(T38, T39, lessc14_in_gg(T38, T39))
U34_gg(T38, T39, lessc14_out_gg(T38, T39)) → lessc14_out_gg(s(T38), s(T39))
partc24_in_ggaa(T62, .(T63, T64), .(T63, X126), X127) → U35_ggaa(T62, T63, T64, X126, X127, lessc14_in_gg(T62, T63))
U35_ggaa(T62, T63, T64, X126, X127, lessc14_out_gg(T62, T63)) → U36_ggaa(T62, T63, T64, X126, X127, partc24_in_ggaa(T62, T64, X126, X127))
partc24_in_ggaa(T84, .(T85, T86), X177, .(T85, X178)) → U37_ggaa(T84, T85, T86, X177, X178, partc24_in_ggaa(T84, T86, X177, X178))
partc24_in_ggaa(T92, [], [], []) → partc24_out_ggaa(T92, [], [], [])
U37_ggaa(T84, T85, T86, X177, X178, partc24_out_ggaa(T84, T86, X177, X178)) → partc24_out_ggaa(T84, .(T85, T86), X177, .(T85, X178))
U36_ggaa(T62, T63, T64, X126, X127, partc24_out_ggaa(T62, T64, X126, X127)) → partc24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
qsc42_in_ga([], []) → qsc42_out_ga([], [])
qsc42_in_ga(.(T103, T104), X230) → U48_ga(T103, T104, X230, partc24_in_ggaa(T103, T104, T108, T109))
U48_ga(T103, T104, X230, partc24_out_ggaa(T103, T104, T108, T109)) → U49_ga(T103, T104, X230, T109, qsc42_in_ga(T108, T113))
U49_ga(T103, T104, X230, T109, qsc42_out_ga(T108, T113)) → U50_ga(T103, T104, X230, T113, qsc42_in_ga(T109, T114))
U50_ga(T103, T104, X230, T113, qsc42_out_ga(T109, T114)) → U51_ga(T103, T104, X230, appc57_in_ggga(T113, T103, T114, X230))
appc57_in_ggga([], T127, T128, .(T127, T128)) → appc57_out_ggga([], T127, T128, .(T127, T128))
appc57_in_ggga(.(T137, T138), T139, T140, .(T137, X270)) → U52_ggga(T137, T138, T139, T140, X270, appc57_in_ggga(T138, T139, T140, X270))
U52_ggga(T137, T138, T139, T140, X270, appc57_out_ggga(T138, T139, T140, X270)) → appc57_out_ggga(.(T137, T138), T139, T140, .(T137, X270))
U51_ga(T103, T104, X230, appc57_out_ggga(T113, T103, T114, X230)) → qsc42_out_ga(.(T103, T104), X230)
qsc84_in_a([]) → qsc84_out_a([])
qsc1_in_ga([], []) → qsc1_out_ga([], [])
qsc1_in_ga(.(T22, .(T23, T24)), T9) → U38_ga(T22, T23, T24, T9, lessc14_in_gg(T22, T23))
U38_ga(T22, T23, T24, T9, lessc14_out_gg(T22, T23)) → U39_ga(T22, T23, T24, T9, partc24_in_ggaa(T22, T24, T45, T46))
U39_ga(T22, T23, T24, T9, partc24_out_ggaa(T22, T24, T45, T46)) → U40_ga(T22, T23, T24, T9, T46, qsc1_in_ga(.(T23, T45), T95))
qsc1_in_ga(.(T191, .(T192, T193)), T9) → U42_ga(T191, T192, T193, T9, partc24_in_ggaa(T191, T193, T197, T198))
U42_ga(T191, T192, T193, T9, partc24_out_ggaa(T191, T193, T197, T198)) → U43_ga(T191, T192, T193, T9, T198, qsc42_in_ga(T197, T202))
U43_ga(T191, T192, T193, T9, T198, qsc42_out_ga(T197, T202)) → U44_ga(T191, T192, T193, T9, qc41_in_gagga(.(T192, T198), X15, T202, T191, T9))
qc41_in_gagga(T46, T98, T95, T22, T9) → U54_gagga(T46, T98, T95, T22, T9, qsc42_in_ga(T46, T98))
U54_gagga(T46, T98, T95, T22, T9, qsc42_out_ga(T46, T98)) → U55_gagga(T46, T98, T95, T22, T9, appc43_in_ggga(T95, T22, T98, T9))
appc43_in_ggga([], T157, T158, .(T157, T158)) → appc43_out_ggga([], T157, T158, .(T157, T158))
appc43_in_ggga(.(T169, T170), T171, T172, .(T169, T174)) → U53_ggga(T169, T170, T171, T172, T174, appc43_in_ggga(T170, T171, T172, T174))
U53_ggga(T169, T170, T171, T172, T174, appc43_out_ggga(T170, T171, T172, T174)) → appc43_out_ggga(.(T169, T170), T171, T172, .(T169, T174))
U55_gagga(T46, T98, T95, T22, T9, appc43_out_ggga(T95, T22, T98, T9)) → qc41_out_gagga(T46, T98, T95, T22, T9)
U44_ga(T191, T192, T193, T9, qc41_out_gagga(.(T192, T198), X15, T202, T191, T9)) → qsc1_out_ga(.(T191, .(T192, T193)), T9)
qsc1_in_ga(.(T207, []), T9) → U45_ga(T207, T9, qsc84_in_a(T210))
U45_ga(T207, T9, qsc84_out_a(T210)) → U46_ga(T207, T9, T210, qsc84_in_a(T213))
U46_ga(T207, T9, T210, qsc84_out_a(T213)) → U47_ga(T207, T9, appc43_in_ggga(T210, T207, T213, T9))
U47_ga(T207, T9, appc43_out_ggga(T210, T207, T213, T9)) → qsc1_out_ga(.(T207, []), T9)
U40_ga(T22, T23, T24, T9, T46, qsc1_out_ga(.(T23, T45), T95)) → U41_ga(T22, T23, T24, T9, qc41_in_gagga(T46, X15, T95, T22, T9))
U41_ga(T22, T23, T24, T9, qc41_out_gagga(T46, X15, T95, T22, T9)) → qsc1_out_ga(.(T22, .(T23, T24)), T9)

The argument filtering Pi contains the following mapping:
.(x1, x2)  =  .(x1, x2)
s(x1)  =  s(x1)
lessc14_in_gg(x1, x2)  =  lessc14_in_gg(x1, x2)
0  =  0
lessc14_out_gg(x1, x2)  =  lessc14_out_gg(x1, x2)
U34_gg(x1, x2, x3)  =  U34_gg(x1, x2, x3)
partc24_in_ggaa(x1, x2, x3, x4)  =  partc24_in_ggaa(x1, x2)
U35_ggaa(x1, x2, x3, x4, x5, x6)  =  U35_ggaa(x1, x2, x3, x6)
U36_ggaa(x1, x2, x3, x4, x5, x6)  =  U36_ggaa(x1, x2, x3, x6)
U37_ggaa(x1, x2, x3, x4, x5, x6)  =  U37_ggaa(x1, x2, x3, x6)
[]  =  []
partc24_out_ggaa(x1, x2, x3, x4)  =  partc24_out_ggaa(x1, x2, x3, x4)
qsc42_in_ga(x1, x2)  =  qsc42_in_ga(x1)
qsc42_out_ga(x1, x2)  =  qsc42_out_ga(x1, x2)
U48_ga(x1, x2, x3, x4)  =  U48_ga(x1, x2, x4)
U49_ga(x1, x2, x3, x4, x5)  =  U49_ga(x1, x2, x4, x5)
U50_ga(x1, x2, x3, x4, x5)  =  U50_ga(x1, x2, x4, x5)
U51_ga(x1, x2, x3, x4)  =  U51_ga(x1, x2, x4)
appc57_in_ggga(x1, x2, x3, x4)  =  appc57_in_ggga(x1, x2, x3)
appc57_out_ggga(x1, x2, x3, x4)  =  appc57_out_ggga(x1, x2, x3, x4)
U52_ggga(x1, x2, x3, x4, x5, x6)  =  U52_ggga(x1, x2, x3, x4, x6)
qsc84_in_a(x1)  =  qsc84_in_a
qsc84_out_a(x1)  =  qsc84_out_a(x1)
qsc1_in_ga(x1, x2)  =  qsc1_in_ga(x1)
qsc1_out_ga(x1, x2)  =  qsc1_out_ga(x1, x2)
U38_ga(x1, x2, x3, x4, x5)  =  U38_ga(x1, x2, x3, x5)
U39_ga(x1, x2, x3, x4, x5)  =  U39_ga(x1, x2, x3, x5)
U40_ga(x1, x2, x3, x4, x5, x6)  =  U40_ga(x1, x2, x3, x5, x6)
U42_ga(x1, x2, x3, x4, x5)  =  U42_ga(x1, x2, x3, x5)
U43_ga(x1, x2, x3, x4, x5, x6)  =  U43_ga(x1, x2, x3, x5, x6)
U44_ga(x1, x2, x3, x4, x5)  =  U44_ga(x1, x2, x3, x5)
qc41_in_gagga(x1, x2, x3, x4, x5)  =  qc41_in_gagga(x1, x3, x4)
U54_gagga(x1, x2, x3, x4, x5, x6)  =  U54_gagga(x1, x3, x4, x6)
U55_gagga(x1, x2, x3, x4, x5, x6)  =  U55_gagga(x1, x2, x3, x4, x6)
appc43_in_ggga(x1, x2, x3, x4)  =  appc43_in_ggga(x1, x2, x3)
appc43_out_ggga(x1, x2, x3, x4)  =  appc43_out_ggga(x1, x2, x3, x4)
U53_ggga(x1, x2, x3, x4, x5, x6)  =  U53_ggga(x1, x2, x3, x4, x6)
qc41_out_gagga(x1, x2, x3, x4, x5)  =  qc41_out_gagga(x1, x2, x3, x4, x5)
U45_ga(x1, x2, x3)  =  U45_ga(x1, x3)
U46_ga(x1, x2, x3, x4)  =  U46_ga(x1, x3, x4)
U47_ga(x1, x2, x3)  =  U47_ga(x1, x3)
U41_ga(x1, x2, x3, x4, x5)  =  U41_ga(x1, x2, x3, x5)
LESS14_IN_GG(x1, x2)  =  LESS14_IN_GG(x1, x2)

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

(24) UsableRulesProof (EQUIVALENT transformation)

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

(25) Obligation:

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

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

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

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.

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

  • LESS14_IN_GG(s(T38), s(T39)) → LESS14_IN_GG(T38, T39)
    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:

PART24_IN_GGAA(T62, .(T63, T64), .(T63, X126), X127) → U3_GGAA(T62, T63, T64, X126, X127, lessc14_in_gg(T62, T63))
U3_GGAA(T62, T63, T64, X126, X127, lessc14_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:

lessc14_in_gg(0, s(T33)) → lessc14_out_gg(0, s(T33))
lessc14_in_gg(s(T38), s(T39)) → U34_gg(T38, T39, lessc14_in_gg(T38, T39))
U34_gg(T38, T39, lessc14_out_gg(T38, T39)) → lessc14_out_gg(s(T38), s(T39))
partc24_in_ggaa(T62, .(T63, T64), .(T63, X126), X127) → U35_ggaa(T62, T63, T64, X126, X127, lessc14_in_gg(T62, T63))
U35_ggaa(T62, T63, T64, X126, X127, lessc14_out_gg(T62, T63)) → U36_ggaa(T62, T63, T64, X126, X127, partc24_in_ggaa(T62, T64, X126, X127))
partc24_in_ggaa(T84, .(T85, T86), X177, .(T85, X178)) → U37_ggaa(T84, T85, T86, X177, X178, partc24_in_ggaa(T84, T86, X177, X178))
partc24_in_ggaa(T92, [], [], []) → partc24_out_ggaa(T92, [], [], [])
U37_ggaa(T84, T85, T86, X177, X178, partc24_out_ggaa(T84, T86, X177, X178)) → partc24_out_ggaa(T84, .(T85, T86), X177, .(T85, X178))
U36_ggaa(T62, T63, T64, X126, X127, partc24_out_ggaa(T62, T64, X126, X127)) → partc24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
qsc42_in_ga([], []) → qsc42_out_ga([], [])
qsc42_in_ga(.(T103, T104), X230) → U48_ga(T103, T104, X230, partc24_in_ggaa(T103, T104, T108, T109))
U48_ga(T103, T104, X230, partc24_out_ggaa(T103, T104, T108, T109)) → U49_ga(T103, T104, X230, T109, qsc42_in_ga(T108, T113))
U49_ga(T103, T104, X230, T109, qsc42_out_ga(T108, T113)) → U50_ga(T103, T104, X230, T113, qsc42_in_ga(T109, T114))
U50_ga(T103, T104, X230, T113, qsc42_out_ga(T109, T114)) → U51_ga(T103, T104, X230, appc57_in_ggga(T113, T103, T114, X230))
appc57_in_ggga([], T127, T128, .(T127, T128)) → appc57_out_ggga([], T127, T128, .(T127, T128))
appc57_in_ggga(.(T137, T138), T139, T140, .(T137, X270)) → U52_ggga(T137, T138, T139, T140, X270, appc57_in_ggga(T138, T139, T140, X270))
U52_ggga(T137, T138, T139, T140, X270, appc57_out_ggga(T138, T139, T140, X270)) → appc57_out_ggga(.(T137, T138), T139, T140, .(T137, X270))
U51_ga(T103, T104, X230, appc57_out_ggga(T113, T103, T114, X230)) → qsc42_out_ga(.(T103, T104), X230)
qsc84_in_a([]) → qsc84_out_a([])
qsc1_in_ga([], []) → qsc1_out_ga([], [])
qsc1_in_ga(.(T22, .(T23, T24)), T9) → U38_ga(T22, T23, T24, T9, lessc14_in_gg(T22, T23))
U38_ga(T22, T23, T24, T9, lessc14_out_gg(T22, T23)) → U39_ga(T22, T23, T24, T9, partc24_in_ggaa(T22, T24, T45, T46))
U39_ga(T22, T23, T24, T9, partc24_out_ggaa(T22, T24, T45, T46)) → U40_ga(T22, T23, T24, T9, T46, qsc1_in_ga(.(T23, T45), T95))
qsc1_in_ga(.(T191, .(T192, T193)), T9) → U42_ga(T191, T192, T193, T9, partc24_in_ggaa(T191, T193, T197, T198))
U42_ga(T191, T192, T193, T9, partc24_out_ggaa(T191, T193, T197, T198)) → U43_ga(T191, T192, T193, T9, T198, qsc42_in_ga(T197, T202))
U43_ga(T191, T192, T193, T9, T198, qsc42_out_ga(T197, T202)) → U44_ga(T191, T192, T193, T9, qc41_in_gagga(.(T192, T198), X15, T202, T191, T9))
qc41_in_gagga(T46, T98, T95, T22, T9) → U54_gagga(T46, T98, T95, T22, T9, qsc42_in_ga(T46, T98))
U54_gagga(T46, T98, T95, T22, T9, qsc42_out_ga(T46, T98)) → U55_gagga(T46, T98, T95, T22, T9, appc43_in_ggga(T95, T22, T98, T9))
appc43_in_ggga([], T157, T158, .(T157, T158)) → appc43_out_ggga([], T157, T158, .(T157, T158))
appc43_in_ggga(.(T169, T170), T171, T172, .(T169, T174)) → U53_ggga(T169, T170, T171, T172, T174, appc43_in_ggga(T170, T171, T172, T174))
U53_ggga(T169, T170, T171, T172, T174, appc43_out_ggga(T170, T171, T172, T174)) → appc43_out_ggga(.(T169, T170), T171, T172, .(T169, T174))
U55_gagga(T46, T98, T95, T22, T9, appc43_out_ggga(T95, T22, T98, T9)) → qc41_out_gagga(T46, T98, T95, T22, T9)
U44_ga(T191, T192, T193, T9, qc41_out_gagga(.(T192, T198), X15, T202, T191, T9)) → qsc1_out_ga(.(T191, .(T192, T193)), T9)
qsc1_in_ga(.(T207, []), T9) → U45_ga(T207, T9, qsc84_in_a(T210))
U45_ga(T207, T9, qsc84_out_a(T210)) → U46_ga(T207, T9, T210, qsc84_in_a(T213))
U46_ga(T207, T9, T210, qsc84_out_a(T213)) → U47_ga(T207, T9, appc43_in_ggga(T210, T207, T213, T9))
U47_ga(T207, T9, appc43_out_ggga(T210, T207, T213, T9)) → qsc1_out_ga(.(T207, []), T9)
U40_ga(T22, T23, T24, T9, T46, qsc1_out_ga(.(T23, T45), T95)) → U41_ga(T22, T23, T24, T9, qc41_in_gagga(T46, X15, T95, T22, T9))
U41_ga(T22, T23, T24, T9, qc41_out_gagga(T46, X15, T95, T22, T9)) → qsc1_out_ga(.(T22, .(T23, T24)), T9)

The argument filtering Pi contains the following mapping:
.(x1, x2)  =  .(x1, x2)
s(x1)  =  s(x1)
lessc14_in_gg(x1, x2)  =  lessc14_in_gg(x1, x2)
0  =  0
lessc14_out_gg(x1, x2)  =  lessc14_out_gg(x1, x2)
U34_gg(x1, x2, x3)  =  U34_gg(x1, x2, x3)
partc24_in_ggaa(x1, x2, x3, x4)  =  partc24_in_ggaa(x1, x2)
U35_ggaa(x1, x2, x3, x4, x5, x6)  =  U35_ggaa(x1, x2, x3, x6)
U36_ggaa(x1, x2, x3, x4, x5, x6)  =  U36_ggaa(x1, x2, x3, x6)
U37_ggaa(x1, x2, x3, x4, x5, x6)  =  U37_ggaa(x1, x2, x3, x6)
[]  =  []
partc24_out_ggaa(x1, x2, x3, x4)  =  partc24_out_ggaa(x1, x2, x3, x4)
qsc42_in_ga(x1, x2)  =  qsc42_in_ga(x1)
qsc42_out_ga(x1, x2)  =  qsc42_out_ga(x1, x2)
U48_ga(x1, x2, x3, x4)  =  U48_ga(x1, x2, x4)
U49_ga(x1, x2, x3, x4, x5)  =  U49_ga(x1, x2, x4, x5)
U50_ga(x1, x2, x3, x4, x5)  =  U50_ga(x1, x2, x4, x5)
U51_ga(x1, x2, x3, x4)  =  U51_ga(x1, x2, x4)
appc57_in_ggga(x1, x2, x3, x4)  =  appc57_in_ggga(x1, x2, x3)
appc57_out_ggga(x1, x2, x3, x4)  =  appc57_out_ggga(x1, x2, x3, x4)
U52_ggga(x1, x2, x3, x4, x5, x6)  =  U52_ggga(x1, x2, x3, x4, x6)
qsc84_in_a(x1)  =  qsc84_in_a
qsc84_out_a(x1)  =  qsc84_out_a(x1)
qsc1_in_ga(x1, x2)  =  qsc1_in_ga(x1)
qsc1_out_ga(x1, x2)  =  qsc1_out_ga(x1, x2)
U38_ga(x1, x2, x3, x4, x5)  =  U38_ga(x1, x2, x3, x5)
U39_ga(x1, x2, x3, x4, x5)  =  U39_ga(x1, x2, x3, x5)
U40_ga(x1, x2, x3, x4, x5, x6)  =  U40_ga(x1, x2, x3, x5, x6)
U42_ga(x1, x2, x3, x4, x5)  =  U42_ga(x1, x2, x3, x5)
U43_ga(x1, x2, x3, x4, x5, x6)  =  U43_ga(x1, x2, x3, x5, x6)
U44_ga(x1, x2, x3, x4, x5)  =  U44_ga(x1, x2, x3, x5)
qc41_in_gagga(x1, x2, x3, x4, x5)  =  qc41_in_gagga(x1, x3, x4)
U54_gagga(x1, x2, x3, x4, x5, x6)  =  U54_gagga(x1, x3, x4, x6)
U55_gagga(x1, x2, x3, x4, x5, x6)  =  U55_gagga(x1, x2, x3, x4, x6)
appc43_in_ggga(x1, x2, x3, x4)  =  appc43_in_ggga(x1, x2, x3)
appc43_out_ggga(x1, x2, x3, x4)  =  appc43_out_ggga(x1, x2, x3, x4)
U53_ggga(x1, x2, x3, x4, x5, x6)  =  U53_ggga(x1, x2, x3, x4, x6)
qc41_out_gagga(x1, x2, x3, x4, x5)  =  qc41_out_gagga(x1, x2, x3, x4, x5)
U45_ga(x1, x2, x3)  =  U45_ga(x1, x3)
U46_ga(x1, x2, x3, x4)  =  U46_ga(x1, x3, x4)
U47_ga(x1, x2, x3)  =  U47_ga(x1, x3)
U41_ga(x1, x2, x3, x4, x5)  =  U41_ga(x1, x2, x3, x5)
PART24_IN_GGAA(x1, x2, x3, x4)  =  PART24_IN_GGAA(x1, x2)
U3_GGAA(x1, x2, x3, x4, x5, x6)  =  U3_GGAA(x1, x2, x3, x6)

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:

PART24_IN_GGAA(T62, .(T63, T64), .(T63, X126), X127) → U3_GGAA(T62, T63, T64, X126, X127, lessc14_in_gg(T62, T63))
U3_GGAA(T62, T63, T64, X126, X127, lessc14_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:

lessc14_in_gg(0, s(T33)) → lessc14_out_gg(0, s(T33))
lessc14_in_gg(s(T38), s(T39)) → U34_gg(T38, T39, lessc14_in_gg(T38, T39))
U34_gg(T38, T39, lessc14_out_gg(T38, T39)) → lessc14_out_gg(s(T38), s(T39))

The argument filtering Pi contains the following mapping:
.(x1, x2)  =  .(x1, x2)
s(x1)  =  s(x1)
lessc14_in_gg(x1, x2)  =  lessc14_in_gg(x1, x2)
0  =  0
lessc14_out_gg(x1, x2)  =  lessc14_out_gg(x1, x2)
U34_gg(x1, x2, x3)  =  U34_gg(x1, x2, x3)
PART24_IN_GGAA(x1, x2, x3, x4)  =  PART24_IN_GGAA(x1, x2)
U3_GGAA(x1, x2, x3, x4, x5, x6)  =  U3_GGAA(x1, x2, x3, x6)

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:

PART24_IN_GGAA(T62, .(T63, T64)) → U3_GGAA(T62, T63, T64, lessc14_in_gg(T62, T63))
U3_GGAA(T62, T63, T64, lessc14_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:

lessc14_in_gg(0, s(T33)) → lessc14_out_gg(0, s(T33))
lessc14_in_gg(s(T38), s(T39)) → U34_gg(T38, T39, lessc14_in_gg(T38, T39))
U34_gg(T38, T39, lessc14_out_gg(T38, T39)) → lessc14_out_gg(s(T38), s(T39))

The set Q consists of the following terms:

lessc14_in_gg(x0, x1)
U34_gg(x0, x1, x2)

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

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

  • U3_GGAA(T62, T63, T64, lessc14_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)) → U3_GGAA(T62, T63, T64, lessc14_in_gg(T62, T63))
    The graph contains the following edges 1 >= 1, 2 > 2, 2 > 3

(36) YES

(37) Obligation:

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

QS42_IN_GA(.(T103, T104), X230) → U7_GA(T103, T104, X230, partc24_in_ggaa(T103, T104, T108, T109))
U7_GA(T103, T104, X230, partc24_out_ggaa(T103, T104, T108, T109)) → QS42_IN_GA(T108, X228)
U7_GA(T103, T104, X230, partc24_out_ggaa(T103, T104, T108, T109)) → U9_GA(T103, T104, X230, T109, qsc42_in_ga(T108, T113))
U9_GA(T103, T104, X230, T109, qsc42_out_ga(T108, T113)) → QS42_IN_GA(T109, X229)

The TRS R consists of the following rules:

lessc14_in_gg(0, s(T33)) → lessc14_out_gg(0, s(T33))
lessc14_in_gg(s(T38), s(T39)) → U34_gg(T38, T39, lessc14_in_gg(T38, T39))
U34_gg(T38, T39, lessc14_out_gg(T38, T39)) → lessc14_out_gg(s(T38), s(T39))
partc24_in_ggaa(T62, .(T63, T64), .(T63, X126), X127) → U35_ggaa(T62, T63, T64, X126, X127, lessc14_in_gg(T62, T63))
U35_ggaa(T62, T63, T64, X126, X127, lessc14_out_gg(T62, T63)) → U36_ggaa(T62, T63, T64, X126, X127, partc24_in_ggaa(T62, T64, X126, X127))
partc24_in_ggaa(T84, .(T85, T86), X177, .(T85, X178)) → U37_ggaa(T84, T85, T86, X177, X178, partc24_in_ggaa(T84, T86, X177, X178))
partc24_in_ggaa(T92, [], [], []) → partc24_out_ggaa(T92, [], [], [])
U37_ggaa(T84, T85, T86, X177, X178, partc24_out_ggaa(T84, T86, X177, X178)) → partc24_out_ggaa(T84, .(T85, T86), X177, .(T85, X178))
U36_ggaa(T62, T63, T64, X126, X127, partc24_out_ggaa(T62, T64, X126, X127)) → partc24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
qsc42_in_ga([], []) → qsc42_out_ga([], [])
qsc42_in_ga(.(T103, T104), X230) → U48_ga(T103, T104, X230, partc24_in_ggaa(T103, T104, T108, T109))
U48_ga(T103, T104, X230, partc24_out_ggaa(T103, T104, T108, T109)) → U49_ga(T103, T104, X230, T109, qsc42_in_ga(T108, T113))
U49_ga(T103, T104, X230, T109, qsc42_out_ga(T108, T113)) → U50_ga(T103, T104, X230, T113, qsc42_in_ga(T109, T114))
U50_ga(T103, T104, X230, T113, qsc42_out_ga(T109, T114)) → U51_ga(T103, T104, X230, appc57_in_ggga(T113, T103, T114, X230))
appc57_in_ggga([], T127, T128, .(T127, T128)) → appc57_out_ggga([], T127, T128, .(T127, T128))
appc57_in_ggga(.(T137, T138), T139, T140, .(T137, X270)) → U52_ggga(T137, T138, T139, T140, X270, appc57_in_ggga(T138, T139, T140, X270))
U52_ggga(T137, T138, T139, T140, X270, appc57_out_ggga(T138, T139, T140, X270)) → appc57_out_ggga(.(T137, T138), T139, T140, .(T137, X270))
U51_ga(T103, T104, X230, appc57_out_ggga(T113, T103, T114, X230)) → qsc42_out_ga(.(T103, T104), X230)
qsc84_in_a([]) → qsc84_out_a([])
qsc1_in_ga([], []) → qsc1_out_ga([], [])
qsc1_in_ga(.(T22, .(T23, T24)), T9) → U38_ga(T22, T23, T24, T9, lessc14_in_gg(T22, T23))
U38_ga(T22, T23, T24, T9, lessc14_out_gg(T22, T23)) → U39_ga(T22, T23, T24, T9, partc24_in_ggaa(T22, T24, T45, T46))
U39_ga(T22, T23, T24, T9, partc24_out_ggaa(T22, T24, T45, T46)) → U40_ga(T22, T23, T24, T9, T46, qsc1_in_ga(.(T23, T45), T95))
qsc1_in_ga(.(T191, .(T192, T193)), T9) → U42_ga(T191, T192, T193, T9, partc24_in_ggaa(T191, T193, T197, T198))
U42_ga(T191, T192, T193, T9, partc24_out_ggaa(T191, T193, T197, T198)) → U43_ga(T191, T192, T193, T9, T198, qsc42_in_ga(T197, T202))
U43_ga(T191, T192, T193, T9, T198, qsc42_out_ga(T197, T202)) → U44_ga(T191, T192, T193, T9, qc41_in_gagga(.(T192, T198), X15, T202, T191, T9))
qc41_in_gagga(T46, T98, T95, T22, T9) → U54_gagga(T46, T98, T95, T22, T9, qsc42_in_ga(T46, T98))
U54_gagga(T46, T98, T95, T22, T9, qsc42_out_ga(T46, T98)) → U55_gagga(T46, T98, T95, T22, T9, appc43_in_ggga(T95, T22, T98, T9))
appc43_in_ggga([], T157, T158, .(T157, T158)) → appc43_out_ggga([], T157, T158, .(T157, T158))
appc43_in_ggga(.(T169, T170), T171, T172, .(T169, T174)) → U53_ggga(T169, T170, T171, T172, T174, appc43_in_ggga(T170, T171, T172, T174))
U53_ggga(T169, T170, T171, T172, T174, appc43_out_ggga(T170, T171, T172, T174)) → appc43_out_ggga(.(T169, T170), T171, T172, .(T169, T174))
U55_gagga(T46, T98, T95, T22, T9, appc43_out_ggga(T95, T22, T98, T9)) → qc41_out_gagga(T46, T98, T95, T22, T9)
U44_ga(T191, T192, T193, T9, qc41_out_gagga(.(T192, T198), X15, T202, T191, T9)) → qsc1_out_ga(.(T191, .(T192, T193)), T9)
qsc1_in_ga(.(T207, []), T9) → U45_ga(T207, T9, qsc84_in_a(T210))
U45_ga(T207, T9, qsc84_out_a(T210)) → U46_ga(T207, T9, T210, qsc84_in_a(T213))
U46_ga(T207, T9, T210, qsc84_out_a(T213)) → U47_ga(T207, T9, appc43_in_ggga(T210, T207, T213, T9))
U47_ga(T207, T9, appc43_out_ggga(T210, T207, T213, T9)) → qsc1_out_ga(.(T207, []), T9)
U40_ga(T22, T23, T24, T9, T46, qsc1_out_ga(.(T23, T45), T95)) → U41_ga(T22, T23, T24, T9, qc41_in_gagga(T46, X15, T95, T22, T9))
U41_ga(T22, T23, T24, T9, qc41_out_gagga(T46, X15, T95, T22, T9)) → qsc1_out_ga(.(T22, .(T23, T24)), T9)

The argument filtering Pi contains the following mapping:
.(x1, x2)  =  .(x1, x2)
s(x1)  =  s(x1)
lessc14_in_gg(x1, x2)  =  lessc14_in_gg(x1, x2)
0  =  0
lessc14_out_gg(x1, x2)  =  lessc14_out_gg(x1, x2)
U34_gg(x1, x2, x3)  =  U34_gg(x1, x2, x3)
partc24_in_ggaa(x1, x2, x3, x4)  =  partc24_in_ggaa(x1, x2)
U35_ggaa(x1, x2, x3, x4, x5, x6)  =  U35_ggaa(x1, x2, x3, x6)
U36_ggaa(x1, x2, x3, x4, x5, x6)  =  U36_ggaa(x1, x2, x3, x6)
U37_ggaa(x1, x2, x3, x4, x5, x6)  =  U37_ggaa(x1, x2, x3, x6)
[]  =  []
partc24_out_ggaa(x1, x2, x3, x4)  =  partc24_out_ggaa(x1, x2, x3, x4)
qsc42_in_ga(x1, x2)  =  qsc42_in_ga(x1)
qsc42_out_ga(x1, x2)  =  qsc42_out_ga(x1, x2)
U48_ga(x1, x2, x3, x4)  =  U48_ga(x1, x2, x4)
U49_ga(x1, x2, x3, x4, x5)  =  U49_ga(x1, x2, x4, x5)
U50_ga(x1, x2, x3, x4, x5)  =  U50_ga(x1, x2, x4, x5)
U51_ga(x1, x2, x3, x4)  =  U51_ga(x1, x2, x4)
appc57_in_ggga(x1, x2, x3, x4)  =  appc57_in_ggga(x1, x2, x3)
appc57_out_ggga(x1, x2, x3, x4)  =  appc57_out_ggga(x1, x2, x3, x4)
U52_ggga(x1, x2, x3, x4, x5, x6)  =  U52_ggga(x1, x2, x3, x4, x6)
qsc84_in_a(x1)  =  qsc84_in_a
qsc84_out_a(x1)  =  qsc84_out_a(x1)
qsc1_in_ga(x1, x2)  =  qsc1_in_ga(x1)
qsc1_out_ga(x1, x2)  =  qsc1_out_ga(x1, x2)
U38_ga(x1, x2, x3, x4, x5)  =  U38_ga(x1, x2, x3, x5)
U39_ga(x1, x2, x3, x4, x5)  =  U39_ga(x1, x2, x3, x5)
U40_ga(x1, x2, x3, x4, x5, x6)  =  U40_ga(x1, x2, x3, x5, x6)
U42_ga(x1, x2, x3, x4, x5)  =  U42_ga(x1, x2, x3, x5)
U43_ga(x1, x2, x3, x4, x5, x6)  =  U43_ga(x1, x2, x3, x5, x6)
U44_ga(x1, x2, x3, x4, x5)  =  U44_ga(x1, x2, x3, x5)
qc41_in_gagga(x1, x2, x3, x4, x5)  =  qc41_in_gagga(x1, x3, x4)
U54_gagga(x1, x2, x3, x4, x5, x6)  =  U54_gagga(x1, x3, x4, x6)
U55_gagga(x1, x2, x3, x4, x5, x6)  =  U55_gagga(x1, x2, x3, x4, x6)
appc43_in_ggga(x1, x2, x3, x4)  =  appc43_in_ggga(x1, x2, x3)
appc43_out_ggga(x1, x2, x3, x4)  =  appc43_out_ggga(x1, x2, x3, x4)
U53_ggga(x1, x2, x3, x4, x5, x6)  =  U53_ggga(x1, x2, x3, x4, x6)
qc41_out_gagga(x1, x2, x3, x4, x5)  =  qc41_out_gagga(x1, x2, x3, x4, x5)
U45_ga(x1, x2, x3)  =  U45_ga(x1, x3)
U46_ga(x1, x2, x3, x4)  =  U46_ga(x1, x3, x4)
U47_ga(x1, x2, x3)  =  U47_ga(x1, x3)
U41_ga(x1, x2, x3, x4, x5)  =  U41_ga(x1, x2, x3, x5)
QS42_IN_GA(x1, x2)  =  QS42_IN_GA(x1)
U7_GA(x1, x2, x3, x4)  =  U7_GA(x1, x2, x4)
U9_GA(x1, x2, x3, x4, x5)  =  U9_GA(x1, x2, x4, x5)

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:

QS42_IN_GA(.(T103, T104), X230) → U7_GA(T103, T104, X230, partc24_in_ggaa(T103, T104, T108, T109))
U7_GA(T103, T104, X230, partc24_out_ggaa(T103, T104, T108, T109)) → QS42_IN_GA(T108, X228)
U7_GA(T103, T104, X230, partc24_out_ggaa(T103, T104, T108, T109)) → U9_GA(T103, T104, X230, T109, qsc42_in_ga(T108, T113))
U9_GA(T103, T104, X230, T109, qsc42_out_ga(T108, T113)) → QS42_IN_GA(T109, X229)

The TRS R consists of the following rules:

partc24_in_ggaa(T62, .(T63, T64), .(T63, X126), X127) → U35_ggaa(T62, T63, T64, X126, X127, lessc14_in_gg(T62, T63))
partc24_in_ggaa(T84, .(T85, T86), X177, .(T85, X178)) → U37_ggaa(T84, T85, T86, X177, X178, partc24_in_ggaa(T84, T86, X177, X178))
partc24_in_ggaa(T92, [], [], []) → partc24_out_ggaa(T92, [], [], [])
qsc42_in_ga([], []) → qsc42_out_ga([], [])
qsc42_in_ga(.(T103, T104), X230) → U48_ga(T103, T104, X230, partc24_in_ggaa(T103, T104, T108, T109))
U35_ggaa(T62, T63, T64, X126, X127, lessc14_out_gg(T62, T63)) → U36_ggaa(T62, T63, T64, X126, X127, partc24_in_ggaa(T62, T64, X126, X127))
U37_ggaa(T84, T85, T86, X177, X178, partc24_out_ggaa(T84, T86, X177, X178)) → partc24_out_ggaa(T84, .(T85, T86), X177, .(T85, X178))
U48_ga(T103, T104, X230, partc24_out_ggaa(T103, T104, T108, T109)) → U49_ga(T103, T104, X230, T109, qsc42_in_ga(T108, T113))
lessc14_in_gg(0, s(T33)) → lessc14_out_gg(0, s(T33))
lessc14_in_gg(s(T38), s(T39)) → U34_gg(T38, T39, lessc14_in_gg(T38, T39))
U36_ggaa(T62, T63, T64, X126, X127, partc24_out_ggaa(T62, T64, X126, X127)) → partc24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
U49_ga(T103, T104, X230, T109, qsc42_out_ga(T108, T113)) → U50_ga(T103, T104, X230, T113, qsc42_in_ga(T109, T114))
U34_gg(T38, T39, lessc14_out_gg(T38, T39)) → lessc14_out_gg(s(T38), s(T39))
U50_ga(T103, T104, X230, T113, qsc42_out_ga(T109, T114)) → U51_ga(T103, T104, X230, appc57_in_ggga(T113, T103, T114, X230))
U51_ga(T103, T104, X230, appc57_out_ggga(T113, T103, T114, X230)) → qsc42_out_ga(.(T103, T104), X230)
appc57_in_ggga([], T127, T128, .(T127, T128)) → appc57_out_ggga([], T127, T128, .(T127, T128))
appc57_in_ggga(.(T137, T138), T139, T140, .(T137, X270)) → U52_ggga(T137, T138, T139, T140, X270, appc57_in_ggga(T138, T139, T140, X270))
U52_ggga(T137, T138, T139, T140, X270, appc57_out_ggga(T138, T139, T140, X270)) → appc57_out_ggga(.(T137, T138), T139, T140, .(T137, X270))

The argument filtering Pi contains the following mapping:
.(x1, x2)  =  .(x1, x2)
s(x1)  =  s(x1)
lessc14_in_gg(x1, x2)  =  lessc14_in_gg(x1, x2)
0  =  0
lessc14_out_gg(x1, x2)  =  lessc14_out_gg(x1, x2)
U34_gg(x1, x2, x3)  =  U34_gg(x1, x2, x3)
partc24_in_ggaa(x1, x2, x3, x4)  =  partc24_in_ggaa(x1, x2)
U35_ggaa(x1, x2, x3, x4, x5, x6)  =  U35_ggaa(x1, x2, x3, x6)
U36_ggaa(x1, x2, x3, x4, x5, x6)  =  U36_ggaa(x1, x2, x3, x6)
U37_ggaa(x1, x2, x3, x4, x5, x6)  =  U37_ggaa(x1, x2, x3, x6)
[]  =  []
partc24_out_ggaa(x1, x2, x3, x4)  =  partc24_out_ggaa(x1, x2, x3, x4)
qsc42_in_ga(x1, x2)  =  qsc42_in_ga(x1)
qsc42_out_ga(x1, x2)  =  qsc42_out_ga(x1, x2)
U48_ga(x1, x2, x3, x4)  =  U48_ga(x1, x2, x4)
U49_ga(x1, x2, x3, x4, x5)  =  U49_ga(x1, x2, x4, x5)
U50_ga(x1, x2, x3, x4, x5)  =  U50_ga(x1, x2, x4, x5)
U51_ga(x1, x2, x3, x4)  =  U51_ga(x1, x2, x4)
appc57_in_ggga(x1, x2, x3, x4)  =  appc57_in_ggga(x1, x2, x3)
appc57_out_ggga(x1, x2, x3, x4)  =  appc57_out_ggga(x1, x2, x3, x4)
U52_ggga(x1, x2, x3, x4, x5, x6)  =  U52_ggga(x1, x2, x3, x4, x6)
QS42_IN_GA(x1, x2)  =  QS42_IN_GA(x1)
U7_GA(x1, x2, x3, x4)  =  U7_GA(x1, x2, x4)
U9_GA(x1, x2, x3, x4, x5)  =  U9_GA(x1, x2, x4, x5)

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:

QS42_IN_GA(.(T103, T104)) → U7_GA(T103, T104, partc24_in_ggaa(T103, T104))
U7_GA(T103, T104, partc24_out_ggaa(T103, T104, T108, T109)) → QS42_IN_GA(T108)
U7_GA(T103, T104, partc24_out_ggaa(T103, T104, T108, T109)) → U9_GA(T103, T104, T109, qsc42_in_ga(T108))
U9_GA(T103, T104, T109, qsc42_out_ga(T108, T113)) → QS42_IN_GA(T109)

The TRS R consists of the following rules:

partc24_in_ggaa(T62, .(T63, T64)) → U35_ggaa(T62, T63, T64, lessc14_in_gg(T62, T63))
partc24_in_ggaa(T84, .(T85, T86)) → U37_ggaa(T84, T85, T86, partc24_in_ggaa(T84, T86))
partc24_in_ggaa(T92, []) → partc24_out_ggaa(T92, [], [], [])
qsc42_in_ga([]) → qsc42_out_ga([], [])
qsc42_in_ga(.(T103, T104)) → U48_ga(T103, T104, partc24_in_ggaa(T103, T104))
U35_ggaa(T62, T63, T64, lessc14_out_gg(T62, T63)) → U36_ggaa(T62, T63, T64, partc24_in_ggaa(T62, T64))
U37_ggaa(T84, T85, T86, partc24_out_ggaa(T84, T86, X177, X178)) → partc24_out_ggaa(T84, .(T85, T86), X177, .(T85, X178))
U48_ga(T103, T104, partc24_out_ggaa(T103, T104, T108, T109)) → U49_ga(T103, T104, T109, qsc42_in_ga(T108))
lessc14_in_gg(0, s(T33)) → lessc14_out_gg(0, s(T33))
lessc14_in_gg(s(T38), s(T39)) → U34_gg(T38, T39, lessc14_in_gg(T38, T39))
U36_ggaa(T62, T63, T64, partc24_out_ggaa(T62, T64, X126, X127)) → partc24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
U49_ga(T103, T104, T109, qsc42_out_ga(T108, T113)) → U50_ga(T103, T104, T113, qsc42_in_ga(T109))
U34_gg(T38, T39, lessc14_out_gg(T38, T39)) → lessc14_out_gg(s(T38), s(T39))
U50_ga(T103, T104, T113, qsc42_out_ga(T109, T114)) → U51_ga(T103, T104, appc57_in_ggga(T113, T103, T114))
U51_ga(T103, T104, appc57_out_ggga(T113, T103, T114, X230)) → qsc42_out_ga(.(T103, T104), X230)
appc57_in_ggga([], T127, T128) → appc57_out_ggga([], T127, T128, .(T127, T128))
appc57_in_ggga(.(T137, T138), T139, T140) → U52_ggga(T137, T138, T139, T140, appc57_in_ggga(T138, T139, T140))
U52_ggga(T137, T138, T139, T140, appc57_out_ggga(T138, T139, T140, X270)) → appc57_out_ggga(.(T137, T138), T139, T140, .(T137, X270))

The set Q consists of the following terms:

partc24_in_ggaa(x0, x1)
qsc42_in_ga(x0)
U35_ggaa(x0, x1, x2, x3)
U37_ggaa(x0, x1, x2, x3)
U48_ga(x0, x1, x2)
lessc14_in_gg(x0, x1)
U36_ggaa(x0, x1, x2, x3)
U49_ga(x0, x1, x2, x3)
U34_gg(x0, x1, x2)
U50_ga(x0, x1, x2, x3)
U51_ga(x0, x1, x2)
appc57_in_ggga(x0, x1, x2)
U52_ggga(x0, x1, x2, x3, x4)

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

(42) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U7_GA(T103, T104, partc24_out_ggaa(T103, T104, T108, T109)) → QS42_IN_GA(T108)
U7_GA(T103, T104, partc24_out_ggaa(T103, T104, T108, T109)) → U9_GA(T103, T104, T109, qsc42_in_ga(T108))
The remaining pairs can at least be oriented weakly.
Used ordering: Polynomial interpretation [POLO]:

POL(.(x1, x2)) = 1 + x2   
POL(0) = 0   
POL(QS42_IN_GA(x1)) = 1 + x1   
POL(U34_gg(x1, x2, x3)) = 1   
POL(U35_ggaa(x1, x2, x3, x4)) = 1 + x3 + x4   
POL(U36_ggaa(x1, x2, x3, x4)) = 1 + x4   
POL(U37_ggaa(x1, x2, x3, x4)) = 1 + x4   
POL(U48_ga(x1, x2, x3)) = 0   
POL(U49_ga(x1, x2, x3, x4)) = 0   
POL(U50_ga(x1, x2, x3, x4)) = 0   
POL(U51_ga(x1, x2, x3)) = 0   
POL(U52_ggga(x1, x2, x3, x4, x5)) = 0   
POL(U7_GA(x1, x2, x3)) = 1 + x3   
POL(U9_GA(x1, x2, x3, x4)) = 1 + x3   
POL([]) = 0   
POL(appc57_in_ggga(x1, x2, x3)) = 0   
POL(appc57_out_ggga(x1, x2, x3, x4)) = 0   
POL(lessc14_in_gg(x1, x2)) = 1   
POL(lessc14_out_gg(x1, x2)) = 1   
POL(partc24_in_ggaa(x1, x2)) = 1 + x2   
POL(partc24_out_ggaa(x1, x2, x3, x4)) = 1 + x3 + x4   
POL(qsc42_in_ga(x1)) = 0   
POL(qsc42_out_ga(x1, x2)) = 0   
POL(s(x1)) = 0   

The following usable rules [FROCOS05] were oriented:

partc24_in_ggaa(T62, .(T63, T64)) → U35_ggaa(T62, T63, T64, lessc14_in_gg(T62, T63))
partc24_in_ggaa(T84, .(T85, T86)) → U37_ggaa(T84, T85, T86, partc24_in_ggaa(T84, T86))
partc24_in_ggaa(T92, []) → partc24_out_ggaa(T92, [], [], [])
U35_ggaa(T62, T63, T64, lessc14_out_gg(T62, T63)) → U36_ggaa(T62, T63, T64, partc24_in_ggaa(T62, T64))
U36_ggaa(T62, T63, T64, partc24_out_ggaa(T62, T64, X126, X127)) → partc24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
lessc14_in_gg(0, s(T33)) → lessc14_out_gg(0, s(T33))
lessc14_in_gg(s(T38), s(T39)) → U34_gg(T38, T39, lessc14_in_gg(T38, T39))
U37_ggaa(T84, T85, T86, partc24_out_ggaa(T84, T86, X177, X178)) → partc24_out_ggaa(T84, .(T85, T86), X177, .(T85, X178))
U34_gg(T38, T39, lessc14_out_gg(T38, T39)) → lessc14_out_gg(s(T38), s(T39))

(43) Obligation:

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

QS42_IN_GA(.(T103, T104)) → U7_GA(T103, T104, partc24_in_ggaa(T103, T104))
U9_GA(T103, T104, T109, qsc42_out_ga(T108, T113)) → QS42_IN_GA(T109)

The TRS R consists of the following rules:

partc24_in_ggaa(T62, .(T63, T64)) → U35_ggaa(T62, T63, T64, lessc14_in_gg(T62, T63))
partc24_in_ggaa(T84, .(T85, T86)) → U37_ggaa(T84, T85, T86, partc24_in_ggaa(T84, T86))
partc24_in_ggaa(T92, []) → partc24_out_ggaa(T92, [], [], [])
qsc42_in_ga([]) → qsc42_out_ga([], [])
qsc42_in_ga(.(T103, T104)) → U48_ga(T103, T104, partc24_in_ggaa(T103, T104))
U35_ggaa(T62, T63, T64, lessc14_out_gg(T62, T63)) → U36_ggaa(T62, T63, T64, partc24_in_ggaa(T62, T64))
U37_ggaa(T84, T85, T86, partc24_out_ggaa(T84, T86, X177, X178)) → partc24_out_ggaa(T84, .(T85, T86), X177, .(T85, X178))
U48_ga(T103, T104, partc24_out_ggaa(T103, T104, T108, T109)) → U49_ga(T103, T104, T109, qsc42_in_ga(T108))
lessc14_in_gg(0, s(T33)) → lessc14_out_gg(0, s(T33))
lessc14_in_gg(s(T38), s(T39)) → U34_gg(T38, T39, lessc14_in_gg(T38, T39))
U36_ggaa(T62, T63, T64, partc24_out_ggaa(T62, T64, X126, X127)) → partc24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
U49_ga(T103, T104, T109, qsc42_out_ga(T108, T113)) → U50_ga(T103, T104, T113, qsc42_in_ga(T109))
U34_gg(T38, T39, lessc14_out_gg(T38, T39)) → lessc14_out_gg(s(T38), s(T39))
U50_ga(T103, T104, T113, qsc42_out_ga(T109, T114)) → U51_ga(T103, T104, appc57_in_ggga(T113, T103, T114))
U51_ga(T103, T104, appc57_out_ggga(T113, T103, T114, X230)) → qsc42_out_ga(.(T103, T104), X230)
appc57_in_ggga([], T127, T128) → appc57_out_ggga([], T127, T128, .(T127, T128))
appc57_in_ggga(.(T137, T138), T139, T140) → U52_ggga(T137, T138, T139, T140, appc57_in_ggga(T138, T139, T140))
U52_ggga(T137, T138, T139, T140, appc57_out_ggga(T138, T139, T140, X270)) → appc57_out_ggga(.(T137, T138), T139, T140, .(T137, X270))

The set Q consists of the following terms:

partc24_in_ggaa(x0, x1)
qsc42_in_ga(x0)
U35_ggaa(x0, x1, x2, x3)
U37_ggaa(x0, x1, x2, x3)
U48_ga(x0, x1, x2)
lessc14_in_gg(x0, x1)
U36_ggaa(x0, x1, x2, x3)
U49_ga(x0, x1, x2, x3)
U34_gg(x0, x1, x2)
U50_ga(x0, x1, x2, x3)
U51_ga(x0, x1, x2)
appc57_in_ggga(x0, x1, x2)
U52_ggga(x0, x1, x2, x3, x4)

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

(44) DependencyGraphProof (EQUIVALENT transformation)

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

(45) TRUE

(46) Obligation:

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

QS1_IN_GA(.(T22, .(T23, T24)), T9) → U19_GA(T22, T23, T24, T9, lessc14_in_gg(T22, T23))
U19_GA(T22, T23, T24, T9, lessc14_out_gg(T22, T23)) → U21_GA(T22, T23, T24, T9, partc24_in_ggaa(T22, T24, T45, T46))
U21_GA(T22, T23, T24, T9, partc24_out_ggaa(T22, T24, T45, T46)) → QS1_IN_GA(.(T23, T45), X14)

The TRS R consists of the following rules:

lessc14_in_gg(0, s(T33)) → lessc14_out_gg(0, s(T33))
lessc14_in_gg(s(T38), s(T39)) → U34_gg(T38, T39, lessc14_in_gg(T38, T39))
U34_gg(T38, T39, lessc14_out_gg(T38, T39)) → lessc14_out_gg(s(T38), s(T39))
partc24_in_ggaa(T62, .(T63, T64), .(T63, X126), X127) → U35_ggaa(T62, T63, T64, X126, X127, lessc14_in_gg(T62, T63))
U35_ggaa(T62, T63, T64, X126, X127, lessc14_out_gg(T62, T63)) → U36_ggaa(T62, T63, T64, X126, X127, partc24_in_ggaa(T62, T64, X126, X127))
partc24_in_ggaa(T84, .(T85, T86), X177, .(T85, X178)) → U37_ggaa(T84, T85, T86, X177, X178, partc24_in_ggaa(T84, T86, X177, X178))
partc24_in_ggaa(T92, [], [], []) → partc24_out_ggaa(T92, [], [], [])
U37_ggaa(T84, T85, T86, X177, X178, partc24_out_ggaa(T84, T86, X177, X178)) → partc24_out_ggaa(T84, .(T85, T86), X177, .(T85, X178))
U36_ggaa(T62, T63, T64, X126, X127, partc24_out_ggaa(T62, T64, X126, X127)) → partc24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
qsc42_in_ga([], []) → qsc42_out_ga([], [])
qsc42_in_ga(.(T103, T104), X230) → U48_ga(T103, T104, X230, partc24_in_ggaa(T103, T104, T108, T109))
U48_ga(T103, T104, X230, partc24_out_ggaa(T103, T104, T108, T109)) → U49_ga(T103, T104, X230, T109, qsc42_in_ga(T108, T113))
U49_ga(T103, T104, X230, T109, qsc42_out_ga(T108, T113)) → U50_ga(T103, T104, X230, T113, qsc42_in_ga(T109, T114))
U50_ga(T103, T104, X230, T113, qsc42_out_ga(T109, T114)) → U51_ga(T103, T104, X230, appc57_in_ggga(T113, T103, T114, X230))
appc57_in_ggga([], T127, T128, .(T127, T128)) → appc57_out_ggga([], T127, T128, .(T127, T128))
appc57_in_ggga(.(T137, T138), T139, T140, .(T137, X270)) → U52_ggga(T137, T138, T139, T140, X270, appc57_in_ggga(T138, T139, T140, X270))
U52_ggga(T137, T138, T139, T140, X270, appc57_out_ggga(T138, T139, T140, X270)) → appc57_out_ggga(.(T137, T138), T139, T140, .(T137, X270))
U51_ga(T103, T104, X230, appc57_out_ggga(T113, T103, T114, X230)) → qsc42_out_ga(.(T103, T104), X230)
qsc84_in_a([]) → qsc84_out_a([])
qsc1_in_ga([], []) → qsc1_out_ga([], [])
qsc1_in_ga(.(T22, .(T23, T24)), T9) → U38_ga(T22, T23, T24, T9, lessc14_in_gg(T22, T23))
U38_ga(T22, T23, T24, T9, lessc14_out_gg(T22, T23)) → U39_ga(T22, T23, T24, T9, partc24_in_ggaa(T22, T24, T45, T46))
U39_ga(T22, T23, T24, T9, partc24_out_ggaa(T22, T24, T45, T46)) → U40_ga(T22, T23, T24, T9, T46, qsc1_in_ga(.(T23, T45), T95))
qsc1_in_ga(.(T191, .(T192, T193)), T9) → U42_ga(T191, T192, T193, T9, partc24_in_ggaa(T191, T193, T197, T198))
U42_ga(T191, T192, T193, T9, partc24_out_ggaa(T191, T193, T197, T198)) → U43_ga(T191, T192, T193, T9, T198, qsc42_in_ga(T197, T202))
U43_ga(T191, T192, T193, T9, T198, qsc42_out_ga(T197, T202)) → U44_ga(T191, T192, T193, T9, qc41_in_gagga(.(T192, T198), X15, T202, T191, T9))
qc41_in_gagga(T46, T98, T95, T22, T9) → U54_gagga(T46, T98, T95, T22, T9, qsc42_in_ga(T46, T98))
U54_gagga(T46, T98, T95, T22, T9, qsc42_out_ga(T46, T98)) → U55_gagga(T46, T98, T95, T22, T9, appc43_in_ggga(T95, T22, T98, T9))
appc43_in_ggga([], T157, T158, .(T157, T158)) → appc43_out_ggga([], T157, T158, .(T157, T158))
appc43_in_ggga(.(T169, T170), T171, T172, .(T169, T174)) → U53_ggga(T169, T170, T171, T172, T174, appc43_in_ggga(T170, T171, T172, T174))
U53_ggga(T169, T170, T171, T172, T174, appc43_out_ggga(T170, T171, T172, T174)) → appc43_out_ggga(.(T169, T170), T171, T172, .(T169, T174))
U55_gagga(T46, T98, T95, T22, T9, appc43_out_ggga(T95, T22, T98, T9)) → qc41_out_gagga(T46, T98, T95, T22, T9)
U44_ga(T191, T192, T193, T9, qc41_out_gagga(.(T192, T198), X15, T202, T191, T9)) → qsc1_out_ga(.(T191, .(T192, T193)), T9)
qsc1_in_ga(.(T207, []), T9) → U45_ga(T207, T9, qsc84_in_a(T210))
U45_ga(T207, T9, qsc84_out_a(T210)) → U46_ga(T207, T9, T210, qsc84_in_a(T213))
U46_ga(T207, T9, T210, qsc84_out_a(T213)) → U47_ga(T207, T9, appc43_in_ggga(T210, T207, T213, T9))
U47_ga(T207, T9, appc43_out_ggga(T210, T207, T213, T9)) → qsc1_out_ga(.(T207, []), T9)
U40_ga(T22, T23, T24, T9, T46, qsc1_out_ga(.(T23, T45), T95)) → U41_ga(T22, T23, T24, T9, qc41_in_gagga(T46, X15, T95, T22, T9))
U41_ga(T22, T23, T24, T9, qc41_out_gagga(T46, X15, T95, T22, T9)) → qsc1_out_ga(.(T22, .(T23, T24)), T9)

The argument filtering Pi contains the following mapping:
.(x1, x2)  =  .(x1, x2)
s(x1)  =  s(x1)
lessc14_in_gg(x1, x2)  =  lessc14_in_gg(x1, x2)
0  =  0
lessc14_out_gg(x1, x2)  =  lessc14_out_gg(x1, x2)
U34_gg(x1, x2, x3)  =  U34_gg(x1, x2, x3)
partc24_in_ggaa(x1, x2, x3, x4)  =  partc24_in_ggaa(x1, x2)
U35_ggaa(x1, x2, x3, x4, x5, x6)  =  U35_ggaa(x1, x2, x3, x6)
U36_ggaa(x1, x2, x3, x4, x5, x6)  =  U36_ggaa(x1, x2, x3, x6)
U37_ggaa(x1, x2, x3, x4, x5, x6)  =  U37_ggaa(x1, x2, x3, x6)
[]  =  []
partc24_out_ggaa(x1, x2, x3, x4)  =  partc24_out_ggaa(x1, x2, x3, x4)
qsc42_in_ga(x1, x2)  =  qsc42_in_ga(x1)
qsc42_out_ga(x1, x2)  =  qsc42_out_ga(x1, x2)
U48_ga(x1, x2, x3, x4)  =  U48_ga(x1, x2, x4)
U49_ga(x1, x2, x3, x4, x5)  =  U49_ga(x1, x2, x4, x5)
U50_ga(x1, x2, x3, x4, x5)  =  U50_ga(x1, x2, x4, x5)
U51_ga(x1, x2, x3, x4)  =  U51_ga(x1, x2, x4)
appc57_in_ggga(x1, x2, x3, x4)  =  appc57_in_ggga(x1, x2, x3)
appc57_out_ggga(x1, x2, x3, x4)  =  appc57_out_ggga(x1, x2, x3, x4)
U52_ggga(x1, x2, x3, x4, x5, x6)  =  U52_ggga(x1, x2, x3, x4, x6)
qsc84_in_a(x1)  =  qsc84_in_a
qsc84_out_a(x1)  =  qsc84_out_a(x1)
qsc1_in_ga(x1, x2)  =  qsc1_in_ga(x1)
qsc1_out_ga(x1, x2)  =  qsc1_out_ga(x1, x2)
U38_ga(x1, x2, x3, x4, x5)  =  U38_ga(x1, x2, x3, x5)
U39_ga(x1, x2, x3, x4, x5)  =  U39_ga(x1, x2, x3, x5)
U40_ga(x1, x2, x3, x4, x5, x6)  =  U40_ga(x1, x2, x3, x5, x6)
U42_ga(x1, x2, x3, x4, x5)  =  U42_ga(x1, x2, x3, x5)
U43_ga(x1, x2, x3, x4, x5, x6)  =  U43_ga(x1, x2, x3, x5, x6)
U44_ga(x1, x2, x3, x4, x5)  =  U44_ga(x1, x2, x3, x5)
qc41_in_gagga(x1, x2, x3, x4, x5)  =  qc41_in_gagga(x1, x3, x4)
U54_gagga(x1, x2, x3, x4, x5, x6)  =  U54_gagga(x1, x3, x4, x6)
U55_gagga(x1, x2, x3, x4, x5, x6)  =  U55_gagga(x1, x2, x3, x4, x6)
appc43_in_ggga(x1, x2, x3, x4)  =  appc43_in_ggga(x1, x2, x3)
appc43_out_ggga(x1, x2, x3, x4)  =  appc43_out_ggga(x1, x2, x3, x4)
U53_ggga(x1, x2, x3, x4, x5, x6)  =  U53_ggga(x1, x2, x3, x4, x6)
qc41_out_gagga(x1, x2, x3, x4, x5)  =  qc41_out_gagga(x1, x2, x3, x4, x5)
U45_ga(x1, x2, x3)  =  U45_ga(x1, x3)
U46_ga(x1, x2, x3, x4)  =  U46_ga(x1, x3, x4)
U47_ga(x1, x2, x3)  =  U47_ga(x1, x3)
U41_ga(x1, x2, x3, x4, x5)  =  U41_ga(x1, x2, x3, x5)
QS1_IN_GA(x1, x2)  =  QS1_IN_GA(x1)
U19_GA(x1, x2, x3, x4, x5)  =  U19_GA(x1, x2, x3, x5)
U21_GA(x1, x2, x3, x4, x5)  =  U21_GA(x1, x2, x3, x5)

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

(47) UsableRulesProof (EQUIVALENT transformation)

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

(48) Obligation:

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

QS1_IN_GA(.(T22, .(T23, T24)), T9) → U19_GA(T22, T23, T24, T9, lessc14_in_gg(T22, T23))
U19_GA(T22, T23, T24, T9, lessc14_out_gg(T22, T23)) → U21_GA(T22, T23, T24, T9, partc24_in_ggaa(T22, T24, T45, T46))
U21_GA(T22, T23, T24, T9, partc24_out_ggaa(T22, T24, T45, T46)) → QS1_IN_GA(.(T23, T45), X14)

The TRS R consists of the following rules:

lessc14_in_gg(0, s(T33)) → lessc14_out_gg(0, s(T33))
lessc14_in_gg(s(T38), s(T39)) → U34_gg(T38, T39, lessc14_in_gg(T38, T39))
partc24_in_ggaa(T62, .(T63, T64), .(T63, X126), X127) → U35_ggaa(T62, T63, T64, X126, X127, lessc14_in_gg(T62, T63))
partc24_in_ggaa(T84, .(T85, T86), X177, .(T85, X178)) → U37_ggaa(T84, T85, T86, X177, X178, partc24_in_ggaa(T84, T86, X177, X178))
partc24_in_ggaa(T92, [], [], []) → partc24_out_ggaa(T92, [], [], [])
U34_gg(T38, T39, lessc14_out_gg(T38, T39)) → lessc14_out_gg(s(T38), s(T39))
U35_ggaa(T62, T63, T64, X126, X127, lessc14_out_gg(T62, T63)) → U36_ggaa(T62, T63, T64, X126, X127, partc24_in_ggaa(T62, T64, X126, X127))
U37_ggaa(T84, T85, T86, X177, X178, partc24_out_ggaa(T84, T86, X177, X178)) → partc24_out_ggaa(T84, .(T85, T86), X177, .(T85, X178))
U36_ggaa(T62, T63, T64, X126, X127, partc24_out_ggaa(T62, T64, X126, X127)) → partc24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)

The argument filtering Pi contains the following mapping:
.(x1, x2)  =  .(x1, x2)
s(x1)  =  s(x1)
lessc14_in_gg(x1, x2)  =  lessc14_in_gg(x1, x2)
0  =  0
lessc14_out_gg(x1, x2)  =  lessc14_out_gg(x1, x2)
U34_gg(x1, x2, x3)  =  U34_gg(x1, x2, x3)
partc24_in_ggaa(x1, x2, x3, x4)  =  partc24_in_ggaa(x1, x2)
U35_ggaa(x1, x2, x3, x4, x5, x6)  =  U35_ggaa(x1, x2, x3, x6)
U36_ggaa(x1, x2, x3, x4, x5, x6)  =  U36_ggaa(x1, x2, x3, x6)
U37_ggaa(x1, x2, x3, x4, x5, x6)  =  U37_ggaa(x1, x2, x3, x6)
[]  =  []
partc24_out_ggaa(x1, x2, x3, x4)  =  partc24_out_ggaa(x1, x2, x3, x4)
QS1_IN_GA(x1, x2)  =  QS1_IN_GA(x1)
U19_GA(x1, x2, x3, x4, x5)  =  U19_GA(x1, x2, x3, x5)
U21_GA(x1, x2, x3, x4, x5)  =  U21_GA(x1, x2, x3, x5)

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

(49) PiDPToQDPProof (SOUND transformation)

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

(50) Obligation:

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

QS1_IN_GA(.(T22, .(T23, T24))) → U19_GA(T22, T23, T24, lessc14_in_gg(T22, T23))
U19_GA(T22, T23, T24, lessc14_out_gg(T22, T23)) → U21_GA(T22, T23, T24, partc24_in_ggaa(T22, T24))
U21_GA(T22, T23, T24, partc24_out_ggaa(T22, T24, T45, T46)) → QS1_IN_GA(.(T23, T45))

The TRS R consists of the following rules:

lessc14_in_gg(0, s(T33)) → lessc14_out_gg(0, s(T33))
lessc14_in_gg(s(T38), s(T39)) → U34_gg(T38, T39, lessc14_in_gg(T38, T39))
partc24_in_ggaa(T62, .(T63, T64)) → U35_ggaa(T62, T63, T64, lessc14_in_gg(T62, T63))
partc24_in_ggaa(T84, .(T85, T86)) → U37_ggaa(T84, T85, T86, partc24_in_ggaa(T84, T86))
partc24_in_ggaa(T92, []) → partc24_out_ggaa(T92, [], [], [])
U34_gg(T38, T39, lessc14_out_gg(T38, T39)) → lessc14_out_gg(s(T38), s(T39))
U35_ggaa(T62, T63, T64, lessc14_out_gg(T62, T63)) → U36_ggaa(T62, T63, T64, partc24_in_ggaa(T62, T64))
U37_ggaa(T84, T85, T86, partc24_out_ggaa(T84, T86, X177, X178)) → partc24_out_ggaa(T84, .(T85, T86), X177, .(T85, X178))
U36_ggaa(T62, T63, T64, partc24_out_ggaa(T62, T64, X126, X127)) → partc24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)

The set Q consists of the following terms:

lessc14_in_gg(x0, x1)
partc24_in_ggaa(x0, x1)
U34_gg(x0, x1, x2)
U35_ggaa(x0, x1, x2, x3)
U37_ggaa(x0, x1, x2, x3)
U36_ggaa(x0, x1, x2, x3)

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

(51) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


QS1_IN_GA(.(T22, .(T23, T24))) → U19_GA(T22, T23, T24, lessc14_in_gg(T22, T23))
The remaining pairs can at least be oriented weakly.
Used ordering: Polynomial interpretation [POLO]:

POL(.(x1, x2)) = 1 + x2   
POL(0) = 0   
POL(QS1_IN_GA(x1)) = x1   
POL(U19_GA(x1, x2, x3, x4)) = 1 + x3   
POL(U21_GA(x1, x2, x3, x4)) = 1 + x4   
POL(U34_gg(x1, x2, x3)) = 0   
POL(U35_ggaa(x1, x2, x3, x4)) = 1 + x3   
POL(U36_ggaa(x1, x2, x3, x4)) = 1 + x4   
POL(U37_ggaa(x1, x2, x3, x4)) = x4   
POL([]) = 0   
POL(lessc14_in_gg(x1, x2)) = 0   
POL(lessc14_out_gg(x1, x2)) = 0   
POL(partc24_in_ggaa(x1, x2)) = x2   
POL(partc24_out_ggaa(x1, x2, x3, x4)) = x3   
POL(s(x1)) = 0   

The following usable rules [FROCOS05] were oriented:

partc24_in_ggaa(T62, .(T63, T64)) → U35_ggaa(T62, T63, T64, lessc14_in_gg(T62, T63))
partc24_in_ggaa(T84, .(T85, T86)) → U37_ggaa(T84, T85, T86, partc24_in_ggaa(T84, T86))
partc24_in_ggaa(T92, []) → partc24_out_ggaa(T92, [], [], [])
U35_ggaa(T62, T63, T64, lessc14_out_gg(T62, T63)) → U36_ggaa(T62, T63, T64, partc24_in_ggaa(T62, T64))
U36_ggaa(T62, T63, T64, partc24_out_ggaa(T62, T64, X126, X127)) → partc24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)
U37_ggaa(T84, T85, T86, partc24_out_ggaa(T84, T86, X177, X178)) → partc24_out_ggaa(T84, .(T85, T86), X177, .(T85, X178))

(52) Obligation:

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

U19_GA(T22, T23, T24, lessc14_out_gg(T22, T23)) → U21_GA(T22, T23, T24, partc24_in_ggaa(T22, T24))
U21_GA(T22, T23, T24, partc24_out_ggaa(T22, T24, T45, T46)) → QS1_IN_GA(.(T23, T45))

The TRS R consists of the following rules:

lessc14_in_gg(0, s(T33)) → lessc14_out_gg(0, s(T33))
lessc14_in_gg(s(T38), s(T39)) → U34_gg(T38, T39, lessc14_in_gg(T38, T39))
partc24_in_ggaa(T62, .(T63, T64)) → U35_ggaa(T62, T63, T64, lessc14_in_gg(T62, T63))
partc24_in_ggaa(T84, .(T85, T86)) → U37_ggaa(T84, T85, T86, partc24_in_ggaa(T84, T86))
partc24_in_ggaa(T92, []) → partc24_out_ggaa(T92, [], [], [])
U34_gg(T38, T39, lessc14_out_gg(T38, T39)) → lessc14_out_gg(s(T38), s(T39))
U35_ggaa(T62, T63, T64, lessc14_out_gg(T62, T63)) → U36_ggaa(T62, T63, T64, partc24_in_ggaa(T62, T64))
U37_ggaa(T84, T85, T86, partc24_out_ggaa(T84, T86, X177, X178)) → partc24_out_ggaa(T84, .(T85, T86), X177, .(T85, X178))
U36_ggaa(T62, T63, T64, partc24_out_ggaa(T62, T64, X126, X127)) → partc24_out_ggaa(T62, .(T63, T64), .(T63, X126), X127)

The set Q consists of the following terms:

lessc14_in_gg(x0, x1)
partc24_in_ggaa(x0, x1)
U34_gg(x0, x1, x2)
U35_ggaa(x0, x1, x2, x3)
U37_ggaa(x0, x1, x2, x3)
U36_ggaa(x0, x1, x2, x3)

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

(53) DependencyGraphProof (EQUIVALENT transformation)

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

(54) TRUE