(0) Obligation:

Clauses:

convert([], X1, Z) :- ','(!, eq(Z, 0)).
convert(X, Y, Z) :- ','(head(X, 0), ','(!, ','(tail(X, T), ','(convert(T, Y, U), times(U, Y, Z))))).
convert(X, Y, Z) :- ','(head(X, H), ','(p(H, P), ','(tail(X, T), ','(convert(.(P, T), Y, U), ','(p(Z, U), !))))).
times(0, Y, Z) :- ','(!, eq(Z, 0)).
times(X, Y, Z) :- ','(p(X, P), ','(times(P, Y, U), plus(Y, U, Z))).
plus(0, Y, Z) :- ','(!, eq(Y, Z)).
plus(X, Y, Z) :- ','(p(X, P), ','(plus(P, Y, U), ','(p(Z, U), !))).
head([], X2).
head(.(H, X3), H).
tail([], []).
tail(.(X4, Xs), Xs).
p(s(X), X).
p(0, 0).
eq(X, X).

Queries:

convert(g,g,a).

(1) PrologToDTProblemTransformerProof (SOUND transformation)

Built DT problem from termination graph.

(2) Obligation:

Triples:

convert19(.(0, T52), T41, X82) :- convert19(T52, T41, X81).
convert19(.(0, T52), T41, X82) :- ','(convertc19(T52, T41, T54), times38(T54, T41, X82)).
convert19(.(s(T128), T129), T107, X251) :- convert1(.(T128, T129), T107, X250).
times38(s(T72), T66, X148) :- times38(T72, T66, X147).
times38(s(T72), T66, X148) :- ','(timesc38(T72, T66, T74), plus53(T66, T74, X148)).
plus53(s(T93), T89, X199) :- plus53(T93, T89, X198).
convert1(.(0, T29), T16, T18) :- convert19(T29, T16, X22).
convert1(.(0, T29), T164, T166) :- ','(convertc19(T29, T164, s(T172)), times38(T172, T164, X368)).
convert1(.(0, T29), s(T203), T199) :- ','(convertc19(T29, s(T203), s(T172)), ','(timesc38(T172, s(T203), T197), plus53(T203, T197, X413))).
convert1(.(s(T243), T244), T220, T222) :- convert1(.(T243, T244), T220, X460).

Clauses:

convertc19([], T35, 0).
convertc19(.(0, T52), T41, X82) :- ','(convertc19(T52, T41, T54), timesc38(T54, T41, X82)).
convertc19(.(s(T128), T129), T107, s(T142)) :- convertc1(.(T128, T129), T107, T142).
timesc38(0, T59, 0).
timesc38(s(T72), T66, X148) :- ','(timesc38(T72, T66, T74), plusc53(T66, T74, X148)).
plusc53(0, T82, T82).
plusc53(s(T93), T89, s(T100)) :- plusc53(T93, T89, T100).
convertc1([], T6, 0).
convertc1(.(0, T29), T149, 0) :- convertc19(T29, T149, 0).
convertc1(.(0, T29), 0, T187) :- ','(convertc19(T29, 0, s(T172)), timesc38(T172, 0, T187)).
convertc1(.(0, T29), s(T203), s(T210)) :- ','(convertc19(T29, s(T203), s(T172)), ','(timesc38(T172, s(T203), T197), plusc53(T203, T197, T210))).
convertc1(.(0, T29), s(T203), 0) :- ','(convertc19(T29, s(T203), s(T172)), ','(timesc38(T172, s(T203), T197), plusc53(T203, T197, 0))).
convertc1(.(s(T243), T244), T220, s(T257)) :- convertc1(.(T243, T244), T220, T257).
convertc1(.(s(T243), T244), T220, 0) :- convertc1(.(T243, T244), T220, 0).

Afs:

convert1(x1, x2, x3)  =  convert1(x1, x2)

(3) TriplesToPiDPProof (SOUND transformation)

We use the technique of [LOPSTR]. With regard to the inferred argument filtering the predicates were used in the following modes:
convert1_in: (b,b,f)
convert19_in: (b,b,f)
convertc19_in: (b,b,f) (b,b,b)
convertc1_in: (b,b,f) (b,b,b)
timesc38_in: (b,b,b) (b,b,f)
plusc53_in: (b,b,f) (b,b,b)
times38_in: (b,b,f)
plus53_in: (b,b,f)
Transforming TRIPLES into the following Term Rewriting System:
Pi DP problem:
The TRS P consists of the following rules:

CONVERT1_IN_GGA(.(0, T29), T16, T18) → U9_GGA(T29, T16, T18, convert19_in_gga(T29, T16, X22))
CONVERT1_IN_GGA(.(0, T29), T16, T18) → CONVERT19_IN_GGA(T29, T16, X22)
CONVERT19_IN_GGA(.(0, T52), T41, X82) → U1_GGA(T52, T41, X82, convert19_in_gga(T52, T41, X81))
CONVERT19_IN_GGA(.(0, T52), T41, X82) → CONVERT19_IN_GGA(T52, T41, X81)
CONVERT19_IN_GGA(.(0, T52), T41, X82) → U2_GGA(T52, T41, X82, convertc19_in_gga(T52, T41, T54))
U2_GGA(T52, T41, X82, convertc19_out_gga(T52, T41, T54)) → U3_GGA(T52, T41, X82, times38_in_gga(T54, T41, X82))
U2_GGA(T52, T41, X82, convertc19_out_gga(T52, T41, T54)) → TIMES38_IN_GGA(T54, T41, X82)
TIMES38_IN_GGA(s(T72), T66, X148) → U5_GGA(T72, T66, X148, times38_in_gga(T72, T66, X147))
TIMES38_IN_GGA(s(T72), T66, X148) → TIMES38_IN_GGA(T72, T66, X147)
TIMES38_IN_GGA(s(T72), T66, X148) → U6_GGA(T72, T66, X148, timesc38_in_gga(T72, T66, T74))
U6_GGA(T72, T66, X148, timesc38_out_gga(T72, T66, T74)) → U7_GGA(T72, T66, X148, plus53_in_gga(T66, T74, X148))
U6_GGA(T72, T66, X148, timesc38_out_gga(T72, T66, T74)) → PLUS53_IN_GGA(T66, T74, X148)
PLUS53_IN_GGA(s(T93), T89, X199) → U8_GGA(T93, T89, X199, plus53_in_gga(T93, T89, X198))
PLUS53_IN_GGA(s(T93), T89, X199) → PLUS53_IN_GGA(T93, T89, X198)
CONVERT19_IN_GGA(.(s(T128), T129), T107, X251) → U4_GGA(T128, T129, T107, X251, convert1_in_gga(.(T128, T129), T107, X250))
CONVERT19_IN_GGA(.(s(T128), T129), T107, X251) → CONVERT1_IN_GGA(.(T128, T129), T107, X250)
CONVERT1_IN_GGA(.(0, T29), T164, T166) → U10_GGA(T29, T164, T166, convertc19_in_gga(T29, T164, s(T172)))
U10_GGA(T29, T164, T166, convertc19_out_gga(T29, T164, s(T172))) → U11_GGA(T29, T164, T166, times38_in_gga(T172, T164, X368))
U10_GGA(T29, T164, T166, convertc19_out_gga(T29, T164, s(T172))) → TIMES38_IN_GGA(T172, T164, X368)
CONVERT1_IN_GGA(.(0, T29), s(T203), T199) → U12_GGA(T29, T203, T199, convertc19_in_gga(T29, s(T203), s(T172)))
U12_GGA(T29, T203, T199, convertc19_out_gga(T29, s(T203), s(T172))) → U13_GGA(T29, T203, T199, timesc38_in_gga(T172, s(T203), T197))
U13_GGA(T29, T203, T199, timesc38_out_gga(T172, s(T203), T197)) → U14_GGA(T29, T203, T199, plus53_in_gga(T203, T197, X413))
U13_GGA(T29, T203, T199, timesc38_out_gga(T172, s(T203), T197)) → PLUS53_IN_GGA(T203, T197, X413)
CONVERT1_IN_GGA(.(s(T243), T244), T220, T222) → U15_GGA(T243, T244, T220, T222, convert1_in_gga(.(T243, T244), T220, X460))
CONVERT1_IN_GGA(.(s(T243), T244), T220, T222) → CONVERT1_IN_GGA(.(T243, T244), T220, X460)

The TRS R consists of the following rules:

convertc19_in_gga([], T35, 0) → convertc19_out_gga([], T35, 0)
convertc19_in_gga(.(0, T52), T41, X82) → U17_gga(T52, T41, X82, convertc19_in_gga(T52, T41, T54))
convertc19_in_gga(.(s(T128), T129), T107, s(T142)) → U19_gga(T128, T129, T107, T142, convertc1_in_gga(.(T128, T129), T107, T142))
convertc1_in_gga([], T6, 0) → convertc1_out_gga([], T6, 0)
convertc1_in_gga(.(0, T29), T149, 0) → U23_gga(T29, T149, convertc19_in_ggg(T29, T149, 0))
convertc19_in_ggg([], T35, 0) → convertc19_out_ggg([], T35, 0)
convertc19_in_ggg(.(0, T52), T41, X82) → U17_ggg(T52, T41, X82, convertc19_in_gga(T52, T41, T54))
U17_ggg(T52, T41, X82, convertc19_out_gga(T52, T41, T54)) → U18_ggg(T52, T41, X82, timesc38_in_ggg(T54, T41, X82))
timesc38_in_ggg(0, T59, 0) → timesc38_out_ggg(0, T59, 0)
timesc38_in_ggg(s(T72), T66, X148) → U20_ggg(T72, T66, X148, timesc38_in_gga(T72, T66, T74))
timesc38_in_gga(0, T59, 0) → timesc38_out_gga(0, T59, 0)
timesc38_in_gga(s(T72), T66, X148) → U20_gga(T72, T66, X148, timesc38_in_gga(T72, T66, T74))
U20_gga(T72, T66, X148, timesc38_out_gga(T72, T66, T74)) → U21_gga(T72, T66, X148, plusc53_in_gga(T66, T74, X148))
plusc53_in_gga(0, T82, T82) → plusc53_out_gga(0, T82, T82)
plusc53_in_gga(s(T93), T89, s(T100)) → U22_gga(T93, T89, T100, plusc53_in_gga(T93, T89, T100))
U22_gga(T93, T89, T100, plusc53_out_gga(T93, T89, T100)) → plusc53_out_gga(s(T93), T89, s(T100))
U21_gga(T72, T66, X148, plusc53_out_gga(T66, T74, X148)) → timesc38_out_gga(s(T72), T66, X148)
U20_ggg(T72, T66, X148, timesc38_out_gga(T72, T66, T74)) → U21_ggg(T72, T66, X148, plusc53_in_ggg(T66, T74, X148))
plusc53_in_ggg(0, T82, T82) → plusc53_out_ggg(0, T82, T82)
plusc53_in_ggg(s(T93), T89, s(T100)) → U22_ggg(T93, T89, T100, plusc53_in_ggg(T93, T89, T100))
U22_ggg(T93, T89, T100, plusc53_out_ggg(T93, T89, T100)) → plusc53_out_ggg(s(T93), T89, s(T100))
U21_ggg(T72, T66, X148, plusc53_out_ggg(T66, T74, X148)) → timesc38_out_ggg(s(T72), T66, X148)
U18_ggg(T52, T41, X82, timesc38_out_ggg(T54, T41, X82)) → convertc19_out_ggg(.(0, T52), T41, X82)
convertc19_in_ggg(.(s(T128), T129), T107, s(T142)) → U19_ggg(T128, T129, T107, T142, convertc1_in_ggg(.(T128, T129), T107, T142))
convertc1_in_ggg([], T6, 0) → convertc1_out_ggg([], T6, 0)
convertc1_in_ggg(.(0, T29), T149, 0) → U23_ggg(T29, T149, convertc19_in_ggg(T29, T149, 0))
U23_ggg(T29, T149, convertc19_out_ggg(T29, T149, 0)) → convertc1_out_ggg(.(0, T29), T149, 0)
convertc1_in_ggg(.(0, T29), 0, T187) → U24_ggg(T29, T187, convertc19_in_gga(T29, 0, s(T172)))
U24_ggg(T29, T187, convertc19_out_gga(T29, 0, s(T172))) → U25_ggg(T29, T187, timesc38_in_ggg(T172, 0, T187))
U25_ggg(T29, T187, timesc38_out_ggg(T172, 0, T187)) → convertc1_out_ggg(.(0, T29), 0, T187)
convertc1_in_ggg(.(0, T29), s(T203), s(T210)) → U26_ggg(T29, T203, T210, convertc19_in_gga(T29, s(T203), s(T172)))
U26_ggg(T29, T203, T210, convertc19_out_gga(T29, s(T203), s(T172))) → U27_ggg(T29, T203, T210, timesc38_in_gga(T172, s(T203), T197))
U27_ggg(T29, T203, T210, timesc38_out_gga(T172, s(T203), T197)) → U28_ggg(T29, T203, T210, plusc53_in_ggg(T203, T197, T210))
U28_ggg(T29, T203, T210, plusc53_out_ggg(T203, T197, T210)) → convertc1_out_ggg(.(0, T29), s(T203), s(T210))
convertc1_in_ggg(.(0, T29), s(T203), 0) → U29_ggg(T29, T203, convertc19_in_gga(T29, s(T203), s(T172)))
U29_ggg(T29, T203, convertc19_out_gga(T29, s(T203), s(T172))) → U30_ggg(T29, T203, timesc38_in_gga(T172, s(T203), T197))
U30_ggg(T29, T203, timesc38_out_gga(T172, s(T203), T197)) → U31_ggg(T29, T203, plusc53_in_ggg(T203, T197, 0))
U31_ggg(T29, T203, plusc53_out_ggg(T203, T197, 0)) → convertc1_out_ggg(.(0, T29), s(T203), 0)
convertc1_in_ggg(.(s(T243), T244), T220, s(T257)) → U32_ggg(T243, T244, T220, T257, convertc1_in_ggg(.(T243, T244), T220, T257))
convertc1_in_ggg(.(s(T243), T244), T220, 0) → U33_ggg(T243, T244, T220, convertc1_in_ggg(.(T243, T244), T220, 0))
U33_ggg(T243, T244, T220, convertc1_out_ggg(.(T243, T244), T220, 0)) → convertc1_out_ggg(.(s(T243), T244), T220, 0)
U32_ggg(T243, T244, T220, T257, convertc1_out_ggg(.(T243, T244), T220, T257)) → convertc1_out_ggg(.(s(T243), T244), T220, s(T257))
U19_ggg(T128, T129, T107, T142, convertc1_out_ggg(.(T128, T129), T107, T142)) → convertc19_out_ggg(.(s(T128), T129), T107, s(T142))
U23_gga(T29, T149, convertc19_out_ggg(T29, T149, 0)) → convertc1_out_gga(.(0, T29), T149, 0)
convertc1_in_gga(.(0, T29), 0, T187) → U24_gga(T29, T187, convertc19_in_gga(T29, 0, s(T172)))
U24_gga(T29, T187, convertc19_out_gga(T29, 0, s(T172))) → U25_gga(T29, T187, timesc38_in_gga(T172, 0, T187))
U25_gga(T29, T187, timesc38_out_gga(T172, 0, T187)) → convertc1_out_gga(.(0, T29), 0, T187)
convertc1_in_gga(.(0, T29), s(T203), s(T210)) → U26_gga(T29, T203, T210, convertc19_in_gga(T29, s(T203), s(T172)))
U26_gga(T29, T203, T210, convertc19_out_gga(T29, s(T203), s(T172))) → U27_gga(T29, T203, T210, timesc38_in_gga(T172, s(T203), T197))
U27_gga(T29, T203, T210, timesc38_out_gga(T172, s(T203), T197)) → U28_gga(T29, T203, T210, plusc53_in_gga(T203, T197, T210))
U28_gga(T29, T203, T210, plusc53_out_gga(T203, T197, T210)) → convertc1_out_gga(.(0, T29), s(T203), s(T210))
convertc1_in_gga(.(0, T29), s(T203), 0) → U29_gga(T29, T203, convertc19_in_gga(T29, s(T203), s(T172)))
U29_gga(T29, T203, convertc19_out_gga(T29, s(T203), s(T172))) → U30_gga(T29, T203, timesc38_in_gga(T172, s(T203), T197))
U30_gga(T29, T203, timesc38_out_gga(T172, s(T203), T197)) → U31_gga(T29, T203, plusc53_in_ggg(T203, T197, 0))
U31_gga(T29, T203, plusc53_out_ggg(T203, T197, 0)) → convertc1_out_gga(.(0, T29), s(T203), 0)
convertc1_in_gga(.(s(T243), T244), T220, s(T257)) → U32_gga(T243, T244, T220, T257, convertc1_in_gga(.(T243, T244), T220, T257))
convertc1_in_gga(.(s(T243), T244), T220, 0) → U33_gga(T243, T244, T220, convertc1_in_ggg(.(T243, T244), T220, 0))
U33_gga(T243, T244, T220, convertc1_out_ggg(.(T243, T244), T220, 0)) → convertc1_out_gga(.(s(T243), T244), T220, 0)
U32_gga(T243, T244, T220, T257, convertc1_out_gga(.(T243, T244), T220, T257)) → convertc1_out_gga(.(s(T243), T244), T220, s(T257))
U19_gga(T128, T129, T107, T142, convertc1_out_gga(.(T128, T129), T107, T142)) → convertc19_out_gga(.(s(T128), T129), T107, s(T142))
U17_gga(T52, T41, X82, convertc19_out_gga(T52, T41, T54)) → U18_gga(T52, T41, X82, timesc38_in_gga(T54, T41, X82))
U18_gga(T52, T41, X82, timesc38_out_gga(T54, T41, X82)) → convertc19_out_gga(.(0, T52), T41, X82)

The argument filtering Pi contains the following mapping:
convert1_in_gga(x1, x2, x3)  =  convert1_in_gga(x1, x2)
.(x1, x2)  =  .(x1, x2)
0  =  0
convert19_in_gga(x1, x2, x3)  =  convert19_in_gga(x1, x2)
convertc19_in_gga(x1, x2, x3)  =  convertc19_in_gga(x1, x2)
[]  =  []
convertc19_out_gga(x1, x2, x3)  =  convertc19_out_gga(x1, x2, x3)
U17_gga(x1, x2, x3, x4)  =  U17_gga(x1, x2, x4)
s(x1)  =  s(x1)
U19_gga(x1, x2, x3, x4, x5)  =  U19_gga(x1, x2, x3, x5)
convertc1_in_gga(x1, x2, x3)  =  convertc1_in_gga(x1, x2)
convertc1_out_gga(x1, x2, x3)  =  convertc1_out_gga(x1, x2, x3)
U23_gga(x1, x2, x3)  =  U23_gga(x1, x2, x3)
convertc19_in_ggg(x1, x2, x3)  =  convertc19_in_ggg(x1, x2, x3)
convertc19_out_ggg(x1, x2, x3)  =  convertc19_out_ggg(x1, x2, x3)
U17_ggg(x1, x2, x3, x4)  =  U17_ggg(x1, x2, x3, x4)
U18_ggg(x1, x2, x3, x4)  =  U18_ggg(x1, x2, x3, x4)
timesc38_in_ggg(x1, x2, x3)  =  timesc38_in_ggg(x1, x2, x3)
timesc38_out_ggg(x1, x2, x3)  =  timesc38_out_ggg(x1, x2, x3)
U20_ggg(x1, x2, x3, x4)  =  U20_ggg(x1, x2, x3, x4)
timesc38_in_gga(x1, x2, x3)  =  timesc38_in_gga(x1, x2)
timesc38_out_gga(x1, x2, x3)  =  timesc38_out_gga(x1, x2, x3)
U20_gga(x1, x2, x3, x4)  =  U20_gga(x1, x2, x4)
U21_gga(x1, x2, x3, x4)  =  U21_gga(x1, x2, x4)
plusc53_in_gga(x1, x2, x3)  =  plusc53_in_gga(x1, x2)
plusc53_out_gga(x1, x2, x3)  =  plusc53_out_gga(x1, x2, x3)
U22_gga(x1, x2, x3, x4)  =  U22_gga(x1, x2, x4)
U21_ggg(x1, x2, x3, x4)  =  U21_ggg(x1, x2, x3, x4)
plusc53_in_ggg(x1, x2, x3)  =  plusc53_in_ggg(x1, x2, x3)
plusc53_out_ggg(x1, x2, x3)  =  plusc53_out_ggg(x1, x2, x3)
U22_ggg(x1, x2, x3, x4)  =  U22_ggg(x1, x2, x3, x4)
U19_ggg(x1, x2, x3, x4, x5)  =  U19_ggg(x1, x2, x3, x4, x5)
convertc1_in_ggg(x1, x2, x3)  =  convertc1_in_ggg(x1, x2, x3)
convertc1_out_ggg(x1, x2, x3)  =  convertc1_out_ggg(x1, x2, x3)
U23_ggg(x1, x2, x3)  =  U23_ggg(x1, x2, x3)
U24_ggg(x1, x2, x3)  =  U24_ggg(x1, x2, x3)
U25_ggg(x1, x2, x3)  =  U25_ggg(x1, x2, x3)
U26_ggg(x1, x2, x3, x4)  =  U26_ggg(x1, x2, x3, x4)
U27_ggg(x1, x2, x3, x4)  =  U27_ggg(x1, x2, x3, x4)
U28_ggg(x1, x2, x3, x4)  =  U28_ggg(x1, x2, x3, x4)
U29_ggg(x1, x2, x3)  =  U29_ggg(x1, x2, x3)
U30_ggg(x1, x2, x3)  =  U30_ggg(x1, x2, x3)
U31_ggg(x1, x2, x3)  =  U31_ggg(x1, x2, x3)
U32_ggg(x1, x2, x3, x4, x5)  =  U32_ggg(x1, x2, x3, x4, x5)
U33_ggg(x1, x2, x3, x4)  =  U33_ggg(x1, x2, x3, x4)
U24_gga(x1, x2, x3)  =  U24_gga(x1, x3)
U25_gga(x1, x2, x3)  =  U25_gga(x1, x3)
U26_gga(x1, x2, x3, x4)  =  U26_gga(x1, x2, x4)
U27_gga(x1, x2, x3, x4)  =  U27_gga(x1, x2, x4)
U28_gga(x1, x2, x3, x4)  =  U28_gga(x1, x2, x4)
U29_gga(x1, x2, x3)  =  U29_gga(x1, x2, x3)
U30_gga(x1, x2, x3)  =  U30_gga(x1, x2, x3)
U31_gga(x1, x2, x3)  =  U31_gga(x1, x2, x3)
U32_gga(x1, x2, x3, x4, x5)  =  U32_gga(x1, x2, x3, x5)
U33_gga(x1, x2, x3, x4)  =  U33_gga(x1, x2, x3, x4)
U18_gga(x1, x2, x3, x4)  =  U18_gga(x1, x2, x4)
times38_in_gga(x1, x2, x3)  =  times38_in_gga(x1, x2)
plus53_in_gga(x1, x2, x3)  =  plus53_in_gga(x1, x2)
CONVERT1_IN_GGA(x1, x2, x3)  =  CONVERT1_IN_GGA(x1, x2)
U9_GGA(x1, x2, x3, x4)  =  U9_GGA(x1, x2, x4)
CONVERT19_IN_GGA(x1, x2, x3)  =  CONVERT19_IN_GGA(x1, x2)
U1_GGA(x1, x2, x3, x4)  =  U1_GGA(x1, x2, x4)
U2_GGA(x1, x2, x3, x4)  =  U2_GGA(x1, x2, x4)
U3_GGA(x1, x2, x3, x4)  =  U3_GGA(x1, x2, x4)
TIMES38_IN_GGA(x1, x2, x3)  =  TIMES38_IN_GGA(x1, x2)
U5_GGA(x1, x2, x3, x4)  =  U5_GGA(x1, x2, x4)
U6_GGA(x1, x2, x3, x4)  =  U6_GGA(x1, x2, x4)
U7_GGA(x1, x2, x3, x4)  =  U7_GGA(x1, x2, x4)
PLUS53_IN_GGA(x1, x2, x3)  =  PLUS53_IN_GGA(x1, x2)
U8_GGA(x1, x2, x3, x4)  =  U8_GGA(x1, x2, x4)
U4_GGA(x1, x2, x3, x4, x5)  =  U4_GGA(x1, x2, x3, x5)
U10_GGA(x1, x2, x3, x4)  =  U10_GGA(x1, x2, x4)
U11_GGA(x1, x2, x3, x4)  =  U11_GGA(x1, x2, x4)
U12_GGA(x1, x2, x3, x4)  =  U12_GGA(x1, x2, x4)
U13_GGA(x1, x2, x3, x4)  =  U13_GGA(x1, x2, x4)
U14_GGA(x1, x2, x3, x4)  =  U14_GGA(x1, x2, x4)
U15_GGA(x1, x2, x3, x4, x5)  =  U15_GGA(x1, x2, x3, x5)

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

Infinitary Constructor Rewriting Termination of PiDP implies Termination of TRIPLES

(4) Obligation:

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

CONVERT1_IN_GGA(.(0, T29), T16, T18) → U9_GGA(T29, T16, T18, convert19_in_gga(T29, T16, X22))
CONVERT1_IN_GGA(.(0, T29), T16, T18) → CONVERT19_IN_GGA(T29, T16, X22)
CONVERT19_IN_GGA(.(0, T52), T41, X82) → U1_GGA(T52, T41, X82, convert19_in_gga(T52, T41, X81))
CONVERT19_IN_GGA(.(0, T52), T41, X82) → CONVERT19_IN_GGA(T52, T41, X81)
CONVERT19_IN_GGA(.(0, T52), T41, X82) → U2_GGA(T52, T41, X82, convertc19_in_gga(T52, T41, T54))
U2_GGA(T52, T41, X82, convertc19_out_gga(T52, T41, T54)) → U3_GGA(T52, T41, X82, times38_in_gga(T54, T41, X82))
U2_GGA(T52, T41, X82, convertc19_out_gga(T52, T41, T54)) → TIMES38_IN_GGA(T54, T41, X82)
TIMES38_IN_GGA(s(T72), T66, X148) → U5_GGA(T72, T66, X148, times38_in_gga(T72, T66, X147))
TIMES38_IN_GGA(s(T72), T66, X148) → TIMES38_IN_GGA(T72, T66, X147)
TIMES38_IN_GGA(s(T72), T66, X148) → U6_GGA(T72, T66, X148, timesc38_in_gga(T72, T66, T74))
U6_GGA(T72, T66, X148, timesc38_out_gga(T72, T66, T74)) → U7_GGA(T72, T66, X148, plus53_in_gga(T66, T74, X148))
U6_GGA(T72, T66, X148, timesc38_out_gga(T72, T66, T74)) → PLUS53_IN_GGA(T66, T74, X148)
PLUS53_IN_GGA(s(T93), T89, X199) → U8_GGA(T93, T89, X199, plus53_in_gga(T93, T89, X198))
PLUS53_IN_GGA(s(T93), T89, X199) → PLUS53_IN_GGA(T93, T89, X198)
CONVERT19_IN_GGA(.(s(T128), T129), T107, X251) → U4_GGA(T128, T129, T107, X251, convert1_in_gga(.(T128, T129), T107, X250))
CONVERT19_IN_GGA(.(s(T128), T129), T107, X251) → CONVERT1_IN_GGA(.(T128, T129), T107, X250)
CONVERT1_IN_GGA(.(0, T29), T164, T166) → U10_GGA(T29, T164, T166, convertc19_in_gga(T29, T164, s(T172)))
U10_GGA(T29, T164, T166, convertc19_out_gga(T29, T164, s(T172))) → U11_GGA(T29, T164, T166, times38_in_gga(T172, T164, X368))
U10_GGA(T29, T164, T166, convertc19_out_gga(T29, T164, s(T172))) → TIMES38_IN_GGA(T172, T164, X368)
CONVERT1_IN_GGA(.(0, T29), s(T203), T199) → U12_GGA(T29, T203, T199, convertc19_in_gga(T29, s(T203), s(T172)))
U12_GGA(T29, T203, T199, convertc19_out_gga(T29, s(T203), s(T172))) → U13_GGA(T29, T203, T199, timesc38_in_gga(T172, s(T203), T197))
U13_GGA(T29, T203, T199, timesc38_out_gga(T172, s(T203), T197)) → U14_GGA(T29, T203, T199, plus53_in_gga(T203, T197, X413))
U13_GGA(T29, T203, T199, timesc38_out_gga(T172, s(T203), T197)) → PLUS53_IN_GGA(T203, T197, X413)
CONVERT1_IN_GGA(.(s(T243), T244), T220, T222) → U15_GGA(T243, T244, T220, T222, convert1_in_gga(.(T243, T244), T220, X460))
CONVERT1_IN_GGA(.(s(T243), T244), T220, T222) → CONVERT1_IN_GGA(.(T243, T244), T220, X460)

The TRS R consists of the following rules:

convertc19_in_gga([], T35, 0) → convertc19_out_gga([], T35, 0)
convertc19_in_gga(.(0, T52), T41, X82) → U17_gga(T52, T41, X82, convertc19_in_gga(T52, T41, T54))
convertc19_in_gga(.(s(T128), T129), T107, s(T142)) → U19_gga(T128, T129, T107, T142, convertc1_in_gga(.(T128, T129), T107, T142))
convertc1_in_gga([], T6, 0) → convertc1_out_gga([], T6, 0)
convertc1_in_gga(.(0, T29), T149, 0) → U23_gga(T29, T149, convertc19_in_ggg(T29, T149, 0))
convertc19_in_ggg([], T35, 0) → convertc19_out_ggg([], T35, 0)
convertc19_in_ggg(.(0, T52), T41, X82) → U17_ggg(T52, T41, X82, convertc19_in_gga(T52, T41, T54))
U17_ggg(T52, T41, X82, convertc19_out_gga(T52, T41, T54)) → U18_ggg(T52, T41, X82, timesc38_in_ggg(T54, T41, X82))
timesc38_in_ggg(0, T59, 0) → timesc38_out_ggg(0, T59, 0)
timesc38_in_ggg(s(T72), T66, X148) → U20_ggg(T72, T66, X148, timesc38_in_gga(T72, T66, T74))
timesc38_in_gga(0, T59, 0) → timesc38_out_gga(0, T59, 0)
timesc38_in_gga(s(T72), T66, X148) → U20_gga(T72, T66, X148, timesc38_in_gga(T72, T66, T74))
U20_gga(T72, T66, X148, timesc38_out_gga(T72, T66, T74)) → U21_gga(T72, T66, X148, plusc53_in_gga(T66, T74, X148))
plusc53_in_gga(0, T82, T82) → plusc53_out_gga(0, T82, T82)
plusc53_in_gga(s(T93), T89, s(T100)) → U22_gga(T93, T89, T100, plusc53_in_gga(T93, T89, T100))
U22_gga(T93, T89, T100, plusc53_out_gga(T93, T89, T100)) → plusc53_out_gga(s(T93), T89, s(T100))
U21_gga(T72, T66, X148, plusc53_out_gga(T66, T74, X148)) → timesc38_out_gga(s(T72), T66, X148)
U20_ggg(T72, T66, X148, timesc38_out_gga(T72, T66, T74)) → U21_ggg(T72, T66, X148, plusc53_in_ggg(T66, T74, X148))
plusc53_in_ggg(0, T82, T82) → plusc53_out_ggg(0, T82, T82)
plusc53_in_ggg(s(T93), T89, s(T100)) → U22_ggg(T93, T89, T100, plusc53_in_ggg(T93, T89, T100))
U22_ggg(T93, T89, T100, plusc53_out_ggg(T93, T89, T100)) → plusc53_out_ggg(s(T93), T89, s(T100))
U21_ggg(T72, T66, X148, plusc53_out_ggg(T66, T74, X148)) → timesc38_out_ggg(s(T72), T66, X148)
U18_ggg(T52, T41, X82, timesc38_out_ggg(T54, T41, X82)) → convertc19_out_ggg(.(0, T52), T41, X82)
convertc19_in_ggg(.(s(T128), T129), T107, s(T142)) → U19_ggg(T128, T129, T107, T142, convertc1_in_ggg(.(T128, T129), T107, T142))
convertc1_in_ggg([], T6, 0) → convertc1_out_ggg([], T6, 0)
convertc1_in_ggg(.(0, T29), T149, 0) → U23_ggg(T29, T149, convertc19_in_ggg(T29, T149, 0))
U23_ggg(T29, T149, convertc19_out_ggg(T29, T149, 0)) → convertc1_out_ggg(.(0, T29), T149, 0)
convertc1_in_ggg(.(0, T29), 0, T187) → U24_ggg(T29, T187, convertc19_in_gga(T29, 0, s(T172)))
U24_ggg(T29, T187, convertc19_out_gga(T29, 0, s(T172))) → U25_ggg(T29, T187, timesc38_in_ggg(T172, 0, T187))
U25_ggg(T29, T187, timesc38_out_ggg(T172, 0, T187)) → convertc1_out_ggg(.(0, T29), 0, T187)
convertc1_in_ggg(.(0, T29), s(T203), s(T210)) → U26_ggg(T29, T203, T210, convertc19_in_gga(T29, s(T203), s(T172)))
U26_ggg(T29, T203, T210, convertc19_out_gga(T29, s(T203), s(T172))) → U27_ggg(T29, T203, T210, timesc38_in_gga(T172, s(T203), T197))
U27_ggg(T29, T203, T210, timesc38_out_gga(T172, s(T203), T197)) → U28_ggg(T29, T203, T210, plusc53_in_ggg(T203, T197, T210))
U28_ggg(T29, T203, T210, plusc53_out_ggg(T203, T197, T210)) → convertc1_out_ggg(.(0, T29), s(T203), s(T210))
convertc1_in_ggg(.(0, T29), s(T203), 0) → U29_ggg(T29, T203, convertc19_in_gga(T29, s(T203), s(T172)))
U29_ggg(T29, T203, convertc19_out_gga(T29, s(T203), s(T172))) → U30_ggg(T29, T203, timesc38_in_gga(T172, s(T203), T197))
U30_ggg(T29, T203, timesc38_out_gga(T172, s(T203), T197)) → U31_ggg(T29, T203, plusc53_in_ggg(T203, T197, 0))
U31_ggg(T29, T203, plusc53_out_ggg(T203, T197, 0)) → convertc1_out_ggg(.(0, T29), s(T203), 0)
convertc1_in_ggg(.(s(T243), T244), T220, s(T257)) → U32_ggg(T243, T244, T220, T257, convertc1_in_ggg(.(T243, T244), T220, T257))
convertc1_in_ggg(.(s(T243), T244), T220, 0) → U33_ggg(T243, T244, T220, convertc1_in_ggg(.(T243, T244), T220, 0))
U33_ggg(T243, T244, T220, convertc1_out_ggg(.(T243, T244), T220, 0)) → convertc1_out_ggg(.(s(T243), T244), T220, 0)
U32_ggg(T243, T244, T220, T257, convertc1_out_ggg(.(T243, T244), T220, T257)) → convertc1_out_ggg(.(s(T243), T244), T220, s(T257))
U19_ggg(T128, T129, T107, T142, convertc1_out_ggg(.(T128, T129), T107, T142)) → convertc19_out_ggg(.(s(T128), T129), T107, s(T142))
U23_gga(T29, T149, convertc19_out_ggg(T29, T149, 0)) → convertc1_out_gga(.(0, T29), T149, 0)
convertc1_in_gga(.(0, T29), 0, T187) → U24_gga(T29, T187, convertc19_in_gga(T29, 0, s(T172)))
U24_gga(T29, T187, convertc19_out_gga(T29, 0, s(T172))) → U25_gga(T29, T187, timesc38_in_gga(T172, 0, T187))
U25_gga(T29, T187, timesc38_out_gga(T172, 0, T187)) → convertc1_out_gga(.(0, T29), 0, T187)
convertc1_in_gga(.(0, T29), s(T203), s(T210)) → U26_gga(T29, T203, T210, convertc19_in_gga(T29, s(T203), s(T172)))
U26_gga(T29, T203, T210, convertc19_out_gga(T29, s(T203), s(T172))) → U27_gga(T29, T203, T210, timesc38_in_gga(T172, s(T203), T197))
U27_gga(T29, T203, T210, timesc38_out_gga(T172, s(T203), T197)) → U28_gga(T29, T203, T210, plusc53_in_gga(T203, T197, T210))
U28_gga(T29, T203, T210, plusc53_out_gga(T203, T197, T210)) → convertc1_out_gga(.(0, T29), s(T203), s(T210))
convertc1_in_gga(.(0, T29), s(T203), 0) → U29_gga(T29, T203, convertc19_in_gga(T29, s(T203), s(T172)))
U29_gga(T29, T203, convertc19_out_gga(T29, s(T203), s(T172))) → U30_gga(T29, T203, timesc38_in_gga(T172, s(T203), T197))
U30_gga(T29, T203, timesc38_out_gga(T172, s(T203), T197)) → U31_gga(T29, T203, plusc53_in_ggg(T203, T197, 0))
U31_gga(T29, T203, plusc53_out_ggg(T203, T197, 0)) → convertc1_out_gga(.(0, T29), s(T203), 0)
convertc1_in_gga(.(s(T243), T244), T220, s(T257)) → U32_gga(T243, T244, T220, T257, convertc1_in_gga(.(T243, T244), T220, T257))
convertc1_in_gga(.(s(T243), T244), T220, 0) → U33_gga(T243, T244, T220, convertc1_in_ggg(.(T243, T244), T220, 0))
U33_gga(T243, T244, T220, convertc1_out_ggg(.(T243, T244), T220, 0)) → convertc1_out_gga(.(s(T243), T244), T220, 0)
U32_gga(T243, T244, T220, T257, convertc1_out_gga(.(T243, T244), T220, T257)) → convertc1_out_gga(.(s(T243), T244), T220, s(T257))
U19_gga(T128, T129, T107, T142, convertc1_out_gga(.(T128, T129), T107, T142)) → convertc19_out_gga(.(s(T128), T129), T107, s(T142))
U17_gga(T52, T41, X82, convertc19_out_gga(T52, T41, T54)) → U18_gga(T52, T41, X82, timesc38_in_gga(T54, T41, X82))
U18_gga(T52, T41, X82, timesc38_out_gga(T54, T41, X82)) → convertc19_out_gga(.(0, T52), T41, X82)

The argument filtering Pi contains the following mapping:
convert1_in_gga(x1, x2, x3)  =  convert1_in_gga(x1, x2)
.(x1, x2)  =  .(x1, x2)
0  =  0
convert19_in_gga(x1, x2, x3)  =  convert19_in_gga(x1, x2)
convertc19_in_gga(x1, x2, x3)  =  convertc19_in_gga(x1, x2)
[]  =  []
convertc19_out_gga(x1, x2, x3)  =  convertc19_out_gga(x1, x2, x3)
U17_gga(x1, x2, x3, x4)  =  U17_gga(x1, x2, x4)
s(x1)  =  s(x1)
U19_gga(x1, x2, x3, x4, x5)  =  U19_gga(x1, x2, x3, x5)
convertc1_in_gga(x1, x2, x3)  =  convertc1_in_gga(x1, x2)
convertc1_out_gga(x1, x2, x3)  =  convertc1_out_gga(x1, x2, x3)
U23_gga(x1, x2, x3)  =  U23_gga(x1, x2, x3)
convertc19_in_ggg(x1, x2, x3)  =  convertc19_in_ggg(x1, x2, x3)
convertc19_out_ggg(x1, x2, x3)  =  convertc19_out_ggg(x1, x2, x3)
U17_ggg(x1, x2, x3, x4)  =  U17_ggg(x1, x2, x3, x4)
U18_ggg(x1, x2, x3, x4)  =  U18_ggg(x1, x2, x3, x4)
timesc38_in_ggg(x1, x2, x3)  =  timesc38_in_ggg(x1, x2, x3)
timesc38_out_ggg(x1, x2, x3)  =  timesc38_out_ggg(x1, x2, x3)
U20_ggg(x1, x2, x3, x4)  =  U20_ggg(x1, x2, x3, x4)
timesc38_in_gga(x1, x2, x3)  =  timesc38_in_gga(x1, x2)
timesc38_out_gga(x1, x2, x3)  =  timesc38_out_gga(x1, x2, x3)
U20_gga(x1, x2, x3, x4)  =  U20_gga(x1, x2, x4)
U21_gga(x1, x2, x3, x4)  =  U21_gga(x1, x2, x4)
plusc53_in_gga(x1, x2, x3)  =  plusc53_in_gga(x1, x2)
plusc53_out_gga(x1, x2, x3)  =  plusc53_out_gga(x1, x2, x3)
U22_gga(x1, x2, x3, x4)  =  U22_gga(x1, x2, x4)
U21_ggg(x1, x2, x3, x4)  =  U21_ggg(x1, x2, x3, x4)
plusc53_in_ggg(x1, x2, x3)  =  plusc53_in_ggg(x1, x2, x3)
plusc53_out_ggg(x1, x2, x3)  =  plusc53_out_ggg(x1, x2, x3)
U22_ggg(x1, x2, x3, x4)  =  U22_ggg(x1, x2, x3, x4)
U19_ggg(x1, x2, x3, x4, x5)  =  U19_ggg(x1, x2, x3, x4, x5)
convertc1_in_ggg(x1, x2, x3)  =  convertc1_in_ggg(x1, x2, x3)
convertc1_out_ggg(x1, x2, x3)  =  convertc1_out_ggg(x1, x2, x3)
U23_ggg(x1, x2, x3)  =  U23_ggg(x1, x2, x3)
U24_ggg(x1, x2, x3)  =  U24_ggg(x1, x2, x3)
U25_ggg(x1, x2, x3)  =  U25_ggg(x1, x2, x3)
U26_ggg(x1, x2, x3, x4)  =  U26_ggg(x1, x2, x3, x4)
U27_ggg(x1, x2, x3, x4)  =  U27_ggg(x1, x2, x3, x4)
U28_ggg(x1, x2, x3, x4)  =  U28_ggg(x1, x2, x3, x4)
U29_ggg(x1, x2, x3)  =  U29_ggg(x1, x2, x3)
U30_ggg(x1, x2, x3)  =  U30_ggg(x1, x2, x3)
U31_ggg(x1, x2, x3)  =  U31_ggg(x1, x2, x3)
U32_ggg(x1, x2, x3, x4, x5)  =  U32_ggg(x1, x2, x3, x4, x5)
U33_ggg(x1, x2, x3, x4)  =  U33_ggg(x1, x2, x3, x4)
U24_gga(x1, x2, x3)  =  U24_gga(x1, x3)
U25_gga(x1, x2, x3)  =  U25_gga(x1, x3)
U26_gga(x1, x2, x3, x4)  =  U26_gga(x1, x2, x4)
U27_gga(x1, x2, x3, x4)  =  U27_gga(x1, x2, x4)
U28_gga(x1, x2, x3, x4)  =  U28_gga(x1, x2, x4)
U29_gga(x1, x2, x3)  =  U29_gga(x1, x2, x3)
U30_gga(x1, x2, x3)  =  U30_gga(x1, x2, x3)
U31_gga(x1, x2, x3)  =  U31_gga(x1, x2, x3)
U32_gga(x1, x2, x3, x4, x5)  =  U32_gga(x1, x2, x3, x5)
U33_gga(x1, x2, x3, x4)  =  U33_gga(x1, x2, x3, x4)
U18_gga(x1, x2, x3, x4)  =  U18_gga(x1, x2, x4)
times38_in_gga(x1, x2, x3)  =  times38_in_gga(x1, x2)
plus53_in_gga(x1, x2, x3)  =  plus53_in_gga(x1, x2)
CONVERT1_IN_GGA(x1, x2, x3)  =  CONVERT1_IN_GGA(x1, x2)
U9_GGA(x1, x2, x3, x4)  =  U9_GGA(x1, x2, x4)
CONVERT19_IN_GGA(x1, x2, x3)  =  CONVERT19_IN_GGA(x1, x2)
U1_GGA(x1, x2, x3, x4)  =  U1_GGA(x1, x2, x4)
U2_GGA(x1, x2, x3, x4)  =  U2_GGA(x1, x2, x4)
U3_GGA(x1, x2, x3, x4)  =  U3_GGA(x1, x2, x4)
TIMES38_IN_GGA(x1, x2, x3)  =  TIMES38_IN_GGA(x1, x2)
U5_GGA(x1, x2, x3, x4)  =  U5_GGA(x1, x2, x4)
U6_GGA(x1, x2, x3, x4)  =  U6_GGA(x1, x2, x4)
U7_GGA(x1, x2, x3, x4)  =  U7_GGA(x1, x2, x4)
PLUS53_IN_GGA(x1, x2, x3)  =  PLUS53_IN_GGA(x1, x2)
U8_GGA(x1, x2, x3, x4)  =  U8_GGA(x1, x2, x4)
U4_GGA(x1, x2, x3, x4, x5)  =  U4_GGA(x1, x2, x3, x5)
U10_GGA(x1, x2, x3, x4)  =  U10_GGA(x1, x2, x4)
U11_GGA(x1, x2, x3, x4)  =  U11_GGA(x1, x2, x4)
U12_GGA(x1, x2, x3, x4)  =  U12_GGA(x1, x2, x4)
U13_GGA(x1, x2, x3, x4)  =  U13_GGA(x1, x2, x4)
U14_GGA(x1, x2, x3, x4)  =  U14_GGA(x1, x2, x4)
U15_GGA(x1, x2, x3, x4, x5)  =  U15_GGA(x1, x2, x3, x5)

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

(5) DependencyGraphProof (EQUIVALENT transformation)

The approximation of the Dependency Graph [LOPSTR] contains 3 SCCs with 19 less nodes.

(6) Complex Obligation (AND)

(7) Obligation:

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

PLUS53_IN_GGA(s(T93), T89, X199) → PLUS53_IN_GGA(T93, T89, X198)

The TRS R consists of the following rules:

convertc19_in_gga([], T35, 0) → convertc19_out_gga([], T35, 0)
convertc19_in_gga(.(0, T52), T41, X82) → U17_gga(T52, T41, X82, convertc19_in_gga(T52, T41, T54))
convertc19_in_gga(.(s(T128), T129), T107, s(T142)) → U19_gga(T128, T129, T107, T142, convertc1_in_gga(.(T128, T129), T107, T142))
convertc1_in_gga([], T6, 0) → convertc1_out_gga([], T6, 0)
convertc1_in_gga(.(0, T29), T149, 0) → U23_gga(T29, T149, convertc19_in_ggg(T29, T149, 0))
convertc19_in_ggg([], T35, 0) → convertc19_out_ggg([], T35, 0)
convertc19_in_ggg(.(0, T52), T41, X82) → U17_ggg(T52, T41, X82, convertc19_in_gga(T52, T41, T54))
U17_ggg(T52, T41, X82, convertc19_out_gga(T52, T41, T54)) → U18_ggg(T52, T41, X82, timesc38_in_ggg(T54, T41, X82))
timesc38_in_ggg(0, T59, 0) → timesc38_out_ggg(0, T59, 0)
timesc38_in_ggg(s(T72), T66, X148) → U20_ggg(T72, T66, X148, timesc38_in_gga(T72, T66, T74))
timesc38_in_gga(0, T59, 0) → timesc38_out_gga(0, T59, 0)
timesc38_in_gga(s(T72), T66, X148) → U20_gga(T72, T66, X148, timesc38_in_gga(T72, T66, T74))
U20_gga(T72, T66, X148, timesc38_out_gga(T72, T66, T74)) → U21_gga(T72, T66, X148, plusc53_in_gga(T66, T74, X148))
plusc53_in_gga(0, T82, T82) → plusc53_out_gga(0, T82, T82)
plusc53_in_gga(s(T93), T89, s(T100)) → U22_gga(T93, T89, T100, plusc53_in_gga(T93, T89, T100))
U22_gga(T93, T89, T100, plusc53_out_gga(T93, T89, T100)) → plusc53_out_gga(s(T93), T89, s(T100))
U21_gga(T72, T66, X148, plusc53_out_gga(T66, T74, X148)) → timesc38_out_gga(s(T72), T66, X148)
U20_ggg(T72, T66, X148, timesc38_out_gga(T72, T66, T74)) → U21_ggg(T72, T66, X148, plusc53_in_ggg(T66, T74, X148))
plusc53_in_ggg(0, T82, T82) → plusc53_out_ggg(0, T82, T82)
plusc53_in_ggg(s(T93), T89, s(T100)) → U22_ggg(T93, T89, T100, plusc53_in_ggg(T93, T89, T100))
U22_ggg(T93, T89, T100, plusc53_out_ggg(T93, T89, T100)) → plusc53_out_ggg(s(T93), T89, s(T100))
U21_ggg(T72, T66, X148, plusc53_out_ggg(T66, T74, X148)) → timesc38_out_ggg(s(T72), T66, X148)
U18_ggg(T52, T41, X82, timesc38_out_ggg(T54, T41, X82)) → convertc19_out_ggg(.(0, T52), T41, X82)
convertc19_in_ggg(.(s(T128), T129), T107, s(T142)) → U19_ggg(T128, T129, T107, T142, convertc1_in_ggg(.(T128, T129), T107, T142))
convertc1_in_ggg([], T6, 0) → convertc1_out_ggg([], T6, 0)
convertc1_in_ggg(.(0, T29), T149, 0) → U23_ggg(T29, T149, convertc19_in_ggg(T29, T149, 0))
U23_ggg(T29, T149, convertc19_out_ggg(T29, T149, 0)) → convertc1_out_ggg(.(0, T29), T149, 0)
convertc1_in_ggg(.(0, T29), 0, T187) → U24_ggg(T29, T187, convertc19_in_gga(T29, 0, s(T172)))
U24_ggg(T29, T187, convertc19_out_gga(T29, 0, s(T172))) → U25_ggg(T29, T187, timesc38_in_ggg(T172, 0, T187))
U25_ggg(T29, T187, timesc38_out_ggg(T172, 0, T187)) → convertc1_out_ggg(.(0, T29), 0, T187)
convertc1_in_ggg(.(0, T29), s(T203), s(T210)) → U26_ggg(T29, T203, T210, convertc19_in_gga(T29, s(T203), s(T172)))
U26_ggg(T29, T203, T210, convertc19_out_gga(T29, s(T203), s(T172))) → U27_ggg(T29, T203, T210, timesc38_in_gga(T172, s(T203), T197))
U27_ggg(T29, T203, T210, timesc38_out_gga(T172, s(T203), T197)) → U28_ggg(T29, T203, T210, plusc53_in_ggg(T203, T197, T210))
U28_ggg(T29, T203, T210, plusc53_out_ggg(T203, T197, T210)) → convertc1_out_ggg(.(0, T29), s(T203), s(T210))
convertc1_in_ggg(.(0, T29), s(T203), 0) → U29_ggg(T29, T203, convertc19_in_gga(T29, s(T203), s(T172)))
U29_ggg(T29, T203, convertc19_out_gga(T29, s(T203), s(T172))) → U30_ggg(T29, T203, timesc38_in_gga(T172, s(T203), T197))
U30_ggg(T29, T203, timesc38_out_gga(T172, s(T203), T197)) → U31_ggg(T29, T203, plusc53_in_ggg(T203, T197, 0))
U31_ggg(T29, T203, plusc53_out_ggg(T203, T197, 0)) → convertc1_out_ggg(.(0, T29), s(T203), 0)
convertc1_in_ggg(.(s(T243), T244), T220, s(T257)) → U32_ggg(T243, T244, T220, T257, convertc1_in_ggg(.(T243, T244), T220, T257))
convertc1_in_ggg(.(s(T243), T244), T220, 0) → U33_ggg(T243, T244, T220, convertc1_in_ggg(.(T243, T244), T220, 0))
U33_ggg(T243, T244, T220, convertc1_out_ggg(.(T243, T244), T220, 0)) → convertc1_out_ggg(.(s(T243), T244), T220, 0)
U32_ggg(T243, T244, T220, T257, convertc1_out_ggg(.(T243, T244), T220, T257)) → convertc1_out_ggg(.(s(T243), T244), T220, s(T257))
U19_ggg(T128, T129, T107, T142, convertc1_out_ggg(.(T128, T129), T107, T142)) → convertc19_out_ggg(.(s(T128), T129), T107, s(T142))
U23_gga(T29, T149, convertc19_out_ggg(T29, T149, 0)) → convertc1_out_gga(.(0, T29), T149, 0)
convertc1_in_gga(.(0, T29), 0, T187) → U24_gga(T29, T187, convertc19_in_gga(T29, 0, s(T172)))
U24_gga(T29, T187, convertc19_out_gga(T29, 0, s(T172))) → U25_gga(T29, T187, timesc38_in_gga(T172, 0, T187))
U25_gga(T29, T187, timesc38_out_gga(T172, 0, T187)) → convertc1_out_gga(.(0, T29), 0, T187)
convertc1_in_gga(.(0, T29), s(T203), s(T210)) → U26_gga(T29, T203, T210, convertc19_in_gga(T29, s(T203), s(T172)))
U26_gga(T29, T203, T210, convertc19_out_gga(T29, s(T203), s(T172))) → U27_gga(T29, T203, T210, timesc38_in_gga(T172, s(T203), T197))
U27_gga(T29, T203, T210, timesc38_out_gga(T172, s(T203), T197)) → U28_gga(T29, T203, T210, plusc53_in_gga(T203, T197, T210))
U28_gga(T29, T203, T210, plusc53_out_gga(T203, T197, T210)) → convertc1_out_gga(.(0, T29), s(T203), s(T210))
convertc1_in_gga(.(0, T29), s(T203), 0) → U29_gga(T29, T203, convertc19_in_gga(T29, s(T203), s(T172)))
U29_gga(T29, T203, convertc19_out_gga(T29, s(T203), s(T172))) → U30_gga(T29, T203, timesc38_in_gga(T172, s(T203), T197))
U30_gga(T29, T203, timesc38_out_gga(T172, s(T203), T197)) → U31_gga(T29, T203, plusc53_in_ggg(T203, T197, 0))
U31_gga(T29, T203, plusc53_out_ggg(T203, T197, 0)) → convertc1_out_gga(.(0, T29), s(T203), 0)
convertc1_in_gga(.(s(T243), T244), T220, s(T257)) → U32_gga(T243, T244, T220, T257, convertc1_in_gga(.(T243, T244), T220, T257))
convertc1_in_gga(.(s(T243), T244), T220, 0) → U33_gga(T243, T244, T220, convertc1_in_ggg(.(T243, T244), T220, 0))
U33_gga(T243, T244, T220, convertc1_out_ggg(.(T243, T244), T220, 0)) → convertc1_out_gga(.(s(T243), T244), T220, 0)
U32_gga(T243, T244, T220, T257, convertc1_out_gga(.(T243, T244), T220, T257)) → convertc1_out_gga(.(s(T243), T244), T220, s(T257))
U19_gga(T128, T129, T107, T142, convertc1_out_gga(.(T128, T129), T107, T142)) → convertc19_out_gga(.(s(T128), T129), T107, s(T142))
U17_gga(T52, T41, X82, convertc19_out_gga(T52, T41, T54)) → U18_gga(T52, T41, X82, timesc38_in_gga(T54, T41, X82))
U18_gga(T52, T41, X82, timesc38_out_gga(T54, T41, X82)) → convertc19_out_gga(.(0, T52), T41, X82)

The argument filtering Pi contains the following mapping:
.(x1, x2)  =  .(x1, x2)
0  =  0
convertc19_in_gga(x1, x2, x3)  =  convertc19_in_gga(x1, x2)
[]  =  []
convertc19_out_gga(x1, x2, x3)  =  convertc19_out_gga(x1, x2, x3)
U17_gga(x1, x2, x3, x4)  =  U17_gga(x1, x2, x4)
s(x1)  =  s(x1)
U19_gga(x1, x2, x3, x4, x5)  =  U19_gga(x1, x2, x3, x5)
convertc1_in_gga(x1, x2, x3)  =  convertc1_in_gga(x1, x2)
convertc1_out_gga(x1, x2, x3)  =  convertc1_out_gga(x1, x2, x3)
U23_gga(x1, x2, x3)  =  U23_gga(x1, x2, x3)
convertc19_in_ggg(x1, x2, x3)  =  convertc19_in_ggg(x1, x2, x3)
convertc19_out_ggg(x1, x2, x3)  =  convertc19_out_ggg(x1, x2, x3)
U17_ggg(x1, x2, x3, x4)  =  U17_ggg(x1, x2, x3, x4)
U18_ggg(x1, x2, x3, x4)  =  U18_ggg(x1, x2, x3, x4)
timesc38_in_ggg(x1, x2, x3)  =  timesc38_in_ggg(x1, x2, x3)
timesc38_out_ggg(x1, x2, x3)  =  timesc38_out_ggg(x1, x2, x3)
U20_ggg(x1, x2, x3, x4)  =  U20_ggg(x1, x2, x3, x4)
timesc38_in_gga(x1, x2, x3)  =  timesc38_in_gga(x1, x2)
timesc38_out_gga(x1, x2, x3)  =  timesc38_out_gga(x1, x2, x3)
U20_gga(x1, x2, x3, x4)  =  U20_gga(x1, x2, x4)
U21_gga(x1, x2, x3, x4)  =  U21_gga(x1, x2, x4)
plusc53_in_gga(x1, x2, x3)  =  plusc53_in_gga(x1, x2)
plusc53_out_gga(x1, x2, x3)  =  plusc53_out_gga(x1, x2, x3)
U22_gga(x1, x2, x3, x4)  =  U22_gga(x1, x2, x4)
U21_ggg(x1, x2, x3, x4)  =  U21_ggg(x1, x2, x3, x4)
plusc53_in_ggg(x1, x2, x3)  =  plusc53_in_ggg(x1, x2, x3)
plusc53_out_ggg(x1, x2, x3)  =  plusc53_out_ggg(x1, x2, x3)
U22_ggg(x1, x2, x3, x4)  =  U22_ggg(x1, x2, x3, x4)
U19_ggg(x1, x2, x3, x4, x5)  =  U19_ggg(x1, x2, x3, x4, x5)
convertc1_in_ggg(x1, x2, x3)  =  convertc1_in_ggg(x1, x2, x3)
convertc1_out_ggg(x1, x2, x3)  =  convertc1_out_ggg(x1, x2, x3)
U23_ggg(x1, x2, x3)  =  U23_ggg(x1, x2, x3)
U24_ggg(x1, x2, x3)  =  U24_ggg(x1, x2, x3)
U25_ggg(x1, x2, x3)  =  U25_ggg(x1, x2, x3)
U26_ggg(x1, x2, x3, x4)  =  U26_ggg(x1, x2, x3, x4)
U27_ggg(x1, x2, x3, x4)  =  U27_ggg(x1, x2, x3, x4)
U28_ggg(x1, x2, x3, x4)  =  U28_ggg(x1, x2, x3, x4)
U29_ggg(x1, x2, x3)  =  U29_ggg(x1, x2, x3)
U30_ggg(x1, x2, x3)  =  U30_ggg(x1, x2, x3)
U31_ggg(x1, x2, x3)  =  U31_ggg(x1, x2, x3)
U32_ggg(x1, x2, x3, x4, x5)  =  U32_ggg(x1, x2, x3, x4, x5)
U33_ggg(x1, x2, x3, x4)  =  U33_ggg(x1, x2, x3, x4)
U24_gga(x1, x2, x3)  =  U24_gga(x1, x3)
U25_gga(x1, x2, x3)  =  U25_gga(x1, x3)
U26_gga(x1, x2, x3, x4)  =  U26_gga(x1, x2, x4)
U27_gga(x1, x2, x3, x4)  =  U27_gga(x1, x2, x4)
U28_gga(x1, x2, x3, x4)  =  U28_gga(x1, x2, x4)
U29_gga(x1, x2, x3)  =  U29_gga(x1, x2, x3)
U30_gga(x1, x2, x3)  =  U30_gga(x1, x2, x3)
U31_gga(x1, x2, x3)  =  U31_gga(x1, x2, x3)
U32_gga(x1, x2, x3, x4, x5)  =  U32_gga(x1, x2, x3, x5)
U33_gga(x1, x2, x3, x4)  =  U33_gga(x1, x2, x3, x4)
U18_gga(x1, x2, x3, x4)  =  U18_gga(x1, x2, x4)
PLUS53_IN_GGA(x1, x2, x3)  =  PLUS53_IN_GGA(x1, x2)

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

(8) UsableRulesProof (EQUIVALENT transformation)

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

(9) Obligation:

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

PLUS53_IN_GGA(s(T93), T89, X199) → PLUS53_IN_GGA(T93, T89, X198)

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

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

(10) PiDPToQDPProof (SOUND transformation)

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

(11) Obligation:

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

PLUS53_IN_GGA(s(T93), T89) → PLUS53_IN_GGA(T93, T89)

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

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

  • PLUS53_IN_GGA(s(T93), T89) → PLUS53_IN_GGA(T93, T89)
    The graph contains the following edges 1 > 1, 2 >= 2

(13) YES

(14) Obligation:

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

TIMES38_IN_GGA(s(T72), T66, X148) → TIMES38_IN_GGA(T72, T66, X147)

The TRS R consists of the following rules:

convertc19_in_gga([], T35, 0) → convertc19_out_gga([], T35, 0)
convertc19_in_gga(.(0, T52), T41, X82) → U17_gga(T52, T41, X82, convertc19_in_gga(T52, T41, T54))
convertc19_in_gga(.(s(T128), T129), T107, s(T142)) → U19_gga(T128, T129, T107, T142, convertc1_in_gga(.(T128, T129), T107, T142))
convertc1_in_gga([], T6, 0) → convertc1_out_gga([], T6, 0)
convertc1_in_gga(.(0, T29), T149, 0) → U23_gga(T29, T149, convertc19_in_ggg(T29, T149, 0))
convertc19_in_ggg([], T35, 0) → convertc19_out_ggg([], T35, 0)
convertc19_in_ggg(.(0, T52), T41, X82) → U17_ggg(T52, T41, X82, convertc19_in_gga(T52, T41, T54))
U17_ggg(T52, T41, X82, convertc19_out_gga(T52, T41, T54)) → U18_ggg(T52, T41, X82, timesc38_in_ggg(T54, T41, X82))
timesc38_in_ggg(0, T59, 0) → timesc38_out_ggg(0, T59, 0)
timesc38_in_ggg(s(T72), T66, X148) → U20_ggg(T72, T66, X148, timesc38_in_gga(T72, T66, T74))
timesc38_in_gga(0, T59, 0) → timesc38_out_gga(0, T59, 0)
timesc38_in_gga(s(T72), T66, X148) → U20_gga(T72, T66, X148, timesc38_in_gga(T72, T66, T74))
U20_gga(T72, T66, X148, timesc38_out_gga(T72, T66, T74)) → U21_gga(T72, T66, X148, plusc53_in_gga(T66, T74, X148))
plusc53_in_gga(0, T82, T82) → plusc53_out_gga(0, T82, T82)
plusc53_in_gga(s(T93), T89, s(T100)) → U22_gga(T93, T89, T100, plusc53_in_gga(T93, T89, T100))
U22_gga(T93, T89, T100, plusc53_out_gga(T93, T89, T100)) → plusc53_out_gga(s(T93), T89, s(T100))
U21_gga(T72, T66, X148, plusc53_out_gga(T66, T74, X148)) → timesc38_out_gga(s(T72), T66, X148)
U20_ggg(T72, T66, X148, timesc38_out_gga(T72, T66, T74)) → U21_ggg(T72, T66, X148, plusc53_in_ggg(T66, T74, X148))
plusc53_in_ggg(0, T82, T82) → plusc53_out_ggg(0, T82, T82)
plusc53_in_ggg(s(T93), T89, s(T100)) → U22_ggg(T93, T89, T100, plusc53_in_ggg(T93, T89, T100))
U22_ggg(T93, T89, T100, plusc53_out_ggg(T93, T89, T100)) → plusc53_out_ggg(s(T93), T89, s(T100))
U21_ggg(T72, T66, X148, plusc53_out_ggg(T66, T74, X148)) → timesc38_out_ggg(s(T72), T66, X148)
U18_ggg(T52, T41, X82, timesc38_out_ggg(T54, T41, X82)) → convertc19_out_ggg(.(0, T52), T41, X82)
convertc19_in_ggg(.(s(T128), T129), T107, s(T142)) → U19_ggg(T128, T129, T107, T142, convertc1_in_ggg(.(T128, T129), T107, T142))
convertc1_in_ggg([], T6, 0) → convertc1_out_ggg([], T6, 0)
convertc1_in_ggg(.(0, T29), T149, 0) → U23_ggg(T29, T149, convertc19_in_ggg(T29, T149, 0))
U23_ggg(T29, T149, convertc19_out_ggg(T29, T149, 0)) → convertc1_out_ggg(.(0, T29), T149, 0)
convertc1_in_ggg(.(0, T29), 0, T187) → U24_ggg(T29, T187, convertc19_in_gga(T29, 0, s(T172)))
U24_ggg(T29, T187, convertc19_out_gga(T29, 0, s(T172))) → U25_ggg(T29, T187, timesc38_in_ggg(T172, 0, T187))
U25_ggg(T29, T187, timesc38_out_ggg(T172, 0, T187)) → convertc1_out_ggg(.(0, T29), 0, T187)
convertc1_in_ggg(.(0, T29), s(T203), s(T210)) → U26_ggg(T29, T203, T210, convertc19_in_gga(T29, s(T203), s(T172)))
U26_ggg(T29, T203, T210, convertc19_out_gga(T29, s(T203), s(T172))) → U27_ggg(T29, T203, T210, timesc38_in_gga(T172, s(T203), T197))
U27_ggg(T29, T203, T210, timesc38_out_gga(T172, s(T203), T197)) → U28_ggg(T29, T203, T210, plusc53_in_ggg(T203, T197, T210))
U28_ggg(T29, T203, T210, plusc53_out_ggg(T203, T197, T210)) → convertc1_out_ggg(.(0, T29), s(T203), s(T210))
convertc1_in_ggg(.(0, T29), s(T203), 0) → U29_ggg(T29, T203, convertc19_in_gga(T29, s(T203), s(T172)))
U29_ggg(T29, T203, convertc19_out_gga(T29, s(T203), s(T172))) → U30_ggg(T29, T203, timesc38_in_gga(T172, s(T203), T197))
U30_ggg(T29, T203, timesc38_out_gga(T172, s(T203), T197)) → U31_ggg(T29, T203, plusc53_in_ggg(T203, T197, 0))
U31_ggg(T29, T203, plusc53_out_ggg(T203, T197, 0)) → convertc1_out_ggg(.(0, T29), s(T203), 0)
convertc1_in_ggg(.(s(T243), T244), T220, s(T257)) → U32_ggg(T243, T244, T220, T257, convertc1_in_ggg(.(T243, T244), T220, T257))
convertc1_in_ggg(.(s(T243), T244), T220, 0) → U33_ggg(T243, T244, T220, convertc1_in_ggg(.(T243, T244), T220, 0))
U33_ggg(T243, T244, T220, convertc1_out_ggg(.(T243, T244), T220, 0)) → convertc1_out_ggg(.(s(T243), T244), T220, 0)
U32_ggg(T243, T244, T220, T257, convertc1_out_ggg(.(T243, T244), T220, T257)) → convertc1_out_ggg(.(s(T243), T244), T220, s(T257))
U19_ggg(T128, T129, T107, T142, convertc1_out_ggg(.(T128, T129), T107, T142)) → convertc19_out_ggg(.(s(T128), T129), T107, s(T142))
U23_gga(T29, T149, convertc19_out_ggg(T29, T149, 0)) → convertc1_out_gga(.(0, T29), T149, 0)
convertc1_in_gga(.(0, T29), 0, T187) → U24_gga(T29, T187, convertc19_in_gga(T29, 0, s(T172)))
U24_gga(T29, T187, convertc19_out_gga(T29, 0, s(T172))) → U25_gga(T29, T187, timesc38_in_gga(T172, 0, T187))
U25_gga(T29, T187, timesc38_out_gga(T172, 0, T187)) → convertc1_out_gga(.(0, T29), 0, T187)
convertc1_in_gga(.(0, T29), s(T203), s(T210)) → U26_gga(T29, T203, T210, convertc19_in_gga(T29, s(T203), s(T172)))
U26_gga(T29, T203, T210, convertc19_out_gga(T29, s(T203), s(T172))) → U27_gga(T29, T203, T210, timesc38_in_gga(T172, s(T203), T197))
U27_gga(T29, T203, T210, timesc38_out_gga(T172, s(T203), T197)) → U28_gga(T29, T203, T210, plusc53_in_gga(T203, T197, T210))
U28_gga(T29, T203, T210, plusc53_out_gga(T203, T197, T210)) → convertc1_out_gga(.(0, T29), s(T203), s(T210))
convertc1_in_gga(.(0, T29), s(T203), 0) → U29_gga(T29, T203, convertc19_in_gga(T29, s(T203), s(T172)))
U29_gga(T29, T203, convertc19_out_gga(T29, s(T203), s(T172))) → U30_gga(T29, T203, timesc38_in_gga(T172, s(T203), T197))
U30_gga(T29, T203, timesc38_out_gga(T172, s(T203), T197)) → U31_gga(T29, T203, plusc53_in_ggg(T203, T197, 0))
U31_gga(T29, T203, plusc53_out_ggg(T203, T197, 0)) → convertc1_out_gga(.(0, T29), s(T203), 0)
convertc1_in_gga(.(s(T243), T244), T220, s(T257)) → U32_gga(T243, T244, T220, T257, convertc1_in_gga(.(T243, T244), T220, T257))
convertc1_in_gga(.(s(T243), T244), T220, 0) → U33_gga(T243, T244, T220, convertc1_in_ggg(.(T243, T244), T220, 0))
U33_gga(T243, T244, T220, convertc1_out_ggg(.(T243, T244), T220, 0)) → convertc1_out_gga(.(s(T243), T244), T220, 0)
U32_gga(T243, T244, T220, T257, convertc1_out_gga(.(T243, T244), T220, T257)) → convertc1_out_gga(.(s(T243), T244), T220, s(T257))
U19_gga(T128, T129, T107, T142, convertc1_out_gga(.(T128, T129), T107, T142)) → convertc19_out_gga(.(s(T128), T129), T107, s(T142))
U17_gga(T52, T41, X82, convertc19_out_gga(T52, T41, T54)) → U18_gga(T52, T41, X82, timesc38_in_gga(T54, T41, X82))
U18_gga(T52, T41, X82, timesc38_out_gga(T54, T41, X82)) → convertc19_out_gga(.(0, T52), T41, X82)

The argument filtering Pi contains the following mapping:
.(x1, x2)  =  .(x1, x2)
0  =  0
convertc19_in_gga(x1, x2, x3)  =  convertc19_in_gga(x1, x2)
[]  =  []
convertc19_out_gga(x1, x2, x3)  =  convertc19_out_gga(x1, x2, x3)
U17_gga(x1, x2, x3, x4)  =  U17_gga(x1, x2, x4)
s(x1)  =  s(x1)
U19_gga(x1, x2, x3, x4, x5)  =  U19_gga(x1, x2, x3, x5)
convertc1_in_gga(x1, x2, x3)  =  convertc1_in_gga(x1, x2)
convertc1_out_gga(x1, x2, x3)  =  convertc1_out_gga(x1, x2, x3)
U23_gga(x1, x2, x3)  =  U23_gga(x1, x2, x3)
convertc19_in_ggg(x1, x2, x3)  =  convertc19_in_ggg(x1, x2, x3)
convertc19_out_ggg(x1, x2, x3)  =  convertc19_out_ggg(x1, x2, x3)
U17_ggg(x1, x2, x3, x4)  =  U17_ggg(x1, x2, x3, x4)
U18_ggg(x1, x2, x3, x4)  =  U18_ggg(x1, x2, x3, x4)
timesc38_in_ggg(x1, x2, x3)  =  timesc38_in_ggg(x1, x2, x3)
timesc38_out_ggg(x1, x2, x3)  =  timesc38_out_ggg(x1, x2, x3)
U20_ggg(x1, x2, x3, x4)  =  U20_ggg(x1, x2, x3, x4)
timesc38_in_gga(x1, x2, x3)  =  timesc38_in_gga(x1, x2)
timesc38_out_gga(x1, x2, x3)  =  timesc38_out_gga(x1, x2, x3)
U20_gga(x1, x2, x3, x4)  =  U20_gga(x1, x2, x4)
U21_gga(x1, x2, x3, x4)  =  U21_gga(x1, x2, x4)
plusc53_in_gga(x1, x2, x3)  =  plusc53_in_gga(x1, x2)
plusc53_out_gga(x1, x2, x3)  =  plusc53_out_gga(x1, x2, x3)
U22_gga(x1, x2, x3, x4)  =  U22_gga(x1, x2, x4)
U21_ggg(x1, x2, x3, x4)  =  U21_ggg(x1, x2, x3, x4)
plusc53_in_ggg(x1, x2, x3)  =  plusc53_in_ggg(x1, x2, x3)
plusc53_out_ggg(x1, x2, x3)  =  plusc53_out_ggg(x1, x2, x3)
U22_ggg(x1, x2, x3, x4)  =  U22_ggg(x1, x2, x3, x4)
U19_ggg(x1, x2, x3, x4, x5)  =  U19_ggg(x1, x2, x3, x4, x5)
convertc1_in_ggg(x1, x2, x3)  =  convertc1_in_ggg(x1, x2, x3)
convertc1_out_ggg(x1, x2, x3)  =  convertc1_out_ggg(x1, x2, x3)
U23_ggg(x1, x2, x3)  =  U23_ggg(x1, x2, x3)
U24_ggg(x1, x2, x3)  =  U24_ggg(x1, x2, x3)
U25_ggg(x1, x2, x3)  =  U25_ggg(x1, x2, x3)
U26_ggg(x1, x2, x3, x4)  =  U26_ggg(x1, x2, x3, x4)
U27_ggg(x1, x2, x3, x4)  =  U27_ggg(x1, x2, x3, x4)
U28_ggg(x1, x2, x3, x4)  =  U28_ggg(x1, x2, x3, x4)
U29_ggg(x1, x2, x3)  =  U29_ggg(x1, x2, x3)
U30_ggg(x1, x2, x3)  =  U30_ggg(x1, x2, x3)
U31_ggg(x1, x2, x3)  =  U31_ggg(x1, x2, x3)
U32_ggg(x1, x2, x3, x4, x5)  =  U32_ggg(x1, x2, x3, x4, x5)
U33_ggg(x1, x2, x3, x4)  =  U33_ggg(x1, x2, x3, x4)
U24_gga(x1, x2, x3)  =  U24_gga(x1, x3)
U25_gga(x1, x2, x3)  =  U25_gga(x1, x3)
U26_gga(x1, x2, x3, x4)  =  U26_gga(x1, x2, x4)
U27_gga(x1, x2, x3, x4)  =  U27_gga(x1, x2, x4)
U28_gga(x1, x2, x3, x4)  =  U28_gga(x1, x2, x4)
U29_gga(x1, x2, x3)  =  U29_gga(x1, x2, x3)
U30_gga(x1, x2, x3)  =  U30_gga(x1, x2, x3)
U31_gga(x1, x2, x3)  =  U31_gga(x1, x2, x3)
U32_gga(x1, x2, x3, x4, x5)  =  U32_gga(x1, x2, x3, x5)
U33_gga(x1, x2, x3, x4)  =  U33_gga(x1, x2, x3, x4)
U18_gga(x1, x2, x3, x4)  =  U18_gga(x1, x2, x4)
TIMES38_IN_GGA(x1, x2, x3)  =  TIMES38_IN_GGA(x1, x2)

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

(15) UsableRulesProof (EQUIVALENT transformation)

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

(16) Obligation:

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

TIMES38_IN_GGA(s(T72), T66, X148) → TIMES38_IN_GGA(T72, T66, X147)

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

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

(17) PiDPToQDPProof (SOUND transformation)

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

(18) Obligation:

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

TIMES38_IN_GGA(s(T72), T66) → TIMES38_IN_GGA(T72, T66)

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

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

  • TIMES38_IN_GGA(s(T72), T66) → TIMES38_IN_GGA(T72, T66)
    The graph contains the following edges 1 > 1, 2 >= 2

(20) YES

(21) Obligation:

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

CONVERT1_IN_GGA(.(0, T29), T16, T18) → CONVERT19_IN_GGA(T29, T16, X22)
CONVERT19_IN_GGA(.(0, T52), T41, X82) → CONVERT19_IN_GGA(T52, T41, X81)
CONVERT19_IN_GGA(.(s(T128), T129), T107, X251) → CONVERT1_IN_GGA(.(T128, T129), T107, X250)
CONVERT1_IN_GGA(.(s(T243), T244), T220, T222) → CONVERT1_IN_GGA(.(T243, T244), T220, X460)

The TRS R consists of the following rules:

convertc19_in_gga([], T35, 0) → convertc19_out_gga([], T35, 0)
convertc19_in_gga(.(0, T52), T41, X82) → U17_gga(T52, T41, X82, convertc19_in_gga(T52, T41, T54))
convertc19_in_gga(.(s(T128), T129), T107, s(T142)) → U19_gga(T128, T129, T107, T142, convertc1_in_gga(.(T128, T129), T107, T142))
convertc1_in_gga([], T6, 0) → convertc1_out_gga([], T6, 0)
convertc1_in_gga(.(0, T29), T149, 0) → U23_gga(T29, T149, convertc19_in_ggg(T29, T149, 0))
convertc19_in_ggg([], T35, 0) → convertc19_out_ggg([], T35, 0)
convertc19_in_ggg(.(0, T52), T41, X82) → U17_ggg(T52, T41, X82, convertc19_in_gga(T52, T41, T54))
U17_ggg(T52, T41, X82, convertc19_out_gga(T52, T41, T54)) → U18_ggg(T52, T41, X82, timesc38_in_ggg(T54, T41, X82))
timesc38_in_ggg(0, T59, 0) → timesc38_out_ggg(0, T59, 0)
timesc38_in_ggg(s(T72), T66, X148) → U20_ggg(T72, T66, X148, timesc38_in_gga(T72, T66, T74))
timesc38_in_gga(0, T59, 0) → timesc38_out_gga(0, T59, 0)
timesc38_in_gga(s(T72), T66, X148) → U20_gga(T72, T66, X148, timesc38_in_gga(T72, T66, T74))
U20_gga(T72, T66, X148, timesc38_out_gga(T72, T66, T74)) → U21_gga(T72, T66, X148, plusc53_in_gga(T66, T74, X148))
plusc53_in_gga(0, T82, T82) → plusc53_out_gga(0, T82, T82)
plusc53_in_gga(s(T93), T89, s(T100)) → U22_gga(T93, T89, T100, plusc53_in_gga(T93, T89, T100))
U22_gga(T93, T89, T100, plusc53_out_gga(T93, T89, T100)) → plusc53_out_gga(s(T93), T89, s(T100))
U21_gga(T72, T66, X148, plusc53_out_gga(T66, T74, X148)) → timesc38_out_gga(s(T72), T66, X148)
U20_ggg(T72, T66, X148, timesc38_out_gga(T72, T66, T74)) → U21_ggg(T72, T66, X148, plusc53_in_ggg(T66, T74, X148))
plusc53_in_ggg(0, T82, T82) → plusc53_out_ggg(0, T82, T82)
plusc53_in_ggg(s(T93), T89, s(T100)) → U22_ggg(T93, T89, T100, plusc53_in_ggg(T93, T89, T100))
U22_ggg(T93, T89, T100, plusc53_out_ggg(T93, T89, T100)) → plusc53_out_ggg(s(T93), T89, s(T100))
U21_ggg(T72, T66, X148, plusc53_out_ggg(T66, T74, X148)) → timesc38_out_ggg(s(T72), T66, X148)
U18_ggg(T52, T41, X82, timesc38_out_ggg(T54, T41, X82)) → convertc19_out_ggg(.(0, T52), T41, X82)
convertc19_in_ggg(.(s(T128), T129), T107, s(T142)) → U19_ggg(T128, T129, T107, T142, convertc1_in_ggg(.(T128, T129), T107, T142))
convertc1_in_ggg([], T6, 0) → convertc1_out_ggg([], T6, 0)
convertc1_in_ggg(.(0, T29), T149, 0) → U23_ggg(T29, T149, convertc19_in_ggg(T29, T149, 0))
U23_ggg(T29, T149, convertc19_out_ggg(T29, T149, 0)) → convertc1_out_ggg(.(0, T29), T149, 0)
convertc1_in_ggg(.(0, T29), 0, T187) → U24_ggg(T29, T187, convertc19_in_gga(T29, 0, s(T172)))
U24_ggg(T29, T187, convertc19_out_gga(T29, 0, s(T172))) → U25_ggg(T29, T187, timesc38_in_ggg(T172, 0, T187))
U25_ggg(T29, T187, timesc38_out_ggg(T172, 0, T187)) → convertc1_out_ggg(.(0, T29), 0, T187)
convertc1_in_ggg(.(0, T29), s(T203), s(T210)) → U26_ggg(T29, T203, T210, convertc19_in_gga(T29, s(T203), s(T172)))
U26_ggg(T29, T203, T210, convertc19_out_gga(T29, s(T203), s(T172))) → U27_ggg(T29, T203, T210, timesc38_in_gga(T172, s(T203), T197))
U27_ggg(T29, T203, T210, timesc38_out_gga(T172, s(T203), T197)) → U28_ggg(T29, T203, T210, plusc53_in_ggg(T203, T197, T210))
U28_ggg(T29, T203, T210, plusc53_out_ggg(T203, T197, T210)) → convertc1_out_ggg(.(0, T29), s(T203), s(T210))
convertc1_in_ggg(.(0, T29), s(T203), 0) → U29_ggg(T29, T203, convertc19_in_gga(T29, s(T203), s(T172)))
U29_ggg(T29, T203, convertc19_out_gga(T29, s(T203), s(T172))) → U30_ggg(T29, T203, timesc38_in_gga(T172, s(T203), T197))
U30_ggg(T29, T203, timesc38_out_gga(T172, s(T203), T197)) → U31_ggg(T29, T203, plusc53_in_ggg(T203, T197, 0))
U31_ggg(T29, T203, plusc53_out_ggg(T203, T197, 0)) → convertc1_out_ggg(.(0, T29), s(T203), 0)
convertc1_in_ggg(.(s(T243), T244), T220, s(T257)) → U32_ggg(T243, T244, T220, T257, convertc1_in_ggg(.(T243, T244), T220, T257))
convertc1_in_ggg(.(s(T243), T244), T220, 0) → U33_ggg(T243, T244, T220, convertc1_in_ggg(.(T243, T244), T220, 0))
U33_ggg(T243, T244, T220, convertc1_out_ggg(.(T243, T244), T220, 0)) → convertc1_out_ggg(.(s(T243), T244), T220, 0)
U32_ggg(T243, T244, T220, T257, convertc1_out_ggg(.(T243, T244), T220, T257)) → convertc1_out_ggg(.(s(T243), T244), T220, s(T257))
U19_ggg(T128, T129, T107, T142, convertc1_out_ggg(.(T128, T129), T107, T142)) → convertc19_out_ggg(.(s(T128), T129), T107, s(T142))
U23_gga(T29, T149, convertc19_out_ggg(T29, T149, 0)) → convertc1_out_gga(.(0, T29), T149, 0)
convertc1_in_gga(.(0, T29), 0, T187) → U24_gga(T29, T187, convertc19_in_gga(T29, 0, s(T172)))
U24_gga(T29, T187, convertc19_out_gga(T29, 0, s(T172))) → U25_gga(T29, T187, timesc38_in_gga(T172, 0, T187))
U25_gga(T29, T187, timesc38_out_gga(T172, 0, T187)) → convertc1_out_gga(.(0, T29), 0, T187)
convertc1_in_gga(.(0, T29), s(T203), s(T210)) → U26_gga(T29, T203, T210, convertc19_in_gga(T29, s(T203), s(T172)))
U26_gga(T29, T203, T210, convertc19_out_gga(T29, s(T203), s(T172))) → U27_gga(T29, T203, T210, timesc38_in_gga(T172, s(T203), T197))
U27_gga(T29, T203, T210, timesc38_out_gga(T172, s(T203), T197)) → U28_gga(T29, T203, T210, plusc53_in_gga(T203, T197, T210))
U28_gga(T29, T203, T210, plusc53_out_gga(T203, T197, T210)) → convertc1_out_gga(.(0, T29), s(T203), s(T210))
convertc1_in_gga(.(0, T29), s(T203), 0) → U29_gga(T29, T203, convertc19_in_gga(T29, s(T203), s(T172)))
U29_gga(T29, T203, convertc19_out_gga(T29, s(T203), s(T172))) → U30_gga(T29, T203, timesc38_in_gga(T172, s(T203), T197))
U30_gga(T29, T203, timesc38_out_gga(T172, s(T203), T197)) → U31_gga(T29, T203, plusc53_in_ggg(T203, T197, 0))
U31_gga(T29, T203, plusc53_out_ggg(T203, T197, 0)) → convertc1_out_gga(.(0, T29), s(T203), 0)
convertc1_in_gga(.(s(T243), T244), T220, s(T257)) → U32_gga(T243, T244, T220, T257, convertc1_in_gga(.(T243, T244), T220, T257))
convertc1_in_gga(.(s(T243), T244), T220, 0) → U33_gga(T243, T244, T220, convertc1_in_ggg(.(T243, T244), T220, 0))
U33_gga(T243, T244, T220, convertc1_out_ggg(.(T243, T244), T220, 0)) → convertc1_out_gga(.(s(T243), T244), T220, 0)
U32_gga(T243, T244, T220, T257, convertc1_out_gga(.(T243, T244), T220, T257)) → convertc1_out_gga(.(s(T243), T244), T220, s(T257))
U19_gga(T128, T129, T107, T142, convertc1_out_gga(.(T128, T129), T107, T142)) → convertc19_out_gga(.(s(T128), T129), T107, s(T142))
U17_gga(T52, T41, X82, convertc19_out_gga(T52, T41, T54)) → U18_gga(T52, T41, X82, timesc38_in_gga(T54, T41, X82))
U18_gga(T52, T41, X82, timesc38_out_gga(T54, T41, X82)) → convertc19_out_gga(.(0, T52), T41, X82)

The argument filtering Pi contains the following mapping:
.(x1, x2)  =  .(x1, x2)
0  =  0
convertc19_in_gga(x1, x2, x3)  =  convertc19_in_gga(x1, x2)
[]  =  []
convertc19_out_gga(x1, x2, x3)  =  convertc19_out_gga(x1, x2, x3)
U17_gga(x1, x2, x3, x4)  =  U17_gga(x1, x2, x4)
s(x1)  =  s(x1)
U19_gga(x1, x2, x3, x4, x5)  =  U19_gga(x1, x2, x3, x5)
convertc1_in_gga(x1, x2, x3)  =  convertc1_in_gga(x1, x2)
convertc1_out_gga(x1, x2, x3)  =  convertc1_out_gga(x1, x2, x3)
U23_gga(x1, x2, x3)  =  U23_gga(x1, x2, x3)
convertc19_in_ggg(x1, x2, x3)  =  convertc19_in_ggg(x1, x2, x3)
convertc19_out_ggg(x1, x2, x3)  =  convertc19_out_ggg(x1, x2, x3)
U17_ggg(x1, x2, x3, x4)  =  U17_ggg(x1, x2, x3, x4)
U18_ggg(x1, x2, x3, x4)  =  U18_ggg(x1, x2, x3, x4)
timesc38_in_ggg(x1, x2, x3)  =  timesc38_in_ggg(x1, x2, x3)
timesc38_out_ggg(x1, x2, x3)  =  timesc38_out_ggg(x1, x2, x3)
U20_ggg(x1, x2, x3, x4)  =  U20_ggg(x1, x2, x3, x4)
timesc38_in_gga(x1, x2, x3)  =  timesc38_in_gga(x1, x2)
timesc38_out_gga(x1, x2, x3)  =  timesc38_out_gga(x1, x2, x3)
U20_gga(x1, x2, x3, x4)  =  U20_gga(x1, x2, x4)
U21_gga(x1, x2, x3, x4)  =  U21_gga(x1, x2, x4)
plusc53_in_gga(x1, x2, x3)  =  plusc53_in_gga(x1, x2)
plusc53_out_gga(x1, x2, x3)  =  plusc53_out_gga(x1, x2, x3)
U22_gga(x1, x2, x3, x4)  =  U22_gga(x1, x2, x4)
U21_ggg(x1, x2, x3, x4)  =  U21_ggg(x1, x2, x3, x4)
plusc53_in_ggg(x1, x2, x3)  =  plusc53_in_ggg(x1, x2, x3)
plusc53_out_ggg(x1, x2, x3)  =  plusc53_out_ggg(x1, x2, x3)
U22_ggg(x1, x2, x3, x4)  =  U22_ggg(x1, x2, x3, x4)
U19_ggg(x1, x2, x3, x4, x5)  =  U19_ggg(x1, x2, x3, x4, x5)
convertc1_in_ggg(x1, x2, x3)  =  convertc1_in_ggg(x1, x2, x3)
convertc1_out_ggg(x1, x2, x3)  =  convertc1_out_ggg(x1, x2, x3)
U23_ggg(x1, x2, x3)  =  U23_ggg(x1, x2, x3)
U24_ggg(x1, x2, x3)  =  U24_ggg(x1, x2, x3)
U25_ggg(x1, x2, x3)  =  U25_ggg(x1, x2, x3)
U26_ggg(x1, x2, x3, x4)  =  U26_ggg(x1, x2, x3, x4)
U27_ggg(x1, x2, x3, x4)  =  U27_ggg(x1, x2, x3, x4)
U28_ggg(x1, x2, x3, x4)  =  U28_ggg(x1, x2, x3, x4)
U29_ggg(x1, x2, x3)  =  U29_ggg(x1, x2, x3)
U30_ggg(x1, x2, x3)  =  U30_ggg(x1, x2, x3)
U31_ggg(x1, x2, x3)  =  U31_ggg(x1, x2, x3)
U32_ggg(x1, x2, x3, x4, x5)  =  U32_ggg(x1, x2, x3, x4, x5)
U33_ggg(x1, x2, x3, x4)  =  U33_ggg(x1, x2, x3, x4)
U24_gga(x1, x2, x3)  =  U24_gga(x1, x3)
U25_gga(x1, x2, x3)  =  U25_gga(x1, x3)
U26_gga(x1, x2, x3, x4)  =  U26_gga(x1, x2, x4)
U27_gga(x1, x2, x3, x4)  =  U27_gga(x1, x2, x4)
U28_gga(x1, x2, x3, x4)  =  U28_gga(x1, x2, x4)
U29_gga(x1, x2, x3)  =  U29_gga(x1, x2, x3)
U30_gga(x1, x2, x3)  =  U30_gga(x1, x2, x3)
U31_gga(x1, x2, x3)  =  U31_gga(x1, x2, x3)
U32_gga(x1, x2, x3, x4, x5)  =  U32_gga(x1, x2, x3, x5)
U33_gga(x1, x2, x3, x4)  =  U33_gga(x1, x2, x3, x4)
U18_gga(x1, x2, x3, x4)  =  U18_gga(x1, x2, x4)
CONVERT1_IN_GGA(x1, x2, x3)  =  CONVERT1_IN_GGA(x1, x2)
CONVERT19_IN_GGA(x1, x2, x3)  =  CONVERT19_IN_GGA(x1, x2)

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

(22) UsableRulesProof (EQUIVALENT transformation)

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

(23) Obligation:

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

CONVERT1_IN_GGA(.(0, T29), T16, T18) → CONVERT19_IN_GGA(T29, T16, X22)
CONVERT19_IN_GGA(.(0, T52), T41, X82) → CONVERT19_IN_GGA(T52, T41, X81)
CONVERT19_IN_GGA(.(s(T128), T129), T107, X251) → CONVERT1_IN_GGA(.(T128, T129), T107, X250)
CONVERT1_IN_GGA(.(s(T243), T244), T220, T222) → CONVERT1_IN_GGA(.(T243, T244), T220, X460)

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

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

(24) PiDPToQDPProof (SOUND transformation)

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

(25) Obligation:

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

CONVERT1_IN_GGA(.(0, T29), T16) → CONVERT19_IN_GGA(T29, T16)
CONVERT19_IN_GGA(.(0, T52), T41) → CONVERT19_IN_GGA(T52, T41)
CONVERT19_IN_GGA(.(s(T128), T129), T107) → CONVERT1_IN_GGA(.(T128, T129), T107)
CONVERT1_IN_GGA(.(s(T243), T244), T220) → CONVERT1_IN_GGA(.(T243, T244), T220)

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

(26) UsableRulesReductionPairsProof (EQUIVALENT transformation)

By using the usable rules with reduction pair processor [LPAR04] with a polynomial ordering [POLO], all dependency pairs and the corresponding usable rules [FROCOS05] can be oriented non-strictly. All non-usable rules are removed, and those dependency pairs and usable rules that have been oriented strictly or contain non-usable symbols in their left-hand side are removed as well.

The following dependency pairs can be deleted:

CONVERT1_IN_GGA(.(0, T29), T16) → CONVERT19_IN_GGA(T29, T16)
CONVERT19_IN_GGA(.(0, T52), T41) → CONVERT19_IN_GGA(T52, T41)
CONVERT19_IN_GGA(.(s(T128), T129), T107) → CONVERT1_IN_GGA(.(T128, T129), T107)
CONVERT1_IN_GGA(.(s(T243), T244), T220) → CONVERT1_IN_GGA(.(T243, T244), T220)
No rules are removed from R.

Used ordering: POLO with Polynomial interpretation [POLO]:

POL(.(x1, x2)) = 1 + x1 + 2·x2   
POL(0) = 0   
POL(CONVERT19_IN_GGA(x1, x2)) = 2 + 2·x1 + x2   
POL(CONVERT1_IN_GGA(x1, x2)) = 2 + x1 + x2   
POL(s(x1)) = 2 + 2·x1   

(27) Obligation:

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

(28) PisEmptyProof (EQUIVALENT transformation)

The TRS P is empty. Hence, there is no (P,Q,R) chain.

(29) YES