(0) Obligation:

Clauses:

mult(X1, 0, 0).
mult(X, s(Y), Z) :- ','(mult(X, Y, W), sum(W, X, Z)).
sum(X, 0, X).
sum(X, s(Y), s(Z)) :- sum(X, Y, Z).

Queries:

mult(g,g,a).

(1) PrologToPrologProblemTransformerProof (SOUND transformation)

Built Prolog problem from termination graph.

(2) Obligation:

Clauses:

sum12(0, 0).
sum12(s(T23), s(T25)) :- sum12(T23, T25).
mult24(T41, 0, 0).
mult24(T46, s(T47), X86) :- mult24(T46, T47, X85).
mult24(T46, s(T47), X86) :- ','(mult24(T46, T47, T50), sum35(T50, T46, X86)).
sum35(T59, 0, T59).
sum35(T64, s(T65), s(X113)) :- sum35(T64, T65, X113).
sum45(T79, 0, T79).
sum45(T86, s(T87), s(T89)) :- sum45(T86, T87, T89).
mult1(T5, 0, 0).
mult1(T18, s(0), T13) :- sum12(T18, T13).
mult1(T30, s(s(T31)), T13) :- mult24(T30, T31, X58).
mult1(T30, s(s(T31)), T13) :- ','(mult24(T30, T31, T34), sum35(T34, T30, X59)).
mult1(T30, s(s(T31)), T13) :- ','(mult24(T30, T31, T34), ','(sum35(T34, T30, T70), sum45(T70, T30, T13))).

Queries:

mult1(g,g,a).

(3) PrologToPiTRSProof (SOUND transformation)

We use the technique of [LOPSTR]. With regard to the inferred argument filtering the predicates were used in the following modes:
mult1_in: (b,b,f)
sum12_in: (b,f)
mult24_in: (b,b,f)
sum35_in: (f,b,f)
sum45_in: (f,b,f)
Transforming Prolog into the following Term Rewriting System:
Pi-finite rewrite system:
The TRS R consists of the following rules:

mult1_in_gga(T5, 0, 0) → mult1_out_gga(T5, 0, 0)
mult1_in_gga(T18, s(0), T13) → U7_gga(T18, T13, sum12_in_ga(T18, T13))
sum12_in_ga(0, 0) → sum12_out_ga(0, 0)
sum12_in_ga(s(T23), s(T25)) → U1_ga(T23, T25, sum12_in_ga(T23, T25))
U1_ga(T23, T25, sum12_out_ga(T23, T25)) → sum12_out_ga(s(T23), s(T25))
U7_gga(T18, T13, sum12_out_ga(T18, T13)) → mult1_out_gga(T18, s(0), T13)
mult1_in_gga(T30, s(s(T31)), T13) → U8_gga(T30, T31, T13, mult24_in_gga(T30, T31, X58))
mult24_in_gga(T41, 0, 0) → mult24_out_gga(T41, 0, 0)
mult24_in_gga(T46, s(T47), X86) → U2_gga(T46, T47, X86, mult24_in_gga(T46, T47, X85))
mult24_in_gga(T46, s(T47), X86) → U3_gga(T46, T47, X86, mult24_in_gga(T46, T47, T50))
U3_gga(T46, T47, X86, mult24_out_gga(T46, T47, T50)) → U4_gga(T46, T47, X86, sum35_in_aga(T50, T46, X86))
sum35_in_aga(T59, 0, T59) → sum35_out_aga(T59, 0, T59)
sum35_in_aga(T64, s(T65), s(X113)) → U5_aga(T64, T65, X113, sum35_in_aga(T64, T65, X113))
U5_aga(T64, T65, X113, sum35_out_aga(T64, T65, X113)) → sum35_out_aga(T64, s(T65), s(X113))
U4_gga(T46, T47, X86, sum35_out_aga(T50, T46, X86)) → mult24_out_gga(T46, s(T47), X86)
U2_gga(T46, T47, X86, mult24_out_gga(T46, T47, X85)) → mult24_out_gga(T46, s(T47), X86)
U8_gga(T30, T31, T13, mult24_out_gga(T30, T31, X58)) → mult1_out_gga(T30, s(s(T31)), T13)
mult1_in_gga(T30, s(s(T31)), T13) → U9_gga(T30, T31, T13, mult24_in_gga(T30, T31, T34))
U9_gga(T30, T31, T13, mult24_out_gga(T30, T31, T34)) → U10_gga(T30, T31, T13, sum35_in_aga(T34, T30, X59))
U10_gga(T30, T31, T13, sum35_out_aga(T34, T30, X59)) → mult1_out_gga(T30, s(s(T31)), T13)
U9_gga(T30, T31, T13, mult24_out_gga(T30, T31, T34)) → U11_gga(T30, T31, T13, sum35_in_aga(T34, T30, T70))
U11_gga(T30, T31, T13, sum35_out_aga(T34, T30, T70)) → U12_gga(T30, T31, T13, sum45_in_aga(T70, T30, T13))
sum45_in_aga(T79, 0, T79) → sum45_out_aga(T79, 0, T79)
sum45_in_aga(T86, s(T87), s(T89)) → U6_aga(T86, T87, T89, sum45_in_aga(T86, T87, T89))
U6_aga(T86, T87, T89, sum45_out_aga(T86, T87, T89)) → sum45_out_aga(T86, s(T87), s(T89))
U12_gga(T30, T31, T13, sum45_out_aga(T70, T30, T13)) → mult1_out_gga(T30, s(s(T31)), T13)

The argument filtering Pi contains the following mapping:
mult1_in_gga(x1, x2, x3)  =  mult1_in_gga(x1, x2)
0  =  0
mult1_out_gga(x1, x2, x3)  =  mult1_out_gga
s(x1)  =  s(x1)
U7_gga(x1, x2, x3)  =  U7_gga(x3)
sum12_in_ga(x1, x2)  =  sum12_in_ga(x1)
sum12_out_ga(x1, x2)  =  sum12_out_ga(x2)
U1_ga(x1, x2, x3)  =  U1_ga(x3)
U8_gga(x1, x2, x3, x4)  =  U8_gga(x4)
mult24_in_gga(x1, x2, x3)  =  mult24_in_gga(x1, x2)
mult24_out_gga(x1, x2, x3)  =  mult24_out_gga
U2_gga(x1, x2, x3, x4)  =  U2_gga(x4)
U3_gga(x1, x2, x3, x4)  =  U3_gga(x1, x4)
U4_gga(x1, x2, x3, x4)  =  U4_gga(x4)
sum35_in_aga(x1, x2, x3)  =  sum35_in_aga(x2)
sum35_out_aga(x1, x2, x3)  =  sum35_out_aga
U5_aga(x1, x2, x3, x4)  =  U5_aga(x4)
U9_gga(x1, x2, x3, x4)  =  U9_gga(x1, x4)
U10_gga(x1, x2, x3, x4)  =  U10_gga(x4)
U11_gga(x1, x2, x3, x4)  =  U11_gga(x1, x4)
U12_gga(x1, x2, x3, x4)  =  U12_gga(x4)
sum45_in_aga(x1, x2, x3)  =  sum45_in_aga(x2)
sum45_out_aga(x1, x2, x3)  =  sum45_out_aga
U6_aga(x1, x2, x3, x4)  =  U6_aga(x4)

Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog

(4) Obligation:

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

mult1_in_gga(T5, 0, 0) → mult1_out_gga(T5, 0, 0)
mult1_in_gga(T18, s(0), T13) → U7_gga(T18, T13, sum12_in_ga(T18, T13))
sum12_in_ga(0, 0) → sum12_out_ga(0, 0)
sum12_in_ga(s(T23), s(T25)) → U1_ga(T23, T25, sum12_in_ga(T23, T25))
U1_ga(T23, T25, sum12_out_ga(T23, T25)) → sum12_out_ga(s(T23), s(T25))
U7_gga(T18, T13, sum12_out_ga(T18, T13)) → mult1_out_gga(T18, s(0), T13)
mult1_in_gga(T30, s(s(T31)), T13) → U8_gga(T30, T31, T13, mult24_in_gga(T30, T31, X58))
mult24_in_gga(T41, 0, 0) → mult24_out_gga(T41, 0, 0)
mult24_in_gga(T46, s(T47), X86) → U2_gga(T46, T47, X86, mult24_in_gga(T46, T47, X85))
mult24_in_gga(T46, s(T47), X86) → U3_gga(T46, T47, X86, mult24_in_gga(T46, T47, T50))
U3_gga(T46, T47, X86, mult24_out_gga(T46, T47, T50)) → U4_gga(T46, T47, X86, sum35_in_aga(T50, T46, X86))
sum35_in_aga(T59, 0, T59) → sum35_out_aga(T59, 0, T59)
sum35_in_aga(T64, s(T65), s(X113)) → U5_aga(T64, T65, X113, sum35_in_aga(T64, T65, X113))
U5_aga(T64, T65, X113, sum35_out_aga(T64, T65, X113)) → sum35_out_aga(T64, s(T65), s(X113))
U4_gga(T46, T47, X86, sum35_out_aga(T50, T46, X86)) → mult24_out_gga(T46, s(T47), X86)
U2_gga(T46, T47, X86, mult24_out_gga(T46, T47, X85)) → mult24_out_gga(T46, s(T47), X86)
U8_gga(T30, T31, T13, mult24_out_gga(T30, T31, X58)) → mult1_out_gga(T30, s(s(T31)), T13)
mult1_in_gga(T30, s(s(T31)), T13) → U9_gga(T30, T31, T13, mult24_in_gga(T30, T31, T34))
U9_gga(T30, T31, T13, mult24_out_gga(T30, T31, T34)) → U10_gga(T30, T31, T13, sum35_in_aga(T34, T30, X59))
U10_gga(T30, T31, T13, sum35_out_aga(T34, T30, X59)) → mult1_out_gga(T30, s(s(T31)), T13)
U9_gga(T30, T31, T13, mult24_out_gga(T30, T31, T34)) → U11_gga(T30, T31, T13, sum35_in_aga(T34, T30, T70))
U11_gga(T30, T31, T13, sum35_out_aga(T34, T30, T70)) → U12_gga(T30, T31, T13, sum45_in_aga(T70, T30, T13))
sum45_in_aga(T79, 0, T79) → sum45_out_aga(T79, 0, T79)
sum45_in_aga(T86, s(T87), s(T89)) → U6_aga(T86, T87, T89, sum45_in_aga(T86, T87, T89))
U6_aga(T86, T87, T89, sum45_out_aga(T86, T87, T89)) → sum45_out_aga(T86, s(T87), s(T89))
U12_gga(T30, T31, T13, sum45_out_aga(T70, T30, T13)) → mult1_out_gga(T30, s(s(T31)), T13)

The argument filtering Pi contains the following mapping:
mult1_in_gga(x1, x2, x3)  =  mult1_in_gga(x1, x2)
0  =  0
mult1_out_gga(x1, x2, x3)  =  mult1_out_gga
s(x1)  =  s(x1)
U7_gga(x1, x2, x3)  =  U7_gga(x3)
sum12_in_ga(x1, x2)  =  sum12_in_ga(x1)
sum12_out_ga(x1, x2)  =  sum12_out_ga(x2)
U1_ga(x1, x2, x3)  =  U1_ga(x3)
U8_gga(x1, x2, x3, x4)  =  U8_gga(x4)
mult24_in_gga(x1, x2, x3)  =  mult24_in_gga(x1, x2)
mult24_out_gga(x1, x2, x3)  =  mult24_out_gga
U2_gga(x1, x2, x3, x4)  =  U2_gga(x4)
U3_gga(x1, x2, x3, x4)  =  U3_gga(x1, x4)
U4_gga(x1, x2, x3, x4)  =  U4_gga(x4)
sum35_in_aga(x1, x2, x3)  =  sum35_in_aga(x2)
sum35_out_aga(x1, x2, x3)  =  sum35_out_aga
U5_aga(x1, x2, x3, x4)  =  U5_aga(x4)
U9_gga(x1, x2, x3, x4)  =  U9_gga(x1, x4)
U10_gga(x1, x2, x3, x4)  =  U10_gga(x4)
U11_gga(x1, x2, x3, x4)  =  U11_gga(x1, x4)
U12_gga(x1, x2, x3, x4)  =  U12_gga(x4)
sum45_in_aga(x1, x2, x3)  =  sum45_in_aga(x2)
sum45_out_aga(x1, x2, x3)  =  sum45_out_aga
U6_aga(x1, x2, x3, x4)  =  U6_aga(x4)

(5) DependencyPairsProof (EQUIVALENT transformation)

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

MULT1_IN_GGA(T18, s(0), T13) → U7_GGA(T18, T13, sum12_in_ga(T18, T13))
MULT1_IN_GGA(T18, s(0), T13) → SUM12_IN_GA(T18, T13)
SUM12_IN_GA(s(T23), s(T25)) → U1_GA(T23, T25, sum12_in_ga(T23, T25))
SUM12_IN_GA(s(T23), s(T25)) → SUM12_IN_GA(T23, T25)
MULT1_IN_GGA(T30, s(s(T31)), T13) → U8_GGA(T30, T31, T13, mult24_in_gga(T30, T31, X58))
MULT1_IN_GGA(T30, s(s(T31)), T13) → MULT24_IN_GGA(T30, T31, X58)
MULT24_IN_GGA(T46, s(T47), X86) → U2_GGA(T46, T47, X86, mult24_in_gga(T46, T47, X85))
MULT24_IN_GGA(T46, s(T47), X86) → MULT24_IN_GGA(T46, T47, X85)
MULT24_IN_GGA(T46, s(T47), X86) → U3_GGA(T46, T47, X86, mult24_in_gga(T46, T47, T50))
U3_GGA(T46, T47, X86, mult24_out_gga(T46, T47, T50)) → U4_GGA(T46, T47, X86, sum35_in_aga(T50, T46, X86))
U3_GGA(T46, T47, X86, mult24_out_gga(T46, T47, T50)) → SUM35_IN_AGA(T50, T46, X86)
SUM35_IN_AGA(T64, s(T65), s(X113)) → U5_AGA(T64, T65, X113, sum35_in_aga(T64, T65, X113))
SUM35_IN_AGA(T64, s(T65), s(X113)) → SUM35_IN_AGA(T64, T65, X113)
MULT1_IN_GGA(T30, s(s(T31)), T13) → U9_GGA(T30, T31, T13, mult24_in_gga(T30, T31, T34))
U9_GGA(T30, T31, T13, mult24_out_gga(T30, T31, T34)) → U10_GGA(T30, T31, T13, sum35_in_aga(T34, T30, X59))
U9_GGA(T30, T31, T13, mult24_out_gga(T30, T31, T34)) → SUM35_IN_AGA(T34, T30, X59)
U9_GGA(T30, T31, T13, mult24_out_gga(T30, T31, T34)) → U11_GGA(T30, T31, T13, sum35_in_aga(T34, T30, T70))
U11_GGA(T30, T31, T13, sum35_out_aga(T34, T30, T70)) → U12_GGA(T30, T31, T13, sum45_in_aga(T70, T30, T13))
U11_GGA(T30, T31, T13, sum35_out_aga(T34, T30, T70)) → SUM45_IN_AGA(T70, T30, T13)
SUM45_IN_AGA(T86, s(T87), s(T89)) → U6_AGA(T86, T87, T89, sum45_in_aga(T86, T87, T89))
SUM45_IN_AGA(T86, s(T87), s(T89)) → SUM45_IN_AGA(T86, T87, T89)

The TRS R consists of the following rules:

mult1_in_gga(T5, 0, 0) → mult1_out_gga(T5, 0, 0)
mult1_in_gga(T18, s(0), T13) → U7_gga(T18, T13, sum12_in_ga(T18, T13))
sum12_in_ga(0, 0) → sum12_out_ga(0, 0)
sum12_in_ga(s(T23), s(T25)) → U1_ga(T23, T25, sum12_in_ga(T23, T25))
U1_ga(T23, T25, sum12_out_ga(T23, T25)) → sum12_out_ga(s(T23), s(T25))
U7_gga(T18, T13, sum12_out_ga(T18, T13)) → mult1_out_gga(T18, s(0), T13)
mult1_in_gga(T30, s(s(T31)), T13) → U8_gga(T30, T31, T13, mult24_in_gga(T30, T31, X58))
mult24_in_gga(T41, 0, 0) → mult24_out_gga(T41, 0, 0)
mult24_in_gga(T46, s(T47), X86) → U2_gga(T46, T47, X86, mult24_in_gga(T46, T47, X85))
mult24_in_gga(T46, s(T47), X86) → U3_gga(T46, T47, X86, mult24_in_gga(T46, T47, T50))
U3_gga(T46, T47, X86, mult24_out_gga(T46, T47, T50)) → U4_gga(T46, T47, X86, sum35_in_aga(T50, T46, X86))
sum35_in_aga(T59, 0, T59) → sum35_out_aga(T59, 0, T59)
sum35_in_aga(T64, s(T65), s(X113)) → U5_aga(T64, T65, X113, sum35_in_aga(T64, T65, X113))
U5_aga(T64, T65, X113, sum35_out_aga(T64, T65, X113)) → sum35_out_aga(T64, s(T65), s(X113))
U4_gga(T46, T47, X86, sum35_out_aga(T50, T46, X86)) → mult24_out_gga(T46, s(T47), X86)
U2_gga(T46, T47, X86, mult24_out_gga(T46, T47, X85)) → mult24_out_gga(T46, s(T47), X86)
U8_gga(T30, T31, T13, mult24_out_gga(T30, T31, X58)) → mult1_out_gga(T30, s(s(T31)), T13)
mult1_in_gga(T30, s(s(T31)), T13) → U9_gga(T30, T31, T13, mult24_in_gga(T30, T31, T34))
U9_gga(T30, T31, T13, mult24_out_gga(T30, T31, T34)) → U10_gga(T30, T31, T13, sum35_in_aga(T34, T30, X59))
U10_gga(T30, T31, T13, sum35_out_aga(T34, T30, X59)) → mult1_out_gga(T30, s(s(T31)), T13)
U9_gga(T30, T31, T13, mult24_out_gga(T30, T31, T34)) → U11_gga(T30, T31, T13, sum35_in_aga(T34, T30, T70))
U11_gga(T30, T31, T13, sum35_out_aga(T34, T30, T70)) → U12_gga(T30, T31, T13, sum45_in_aga(T70, T30, T13))
sum45_in_aga(T79, 0, T79) → sum45_out_aga(T79, 0, T79)
sum45_in_aga(T86, s(T87), s(T89)) → U6_aga(T86, T87, T89, sum45_in_aga(T86, T87, T89))
U6_aga(T86, T87, T89, sum45_out_aga(T86, T87, T89)) → sum45_out_aga(T86, s(T87), s(T89))
U12_gga(T30, T31, T13, sum45_out_aga(T70, T30, T13)) → mult1_out_gga(T30, s(s(T31)), T13)

The argument filtering Pi contains the following mapping:
mult1_in_gga(x1, x2, x3)  =  mult1_in_gga(x1, x2)
0  =  0
mult1_out_gga(x1, x2, x3)  =  mult1_out_gga
s(x1)  =  s(x1)
U7_gga(x1, x2, x3)  =  U7_gga(x3)
sum12_in_ga(x1, x2)  =  sum12_in_ga(x1)
sum12_out_ga(x1, x2)  =  sum12_out_ga(x2)
U1_ga(x1, x2, x3)  =  U1_ga(x3)
U8_gga(x1, x2, x3, x4)  =  U8_gga(x4)
mult24_in_gga(x1, x2, x3)  =  mult24_in_gga(x1, x2)
mult24_out_gga(x1, x2, x3)  =  mult24_out_gga
U2_gga(x1, x2, x3, x4)  =  U2_gga(x4)
U3_gga(x1, x2, x3, x4)  =  U3_gga(x1, x4)
U4_gga(x1, x2, x3, x4)  =  U4_gga(x4)
sum35_in_aga(x1, x2, x3)  =  sum35_in_aga(x2)
sum35_out_aga(x1, x2, x3)  =  sum35_out_aga
U5_aga(x1, x2, x3, x4)  =  U5_aga(x4)
U9_gga(x1, x2, x3, x4)  =  U9_gga(x1, x4)
U10_gga(x1, x2, x3, x4)  =  U10_gga(x4)
U11_gga(x1, x2, x3, x4)  =  U11_gga(x1, x4)
U12_gga(x1, x2, x3, x4)  =  U12_gga(x4)
sum45_in_aga(x1, x2, x3)  =  sum45_in_aga(x2)
sum45_out_aga(x1, x2, x3)  =  sum45_out_aga
U6_aga(x1, x2, x3, x4)  =  U6_aga(x4)
MULT1_IN_GGA(x1, x2, x3)  =  MULT1_IN_GGA(x1, x2)
U7_GGA(x1, x2, x3)  =  U7_GGA(x3)
SUM12_IN_GA(x1, x2)  =  SUM12_IN_GA(x1)
U1_GA(x1, x2, x3)  =  U1_GA(x3)
U8_GGA(x1, x2, x3, x4)  =  U8_GGA(x4)
MULT24_IN_GGA(x1, x2, x3)  =  MULT24_IN_GGA(x1, x2)
U2_GGA(x1, x2, x3, x4)  =  U2_GGA(x4)
U3_GGA(x1, x2, x3, x4)  =  U3_GGA(x1, x4)
U4_GGA(x1, x2, x3, x4)  =  U4_GGA(x4)
SUM35_IN_AGA(x1, x2, x3)  =  SUM35_IN_AGA(x2)
U5_AGA(x1, x2, x3, x4)  =  U5_AGA(x4)
U9_GGA(x1, x2, x3, x4)  =  U9_GGA(x1, x4)
U10_GGA(x1, x2, x3, x4)  =  U10_GGA(x4)
U11_GGA(x1, x2, x3, x4)  =  U11_GGA(x1, x4)
U12_GGA(x1, x2, x3, x4)  =  U12_GGA(x4)
SUM45_IN_AGA(x1, x2, x3)  =  SUM45_IN_AGA(x2)
U6_AGA(x1, x2, x3, x4)  =  U6_AGA(x4)

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

(6) Obligation:

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

MULT1_IN_GGA(T18, s(0), T13) → U7_GGA(T18, T13, sum12_in_ga(T18, T13))
MULT1_IN_GGA(T18, s(0), T13) → SUM12_IN_GA(T18, T13)
SUM12_IN_GA(s(T23), s(T25)) → U1_GA(T23, T25, sum12_in_ga(T23, T25))
SUM12_IN_GA(s(T23), s(T25)) → SUM12_IN_GA(T23, T25)
MULT1_IN_GGA(T30, s(s(T31)), T13) → U8_GGA(T30, T31, T13, mult24_in_gga(T30, T31, X58))
MULT1_IN_GGA(T30, s(s(T31)), T13) → MULT24_IN_GGA(T30, T31, X58)
MULT24_IN_GGA(T46, s(T47), X86) → U2_GGA(T46, T47, X86, mult24_in_gga(T46, T47, X85))
MULT24_IN_GGA(T46, s(T47), X86) → MULT24_IN_GGA(T46, T47, X85)
MULT24_IN_GGA(T46, s(T47), X86) → U3_GGA(T46, T47, X86, mult24_in_gga(T46, T47, T50))
U3_GGA(T46, T47, X86, mult24_out_gga(T46, T47, T50)) → U4_GGA(T46, T47, X86, sum35_in_aga(T50, T46, X86))
U3_GGA(T46, T47, X86, mult24_out_gga(T46, T47, T50)) → SUM35_IN_AGA(T50, T46, X86)
SUM35_IN_AGA(T64, s(T65), s(X113)) → U5_AGA(T64, T65, X113, sum35_in_aga(T64, T65, X113))
SUM35_IN_AGA(T64, s(T65), s(X113)) → SUM35_IN_AGA(T64, T65, X113)
MULT1_IN_GGA(T30, s(s(T31)), T13) → U9_GGA(T30, T31, T13, mult24_in_gga(T30, T31, T34))
U9_GGA(T30, T31, T13, mult24_out_gga(T30, T31, T34)) → U10_GGA(T30, T31, T13, sum35_in_aga(T34, T30, X59))
U9_GGA(T30, T31, T13, mult24_out_gga(T30, T31, T34)) → SUM35_IN_AGA(T34, T30, X59)
U9_GGA(T30, T31, T13, mult24_out_gga(T30, T31, T34)) → U11_GGA(T30, T31, T13, sum35_in_aga(T34, T30, T70))
U11_GGA(T30, T31, T13, sum35_out_aga(T34, T30, T70)) → U12_GGA(T30, T31, T13, sum45_in_aga(T70, T30, T13))
U11_GGA(T30, T31, T13, sum35_out_aga(T34, T30, T70)) → SUM45_IN_AGA(T70, T30, T13)
SUM45_IN_AGA(T86, s(T87), s(T89)) → U6_AGA(T86, T87, T89, sum45_in_aga(T86, T87, T89))
SUM45_IN_AGA(T86, s(T87), s(T89)) → SUM45_IN_AGA(T86, T87, T89)

The TRS R consists of the following rules:

mult1_in_gga(T5, 0, 0) → mult1_out_gga(T5, 0, 0)
mult1_in_gga(T18, s(0), T13) → U7_gga(T18, T13, sum12_in_ga(T18, T13))
sum12_in_ga(0, 0) → sum12_out_ga(0, 0)
sum12_in_ga(s(T23), s(T25)) → U1_ga(T23, T25, sum12_in_ga(T23, T25))
U1_ga(T23, T25, sum12_out_ga(T23, T25)) → sum12_out_ga(s(T23), s(T25))
U7_gga(T18, T13, sum12_out_ga(T18, T13)) → mult1_out_gga(T18, s(0), T13)
mult1_in_gga(T30, s(s(T31)), T13) → U8_gga(T30, T31, T13, mult24_in_gga(T30, T31, X58))
mult24_in_gga(T41, 0, 0) → mult24_out_gga(T41, 0, 0)
mult24_in_gga(T46, s(T47), X86) → U2_gga(T46, T47, X86, mult24_in_gga(T46, T47, X85))
mult24_in_gga(T46, s(T47), X86) → U3_gga(T46, T47, X86, mult24_in_gga(T46, T47, T50))
U3_gga(T46, T47, X86, mult24_out_gga(T46, T47, T50)) → U4_gga(T46, T47, X86, sum35_in_aga(T50, T46, X86))
sum35_in_aga(T59, 0, T59) → sum35_out_aga(T59, 0, T59)
sum35_in_aga(T64, s(T65), s(X113)) → U5_aga(T64, T65, X113, sum35_in_aga(T64, T65, X113))
U5_aga(T64, T65, X113, sum35_out_aga(T64, T65, X113)) → sum35_out_aga(T64, s(T65), s(X113))
U4_gga(T46, T47, X86, sum35_out_aga(T50, T46, X86)) → mult24_out_gga(T46, s(T47), X86)
U2_gga(T46, T47, X86, mult24_out_gga(T46, T47, X85)) → mult24_out_gga(T46, s(T47), X86)
U8_gga(T30, T31, T13, mult24_out_gga(T30, T31, X58)) → mult1_out_gga(T30, s(s(T31)), T13)
mult1_in_gga(T30, s(s(T31)), T13) → U9_gga(T30, T31, T13, mult24_in_gga(T30, T31, T34))
U9_gga(T30, T31, T13, mult24_out_gga(T30, T31, T34)) → U10_gga(T30, T31, T13, sum35_in_aga(T34, T30, X59))
U10_gga(T30, T31, T13, sum35_out_aga(T34, T30, X59)) → mult1_out_gga(T30, s(s(T31)), T13)
U9_gga(T30, T31, T13, mult24_out_gga(T30, T31, T34)) → U11_gga(T30, T31, T13, sum35_in_aga(T34, T30, T70))
U11_gga(T30, T31, T13, sum35_out_aga(T34, T30, T70)) → U12_gga(T30, T31, T13, sum45_in_aga(T70, T30, T13))
sum45_in_aga(T79, 0, T79) → sum45_out_aga(T79, 0, T79)
sum45_in_aga(T86, s(T87), s(T89)) → U6_aga(T86, T87, T89, sum45_in_aga(T86, T87, T89))
U6_aga(T86, T87, T89, sum45_out_aga(T86, T87, T89)) → sum45_out_aga(T86, s(T87), s(T89))
U12_gga(T30, T31, T13, sum45_out_aga(T70, T30, T13)) → mult1_out_gga(T30, s(s(T31)), T13)

The argument filtering Pi contains the following mapping:
mult1_in_gga(x1, x2, x3)  =  mult1_in_gga(x1, x2)
0  =  0
mult1_out_gga(x1, x2, x3)  =  mult1_out_gga
s(x1)  =  s(x1)
U7_gga(x1, x2, x3)  =  U7_gga(x3)
sum12_in_ga(x1, x2)  =  sum12_in_ga(x1)
sum12_out_ga(x1, x2)  =  sum12_out_ga(x2)
U1_ga(x1, x2, x3)  =  U1_ga(x3)
U8_gga(x1, x2, x3, x4)  =  U8_gga(x4)
mult24_in_gga(x1, x2, x3)  =  mult24_in_gga(x1, x2)
mult24_out_gga(x1, x2, x3)  =  mult24_out_gga
U2_gga(x1, x2, x3, x4)  =  U2_gga(x4)
U3_gga(x1, x2, x3, x4)  =  U3_gga(x1, x4)
U4_gga(x1, x2, x3, x4)  =  U4_gga(x4)
sum35_in_aga(x1, x2, x3)  =  sum35_in_aga(x2)
sum35_out_aga(x1, x2, x3)  =  sum35_out_aga
U5_aga(x1, x2, x3, x4)  =  U5_aga(x4)
U9_gga(x1, x2, x3, x4)  =  U9_gga(x1, x4)
U10_gga(x1, x2, x3, x4)  =  U10_gga(x4)
U11_gga(x1, x2, x3, x4)  =  U11_gga(x1, x4)
U12_gga(x1, x2, x3, x4)  =  U12_gga(x4)
sum45_in_aga(x1, x2, x3)  =  sum45_in_aga(x2)
sum45_out_aga(x1, x2, x3)  =  sum45_out_aga
U6_aga(x1, x2, x3, x4)  =  U6_aga(x4)
MULT1_IN_GGA(x1, x2, x3)  =  MULT1_IN_GGA(x1, x2)
U7_GGA(x1, x2, x3)  =  U7_GGA(x3)
SUM12_IN_GA(x1, x2)  =  SUM12_IN_GA(x1)
U1_GA(x1, x2, x3)  =  U1_GA(x3)
U8_GGA(x1, x2, x3, x4)  =  U8_GGA(x4)
MULT24_IN_GGA(x1, x2, x3)  =  MULT24_IN_GGA(x1, x2)
U2_GGA(x1, x2, x3, x4)  =  U2_GGA(x4)
U3_GGA(x1, x2, x3, x4)  =  U3_GGA(x1, x4)
U4_GGA(x1, x2, x3, x4)  =  U4_GGA(x4)
SUM35_IN_AGA(x1, x2, x3)  =  SUM35_IN_AGA(x2)
U5_AGA(x1, x2, x3, x4)  =  U5_AGA(x4)
U9_GGA(x1, x2, x3, x4)  =  U9_GGA(x1, x4)
U10_GGA(x1, x2, x3, x4)  =  U10_GGA(x4)
U11_GGA(x1, x2, x3, x4)  =  U11_GGA(x1, x4)
U12_GGA(x1, x2, x3, x4)  =  U12_GGA(x4)
SUM45_IN_AGA(x1, x2, x3)  =  SUM45_IN_AGA(x2)
U6_AGA(x1, x2, x3, x4)  =  U6_AGA(x4)

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

(7) DependencyGraphProof (EQUIVALENT transformation)

The approximation of the Dependency Graph [LOPSTR] contains 4 SCCs with 17 less nodes.

(8) Complex Obligation (AND)

(9) Obligation:

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

SUM45_IN_AGA(T86, s(T87), s(T89)) → SUM45_IN_AGA(T86, T87, T89)

The TRS R consists of the following rules:

mult1_in_gga(T5, 0, 0) → mult1_out_gga(T5, 0, 0)
mult1_in_gga(T18, s(0), T13) → U7_gga(T18, T13, sum12_in_ga(T18, T13))
sum12_in_ga(0, 0) → sum12_out_ga(0, 0)
sum12_in_ga(s(T23), s(T25)) → U1_ga(T23, T25, sum12_in_ga(T23, T25))
U1_ga(T23, T25, sum12_out_ga(T23, T25)) → sum12_out_ga(s(T23), s(T25))
U7_gga(T18, T13, sum12_out_ga(T18, T13)) → mult1_out_gga(T18, s(0), T13)
mult1_in_gga(T30, s(s(T31)), T13) → U8_gga(T30, T31, T13, mult24_in_gga(T30, T31, X58))
mult24_in_gga(T41, 0, 0) → mult24_out_gga(T41, 0, 0)
mult24_in_gga(T46, s(T47), X86) → U2_gga(T46, T47, X86, mult24_in_gga(T46, T47, X85))
mult24_in_gga(T46, s(T47), X86) → U3_gga(T46, T47, X86, mult24_in_gga(T46, T47, T50))
U3_gga(T46, T47, X86, mult24_out_gga(T46, T47, T50)) → U4_gga(T46, T47, X86, sum35_in_aga(T50, T46, X86))
sum35_in_aga(T59, 0, T59) → sum35_out_aga(T59, 0, T59)
sum35_in_aga(T64, s(T65), s(X113)) → U5_aga(T64, T65, X113, sum35_in_aga(T64, T65, X113))
U5_aga(T64, T65, X113, sum35_out_aga(T64, T65, X113)) → sum35_out_aga(T64, s(T65), s(X113))
U4_gga(T46, T47, X86, sum35_out_aga(T50, T46, X86)) → mult24_out_gga(T46, s(T47), X86)
U2_gga(T46, T47, X86, mult24_out_gga(T46, T47, X85)) → mult24_out_gga(T46, s(T47), X86)
U8_gga(T30, T31, T13, mult24_out_gga(T30, T31, X58)) → mult1_out_gga(T30, s(s(T31)), T13)
mult1_in_gga(T30, s(s(T31)), T13) → U9_gga(T30, T31, T13, mult24_in_gga(T30, T31, T34))
U9_gga(T30, T31, T13, mult24_out_gga(T30, T31, T34)) → U10_gga(T30, T31, T13, sum35_in_aga(T34, T30, X59))
U10_gga(T30, T31, T13, sum35_out_aga(T34, T30, X59)) → mult1_out_gga(T30, s(s(T31)), T13)
U9_gga(T30, T31, T13, mult24_out_gga(T30, T31, T34)) → U11_gga(T30, T31, T13, sum35_in_aga(T34, T30, T70))
U11_gga(T30, T31, T13, sum35_out_aga(T34, T30, T70)) → U12_gga(T30, T31, T13, sum45_in_aga(T70, T30, T13))
sum45_in_aga(T79, 0, T79) → sum45_out_aga(T79, 0, T79)
sum45_in_aga(T86, s(T87), s(T89)) → U6_aga(T86, T87, T89, sum45_in_aga(T86, T87, T89))
U6_aga(T86, T87, T89, sum45_out_aga(T86, T87, T89)) → sum45_out_aga(T86, s(T87), s(T89))
U12_gga(T30, T31, T13, sum45_out_aga(T70, T30, T13)) → mult1_out_gga(T30, s(s(T31)), T13)

The argument filtering Pi contains the following mapping:
mult1_in_gga(x1, x2, x3)  =  mult1_in_gga(x1, x2)
0  =  0
mult1_out_gga(x1, x2, x3)  =  mult1_out_gga
s(x1)  =  s(x1)
U7_gga(x1, x2, x3)  =  U7_gga(x3)
sum12_in_ga(x1, x2)  =  sum12_in_ga(x1)
sum12_out_ga(x1, x2)  =  sum12_out_ga(x2)
U1_ga(x1, x2, x3)  =  U1_ga(x3)
U8_gga(x1, x2, x3, x4)  =  U8_gga(x4)
mult24_in_gga(x1, x2, x3)  =  mult24_in_gga(x1, x2)
mult24_out_gga(x1, x2, x3)  =  mult24_out_gga
U2_gga(x1, x2, x3, x4)  =  U2_gga(x4)
U3_gga(x1, x2, x3, x4)  =  U3_gga(x1, x4)
U4_gga(x1, x2, x3, x4)  =  U4_gga(x4)
sum35_in_aga(x1, x2, x3)  =  sum35_in_aga(x2)
sum35_out_aga(x1, x2, x3)  =  sum35_out_aga
U5_aga(x1, x2, x3, x4)  =  U5_aga(x4)
U9_gga(x1, x2, x3, x4)  =  U9_gga(x1, x4)
U10_gga(x1, x2, x3, x4)  =  U10_gga(x4)
U11_gga(x1, x2, x3, x4)  =  U11_gga(x1, x4)
U12_gga(x1, x2, x3, x4)  =  U12_gga(x4)
sum45_in_aga(x1, x2, x3)  =  sum45_in_aga(x2)
sum45_out_aga(x1, x2, x3)  =  sum45_out_aga
U6_aga(x1, x2, x3, x4)  =  U6_aga(x4)
SUM45_IN_AGA(x1, x2, x3)  =  SUM45_IN_AGA(x2)

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:

SUM45_IN_AGA(T86, s(T87), s(T89)) → SUM45_IN_AGA(T86, T87, T89)

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

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:

SUM45_IN_AGA(s(T87)) → SUM45_IN_AGA(T87)

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:

  • SUM45_IN_AGA(s(T87)) → SUM45_IN_AGA(T87)
    The graph contains the following edges 1 > 1

(15) YES

(16) Obligation:

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

SUM35_IN_AGA(T64, s(T65), s(X113)) → SUM35_IN_AGA(T64, T65, X113)

The TRS R consists of the following rules:

mult1_in_gga(T5, 0, 0) → mult1_out_gga(T5, 0, 0)
mult1_in_gga(T18, s(0), T13) → U7_gga(T18, T13, sum12_in_ga(T18, T13))
sum12_in_ga(0, 0) → sum12_out_ga(0, 0)
sum12_in_ga(s(T23), s(T25)) → U1_ga(T23, T25, sum12_in_ga(T23, T25))
U1_ga(T23, T25, sum12_out_ga(T23, T25)) → sum12_out_ga(s(T23), s(T25))
U7_gga(T18, T13, sum12_out_ga(T18, T13)) → mult1_out_gga(T18, s(0), T13)
mult1_in_gga(T30, s(s(T31)), T13) → U8_gga(T30, T31, T13, mult24_in_gga(T30, T31, X58))
mult24_in_gga(T41, 0, 0) → mult24_out_gga(T41, 0, 0)
mult24_in_gga(T46, s(T47), X86) → U2_gga(T46, T47, X86, mult24_in_gga(T46, T47, X85))
mult24_in_gga(T46, s(T47), X86) → U3_gga(T46, T47, X86, mult24_in_gga(T46, T47, T50))
U3_gga(T46, T47, X86, mult24_out_gga(T46, T47, T50)) → U4_gga(T46, T47, X86, sum35_in_aga(T50, T46, X86))
sum35_in_aga(T59, 0, T59) → sum35_out_aga(T59, 0, T59)
sum35_in_aga(T64, s(T65), s(X113)) → U5_aga(T64, T65, X113, sum35_in_aga(T64, T65, X113))
U5_aga(T64, T65, X113, sum35_out_aga(T64, T65, X113)) → sum35_out_aga(T64, s(T65), s(X113))
U4_gga(T46, T47, X86, sum35_out_aga(T50, T46, X86)) → mult24_out_gga(T46, s(T47), X86)
U2_gga(T46, T47, X86, mult24_out_gga(T46, T47, X85)) → mult24_out_gga(T46, s(T47), X86)
U8_gga(T30, T31, T13, mult24_out_gga(T30, T31, X58)) → mult1_out_gga(T30, s(s(T31)), T13)
mult1_in_gga(T30, s(s(T31)), T13) → U9_gga(T30, T31, T13, mult24_in_gga(T30, T31, T34))
U9_gga(T30, T31, T13, mult24_out_gga(T30, T31, T34)) → U10_gga(T30, T31, T13, sum35_in_aga(T34, T30, X59))
U10_gga(T30, T31, T13, sum35_out_aga(T34, T30, X59)) → mult1_out_gga(T30, s(s(T31)), T13)
U9_gga(T30, T31, T13, mult24_out_gga(T30, T31, T34)) → U11_gga(T30, T31, T13, sum35_in_aga(T34, T30, T70))
U11_gga(T30, T31, T13, sum35_out_aga(T34, T30, T70)) → U12_gga(T30, T31, T13, sum45_in_aga(T70, T30, T13))
sum45_in_aga(T79, 0, T79) → sum45_out_aga(T79, 0, T79)
sum45_in_aga(T86, s(T87), s(T89)) → U6_aga(T86, T87, T89, sum45_in_aga(T86, T87, T89))
U6_aga(T86, T87, T89, sum45_out_aga(T86, T87, T89)) → sum45_out_aga(T86, s(T87), s(T89))
U12_gga(T30, T31, T13, sum45_out_aga(T70, T30, T13)) → mult1_out_gga(T30, s(s(T31)), T13)

The argument filtering Pi contains the following mapping:
mult1_in_gga(x1, x2, x3)  =  mult1_in_gga(x1, x2)
0  =  0
mult1_out_gga(x1, x2, x3)  =  mult1_out_gga
s(x1)  =  s(x1)
U7_gga(x1, x2, x3)  =  U7_gga(x3)
sum12_in_ga(x1, x2)  =  sum12_in_ga(x1)
sum12_out_ga(x1, x2)  =  sum12_out_ga(x2)
U1_ga(x1, x2, x3)  =  U1_ga(x3)
U8_gga(x1, x2, x3, x4)  =  U8_gga(x4)
mult24_in_gga(x1, x2, x3)  =  mult24_in_gga(x1, x2)
mult24_out_gga(x1, x2, x3)  =  mult24_out_gga
U2_gga(x1, x2, x3, x4)  =  U2_gga(x4)
U3_gga(x1, x2, x3, x4)  =  U3_gga(x1, x4)
U4_gga(x1, x2, x3, x4)  =  U4_gga(x4)
sum35_in_aga(x1, x2, x3)  =  sum35_in_aga(x2)
sum35_out_aga(x1, x2, x3)  =  sum35_out_aga
U5_aga(x1, x2, x3, x4)  =  U5_aga(x4)
U9_gga(x1, x2, x3, x4)  =  U9_gga(x1, x4)
U10_gga(x1, x2, x3, x4)  =  U10_gga(x4)
U11_gga(x1, x2, x3, x4)  =  U11_gga(x1, x4)
U12_gga(x1, x2, x3, x4)  =  U12_gga(x4)
sum45_in_aga(x1, x2, x3)  =  sum45_in_aga(x2)
sum45_out_aga(x1, x2, x3)  =  sum45_out_aga
U6_aga(x1, x2, x3, x4)  =  U6_aga(x4)
SUM35_IN_AGA(x1, x2, x3)  =  SUM35_IN_AGA(x2)

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

(17) UsableRulesProof (EQUIVALENT transformation)

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

(18) Obligation:

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

SUM35_IN_AGA(T64, s(T65), s(X113)) → SUM35_IN_AGA(T64, T65, X113)

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

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

(19) PiDPToQDPProof (SOUND transformation)

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

(20) Obligation:

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

SUM35_IN_AGA(s(T65)) → SUM35_IN_AGA(T65)

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:

  • SUM35_IN_AGA(s(T65)) → SUM35_IN_AGA(T65)
    The graph contains the following edges 1 > 1

(22) YES

(23) Obligation:

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

MULT24_IN_GGA(T46, s(T47), X86) → MULT24_IN_GGA(T46, T47, X85)

The TRS R consists of the following rules:

mult1_in_gga(T5, 0, 0) → mult1_out_gga(T5, 0, 0)
mult1_in_gga(T18, s(0), T13) → U7_gga(T18, T13, sum12_in_ga(T18, T13))
sum12_in_ga(0, 0) → sum12_out_ga(0, 0)
sum12_in_ga(s(T23), s(T25)) → U1_ga(T23, T25, sum12_in_ga(T23, T25))
U1_ga(T23, T25, sum12_out_ga(T23, T25)) → sum12_out_ga(s(T23), s(T25))
U7_gga(T18, T13, sum12_out_ga(T18, T13)) → mult1_out_gga(T18, s(0), T13)
mult1_in_gga(T30, s(s(T31)), T13) → U8_gga(T30, T31, T13, mult24_in_gga(T30, T31, X58))
mult24_in_gga(T41, 0, 0) → mult24_out_gga(T41, 0, 0)
mult24_in_gga(T46, s(T47), X86) → U2_gga(T46, T47, X86, mult24_in_gga(T46, T47, X85))
mult24_in_gga(T46, s(T47), X86) → U3_gga(T46, T47, X86, mult24_in_gga(T46, T47, T50))
U3_gga(T46, T47, X86, mult24_out_gga(T46, T47, T50)) → U4_gga(T46, T47, X86, sum35_in_aga(T50, T46, X86))
sum35_in_aga(T59, 0, T59) → sum35_out_aga(T59, 0, T59)
sum35_in_aga(T64, s(T65), s(X113)) → U5_aga(T64, T65, X113, sum35_in_aga(T64, T65, X113))
U5_aga(T64, T65, X113, sum35_out_aga(T64, T65, X113)) → sum35_out_aga(T64, s(T65), s(X113))
U4_gga(T46, T47, X86, sum35_out_aga(T50, T46, X86)) → mult24_out_gga(T46, s(T47), X86)
U2_gga(T46, T47, X86, mult24_out_gga(T46, T47, X85)) → mult24_out_gga(T46, s(T47), X86)
U8_gga(T30, T31, T13, mult24_out_gga(T30, T31, X58)) → mult1_out_gga(T30, s(s(T31)), T13)
mult1_in_gga(T30, s(s(T31)), T13) → U9_gga(T30, T31, T13, mult24_in_gga(T30, T31, T34))
U9_gga(T30, T31, T13, mult24_out_gga(T30, T31, T34)) → U10_gga(T30, T31, T13, sum35_in_aga(T34, T30, X59))
U10_gga(T30, T31, T13, sum35_out_aga(T34, T30, X59)) → mult1_out_gga(T30, s(s(T31)), T13)
U9_gga(T30, T31, T13, mult24_out_gga(T30, T31, T34)) → U11_gga(T30, T31, T13, sum35_in_aga(T34, T30, T70))
U11_gga(T30, T31, T13, sum35_out_aga(T34, T30, T70)) → U12_gga(T30, T31, T13, sum45_in_aga(T70, T30, T13))
sum45_in_aga(T79, 0, T79) → sum45_out_aga(T79, 0, T79)
sum45_in_aga(T86, s(T87), s(T89)) → U6_aga(T86, T87, T89, sum45_in_aga(T86, T87, T89))
U6_aga(T86, T87, T89, sum45_out_aga(T86, T87, T89)) → sum45_out_aga(T86, s(T87), s(T89))
U12_gga(T30, T31, T13, sum45_out_aga(T70, T30, T13)) → mult1_out_gga(T30, s(s(T31)), T13)

The argument filtering Pi contains the following mapping:
mult1_in_gga(x1, x2, x3)  =  mult1_in_gga(x1, x2)
0  =  0
mult1_out_gga(x1, x2, x3)  =  mult1_out_gga
s(x1)  =  s(x1)
U7_gga(x1, x2, x3)  =  U7_gga(x3)
sum12_in_ga(x1, x2)  =  sum12_in_ga(x1)
sum12_out_ga(x1, x2)  =  sum12_out_ga(x2)
U1_ga(x1, x2, x3)  =  U1_ga(x3)
U8_gga(x1, x2, x3, x4)  =  U8_gga(x4)
mult24_in_gga(x1, x2, x3)  =  mult24_in_gga(x1, x2)
mult24_out_gga(x1, x2, x3)  =  mult24_out_gga
U2_gga(x1, x2, x3, x4)  =  U2_gga(x4)
U3_gga(x1, x2, x3, x4)  =  U3_gga(x1, x4)
U4_gga(x1, x2, x3, x4)  =  U4_gga(x4)
sum35_in_aga(x1, x2, x3)  =  sum35_in_aga(x2)
sum35_out_aga(x1, x2, x3)  =  sum35_out_aga
U5_aga(x1, x2, x3, x4)  =  U5_aga(x4)
U9_gga(x1, x2, x3, x4)  =  U9_gga(x1, x4)
U10_gga(x1, x2, x3, x4)  =  U10_gga(x4)
U11_gga(x1, x2, x3, x4)  =  U11_gga(x1, x4)
U12_gga(x1, x2, x3, x4)  =  U12_gga(x4)
sum45_in_aga(x1, x2, x3)  =  sum45_in_aga(x2)
sum45_out_aga(x1, x2, x3)  =  sum45_out_aga
U6_aga(x1, x2, x3, x4)  =  U6_aga(x4)
MULT24_IN_GGA(x1, x2, x3)  =  MULT24_IN_GGA(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:

MULT24_IN_GGA(T46, s(T47), X86) → MULT24_IN_GGA(T46, T47, X85)

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

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

(26) PiDPToQDPProof (SOUND transformation)

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

(27) Obligation:

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

MULT24_IN_GGA(T46, s(T47)) → MULT24_IN_GGA(T46, T47)

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:

  • MULT24_IN_GGA(T46, s(T47)) → MULT24_IN_GGA(T46, T47)
    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:

SUM12_IN_GA(s(T23), s(T25)) → SUM12_IN_GA(T23, T25)

The TRS R consists of the following rules:

mult1_in_gga(T5, 0, 0) → mult1_out_gga(T5, 0, 0)
mult1_in_gga(T18, s(0), T13) → U7_gga(T18, T13, sum12_in_ga(T18, T13))
sum12_in_ga(0, 0) → sum12_out_ga(0, 0)
sum12_in_ga(s(T23), s(T25)) → U1_ga(T23, T25, sum12_in_ga(T23, T25))
U1_ga(T23, T25, sum12_out_ga(T23, T25)) → sum12_out_ga(s(T23), s(T25))
U7_gga(T18, T13, sum12_out_ga(T18, T13)) → mult1_out_gga(T18, s(0), T13)
mult1_in_gga(T30, s(s(T31)), T13) → U8_gga(T30, T31, T13, mult24_in_gga(T30, T31, X58))
mult24_in_gga(T41, 0, 0) → mult24_out_gga(T41, 0, 0)
mult24_in_gga(T46, s(T47), X86) → U2_gga(T46, T47, X86, mult24_in_gga(T46, T47, X85))
mult24_in_gga(T46, s(T47), X86) → U3_gga(T46, T47, X86, mult24_in_gga(T46, T47, T50))
U3_gga(T46, T47, X86, mult24_out_gga(T46, T47, T50)) → U4_gga(T46, T47, X86, sum35_in_aga(T50, T46, X86))
sum35_in_aga(T59, 0, T59) → sum35_out_aga(T59, 0, T59)
sum35_in_aga(T64, s(T65), s(X113)) → U5_aga(T64, T65, X113, sum35_in_aga(T64, T65, X113))
U5_aga(T64, T65, X113, sum35_out_aga(T64, T65, X113)) → sum35_out_aga(T64, s(T65), s(X113))
U4_gga(T46, T47, X86, sum35_out_aga(T50, T46, X86)) → mult24_out_gga(T46, s(T47), X86)
U2_gga(T46, T47, X86, mult24_out_gga(T46, T47, X85)) → mult24_out_gga(T46, s(T47), X86)
U8_gga(T30, T31, T13, mult24_out_gga(T30, T31, X58)) → mult1_out_gga(T30, s(s(T31)), T13)
mult1_in_gga(T30, s(s(T31)), T13) → U9_gga(T30, T31, T13, mult24_in_gga(T30, T31, T34))
U9_gga(T30, T31, T13, mult24_out_gga(T30, T31, T34)) → U10_gga(T30, T31, T13, sum35_in_aga(T34, T30, X59))
U10_gga(T30, T31, T13, sum35_out_aga(T34, T30, X59)) → mult1_out_gga(T30, s(s(T31)), T13)
U9_gga(T30, T31, T13, mult24_out_gga(T30, T31, T34)) → U11_gga(T30, T31, T13, sum35_in_aga(T34, T30, T70))
U11_gga(T30, T31, T13, sum35_out_aga(T34, T30, T70)) → U12_gga(T30, T31, T13, sum45_in_aga(T70, T30, T13))
sum45_in_aga(T79, 0, T79) → sum45_out_aga(T79, 0, T79)
sum45_in_aga(T86, s(T87), s(T89)) → U6_aga(T86, T87, T89, sum45_in_aga(T86, T87, T89))
U6_aga(T86, T87, T89, sum45_out_aga(T86, T87, T89)) → sum45_out_aga(T86, s(T87), s(T89))
U12_gga(T30, T31, T13, sum45_out_aga(T70, T30, T13)) → mult1_out_gga(T30, s(s(T31)), T13)

The argument filtering Pi contains the following mapping:
mult1_in_gga(x1, x2, x3)  =  mult1_in_gga(x1, x2)
0  =  0
mult1_out_gga(x1, x2, x3)  =  mult1_out_gga
s(x1)  =  s(x1)
U7_gga(x1, x2, x3)  =  U7_gga(x3)
sum12_in_ga(x1, x2)  =  sum12_in_ga(x1)
sum12_out_ga(x1, x2)  =  sum12_out_ga(x2)
U1_ga(x1, x2, x3)  =  U1_ga(x3)
U8_gga(x1, x2, x3, x4)  =  U8_gga(x4)
mult24_in_gga(x1, x2, x3)  =  mult24_in_gga(x1, x2)
mult24_out_gga(x1, x2, x3)  =  mult24_out_gga
U2_gga(x1, x2, x3, x4)  =  U2_gga(x4)
U3_gga(x1, x2, x3, x4)  =  U3_gga(x1, x4)
U4_gga(x1, x2, x3, x4)  =  U4_gga(x4)
sum35_in_aga(x1, x2, x3)  =  sum35_in_aga(x2)
sum35_out_aga(x1, x2, x3)  =  sum35_out_aga
U5_aga(x1, x2, x3, x4)  =  U5_aga(x4)
U9_gga(x1, x2, x3, x4)  =  U9_gga(x1, x4)
U10_gga(x1, x2, x3, x4)  =  U10_gga(x4)
U11_gga(x1, x2, x3, x4)  =  U11_gga(x1, x4)
U12_gga(x1, x2, x3, x4)  =  U12_gga(x4)
sum45_in_aga(x1, x2, x3)  =  sum45_in_aga(x2)
sum45_out_aga(x1, x2, x3)  =  sum45_out_aga
U6_aga(x1, x2, x3, x4)  =  U6_aga(x4)
SUM12_IN_GA(x1, x2)  =  SUM12_IN_GA(x1)

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:

SUM12_IN_GA(s(T23), s(T25)) → SUM12_IN_GA(T23, T25)

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

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:

SUM12_IN_GA(s(T23)) → SUM12_IN_GA(T23)

R is empty.
Q is empty.
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:

  • SUM12_IN_GA(s(T23)) → SUM12_IN_GA(T23)
    The graph contains the following edges 1 > 1

(36) YES