(0) Obligation:

Clauses:

even(0, true).
even(s(0), false).
even(s(s(X)), B) :- even(X, B).
half(0, 0).
half(s(s(X)), s(Y)) :- half(X, Y).
plus(0, Y, Y).
plus(s(X), Y, s(Z)) :- plus(X, Y, Z).
times(0, Y, 0).
times(s(X), Y, Z) :- ','(even(s(X), B), if(B, s(X), Y, Z)).
if(true, s(X), Y, Z) :- ','(half(s(X), X1), ','(times(X1, Y, Y1), plus(Y1, Y1, Z))).
if(false, s(X), Y, Z) :- ','(times(X, Y, U), plus(Y, U, Z)).

Queries:

times(g,g,a).

(1) PrologToPrologProblemTransformerProof (SOUND transformation)

Built Prolog problem from termination graph.

(2) Obligation:

Clauses:

plus19(0, T42, T42).
plus19(s(T49), T50, s(T52)) :- plus19(T49, T50, T52).
even36(0, true).
even36(s(0), false).
even36(s(s(T61)), X101) :- even36(T61, X101).
half60(0, 0).
half60(s(s(T89)), s(X156)) :- half60(T89, X156).
times69(0, T99, 0).
times69(s(T104), T105, X182) :- even36(s(T104), X181).
times69(s(T117), T118, X217) :- ','(even36(s(T117), true), half60(s(T117), X215)).
times69(s(T117), T118, X217) :- ','(even36(s(T117), true), ','(half60(s(T117), T120), times69(T120, T118, X216))).
times69(s(T117), T118, 0) :- ','(even36(s(T117), true), ','(half60(s(T117), T120), times69(T120, T118, 0))).
times69(s(T117), T118, s(s(0))) :- ','(even36(s(T117), true), ','(half60(s(T117), T120), times69(T120, T118, s(0)))).
times69(s(T117), T118, s(s(s(s(0))))) :- ','(even36(s(T117), true), ','(half60(s(T117), T120), times69(T120, T118, s(s(0))))).
times69(s(T117), T118, s(s(s(s(s(s(0))))))) :- ','(even36(s(T117), true), ','(half60(s(T117), T120), times69(T120, T118, s(s(s(0)))))).
times69(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) :- ','(even36(s(T117), true), ','(half60(s(T117), T120), times69(T120, T118, s(s(s(s(0))))))).
times69(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) :- ','(even36(s(T117), true), ','(half60(s(T117), T120), times69(T120, T118, s(s(s(s(s(0)))))))).
times69(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) :- ','(even36(s(T117), true), ','(half60(s(T117), T120), times69(T120, T118, s(s(s(s(s(s(0))))))))).
times69(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) :- ','(even36(s(T117), true), ','(half60(s(T117), T120), times69(T120, T118, s(s(s(s(s(s(s(0)))))))))).
times69(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) :- ','(even36(s(T117), true), ','(half60(s(T117), T120), ','(times69(T120, T118, s(s(s(s(s(s(s(s(T150))))))))), plus154(T150, s(s(s(s(s(s(s(T150))))))), X411)))).
times69(s(T171), T172, X455) :- ','(even36(s(T171), false), times69(T171, T172, X454)).
times69(s(T171), T172, X455) :- ','(even36(s(T171), false), ','(times69(T171, T172, T175), plus166(T172, T175, X455))).
plus154(0, T158, s(T158)).
plus154(s(T163), T164, s(X436)) :- plus154(T163, T164, X436).
plus166(0, T184, T184).
plus166(s(T189), T190, s(X482)) :- plus166(T189, T190, X482).
times18(T35, 0).
half56(T86, s(X147)) :- half60(T86, X147).
times1(0, T5, 0).
times1(s(0), T23, T25) :- times18(T23, X45).
times1(s(0), T23, T25) :- ','(times18(T23, T29), plus19(T23, T29, T25)).
times1(s(s(T57)), T10, T12) :- even36(T57, X90).
times1(s(s(T77)), T78, T80) :- ','(even36(T77, true), half56(T77, X128)).
times1(s(s(T77)), T78, T80) :- ','(even36(T77, true), ','(half56(T77, T82), times69(T82, T78, X129))).
times1(s(s(T77)), T78, 0) :- ','(even36(T77, true), ','(half56(T77, T82), times69(T82, T78, 0))).
times1(s(s(T77)), T78, s(s(0))) :- ','(even36(T77, true), ','(half56(T77, T82), times69(T82, T78, s(0)))).
times1(s(s(T77)), T78, s(s(s(s(0))))) :- ','(even36(T77, true), ','(half56(T77, T82), times69(T82, T78, s(s(0))))).
times1(s(s(T77)), T78, s(s(s(s(s(s(0))))))) :- ','(even36(T77, true), ','(half56(T77, T82), times69(T82, T78, s(s(s(0)))))).
times1(s(s(T77)), T78, s(s(s(s(s(s(s(s(0))))))))) :- ','(even36(T77, true), ','(half56(T77, T82), times69(T82, T78, s(s(s(s(0))))))).
times1(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(0))))))))))) :- ','(even36(T77, true), ','(half56(T77, T82), times69(T82, T78, s(s(s(s(s(0)))))))).
times1(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) :- ','(even36(T77, true), ','(half56(T77, T82), times69(T82, T78, s(s(s(s(s(s(0))))))))).
times1(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) :- ','(even36(T77, true), ','(half56(T77, T82), times69(T82, T78, s(s(s(s(s(s(s(0)))))))))).
times1(s(s(T77)), T78, s(s(s(s(s(s(s(s(T248))))))))) :- ','(even36(T77, true), ','(half56(T77, T82), ','(times69(T82, T78, s(s(s(s(s(s(s(s(T246))))))))), plus19(T246, s(s(s(s(s(s(s(s(T246)))))))), T248)))).
times1(s(s(T258)), T259, T261) :- ','(even36(T258, false), times69(s(T258), T259, X662)).
times1(s(s(T258)), T259, T261) :- ','(even36(T258, false), ','(times69(s(T258), T259, T264), plus19(T259, T264, T261))).

Queries:

times1(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:
times1_in: (b,b,f)
plus19_in: (b,b,f) (f,f,f) (b,f,f)
even36_in: (b,f) (b,b)
half56_in: (b,f)
half60_in: (b,f)
times69_in: (b,b,f) (b,b,b)
plus166_in: (b,f,f) (b,f,b)
plus154_in: (f,f,f) (f,f,b)
Transforming Prolog into the following Term Rewriting System:
Pi-finite rewrite system:
The TRS R consists of the following rules:

times1_in_gga(0, T5, 0) → times1_out_gga(0, T5, 0)
times1_in_gga(s(0), T23, T25) → U44_gga(T23, T25, times18_in_ga(T23, X45))
times18_in_ga(T35, 0) → times18_out_ga(T35, 0)
U44_gga(T23, T25, times18_out_ga(T23, X45)) → times1_out_gga(s(0), T23, T25)
times1_in_gga(s(0), T23, T25) → U45_gga(T23, T25, times18_in_ga(T23, T29))
U45_gga(T23, T25, times18_out_ga(T23, T29)) → U46_gga(T23, T25, plus19_in_gga(T23, T29, T25))
plus19_in_gga(0, T42, T42) → plus19_out_gga(0, T42, T42)
plus19_in_gga(s(T49), T50, s(T52)) → U1_gga(T49, T50, T52, plus19_in_gga(T49, T50, T52))
U1_gga(T49, T50, T52, plus19_out_gga(T49, T50, T52)) → plus19_out_gga(s(T49), T50, s(T52))
U46_gga(T23, T25, plus19_out_gga(T23, T29, T25)) → times1_out_gga(s(0), T23, T25)
times1_in_gga(s(s(T57)), T10, T12) → U47_gga(T57, T10, T12, even36_in_ga(T57, X90))
even36_in_ga(0, true) → even36_out_ga(0, true)
even36_in_ga(s(0), false) → even36_out_ga(s(0), false)
even36_in_ga(s(s(T61)), X101) → U2_ga(T61, X101, even36_in_ga(T61, X101))
U2_ga(T61, X101, even36_out_ga(T61, X101)) → even36_out_ga(s(s(T61)), X101)
U47_gga(T57, T10, T12, even36_out_ga(T57, X90)) → times1_out_gga(s(s(T57)), T10, T12)
times1_in_gga(s(s(T77)), T78, T80) → U48_gga(T77, T78, T80, even36_in_gg(T77, true))
even36_in_gg(0, true) → even36_out_gg(0, true)
even36_in_gg(s(0), false) → even36_out_gg(s(0), false)
even36_in_gg(s(s(T61)), X101) → U2_gg(T61, X101, even36_in_gg(T61, X101))
U2_gg(T61, X101, even36_out_gg(T61, X101)) → even36_out_gg(s(s(T61)), X101)
U48_gga(T77, T78, T80, even36_out_gg(T77, true)) → U49_gga(T77, T78, T80, half56_in_ga(T77, X128))
half56_in_ga(T86, s(X147)) → U43_ga(T86, X147, half60_in_ga(T86, X147))
half60_in_ga(0, 0) → half60_out_ga(0, 0)
half60_in_ga(s(s(T89)), s(X156)) → U3_ga(T89, X156, half60_in_ga(T89, X156))
U3_ga(T89, X156, half60_out_ga(T89, X156)) → half60_out_ga(s(s(T89)), s(X156))
U43_ga(T86, X147, half60_out_ga(T86, X147)) → half56_out_ga(T86, s(X147))
U49_gga(T77, T78, T80, half56_out_ga(T77, X128)) → times1_out_gga(s(s(T77)), T78, T80)
U48_gga(T77, T78, T80, even36_out_gg(T77, true)) → U50_gga(T77, T78, T80, half56_in_ga(T77, T82))
U50_gga(T77, T78, T80, half56_out_ga(T77, T82)) → U51_gga(T77, T78, T80, times69_in_gga(T82, T78, X129))
times69_in_gga(0, T99, 0) → times69_out_gga(0, T99, 0)
times69_in_gga(s(T104), T105, X182) → U4_gga(T104, T105, X182, even36_in_ga(s(T104), X181))
U4_gga(T104, T105, X182, even36_out_ga(s(T104), X181)) → times69_out_gga(s(T104), T105, X182)
times69_in_gga(s(T117), T118, X217) → U5_gga(T117, T118, X217, even36_in_gg(s(T117), true))
U5_gga(T117, T118, X217, even36_out_gg(s(T117), true)) → U6_gga(T117, T118, X217, half60_in_ga(s(T117), X215))
U6_gga(T117, T118, X217, half60_out_ga(s(T117), X215)) → times69_out_gga(s(T117), T118, X217)
U5_gga(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_gga(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_gga(T117, T118, X217, half60_out_ga(s(T117), T120)) → U8_gga(T117, T118, X217, times69_in_gga(T120, T118, X216))
times69_in_gga(s(T117), T118, 0) → U9_gga(T117, T118, even36_in_gg(s(T117), true))
U9_gga(T117, T118, even36_out_gg(s(T117), true)) → U10_gga(T117, T118, half60_in_ga(s(T117), T120))
U10_gga(T117, T118, half60_out_ga(s(T117), T120)) → U11_gga(T117, T118, times69_in_ggg(T120, T118, 0))
times69_in_ggg(0, T99, 0) → times69_out_ggg(0, T99, 0)
times69_in_ggg(s(T104), T105, X182) → U4_ggg(T104, T105, X182, even36_in_ga(s(T104), X181))
U4_ggg(T104, T105, X182, even36_out_ga(s(T104), X181)) → times69_out_ggg(s(T104), T105, X182)
times69_in_ggg(s(T117), T118, X217) → U5_ggg(T117, T118, X217, even36_in_gg(s(T117), true))
U5_ggg(T117, T118, X217, even36_out_gg(s(T117), true)) → U6_ggg(T117, T118, X217, half60_in_ga(s(T117), X215))
U6_ggg(T117, T118, X217, half60_out_ga(s(T117), X215)) → times69_out_ggg(s(T117), T118, X217)
U5_ggg(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_ggg(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_ggg(T117, T118, X217, half60_out_ga(s(T117), T120)) → U8_ggg(T117, T118, X217, times69_in_gga(T120, T118, X216))
times69_in_gga(s(T117), T118, s(s(0))) → U12_gga(T117, T118, even36_in_gg(s(T117), true))
U12_gga(T117, T118, even36_out_gg(s(T117), true)) → U13_gga(T117, T118, half60_in_ga(s(T117), T120))
U13_gga(T117, T118, half60_out_ga(s(T117), T120)) → U14_gga(T117, T118, times69_in_ggg(T120, T118, s(0)))
times69_in_ggg(s(T117), T118, 0) → U9_ggg(T117, T118, even36_in_gg(s(T117), true))
U9_ggg(T117, T118, even36_out_gg(s(T117), true)) → U10_ggg(T117, T118, half60_in_ga(s(T117), T120))
U10_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U11_ggg(T117, T118, times69_in_ggg(T120, T118, 0))
times69_in_ggg(s(T117), T118, s(s(0))) → U12_ggg(T117, T118, even36_in_gg(s(T117), true))
U12_ggg(T117, T118, even36_out_gg(s(T117), true)) → U13_ggg(T117, T118, half60_in_ga(s(T117), T120))
U13_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U14_ggg(T117, T118, times69_in_ggg(T120, T118, s(0)))
times69_in_ggg(s(T117), T118, s(s(s(s(0))))) → U15_ggg(T117, T118, even36_in_gg(s(T117), true))
U15_ggg(T117, T118, even36_out_gg(s(T117), true)) → U16_ggg(T117, T118, half60_in_ga(s(T117), T120))
U16_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U17_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(0))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_ggg(T117, T118, even36_in_gg(s(T117), true))
U18_ggg(T117, T118, even36_out_gg(s(T117), true)) → U19_ggg(T117, T118, half60_in_ga(s(T117), T120))
U19_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U20_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(0)))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → U21_ggg(T117, T118, even36_in_gg(s(T117), true))
U21_ggg(T117, T118, even36_out_gg(s(T117), true)) → U22_ggg(T117, T118, half60_in_ga(s(T117), T120))
U22_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U23_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(0))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U24_ggg(T117, T118, even36_in_gg(s(T117), true))
U24_ggg(T117, T118, even36_out_gg(s(T117), true)) → U25_ggg(T117, T118, half60_in_ga(s(T117), T120))
U25_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U26_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(0)))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U27_ggg(T117, T118, even36_in_gg(s(T117), true))
U27_ggg(T117, T118, even36_out_gg(s(T117), true)) → U28_ggg(T117, T118, half60_in_ga(s(T117), T120))
U28_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U29_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(0))))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U30_ggg(T117, T118, even36_in_gg(s(T117), true))
U30_ggg(T117, T118, even36_out_gg(s(T117), true)) → U31_ggg(T117, T118, half60_in_ga(s(T117), T120))
U31_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U32_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(s(0)))))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → U33_ggg(T117, T118, X411, even36_in_gg(s(T117), true))
U33_ggg(T117, T118, X411, even36_out_gg(s(T117), true)) → U34_ggg(T117, T118, X411, half60_in_ga(s(T117), T120))
U34_ggg(T117, T118, X411, half60_out_ga(s(T117), T120)) → U35_ggg(T117, T118, X411, times69_in_gga(T120, T118, s(s(s(s(s(s(s(s(T150))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(0))))) → U15_gga(T117, T118, even36_in_gg(s(T117), true))
U15_gga(T117, T118, even36_out_gg(s(T117), true)) → U16_gga(T117, T118, half60_in_ga(s(T117), T120))
U16_gga(T117, T118, half60_out_ga(s(T117), T120)) → U17_gga(T117, T118, times69_in_ggg(T120, T118, s(s(0))))
times69_in_ggg(s(T171), T172, X455) → U37_ggg(T171, T172, X455, even36_in_gg(s(T171), false))
U37_ggg(T171, T172, X455, even36_out_gg(s(T171), false)) → U38_ggg(T171, T172, X455, times69_in_gga(T171, T172, X454))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_gga(T117, T118, even36_in_gg(s(T117), true))
U18_gga(T117, T118, even36_out_gg(s(T117), true)) → U19_gga(T117, T118, half60_in_ga(s(T117), T120))
U19_gga(T117, T118, half60_out_ga(s(T117), T120)) → U20_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(0)))))
U20_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(0))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(0)))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → U21_gga(T117, T118, even36_in_gg(s(T117), true))
U21_gga(T117, T118, even36_out_gg(s(T117), true)) → U22_gga(T117, T118, half60_in_ga(s(T117), T120))
U22_gga(T117, T118, half60_out_ga(s(T117), T120)) → U23_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(0))))))
U23_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(0)))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(0)))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U24_gga(T117, T118, even36_in_gg(s(T117), true))
U24_gga(T117, T118, even36_out_gg(s(T117), true)) → U25_gga(T117, T118, half60_in_ga(s(T117), T120))
U25_gga(T117, T118, half60_out_ga(s(T117), T120)) → U26_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(0)))))))
U26_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(0))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0)))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U27_gga(T117, T118, even36_in_gg(s(T117), true))
U27_gga(T117, T118, even36_out_gg(s(T117), true)) → U28_gga(T117, T118, half60_in_ga(s(T117), T120))
U28_gga(T117, T118, half60_out_ga(s(T117), T120)) → U29_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(0))))))))
U29_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(0)))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U30_gga(T117, T118, even36_in_gg(s(T117), true))
U30_gga(T117, T118, even36_out_gg(s(T117), true)) → U31_gga(T117, T118, half60_in_ga(s(T117), T120))
U31_gga(T117, T118, half60_out_ga(s(T117), T120)) → U32_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(s(0)))))))))
U32_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(s(0))))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → U33_gga(T117, T118, X411, even36_in_gg(s(T117), true))
U33_gga(T117, T118, X411, even36_out_gg(s(T117), true)) → U34_gga(T117, T118, X411, half60_in_ga(s(T117), T120))
U34_gga(T117, T118, X411, half60_out_ga(s(T117), T120)) → U35_gga(T117, T118, X411, times69_in_gga(T120, T118, s(s(s(s(s(s(s(s(T150))))))))))
times69_in_gga(s(T171), T172, X455) → U37_gga(T171, T172, X455, even36_in_gg(s(T171), false))
U37_gga(T171, T172, X455, even36_out_gg(s(T171), false)) → U38_gga(T171, T172, X455, times69_in_gga(T171, T172, X454))
U38_gga(T171, T172, X455, times69_out_gga(T171, T172, X454)) → times69_out_gga(s(T171), T172, X455)
U37_gga(T171, T172, X455, even36_out_gg(s(T171), false)) → U39_gga(T171, T172, X455, times69_in_gga(T171, T172, T175))
U39_gga(T171, T172, X455, times69_out_gga(T171, T172, T175)) → U40_gga(T171, T172, X455, plus166_in_gaa(T172, T175, X455))
plus166_in_gaa(0, T184, T184) → plus166_out_gaa(0, T184, T184)
plus166_in_gaa(s(T189), T190, s(X482)) → U42_gaa(T189, T190, X482, plus166_in_gaa(T189, T190, X482))
U42_gaa(T189, T190, X482, plus166_out_gaa(T189, T190, X482)) → plus166_out_gaa(s(T189), T190, s(X482))
U40_gga(T171, T172, X455, plus166_out_gaa(T172, T175, X455)) → times69_out_gga(s(T171), T172, X455)
U35_gga(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → U36_gga(T117, T118, X411, plus154_in_aaa(T150, s(s(s(s(s(s(s(T150))))))), X411))
plus154_in_aaa(0, T158, s(T158)) → plus154_out_aaa(0, T158, s(T158))
plus154_in_aaa(s(T163), T164, s(X436)) → U41_aaa(T163, T164, X436, plus154_in_aaa(T163, T164, X436))
U41_aaa(T163, T164, X436, plus154_out_aaa(T163, T164, X436)) → plus154_out_aaa(s(T163), T164, s(X436))
U36_gga(T117, T118, X411, plus154_out_aaa(T150, s(s(s(s(s(s(s(T150))))))), X411)) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(X411)))))))))
U38_ggg(T171, T172, X455, times69_out_gga(T171, T172, X454)) → times69_out_ggg(s(T171), T172, X455)
U37_ggg(T171, T172, X455, even36_out_gg(s(T171), false)) → U39_ggg(T171, T172, X455, times69_in_gga(T171, T172, T175))
U39_ggg(T171, T172, X455, times69_out_gga(T171, T172, T175)) → U40_ggg(T171, T172, X455, plus166_in_gag(T172, T175, X455))
plus166_in_gag(0, T184, T184) → plus166_out_gag(0, T184, T184)
plus166_in_gag(s(T189), T190, s(X482)) → U42_gag(T189, T190, X482, plus166_in_gag(T189, T190, X482))
U42_gag(T189, T190, X482, plus166_out_gag(T189, T190, X482)) → plus166_out_gag(s(T189), T190, s(X482))
U40_ggg(T171, T172, X455, plus166_out_gag(T172, T175, X455)) → times69_out_ggg(s(T171), T172, X455)
U17_gga(T117, T118, times69_out_ggg(T120, T118, s(s(0)))) → times69_out_gga(s(T117), T118, s(s(s(s(0)))))
U35_ggg(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → U36_ggg(T117, T118, X411, plus154_in_aag(T150, s(s(s(s(s(s(s(T150))))))), X411))
plus154_in_aag(0, T158, s(T158)) → plus154_out_aag(0, T158, s(T158))
plus154_in_aag(s(T163), T164, s(X436)) → U41_aag(T163, T164, X436, plus154_in_aag(T163, T164, X436))
U41_aag(T163, T164, X436, plus154_out_aag(T163, T164, X436)) → plus154_out_aag(s(T163), T164, s(X436))
U36_ggg(T117, T118, X411, plus154_out_aag(T150, s(s(s(s(s(s(s(T150))))))), X411)) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(X411)))))))))
U32_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(s(0))))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
U29_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(0)))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
U26_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(0))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0)))))))))))
U23_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(0)))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(0)))))))))
U20_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(0))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(0)))))))
U17_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(0)))) → times69_out_ggg(s(T117), T118, s(s(s(s(0)))))
U14_ggg(T117, T118, times69_out_ggg(T120, T118, s(0))) → times69_out_ggg(s(T117), T118, s(s(0)))
U11_ggg(T117, T118, times69_out_ggg(T120, T118, 0)) → times69_out_ggg(s(T117), T118, 0)
U14_gga(T117, T118, times69_out_ggg(T120, T118, s(0))) → times69_out_gga(s(T117), T118, s(s(0)))
U8_ggg(T117, T118, X217, times69_out_gga(T120, T118, X216)) → times69_out_ggg(s(T117), T118, X217)
U11_gga(T117, T118, times69_out_ggg(T120, T118, 0)) → times69_out_gga(s(T117), T118, 0)
U8_gga(T117, T118, X217, times69_out_gga(T120, T118, X216)) → times69_out_gga(s(T117), T118, X217)
U51_gga(T77, T78, T80, times69_out_gga(T82, T78, X129)) → times1_out_gga(s(s(T77)), T78, T80)
times1_in_gga(s(s(T77)), T78, 0) → U52_gga(T77, T78, even36_in_gg(T77, true))
U52_gga(T77, T78, even36_out_gg(T77, true)) → U53_gga(T77, T78, half56_in_ga(T77, T82))
U53_gga(T77, T78, half56_out_ga(T77, T82)) → U54_gga(T77, T78, times69_in_ggg(T82, T78, 0))
U54_gga(T77, T78, times69_out_ggg(T82, T78, 0)) → times1_out_gga(s(s(T77)), T78, 0)
times1_in_gga(s(s(T77)), T78, s(s(0))) → U55_gga(T77, T78, even36_in_gg(T77, true))
U55_gga(T77, T78, even36_out_gg(T77, true)) → U56_gga(T77, T78, half56_in_ga(T77, T82))
U56_gga(T77, T78, half56_out_ga(T77, T82)) → U57_gga(T77, T78, times69_in_ggg(T82, T78, s(0)))
U57_gga(T77, T78, times69_out_ggg(T82, T78, s(0))) → times1_out_gga(s(s(T77)), T78, s(s(0)))
times1_in_gga(s(s(T77)), T78, s(s(s(s(0))))) → U58_gga(T77, T78, even36_in_gg(T77, true))
U58_gga(T77, T78, even36_out_gg(T77, true)) → U59_gga(T77, T78, half56_in_ga(T77, T82))
U59_gga(T77, T78, half56_out_ga(T77, T82)) → U60_gga(T77, T78, times69_in_ggg(T82, T78, s(s(0))))
U60_gga(T77, T78, times69_out_ggg(T82, T78, s(s(0)))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(0)))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(0))))))) → U61_gga(T77, T78, even36_in_gg(T77, true))
U61_gga(T77, T78, even36_out_gg(T77, true)) → U62_gga(T77, T78, half56_in_ga(T77, T82))
U62_gga(T77, T78, half56_out_ga(T77, T82)) → U63_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(0)))))
U63_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(0))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(0)))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(0))))))))) → U64_gga(T77, T78, even36_in_gg(T77, true))
U64_gga(T77, T78, even36_out_gg(T77, true)) → U65_gga(T77, T78, half56_in_ga(T77, T82))
U65_gga(T77, T78, half56_out_ga(T77, T82)) → U66_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(0))))))
U66_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(0)))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(0)))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U67_gga(T77, T78, even36_in_gg(T77, true))
U67_gga(T77, T78, even36_out_gg(T77, true)) → U68_gga(T77, T78, half56_in_ga(T77, T82))
U68_gga(T77, T78, half56_out_ga(T77, T82)) → U69_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(0)))))))
U69_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(0))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(0)))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U70_gga(T77, T78, even36_in_gg(T77, true))
U70_gga(T77, T78, even36_out_gg(T77, true)) → U71_gga(T77, T78, half56_in_ga(T77, T82))
U71_gga(T77, T78, half56_out_ga(T77, T82)) → U72_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(s(0))))))))
U72_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(s(0)))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U73_gga(T77, T78, even36_in_gg(T77, true))
U73_gga(T77, T78, even36_out_gg(T77, true)) → U74_gga(T77, T78, half56_in_ga(T77, T82))
U74_gga(T77, T78, half56_out_ga(T77, T82)) → U75_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(s(s(0)))))))))
U75_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(s(s(0))))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(T248))))))))) → U76_gga(T77, T78, T248, even36_in_gg(T77, true))
U76_gga(T77, T78, T248, even36_out_gg(T77, true)) → U77_gga(T77, T78, T248, half56_in_ga(T77, T82))
U77_gga(T77, T78, T248, half56_out_ga(T77, T82)) → U78_gga(T77, T78, T248, times69_in_gga(T82, T78, s(s(s(s(s(s(s(s(T246))))))))))
U78_gga(T77, T78, T248, times69_out_gga(T82, T78, s(s(s(s(s(s(s(s(T246)))))))))) → U79_gga(T77, T78, T248, plus19_in_aaa(T246, s(s(s(s(s(s(s(s(T246)))))))), T248))
plus19_in_aaa(0, T42, T42) → plus19_out_aaa(0, T42, T42)
plus19_in_aaa(s(T49), T50, s(T52)) → U1_aaa(T49, T50, T52, plus19_in_aaa(T49, T50, T52))
U1_aaa(T49, T50, T52, plus19_out_aaa(T49, T50, T52)) → plus19_out_aaa(s(T49), T50, s(T52))
U79_gga(T77, T78, T248, plus19_out_aaa(T246, s(s(s(s(s(s(s(s(T246)))))))), T248)) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(T248)))))))))
times1_in_gga(s(s(T258)), T259, T261) → U80_gga(T258, T259, T261, even36_in_gg(T258, false))
U80_gga(T258, T259, T261, even36_out_gg(T258, false)) → U81_gga(T258, T259, T261, times69_in_gga(s(T258), T259, X662))
U81_gga(T258, T259, T261, times69_out_gga(s(T258), T259, X662)) → times1_out_gga(s(s(T258)), T259, T261)
U80_gga(T258, T259, T261, even36_out_gg(T258, false)) → U82_gga(T258, T259, T261, times69_in_gga(s(T258), T259, T264))
U82_gga(T258, T259, T261, times69_out_gga(s(T258), T259, T264)) → U83_gga(T258, T259, T261, plus19_in_gaa(T259, T264, T261))
plus19_in_gaa(0, T42, T42) → plus19_out_gaa(0, T42, T42)
plus19_in_gaa(s(T49), T50, s(T52)) → U1_gaa(T49, T50, T52, plus19_in_gaa(T49, T50, T52))
U1_gaa(T49, T50, T52, plus19_out_gaa(T49, T50, T52)) → plus19_out_gaa(s(T49), T50, s(T52))
U83_gga(T258, T259, T261, plus19_out_gaa(T259, T264, T261)) → times1_out_gga(s(s(T258)), T259, T261)

The argument filtering Pi contains the following mapping:
times1_in_gga(x1, x2, x3)  =  times1_in_gga(x1, x2)
0  =  0
times1_out_gga(x1, x2, x3)  =  times1_out_gga(x1, x2)
s(x1)  =  s(x1)
U44_gga(x1, x2, x3)  =  U44_gga(x1, x3)
times18_in_ga(x1, x2)  =  times18_in_ga(x1)
times18_out_ga(x1, x2)  =  times18_out_ga(x1, x2)
U45_gga(x1, x2, x3)  =  U45_gga(x1, x3)
U46_gga(x1, x2, x3)  =  U46_gga(x1, x3)
plus19_in_gga(x1, x2, x3)  =  plus19_in_gga(x1, x2)
plus19_out_gga(x1, x2, x3)  =  plus19_out_gga(x1, x2, x3)
U1_gga(x1, x2, x3, x4)  =  U1_gga(x1, x2, x4)
U47_gga(x1, x2, x3, x4)  =  U47_gga(x1, x2, x4)
even36_in_ga(x1, x2)  =  even36_in_ga(x1)
even36_out_ga(x1, x2)  =  even36_out_ga(x1, x2)
U2_ga(x1, x2, x3)  =  U2_ga(x1, x3)
U48_gga(x1, x2, x3, x4)  =  U48_gga(x1, x2, x4)
even36_in_gg(x1, x2)  =  even36_in_gg(x1, x2)
true  =  true
even36_out_gg(x1, x2)  =  even36_out_gg(x1, x2)
false  =  false
U2_gg(x1, x2, x3)  =  U2_gg(x1, x2, x3)
U49_gga(x1, x2, x3, x4)  =  U49_gga(x1, x2, x4)
half56_in_ga(x1, x2)  =  half56_in_ga(x1)
U43_ga(x1, x2, x3)  =  U43_ga(x1, x3)
half60_in_ga(x1, x2)  =  half60_in_ga(x1)
half60_out_ga(x1, x2)  =  half60_out_ga(x1, x2)
U3_ga(x1, x2, x3)  =  U3_ga(x1, x3)
half56_out_ga(x1, x2)  =  half56_out_ga(x1, x2)
U50_gga(x1, x2, x3, x4)  =  U50_gga(x1, x2, x4)
U51_gga(x1, x2, x3, x4)  =  U51_gga(x1, x2, x4)
times69_in_gga(x1, x2, x3)  =  times69_in_gga(x1, x2)
times69_out_gga(x1, x2, x3)  =  times69_out_gga(x1, x2)
U4_gga(x1, x2, x3, x4)  =  U4_gga(x1, x2, x4)
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)
U8_gga(x1, x2, x3, x4)  =  U8_gga(x1, x2, x4)
U9_gga(x1, x2, x3)  =  U9_gga(x1, x2, x3)
U10_gga(x1, x2, x3)  =  U10_gga(x1, x2, x3)
U11_gga(x1, x2, x3)  =  U11_gga(x1, x2, x3)
times69_in_ggg(x1, x2, x3)  =  times69_in_ggg(x1, x2, x3)
times69_out_ggg(x1, x2, x3)  =  times69_out_ggg(x1, x2, x3)
U4_ggg(x1, x2, x3, x4)  =  U4_ggg(x1, x2, x3, x4)
U5_ggg(x1, x2, x3, x4)  =  U5_ggg(x1, x2, x3, x4)
U6_ggg(x1, x2, x3, x4)  =  U6_ggg(x1, x2, x3, x4)
U7_ggg(x1, x2, x3, x4)  =  U7_ggg(x1, x2, x3, x4)
U8_ggg(x1, x2, x3, x4)  =  U8_ggg(x1, x2, x3, x4)
U12_gga(x1, x2, x3)  =  U12_gga(x1, x2, x3)
U13_gga(x1, x2, x3)  =  U13_gga(x1, x2, x3)
U14_gga(x1, x2, x3)  =  U14_gga(x1, x2, x3)
U9_ggg(x1, x2, x3)  =  U9_ggg(x1, x2, x3)
U10_ggg(x1, x2, x3)  =  U10_ggg(x1, x2, x3)
U11_ggg(x1, x2, x3)  =  U11_ggg(x1, x2, x3)
U12_ggg(x1, x2, x3)  =  U12_ggg(x1, x2, x3)
U13_ggg(x1, x2, x3)  =  U13_ggg(x1, x2, x3)
U14_ggg(x1, x2, x3)  =  U14_ggg(x1, x2, x3)
U15_ggg(x1, x2, x3)  =  U15_ggg(x1, x2, x3)
U16_ggg(x1, x2, x3)  =  U16_ggg(x1, x2, x3)
U17_ggg(x1, x2, x3)  =  U17_ggg(x1, x2, x3)
U18_ggg(x1, x2, x3)  =  U18_ggg(x1, x2, x3)
U19_ggg(x1, x2, x3)  =  U19_ggg(x1, x2, x3)
U20_ggg(x1, x2, x3)  =  U20_ggg(x1, x2, x3)
U21_ggg(x1, x2, x3)  =  U21_ggg(x1, x2, x3)
U22_ggg(x1, x2, x3)  =  U22_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)  =  U26_ggg(x1, x2, x3)
U27_ggg(x1, x2, x3)  =  U27_ggg(x1, x2, x3)
U28_ggg(x1, x2, x3)  =  U28_ggg(x1, x2, x3)
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)  =  U32_ggg(x1, x2, x3)
U33_ggg(x1, x2, x3, x4)  =  U33_ggg(x1, x2, x3, x4)
U34_ggg(x1, x2, x3, x4)  =  U34_ggg(x1, x2, x3, x4)
U35_ggg(x1, x2, x3, x4)  =  U35_ggg(x1, x2, x3, x4)
U15_gga(x1, x2, x3)  =  U15_gga(x1, x2, x3)
U16_gga(x1, x2, x3)  =  U16_gga(x1, x2, x3)
U17_gga(x1, x2, x3)  =  U17_gga(x1, x2, x3)
U37_ggg(x1, x2, x3, x4)  =  U37_ggg(x1, x2, x3, x4)
U38_ggg(x1, x2, x3, x4)  =  U38_ggg(x1, x2, x3, x4)
U18_gga(x1, x2, x3)  =  U18_gga(x1, x2, x3)
U19_gga(x1, x2, x3)  =  U19_gga(x1, x2, x3)
U20_gga(x1, x2, x3)  =  U20_gga(x1, x2, x3)
U21_gga(x1, x2, x3)  =  U21_gga(x1, x2, x3)
U22_gga(x1, x2, x3)  =  U22_gga(x1, x2, x3)
U23_gga(x1, x2, x3)  =  U23_gga(x1, x2, x3)
U24_gga(x1, x2, x3)  =  U24_gga(x1, x2, x3)
U25_gga(x1, x2, x3)  =  U25_gga(x1, x2, x3)
U26_gga(x1, x2, x3)  =  U26_gga(x1, x2, x3)
U27_gga(x1, x2, x3)  =  U27_gga(x1, x2, x3)
U28_gga(x1, x2, x3)  =  U28_gga(x1, x2, x3)
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)  =  U32_gga(x1, x2, x3)
U33_gga(x1, x2, x3, x4)  =  U33_gga(x1, x2, x4)
U34_gga(x1, x2, x3, x4)  =  U34_gga(x1, x2, x4)
U35_gga(x1, x2, x3, x4)  =  U35_gga(x1, x2, x4)
U37_gga(x1, x2, x3, x4)  =  U37_gga(x1, x2, x4)
U38_gga(x1, x2, x3, x4)  =  U38_gga(x1, x2, x4)
U39_gga(x1, x2, x3, x4)  =  U39_gga(x1, x2, x4)
U40_gga(x1, x2, x3, x4)  =  U40_gga(x1, x2, x4)
plus166_in_gaa(x1, x2, x3)  =  plus166_in_gaa(x1)
plus166_out_gaa(x1, x2, x3)  =  plus166_out_gaa(x1)
U42_gaa(x1, x2, x3, x4)  =  U42_gaa(x1, x4)
U36_gga(x1, x2, x3, x4)  =  U36_gga(x1, x2, x4)
plus154_in_aaa(x1, x2, x3)  =  plus154_in_aaa
plus154_out_aaa(x1, x2, x3)  =  plus154_out_aaa(x1)
U41_aaa(x1, x2, x3, x4)  =  U41_aaa(x4)
U39_ggg(x1, x2, x3, x4)  =  U39_ggg(x1, x2, x3, x4)
U40_ggg(x1, x2, x3, x4)  =  U40_ggg(x1, x2, x3, x4)
plus166_in_gag(x1, x2, x3)  =  plus166_in_gag(x1, x3)
plus166_out_gag(x1, x2, x3)  =  plus166_out_gag(x1, x2, x3)
U42_gag(x1, x2, x3, x4)  =  U42_gag(x1, x3, x4)
U36_ggg(x1, x2, x3, x4)  =  U36_ggg(x1, x2, x3, x4)
plus154_in_aag(x1, x2, x3)  =  plus154_in_aag(x3)
plus154_out_aag(x1, x2, x3)  =  plus154_out_aag(x1, x2, x3)
U41_aag(x1, x2, x3, x4)  =  U41_aag(x3, x4)
U52_gga(x1, x2, x3)  =  U52_gga(x1, x2, x3)
U53_gga(x1, x2, x3)  =  U53_gga(x1, x2, x3)
U54_gga(x1, x2, x3)  =  U54_gga(x1, x2, x3)
U55_gga(x1, x2, x3)  =  U55_gga(x1, x2, x3)
U56_gga(x1, x2, x3)  =  U56_gga(x1, x2, x3)
U57_gga(x1, x2, x3)  =  U57_gga(x1, x2, x3)
U58_gga(x1, x2, x3)  =  U58_gga(x1, x2, x3)
U59_gga(x1, x2, x3)  =  U59_gga(x1, x2, x3)
U60_gga(x1, x2, x3)  =  U60_gga(x1, x2, x3)
U61_gga(x1, x2, x3)  =  U61_gga(x1, x2, x3)
U62_gga(x1, x2, x3)  =  U62_gga(x1, x2, x3)
U63_gga(x1, x2, x3)  =  U63_gga(x1, x2, x3)
U64_gga(x1, x2, x3)  =  U64_gga(x1, x2, x3)
U65_gga(x1, x2, x3)  =  U65_gga(x1, x2, x3)
U66_gga(x1, x2, x3)  =  U66_gga(x1, x2, x3)
U67_gga(x1, x2, x3)  =  U67_gga(x1, x2, x3)
U68_gga(x1, x2, x3)  =  U68_gga(x1, x2, x3)
U69_gga(x1, x2, x3)  =  U69_gga(x1, x2, x3)
U70_gga(x1, x2, x3)  =  U70_gga(x1, x2, x3)
U71_gga(x1, x2, x3)  =  U71_gga(x1, x2, x3)
U72_gga(x1, x2, x3)  =  U72_gga(x1, x2, x3)
U73_gga(x1, x2, x3)  =  U73_gga(x1, x2, x3)
U74_gga(x1, x2, x3)  =  U74_gga(x1, x2, x3)
U75_gga(x1, x2, x3)  =  U75_gga(x1, x2, x3)
U76_gga(x1, x2, x3, x4)  =  U76_gga(x1, x2, x4)
U77_gga(x1, x2, x3, x4)  =  U77_gga(x1, x2, x4)
U78_gga(x1, x2, x3, x4)  =  U78_gga(x1, x2, x4)
U79_gga(x1, x2, x3, x4)  =  U79_gga(x1, x2, x4)
plus19_in_aaa(x1, x2, x3)  =  plus19_in_aaa
plus19_out_aaa(x1, x2, x3)  =  plus19_out_aaa(x1)
U1_aaa(x1, x2, x3, x4)  =  U1_aaa(x4)
U80_gga(x1, x2, x3, x4)  =  U80_gga(x1, x2, x4)
U81_gga(x1, x2, x3, x4)  =  U81_gga(x1, x2, x4)
U82_gga(x1, x2, x3, x4)  =  U82_gga(x1, x2, x4)
U83_gga(x1, x2, x3, x4)  =  U83_gga(x1, x2, x4)
plus19_in_gaa(x1, x2, x3)  =  plus19_in_gaa(x1)
plus19_out_gaa(x1, x2, x3)  =  plus19_out_gaa(x1)
U1_gaa(x1, x2, x3, x4)  =  U1_gaa(x1, 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:

times1_in_gga(0, T5, 0) → times1_out_gga(0, T5, 0)
times1_in_gga(s(0), T23, T25) → U44_gga(T23, T25, times18_in_ga(T23, X45))
times18_in_ga(T35, 0) → times18_out_ga(T35, 0)
U44_gga(T23, T25, times18_out_ga(T23, X45)) → times1_out_gga(s(0), T23, T25)
times1_in_gga(s(0), T23, T25) → U45_gga(T23, T25, times18_in_ga(T23, T29))
U45_gga(T23, T25, times18_out_ga(T23, T29)) → U46_gga(T23, T25, plus19_in_gga(T23, T29, T25))
plus19_in_gga(0, T42, T42) → plus19_out_gga(0, T42, T42)
plus19_in_gga(s(T49), T50, s(T52)) → U1_gga(T49, T50, T52, plus19_in_gga(T49, T50, T52))
U1_gga(T49, T50, T52, plus19_out_gga(T49, T50, T52)) → plus19_out_gga(s(T49), T50, s(T52))
U46_gga(T23, T25, plus19_out_gga(T23, T29, T25)) → times1_out_gga(s(0), T23, T25)
times1_in_gga(s(s(T57)), T10, T12) → U47_gga(T57, T10, T12, even36_in_ga(T57, X90))
even36_in_ga(0, true) → even36_out_ga(0, true)
even36_in_ga(s(0), false) → even36_out_ga(s(0), false)
even36_in_ga(s(s(T61)), X101) → U2_ga(T61, X101, even36_in_ga(T61, X101))
U2_ga(T61, X101, even36_out_ga(T61, X101)) → even36_out_ga(s(s(T61)), X101)
U47_gga(T57, T10, T12, even36_out_ga(T57, X90)) → times1_out_gga(s(s(T57)), T10, T12)
times1_in_gga(s(s(T77)), T78, T80) → U48_gga(T77, T78, T80, even36_in_gg(T77, true))
even36_in_gg(0, true) → even36_out_gg(0, true)
even36_in_gg(s(0), false) → even36_out_gg(s(0), false)
even36_in_gg(s(s(T61)), X101) → U2_gg(T61, X101, even36_in_gg(T61, X101))
U2_gg(T61, X101, even36_out_gg(T61, X101)) → even36_out_gg(s(s(T61)), X101)
U48_gga(T77, T78, T80, even36_out_gg(T77, true)) → U49_gga(T77, T78, T80, half56_in_ga(T77, X128))
half56_in_ga(T86, s(X147)) → U43_ga(T86, X147, half60_in_ga(T86, X147))
half60_in_ga(0, 0) → half60_out_ga(0, 0)
half60_in_ga(s(s(T89)), s(X156)) → U3_ga(T89, X156, half60_in_ga(T89, X156))
U3_ga(T89, X156, half60_out_ga(T89, X156)) → half60_out_ga(s(s(T89)), s(X156))
U43_ga(T86, X147, half60_out_ga(T86, X147)) → half56_out_ga(T86, s(X147))
U49_gga(T77, T78, T80, half56_out_ga(T77, X128)) → times1_out_gga(s(s(T77)), T78, T80)
U48_gga(T77, T78, T80, even36_out_gg(T77, true)) → U50_gga(T77, T78, T80, half56_in_ga(T77, T82))
U50_gga(T77, T78, T80, half56_out_ga(T77, T82)) → U51_gga(T77, T78, T80, times69_in_gga(T82, T78, X129))
times69_in_gga(0, T99, 0) → times69_out_gga(0, T99, 0)
times69_in_gga(s(T104), T105, X182) → U4_gga(T104, T105, X182, even36_in_ga(s(T104), X181))
U4_gga(T104, T105, X182, even36_out_ga(s(T104), X181)) → times69_out_gga(s(T104), T105, X182)
times69_in_gga(s(T117), T118, X217) → U5_gga(T117, T118, X217, even36_in_gg(s(T117), true))
U5_gga(T117, T118, X217, even36_out_gg(s(T117), true)) → U6_gga(T117, T118, X217, half60_in_ga(s(T117), X215))
U6_gga(T117, T118, X217, half60_out_ga(s(T117), X215)) → times69_out_gga(s(T117), T118, X217)
U5_gga(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_gga(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_gga(T117, T118, X217, half60_out_ga(s(T117), T120)) → U8_gga(T117, T118, X217, times69_in_gga(T120, T118, X216))
times69_in_gga(s(T117), T118, 0) → U9_gga(T117, T118, even36_in_gg(s(T117), true))
U9_gga(T117, T118, even36_out_gg(s(T117), true)) → U10_gga(T117, T118, half60_in_ga(s(T117), T120))
U10_gga(T117, T118, half60_out_ga(s(T117), T120)) → U11_gga(T117, T118, times69_in_ggg(T120, T118, 0))
times69_in_ggg(0, T99, 0) → times69_out_ggg(0, T99, 0)
times69_in_ggg(s(T104), T105, X182) → U4_ggg(T104, T105, X182, even36_in_ga(s(T104), X181))
U4_ggg(T104, T105, X182, even36_out_ga(s(T104), X181)) → times69_out_ggg(s(T104), T105, X182)
times69_in_ggg(s(T117), T118, X217) → U5_ggg(T117, T118, X217, even36_in_gg(s(T117), true))
U5_ggg(T117, T118, X217, even36_out_gg(s(T117), true)) → U6_ggg(T117, T118, X217, half60_in_ga(s(T117), X215))
U6_ggg(T117, T118, X217, half60_out_ga(s(T117), X215)) → times69_out_ggg(s(T117), T118, X217)
U5_ggg(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_ggg(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_ggg(T117, T118, X217, half60_out_ga(s(T117), T120)) → U8_ggg(T117, T118, X217, times69_in_gga(T120, T118, X216))
times69_in_gga(s(T117), T118, s(s(0))) → U12_gga(T117, T118, even36_in_gg(s(T117), true))
U12_gga(T117, T118, even36_out_gg(s(T117), true)) → U13_gga(T117, T118, half60_in_ga(s(T117), T120))
U13_gga(T117, T118, half60_out_ga(s(T117), T120)) → U14_gga(T117, T118, times69_in_ggg(T120, T118, s(0)))
times69_in_ggg(s(T117), T118, 0) → U9_ggg(T117, T118, even36_in_gg(s(T117), true))
U9_ggg(T117, T118, even36_out_gg(s(T117), true)) → U10_ggg(T117, T118, half60_in_ga(s(T117), T120))
U10_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U11_ggg(T117, T118, times69_in_ggg(T120, T118, 0))
times69_in_ggg(s(T117), T118, s(s(0))) → U12_ggg(T117, T118, even36_in_gg(s(T117), true))
U12_ggg(T117, T118, even36_out_gg(s(T117), true)) → U13_ggg(T117, T118, half60_in_ga(s(T117), T120))
U13_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U14_ggg(T117, T118, times69_in_ggg(T120, T118, s(0)))
times69_in_ggg(s(T117), T118, s(s(s(s(0))))) → U15_ggg(T117, T118, even36_in_gg(s(T117), true))
U15_ggg(T117, T118, even36_out_gg(s(T117), true)) → U16_ggg(T117, T118, half60_in_ga(s(T117), T120))
U16_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U17_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(0))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_ggg(T117, T118, even36_in_gg(s(T117), true))
U18_ggg(T117, T118, even36_out_gg(s(T117), true)) → U19_ggg(T117, T118, half60_in_ga(s(T117), T120))
U19_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U20_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(0)))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → U21_ggg(T117, T118, even36_in_gg(s(T117), true))
U21_ggg(T117, T118, even36_out_gg(s(T117), true)) → U22_ggg(T117, T118, half60_in_ga(s(T117), T120))
U22_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U23_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(0))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U24_ggg(T117, T118, even36_in_gg(s(T117), true))
U24_ggg(T117, T118, even36_out_gg(s(T117), true)) → U25_ggg(T117, T118, half60_in_ga(s(T117), T120))
U25_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U26_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(0)))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U27_ggg(T117, T118, even36_in_gg(s(T117), true))
U27_ggg(T117, T118, even36_out_gg(s(T117), true)) → U28_ggg(T117, T118, half60_in_ga(s(T117), T120))
U28_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U29_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(0))))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U30_ggg(T117, T118, even36_in_gg(s(T117), true))
U30_ggg(T117, T118, even36_out_gg(s(T117), true)) → U31_ggg(T117, T118, half60_in_ga(s(T117), T120))
U31_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U32_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(s(0)))))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → U33_ggg(T117, T118, X411, even36_in_gg(s(T117), true))
U33_ggg(T117, T118, X411, even36_out_gg(s(T117), true)) → U34_ggg(T117, T118, X411, half60_in_ga(s(T117), T120))
U34_ggg(T117, T118, X411, half60_out_ga(s(T117), T120)) → U35_ggg(T117, T118, X411, times69_in_gga(T120, T118, s(s(s(s(s(s(s(s(T150))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(0))))) → U15_gga(T117, T118, even36_in_gg(s(T117), true))
U15_gga(T117, T118, even36_out_gg(s(T117), true)) → U16_gga(T117, T118, half60_in_ga(s(T117), T120))
U16_gga(T117, T118, half60_out_ga(s(T117), T120)) → U17_gga(T117, T118, times69_in_ggg(T120, T118, s(s(0))))
times69_in_ggg(s(T171), T172, X455) → U37_ggg(T171, T172, X455, even36_in_gg(s(T171), false))
U37_ggg(T171, T172, X455, even36_out_gg(s(T171), false)) → U38_ggg(T171, T172, X455, times69_in_gga(T171, T172, X454))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_gga(T117, T118, even36_in_gg(s(T117), true))
U18_gga(T117, T118, even36_out_gg(s(T117), true)) → U19_gga(T117, T118, half60_in_ga(s(T117), T120))
U19_gga(T117, T118, half60_out_ga(s(T117), T120)) → U20_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(0)))))
U20_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(0))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(0)))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → U21_gga(T117, T118, even36_in_gg(s(T117), true))
U21_gga(T117, T118, even36_out_gg(s(T117), true)) → U22_gga(T117, T118, half60_in_ga(s(T117), T120))
U22_gga(T117, T118, half60_out_ga(s(T117), T120)) → U23_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(0))))))
U23_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(0)))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(0)))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U24_gga(T117, T118, even36_in_gg(s(T117), true))
U24_gga(T117, T118, even36_out_gg(s(T117), true)) → U25_gga(T117, T118, half60_in_ga(s(T117), T120))
U25_gga(T117, T118, half60_out_ga(s(T117), T120)) → U26_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(0)))))))
U26_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(0))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0)))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U27_gga(T117, T118, even36_in_gg(s(T117), true))
U27_gga(T117, T118, even36_out_gg(s(T117), true)) → U28_gga(T117, T118, half60_in_ga(s(T117), T120))
U28_gga(T117, T118, half60_out_ga(s(T117), T120)) → U29_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(0))))))))
U29_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(0)))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U30_gga(T117, T118, even36_in_gg(s(T117), true))
U30_gga(T117, T118, even36_out_gg(s(T117), true)) → U31_gga(T117, T118, half60_in_ga(s(T117), T120))
U31_gga(T117, T118, half60_out_ga(s(T117), T120)) → U32_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(s(0)))))))))
U32_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(s(0))))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → U33_gga(T117, T118, X411, even36_in_gg(s(T117), true))
U33_gga(T117, T118, X411, even36_out_gg(s(T117), true)) → U34_gga(T117, T118, X411, half60_in_ga(s(T117), T120))
U34_gga(T117, T118, X411, half60_out_ga(s(T117), T120)) → U35_gga(T117, T118, X411, times69_in_gga(T120, T118, s(s(s(s(s(s(s(s(T150))))))))))
times69_in_gga(s(T171), T172, X455) → U37_gga(T171, T172, X455, even36_in_gg(s(T171), false))
U37_gga(T171, T172, X455, even36_out_gg(s(T171), false)) → U38_gga(T171, T172, X455, times69_in_gga(T171, T172, X454))
U38_gga(T171, T172, X455, times69_out_gga(T171, T172, X454)) → times69_out_gga(s(T171), T172, X455)
U37_gga(T171, T172, X455, even36_out_gg(s(T171), false)) → U39_gga(T171, T172, X455, times69_in_gga(T171, T172, T175))
U39_gga(T171, T172, X455, times69_out_gga(T171, T172, T175)) → U40_gga(T171, T172, X455, plus166_in_gaa(T172, T175, X455))
plus166_in_gaa(0, T184, T184) → plus166_out_gaa(0, T184, T184)
plus166_in_gaa(s(T189), T190, s(X482)) → U42_gaa(T189, T190, X482, plus166_in_gaa(T189, T190, X482))
U42_gaa(T189, T190, X482, plus166_out_gaa(T189, T190, X482)) → plus166_out_gaa(s(T189), T190, s(X482))
U40_gga(T171, T172, X455, plus166_out_gaa(T172, T175, X455)) → times69_out_gga(s(T171), T172, X455)
U35_gga(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → U36_gga(T117, T118, X411, plus154_in_aaa(T150, s(s(s(s(s(s(s(T150))))))), X411))
plus154_in_aaa(0, T158, s(T158)) → plus154_out_aaa(0, T158, s(T158))
plus154_in_aaa(s(T163), T164, s(X436)) → U41_aaa(T163, T164, X436, plus154_in_aaa(T163, T164, X436))
U41_aaa(T163, T164, X436, plus154_out_aaa(T163, T164, X436)) → plus154_out_aaa(s(T163), T164, s(X436))
U36_gga(T117, T118, X411, plus154_out_aaa(T150, s(s(s(s(s(s(s(T150))))))), X411)) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(X411)))))))))
U38_ggg(T171, T172, X455, times69_out_gga(T171, T172, X454)) → times69_out_ggg(s(T171), T172, X455)
U37_ggg(T171, T172, X455, even36_out_gg(s(T171), false)) → U39_ggg(T171, T172, X455, times69_in_gga(T171, T172, T175))
U39_ggg(T171, T172, X455, times69_out_gga(T171, T172, T175)) → U40_ggg(T171, T172, X455, plus166_in_gag(T172, T175, X455))
plus166_in_gag(0, T184, T184) → plus166_out_gag(0, T184, T184)
plus166_in_gag(s(T189), T190, s(X482)) → U42_gag(T189, T190, X482, plus166_in_gag(T189, T190, X482))
U42_gag(T189, T190, X482, plus166_out_gag(T189, T190, X482)) → plus166_out_gag(s(T189), T190, s(X482))
U40_ggg(T171, T172, X455, plus166_out_gag(T172, T175, X455)) → times69_out_ggg(s(T171), T172, X455)
U17_gga(T117, T118, times69_out_ggg(T120, T118, s(s(0)))) → times69_out_gga(s(T117), T118, s(s(s(s(0)))))
U35_ggg(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → U36_ggg(T117, T118, X411, plus154_in_aag(T150, s(s(s(s(s(s(s(T150))))))), X411))
plus154_in_aag(0, T158, s(T158)) → plus154_out_aag(0, T158, s(T158))
plus154_in_aag(s(T163), T164, s(X436)) → U41_aag(T163, T164, X436, plus154_in_aag(T163, T164, X436))
U41_aag(T163, T164, X436, plus154_out_aag(T163, T164, X436)) → plus154_out_aag(s(T163), T164, s(X436))
U36_ggg(T117, T118, X411, plus154_out_aag(T150, s(s(s(s(s(s(s(T150))))))), X411)) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(X411)))))))))
U32_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(s(0))))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
U29_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(0)))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
U26_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(0))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0)))))))))))
U23_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(0)))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(0)))))))))
U20_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(0))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(0)))))))
U17_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(0)))) → times69_out_ggg(s(T117), T118, s(s(s(s(0)))))
U14_ggg(T117, T118, times69_out_ggg(T120, T118, s(0))) → times69_out_ggg(s(T117), T118, s(s(0)))
U11_ggg(T117, T118, times69_out_ggg(T120, T118, 0)) → times69_out_ggg(s(T117), T118, 0)
U14_gga(T117, T118, times69_out_ggg(T120, T118, s(0))) → times69_out_gga(s(T117), T118, s(s(0)))
U8_ggg(T117, T118, X217, times69_out_gga(T120, T118, X216)) → times69_out_ggg(s(T117), T118, X217)
U11_gga(T117, T118, times69_out_ggg(T120, T118, 0)) → times69_out_gga(s(T117), T118, 0)
U8_gga(T117, T118, X217, times69_out_gga(T120, T118, X216)) → times69_out_gga(s(T117), T118, X217)
U51_gga(T77, T78, T80, times69_out_gga(T82, T78, X129)) → times1_out_gga(s(s(T77)), T78, T80)
times1_in_gga(s(s(T77)), T78, 0) → U52_gga(T77, T78, even36_in_gg(T77, true))
U52_gga(T77, T78, even36_out_gg(T77, true)) → U53_gga(T77, T78, half56_in_ga(T77, T82))
U53_gga(T77, T78, half56_out_ga(T77, T82)) → U54_gga(T77, T78, times69_in_ggg(T82, T78, 0))
U54_gga(T77, T78, times69_out_ggg(T82, T78, 0)) → times1_out_gga(s(s(T77)), T78, 0)
times1_in_gga(s(s(T77)), T78, s(s(0))) → U55_gga(T77, T78, even36_in_gg(T77, true))
U55_gga(T77, T78, even36_out_gg(T77, true)) → U56_gga(T77, T78, half56_in_ga(T77, T82))
U56_gga(T77, T78, half56_out_ga(T77, T82)) → U57_gga(T77, T78, times69_in_ggg(T82, T78, s(0)))
U57_gga(T77, T78, times69_out_ggg(T82, T78, s(0))) → times1_out_gga(s(s(T77)), T78, s(s(0)))
times1_in_gga(s(s(T77)), T78, s(s(s(s(0))))) → U58_gga(T77, T78, even36_in_gg(T77, true))
U58_gga(T77, T78, even36_out_gg(T77, true)) → U59_gga(T77, T78, half56_in_ga(T77, T82))
U59_gga(T77, T78, half56_out_ga(T77, T82)) → U60_gga(T77, T78, times69_in_ggg(T82, T78, s(s(0))))
U60_gga(T77, T78, times69_out_ggg(T82, T78, s(s(0)))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(0)))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(0))))))) → U61_gga(T77, T78, even36_in_gg(T77, true))
U61_gga(T77, T78, even36_out_gg(T77, true)) → U62_gga(T77, T78, half56_in_ga(T77, T82))
U62_gga(T77, T78, half56_out_ga(T77, T82)) → U63_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(0)))))
U63_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(0))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(0)))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(0))))))))) → U64_gga(T77, T78, even36_in_gg(T77, true))
U64_gga(T77, T78, even36_out_gg(T77, true)) → U65_gga(T77, T78, half56_in_ga(T77, T82))
U65_gga(T77, T78, half56_out_ga(T77, T82)) → U66_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(0))))))
U66_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(0)))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(0)))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U67_gga(T77, T78, even36_in_gg(T77, true))
U67_gga(T77, T78, even36_out_gg(T77, true)) → U68_gga(T77, T78, half56_in_ga(T77, T82))
U68_gga(T77, T78, half56_out_ga(T77, T82)) → U69_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(0)))))))
U69_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(0))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(0)))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U70_gga(T77, T78, even36_in_gg(T77, true))
U70_gga(T77, T78, even36_out_gg(T77, true)) → U71_gga(T77, T78, half56_in_ga(T77, T82))
U71_gga(T77, T78, half56_out_ga(T77, T82)) → U72_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(s(0))))))))
U72_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(s(0)))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U73_gga(T77, T78, even36_in_gg(T77, true))
U73_gga(T77, T78, even36_out_gg(T77, true)) → U74_gga(T77, T78, half56_in_ga(T77, T82))
U74_gga(T77, T78, half56_out_ga(T77, T82)) → U75_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(s(s(0)))))))))
U75_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(s(s(0))))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(T248))))))))) → U76_gga(T77, T78, T248, even36_in_gg(T77, true))
U76_gga(T77, T78, T248, even36_out_gg(T77, true)) → U77_gga(T77, T78, T248, half56_in_ga(T77, T82))
U77_gga(T77, T78, T248, half56_out_ga(T77, T82)) → U78_gga(T77, T78, T248, times69_in_gga(T82, T78, s(s(s(s(s(s(s(s(T246))))))))))
U78_gga(T77, T78, T248, times69_out_gga(T82, T78, s(s(s(s(s(s(s(s(T246)))))))))) → U79_gga(T77, T78, T248, plus19_in_aaa(T246, s(s(s(s(s(s(s(s(T246)))))))), T248))
plus19_in_aaa(0, T42, T42) → plus19_out_aaa(0, T42, T42)
plus19_in_aaa(s(T49), T50, s(T52)) → U1_aaa(T49, T50, T52, plus19_in_aaa(T49, T50, T52))
U1_aaa(T49, T50, T52, plus19_out_aaa(T49, T50, T52)) → plus19_out_aaa(s(T49), T50, s(T52))
U79_gga(T77, T78, T248, plus19_out_aaa(T246, s(s(s(s(s(s(s(s(T246)))))))), T248)) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(T248)))))))))
times1_in_gga(s(s(T258)), T259, T261) → U80_gga(T258, T259, T261, even36_in_gg(T258, false))
U80_gga(T258, T259, T261, even36_out_gg(T258, false)) → U81_gga(T258, T259, T261, times69_in_gga(s(T258), T259, X662))
U81_gga(T258, T259, T261, times69_out_gga(s(T258), T259, X662)) → times1_out_gga(s(s(T258)), T259, T261)
U80_gga(T258, T259, T261, even36_out_gg(T258, false)) → U82_gga(T258, T259, T261, times69_in_gga(s(T258), T259, T264))
U82_gga(T258, T259, T261, times69_out_gga(s(T258), T259, T264)) → U83_gga(T258, T259, T261, plus19_in_gaa(T259, T264, T261))
plus19_in_gaa(0, T42, T42) → plus19_out_gaa(0, T42, T42)
plus19_in_gaa(s(T49), T50, s(T52)) → U1_gaa(T49, T50, T52, plus19_in_gaa(T49, T50, T52))
U1_gaa(T49, T50, T52, plus19_out_gaa(T49, T50, T52)) → plus19_out_gaa(s(T49), T50, s(T52))
U83_gga(T258, T259, T261, plus19_out_gaa(T259, T264, T261)) → times1_out_gga(s(s(T258)), T259, T261)

The argument filtering Pi contains the following mapping:
times1_in_gga(x1, x2, x3)  =  times1_in_gga(x1, x2)
0  =  0
times1_out_gga(x1, x2, x3)  =  times1_out_gga(x1, x2)
s(x1)  =  s(x1)
U44_gga(x1, x2, x3)  =  U44_gga(x1, x3)
times18_in_ga(x1, x2)  =  times18_in_ga(x1)
times18_out_ga(x1, x2)  =  times18_out_ga(x1, x2)
U45_gga(x1, x2, x3)  =  U45_gga(x1, x3)
U46_gga(x1, x2, x3)  =  U46_gga(x1, x3)
plus19_in_gga(x1, x2, x3)  =  plus19_in_gga(x1, x2)
plus19_out_gga(x1, x2, x3)  =  plus19_out_gga(x1, x2, x3)
U1_gga(x1, x2, x3, x4)  =  U1_gga(x1, x2, x4)
U47_gga(x1, x2, x3, x4)  =  U47_gga(x1, x2, x4)
even36_in_ga(x1, x2)  =  even36_in_ga(x1)
even36_out_ga(x1, x2)  =  even36_out_ga(x1, x2)
U2_ga(x1, x2, x3)  =  U2_ga(x1, x3)
U48_gga(x1, x2, x3, x4)  =  U48_gga(x1, x2, x4)
even36_in_gg(x1, x2)  =  even36_in_gg(x1, x2)
true  =  true
even36_out_gg(x1, x2)  =  even36_out_gg(x1, x2)
false  =  false
U2_gg(x1, x2, x3)  =  U2_gg(x1, x2, x3)
U49_gga(x1, x2, x3, x4)  =  U49_gga(x1, x2, x4)
half56_in_ga(x1, x2)  =  half56_in_ga(x1)
U43_ga(x1, x2, x3)  =  U43_ga(x1, x3)
half60_in_ga(x1, x2)  =  half60_in_ga(x1)
half60_out_ga(x1, x2)  =  half60_out_ga(x1, x2)
U3_ga(x1, x2, x3)  =  U3_ga(x1, x3)
half56_out_ga(x1, x2)  =  half56_out_ga(x1, x2)
U50_gga(x1, x2, x3, x4)  =  U50_gga(x1, x2, x4)
U51_gga(x1, x2, x3, x4)  =  U51_gga(x1, x2, x4)
times69_in_gga(x1, x2, x3)  =  times69_in_gga(x1, x2)
times69_out_gga(x1, x2, x3)  =  times69_out_gga(x1, x2)
U4_gga(x1, x2, x3, x4)  =  U4_gga(x1, x2, x4)
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)
U8_gga(x1, x2, x3, x4)  =  U8_gga(x1, x2, x4)
U9_gga(x1, x2, x3)  =  U9_gga(x1, x2, x3)
U10_gga(x1, x2, x3)  =  U10_gga(x1, x2, x3)
U11_gga(x1, x2, x3)  =  U11_gga(x1, x2, x3)
times69_in_ggg(x1, x2, x3)  =  times69_in_ggg(x1, x2, x3)
times69_out_ggg(x1, x2, x3)  =  times69_out_ggg(x1, x2, x3)
U4_ggg(x1, x2, x3, x4)  =  U4_ggg(x1, x2, x3, x4)
U5_ggg(x1, x2, x3, x4)  =  U5_ggg(x1, x2, x3, x4)
U6_ggg(x1, x2, x3, x4)  =  U6_ggg(x1, x2, x3, x4)
U7_ggg(x1, x2, x3, x4)  =  U7_ggg(x1, x2, x3, x4)
U8_ggg(x1, x2, x3, x4)  =  U8_ggg(x1, x2, x3, x4)
U12_gga(x1, x2, x3)  =  U12_gga(x1, x2, x3)
U13_gga(x1, x2, x3)  =  U13_gga(x1, x2, x3)
U14_gga(x1, x2, x3)  =  U14_gga(x1, x2, x3)
U9_ggg(x1, x2, x3)  =  U9_ggg(x1, x2, x3)
U10_ggg(x1, x2, x3)  =  U10_ggg(x1, x2, x3)
U11_ggg(x1, x2, x3)  =  U11_ggg(x1, x2, x3)
U12_ggg(x1, x2, x3)  =  U12_ggg(x1, x2, x3)
U13_ggg(x1, x2, x3)  =  U13_ggg(x1, x2, x3)
U14_ggg(x1, x2, x3)  =  U14_ggg(x1, x2, x3)
U15_ggg(x1, x2, x3)  =  U15_ggg(x1, x2, x3)
U16_ggg(x1, x2, x3)  =  U16_ggg(x1, x2, x3)
U17_ggg(x1, x2, x3)  =  U17_ggg(x1, x2, x3)
U18_ggg(x1, x2, x3)  =  U18_ggg(x1, x2, x3)
U19_ggg(x1, x2, x3)  =  U19_ggg(x1, x2, x3)
U20_ggg(x1, x2, x3)  =  U20_ggg(x1, x2, x3)
U21_ggg(x1, x2, x3)  =  U21_ggg(x1, x2, x3)
U22_ggg(x1, x2, x3)  =  U22_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)  =  U26_ggg(x1, x2, x3)
U27_ggg(x1, x2, x3)  =  U27_ggg(x1, x2, x3)
U28_ggg(x1, x2, x3)  =  U28_ggg(x1, x2, x3)
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)  =  U32_ggg(x1, x2, x3)
U33_ggg(x1, x2, x3, x4)  =  U33_ggg(x1, x2, x3, x4)
U34_ggg(x1, x2, x3, x4)  =  U34_ggg(x1, x2, x3, x4)
U35_ggg(x1, x2, x3, x4)  =  U35_ggg(x1, x2, x3, x4)
U15_gga(x1, x2, x3)  =  U15_gga(x1, x2, x3)
U16_gga(x1, x2, x3)  =  U16_gga(x1, x2, x3)
U17_gga(x1, x2, x3)  =  U17_gga(x1, x2, x3)
U37_ggg(x1, x2, x3, x4)  =  U37_ggg(x1, x2, x3, x4)
U38_ggg(x1, x2, x3, x4)  =  U38_ggg(x1, x2, x3, x4)
U18_gga(x1, x2, x3)  =  U18_gga(x1, x2, x3)
U19_gga(x1, x2, x3)  =  U19_gga(x1, x2, x3)
U20_gga(x1, x2, x3)  =  U20_gga(x1, x2, x3)
U21_gga(x1, x2, x3)  =  U21_gga(x1, x2, x3)
U22_gga(x1, x2, x3)  =  U22_gga(x1, x2, x3)
U23_gga(x1, x2, x3)  =  U23_gga(x1, x2, x3)
U24_gga(x1, x2, x3)  =  U24_gga(x1, x2, x3)
U25_gga(x1, x2, x3)  =  U25_gga(x1, x2, x3)
U26_gga(x1, x2, x3)  =  U26_gga(x1, x2, x3)
U27_gga(x1, x2, x3)  =  U27_gga(x1, x2, x3)
U28_gga(x1, x2, x3)  =  U28_gga(x1, x2, x3)
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)  =  U32_gga(x1, x2, x3)
U33_gga(x1, x2, x3, x4)  =  U33_gga(x1, x2, x4)
U34_gga(x1, x2, x3, x4)  =  U34_gga(x1, x2, x4)
U35_gga(x1, x2, x3, x4)  =  U35_gga(x1, x2, x4)
U37_gga(x1, x2, x3, x4)  =  U37_gga(x1, x2, x4)
U38_gga(x1, x2, x3, x4)  =  U38_gga(x1, x2, x4)
U39_gga(x1, x2, x3, x4)  =  U39_gga(x1, x2, x4)
U40_gga(x1, x2, x3, x4)  =  U40_gga(x1, x2, x4)
plus166_in_gaa(x1, x2, x3)  =  plus166_in_gaa(x1)
plus166_out_gaa(x1, x2, x3)  =  plus166_out_gaa(x1)
U42_gaa(x1, x2, x3, x4)  =  U42_gaa(x1, x4)
U36_gga(x1, x2, x3, x4)  =  U36_gga(x1, x2, x4)
plus154_in_aaa(x1, x2, x3)  =  plus154_in_aaa
plus154_out_aaa(x1, x2, x3)  =  plus154_out_aaa(x1)
U41_aaa(x1, x2, x3, x4)  =  U41_aaa(x4)
U39_ggg(x1, x2, x3, x4)  =  U39_ggg(x1, x2, x3, x4)
U40_ggg(x1, x2, x3, x4)  =  U40_ggg(x1, x2, x3, x4)
plus166_in_gag(x1, x2, x3)  =  plus166_in_gag(x1, x3)
plus166_out_gag(x1, x2, x3)  =  plus166_out_gag(x1, x2, x3)
U42_gag(x1, x2, x3, x4)  =  U42_gag(x1, x3, x4)
U36_ggg(x1, x2, x3, x4)  =  U36_ggg(x1, x2, x3, x4)
plus154_in_aag(x1, x2, x3)  =  plus154_in_aag(x3)
plus154_out_aag(x1, x2, x3)  =  plus154_out_aag(x1, x2, x3)
U41_aag(x1, x2, x3, x4)  =  U41_aag(x3, x4)
U52_gga(x1, x2, x3)  =  U52_gga(x1, x2, x3)
U53_gga(x1, x2, x3)  =  U53_gga(x1, x2, x3)
U54_gga(x1, x2, x3)  =  U54_gga(x1, x2, x3)
U55_gga(x1, x2, x3)  =  U55_gga(x1, x2, x3)
U56_gga(x1, x2, x3)  =  U56_gga(x1, x2, x3)
U57_gga(x1, x2, x3)  =  U57_gga(x1, x2, x3)
U58_gga(x1, x2, x3)  =  U58_gga(x1, x2, x3)
U59_gga(x1, x2, x3)  =  U59_gga(x1, x2, x3)
U60_gga(x1, x2, x3)  =  U60_gga(x1, x2, x3)
U61_gga(x1, x2, x3)  =  U61_gga(x1, x2, x3)
U62_gga(x1, x2, x3)  =  U62_gga(x1, x2, x3)
U63_gga(x1, x2, x3)  =  U63_gga(x1, x2, x3)
U64_gga(x1, x2, x3)  =  U64_gga(x1, x2, x3)
U65_gga(x1, x2, x3)  =  U65_gga(x1, x2, x3)
U66_gga(x1, x2, x3)  =  U66_gga(x1, x2, x3)
U67_gga(x1, x2, x3)  =  U67_gga(x1, x2, x3)
U68_gga(x1, x2, x3)  =  U68_gga(x1, x2, x3)
U69_gga(x1, x2, x3)  =  U69_gga(x1, x2, x3)
U70_gga(x1, x2, x3)  =  U70_gga(x1, x2, x3)
U71_gga(x1, x2, x3)  =  U71_gga(x1, x2, x3)
U72_gga(x1, x2, x3)  =  U72_gga(x1, x2, x3)
U73_gga(x1, x2, x3)  =  U73_gga(x1, x2, x3)
U74_gga(x1, x2, x3)  =  U74_gga(x1, x2, x3)
U75_gga(x1, x2, x3)  =  U75_gga(x1, x2, x3)
U76_gga(x1, x2, x3, x4)  =  U76_gga(x1, x2, x4)
U77_gga(x1, x2, x3, x4)  =  U77_gga(x1, x2, x4)
U78_gga(x1, x2, x3, x4)  =  U78_gga(x1, x2, x4)
U79_gga(x1, x2, x3, x4)  =  U79_gga(x1, x2, x4)
plus19_in_aaa(x1, x2, x3)  =  plus19_in_aaa
plus19_out_aaa(x1, x2, x3)  =  plus19_out_aaa(x1)
U1_aaa(x1, x2, x3, x4)  =  U1_aaa(x4)
U80_gga(x1, x2, x3, x4)  =  U80_gga(x1, x2, x4)
U81_gga(x1, x2, x3, x4)  =  U81_gga(x1, x2, x4)
U82_gga(x1, x2, x3, x4)  =  U82_gga(x1, x2, x4)
U83_gga(x1, x2, x3, x4)  =  U83_gga(x1, x2, x4)
plus19_in_gaa(x1, x2, x3)  =  plus19_in_gaa(x1)
plus19_out_gaa(x1, x2, x3)  =  plus19_out_gaa(x1)
U1_gaa(x1, x2, x3, x4)  =  U1_gaa(x1, 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:

TIMES1_IN_GGA(s(0), T23, T25) → U44_GGA(T23, T25, times18_in_ga(T23, X45))
TIMES1_IN_GGA(s(0), T23, T25) → TIMES18_IN_GA(T23, X45)
TIMES1_IN_GGA(s(0), T23, T25) → U45_GGA(T23, T25, times18_in_ga(T23, T29))
U45_GGA(T23, T25, times18_out_ga(T23, T29)) → U46_GGA(T23, T25, plus19_in_gga(T23, T29, T25))
U45_GGA(T23, T25, times18_out_ga(T23, T29)) → PLUS19_IN_GGA(T23, T29, T25)
PLUS19_IN_GGA(s(T49), T50, s(T52)) → U1_GGA(T49, T50, T52, plus19_in_gga(T49, T50, T52))
PLUS19_IN_GGA(s(T49), T50, s(T52)) → PLUS19_IN_GGA(T49, T50, T52)
TIMES1_IN_GGA(s(s(T57)), T10, T12) → U47_GGA(T57, T10, T12, even36_in_ga(T57, X90))
TIMES1_IN_GGA(s(s(T57)), T10, T12) → EVEN36_IN_GA(T57, X90)
EVEN36_IN_GA(s(s(T61)), X101) → U2_GA(T61, X101, even36_in_ga(T61, X101))
EVEN36_IN_GA(s(s(T61)), X101) → EVEN36_IN_GA(T61, X101)
TIMES1_IN_GGA(s(s(T77)), T78, T80) → U48_GGA(T77, T78, T80, even36_in_gg(T77, true))
TIMES1_IN_GGA(s(s(T77)), T78, T80) → EVEN36_IN_GG(T77, true)
EVEN36_IN_GG(s(s(T61)), X101) → U2_GG(T61, X101, even36_in_gg(T61, X101))
EVEN36_IN_GG(s(s(T61)), X101) → EVEN36_IN_GG(T61, X101)
U48_GGA(T77, T78, T80, even36_out_gg(T77, true)) → U49_GGA(T77, T78, T80, half56_in_ga(T77, X128))
U48_GGA(T77, T78, T80, even36_out_gg(T77, true)) → HALF56_IN_GA(T77, X128)
HALF56_IN_GA(T86, s(X147)) → U43_GA(T86, X147, half60_in_ga(T86, X147))
HALF56_IN_GA(T86, s(X147)) → HALF60_IN_GA(T86, X147)
HALF60_IN_GA(s(s(T89)), s(X156)) → U3_GA(T89, X156, half60_in_ga(T89, X156))
HALF60_IN_GA(s(s(T89)), s(X156)) → HALF60_IN_GA(T89, X156)
U48_GGA(T77, T78, T80, even36_out_gg(T77, true)) → U50_GGA(T77, T78, T80, half56_in_ga(T77, T82))
U50_GGA(T77, T78, T80, half56_out_ga(T77, T82)) → U51_GGA(T77, T78, T80, times69_in_gga(T82, T78, X129))
U50_GGA(T77, T78, T80, half56_out_ga(T77, T82)) → TIMES69_IN_GGA(T82, T78, X129)
TIMES69_IN_GGA(s(T104), T105, X182) → U4_GGA(T104, T105, X182, even36_in_ga(s(T104), X181))
TIMES69_IN_GGA(s(T104), T105, X182) → EVEN36_IN_GA(s(T104), X181)
TIMES69_IN_GGA(s(T117), T118, X217) → U5_GGA(T117, T118, X217, even36_in_gg(s(T117), true))
TIMES69_IN_GGA(s(T117), T118, X217) → EVEN36_IN_GG(s(T117), true)
U5_GGA(T117, T118, X217, even36_out_gg(s(T117), true)) → U6_GGA(T117, T118, X217, half60_in_ga(s(T117), X215))
U5_GGA(T117, T118, X217, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), X215)
U5_GGA(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_GGA(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_GGA(T117, T118, X217, half60_out_ga(s(T117), T120)) → U8_GGA(T117, T118, X217, times69_in_gga(T120, T118, X216))
U7_GGA(T117, T118, X217, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGA(T120, T118, X216)
TIMES69_IN_GGA(s(T117), T118, 0) → U9_GGA(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGA(s(T117), T118, 0) → EVEN36_IN_GG(s(T117), true)
U9_GGA(T117, T118, even36_out_gg(s(T117), true)) → U10_GGA(T117, T118, half60_in_ga(s(T117), T120))
U9_GGA(T117, T118, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), T120)
U10_GGA(T117, T118, half60_out_ga(s(T117), T120)) → U11_GGA(T117, T118, times69_in_ggg(T120, T118, 0))
U10_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, 0)
TIMES69_IN_GGG(s(T104), T105, X182) → U4_GGG(T104, T105, X182, even36_in_ga(s(T104), X181))
TIMES69_IN_GGG(s(T104), T105, X182) → EVEN36_IN_GA(s(T104), X181)
TIMES69_IN_GGG(s(T117), T118, X217) → U5_GGG(T117, T118, X217, even36_in_gg(s(T117), true))
TIMES69_IN_GGG(s(T117), T118, X217) → EVEN36_IN_GG(s(T117), true)
U5_GGG(T117, T118, X217, even36_out_gg(s(T117), true)) → U6_GGG(T117, T118, X217, half60_in_ga(s(T117), X215))
U5_GGG(T117, T118, X217, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), X215)
U5_GGG(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_GGG(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_GGG(T117, T118, X217, half60_out_ga(s(T117), T120)) → U8_GGG(T117, T118, X217, times69_in_gga(T120, T118, X216))
U7_GGG(T117, T118, X217, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGA(T120, T118, X216)
TIMES69_IN_GGA(s(T117), T118, s(s(0))) → U12_GGA(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGA(s(T117), T118, s(s(0))) → EVEN36_IN_GG(s(T117), true)
U12_GGA(T117, T118, even36_out_gg(s(T117), true)) → U13_GGA(T117, T118, half60_in_ga(s(T117), T120))
U12_GGA(T117, T118, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), T120)
U13_GGA(T117, T118, half60_out_ga(s(T117), T120)) → U14_GGA(T117, T118, times69_in_ggg(T120, T118, s(0)))
U13_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(0))
TIMES69_IN_GGG(s(T117), T118, 0) → U9_GGG(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGG(s(T117), T118, 0) → EVEN36_IN_GG(s(T117), true)
U9_GGG(T117, T118, even36_out_gg(s(T117), true)) → U10_GGG(T117, T118, half60_in_ga(s(T117), T120))
U9_GGG(T117, T118, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), T120)
U10_GGG(T117, T118, half60_out_ga(s(T117), T120)) → U11_GGG(T117, T118, times69_in_ggg(T120, T118, 0))
U10_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, 0)
TIMES69_IN_GGG(s(T117), T118, s(s(0))) → U12_GGG(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGG(s(T117), T118, s(s(0))) → EVEN36_IN_GG(s(T117), true)
U12_GGG(T117, T118, even36_out_gg(s(T117), true)) → U13_GGG(T117, T118, half60_in_ga(s(T117), T120))
U12_GGG(T117, T118, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), T120)
U13_GGG(T117, T118, half60_out_ga(s(T117), T120)) → U14_GGG(T117, T118, times69_in_ggg(T120, T118, s(0)))
U13_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(0))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(0))))) → U15_GGG(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(0))))) → EVEN36_IN_GG(s(T117), true)
U15_GGG(T117, T118, even36_out_gg(s(T117), true)) → U16_GGG(T117, T118, half60_in_ga(s(T117), T120))
U15_GGG(T117, T118, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), T120)
U16_GGG(T117, T118, half60_out_ga(s(T117), T120)) → U17_GGG(T117, T118, times69_in_ggg(T120, T118, s(s(0))))
U16_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(0)))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_GGG(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(s(s(0))))))) → EVEN36_IN_GG(s(T117), true)
U18_GGG(T117, T118, even36_out_gg(s(T117), true)) → U19_GGG(T117, T118, half60_in_ga(s(T117), T120))
U18_GGG(T117, T118, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), T120)
U19_GGG(T117, T118, half60_out_ga(s(T117), T120)) → U20_GGG(T117, T118, times69_in_ggg(T120, T118, s(s(s(0)))))
U19_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(0))))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → U21_GGG(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → EVEN36_IN_GG(s(T117), true)
U21_GGG(T117, T118, even36_out_gg(s(T117), true)) → U22_GGG(T117, T118, half60_in_ga(s(T117), T120))
U21_GGG(T117, T118, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), T120)
U22_GGG(T117, T118, half60_out_ga(s(T117), T120)) → U23_GGG(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(0))))))
U22_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(0)))))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U24_GGG(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → EVEN36_IN_GG(s(T117), true)
U24_GGG(T117, T118, even36_out_gg(s(T117), true)) → U25_GGG(T117, T118, half60_in_ga(s(T117), T120))
U24_GGG(T117, T118, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), T120)
U25_GGG(T117, T118, half60_out_ga(s(T117), T120)) → U26_GGG(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(0)))))))
U25_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(0))))))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U27_GGG(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → EVEN36_IN_GG(s(T117), true)
U27_GGG(T117, T118, even36_out_gg(s(T117), true)) → U28_GGG(T117, T118, half60_in_ga(s(T117), T120))
U27_GGG(T117, T118, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), T120)
U28_GGG(T117, T118, half60_out_ga(s(T117), T120)) → U29_GGG(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(0))))))))
U28_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(s(0)))))))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U30_GGG(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → EVEN36_IN_GG(s(T117), true)
U30_GGG(T117, T118, even36_out_gg(s(T117), true)) → U31_GGG(T117, T118, half60_in_ga(s(T117), T120))
U30_GGG(T117, T118, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), T120)
U31_GGG(T117, T118, half60_out_ga(s(T117), T120)) → U32_GGG(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(s(0)))))))))
U31_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(s(s(0))))))))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → U33_GGG(T117, T118, X411, even36_in_gg(s(T117), true))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → EVEN36_IN_GG(s(T117), true)
U33_GGG(T117, T118, X411, even36_out_gg(s(T117), true)) → U34_GGG(T117, T118, X411, half60_in_ga(s(T117), T120))
U33_GGG(T117, T118, X411, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), T120)
U34_GGG(T117, T118, X411, half60_out_ga(s(T117), T120)) → U35_GGG(T117, T118, X411, times69_in_gga(T120, T118, s(s(s(s(s(s(s(s(T150))))))))))
U34_GGG(T117, T118, X411, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGA(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(0))))) → U15_GGA(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(0))))) → EVEN36_IN_GG(s(T117), true)
U15_GGA(T117, T118, even36_out_gg(s(T117), true)) → U16_GGA(T117, T118, half60_in_ga(s(T117), T120))
U15_GGA(T117, T118, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), T120)
U16_GGA(T117, T118, half60_out_ga(s(T117), T120)) → U17_GGA(T117, T118, times69_in_ggg(T120, T118, s(s(0))))
U16_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(0)))
TIMES69_IN_GGG(s(T171), T172, X455) → U37_GGG(T171, T172, X455, even36_in_gg(s(T171), false))
TIMES69_IN_GGG(s(T171), T172, X455) → EVEN36_IN_GG(s(T171), false)
U37_GGG(T171, T172, X455, even36_out_gg(s(T171), false)) → U38_GGG(T171, T172, X455, times69_in_gga(T171, T172, X454))
U37_GGG(T171, T172, X455, even36_out_gg(s(T171), false)) → TIMES69_IN_GGA(T171, T172, X454)
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_GGA(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(s(s(0))))))) → EVEN36_IN_GG(s(T117), true)
U18_GGA(T117, T118, even36_out_gg(s(T117), true)) → U19_GGA(T117, T118, half60_in_ga(s(T117), T120))
U18_GGA(T117, T118, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), T120)
U19_GGA(T117, T118, half60_out_ga(s(T117), T120)) → U20_GGA(T117, T118, times69_in_ggg(T120, T118, s(s(s(0)))))
U19_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(0))))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → U21_GGA(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → EVEN36_IN_GG(s(T117), true)
U21_GGA(T117, T118, even36_out_gg(s(T117), true)) → U22_GGA(T117, T118, half60_in_ga(s(T117), T120))
U21_GGA(T117, T118, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), T120)
U22_GGA(T117, T118, half60_out_ga(s(T117), T120)) → U23_GGA(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(0))))))
U22_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(0)))))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U24_GGA(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → EVEN36_IN_GG(s(T117), true)
U24_GGA(T117, T118, even36_out_gg(s(T117), true)) → U25_GGA(T117, T118, half60_in_ga(s(T117), T120))
U24_GGA(T117, T118, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), T120)
U25_GGA(T117, T118, half60_out_ga(s(T117), T120)) → U26_GGA(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(0)))))))
U25_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(0))))))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U27_GGA(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → EVEN36_IN_GG(s(T117), true)
U27_GGA(T117, T118, even36_out_gg(s(T117), true)) → U28_GGA(T117, T118, half60_in_ga(s(T117), T120))
U27_GGA(T117, T118, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), T120)
U28_GGA(T117, T118, half60_out_ga(s(T117), T120)) → U29_GGA(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(0))))))))
U28_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(s(0)))))))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U30_GGA(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → EVEN36_IN_GG(s(T117), true)
U30_GGA(T117, T118, even36_out_gg(s(T117), true)) → U31_GGA(T117, T118, half60_in_ga(s(T117), T120))
U30_GGA(T117, T118, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), T120)
U31_GGA(T117, T118, half60_out_ga(s(T117), T120)) → U32_GGA(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(s(0)))))))))
U31_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(s(s(0))))))))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → U33_GGA(T117, T118, X411, even36_in_gg(s(T117), true))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → EVEN36_IN_GG(s(T117), true)
U33_GGA(T117, T118, X411, even36_out_gg(s(T117), true)) → U34_GGA(T117, T118, X411, half60_in_ga(s(T117), T120))
U33_GGA(T117, T118, X411, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), T120)
U34_GGA(T117, T118, X411, half60_out_ga(s(T117), T120)) → U35_GGA(T117, T118, X411, times69_in_gga(T120, T118, s(s(s(s(s(s(s(s(T150))))))))))
U34_GGA(T117, T118, X411, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGA(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))
TIMES69_IN_GGA(s(T171), T172, X455) → U37_GGA(T171, T172, X455, even36_in_gg(s(T171), false))
TIMES69_IN_GGA(s(T171), T172, X455) → EVEN36_IN_GG(s(T171), false)
U37_GGA(T171, T172, X455, even36_out_gg(s(T171), false)) → U38_GGA(T171, T172, X455, times69_in_gga(T171, T172, X454))
U37_GGA(T171, T172, X455, even36_out_gg(s(T171), false)) → TIMES69_IN_GGA(T171, T172, X454)
U37_GGA(T171, T172, X455, even36_out_gg(s(T171), false)) → U39_GGA(T171, T172, X455, times69_in_gga(T171, T172, T175))
U39_GGA(T171, T172, X455, times69_out_gga(T171, T172, T175)) → U40_GGA(T171, T172, X455, plus166_in_gaa(T172, T175, X455))
U39_GGA(T171, T172, X455, times69_out_gga(T171, T172, T175)) → PLUS166_IN_GAA(T172, T175, X455)
PLUS166_IN_GAA(s(T189), T190, s(X482)) → U42_GAA(T189, T190, X482, plus166_in_gaa(T189, T190, X482))
PLUS166_IN_GAA(s(T189), T190, s(X482)) → PLUS166_IN_GAA(T189, T190, X482)
U35_GGA(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → U36_GGA(T117, T118, X411, plus154_in_aaa(T150, s(s(s(s(s(s(s(T150))))))), X411))
U35_GGA(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → PLUS154_IN_AAA(T150, s(s(s(s(s(s(s(T150))))))), X411)
PLUS154_IN_AAA(s(T163), T164, s(X436)) → U41_AAA(T163, T164, X436, plus154_in_aaa(T163, T164, X436))
PLUS154_IN_AAA(s(T163), T164, s(X436)) → PLUS154_IN_AAA(T163, T164, X436)
U37_GGG(T171, T172, X455, even36_out_gg(s(T171), false)) → U39_GGG(T171, T172, X455, times69_in_gga(T171, T172, T175))
U39_GGG(T171, T172, X455, times69_out_gga(T171, T172, T175)) → U40_GGG(T171, T172, X455, plus166_in_gag(T172, T175, X455))
U39_GGG(T171, T172, X455, times69_out_gga(T171, T172, T175)) → PLUS166_IN_GAG(T172, T175, X455)
PLUS166_IN_GAG(s(T189), T190, s(X482)) → U42_GAG(T189, T190, X482, plus166_in_gag(T189, T190, X482))
PLUS166_IN_GAG(s(T189), T190, s(X482)) → PLUS166_IN_GAG(T189, T190, X482)
U35_GGG(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → U36_GGG(T117, T118, X411, plus154_in_aag(T150, s(s(s(s(s(s(s(T150))))))), X411))
U35_GGG(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → PLUS154_IN_AAG(T150, s(s(s(s(s(s(s(T150))))))), X411)
PLUS154_IN_AAG(s(T163), T164, s(X436)) → U41_AAG(T163, T164, X436, plus154_in_aag(T163, T164, X436))
PLUS154_IN_AAG(s(T163), T164, s(X436)) → PLUS154_IN_AAG(T163, T164, X436)
TIMES1_IN_GGA(s(s(T77)), T78, 0) → U52_GGA(T77, T78, even36_in_gg(T77, true))
TIMES1_IN_GGA(s(s(T77)), T78, 0) → EVEN36_IN_GG(T77, true)
U52_GGA(T77, T78, even36_out_gg(T77, true)) → U53_GGA(T77, T78, half56_in_ga(T77, T82))
U52_GGA(T77, T78, even36_out_gg(T77, true)) → HALF56_IN_GA(T77, T82)
U53_GGA(T77, T78, half56_out_ga(T77, T82)) → U54_GGA(T77, T78, times69_in_ggg(T82, T78, 0))
U53_GGA(T77, T78, half56_out_ga(T77, T82)) → TIMES69_IN_GGG(T82, T78, 0)
TIMES1_IN_GGA(s(s(T77)), T78, s(s(0))) → U55_GGA(T77, T78, even36_in_gg(T77, true))
TIMES1_IN_GGA(s(s(T77)), T78, s(s(0))) → EVEN36_IN_GG(T77, true)
U55_GGA(T77, T78, even36_out_gg(T77, true)) → U56_GGA(T77, T78, half56_in_ga(T77, T82))
U55_GGA(T77, T78, even36_out_gg(T77, true)) → HALF56_IN_GA(T77, T82)
U56_GGA(T77, T78, half56_out_ga(T77, T82)) → U57_GGA(T77, T78, times69_in_ggg(T82, T78, s(0)))
U56_GGA(T77, T78, half56_out_ga(T77, T82)) → TIMES69_IN_GGG(T82, T78, s(0))
TIMES1_IN_GGA(s(s(T77)), T78, s(s(s(s(0))))) → U58_GGA(T77, T78, even36_in_gg(T77, true))
TIMES1_IN_GGA(s(s(T77)), T78, s(s(s(s(0))))) → EVEN36_IN_GG(T77, true)
U58_GGA(T77, T78, even36_out_gg(T77, true)) → U59_GGA(T77, T78, half56_in_ga(T77, T82))
U58_GGA(T77, T78, even36_out_gg(T77, true)) → HALF56_IN_GA(T77, T82)
U59_GGA(T77, T78, half56_out_ga(T77, T82)) → U60_GGA(T77, T78, times69_in_ggg(T82, T78, s(s(0))))
U59_GGA(T77, T78, half56_out_ga(T77, T82)) → TIMES69_IN_GGG(T82, T78, s(s(0)))
TIMES1_IN_GGA(s(s(T77)), T78, s(s(s(s(s(s(0))))))) → U61_GGA(T77, T78, even36_in_gg(T77, true))
TIMES1_IN_GGA(s(s(T77)), T78, s(s(s(s(s(s(0))))))) → EVEN36_IN_GG(T77, true)
U61_GGA(T77, T78, even36_out_gg(T77, true)) → U62_GGA(T77, T78, half56_in_ga(T77, T82))
U61_GGA(T77, T78, even36_out_gg(T77, true)) → HALF56_IN_GA(T77, T82)
U62_GGA(T77, T78, half56_out_ga(T77, T82)) → U63_GGA(T77, T78, times69_in_ggg(T82, T78, s(s(s(0)))))
U62_GGA(T77, T78, half56_out_ga(T77, T82)) → TIMES69_IN_GGG(T82, T78, s(s(s(0))))
TIMES1_IN_GGA(s(s(T77)), T78, s(s(s(s(s(s(s(s(0))))))))) → U64_GGA(T77, T78, even36_in_gg(T77, true))
TIMES1_IN_GGA(s(s(T77)), T78, s(s(s(s(s(s(s(s(0))))))))) → EVEN36_IN_GG(T77, true)
U64_GGA(T77, T78, even36_out_gg(T77, true)) → U65_GGA(T77, T78, half56_in_ga(T77, T82))
U64_GGA(T77, T78, even36_out_gg(T77, true)) → HALF56_IN_GA(T77, T82)
U65_GGA(T77, T78, half56_out_ga(T77, T82)) → U66_GGA(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(0))))))
U65_GGA(T77, T78, half56_out_ga(T77, T82)) → TIMES69_IN_GGG(T82, T78, s(s(s(s(0)))))
TIMES1_IN_GGA(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U67_GGA(T77, T78, even36_in_gg(T77, true))
TIMES1_IN_GGA(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(0))))))))))) → EVEN36_IN_GG(T77, true)
U67_GGA(T77, T78, even36_out_gg(T77, true)) → U68_GGA(T77, T78, half56_in_ga(T77, T82))
U67_GGA(T77, T78, even36_out_gg(T77, true)) → HALF56_IN_GA(T77, T82)
U68_GGA(T77, T78, half56_out_ga(T77, T82)) → U69_GGA(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(0)))))))
U68_GGA(T77, T78, half56_out_ga(T77, T82)) → TIMES69_IN_GGG(T82, T78, s(s(s(s(s(0))))))
TIMES1_IN_GGA(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U70_GGA(T77, T78, even36_in_gg(T77, true))
TIMES1_IN_GGA(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → EVEN36_IN_GG(T77, true)
U70_GGA(T77, T78, even36_out_gg(T77, true)) → U71_GGA(T77, T78, half56_in_ga(T77, T82))
U70_GGA(T77, T78, even36_out_gg(T77, true)) → HALF56_IN_GA(T77, T82)
U71_GGA(T77, T78, half56_out_ga(T77, T82)) → U72_GGA(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(s(0))))))))
U71_GGA(T77, T78, half56_out_ga(T77, T82)) → TIMES69_IN_GGG(T82, T78, s(s(s(s(s(s(0)))))))
TIMES1_IN_GGA(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U73_GGA(T77, T78, even36_in_gg(T77, true))
TIMES1_IN_GGA(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → EVEN36_IN_GG(T77, true)
U73_GGA(T77, T78, even36_out_gg(T77, true)) → U74_GGA(T77, T78, half56_in_ga(T77, T82))
U73_GGA(T77, T78, even36_out_gg(T77, true)) → HALF56_IN_GA(T77, T82)
U74_GGA(T77, T78, half56_out_ga(T77, T82)) → U75_GGA(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(s(s(0)))))))))
U74_GGA(T77, T78, half56_out_ga(T77, T82)) → TIMES69_IN_GGG(T82, T78, s(s(s(s(s(s(s(0))))))))
TIMES1_IN_GGA(s(s(T77)), T78, s(s(s(s(s(s(s(s(T248))))))))) → U76_GGA(T77, T78, T248, even36_in_gg(T77, true))
TIMES1_IN_GGA(s(s(T77)), T78, s(s(s(s(s(s(s(s(T248))))))))) → EVEN36_IN_GG(T77, true)
U76_GGA(T77, T78, T248, even36_out_gg(T77, true)) → U77_GGA(T77, T78, T248, half56_in_ga(T77, T82))
U76_GGA(T77, T78, T248, even36_out_gg(T77, true)) → HALF56_IN_GA(T77, T82)
U77_GGA(T77, T78, T248, half56_out_ga(T77, T82)) → U78_GGA(T77, T78, T248, times69_in_gga(T82, T78, s(s(s(s(s(s(s(s(T246))))))))))
U77_GGA(T77, T78, T248, half56_out_ga(T77, T82)) → TIMES69_IN_GGA(T82, T78, s(s(s(s(s(s(s(s(T246)))))))))
U78_GGA(T77, T78, T248, times69_out_gga(T82, T78, s(s(s(s(s(s(s(s(T246)))))))))) → U79_GGA(T77, T78, T248, plus19_in_aaa(T246, s(s(s(s(s(s(s(s(T246)))))))), T248))
U78_GGA(T77, T78, T248, times69_out_gga(T82, T78, s(s(s(s(s(s(s(s(T246)))))))))) → PLUS19_IN_AAA(T246, s(s(s(s(s(s(s(s(T246)))))))), T248)
PLUS19_IN_AAA(s(T49), T50, s(T52)) → U1_AAA(T49, T50, T52, plus19_in_aaa(T49, T50, T52))
PLUS19_IN_AAA(s(T49), T50, s(T52)) → PLUS19_IN_AAA(T49, T50, T52)
TIMES1_IN_GGA(s(s(T258)), T259, T261) → U80_GGA(T258, T259, T261, even36_in_gg(T258, false))
TIMES1_IN_GGA(s(s(T258)), T259, T261) → EVEN36_IN_GG(T258, false)
U80_GGA(T258, T259, T261, even36_out_gg(T258, false)) → U81_GGA(T258, T259, T261, times69_in_gga(s(T258), T259, X662))
U80_GGA(T258, T259, T261, even36_out_gg(T258, false)) → TIMES69_IN_GGA(s(T258), T259, X662)
U80_GGA(T258, T259, T261, even36_out_gg(T258, false)) → U82_GGA(T258, T259, T261, times69_in_gga(s(T258), T259, T264))
U82_GGA(T258, T259, T261, times69_out_gga(s(T258), T259, T264)) → U83_GGA(T258, T259, T261, plus19_in_gaa(T259, T264, T261))
U82_GGA(T258, T259, T261, times69_out_gga(s(T258), T259, T264)) → PLUS19_IN_GAA(T259, T264, T261)
PLUS19_IN_GAA(s(T49), T50, s(T52)) → U1_GAA(T49, T50, T52, plus19_in_gaa(T49, T50, T52))
PLUS19_IN_GAA(s(T49), T50, s(T52)) → PLUS19_IN_GAA(T49, T50, T52)

The TRS R consists of the following rules:

times1_in_gga(0, T5, 0) → times1_out_gga(0, T5, 0)
times1_in_gga(s(0), T23, T25) → U44_gga(T23, T25, times18_in_ga(T23, X45))
times18_in_ga(T35, 0) → times18_out_ga(T35, 0)
U44_gga(T23, T25, times18_out_ga(T23, X45)) → times1_out_gga(s(0), T23, T25)
times1_in_gga(s(0), T23, T25) → U45_gga(T23, T25, times18_in_ga(T23, T29))
U45_gga(T23, T25, times18_out_ga(T23, T29)) → U46_gga(T23, T25, plus19_in_gga(T23, T29, T25))
plus19_in_gga(0, T42, T42) → plus19_out_gga(0, T42, T42)
plus19_in_gga(s(T49), T50, s(T52)) → U1_gga(T49, T50, T52, plus19_in_gga(T49, T50, T52))
U1_gga(T49, T50, T52, plus19_out_gga(T49, T50, T52)) → plus19_out_gga(s(T49), T50, s(T52))
U46_gga(T23, T25, plus19_out_gga(T23, T29, T25)) → times1_out_gga(s(0), T23, T25)
times1_in_gga(s(s(T57)), T10, T12) → U47_gga(T57, T10, T12, even36_in_ga(T57, X90))
even36_in_ga(0, true) → even36_out_ga(0, true)
even36_in_ga(s(0), false) → even36_out_ga(s(0), false)
even36_in_ga(s(s(T61)), X101) → U2_ga(T61, X101, even36_in_ga(T61, X101))
U2_ga(T61, X101, even36_out_ga(T61, X101)) → even36_out_ga(s(s(T61)), X101)
U47_gga(T57, T10, T12, even36_out_ga(T57, X90)) → times1_out_gga(s(s(T57)), T10, T12)
times1_in_gga(s(s(T77)), T78, T80) → U48_gga(T77, T78, T80, even36_in_gg(T77, true))
even36_in_gg(0, true) → even36_out_gg(0, true)
even36_in_gg(s(0), false) → even36_out_gg(s(0), false)
even36_in_gg(s(s(T61)), X101) → U2_gg(T61, X101, even36_in_gg(T61, X101))
U2_gg(T61, X101, even36_out_gg(T61, X101)) → even36_out_gg(s(s(T61)), X101)
U48_gga(T77, T78, T80, even36_out_gg(T77, true)) → U49_gga(T77, T78, T80, half56_in_ga(T77, X128))
half56_in_ga(T86, s(X147)) → U43_ga(T86, X147, half60_in_ga(T86, X147))
half60_in_ga(0, 0) → half60_out_ga(0, 0)
half60_in_ga(s(s(T89)), s(X156)) → U3_ga(T89, X156, half60_in_ga(T89, X156))
U3_ga(T89, X156, half60_out_ga(T89, X156)) → half60_out_ga(s(s(T89)), s(X156))
U43_ga(T86, X147, half60_out_ga(T86, X147)) → half56_out_ga(T86, s(X147))
U49_gga(T77, T78, T80, half56_out_ga(T77, X128)) → times1_out_gga(s(s(T77)), T78, T80)
U48_gga(T77, T78, T80, even36_out_gg(T77, true)) → U50_gga(T77, T78, T80, half56_in_ga(T77, T82))
U50_gga(T77, T78, T80, half56_out_ga(T77, T82)) → U51_gga(T77, T78, T80, times69_in_gga(T82, T78, X129))
times69_in_gga(0, T99, 0) → times69_out_gga(0, T99, 0)
times69_in_gga(s(T104), T105, X182) → U4_gga(T104, T105, X182, even36_in_ga(s(T104), X181))
U4_gga(T104, T105, X182, even36_out_ga(s(T104), X181)) → times69_out_gga(s(T104), T105, X182)
times69_in_gga(s(T117), T118, X217) → U5_gga(T117, T118, X217, even36_in_gg(s(T117), true))
U5_gga(T117, T118, X217, even36_out_gg(s(T117), true)) → U6_gga(T117, T118, X217, half60_in_ga(s(T117), X215))
U6_gga(T117, T118, X217, half60_out_ga(s(T117), X215)) → times69_out_gga(s(T117), T118, X217)
U5_gga(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_gga(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_gga(T117, T118, X217, half60_out_ga(s(T117), T120)) → U8_gga(T117, T118, X217, times69_in_gga(T120, T118, X216))
times69_in_gga(s(T117), T118, 0) → U9_gga(T117, T118, even36_in_gg(s(T117), true))
U9_gga(T117, T118, even36_out_gg(s(T117), true)) → U10_gga(T117, T118, half60_in_ga(s(T117), T120))
U10_gga(T117, T118, half60_out_ga(s(T117), T120)) → U11_gga(T117, T118, times69_in_ggg(T120, T118, 0))
times69_in_ggg(0, T99, 0) → times69_out_ggg(0, T99, 0)
times69_in_ggg(s(T104), T105, X182) → U4_ggg(T104, T105, X182, even36_in_ga(s(T104), X181))
U4_ggg(T104, T105, X182, even36_out_ga(s(T104), X181)) → times69_out_ggg(s(T104), T105, X182)
times69_in_ggg(s(T117), T118, X217) → U5_ggg(T117, T118, X217, even36_in_gg(s(T117), true))
U5_ggg(T117, T118, X217, even36_out_gg(s(T117), true)) → U6_ggg(T117, T118, X217, half60_in_ga(s(T117), X215))
U6_ggg(T117, T118, X217, half60_out_ga(s(T117), X215)) → times69_out_ggg(s(T117), T118, X217)
U5_ggg(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_ggg(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_ggg(T117, T118, X217, half60_out_ga(s(T117), T120)) → U8_ggg(T117, T118, X217, times69_in_gga(T120, T118, X216))
times69_in_gga(s(T117), T118, s(s(0))) → U12_gga(T117, T118, even36_in_gg(s(T117), true))
U12_gga(T117, T118, even36_out_gg(s(T117), true)) → U13_gga(T117, T118, half60_in_ga(s(T117), T120))
U13_gga(T117, T118, half60_out_ga(s(T117), T120)) → U14_gga(T117, T118, times69_in_ggg(T120, T118, s(0)))
times69_in_ggg(s(T117), T118, 0) → U9_ggg(T117, T118, even36_in_gg(s(T117), true))
U9_ggg(T117, T118, even36_out_gg(s(T117), true)) → U10_ggg(T117, T118, half60_in_ga(s(T117), T120))
U10_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U11_ggg(T117, T118, times69_in_ggg(T120, T118, 0))
times69_in_ggg(s(T117), T118, s(s(0))) → U12_ggg(T117, T118, even36_in_gg(s(T117), true))
U12_ggg(T117, T118, even36_out_gg(s(T117), true)) → U13_ggg(T117, T118, half60_in_ga(s(T117), T120))
U13_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U14_ggg(T117, T118, times69_in_ggg(T120, T118, s(0)))
times69_in_ggg(s(T117), T118, s(s(s(s(0))))) → U15_ggg(T117, T118, even36_in_gg(s(T117), true))
U15_ggg(T117, T118, even36_out_gg(s(T117), true)) → U16_ggg(T117, T118, half60_in_ga(s(T117), T120))
U16_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U17_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(0))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_ggg(T117, T118, even36_in_gg(s(T117), true))
U18_ggg(T117, T118, even36_out_gg(s(T117), true)) → U19_ggg(T117, T118, half60_in_ga(s(T117), T120))
U19_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U20_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(0)))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → U21_ggg(T117, T118, even36_in_gg(s(T117), true))
U21_ggg(T117, T118, even36_out_gg(s(T117), true)) → U22_ggg(T117, T118, half60_in_ga(s(T117), T120))
U22_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U23_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(0))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U24_ggg(T117, T118, even36_in_gg(s(T117), true))
U24_ggg(T117, T118, even36_out_gg(s(T117), true)) → U25_ggg(T117, T118, half60_in_ga(s(T117), T120))
U25_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U26_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(0)))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U27_ggg(T117, T118, even36_in_gg(s(T117), true))
U27_ggg(T117, T118, even36_out_gg(s(T117), true)) → U28_ggg(T117, T118, half60_in_ga(s(T117), T120))
U28_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U29_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(0))))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U30_ggg(T117, T118, even36_in_gg(s(T117), true))
U30_ggg(T117, T118, even36_out_gg(s(T117), true)) → U31_ggg(T117, T118, half60_in_ga(s(T117), T120))
U31_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U32_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(s(0)))))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → U33_ggg(T117, T118, X411, even36_in_gg(s(T117), true))
U33_ggg(T117, T118, X411, even36_out_gg(s(T117), true)) → U34_ggg(T117, T118, X411, half60_in_ga(s(T117), T120))
U34_ggg(T117, T118, X411, half60_out_ga(s(T117), T120)) → U35_ggg(T117, T118, X411, times69_in_gga(T120, T118, s(s(s(s(s(s(s(s(T150))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(0))))) → U15_gga(T117, T118, even36_in_gg(s(T117), true))
U15_gga(T117, T118, even36_out_gg(s(T117), true)) → U16_gga(T117, T118, half60_in_ga(s(T117), T120))
U16_gga(T117, T118, half60_out_ga(s(T117), T120)) → U17_gga(T117, T118, times69_in_ggg(T120, T118, s(s(0))))
times69_in_ggg(s(T171), T172, X455) → U37_ggg(T171, T172, X455, even36_in_gg(s(T171), false))
U37_ggg(T171, T172, X455, even36_out_gg(s(T171), false)) → U38_ggg(T171, T172, X455, times69_in_gga(T171, T172, X454))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_gga(T117, T118, even36_in_gg(s(T117), true))
U18_gga(T117, T118, even36_out_gg(s(T117), true)) → U19_gga(T117, T118, half60_in_ga(s(T117), T120))
U19_gga(T117, T118, half60_out_ga(s(T117), T120)) → U20_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(0)))))
U20_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(0))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(0)))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → U21_gga(T117, T118, even36_in_gg(s(T117), true))
U21_gga(T117, T118, even36_out_gg(s(T117), true)) → U22_gga(T117, T118, half60_in_ga(s(T117), T120))
U22_gga(T117, T118, half60_out_ga(s(T117), T120)) → U23_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(0))))))
U23_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(0)))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(0)))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U24_gga(T117, T118, even36_in_gg(s(T117), true))
U24_gga(T117, T118, even36_out_gg(s(T117), true)) → U25_gga(T117, T118, half60_in_ga(s(T117), T120))
U25_gga(T117, T118, half60_out_ga(s(T117), T120)) → U26_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(0)))))))
U26_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(0))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0)))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U27_gga(T117, T118, even36_in_gg(s(T117), true))
U27_gga(T117, T118, even36_out_gg(s(T117), true)) → U28_gga(T117, T118, half60_in_ga(s(T117), T120))
U28_gga(T117, T118, half60_out_ga(s(T117), T120)) → U29_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(0))))))))
U29_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(0)))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U30_gga(T117, T118, even36_in_gg(s(T117), true))
U30_gga(T117, T118, even36_out_gg(s(T117), true)) → U31_gga(T117, T118, half60_in_ga(s(T117), T120))
U31_gga(T117, T118, half60_out_ga(s(T117), T120)) → U32_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(s(0)))))))))
U32_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(s(0))))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → U33_gga(T117, T118, X411, even36_in_gg(s(T117), true))
U33_gga(T117, T118, X411, even36_out_gg(s(T117), true)) → U34_gga(T117, T118, X411, half60_in_ga(s(T117), T120))
U34_gga(T117, T118, X411, half60_out_ga(s(T117), T120)) → U35_gga(T117, T118, X411, times69_in_gga(T120, T118, s(s(s(s(s(s(s(s(T150))))))))))
times69_in_gga(s(T171), T172, X455) → U37_gga(T171, T172, X455, even36_in_gg(s(T171), false))
U37_gga(T171, T172, X455, even36_out_gg(s(T171), false)) → U38_gga(T171, T172, X455, times69_in_gga(T171, T172, X454))
U38_gga(T171, T172, X455, times69_out_gga(T171, T172, X454)) → times69_out_gga(s(T171), T172, X455)
U37_gga(T171, T172, X455, even36_out_gg(s(T171), false)) → U39_gga(T171, T172, X455, times69_in_gga(T171, T172, T175))
U39_gga(T171, T172, X455, times69_out_gga(T171, T172, T175)) → U40_gga(T171, T172, X455, plus166_in_gaa(T172, T175, X455))
plus166_in_gaa(0, T184, T184) → plus166_out_gaa(0, T184, T184)
plus166_in_gaa(s(T189), T190, s(X482)) → U42_gaa(T189, T190, X482, plus166_in_gaa(T189, T190, X482))
U42_gaa(T189, T190, X482, plus166_out_gaa(T189, T190, X482)) → plus166_out_gaa(s(T189), T190, s(X482))
U40_gga(T171, T172, X455, plus166_out_gaa(T172, T175, X455)) → times69_out_gga(s(T171), T172, X455)
U35_gga(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → U36_gga(T117, T118, X411, plus154_in_aaa(T150, s(s(s(s(s(s(s(T150))))))), X411))
plus154_in_aaa(0, T158, s(T158)) → plus154_out_aaa(0, T158, s(T158))
plus154_in_aaa(s(T163), T164, s(X436)) → U41_aaa(T163, T164, X436, plus154_in_aaa(T163, T164, X436))
U41_aaa(T163, T164, X436, plus154_out_aaa(T163, T164, X436)) → plus154_out_aaa(s(T163), T164, s(X436))
U36_gga(T117, T118, X411, plus154_out_aaa(T150, s(s(s(s(s(s(s(T150))))))), X411)) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(X411)))))))))
U38_ggg(T171, T172, X455, times69_out_gga(T171, T172, X454)) → times69_out_ggg(s(T171), T172, X455)
U37_ggg(T171, T172, X455, even36_out_gg(s(T171), false)) → U39_ggg(T171, T172, X455, times69_in_gga(T171, T172, T175))
U39_ggg(T171, T172, X455, times69_out_gga(T171, T172, T175)) → U40_ggg(T171, T172, X455, plus166_in_gag(T172, T175, X455))
plus166_in_gag(0, T184, T184) → plus166_out_gag(0, T184, T184)
plus166_in_gag(s(T189), T190, s(X482)) → U42_gag(T189, T190, X482, plus166_in_gag(T189, T190, X482))
U42_gag(T189, T190, X482, plus166_out_gag(T189, T190, X482)) → plus166_out_gag(s(T189), T190, s(X482))
U40_ggg(T171, T172, X455, plus166_out_gag(T172, T175, X455)) → times69_out_ggg(s(T171), T172, X455)
U17_gga(T117, T118, times69_out_ggg(T120, T118, s(s(0)))) → times69_out_gga(s(T117), T118, s(s(s(s(0)))))
U35_ggg(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → U36_ggg(T117, T118, X411, plus154_in_aag(T150, s(s(s(s(s(s(s(T150))))))), X411))
plus154_in_aag(0, T158, s(T158)) → plus154_out_aag(0, T158, s(T158))
plus154_in_aag(s(T163), T164, s(X436)) → U41_aag(T163, T164, X436, plus154_in_aag(T163, T164, X436))
U41_aag(T163, T164, X436, plus154_out_aag(T163, T164, X436)) → plus154_out_aag(s(T163), T164, s(X436))
U36_ggg(T117, T118, X411, plus154_out_aag(T150, s(s(s(s(s(s(s(T150))))))), X411)) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(X411)))))))))
U32_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(s(0))))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
U29_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(0)))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
U26_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(0))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0)))))))))))
U23_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(0)))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(0)))))))))
U20_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(0))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(0)))))))
U17_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(0)))) → times69_out_ggg(s(T117), T118, s(s(s(s(0)))))
U14_ggg(T117, T118, times69_out_ggg(T120, T118, s(0))) → times69_out_ggg(s(T117), T118, s(s(0)))
U11_ggg(T117, T118, times69_out_ggg(T120, T118, 0)) → times69_out_ggg(s(T117), T118, 0)
U14_gga(T117, T118, times69_out_ggg(T120, T118, s(0))) → times69_out_gga(s(T117), T118, s(s(0)))
U8_ggg(T117, T118, X217, times69_out_gga(T120, T118, X216)) → times69_out_ggg(s(T117), T118, X217)
U11_gga(T117, T118, times69_out_ggg(T120, T118, 0)) → times69_out_gga(s(T117), T118, 0)
U8_gga(T117, T118, X217, times69_out_gga(T120, T118, X216)) → times69_out_gga(s(T117), T118, X217)
U51_gga(T77, T78, T80, times69_out_gga(T82, T78, X129)) → times1_out_gga(s(s(T77)), T78, T80)
times1_in_gga(s(s(T77)), T78, 0) → U52_gga(T77, T78, even36_in_gg(T77, true))
U52_gga(T77, T78, even36_out_gg(T77, true)) → U53_gga(T77, T78, half56_in_ga(T77, T82))
U53_gga(T77, T78, half56_out_ga(T77, T82)) → U54_gga(T77, T78, times69_in_ggg(T82, T78, 0))
U54_gga(T77, T78, times69_out_ggg(T82, T78, 0)) → times1_out_gga(s(s(T77)), T78, 0)
times1_in_gga(s(s(T77)), T78, s(s(0))) → U55_gga(T77, T78, even36_in_gg(T77, true))
U55_gga(T77, T78, even36_out_gg(T77, true)) → U56_gga(T77, T78, half56_in_ga(T77, T82))
U56_gga(T77, T78, half56_out_ga(T77, T82)) → U57_gga(T77, T78, times69_in_ggg(T82, T78, s(0)))
U57_gga(T77, T78, times69_out_ggg(T82, T78, s(0))) → times1_out_gga(s(s(T77)), T78, s(s(0)))
times1_in_gga(s(s(T77)), T78, s(s(s(s(0))))) → U58_gga(T77, T78, even36_in_gg(T77, true))
U58_gga(T77, T78, even36_out_gg(T77, true)) → U59_gga(T77, T78, half56_in_ga(T77, T82))
U59_gga(T77, T78, half56_out_ga(T77, T82)) → U60_gga(T77, T78, times69_in_ggg(T82, T78, s(s(0))))
U60_gga(T77, T78, times69_out_ggg(T82, T78, s(s(0)))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(0)))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(0))))))) → U61_gga(T77, T78, even36_in_gg(T77, true))
U61_gga(T77, T78, even36_out_gg(T77, true)) → U62_gga(T77, T78, half56_in_ga(T77, T82))
U62_gga(T77, T78, half56_out_ga(T77, T82)) → U63_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(0)))))
U63_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(0))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(0)))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(0))))))))) → U64_gga(T77, T78, even36_in_gg(T77, true))
U64_gga(T77, T78, even36_out_gg(T77, true)) → U65_gga(T77, T78, half56_in_ga(T77, T82))
U65_gga(T77, T78, half56_out_ga(T77, T82)) → U66_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(0))))))
U66_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(0)))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(0)))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U67_gga(T77, T78, even36_in_gg(T77, true))
U67_gga(T77, T78, even36_out_gg(T77, true)) → U68_gga(T77, T78, half56_in_ga(T77, T82))
U68_gga(T77, T78, half56_out_ga(T77, T82)) → U69_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(0)))))))
U69_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(0))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(0)))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U70_gga(T77, T78, even36_in_gg(T77, true))
U70_gga(T77, T78, even36_out_gg(T77, true)) → U71_gga(T77, T78, half56_in_ga(T77, T82))
U71_gga(T77, T78, half56_out_ga(T77, T82)) → U72_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(s(0))))))))
U72_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(s(0)))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U73_gga(T77, T78, even36_in_gg(T77, true))
U73_gga(T77, T78, even36_out_gg(T77, true)) → U74_gga(T77, T78, half56_in_ga(T77, T82))
U74_gga(T77, T78, half56_out_ga(T77, T82)) → U75_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(s(s(0)))))))))
U75_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(s(s(0))))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(T248))))))))) → U76_gga(T77, T78, T248, even36_in_gg(T77, true))
U76_gga(T77, T78, T248, even36_out_gg(T77, true)) → U77_gga(T77, T78, T248, half56_in_ga(T77, T82))
U77_gga(T77, T78, T248, half56_out_ga(T77, T82)) → U78_gga(T77, T78, T248, times69_in_gga(T82, T78, s(s(s(s(s(s(s(s(T246))))))))))
U78_gga(T77, T78, T248, times69_out_gga(T82, T78, s(s(s(s(s(s(s(s(T246)))))))))) → U79_gga(T77, T78, T248, plus19_in_aaa(T246, s(s(s(s(s(s(s(s(T246)))))))), T248))
plus19_in_aaa(0, T42, T42) → plus19_out_aaa(0, T42, T42)
plus19_in_aaa(s(T49), T50, s(T52)) → U1_aaa(T49, T50, T52, plus19_in_aaa(T49, T50, T52))
U1_aaa(T49, T50, T52, plus19_out_aaa(T49, T50, T52)) → plus19_out_aaa(s(T49), T50, s(T52))
U79_gga(T77, T78, T248, plus19_out_aaa(T246, s(s(s(s(s(s(s(s(T246)))))))), T248)) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(T248)))))))))
times1_in_gga(s(s(T258)), T259, T261) → U80_gga(T258, T259, T261, even36_in_gg(T258, false))
U80_gga(T258, T259, T261, even36_out_gg(T258, false)) → U81_gga(T258, T259, T261, times69_in_gga(s(T258), T259, X662))
U81_gga(T258, T259, T261, times69_out_gga(s(T258), T259, X662)) → times1_out_gga(s(s(T258)), T259, T261)
U80_gga(T258, T259, T261, even36_out_gg(T258, false)) → U82_gga(T258, T259, T261, times69_in_gga(s(T258), T259, T264))
U82_gga(T258, T259, T261, times69_out_gga(s(T258), T259, T264)) → U83_gga(T258, T259, T261, plus19_in_gaa(T259, T264, T261))
plus19_in_gaa(0, T42, T42) → plus19_out_gaa(0, T42, T42)
plus19_in_gaa(s(T49), T50, s(T52)) → U1_gaa(T49, T50, T52, plus19_in_gaa(T49, T50, T52))
U1_gaa(T49, T50, T52, plus19_out_gaa(T49, T50, T52)) → plus19_out_gaa(s(T49), T50, s(T52))
U83_gga(T258, T259, T261, plus19_out_gaa(T259, T264, T261)) → times1_out_gga(s(s(T258)), T259, T261)

The argument filtering Pi contains the following mapping:
times1_in_gga(x1, x2, x3)  =  times1_in_gga(x1, x2)
0  =  0
times1_out_gga(x1, x2, x3)  =  times1_out_gga(x1, x2)
s(x1)  =  s(x1)
U44_gga(x1, x2, x3)  =  U44_gga(x1, x3)
times18_in_ga(x1, x2)  =  times18_in_ga(x1)
times18_out_ga(x1, x2)  =  times18_out_ga(x1, x2)
U45_gga(x1, x2, x3)  =  U45_gga(x1, x3)
U46_gga(x1, x2, x3)  =  U46_gga(x1, x3)
plus19_in_gga(x1, x2, x3)  =  plus19_in_gga(x1, x2)
plus19_out_gga(x1, x2, x3)  =  plus19_out_gga(x1, x2, x3)
U1_gga(x1, x2, x3, x4)  =  U1_gga(x1, x2, x4)
U47_gga(x1, x2, x3, x4)  =  U47_gga(x1, x2, x4)
even36_in_ga(x1, x2)  =  even36_in_ga(x1)
even36_out_ga(x1, x2)  =  even36_out_ga(x1, x2)
U2_ga(x1, x2, x3)  =  U2_ga(x1, x3)
U48_gga(x1, x2, x3, x4)  =  U48_gga(x1, x2, x4)
even36_in_gg(x1, x2)  =  even36_in_gg(x1, x2)
true  =  true
even36_out_gg(x1, x2)  =  even36_out_gg(x1, x2)
false  =  false
U2_gg(x1, x2, x3)  =  U2_gg(x1, x2, x3)
U49_gga(x1, x2, x3, x4)  =  U49_gga(x1, x2, x4)
half56_in_ga(x1, x2)  =  half56_in_ga(x1)
U43_ga(x1, x2, x3)  =  U43_ga(x1, x3)
half60_in_ga(x1, x2)  =  half60_in_ga(x1)
half60_out_ga(x1, x2)  =  half60_out_ga(x1, x2)
U3_ga(x1, x2, x3)  =  U3_ga(x1, x3)
half56_out_ga(x1, x2)  =  half56_out_ga(x1, x2)
U50_gga(x1, x2, x3, x4)  =  U50_gga(x1, x2, x4)
U51_gga(x1, x2, x3, x4)  =  U51_gga(x1, x2, x4)
times69_in_gga(x1, x2, x3)  =  times69_in_gga(x1, x2)
times69_out_gga(x1, x2, x3)  =  times69_out_gga(x1, x2)
U4_gga(x1, x2, x3, x4)  =  U4_gga(x1, x2, x4)
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)
U8_gga(x1, x2, x3, x4)  =  U8_gga(x1, x2, x4)
U9_gga(x1, x2, x3)  =  U9_gga(x1, x2, x3)
U10_gga(x1, x2, x3)  =  U10_gga(x1, x2, x3)
U11_gga(x1, x2, x3)  =  U11_gga(x1, x2, x3)
times69_in_ggg(x1, x2, x3)  =  times69_in_ggg(x1, x2, x3)
times69_out_ggg(x1, x2, x3)  =  times69_out_ggg(x1, x2, x3)
U4_ggg(x1, x2, x3, x4)  =  U4_ggg(x1, x2, x3, x4)
U5_ggg(x1, x2, x3, x4)  =  U5_ggg(x1, x2, x3, x4)
U6_ggg(x1, x2, x3, x4)  =  U6_ggg(x1, x2, x3, x4)
U7_ggg(x1, x2, x3, x4)  =  U7_ggg(x1, x2, x3, x4)
U8_ggg(x1, x2, x3, x4)  =  U8_ggg(x1, x2, x3, x4)
U12_gga(x1, x2, x3)  =  U12_gga(x1, x2, x3)
U13_gga(x1, x2, x3)  =  U13_gga(x1, x2, x3)
U14_gga(x1, x2, x3)  =  U14_gga(x1, x2, x3)
U9_ggg(x1, x2, x3)  =  U9_ggg(x1, x2, x3)
U10_ggg(x1, x2, x3)  =  U10_ggg(x1, x2, x3)
U11_ggg(x1, x2, x3)  =  U11_ggg(x1, x2, x3)
U12_ggg(x1, x2, x3)  =  U12_ggg(x1, x2, x3)
U13_ggg(x1, x2, x3)  =  U13_ggg(x1, x2, x3)
U14_ggg(x1, x2, x3)  =  U14_ggg(x1, x2, x3)
U15_ggg(x1, x2, x3)  =  U15_ggg(x1, x2, x3)
U16_ggg(x1, x2, x3)  =  U16_ggg(x1, x2, x3)
U17_ggg(x1, x2, x3)  =  U17_ggg(x1, x2, x3)
U18_ggg(x1, x2, x3)  =  U18_ggg(x1, x2, x3)
U19_ggg(x1, x2, x3)  =  U19_ggg(x1, x2, x3)
U20_ggg(x1, x2, x3)  =  U20_ggg(x1, x2, x3)
U21_ggg(x1, x2, x3)  =  U21_ggg(x1, x2, x3)
U22_ggg(x1, x2, x3)  =  U22_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)  =  U26_ggg(x1, x2, x3)
U27_ggg(x1, x2, x3)  =  U27_ggg(x1, x2, x3)
U28_ggg(x1, x2, x3)  =  U28_ggg(x1, x2, x3)
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)  =  U32_ggg(x1, x2, x3)
U33_ggg(x1, x2, x3, x4)  =  U33_ggg(x1, x2, x3, x4)
U34_ggg(x1, x2, x3, x4)  =  U34_ggg(x1, x2, x3, x4)
U35_ggg(x1, x2, x3, x4)  =  U35_ggg(x1, x2, x3, x4)
U15_gga(x1, x2, x3)  =  U15_gga(x1, x2, x3)
U16_gga(x1, x2, x3)  =  U16_gga(x1, x2, x3)
U17_gga(x1, x2, x3)  =  U17_gga(x1, x2, x3)
U37_ggg(x1, x2, x3, x4)  =  U37_ggg(x1, x2, x3, x4)
U38_ggg(x1, x2, x3, x4)  =  U38_ggg(x1, x2, x3, x4)
U18_gga(x1, x2, x3)  =  U18_gga(x1, x2, x3)
U19_gga(x1, x2, x3)  =  U19_gga(x1, x2, x3)
U20_gga(x1, x2, x3)  =  U20_gga(x1, x2, x3)
U21_gga(x1, x2, x3)  =  U21_gga(x1, x2, x3)
U22_gga(x1, x2, x3)  =  U22_gga(x1, x2, x3)
U23_gga(x1, x2, x3)  =  U23_gga(x1, x2, x3)
U24_gga(x1, x2, x3)  =  U24_gga(x1, x2, x3)
U25_gga(x1, x2, x3)  =  U25_gga(x1, x2, x3)
U26_gga(x1, x2, x3)  =  U26_gga(x1, x2, x3)
U27_gga(x1, x2, x3)  =  U27_gga(x1, x2, x3)
U28_gga(x1, x2, x3)  =  U28_gga(x1, x2, x3)
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)  =  U32_gga(x1, x2, x3)
U33_gga(x1, x2, x3, x4)  =  U33_gga(x1, x2, x4)
U34_gga(x1, x2, x3, x4)  =  U34_gga(x1, x2, x4)
U35_gga(x1, x2, x3, x4)  =  U35_gga(x1, x2, x4)
U37_gga(x1, x2, x3, x4)  =  U37_gga(x1, x2, x4)
U38_gga(x1, x2, x3, x4)  =  U38_gga(x1, x2, x4)
U39_gga(x1, x2, x3, x4)  =  U39_gga(x1, x2, x4)
U40_gga(x1, x2, x3, x4)  =  U40_gga(x1, x2, x4)
plus166_in_gaa(x1, x2, x3)  =  plus166_in_gaa(x1)
plus166_out_gaa(x1, x2, x3)  =  plus166_out_gaa(x1)
U42_gaa(x1, x2, x3, x4)  =  U42_gaa(x1, x4)
U36_gga(x1, x2, x3, x4)  =  U36_gga(x1, x2, x4)
plus154_in_aaa(x1, x2, x3)  =  plus154_in_aaa
plus154_out_aaa(x1, x2, x3)  =  plus154_out_aaa(x1)
U41_aaa(x1, x2, x3, x4)  =  U41_aaa(x4)
U39_ggg(x1, x2, x3, x4)  =  U39_ggg(x1, x2, x3, x4)
U40_ggg(x1, x2, x3, x4)  =  U40_ggg(x1, x2, x3, x4)
plus166_in_gag(x1, x2, x3)  =  plus166_in_gag(x1, x3)
plus166_out_gag(x1, x2, x3)  =  plus166_out_gag(x1, x2, x3)
U42_gag(x1, x2, x3, x4)  =  U42_gag(x1, x3, x4)
U36_ggg(x1, x2, x3, x4)  =  U36_ggg(x1, x2, x3, x4)
plus154_in_aag(x1, x2, x3)  =  plus154_in_aag(x3)
plus154_out_aag(x1, x2, x3)  =  plus154_out_aag(x1, x2, x3)
U41_aag(x1, x2, x3, x4)  =  U41_aag(x3, x4)
U52_gga(x1, x2, x3)  =  U52_gga(x1, x2, x3)
U53_gga(x1, x2, x3)  =  U53_gga(x1, x2, x3)
U54_gga(x1, x2, x3)  =  U54_gga(x1, x2, x3)
U55_gga(x1, x2, x3)  =  U55_gga(x1, x2, x3)
U56_gga(x1, x2, x3)  =  U56_gga(x1, x2, x3)
U57_gga(x1, x2, x3)  =  U57_gga(x1, x2, x3)
U58_gga(x1, x2, x3)  =  U58_gga(x1, x2, x3)
U59_gga(x1, x2, x3)  =  U59_gga(x1, x2, x3)
U60_gga(x1, x2, x3)  =  U60_gga(x1, x2, x3)
U61_gga(x1, x2, x3)  =  U61_gga(x1, x2, x3)
U62_gga(x1, x2, x3)  =  U62_gga(x1, x2, x3)
U63_gga(x1, x2, x3)  =  U63_gga(x1, x2, x3)
U64_gga(x1, x2, x3)  =  U64_gga(x1, x2, x3)
U65_gga(x1, x2, x3)  =  U65_gga(x1, x2, x3)
U66_gga(x1, x2, x3)  =  U66_gga(x1, x2, x3)
U67_gga(x1, x2, x3)  =  U67_gga(x1, x2, x3)
U68_gga(x1, x2, x3)  =  U68_gga(x1, x2, x3)
U69_gga(x1, x2, x3)  =  U69_gga(x1, x2, x3)
U70_gga(x1, x2, x3)  =  U70_gga(x1, x2, x3)
U71_gga(x1, x2, x3)  =  U71_gga(x1, x2, x3)
U72_gga(x1, x2, x3)  =  U72_gga(x1, x2, x3)
U73_gga(x1, x2, x3)  =  U73_gga(x1, x2, x3)
U74_gga(x1, x2, x3)  =  U74_gga(x1, x2, x3)
U75_gga(x1, x2, x3)  =  U75_gga(x1, x2, x3)
U76_gga(x1, x2, x3, x4)  =  U76_gga(x1, x2, x4)
U77_gga(x1, x2, x3, x4)  =  U77_gga(x1, x2, x4)
U78_gga(x1, x2, x3, x4)  =  U78_gga(x1, x2, x4)
U79_gga(x1, x2, x3, x4)  =  U79_gga(x1, x2, x4)
plus19_in_aaa(x1, x2, x3)  =  plus19_in_aaa
plus19_out_aaa(x1, x2, x3)  =  plus19_out_aaa(x1)
U1_aaa(x1, x2, x3, x4)  =  U1_aaa(x4)
U80_gga(x1, x2, x3, x4)  =  U80_gga(x1, x2, x4)
U81_gga(x1, x2, x3, x4)  =  U81_gga(x1, x2, x4)
U82_gga(x1, x2, x3, x4)  =  U82_gga(x1, x2, x4)
U83_gga(x1, x2, x3, x4)  =  U83_gga(x1, x2, x4)
plus19_in_gaa(x1, x2, x3)  =  plus19_in_gaa(x1)
plus19_out_gaa(x1, x2, x3)  =  plus19_out_gaa(x1)
U1_gaa(x1, x2, x3, x4)  =  U1_gaa(x1, x4)
TIMES1_IN_GGA(x1, x2, x3)  =  TIMES1_IN_GGA(x1, x2)
U44_GGA(x1, x2, x3)  =  U44_GGA(x1, x3)
TIMES18_IN_GA(x1, x2)  =  TIMES18_IN_GA(x1)
U45_GGA(x1, x2, x3)  =  U45_GGA(x1, x3)
U46_GGA(x1, x2, x3)  =  U46_GGA(x1, x3)
PLUS19_IN_GGA(x1, x2, x3)  =  PLUS19_IN_GGA(x1, x2)
U1_GGA(x1, x2, x3, x4)  =  U1_GGA(x1, x2, x4)
U47_GGA(x1, x2, x3, x4)  =  U47_GGA(x1, x2, x4)
EVEN36_IN_GA(x1, x2)  =  EVEN36_IN_GA(x1)
U2_GA(x1, x2, x3)  =  U2_GA(x1, x3)
U48_GGA(x1, x2, x3, x4)  =  U48_GGA(x1, x2, x4)
EVEN36_IN_GG(x1, x2)  =  EVEN36_IN_GG(x1, x2)
U2_GG(x1, x2, x3)  =  U2_GG(x1, x2, x3)
U49_GGA(x1, x2, x3, x4)  =  U49_GGA(x1, x2, x4)
HALF56_IN_GA(x1, x2)  =  HALF56_IN_GA(x1)
U43_GA(x1, x2, x3)  =  U43_GA(x1, x3)
HALF60_IN_GA(x1, x2)  =  HALF60_IN_GA(x1)
U3_GA(x1, x2, x3)  =  U3_GA(x1, x3)
U50_GGA(x1, x2, x3, x4)  =  U50_GGA(x1, x2, x4)
U51_GGA(x1, x2, x3, x4)  =  U51_GGA(x1, x2, x4)
TIMES69_IN_GGA(x1, x2, x3)  =  TIMES69_IN_GGA(x1, x2)
U4_GGA(x1, x2, x3, x4)  =  U4_GGA(x1, x2, x4)
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)
U8_GGA(x1, x2, x3, x4)  =  U8_GGA(x1, x2, x4)
U9_GGA(x1, x2, x3)  =  U9_GGA(x1, x2, x3)
U10_GGA(x1, x2, x3)  =  U10_GGA(x1, x2, x3)
U11_GGA(x1, x2, x3)  =  U11_GGA(x1, x2, x3)
TIMES69_IN_GGG(x1, x2, x3)  =  TIMES69_IN_GGG(x1, x2, x3)
U4_GGG(x1, x2, x3, x4)  =  U4_GGG(x1, x2, x3, x4)
U5_GGG(x1, x2, x3, x4)  =  U5_GGG(x1, x2, x3, x4)
U6_GGG(x1, x2, x3, x4)  =  U6_GGG(x1, x2, x3, x4)
U7_GGG(x1, x2, x3, x4)  =  U7_GGG(x1, x2, x3, x4)
U8_GGG(x1, x2, x3, x4)  =  U8_GGG(x1, x2, x3, x4)
U12_GGA(x1, x2, x3)  =  U12_GGA(x1, x2, x3)
U13_GGA(x1, x2, x3)  =  U13_GGA(x1, x2, x3)
U14_GGA(x1, x2, x3)  =  U14_GGA(x1, x2, x3)
U9_GGG(x1, x2, x3)  =  U9_GGG(x1, x2, x3)
U10_GGG(x1, x2, x3)  =  U10_GGG(x1, x2, x3)
U11_GGG(x1, x2, x3)  =  U11_GGG(x1, x2, x3)
U12_GGG(x1, x2, x3)  =  U12_GGG(x1, x2, x3)
U13_GGG(x1, x2, x3)  =  U13_GGG(x1, x2, x3)
U14_GGG(x1, x2, x3)  =  U14_GGG(x1, x2, x3)
U15_GGG(x1, x2, x3)  =  U15_GGG(x1, x2, x3)
U16_GGG(x1, x2, x3)  =  U16_GGG(x1, x2, x3)
U17_GGG(x1, x2, x3)  =  U17_GGG(x1, x2, x3)
U18_GGG(x1, x2, x3)  =  U18_GGG(x1, x2, x3)
U19_GGG(x1, x2, x3)  =  U19_GGG(x1, x2, x3)
U20_GGG(x1, x2, x3)  =  U20_GGG(x1, x2, x3)
U21_GGG(x1, x2, x3)  =  U21_GGG(x1, x2, x3)
U22_GGG(x1, x2, x3)  =  U22_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)  =  U26_GGG(x1, x2, x3)
U27_GGG(x1, x2, x3)  =  U27_GGG(x1, x2, x3)
U28_GGG(x1, x2, x3)  =  U28_GGG(x1, x2, x3)
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)  =  U32_GGG(x1, x2, x3)
U33_GGG(x1, x2, x3, x4)  =  U33_GGG(x1, x2, x3, x4)
U34_GGG(x1, x2, x3, x4)  =  U34_GGG(x1, x2, x3, x4)
U35_GGG(x1, x2, x3, x4)  =  U35_GGG(x1, x2, x3, x4)
U15_GGA(x1, x2, x3)  =  U15_GGA(x1, x2, x3)
U16_GGA(x1, x2, x3)  =  U16_GGA(x1, x2, x3)
U17_GGA(x1, x2, x3)  =  U17_GGA(x1, x2, x3)
U37_GGG(x1, x2, x3, x4)  =  U37_GGG(x1, x2, x3, x4)
U38_GGG(x1, x2, x3, x4)  =  U38_GGG(x1, x2, x3, x4)
U18_GGA(x1, x2, x3)  =  U18_GGA(x1, x2, x3)
U19_GGA(x1, x2, x3)  =  U19_GGA(x1, x2, x3)
U20_GGA(x1, x2, x3)  =  U20_GGA(x1, x2, x3)
U21_GGA(x1, x2, x3)  =  U21_GGA(x1, x2, x3)
U22_GGA(x1, x2, x3)  =  U22_GGA(x1, x2, x3)
U23_GGA(x1, x2, x3)  =  U23_GGA(x1, x2, x3)
U24_GGA(x1, x2, x3)  =  U24_GGA(x1, x2, x3)
U25_GGA(x1, x2, x3)  =  U25_GGA(x1, x2, x3)
U26_GGA(x1, x2, x3)  =  U26_GGA(x1, x2, x3)
U27_GGA(x1, x2, x3)  =  U27_GGA(x1, x2, x3)
U28_GGA(x1, x2, x3)  =  U28_GGA(x1, x2, x3)
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)  =  U32_GGA(x1, x2, x3)
U33_GGA(x1, x2, x3, x4)  =  U33_GGA(x1, x2, x4)
U34_GGA(x1, x2, x3, x4)  =  U34_GGA(x1, x2, x4)
U35_GGA(x1, x2, x3, x4)  =  U35_GGA(x1, x2, x4)
U37_GGA(x1, x2, x3, x4)  =  U37_GGA(x1, x2, x4)
U38_GGA(x1, x2, x3, x4)  =  U38_GGA(x1, x2, x4)
U39_GGA(x1, x2, x3, x4)  =  U39_GGA(x1, x2, x4)
U40_GGA(x1, x2, x3, x4)  =  U40_GGA(x1, x2, x4)
PLUS166_IN_GAA(x1, x2, x3)  =  PLUS166_IN_GAA(x1)
U42_GAA(x1, x2, x3, x4)  =  U42_GAA(x1, x4)
U36_GGA(x1, x2, x3, x4)  =  U36_GGA(x1, x2, x4)
PLUS154_IN_AAA(x1, x2, x3)  =  PLUS154_IN_AAA
U41_AAA(x1, x2, x3, x4)  =  U41_AAA(x4)
U39_GGG(x1, x2, x3, x4)  =  U39_GGG(x1, x2, x3, x4)
U40_GGG(x1, x2, x3, x4)  =  U40_GGG(x1, x2, x3, x4)
PLUS166_IN_GAG(x1, x2, x3)  =  PLUS166_IN_GAG(x1, x3)
U42_GAG(x1, x2, x3, x4)  =  U42_GAG(x1, x3, x4)
U36_GGG(x1, x2, x3, x4)  =  U36_GGG(x1, x2, x3, x4)
PLUS154_IN_AAG(x1, x2, x3)  =  PLUS154_IN_AAG(x3)
U41_AAG(x1, x2, x3, x4)  =  U41_AAG(x3, x4)
U52_GGA(x1, x2, x3)  =  U52_GGA(x1, x2, x3)
U53_GGA(x1, x2, x3)  =  U53_GGA(x1, x2, x3)
U54_GGA(x1, x2, x3)  =  U54_GGA(x1, x2, x3)
U55_GGA(x1, x2, x3)  =  U55_GGA(x1, x2, x3)
U56_GGA(x1, x2, x3)  =  U56_GGA(x1, x2, x3)
U57_GGA(x1, x2, x3)  =  U57_GGA(x1, x2, x3)
U58_GGA(x1, x2, x3)  =  U58_GGA(x1, x2, x3)
U59_GGA(x1, x2, x3)  =  U59_GGA(x1, x2, x3)
U60_GGA(x1, x2, x3)  =  U60_GGA(x1, x2, x3)
U61_GGA(x1, x2, x3)  =  U61_GGA(x1, x2, x3)
U62_GGA(x1, x2, x3)  =  U62_GGA(x1, x2, x3)
U63_GGA(x1, x2, x3)  =  U63_GGA(x1, x2, x3)
U64_GGA(x1, x2, x3)  =  U64_GGA(x1, x2, x3)
U65_GGA(x1, x2, x3)  =  U65_GGA(x1, x2, x3)
U66_GGA(x1, x2, x3)  =  U66_GGA(x1, x2, x3)
U67_GGA(x1, x2, x3)  =  U67_GGA(x1, x2, x3)
U68_GGA(x1, x2, x3)  =  U68_GGA(x1, x2, x3)
U69_GGA(x1, x2, x3)  =  U69_GGA(x1, x2, x3)
U70_GGA(x1, x2, x3)  =  U70_GGA(x1, x2, x3)
U71_GGA(x1, x2, x3)  =  U71_GGA(x1, x2, x3)
U72_GGA(x1, x2, x3)  =  U72_GGA(x1, x2, x3)
U73_GGA(x1, x2, x3)  =  U73_GGA(x1, x2, x3)
U74_GGA(x1, x2, x3)  =  U74_GGA(x1, x2, x3)
U75_GGA(x1, x2, x3)  =  U75_GGA(x1, x2, x3)
U76_GGA(x1, x2, x3, x4)  =  U76_GGA(x1, x2, x4)
U77_GGA(x1, x2, x3, x4)  =  U77_GGA(x1, x2, x4)
U78_GGA(x1, x2, x3, x4)  =  U78_GGA(x1, x2, x4)
U79_GGA(x1, x2, x3, x4)  =  U79_GGA(x1, x2, x4)
PLUS19_IN_AAA(x1, x2, x3)  =  PLUS19_IN_AAA
U1_AAA(x1, x2, x3, x4)  =  U1_AAA(x4)
U80_GGA(x1, x2, x3, x4)  =  U80_GGA(x1, x2, x4)
U81_GGA(x1, x2, x3, x4)  =  U81_GGA(x1, x2, x4)
U82_GGA(x1, x2, x3, x4)  =  U82_GGA(x1, x2, x4)
U83_GGA(x1, x2, x3, x4)  =  U83_GGA(x1, x2, x4)
PLUS19_IN_GAA(x1, x2, x3)  =  PLUS19_IN_GAA(x1)
U1_GAA(x1, x2, x3, x4)  =  U1_GAA(x1, x4)

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

(6) Obligation:

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

TIMES1_IN_GGA(s(0), T23, T25) → U44_GGA(T23, T25, times18_in_ga(T23, X45))
TIMES1_IN_GGA(s(0), T23, T25) → TIMES18_IN_GA(T23, X45)
TIMES1_IN_GGA(s(0), T23, T25) → U45_GGA(T23, T25, times18_in_ga(T23, T29))
U45_GGA(T23, T25, times18_out_ga(T23, T29)) → U46_GGA(T23, T25, plus19_in_gga(T23, T29, T25))
U45_GGA(T23, T25, times18_out_ga(T23, T29)) → PLUS19_IN_GGA(T23, T29, T25)
PLUS19_IN_GGA(s(T49), T50, s(T52)) → U1_GGA(T49, T50, T52, plus19_in_gga(T49, T50, T52))
PLUS19_IN_GGA(s(T49), T50, s(T52)) → PLUS19_IN_GGA(T49, T50, T52)
TIMES1_IN_GGA(s(s(T57)), T10, T12) → U47_GGA(T57, T10, T12, even36_in_ga(T57, X90))
TIMES1_IN_GGA(s(s(T57)), T10, T12) → EVEN36_IN_GA(T57, X90)
EVEN36_IN_GA(s(s(T61)), X101) → U2_GA(T61, X101, even36_in_ga(T61, X101))
EVEN36_IN_GA(s(s(T61)), X101) → EVEN36_IN_GA(T61, X101)
TIMES1_IN_GGA(s(s(T77)), T78, T80) → U48_GGA(T77, T78, T80, even36_in_gg(T77, true))
TIMES1_IN_GGA(s(s(T77)), T78, T80) → EVEN36_IN_GG(T77, true)
EVEN36_IN_GG(s(s(T61)), X101) → U2_GG(T61, X101, even36_in_gg(T61, X101))
EVEN36_IN_GG(s(s(T61)), X101) → EVEN36_IN_GG(T61, X101)
U48_GGA(T77, T78, T80, even36_out_gg(T77, true)) → U49_GGA(T77, T78, T80, half56_in_ga(T77, X128))
U48_GGA(T77, T78, T80, even36_out_gg(T77, true)) → HALF56_IN_GA(T77, X128)
HALF56_IN_GA(T86, s(X147)) → U43_GA(T86, X147, half60_in_ga(T86, X147))
HALF56_IN_GA(T86, s(X147)) → HALF60_IN_GA(T86, X147)
HALF60_IN_GA(s(s(T89)), s(X156)) → U3_GA(T89, X156, half60_in_ga(T89, X156))
HALF60_IN_GA(s(s(T89)), s(X156)) → HALF60_IN_GA(T89, X156)
U48_GGA(T77, T78, T80, even36_out_gg(T77, true)) → U50_GGA(T77, T78, T80, half56_in_ga(T77, T82))
U50_GGA(T77, T78, T80, half56_out_ga(T77, T82)) → U51_GGA(T77, T78, T80, times69_in_gga(T82, T78, X129))
U50_GGA(T77, T78, T80, half56_out_ga(T77, T82)) → TIMES69_IN_GGA(T82, T78, X129)
TIMES69_IN_GGA(s(T104), T105, X182) → U4_GGA(T104, T105, X182, even36_in_ga(s(T104), X181))
TIMES69_IN_GGA(s(T104), T105, X182) → EVEN36_IN_GA(s(T104), X181)
TIMES69_IN_GGA(s(T117), T118, X217) → U5_GGA(T117, T118, X217, even36_in_gg(s(T117), true))
TIMES69_IN_GGA(s(T117), T118, X217) → EVEN36_IN_GG(s(T117), true)
U5_GGA(T117, T118, X217, even36_out_gg(s(T117), true)) → U6_GGA(T117, T118, X217, half60_in_ga(s(T117), X215))
U5_GGA(T117, T118, X217, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), X215)
U5_GGA(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_GGA(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_GGA(T117, T118, X217, half60_out_ga(s(T117), T120)) → U8_GGA(T117, T118, X217, times69_in_gga(T120, T118, X216))
U7_GGA(T117, T118, X217, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGA(T120, T118, X216)
TIMES69_IN_GGA(s(T117), T118, 0) → U9_GGA(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGA(s(T117), T118, 0) → EVEN36_IN_GG(s(T117), true)
U9_GGA(T117, T118, even36_out_gg(s(T117), true)) → U10_GGA(T117, T118, half60_in_ga(s(T117), T120))
U9_GGA(T117, T118, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), T120)
U10_GGA(T117, T118, half60_out_ga(s(T117), T120)) → U11_GGA(T117, T118, times69_in_ggg(T120, T118, 0))
U10_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, 0)
TIMES69_IN_GGG(s(T104), T105, X182) → U4_GGG(T104, T105, X182, even36_in_ga(s(T104), X181))
TIMES69_IN_GGG(s(T104), T105, X182) → EVEN36_IN_GA(s(T104), X181)
TIMES69_IN_GGG(s(T117), T118, X217) → U5_GGG(T117, T118, X217, even36_in_gg(s(T117), true))
TIMES69_IN_GGG(s(T117), T118, X217) → EVEN36_IN_GG(s(T117), true)
U5_GGG(T117, T118, X217, even36_out_gg(s(T117), true)) → U6_GGG(T117, T118, X217, half60_in_ga(s(T117), X215))
U5_GGG(T117, T118, X217, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), X215)
U5_GGG(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_GGG(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_GGG(T117, T118, X217, half60_out_ga(s(T117), T120)) → U8_GGG(T117, T118, X217, times69_in_gga(T120, T118, X216))
U7_GGG(T117, T118, X217, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGA(T120, T118, X216)
TIMES69_IN_GGA(s(T117), T118, s(s(0))) → U12_GGA(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGA(s(T117), T118, s(s(0))) → EVEN36_IN_GG(s(T117), true)
U12_GGA(T117, T118, even36_out_gg(s(T117), true)) → U13_GGA(T117, T118, half60_in_ga(s(T117), T120))
U12_GGA(T117, T118, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), T120)
U13_GGA(T117, T118, half60_out_ga(s(T117), T120)) → U14_GGA(T117, T118, times69_in_ggg(T120, T118, s(0)))
U13_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(0))
TIMES69_IN_GGG(s(T117), T118, 0) → U9_GGG(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGG(s(T117), T118, 0) → EVEN36_IN_GG(s(T117), true)
U9_GGG(T117, T118, even36_out_gg(s(T117), true)) → U10_GGG(T117, T118, half60_in_ga(s(T117), T120))
U9_GGG(T117, T118, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), T120)
U10_GGG(T117, T118, half60_out_ga(s(T117), T120)) → U11_GGG(T117, T118, times69_in_ggg(T120, T118, 0))
U10_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, 0)
TIMES69_IN_GGG(s(T117), T118, s(s(0))) → U12_GGG(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGG(s(T117), T118, s(s(0))) → EVEN36_IN_GG(s(T117), true)
U12_GGG(T117, T118, even36_out_gg(s(T117), true)) → U13_GGG(T117, T118, half60_in_ga(s(T117), T120))
U12_GGG(T117, T118, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), T120)
U13_GGG(T117, T118, half60_out_ga(s(T117), T120)) → U14_GGG(T117, T118, times69_in_ggg(T120, T118, s(0)))
U13_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(0))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(0))))) → U15_GGG(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(0))))) → EVEN36_IN_GG(s(T117), true)
U15_GGG(T117, T118, even36_out_gg(s(T117), true)) → U16_GGG(T117, T118, half60_in_ga(s(T117), T120))
U15_GGG(T117, T118, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), T120)
U16_GGG(T117, T118, half60_out_ga(s(T117), T120)) → U17_GGG(T117, T118, times69_in_ggg(T120, T118, s(s(0))))
U16_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(0)))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_GGG(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(s(s(0))))))) → EVEN36_IN_GG(s(T117), true)
U18_GGG(T117, T118, even36_out_gg(s(T117), true)) → U19_GGG(T117, T118, half60_in_ga(s(T117), T120))
U18_GGG(T117, T118, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), T120)
U19_GGG(T117, T118, half60_out_ga(s(T117), T120)) → U20_GGG(T117, T118, times69_in_ggg(T120, T118, s(s(s(0)))))
U19_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(0))))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → U21_GGG(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → EVEN36_IN_GG(s(T117), true)
U21_GGG(T117, T118, even36_out_gg(s(T117), true)) → U22_GGG(T117, T118, half60_in_ga(s(T117), T120))
U21_GGG(T117, T118, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), T120)
U22_GGG(T117, T118, half60_out_ga(s(T117), T120)) → U23_GGG(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(0))))))
U22_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(0)))))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U24_GGG(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → EVEN36_IN_GG(s(T117), true)
U24_GGG(T117, T118, even36_out_gg(s(T117), true)) → U25_GGG(T117, T118, half60_in_ga(s(T117), T120))
U24_GGG(T117, T118, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), T120)
U25_GGG(T117, T118, half60_out_ga(s(T117), T120)) → U26_GGG(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(0)))))))
U25_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(0))))))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U27_GGG(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → EVEN36_IN_GG(s(T117), true)
U27_GGG(T117, T118, even36_out_gg(s(T117), true)) → U28_GGG(T117, T118, half60_in_ga(s(T117), T120))
U27_GGG(T117, T118, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), T120)
U28_GGG(T117, T118, half60_out_ga(s(T117), T120)) → U29_GGG(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(0))))))))
U28_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(s(0)))))))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U30_GGG(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → EVEN36_IN_GG(s(T117), true)
U30_GGG(T117, T118, even36_out_gg(s(T117), true)) → U31_GGG(T117, T118, half60_in_ga(s(T117), T120))
U30_GGG(T117, T118, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), T120)
U31_GGG(T117, T118, half60_out_ga(s(T117), T120)) → U32_GGG(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(s(0)))))))))
U31_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(s(s(0))))))))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → U33_GGG(T117, T118, X411, even36_in_gg(s(T117), true))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → EVEN36_IN_GG(s(T117), true)
U33_GGG(T117, T118, X411, even36_out_gg(s(T117), true)) → U34_GGG(T117, T118, X411, half60_in_ga(s(T117), T120))
U33_GGG(T117, T118, X411, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), T120)
U34_GGG(T117, T118, X411, half60_out_ga(s(T117), T120)) → U35_GGG(T117, T118, X411, times69_in_gga(T120, T118, s(s(s(s(s(s(s(s(T150))))))))))
U34_GGG(T117, T118, X411, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGA(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(0))))) → U15_GGA(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(0))))) → EVEN36_IN_GG(s(T117), true)
U15_GGA(T117, T118, even36_out_gg(s(T117), true)) → U16_GGA(T117, T118, half60_in_ga(s(T117), T120))
U15_GGA(T117, T118, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), T120)
U16_GGA(T117, T118, half60_out_ga(s(T117), T120)) → U17_GGA(T117, T118, times69_in_ggg(T120, T118, s(s(0))))
U16_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(0)))
TIMES69_IN_GGG(s(T171), T172, X455) → U37_GGG(T171, T172, X455, even36_in_gg(s(T171), false))
TIMES69_IN_GGG(s(T171), T172, X455) → EVEN36_IN_GG(s(T171), false)
U37_GGG(T171, T172, X455, even36_out_gg(s(T171), false)) → U38_GGG(T171, T172, X455, times69_in_gga(T171, T172, X454))
U37_GGG(T171, T172, X455, even36_out_gg(s(T171), false)) → TIMES69_IN_GGA(T171, T172, X454)
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_GGA(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(s(s(0))))))) → EVEN36_IN_GG(s(T117), true)
U18_GGA(T117, T118, even36_out_gg(s(T117), true)) → U19_GGA(T117, T118, half60_in_ga(s(T117), T120))
U18_GGA(T117, T118, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), T120)
U19_GGA(T117, T118, half60_out_ga(s(T117), T120)) → U20_GGA(T117, T118, times69_in_ggg(T120, T118, s(s(s(0)))))
U19_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(0))))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → U21_GGA(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → EVEN36_IN_GG(s(T117), true)
U21_GGA(T117, T118, even36_out_gg(s(T117), true)) → U22_GGA(T117, T118, half60_in_ga(s(T117), T120))
U21_GGA(T117, T118, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), T120)
U22_GGA(T117, T118, half60_out_ga(s(T117), T120)) → U23_GGA(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(0))))))
U22_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(0)))))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U24_GGA(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → EVEN36_IN_GG(s(T117), true)
U24_GGA(T117, T118, even36_out_gg(s(T117), true)) → U25_GGA(T117, T118, half60_in_ga(s(T117), T120))
U24_GGA(T117, T118, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), T120)
U25_GGA(T117, T118, half60_out_ga(s(T117), T120)) → U26_GGA(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(0)))))))
U25_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(0))))))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U27_GGA(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → EVEN36_IN_GG(s(T117), true)
U27_GGA(T117, T118, even36_out_gg(s(T117), true)) → U28_GGA(T117, T118, half60_in_ga(s(T117), T120))
U27_GGA(T117, T118, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), T120)
U28_GGA(T117, T118, half60_out_ga(s(T117), T120)) → U29_GGA(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(0))))))))
U28_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(s(0)))))))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U30_GGA(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → EVEN36_IN_GG(s(T117), true)
U30_GGA(T117, T118, even36_out_gg(s(T117), true)) → U31_GGA(T117, T118, half60_in_ga(s(T117), T120))
U30_GGA(T117, T118, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), T120)
U31_GGA(T117, T118, half60_out_ga(s(T117), T120)) → U32_GGA(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(s(0)))))))))
U31_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(s(s(0))))))))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → U33_GGA(T117, T118, X411, even36_in_gg(s(T117), true))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → EVEN36_IN_GG(s(T117), true)
U33_GGA(T117, T118, X411, even36_out_gg(s(T117), true)) → U34_GGA(T117, T118, X411, half60_in_ga(s(T117), T120))
U33_GGA(T117, T118, X411, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), T120)
U34_GGA(T117, T118, X411, half60_out_ga(s(T117), T120)) → U35_GGA(T117, T118, X411, times69_in_gga(T120, T118, s(s(s(s(s(s(s(s(T150))))))))))
U34_GGA(T117, T118, X411, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGA(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))
TIMES69_IN_GGA(s(T171), T172, X455) → U37_GGA(T171, T172, X455, even36_in_gg(s(T171), false))
TIMES69_IN_GGA(s(T171), T172, X455) → EVEN36_IN_GG(s(T171), false)
U37_GGA(T171, T172, X455, even36_out_gg(s(T171), false)) → U38_GGA(T171, T172, X455, times69_in_gga(T171, T172, X454))
U37_GGA(T171, T172, X455, even36_out_gg(s(T171), false)) → TIMES69_IN_GGA(T171, T172, X454)
U37_GGA(T171, T172, X455, even36_out_gg(s(T171), false)) → U39_GGA(T171, T172, X455, times69_in_gga(T171, T172, T175))
U39_GGA(T171, T172, X455, times69_out_gga(T171, T172, T175)) → U40_GGA(T171, T172, X455, plus166_in_gaa(T172, T175, X455))
U39_GGA(T171, T172, X455, times69_out_gga(T171, T172, T175)) → PLUS166_IN_GAA(T172, T175, X455)
PLUS166_IN_GAA(s(T189), T190, s(X482)) → U42_GAA(T189, T190, X482, plus166_in_gaa(T189, T190, X482))
PLUS166_IN_GAA(s(T189), T190, s(X482)) → PLUS166_IN_GAA(T189, T190, X482)
U35_GGA(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → U36_GGA(T117, T118, X411, plus154_in_aaa(T150, s(s(s(s(s(s(s(T150))))))), X411))
U35_GGA(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → PLUS154_IN_AAA(T150, s(s(s(s(s(s(s(T150))))))), X411)
PLUS154_IN_AAA(s(T163), T164, s(X436)) → U41_AAA(T163, T164, X436, plus154_in_aaa(T163, T164, X436))
PLUS154_IN_AAA(s(T163), T164, s(X436)) → PLUS154_IN_AAA(T163, T164, X436)
U37_GGG(T171, T172, X455, even36_out_gg(s(T171), false)) → U39_GGG(T171, T172, X455, times69_in_gga(T171, T172, T175))
U39_GGG(T171, T172, X455, times69_out_gga(T171, T172, T175)) → U40_GGG(T171, T172, X455, plus166_in_gag(T172, T175, X455))
U39_GGG(T171, T172, X455, times69_out_gga(T171, T172, T175)) → PLUS166_IN_GAG(T172, T175, X455)
PLUS166_IN_GAG(s(T189), T190, s(X482)) → U42_GAG(T189, T190, X482, plus166_in_gag(T189, T190, X482))
PLUS166_IN_GAG(s(T189), T190, s(X482)) → PLUS166_IN_GAG(T189, T190, X482)
U35_GGG(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → U36_GGG(T117, T118, X411, plus154_in_aag(T150, s(s(s(s(s(s(s(T150))))))), X411))
U35_GGG(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → PLUS154_IN_AAG(T150, s(s(s(s(s(s(s(T150))))))), X411)
PLUS154_IN_AAG(s(T163), T164, s(X436)) → U41_AAG(T163, T164, X436, plus154_in_aag(T163, T164, X436))
PLUS154_IN_AAG(s(T163), T164, s(X436)) → PLUS154_IN_AAG(T163, T164, X436)
TIMES1_IN_GGA(s(s(T77)), T78, 0) → U52_GGA(T77, T78, even36_in_gg(T77, true))
TIMES1_IN_GGA(s(s(T77)), T78, 0) → EVEN36_IN_GG(T77, true)
U52_GGA(T77, T78, even36_out_gg(T77, true)) → U53_GGA(T77, T78, half56_in_ga(T77, T82))
U52_GGA(T77, T78, even36_out_gg(T77, true)) → HALF56_IN_GA(T77, T82)
U53_GGA(T77, T78, half56_out_ga(T77, T82)) → U54_GGA(T77, T78, times69_in_ggg(T82, T78, 0))
U53_GGA(T77, T78, half56_out_ga(T77, T82)) → TIMES69_IN_GGG(T82, T78, 0)
TIMES1_IN_GGA(s(s(T77)), T78, s(s(0))) → U55_GGA(T77, T78, even36_in_gg(T77, true))
TIMES1_IN_GGA(s(s(T77)), T78, s(s(0))) → EVEN36_IN_GG(T77, true)
U55_GGA(T77, T78, even36_out_gg(T77, true)) → U56_GGA(T77, T78, half56_in_ga(T77, T82))
U55_GGA(T77, T78, even36_out_gg(T77, true)) → HALF56_IN_GA(T77, T82)
U56_GGA(T77, T78, half56_out_ga(T77, T82)) → U57_GGA(T77, T78, times69_in_ggg(T82, T78, s(0)))
U56_GGA(T77, T78, half56_out_ga(T77, T82)) → TIMES69_IN_GGG(T82, T78, s(0))
TIMES1_IN_GGA(s(s(T77)), T78, s(s(s(s(0))))) → U58_GGA(T77, T78, even36_in_gg(T77, true))
TIMES1_IN_GGA(s(s(T77)), T78, s(s(s(s(0))))) → EVEN36_IN_GG(T77, true)
U58_GGA(T77, T78, even36_out_gg(T77, true)) → U59_GGA(T77, T78, half56_in_ga(T77, T82))
U58_GGA(T77, T78, even36_out_gg(T77, true)) → HALF56_IN_GA(T77, T82)
U59_GGA(T77, T78, half56_out_ga(T77, T82)) → U60_GGA(T77, T78, times69_in_ggg(T82, T78, s(s(0))))
U59_GGA(T77, T78, half56_out_ga(T77, T82)) → TIMES69_IN_GGG(T82, T78, s(s(0)))
TIMES1_IN_GGA(s(s(T77)), T78, s(s(s(s(s(s(0))))))) → U61_GGA(T77, T78, even36_in_gg(T77, true))
TIMES1_IN_GGA(s(s(T77)), T78, s(s(s(s(s(s(0))))))) → EVEN36_IN_GG(T77, true)
U61_GGA(T77, T78, even36_out_gg(T77, true)) → U62_GGA(T77, T78, half56_in_ga(T77, T82))
U61_GGA(T77, T78, even36_out_gg(T77, true)) → HALF56_IN_GA(T77, T82)
U62_GGA(T77, T78, half56_out_ga(T77, T82)) → U63_GGA(T77, T78, times69_in_ggg(T82, T78, s(s(s(0)))))
U62_GGA(T77, T78, half56_out_ga(T77, T82)) → TIMES69_IN_GGG(T82, T78, s(s(s(0))))
TIMES1_IN_GGA(s(s(T77)), T78, s(s(s(s(s(s(s(s(0))))))))) → U64_GGA(T77, T78, even36_in_gg(T77, true))
TIMES1_IN_GGA(s(s(T77)), T78, s(s(s(s(s(s(s(s(0))))))))) → EVEN36_IN_GG(T77, true)
U64_GGA(T77, T78, even36_out_gg(T77, true)) → U65_GGA(T77, T78, half56_in_ga(T77, T82))
U64_GGA(T77, T78, even36_out_gg(T77, true)) → HALF56_IN_GA(T77, T82)
U65_GGA(T77, T78, half56_out_ga(T77, T82)) → U66_GGA(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(0))))))
U65_GGA(T77, T78, half56_out_ga(T77, T82)) → TIMES69_IN_GGG(T82, T78, s(s(s(s(0)))))
TIMES1_IN_GGA(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U67_GGA(T77, T78, even36_in_gg(T77, true))
TIMES1_IN_GGA(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(0))))))))))) → EVEN36_IN_GG(T77, true)
U67_GGA(T77, T78, even36_out_gg(T77, true)) → U68_GGA(T77, T78, half56_in_ga(T77, T82))
U67_GGA(T77, T78, even36_out_gg(T77, true)) → HALF56_IN_GA(T77, T82)
U68_GGA(T77, T78, half56_out_ga(T77, T82)) → U69_GGA(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(0)))))))
U68_GGA(T77, T78, half56_out_ga(T77, T82)) → TIMES69_IN_GGG(T82, T78, s(s(s(s(s(0))))))
TIMES1_IN_GGA(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U70_GGA(T77, T78, even36_in_gg(T77, true))
TIMES1_IN_GGA(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → EVEN36_IN_GG(T77, true)
U70_GGA(T77, T78, even36_out_gg(T77, true)) → U71_GGA(T77, T78, half56_in_ga(T77, T82))
U70_GGA(T77, T78, even36_out_gg(T77, true)) → HALF56_IN_GA(T77, T82)
U71_GGA(T77, T78, half56_out_ga(T77, T82)) → U72_GGA(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(s(0))))))))
U71_GGA(T77, T78, half56_out_ga(T77, T82)) → TIMES69_IN_GGG(T82, T78, s(s(s(s(s(s(0)))))))
TIMES1_IN_GGA(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U73_GGA(T77, T78, even36_in_gg(T77, true))
TIMES1_IN_GGA(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → EVEN36_IN_GG(T77, true)
U73_GGA(T77, T78, even36_out_gg(T77, true)) → U74_GGA(T77, T78, half56_in_ga(T77, T82))
U73_GGA(T77, T78, even36_out_gg(T77, true)) → HALF56_IN_GA(T77, T82)
U74_GGA(T77, T78, half56_out_ga(T77, T82)) → U75_GGA(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(s(s(0)))))))))
U74_GGA(T77, T78, half56_out_ga(T77, T82)) → TIMES69_IN_GGG(T82, T78, s(s(s(s(s(s(s(0))))))))
TIMES1_IN_GGA(s(s(T77)), T78, s(s(s(s(s(s(s(s(T248))))))))) → U76_GGA(T77, T78, T248, even36_in_gg(T77, true))
TIMES1_IN_GGA(s(s(T77)), T78, s(s(s(s(s(s(s(s(T248))))))))) → EVEN36_IN_GG(T77, true)
U76_GGA(T77, T78, T248, even36_out_gg(T77, true)) → U77_GGA(T77, T78, T248, half56_in_ga(T77, T82))
U76_GGA(T77, T78, T248, even36_out_gg(T77, true)) → HALF56_IN_GA(T77, T82)
U77_GGA(T77, T78, T248, half56_out_ga(T77, T82)) → U78_GGA(T77, T78, T248, times69_in_gga(T82, T78, s(s(s(s(s(s(s(s(T246))))))))))
U77_GGA(T77, T78, T248, half56_out_ga(T77, T82)) → TIMES69_IN_GGA(T82, T78, s(s(s(s(s(s(s(s(T246)))))))))
U78_GGA(T77, T78, T248, times69_out_gga(T82, T78, s(s(s(s(s(s(s(s(T246)))))))))) → U79_GGA(T77, T78, T248, plus19_in_aaa(T246, s(s(s(s(s(s(s(s(T246)))))))), T248))
U78_GGA(T77, T78, T248, times69_out_gga(T82, T78, s(s(s(s(s(s(s(s(T246)))))))))) → PLUS19_IN_AAA(T246, s(s(s(s(s(s(s(s(T246)))))))), T248)
PLUS19_IN_AAA(s(T49), T50, s(T52)) → U1_AAA(T49, T50, T52, plus19_in_aaa(T49, T50, T52))
PLUS19_IN_AAA(s(T49), T50, s(T52)) → PLUS19_IN_AAA(T49, T50, T52)
TIMES1_IN_GGA(s(s(T258)), T259, T261) → U80_GGA(T258, T259, T261, even36_in_gg(T258, false))
TIMES1_IN_GGA(s(s(T258)), T259, T261) → EVEN36_IN_GG(T258, false)
U80_GGA(T258, T259, T261, even36_out_gg(T258, false)) → U81_GGA(T258, T259, T261, times69_in_gga(s(T258), T259, X662))
U80_GGA(T258, T259, T261, even36_out_gg(T258, false)) → TIMES69_IN_GGA(s(T258), T259, X662)
U80_GGA(T258, T259, T261, even36_out_gg(T258, false)) → U82_GGA(T258, T259, T261, times69_in_gga(s(T258), T259, T264))
U82_GGA(T258, T259, T261, times69_out_gga(s(T258), T259, T264)) → U83_GGA(T258, T259, T261, plus19_in_gaa(T259, T264, T261))
U82_GGA(T258, T259, T261, times69_out_gga(s(T258), T259, T264)) → PLUS19_IN_GAA(T259, T264, T261)
PLUS19_IN_GAA(s(T49), T50, s(T52)) → U1_GAA(T49, T50, T52, plus19_in_gaa(T49, T50, T52))
PLUS19_IN_GAA(s(T49), T50, s(T52)) → PLUS19_IN_GAA(T49, T50, T52)

The TRS R consists of the following rules:

times1_in_gga(0, T5, 0) → times1_out_gga(0, T5, 0)
times1_in_gga(s(0), T23, T25) → U44_gga(T23, T25, times18_in_ga(T23, X45))
times18_in_ga(T35, 0) → times18_out_ga(T35, 0)
U44_gga(T23, T25, times18_out_ga(T23, X45)) → times1_out_gga(s(0), T23, T25)
times1_in_gga(s(0), T23, T25) → U45_gga(T23, T25, times18_in_ga(T23, T29))
U45_gga(T23, T25, times18_out_ga(T23, T29)) → U46_gga(T23, T25, plus19_in_gga(T23, T29, T25))
plus19_in_gga(0, T42, T42) → plus19_out_gga(0, T42, T42)
plus19_in_gga(s(T49), T50, s(T52)) → U1_gga(T49, T50, T52, plus19_in_gga(T49, T50, T52))
U1_gga(T49, T50, T52, plus19_out_gga(T49, T50, T52)) → plus19_out_gga(s(T49), T50, s(T52))
U46_gga(T23, T25, plus19_out_gga(T23, T29, T25)) → times1_out_gga(s(0), T23, T25)
times1_in_gga(s(s(T57)), T10, T12) → U47_gga(T57, T10, T12, even36_in_ga(T57, X90))
even36_in_ga(0, true) → even36_out_ga(0, true)
even36_in_ga(s(0), false) → even36_out_ga(s(0), false)
even36_in_ga(s(s(T61)), X101) → U2_ga(T61, X101, even36_in_ga(T61, X101))
U2_ga(T61, X101, even36_out_ga(T61, X101)) → even36_out_ga(s(s(T61)), X101)
U47_gga(T57, T10, T12, even36_out_ga(T57, X90)) → times1_out_gga(s(s(T57)), T10, T12)
times1_in_gga(s(s(T77)), T78, T80) → U48_gga(T77, T78, T80, even36_in_gg(T77, true))
even36_in_gg(0, true) → even36_out_gg(0, true)
even36_in_gg(s(0), false) → even36_out_gg(s(0), false)
even36_in_gg(s(s(T61)), X101) → U2_gg(T61, X101, even36_in_gg(T61, X101))
U2_gg(T61, X101, even36_out_gg(T61, X101)) → even36_out_gg(s(s(T61)), X101)
U48_gga(T77, T78, T80, even36_out_gg(T77, true)) → U49_gga(T77, T78, T80, half56_in_ga(T77, X128))
half56_in_ga(T86, s(X147)) → U43_ga(T86, X147, half60_in_ga(T86, X147))
half60_in_ga(0, 0) → half60_out_ga(0, 0)
half60_in_ga(s(s(T89)), s(X156)) → U3_ga(T89, X156, half60_in_ga(T89, X156))
U3_ga(T89, X156, half60_out_ga(T89, X156)) → half60_out_ga(s(s(T89)), s(X156))
U43_ga(T86, X147, half60_out_ga(T86, X147)) → half56_out_ga(T86, s(X147))
U49_gga(T77, T78, T80, half56_out_ga(T77, X128)) → times1_out_gga(s(s(T77)), T78, T80)
U48_gga(T77, T78, T80, even36_out_gg(T77, true)) → U50_gga(T77, T78, T80, half56_in_ga(T77, T82))
U50_gga(T77, T78, T80, half56_out_ga(T77, T82)) → U51_gga(T77, T78, T80, times69_in_gga(T82, T78, X129))
times69_in_gga(0, T99, 0) → times69_out_gga(0, T99, 0)
times69_in_gga(s(T104), T105, X182) → U4_gga(T104, T105, X182, even36_in_ga(s(T104), X181))
U4_gga(T104, T105, X182, even36_out_ga(s(T104), X181)) → times69_out_gga(s(T104), T105, X182)
times69_in_gga(s(T117), T118, X217) → U5_gga(T117, T118, X217, even36_in_gg(s(T117), true))
U5_gga(T117, T118, X217, even36_out_gg(s(T117), true)) → U6_gga(T117, T118, X217, half60_in_ga(s(T117), X215))
U6_gga(T117, T118, X217, half60_out_ga(s(T117), X215)) → times69_out_gga(s(T117), T118, X217)
U5_gga(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_gga(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_gga(T117, T118, X217, half60_out_ga(s(T117), T120)) → U8_gga(T117, T118, X217, times69_in_gga(T120, T118, X216))
times69_in_gga(s(T117), T118, 0) → U9_gga(T117, T118, even36_in_gg(s(T117), true))
U9_gga(T117, T118, even36_out_gg(s(T117), true)) → U10_gga(T117, T118, half60_in_ga(s(T117), T120))
U10_gga(T117, T118, half60_out_ga(s(T117), T120)) → U11_gga(T117, T118, times69_in_ggg(T120, T118, 0))
times69_in_ggg(0, T99, 0) → times69_out_ggg(0, T99, 0)
times69_in_ggg(s(T104), T105, X182) → U4_ggg(T104, T105, X182, even36_in_ga(s(T104), X181))
U4_ggg(T104, T105, X182, even36_out_ga(s(T104), X181)) → times69_out_ggg(s(T104), T105, X182)
times69_in_ggg(s(T117), T118, X217) → U5_ggg(T117, T118, X217, even36_in_gg(s(T117), true))
U5_ggg(T117, T118, X217, even36_out_gg(s(T117), true)) → U6_ggg(T117, T118, X217, half60_in_ga(s(T117), X215))
U6_ggg(T117, T118, X217, half60_out_ga(s(T117), X215)) → times69_out_ggg(s(T117), T118, X217)
U5_ggg(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_ggg(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_ggg(T117, T118, X217, half60_out_ga(s(T117), T120)) → U8_ggg(T117, T118, X217, times69_in_gga(T120, T118, X216))
times69_in_gga(s(T117), T118, s(s(0))) → U12_gga(T117, T118, even36_in_gg(s(T117), true))
U12_gga(T117, T118, even36_out_gg(s(T117), true)) → U13_gga(T117, T118, half60_in_ga(s(T117), T120))
U13_gga(T117, T118, half60_out_ga(s(T117), T120)) → U14_gga(T117, T118, times69_in_ggg(T120, T118, s(0)))
times69_in_ggg(s(T117), T118, 0) → U9_ggg(T117, T118, even36_in_gg(s(T117), true))
U9_ggg(T117, T118, even36_out_gg(s(T117), true)) → U10_ggg(T117, T118, half60_in_ga(s(T117), T120))
U10_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U11_ggg(T117, T118, times69_in_ggg(T120, T118, 0))
times69_in_ggg(s(T117), T118, s(s(0))) → U12_ggg(T117, T118, even36_in_gg(s(T117), true))
U12_ggg(T117, T118, even36_out_gg(s(T117), true)) → U13_ggg(T117, T118, half60_in_ga(s(T117), T120))
U13_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U14_ggg(T117, T118, times69_in_ggg(T120, T118, s(0)))
times69_in_ggg(s(T117), T118, s(s(s(s(0))))) → U15_ggg(T117, T118, even36_in_gg(s(T117), true))
U15_ggg(T117, T118, even36_out_gg(s(T117), true)) → U16_ggg(T117, T118, half60_in_ga(s(T117), T120))
U16_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U17_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(0))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_ggg(T117, T118, even36_in_gg(s(T117), true))
U18_ggg(T117, T118, even36_out_gg(s(T117), true)) → U19_ggg(T117, T118, half60_in_ga(s(T117), T120))
U19_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U20_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(0)))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → U21_ggg(T117, T118, even36_in_gg(s(T117), true))
U21_ggg(T117, T118, even36_out_gg(s(T117), true)) → U22_ggg(T117, T118, half60_in_ga(s(T117), T120))
U22_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U23_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(0))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U24_ggg(T117, T118, even36_in_gg(s(T117), true))
U24_ggg(T117, T118, even36_out_gg(s(T117), true)) → U25_ggg(T117, T118, half60_in_ga(s(T117), T120))
U25_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U26_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(0)))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U27_ggg(T117, T118, even36_in_gg(s(T117), true))
U27_ggg(T117, T118, even36_out_gg(s(T117), true)) → U28_ggg(T117, T118, half60_in_ga(s(T117), T120))
U28_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U29_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(0))))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U30_ggg(T117, T118, even36_in_gg(s(T117), true))
U30_ggg(T117, T118, even36_out_gg(s(T117), true)) → U31_ggg(T117, T118, half60_in_ga(s(T117), T120))
U31_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U32_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(s(0)))))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → U33_ggg(T117, T118, X411, even36_in_gg(s(T117), true))
U33_ggg(T117, T118, X411, even36_out_gg(s(T117), true)) → U34_ggg(T117, T118, X411, half60_in_ga(s(T117), T120))
U34_ggg(T117, T118, X411, half60_out_ga(s(T117), T120)) → U35_ggg(T117, T118, X411, times69_in_gga(T120, T118, s(s(s(s(s(s(s(s(T150))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(0))))) → U15_gga(T117, T118, even36_in_gg(s(T117), true))
U15_gga(T117, T118, even36_out_gg(s(T117), true)) → U16_gga(T117, T118, half60_in_ga(s(T117), T120))
U16_gga(T117, T118, half60_out_ga(s(T117), T120)) → U17_gga(T117, T118, times69_in_ggg(T120, T118, s(s(0))))
times69_in_ggg(s(T171), T172, X455) → U37_ggg(T171, T172, X455, even36_in_gg(s(T171), false))
U37_ggg(T171, T172, X455, even36_out_gg(s(T171), false)) → U38_ggg(T171, T172, X455, times69_in_gga(T171, T172, X454))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_gga(T117, T118, even36_in_gg(s(T117), true))
U18_gga(T117, T118, even36_out_gg(s(T117), true)) → U19_gga(T117, T118, half60_in_ga(s(T117), T120))
U19_gga(T117, T118, half60_out_ga(s(T117), T120)) → U20_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(0)))))
U20_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(0))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(0)))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → U21_gga(T117, T118, even36_in_gg(s(T117), true))
U21_gga(T117, T118, even36_out_gg(s(T117), true)) → U22_gga(T117, T118, half60_in_ga(s(T117), T120))
U22_gga(T117, T118, half60_out_ga(s(T117), T120)) → U23_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(0))))))
U23_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(0)))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(0)))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U24_gga(T117, T118, even36_in_gg(s(T117), true))
U24_gga(T117, T118, even36_out_gg(s(T117), true)) → U25_gga(T117, T118, half60_in_ga(s(T117), T120))
U25_gga(T117, T118, half60_out_ga(s(T117), T120)) → U26_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(0)))))))
U26_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(0))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0)))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U27_gga(T117, T118, even36_in_gg(s(T117), true))
U27_gga(T117, T118, even36_out_gg(s(T117), true)) → U28_gga(T117, T118, half60_in_ga(s(T117), T120))
U28_gga(T117, T118, half60_out_ga(s(T117), T120)) → U29_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(0))))))))
U29_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(0)))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U30_gga(T117, T118, even36_in_gg(s(T117), true))
U30_gga(T117, T118, even36_out_gg(s(T117), true)) → U31_gga(T117, T118, half60_in_ga(s(T117), T120))
U31_gga(T117, T118, half60_out_ga(s(T117), T120)) → U32_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(s(0)))))))))
U32_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(s(0))))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → U33_gga(T117, T118, X411, even36_in_gg(s(T117), true))
U33_gga(T117, T118, X411, even36_out_gg(s(T117), true)) → U34_gga(T117, T118, X411, half60_in_ga(s(T117), T120))
U34_gga(T117, T118, X411, half60_out_ga(s(T117), T120)) → U35_gga(T117, T118, X411, times69_in_gga(T120, T118, s(s(s(s(s(s(s(s(T150))))))))))
times69_in_gga(s(T171), T172, X455) → U37_gga(T171, T172, X455, even36_in_gg(s(T171), false))
U37_gga(T171, T172, X455, even36_out_gg(s(T171), false)) → U38_gga(T171, T172, X455, times69_in_gga(T171, T172, X454))
U38_gga(T171, T172, X455, times69_out_gga(T171, T172, X454)) → times69_out_gga(s(T171), T172, X455)
U37_gga(T171, T172, X455, even36_out_gg(s(T171), false)) → U39_gga(T171, T172, X455, times69_in_gga(T171, T172, T175))
U39_gga(T171, T172, X455, times69_out_gga(T171, T172, T175)) → U40_gga(T171, T172, X455, plus166_in_gaa(T172, T175, X455))
plus166_in_gaa(0, T184, T184) → plus166_out_gaa(0, T184, T184)
plus166_in_gaa(s(T189), T190, s(X482)) → U42_gaa(T189, T190, X482, plus166_in_gaa(T189, T190, X482))
U42_gaa(T189, T190, X482, plus166_out_gaa(T189, T190, X482)) → plus166_out_gaa(s(T189), T190, s(X482))
U40_gga(T171, T172, X455, plus166_out_gaa(T172, T175, X455)) → times69_out_gga(s(T171), T172, X455)
U35_gga(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → U36_gga(T117, T118, X411, plus154_in_aaa(T150, s(s(s(s(s(s(s(T150))))))), X411))
plus154_in_aaa(0, T158, s(T158)) → plus154_out_aaa(0, T158, s(T158))
plus154_in_aaa(s(T163), T164, s(X436)) → U41_aaa(T163, T164, X436, plus154_in_aaa(T163, T164, X436))
U41_aaa(T163, T164, X436, plus154_out_aaa(T163, T164, X436)) → plus154_out_aaa(s(T163), T164, s(X436))
U36_gga(T117, T118, X411, plus154_out_aaa(T150, s(s(s(s(s(s(s(T150))))))), X411)) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(X411)))))))))
U38_ggg(T171, T172, X455, times69_out_gga(T171, T172, X454)) → times69_out_ggg(s(T171), T172, X455)
U37_ggg(T171, T172, X455, even36_out_gg(s(T171), false)) → U39_ggg(T171, T172, X455, times69_in_gga(T171, T172, T175))
U39_ggg(T171, T172, X455, times69_out_gga(T171, T172, T175)) → U40_ggg(T171, T172, X455, plus166_in_gag(T172, T175, X455))
plus166_in_gag(0, T184, T184) → plus166_out_gag(0, T184, T184)
plus166_in_gag(s(T189), T190, s(X482)) → U42_gag(T189, T190, X482, plus166_in_gag(T189, T190, X482))
U42_gag(T189, T190, X482, plus166_out_gag(T189, T190, X482)) → plus166_out_gag(s(T189), T190, s(X482))
U40_ggg(T171, T172, X455, plus166_out_gag(T172, T175, X455)) → times69_out_ggg(s(T171), T172, X455)
U17_gga(T117, T118, times69_out_ggg(T120, T118, s(s(0)))) → times69_out_gga(s(T117), T118, s(s(s(s(0)))))
U35_ggg(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → U36_ggg(T117, T118, X411, plus154_in_aag(T150, s(s(s(s(s(s(s(T150))))))), X411))
plus154_in_aag(0, T158, s(T158)) → plus154_out_aag(0, T158, s(T158))
plus154_in_aag(s(T163), T164, s(X436)) → U41_aag(T163, T164, X436, plus154_in_aag(T163, T164, X436))
U41_aag(T163, T164, X436, plus154_out_aag(T163, T164, X436)) → plus154_out_aag(s(T163), T164, s(X436))
U36_ggg(T117, T118, X411, plus154_out_aag(T150, s(s(s(s(s(s(s(T150))))))), X411)) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(X411)))))))))
U32_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(s(0))))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
U29_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(0)))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
U26_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(0))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0)))))))))))
U23_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(0)))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(0)))))))))
U20_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(0))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(0)))))))
U17_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(0)))) → times69_out_ggg(s(T117), T118, s(s(s(s(0)))))
U14_ggg(T117, T118, times69_out_ggg(T120, T118, s(0))) → times69_out_ggg(s(T117), T118, s(s(0)))
U11_ggg(T117, T118, times69_out_ggg(T120, T118, 0)) → times69_out_ggg(s(T117), T118, 0)
U14_gga(T117, T118, times69_out_ggg(T120, T118, s(0))) → times69_out_gga(s(T117), T118, s(s(0)))
U8_ggg(T117, T118, X217, times69_out_gga(T120, T118, X216)) → times69_out_ggg(s(T117), T118, X217)
U11_gga(T117, T118, times69_out_ggg(T120, T118, 0)) → times69_out_gga(s(T117), T118, 0)
U8_gga(T117, T118, X217, times69_out_gga(T120, T118, X216)) → times69_out_gga(s(T117), T118, X217)
U51_gga(T77, T78, T80, times69_out_gga(T82, T78, X129)) → times1_out_gga(s(s(T77)), T78, T80)
times1_in_gga(s(s(T77)), T78, 0) → U52_gga(T77, T78, even36_in_gg(T77, true))
U52_gga(T77, T78, even36_out_gg(T77, true)) → U53_gga(T77, T78, half56_in_ga(T77, T82))
U53_gga(T77, T78, half56_out_ga(T77, T82)) → U54_gga(T77, T78, times69_in_ggg(T82, T78, 0))
U54_gga(T77, T78, times69_out_ggg(T82, T78, 0)) → times1_out_gga(s(s(T77)), T78, 0)
times1_in_gga(s(s(T77)), T78, s(s(0))) → U55_gga(T77, T78, even36_in_gg(T77, true))
U55_gga(T77, T78, even36_out_gg(T77, true)) → U56_gga(T77, T78, half56_in_ga(T77, T82))
U56_gga(T77, T78, half56_out_ga(T77, T82)) → U57_gga(T77, T78, times69_in_ggg(T82, T78, s(0)))
U57_gga(T77, T78, times69_out_ggg(T82, T78, s(0))) → times1_out_gga(s(s(T77)), T78, s(s(0)))
times1_in_gga(s(s(T77)), T78, s(s(s(s(0))))) → U58_gga(T77, T78, even36_in_gg(T77, true))
U58_gga(T77, T78, even36_out_gg(T77, true)) → U59_gga(T77, T78, half56_in_ga(T77, T82))
U59_gga(T77, T78, half56_out_ga(T77, T82)) → U60_gga(T77, T78, times69_in_ggg(T82, T78, s(s(0))))
U60_gga(T77, T78, times69_out_ggg(T82, T78, s(s(0)))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(0)))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(0))))))) → U61_gga(T77, T78, even36_in_gg(T77, true))
U61_gga(T77, T78, even36_out_gg(T77, true)) → U62_gga(T77, T78, half56_in_ga(T77, T82))
U62_gga(T77, T78, half56_out_ga(T77, T82)) → U63_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(0)))))
U63_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(0))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(0)))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(0))))))))) → U64_gga(T77, T78, even36_in_gg(T77, true))
U64_gga(T77, T78, even36_out_gg(T77, true)) → U65_gga(T77, T78, half56_in_ga(T77, T82))
U65_gga(T77, T78, half56_out_ga(T77, T82)) → U66_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(0))))))
U66_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(0)))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(0)))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U67_gga(T77, T78, even36_in_gg(T77, true))
U67_gga(T77, T78, even36_out_gg(T77, true)) → U68_gga(T77, T78, half56_in_ga(T77, T82))
U68_gga(T77, T78, half56_out_ga(T77, T82)) → U69_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(0)))))))
U69_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(0))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(0)))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U70_gga(T77, T78, even36_in_gg(T77, true))
U70_gga(T77, T78, even36_out_gg(T77, true)) → U71_gga(T77, T78, half56_in_ga(T77, T82))
U71_gga(T77, T78, half56_out_ga(T77, T82)) → U72_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(s(0))))))))
U72_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(s(0)))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U73_gga(T77, T78, even36_in_gg(T77, true))
U73_gga(T77, T78, even36_out_gg(T77, true)) → U74_gga(T77, T78, half56_in_ga(T77, T82))
U74_gga(T77, T78, half56_out_ga(T77, T82)) → U75_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(s(s(0)))))))))
U75_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(s(s(0))))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(T248))))))))) → U76_gga(T77, T78, T248, even36_in_gg(T77, true))
U76_gga(T77, T78, T248, even36_out_gg(T77, true)) → U77_gga(T77, T78, T248, half56_in_ga(T77, T82))
U77_gga(T77, T78, T248, half56_out_ga(T77, T82)) → U78_gga(T77, T78, T248, times69_in_gga(T82, T78, s(s(s(s(s(s(s(s(T246))))))))))
U78_gga(T77, T78, T248, times69_out_gga(T82, T78, s(s(s(s(s(s(s(s(T246)))))))))) → U79_gga(T77, T78, T248, plus19_in_aaa(T246, s(s(s(s(s(s(s(s(T246)))))))), T248))
plus19_in_aaa(0, T42, T42) → plus19_out_aaa(0, T42, T42)
plus19_in_aaa(s(T49), T50, s(T52)) → U1_aaa(T49, T50, T52, plus19_in_aaa(T49, T50, T52))
U1_aaa(T49, T50, T52, plus19_out_aaa(T49, T50, T52)) → plus19_out_aaa(s(T49), T50, s(T52))
U79_gga(T77, T78, T248, plus19_out_aaa(T246, s(s(s(s(s(s(s(s(T246)))))))), T248)) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(T248)))))))))
times1_in_gga(s(s(T258)), T259, T261) → U80_gga(T258, T259, T261, even36_in_gg(T258, false))
U80_gga(T258, T259, T261, even36_out_gg(T258, false)) → U81_gga(T258, T259, T261, times69_in_gga(s(T258), T259, X662))
U81_gga(T258, T259, T261, times69_out_gga(s(T258), T259, X662)) → times1_out_gga(s(s(T258)), T259, T261)
U80_gga(T258, T259, T261, even36_out_gg(T258, false)) → U82_gga(T258, T259, T261, times69_in_gga(s(T258), T259, T264))
U82_gga(T258, T259, T261, times69_out_gga(s(T258), T259, T264)) → U83_gga(T258, T259, T261, plus19_in_gaa(T259, T264, T261))
plus19_in_gaa(0, T42, T42) → plus19_out_gaa(0, T42, T42)
plus19_in_gaa(s(T49), T50, s(T52)) → U1_gaa(T49, T50, T52, plus19_in_gaa(T49, T50, T52))
U1_gaa(T49, T50, T52, plus19_out_gaa(T49, T50, T52)) → plus19_out_gaa(s(T49), T50, s(T52))
U83_gga(T258, T259, T261, plus19_out_gaa(T259, T264, T261)) → times1_out_gga(s(s(T258)), T259, T261)

The argument filtering Pi contains the following mapping:
times1_in_gga(x1, x2, x3)  =  times1_in_gga(x1, x2)
0  =  0
times1_out_gga(x1, x2, x3)  =  times1_out_gga(x1, x2)
s(x1)  =  s(x1)
U44_gga(x1, x2, x3)  =  U44_gga(x1, x3)
times18_in_ga(x1, x2)  =  times18_in_ga(x1)
times18_out_ga(x1, x2)  =  times18_out_ga(x1, x2)
U45_gga(x1, x2, x3)  =  U45_gga(x1, x3)
U46_gga(x1, x2, x3)  =  U46_gga(x1, x3)
plus19_in_gga(x1, x2, x3)  =  plus19_in_gga(x1, x2)
plus19_out_gga(x1, x2, x3)  =  plus19_out_gga(x1, x2, x3)
U1_gga(x1, x2, x3, x4)  =  U1_gga(x1, x2, x4)
U47_gga(x1, x2, x3, x4)  =  U47_gga(x1, x2, x4)
even36_in_ga(x1, x2)  =  even36_in_ga(x1)
even36_out_ga(x1, x2)  =  even36_out_ga(x1, x2)
U2_ga(x1, x2, x3)  =  U2_ga(x1, x3)
U48_gga(x1, x2, x3, x4)  =  U48_gga(x1, x2, x4)
even36_in_gg(x1, x2)  =  even36_in_gg(x1, x2)
true  =  true
even36_out_gg(x1, x2)  =  even36_out_gg(x1, x2)
false  =  false
U2_gg(x1, x2, x3)  =  U2_gg(x1, x2, x3)
U49_gga(x1, x2, x3, x4)  =  U49_gga(x1, x2, x4)
half56_in_ga(x1, x2)  =  half56_in_ga(x1)
U43_ga(x1, x2, x3)  =  U43_ga(x1, x3)
half60_in_ga(x1, x2)  =  half60_in_ga(x1)
half60_out_ga(x1, x2)  =  half60_out_ga(x1, x2)
U3_ga(x1, x2, x3)  =  U3_ga(x1, x3)
half56_out_ga(x1, x2)  =  half56_out_ga(x1, x2)
U50_gga(x1, x2, x3, x4)  =  U50_gga(x1, x2, x4)
U51_gga(x1, x2, x3, x4)  =  U51_gga(x1, x2, x4)
times69_in_gga(x1, x2, x3)  =  times69_in_gga(x1, x2)
times69_out_gga(x1, x2, x3)  =  times69_out_gga(x1, x2)
U4_gga(x1, x2, x3, x4)  =  U4_gga(x1, x2, x4)
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)
U8_gga(x1, x2, x3, x4)  =  U8_gga(x1, x2, x4)
U9_gga(x1, x2, x3)  =  U9_gga(x1, x2, x3)
U10_gga(x1, x2, x3)  =  U10_gga(x1, x2, x3)
U11_gga(x1, x2, x3)  =  U11_gga(x1, x2, x3)
times69_in_ggg(x1, x2, x3)  =  times69_in_ggg(x1, x2, x3)
times69_out_ggg(x1, x2, x3)  =  times69_out_ggg(x1, x2, x3)
U4_ggg(x1, x2, x3, x4)  =  U4_ggg(x1, x2, x3, x4)
U5_ggg(x1, x2, x3, x4)  =  U5_ggg(x1, x2, x3, x4)
U6_ggg(x1, x2, x3, x4)  =  U6_ggg(x1, x2, x3, x4)
U7_ggg(x1, x2, x3, x4)  =  U7_ggg(x1, x2, x3, x4)
U8_ggg(x1, x2, x3, x4)  =  U8_ggg(x1, x2, x3, x4)
U12_gga(x1, x2, x3)  =  U12_gga(x1, x2, x3)
U13_gga(x1, x2, x3)  =  U13_gga(x1, x2, x3)
U14_gga(x1, x2, x3)  =  U14_gga(x1, x2, x3)
U9_ggg(x1, x2, x3)  =  U9_ggg(x1, x2, x3)
U10_ggg(x1, x2, x3)  =  U10_ggg(x1, x2, x3)
U11_ggg(x1, x2, x3)  =  U11_ggg(x1, x2, x3)
U12_ggg(x1, x2, x3)  =  U12_ggg(x1, x2, x3)
U13_ggg(x1, x2, x3)  =  U13_ggg(x1, x2, x3)
U14_ggg(x1, x2, x3)  =  U14_ggg(x1, x2, x3)
U15_ggg(x1, x2, x3)  =  U15_ggg(x1, x2, x3)
U16_ggg(x1, x2, x3)  =  U16_ggg(x1, x2, x3)
U17_ggg(x1, x2, x3)  =  U17_ggg(x1, x2, x3)
U18_ggg(x1, x2, x3)  =  U18_ggg(x1, x2, x3)
U19_ggg(x1, x2, x3)  =  U19_ggg(x1, x2, x3)
U20_ggg(x1, x2, x3)  =  U20_ggg(x1, x2, x3)
U21_ggg(x1, x2, x3)  =  U21_ggg(x1, x2, x3)
U22_ggg(x1, x2, x3)  =  U22_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)  =  U26_ggg(x1, x2, x3)
U27_ggg(x1, x2, x3)  =  U27_ggg(x1, x2, x3)
U28_ggg(x1, x2, x3)  =  U28_ggg(x1, x2, x3)
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)  =  U32_ggg(x1, x2, x3)
U33_ggg(x1, x2, x3, x4)  =  U33_ggg(x1, x2, x3, x4)
U34_ggg(x1, x2, x3, x4)  =  U34_ggg(x1, x2, x3, x4)
U35_ggg(x1, x2, x3, x4)  =  U35_ggg(x1, x2, x3, x4)
U15_gga(x1, x2, x3)  =  U15_gga(x1, x2, x3)
U16_gga(x1, x2, x3)  =  U16_gga(x1, x2, x3)
U17_gga(x1, x2, x3)  =  U17_gga(x1, x2, x3)
U37_ggg(x1, x2, x3, x4)  =  U37_ggg(x1, x2, x3, x4)
U38_ggg(x1, x2, x3, x4)  =  U38_ggg(x1, x2, x3, x4)
U18_gga(x1, x2, x3)  =  U18_gga(x1, x2, x3)
U19_gga(x1, x2, x3)  =  U19_gga(x1, x2, x3)
U20_gga(x1, x2, x3)  =  U20_gga(x1, x2, x3)
U21_gga(x1, x2, x3)  =  U21_gga(x1, x2, x3)
U22_gga(x1, x2, x3)  =  U22_gga(x1, x2, x3)
U23_gga(x1, x2, x3)  =  U23_gga(x1, x2, x3)
U24_gga(x1, x2, x3)  =  U24_gga(x1, x2, x3)
U25_gga(x1, x2, x3)  =  U25_gga(x1, x2, x3)
U26_gga(x1, x2, x3)  =  U26_gga(x1, x2, x3)
U27_gga(x1, x2, x3)  =  U27_gga(x1, x2, x3)
U28_gga(x1, x2, x3)  =  U28_gga(x1, x2, x3)
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)  =  U32_gga(x1, x2, x3)
U33_gga(x1, x2, x3, x4)  =  U33_gga(x1, x2, x4)
U34_gga(x1, x2, x3, x4)  =  U34_gga(x1, x2, x4)
U35_gga(x1, x2, x3, x4)  =  U35_gga(x1, x2, x4)
U37_gga(x1, x2, x3, x4)  =  U37_gga(x1, x2, x4)
U38_gga(x1, x2, x3, x4)  =  U38_gga(x1, x2, x4)
U39_gga(x1, x2, x3, x4)  =  U39_gga(x1, x2, x4)
U40_gga(x1, x2, x3, x4)  =  U40_gga(x1, x2, x4)
plus166_in_gaa(x1, x2, x3)  =  plus166_in_gaa(x1)
plus166_out_gaa(x1, x2, x3)  =  plus166_out_gaa(x1)
U42_gaa(x1, x2, x3, x4)  =  U42_gaa(x1, x4)
U36_gga(x1, x2, x3, x4)  =  U36_gga(x1, x2, x4)
plus154_in_aaa(x1, x2, x3)  =  plus154_in_aaa
plus154_out_aaa(x1, x2, x3)  =  plus154_out_aaa(x1)
U41_aaa(x1, x2, x3, x4)  =  U41_aaa(x4)
U39_ggg(x1, x2, x3, x4)  =  U39_ggg(x1, x2, x3, x4)
U40_ggg(x1, x2, x3, x4)  =  U40_ggg(x1, x2, x3, x4)
plus166_in_gag(x1, x2, x3)  =  plus166_in_gag(x1, x3)
plus166_out_gag(x1, x2, x3)  =  plus166_out_gag(x1, x2, x3)
U42_gag(x1, x2, x3, x4)  =  U42_gag(x1, x3, x4)
U36_ggg(x1, x2, x3, x4)  =  U36_ggg(x1, x2, x3, x4)
plus154_in_aag(x1, x2, x3)  =  plus154_in_aag(x3)
plus154_out_aag(x1, x2, x3)  =  plus154_out_aag(x1, x2, x3)
U41_aag(x1, x2, x3, x4)  =  U41_aag(x3, x4)
U52_gga(x1, x2, x3)  =  U52_gga(x1, x2, x3)
U53_gga(x1, x2, x3)  =  U53_gga(x1, x2, x3)
U54_gga(x1, x2, x3)  =  U54_gga(x1, x2, x3)
U55_gga(x1, x2, x3)  =  U55_gga(x1, x2, x3)
U56_gga(x1, x2, x3)  =  U56_gga(x1, x2, x3)
U57_gga(x1, x2, x3)  =  U57_gga(x1, x2, x3)
U58_gga(x1, x2, x3)  =  U58_gga(x1, x2, x3)
U59_gga(x1, x2, x3)  =  U59_gga(x1, x2, x3)
U60_gga(x1, x2, x3)  =  U60_gga(x1, x2, x3)
U61_gga(x1, x2, x3)  =  U61_gga(x1, x2, x3)
U62_gga(x1, x2, x3)  =  U62_gga(x1, x2, x3)
U63_gga(x1, x2, x3)  =  U63_gga(x1, x2, x3)
U64_gga(x1, x2, x3)  =  U64_gga(x1, x2, x3)
U65_gga(x1, x2, x3)  =  U65_gga(x1, x2, x3)
U66_gga(x1, x2, x3)  =  U66_gga(x1, x2, x3)
U67_gga(x1, x2, x3)  =  U67_gga(x1, x2, x3)
U68_gga(x1, x2, x3)  =  U68_gga(x1, x2, x3)
U69_gga(x1, x2, x3)  =  U69_gga(x1, x2, x3)
U70_gga(x1, x2, x3)  =  U70_gga(x1, x2, x3)
U71_gga(x1, x2, x3)  =  U71_gga(x1, x2, x3)
U72_gga(x1, x2, x3)  =  U72_gga(x1, x2, x3)
U73_gga(x1, x2, x3)  =  U73_gga(x1, x2, x3)
U74_gga(x1, x2, x3)  =  U74_gga(x1, x2, x3)
U75_gga(x1, x2, x3)  =  U75_gga(x1, x2, x3)
U76_gga(x1, x2, x3, x4)  =  U76_gga(x1, x2, x4)
U77_gga(x1, x2, x3, x4)  =  U77_gga(x1, x2, x4)
U78_gga(x1, x2, x3, x4)  =  U78_gga(x1, x2, x4)
U79_gga(x1, x2, x3, x4)  =  U79_gga(x1, x2, x4)
plus19_in_aaa(x1, x2, x3)  =  plus19_in_aaa
plus19_out_aaa(x1, x2, x3)  =  plus19_out_aaa(x1)
U1_aaa(x1, x2, x3, x4)  =  U1_aaa(x4)
U80_gga(x1, x2, x3, x4)  =  U80_gga(x1, x2, x4)
U81_gga(x1, x2, x3, x4)  =  U81_gga(x1, x2, x4)
U82_gga(x1, x2, x3, x4)  =  U82_gga(x1, x2, x4)
U83_gga(x1, x2, x3, x4)  =  U83_gga(x1, x2, x4)
plus19_in_gaa(x1, x2, x3)  =  plus19_in_gaa(x1)
plus19_out_gaa(x1, x2, x3)  =  plus19_out_gaa(x1)
U1_gaa(x1, x2, x3, x4)  =  U1_gaa(x1, x4)
TIMES1_IN_GGA(x1, x2, x3)  =  TIMES1_IN_GGA(x1, x2)
U44_GGA(x1, x2, x3)  =  U44_GGA(x1, x3)
TIMES18_IN_GA(x1, x2)  =  TIMES18_IN_GA(x1)
U45_GGA(x1, x2, x3)  =  U45_GGA(x1, x3)
U46_GGA(x1, x2, x3)  =  U46_GGA(x1, x3)
PLUS19_IN_GGA(x1, x2, x3)  =  PLUS19_IN_GGA(x1, x2)
U1_GGA(x1, x2, x3, x4)  =  U1_GGA(x1, x2, x4)
U47_GGA(x1, x2, x3, x4)  =  U47_GGA(x1, x2, x4)
EVEN36_IN_GA(x1, x2)  =  EVEN36_IN_GA(x1)
U2_GA(x1, x2, x3)  =  U2_GA(x1, x3)
U48_GGA(x1, x2, x3, x4)  =  U48_GGA(x1, x2, x4)
EVEN36_IN_GG(x1, x2)  =  EVEN36_IN_GG(x1, x2)
U2_GG(x1, x2, x3)  =  U2_GG(x1, x2, x3)
U49_GGA(x1, x2, x3, x4)  =  U49_GGA(x1, x2, x4)
HALF56_IN_GA(x1, x2)  =  HALF56_IN_GA(x1)
U43_GA(x1, x2, x3)  =  U43_GA(x1, x3)
HALF60_IN_GA(x1, x2)  =  HALF60_IN_GA(x1)
U3_GA(x1, x2, x3)  =  U3_GA(x1, x3)
U50_GGA(x1, x2, x3, x4)  =  U50_GGA(x1, x2, x4)
U51_GGA(x1, x2, x3, x4)  =  U51_GGA(x1, x2, x4)
TIMES69_IN_GGA(x1, x2, x3)  =  TIMES69_IN_GGA(x1, x2)
U4_GGA(x1, x2, x3, x4)  =  U4_GGA(x1, x2, x4)
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)
U8_GGA(x1, x2, x3, x4)  =  U8_GGA(x1, x2, x4)
U9_GGA(x1, x2, x3)  =  U9_GGA(x1, x2, x3)
U10_GGA(x1, x2, x3)  =  U10_GGA(x1, x2, x3)
U11_GGA(x1, x2, x3)  =  U11_GGA(x1, x2, x3)
TIMES69_IN_GGG(x1, x2, x3)  =  TIMES69_IN_GGG(x1, x2, x3)
U4_GGG(x1, x2, x3, x4)  =  U4_GGG(x1, x2, x3, x4)
U5_GGG(x1, x2, x3, x4)  =  U5_GGG(x1, x2, x3, x4)
U6_GGG(x1, x2, x3, x4)  =  U6_GGG(x1, x2, x3, x4)
U7_GGG(x1, x2, x3, x4)  =  U7_GGG(x1, x2, x3, x4)
U8_GGG(x1, x2, x3, x4)  =  U8_GGG(x1, x2, x3, x4)
U12_GGA(x1, x2, x3)  =  U12_GGA(x1, x2, x3)
U13_GGA(x1, x2, x3)  =  U13_GGA(x1, x2, x3)
U14_GGA(x1, x2, x3)  =  U14_GGA(x1, x2, x3)
U9_GGG(x1, x2, x3)  =  U9_GGG(x1, x2, x3)
U10_GGG(x1, x2, x3)  =  U10_GGG(x1, x2, x3)
U11_GGG(x1, x2, x3)  =  U11_GGG(x1, x2, x3)
U12_GGG(x1, x2, x3)  =  U12_GGG(x1, x2, x3)
U13_GGG(x1, x2, x3)  =  U13_GGG(x1, x2, x3)
U14_GGG(x1, x2, x3)  =  U14_GGG(x1, x2, x3)
U15_GGG(x1, x2, x3)  =  U15_GGG(x1, x2, x3)
U16_GGG(x1, x2, x3)  =  U16_GGG(x1, x2, x3)
U17_GGG(x1, x2, x3)  =  U17_GGG(x1, x2, x3)
U18_GGG(x1, x2, x3)  =  U18_GGG(x1, x2, x3)
U19_GGG(x1, x2, x3)  =  U19_GGG(x1, x2, x3)
U20_GGG(x1, x2, x3)  =  U20_GGG(x1, x2, x3)
U21_GGG(x1, x2, x3)  =  U21_GGG(x1, x2, x3)
U22_GGG(x1, x2, x3)  =  U22_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)  =  U26_GGG(x1, x2, x3)
U27_GGG(x1, x2, x3)  =  U27_GGG(x1, x2, x3)
U28_GGG(x1, x2, x3)  =  U28_GGG(x1, x2, x3)
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)  =  U32_GGG(x1, x2, x3)
U33_GGG(x1, x2, x3, x4)  =  U33_GGG(x1, x2, x3, x4)
U34_GGG(x1, x2, x3, x4)  =  U34_GGG(x1, x2, x3, x4)
U35_GGG(x1, x2, x3, x4)  =  U35_GGG(x1, x2, x3, x4)
U15_GGA(x1, x2, x3)  =  U15_GGA(x1, x2, x3)
U16_GGA(x1, x2, x3)  =  U16_GGA(x1, x2, x3)
U17_GGA(x1, x2, x3)  =  U17_GGA(x1, x2, x3)
U37_GGG(x1, x2, x3, x4)  =  U37_GGG(x1, x2, x3, x4)
U38_GGG(x1, x2, x3, x4)  =  U38_GGG(x1, x2, x3, x4)
U18_GGA(x1, x2, x3)  =  U18_GGA(x1, x2, x3)
U19_GGA(x1, x2, x3)  =  U19_GGA(x1, x2, x3)
U20_GGA(x1, x2, x3)  =  U20_GGA(x1, x2, x3)
U21_GGA(x1, x2, x3)  =  U21_GGA(x1, x2, x3)
U22_GGA(x1, x2, x3)  =  U22_GGA(x1, x2, x3)
U23_GGA(x1, x2, x3)  =  U23_GGA(x1, x2, x3)
U24_GGA(x1, x2, x3)  =  U24_GGA(x1, x2, x3)
U25_GGA(x1, x2, x3)  =  U25_GGA(x1, x2, x3)
U26_GGA(x1, x2, x3)  =  U26_GGA(x1, x2, x3)
U27_GGA(x1, x2, x3)  =  U27_GGA(x1, x2, x3)
U28_GGA(x1, x2, x3)  =  U28_GGA(x1, x2, x3)
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)  =  U32_GGA(x1, x2, x3)
U33_GGA(x1, x2, x3, x4)  =  U33_GGA(x1, x2, x4)
U34_GGA(x1, x2, x3, x4)  =  U34_GGA(x1, x2, x4)
U35_GGA(x1, x2, x3, x4)  =  U35_GGA(x1, x2, x4)
U37_GGA(x1, x2, x3, x4)  =  U37_GGA(x1, x2, x4)
U38_GGA(x1, x2, x3, x4)  =  U38_GGA(x1, x2, x4)
U39_GGA(x1, x2, x3, x4)  =  U39_GGA(x1, x2, x4)
U40_GGA(x1, x2, x3, x4)  =  U40_GGA(x1, x2, x4)
PLUS166_IN_GAA(x1, x2, x3)  =  PLUS166_IN_GAA(x1)
U42_GAA(x1, x2, x3, x4)  =  U42_GAA(x1, x4)
U36_GGA(x1, x2, x3, x4)  =  U36_GGA(x1, x2, x4)
PLUS154_IN_AAA(x1, x2, x3)  =  PLUS154_IN_AAA
U41_AAA(x1, x2, x3, x4)  =  U41_AAA(x4)
U39_GGG(x1, x2, x3, x4)  =  U39_GGG(x1, x2, x3, x4)
U40_GGG(x1, x2, x3, x4)  =  U40_GGG(x1, x2, x3, x4)
PLUS166_IN_GAG(x1, x2, x3)  =  PLUS166_IN_GAG(x1, x3)
U42_GAG(x1, x2, x3, x4)  =  U42_GAG(x1, x3, x4)
U36_GGG(x1, x2, x3, x4)  =  U36_GGG(x1, x2, x3, x4)
PLUS154_IN_AAG(x1, x2, x3)  =  PLUS154_IN_AAG(x3)
U41_AAG(x1, x2, x3, x4)  =  U41_AAG(x3, x4)
U52_GGA(x1, x2, x3)  =  U52_GGA(x1, x2, x3)
U53_GGA(x1, x2, x3)  =  U53_GGA(x1, x2, x3)
U54_GGA(x1, x2, x3)  =  U54_GGA(x1, x2, x3)
U55_GGA(x1, x2, x3)  =  U55_GGA(x1, x2, x3)
U56_GGA(x1, x2, x3)  =  U56_GGA(x1, x2, x3)
U57_GGA(x1, x2, x3)  =  U57_GGA(x1, x2, x3)
U58_GGA(x1, x2, x3)  =  U58_GGA(x1, x2, x3)
U59_GGA(x1, x2, x3)  =  U59_GGA(x1, x2, x3)
U60_GGA(x1, x2, x3)  =  U60_GGA(x1, x2, x3)
U61_GGA(x1, x2, x3)  =  U61_GGA(x1, x2, x3)
U62_GGA(x1, x2, x3)  =  U62_GGA(x1, x2, x3)
U63_GGA(x1, x2, x3)  =  U63_GGA(x1, x2, x3)
U64_GGA(x1, x2, x3)  =  U64_GGA(x1, x2, x3)
U65_GGA(x1, x2, x3)  =  U65_GGA(x1, x2, x3)
U66_GGA(x1, x2, x3)  =  U66_GGA(x1, x2, x3)
U67_GGA(x1, x2, x3)  =  U67_GGA(x1, x2, x3)
U68_GGA(x1, x2, x3)  =  U68_GGA(x1, x2, x3)
U69_GGA(x1, x2, x3)  =  U69_GGA(x1, x2, x3)
U70_GGA(x1, x2, x3)  =  U70_GGA(x1, x2, x3)
U71_GGA(x1, x2, x3)  =  U71_GGA(x1, x2, x3)
U72_GGA(x1, x2, x3)  =  U72_GGA(x1, x2, x3)
U73_GGA(x1, x2, x3)  =  U73_GGA(x1, x2, x3)
U74_GGA(x1, x2, x3)  =  U74_GGA(x1, x2, x3)
U75_GGA(x1, x2, x3)  =  U75_GGA(x1, x2, x3)
U76_GGA(x1, x2, x3, x4)  =  U76_GGA(x1, x2, x4)
U77_GGA(x1, x2, x3, x4)  =  U77_GGA(x1, x2, x4)
U78_GGA(x1, x2, x3, x4)  =  U78_GGA(x1, x2, x4)
U79_GGA(x1, x2, x3, x4)  =  U79_GGA(x1, x2, x4)
PLUS19_IN_AAA(x1, x2, x3)  =  PLUS19_IN_AAA
U1_AAA(x1, x2, x3, x4)  =  U1_AAA(x4)
U80_GGA(x1, x2, x3, x4)  =  U80_GGA(x1, x2, x4)
U81_GGA(x1, x2, x3, x4)  =  U81_GGA(x1, x2, x4)
U82_GGA(x1, x2, x3, x4)  =  U82_GGA(x1, x2, x4)
U83_GGA(x1, x2, x3, x4)  =  U83_GGA(x1, x2, x4)
PLUS19_IN_GAA(x1, x2, x3)  =  PLUS19_IN_GAA(x1)
U1_GAA(x1, x2, x3, x4)  =  U1_GAA(x1, x4)

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

(7) DependencyGraphProof (EQUIVALENT transformation)

The approximation of the Dependency Graph [LOPSTR] contains 11 SCCs with 184 less nodes.

(8) Complex Obligation (AND)

(9) Obligation:

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

PLUS19_IN_GAA(s(T49), T50, s(T52)) → PLUS19_IN_GAA(T49, T50, T52)

The TRS R consists of the following rules:

times1_in_gga(0, T5, 0) → times1_out_gga(0, T5, 0)
times1_in_gga(s(0), T23, T25) → U44_gga(T23, T25, times18_in_ga(T23, X45))
times18_in_ga(T35, 0) → times18_out_ga(T35, 0)
U44_gga(T23, T25, times18_out_ga(T23, X45)) → times1_out_gga(s(0), T23, T25)
times1_in_gga(s(0), T23, T25) → U45_gga(T23, T25, times18_in_ga(T23, T29))
U45_gga(T23, T25, times18_out_ga(T23, T29)) → U46_gga(T23, T25, plus19_in_gga(T23, T29, T25))
plus19_in_gga(0, T42, T42) → plus19_out_gga(0, T42, T42)
plus19_in_gga(s(T49), T50, s(T52)) → U1_gga(T49, T50, T52, plus19_in_gga(T49, T50, T52))
U1_gga(T49, T50, T52, plus19_out_gga(T49, T50, T52)) → plus19_out_gga(s(T49), T50, s(T52))
U46_gga(T23, T25, plus19_out_gga(T23, T29, T25)) → times1_out_gga(s(0), T23, T25)
times1_in_gga(s(s(T57)), T10, T12) → U47_gga(T57, T10, T12, even36_in_ga(T57, X90))
even36_in_ga(0, true) → even36_out_ga(0, true)
even36_in_ga(s(0), false) → even36_out_ga(s(0), false)
even36_in_ga(s(s(T61)), X101) → U2_ga(T61, X101, even36_in_ga(T61, X101))
U2_ga(T61, X101, even36_out_ga(T61, X101)) → even36_out_ga(s(s(T61)), X101)
U47_gga(T57, T10, T12, even36_out_ga(T57, X90)) → times1_out_gga(s(s(T57)), T10, T12)
times1_in_gga(s(s(T77)), T78, T80) → U48_gga(T77, T78, T80, even36_in_gg(T77, true))
even36_in_gg(0, true) → even36_out_gg(0, true)
even36_in_gg(s(0), false) → even36_out_gg(s(0), false)
even36_in_gg(s(s(T61)), X101) → U2_gg(T61, X101, even36_in_gg(T61, X101))
U2_gg(T61, X101, even36_out_gg(T61, X101)) → even36_out_gg(s(s(T61)), X101)
U48_gga(T77, T78, T80, even36_out_gg(T77, true)) → U49_gga(T77, T78, T80, half56_in_ga(T77, X128))
half56_in_ga(T86, s(X147)) → U43_ga(T86, X147, half60_in_ga(T86, X147))
half60_in_ga(0, 0) → half60_out_ga(0, 0)
half60_in_ga(s(s(T89)), s(X156)) → U3_ga(T89, X156, half60_in_ga(T89, X156))
U3_ga(T89, X156, half60_out_ga(T89, X156)) → half60_out_ga(s(s(T89)), s(X156))
U43_ga(T86, X147, half60_out_ga(T86, X147)) → half56_out_ga(T86, s(X147))
U49_gga(T77, T78, T80, half56_out_ga(T77, X128)) → times1_out_gga(s(s(T77)), T78, T80)
U48_gga(T77, T78, T80, even36_out_gg(T77, true)) → U50_gga(T77, T78, T80, half56_in_ga(T77, T82))
U50_gga(T77, T78, T80, half56_out_ga(T77, T82)) → U51_gga(T77, T78, T80, times69_in_gga(T82, T78, X129))
times69_in_gga(0, T99, 0) → times69_out_gga(0, T99, 0)
times69_in_gga(s(T104), T105, X182) → U4_gga(T104, T105, X182, even36_in_ga(s(T104), X181))
U4_gga(T104, T105, X182, even36_out_ga(s(T104), X181)) → times69_out_gga(s(T104), T105, X182)
times69_in_gga(s(T117), T118, X217) → U5_gga(T117, T118, X217, even36_in_gg(s(T117), true))
U5_gga(T117, T118, X217, even36_out_gg(s(T117), true)) → U6_gga(T117, T118, X217, half60_in_ga(s(T117), X215))
U6_gga(T117, T118, X217, half60_out_ga(s(T117), X215)) → times69_out_gga(s(T117), T118, X217)
U5_gga(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_gga(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_gga(T117, T118, X217, half60_out_ga(s(T117), T120)) → U8_gga(T117, T118, X217, times69_in_gga(T120, T118, X216))
times69_in_gga(s(T117), T118, 0) → U9_gga(T117, T118, even36_in_gg(s(T117), true))
U9_gga(T117, T118, even36_out_gg(s(T117), true)) → U10_gga(T117, T118, half60_in_ga(s(T117), T120))
U10_gga(T117, T118, half60_out_ga(s(T117), T120)) → U11_gga(T117, T118, times69_in_ggg(T120, T118, 0))
times69_in_ggg(0, T99, 0) → times69_out_ggg(0, T99, 0)
times69_in_ggg(s(T104), T105, X182) → U4_ggg(T104, T105, X182, even36_in_ga(s(T104), X181))
U4_ggg(T104, T105, X182, even36_out_ga(s(T104), X181)) → times69_out_ggg(s(T104), T105, X182)
times69_in_ggg(s(T117), T118, X217) → U5_ggg(T117, T118, X217, even36_in_gg(s(T117), true))
U5_ggg(T117, T118, X217, even36_out_gg(s(T117), true)) → U6_ggg(T117, T118, X217, half60_in_ga(s(T117), X215))
U6_ggg(T117, T118, X217, half60_out_ga(s(T117), X215)) → times69_out_ggg(s(T117), T118, X217)
U5_ggg(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_ggg(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_ggg(T117, T118, X217, half60_out_ga(s(T117), T120)) → U8_ggg(T117, T118, X217, times69_in_gga(T120, T118, X216))
times69_in_gga(s(T117), T118, s(s(0))) → U12_gga(T117, T118, even36_in_gg(s(T117), true))
U12_gga(T117, T118, even36_out_gg(s(T117), true)) → U13_gga(T117, T118, half60_in_ga(s(T117), T120))
U13_gga(T117, T118, half60_out_ga(s(T117), T120)) → U14_gga(T117, T118, times69_in_ggg(T120, T118, s(0)))
times69_in_ggg(s(T117), T118, 0) → U9_ggg(T117, T118, even36_in_gg(s(T117), true))
U9_ggg(T117, T118, even36_out_gg(s(T117), true)) → U10_ggg(T117, T118, half60_in_ga(s(T117), T120))
U10_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U11_ggg(T117, T118, times69_in_ggg(T120, T118, 0))
times69_in_ggg(s(T117), T118, s(s(0))) → U12_ggg(T117, T118, even36_in_gg(s(T117), true))
U12_ggg(T117, T118, even36_out_gg(s(T117), true)) → U13_ggg(T117, T118, half60_in_ga(s(T117), T120))
U13_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U14_ggg(T117, T118, times69_in_ggg(T120, T118, s(0)))
times69_in_ggg(s(T117), T118, s(s(s(s(0))))) → U15_ggg(T117, T118, even36_in_gg(s(T117), true))
U15_ggg(T117, T118, even36_out_gg(s(T117), true)) → U16_ggg(T117, T118, half60_in_ga(s(T117), T120))
U16_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U17_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(0))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_ggg(T117, T118, even36_in_gg(s(T117), true))
U18_ggg(T117, T118, even36_out_gg(s(T117), true)) → U19_ggg(T117, T118, half60_in_ga(s(T117), T120))
U19_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U20_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(0)))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → U21_ggg(T117, T118, even36_in_gg(s(T117), true))
U21_ggg(T117, T118, even36_out_gg(s(T117), true)) → U22_ggg(T117, T118, half60_in_ga(s(T117), T120))
U22_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U23_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(0))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U24_ggg(T117, T118, even36_in_gg(s(T117), true))
U24_ggg(T117, T118, even36_out_gg(s(T117), true)) → U25_ggg(T117, T118, half60_in_ga(s(T117), T120))
U25_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U26_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(0)))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U27_ggg(T117, T118, even36_in_gg(s(T117), true))
U27_ggg(T117, T118, even36_out_gg(s(T117), true)) → U28_ggg(T117, T118, half60_in_ga(s(T117), T120))
U28_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U29_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(0))))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U30_ggg(T117, T118, even36_in_gg(s(T117), true))
U30_ggg(T117, T118, even36_out_gg(s(T117), true)) → U31_ggg(T117, T118, half60_in_ga(s(T117), T120))
U31_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U32_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(s(0)))))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → U33_ggg(T117, T118, X411, even36_in_gg(s(T117), true))
U33_ggg(T117, T118, X411, even36_out_gg(s(T117), true)) → U34_ggg(T117, T118, X411, half60_in_ga(s(T117), T120))
U34_ggg(T117, T118, X411, half60_out_ga(s(T117), T120)) → U35_ggg(T117, T118, X411, times69_in_gga(T120, T118, s(s(s(s(s(s(s(s(T150))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(0))))) → U15_gga(T117, T118, even36_in_gg(s(T117), true))
U15_gga(T117, T118, even36_out_gg(s(T117), true)) → U16_gga(T117, T118, half60_in_ga(s(T117), T120))
U16_gga(T117, T118, half60_out_ga(s(T117), T120)) → U17_gga(T117, T118, times69_in_ggg(T120, T118, s(s(0))))
times69_in_ggg(s(T171), T172, X455) → U37_ggg(T171, T172, X455, even36_in_gg(s(T171), false))
U37_ggg(T171, T172, X455, even36_out_gg(s(T171), false)) → U38_ggg(T171, T172, X455, times69_in_gga(T171, T172, X454))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_gga(T117, T118, even36_in_gg(s(T117), true))
U18_gga(T117, T118, even36_out_gg(s(T117), true)) → U19_gga(T117, T118, half60_in_ga(s(T117), T120))
U19_gga(T117, T118, half60_out_ga(s(T117), T120)) → U20_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(0)))))
U20_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(0))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(0)))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → U21_gga(T117, T118, even36_in_gg(s(T117), true))
U21_gga(T117, T118, even36_out_gg(s(T117), true)) → U22_gga(T117, T118, half60_in_ga(s(T117), T120))
U22_gga(T117, T118, half60_out_ga(s(T117), T120)) → U23_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(0))))))
U23_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(0)))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(0)))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U24_gga(T117, T118, even36_in_gg(s(T117), true))
U24_gga(T117, T118, even36_out_gg(s(T117), true)) → U25_gga(T117, T118, half60_in_ga(s(T117), T120))
U25_gga(T117, T118, half60_out_ga(s(T117), T120)) → U26_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(0)))))))
U26_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(0))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0)))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U27_gga(T117, T118, even36_in_gg(s(T117), true))
U27_gga(T117, T118, even36_out_gg(s(T117), true)) → U28_gga(T117, T118, half60_in_ga(s(T117), T120))
U28_gga(T117, T118, half60_out_ga(s(T117), T120)) → U29_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(0))))))))
U29_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(0)))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U30_gga(T117, T118, even36_in_gg(s(T117), true))
U30_gga(T117, T118, even36_out_gg(s(T117), true)) → U31_gga(T117, T118, half60_in_ga(s(T117), T120))
U31_gga(T117, T118, half60_out_ga(s(T117), T120)) → U32_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(s(0)))))))))
U32_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(s(0))))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → U33_gga(T117, T118, X411, even36_in_gg(s(T117), true))
U33_gga(T117, T118, X411, even36_out_gg(s(T117), true)) → U34_gga(T117, T118, X411, half60_in_ga(s(T117), T120))
U34_gga(T117, T118, X411, half60_out_ga(s(T117), T120)) → U35_gga(T117, T118, X411, times69_in_gga(T120, T118, s(s(s(s(s(s(s(s(T150))))))))))
times69_in_gga(s(T171), T172, X455) → U37_gga(T171, T172, X455, even36_in_gg(s(T171), false))
U37_gga(T171, T172, X455, even36_out_gg(s(T171), false)) → U38_gga(T171, T172, X455, times69_in_gga(T171, T172, X454))
U38_gga(T171, T172, X455, times69_out_gga(T171, T172, X454)) → times69_out_gga(s(T171), T172, X455)
U37_gga(T171, T172, X455, even36_out_gg(s(T171), false)) → U39_gga(T171, T172, X455, times69_in_gga(T171, T172, T175))
U39_gga(T171, T172, X455, times69_out_gga(T171, T172, T175)) → U40_gga(T171, T172, X455, plus166_in_gaa(T172, T175, X455))
plus166_in_gaa(0, T184, T184) → plus166_out_gaa(0, T184, T184)
plus166_in_gaa(s(T189), T190, s(X482)) → U42_gaa(T189, T190, X482, plus166_in_gaa(T189, T190, X482))
U42_gaa(T189, T190, X482, plus166_out_gaa(T189, T190, X482)) → plus166_out_gaa(s(T189), T190, s(X482))
U40_gga(T171, T172, X455, plus166_out_gaa(T172, T175, X455)) → times69_out_gga(s(T171), T172, X455)
U35_gga(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → U36_gga(T117, T118, X411, plus154_in_aaa(T150, s(s(s(s(s(s(s(T150))))))), X411))
plus154_in_aaa(0, T158, s(T158)) → plus154_out_aaa(0, T158, s(T158))
plus154_in_aaa(s(T163), T164, s(X436)) → U41_aaa(T163, T164, X436, plus154_in_aaa(T163, T164, X436))
U41_aaa(T163, T164, X436, plus154_out_aaa(T163, T164, X436)) → plus154_out_aaa(s(T163), T164, s(X436))
U36_gga(T117, T118, X411, plus154_out_aaa(T150, s(s(s(s(s(s(s(T150))))))), X411)) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(X411)))))))))
U38_ggg(T171, T172, X455, times69_out_gga(T171, T172, X454)) → times69_out_ggg(s(T171), T172, X455)
U37_ggg(T171, T172, X455, even36_out_gg(s(T171), false)) → U39_ggg(T171, T172, X455, times69_in_gga(T171, T172, T175))
U39_ggg(T171, T172, X455, times69_out_gga(T171, T172, T175)) → U40_ggg(T171, T172, X455, plus166_in_gag(T172, T175, X455))
plus166_in_gag(0, T184, T184) → plus166_out_gag(0, T184, T184)
plus166_in_gag(s(T189), T190, s(X482)) → U42_gag(T189, T190, X482, plus166_in_gag(T189, T190, X482))
U42_gag(T189, T190, X482, plus166_out_gag(T189, T190, X482)) → plus166_out_gag(s(T189), T190, s(X482))
U40_ggg(T171, T172, X455, plus166_out_gag(T172, T175, X455)) → times69_out_ggg(s(T171), T172, X455)
U17_gga(T117, T118, times69_out_ggg(T120, T118, s(s(0)))) → times69_out_gga(s(T117), T118, s(s(s(s(0)))))
U35_ggg(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → U36_ggg(T117, T118, X411, plus154_in_aag(T150, s(s(s(s(s(s(s(T150))))))), X411))
plus154_in_aag(0, T158, s(T158)) → plus154_out_aag(0, T158, s(T158))
plus154_in_aag(s(T163), T164, s(X436)) → U41_aag(T163, T164, X436, plus154_in_aag(T163, T164, X436))
U41_aag(T163, T164, X436, plus154_out_aag(T163, T164, X436)) → plus154_out_aag(s(T163), T164, s(X436))
U36_ggg(T117, T118, X411, plus154_out_aag(T150, s(s(s(s(s(s(s(T150))))))), X411)) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(X411)))))))))
U32_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(s(0))))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
U29_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(0)))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
U26_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(0))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0)))))))))))
U23_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(0)))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(0)))))))))
U20_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(0))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(0)))))))
U17_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(0)))) → times69_out_ggg(s(T117), T118, s(s(s(s(0)))))
U14_ggg(T117, T118, times69_out_ggg(T120, T118, s(0))) → times69_out_ggg(s(T117), T118, s(s(0)))
U11_ggg(T117, T118, times69_out_ggg(T120, T118, 0)) → times69_out_ggg(s(T117), T118, 0)
U14_gga(T117, T118, times69_out_ggg(T120, T118, s(0))) → times69_out_gga(s(T117), T118, s(s(0)))
U8_ggg(T117, T118, X217, times69_out_gga(T120, T118, X216)) → times69_out_ggg(s(T117), T118, X217)
U11_gga(T117, T118, times69_out_ggg(T120, T118, 0)) → times69_out_gga(s(T117), T118, 0)
U8_gga(T117, T118, X217, times69_out_gga(T120, T118, X216)) → times69_out_gga(s(T117), T118, X217)
U51_gga(T77, T78, T80, times69_out_gga(T82, T78, X129)) → times1_out_gga(s(s(T77)), T78, T80)
times1_in_gga(s(s(T77)), T78, 0) → U52_gga(T77, T78, even36_in_gg(T77, true))
U52_gga(T77, T78, even36_out_gg(T77, true)) → U53_gga(T77, T78, half56_in_ga(T77, T82))
U53_gga(T77, T78, half56_out_ga(T77, T82)) → U54_gga(T77, T78, times69_in_ggg(T82, T78, 0))
U54_gga(T77, T78, times69_out_ggg(T82, T78, 0)) → times1_out_gga(s(s(T77)), T78, 0)
times1_in_gga(s(s(T77)), T78, s(s(0))) → U55_gga(T77, T78, even36_in_gg(T77, true))
U55_gga(T77, T78, even36_out_gg(T77, true)) → U56_gga(T77, T78, half56_in_ga(T77, T82))
U56_gga(T77, T78, half56_out_ga(T77, T82)) → U57_gga(T77, T78, times69_in_ggg(T82, T78, s(0)))
U57_gga(T77, T78, times69_out_ggg(T82, T78, s(0))) → times1_out_gga(s(s(T77)), T78, s(s(0)))
times1_in_gga(s(s(T77)), T78, s(s(s(s(0))))) → U58_gga(T77, T78, even36_in_gg(T77, true))
U58_gga(T77, T78, even36_out_gg(T77, true)) → U59_gga(T77, T78, half56_in_ga(T77, T82))
U59_gga(T77, T78, half56_out_ga(T77, T82)) → U60_gga(T77, T78, times69_in_ggg(T82, T78, s(s(0))))
U60_gga(T77, T78, times69_out_ggg(T82, T78, s(s(0)))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(0)))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(0))))))) → U61_gga(T77, T78, even36_in_gg(T77, true))
U61_gga(T77, T78, even36_out_gg(T77, true)) → U62_gga(T77, T78, half56_in_ga(T77, T82))
U62_gga(T77, T78, half56_out_ga(T77, T82)) → U63_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(0)))))
U63_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(0))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(0)))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(0))))))))) → U64_gga(T77, T78, even36_in_gg(T77, true))
U64_gga(T77, T78, even36_out_gg(T77, true)) → U65_gga(T77, T78, half56_in_ga(T77, T82))
U65_gga(T77, T78, half56_out_ga(T77, T82)) → U66_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(0))))))
U66_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(0)))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(0)))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U67_gga(T77, T78, even36_in_gg(T77, true))
U67_gga(T77, T78, even36_out_gg(T77, true)) → U68_gga(T77, T78, half56_in_ga(T77, T82))
U68_gga(T77, T78, half56_out_ga(T77, T82)) → U69_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(0)))))))
U69_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(0))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(0)))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U70_gga(T77, T78, even36_in_gg(T77, true))
U70_gga(T77, T78, even36_out_gg(T77, true)) → U71_gga(T77, T78, half56_in_ga(T77, T82))
U71_gga(T77, T78, half56_out_ga(T77, T82)) → U72_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(s(0))))))))
U72_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(s(0)))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U73_gga(T77, T78, even36_in_gg(T77, true))
U73_gga(T77, T78, even36_out_gg(T77, true)) → U74_gga(T77, T78, half56_in_ga(T77, T82))
U74_gga(T77, T78, half56_out_ga(T77, T82)) → U75_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(s(s(0)))))))))
U75_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(s(s(0))))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(T248))))))))) → U76_gga(T77, T78, T248, even36_in_gg(T77, true))
U76_gga(T77, T78, T248, even36_out_gg(T77, true)) → U77_gga(T77, T78, T248, half56_in_ga(T77, T82))
U77_gga(T77, T78, T248, half56_out_ga(T77, T82)) → U78_gga(T77, T78, T248, times69_in_gga(T82, T78, s(s(s(s(s(s(s(s(T246))))))))))
U78_gga(T77, T78, T248, times69_out_gga(T82, T78, s(s(s(s(s(s(s(s(T246)))))))))) → U79_gga(T77, T78, T248, plus19_in_aaa(T246, s(s(s(s(s(s(s(s(T246)))))))), T248))
plus19_in_aaa(0, T42, T42) → plus19_out_aaa(0, T42, T42)
plus19_in_aaa(s(T49), T50, s(T52)) → U1_aaa(T49, T50, T52, plus19_in_aaa(T49, T50, T52))
U1_aaa(T49, T50, T52, plus19_out_aaa(T49, T50, T52)) → plus19_out_aaa(s(T49), T50, s(T52))
U79_gga(T77, T78, T248, plus19_out_aaa(T246, s(s(s(s(s(s(s(s(T246)))))))), T248)) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(T248)))))))))
times1_in_gga(s(s(T258)), T259, T261) → U80_gga(T258, T259, T261, even36_in_gg(T258, false))
U80_gga(T258, T259, T261, even36_out_gg(T258, false)) → U81_gga(T258, T259, T261, times69_in_gga(s(T258), T259, X662))
U81_gga(T258, T259, T261, times69_out_gga(s(T258), T259, X662)) → times1_out_gga(s(s(T258)), T259, T261)
U80_gga(T258, T259, T261, even36_out_gg(T258, false)) → U82_gga(T258, T259, T261, times69_in_gga(s(T258), T259, T264))
U82_gga(T258, T259, T261, times69_out_gga(s(T258), T259, T264)) → U83_gga(T258, T259, T261, plus19_in_gaa(T259, T264, T261))
plus19_in_gaa(0, T42, T42) → plus19_out_gaa(0, T42, T42)
plus19_in_gaa(s(T49), T50, s(T52)) → U1_gaa(T49, T50, T52, plus19_in_gaa(T49, T50, T52))
U1_gaa(T49, T50, T52, plus19_out_gaa(T49, T50, T52)) → plus19_out_gaa(s(T49), T50, s(T52))
U83_gga(T258, T259, T261, plus19_out_gaa(T259, T264, T261)) → times1_out_gga(s(s(T258)), T259, T261)

The argument filtering Pi contains the following mapping:
times1_in_gga(x1, x2, x3)  =  times1_in_gga(x1, x2)
0  =  0
times1_out_gga(x1, x2, x3)  =  times1_out_gga(x1, x2)
s(x1)  =  s(x1)
U44_gga(x1, x2, x3)  =  U44_gga(x1, x3)
times18_in_ga(x1, x2)  =  times18_in_ga(x1)
times18_out_ga(x1, x2)  =  times18_out_ga(x1, x2)
U45_gga(x1, x2, x3)  =  U45_gga(x1, x3)
U46_gga(x1, x2, x3)  =  U46_gga(x1, x3)
plus19_in_gga(x1, x2, x3)  =  plus19_in_gga(x1, x2)
plus19_out_gga(x1, x2, x3)  =  plus19_out_gga(x1, x2, x3)
U1_gga(x1, x2, x3, x4)  =  U1_gga(x1, x2, x4)
U47_gga(x1, x2, x3, x4)  =  U47_gga(x1, x2, x4)
even36_in_ga(x1, x2)  =  even36_in_ga(x1)
even36_out_ga(x1, x2)  =  even36_out_ga(x1, x2)
U2_ga(x1, x2, x3)  =  U2_ga(x1, x3)
U48_gga(x1, x2, x3, x4)  =  U48_gga(x1, x2, x4)
even36_in_gg(x1, x2)  =  even36_in_gg(x1, x2)
true  =  true
even36_out_gg(x1, x2)  =  even36_out_gg(x1, x2)
false  =  false
U2_gg(x1, x2, x3)  =  U2_gg(x1, x2, x3)
U49_gga(x1, x2, x3, x4)  =  U49_gga(x1, x2, x4)
half56_in_ga(x1, x2)  =  half56_in_ga(x1)
U43_ga(x1, x2, x3)  =  U43_ga(x1, x3)
half60_in_ga(x1, x2)  =  half60_in_ga(x1)
half60_out_ga(x1, x2)  =  half60_out_ga(x1, x2)
U3_ga(x1, x2, x3)  =  U3_ga(x1, x3)
half56_out_ga(x1, x2)  =  half56_out_ga(x1, x2)
U50_gga(x1, x2, x3, x4)  =  U50_gga(x1, x2, x4)
U51_gga(x1, x2, x3, x4)  =  U51_gga(x1, x2, x4)
times69_in_gga(x1, x2, x3)  =  times69_in_gga(x1, x2)
times69_out_gga(x1, x2, x3)  =  times69_out_gga(x1, x2)
U4_gga(x1, x2, x3, x4)  =  U4_gga(x1, x2, x4)
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)
U8_gga(x1, x2, x3, x4)  =  U8_gga(x1, x2, x4)
U9_gga(x1, x2, x3)  =  U9_gga(x1, x2, x3)
U10_gga(x1, x2, x3)  =  U10_gga(x1, x2, x3)
U11_gga(x1, x2, x3)  =  U11_gga(x1, x2, x3)
times69_in_ggg(x1, x2, x3)  =  times69_in_ggg(x1, x2, x3)
times69_out_ggg(x1, x2, x3)  =  times69_out_ggg(x1, x2, x3)
U4_ggg(x1, x2, x3, x4)  =  U4_ggg(x1, x2, x3, x4)
U5_ggg(x1, x2, x3, x4)  =  U5_ggg(x1, x2, x3, x4)
U6_ggg(x1, x2, x3, x4)  =  U6_ggg(x1, x2, x3, x4)
U7_ggg(x1, x2, x3, x4)  =  U7_ggg(x1, x2, x3, x4)
U8_ggg(x1, x2, x3, x4)  =  U8_ggg(x1, x2, x3, x4)
U12_gga(x1, x2, x3)  =  U12_gga(x1, x2, x3)
U13_gga(x1, x2, x3)  =  U13_gga(x1, x2, x3)
U14_gga(x1, x2, x3)  =  U14_gga(x1, x2, x3)
U9_ggg(x1, x2, x3)  =  U9_ggg(x1, x2, x3)
U10_ggg(x1, x2, x3)  =  U10_ggg(x1, x2, x3)
U11_ggg(x1, x2, x3)  =  U11_ggg(x1, x2, x3)
U12_ggg(x1, x2, x3)  =  U12_ggg(x1, x2, x3)
U13_ggg(x1, x2, x3)  =  U13_ggg(x1, x2, x3)
U14_ggg(x1, x2, x3)  =  U14_ggg(x1, x2, x3)
U15_ggg(x1, x2, x3)  =  U15_ggg(x1, x2, x3)
U16_ggg(x1, x2, x3)  =  U16_ggg(x1, x2, x3)
U17_ggg(x1, x2, x3)  =  U17_ggg(x1, x2, x3)
U18_ggg(x1, x2, x3)  =  U18_ggg(x1, x2, x3)
U19_ggg(x1, x2, x3)  =  U19_ggg(x1, x2, x3)
U20_ggg(x1, x2, x3)  =  U20_ggg(x1, x2, x3)
U21_ggg(x1, x2, x3)  =  U21_ggg(x1, x2, x3)
U22_ggg(x1, x2, x3)  =  U22_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)  =  U26_ggg(x1, x2, x3)
U27_ggg(x1, x2, x3)  =  U27_ggg(x1, x2, x3)
U28_ggg(x1, x2, x3)  =  U28_ggg(x1, x2, x3)
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)  =  U32_ggg(x1, x2, x3)
U33_ggg(x1, x2, x3, x4)  =  U33_ggg(x1, x2, x3, x4)
U34_ggg(x1, x2, x3, x4)  =  U34_ggg(x1, x2, x3, x4)
U35_ggg(x1, x2, x3, x4)  =  U35_ggg(x1, x2, x3, x4)
U15_gga(x1, x2, x3)  =  U15_gga(x1, x2, x3)
U16_gga(x1, x2, x3)  =  U16_gga(x1, x2, x3)
U17_gga(x1, x2, x3)  =  U17_gga(x1, x2, x3)
U37_ggg(x1, x2, x3, x4)  =  U37_ggg(x1, x2, x3, x4)
U38_ggg(x1, x2, x3, x4)  =  U38_ggg(x1, x2, x3, x4)
U18_gga(x1, x2, x3)  =  U18_gga(x1, x2, x3)
U19_gga(x1, x2, x3)  =  U19_gga(x1, x2, x3)
U20_gga(x1, x2, x3)  =  U20_gga(x1, x2, x3)
U21_gga(x1, x2, x3)  =  U21_gga(x1, x2, x3)
U22_gga(x1, x2, x3)  =  U22_gga(x1, x2, x3)
U23_gga(x1, x2, x3)  =  U23_gga(x1, x2, x3)
U24_gga(x1, x2, x3)  =  U24_gga(x1, x2, x3)
U25_gga(x1, x2, x3)  =  U25_gga(x1, x2, x3)
U26_gga(x1, x2, x3)  =  U26_gga(x1, x2, x3)
U27_gga(x1, x2, x3)  =  U27_gga(x1, x2, x3)
U28_gga(x1, x2, x3)  =  U28_gga(x1, x2, x3)
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)  =  U32_gga(x1, x2, x3)
U33_gga(x1, x2, x3, x4)  =  U33_gga(x1, x2, x4)
U34_gga(x1, x2, x3, x4)  =  U34_gga(x1, x2, x4)
U35_gga(x1, x2, x3, x4)  =  U35_gga(x1, x2, x4)
U37_gga(x1, x2, x3, x4)  =  U37_gga(x1, x2, x4)
U38_gga(x1, x2, x3, x4)  =  U38_gga(x1, x2, x4)
U39_gga(x1, x2, x3, x4)  =  U39_gga(x1, x2, x4)
U40_gga(x1, x2, x3, x4)  =  U40_gga(x1, x2, x4)
plus166_in_gaa(x1, x2, x3)  =  plus166_in_gaa(x1)
plus166_out_gaa(x1, x2, x3)  =  plus166_out_gaa(x1)
U42_gaa(x1, x2, x3, x4)  =  U42_gaa(x1, x4)
U36_gga(x1, x2, x3, x4)  =  U36_gga(x1, x2, x4)
plus154_in_aaa(x1, x2, x3)  =  plus154_in_aaa
plus154_out_aaa(x1, x2, x3)  =  plus154_out_aaa(x1)
U41_aaa(x1, x2, x3, x4)  =  U41_aaa(x4)
U39_ggg(x1, x2, x3, x4)  =  U39_ggg(x1, x2, x3, x4)
U40_ggg(x1, x2, x3, x4)  =  U40_ggg(x1, x2, x3, x4)
plus166_in_gag(x1, x2, x3)  =  plus166_in_gag(x1, x3)
plus166_out_gag(x1, x2, x3)  =  plus166_out_gag(x1, x2, x3)
U42_gag(x1, x2, x3, x4)  =  U42_gag(x1, x3, x4)
U36_ggg(x1, x2, x3, x4)  =  U36_ggg(x1, x2, x3, x4)
plus154_in_aag(x1, x2, x3)  =  plus154_in_aag(x3)
plus154_out_aag(x1, x2, x3)  =  plus154_out_aag(x1, x2, x3)
U41_aag(x1, x2, x3, x4)  =  U41_aag(x3, x4)
U52_gga(x1, x2, x3)  =  U52_gga(x1, x2, x3)
U53_gga(x1, x2, x3)  =  U53_gga(x1, x2, x3)
U54_gga(x1, x2, x3)  =  U54_gga(x1, x2, x3)
U55_gga(x1, x2, x3)  =  U55_gga(x1, x2, x3)
U56_gga(x1, x2, x3)  =  U56_gga(x1, x2, x3)
U57_gga(x1, x2, x3)  =  U57_gga(x1, x2, x3)
U58_gga(x1, x2, x3)  =  U58_gga(x1, x2, x3)
U59_gga(x1, x2, x3)  =  U59_gga(x1, x2, x3)
U60_gga(x1, x2, x3)  =  U60_gga(x1, x2, x3)
U61_gga(x1, x2, x3)  =  U61_gga(x1, x2, x3)
U62_gga(x1, x2, x3)  =  U62_gga(x1, x2, x3)
U63_gga(x1, x2, x3)  =  U63_gga(x1, x2, x3)
U64_gga(x1, x2, x3)  =  U64_gga(x1, x2, x3)
U65_gga(x1, x2, x3)  =  U65_gga(x1, x2, x3)
U66_gga(x1, x2, x3)  =  U66_gga(x1, x2, x3)
U67_gga(x1, x2, x3)  =  U67_gga(x1, x2, x3)
U68_gga(x1, x2, x3)  =  U68_gga(x1, x2, x3)
U69_gga(x1, x2, x3)  =  U69_gga(x1, x2, x3)
U70_gga(x1, x2, x3)  =  U70_gga(x1, x2, x3)
U71_gga(x1, x2, x3)  =  U71_gga(x1, x2, x3)
U72_gga(x1, x2, x3)  =  U72_gga(x1, x2, x3)
U73_gga(x1, x2, x3)  =  U73_gga(x1, x2, x3)
U74_gga(x1, x2, x3)  =  U74_gga(x1, x2, x3)
U75_gga(x1, x2, x3)  =  U75_gga(x1, x2, x3)
U76_gga(x1, x2, x3, x4)  =  U76_gga(x1, x2, x4)
U77_gga(x1, x2, x3, x4)  =  U77_gga(x1, x2, x4)
U78_gga(x1, x2, x3, x4)  =  U78_gga(x1, x2, x4)
U79_gga(x1, x2, x3, x4)  =  U79_gga(x1, x2, x4)
plus19_in_aaa(x1, x2, x3)  =  plus19_in_aaa
plus19_out_aaa(x1, x2, x3)  =  plus19_out_aaa(x1)
U1_aaa(x1, x2, x3, x4)  =  U1_aaa(x4)
U80_gga(x1, x2, x3, x4)  =  U80_gga(x1, x2, x4)
U81_gga(x1, x2, x3, x4)  =  U81_gga(x1, x2, x4)
U82_gga(x1, x2, x3, x4)  =  U82_gga(x1, x2, x4)
U83_gga(x1, x2, x3, x4)  =  U83_gga(x1, x2, x4)
plus19_in_gaa(x1, x2, x3)  =  plus19_in_gaa(x1)
plus19_out_gaa(x1, x2, x3)  =  plus19_out_gaa(x1)
U1_gaa(x1, x2, x3, x4)  =  U1_gaa(x1, x4)
PLUS19_IN_GAA(x1, x2, x3)  =  PLUS19_IN_GAA(x1)

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:

PLUS19_IN_GAA(s(T49), T50, s(T52)) → PLUS19_IN_GAA(T49, T50, T52)

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

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:

PLUS19_IN_GAA(s(T49)) → PLUS19_IN_GAA(T49)

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:

  • PLUS19_IN_GAA(s(T49)) → PLUS19_IN_GAA(T49)
    The graph contains the following edges 1 > 1

(15) YES

(16) Obligation:

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

PLUS19_IN_AAA(s(T49), T50, s(T52)) → PLUS19_IN_AAA(T49, T50, T52)

The TRS R consists of the following rules:

times1_in_gga(0, T5, 0) → times1_out_gga(0, T5, 0)
times1_in_gga(s(0), T23, T25) → U44_gga(T23, T25, times18_in_ga(T23, X45))
times18_in_ga(T35, 0) → times18_out_ga(T35, 0)
U44_gga(T23, T25, times18_out_ga(T23, X45)) → times1_out_gga(s(0), T23, T25)
times1_in_gga(s(0), T23, T25) → U45_gga(T23, T25, times18_in_ga(T23, T29))
U45_gga(T23, T25, times18_out_ga(T23, T29)) → U46_gga(T23, T25, plus19_in_gga(T23, T29, T25))
plus19_in_gga(0, T42, T42) → plus19_out_gga(0, T42, T42)
plus19_in_gga(s(T49), T50, s(T52)) → U1_gga(T49, T50, T52, plus19_in_gga(T49, T50, T52))
U1_gga(T49, T50, T52, plus19_out_gga(T49, T50, T52)) → plus19_out_gga(s(T49), T50, s(T52))
U46_gga(T23, T25, plus19_out_gga(T23, T29, T25)) → times1_out_gga(s(0), T23, T25)
times1_in_gga(s(s(T57)), T10, T12) → U47_gga(T57, T10, T12, even36_in_ga(T57, X90))
even36_in_ga(0, true) → even36_out_ga(0, true)
even36_in_ga(s(0), false) → even36_out_ga(s(0), false)
even36_in_ga(s(s(T61)), X101) → U2_ga(T61, X101, even36_in_ga(T61, X101))
U2_ga(T61, X101, even36_out_ga(T61, X101)) → even36_out_ga(s(s(T61)), X101)
U47_gga(T57, T10, T12, even36_out_ga(T57, X90)) → times1_out_gga(s(s(T57)), T10, T12)
times1_in_gga(s(s(T77)), T78, T80) → U48_gga(T77, T78, T80, even36_in_gg(T77, true))
even36_in_gg(0, true) → even36_out_gg(0, true)
even36_in_gg(s(0), false) → even36_out_gg(s(0), false)
even36_in_gg(s(s(T61)), X101) → U2_gg(T61, X101, even36_in_gg(T61, X101))
U2_gg(T61, X101, even36_out_gg(T61, X101)) → even36_out_gg(s(s(T61)), X101)
U48_gga(T77, T78, T80, even36_out_gg(T77, true)) → U49_gga(T77, T78, T80, half56_in_ga(T77, X128))
half56_in_ga(T86, s(X147)) → U43_ga(T86, X147, half60_in_ga(T86, X147))
half60_in_ga(0, 0) → half60_out_ga(0, 0)
half60_in_ga(s(s(T89)), s(X156)) → U3_ga(T89, X156, half60_in_ga(T89, X156))
U3_ga(T89, X156, half60_out_ga(T89, X156)) → half60_out_ga(s(s(T89)), s(X156))
U43_ga(T86, X147, half60_out_ga(T86, X147)) → half56_out_ga(T86, s(X147))
U49_gga(T77, T78, T80, half56_out_ga(T77, X128)) → times1_out_gga(s(s(T77)), T78, T80)
U48_gga(T77, T78, T80, even36_out_gg(T77, true)) → U50_gga(T77, T78, T80, half56_in_ga(T77, T82))
U50_gga(T77, T78, T80, half56_out_ga(T77, T82)) → U51_gga(T77, T78, T80, times69_in_gga(T82, T78, X129))
times69_in_gga(0, T99, 0) → times69_out_gga(0, T99, 0)
times69_in_gga(s(T104), T105, X182) → U4_gga(T104, T105, X182, even36_in_ga(s(T104), X181))
U4_gga(T104, T105, X182, even36_out_ga(s(T104), X181)) → times69_out_gga(s(T104), T105, X182)
times69_in_gga(s(T117), T118, X217) → U5_gga(T117, T118, X217, even36_in_gg(s(T117), true))
U5_gga(T117, T118, X217, even36_out_gg(s(T117), true)) → U6_gga(T117, T118, X217, half60_in_ga(s(T117), X215))
U6_gga(T117, T118, X217, half60_out_ga(s(T117), X215)) → times69_out_gga(s(T117), T118, X217)
U5_gga(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_gga(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_gga(T117, T118, X217, half60_out_ga(s(T117), T120)) → U8_gga(T117, T118, X217, times69_in_gga(T120, T118, X216))
times69_in_gga(s(T117), T118, 0) → U9_gga(T117, T118, even36_in_gg(s(T117), true))
U9_gga(T117, T118, even36_out_gg(s(T117), true)) → U10_gga(T117, T118, half60_in_ga(s(T117), T120))
U10_gga(T117, T118, half60_out_ga(s(T117), T120)) → U11_gga(T117, T118, times69_in_ggg(T120, T118, 0))
times69_in_ggg(0, T99, 0) → times69_out_ggg(0, T99, 0)
times69_in_ggg(s(T104), T105, X182) → U4_ggg(T104, T105, X182, even36_in_ga(s(T104), X181))
U4_ggg(T104, T105, X182, even36_out_ga(s(T104), X181)) → times69_out_ggg(s(T104), T105, X182)
times69_in_ggg(s(T117), T118, X217) → U5_ggg(T117, T118, X217, even36_in_gg(s(T117), true))
U5_ggg(T117, T118, X217, even36_out_gg(s(T117), true)) → U6_ggg(T117, T118, X217, half60_in_ga(s(T117), X215))
U6_ggg(T117, T118, X217, half60_out_ga(s(T117), X215)) → times69_out_ggg(s(T117), T118, X217)
U5_ggg(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_ggg(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_ggg(T117, T118, X217, half60_out_ga(s(T117), T120)) → U8_ggg(T117, T118, X217, times69_in_gga(T120, T118, X216))
times69_in_gga(s(T117), T118, s(s(0))) → U12_gga(T117, T118, even36_in_gg(s(T117), true))
U12_gga(T117, T118, even36_out_gg(s(T117), true)) → U13_gga(T117, T118, half60_in_ga(s(T117), T120))
U13_gga(T117, T118, half60_out_ga(s(T117), T120)) → U14_gga(T117, T118, times69_in_ggg(T120, T118, s(0)))
times69_in_ggg(s(T117), T118, 0) → U9_ggg(T117, T118, even36_in_gg(s(T117), true))
U9_ggg(T117, T118, even36_out_gg(s(T117), true)) → U10_ggg(T117, T118, half60_in_ga(s(T117), T120))
U10_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U11_ggg(T117, T118, times69_in_ggg(T120, T118, 0))
times69_in_ggg(s(T117), T118, s(s(0))) → U12_ggg(T117, T118, even36_in_gg(s(T117), true))
U12_ggg(T117, T118, even36_out_gg(s(T117), true)) → U13_ggg(T117, T118, half60_in_ga(s(T117), T120))
U13_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U14_ggg(T117, T118, times69_in_ggg(T120, T118, s(0)))
times69_in_ggg(s(T117), T118, s(s(s(s(0))))) → U15_ggg(T117, T118, even36_in_gg(s(T117), true))
U15_ggg(T117, T118, even36_out_gg(s(T117), true)) → U16_ggg(T117, T118, half60_in_ga(s(T117), T120))
U16_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U17_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(0))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_ggg(T117, T118, even36_in_gg(s(T117), true))
U18_ggg(T117, T118, even36_out_gg(s(T117), true)) → U19_ggg(T117, T118, half60_in_ga(s(T117), T120))
U19_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U20_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(0)))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → U21_ggg(T117, T118, even36_in_gg(s(T117), true))
U21_ggg(T117, T118, even36_out_gg(s(T117), true)) → U22_ggg(T117, T118, half60_in_ga(s(T117), T120))
U22_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U23_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(0))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U24_ggg(T117, T118, even36_in_gg(s(T117), true))
U24_ggg(T117, T118, even36_out_gg(s(T117), true)) → U25_ggg(T117, T118, half60_in_ga(s(T117), T120))
U25_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U26_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(0)))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U27_ggg(T117, T118, even36_in_gg(s(T117), true))
U27_ggg(T117, T118, even36_out_gg(s(T117), true)) → U28_ggg(T117, T118, half60_in_ga(s(T117), T120))
U28_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U29_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(0))))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U30_ggg(T117, T118, even36_in_gg(s(T117), true))
U30_ggg(T117, T118, even36_out_gg(s(T117), true)) → U31_ggg(T117, T118, half60_in_ga(s(T117), T120))
U31_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U32_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(s(0)))))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → U33_ggg(T117, T118, X411, even36_in_gg(s(T117), true))
U33_ggg(T117, T118, X411, even36_out_gg(s(T117), true)) → U34_ggg(T117, T118, X411, half60_in_ga(s(T117), T120))
U34_ggg(T117, T118, X411, half60_out_ga(s(T117), T120)) → U35_ggg(T117, T118, X411, times69_in_gga(T120, T118, s(s(s(s(s(s(s(s(T150))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(0))))) → U15_gga(T117, T118, even36_in_gg(s(T117), true))
U15_gga(T117, T118, even36_out_gg(s(T117), true)) → U16_gga(T117, T118, half60_in_ga(s(T117), T120))
U16_gga(T117, T118, half60_out_ga(s(T117), T120)) → U17_gga(T117, T118, times69_in_ggg(T120, T118, s(s(0))))
times69_in_ggg(s(T171), T172, X455) → U37_ggg(T171, T172, X455, even36_in_gg(s(T171), false))
U37_ggg(T171, T172, X455, even36_out_gg(s(T171), false)) → U38_ggg(T171, T172, X455, times69_in_gga(T171, T172, X454))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_gga(T117, T118, even36_in_gg(s(T117), true))
U18_gga(T117, T118, even36_out_gg(s(T117), true)) → U19_gga(T117, T118, half60_in_ga(s(T117), T120))
U19_gga(T117, T118, half60_out_ga(s(T117), T120)) → U20_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(0)))))
U20_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(0))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(0)))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → U21_gga(T117, T118, even36_in_gg(s(T117), true))
U21_gga(T117, T118, even36_out_gg(s(T117), true)) → U22_gga(T117, T118, half60_in_ga(s(T117), T120))
U22_gga(T117, T118, half60_out_ga(s(T117), T120)) → U23_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(0))))))
U23_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(0)))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(0)))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U24_gga(T117, T118, even36_in_gg(s(T117), true))
U24_gga(T117, T118, even36_out_gg(s(T117), true)) → U25_gga(T117, T118, half60_in_ga(s(T117), T120))
U25_gga(T117, T118, half60_out_ga(s(T117), T120)) → U26_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(0)))))))
U26_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(0))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0)))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U27_gga(T117, T118, even36_in_gg(s(T117), true))
U27_gga(T117, T118, even36_out_gg(s(T117), true)) → U28_gga(T117, T118, half60_in_ga(s(T117), T120))
U28_gga(T117, T118, half60_out_ga(s(T117), T120)) → U29_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(0))))))))
U29_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(0)))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U30_gga(T117, T118, even36_in_gg(s(T117), true))
U30_gga(T117, T118, even36_out_gg(s(T117), true)) → U31_gga(T117, T118, half60_in_ga(s(T117), T120))
U31_gga(T117, T118, half60_out_ga(s(T117), T120)) → U32_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(s(0)))))))))
U32_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(s(0))))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → U33_gga(T117, T118, X411, even36_in_gg(s(T117), true))
U33_gga(T117, T118, X411, even36_out_gg(s(T117), true)) → U34_gga(T117, T118, X411, half60_in_ga(s(T117), T120))
U34_gga(T117, T118, X411, half60_out_ga(s(T117), T120)) → U35_gga(T117, T118, X411, times69_in_gga(T120, T118, s(s(s(s(s(s(s(s(T150))))))))))
times69_in_gga(s(T171), T172, X455) → U37_gga(T171, T172, X455, even36_in_gg(s(T171), false))
U37_gga(T171, T172, X455, even36_out_gg(s(T171), false)) → U38_gga(T171, T172, X455, times69_in_gga(T171, T172, X454))
U38_gga(T171, T172, X455, times69_out_gga(T171, T172, X454)) → times69_out_gga(s(T171), T172, X455)
U37_gga(T171, T172, X455, even36_out_gg(s(T171), false)) → U39_gga(T171, T172, X455, times69_in_gga(T171, T172, T175))
U39_gga(T171, T172, X455, times69_out_gga(T171, T172, T175)) → U40_gga(T171, T172, X455, plus166_in_gaa(T172, T175, X455))
plus166_in_gaa(0, T184, T184) → plus166_out_gaa(0, T184, T184)
plus166_in_gaa(s(T189), T190, s(X482)) → U42_gaa(T189, T190, X482, plus166_in_gaa(T189, T190, X482))
U42_gaa(T189, T190, X482, plus166_out_gaa(T189, T190, X482)) → plus166_out_gaa(s(T189), T190, s(X482))
U40_gga(T171, T172, X455, plus166_out_gaa(T172, T175, X455)) → times69_out_gga(s(T171), T172, X455)
U35_gga(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → U36_gga(T117, T118, X411, plus154_in_aaa(T150, s(s(s(s(s(s(s(T150))))))), X411))
plus154_in_aaa(0, T158, s(T158)) → plus154_out_aaa(0, T158, s(T158))
plus154_in_aaa(s(T163), T164, s(X436)) → U41_aaa(T163, T164, X436, plus154_in_aaa(T163, T164, X436))
U41_aaa(T163, T164, X436, plus154_out_aaa(T163, T164, X436)) → plus154_out_aaa(s(T163), T164, s(X436))
U36_gga(T117, T118, X411, plus154_out_aaa(T150, s(s(s(s(s(s(s(T150))))))), X411)) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(X411)))))))))
U38_ggg(T171, T172, X455, times69_out_gga(T171, T172, X454)) → times69_out_ggg(s(T171), T172, X455)
U37_ggg(T171, T172, X455, even36_out_gg(s(T171), false)) → U39_ggg(T171, T172, X455, times69_in_gga(T171, T172, T175))
U39_ggg(T171, T172, X455, times69_out_gga(T171, T172, T175)) → U40_ggg(T171, T172, X455, plus166_in_gag(T172, T175, X455))
plus166_in_gag(0, T184, T184) → plus166_out_gag(0, T184, T184)
plus166_in_gag(s(T189), T190, s(X482)) → U42_gag(T189, T190, X482, plus166_in_gag(T189, T190, X482))
U42_gag(T189, T190, X482, plus166_out_gag(T189, T190, X482)) → plus166_out_gag(s(T189), T190, s(X482))
U40_ggg(T171, T172, X455, plus166_out_gag(T172, T175, X455)) → times69_out_ggg(s(T171), T172, X455)
U17_gga(T117, T118, times69_out_ggg(T120, T118, s(s(0)))) → times69_out_gga(s(T117), T118, s(s(s(s(0)))))
U35_ggg(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → U36_ggg(T117, T118, X411, plus154_in_aag(T150, s(s(s(s(s(s(s(T150))))))), X411))
plus154_in_aag(0, T158, s(T158)) → plus154_out_aag(0, T158, s(T158))
plus154_in_aag(s(T163), T164, s(X436)) → U41_aag(T163, T164, X436, plus154_in_aag(T163, T164, X436))
U41_aag(T163, T164, X436, plus154_out_aag(T163, T164, X436)) → plus154_out_aag(s(T163), T164, s(X436))
U36_ggg(T117, T118, X411, plus154_out_aag(T150, s(s(s(s(s(s(s(T150))))))), X411)) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(X411)))))))))
U32_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(s(0))))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
U29_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(0)))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
U26_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(0))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0)))))))))))
U23_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(0)))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(0)))))))))
U20_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(0))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(0)))))))
U17_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(0)))) → times69_out_ggg(s(T117), T118, s(s(s(s(0)))))
U14_ggg(T117, T118, times69_out_ggg(T120, T118, s(0))) → times69_out_ggg(s(T117), T118, s(s(0)))
U11_ggg(T117, T118, times69_out_ggg(T120, T118, 0)) → times69_out_ggg(s(T117), T118, 0)
U14_gga(T117, T118, times69_out_ggg(T120, T118, s(0))) → times69_out_gga(s(T117), T118, s(s(0)))
U8_ggg(T117, T118, X217, times69_out_gga(T120, T118, X216)) → times69_out_ggg(s(T117), T118, X217)
U11_gga(T117, T118, times69_out_ggg(T120, T118, 0)) → times69_out_gga(s(T117), T118, 0)
U8_gga(T117, T118, X217, times69_out_gga(T120, T118, X216)) → times69_out_gga(s(T117), T118, X217)
U51_gga(T77, T78, T80, times69_out_gga(T82, T78, X129)) → times1_out_gga(s(s(T77)), T78, T80)
times1_in_gga(s(s(T77)), T78, 0) → U52_gga(T77, T78, even36_in_gg(T77, true))
U52_gga(T77, T78, even36_out_gg(T77, true)) → U53_gga(T77, T78, half56_in_ga(T77, T82))
U53_gga(T77, T78, half56_out_ga(T77, T82)) → U54_gga(T77, T78, times69_in_ggg(T82, T78, 0))
U54_gga(T77, T78, times69_out_ggg(T82, T78, 0)) → times1_out_gga(s(s(T77)), T78, 0)
times1_in_gga(s(s(T77)), T78, s(s(0))) → U55_gga(T77, T78, even36_in_gg(T77, true))
U55_gga(T77, T78, even36_out_gg(T77, true)) → U56_gga(T77, T78, half56_in_ga(T77, T82))
U56_gga(T77, T78, half56_out_ga(T77, T82)) → U57_gga(T77, T78, times69_in_ggg(T82, T78, s(0)))
U57_gga(T77, T78, times69_out_ggg(T82, T78, s(0))) → times1_out_gga(s(s(T77)), T78, s(s(0)))
times1_in_gga(s(s(T77)), T78, s(s(s(s(0))))) → U58_gga(T77, T78, even36_in_gg(T77, true))
U58_gga(T77, T78, even36_out_gg(T77, true)) → U59_gga(T77, T78, half56_in_ga(T77, T82))
U59_gga(T77, T78, half56_out_ga(T77, T82)) → U60_gga(T77, T78, times69_in_ggg(T82, T78, s(s(0))))
U60_gga(T77, T78, times69_out_ggg(T82, T78, s(s(0)))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(0)))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(0))))))) → U61_gga(T77, T78, even36_in_gg(T77, true))
U61_gga(T77, T78, even36_out_gg(T77, true)) → U62_gga(T77, T78, half56_in_ga(T77, T82))
U62_gga(T77, T78, half56_out_ga(T77, T82)) → U63_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(0)))))
U63_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(0))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(0)))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(0))))))))) → U64_gga(T77, T78, even36_in_gg(T77, true))
U64_gga(T77, T78, even36_out_gg(T77, true)) → U65_gga(T77, T78, half56_in_ga(T77, T82))
U65_gga(T77, T78, half56_out_ga(T77, T82)) → U66_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(0))))))
U66_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(0)))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(0)))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U67_gga(T77, T78, even36_in_gg(T77, true))
U67_gga(T77, T78, even36_out_gg(T77, true)) → U68_gga(T77, T78, half56_in_ga(T77, T82))
U68_gga(T77, T78, half56_out_ga(T77, T82)) → U69_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(0)))))))
U69_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(0))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(0)))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U70_gga(T77, T78, even36_in_gg(T77, true))
U70_gga(T77, T78, even36_out_gg(T77, true)) → U71_gga(T77, T78, half56_in_ga(T77, T82))
U71_gga(T77, T78, half56_out_ga(T77, T82)) → U72_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(s(0))))))))
U72_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(s(0)))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U73_gga(T77, T78, even36_in_gg(T77, true))
U73_gga(T77, T78, even36_out_gg(T77, true)) → U74_gga(T77, T78, half56_in_ga(T77, T82))
U74_gga(T77, T78, half56_out_ga(T77, T82)) → U75_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(s(s(0)))))))))
U75_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(s(s(0))))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(T248))))))))) → U76_gga(T77, T78, T248, even36_in_gg(T77, true))
U76_gga(T77, T78, T248, even36_out_gg(T77, true)) → U77_gga(T77, T78, T248, half56_in_ga(T77, T82))
U77_gga(T77, T78, T248, half56_out_ga(T77, T82)) → U78_gga(T77, T78, T248, times69_in_gga(T82, T78, s(s(s(s(s(s(s(s(T246))))))))))
U78_gga(T77, T78, T248, times69_out_gga(T82, T78, s(s(s(s(s(s(s(s(T246)))))))))) → U79_gga(T77, T78, T248, plus19_in_aaa(T246, s(s(s(s(s(s(s(s(T246)))))))), T248))
plus19_in_aaa(0, T42, T42) → plus19_out_aaa(0, T42, T42)
plus19_in_aaa(s(T49), T50, s(T52)) → U1_aaa(T49, T50, T52, plus19_in_aaa(T49, T50, T52))
U1_aaa(T49, T50, T52, plus19_out_aaa(T49, T50, T52)) → plus19_out_aaa(s(T49), T50, s(T52))
U79_gga(T77, T78, T248, plus19_out_aaa(T246, s(s(s(s(s(s(s(s(T246)))))))), T248)) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(T248)))))))))
times1_in_gga(s(s(T258)), T259, T261) → U80_gga(T258, T259, T261, even36_in_gg(T258, false))
U80_gga(T258, T259, T261, even36_out_gg(T258, false)) → U81_gga(T258, T259, T261, times69_in_gga(s(T258), T259, X662))
U81_gga(T258, T259, T261, times69_out_gga(s(T258), T259, X662)) → times1_out_gga(s(s(T258)), T259, T261)
U80_gga(T258, T259, T261, even36_out_gg(T258, false)) → U82_gga(T258, T259, T261, times69_in_gga(s(T258), T259, T264))
U82_gga(T258, T259, T261, times69_out_gga(s(T258), T259, T264)) → U83_gga(T258, T259, T261, plus19_in_gaa(T259, T264, T261))
plus19_in_gaa(0, T42, T42) → plus19_out_gaa(0, T42, T42)
plus19_in_gaa(s(T49), T50, s(T52)) → U1_gaa(T49, T50, T52, plus19_in_gaa(T49, T50, T52))
U1_gaa(T49, T50, T52, plus19_out_gaa(T49, T50, T52)) → plus19_out_gaa(s(T49), T50, s(T52))
U83_gga(T258, T259, T261, plus19_out_gaa(T259, T264, T261)) → times1_out_gga(s(s(T258)), T259, T261)

The argument filtering Pi contains the following mapping:
times1_in_gga(x1, x2, x3)  =  times1_in_gga(x1, x2)
0  =  0
times1_out_gga(x1, x2, x3)  =  times1_out_gga(x1, x2)
s(x1)  =  s(x1)
U44_gga(x1, x2, x3)  =  U44_gga(x1, x3)
times18_in_ga(x1, x2)  =  times18_in_ga(x1)
times18_out_ga(x1, x2)  =  times18_out_ga(x1, x2)
U45_gga(x1, x2, x3)  =  U45_gga(x1, x3)
U46_gga(x1, x2, x3)  =  U46_gga(x1, x3)
plus19_in_gga(x1, x2, x3)  =  plus19_in_gga(x1, x2)
plus19_out_gga(x1, x2, x3)  =  plus19_out_gga(x1, x2, x3)
U1_gga(x1, x2, x3, x4)  =  U1_gga(x1, x2, x4)
U47_gga(x1, x2, x3, x4)  =  U47_gga(x1, x2, x4)
even36_in_ga(x1, x2)  =  even36_in_ga(x1)
even36_out_ga(x1, x2)  =  even36_out_ga(x1, x2)
U2_ga(x1, x2, x3)  =  U2_ga(x1, x3)
U48_gga(x1, x2, x3, x4)  =  U48_gga(x1, x2, x4)
even36_in_gg(x1, x2)  =  even36_in_gg(x1, x2)
true  =  true
even36_out_gg(x1, x2)  =  even36_out_gg(x1, x2)
false  =  false
U2_gg(x1, x2, x3)  =  U2_gg(x1, x2, x3)
U49_gga(x1, x2, x3, x4)  =  U49_gga(x1, x2, x4)
half56_in_ga(x1, x2)  =  half56_in_ga(x1)
U43_ga(x1, x2, x3)  =  U43_ga(x1, x3)
half60_in_ga(x1, x2)  =  half60_in_ga(x1)
half60_out_ga(x1, x2)  =  half60_out_ga(x1, x2)
U3_ga(x1, x2, x3)  =  U3_ga(x1, x3)
half56_out_ga(x1, x2)  =  half56_out_ga(x1, x2)
U50_gga(x1, x2, x3, x4)  =  U50_gga(x1, x2, x4)
U51_gga(x1, x2, x3, x4)  =  U51_gga(x1, x2, x4)
times69_in_gga(x1, x2, x3)  =  times69_in_gga(x1, x2)
times69_out_gga(x1, x2, x3)  =  times69_out_gga(x1, x2)
U4_gga(x1, x2, x3, x4)  =  U4_gga(x1, x2, x4)
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)
U8_gga(x1, x2, x3, x4)  =  U8_gga(x1, x2, x4)
U9_gga(x1, x2, x3)  =  U9_gga(x1, x2, x3)
U10_gga(x1, x2, x3)  =  U10_gga(x1, x2, x3)
U11_gga(x1, x2, x3)  =  U11_gga(x1, x2, x3)
times69_in_ggg(x1, x2, x3)  =  times69_in_ggg(x1, x2, x3)
times69_out_ggg(x1, x2, x3)  =  times69_out_ggg(x1, x2, x3)
U4_ggg(x1, x2, x3, x4)  =  U4_ggg(x1, x2, x3, x4)
U5_ggg(x1, x2, x3, x4)  =  U5_ggg(x1, x2, x3, x4)
U6_ggg(x1, x2, x3, x4)  =  U6_ggg(x1, x2, x3, x4)
U7_ggg(x1, x2, x3, x4)  =  U7_ggg(x1, x2, x3, x4)
U8_ggg(x1, x2, x3, x4)  =  U8_ggg(x1, x2, x3, x4)
U12_gga(x1, x2, x3)  =  U12_gga(x1, x2, x3)
U13_gga(x1, x2, x3)  =  U13_gga(x1, x2, x3)
U14_gga(x1, x2, x3)  =  U14_gga(x1, x2, x3)
U9_ggg(x1, x2, x3)  =  U9_ggg(x1, x2, x3)
U10_ggg(x1, x2, x3)  =  U10_ggg(x1, x2, x3)
U11_ggg(x1, x2, x3)  =  U11_ggg(x1, x2, x3)
U12_ggg(x1, x2, x3)  =  U12_ggg(x1, x2, x3)
U13_ggg(x1, x2, x3)  =  U13_ggg(x1, x2, x3)
U14_ggg(x1, x2, x3)  =  U14_ggg(x1, x2, x3)
U15_ggg(x1, x2, x3)  =  U15_ggg(x1, x2, x3)
U16_ggg(x1, x2, x3)  =  U16_ggg(x1, x2, x3)
U17_ggg(x1, x2, x3)  =  U17_ggg(x1, x2, x3)
U18_ggg(x1, x2, x3)  =  U18_ggg(x1, x2, x3)
U19_ggg(x1, x2, x3)  =  U19_ggg(x1, x2, x3)
U20_ggg(x1, x2, x3)  =  U20_ggg(x1, x2, x3)
U21_ggg(x1, x2, x3)  =  U21_ggg(x1, x2, x3)
U22_ggg(x1, x2, x3)  =  U22_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)  =  U26_ggg(x1, x2, x3)
U27_ggg(x1, x2, x3)  =  U27_ggg(x1, x2, x3)
U28_ggg(x1, x2, x3)  =  U28_ggg(x1, x2, x3)
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)  =  U32_ggg(x1, x2, x3)
U33_ggg(x1, x2, x3, x4)  =  U33_ggg(x1, x2, x3, x4)
U34_ggg(x1, x2, x3, x4)  =  U34_ggg(x1, x2, x3, x4)
U35_ggg(x1, x2, x3, x4)  =  U35_ggg(x1, x2, x3, x4)
U15_gga(x1, x2, x3)  =  U15_gga(x1, x2, x3)
U16_gga(x1, x2, x3)  =  U16_gga(x1, x2, x3)
U17_gga(x1, x2, x3)  =  U17_gga(x1, x2, x3)
U37_ggg(x1, x2, x3, x4)  =  U37_ggg(x1, x2, x3, x4)
U38_ggg(x1, x2, x3, x4)  =  U38_ggg(x1, x2, x3, x4)
U18_gga(x1, x2, x3)  =  U18_gga(x1, x2, x3)
U19_gga(x1, x2, x3)  =  U19_gga(x1, x2, x3)
U20_gga(x1, x2, x3)  =  U20_gga(x1, x2, x3)
U21_gga(x1, x2, x3)  =  U21_gga(x1, x2, x3)
U22_gga(x1, x2, x3)  =  U22_gga(x1, x2, x3)
U23_gga(x1, x2, x3)  =  U23_gga(x1, x2, x3)
U24_gga(x1, x2, x3)  =  U24_gga(x1, x2, x3)
U25_gga(x1, x2, x3)  =  U25_gga(x1, x2, x3)
U26_gga(x1, x2, x3)  =  U26_gga(x1, x2, x3)
U27_gga(x1, x2, x3)  =  U27_gga(x1, x2, x3)
U28_gga(x1, x2, x3)  =  U28_gga(x1, x2, x3)
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)  =  U32_gga(x1, x2, x3)
U33_gga(x1, x2, x3, x4)  =  U33_gga(x1, x2, x4)
U34_gga(x1, x2, x3, x4)  =  U34_gga(x1, x2, x4)
U35_gga(x1, x2, x3, x4)  =  U35_gga(x1, x2, x4)
U37_gga(x1, x2, x3, x4)  =  U37_gga(x1, x2, x4)
U38_gga(x1, x2, x3, x4)  =  U38_gga(x1, x2, x4)
U39_gga(x1, x2, x3, x4)  =  U39_gga(x1, x2, x4)
U40_gga(x1, x2, x3, x4)  =  U40_gga(x1, x2, x4)
plus166_in_gaa(x1, x2, x3)  =  plus166_in_gaa(x1)
plus166_out_gaa(x1, x2, x3)  =  plus166_out_gaa(x1)
U42_gaa(x1, x2, x3, x4)  =  U42_gaa(x1, x4)
U36_gga(x1, x2, x3, x4)  =  U36_gga(x1, x2, x4)
plus154_in_aaa(x1, x2, x3)  =  plus154_in_aaa
plus154_out_aaa(x1, x2, x3)  =  plus154_out_aaa(x1)
U41_aaa(x1, x2, x3, x4)  =  U41_aaa(x4)
U39_ggg(x1, x2, x3, x4)  =  U39_ggg(x1, x2, x3, x4)
U40_ggg(x1, x2, x3, x4)  =  U40_ggg(x1, x2, x3, x4)
plus166_in_gag(x1, x2, x3)  =  plus166_in_gag(x1, x3)
plus166_out_gag(x1, x2, x3)  =  plus166_out_gag(x1, x2, x3)
U42_gag(x1, x2, x3, x4)  =  U42_gag(x1, x3, x4)
U36_ggg(x1, x2, x3, x4)  =  U36_ggg(x1, x2, x3, x4)
plus154_in_aag(x1, x2, x3)  =  plus154_in_aag(x3)
plus154_out_aag(x1, x2, x3)  =  plus154_out_aag(x1, x2, x3)
U41_aag(x1, x2, x3, x4)  =  U41_aag(x3, x4)
U52_gga(x1, x2, x3)  =  U52_gga(x1, x2, x3)
U53_gga(x1, x2, x3)  =  U53_gga(x1, x2, x3)
U54_gga(x1, x2, x3)  =  U54_gga(x1, x2, x3)
U55_gga(x1, x2, x3)  =  U55_gga(x1, x2, x3)
U56_gga(x1, x2, x3)  =  U56_gga(x1, x2, x3)
U57_gga(x1, x2, x3)  =  U57_gga(x1, x2, x3)
U58_gga(x1, x2, x3)  =  U58_gga(x1, x2, x3)
U59_gga(x1, x2, x3)  =  U59_gga(x1, x2, x3)
U60_gga(x1, x2, x3)  =  U60_gga(x1, x2, x3)
U61_gga(x1, x2, x3)  =  U61_gga(x1, x2, x3)
U62_gga(x1, x2, x3)  =  U62_gga(x1, x2, x3)
U63_gga(x1, x2, x3)  =  U63_gga(x1, x2, x3)
U64_gga(x1, x2, x3)  =  U64_gga(x1, x2, x3)
U65_gga(x1, x2, x3)  =  U65_gga(x1, x2, x3)
U66_gga(x1, x2, x3)  =  U66_gga(x1, x2, x3)
U67_gga(x1, x2, x3)  =  U67_gga(x1, x2, x3)
U68_gga(x1, x2, x3)  =  U68_gga(x1, x2, x3)
U69_gga(x1, x2, x3)  =  U69_gga(x1, x2, x3)
U70_gga(x1, x2, x3)  =  U70_gga(x1, x2, x3)
U71_gga(x1, x2, x3)  =  U71_gga(x1, x2, x3)
U72_gga(x1, x2, x3)  =  U72_gga(x1, x2, x3)
U73_gga(x1, x2, x3)  =  U73_gga(x1, x2, x3)
U74_gga(x1, x2, x3)  =  U74_gga(x1, x2, x3)
U75_gga(x1, x2, x3)  =  U75_gga(x1, x2, x3)
U76_gga(x1, x2, x3, x4)  =  U76_gga(x1, x2, x4)
U77_gga(x1, x2, x3, x4)  =  U77_gga(x1, x2, x4)
U78_gga(x1, x2, x3, x4)  =  U78_gga(x1, x2, x4)
U79_gga(x1, x2, x3, x4)  =  U79_gga(x1, x2, x4)
plus19_in_aaa(x1, x2, x3)  =  plus19_in_aaa
plus19_out_aaa(x1, x2, x3)  =  plus19_out_aaa(x1)
U1_aaa(x1, x2, x3, x4)  =  U1_aaa(x4)
U80_gga(x1, x2, x3, x4)  =  U80_gga(x1, x2, x4)
U81_gga(x1, x2, x3, x4)  =  U81_gga(x1, x2, x4)
U82_gga(x1, x2, x3, x4)  =  U82_gga(x1, x2, x4)
U83_gga(x1, x2, x3, x4)  =  U83_gga(x1, x2, x4)
plus19_in_gaa(x1, x2, x3)  =  plus19_in_gaa(x1)
plus19_out_gaa(x1, x2, x3)  =  plus19_out_gaa(x1)
U1_gaa(x1, x2, x3, x4)  =  U1_gaa(x1, x4)
PLUS19_IN_AAA(x1, x2, x3)  =  PLUS19_IN_AAA

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:

PLUS19_IN_AAA(s(T49), T50, s(T52)) → PLUS19_IN_AAA(T49, T50, T52)

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

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:

PLUS19_IN_AAAPLUS19_IN_AAA

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

(21) NonTerminationProof (EQUIVALENT transformation)

We used the non-termination processor [FROCOS05] to show that the DP problem is infinite.
Found a loop by semiunifying a rule from P directly.

s = PLUS19_IN_AAA evaluates to t =PLUS19_IN_AAA

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




Rewriting sequence

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



(22) NO

(23) Obligation:

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

PLUS154_IN_AAG(s(T163), T164, s(X436)) → PLUS154_IN_AAG(T163, T164, X436)

The TRS R consists of the following rules:

times1_in_gga(0, T5, 0) → times1_out_gga(0, T5, 0)
times1_in_gga(s(0), T23, T25) → U44_gga(T23, T25, times18_in_ga(T23, X45))
times18_in_ga(T35, 0) → times18_out_ga(T35, 0)
U44_gga(T23, T25, times18_out_ga(T23, X45)) → times1_out_gga(s(0), T23, T25)
times1_in_gga(s(0), T23, T25) → U45_gga(T23, T25, times18_in_ga(T23, T29))
U45_gga(T23, T25, times18_out_ga(T23, T29)) → U46_gga(T23, T25, plus19_in_gga(T23, T29, T25))
plus19_in_gga(0, T42, T42) → plus19_out_gga(0, T42, T42)
plus19_in_gga(s(T49), T50, s(T52)) → U1_gga(T49, T50, T52, plus19_in_gga(T49, T50, T52))
U1_gga(T49, T50, T52, plus19_out_gga(T49, T50, T52)) → plus19_out_gga(s(T49), T50, s(T52))
U46_gga(T23, T25, plus19_out_gga(T23, T29, T25)) → times1_out_gga(s(0), T23, T25)
times1_in_gga(s(s(T57)), T10, T12) → U47_gga(T57, T10, T12, even36_in_ga(T57, X90))
even36_in_ga(0, true) → even36_out_ga(0, true)
even36_in_ga(s(0), false) → even36_out_ga(s(0), false)
even36_in_ga(s(s(T61)), X101) → U2_ga(T61, X101, even36_in_ga(T61, X101))
U2_ga(T61, X101, even36_out_ga(T61, X101)) → even36_out_ga(s(s(T61)), X101)
U47_gga(T57, T10, T12, even36_out_ga(T57, X90)) → times1_out_gga(s(s(T57)), T10, T12)
times1_in_gga(s(s(T77)), T78, T80) → U48_gga(T77, T78, T80, even36_in_gg(T77, true))
even36_in_gg(0, true) → even36_out_gg(0, true)
even36_in_gg(s(0), false) → even36_out_gg(s(0), false)
even36_in_gg(s(s(T61)), X101) → U2_gg(T61, X101, even36_in_gg(T61, X101))
U2_gg(T61, X101, even36_out_gg(T61, X101)) → even36_out_gg(s(s(T61)), X101)
U48_gga(T77, T78, T80, even36_out_gg(T77, true)) → U49_gga(T77, T78, T80, half56_in_ga(T77, X128))
half56_in_ga(T86, s(X147)) → U43_ga(T86, X147, half60_in_ga(T86, X147))
half60_in_ga(0, 0) → half60_out_ga(0, 0)
half60_in_ga(s(s(T89)), s(X156)) → U3_ga(T89, X156, half60_in_ga(T89, X156))
U3_ga(T89, X156, half60_out_ga(T89, X156)) → half60_out_ga(s(s(T89)), s(X156))
U43_ga(T86, X147, half60_out_ga(T86, X147)) → half56_out_ga(T86, s(X147))
U49_gga(T77, T78, T80, half56_out_ga(T77, X128)) → times1_out_gga(s(s(T77)), T78, T80)
U48_gga(T77, T78, T80, even36_out_gg(T77, true)) → U50_gga(T77, T78, T80, half56_in_ga(T77, T82))
U50_gga(T77, T78, T80, half56_out_ga(T77, T82)) → U51_gga(T77, T78, T80, times69_in_gga(T82, T78, X129))
times69_in_gga(0, T99, 0) → times69_out_gga(0, T99, 0)
times69_in_gga(s(T104), T105, X182) → U4_gga(T104, T105, X182, even36_in_ga(s(T104), X181))
U4_gga(T104, T105, X182, even36_out_ga(s(T104), X181)) → times69_out_gga(s(T104), T105, X182)
times69_in_gga(s(T117), T118, X217) → U5_gga(T117, T118, X217, even36_in_gg(s(T117), true))
U5_gga(T117, T118, X217, even36_out_gg(s(T117), true)) → U6_gga(T117, T118, X217, half60_in_ga(s(T117), X215))
U6_gga(T117, T118, X217, half60_out_ga(s(T117), X215)) → times69_out_gga(s(T117), T118, X217)
U5_gga(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_gga(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_gga(T117, T118, X217, half60_out_ga(s(T117), T120)) → U8_gga(T117, T118, X217, times69_in_gga(T120, T118, X216))
times69_in_gga(s(T117), T118, 0) → U9_gga(T117, T118, even36_in_gg(s(T117), true))
U9_gga(T117, T118, even36_out_gg(s(T117), true)) → U10_gga(T117, T118, half60_in_ga(s(T117), T120))
U10_gga(T117, T118, half60_out_ga(s(T117), T120)) → U11_gga(T117, T118, times69_in_ggg(T120, T118, 0))
times69_in_ggg(0, T99, 0) → times69_out_ggg(0, T99, 0)
times69_in_ggg(s(T104), T105, X182) → U4_ggg(T104, T105, X182, even36_in_ga(s(T104), X181))
U4_ggg(T104, T105, X182, even36_out_ga(s(T104), X181)) → times69_out_ggg(s(T104), T105, X182)
times69_in_ggg(s(T117), T118, X217) → U5_ggg(T117, T118, X217, even36_in_gg(s(T117), true))
U5_ggg(T117, T118, X217, even36_out_gg(s(T117), true)) → U6_ggg(T117, T118, X217, half60_in_ga(s(T117), X215))
U6_ggg(T117, T118, X217, half60_out_ga(s(T117), X215)) → times69_out_ggg(s(T117), T118, X217)
U5_ggg(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_ggg(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_ggg(T117, T118, X217, half60_out_ga(s(T117), T120)) → U8_ggg(T117, T118, X217, times69_in_gga(T120, T118, X216))
times69_in_gga(s(T117), T118, s(s(0))) → U12_gga(T117, T118, even36_in_gg(s(T117), true))
U12_gga(T117, T118, even36_out_gg(s(T117), true)) → U13_gga(T117, T118, half60_in_ga(s(T117), T120))
U13_gga(T117, T118, half60_out_ga(s(T117), T120)) → U14_gga(T117, T118, times69_in_ggg(T120, T118, s(0)))
times69_in_ggg(s(T117), T118, 0) → U9_ggg(T117, T118, even36_in_gg(s(T117), true))
U9_ggg(T117, T118, even36_out_gg(s(T117), true)) → U10_ggg(T117, T118, half60_in_ga(s(T117), T120))
U10_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U11_ggg(T117, T118, times69_in_ggg(T120, T118, 0))
times69_in_ggg(s(T117), T118, s(s(0))) → U12_ggg(T117, T118, even36_in_gg(s(T117), true))
U12_ggg(T117, T118, even36_out_gg(s(T117), true)) → U13_ggg(T117, T118, half60_in_ga(s(T117), T120))
U13_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U14_ggg(T117, T118, times69_in_ggg(T120, T118, s(0)))
times69_in_ggg(s(T117), T118, s(s(s(s(0))))) → U15_ggg(T117, T118, even36_in_gg(s(T117), true))
U15_ggg(T117, T118, even36_out_gg(s(T117), true)) → U16_ggg(T117, T118, half60_in_ga(s(T117), T120))
U16_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U17_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(0))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_ggg(T117, T118, even36_in_gg(s(T117), true))
U18_ggg(T117, T118, even36_out_gg(s(T117), true)) → U19_ggg(T117, T118, half60_in_ga(s(T117), T120))
U19_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U20_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(0)))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → U21_ggg(T117, T118, even36_in_gg(s(T117), true))
U21_ggg(T117, T118, even36_out_gg(s(T117), true)) → U22_ggg(T117, T118, half60_in_ga(s(T117), T120))
U22_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U23_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(0))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U24_ggg(T117, T118, even36_in_gg(s(T117), true))
U24_ggg(T117, T118, even36_out_gg(s(T117), true)) → U25_ggg(T117, T118, half60_in_ga(s(T117), T120))
U25_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U26_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(0)))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U27_ggg(T117, T118, even36_in_gg(s(T117), true))
U27_ggg(T117, T118, even36_out_gg(s(T117), true)) → U28_ggg(T117, T118, half60_in_ga(s(T117), T120))
U28_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U29_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(0))))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U30_ggg(T117, T118, even36_in_gg(s(T117), true))
U30_ggg(T117, T118, even36_out_gg(s(T117), true)) → U31_ggg(T117, T118, half60_in_ga(s(T117), T120))
U31_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U32_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(s(0)))))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → U33_ggg(T117, T118, X411, even36_in_gg(s(T117), true))
U33_ggg(T117, T118, X411, even36_out_gg(s(T117), true)) → U34_ggg(T117, T118, X411, half60_in_ga(s(T117), T120))
U34_ggg(T117, T118, X411, half60_out_ga(s(T117), T120)) → U35_ggg(T117, T118, X411, times69_in_gga(T120, T118, s(s(s(s(s(s(s(s(T150))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(0))))) → U15_gga(T117, T118, even36_in_gg(s(T117), true))
U15_gga(T117, T118, even36_out_gg(s(T117), true)) → U16_gga(T117, T118, half60_in_ga(s(T117), T120))
U16_gga(T117, T118, half60_out_ga(s(T117), T120)) → U17_gga(T117, T118, times69_in_ggg(T120, T118, s(s(0))))
times69_in_ggg(s(T171), T172, X455) → U37_ggg(T171, T172, X455, even36_in_gg(s(T171), false))
U37_ggg(T171, T172, X455, even36_out_gg(s(T171), false)) → U38_ggg(T171, T172, X455, times69_in_gga(T171, T172, X454))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_gga(T117, T118, even36_in_gg(s(T117), true))
U18_gga(T117, T118, even36_out_gg(s(T117), true)) → U19_gga(T117, T118, half60_in_ga(s(T117), T120))
U19_gga(T117, T118, half60_out_ga(s(T117), T120)) → U20_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(0)))))
U20_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(0))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(0)))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → U21_gga(T117, T118, even36_in_gg(s(T117), true))
U21_gga(T117, T118, even36_out_gg(s(T117), true)) → U22_gga(T117, T118, half60_in_ga(s(T117), T120))
U22_gga(T117, T118, half60_out_ga(s(T117), T120)) → U23_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(0))))))
U23_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(0)))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(0)))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U24_gga(T117, T118, even36_in_gg(s(T117), true))
U24_gga(T117, T118, even36_out_gg(s(T117), true)) → U25_gga(T117, T118, half60_in_ga(s(T117), T120))
U25_gga(T117, T118, half60_out_ga(s(T117), T120)) → U26_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(0)))))))
U26_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(0))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0)))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U27_gga(T117, T118, even36_in_gg(s(T117), true))
U27_gga(T117, T118, even36_out_gg(s(T117), true)) → U28_gga(T117, T118, half60_in_ga(s(T117), T120))
U28_gga(T117, T118, half60_out_ga(s(T117), T120)) → U29_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(0))))))))
U29_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(0)))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U30_gga(T117, T118, even36_in_gg(s(T117), true))
U30_gga(T117, T118, even36_out_gg(s(T117), true)) → U31_gga(T117, T118, half60_in_ga(s(T117), T120))
U31_gga(T117, T118, half60_out_ga(s(T117), T120)) → U32_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(s(0)))))))))
U32_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(s(0))))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → U33_gga(T117, T118, X411, even36_in_gg(s(T117), true))
U33_gga(T117, T118, X411, even36_out_gg(s(T117), true)) → U34_gga(T117, T118, X411, half60_in_ga(s(T117), T120))
U34_gga(T117, T118, X411, half60_out_ga(s(T117), T120)) → U35_gga(T117, T118, X411, times69_in_gga(T120, T118, s(s(s(s(s(s(s(s(T150))))))))))
times69_in_gga(s(T171), T172, X455) → U37_gga(T171, T172, X455, even36_in_gg(s(T171), false))
U37_gga(T171, T172, X455, even36_out_gg(s(T171), false)) → U38_gga(T171, T172, X455, times69_in_gga(T171, T172, X454))
U38_gga(T171, T172, X455, times69_out_gga(T171, T172, X454)) → times69_out_gga(s(T171), T172, X455)
U37_gga(T171, T172, X455, even36_out_gg(s(T171), false)) → U39_gga(T171, T172, X455, times69_in_gga(T171, T172, T175))
U39_gga(T171, T172, X455, times69_out_gga(T171, T172, T175)) → U40_gga(T171, T172, X455, plus166_in_gaa(T172, T175, X455))
plus166_in_gaa(0, T184, T184) → plus166_out_gaa(0, T184, T184)
plus166_in_gaa(s(T189), T190, s(X482)) → U42_gaa(T189, T190, X482, plus166_in_gaa(T189, T190, X482))
U42_gaa(T189, T190, X482, plus166_out_gaa(T189, T190, X482)) → plus166_out_gaa(s(T189), T190, s(X482))
U40_gga(T171, T172, X455, plus166_out_gaa(T172, T175, X455)) → times69_out_gga(s(T171), T172, X455)
U35_gga(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → U36_gga(T117, T118, X411, plus154_in_aaa(T150, s(s(s(s(s(s(s(T150))))))), X411))
plus154_in_aaa(0, T158, s(T158)) → plus154_out_aaa(0, T158, s(T158))
plus154_in_aaa(s(T163), T164, s(X436)) → U41_aaa(T163, T164, X436, plus154_in_aaa(T163, T164, X436))
U41_aaa(T163, T164, X436, plus154_out_aaa(T163, T164, X436)) → plus154_out_aaa(s(T163), T164, s(X436))
U36_gga(T117, T118, X411, plus154_out_aaa(T150, s(s(s(s(s(s(s(T150))))))), X411)) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(X411)))))))))
U38_ggg(T171, T172, X455, times69_out_gga(T171, T172, X454)) → times69_out_ggg(s(T171), T172, X455)
U37_ggg(T171, T172, X455, even36_out_gg(s(T171), false)) → U39_ggg(T171, T172, X455, times69_in_gga(T171, T172, T175))
U39_ggg(T171, T172, X455, times69_out_gga(T171, T172, T175)) → U40_ggg(T171, T172, X455, plus166_in_gag(T172, T175, X455))
plus166_in_gag(0, T184, T184) → plus166_out_gag(0, T184, T184)
plus166_in_gag(s(T189), T190, s(X482)) → U42_gag(T189, T190, X482, plus166_in_gag(T189, T190, X482))
U42_gag(T189, T190, X482, plus166_out_gag(T189, T190, X482)) → plus166_out_gag(s(T189), T190, s(X482))
U40_ggg(T171, T172, X455, plus166_out_gag(T172, T175, X455)) → times69_out_ggg(s(T171), T172, X455)
U17_gga(T117, T118, times69_out_ggg(T120, T118, s(s(0)))) → times69_out_gga(s(T117), T118, s(s(s(s(0)))))
U35_ggg(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → U36_ggg(T117, T118, X411, plus154_in_aag(T150, s(s(s(s(s(s(s(T150))))))), X411))
plus154_in_aag(0, T158, s(T158)) → plus154_out_aag(0, T158, s(T158))
plus154_in_aag(s(T163), T164, s(X436)) → U41_aag(T163, T164, X436, plus154_in_aag(T163, T164, X436))
U41_aag(T163, T164, X436, plus154_out_aag(T163, T164, X436)) → plus154_out_aag(s(T163), T164, s(X436))
U36_ggg(T117, T118, X411, plus154_out_aag(T150, s(s(s(s(s(s(s(T150))))))), X411)) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(X411)))))))))
U32_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(s(0))))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
U29_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(0)))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
U26_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(0))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0)))))))))))
U23_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(0)))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(0)))))))))
U20_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(0))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(0)))))))
U17_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(0)))) → times69_out_ggg(s(T117), T118, s(s(s(s(0)))))
U14_ggg(T117, T118, times69_out_ggg(T120, T118, s(0))) → times69_out_ggg(s(T117), T118, s(s(0)))
U11_ggg(T117, T118, times69_out_ggg(T120, T118, 0)) → times69_out_ggg(s(T117), T118, 0)
U14_gga(T117, T118, times69_out_ggg(T120, T118, s(0))) → times69_out_gga(s(T117), T118, s(s(0)))
U8_ggg(T117, T118, X217, times69_out_gga(T120, T118, X216)) → times69_out_ggg(s(T117), T118, X217)
U11_gga(T117, T118, times69_out_ggg(T120, T118, 0)) → times69_out_gga(s(T117), T118, 0)
U8_gga(T117, T118, X217, times69_out_gga(T120, T118, X216)) → times69_out_gga(s(T117), T118, X217)
U51_gga(T77, T78, T80, times69_out_gga(T82, T78, X129)) → times1_out_gga(s(s(T77)), T78, T80)
times1_in_gga(s(s(T77)), T78, 0) → U52_gga(T77, T78, even36_in_gg(T77, true))
U52_gga(T77, T78, even36_out_gg(T77, true)) → U53_gga(T77, T78, half56_in_ga(T77, T82))
U53_gga(T77, T78, half56_out_ga(T77, T82)) → U54_gga(T77, T78, times69_in_ggg(T82, T78, 0))
U54_gga(T77, T78, times69_out_ggg(T82, T78, 0)) → times1_out_gga(s(s(T77)), T78, 0)
times1_in_gga(s(s(T77)), T78, s(s(0))) → U55_gga(T77, T78, even36_in_gg(T77, true))
U55_gga(T77, T78, even36_out_gg(T77, true)) → U56_gga(T77, T78, half56_in_ga(T77, T82))
U56_gga(T77, T78, half56_out_ga(T77, T82)) → U57_gga(T77, T78, times69_in_ggg(T82, T78, s(0)))
U57_gga(T77, T78, times69_out_ggg(T82, T78, s(0))) → times1_out_gga(s(s(T77)), T78, s(s(0)))
times1_in_gga(s(s(T77)), T78, s(s(s(s(0))))) → U58_gga(T77, T78, even36_in_gg(T77, true))
U58_gga(T77, T78, even36_out_gg(T77, true)) → U59_gga(T77, T78, half56_in_ga(T77, T82))
U59_gga(T77, T78, half56_out_ga(T77, T82)) → U60_gga(T77, T78, times69_in_ggg(T82, T78, s(s(0))))
U60_gga(T77, T78, times69_out_ggg(T82, T78, s(s(0)))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(0)))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(0))))))) → U61_gga(T77, T78, even36_in_gg(T77, true))
U61_gga(T77, T78, even36_out_gg(T77, true)) → U62_gga(T77, T78, half56_in_ga(T77, T82))
U62_gga(T77, T78, half56_out_ga(T77, T82)) → U63_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(0)))))
U63_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(0))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(0)))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(0))))))))) → U64_gga(T77, T78, even36_in_gg(T77, true))
U64_gga(T77, T78, even36_out_gg(T77, true)) → U65_gga(T77, T78, half56_in_ga(T77, T82))
U65_gga(T77, T78, half56_out_ga(T77, T82)) → U66_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(0))))))
U66_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(0)))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(0)))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U67_gga(T77, T78, even36_in_gg(T77, true))
U67_gga(T77, T78, even36_out_gg(T77, true)) → U68_gga(T77, T78, half56_in_ga(T77, T82))
U68_gga(T77, T78, half56_out_ga(T77, T82)) → U69_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(0)))))))
U69_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(0))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(0)))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U70_gga(T77, T78, even36_in_gg(T77, true))
U70_gga(T77, T78, even36_out_gg(T77, true)) → U71_gga(T77, T78, half56_in_ga(T77, T82))
U71_gga(T77, T78, half56_out_ga(T77, T82)) → U72_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(s(0))))))))
U72_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(s(0)))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U73_gga(T77, T78, even36_in_gg(T77, true))
U73_gga(T77, T78, even36_out_gg(T77, true)) → U74_gga(T77, T78, half56_in_ga(T77, T82))
U74_gga(T77, T78, half56_out_ga(T77, T82)) → U75_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(s(s(0)))))))))
U75_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(s(s(0))))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(T248))))))))) → U76_gga(T77, T78, T248, even36_in_gg(T77, true))
U76_gga(T77, T78, T248, even36_out_gg(T77, true)) → U77_gga(T77, T78, T248, half56_in_ga(T77, T82))
U77_gga(T77, T78, T248, half56_out_ga(T77, T82)) → U78_gga(T77, T78, T248, times69_in_gga(T82, T78, s(s(s(s(s(s(s(s(T246))))))))))
U78_gga(T77, T78, T248, times69_out_gga(T82, T78, s(s(s(s(s(s(s(s(T246)))))))))) → U79_gga(T77, T78, T248, plus19_in_aaa(T246, s(s(s(s(s(s(s(s(T246)))))))), T248))
plus19_in_aaa(0, T42, T42) → plus19_out_aaa(0, T42, T42)
plus19_in_aaa(s(T49), T50, s(T52)) → U1_aaa(T49, T50, T52, plus19_in_aaa(T49, T50, T52))
U1_aaa(T49, T50, T52, plus19_out_aaa(T49, T50, T52)) → plus19_out_aaa(s(T49), T50, s(T52))
U79_gga(T77, T78, T248, plus19_out_aaa(T246, s(s(s(s(s(s(s(s(T246)))))))), T248)) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(T248)))))))))
times1_in_gga(s(s(T258)), T259, T261) → U80_gga(T258, T259, T261, even36_in_gg(T258, false))
U80_gga(T258, T259, T261, even36_out_gg(T258, false)) → U81_gga(T258, T259, T261, times69_in_gga(s(T258), T259, X662))
U81_gga(T258, T259, T261, times69_out_gga(s(T258), T259, X662)) → times1_out_gga(s(s(T258)), T259, T261)
U80_gga(T258, T259, T261, even36_out_gg(T258, false)) → U82_gga(T258, T259, T261, times69_in_gga(s(T258), T259, T264))
U82_gga(T258, T259, T261, times69_out_gga(s(T258), T259, T264)) → U83_gga(T258, T259, T261, plus19_in_gaa(T259, T264, T261))
plus19_in_gaa(0, T42, T42) → plus19_out_gaa(0, T42, T42)
plus19_in_gaa(s(T49), T50, s(T52)) → U1_gaa(T49, T50, T52, plus19_in_gaa(T49, T50, T52))
U1_gaa(T49, T50, T52, plus19_out_gaa(T49, T50, T52)) → plus19_out_gaa(s(T49), T50, s(T52))
U83_gga(T258, T259, T261, plus19_out_gaa(T259, T264, T261)) → times1_out_gga(s(s(T258)), T259, T261)

The argument filtering Pi contains the following mapping:
times1_in_gga(x1, x2, x3)  =  times1_in_gga(x1, x2)
0  =  0
times1_out_gga(x1, x2, x3)  =  times1_out_gga(x1, x2)
s(x1)  =  s(x1)
U44_gga(x1, x2, x3)  =  U44_gga(x1, x3)
times18_in_ga(x1, x2)  =  times18_in_ga(x1)
times18_out_ga(x1, x2)  =  times18_out_ga(x1, x2)
U45_gga(x1, x2, x3)  =  U45_gga(x1, x3)
U46_gga(x1, x2, x3)  =  U46_gga(x1, x3)
plus19_in_gga(x1, x2, x3)  =  plus19_in_gga(x1, x2)
plus19_out_gga(x1, x2, x3)  =  plus19_out_gga(x1, x2, x3)
U1_gga(x1, x2, x3, x4)  =  U1_gga(x1, x2, x4)
U47_gga(x1, x2, x3, x4)  =  U47_gga(x1, x2, x4)
even36_in_ga(x1, x2)  =  even36_in_ga(x1)
even36_out_ga(x1, x2)  =  even36_out_ga(x1, x2)
U2_ga(x1, x2, x3)  =  U2_ga(x1, x3)
U48_gga(x1, x2, x3, x4)  =  U48_gga(x1, x2, x4)
even36_in_gg(x1, x2)  =  even36_in_gg(x1, x2)
true  =  true
even36_out_gg(x1, x2)  =  even36_out_gg(x1, x2)
false  =  false
U2_gg(x1, x2, x3)  =  U2_gg(x1, x2, x3)
U49_gga(x1, x2, x3, x4)  =  U49_gga(x1, x2, x4)
half56_in_ga(x1, x2)  =  half56_in_ga(x1)
U43_ga(x1, x2, x3)  =  U43_ga(x1, x3)
half60_in_ga(x1, x2)  =  half60_in_ga(x1)
half60_out_ga(x1, x2)  =  half60_out_ga(x1, x2)
U3_ga(x1, x2, x3)  =  U3_ga(x1, x3)
half56_out_ga(x1, x2)  =  half56_out_ga(x1, x2)
U50_gga(x1, x2, x3, x4)  =  U50_gga(x1, x2, x4)
U51_gga(x1, x2, x3, x4)  =  U51_gga(x1, x2, x4)
times69_in_gga(x1, x2, x3)  =  times69_in_gga(x1, x2)
times69_out_gga(x1, x2, x3)  =  times69_out_gga(x1, x2)
U4_gga(x1, x2, x3, x4)  =  U4_gga(x1, x2, x4)
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)
U8_gga(x1, x2, x3, x4)  =  U8_gga(x1, x2, x4)
U9_gga(x1, x2, x3)  =  U9_gga(x1, x2, x3)
U10_gga(x1, x2, x3)  =  U10_gga(x1, x2, x3)
U11_gga(x1, x2, x3)  =  U11_gga(x1, x2, x3)
times69_in_ggg(x1, x2, x3)  =  times69_in_ggg(x1, x2, x3)
times69_out_ggg(x1, x2, x3)  =  times69_out_ggg(x1, x2, x3)
U4_ggg(x1, x2, x3, x4)  =  U4_ggg(x1, x2, x3, x4)
U5_ggg(x1, x2, x3, x4)  =  U5_ggg(x1, x2, x3, x4)
U6_ggg(x1, x2, x3, x4)  =  U6_ggg(x1, x2, x3, x4)
U7_ggg(x1, x2, x3, x4)  =  U7_ggg(x1, x2, x3, x4)
U8_ggg(x1, x2, x3, x4)  =  U8_ggg(x1, x2, x3, x4)
U12_gga(x1, x2, x3)  =  U12_gga(x1, x2, x3)
U13_gga(x1, x2, x3)  =  U13_gga(x1, x2, x3)
U14_gga(x1, x2, x3)  =  U14_gga(x1, x2, x3)
U9_ggg(x1, x2, x3)  =  U9_ggg(x1, x2, x3)
U10_ggg(x1, x2, x3)  =  U10_ggg(x1, x2, x3)
U11_ggg(x1, x2, x3)  =  U11_ggg(x1, x2, x3)
U12_ggg(x1, x2, x3)  =  U12_ggg(x1, x2, x3)
U13_ggg(x1, x2, x3)  =  U13_ggg(x1, x2, x3)
U14_ggg(x1, x2, x3)  =  U14_ggg(x1, x2, x3)
U15_ggg(x1, x2, x3)  =  U15_ggg(x1, x2, x3)
U16_ggg(x1, x2, x3)  =  U16_ggg(x1, x2, x3)
U17_ggg(x1, x2, x3)  =  U17_ggg(x1, x2, x3)
U18_ggg(x1, x2, x3)  =  U18_ggg(x1, x2, x3)
U19_ggg(x1, x2, x3)  =  U19_ggg(x1, x2, x3)
U20_ggg(x1, x2, x3)  =  U20_ggg(x1, x2, x3)
U21_ggg(x1, x2, x3)  =  U21_ggg(x1, x2, x3)
U22_ggg(x1, x2, x3)  =  U22_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)  =  U26_ggg(x1, x2, x3)
U27_ggg(x1, x2, x3)  =  U27_ggg(x1, x2, x3)
U28_ggg(x1, x2, x3)  =  U28_ggg(x1, x2, x3)
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)  =  U32_ggg(x1, x2, x3)
U33_ggg(x1, x2, x3, x4)  =  U33_ggg(x1, x2, x3, x4)
U34_ggg(x1, x2, x3, x4)  =  U34_ggg(x1, x2, x3, x4)
U35_ggg(x1, x2, x3, x4)  =  U35_ggg(x1, x2, x3, x4)
U15_gga(x1, x2, x3)  =  U15_gga(x1, x2, x3)
U16_gga(x1, x2, x3)  =  U16_gga(x1, x2, x3)
U17_gga(x1, x2, x3)  =  U17_gga(x1, x2, x3)
U37_ggg(x1, x2, x3, x4)  =  U37_ggg(x1, x2, x3, x4)
U38_ggg(x1, x2, x3, x4)  =  U38_ggg(x1, x2, x3, x4)
U18_gga(x1, x2, x3)  =  U18_gga(x1, x2, x3)
U19_gga(x1, x2, x3)  =  U19_gga(x1, x2, x3)
U20_gga(x1, x2, x3)  =  U20_gga(x1, x2, x3)
U21_gga(x1, x2, x3)  =  U21_gga(x1, x2, x3)
U22_gga(x1, x2, x3)  =  U22_gga(x1, x2, x3)
U23_gga(x1, x2, x3)  =  U23_gga(x1, x2, x3)
U24_gga(x1, x2, x3)  =  U24_gga(x1, x2, x3)
U25_gga(x1, x2, x3)  =  U25_gga(x1, x2, x3)
U26_gga(x1, x2, x3)  =  U26_gga(x1, x2, x3)
U27_gga(x1, x2, x3)  =  U27_gga(x1, x2, x3)
U28_gga(x1, x2, x3)  =  U28_gga(x1, x2, x3)
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)  =  U32_gga(x1, x2, x3)
U33_gga(x1, x2, x3, x4)  =  U33_gga(x1, x2, x4)
U34_gga(x1, x2, x3, x4)  =  U34_gga(x1, x2, x4)
U35_gga(x1, x2, x3, x4)  =  U35_gga(x1, x2, x4)
U37_gga(x1, x2, x3, x4)  =  U37_gga(x1, x2, x4)
U38_gga(x1, x2, x3, x4)  =  U38_gga(x1, x2, x4)
U39_gga(x1, x2, x3, x4)  =  U39_gga(x1, x2, x4)
U40_gga(x1, x2, x3, x4)  =  U40_gga(x1, x2, x4)
plus166_in_gaa(x1, x2, x3)  =  plus166_in_gaa(x1)
plus166_out_gaa(x1, x2, x3)  =  plus166_out_gaa(x1)
U42_gaa(x1, x2, x3, x4)  =  U42_gaa(x1, x4)
U36_gga(x1, x2, x3, x4)  =  U36_gga(x1, x2, x4)
plus154_in_aaa(x1, x2, x3)  =  plus154_in_aaa
plus154_out_aaa(x1, x2, x3)  =  plus154_out_aaa(x1)
U41_aaa(x1, x2, x3, x4)  =  U41_aaa(x4)
U39_ggg(x1, x2, x3, x4)  =  U39_ggg(x1, x2, x3, x4)
U40_ggg(x1, x2, x3, x4)  =  U40_ggg(x1, x2, x3, x4)
plus166_in_gag(x1, x2, x3)  =  plus166_in_gag(x1, x3)
plus166_out_gag(x1, x2, x3)  =  plus166_out_gag(x1, x2, x3)
U42_gag(x1, x2, x3, x4)  =  U42_gag(x1, x3, x4)
U36_ggg(x1, x2, x3, x4)  =  U36_ggg(x1, x2, x3, x4)
plus154_in_aag(x1, x2, x3)  =  plus154_in_aag(x3)
plus154_out_aag(x1, x2, x3)  =  plus154_out_aag(x1, x2, x3)
U41_aag(x1, x2, x3, x4)  =  U41_aag(x3, x4)
U52_gga(x1, x2, x3)  =  U52_gga(x1, x2, x3)
U53_gga(x1, x2, x3)  =  U53_gga(x1, x2, x3)
U54_gga(x1, x2, x3)  =  U54_gga(x1, x2, x3)
U55_gga(x1, x2, x3)  =  U55_gga(x1, x2, x3)
U56_gga(x1, x2, x3)  =  U56_gga(x1, x2, x3)
U57_gga(x1, x2, x3)  =  U57_gga(x1, x2, x3)
U58_gga(x1, x2, x3)  =  U58_gga(x1, x2, x3)
U59_gga(x1, x2, x3)  =  U59_gga(x1, x2, x3)
U60_gga(x1, x2, x3)  =  U60_gga(x1, x2, x3)
U61_gga(x1, x2, x3)  =  U61_gga(x1, x2, x3)
U62_gga(x1, x2, x3)  =  U62_gga(x1, x2, x3)
U63_gga(x1, x2, x3)  =  U63_gga(x1, x2, x3)
U64_gga(x1, x2, x3)  =  U64_gga(x1, x2, x3)
U65_gga(x1, x2, x3)  =  U65_gga(x1, x2, x3)
U66_gga(x1, x2, x3)  =  U66_gga(x1, x2, x3)
U67_gga(x1, x2, x3)  =  U67_gga(x1, x2, x3)
U68_gga(x1, x2, x3)  =  U68_gga(x1, x2, x3)
U69_gga(x1, x2, x3)  =  U69_gga(x1, x2, x3)
U70_gga(x1, x2, x3)  =  U70_gga(x1, x2, x3)
U71_gga(x1, x2, x3)  =  U71_gga(x1, x2, x3)
U72_gga(x1, x2, x3)  =  U72_gga(x1, x2, x3)
U73_gga(x1, x2, x3)  =  U73_gga(x1, x2, x3)
U74_gga(x1, x2, x3)  =  U74_gga(x1, x2, x3)
U75_gga(x1, x2, x3)  =  U75_gga(x1, x2, x3)
U76_gga(x1, x2, x3, x4)  =  U76_gga(x1, x2, x4)
U77_gga(x1, x2, x3, x4)  =  U77_gga(x1, x2, x4)
U78_gga(x1, x2, x3, x4)  =  U78_gga(x1, x2, x4)
U79_gga(x1, x2, x3, x4)  =  U79_gga(x1, x2, x4)
plus19_in_aaa(x1, x2, x3)  =  plus19_in_aaa
plus19_out_aaa(x1, x2, x3)  =  plus19_out_aaa(x1)
U1_aaa(x1, x2, x3, x4)  =  U1_aaa(x4)
U80_gga(x1, x2, x3, x4)  =  U80_gga(x1, x2, x4)
U81_gga(x1, x2, x3, x4)  =  U81_gga(x1, x2, x4)
U82_gga(x1, x2, x3, x4)  =  U82_gga(x1, x2, x4)
U83_gga(x1, x2, x3, x4)  =  U83_gga(x1, x2, x4)
plus19_in_gaa(x1, x2, x3)  =  plus19_in_gaa(x1)
plus19_out_gaa(x1, x2, x3)  =  plus19_out_gaa(x1)
U1_gaa(x1, x2, x3, x4)  =  U1_gaa(x1, x4)
PLUS154_IN_AAG(x1, x2, x3)  =  PLUS154_IN_AAG(x3)

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

(24) UsableRulesProof (EQUIVALENT transformation)

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

(25) Obligation:

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

PLUS154_IN_AAG(s(T163), T164, s(X436)) → PLUS154_IN_AAG(T163, T164, X436)

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

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

(26) PiDPToQDPProof (SOUND transformation)

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

(27) Obligation:

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

PLUS154_IN_AAG(s(X436)) → PLUS154_IN_AAG(X436)

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:

  • PLUS154_IN_AAG(s(X436)) → PLUS154_IN_AAG(X436)
    The graph contains the following edges 1 > 1

(29) YES

(30) Obligation:

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

PLUS166_IN_GAG(s(T189), T190, s(X482)) → PLUS166_IN_GAG(T189, T190, X482)

The TRS R consists of the following rules:

times1_in_gga(0, T5, 0) → times1_out_gga(0, T5, 0)
times1_in_gga(s(0), T23, T25) → U44_gga(T23, T25, times18_in_ga(T23, X45))
times18_in_ga(T35, 0) → times18_out_ga(T35, 0)
U44_gga(T23, T25, times18_out_ga(T23, X45)) → times1_out_gga(s(0), T23, T25)
times1_in_gga(s(0), T23, T25) → U45_gga(T23, T25, times18_in_ga(T23, T29))
U45_gga(T23, T25, times18_out_ga(T23, T29)) → U46_gga(T23, T25, plus19_in_gga(T23, T29, T25))
plus19_in_gga(0, T42, T42) → plus19_out_gga(0, T42, T42)
plus19_in_gga(s(T49), T50, s(T52)) → U1_gga(T49, T50, T52, plus19_in_gga(T49, T50, T52))
U1_gga(T49, T50, T52, plus19_out_gga(T49, T50, T52)) → plus19_out_gga(s(T49), T50, s(T52))
U46_gga(T23, T25, plus19_out_gga(T23, T29, T25)) → times1_out_gga(s(0), T23, T25)
times1_in_gga(s(s(T57)), T10, T12) → U47_gga(T57, T10, T12, even36_in_ga(T57, X90))
even36_in_ga(0, true) → even36_out_ga(0, true)
even36_in_ga(s(0), false) → even36_out_ga(s(0), false)
even36_in_ga(s(s(T61)), X101) → U2_ga(T61, X101, even36_in_ga(T61, X101))
U2_ga(T61, X101, even36_out_ga(T61, X101)) → even36_out_ga(s(s(T61)), X101)
U47_gga(T57, T10, T12, even36_out_ga(T57, X90)) → times1_out_gga(s(s(T57)), T10, T12)
times1_in_gga(s(s(T77)), T78, T80) → U48_gga(T77, T78, T80, even36_in_gg(T77, true))
even36_in_gg(0, true) → even36_out_gg(0, true)
even36_in_gg(s(0), false) → even36_out_gg(s(0), false)
even36_in_gg(s(s(T61)), X101) → U2_gg(T61, X101, even36_in_gg(T61, X101))
U2_gg(T61, X101, even36_out_gg(T61, X101)) → even36_out_gg(s(s(T61)), X101)
U48_gga(T77, T78, T80, even36_out_gg(T77, true)) → U49_gga(T77, T78, T80, half56_in_ga(T77, X128))
half56_in_ga(T86, s(X147)) → U43_ga(T86, X147, half60_in_ga(T86, X147))
half60_in_ga(0, 0) → half60_out_ga(0, 0)
half60_in_ga(s(s(T89)), s(X156)) → U3_ga(T89, X156, half60_in_ga(T89, X156))
U3_ga(T89, X156, half60_out_ga(T89, X156)) → half60_out_ga(s(s(T89)), s(X156))
U43_ga(T86, X147, half60_out_ga(T86, X147)) → half56_out_ga(T86, s(X147))
U49_gga(T77, T78, T80, half56_out_ga(T77, X128)) → times1_out_gga(s(s(T77)), T78, T80)
U48_gga(T77, T78, T80, even36_out_gg(T77, true)) → U50_gga(T77, T78, T80, half56_in_ga(T77, T82))
U50_gga(T77, T78, T80, half56_out_ga(T77, T82)) → U51_gga(T77, T78, T80, times69_in_gga(T82, T78, X129))
times69_in_gga(0, T99, 0) → times69_out_gga(0, T99, 0)
times69_in_gga(s(T104), T105, X182) → U4_gga(T104, T105, X182, even36_in_ga(s(T104), X181))
U4_gga(T104, T105, X182, even36_out_ga(s(T104), X181)) → times69_out_gga(s(T104), T105, X182)
times69_in_gga(s(T117), T118, X217) → U5_gga(T117, T118, X217, even36_in_gg(s(T117), true))
U5_gga(T117, T118, X217, even36_out_gg(s(T117), true)) → U6_gga(T117, T118, X217, half60_in_ga(s(T117), X215))
U6_gga(T117, T118, X217, half60_out_ga(s(T117), X215)) → times69_out_gga(s(T117), T118, X217)
U5_gga(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_gga(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_gga(T117, T118, X217, half60_out_ga(s(T117), T120)) → U8_gga(T117, T118, X217, times69_in_gga(T120, T118, X216))
times69_in_gga(s(T117), T118, 0) → U9_gga(T117, T118, even36_in_gg(s(T117), true))
U9_gga(T117, T118, even36_out_gg(s(T117), true)) → U10_gga(T117, T118, half60_in_ga(s(T117), T120))
U10_gga(T117, T118, half60_out_ga(s(T117), T120)) → U11_gga(T117, T118, times69_in_ggg(T120, T118, 0))
times69_in_ggg(0, T99, 0) → times69_out_ggg(0, T99, 0)
times69_in_ggg(s(T104), T105, X182) → U4_ggg(T104, T105, X182, even36_in_ga(s(T104), X181))
U4_ggg(T104, T105, X182, even36_out_ga(s(T104), X181)) → times69_out_ggg(s(T104), T105, X182)
times69_in_ggg(s(T117), T118, X217) → U5_ggg(T117, T118, X217, even36_in_gg(s(T117), true))
U5_ggg(T117, T118, X217, even36_out_gg(s(T117), true)) → U6_ggg(T117, T118, X217, half60_in_ga(s(T117), X215))
U6_ggg(T117, T118, X217, half60_out_ga(s(T117), X215)) → times69_out_ggg(s(T117), T118, X217)
U5_ggg(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_ggg(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_ggg(T117, T118, X217, half60_out_ga(s(T117), T120)) → U8_ggg(T117, T118, X217, times69_in_gga(T120, T118, X216))
times69_in_gga(s(T117), T118, s(s(0))) → U12_gga(T117, T118, even36_in_gg(s(T117), true))
U12_gga(T117, T118, even36_out_gg(s(T117), true)) → U13_gga(T117, T118, half60_in_ga(s(T117), T120))
U13_gga(T117, T118, half60_out_ga(s(T117), T120)) → U14_gga(T117, T118, times69_in_ggg(T120, T118, s(0)))
times69_in_ggg(s(T117), T118, 0) → U9_ggg(T117, T118, even36_in_gg(s(T117), true))
U9_ggg(T117, T118, even36_out_gg(s(T117), true)) → U10_ggg(T117, T118, half60_in_ga(s(T117), T120))
U10_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U11_ggg(T117, T118, times69_in_ggg(T120, T118, 0))
times69_in_ggg(s(T117), T118, s(s(0))) → U12_ggg(T117, T118, even36_in_gg(s(T117), true))
U12_ggg(T117, T118, even36_out_gg(s(T117), true)) → U13_ggg(T117, T118, half60_in_ga(s(T117), T120))
U13_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U14_ggg(T117, T118, times69_in_ggg(T120, T118, s(0)))
times69_in_ggg(s(T117), T118, s(s(s(s(0))))) → U15_ggg(T117, T118, even36_in_gg(s(T117), true))
U15_ggg(T117, T118, even36_out_gg(s(T117), true)) → U16_ggg(T117, T118, half60_in_ga(s(T117), T120))
U16_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U17_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(0))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_ggg(T117, T118, even36_in_gg(s(T117), true))
U18_ggg(T117, T118, even36_out_gg(s(T117), true)) → U19_ggg(T117, T118, half60_in_ga(s(T117), T120))
U19_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U20_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(0)))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → U21_ggg(T117, T118, even36_in_gg(s(T117), true))
U21_ggg(T117, T118, even36_out_gg(s(T117), true)) → U22_ggg(T117, T118, half60_in_ga(s(T117), T120))
U22_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U23_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(0))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U24_ggg(T117, T118, even36_in_gg(s(T117), true))
U24_ggg(T117, T118, even36_out_gg(s(T117), true)) → U25_ggg(T117, T118, half60_in_ga(s(T117), T120))
U25_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U26_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(0)))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U27_ggg(T117, T118, even36_in_gg(s(T117), true))
U27_ggg(T117, T118, even36_out_gg(s(T117), true)) → U28_ggg(T117, T118, half60_in_ga(s(T117), T120))
U28_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U29_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(0))))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U30_ggg(T117, T118, even36_in_gg(s(T117), true))
U30_ggg(T117, T118, even36_out_gg(s(T117), true)) → U31_ggg(T117, T118, half60_in_ga(s(T117), T120))
U31_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U32_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(s(0)))))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → U33_ggg(T117, T118, X411, even36_in_gg(s(T117), true))
U33_ggg(T117, T118, X411, even36_out_gg(s(T117), true)) → U34_ggg(T117, T118, X411, half60_in_ga(s(T117), T120))
U34_ggg(T117, T118, X411, half60_out_ga(s(T117), T120)) → U35_ggg(T117, T118, X411, times69_in_gga(T120, T118, s(s(s(s(s(s(s(s(T150))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(0))))) → U15_gga(T117, T118, even36_in_gg(s(T117), true))
U15_gga(T117, T118, even36_out_gg(s(T117), true)) → U16_gga(T117, T118, half60_in_ga(s(T117), T120))
U16_gga(T117, T118, half60_out_ga(s(T117), T120)) → U17_gga(T117, T118, times69_in_ggg(T120, T118, s(s(0))))
times69_in_ggg(s(T171), T172, X455) → U37_ggg(T171, T172, X455, even36_in_gg(s(T171), false))
U37_ggg(T171, T172, X455, even36_out_gg(s(T171), false)) → U38_ggg(T171, T172, X455, times69_in_gga(T171, T172, X454))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_gga(T117, T118, even36_in_gg(s(T117), true))
U18_gga(T117, T118, even36_out_gg(s(T117), true)) → U19_gga(T117, T118, half60_in_ga(s(T117), T120))
U19_gga(T117, T118, half60_out_ga(s(T117), T120)) → U20_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(0)))))
U20_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(0))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(0)))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → U21_gga(T117, T118, even36_in_gg(s(T117), true))
U21_gga(T117, T118, even36_out_gg(s(T117), true)) → U22_gga(T117, T118, half60_in_ga(s(T117), T120))
U22_gga(T117, T118, half60_out_ga(s(T117), T120)) → U23_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(0))))))
U23_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(0)))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(0)))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U24_gga(T117, T118, even36_in_gg(s(T117), true))
U24_gga(T117, T118, even36_out_gg(s(T117), true)) → U25_gga(T117, T118, half60_in_ga(s(T117), T120))
U25_gga(T117, T118, half60_out_ga(s(T117), T120)) → U26_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(0)))))))
U26_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(0))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0)))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U27_gga(T117, T118, even36_in_gg(s(T117), true))
U27_gga(T117, T118, even36_out_gg(s(T117), true)) → U28_gga(T117, T118, half60_in_ga(s(T117), T120))
U28_gga(T117, T118, half60_out_ga(s(T117), T120)) → U29_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(0))))))))
U29_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(0)))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U30_gga(T117, T118, even36_in_gg(s(T117), true))
U30_gga(T117, T118, even36_out_gg(s(T117), true)) → U31_gga(T117, T118, half60_in_ga(s(T117), T120))
U31_gga(T117, T118, half60_out_ga(s(T117), T120)) → U32_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(s(0)))))))))
U32_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(s(0))))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → U33_gga(T117, T118, X411, even36_in_gg(s(T117), true))
U33_gga(T117, T118, X411, even36_out_gg(s(T117), true)) → U34_gga(T117, T118, X411, half60_in_ga(s(T117), T120))
U34_gga(T117, T118, X411, half60_out_ga(s(T117), T120)) → U35_gga(T117, T118, X411, times69_in_gga(T120, T118, s(s(s(s(s(s(s(s(T150))))))))))
times69_in_gga(s(T171), T172, X455) → U37_gga(T171, T172, X455, even36_in_gg(s(T171), false))
U37_gga(T171, T172, X455, even36_out_gg(s(T171), false)) → U38_gga(T171, T172, X455, times69_in_gga(T171, T172, X454))
U38_gga(T171, T172, X455, times69_out_gga(T171, T172, X454)) → times69_out_gga(s(T171), T172, X455)
U37_gga(T171, T172, X455, even36_out_gg(s(T171), false)) → U39_gga(T171, T172, X455, times69_in_gga(T171, T172, T175))
U39_gga(T171, T172, X455, times69_out_gga(T171, T172, T175)) → U40_gga(T171, T172, X455, plus166_in_gaa(T172, T175, X455))
plus166_in_gaa(0, T184, T184) → plus166_out_gaa(0, T184, T184)
plus166_in_gaa(s(T189), T190, s(X482)) → U42_gaa(T189, T190, X482, plus166_in_gaa(T189, T190, X482))
U42_gaa(T189, T190, X482, plus166_out_gaa(T189, T190, X482)) → plus166_out_gaa(s(T189), T190, s(X482))
U40_gga(T171, T172, X455, plus166_out_gaa(T172, T175, X455)) → times69_out_gga(s(T171), T172, X455)
U35_gga(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → U36_gga(T117, T118, X411, plus154_in_aaa(T150, s(s(s(s(s(s(s(T150))))))), X411))
plus154_in_aaa(0, T158, s(T158)) → plus154_out_aaa(0, T158, s(T158))
plus154_in_aaa(s(T163), T164, s(X436)) → U41_aaa(T163, T164, X436, plus154_in_aaa(T163, T164, X436))
U41_aaa(T163, T164, X436, plus154_out_aaa(T163, T164, X436)) → plus154_out_aaa(s(T163), T164, s(X436))
U36_gga(T117, T118, X411, plus154_out_aaa(T150, s(s(s(s(s(s(s(T150))))))), X411)) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(X411)))))))))
U38_ggg(T171, T172, X455, times69_out_gga(T171, T172, X454)) → times69_out_ggg(s(T171), T172, X455)
U37_ggg(T171, T172, X455, even36_out_gg(s(T171), false)) → U39_ggg(T171, T172, X455, times69_in_gga(T171, T172, T175))
U39_ggg(T171, T172, X455, times69_out_gga(T171, T172, T175)) → U40_ggg(T171, T172, X455, plus166_in_gag(T172, T175, X455))
plus166_in_gag(0, T184, T184) → plus166_out_gag(0, T184, T184)
plus166_in_gag(s(T189), T190, s(X482)) → U42_gag(T189, T190, X482, plus166_in_gag(T189, T190, X482))
U42_gag(T189, T190, X482, plus166_out_gag(T189, T190, X482)) → plus166_out_gag(s(T189), T190, s(X482))
U40_ggg(T171, T172, X455, plus166_out_gag(T172, T175, X455)) → times69_out_ggg(s(T171), T172, X455)
U17_gga(T117, T118, times69_out_ggg(T120, T118, s(s(0)))) → times69_out_gga(s(T117), T118, s(s(s(s(0)))))
U35_ggg(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → U36_ggg(T117, T118, X411, plus154_in_aag(T150, s(s(s(s(s(s(s(T150))))))), X411))
plus154_in_aag(0, T158, s(T158)) → plus154_out_aag(0, T158, s(T158))
plus154_in_aag(s(T163), T164, s(X436)) → U41_aag(T163, T164, X436, plus154_in_aag(T163, T164, X436))
U41_aag(T163, T164, X436, plus154_out_aag(T163, T164, X436)) → plus154_out_aag(s(T163), T164, s(X436))
U36_ggg(T117, T118, X411, plus154_out_aag(T150, s(s(s(s(s(s(s(T150))))))), X411)) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(X411)))))))))
U32_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(s(0))))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
U29_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(0)))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
U26_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(0))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0)))))))))))
U23_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(0)))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(0)))))))))
U20_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(0))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(0)))))))
U17_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(0)))) → times69_out_ggg(s(T117), T118, s(s(s(s(0)))))
U14_ggg(T117, T118, times69_out_ggg(T120, T118, s(0))) → times69_out_ggg(s(T117), T118, s(s(0)))
U11_ggg(T117, T118, times69_out_ggg(T120, T118, 0)) → times69_out_ggg(s(T117), T118, 0)
U14_gga(T117, T118, times69_out_ggg(T120, T118, s(0))) → times69_out_gga(s(T117), T118, s(s(0)))
U8_ggg(T117, T118, X217, times69_out_gga(T120, T118, X216)) → times69_out_ggg(s(T117), T118, X217)
U11_gga(T117, T118, times69_out_ggg(T120, T118, 0)) → times69_out_gga(s(T117), T118, 0)
U8_gga(T117, T118, X217, times69_out_gga(T120, T118, X216)) → times69_out_gga(s(T117), T118, X217)
U51_gga(T77, T78, T80, times69_out_gga(T82, T78, X129)) → times1_out_gga(s(s(T77)), T78, T80)
times1_in_gga(s(s(T77)), T78, 0) → U52_gga(T77, T78, even36_in_gg(T77, true))
U52_gga(T77, T78, even36_out_gg(T77, true)) → U53_gga(T77, T78, half56_in_ga(T77, T82))
U53_gga(T77, T78, half56_out_ga(T77, T82)) → U54_gga(T77, T78, times69_in_ggg(T82, T78, 0))
U54_gga(T77, T78, times69_out_ggg(T82, T78, 0)) → times1_out_gga(s(s(T77)), T78, 0)
times1_in_gga(s(s(T77)), T78, s(s(0))) → U55_gga(T77, T78, even36_in_gg(T77, true))
U55_gga(T77, T78, even36_out_gg(T77, true)) → U56_gga(T77, T78, half56_in_ga(T77, T82))
U56_gga(T77, T78, half56_out_ga(T77, T82)) → U57_gga(T77, T78, times69_in_ggg(T82, T78, s(0)))
U57_gga(T77, T78, times69_out_ggg(T82, T78, s(0))) → times1_out_gga(s(s(T77)), T78, s(s(0)))
times1_in_gga(s(s(T77)), T78, s(s(s(s(0))))) → U58_gga(T77, T78, even36_in_gg(T77, true))
U58_gga(T77, T78, even36_out_gg(T77, true)) → U59_gga(T77, T78, half56_in_ga(T77, T82))
U59_gga(T77, T78, half56_out_ga(T77, T82)) → U60_gga(T77, T78, times69_in_ggg(T82, T78, s(s(0))))
U60_gga(T77, T78, times69_out_ggg(T82, T78, s(s(0)))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(0)))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(0))))))) → U61_gga(T77, T78, even36_in_gg(T77, true))
U61_gga(T77, T78, even36_out_gg(T77, true)) → U62_gga(T77, T78, half56_in_ga(T77, T82))
U62_gga(T77, T78, half56_out_ga(T77, T82)) → U63_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(0)))))
U63_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(0))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(0)))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(0))))))))) → U64_gga(T77, T78, even36_in_gg(T77, true))
U64_gga(T77, T78, even36_out_gg(T77, true)) → U65_gga(T77, T78, half56_in_ga(T77, T82))
U65_gga(T77, T78, half56_out_ga(T77, T82)) → U66_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(0))))))
U66_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(0)))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(0)))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U67_gga(T77, T78, even36_in_gg(T77, true))
U67_gga(T77, T78, even36_out_gg(T77, true)) → U68_gga(T77, T78, half56_in_ga(T77, T82))
U68_gga(T77, T78, half56_out_ga(T77, T82)) → U69_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(0)))))))
U69_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(0))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(0)))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U70_gga(T77, T78, even36_in_gg(T77, true))
U70_gga(T77, T78, even36_out_gg(T77, true)) → U71_gga(T77, T78, half56_in_ga(T77, T82))
U71_gga(T77, T78, half56_out_ga(T77, T82)) → U72_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(s(0))))))))
U72_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(s(0)))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U73_gga(T77, T78, even36_in_gg(T77, true))
U73_gga(T77, T78, even36_out_gg(T77, true)) → U74_gga(T77, T78, half56_in_ga(T77, T82))
U74_gga(T77, T78, half56_out_ga(T77, T82)) → U75_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(s(s(0)))))))))
U75_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(s(s(0))))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(T248))))))))) → U76_gga(T77, T78, T248, even36_in_gg(T77, true))
U76_gga(T77, T78, T248, even36_out_gg(T77, true)) → U77_gga(T77, T78, T248, half56_in_ga(T77, T82))
U77_gga(T77, T78, T248, half56_out_ga(T77, T82)) → U78_gga(T77, T78, T248, times69_in_gga(T82, T78, s(s(s(s(s(s(s(s(T246))))))))))
U78_gga(T77, T78, T248, times69_out_gga(T82, T78, s(s(s(s(s(s(s(s(T246)))))))))) → U79_gga(T77, T78, T248, plus19_in_aaa(T246, s(s(s(s(s(s(s(s(T246)))))))), T248))
plus19_in_aaa(0, T42, T42) → plus19_out_aaa(0, T42, T42)
plus19_in_aaa(s(T49), T50, s(T52)) → U1_aaa(T49, T50, T52, plus19_in_aaa(T49, T50, T52))
U1_aaa(T49, T50, T52, plus19_out_aaa(T49, T50, T52)) → plus19_out_aaa(s(T49), T50, s(T52))
U79_gga(T77, T78, T248, plus19_out_aaa(T246, s(s(s(s(s(s(s(s(T246)))))))), T248)) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(T248)))))))))
times1_in_gga(s(s(T258)), T259, T261) → U80_gga(T258, T259, T261, even36_in_gg(T258, false))
U80_gga(T258, T259, T261, even36_out_gg(T258, false)) → U81_gga(T258, T259, T261, times69_in_gga(s(T258), T259, X662))
U81_gga(T258, T259, T261, times69_out_gga(s(T258), T259, X662)) → times1_out_gga(s(s(T258)), T259, T261)
U80_gga(T258, T259, T261, even36_out_gg(T258, false)) → U82_gga(T258, T259, T261, times69_in_gga(s(T258), T259, T264))
U82_gga(T258, T259, T261, times69_out_gga(s(T258), T259, T264)) → U83_gga(T258, T259, T261, plus19_in_gaa(T259, T264, T261))
plus19_in_gaa(0, T42, T42) → plus19_out_gaa(0, T42, T42)
plus19_in_gaa(s(T49), T50, s(T52)) → U1_gaa(T49, T50, T52, plus19_in_gaa(T49, T50, T52))
U1_gaa(T49, T50, T52, plus19_out_gaa(T49, T50, T52)) → plus19_out_gaa(s(T49), T50, s(T52))
U83_gga(T258, T259, T261, plus19_out_gaa(T259, T264, T261)) → times1_out_gga(s(s(T258)), T259, T261)

The argument filtering Pi contains the following mapping:
times1_in_gga(x1, x2, x3)  =  times1_in_gga(x1, x2)
0  =  0
times1_out_gga(x1, x2, x3)  =  times1_out_gga(x1, x2)
s(x1)  =  s(x1)
U44_gga(x1, x2, x3)  =  U44_gga(x1, x3)
times18_in_ga(x1, x2)  =  times18_in_ga(x1)
times18_out_ga(x1, x2)  =  times18_out_ga(x1, x2)
U45_gga(x1, x2, x3)  =  U45_gga(x1, x3)
U46_gga(x1, x2, x3)  =  U46_gga(x1, x3)
plus19_in_gga(x1, x2, x3)  =  plus19_in_gga(x1, x2)
plus19_out_gga(x1, x2, x3)  =  plus19_out_gga(x1, x2, x3)
U1_gga(x1, x2, x3, x4)  =  U1_gga(x1, x2, x4)
U47_gga(x1, x2, x3, x4)  =  U47_gga(x1, x2, x4)
even36_in_ga(x1, x2)  =  even36_in_ga(x1)
even36_out_ga(x1, x2)  =  even36_out_ga(x1, x2)
U2_ga(x1, x2, x3)  =  U2_ga(x1, x3)
U48_gga(x1, x2, x3, x4)  =  U48_gga(x1, x2, x4)
even36_in_gg(x1, x2)  =  even36_in_gg(x1, x2)
true  =  true
even36_out_gg(x1, x2)  =  even36_out_gg(x1, x2)
false  =  false
U2_gg(x1, x2, x3)  =  U2_gg(x1, x2, x3)
U49_gga(x1, x2, x3, x4)  =  U49_gga(x1, x2, x4)
half56_in_ga(x1, x2)  =  half56_in_ga(x1)
U43_ga(x1, x2, x3)  =  U43_ga(x1, x3)
half60_in_ga(x1, x2)  =  half60_in_ga(x1)
half60_out_ga(x1, x2)  =  half60_out_ga(x1, x2)
U3_ga(x1, x2, x3)  =  U3_ga(x1, x3)
half56_out_ga(x1, x2)  =  half56_out_ga(x1, x2)
U50_gga(x1, x2, x3, x4)  =  U50_gga(x1, x2, x4)
U51_gga(x1, x2, x3, x4)  =  U51_gga(x1, x2, x4)
times69_in_gga(x1, x2, x3)  =  times69_in_gga(x1, x2)
times69_out_gga(x1, x2, x3)  =  times69_out_gga(x1, x2)
U4_gga(x1, x2, x3, x4)  =  U4_gga(x1, x2, x4)
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)
U8_gga(x1, x2, x3, x4)  =  U8_gga(x1, x2, x4)
U9_gga(x1, x2, x3)  =  U9_gga(x1, x2, x3)
U10_gga(x1, x2, x3)  =  U10_gga(x1, x2, x3)
U11_gga(x1, x2, x3)  =  U11_gga(x1, x2, x3)
times69_in_ggg(x1, x2, x3)  =  times69_in_ggg(x1, x2, x3)
times69_out_ggg(x1, x2, x3)  =  times69_out_ggg(x1, x2, x3)
U4_ggg(x1, x2, x3, x4)  =  U4_ggg(x1, x2, x3, x4)
U5_ggg(x1, x2, x3, x4)  =  U5_ggg(x1, x2, x3, x4)
U6_ggg(x1, x2, x3, x4)  =  U6_ggg(x1, x2, x3, x4)
U7_ggg(x1, x2, x3, x4)  =  U7_ggg(x1, x2, x3, x4)
U8_ggg(x1, x2, x3, x4)  =  U8_ggg(x1, x2, x3, x4)
U12_gga(x1, x2, x3)  =  U12_gga(x1, x2, x3)
U13_gga(x1, x2, x3)  =  U13_gga(x1, x2, x3)
U14_gga(x1, x2, x3)  =  U14_gga(x1, x2, x3)
U9_ggg(x1, x2, x3)  =  U9_ggg(x1, x2, x3)
U10_ggg(x1, x2, x3)  =  U10_ggg(x1, x2, x3)
U11_ggg(x1, x2, x3)  =  U11_ggg(x1, x2, x3)
U12_ggg(x1, x2, x3)  =  U12_ggg(x1, x2, x3)
U13_ggg(x1, x2, x3)  =  U13_ggg(x1, x2, x3)
U14_ggg(x1, x2, x3)  =  U14_ggg(x1, x2, x3)
U15_ggg(x1, x2, x3)  =  U15_ggg(x1, x2, x3)
U16_ggg(x1, x2, x3)  =  U16_ggg(x1, x2, x3)
U17_ggg(x1, x2, x3)  =  U17_ggg(x1, x2, x3)
U18_ggg(x1, x2, x3)  =  U18_ggg(x1, x2, x3)
U19_ggg(x1, x2, x3)  =  U19_ggg(x1, x2, x3)
U20_ggg(x1, x2, x3)  =  U20_ggg(x1, x2, x3)
U21_ggg(x1, x2, x3)  =  U21_ggg(x1, x2, x3)
U22_ggg(x1, x2, x3)  =  U22_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)  =  U26_ggg(x1, x2, x3)
U27_ggg(x1, x2, x3)  =  U27_ggg(x1, x2, x3)
U28_ggg(x1, x2, x3)  =  U28_ggg(x1, x2, x3)
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)  =  U32_ggg(x1, x2, x3)
U33_ggg(x1, x2, x3, x4)  =  U33_ggg(x1, x2, x3, x4)
U34_ggg(x1, x2, x3, x4)  =  U34_ggg(x1, x2, x3, x4)
U35_ggg(x1, x2, x3, x4)  =  U35_ggg(x1, x2, x3, x4)
U15_gga(x1, x2, x3)  =  U15_gga(x1, x2, x3)
U16_gga(x1, x2, x3)  =  U16_gga(x1, x2, x3)
U17_gga(x1, x2, x3)  =  U17_gga(x1, x2, x3)
U37_ggg(x1, x2, x3, x4)  =  U37_ggg(x1, x2, x3, x4)
U38_ggg(x1, x2, x3, x4)  =  U38_ggg(x1, x2, x3, x4)
U18_gga(x1, x2, x3)  =  U18_gga(x1, x2, x3)
U19_gga(x1, x2, x3)  =  U19_gga(x1, x2, x3)
U20_gga(x1, x2, x3)  =  U20_gga(x1, x2, x3)
U21_gga(x1, x2, x3)  =  U21_gga(x1, x2, x3)
U22_gga(x1, x2, x3)  =  U22_gga(x1, x2, x3)
U23_gga(x1, x2, x3)  =  U23_gga(x1, x2, x3)
U24_gga(x1, x2, x3)  =  U24_gga(x1, x2, x3)
U25_gga(x1, x2, x3)  =  U25_gga(x1, x2, x3)
U26_gga(x1, x2, x3)  =  U26_gga(x1, x2, x3)
U27_gga(x1, x2, x3)  =  U27_gga(x1, x2, x3)
U28_gga(x1, x2, x3)  =  U28_gga(x1, x2, x3)
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)  =  U32_gga(x1, x2, x3)
U33_gga(x1, x2, x3, x4)  =  U33_gga(x1, x2, x4)
U34_gga(x1, x2, x3, x4)  =  U34_gga(x1, x2, x4)
U35_gga(x1, x2, x3, x4)  =  U35_gga(x1, x2, x4)
U37_gga(x1, x2, x3, x4)  =  U37_gga(x1, x2, x4)
U38_gga(x1, x2, x3, x4)  =  U38_gga(x1, x2, x4)
U39_gga(x1, x2, x3, x4)  =  U39_gga(x1, x2, x4)
U40_gga(x1, x2, x3, x4)  =  U40_gga(x1, x2, x4)
plus166_in_gaa(x1, x2, x3)  =  plus166_in_gaa(x1)
plus166_out_gaa(x1, x2, x3)  =  plus166_out_gaa(x1)
U42_gaa(x1, x2, x3, x4)  =  U42_gaa(x1, x4)
U36_gga(x1, x2, x3, x4)  =  U36_gga(x1, x2, x4)
plus154_in_aaa(x1, x2, x3)  =  plus154_in_aaa
plus154_out_aaa(x1, x2, x3)  =  plus154_out_aaa(x1)
U41_aaa(x1, x2, x3, x4)  =  U41_aaa(x4)
U39_ggg(x1, x2, x3, x4)  =  U39_ggg(x1, x2, x3, x4)
U40_ggg(x1, x2, x3, x4)  =  U40_ggg(x1, x2, x3, x4)
plus166_in_gag(x1, x2, x3)  =  plus166_in_gag(x1, x3)
plus166_out_gag(x1, x2, x3)  =  plus166_out_gag(x1, x2, x3)
U42_gag(x1, x2, x3, x4)  =  U42_gag(x1, x3, x4)
U36_ggg(x1, x2, x3, x4)  =  U36_ggg(x1, x2, x3, x4)
plus154_in_aag(x1, x2, x3)  =  plus154_in_aag(x3)
plus154_out_aag(x1, x2, x3)  =  plus154_out_aag(x1, x2, x3)
U41_aag(x1, x2, x3, x4)  =  U41_aag(x3, x4)
U52_gga(x1, x2, x3)  =  U52_gga(x1, x2, x3)
U53_gga(x1, x2, x3)  =  U53_gga(x1, x2, x3)
U54_gga(x1, x2, x3)  =  U54_gga(x1, x2, x3)
U55_gga(x1, x2, x3)  =  U55_gga(x1, x2, x3)
U56_gga(x1, x2, x3)  =  U56_gga(x1, x2, x3)
U57_gga(x1, x2, x3)  =  U57_gga(x1, x2, x3)
U58_gga(x1, x2, x3)  =  U58_gga(x1, x2, x3)
U59_gga(x1, x2, x3)  =  U59_gga(x1, x2, x3)
U60_gga(x1, x2, x3)  =  U60_gga(x1, x2, x3)
U61_gga(x1, x2, x3)  =  U61_gga(x1, x2, x3)
U62_gga(x1, x2, x3)  =  U62_gga(x1, x2, x3)
U63_gga(x1, x2, x3)  =  U63_gga(x1, x2, x3)
U64_gga(x1, x2, x3)  =  U64_gga(x1, x2, x3)
U65_gga(x1, x2, x3)  =  U65_gga(x1, x2, x3)
U66_gga(x1, x2, x3)  =  U66_gga(x1, x2, x3)
U67_gga(x1, x2, x3)  =  U67_gga(x1, x2, x3)
U68_gga(x1, x2, x3)  =  U68_gga(x1, x2, x3)
U69_gga(x1, x2, x3)  =  U69_gga(x1, x2, x3)
U70_gga(x1, x2, x3)  =  U70_gga(x1, x2, x3)
U71_gga(x1, x2, x3)  =  U71_gga(x1, x2, x3)
U72_gga(x1, x2, x3)  =  U72_gga(x1, x2, x3)
U73_gga(x1, x2, x3)  =  U73_gga(x1, x2, x3)
U74_gga(x1, x2, x3)  =  U74_gga(x1, x2, x3)
U75_gga(x1, x2, x3)  =  U75_gga(x1, x2, x3)
U76_gga(x1, x2, x3, x4)  =  U76_gga(x1, x2, x4)
U77_gga(x1, x2, x3, x4)  =  U77_gga(x1, x2, x4)
U78_gga(x1, x2, x3, x4)  =  U78_gga(x1, x2, x4)
U79_gga(x1, x2, x3, x4)  =  U79_gga(x1, x2, x4)
plus19_in_aaa(x1, x2, x3)  =  plus19_in_aaa
plus19_out_aaa(x1, x2, x3)  =  plus19_out_aaa(x1)
U1_aaa(x1, x2, x3, x4)  =  U1_aaa(x4)
U80_gga(x1, x2, x3, x4)  =  U80_gga(x1, x2, x4)
U81_gga(x1, x2, x3, x4)  =  U81_gga(x1, x2, x4)
U82_gga(x1, x2, x3, x4)  =  U82_gga(x1, x2, x4)
U83_gga(x1, x2, x3, x4)  =  U83_gga(x1, x2, x4)
plus19_in_gaa(x1, x2, x3)  =  plus19_in_gaa(x1)
plus19_out_gaa(x1, x2, x3)  =  plus19_out_gaa(x1)
U1_gaa(x1, x2, x3, x4)  =  U1_gaa(x1, x4)
PLUS166_IN_GAG(x1, x2, x3)  =  PLUS166_IN_GAG(x1, x3)

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:

PLUS166_IN_GAG(s(T189), T190, s(X482)) → PLUS166_IN_GAG(T189, T190, X482)

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

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:

PLUS166_IN_GAG(s(T189), s(X482)) → PLUS166_IN_GAG(T189, X482)

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:

  • PLUS166_IN_GAG(s(T189), s(X482)) → PLUS166_IN_GAG(T189, X482)
    The graph contains the following edges 1 > 1, 2 > 2

(36) YES

(37) Obligation:

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

PLUS154_IN_AAA(s(T163), T164, s(X436)) → PLUS154_IN_AAA(T163, T164, X436)

The TRS R consists of the following rules:

times1_in_gga(0, T5, 0) → times1_out_gga(0, T5, 0)
times1_in_gga(s(0), T23, T25) → U44_gga(T23, T25, times18_in_ga(T23, X45))
times18_in_ga(T35, 0) → times18_out_ga(T35, 0)
U44_gga(T23, T25, times18_out_ga(T23, X45)) → times1_out_gga(s(0), T23, T25)
times1_in_gga(s(0), T23, T25) → U45_gga(T23, T25, times18_in_ga(T23, T29))
U45_gga(T23, T25, times18_out_ga(T23, T29)) → U46_gga(T23, T25, plus19_in_gga(T23, T29, T25))
plus19_in_gga(0, T42, T42) → plus19_out_gga(0, T42, T42)
plus19_in_gga(s(T49), T50, s(T52)) → U1_gga(T49, T50, T52, plus19_in_gga(T49, T50, T52))
U1_gga(T49, T50, T52, plus19_out_gga(T49, T50, T52)) → plus19_out_gga(s(T49), T50, s(T52))
U46_gga(T23, T25, plus19_out_gga(T23, T29, T25)) → times1_out_gga(s(0), T23, T25)
times1_in_gga(s(s(T57)), T10, T12) → U47_gga(T57, T10, T12, even36_in_ga(T57, X90))
even36_in_ga(0, true) → even36_out_ga(0, true)
even36_in_ga(s(0), false) → even36_out_ga(s(0), false)
even36_in_ga(s(s(T61)), X101) → U2_ga(T61, X101, even36_in_ga(T61, X101))
U2_ga(T61, X101, even36_out_ga(T61, X101)) → even36_out_ga(s(s(T61)), X101)
U47_gga(T57, T10, T12, even36_out_ga(T57, X90)) → times1_out_gga(s(s(T57)), T10, T12)
times1_in_gga(s(s(T77)), T78, T80) → U48_gga(T77, T78, T80, even36_in_gg(T77, true))
even36_in_gg(0, true) → even36_out_gg(0, true)
even36_in_gg(s(0), false) → even36_out_gg(s(0), false)
even36_in_gg(s(s(T61)), X101) → U2_gg(T61, X101, even36_in_gg(T61, X101))
U2_gg(T61, X101, even36_out_gg(T61, X101)) → even36_out_gg(s(s(T61)), X101)
U48_gga(T77, T78, T80, even36_out_gg(T77, true)) → U49_gga(T77, T78, T80, half56_in_ga(T77, X128))
half56_in_ga(T86, s(X147)) → U43_ga(T86, X147, half60_in_ga(T86, X147))
half60_in_ga(0, 0) → half60_out_ga(0, 0)
half60_in_ga(s(s(T89)), s(X156)) → U3_ga(T89, X156, half60_in_ga(T89, X156))
U3_ga(T89, X156, half60_out_ga(T89, X156)) → half60_out_ga(s(s(T89)), s(X156))
U43_ga(T86, X147, half60_out_ga(T86, X147)) → half56_out_ga(T86, s(X147))
U49_gga(T77, T78, T80, half56_out_ga(T77, X128)) → times1_out_gga(s(s(T77)), T78, T80)
U48_gga(T77, T78, T80, even36_out_gg(T77, true)) → U50_gga(T77, T78, T80, half56_in_ga(T77, T82))
U50_gga(T77, T78, T80, half56_out_ga(T77, T82)) → U51_gga(T77, T78, T80, times69_in_gga(T82, T78, X129))
times69_in_gga(0, T99, 0) → times69_out_gga(0, T99, 0)
times69_in_gga(s(T104), T105, X182) → U4_gga(T104, T105, X182, even36_in_ga(s(T104), X181))
U4_gga(T104, T105, X182, even36_out_ga(s(T104), X181)) → times69_out_gga(s(T104), T105, X182)
times69_in_gga(s(T117), T118, X217) → U5_gga(T117, T118, X217, even36_in_gg(s(T117), true))
U5_gga(T117, T118, X217, even36_out_gg(s(T117), true)) → U6_gga(T117, T118, X217, half60_in_ga(s(T117), X215))
U6_gga(T117, T118, X217, half60_out_ga(s(T117), X215)) → times69_out_gga(s(T117), T118, X217)
U5_gga(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_gga(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_gga(T117, T118, X217, half60_out_ga(s(T117), T120)) → U8_gga(T117, T118, X217, times69_in_gga(T120, T118, X216))
times69_in_gga(s(T117), T118, 0) → U9_gga(T117, T118, even36_in_gg(s(T117), true))
U9_gga(T117, T118, even36_out_gg(s(T117), true)) → U10_gga(T117, T118, half60_in_ga(s(T117), T120))
U10_gga(T117, T118, half60_out_ga(s(T117), T120)) → U11_gga(T117, T118, times69_in_ggg(T120, T118, 0))
times69_in_ggg(0, T99, 0) → times69_out_ggg(0, T99, 0)
times69_in_ggg(s(T104), T105, X182) → U4_ggg(T104, T105, X182, even36_in_ga(s(T104), X181))
U4_ggg(T104, T105, X182, even36_out_ga(s(T104), X181)) → times69_out_ggg(s(T104), T105, X182)
times69_in_ggg(s(T117), T118, X217) → U5_ggg(T117, T118, X217, even36_in_gg(s(T117), true))
U5_ggg(T117, T118, X217, even36_out_gg(s(T117), true)) → U6_ggg(T117, T118, X217, half60_in_ga(s(T117), X215))
U6_ggg(T117, T118, X217, half60_out_ga(s(T117), X215)) → times69_out_ggg(s(T117), T118, X217)
U5_ggg(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_ggg(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_ggg(T117, T118, X217, half60_out_ga(s(T117), T120)) → U8_ggg(T117, T118, X217, times69_in_gga(T120, T118, X216))
times69_in_gga(s(T117), T118, s(s(0))) → U12_gga(T117, T118, even36_in_gg(s(T117), true))
U12_gga(T117, T118, even36_out_gg(s(T117), true)) → U13_gga(T117, T118, half60_in_ga(s(T117), T120))
U13_gga(T117, T118, half60_out_ga(s(T117), T120)) → U14_gga(T117, T118, times69_in_ggg(T120, T118, s(0)))
times69_in_ggg(s(T117), T118, 0) → U9_ggg(T117, T118, even36_in_gg(s(T117), true))
U9_ggg(T117, T118, even36_out_gg(s(T117), true)) → U10_ggg(T117, T118, half60_in_ga(s(T117), T120))
U10_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U11_ggg(T117, T118, times69_in_ggg(T120, T118, 0))
times69_in_ggg(s(T117), T118, s(s(0))) → U12_ggg(T117, T118, even36_in_gg(s(T117), true))
U12_ggg(T117, T118, even36_out_gg(s(T117), true)) → U13_ggg(T117, T118, half60_in_ga(s(T117), T120))
U13_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U14_ggg(T117, T118, times69_in_ggg(T120, T118, s(0)))
times69_in_ggg(s(T117), T118, s(s(s(s(0))))) → U15_ggg(T117, T118, even36_in_gg(s(T117), true))
U15_ggg(T117, T118, even36_out_gg(s(T117), true)) → U16_ggg(T117, T118, half60_in_ga(s(T117), T120))
U16_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U17_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(0))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_ggg(T117, T118, even36_in_gg(s(T117), true))
U18_ggg(T117, T118, even36_out_gg(s(T117), true)) → U19_ggg(T117, T118, half60_in_ga(s(T117), T120))
U19_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U20_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(0)))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → U21_ggg(T117, T118, even36_in_gg(s(T117), true))
U21_ggg(T117, T118, even36_out_gg(s(T117), true)) → U22_ggg(T117, T118, half60_in_ga(s(T117), T120))
U22_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U23_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(0))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U24_ggg(T117, T118, even36_in_gg(s(T117), true))
U24_ggg(T117, T118, even36_out_gg(s(T117), true)) → U25_ggg(T117, T118, half60_in_ga(s(T117), T120))
U25_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U26_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(0)))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U27_ggg(T117, T118, even36_in_gg(s(T117), true))
U27_ggg(T117, T118, even36_out_gg(s(T117), true)) → U28_ggg(T117, T118, half60_in_ga(s(T117), T120))
U28_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U29_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(0))))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U30_ggg(T117, T118, even36_in_gg(s(T117), true))
U30_ggg(T117, T118, even36_out_gg(s(T117), true)) → U31_ggg(T117, T118, half60_in_ga(s(T117), T120))
U31_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U32_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(s(0)))))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → U33_ggg(T117, T118, X411, even36_in_gg(s(T117), true))
U33_ggg(T117, T118, X411, even36_out_gg(s(T117), true)) → U34_ggg(T117, T118, X411, half60_in_ga(s(T117), T120))
U34_ggg(T117, T118, X411, half60_out_ga(s(T117), T120)) → U35_ggg(T117, T118, X411, times69_in_gga(T120, T118, s(s(s(s(s(s(s(s(T150))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(0))))) → U15_gga(T117, T118, even36_in_gg(s(T117), true))
U15_gga(T117, T118, even36_out_gg(s(T117), true)) → U16_gga(T117, T118, half60_in_ga(s(T117), T120))
U16_gga(T117, T118, half60_out_ga(s(T117), T120)) → U17_gga(T117, T118, times69_in_ggg(T120, T118, s(s(0))))
times69_in_ggg(s(T171), T172, X455) → U37_ggg(T171, T172, X455, even36_in_gg(s(T171), false))
U37_ggg(T171, T172, X455, even36_out_gg(s(T171), false)) → U38_ggg(T171, T172, X455, times69_in_gga(T171, T172, X454))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_gga(T117, T118, even36_in_gg(s(T117), true))
U18_gga(T117, T118, even36_out_gg(s(T117), true)) → U19_gga(T117, T118, half60_in_ga(s(T117), T120))
U19_gga(T117, T118, half60_out_ga(s(T117), T120)) → U20_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(0)))))
U20_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(0))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(0)))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → U21_gga(T117, T118, even36_in_gg(s(T117), true))
U21_gga(T117, T118, even36_out_gg(s(T117), true)) → U22_gga(T117, T118, half60_in_ga(s(T117), T120))
U22_gga(T117, T118, half60_out_ga(s(T117), T120)) → U23_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(0))))))
U23_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(0)))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(0)))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U24_gga(T117, T118, even36_in_gg(s(T117), true))
U24_gga(T117, T118, even36_out_gg(s(T117), true)) → U25_gga(T117, T118, half60_in_ga(s(T117), T120))
U25_gga(T117, T118, half60_out_ga(s(T117), T120)) → U26_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(0)))))))
U26_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(0))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0)))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U27_gga(T117, T118, even36_in_gg(s(T117), true))
U27_gga(T117, T118, even36_out_gg(s(T117), true)) → U28_gga(T117, T118, half60_in_ga(s(T117), T120))
U28_gga(T117, T118, half60_out_ga(s(T117), T120)) → U29_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(0))))))))
U29_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(0)))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U30_gga(T117, T118, even36_in_gg(s(T117), true))
U30_gga(T117, T118, even36_out_gg(s(T117), true)) → U31_gga(T117, T118, half60_in_ga(s(T117), T120))
U31_gga(T117, T118, half60_out_ga(s(T117), T120)) → U32_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(s(0)))))))))
U32_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(s(0))))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → U33_gga(T117, T118, X411, even36_in_gg(s(T117), true))
U33_gga(T117, T118, X411, even36_out_gg(s(T117), true)) → U34_gga(T117, T118, X411, half60_in_ga(s(T117), T120))
U34_gga(T117, T118, X411, half60_out_ga(s(T117), T120)) → U35_gga(T117, T118, X411, times69_in_gga(T120, T118, s(s(s(s(s(s(s(s(T150))))))))))
times69_in_gga(s(T171), T172, X455) → U37_gga(T171, T172, X455, even36_in_gg(s(T171), false))
U37_gga(T171, T172, X455, even36_out_gg(s(T171), false)) → U38_gga(T171, T172, X455, times69_in_gga(T171, T172, X454))
U38_gga(T171, T172, X455, times69_out_gga(T171, T172, X454)) → times69_out_gga(s(T171), T172, X455)
U37_gga(T171, T172, X455, even36_out_gg(s(T171), false)) → U39_gga(T171, T172, X455, times69_in_gga(T171, T172, T175))
U39_gga(T171, T172, X455, times69_out_gga(T171, T172, T175)) → U40_gga(T171, T172, X455, plus166_in_gaa(T172, T175, X455))
plus166_in_gaa(0, T184, T184) → plus166_out_gaa(0, T184, T184)
plus166_in_gaa(s(T189), T190, s(X482)) → U42_gaa(T189, T190, X482, plus166_in_gaa(T189, T190, X482))
U42_gaa(T189, T190, X482, plus166_out_gaa(T189, T190, X482)) → plus166_out_gaa(s(T189), T190, s(X482))
U40_gga(T171, T172, X455, plus166_out_gaa(T172, T175, X455)) → times69_out_gga(s(T171), T172, X455)
U35_gga(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → U36_gga(T117, T118, X411, plus154_in_aaa(T150, s(s(s(s(s(s(s(T150))))))), X411))
plus154_in_aaa(0, T158, s(T158)) → plus154_out_aaa(0, T158, s(T158))
plus154_in_aaa(s(T163), T164, s(X436)) → U41_aaa(T163, T164, X436, plus154_in_aaa(T163, T164, X436))
U41_aaa(T163, T164, X436, plus154_out_aaa(T163, T164, X436)) → plus154_out_aaa(s(T163), T164, s(X436))
U36_gga(T117, T118, X411, plus154_out_aaa(T150, s(s(s(s(s(s(s(T150))))))), X411)) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(X411)))))))))
U38_ggg(T171, T172, X455, times69_out_gga(T171, T172, X454)) → times69_out_ggg(s(T171), T172, X455)
U37_ggg(T171, T172, X455, even36_out_gg(s(T171), false)) → U39_ggg(T171, T172, X455, times69_in_gga(T171, T172, T175))
U39_ggg(T171, T172, X455, times69_out_gga(T171, T172, T175)) → U40_ggg(T171, T172, X455, plus166_in_gag(T172, T175, X455))
plus166_in_gag(0, T184, T184) → plus166_out_gag(0, T184, T184)
plus166_in_gag(s(T189), T190, s(X482)) → U42_gag(T189, T190, X482, plus166_in_gag(T189, T190, X482))
U42_gag(T189, T190, X482, plus166_out_gag(T189, T190, X482)) → plus166_out_gag(s(T189), T190, s(X482))
U40_ggg(T171, T172, X455, plus166_out_gag(T172, T175, X455)) → times69_out_ggg(s(T171), T172, X455)
U17_gga(T117, T118, times69_out_ggg(T120, T118, s(s(0)))) → times69_out_gga(s(T117), T118, s(s(s(s(0)))))
U35_ggg(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → U36_ggg(T117, T118, X411, plus154_in_aag(T150, s(s(s(s(s(s(s(T150))))))), X411))
plus154_in_aag(0, T158, s(T158)) → plus154_out_aag(0, T158, s(T158))
plus154_in_aag(s(T163), T164, s(X436)) → U41_aag(T163, T164, X436, plus154_in_aag(T163, T164, X436))
U41_aag(T163, T164, X436, plus154_out_aag(T163, T164, X436)) → plus154_out_aag(s(T163), T164, s(X436))
U36_ggg(T117, T118, X411, plus154_out_aag(T150, s(s(s(s(s(s(s(T150))))))), X411)) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(X411)))))))))
U32_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(s(0))))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
U29_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(0)))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
U26_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(0))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0)))))))))))
U23_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(0)))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(0)))))))))
U20_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(0))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(0)))))))
U17_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(0)))) → times69_out_ggg(s(T117), T118, s(s(s(s(0)))))
U14_ggg(T117, T118, times69_out_ggg(T120, T118, s(0))) → times69_out_ggg(s(T117), T118, s(s(0)))
U11_ggg(T117, T118, times69_out_ggg(T120, T118, 0)) → times69_out_ggg(s(T117), T118, 0)
U14_gga(T117, T118, times69_out_ggg(T120, T118, s(0))) → times69_out_gga(s(T117), T118, s(s(0)))
U8_ggg(T117, T118, X217, times69_out_gga(T120, T118, X216)) → times69_out_ggg(s(T117), T118, X217)
U11_gga(T117, T118, times69_out_ggg(T120, T118, 0)) → times69_out_gga(s(T117), T118, 0)
U8_gga(T117, T118, X217, times69_out_gga(T120, T118, X216)) → times69_out_gga(s(T117), T118, X217)
U51_gga(T77, T78, T80, times69_out_gga(T82, T78, X129)) → times1_out_gga(s(s(T77)), T78, T80)
times1_in_gga(s(s(T77)), T78, 0) → U52_gga(T77, T78, even36_in_gg(T77, true))
U52_gga(T77, T78, even36_out_gg(T77, true)) → U53_gga(T77, T78, half56_in_ga(T77, T82))
U53_gga(T77, T78, half56_out_ga(T77, T82)) → U54_gga(T77, T78, times69_in_ggg(T82, T78, 0))
U54_gga(T77, T78, times69_out_ggg(T82, T78, 0)) → times1_out_gga(s(s(T77)), T78, 0)
times1_in_gga(s(s(T77)), T78, s(s(0))) → U55_gga(T77, T78, even36_in_gg(T77, true))
U55_gga(T77, T78, even36_out_gg(T77, true)) → U56_gga(T77, T78, half56_in_ga(T77, T82))
U56_gga(T77, T78, half56_out_ga(T77, T82)) → U57_gga(T77, T78, times69_in_ggg(T82, T78, s(0)))
U57_gga(T77, T78, times69_out_ggg(T82, T78, s(0))) → times1_out_gga(s(s(T77)), T78, s(s(0)))
times1_in_gga(s(s(T77)), T78, s(s(s(s(0))))) → U58_gga(T77, T78, even36_in_gg(T77, true))
U58_gga(T77, T78, even36_out_gg(T77, true)) → U59_gga(T77, T78, half56_in_ga(T77, T82))
U59_gga(T77, T78, half56_out_ga(T77, T82)) → U60_gga(T77, T78, times69_in_ggg(T82, T78, s(s(0))))
U60_gga(T77, T78, times69_out_ggg(T82, T78, s(s(0)))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(0)))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(0))))))) → U61_gga(T77, T78, even36_in_gg(T77, true))
U61_gga(T77, T78, even36_out_gg(T77, true)) → U62_gga(T77, T78, half56_in_ga(T77, T82))
U62_gga(T77, T78, half56_out_ga(T77, T82)) → U63_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(0)))))
U63_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(0))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(0)))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(0))))))))) → U64_gga(T77, T78, even36_in_gg(T77, true))
U64_gga(T77, T78, even36_out_gg(T77, true)) → U65_gga(T77, T78, half56_in_ga(T77, T82))
U65_gga(T77, T78, half56_out_ga(T77, T82)) → U66_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(0))))))
U66_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(0)))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(0)))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U67_gga(T77, T78, even36_in_gg(T77, true))
U67_gga(T77, T78, even36_out_gg(T77, true)) → U68_gga(T77, T78, half56_in_ga(T77, T82))
U68_gga(T77, T78, half56_out_ga(T77, T82)) → U69_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(0)))))))
U69_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(0))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(0)))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U70_gga(T77, T78, even36_in_gg(T77, true))
U70_gga(T77, T78, even36_out_gg(T77, true)) → U71_gga(T77, T78, half56_in_ga(T77, T82))
U71_gga(T77, T78, half56_out_ga(T77, T82)) → U72_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(s(0))))))))
U72_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(s(0)))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U73_gga(T77, T78, even36_in_gg(T77, true))
U73_gga(T77, T78, even36_out_gg(T77, true)) → U74_gga(T77, T78, half56_in_ga(T77, T82))
U74_gga(T77, T78, half56_out_ga(T77, T82)) → U75_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(s(s(0)))))))))
U75_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(s(s(0))))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(T248))))))))) → U76_gga(T77, T78, T248, even36_in_gg(T77, true))
U76_gga(T77, T78, T248, even36_out_gg(T77, true)) → U77_gga(T77, T78, T248, half56_in_ga(T77, T82))
U77_gga(T77, T78, T248, half56_out_ga(T77, T82)) → U78_gga(T77, T78, T248, times69_in_gga(T82, T78, s(s(s(s(s(s(s(s(T246))))))))))
U78_gga(T77, T78, T248, times69_out_gga(T82, T78, s(s(s(s(s(s(s(s(T246)))))))))) → U79_gga(T77, T78, T248, plus19_in_aaa(T246, s(s(s(s(s(s(s(s(T246)))))))), T248))
plus19_in_aaa(0, T42, T42) → plus19_out_aaa(0, T42, T42)
plus19_in_aaa(s(T49), T50, s(T52)) → U1_aaa(T49, T50, T52, plus19_in_aaa(T49, T50, T52))
U1_aaa(T49, T50, T52, plus19_out_aaa(T49, T50, T52)) → plus19_out_aaa(s(T49), T50, s(T52))
U79_gga(T77, T78, T248, plus19_out_aaa(T246, s(s(s(s(s(s(s(s(T246)))))))), T248)) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(T248)))))))))
times1_in_gga(s(s(T258)), T259, T261) → U80_gga(T258, T259, T261, even36_in_gg(T258, false))
U80_gga(T258, T259, T261, even36_out_gg(T258, false)) → U81_gga(T258, T259, T261, times69_in_gga(s(T258), T259, X662))
U81_gga(T258, T259, T261, times69_out_gga(s(T258), T259, X662)) → times1_out_gga(s(s(T258)), T259, T261)
U80_gga(T258, T259, T261, even36_out_gg(T258, false)) → U82_gga(T258, T259, T261, times69_in_gga(s(T258), T259, T264))
U82_gga(T258, T259, T261, times69_out_gga(s(T258), T259, T264)) → U83_gga(T258, T259, T261, plus19_in_gaa(T259, T264, T261))
plus19_in_gaa(0, T42, T42) → plus19_out_gaa(0, T42, T42)
plus19_in_gaa(s(T49), T50, s(T52)) → U1_gaa(T49, T50, T52, plus19_in_gaa(T49, T50, T52))
U1_gaa(T49, T50, T52, plus19_out_gaa(T49, T50, T52)) → plus19_out_gaa(s(T49), T50, s(T52))
U83_gga(T258, T259, T261, plus19_out_gaa(T259, T264, T261)) → times1_out_gga(s(s(T258)), T259, T261)

The argument filtering Pi contains the following mapping:
times1_in_gga(x1, x2, x3)  =  times1_in_gga(x1, x2)
0  =  0
times1_out_gga(x1, x2, x3)  =  times1_out_gga(x1, x2)
s(x1)  =  s(x1)
U44_gga(x1, x2, x3)  =  U44_gga(x1, x3)
times18_in_ga(x1, x2)  =  times18_in_ga(x1)
times18_out_ga(x1, x2)  =  times18_out_ga(x1, x2)
U45_gga(x1, x2, x3)  =  U45_gga(x1, x3)
U46_gga(x1, x2, x3)  =  U46_gga(x1, x3)
plus19_in_gga(x1, x2, x3)  =  plus19_in_gga(x1, x2)
plus19_out_gga(x1, x2, x3)  =  plus19_out_gga(x1, x2, x3)
U1_gga(x1, x2, x3, x4)  =  U1_gga(x1, x2, x4)
U47_gga(x1, x2, x3, x4)  =  U47_gga(x1, x2, x4)
even36_in_ga(x1, x2)  =  even36_in_ga(x1)
even36_out_ga(x1, x2)  =  even36_out_ga(x1, x2)
U2_ga(x1, x2, x3)  =  U2_ga(x1, x3)
U48_gga(x1, x2, x3, x4)  =  U48_gga(x1, x2, x4)
even36_in_gg(x1, x2)  =  even36_in_gg(x1, x2)
true  =  true
even36_out_gg(x1, x2)  =  even36_out_gg(x1, x2)
false  =  false
U2_gg(x1, x2, x3)  =  U2_gg(x1, x2, x3)
U49_gga(x1, x2, x3, x4)  =  U49_gga(x1, x2, x4)
half56_in_ga(x1, x2)  =  half56_in_ga(x1)
U43_ga(x1, x2, x3)  =  U43_ga(x1, x3)
half60_in_ga(x1, x2)  =  half60_in_ga(x1)
half60_out_ga(x1, x2)  =  half60_out_ga(x1, x2)
U3_ga(x1, x2, x3)  =  U3_ga(x1, x3)
half56_out_ga(x1, x2)  =  half56_out_ga(x1, x2)
U50_gga(x1, x2, x3, x4)  =  U50_gga(x1, x2, x4)
U51_gga(x1, x2, x3, x4)  =  U51_gga(x1, x2, x4)
times69_in_gga(x1, x2, x3)  =  times69_in_gga(x1, x2)
times69_out_gga(x1, x2, x3)  =  times69_out_gga(x1, x2)
U4_gga(x1, x2, x3, x4)  =  U4_gga(x1, x2, x4)
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)
U8_gga(x1, x2, x3, x4)  =  U8_gga(x1, x2, x4)
U9_gga(x1, x2, x3)  =  U9_gga(x1, x2, x3)
U10_gga(x1, x2, x3)  =  U10_gga(x1, x2, x3)
U11_gga(x1, x2, x3)  =  U11_gga(x1, x2, x3)
times69_in_ggg(x1, x2, x3)  =  times69_in_ggg(x1, x2, x3)
times69_out_ggg(x1, x2, x3)  =  times69_out_ggg(x1, x2, x3)
U4_ggg(x1, x2, x3, x4)  =  U4_ggg(x1, x2, x3, x4)
U5_ggg(x1, x2, x3, x4)  =  U5_ggg(x1, x2, x3, x4)
U6_ggg(x1, x2, x3, x4)  =  U6_ggg(x1, x2, x3, x4)
U7_ggg(x1, x2, x3, x4)  =  U7_ggg(x1, x2, x3, x4)
U8_ggg(x1, x2, x3, x4)  =  U8_ggg(x1, x2, x3, x4)
U12_gga(x1, x2, x3)  =  U12_gga(x1, x2, x3)
U13_gga(x1, x2, x3)  =  U13_gga(x1, x2, x3)
U14_gga(x1, x2, x3)  =  U14_gga(x1, x2, x3)
U9_ggg(x1, x2, x3)  =  U9_ggg(x1, x2, x3)
U10_ggg(x1, x2, x3)  =  U10_ggg(x1, x2, x3)
U11_ggg(x1, x2, x3)  =  U11_ggg(x1, x2, x3)
U12_ggg(x1, x2, x3)  =  U12_ggg(x1, x2, x3)
U13_ggg(x1, x2, x3)  =  U13_ggg(x1, x2, x3)
U14_ggg(x1, x2, x3)  =  U14_ggg(x1, x2, x3)
U15_ggg(x1, x2, x3)  =  U15_ggg(x1, x2, x3)
U16_ggg(x1, x2, x3)  =  U16_ggg(x1, x2, x3)
U17_ggg(x1, x2, x3)  =  U17_ggg(x1, x2, x3)
U18_ggg(x1, x2, x3)  =  U18_ggg(x1, x2, x3)
U19_ggg(x1, x2, x3)  =  U19_ggg(x1, x2, x3)
U20_ggg(x1, x2, x3)  =  U20_ggg(x1, x2, x3)
U21_ggg(x1, x2, x3)  =  U21_ggg(x1, x2, x3)
U22_ggg(x1, x2, x3)  =  U22_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)  =  U26_ggg(x1, x2, x3)
U27_ggg(x1, x2, x3)  =  U27_ggg(x1, x2, x3)
U28_ggg(x1, x2, x3)  =  U28_ggg(x1, x2, x3)
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)  =  U32_ggg(x1, x2, x3)
U33_ggg(x1, x2, x3, x4)  =  U33_ggg(x1, x2, x3, x4)
U34_ggg(x1, x2, x3, x4)  =  U34_ggg(x1, x2, x3, x4)
U35_ggg(x1, x2, x3, x4)  =  U35_ggg(x1, x2, x3, x4)
U15_gga(x1, x2, x3)  =  U15_gga(x1, x2, x3)
U16_gga(x1, x2, x3)  =  U16_gga(x1, x2, x3)
U17_gga(x1, x2, x3)  =  U17_gga(x1, x2, x3)
U37_ggg(x1, x2, x3, x4)  =  U37_ggg(x1, x2, x3, x4)
U38_ggg(x1, x2, x3, x4)  =  U38_ggg(x1, x2, x3, x4)
U18_gga(x1, x2, x3)  =  U18_gga(x1, x2, x3)
U19_gga(x1, x2, x3)  =  U19_gga(x1, x2, x3)
U20_gga(x1, x2, x3)  =  U20_gga(x1, x2, x3)
U21_gga(x1, x2, x3)  =  U21_gga(x1, x2, x3)
U22_gga(x1, x2, x3)  =  U22_gga(x1, x2, x3)
U23_gga(x1, x2, x3)  =  U23_gga(x1, x2, x3)
U24_gga(x1, x2, x3)  =  U24_gga(x1, x2, x3)
U25_gga(x1, x2, x3)  =  U25_gga(x1, x2, x3)
U26_gga(x1, x2, x3)  =  U26_gga(x1, x2, x3)
U27_gga(x1, x2, x3)  =  U27_gga(x1, x2, x3)
U28_gga(x1, x2, x3)  =  U28_gga(x1, x2, x3)
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)  =  U32_gga(x1, x2, x3)
U33_gga(x1, x2, x3, x4)  =  U33_gga(x1, x2, x4)
U34_gga(x1, x2, x3, x4)  =  U34_gga(x1, x2, x4)
U35_gga(x1, x2, x3, x4)  =  U35_gga(x1, x2, x4)
U37_gga(x1, x2, x3, x4)  =  U37_gga(x1, x2, x4)
U38_gga(x1, x2, x3, x4)  =  U38_gga(x1, x2, x4)
U39_gga(x1, x2, x3, x4)  =  U39_gga(x1, x2, x4)
U40_gga(x1, x2, x3, x4)  =  U40_gga(x1, x2, x4)
plus166_in_gaa(x1, x2, x3)  =  plus166_in_gaa(x1)
plus166_out_gaa(x1, x2, x3)  =  plus166_out_gaa(x1)
U42_gaa(x1, x2, x3, x4)  =  U42_gaa(x1, x4)
U36_gga(x1, x2, x3, x4)  =  U36_gga(x1, x2, x4)
plus154_in_aaa(x1, x2, x3)  =  plus154_in_aaa
plus154_out_aaa(x1, x2, x3)  =  plus154_out_aaa(x1)
U41_aaa(x1, x2, x3, x4)  =  U41_aaa(x4)
U39_ggg(x1, x2, x3, x4)  =  U39_ggg(x1, x2, x3, x4)
U40_ggg(x1, x2, x3, x4)  =  U40_ggg(x1, x2, x3, x4)
plus166_in_gag(x1, x2, x3)  =  plus166_in_gag(x1, x3)
plus166_out_gag(x1, x2, x3)  =  plus166_out_gag(x1, x2, x3)
U42_gag(x1, x2, x3, x4)  =  U42_gag(x1, x3, x4)
U36_ggg(x1, x2, x3, x4)  =  U36_ggg(x1, x2, x3, x4)
plus154_in_aag(x1, x2, x3)  =  plus154_in_aag(x3)
plus154_out_aag(x1, x2, x3)  =  plus154_out_aag(x1, x2, x3)
U41_aag(x1, x2, x3, x4)  =  U41_aag(x3, x4)
U52_gga(x1, x2, x3)  =  U52_gga(x1, x2, x3)
U53_gga(x1, x2, x3)  =  U53_gga(x1, x2, x3)
U54_gga(x1, x2, x3)  =  U54_gga(x1, x2, x3)
U55_gga(x1, x2, x3)  =  U55_gga(x1, x2, x3)
U56_gga(x1, x2, x3)  =  U56_gga(x1, x2, x3)
U57_gga(x1, x2, x3)  =  U57_gga(x1, x2, x3)
U58_gga(x1, x2, x3)  =  U58_gga(x1, x2, x3)
U59_gga(x1, x2, x3)  =  U59_gga(x1, x2, x3)
U60_gga(x1, x2, x3)  =  U60_gga(x1, x2, x3)
U61_gga(x1, x2, x3)  =  U61_gga(x1, x2, x3)
U62_gga(x1, x2, x3)  =  U62_gga(x1, x2, x3)
U63_gga(x1, x2, x3)  =  U63_gga(x1, x2, x3)
U64_gga(x1, x2, x3)  =  U64_gga(x1, x2, x3)
U65_gga(x1, x2, x3)  =  U65_gga(x1, x2, x3)
U66_gga(x1, x2, x3)  =  U66_gga(x1, x2, x3)
U67_gga(x1, x2, x3)  =  U67_gga(x1, x2, x3)
U68_gga(x1, x2, x3)  =  U68_gga(x1, x2, x3)
U69_gga(x1, x2, x3)  =  U69_gga(x1, x2, x3)
U70_gga(x1, x2, x3)  =  U70_gga(x1, x2, x3)
U71_gga(x1, x2, x3)  =  U71_gga(x1, x2, x3)
U72_gga(x1, x2, x3)  =  U72_gga(x1, x2, x3)
U73_gga(x1, x2, x3)  =  U73_gga(x1, x2, x3)
U74_gga(x1, x2, x3)  =  U74_gga(x1, x2, x3)
U75_gga(x1, x2, x3)  =  U75_gga(x1, x2, x3)
U76_gga(x1, x2, x3, x4)  =  U76_gga(x1, x2, x4)
U77_gga(x1, x2, x3, x4)  =  U77_gga(x1, x2, x4)
U78_gga(x1, x2, x3, x4)  =  U78_gga(x1, x2, x4)
U79_gga(x1, x2, x3, x4)  =  U79_gga(x1, x2, x4)
plus19_in_aaa(x1, x2, x3)  =  plus19_in_aaa
plus19_out_aaa(x1, x2, x3)  =  plus19_out_aaa(x1)
U1_aaa(x1, x2, x3, x4)  =  U1_aaa(x4)
U80_gga(x1, x2, x3, x4)  =  U80_gga(x1, x2, x4)
U81_gga(x1, x2, x3, x4)  =  U81_gga(x1, x2, x4)
U82_gga(x1, x2, x3, x4)  =  U82_gga(x1, x2, x4)
U83_gga(x1, x2, x3, x4)  =  U83_gga(x1, x2, x4)
plus19_in_gaa(x1, x2, x3)  =  plus19_in_gaa(x1)
plus19_out_gaa(x1, x2, x3)  =  plus19_out_gaa(x1)
U1_gaa(x1, x2, x3, x4)  =  U1_gaa(x1, x4)
PLUS154_IN_AAA(x1, x2, x3)  =  PLUS154_IN_AAA

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

(38) UsableRulesProof (EQUIVALENT transformation)

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

(39) Obligation:

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

PLUS154_IN_AAA(s(T163), T164, s(X436)) → PLUS154_IN_AAA(T163, T164, X436)

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

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

(40) PiDPToQDPProof (SOUND transformation)

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

(41) Obligation:

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

PLUS154_IN_AAAPLUS154_IN_AAA

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

(42) NonTerminationProof (EQUIVALENT transformation)

We used the non-termination processor [FROCOS05] to show that the DP problem is infinite.
Found a loop by semiunifying a rule from P directly.

s = PLUS154_IN_AAA evaluates to t =PLUS154_IN_AAA

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




Rewriting sequence

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



(43) NO

(44) Obligation:

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

PLUS166_IN_GAA(s(T189), T190, s(X482)) → PLUS166_IN_GAA(T189, T190, X482)

The TRS R consists of the following rules:

times1_in_gga(0, T5, 0) → times1_out_gga(0, T5, 0)
times1_in_gga(s(0), T23, T25) → U44_gga(T23, T25, times18_in_ga(T23, X45))
times18_in_ga(T35, 0) → times18_out_ga(T35, 0)
U44_gga(T23, T25, times18_out_ga(T23, X45)) → times1_out_gga(s(0), T23, T25)
times1_in_gga(s(0), T23, T25) → U45_gga(T23, T25, times18_in_ga(T23, T29))
U45_gga(T23, T25, times18_out_ga(T23, T29)) → U46_gga(T23, T25, plus19_in_gga(T23, T29, T25))
plus19_in_gga(0, T42, T42) → plus19_out_gga(0, T42, T42)
plus19_in_gga(s(T49), T50, s(T52)) → U1_gga(T49, T50, T52, plus19_in_gga(T49, T50, T52))
U1_gga(T49, T50, T52, plus19_out_gga(T49, T50, T52)) → plus19_out_gga(s(T49), T50, s(T52))
U46_gga(T23, T25, plus19_out_gga(T23, T29, T25)) → times1_out_gga(s(0), T23, T25)
times1_in_gga(s(s(T57)), T10, T12) → U47_gga(T57, T10, T12, even36_in_ga(T57, X90))
even36_in_ga(0, true) → even36_out_ga(0, true)
even36_in_ga(s(0), false) → even36_out_ga(s(0), false)
even36_in_ga(s(s(T61)), X101) → U2_ga(T61, X101, even36_in_ga(T61, X101))
U2_ga(T61, X101, even36_out_ga(T61, X101)) → even36_out_ga(s(s(T61)), X101)
U47_gga(T57, T10, T12, even36_out_ga(T57, X90)) → times1_out_gga(s(s(T57)), T10, T12)
times1_in_gga(s(s(T77)), T78, T80) → U48_gga(T77, T78, T80, even36_in_gg(T77, true))
even36_in_gg(0, true) → even36_out_gg(0, true)
even36_in_gg(s(0), false) → even36_out_gg(s(0), false)
even36_in_gg(s(s(T61)), X101) → U2_gg(T61, X101, even36_in_gg(T61, X101))
U2_gg(T61, X101, even36_out_gg(T61, X101)) → even36_out_gg(s(s(T61)), X101)
U48_gga(T77, T78, T80, even36_out_gg(T77, true)) → U49_gga(T77, T78, T80, half56_in_ga(T77, X128))
half56_in_ga(T86, s(X147)) → U43_ga(T86, X147, half60_in_ga(T86, X147))
half60_in_ga(0, 0) → half60_out_ga(0, 0)
half60_in_ga(s(s(T89)), s(X156)) → U3_ga(T89, X156, half60_in_ga(T89, X156))
U3_ga(T89, X156, half60_out_ga(T89, X156)) → half60_out_ga(s(s(T89)), s(X156))
U43_ga(T86, X147, half60_out_ga(T86, X147)) → half56_out_ga(T86, s(X147))
U49_gga(T77, T78, T80, half56_out_ga(T77, X128)) → times1_out_gga(s(s(T77)), T78, T80)
U48_gga(T77, T78, T80, even36_out_gg(T77, true)) → U50_gga(T77, T78, T80, half56_in_ga(T77, T82))
U50_gga(T77, T78, T80, half56_out_ga(T77, T82)) → U51_gga(T77, T78, T80, times69_in_gga(T82, T78, X129))
times69_in_gga(0, T99, 0) → times69_out_gga(0, T99, 0)
times69_in_gga(s(T104), T105, X182) → U4_gga(T104, T105, X182, even36_in_ga(s(T104), X181))
U4_gga(T104, T105, X182, even36_out_ga(s(T104), X181)) → times69_out_gga(s(T104), T105, X182)
times69_in_gga(s(T117), T118, X217) → U5_gga(T117, T118, X217, even36_in_gg(s(T117), true))
U5_gga(T117, T118, X217, even36_out_gg(s(T117), true)) → U6_gga(T117, T118, X217, half60_in_ga(s(T117), X215))
U6_gga(T117, T118, X217, half60_out_ga(s(T117), X215)) → times69_out_gga(s(T117), T118, X217)
U5_gga(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_gga(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_gga(T117, T118, X217, half60_out_ga(s(T117), T120)) → U8_gga(T117, T118, X217, times69_in_gga(T120, T118, X216))
times69_in_gga(s(T117), T118, 0) → U9_gga(T117, T118, even36_in_gg(s(T117), true))
U9_gga(T117, T118, even36_out_gg(s(T117), true)) → U10_gga(T117, T118, half60_in_ga(s(T117), T120))
U10_gga(T117, T118, half60_out_ga(s(T117), T120)) → U11_gga(T117, T118, times69_in_ggg(T120, T118, 0))
times69_in_ggg(0, T99, 0) → times69_out_ggg(0, T99, 0)
times69_in_ggg(s(T104), T105, X182) → U4_ggg(T104, T105, X182, even36_in_ga(s(T104), X181))
U4_ggg(T104, T105, X182, even36_out_ga(s(T104), X181)) → times69_out_ggg(s(T104), T105, X182)
times69_in_ggg(s(T117), T118, X217) → U5_ggg(T117, T118, X217, even36_in_gg(s(T117), true))
U5_ggg(T117, T118, X217, even36_out_gg(s(T117), true)) → U6_ggg(T117, T118, X217, half60_in_ga(s(T117), X215))
U6_ggg(T117, T118, X217, half60_out_ga(s(T117), X215)) → times69_out_ggg(s(T117), T118, X217)
U5_ggg(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_ggg(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_ggg(T117, T118, X217, half60_out_ga(s(T117), T120)) → U8_ggg(T117, T118, X217, times69_in_gga(T120, T118, X216))
times69_in_gga(s(T117), T118, s(s(0))) → U12_gga(T117, T118, even36_in_gg(s(T117), true))
U12_gga(T117, T118, even36_out_gg(s(T117), true)) → U13_gga(T117, T118, half60_in_ga(s(T117), T120))
U13_gga(T117, T118, half60_out_ga(s(T117), T120)) → U14_gga(T117, T118, times69_in_ggg(T120, T118, s(0)))
times69_in_ggg(s(T117), T118, 0) → U9_ggg(T117, T118, even36_in_gg(s(T117), true))
U9_ggg(T117, T118, even36_out_gg(s(T117), true)) → U10_ggg(T117, T118, half60_in_ga(s(T117), T120))
U10_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U11_ggg(T117, T118, times69_in_ggg(T120, T118, 0))
times69_in_ggg(s(T117), T118, s(s(0))) → U12_ggg(T117, T118, even36_in_gg(s(T117), true))
U12_ggg(T117, T118, even36_out_gg(s(T117), true)) → U13_ggg(T117, T118, half60_in_ga(s(T117), T120))
U13_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U14_ggg(T117, T118, times69_in_ggg(T120, T118, s(0)))
times69_in_ggg(s(T117), T118, s(s(s(s(0))))) → U15_ggg(T117, T118, even36_in_gg(s(T117), true))
U15_ggg(T117, T118, even36_out_gg(s(T117), true)) → U16_ggg(T117, T118, half60_in_ga(s(T117), T120))
U16_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U17_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(0))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_ggg(T117, T118, even36_in_gg(s(T117), true))
U18_ggg(T117, T118, even36_out_gg(s(T117), true)) → U19_ggg(T117, T118, half60_in_ga(s(T117), T120))
U19_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U20_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(0)))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → U21_ggg(T117, T118, even36_in_gg(s(T117), true))
U21_ggg(T117, T118, even36_out_gg(s(T117), true)) → U22_ggg(T117, T118, half60_in_ga(s(T117), T120))
U22_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U23_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(0))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U24_ggg(T117, T118, even36_in_gg(s(T117), true))
U24_ggg(T117, T118, even36_out_gg(s(T117), true)) → U25_ggg(T117, T118, half60_in_ga(s(T117), T120))
U25_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U26_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(0)))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U27_ggg(T117, T118, even36_in_gg(s(T117), true))
U27_ggg(T117, T118, even36_out_gg(s(T117), true)) → U28_ggg(T117, T118, half60_in_ga(s(T117), T120))
U28_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U29_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(0))))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U30_ggg(T117, T118, even36_in_gg(s(T117), true))
U30_ggg(T117, T118, even36_out_gg(s(T117), true)) → U31_ggg(T117, T118, half60_in_ga(s(T117), T120))
U31_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U32_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(s(0)))))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → U33_ggg(T117, T118, X411, even36_in_gg(s(T117), true))
U33_ggg(T117, T118, X411, even36_out_gg(s(T117), true)) → U34_ggg(T117, T118, X411, half60_in_ga(s(T117), T120))
U34_ggg(T117, T118, X411, half60_out_ga(s(T117), T120)) → U35_ggg(T117, T118, X411, times69_in_gga(T120, T118, s(s(s(s(s(s(s(s(T150))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(0))))) → U15_gga(T117, T118, even36_in_gg(s(T117), true))
U15_gga(T117, T118, even36_out_gg(s(T117), true)) → U16_gga(T117, T118, half60_in_ga(s(T117), T120))
U16_gga(T117, T118, half60_out_ga(s(T117), T120)) → U17_gga(T117, T118, times69_in_ggg(T120, T118, s(s(0))))
times69_in_ggg(s(T171), T172, X455) → U37_ggg(T171, T172, X455, even36_in_gg(s(T171), false))
U37_ggg(T171, T172, X455, even36_out_gg(s(T171), false)) → U38_ggg(T171, T172, X455, times69_in_gga(T171, T172, X454))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_gga(T117, T118, even36_in_gg(s(T117), true))
U18_gga(T117, T118, even36_out_gg(s(T117), true)) → U19_gga(T117, T118, half60_in_ga(s(T117), T120))
U19_gga(T117, T118, half60_out_ga(s(T117), T120)) → U20_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(0)))))
U20_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(0))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(0)))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → U21_gga(T117, T118, even36_in_gg(s(T117), true))
U21_gga(T117, T118, even36_out_gg(s(T117), true)) → U22_gga(T117, T118, half60_in_ga(s(T117), T120))
U22_gga(T117, T118, half60_out_ga(s(T117), T120)) → U23_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(0))))))
U23_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(0)))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(0)))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U24_gga(T117, T118, even36_in_gg(s(T117), true))
U24_gga(T117, T118, even36_out_gg(s(T117), true)) → U25_gga(T117, T118, half60_in_ga(s(T117), T120))
U25_gga(T117, T118, half60_out_ga(s(T117), T120)) → U26_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(0)))))))
U26_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(0))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0)))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U27_gga(T117, T118, even36_in_gg(s(T117), true))
U27_gga(T117, T118, even36_out_gg(s(T117), true)) → U28_gga(T117, T118, half60_in_ga(s(T117), T120))
U28_gga(T117, T118, half60_out_ga(s(T117), T120)) → U29_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(0))))))))
U29_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(0)))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U30_gga(T117, T118, even36_in_gg(s(T117), true))
U30_gga(T117, T118, even36_out_gg(s(T117), true)) → U31_gga(T117, T118, half60_in_ga(s(T117), T120))
U31_gga(T117, T118, half60_out_ga(s(T117), T120)) → U32_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(s(0)))))))))
U32_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(s(0))))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → U33_gga(T117, T118, X411, even36_in_gg(s(T117), true))
U33_gga(T117, T118, X411, even36_out_gg(s(T117), true)) → U34_gga(T117, T118, X411, half60_in_ga(s(T117), T120))
U34_gga(T117, T118, X411, half60_out_ga(s(T117), T120)) → U35_gga(T117, T118, X411, times69_in_gga(T120, T118, s(s(s(s(s(s(s(s(T150))))))))))
times69_in_gga(s(T171), T172, X455) → U37_gga(T171, T172, X455, even36_in_gg(s(T171), false))
U37_gga(T171, T172, X455, even36_out_gg(s(T171), false)) → U38_gga(T171, T172, X455, times69_in_gga(T171, T172, X454))
U38_gga(T171, T172, X455, times69_out_gga(T171, T172, X454)) → times69_out_gga(s(T171), T172, X455)
U37_gga(T171, T172, X455, even36_out_gg(s(T171), false)) → U39_gga(T171, T172, X455, times69_in_gga(T171, T172, T175))
U39_gga(T171, T172, X455, times69_out_gga(T171, T172, T175)) → U40_gga(T171, T172, X455, plus166_in_gaa(T172, T175, X455))
plus166_in_gaa(0, T184, T184) → plus166_out_gaa(0, T184, T184)
plus166_in_gaa(s(T189), T190, s(X482)) → U42_gaa(T189, T190, X482, plus166_in_gaa(T189, T190, X482))
U42_gaa(T189, T190, X482, plus166_out_gaa(T189, T190, X482)) → plus166_out_gaa(s(T189), T190, s(X482))
U40_gga(T171, T172, X455, plus166_out_gaa(T172, T175, X455)) → times69_out_gga(s(T171), T172, X455)
U35_gga(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → U36_gga(T117, T118, X411, plus154_in_aaa(T150, s(s(s(s(s(s(s(T150))))))), X411))
plus154_in_aaa(0, T158, s(T158)) → plus154_out_aaa(0, T158, s(T158))
plus154_in_aaa(s(T163), T164, s(X436)) → U41_aaa(T163, T164, X436, plus154_in_aaa(T163, T164, X436))
U41_aaa(T163, T164, X436, plus154_out_aaa(T163, T164, X436)) → plus154_out_aaa(s(T163), T164, s(X436))
U36_gga(T117, T118, X411, plus154_out_aaa(T150, s(s(s(s(s(s(s(T150))))))), X411)) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(X411)))))))))
U38_ggg(T171, T172, X455, times69_out_gga(T171, T172, X454)) → times69_out_ggg(s(T171), T172, X455)
U37_ggg(T171, T172, X455, even36_out_gg(s(T171), false)) → U39_ggg(T171, T172, X455, times69_in_gga(T171, T172, T175))
U39_ggg(T171, T172, X455, times69_out_gga(T171, T172, T175)) → U40_ggg(T171, T172, X455, plus166_in_gag(T172, T175, X455))
plus166_in_gag(0, T184, T184) → plus166_out_gag(0, T184, T184)
plus166_in_gag(s(T189), T190, s(X482)) → U42_gag(T189, T190, X482, plus166_in_gag(T189, T190, X482))
U42_gag(T189, T190, X482, plus166_out_gag(T189, T190, X482)) → plus166_out_gag(s(T189), T190, s(X482))
U40_ggg(T171, T172, X455, plus166_out_gag(T172, T175, X455)) → times69_out_ggg(s(T171), T172, X455)
U17_gga(T117, T118, times69_out_ggg(T120, T118, s(s(0)))) → times69_out_gga(s(T117), T118, s(s(s(s(0)))))
U35_ggg(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → U36_ggg(T117, T118, X411, plus154_in_aag(T150, s(s(s(s(s(s(s(T150))))))), X411))
plus154_in_aag(0, T158, s(T158)) → plus154_out_aag(0, T158, s(T158))
plus154_in_aag(s(T163), T164, s(X436)) → U41_aag(T163, T164, X436, plus154_in_aag(T163, T164, X436))
U41_aag(T163, T164, X436, plus154_out_aag(T163, T164, X436)) → plus154_out_aag(s(T163), T164, s(X436))
U36_ggg(T117, T118, X411, plus154_out_aag(T150, s(s(s(s(s(s(s(T150))))))), X411)) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(X411)))))))))
U32_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(s(0))))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
U29_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(0)))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
U26_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(0))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0)))))))))))
U23_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(0)))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(0)))))))))
U20_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(0))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(0)))))))
U17_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(0)))) → times69_out_ggg(s(T117), T118, s(s(s(s(0)))))
U14_ggg(T117, T118, times69_out_ggg(T120, T118, s(0))) → times69_out_ggg(s(T117), T118, s(s(0)))
U11_ggg(T117, T118, times69_out_ggg(T120, T118, 0)) → times69_out_ggg(s(T117), T118, 0)
U14_gga(T117, T118, times69_out_ggg(T120, T118, s(0))) → times69_out_gga(s(T117), T118, s(s(0)))
U8_ggg(T117, T118, X217, times69_out_gga(T120, T118, X216)) → times69_out_ggg(s(T117), T118, X217)
U11_gga(T117, T118, times69_out_ggg(T120, T118, 0)) → times69_out_gga(s(T117), T118, 0)
U8_gga(T117, T118, X217, times69_out_gga(T120, T118, X216)) → times69_out_gga(s(T117), T118, X217)
U51_gga(T77, T78, T80, times69_out_gga(T82, T78, X129)) → times1_out_gga(s(s(T77)), T78, T80)
times1_in_gga(s(s(T77)), T78, 0) → U52_gga(T77, T78, even36_in_gg(T77, true))
U52_gga(T77, T78, even36_out_gg(T77, true)) → U53_gga(T77, T78, half56_in_ga(T77, T82))
U53_gga(T77, T78, half56_out_ga(T77, T82)) → U54_gga(T77, T78, times69_in_ggg(T82, T78, 0))
U54_gga(T77, T78, times69_out_ggg(T82, T78, 0)) → times1_out_gga(s(s(T77)), T78, 0)
times1_in_gga(s(s(T77)), T78, s(s(0))) → U55_gga(T77, T78, even36_in_gg(T77, true))
U55_gga(T77, T78, even36_out_gg(T77, true)) → U56_gga(T77, T78, half56_in_ga(T77, T82))
U56_gga(T77, T78, half56_out_ga(T77, T82)) → U57_gga(T77, T78, times69_in_ggg(T82, T78, s(0)))
U57_gga(T77, T78, times69_out_ggg(T82, T78, s(0))) → times1_out_gga(s(s(T77)), T78, s(s(0)))
times1_in_gga(s(s(T77)), T78, s(s(s(s(0))))) → U58_gga(T77, T78, even36_in_gg(T77, true))
U58_gga(T77, T78, even36_out_gg(T77, true)) → U59_gga(T77, T78, half56_in_ga(T77, T82))
U59_gga(T77, T78, half56_out_ga(T77, T82)) → U60_gga(T77, T78, times69_in_ggg(T82, T78, s(s(0))))
U60_gga(T77, T78, times69_out_ggg(T82, T78, s(s(0)))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(0)))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(0))))))) → U61_gga(T77, T78, even36_in_gg(T77, true))
U61_gga(T77, T78, even36_out_gg(T77, true)) → U62_gga(T77, T78, half56_in_ga(T77, T82))
U62_gga(T77, T78, half56_out_ga(T77, T82)) → U63_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(0)))))
U63_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(0))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(0)))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(0))))))))) → U64_gga(T77, T78, even36_in_gg(T77, true))
U64_gga(T77, T78, even36_out_gg(T77, true)) → U65_gga(T77, T78, half56_in_ga(T77, T82))
U65_gga(T77, T78, half56_out_ga(T77, T82)) → U66_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(0))))))
U66_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(0)))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(0)))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U67_gga(T77, T78, even36_in_gg(T77, true))
U67_gga(T77, T78, even36_out_gg(T77, true)) → U68_gga(T77, T78, half56_in_ga(T77, T82))
U68_gga(T77, T78, half56_out_ga(T77, T82)) → U69_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(0)))))))
U69_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(0))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(0)))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U70_gga(T77, T78, even36_in_gg(T77, true))
U70_gga(T77, T78, even36_out_gg(T77, true)) → U71_gga(T77, T78, half56_in_ga(T77, T82))
U71_gga(T77, T78, half56_out_ga(T77, T82)) → U72_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(s(0))))))))
U72_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(s(0)))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U73_gga(T77, T78, even36_in_gg(T77, true))
U73_gga(T77, T78, even36_out_gg(T77, true)) → U74_gga(T77, T78, half56_in_ga(T77, T82))
U74_gga(T77, T78, half56_out_ga(T77, T82)) → U75_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(s(s(0)))))))))
U75_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(s(s(0))))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(T248))))))))) → U76_gga(T77, T78, T248, even36_in_gg(T77, true))
U76_gga(T77, T78, T248, even36_out_gg(T77, true)) → U77_gga(T77, T78, T248, half56_in_ga(T77, T82))
U77_gga(T77, T78, T248, half56_out_ga(T77, T82)) → U78_gga(T77, T78, T248, times69_in_gga(T82, T78, s(s(s(s(s(s(s(s(T246))))))))))
U78_gga(T77, T78, T248, times69_out_gga(T82, T78, s(s(s(s(s(s(s(s(T246)))))))))) → U79_gga(T77, T78, T248, plus19_in_aaa(T246, s(s(s(s(s(s(s(s(T246)))))))), T248))
plus19_in_aaa(0, T42, T42) → plus19_out_aaa(0, T42, T42)
plus19_in_aaa(s(T49), T50, s(T52)) → U1_aaa(T49, T50, T52, plus19_in_aaa(T49, T50, T52))
U1_aaa(T49, T50, T52, plus19_out_aaa(T49, T50, T52)) → plus19_out_aaa(s(T49), T50, s(T52))
U79_gga(T77, T78, T248, plus19_out_aaa(T246, s(s(s(s(s(s(s(s(T246)))))))), T248)) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(T248)))))))))
times1_in_gga(s(s(T258)), T259, T261) → U80_gga(T258, T259, T261, even36_in_gg(T258, false))
U80_gga(T258, T259, T261, even36_out_gg(T258, false)) → U81_gga(T258, T259, T261, times69_in_gga(s(T258), T259, X662))
U81_gga(T258, T259, T261, times69_out_gga(s(T258), T259, X662)) → times1_out_gga(s(s(T258)), T259, T261)
U80_gga(T258, T259, T261, even36_out_gg(T258, false)) → U82_gga(T258, T259, T261, times69_in_gga(s(T258), T259, T264))
U82_gga(T258, T259, T261, times69_out_gga(s(T258), T259, T264)) → U83_gga(T258, T259, T261, plus19_in_gaa(T259, T264, T261))
plus19_in_gaa(0, T42, T42) → plus19_out_gaa(0, T42, T42)
plus19_in_gaa(s(T49), T50, s(T52)) → U1_gaa(T49, T50, T52, plus19_in_gaa(T49, T50, T52))
U1_gaa(T49, T50, T52, plus19_out_gaa(T49, T50, T52)) → plus19_out_gaa(s(T49), T50, s(T52))
U83_gga(T258, T259, T261, plus19_out_gaa(T259, T264, T261)) → times1_out_gga(s(s(T258)), T259, T261)

The argument filtering Pi contains the following mapping:
times1_in_gga(x1, x2, x3)  =  times1_in_gga(x1, x2)
0  =  0
times1_out_gga(x1, x2, x3)  =  times1_out_gga(x1, x2)
s(x1)  =  s(x1)
U44_gga(x1, x2, x3)  =  U44_gga(x1, x3)
times18_in_ga(x1, x2)  =  times18_in_ga(x1)
times18_out_ga(x1, x2)  =  times18_out_ga(x1, x2)
U45_gga(x1, x2, x3)  =  U45_gga(x1, x3)
U46_gga(x1, x2, x3)  =  U46_gga(x1, x3)
plus19_in_gga(x1, x2, x3)  =  plus19_in_gga(x1, x2)
plus19_out_gga(x1, x2, x3)  =  plus19_out_gga(x1, x2, x3)
U1_gga(x1, x2, x3, x4)  =  U1_gga(x1, x2, x4)
U47_gga(x1, x2, x3, x4)  =  U47_gga(x1, x2, x4)
even36_in_ga(x1, x2)  =  even36_in_ga(x1)
even36_out_ga(x1, x2)  =  even36_out_ga(x1, x2)
U2_ga(x1, x2, x3)  =  U2_ga(x1, x3)
U48_gga(x1, x2, x3, x4)  =  U48_gga(x1, x2, x4)
even36_in_gg(x1, x2)  =  even36_in_gg(x1, x2)
true  =  true
even36_out_gg(x1, x2)  =  even36_out_gg(x1, x2)
false  =  false
U2_gg(x1, x2, x3)  =  U2_gg(x1, x2, x3)
U49_gga(x1, x2, x3, x4)  =  U49_gga(x1, x2, x4)
half56_in_ga(x1, x2)  =  half56_in_ga(x1)
U43_ga(x1, x2, x3)  =  U43_ga(x1, x3)
half60_in_ga(x1, x2)  =  half60_in_ga(x1)
half60_out_ga(x1, x2)  =  half60_out_ga(x1, x2)
U3_ga(x1, x2, x3)  =  U3_ga(x1, x3)
half56_out_ga(x1, x2)  =  half56_out_ga(x1, x2)
U50_gga(x1, x2, x3, x4)  =  U50_gga(x1, x2, x4)
U51_gga(x1, x2, x3, x4)  =  U51_gga(x1, x2, x4)
times69_in_gga(x1, x2, x3)  =  times69_in_gga(x1, x2)
times69_out_gga(x1, x2, x3)  =  times69_out_gga(x1, x2)
U4_gga(x1, x2, x3, x4)  =  U4_gga(x1, x2, x4)
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)
U8_gga(x1, x2, x3, x4)  =  U8_gga(x1, x2, x4)
U9_gga(x1, x2, x3)  =  U9_gga(x1, x2, x3)
U10_gga(x1, x2, x3)  =  U10_gga(x1, x2, x3)
U11_gga(x1, x2, x3)  =  U11_gga(x1, x2, x3)
times69_in_ggg(x1, x2, x3)  =  times69_in_ggg(x1, x2, x3)
times69_out_ggg(x1, x2, x3)  =  times69_out_ggg(x1, x2, x3)
U4_ggg(x1, x2, x3, x4)  =  U4_ggg(x1, x2, x3, x4)
U5_ggg(x1, x2, x3, x4)  =  U5_ggg(x1, x2, x3, x4)
U6_ggg(x1, x2, x3, x4)  =  U6_ggg(x1, x2, x3, x4)
U7_ggg(x1, x2, x3, x4)  =  U7_ggg(x1, x2, x3, x4)
U8_ggg(x1, x2, x3, x4)  =  U8_ggg(x1, x2, x3, x4)
U12_gga(x1, x2, x3)  =  U12_gga(x1, x2, x3)
U13_gga(x1, x2, x3)  =  U13_gga(x1, x2, x3)
U14_gga(x1, x2, x3)  =  U14_gga(x1, x2, x3)
U9_ggg(x1, x2, x3)  =  U9_ggg(x1, x2, x3)
U10_ggg(x1, x2, x3)  =  U10_ggg(x1, x2, x3)
U11_ggg(x1, x2, x3)  =  U11_ggg(x1, x2, x3)
U12_ggg(x1, x2, x3)  =  U12_ggg(x1, x2, x3)
U13_ggg(x1, x2, x3)  =  U13_ggg(x1, x2, x3)
U14_ggg(x1, x2, x3)  =  U14_ggg(x1, x2, x3)
U15_ggg(x1, x2, x3)  =  U15_ggg(x1, x2, x3)
U16_ggg(x1, x2, x3)  =  U16_ggg(x1, x2, x3)
U17_ggg(x1, x2, x3)  =  U17_ggg(x1, x2, x3)
U18_ggg(x1, x2, x3)  =  U18_ggg(x1, x2, x3)
U19_ggg(x1, x2, x3)  =  U19_ggg(x1, x2, x3)
U20_ggg(x1, x2, x3)  =  U20_ggg(x1, x2, x3)
U21_ggg(x1, x2, x3)  =  U21_ggg(x1, x2, x3)
U22_ggg(x1, x2, x3)  =  U22_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)  =  U26_ggg(x1, x2, x3)
U27_ggg(x1, x2, x3)  =  U27_ggg(x1, x2, x3)
U28_ggg(x1, x2, x3)  =  U28_ggg(x1, x2, x3)
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)  =  U32_ggg(x1, x2, x3)
U33_ggg(x1, x2, x3, x4)  =  U33_ggg(x1, x2, x3, x4)
U34_ggg(x1, x2, x3, x4)  =  U34_ggg(x1, x2, x3, x4)
U35_ggg(x1, x2, x3, x4)  =  U35_ggg(x1, x2, x3, x4)
U15_gga(x1, x2, x3)  =  U15_gga(x1, x2, x3)
U16_gga(x1, x2, x3)  =  U16_gga(x1, x2, x3)
U17_gga(x1, x2, x3)  =  U17_gga(x1, x2, x3)
U37_ggg(x1, x2, x3, x4)  =  U37_ggg(x1, x2, x3, x4)
U38_ggg(x1, x2, x3, x4)  =  U38_ggg(x1, x2, x3, x4)
U18_gga(x1, x2, x3)  =  U18_gga(x1, x2, x3)
U19_gga(x1, x2, x3)  =  U19_gga(x1, x2, x3)
U20_gga(x1, x2, x3)  =  U20_gga(x1, x2, x3)
U21_gga(x1, x2, x3)  =  U21_gga(x1, x2, x3)
U22_gga(x1, x2, x3)  =  U22_gga(x1, x2, x3)
U23_gga(x1, x2, x3)  =  U23_gga(x1, x2, x3)
U24_gga(x1, x2, x3)  =  U24_gga(x1, x2, x3)
U25_gga(x1, x2, x3)  =  U25_gga(x1, x2, x3)
U26_gga(x1, x2, x3)  =  U26_gga(x1, x2, x3)
U27_gga(x1, x2, x3)  =  U27_gga(x1, x2, x3)
U28_gga(x1, x2, x3)  =  U28_gga(x1, x2, x3)
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)  =  U32_gga(x1, x2, x3)
U33_gga(x1, x2, x3, x4)  =  U33_gga(x1, x2, x4)
U34_gga(x1, x2, x3, x4)  =  U34_gga(x1, x2, x4)
U35_gga(x1, x2, x3, x4)  =  U35_gga(x1, x2, x4)
U37_gga(x1, x2, x3, x4)  =  U37_gga(x1, x2, x4)
U38_gga(x1, x2, x3, x4)  =  U38_gga(x1, x2, x4)
U39_gga(x1, x2, x3, x4)  =  U39_gga(x1, x2, x4)
U40_gga(x1, x2, x3, x4)  =  U40_gga(x1, x2, x4)
plus166_in_gaa(x1, x2, x3)  =  plus166_in_gaa(x1)
plus166_out_gaa(x1, x2, x3)  =  plus166_out_gaa(x1)
U42_gaa(x1, x2, x3, x4)  =  U42_gaa(x1, x4)
U36_gga(x1, x2, x3, x4)  =  U36_gga(x1, x2, x4)
plus154_in_aaa(x1, x2, x3)  =  plus154_in_aaa
plus154_out_aaa(x1, x2, x3)  =  plus154_out_aaa(x1)
U41_aaa(x1, x2, x3, x4)  =  U41_aaa(x4)
U39_ggg(x1, x2, x3, x4)  =  U39_ggg(x1, x2, x3, x4)
U40_ggg(x1, x2, x3, x4)  =  U40_ggg(x1, x2, x3, x4)
plus166_in_gag(x1, x2, x3)  =  plus166_in_gag(x1, x3)
plus166_out_gag(x1, x2, x3)  =  plus166_out_gag(x1, x2, x3)
U42_gag(x1, x2, x3, x4)  =  U42_gag(x1, x3, x4)
U36_ggg(x1, x2, x3, x4)  =  U36_ggg(x1, x2, x3, x4)
plus154_in_aag(x1, x2, x3)  =  plus154_in_aag(x3)
plus154_out_aag(x1, x2, x3)  =  plus154_out_aag(x1, x2, x3)
U41_aag(x1, x2, x3, x4)  =  U41_aag(x3, x4)
U52_gga(x1, x2, x3)  =  U52_gga(x1, x2, x3)
U53_gga(x1, x2, x3)  =  U53_gga(x1, x2, x3)
U54_gga(x1, x2, x3)  =  U54_gga(x1, x2, x3)
U55_gga(x1, x2, x3)  =  U55_gga(x1, x2, x3)
U56_gga(x1, x2, x3)  =  U56_gga(x1, x2, x3)
U57_gga(x1, x2, x3)  =  U57_gga(x1, x2, x3)
U58_gga(x1, x2, x3)  =  U58_gga(x1, x2, x3)
U59_gga(x1, x2, x3)  =  U59_gga(x1, x2, x3)
U60_gga(x1, x2, x3)  =  U60_gga(x1, x2, x3)
U61_gga(x1, x2, x3)  =  U61_gga(x1, x2, x3)
U62_gga(x1, x2, x3)  =  U62_gga(x1, x2, x3)
U63_gga(x1, x2, x3)  =  U63_gga(x1, x2, x3)
U64_gga(x1, x2, x3)  =  U64_gga(x1, x2, x3)
U65_gga(x1, x2, x3)  =  U65_gga(x1, x2, x3)
U66_gga(x1, x2, x3)  =  U66_gga(x1, x2, x3)
U67_gga(x1, x2, x3)  =  U67_gga(x1, x2, x3)
U68_gga(x1, x2, x3)  =  U68_gga(x1, x2, x3)
U69_gga(x1, x2, x3)  =  U69_gga(x1, x2, x3)
U70_gga(x1, x2, x3)  =  U70_gga(x1, x2, x3)
U71_gga(x1, x2, x3)  =  U71_gga(x1, x2, x3)
U72_gga(x1, x2, x3)  =  U72_gga(x1, x2, x3)
U73_gga(x1, x2, x3)  =  U73_gga(x1, x2, x3)
U74_gga(x1, x2, x3)  =  U74_gga(x1, x2, x3)
U75_gga(x1, x2, x3)  =  U75_gga(x1, x2, x3)
U76_gga(x1, x2, x3, x4)  =  U76_gga(x1, x2, x4)
U77_gga(x1, x2, x3, x4)  =  U77_gga(x1, x2, x4)
U78_gga(x1, x2, x3, x4)  =  U78_gga(x1, x2, x4)
U79_gga(x1, x2, x3, x4)  =  U79_gga(x1, x2, x4)
plus19_in_aaa(x1, x2, x3)  =  plus19_in_aaa
plus19_out_aaa(x1, x2, x3)  =  plus19_out_aaa(x1)
U1_aaa(x1, x2, x3, x4)  =  U1_aaa(x4)
U80_gga(x1, x2, x3, x4)  =  U80_gga(x1, x2, x4)
U81_gga(x1, x2, x3, x4)  =  U81_gga(x1, x2, x4)
U82_gga(x1, x2, x3, x4)  =  U82_gga(x1, x2, x4)
U83_gga(x1, x2, x3, x4)  =  U83_gga(x1, x2, x4)
plus19_in_gaa(x1, x2, x3)  =  plus19_in_gaa(x1)
plus19_out_gaa(x1, x2, x3)  =  plus19_out_gaa(x1)
U1_gaa(x1, x2, x3, x4)  =  U1_gaa(x1, x4)
PLUS166_IN_GAA(x1, x2, x3)  =  PLUS166_IN_GAA(x1)

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

(45) UsableRulesProof (EQUIVALENT transformation)

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

(46) Obligation:

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

PLUS166_IN_GAA(s(T189), T190, s(X482)) → PLUS166_IN_GAA(T189, T190, X482)

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

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

(47) PiDPToQDPProof (SOUND transformation)

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

(48) Obligation:

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

PLUS166_IN_GAA(s(T189)) → PLUS166_IN_GAA(T189)

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

(49) QDPSizeChangeProof (EQUIVALENT transformation)

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

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

  • PLUS166_IN_GAA(s(T189)) → PLUS166_IN_GAA(T189)
    The graph contains the following edges 1 > 1

(50) YES

(51) Obligation:

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

HALF60_IN_GA(s(s(T89)), s(X156)) → HALF60_IN_GA(T89, X156)

The TRS R consists of the following rules:

times1_in_gga(0, T5, 0) → times1_out_gga(0, T5, 0)
times1_in_gga(s(0), T23, T25) → U44_gga(T23, T25, times18_in_ga(T23, X45))
times18_in_ga(T35, 0) → times18_out_ga(T35, 0)
U44_gga(T23, T25, times18_out_ga(T23, X45)) → times1_out_gga(s(0), T23, T25)
times1_in_gga(s(0), T23, T25) → U45_gga(T23, T25, times18_in_ga(T23, T29))
U45_gga(T23, T25, times18_out_ga(T23, T29)) → U46_gga(T23, T25, plus19_in_gga(T23, T29, T25))
plus19_in_gga(0, T42, T42) → plus19_out_gga(0, T42, T42)
plus19_in_gga(s(T49), T50, s(T52)) → U1_gga(T49, T50, T52, plus19_in_gga(T49, T50, T52))
U1_gga(T49, T50, T52, plus19_out_gga(T49, T50, T52)) → plus19_out_gga(s(T49), T50, s(T52))
U46_gga(T23, T25, plus19_out_gga(T23, T29, T25)) → times1_out_gga(s(0), T23, T25)
times1_in_gga(s(s(T57)), T10, T12) → U47_gga(T57, T10, T12, even36_in_ga(T57, X90))
even36_in_ga(0, true) → even36_out_ga(0, true)
even36_in_ga(s(0), false) → even36_out_ga(s(0), false)
even36_in_ga(s(s(T61)), X101) → U2_ga(T61, X101, even36_in_ga(T61, X101))
U2_ga(T61, X101, even36_out_ga(T61, X101)) → even36_out_ga(s(s(T61)), X101)
U47_gga(T57, T10, T12, even36_out_ga(T57, X90)) → times1_out_gga(s(s(T57)), T10, T12)
times1_in_gga(s(s(T77)), T78, T80) → U48_gga(T77, T78, T80, even36_in_gg(T77, true))
even36_in_gg(0, true) → even36_out_gg(0, true)
even36_in_gg(s(0), false) → even36_out_gg(s(0), false)
even36_in_gg(s(s(T61)), X101) → U2_gg(T61, X101, even36_in_gg(T61, X101))
U2_gg(T61, X101, even36_out_gg(T61, X101)) → even36_out_gg(s(s(T61)), X101)
U48_gga(T77, T78, T80, even36_out_gg(T77, true)) → U49_gga(T77, T78, T80, half56_in_ga(T77, X128))
half56_in_ga(T86, s(X147)) → U43_ga(T86, X147, half60_in_ga(T86, X147))
half60_in_ga(0, 0) → half60_out_ga(0, 0)
half60_in_ga(s(s(T89)), s(X156)) → U3_ga(T89, X156, half60_in_ga(T89, X156))
U3_ga(T89, X156, half60_out_ga(T89, X156)) → half60_out_ga(s(s(T89)), s(X156))
U43_ga(T86, X147, half60_out_ga(T86, X147)) → half56_out_ga(T86, s(X147))
U49_gga(T77, T78, T80, half56_out_ga(T77, X128)) → times1_out_gga(s(s(T77)), T78, T80)
U48_gga(T77, T78, T80, even36_out_gg(T77, true)) → U50_gga(T77, T78, T80, half56_in_ga(T77, T82))
U50_gga(T77, T78, T80, half56_out_ga(T77, T82)) → U51_gga(T77, T78, T80, times69_in_gga(T82, T78, X129))
times69_in_gga(0, T99, 0) → times69_out_gga(0, T99, 0)
times69_in_gga(s(T104), T105, X182) → U4_gga(T104, T105, X182, even36_in_ga(s(T104), X181))
U4_gga(T104, T105, X182, even36_out_ga(s(T104), X181)) → times69_out_gga(s(T104), T105, X182)
times69_in_gga(s(T117), T118, X217) → U5_gga(T117, T118, X217, even36_in_gg(s(T117), true))
U5_gga(T117, T118, X217, even36_out_gg(s(T117), true)) → U6_gga(T117, T118, X217, half60_in_ga(s(T117), X215))
U6_gga(T117, T118, X217, half60_out_ga(s(T117), X215)) → times69_out_gga(s(T117), T118, X217)
U5_gga(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_gga(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_gga(T117, T118, X217, half60_out_ga(s(T117), T120)) → U8_gga(T117, T118, X217, times69_in_gga(T120, T118, X216))
times69_in_gga(s(T117), T118, 0) → U9_gga(T117, T118, even36_in_gg(s(T117), true))
U9_gga(T117, T118, even36_out_gg(s(T117), true)) → U10_gga(T117, T118, half60_in_ga(s(T117), T120))
U10_gga(T117, T118, half60_out_ga(s(T117), T120)) → U11_gga(T117, T118, times69_in_ggg(T120, T118, 0))
times69_in_ggg(0, T99, 0) → times69_out_ggg(0, T99, 0)
times69_in_ggg(s(T104), T105, X182) → U4_ggg(T104, T105, X182, even36_in_ga(s(T104), X181))
U4_ggg(T104, T105, X182, even36_out_ga(s(T104), X181)) → times69_out_ggg(s(T104), T105, X182)
times69_in_ggg(s(T117), T118, X217) → U5_ggg(T117, T118, X217, even36_in_gg(s(T117), true))
U5_ggg(T117, T118, X217, even36_out_gg(s(T117), true)) → U6_ggg(T117, T118, X217, half60_in_ga(s(T117), X215))
U6_ggg(T117, T118, X217, half60_out_ga(s(T117), X215)) → times69_out_ggg(s(T117), T118, X217)
U5_ggg(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_ggg(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_ggg(T117, T118, X217, half60_out_ga(s(T117), T120)) → U8_ggg(T117, T118, X217, times69_in_gga(T120, T118, X216))
times69_in_gga(s(T117), T118, s(s(0))) → U12_gga(T117, T118, even36_in_gg(s(T117), true))
U12_gga(T117, T118, even36_out_gg(s(T117), true)) → U13_gga(T117, T118, half60_in_ga(s(T117), T120))
U13_gga(T117, T118, half60_out_ga(s(T117), T120)) → U14_gga(T117, T118, times69_in_ggg(T120, T118, s(0)))
times69_in_ggg(s(T117), T118, 0) → U9_ggg(T117, T118, even36_in_gg(s(T117), true))
U9_ggg(T117, T118, even36_out_gg(s(T117), true)) → U10_ggg(T117, T118, half60_in_ga(s(T117), T120))
U10_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U11_ggg(T117, T118, times69_in_ggg(T120, T118, 0))
times69_in_ggg(s(T117), T118, s(s(0))) → U12_ggg(T117, T118, even36_in_gg(s(T117), true))
U12_ggg(T117, T118, even36_out_gg(s(T117), true)) → U13_ggg(T117, T118, half60_in_ga(s(T117), T120))
U13_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U14_ggg(T117, T118, times69_in_ggg(T120, T118, s(0)))
times69_in_ggg(s(T117), T118, s(s(s(s(0))))) → U15_ggg(T117, T118, even36_in_gg(s(T117), true))
U15_ggg(T117, T118, even36_out_gg(s(T117), true)) → U16_ggg(T117, T118, half60_in_ga(s(T117), T120))
U16_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U17_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(0))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_ggg(T117, T118, even36_in_gg(s(T117), true))
U18_ggg(T117, T118, even36_out_gg(s(T117), true)) → U19_ggg(T117, T118, half60_in_ga(s(T117), T120))
U19_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U20_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(0)))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → U21_ggg(T117, T118, even36_in_gg(s(T117), true))
U21_ggg(T117, T118, even36_out_gg(s(T117), true)) → U22_ggg(T117, T118, half60_in_ga(s(T117), T120))
U22_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U23_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(0))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U24_ggg(T117, T118, even36_in_gg(s(T117), true))
U24_ggg(T117, T118, even36_out_gg(s(T117), true)) → U25_ggg(T117, T118, half60_in_ga(s(T117), T120))
U25_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U26_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(0)))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U27_ggg(T117, T118, even36_in_gg(s(T117), true))
U27_ggg(T117, T118, even36_out_gg(s(T117), true)) → U28_ggg(T117, T118, half60_in_ga(s(T117), T120))
U28_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U29_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(0))))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U30_ggg(T117, T118, even36_in_gg(s(T117), true))
U30_ggg(T117, T118, even36_out_gg(s(T117), true)) → U31_ggg(T117, T118, half60_in_ga(s(T117), T120))
U31_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U32_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(s(0)))))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → U33_ggg(T117, T118, X411, even36_in_gg(s(T117), true))
U33_ggg(T117, T118, X411, even36_out_gg(s(T117), true)) → U34_ggg(T117, T118, X411, half60_in_ga(s(T117), T120))
U34_ggg(T117, T118, X411, half60_out_ga(s(T117), T120)) → U35_ggg(T117, T118, X411, times69_in_gga(T120, T118, s(s(s(s(s(s(s(s(T150))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(0))))) → U15_gga(T117, T118, even36_in_gg(s(T117), true))
U15_gga(T117, T118, even36_out_gg(s(T117), true)) → U16_gga(T117, T118, half60_in_ga(s(T117), T120))
U16_gga(T117, T118, half60_out_ga(s(T117), T120)) → U17_gga(T117, T118, times69_in_ggg(T120, T118, s(s(0))))
times69_in_ggg(s(T171), T172, X455) → U37_ggg(T171, T172, X455, even36_in_gg(s(T171), false))
U37_ggg(T171, T172, X455, even36_out_gg(s(T171), false)) → U38_ggg(T171, T172, X455, times69_in_gga(T171, T172, X454))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_gga(T117, T118, even36_in_gg(s(T117), true))
U18_gga(T117, T118, even36_out_gg(s(T117), true)) → U19_gga(T117, T118, half60_in_ga(s(T117), T120))
U19_gga(T117, T118, half60_out_ga(s(T117), T120)) → U20_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(0)))))
U20_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(0))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(0)))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → U21_gga(T117, T118, even36_in_gg(s(T117), true))
U21_gga(T117, T118, even36_out_gg(s(T117), true)) → U22_gga(T117, T118, half60_in_ga(s(T117), T120))
U22_gga(T117, T118, half60_out_ga(s(T117), T120)) → U23_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(0))))))
U23_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(0)))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(0)))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U24_gga(T117, T118, even36_in_gg(s(T117), true))
U24_gga(T117, T118, even36_out_gg(s(T117), true)) → U25_gga(T117, T118, half60_in_ga(s(T117), T120))
U25_gga(T117, T118, half60_out_ga(s(T117), T120)) → U26_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(0)))))))
U26_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(0))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0)))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U27_gga(T117, T118, even36_in_gg(s(T117), true))
U27_gga(T117, T118, even36_out_gg(s(T117), true)) → U28_gga(T117, T118, half60_in_ga(s(T117), T120))
U28_gga(T117, T118, half60_out_ga(s(T117), T120)) → U29_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(0))))))))
U29_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(0)))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U30_gga(T117, T118, even36_in_gg(s(T117), true))
U30_gga(T117, T118, even36_out_gg(s(T117), true)) → U31_gga(T117, T118, half60_in_ga(s(T117), T120))
U31_gga(T117, T118, half60_out_ga(s(T117), T120)) → U32_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(s(0)))))))))
U32_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(s(0))))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → U33_gga(T117, T118, X411, even36_in_gg(s(T117), true))
U33_gga(T117, T118, X411, even36_out_gg(s(T117), true)) → U34_gga(T117, T118, X411, half60_in_ga(s(T117), T120))
U34_gga(T117, T118, X411, half60_out_ga(s(T117), T120)) → U35_gga(T117, T118, X411, times69_in_gga(T120, T118, s(s(s(s(s(s(s(s(T150))))))))))
times69_in_gga(s(T171), T172, X455) → U37_gga(T171, T172, X455, even36_in_gg(s(T171), false))
U37_gga(T171, T172, X455, even36_out_gg(s(T171), false)) → U38_gga(T171, T172, X455, times69_in_gga(T171, T172, X454))
U38_gga(T171, T172, X455, times69_out_gga(T171, T172, X454)) → times69_out_gga(s(T171), T172, X455)
U37_gga(T171, T172, X455, even36_out_gg(s(T171), false)) → U39_gga(T171, T172, X455, times69_in_gga(T171, T172, T175))
U39_gga(T171, T172, X455, times69_out_gga(T171, T172, T175)) → U40_gga(T171, T172, X455, plus166_in_gaa(T172, T175, X455))
plus166_in_gaa(0, T184, T184) → plus166_out_gaa(0, T184, T184)
plus166_in_gaa(s(T189), T190, s(X482)) → U42_gaa(T189, T190, X482, plus166_in_gaa(T189, T190, X482))
U42_gaa(T189, T190, X482, plus166_out_gaa(T189, T190, X482)) → plus166_out_gaa(s(T189), T190, s(X482))
U40_gga(T171, T172, X455, plus166_out_gaa(T172, T175, X455)) → times69_out_gga(s(T171), T172, X455)
U35_gga(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → U36_gga(T117, T118, X411, plus154_in_aaa(T150, s(s(s(s(s(s(s(T150))))))), X411))
plus154_in_aaa(0, T158, s(T158)) → plus154_out_aaa(0, T158, s(T158))
plus154_in_aaa(s(T163), T164, s(X436)) → U41_aaa(T163, T164, X436, plus154_in_aaa(T163, T164, X436))
U41_aaa(T163, T164, X436, plus154_out_aaa(T163, T164, X436)) → plus154_out_aaa(s(T163), T164, s(X436))
U36_gga(T117, T118, X411, plus154_out_aaa(T150, s(s(s(s(s(s(s(T150))))))), X411)) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(X411)))))))))
U38_ggg(T171, T172, X455, times69_out_gga(T171, T172, X454)) → times69_out_ggg(s(T171), T172, X455)
U37_ggg(T171, T172, X455, even36_out_gg(s(T171), false)) → U39_ggg(T171, T172, X455, times69_in_gga(T171, T172, T175))
U39_ggg(T171, T172, X455, times69_out_gga(T171, T172, T175)) → U40_ggg(T171, T172, X455, plus166_in_gag(T172, T175, X455))
plus166_in_gag(0, T184, T184) → plus166_out_gag(0, T184, T184)
plus166_in_gag(s(T189), T190, s(X482)) → U42_gag(T189, T190, X482, plus166_in_gag(T189, T190, X482))
U42_gag(T189, T190, X482, plus166_out_gag(T189, T190, X482)) → plus166_out_gag(s(T189), T190, s(X482))
U40_ggg(T171, T172, X455, plus166_out_gag(T172, T175, X455)) → times69_out_ggg(s(T171), T172, X455)
U17_gga(T117, T118, times69_out_ggg(T120, T118, s(s(0)))) → times69_out_gga(s(T117), T118, s(s(s(s(0)))))
U35_ggg(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → U36_ggg(T117, T118, X411, plus154_in_aag(T150, s(s(s(s(s(s(s(T150))))))), X411))
plus154_in_aag(0, T158, s(T158)) → plus154_out_aag(0, T158, s(T158))
plus154_in_aag(s(T163), T164, s(X436)) → U41_aag(T163, T164, X436, plus154_in_aag(T163, T164, X436))
U41_aag(T163, T164, X436, plus154_out_aag(T163, T164, X436)) → plus154_out_aag(s(T163), T164, s(X436))
U36_ggg(T117, T118, X411, plus154_out_aag(T150, s(s(s(s(s(s(s(T150))))))), X411)) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(X411)))))))))
U32_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(s(0))))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
U29_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(0)))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
U26_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(0))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0)))))))))))
U23_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(0)))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(0)))))))))
U20_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(0))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(0)))))))
U17_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(0)))) → times69_out_ggg(s(T117), T118, s(s(s(s(0)))))
U14_ggg(T117, T118, times69_out_ggg(T120, T118, s(0))) → times69_out_ggg(s(T117), T118, s(s(0)))
U11_ggg(T117, T118, times69_out_ggg(T120, T118, 0)) → times69_out_ggg(s(T117), T118, 0)
U14_gga(T117, T118, times69_out_ggg(T120, T118, s(0))) → times69_out_gga(s(T117), T118, s(s(0)))
U8_ggg(T117, T118, X217, times69_out_gga(T120, T118, X216)) → times69_out_ggg(s(T117), T118, X217)
U11_gga(T117, T118, times69_out_ggg(T120, T118, 0)) → times69_out_gga(s(T117), T118, 0)
U8_gga(T117, T118, X217, times69_out_gga(T120, T118, X216)) → times69_out_gga(s(T117), T118, X217)
U51_gga(T77, T78, T80, times69_out_gga(T82, T78, X129)) → times1_out_gga(s(s(T77)), T78, T80)
times1_in_gga(s(s(T77)), T78, 0) → U52_gga(T77, T78, even36_in_gg(T77, true))
U52_gga(T77, T78, even36_out_gg(T77, true)) → U53_gga(T77, T78, half56_in_ga(T77, T82))
U53_gga(T77, T78, half56_out_ga(T77, T82)) → U54_gga(T77, T78, times69_in_ggg(T82, T78, 0))
U54_gga(T77, T78, times69_out_ggg(T82, T78, 0)) → times1_out_gga(s(s(T77)), T78, 0)
times1_in_gga(s(s(T77)), T78, s(s(0))) → U55_gga(T77, T78, even36_in_gg(T77, true))
U55_gga(T77, T78, even36_out_gg(T77, true)) → U56_gga(T77, T78, half56_in_ga(T77, T82))
U56_gga(T77, T78, half56_out_ga(T77, T82)) → U57_gga(T77, T78, times69_in_ggg(T82, T78, s(0)))
U57_gga(T77, T78, times69_out_ggg(T82, T78, s(0))) → times1_out_gga(s(s(T77)), T78, s(s(0)))
times1_in_gga(s(s(T77)), T78, s(s(s(s(0))))) → U58_gga(T77, T78, even36_in_gg(T77, true))
U58_gga(T77, T78, even36_out_gg(T77, true)) → U59_gga(T77, T78, half56_in_ga(T77, T82))
U59_gga(T77, T78, half56_out_ga(T77, T82)) → U60_gga(T77, T78, times69_in_ggg(T82, T78, s(s(0))))
U60_gga(T77, T78, times69_out_ggg(T82, T78, s(s(0)))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(0)))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(0))))))) → U61_gga(T77, T78, even36_in_gg(T77, true))
U61_gga(T77, T78, even36_out_gg(T77, true)) → U62_gga(T77, T78, half56_in_ga(T77, T82))
U62_gga(T77, T78, half56_out_ga(T77, T82)) → U63_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(0)))))
U63_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(0))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(0)))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(0))))))))) → U64_gga(T77, T78, even36_in_gg(T77, true))
U64_gga(T77, T78, even36_out_gg(T77, true)) → U65_gga(T77, T78, half56_in_ga(T77, T82))
U65_gga(T77, T78, half56_out_ga(T77, T82)) → U66_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(0))))))
U66_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(0)))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(0)))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U67_gga(T77, T78, even36_in_gg(T77, true))
U67_gga(T77, T78, even36_out_gg(T77, true)) → U68_gga(T77, T78, half56_in_ga(T77, T82))
U68_gga(T77, T78, half56_out_ga(T77, T82)) → U69_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(0)))))))
U69_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(0))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(0)))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U70_gga(T77, T78, even36_in_gg(T77, true))
U70_gga(T77, T78, even36_out_gg(T77, true)) → U71_gga(T77, T78, half56_in_ga(T77, T82))
U71_gga(T77, T78, half56_out_ga(T77, T82)) → U72_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(s(0))))))))
U72_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(s(0)))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U73_gga(T77, T78, even36_in_gg(T77, true))
U73_gga(T77, T78, even36_out_gg(T77, true)) → U74_gga(T77, T78, half56_in_ga(T77, T82))
U74_gga(T77, T78, half56_out_ga(T77, T82)) → U75_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(s(s(0)))))))))
U75_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(s(s(0))))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(T248))))))))) → U76_gga(T77, T78, T248, even36_in_gg(T77, true))
U76_gga(T77, T78, T248, even36_out_gg(T77, true)) → U77_gga(T77, T78, T248, half56_in_ga(T77, T82))
U77_gga(T77, T78, T248, half56_out_ga(T77, T82)) → U78_gga(T77, T78, T248, times69_in_gga(T82, T78, s(s(s(s(s(s(s(s(T246))))))))))
U78_gga(T77, T78, T248, times69_out_gga(T82, T78, s(s(s(s(s(s(s(s(T246)))))))))) → U79_gga(T77, T78, T248, plus19_in_aaa(T246, s(s(s(s(s(s(s(s(T246)))))))), T248))
plus19_in_aaa(0, T42, T42) → plus19_out_aaa(0, T42, T42)
plus19_in_aaa(s(T49), T50, s(T52)) → U1_aaa(T49, T50, T52, plus19_in_aaa(T49, T50, T52))
U1_aaa(T49, T50, T52, plus19_out_aaa(T49, T50, T52)) → plus19_out_aaa(s(T49), T50, s(T52))
U79_gga(T77, T78, T248, plus19_out_aaa(T246, s(s(s(s(s(s(s(s(T246)))))))), T248)) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(T248)))))))))
times1_in_gga(s(s(T258)), T259, T261) → U80_gga(T258, T259, T261, even36_in_gg(T258, false))
U80_gga(T258, T259, T261, even36_out_gg(T258, false)) → U81_gga(T258, T259, T261, times69_in_gga(s(T258), T259, X662))
U81_gga(T258, T259, T261, times69_out_gga(s(T258), T259, X662)) → times1_out_gga(s(s(T258)), T259, T261)
U80_gga(T258, T259, T261, even36_out_gg(T258, false)) → U82_gga(T258, T259, T261, times69_in_gga(s(T258), T259, T264))
U82_gga(T258, T259, T261, times69_out_gga(s(T258), T259, T264)) → U83_gga(T258, T259, T261, plus19_in_gaa(T259, T264, T261))
plus19_in_gaa(0, T42, T42) → plus19_out_gaa(0, T42, T42)
plus19_in_gaa(s(T49), T50, s(T52)) → U1_gaa(T49, T50, T52, plus19_in_gaa(T49, T50, T52))
U1_gaa(T49, T50, T52, plus19_out_gaa(T49, T50, T52)) → plus19_out_gaa(s(T49), T50, s(T52))
U83_gga(T258, T259, T261, plus19_out_gaa(T259, T264, T261)) → times1_out_gga(s(s(T258)), T259, T261)

The argument filtering Pi contains the following mapping:
times1_in_gga(x1, x2, x3)  =  times1_in_gga(x1, x2)
0  =  0
times1_out_gga(x1, x2, x3)  =  times1_out_gga(x1, x2)
s(x1)  =  s(x1)
U44_gga(x1, x2, x3)  =  U44_gga(x1, x3)
times18_in_ga(x1, x2)  =  times18_in_ga(x1)
times18_out_ga(x1, x2)  =  times18_out_ga(x1, x2)
U45_gga(x1, x2, x3)  =  U45_gga(x1, x3)
U46_gga(x1, x2, x3)  =  U46_gga(x1, x3)
plus19_in_gga(x1, x2, x3)  =  plus19_in_gga(x1, x2)
plus19_out_gga(x1, x2, x3)  =  plus19_out_gga(x1, x2, x3)
U1_gga(x1, x2, x3, x4)  =  U1_gga(x1, x2, x4)
U47_gga(x1, x2, x3, x4)  =  U47_gga(x1, x2, x4)
even36_in_ga(x1, x2)  =  even36_in_ga(x1)
even36_out_ga(x1, x2)  =  even36_out_ga(x1, x2)
U2_ga(x1, x2, x3)  =  U2_ga(x1, x3)
U48_gga(x1, x2, x3, x4)  =  U48_gga(x1, x2, x4)
even36_in_gg(x1, x2)  =  even36_in_gg(x1, x2)
true  =  true
even36_out_gg(x1, x2)  =  even36_out_gg(x1, x2)
false  =  false
U2_gg(x1, x2, x3)  =  U2_gg(x1, x2, x3)
U49_gga(x1, x2, x3, x4)  =  U49_gga(x1, x2, x4)
half56_in_ga(x1, x2)  =  half56_in_ga(x1)
U43_ga(x1, x2, x3)  =  U43_ga(x1, x3)
half60_in_ga(x1, x2)  =  half60_in_ga(x1)
half60_out_ga(x1, x2)  =  half60_out_ga(x1, x2)
U3_ga(x1, x2, x3)  =  U3_ga(x1, x3)
half56_out_ga(x1, x2)  =  half56_out_ga(x1, x2)
U50_gga(x1, x2, x3, x4)  =  U50_gga(x1, x2, x4)
U51_gga(x1, x2, x3, x4)  =  U51_gga(x1, x2, x4)
times69_in_gga(x1, x2, x3)  =  times69_in_gga(x1, x2)
times69_out_gga(x1, x2, x3)  =  times69_out_gga(x1, x2)
U4_gga(x1, x2, x3, x4)  =  U4_gga(x1, x2, x4)
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)
U8_gga(x1, x2, x3, x4)  =  U8_gga(x1, x2, x4)
U9_gga(x1, x2, x3)  =  U9_gga(x1, x2, x3)
U10_gga(x1, x2, x3)  =  U10_gga(x1, x2, x3)
U11_gga(x1, x2, x3)  =  U11_gga(x1, x2, x3)
times69_in_ggg(x1, x2, x3)  =  times69_in_ggg(x1, x2, x3)
times69_out_ggg(x1, x2, x3)  =  times69_out_ggg(x1, x2, x3)
U4_ggg(x1, x2, x3, x4)  =  U4_ggg(x1, x2, x3, x4)
U5_ggg(x1, x2, x3, x4)  =  U5_ggg(x1, x2, x3, x4)
U6_ggg(x1, x2, x3, x4)  =  U6_ggg(x1, x2, x3, x4)
U7_ggg(x1, x2, x3, x4)  =  U7_ggg(x1, x2, x3, x4)
U8_ggg(x1, x2, x3, x4)  =  U8_ggg(x1, x2, x3, x4)
U12_gga(x1, x2, x3)  =  U12_gga(x1, x2, x3)
U13_gga(x1, x2, x3)  =  U13_gga(x1, x2, x3)
U14_gga(x1, x2, x3)  =  U14_gga(x1, x2, x3)
U9_ggg(x1, x2, x3)  =  U9_ggg(x1, x2, x3)
U10_ggg(x1, x2, x3)  =  U10_ggg(x1, x2, x3)
U11_ggg(x1, x2, x3)  =  U11_ggg(x1, x2, x3)
U12_ggg(x1, x2, x3)  =  U12_ggg(x1, x2, x3)
U13_ggg(x1, x2, x3)  =  U13_ggg(x1, x2, x3)
U14_ggg(x1, x2, x3)  =  U14_ggg(x1, x2, x3)
U15_ggg(x1, x2, x3)  =  U15_ggg(x1, x2, x3)
U16_ggg(x1, x2, x3)  =  U16_ggg(x1, x2, x3)
U17_ggg(x1, x2, x3)  =  U17_ggg(x1, x2, x3)
U18_ggg(x1, x2, x3)  =  U18_ggg(x1, x2, x3)
U19_ggg(x1, x2, x3)  =  U19_ggg(x1, x2, x3)
U20_ggg(x1, x2, x3)  =  U20_ggg(x1, x2, x3)
U21_ggg(x1, x2, x3)  =  U21_ggg(x1, x2, x3)
U22_ggg(x1, x2, x3)  =  U22_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)  =  U26_ggg(x1, x2, x3)
U27_ggg(x1, x2, x3)  =  U27_ggg(x1, x2, x3)
U28_ggg(x1, x2, x3)  =  U28_ggg(x1, x2, x3)
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)  =  U32_ggg(x1, x2, x3)
U33_ggg(x1, x2, x3, x4)  =  U33_ggg(x1, x2, x3, x4)
U34_ggg(x1, x2, x3, x4)  =  U34_ggg(x1, x2, x3, x4)
U35_ggg(x1, x2, x3, x4)  =  U35_ggg(x1, x2, x3, x4)
U15_gga(x1, x2, x3)  =  U15_gga(x1, x2, x3)
U16_gga(x1, x2, x3)  =  U16_gga(x1, x2, x3)
U17_gga(x1, x2, x3)  =  U17_gga(x1, x2, x3)
U37_ggg(x1, x2, x3, x4)  =  U37_ggg(x1, x2, x3, x4)
U38_ggg(x1, x2, x3, x4)  =  U38_ggg(x1, x2, x3, x4)
U18_gga(x1, x2, x3)  =  U18_gga(x1, x2, x3)
U19_gga(x1, x2, x3)  =  U19_gga(x1, x2, x3)
U20_gga(x1, x2, x3)  =  U20_gga(x1, x2, x3)
U21_gga(x1, x2, x3)  =  U21_gga(x1, x2, x3)
U22_gga(x1, x2, x3)  =  U22_gga(x1, x2, x3)
U23_gga(x1, x2, x3)  =  U23_gga(x1, x2, x3)
U24_gga(x1, x2, x3)  =  U24_gga(x1, x2, x3)
U25_gga(x1, x2, x3)  =  U25_gga(x1, x2, x3)
U26_gga(x1, x2, x3)  =  U26_gga(x1, x2, x3)
U27_gga(x1, x2, x3)  =  U27_gga(x1, x2, x3)
U28_gga(x1, x2, x3)  =  U28_gga(x1, x2, x3)
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)  =  U32_gga(x1, x2, x3)
U33_gga(x1, x2, x3, x4)  =  U33_gga(x1, x2, x4)
U34_gga(x1, x2, x3, x4)  =  U34_gga(x1, x2, x4)
U35_gga(x1, x2, x3, x4)  =  U35_gga(x1, x2, x4)
U37_gga(x1, x2, x3, x4)  =  U37_gga(x1, x2, x4)
U38_gga(x1, x2, x3, x4)  =  U38_gga(x1, x2, x4)
U39_gga(x1, x2, x3, x4)  =  U39_gga(x1, x2, x4)
U40_gga(x1, x2, x3, x4)  =  U40_gga(x1, x2, x4)
plus166_in_gaa(x1, x2, x3)  =  plus166_in_gaa(x1)
plus166_out_gaa(x1, x2, x3)  =  plus166_out_gaa(x1)
U42_gaa(x1, x2, x3, x4)  =  U42_gaa(x1, x4)
U36_gga(x1, x2, x3, x4)  =  U36_gga(x1, x2, x4)
plus154_in_aaa(x1, x2, x3)  =  plus154_in_aaa
plus154_out_aaa(x1, x2, x3)  =  plus154_out_aaa(x1)
U41_aaa(x1, x2, x3, x4)  =  U41_aaa(x4)
U39_ggg(x1, x2, x3, x4)  =  U39_ggg(x1, x2, x3, x4)
U40_ggg(x1, x2, x3, x4)  =  U40_ggg(x1, x2, x3, x4)
plus166_in_gag(x1, x2, x3)  =  plus166_in_gag(x1, x3)
plus166_out_gag(x1, x2, x3)  =  plus166_out_gag(x1, x2, x3)
U42_gag(x1, x2, x3, x4)  =  U42_gag(x1, x3, x4)
U36_ggg(x1, x2, x3, x4)  =  U36_ggg(x1, x2, x3, x4)
plus154_in_aag(x1, x2, x3)  =  plus154_in_aag(x3)
plus154_out_aag(x1, x2, x3)  =  plus154_out_aag(x1, x2, x3)
U41_aag(x1, x2, x3, x4)  =  U41_aag(x3, x4)
U52_gga(x1, x2, x3)  =  U52_gga(x1, x2, x3)
U53_gga(x1, x2, x3)  =  U53_gga(x1, x2, x3)
U54_gga(x1, x2, x3)  =  U54_gga(x1, x2, x3)
U55_gga(x1, x2, x3)  =  U55_gga(x1, x2, x3)
U56_gga(x1, x2, x3)  =  U56_gga(x1, x2, x3)
U57_gga(x1, x2, x3)  =  U57_gga(x1, x2, x3)
U58_gga(x1, x2, x3)  =  U58_gga(x1, x2, x3)
U59_gga(x1, x2, x3)  =  U59_gga(x1, x2, x3)
U60_gga(x1, x2, x3)  =  U60_gga(x1, x2, x3)
U61_gga(x1, x2, x3)  =  U61_gga(x1, x2, x3)
U62_gga(x1, x2, x3)  =  U62_gga(x1, x2, x3)
U63_gga(x1, x2, x3)  =  U63_gga(x1, x2, x3)
U64_gga(x1, x2, x3)  =  U64_gga(x1, x2, x3)
U65_gga(x1, x2, x3)  =  U65_gga(x1, x2, x3)
U66_gga(x1, x2, x3)  =  U66_gga(x1, x2, x3)
U67_gga(x1, x2, x3)  =  U67_gga(x1, x2, x3)
U68_gga(x1, x2, x3)  =  U68_gga(x1, x2, x3)
U69_gga(x1, x2, x3)  =  U69_gga(x1, x2, x3)
U70_gga(x1, x2, x3)  =  U70_gga(x1, x2, x3)
U71_gga(x1, x2, x3)  =  U71_gga(x1, x2, x3)
U72_gga(x1, x2, x3)  =  U72_gga(x1, x2, x3)
U73_gga(x1, x2, x3)  =  U73_gga(x1, x2, x3)
U74_gga(x1, x2, x3)  =  U74_gga(x1, x2, x3)
U75_gga(x1, x2, x3)  =  U75_gga(x1, x2, x3)
U76_gga(x1, x2, x3, x4)  =  U76_gga(x1, x2, x4)
U77_gga(x1, x2, x3, x4)  =  U77_gga(x1, x2, x4)
U78_gga(x1, x2, x3, x4)  =  U78_gga(x1, x2, x4)
U79_gga(x1, x2, x3, x4)  =  U79_gga(x1, x2, x4)
plus19_in_aaa(x1, x2, x3)  =  plus19_in_aaa
plus19_out_aaa(x1, x2, x3)  =  plus19_out_aaa(x1)
U1_aaa(x1, x2, x3, x4)  =  U1_aaa(x4)
U80_gga(x1, x2, x3, x4)  =  U80_gga(x1, x2, x4)
U81_gga(x1, x2, x3, x4)  =  U81_gga(x1, x2, x4)
U82_gga(x1, x2, x3, x4)  =  U82_gga(x1, x2, x4)
U83_gga(x1, x2, x3, x4)  =  U83_gga(x1, x2, x4)
plus19_in_gaa(x1, x2, x3)  =  plus19_in_gaa(x1)
plus19_out_gaa(x1, x2, x3)  =  plus19_out_gaa(x1)
U1_gaa(x1, x2, x3, x4)  =  U1_gaa(x1, x4)
HALF60_IN_GA(x1, x2)  =  HALF60_IN_GA(x1)

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

(52) UsableRulesProof (EQUIVALENT transformation)

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

(53) Obligation:

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

HALF60_IN_GA(s(s(T89)), s(X156)) → HALF60_IN_GA(T89, X156)

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

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

(54) PiDPToQDPProof (SOUND transformation)

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

(55) Obligation:

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

HALF60_IN_GA(s(s(T89))) → HALF60_IN_GA(T89)

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

(56) QDPSizeChangeProof (EQUIVALENT transformation)

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

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

  • HALF60_IN_GA(s(s(T89))) → HALF60_IN_GA(T89)
    The graph contains the following edges 1 > 1

(57) YES

(58) Obligation:

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

EVEN36_IN_GG(s(s(T61)), X101) → EVEN36_IN_GG(T61, X101)

The TRS R consists of the following rules:

times1_in_gga(0, T5, 0) → times1_out_gga(0, T5, 0)
times1_in_gga(s(0), T23, T25) → U44_gga(T23, T25, times18_in_ga(T23, X45))
times18_in_ga(T35, 0) → times18_out_ga(T35, 0)
U44_gga(T23, T25, times18_out_ga(T23, X45)) → times1_out_gga(s(0), T23, T25)
times1_in_gga(s(0), T23, T25) → U45_gga(T23, T25, times18_in_ga(T23, T29))
U45_gga(T23, T25, times18_out_ga(T23, T29)) → U46_gga(T23, T25, plus19_in_gga(T23, T29, T25))
plus19_in_gga(0, T42, T42) → plus19_out_gga(0, T42, T42)
plus19_in_gga(s(T49), T50, s(T52)) → U1_gga(T49, T50, T52, plus19_in_gga(T49, T50, T52))
U1_gga(T49, T50, T52, plus19_out_gga(T49, T50, T52)) → plus19_out_gga(s(T49), T50, s(T52))
U46_gga(T23, T25, plus19_out_gga(T23, T29, T25)) → times1_out_gga(s(0), T23, T25)
times1_in_gga(s(s(T57)), T10, T12) → U47_gga(T57, T10, T12, even36_in_ga(T57, X90))
even36_in_ga(0, true) → even36_out_ga(0, true)
even36_in_ga(s(0), false) → even36_out_ga(s(0), false)
even36_in_ga(s(s(T61)), X101) → U2_ga(T61, X101, even36_in_ga(T61, X101))
U2_ga(T61, X101, even36_out_ga(T61, X101)) → even36_out_ga(s(s(T61)), X101)
U47_gga(T57, T10, T12, even36_out_ga(T57, X90)) → times1_out_gga(s(s(T57)), T10, T12)
times1_in_gga(s(s(T77)), T78, T80) → U48_gga(T77, T78, T80, even36_in_gg(T77, true))
even36_in_gg(0, true) → even36_out_gg(0, true)
even36_in_gg(s(0), false) → even36_out_gg(s(0), false)
even36_in_gg(s(s(T61)), X101) → U2_gg(T61, X101, even36_in_gg(T61, X101))
U2_gg(T61, X101, even36_out_gg(T61, X101)) → even36_out_gg(s(s(T61)), X101)
U48_gga(T77, T78, T80, even36_out_gg(T77, true)) → U49_gga(T77, T78, T80, half56_in_ga(T77, X128))
half56_in_ga(T86, s(X147)) → U43_ga(T86, X147, half60_in_ga(T86, X147))
half60_in_ga(0, 0) → half60_out_ga(0, 0)
half60_in_ga(s(s(T89)), s(X156)) → U3_ga(T89, X156, half60_in_ga(T89, X156))
U3_ga(T89, X156, half60_out_ga(T89, X156)) → half60_out_ga(s(s(T89)), s(X156))
U43_ga(T86, X147, half60_out_ga(T86, X147)) → half56_out_ga(T86, s(X147))
U49_gga(T77, T78, T80, half56_out_ga(T77, X128)) → times1_out_gga(s(s(T77)), T78, T80)
U48_gga(T77, T78, T80, even36_out_gg(T77, true)) → U50_gga(T77, T78, T80, half56_in_ga(T77, T82))
U50_gga(T77, T78, T80, half56_out_ga(T77, T82)) → U51_gga(T77, T78, T80, times69_in_gga(T82, T78, X129))
times69_in_gga(0, T99, 0) → times69_out_gga(0, T99, 0)
times69_in_gga(s(T104), T105, X182) → U4_gga(T104, T105, X182, even36_in_ga(s(T104), X181))
U4_gga(T104, T105, X182, even36_out_ga(s(T104), X181)) → times69_out_gga(s(T104), T105, X182)
times69_in_gga(s(T117), T118, X217) → U5_gga(T117, T118, X217, even36_in_gg(s(T117), true))
U5_gga(T117, T118, X217, even36_out_gg(s(T117), true)) → U6_gga(T117, T118, X217, half60_in_ga(s(T117), X215))
U6_gga(T117, T118, X217, half60_out_ga(s(T117), X215)) → times69_out_gga(s(T117), T118, X217)
U5_gga(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_gga(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_gga(T117, T118, X217, half60_out_ga(s(T117), T120)) → U8_gga(T117, T118, X217, times69_in_gga(T120, T118, X216))
times69_in_gga(s(T117), T118, 0) → U9_gga(T117, T118, even36_in_gg(s(T117), true))
U9_gga(T117, T118, even36_out_gg(s(T117), true)) → U10_gga(T117, T118, half60_in_ga(s(T117), T120))
U10_gga(T117, T118, half60_out_ga(s(T117), T120)) → U11_gga(T117, T118, times69_in_ggg(T120, T118, 0))
times69_in_ggg(0, T99, 0) → times69_out_ggg(0, T99, 0)
times69_in_ggg(s(T104), T105, X182) → U4_ggg(T104, T105, X182, even36_in_ga(s(T104), X181))
U4_ggg(T104, T105, X182, even36_out_ga(s(T104), X181)) → times69_out_ggg(s(T104), T105, X182)
times69_in_ggg(s(T117), T118, X217) → U5_ggg(T117, T118, X217, even36_in_gg(s(T117), true))
U5_ggg(T117, T118, X217, even36_out_gg(s(T117), true)) → U6_ggg(T117, T118, X217, half60_in_ga(s(T117), X215))
U6_ggg(T117, T118, X217, half60_out_ga(s(T117), X215)) → times69_out_ggg(s(T117), T118, X217)
U5_ggg(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_ggg(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_ggg(T117, T118, X217, half60_out_ga(s(T117), T120)) → U8_ggg(T117, T118, X217, times69_in_gga(T120, T118, X216))
times69_in_gga(s(T117), T118, s(s(0))) → U12_gga(T117, T118, even36_in_gg(s(T117), true))
U12_gga(T117, T118, even36_out_gg(s(T117), true)) → U13_gga(T117, T118, half60_in_ga(s(T117), T120))
U13_gga(T117, T118, half60_out_ga(s(T117), T120)) → U14_gga(T117, T118, times69_in_ggg(T120, T118, s(0)))
times69_in_ggg(s(T117), T118, 0) → U9_ggg(T117, T118, even36_in_gg(s(T117), true))
U9_ggg(T117, T118, even36_out_gg(s(T117), true)) → U10_ggg(T117, T118, half60_in_ga(s(T117), T120))
U10_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U11_ggg(T117, T118, times69_in_ggg(T120, T118, 0))
times69_in_ggg(s(T117), T118, s(s(0))) → U12_ggg(T117, T118, even36_in_gg(s(T117), true))
U12_ggg(T117, T118, even36_out_gg(s(T117), true)) → U13_ggg(T117, T118, half60_in_ga(s(T117), T120))
U13_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U14_ggg(T117, T118, times69_in_ggg(T120, T118, s(0)))
times69_in_ggg(s(T117), T118, s(s(s(s(0))))) → U15_ggg(T117, T118, even36_in_gg(s(T117), true))
U15_ggg(T117, T118, even36_out_gg(s(T117), true)) → U16_ggg(T117, T118, half60_in_ga(s(T117), T120))
U16_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U17_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(0))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_ggg(T117, T118, even36_in_gg(s(T117), true))
U18_ggg(T117, T118, even36_out_gg(s(T117), true)) → U19_ggg(T117, T118, half60_in_ga(s(T117), T120))
U19_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U20_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(0)))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → U21_ggg(T117, T118, even36_in_gg(s(T117), true))
U21_ggg(T117, T118, even36_out_gg(s(T117), true)) → U22_ggg(T117, T118, half60_in_ga(s(T117), T120))
U22_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U23_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(0))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U24_ggg(T117, T118, even36_in_gg(s(T117), true))
U24_ggg(T117, T118, even36_out_gg(s(T117), true)) → U25_ggg(T117, T118, half60_in_ga(s(T117), T120))
U25_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U26_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(0)))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U27_ggg(T117, T118, even36_in_gg(s(T117), true))
U27_ggg(T117, T118, even36_out_gg(s(T117), true)) → U28_ggg(T117, T118, half60_in_ga(s(T117), T120))
U28_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U29_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(0))))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U30_ggg(T117, T118, even36_in_gg(s(T117), true))
U30_ggg(T117, T118, even36_out_gg(s(T117), true)) → U31_ggg(T117, T118, half60_in_ga(s(T117), T120))
U31_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U32_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(s(0)))))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → U33_ggg(T117, T118, X411, even36_in_gg(s(T117), true))
U33_ggg(T117, T118, X411, even36_out_gg(s(T117), true)) → U34_ggg(T117, T118, X411, half60_in_ga(s(T117), T120))
U34_ggg(T117, T118, X411, half60_out_ga(s(T117), T120)) → U35_ggg(T117, T118, X411, times69_in_gga(T120, T118, s(s(s(s(s(s(s(s(T150))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(0))))) → U15_gga(T117, T118, even36_in_gg(s(T117), true))
U15_gga(T117, T118, even36_out_gg(s(T117), true)) → U16_gga(T117, T118, half60_in_ga(s(T117), T120))
U16_gga(T117, T118, half60_out_ga(s(T117), T120)) → U17_gga(T117, T118, times69_in_ggg(T120, T118, s(s(0))))
times69_in_ggg(s(T171), T172, X455) → U37_ggg(T171, T172, X455, even36_in_gg(s(T171), false))
U37_ggg(T171, T172, X455, even36_out_gg(s(T171), false)) → U38_ggg(T171, T172, X455, times69_in_gga(T171, T172, X454))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_gga(T117, T118, even36_in_gg(s(T117), true))
U18_gga(T117, T118, even36_out_gg(s(T117), true)) → U19_gga(T117, T118, half60_in_ga(s(T117), T120))
U19_gga(T117, T118, half60_out_ga(s(T117), T120)) → U20_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(0)))))
U20_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(0))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(0)))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → U21_gga(T117, T118, even36_in_gg(s(T117), true))
U21_gga(T117, T118, even36_out_gg(s(T117), true)) → U22_gga(T117, T118, half60_in_ga(s(T117), T120))
U22_gga(T117, T118, half60_out_ga(s(T117), T120)) → U23_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(0))))))
U23_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(0)))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(0)))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U24_gga(T117, T118, even36_in_gg(s(T117), true))
U24_gga(T117, T118, even36_out_gg(s(T117), true)) → U25_gga(T117, T118, half60_in_ga(s(T117), T120))
U25_gga(T117, T118, half60_out_ga(s(T117), T120)) → U26_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(0)))))))
U26_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(0))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0)))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U27_gga(T117, T118, even36_in_gg(s(T117), true))
U27_gga(T117, T118, even36_out_gg(s(T117), true)) → U28_gga(T117, T118, half60_in_ga(s(T117), T120))
U28_gga(T117, T118, half60_out_ga(s(T117), T120)) → U29_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(0))))))))
U29_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(0)))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U30_gga(T117, T118, even36_in_gg(s(T117), true))
U30_gga(T117, T118, even36_out_gg(s(T117), true)) → U31_gga(T117, T118, half60_in_ga(s(T117), T120))
U31_gga(T117, T118, half60_out_ga(s(T117), T120)) → U32_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(s(0)))))))))
U32_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(s(0))))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → U33_gga(T117, T118, X411, even36_in_gg(s(T117), true))
U33_gga(T117, T118, X411, even36_out_gg(s(T117), true)) → U34_gga(T117, T118, X411, half60_in_ga(s(T117), T120))
U34_gga(T117, T118, X411, half60_out_ga(s(T117), T120)) → U35_gga(T117, T118, X411, times69_in_gga(T120, T118, s(s(s(s(s(s(s(s(T150))))))))))
times69_in_gga(s(T171), T172, X455) → U37_gga(T171, T172, X455, even36_in_gg(s(T171), false))
U37_gga(T171, T172, X455, even36_out_gg(s(T171), false)) → U38_gga(T171, T172, X455, times69_in_gga(T171, T172, X454))
U38_gga(T171, T172, X455, times69_out_gga(T171, T172, X454)) → times69_out_gga(s(T171), T172, X455)
U37_gga(T171, T172, X455, even36_out_gg(s(T171), false)) → U39_gga(T171, T172, X455, times69_in_gga(T171, T172, T175))
U39_gga(T171, T172, X455, times69_out_gga(T171, T172, T175)) → U40_gga(T171, T172, X455, plus166_in_gaa(T172, T175, X455))
plus166_in_gaa(0, T184, T184) → plus166_out_gaa(0, T184, T184)
plus166_in_gaa(s(T189), T190, s(X482)) → U42_gaa(T189, T190, X482, plus166_in_gaa(T189, T190, X482))
U42_gaa(T189, T190, X482, plus166_out_gaa(T189, T190, X482)) → plus166_out_gaa(s(T189), T190, s(X482))
U40_gga(T171, T172, X455, plus166_out_gaa(T172, T175, X455)) → times69_out_gga(s(T171), T172, X455)
U35_gga(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → U36_gga(T117, T118, X411, plus154_in_aaa(T150, s(s(s(s(s(s(s(T150))))))), X411))
plus154_in_aaa(0, T158, s(T158)) → plus154_out_aaa(0, T158, s(T158))
plus154_in_aaa(s(T163), T164, s(X436)) → U41_aaa(T163, T164, X436, plus154_in_aaa(T163, T164, X436))
U41_aaa(T163, T164, X436, plus154_out_aaa(T163, T164, X436)) → plus154_out_aaa(s(T163), T164, s(X436))
U36_gga(T117, T118, X411, plus154_out_aaa(T150, s(s(s(s(s(s(s(T150))))))), X411)) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(X411)))))))))
U38_ggg(T171, T172, X455, times69_out_gga(T171, T172, X454)) → times69_out_ggg(s(T171), T172, X455)
U37_ggg(T171, T172, X455, even36_out_gg(s(T171), false)) → U39_ggg(T171, T172, X455, times69_in_gga(T171, T172, T175))
U39_ggg(T171, T172, X455, times69_out_gga(T171, T172, T175)) → U40_ggg(T171, T172, X455, plus166_in_gag(T172, T175, X455))
plus166_in_gag(0, T184, T184) → plus166_out_gag(0, T184, T184)
plus166_in_gag(s(T189), T190, s(X482)) → U42_gag(T189, T190, X482, plus166_in_gag(T189, T190, X482))
U42_gag(T189, T190, X482, plus166_out_gag(T189, T190, X482)) → plus166_out_gag(s(T189), T190, s(X482))
U40_ggg(T171, T172, X455, plus166_out_gag(T172, T175, X455)) → times69_out_ggg(s(T171), T172, X455)
U17_gga(T117, T118, times69_out_ggg(T120, T118, s(s(0)))) → times69_out_gga(s(T117), T118, s(s(s(s(0)))))
U35_ggg(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → U36_ggg(T117, T118, X411, plus154_in_aag(T150, s(s(s(s(s(s(s(T150))))))), X411))
plus154_in_aag(0, T158, s(T158)) → plus154_out_aag(0, T158, s(T158))
plus154_in_aag(s(T163), T164, s(X436)) → U41_aag(T163, T164, X436, plus154_in_aag(T163, T164, X436))
U41_aag(T163, T164, X436, plus154_out_aag(T163, T164, X436)) → plus154_out_aag(s(T163), T164, s(X436))
U36_ggg(T117, T118, X411, plus154_out_aag(T150, s(s(s(s(s(s(s(T150))))))), X411)) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(X411)))))))))
U32_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(s(0))))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
U29_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(0)))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
U26_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(0))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0)))))))))))
U23_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(0)))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(0)))))))))
U20_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(0))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(0)))))))
U17_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(0)))) → times69_out_ggg(s(T117), T118, s(s(s(s(0)))))
U14_ggg(T117, T118, times69_out_ggg(T120, T118, s(0))) → times69_out_ggg(s(T117), T118, s(s(0)))
U11_ggg(T117, T118, times69_out_ggg(T120, T118, 0)) → times69_out_ggg(s(T117), T118, 0)
U14_gga(T117, T118, times69_out_ggg(T120, T118, s(0))) → times69_out_gga(s(T117), T118, s(s(0)))
U8_ggg(T117, T118, X217, times69_out_gga(T120, T118, X216)) → times69_out_ggg(s(T117), T118, X217)
U11_gga(T117, T118, times69_out_ggg(T120, T118, 0)) → times69_out_gga(s(T117), T118, 0)
U8_gga(T117, T118, X217, times69_out_gga(T120, T118, X216)) → times69_out_gga(s(T117), T118, X217)
U51_gga(T77, T78, T80, times69_out_gga(T82, T78, X129)) → times1_out_gga(s(s(T77)), T78, T80)
times1_in_gga(s(s(T77)), T78, 0) → U52_gga(T77, T78, even36_in_gg(T77, true))
U52_gga(T77, T78, even36_out_gg(T77, true)) → U53_gga(T77, T78, half56_in_ga(T77, T82))
U53_gga(T77, T78, half56_out_ga(T77, T82)) → U54_gga(T77, T78, times69_in_ggg(T82, T78, 0))
U54_gga(T77, T78, times69_out_ggg(T82, T78, 0)) → times1_out_gga(s(s(T77)), T78, 0)
times1_in_gga(s(s(T77)), T78, s(s(0))) → U55_gga(T77, T78, even36_in_gg(T77, true))
U55_gga(T77, T78, even36_out_gg(T77, true)) → U56_gga(T77, T78, half56_in_ga(T77, T82))
U56_gga(T77, T78, half56_out_ga(T77, T82)) → U57_gga(T77, T78, times69_in_ggg(T82, T78, s(0)))
U57_gga(T77, T78, times69_out_ggg(T82, T78, s(0))) → times1_out_gga(s(s(T77)), T78, s(s(0)))
times1_in_gga(s(s(T77)), T78, s(s(s(s(0))))) → U58_gga(T77, T78, even36_in_gg(T77, true))
U58_gga(T77, T78, even36_out_gg(T77, true)) → U59_gga(T77, T78, half56_in_ga(T77, T82))
U59_gga(T77, T78, half56_out_ga(T77, T82)) → U60_gga(T77, T78, times69_in_ggg(T82, T78, s(s(0))))
U60_gga(T77, T78, times69_out_ggg(T82, T78, s(s(0)))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(0)))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(0))))))) → U61_gga(T77, T78, even36_in_gg(T77, true))
U61_gga(T77, T78, even36_out_gg(T77, true)) → U62_gga(T77, T78, half56_in_ga(T77, T82))
U62_gga(T77, T78, half56_out_ga(T77, T82)) → U63_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(0)))))
U63_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(0))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(0)))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(0))))))))) → U64_gga(T77, T78, even36_in_gg(T77, true))
U64_gga(T77, T78, even36_out_gg(T77, true)) → U65_gga(T77, T78, half56_in_ga(T77, T82))
U65_gga(T77, T78, half56_out_ga(T77, T82)) → U66_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(0))))))
U66_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(0)))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(0)))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U67_gga(T77, T78, even36_in_gg(T77, true))
U67_gga(T77, T78, even36_out_gg(T77, true)) → U68_gga(T77, T78, half56_in_ga(T77, T82))
U68_gga(T77, T78, half56_out_ga(T77, T82)) → U69_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(0)))))))
U69_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(0))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(0)))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U70_gga(T77, T78, even36_in_gg(T77, true))
U70_gga(T77, T78, even36_out_gg(T77, true)) → U71_gga(T77, T78, half56_in_ga(T77, T82))
U71_gga(T77, T78, half56_out_ga(T77, T82)) → U72_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(s(0))))))))
U72_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(s(0)))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U73_gga(T77, T78, even36_in_gg(T77, true))
U73_gga(T77, T78, even36_out_gg(T77, true)) → U74_gga(T77, T78, half56_in_ga(T77, T82))
U74_gga(T77, T78, half56_out_ga(T77, T82)) → U75_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(s(s(0)))))))))
U75_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(s(s(0))))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(T248))))))))) → U76_gga(T77, T78, T248, even36_in_gg(T77, true))
U76_gga(T77, T78, T248, even36_out_gg(T77, true)) → U77_gga(T77, T78, T248, half56_in_ga(T77, T82))
U77_gga(T77, T78, T248, half56_out_ga(T77, T82)) → U78_gga(T77, T78, T248, times69_in_gga(T82, T78, s(s(s(s(s(s(s(s(T246))))))))))
U78_gga(T77, T78, T248, times69_out_gga(T82, T78, s(s(s(s(s(s(s(s(T246)))))))))) → U79_gga(T77, T78, T248, plus19_in_aaa(T246, s(s(s(s(s(s(s(s(T246)))))))), T248))
plus19_in_aaa(0, T42, T42) → plus19_out_aaa(0, T42, T42)
plus19_in_aaa(s(T49), T50, s(T52)) → U1_aaa(T49, T50, T52, plus19_in_aaa(T49, T50, T52))
U1_aaa(T49, T50, T52, plus19_out_aaa(T49, T50, T52)) → plus19_out_aaa(s(T49), T50, s(T52))
U79_gga(T77, T78, T248, plus19_out_aaa(T246, s(s(s(s(s(s(s(s(T246)))))))), T248)) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(T248)))))))))
times1_in_gga(s(s(T258)), T259, T261) → U80_gga(T258, T259, T261, even36_in_gg(T258, false))
U80_gga(T258, T259, T261, even36_out_gg(T258, false)) → U81_gga(T258, T259, T261, times69_in_gga(s(T258), T259, X662))
U81_gga(T258, T259, T261, times69_out_gga(s(T258), T259, X662)) → times1_out_gga(s(s(T258)), T259, T261)
U80_gga(T258, T259, T261, even36_out_gg(T258, false)) → U82_gga(T258, T259, T261, times69_in_gga(s(T258), T259, T264))
U82_gga(T258, T259, T261, times69_out_gga(s(T258), T259, T264)) → U83_gga(T258, T259, T261, plus19_in_gaa(T259, T264, T261))
plus19_in_gaa(0, T42, T42) → plus19_out_gaa(0, T42, T42)
plus19_in_gaa(s(T49), T50, s(T52)) → U1_gaa(T49, T50, T52, plus19_in_gaa(T49, T50, T52))
U1_gaa(T49, T50, T52, plus19_out_gaa(T49, T50, T52)) → plus19_out_gaa(s(T49), T50, s(T52))
U83_gga(T258, T259, T261, plus19_out_gaa(T259, T264, T261)) → times1_out_gga(s(s(T258)), T259, T261)

The argument filtering Pi contains the following mapping:
times1_in_gga(x1, x2, x3)  =  times1_in_gga(x1, x2)
0  =  0
times1_out_gga(x1, x2, x3)  =  times1_out_gga(x1, x2)
s(x1)  =  s(x1)
U44_gga(x1, x2, x3)  =  U44_gga(x1, x3)
times18_in_ga(x1, x2)  =  times18_in_ga(x1)
times18_out_ga(x1, x2)  =  times18_out_ga(x1, x2)
U45_gga(x1, x2, x3)  =  U45_gga(x1, x3)
U46_gga(x1, x2, x3)  =  U46_gga(x1, x3)
plus19_in_gga(x1, x2, x3)  =  plus19_in_gga(x1, x2)
plus19_out_gga(x1, x2, x3)  =  plus19_out_gga(x1, x2, x3)
U1_gga(x1, x2, x3, x4)  =  U1_gga(x1, x2, x4)
U47_gga(x1, x2, x3, x4)  =  U47_gga(x1, x2, x4)
even36_in_ga(x1, x2)  =  even36_in_ga(x1)
even36_out_ga(x1, x2)  =  even36_out_ga(x1, x2)
U2_ga(x1, x2, x3)  =  U2_ga(x1, x3)
U48_gga(x1, x2, x3, x4)  =  U48_gga(x1, x2, x4)
even36_in_gg(x1, x2)  =  even36_in_gg(x1, x2)
true  =  true
even36_out_gg(x1, x2)  =  even36_out_gg(x1, x2)
false  =  false
U2_gg(x1, x2, x3)  =  U2_gg(x1, x2, x3)
U49_gga(x1, x2, x3, x4)  =  U49_gga(x1, x2, x4)
half56_in_ga(x1, x2)  =  half56_in_ga(x1)
U43_ga(x1, x2, x3)  =  U43_ga(x1, x3)
half60_in_ga(x1, x2)  =  half60_in_ga(x1)
half60_out_ga(x1, x2)  =  half60_out_ga(x1, x2)
U3_ga(x1, x2, x3)  =  U3_ga(x1, x3)
half56_out_ga(x1, x2)  =  half56_out_ga(x1, x2)
U50_gga(x1, x2, x3, x4)  =  U50_gga(x1, x2, x4)
U51_gga(x1, x2, x3, x4)  =  U51_gga(x1, x2, x4)
times69_in_gga(x1, x2, x3)  =  times69_in_gga(x1, x2)
times69_out_gga(x1, x2, x3)  =  times69_out_gga(x1, x2)
U4_gga(x1, x2, x3, x4)  =  U4_gga(x1, x2, x4)
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)
U8_gga(x1, x2, x3, x4)  =  U8_gga(x1, x2, x4)
U9_gga(x1, x2, x3)  =  U9_gga(x1, x2, x3)
U10_gga(x1, x2, x3)  =  U10_gga(x1, x2, x3)
U11_gga(x1, x2, x3)  =  U11_gga(x1, x2, x3)
times69_in_ggg(x1, x2, x3)  =  times69_in_ggg(x1, x2, x3)
times69_out_ggg(x1, x2, x3)  =  times69_out_ggg(x1, x2, x3)
U4_ggg(x1, x2, x3, x4)  =  U4_ggg(x1, x2, x3, x4)
U5_ggg(x1, x2, x3, x4)  =  U5_ggg(x1, x2, x3, x4)
U6_ggg(x1, x2, x3, x4)  =  U6_ggg(x1, x2, x3, x4)
U7_ggg(x1, x2, x3, x4)  =  U7_ggg(x1, x2, x3, x4)
U8_ggg(x1, x2, x3, x4)  =  U8_ggg(x1, x2, x3, x4)
U12_gga(x1, x2, x3)  =  U12_gga(x1, x2, x3)
U13_gga(x1, x2, x3)  =  U13_gga(x1, x2, x3)
U14_gga(x1, x2, x3)  =  U14_gga(x1, x2, x3)
U9_ggg(x1, x2, x3)  =  U9_ggg(x1, x2, x3)
U10_ggg(x1, x2, x3)  =  U10_ggg(x1, x2, x3)
U11_ggg(x1, x2, x3)  =  U11_ggg(x1, x2, x3)
U12_ggg(x1, x2, x3)  =  U12_ggg(x1, x2, x3)
U13_ggg(x1, x2, x3)  =  U13_ggg(x1, x2, x3)
U14_ggg(x1, x2, x3)  =  U14_ggg(x1, x2, x3)
U15_ggg(x1, x2, x3)  =  U15_ggg(x1, x2, x3)
U16_ggg(x1, x2, x3)  =  U16_ggg(x1, x2, x3)
U17_ggg(x1, x2, x3)  =  U17_ggg(x1, x2, x3)
U18_ggg(x1, x2, x3)  =  U18_ggg(x1, x2, x3)
U19_ggg(x1, x2, x3)  =  U19_ggg(x1, x2, x3)
U20_ggg(x1, x2, x3)  =  U20_ggg(x1, x2, x3)
U21_ggg(x1, x2, x3)  =  U21_ggg(x1, x2, x3)
U22_ggg(x1, x2, x3)  =  U22_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)  =  U26_ggg(x1, x2, x3)
U27_ggg(x1, x2, x3)  =  U27_ggg(x1, x2, x3)
U28_ggg(x1, x2, x3)  =  U28_ggg(x1, x2, x3)
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)  =  U32_ggg(x1, x2, x3)
U33_ggg(x1, x2, x3, x4)  =  U33_ggg(x1, x2, x3, x4)
U34_ggg(x1, x2, x3, x4)  =  U34_ggg(x1, x2, x3, x4)
U35_ggg(x1, x2, x3, x4)  =  U35_ggg(x1, x2, x3, x4)
U15_gga(x1, x2, x3)  =  U15_gga(x1, x2, x3)
U16_gga(x1, x2, x3)  =  U16_gga(x1, x2, x3)
U17_gga(x1, x2, x3)  =  U17_gga(x1, x2, x3)
U37_ggg(x1, x2, x3, x4)  =  U37_ggg(x1, x2, x3, x4)
U38_ggg(x1, x2, x3, x4)  =  U38_ggg(x1, x2, x3, x4)
U18_gga(x1, x2, x3)  =  U18_gga(x1, x2, x3)
U19_gga(x1, x2, x3)  =  U19_gga(x1, x2, x3)
U20_gga(x1, x2, x3)  =  U20_gga(x1, x2, x3)
U21_gga(x1, x2, x3)  =  U21_gga(x1, x2, x3)
U22_gga(x1, x2, x3)  =  U22_gga(x1, x2, x3)
U23_gga(x1, x2, x3)  =  U23_gga(x1, x2, x3)
U24_gga(x1, x2, x3)  =  U24_gga(x1, x2, x3)
U25_gga(x1, x2, x3)  =  U25_gga(x1, x2, x3)
U26_gga(x1, x2, x3)  =  U26_gga(x1, x2, x3)
U27_gga(x1, x2, x3)  =  U27_gga(x1, x2, x3)
U28_gga(x1, x2, x3)  =  U28_gga(x1, x2, x3)
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)  =  U32_gga(x1, x2, x3)
U33_gga(x1, x2, x3, x4)  =  U33_gga(x1, x2, x4)
U34_gga(x1, x2, x3, x4)  =  U34_gga(x1, x2, x4)
U35_gga(x1, x2, x3, x4)  =  U35_gga(x1, x2, x4)
U37_gga(x1, x2, x3, x4)  =  U37_gga(x1, x2, x4)
U38_gga(x1, x2, x3, x4)  =  U38_gga(x1, x2, x4)
U39_gga(x1, x2, x3, x4)  =  U39_gga(x1, x2, x4)
U40_gga(x1, x2, x3, x4)  =  U40_gga(x1, x2, x4)
plus166_in_gaa(x1, x2, x3)  =  plus166_in_gaa(x1)
plus166_out_gaa(x1, x2, x3)  =  plus166_out_gaa(x1)
U42_gaa(x1, x2, x3, x4)  =  U42_gaa(x1, x4)
U36_gga(x1, x2, x3, x4)  =  U36_gga(x1, x2, x4)
plus154_in_aaa(x1, x2, x3)  =  plus154_in_aaa
plus154_out_aaa(x1, x2, x3)  =  plus154_out_aaa(x1)
U41_aaa(x1, x2, x3, x4)  =  U41_aaa(x4)
U39_ggg(x1, x2, x3, x4)  =  U39_ggg(x1, x2, x3, x4)
U40_ggg(x1, x2, x3, x4)  =  U40_ggg(x1, x2, x3, x4)
plus166_in_gag(x1, x2, x3)  =  plus166_in_gag(x1, x3)
plus166_out_gag(x1, x2, x3)  =  plus166_out_gag(x1, x2, x3)
U42_gag(x1, x2, x3, x4)  =  U42_gag(x1, x3, x4)
U36_ggg(x1, x2, x3, x4)  =  U36_ggg(x1, x2, x3, x4)
plus154_in_aag(x1, x2, x3)  =  plus154_in_aag(x3)
plus154_out_aag(x1, x2, x3)  =  plus154_out_aag(x1, x2, x3)
U41_aag(x1, x2, x3, x4)  =  U41_aag(x3, x4)
U52_gga(x1, x2, x3)  =  U52_gga(x1, x2, x3)
U53_gga(x1, x2, x3)  =  U53_gga(x1, x2, x3)
U54_gga(x1, x2, x3)  =  U54_gga(x1, x2, x3)
U55_gga(x1, x2, x3)  =  U55_gga(x1, x2, x3)
U56_gga(x1, x2, x3)  =  U56_gga(x1, x2, x3)
U57_gga(x1, x2, x3)  =  U57_gga(x1, x2, x3)
U58_gga(x1, x2, x3)  =  U58_gga(x1, x2, x3)
U59_gga(x1, x2, x3)  =  U59_gga(x1, x2, x3)
U60_gga(x1, x2, x3)  =  U60_gga(x1, x2, x3)
U61_gga(x1, x2, x3)  =  U61_gga(x1, x2, x3)
U62_gga(x1, x2, x3)  =  U62_gga(x1, x2, x3)
U63_gga(x1, x2, x3)  =  U63_gga(x1, x2, x3)
U64_gga(x1, x2, x3)  =  U64_gga(x1, x2, x3)
U65_gga(x1, x2, x3)  =  U65_gga(x1, x2, x3)
U66_gga(x1, x2, x3)  =  U66_gga(x1, x2, x3)
U67_gga(x1, x2, x3)  =  U67_gga(x1, x2, x3)
U68_gga(x1, x2, x3)  =  U68_gga(x1, x2, x3)
U69_gga(x1, x2, x3)  =  U69_gga(x1, x2, x3)
U70_gga(x1, x2, x3)  =  U70_gga(x1, x2, x3)
U71_gga(x1, x2, x3)  =  U71_gga(x1, x2, x3)
U72_gga(x1, x2, x3)  =  U72_gga(x1, x2, x3)
U73_gga(x1, x2, x3)  =  U73_gga(x1, x2, x3)
U74_gga(x1, x2, x3)  =  U74_gga(x1, x2, x3)
U75_gga(x1, x2, x3)  =  U75_gga(x1, x2, x3)
U76_gga(x1, x2, x3, x4)  =  U76_gga(x1, x2, x4)
U77_gga(x1, x2, x3, x4)  =  U77_gga(x1, x2, x4)
U78_gga(x1, x2, x3, x4)  =  U78_gga(x1, x2, x4)
U79_gga(x1, x2, x3, x4)  =  U79_gga(x1, x2, x4)
plus19_in_aaa(x1, x2, x3)  =  plus19_in_aaa
plus19_out_aaa(x1, x2, x3)  =  plus19_out_aaa(x1)
U1_aaa(x1, x2, x3, x4)  =  U1_aaa(x4)
U80_gga(x1, x2, x3, x4)  =  U80_gga(x1, x2, x4)
U81_gga(x1, x2, x3, x4)  =  U81_gga(x1, x2, x4)
U82_gga(x1, x2, x3, x4)  =  U82_gga(x1, x2, x4)
U83_gga(x1, x2, x3, x4)  =  U83_gga(x1, x2, x4)
plus19_in_gaa(x1, x2, x3)  =  plus19_in_gaa(x1)
plus19_out_gaa(x1, x2, x3)  =  plus19_out_gaa(x1)
U1_gaa(x1, x2, x3, x4)  =  U1_gaa(x1, x4)
EVEN36_IN_GG(x1, x2)  =  EVEN36_IN_GG(x1, x2)

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

(59) UsableRulesProof (EQUIVALENT transformation)

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

(60) Obligation:

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

EVEN36_IN_GG(s(s(T61)), X101) → EVEN36_IN_GG(T61, X101)

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

(61) PiDPToQDPProof (EQUIVALENT transformation)

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

(62) Obligation:

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

EVEN36_IN_GG(s(s(T61)), X101) → EVEN36_IN_GG(T61, X101)

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

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

  • EVEN36_IN_GG(s(s(T61)), X101) → EVEN36_IN_GG(T61, X101)
    The graph contains the following edges 1 > 1, 2 >= 2

(64) YES

(65) Obligation:

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

EVEN36_IN_GA(s(s(T61)), X101) → EVEN36_IN_GA(T61, X101)

The TRS R consists of the following rules:

times1_in_gga(0, T5, 0) → times1_out_gga(0, T5, 0)
times1_in_gga(s(0), T23, T25) → U44_gga(T23, T25, times18_in_ga(T23, X45))
times18_in_ga(T35, 0) → times18_out_ga(T35, 0)
U44_gga(T23, T25, times18_out_ga(T23, X45)) → times1_out_gga(s(0), T23, T25)
times1_in_gga(s(0), T23, T25) → U45_gga(T23, T25, times18_in_ga(T23, T29))
U45_gga(T23, T25, times18_out_ga(T23, T29)) → U46_gga(T23, T25, plus19_in_gga(T23, T29, T25))
plus19_in_gga(0, T42, T42) → plus19_out_gga(0, T42, T42)
plus19_in_gga(s(T49), T50, s(T52)) → U1_gga(T49, T50, T52, plus19_in_gga(T49, T50, T52))
U1_gga(T49, T50, T52, plus19_out_gga(T49, T50, T52)) → plus19_out_gga(s(T49), T50, s(T52))
U46_gga(T23, T25, plus19_out_gga(T23, T29, T25)) → times1_out_gga(s(0), T23, T25)
times1_in_gga(s(s(T57)), T10, T12) → U47_gga(T57, T10, T12, even36_in_ga(T57, X90))
even36_in_ga(0, true) → even36_out_ga(0, true)
even36_in_ga(s(0), false) → even36_out_ga(s(0), false)
even36_in_ga(s(s(T61)), X101) → U2_ga(T61, X101, even36_in_ga(T61, X101))
U2_ga(T61, X101, even36_out_ga(T61, X101)) → even36_out_ga(s(s(T61)), X101)
U47_gga(T57, T10, T12, even36_out_ga(T57, X90)) → times1_out_gga(s(s(T57)), T10, T12)
times1_in_gga(s(s(T77)), T78, T80) → U48_gga(T77, T78, T80, even36_in_gg(T77, true))
even36_in_gg(0, true) → even36_out_gg(0, true)
even36_in_gg(s(0), false) → even36_out_gg(s(0), false)
even36_in_gg(s(s(T61)), X101) → U2_gg(T61, X101, even36_in_gg(T61, X101))
U2_gg(T61, X101, even36_out_gg(T61, X101)) → even36_out_gg(s(s(T61)), X101)
U48_gga(T77, T78, T80, even36_out_gg(T77, true)) → U49_gga(T77, T78, T80, half56_in_ga(T77, X128))
half56_in_ga(T86, s(X147)) → U43_ga(T86, X147, half60_in_ga(T86, X147))
half60_in_ga(0, 0) → half60_out_ga(0, 0)
half60_in_ga(s(s(T89)), s(X156)) → U3_ga(T89, X156, half60_in_ga(T89, X156))
U3_ga(T89, X156, half60_out_ga(T89, X156)) → half60_out_ga(s(s(T89)), s(X156))
U43_ga(T86, X147, half60_out_ga(T86, X147)) → half56_out_ga(T86, s(X147))
U49_gga(T77, T78, T80, half56_out_ga(T77, X128)) → times1_out_gga(s(s(T77)), T78, T80)
U48_gga(T77, T78, T80, even36_out_gg(T77, true)) → U50_gga(T77, T78, T80, half56_in_ga(T77, T82))
U50_gga(T77, T78, T80, half56_out_ga(T77, T82)) → U51_gga(T77, T78, T80, times69_in_gga(T82, T78, X129))
times69_in_gga(0, T99, 0) → times69_out_gga(0, T99, 0)
times69_in_gga(s(T104), T105, X182) → U4_gga(T104, T105, X182, even36_in_ga(s(T104), X181))
U4_gga(T104, T105, X182, even36_out_ga(s(T104), X181)) → times69_out_gga(s(T104), T105, X182)
times69_in_gga(s(T117), T118, X217) → U5_gga(T117, T118, X217, even36_in_gg(s(T117), true))
U5_gga(T117, T118, X217, even36_out_gg(s(T117), true)) → U6_gga(T117, T118, X217, half60_in_ga(s(T117), X215))
U6_gga(T117, T118, X217, half60_out_ga(s(T117), X215)) → times69_out_gga(s(T117), T118, X217)
U5_gga(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_gga(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_gga(T117, T118, X217, half60_out_ga(s(T117), T120)) → U8_gga(T117, T118, X217, times69_in_gga(T120, T118, X216))
times69_in_gga(s(T117), T118, 0) → U9_gga(T117, T118, even36_in_gg(s(T117), true))
U9_gga(T117, T118, even36_out_gg(s(T117), true)) → U10_gga(T117, T118, half60_in_ga(s(T117), T120))
U10_gga(T117, T118, half60_out_ga(s(T117), T120)) → U11_gga(T117, T118, times69_in_ggg(T120, T118, 0))
times69_in_ggg(0, T99, 0) → times69_out_ggg(0, T99, 0)
times69_in_ggg(s(T104), T105, X182) → U4_ggg(T104, T105, X182, even36_in_ga(s(T104), X181))
U4_ggg(T104, T105, X182, even36_out_ga(s(T104), X181)) → times69_out_ggg(s(T104), T105, X182)
times69_in_ggg(s(T117), T118, X217) → U5_ggg(T117, T118, X217, even36_in_gg(s(T117), true))
U5_ggg(T117, T118, X217, even36_out_gg(s(T117), true)) → U6_ggg(T117, T118, X217, half60_in_ga(s(T117), X215))
U6_ggg(T117, T118, X217, half60_out_ga(s(T117), X215)) → times69_out_ggg(s(T117), T118, X217)
U5_ggg(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_ggg(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_ggg(T117, T118, X217, half60_out_ga(s(T117), T120)) → U8_ggg(T117, T118, X217, times69_in_gga(T120, T118, X216))
times69_in_gga(s(T117), T118, s(s(0))) → U12_gga(T117, T118, even36_in_gg(s(T117), true))
U12_gga(T117, T118, even36_out_gg(s(T117), true)) → U13_gga(T117, T118, half60_in_ga(s(T117), T120))
U13_gga(T117, T118, half60_out_ga(s(T117), T120)) → U14_gga(T117, T118, times69_in_ggg(T120, T118, s(0)))
times69_in_ggg(s(T117), T118, 0) → U9_ggg(T117, T118, even36_in_gg(s(T117), true))
U9_ggg(T117, T118, even36_out_gg(s(T117), true)) → U10_ggg(T117, T118, half60_in_ga(s(T117), T120))
U10_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U11_ggg(T117, T118, times69_in_ggg(T120, T118, 0))
times69_in_ggg(s(T117), T118, s(s(0))) → U12_ggg(T117, T118, even36_in_gg(s(T117), true))
U12_ggg(T117, T118, even36_out_gg(s(T117), true)) → U13_ggg(T117, T118, half60_in_ga(s(T117), T120))
U13_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U14_ggg(T117, T118, times69_in_ggg(T120, T118, s(0)))
times69_in_ggg(s(T117), T118, s(s(s(s(0))))) → U15_ggg(T117, T118, even36_in_gg(s(T117), true))
U15_ggg(T117, T118, even36_out_gg(s(T117), true)) → U16_ggg(T117, T118, half60_in_ga(s(T117), T120))
U16_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U17_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(0))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_ggg(T117, T118, even36_in_gg(s(T117), true))
U18_ggg(T117, T118, even36_out_gg(s(T117), true)) → U19_ggg(T117, T118, half60_in_ga(s(T117), T120))
U19_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U20_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(0)))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → U21_ggg(T117, T118, even36_in_gg(s(T117), true))
U21_ggg(T117, T118, even36_out_gg(s(T117), true)) → U22_ggg(T117, T118, half60_in_ga(s(T117), T120))
U22_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U23_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(0))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U24_ggg(T117, T118, even36_in_gg(s(T117), true))
U24_ggg(T117, T118, even36_out_gg(s(T117), true)) → U25_ggg(T117, T118, half60_in_ga(s(T117), T120))
U25_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U26_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(0)))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U27_ggg(T117, T118, even36_in_gg(s(T117), true))
U27_ggg(T117, T118, even36_out_gg(s(T117), true)) → U28_ggg(T117, T118, half60_in_ga(s(T117), T120))
U28_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U29_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(0))))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U30_ggg(T117, T118, even36_in_gg(s(T117), true))
U30_ggg(T117, T118, even36_out_gg(s(T117), true)) → U31_ggg(T117, T118, half60_in_ga(s(T117), T120))
U31_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U32_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(s(0)))))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → U33_ggg(T117, T118, X411, even36_in_gg(s(T117), true))
U33_ggg(T117, T118, X411, even36_out_gg(s(T117), true)) → U34_ggg(T117, T118, X411, half60_in_ga(s(T117), T120))
U34_ggg(T117, T118, X411, half60_out_ga(s(T117), T120)) → U35_ggg(T117, T118, X411, times69_in_gga(T120, T118, s(s(s(s(s(s(s(s(T150))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(0))))) → U15_gga(T117, T118, even36_in_gg(s(T117), true))
U15_gga(T117, T118, even36_out_gg(s(T117), true)) → U16_gga(T117, T118, half60_in_ga(s(T117), T120))
U16_gga(T117, T118, half60_out_ga(s(T117), T120)) → U17_gga(T117, T118, times69_in_ggg(T120, T118, s(s(0))))
times69_in_ggg(s(T171), T172, X455) → U37_ggg(T171, T172, X455, even36_in_gg(s(T171), false))
U37_ggg(T171, T172, X455, even36_out_gg(s(T171), false)) → U38_ggg(T171, T172, X455, times69_in_gga(T171, T172, X454))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_gga(T117, T118, even36_in_gg(s(T117), true))
U18_gga(T117, T118, even36_out_gg(s(T117), true)) → U19_gga(T117, T118, half60_in_ga(s(T117), T120))
U19_gga(T117, T118, half60_out_ga(s(T117), T120)) → U20_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(0)))))
U20_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(0))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(0)))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → U21_gga(T117, T118, even36_in_gg(s(T117), true))
U21_gga(T117, T118, even36_out_gg(s(T117), true)) → U22_gga(T117, T118, half60_in_ga(s(T117), T120))
U22_gga(T117, T118, half60_out_ga(s(T117), T120)) → U23_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(0))))))
U23_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(0)))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(0)))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U24_gga(T117, T118, even36_in_gg(s(T117), true))
U24_gga(T117, T118, even36_out_gg(s(T117), true)) → U25_gga(T117, T118, half60_in_ga(s(T117), T120))
U25_gga(T117, T118, half60_out_ga(s(T117), T120)) → U26_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(0)))))))
U26_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(0))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0)))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U27_gga(T117, T118, even36_in_gg(s(T117), true))
U27_gga(T117, T118, even36_out_gg(s(T117), true)) → U28_gga(T117, T118, half60_in_ga(s(T117), T120))
U28_gga(T117, T118, half60_out_ga(s(T117), T120)) → U29_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(0))))))))
U29_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(0)))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U30_gga(T117, T118, even36_in_gg(s(T117), true))
U30_gga(T117, T118, even36_out_gg(s(T117), true)) → U31_gga(T117, T118, half60_in_ga(s(T117), T120))
U31_gga(T117, T118, half60_out_ga(s(T117), T120)) → U32_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(s(0)))))))))
U32_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(s(0))))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → U33_gga(T117, T118, X411, even36_in_gg(s(T117), true))
U33_gga(T117, T118, X411, even36_out_gg(s(T117), true)) → U34_gga(T117, T118, X411, half60_in_ga(s(T117), T120))
U34_gga(T117, T118, X411, half60_out_ga(s(T117), T120)) → U35_gga(T117, T118, X411, times69_in_gga(T120, T118, s(s(s(s(s(s(s(s(T150))))))))))
times69_in_gga(s(T171), T172, X455) → U37_gga(T171, T172, X455, even36_in_gg(s(T171), false))
U37_gga(T171, T172, X455, even36_out_gg(s(T171), false)) → U38_gga(T171, T172, X455, times69_in_gga(T171, T172, X454))
U38_gga(T171, T172, X455, times69_out_gga(T171, T172, X454)) → times69_out_gga(s(T171), T172, X455)
U37_gga(T171, T172, X455, even36_out_gg(s(T171), false)) → U39_gga(T171, T172, X455, times69_in_gga(T171, T172, T175))
U39_gga(T171, T172, X455, times69_out_gga(T171, T172, T175)) → U40_gga(T171, T172, X455, plus166_in_gaa(T172, T175, X455))
plus166_in_gaa(0, T184, T184) → plus166_out_gaa(0, T184, T184)
plus166_in_gaa(s(T189), T190, s(X482)) → U42_gaa(T189, T190, X482, plus166_in_gaa(T189, T190, X482))
U42_gaa(T189, T190, X482, plus166_out_gaa(T189, T190, X482)) → plus166_out_gaa(s(T189), T190, s(X482))
U40_gga(T171, T172, X455, plus166_out_gaa(T172, T175, X455)) → times69_out_gga(s(T171), T172, X455)
U35_gga(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → U36_gga(T117, T118, X411, plus154_in_aaa(T150, s(s(s(s(s(s(s(T150))))))), X411))
plus154_in_aaa(0, T158, s(T158)) → plus154_out_aaa(0, T158, s(T158))
plus154_in_aaa(s(T163), T164, s(X436)) → U41_aaa(T163, T164, X436, plus154_in_aaa(T163, T164, X436))
U41_aaa(T163, T164, X436, plus154_out_aaa(T163, T164, X436)) → plus154_out_aaa(s(T163), T164, s(X436))
U36_gga(T117, T118, X411, plus154_out_aaa(T150, s(s(s(s(s(s(s(T150))))))), X411)) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(X411)))))))))
U38_ggg(T171, T172, X455, times69_out_gga(T171, T172, X454)) → times69_out_ggg(s(T171), T172, X455)
U37_ggg(T171, T172, X455, even36_out_gg(s(T171), false)) → U39_ggg(T171, T172, X455, times69_in_gga(T171, T172, T175))
U39_ggg(T171, T172, X455, times69_out_gga(T171, T172, T175)) → U40_ggg(T171, T172, X455, plus166_in_gag(T172, T175, X455))
plus166_in_gag(0, T184, T184) → plus166_out_gag(0, T184, T184)
plus166_in_gag(s(T189), T190, s(X482)) → U42_gag(T189, T190, X482, plus166_in_gag(T189, T190, X482))
U42_gag(T189, T190, X482, plus166_out_gag(T189, T190, X482)) → plus166_out_gag(s(T189), T190, s(X482))
U40_ggg(T171, T172, X455, plus166_out_gag(T172, T175, X455)) → times69_out_ggg(s(T171), T172, X455)
U17_gga(T117, T118, times69_out_ggg(T120, T118, s(s(0)))) → times69_out_gga(s(T117), T118, s(s(s(s(0)))))
U35_ggg(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → U36_ggg(T117, T118, X411, plus154_in_aag(T150, s(s(s(s(s(s(s(T150))))))), X411))
plus154_in_aag(0, T158, s(T158)) → plus154_out_aag(0, T158, s(T158))
plus154_in_aag(s(T163), T164, s(X436)) → U41_aag(T163, T164, X436, plus154_in_aag(T163, T164, X436))
U41_aag(T163, T164, X436, plus154_out_aag(T163, T164, X436)) → plus154_out_aag(s(T163), T164, s(X436))
U36_ggg(T117, T118, X411, plus154_out_aag(T150, s(s(s(s(s(s(s(T150))))))), X411)) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(X411)))))))))
U32_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(s(0))))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
U29_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(0)))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
U26_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(0))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0)))))))))))
U23_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(0)))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(0)))))))))
U20_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(0))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(0)))))))
U17_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(0)))) → times69_out_ggg(s(T117), T118, s(s(s(s(0)))))
U14_ggg(T117, T118, times69_out_ggg(T120, T118, s(0))) → times69_out_ggg(s(T117), T118, s(s(0)))
U11_ggg(T117, T118, times69_out_ggg(T120, T118, 0)) → times69_out_ggg(s(T117), T118, 0)
U14_gga(T117, T118, times69_out_ggg(T120, T118, s(0))) → times69_out_gga(s(T117), T118, s(s(0)))
U8_ggg(T117, T118, X217, times69_out_gga(T120, T118, X216)) → times69_out_ggg(s(T117), T118, X217)
U11_gga(T117, T118, times69_out_ggg(T120, T118, 0)) → times69_out_gga(s(T117), T118, 0)
U8_gga(T117, T118, X217, times69_out_gga(T120, T118, X216)) → times69_out_gga(s(T117), T118, X217)
U51_gga(T77, T78, T80, times69_out_gga(T82, T78, X129)) → times1_out_gga(s(s(T77)), T78, T80)
times1_in_gga(s(s(T77)), T78, 0) → U52_gga(T77, T78, even36_in_gg(T77, true))
U52_gga(T77, T78, even36_out_gg(T77, true)) → U53_gga(T77, T78, half56_in_ga(T77, T82))
U53_gga(T77, T78, half56_out_ga(T77, T82)) → U54_gga(T77, T78, times69_in_ggg(T82, T78, 0))
U54_gga(T77, T78, times69_out_ggg(T82, T78, 0)) → times1_out_gga(s(s(T77)), T78, 0)
times1_in_gga(s(s(T77)), T78, s(s(0))) → U55_gga(T77, T78, even36_in_gg(T77, true))
U55_gga(T77, T78, even36_out_gg(T77, true)) → U56_gga(T77, T78, half56_in_ga(T77, T82))
U56_gga(T77, T78, half56_out_ga(T77, T82)) → U57_gga(T77, T78, times69_in_ggg(T82, T78, s(0)))
U57_gga(T77, T78, times69_out_ggg(T82, T78, s(0))) → times1_out_gga(s(s(T77)), T78, s(s(0)))
times1_in_gga(s(s(T77)), T78, s(s(s(s(0))))) → U58_gga(T77, T78, even36_in_gg(T77, true))
U58_gga(T77, T78, even36_out_gg(T77, true)) → U59_gga(T77, T78, half56_in_ga(T77, T82))
U59_gga(T77, T78, half56_out_ga(T77, T82)) → U60_gga(T77, T78, times69_in_ggg(T82, T78, s(s(0))))
U60_gga(T77, T78, times69_out_ggg(T82, T78, s(s(0)))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(0)))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(0))))))) → U61_gga(T77, T78, even36_in_gg(T77, true))
U61_gga(T77, T78, even36_out_gg(T77, true)) → U62_gga(T77, T78, half56_in_ga(T77, T82))
U62_gga(T77, T78, half56_out_ga(T77, T82)) → U63_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(0)))))
U63_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(0))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(0)))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(0))))))))) → U64_gga(T77, T78, even36_in_gg(T77, true))
U64_gga(T77, T78, even36_out_gg(T77, true)) → U65_gga(T77, T78, half56_in_ga(T77, T82))
U65_gga(T77, T78, half56_out_ga(T77, T82)) → U66_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(0))))))
U66_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(0)))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(0)))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U67_gga(T77, T78, even36_in_gg(T77, true))
U67_gga(T77, T78, even36_out_gg(T77, true)) → U68_gga(T77, T78, half56_in_ga(T77, T82))
U68_gga(T77, T78, half56_out_ga(T77, T82)) → U69_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(0)))))))
U69_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(0))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(0)))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U70_gga(T77, T78, even36_in_gg(T77, true))
U70_gga(T77, T78, even36_out_gg(T77, true)) → U71_gga(T77, T78, half56_in_ga(T77, T82))
U71_gga(T77, T78, half56_out_ga(T77, T82)) → U72_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(s(0))))))))
U72_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(s(0)))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U73_gga(T77, T78, even36_in_gg(T77, true))
U73_gga(T77, T78, even36_out_gg(T77, true)) → U74_gga(T77, T78, half56_in_ga(T77, T82))
U74_gga(T77, T78, half56_out_ga(T77, T82)) → U75_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(s(s(0)))))))))
U75_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(s(s(0))))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(T248))))))))) → U76_gga(T77, T78, T248, even36_in_gg(T77, true))
U76_gga(T77, T78, T248, even36_out_gg(T77, true)) → U77_gga(T77, T78, T248, half56_in_ga(T77, T82))
U77_gga(T77, T78, T248, half56_out_ga(T77, T82)) → U78_gga(T77, T78, T248, times69_in_gga(T82, T78, s(s(s(s(s(s(s(s(T246))))))))))
U78_gga(T77, T78, T248, times69_out_gga(T82, T78, s(s(s(s(s(s(s(s(T246)))))))))) → U79_gga(T77, T78, T248, plus19_in_aaa(T246, s(s(s(s(s(s(s(s(T246)))))))), T248))
plus19_in_aaa(0, T42, T42) → plus19_out_aaa(0, T42, T42)
plus19_in_aaa(s(T49), T50, s(T52)) → U1_aaa(T49, T50, T52, plus19_in_aaa(T49, T50, T52))
U1_aaa(T49, T50, T52, plus19_out_aaa(T49, T50, T52)) → plus19_out_aaa(s(T49), T50, s(T52))
U79_gga(T77, T78, T248, plus19_out_aaa(T246, s(s(s(s(s(s(s(s(T246)))))))), T248)) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(T248)))))))))
times1_in_gga(s(s(T258)), T259, T261) → U80_gga(T258, T259, T261, even36_in_gg(T258, false))
U80_gga(T258, T259, T261, even36_out_gg(T258, false)) → U81_gga(T258, T259, T261, times69_in_gga(s(T258), T259, X662))
U81_gga(T258, T259, T261, times69_out_gga(s(T258), T259, X662)) → times1_out_gga(s(s(T258)), T259, T261)
U80_gga(T258, T259, T261, even36_out_gg(T258, false)) → U82_gga(T258, T259, T261, times69_in_gga(s(T258), T259, T264))
U82_gga(T258, T259, T261, times69_out_gga(s(T258), T259, T264)) → U83_gga(T258, T259, T261, plus19_in_gaa(T259, T264, T261))
plus19_in_gaa(0, T42, T42) → plus19_out_gaa(0, T42, T42)
plus19_in_gaa(s(T49), T50, s(T52)) → U1_gaa(T49, T50, T52, plus19_in_gaa(T49, T50, T52))
U1_gaa(T49, T50, T52, plus19_out_gaa(T49, T50, T52)) → plus19_out_gaa(s(T49), T50, s(T52))
U83_gga(T258, T259, T261, plus19_out_gaa(T259, T264, T261)) → times1_out_gga(s(s(T258)), T259, T261)

The argument filtering Pi contains the following mapping:
times1_in_gga(x1, x2, x3)  =  times1_in_gga(x1, x2)
0  =  0
times1_out_gga(x1, x2, x3)  =  times1_out_gga(x1, x2)
s(x1)  =  s(x1)
U44_gga(x1, x2, x3)  =  U44_gga(x1, x3)
times18_in_ga(x1, x2)  =  times18_in_ga(x1)
times18_out_ga(x1, x2)  =  times18_out_ga(x1, x2)
U45_gga(x1, x2, x3)  =  U45_gga(x1, x3)
U46_gga(x1, x2, x3)  =  U46_gga(x1, x3)
plus19_in_gga(x1, x2, x3)  =  plus19_in_gga(x1, x2)
plus19_out_gga(x1, x2, x3)  =  plus19_out_gga(x1, x2, x3)
U1_gga(x1, x2, x3, x4)  =  U1_gga(x1, x2, x4)
U47_gga(x1, x2, x3, x4)  =  U47_gga(x1, x2, x4)
even36_in_ga(x1, x2)  =  even36_in_ga(x1)
even36_out_ga(x1, x2)  =  even36_out_ga(x1, x2)
U2_ga(x1, x2, x3)  =  U2_ga(x1, x3)
U48_gga(x1, x2, x3, x4)  =  U48_gga(x1, x2, x4)
even36_in_gg(x1, x2)  =  even36_in_gg(x1, x2)
true  =  true
even36_out_gg(x1, x2)  =  even36_out_gg(x1, x2)
false  =  false
U2_gg(x1, x2, x3)  =  U2_gg(x1, x2, x3)
U49_gga(x1, x2, x3, x4)  =  U49_gga(x1, x2, x4)
half56_in_ga(x1, x2)  =  half56_in_ga(x1)
U43_ga(x1, x2, x3)  =  U43_ga(x1, x3)
half60_in_ga(x1, x2)  =  half60_in_ga(x1)
half60_out_ga(x1, x2)  =  half60_out_ga(x1, x2)
U3_ga(x1, x2, x3)  =  U3_ga(x1, x3)
half56_out_ga(x1, x2)  =  half56_out_ga(x1, x2)
U50_gga(x1, x2, x3, x4)  =  U50_gga(x1, x2, x4)
U51_gga(x1, x2, x3, x4)  =  U51_gga(x1, x2, x4)
times69_in_gga(x1, x2, x3)  =  times69_in_gga(x1, x2)
times69_out_gga(x1, x2, x3)  =  times69_out_gga(x1, x2)
U4_gga(x1, x2, x3, x4)  =  U4_gga(x1, x2, x4)
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)
U8_gga(x1, x2, x3, x4)  =  U8_gga(x1, x2, x4)
U9_gga(x1, x2, x3)  =  U9_gga(x1, x2, x3)
U10_gga(x1, x2, x3)  =  U10_gga(x1, x2, x3)
U11_gga(x1, x2, x3)  =  U11_gga(x1, x2, x3)
times69_in_ggg(x1, x2, x3)  =  times69_in_ggg(x1, x2, x3)
times69_out_ggg(x1, x2, x3)  =  times69_out_ggg(x1, x2, x3)
U4_ggg(x1, x2, x3, x4)  =  U4_ggg(x1, x2, x3, x4)
U5_ggg(x1, x2, x3, x4)  =  U5_ggg(x1, x2, x3, x4)
U6_ggg(x1, x2, x3, x4)  =  U6_ggg(x1, x2, x3, x4)
U7_ggg(x1, x2, x3, x4)  =  U7_ggg(x1, x2, x3, x4)
U8_ggg(x1, x2, x3, x4)  =  U8_ggg(x1, x2, x3, x4)
U12_gga(x1, x2, x3)  =  U12_gga(x1, x2, x3)
U13_gga(x1, x2, x3)  =  U13_gga(x1, x2, x3)
U14_gga(x1, x2, x3)  =  U14_gga(x1, x2, x3)
U9_ggg(x1, x2, x3)  =  U9_ggg(x1, x2, x3)
U10_ggg(x1, x2, x3)  =  U10_ggg(x1, x2, x3)
U11_ggg(x1, x2, x3)  =  U11_ggg(x1, x2, x3)
U12_ggg(x1, x2, x3)  =  U12_ggg(x1, x2, x3)
U13_ggg(x1, x2, x3)  =  U13_ggg(x1, x2, x3)
U14_ggg(x1, x2, x3)  =  U14_ggg(x1, x2, x3)
U15_ggg(x1, x2, x3)  =  U15_ggg(x1, x2, x3)
U16_ggg(x1, x2, x3)  =  U16_ggg(x1, x2, x3)
U17_ggg(x1, x2, x3)  =  U17_ggg(x1, x2, x3)
U18_ggg(x1, x2, x3)  =  U18_ggg(x1, x2, x3)
U19_ggg(x1, x2, x3)  =  U19_ggg(x1, x2, x3)
U20_ggg(x1, x2, x3)  =  U20_ggg(x1, x2, x3)
U21_ggg(x1, x2, x3)  =  U21_ggg(x1, x2, x3)
U22_ggg(x1, x2, x3)  =  U22_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)  =  U26_ggg(x1, x2, x3)
U27_ggg(x1, x2, x3)  =  U27_ggg(x1, x2, x3)
U28_ggg(x1, x2, x3)  =  U28_ggg(x1, x2, x3)
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)  =  U32_ggg(x1, x2, x3)
U33_ggg(x1, x2, x3, x4)  =  U33_ggg(x1, x2, x3, x4)
U34_ggg(x1, x2, x3, x4)  =  U34_ggg(x1, x2, x3, x4)
U35_ggg(x1, x2, x3, x4)  =  U35_ggg(x1, x2, x3, x4)
U15_gga(x1, x2, x3)  =  U15_gga(x1, x2, x3)
U16_gga(x1, x2, x3)  =  U16_gga(x1, x2, x3)
U17_gga(x1, x2, x3)  =  U17_gga(x1, x2, x3)
U37_ggg(x1, x2, x3, x4)  =  U37_ggg(x1, x2, x3, x4)
U38_ggg(x1, x2, x3, x4)  =  U38_ggg(x1, x2, x3, x4)
U18_gga(x1, x2, x3)  =  U18_gga(x1, x2, x3)
U19_gga(x1, x2, x3)  =  U19_gga(x1, x2, x3)
U20_gga(x1, x2, x3)  =  U20_gga(x1, x2, x3)
U21_gga(x1, x2, x3)  =  U21_gga(x1, x2, x3)
U22_gga(x1, x2, x3)  =  U22_gga(x1, x2, x3)
U23_gga(x1, x2, x3)  =  U23_gga(x1, x2, x3)
U24_gga(x1, x2, x3)  =  U24_gga(x1, x2, x3)
U25_gga(x1, x2, x3)  =  U25_gga(x1, x2, x3)
U26_gga(x1, x2, x3)  =  U26_gga(x1, x2, x3)
U27_gga(x1, x2, x3)  =  U27_gga(x1, x2, x3)
U28_gga(x1, x2, x3)  =  U28_gga(x1, x2, x3)
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)  =  U32_gga(x1, x2, x3)
U33_gga(x1, x2, x3, x4)  =  U33_gga(x1, x2, x4)
U34_gga(x1, x2, x3, x4)  =  U34_gga(x1, x2, x4)
U35_gga(x1, x2, x3, x4)  =  U35_gga(x1, x2, x4)
U37_gga(x1, x2, x3, x4)  =  U37_gga(x1, x2, x4)
U38_gga(x1, x2, x3, x4)  =  U38_gga(x1, x2, x4)
U39_gga(x1, x2, x3, x4)  =  U39_gga(x1, x2, x4)
U40_gga(x1, x2, x3, x4)  =  U40_gga(x1, x2, x4)
plus166_in_gaa(x1, x2, x3)  =  plus166_in_gaa(x1)
plus166_out_gaa(x1, x2, x3)  =  plus166_out_gaa(x1)
U42_gaa(x1, x2, x3, x4)  =  U42_gaa(x1, x4)
U36_gga(x1, x2, x3, x4)  =  U36_gga(x1, x2, x4)
plus154_in_aaa(x1, x2, x3)  =  plus154_in_aaa
plus154_out_aaa(x1, x2, x3)  =  plus154_out_aaa(x1)
U41_aaa(x1, x2, x3, x4)  =  U41_aaa(x4)
U39_ggg(x1, x2, x3, x4)  =  U39_ggg(x1, x2, x3, x4)
U40_ggg(x1, x2, x3, x4)  =  U40_ggg(x1, x2, x3, x4)
plus166_in_gag(x1, x2, x3)  =  plus166_in_gag(x1, x3)
plus166_out_gag(x1, x2, x3)  =  plus166_out_gag(x1, x2, x3)
U42_gag(x1, x2, x3, x4)  =  U42_gag(x1, x3, x4)
U36_ggg(x1, x2, x3, x4)  =  U36_ggg(x1, x2, x3, x4)
plus154_in_aag(x1, x2, x3)  =  plus154_in_aag(x3)
plus154_out_aag(x1, x2, x3)  =  plus154_out_aag(x1, x2, x3)
U41_aag(x1, x2, x3, x4)  =  U41_aag(x3, x4)
U52_gga(x1, x2, x3)  =  U52_gga(x1, x2, x3)
U53_gga(x1, x2, x3)  =  U53_gga(x1, x2, x3)
U54_gga(x1, x2, x3)  =  U54_gga(x1, x2, x3)
U55_gga(x1, x2, x3)  =  U55_gga(x1, x2, x3)
U56_gga(x1, x2, x3)  =  U56_gga(x1, x2, x3)
U57_gga(x1, x2, x3)  =  U57_gga(x1, x2, x3)
U58_gga(x1, x2, x3)  =  U58_gga(x1, x2, x3)
U59_gga(x1, x2, x3)  =  U59_gga(x1, x2, x3)
U60_gga(x1, x2, x3)  =  U60_gga(x1, x2, x3)
U61_gga(x1, x2, x3)  =  U61_gga(x1, x2, x3)
U62_gga(x1, x2, x3)  =  U62_gga(x1, x2, x3)
U63_gga(x1, x2, x3)  =  U63_gga(x1, x2, x3)
U64_gga(x1, x2, x3)  =  U64_gga(x1, x2, x3)
U65_gga(x1, x2, x3)  =  U65_gga(x1, x2, x3)
U66_gga(x1, x2, x3)  =  U66_gga(x1, x2, x3)
U67_gga(x1, x2, x3)  =  U67_gga(x1, x2, x3)
U68_gga(x1, x2, x3)  =  U68_gga(x1, x2, x3)
U69_gga(x1, x2, x3)  =  U69_gga(x1, x2, x3)
U70_gga(x1, x2, x3)  =  U70_gga(x1, x2, x3)
U71_gga(x1, x2, x3)  =  U71_gga(x1, x2, x3)
U72_gga(x1, x2, x3)  =  U72_gga(x1, x2, x3)
U73_gga(x1, x2, x3)  =  U73_gga(x1, x2, x3)
U74_gga(x1, x2, x3)  =  U74_gga(x1, x2, x3)
U75_gga(x1, x2, x3)  =  U75_gga(x1, x2, x3)
U76_gga(x1, x2, x3, x4)  =  U76_gga(x1, x2, x4)
U77_gga(x1, x2, x3, x4)  =  U77_gga(x1, x2, x4)
U78_gga(x1, x2, x3, x4)  =  U78_gga(x1, x2, x4)
U79_gga(x1, x2, x3, x4)  =  U79_gga(x1, x2, x4)
plus19_in_aaa(x1, x2, x3)  =  plus19_in_aaa
plus19_out_aaa(x1, x2, x3)  =  plus19_out_aaa(x1)
U1_aaa(x1, x2, x3, x4)  =  U1_aaa(x4)
U80_gga(x1, x2, x3, x4)  =  U80_gga(x1, x2, x4)
U81_gga(x1, x2, x3, x4)  =  U81_gga(x1, x2, x4)
U82_gga(x1, x2, x3, x4)  =  U82_gga(x1, x2, x4)
U83_gga(x1, x2, x3, x4)  =  U83_gga(x1, x2, x4)
plus19_in_gaa(x1, x2, x3)  =  plus19_in_gaa(x1)
plus19_out_gaa(x1, x2, x3)  =  plus19_out_gaa(x1)
U1_gaa(x1, x2, x3, x4)  =  U1_gaa(x1, x4)
EVEN36_IN_GA(x1, x2)  =  EVEN36_IN_GA(x1)

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

(66) UsableRulesProof (EQUIVALENT transformation)

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

(67) Obligation:

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

EVEN36_IN_GA(s(s(T61)), X101) → EVEN36_IN_GA(T61, X101)

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

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

(68) PiDPToQDPProof (SOUND transformation)

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

(69) Obligation:

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

EVEN36_IN_GA(s(s(T61))) → EVEN36_IN_GA(T61)

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

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

  • EVEN36_IN_GA(s(s(T61))) → EVEN36_IN_GA(T61)
    The graph contains the following edges 1 > 1

(71) YES

(72) Obligation:

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

TIMES69_IN_GGA(s(T117), T118, X217) → U5_GGA(T117, T118, X217, even36_in_gg(s(T117), true))
U5_GGA(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_GGA(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_GGA(T117, T118, X217, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGA(T120, T118, X216)
TIMES69_IN_GGA(s(T117), T118, 0) → U9_GGA(T117, T118, even36_in_gg(s(T117), true))
U9_GGA(T117, T118, even36_out_gg(s(T117), true)) → U10_GGA(T117, T118, half60_in_ga(s(T117), T120))
U10_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, 0)
TIMES69_IN_GGG(s(T117), T118, X217) → U5_GGG(T117, T118, X217, even36_in_gg(s(T117), true))
U5_GGG(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_GGG(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_GGG(T117, T118, X217, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGA(T120, T118, X216)
TIMES69_IN_GGA(s(T117), T118, s(s(0))) → U12_GGA(T117, T118, even36_in_gg(s(T117), true))
U12_GGA(T117, T118, even36_out_gg(s(T117), true)) → U13_GGA(T117, T118, half60_in_ga(s(T117), T120))
U13_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(0))
TIMES69_IN_GGG(s(T171), T172, X455) → U37_GGG(T171, T172, X455, even36_in_gg(s(T171), false))
U37_GGG(T171, T172, X455, even36_out_gg(s(T171), false)) → TIMES69_IN_GGA(T171, T172, X454)
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(0))))) → U15_GGA(T117, T118, even36_in_gg(s(T117), true))
U15_GGA(T117, T118, even36_out_gg(s(T117), true)) → U16_GGA(T117, T118, half60_in_ga(s(T117), T120))
U16_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(0)))
TIMES69_IN_GGG(s(T117), T118, s(s(0))) → U12_GGG(T117, T118, even36_in_gg(s(T117), true))
U12_GGG(T117, T118, even36_out_gg(s(T117), true)) → U13_GGG(T117, T118, half60_in_ga(s(T117), T120))
U13_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(0))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_GGA(T117, T118, even36_in_gg(s(T117), true))
U18_GGA(T117, T118, even36_out_gg(s(T117), true)) → U19_GGA(T117, T118, half60_in_ga(s(T117), T120))
U19_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(0))))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → U21_GGA(T117, T118, even36_in_gg(s(T117), true))
U21_GGA(T117, T118, even36_out_gg(s(T117), true)) → U22_GGA(T117, T118, half60_in_ga(s(T117), T120))
U22_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(0)))))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(0))))) → U15_GGG(T117, T118, even36_in_gg(s(T117), true))
U15_GGG(T117, T118, even36_out_gg(s(T117), true)) → U16_GGG(T117, T118, half60_in_ga(s(T117), T120))
U16_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(0)))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U24_GGA(T117, T118, even36_in_gg(s(T117), true))
U24_GGA(T117, T118, even36_out_gg(s(T117), true)) → U25_GGA(T117, T118, half60_in_ga(s(T117), T120))
U25_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(0))))))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U27_GGA(T117, T118, even36_in_gg(s(T117), true))
U27_GGA(T117, T118, even36_out_gg(s(T117), true)) → U28_GGA(T117, T118, half60_in_ga(s(T117), T120))
U28_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(s(0)))))))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_GGG(T117, T118, even36_in_gg(s(T117), true))
U18_GGG(T117, T118, even36_out_gg(s(T117), true)) → U19_GGG(T117, T118, half60_in_ga(s(T117), T120))
U19_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(0))))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U30_GGA(T117, T118, even36_in_gg(s(T117), true))
U30_GGA(T117, T118, even36_out_gg(s(T117), true)) → U31_GGA(T117, T118, half60_in_ga(s(T117), T120))
U31_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(s(s(0))))))))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → U33_GGA(T117, T118, X411, even36_in_gg(s(T117), true))
U33_GGA(T117, T118, X411, even36_out_gg(s(T117), true)) → U34_GGA(T117, T118, X411, half60_in_ga(s(T117), T120))
U34_GGA(T117, T118, X411, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGA(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))
TIMES69_IN_GGA(s(T171), T172, X455) → U37_GGA(T171, T172, X455, even36_in_gg(s(T171), false))
U37_GGA(T171, T172, X455, even36_out_gg(s(T171), false)) → TIMES69_IN_GGA(T171, T172, X454)
TIMES69_IN_GGG(s(T117), T118, 0) → U9_GGG(T117, T118, even36_in_gg(s(T117), true))
U9_GGG(T117, T118, even36_out_gg(s(T117), true)) → U10_GGG(T117, T118, half60_in_ga(s(T117), T120))
U10_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, 0)

The TRS R consists of the following rules:

times1_in_gga(0, T5, 0) → times1_out_gga(0, T5, 0)
times1_in_gga(s(0), T23, T25) → U44_gga(T23, T25, times18_in_ga(T23, X45))
times18_in_ga(T35, 0) → times18_out_ga(T35, 0)
U44_gga(T23, T25, times18_out_ga(T23, X45)) → times1_out_gga(s(0), T23, T25)
times1_in_gga(s(0), T23, T25) → U45_gga(T23, T25, times18_in_ga(T23, T29))
U45_gga(T23, T25, times18_out_ga(T23, T29)) → U46_gga(T23, T25, plus19_in_gga(T23, T29, T25))
plus19_in_gga(0, T42, T42) → plus19_out_gga(0, T42, T42)
plus19_in_gga(s(T49), T50, s(T52)) → U1_gga(T49, T50, T52, plus19_in_gga(T49, T50, T52))
U1_gga(T49, T50, T52, plus19_out_gga(T49, T50, T52)) → plus19_out_gga(s(T49), T50, s(T52))
U46_gga(T23, T25, plus19_out_gga(T23, T29, T25)) → times1_out_gga(s(0), T23, T25)
times1_in_gga(s(s(T57)), T10, T12) → U47_gga(T57, T10, T12, even36_in_ga(T57, X90))
even36_in_ga(0, true) → even36_out_ga(0, true)
even36_in_ga(s(0), false) → even36_out_ga(s(0), false)
even36_in_ga(s(s(T61)), X101) → U2_ga(T61, X101, even36_in_ga(T61, X101))
U2_ga(T61, X101, even36_out_ga(T61, X101)) → even36_out_ga(s(s(T61)), X101)
U47_gga(T57, T10, T12, even36_out_ga(T57, X90)) → times1_out_gga(s(s(T57)), T10, T12)
times1_in_gga(s(s(T77)), T78, T80) → U48_gga(T77, T78, T80, even36_in_gg(T77, true))
even36_in_gg(0, true) → even36_out_gg(0, true)
even36_in_gg(s(0), false) → even36_out_gg(s(0), false)
even36_in_gg(s(s(T61)), X101) → U2_gg(T61, X101, even36_in_gg(T61, X101))
U2_gg(T61, X101, even36_out_gg(T61, X101)) → even36_out_gg(s(s(T61)), X101)
U48_gga(T77, T78, T80, even36_out_gg(T77, true)) → U49_gga(T77, T78, T80, half56_in_ga(T77, X128))
half56_in_ga(T86, s(X147)) → U43_ga(T86, X147, half60_in_ga(T86, X147))
half60_in_ga(0, 0) → half60_out_ga(0, 0)
half60_in_ga(s(s(T89)), s(X156)) → U3_ga(T89, X156, half60_in_ga(T89, X156))
U3_ga(T89, X156, half60_out_ga(T89, X156)) → half60_out_ga(s(s(T89)), s(X156))
U43_ga(T86, X147, half60_out_ga(T86, X147)) → half56_out_ga(T86, s(X147))
U49_gga(T77, T78, T80, half56_out_ga(T77, X128)) → times1_out_gga(s(s(T77)), T78, T80)
U48_gga(T77, T78, T80, even36_out_gg(T77, true)) → U50_gga(T77, T78, T80, half56_in_ga(T77, T82))
U50_gga(T77, T78, T80, half56_out_ga(T77, T82)) → U51_gga(T77, T78, T80, times69_in_gga(T82, T78, X129))
times69_in_gga(0, T99, 0) → times69_out_gga(0, T99, 0)
times69_in_gga(s(T104), T105, X182) → U4_gga(T104, T105, X182, even36_in_ga(s(T104), X181))
U4_gga(T104, T105, X182, even36_out_ga(s(T104), X181)) → times69_out_gga(s(T104), T105, X182)
times69_in_gga(s(T117), T118, X217) → U5_gga(T117, T118, X217, even36_in_gg(s(T117), true))
U5_gga(T117, T118, X217, even36_out_gg(s(T117), true)) → U6_gga(T117, T118, X217, half60_in_ga(s(T117), X215))
U6_gga(T117, T118, X217, half60_out_ga(s(T117), X215)) → times69_out_gga(s(T117), T118, X217)
U5_gga(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_gga(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_gga(T117, T118, X217, half60_out_ga(s(T117), T120)) → U8_gga(T117, T118, X217, times69_in_gga(T120, T118, X216))
times69_in_gga(s(T117), T118, 0) → U9_gga(T117, T118, even36_in_gg(s(T117), true))
U9_gga(T117, T118, even36_out_gg(s(T117), true)) → U10_gga(T117, T118, half60_in_ga(s(T117), T120))
U10_gga(T117, T118, half60_out_ga(s(T117), T120)) → U11_gga(T117, T118, times69_in_ggg(T120, T118, 0))
times69_in_ggg(0, T99, 0) → times69_out_ggg(0, T99, 0)
times69_in_ggg(s(T104), T105, X182) → U4_ggg(T104, T105, X182, even36_in_ga(s(T104), X181))
U4_ggg(T104, T105, X182, even36_out_ga(s(T104), X181)) → times69_out_ggg(s(T104), T105, X182)
times69_in_ggg(s(T117), T118, X217) → U5_ggg(T117, T118, X217, even36_in_gg(s(T117), true))
U5_ggg(T117, T118, X217, even36_out_gg(s(T117), true)) → U6_ggg(T117, T118, X217, half60_in_ga(s(T117), X215))
U6_ggg(T117, T118, X217, half60_out_ga(s(T117), X215)) → times69_out_ggg(s(T117), T118, X217)
U5_ggg(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_ggg(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_ggg(T117, T118, X217, half60_out_ga(s(T117), T120)) → U8_ggg(T117, T118, X217, times69_in_gga(T120, T118, X216))
times69_in_gga(s(T117), T118, s(s(0))) → U12_gga(T117, T118, even36_in_gg(s(T117), true))
U12_gga(T117, T118, even36_out_gg(s(T117), true)) → U13_gga(T117, T118, half60_in_ga(s(T117), T120))
U13_gga(T117, T118, half60_out_ga(s(T117), T120)) → U14_gga(T117, T118, times69_in_ggg(T120, T118, s(0)))
times69_in_ggg(s(T117), T118, 0) → U9_ggg(T117, T118, even36_in_gg(s(T117), true))
U9_ggg(T117, T118, even36_out_gg(s(T117), true)) → U10_ggg(T117, T118, half60_in_ga(s(T117), T120))
U10_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U11_ggg(T117, T118, times69_in_ggg(T120, T118, 0))
times69_in_ggg(s(T117), T118, s(s(0))) → U12_ggg(T117, T118, even36_in_gg(s(T117), true))
U12_ggg(T117, T118, even36_out_gg(s(T117), true)) → U13_ggg(T117, T118, half60_in_ga(s(T117), T120))
U13_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U14_ggg(T117, T118, times69_in_ggg(T120, T118, s(0)))
times69_in_ggg(s(T117), T118, s(s(s(s(0))))) → U15_ggg(T117, T118, even36_in_gg(s(T117), true))
U15_ggg(T117, T118, even36_out_gg(s(T117), true)) → U16_ggg(T117, T118, half60_in_ga(s(T117), T120))
U16_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U17_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(0))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_ggg(T117, T118, even36_in_gg(s(T117), true))
U18_ggg(T117, T118, even36_out_gg(s(T117), true)) → U19_ggg(T117, T118, half60_in_ga(s(T117), T120))
U19_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U20_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(0)))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → U21_ggg(T117, T118, even36_in_gg(s(T117), true))
U21_ggg(T117, T118, even36_out_gg(s(T117), true)) → U22_ggg(T117, T118, half60_in_ga(s(T117), T120))
U22_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U23_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(0))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U24_ggg(T117, T118, even36_in_gg(s(T117), true))
U24_ggg(T117, T118, even36_out_gg(s(T117), true)) → U25_ggg(T117, T118, half60_in_ga(s(T117), T120))
U25_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U26_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(0)))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U27_ggg(T117, T118, even36_in_gg(s(T117), true))
U27_ggg(T117, T118, even36_out_gg(s(T117), true)) → U28_ggg(T117, T118, half60_in_ga(s(T117), T120))
U28_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U29_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(0))))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U30_ggg(T117, T118, even36_in_gg(s(T117), true))
U30_ggg(T117, T118, even36_out_gg(s(T117), true)) → U31_ggg(T117, T118, half60_in_ga(s(T117), T120))
U31_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U32_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(s(0)))))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → U33_ggg(T117, T118, X411, even36_in_gg(s(T117), true))
U33_ggg(T117, T118, X411, even36_out_gg(s(T117), true)) → U34_ggg(T117, T118, X411, half60_in_ga(s(T117), T120))
U34_ggg(T117, T118, X411, half60_out_ga(s(T117), T120)) → U35_ggg(T117, T118, X411, times69_in_gga(T120, T118, s(s(s(s(s(s(s(s(T150))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(0))))) → U15_gga(T117, T118, even36_in_gg(s(T117), true))
U15_gga(T117, T118, even36_out_gg(s(T117), true)) → U16_gga(T117, T118, half60_in_ga(s(T117), T120))
U16_gga(T117, T118, half60_out_ga(s(T117), T120)) → U17_gga(T117, T118, times69_in_ggg(T120, T118, s(s(0))))
times69_in_ggg(s(T171), T172, X455) → U37_ggg(T171, T172, X455, even36_in_gg(s(T171), false))
U37_ggg(T171, T172, X455, even36_out_gg(s(T171), false)) → U38_ggg(T171, T172, X455, times69_in_gga(T171, T172, X454))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_gga(T117, T118, even36_in_gg(s(T117), true))
U18_gga(T117, T118, even36_out_gg(s(T117), true)) → U19_gga(T117, T118, half60_in_ga(s(T117), T120))
U19_gga(T117, T118, half60_out_ga(s(T117), T120)) → U20_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(0)))))
U20_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(0))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(0)))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → U21_gga(T117, T118, even36_in_gg(s(T117), true))
U21_gga(T117, T118, even36_out_gg(s(T117), true)) → U22_gga(T117, T118, half60_in_ga(s(T117), T120))
U22_gga(T117, T118, half60_out_ga(s(T117), T120)) → U23_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(0))))))
U23_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(0)))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(0)))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U24_gga(T117, T118, even36_in_gg(s(T117), true))
U24_gga(T117, T118, even36_out_gg(s(T117), true)) → U25_gga(T117, T118, half60_in_ga(s(T117), T120))
U25_gga(T117, T118, half60_out_ga(s(T117), T120)) → U26_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(0)))))))
U26_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(0))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0)))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U27_gga(T117, T118, even36_in_gg(s(T117), true))
U27_gga(T117, T118, even36_out_gg(s(T117), true)) → U28_gga(T117, T118, half60_in_ga(s(T117), T120))
U28_gga(T117, T118, half60_out_ga(s(T117), T120)) → U29_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(0))))))))
U29_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(0)))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U30_gga(T117, T118, even36_in_gg(s(T117), true))
U30_gga(T117, T118, even36_out_gg(s(T117), true)) → U31_gga(T117, T118, half60_in_ga(s(T117), T120))
U31_gga(T117, T118, half60_out_ga(s(T117), T120)) → U32_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(s(0)))))))))
U32_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(s(0))))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → U33_gga(T117, T118, X411, even36_in_gg(s(T117), true))
U33_gga(T117, T118, X411, even36_out_gg(s(T117), true)) → U34_gga(T117, T118, X411, half60_in_ga(s(T117), T120))
U34_gga(T117, T118, X411, half60_out_ga(s(T117), T120)) → U35_gga(T117, T118, X411, times69_in_gga(T120, T118, s(s(s(s(s(s(s(s(T150))))))))))
times69_in_gga(s(T171), T172, X455) → U37_gga(T171, T172, X455, even36_in_gg(s(T171), false))
U37_gga(T171, T172, X455, even36_out_gg(s(T171), false)) → U38_gga(T171, T172, X455, times69_in_gga(T171, T172, X454))
U38_gga(T171, T172, X455, times69_out_gga(T171, T172, X454)) → times69_out_gga(s(T171), T172, X455)
U37_gga(T171, T172, X455, even36_out_gg(s(T171), false)) → U39_gga(T171, T172, X455, times69_in_gga(T171, T172, T175))
U39_gga(T171, T172, X455, times69_out_gga(T171, T172, T175)) → U40_gga(T171, T172, X455, plus166_in_gaa(T172, T175, X455))
plus166_in_gaa(0, T184, T184) → plus166_out_gaa(0, T184, T184)
plus166_in_gaa(s(T189), T190, s(X482)) → U42_gaa(T189, T190, X482, plus166_in_gaa(T189, T190, X482))
U42_gaa(T189, T190, X482, plus166_out_gaa(T189, T190, X482)) → plus166_out_gaa(s(T189), T190, s(X482))
U40_gga(T171, T172, X455, plus166_out_gaa(T172, T175, X455)) → times69_out_gga(s(T171), T172, X455)
U35_gga(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → U36_gga(T117, T118, X411, plus154_in_aaa(T150, s(s(s(s(s(s(s(T150))))))), X411))
plus154_in_aaa(0, T158, s(T158)) → plus154_out_aaa(0, T158, s(T158))
plus154_in_aaa(s(T163), T164, s(X436)) → U41_aaa(T163, T164, X436, plus154_in_aaa(T163, T164, X436))
U41_aaa(T163, T164, X436, plus154_out_aaa(T163, T164, X436)) → plus154_out_aaa(s(T163), T164, s(X436))
U36_gga(T117, T118, X411, plus154_out_aaa(T150, s(s(s(s(s(s(s(T150))))))), X411)) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(X411)))))))))
U38_ggg(T171, T172, X455, times69_out_gga(T171, T172, X454)) → times69_out_ggg(s(T171), T172, X455)
U37_ggg(T171, T172, X455, even36_out_gg(s(T171), false)) → U39_ggg(T171, T172, X455, times69_in_gga(T171, T172, T175))
U39_ggg(T171, T172, X455, times69_out_gga(T171, T172, T175)) → U40_ggg(T171, T172, X455, plus166_in_gag(T172, T175, X455))
plus166_in_gag(0, T184, T184) → plus166_out_gag(0, T184, T184)
plus166_in_gag(s(T189), T190, s(X482)) → U42_gag(T189, T190, X482, plus166_in_gag(T189, T190, X482))
U42_gag(T189, T190, X482, plus166_out_gag(T189, T190, X482)) → plus166_out_gag(s(T189), T190, s(X482))
U40_ggg(T171, T172, X455, plus166_out_gag(T172, T175, X455)) → times69_out_ggg(s(T171), T172, X455)
U17_gga(T117, T118, times69_out_ggg(T120, T118, s(s(0)))) → times69_out_gga(s(T117), T118, s(s(s(s(0)))))
U35_ggg(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → U36_ggg(T117, T118, X411, plus154_in_aag(T150, s(s(s(s(s(s(s(T150))))))), X411))
plus154_in_aag(0, T158, s(T158)) → plus154_out_aag(0, T158, s(T158))
plus154_in_aag(s(T163), T164, s(X436)) → U41_aag(T163, T164, X436, plus154_in_aag(T163, T164, X436))
U41_aag(T163, T164, X436, plus154_out_aag(T163, T164, X436)) → plus154_out_aag(s(T163), T164, s(X436))
U36_ggg(T117, T118, X411, plus154_out_aag(T150, s(s(s(s(s(s(s(T150))))))), X411)) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(X411)))))))))
U32_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(s(0))))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
U29_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(0)))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
U26_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(0))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0)))))))))))
U23_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(0)))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(0)))))))))
U20_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(0))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(0)))))))
U17_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(0)))) → times69_out_ggg(s(T117), T118, s(s(s(s(0)))))
U14_ggg(T117, T118, times69_out_ggg(T120, T118, s(0))) → times69_out_ggg(s(T117), T118, s(s(0)))
U11_ggg(T117, T118, times69_out_ggg(T120, T118, 0)) → times69_out_ggg(s(T117), T118, 0)
U14_gga(T117, T118, times69_out_ggg(T120, T118, s(0))) → times69_out_gga(s(T117), T118, s(s(0)))
U8_ggg(T117, T118, X217, times69_out_gga(T120, T118, X216)) → times69_out_ggg(s(T117), T118, X217)
U11_gga(T117, T118, times69_out_ggg(T120, T118, 0)) → times69_out_gga(s(T117), T118, 0)
U8_gga(T117, T118, X217, times69_out_gga(T120, T118, X216)) → times69_out_gga(s(T117), T118, X217)
U51_gga(T77, T78, T80, times69_out_gga(T82, T78, X129)) → times1_out_gga(s(s(T77)), T78, T80)
times1_in_gga(s(s(T77)), T78, 0) → U52_gga(T77, T78, even36_in_gg(T77, true))
U52_gga(T77, T78, even36_out_gg(T77, true)) → U53_gga(T77, T78, half56_in_ga(T77, T82))
U53_gga(T77, T78, half56_out_ga(T77, T82)) → U54_gga(T77, T78, times69_in_ggg(T82, T78, 0))
U54_gga(T77, T78, times69_out_ggg(T82, T78, 0)) → times1_out_gga(s(s(T77)), T78, 0)
times1_in_gga(s(s(T77)), T78, s(s(0))) → U55_gga(T77, T78, even36_in_gg(T77, true))
U55_gga(T77, T78, even36_out_gg(T77, true)) → U56_gga(T77, T78, half56_in_ga(T77, T82))
U56_gga(T77, T78, half56_out_ga(T77, T82)) → U57_gga(T77, T78, times69_in_ggg(T82, T78, s(0)))
U57_gga(T77, T78, times69_out_ggg(T82, T78, s(0))) → times1_out_gga(s(s(T77)), T78, s(s(0)))
times1_in_gga(s(s(T77)), T78, s(s(s(s(0))))) → U58_gga(T77, T78, even36_in_gg(T77, true))
U58_gga(T77, T78, even36_out_gg(T77, true)) → U59_gga(T77, T78, half56_in_ga(T77, T82))
U59_gga(T77, T78, half56_out_ga(T77, T82)) → U60_gga(T77, T78, times69_in_ggg(T82, T78, s(s(0))))
U60_gga(T77, T78, times69_out_ggg(T82, T78, s(s(0)))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(0)))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(0))))))) → U61_gga(T77, T78, even36_in_gg(T77, true))
U61_gga(T77, T78, even36_out_gg(T77, true)) → U62_gga(T77, T78, half56_in_ga(T77, T82))
U62_gga(T77, T78, half56_out_ga(T77, T82)) → U63_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(0)))))
U63_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(0))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(0)))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(0))))))))) → U64_gga(T77, T78, even36_in_gg(T77, true))
U64_gga(T77, T78, even36_out_gg(T77, true)) → U65_gga(T77, T78, half56_in_ga(T77, T82))
U65_gga(T77, T78, half56_out_ga(T77, T82)) → U66_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(0))))))
U66_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(0)))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(0)))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U67_gga(T77, T78, even36_in_gg(T77, true))
U67_gga(T77, T78, even36_out_gg(T77, true)) → U68_gga(T77, T78, half56_in_ga(T77, T82))
U68_gga(T77, T78, half56_out_ga(T77, T82)) → U69_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(0)))))))
U69_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(0))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(0)))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U70_gga(T77, T78, even36_in_gg(T77, true))
U70_gga(T77, T78, even36_out_gg(T77, true)) → U71_gga(T77, T78, half56_in_ga(T77, T82))
U71_gga(T77, T78, half56_out_ga(T77, T82)) → U72_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(s(0))))))))
U72_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(s(0)))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U73_gga(T77, T78, even36_in_gg(T77, true))
U73_gga(T77, T78, even36_out_gg(T77, true)) → U74_gga(T77, T78, half56_in_ga(T77, T82))
U74_gga(T77, T78, half56_out_ga(T77, T82)) → U75_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(s(s(0)))))))))
U75_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(s(s(0))))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(T248))))))))) → U76_gga(T77, T78, T248, even36_in_gg(T77, true))
U76_gga(T77, T78, T248, even36_out_gg(T77, true)) → U77_gga(T77, T78, T248, half56_in_ga(T77, T82))
U77_gga(T77, T78, T248, half56_out_ga(T77, T82)) → U78_gga(T77, T78, T248, times69_in_gga(T82, T78, s(s(s(s(s(s(s(s(T246))))))))))
U78_gga(T77, T78, T248, times69_out_gga(T82, T78, s(s(s(s(s(s(s(s(T246)))))))))) → U79_gga(T77, T78, T248, plus19_in_aaa(T246, s(s(s(s(s(s(s(s(T246)))))))), T248))
plus19_in_aaa(0, T42, T42) → plus19_out_aaa(0, T42, T42)
plus19_in_aaa(s(T49), T50, s(T52)) → U1_aaa(T49, T50, T52, plus19_in_aaa(T49, T50, T52))
U1_aaa(T49, T50, T52, plus19_out_aaa(T49, T50, T52)) → plus19_out_aaa(s(T49), T50, s(T52))
U79_gga(T77, T78, T248, plus19_out_aaa(T246, s(s(s(s(s(s(s(s(T246)))))))), T248)) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(T248)))))))))
times1_in_gga(s(s(T258)), T259, T261) → U80_gga(T258, T259, T261, even36_in_gg(T258, false))
U80_gga(T258, T259, T261, even36_out_gg(T258, false)) → U81_gga(T258, T259, T261, times69_in_gga(s(T258), T259, X662))
U81_gga(T258, T259, T261, times69_out_gga(s(T258), T259, X662)) → times1_out_gga(s(s(T258)), T259, T261)
U80_gga(T258, T259, T261, even36_out_gg(T258, false)) → U82_gga(T258, T259, T261, times69_in_gga(s(T258), T259, T264))
U82_gga(T258, T259, T261, times69_out_gga(s(T258), T259, T264)) → U83_gga(T258, T259, T261, plus19_in_gaa(T259, T264, T261))
plus19_in_gaa(0, T42, T42) → plus19_out_gaa(0, T42, T42)
plus19_in_gaa(s(T49), T50, s(T52)) → U1_gaa(T49, T50, T52, plus19_in_gaa(T49, T50, T52))
U1_gaa(T49, T50, T52, plus19_out_gaa(T49, T50, T52)) → plus19_out_gaa(s(T49), T50, s(T52))
U83_gga(T258, T259, T261, plus19_out_gaa(T259, T264, T261)) → times1_out_gga(s(s(T258)), T259, T261)

The argument filtering Pi contains the following mapping:
times1_in_gga(x1, x2, x3)  =  times1_in_gga(x1, x2)
0  =  0
times1_out_gga(x1, x2, x3)  =  times1_out_gga(x1, x2)
s(x1)  =  s(x1)
U44_gga(x1, x2, x3)  =  U44_gga(x1, x3)
times18_in_ga(x1, x2)  =  times18_in_ga(x1)
times18_out_ga(x1, x2)  =  times18_out_ga(x1, x2)
U45_gga(x1, x2, x3)  =  U45_gga(x1, x3)
U46_gga(x1, x2, x3)  =  U46_gga(x1, x3)
plus19_in_gga(x1, x2, x3)  =  plus19_in_gga(x1, x2)
plus19_out_gga(x1, x2, x3)  =  plus19_out_gga(x1, x2, x3)
U1_gga(x1, x2, x3, x4)  =  U1_gga(x1, x2, x4)
U47_gga(x1, x2, x3, x4)  =  U47_gga(x1, x2, x4)
even36_in_ga(x1, x2)  =  even36_in_ga(x1)
even36_out_ga(x1, x2)  =  even36_out_ga(x1, x2)
U2_ga(x1, x2, x3)  =  U2_ga(x1, x3)
U48_gga(x1, x2, x3, x4)  =  U48_gga(x1, x2, x4)
even36_in_gg(x1, x2)  =  even36_in_gg(x1, x2)
true  =  true
even36_out_gg(x1, x2)  =  even36_out_gg(x1, x2)
false  =  false
U2_gg(x1, x2, x3)  =  U2_gg(x1, x2, x3)
U49_gga(x1, x2, x3, x4)  =  U49_gga(x1, x2, x4)
half56_in_ga(x1, x2)  =  half56_in_ga(x1)
U43_ga(x1, x2, x3)  =  U43_ga(x1, x3)
half60_in_ga(x1, x2)  =  half60_in_ga(x1)
half60_out_ga(x1, x2)  =  half60_out_ga(x1, x2)
U3_ga(x1, x2, x3)  =  U3_ga(x1, x3)
half56_out_ga(x1, x2)  =  half56_out_ga(x1, x2)
U50_gga(x1, x2, x3, x4)  =  U50_gga(x1, x2, x4)
U51_gga(x1, x2, x3, x4)  =  U51_gga(x1, x2, x4)
times69_in_gga(x1, x2, x3)  =  times69_in_gga(x1, x2)
times69_out_gga(x1, x2, x3)  =  times69_out_gga(x1, x2)
U4_gga(x1, x2, x3, x4)  =  U4_gga(x1, x2, x4)
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)
U8_gga(x1, x2, x3, x4)  =  U8_gga(x1, x2, x4)
U9_gga(x1, x2, x3)  =  U9_gga(x1, x2, x3)
U10_gga(x1, x2, x3)  =  U10_gga(x1, x2, x3)
U11_gga(x1, x2, x3)  =  U11_gga(x1, x2, x3)
times69_in_ggg(x1, x2, x3)  =  times69_in_ggg(x1, x2, x3)
times69_out_ggg(x1, x2, x3)  =  times69_out_ggg(x1, x2, x3)
U4_ggg(x1, x2, x3, x4)  =  U4_ggg(x1, x2, x3, x4)
U5_ggg(x1, x2, x3, x4)  =  U5_ggg(x1, x2, x3, x4)
U6_ggg(x1, x2, x3, x4)  =  U6_ggg(x1, x2, x3, x4)
U7_ggg(x1, x2, x3, x4)  =  U7_ggg(x1, x2, x3, x4)
U8_ggg(x1, x2, x3, x4)  =  U8_ggg(x1, x2, x3, x4)
U12_gga(x1, x2, x3)  =  U12_gga(x1, x2, x3)
U13_gga(x1, x2, x3)  =  U13_gga(x1, x2, x3)
U14_gga(x1, x2, x3)  =  U14_gga(x1, x2, x3)
U9_ggg(x1, x2, x3)  =  U9_ggg(x1, x2, x3)
U10_ggg(x1, x2, x3)  =  U10_ggg(x1, x2, x3)
U11_ggg(x1, x2, x3)  =  U11_ggg(x1, x2, x3)
U12_ggg(x1, x2, x3)  =  U12_ggg(x1, x2, x3)
U13_ggg(x1, x2, x3)  =  U13_ggg(x1, x2, x3)
U14_ggg(x1, x2, x3)  =  U14_ggg(x1, x2, x3)
U15_ggg(x1, x2, x3)  =  U15_ggg(x1, x2, x3)
U16_ggg(x1, x2, x3)  =  U16_ggg(x1, x2, x3)
U17_ggg(x1, x2, x3)  =  U17_ggg(x1, x2, x3)
U18_ggg(x1, x2, x3)  =  U18_ggg(x1, x2, x3)
U19_ggg(x1, x2, x3)  =  U19_ggg(x1, x2, x3)
U20_ggg(x1, x2, x3)  =  U20_ggg(x1, x2, x3)
U21_ggg(x1, x2, x3)  =  U21_ggg(x1, x2, x3)
U22_ggg(x1, x2, x3)  =  U22_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)  =  U26_ggg(x1, x2, x3)
U27_ggg(x1, x2, x3)  =  U27_ggg(x1, x2, x3)
U28_ggg(x1, x2, x3)  =  U28_ggg(x1, x2, x3)
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)  =  U32_ggg(x1, x2, x3)
U33_ggg(x1, x2, x3, x4)  =  U33_ggg(x1, x2, x3, x4)
U34_ggg(x1, x2, x3, x4)  =  U34_ggg(x1, x2, x3, x4)
U35_ggg(x1, x2, x3, x4)  =  U35_ggg(x1, x2, x3, x4)
U15_gga(x1, x2, x3)  =  U15_gga(x1, x2, x3)
U16_gga(x1, x2, x3)  =  U16_gga(x1, x2, x3)
U17_gga(x1, x2, x3)  =  U17_gga(x1, x2, x3)
U37_ggg(x1, x2, x3, x4)  =  U37_ggg(x1, x2, x3, x4)
U38_ggg(x1, x2, x3, x4)  =  U38_ggg(x1, x2, x3, x4)
U18_gga(x1, x2, x3)  =  U18_gga(x1, x2, x3)
U19_gga(x1, x2, x3)  =  U19_gga(x1, x2, x3)
U20_gga(x1, x2, x3)  =  U20_gga(x1, x2, x3)
U21_gga(x1, x2, x3)  =  U21_gga(x1, x2, x3)
U22_gga(x1, x2, x3)  =  U22_gga(x1, x2, x3)
U23_gga(x1, x2, x3)  =  U23_gga(x1, x2, x3)
U24_gga(x1, x2, x3)  =  U24_gga(x1, x2, x3)
U25_gga(x1, x2, x3)  =  U25_gga(x1, x2, x3)
U26_gga(x1, x2, x3)  =  U26_gga(x1, x2, x3)
U27_gga(x1, x2, x3)  =  U27_gga(x1, x2, x3)
U28_gga(x1, x2, x3)  =  U28_gga(x1, x2, x3)
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)  =  U32_gga(x1, x2, x3)
U33_gga(x1, x2, x3, x4)  =  U33_gga(x1, x2, x4)
U34_gga(x1, x2, x3, x4)  =  U34_gga(x1, x2, x4)
U35_gga(x1, x2, x3, x4)  =  U35_gga(x1, x2, x4)
U37_gga(x1, x2, x3, x4)  =  U37_gga(x1, x2, x4)
U38_gga(x1, x2, x3, x4)  =  U38_gga(x1, x2, x4)
U39_gga(x1, x2, x3, x4)  =  U39_gga(x1, x2, x4)
U40_gga(x1, x2, x3, x4)  =  U40_gga(x1, x2, x4)
plus166_in_gaa(x1, x2, x3)  =  plus166_in_gaa(x1)
plus166_out_gaa(x1, x2, x3)  =  plus166_out_gaa(x1)
U42_gaa(x1, x2, x3, x4)  =  U42_gaa(x1, x4)
U36_gga(x1, x2, x3, x4)  =  U36_gga(x1, x2, x4)
plus154_in_aaa(x1, x2, x3)  =  plus154_in_aaa
plus154_out_aaa(x1, x2, x3)  =  plus154_out_aaa(x1)
U41_aaa(x1, x2, x3, x4)  =  U41_aaa(x4)
U39_ggg(x1, x2, x3, x4)  =  U39_ggg(x1, x2, x3, x4)
U40_ggg(x1, x2, x3, x4)  =  U40_ggg(x1, x2, x3, x4)
plus166_in_gag(x1, x2, x3)  =  plus166_in_gag(x1, x3)
plus166_out_gag(x1, x2, x3)  =  plus166_out_gag(x1, x2, x3)
U42_gag(x1, x2, x3, x4)  =  U42_gag(x1, x3, x4)
U36_ggg(x1, x2, x3, x4)  =  U36_ggg(x1, x2, x3, x4)
plus154_in_aag(x1, x2, x3)  =  plus154_in_aag(x3)
plus154_out_aag(x1, x2, x3)  =  plus154_out_aag(x1, x2, x3)
U41_aag(x1, x2, x3, x4)  =  U41_aag(x3, x4)
U52_gga(x1, x2, x3)  =  U52_gga(x1, x2, x3)
U53_gga(x1, x2, x3)  =  U53_gga(x1, x2, x3)
U54_gga(x1, x2, x3)  =  U54_gga(x1, x2, x3)
U55_gga(x1, x2, x3)  =  U55_gga(x1, x2, x3)
U56_gga(x1, x2, x3)  =  U56_gga(x1, x2, x3)
U57_gga(x1, x2, x3)  =  U57_gga(x1, x2, x3)
U58_gga(x1, x2, x3)  =  U58_gga(x1, x2, x3)
U59_gga(x1, x2, x3)  =  U59_gga(x1, x2, x3)
U60_gga(x1, x2, x3)  =  U60_gga(x1, x2, x3)
U61_gga(x1, x2, x3)  =  U61_gga(x1, x2, x3)
U62_gga(x1, x2, x3)  =  U62_gga(x1, x2, x3)
U63_gga(x1, x2, x3)  =  U63_gga(x1, x2, x3)
U64_gga(x1, x2, x3)  =  U64_gga(x1, x2, x3)
U65_gga(x1, x2, x3)  =  U65_gga(x1, x2, x3)
U66_gga(x1, x2, x3)  =  U66_gga(x1, x2, x3)
U67_gga(x1, x2, x3)  =  U67_gga(x1, x2, x3)
U68_gga(x1, x2, x3)  =  U68_gga(x1, x2, x3)
U69_gga(x1, x2, x3)  =  U69_gga(x1, x2, x3)
U70_gga(x1, x2, x3)  =  U70_gga(x1, x2, x3)
U71_gga(x1, x2, x3)  =  U71_gga(x1, x2, x3)
U72_gga(x1, x2, x3)  =  U72_gga(x1, x2, x3)
U73_gga(x1, x2, x3)  =  U73_gga(x1, x2, x3)
U74_gga(x1, x2, x3)  =  U74_gga(x1, x2, x3)
U75_gga(x1, x2, x3)  =  U75_gga(x1, x2, x3)
U76_gga(x1, x2, x3, x4)  =  U76_gga(x1, x2, x4)
U77_gga(x1, x2, x3, x4)  =  U77_gga(x1, x2, x4)
U78_gga(x1, x2, x3, x4)  =  U78_gga(x1, x2, x4)
U79_gga(x1, x2, x3, x4)  =  U79_gga(x1, x2, x4)
plus19_in_aaa(x1, x2, x3)  =  plus19_in_aaa
plus19_out_aaa(x1, x2, x3)  =  plus19_out_aaa(x1)
U1_aaa(x1, x2, x3, x4)  =  U1_aaa(x4)
U80_gga(x1, x2, x3, x4)  =  U80_gga(x1, x2, x4)
U81_gga(x1, x2, x3, x4)  =  U81_gga(x1, x2, x4)
U82_gga(x1, x2, x3, x4)  =  U82_gga(x1, x2, x4)
U83_gga(x1, x2, x3, x4)  =  U83_gga(x1, x2, x4)
plus19_in_gaa(x1, x2, x3)  =  plus19_in_gaa(x1)
plus19_out_gaa(x1, x2, x3)  =  plus19_out_gaa(x1)
U1_gaa(x1, x2, x3, x4)  =  U1_gaa(x1, x4)
TIMES69_IN_GGA(x1, x2, x3)  =  TIMES69_IN_GGA(x1, x2)
U5_GGA(x1, x2, x3, x4)  =  U5_GGA(x1, x2, x4)
U7_GGA(x1, x2, x3, x4)  =  U7_GGA(x1, x2, x4)
U9_GGA(x1, x2, x3)  =  U9_GGA(x1, x2, x3)
U10_GGA(x1, x2, x3)  =  U10_GGA(x1, x2, x3)
TIMES69_IN_GGG(x1, x2, x3)  =  TIMES69_IN_GGG(x1, x2, x3)
U5_GGG(x1, x2, x3, x4)  =  U5_GGG(x1, x2, x3, x4)
U7_GGG(x1, x2, x3, x4)  =  U7_GGG(x1, x2, x3, x4)
U12_GGA(x1, x2, x3)  =  U12_GGA(x1, x2, x3)
U13_GGA(x1, x2, x3)  =  U13_GGA(x1, x2, x3)
U9_GGG(x1, x2, x3)  =  U9_GGG(x1, x2, x3)
U10_GGG(x1, x2, x3)  =  U10_GGG(x1, x2, x3)
U12_GGG(x1, x2, x3)  =  U12_GGG(x1, x2, x3)
U13_GGG(x1, x2, x3)  =  U13_GGG(x1, x2, x3)
U15_GGG(x1, x2, x3)  =  U15_GGG(x1, x2, x3)
U16_GGG(x1, x2, x3)  =  U16_GGG(x1, x2, x3)
U18_GGG(x1, x2, x3)  =  U18_GGG(x1, x2, x3)
U19_GGG(x1, x2, x3)  =  U19_GGG(x1, x2, x3)
U15_GGA(x1, x2, x3)  =  U15_GGA(x1, x2, x3)
U16_GGA(x1, x2, x3)  =  U16_GGA(x1, x2, x3)
U37_GGG(x1, x2, x3, x4)  =  U37_GGG(x1, x2, x3, x4)
U18_GGA(x1, x2, x3)  =  U18_GGA(x1, x2, x3)
U19_GGA(x1, x2, x3)  =  U19_GGA(x1, x2, x3)
U21_GGA(x1, x2, x3)  =  U21_GGA(x1, x2, x3)
U22_GGA(x1, x2, x3)  =  U22_GGA(x1, x2, x3)
U24_GGA(x1, x2, x3)  =  U24_GGA(x1, x2, x3)
U25_GGA(x1, x2, x3)  =  U25_GGA(x1, x2, x3)
U27_GGA(x1, x2, x3)  =  U27_GGA(x1, x2, x3)
U28_GGA(x1, x2, x3)  =  U28_GGA(x1, x2, x3)
U30_GGA(x1, x2, x3)  =  U30_GGA(x1, x2, x3)
U31_GGA(x1, x2, x3)  =  U31_GGA(x1, x2, x3)
U33_GGA(x1, x2, x3, x4)  =  U33_GGA(x1, x2, x4)
U34_GGA(x1, x2, x3, x4)  =  U34_GGA(x1, x2, x4)
U37_GGA(x1, x2, x3, x4)  =  U37_GGA(x1, x2, x4)

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

(73) UsableRulesProof (EQUIVALENT transformation)

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

(74) Obligation:

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

TIMES69_IN_GGA(s(T117), T118, X217) → U5_GGA(T117, T118, X217, even36_in_gg(s(T117), true))
U5_GGA(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_GGA(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_GGA(T117, T118, X217, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGA(T120, T118, X216)
TIMES69_IN_GGA(s(T117), T118, 0) → U9_GGA(T117, T118, even36_in_gg(s(T117), true))
U9_GGA(T117, T118, even36_out_gg(s(T117), true)) → U10_GGA(T117, T118, half60_in_ga(s(T117), T120))
U10_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, 0)
TIMES69_IN_GGG(s(T117), T118, X217) → U5_GGG(T117, T118, X217, even36_in_gg(s(T117), true))
U5_GGG(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_GGG(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_GGG(T117, T118, X217, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGA(T120, T118, X216)
TIMES69_IN_GGA(s(T117), T118, s(s(0))) → U12_GGA(T117, T118, even36_in_gg(s(T117), true))
U12_GGA(T117, T118, even36_out_gg(s(T117), true)) → U13_GGA(T117, T118, half60_in_ga(s(T117), T120))
U13_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(0))
TIMES69_IN_GGG(s(T171), T172, X455) → U37_GGG(T171, T172, X455, even36_in_gg(s(T171), false))
U37_GGG(T171, T172, X455, even36_out_gg(s(T171), false)) → TIMES69_IN_GGA(T171, T172, X454)
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(0))))) → U15_GGA(T117, T118, even36_in_gg(s(T117), true))
U15_GGA(T117, T118, even36_out_gg(s(T117), true)) → U16_GGA(T117, T118, half60_in_ga(s(T117), T120))
U16_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(0)))
TIMES69_IN_GGG(s(T117), T118, s(s(0))) → U12_GGG(T117, T118, even36_in_gg(s(T117), true))
U12_GGG(T117, T118, even36_out_gg(s(T117), true)) → U13_GGG(T117, T118, half60_in_ga(s(T117), T120))
U13_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(0))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_GGA(T117, T118, even36_in_gg(s(T117), true))
U18_GGA(T117, T118, even36_out_gg(s(T117), true)) → U19_GGA(T117, T118, half60_in_ga(s(T117), T120))
U19_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(0))))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → U21_GGA(T117, T118, even36_in_gg(s(T117), true))
U21_GGA(T117, T118, even36_out_gg(s(T117), true)) → U22_GGA(T117, T118, half60_in_ga(s(T117), T120))
U22_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(0)))))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(0))))) → U15_GGG(T117, T118, even36_in_gg(s(T117), true))
U15_GGG(T117, T118, even36_out_gg(s(T117), true)) → U16_GGG(T117, T118, half60_in_ga(s(T117), T120))
U16_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(0)))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U24_GGA(T117, T118, even36_in_gg(s(T117), true))
U24_GGA(T117, T118, even36_out_gg(s(T117), true)) → U25_GGA(T117, T118, half60_in_ga(s(T117), T120))
U25_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(0))))))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U27_GGA(T117, T118, even36_in_gg(s(T117), true))
U27_GGA(T117, T118, even36_out_gg(s(T117), true)) → U28_GGA(T117, T118, half60_in_ga(s(T117), T120))
U28_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(s(0)))))))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_GGG(T117, T118, even36_in_gg(s(T117), true))
U18_GGG(T117, T118, even36_out_gg(s(T117), true)) → U19_GGG(T117, T118, half60_in_ga(s(T117), T120))
U19_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(0))))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U30_GGA(T117, T118, even36_in_gg(s(T117), true))
U30_GGA(T117, T118, even36_out_gg(s(T117), true)) → U31_GGA(T117, T118, half60_in_ga(s(T117), T120))
U31_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(s(s(0))))))))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → U33_GGA(T117, T118, X411, even36_in_gg(s(T117), true))
U33_GGA(T117, T118, X411, even36_out_gg(s(T117), true)) → U34_GGA(T117, T118, X411, half60_in_ga(s(T117), T120))
U34_GGA(T117, T118, X411, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGA(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))
TIMES69_IN_GGA(s(T171), T172, X455) → U37_GGA(T171, T172, X455, even36_in_gg(s(T171), false))
U37_GGA(T171, T172, X455, even36_out_gg(s(T171), false)) → TIMES69_IN_GGA(T171, T172, X454)
TIMES69_IN_GGG(s(T117), T118, 0) → U9_GGG(T117, T118, even36_in_gg(s(T117), true))
U9_GGG(T117, T118, even36_out_gg(s(T117), true)) → U10_GGG(T117, T118, half60_in_ga(s(T117), T120))
U10_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, 0)

The TRS R consists of the following rules:

even36_in_gg(s(s(T61)), X101) → U2_gg(T61, X101, even36_in_gg(T61, X101))
half60_in_ga(s(s(T89)), s(X156)) → U3_ga(T89, X156, half60_in_ga(T89, X156))
even36_in_gg(s(0), false) → even36_out_gg(s(0), false)
U2_gg(T61, X101, even36_out_gg(T61, X101)) → even36_out_gg(s(s(T61)), X101)
U3_ga(T89, X156, half60_out_ga(T89, X156)) → half60_out_ga(s(s(T89)), s(X156))
even36_in_gg(0, true) → even36_out_gg(0, true)
half60_in_ga(0, 0) → half60_out_ga(0, 0)

The argument filtering Pi contains the following mapping:
0  =  0
s(x1)  =  s(x1)
even36_in_gg(x1, x2)  =  even36_in_gg(x1, x2)
true  =  true
even36_out_gg(x1, x2)  =  even36_out_gg(x1, x2)
false  =  false
U2_gg(x1, x2, x3)  =  U2_gg(x1, x2, x3)
half60_in_ga(x1, x2)  =  half60_in_ga(x1)
half60_out_ga(x1, x2)  =  half60_out_ga(x1, x2)
U3_ga(x1, x2, x3)  =  U3_ga(x1, x3)
TIMES69_IN_GGA(x1, x2, x3)  =  TIMES69_IN_GGA(x1, x2)
U5_GGA(x1, x2, x3, x4)  =  U5_GGA(x1, x2, x4)
U7_GGA(x1, x2, x3, x4)  =  U7_GGA(x1, x2, x4)
U9_GGA(x1, x2, x3)  =  U9_GGA(x1, x2, x3)
U10_GGA(x1, x2, x3)  =  U10_GGA(x1, x2, x3)
TIMES69_IN_GGG(x1, x2, x3)  =  TIMES69_IN_GGG(x1, x2, x3)
U5_GGG(x1, x2, x3, x4)  =  U5_GGG(x1, x2, x3, x4)
U7_GGG(x1, x2, x3, x4)  =  U7_GGG(x1, x2, x3, x4)
U12_GGA(x1, x2, x3)  =  U12_GGA(x1, x2, x3)
U13_GGA(x1, x2, x3)  =  U13_GGA(x1, x2, x3)
U9_GGG(x1, x2, x3)  =  U9_GGG(x1, x2, x3)
U10_GGG(x1, x2, x3)  =  U10_GGG(x1, x2, x3)
U12_GGG(x1, x2, x3)  =  U12_GGG(x1, x2, x3)
U13_GGG(x1, x2, x3)  =  U13_GGG(x1, x2, x3)
U15_GGG(x1, x2, x3)  =  U15_GGG(x1, x2, x3)
U16_GGG(x1, x2, x3)  =  U16_GGG(x1, x2, x3)
U18_GGG(x1, x2, x3)  =  U18_GGG(x1, x2, x3)
U19_GGG(x1, x2, x3)  =  U19_GGG(x1, x2, x3)
U15_GGA(x1, x2, x3)  =  U15_GGA(x1, x2, x3)
U16_GGA(x1, x2, x3)  =  U16_GGA(x1, x2, x3)
U37_GGG(x1, x2, x3, x4)  =  U37_GGG(x1, x2, x3, x4)
U18_GGA(x1, x2, x3)  =  U18_GGA(x1, x2, x3)
U19_GGA(x1, x2, x3)  =  U19_GGA(x1, x2, x3)
U21_GGA(x1, x2, x3)  =  U21_GGA(x1, x2, x3)
U22_GGA(x1, x2, x3)  =  U22_GGA(x1, x2, x3)
U24_GGA(x1, x2, x3)  =  U24_GGA(x1, x2, x3)
U25_GGA(x1, x2, x3)  =  U25_GGA(x1, x2, x3)
U27_GGA(x1, x2, x3)  =  U27_GGA(x1, x2, x3)
U28_GGA(x1, x2, x3)  =  U28_GGA(x1, x2, x3)
U30_GGA(x1, x2, x3)  =  U30_GGA(x1, x2, x3)
U31_GGA(x1, x2, x3)  =  U31_GGA(x1, x2, x3)
U33_GGA(x1, x2, x3, x4)  =  U33_GGA(x1, x2, x4)
U34_GGA(x1, x2, x3, x4)  =  U34_GGA(x1, x2, x4)
U37_GGA(x1, x2, x3, x4)  =  U37_GGA(x1, x2, x4)

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

(75) PiDPToQDPProof (SOUND transformation)

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

(76) Obligation:

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

TIMES69_IN_GGA(s(T117), T118) → U5_GGA(T117, T118, even36_in_gg(s(T117), true))
U5_GGA(T117, T118, even36_out_gg(s(T117), true)) → U7_GGA(T117, T118, half60_in_ga(s(T117)))
U7_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGA(T120, T118)
TIMES69_IN_GGA(s(T117), T118) → U9_GGA(T117, T118, even36_in_gg(s(T117), true))
U9_GGA(T117, T118, even36_out_gg(s(T117), true)) → U10_GGA(T117, T118, half60_in_ga(s(T117)))
U10_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, 0)
TIMES69_IN_GGG(s(T117), T118, X217) → U5_GGG(T117, T118, X217, even36_in_gg(s(T117), true))
U5_GGG(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_GGG(T117, T118, X217, half60_in_ga(s(T117)))
U7_GGG(T117, T118, X217, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGA(T120, T118)
TIMES69_IN_GGA(s(T117), T118) → U12_GGA(T117, T118, even36_in_gg(s(T117), true))
U12_GGA(T117, T118, even36_out_gg(s(T117), true)) → U13_GGA(T117, T118, half60_in_ga(s(T117)))
U13_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(0))
TIMES69_IN_GGG(s(T171), T172, X455) → U37_GGG(T171, T172, X455, even36_in_gg(s(T171), false))
U37_GGG(T171, T172, X455, even36_out_gg(s(T171), false)) → TIMES69_IN_GGA(T171, T172)
TIMES69_IN_GGA(s(T117), T118) → U15_GGA(T117, T118, even36_in_gg(s(T117), true))
U15_GGA(T117, T118, even36_out_gg(s(T117), true)) → U16_GGA(T117, T118, half60_in_ga(s(T117)))
U16_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(0)))
TIMES69_IN_GGG(s(T117), T118, s(s(0))) → U12_GGG(T117, T118, even36_in_gg(s(T117), true))
U12_GGG(T117, T118, even36_out_gg(s(T117), true)) → U13_GGG(T117, T118, half60_in_ga(s(T117)))
U13_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(0))
TIMES69_IN_GGA(s(T117), T118) → U18_GGA(T117, T118, even36_in_gg(s(T117), true))
U18_GGA(T117, T118, even36_out_gg(s(T117), true)) → U19_GGA(T117, T118, half60_in_ga(s(T117)))
U19_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(0))))
TIMES69_IN_GGA(s(T117), T118) → U21_GGA(T117, T118, even36_in_gg(s(T117), true))
U21_GGA(T117, T118, even36_out_gg(s(T117), true)) → U22_GGA(T117, T118, half60_in_ga(s(T117)))
U22_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(0)))))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(0))))) → U15_GGG(T117, T118, even36_in_gg(s(T117), true))
U15_GGG(T117, T118, even36_out_gg(s(T117), true)) → U16_GGG(T117, T118, half60_in_ga(s(T117)))
U16_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(0)))
TIMES69_IN_GGA(s(T117), T118) → U24_GGA(T117, T118, even36_in_gg(s(T117), true))
U24_GGA(T117, T118, even36_out_gg(s(T117), true)) → U25_GGA(T117, T118, half60_in_ga(s(T117)))
U25_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(0))))))
TIMES69_IN_GGA(s(T117), T118) → U27_GGA(T117, T118, even36_in_gg(s(T117), true))
U27_GGA(T117, T118, even36_out_gg(s(T117), true)) → U28_GGA(T117, T118, half60_in_ga(s(T117)))
U28_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(s(0)))))))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_GGG(T117, T118, even36_in_gg(s(T117), true))
U18_GGG(T117, T118, even36_out_gg(s(T117), true)) → U19_GGG(T117, T118, half60_in_ga(s(T117)))
U19_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(0))))
TIMES69_IN_GGA(s(T117), T118) → U30_GGA(T117, T118, even36_in_gg(s(T117), true))
U30_GGA(T117, T118, even36_out_gg(s(T117), true)) → U31_GGA(T117, T118, half60_in_ga(s(T117)))
U31_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(s(s(0))))))))
TIMES69_IN_GGA(s(T117), T118) → U33_GGA(T117, T118, even36_in_gg(s(T117), true))
U33_GGA(T117, T118, even36_out_gg(s(T117), true)) → U34_GGA(T117, T118, half60_in_ga(s(T117)))
U34_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGA(T120, T118)
TIMES69_IN_GGA(s(T171), T172) → U37_GGA(T171, T172, even36_in_gg(s(T171), false))
U37_GGA(T171, T172, even36_out_gg(s(T171), false)) → TIMES69_IN_GGA(T171, T172)
TIMES69_IN_GGG(s(T117), T118, 0) → U9_GGG(T117, T118, even36_in_gg(s(T117), true))
U9_GGG(T117, T118, even36_out_gg(s(T117), true)) → U10_GGG(T117, T118, half60_in_ga(s(T117)))
U10_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, 0)

The TRS R consists of the following rules:

even36_in_gg(s(s(T61)), X101) → U2_gg(T61, X101, even36_in_gg(T61, X101))
half60_in_ga(s(s(T89))) → U3_ga(T89, half60_in_ga(T89))
even36_in_gg(s(0), false) → even36_out_gg(s(0), false)
U2_gg(T61, X101, even36_out_gg(T61, X101)) → even36_out_gg(s(s(T61)), X101)
U3_ga(T89, half60_out_ga(T89, X156)) → half60_out_ga(s(s(T89)), s(X156))
even36_in_gg(0, true) → even36_out_gg(0, true)
half60_in_ga(0) → half60_out_ga(0, 0)

The set Q consists of the following terms:

even36_in_gg(x0, x1)
half60_in_ga(x0)
U2_gg(x0, x1, x2)
U3_ga(x0, x1)

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

(77) Instantiation (EQUIVALENT transformation)

By instantiating [LPAR04] the rule TIMES69_IN_GGG(s(T117), T118, X217) → U5_GGG(T117, T118, X217, even36_in_gg(s(T117), true)) we obtained the following new rules [LPAR04]:

TIMES69_IN_GGG(s(x0), z1, 0) → U5_GGG(x0, z1, 0, even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z1, s(0)) → U5_GGG(x0, z1, s(0), even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z1, s(s(0))) → U5_GGG(x0, z1, s(s(0)), even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z1, s(s(s(0)))) → U5_GGG(x0, z1, s(s(s(0))), even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(0))))) → U5_GGG(x0, z1, s(s(s(s(0)))), even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(s(0)))))) → U5_GGG(x0, z1, s(s(s(s(s(0))))), even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(s(s(0))))))) → U5_GGG(x0, z1, s(s(s(s(s(s(0)))))), even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(s(s(s(0)))))))) → U5_GGG(x0, z1, s(s(s(s(s(s(s(0))))))), even36_in_gg(s(x0), true))

(78) Obligation:

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

TIMES69_IN_GGA(s(T117), T118) → U5_GGA(T117, T118, even36_in_gg(s(T117), true))
U5_GGA(T117, T118, even36_out_gg(s(T117), true)) → U7_GGA(T117, T118, half60_in_ga(s(T117)))
U7_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGA(T120, T118)
TIMES69_IN_GGA(s(T117), T118) → U9_GGA(T117, T118, even36_in_gg(s(T117), true))
U9_GGA(T117, T118, even36_out_gg(s(T117), true)) → U10_GGA(T117, T118, half60_in_ga(s(T117)))
U10_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, 0)
U5_GGG(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_GGG(T117, T118, X217, half60_in_ga(s(T117)))
U7_GGG(T117, T118, X217, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGA(T120, T118)
TIMES69_IN_GGA(s(T117), T118) → U12_GGA(T117, T118, even36_in_gg(s(T117), true))
U12_GGA(T117, T118, even36_out_gg(s(T117), true)) → U13_GGA(T117, T118, half60_in_ga(s(T117)))
U13_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(0))
TIMES69_IN_GGG(s(T171), T172, X455) → U37_GGG(T171, T172, X455, even36_in_gg(s(T171), false))
U37_GGG(T171, T172, X455, even36_out_gg(s(T171), false)) → TIMES69_IN_GGA(T171, T172)
TIMES69_IN_GGA(s(T117), T118) → U15_GGA(T117, T118, even36_in_gg(s(T117), true))
U15_GGA(T117, T118, even36_out_gg(s(T117), true)) → U16_GGA(T117, T118, half60_in_ga(s(T117)))
U16_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(0)))
TIMES69_IN_GGG(s(T117), T118, s(s(0))) → U12_GGG(T117, T118, even36_in_gg(s(T117), true))
U12_GGG(T117, T118, even36_out_gg(s(T117), true)) → U13_GGG(T117, T118, half60_in_ga(s(T117)))
U13_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(0))
TIMES69_IN_GGA(s(T117), T118) → U18_GGA(T117, T118, even36_in_gg(s(T117), true))
U18_GGA(T117, T118, even36_out_gg(s(T117), true)) → U19_GGA(T117, T118, half60_in_ga(s(T117)))
U19_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(0))))
TIMES69_IN_GGA(s(T117), T118) → U21_GGA(T117, T118, even36_in_gg(s(T117), true))
U21_GGA(T117, T118, even36_out_gg(s(T117), true)) → U22_GGA(T117, T118, half60_in_ga(s(T117)))
U22_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(0)))))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(0))))) → U15_GGG(T117, T118, even36_in_gg(s(T117), true))
U15_GGG(T117, T118, even36_out_gg(s(T117), true)) → U16_GGG(T117, T118, half60_in_ga(s(T117)))
U16_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(0)))
TIMES69_IN_GGA(s(T117), T118) → U24_GGA(T117, T118, even36_in_gg(s(T117), true))
U24_GGA(T117, T118, even36_out_gg(s(T117), true)) → U25_GGA(T117, T118, half60_in_ga(s(T117)))
U25_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(0))))))
TIMES69_IN_GGA(s(T117), T118) → U27_GGA(T117, T118, even36_in_gg(s(T117), true))
U27_GGA(T117, T118, even36_out_gg(s(T117), true)) → U28_GGA(T117, T118, half60_in_ga(s(T117)))
U28_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(s(0)))))))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_GGG(T117, T118, even36_in_gg(s(T117), true))
U18_GGG(T117, T118, even36_out_gg(s(T117), true)) → U19_GGG(T117, T118, half60_in_ga(s(T117)))
U19_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(0))))
TIMES69_IN_GGA(s(T117), T118) → U30_GGA(T117, T118, even36_in_gg(s(T117), true))
U30_GGA(T117, T118, even36_out_gg(s(T117), true)) → U31_GGA(T117, T118, half60_in_ga(s(T117)))
U31_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(s(s(0))))))))
TIMES69_IN_GGA(s(T117), T118) → U33_GGA(T117, T118, even36_in_gg(s(T117), true))
U33_GGA(T117, T118, even36_out_gg(s(T117), true)) → U34_GGA(T117, T118, half60_in_ga(s(T117)))
U34_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGA(T120, T118)
TIMES69_IN_GGA(s(T171), T172) → U37_GGA(T171, T172, even36_in_gg(s(T171), false))
U37_GGA(T171, T172, even36_out_gg(s(T171), false)) → TIMES69_IN_GGA(T171, T172)
TIMES69_IN_GGG(s(T117), T118, 0) → U9_GGG(T117, T118, even36_in_gg(s(T117), true))
U9_GGG(T117, T118, even36_out_gg(s(T117), true)) → U10_GGG(T117, T118, half60_in_ga(s(T117)))
U10_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, 0)
TIMES69_IN_GGG(s(x0), z1, 0) → U5_GGG(x0, z1, 0, even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z1, s(0)) → U5_GGG(x0, z1, s(0), even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z1, s(s(0))) → U5_GGG(x0, z1, s(s(0)), even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z1, s(s(s(0)))) → U5_GGG(x0, z1, s(s(s(0))), even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(0))))) → U5_GGG(x0, z1, s(s(s(s(0)))), even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(s(0)))))) → U5_GGG(x0, z1, s(s(s(s(s(0))))), even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(s(s(0))))))) → U5_GGG(x0, z1, s(s(s(s(s(s(0)))))), even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(s(s(s(0)))))))) → U5_GGG(x0, z1, s(s(s(s(s(s(s(0))))))), even36_in_gg(s(x0), true))

The TRS R consists of the following rules:

even36_in_gg(s(s(T61)), X101) → U2_gg(T61, X101, even36_in_gg(T61, X101))
half60_in_ga(s(s(T89))) → U3_ga(T89, half60_in_ga(T89))
even36_in_gg(s(0), false) → even36_out_gg(s(0), false)
U2_gg(T61, X101, even36_out_gg(T61, X101)) → even36_out_gg(s(s(T61)), X101)
U3_ga(T89, half60_out_ga(T89, X156)) → half60_out_ga(s(s(T89)), s(X156))
even36_in_gg(0, true) → even36_out_gg(0, true)
half60_in_ga(0) → half60_out_ga(0, 0)

The set Q consists of the following terms:

even36_in_gg(x0, x1)
half60_in_ga(x0)
U2_gg(x0, x1, x2)
U3_ga(x0, x1)

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

(79) Instantiation (EQUIVALENT transformation)

By instantiating [LPAR04] the rule U5_GGG(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_GGG(T117, T118, X217, half60_in_ga(s(T117))) we obtained the following new rules [LPAR04]:

U5_GGG(z0, z1, 0, even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, 0, half60_in_ga(s(z0)))
U5_GGG(z0, z1, s(0), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(0), half60_in_ga(s(z0)))
U5_GGG(z0, z1, s(s(0)), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(0)), half60_in_ga(s(z0)))
U5_GGG(z0, z1, s(s(s(0))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(0))), half60_in_ga(s(z0)))
U5_GGG(z0, z1, s(s(s(s(0)))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(s(0)))), half60_in_ga(s(z0)))
U5_GGG(z0, z1, s(s(s(s(s(0))))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(s(s(0))))), half60_in_ga(s(z0)))
U5_GGG(z0, z1, s(s(s(s(s(s(0)))))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(s(s(s(0)))))), half60_in_ga(s(z0)))
U5_GGG(z0, z1, s(s(s(s(s(s(s(0))))))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(s(s(s(s(0))))))), half60_in_ga(s(z0)))

(80) Obligation:

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

TIMES69_IN_GGA(s(T117), T118) → U5_GGA(T117, T118, even36_in_gg(s(T117), true))
U5_GGA(T117, T118, even36_out_gg(s(T117), true)) → U7_GGA(T117, T118, half60_in_ga(s(T117)))
U7_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGA(T120, T118)
TIMES69_IN_GGA(s(T117), T118) → U9_GGA(T117, T118, even36_in_gg(s(T117), true))
U9_GGA(T117, T118, even36_out_gg(s(T117), true)) → U10_GGA(T117, T118, half60_in_ga(s(T117)))
U10_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, 0)
U7_GGG(T117, T118, X217, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGA(T120, T118)
TIMES69_IN_GGA(s(T117), T118) → U12_GGA(T117, T118, even36_in_gg(s(T117), true))
U12_GGA(T117, T118, even36_out_gg(s(T117), true)) → U13_GGA(T117, T118, half60_in_ga(s(T117)))
U13_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(0))
TIMES69_IN_GGG(s(T171), T172, X455) → U37_GGG(T171, T172, X455, even36_in_gg(s(T171), false))
U37_GGG(T171, T172, X455, even36_out_gg(s(T171), false)) → TIMES69_IN_GGA(T171, T172)
TIMES69_IN_GGA(s(T117), T118) → U15_GGA(T117, T118, even36_in_gg(s(T117), true))
U15_GGA(T117, T118, even36_out_gg(s(T117), true)) → U16_GGA(T117, T118, half60_in_ga(s(T117)))
U16_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(0)))
TIMES69_IN_GGG(s(T117), T118, s(s(0))) → U12_GGG(T117, T118, even36_in_gg(s(T117), true))
U12_GGG(T117, T118, even36_out_gg(s(T117), true)) → U13_GGG(T117, T118, half60_in_ga(s(T117)))
U13_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(0))
TIMES69_IN_GGA(s(T117), T118) → U18_GGA(T117, T118, even36_in_gg(s(T117), true))
U18_GGA(T117, T118, even36_out_gg(s(T117), true)) → U19_GGA(T117, T118, half60_in_ga(s(T117)))
U19_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(0))))
TIMES69_IN_GGA(s(T117), T118) → U21_GGA(T117, T118, even36_in_gg(s(T117), true))
U21_GGA(T117, T118, even36_out_gg(s(T117), true)) → U22_GGA(T117, T118, half60_in_ga(s(T117)))
U22_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(0)))))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(0))))) → U15_GGG(T117, T118, even36_in_gg(s(T117), true))
U15_GGG(T117, T118, even36_out_gg(s(T117), true)) → U16_GGG(T117, T118, half60_in_ga(s(T117)))
U16_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(0)))
TIMES69_IN_GGA(s(T117), T118) → U24_GGA(T117, T118, even36_in_gg(s(T117), true))
U24_GGA(T117, T118, even36_out_gg(s(T117), true)) → U25_GGA(T117, T118, half60_in_ga(s(T117)))
U25_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(0))))))
TIMES69_IN_GGA(s(T117), T118) → U27_GGA(T117, T118, even36_in_gg(s(T117), true))
U27_GGA(T117, T118, even36_out_gg(s(T117), true)) → U28_GGA(T117, T118, half60_in_ga(s(T117)))
U28_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(s(0)))))))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_GGG(T117, T118, even36_in_gg(s(T117), true))
U18_GGG(T117, T118, even36_out_gg(s(T117), true)) → U19_GGG(T117, T118, half60_in_ga(s(T117)))
U19_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(0))))
TIMES69_IN_GGA(s(T117), T118) → U30_GGA(T117, T118, even36_in_gg(s(T117), true))
U30_GGA(T117, T118, even36_out_gg(s(T117), true)) → U31_GGA(T117, T118, half60_in_ga(s(T117)))
U31_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(s(s(0))))))))
TIMES69_IN_GGA(s(T117), T118) → U33_GGA(T117, T118, even36_in_gg(s(T117), true))
U33_GGA(T117, T118, even36_out_gg(s(T117), true)) → U34_GGA(T117, T118, half60_in_ga(s(T117)))
U34_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGA(T120, T118)
TIMES69_IN_GGA(s(T171), T172) → U37_GGA(T171, T172, even36_in_gg(s(T171), false))
U37_GGA(T171, T172, even36_out_gg(s(T171), false)) → TIMES69_IN_GGA(T171, T172)
TIMES69_IN_GGG(s(T117), T118, 0) → U9_GGG(T117, T118, even36_in_gg(s(T117), true))
U9_GGG(T117, T118, even36_out_gg(s(T117), true)) → U10_GGG(T117, T118, half60_in_ga(s(T117)))
U10_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, 0)
TIMES69_IN_GGG(s(x0), z1, 0) → U5_GGG(x0, z1, 0, even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z1, s(0)) → U5_GGG(x0, z1, s(0), even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z1, s(s(0))) → U5_GGG(x0, z1, s(s(0)), even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z1, s(s(s(0)))) → U5_GGG(x0, z1, s(s(s(0))), even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(0))))) → U5_GGG(x0, z1, s(s(s(s(0)))), even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(s(0)))))) → U5_GGG(x0, z1, s(s(s(s(s(0))))), even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(s(s(0))))))) → U5_GGG(x0, z1, s(s(s(s(s(s(0)))))), even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(s(s(s(0)))))))) → U5_GGG(x0, z1, s(s(s(s(s(s(s(0))))))), even36_in_gg(s(x0), true))
U5_GGG(z0, z1, 0, even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, 0, half60_in_ga(s(z0)))
U5_GGG(z0, z1, s(0), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(0), half60_in_ga(s(z0)))
U5_GGG(z0, z1, s(s(0)), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(0)), half60_in_ga(s(z0)))
U5_GGG(z0, z1, s(s(s(0))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(0))), half60_in_ga(s(z0)))
U5_GGG(z0, z1, s(s(s(s(0)))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(s(0)))), half60_in_ga(s(z0)))
U5_GGG(z0, z1, s(s(s(s(s(0))))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(s(s(0))))), half60_in_ga(s(z0)))
U5_GGG(z0, z1, s(s(s(s(s(s(0)))))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(s(s(s(0)))))), half60_in_ga(s(z0)))
U5_GGG(z0, z1, s(s(s(s(s(s(s(0))))))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(s(s(s(s(0))))))), half60_in_ga(s(z0)))

The TRS R consists of the following rules:

even36_in_gg(s(s(T61)), X101) → U2_gg(T61, X101, even36_in_gg(T61, X101))
half60_in_ga(s(s(T89))) → U3_ga(T89, half60_in_ga(T89))
even36_in_gg(s(0), false) → even36_out_gg(s(0), false)
U2_gg(T61, X101, even36_out_gg(T61, X101)) → even36_out_gg(s(s(T61)), X101)
U3_ga(T89, half60_out_ga(T89, X156)) → half60_out_ga(s(s(T89)), s(X156))
even36_in_gg(0, true) → even36_out_gg(0, true)
half60_in_ga(0) → half60_out_ga(0, 0)

The set Q consists of the following terms:

even36_in_gg(x0, x1)
half60_in_ga(x0)
U2_gg(x0, x1, x2)
U3_ga(x0, x1)

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

(81) Instantiation (EQUIVALENT transformation)

By instantiating [LPAR04] the rule U7_GGG(T117, T118, X217, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGA(T120, T118) we obtained the following new rules [LPAR04]:

U7_GGG(z0, z1, 0, half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
U7_GGG(z0, z1, s(0), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
U7_GGG(z0, z1, s(s(0)), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
U7_GGG(z0, z1, s(s(s(0))), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
U7_GGG(z0, z1, s(s(s(s(0)))), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
U7_GGG(z0, z1, s(s(s(s(s(0))))), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
U7_GGG(z0, z1, s(s(s(s(s(s(0)))))), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
U7_GGG(z0, z1, s(s(s(s(s(s(s(0))))))), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)

(82) Obligation:

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

TIMES69_IN_GGA(s(T117), T118) → U5_GGA(T117, T118, even36_in_gg(s(T117), true))
U5_GGA(T117, T118, even36_out_gg(s(T117), true)) → U7_GGA(T117, T118, half60_in_ga(s(T117)))
U7_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGA(T120, T118)
TIMES69_IN_GGA(s(T117), T118) → U9_GGA(T117, T118, even36_in_gg(s(T117), true))
U9_GGA(T117, T118, even36_out_gg(s(T117), true)) → U10_GGA(T117, T118, half60_in_ga(s(T117)))
U10_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, 0)
TIMES69_IN_GGA(s(T117), T118) → U12_GGA(T117, T118, even36_in_gg(s(T117), true))
U12_GGA(T117, T118, even36_out_gg(s(T117), true)) → U13_GGA(T117, T118, half60_in_ga(s(T117)))
U13_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(0))
TIMES69_IN_GGG(s(T171), T172, X455) → U37_GGG(T171, T172, X455, even36_in_gg(s(T171), false))
U37_GGG(T171, T172, X455, even36_out_gg(s(T171), false)) → TIMES69_IN_GGA(T171, T172)
TIMES69_IN_GGA(s(T117), T118) → U15_GGA(T117, T118, even36_in_gg(s(T117), true))
U15_GGA(T117, T118, even36_out_gg(s(T117), true)) → U16_GGA(T117, T118, half60_in_ga(s(T117)))
U16_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(0)))
TIMES69_IN_GGG(s(T117), T118, s(s(0))) → U12_GGG(T117, T118, even36_in_gg(s(T117), true))
U12_GGG(T117, T118, even36_out_gg(s(T117), true)) → U13_GGG(T117, T118, half60_in_ga(s(T117)))
U13_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(0))
TIMES69_IN_GGA(s(T117), T118) → U18_GGA(T117, T118, even36_in_gg(s(T117), true))
U18_GGA(T117, T118, even36_out_gg(s(T117), true)) → U19_GGA(T117, T118, half60_in_ga(s(T117)))
U19_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(0))))
TIMES69_IN_GGA(s(T117), T118) → U21_GGA(T117, T118, even36_in_gg(s(T117), true))
U21_GGA(T117, T118, even36_out_gg(s(T117), true)) → U22_GGA(T117, T118, half60_in_ga(s(T117)))
U22_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(0)))))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(0))))) → U15_GGG(T117, T118, even36_in_gg(s(T117), true))
U15_GGG(T117, T118, even36_out_gg(s(T117), true)) → U16_GGG(T117, T118, half60_in_ga(s(T117)))
U16_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(0)))
TIMES69_IN_GGA(s(T117), T118) → U24_GGA(T117, T118, even36_in_gg(s(T117), true))
U24_GGA(T117, T118, even36_out_gg(s(T117), true)) → U25_GGA(T117, T118, half60_in_ga(s(T117)))
U25_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(0))))))
TIMES69_IN_GGA(s(T117), T118) → U27_GGA(T117, T118, even36_in_gg(s(T117), true))
U27_GGA(T117, T118, even36_out_gg(s(T117), true)) → U28_GGA(T117, T118, half60_in_ga(s(T117)))
U28_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(s(0)))))))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_GGG(T117, T118, even36_in_gg(s(T117), true))
U18_GGG(T117, T118, even36_out_gg(s(T117), true)) → U19_GGG(T117, T118, half60_in_ga(s(T117)))
U19_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(0))))
TIMES69_IN_GGA(s(T117), T118) → U30_GGA(T117, T118, even36_in_gg(s(T117), true))
U30_GGA(T117, T118, even36_out_gg(s(T117), true)) → U31_GGA(T117, T118, half60_in_ga(s(T117)))
U31_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(s(s(0))))))))
TIMES69_IN_GGA(s(T117), T118) → U33_GGA(T117, T118, even36_in_gg(s(T117), true))
U33_GGA(T117, T118, even36_out_gg(s(T117), true)) → U34_GGA(T117, T118, half60_in_ga(s(T117)))
U34_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGA(T120, T118)
TIMES69_IN_GGA(s(T171), T172) → U37_GGA(T171, T172, even36_in_gg(s(T171), false))
U37_GGA(T171, T172, even36_out_gg(s(T171), false)) → TIMES69_IN_GGA(T171, T172)
TIMES69_IN_GGG(s(T117), T118, 0) → U9_GGG(T117, T118, even36_in_gg(s(T117), true))
U9_GGG(T117, T118, even36_out_gg(s(T117), true)) → U10_GGG(T117, T118, half60_in_ga(s(T117)))
U10_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, 0)
TIMES69_IN_GGG(s(x0), z1, 0) → U5_GGG(x0, z1, 0, even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z1, s(0)) → U5_GGG(x0, z1, s(0), even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z1, s(s(0))) → U5_GGG(x0, z1, s(s(0)), even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z1, s(s(s(0)))) → U5_GGG(x0, z1, s(s(s(0))), even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(0))))) → U5_GGG(x0, z1, s(s(s(s(0)))), even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(s(0)))))) → U5_GGG(x0, z1, s(s(s(s(s(0))))), even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(s(s(0))))))) → U5_GGG(x0, z1, s(s(s(s(s(s(0)))))), even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(s(s(s(0)))))))) → U5_GGG(x0, z1, s(s(s(s(s(s(s(0))))))), even36_in_gg(s(x0), true))
U5_GGG(z0, z1, 0, even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, 0, half60_in_ga(s(z0)))
U5_GGG(z0, z1, s(0), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(0), half60_in_ga(s(z0)))
U5_GGG(z0, z1, s(s(0)), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(0)), half60_in_ga(s(z0)))
U5_GGG(z0, z1, s(s(s(0))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(0))), half60_in_ga(s(z0)))
U5_GGG(z0, z1, s(s(s(s(0)))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(s(0)))), half60_in_ga(s(z0)))
U5_GGG(z0, z1, s(s(s(s(s(0))))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(s(s(0))))), half60_in_ga(s(z0)))
U5_GGG(z0, z1, s(s(s(s(s(s(0)))))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(s(s(s(0)))))), half60_in_ga(s(z0)))
U5_GGG(z0, z1, s(s(s(s(s(s(s(0))))))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(s(s(s(s(0))))))), half60_in_ga(s(z0)))
U7_GGG(z0, z1, 0, half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
U7_GGG(z0, z1, s(0), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
U7_GGG(z0, z1, s(s(0)), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
U7_GGG(z0, z1, s(s(s(0))), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
U7_GGG(z0, z1, s(s(s(s(0)))), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
U7_GGG(z0, z1, s(s(s(s(s(0))))), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
U7_GGG(z0, z1, s(s(s(s(s(s(0)))))), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
U7_GGG(z0, z1, s(s(s(s(s(s(s(0))))))), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)

The TRS R consists of the following rules:

even36_in_gg(s(s(T61)), X101) → U2_gg(T61, X101, even36_in_gg(T61, X101))
half60_in_ga(s(s(T89))) → U3_ga(T89, half60_in_ga(T89))
even36_in_gg(s(0), false) → even36_out_gg(s(0), false)
U2_gg(T61, X101, even36_out_gg(T61, X101)) → even36_out_gg(s(s(T61)), X101)
U3_ga(T89, half60_out_ga(T89, X156)) → half60_out_ga(s(s(T89)), s(X156))
even36_in_gg(0, true) → even36_out_gg(0, true)
half60_in_ga(0) → half60_out_ga(0, 0)

The set Q consists of the following terms:

even36_in_gg(x0, x1)
half60_in_ga(x0)
U2_gg(x0, x1, x2)
U3_ga(x0, x1)

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

(83) Instantiation (EQUIVALENT transformation)

By instantiating [LPAR04] the rule TIMES69_IN_GGG(s(T171), T172, X455) → U37_GGG(T171, T172, X455, even36_in_gg(s(T171), false)) we obtained the following new rules [LPAR04]:

TIMES69_IN_GGG(s(x0), z1, 0) → U37_GGG(x0, z1, 0, even36_in_gg(s(x0), false))
TIMES69_IN_GGG(s(x0), z1, s(0)) → U37_GGG(x0, z1, s(0), even36_in_gg(s(x0), false))
TIMES69_IN_GGG(s(x0), z1, s(s(0))) → U37_GGG(x0, z1, s(s(0)), even36_in_gg(s(x0), false))
TIMES69_IN_GGG(s(x0), z1, s(s(s(0)))) → U37_GGG(x0, z1, s(s(s(0))), even36_in_gg(s(x0), false))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(0))))) → U37_GGG(x0, z1, s(s(s(s(0)))), even36_in_gg(s(x0), false))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(s(0)))))) → U37_GGG(x0, z1, s(s(s(s(s(0))))), even36_in_gg(s(x0), false))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(s(s(0))))))) → U37_GGG(x0, z1, s(s(s(s(s(s(0)))))), even36_in_gg(s(x0), false))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(s(s(s(0)))))))) → U37_GGG(x0, z1, s(s(s(s(s(s(s(0))))))), even36_in_gg(s(x0), false))

(84) Obligation:

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

TIMES69_IN_GGA(s(T117), T118) → U5_GGA(T117, T118, even36_in_gg(s(T117), true))
U5_GGA(T117, T118, even36_out_gg(s(T117), true)) → U7_GGA(T117, T118, half60_in_ga(s(T117)))
U7_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGA(T120, T118)
TIMES69_IN_GGA(s(T117), T118) → U9_GGA(T117, T118, even36_in_gg(s(T117), true))
U9_GGA(T117, T118, even36_out_gg(s(T117), true)) → U10_GGA(T117, T118, half60_in_ga(s(T117)))
U10_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, 0)
TIMES69_IN_GGA(s(T117), T118) → U12_GGA(T117, T118, even36_in_gg(s(T117), true))
U12_GGA(T117, T118, even36_out_gg(s(T117), true)) → U13_GGA(T117, T118, half60_in_ga(s(T117)))
U13_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(0))
U37_GGG(T171, T172, X455, even36_out_gg(s(T171), false)) → TIMES69_IN_GGA(T171, T172)
TIMES69_IN_GGA(s(T117), T118) → U15_GGA(T117, T118, even36_in_gg(s(T117), true))
U15_GGA(T117, T118, even36_out_gg(s(T117), true)) → U16_GGA(T117, T118, half60_in_ga(s(T117)))
U16_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(0)))
TIMES69_IN_GGG(s(T117), T118, s(s(0))) → U12_GGG(T117, T118, even36_in_gg(s(T117), true))
U12_GGG(T117, T118, even36_out_gg(s(T117), true)) → U13_GGG(T117, T118, half60_in_ga(s(T117)))
U13_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(0))
TIMES69_IN_GGA(s(T117), T118) → U18_GGA(T117, T118, even36_in_gg(s(T117), true))
U18_GGA(T117, T118, even36_out_gg(s(T117), true)) → U19_GGA(T117, T118, half60_in_ga(s(T117)))
U19_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(0))))
TIMES69_IN_GGA(s(T117), T118) → U21_GGA(T117, T118, even36_in_gg(s(T117), true))
U21_GGA(T117, T118, even36_out_gg(s(T117), true)) → U22_GGA(T117, T118, half60_in_ga(s(T117)))
U22_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(0)))))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(0))))) → U15_GGG(T117, T118, even36_in_gg(s(T117), true))
U15_GGG(T117, T118, even36_out_gg(s(T117), true)) → U16_GGG(T117, T118, half60_in_ga(s(T117)))
U16_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(0)))
TIMES69_IN_GGA(s(T117), T118) → U24_GGA(T117, T118, even36_in_gg(s(T117), true))
U24_GGA(T117, T118, even36_out_gg(s(T117), true)) → U25_GGA(T117, T118, half60_in_ga(s(T117)))
U25_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(0))))))
TIMES69_IN_GGA(s(T117), T118) → U27_GGA(T117, T118, even36_in_gg(s(T117), true))
U27_GGA(T117, T118, even36_out_gg(s(T117), true)) → U28_GGA(T117, T118, half60_in_ga(s(T117)))
U28_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(s(0)))))))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_GGG(T117, T118, even36_in_gg(s(T117), true))
U18_GGG(T117, T118, even36_out_gg(s(T117), true)) → U19_GGG(T117, T118, half60_in_ga(s(T117)))
U19_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(0))))
TIMES69_IN_GGA(s(T117), T118) → U30_GGA(T117, T118, even36_in_gg(s(T117), true))
U30_GGA(T117, T118, even36_out_gg(s(T117), true)) → U31_GGA(T117, T118, half60_in_ga(s(T117)))
U31_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(s(s(0))))))))
TIMES69_IN_GGA(s(T117), T118) → U33_GGA(T117, T118, even36_in_gg(s(T117), true))
U33_GGA(T117, T118, even36_out_gg(s(T117), true)) → U34_GGA(T117, T118, half60_in_ga(s(T117)))
U34_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGA(T120, T118)
TIMES69_IN_GGA(s(T171), T172) → U37_GGA(T171, T172, even36_in_gg(s(T171), false))
U37_GGA(T171, T172, even36_out_gg(s(T171), false)) → TIMES69_IN_GGA(T171, T172)
TIMES69_IN_GGG(s(T117), T118, 0) → U9_GGG(T117, T118, even36_in_gg(s(T117), true))
U9_GGG(T117, T118, even36_out_gg(s(T117), true)) → U10_GGG(T117, T118, half60_in_ga(s(T117)))
U10_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, 0)
TIMES69_IN_GGG(s(x0), z1, 0) → U5_GGG(x0, z1, 0, even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z1, s(0)) → U5_GGG(x0, z1, s(0), even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z1, s(s(0))) → U5_GGG(x0, z1, s(s(0)), even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z1, s(s(s(0)))) → U5_GGG(x0, z1, s(s(s(0))), even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(0))))) → U5_GGG(x0, z1, s(s(s(s(0)))), even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(s(0)))))) → U5_GGG(x0, z1, s(s(s(s(s(0))))), even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(s(s(0))))))) → U5_GGG(x0, z1, s(s(s(s(s(s(0)))))), even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(s(s(s(0)))))))) → U5_GGG(x0, z1, s(s(s(s(s(s(s(0))))))), even36_in_gg(s(x0), true))
U5_GGG(z0, z1, 0, even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, 0, half60_in_ga(s(z0)))
U5_GGG(z0, z1, s(0), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(0), half60_in_ga(s(z0)))
U5_GGG(z0, z1, s(s(0)), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(0)), half60_in_ga(s(z0)))
U5_GGG(z0, z1, s(s(s(0))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(0))), half60_in_ga(s(z0)))
U5_GGG(z0, z1, s(s(s(s(0)))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(s(0)))), half60_in_ga(s(z0)))
U5_GGG(z0, z1, s(s(s(s(s(0))))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(s(s(0))))), half60_in_ga(s(z0)))
U5_GGG(z0, z1, s(s(s(s(s(s(0)))))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(s(s(s(0)))))), half60_in_ga(s(z0)))
U5_GGG(z0, z1, s(s(s(s(s(s(s(0))))))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(s(s(s(s(0))))))), half60_in_ga(s(z0)))
U7_GGG(z0, z1, 0, half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
U7_GGG(z0, z1, s(0), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
U7_GGG(z0, z1, s(s(0)), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
U7_GGG(z0, z1, s(s(s(0))), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
U7_GGG(z0, z1, s(s(s(s(0)))), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
U7_GGG(z0, z1, s(s(s(s(s(0))))), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
U7_GGG(z0, z1, s(s(s(s(s(s(0)))))), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
U7_GGG(z0, z1, s(s(s(s(s(s(s(0))))))), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
TIMES69_IN_GGG(s(x0), z1, 0) → U37_GGG(x0, z1, 0, even36_in_gg(s(x0), false))
TIMES69_IN_GGG(s(x0), z1, s(0)) → U37_GGG(x0, z1, s(0), even36_in_gg(s(x0), false))
TIMES69_IN_GGG(s(x0), z1, s(s(0))) → U37_GGG(x0, z1, s(s(0)), even36_in_gg(s(x0), false))
TIMES69_IN_GGG(s(x0), z1, s(s(s(0)))) → U37_GGG(x0, z1, s(s(s(0))), even36_in_gg(s(x0), false))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(0))))) → U37_GGG(x0, z1, s(s(s(s(0)))), even36_in_gg(s(x0), false))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(s(0)))))) → U37_GGG(x0, z1, s(s(s(s(s(0))))), even36_in_gg(s(x0), false))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(s(s(0))))))) → U37_GGG(x0, z1, s(s(s(s(s(s(0)))))), even36_in_gg(s(x0), false))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(s(s(s(0)))))))) → U37_GGG(x0, z1, s(s(s(s(s(s(s(0))))))), even36_in_gg(s(x0), false))

The TRS R consists of the following rules:

even36_in_gg(s(s(T61)), X101) → U2_gg(T61, X101, even36_in_gg(T61, X101))
half60_in_ga(s(s(T89))) → U3_ga(T89, half60_in_ga(T89))
even36_in_gg(s(0), false) → even36_out_gg(s(0), false)
U2_gg(T61, X101, even36_out_gg(T61, X101)) → even36_out_gg(s(s(T61)), X101)
U3_ga(T89, half60_out_ga(T89, X156)) → half60_out_ga(s(s(T89)), s(X156))
even36_in_gg(0, true) → even36_out_gg(0, true)
half60_in_ga(0) → half60_out_ga(0, 0)

The set Q consists of the following terms:

even36_in_gg(x0, x1)
half60_in_ga(x0)
U2_gg(x0, x1, x2)
U3_ga(x0, x1)

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

(85) Instantiation (EQUIVALENT transformation)

By instantiating [LPAR04] the rule U37_GGG(T171, T172, X455, even36_out_gg(s(T171), false)) → TIMES69_IN_GGA(T171, T172) we obtained the following new rules [LPAR04]:

U37_GGG(z0, z1, 0, even36_out_gg(s(z0), false)) → TIMES69_IN_GGA(z0, z1)
U37_GGG(z0, z1, s(0), even36_out_gg(s(z0), false)) → TIMES69_IN_GGA(z0, z1)
U37_GGG(z0, z1, s(s(0)), even36_out_gg(s(z0), false)) → TIMES69_IN_GGA(z0, z1)
U37_GGG(z0, z1, s(s(s(0))), even36_out_gg(s(z0), false)) → TIMES69_IN_GGA(z0, z1)
U37_GGG(z0, z1, s(s(s(s(0)))), even36_out_gg(s(z0), false)) → TIMES69_IN_GGA(z0, z1)
U37_GGG(z0, z1, s(s(s(s(s(0))))), even36_out_gg(s(z0), false)) → TIMES69_IN_GGA(z0, z1)
U37_GGG(z0, z1, s(s(s(s(s(s(0)))))), even36_out_gg(s(z0), false)) → TIMES69_IN_GGA(z0, z1)
U37_GGG(z0, z1, s(s(s(s(s(s(s(0))))))), even36_out_gg(s(z0), false)) → TIMES69_IN_GGA(z0, z1)

(86) Obligation:

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

TIMES69_IN_GGA(s(T117), T118) → U5_GGA(T117, T118, even36_in_gg(s(T117), true))
U5_GGA(T117, T118, even36_out_gg(s(T117), true)) → U7_GGA(T117, T118, half60_in_ga(s(T117)))
U7_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGA(T120, T118)
TIMES69_IN_GGA(s(T117), T118) → U9_GGA(T117, T118, even36_in_gg(s(T117), true))
U9_GGA(T117, T118, even36_out_gg(s(T117), true)) → U10_GGA(T117, T118, half60_in_ga(s(T117)))
U10_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, 0)
TIMES69_IN_GGA(s(T117), T118) → U12_GGA(T117, T118, even36_in_gg(s(T117), true))
U12_GGA(T117, T118, even36_out_gg(s(T117), true)) → U13_GGA(T117, T118, half60_in_ga(s(T117)))
U13_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(0))
TIMES69_IN_GGA(s(T117), T118) → U15_GGA(T117, T118, even36_in_gg(s(T117), true))
U15_GGA(T117, T118, even36_out_gg(s(T117), true)) → U16_GGA(T117, T118, half60_in_ga(s(T117)))
U16_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(0)))
TIMES69_IN_GGG(s(T117), T118, s(s(0))) → U12_GGG(T117, T118, even36_in_gg(s(T117), true))
U12_GGG(T117, T118, even36_out_gg(s(T117), true)) → U13_GGG(T117, T118, half60_in_ga(s(T117)))
U13_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(0))
TIMES69_IN_GGA(s(T117), T118) → U18_GGA(T117, T118, even36_in_gg(s(T117), true))
U18_GGA(T117, T118, even36_out_gg(s(T117), true)) → U19_GGA(T117, T118, half60_in_ga(s(T117)))
U19_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(0))))
TIMES69_IN_GGA(s(T117), T118) → U21_GGA(T117, T118, even36_in_gg(s(T117), true))
U21_GGA(T117, T118, even36_out_gg(s(T117), true)) → U22_GGA(T117, T118, half60_in_ga(s(T117)))
U22_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(0)))))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(0))))) → U15_GGG(T117, T118, even36_in_gg(s(T117), true))
U15_GGG(T117, T118, even36_out_gg(s(T117), true)) → U16_GGG(T117, T118, half60_in_ga(s(T117)))
U16_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(0)))
TIMES69_IN_GGA(s(T117), T118) → U24_GGA(T117, T118, even36_in_gg(s(T117), true))
U24_GGA(T117, T118, even36_out_gg(s(T117), true)) → U25_GGA(T117, T118, half60_in_ga(s(T117)))
U25_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(0))))))
TIMES69_IN_GGA(s(T117), T118) → U27_GGA(T117, T118, even36_in_gg(s(T117), true))
U27_GGA(T117, T118, even36_out_gg(s(T117), true)) → U28_GGA(T117, T118, half60_in_ga(s(T117)))
U28_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(s(0)))))))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_GGG(T117, T118, even36_in_gg(s(T117), true))
U18_GGG(T117, T118, even36_out_gg(s(T117), true)) → U19_GGG(T117, T118, half60_in_ga(s(T117)))
U19_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(0))))
TIMES69_IN_GGA(s(T117), T118) → U30_GGA(T117, T118, even36_in_gg(s(T117), true))
U30_GGA(T117, T118, even36_out_gg(s(T117), true)) → U31_GGA(T117, T118, half60_in_ga(s(T117)))
U31_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(s(s(0))))))))
TIMES69_IN_GGA(s(T117), T118) → U33_GGA(T117, T118, even36_in_gg(s(T117), true))
U33_GGA(T117, T118, even36_out_gg(s(T117), true)) → U34_GGA(T117, T118, half60_in_ga(s(T117)))
U34_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGA(T120, T118)
TIMES69_IN_GGA(s(T171), T172) → U37_GGA(T171, T172, even36_in_gg(s(T171), false))
U37_GGA(T171, T172, even36_out_gg(s(T171), false)) → TIMES69_IN_GGA(T171, T172)
TIMES69_IN_GGG(s(T117), T118, 0) → U9_GGG(T117, T118, even36_in_gg(s(T117), true))
U9_GGG(T117, T118, even36_out_gg(s(T117), true)) → U10_GGG(T117, T118, half60_in_ga(s(T117)))
U10_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, 0)
TIMES69_IN_GGG(s(x0), z1, 0) → U5_GGG(x0, z1, 0, even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z1, s(0)) → U5_GGG(x0, z1, s(0), even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z1, s(s(0))) → U5_GGG(x0, z1, s(s(0)), even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z1, s(s(s(0)))) → U5_GGG(x0, z1, s(s(s(0))), even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(0))))) → U5_GGG(x0, z1, s(s(s(s(0)))), even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(s(0)))))) → U5_GGG(x0, z1, s(s(s(s(s(0))))), even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(s(s(0))))))) → U5_GGG(x0, z1, s(s(s(s(s(s(0)))))), even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(s(s(s(0)))))))) → U5_GGG(x0, z1, s(s(s(s(s(s(s(0))))))), even36_in_gg(s(x0), true))
U5_GGG(z0, z1, 0, even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, 0, half60_in_ga(s(z0)))
U5_GGG(z0, z1, s(0), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(0), half60_in_ga(s(z0)))
U5_GGG(z0, z1, s(s(0)), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(0)), half60_in_ga(s(z0)))
U5_GGG(z0, z1, s(s(s(0))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(0))), half60_in_ga(s(z0)))
U5_GGG(z0, z1, s(s(s(s(0)))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(s(0)))), half60_in_ga(s(z0)))
U5_GGG(z0, z1, s(s(s(s(s(0))))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(s(s(0))))), half60_in_ga(s(z0)))
U5_GGG(z0, z1, s(s(s(s(s(s(0)))))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(s(s(s(0)))))), half60_in_ga(s(z0)))
U5_GGG(z0, z1, s(s(s(s(s(s(s(0))))))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(s(s(s(s(0))))))), half60_in_ga(s(z0)))
U7_GGG(z0, z1, 0, half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
U7_GGG(z0, z1, s(0), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
U7_GGG(z0, z1, s(s(0)), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
U7_GGG(z0, z1, s(s(s(0))), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
U7_GGG(z0, z1, s(s(s(s(0)))), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
U7_GGG(z0, z1, s(s(s(s(s(0))))), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
U7_GGG(z0, z1, s(s(s(s(s(s(0)))))), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
U7_GGG(z0, z1, s(s(s(s(s(s(s(0))))))), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
TIMES69_IN_GGG(s(x0), z1, 0) → U37_GGG(x0, z1, 0, even36_in_gg(s(x0), false))
TIMES69_IN_GGG(s(x0), z1, s(0)) → U37_GGG(x0, z1, s(0), even36_in_gg(s(x0), false))
TIMES69_IN_GGG(s(x0), z1, s(s(0))) → U37_GGG(x0, z1, s(s(0)), even36_in_gg(s(x0), false))
TIMES69_IN_GGG(s(x0), z1, s(s(s(0)))) → U37_GGG(x0, z1, s(s(s(0))), even36_in_gg(s(x0), false))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(0))))) → U37_GGG(x0, z1, s(s(s(s(0)))), even36_in_gg(s(x0), false))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(s(0)))))) → U37_GGG(x0, z1, s(s(s(s(s(0))))), even36_in_gg(s(x0), false))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(s(s(0))))))) → U37_GGG(x0, z1, s(s(s(s(s(s(0)))))), even36_in_gg(s(x0), false))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(s(s(s(0)))))))) → U37_GGG(x0, z1, s(s(s(s(s(s(s(0))))))), even36_in_gg(s(x0), false))
U37_GGG(z0, z1, 0, even36_out_gg(s(z0), false)) → TIMES69_IN_GGA(z0, z1)
U37_GGG(z0, z1, s(0), even36_out_gg(s(z0), false)) → TIMES69_IN_GGA(z0, z1)
U37_GGG(z0, z1, s(s(0)), even36_out_gg(s(z0), false)) → TIMES69_IN_GGA(z0, z1)
U37_GGG(z0, z1, s(s(s(0))), even36_out_gg(s(z0), false)) → TIMES69_IN_GGA(z0, z1)
U37_GGG(z0, z1, s(s(s(s(0)))), even36_out_gg(s(z0), false)) → TIMES69_IN_GGA(z0, z1)
U37_GGG(z0, z1, s(s(s(s(s(0))))), even36_out_gg(s(z0), false)) → TIMES69_IN_GGA(z0, z1)
U37_GGG(z0, z1, s(s(s(s(s(s(0)))))), even36_out_gg(s(z0), false)) → TIMES69_IN_GGA(z0, z1)
U37_GGG(z0, z1, s(s(s(s(s(s(s(0))))))), even36_out_gg(s(z0), false)) → TIMES69_IN_GGA(z0, z1)

The TRS R consists of the following rules:

even36_in_gg(s(s(T61)), X101) → U2_gg(T61, X101, even36_in_gg(T61, X101))
half60_in_ga(s(s(T89))) → U3_ga(T89, half60_in_ga(T89))
even36_in_gg(s(0), false) → even36_out_gg(s(0), false)
U2_gg(T61, X101, even36_out_gg(T61, X101)) → even36_out_gg(s(s(T61)), X101)
U3_ga(T89, half60_out_ga(T89, X156)) → half60_out_ga(s(s(T89)), s(X156))
even36_in_gg(0, true) → even36_out_gg(0, true)
half60_in_ga(0) → half60_out_ga(0, 0)

The set Q consists of the following terms:

even36_in_gg(x0, x1)
half60_in_ga(x0)
U2_gg(x0, x1, x2)
U3_ga(x0, x1)

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

(87) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


TIMES69_IN_GGA(s(T171), T172) → U37_GGA(T171, T172, even36_in_gg(s(T171), false))
U37_GGG(z0, z1, 0, even36_out_gg(s(z0), false)) → TIMES69_IN_GGA(z0, z1)
U37_GGG(z0, z1, s(0), even36_out_gg(s(z0), false)) → TIMES69_IN_GGA(z0, z1)
U37_GGG(z0, z1, s(s(0)), even36_out_gg(s(z0), false)) → TIMES69_IN_GGA(z0, z1)
U37_GGG(z0, z1, s(s(s(0))), even36_out_gg(s(z0), false)) → TIMES69_IN_GGA(z0, z1)
U37_GGG(z0, z1, s(s(s(s(0)))), even36_out_gg(s(z0), false)) → TIMES69_IN_GGA(z0, z1)
U37_GGG(z0, z1, s(s(s(s(s(0))))), even36_out_gg(s(z0), false)) → TIMES69_IN_GGA(z0, z1)
U37_GGG(z0, z1, s(s(s(s(s(s(0)))))), even36_out_gg(s(z0), false)) → TIMES69_IN_GGA(z0, z1)
U37_GGG(z0, z1, s(s(s(s(s(s(s(0))))))), even36_out_gg(s(z0), false)) → TIMES69_IN_GGA(z0, z1)
The remaining pairs can at least be oriented weakly.
Used ordering: Polynomial interpretation [POLO]:

POL(0) = 0   
POL(TIMES69_IN_GGA(x1, x2)) = x1   
POL(TIMES69_IN_GGG(x1, x2, x3)) = x1   
POL(U10_GGA(x1, x2, x3)) = x3   
POL(U10_GGG(x1, x2, x3)) = x3   
POL(U12_GGA(x1, x2, x3)) = 1 + x1   
POL(U12_GGG(x1, x2, x3)) = 1 + x1   
POL(U13_GGA(x1, x2, x3)) = x3   
POL(U13_GGG(x1, x2, x3)) = x3   
POL(U15_GGA(x1, x2, x3)) = 1 + x1   
POL(U15_GGG(x1, x2, x3)) = 1 + x1   
POL(U16_GGA(x1, x2, x3)) = x3   
POL(U16_GGG(x1, x2, x3)) = x3   
POL(U18_GGA(x1, x2, x3)) = 1 + x1   
POL(U18_GGG(x1, x2, x3)) = 1 + x1   
POL(U19_GGA(x1, x2, x3)) = x3   
POL(U19_GGG(x1, x2, x3)) = x3   
POL(U21_GGA(x1, x2, x3)) = 1 + x1   
POL(U22_GGA(x1, x2, x3)) = x3   
POL(U24_GGA(x1, x2, x3)) = 1 + x1   
POL(U25_GGA(x1, x2, x3)) = x3   
POL(U27_GGA(x1, x2, x3)) = 1 + x1   
POL(U28_GGA(x1, x2, x3)) = x3   
POL(U2_gg(x1, x2, x3)) = 0   
POL(U30_GGA(x1, x2, x3)) = 1 + x1   
POL(U31_GGA(x1, x2, x3)) = x3   
POL(U33_GGA(x1, x2, x3)) = 1 + x1   
POL(U34_GGA(x1, x2, x3)) = x3   
POL(U37_GGA(x1, x2, x3)) = x1   
POL(U37_GGG(x1, x2, x3, x4)) = 1 + x1   
POL(U3_ga(x1, x2)) = 1 + x2   
POL(U5_GGA(x1, x2, x3)) = 1 + x1   
POL(U5_GGG(x1, x2, x3, x4)) = 1 + x1   
POL(U7_GGA(x1, x2, x3)) = x3   
POL(U7_GGG(x1, x2, x3, x4)) = x4   
POL(U9_GGA(x1, x2, x3)) = 1 + x1   
POL(U9_GGG(x1, x2, x3)) = 1 + x1   
POL(even36_in_gg(x1, x2)) = 0   
POL(even36_out_gg(x1, x2)) = 0   
POL(false) = 0   
POL(half60_in_ga(x1)) = x1   
POL(half60_out_ga(x1, x2)) = x2   
POL(s(x1)) = 1 + x1   
POL(true) = 0   

The following usable rules [FROCOS05] were oriented:

half60_in_ga(s(s(T89))) → U3_ga(T89, half60_in_ga(T89))
half60_in_ga(0) → half60_out_ga(0, 0)
U3_ga(T89, half60_out_ga(T89, X156)) → half60_out_ga(s(s(T89)), s(X156))

(88) Obligation:

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

TIMES69_IN_GGA(s(T117), T118) → U5_GGA(T117, T118, even36_in_gg(s(T117), true))
U5_GGA(T117, T118, even36_out_gg(s(T117), true)) → U7_GGA(T117, T118, half60_in_ga(s(T117)))
U7_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGA(T120, T118)
TIMES69_IN_GGA(s(T117), T118) → U9_GGA(T117, T118, even36_in_gg(s(T117), true))
U9_GGA(T117, T118, even36_out_gg(s(T117), true)) → U10_GGA(T117, T118, half60_in_ga(s(T117)))
U10_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, 0)
TIMES69_IN_GGA(s(T117), T118) → U12_GGA(T117, T118, even36_in_gg(s(T117), true))
U12_GGA(T117, T118, even36_out_gg(s(T117), true)) → U13_GGA(T117, T118, half60_in_ga(s(T117)))
U13_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(0))
TIMES69_IN_GGA(s(T117), T118) → U15_GGA(T117, T118, even36_in_gg(s(T117), true))
U15_GGA(T117, T118, even36_out_gg(s(T117), true)) → U16_GGA(T117, T118, half60_in_ga(s(T117)))
U16_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(0)))
TIMES69_IN_GGG(s(T117), T118, s(s(0))) → U12_GGG(T117, T118, even36_in_gg(s(T117), true))
U12_GGG(T117, T118, even36_out_gg(s(T117), true)) → U13_GGG(T117, T118, half60_in_ga(s(T117)))
U13_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(0))
TIMES69_IN_GGA(s(T117), T118) → U18_GGA(T117, T118, even36_in_gg(s(T117), true))
U18_GGA(T117, T118, even36_out_gg(s(T117), true)) → U19_GGA(T117, T118, half60_in_ga(s(T117)))
U19_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(0))))
TIMES69_IN_GGA(s(T117), T118) → U21_GGA(T117, T118, even36_in_gg(s(T117), true))
U21_GGA(T117, T118, even36_out_gg(s(T117), true)) → U22_GGA(T117, T118, half60_in_ga(s(T117)))
U22_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(0)))))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(0))))) → U15_GGG(T117, T118, even36_in_gg(s(T117), true))
U15_GGG(T117, T118, even36_out_gg(s(T117), true)) → U16_GGG(T117, T118, half60_in_ga(s(T117)))
U16_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(0)))
TIMES69_IN_GGA(s(T117), T118) → U24_GGA(T117, T118, even36_in_gg(s(T117), true))
U24_GGA(T117, T118, even36_out_gg(s(T117), true)) → U25_GGA(T117, T118, half60_in_ga(s(T117)))
U25_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(0))))))
TIMES69_IN_GGA(s(T117), T118) → U27_GGA(T117, T118, even36_in_gg(s(T117), true))
U27_GGA(T117, T118, even36_out_gg(s(T117), true)) → U28_GGA(T117, T118, half60_in_ga(s(T117)))
U28_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(s(0)))))))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_GGG(T117, T118, even36_in_gg(s(T117), true))
U18_GGG(T117, T118, even36_out_gg(s(T117), true)) → U19_GGG(T117, T118, half60_in_ga(s(T117)))
U19_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(0))))
TIMES69_IN_GGA(s(T117), T118) → U30_GGA(T117, T118, even36_in_gg(s(T117), true))
U30_GGA(T117, T118, even36_out_gg(s(T117), true)) → U31_GGA(T117, T118, half60_in_ga(s(T117)))
U31_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(s(s(0))))))))
TIMES69_IN_GGA(s(T117), T118) → U33_GGA(T117, T118, even36_in_gg(s(T117), true))
U33_GGA(T117, T118, even36_out_gg(s(T117), true)) → U34_GGA(T117, T118, half60_in_ga(s(T117)))
U34_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGA(T120, T118)
U37_GGA(T171, T172, even36_out_gg(s(T171), false)) → TIMES69_IN_GGA(T171, T172)
TIMES69_IN_GGG(s(T117), T118, 0) → U9_GGG(T117, T118, even36_in_gg(s(T117), true))
U9_GGG(T117, T118, even36_out_gg(s(T117), true)) → U10_GGG(T117, T118, half60_in_ga(s(T117)))
U10_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, 0)
TIMES69_IN_GGG(s(x0), z1, 0) → U5_GGG(x0, z1, 0, even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z1, s(0)) → U5_GGG(x0, z1, s(0), even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z1, s(s(0))) → U5_GGG(x0, z1, s(s(0)), even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z1, s(s(s(0)))) → U5_GGG(x0, z1, s(s(s(0))), even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(0))))) → U5_GGG(x0, z1, s(s(s(s(0)))), even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(s(0)))))) → U5_GGG(x0, z1, s(s(s(s(s(0))))), even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(s(s(0))))))) → U5_GGG(x0, z1, s(s(s(s(s(s(0)))))), even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(s(s(s(0)))))))) → U5_GGG(x0, z1, s(s(s(s(s(s(s(0))))))), even36_in_gg(s(x0), true))
U5_GGG(z0, z1, 0, even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, 0, half60_in_ga(s(z0)))
U5_GGG(z0, z1, s(0), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(0), half60_in_ga(s(z0)))
U5_GGG(z0, z1, s(s(0)), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(0)), half60_in_ga(s(z0)))
U5_GGG(z0, z1, s(s(s(0))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(0))), half60_in_ga(s(z0)))
U5_GGG(z0, z1, s(s(s(s(0)))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(s(0)))), half60_in_ga(s(z0)))
U5_GGG(z0, z1, s(s(s(s(s(0))))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(s(s(0))))), half60_in_ga(s(z0)))
U5_GGG(z0, z1, s(s(s(s(s(s(0)))))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(s(s(s(0)))))), half60_in_ga(s(z0)))
U5_GGG(z0, z1, s(s(s(s(s(s(s(0))))))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(s(s(s(s(0))))))), half60_in_ga(s(z0)))
U7_GGG(z0, z1, 0, half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
U7_GGG(z0, z1, s(0), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
U7_GGG(z0, z1, s(s(0)), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
U7_GGG(z0, z1, s(s(s(0))), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
U7_GGG(z0, z1, s(s(s(s(0)))), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
U7_GGG(z0, z1, s(s(s(s(s(0))))), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
U7_GGG(z0, z1, s(s(s(s(s(s(0)))))), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
U7_GGG(z0, z1, s(s(s(s(s(s(s(0))))))), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
TIMES69_IN_GGG(s(x0), z1, 0) → U37_GGG(x0, z1, 0, even36_in_gg(s(x0), false))
TIMES69_IN_GGG(s(x0), z1, s(0)) → U37_GGG(x0, z1, s(0), even36_in_gg(s(x0), false))
TIMES69_IN_GGG(s(x0), z1, s(s(0))) → U37_GGG(x0, z1, s(s(0)), even36_in_gg(s(x0), false))
TIMES69_IN_GGG(s(x0), z1, s(s(s(0)))) → U37_GGG(x0, z1, s(s(s(0))), even36_in_gg(s(x0), false))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(0))))) → U37_GGG(x0, z1, s(s(s(s(0)))), even36_in_gg(s(x0), false))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(s(0)))))) → U37_GGG(x0, z1, s(s(s(s(s(0))))), even36_in_gg(s(x0), false))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(s(s(0))))))) → U37_GGG(x0, z1, s(s(s(s(s(s(0)))))), even36_in_gg(s(x0), false))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(s(s(s(0)))))))) → U37_GGG(x0, z1, s(s(s(s(s(s(s(0))))))), even36_in_gg(s(x0), false))

The TRS R consists of the following rules:

even36_in_gg(s(s(T61)), X101) → U2_gg(T61, X101, even36_in_gg(T61, X101))
half60_in_ga(s(s(T89))) → U3_ga(T89, half60_in_ga(T89))
even36_in_gg(s(0), false) → even36_out_gg(s(0), false)
U2_gg(T61, X101, even36_out_gg(T61, X101)) → even36_out_gg(s(s(T61)), X101)
U3_ga(T89, half60_out_ga(T89, X156)) → half60_out_ga(s(s(T89)), s(X156))
even36_in_gg(0, true) → even36_out_gg(0, true)
half60_in_ga(0) → half60_out_ga(0, 0)

The set Q consists of the following terms:

even36_in_gg(x0, x1)
half60_in_ga(x0)
U2_gg(x0, x1, x2)
U3_ga(x0, x1)

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

(89) DependencyGraphProof (EQUIVALENT transformation)

The approximation of the Dependency Graph [LPAR04,FROCOS05,EDGSTAR] contains 1 SCC with 9 less nodes.

(90) Obligation:

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

U5_GGA(T117, T118, even36_out_gg(s(T117), true)) → U7_GGA(T117, T118, half60_in_ga(s(T117)))
U7_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGA(T120, T118)
TIMES69_IN_GGA(s(T117), T118) → U5_GGA(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGA(s(T117), T118) → U9_GGA(T117, T118, even36_in_gg(s(T117), true))
U9_GGA(T117, T118, even36_out_gg(s(T117), true)) → U10_GGA(T117, T118, half60_in_ga(s(T117)))
U10_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, 0)
TIMES69_IN_GGG(s(T117), T118, 0) → U9_GGG(T117, T118, even36_in_gg(s(T117), true))
U9_GGG(T117, T118, even36_out_gg(s(T117), true)) → U10_GGG(T117, T118, half60_in_ga(s(T117)))
U10_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, 0)
TIMES69_IN_GGG(s(x0), z1, 0) → U5_GGG(x0, z1, 0, even36_in_gg(s(x0), true))
U5_GGG(z0, z1, 0, even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, 0, half60_in_ga(s(z0)))
U7_GGG(z0, z1, 0, half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
TIMES69_IN_GGA(s(T117), T118) → U12_GGA(T117, T118, even36_in_gg(s(T117), true))
U12_GGA(T117, T118, even36_out_gg(s(T117), true)) → U13_GGA(T117, T118, half60_in_ga(s(T117)))
U13_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(0))
TIMES69_IN_GGG(s(x0), z1, s(0)) → U5_GGG(x0, z1, s(0), even36_in_gg(s(x0), true))
U5_GGG(z0, z1, s(0), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(0), half60_in_ga(s(z0)))
U7_GGG(z0, z1, s(0), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
TIMES69_IN_GGA(s(T117), T118) → U15_GGA(T117, T118, even36_in_gg(s(T117), true))
U15_GGA(T117, T118, even36_out_gg(s(T117), true)) → U16_GGA(T117, T118, half60_in_ga(s(T117)))
U16_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(0)))
TIMES69_IN_GGG(s(T117), T118, s(s(0))) → U12_GGG(T117, T118, even36_in_gg(s(T117), true))
U12_GGG(T117, T118, even36_out_gg(s(T117), true)) → U13_GGG(T117, T118, half60_in_ga(s(T117)))
U13_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(0))
TIMES69_IN_GGG(s(x0), z1, s(s(0))) → U5_GGG(x0, z1, s(s(0)), even36_in_gg(s(x0), true))
U5_GGG(z0, z1, s(s(0)), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(0)), half60_in_ga(s(z0)))
U7_GGG(z0, z1, s(s(0)), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
TIMES69_IN_GGA(s(T117), T118) → U18_GGA(T117, T118, even36_in_gg(s(T117), true))
U18_GGA(T117, T118, even36_out_gg(s(T117), true)) → U19_GGA(T117, T118, half60_in_ga(s(T117)))
U19_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(0))))
TIMES69_IN_GGG(s(x0), z1, s(s(s(0)))) → U5_GGG(x0, z1, s(s(s(0))), even36_in_gg(s(x0), true))
U5_GGG(z0, z1, s(s(s(0))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(0))), half60_in_ga(s(z0)))
U7_GGG(z0, z1, s(s(s(0))), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
TIMES69_IN_GGA(s(T117), T118) → U21_GGA(T117, T118, even36_in_gg(s(T117), true))
U21_GGA(T117, T118, even36_out_gg(s(T117), true)) → U22_GGA(T117, T118, half60_in_ga(s(T117)))
U22_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(0)))))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(0))))) → U15_GGG(T117, T118, even36_in_gg(s(T117), true))
U15_GGG(T117, T118, even36_out_gg(s(T117), true)) → U16_GGG(T117, T118, half60_in_ga(s(T117)))
U16_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(0)))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(0))))) → U5_GGG(x0, z1, s(s(s(s(0)))), even36_in_gg(s(x0), true))
U5_GGG(z0, z1, s(s(s(s(0)))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(s(0)))), half60_in_ga(s(z0)))
U7_GGG(z0, z1, s(s(s(s(0)))), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
TIMES69_IN_GGA(s(T117), T118) → U24_GGA(T117, T118, even36_in_gg(s(T117), true))
U24_GGA(T117, T118, even36_out_gg(s(T117), true)) → U25_GGA(T117, T118, half60_in_ga(s(T117)))
U25_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(0))))))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(s(0)))))) → U5_GGG(x0, z1, s(s(s(s(s(0))))), even36_in_gg(s(x0), true))
U5_GGG(z0, z1, s(s(s(s(s(0))))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(s(s(0))))), half60_in_ga(s(z0)))
U7_GGG(z0, z1, s(s(s(s(s(0))))), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
TIMES69_IN_GGA(s(T117), T118) → U27_GGA(T117, T118, even36_in_gg(s(T117), true))
U27_GGA(T117, T118, even36_out_gg(s(T117), true)) → U28_GGA(T117, T118, half60_in_ga(s(T117)))
U28_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(s(0)))))))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_GGG(T117, T118, even36_in_gg(s(T117), true))
U18_GGG(T117, T118, even36_out_gg(s(T117), true)) → U19_GGG(T117, T118, half60_in_ga(s(T117)))
U19_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(0))))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(s(s(0))))))) → U5_GGG(x0, z1, s(s(s(s(s(s(0)))))), even36_in_gg(s(x0), true))
U5_GGG(z0, z1, s(s(s(s(s(s(0)))))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(s(s(s(0)))))), half60_in_ga(s(z0)))
U7_GGG(z0, z1, s(s(s(s(s(s(0)))))), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
TIMES69_IN_GGA(s(T117), T118) → U30_GGA(T117, T118, even36_in_gg(s(T117), true))
U30_GGA(T117, T118, even36_out_gg(s(T117), true)) → U31_GGA(T117, T118, half60_in_ga(s(T117)))
U31_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(s(s(0))))))))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(s(s(s(0)))))))) → U5_GGG(x0, z1, s(s(s(s(s(s(s(0))))))), even36_in_gg(s(x0), true))
U5_GGG(z0, z1, s(s(s(s(s(s(s(0))))))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(s(s(s(s(0))))))), half60_in_ga(s(z0)))
U7_GGG(z0, z1, s(s(s(s(s(s(s(0))))))), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
TIMES69_IN_GGA(s(T117), T118) → U33_GGA(T117, T118, even36_in_gg(s(T117), true))
U33_GGA(T117, T118, even36_out_gg(s(T117), true)) → U34_GGA(T117, T118, half60_in_ga(s(T117)))
U34_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGA(T120, T118)

The TRS R consists of the following rules:

even36_in_gg(s(s(T61)), X101) → U2_gg(T61, X101, even36_in_gg(T61, X101))
half60_in_ga(s(s(T89))) → U3_ga(T89, half60_in_ga(T89))
even36_in_gg(s(0), false) → even36_out_gg(s(0), false)
U2_gg(T61, X101, even36_out_gg(T61, X101)) → even36_out_gg(s(s(T61)), X101)
U3_ga(T89, half60_out_ga(T89, X156)) → half60_out_ga(s(s(T89)), s(X156))
even36_in_gg(0, true) → even36_out_gg(0, true)
half60_in_ga(0) → half60_out_ga(0, 0)

The set Q consists of the following terms:

even36_in_gg(x0, x1)
half60_in_ga(x0)
U2_gg(x0, x1, x2)
U3_ga(x0, x1)

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

(91) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U19_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(0))))
The remaining pairs can at least be oriented weakly.
Used ordering: Matrix interpretation [MATRO]:

POL(U5_GGA(x1, x2, x3)) = 0 +
[1,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(even36_out_gg(x1, x2)) =
/0\
\0/
+
/10\
\00/
·x1 +
/01\
\00/
·x2

POL(s(x1)) =
/0\
\1/
+
/11\
\00/
·x1

POL(true) =
/0\
\0/

POL(U7_GGA(x1, x2, x3)) = 0 +
[0,0]
·x1 +
[0,0]
·x2 +
[1,0]
·x3

POL(half60_in_ga(x1)) =
/0\
\0/
+
/10\
\10/
·x1

POL(half60_out_ga(x1, x2)) =
/0\
\0/
+
/00\
\01/
·x1 +
/11\
\10/
·x2

POL(TIMES69_IN_GGA(x1, x2)) = 0 +
[1,0]
·x1 +
[0,0]
·x2

POL(even36_in_gg(x1, x2)) =
/0\
\0/
+
/00\
\00/
·x1 +
/00\
\00/
·x2

POL(U9_GGA(x1, x2, x3)) = 0 +
[1,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(U10_GGA(x1, x2, x3)) = 0 +
[0,0]
·x1 +
[0,0]
·x2 +
[1,0]
·x3

POL(TIMES69_IN_GGG(x1, x2, x3)) = 0 +
[1,0]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(0) =
/0\
\0/

POL(U9_GGG(x1, x2, x3)) = 0 +
[1,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(U10_GGG(x1, x2, x3)) = 0 +
[0,0]
·x1 +
[0,0]
·x2 +
[1,0]
·x3

POL(U5_GGG(x1, x2, x3, x4)) = 0 +
[1,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3 +
[0,0]
·x4

POL(U7_GGG(x1, x2, x3, x4)) = 0 +
[0,0]
·x1 +
[0,0]
·x2 +
[0,0]
·x3 +
[1,0]
·x4

POL(U12_GGA(x1, x2, x3)) = 0 +
[1,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(U13_GGA(x1, x2, x3)) = 0 +
[0,0]
·x1 +
[0,0]
·x2 +
[1,0]
·x3

POL(U15_GGA(x1, x2, x3)) = 0 +
[1,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(U16_GGA(x1, x2, x3)) = 0 +
[0,0]
·x1 +
[0,0]
·x2 +
[1,0]
·x3

POL(U12_GGG(x1, x2, x3)) = 0 +
[1,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(U13_GGG(x1, x2, x3)) = 0 +
[0,0]
·x1 +
[0,0]
·x2 +
[1,0]
·x3

POL(U18_GGA(x1, x2, x3)) = 0 +
[1,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(U19_GGA(x1, x2, x3)) = 0 +
[0,0]
·x1 +
[0,0]
·x2 +
[1,0]
·x3

POL(U21_GGA(x1, x2, x3)) = 0 +
[1,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(U22_GGA(x1, x2, x3)) = 0 +
[0,0]
·x1 +
[0,0]
·x2 +
[1,0]
·x3

POL(U15_GGG(x1, x2, x3)) = 0 +
[1,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(U16_GGG(x1, x2, x3)) = 0 +
[0,0]
·x1 +
[0,0]
·x2 +
[1,0]
·x3

POL(U24_GGA(x1, x2, x3)) = 0 +
[1,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(U25_GGA(x1, x2, x3)) = 0 +
[0,0]
·x1 +
[0,0]
·x2 +
[1,0]
·x3

POL(U27_GGA(x1, x2, x3)) = 0 +
[1,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(U28_GGA(x1, x2, x3)) = 0 +
[0,0]
·x1 +
[0,0]
·x2 +
[1,0]
·x3

POL(U18_GGG(x1, x2, x3)) = 0 +
[1,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(U19_GGG(x1, x2, x3)) = 0 +
[0,0]
·x1 +
[0,0]
·x2 +
[0,1]
·x3

POL(U30_GGA(x1, x2, x3)) = 0 +
[1,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(U31_GGA(x1, x2, x3)) = 0 +
[0,0]
·x1 +
[0,0]
·x2 +
[1,0]
·x3

POL(U33_GGA(x1, x2, x3)) = 0 +
[1,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(U34_GGA(x1, x2, x3)) = 0 +
[0,0]
·x1 +
[0,0]
·x2 +
[1,0]
·x3

POL(U3_ga(x1, x2)) =
/1\
\1/
+
/01\
\01/
·x1 +
/10\
\10/
·x2

POL(U2_gg(x1, x2, x3)) =
/0\
\1/
+
/11\
\11/
·x1 +
/11\
\11/
·x2 +
/00\
\00/
·x3

POL(false) =
/0\
\0/

The following usable rules [FROCOS05] were oriented:

half60_in_ga(s(s(T89))) → U3_ga(T89, half60_in_ga(T89))
half60_in_ga(0) → half60_out_ga(0, 0)
U3_ga(T89, half60_out_ga(T89, X156)) → half60_out_ga(s(s(T89)), s(X156))

(92) Obligation:

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

U5_GGA(T117, T118, even36_out_gg(s(T117), true)) → U7_GGA(T117, T118, half60_in_ga(s(T117)))
U7_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGA(T120, T118)
TIMES69_IN_GGA(s(T117), T118) → U5_GGA(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGA(s(T117), T118) → U9_GGA(T117, T118, even36_in_gg(s(T117), true))
U9_GGA(T117, T118, even36_out_gg(s(T117), true)) → U10_GGA(T117, T118, half60_in_ga(s(T117)))
U10_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, 0)
TIMES69_IN_GGG(s(T117), T118, 0) → U9_GGG(T117, T118, even36_in_gg(s(T117), true))
U9_GGG(T117, T118, even36_out_gg(s(T117), true)) → U10_GGG(T117, T118, half60_in_ga(s(T117)))
U10_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, 0)
TIMES69_IN_GGG(s(x0), z1, 0) → U5_GGG(x0, z1, 0, even36_in_gg(s(x0), true))
U5_GGG(z0, z1, 0, even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, 0, half60_in_ga(s(z0)))
U7_GGG(z0, z1, 0, half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
TIMES69_IN_GGA(s(T117), T118) → U12_GGA(T117, T118, even36_in_gg(s(T117), true))
U12_GGA(T117, T118, even36_out_gg(s(T117), true)) → U13_GGA(T117, T118, half60_in_ga(s(T117)))
U13_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(0))
TIMES69_IN_GGG(s(x0), z1, s(0)) → U5_GGG(x0, z1, s(0), even36_in_gg(s(x0), true))
U5_GGG(z0, z1, s(0), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(0), half60_in_ga(s(z0)))
U7_GGG(z0, z1, s(0), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
TIMES69_IN_GGA(s(T117), T118) → U15_GGA(T117, T118, even36_in_gg(s(T117), true))
U15_GGA(T117, T118, even36_out_gg(s(T117), true)) → U16_GGA(T117, T118, half60_in_ga(s(T117)))
U16_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(0)))
TIMES69_IN_GGG(s(T117), T118, s(s(0))) → U12_GGG(T117, T118, even36_in_gg(s(T117), true))
U12_GGG(T117, T118, even36_out_gg(s(T117), true)) → U13_GGG(T117, T118, half60_in_ga(s(T117)))
U13_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(0))
TIMES69_IN_GGG(s(x0), z1, s(s(0))) → U5_GGG(x0, z1, s(s(0)), even36_in_gg(s(x0), true))
U5_GGG(z0, z1, s(s(0)), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(0)), half60_in_ga(s(z0)))
U7_GGG(z0, z1, s(s(0)), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
TIMES69_IN_GGA(s(T117), T118) → U18_GGA(T117, T118, even36_in_gg(s(T117), true))
U18_GGA(T117, T118, even36_out_gg(s(T117), true)) → U19_GGA(T117, T118, half60_in_ga(s(T117)))
U19_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(0))))
TIMES69_IN_GGG(s(x0), z1, s(s(s(0)))) → U5_GGG(x0, z1, s(s(s(0))), even36_in_gg(s(x0), true))
U5_GGG(z0, z1, s(s(s(0))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(0))), half60_in_ga(s(z0)))
U7_GGG(z0, z1, s(s(s(0))), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
TIMES69_IN_GGA(s(T117), T118) → U21_GGA(T117, T118, even36_in_gg(s(T117), true))
U21_GGA(T117, T118, even36_out_gg(s(T117), true)) → U22_GGA(T117, T118, half60_in_ga(s(T117)))
U22_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(0)))))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(0))))) → U15_GGG(T117, T118, even36_in_gg(s(T117), true))
U15_GGG(T117, T118, even36_out_gg(s(T117), true)) → U16_GGG(T117, T118, half60_in_ga(s(T117)))
U16_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(0)))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(0))))) → U5_GGG(x0, z1, s(s(s(s(0)))), even36_in_gg(s(x0), true))
U5_GGG(z0, z1, s(s(s(s(0)))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(s(0)))), half60_in_ga(s(z0)))
U7_GGG(z0, z1, s(s(s(s(0)))), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
TIMES69_IN_GGA(s(T117), T118) → U24_GGA(T117, T118, even36_in_gg(s(T117), true))
U24_GGA(T117, T118, even36_out_gg(s(T117), true)) → U25_GGA(T117, T118, half60_in_ga(s(T117)))
U25_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(0))))))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(s(0)))))) → U5_GGG(x0, z1, s(s(s(s(s(0))))), even36_in_gg(s(x0), true))
U5_GGG(z0, z1, s(s(s(s(s(0))))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(s(s(0))))), half60_in_ga(s(z0)))
U7_GGG(z0, z1, s(s(s(s(s(0))))), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
TIMES69_IN_GGA(s(T117), T118) → U27_GGA(T117, T118, even36_in_gg(s(T117), true))
U27_GGA(T117, T118, even36_out_gg(s(T117), true)) → U28_GGA(T117, T118, half60_in_ga(s(T117)))
U28_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(s(0)))))))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_GGG(T117, T118, even36_in_gg(s(T117), true))
U18_GGG(T117, T118, even36_out_gg(s(T117), true)) → U19_GGG(T117, T118, half60_in_ga(s(T117)))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(s(s(0))))))) → U5_GGG(x0, z1, s(s(s(s(s(s(0)))))), even36_in_gg(s(x0), true))
U5_GGG(z0, z1, s(s(s(s(s(s(0)))))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(s(s(s(0)))))), half60_in_ga(s(z0)))
U7_GGG(z0, z1, s(s(s(s(s(s(0)))))), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
TIMES69_IN_GGA(s(T117), T118) → U30_GGA(T117, T118, even36_in_gg(s(T117), true))
U30_GGA(T117, T118, even36_out_gg(s(T117), true)) → U31_GGA(T117, T118, half60_in_ga(s(T117)))
U31_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(s(s(0))))))))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(s(s(s(0)))))))) → U5_GGG(x0, z1, s(s(s(s(s(s(s(0))))))), even36_in_gg(s(x0), true))
U5_GGG(z0, z1, s(s(s(s(s(s(s(0))))))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(s(s(s(s(0))))))), half60_in_ga(s(z0)))
U7_GGG(z0, z1, s(s(s(s(s(s(s(0))))))), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
TIMES69_IN_GGA(s(T117), T118) → U33_GGA(T117, T118, even36_in_gg(s(T117), true))
U33_GGA(T117, T118, even36_out_gg(s(T117), true)) → U34_GGA(T117, T118, half60_in_ga(s(T117)))
U34_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGA(T120, T118)

The TRS R consists of the following rules:

even36_in_gg(s(s(T61)), X101) → U2_gg(T61, X101, even36_in_gg(T61, X101))
half60_in_ga(s(s(T89))) → U3_ga(T89, half60_in_ga(T89))
even36_in_gg(s(0), false) → even36_out_gg(s(0), false)
U2_gg(T61, X101, even36_out_gg(T61, X101)) → even36_out_gg(s(s(T61)), X101)
U3_ga(T89, half60_out_ga(T89, X156)) → half60_out_ga(s(s(T89)), s(X156))
even36_in_gg(0, true) → even36_out_gg(0, true)
half60_in_ga(0) → half60_out_ga(0, 0)

The set Q consists of the following terms:

even36_in_gg(x0, x1)
half60_in_ga(x0)
U2_gg(x0, x1, x2)
U3_ga(x0, x1)

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

(93) DependencyGraphProof (EQUIVALENT transformation)

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

(94) Obligation:

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

U7_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGA(T120, T118)
TIMES69_IN_GGA(s(T117), T118) → U5_GGA(T117, T118, even36_in_gg(s(T117), true))
U5_GGA(T117, T118, even36_out_gg(s(T117), true)) → U7_GGA(T117, T118, half60_in_ga(s(T117)))
TIMES69_IN_GGA(s(T117), T118) → U9_GGA(T117, T118, even36_in_gg(s(T117), true))
U9_GGA(T117, T118, even36_out_gg(s(T117), true)) → U10_GGA(T117, T118, half60_in_ga(s(T117)))
U10_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, 0)
TIMES69_IN_GGG(s(T117), T118, 0) → U9_GGG(T117, T118, even36_in_gg(s(T117), true))
U9_GGG(T117, T118, even36_out_gg(s(T117), true)) → U10_GGG(T117, T118, half60_in_ga(s(T117)))
U10_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, 0)
TIMES69_IN_GGG(s(x0), z1, 0) → U5_GGG(x0, z1, 0, even36_in_gg(s(x0), true))
U5_GGG(z0, z1, 0, even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, 0, half60_in_ga(s(z0)))
U7_GGG(z0, z1, 0, half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
TIMES69_IN_GGA(s(T117), T118) → U12_GGA(T117, T118, even36_in_gg(s(T117), true))
U12_GGA(T117, T118, even36_out_gg(s(T117), true)) → U13_GGA(T117, T118, half60_in_ga(s(T117)))
U13_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(0))
TIMES69_IN_GGG(s(x0), z1, s(0)) → U5_GGG(x0, z1, s(0), even36_in_gg(s(x0), true))
U5_GGG(z0, z1, s(0), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(0), half60_in_ga(s(z0)))
U7_GGG(z0, z1, s(0), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
TIMES69_IN_GGA(s(T117), T118) → U15_GGA(T117, T118, even36_in_gg(s(T117), true))
U15_GGA(T117, T118, even36_out_gg(s(T117), true)) → U16_GGA(T117, T118, half60_in_ga(s(T117)))
U16_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(0)))
TIMES69_IN_GGG(s(T117), T118, s(s(0))) → U12_GGG(T117, T118, even36_in_gg(s(T117), true))
U12_GGG(T117, T118, even36_out_gg(s(T117), true)) → U13_GGG(T117, T118, half60_in_ga(s(T117)))
U13_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(0))
TIMES69_IN_GGG(s(x0), z1, s(s(0))) → U5_GGG(x0, z1, s(s(0)), even36_in_gg(s(x0), true))
U5_GGG(z0, z1, s(s(0)), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(0)), half60_in_ga(s(z0)))
U7_GGG(z0, z1, s(s(0)), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
TIMES69_IN_GGA(s(T117), T118) → U18_GGA(T117, T118, even36_in_gg(s(T117), true))
U18_GGA(T117, T118, even36_out_gg(s(T117), true)) → U19_GGA(T117, T118, half60_in_ga(s(T117)))
U19_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(0))))
TIMES69_IN_GGG(s(x0), z1, s(s(s(0)))) → U5_GGG(x0, z1, s(s(s(0))), even36_in_gg(s(x0), true))
U5_GGG(z0, z1, s(s(s(0))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(0))), half60_in_ga(s(z0)))
U7_GGG(z0, z1, s(s(s(0))), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
TIMES69_IN_GGA(s(T117), T118) → U21_GGA(T117, T118, even36_in_gg(s(T117), true))
U21_GGA(T117, T118, even36_out_gg(s(T117), true)) → U22_GGA(T117, T118, half60_in_ga(s(T117)))
U22_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(0)))))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(0))))) → U15_GGG(T117, T118, even36_in_gg(s(T117), true))
U15_GGG(T117, T118, even36_out_gg(s(T117), true)) → U16_GGG(T117, T118, half60_in_ga(s(T117)))
U16_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(0)))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(0))))) → U5_GGG(x0, z1, s(s(s(s(0)))), even36_in_gg(s(x0), true))
U5_GGG(z0, z1, s(s(s(s(0)))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(s(0)))), half60_in_ga(s(z0)))
U7_GGG(z0, z1, s(s(s(s(0)))), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
TIMES69_IN_GGA(s(T117), T118) → U24_GGA(T117, T118, even36_in_gg(s(T117), true))
U24_GGA(T117, T118, even36_out_gg(s(T117), true)) → U25_GGA(T117, T118, half60_in_ga(s(T117)))
U25_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(0))))))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(s(0)))))) → U5_GGG(x0, z1, s(s(s(s(s(0))))), even36_in_gg(s(x0), true))
U5_GGG(z0, z1, s(s(s(s(s(0))))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(s(s(0))))), half60_in_ga(s(z0)))
U7_GGG(z0, z1, s(s(s(s(s(0))))), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
TIMES69_IN_GGA(s(T117), T118) → U27_GGA(T117, T118, even36_in_gg(s(T117), true))
U27_GGA(T117, T118, even36_out_gg(s(T117), true)) → U28_GGA(T117, T118, half60_in_ga(s(T117)))
U28_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(s(0)))))))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(s(s(0))))))) → U5_GGG(x0, z1, s(s(s(s(s(s(0)))))), even36_in_gg(s(x0), true))
U5_GGG(z0, z1, s(s(s(s(s(s(0)))))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(s(s(s(0)))))), half60_in_ga(s(z0)))
U7_GGG(z0, z1, s(s(s(s(s(s(0)))))), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
TIMES69_IN_GGA(s(T117), T118) → U30_GGA(T117, T118, even36_in_gg(s(T117), true))
U30_GGA(T117, T118, even36_out_gg(s(T117), true)) → U31_GGA(T117, T118, half60_in_ga(s(T117)))
U31_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(s(s(0))))))))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(s(s(s(0)))))))) → U5_GGG(x0, z1, s(s(s(s(s(s(s(0))))))), even36_in_gg(s(x0), true))
U5_GGG(z0, z1, s(s(s(s(s(s(s(0))))))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(s(s(s(s(0))))))), half60_in_ga(s(z0)))
U7_GGG(z0, z1, s(s(s(s(s(s(s(0))))))), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
TIMES69_IN_GGA(s(T117), T118) → U33_GGA(T117, T118, even36_in_gg(s(T117), true))
U33_GGA(T117, T118, even36_out_gg(s(T117), true)) → U34_GGA(T117, T118, half60_in_ga(s(T117)))
U34_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGA(T120, T118)

The TRS R consists of the following rules:

even36_in_gg(s(s(T61)), X101) → U2_gg(T61, X101, even36_in_gg(T61, X101))
half60_in_ga(s(s(T89))) → U3_ga(T89, half60_in_ga(T89))
even36_in_gg(s(0), false) → even36_out_gg(s(0), false)
U2_gg(T61, X101, even36_out_gg(T61, X101)) → even36_out_gg(s(s(T61)), X101)
U3_ga(T89, half60_out_ga(T89, X156)) → half60_out_ga(s(s(T89)), s(X156))
even36_in_gg(0, true) → even36_out_gg(0, true)
half60_in_ga(0) → half60_out_ga(0, 0)

The set Q consists of the following terms:

even36_in_gg(x0, x1)
half60_in_ga(x0)
U2_gg(x0, x1, x2)
U3_ga(x0, x1)

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

(95) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U10_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, 0)
U13_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(0))
U16_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(0)))
The remaining pairs can at least be oriented weakly.
Used ordering: Matrix interpretation [MATRO]:

POL(U7_GGA(x1, x2, x3)) = 0 +
[0,0]
·x1 +
[0,0]
·x2 +
[0,1]
·x3

POL(half60_out_ga(x1, x2)) =
/0\
\0/
+
/01\
\00/
·x1 +
/10\
\11/
·x2

POL(s(x1)) =
/0\
\1/
+
/11\
\00/
·x1

POL(TIMES69_IN_GGA(x1, x2)) = 0 +
[1,0]
·x1 +
[0,0]
·x2

POL(U5_GGA(x1, x2, x3)) = 0 +
[1,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(even36_in_gg(x1, x2)) =
/0\
\0/
+
/00\
\00/
·x1 +
/00\
\01/
·x2

POL(true) =
/1\
\0/

POL(even36_out_gg(x1, x2)) =
/0\
\0/
+
/10\
\00/
·x1 +
/01\
\10/
·x2

POL(half60_in_ga(x1)) =
/0\
\0/
+
/10\
\10/
·x1

POL(U9_GGA(x1, x2, x3)) = 0 +
[1,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(U10_GGA(x1, x2, x3)) = 0 +
[0,0]
·x1 +
[0,0]
·x2 +
[0,1]
·x3

POL(TIMES69_IN_GGG(x1, x2, x3)) = 0 +
[1,0]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(0) =
/0\
\0/

POL(U9_GGG(x1, x2, x3)) = 0 +
[1,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(U10_GGG(x1, x2, x3)) = 0 +
[0,0]
·x1 +
[0,0]
·x2 +
[1,0]
·x3

POL(U5_GGG(x1, x2, x3, x4)) = 0 +
[1,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3 +
[0,0]
·x4

POL(U7_GGG(x1, x2, x3, x4)) = 0 +
[0,0]
·x1 +
[0,0]
·x2 +
[0,0]
·x3 +
[0,1]
·x4

POL(U12_GGA(x1, x2, x3)) = 0 +
[1,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(U13_GGA(x1, x2, x3)) = 0 +
[0,0]
·x1 +
[0,0]
·x2 +
[0,1]
·x3

POL(U15_GGA(x1, x2, x3)) = 0 +
[1,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(U16_GGA(x1, x2, x3)) = 0 +
[0,0]
·x1 +
[0,0]
·x2 +
[0,1]
·x3

POL(U12_GGG(x1, x2, x3)) = 0 +
[1,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(U13_GGG(x1, x2, x3)) = 0 +
[0,0]
·x1 +
[0,0]
·x2 +
[1,0]
·x3

POL(U18_GGA(x1, x2, x3)) = 0 +
[1,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(U19_GGA(x1, x2, x3)) = 0 +
[0,0]
·x1 +
[0,0]
·x2 +
[0,1]
·x3

POL(U21_GGA(x1, x2, x3)) = 0 +
[1,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(U22_GGA(x1, x2, x3)) = 0 +
[0,0]
·x1 +
[0,0]
·x2 +
[0,1]
·x3

POL(U15_GGG(x1, x2, x3)) = 0 +
[1,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(U16_GGG(x1, x2, x3)) = 0 +
[0,0]
·x1 +
[0,0]
·x2 +
[1,0]
·x3

POL(U24_GGA(x1, x2, x3)) = 0 +
[1,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(U25_GGA(x1, x2, x3)) = 0 +
[0,0]
·x1 +
[0,0]
·x2 +
[0,1]
·x3

POL(U27_GGA(x1, x2, x3)) = 0 +
[1,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(U28_GGA(x1, x2, x3)) = 0 +
[0,0]
·x1 +
[0,0]
·x2 +
[0,1]
·x3

POL(U30_GGA(x1, x2, x3)) = 0 +
[1,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(U31_GGA(x1, x2, x3)) = 0 +
[0,0]
·x1 +
[0,0]
·x2 +
[0,1]
·x3

POL(U33_GGA(x1, x2, x3)) = 0 +
[1,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(U34_GGA(x1, x2, x3)) = 0 +
[0,0]
·x1 +
[0,0]
·x2 +
[0,1]
·x3

POL(U2_gg(x1, x2, x3)) =
/0\
\0/
+
/11\
\11/
·x1 +
/10\
\00/
·x2 +
/01\
\00/
·x3

POL(U3_ga(x1, x2)) =
/1\
\1/
+
/01\
\01/
·x1 +
/01\
\01/
·x2

POL(false) =
/0\
\1/

The following usable rules [FROCOS05] were oriented:

half60_in_ga(s(s(T89))) → U3_ga(T89, half60_in_ga(T89))
half60_in_ga(0) → half60_out_ga(0, 0)
U3_ga(T89, half60_out_ga(T89, X156)) → half60_out_ga(s(s(T89)), s(X156))

(96) Obligation:

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

U7_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGA(T120, T118)
TIMES69_IN_GGA(s(T117), T118) → U5_GGA(T117, T118, even36_in_gg(s(T117), true))
U5_GGA(T117, T118, even36_out_gg(s(T117), true)) → U7_GGA(T117, T118, half60_in_ga(s(T117)))
TIMES69_IN_GGA(s(T117), T118) → U9_GGA(T117, T118, even36_in_gg(s(T117), true))
U9_GGA(T117, T118, even36_out_gg(s(T117), true)) → U10_GGA(T117, T118, half60_in_ga(s(T117)))
U10_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, 0)
TIMES69_IN_GGG(s(T117), T118, 0) → U9_GGG(T117, T118, even36_in_gg(s(T117), true))
U9_GGG(T117, T118, even36_out_gg(s(T117), true)) → U10_GGG(T117, T118, half60_in_ga(s(T117)))
TIMES69_IN_GGG(s(x0), z1, 0) → U5_GGG(x0, z1, 0, even36_in_gg(s(x0), true))
U5_GGG(z0, z1, 0, even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, 0, half60_in_ga(s(z0)))
U7_GGG(z0, z1, 0, half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
TIMES69_IN_GGA(s(T117), T118) → U12_GGA(T117, T118, even36_in_gg(s(T117), true))
U12_GGA(T117, T118, even36_out_gg(s(T117), true)) → U13_GGA(T117, T118, half60_in_ga(s(T117)))
U13_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(0))
TIMES69_IN_GGG(s(x0), z1, s(0)) → U5_GGG(x0, z1, s(0), even36_in_gg(s(x0), true))
U5_GGG(z0, z1, s(0), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(0), half60_in_ga(s(z0)))
U7_GGG(z0, z1, s(0), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
TIMES69_IN_GGA(s(T117), T118) → U15_GGA(T117, T118, even36_in_gg(s(T117), true))
U15_GGA(T117, T118, even36_out_gg(s(T117), true)) → U16_GGA(T117, T118, half60_in_ga(s(T117)))
U16_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(0)))
TIMES69_IN_GGG(s(T117), T118, s(s(0))) → U12_GGG(T117, T118, even36_in_gg(s(T117), true))
U12_GGG(T117, T118, even36_out_gg(s(T117), true)) → U13_GGG(T117, T118, half60_in_ga(s(T117)))
TIMES69_IN_GGG(s(x0), z1, s(s(0))) → U5_GGG(x0, z1, s(s(0)), even36_in_gg(s(x0), true))
U5_GGG(z0, z1, s(s(0)), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(0)), half60_in_ga(s(z0)))
U7_GGG(z0, z1, s(s(0)), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
TIMES69_IN_GGA(s(T117), T118) → U18_GGA(T117, T118, even36_in_gg(s(T117), true))
U18_GGA(T117, T118, even36_out_gg(s(T117), true)) → U19_GGA(T117, T118, half60_in_ga(s(T117)))
U19_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(0))))
TIMES69_IN_GGG(s(x0), z1, s(s(s(0)))) → U5_GGG(x0, z1, s(s(s(0))), even36_in_gg(s(x0), true))
U5_GGG(z0, z1, s(s(s(0))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(0))), half60_in_ga(s(z0)))
U7_GGG(z0, z1, s(s(s(0))), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
TIMES69_IN_GGA(s(T117), T118) → U21_GGA(T117, T118, even36_in_gg(s(T117), true))
U21_GGA(T117, T118, even36_out_gg(s(T117), true)) → U22_GGA(T117, T118, half60_in_ga(s(T117)))
U22_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(0)))))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(0))))) → U15_GGG(T117, T118, even36_in_gg(s(T117), true))
U15_GGG(T117, T118, even36_out_gg(s(T117), true)) → U16_GGG(T117, T118, half60_in_ga(s(T117)))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(0))))) → U5_GGG(x0, z1, s(s(s(s(0)))), even36_in_gg(s(x0), true))
U5_GGG(z0, z1, s(s(s(s(0)))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(s(0)))), half60_in_ga(s(z0)))
U7_GGG(z0, z1, s(s(s(s(0)))), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
TIMES69_IN_GGA(s(T117), T118) → U24_GGA(T117, T118, even36_in_gg(s(T117), true))
U24_GGA(T117, T118, even36_out_gg(s(T117), true)) → U25_GGA(T117, T118, half60_in_ga(s(T117)))
U25_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(0))))))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(s(0)))))) → U5_GGG(x0, z1, s(s(s(s(s(0))))), even36_in_gg(s(x0), true))
U5_GGG(z0, z1, s(s(s(s(s(0))))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(s(s(0))))), half60_in_ga(s(z0)))
U7_GGG(z0, z1, s(s(s(s(s(0))))), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
TIMES69_IN_GGA(s(T117), T118) → U27_GGA(T117, T118, even36_in_gg(s(T117), true))
U27_GGA(T117, T118, even36_out_gg(s(T117), true)) → U28_GGA(T117, T118, half60_in_ga(s(T117)))
U28_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(s(0)))))))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(s(s(0))))))) → U5_GGG(x0, z1, s(s(s(s(s(s(0)))))), even36_in_gg(s(x0), true))
U5_GGG(z0, z1, s(s(s(s(s(s(0)))))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(s(s(s(0)))))), half60_in_ga(s(z0)))
U7_GGG(z0, z1, s(s(s(s(s(s(0)))))), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
TIMES69_IN_GGA(s(T117), T118) → U30_GGA(T117, T118, even36_in_gg(s(T117), true))
U30_GGA(T117, T118, even36_out_gg(s(T117), true)) → U31_GGA(T117, T118, half60_in_ga(s(T117)))
U31_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(s(s(0))))))))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(s(s(s(0)))))))) → U5_GGG(x0, z1, s(s(s(s(s(s(s(0))))))), even36_in_gg(s(x0), true))
U5_GGG(z0, z1, s(s(s(s(s(s(s(0))))))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(s(s(s(s(0))))))), half60_in_ga(s(z0)))
U7_GGG(z0, z1, s(s(s(s(s(s(s(0))))))), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
TIMES69_IN_GGA(s(T117), T118) → U33_GGA(T117, T118, even36_in_gg(s(T117), true))
U33_GGA(T117, T118, even36_out_gg(s(T117), true)) → U34_GGA(T117, T118, half60_in_ga(s(T117)))
U34_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGA(T120, T118)

The TRS R consists of the following rules:

even36_in_gg(s(s(T61)), X101) → U2_gg(T61, X101, even36_in_gg(T61, X101))
half60_in_ga(s(s(T89))) → U3_ga(T89, half60_in_ga(T89))
even36_in_gg(s(0), false) → even36_out_gg(s(0), false)
U2_gg(T61, X101, even36_out_gg(T61, X101)) → even36_out_gg(s(s(T61)), X101)
U3_ga(T89, half60_out_ga(T89, X156)) → half60_out_ga(s(s(T89)), s(X156))
even36_in_gg(0, true) → even36_out_gg(0, true)
half60_in_ga(0) → half60_out_ga(0, 0)

The set Q consists of the following terms:

even36_in_gg(x0, x1)
half60_in_ga(x0)
U2_gg(x0, x1, x2)
U3_ga(x0, x1)

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

(97) DependencyGraphProof (EQUIVALENT transformation)

The approximation of the Dependency Graph [LPAR04,FROCOS05,EDGSTAR] contains 1 SCC with 6 less nodes.

(98) Obligation:

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

TIMES69_IN_GGA(s(T117), T118) → U5_GGA(T117, T118, even36_in_gg(s(T117), true))
U5_GGA(T117, T118, even36_out_gg(s(T117), true)) → U7_GGA(T117, T118, half60_in_ga(s(T117)))
U7_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGA(T120, T118)
TIMES69_IN_GGA(s(T117), T118) → U9_GGA(T117, T118, even36_in_gg(s(T117), true))
U9_GGA(T117, T118, even36_out_gg(s(T117), true)) → U10_GGA(T117, T118, half60_in_ga(s(T117)))
U10_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, 0)
TIMES69_IN_GGG(s(x0), z1, 0) → U5_GGG(x0, z1, 0, even36_in_gg(s(x0), true))
U5_GGG(z0, z1, 0, even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, 0, half60_in_ga(s(z0)))
U7_GGG(z0, z1, 0, half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
TIMES69_IN_GGA(s(T117), T118) → U12_GGA(T117, T118, even36_in_gg(s(T117), true))
U12_GGA(T117, T118, even36_out_gg(s(T117), true)) → U13_GGA(T117, T118, half60_in_ga(s(T117)))
U13_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(0))
TIMES69_IN_GGG(s(x0), z1, s(0)) → U5_GGG(x0, z1, s(0), even36_in_gg(s(x0), true))
U5_GGG(z0, z1, s(0), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(0), half60_in_ga(s(z0)))
U7_GGG(z0, z1, s(0), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
TIMES69_IN_GGA(s(T117), T118) → U15_GGA(T117, T118, even36_in_gg(s(T117), true))
U15_GGA(T117, T118, even36_out_gg(s(T117), true)) → U16_GGA(T117, T118, half60_in_ga(s(T117)))
U16_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(0)))
TIMES69_IN_GGG(s(x0), z1, s(s(0))) → U5_GGG(x0, z1, s(s(0)), even36_in_gg(s(x0), true))
U5_GGG(z0, z1, s(s(0)), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(0)), half60_in_ga(s(z0)))
U7_GGG(z0, z1, s(s(0)), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
TIMES69_IN_GGA(s(T117), T118) → U18_GGA(T117, T118, even36_in_gg(s(T117), true))
U18_GGA(T117, T118, even36_out_gg(s(T117), true)) → U19_GGA(T117, T118, half60_in_ga(s(T117)))
U19_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(0))))
TIMES69_IN_GGG(s(x0), z1, s(s(s(0)))) → U5_GGG(x0, z1, s(s(s(0))), even36_in_gg(s(x0), true))
U5_GGG(z0, z1, s(s(s(0))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(0))), half60_in_ga(s(z0)))
U7_GGG(z0, z1, s(s(s(0))), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
TIMES69_IN_GGA(s(T117), T118) → U21_GGA(T117, T118, even36_in_gg(s(T117), true))
U21_GGA(T117, T118, even36_out_gg(s(T117), true)) → U22_GGA(T117, T118, half60_in_ga(s(T117)))
U22_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(0)))))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(0))))) → U5_GGG(x0, z1, s(s(s(s(0)))), even36_in_gg(s(x0), true))
U5_GGG(z0, z1, s(s(s(s(0)))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(s(0)))), half60_in_ga(s(z0)))
U7_GGG(z0, z1, s(s(s(s(0)))), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
TIMES69_IN_GGA(s(T117), T118) → U24_GGA(T117, T118, even36_in_gg(s(T117), true))
U24_GGA(T117, T118, even36_out_gg(s(T117), true)) → U25_GGA(T117, T118, half60_in_ga(s(T117)))
U25_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(0))))))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(s(0)))))) → U5_GGG(x0, z1, s(s(s(s(s(0))))), even36_in_gg(s(x0), true))
U5_GGG(z0, z1, s(s(s(s(s(0))))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(s(s(0))))), half60_in_ga(s(z0)))
U7_GGG(z0, z1, s(s(s(s(s(0))))), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
TIMES69_IN_GGA(s(T117), T118) → U27_GGA(T117, T118, even36_in_gg(s(T117), true))
U27_GGA(T117, T118, even36_out_gg(s(T117), true)) → U28_GGA(T117, T118, half60_in_ga(s(T117)))
U28_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(s(0)))))))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(s(s(0))))))) → U5_GGG(x0, z1, s(s(s(s(s(s(0)))))), even36_in_gg(s(x0), true))
U5_GGG(z0, z1, s(s(s(s(s(s(0)))))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(s(s(s(0)))))), half60_in_ga(s(z0)))
U7_GGG(z0, z1, s(s(s(s(s(s(0)))))), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
TIMES69_IN_GGA(s(T117), T118) → U30_GGA(T117, T118, even36_in_gg(s(T117), true))
U30_GGA(T117, T118, even36_out_gg(s(T117), true)) → U31_GGA(T117, T118, half60_in_ga(s(T117)))
U31_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(s(s(0))))))))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(s(s(s(0)))))))) → U5_GGG(x0, z1, s(s(s(s(s(s(s(0))))))), even36_in_gg(s(x0), true))
U5_GGG(z0, z1, s(s(s(s(s(s(s(0))))))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(s(s(s(s(0))))))), half60_in_ga(s(z0)))
U7_GGG(z0, z1, s(s(s(s(s(s(s(0))))))), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
TIMES69_IN_GGA(s(T117), T118) → U33_GGA(T117, T118, even36_in_gg(s(T117), true))
U33_GGA(T117, T118, even36_out_gg(s(T117), true)) → U34_GGA(T117, T118, half60_in_ga(s(T117)))
U34_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGA(T120, T118)

The TRS R consists of the following rules:

even36_in_gg(s(s(T61)), X101) → U2_gg(T61, X101, even36_in_gg(T61, X101))
half60_in_ga(s(s(T89))) → U3_ga(T89, half60_in_ga(T89))
even36_in_gg(s(0), false) → even36_out_gg(s(0), false)
U2_gg(T61, X101, even36_out_gg(T61, X101)) → even36_out_gg(s(s(T61)), X101)
U3_ga(T89, half60_out_ga(T89, X156)) → half60_out_ga(s(s(T89)), s(X156))
even36_in_gg(0, true) → even36_out_gg(0, true)
half60_in_ga(0) → half60_out_ga(0, 0)

The set Q consists of the following terms:

even36_in_gg(x0, x1)
half60_in_ga(x0)
U2_gg(x0, x1, x2)
U3_ga(x0, x1)

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

(99) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U5_GGA(T117, T118, even36_out_gg(s(T117), true)) → U7_GGA(T117, T118, half60_in_ga(s(T117)))
U15_GGA(T117, T118, even36_out_gg(s(T117), true)) → U16_GGA(T117, T118, half60_in_ga(s(T117)))
U24_GGA(T117, T118, even36_out_gg(s(T117), true)) → U25_GGA(T117, T118, half60_in_ga(s(T117)))
U27_GGA(T117, T118, even36_out_gg(s(T117), true)) → U28_GGA(T117, T118, half60_in_ga(s(T117)))
U33_GGA(T117, T118, even36_out_gg(s(T117), true)) → U34_GGA(T117, T118, half60_in_ga(s(T117)))
The remaining pairs can at least be oriented weakly.
Used ordering: Matrix interpretation [MATRO]:

POL(TIMES69_IN_GGA(x1, x2)) = 0 +
[1,1]
·x1 +
[0,0]
·x2

POL(s(x1)) =
/1\
\0/
+
/01\
\10/
·x1

POL(U5_GGA(x1, x2, x3)) = 1 +
[1,0]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(even36_in_gg(x1, x2)) =
/0\
\0/
+
/00\
\00/
·x1 +
/00\
\00/
·x2

POL(true) =
/0\
\0/

POL(even36_out_gg(x1, x2)) =
/0\
\0/
+
/00\
\00/
·x1 +
/10\
\00/
·x2

POL(U7_GGA(x1, x2, x3)) = 0 +
[0,0]
·x1 +
[0,0]
·x2 +
[0,1]
·x3

POL(half60_in_ga(x1)) =
/1\
\0/
+
/00\
\01/
·x1

POL(half60_out_ga(x1, x2)) =
/0\
\0/
+
/00\
\00/
·x1 +
/00\
\11/
·x2

POL(U9_GGA(x1, x2, x3)) = 1 +
[1,0]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(U10_GGA(x1, x2, x3)) = 0 +
[0,0]
·x1 +
[0,0]
·x2 +
[1,1]
·x3

POL(TIMES69_IN_GGG(x1, x2, x3)) = 0 +
[0,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(0) =
/0\
\0/

POL(U5_GGG(x1, x2, x3, x4)) = 0 +
[1,0]
·x1 +
[0,0]
·x2 +
[0,0]
·x3 +
[0,0]
·x4

POL(U7_GGG(x1, x2, x3, x4)) = 0 +
[0,0]
·x1 +
[0,0]
·x2 +
[0,0]
·x3 +
[0,1]
·x4

POL(U12_GGA(x1, x2, x3)) = 1 +
[1,0]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(U13_GGA(x1, x2, x3)) = 0 +
[0,0]
·x1 +
[0,0]
·x2 +
[1,1]
·x3

POL(U15_GGA(x1, x2, x3)) = 1 +
[1,0]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(U16_GGA(x1, x2, x3)) = 0 +
[0,0]
·x1 +
[0,0]
·x2 +
[0,1]
·x3

POL(U18_GGA(x1, x2, x3)) = 1 +
[1,0]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(U19_GGA(x1, x2, x3)) = 0 +
[0,0]
·x1 +
[0,0]
·x2 +
[1,1]
·x3

POL(U21_GGA(x1, x2, x3)) = 1 +
[1,0]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(U22_GGA(x1, x2, x3)) = 0 +
[0,0]
·x1 +
[0,0]
·x2 +
[1,1]
·x3

POL(U24_GGA(x1, x2, x3)) = 1 +
[1,0]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(U25_GGA(x1, x2, x3)) = 0 +
[0,0]
·x1 +
[0,0]
·x2 +
[0,1]
·x3

POL(U27_GGA(x1, x2, x3)) = 1 +
[1,0]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(U28_GGA(x1, x2, x3)) = 0 +
[0,0]
·x1 +
[0,0]
·x2 +
[0,1]
·x3

POL(U30_GGA(x1, x2, x3)) = 1 +
[1,0]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(U31_GGA(x1, x2, x3)) = 0 +
[0,0]
·x1 +
[0,0]
·x2 +
[1,1]
·x3

POL(U33_GGA(x1, x2, x3)) = 1 +
[1,0]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(U34_GGA(x1, x2, x3)) = 0 +
[0,0]
·x1 +
[0,0]
·x2 +
[0,1]
·x3

POL(U2_gg(x1, x2, x3)) =
/1\
\0/
+
/11\
\11/
·x1 +
/11\
\11/
·x2 +
/00\
\00/
·x3

POL(U3_ga(x1, x2)) =
/1\
\1/
+
/00\
\00/
·x1 +
/00\
\01/
·x2

POL(false) =
/1\
\0/

The following usable rules [FROCOS05] were oriented:

half60_in_ga(s(s(T89))) → U3_ga(T89, half60_in_ga(T89))
half60_in_ga(0) → half60_out_ga(0, 0)
U3_ga(T89, half60_out_ga(T89, X156)) → half60_out_ga(s(s(T89)), s(X156))

(100) Obligation:

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

TIMES69_IN_GGA(s(T117), T118) → U5_GGA(T117, T118, even36_in_gg(s(T117), true))
U7_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGA(T120, T118)
TIMES69_IN_GGA(s(T117), T118) → U9_GGA(T117, T118, even36_in_gg(s(T117), true))
U9_GGA(T117, T118, even36_out_gg(s(T117), true)) → U10_GGA(T117, T118, half60_in_ga(s(T117)))
U10_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, 0)
TIMES69_IN_GGG(s(x0), z1, 0) → U5_GGG(x0, z1, 0, even36_in_gg(s(x0), true))
U5_GGG(z0, z1, 0, even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, 0, half60_in_ga(s(z0)))
U7_GGG(z0, z1, 0, half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
TIMES69_IN_GGA(s(T117), T118) → U12_GGA(T117, T118, even36_in_gg(s(T117), true))
U12_GGA(T117, T118, even36_out_gg(s(T117), true)) → U13_GGA(T117, T118, half60_in_ga(s(T117)))
U13_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(0))
TIMES69_IN_GGG(s(x0), z1, s(0)) → U5_GGG(x0, z1, s(0), even36_in_gg(s(x0), true))
U5_GGG(z0, z1, s(0), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(0), half60_in_ga(s(z0)))
U7_GGG(z0, z1, s(0), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
TIMES69_IN_GGA(s(T117), T118) → U15_GGA(T117, T118, even36_in_gg(s(T117), true))
U16_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(0)))
TIMES69_IN_GGG(s(x0), z1, s(s(0))) → U5_GGG(x0, z1, s(s(0)), even36_in_gg(s(x0), true))
U5_GGG(z0, z1, s(s(0)), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(0)), half60_in_ga(s(z0)))
U7_GGG(z0, z1, s(s(0)), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
TIMES69_IN_GGA(s(T117), T118) → U18_GGA(T117, T118, even36_in_gg(s(T117), true))
U18_GGA(T117, T118, even36_out_gg(s(T117), true)) → U19_GGA(T117, T118, half60_in_ga(s(T117)))
U19_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(0))))
TIMES69_IN_GGG(s(x0), z1, s(s(s(0)))) → U5_GGG(x0, z1, s(s(s(0))), even36_in_gg(s(x0), true))
U5_GGG(z0, z1, s(s(s(0))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(0))), half60_in_ga(s(z0)))
U7_GGG(z0, z1, s(s(s(0))), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
TIMES69_IN_GGA(s(T117), T118) → U21_GGA(T117, T118, even36_in_gg(s(T117), true))
U21_GGA(T117, T118, even36_out_gg(s(T117), true)) → U22_GGA(T117, T118, half60_in_ga(s(T117)))
U22_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(0)))))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(0))))) → U5_GGG(x0, z1, s(s(s(s(0)))), even36_in_gg(s(x0), true))
U5_GGG(z0, z1, s(s(s(s(0)))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(s(0)))), half60_in_ga(s(z0)))
U7_GGG(z0, z1, s(s(s(s(0)))), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
TIMES69_IN_GGA(s(T117), T118) → U24_GGA(T117, T118, even36_in_gg(s(T117), true))
U25_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(0))))))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(s(0)))))) → U5_GGG(x0, z1, s(s(s(s(s(0))))), even36_in_gg(s(x0), true))
U5_GGG(z0, z1, s(s(s(s(s(0))))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(s(s(0))))), half60_in_ga(s(z0)))
U7_GGG(z0, z1, s(s(s(s(s(0))))), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
TIMES69_IN_GGA(s(T117), T118) → U27_GGA(T117, T118, even36_in_gg(s(T117), true))
U28_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(s(0)))))))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(s(s(0))))))) → U5_GGG(x0, z1, s(s(s(s(s(s(0)))))), even36_in_gg(s(x0), true))
U5_GGG(z0, z1, s(s(s(s(s(s(0)))))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(s(s(s(0)))))), half60_in_ga(s(z0)))
U7_GGG(z0, z1, s(s(s(s(s(s(0)))))), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
TIMES69_IN_GGA(s(T117), T118) → U30_GGA(T117, T118, even36_in_gg(s(T117), true))
U30_GGA(T117, T118, even36_out_gg(s(T117), true)) → U31_GGA(T117, T118, half60_in_ga(s(T117)))
U31_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(s(s(0))))))))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(s(s(s(0)))))))) → U5_GGG(x0, z1, s(s(s(s(s(s(s(0))))))), even36_in_gg(s(x0), true))
U5_GGG(z0, z1, s(s(s(s(s(s(s(0))))))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(s(s(s(s(0))))))), half60_in_ga(s(z0)))
U7_GGG(z0, z1, s(s(s(s(s(s(s(0))))))), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
TIMES69_IN_GGA(s(T117), T118) → U33_GGA(T117, T118, even36_in_gg(s(T117), true))
U34_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGA(T120, T118)

The TRS R consists of the following rules:

even36_in_gg(s(s(T61)), X101) → U2_gg(T61, X101, even36_in_gg(T61, X101))
half60_in_ga(s(s(T89))) → U3_ga(T89, half60_in_ga(T89))
even36_in_gg(s(0), false) → even36_out_gg(s(0), false)
U2_gg(T61, X101, even36_out_gg(T61, X101)) → even36_out_gg(s(s(T61)), X101)
U3_ga(T89, half60_out_ga(T89, X156)) → half60_out_ga(s(s(T89)), s(X156))
even36_in_gg(0, true) → even36_out_gg(0, true)
half60_in_ga(0) → half60_out_ga(0, 0)

The set Q consists of the following terms:

even36_in_gg(x0, x1)
half60_in_ga(x0)
U2_gg(x0, x1, x2)
U3_ga(x0, x1)

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

(101) DependencyGraphProof (EQUIVALENT transformation)

The approximation of the Dependency Graph [LPAR04,FROCOS05,EDGSTAR] contains 1 SCC with 19 less nodes.

(102) Obligation:

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

TIMES69_IN_GGA(s(T117), T118) → U9_GGA(T117, T118, even36_in_gg(s(T117), true))
U9_GGA(T117, T118, even36_out_gg(s(T117), true)) → U10_GGA(T117, T118, half60_in_ga(s(T117)))
U10_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, 0)
TIMES69_IN_GGG(s(x0), z1, 0) → U5_GGG(x0, z1, 0, even36_in_gg(s(x0), true))
U5_GGG(z0, z1, 0, even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, 0, half60_in_ga(s(z0)))
U7_GGG(z0, z1, 0, half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
TIMES69_IN_GGA(s(T117), T118) → U12_GGA(T117, T118, even36_in_gg(s(T117), true))
U12_GGA(T117, T118, even36_out_gg(s(T117), true)) → U13_GGA(T117, T118, half60_in_ga(s(T117)))
U13_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(0))
TIMES69_IN_GGG(s(x0), z1, s(0)) → U5_GGG(x0, z1, s(0), even36_in_gg(s(x0), true))
U5_GGG(z0, z1, s(0), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(0), half60_in_ga(s(z0)))
U7_GGG(z0, z1, s(0), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
TIMES69_IN_GGA(s(T117), T118) → U18_GGA(T117, T118, even36_in_gg(s(T117), true))
U18_GGA(T117, T118, even36_out_gg(s(T117), true)) → U19_GGA(T117, T118, half60_in_ga(s(T117)))
U19_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(0))))
TIMES69_IN_GGG(s(x0), z1, s(s(s(0)))) → U5_GGG(x0, z1, s(s(s(0))), even36_in_gg(s(x0), true))
U5_GGG(z0, z1, s(s(s(0))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(0))), half60_in_ga(s(z0)))
U7_GGG(z0, z1, s(s(s(0))), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
TIMES69_IN_GGA(s(T117), T118) → U21_GGA(T117, T118, even36_in_gg(s(T117), true))
U21_GGA(T117, T118, even36_out_gg(s(T117), true)) → U22_GGA(T117, T118, half60_in_ga(s(T117)))
U22_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(0)))))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(0))))) → U5_GGG(x0, z1, s(s(s(s(0)))), even36_in_gg(s(x0), true))
U5_GGG(z0, z1, s(s(s(s(0)))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(s(0)))), half60_in_ga(s(z0)))
U7_GGG(z0, z1, s(s(s(s(0)))), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
TIMES69_IN_GGA(s(T117), T118) → U30_GGA(T117, T118, even36_in_gg(s(T117), true))
U30_GGA(T117, T118, even36_out_gg(s(T117), true)) → U31_GGA(T117, T118, half60_in_ga(s(T117)))
U31_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(s(s(0))))))))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(s(s(s(0)))))))) → U5_GGG(x0, z1, s(s(s(s(s(s(s(0))))))), even36_in_gg(s(x0), true))
U5_GGG(z0, z1, s(s(s(s(s(s(s(0))))))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(s(s(s(s(0))))))), half60_in_ga(s(z0)))
U7_GGG(z0, z1, s(s(s(s(s(s(s(0))))))), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)

The TRS R consists of the following rules:

even36_in_gg(s(s(T61)), X101) → U2_gg(T61, X101, even36_in_gg(T61, X101))
half60_in_ga(s(s(T89))) → U3_ga(T89, half60_in_ga(T89))
even36_in_gg(s(0), false) → even36_out_gg(s(0), false)
U2_gg(T61, X101, even36_out_gg(T61, X101)) → even36_out_gg(s(s(T61)), X101)
U3_ga(T89, half60_out_ga(T89, X156)) → half60_out_ga(s(s(T89)), s(X156))
even36_in_gg(0, true) → even36_out_gg(0, true)
half60_in_ga(0) → half60_out_ga(0, 0)

The set Q consists of the following terms:

even36_in_gg(x0, x1)
half60_in_ga(x0)
U2_gg(x0, x1, x2)
U3_ga(x0, x1)

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

(103) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U31_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(s(s(0))))))))
The remaining pairs can at least be oriented weakly.
Used ordering: Matrix interpretation [MATRO]:

POL(TIMES69_IN_GGA(x1, x2)) = 0 +
[0,1]
·x1 +
[0,0]
·x2

POL(s(x1)) =
/1\
\0/
+
/00\
\11/
·x1

POL(U9_GGA(x1, x2, x3)) = 0 +
[1,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(even36_in_gg(x1, x2)) =
/0\
\0/
+
/00\
\00/
·x1 +
/00\
\01/
·x2

POL(true) =
/0\
\0/

POL(even36_out_gg(x1, x2)) =
/0\
\0/
+
/10\
\00/
·x1 +
/01\
\00/
·x2

POL(U10_GGA(x1, x2, x3)) = 0 +
[0,0]
·x1 +
[0,0]
·x2 +
[1,0]
·x3

POL(half60_in_ga(x1)) =
/0\
\0/
+
/01\
\01/
·x1

POL(half60_out_ga(x1, x2)) =
/0\
\0/
+
/00\
\10/
·x1 +
/11\
\01/
·x2

POL(TIMES69_IN_GGG(x1, x2, x3)) = 0 +
[0,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(0) =
/0\
\0/

POL(U5_GGG(x1, x2, x3, x4)) = 0 +
[1,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3 +
[0,0]
·x4

POL(U7_GGG(x1, x2, x3, x4)) = 0 +
[0,0]
·x1 +
[0,0]
·x2 +
[0,0]
·x3 +
[1,0]
·x4

POL(U12_GGA(x1, x2, x3)) = 0 +
[1,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(U13_GGA(x1, x2, x3)) = 0 +
[0,0]
·x1 +
[0,0]
·x2 +
[1,0]
·x3

POL(U18_GGA(x1, x2, x3)) = 0 +
[1,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(U19_GGA(x1, x2, x3)) = 0 +
[0,0]
·x1 +
[0,0]
·x2 +
[1,0]
·x3

POL(U21_GGA(x1, x2, x3)) = 0 +
[1,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(U22_GGA(x1, x2, x3)) = 0 +
[0,0]
·x1 +
[0,0]
·x2 +
[1,0]
·x3

POL(U30_GGA(x1, x2, x3)) = 0 +
[1,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(U31_GGA(x1, x2, x3)) = 0 +
[0,0]
·x1 +
[0,0]
·x2 +
[0,1]
·x3

POL(U2_gg(x1, x2, x3)) =
/0\
\0/
+
/11\
\01/
·x1 +
/10\
\00/
·x2 +
/01\
\00/
·x3

POL(U3_ga(x1, x2)) =
/1\
\1/
+
/10\
\00/
·x1 +
/10\
\10/
·x2

POL(false) =
/0\
\0/

The following usable rules [FROCOS05] were oriented:

half60_in_ga(s(s(T89))) → U3_ga(T89, half60_in_ga(T89))
half60_in_ga(0) → half60_out_ga(0, 0)
U3_ga(T89, half60_out_ga(T89, X156)) → half60_out_ga(s(s(T89)), s(X156))

(104) Obligation:

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

TIMES69_IN_GGA(s(T117), T118) → U9_GGA(T117, T118, even36_in_gg(s(T117), true))
U9_GGA(T117, T118, even36_out_gg(s(T117), true)) → U10_GGA(T117, T118, half60_in_ga(s(T117)))
U10_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, 0)
TIMES69_IN_GGG(s(x0), z1, 0) → U5_GGG(x0, z1, 0, even36_in_gg(s(x0), true))
U5_GGG(z0, z1, 0, even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, 0, half60_in_ga(s(z0)))
U7_GGG(z0, z1, 0, half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
TIMES69_IN_GGA(s(T117), T118) → U12_GGA(T117, T118, even36_in_gg(s(T117), true))
U12_GGA(T117, T118, even36_out_gg(s(T117), true)) → U13_GGA(T117, T118, half60_in_ga(s(T117)))
U13_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(0))
TIMES69_IN_GGG(s(x0), z1, s(0)) → U5_GGG(x0, z1, s(0), even36_in_gg(s(x0), true))
U5_GGG(z0, z1, s(0), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(0), half60_in_ga(s(z0)))
U7_GGG(z0, z1, s(0), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
TIMES69_IN_GGA(s(T117), T118) → U18_GGA(T117, T118, even36_in_gg(s(T117), true))
U18_GGA(T117, T118, even36_out_gg(s(T117), true)) → U19_GGA(T117, T118, half60_in_ga(s(T117)))
U19_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(0))))
TIMES69_IN_GGG(s(x0), z1, s(s(s(0)))) → U5_GGG(x0, z1, s(s(s(0))), even36_in_gg(s(x0), true))
U5_GGG(z0, z1, s(s(s(0))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(0))), half60_in_ga(s(z0)))
U7_GGG(z0, z1, s(s(s(0))), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
TIMES69_IN_GGA(s(T117), T118) → U21_GGA(T117, T118, even36_in_gg(s(T117), true))
U21_GGA(T117, T118, even36_out_gg(s(T117), true)) → U22_GGA(T117, T118, half60_in_ga(s(T117)))
U22_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(0)))))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(0))))) → U5_GGG(x0, z1, s(s(s(s(0)))), even36_in_gg(s(x0), true))
U5_GGG(z0, z1, s(s(s(s(0)))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(s(0)))), half60_in_ga(s(z0)))
U7_GGG(z0, z1, s(s(s(s(0)))), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
TIMES69_IN_GGA(s(T117), T118) → U30_GGA(T117, T118, even36_in_gg(s(T117), true))
U30_GGA(T117, T118, even36_out_gg(s(T117), true)) → U31_GGA(T117, T118, half60_in_ga(s(T117)))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(s(s(s(0)))))))) → U5_GGG(x0, z1, s(s(s(s(s(s(s(0))))))), even36_in_gg(s(x0), true))
U5_GGG(z0, z1, s(s(s(s(s(s(s(0))))))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(s(s(s(s(0))))))), half60_in_ga(s(z0)))
U7_GGG(z0, z1, s(s(s(s(s(s(s(0))))))), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)

The TRS R consists of the following rules:

even36_in_gg(s(s(T61)), X101) → U2_gg(T61, X101, even36_in_gg(T61, X101))
half60_in_ga(s(s(T89))) → U3_ga(T89, half60_in_ga(T89))
even36_in_gg(s(0), false) → even36_out_gg(s(0), false)
U2_gg(T61, X101, even36_out_gg(T61, X101)) → even36_out_gg(s(s(T61)), X101)
U3_ga(T89, half60_out_ga(T89, X156)) → half60_out_ga(s(s(T89)), s(X156))
even36_in_gg(0, true) → even36_out_gg(0, true)
half60_in_ga(0) → half60_out_ga(0, 0)

The set Q consists of the following terms:

even36_in_gg(x0, x1)
half60_in_ga(x0)
U2_gg(x0, x1, x2)
U3_ga(x0, x1)

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

(105) DependencyGraphProof (EQUIVALENT transformation)

The approximation of the Dependency Graph [LPAR04,FROCOS05,EDGSTAR] contains 1 SCC with 5 less nodes.

(106) Obligation:

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

U9_GGA(T117, T118, even36_out_gg(s(T117), true)) → U10_GGA(T117, T118, half60_in_ga(s(T117)))
U10_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, 0)
TIMES69_IN_GGG(s(x0), z1, 0) → U5_GGG(x0, z1, 0, even36_in_gg(s(x0), true))
U5_GGG(z0, z1, 0, even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, 0, half60_in_ga(s(z0)))
U7_GGG(z0, z1, 0, half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
TIMES69_IN_GGA(s(T117), T118) → U9_GGA(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGA(s(T117), T118) → U12_GGA(T117, T118, even36_in_gg(s(T117), true))
U12_GGA(T117, T118, even36_out_gg(s(T117), true)) → U13_GGA(T117, T118, half60_in_ga(s(T117)))
U13_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(0))
TIMES69_IN_GGG(s(x0), z1, s(0)) → U5_GGG(x0, z1, s(0), even36_in_gg(s(x0), true))
U5_GGG(z0, z1, s(0), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(0), half60_in_ga(s(z0)))
U7_GGG(z0, z1, s(0), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
TIMES69_IN_GGA(s(T117), T118) → U18_GGA(T117, T118, even36_in_gg(s(T117), true))
U18_GGA(T117, T118, even36_out_gg(s(T117), true)) → U19_GGA(T117, T118, half60_in_ga(s(T117)))
U19_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(0))))
TIMES69_IN_GGG(s(x0), z1, s(s(s(0)))) → U5_GGG(x0, z1, s(s(s(0))), even36_in_gg(s(x0), true))
U5_GGG(z0, z1, s(s(s(0))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(0))), half60_in_ga(s(z0)))
U7_GGG(z0, z1, s(s(s(0))), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
TIMES69_IN_GGA(s(T117), T118) → U21_GGA(T117, T118, even36_in_gg(s(T117), true))
U21_GGA(T117, T118, even36_out_gg(s(T117), true)) → U22_GGA(T117, T118, half60_in_ga(s(T117)))
U22_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(0)))))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(0))))) → U5_GGG(x0, z1, s(s(s(s(0)))), even36_in_gg(s(x0), true))
U5_GGG(z0, z1, s(s(s(s(0)))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(s(0)))), half60_in_ga(s(z0)))
U7_GGG(z0, z1, s(s(s(s(0)))), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)

The TRS R consists of the following rules:

even36_in_gg(s(s(T61)), X101) → U2_gg(T61, X101, even36_in_gg(T61, X101))
half60_in_ga(s(s(T89))) → U3_ga(T89, half60_in_ga(T89))
even36_in_gg(s(0), false) → even36_out_gg(s(0), false)
U2_gg(T61, X101, even36_out_gg(T61, X101)) → even36_out_gg(s(s(T61)), X101)
U3_ga(T89, half60_out_ga(T89, X156)) → half60_out_ga(s(s(T89)), s(X156))
even36_in_gg(0, true) → even36_out_gg(0, true)
half60_in_ga(0) → half60_out_ga(0, 0)

The set Q consists of the following terms:

even36_in_gg(x0, x1)
half60_in_ga(x0)
U2_gg(x0, x1, x2)
U3_ga(x0, x1)

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

(107) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U22_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(0)))))
The remaining pairs can at least be oriented weakly.
Used ordering: Matrix interpretation [MATRO]:

POL(U9_GGA(x1, x2, x3)) = 0 +
[1,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(even36_out_gg(x1, x2)) =
/1\
\0/
+
/00\
\00/
·x1 +
/00\
\00/
·x2

POL(s(x1)) =
/1\
\0/
+
/00\
\11/
·x1

POL(true) =
/0\
\0/

POL(U10_GGA(x1, x2, x3)) = 0 +
[0,0]
·x1 +
[0,0]
·x2 +
[0,1]
·x3

POL(half60_in_ga(x1)) =
/0\
\0/
+
/01\
\01/
·x1

POL(half60_out_ga(x1, x2)) =
/0\
\0/
+
/10\
\00/
·x1 +
/01\
\11/
·x2

POL(TIMES69_IN_GGG(x1, x2, x3)) = 0 +
[0,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(0) =
/0\
\0/

POL(U5_GGG(x1, x2, x3, x4)) = 0 +
[1,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3 +
[0,0]
·x4

POL(even36_in_gg(x1, x2)) =
/0\
\0/
+
/00\
\00/
·x1 +
/00\
\00/
·x2

POL(U7_GGG(x1, x2, x3, x4)) = 0 +
[0,0]
·x1 +
[0,0]
·x2 +
[0,0]
·x3 +
[0,1]
·x4

POL(TIMES69_IN_GGA(x1, x2)) = 0 +
[0,1]
·x1 +
[0,0]
·x2

POL(U12_GGA(x1, x2, x3)) = 0 +
[1,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(U13_GGA(x1, x2, x3)) = 0 +
[0,0]
·x1 +
[0,0]
·x2 +
[0,1]
·x3

POL(U18_GGA(x1, x2, x3)) = 0 +
[1,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(U19_GGA(x1, x2, x3)) = 0 +
[0,0]
·x1 +
[0,0]
·x2 +
[0,1]
·x3

POL(U21_GGA(x1, x2, x3)) = 0 +
[1,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(U22_GGA(x1, x2, x3)) = 0 +
[0,0]
·x1 +
[0,0]
·x2 +
[1,0]
·x3

POL(U3_ga(x1, x2)) =
/1\
\1/
+
/10\
\00/
·x1 +
/01\
\01/
·x2

POL(U2_gg(x1, x2, x3)) =
/0\
\1/
+
/11\
\11/
·x1 +
/11\
\11/
·x2 +
/00\
\00/
·x3

POL(false) =
/0\
\0/

The following usable rules [FROCOS05] were oriented:

half60_in_ga(s(s(T89))) → U3_ga(T89, half60_in_ga(T89))
half60_in_ga(0) → half60_out_ga(0, 0)
U3_ga(T89, half60_out_ga(T89, X156)) → half60_out_ga(s(s(T89)), s(X156))

(108) Obligation:

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

U9_GGA(T117, T118, even36_out_gg(s(T117), true)) → U10_GGA(T117, T118, half60_in_ga(s(T117)))
U10_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, 0)
TIMES69_IN_GGG(s(x0), z1, 0) → U5_GGG(x0, z1, 0, even36_in_gg(s(x0), true))
U5_GGG(z0, z1, 0, even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, 0, half60_in_ga(s(z0)))
U7_GGG(z0, z1, 0, half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
TIMES69_IN_GGA(s(T117), T118) → U9_GGA(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGA(s(T117), T118) → U12_GGA(T117, T118, even36_in_gg(s(T117), true))
U12_GGA(T117, T118, even36_out_gg(s(T117), true)) → U13_GGA(T117, T118, half60_in_ga(s(T117)))
U13_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(0))
TIMES69_IN_GGG(s(x0), z1, s(0)) → U5_GGG(x0, z1, s(0), even36_in_gg(s(x0), true))
U5_GGG(z0, z1, s(0), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(0), half60_in_ga(s(z0)))
U7_GGG(z0, z1, s(0), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
TIMES69_IN_GGA(s(T117), T118) → U18_GGA(T117, T118, even36_in_gg(s(T117), true))
U18_GGA(T117, T118, even36_out_gg(s(T117), true)) → U19_GGA(T117, T118, half60_in_ga(s(T117)))
U19_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(0))))
TIMES69_IN_GGG(s(x0), z1, s(s(s(0)))) → U5_GGG(x0, z1, s(s(s(0))), even36_in_gg(s(x0), true))
U5_GGG(z0, z1, s(s(s(0))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(0))), half60_in_ga(s(z0)))
U7_GGG(z0, z1, s(s(s(0))), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
TIMES69_IN_GGA(s(T117), T118) → U21_GGA(T117, T118, even36_in_gg(s(T117), true))
U21_GGA(T117, T118, even36_out_gg(s(T117), true)) → U22_GGA(T117, T118, half60_in_ga(s(T117)))
TIMES69_IN_GGG(s(x0), z1, s(s(s(s(0))))) → U5_GGG(x0, z1, s(s(s(s(0)))), even36_in_gg(s(x0), true))
U5_GGG(z0, z1, s(s(s(s(0)))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(s(0)))), half60_in_ga(s(z0)))
U7_GGG(z0, z1, s(s(s(s(0)))), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)

The TRS R consists of the following rules:

even36_in_gg(s(s(T61)), X101) → U2_gg(T61, X101, even36_in_gg(T61, X101))
half60_in_ga(s(s(T89))) → U3_ga(T89, half60_in_ga(T89))
even36_in_gg(s(0), false) → even36_out_gg(s(0), false)
U2_gg(T61, X101, even36_out_gg(T61, X101)) → even36_out_gg(s(s(T61)), X101)
U3_ga(T89, half60_out_ga(T89, X156)) → half60_out_ga(s(s(T89)), s(X156))
even36_in_gg(0, true) → even36_out_gg(0, true)
half60_in_ga(0) → half60_out_ga(0, 0)

The set Q consists of the following terms:

even36_in_gg(x0, x1)
half60_in_ga(x0)
U2_gg(x0, x1, x2)
U3_ga(x0, x1)

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

(109) DependencyGraphProof (EQUIVALENT transformation)

The approximation of the Dependency Graph [LPAR04,FROCOS05,EDGSTAR] contains 1 SCC with 5 less nodes.

(110) Obligation:

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

U10_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, 0)
TIMES69_IN_GGG(s(x0), z1, 0) → U5_GGG(x0, z1, 0, even36_in_gg(s(x0), true))
U5_GGG(z0, z1, 0, even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, 0, half60_in_ga(s(z0)))
U7_GGG(z0, z1, 0, half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
TIMES69_IN_GGA(s(T117), T118) → U9_GGA(T117, T118, even36_in_gg(s(T117), true))
U9_GGA(T117, T118, even36_out_gg(s(T117), true)) → U10_GGA(T117, T118, half60_in_ga(s(T117)))
TIMES69_IN_GGA(s(T117), T118) → U12_GGA(T117, T118, even36_in_gg(s(T117), true))
U12_GGA(T117, T118, even36_out_gg(s(T117), true)) → U13_GGA(T117, T118, half60_in_ga(s(T117)))
U13_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(0))
TIMES69_IN_GGG(s(x0), z1, s(0)) → U5_GGG(x0, z1, s(0), even36_in_gg(s(x0), true))
U5_GGG(z0, z1, s(0), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(0), half60_in_ga(s(z0)))
U7_GGG(z0, z1, s(0), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
TIMES69_IN_GGA(s(T117), T118) → U18_GGA(T117, T118, even36_in_gg(s(T117), true))
U18_GGA(T117, T118, even36_out_gg(s(T117), true)) → U19_GGA(T117, T118, half60_in_ga(s(T117)))
U19_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(0))))
TIMES69_IN_GGG(s(x0), z1, s(s(s(0)))) → U5_GGG(x0, z1, s(s(s(0))), even36_in_gg(s(x0), true))
U5_GGG(z0, z1, s(s(s(0))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(0))), half60_in_ga(s(z0)))
U7_GGG(z0, z1, s(s(s(0))), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)

The TRS R consists of the following rules:

even36_in_gg(s(s(T61)), X101) → U2_gg(T61, X101, even36_in_gg(T61, X101))
half60_in_ga(s(s(T89))) → U3_ga(T89, half60_in_ga(T89))
even36_in_gg(s(0), false) → even36_out_gg(s(0), false)
U2_gg(T61, X101, even36_out_gg(T61, X101)) → even36_out_gg(s(s(T61)), X101)
U3_ga(T89, half60_out_ga(T89, X156)) → half60_out_ga(s(s(T89)), s(X156))
even36_in_gg(0, true) → even36_out_gg(0, true)
half60_in_ga(0) → half60_out_ga(0, 0)

The set Q consists of the following terms:

even36_in_gg(x0, x1)
half60_in_ga(x0)
U2_gg(x0, x1, x2)
U3_ga(x0, x1)

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

(111) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U13_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(0))
The remaining pairs can at least be oriented weakly.
Used ordering: Matrix interpretation [MATRO]:

POL(U10_GGA(x1, x2, x3)) = 0 +
[0,0]
·x1 +
[0,0]
·x2 +
[1,0]
·x3

POL(half60_out_ga(x1, x2)) =
/0\
\0/
+
/00\
\01/
·x1 +
/11\
\10/
·x2

POL(s(x1)) =
/0\
\1/
+
/11\
\00/
·x1

POL(TIMES69_IN_GGG(x1, x2, x3)) = 0 +
[1,0]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(0) =
/0\
\0/

POL(U5_GGG(x1, x2, x3, x4)) = 0 +
[1,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3 +
[0,0]
·x4

POL(even36_in_gg(x1, x2)) =
/0\
\0/
+
/00\
\00/
·x1 +
/00\
\00/
·x2

POL(true) =
/0\
\0/

POL(even36_out_gg(x1, x2)) =
/0\
\1/
+
/00\
\00/
·x1 +
/10\
\01/
·x2

POL(U7_GGG(x1, x2, x3, x4)) = 0 +
[0,0]
·x1 +
[0,0]
·x2 +
[0,0]
·x3 +
[1,0]
·x4

POL(half60_in_ga(x1)) =
/0\
\0/
+
/10\
\10/
·x1

POL(TIMES69_IN_GGA(x1, x2)) = 0 +
[1,0]
·x1 +
[0,0]
·x2

POL(U9_GGA(x1, x2, x3)) = 0 +
[1,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(U12_GGA(x1, x2, x3)) = 0 +
[1,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(U13_GGA(x1, x2, x3)) = 0 +
[0,0]
·x1 +
[0,0]
·x2 +
[0,1]
·x3

POL(U18_GGA(x1, x2, x3)) = 0 +
[1,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(U19_GGA(x1, x2, x3)) = 0 +
[0,0]
·x1 +
[0,0]
·x2 +
[1,0]
·x3

POL(U2_gg(x1, x2, x3)) =
/0\
\0/
+
/01\
\01/
·x1 +
/01\
\10/
·x2 +
/00\
\00/
·x3

POL(U3_ga(x1, x2)) =
/1\
\1/
+
/00\
\00/
·x1 +
/10\
\10/
·x2

POL(false) =
/0\
\1/

The following usable rules [FROCOS05] were oriented:

half60_in_ga(s(s(T89))) → U3_ga(T89, half60_in_ga(T89))
half60_in_ga(0) → half60_out_ga(0, 0)
U3_ga(T89, half60_out_ga(T89, X156)) → half60_out_ga(s(s(T89)), s(X156))

(112) Obligation:

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

U10_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, 0)
TIMES69_IN_GGG(s(x0), z1, 0) → U5_GGG(x0, z1, 0, even36_in_gg(s(x0), true))
U5_GGG(z0, z1, 0, even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, 0, half60_in_ga(s(z0)))
U7_GGG(z0, z1, 0, half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
TIMES69_IN_GGA(s(T117), T118) → U9_GGA(T117, T118, even36_in_gg(s(T117), true))
U9_GGA(T117, T118, even36_out_gg(s(T117), true)) → U10_GGA(T117, T118, half60_in_ga(s(T117)))
TIMES69_IN_GGA(s(T117), T118) → U12_GGA(T117, T118, even36_in_gg(s(T117), true))
U12_GGA(T117, T118, even36_out_gg(s(T117), true)) → U13_GGA(T117, T118, half60_in_ga(s(T117)))
TIMES69_IN_GGG(s(x0), z1, s(0)) → U5_GGG(x0, z1, s(0), even36_in_gg(s(x0), true))
U5_GGG(z0, z1, s(0), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(0), half60_in_ga(s(z0)))
U7_GGG(z0, z1, s(0), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
TIMES69_IN_GGA(s(T117), T118) → U18_GGA(T117, T118, even36_in_gg(s(T117), true))
U18_GGA(T117, T118, even36_out_gg(s(T117), true)) → U19_GGA(T117, T118, half60_in_ga(s(T117)))
U19_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(0))))
TIMES69_IN_GGG(s(x0), z1, s(s(s(0)))) → U5_GGG(x0, z1, s(s(s(0))), even36_in_gg(s(x0), true))
U5_GGG(z0, z1, s(s(s(0))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(0))), half60_in_ga(s(z0)))
U7_GGG(z0, z1, s(s(s(0))), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)

The TRS R consists of the following rules:

even36_in_gg(s(s(T61)), X101) → U2_gg(T61, X101, even36_in_gg(T61, X101))
half60_in_ga(s(s(T89))) → U3_ga(T89, half60_in_ga(T89))
even36_in_gg(s(0), false) → even36_out_gg(s(0), false)
U2_gg(T61, X101, even36_out_gg(T61, X101)) → even36_out_gg(s(s(T61)), X101)
U3_ga(T89, half60_out_ga(T89, X156)) → half60_out_ga(s(s(T89)), s(X156))
even36_in_gg(0, true) → even36_out_gg(0, true)
half60_in_ga(0) → half60_out_ga(0, 0)

The set Q consists of the following terms:

even36_in_gg(x0, x1)
half60_in_ga(x0)
U2_gg(x0, x1, x2)
U3_ga(x0, x1)

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

(113) DependencyGraphProof (EQUIVALENT transformation)

The approximation of the Dependency Graph [LPAR04,FROCOS05,EDGSTAR] contains 1 SCC with 5 less nodes.

(114) Obligation:

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

TIMES69_IN_GGG(s(x0), z1, 0) → U5_GGG(x0, z1, 0, even36_in_gg(s(x0), true))
U5_GGG(z0, z1, 0, even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, 0, half60_in_ga(s(z0)))
U7_GGG(z0, z1, 0, half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
TIMES69_IN_GGA(s(T117), T118) → U9_GGA(T117, T118, even36_in_gg(s(T117), true))
U9_GGA(T117, T118, even36_out_gg(s(T117), true)) → U10_GGA(T117, T118, half60_in_ga(s(T117)))
U10_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, 0)
TIMES69_IN_GGA(s(T117), T118) → U18_GGA(T117, T118, even36_in_gg(s(T117), true))
U18_GGA(T117, T118, even36_out_gg(s(T117), true)) → U19_GGA(T117, T118, half60_in_ga(s(T117)))
U19_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(0))))
TIMES69_IN_GGG(s(x0), z1, s(s(s(0)))) → U5_GGG(x0, z1, s(s(s(0))), even36_in_gg(s(x0), true))
U5_GGG(z0, z1, s(s(s(0))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(0))), half60_in_ga(s(z0)))
U7_GGG(z0, z1, s(s(s(0))), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)

The TRS R consists of the following rules:

even36_in_gg(s(s(T61)), X101) → U2_gg(T61, X101, even36_in_gg(T61, X101))
half60_in_ga(s(s(T89))) → U3_ga(T89, half60_in_ga(T89))
even36_in_gg(s(0), false) → even36_out_gg(s(0), false)
U2_gg(T61, X101, even36_out_gg(T61, X101)) → even36_out_gg(s(s(T61)), X101)
U3_ga(T89, half60_out_ga(T89, X156)) → half60_out_ga(s(s(T89)), s(X156))
even36_in_gg(0, true) → even36_out_gg(0, true)
half60_in_ga(0) → half60_out_ga(0, 0)

The set Q consists of the following terms:

even36_in_gg(x0, x1)
half60_in_ga(x0)
U2_gg(x0, x1, x2)
U3_ga(x0, x1)

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

(115) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U9_GGA(T117, T118, even36_out_gg(s(T117), true)) → U10_GGA(T117, T118, half60_in_ga(s(T117)))
TIMES69_IN_GGA(s(T117), T118) → U18_GGA(T117, T118, even36_in_gg(s(T117), true))
The remaining pairs can at least be oriented weakly.
Used ordering: Matrix interpretation [MATRO]:

POL(TIMES69_IN_GGG(x1, x2, x3)) = 0 +
[1,0]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(s(x1)) =
/0\
\0/
+
/11\
\11/
·x1

POL(0) =
/1\
\0/

POL(U5_GGG(x1, x2, x3, x4)) = 0 +
[1,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3 +
[0,0]
·x4

POL(even36_in_gg(x1, x2)) =
/0\
\0/
+
/00\
\00/
·x1 +
/00\
\00/
·x2

POL(true) =
/1\
\1/

POL(even36_out_gg(x1, x2)) =
/0\
\1/
+
/00\
\00/
·x1 +
/11\
\10/
·x2

POL(U7_GGG(x1, x2, x3, x4)) = 0 +
[0,0]
·x1 +
[0,0]
·x2 +
[0,0]
·x3 +
[0,1]
·x4

POL(half60_in_ga(x1)) =
/0\
\0/
+
/10\
\10/
·x1

POL(half60_out_ga(x1, x2)) =
/0\
\1/
+
/00\
\00/
·x1 +
/10\
\01/
·x2

POL(TIMES69_IN_GGA(x1, x2)) = 1 +
[0,1]
·x1 +
[0,0]
·x2

POL(U9_GGA(x1, x2, x3)) = 1 +
[1,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(U10_GGA(x1, x2, x3)) = 0 +
[0,0]
·x1 +
[0,0]
·x2 +
[1,0]
·x3

POL(U18_GGA(x1, x2, x3)) = 0 +
[1,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(U19_GGA(x1, x2, x3)) = 0 +
[0,0]
·x1 +
[0,0]
·x2 +
[1,0]
·x3

POL(U2_gg(x1, x2, x3)) =
/1\
\0/
+
/11\
\10/
·x1 +
/00\
\11/
·x2 +
/00\
\00/
·x3

POL(U3_ga(x1, x2)) =
/0\
\0/
+
/00\
\00/
·x1 +
/11\
\11/
·x2

POL(false) =
/0\
\0/

The following usable rules [FROCOS05] were oriented:

half60_in_ga(s(s(T89))) → U3_ga(T89, half60_in_ga(T89))
half60_in_ga(0) → half60_out_ga(0, 0)
U3_ga(T89, half60_out_ga(T89, X156)) → half60_out_ga(s(s(T89)), s(X156))

(116) Obligation:

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

TIMES69_IN_GGG(s(x0), z1, 0) → U5_GGG(x0, z1, 0, even36_in_gg(s(x0), true))
U5_GGG(z0, z1, 0, even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, 0, half60_in_ga(s(z0)))
U7_GGG(z0, z1, 0, half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)
TIMES69_IN_GGA(s(T117), T118) → U9_GGA(T117, T118, even36_in_gg(s(T117), true))
U10_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, 0)
U18_GGA(T117, T118, even36_out_gg(s(T117), true)) → U19_GGA(T117, T118, half60_in_ga(s(T117)))
U19_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(0))))
TIMES69_IN_GGG(s(x0), z1, s(s(s(0)))) → U5_GGG(x0, z1, s(s(s(0))), even36_in_gg(s(x0), true))
U5_GGG(z0, z1, s(s(s(0))), even36_out_gg(s(z0), true)) → U7_GGG(z0, z1, s(s(s(0))), half60_in_ga(s(z0)))
U7_GGG(z0, z1, s(s(s(0))), half60_out_ga(s(z0), x3)) → TIMES69_IN_GGA(x3, z1)

The TRS R consists of the following rules:

even36_in_gg(s(s(T61)), X101) → U2_gg(T61, X101, even36_in_gg(T61, X101))
half60_in_ga(s(s(T89))) → U3_ga(T89, half60_in_ga(T89))
even36_in_gg(s(0), false) → even36_out_gg(s(0), false)
U2_gg(T61, X101, even36_out_gg(T61, X101)) → even36_out_gg(s(s(T61)), X101)
U3_ga(T89, half60_out_ga(T89, X156)) → half60_out_ga(s(s(T89)), s(X156))
even36_in_gg(0, true) → even36_out_gg(0, true)
half60_in_ga(0) → half60_out_ga(0, 0)

The set Q consists of the following terms:

even36_in_gg(x0, x1)
half60_in_ga(x0)
U2_gg(x0, x1, x2)
U3_ga(x0, x1)

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

(117) DependencyGraphProof (EQUIVALENT transformation)

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

(118) TRUE

(119) Obligation:

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

PLUS19_IN_GGA(s(T49), T50, s(T52)) → PLUS19_IN_GGA(T49, T50, T52)

The TRS R consists of the following rules:

times1_in_gga(0, T5, 0) → times1_out_gga(0, T5, 0)
times1_in_gga(s(0), T23, T25) → U44_gga(T23, T25, times18_in_ga(T23, X45))
times18_in_ga(T35, 0) → times18_out_ga(T35, 0)
U44_gga(T23, T25, times18_out_ga(T23, X45)) → times1_out_gga(s(0), T23, T25)
times1_in_gga(s(0), T23, T25) → U45_gga(T23, T25, times18_in_ga(T23, T29))
U45_gga(T23, T25, times18_out_ga(T23, T29)) → U46_gga(T23, T25, plus19_in_gga(T23, T29, T25))
plus19_in_gga(0, T42, T42) → plus19_out_gga(0, T42, T42)
plus19_in_gga(s(T49), T50, s(T52)) → U1_gga(T49, T50, T52, plus19_in_gga(T49, T50, T52))
U1_gga(T49, T50, T52, plus19_out_gga(T49, T50, T52)) → plus19_out_gga(s(T49), T50, s(T52))
U46_gga(T23, T25, plus19_out_gga(T23, T29, T25)) → times1_out_gga(s(0), T23, T25)
times1_in_gga(s(s(T57)), T10, T12) → U47_gga(T57, T10, T12, even36_in_ga(T57, X90))
even36_in_ga(0, true) → even36_out_ga(0, true)
even36_in_ga(s(0), false) → even36_out_ga(s(0), false)
even36_in_ga(s(s(T61)), X101) → U2_ga(T61, X101, even36_in_ga(T61, X101))
U2_ga(T61, X101, even36_out_ga(T61, X101)) → even36_out_ga(s(s(T61)), X101)
U47_gga(T57, T10, T12, even36_out_ga(T57, X90)) → times1_out_gga(s(s(T57)), T10, T12)
times1_in_gga(s(s(T77)), T78, T80) → U48_gga(T77, T78, T80, even36_in_gg(T77, true))
even36_in_gg(0, true) → even36_out_gg(0, true)
even36_in_gg(s(0), false) → even36_out_gg(s(0), false)
even36_in_gg(s(s(T61)), X101) → U2_gg(T61, X101, even36_in_gg(T61, X101))
U2_gg(T61, X101, even36_out_gg(T61, X101)) → even36_out_gg(s(s(T61)), X101)
U48_gga(T77, T78, T80, even36_out_gg(T77, true)) → U49_gga(T77, T78, T80, half56_in_ga(T77, X128))
half56_in_ga(T86, s(X147)) → U43_ga(T86, X147, half60_in_ga(T86, X147))
half60_in_ga(0, 0) → half60_out_ga(0, 0)
half60_in_ga(s(s(T89)), s(X156)) → U3_ga(T89, X156, half60_in_ga(T89, X156))
U3_ga(T89, X156, half60_out_ga(T89, X156)) → half60_out_ga(s(s(T89)), s(X156))
U43_ga(T86, X147, half60_out_ga(T86, X147)) → half56_out_ga(T86, s(X147))
U49_gga(T77, T78, T80, half56_out_ga(T77, X128)) → times1_out_gga(s(s(T77)), T78, T80)
U48_gga(T77, T78, T80, even36_out_gg(T77, true)) → U50_gga(T77, T78, T80, half56_in_ga(T77, T82))
U50_gga(T77, T78, T80, half56_out_ga(T77, T82)) → U51_gga(T77, T78, T80, times69_in_gga(T82, T78, X129))
times69_in_gga(0, T99, 0) → times69_out_gga(0, T99, 0)
times69_in_gga(s(T104), T105, X182) → U4_gga(T104, T105, X182, even36_in_ga(s(T104), X181))
U4_gga(T104, T105, X182, even36_out_ga(s(T104), X181)) → times69_out_gga(s(T104), T105, X182)
times69_in_gga(s(T117), T118, X217) → U5_gga(T117, T118, X217, even36_in_gg(s(T117), true))
U5_gga(T117, T118, X217, even36_out_gg(s(T117), true)) → U6_gga(T117, T118, X217, half60_in_ga(s(T117), X215))
U6_gga(T117, T118, X217, half60_out_ga(s(T117), X215)) → times69_out_gga(s(T117), T118, X217)
U5_gga(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_gga(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_gga(T117, T118, X217, half60_out_ga(s(T117), T120)) → U8_gga(T117, T118, X217, times69_in_gga(T120, T118, X216))
times69_in_gga(s(T117), T118, 0) → U9_gga(T117, T118, even36_in_gg(s(T117), true))
U9_gga(T117, T118, even36_out_gg(s(T117), true)) → U10_gga(T117, T118, half60_in_ga(s(T117), T120))
U10_gga(T117, T118, half60_out_ga(s(T117), T120)) → U11_gga(T117, T118, times69_in_ggg(T120, T118, 0))
times69_in_ggg(0, T99, 0) → times69_out_ggg(0, T99, 0)
times69_in_ggg(s(T104), T105, X182) → U4_ggg(T104, T105, X182, even36_in_ga(s(T104), X181))
U4_ggg(T104, T105, X182, even36_out_ga(s(T104), X181)) → times69_out_ggg(s(T104), T105, X182)
times69_in_ggg(s(T117), T118, X217) → U5_ggg(T117, T118, X217, even36_in_gg(s(T117), true))
U5_ggg(T117, T118, X217, even36_out_gg(s(T117), true)) → U6_ggg(T117, T118, X217, half60_in_ga(s(T117), X215))
U6_ggg(T117, T118, X217, half60_out_ga(s(T117), X215)) → times69_out_ggg(s(T117), T118, X217)
U5_ggg(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_ggg(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_ggg(T117, T118, X217, half60_out_ga(s(T117), T120)) → U8_ggg(T117, T118, X217, times69_in_gga(T120, T118, X216))
times69_in_gga(s(T117), T118, s(s(0))) → U12_gga(T117, T118, even36_in_gg(s(T117), true))
U12_gga(T117, T118, even36_out_gg(s(T117), true)) → U13_gga(T117, T118, half60_in_ga(s(T117), T120))
U13_gga(T117, T118, half60_out_ga(s(T117), T120)) → U14_gga(T117, T118, times69_in_ggg(T120, T118, s(0)))
times69_in_ggg(s(T117), T118, 0) → U9_ggg(T117, T118, even36_in_gg(s(T117), true))
U9_ggg(T117, T118, even36_out_gg(s(T117), true)) → U10_ggg(T117, T118, half60_in_ga(s(T117), T120))
U10_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U11_ggg(T117, T118, times69_in_ggg(T120, T118, 0))
times69_in_ggg(s(T117), T118, s(s(0))) → U12_ggg(T117, T118, even36_in_gg(s(T117), true))
U12_ggg(T117, T118, even36_out_gg(s(T117), true)) → U13_ggg(T117, T118, half60_in_ga(s(T117), T120))
U13_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U14_ggg(T117, T118, times69_in_ggg(T120, T118, s(0)))
times69_in_ggg(s(T117), T118, s(s(s(s(0))))) → U15_ggg(T117, T118, even36_in_gg(s(T117), true))
U15_ggg(T117, T118, even36_out_gg(s(T117), true)) → U16_ggg(T117, T118, half60_in_ga(s(T117), T120))
U16_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U17_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(0))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_ggg(T117, T118, even36_in_gg(s(T117), true))
U18_ggg(T117, T118, even36_out_gg(s(T117), true)) → U19_ggg(T117, T118, half60_in_ga(s(T117), T120))
U19_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U20_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(0)))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → U21_ggg(T117, T118, even36_in_gg(s(T117), true))
U21_ggg(T117, T118, even36_out_gg(s(T117), true)) → U22_ggg(T117, T118, half60_in_ga(s(T117), T120))
U22_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U23_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(0))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U24_ggg(T117, T118, even36_in_gg(s(T117), true))
U24_ggg(T117, T118, even36_out_gg(s(T117), true)) → U25_ggg(T117, T118, half60_in_ga(s(T117), T120))
U25_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U26_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(0)))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U27_ggg(T117, T118, even36_in_gg(s(T117), true))
U27_ggg(T117, T118, even36_out_gg(s(T117), true)) → U28_ggg(T117, T118, half60_in_ga(s(T117), T120))
U28_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U29_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(0))))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U30_ggg(T117, T118, even36_in_gg(s(T117), true))
U30_ggg(T117, T118, even36_out_gg(s(T117), true)) → U31_ggg(T117, T118, half60_in_ga(s(T117), T120))
U31_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U32_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(s(0)))))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → U33_ggg(T117, T118, X411, even36_in_gg(s(T117), true))
U33_ggg(T117, T118, X411, even36_out_gg(s(T117), true)) → U34_ggg(T117, T118, X411, half60_in_ga(s(T117), T120))
U34_ggg(T117, T118, X411, half60_out_ga(s(T117), T120)) → U35_ggg(T117, T118, X411, times69_in_gga(T120, T118, s(s(s(s(s(s(s(s(T150))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(0))))) → U15_gga(T117, T118, even36_in_gg(s(T117), true))
U15_gga(T117, T118, even36_out_gg(s(T117), true)) → U16_gga(T117, T118, half60_in_ga(s(T117), T120))
U16_gga(T117, T118, half60_out_ga(s(T117), T120)) → U17_gga(T117, T118, times69_in_ggg(T120, T118, s(s(0))))
times69_in_ggg(s(T171), T172, X455) → U37_ggg(T171, T172, X455, even36_in_gg(s(T171), false))
U37_ggg(T171, T172, X455, even36_out_gg(s(T171), false)) → U38_ggg(T171, T172, X455, times69_in_gga(T171, T172, X454))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_gga(T117, T118, even36_in_gg(s(T117), true))
U18_gga(T117, T118, even36_out_gg(s(T117), true)) → U19_gga(T117, T118, half60_in_ga(s(T117), T120))
U19_gga(T117, T118, half60_out_ga(s(T117), T120)) → U20_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(0)))))
U20_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(0))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(0)))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → U21_gga(T117, T118, even36_in_gg(s(T117), true))
U21_gga(T117, T118, even36_out_gg(s(T117), true)) → U22_gga(T117, T118, half60_in_ga(s(T117), T120))
U22_gga(T117, T118, half60_out_ga(s(T117), T120)) → U23_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(0))))))
U23_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(0)))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(0)))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U24_gga(T117, T118, even36_in_gg(s(T117), true))
U24_gga(T117, T118, even36_out_gg(s(T117), true)) → U25_gga(T117, T118, half60_in_ga(s(T117), T120))
U25_gga(T117, T118, half60_out_ga(s(T117), T120)) → U26_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(0)))))))
U26_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(0))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0)))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U27_gga(T117, T118, even36_in_gg(s(T117), true))
U27_gga(T117, T118, even36_out_gg(s(T117), true)) → U28_gga(T117, T118, half60_in_ga(s(T117), T120))
U28_gga(T117, T118, half60_out_ga(s(T117), T120)) → U29_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(0))))))))
U29_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(0)))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U30_gga(T117, T118, even36_in_gg(s(T117), true))
U30_gga(T117, T118, even36_out_gg(s(T117), true)) → U31_gga(T117, T118, half60_in_ga(s(T117), T120))
U31_gga(T117, T118, half60_out_ga(s(T117), T120)) → U32_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(s(0)))))))))
U32_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(s(0))))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → U33_gga(T117, T118, X411, even36_in_gg(s(T117), true))
U33_gga(T117, T118, X411, even36_out_gg(s(T117), true)) → U34_gga(T117, T118, X411, half60_in_ga(s(T117), T120))
U34_gga(T117, T118, X411, half60_out_ga(s(T117), T120)) → U35_gga(T117, T118, X411, times69_in_gga(T120, T118, s(s(s(s(s(s(s(s(T150))))))))))
times69_in_gga(s(T171), T172, X455) → U37_gga(T171, T172, X455, even36_in_gg(s(T171), false))
U37_gga(T171, T172, X455, even36_out_gg(s(T171), false)) → U38_gga(T171, T172, X455, times69_in_gga(T171, T172, X454))
U38_gga(T171, T172, X455, times69_out_gga(T171, T172, X454)) → times69_out_gga(s(T171), T172, X455)
U37_gga(T171, T172, X455, even36_out_gg(s(T171), false)) → U39_gga(T171, T172, X455, times69_in_gga(T171, T172, T175))
U39_gga(T171, T172, X455, times69_out_gga(T171, T172, T175)) → U40_gga(T171, T172, X455, plus166_in_gaa(T172, T175, X455))
plus166_in_gaa(0, T184, T184) → plus166_out_gaa(0, T184, T184)
plus166_in_gaa(s(T189), T190, s(X482)) → U42_gaa(T189, T190, X482, plus166_in_gaa(T189, T190, X482))
U42_gaa(T189, T190, X482, plus166_out_gaa(T189, T190, X482)) → plus166_out_gaa(s(T189), T190, s(X482))
U40_gga(T171, T172, X455, plus166_out_gaa(T172, T175, X455)) → times69_out_gga(s(T171), T172, X455)
U35_gga(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → U36_gga(T117, T118, X411, plus154_in_aaa(T150, s(s(s(s(s(s(s(T150))))))), X411))
plus154_in_aaa(0, T158, s(T158)) → plus154_out_aaa(0, T158, s(T158))
plus154_in_aaa(s(T163), T164, s(X436)) → U41_aaa(T163, T164, X436, plus154_in_aaa(T163, T164, X436))
U41_aaa(T163, T164, X436, plus154_out_aaa(T163, T164, X436)) → plus154_out_aaa(s(T163), T164, s(X436))
U36_gga(T117, T118, X411, plus154_out_aaa(T150, s(s(s(s(s(s(s(T150))))))), X411)) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(X411)))))))))
U38_ggg(T171, T172, X455, times69_out_gga(T171, T172, X454)) → times69_out_ggg(s(T171), T172, X455)
U37_ggg(T171, T172, X455, even36_out_gg(s(T171), false)) → U39_ggg(T171, T172, X455, times69_in_gga(T171, T172, T175))
U39_ggg(T171, T172, X455, times69_out_gga(T171, T172, T175)) → U40_ggg(T171, T172, X455, plus166_in_gag(T172, T175, X455))
plus166_in_gag(0, T184, T184) → plus166_out_gag(0, T184, T184)
plus166_in_gag(s(T189), T190, s(X482)) → U42_gag(T189, T190, X482, plus166_in_gag(T189, T190, X482))
U42_gag(T189, T190, X482, plus166_out_gag(T189, T190, X482)) → plus166_out_gag(s(T189), T190, s(X482))
U40_ggg(T171, T172, X455, plus166_out_gag(T172, T175, X455)) → times69_out_ggg(s(T171), T172, X455)
U17_gga(T117, T118, times69_out_ggg(T120, T118, s(s(0)))) → times69_out_gga(s(T117), T118, s(s(s(s(0)))))
U35_ggg(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → U36_ggg(T117, T118, X411, plus154_in_aag(T150, s(s(s(s(s(s(s(T150))))))), X411))
plus154_in_aag(0, T158, s(T158)) → plus154_out_aag(0, T158, s(T158))
plus154_in_aag(s(T163), T164, s(X436)) → U41_aag(T163, T164, X436, plus154_in_aag(T163, T164, X436))
U41_aag(T163, T164, X436, plus154_out_aag(T163, T164, X436)) → plus154_out_aag(s(T163), T164, s(X436))
U36_ggg(T117, T118, X411, plus154_out_aag(T150, s(s(s(s(s(s(s(T150))))))), X411)) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(X411)))))))))
U32_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(s(0))))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
U29_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(0)))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
U26_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(0))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0)))))))))))
U23_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(0)))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(0)))))))))
U20_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(0))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(0)))))))
U17_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(0)))) → times69_out_ggg(s(T117), T118, s(s(s(s(0)))))
U14_ggg(T117, T118, times69_out_ggg(T120, T118, s(0))) → times69_out_ggg(s(T117), T118, s(s(0)))
U11_ggg(T117, T118, times69_out_ggg(T120, T118, 0)) → times69_out_ggg(s(T117), T118, 0)
U14_gga(T117, T118, times69_out_ggg(T120, T118, s(0))) → times69_out_gga(s(T117), T118, s(s(0)))
U8_ggg(T117, T118, X217, times69_out_gga(T120, T118, X216)) → times69_out_ggg(s(T117), T118, X217)
U11_gga(T117, T118, times69_out_ggg(T120, T118, 0)) → times69_out_gga(s(T117), T118, 0)
U8_gga(T117, T118, X217, times69_out_gga(T120, T118, X216)) → times69_out_gga(s(T117), T118, X217)
U51_gga(T77, T78, T80, times69_out_gga(T82, T78, X129)) → times1_out_gga(s(s(T77)), T78, T80)
times1_in_gga(s(s(T77)), T78, 0) → U52_gga(T77, T78, even36_in_gg(T77, true))
U52_gga(T77, T78, even36_out_gg(T77, true)) → U53_gga(T77, T78, half56_in_ga(T77, T82))
U53_gga(T77, T78, half56_out_ga(T77, T82)) → U54_gga(T77, T78, times69_in_ggg(T82, T78, 0))
U54_gga(T77, T78, times69_out_ggg(T82, T78, 0)) → times1_out_gga(s(s(T77)), T78, 0)
times1_in_gga(s(s(T77)), T78, s(s(0))) → U55_gga(T77, T78, even36_in_gg(T77, true))
U55_gga(T77, T78, even36_out_gg(T77, true)) → U56_gga(T77, T78, half56_in_ga(T77, T82))
U56_gga(T77, T78, half56_out_ga(T77, T82)) → U57_gga(T77, T78, times69_in_ggg(T82, T78, s(0)))
U57_gga(T77, T78, times69_out_ggg(T82, T78, s(0))) → times1_out_gga(s(s(T77)), T78, s(s(0)))
times1_in_gga(s(s(T77)), T78, s(s(s(s(0))))) → U58_gga(T77, T78, even36_in_gg(T77, true))
U58_gga(T77, T78, even36_out_gg(T77, true)) → U59_gga(T77, T78, half56_in_ga(T77, T82))
U59_gga(T77, T78, half56_out_ga(T77, T82)) → U60_gga(T77, T78, times69_in_ggg(T82, T78, s(s(0))))
U60_gga(T77, T78, times69_out_ggg(T82, T78, s(s(0)))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(0)))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(0))))))) → U61_gga(T77, T78, even36_in_gg(T77, true))
U61_gga(T77, T78, even36_out_gg(T77, true)) → U62_gga(T77, T78, half56_in_ga(T77, T82))
U62_gga(T77, T78, half56_out_ga(T77, T82)) → U63_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(0)))))
U63_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(0))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(0)))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(0))))))))) → U64_gga(T77, T78, even36_in_gg(T77, true))
U64_gga(T77, T78, even36_out_gg(T77, true)) → U65_gga(T77, T78, half56_in_ga(T77, T82))
U65_gga(T77, T78, half56_out_ga(T77, T82)) → U66_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(0))))))
U66_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(0)))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(0)))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U67_gga(T77, T78, even36_in_gg(T77, true))
U67_gga(T77, T78, even36_out_gg(T77, true)) → U68_gga(T77, T78, half56_in_ga(T77, T82))
U68_gga(T77, T78, half56_out_ga(T77, T82)) → U69_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(0)))))))
U69_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(0))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(0)))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U70_gga(T77, T78, even36_in_gg(T77, true))
U70_gga(T77, T78, even36_out_gg(T77, true)) → U71_gga(T77, T78, half56_in_ga(T77, T82))
U71_gga(T77, T78, half56_out_ga(T77, T82)) → U72_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(s(0))))))))
U72_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(s(0)))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U73_gga(T77, T78, even36_in_gg(T77, true))
U73_gga(T77, T78, even36_out_gg(T77, true)) → U74_gga(T77, T78, half56_in_ga(T77, T82))
U74_gga(T77, T78, half56_out_ga(T77, T82)) → U75_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(s(s(0)))))))))
U75_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(s(s(0))))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(T248))))))))) → U76_gga(T77, T78, T248, even36_in_gg(T77, true))
U76_gga(T77, T78, T248, even36_out_gg(T77, true)) → U77_gga(T77, T78, T248, half56_in_ga(T77, T82))
U77_gga(T77, T78, T248, half56_out_ga(T77, T82)) → U78_gga(T77, T78, T248, times69_in_gga(T82, T78, s(s(s(s(s(s(s(s(T246))))))))))
U78_gga(T77, T78, T248, times69_out_gga(T82, T78, s(s(s(s(s(s(s(s(T246)))))))))) → U79_gga(T77, T78, T248, plus19_in_aaa(T246, s(s(s(s(s(s(s(s(T246)))))))), T248))
plus19_in_aaa(0, T42, T42) → plus19_out_aaa(0, T42, T42)
plus19_in_aaa(s(T49), T50, s(T52)) → U1_aaa(T49, T50, T52, plus19_in_aaa(T49, T50, T52))
U1_aaa(T49, T50, T52, plus19_out_aaa(T49, T50, T52)) → plus19_out_aaa(s(T49), T50, s(T52))
U79_gga(T77, T78, T248, plus19_out_aaa(T246, s(s(s(s(s(s(s(s(T246)))))))), T248)) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(T248)))))))))
times1_in_gga(s(s(T258)), T259, T261) → U80_gga(T258, T259, T261, even36_in_gg(T258, false))
U80_gga(T258, T259, T261, even36_out_gg(T258, false)) → U81_gga(T258, T259, T261, times69_in_gga(s(T258), T259, X662))
U81_gga(T258, T259, T261, times69_out_gga(s(T258), T259, X662)) → times1_out_gga(s(s(T258)), T259, T261)
U80_gga(T258, T259, T261, even36_out_gg(T258, false)) → U82_gga(T258, T259, T261, times69_in_gga(s(T258), T259, T264))
U82_gga(T258, T259, T261, times69_out_gga(s(T258), T259, T264)) → U83_gga(T258, T259, T261, plus19_in_gaa(T259, T264, T261))
plus19_in_gaa(0, T42, T42) → plus19_out_gaa(0, T42, T42)
plus19_in_gaa(s(T49), T50, s(T52)) → U1_gaa(T49, T50, T52, plus19_in_gaa(T49, T50, T52))
U1_gaa(T49, T50, T52, plus19_out_gaa(T49, T50, T52)) → plus19_out_gaa(s(T49), T50, s(T52))
U83_gga(T258, T259, T261, plus19_out_gaa(T259, T264, T261)) → times1_out_gga(s(s(T258)), T259, T261)

The argument filtering Pi contains the following mapping:
times1_in_gga(x1, x2, x3)  =  times1_in_gga(x1, x2)
0  =  0
times1_out_gga(x1, x2, x3)  =  times1_out_gga(x1, x2)
s(x1)  =  s(x1)
U44_gga(x1, x2, x3)  =  U44_gga(x1, x3)
times18_in_ga(x1, x2)  =  times18_in_ga(x1)
times18_out_ga(x1, x2)  =  times18_out_ga(x1, x2)
U45_gga(x1, x2, x3)  =  U45_gga(x1, x3)
U46_gga(x1, x2, x3)  =  U46_gga(x1, x3)
plus19_in_gga(x1, x2, x3)  =  plus19_in_gga(x1, x2)
plus19_out_gga(x1, x2, x3)  =  plus19_out_gga(x1, x2, x3)
U1_gga(x1, x2, x3, x4)  =  U1_gga(x1, x2, x4)
U47_gga(x1, x2, x3, x4)  =  U47_gga(x1, x2, x4)
even36_in_ga(x1, x2)  =  even36_in_ga(x1)
even36_out_ga(x1, x2)  =  even36_out_ga(x1, x2)
U2_ga(x1, x2, x3)  =  U2_ga(x1, x3)
U48_gga(x1, x2, x3, x4)  =  U48_gga(x1, x2, x4)
even36_in_gg(x1, x2)  =  even36_in_gg(x1, x2)
true  =  true
even36_out_gg(x1, x2)  =  even36_out_gg(x1, x2)
false  =  false
U2_gg(x1, x2, x3)  =  U2_gg(x1, x2, x3)
U49_gga(x1, x2, x3, x4)  =  U49_gga(x1, x2, x4)
half56_in_ga(x1, x2)  =  half56_in_ga(x1)
U43_ga(x1, x2, x3)  =  U43_ga(x1, x3)
half60_in_ga(x1, x2)  =  half60_in_ga(x1)
half60_out_ga(x1, x2)  =  half60_out_ga(x1, x2)
U3_ga(x1, x2, x3)  =  U3_ga(x1, x3)
half56_out_ga(x1, x2)  =  half56_out_ga(x1, x2)
U50_gga(x1, x2, x3, x4)  =  U50_gga(x1, x2, x4)
U51_gga(x1, x2, x3, x4)  =  U51_gga(x1, x2, x4)
times69_in_gga(x1, x2, x3)  =  times69_in_gga(x1, x2)
times69_out_gga(x1, x2, x3)  =  times69_out_gga(x1, x2)
U4_gga(x1, x2, x3, x4)  =  U4_gga(x1, x2, x4)
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)
U8_gga(x1, x2, x3, x4)  =  U8_gga(x1, x2, x4)
U9_gga(x1, x2, x3)  =  U9_gga(x1, x2, x3)
U10_gga(x1, x2, x3)  =  U10_gga(x1, x2, x3)
U11_gga(x1, x2, x3)  =  U11_gga(x1, x2, x3)
times69_in_ggg(x1, x2, x3)  =  times69_in_ggg(x1, x2, x3)
times69_out_ggg(x1, x2, x3)  =  times69_out_ggg(x1, x2, x3)
U4_ggg(x1, x2, x3, x4)  =  U4_ggg(x1, x2, x3, x4)
U5_ggg(x1, x2, x3, x4)  =  U5_ggg(x1, x2, x3, x4)
U6_ggg(x1, x2, x3, x4)  =  U6_ggg(x1, x2, x3, x4)
U7_ggg(x1, x2, x3, x4)  =  U7_ggg(x1, x2, x3, x4)
U8_ggg(x1, x2, x3, x4)  =  U8_ggg(x1, x2, x3, x4)
U12_gga(x1, x2, x3)  =  U12_gga(x1, x2, x3)
U13_gga(x1, x2, x3)  =  U13_gga(x1, x2, x3)
U14_gga(x1, x2, x3)  =  U14_gga(x1, x2, x3)
U9_ggg(x1, x2, x3)  =  U9_ggg(x1, x2, x3)
U10_ggg(x1, x2, x3)  =  U10_ggg(x1, x2, x3)
U11_ggg(x1, x2, x3)  =  U11_ggg(x1, x2, x3)
U12_ggg(x1, x2, x3)  =  U12_ggg(x1, x2, x3)
U13_ggg(x1, x2, x3)  =  U13_ggg(x1, x2, x3)
U14_ggg(x1, x2, x3)  =  U14_ggg(x1, x2, x3)
U15_ggg(x1, x2, x3)  =  U15_ggg(x1, x2, x3)
U16_ggg(x1, x2, x3)  =  U16_ggg(x1, x2, x3)
U17_ggg(x1, x2, x3)  =  U17_ggg(x1, x2, x3)
U18_ggg(x1, x2, x3)  =  U18_ggg(x1, x2, x3)
U19_ggg(x1, x2, x3)  =  U19_ggg(x1, x2, x3)
U20_ggg(x1, x2, x3)  =  U20_ggg(x1, x2, x3)
U21_ggg(x1, x2, x3)  =  U21_ggg(x1, x2, x3)
U22_ggg(x1, x2, x3)  =  U22_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)  =  U26_ggg(x1, x2, x3)
U27_ggg(x1, x2, x3)  =  U27_ggg(x1, x2, x3)
U28_ggg(x1, x2, x3)  =  U28_ggg(x1, x2, x3)
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)  =  U32_ggg(x1, x2, x3)
U33_ggg(x1, x2, x3, x4)  =  U33_ggg(x1, x2, x3, x4)
U34_ggg(x1, x2, x3, x4)  =  U34_ggg(x1, x2, x3, x4)
U35_ggg(x1, x2, x3, x4)  =  U35_ggg(x1, x2, x3, x4)
U15_gga(x1, x2, x3)  =  U15_gga(x1, x2, x3)
U16_gga(x1, x2, x3)  =  U16_gga(x1, x2, x3)
U17_gga(x1, x2, x3)  =  U17_gga(x1, x2, x3)
U37_ggg(x1, x2, x3, x4)  =  U37_ggg(x1, x2, x3, x4)
U38_ggg(x1, x2, x3, x4)  =  U38_ggg(x1, x2, x3, x4)
U18_gga(x1, x2, x3)  =  U18_gga(x1, x2, x3)
U19_gga(x1, x2, x3)  =  U19_gga(x1, x2, x3)
U20_gga(x1, x2, x3)  =  U20_gga(x1, x2, x3)
U21_gga(x1, x2, x3)  =  U21_gga(x1, x2, x3)
U22_gga(x1, x2, x3)  =  U22_gga(x1, x2, x3)
U23_gga(x1, x2, x3)  =  U23_gga(x1, x2, x3)
U24_gga(x1, x2, x3)  =  U24_gga(x1, x2, x3)
U25_gga(x1, x2, x3)  =  U25_gga(x1, x2, x3)
U26_gga(x1, x2, x3)  =  U26_gga(x1, x2, x3)
U27_gga(x1, x2, x3)  =  U27_gga(x1, x2, x3)
U28_gga(x1, x2, x3)  =  U28_gga(x1, x2, x3)
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)  =  U32_gga(x1, x2, x3)
U33_gga(x1, x2, x3, x4)  =  U33_gga(x1, x2, x4)
U34_gga(x1, x2, x3, x4)  =  U34_gga(x1, x2, x4)
U35_gga(x1, x2, x3, x4)  =  U35_gga(x1, x2, x4)
U37_gga(x1, x2, x3, x4)  =  U37_gga(x1, x2, x4)
U38_gga(x1, x2, x3, x4)  =  U38_gga(x1, x2, x4)
U39_gga(x1, x2, x3, x4)  =  U39_gga(x1, x2, x4)
U40_gga(x1, x2, x3, x4)  =  U40_gga(x1, x2, x4)
plus166_in_gaa(x1, x2, x3)  =  plus166_in_gaa(x1)
plus166_out_gaa(x1, x2, x3)  =  plus166_out_gaa(x1)
U42_gaa(x1, x2, x3, x4)  =  U42_gaa(x1, x4)
U36_gga(x1, x2, x3, x4)  =  U36_gga(x1, x2, x4)
plus154_in_aaa(x1, x2, x3)  =  plus154_in_aaa
plus154_out_aaa(x1, x2, x3)  =  plus154_out_aaa(x1)
U41_aaa(x1, x2, x3, x4)  =  U41_aaa(x4)
U39_ggg(x1, x2, x3, x4)  =  U39_ggg(x1, x2, x3, x4)
U40_ggg(x1, x2, x3, x4)  =  U40_ggg(x1, x2, x3, x4)
plus166_in_gag(x1, x2, x3)  =  plus166_in_gag(x1, x3)
plus166_out_gag(x1, x2, x3)  =  plus166_out_gag(x1, x2, x3)
U42_gag(x1, x2, x3, x4)  =  U42_gag(x1, x3, x4)
U36_ggg(x1, x2, x3, x4)  =  U36_ggg(x1, x2, x3, x4)
plus154_in_aag(x1, x2, x3)  =  plus154_in_aag(x3)
plus154_out_aag(x1, x2, x3)  =  plus154_out_aag(x1, x2, x3)
U41_aag(x1, x2, x3, x4)  =  U41_aag(x3, x4)
U52_gga(x1, x2, x3)  =  U52_gga(x1, x2, x3)
U53_gga(x1, x2, x3)  =  U53_gga(x1, x2, x3)
U54_gga(x1, x2, x3)  =  U54_gga(x1, x2, x3)
U55_gga(x1, x2, x3)  =  U55_gga(x1, x2, x3)
U56_gga(x1, x2, x3)  =  U56_gga(x1, x2, x3)
U57_gga(x1, x2, x3)  =  U57_gga(x1, x2, x3)
U58_gga(x1, x2, x3)  =  U58_gga(x1, x2, x3)
U59_gga(x1, x2, x3)  =  U59_gga(x1, x2, x3)
U60_gga(x1, x2, x3)  =  U60_gga(x1, x2, x3)
U61_gga(x1, x2, x3)  =  U61_gga(x1, x2, x3)
U62_gga(x1, x2, x3)  =  U62_gga(x1, x2, x3)
U63_gga(x1, x2, x3)  =  U63_gga(x1, x2, x3)
U64_gga(x1, x2, x3)  =  U64_gga(x1, x2, x3)
U65_gga(x1, x2, x3)  =  U65_gga(x1, x2, x3)
U66_gga(x1, x2, x3)  =  U66_gga(x1, x2, x3)
U67_gga(x1, x2, x3)  =  U67_gga(x1, x2, x3)
U68_gga(x1, x2, x3)  =  U68_gga(x1, x2, x3)
U69_gga(x1, x2, x3)  =  U69_gga(x1, x2, x3)
U70_gga(x1, x2, x3)  =  U70_gga(x1, x2, x3)
U71_gga(x1, x2, x3)  =  U71_gga(x1, x2, x3)
U72_gga(x1, x2, x3)  =  U72_gga(x1, x2, x3)
U73_gga(x1, x2, x3)  =  U73_gga(x1, x2, x3)
U74_gga(x1, x2, x3)  =  U74_gga(x1, x2, x3)
U75_gga(x1, x2, x3)  =  U75_gga(x1, x2, x3)
U76_gga(x1, x2, x3, x4)  =  U76_gga(x1, x2, x4)
U77_gga(x1, x2, x3, x4)  =  U77_gga(x1, x2, x4)
U78_gga(x1, x2, x3, x4)  =  U78_gga(x1, x2, x4)
U79_gga(x1, x2, x3, x4)  =  U79_gga(x1, x2, x4)
plus19_in_aaa(x1, x2, x3)  =  plus19_in_aaa
plus19_out_aaa(x1, x2, x3)  =  plus19_out_aaa(x1)
U1_aaa(x1, x2, x3, x4)  =  U1_aaa(x4)
U80_gga(x1, x2, x3, x4)  =  U80_gga(x1, x2, x4)
U81_gga(x1, x2, x3, x4)  =  U81_gga(x1, x2, x4)
U82_gga(x1, x2, x3, x4)  =  U82_gga(x1, x2, x4)
U83_gga(x1, x2, x3, x4)  =  U83_gga(x1, x2, x4)
plus19_in_gaa(x1, x2, x3)  =  plus19_in_gaa(x1)
plus19_out_gaa(x1, x2, x3)  =  plus19_out_gaa(x1)
U1_gaa(x1, x2, x3, x4)  =  U1_gaa(x1, x4)
PLUS19_IN_GGA(x1, x2, x3)  =  PLUS19_IN_GGA(x1, x2)

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

(120) UsableRulesProof (EQUIVALENT transformation)

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

(121) Obligation:

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

PLUS19_IN_GGA(s(T49), T50, s(T52)) → PLUS19_IN_GGA(T49, T50, T52)

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

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

(122) PiDPToQDPProof (SOUND transformation)

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

(123) Obligation:

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

PLUS19_IN_GGA(s(T49), T50) → PLUS19_IN_GGA(T49, T50)

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

(124) QDPSizeChangeProof (EQUIVALENT transformation)

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

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

  • PLUS19_IN_GGA(s(T49), T50) → PLUS19_IN_GGA(T49, T50)
    The graph contains the following edges 1 > 1, 2 >= 2

(125) YES

(126) PrologToPiTRSProof (SOUND transformation)

We use the technique of [LOPSTR]. With regard to the inferred argument filtering the predicates were used in the following modes:
times1_in: (b,b,f)
plus19_in: (b,b,f) (f,f,f) (b,f,f)
even36_in: (b,f) (b,b)
half56_in: (b,f)
half60_in: (b,f)
times69_in: (b,b,f) (b,b,b)
plus166_in: (b,f,f) (b,f,b)
plus154_in: (f,f,f) (f,f,b)
Transforming Prolog into the following Term Rewriting System:
Pi-finite rewrite system:
The TRS R consists of the following rules:

times1_in_gga(0, T5, 0) → times1_out_gga(0, T5, 0)
times1_in_gga(s(0), T23, T25) → U44_gga(T23, T25, times18_in_ga(T23, X45))
times18_in_ga(T35, 0) → times18_out_ga(T35, 0)
U44_gga(T23, T25, times18_out_ga(T23, X45)) → times1_out_gga(s(0), T23, T25)
times1_in_gga(s(0), T23, T25) → U45_gga(T23, T25, times18_in_ga(T23, T29))
U45_gga(T23, T25, times18_out_ga(T23, T29)) → U46_gga(T23, T25, plus19_in_gga(T23, T29, T25))
plus19_in_gga(0, T42, T42) → plus19_out_gga(0, T42, T42)
plus19_in_gga(s(T49), T50, s(T52)) → U1_gga(T49, T50, T52, plus19_in_gga(T49, T50, T52))
U1_gga(T49, T50, T52, plus19_out_gga(T49, T50, T52)) → plus19_out_gga(s(T49), T50, s(T52))
U46_gga(T23, T25, plus19_out_gga(T23, T29, T25)) → times1_out_gga(s(0), T23, T25)
times1_in_gga(s(s(T57)), T10, T12) → U47_gga(T57, T10, T12, even36_in_ga(T57, X90))
even36_in_ga(0, true) → even36_out_ga(0, true)
even36_in_ga(s(0), false) → even36_out_ga(s(0), false)
even36_in_ga(s(s(T61)), X101) → U2_ga(T61, X101, even36_in_ga(T61, X101))
U2_ga(T61, X101, even36_out_ga(T61, X101)) → even36_out_ga(s(s(T61)), X101)
U47_gga(T57, T10, T12, even36_out_ga(T57, X90)) → times1_out_gga(s(s(T57)), T10, T12)
times1_in_gga(s(s(T77)), T78, T80) → U48_gga(T77, T78, T80, even36_in_gg(T77, true))
even36_in_gg(0, true) → even36_out_gg(0, true)
even36_in_gg(s(0), false) → even36_out_gg(s(0), false)
even36_in_gg(s(s(T61)), X101) → U2_gg(T61, X101, even36_in_gg(T61, X101))
U2_gg(T61, X101, even36_out_gg(T61, X101)) → even36_out_gg(s(s(T61)), X101)
U48_gga(T77, T78, T80, even36_out_gg(T77, true)) → U49_gga(T77, T78, T80, half56_in_ga(T77, X128))
half56_in_ga(T86, s(X147)) → U43_ga(T86, X147, half60_in_ga(T86, X147))
half60_in_ga(0, 0) → half60_out_ga(0, 0)
half60_in_ga(s(s(T89)), s(X156)) → U3_ga(T89, X156, half60_in_ga(T89, X156))
U3_ga(T89, X156, half60_out_ga(T89, X156)) → half60_out_ga(s(s(T89)), s(X156))
U43_ga(T86, X147, half60_out_ga(T86, X147)) → half56_out_ga(T86, s(X147))
U49_gga(T77, T78, T80, half56_out_ga(T77, X128)) → times1_out_gga(s(s(T77)), T78, T80)
U48_gga(T77, T78, T80, even36_out_gg(T77, true)) → U50_gga(T77, T78, T80, half56_in_ga(T77, T82))
U50_gga(T77, T78, T80, half56_out_ga(T77, T82)) → U51_gga(T77, T78, T80, times69_in_gga(T82, T78, X129))
times69_in_gga(0, T99, 0) → times69_out_gga(0, T99, 0)
times69_in_gga(s(T104), T105, X182) → U4_gga(T104, T105, X182, even36_in_ga(s(T104), X181))
U4_gga(T104, T105, X182, even36_out_ga(s(T104), X181)) → times69_out_gga(s(T104), T105, X182)
times69_in_gga(s(T117), T118, X217) → U5_gga(T117, T118, X217, even36_in_gg(s(T117), true))
U5_gga(T117, T118, X217, even36_out_gg(s(T117), true)) → U6_gga(T117, T118, X217, half60_in_ga(s(T117), X215))
U6_gga(T117, T118, X217, half60_out_ga(s(T117), X215)) → times69_out_gga(s(T117), T118, X217)
U5_gga(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_gga(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_gga(T117, T118, X217, half60_out_ga(s(T117), T120)) → U8_gga(T117, T118, X217, times69_in_gga(T120, T118, X216))
times69_in_gga(s(T117), T118, 0) → U9_gga(T117, T118, even36_in_gg(s(T117), true))
U9_gga(T117, T118, even36_out_gg(s(T117), true)) → U10_gga(T117, T118, half60_in_ga(s(T117), T120))
U10_gga(T117, T118, half60_out_ga(s(T117), T120)) → U11_gga(T117, T118, times69_in_ggg(T120, T118, 0))
times69_in_ggg(0, T99, 0) → times69_out_ggg(0, T99, 0)
times69_in_ggg(s(T104), T105, X182) → U4_ggg(T104, T105, X182, even36_in_ga(s(T104), X181))
U4_ggg(T104, T105, X182, even36_out_ga(s(T104), X181)) → times69_out_ggg(s(T104), T105, X182)
times69_in_ggg(s(T117), T118, X217) → U5_ggg(T117, T118, X217, even36_in_gg(s(T117), true))
U5_ggg(T117, T118, X217, even36_out_gg(s(T117), true)) → U6_ggg(T117, T118, X217, half60_in_ga(s(T117), X215))
U6_ggg(T117, T118, X217, half60_out_ga(s(T117), X215)) → times69_out_ggg(s(T117), T118, X217)
U5_ggg(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_ggg(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_ggg(T117, T118, X217, half60_out_ga(s(T117), T120)) → U8_ggg(T117, T118, X217, times69_in_gga(T120, T118, X216))
times69_in_gga(s(T117), T118, s(s(0))) → U12_gga(T117, T118, even36_in_gg(s(T117), true))
U12_gga(T117, T118, even36_out_gg(s(T117), true)) → U13_gga(T117, T118, half60_in_ga(s(T117), T120))
U13_gga(T117, T118, half60_out_ga(s(T117), T120)) → U14_gga(T117, T118, times69_in_ggg(T120, T118, s(0)))
times69_in_ggg(s(T117), T118, 0) → U9_ggg(T117, T118, even36_in_gg(s(T117), true))
U9_ggg(T117, T118, even36_out_gg(s(T117), true)) → U10_ggg(T117, T118, half60_in_ga(s(T117), T120))
U10_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U11_ggg(T117, T118, times69_in_ggg(T120, T118, 0))
times69_in_ggg(s(T117), T118, s(s(0))) → U12_ggg(T117, T118, even36_in_gg(s(T117), true))
U12_ggg(T117, T118, even36_out_gg(s(T117), true)) → U13_ggg(T117, T118, half60_in_ga(s(T117), T120))
U13_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U14_ggg(T117, T118, times69_in_ggg(T120, T118, s(0)))
times69_in_ggg(s(T117), T118, s(s(s(s(0))))) → U15_ggg(T117, T118, even36_in_gg(s(T117), true))
U15_ggg(T117, T118, even36_out_gg(s(T117), true)) → U16_ggg(T117, T118, half60_in_ga(s(T117), T120))
U16_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U17_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(0))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_ggg(T117, T118, even36_in_gg(s(T117), true))
U18_ggg(T117, T118, even36_out_gg(s(T117), true)) → U19_ggg(T117, T118, half60_in_ga(s(T117), T120))
U19_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U20_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(0)))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → U21_ggg(T117, T118, even36_in_gg(s(T117), true))
U21_ggg(T117, T118, even36_out_gg(s(T117), true)) → U22_ggg(T117, T118, half60_in_ga(s(T117), T120))
U22_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U23_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(0))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U24_ggg(T117, T118, even36_in_gg(s(T117), true))
U24_ggg(T117, T118, even36_out_gg(s(T117), true)) → U25_ggg(T117, T118, half60_in_ga(s(T117), T120))
U25_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U26_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(0)))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U27_ggg(T117, T118, even36_in_gg(s(T117), true))
U27_ggg(T117, T118, even36_out_gg(s(T117), true)) → U28_ggg(T117, T118, half60_in_ga(s(T117), T120))
U28_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U29_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(0))))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U30_ggg(T117, T118, even36_in_gg(s(T117), true))
U30_ggg(T117, T118, even36_out_gg(s(T117), true)) → U31_ggg(T117, T118, half60_in_ga(s(T117), T120))
U31_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U32_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(s(0)))))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → U33_ggg(T117, T118, X411, even36_in_gg(s(T117), true))
U33_ggg(T117, T118, X411, even36_out_gg(s(T117), true)) → U34_ggg(T117, T118, X411, half60_in_ga(s(T117), T120))
U34_ggg(T117, T118, X411, half60_out_ga(s(T117), T120)) → U35_ggg(T117, T118, X411, times69_in_gga(T120, T118, s(s(s(s(s(s(s(s(T150))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(0))))) → U15_gga(T117, T118, even36_in_gg(s(T117), true))
U15_gga(T117, T118, even36_out_gg(s(T117), true)) → U16_gga(T117, T118, half60_in_ga(s(T117), T120))
U16_gga(T117, T118, half60_out_ga(s(T117), T120)) → U17_gga(T117, T118, times69_in_ggg(T120, T118, s(s(0))))
times69_in_ggg(s(T171), T172, X455) → U37_ggg(T171, T172, X455, even36_in_gg(s(T171), false))
U37_ggg(T171, T172, X455, even36_out_gg(s(T171), false)) → U38_ggg(T171, T172, X455, times69_in_gga(T171, T172, X454))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_gga(T117, T118, even36_in_gg(s(T117), true))
U18_gga(T117, T118, even36_out_gg(s(T117), true)) → U19_gga(T117, T118, half60_in_ga(s(T117), T120))
U19_gga(T117, T118, half60_out_ga(s(T117), T120)) → U20_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(0)))))
U20_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(0))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(0)))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → U21_gga(T117, T118, even36_in_gg(s(T117), true))
U21_gga(T117, T118, even36_out_gg(s(T117), true)) → U22_gga(T117, T118, half60_in_ga(s(T117), T120))
U22_gga(T117, T118, half60_out_ga(s(T117), T120)) → U23_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(0))))))
U23_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(0)))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(0)))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U24_gga(T117, T118, even36_in_gg(s(T117), true))
U24_gga(T117, T118, even36_out_gg(s(T117), true)) → U25_gga(T117, T118, half60_in_ga(s(T117), T120))
U25_gga(T117, T118, half60_out_ga(s(T117), T120)) → U26_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(0)))))))
U26_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(0))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0)))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U27_gga(T117, T118, even36_in_gg(s(T117), true))
U27_gga(T117, T118, even36_out_gg(s(T117), true)) → U28_gga(T117, T118, half60_in_ga(s(T117), T120))
U28_gga(T117, T118, half60_out_ga(s(T117), T120)) → U29_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(0))))))))
U29_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(0)))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U30_gga(T117, T118, even36_in_gg(s(T117), true))
U30_gga(T117, T118, even36_out_gg(s(T117), true)) → U31_gga(T117, T118, half60_in_ga(s(T117), T120))
U31_gga(T117, T118, half60_out_ga(s(T117), T120)) → U32_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(s(0)))))))))
U32_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(s(0))))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → U33_gga(T117, T118, X411, even36_in_gg(s(T117), true))
U33_gga(T117, T118, X411, even36_out_gg(s(T117), true)) → U34_gga(T117, T118, X411, half60_in_ga(s(T117), T120))
U34_gga(T117, T118, X411, half60_out_ga(s(T117), T120)) → U35_gga(T117, T118, X411, times69_in_gga(T120, T118, s(s(s(s(s(s(s(s(T150))))))))))
times69_in_gga(s(T171), T172, X455) → U37_gga(T171, T172, X455, even36_in_gg(s(T171), false))
U37_gga(T171, T172, X455, even36_out_gg(s(T171), false)) → U38_gga(T171, T172, X455, times69_in_gga(T171, T172, X454))
U38_gga(T171, T172, X455, times69_out_gga(T171, T172, X454)) → times69_out_gga(s(T171), T172, X455)
U37_gga(T171, T172, X455, even36_out_gg(s(T171), false)) → U39_gga(T171, T172, X455, times69_in_gga(T171, T172, T175))
U39_gga(T171, T172, X455, times69_out_gga(T171, T172, T175)) → U40_gga(T171, T172, X455, plus166_in_gaa(T172, T175, X455))
plus166_in_gaa(0, T184, T184) → plus166_out_gaa(0, T184, T184)
plus166_in_gaa(s(T189), T190, s(X482)) → U42_gaa(T189, T190, X482, plus166_in_gaa(T189, T190, X482))
U42_gaa(T189, T190, X482, plus166_out_gaa(T189, T190, X482)) → plus166_out_gaa(s(T189), T190, s(X482))
U40_gga(T171, T172, X455, plus166_out_gaa(T172, T175, X455)) → times69_out_gga(s(T171), T172, X455)
U35_gga(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → U36_gga(T117, T118, X411, plus154_in_aaa(T150, s(s(s(s(s(s(s(T150))))))), X411))
plus154_in_aaa(0, T158, s(T158)) → plus154_out_aaa(0, T158, s(T158))
plus154_in_aaa(s(T163), T164, s(X436)) → U41_aaa(T163, T164, X436, plus154_in_aaa(T163, T164, X436))
U41_aaa(T163, T164, X436, plus154_out_aaa(T163, T164, X436)) → plus154_out_aaa(s(T163), T164, s(X436))
U36_gga(T117, T118, X411, plus154_out_aaa(T150, s(s(s(s(s(s(s(T150))))))), X411)) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(X411)))))))))
U38_ggg(T171, T172, X455, times69_out_gga(T171, T172, X454)) → times69_out_ggg(s(T171), T172, X455)
U37_ggg(T171, T172, X455, even36_out_gg(s(T171), false)) → U39_ggg(T171, T172, X455, times69_in_gga(T171, T172, T175))
U39_ggg(T171, T172, X455, times69_out_gga(T171, T172, T175)) → U40_ggg(T171, T172, X455, plus166_in_gag(T172, T175, X455))
plus166_in_gag(0, T184, T184) → plus166_out_gag(0, T184, T184)
plus166_in_gag(s(T189), T190, s(X482)) → U42_gag(T189, T190, X482, plus166_in_gag(T189, T190, X482))
U42_gag(T189, T190, X482, plus166_out_gag(T189, T190, X482)) → plus166_out_gag(s(T189), T190, s(X482))
U40_ggg(T171, T172, X455, plus166_out_gag(T172, T175, X455)) → times69_out_ggg(s(T171), T172, X455)
U17_gga(T117, T118, times69_out_ggg(T120, T118, s(s(0)))) → times69_out_gga(s(T117), T118, s(s(s(s(0)))))
U35_ggg(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → U36_ggg(T117, T118, X411, plus154_in_aag(T150, s(s(s(s(s(s(s(T150))))))), X411))
plus154_in_aag(0, T158, s(T158)) → plus154_out_aag(0, T158, s(T158))
plus154_in_aag(s(T163), T164, s(X436)) → U41_aag(T163, T164, X436, plus154_in_aag(T163, T164, X436))
U41_aag(T163, T164, X436, plus154_out_aag(T163, T164, X436)) → plus154_out_aag(s(T163), T164, s(X436))
U36_ggg(T117, T118, X411, plus154_out_aag(T150, s(s(s(s(s(s(s(T150))))))), X411)) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(X411)))))))))
U32_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(s(0))))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
U29_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(0)))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
U26_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(0))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0)))))))))))
U23_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(0)))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(0)))))))))
U20_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(0))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(0)))))))
U17_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(0)))) → times69_out_ggg(s(T117), T118, s(s(s(s(0)))))
U14_ggg(T117, T118, times69_out_ggg(T120, T118, s(0))) → times69_out_ggg(s(T117), T118, s(s(0)))
U11_ggg(T117, T118, times69_out_ggg(T120, T118, 0)) → times69_out_ggg(s(T117), T118, 0)
U14_gga(T117, T118, times69_out_ggg(T120, T118, s(0))) → times69_out_gga(s(T117), T118, s(s(0)))
U8_ggg(T117, T118, X217, times69_out_gga(T120, T118, X216)) → times69_out_ggg(s(T117), T118, X217)
U11_gga(T117, T118, times69_out_ggg(T120, T118, 0)) → times69_out_gga(s(T117), T118, 0)
U8_gga(T117, T118, X217, times69_out_gga(T120, T118, X216)) → times69_out_gga(s(T117), T118, X217)
U51_gga(T77, T78, T80, times69_out_gga(T82, T78, X129)) → times1_out_gga(s(s(T77)), T78, T80)
times1_in_gga(s(s(T77)), T78, 0) → U52_gga(T77, T78, even36_in_gg(T77, true))
U52_gga(T77, T78, even36_out_gg(T77, true)) → U53_gga(T77, T78, half56_in_ga(T77, T82))
U53_gga(T77, T78, half56_out_ga(T77, T82)) → U54_gga(T77, T78, times69_in_ggg(T82, T78, 0))
U54_gga(T77, T78, times69_out_ggg(T82, T78, 0)) → times1_out_gga(s(s(T77)), T78, 0)
times1_in_gga(s(s(T77)), T78, s(s(0))) → U55_gga(T77, T78, even36_in_gg(T77, true))
U55_gga(T77, T78, even36_out_gg(T77, true)) → U56_gga(T77, T78, half56_in_ga(T77, T82))
U56_gga(T77, T78, half56_out_ga(T77, T82)) → U57_gga(T77, T78, times69_in_ggg(T82, T78, s(0)))
U57_gga(T77, T78, times69_out_ggg(T82, T78, s(0))) → times1_out_gga(s(s(T77)), T78, s(s(0)))
times1_in_gga(s(s(T77)), T78, s(s(s(s(0))))) → U58_gga(T77, T78, even36_in_gg(T77, true))
U58_gga(T77, T78, even36_out_gg(T77, true)) → U59_gga(T77, T78, half56_in_ga(T77, T82))
U59_gga(T77, T78, half56_out_ga(T77, T82)) → U60_gga(T77, T78, times69_in_ggg(T82, T78, s(s(0))))
U60_gga(T77, T78, times69_out_ggg(T82, T78, s(s(0)))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(0)))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(0))))))) → U61_gga(T77, T78, even36_in_gg(T77, true))
U61_gga(T77, T78, even36_out_gg(T77, true)) → U62_gga(T77, T78, half56_in_ga(T77, T82))
U62_gga(T77, T78, half56_out_ga(T77, T82)) → U63_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(0)))))
U63_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(0))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(0)))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(0))))))))) → U64_gga(T77, T78, even36_in_gg(T77, true))
U64_gga(T77, T78, even36_out_gg(T77, true)) → U65_gga(T77, T78, half56_in_ga(T77, T82))
U65_gga(T77, T78, half56_out_ga(T77, T82)) → U66_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(0))))))
U66_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(0)))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(0)))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U67_gga(T77, T78, even36_in_gg(T77, true))
U67_gga(T77, T78, even36_out_gg(T77, true)) → U68_gga(T77, T78, half56_in_ga(T77, T82))
U68_gga(T77, T78, half56_out_ga(T77, T82)) → U69_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(0)))))))
U69_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(0))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(0)))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U70_gga(T77, T78, even36_in_gg(T77, true))
U70_gga(T77, T78, even36_out_gg(T77, true)) → U71_gga(T77, T78, half56_in_ga(T77, T82))
U71_gga(T77, T78, half56_out_ga(T77, T82)) → U72_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(s(0))))))))
U72_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(s(0)))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U73_gga(T77, T78, even36_in_gg(T77, true))
U73_gga(T77, T78, even36_out_gg(T77, true)) → U74_gga(T77, T78, half56_in_ga(T77, T82))
U74_gga(T77, T78, half56_out_ga(T77, T82)) → U75_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(s(s(0)))))))))
U75_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(s(s(0))))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(T248))))))))) → U76_gga(T77, T78, T248, even36_in_gg(T77, true))
U76_gga(T77, T78, T248, even36_out_gg(T77, true)) → U77_gga(T77, T78, T248, half56_in_ga(T77, T82))
U77_gga(T77, T78, T248, half56_out_ga(T77, T82)) → U78_gga(T77, T78, T248, times69_in_gga(T82, T78, s(s(s(s(s(s(s(s(T246))))))))))
U78_gga(T77, T78, T248, times69_out_gga(T82, T78, s(s(s(s(s(s(s(s(T246)))))))))) → U79_gga(T77, T78, T248, plus19_in_aaa(T246, s(s(s(s(s(s(s(s(T246)))))))), T248))
plus19_in_aaa(0, T42, T42) → plus19_out_aaa(0, T42, T42)
plus19_in_aaa(s(T49), T50, s(T52)) → U1_aaa(T49, T50, T52, plus19_in_aaa(T49, T50, T52))
U1_aaa(T49, T50, T52, plus19_out_aaa(T49, T50, T52)) → plus19_out_aaa(s(T49), T50, s(T52))
U79_gga(T77, T78, T248, plus19_out_aaa(T246, s(s(s(s(s(s(s(s(T246)))))))), T248)) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(T248)))))))))
times1_in_gga(s(s(T258)), T259, T261) → U80_gga(T258, T259, T261, even36_in_gg(T258, false))
U80_gga(T258, T259, T261, even36_out_gg(T258, false)) → U81_gga(T258, T259, T261, times69_in_gga(s(T258), T259, X662))
U81_gga(T258, T259, T261, times69_out_gga(s(T258), T259, X662)) → times1_out_gga(s(s(T258)), T259, T261)
U80_gga(T258, T259, T261, even36_out_gg(T258, false)) → U82_gga(T258, T259, T261, times69_in_gga(s(T258), T259, T264))
U82_gga(T258, T259, T261, times69_out_gga(s(T258), T259, T264)) → U83_gga(T258, T259, T261, plus19_in_gaa(T259, T264, T261))
plus19_in_gaa(0, T42, T42) → plus19_out_gaa(0, T42, T42)
plus19_in_gaa(s(T49), T50, s(T52)) → U1_gaa(T49, T50, T52, plus19_in_gaa(T49, T50, T52))
U1_gaa(T49, T50, T52, plus19_out_gaa(T49, T50, T52)) → plus19_out_gaa(s(T49), T50, s(T52))
U83_gga(T258, T259, T261, plus19_out_gaa(T259, T264, T261)) → times1_out_gga(s(s(T258)), T259, T261)

The argument filtering Pi contains the following mapping:
times1_in_gga(x1, x2, x3)  =  times1_in_gga(x1, x2)
0  =  0
times1_out_gga(x1, x2, x3)  =  times1_out_gga
s(x1)  =  s(x1)
U44_gga(x1, x2, x3)  =  U44_gga(x3)
times18_in_ga(x1, x2)  =  times18_in_ga(x1)
times18_out_ga(x1, x2)  =  times18_out_ga(x2)
U45_gga(x1, x2, x3)  =  U45_gga(x1, x3)
U46_gga(x1, x2, x3)  =  U46_gga(x3)
plus19_in_gga(x1, x2, x3)  =  plus19_in_gga(x1, x2)
plus19_out_gga(x1, x2, x3)  =  plus19_out_gga(x3)
U1_gga(x1, x2, x3, x4)  =  U1_gga(x4)
U47_gga(x1, x2, x3, x4)  =  U47_gga(x4)
even36_in_ga(x1, x2)  =  even36_in_ga(x1)
even36_out_ga(x1, x2)  =  even36_out_ga(x2)
U2_ga(x1, x2, x3)  =  U2_ga(x3)
U48_gga(x1, x2, x3, x4)  =  U48_gga(x1, x2, x4)
even36_in_gg(x1, x2)  =  even36_in_gg(x1, x2)
true  =  true
even36_out_gg(x1, x2)  =  even36_out_gg
false  =  false
U2_gg(x1, x2, x3)  =  U2_gg(x3)
U49_gga(x1, x2, x3, x4)  =  U49_gga(x4)
half56_in_ga(x1, x2)  =  half56_in_ga(x1)
U43_ga(x1, x2, x3)  =  U43_ga(x3)
half60_in_ga(x1, x2)  =  half60_in_ga(x1)
half60_out_ga(x1, x2)  =  half60_out_ga(x2)
U3_ga(x1, x2, x3)  =  U3_ga(x3)
half56_out_ga(x1, x2)  =  half56_out_ga(x2)
U50_gga(x1, x2, x3, x4)  =  U50_gga(x2, x4)
U51_gga(x1, x2, x3, x4)  =  U51_gga(x4)
times69_in_gga(x1, x2, x3)  =  times69_in_gga(x1, x2)
times69_out_gga(x1, x2, x3)  =  times69_out_gga
U4_gga(x1, x2, x3, x4)  =  U4_gga(x4)
U5_gga(x1, x2, x3, x4)  =  U5_gga(x1, x2, x4)
U6_gga(x1, x2, x3, x4)  =  U6_gga(x4)
U7_gga(x1, x2, x3, x4)  =  U7_gga(x2, x4)
U8_gga(x1, x2, x3, x4)  =  U8_gga(x4)
U9_gga(x1, x2, x3)  =  U9_gga(x1, x2, x3)
U10_gga(x1, x2, x3)  =  U10_gga(x2, x3)
U11_gga(x1, x2, x3)  =  U11_gga(x3)
times69_in_ggg(x1, x2, x3)  =  times69_in_ggg(x1, x2, x3)
times69_out_ggg(x1, x2, x3)  =  times69_out_ggg
U4_ggg(x1, x2, x3, x4)  =  U4_ggg(x4)
U5_ggg(x1, x2, x3, x4)  =  U5_ggg(x1, x2, x4)
U6_ggg(x1, x2, x3, x4)  =  U6_ggg(x4)
U7_ggg(x1, x2, x3, x4)  =  U7_ggg(x2, x4)
U8_ggg(x1, x2, x3, x4)  =  U8_ggg(x4)
U12_gga(x1, x2, x3)  =  U12_gga(x1, x2, x3)
U13_gga(x1, x2, x3)  =  U13_gga(x2, x3)
U14_gga(x1, x2, x3)  =  U14_gga(x3)
U9_ggg(x1, x2, x3)  =  U9_ggg(x1, x2, x3)
U10_ggg(x1, x2, x3)  =  U10_ggg(x2, x3)
U11_ggg(x1, x2, x3)  =  U11_ggg(x3)
U12_ggg(x1, x2, x3)  =  U12_ggg(x1, x2, x3)
U13_ggg(x1, x2, x3)  =  U13_ggg(x2, x3)
U14_ggg(x1, x2, x3)  =  U14_ggg(x3)
U15_ggg(x1, x2, x3)  =  U15_ggg(x1, x2, x3)
U16_ggg(x1, x2, x3)  =  U16_ggg(x2, x3)
U17_ggg(x1, x2, x3)  =  U17_ggg(x3)
U18_ggg(x1, x2, x3)  =  U18_ggg(x1, x2, x3)
U19_ggg(x1, x2, x3)  =  U19_ggg(x2, x3)
U20_ggg(x1, x2, x3)  =  U20_ggg(x3)
U21_ggg(x1, x2, x3)  =  U21_ggg(x1, x2, x3)
U22_ggg(x1, x2, x3)  =  U22_ggg(x2, x3)
U23_ggg(x1, x2, x3)  =  U23_ggg(x3)
U24_ggg(x1, x2, x3)  =  U24_ggg(x1, x2, x3)
U25_ggg(x1, x2, x3)  =  U25_ggg(x2, x3)
U26_ggg(x1, x2, x3)  =  U26_ggg(x3)
U27_ggg(x1, x2, x3)  =  U27_ggg(x1, x2, x3)
U28_ggg(x1, x2, x3)  =  U28_ggg(x2, x3)
U29_ggg(x1, x2, x3)  =  U29_ggg(x3)
U30_ggg(x1, x2, x3)  =  U30_ggg(x1, x2, x3)
U31_ggg(x1, x2, x3)  =  U31_ggg(x2, x3)
U32_ggg(x1, x2, x3)  =  U32_ggg(x3)
U33_ggg(x1, x2, x3, x4)  =  U33_ggg(x1, x2, x3, x4)
U34_ggg(x1, x2, x3, x4)  =  U34_ggg(x2, x3, x4)
U35_ggg(x1, x2, x3, x4)  =  U35_ggg(x3, x4)
U15_gga(x1, x2, x3)  =  U15_gga(x1, x2, x3)
U16_gga(x1, x2, x3)  =  U16_gga(x2, x3)
U17_gga(x1, x2, x3)  =  U17_gga(x3)
U37_ggg(x1, x2, x3, x4)  =  U37_ggg(x1, x2, x3, x4)
U38_ggg(x1, x2, x3, x4)  =  U38_ggg(x4)
U18_gga(x1, x2, x3)  =  U18_gga(x1, x2, x3)
U19_gga(x1, x2, x3)  =  U19_gga(x2, x3)
U20_gga(x1, x2, x3)  =  U20_gga(x3)
U21_gga(x1, x2, x3)  =  U21_gga(x1, x2, x3)
U22_gga(x1, x2, x3)  =  U22_gga(x2, x3)
U23_gga(x1, x2, x3)  =  U23_gga(x3)
U24_gga(x1, x2, x3)  =  U24_gga(x1, x2, x3)
U25_gga(x1, x2, x3)  =  U25_gga(x2, x3)
U26_gga(x1, x2, x3)  =  U26_gga(x3)
U27_gga(x1, x2, x3)  =  U27_gga(x1, x2, x3)
U28_gga(x1, x2, x3)  =  U28_gga(x2, x3)
U29_gga(x1, x2, x3)  =  U29_gga(x3)
U30_gga(x1, x2, x3)  =  U30_gga(x1, x2, x3)
U31_gga(x1, x2, x3)  =  U31_gga(x2, x3)
U32_gga(x1, x2, x3)  =  U32_gga(x3)
U33_gga(x1, x2, x3, x4)  =  U33_gga(x1, x2, x4)
U34_gga(x1, x2, x3, x4)  =  U34_gga(x2, x4)
U35_gga(x1, x2, x3, x4)  =  U35_gga(x4)
U37_gga(x1, x2, x3, x4)  =  U37_gga(x1, x2, x4)
U38_gga(x1, x2, x3, x4)  =  U38_gga(x4)
U39_gga(x1, x2, x3, x4)  =  U39_gga(x2, x4)
U40_gga(x1, x2, x3, x4)  =  U40_gga(x4)
plus166_in_gaa(x1, x2, x3)  =  plus166_in_gaa(x1)
plus166_out_gaa(x1, x2, x3)  =  plus166_out_gaa
U42_gaa(x1, x2, x3, x4)  =  U42_gaa(x4)
U36_gga(x1, x2, x3, x4)  =  U36_gga(x4)
plus154_in_aaa(x1, x2, x3)  =  plus154_in_aaa
plus154_out_aaa(x1, x2, x3)  =  plus154_out_aaa(x1)
U41_aaa(x1, x2, x3, x4)  =  U41_aaa(x4)
U39_ggg(x1, x2, x3, x4)  =  U39_ggg(x2, x3, x4)
U40_ggg(x1, x2, x3, x4)  =  U40_ggg(x4)
plus166_in_gag(x1, x2, x3)  =  plus166_in_gag(x1, x3)
plus166_out_gag(x1, x2, x3)  =  plus166_out_gag(x2)
U42_gag(x1, x2, x3, x4)  =  U42_gag(x4)
U36_ggg(x1, x2, x3, x4)  =  U36_ggg(x4)
plus154_in_aag(x1, x2, x3)  =  plus154_in_aag(x3)
plus154_out_aag(x1, x2, x3)  =  plus154_out_aag(x1, x2)
U41_aag(x1, x2, x3, x4)  =  U41_aag(x4)
U52_gga(x1, x2, x3)  =  U52_gga(x1, x2, x3)
U53_gga(x1, x2, x3)  =  U53_gga(x2, x3)
U54_gga(x1, x2, x3)  =  U54_gga(x3)
U55_gga(x1, x2, x3)  =  U55_gga(x1, x2, x3)
U56_gga(x1, x2, x3)  =  U56_gga(x2, x3)
U57_gga(x1, x2, x3)  =  U57_gga(x3)
U58_gga(x1, x2, x3)  =  U58_gga(x1, x2, x3)
U59_gga(x1, x2, x3)  =  U59_gga(x2, x3)
U60_gga(x1, x2, x3)  =  U60_gga(x3)
U61_gga(x1, x2, x3)  =  U61_gga(x1, x2, x3)
U62_gga(x1, x2, x3)  =  U62_gga(x2, x3)
U63_gga(x1, x2, x3)  =  U63_gga(x3)
U64_gga(x1, x2, x3)  =  U64_gga(x1, x2, x3)
U65_gga(x1, x2, x3)  =  U65_gga(x2, x3)
U66_gga(x1, x2, x3)  =  U66_gga(x3)
U67_gga(x1, x2, x3)  =  U67_gga(x1, x2, x3)
U68_gga(x1, x2, x3)  =  U68_gga(x2, x3)
U69_gga(x1, x2, x3)  =  U69_gga(x3)
U70_gga(x1, x2, x3)  =  U70_gga(x1, x2, x3)
U71_gga(x1, x2, x3)  =  U71_gga(x2, x3)
U72_gga(x1, x2, x3)  =  U72_gga(x3)
U73_gga(x1, x2, x3)  =  U73_gga(x1, x2, x3)
U74_gga(x1, x2, x3)  =  U74_gga(x2, x3)
U75_gga(x1, x2, x3)  =  U75_gga(x3)
U76_gga(x1, x2, x3, x4)  =  U76_gga(x1, x2, x4)
U77_gga(x1, x2, x3, x4)  =  U77_gga(x2, x4)
U78_gga(x1, x2, x3, x4)  =  U78_gga(x4)
U79_gga(x1, x2, x3, x4)  =  U79_gga(x4)
plus19_in_aaa(x1, x2, x3)  =  plus19_in_aaa
plus19_out_aaa(x1, x2, x3)  =  plus19_out_aaa(x1)
U1_aaa(x1, x2, x3, x4)  =  U1_aaa(x4)
U80_gga(x1, x2, x3, x4)  =  U80_gga(x1, x2, x4)
U81_gga(x1, x2, x3, x4)  =  U81_gga(x4)
U82_gga(x1, x2, x3, x4)  =  U82_gga(x2, x4)
U83_gga(x1, x2, x3, x4)  =  U83_gga(x4)
plus19_in_gaa(x1, x2, x3)  =  plus19_in_gaa(x1)
plus19_out_gaa(x1, x2, x3)  =  plus19_out_gaa
U1_gaa(x1, x2, x3, x4)  =  U1_gaa(x4)

Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog

(127) Obligation:

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

times1_in_gga(0, T5, 0) → times1_out_gga(0, T5, 0)
times1_in_gga(s(0), T23, T25) → U44_gga(T23, T25, times18_in_ga(T23, X45))
times18_in_ga(T35, 0) → times18_out_ga(T35, 0)
U44_gga(T23, T25, times18_out_ga(T23, X45)) → times1_out_gga(s(0), T23, T25)
times1_in_gga(s(0), T23, T25) → U45_gga(T23, T25, times18_in_ga(T23, T29))
U45_gga(T23, T25, times18_out_ga(T23, T29)) → U46_gga(T23, T25, plus19_in_gga(T23, T29, T25))
plus19_in_gga(0, T42, T42) → plus19_out_gga(0, T42, T42)
plus19_in_gga(s(T49), T50, s(T52)) → U1_gga(T49, T50, T52, plus19_in_gga(T49, T50, T52))
U1_gga(T49, T50, T52, plus19_out_gga(T49, T50, T52)) → plus19_out_gga(s(T49), T50, s(T52))
U46_gga(T23, T25, plus19_out_gga(T23, T29, T25)) → times1_out_gga(s(0), T23, T25)
times1_in_gga(s(s(T57)), T10, T12) → U47_gga(T57, T10, T12, even36_in_ga(T57, X90))
even36_in_ga(0, true) → even36_out_ga(0, true)
even36_in_ga(s(0), false) → even36_out_ga(s(0), false)
even36_in_ga(s(s(T61)), X101) → U2_ga(T61, X101, even36_in_ga(T61, X101))
U2_ga(T61, X101, even36_out_ga(T61, X101)) → even36_out_ga(s(s(T61)), X101)
U47_gga(T57, T10, T12, even36_out_ga(T57, X90)) → times1_out_gga(s(s(T57)), T10, T12)
times1_in_gga(s(s(T77)), T78, T80) → U48_gga(T77, T78, T80, even36_in_gg(T77, true))
even36_in_gg(0, true) → even36_out_gg(0, true)
even36_in_gg(s(0), false) → even36_out_gg(s(0), false)
even36_in_gg(s(s(T61)), X101) → U2_gg(T61, X101, even36_in_gg(T61, X101))
U2_gg(T61, X101, even36_out_gg(T61, X101)) → even36_out_gg(s(s(T61)), X101)
U48_gga(T77, T78, T80, even36_out_gg(T77, true)) → U49_gga(T77, T78, T80, half56_in_ga(T77, X128))
half56_in_ga(T86, s(X147)) → U43_ga(T86, X147, half60_in_ga(T86, X147))
half60_in_ga(0, 0) → half60_out_ga(0, 0)
half60_in_ga(s(s(T89)), s(X156)) → U3_ga(T89, X156, half60_in_ga(T89, X156))
U3_ga(T89, X156, half60_out_ga(T89, X156)) → half60_out_ga(s(s(T89)), s(X156))
U43_ga(T86, X147, half60_out_ga(T86, X147)) → half56_out_ga(T86, s(X147))
U49_gga(T77, T78, T80, half56_out_ga(T77, X128)) → times1_out_gga(s(s(T77)), T78, T80)
U48_gga(T77, T78, T80, even36_out_gg(T77, true)) → U50_gga(T77, T78, T80, half56_in_ga(T77, T82))
U50_gga(T77, T78, T80, half56_out_ga(T77, T82)) → U51_gga(T77, T78, T80, times69_in_gga(T82, T78, X129))
times69_in_gga(0, T99, 0) → times69_out_gga(0, T99, 0)
times69_in_gga(s(T104), T105, X182) → U4_gga(T104, T105, X182, even36_in_ga(s(T104), X181))
U4_gga(T104, T105, X182, even36_out_ga(s(T104), X181)) → times69_out_gga(s(T104), T105, X182)
times69_in_gga(s(T117), T118, X217) → U5_gga(T117, T118, X217, even36_in_gg(s(T117), true))
U5_gga(T117, T118, X217, even36_out_gg(s(T117), true)) → U6_gga(T117, T118, X217, half60_in_ga(s(T117), X215))
U6_gga(T117, T118, X217, half60_out_ga(s(T117), X215)) → times69_out_gga(s(T117), T118, X217)
U5_gga(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_gga(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_gga(T117, T118, X217, half60_out_ga(s(T117), T120)) → U8_gga(T117, T118, X217, times69_in_gga(T120, T118, X216))
times69_in_gga(s(T117), T118, 0) → U9_gga(T117, T118, even36_in_gg(s(T117), true))
U9_gga(T117, T118, even36_out_gg(s(T117), true)) → U10_gga(T117, T118, half60_in_ga(s(T117), T120))
U10_gga(T117, T118, half60_out_ga(s(T117), T120)) → U11_gga(T117, T118, times69_in_ggg(T120, T118, 0))
times69_in_ggg(0, T99, 0) → times69_out_ggg(0, T99, 0)
times69_in_ggg(s(T104), T105, X182) → U4_ggg(T104, T105, X182, even36_in_ga(s(T104), X181))
U4_ggg(T104, T105, X182, even36_out_ga(s(T104), X181)) → times69_out_ggg(s(T104), T105, X182)
times69_in_ggg(s(T117), T118, X217) → U5_ggg(T117, T118, X217, even36_in_gg(s(T117), true))
U5_ggg(T117, T118, X217, even36_out_gg(s(T117), true)) → U6_ggg(T117, T118, X217, half60_in_ga(s(T117), X215))
U6_ggg(T117, T118, X217, half60_out_ga(s(T117), X215)) → times69_out_ggg(s(T117), T118, X217)
U5_ggg(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_ggg(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_ggg(T117, T118, X217, half60_out_ga(s(T117), T120)) → U8_ggg(T117, T118, X217, times69_in_gga(T120, T118, X216))
times69_in_gga(s(T117), T118, s(s(0))) → U12_gga(T117, T118, even36_in_gg(s(T117), true))
U12_gga(T117, T118, even36_out_gg(s(T117), true)) → U13_gga(T117, T118, half60_in_ga(s(T117), T120))
U13_gga(T117, T118, half60_out_ga(s(T117), T120)) → U14_gga(T117, T118, times69_in_ggg(T120, T118, s(0)))
times69_in_ggg(s(T117), T118, 0) → U9_ggg(T117, T118, even36_in_gg(s(T117), true))
U9_ggg(T117, T118, even36_out_gg(s(T117), true)) → U10_ggg(T117, T118, half60_in_ga(s(T117), T120))
U10_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U11_ggg(T117, T118, times69_in_ggg(T120, T118, 0))
times69_in_ggg(s(T117), T118, s(s(0))) → U12_ggg(T117, T118, even36_in_gg(s(T117), true))
U12_ggg(T117, T118, even36_out_gg(s(T117), true)) → U13_ggg(T117, T118, half60_in_ga(s(T117), T120))
U13_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U14_ggg(T117, T118, times69_in_ggg(T120, T118, s(0)))
times69_in_ggg(s(T117), T118, s(s(s(s(0))))) → U15_ggg(T117, T118, even36_in_gg(s(T117), true))
U15_ggg(T117, T118, even36_out_gg(s(T117), true)) → U16_ggg(T117, T118, half60_in_ga(s(T117), T120))
U16_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U17_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(0))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_ggg(T117, T118, even36_in_gg(s(T117), true))
U18_ggg(T117, T118, even36_out_gg(s(T117), true)) → U19_ggg(T117, T118, half60_in_ga(s(T117), T120))
U19_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U20_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(0)))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → U21_ggg(T117, T118, even36_in_gg(s(T117), true))
U21_ggg(T117, T118, even36_out_gg(s(T117), true)) → U22_ggg(T117, T118, half60_in_ga(s(T117), T120))
U22_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U23_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(0))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U24_ggg(T117, T118, even36_in_gg(s(T117), true))
U24_ggg(T117, T118, even36_out_gg(s(T117), true)) → U25_ggg(T117, T118, half60_in_ga(s(T117), T120))
U25_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U26_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(0)))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U27_ggg(T117, T118, even36_in_gg(s(T117), true))
U27_ggg(T117, T118, even36_out_gg(s(T117), true)) → U28_ggg(T117, T118, half60_in_ga(s(T117), T120))
U28_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U29_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(0))))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U30_ggg(T117, T118, even36_in_gg(s(T117), true))
U30_ggg(T117, T118, even36_out_gg(s(T117), true)) → U31_ggg(T117, T118, half60_in_ga(s(T117), T120))
U31_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U32_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(s(0)))))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → U33_ggg(T117, T118, X411, even36_in_gg(s(T117), true))
U33_ggg(T117, T118, X411, even36_out_gg(s(T117), true)) → U34_ggg(T117, T118, X411, half60_in_ga(s(T117), T120))
U34_ggg(T117, T118, X411, half60_out_ga(s(T117), T120)) → U35_ggg(T117, T118, X411, times69_in_gga(T120, T118, s(s(s(s(s(s(s(s(T150))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(0))))) → U15_gga(T117, T118, even36_in_gg(s(T117), true))
U15_gga(T117, T118, even36_out_gg(s(T117), true)) → U16_gga(T117, T118, half60_in_ga(s(T117), T120))
U16_gga(T117, T118, half60_out_ga(s(T117), T120)) → U17_gga(T117, T118, times69_in_ggg(T120, T118, s(s(0))))
times69_in_ggg(s(T171), T172, X455) → U37_ggg(T171, T172, X455, even36_in_gg(s(T171), false))
U37_ggg(T171, T172, X455, even36_out_gg(s(T171), false)) → U38_ggg(T171, T172, X455, times69_in_gga(T171, T172, X454))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_gga(T117, T118, even36_in_gg(s(T117), true))
U18_gga(T117, T118, even36_out_gg(s(T117), true)) → U19_gga(T117, T118, half60_in_ga(s(T117), T120))
U19_gga(T117, T118, half60_out_ga(s(T117), T120)) → U20_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(0)))))
U20_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(0))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(0)))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → U21_gga(T117, T118, even36_in_gg(s(T117), true))
U21_gga(T117, T118, even36_out_gg(s(T117), true)) → U22_gga(T117, T118, half60_in_ga(s(T117), T120))
U22_gga(T117, T118, half60_out_ga(s(T117), T120)) → U23_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(0))))))
U23_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(0)))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(0)))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U24_gga(T117, T118, even36_in_gg(s(T117), true))
U24_gga(T117, T118, even36_out_gg(s(T117), true)) → U25_gga(T117, T118, half60_in_ga(s(T117), T120))
U25_gga(T117, T118, half60_out_ga(s(T117), T120)) → U26_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(0)))))))
U26_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(0))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0)))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U27_gga(T117, T118, even36_in_gg(s(T117), true))
U27_gga(T117, T118, even36_out_gg(s(T117), true)) → U28_gga(T117, T118, half60_in_ga(s(T117), T120))
U28_gga(T117, T118, half60_out_ga(s(T117), T120)) → U29_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(0))))))))
U29_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(0)))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U30_gga(T117, T118, even36_in_gg(s(T117), true))
U30_gga(T117, T118, even36_out_gg(s(T117), true)) → U31_gga(T117, T118, half60_in_ga(s(T117), T120))
U31_gga(T117, T118, half60_out_ga(s(T117), T120)) → U32_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(s(0)))))))))
U32_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(s(0))))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → U33_gga(T117, T118, X411, even36_in_gg(s(T117), true))
U33_gga(T117, T118, X411, even36_out_gg(s(T117), true)) → U34_gga(T117, T118, X411, half60_in_ga(s(T117), T120))
U34_gga(T117, T118, X411, half60_out_ga(s(T117), T120)) → U35_gga(T117, T118, X411, times69_in_gga(T120, T118, s(s(s(s(s(s(s(s(T150))))))))))
times69_in_gga(s(T171), T172, X455) → U37_gga(T171, T172, X455, even36_in_gg(s(T171), false))
U37_gga(T171, T172, X455, even36_out_gg(s(T171), false)) → U38_gga(T171, T172, X455, times69_in_gga(T171, T172, X454))
U38_gga(T171, T172, X455, times69_out_gga(T171, T172, X454)) → times69_out_gga(s(T171), T172, X455)
U37_gga(T171, T172, X455, even36_out_gg(s(T171), false)) → U39_gga(T171, T172, X455, times69_in_gga(T171, T172, T175))
U39_gga(T171, T172, X455, times69_out_gga(T171, T172, T175)) → U40_gga(T171, T172, X455, plus166_in_gaa(T172, T175, X455))
plus166_in_gaa(0, T184, T184) → plus166_out_gaa(0, T184, T184)
plus166_in_gaa(s(T189), T190, s(X482)) → U42_gaa(T189, T190, X482, plus166_in_gaa(T189, T190, X482))
U42_gaa(T189, T190, X482, plus166_out_gaa(T189, T190, X482)) → plus166_out_gaa(s(T189), T190, s(X482))
U40_gga(T171, T172, X455, plus166_out_gaa(T172, T175, X455)) → times69_out_gga(s(T171), T172, X455)
U35_gga(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → U36_gga(T117, T118, X411, plus154_in_aaa(T150, s(s(s(s(s(s(s(T150))))))), X411))
plus154_in_aaa(0, T158, s(T158)) → plus154_out_aaa(0, T158, s(T158))
plus154_in_aaa(s(T163), T164, s(X436)) → U41_aaa(T163, T164, X436, plus154_in_aaa(T163, T164, X436))
U41_aaa(T163, T164, X436, plus154_out_aaa(T163, T164, X436)) → plus154_out_aaa(s(T163), T164, s(X436))
U36_gga(T117, T118, X411, plus154_out_aaa(T150, s(s(s(s(s(s(s(T150))))))), X411)) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(X411)))))))))
U38_ggg(T171, T172, X455, times69_out_gga(T171, T172, X454)) → times69_out_ggg(s(T171), T172, X455)
U37_ggg(T171, T172, X455, even36_out_gg(s(T171), false)) → U39_ggg(T171, T172, X455, times69_in_gga(T171, T172, T175))
U39_ggg(T171, T172, X455, times69_out_gga(T171, T172, T175)) → U40_ggg(T171, T172, X455, plus166_in_gag(T172, T175, X455))
plus166_in_gag(0, T184, T184) → plus166_out_gag(0, T184, T184)
plus166_in_gag(s(T189), T190, s(X482)) → U42_gag(T189, T190, X482, plus166_in_gag(T189, T190, X482))
U42_gag(T189, T190, X482, plus166_out_gag(T189, T190, X482)) → plus166_out_gag(s(T189), T190, s(X482))
U40_ggg(T171, T172, X455, plus166_out_gag(T172, T175, X455)) → times69_out_ggg(s(T171), T172, X455)
U17_gga(T117, T118, times69_out_ggg(T120, T118, s(s(0)))) → times69_out_gga(s(T117), T118, s(s(s(s(0)))))
U35_ggg(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → U36_ggg(T117, T118, X411, plus154_in_aag(T150, s(s(s(s(s(s(s(T150))))))), X411))
plus154_in_aag(0, T158, s(T158)) → plus154_out_aag(0, T158, s(T158))
plus154_in_aag(s(T163), T164, s(X436)) → U41_aag(T163, T164, X436, plus154_in_aag(T163, T164, X436))
U41_aag(T163, T164, X436, plus154_out_aag(T163, T164, X436)) → plus154_out_aag(s(T163), T164, s(X436))
U36_ggg(T117, T118, X411, plus154_out_aag(T150, s(s(s(s(s(s(s(T150))))))), X411)) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(X411)))))))))
U32_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(s(0))))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
U29_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(0)))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
U26_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(0))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0)))))))))))
U23_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(0)))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(0)))))))))
U20_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(0))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(0)))))))
U17_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(0)))) → times69_out_ggg(s(T117), T118, s(s(s(s(0)))))
U14_ggg(T117, T118, times69_out_ggg(T120, T118, s(0))) → times69_out_ggg(s(T117), T118, s(s(0)))
U11_ggg(T117, T118, times69_out_ggg(T120, T118, 0)) → times69_out_ggg(s(T117), T118, 0)
U14_gga(T117, T118, times69_out_ggg(T120, T118, s(0))) → times69_out_gga(s(T117), T118, s(s(0)))
U8_ggg(T117, T118, X217, times69_out_gga(T120, T118, X216)) → times69_out_ggg(s(T117), T118, X217)
U11_gga(T117, T118, times69_out_ggg(T120, T118, 0)) → times69_out_gga(s(T117), T118, 0)
U8_gga(T117, T118, X217, times69_out_gga(T120, T118, X216)) → times69_out_gga(s(T117), T118, X217)
U51_gga(T77, T78, T80, times69_out_gga(T82, T78, X129)) → times1_out_gga(s(s(T77)), T78, T80)
times1_in_gga(s(s(T77)), T78, 0) → U52_gga(T77, T78, even36_in_gg(T77, true))
U52_gga(T77, T78, even36_out_gg(T77, true)) → U53_gga(T77, T78, half56_in_ga(T77, T82))
U53_gga(T77, T78, half56_out_ga(T77, T82)) → U54_gga(T77, T78, times69_in_ggg(T82, T78, 0))
U54_gga(T77, T78, times69_out_ggg(T82, T78, 0)) → times1_out_gga(s(s(T77)), T78, 0)
times1_in_gga(s(s(T77)), T78, s(s(0))) → U55_gga(T77, T78, even36_in_gg(T77, true))
U55_gga(T77, T78, even36_out_gg(T77, true)) → U56_gga(T77, T78, half56_in_ga(T77, T82))
U56_gga(T77, T78, half56_out_ga(T77, T82)) → U57_gga(T77, T78, times69_in_ggg(T82, T78, s(0)))
U57_gga(T77, T78, times69_out_ggg(T82, T78, s(0))) → times1_out_gga(s(s(T77)), T78, s(s(0)))
times1_in_gga(s(s(T77)), T78, s(s(s(s(0))))) → U58_gga(T77, T78, even36_in_gg(T77, true))
U58_gga(T77, T78, even36_out_gg(T77, true)) → U59_gga(T77, T78, half56_in_ga(T77, T82))
U59_gga(T77, T78, half56_out_ga(T77, T82)) → U60_gga(T77, T78, times69_in_ggg(T82, T78, s(s(0))))
U60_gga(T77, T78, times69_out_ggg(T82, T78, s(s(0)))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(0)))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(0))))))) → U61_gga(T77, T78, even36_in_gg(T77, true))
U61_gga(T77, T78, even36_out_gg(T77, true)) → U62_gga(T77, T78, half56_in_ga(T77, T82))
U62_gga(T77, T78, half56_out_ga(T77, T82)) → U63_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(0)))))
U63_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(0))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(0)))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(0))))))))) → U64_gga(T77, T78, even36_in_gg(T77, true))
U64_gga(T77, T78, even36_out_gg(T77, true)) → U65_gga(T77, T78, half56_in_ga(T77, T82))
U65_gga(T77, T78, half56_out_ga(T77, T82)) → U66_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(0))))))
U66_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(0)))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(0)))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U67_gga(T77, T78, even36_in_gg(T77, true))
U67_gga(T77, T78, even36_out_gg(T77, true)) → U68_gga(T77, T78, half56_in_ga(T77, T82))
U68_gga(T77, T78, half56_out_ga(T77, T82)) → U69_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(0)))))))
U69_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(0))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(0)))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U70_gga(T77, T78, even36_in_gg(T77, true))
U70_gga(T77, T78, even36_out_gg(T77, true)) → U71_gga(T77, T78, half56_in_ga(T77, T82))
U71_gga(T77, T78, half56_out_ga(T77, T82)) → U72_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(s(0))))))))
U72_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(s(0)))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U73_gga(T77, T78, even36_in_gg(T77, true))
U73_gga(T77, T78, even36_out_gg(T77, true)) → U74_gga(T77, T78, half56_in_ga(T77, T82))
U74_gga(T77, T78, half56_out_ga(T77, T82)) → U75_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(s(s(0)))))))))
U75_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(s(s(0))))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(T248))))))))) → U76_gga(T77, T78, T248, even36_in_gg(T77, true))
U76_gga(T77, T78, T248, even36_out_gg(T77, true)) → U77_gga(T77, T78, T248, half56_in_ga(T77, T82))
U77_gga(T77, T78, T248, half56_out_ga(T77, T82)) → U78_gga(T77, T78, T248, times69_in_gga(T82, T78, s(s(s(s(s(s(s(s(T246))))))))))
U78_gga(T77, T78, T248, times69_out_gga(T82, T78, s(s(s(s(s(s(s(s(T246)))))))))) → U79_gga(T77, T78, T248, plus19_in_aaa(T246, s(s(s(s(s(s(s(s(T246)))))))), T248))
plus19_in_aaa(0, T42, T42) → plus19_out_aaa(0, T42, T42)
plus19_in_aaa(s(T49), T50, s(T52)) → U1_aaa(T49, T50, T52, plus19_in_aaa(T49, T50, T52))
U1_aaa(T49, T50, T52, plus19_out_aaa(T49, T50, T52)) → plus19_out_aaa(s(T49), T50, s(T52))
U79_gga(T77, T78, T248, plus19_out_aaa(T246, s(s(s(s(s(s(s(s(T246)))))))), T248)) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(T248)))))))))
times1_in_gga(s(s(T258)), T259, T261) → U80_gga(T258, T259, T261, even36_in_gg(T258, false))
U80_gga(T258, T259, T261, even36_out_gg(T258, false)) → U81_gga(T258, T259, T261, times69_in_gga(s(T258), T259, X662))
U81_gga(T258, T259, T261, times69_out_gga(s(T258), T259, X662)) → times1_out_gga(s(s(T258)), T259, T261)
U80_gga(T258, T259, T261, even36_out_gg(T258, false)) → U82_gga(T258, T259, T261, times69_in_gga(s(T258), T259, T264))
U82_gga(T258, T259, T261, times69_out_gga(s(T258), T259, T264)) → U83_gga(T258, T259, T261, plus19_in_gaa(T259, T264, T261))
plus19_in_gaa(0, T42, T42) → plus19_out_gaa(0, T42, T42)
plus19_in_gaa(s(T49), T50, s(T52)) → U1_gaa(T49, T50, T52, plus19_in_gaa(T49, T50, T52))
U1_gaa(T49, T50, T52, plus19_out_gaa(T49, T50, T52)) → plus19_out_gaa(s(T49), T50, s(T52))
U83_gga(T258, T259, T261, plus19_out_gaa(T259, T264, T261)) → times1_out_gga(s(s(T258)), T259, T261)

The argument filtering Pi contains the following mapping:
times1_in_gga(x1, x2, x3)  =  times1_in_gga(x1, x2)
0  =  0
times1_out_gga(x1, x2, x3)  =  times1_out_gga
s(x1)  =  s(x1)
U44_gga(x1, x2, x3)  =  U44_gga(x3)
times18_in_ga(x1, x2)  =  times18_in_ga(x1)
times18_out_ga(x1, x2)  =  times18_out_ga(x2)
U45_gga(x1, x2, x3)  =  U45_gga(x1, x3)
U46_gga(x1, x2, x3)  =  U46_gga(x3)
plus19_in_gga(x1, x2, x3)  =  plus19_in_gga(x1, x2)
plus19_out_gga(x1, x2, x3)  =  plus19_out_gga(x3)
U1_gga(x1, x2, x3, x4)  =  U1_gga(x4)
U47_gga(x1, x2, x3, x4)  =  U47_gga(x4)
even36_in_ga(x1, x2)  =  even36_in_ga(x1)
even36_out_ga(x1, x2)  =  even36_out_ga(x2)
U2_ga(x1, x2, x3)  =  U2_ga(x3)
U48_gga(x1, x2, x3, x4)  =  U48_gga(x1, x2, x4)
even36_in_gg(x1, x2)  =  even36_in_gg(x1, x2)
true  =  true
even36_out_gg(x1, x2)  =  even36_out_gg
false  =  false
U2_gg(x1, x2, x3)  =  U2_gg(x3)
U49_gga(x1, x2, x3, x4)  =  U49_gga(x4)
half56_in_ga(x1, x2)  =  half56_in_ga(x1)
U43_ga(x1, x2, x3)  =  U43_ga(x3)
half60_in_ga(x1, x2)  =  half60_in_ga(x1)
half60_out_ga(x1, x2)  =  half60_out_ga(x2)
U3_ga(x1, x2, x3)  =  U3_ga(x3)
half56_out_ga(x1, x2)  =  half56_out_ga(x2)
U50_gga(x1, x2, x3, x4)  =  U50_gga(x2, x4)
U51_gga(x1, x2, x3, x4)  =  U51_gga(x4)
times69_in_gga(x1, x2, x3)  =  times69_in_gga(x1, x2)
times69_out_gga(x1, x2, x3)  =  times69_out_gga
U4_gga(x1, x2, x3, x4)  =  U4_gga(x4)
U5_gga(x1, x2, x3, x4)  =  U5_gga(x1, x2, x4)
U6_gga(x1, x2, x3, x4)  =  U6_gga(x4)
U7_gga(x1, x2, x3, x4)  =  U7_gga(x2, x4)
U8_gga(x1, x2, x3, x4)  =  U8_gga(x4)
U9_gga(x1, x2, x3)  =  U9_gga(x1, x2, x3)
U10_gga(x1, x2, x3)  =  U10_gga(x2, x3)
U11_gga(x1, x2, x3)  =  U11_gga(x3)
times69_in_ggg(x1, x2, x3)  =  times69_in_ggg(x1, x2, x3)
times69_out_ggg(x1, x2, x3)  =  times69_out_ggg
U4_ggg(x1, x2, x3, x4)  =  U4_ggg(x4)
U5_ggg(x1, x2, x3, x4)  =  U5_ggg(x1, x2, x4)
U6_ggg(x1, x2, x3, x4)  =  U6_ggg(x4)
U7_ggg(x1, x2, x3, x4)  =  U7_ggg(x2, x4)
U8_ggg(x1, x2, x3, x4)  =  U8_ggg(x4)
U12_gga(x1, x2, x3)  =  U12_gga(x1, x2, x3)
U13_gga(x1, x2, x3)  =  U13_gga(x2, x3)
U14_gga(x1, x2, x3)  =  U14_gga(x3)
U9_ggg(x1, x2, x3)  =  U9_ggg(x1, x2, x3)
U10_ggg(x1, x2, x3)  =  U10_ggg(x2, x3)
U11_ggg(x1, x2, x3)  =  U11_ggg(x3)
U12_ggg(x1, x2, x3)  =  U12_ggg(x1, x2, x3)
U13_ggg(x1, x2, x3)  =  U13_ggg(x2, x3)
U14_ggg(x1, x2, x3)  =  U14_ggg(x3)
U15_ggg(x1, x2, x3)  =  U15_ggg(x1, x2, x3)
U16_ggg(x1, x2, x3)  =  U16_ggg(x2, x3)
U17_ggg(x1, x2, x3)  =  U17_ggg(x3)
U18_ggg(x1, x2, x3)  =  U18_ggg(x1, x2, x3)
U19_ggg(x1, x2, x3)  =  U19_ggg(x2, x3)
U20_ggg(x1, x2, x3)  =  U20_ggg(x3)
U21_ggg(x1, x2, x3)  =  U21_ggg(x1, x2, x3)
U22_ggg(x1, x2, x3)  =  U22_ggg(x2, x3)
U23_ggg(x1, x2, x3)  =  U23_ggg(x3)
U24_ggg(x1, x2, x3)  =  U24_ggg(x1, x2, x3)
U25_ggg(x1, x2, x3)  =  U25_ggg(x2, x3)
U26_ggg(x1, x2, x3)  =  U26_ggg(x3)
U27_ggg(x1, x2, x3)  =  U27_ggg(x1, x2, x3)
U28_ggg(x1, x2, x3)  =  U28_ggg(x2, x3)
U29_ggg(x1, x2, x3)  =  U29_ggg(x3)
U30_ggg(x1, x2, x3)  =  U30_ggg(x1, x2, x3)
U31_ggg(x1, x2, x3)  =  U31_ggg(x2, x3)
U32_ggg(x1, x2, x3)  =  U32_ggg(x3)
U33_ggg(x1, x2, x3, x4)  =  U33_ggg(x1, x2, x3, x4)
U34_ggg(x1, x2, x3, x4)  =  U34_ggg(x2, x3, x4)
U35_ggg(x1, x2, x3, x4)  =  U35_ggg(x3, x4)
U15_gga(x1, x2, x3)  =  U15_gga(x1, x2, x3)
U16_gga(x1, x2, x3)  =  U16_gga(x2, x3)
U17_gga(x1, x2, x3)  =  U17_gga(x3)
U37_ggg(x1, x2, x3, x4)  =  U37_ggg(x1, x2, x3, x4)
U38_ggg(x1, x2, x3, x4)  =  U38_ggg(x4)
U18_gga(x1, x2, x3)  =  U18_gga(x1, x2, x3)
U19_gga(x1, x2, x3)  =  U19_gga(x2, x3)
U20_gga(x1, x2, x3)  =  U20_gga(x3)
U21_gga(x1, x2, x3)  =  U21_gga(x1, x2, x3)
U22_gga(x1, x2, x3)  =  U22_gga(x2, x3)
U23_gga(x1, x2, x3)  =  U23_gga(x3)
U24_gga(x1, x2, x3)  =  U24_gga(x1, x2, x3)
U25_gga(x1, x2, x3)  =  U25_gga(x2, x3)
U26_gga(x1, x2, x3)  =  U26_gga(x3)
U27_gga(x1, x2, x3)  =  U27_gga(x1, x2, x3)
U28_gga(x1, x2, x3)  =  U28_gga(x2, x3)
U29_gga(x1, x2, x3)  =  U29_gga(x3)
U30_gga(x1, x2, x3)  =  U30_gga(x1, x2, x3)
U31_gga(x1, x2, x3)  =  U31_gga(x2, x3)
U32_gga(x1, x2, x3)  =  U32_gga(x3)
U33_gga(x1, x2, x3, x4)  =  U33_gga(x1, x2, x4)
U34_gga(x1, x2, x3, x4)  =  U34_gga(x2, x4)
U35_gga(x1, x2, x3, x4)  =  U35_gga(x4)
U37_gga(x1, x2, x3, x4)  =  U37_gga(x1, x2, x4)
U38_gga(x1, x2, x3, x4)  =  U38_gga(x4)
U39_gga(x1, x2, x3, x4)  =  U39_gga(x2, x4)
U40_gga(x1, x2, x3, x4)  =  U40_gga(x4)
plus166_in_gaa(x1, x2, x3)  =  plus166_in_gaa(x1)
plus166_out_gaa(x1, x2, x3)  =  plus166_out_gaa
U42_gaa(x1, x2, x3, x4)  =  U42_gaa(x4)
U36_gga(x1, x2, x3, x4)  =  U36_gga(x4)
plus154_in_aaa(x1, x2, x3)  =  plus154_in_aaa
plus154_out_aaa(x1, x2, x3)  =  plus154_out_aaa(x1)
U41_aaa(x1, x2, x3, x4)  =  U41_aaa(x4)
U39_ggg(x1, x2, x3, x4)  =  U39_ggg(x2, x3, x4)
U40_ggg(x1, x2, x3, x4)  =  U40_ggg(x4)
plus166_in_gag(x1, x2, x3)  =  plus166_in_gag(x1, x3)
plus166_out_gag(x1, x2, x3)  =  plus166_out_gag(x2)
U42_gag(x1, x2, x3, x4)  =  U42_gag(x4)
U36_ggg(x1, x2, x3, x4)  =  U36_ggg(x4)
plus154_in_aag(x1, x2, x3)  =  plus154_in_aag(x3)
plus154_out_aag(x1, x2, x3)  =  plus154_out_aag(x1, x2)
U41_aag(x1, x2, x3, x4)  =  U41_aag(x4)
U52_gga(x1, x2, x3)  =  U52_gga(x1, x2, x3)
U53_gga(x1, x2, x3)  =  U53_gga(x2, x3)
U54_gga(x1, x2, x3)  =  U54_gga(x3)
U55_gga(x1, x2, x3)  =  U55_gga(x1, x2, x3)
U56_gga(x1, x2, x3)  =  U56_gga(x2, x3)
U57_gga(x1, x2, x3)  =  U57_gga(x3)
U58_gga(x1, x2, x3)  =  U58_gga(x1, x2, x3)
U59_gga(x1, x2, x3)  =  U59_gga(x2, x3)
U60_gga(x1, x2, x3)  =  U60_gga(x3)
U61_gga(x1, x2, x3)  =  U61_gga(x1, x2, x3)
U62_gga(x1, x2, x3)  =  U62_gga(x2, x3)
U63_gga(x1, x2, x3)  =  U63_gga(x3)
U64_gga(x1, x2, x3)  =  U64_gga(x1, x2, x3)
U65_gga(x1, x2, x3)  =  U65_gga(x2, x3)
U66_gga(x1, x2, x3)  =  U66_gga(x3)
U67_gga(x1, x2, x3)  =  U67_gga(x1, x2, x3)
U68_gga(x1, x2, x3)  =  U68_gga(x2, x3)
U69_gga(x1, x2, x3)  =  U69_gga(x3)
U70_gga(x1, x2, x3)  =  U70_gga(x1, x2, x3)
U71_gga(x1, x2, x3)  =  U71_gga(x2, x3)
U72_gga(x1, x2, x3)  =  U72_gga(x3)
U73_gga(x1, x2, x3)  =  U73_gga(x1, x2, x3)
U74_gga(x1, x2, x3)  =  U74_gga(x2, x3)
U75_gga(x1, x2, x3)  =  U75_gga(x3)
U76_gga(x1, x2, x3, x4)  =  U76_gga(x1, x2, x4)
U77_gga(x1, x2, x3, x4)  =  U77_gga(x2, x4)
U78_gga(x1, x2, x3, x4)  =  U78_gga(x4)
U79_gga(x1, x2, x3, x4)  =  U79_gga(x4)
plus19_in_aaa(x1, x2, x3)  =  plus19_in_aaa
plus19_out_aaa(x1, x2, x3)  =  plus19_out_aaa(x1)
U1_aaa(x1, x2, x3, x4)  =  U1_aaa(x4)
U80_gga(x1, x2, x3, x4)  =  U80_gga(x1, x2, x4)
U81_gga(x1, x2, x3, x4)  =  U81_gga(x4)
U82_gga(x1, x2, x3, x4)  =  U82_gga(x2, x4)
U83_gga(x1, x2, x3, x4)  =  U83_gga(x4)
plus19_in_gaa(x1, x2, x3)  =  plus19_in_gaa(x1)
plus19_out_gaa(x1, x2, x3)  =  plus19_out_gaa
U1_gaa(x1, x2, x3, x4)  =  U1_gaa(x4)

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

TIMES1_IN_GGA(s(0), T23, T25) → U44_GGA(T23, T25, times18_in_ga(T23, X45))
TIMES1_IN_GGA(s(0), T23, T25) → TIMES18_IN_GA(T23, X45)
TIMES1_IN_GGA(s(0), T23, T25) → U45_GGA(T23, T25, times18_in_ga(T23, T29))
U45_GGA(T23, T25, times18_out_ga(T23, T29)) → U46_GGA(T23, T25, plus19_in_gga(T23, T29, T25))
U45_GGA(T23, T25, times18_out_ga(T23, T29)) → PLUS19_IN_GGA(T23, T29, T25)
PLUS19_IN_GGA(s(T49), T50, s(T52)) → U1_GGA(T49, T50, T52, plus19_in_gga(T49, T50, T52))
PLUS19_IN_GGA(s(T49), T50, s(T52)) → PLUS19_IN_GGA(T49, T50, T52)
TIMES1_IN_GGA(s(s(T57)), T10, T12) → U47_GGA(T57, T10, T12, even36_in_ga(T57, X90))
TIMES1_IN_GGA(s(s(T57)), T10, T12) → EVEN36_IN_GA(T57, X90)
EVEN36_IN_GA(s(s(T61)), X101) → U2_GA(T61, X101, even36_in_ga(T61, X101))
EVEN36_IN_GA(s(s(T61)), X101) → EVEN36_IN_GA(T61, X101)
TIMES1_IN_GGA(s(s(T77)), T78, T80) → U48_GGA(T77, T78, T80, even36_in_gg(T77, true))
TIMES1_IN_GGA(s(s(T77)), T78, T80) → EVEN36_IN_GG(T77, true)
EVEN36_IN_GG(s(s(T61)), X101) → U2_GG(T61, X101, even36_in_gg(T61, X101))
EVEN36_IN_GG(s(s(T61)), X101) → EVEN36_IN_GG(T61, X101)
U48_GGA(T77, T78, T80, even36_out_gg(T77, true)) → U49_GGA(T77, T78, T80, half56_in_ga(T77, X128))
U48_GGA(T77, T78, T80, even36_out_gg(T77, true)) → HALF56_IN_GA(T77, X128)
HALF56_IN_GA(T86, s(X147)) → U43_GA(T86, X147, half60_in_ga(T86, X147))
HALF56_IN_GA(T86, s(X147)) → HALF60_IN_GA(T86, X147)
HALF60_IN_GA(s(s(T89)), s(X156)) → U3_GA(T89, X156, half60_in_ga(T89, X156))
HALF60_IN_GA(s(s(T89)), s(X156)) → HALF60_IN_GA(T89, X156)
U48_GGA(T77, T78, T80, even36_out_gg(T77, true)) → U50_GGA(T77, T78, T80, half56_in_ga(T77, T82))
U50_GGA(T77, T78, T80, half56_out_ga(T77, T82)) → U51_GGA(T77, T78, T80, times69_in_gga(T82, T78, X129))
U50_GGA(T77, T78, T80, half56_out_ga(T77, T82)) → TIMES69_IN_GGA(T82, T78, X129)
TIMES69_IN_GGA(s(T104), T105, X182) → U4_GGA(T104, T105, X182, even36_in_ga(s(T104), X181))
TIMES69_IN_GGA(s(T104), T105, X182) → EVEN36_IN_GA(s(T104), X181)
TIMES69_IN_GGA(s(T117), T118, X217) → U5_GGA(T117, T118, X217, even36_in_gg(s(T117), true))
TIMES69_IN_GGA(s(T117), T118, X217) → EVEN36_IN_GG(s(T117), true)
U5_GGA(T117, T118, X217, even36_out_gg(s(T117), true)) → U6_GGA(T117, T118, X217, half60_in_ga(s(T117), X215))
U5_GGA(T117, T118, X217, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), X215)
U5_GGA(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_GGA(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_GGA(T117, T118, X217, half60_out_ga(s(T117), T120)) → U8_GGA(T117, T118, X217, times69_in_gga(T120, T118, X216))
U7_GGA(T117, T118, X217, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGA(T120, T118, X216)
TIMES69_IN_GGA(s(T117), T118, 0) → U9_GGA(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGA(s(T117), T118, 0) → EVEN36_IN_GG(s(T117), true)
U9_GGA(T117, T118, even36_out_gg(s(T117), true)) → U10_GGA(T117, T118, half60_in_ga(s(T117), T120))
U9_GGA(T117, T118, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), T120)
U10_GGA(T117, T118, half60_out_ga(s(T117), T120)) → U11_GGA(T117, T118, times69_in_ggg(T120, T118, 0))
U10_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, 0)
TIMES69_IN_GGG(s(T104), T105, X182) → U4_GGG(T104, T105, X182, even36_in_ga(s(T104), X181))
TIMES69_IN_GGG(s(T104), T105, X182) → EVEN36_IN_GA(s(T104), X181)
TIMES69_IN_GGG(s(T117), T118, X217) → U5_GGG(T117, T118, X217, even36_in_gg(s(T117), true))
TIMES69_IN_GGG(s(T117), T118, X217) → EVEN36_IN_GG(s(T117), true)
U5_GGG(T117, T118, X217, even36_out_gg(s(T117), true)) → U6_GGG(T117, T118, X217, half60_in_ga(s(T117), X215))
U5_GGG(T117, T118, X217, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), X215)
U5_GGG(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_GGG(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_GGG(T117, T118, X217, half60_out_ga(s(T117), T120)) → U8_GGG(T117, T118, X217, times69_in_gga(T120, T118, X216))
U7_GGG(T117, T118, X217, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGA(T120, T118, X216)
TIMES69_IN_GGA(s(T117), T118, s(s(0))) → U12_GGA(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGA(s(T117), T118, s(s(0))) → EVEN36_IN_GG(s(T117), true)
U12_GGA(T117, T118, even36_out_gg(s(T117), true)) → U13_GGA(T117, T118, half60_in_ga(s(T117), T120))
U12_GGA(T117, T118, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), T120)
U13_GGA(T117, T118, half60_out_ga(s(T117), T120)) → U14_GGA(T117, T118, times69_in_ggg(T120, T118, s(0)))
U13_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(0))
TIMES69_IN_GGG(s(T117), T118, 0) → U9_GGG(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGG(s(T117), T118, 0) → EVEN36_IN_GG(s(T117), true)
U9_GGG(T117, T118, even36_out_gg(s(T117), true)) → U10_GGG(T117, T118, half60_in_ga(s(T117), T120))
U9_GGG(T117, T118, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), T120)
U10_GGG(T117, T118, half60_out_ga(s(T117), T120)) → U11_GGG(T117, T118, times69_in_ggg(T120, T118, 0))
U10_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, 0)
TIMES69_IN_GGG(s(T117), T118, s(s(0))) → U12_GGG(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGG(s(T117), T118, s(s(0))) → EVEN36_IN_GG(s(T117), true)
U12_GGG(T117, T118, even36_out_gg(s(T117), true)) → U13_GGG(T117, T118, half60_in_ga(s(T117), T120))
U12_GGG(T117, T118, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), T120)
U13_GGG(T117, T118, half60_out_ga(s(T117), T120)) → U14_GGG(T117, T118, times69_in_ggg(T120, T118, s(0)))
U13_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(0))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(0))))) → U15_GGG(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(0))))) → EVEN36_IN_GG(s(T117), true)
U15_GGG(T117, T118, even36_out_gg(s(T117), true)) → U16_GGG(T117, T118, half60_in_ga(s(T117), T120))
U15_GGG(T117, T118, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), T120)
U16_GGG(T117, T118, half60_out_ga(s(T117), T120)) → U17_GGG(T117, T118, times69_in_ggg(T120, T118, s(s(0))))
U16_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(0)))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_GGG(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(s(s(0))))))) → EVEN36_IN_GG(s(T117), true)
U18_GGG(T117, T118, even36_out_gg(s(T117), true)) → U19_GGG(T117, T118, half60_in_ga(s(T117), T120))
U18_GGG(T117, T118, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), T120)
U19_GGG(T117, T118, half60_out_ga(s(T117), T120)) → U20_GGG(T117, T118, times69_in_ggg(T120, T118, s(s(s(0)))))
U19_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(0))))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → U21_GGG(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → EVEN36_IN_GG(s(T117), true)
U21_GGG(T117, T118, even36_out_gg(s(T117), true)) → U22_GGG(T117, T118, half60_in_ga(s(T117), T120))
U21_GGG(T117, T118, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), T120)
U22_GGG(T117, T118, half60_out_ga(s(T117), T120)) → U23_GGG(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(0))))))
U22_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(0)))))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U24_GGG(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → EVEN36_IN_GG(s(T117), true)
U24_GGG(T117, T118, even36_out_gg(s(T117), true)) → U25_GGG(T117, T118, half60_in_ga(s(T117), T120))
U24_GGG(T117, T118, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), T120)
U25_GGG(T117, T118, half60_out_ga(s(T117), T120)) → U26_GGG(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(0)))))))
U25_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(0))))))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U27_GGG(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → EVEN36_IN_GG(s(T117), true)
U27_GGG(T117, T118, even36_out_gg(s(T117), true)) → U28_GGG(T117, T118, half60_in_ga(s(T117), T120))
U27_GGG(T117, T118, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), T120)
U28_GGG(T117, T118, half60_out_ga(s(T117), T120)) → U29_GGG(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(0))))))))
U28_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(s(0)))))))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U30_GGG(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → EVEN36_IN_GG(s(T117), true)
U30_GGG(T117, T118, even36_out_gg(s(T117), true)) → U31_GGG(T117, T118, half60_in_ga(s(T117), T120))
U30_GGG(T117, T118, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), T120)
U31_GGG(T117, T118, half60_out_ga(s(T117), T120)) → U32_GGG(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(s(0)))))))))
U31_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(s(s(0))))))))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → U33_GGG(T117, T118, X411, even36_in_gg(s(T117), true))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → EVEN36_IN_GG(s(T117), true)
U33_GGG(T117, T118, X411, even36_out_gg(s(T117), true)) → U34_GGG(T117, T118, X411, half60_in_ga(s(T117), T120))
U33_GGG(T117, T118, X411, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), T120)
U34_GGG(T117, T118, X411, half60_out_ga(s(T117), T120)) → U35_GGG(T117, T118, X411, times69_in_gga(T120, T118, s(s(s(s(s(s(s(s(T150))))))))))
U34_GGG(T117, T118, X411, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGA(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(0))))) → U15_GGA(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(0))))) → EVEN36_IN_GG(s(T117), true)
U15_GGA(T117, T118, even36_out_gg(s(T117), true)) → U16_GGA(T117, T118, half60_in_ga(s(T117), T120))
U15_GGA(T117, T118, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), T120)
U16_GGA(T117, T118, half60_out_ga(s(T117), T120)) → U17_GGA(T117, T118, times69_in_ggg(T120, T118, s(s(0))))
U16_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(0)))
TIMES69_IN_GGG(s(T171), T172, X455) → U37_GGG(T171, T172, X455, even36_in_gg(s(T171), false))
TIMES69_IN_GGG(s(T171), T172, X455) → EVEN36_IN_GG(s(T171), false)
U37_GGG(T171, T172, X455, even36_out_gg(s(T171), false)) → U38_GGG(T171, T172, X455, times69_in_gga(T171, T172, X454))
U37_GGG(T171, T172, X455, even36_out_gg(s(T171), false)) → TIMES69_IN_GGA(T171, T172, X454)
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_GGA(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(s(s(0))))))) → EVEN36_IN_GG(s(T117), true)
U18_GGA(T117, T118, even36_out_gg(s(T117), true)) → U19_GGA(T117, T118, half60_in_ga(s(T117), T120))
U18_GGA(T117, T118, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), T120)
U19_GGA(T117, T118, half60_out_ga(s(T117), T120)) → U20_GGA(T117, T118, times69_in_ggg(T120, T118, s(s(s(0)))))
U19_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(0))))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → U21_GGA(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → EVEN36_IN_GG(s(T117), true)
U21_GGA(T117, T118, even36_out_gg(s(T117), true)) → U22_GGA(T117, T118, half60_in_ga(s(T117), T120))
U21_GGA(T117, T118, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), T120)
U22_GGA(T117, T118, half60_out_ga(s(T117), T120)) → U23_GGA(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(0))))))
U22_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(0)))))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U24_GGA(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → EVEN36_IN_GG(s(T117), true)
U24_GGA(T117, T118, even36_out_gg(s(T117), true)) → U25_GGA(T117, T118, half60_in_ga(s(T117), T120))
U24_GGA(T117, T118, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), T120)
U25_GGA(T117, T118, half60_out_ga(s(T117), T120)) → U26_GGA(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(0)))))))
U25_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(0))))))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U27_GGA(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → EVEN36_IN_GG(s(T117), true)
U27_GGA(T117, T118, even36_out_gg(s(T117), true)) → U28_GGA(T117, T118, half60_in_ga(s(T117), T120))
U27_GGA(T117, T118, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), T120)
U28_GGA(T117, T118, half60_out_ga(s(T117), T120)) → U29_GGA(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(0))))))))
U28_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(s(0)))))))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U30_GGA(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → EVEN36_IN_GG(s(T117), true)
U30_GGA(T117, T118, even36_out_gg(s(T117), true)) → U31_GGA(T117, T118, half60_in_ga(s(T117), T120))
U30_GGA(T117, T118, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), T120)
U31_GGA(T117, T118, half60_out_ga(s(T117), T120)) → U32_GGA(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(s(0)))))))))
U31_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(s(s(0))))))))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → U33_GGA(T117, T118, X411, even36_in_gg(s(T117), true))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → EVEN36_IN_GG(s(T117), true)
U33_GGA(T117, T118, X411, even36_out_gg(s(T117), true)) → U34_GGA(T117, T118, X411, half60_in_ga(s(T117), T120))
U33_GGA(T117, T118, X411, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), T120)
U34_GGA(T117, T118, X411, half60_out_ga(s(T117), T120)) → U35_GGA(T117, T118, X411, times69_in_gga(T120, T118, s(s(s(s(s(s(s(s(T150))))))))))
U34_GGA(T117, T118, X411, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGA(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))
TIMES69_IN_GGA(s(T171), T172, X455) → U37_GGA(T171, T172, X455, even36_in_gg(s(T171), false))
TIMES69_IN_GGA(s(T171), T172, X455) → EVEN36_IN_GG(s(T171), false)
U37_GGA(T171, T172, X455, even36_out_gg(s(T171), false)) → U38_GGA(T171, T172, X455, times69_in_gga(T171, T172, X454))
U37_GGA(T171, T172, X455, even36_out_gg(s(T171), false)) → TIMES69_IN_GGA(T171, T172, X454)
U37_GGA(T171, T172, X455, even36_out_gg(s(T171), false)) → U39_GGA(T171, T172, X455, times69_in_gga(T171, T172, T175))
U39_GGA(T171, T172, X455, times69_out_gga(T171, T172, T175)) → U40_GGA(T171, T172, X455, plus166_in_gaa(T172, T175, X455))
U39_GGA(T171, T172, X455, times69_out_gga(T171, T172, T175)) → PLUS166_IN_GAA(T172, T175, X455)
PLUS166_IN_GAA(s(T189), T190, s(X482)) → U42_GAA(T189, T190, X482, plus166_in_gaa(T189, T190, X482))
PLUS166_IN_GAA(s(T189), T190, s(X482)) → PLUS166_IN_GAA(T189, T190, X482)
U35_GGA(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → U36_GGA(T117, T118, X411, plus154_in_aaa(T150, s(s(s(s(s(s(s(T150))))))), X411))
U35_GGA(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → PLUS154_IN_AAA(T150, s(s(s(s(s(s(s(T150))))))), X411)
PLUS154_IN_AAA(s(T163), T164, s(X436)) → U41_AAA(T163, T164, X436, plus154_in_aaa(T163, T164, X436))
PLUS154_IN_AAA(s(T163), T164, s(X436)) → PLUS154_IN_AAA(T163, T164, X436)
U37_GGG(T171, T172, X455, even36_out_gg(s(T171), false)) → U39_GGG(T171, T172, X455, times69_in_gga(T171, T172, T175))
U39_GGG(T171, T172, X455, times69_out_gga(T171, T172, T175)) → U40_GGG(T171, T172, X455, plus166_in_gag(T172, T175, X455))
U39_GGG(T171, T172, X455, times69_out_gga(T171, T172, T175)) → PLUS166_IN_GAG(T172, T175, X455)
PLUS166_IN_GAG(s(T189), T190, s(X482)) → U42_GAG(T189, T190, X482, plus166_in_gag(T189, T190, X482))
PLUS166_IN_GAG(s(T189), T190, s(X482)) → PLUS166_IN_GAG(T189, T190, X482)
U35_GGG(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → U36_GGG(T117, T118, X411, plus154_in_aag(T150, s(s(s(s(s(s(s(T150))))))), X411))
U35_GGG(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → PLUS154_IN_AAG(T150, s(s(s(s(s(s(s(T150))))))), X411)
PLUS154_IN_AAG(s(T163), T164, s(X436)) → U41_AAG(T163, T164, X436, plus154_in_aag(T163, T164, X436))
PLUS154_IN_AAG(s(T163), T164, s(X436)) → PLUS154_IN_AAG(T163, T164, X436)
TIMES1_IN_GGA(s(s(T77)), T78, 0) → U52_GGA(T77, T78, even36_in_gg(T77, true))
TIMES1_IN_GGA(s(s(T77)), T78, 0) → EVEN36_IN_GG(T77, true)
U52_GGA(T77, T78, even36_out_gg(T77, true)) → U53_GGA(T77, T78, half56_in_ga(T77, T82))
U52_GGA(T77, T78, even36_out_gg(T77, true)) → HALF56_IN_GA(T77, T82)
U53_GGA(T77, T78, half56_out_ga(T77, T82)) → U54_GGA(T77, T78, times69_in_ggg(T82, T78, 0))
U53_GGA(T77, T78, half56_out_ga(T77, T82)) → TIMES69_IN_GGG(T82, T78, 0)
TIMES1_IN_GGA(s(s(T77)), T78, s(s(0))) → U55_GGA(T77, T78, even36_in_gg(T77, true))
TIMES1_IN_GGA(s(s(T77)), T78, s(s(0))) → EVEN36_IN_GG(T77, true)
U55_GGA(T77, T78, even36_out_gg(T77, true)) → U56_GGA(T77, T78, half56_in_ga(T77, T82))
U55_GGA(T77, T78, even36_out_gg(T77, true)) → HALF56_IN_GA(T77, T82)
U56_GGA(T77, T78, half56_out_ga(T77, T82)) → U57_GGA(T77, T78, times69_in_ggg(T82, T78, s(0)))
U56_GGA(T77, T78, half56_out_ga(T77, T82)) → TIMES69_IN_GGG(T82, T78, s(0))
TIMES1_IN_GGA(s(s(T77)), T78, s(s(s(s(0))))) → U58_GGA(T77, T78, even36_in_gg(T77, true))
TIMES1_IN_GGA(s(s(T77)), T78, s(s(s(s(0))))) → EVEN36_IN_GG(T77, true)
U58_GGA(T77, T78, even36_out_gg(T77, true)) → U59_GGA(T77, T78, half56_in_ga(T77, T82))
U58_GGA(T77, T78, even36_out_gg(T77, true)) → HALF56_IN_GA(T77, T82)
U59_GGA(T77, T78, half56_out_ga(T77, T82)) → U60_GGA(T77, T78, times69_in_ggg(T82, T78, s(s(0))))
U59_GGA(T77, T78, half56_out_ga(T77, T82)) → TIMES69_IN_GGG(T82, T78, s(s(0)))
TIMES1_IN_GGA(s(s(T77)), T78, s(s(s(s(s(s(0))))))) → U61_GGA(T77, T78, even36_in_gg(T77, true))
TIMES1_IN_GGA(s(s(T77)), T78, s(s(s(s(s(s(0))))))) → EVEN36_IN_GG(T77, true)
U61_GGA(T77, T78, even36_out_gg(T77, true)) → U62_GGA(T77, T78, half56_in_ga(T77, T82))
U61_GGA(T77, T78, even36_out_gg(T77, true)) → HALF56_IN_GA(T77, T82)
U62_GGA(T77, T78, half56_out_ga(T77, T82)) → U63_GGA(T77, T78, times69_in_ggg(T82, T78, s(s(s(0)))))
U62_GGA(T77, T78, half56_out_ga(T77, T82)) → TIMES69_IN_GGG(T82, T78, s(s(s(0))))
TIMES1_IN_GGA(s(s(T77)), T78, s(s(s(s(s(s(s(s(0))))))))) → U64_GGA(T77, T78, even36_in_gg(T77, true))
TIMES1_IN_GGA(s(s(T77)), T78, s(s(s(s(s(s(s(s(0))))))))) → EVEN36_IN_GG(T77, true)
U64_GGA(T77, T78, even36_out_gg(T77, true)) → U65_GGA(T77, T78, half56_in_ga(T77, T82))
U64_GGA(T77, T78, even36_out_gg(T77, true)) → HALF56_IN_GA(T77, T82)
U65_GGA(T77, T78, half56_out_ga(T77, T82)) → U66_GGA(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(0))))))
U65_GGA(T77, T78, half56_out_ga(T77, T82)) → TIMES69_IN_GGG(T82, T78, s(s(s(s(0)))))
TIMES1_IN_GGA(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U67_GGA(T77, T78, even36_in_gg(T77, true))
TIMES1_IN_GGA(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(0))))))))))) → EVEN36_IN_GG(T77, true)
U67_GGA(T77, T78, even36_out_gg(T77, true)) → U68_GGA(T77, T78, half56_in_ga(T77, T82))
U67_GGA(T77, T78, even36_out_gg(T77, true)) → HALF56_IN_GA(T77, T82)
U68_GGA(T77, T78, half56_out_ga(T77, T82)) → U69_GGA(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(0)))))))
U68_GGA(T77, T78, half56_out_ga(T77, T82)) → TIMES69_IN_GGG(T82, T78, s(s(s(s(s(0))))))
TIMES1_IN_GGA(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U70_GGA(T77, T78, even36_in_gg(T77, true))
TIMES1_IN_GGA(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → EVEN36_IN_GG(T77, true)
U70_GGA(T77, T78, even36_out_gg(T77, true)) → U71_GGA(T77, T78, half56_in_ga(T77, T82))
U70_GGA(T77, T78, even36_out_gg(T77, true)) → HALF56_IN_GA(T77, T82)
U71_GGA(T77, T78, half56_out_ga(T77, T82)) → U72_GGA(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(s(0))))))))
U71_GGA(T77, T78, half56_out_ga(T77, T82)) → TIMES69_IN_GGG(T82, T78, s(s(s(s(s(s(0)))))))
TIMES1_IN_GGA(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U73_GGA(T77, T78, even36_in_gg(T77, true))
TIMES1_IN_GGA(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → EVEN36_IN_GG(T77, true)
U73_GGA(T77, T78, even36_out_gg(T77, true)) → U74_GGA(T77, T78, half56_in_ga(T77, T82))
U73_GGA(T77, T78, even36_out_gg(T77, true)) → HALF56_IN_GA(T77, T82)
U74_GGA(T77, T78, half56_out_ga(T77, T82)) → U75_GGA(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(s(s(0)))))))))
U74_GGA(T77, T78, half56_out_ga(T77, T82)) → TIMES69_IN_GGG(T82, T78, s(s(s(s(s(s(s(0))))))))
TIMES1_IN_GGA(s(s(T77)), T78, s(s(s(s(s(s(s(s(T248))))))))) → U76_GGA(T77, T78, T248, even36_in_gg(T77, true))
TIMES1_IN_GGA(s(s(T77)), T78, s(s(s(s(s(s(s(s(T248))))))))) → EVEN36_IN_GG(T77, true)
U76_GGA(T77, T78, T248, even36_out_gg(T77, true)) → U77_GGA(T77, T78, T248, half56_in_ga(T77, T82))
U76_GGA(T77, T78, T248, even36_out_gg(T77, true)) → HALF56_IN_GA(T77, T82)
U77_GGA(T77, T78, T248, half56_out_ga(T77, T82)) → U78_GGA(T77, T78, T248, times69_in_gga(T82, T78, s(s(s(s(s(s(s(s(T246))))))))))
U77_GGA(T77, T78, T248, half56_out_ga(T77, T82)) → TIMES69_IN_GGA(T82, T78, s(s(s(s(s(s(s(s(T246)))))))))
U78_GGA(T77, T78, T248, times69_out_gga(T82, T78, s(s(s(s(s(s(s(s(T246)))))))))) → U79_GGA(T77, T78, T248, plus19_in_aaa(T246, s(s(s(s(s(s(s(s(T246)))))))), T248))
U78_GGA(T77, T78, T248, times69_out_gga(T82, T78, s(s(s(s(s(s(s(s(T246)))))))))) → PLUS19_IN_AAA(T246, s(s(s(s(s(s(s(s(T246)))))))), T248)
PLUS19_IN_AAA(s(T49), T50, s(T52)) → U1_AAA(T49, T50, T52, plus19_in_aaa(T49, T50, T52))
PLUS19_IN_AAA(s(T49), T50, s(T52)) → PLUS19_IN_AAA(T49, T50, T52)
TIMES1_IN_GGA(s(s(T258)), T259, T261) → U80_GGA(T258, T259, T261, even36_in_gg(T258, false))
TIMES1_IN_GGA(s(s(T258)), T259, T261) → EVEN36_IN_GG(T258, false)
U80_GGA(T258, T259, T261, even36_out_gg(T258, false)) → U81_GGA(T258, T259, T261, times69_in_gga(s(T258), T259, X662))
U80_GGA(T258, T259, T261, even36_out_gg(T258, false)) → TIMES69_IN_GGA(s(T258), T259, X662)
U80_GGA(T258, T259, T261, even36_out_gg(T258, false)) → U82_GGA(T258, T259, T261, times69_in_gga(s(T258), T259, T264))
U82_GGA(T258, T259, T261, times69_out_gga(s(T258), T259, T264)) → U83_GGA(T258, T259, T261, plus19_in_gaa(T259, T264, T261))
U82_GGA(T258, T259, T261, times69_out_gga(s(T258), T259, T264)) → PLUS19_IN_GAA(T259, T264, T261)
PLUS19_IN_GAA(s(T49), T50, s(T52)) → U1_GAA(T49, T50, T52, plus19_in_gaa(T49, T50, T52))
PLUS19_IN_GAA(s(T49), T50, s(T52)) → PLUS19_IN_GAA(T49, T50, T52)

The TRS R consists of the following rules:

times1_in_gga(0, T5, 0) → times1_out_gga(0, T5, 0)
times1_in_gga(s(0), T23, T25) → U44_gga(T23, T25, times18_in_ga(T23, X45))
times18_in_ga(T35, 0) → times18_out_ga(T35, 0)
U44_gga(T23, T25, times18_out_ga(T23, X45)) → times1_out_gga(s(0), T23, T25)
times1_in_gga(s(0), T23, T25) → U45_gga(T23, T25, times18_in_ga(T23, T29))
U45_gga(T23, T25, times18_out_ga(T23, T29)) → U46_gga(T23, T25, plus19_in_gga(T23, T29, T25))
plus19_in_gga(0, T42, T42) → plus19_out_gga(0, T42, T42)
plus19_in_gga(s(T49), T50, s(T52)) → U1_gga(T49, T50, T52, plus19_in_gga(T49, T50, T52))
U1_gga(T49, T50, T52, plus19_out_gga(T49, T50, T52)) → plus19_out_gga(s(T49), T50, s(T52))
U46_gga(T23, T25, plus19_out_gga(T23, T29, T25)) → times1_out_gga(s(0), T23, T25)
times1_in_gga(s(s(T57)), T10, T12) → U47_gga(T57, T10, T12, even36_in_ga(T57, X90))
even36_in_ga(0, true) → even36_out_ga(0, true)
even36_in_ga(s(0), false) → even36_out_ga(s(0), false)
even36_in_ga(s(s(T61)), X101) → U2_ga(T61, X101, even36_in_ga(T61, X101))
U2_ga(T61, X101, even36_out_ga(T61, X101)) → even36_out_ga(s(s(T61)), X101)
U47_gga(T57, T10, T12, even36_out_ga(T57, X90)) → times1_out_gga(s(s(T57)), T10, T12)
times1_in_gga(s(s(T77)), T78, T80) → U48_gga(T77, T78, T80, even36_in_gg(T77, true))
even36_in_gg(0, true) → even36_out_gg(0, true)
even36_in_gg(s(0), false) → even36_out_gg(s(0), false)
even36_in_gg(s(s(T61)), X101) → U2_gg(T61, X101, even36_in_gg(T61, X101))
U2_gg(T61, X101, even36_out_gg(T61, X101)) → even36_out_gg(s(s(T61)), X101)
U48_gga(T77, T78, T80, even36_out_gg(T77, true)) → U49_gga(T77, T78, T80, half56_in_ga(T77, X128))
half56_in_ga(T86, s(X147)) → U43_ga(T86, X147, half60_in_ga(T86, X147))
half60_in_ga(0, 0) → half60_out_ga(0, 0)
half60_in_ga(s(s(T89)), s(X156)) → U3_ga(T89, X156, half60_in_ga(T89, X156))
U3_ga(T89, X156, half60_out_ga(T89, X156)) → half60_out_ga(s(s(T89)), s(X156))
U43_ga(T86, X147, half60_out_ga(T86, X147)) → half56_out_ga(T86, s(X147))
U49_gga(T77, T78, T80, half56_out_ga(T77, X128)) → times1_out_gga(s(s(T77)), T78, T80)
U48_gga(T77, T78, T80, even36_out_gg(T77, true)) → U50_gga(T77, T78, T80, half56_in_ga(T77, T82))
U50_gga(T77, T78, T80, half56_out_ga(T77, T82)) → U51_gga(T77, T78, T80, times69_in_gga(T82, T78, X129))
times69_in_gga(0, T99, 0) → times69_out_gga(0, T99, 0)
times69_in_gga(s(T104), T105, X182) → U4_gga(T104, T105, X182, even36_in_ga(s(T104), X181))
U4_gga(T104, T105, X182, even36_out_ga(s(T104), X181)) → times69_out_gga(s(T104), T105, X182)
times69_in_gga(s(T117), T118, X217) → U5_gga(T117, T118, X217, even36_in_gg(s(T117), true))
U5_gga(T117, T118, X217, even36_out_gg(s(T117), true)) → U6_gga(T117, T118, X217, half60_in_ga(s(T117), X215))
U6_gga(T117, T118, X217, half60_out_ga(s(T117), X215)) → times69_out_gga(s(T117), T118, X217)
U5_gga(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_gga(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_gga(T117, T118, X217, half60_out_ga(s(T117), T120)) → U8_gga(T117, T118, X217, times69_in_gga(T120, T118, X216))
times69_in_gga(s(T117), T118, 0) → U9_gga(T117, T118, even36_in_gg(s(T117), true))
U9_gga(T117, T118, even36_out_gg(s(T117), true)) → U10_gga(T117, T118, half60_in_ga(s(T117), T120))
U10_gga(T117, T118, half60_out_ga(s(T117), T120)) → U11_gga(T117, T118, times69_in_ggg(T120, T118, 0))
times69_in_ggg(0, T99, 0) → times69_out_ggg(0, T99, 0)
times69_in_ggg(s(T104), T105, X182) → U4_ggg(T104, T105, X182, even36_in_ga(s(T104), X181))
U4_ggg(T104, T105, X182, even36_out_ga(s(T104), X181)) → times69_out_ggg(s(T104), T105, X182)
times69_in_ggg(s(T117), T118, X217) → U5_ggg(T117, T118, X217, even36_in_gg(s(T117), true))
U5_ggg(T117, T118, X217, even36_out_gg(s(T117), true)) → U6_ggg(T117, T118, X217, half60_in_ga(s(T117), X215))
U6_ggg(T117, T118, X217, half60_out_ga(s(T117), X215)) → times69_out_ggg(s(T117), T118, X217)
U5_ggg(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_ggg(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_ggg(T117, T118, X217, half60_out_ga(s(T117), T120)) → U8_ggg(T117, T118, X217, times69_in_gga(T120, T118, X216))
times69_in_gga(s(T117), T118, s(s(0))) → U12_gga(T117, T118, even36_in_gg(s(T117), true))
U12_gga(T117, T118, even36_out_gg(s(T117), true)) → U13_gga(T117, T118, half60_in_ga(s(T117), T120))
U13_gga(T117, T118, half60_out_ga(s(T117), T120)) → U14_gga(T117, T118, times69_in_ggg(T120, T118, s(0)))
times69_in_ggg(s(T117), T118, 0) → U9_ggg(T117, T118, even36_in_gg(s(T117), true))
U9_ggg(T117, T118, even36_out_gg(s(T117), true)) → U10_ggg(T117, T118, half60_in_ga(s(T117), T120))
U10_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U11_ggg(T117, T118, times69_in_ggg(T120, T118, 0))
times69_in_ggg(s(T117), T118, s(s(0))) → U12_ggg(T117, T118, even36_in_gg(s(T117), true))
U12_ggg(T117, T118, even36_out_gg(s(T117), true)) → U13_ggg(T117, T118, half60_in_ga(s(T117), T120))
U13_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U14_ggg(T117, T118, times69_in_ggg(T120, T118, s(0)))
times69_in_ggg(s(T117), T118, s(s(s(s(0))))) → U15_ggg(T117, T118, even36_in_gg(s(T117), true))
U15_ggg(T117, T118, even36_out_gg(s(T117), true)) → U16_ggg(T117, T118, half60_in_ga(s(T117), T120))
U16_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U17_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(0))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_ggg(T117, T118, even36_in_gg(s(T117), true))
U18_ggg(T117, T118, even36_out_gg(s(T117), true)) → U19_ggg(T117, T118, half60_in_ga(s(T117), T120))
U19_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U20_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(0)))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → U21_ggg(T117, T118, even36_in_gg(s(T117), true))
U21_ggg(T117, T118, even36_out_gg(s(T117), true)) → U22_ggg(T117, T118, half60_in_ga(s(T117), T120))
U22_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U23_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(0))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U24_ggg(T117, T118, even36_in_gg(s(T117), true))
U24_ggg(T117, T118, even36_out_gg(s(T117), true)) → U25_ggg(T117, T118, half60_in_ga(s(T117), T120))
U25_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U26_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(0)))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U27_ggg(T117, T118, even36_in_gg(s(T117), true))
U27_ggg(T117, T118, even36_out_gg(s(T117), true)) → U28_ggg(T117, T118, half60_in_ga(s(T117), T120))
U28_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U29_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(0))))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U30_ggg(T117, T118, even36_in_gg(s(T117), true))
U30_ggg(T117, T118, even36_out_gg(s(T117), true)) → U31_ggg(T117, T118, half60_in_ga(s(T117), T120))
U31_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U32_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(s(0)))))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → U33_ggg(T117, T118, X411, even36_in_gg(s(T117), true))
U33_ggg(T117, T118, X411, even36_out_gg(s(T117), true)) → U34_ggg(T117, T118, X411, half60_in_ga(s(T117), T120))
U34_ggg(T117, T118, X411, half60_out_ga(s(T117), T120)) → U35_ggg(T117, T118, X411, times69_in_gga(T120, T118, s(s(s(s(s(s(s(s(T150))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(0))))) → U15_gga(T117, T118, even36_in_gg(s(T117), true))
U15_gga(T117, T118, even36_out_gg(s(T117), true)) → U16_gga(T117, T118, half60_in_ga(s(T117), T120))
U16_gga(T117, T118, half60_out_ga(s(T117), T120)) → U17_gga(T117, T118, times69_in_ggg(T120, T118, s(s(0))))
times69_in_ggg(s(T171), T172, X455) → U37_ggg(T171, T172, X455, even36_in_gg(s(T171), false))
U37_ggg(T171, T172, X455, even36_out_gg(s(T171), false)) → U38_ggg(T171, T172, X455, times69_in_gga(T171, T172, X454))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_gga(T117, T118, even36_in_gg(s(T117), true))
U18_gga(T117, T118, even36_out_gg(s(T117), true)) → U19_gga(T117, T118, half60_in_ga(s(T117), T120))
U19_gga(T117, T118, half60_out_ga(s(T117), T120)) → U20_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(0)))))
U20_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(0))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(0)))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → U21_gga(T117, T118, even36_in_gg(s(T117), true))
U21_gga(T117, T118, even36_out_gg(s(T117), true)) → U22_gga(T117, T118, half60_in_ga(s(T117), T120))
U22_gga(T117, T118, half60_out_ga(s(T117), T120)) → U23_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(0))))))
U23_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(0)))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(0)))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U24_gga(T117, T118, even36_in_gg(s(T117), true))
U24_gga(T117, T118, even36_out_gg(s(T117), true)) → U25_gga(T117, T118, half60_in_ga(s(T117), T120))
U25_gga(T117, T118, half60_out_ga(s(T117), T120)) → U26_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(0)))))))
U26_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(0))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0)))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U27_gga(T117, T118, even36_in_gg(s(T117), true))
U27_gga(T117, T118, even36_out_gg(s(T117), true)) → U28_gga(T117, T118, half60_in_ga(s(T117), T120))
U28_gga(T117, T118, half60_out_ga(s(T117), T120)) → U29_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(0))))))))
U29_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(0)))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U30_gga(T117, T118, even36_in_gg(s(T117), true))
U30_gga(T117, T118, even36_out_gg(s(T117), true)) → U31_gga(T117, T118, half60_in_ga(s(T117), T120))
U31_gga(T117, T118, half60_out_ga(s(T117), T120)) → U32_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(s(0)))))))))
U32_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(s(0))))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → U33_gga(T117, T118, X411, even36_in_gg(s(T117), true))
U33_gga(T117, T118, X411, even36_out_gg(s(T117), true)) → U34_gga(T117, T118, X411, half60_in_ga(s(T117), T120))
U34_gga(T117, T118, X411, half60_out_ga(s(T117), T120)) → U35_gga(T117, T118, X411, times69_in_gga(T120, T118, s(s(s(s(s(s(s(s(T150))))))))))
times69_in_gga(s(T171), T172, X455) → U37_gga(T171, T172, X455, even36_in_gg(s(T171), false))
U37_gga(T171, T172, X455, even36_out_gg(s(T171), false)) → U38_gga(T171, T172, X455, times69_in_gga(T171, T172, X454))
U38_gga(T171, T172, X455, times69_out_gga(T171, T172, X454)) → times69_out_gga(s(T171), T172, X455)
U37_gga(T171, T172, X455, even36_out_gg(s(T171), false)) → U39_gga(T171, T172, X455, times69_in_gga(T171, T172, T175))
U39_gga(T171, T172, X455, times69_out_gga(T171, T172, T175)) → U40_gga(T171, T172, X455, plus166_in_gaa(T172, T175, X455))
plus166_in_gaa(0, T184, T184) → plus166_out_gaa(0, T184, T184)
plus166_in_gaa(s(T189), T190, s(X482)) → U42_gaa(T189, T190, X482, plus166_in_gaa(T189, T190, X482))
U42_gaa(T189, T190, X482, plus166_out_gaa(T189, T190, X482)) → plus166_out_gaa(s(T189), T190, s(X482))
U40_gga(T171, T172, X455, plus166_out_gaa(T172, T175, X455)) → times69_out_gga(s(T171), T172, X455)
U35_gga(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → U36_gga(T117, T118, X411, plus154_in_aaa(T150, s(s(s(s(s(s(s(T150))))))), X411))
plus154_in_aaa(0, T158, s(T158)) → plus154_out_aaa(0, T158, s(T158))
plus154_in_aaa(s(T163), T164, s(X436)) → U41_aaa(T163, T164, X436, plus154_in_aaa(T163, T164, X436))
U41_aaa(T163, T164, X436, plus154_out_aaa(T163, T164, X436)) → plus154_out_aaa(s(T163), T164, s(X436))
U36_gga(T117, T118, X411, plus154_out_aaa(T150, s(s(s(s(s(s(s(T150))))))), X411)) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(X411)))))))))
U38_ggg(T171, T172, X455, times69_out_gga(T171, T172, X454)) → times69_out_ggg(s(T171), T172, X455)
U37_ggg(T171, T172, X455, even36_out_gg(s(T171), false)) → U39_ggg(T171, T172, X455, times69_in_gga(T171, T172, T175))
U39_ggg(T171, T172, X455, times69_out_gga(T171, T172, T175)) → U40_ggg(T171, T172, X455, plus166_in_gag(T172, T175, X455))
plus166_in_gag(0, T184, T184) → plus166_out_gag(0, T184, T184)
plus166_in_gag(s(T189), T190, s(X482)) → U42_gag(T189, T190, X482, plus166_in_gag(T189, T190, X482))
U42_gag(T189, T190, X482, plus166_out_gag(T189, T190, X482)) → plus166_out_gag(s(T189), T190, s(X482))
U40_ggg(T171, T172, X455, plus166_out_gag(T172, T175, X455)) → times69_out_ggg(s(T171), T172, X455)
U17_gga(T117, T118, times69_out_ggg(T120, T118, s(s(0)))) → times69_out_gga(s(T117), T118, s(s(s(s(0)))))
U35_ggg(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → U36_ggg(T117, T118, X411, plus154_in_aag(T150, s(s(s(s(s(s(s(T150))))))), X411))
plus154_in_aag(0, T158, s(T158)) → plus154_out_aag(0, T158, s(T158))
plus154_in_aag(s(T163), T164, s(X436)) → U41_aag(T163, T164, X436, plus154_in_aag(T163, T164, X436))
U41_aag(T163, T164, X436, plus154_out_aag(T163, T164, X436)) → plus154_out_aag(s(T163), T164, s(X436))
U36_ggg(T117, T118, X411, plus154_out_aag(T150, s(s(s(s(s(s(s(T150))))))), X411)) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(X411)))))))))
U32_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(s(0))))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
U29_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(0)))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
U26_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(0))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0)))))))))))
U23_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(0)))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(0)))))))))
U20_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(0))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(0)))))))
U17_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(0)))) → times69_out_ggg(s(T117), T118, s(s(s(s(0)))))
U14_ggg(T117, T118, times69_out_ggg(T120, T118, s(0))) → times69_out_ggg(s(T117), T118, s(s(0)))
U11_ggg(T117, T118, times69_out_ggg(T120, T118, 0)) → times69_out_ggg(s(T117), T118, 0)
U14_gga(T117, T118, times69_out_ggg(T120, T118, s(0))) → times69_out_gga(s(T117), T118, s(s(0)))
U8_ggg(T117, T118, X217, times69_out_gga(T120, T118, X216)) → times69_out_ggg(s(T117), T118, X217)
U11_gga(T117, T118, times69_out_ggg(T120, T118, 0)) → times69_out_gga(s(T117), T118, 0)
U8_gga(T117, T118, X217, times69_out_gga(T120, T118, X216)) → times69_out_gga(s(T117), T118, X217)
U51_gga(T77, T78, T80, times69_out_gga(T82, T78, X129)) → times1_out_gga(s(s(T77)), T78, T80)
times1_in_gga(s(s(T77)), T78, 0) → U52_gga(T77, T78, even36_in_gg(T77, true))
U52_gga(T77, T78, even36_out_gg(T77, true)) → U53_gga(T77, T78, half56_in_ga(T77, T82))
U53_gga(T77, T78, half56_out_ga(T77, T82)) → U54_gga(T77, T78, times69_in_ggg(T82, T78, 0))
U54_gga(T77, T78, times69_out_ggg(T82, T78, 0)) → times1_out_gga(s(s(T77)), T78, 0)
times1_in_gga(s(s(T77)), T78, s(s(0))) → U55_gga(T77, T78, even36_in_gg(T77, true))
U55_gga(T77, T78, even36_out_gg(T77, true)) → U56_gga(T77, T78, half56_in_ga(T77, T82))
U56_gga(T77, T78, half56_out_ga(T77, T82)) → U57_gga(T77, T78, times69_in_ggg(T82, T78, s(0)))
U57_gga(T77, T78, times69_out_ggg(T82, T78, s(0))) → times1_out_gga(s(s(T77)), T78, s(s(0)))
times1_in_gga(s(s(T77)), T78, s(s(s(s(0))))) → U58_gga(T77, T78, even36_in_gg(T77, true))
U58_gga(T77, T78, even36_out_gg(T77, true)) → U59_gga(T77, T78, half56_in_ga(T77, T82))
U59_gga(T77, T78, half56_out_ga(T77, T82)) → U60_gga(T77, T78, times69_in_ggg(T82, T78, s(s(0))))
U60_gga(T77, T78, times69_out_ggg(T82, T78, s(s(0)))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(0)))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(0))))))) → U61_gga(T77, T78, even36_in_gg(T77, true))
U61_gga(T77, T78, even36_out_gg(T77, true)) → U62_gga(T77, T78, half56_in_ga(T77, T82))
U62_gga(T77, T78, half56_out_ga(T77, T82)) → U63_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(0)))))
U63_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(0))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(0)))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(0))))))))) → U64_gga(T77, T78, even36_in_gg(T77, true))
U64_gga(T77, T78, even36_out_gg(T77, true)) → U65_gga(T77, T78, half56_in_ga(T77, T82))
U65_gga(T77, T78, half56_out_ga(T77, T82)) → U66_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(0))))))
U66_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(0)))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(0)))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U67_gga(T77, T78, even36_in_gg(T77, true))
U67_gga(T77, T78, even36_out_gg(T77, true)) → U68_gga(T77, T78, half56_in_ga(T77, T82))
U68_gga(T77, T78, half56_out_ga(T77, T82)) → U69_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(0)))))))
U69_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(0))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(0)))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U70_gga(T77, T78, even36_in_gg(T77, true))
U70_gga(T77, T78, even36_out_gg(T77, true)) → U71_gga(T77, T78, half56_in_ga(T77, T82))
U71_gga(T77, T78, half56_out_ga(T77, T82)) → U72_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(s(0))))))))
U72_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(s(0)))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U73_gga(T77, T78, even36_in_gg(T77, true))
U73_gga(T77, T78, even36_out_gg(T77, true)) → U74_gga(T77, T78, half56_in_ga(T77, T82))
U74_gga(T77, T78, half56_out_ga(T77, T82)) → U75_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(s(s(0)))))))))
U75_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(s(s(0))))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(T248))))))))) → U76_gga(T77, T78, T248, even36_in_gg(T77, true))
U76_gga(T77, T78, T248, even36_out_gg(T77, true)) → U77_gga(T77, T78, T248, half56_in_ga(T77, T82))
U77_gga(T77, T78, T248, half56_out_ga(T77, T82)) → U78_gga(T77, T78, T248, times69_in_gga(T82, T78, s(s(s(s(s(s(s(s(T246))))))))))
U78_gga(T77, T78, T248, times69_out_gga(T82, T78, s(s(s(s(s(s(s(s(T246)))))))))) → U79_gga(T77, T78, T248, plus19_in_aaa(T246, s(s(s(s(s(s(s(s(T246)))))))), T248))
plus19_in_aaa(0, T42, T42) → plus19_out_aaa(0, T42, T42)
plus19_in_aaa(s(T49), T50, s(T52)) → U1_aaa(T49, T50, T52, plus19_in_aaa(T49, T50, T52))
U1_aaa(T49, T50, T52, plus19_out_aaa(T49, T50, T52)) → plus19_out_aaa(s(T49), T50, s(T52))
U79_gga(T77, T78, T248, plus19_out_aaa(T246, s(s(s(s(s(s(s(s(T246)))))))), T248)) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(T248)))))))))
times1_in_gga(s(s(T258)), T259, T261) → U80_gga(T258, T259, T261, even36_in_gg(T258, false))
U80_gga(T258, T259, T261, even36_out_gg(T258, false)) → U81_gga(T258, T259, T261, times69_in_gga(s(T258), T259, X662))
U81_gga(T258, T259, T261, times69_out_gga(s(T258), T259, X662)) → times1_out_gga(s(s(T258)), T259, T261)
U80_gga(T258, T259, T261, even36_out_gg(T258, false)) → U82_gga(T258, T259, T261, times69_in_gga(s(T258), T259, T264))
U82_gga(T258, T259, T261, times69_out_gga(s(T258), T259, T264)) → U83_gga(T258, T259, T261, plus19_in_gaa(T259, T264, T261))
plus19_in_gaa(0, T42, T42) → plus19_out_gaa(0, T42, T42)
plus19_in_gaa(s(T49), T50, s(T52)) → U1_gaa(T49, T50, T52, plus19_in_gaa(T49, T50, T52))
U1_gaa(T49, T50, T52, plus19_out_gaa(T49, T50, T52)) → plus19_out_gaa(s(T49), T50, s(T52))
U83_gga(T258, T259, T261, plus19_out_gaa(T259, T264, T261)) → times1_out_gga(s(s(T258)), T259, T261)

The argument filtering Pi contains the following mapping:
times1_in_gga(x1, x2, x3)  =  times1_in_gga(x1, x2)
0  =  0
times1_out_gga(x1, x2, x3)  =  times1_out_gga
s(x1)  =  s(x1)
U44_gga(x1, x2, x3)  =  U44_gga(x3)
times18_in_ga(x1, x2)  =  times18_in_ga(x1)
times18_out_ga(x1, x2)  =  times18_out_ga(x2)
U45_gga(x1, x2, x3)  =  U45_gga(x1, x3)
U46_gga(x1, x2, x3)  =  U46_gga(x3)
plus19_in_gga(x1, x2, x3)  =  plus19_in_gga(x1, x2)
plus19_out_gga(x1, x2, x3)  =  plus19_out_gga(x3)
U1_gga(x1, x2, x3, x4)  =  U1_gga(x4)
U47_gga(x1, x2, x3, x4)  =  U47_gga(x4)
even36_in_ga(x1, x2)  =  even36_in_ga(x1)
even36_out_ga(x1, x2)  =  even36_out_ga(x2)
U2_ga(x1, x2, x3)  =  U2_ga(x3)
U48_gga(x1, x2, x3, x4)  =  U48_gga(x1, x2, x4)
even36_in_gg(x1, x2)  =  even36_in_gg(x1, x2)
true  =  true
even36_out_gg(x1, x2)  =  even36_out_gg
false  =  false
U2_gg(x1, x2, x3)  =  U2_gg(x3)
U49_gga(x1, x2, x3, x4)  =  U49_gga(x4)
half56_in_ga(x1, x2)  =  half56_in_ga(x1)
U43_ga(x1, x2, x3)  =  U43_ga(x3)
half60_in_ga(x1, x2)  =  half60_in_ga(x1)
half60_out_ga(x1, x2)  =  half60_out_ga(x2)
U3_ga(x1, x2, x3)  =  U3_ga(x3)
half56_out_ga(x1, x2)  =  half56_out_ga(x2)
U50_gga(x1, x2, x3, x4)  =  U50_gga(x2, x4)
U51_gga(x1, x2, x3, x4)  =  U51_gga(x4)
times69_in_gga(x1, x2, x3)  =  times69_in_gga(x1, x2)
times69_out_gga(x1, x2, x3)  =  times69_out_gga
U4_gga(x1, x2, x3, x4)  =  U4_gga(x4)
U5_gga(x1, x2, x3, x4)  =  U5_gga(x1, x2, x4)
U6_gga(x1, x2, x3, x4)  =  U6_gga(x4)
U7_gga(x1, x2, x3, x4)  =  U7_gga(x2, x4)
U8_gga(x1, x2, x3, x4)  =  U8_gga(x4)
U9_gga(x1, x2, x3)  =  U9_gga(x1, x2, x3)
U10_gga(x1, x2, x3)  =  U10_gga(x2, x3)
U11_gga(x1, x2, x3)  =  U11_gga(x3)
times69_in_ggg(x1, x2, x3)  =  times69_in_ggg(x1, x2, x3)
times69_out_ggg(x1, x2, x3)  =  times69_out_ggg
U4_ggg(x1, x2, x3, x4)  =  U4_ggg(x4)
U5_ggg(x1, x2, x3, x4)  =  U5_ggg(x1, x2, x4)
U6_ggg(x1, x2, x3, x4)  =  U6_ggg(x4)
U7_ggg(x1, x2, x3, x4)  =  U7_ggg(x2, x4)
U8_ggg(x1, x2, x3, x4)  =  U8_ggg(x4)
U12_gga(x1, x2, x3)  =  U12_gga(x1, x2, x3)
U13_gga(x1, x2, x3)  =  U13_gga(x2, x3)
U14_gga(x1, x2, x3)  =  U14_gga(x3)
U9_ggg(x1, x2, x3)  =  U9_ggg(x1, x2, x3)
U10_ggg(x1, x2, x3)  =  U10_ggg(x2, x3)
U11_ggg(x1, x2, x3)  =  U11_ggg(x3)
U12_ggg(x1, x2, x3)  =  U12_ggg(x1, x2, x3)
U13_ggg(x1, x2, x3)  =  U13_ggg(x2, x3)
U14_ggg(x1, x2, x3)  =  U14_ggg(x3)
U15_ggg(x1, x2, x3)  =  U15_ggg(x1, x2, x3)
U16_ggg(x1, x2, x3)  =  U16_ggg(x2, x3)
U17_ggg(x1, x2, x3)  =  U17_ggg(x3)
U18_ggg(x1, x2, x3)  =  U18_ggg(x1, x2, x3)
U19_ggg(x1, x2, x3)  =  U19_ggg(x2, x3)
U20_ggg(x1, x2, x3)  =  U20_ggg(x3)
U21_ggg(x1, x2, x3)  =  U21_ggg(x1, x2, x3)
U22_ggg(x1, x2, x3)  =  U22_ggg(x2, x3)
U23_ggg(x1, x2, x3)  =  U23_ggg(x3)
U24_ggg(x1, x2, x3)  =  U24_ggg(x1, x2, x3)
U25_ggg(x1, x2, x3)  =  U25_ggg(x2, x3)
U26_ggg(x1, x2, x3)  =  U26_ggg(x3)
U27_ggg(x1, x2, x3)  =  U27_ggg(x1, x2, x3)
U28_ggg(x1, x2, x3)  =  U28_ggg(x2, x3)
U29_ggg(x1, x2, x3)  =  U29_ggg(x3)
U30_ggg(x1, x2, x3)  =  U30_ggg(x1, x2, x3)
U31_ggg(x1, x2, x3)  =  U31_ggg(x2, x3)
U32_ggg(x1, x2, x3)  =  U32_ggg(x3)
U33_ggg(x1, x2, x3, x4)  =  U33_ggg(x1, x2, x3, x4)
U34_ggg(x1, x2, x3, x4)  =  U34_ggg(x2, x3, x4)
U35_ggg(x1, x2, x3, x4)  =  U35_ggg(x3, x4)
U15_gga(x1, x2, x3)  =  U15_gga(x1, x2, x3)
U16_gga(x1, x2, x3)  =  U16_gga(x2, x3)
U17_gga(x1, x2, x3)  =  U17_gga(x3)
U37_ggg(x1, x2, x3, x4)  =  U37_ggg(x1, x2, x3, x4)
U38_ggg(x1, x2, x3, x4)  =  U38_ggg(x4)
U18_gga(x1, x2, x3)  =  U18_gga(x1, x2, x3)
U19_gga(x1, x2, x3)  =  U19_gga(x2, x3)
U20_gga(x1, x2, x3)  =  U20_gga(x3)
U21_gga(x1, x2, x3)  =  U21_gga(x1, x2, x3)
U22_gga(x1, x2, x3)  =  U22_gga(x2, x3)
U23_gga(x1, x2, x3)  =  U23_gga(x3)
U24_gga(x1, x2, x3)  =  U24_gga(x1, x2, x3)
U25_gga(x1, x2, x3)  =  U25_gga(x2, x3)
U26_gga(x1, x2, x3)  =  U26_gga(x3)
U27_gga(x1, x2, x3)  =  U27_gga(x1, x2, x3)
U28_gga(x1, x2, x3)  =  U28_gga(x2, x3)
U29_gga(x1, x2, x3)  =  U29_gga(x3)
U30_gga(x1, x2, x3)  =  U30_gga(x1, x2, x3)
U31_gga(x1, x2, x3)  =  U31_gga(x2, x3)
U32_gga(x1, x2, x3)  =  U32_gga(x3)
U33_gga(x1, x2, x3, x4)  =  U33_gga(x1, x2, x4)
U34_gga(x1, x2, x3, x4)  =  U34_gga(x2, x4)
U35_gga(x1, x2, x3, x4)  =  U35_gga(x4)
U37_gga(x1, x2, x3, x4)  =  U37_gga(x1, x2, x4)
U38_gga(x1, x2, x3, x4)  =  U38_gga(x4)
U39_gga(x1, x2, x3, x4)  =  U39_gga(x2, x4)
U40_gga(x1, x2, x3, x4)  =  U40_gga(x4)
plus166_in_gaa(x1, x2, x3)  =  plus166_in_gaa(x1)
plus166_out_gaa(x1, x2, x3)  =  plus166_out_gaa
U42_gaa(x1, x2, x3, x4)  =  U42_gaa(x4)
U36_gga(x1, x2, x3, x4)  =  U36_gga(x4)
plus154_in_aaa(x1, x2, x3)  =  plus154_in_aaa
plus154_out_aaa(x1, x2, x3)  =  plus154_out_aaa(x1)
U41_aaa(x1, x2, x3, x4)  =  U41_aaa(x4)
U39_ggg(x1, x2, x3, x4)  =  U39_ggg(x2, x3, x4)
U40_ggg(x1, x2, x3, x4)  =  U40_ggg(x4)
plus166_in_gag(x1, x2, x3)  =  plus166_in_gag(x1, x3)
plus166_out_gag(x1, x2, x3)  =  plus166_out_gag(x2)
U42_gag(x1, x2, x3, x4)  =  U42_gag(x4)
U36_ggg(x1, x2, x3, x4)  =  U36_ggg(x4)
plus154_in_aag(x1, x2, x3)  =  plus154_in_aag(x3)
plus154_out_aag(x1, x2, x3)  =  plus154_out_aag(x1, x2)
U41_aag(x1, x2, x3, x4)  =  U41_aag(x4)
U52_gga(x1, x2, x3)  =  U52_gga(x1, x2, x3)
U53_gga(x1, x2, x3)  =  U53_gga(x2, x3)
U54_gga(x1, x2, x3)  =  U54_gga(x3)
U55_gga(x1, x2, x3)  =  U55_gga(x1, x2, x3)
U56_gga(x1, x2, x3)  =  U56_gga(x2, x3)
U57_gga(x1, x2, x3)  =  U57_gga(x3)
U58_gga(x1, x2, x3)  =  U58_gga(x1, x2, x3)
U59_gga(x1, x2, x3)  =  U59_gga(x2, x3)
U60_gga(x1, x2, x3)  =  U60_gga(x3)
U61_gga(x1, x2, x3)  =  U61_gga(x1, x2, x3)
U62_gga(x1, x2, x3)  =  U62_gga(x2, x3)
U63_gga(x1, x2, x3)  =  U63_gga(x3)
U64_gga(x1, x2, x3)  =  U64_gga(x1, x2, x3)
U65_gga(x1, x2, x3)  =  U65_gga(x2, x3)
U66_gga(x1, x2, x3)  =  U66_gga(x3)
U67_gga(x1, x2, x3)  =  U67_gga(x1, x2, x3)
U68_gga(x1, x2, x3)  =  U68_gga(x2, x3)
U69_gga(x1, x2, x3)  =  U69_gga(x3)
U70_gga(x1, x2, x3)  =  U70_gga(x1, x2, x3)
U71_gga(x1, x2, x3)  =  U71_gga(x2, x3)
U72_gga(x1, x2, x3)  =  U72_gga(x3)
U73_gga(x1, x2, x3)  =  U73_gga(x1, x2, x3)
U74_gga(x1, x2, x3)  =  U74_gga(x2, x3)
U75_gga(x1, x2, x3)  =  U75_gga(x3)
U76_gga(x1, x2, x3, x4)  =  U76_gga(x1, x2, x4)
U77_gga(x1, x2, x3, x4)  =  U77_gga(x2, x4)
U78_gga(x1, x2, x3, x4)  =  U78_gga(x4)
U79_gga(x1, x2, x3, x4)  =  U79_gga(x4)
plus19_in_aaa(x1, x2, x3)  =  plus19_in_aaa
plus19_out_aaa(x1, x2, x3)  =  plus19_out_aaa(x1)
U1_aaa(x1, x2, x3, x4)  =  U1_aaa(x4)
U80_gga(x1, x2, x3, x4)  =  U80_gga(x1, x2, x4)
U81_gga(x1, x2, x3, x4)  =  U81_gga(x4)
U82_gga(x1, x2, x3, x4)  =  U82_gga(x2, x4)
U83_gga(x1, x2, x3, x4)  =  U83_gga(x4)
plus19_in_gaa(x1, x2, x3)  =  plus19_in_gaa(x1)
plus19_out_gaa(x1, x2, x3)  =  plus19_out_gaa
U1_gaa(x1, x2, x3, x4)  =  U1_gaa(x4)
TIMES1_IN_GGA(x1, x2, x3)  =  TIMES1_IN_GGA(x1, x2)
U44_GGA(x1, x2, x3)  =  U44_GGA(x3)
TIMES18_IN_GA(x1, x2)  =  TIMES18_IN_GA(x1)
U45_GGA(x1, x2, x3)  =  U45_GGA(x1, x3)
U46_GGA(x1, x2, x3)  =  U46_GGA(x3)
PLUS19_IN_GGA(x1, x2, x3)  =  PLUS19_IN_GGA(x1, x2)
U1_GGA(x1, x2, x3, x4)  =  U1_GGA(x4)
U47_GGA(x1, x2, x3, x4)  =  U47_GGA(x4)
EVEN36_IN_GA(x1, x2)  =  EVEN36_IN_GA(x1)
U2_GA(x1, x2, x3)  =  U2_GA(x3)
U48_GGA(x1, x2, x3, x4)  =  U48_GGA(x1, x2, x4)
EVEN36_IN_GG(x1, x2)  =  EVEN36_IN_GG(x1, x2)
U2_GG(x1, x2, x3)  =  U2_GG(x3)
U49_GGA(x1, x2, x3, x4)  =  U49_GGA(x4)
HALF56_IN_GA(x1, x2)  =  HALF56_IN_GA(x1)
U43_GA(x1, x2, x3)  =  U43_GA(x3)
HALF60_IN_GA(x1, x2)  =  HALF60_IN_GA(x1)
U3_GA(x1, x2, x3)  =  U3_GA(x3)
U50_GGA(x1, x2, x3, x4)  =  U50_GGA(x2, x4)
U51_GGA(x1, x2, x3, x4)  =  U51_GGA(x4)
TIMES69_IN_GGA(x1, x2, x3)  =  TIMES69_IN_GGA(x1, x2)
U4_GGA(x1, x2, x3, x4)  =  U4_GGA(x4)
U5_GGA(x1, x2, x3, x4)  =  U5_GGA(x1, x2, x4)
U6_GGA(x1, x2, x3, x4)  =  U6_GGA(x4)
U7_GGA(x1, x2, x3, x4)  =  U7_GGA(x2, x4)
U8_GGA(x1, x2, x3, x4)  =  U8_GGA(x4)
U9_GGA(x1, x2, x3)  =  U9_GGA(x1, x2, x3)
U10_GGA(x1, x2, x3)  =  U10_GGA(x2, x3)
U11_GGA(x1, x2, x3)  =  U11_GGA(x3)
TIMES69_IN_GGG(x1, x2, x3)  =  TIMES69_IN_GGG(x1, x2, x3)
U4_GGG(x1, x2, x3, x4)  =  U4_GGG(x4)
U5_GGG(x1, x2, x3, x4)  =  U5_GGG(x1, x2, x4)
U6_GGG(x1, x2, x3, x4)  =  U6_GGG(x4)
U7_GGG(x1, x2, x3, x4)  =  U7_GGG(x2, x4)
U8_GGG(x1, x2, x3, x4)  =  U8_GGG(x4)
U12_GGA(x1, x2, x3)  =  U12_GGA(x1, x2, x3)
U13_GGA(x1, x2, x3)  =  U13_GGA(x2, x3)
U14_GGA(x1, x2, x3)  =  U14_GGA(x3)
U9_GGG(x1, x2, x3)  =  U9_GGG(x1, x2, x3)
U10_GGG(x1, x2, x3)  =  U10_GGG(x2, x3)
U11_GGG(x1, x2, x3)  =  U11_GGG(x3)
U12_GGG(x1, x2, x3)  =  U12_GGG(x1, x2, x3)
U13_GGG(x1, x2, x3)  =  U13_GGG(x2, x3)
U14_GGG(x1, x2, x3)  =  U14_GGG(x3)
U15_GGG(x1, x2, x3)  =  U15_GGG(x1, x2, x3)
U16_GGG(x1, x2, x3)  =  U16_GGG(x2, x3)
U17_GGG(x1, x2, x3)  =  U17_GGG(x3)
U18_GGG(x1, x2, x3)  =  U18_GGG(x1, x2, x3)
U19_GGG(x1, x2, x3)  =  U19_GGG(x2, x3)
U20_GGG(x1, x2, x3)  =  U20_GGG(x3)
U21_GGG(x1, x2, x3)  =  U21_GGG(x1, x2, x3)
U22_GGG(x1, x2, x3)  =  U22_GGG(x2, x3)
U23_GGG(x1, x2, x3)  =  U23_GGG(x3)
U24_GGG(x1, x2, x3)  =  U24_GGG(x1, x2, x3)
U25_GGG(x1, x2, x3)  =  U25_GGG(x2, x3)
U26_GGG(x1, x2, x3)  =  U26_GGG(x3)
U27_GGG(x1, x2, x3)  =  U27_GGG(x1, x2, x3)
U28_GGG(x1, x2, x3)  =  U28_GGG(x2, x3)
U29_GGG(x1, x2, x3)  =  U29_GGG(x3)
U30_GGG(x1, x2, x3)  =  U30_GGG(x1, x2, x3)
U31_GGG(x1, x2, x3)  =  U31_GGG(x2, x3)
U32_GGG(x1, x2, x3)  =  U32_GGG(x3)
U33_GGG(x1, x2, x3, x4)  =  U33_GGG(x1, x2, x3, x4)
U34_GGG(x1, x2, x3, x4)  =  U34_GGG(x2, x3, x4)
U35_GGG(x1, x2, x3, x4)  =  U35_GGG(x3, x4)
U15_GGA(x1, x2, x3)  =  U15_GGA(x1, x2, x3)
U16_GGA(x1, x2, x3)  =  U16_GGA(x2, x3)
U17_GGA(x1, x2, x3)  =  U17_GGA(x3)
U37_GGG(x1, x2, x3, x4)  =  U37_GGG(x1, x2, x3, x4)
U38_GGG(x1, x2, x3, x4)  =  U38_GGG(x4)
U18_GGA(x1, x2, x3)  =  U18_GGA(x1, x2, x3)
U19_GGA(x1, x2, x3)  =  U19_GGA(x2, x3)
U20_GGA(x1, x2, x3)  =  U20_GGA(x3)
U21_GGA(x1, x2, x3)  =  U21_GGA(x1, x2, x3)
U22_GGA(x1, x2, x3)  =  U22_GGA(x2, x3)
U23_GGA(x1, x2, x3)  =  U23_GGA(x3)
U24_GGA(x1, x2, x3)  =  U24_GGA(x1, x2, x3)
U25_GGA(x1, x2, x3)  =  U25_GGA(x2, x3)
U26_GGA(x1, x2, x3)  =  U26_GGA(x3)
U27_GGA(x1, x2, x3)  =  U27_GGA(x1, x2, x3)
U28_GGA(x1, x2, x3)  =  U28_GGA(x2, x3)
U29_GGA(x1, x2, x3)  =  U29_GGA(x3)
U30_GGA(x1, x2, x3)  =  U30_GGA(x1, x2, x3)
U31_GGA(x1, x2, x3)  =  U31_GGA(x2, x3)
U32_GGA(x1, x2, x3)  =  U32_GGA(x3)
U33_GGA(x1, x2, x3, x4)  =  U33_GGA(x1, x2, x4)
U34_GGA(x1, x2, x3, x4)  =  U34_GGA(x2, x4)
U35_GGA(x1, x2, x3, x4)  =  U35_GGA(x4)
U37_GGA(x1, x2, x3, x4)  =  U37_GGA(x1, x2, x4)
U38_GGA(x1, x2, x3, x4)  =  U38_GGA(x4)
U39_GGA(x1, x2, x3, x4)  =  U39_GGA(x2, x4)
U40_GGA(x1, x2, x3, x4)  =  U40_GGA(x4)
PLUS166_IN_GAA(x1, x2, x3)  =  PLUS166_IN_GAA(x1)
U42_GAA(x1, x2, x3, x4)  =  U42_GAA(x4)
U36_GGA(x1, x2, x3, x4)  =  U36_GGA(x4)
PLUS154_IN_AAA(x1, x2, x3)  =  PLUS154_IN_AAA
U41_AAA(x1, x2, x3, x4)  =  U41_AAA(x4)
U39_GGG(x1, x2, x3, x4)  =  U39_GGG(x2, x3, x4)
U40_GGG(x1, x2, x3, x4)  =  U40_GGG(x4)
PLUS166_IN_GAG(x1, x2, x3)  =  PLUS166_IN_GAG(x1, x3)
U42_GAG(x1, x2, x3, x4)  =  U42_GAG(x4)
U36_GGG(x1, x2, x3, x4)  =  U36_GGG(x4)
PLUS154_IN_AAG(x1, x2, x3)  =  PLUS154_IN_AAG(x3)
U41_AAG(x1, x2, x3, x4)  =  U41_AAG(x4)
U52_GGA(x1, x2, x3)  =  U52_GGA(x1, x2, x3)
U53_GGA(x1, x2, x3)  =  U53_GGA(x2, x3)
U54_GGA(x1, x2, x3)  =  U54_GGA(x3)
U55_GGA(x1, x2, x3)  =  U55_GGA(x1, x2, x3)
U56_GGA(x1, x2, x3)  =  U56_GGA(x2, x3)
U57_GGA(x1, x2, x3)  =  U57_GGA(x3)
U58_GGA(x1, x2, x3)  =  U58_GGA(x1, x2, x3)
U59_GGA(x1, x2, x3)  =  U59_GGA(x2, x3)
U60_GGA(x1, x2, x3)  =  U60_GGA(x3)
U61_GGA(x1, x2, x3)  =  U61_GGA(x1, x2, x3)
U62_GGA(x1, x2, x3)  =  U62_GGA(x2, x3)
U63_GGA(x1, x2, x3)  =  U63_GGA(x3)
U64_GGA(x1, x2, x3)  =  U64_GGA(x1, x2, x3)
U65_GGA(x1, x2, x3)  =  U65_GGA(x2, x3)
U66_GGA(x1, x2, x3)  =  U66_GGA(x3)
U67_GGA(x1, x2, x3)  =  U67_GGA(x1, x2, x3)
U68_GGA(x1, x2, x3)  =  U68_GGA(x2, x3)
U69_GGA(x1, x2, x3)  =  U69_GGA(x3)
U70_GGA(x1, x2, x3)  =  U70_GGA(x1, x2, x3)
U71_GGA(x1, x2, x3)  =  U71_GGA(x2, x3)
U72_GGA(x1, x2, x3)  =  U72_GGA(x3)
U73_GGA(x1, x2, x3)  =  U73_GGA(x1, x2, x3)
U74_GGA(x1, x2, x3)  =  U74_GGA(x2, x3)
U75_GGA(x1, x2, x3)  =  U75_GGA(x3)
U76_GGA(x1, x2, x3, x4)  =  U76_GGA(x1, x2, x4)
U77_GGA(x1, x2, x3, x4)  =  U77_GGA(x2, x4)
U78_GGA(x1, x2, x3, x4)  =  U78_GGA(x4)
U79_GGA(x1, x2, x3, x4)  =  U79_GGA(x4)
PLUS19_IN_AAA(x1, x2, x3)  =  PLUS19_IN_AAA
U1_AAA(x1, x2, x3, x4)  =  U1_AAA(x4)
U80_GGA(x1, x2, x3, x4)  =  U80_GGA(x1, x2, x4)
U81_GGA(x1, x2, x3, x4)  =  U81_GGA(x4)
U82_GGA(x1, x2, x3, x4)  =  U82_GGA(x2, x4)
U83_GGA(x1, x2, x3, x4)  =  U83_GGA(x4)
PLUS19_IN_GAA(x1, x2, x3)  =  PLUS19_IN_GAA(x1)
U1_GAA(x1, x2, x3, x4)  =  U1_GAA(x4)

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

(129) Obligation:

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

TIMES1_IN_GGA(s(0), T23, T25) → U44_GGA(T23, T25, times18_in_ga(T23, X45))
TIMES1_IN_GGA(s(0), T23, T25) → TIMES18_IN_GA(T23, X45)
TIMES1_IN_GGA(s(0), T23, T25) → U45_GGA(T23, T25, times18_in_ga(T23, T29))
U45_GGA(T23, T25, times18_out_ga(T23, T29)) → U46_GGA(T23, T25, plus19_in_gga(T23, T29, T25))
U45_GGA(T23, T25, times18_out_ga(T23, T29)) → PLUS19_IN_GGA(T23, T29, T25)
PLUS19_IN_GGA(s(T49), T50, s(T52)) → U1_GGA(T49, T50, T52, plus19_in_gga(T49, T50, T52))
PLUS19_IN_GGA(s(T49), T50, s(T52)) → PLUS19_IN_GGA(T49, T50, T52)
TIMES1_IN_GGA(s(s(T57)), T10, T12) → U47_GGA(T57, T10, T12, even36_in_ga(T57, X90))
TIMES1_IN_GGA(s(s(T57)), T10, T12) → EVEN36_IN_GA(T57, X90)
EVEN36_IN_GA(s(s(T61)), X101) → U2_GA(T61, X101, even36_in_ga(T61, X101))
EVEN36_IN_GA(s(s(T61)), X101) → EVEN36_IN_GA(T61, X101)
TIMES1_IN_GGA(s(s(T77)), T78, T80) → U48_GGA(T77, T78, T80, even36_in_gg(T77, true))
TIMES1_IN_GGA(s(s(T77)), T78, T80) → EVEN36_IN_GG(T77, true)
EVEN36_IN_GG(s(s(T61)), X101) → U2_GG(T61, X101, even36_in_gg(T61, X101))
EVEN36_IN_GG(s(s(T61)), X101) → EVEN36_IN_GG(T61, X101)
U48_GGA(T77, T78, T80, even36_out_gg(T77, true)) → U49_GGA(T77, T78, T80, half56_in_ga(T77, X128))
U48_GGA(T77, T78, T80, even36_out_gg(T77, true)) → HALF56_IN_GA(T77, X128)
HALF56_IN_GA(T86, s(X147)) → U43_GA(T86, X147, half60_in_ga(T86, X147))
HALF56_IN_GA(T86, s(X147)) → HALF60_IN_GA(T86, X147)
HALF60_IN_GA(s(s(T89)), s(X156)) → U3_GA(T89, X156, half60_in_ga(T89, X156))
HALF60_IN_GA(s(s(T89)), s(X156)) → HALF60_IN_GA(T89, X156)
U48_GGA(T77, T78, T80, even36_out_gg(T77, true)) → U50_GGA(T77, T78, T80, half56_in_ga(T77, T82))
U50_GGA(T77, T78, T80, half56_out_ga(T77, T82)) → U51_GGA(T77, T78, T80, times69_in_gga(T82, T78, X129))
U50_GGA(T77, T78, T80, half56_out_ga(T77, T82)) → TIMES69_IN_GGA(T82, T78, X129)
TIMES69_IN_GGA(s(T104), T105, X182) → U4_GGA(T104, T105, X182, even36_in_ga(s(T104), X181))
TIMES69_IN_GGA(s(T104), T105, X182) → EVEN36_IN_GA(s(T104), X181)
TIMES69_IN_GGA(s(T117), T118, X217) → U5_GGA(T117, T118, X217, even36_in_gg(s(T117), true))
TIMES69_IN_GGA(s(T117), T118, X217) → EVEN36_IN_GG(s(T117), true)
U5_GGA(T117, T118, X217, even36_out_gg(s(T117), true)) → U6_GGA(T117, T118, X217, half60_in_ga(s(T117), X215))
U5_GGA(T117, T118, X217, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), X215)
U5_GGA(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_GGA(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_GGA(T117, T118, X217, half60_out_ga(s(T117), T120)) → U8_GGA(T117, T118, X217, times69_in_gga(T120, T118, X216))
U7_GGA(T117, T118, X217, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGA(T120, T118, X216)
TIMES69_IN_GGA(s(T117), T118, 0) → U9_GGA(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGA(s(T117), T118, 0) → EVEN36_IN_GG(s(T117), true)
U9_GGA(T117, T118, even36_out_gg(s(T117), true)) → U10_GGA(T117, T118, half60_in_ga(s(T117), T120))
U9_GGA(T117, T118, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), T120)
U10_GGA(T117, T118, half60_out_ga(s(T117), T120)) → U11_GGA(T117, T118, times69_in_ggg(T120, T118, 0))
U10_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, 0)
TIMES69_IN_GGG(s(T104), T105, X182) → U4_GGG(T104, T105, X182, even36_in_ga(s(T104), X181))
TIMES69_IN_GGG(s(T104), T105, X182) → EVEN36_IN_GA(s(T104), X181)
TIMES69_IN_GGG(s(T117), T118, X217) → U5_GGG(T117, T118, X217, even36_in_gg(s(T117), true))
TIMES69_IN_GGG(s(T117), T118, X217) → EVEN36_IN_GG(s(T117), true)
U5_GGG(T117, T118, X217, even36_out_gg(s(T117), true)) → U6_GGG(T117, T118, X217, half60_in_ga(s(T117), X215))
U5_GGG(T117, T118, X217, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), X215)
U5_GGG(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_GGG(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_GGG(T117, T118, X217, half60_out_ga(s(T117), T120)) → U8_GGG(T117, T118, X217, times69_in_gga(T120, T118, X216))
U7_GGG(T117, T118, X217, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGA(T120, T118, X216)
TIMES69_IN_GGA(s(T117), T118, s(s(0))) → U12_GGA(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGA(s(T117), T118, s(s(0))) → EVEN36_IN_GG(s(T117), true)
U12_GGA(T117, T118, even36_out_gg(s(T117), true)) → U13_GGA(T117, T118, half60_in_ga(s(T117), T120))
U12_GGA(T117, T118, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), T120)
U13_GGA(T117, T118, half60_out_ga(s(T117), T120)) → U14_GGA(T117, T118, times69_in_ggg(T120, T118, s(0)))
U13_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(0))
TIMES69_IN_GGG(s(T117), T118, 0) → U9_GGG(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGG(s(T117), T118, 0) → EVEN36_IN_GG(s(T117), true)
U9_GGG(T117, T118, even36_out_gg(s(T117), true)) → U10_GGG(T117, T118, half60_in_ga(s(T117), T120))
U9_GGG(T117, T118, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), T120)
U10_GGG(T117, T118, half60_out_ga(s(T117), T120)) → U11_GGG(T117, T118, times69_in_ggg(T120, T118, 0))
U10_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, 0)
TIMES69_IN_GGG(s(T117), T118, s(s(0))) → U12_GGG(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGG(s(T117), T118, s(s(0))) → EVEN36_IN_GG(s(T117), true)
U12_GGG(T117, T118, even36_out_gg(s(T117), true)) → U13_GGG(T117, T118, half60_in_ga(s(T117), T120))
U12_GGG(T117, T118, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), T120)
U13_GGG(T117, T118, half60_out_ga(s(T117), T120)) → U14_GGG(T117, T118, times69_in_ggg(T120, T118, s(0)))
U13_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(0))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(0))))) → U15_GGG(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(0))))) → EVEN36_IN_GG(s(T117), true)
U15_GGG(T117, T118, even36_out_gg(s(T117), true)) → U16_GGG(T117, T118, half60_in_ga(s(T117), T120))
U15_GGG(T117, T118, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), T120)
U16_GGG(T117, T118, half60_out_ga(s(T117), T120)) → U17_GGG(T117, T118, times69_in_ggg(T120, T118, s(s(0))))
U16_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(0)))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_GGG(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(s(s(0))))))) → EVEN36_IN_GG(s(T117), true)
U18_GGG(T117, T118, even36_out_gg(s(T117), true)) → U19_GGG(T117, T118, half60_in_ga(s(T117), T120))
U18_GGG(T117, T118, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), T120)
U19_GGG(T117, T118, half60_out_ga(s(T117), T120)) → U20_GGG(T117, T118, times69_in_ggg(T120, T118, s(s(s(0)))))
U19_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(0))))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → U21_GGG(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → EVEN36_IN_GG(s(T117), true)
U21_GGG(T117, T118, even36_out_gg(s(T117), true)) → U22_GGG(T117, T118, half60_in_ga(s(T117), T120))
U21_GGG(T117, T118, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), T120)
U22_GGG(T117, T118, half60_out_ga(s(T117), T120)) → U23_GGG(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(0))))))
U22_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(0)))))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U24_GGG(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → EVEN36_IN_GG(s(T117), true)
U24_GGG(T117, T118, even36_out_gg(s(T117), true)) → U25_GGG(T117, T118, half60_in_ga(s(T117), T120))
U24_GGG(T117, T118, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), T120)
U25_GGG(T117, T118, half60_out_ga(s(T117), T120)) → U26_GGG(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(0)))))))
U25_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(0))))))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U27_GGG(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → EVEN36_IN_GG(s(T117), true)
U27_GGG(T117, T118, even36_out_gg(s(T117), true)) → U28_GGG(T117, T118, half60_in_ga(s(T117), T120))
U27_GGG(T117, T118, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), T120)
U28_GGG(T117, T118, half60_out_ga(s(T117), T120)) → U29_GGG(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(0))))))))
U28_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(s(0)))))))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U30_GGG(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → EVEN36_IN_GG(s(T117), true)
U30_GGG(T117, T118, even36_out_gg(s(T117), true)) → U31_GGG(T117, T118, half60_in_ga(s(T117), T120))
U30_GGG(T117, T118, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), T120)
U31_GGG(T117, T118, half60_out_ga(s(T117), T120)) → U32_GGG(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(s(0)))))))))
U31_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(s(s(0))))))))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → U33_GGG(T117, T118, X411, even36_in_gg(s(T117), true))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → EVEN36_IN_GG(s(T117), true)
U33_GGG(T117, T118, X411, even36_out_gg(s(T117), true)) → U34_GGG(T117, T118, X411, half60_in_ga(s(T117), T120))
U33_GGG(T117, T118, X411, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), T120)
U34_GGG(T117, T118, X411, half60_out_ga(s(T117), T120)) → U35_GGG(T117, T118, X411, times69_in_gga(T120, T118, s(s(s(s(s(s(s(s(T150))))))))))
U34_GGG(T117, T118, X411, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGA(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(0))))) → U15_GGA(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(0))))) → EVEN36_IN_GG(s(T117), true)
U15_GGA(T117, T118, even36_out_gg(s(T117), true)) → U16_GGA(T117, T118, half60_in_ga(s(T117), T120))
U15_GGA(T117, T118, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), T120)
U16_GGA(T117, T118, half60_out_ga(s(T117), T120)) → U17_GGA(T117, T118, times69_in_ggg(T120, T118, s(s(0))))
U16_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(0)))
TIMES69_IN_GGG(s(T171), T172, X455) → U37_GGG(T171, T172, X455, even36_in_gg(s(T171), false))
TIMES69_IN_GGG(s(T171), T172, X455) → EVEN36_IN_GG(s(T171), false)
U37_GGG(T171, T172, X455, even36_out_gg(s(T171), false)) → U38_GGG(T171, T172, X455, times69_in_gga(T171, T172, X454))
U37_GGG(T171, T172, X455, even36_out_gg(s(T171), false)) → TIMES69_IN_GGA(T171, T172, X454)
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_GGA(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(s(s(0))))))) → EVEN36_IN_GG(s(T117), true)
U18_GGA(T117, T118, even36_out_gg(s(T117), true)) → U19_GGA(T117, T118, half60_in_ga(s(T117), T120))
U18_GGA(T117, T118, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), T120)
U19_GGA(T117, T118, half60_out_ga(s(T117), T120)) → U20_GGA(T117, T118, times69_in_ggg(T120, T118, s(s(s(0)))))
U19_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(0))))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → U21_GGA(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → EVEN36_IN_GG(s(T117), true)
U21_GGA(T117, T118, even36_out_gg(s(T117), true)) → U22_GGA(T117, T118, half60_in_ga(s(T117), T120))
U21_GGA(T117, T118, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), T120)
U22_GGA(T117, T118, half60_out_ga(s(T117), T120)) → U23_GGA(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(0))))))
U22_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(0)))))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U24_GGA(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → EVEN36_IN_GG(s(T117), true)
U24_GGA(T117, T118, even36_out_gg(s(T117), true)) → U25_GGA(T117, T118, half60_in_ga(s(T117), T120))
U24_GGA(T117, T118, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), T120)
U25_GGA(T117, T118, half60_out_ga(s(T117), T120)) → U26_GGA(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(0)))))))
U25_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(0))))))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U27_GGA(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → EVEN36_IN_GG(s(T117), true)
U27_GGA(T117, T118, even36_out_gg(s(T117), true)) → U28_GGA(T117, T118, half60_in_ga(s(T117), T120))
U27_GGA(T117, T118, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), T120)
U28_GGA(T117, T118, half60_out_ga(s(T117), T120)) → U29_GGA(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(0))))))))
U28_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(s(0)))))))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U30_GGA(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → EVEN36_IN_GG(s(T117), true)
U30_GGA(T117, T118, even36_out_gg(s(T117), true)) → U31_GGA(T117, T118, half60_in_ga(s(T117), T120))
U30_GGA(T117, T118, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), T120)
U31_GGA(T117, T118, half60_out_ga(s(T117), T120)) → U32_GGA(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(s(0)))))))))
U31_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(s(s(0))))))))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → U33_GGA(T117, T118, X411, even36_in_gg(s(T117), true))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → EVEN36_IN_GG(s(T117), true)
U33_GGA(T117, T118, X411, even36_out_gg(s(T117), true)) → U34_GGA(T117, T118, X411, half60_in_ga(s(T117), T120))
U33_GGA(T117, T118, X411, even36_out_gg(s(T117), true)) → HALF60_IN_GA(s(T117), T120)
U34_GGA(T117, T118, X411, half60_out_ga(s(T117), T120)) → U35_GGA(T117, T118, X411, times69_in_gga(T120, T118, s(s(s(s(s(s(s(s(T150))))))))))
U34_GGA(T117, T118, X411, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGA(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))
TIMES69_IN_GGA(s(T171), T172, X455) → U37_GGA(T171, T172, X455, even36_in_gg(s(T171), false))
TIMES69_IN_GGA(s(T171), T172, X455) → EVEN36_IN_GG(s(T171), false)
U37_GGA(T171, T172, X455, even36_out_gg(s(T171), false)) → U38_GGA(T171, T172, X455, times69_in_gga(T171, T172, X454))
U37_GGA(T171, T172, X455, even36_out_gg(s(T171), false)) → TIMES69_IN_GGA(T171, T172, X454)
U37_GGA(T171, T172, X455, even36_out_gg(s(T171), false)) → U39_GGA(T171, T172, X455, times69_in_gga(T171, T172, T175))
U39_GGA(T171, T172, X455, times69_out_gga(T171, T172, T175)) → U40_GGA(T171, T172, X455, plus166_in_gaa(T172, T175, X455))
U39_GGA(T171, T172, X455, times69_out_gga(T171, T172, T175)) → PLUS166_IN_GAA(T172, T175, X455)
PLUS166_IN_GAA(s(T189), T190, s(X482)) → U42_GAA(T189, T190, X482, plus166_in_gaa(T189, T190, X482))
PLUS166_IN_GAA(s(T189), T190, s(X482)) → PLUS166_IN_GAA(T189, T190, X482)
U35_GGA(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → U36_GGA(T117, T118, X411, plus154_in_aaa(T150, s(s(s(s(s(s(s(T150))))))), X411))
U35_GGA(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → PLUS154_IN_AAA(T150, s(s(s(s(s(s(s(T150))))))), X411)
PLUS154_IN_AAA(s(T163), T164, s(X436)) → U41_AAA(T163, T164, X436, plus154_in_aaa(T163, T164, X436))
PLUS154_IN_AAA(s(T163), T164, s(X436)) → PLUS154_IN_AAA(T163, T164, X436)
U37_GGG(T171, T172, X455, even36_out_gg(s(T171), false)) → U39_GGG(T171, T172, X455, times69_in_gga(T171, T172, T175))
U39_GGG(T171, T172, X455, times69_out_gga(T171, T172, T175)) → U40_GGG(T171, T172, X455, plus166_in_gag(T172, T175, X455))
U39_GGG(T171, T172, X455, times69_out_gga(T171, T172, T175)) → PLUS166_IN_GAG(T172, T175, X455)
PLUS166_IN_GAG(s(T189), T190, s(X482)) → U42_GAG(T189, T190, X482, plus166_in_gag(T189, T190, X482))
PLUS166_IN_GAG(s(T189), T190, s(X482)) → PLUS166_IN_GAG(T189, T190, X482)
U35_GGG(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → U36_GGG(T117, T118, X411, plus154_in_aag(T150, s(s(s(s(s(s(s(T150))))))), X411))
U35_GGG(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → PLUS154_IN_AAG(T150, s(s(s(s(s(s(s(T150))))))), X411)
PLUS154_IN_AAG(s(T163), T164, s(X436)) → U41_AAG(T163, T164, X436, plus154_in_aag(T163, T164, X436))
PLUS154_IN_AAG(s(T163), T164, s(X436)) → PLUS154_IN_AAG(T163, T164, X436)
TIMES1_IN_GGA(s(s(T77)), T78, 0) → U52_GGA(T77, T78, even36_in_gg(T77, true))
TIMES1_IN_GGA(s(s(T77)), T78, 0) → EVEN36_IN_GG(T77, true)
U52_GGA(T77, T78, even36_out_gg(T77, true)) → U53_GGA(T77, T78, half56_in_ga(T77, T82))
U52_GGA(T77, T78, even36_out_gg(T77, true)) → HALF56_IN_GA(T77, T82)
U53_GGA(T77, T78, half56_out_ga(T77, T82)) → U54_GGA(T77, T78, times69_in_ggg(T82, T78, 0))
U53_GGA(T77, T78, half56_out_ga(T77, T82)) → TIMES69_IN_GGG(T82, T78, 0)
TIMES1_IN_GGA(s(s(T77)), T78, s(s(0))) → U55_GGA(T77, T78, even36_in_gg(T77, true))
TIMES1_IN_GGA(s(s(T77)), T78, s(s(0))) → EVEN36_IN_GG(T77, true)
U55_GGA(T77, T78, even36_out_gg(T77, true)) → U56_GGA(T77, T78, half56_in_ga(T77, T82))
U55_GGA(T77, T78, even36_out_gg(T77, true)) → HALF56_IN_GA(T77, T82)
U56_GGA(T77, T78, half56_out_ga(T77, T82)) → U57_GGA(T77, T78, times69_in_ggg(T82, T78, s(0)))
U56_GGA(T77, T78, half56_out_ga(T77, T82)) → TIMES69_IN_GGG(T82, T78, s(0))
TIMES1_IN_GGA(s(s(T77)), T78, s(s(s(s(0))))) → U58_GGA(T77, T78, even36_in_gg(T77, true))
TIMES1_IN_GGA(s(s(T77)), T78, s(s(s(s(0))))) → EVEN36_IN_GG(T77, true)
U58_GGA(T77, T78, even36_out_gg(T77, true)) → U59_GGA(T77, T78, half56_in_ga(T77, T82))
U58_GGA(T77, T78, even36_out_gg(T77, true)) → HALF56_IN_GA(T77, T82)
U59_GGA(T77, T78, half56_out_ga(T77, T82)) → U60_GGA(T77, T78, times69_in_ggg(T82, T78, s(s(0))))
U59_GGA(T77, T78, half56_out_ga(T77, T82)) → TIMES69_IN_GGG(T82, T78, s(s(0)))
TIMES1_IN_GGA(s(s(T77)), T78, s(s(s(s(s(s(0))))))) → U61_GGA(T77, T78, even36_in_gg(T77, true))
TIMES1_IN_GGA(s(s(T77)), T78, s(s(s(s(s(s(0))))))) → EVEN36_IN_GG(T77, true)
U61_GGA(T77, T78, even36_out_gg(T77, true)) → U62_GGA(T77, T78, half56_in_ga(T77, T82))
U61_GGA(T77, T78, even36_out_gg(T77, true)) → HALF56_IN_GA(T77, T82)
U62_GGA(T77, T78, half56_out_ga(T77, T82)) → U63_GGA(T77, T78, times69_in_ggg(T82, T78, s(s(s(0)))))
U62_GGA(T77, T78, half56_out_ga(T77, T82)) → TIMES69_IN_GGG(T82, T78, s(s(s(0))))
TIMES1_IN_GGA(s(s(T77)), T78, s(s(s(s(s(s(s(s(0))))))))) → U64_GGA(T77, T78, even36_in_gg(T77, true))
TIMES1_IN_GGA(s(s(T77)), T78, s(s(s(s(s(s(s(s(0))))))))) → EVEN36_IN_GG(T77, true)
U64_GGA(T77, T78, even36_out_gg(T77, true)) → U65_GGA(T77, T78, half56_in_ga(T77, T82))
U64_GGA(T77, T78, even36_out_gg(T77, true)) → HALF56_IN_GA(T77, T82)
U65_GGA(T77, T78, half56_out_ga(T77, T82)) → U66_GGA(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(0))))))
U65_GGA(T77, T78, half56_out_ga(T77, T82)) → TIMES69_IN_GGG(T82, T78, s(s(s(s(0)))))
TIMES1_IN_GGA(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U67_GGA(T77, T78, even36_in_gg(T77, true))
TIMES1_IN_GGA(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(0))))))))))) → EVEN36_IN_GG(T77, true)
U67_GGA(T77, T78, even36_out_gg(T77, true)) → U68_GGA(T77, T78, half56_in_ga(T77, T82))
U67_GGA(T77, T78, even36_out_gg(T77, true)) → HALF56_IN_GA(T77, T82)
U68_GGA(T77, T78, half56_out_ga(T77, T82)) → U69_GGA(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(0)))))))
U68_GGA(T77, T78, half56_out_ga(T77, T82)) → TIMES69_IN_GGG(T82, T78, s(s(s(s(s(0))))))
TIMES1_IN_GGA(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U70_GGA(T77, T78, even36_in_gg(T77, true))
TIMES1_IN_GGA(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → EVEN36_IN_GG(T77, true)
U70_GGA(T77, T78, even36_out_gg(T77, true)) → U71_GGA(T77, T78, half56_in_ga(T77, T82))
U70_GGA(T77, T78, even36_out_gg(T77, true)) → HALF56_IN_GA(T77, T82)
U71_GGA(T77, T78, half56_out_ga(T77, T82)) → U72_GGA(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(s(0))))))))
U71_GGA(T77, T78, half56_out_ga(T77, T82)) → TIMES69_IN_GGG(T82, T78, s(s(s(s(s(s(0)))))))
TIMES1_IN_GGA(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U73_GGA(T77, T78, even36_in_gg(T77, true))
TIMES1_IN_GGA(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → EVEN36_IN_GG(T77, true)
U73_GGA(T77, T78, even36_out_gg(T77, true)) → U74_GGA(T77, T78, half56_in_ga(T77, T82))
U73_GGA(T77, T78, even36_out_gg(T77, true)) → HALF56_IN_GA(T77, T82)
U74_GGA(T77, T78, half56_out_ga(T77, T82)) → U75_GGA(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(s(s(0)))))))))
U74_GGA(T77, T78, half56_out_ga(T77, T82)) → TIMES69_IN_GGG(T82, T78, s(s(s(s(s(s(s(0))))))))
TIMES1_IN_GGA(s(s(T77)), T78, s(s(s(s(s(s(s(s(T248))))))))) → U76_GGA(T77, T78, T248, even36_in_gg(T77, true))
TIMES1_IN_GGA(s(s(T77)), T78, s(s(s(s(s(s(s(s(T248))))))))) → EVEN36_IN_GG(T77, true)
U76_GGA(T77, T78, T248, even36_out_gg(T77, true)) → U77_GGA(T77, T78, T248, half56_in_ga(T77, T82))
U76_GGA(T77, T78, T248, even36_out_gg(T77, true)) → HALF56_IN_GA(T77, T82)
U77_GGA(T77, T78, T248, half56_out_ga(T77, T82)) → U78_GGA(T77, T78, T248, times69_in_gga(T82, T78, s(s(s(s(s(s(s(s(T246))))))))))
U77_GGA(T77, T78, T248, half56_out_ga(T77, T82)) → TIMES69_IN_GGA(T82, T78, s(s(s(s(s(s(s(s(T246)))))))))
U78_GGA(T77, T78, T248, times69_out_gga(T82, T78, s(s(s(s(s(s(s(s(T246)))))))))) → U79_GGA(T77, T78, T248, plus19_in_aaa(T246, s(s(s(s(s(s(s(s(T246)))))))), T248))
U78_GGA(T77, T78, T248, times69_out_gga(T82, T78, s(s(s(s(s(s(s(s(T246)))))))))) → PLUS19_IN_AAA(T246, s(s(s(s(s(s(s(s(T246)))))))), T248)
PLUS19_IN_AAA(s(T49), T50, s(T52)) → U1_AAA(T49, T50, T52, plus19_in_aaa(T49, T50, T52))
PLUS19_IN_AAA(s(T49), T50, s(T52)) → PLUS19_IN_AAA(T49, T50, T52)
TIMES1_IN_GGA(s(s(T258)), T259, T261) → U80_GGA(T258, T259, T261, even36_in_gg(T258, false))
TIMES1_IN_GGA(s(s(T258)), T259, T261) → EVEN36_IN_GG(T258, false)
U80_GGA(T258, T259, T261, even36_out_gg(T258, false)) → U81_GGA(T258, T259, T261, times69_in_gga(s(T258), T259, X662))
U80_GGA(T258, T259, T261, even36_out_gg(T258, false)) → TIMES69_IN_GGA(s(T258), T259, X662)
U80_GGA(T258, T259, T261, even36_out_gg(T258, false)) → U82_GGA(T258, T259, T261, times69_in_gga(s(T258), T259, T264))
U82_GGA(T258, T259, T261, times69_out_gga(s(T258), T259, T264)) → U83_GGA(T258, T259, T261, plus19_in_gaa(T259, T264, T261))
U82_GGA(T258, T259, T261, times69_out_gga(s(T258), T259, T264)) → PLUS19_IN_GAA(T259, T264, T261)
PLUS19_IN_GAA(s(T49), T50, s(T52)) → U1_GAA(T49, T50, T52, plus19_in_gaa(T49, T50, T52))
PLUS19_IN_GAA(s(T49), T50, s(T52)) → PLUS19_IN_GAA(T49, T50, T52)

The TRS R consists of the following rules:

times1_in_gga(0, T5, 0) → times1_out_gga(0, T5, 0)
times1_in_gga(s(0), T23, T25) → U44_gga(T23, T25, times18_in_ga(T23, X45))
times18_in_ga(T35, 0) → times18_out_ga(T35, 0)
U44_gga(T23, T25, times18_out_ga(T23, X45)) → times1_out_gga(s(0), T23, T25)
times1_in_gga(s(0), T23, T25) → U45_gga(T23, T25, times18_in_ga(T23, T29))
U45_gga(T23, T25, times18_out_ga(T23, T29)) → U46_gga(T23, T25, plus19_in_gga(T23, T29, T25))
plus19_in_gga(0, T42, T42) → plus19_out_gga(0, T42, T42)
plus19_in_gga(s(T49), T50, s(T52)) → U1_gga(T49, T50, T52, plus19_in_gga(T49, T50, T52))
U1_gga(T49, T50, T52, plus19_out_gga(T49, T50, T52)) → plus19_out_gga(s(T49), T50, s(T52))
U46_gga(T23, T25, plus19_out_gga(T23, T29, T25)) → times1_out_gga(s(0), T23, T25)
times1_in_gga(s(s(T57)), T10, T12) → U47_gga(T57, T10, T12, even36_in_ga(T57, X90))
even36_in_ga(0, true) → even36_out_ga(0, true)
even36_in_ga(s(0), false) → even36_out_ga(s(0), false)
even36_in_ga(s(s(T61)), X101) → U2_ga(T61, X101, even36_in_ga(T61, X101))
U2_ga(T61, X101, even36_out_ga(T61, X101)) → even36_out_ga(s(s(T61)), X101)
U47_gga(T57, T10, T12, even36_out_ga(T57, X90)) → times1_out_gga(s(s(T57)), T10, T12)
times1_in_gga(s(s(T77)), T78, T80) → U48_gga(T77, T78, T80, even36_in_gg(T77, true))
even36_in_gg(0, true) → even36_out_gg(0, true)
even36_in_gg(s(0), false) → even36_out_gg(s(0), false)
even36_in_gg(s(s(T61)), X101) → U2_gg(T61, X101, even36_in_gg(T61, X101))
U2_gg(T61, X101, even36_out_gg(T61, X101)) → even36_out_gg(s(s(T61)), X101)
U48_gga(T77, T78, T80, even36_out_gg(T77, true)) → U49_gga(T77, T78, T80, half56_in_ga(T77, X128))
half56_in_ga(T86, s(X147)) → U43_ga(T86, X147, half60_in_ga(T86, X147))
half60_in_ga(0, 0) → half60_out_ga(0, 0)
half60_in_ga(s(s(T89)), s(X156)) → U3_ga(T89, X156, half60_in_ga(T89, X156))
U3_ga(T89, X156, half60_out_ga(T89, X156)) → half60_out_ga(s(s(T89)), s(X156))
U43_ga(T86, X147, half60_out_ga(T86, X147)) → half56_out_ga(T86, s(X147))
U49_gga(T77, T78, T80, half56_out_ga(T77, X128)) → times1_out_gga(s(s(T77)), T78, T80)
U48_gga(T77, T78, T80, even36_out_gg(T77, true)) → U50_gga(T77, T78, T80, half56_in_ga(T77, T82))
U50_gga(T77, T78, T80, half56_out_ga(T77, T82)) → U51_gga(T77, T78, T80, times69_in_gga(T82, T78, X129))
times69_in_gga(0, T99, 0) → times69_out_gga(0, T99, 0)
times69_in_gga(s(T104), T105, X182) → U4_gga(T104, T105, X182, even36_in_ga(s(T104), X181))
U4_gga(T104, T105, X182, even36_out_ga(s(T104), X181)) → times69_out_gga(s(T104), T105, X182)
times69_in_gga(s(T117), T118, X217) → U5_gga(T117, T118, X217, even36_in_gg(s(T117), true))
U5_gga(T117, T118, X217, even36_out_gg(s(T117), true)) → U6_gga(T117, T118, X217, half60_in_ga(s(T117), X215))
U6_gga(T117, T118, X217, half60_out_ga(s(T117), X215)) → times69_out_gga(s(T117), T118, X217)
U5_gga(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_gga(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_gga(T117, T118, X217, half60_out_ga(s(T117), T120)) → U8_gga(T117, T118, X217, times69_in_gga(T120, T118, X216))
times69_in_gga(s(T117), T118, 0) → U9_gga(T117, T118, even36_in_gg(s(T117), true))
U9_gga(T117, T118, even36_out_gg(s(T117), true)) → U10_gga(T117, T118, half60_in_ga(s(T117), T120))
U10_gga(T117, T118, half60_out_ga(s(T117), T120)) → U11_gga(T117, T118, times69_in_ggg(T120, T118, 0))
times69_in_ggg(0, T99, 0) → times69_out_ggg(0, T99, 0)
times69_in_ggg(s(T104), T105, X182) → U4_ggg(T104, T105, X182, even36_in_ga(s(T104), X181))
U4_ggg(T104, T105, X182, even36_out_ga(s(T104), X181)) → times69_out_ggg(s(T104), T105, X182)
times69_in_ggg(s(T117), T118, X217) → U5_ggg(T117, T118, X217, even36_in_gg(s(T117), true))
U5_ggg(T117, T118, X217, even36_out_gg(s(T117), true)) → U6_ggg(T117, T118, X217, half60_in_ga(s(T117), X215))
U6_ggg(T117, T118, X217, half60_out_ga(s(T117), X215)) → times69_out_ggg(s(T117), T118, X217)
U5_ggg(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_ggg(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_ggg(T117, T118, X217, half60_out_ga(s(T117), T120)) → U8_ggg(T117, T118, X217, times69_in_gga(T120, T118, X216))
times69_in_gga(s(T117), T118, s(s(0))) → U12_gga(T117, T118, even36_in_gg(s(T117), true))
U12_gga(T117, T118, even36_out_gg(s(T117), true)) → U13_gga(T117, T118, half60_in_ga(s(T117), T120))
U13_gga(T117, T118, half60_out_ga(s(T117), T120)) → U14_gga(T117, T118, times69_in_ggg(T120, T118, s(0)))
times69_in_ggg(s(T117), T118, 0) → U9_ggg(T117, T118, even36_in_gg(s(T117), true))
U9_ggg(T117, T118, even36_out_gg(s(T117), true)) → U10_ggg(T117, T118, half60_in_ga(s(T117), T120))
U10_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U11_ggg(T117, T118, times69_in_ggg(T120, T118, 0))
times69_in_ggg(s(T117), T118, s(s(0))) → U12_ggg(T117, T118, even36_in_gg(s(T117), true))
U12_ggg(T117, T118, even36_out_gg(s(T117), true)) → U13_ggg(T117, T118, half60_in_ga(s(T117), T120))
U13_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U14_ggg(T117, T118, times69_in_ggg(T120, T118, s(0)))
times69_in_ggg(s(T117), T118, s(s(s(s(0))))) → U15_ggg(T117, T118, even36_in_gg(s(T117), true))
U15_ggg(T117, T118, even36_out_gg(s(T117), true)) → U16_ggg(T117, T118, half60_in_ga(s(T117), T120))
U16_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U17_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(0))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_ggg(T117, T118, even36_in_gg(s(T117), true))
U18_ggg(T117, T118, even36_out_gg(s(T117), true)) → U19_ggg(T117, T118, half60_in_ga(s(T117), T120))
U19_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U20_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(0)))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → U21_ggg(T117, T118, even36_in_gg(s(T117), true))
U21_ggg(T117, T118, even36_out_gg(s(T117), true)) → U22_ggg(T117, T118, half60_in_ga(s(T117), T120))
U22_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U23_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(0))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U24_ggg(T117, T118, even36_in_gg(s(T117), true))
U24_ggg(T117, T118, even36_out_gg(s(T117), true)) → U25_ggg(T117, T118, half60_in_ga(s(T117), T120))
U25_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U26_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(0)))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U27_ggg(T117, T118, even36_in_gg(s(T117), true))
U27_ggg(T117, T118, even36_out_gg(s(T117), true)) → U28_ggg(T117, T118, half60_in_ga(s(T117), T120))
U28_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U29_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(0))))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U30_ggg(T117, T118, even36_in_gg(s(T117), true))
U30_ggg(T117, T118, even36_out_gg(s(T117), true)) → U31_ggg(T117, T118, half60_in_ga(s(T117), T120))
U31_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U32_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(s(0)))))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → U33_ggg(T117, T118, X411, even36_in_gg(s(T117), true))
U33_ggg(T117, T118, X411, even36_out_gg(s(T117), true)) → U34_ggg(T117, T118, X411, half60_in_ga(s(T117), T120))
U34_ggg(T117, T118, X411, half60_out_ga(s(T117), T120)) → U35_ggg(T117, T118, X411, times69_in_gga(T120, T118, s(s(s(s(s(s(s(s(T150))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(0))))) → U15_gga(T117, T118, even36_in_gg(s(T117), true))
U15_gga(T117, T118, even36_out_gg(s(T117), true)) → U16_gga(T117, T118, half60_in_ga(s(T117), T120))
U16_gga(T117, T118, half60_out_ga(s(T117), T120)) → U17_gga(T117, T118, times69_in_ggg(T120, T118, s(s(0))))
times69_in_ggg(s(T171), T172, X455) → U37_ggg(T171, T172, X455, even36_in_gg(s(T171), false))
U37_ggg(T171, T172, X455, even36_out_gg(s(T171), false)) → U38_ggg(T171, T172, X455, times69_in_gga(T171, T172, X454))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_gga(T117, T118, even36_in_gg(s(T117), true))
U18_gga(T117, T118, even36_out_gg(s(T117), true)) → U19_gga(T117, T118, half60_in_ga(s(T117), T120))
U19_gga(T117, T118, half60_out_ga(s(T117), T120)) → U20_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(0)))))
U20_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(0))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(0)))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → U21_gga(T117, T118, even36_in_gg(s(T117), true))
U21_gga(T117, T118, even36_out_gg(s(T117), true)) → U22_gga(T117, T118, half60_in_ga(s(T117), T120))
U22_gga(T117, T118, half60_out_ga(s(T117), T120)) → U23_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(0))))))
U23_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(0)))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(0)))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U24_gga(T117, T118, even36_in_gg(s(T117), true))
U24_gga(T117, T118, even36_out_gg(s(T117), true)) → U25_gga(T117, T118, half60_in_ga(s(T117), T120))
U25_gga(T117, T118, half60_out_ga(s(T117), T120)) → U26_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(0)))))))
U26_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(0))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0)))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U27_gga(T117, T118, even36_in_gg(s(T117), true))
U27_gga(T117, T118, even36_out_gg(s(T117), true)) → U28_gga(T117, T118, half60_in_ga(s(T117), T120))
U28_gga(T117, T118, half60_out_ga(s(T117), T120)) → U29_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(0))))))))
U29_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(0)))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U30_gga(T117, T118, even36_in_gg(s(T117), true))
U30_gga(T117, T118, even36_out_gg(s(T117), true)) → U31_gga(T117, T118, half60_in_ga(s(T117), T120))
U31_gga(T117, T118, half60_out_ga(s(T117), T120)) → U32_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(s(0)))))))))
U32_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(s(0))))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → U33_gga(T117, T118, X411, even36_in_gg(s(T117), true))
U33_gga(T117, T118, X411, even36_out_gg(s(T117), true)) → U34_gga(T117, T118, X411, half60_in_ga(s(T117), T120))
U34_gga(T117, T118, X411, half60_out_ga(s(T117), T120)) → U35_gga(T117, T118, X411, times69_in_gga(T120, T118, s(s(s(s(s(s(s(s(T150))))))))))
times69_in_gga(s(T171), T172, X455) → U37_gga(T171, T172, X455, even36_in_gg(s(T171), false))
U37_gga(T171, T172, X455, even36_out_gg(s(T171), false)) → U38_gga(T171, T172, X455, times69_in_gga(T171, T172, X454))
U38_gga(T171, T172, X455, times69_out_gga(T171, T172, X454)) → times69_out_gga(s(T171), T172, X455)
U37_gga(T171, T172, X455, even36_out_gg(s(T171), false)) → U39_gga(T171, T172, X455, times69_in_gga(T171, T172, T175))
U39_gga(T171, T172, X455, times69_out_gga(T171, T172, T175)) → U40_gga(T171, T172, X455, plus166_in_gaa(T172, T175, X455))
plus166_in_gaa(0, T184, T184) → plus166_out_gaa(0, T184, T184)
plus166_in_gaa(s(T189), T190, s(X482)) → U42_gaa(T189, T190, X482, plus166_in_gaa(T189, T190, X482))
U42_gaa(T189, T190, X482, plus166_out_gaa(T189, T190, X482)) → plus166_out_gaa(s(T189), T190, s(X482))
U40_gga(T171, T172, X455, plus166_out_gaa(T172, T175, X455)) → times69_out_gga(s(T171), T172, X455)
U35_gga(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → U36_gga(T117, T118, X411, plus154_in_aaa(T150, s(s(s(s(s(s(s(T150))))))), X411))
plus154_in_aaa(0, T158, s(T158)) → plus154_out_aaa(0, T158, s(T158))
plus154_in_aaa(s(T163), T164, s(X436)) → U41_aaa(T163, T164, X436, plus154_in_aaa(T163, T164, X436))
U41_aaa(T163, T164, X436, plus154_out_aaa(T163, T164, X436)) → plus154_out_aaa(s(T163), T164, s(X436))
U36_gga(T117, T118, X411, plus154_out_aaa(T150, s(s(s(s(s(s(s(T150))))))), X411)) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(X411)))))))))
U38_ggg(T171, T172, X455, times69_out_gga(T171, T172, X454)) → times69_out_ggg(s(T171), T172, X455)
U37_ggg(T171, T172, X455, even36_out_gg(s(T171), false)) → U39_ggg(T171, T172, X455, times69_in_gga(T171, T172, T175))
U39_ggg(T171, T172, X455, times69_out_gga(T171, T172, T175)) → U40_ggg(T171, T172, X455, plus166_in_gag(T172, T175, X455))
plus166_in_gag(0, T184, T184) → plus166_out_gag(0, T184, T184)
plus166_in_gag(s(T189), T190, s(X482)) → U42_gag(T189, T190, X482, plus166_in_gag(T189, T190, X482))
U42_gag(T189, T190, X482, plus166_out_gag(T189, T190, X482)) → plus166_out_gag(s(T189), T190, s(X482))
U40_ggg(T171, T172, X455, plus166_out_gag(T172, T175, X455)) → times69_out_ggg(s(T171), T172, X455)
U17_gga(T117, T118, times69_out_ggg(T120, T118, s(s(0)))) → times69_out_gga(s(T117), T118, s(s(s(s(0)))))
U35_ggg(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → U36_ggg(T117, T118, X411, plus154_in_aag(T150, s(s(s(s(s(s(s(T150))))))), X411))
plus154_in_aag(0, T158, s(T158)) → plus154_out_aag(0, T158, s(T158))
plus154_in_aag(s(T163), T164, s(X436)) → U41_aag(T163, T164, X436, plus154_in_aag(T163, T164, X436))
U41_aag(T163, T164, X436, plus154_out_aag(T163, T164, X436)) → plus154_out_aag(s(T163), T164, s(X436))
U36_ggg(T117, T118, X411, plus154_out_aag(T150, s(s(s(s(s(s(s(T150))))))), X411)) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(X411)))))))))
U32_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(s(0))))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
U29_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(0)))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
U26_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(0))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0)))))))))))
U23_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(0)))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(0)))))))))
U20_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(0))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(0)))))))
U17_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(0)))) → times69_out_ggg(s(T117), T118, s(s(s(s(0)))))
U14_ggg(T117, T118, times69_out_ggg(T120, T118, s(0))) → times69_out_ggg(s(T117), T118, s(s(0)))
U11_ggg(T117, T118, times69_out_ggg(T120, T118, 0)) → times69_out_ggg(s(T117), T118, 0)
U14_gga(T117, T118, times69_out_ggg(T120, T118, s(0))) → times69_out_gga(s(T117), T118, s(s(0)))
U8_ggg(T117, T118, X217, times69_out_gga(T120, T118, X216)) → times69_out_ggg(s(T117), T118, X217)
U11_gga(T117, T118, times69_out_ggg(T120, T118, 0)) → times69_out_gga(s(T117), T118, 0)
U8_gga(T117, T118, X217, times69_out_gga(T120, T118, X216)) → times69_out_gga(s(T117), T118, X217)
U51_gga(T77, T78, T80, times69_out_gga(T82, T78, X129)) → times1_out_gga(s(s(T77)), T78, T80)
times1_in_gga(s(s(T77)), T78, 0) → U52_gga(T77, T78, even36_in_gg(T77, true))
U52_gga(T77, T78, even36_out_gg(T77, true)) → U53_gga(T77, T78, half56_in_ga(T77, T82))
U53_gga(T77, T78, half56_out_ga(T77, T82)) → U54_gga(T77, T78, times69_in_ggg(T82, T78, 0))
U54_gga(T77, T78, times69_out_ggg(T82, T78, 0)) → times1_out_gga(s(s(T77)), T78, 0)
times1_in_gga(s(s(T77)), T78, s(s(0))) → U55_gga(T77, T78, even36_in_gg(T77, true))
U55_gga(T77, T78, even36_out_gg(T77, true)) → U56_gga(T77, T78, half56_in_ga(T77, T82))
U56_gga(T77, T78, half56_out_ga(T77, T82)) → U57_gga(T77, T78, times69_in_ggg(T82, T78, s(0)))
U57_gga(T77, T78, times69_out_ggg(T82, T78, s(0))) → times1_out_gga(s(s(T77)), T78, s(s(0)))
times1_in_gga(s(s(T77)), T78, s(s(s(s(0))))) → U58_gga(T77, T78, even36_in_gg(T77, true))
U58_gga(T77, T78, even36_out_gg(T77, true)) → U59_gga(T77, T78, half56_in_ga(T77, T82))
U59_gga(T77, T78, half56_out_ga(T77, T82)) → U60_gga(T77, T78, times69_in_ggg(T82, T78, s(s(0))))
U60_gga(T77, T78, times69_out_ggg(T82, T78, s(s(0)))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(0)))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(0))))))) → U61_gga(T77, T78, even36_in_gg(T77, true))
U61_gga(T77, T78, even36_out_gg(T77, true)) → U62_gga(T77, T78, half56_in_ga(T77, T82))
U62_gga(T77, T78, half56_out_ga(T77, T82)) → U63_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(0)))))
U63_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(0))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(0)))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(0))))))))) → U64_gga(T77, T78, even36_in_gg(T77, true))
U64_gga(T77, T78, even36_out_gg(T77, true)) → U65_gga(T77, T78, half56_in_ga(T77, T82))
U65_gga(T77, T78, half56_out_ga(T77, T82)) → U66_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(0))))))
U66_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(0)))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(0)))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U67_gga(T77, T78, even36_in_gg(T77, true))
U67_gga(T77, T78, even36_out_gg(T77, true)) → U68_gga(T77, T78, half56_in_ga(T77, T82))
U68_gga(T77, T78, half56_out_ga(T77, T82)) → U69_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(0)))))))
U69_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(0))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(0)))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U70_gga(T77, T78, even36_in_gg(T77, true))
U70_gga(T77, T78, even36_out_gg(T77, true)) → U71_gga(T77, T78, half56_in_ga(T77, T82))
U71_gga(T77, T78, half56_out_ga(T77, T82)) → U72_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(s(0))))))))
U72_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(s(0)))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U73_gga(T77, T78, even36_in_gg(T77, true))
U73_gga(T77, T78, even36_out_gg(T77, true)) → U74_gga(T77, T78, half56_in_ga(T77, T82))
U74_gga(T77, T78, half56_out_ga(T77, T82)) → U75_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(s(s(0)))))))))
U75_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(s(s(0))))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(T248))))))))) → U76_gga(T77, T78, T248, even36_in_gg(T77, true))
U76_gga(T77, T78, T248, even36_out_gg(T77, true)) → U77_gga(T77, T78, T248, half56_in_ga(T77, T82))
U77_gga(T77, T78, T248, half56_out_ga(T77, T82)) → U78_gga(T77, T78, T248, times69_in_gga(T82, T78, s(s(s(s(s(s(s(s(T246))))))))))
U78_gga(T77, T78, T248, times69_out_gga(T82, T78, s(s(s(s(s(s(s(s(T246)))))))))) → U79_gga(T77, T78, T248, plus19_in_aaa(T246, s(s(s(s(s(s(s(s(T246)))))))), T248))
plus19_in_aaa(0, T42, T42) → plus19_out_aaa(0, T42, T42)
plus19_in_aaa(s(T49), T50, s(T52)) → U1_aaa(T49, T50, T52, plus19_in_aaa(T49, T50, T52))
U1_aaa(T49, T50, T52, plus19_out_aaa(T49, T50, T52)) → plus19_out_aaa(s(T49), T50, s(T52))
U79_gga(T77, T78, T248, plus19_out_aaa(T246, s(s(s(s(s(s(s(s(T246)))))))), T248)) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(T248)))))))))
times1_in_gga(s(s(T258)), T259, T261) → U80_gga(T258, T259, T261, even36_in_gg(T258, false))
U80_gga(T258, T259, T261, even36_out_gg(T258, false)) → U81_gga(T258, T259, T261, times69_in_gga(s(T258), T259, X662))
U81_gga(T258, T259, T261, times69_out_gga(s(T258), T259, X662)) → times1_out_gga(s(s(T258)), T259, T261)
U80_gga(T258, T259, T261, even36_out_gg(T258, false)) → U82_gga(T258, T259, T261, times69_in_gga(s(T258), T259, T264))
U82_gga(T258, T259, T261, times69_out_gga(s(T258), T259, T264)) → U83_gga(T258, T259, T261, plus19_in_gaa(T259, T264, T261))
plus19_in_gaa(0, T42, T42) → plus19_out_gaa(0, T42, T42)
plus19_in_gaa(s(T49), T50, s(T52)) → U1_gaa(T49, T50, T52, plus19_in_gaa(T49, T50, T52))
U1_gaa(T49, T50, T52, plus19_out_gaa(T49, T50, T52)) → plus19_out_gaa(s(T49), T50, s(T52))
U83_gga(T258, T259, T261, plus19_out_gaa(T259, T264, T261)) → times1_out_gga(s(s(T258)), T259, T261)

The argument filtering Pi contains the following mapping:
times1_in_gga(x1, x2, x3)  =  times1_in_gga(x1, x2)
0  =  0
times1_out_gga(x1, x2, x3)  =  times1_out_gga
s(x1)  =  s(x1)
U44_gga(x1, x2, x3)  =  U44_gga(x3)
times18_in_ga(x1, x2)  =  times18_in_ga(x1)
times18_out_ga(x1, x2)  =  times18_out_ga(x2)
U45_gga(x1, x2, x3)  =  U45_gga(x1, x3)
U46_gga(x1, x2, x3)  =  U46_gga(x3)
plus19_in_gga(x1, x2, x3)  =  plus19_in_gga(x1, x2)
plus19_out_gga(x1, x2, x3)  =  plus19_out_gga(x3)
U1_gga(x1, x2, x3, x4)  =  U1_gga(x4)
U47_gga(x1, x2, x3, x4)  =  U47_gga(x4)
even36_in_ga(x1, x2)  =  even36_in_ga(x1)
even36_out_ga(x1, x2)  =  even36_out_ga(x2)
U2_ga(x1, x2, x3)  =  U2_ga(x3)
U48_gga(x1, x2, x3, x4)  =  U48_gga(x1, x2, x4)
even36_in_gg(x1, x2)  =  even36_in_gg(x1, x2)
true  =  true
even36_out_gg(x1, x2)  =  even36_out_gg
false  =  false
U2_gg(x1, x2, x3)  =  U2_gg(x3)
U49_gga(x1, x2, x3, x4)  =  U49_gga(x4)
half56_in_ga(x1, x2)  =  half56_in_ga(x1)
U43_ga(x1, x2, x3)  =  U43_ga(x3)
half60_in_ga(x1, x2)  =  half60_in_ga(x1)
half60_out_ga(x1, x2)  =  half60_out_ga(x2)
U3_ga(x1, x2, x3)  =  U3_ga(x3)
half56_out_ga(x1, x2)  =  half56_out_ga(x2)
U50_gga(x1, x2, x3, x4)  =  U50_gga(x2, x4)
U51_gga(x1, x2, x3, x4)  =  U51_gga(x4)
times69_in_gga(x1, x2, x3)  =  times69_in_gga(x1, x2)
times69_out_gga(x1, x2, x3)  =  times69_out_gga
U4_gga(x1, x2, x3, x4)  =  U4_gga(x4)
U5_gga(x1, x2, x3, x4)  =  U5_gga(x1, x2, x4)
U6_gga(x1, x2, x3, x4)  =  U6_gga(x4)
U7_gga(x1, x2, x3, x4)  =  U7_gga(x2, x4)
U8_gga(x1, x2, x3, x4)  =  U8_gga(x4)
U9_gga(x1, x2, x3)  =  U9_gga(x1, x2, x3)
U10_gga(x1, x2, x3)  =  U10_gga(x2, x3)
U11_gga(x1, x2, x3)  =  U11_gga(x3)
times69_in_ggg(x1, x2, x3)  =  times69_in_ggg(x1, x2, x3)
times69_out_ggg(x1, x2, x3)  =  times69_out_ggg
U4_ggg(x1, x2, x3, x4)  =  U4_ggg(x4)
U5_ggg(x1, x2, x3, x4)  =  U5_ggg(x1, x2, x4)
U6_ggg(x1, x2, x3, x4)  =  U6_ggg(x4)
U7_ggg(x1, x2, x3, x4)  =  U7_ggg(x2, x4)
U8_ggg(x1, x2, x3, x4)  =  U8_ggg(x4)
U12_gga(x1, x2, x3)  =  U12_gga(x1, x2, x3)
U13_gga(x1, x2, x3)  =  U13_gga(x2, x3)
U14_gga(x1, x2, x3)  =  U14_gga(x3)
U9_ggg(x1, x2, x3)  =  U9_ggg(x1, x2, x3)
U10_ggg(x1, x2, x3)  =  U10_ggg(x2, x3)
U11_ggg(x1, x2, x3)  =  U11_ggg(x3)
U12_ggg(x1, x2, x3)  =  U12_ggg(x1, x2, x3)
U13_ggg(x1, x2, x3)  =  U13_ggg(x2, x3)
U14_ggg(x1, x2, x3)  =  U14_ggg(x3)
U15_ggg(x1, x2, x3)  =  U15_ggg(x1, x2, x3)
U16_ggg(x1, x2, x3)  =  U16_ggg(x2, x3)
U17_ggg(x1, x2, x3)  =  U17_ggg(x3)
U18_ggg(x1, x2, x3)  =  U18_ggg(x1, x2, x3)
U19_ggg(x1, x2, x3)  =  U19_ggg(x2, x3)
U20_ggg(x1, x2, x3)  =  U20_ggg(x3)
U21_ggg(x1, x2, x3)  =  U21_ggg(x1, x2, x3)
U22_ggg(x1, x2, x3)  =  U22_ggg(x2, x3)
U23_ggg(x1, x2, x3)  =  U23_ggg(x3)
U24_ggg(x1, x2, x3)  =  U24_ggg(x1, x2, x3)
U25_ggg(x1, x2, x3)  =  U25_ggg(x2, x3)
U26_ggg(x1, x2, x3)  =  U26_ggg(x3)
U27_ggg(x1, x2, x3)  =  U27_ggg(x1, x2, x3)
U28_ggg(x1, x2, x3)  =  U28_ggg(x2, x3)
U29_ggg(x1, x2, x3)  =  U29_ggg(x3)
U30_ggg(x1, x2, x3)  =  U30_ggg(x1, x2, x3)
U31_ggg(x1, x2, x3)  =  U31_ggg(x2, x3)
U32_ggg(x1, x2, x3)  =  U32_ggg(x3)
U33_ggg(x1, x2, x3, x4)  =  U33_ggg(x1, x2, x3, x4)
U34_ggg(x1, x2, x3, x4)  =  U34_ggg(x2, x3, x4)
U35_ggg(x1, x2, x3, x4)  =  U35_ggg(x3, x4)
U15_gga(x1, x2, x3)  =  U15_gga(x1, x2, x3)
U16_gga(x1, x2, x3)  =  U16_gga(x2, x3)
U17_gga(x1, x2, x3)  =  U17_gga(x3)
U37_ggg(x1, x2, x3, x4)  =  U37_ggg(x1, x2, x3, x4)
U38_ggg(x1, x2, x3, x4)  =  U38_ggg(x4)
U18_gga(x1, x2, x3)  =  U18_gga(x1, x2, x3)
U19_gga(x1, x2, x3)  =  U19_gga(x2, x3)
U20_gga(x1, x2, x3)  =  U20_gga(x3)
U21_gga(x1, x2, x3)  =  U21_gga(x1, x2, x3)
U22_gga(x1, x2, x3)  =  U22_gga(x2, x3)
U23_gga(x1, x2, x3)  =  U23_gga(x3)
U24_gga(x1, x2, x3)  =  U24_gga(x1, x2, x3)
U25_gga(x1, x2, x3)  =  U25_gga(x2, x3)
U26_gga(x1, x2, x3)  =  U26_gga(x3)
U27_gga(x1, x2, x3)  =  U27_gga(x1, x2, x3)
U28_gga(x1, x2, x3)  =  U28_gga(x2, x3)
U29_gga(x1, x2, x3)  =  U29_gga(x3)
U30_gga(x1, x2, x3)  =  U30_gga(x1, x2, x3)
U31_gga(x1, x2, x3)  =  U31_gga(x2, x3)
U32_gga(x1, x2, x3)  =  U32_gga(x3)
U33_gga(x1, x2, x3, x4)  =  U33_gga(x1, x2, x4)
U34_gga(x1, x2, x3, x4)  =  U34_gga(x2, x4)
U35_gga(x1, x2, x3, x4)  =  U35_gga(x4)
U37_gga(x1, x2, x3, x4)  =  U37_gga(x1, x2, x4)
U38_gga(x1, x2, x3, x4)  =  U38_gga(x4)
U39_gga(x1, x2, x3, x4)  =  U39_gga(x2, x4)
U40_gga(x1, x2, x3, x4)  =  U40_gga(x4)
plus166_in_gaa(x1, x2, x3)  =  plus166_in_gaa(x1)
plus166_out_gaa(x1, x2, x3)  =  plus166_out_gaa
U42_gaa(x1, x2, x3, x4)  =  U42_gaa(x4)
U36_gga(x1, x2, x3, x4)  =  U36_gga(x4)
plus154_in_aaa(x1, x2, x3)  =  plus154_in_aaa
plus154_out_aaa(x1, x2, x3)  =  plus154_out_aaa(x1)
U41_aaa(x1, x2, x3, x4)  =  U41_aaa(x4)
U39_ggg(x1, x2, x3, x4)  =  U39_ggg(x2, x3, x4)
U40_ggg(x1, x2, x3, x4)  =  U40_ggg(x4)
plus166_in_gag(x1, x2, x3)  =  plus166_in_gag(x1, x3)
plus166_out_gag(x1, x2, x3)  =  plus166_out_gag(x2)
U42_gag(x1, x2, x3, x4)  =  U42_gag(x4)
U36_ggg(x1, x2, x3, x4)  =  U36_ggg(x4)
plus154_in_aag(x1, x2, x3)  =  plus154_in_aag(x3)
plus154_out_aag(x1, x2, x3)  =  plus154_out_aag(x1, x2)
U41_aag(x1, x2, x3, x4)  =  U41_aag(x4)
U52_gga(x1, x2, x3)  =  U52_gga(x1, x2, x3)
U53_gga(x1, x2, x3)  =  U53_gga(x2, x3)
U54_gga(x1, x2, x3)  =  U54_gga(x3)
U55_gga(x1, x2, x3)  =  U55_gga(x1, x2, x3)
U56_gga(x1, x2, x3)  =  U56_gga(x2, x3)
U57_gga(x1, x2, x3)  =  U57_gga(x3)
U58_gga(x1, x2, x3)  =  U58_gga(x1, x2, x3)
U59_gga(x1, x2, x3)  =  U59_gga(x2, x3)
U60_gga(x1, x2, x3)  =  U60_gga(x3)
U61_gga(x1, x2, x3)  =  U61_gga(x1, x2, x3)
U62_gga(x1, x2, x3)  =  U62_gga(x2, x3)
U63_gga(x1, x2, x3)  =  U63_gga(x3)
U64_gga(x1, x2, x3)  =  U64_gga(x1, x2, x3)
U65_gga(x1, x2, x3)  =  U65_gga(x2, x3)
U66_gga(x1, x2, x3)  =  U66_gga(x3)
U67_gga(x1, x2, x3)  =  U67_gga(x1, x2, x3)
U68_gga(x1, x2, x3)  =  U68_gga(x2, x3)
U69_gga(x1, x2, x3)  =  U69_gga(x3)
U70_gga(x1, x2, x3)  =  U70_gga(x1, x2, x3)
U71_gga(x1, x2, x3)  =  U71_gga(x2, x3)
U72_gga(x1, x2, x3)  =  U72_gga(x3)
U73_gga(x1, x2, x3)  =  U73_gga(x1, x2, x3)
U74_gga(x1, x2, x3)  =  U74_gga(x2, x3)
U75_gga(x1, x2, x3)  =  U75_gga(x3)
U76_gga(x1, x2, x3, x4)  =  U76_gga(x1, x2, x4)
U77_gga(x1, x2, x3, x4)  =  U77_gga(x2, x4)
U78_gga(x1, x2, x3, x4)  =  U78_gga(x4)
U79_gga(x1, x2, x3, x4)  =  U79_gga(x4)
plus19_in_aaa(x1, x2, x3)  =  plus19_in_aaa
plus19_out_aaa(x1, x2, x3)  =  plus19_out_aaa(x1)
U1_aaa(x1, x2, x3, x4)  =  U1_aaa(x4)
U80_gga(x1, x2, x3, x4)  =  U80_gga(x1, x2, x4)
U81_gga(x1, x2, x3, x4)  =  U81_gga(x4)
U82_gga(x1, x2, x3, x4)  =  U82_gga(x2, x4)
U83_gga(x1, x2, x3, x4)  =  U83_gga(x4)
plus19_in_gaa(x1, x2, x3)  =  plus19_in_gaa(x1)
plus19_out_gaa(x1, x2, x3)  =  plus19_out_gaa
U1_gaa(x1, x2, x3, x4)  =  U1_gaa(x4)
TIMES1_IN_GGA(x1, x2, x3)  =  TIMES1_IN_GGA(x1, x2)
U44_GGA(x1, x2, x3)  =  U44_GGA(x3)
TIMES18_IN_GA(x1, x2)  =  TIMES18_IN_GA(x1)
U45_GGA(x1, x2, x3)  =  U45_GGA(x1, x3)
U46_GGA(x1, x2, x3)  =  U46_GGA(x3)
PLUS19_IN_GGA(x1, x2, x3)  =  PLUS19_IN_GGA(x1, x2)
U1_GGA(x1, x2, x3, x4)  =  U1_GGA(x4)
U47_GGA(x1, x2, x3, x4)  =  U47_GGA(x4)
EVEN36_IN_GA(x1, x2)  =  EVEN36_IN_GA(x1)
U2_GA(x1, x2, x3)  =  U2_GA(x3)
U48_GGA(x1, x2, x3, x4)  =  U48_GGA(x1, x2, x4)
EVEN36_IN_GG(x1, x2)  =  EVEN36_IN_GG(x1, x2)
U2_GG(x1, x2, x3)  =  U2_GG(x3)
U49_GGA(x1, x2, x3, x4)  =  U49_GGA(x4)
HALF56_IN_GA(x1, x2)  =  HALF56_IN_GA(x1)
U43_GA(x1, x2, x3)  =  U43_GA(x3)
HALF60_IN_GA(x1, x2)  =  HALF60_IN_GA(x1)
U3_GA(x1, x2, x3)  =  U3_GA(x3)
U50_GGA(x1, x2, x3, x4)  =  U50_GGA(x2, x4)
U51_GGA(x1, x2, x3, x4)  =  U51_GGA(x4)
TIMES69_IN_GGA(x1, x2, x3)  =  TIMES69_IN_GGA(x1, x2)
U4_GGA(x1, x2, x3, x4)  =  U4_GGA(x4)
U5_GGA(x1, x2, x3, x4)  =  U5_GGA(x1, x2, x4)
U6_GGA(x1, x2, x3, x4)  =  U6_GGA(x4)
U7_GGA(x1, x2, x3, x4)  =  U7_GGA(x2, x4)
U8_GGA(x1, x2, x3, x4)  =  U8_GGA(x4)
U9_GGA(x1, x2, x3)  =  U9_GGA(x1, x2, x3)
U10_GGA(x1, x2, x3)  =  U10_GGA(x2, x3)
U11_GGA(x1, x2, x3)  =  U11_GGA(x3)
TIMES69_IN_GGG(x1, x2, x3)  =  TIMES69_IN_GGG(x1, x2, x3)
U4_GGG(x1, x2, x3, x4)  =  U4_GGG(x4)
U5_GGG(x1, x2, x3, x4)  =  U5_GGG(x1, x2, x4)
U6_GGG(x1, x2, x3, x4)  =  U6_GGG(x4)
U7_GGG(x1, x2, x3, x4)  =  U7_GGG(x2, x4)
U8_GGG(x1, x2, x3, x4)  =  U8_GGG(x4)
U12_GGA(x1, x2, x3)  =  U12_GGA(x1, x2, x3)
U13_GGA(x1, x2, x3)  =  U13_GGA(x2, x3)
U14_GGA(x1, x2, x3)  =  U14_GGA(x3)
U9_GGG(x1, x2, x3)  =  U9_GGG(x1, x2, x3)
U10_GGG(x1, x2, x3)  =  U10_GGG(x2, x3)
U11_GGG(x1, x2, x3)  =  U11_GGG(x3)
U12_GGG(x1, x2, x3)  =  U12_GGG(x1, x2, x3)
U13_GGG(x1, x2, x3)  =  U13_GGG(x2, x3)
U14_GGG(x1, x2, x3)  =  U14_GGG(x3)
U15_GGG(x1, x2, x3)  =  U15_GGG(x1, x2, x3)
U16_GGG(x1, x2, x3)  =  U16_GGG(x2, x3)
U17_GGG(x1, x2, x3)  =  U17_GGG(x3)
U18_GGG(x1, x2, x3)  =  U18_GGG(x1, x2, x3)
U19_GGG(x1, x2, x3)  =  U19_GGG(x2, x3)
U20_GGG(x1, x2, x3)  =  U20_GGG(x3)
U21_GGG(x1, x2, x3)  =  U21_GGG(x1, x2, x3)
U22_GGG(x1, x2, x3)  =  U22_GGG(x2, x3)
U23_GGG(x1, x2, x3)  =  U23_GGG(x3)
U24_GGG(x1, x2, x3)  =  U24_GGG(x1, x2, x3)
U25_GGG(x1, x2, x3)  =  U25_GGG(x2, x3)
U26_GGG(x1, x2, x3)  =  U26_GGG(x3)
U27_GGG(x1, x2, x3)  =  U27_GGG(x1, x2, x3)
U28_GGG(x1, x2, x3)  =  U28_GGG(x2, x3)
U29_GGG(x1, x2, x3)  =  U29_GGG(x3)
U30_GGG(x1, x2, x3)  =  U30_GGG(x1, x2, x3)
U31_GGG(x1, x2, x3)  =  U31_GGG(x2, x3)
U32_GGG(x1, x2, x3)  =  U32_GGG(x3)
U33_GGG(x1, x2, x3, x4)  =  U33_GGG(x1, x2, x3, x4)
U34_GGG(x1, x2, x3, x4)  =  U34_GGG(x2, x3, x4)
U35_GGG(x1, x2, x3, x4)  =  U35_GGG(x3, x4)
U15_GGA(x1, x2, x3)  =  U15_GGA(x1, x2, x3)
U16_GGA(x1, x2, x3)  =  U16_GGA(x2, x3)
U17_GGA(x1, x2, x3)  =  U17_GGA(x3)
U37_GGG(x1, x2, x3, x4)  =  U37_GGG(x1, x2, x3, x4)
U38_GGG(x1, x2, x3, x4)  =  U38_GGG(x4)
U18_GGA(x1, x2, x3)  =  U18_GGA(x1, x2, x3)
U19_GGA(x1, x2, x3)  =  U19_GGA(x2, x3)
U20_GGA(x1, x2, x3)  =  U20_GGA(x3)
U21_GGA(x1, x2, x3)  =  U21_GGA(x1, x2, x3)
U22_GGA(x1, x2, x3)  =  U22_GGA(x2, x3)
U23_GGA(x1, x2, x3)  =  U23_GGA(x3)
U24_GGA(x1, x2, x3)  =  U24_GGA(x1, x2, x3)
U25_GGA(x1, x2, x3)  =  U25_GGA(x2, x3)
U26_GGA(x1, x2, x3)  =  U26_GGA(x3)
U27_GGA(x1, x2, x3)  =  U27_GGA(x1, x2, x3)
U28_GGA(x1, x2, x3)  =  U28_GGA(x2, x3)
U29_GGA(x1, x2, x3)  =  U29_GGA(x3)
U30_GGA(x1, x2, x3)  =  U30_GGA(x1, x2, x3)
U31_GGA(x1, x2, x3)  =  U31_GGA(x2, x3)
U32_GGA(x1, x2, x3)  =  U32_GGA(x3)
U33_GGA(x1, x2, x3, x4)  =  U33_GGA(x1, x2, x4)
U34_GGA(x1, x2, x3, x4)  =  U34_GGA(x2, x4)
U35_GGA(x1, x2, x3, x4)  =  U35_GGA(x4)
U37_GGA(x1, x2, x3, x4)  =  U37_GGA(x1, x2, x4)
U38_GGA(x1, x2, x3, x4)  =  U38_GGA(x4)
U39_GGA(x1, x2, x3, x4)  =  U39_GGA(x2, x4)
U40_GGA(x1, x2, x3, x4)  =  U40_GGA(x4)
PLUS166_IN_GAA(x1, x2, x3)  =  PLUS166_IN_GAA(x1)
U42_GAA(x1, x2, x3, x4)  =  U42_GAA(x4)
U36_GGA(x1, x2, x3, x4)  =  U36_GGA(x4)
PLUS154_IN_AAA(x1, x2, x3)  =  PLUS154_IN_AAA
U41_AAA(x1, x2, x3, x4)  =  U41_AAA(x4)
U39_GGG(x1, x2, x3, x4)  =  U39_GGG(x2, x3, x4)
U40_GGG(x1, x2, x3, x4)  =  U40_GGG(x4)
PLUS166_IN_GAG(x1, x2, x3)  =  PLUS166_IN_GAG(x1, x3)
U42_GAG(x1, x2, x3, x4)  =  U42_GAG(x4)
U36_GGG(x1, x2, x3, x4)  =  U36_GGG(x4)
PLUS154_IN_AAG(x1, x2, x3)  =  PLUS154_IN_AAG(x3)
U41_AAG(x1, x2, x3, x4)  =  U41_AAG(x4)
U52_GGA(x1, x2, x3)  =  U52_GGA(x1, x2, x3)
U53_GGA(x1, x2, x3)  =  U53_GGA(x2, x3)
U54_GGA(x1, x2, x3)  =  U54_GGA(x3)
U55_GGA(x1, x2, x3)  =  U55_GGA(x1, x2, x3)
U56_GGA(x1, x2, x3)  =  U56_GGA(x2, x3)
U57_GGA(x1, x2, x3)  =  U57_GGA(x3)
U58_GGA(x1, x2, x3)  =  U58_GGA(x1, x2, x3)
U59_GGA(x1, x2, x3)  =  U59_GGA(x2, x3)
U60_GGA(x1, x2, x3)  =  U60_GGA(x3)
U61_GGA(x1, x2, x3)  =  U61_GGA(x1, x2, x3)
U62_GGA(x1, x2, x3)  =  U62_GGA(x2, x3)
U63_GGA(x1, x2, x3)  =  U63_GGA(x3)
U64_GGA(x1, x2, x3)  =  U64_GGA(x1, x2, x3)
U65_GGA(x1, x2, x3)  =  U65_GGA(x2, x3)
U66_GGA(x1, x2, x3)  =  U66_GGA(x3)
U67_GGA(x1, x2, x3)  =  U67_GGA(x1, x2, x3)
U68_GGA(x1, x2, x3)  =  U68_GGA(x2, x3)
U69_GGA(x1, x2, x3)  =  U69_GGA(x3)
U70_GGA(x1, x2, x3)  =  U70_GGA(x1, x2, x3)
U71_GGA(x1, x2, x3)  =  U71_GGA(x2, x3)
U72_GGA(x1, x2, x3)  =  U72_GGA(x3)
U73_GGA(x1, x2, x3)  =  U73_GGA(x1, x2, x3)
U74_GGA(x1, x2, x3)  =  U74_GGA(x2, x3)
U75_GGA(x1, x2, x3)  =  U75_GGA(x3)
U76_GGA(x1, x2, x3, x4)  =  U76_GGA(x1, x2, x4)
U77_GGA(x1, x2, x3, x4)  =  U77_GGA(x2, x4)
U78_GGA(x1, x2, x3, x4)  =  U78_GGA(x4)
U79_GGA(x1, x2, x3, x4)  =  U79_GGA(x4)
PLUS19_IN_AAA(x1, x2, x3)  =  PLUS19_IN_AAA
U1_AAA(x1, x2, x3, x4)  =  U1_AAA(x4)
U80_GGA(x1, x2, x3, x4)  =  U80_GGA(x1, x2, x4)
U81_GGA(x1, x2, x3, x4)  =  U81_GGA(x4)
U82_GGA(x1, x2, x3, x4)  =  U82_GGA(x2, x4)
U83_GGA(x1, x2, x3, x4)  =  U83_GGA(x4)
PLUS19_IN_GAA(x1, x2, x3)  =  PLUS19_IN_GAA(x1)
U1_GAA(x1, x2, x3, x4)  =  U1_GAA(x4)

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

(130) DependencyGraphProof (EQUIVALENT transformation)

The approximation of the Dependency Graph [LOPSTR] contains 11 SCCs with 184 less nodes.

(131) Complex Obligation (AND)

(132) Obligation:

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

PLUS19_IN_GAA(s(T49), T50, s(T52)) → PLUS19_IN_GAA(T49, T50, T52)

The TRS R consists of the following rules:

times1_in_gga(0, T5, 0) → times1_out_gga(0, T5, 0)
times1_in_gga(s(0), T23, T25) → U44_gga(T23, T25, times18_in_ga(T23, X45))
times18_in_ga(T35, 0) → times18_out_ga(T35, 0)
U44_gga(T23, T25, times18_out_ga(T23, X45)) → times1_out_gga(s(0), T23, T25)
times1_in_gga(s(0), T23, T25) → U45_gga(T23, T25, times18_in_ga(T23, T29))
U45_gga(T23, T25, times18_out_ga(T23, T29)) → U46_gga(T23, T25, plus19_in_gga(T23, T29, T25))
plus19_in_gga(0, T42, T42) → plus19_out_gga(0, T42, T42)
plus19_in_gga(s(T49), T50, s(T52)) → U1_gga(T49, T50, T52, plus19_in_gga(T49, T50, T52))
U1_gga(T49, T50, T52, plus19_out_gga(T49, T50, T52)) → plus19_out_gga(s(T49), T50, s(T52))
U46_gga(T23, T25, plus19_out_gga(T23, T29, T25)) → times1_out_gga(s(0), T23, T25)
times1_in_gga(s(s(T57)), T10, T12) → U47_gga(T57, T10, T12, even36_in_ga(T57, X90))
even36_in_ga(0, true) → even36_out_ga(0, true)
even36_in_ga(s(0), false) → even36_out_ga(s(0), false)
even36_in_ga(s(s(T61)), X101) → U2_ga(T61, X101, even36_in_ga(T61, X101))
U2_ga(T61, X101, even36_out_ga(T61, X101)) → even36_out_ga(s(s(T61)), X101)
U47_gga(T57, T10, T12, even36_out_ga(T57, X90)) → times1_out_gga(s(s(T57)), T10, T12)
times1_in_gga(s(s(T77)), T78, T80) → U48_gga(T77, T78, T80, even36_in_gg(T77, true))
even36_in_gg(0, true) → even36_out_gg(0, true)
even36_in_gg(s(0), false) → even36_out_gg(s(0), false)
even36_in_gg(s(s(T61)), X101) → U2_gg(T61, X101, even36_in_gg(T61, X101))
U2_gg(T61, X101, even36_out_gg(T61, X101)) → even36_out_gg(s(s(T61)), X101)
U48_gga(T77, T78, T80, even36_out_gg(T77, true)) → U49_gga(T77, T78, T80, half56_in_ga(T77, X128))
half56_in_ga(T86, s(X147)) → U43_ga(T86, X147, half60_in_ga(T86, X147))
half60_in_ga(0, 0) → half60_out_ga(0, 0)
half60_in_ga(s(s(T89)), s(X156)) → U3_ga(T89, X156, half60_in_ga(T89, X156))
U3_ga(T89, X156, half60_out_ga(T89, X156)) → half60_out_ga(s(s(T89)), s(X156))
U43_ga(T86, X147, half60_out_ga(T86, X147)) → half56_out_ga(T86, s(X147))
U49_gga(T77, T78, T80, half56_out_ga(T77, X128)) → times1_out_gga(s(s(T77)), T78, T80)
U48_gga(T77, T78, T80, even36_out_gg(T77, true)) → U50_gga(T77, T78, T80, half56_in_ga(T77, T82))
U50_gga(T77, T78, T80, half56_out_ga(T77, T82)) → U51_gga(T77, T78, T80, times69_in_gga(T82, T78, X129))
times69_in_gga(0, T99, 0) → times69_out_gga(0, T99, 0)
times69_in_gga(s(T104), T105, X182) → U4_gga(T104, T105, X182, even36_in_ga(s(T104), X181))
U4_gga(T104, T105, X182, even36_out_ga(s(T104), X181)) → times69_out_gga(s(T104), T105, X182)
times69_in_gga(s(T117), T118, X217) → U5_gga(T117, T118, X217, even36_in_gg(s(T117), true))
U5_gga(T117, T118, X217, even36_out_gg(s(T117), true)) → U6_gga(T117, T118, X217, half60_in_ga(s(T117), X215))
U6_gga(T117, T118, X217, half60_out_ga(s(T117), X215)) → times69_out_gga(s(T117), T118, X217)
U5_gga(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_gga(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_gga(T117, T118, X217, half60_out_ga(s(T117), T120)) → U8_gga(T117, T118, X217, times69_in_gga(T120, T118, X216))
times69_in_gga(s(T117), T118, 0) → U9_gga(T117, T118, even36_in_gg(s(T117), true))
U9_gga(T117, T118, even36_out_gg(s(T117), true)) → U10_gga(T117, T118, half60_in_ga(s(T117), T120))
U10_gga(T117, T118, half60_out_ga(s(T117), T120)) → U11_gga(T117, T118, times69_in_ggg(T120, T118, 0))
times69_in_ggg(0, T99, 0) → times69_out_ggg(0, T99, 0)
times69_in_ggg(s(T104), T105, X182) → U4_ggg(T104, T105, X182, even36_in_ga(s(T104), X181))
U4_ggg(T104, T105, X182, even36_out_ga(s(T104), X181)) → times69_out_ggg(s(T104), T105, X182)
times69_in_ggg(s(T117), T118, X217) → U5_ggg(T117, T118, X217, even36_in_gg(s(T117), true))
U5_ggg(T117, T118, X217, even36_out_gg(s(T117), true)) → U6_ggg(T117, T118, X217, half60_in_ga(s(T117), X215))
U6_ggg(T117, T118, X217, half60_out_ga(s(T117), X215)) → times69_out_ggg(s(T117), T118, X217)
U5_ggg(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_ggg(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_ggg(T117, T118, X217, half60_out_ga(s(T117), T120)) → U8_ggg(T117, T118, X217, times69_in_gga(T120, T118, X216))
times69_in_gga(s(T117), T118, s(s(0))) → U12_gga(T117, T118, even36_in_gg(s(T117), true))
U12_gga(T117, T118, even36_out_gg(s(T117), true)) → U13_gga(T117, T118, half60_in_ga(s(T117), T120))
U13_gga(T117, T118, half60_out_ga(s(T117), T120)) → U14_gga(T117, T118, times69_in_ggg(T120, T118, s(0)))
times69_in_ggg(s(T117), T118, 0) → U9_ggg(T117, T118, even36_in_gg(s(T117), true))
U9_ggg(T117, T118, even36_out_gg(s(T117), true)) → U10_ggg(T117, T118, half60_in_ga(s(T117), T120))
U10_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U11_ggg(T117, T118, times69_in_ggg(T120, T118, 0))
times69_in_ggg(s(T117), T118, s(s(0))) → U12_ggg(T117, T118, even36_in_gg(s(T117), true))
U12_ggg(T117, T118, even36_out_gg(s(T117), true)) → U13_ggg(T117, T118, half60_in_ga(s(T117), T120))
U13_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U14_ggg(T117, T118, times69_in_ggg(T120, T118, s(0)))
times69_in_ggg(s(T117), T118, s(s(s(s(0))))) → U15_ggg(T117, T118, even36_in_gg(s(T117), true))
U15_ggg(T117, T118, even36_out_gg(s(T117), true)) → U16_ggg(T117, T118, half60_in_ga(s(T117), T120))
U16_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U17_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(0))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_ggg(T117, T118, even36_in_gg(s(T117), true))
U18_ggg(T117, T118, even36_out_gg(s(T117), true)) → U19_ggg(T117, T118, half60_in_ga(s(T117), T120))
U19_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U20_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(0)))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → U21_ggg(T117, T118, even36_in_gg(s(T117), true))
U21_ggg(T117, T118, even36_out_gg(s(T117), true)) → U22_ggg(T117, T118, half60_in_ga(s(T117), T120))
U22_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U23_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(0))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U24_ggg(T117, T118, even36_in_gg(s(T117), true))
U24_ggg(T117, T118, even36_out_gg(s(T117), true)) → U25_ggg(T117, T118, half60_in_ga(s(T117), T120))
U25_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U26_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(0)))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U27_ggg(T117, T118, even36_in_gg(s(T117), true))
U27_ggg(T117, T118, even36_out_gg(s(T117), true)) → U28_ggg(T117, T118, half60_in_ga(s(T117), T120))
U28_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U29_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(0))))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U30_ggg(T117, T118, even36_in_gg(s(T117), true))
U30_ggg(T117, T118, even36_out_gg(s(T117), true)) → U31_ggg(T117, T118, half60_in_ga(s(T117), T120))
U31_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U32_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(s(0)))))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → U33_ggg(T117, T118, X411, even36_in_gg(s(T117), true))
U33_ggg(T117, T118, X411, even36_out_gg(s(T117), true)) → U34_ggg(T117, T118, X411, half60_in_ga(s(T117), T120))
U34_ggg(T117, T118, X411, half60_out_ga(s(T117), T120)) → U35_ggg(T117, T118, X411, times69_in_gga(T120, T118, s(s(s(s(s(s(s(s(T150))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(0))))) → U15_gga(T117, T118, even36_in_gg(s(T117), true))
U15_gga(T117, T118, even36_out_gg(s(T117), true)) → U16_gga(T117, T118, half60_in_ga(s(T117), T120))
U16_gga(T117, T118, half60_out_ga(s(T117), T120)) → U17_gga(T117, T118, times69_in_ggg(T120, T118, s(s(0))))
times69_in_ggg(s(T171), T172, X455) → U37_ggg(T171, T172, X455, even36_in_gg(s(T171), false))
U37_ggg(T171, T172, X455, even36_out_gg(s(T171), false)) → U38_ggg(T171, T172, X455, times69_in_gga(T171, T172, X454))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_gga(T117, T118, even36_in_gg(s(T117), true))
U18_gga(T117, T118, even36_out_gg(s(T117), true)) → U19_gga(T117, T118, half60_in_ga(s(T117), T120))
U19_gga(T117, T118, half60_out_ga(s(T117), T120)) → U20_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(0)))))
U20_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(0))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(0)))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → U21_gga(T117, T118, even36_in_gg(s(T117), true))
U21_gga(T117, T118, even36_out_gg(s(T117), true)) → U22_gga(T117, T118, half60_in_ga(s(T117), T120))
U22_gga(T117, T118, half60_out_ga(s(T117), T120)) → U23_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(0))))))
U23_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(0)))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(0)))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U24_gga(T117, T118, even36_in_gg(s(T117), true))
U24_gga(T117, T118, even36_out_gg(s(T117), true)) → U25_gga(T117, T118, half60_in_ga(s(T117), T120))
U25_gga(T117, T118, half60_out_ga(s(T117), T120)) → U26_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(0)))))))
U26_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(0))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0)))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U27_gga(T117, T118, even36_in_gg(s(T117), true))
U27_gga(T117, T118, even36_out_gg(s(T117), true)) → U28_gga(T117, T118, half60_in_ga(s(T117), T120))
U28_gga(T117, T118, half60_out_ga(s(T117), T120)) → U29_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(0))))))))
U29_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(0)))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U30_gga(T117, T118, even36_in_gg(s(T117), true))
U30_gga(T117, T118, even36_out_gg(s(T117), true)) → U31_gga(T117, T118, half60_in_ga(s(T117), T120))
U31_gga(T117, T118, half60_out_ga(s(T117), T120)) → U32_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(s(0)))))))))
U32_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(s(0))))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → U33_gga(T117, T118, X411, even36_in_gg(s(T117), true))
U33_gga(T117, T118, X411, even36_out_gg(s(T117), true)) → U34_gga(T117, T118, X411, half60_in_ga(s(T117), T120))
U34_gga(T117, T118, X411, half60_out_ga(s(T117), T120)) → U35_gga(T117, T118, X411, times69_in_gga(T120, T118, s(s(s(s(s(s(s(s(T150))))))))))
times69_in_gga(s(T171), T172, X455) → U37_gga(T171, T172, X455, even36_in_gg(s(T171), false))
U37_gga(T171, T172, X455, even36_out_gg(s(T171), false)) → U38_gga(T171, T172, X455, times69_in_gga(T171, T172, X454))
U38_gga(T171, T172, X455, times69_out_gga(T171, T172, X454)) → times69_out_gga(s(T171), T172, X455)
U37_gga(T171, T172, X455, even36_out_gg(s(T171), false)) → U39_gga(T171, T172, X455, times69_in_gga(T171, T172, T175))
U39_gga(T171, T172, X455, times69_out_gga(T171, T172, T175)) → U40_gga(T171, T172, X455, plus166_in_gaa(T172, T175, X455))
plus166_in_gaa(0, T184, T184) → plus166_out_gaa(0, T184, T184)
plus166_in_gaa(s(T189), T190, s(X482)) → U42_gaa(T189, T190, X482, plus166_in_gaa(T189, T190, X482))
U42_gaa(T189, T190, X482, plus166_out_gaa(T189, T190, X482)) → plus166_out_gaa(s(T189), T190, s(X482))
U40_gga(T171, T172, X455, plus166_out_gaa(T172, T175, X455)) → times69_out_gga(s(T171), T172, X455)
U35_gga(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → U36_gga(T117, T118, X411, plus154_in_aaa(T150, s(s(s(s(s(s(s(T150))))))), X411))
plus154_in_aaa(0, T158, s(T158)) → plus154_out_aaa(0, T158, s(T158))
plus154_in_aaa(s(T163), T164, s(X436)) → U41_aaa(T163, T164, X436, plus154_in_aaa(T163, T164, X436))
U41_aaa(T163, T164, X436, plus154_out_aaa(T163, T164, X436)) → plus154_out_aaa(s(T163), T164, s(X436))
U36_gga(T117, T118, X411, plus154_out_aaa(T150, s(s(s(s(s(s(s(T150))))))), X411)) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(X411)))))))))
U38_ggg(T171, T172, X455, times69_out_gga(T171, T172, X454)) → times69_out_ggg(s(T171), T172, X455)
U37_ggg(T171, T172, X455, even36_out_gg(s(T171), false)) → U39_ggg(T171, T172, X455, times69_in_gga(T171, T172, T175))
U39_ggg(T171, T172, X455, times69_out_gga(T171, T172, T175)) → U40_ggg(T171, T172, X455, plus166_in_gag(T172, T175, X455))
plus166_in_gag(0, T184, T184) → plus166_out_gag(0, T184, T184)
plus166_in_gag(s(T189), T190, s(X482)) → U42_gag(T189, T190, X482, plus166_in_gag(T189, T190, X482))
U42_gag(T189, T190, X482, plus166_out_gag(T189, T190, X482)) → plus166_out_gag(s(T189), T190, s(X482))
U40_ggg(T171, T172, X455, plus166_out_gag(T172, T175, X455)) → times69_out_ggg(s(T171), T172, X455)
U17_gga(T117, T118, times69_out_ggg(T120, T118, s(s(0)))) → times69_out_gga(s(T117), T118, s(s(s(s(0)))))
U35_ggg(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → U36_ggg(T117, T118, X411, plus154_in_aag(T150, s(s(s(s(s(s(s(T150))))))), X411))
plus154_in_aag(0, T158, s(T158)) → plus154_out_aag(0, T158, s(T158))
plus154_in_aag(s(T163), T164, s(X436)) → U41_aag(T163, T164, X436, plus154_in_aag(T163, T164, X436))
U41_aag(T163, T164, X436, plus154_out_aag(T163, T164, X436)) → plus154_out_aag(s(T163), T164, s(X436))
U36_ggg(T117, T118, X411, plus154_out_aag(T150, s(s(s(s(s(s(s(T150))))))), X411)) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(X411)))))))))
U32_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(s(0))))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
U29_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(0)))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
U26_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(0))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0)))))))))))
U23_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(0)))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(0)))))))))
U20_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(0))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(0)))))))
U17_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(0)))) → times69_out_ggg(s(T117), T118, s(s(s(s(0)))))
U14_ggg(T117, T118, times69_out_ggg(T120, T118, s(0))) → times69_out_ggg(s(T117), T118, s(s(0)))
U11_ggg(T117, T118, times69_out_ggg(T120, T118, 0)) → times69_out_ggg(s(T117), T118, 0)
U14_gga(T117, T118, times69_out_ggg(T120, T118, s(0))) → times69_out_gga(s(T117), T118, s(s(0)))
U8_ggg(T117, T118, X217, times69_out_gga(T120, T118, X216)) → times69_out_ggg(s(T117), T118, X217)
U11_gga(T117, T118, times69_out_ggg(T120, T118, 0)) → times69_out_gga(s(T117), T118, 0)
U8_gga(T117, T118, X217, times69_out_gga(T120, T118, X216)) → times69_out_gga(s(T117), T118, X217)
U51_gga(T77, T78, T80, times69_out_gga(T82, T78, X129)) → times1_out_gga(s(s(T77)), T78, T80)
times1_in_gga(s(s(T77)), T78, 0) → U52_gga(T77, T78, even36_in_gg(T77, true))
U52_gga(T77, T78, even36_out_gg(T77, true)) → U53_gga(T77, T78, half56_in_ga(T77, T82))
U53_gga(T77, T78, half56_out_ga(T77, T82)) → U54_gga(T77, T78, times69_in_ggg(T82, T78, 0))
U54_gga(T77, T78, times69_out_ggg(T82, T78, 0)) → times1_out_gga(s(s(T77)), T78, 0)
times1_in_gga(s(s(T77)), T78, s(s(0))) → U55_gga(T77, T78, even36_in_gg(T77, true))
U55_gga(T77, T78, even36_out_gg(T77, true)) → U56_gga(T77, T78, half56_in_ga(T77, T82))
U56_gga(T77, T78, half56_out_ga(T77, T82)) → U57_gga(T77, T78, times69_in_ggg(T82, T78, s(0)))
U57_gga(T77, T78, times69_out_ggg(T82, T78, s(0))) → times1_out_gga(s(s(T77)), T78, s(s(0)))
times1_in_gga(s(s(T77)), T78, s(s(s(s(0))))) → U58_gga(T77, T78, even36_in_gg(T77, true))
U58_gga(T77, T78, even36_out_gg(T77, true)) → U59_gga(T77, T78, half56_in_ga(T77, T82))
U59_gga(T77, T78, half56_out_ga(T77, T82)) → U60_gga(T77, T78, times69_in_ggg(T82, T78, s(s(0))))
U60_gga(T77, T78, times69_out_ggg(T82, T78, s(s(0)))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(0)))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(0))))))) → U61_gga(T77, T78, even36_in_gg(T77, true))
U61_gga(T77, T78, even36_out_gg(T77, true)) → U62_gga(T77, T78, half56_in_ga(T77, T82))
U62_gga(T77, T78, half56_out_ga(T77, T82)) → U63_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(0)))))
U63_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(0))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(0)))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(0))))))))) → U64_gga(T77, T78, even36_in_gg(T77, true))
U64_gga(T77, T78, even36_out_gg(T77, true)) → U65_gga(T77, T78, half56_in_ga(T77, T82))
U65_gga(T77, T78, half56_out_ga(T77, T82)) → U66_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(0))))))
U66_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(0)))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(0)))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U67_gga(T77, T78, even36_in_gg(T77, true))
U67_gga(T77, T78, even36_out_gg(T77, true)) → U68_gga(T77, T78, half56_in_ga(T77, T82))
U68_gga(T77, T78, half56_out_ga(T77, T82)) → U69_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(0)))))))
U69_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(0))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(0)))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U70_gga(T77, T78, even36_in_gg(T77, true))
U70_gga(T77, T78, even36_out_gg(T77, true)) → U71_gga(T77, T78, half56_in_ga(T77, T82))
U71_gga(T77, T78, half56_out_ga(T77, T82)) → U72_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(s(0))))))))
U72_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(s(0)))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U73_gga(T77, T78, even36_in_gg(T77, true))
U73_gga(T77, T78, even36_out_gg(T77, true)) → U74_gga(T77, T78, half56_in_ga(T77, T82))
U74_gga(T77, T78, half56_out_ga(T77, T82)) → U75_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(s(s(0)))))))))
U75_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(s(s(0))))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(T248))))))))) → U76_gga(T77, T78, T248, even36_in_gg(T77, true))
U76_gga(T77, T78, T248, even36_out_gg(T77, true)) → U77_gga(T77, T78, T248, half56_in_ga(T77, T82))
U77_gga(T77, T78, T248, half56_out_ga(T77, T82)) → U78_gga(T77, T78, T248, times69_in_gga(T82, T78, s(s(s(s(s(s(s(s(T246))))))))))
U78_gga(T77, T78, T248, times69_out_gga(T82, T78, s(s(s(s(s(s(s(s(T246)))))))))) → U79_gga(T77, T78, T248, plus19_in_aaa(T246, s(s(s(s(s(s(s(s(T246)))))))), T248))
plus19_in_aaa(0, T42, T42) → plus19_out_aaa(0, T42, T42)
plus19_in_aaa(s(T49), T50, s(T52)) → U1_aaa(T49, T50, T52, plus19_in_aaa(T49, T50, T52))
U1_aaa(T49, T50, T52, plus19_out_aaa(T49, T50, T52)) → plus19_out_aaa(s(T49), T50, s(T52))
U79_gga(T77, T78, T248, plus19_out_aaa(T246, s(s(s(s(s(s(s(s(T246)))))))), T248)) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(T248)))))))))
times1_in_gga(s(s(T258)), T259, T261) → U80_gga(T258, T259, T261, even36_in_gg(T258, false))
U80_gga(T258, T259, T261, even36_out_gg(T258, false)) → U81_gga(T258, T259, T261, times69_in_gga(s(T258), T259, X662))
U81_gga(T258, T259, T261, times69_out_gga(s(T258), T259, X662)) → times1_out_gga(s(s(T258)), T259, T261)
U80_gga(T258, T259, T261, even36_out_gg(T258, false)) → U82_gga(T258, T259, T261, times69_in_gga(s(T258), T259, T264))
U82_gga(T258, T259, T261, times69_out_gga(s(T258), T259, T264)) → U83_gga(T258, T259, T261, plus19_in_gaa(T259, T264, T261))
plus19_in_gaa(0, T42, T42) → plus19_out_gaa(0, T42, T42)
plus19_in_gaa(s(T49), T50, s(T52)) → U1_gaa(T49, T50, T52, plus19_in_gaa(T49, T50, T52))
U1_gaa(T49, T50, T52, plus19_out_gaa(T49, T50, T52)) → plus19_out_gaa(s(T49), T50, s(T52))
U83_gga(T258, T259, T261, plus19_out_gaa(T259, T264, T261)) → times1_out_gga(s(s(T258)), T259, T261)

The argument filtering Pi contains the following mapping:
times1_in_gga(x1, x2, x3)  =  times1_in_gga(x1, x2)
0  =  0
times1_out_gga(x1, x2, x3)  =  times1_out_gga
s(x1)  =  s(x1)
U44_gga(x1, x2, x3)  =  U44_gga(x3)
times18_in_ga(x1, x2)  =  times18_in_ga(x1)
times18_out_ga(x1, x2)  =  times18_out_ga(x2)
U45_gga(x1, x2, x3)  =  U45_gga(x1, x3)
U46_gga(x1, x2, x3)  =  U46_gga(x3)
plus19_in_gga(x1, x2, x3)  =  plus19_in_gga(x1, x2)
plus19_out_gga(x1, x2, x3)  =  plus19_out_gga(x3)
U1_gga(x1, x2, x3, x4)  =  U1_gga(x4)
U47_gga(x1, x2, x3, x4)  =  U47_gga(x4)
even36_in_ga(x1, x2)  =  even36_in_ga(x1)
even36_out_ga(x1, x2)  =  even36_out_ga(x2)
U2_ga(x1, x2, x3)  =  U2_ga(x3)
U48_gga(x1, x2, x3, x4)  =  U48_gga(x1, x2, x4)
even36_in_gg(x1, x2)  =  even36_in_gg(x1, x2)
true  =  true
even36_out_gg(x1, x2)  =  even36_out_gg
false  =  false
U2_gg(x1, x2, x3)  =  U2_gg(x3)
U49_gga(x1, x2, x3, x4)  =  U49_gga(x4)
half56_in_ga(x1, x2)  =  half56_in_ga(x1)
U43_ga(x1, x2, x3)  =  U43_ga(x3)
half60_in_ga(x1, x2)  =  half60_in_ga(x1)
half60_out_ga(x1, x2)  =  half60_out_ga(x2)
U3_ga(x1, x2, x3)  =  U3_ga(x3)
half56_out_ga(x1, x2)  =  half56_out_ga(x2)
U50_gga(x1, x2, x3, x4)  =  U50_gga(x2, x4)
U51_gga(x1, x2, x3, x4)  =  U51_gga(x4)
times69_in_gga(x1, x2, x3)  =  times69_in_gga(x1, x2)
times69_out_gga(x1, x2, x3)  =  times69_out_gga
U4_gga(x1, x2, x3, x4)  =  U4_gga(x4)
U5_gga(x1, x2, x3, x4)  =  U5_gga(x1, x2, x4)
U6_gga(x1, x2, x3, x4)  =  U6_gga(x4)
U7_gga(x1, x2, x3, x4)  =  U7_gga(x2, x4)
U8_gga(x1, x2, x3, x4)  =  U8_gga(x4)
U9_gga(x1, x2, x3)  =  U9_gga(x1, x2, x3)
U10_gga(x1, x2, x3)  =  U10_gga(x2, x3)
U11_gga(x1, x2, x3)  =  U11_gga(x3)
times69_in_ggg(x1, x2, x3)  =  times69_in_ggg(x1, x2, x3)
times69_out_ggg(x1, x2, x3)  =  times69_out_ggg
U4_ggg(x1, x2, x3, x4)  =  U4_ggg(x4)
U5_ggg(x1, x2, x3, x4)  =  U5_ggg(x1, x2, x4)
U6_ggg(x1, x2, x3, x4)  =  U6_ggg(x4)
U7_ggg(x1, x2, x3, x4)  =  U7_ggg(x2, x4)
U8_ggg(x1, x2, x3, x4)  =  U8_ggg(x4)
U12_gga(x1, x2, x3)  =  U12_gga(x1, x2, x3)
U13_gga(x1, x2, x3)  =  U13_gga(x2, x3)
U14_gga(x1, x2, x3)  =  U14_gga(x3)
U9_ggg(x1, x2, x3)  =  U9_ggg(x1, x2, x3)
U10_ggg(x1, x2, x3)  =  U10_ggg(x2, x3)
U11_ggg(x1, x2, x3)  =  U11_ggg(x3)
U12_ggg(x1, x2, x3)  =  U12_ggg(x1, x2, x3)
U13_ggg(x1, x2, x3)  =  U13_ggg(x2, x3)
U14_ggg(x1, x2, x3)  =  U14_ggg(x3)
U15_ggg(x1, x2, x3)  =  U15_ggg(x1, x2, x3)
U16_ggg(x1, x2, x3)  =  U16_ggg(x2, x3)
U17_ggg(x1, x2, x3)  =  U17_ggg(x3)
U18_ggg(x1, x2, x3)  =  U18_ggg(x1, x2, x3)
U19_ggg(x1, x2, x3)  =  U19_ggg(x2, x3)
U20_ggg(x1, x2, x3)  =  U20_ggg(x3)
U21_ggg(x1, x2, x3)  =  U21_ggg(x1, x2, x3)
U22_ggg(x1, x2, x3)  =  U22_ggg(x2, x3)
U23_ggg(x1, x2, x3)  =  U23_ggg(x3)
U24_ggg(x1, x2, x3)  =  U24_ggg(x1, x2, x3)
U25_ggg(x1, x2, x3)  =  U25_ggg(x2, x3)
U26_ggg(x1, x2, x3)  =  U26_ggg(x3)
U27_ggg(x1, x2, x3)  =  U27_ggg(x1, x2, x3)
U28_ggg(x1, x2, x3)  =  U28_ggg(x2, x3)
U29_ggg(x1, x2, x3)  =  U29_ggg(x3)
U30_ggg(x1, x2, x3)  =  U30_ggg(x1, x2, x3)
U31_ggg(x1, x2, x3)  =  U31_ggg(x2, x3)
U32_ggg(x1, x2, x3)  =  U32_ggg(x3)
U33_ggg(x1, x2, x3, x4)  =  U33_ggg(x1, x2, x3, x4)
U34_ggg(x1, x2, x3, x4)  =  U34_ggg(x2, x3, x4)
U35_ggg(x1, x2, x3, x4)  =  U35_ggg(x3, x4)
U15_gga(x1, x2, x3)  =  U15_gga(x1, x2, x3)
U16_gga(x1, x2, x3)  =  U16_gga(x2, x3)
U17_gga(x1, x2, x3)  =  U17_gga(x3)
U37_ggg(x1, x2, x3, x4)  =  U37_ggg(x1, x2, x3, x4)
U38_ggg(x1, x2, x3, x4)  =  U38_ggg(x4)
U18_gga(x1, x2, x3)  =  U18_gga(x1, x2, x3)
U19_gga(x1, x2, x3)  =  U19_gga(x2, x3)
U20_gga(x1, x2, x3)  =  U20_gga(x3)
U21_gga(x1, x2, x3)  =  U21_gga(x1, x2, x3)
U22_gga(x1, x2, x3)  =  U22_gga(x2, x3)
U23_gga(x1, x2, x3)  =  U23_gga(x3)
U24_gga(x1, x2, x3)  =  U24_gga(x1, x2, x3)
U25_gga(x1, x2, x3)  =  U25_gga(x2, x3)
U26_gga(x1, x2, x3)  =  U26_gga(x3)
U27_gga(x1, x2, x3)  =  U27_gga(x1, x2, x3)
U28_gga(x1, x2, x3)  =  U28_gga(x2, x3)
U29_gga(x1, x2, x3)  =  U29_gga(x3)
U30_gga(x1, x2, x3)  =  U30_gga(x1, x2, x3)
U31_gga(x1, x2, x3)  =  U31_gga(x2, x3)
U32_gga(x1, x2, x3)  =  U32_gga(x3)
U33_gga(x1, x2, x3, x4)  =  U33_gga(x1, x2, x4)
U34_gga(x1, x2, x3, x4)  =  U34_gga(x2, x4)
U35_gga(x1, x2, x3, x4)  =  U35_gga(x4)
U37_gga(x1, x2, x3, x4)  =  U37_gga(x1, x2, x4)
U38_gga(x1, x2, x3, x4)  =  U38_gga(x4)
U39_gga(x1, x2, x3, x4)  =  U39_gga(x2, x4)
U40_gga(x1, x2, x3, x4)  =  U40_gga(x4)
plus166_in_gaa(x1, x2, x3)  =  plus166_in_gaa(x1)
plus166_out_gaa(x1, x2, x3)  =  plus166_out_gaa
U42_gaa(x1, x2, x3, x4)  =  U42_gaa(x4)
U36_gga(x1, x2, x3, x4)  =  U36_gga(x4)
plus154_in_aaa(x1, x2, x3)  =  plus154_in_aaa
plus154_out_aaa(x1, x2, x3)  =  plus154_out_aaa(x1)
U41_aaa(x1, x2, x3, x4)  =  U41_aaa(x4)
U39_ggg(x1, x2, x3, x4)  =  U39_ggg(x2, x3, x4)
U40_ggg(x1, x2, x3, x4)  =  U40_ggg(x4)
plus166_in_gag(x1, x2, x3)  =  plus166_in_gag(x1, x3)
plus166_out_gag(x1, x2, x3)  =  plus166_out_gag(x2)
U42_gag(x1, x2, x3, x4)  =  U42_gag(x4)
U36_ggg(x1, x2, x3, x4)  =  U36_ggg(x4)
plus154_in_aag(x1, x2, x3)  =  plus154_in_aag(x3)
plus154_out_aag(x1, x2, x3)  =  plus154_out_aag(x1, x2)
U41_aag(x1, x2, x3, x4)  =  U41_aag(x4)
U52_gga(x1, x2, x3)  =  U52_gga(x1, x2, x3)
U53_gga(x1, x2, x3)  =  U53_gga(x2, x3)
U54_gga(x1, x2, x3)  =  U54_gga(x3)
U55_gga(x1, x2, x3)  =  U55_gga(x1, x2, x3)
U56_gga(x1, x2, x3)  =  U56_gga(x2, x3)
U57_gga(x1, x2, x3)  =  U57_gga(x3)
U58_gga(x1, x2, x3)  =  U58_gga(x1, x2, x3)
U59_gga(x1, x2, x3)  =  U59_gga(x2, x3)
U60_gga(x1, x2, x3)  =  U60_gga(x3)
U61_gga(x1, x2, x3)  =  U61_gga(x1, x2, x3)
U62_gga(x1, x2, x3)  =  U62_gga(x2, x3)
U63_gga(x1, x2, x3)  =  U63_gga(x3)
U64_gga(x1, x2, x3)  =  U64_gga(x1, x2, x3)
U65_gga(x1, x2, x3)  =  U65_gga(x2, x3)
U66_gga(x1, x2, x3)  =  U66_gga(x3)
U67_gga(x1, x2, x3)  =  U67_gga(x1, x2, x3)
U68_gga(x1, x2, x3)  =  U68_gga(x2, x3)
U69_gga(x1, x2, x3)  =  U69_gga(x3)
U70_gga(x1, x2, x3)  =  U70_gga(x1, x2, x3)
U71_gga(x1, x2, x3)  =  U71_gga(x2, x3)
U72_gga(x1, x2, x3)  =  U72_gga(x3)
U73_gga(x1, x2, x3)  =  U73_gga(x1, x2, x3)
U74_gga(x1, x2, x3)  =  U74_gga(x2, x3)
U75_gga(x1, x2, x3)  =  U75_gga(x3)
U76_gga(x1, x2, x3, x4)  =  U76_gga(x1, x2, x4)
U77_gga(x1, x2, x3, x4)  =  U77_gga(x2, x4)
U78_gga(x1, x2, x3, x4)  =  U78_gga(x4)
U79_gga(x1, x2, x3, x4)  =  U79_gga(x4)
plus19_in_aaa(x1, x2, x3)  =  plus19_in_aaa
plus19_out_aaa(x1, x2, x3)  =  plus19_out_aaa(x1)
U1_aaa(x1, x2, x3, x4)  =  U1_aaa(x4)
U80_gga(x1, x2, x3, x4)  =  U80_gga(x1, x2, x4)
U81_gga(x1, x2, x3, x4)  =  U81_gga(x4)
U82_gga(x1, x2, x3, x4)  =  U82_gga(x2, x4)
U83_gga(x1, x2, x3, x4)  =  U83_gga(x4)
plus19_in_gaa(x1, x2, x3)  =  plus19_in_gaa(x1)
plus19_out_gaa(x1, x2, x3)  =  plus19_out_gaa
U1_gaa(x1, x2, x3, x4)  =  U1_gaa(x4)
PLUS19_IN_GAA(x1, x2, x3)  =  PLUS19_IN_GAA(x1)

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

(133) UsableRulesProof (EQUIVALENT transformation)

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

(134) Obligation:

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

PLUS19_IN_GAA(s(T49), T50, s(T52)) → PLUS19_IN_GAA(T49, T50, T52)

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

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

(135) PiDPToQDPProof (SOUND transformation)

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

(136) Obligation:

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

PLUS19_IN_GAA(s(T49)) → PLUS19_IN_GAA(T49)

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

(137) QDPSizeChangeProof (EQUIVALENT transformation)

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

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

  • PLUS19_IN_GAA(s(T49)) → PLUS19_IN_GAA(T49)
    The graph contains the following edges 1 > 1

(138) YES

(139) Obligation:

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

PLUS19_IN_AAA(s(T49), T50, s(T52)) → PLUS19_IN_AAA(T49, T50, T52)

The TRS R consists of the following rules:

times1_in_gga(0, T5, 0) → times1_out_gga(0, T5, 0)
times1_in_gga(s(0), T23, T25) → U44_gga(T23, T25, times18_in_ga(T23, X45))
times18_in_ga(T35, 0) → times18_out_ga(T35, 0)
U44_gga(T23, T25, times18_out_ga(T23, X45)) → times1_out_gga(s(0), T23, T25)
times1_in_gga(s(0), T23, T25) → U45_gga(T23, T25, times18_in_ga(T23, T29))
U45_gga(T23, T25, times18_out_ga(T23, T29)) → U46_gga(T23, T25, plus19_in_gga(T23, T29, T25))
plus19_in_gga(0, T42, T42) → plus19_out_gga(0, T42, T42)
plus19_in_gga(s(T49), T50, s(T52)) → U1_gga(T49, T50, T52, plus19_in_gga(T49, T50, T52))
U1_gga(T49, T50, T52, plus19_out_gga(T49, T50, T52)) → plus19_out_gga(s(T49), T50, s(T52))
U46_gga(T23, T25, plus19_out_gga(T23, T29, T25)) → times1_out_gga(s(0), T23, T25)
times1_in_gga(s(s(T57)), T10, T12) → U47_gga(T57, T10, T12, even36_in_ga(T57, X90))
even36_in_ga(0, true) → even36_out_ga(0, true)
even36_in_ga(s(0), false) → even36_out_ga(s(0), false)
even36_in_ga(s(s(T61)), X101) → U2_ga(T61, X101, even36_in_ga(T61, X101))
U2_ga(T61, X101, even36_out_ga(T61, X101)) → even36_out_ga(s(s(T61)), X101)
U47_gga(T57, T10, T12, even36_out_ga(T57, X90)) → times1_out_gga(s(s(T57)), T10, T12)
times1_in_gga(s(s(T77)), T78, T80) → U48_gga(T77, T78, T80, even36_in_gg(T77, true))
even36_in_gg(0, true) → even36_out_gg(0, true)
even36_in_gg(s(0), false) → even36_out_gg(s(0), false)
even36_in_gg(s(s(T61)), X101) → U2_gg(T61, X101, even36_in_gg(T61, X101))
U2_gg(T61, X101, even36_out_gg(T61, X101)) → even36_out_gg(s(s(T61)), X101)
U48_gga(T77, T78, T80, even36_out_gg(T77, true)) → U49_gga(T77, T78, T80, half56_in_ga(T77, X128))
half56_in_ga(T86, s(X147)) → U43_ga(T86, X147, half60_in_ga(T86, X147))
half60_in_ga(0, 0) → half60_out_ga(0, 0)
half60_in_ga(s(s(T89)), s(X156)) → U3_ga(T89, X156, half60_in_ga(T89, X156))
U3_ga(T89, X156, half60_out_ga(T89, X156)) → half60_out_ga(s(s(T89)), s(X156))
U43_ga(T86, X147, half60_out_ga(T86, X147)) → half56_out_ga(T86, s(X147))
U49_gga(T77, T78, T80, half56_out_ga(T77, X128)) → times1_out_gga(s(s(T77)), T78, T80)
U48_gga(T77, T78, T80, even36_out_gg(T77, true)) → U50_gga(T77, T78, T80, half56_in_ga(T77, T82))
U50_gga(T77, T78, T80, half56_out_ga(T77, T82)) → U51_gga(T77, T78, T80, times69_in_gga(T82, T78, X129))
times69_in_gga(0, T99, 0) → times69_out_gga(0, T99, 0)
times69_in_gga(s(T104), T105, X182) → U4_gga(T104, T105, X182, even36_in_ga(s(T104), X181))
U4_gga(T104, T105, X182, even36_out_ga(s(T104), X181)) → times69_out_gga(s(T104), T105, X182)
times69_in_gga(s(T117), T118, X217) → U5_gga(T117, T118, X217, even36_in_gg(s(T117), true))
U5_gga(T117, T118, X217, even36_out_gg(s(T117), true)) → U6_gga(T117, T118, X217, half60_in_ga(s(T117), X215))
U6_gga(T117, T118, X217, half60_out_ga(s(T117), X215)) → times69_out_gga(s(T117), T118, X217)
U5_gga(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_gga(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_gga(T117, T118, X217, half60_out_ga(s(T117), T120)) → U8_gga(T117, T118, X217, times69_in_gga(T120, T118, X216))
times69_in_gga(s(T117), T118, 0) → U9_gga(T117, T118, even36_in_gg(s(T117), true))
U9_gga(T117, T118, even36_out_gg(s(T117), true)) → U10_gga(T117, T118, half60_in_ga(s(T117), T120))
U10_gga(T117, T118, half60_out_ga(s(T117), T120)) → U11_gga(T117, T118, times69_in_ggg(T120, T118, 0))
times69_in_ggg(0, T99, 0) → times69_out_ggg(0, T99, 0)
times69_in_ggg(s(T104), T105, X182) → U4_ggg(T104, T105, X182, even36_in_ga(s(T104), X181))
U4_ggg(T104, T105, X182, even36_out_ga(s(T104), X181)) → times69_out_ggg(s(T104), T105, X182)
times69_in_ggg(s(T117), T118, X217) → U5_ggg(T117, T118, X217, even36_in_gg(s(T117), true))
U5_ggg(T117, T118, X217, even36_out_gg(s(T117), true)) → U6_ggg(T117, T118, X217, half60_in_ga(s(T117), X215))
U6_ggg(T117, T118, X217, half60_out_ga(s(T117), X215)) → times69_out_ggg(s(T117), T118, X217)
U5_ggg(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_ggg(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_ggg(T117, T118, X217, half60_out_ga(s(T117), T120)) → U8_ggg(T117, T118, X217, times69_in_gga(T120, T118, X216))
times69_in_gga(s(T117), T118, s(s(0))) → U12_gga(T117, T118, even36_in_gg(s(T117), true))
U12_gga(T117, T118, even36_out_gg(s(T117), true)) → U13_gga(T117, T118, half60_in_ga(s(T117), T120))
U13_gga(T117, T118, half60_out_ga(s(T117), T120)) → U14_gga(T117, T118, times69_in_ggg(T120, T118, s(0)))
times69_in_ggg(s(T117), T118, 0) → U9_ggg(T117, T118, even36_in_gg(s(T117), true))
U9_ggg(T117, T118, even36_out_gg(s(T117), true)) → U10_ggg(T117, T118, half60_in_ga(s(T117), T120))
U10_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U11_ggg(T117, T118, times69_in_ggg(T120, T118, 0))
times69_in_ggg(s(T117), T118, s(s(0))) → U12_ggg(T117, T118, even36_in_gg(s(T117), true))
U12_ggg(T117, T118, even36_out_gg(s(T117), true)) → U13_ggg(T117, T118, half60_in_ga(s(T117), T120))
U13_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U14_ggg(T117, T118, times69_in_ggg(T120, T118, s(0)))
times69_in_ggg(s(T117), T118, s(s(s(s(0))))) → U15_ggg(T117, T118, even36_in_gg(s(T117), true))
U15_ggg(T117, T118, even36_out_gg(s(T117), true)) → U16_ggg(T117, T118, half60_in_ga(s(T117), T120))
U16_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U17_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(0))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_ggg(T117, T118, even36_in_gg(s(T117), true))
U18_ggg(T117, T118, even36_out_gg(s(T117), true)) → U19_ggg(T117, T118, half60_in_ga(s(T117), T120))
U19_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U20_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(0)))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → U21_ggg(T117, T118, even36_in_gg(s(T117), true))
U21_ggg(T117, T118, even36_out_gg(s(T117), true)) → U22_ggg(T117, T118, half60_in_ga(s(T117), T120))
U22_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U23_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(0))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U24_ggg(T117, T118, even36_in_gg(s(T117), true))
U24_ggg(T117, T118, even36_out_gg(s(T117), true)) → U25_ggg(T117, T118, half60_in_ga(s(T117), T120))
U25_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U26_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(0)))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U27_ggg(T117, T118, even36_in_gg(s(T117), true))
U27_ggg(T117, T118, even36_out_gg(s(T117), true)) → U28_ggg(T117, T118, half60_in_ga(s(T117), T120))
U28_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U29_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(0))))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U30_ggg(T117, T118, even36_in_gg(s(T117), true))
U30_ggg(T117, T118, even36_out_gg(s(T117), true)) → U31_ggg(T117, T118, half60_in_ga(s(T117), T120))
U31_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U32_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(s(0)))))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → U33_ggg(T117, T118, X411, even36_in_gg(s(T117), true))
U33_ggg(T117, T118, X411, even36_out_gg(s(T117), true)) → U34_ggg(T117, T118, X411, half60_in_ga(s(T117), T120))
U34_ggg(T117, T118, X411, half60_out_ga(s(T117), T120)) → U35_ggg(T117, T118, X411, times69_in_gga(T120, T118, s(s(s(s(s(s(s(s(T150))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(0))))) → U15_gga(T117, T118, even36_in_gg(s(T117), true))
U15_gga(T117, T118, even36_out_gg(s(T117), true)) → U16_gga(T117, T118, half60_in_ga(s(T117), T120))
U16_gga(T117, T118, half60_out_ga(s(T117), T120)) → U17_gga(T117, T118, times69_in_ggg(T120, T118, s(s(0))))
times69_in_ggg(s(T171), T172, X455) → U37_ggg(T171, T172, X455, even36_in_gg(s(T171), false))
U37_ggg(T171, T172, X455, even36_out_gg(s(T171), false)) → U38_ggg(T171, T172, X455, times69_in_gga(T171, T172, X454))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_gga(T117, T118, even36_in_gg(s(T117), true))
U18_gga(T117, T118, even36_out_gg(s(T117), true)) → U19_gga(T117, T118, half60_in_ga(s(T117), T120))
U19_gga(T117, T118, half60_out_ga(s(T117), T120)) → U20_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(0)))))
U20_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(0))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(0)))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → U21_gga(T117, T118, even36_in_gg(s(T117), true))
U21_gga(T117, T118, even36_out_gg(s(T117), true)) → U22_gga(T117, T118, half60_in_ga(s(T117), T120))
U22_gga(T117, T118, half60_out_ga(s(T117), T120)) → U23_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(0))))))
U23_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(0)))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(0)))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U24_gga(T117, T118, even36_in_gg(s(T117), true))
U24_gga(T117, T118, even36_out_gg(s(T117), true)) → U25_gga(T117, T118, half60_in_ga(s(T117), T120))
U25_gga(T117, T118, half60_out_ga(s(T117), T120)) → U26_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(0)))))))
U26_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(0))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0)))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U27_gga(T117, T118, even36_in_gg(s(T117), true))
U27_gga(T117, T118, even36_out_gg(s(T117), true)) → U28_gga(T117, T118, half60_in_ga(s(T117), T120))
U28_gga(T117, T118, half60_out_ga(s(T117), T120)) → U29_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(0))))))))
U29_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(0)))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U30_gga(T117, T118, even36_in_gg(s(T117), true))
U30_gga(T117, T118, even36_out_gg(s(T117), true)) → U31_gga(T117, T118, half60_in_ga(s(T117), T120))
U31_gga(T117, T118, half60_out_ga(s(T117), T120)) → U32_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(s(0)))))))))
U32_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(s(0))))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → U33_gga(T117, T118, X411, even36_in_gg(s(T117), true))
U33_gga(T117, T118, X411, even36_out_gg(s(T117), true)) → U34_gga(T117, T118, X411, half60_in_ga(s(T117), T120))
U34_gga(T117, T118, X411, half60_out_ga(s(T117), T120)) → U35_gga(T117, T118, X411, times69_in_gga(T120, T118, s(s(s(s(s(s(s(s(T150))))))))))
times69_in_gga(s(T171), T172, X455) → U37_gga(T171, T172, X455, even36_in_gg(s(T171), false))
U37_gga(T171, T172, X455, even36_out_gg(s(T171), false)) → U38_gga(T171, T172, X455, times69_in_gga(T171, T172, X454))
U38_gga(T171, T172, X455, times69_out_gga(T171, T172, X454)) → times69_out_gga(s(T171), T172, X455)
U37_gga(T171, T172, X455, even36_out_gg(s(T171), false)) → U39_gga(T171, T172, X455, times69_in_gga(T171, T172, T175))
U39_gga(T171, T172, X455, times69_out_gga(T171, T172, T175)) → U40_gga(T171, T172, X455, plus166_in_gaa(T172, T175, X455))
plus166_in_gaa(0, T184, T184) → plus166_out_gaa(0, T184, T184)
plus166_in_gaa(s(T189), T190, s(X482)) → U42_gaa(T189, T190, X482, plus166_in_gaa(T189, T190, X482))
U42_gaa(T189, T190, X482, plus166_out_gaa(T189, T190, X482)) → plus166_out_gaa(s(T189), T190, s(X482))
U40_gga(T171, T172, X455, plus166_out_gaa(T172, T175, X455)) → times69_out_gga(s(T171), T172, X455)
U35_gga(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → U36_gga(T117, T118, X411, plus154_in_aaa(T150, s(s(s(s(s(s(s(T150))))))), X411))
plus154_in_aaa(0, T158, s(T158)) → plus154_out_aaa(0, T158, s(T158))
plus154_in_aaa(s(T163), T164, s(X436)) → U41_aaa(T163, T164, X436, plus154_in_aaa(T163, T164, X436))
U41_aaa(T163, T164, X436, plus154_out_aaa(T163, T164, X436)) → plus154_out_aaa(s(T163), T164, s(X436))
U36_gga(T117, T118, X411, plus154_out_aaa(T150, s(s(s(s(s(s(s(T150))))))), X411)) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(X411)))))))))
U38_ggg(T171, T172, X455, times69_out_gga(T171, T172, X454)) → times69_out_ggg(s(T171), T172, X455)
U37_ggg(T171, T172, X455, even36_out_gg(s(T171), false)) → U39_ggg(T171, T172, X455, times69_in_gga(T171, T172, T175))
U39_ggg(T171, T172, X455, times69_out_gga(T171, T172, T175)) → U40_ggg(T171, T172, X455, plus166_in_gag(T172, T175, X455))
plus166_in_gag(0, T184, T184) → plus166_out_gag(0, T184, T184)
plus166_in_gag(s(T189), T190, s(X482)) → U42_gag(T189, T190, X482, plus166_in_gag(T189, T190, X482))
U42_gag(T189, T190, X482, plus166_out_gag(T189, T190, X482)) → plus166_out_gag(s(T189), T190, s(X482))
U40_ggg(T171, T172, X455, plus166_out_gag(T172, T175, X455)) → times69_out_ggg(s(T171), T172, X455)
U17_gga(T117, T118, times69_out_ggg(T120, T118, s(s(0)))) → times69_out_gga(s(T117), T118, s(s(s(s(0)))))
U35_ggg(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → U36_ggg(T117, T118, X411, plus154_in_aag(T150, s(s(s(s(s(s(s(T150))))))), X411))
plus154_in_aag(0, T158, s(T158)) → plus154_out_aag(0, T158, s(T158))
plus154_in_aag(s(T163), T164, s(X436)) → U41_aag(T163, T164, X436, plus154_in_aag(T163, T164, X436))
U41_aag(T163, T164, X436, plus154_out_aag(T163, T164, X436)) → plus154_out_aag(s(T163), T164, s(X436))
U36_ggg(T117, T118, X411, plus154_out_aag(T150, s(s(s(s(s(s(s(T150))))))), X411)) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(X411)))))))))
U32_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(s(0))))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
U29_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(0)))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
U26_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(0))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0)))))))))))
U23_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(0)))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(0)))))))))
U20_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(0))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(0)))))))
U17_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(0)))) → times69_out_ggg(s(T117), T118, s(s(s(s(0)))))
U14_ggg(T117, T118, times69_out_ggg(T120, T118, s(0))) → times69_out_ggg(s(T117), T118, s(s(0)))
U11_ggg(T117, T118, times69_out_ggg(T120, T118, 0)) → times69_out_ggg(s(T117), T118, 0)
U14_gga(T117, T118, times69_out_ggg(T120, T118, s(0))) → times69_out_gga(s(T117), T118, s(s(0)))
U8_ggg(T117, T118, X217, times69_out_gga(T120, T118, X216)) → times69_out_ggg(s(T117), T118, X217)
U11_gga(T117, T118, times69_out_ggg(T120, T118, 0)) → times69_out_gga(s(T117), T118, 0)
U8_gga(T117, T118, X217, times69_out_gga(T120, T118, X216)) → times69_out_gga(s(T117), T118, X217)
U51_gga(T77, T78, T80, times69_out_gga(T82, T78, X129)) → times1_out_gga(s(s(T77)), T78, T80)
times1_in_gga(s(s(T77)), T78, 0) → U52_gga(T77, T78, even36_in_gg(T77, true))
U52_gga(T77, T78, even36_out_gg(T77, true)) → U53_gga(T77, T78, half56_in_ga(T77, T82))
U53_gga(T77, T78, half56_out_ga(T77, T82)) → U54_gga(T77, T78, times69_in_ggg(T82, T78, 0))
U54_gga(T77, T78, times69_out_ggg(T82, T78, 0)) → times1_out_gga(s(s(T77)), T78, 0)
times1_in_gga(s(s(T77)), T78, s(s(0))) → U55_gga(T77, T78, even36_in_gg(T77, true))
U55_gga(T77, T78, even36_out_gg(T77, true)) → U56_gga(T77, T78, half56_in_ga(T77, T82))
U56_gga(T77, T78, half56_out_ga(T77, T82)) → U57_gga(T77, T78, times69_in_ggg(T82, T78, s(0)))
U57_gga(T77, T78, times69_out_ggg(T82, T78, s(0))) → times1_out_gga(s(s(T77)), T78, s(s(0)))
times1_in_gga(s(s(T77)), T78, s(s(s(s(0))))) → U58_gga(T77, T78, even36_in_gg(T77, true))
U58_gga(T77, T78, even36_out_gg(T77, true)) → U59_gga(T77, T78, half56_in_ga(T77, T82))
U59_gga(T77, T78, half56_out_ga(T77, T82)) → U60_gga(T77, T78, times69_in_ggg(T82, T78, s(s(0))))
U60_gga(T77, T78, times69_out_ggg(T82, T78, s(s(0)))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(0)))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(0))))))) → U61_gga(T77, T78, even36_in_gg(T77, true))
U61_gga(T77, T78, even36_out_gg(T77, true)) → U62_gga(T77, T78, half56_in_ga(T77, T82))
U62_gga(T77, T78, half56_out_ga(T77, T82)) → U63_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(0)))))
U63_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(0))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(0)))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(0))))))))) → U64_gga(T77, T78, even36_in_gg(T77, true))
U64_gga(T77, T78, even36_out_gg(T77, true)) → U65_gga(T77, T78, half56_in_ga(T77, T82))
U65_gga(T77, T78, half56_out_ga(T77, T82)) → U66_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(0))))))
U66_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(0)))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(0)))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U67_gga(T77, T78, even36_in_gg(T77, true))
U67_gga(T77, T78, even36_out_gg(T77, true)) → U68_gga(T77, T78, half56_in_ga(T77, T82))
U68_gga(T77, T78, half56_out_ga(T77, T82)) → U69_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(0)))))))
U69_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(0))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(0)))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U70_gga(T77, T78, even36_in_gg(T77, true))
U70_gga(T77, T78, even36_out_gg(T77, true)) → U71_gga(T77, T78, half56_in_ga(T77, T82))
U71_gga(T77, T78, half56_out_ga(T77, T82)) → U72_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(s(0))))))))
U72_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(s(0)))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U73_gga(T77, T78, even36_in_gg(T77, true))
U73_gga(T77, T78, even36_out_gg(T77, true)) → U74_gga(T77, T78, half56_in_ga(T77, T82))
U74_gga(T77, T78, half56_out_ga(T77, T82)) → U75_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(s(s(0)))))))))
U75_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(s(s(0))))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(T248))))))))) → U76_gga(T77, T78, T248, even36_in_gg(T77, true))
U76_gga(T77, T78, T248, even36_out_gg(T77, true)) → U77_gga(T77, T78, T248, half56_in_ga(T77, T82))
U77_gga(T77, T78, T248, half56_out_ga(T77, T82)) → U78_gga(T77, T78, T248, times69_in_gga(T82, T78, s(s(s(s(s(s(s(s(T246))))))))))
U78_gga(T77, T78, T248, times69_out_gga(T82, T78, s(s(s(s(s(s(s(s(T246)))))))))) → U79_gga(T77, T78, T248, plus19_in_aaa(T246, s(s(s(s(s(s(s(s(T246)))))))), T248))
plus19_in_aaa(0, T42, T42) → plus19_out_aaa(0, T42, T42)
plus19_in_aaa(s(T49), T50, s(T52)) → U1_aaa(T49, T50, T52, plus19_in_aaa(T49, T50, T52))
U1_aaa(T49, T50, T52, plus19_out_aaa(T49, T50, T52)) → plus19_out_aaa(s(T49), T50, s(T52))
U79_gga(T77, T78, T248, plus19_out_aaa(T246, s(s(s(s(s(s(s(s(T246)))))))), T248)) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(T248)))))))))
times1_in_gga(s(s(T258)), T259, T261) → U80_gga(T258, T259, T261, even36_in_gg(T258, false))
U80_gga(T258, T259, T261, even36_out_gg(T258, false)) → U81_gga(T258, T259, T261, times69_in_gga(s(T258), T259, X662))
U81_gga(T258, T259, T261, times69_out_gga(s(T258), T259, X662)) → times1_out_gga(s(s(T258)), T259, T261)
U80_gga(T258, T259, T261, even36_out_gg(T258, false)) → U82_gga(T258, T259, T261, times69_in_gga(s(T258), T259, T264))
U82_gga(T258, T259, T261, times69_out_gga(s(T258), T259, T264)) → U83_gga(T258, T259, T261, plus19_in_gaa(T259, T264, T261))
plus19_in_gaa(0, T42, T42) → plus19_out_gaa(0, T42, T42)
plus19_in_gaa(s(T49), T50, s(T52)) → U1_gaa(T49, T50, T52, plus19_in_gaa(T49, T50, T52))
U1_gaa(T49, T50, T52, plus19_out_gaa(T49, T50, T52)) → plus19_out_gaa(s(T49), T50, s(T52))
U83_gga(T258, T259, T261, plus19_out_gaa(T259, T264, T261)) → times1_out_gga(s(s(T258)), T259, T261)

The argument filtering Pi contains the following mapping:
times1_in_gga(x1, x2, x3)  =  times1_in_gga(x1, x2)
0  =  0
times1_out_gga(x1, x2, x3)  =  times1_out_gga
s(x1)  =  s(x1)
U44_gga(x1, x2, x3)  =  U44_gga(x3)
times18_in_ga(x1, x2)  =  times18_in_ga(x1)
times18_out_ga(x1, x2)  =  times18_out_ga(x2)
U45_gga(x1, x2, x3)  =  U45_gga(x1, x3)
U46_gga(x1, x2, x3)  =  U46_gga(x3)
plus19_in_gga(x1, x2, x3)  =  plus19_in_gga(x1, x2)
plus19_out_gga(x1, x2, x3)  =  plus19_out_gga(x3)
U1_gga(x1, x2, x3, x4)  =  U1_gga(x4)
U47_gga(x1, x2, x3, x4)  =  U47_gga(x4)
even36_in_ga(x1, x2)  =  even36_in_ga(x1)
even36_out_ga(x1, x2)  =  even36_out_ga(x2)
U2_ga(x1, x2, x3)  =  U2_ga(x3)
U48_gga(x1, x2, x3, x4)  =  U48_gga(x1, x2, x4)
even36_in_gg(x1, x2)  =  even36_in_gg(x1, x2)
true  =  true
even36_out_gg(x1, x2)  =  even36_out_gg
false  =  false
U2_gg(x1, x2, x3)  =  U2_gg(x3)
U49_gga(x1, x2, x3, x4)  =  U49_gga(x4)
half56_in_ga(x1, x2)  =  half56_in_ga(x1)
U43_ga(x1, x2, x3)  =  U43_ga(x3)
half60_in_ga(x1, x2)  =  half60_in_ga(x1)
half60_out_ga(x1, x2)  =  half60_out_ga(x2)
U3_ga(x1, x2, x3)  =  U3_ga(x3)
half56_out_ga(x1, x2)  =  half56_out_ga(x2)
U50_gga(x1, x2, x3, x4)  =  U50_gga(x2, x4)
U51_gga(x1, x2, x3, x4)  =  U51_gga(x4)
times69_in_gga(x1, x2, x3)  =  times69_in_gga(x1, x2)
times69_out_gga(x1, x2, x3)  =  times69_out_gga
U4_gga(x1, x2, x3, x4)  =  U4_gga(x4)
U5_gga(x1, x2, x3, x4)  =  U5_gga(x1, x2, x4)
U6_gga(x1, x2, x3, x4)  =  U6_gga(x4)
U7_gga(x1, x2, x3, x4)  =  U7_gga(x2, x4)
U8_gga(x1, x2, x3, x4)  =  U8_gga(x4)
U9_gga(x1, x2, x3)  =  U9_gga(x1, x2, x3)
U10_gga(x1, x2, x3)  =  U10_gga(x2, x3)
U11_gga(x1, x2, x3)  =  U11_gga(x3)
times69_in_ggg(x1, x2, x3)  =  times69_in_ggg(x1, x2, x3)
times69_out_ggg(x1, x2, x3)  =  times69_out_ggg
U4_ggg(x1, x2, x3, x4)  =  U4_ggg(x4)
U5_ggg(x1, x2, x3, x4)  =  U5_ggg(x1, x2, x4)
U6_ggg(x1, x2, x3, x4)  =  U6_ggg(x4)
U7_ggg(x1, x2, x3, x4)  =  U7_ggg(x2, x4)
U8_ggg(x1, x2, x3, x4)  =  U8_ggg(x4)
U12_gga(x1, x2, x3)  =  U12_gga(x1, x2, x3)
U13_gga(x1, x2, x3)  =  U13_gga(x2, x3)
U14_gga(x1, x2, x3)  =  U14_gga(x3)
U9_ggg(x1, x2, x3)  =  U9_ggg(x1, x2, x3)
U10_ggg(x1, x2, x3)  =  U10_ggg(x2, x3)
U11_ggg(x1, x2, x3)  =  U11_ggg(x3)
U12_ggg(x1, x2, x3)  =  U12_ggg(x1, x2, x3)
U13_ggg(x1, x2, x3)  =  U13_ggg(x2, x3)
U14_ggg(x1, x2, x3)  =  U14_ggg(x3)
U15_ggg(x1, x2, x3)  =  U15_ggg(x1, x2, x3)
U16_ggg(x1, x2, x3)  =  U16_ggg(x2, x3)
U17_ggg(x1, x2, x3)  =  U17_ggg(x3)
U18_ggg(x1, x2, x3)  =  U18_ggg(x1, x2, x3)
U19_ggg(x1, x2, x3)  =  U19_ggg(x2, x3)
U20_ggg(x1, x2, x3)  =  U20_ggg(x3)
U21_ggg(x1, x2, x3)  =  U21_ggg(x1, x2, x3)
U22_ggg(x1, x2, x3)  =  U22_ggg(x2, x3)
U23_ggg(x1, x2, x3)  =  U23_ggg(x3)
U24_ggg(x1, x2, x3)  =  U24_ggg(x1, x2, x3)
U25_ggg(x1, x2, x3)  =  U25_ggg(x2, x3)
U26_ggg(x1, x2, x3)  =  U26_ggg(x3)
U27_ggg(x1, x2, x3)  =  U27_ggg(x1, x2, x3)
U28_ggg(x1, x2, x3)  =  U28_ggg(x2, x3)
U29_ggg(x1, x2, x3)  =  U29_ggg(x3)
U30_ggg(x1, x2, x3)  =  U30_ggg(x1, x2, x3)
U31_ggg(x1, x2, x3)  =  U31_ggg(x2, x3)
U32_ggg(x1, x2, x3)  =  U32_ggg(x3)
U33_ggg(x1, x2, x3, x4)  =  U33_ggg(x1, x2, x3, x4)
U34_ggg(x1, x2, x3, x4)  =  U34_ggg(x2, x3, x4)
U35_ggg(x1, x2, x3, x4)  =  U35_ggg(x3, x4)
U15_gga(x1, x2, x3)  =  U15_gga(x1, x2, x3)
U16_gga(x1, x2, x3)  =  U16_gga(x2, x3)
U17_gga(x1, x2, x3)  =  U17_gga(x3)
U37_ggg(x1, x2, x3, x4)  =  U37_ggg(x1, x2, x3, x4)
U38_ggg(x1, x2, x3, x4)  =  U38_ggg(x4)
U18_gga(x1, x2, x3)  =  U18_gga(x1, x2, x3)
U19_gga(x1, x2, x3)  =  U19_gga(x2, x3)
U20_gga(x1, x2, x3)  =  U20_gga(x3)
U21_gga(x1, x2, x3)  =  U21_gga(x1, x2, x3)
U22_gga(x1, x2, x3)  =  U22_gga(x2, x3)
U23_gga(x1, x2, x3)  =  U23_gga(x3)
U24_gga(x1, x2, x3)  =  U24_gga(x1, x2, x3)
U25_gga(x1, x2, x3)  =  U25_gga(x2, x3)
U26_gga(x1, x2, x3)  =  U26_gga(x3)
U27_gga(x1, x2, x3)  =  U27_gga(x1, x2, x3)
U28_gga(x1, x2, x3)  =  U28_gga(x2, x3)
U29_gga(x1, x2, x3)  =  U29_gga(x3)
U30_gga(x1, x2, x3)  =  U30_gga(x1, x2, x3)
U31_gga(x1, x2, x3)  =  U31_gga(x2, x3)
U32_gga(x1, x2, x3)  =  U32_gga(x3)
U33_gga(x1, x2, x3, x4)  =  U33_gga(x1, x2, x4)
U34_gga(x1, x2, x3, x4)  =  U34_gga(x2, x4)
U35_gga(x1, x2, x3, x4)  =  U35_gga(x4)
U37_gga(x1, x2, x3, x4)  =  U37_gga(x1, x2, x4)
U38_gga(x1, x2, x3, x4)  =  U38_gga(x4)
U39_gga(x1, x2, x3, x4)  =  U39_gga(x2, x4)
U40_gga(x1, x2, x3, x4)  =  U40_gga(x4)
plus166_in_gaa(x1, x2, x3)  =  plus166_in_gaa(x1)
plus166_out_gaa(x1, x2, x3)  =  plus166_out_gaa
U42_gaa(x1, x2, x3, x4)  =  U42_gaa(x4)
U36_gga(x1, x2, x3, x4)  =  U36_gga(x4)
plus154_in_aaa(x1, x2, x3)  =  plus154_in_aaa
plus154_out_aaa(x1, x2, x3)  =  plus154_out_aaa(x1)
U41_aaa(x1, x2, x3, x4)  =  U41_aaa(x4)
U39_ggg(x1, x2, x3, x4)  =  U39_ggg(x2, x3, x4)
U40_ggg(x1, x2, x3, x4)  =  U40_ggg(x4)
plus166_in_gag(x1, x2, x3)  =  plus166_in_gag(x1, x3)
plus166_out_gag(x1, x2, x3)  =  plus166_out_gag(x2)
U42_gag(x1, x2, x3, x4)  =  U42_gag(x4)
U36_ggg(x1, x2, x3, x4)  =  U36_ggg(x4)
plus154_in_aag(x1, x2, x3)  =  plus154_in_aag(x3)
plus154_out_aag(x1, x2, x3)  =  plus154_out_aag(x1, x2)
U41_aag(x1, x2, x3, x4)  =  U41_aag(x4)
U52_gga(x1, x2, x3)  =  U52_gga(x1, x2, x3)
U53_gga(x1, x2, x3)  =  U53_gga(x2, x3)
U54_gga(x1, x2, x3)  =  U54_gga(x3)
U55_gga(x1, x2, x3)  =  U55_gga(x1, x2, x3)
U56_gga(x1, x2, x3)  =  U56_gga(x2, x3)
U57_gga(x1, x2, x3)  =  U57_gga(x3)
U58_gga(x1, x2, x3)  =  U58_gga(x1, x2, x3)
U59_gga(x1, x2, x3)  =  U59_gga(x2, x3)
U60_gga(x1, x2, x3)  =  U60_gga(x3)
U61_gga(x1, x2, x3)  =  U61_gga(x1, x2, x3)
U62_gga(x1, x2, x3)  =  U62_gga(x2, x3)
U63_gga(x1, x2, x3)  =  U63_gga(x3)
U64_gga(x1, x2, x3)  =  U64_gga(x1, x2, x3)
U65_gga(x1, x2, x3)  =  U65_gga(x2, x3)
U66_gga(x1, x2, x3)  =  U66_gga(x3)
U67_gga(x1, x2, x3)  =  U67_gga(x1, x2, x3)
U68_gga(x1, x2, x3)  =  U68_gga(x2, x3)
U69_gga(x1, x2, x3)  =  U69_gga(x3)
U70_gga(x1, x2, x3)  =  U70_gga(x1, x2, x3)
U71_gga(x1, x2, x3)  =  U71_gga(x2, x3)
U72_gga(x1, x2, x3)  =  U72_gga(x3)
U73_gga(x1, x2, x3)  =  U73_gga(x1, x2, x3)
U74_gga(x1, x2, x3)  =  U74_gga(x2, x3)
U75_gga(x1, x2, x3)  =  U75_gga(x3)
U76_gga(x1, x2, x3, x4)  =  U76_gga(x1, x2, x4)
U77_gga(x1, x2, x3, x4)  =  U77_gga(x2, x4)
U78_gga(x1, x2, x3, x4)  =  U78_gga(x4)
U79_gga(x1, x2, x3, x4)  =  U79_gga(x4)
plus19_in_aaa(x1, x2, x3)  =  plus19_in_aaa
plus19_out_aaa(x1, x2, x3)  =  plus19_out_aaa(x1)
U1_aaa(x1, x2, x3, x4)  =  U1_aaa(x4)
U80_gga(x1, x2, x3, x4)  =  U80_gga(x1, x2, x4)
U81_gga(x1, x2, x3, x4)  =  U81_gga(x4)
U82_gga(x1, x2, x3, x4)  =  U82_gga(x2, x4)
U83_gga(x1, x2, x3, x4)  =  U83_gga(x4)
plus19_in_gaa(x1, x2, x3)  =  plus19_in_gaa(x1)
plus19_out_gaa(x1, x2, x3)  =  plus19_out_gaa
U1_gaa(x1, x2, x3, x4)  =  U1_gaa(x4)
PLUS19_IN_AAA(x1, x2, x3)  =  PLUS19_IN_AAA

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

(140) UsableRulesProof (EQUIVALENT transformation)

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

(141) Obligation:

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

PLUS19_IN_AAA(s(T49), T50, s(T52)) → PLUS19_IN_AAA(T49, T50, T52)

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

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

(142) PiDPToQDPProof (SOUND transformation)

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

(143) Obligation:

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

PLUS19_IN_AAAPLUS19_IN_AAA

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

(144) NonTerminationProof (EQUIVALENT transformation)

We used the non-termination processor [FROCOS05] to show that the DP problem is infinite.
Found a loop by semiunifying a rule from P directly.

s = PLUS19_IN_AAA evaluates to t =PLUS19_IN_AAA

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




Rewriting sequence

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



(145) NO

(146) Obligation:

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

PLUS154_IN_AAG(s(T163), T164, s(X436)) → PLUS154_IN_AAG(T163, T164, X436)

The TRS R consists of the following rules:

times1_in_gga(0, T5, 0) → times1_out_gga(0, T5, 0)
times1_in_gga(s(0), T23, T25) → U44_gga(T23, T25, times18_in_ga(T23, X45))
times18_in_ga(T35, 0) → times18_out_ga(T35, 0)
U44_gga(T23, T25, times18_out_ga(T23, X45)) → times1_out_gga(s(0), T23, T25)
times1_in_gga(s(0), T23, T25) → U45_gga(T23, T25, times18_in_ga(T23, T29))
U45_gga(T23, T25, times18_out_ga(T23, T29)) → U46_gga(T23, T25, plus19_in_gga(T23, T29, T25))
plus19_in_gga(0, T42, T42) → plus19_out_gga(0, T42, T42)
plus19_in_gga(s(T49), T50, s(T52)) → U1_gga(T49, T50, T52, plus19_in_gga(T49, T50, T52))
U1_gga(T49, T50, T52, plus19_out_gga(T49, T50, T52)) → plus19_out_gga(s(T49), T50, s(T52))
U46_gga(T23, T25, plus19_out_gga(T23, T29, T25)) → times1_out_gga(s(0), T23, T25)
times1_in_gga(s(s(T57)), T10, T12) → U47_gga(T57, T10, T12, even36_in_ga(T57, X90))
even36_in_ga(0, true) → even36_out_ga(0, true)
even36_in_ga(s(0), false) → even36_out_ga(s(0), false)
even36_in_ga(s(s(T61)), X101) → U2_ga(T61, X101, even36_in_ga(T61, X101))
U2_ga(T61, X101, even36_out_ga(T61, X101)) → even36_out_ga(s(s(T61)), X101)
U47_gga(T57, T10, T12, even36_out_ga(T57, X90)) → times1_out_gga(s(s(T57)), T10, T12)
times1_in_gga(s(s(T77)), T78, T80) → U48_gga(T77, T78, T80, even36_in_gg(T77, true))
even36_in_gg(0, true) → even36_out_gg(0, true)
even36_in_gg(s(0), false) → even36_out_gg(s(0), false)
even36_in_gg(s(s(T61)), X101) → U2_gg(T61, X101, even36_in_gg(T61, X101))
U2_gg(T61, X101, even36_out_gg(T61, X101)) → even36_out_gg(s(s(T61)), X101)
U48_gga(T77, T78, T80, even36_out_gg(T77, true)) → U49_gga(T77, T78, T80, half56_in_ga(T77, X128))
half56_in_ga(T86, s(X147)) → U43_ga(T86, X147, half60_in_ga(T86, X147))
half60_in_ga(0, 0) → half60_out_ga(0, 0)
half60_in_ga(s(s(T89)), s(X156)) → U3_ga(T89, X156, half60_in_ga(T89, X156))
U3_ga(T89, X156, half60_out_ga(T89, X156)) → half60_out_ga(s(s(T89)), s(X156))
U43_ga(T86, X147, half60_out_ga(T86, X147)) → half56_out_ga(T86, s(X147))
U49_gga(T77, T78, T80, half56_out_ga(T77, X128)) → times1_out_gga(s(s(T77)), T78, T80)
U48_gga(T77, T78, T80, even36_out_gg(T77, true)) → U50_gga(T77, T78, T80, half56_in_ga(T77, T82))
U50_gga(T77, T78, T80, half56_out_ga(T77, T82)) → U51_gga(T77, T78, T80, times69_in_gga(T82, T78, X129))
times69_in_gga(0, T99, 0) → times69_out_gga(0, T99, 0)
times69_in_gga(s(T104), T105, X182) → U4_gga(T104, T105, X182, even36_in_ga(s(T104), X181))
U4_gga(T104, T105, X182, even36_out_ga(s(T104), X181)) → times69_out_gga(s(T104), T105, X182)
times69_in_gga(s(T117), T118, X217) → U5_gga(T117, T118, X217, even36_in_gg(s(T117), true))
U5_gga(T117, T118, X217, even36_out_gg(s(T117), true)) → U6_gga(T117, T118, X217, half60_in_ga(s(T117), X215))
U6_gga(T117, T118, X217, half60_out_ga(s(T117), X215)) → times69_out_gga(s(T117), T118, X217)
U5_gga(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_gga(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_gga(T117, T118, X217, half60_out_ga(s(T117), T120)) → U8_gga(T117, T118, X217, times69_in_gga(T120, T118, X216))
times69_in_gga(s(T117), T118, 0) → U9_gga(T117, T118, even36_in_gg(s(T117), true))
U9_gga(T117, T118, even36_out_gg(s(T117), true)) → U10_gga(T117, T118, half60_in_ga(s(T117), T120))
U10_gga(T117, T118, half60_out_ga(s(T117), T120)) → U11_gga(T117, T118, times69_in_ggg(T120, T118, 0))
times69_in_ggg(0, T99, 0) → times69_out_ggg(0, T99, 0)
times69_in_ggg(s(T104), T105, X182) → U4_ggg(T104, T105, X182, even36_in_ga(s(T104), X181))
U4_ggg(T104, T105, X182, even36_out_ga(s(T104), X181)) → times69_out_ggg(s(T104), T105, X182)
times69_in_ggg(s(T117), T118, X217) → U5_ggg(T117, T118, X217, even36_in_gg(s(T117), true))
U5_ggg(T117, T118, X217, even36_out_gg(s(T117), true)) → U6_ggg(T117, T118, X217, half60_in_ga(s(T117), X215))
U6_ggg(T117, T118, X217, half60_out_ga(s(T117), X215)) → times69_out_ggg(s(T117), T118, X217)
U5_ggg(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_ggg(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_ggg(T117, T118, X217, half60_out_ga(s(T117), T120)) → U8_ggg(T117, T118, X217, times69_in_gga(T120, T118, X216))
times69_in_gga(s(T117), T118, s(s(0))) → U12_gga(T117, T118, even36_in_gg(s(T117), true))
U12_gga(T117, T118, even36_out_gg(s(T117), true)) → U13_gga(T117, T118, half60_in_ga(s(T117), T120))
U13_gga(T117, T118, half60_out_ga(s(T117), T120)) → U14_gga(T117, T118, times69_in_ggg(T120, T118, s(0)))
times69_in_ggg(s(T117), T118, 0) → U9_ggg(T117, T118, even36_in_gg(s(T117), true))
U9_ggg(T117, T118, even36_out_gg(s(T117), true)) → U10_ggg(T117, T118, half60_in_ga(s(T117), T120))
U10_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U11_ggg(T117, T118, times69_in_ggg(T120, T118, 0))
times69_in_ggg(s(T117), T118, s(s(0))) → U12_ggg(T117, T118, even36_in_gg(s(T117), true))
U12_ggg(T117, T118, even36_out_gg(s(T117), true)) → U13_ggg(T117, T118, half60_in_ga(s(T117), T120))
U13_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U14_ggg(T117, T118, times69_in_ggg(T120, T118, s(0)))
times69_in_ggg(s(T117), T118, s(s(s(s(0))))) → U15_ggg(T117, T118, even36_in_gg(s(T117), true))
U15_ggg(T117, T118, even36_out_gg(s(T117), true)) → U16_ggg(T117, T118, half60_in_ga(s(T117), T120))
U16_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U17_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(0))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_ggg(T117, T118, even36_in_gg(s(T117), true))
U18_ggg(T117, T118, even36_out_gg(s(T117), true)) → U19_ggg(T117, T118, half60_in_ga(s(T117), T120))
U19_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U20_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(0)))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → U21_ggg(T117, T118, even36_in_gg(s(T117), true))
U21_ggg(T117, T118, even36_out_gg(s(T117), true)) → U22_ggg(T117, T118, half60_in_ga(s(T117), T120))
U22_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U23_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(0))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U24_ggg(T117, T118, even36_in_gg(s(T117), true))
U24_ggg(T117, T118, even36_out_gg(s(T117), true)) → U25_ggg(T117, T118, half60_in_ga(s(T117), T120))
U25_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U26_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(0)))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U27_ggg(T117, T118, even36_in_gg(s(T117), true))
U27_ggg(T117, T118, even36_out_gg(s(T117), true)) → U28_ggg(T117, T118, half60_in_ga(s(T117), T120))
U28_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U29_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(0))))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U30_ggg(T117, T118, even36_in_gg(s(T117), true))
U30_ggg(T117, T118, even36_out_gg(s(T117), true)) → U31_ggg(T117, T118, half60_in_ga(s(T117), T120))
U31_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U32_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(s(0)))))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → U33_ggg(T117, T118, X411, even36_in_gg(s(T117), true))
U33_ggg(T117, T118, X411, even36_out_gg(s(T117), true)) → U34_ggg(T117, T118, X411, half60_in_ga(s(T117), T120))
U34_ggg(T117, T118, X411, half60_out_ga(s(T117), T120)) → U35_ggg(T117, T118, X411, times69_in_gga(T120, T118, s(s(s(s(s(s(s(s(T150))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(0))))) → U15_gga(T117, T118, even36_in_gg(s(T117), true))
U15_gga(T117, T118, even36_out_gg(s(T117), true)) → U16_gga(T117, T118, half60_in_ga(s(T117), T120))
U16_gga(T117, T118, half60_out_ga(s(T117), T120)) → U17_gga(T117, T118, times69_in_ggg(T120, T118, s(s(0))))
times69_in_ggg(s(T171), T172, X455) → U37_ggg(T171, T172, X455, even36_in_gg(s(T171), false))
U37_ggg(T171, T172, X455, even36_out_gg(s(T171), false)) → U38_ggg(T171, T172, X455, times69_in_gga(T171, T172, X454))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_gga(T117, T118, even36_in_gg(s(T117), true))
U18_gga(T117, T118, even36_out_gg(s(T117), true)) → U19_gga(T117, T118, half60_in_ga(s(T117), T120))
U19_gga(T117, T118, half60_out_ga(s(T117), T120)) → U20_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(0)))))
U20_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(0))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(0)))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → U21_gga(T117, T118, even36_in_gg(s(T117), true))
U21_gga(T117, T118, even36_out_gg(s(T117), true)) → U22_gga(T117, T118, half60_in_ga(s(T117), T120))
U22_gga(T117, T118, half60_out_ga(s(T117), T120)) → U23_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(0))))))
U23_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(0)))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(0)))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U24_gga(T117, T118, even36_in_gg(s(T117), true))
U24_gga(T117, T118, even36_out_gg(s(T117), true)) → U25_gga(T117, T118, half60_in_ga(s(T117), T120))
U25_gga(T117, T118, half60_out_ga(s(T117), T120)) → U26_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(0)))))))
U26_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(0))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0)))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U27_gga(T117, T118, even36_in_gg(s(T117), true))
U27_gga(T117, T118, even36_out_gg(s(T117), true)) → U28_gga(T117, T118, half60_in_ga(s(T117), T120))
U28_gga(T117, T118, half60_out_ga(s(T117), T120)) → U29_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(0))))))))
U29_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(0)))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U30_gga(T117, T118, even36_in_gg(s(T117), true))
U30_gga(T117, T118, even36_out_gg(s(T117), true)) → U31_gga(T117, T118, half60_in_ga(s(T117), T120))
U31_gga(T117, T118, half60_out_ga(s(T117), T120)) → U32_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(s(0)))))))))
U32_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(s(0))))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → U33_gga(T117, T118, X411, even36_in_gg(s(T117), true))
U33_gga(T117, T118, X411, even36_out_gg(s(T117), true)) → U34_gga(T117, T118, X411, half60_in_ga(s(T117), T120))
U34_gga(T117, T118, X411, half60_out_ga(s(T117), T120)) → U35_gga(T117, T118, X411, times69_in_gga(T120, T118, s(s(s(s(s(s(s(s(T150))))))))))
times69_in_gga(s(T171), T172, X455) → U37_gga(T171, T172, X455, even36_in_gg(s(T171), false))
U37_gga(T171, T172, X455, even36_out_gg(s(T171), false)) → U38_gga(T171, T172, X455, times69_in_gga(T171, T172, X454))
U38_gga(T171, T172, X455, times69_out_gga(T171, T172, X454)) → times69_out_gga(s(T171), T172, X455)
U37_gga(T171, T172, X455, even36_out_gg(s(T171), false)) → U39_gga(T171, T172, X455, times69_in_gga(T171, T172, T175))
U39_gga(T171, T172, X455, times69_out_gga(T171, T172, T175)) → U40_gga(T171, T172, X455, plus166_in_gaa(T172, T175, X455))
plus166_in_gaa(0, T184, T184) → plus166_out_gaa(0, T184, T184)
plus166_in_gaa(s(T189), T190, s(X482)) → U42_gaa(T189, T190, X482, plus166_in_gaa(T189, T190, X482))
U42_gaa(T189, T190, X482, plus166_out_gaa(T189, T190, X482)) → plus166_out_gaa(s(T189), T190, s(X482))
U40_gga(T171, T172, X455, plus166_out_gaa(T172, T175, X455)) → times69_out_gga(s(T171), T172, X455)
U35_gga(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → U36_gga(T117, T118, X411, plus154_in_aaa(T150, s(s(s(s(s(s(s(T150))))))), X411))
plus154_in_aaa(0, T158, s(T158)) → plus154_out_aaa(0, T158, s(T158))
plus154_in_aaa(s(T163), T164, s(X436)) → U41_aaa(T163, T164, X436, plus154_in_aaa(T163, T164, X436))
U41_aaa(T163, T164, X436, plus154_out_aaa(T163, T164, X436)) → plus154_out_aaa(s(T163), T164, s(X436))
U36_gga(T117, T118, X411, plus154_out_aaa(T150, s(s(s(s(s(s(s(T150))))))), X411)) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(X411)))))))))
U38_ggg(T171, T172, X455, times69_out_gga(T171, T172, X454)) → times69_out_ggg(s(T171), T172, X455)
U37_ggg(T171, T172, X455, even36_out_gg(s(T171), false)) → U39_ggg(T171, T172, X455, times69_in_gga(T171, T172, T175))
U39_ggg(T171, T172, X455, times69_out_gga(T171, T172, T175)) → U40_ggg(T171, T172, X455, plus166_in_gag(T172, T175, X455))
plus166_in_gag(0, T184, T184) → plus166_out_gag(0, T184, T184)
plus166_in_gag(s(T189), T190, s(X482)) → U42_gag(T189, T190, X482, plus166_in_gag(T189, T190, X482))
U42_gag(T189, T190, X482, plus166_out_gag(T189, T190, X482)) → plus166_out_gag(s(T189), T190, s(X482))
U40_ggg(T171, T172, X455, plus166_out_gag(T172, T175, X455)) → times69_out_ggg(s(T171), T172, X455)
U17_gga(T117, T118, times69_out_ggg(T120, T118, s(s(0)))) → times69_out_gga(s(T117), T118, s(s(s(s(0)))))
U35_ggg(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → U36_ggg(T117, T118, X411, plus154_in_aag(T150, s(s(s(s(s(s(s(T150))))))), X411))
plus154_in_aag(0, T158, s(T158)) → plus154_out_aag(0, T158, s(T158))
plus154_in_aag(s(T163), T164, s(X436)) → U41_aag(T163, T164, X436, plus154_in_aag(T163, T164, X436))
U41_aag(T163, T164, X436, plus154_out_aag(T163, T164, X436)) → plus154_out_aag(s(T163), T164, s(X436))
U36_ggg(T117, T118, X411, plus154_out_aag(T150, s(s(s(s(s(s(s(T150))))))), X411)) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(X411)))))))))
U32_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(s(0))))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
U29_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(0)))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
U26_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(0))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0)))))))))))
U23_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(0)))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(0)))))))))
U20_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(0))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(0)))))))
U17_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(0)))) → times69_out_ggg(s(T117), T118, s(s(s(s(0)))))
U14_ggg(T117, T118, times69_out_ggg(T120, T118, s(0))) → times69_out_ggg(s(T117), T118, s(s(0)))
U11_ggg(T117, T118, times69_out_ggg(T120, T118, 0)) → times69_out_ggg(s(T117), T118, 0)
U14_gga(T117, T118, times69_out_ggg(T120, T118, s(0))) → times69_out_gga(s(T117), T118, s(s(0)))
U8_ggg(T117, T118, X217, times69_out_gga(T120, T118, X216)) → times69_out_ggg(s(T117), T118, X217)
U11_gga(T117, T118, times69_out_ggg(T120, T118, 0)) → times69_out_gga(s(T117), T118, 0)
U8_gga(T117, T118, X217, times69_out_gga(T120, T118, X216)) → times69_out_gga(s(T117), T118, X217)
U51_gga(T77, T78, T80, times69_out_gga(T82, T78, X129)) → times1_out_gga(s(s(T77)), T78, T80)
times1_in_gga(s(s(T77)), T78, 0) → U52_gga(T77, T78, even36_in_gg(T77, true))
U52_gga(T77, T78, even36_out_gg(T77, true)) → U53_gga(T77, T78, half56_in_ga(T77, T82))
U53_gga(T77, T78, half56_out_ga(T77, T82)) → U54_gga(T77, T78, times69_in_ggg(T82, T78, 0))
U54_gga(T77, T78, times69_out_ggg(T82, T78, 0)) → times1_out_gga(s(s(T77)), T78, 0)
times1_in_gga(s(s(T77)), T78, s(s(0))) → U55_gga(T77, T78, even36_in_gg(T77, true))
U55_gga(T77, T78, even36_out_gg(T77, true)) → U56_gga(T77, T78, half56_in_ga(T77, T82))
U56_gga(T77, T78, half56_out_ga(T77, T82)) → U57_gga(T77, T78, times69_in_ggg(T82, T78, s(0)))
U57_gga(T77, T78, times69_out_ggg(T82, T78, s(0))) → times1_out_gga(s(s(T77)), T78, s(s(0)))
times1_in_gga(s(s(T77)), T78, s(s(s(s(0))))) → U58_gga(T77, T78, even36_in_gg(T77, true))
U58_gga(T77, T78, even36_out_gg(T77, true)) → U59_gga(T77, T78, half56_in_ga(T77, T82))
U59_gga(T77, T78, half56_out_ga(T77, T82)) → U60_gga(T77, T78, times69_in_ggg(T82, T78, s(s(0))))
U60_gga(T77, T78, times69_out_ggg(T82, T78, s(s(0)))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(0)))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(0))))))) → U61_gga(T77, T78, even36_in_gg(T77, true))
U61_gga(T77, T78, even36_out_gg(T77, true)) → U62_gga(T77, T78, half56_in_ga(T77, T82))
U62_gga(T77, T78, half56_out_ga(T77, T82)) → U63_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(0)))))
U63_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(0))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(0)))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(0))))))))) → U64_gga(T77, T78, even36_in_gg(T77, true))
U64_gga(T77, T78, even36_out_gg(T77, true)) → U65_gga(T77, T78, half56_in_ga(T77, T82))
U65_gga(T77, T78, half56_out_ga(T77, T82)) → U66_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(0))))))
U66_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(0)))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(0)))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U67_gga(T77, T78, even36_in_gg(T77, true))
U67_gga(T77, T78, even36_out_gg(T77, true)) → U68_gga(T77, T78, half56_in_ga(T77, T82))
U68_gga(T77, T78, half56_out_ga(T77, T82)) → U69_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(0)))))))
U69_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(0))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(0)))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U70_gga(T77, T78, even36_in_gg(T77, true))
U70_gga(T77, T78, even36_out_gg(T77, true)) → U71_gga(T77, T78, half56_in_ga(T77, T82))
U71_gga(T77, T78, half56_out_ga(T77, T82)) → U72_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(s(0))))))))
U72_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(s(0)))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U73_gga(T77, T78, even36_in_gg(T77, true))
U73_gga(T77, T78, even36_out_gg(T77, true)) → U74_gga(T77, T78, half56_in_ga(T77, T82))
U74_gga(T77, T78, half56_out_ga(T77, T82)) → U75_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(s(s(0)))))))))
U75_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(s(s(0))))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(T248))))))))) → U76_gga(T77, T78, T248, even36_in_gg(T77, true))
U76_gga(T77, T78, T248, even36_out_gg(T77, true)) → U77_gga(T77, T78, T248, half56_in_ga(T77, T82))
U77_gga(T77, T78, T248, half56_out_ga(T77, T82)) → U78_gga(T77, T78, T248, times69_in_gga(T82, T78, s(s(s(s(s(s(s(s(T246))))))))))
U78_gga(T77, T78, T248, times69_out_gga(T82, T78, s(s(s(s(s(s(s(s(T246)))))))))) → U79_gga(T77, T78, T248, plus19_in_aaa(T246, s(s(s(s(s(s(s(s(T246)))))))), T248))
plus19_in_aaa(0, T42, T42) → plus19_out_aaa(0, T42, T42)
plus19_in_aaa(s(T49), T50, s(T52)) → U1_aaa(T49, T50, T52, plus19_in_aaa(T49, T50, T52))
U1_aaa(T49, T50, T52, plus19_out_aaa(T49, T50, T52)) → plus19_out_aaa(s(T49), T50, s(T52))
U79_gga(T77, T78, T248, plus19_out_aaa(T246, s(s(s(s(s(s(s(s(T246)))))))), T248)) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(T248)))))))))
times1_in_gga(s(s(T258)), T259, T261) → U80_gga(T258, T259, T261, even36_in_gg(T258, false))
U80_gga(T258, T259, T261, even36_out_gg(T258, false)) → U81_gga(T258, T259, T261, times69_in_gga(s(T258), T259, X662))
U81_gga(T258, T259, T261, times69_out_gga(s(T258), T259, X662)) → times1_out_gga(s(s(T258)), T259, T261)
U80_gga(T258, T259, T261, even36_out_gg(T258, false)) → U82_gga(T258, T259, T261, times69_in_gga(s(T258), T259, T264))
U82_gga(T258, T259, T261, times69_out_gga(s(T258), T259, T264)) → U83_gga(T258, T259, T261, plus19_in_gaa(T259, T264, T261))
plus19_in_gaa(0, T42, T42) → plus19_out_gaa(0, T42, T42)
plus19_in_gaa(s(T49), T50, s(T52)) → U1_gaa(T49, T50, T52, plus19_in_gaa(T49, T50, T52))
U1_gaa(T49, T50, T52, plus19_out_gaa(T49, T50, T52)) → plus19_out_gaa(s(T49), T50, s(T52))
U83_gga(T258, T259, T261, plus19_out_gaa(T259, T264, T261)) → times1_out_gga(s(s(T258)), T259, T261)

The argument filtering Pi contains the following mapping:
times1_in_gga(x1, x2, x3)  =  times1_in_gga(x1, x2)
0  =  0
times1_out_gga(x1, x2, x3)  =  times1_out_gga
s(x1)  =  s(x1)
U44_gga(x1, x2, x3)  =  U44_gga(x3)
times18_in_ga(x1, x2)  =  times18_in_ga(x1)
times18_out_ga(x1, x2)  =  times18_out_ga(x2)
U45_gga(x1, x2, x3)  =  U45_gga(x1, x3)
U46_gga(x1, x2, x3)  =  U46_gga(x3)
plus19_in_gga(x1, x2, x3)  =  plus19_in_gga(x1, x2)
plus19_out_gga(x1, x2, x3)  =  plus19_out_gga(x3)
U1_gga(x1, x2, x3, x4)  =  U1_gga(x4)
U47_gga(x1, x2, x3, x4)  =  U47_gga(x4)
even36_in_ga(x1, x2)  =  even36_in_ga(x1)
even36_out_ga(x1, x2)  =  even36_out_ga(x2)
U2_ga(x1, x2, x3)  =  U2_ga(x3)
U48_gga(x1, x2, x3, x4)  =  U48_gga(x1, x2, x4)
even36_in_gg(x1, x2)  =  even36_in_gg(x1, x2)
true  =  true
even36_out_gg(x1, x2)  =  even36_out_gg
false  =  false
U2_gg(x1, x2, x3)  =  U2_gg(x3)
U49_gga(x1, x2, x3, x4)  =  U49_gga(x4)
half56_in_ga(x1, x2)  =  half56_in_ga(x1)
U43_ga(x1, x2, x3)  =  U43_ga(x3)
half60_in_ga(x1, x2)  =  half60_in_ga(x1)
half60_out_ga(x1, x2)  =  half60_out_ga(x2)
U3_ga(x1, x2, x3)  =  U3_ga(x3)
half56_out_ga(x1, x2)  =  half56_out_ga(x2)
U50_gga(x1, x2, x3, x4)  =  U50_gga(x2, x4)
U51_gga(x1, x2, x3, x4)  =  U51_gga(x4)
times69_in_gga(x1, x2, x3)  =  times69_in_gga(x1, x2)
times69_out_gga(x1, x2, x3)  =  times69_out_gga
U4_gga(x1, x2, x3, x4)  =  U4_gga(x4)
U5_gga(x1, x2, x3, x4)  =  U5_gga(x1, x2, x4)
U6_gga(x1, x2, x3, x4)  =  U6_gga(x4)
U7_gga(x1, x2, x3, x4)  =  U7_gga(x2, x4)
U8_gga(x1, x2, x3, x4)  =  U8_gga(x4)
U9_gga(x1, x2, x3)  =  U9_gga(x1, x2, x3)
U10_gga(x1, x2, x3)  =  U10_gga(x2, x3)
U11_gga(x1, x2, x3)  =  U11_gga(x3)
times69_in_ggg(x1, x2, x3)  =  times69_in_ggg(x1, x2, x3)
times69_out_ggg(x1, x2, x3)  =  times69_out_ggg
U4_ggg(x1, x2, x3, x4)  =  U4_ggg(x4)
U5_ggg(x1, x2, x3, x4)  =  U5_ggg(x1, x2, x4)
U6_ggg(x1, x2, x3, x4)  =  U6_ggg(x4)
U7_ggg(x1, x2, x3, x4)  =  U7_ggg(x2, x4)
U8_ggg(x1, x2, x3, x4)  =  U8_ggg(x4)
U12_gga(x1, x2, x3)  =  U12_gga(x1, x2, x3)
U13_gga(x1, x2, x3)  =  U13_gga(x2, x3)
U14_gga(x1, x2, x3)  =  U14_gga(x3)
U9_ggg(x1, x2, x3)  =  U9_ggg(x1, x2, x3)
U10_ggg(x1, x2, x3)  =  U10_ggg(x2, x3)
U11_ggg(x1, x2, x3)  =  U11_ggg(x3)
U12_ggg(x1, x2, x3)  =  U12_ggg(x1, x2, x3)
U13_ggg(x1, x2, x3)  =  U13_ggg(x2, x3)
U14_ggg(x1, x2, x3)  =  U14_ggg(x3)
U15_ggg(x1, x2, x3)  =  U15_ggg(x1, x2, x3)
U16_ggg(x1, x2, x3)  =  U16_ggg(x2, x3)
U17_ggg(x1, x2, x3)  =  U17_ggg(x3)
U18_ggg(x1, x2, x3)  =  U18_ggg(x1, x2, x3)
U19_ggg(x1, x2, x3)  =  U19_ggg(x2, x3)
U20_ggg(x1, x2, x3)  =  U20_ggg(x3)
U21_ggg(x1, x2, x3)  =  U21_ggg(x1, x2, x3)
U22_ggg(x1, x2, x3)  =  U22_ggg(x2, x3)
U23_ggg(x1, x2, x3)  =  U23_ggg(x3)
U24_ggg(x1, x2, x3)  =  U24_ggg(x1, x2, x3)
U25_ggg(x1, x2, x3)  =  U25_ggg(x2, x3)
U26_ggg(x1, x2, x3)  =  U26_ggg(x3)
U27_ggg(x1, x2, x3)  =  U27_ggg(x1, x2, x3)
U28_ggg(x1, x2, x3)  =  U28_ggg(x2, x3)
U29_ggg(x1, x2, x3)  =  U29_ggg(x3)
U30_ggg(x1, x2, x3)  =  U30_ggg(x1, x2, x3)
U31_ggg(x1, x2, x3)  =  U31_ggg(x2, x3)
U32_ggg(x1, x2, x3)  =  U32_ggg(x3)
U33_ggg(x1, x2, x3, x4)  =  U33_ggg(x1, x2, x3, x4)
U34_ggg(x1, x2, x3, x4)  =  U34_ggg(x2, x3, x4)
U35_ggg(x1, x2, x3, x4)  =  U35_ggg(x3, x4)
U15_gga(x1, x2, x3)  =  U15_gga(x1, x2, x3)
U16_gga(x1, x2, x3)  =  U16_gga(x2, x3)
U17_gga(x1, x2, x3)  =  U17_gga(x3)
U37_ggg(x1, x2, x3, x4)  =  U37_ggg(x1, x2, x3, x4)
U38_ggg(x1, x2, x3, x4)  =  U38_ggg(x4)
U18_gga(x1, x2, x3)  =  U18_gga(x1, x2, x3)
U19_gga(x1, x2, x3)  =  U19_gga(x2, x3)
U20_gga(x1, x2, x3)  =  U20_gga(x3)
U21_gga(x1, x2, x3)  =  U21_gga(x1, x2, x3)
U22_gga(x1, x2, x3)  =  U22_gga(x2, x3)
U23_gga(x1, x2, x3)  =  U23_gga(x3)
U24_gga(x1, x2, x3)  =  U24_gga(x1, x2, x3)
U25_gga(x1, x2, x3)  =  U25_gga(x2, x3)
U26_gga(x1, x2, x3)  =  U26_gga(x3)
U27_gga(x1, x2, x3)  =  U27_gga(x1, x2, x3)
U28_gga(x1, x2, x3)  =  U28_gga(x2, x3)
U29_gga(x1, x2, x3)  =  U29_gga(x3)
U30_gga(x1, x2, x3)  =  U30_gga(x1, x2, x3)
U31_gga(x1, x2, x3)  =  U31_gga(x2, x3)
U32_gga(x1, x2, x3)  =  U32_gga(x3)
U33_gga(x1, x2, x3, x4)  =  U33_gga(x1, x2, x4)
U34_gga(x1, x2, x3, x4)  =  U34_gga(x2, x4)
U35_gga(x1, x2, x3, x4)  =  U35_gga(x4)
U37_gga(x1, x2, x3, x4)  =  U37_gga(x1, x2, x4)
U38_gga(x1, x2, x3, x4)  =  U38_gga(x4)
U39_gga(x1, x2, x3, x4)  =  U39_gga(x2, x4)
U40_gga(x1, x2, x3, x4)  =  U40_gga(x4)
plus166_in_gaa(x1, x2, x3)  =  plus166_in_gaa(x1)
plus166_out_gaa(x1, x2, x3)  =  plus166_out_gaa
U42_gaa(x1, x2, x3, x4)  =  U42_gaa(x4)
U36_gga(x1, x2, x3, x4)  =  U36_gga(x4)
plus154_in_aaa(x1, x2, x3)  =  plus154_in_aaa
plus154_out_aaa(x1, x2, x3)  =  plus154_out_aaa(x1)
U41_aaa(x1, x2, x3, x4)  =  U41_aaa(x4)
U39_ggg(x1, x2, x3, x4)  =  U39_ggg(x2, x3, x4)
U40_ggg(x1, x2, x3, x4)  =  U40_ggg(x4)
plus166_in_gag(x1, x2, x3)  =  plus166_in_gag(x1, x3)
plus166_out_gag(x1, x2, x3)  =  plus166_out_gag(x2)
U42_gag(x1, x2, x3, x4)  =  U42_gag(x4)
U36_ggg(x1, x2, x3, x4)  =  U36_ggg(x4)
plus154_in_aag(x1, x2, x3)  =  plus154_in_aag(x3)
plus154_out_aag(x1, x2, x3)  =  plus154_out_aag(x1, x2)
U41_aag(x1, x2, x3, x4)  =  U41_aag(x4)
U52_gga(x1, x2, x3)  =  U52_gga(x1, x2, x3)
U53_gga(x1, x2, x3)  =  U53_gga(x2, x3)
U54_gga(x1, x2, x3)  =  U54_gga(x3)
U55_gga(x1, x2, x3)  =  U55_gga(x1, x2, x3)
U56_gga(x1, x2, x3)  =  U56_gga(x2, x3)
U57_gga(x1, x2, x3)  =  U57_gga(x3)
U58_gga(x1, x2, x3)  =  U58_gga(x1, x2, x3)
U59_gga(x1, x2, x3)  =  U59_gga(x2, x3)
U60_gga(x1, x2, x3)  =  U60_gga(x3)
U61_gga(x1, x2, x3)  =  U61_gga(x1, x2, x3)
U62_gga(x1, x2, x3)  =  U62_gga(x2, x3)
U63_gga(x1, x2, x3)  =  U63_gga(x3)
U64_gga(x1, x2, x3)  =  U64_gga(x1, x2, x3)
U65_gga(x1, x2, x3)  =  U65_gga(x2, x3)
U66_gga(x1, x2, x3)  =  U66_gga(x3)
U67_gga(x1, x2, x3)  =  U67_gga(x1, x2, x3)
U68_gga(x1, x2, x3)  =  U68_gga(x2, x3)
U69_gga(x1, x2, x3)  =  U69_gga(x3)
U70_gga(x1, x2, x3)  =  U70_gga(x1, x2, x3)
U71_gga(x1, x2, x3)  =  U71_gga(x2, x3)
U72_gga(x1, x2, x3)  =  U72_gga(x3)
U73_gga(x1, x2, x3)  =  U73_gga(x1, x2, x3)
U74_gga(x1, x2, x3)  =  U74_gga(x2, x3)
U75_gga(x1, x2, x3)  =  U75_gga(x3)
U76_gga(x1, x2, x3, x4)  =  U76_gga(x1, x2, x4)
U77_gga(x1, x2, x3, x4)  =  U77_gga(x2, x4)
U78_gga(x1, x2, x3, x4)  =  U78_gga(x4)
U79_gga(x1, x2, x3, x4)  =  U79_gga(x4)
plus19_in_aaa(x1, x2, x3)  =  plus19_in_aaa
plus19_out_aaa(x1, x2, x3)  =  plus19_out_aaa(x1)
U1_aaa(x1, x2, x3, x4)  =  U1_aaa(x4)
U80_gga(x1, x2, x3, x4)  =  U80_gga(x1, x2, x4)
U81_gga(x1, x2, x3, x4)  =  U81_gga(x4)
U82_gga(x1, x2, x3, x4)  =  U82_gga(x2, x4)
U83_gga(x1, x2, x3, x4)  =  U83_gga(x4)
plus19_in_gaa(x1, x2, x3)  =  plus19_in_gaa(x1)
plus19_out_gaa(x1, x2, x3)  =  plus19_out_gaa
U1_gaa(x1, x2, x3, x4)  =  U1_gaa(x4)
PLUS154_IN_AAG(x1, x2, x3)  =  PLUS154_IN_AAG(x3)

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

(147) UsableRulesProof (EQUIVALENT transformation)

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

(148) Obligation:

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

PLUS154_IN_AAG(s(T163), T164, s(X436)) → PLUS154_IN_AAG(T163, T164, X436)

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

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

(149) PiDPToQDPProof (SOUND transformation)

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

(150) Obligation:

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

PLUS154_IN_AAG(s(X436)) → PLUS154_IN_AAG(X436)

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

(151) QDPSizeChangeProof (EQUIVALENT transformation)

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

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

  • PLUS154_IN_AAG(s(X436)) → PLUS154_IN_AAG(X436)
    The graph contains the following edges 1 > 1

(152) YES

(153) Obligation:

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

PLUS166_IN_GAG(s(T189), T190, s(X482)) → PLUS166_IN_GAG(T189, T190, X482)

The TRS R consists of the following rules:

times1_in_gga(0, T5, 0) → times1_out_gga(0, T5, 0)
times1_in_gga(s(0), T23, T25) → U44_gga(T23, T25, times18_in_ga(T23, X45))
times18_in_ga(T35, 0) → times18_out_ga(T35, 0)
U44_gga(T23, T25, times18_out_ga(T23, X45)) → times1_out_gga(s(0), T23, T25)
times1_in_gga(s(0), T23, T25) → U45_gga(T23, T25, times18_in_ga(T23, T29))
U45_gga(T23, T25, times18_out_ga(T23, T29)) → U46_gga(T23, T25, plus19_in_gga(T23, T29, T25))
plus19_in_gga(0, T42, T42) → plus19_out_gga(0, T42, T42)
plus19_in_gga(s(T49), T50, s(T52)) → U1_gga(T49, T50, T52, plus19_in_gga(T49, T50, T52))
U1_gga(T49, T50, T52, plus19_out_gga(T49, T50, T52)) → plus19_out_gga(s(T49), T50, s(T52))
U46_gga(T23, T25, plus19_out_gga(T23, T29, T25)) → times1_out_gga(s(0), T23, T25)
times1_in_gga(s(s(T57)), T10, T12) → U47_gga(T57, T10, T12, even36_in_ga(T57, X90))
even36_in_ga(0, true) → even36_out_ga(0, true)
even36_in_ga(s(0), false) → even36_out_ga(s(0), false)
even36_in_ga(s(s(T61)), X101) → U2_ga(T61, X101, even36_in_ga(T61, X101))
U2_ga(T61, X101, even36_out_ga(T61, X101)) → even36_out_ga(s(s(T61)), X101)
U47_gga(T57, T10, T12, even36_out_ga(T57, X90)) → times1_out_gga(s(s(T57)), T10, T12)
times1_in_gga(s(s(T77)), T78, T80) → U48_gga(T77, T78, T80, even36_in_gg(T77, true))
even36_in_gg(0, true) → even36_out_gg(0, true)
even36_in_gg(s(0), false) → even36_out_gg(s(0), false)
even36_in_gg(s(s(T61)), X101) → U2_gg(T61, X101, even36_in_gg(T61, X101))
U2_gg(T61, X101, even36_out_gg(T61, X101)) → even36_out_gg(s(s(T61)), X101)
U48_gga(T77, T78, T80, even36_out_gg(T77, true)) → U49_gga(T77, T78, T80, half56_in_ga(T77, X128))
half56_in_ga(T86, s(X147)) → U43_ga(T86, X147, half60_in_ga(T86, X147))
half60_in_ga(0, 0) → half60_out_ga(0, 0)
half60_in_ga(s(s(T89)), s(X156)) → U3_ga(T89, X156, half60_in_ga(T89, X156))
U3_ga(T89, X156, half60_out_ga(T89, X156)) → half60_out_ga(s(s(T89)), s(X156))
U43_ga(T86, X147, half60_out_ga(T86, X147)) → half56_out_ga(T86, s(X147))
U49_gga(T77, T78, T80, half56_out_ga(T77, X128)) → times1_out_gga(s(s(T77)), T78, T80)
U48_gga(T77, T78, T80, even36_out_gg(T77, true)) → U50_gga(T77, T78, T80, half56_in_ga(T77, T82))
U50_gga(T77, T78, T80, half56_out_ga(T77, T82)) → U51_gga(T77, T78, T80, times69_in_gga(T82, T78, X129))
times69_in_gga(0, T99, 0) → times69_out_gga(0, T99, 0)
times69_in_gga(s(T104), T105, X182) → U4_gga(T104, T105, X182, even36_in_ga(s(T104), X181))
U4_gga(T104, T105, X182, even36_out_ga(s(T104), X181)) → times69_out_gga(s(T104), T105, X182)
times69_in_gga(s(T117), T118, X217) → U5_gga(T117, T118, X217, even36_in_gg(s(T117), true))
U5_gga(T117, T118, X217, even36_out_gg(s(T117), true)) → U6_gga(T117, T118, X217, half60_in_ga(s(T117), X215))
U6_gga(T117, T118, X217, half60_out_ga(s(T117), X215)) → times69_out_gga(s(T117), T118, X217)
U5_gga(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_gga(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_gga(T117, T118, X217, half60_out_ga(s(T117), T120)) → U8_gga(T117, T118, X217, times69_in_gga(T120, T118, X216))
times69_in_gga(s(T117), T118, 0) → U9_gga(T117, T118, even36_in_gg(s(T117), true))
U9_gga(T117, T118, even36_out_gg(s(T117), true)) → U10_gga(T117, T118, half60_in_ga(s(T117), T120))
U10_gga(T117, T118, half60_out_ga(s(T117), T120)) → U11_gga(T117, T118, times69_in_ggg(T120, T118, 0))
times69_in_ggg(0, T99, 0) → times69_out_ggg(0, T99, 0)
times69_in_ggg(s(T104), T105, X182) → U4_ggg(T104, T105, X182, even36_in_ga(s(T104), X181))
U4_ggg(T104, T105, X182, even36_out_ga(s(T104), X181)) → times69_out_ggg(s(T104), T105, X182)
times69_in_ggg(s(T117), T118, X217) → U5_ggg(T117, T118, X217, even36_in_gg(s(T117), true))
U5_ggg(T117, T118, X217, even36_out_gg(s(T117), true)) → U6_ggg(T117, T118, X217, half60_in_ga(s(T117), X215))
U6_ggg(T117, T118, X217, half60_out_ga(s(T117), X215)) → times69_out_ggg(s(T117), T118, X217)
U5_ggg(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_ggg(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_ggg(T117, T118, X217, half60_out_ga(s(T117), T120)) → U8_ggg(T117, T118, X217, times69_in_gga(T120, T118, X216))
times69_in_gga(s(T117), T118, s(s(0))) → U12_gga(T117, T118, even36_in_gg(s(T117), true))
U12_gga(T117, T118, even36_out_gg(s(T117), true)) → U13_gga(T117, T118, half60_in_ga(s(T117), T120))
U13_gga(T117, T118, half60_out_ga(s(T117), T120)) → U14_gga(T117, T118, times69_in_ggg(T120, T118, s(0)))
times69_in_ggg(s(T117), T118, 0) → U9_ggg(T117, T118, even36_in_gg(s(T117), true))
U9_ggg(T117, T118, even36_out_gg(s(T117), true)) → U10_ggg(T117, T118, half60_in_ga(s(T117), T120))
U10_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U11_ggg(T117, T118, times69_in_ggg(T120, T118, 0))
times69_in_ggg(s(T117), T118, s(s(0))) → U12_ggg(T117, T118, even36_in_gg(s(T117), true))
U12_ggg(T117, T118, even36_out_gg(s(T117), true)) → U13_ggg(T117, T118, half60_in_ga(s(T117), T120))
U13_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U14_ggg(T117, T118, times69_in_ggg(T120, T118, s(0)))
times69_in_ggg(s(T117), T118, s(s(s(s(0))))) → U15_ggg(T117, T118, even36_in_gg(s(T117), true))
U15_ggg(T117, T118, even36_out_gg(s(T117), true)) → U16_ggg(T117, T118, half60_in_ga(s(T117), T120))
U16_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U17_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(0))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_ggg(T117, T118, even36_in_gg(s(T117), true))
U18_ggg(T117, T118, even36_out_gg(s(T117), true)) → U19_ggg(T117, T118, half60_in_ga(s(T117), T120))
U19_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U20_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(0)))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → U21_ggg(T117, T118, even36_in_gg(s(T117), true))
U21_ggg(T117, T118, even36_out_gg(s(T117), true)) → U22_ggg(T117, T118, half60_in_ga(s(T117), T120))
U22_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U23_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(0))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U24_ggg(T117, T118, even36_in_gg(s(T117), true))
U24_ggg(T117, T118, even36_out_gg(s(T117), true)) → U25_ggg(T117, T118, half60_in_ga(s(T117), T120))
U25_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U26_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(0)))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U27_ggg(T117, T118, even36_in_gg(s(T117), true))
U27_ggg(T117, T118, even36_out_gg(s(T117), true)) → U28_ggg(T117, T118, half60_in_ga(s(T117), T120))
U28_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U29_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(0))))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U30_ggg(T117, T118, even36_in_gg(s(T117), true))
U30_ggg(T117, T118, even36_out_gg(s(T117), true)) → U31_ggg(T117, T118, half60_in_ga(s(T117), T120))
U31_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U32_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(s(0)))))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → U33_ggg(T117, T118, X411, even36_in_gg(s(T117), true))
U33_ggg(T117, T118, X411, even36_out_gg(s(T117), true)) → U34_ggg(T117, T118, X411, half60_in_ga(s(T117), T120))
U34_ggg(T117, T118, X411, half60_out_ga(s(T117), T120)) → U35_ggg(T117, T118, X411, times69_in_gga(T120, T118, s(s(s(s(s(s(s(s(T150))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(0))))) → U15_gga(T117, T118, even36_in_gg(s(T117), true))
U15_gga(T117, T118, even36_out_gg(s(T117), true)) → U16_gga(T117, T118, half60_in_ga(s(T117), T120))
U16_gga(T117, T118, half60_out_ga(s(T117), T120)) → U17_gga(T117, T118, times69_in_ggg(T120, T118, s(s(0))))
times69_in_ggg(s(T171), T172, X455) → U37_ggg(T171, T172, X455, even36_in_gg(s(T171), false))
U37_ggg(T171, T172, X455, even36_out_gg(s(T171), false)) → U38_ggg(T171, T172, X455, times69_in_gga(T171, T172, X454))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_gga(T117, T118, even36_in_gg(s(T117), true))
U18_gga(T117, T118, even36_out_gg(s(T117), true)) → U19_gga(T117, T118, half60_in_ga(s(T117), T120))
U19_gga(T117, T118, half60_out_ga(s(T117), T120)) → U20_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(0)))))
U20_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(0))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(0)))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → U21_gga(T117, T118, even36_in_gg(s(T117), true))
U21_gga(T117, T118, even36_out_gg(s(T117), true)) → U22_gga(T117, T118, half60_in_ga(s(T117), T120))
U22_gga(T117, T118, half60_out_ga(s(T117), T120)) → U23_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(0))))))
U23_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(0)))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(0)))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U24_gga(T117, T118, even36_in_gg(s(T117), true))
U24_gga(T117, T118, even36_out_gg(s(T117), true)) → U25_gga(T117, T118, half60_in_ga(s(T117), T120))
U25_gga(T117, T118, half60_out_ga(s(T117), T120)) → U26_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(0)))))))
U26_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(0))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0)))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U27_gga(T117, T118, even36_in_gg(s(T117), true))
U27_gga(T117, T118, even36_out_gg(s(T117), true)) → U28_gga(T117, T118, half60_in_ga(s(T117), T120))
U28_gga(T117, T118, half60_out_ga(s(T117), T120)) → U29_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(0))))))))
U29_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(0)))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U30_gga(T117, T118, even36_in_gg(s(T117), true))
U30_gga(T117, T118, even36_out_gg(s(T117), true)) → U31_gga(T117, T118, half60_in_ga(s(T117), T120))
U31_gga(T117, T118, half60_out_ga(s(T117), T120)) → U32_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(s(0)))))))))
U32_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(s(0))))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → U33_gga(T117, T118, X411, even36_in_gg(s(T117), true))
U33_gga(T117, T118, X411, even36_out_gg(s(T117), true)) → U34_gga(T117, T118, X411, half60_in_ga(s(T117), T120))
U34_gga(T117, T118, X411, half60_out_ga(s(T117), T120)) → U35_gga(T117, T118, X411, times69_in_gga(T120, T118, s(s(s(s(s(s(s(s(T150))))))))))
times69_in_gga(s(T171), T172, X455) → U37_gga(T171, T172, X455, even36_in_gg(s(T171), false))
U37_gga(T171, T172, X455, even36_out_gg(s(T171), false)) → U38_gga(T171, T172, X455, times69_in_gga(T171, T172, X454))
U38_gga(T171, T172, X455, times69_out_gga(T171, T172, X454)) → times69_out_gga(s(T171), T172, X455)
U37_gga(T171, T172, X455, even36_out_gg(s(T171), false)) → U39_gga(T171, T172, X455, times69_in_gga(T171, T172, T175))
U39_gga(T171, T172, X455, times69_out_gga(T171, T172, T175)) → U40_gga(T171, T172, X455, plus166_in_gaa(T172, T175, X455))
plus166_in_gaa(0, T184, T184) → plus166_out_gaa(0, T184, T184)
plus166_in_gaa(s(T189), T190, s(X482)) → U42_gaa(T189, T190, X482, plus166_in_gaa(T189, T190, X482))
U42_gaa(T189, T190, X482, plus166_out_gaa(T189, T190, X482)) → plus166_out_gaa(s(T189), T190, s(X482))
U40_gga(T171, T172, X455, plus166_out_gaa(T172, T175, X455)) → times69_out_gga(s(T171), T172, X455)
U35_gga(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → U36_gga(T117, T118, X411, plus154_in_aaa(T150, s(s(s(s(s(s(s(T150))))))), X411))
plus154_in_aaa(0, T158, s(T158)) → plus154_out_aaa(0, T158, s(T158))
plus154_in_aaa(s(T163), T164, s(X436)) → U41_aaa(T163, T164, X436, plus154_in_aaa(T163, T164, X436))
U41_aaa(T163, T164, X436, plus154_out_aaa(T163, T164, X436)) → plus154_out_aaa(s(T163), T164, s(X436))
U36_gga(T117, T118, X411, plus154_out_aaa(T150, s(s(s(s(s(s(s(T150))))))), X411)) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(X411)))))))))
U38_ggg(T171, T172, X455, times69_out_gga(T171, T172, X454)) → times69_out_ggg(s(T171), T172, X455)
U37_ggg(T171, T172, X455, even36_out_gg(s(T171), false)) → U39_ggg(T171, T172, X455, times69_in_gga(T171, T172, T175))
U39_ggg(T171, T172, X455, times69_out_gga(T171, T172, T175)) → U40_ggg(T171, T172, X455, plus166_in_gag(T172, T175, X455))
plus166_in_gag(0, T184, T184) → plus166_out_gag(0, T184, T184)
plus166_in_gag(s(T189), T190, s(X482)) → U42_gag(T189, T190, X482, plus166_in_gag(T189, T190, X482))
U42_gag(T189, T190, X482, plus166_out_gag(T189, T190, X482)) → plus166_out_gag(s(T189), T190, s(X482))
U40_ggg(T171, T172, X455, plus166_out_gag(T172, T175, X455)) → times69_out_ggg(s(T171), T172, X455)
U17_gga(T117, T118, times69_out_ggg(T120, T118, s(s(0)))) → times69_out_gga(s(T117), T118, s(s(s(s(0)))))
U35_ggg(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → U36_ggg(T117, T118, X411, plus154_in_aag(T150, s(s(s(s(s(s(s(T150))))))), X411))
plus154_in_aag(0, T158, s(T158)) → plus154_out_aag(0, T158, s(T158))
plus154_in_aag(s(T163), T164, s(X436)) → U41_aag(T163, T164, X436, plus154_in_aag(T163, T164, X436))
U41_aag(T163, T164, X436, plus154_out_aag(T163, T164, X436)) → plus154_out_aag(s(T163), T164, s(X436))
U36_ggg(T117, T118, X411, plus154_out_aag(T150, s(s(s(s(s(s(s(T150))))))), X411)) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(X411)))))))))
U32_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(s(0))))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
U29_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(0)))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
U26_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(0))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0)))))))))))
U23_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(0)))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(0)))))))))
U20_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(0))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(0)))))))
U17_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(0)))) → times69_out_ggg(s(T117), T118, s(s(s(s(0)))))
U14_ggg(T117, T118, times69_out_ggg(T120, T118, s(0))) → times69_out_ggg(s(T117), T118, s(s(0)))
U11_ggg(T117, T118, times69_out_ggg(T120, T118, 0)) → times69_out_ggg(s(T117), T118, 0)
U14_gga(T117, T118, times69_out_ggg(T120, T118, s(0))) → times69_out_gga(s(T117), T118, s(s(0)))
U8_ggg(T117, T118, X217, times69_out_gga(T120, T118, X216)) → times69_out_ggg(s(T117), T118, X217)
U11_gga(T117, T118, times69_out_ggg(T120, T118, 0)) → times69_out_gga(s(T117), T118, 0)
U8_gga(T117, T118, X217, times69_out_gga(T120, T118, X216)) → times69_out_gga(s(T117), T118, X217)
U51_gga(T77, T78, T80, times69_out_gga(T82, T78, X129)) → times1_out_gga(s(s(T77)), T78, T80)
times1_in_gga(s(s(T77)), T78, 0) → U52_gga(T77, T78, even36_in_gg(T77, true))
U52_gga(T77, T78, even36_out_gg(T77, true)) → U53_gga(T77, T78, half56_in_ga(T77, T82))
U53_gga(T77, T78, half56_out_ga(T77, T82)) → U54_gga(T77, T78, times69_in_ggg(T82, T78, 0))
U54_gga(T77, T78, times69_out_ggg(T82, T78, 0)) → times1_out_gga(s(s(T77)), T78, 0)
times1_in_gga(s(s(T77)), T78, s(s(0))) → U55_gga(T77, T78, even36_in_gg(T77, true))
U55_gga(T77, T78, even36_out_gg(T77, true)) → U56_gga(T77, T78, half56_in_ga(T77, T82))
U56_gga(T77, T78, half56_out_ga(T77, T82)) → U57_gga(T77, T78, times69_in_ggg(T82, T78, s(0)))
U57_gga(T77, T78, times69_out_ggg(T82, T78, s(0))) → times1_out_gga(s(s(T77)), T78, s(s(0)))
times1_in_gga(s(s(T77)), T78, s(s(s(s(0))))) → U58_gga(T77, T78, even36_in_gg(T77, true))
U58_gga(T77, T78, even36_out_gg(T77, true)) → U59_gga(T77, T78, half56_in_ga(T77, T82))
U59_gga(T77, T78, half56_out_ga(T77, T82)) → U60_gga(T77, T78, times69_in_ggg(T82, T78, s(s(0))))
U60_gga(T77, T78, times69_out_ggg(T82, T78, s(s(0)))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(0)))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(0))))))) → U61_gga(T77, T78, even36_in_gg(T77, true))
U61_gga(T77, T78, even36_out_gg(T77, true)) → U62_gga(T77, T78, half56_in_ga(T77, T82))
U62_gga(T77, T78, half56_out_ga(T77, T82)) → U63_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(0)))))
U63_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(0))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(0)))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(0))))))))) → U64_gga(T77, T78, even36_in_gg(T77, true))
U64_gga(T77, T78, even36_out_gg(T77, true)) → U65_gga(T77, T78, half56_in_ga(T77, T82))
U65_gga(T77, T78, half56_out_ga(T77, T82)) → U66_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(0))))))
U66_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(0)))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(0)))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U67_gga(T77, T78, even36_in_gg(T77, true))
U67_gga(T77, T78, even36_out_gg(T77, true)) → U68_gga(T77, T78, half56_in_ga(T77, T82))
U68_gga(T77, T78, half56_out_ga(T77, T82)) → U69_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(0)))))))
U69_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(0))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(0)))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U70_gga(T77, T78, even36_in_gg(T77, true))
U70_gga(T77, T78, even36_out_gg(T77, true)) → U71_gga(T77, T78, half56_in_ga(T77, T82))
U71_gga(T77, T78, half56_out_ga(T77, T82)) → U72_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(s(0))))))))
U72_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(s(0)))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U73_gga(T77, T78, even36_in_gg(T77, true))
U73_gga(T77, T78, even36_out_gg(T77, true)) → U74_gga(T77, T78, half56_in_ga(T77, T82))
U74_gga(T77, T78, half56_out_ga(T77, T82)) → U75_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(s(s(0)))))))))
U75_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(s(s(0))))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(T248))))))))) → U76_gga(T77, T78, T248, even36_in_gg(T77, true))
U76_gga(T77, T78, T248, even36_out_gg(T77, true)) → U77_gga(T77, T78, T248, half56_in_ga(T77, T82))
U77_gga(T77, T78, T248, half56_out_ga(T77, T82)) → U78_gga(T77, T78, T248, times69_in_gga(T82, T78, s(s(s(s(s(s(s(s(T246))))))))))
U78_gga(T77, T78, T248, times69_out_gga(T82, T78, s(s(s(s(s(s(s(s(T246)))))))))) → U79_gga(T77, T78, T248, plus19_in_aaa(T246, s(s(s(s(s(s(s(s(T246)))))))), T248))
plus19_in_aaa(0, T42, T42) → plus19_out_aaa(0, T42, T42)
plus19_in_aaa(s(T49), T50, s(T52)) → U1_aaa(T49, T50, T52, plus19_in_aaa(T49, T50, T52))
U1_aaa(T49, T50, T52, plus19_out_aaa(T49, T50, T52)) → plus19_out_aaa(s(T49), T50, s(T52))
U79_gga(T77, T78, T248, plus19_out_aaa(T246, s(s(s(s(s(s(s(s(T246)))))))), T248)) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(T248)))))))))
times1_in_gga(s(s(T258)), T259, T261) → U80_gga(T258, T259, T261, even36_in_gg(T258, false))
U80_gga(T258, T259, T261, even36_out_gg(T258, false)) → U81_gga(T258, T259, T261, times69_in_gga(s(T258), T259, X662))
U81_gga(T258, T259, T261, times69_out_gga(s(T258), T259, X662)) → times1_out_gga(s(s(T258)), T259, T261)
U80_gga(T258, T259, T261, even36_out_gg(T258, false)) → U82_gga(T258, T259, T261, times69_in_gga(s(T258), T259, T264))
U82_gga(T258, T259, T261, times69_out_gga(s(T258), T259, T264)) → U83_gga(T258, T259, T261, plus19_in_gaa(T259, T264, T261))
plus19_in_gaa(0, T42, T42) → plus19_out_gaa(0, T42, T42)
plus19_in_gaa(s(T49), T50, s(T52)) → U1_gaa(T49, T50, T52, plus19_in_gaa(T49, T50, T52))
U1_gaa(T49, T50, T52, plus19_out_gaa(T49, T50, T52)) → plus19_out_gaa(s(T49), T50, s(T52))
U83_gga(T258, T259, T261, plus19_out_gaa(T259, T264, T261)) → times1_out_gga(s(s(T258)), T259, T261)

The argument filtering Pi contains the following mapping:
times1_in_gga(x1, x2, x3)  =  times1_in_gga(x1, x2)
0  =  0
times1_out_gga(x1, x2, x3)  =  times1_out_gga
s(x1)  =  s(x1)
U44_gga(x1, x2, x3)  =  U44_gga(x3)
times18_in_ga(x1, x2)  =  times18_in_ga(x1)
times18_out_ga(x1, x2)  =  times18_out_ga(x2)
U45_gga(x1, x2, x3)  =  U45_gga(x1, x3)
U46_gga(x1, x2, x3)  =  U46_gga(x3)
plus19_in_gga(x1, x2, x3)  =  plus19_in_gga(x1, x2)
plus19_out_gga(x1, x2, x3)  =  plus19_out_gga(x3)
U1_gga(x1, x2, x3, x4)  =  U1_gga(x4)
U47_gga(x1, x2, x3, x4)  =  U47_gga(x4)
even36_in_ga(x1, x2)  =  even36_in_ga(x1)
even36_out_ga(x1, x2)  =  even36_out_ga(x2)
U2_ga(x1, x2, x3)  =  U2_ga(x3)
U48_gga(x1, x2, x3, x4)  =  U48_gga(x1, x2, x4)
even36_in_gg(x1, x2)  =  even36_in_gg(x1, x2)
true  =  true
even36_out_gg(x1, x2)  =  even36_out_gg
false  =  false
U2_gg(x1, x2, x3)  =  U2_gg(x3)
U49_gga(x1, x2, x3, x4)  =  U49_gga(x4)
half56_in_ga(x1, x2)  =  half56_in_ga(x1)
U43_ga(x1, x2, x3)  =  U43_ga(x3)
half60_in_ga(x1, x2)  =  half60_in_ga(x1)
half60_out_ga(x1, x2)  =  half60_out_ga(x2)
U3_ga(x1, x2, x3)  =  U3_ga(x3)
half56_out_ga(x1, x2)  =  half56_out_ga(x2)
U50_gga(x1, x2, x3, x4)  =  U50_gga(x2, x4)
U51_gga(x1, x2, x3, x4)  =  U51_gga(x4)
times69_in_gga(x1, x2, x3)  =  times69_in_gga(x1, x2)
times69_out_gga(x1, x2, x3)  =  times69_out_gga
U4_gga(x1, x2, x3, x4)  =  U4_gga(x4)
U5_gga(x1, x2, x3, x4)  =  U5_gga(x1, x2, x4)
U6_gga(x1, x2, x3, x4)  =  U6_gga(x4)
U7_gga(x1, x2, x3, x4)  =  U7_gga(x2, x4)
U8_gga(x1, x2, x3, x4)  =  U8_gga(x4)
U9_gga(x1, x2, x3)  =  U9_gga(x1, x2, x3)
U10_gga(x1, x2, x3)  =  U10_gga(x2, x3)
U11_gga(x1, x2, x3)  =  U11_gga(x3)
times69_in_ggg(x1, x2, x3)  =  times69_in_ggg(x1, x2, x3)
times69_out_ggg(x1, x2, x3)  =  times69_out_ggg
U4_ggg(x1, x2, x3, x4)  =  U4_ggg(x4)
U5_ggg(x1, x2, x3, x4)  =  U5_ggg(x1, x2, x4)
U6_ggg(x1, x2, x3, x4)  =  U6_ggg(x4)
U7_ggg(x1, x2, x3, x4)  =  U7_ggg(x2, x4)
U8_ggg(x1, x2, x3, x4)  =  U8_ggg(x4)
U12_gga(x1, x2, x3)  =  U12_gga(x1, x2, x3)
U13_gga(x1, x2, x3)  =  U13_gga(x2, x3)
U14_gga(x1, x2, x3)  =  U14_gga(x3)
U9_ggg(x1, x2, x3)  =  U9_ggg(x1, x2, x3)
U10_ggg(x1, x2, x3)  =  U10_ggg(x2, x3)
U11_ggg(x1, x2, x3)  =  U11_ggg(x3)
U12_ggg(x1, x2, x3)  =  U12_ggg(x1, x2, x3)
U13_ggg(x1, x2, x3)  =  U13_ggg(x2, x3)
U14_ggg(x1, x2, x3)  =  U14_ggg(x3)
U15_ggg(x1, x2, x3)  =  U15_ggg(x1, x2, x3)
U16_ggg(x1, x2, x3)  =  U16_ggg(x2, x3)
U17_ggg(x1, x2, x3)  =  U17_ggg(x3)
U18_ggg(x1, x2, x3)  =  U18_ggg(x1, x2, x3)
U19_ggg(x1, x2, x3)  =  U19_ggg(x2, x3)
U20_ggg(x1, x2, x3)  =  U20_ggg(x3)
U21_ggg(x1, x2, x3)  =  U21_ggg(x1, x2, x3)
U22_ggg(x1, x2, x3)  =  U22_ggg(x2, x3)
U23_ggg(x1, x2, x3)  =  U23_ggg(x3)
U24_ggg(x1, x2, x3)  =  U24_ggg(x1, x2, x3)
U25_ggg(x1, x2, x3)  =  U25_ggg(x2, x3)
U26_ggg(x1, x2, x3)  =  U26_ggg(x3)
U27_ggg(x1, x2, x3)  =  U27_ggg(x1, x2, x3)
U28_ggg(x1, x2, x3)  =  U28_ggg(x2, x3)
U29_ggg(x1, x2, x3)  =  U29_ggg(x3)
U30_ggg(x1, x2, x3)  =  U30_ggg(x1, x2, x3)
U31_ggg(x1, x2, x3)  =  U31_ggg(x2, x3)
U32_ggg(x1, x2, x3)  =  U32_ggg(x3)
U33_ggg(x1, x2, x3, x4)  =  U33_ggg(x1, x2, x3, x4)
U34_ggg(x1, x2, x3, x4)  =  U34_ggg(x2, x3, x4)
U35_ggg(x1, x2, x3, x4)  =  U35_ggg(x3, x4)
U15_gga(x1, x2, x3)  =  U15_gga(x1, x2, x3)
U16_gga(x1, x2, x3)  =  U16_gga(x2, x3)
U17_gga(x1, x2, x3)  =  U17_gga(x3)
U37_ggg(x1, x2, x3, x4)  =  U37_ggg(x1, x2, x3, x4)
U38_ggg(x1, x2, x3, x4)  =  U38_ggg(x4)
U18_gga(x1, x2, x3)  =  U18_gga(x1, x2, x3)
U19_gga(x1, x2, x3)  =  U19_gga(x2, x3)
U20_gga(x1, x2, x3)  =  U20_gga(x3)
U21_gga(x1, x2, x3)  =  U21_gga(x1, x2, x3)
U22_gga(x1, x2, x3)  =  U22_gga(x2, x3)
U23_gga(x1, x2, x3)  =  U23_gga(x3)
U24_gga(x1, x2, x3)  =  U24_gga(x1, x2, x3)
U25_gga(x1, x2, x3)  =  U25_gga(x2, x3)
U26_gga(x1, x2, x3)  =  U26_gga(x3)
U27_gga(x1, x2, x3)  =  U27_gga(x1, x2, x3)
U28_gga(x1, x2, x3)  =  U28_gga(x2, x3)
U29_gga(x1, x2, x3)  =  U29_gga(x3)
U30_gga(x1, x2, x3)  =  U30_gga(x1, x2, x3)
U31_gga(x1, x2, x3)  =  U31_gga(x2, x3)
U32_gga(x1, x2, x3)  =  U32_gga(x3)
U33_gga(x1, x2, x3, x4)  =  U33_gga(x1, x2, x4)
U34_gga(x1, x2, x3, x4)  =  U34_gga(x2, x4)
U35_gga(x1, x2, x3, x4)  =  U35_gga(x4)
U37_gga(x1, x2, x3, x4)  =  U37_gga(x1, x2, x4)
U38_gga(x1, x2, x3, x4)  =  U38_gga(x4)
U39_gga(x1, x2, x3, x4)  =  U39_gga(x2, x4)
U40_gga(x1, x2, x3, x4)  =  U40_gga(x4)
plus166_in_gaa(x1, x2, x3)  =  plus166_in_gaa(x1)
plus166_out_gaa(x1, x2, x3)  =  plus166_out_gaa
U42_gaa(x1, x2, x3, x4)  =  U42_gaa(x4)
U36_gga(x1, x2, x3, x4)  =  U36_gga(x4)
plus154_in_aaa(x1, x2, x3)  =  plus154_in_aaa
plus154_out_aaa(x1, x2, x3)  =  plus154_out_aaa(x1)
U41_aaa(x1, x2, x3, x4)  =  U41_aaa(x4)
U39_ggg(x1, x2, x3, x4)  =  U39_ggg(x2, x3, x4)
U40_ggg(x1, x2, x3, x4)  =  U40_ggg(x4)
plus166_in_gag(x1, x2, x3)  =  plus166_in_gag(x1, x3)
plus166_out_gag(x1, x2, x3)  =  plus166_out_gag(x2)
U42_gag(x1, x2, x3, x4)  =  U42_gag(x4)
U36_ggg(x1, x2, x3, x4)  =  U36_ggg(x4)
plus154_in_aag(x1, x2, x3)  =  plus154_in_aag(x3)
plus154_out_aag(x1, x2, x3)  =  plus154_out_aag(x1, x2)
U41_aag(x1, x2, x3, x4)  =  U41_aag(x4)
U52_gga(x1, x2, x3)  =  U52_gga(x1, x2, x3)
U53_gga(x1, x2, x3)  =  U53_gga(x2, x3)
U54_gga(x1, x2, x3)  =  U54_gga(x3)
U55_gga(x1, x2, x3)  =  U55_gga(x1, x2, x3)
U56_gga(x1, x2, x3)  =  U56_gga(x2, x3)
U57_gga(x1, x2, x3)  =  U57_gga(x3)
U58_gga(x1, x2, x3)  =  U58_gga(x1, x2, x3)
U59_gga(x1, x2, x3)  =  U59_gga(x2, x3)
U60_gga(x1, x2, x3)  =  U60_gga(x3)
U61_gga(x1, x2, x3)  =  U61_gga(x1, x2, x3)
U62_gga(x1, x2, x3)  =  U62_gga(x2, x3)
U63_gga(x1, x2, x3)  =  U63_gga(x3)
U64_gga(x1, x2, x3)  =  U64_gga(x1, x2, x3)
U65_gga(x1, x2, x3)  =  U65_gga(x2, x3)
U66_gga(x1, x2, x3)  =  U66_gga(x3)
U67_gga(x1, x2, x3)  =  U67_gga(x1, x2, x3)
U68_gga(x1, x2, x3)  =  U68_gga(x2, x3)
U69_gga(x1, x2, x3)  =  U69_gga(x3)
U70_gga(x1, x2, x3)  =  U70_gga(x1, x2, x3)
U71_gga(x1, x2, x3)  =  U71_gga(x2, x3)
U72_gga(x1, x2, x3)  =  U72_gga(x3)
U73_gga(x1, x2, x3)  =  U73_gga(x1, x2, x3)
U74_gga(x1, x2, x3)  =  U74_gga(x2, x3)
U75_gga(x1, x2, x3)  =  U75_gga(x3)
U76_gga(x1, x2, x3, x4)  =  U76_gga(x1, x2, x4)
U77_gga(x1, x2, x3, x4)  =  U77_gga(x2, x4)
U78_gga(x1, x2, x3, x4)  =  U78_gga(x4)
U79_gga(x1, x2, x3, x4)  =  U79_gga(x4)
plus19_in_aaa(x1, x2, x3)  =  plus19_in_aaa
plus19_out_aaa(x1, x2, x3)  =  plus19_out_aaa(x1)
U1_aaa(x1, x2, x3, x4)  =  U1_aaa(x4)
U80_gga(x1, x2, x3, x4)  =  U80_gga(x1, x2, x4)
U81_gga(x1, x2, x3, x4)  =  U81_gga(x4)
U82_gga(x1, x2, x3, x4)  =  U82_gga(x2, x4)
U83_gga(x1, x2, x3, x4)  =  U83_gga(x4)
plus19_in_gaa(x1, x2, x3)  =  plus19_in_gaa(x1)
plus19_out_gaa(x1, x2, x3)  =  plus19_out_gaa
U1_gaa(x1, x2, x3, x4)  =  U1_gaa(x4)
PLUS166_IN_GAG(x1, x2, x3)  =  PLUS166_IN_GAG(x1, x3)

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

(154) UsableRulesProof (EQUIVALENT transformation)

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

(155) Obligation:

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

PLUS166_IN_GAG(s(T189), T190, s(X482)) → PLUS166_IN_GAG(T189, T190, X482)

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

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

(156) PiDPToQDPProof (SOUND transformation)

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

(157) Obligation:

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

PLUS166_IN_GAG(s(T189), s(X482)) → PLUS166_IN_GAG(T189, X482)

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

(158) QDPSizeChangeProof (EQUIVALENT transformation)

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

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

  • PLUS166_IN_GAG(s(T189), s(X482)) → PLUS166_IN_GAG(T189, X482)
    The graph contains the following edges 1 > 1, 2 > 2

(159) YES

(160) Obligation:

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

PLUS154_IN_AAA(s(T163), T164, s(X436)) → PLUS154_IN_AAA(T163, T164, X436)

The TRS R consists of the following rules:

times1_in_gga(0, T5, 0) → times1_out_gga(0, T5, 0)
times1_in_gga(s(0), T23, T25) → U44_gga(T23, T25, times18_in_ga(T23, X45))
times18_in_ga(T35, 0) → times18_out_ga(T35, 0)
U44_gga(T23, T25, times18_out_ga(T23, X45)) → times1_out_gga(s(0), T23, T25)
times1_in_gga(s(0), T23, T25) → U45_gga(T23, T25, times18_in_ga(T23, T29))
U45_gga(T23, T25, times18_out_ga(T23, T29)) → U46_gga(T23, T25, plus19_in_gga(T23, T29, T25))
plus19_in_gga(0, T42, T42) → plus19_out_gga(0, T42, T42)
plus19_in_gga(s(T49), T50, s(T52)) → U1_gga(T49, T50, T52, plus19_in_gga(T49, T50, T52))
U1_gga(T49, T50, T52, plus19_out_gga(T49, T50, T52)) → plus19_out_gga(s(T49), T50, s(T52))
U46_gga(T23, T25, plus19_out_gga(T23, T29, T25)) → times1_out_gga(s(0), T23, T25)
times1_in_gga(s(s(T57)), T10, T12) → U47_gga(T57, T10, T12, even36_in_ga(T57, X90))
even36_in_ga(0, true) → even36_out_ga(0, true)
even36_in_ga(s(0), false) → even36_out_ga(s(0), false)
even36_in_ga(s(s(T61)), X101) → U2_ga(T61, X101, even36_in_ga(T61, X101))
U2_ga(T61, X101, even36_out_ga(T61, X101)) → even36_out_ga(s(s(T61)), X101)
U47_gga(T57, T10, T12, even36_out_ga(T57, X90)) → times1_out_gga(s(s(T57)), T10, T12)
times1_in_gga(s(s(T77)), T78, T80) → U48_gga(T77, T78, T80, even36_in_gg(T77, true))
even36_in_gg(0, true) → even36_out_gg(0, true)
even36_in_gg(s(0), false) → even36_out_gg(s(0), false)
even36_in_gg(s(s(T61)), X101) → U2_gg(T61, X101, even36_in_gg(T61, X101))
U2_gg(T61, X101, even36_out_gg(T61, X101)) → even36_out_gg(s(s(T61)), X101)
U48_gga(T77, T78, T80, even36_out_gg(T77, true)) → U49_gga(T77, T78, T80, half56_in_ga(T77, X128))
half56_in_ga(T86, s(X147)) → U43_ga(T86, X147, half60_in_ga(T86, X147))
half60_in_ga(0, 0) → half60_out_ga(0, 0)
half60_in_ga(s(s(T89)), s(X156)) → U3_ga(T89, X156, half60_in_ga(T89, X156))
U3_ga(T89, X156, half60_out_ga(T89, X156)) → half60_out_ga(s(s(T89)), s(X156))
U43_ga(T86, X147, half60_out_ga(T86, X147)) → half56_out_ga(T86, s(X147))
U49_gga(T77, T78, T80, half56_out_ga(T77, X128)) → times1_out_gga(s(s(T77)), T78, T80)
U48_gga(T77, T78, T80, even36_out_gg(T77, true)) → U50_gga(T77, T78, T80, half56_in_ga(T77, T82))
U50_gga(T77, T78, T80, half56_out_ga(T77, T82)) → U51_gga(T77, T78, T80, times69_in_gga(T82, T78, X129))
times69_in_gga(0, T99, 0) → times69_out_gga(0, T99, 0)
times69_in_gga(s(T104), T105, X182) → U4_gga(T104, T105, X182, even36_in_ga(s(T104), X181))
U4_gga(T104, T105, X182, even36_out_ga(s(T104), X181)) → times69_out_gga(s(T104), T105, X182)
times69_in_gga(s(T117), T118, X217) → U5_gga(T117, T118, X217, even36_in_gg(s(T117), true))
U5_gga(T117, T118, X217, even36_out_gg(s(T117), true)) → U6_gga(T117, T118, X217, half60_in_ga(s(T117), X215))
U6_gga(T117, T118, X217, half60_out_ga(s(T117), X215)) → times69_out_gga(s(T117), T118, X217)
U5_gga(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_gga(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_gga(T117, T118, X217, half60_out_ga(s(T117), T120)) → U8_gga(T117, T118, X217, times69_in_gga(T120, T118, X216))
times69_in_gga(s(T117), T118, 0) → U9_gga(T117, T118, even36_in_gg(s(T117), true))
U9_gga(T117, T118, even36_out_gg(s(T117), true)) → U10_gga(T117, T118, half60_in_ga(s(T117), T120))
U10_gga(T117, T118, half60_out_ga(s(T117), T120)) → U11_gga(T117, T118, times69_in_ggg(T120, T118, 0))
times69_in_ggg(0, T99, 0) → times69_out_ggg(0, T99, 0)
times69_in_ggg(s(T104), T105, X182) → U4_ggg(T104, T105, X182, even36_in_ga(s(T104), X181))
U4_ggg(T104, T105, X182, even36_out_ga(s(T104), X181)) → times69_out_ggg(s(T104), T105, X182)
times69_in_ggg(s(T117), T118, X217) → U5_ggg(T117, T118, X217, even36_in_gg(s(T117), true))
U5_ggg(T117, T118, X217, even36_out_gg(s(T117), true)) → U6_ggg(T117, T118, X217, half60_in_ga(s(T117), X215))
U6_ggg(T117, T118, X217, half60_out_ga(s(T117), X215)) → times69_out_ggg(s(T117), T118, X217)
U5_ggg(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_ggg(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_ggg(T117, T118, X217, half60_out_ga(s(T117), T120)) → U8_ggg(T117, T118, X217, times69_in_gga(T120, T118, X216))
times69_in_gga(s(T117), T118, s(s(0))) → U12_gga(T117, T118, even36_in_gg(s(T117), true))
U12_gga(T117, T118, even36_out_gg(s(T117), true)) → U13_gga(T117, T118, half60_in_ga(s(T117), T120))
U13_gga(T117, T118, half60_out_ga(s(T117), T120)) → U14_gga(T117, T118, times69_in_ggg(T120, T118, s(0)))
times69_in_ggg(s(T117), T118, 0) → U9_ggg(T117, T118, even36_in_gg(s(T117), true))
U9_ggg(T117, T118, even36_out_gg(s(T117), true)) → U10_ggg(T117, T118, half60_in_ga(s(T117), T120))
U10_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U11_ggg(T117, T118, times69_in_ggg(T120, T118, 0))
times69_in_ggg(s(T117), T118, s(s(0))) → U12_ggg(T117, T118, even36_in_gg(s(T117), true))
U12_ggg(T117, T118, even36_out_gg(s(T117), true)) → U13_ggg(T117, T118, half60_in_ga(s(T117), T120))
U13_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U14_ggg(T117, T118, times69_in_ggg(T120, T118, s(0)))
times69_in_ggg(s(T117), T118, s(s(s(s(0))))) → U15_ggg(T117, T118, even36_in_gg(s(T117), true))
U15_ggg(T117, T118, even36_out_gg(s(T117), true)) → U16_ggg(T117, T118, half60_in_ga(s(T117), T120))
U16_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U17_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(0))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_ggg(T117, T118, even36_in_gg(s(T117), true))
U18_ggg(T117, T118, even36_out_gg(s(T117), true)) → U19_ggg(T117, T118, half60_in_ga(s(T117), T120))
U19_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U20_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(0)))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → U21_ggg(T117, T118, even36_in_gg(s(T117), true))
U21_ggg(T117, T118, even36_out_gg(s(T117), true)) → U22_ggg(T117, T118, half60_in_ga(s(T117), T120))
U22_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U23_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(0))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U24_ggg(T117, T118, even36_in_gg(s(T117), true))
U24_ggg(T117, T118, even36_out_gg(s(T117), true)) → U25_ggg(T117, T118, half60_in_ga(s(T117), T120))
U25_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U26_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(0)))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U27_ggg(T117, T118, even36_in_gg(s(T117), true))
U27_ggg(T117, T118, even36_out_gg(s(T117), true)) → U28_ggg(T117, T118, half60_in_ga(s(T117), T120))
U28_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U29_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(0))))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U30_ggg(T117, T118, even36_in_gg(s(T117), true))
U30_ggg(T117, T118, even36_out_gg(s(T117), true)) → U31_ggg(T117, T118, half60_in_ga(s(T117), T120))
U31_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U32_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(s(0)))))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → U33_ggg(T117, T118, X411, even36_in_gg(s(T117), true))
U33_ggg(T117, T118, X411, even36_out_gg(s(T117), true)) → U34_ggg(T117, T118, X411, half60_in_ga(s(T117), T120))
U34_ggg(T117, T118, X411, half60_out_ga(s(T117), T120)) → U35_ggg(T117, T118, X411, times69_in_gga(T120, T118, s(s(s(s(s(s(s(s(T150))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(0))))) → U15_gga(T117, T118, even36_in_gg(s(T117), true))
U15_gga(T117, T118, even36_out_gg(s(T117), true)) → U16_gga(T117, T118, half60_in_ga(s(T117), T120))
U16_gga(T117, T118, half60_out_ga(s(T117), T120)) → U17_gga(T117, T118, times69_in_ggg(T120, T118, s(s(0))))
times69_in_ggg(s(T171), T172, X455) → U37_ggg(T171, T172, X455, even36_in_gg(s(T171), false))
U37_ggg(T171, T172, X455, even36_out_gg(s(T171), false)) → U38_ggg(T171, T172, X455, times69_in_gga(T171, T172, X454))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_gga(T117, T118, even36_in_gg(s(T117), true))
U18_gga(T117, T118, even36_out_gg(s(T117), true)) → U19_gga(T117, T118, half60_in_ga(s(T117), T120))
U19_gga(T117, T118, half60_out_ga(s(T117), T120)) → U20_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(0)))))
U20_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(0))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(0)))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → U21_gga(T117, T118, even36_in_gg(s(T117), true))
U21_gga(T117, T118, even36_out_gg(s(T117), true)) → U22_gga(T117, T118, half60_in_ga(s(T117), T120))
U22_gga(T117, T118, half60_out_ga(s(T117), T120)) → U23_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(0))))))
U23_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(0)))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(0)))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U24_gga(T117, T118, even36_in_gg(s(T117), true))
U24_gga(T117, T118, even36_out_gg(s(T117), true)) → U25_gga(T117, T118, half60_in_ga(s(T117), T120))
U25_gga(T117, T118, half60_out_ga(s(T117), T120)) → U26_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(0)))))))
U26_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(0))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0)))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U27_gga(T117, T118, even36_in_gg(s(T117), true))
U27_gga(T117, T118, even36_out_gg(s(T117), true)) → U28_gga(T117, T118, half60_in_ga(s(T117), T120))
U28_gga(T117, T118, half60_out_ga(s(T117), T120)) → U29_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(0))))))))
U29_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(0)))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U30_gga(T117, T118, even36_in_gg(s(T117), true))
U30_gga(T117, T118, even36_out_gg(s(T117), true)) → U31_gga(T117, T118, half60_in_ga(s(T117), T120))
U31_gga(T117, T118, half60_out_ga(s(T117), T120)) → U32_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(s(0)))))))))
U32_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(s(0))))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → U33_gga(T117, T118, X411, even36_in_gg(s(T117), true))
U33_gga(T117, T118, X411, even36_out_gg(s(T117), true)) → U34_gga(T117, T118, X411, half60_in_ga(s(T117), T120))
U34_gga(T117, T118, X411, half60_out_ga(s(T117), T120)) → U35_gga(T117, T118, X411, times69_in_gga(T120, T118, s(s(s(s(s(s(s(s(T150))))))))))
times69_in_gga(s(T171), T172, X455) → U37_gga(T171, T172, X455, even36_in_gg(s(T171), false))
U37_gga(T171, T172, X455, even36_out_gg(s(T171), false)) → U38_gga(T171, T172, X455, times69_in_gga(T171, T172, X454))
U38_gga(T171, T172, X455, times69_out_gga(T171, T172, X454)) → times69_out_gga(s(T171), T172, X455)
U37_gga(T171, T172, X455, even36_out_gg(s(T171), false)) → U39_gga(T171, T172, X455, times69_in_gga(T171, T172, T175))
U39_gga(T171, T172, X455, times69_out_gga(T171, T172, T175)) → U40_gga(T171, T172, X455, plus166_in_gaa(T172, T175, X455))
plus166_in_gaa(0, T184, T184) → plus166_out_gaa(0, T184, T184)
plus166_in_gaa(s(T189), T190, s(X482)) → U42_gaa(T189, T190, X482, plus166_in_gaa(T189, T190, X482))
U42_gaa(T189, T190, X482, plus166_out_gaa(T189, T190, X482)) → plus166_out_gaa(s(T189), T190, s(X482))
U40_gga(T171, T172, X455, plus166_out_gaa(T172, T175, X455)) → times69_out_gga(s(T171), T172, X455)
U35_gga(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → U36_gga(T117, T118, X411, plus154_in_aaa(T150, s(s(s(s(s(s(s(T150))))))), X411))
plus154_in_aaa(0, T158, s(T158)) → plus154_out_aaa(0, T158, s(T158))
plus154_in_aaa(s(T163), T164, s(X436)) → U41_aaa(T163, T164, X436, plus154_in_aaa(T163, T164, X436))
U41_aaa(T163, T164, X436, plus154_out_aaa(T163, T164, X436)) → plus154_out_aaa(s(T163), T164, s(X436))
U36_gga(T117, T118, X411, plus154_out_aaa(T150, s(s(s(s(s(s(s(T150))))))), X411)) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(X411)))))))))
U38_ggg(T171, T172, X455, times69_out_gga(T171, T172, X454)) → times69_out_ggg(s(T171), T172, X455)
U37_ggg(T171, T172, X455, even36_out_gg(s(T171), false)) → U39_ggg(T171, T172, X455, times69_in_gga(T171, T172, T175))
U39_ggg(T171, T172, X455, times69_out_gga(T171, T172, T175)) → U40_ggg(T171, T172, X455, plus166_in_gag(T172, T175, X455))
plus166_in_gag(0, T184, T184) → plus166_out_gag(0, T184, T184)
plus166_in_gag(s(T189), T190, s(X482)) → U42_gag(T189, T190, X482, plus166_in_gag(T189, T190, X482))
U42_gag(T189, T190, X482, plus166_out_gag(T189, T190, X482)) → plus166_out_gag(s(T189), T190, s(X482))
U40_ggg(T171, T172, X455, plus166_out_gag(T172, T175, X455)) → times69_out_ggg(s(T171), T172, X455)
U17_gga(T117, T118, times69_out_ggg(T120, T118, s(s(0)))) → times69_out_gga(s(T117), T118, s(s(s(s(0)))))
U35_ggg(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → U36_ggg(T117, T118, X411, plus154_in_aag(T150, s(s(s(s(s(s(s(T150))))))), X411))
plus154_in_aag(0, T158, s(T158)) → plus154_out_aag(0, T158, s(T158))
plus154_in_aag(s(T163), T164, s(X436)) → U41_aag(T163, T164, X436, plus154_in_aag(T163, T164, X436))
U41_aag(T163, T164, X436, plus154_out_aag(T163, T164, X436)) → plus154_out_aag(s(T163), T164, s(X436))
U36_ggg(T117, T118, X411, plus154_out_aag(T150, s(s(s(s(s(s(s(T150))))))), X411)) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(X411)))))))))
U32_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(s(0))))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
U29_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(0)))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
U26_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(0))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0)))))))))))
U23_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(0)))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(0)))))))))
U20_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(0))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(0)))))))
U17_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(0)))) → times69_out_ggg(s(T117), T118, s(s(s(s(0)))))
U14_ggg(T117, T118, times69_out_ggg(T120, T118, s(0))) → times69_out_ggg(s(T117), T118, s(s(0)))
U11_ggg(T117, T118, times69_out_ggg(T120, T118, 0)) → times69_out_ggg(s(T117), T118, 0)
U14_gga(T117, T118, times69_out_ggg(T120, T118, s(0))) → times69_out_gga(s(T117), T118, s(s(0)))
U8_ggg(T117, T118, X217, times69_out_gga(T120, T118, X216)) → times69_out_ggg(s(T117), T118, X217)
U11_gga(T117, T118, times69_out_ggg(T120, T118, 0)) → times69_out_gga(s(T117), T118, 0)
U8_gga(T117, T118, X217, times69_out_gga(T120, T118, X216)) → times69_out_gga(s(T117), T118, X217)
U51_gga(T77, T78, T80, times69_out_gga(T82, T78, X129)) → times1_out_gga(s(s(T77)), T78, T80)
times1_in_gga(s(s(T77)), T78, 0) → U52_gga(T77, T78, even36_in_gg(T77, true))
U52_gga(T77, T78, even36_out_gg(T77, true)) → U53_gga(T77, T78, half56_in_ga(T77, T82))
U53_gga(T77, T78, half56_out_ga(T77, T82)) → U54_gga(T77, T78, times69_in_ggg(T82, T78, 0))
U54_gga(T77, T78, times69_out_ggg(T82, T78, 0)) → times1_out_gga(s(s(T77)), T78, 0)
times1_in_gga(s(s(T77)), T78, s(s(0))) → U55_gga(T77, T78, even36_in_gg(T77, true))
U55_gga(T77, T78, even36_out_gg(T77, true)) → U56_gga(T77, T78, half56_in_ga(T77, T82))
U56_gga(T77, T78, half56_out_ga(T77, T82)) → U57_gga(T77, T78, times69_in_ggg(T82, T78, s(0)))
U57_gga(T77, T78, times69_out_ggg(T82, T78, s(0))) → times1_out_gga(s(s(T77)), T78, s(s(0)))
times1_in_gga(s(s(T77)), T78, s(s(s(s(0))))) → U58_gga(T77, T78, even36_in_gg(T77, true))
U58_gga(T77, T78, even36_out_gg(T77, true)) → U59_gga(T77, T78, half56_in_ga(T77, T82))
U59_gga(T77, T78, half56_out_ga(T77, T82)) → U60_gga(T77, T78, times69_in_ggg(T82, T78, s(s(0))))
U60_gga(T77, T78, times69_out_ggg(T82, T78, s(s(0)))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(0)))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(0))))))) → U61_gga(T77, T78, even36_in_gg(T77, true))
U61_gga(T77, T78, even36_out_gg(T77, true)) → U62_gga(T77, T78, half56_in_ga(T77, T82))
U62_gga(T77, T78, half56_out_ga(T77, T82)) → U63_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(0)))))
U63_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(0))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(0)))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(0))))))))) → U64_gga(T77, T78, even36_in_gg(T77, true))
U64_gga(T77, T78, even36_out_gg(T77, true)) → U65_gga(T77, T78, half56_in_ga(T77, T82))
U65_gga(T77, T78, half56_out_ga(T77, T82)) → U66_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(0))))))
U66_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(0)))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(0)))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U67_gga(T77, T78, even36_in_gg(T77, true))
U67_gga(T77, T78, even36_out_gg(T77, true)) → U68_gga(T77, T78, half56_in_ga(T77, T82))
U68_gga(T77, T78, half56_out_ga(T77, T82)) → U69_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(0)))))))
U69_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(0))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(0)))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U70_gga(T77, T78, even36_in_gg(T77, true))
U70_gga(T77, T78, even36_out_gg(T77, true)) → U71_gga(T77, T78, half56_in_ga(T77, T82))
U71_gga(T77, T78, half56_out_ga(T77, T82)) → U72_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(s(0))))))))
U72_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(s(0)))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U73_gga(T77, T78, even36_in_gg(T77, true))
U73_gga(T77, T78, even36_out_gg(T77, true)) → U74_gga(T77, T78, half56_in_ga(T77, T82))
U74_gga(T77, T78, half56_out_ga(T77, T82)) → U75_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(s(s(0)))))))))
U75_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(s(s(0))))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(T248))))))))) → U76_gga(T77, T78, T248, even36_in_gg(T77, true))
U76_gga(T77, T78, T248, even36_out_gg(T77, true)) → U77_gga(T77, T78, T248, half56_in_ga(T77, T82))
U77_gga(T77, T78, T248, half56_out_ga(T77, T82)) → U78_gga(T77, T78, T248, times69_in_gga(T82, T78, s(s(s(s(s(s(s(s(T246))))))))))
U78_gga(T77, T78, T248, times69_out_gga(T82, T78, s(s(s(s(s(s(s(s(T246)))))))))) → U79_gga(T77, T78, T248, plus19_in_aaa(T246, s(s(s(s(s(s(s(s(T246)))))))), T248))
plus19_in_aaa(0, T42, T42) → plus19_out_aaa(0, T42, T42)
plus19_in_aaa(s(T49), T50, s(T52)) → U1_aaa(T49, T50, T52, plus19_in_aaa(T49, T50, T52))
U1_aaa(T49, T50, T52, plus19_out_aaa(T49, T50, T52)) → plus19_out_aaa(s(T49), T50, s(T52))
U79_gga(T77, T78, T248, plus19_out_aaa(T246, s(s(s(s(s(s(s(s(T246)))))))), T248)) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(T248)))))))))
times1_in_gga(s(s(T258)), T259, T261) → U80_gga(T258, T259, T261, even36_in_gg(T258, false))
U80_gga(T258, T259, T261, even36_out_gg(T258, false)) → U81_gga(T258, T259, T261, times69_in_gga(s(T258), T259, X662))
U81_gga(T258, T259, T261, times69_out_gga(s(T258), T259, X662)) → times1_out_gga(s(s(T258)), T259, T261)
U80_gga(T258, T259, T261, even36_out_gg(T258, false)) → U82_gga(T258, T259, T261, times69_in_gga(s(T258), T259, T264))
U82_gga(T258, T259, T261, times69_out_gga(s(T258), T259, T264)) → U83_gga(T258, T259, T261, plus19_in_gaa(T259, T264, T261))
plus19_in_gaa(0, T42, T42) → plus19_out_gaa(0, T42, T42)
plus19_in_gaa(s(T49), T50, s(T52)) → U1_gaa(T49, T50, T52, plus19_in_gaa(T49, T50, T52))
U1_gaa(T49, T50, T52, plus19_out_gaa(T49, T50, T52)) → plus19_out_gaa(s(T49), T50, s(T52))
U83_gga(T258, T259, T261, plus19_out_gaa(T259, T264, T261)) → times1_out_gga(s(s(T258)), T259, T261)

The argument filtering Pi contains the following mapping:
times1_in_gga(x1, x2, x3)  =  times1_in_gga(x1, x2)
0  =  0
times1_out_gga(x1, x2, x3)  =  times1_out_gga
s(x1)  =  s(x1)
U44_gga(x1, x2, x3)  =  U44_gga(x3)
times18_in_ga(x1, x2)  =  times18_in_ga(x1)
times18_out_ga(x1, x2)  =  times18_out_ga(x2)
U45_gga(x1, x2, x3)  =  U45_gga(x1, x3)
U46_gga(x1, x2, x3)  =  U46_gga(x3)
plus19_in_gga(x1, x2, x3)  =  plus19_in_gga(x1, x2)
plus19_out_gga(x1, x2, x3)  =  plus19_out_gga(x3)
U1_gga(x1, x2, x3, x4)  =  U1_gga(x4)
U47_gga(x1, x2, x3, x4)  =  U47_gga(x4)
even36_in_ga(x1, x2)  =  even36_in_ga(x1)
even36_out_ga(x1, x2)  =  even36_out_ga(x2)
U2_ga(x1, x2, x3)  =  U2_ga(x3)
U48_gga(x1, x2, x3, x4)  =  U48_gga(x1, x2, x4)
even36_in_gg(x1, x2)  =  even36_in_gg(x1, x2)
true  =  true
even36_out_gg(x1, x2)  =  even36_out_gg
false  =  false
U2_gg(x1, x2, x3)  =  U2_gg(x3)
U49_gga(x1, x2, x3, x4)  =  U49_gga(x4)
half56_in_ga(x1, x2)  =  half56_in_ga(x1)
U43_ga(x1, x2, x3)  =  U43_ga(x3)
half60_in_ga(x1, x2)  =  half60_in_ga(x1)
half60_out_ga(x1, x2)  =  half60_out_ga(x2)
U3_ga(x1, x2, x3)  =  U3_ga(x3)
half56_out_ga(x1, x2)  =  half56_out_ga(x2)
U50_gga(x1, x2, x3, x4)  =  U50_gga(x2, x4)
U51_gga(x1, x2, x3, x4)  =  U51_gga(x4)
times69_in_gga(x1, x2, x3)  =  times69_in_gga(x1, x2)
times69_out_gga(x1, x2, x3)  =  times69_out_gga
U4_gga(x1, x2, x3, x4)  =  U4_gga(x4)
U5_gga(x1, x2, x3, x4)  =  U5_gga(x1, x2, x4)
U6_gga(x1, x2, x3, x4)  =  U6_gga(x4)
U7_gga(x1, x2, x3, x4)  =  U7_gga(x2, x4)
U8_gga(x1, x2, x3, x4)  =  U8_gga(x4)
U9_gga(x1, x2, x3)  =  U9_gga(x1, x2, x3)
U10_gga(x1, x2, x3)  =  U10_gga(x2, x3)
U11_gga(x1, x2, x3)  =  U11_gga(x3)
times69_in_ggg(x1, x2, x3)  =  times69_in_ggg(x1, x2, x3)
times69_out_ggg(x1, x2, x3)  =  times69_out_ggg
U4_ggg(x1, x2, x3, x4)  =  U4_ggg(x4)
U5_ggg(x1, x2, x3, x4)  =  U5_ggg(x1, x2, x4)
U6_ggg(x1, x2, x3, x4)  =  U6_ggg(x4)
U7_ggg(x1, x2, x3, x4)  =  U7_ggg(x2, x4)
U8_ggg(x1, x2, x3, x4)  =  U8_ggg(x4)
U12_gga(x1, x2, x3)  =  U12_gga(x1, x2, x3)
U13_gga(x1, x2, x3)  =  U13_gga(x2, x3)
U14_gga(x1, x2, x3)  =  U14_gga(x3)
U9_ggg(x1, x2, x3)  =  U9_ggg(x1, x2, x3)
U10_ggg(x1, x2, x3)  =  U10_ggg(x2, x3)
U11_ggg(x1, x2, x3)  =  U11_ggg(x3)
U12_ggg(x1, x2, x3)  =  U12_ggg(x1, x2, x3)
U13_ggg(x1, x2, x3)  =  U13_ggg(x2, x3)
U14_ggg(x1, x2, x3)  =  U14_ggg(x3)
U15_ggg(x1, x2, x3)  =  U15_ggg(x1, x2, x3)
U16_ggg(x1, x2, x3)  =  U16_ggg(x2, x3)
U17_ggg(x1, x2, x3)  =  U17_ggg(x3)
U18_ggg(x1, x2, x3)  =  U18_ggg(x1, x2, x3)
U19_ggg(x1, x2, x3)  =  U19_ggg(x2, x3)
U20_ggg(x1, x2, x3)  =  U20_ggg(x3)
U21_ggg(x1, x2, x3)  =  U21_ggg(x1, x2, x3)
U22_ggg(x1, x2, x3)  =  U22_ggg(x2, x3)
U23_ggg(x1, x2, x3)  =  U23_ggg(x3)
U24_ggg(x1, x2, x3)  =  U24_ggg(x1, x2, x3)
U25_ggg(x1, x2, x3)  =  U25_ggg(x2, x3)
U26_ggg(x1, x2, x3)  =  U26_ggg(x3)
U27_ggg(x1, x2, x3)  =  U27_ggg(x1, x2, x3)
U28_ggg(x1, x2, x3)  =  U28_ggg(x2, x3)
U29_ggg(x1, x2, x3)  =  U29_ggg(x3)
U30_ggg(x1, x2, x3)  =  U30_ggg(x1, x2, x3)
U31_ggg(x1, x2, x3)  =  U31_ggg(x2, x3)
U32_ggg(x1, x2, x3)  =  U32_ggg(x3)
U33_ggg(x1, x2, x3, x4)  =  U33_ggg(x1, x2, x3, x4)
U34_ggg(x1, x2, x3, x4)  =  U34_ggg(x2, x3, x4)
U35_ggg(x1, x2, x3, x4)  =  U35_ggg(x3, x4)
U15_gga(x1, x2, x3)  =  U15_gga(x1, x2, x3)
U16_gga(x1, x2, x3)  =  U16_gga(x2, x3)
U17_gga(x1, x2, x3)  =  U17_gga(x3)
U37_ggg(x1, x2, x3, x4)  =  U37_ggg(x1, x2, x3, x4)
U38_ggg(x1, x2, x3, x4)  =  U38_ggg(x4)
U18_gga(x1, x2, x3)  =  U18_gga(x1, x2, x3)
U19_gga(x1, x2, x3)  =  U19_gga(x2, x3)
U20_gga(x1, x2, x3)  =  U20_gga(x3)
U21_gga(x1, x2, x3)  =  U21_gga(x1, x2, x3)
U22_gga(x1, x2, x3)  =  U22_gga(x2, x3)
U23_gga(x1, x2, x3)  =  U23_gga(x3)
U24_gga(x1, x2, x3)  =  U24_gga(x1, x2, x3)
U25_gga(x1, x2, x3)  =  U25_gga(x2, x3)
U26_gga(x1, x2, x3)  =  U26_gga(x3)
U27_gga(x1, x2, x3)  =  U27_gga(x1, x2, x3)
U28_gga(x1, x2, x3)  =  U28_gga(x2, x3)
U29_gga(x1, x2, x3)  =  U29_gga(x3)
U30_gga(x1, x2, x3)  =  U30_gga(x1, x2, x3)
U31_gga(x1, x2, x3)  =  U31_gga(x2, x3)
U32_gga(x1, x2, x3)  =  U32_gga(x3)
U33_gga(x1, x2, x3, x4)  =  U33_gga(x1, x2, x4)
U34_gga(x1, x2, x3, x4)  =  U34_gga(x2, x4)
U35_gga(x1, x2, x3, x4)  =  U35_gga(x4)
U37_gga(x1, x2, x3, x4)  =  U37_gga(x1, x2, x4)
U38_gga(x1, x2, x3, x4)  =  U38_gga(x4)
U39_gga(x1, x2, x3, x4)  =  U39_gga(x2, x4)
U40_gga(x1, x2, x3, x4)  =  U40_gga(x4)
plus166_in_gaa(x1, x2, x3)  =  plus166_in_gaa(x1)
plus166_out_gaa(x1, x2, x3)  =  plus166_out_gaa
U42_gaa(x1, x2, x3, x4)  =  U42_gaa(x4)
U36_gga(x1, x2, x3, x4)  =  U36_gga(x4)
plus154_in_aaa(x1, x2, x3)  =  plus154_in_aaa
plus154_out_aaa(x1, x2, x3)  =  plus154_out_aaa(x1)
U41_aaa(x1, x2, x3, x4)  =  U41_aaa(x4)
U39_ggg(x1, x2, x3, x4)  =  U39_ggg(x2, x3, x4)
U40_ggg(x1, x2, x3, x4)  =  U40_ggg(x4)
plus166_in_gag(x1, x2, x3)  =  plus166_in_gag(x1, x3)
plus166_out_gag(x1, x2, x3)  =  plus166_out_gag(x2)
U42_gag(x1, x2, x3, x4)  =  U42_gag(x4)
U36_ggg(x1, x2, x3, x4)  =  U36_ggg(x4)
plus154_in_aag(x1, x2, x3)  =  plus154_in_aag(x3)
plus154_out_aag(x1, x2, x3)  =  plus154_out_aag(x1, x2)
U41_aag(x1, x2, x3, x4)  =  U41_aag(x4)
U52_gga(x1, x2, x3)  =  U52_gga(x1, x2, x3)
U53_gga(x1, x2, x3)  =  U53_gga(x2, x3)
U54_gga(x1, x2, x3)  =  U54_gga(x3)
U55_gga(x1, x2, x3)  =  U55_gga(x1, x2, x3)
U56_gga(x1, x2, x3)  =  U56_gga(x2, x3)
U57_gga(x1, x2, x3)  =  U57_gga(x3)
U58_gga(x1, x2, x3)  =  U58_gga(x1, x2, x3)
U59_gga(x1, x2, x3)  =  U59_gga(x2, x3)
U60_gga(x1, x2, x3)  =  U60_gga(x3)
U61_gga(x1, x2, x3)  =  U61_gga(x1, x2, x3)
U62_gga(x1, x2, x3)  =  U62_gga(x2, x3)
U63_gga(x1, x2, x3)  =  U63_gga(x3)
U64_gga(x1, x2, x3)  =  U64_gga(x1, x2, x3)
U65_gga(x1, x2, x3)  =  U65_gga(x2, x3)
U66_gga(x1, x2, x3)  =  U66_gga(x3)
U67_gga(x1, x2, x3)  =  U67_gga(x1, x2, x3)
U68_gga(x1, x2, x3)  =  U68_gga(x2, x3)
U69_gga(x1, x2, x3)  =  U69_gga(x3)
U70_gga(x1, x2, x3)  =  U70_gga(x1, x2, x3)
U71_gga(x1, x2, x3)  =  U71_gga(x2, x3)
U72_gga(x1, x2, x3)  =  U72_gga(x3)
U73_gga(x1, x2, x3)  =  U73_gga(x1, x2, x3)
U74_gga(x1, x2, x3)  =  U74_gga(x2, x3)
U75_gga(x1, x2, x3)  =  U75_gga(x3)
U76_gga(x1, x2, x3, x4)  =  U76_gga(x1, x2, x4)
U77_gga(x1, x2, x3, x4)  =  U77_gga(x2, x4)
U78_gga(x1, x2, x3, x4)  =  U78_gga(x4)
U79_gga(x1, x2, x3, x4)  =  U79_gga(x4)
plus19_in_aaa(x1, x2, x3)  =  plus19_in_aaa
plus19_out_aaa(x1, x2, x3)  =  plus19_out_aaa(x1)
U1_aaa(x1, x2, x3, x4)  =  U1_aaa(x4)
U80_gga(x1, x2, x3, x4)  =  U80_gga(x1, x2, x4)
U81_gga(x1, x2, x3, x4)  =  U81_gga(x4)
U82_gga(x1, x2, x3, x4)  =  U82_gga(x2, x4)
U83_gga(x1, x2, x3, x4)  =  U83_gga(x4)
plus19_in_gaa(x1, x2, x3)  =  plus19_in_gaa(x1)
plus19_out_gaa(x1, x2, x3)  =  plus19_out_gaa
U1_gaa(x1, x2, x3, x4)  =  U1_gaa(x4)
PLUS154_IN_AAA(x1, x2, x3)  =  PLUS154_IN_AAA

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

(161) UsableRulesProof (EQUIVALENT transformation)

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

(162) Obligation:

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

PLUS154_IN_AAA(s(T163), T164, s(X436)) → PLUS154_IN_AAA(T163, T164, X436)

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

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

(163) PiDPToQDPProof (SOUND transformation)

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

(164) Obligation:

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

PLUS154_IN_AAAPLUS154_IN_AAA

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

(165) NonTerminationProof (EQUIVALENT transformation)

We used the non-termination processor [FROCOS05] to show that the DP problem is infinite.
Found a loop by semiunifying a rule from P directly.

s = PLUS154_IN_AAA evaluates to t =PLUS154_IN_AAA

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




Rewriting sequence

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



(166) NO

(167) Obligation:

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

PLUS166_IN_GAA(s(T189), T190, s(X482)) → PLUS166_IN_GAA(T189, T190, X482)

The TRS R consists of the following rules:

times1_in_gga(0, T5, 0) → times1_out_gga(0, T5, 0)
times1_in_gga(s(0), T23, T25) → U44_gga(T23, T25, times18_in_ga(T23, X45))
times18_in_ga(T35, 0) → times18_out_ga(T35, 0)
U44_gga(T23, T25, times18_out_ga(T23, X45)) → times1_out_gga(s(0), T23, T25)
times1_in_gga(s(0), T23, T25) → U45_gga(T23, T25, times18_in_ga(T23, T29))
U45_gga(T23, T25, times18_out_ga(T23, T29)) → U46_gga(T23, T25, plus19_in_gga(T23, T29, T25))
plus19_in_gga(0, T42, T42) → plus19_out_gga(0, T42, T42)
plus19_in_gga(s(T49), T50, s(T52)) → U1_gga(T49, T50, T52, plus19_in_gga(T49, T50, T52))
U1_gga(T49, T50, T52, plus19_out_gga(T49, T50, T52)) → plus19_out_gga(s(T49), T50, s(T52))
U46_gga(T23, T25, plus19_out_gga(T23, T29, T25)) → times1_out_gga(s(0), T23, T25)
times1_in_gga(s(s(T57)), T10, T12) → U47_gga(T57, T10, T12, even36_in_ga(T57, X90))
even36_in_ga(0, true) → even36_out_ga(0, true)
even36_in_ga(s(0), false) → even36_out_ga(s(0), false)
even36_in_ga(s(s(T61)), X101) → U2_ga(T61, X101, even36_in_ga(T61, X101))
U2_ga(T61, X101, even36_out_ga(T61, X101)) → even36_out_ga(s(s(T61)), X101)
U47_gga(T57, T10, T12, even36_out_ga(T57, X90)) → times1_out_gga(s(s(T57)), T10, T12)
times1_in_gga(s(s(T77)), T78, T80) → U48_gga(T77, T78, T80, even36_in_gg(T77, true))
even36_in_gg(0, true) → even36_out_gg(0, true)
even36_in_gg(s(0), false) → even36_out_gg(s(0), false)
even36_in_gg(s(s(T61)), X101) → U2_gg(T61, X101, even36_in_gg(T61, X101))
U2_gg(T61, X101, even36_out_gg(T61, X101)) → even36_out_gg(s(s(T61)), X101)
U48_gga(T77, T78, T80, even36_out_gg(T77, true)) → U49_gga(T77, T78, T80, half56_in_ga(T77, X128))
half56_in_ga(T86, s(X147)) → U43_ga(T86, X147, half60_in_ga(T86, X147))
half60_in_ga(0, 0) → half60_out_ga(0, 0)
half60_in_ga(s(s(T89)), s(X156)) → U3_ga(T89, X156, half60_in_ga(T89, X156))
U3_ga(T89, X156, half60_out_ga(T89, X156)) → half60_out_ga(s(s(T89)), s(X156))
U43_ga(T86, X147, half60_out_ga(T86, X147)) → half56_out_ga(T86, s(X147))
U49_gga(T77, T78, T80, half56_out_ga(T77, X128)) → times1_out_gga(s(s(T77)), T78, T80)
U48_gga(T77, T78, T80, even36_out_gg(T77, true)) → U50_gga(T77, T78, T80, half56_in_ga(T77, T82))
U50_gga(T77, T78, T80, half56_out_ga(T77, T82)) → U51_gga(T77, T78, T80, times69_in_gga(T82, T78, X129))
times69_in_gga(0, T99, 0) → times69_out_gga(0, T99, 0)
times69_in_gga(s(T104), T105, X182) → U4_gga(T104, T105, X182, even36_in_ga(s(T104), X181))
U4_gga(T104, T105, X182, even36_out_ga(s(T104), X181)) → times69_out_gga(s(T104), T105, X182)
times69_in_gga(s(T117), T118, X217) → U5_gga(T117, T118, X217, even36_in_gg(s(T117), true))
U5_gga(T117, T118, X217, even36_out_gg(s(T117), true)) → U6_gga(T117, T118, X217, half60_in_ga(s(T117), X215))
U6_gga(T117, T118, X217, half60_out_ga(s(T117), X215)) → times69_out_gga(s(T117), T118, X217)
U5_gga(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_gga(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_gga(T117, T118, X217, half60_out_ga(s(T117), T120)) → U8_gga(T117, T118, X217, times69_in_gga(T120, T118, X216))
times69_in_gga(s(T117), T118, 0) → U9_gga(T117, T118, even36_in_gg(s(T117), true))
U9_gga(T117, T118, even36_out_gg(s(T117), true)) → U10_gga(T117, T118, half60_in_ga(s(T117), T120))
U10_gga(T117, T118, half60_out_ga(s(T117), T120)) → U11_gga(T117, T118, times69_in_ggg(T120, T118, 0))
times69_in_ggg(0, T99, 0) → times69_out_ggg(0, T99, 0)
times69_in_ggg(s(T104), T105, X182) → U4_ggg(T104, T105, X182, even36_in_ga(s(T104), X181))
U4_ggg(T104, T105, X182, even36_out_ga(s(T104), X181)) → times69_out_ggg(s(T104), T105, X182)
times69_in_ggg(s(T117), T118, X217) → U5_ggg(T117, T118, X217, even36_in_gg(s(T117), true))
U5_ggg(T117, T118, X217, even36_out_gg(s(T117), true)) → U6_ggg(T117, T118, X217, half60_in_ga(s(T117), X215))
U6_ggg(T117, T118, X217, half60_out_ga(s(T117), X215)) → times69_out_ggg(s(T117), T118, X217)
U5_ggg(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_ggg(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_ggg(T117, T118, X217, half60_out_ga(s(T117), T120)) → U8_ggg(T117, T118, X217, times69_in_gga(T120, T118, X216))
times69_in_gga(s(T117), T118, s(s(0))) → U12_gga(T117, T118, even36_in_gg(s(T117), true))
U12_gga(T117, T118, even36_out_gg(s(T117), true)) → U13_gga(T117, T118, half60_in_ga(s(T117), T120))
U13_gga(T117, T118, half60_out_ga(s(T117), T120)) → U14_gga(T117, T118, times69_in_ggg(T120, T118, s(0)))
times69_in_ggg(s(T117), T118, 0) → U9_ggg(T117, T118, even36_in_gg(s(T117), true))
U9_ggg(T117, T118, even36_out_gg(s(T117), true)) → U10_ggg(T117, T118, half60_in_ga(s(T117), T120))
U10_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U11_ggg(T117, T118, times69_in_ggg(T120, T118, 0))
times69_in_ggg(s(T117), T118, s(s(0))) → U12_ggg(T117, T118, even36_in_gg(s(T117), true))
U12_ggg(T117, T118, even36_out_gg(s(T117), true)) → U13_ggg(T117, T118, half60_in_ga(s(T117), T120))
U13_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U14_ggg(T117, T118, times69_in_ggg(T120, T118, s(0)))
times69_in_ggg(s(T117), T118, s(s(s(s(0))))) → U15_ggg(T117, T118, even36_in_gg(s(T117), true))
U15_ggg(T117, T118, even36_out_gg(s(T117), true)) → U16_ggg(T117, T118, half60_in_ga(s(T117), T120))
U16_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U17_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(0))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_ggg(T117, T118, even36_in_gg(s(T117), true))
U18_ggg(T117, T118, even36_out_gg(s(T117), true)) → U19_ggg(T117, T118, half60_in_ga(s(T117), T120))
U19_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U20_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(0)))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → U21_ggg(T117, T118, even36_in_gg(s(T117), true))
U21_ggg(T117, T118, even36_out_gg(s(T117), true)) → U22_ggg(T117, T118, half60_in_ga(s(T117), T120))
U22_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U23_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(0))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U24_ggg(T117, T118, even36_in_gg(s(T117), true))
U24_ggg(T117, T118, even36_out_gg(s(T117), true)) → U25_ggg(T117, T118, half60_in_ga(s(T117), T120))
U25_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U26_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(0)))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U27_ggg(T117, T118, even36_in_gg(s(T117), true))
U27_ggg(T117, T118, even36_out_gg(s(T117), true)) → U28_ggg(T117, T118, half60_in_ga(s(T117), T120))
U28_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U29_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(0))))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U30_ggg(T117, T118, even36_in_gg(s(T117), true))
U30_ggg(T117, T118, even36_out_gg(s(T117), true)) → U31_ggg(T117, T118, half60_in_ga(s(T117), T120))
U31_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U32_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(s(0)))))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → U33_ggg(T117, T118, X411, even36_in_gg(s(T117), true))
U33_ggg(T117, T118, X411, even36_out_gg(s(T117), true)) → U34_ggg(T117, T118, X411, half60_in_ga(s(T117), T120))
U34_ggg(T117, T118, X411, half60_out_ga(s(T117), T120)) → U35_ggg(T117, T118, X411, times69_in_gga(T120, T118, s(s(s(s(s(s(s(s(T150))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(0))))) → U15_gga(T117, T118, even36_in_gg(s(T117), true))
U15_gga(T117, T118, even36_out_gg(s(T117), true)) → U16_gga(T117, T118, half60_in_ga(s(T117), T120))
U16_gga(T117, T118, half60_out_ga(s(T117), T120)) → U17_gga(T117, T118, times69_in_ggg(T120, T118, s(s(0))))
times69_in_ggg(s(T171), T172, X455) → U37_ggg(T171, T172, X455, even36_in_gg(s(T171), false))
U37_ggg(T171, T172, X455, even36_out_gg(s(T171), false)) → U38_ggg(T171, T172, X455, times69_in_gga(T171, T172, X454))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_gga(T117, T118, even36_in_gg(s(T117), true))
U18_gga(T117, T118, even36_out_gg(s(T117), true)) → U19_gga(T117, T118, half60_in_ga(s(T117), T120))
U19_gga(T117, T118, half60_out_ga(s(T117), T120)) → U20_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(0)))))
U20_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(0))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(0)))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → U21_gga(T117, T118, even36_in_gg(s(T117), true))
U21_gga(T117, T118, even36_out_gg(s(T117), true)) → U22_gga(T117, T118, half60_in_ga(s(T117), T120))
U22_gga(T117, T118, half60_out_ga(s(T117), T120)) → U23_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(0))))))
U23_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(0)))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(0)))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U24_gga(T117, T118, even36_in_gg(s(T117), true))
U24_gga(T117, T118, even36_out_gg(s(T117), true)) → U25_gga(T117, T118, half60_in_ga(s(T117), T120))
U25_gga(T117, T118, half60_out_ga(s(T117), T120)) → U26_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(0)))))))
U26_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(0))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0)))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U27_gga(T117, T118, even36_in_gg(s(T117), true))
U27_gga(T117, T118, even36_out_gg(s(T117), true)) → U28_gga(T117, T118, half60_in_ga(s(T117), T120))
U28_gga(T117, T118, half60_out_ga(s(T117), T120)) → U29_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(0))))))))
U29_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(0)))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U30_gga(T117, T118, even36_in_gg(s(T117), true))
U30_gga(T117, T118, even36_out_gg(s(T117), true)) → U31_gga(T117, T118, half60_in_ga(s(T117), T120))
U31_gga(T117, T118, half60_out_ga(s(T117), T120)) → U32_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(s(0)))))))))
U32_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(s(0))))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → U33_gga(T117, T118, X411, even36_in_gg(s(T117), true))
U33_gga(T117, T118, X411, even36_out_gg(s(T117), true)) → U34_gga(T117, T118, X411, half60_in_ga(s(T117), T120))
U34_gga(T117, T118, X411, half60_out_ga(s(T117), T120)) → U35_gga(T117, T118, X411, times69_in_gga(T120, T118, s(s(s(s(s(s(s(s(T150))))))))))
times69_in_gga(s(T171), T172, X455) → U37_gga(T171, T172, X455, even36_in_gg(s(T171), false))
U37_gga(T171, T172, X455, even36_out_gg(s(T171), false)) → U38_gga(T171, T172, X455, times69_in_gga(T171, T172, X454))
U38_gga(T171, T172, X455, times69_out_gga(T171, T172, X454)) → times69_out_gga(s(T171), T172, X455)
U37_gga(T171, T172, X455, even36_out_gg(s(T171), false)) → U39_gga(T171, T172, X455, times69_in_gga(T171, T172, T175))
U39_gga(T171, T172, X455, times69_out_gga(T171, T172, T175)) → U40_gga(T171, T172, X455, plus166_in_gaa(T172, T175, X455))
plus166_in_gaa(0, T184, T184) → plus166_out_gaa(0, T184, T184)
plus166_in_gaa(s(T189), T190, s(X482)) → U42_gaa(T189, T190, X482, plus166_in_gaa(T189, T190, X482))
U42_gaa(T189, T190, X482, plus166_out_gaa(T189, T190, X482)) → plus166_out_gaa(s(T189), T190, s(X482))
U40_gga(T171, T172, X455, plus166_out_gaa(T172, T175, X455)) → times69_out_gga(s(T171), T172, X455)
U35_gga(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → U36_gga(T117, T118, X411, plus154_in_aaa(T150, s(s(s(s(s(s(s(T150))))))), X411))
plus154_in_aaa(0, T158, s(T158)) → plus154_out_aaa(0, T158, s(T158))
plus154_in_aaa(s(T163), T164, s(X436)) → U41_aaa(T163, T164, X436, plus154_in_aaa(T163, T164, X436))
U41_aaa(T163, T164, X436, plus154_out_aaa(T163, T164, X436)) → plus154_out_aaa(s(T163), T164, s(X436))
U36_gga(T117, T118, X411, plus154_out_aaa(T150, s(s(s(s(s(s(s(T150))))))), X411)) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(X411)))))))))
U38_ggg(T171, T172, X455, times69_out_gga(T171, T172, X454)) → times69_out_ggg(s(T171), T172, X455)
U37_ggg(T171, T172, X455, even36_out_gg(s(T171), false)) → U39_ggg(T171, T172, X455, times69_in_gga(T171, T172, T175))
U39_ggg(T171, T172, X455, times69_out_gga(T171, T172, T175)) → U40_ggg(T171, T172, X455, plus166_in_gag(T172, T175, X455))
plus166_in_gag(0, T184, T184) → plus166_out_gag(0, T184, T184)
plus166_in_gag(s(T189), T190, s(X482)) → U42_gag(T189, T190, X482, plus166_in_gag(T189, T190, X482))
U42_gag(T189, T190, X482, plus166_out_gag(T189, T190, X482)) → plus166_out_gag(s(T189), T190, s(X482))
U40_ggg(T171, T172, X455, plus166_out_gag(T172, T175, X455)) → times69_out_ggg(s(T171), T172, X455)
U17_gga(T117, T118, times69_out_ggg(T120, T118, s(s(0)))) → times69_out_gga(s(T117), T118, s(s(s(s(0)))))
U35_ggg(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → U36_ggg(T117, T118, X411, plus154_in_aag(T150, s(s(s(s(s(s(s(T150))))))), X411))
plus154_in_aag(0, T158, s(T158)) → plus154_out_aag(0, T158, s(T158))
plus154_in_aag(s(T163), T164, s(X436)) → U41_aag(T163, T164, X436, plus154_in_aag(T163, T164, X436))
U41_aag(T163, T164, X436, plus154_out_aag(T163, T164, X436)) → plus154_out_aag(s(T163), T164, s(X436))
U36_ggg(T117, T118, X411, plus154_out_aag(T150, s(s(s(s(s(s(s(T150))))))), X411)) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(X411)))))))))
U32_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(s(0))))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
U29_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(0)))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
U26_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(0))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0)))))))))))
U23_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(0)))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(0)))))))))
U20_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(0))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(0)))))))
U17_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(0)))) → times69_out_ggg(s(T117), T118, s(s(s(s(0)))))
U14_ggg(T117, T118, times69_out_ggg(T120, T118, s(0))) → times69_out_ggg(s(T117), T118, s(s(0)))
U11_ggg(T117, T118, times69_out_ggg(T120, T118, 0)) → times69_out_ggg(s(T117), T118, 0)
U14_gga(T117, T118, times69_out_ggg(T120, T118, s(0))) → times69_out_gga(s(T117), T118, s(s(0)))
U8_ggg(T117, T118, X217, times69_out_gga(T120, T118, X216)) → times69_out_ggg(s(T117), T118, X217)
U11_gga(T117, T118, times69_out_ggg(T120, T118, 0)) → times69_out_gga(s(T117), T118, 0)
U8_gga(T117, T118, X217, times69_out_gga(T120, T118, X216)) → times69_out_gga(s(T117), T118, X217)
U51_gga(T77, T78, T80, times69_out_gga(T82, T78, X129)) → times1_out_gga(s(s(T77)), T78, T80)
times1_in_gga(s(s(T77)), T78, 0) → U52_gga(T77, T78, even36_in_gg(T77, true))
U52_gga(T77, T78, even36_out_gg(T77, true)) → U53_gga(T77, T78, half56_in_ga(T77, T82))
U53_gga(T77, T78, half56_out_ga(T77, T82)) → U54_gga(T77, T78, times69_in_ggg(T82, T78, 0))
U54_gga(T77, T78, times69_out_ggg(T82, T78, 0)) → times1_out_gga(s(s(T77)), T78, 0)
times1_in_gga(s(s(T77)), T78, s(s(0))) → U55_gga(T77, T78, even36_in_gg(T77, true))
U55_gga(T77, T78, even36_out_gg(T77, true)) → U56_gga(T77, T78, half56_in_ga(T77, T82))
U56_gga(T77, T78, half56_out_ga(T77, T82)) → U57_gga(T77, T78, times69_in_ggg(T82, T78, s(0)))
U57_gga(T77, T78, times69_out_ggg(T82, T78, s(0))) → times1_out_gga(s(s(T77)), T78, s(s(0)))
times1_in_gga(s(s(T77)), T78, s(s(s(s(0))))) → U58_gga(T77, T78, even36_in_gg(T77, true))
U58_gga(T77, T78, even36_out_gg(T77, true)) → U59_gga(T77, T78, half56_in_ga(T77, T82))
U59_gga(T77, T78, half56_out_ga(T77, T82)) → U60_gga(T77, T78, times69_in_ggg(T82, T78, s(s(0))))
U60_gga(T77, T78, times69_out_ggg(T82, T78, s(s(0)))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(0)))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(0))))))) → U61_gga(T77, T78, even36_in_gg(T77, true))
U61_gga(T77, T78, even36_out_gg(T77, true)) → U62_gga(T77, T78, half56_in_ga(T77, T82))
U62_gga(T77, T78, half56_out_ga(T77, T82)) → U63_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(0)))))
U63_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(0))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(0)))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(0))))))))) → U64_gga(T77, T78, even36_in_gg(T77, true))
U64_gga(T77, T78, even36_out_gg(T77, true)) → U65_gga(T77, T78, half56_in_ga(T77, T82))
U65_gga(T77, T78, half56_out_ga(T77, T82)) → U66_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(0))))))
U66_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(0)))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(0)))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U67_gga(T77, T78, even36_in_gg(T77, true))
U67_gga(T77, T78, even36_out_gg(T77, true)) → U68_gga(T77, T78, half56_in_ga(T77, T82))
U68_gga(T77, T78, half56_out_ga(T77, T82)) → U69_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(0)))))))
U69_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(0))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(0)))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U70_gga(T77, T78, even36_in_gg(T77, true))
U70_gga(T77, T78, even36_out_gg(T77, true)) → U71_gga(T77, T78, half56_in_ga(T77, T82))
U71_gga(T77, T78, half56_out_ga(T77, T82)) → U72_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(s(0))))))))
U72_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(s(0)))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U73_gga(T77, T78, even36_in_gg(T77, true))
U73_gga(T77, T78, even36_out_gg(T77, true)) → U74_gga(T77, T78, half56_in_ga(T77, T82))
U74_gga(T77, T78, half56_out_ga(T77, T82)) → U75_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(s(s(0)))))))))
U75_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(s(s(0))))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(T248))))))))) → U76_gga(T77, T78, T248, even36_in_gg(T77, true))
U76_gga(T77, T78, T248, even36_out_gg(T77, true)) → U77_gga(T77, T78, T248, half56_in_ga(T77, T82))
U77_gga(T77, T78, T248, half56_out_ga(T77, T82)) → U78_gga(T77, T78, T248, times69_in_gga(T82, T78, s(s(s(s(s(s(s(s(T246))))))))))
U78_gga(T77, T78, T248, times69_out_gga(T82, T78, s(s(s(s(s(s(s(s(T246)))))))))) → U79_gga(T77, T78, T248, plus19_in_aaa(T246, s(s(s(s(s(s(s(s(T246)))))))), T248))
plus19_in_aaa(0, T42, T42) → plus19_out_aaa(0, T42, T42)
plus19_in_aaa(s(T49), T50, s(T52)) → U1_aaa(T49, T50, T52, plus19_in_aaa(T49, T50, T52))
U1_aaa(T49, T50, T52, plus19_out_aaa(T49, T50, T52)) → plus19_out_aaa(s(T49), T50, s(T52))
U79_gga(T77, T78, T248, plus19_out_aaa(T246, s(s(s(s(s(s(s(s(T246)))))))), T248)) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(T248)))))))))
times1_in_gga(s(s(T258)), T259, T261) → U80_gga(T258, T259, T261, even36_in_gg(T258, false))
U80_gga(T258, T259, T261, even36_out_gg(T258, false)) → U81_gga(T258, T259, T261, times69_in_gga(s(T258), T259, X662))
U81_gga(T258, T259, T261, times69_out_gga(s(T258), T259, X662)) → times1_out_gga(s(s(T258)), T259, T261)
U80_gga(T258, T259, T261, even36_out_gg(T258, false)) → U82_gga(T258, T259, T261, times69_in_gga(s(T258), T259, T264))
U82_gga(T258, T259, T261, times69_out_gga(s(T258), T259, T264)) → U83_gga(T258, T259, T261, plus19_in_gaa(T259, T264, T261))
plus19_in_gaa(0, T42, T42) → plus19_out_gaa(0, T42, T42)
plus19_in_gaa(s(T49), T50, s(T52)) → U1_gaa(T49, T50, T52, plus19_in_gaa(T49, T50, T52))
U1_gaa(T49, T50, T52, plus19_out_gaa(T49, T50, T52)) → plus19_out_gaa(s(T49), T50, s(T52))
U83_gga(T258, T259, T261, plus19_out_gaa(T259, T264, T261)) → times1_out_gga(s(s(T258)), T259, T261)

The argument filtering Pi contains the following mapping:
times1_in_gga(x1, x2, x3)  =  times1_in_gga(x1, x2)
0  =  0
times1_out_gga(x1, x2, x3)  =  times1_out_gga
s(x1)  =  s(x1)
U44_gga(x1, x2, x3)  =  U44_gga(x3)
times18_in_ga(x1, x2)  =  times18_in_ga(x1)
times18_out_ga(x1, x2)  =  times18_out_ga(x2)
U45_gga(x1, x2, x3)  =  U45_gga(x1, x3)
U46_gga(x1, x2, x3)  =  U46_gga(x3)
plus19_in_gga(x1, x2, x3)  =  plus19_in_gga(x1, x2)
plus19_out_gga(x1, x2, x3)  =  plus19_out_gga(x3)
U1_gga(x1, x2, x3, x4)  =  U1_gga(x4)
U47_gga(x1, x2, x3, x4)  =  U47_gga(x4)
even36_in_ga(x1, x2)  =  even36_in_ga(x1)
even36_out_ga(x1, x2)  =  even36_out_ga(x2)
U2_ga(x1, x2, x3)  =  U2_ga(x3)
U48_gga(x1, x2, x3, x4)  =  U48_gga(x1, x2, x4)
even36_in_gg(x1, x2)  =  even36_in_gg(x1, x2)
true  =  true
even36_out_gg(x1, x2)  =  even36_out_gg
false  =  false
U2_gg(x1, x2, x3)  =  U2_gg(x3)
U49_gga(x1, x2, x3, x4)  =  U49_gga(x4)
half56_in_ga(x1, x2)  =  half56_in_ga(x1)
U43_ga(x1, x2, x3)  =  U43_ga(x3)
half60_in_ga(x1, x2)  =  half60_in_ga(x1)
half60_out_ga(x1, x2)  =  half60_out_ga(x2)
U3_ga(x1, x2, x3)  =  U3_ga(x3)
half56_out_ga(x1, x2)  =  half56_out_ga(x2)
U50_gga(x1, x2, x3, x4)  =  U50_gga(x2, x4)
U51_gga(x1, x2, x3, x4)  =  U51_gga(x4)
times69_in_gga(x1, x2, x3)  =  times69_in_gga(x1, x2)
times69_out_gga(x1, x2, x3)  =  times69_out_gga
U4_gga(x1, x2, x3, x4)  =  U4_gga(x4)
U5_gga(x1, x2, x3, x4)  =  U5_gga(x1, x2, x4)
U6_gga(x1, x2, x3, x4)  =  U6_gga(x4)
U7_gga(x1, x2, x3, x4)  =  U7_gga(x2, x4)
U8_gga(x1, x2, x3, x4)  =  U8_gga(x4)
U9_gga(x1, x2, x3)  =  U9_gga(x1, x2, x3)
U10_gga(x1, x2, x3)  =  U10_gga(x2, x3)
U11_gga(x1, x2, x3)  =  U11_gga(x3)
times69_in_ggg(x1, x2, x3)  =  times69_in_ggg(x1, x2, x3)
times69_out_ggg(x1, x2, x3)  =  times69_out_ggg
U4_ggg(x1, x2, x3, x4)  =  U4_ggg(x4)
U5_ggg(x1, x2, x3, x4)  =  U5_ggg(x1, x2, x4)
U6_ggg(x1, x2, x3, x4)  =  U6_ggg(x4)
U7_ggg(x1, x2, x3, x4)  =  U7_ggg(x2, x4)
U8_ggg(x1, x2, x3, x4)  =  U8_ggg(x4)
U12_gga(x1, x2, x3)  =  U12_gga(x1, x2, x3)
U13_gga(x1, x2, x3)  =  U13_gga(x2, x3)
U14_gga(x1, x2, x3)  =  U14_gga(x3)
U9_ggg(x1, x2, x3)  =  U9_ggg(x1, x2, x3)
U10_ggg(x1, x2, x3)  =  U10_ggg(x2, x3)
U11_ggg(x1, x2, x3)  =  U11_ggg(x3)
U12_ggg(x1, x2, x3)  =  U12_ggg(x1, x2, x3)
U13_ggg(x1, x2, x3)  =  U13_ggg(x2, x3)
U14_ggg(x1, x2, x3)  =  U14_ggg(x3)
U15_ggg(x1, x2, x3)  =  U15_ggg(x1, x2, x3)
U16_ggg(x1, x2, x3)  =  U16_ggg(x2, x3)
U17_ggg(x1, x2, x3)  =  U17_ggg(x3)
U18_ggg(x1, x2, x3)  =  U18_ggg(x1, x2, x3)
U19_ggg(x1, x2, x3)  =  U19_ggg(x2, x3)
U20_ggg(x1, x2, x3)  =  U20_ggg(x3)
U21_ggg(x1, x2, x3)  =  U21_ggg(x1, x2, x3)
U22_ggg(x1, x2, x3)  =  U22_ggg(x2, x3)
U23_ggg(x1, x2, x3)  =  U23_ggg(x3)
U24_ggg(x1, x2, x3)  =  U24_ggg(x1, x2, x3)
U25_ggg(x1, x2, x3)  =  U25_ggg(x2, x3)
U26_ggg(x1, x2, x3)  =  U26_ggg(x3)
U27_ggg(x1, x2, x3)  =  U27_ggg(x1, x2, x3)
U28_ggg(x1, x2, x3)  =  U28_ggg(x2, x3)
U29_ggg(x1, x2, x3)  =  U29_ggg(x3)
U30_ggg(x1, x2, x3)  =  U30_ggg(x1, x2, x3)
U31_ggg(x1, x2, x3)  =  U31_ggg(x2, x3)
U32_ggg(x1, x2, x3)  =  U32_ggg(x3)
U33_ggg(x1, x2, x3, x4)  =  U33_ggg(x1, x2, x3, x4)
U34_ggg(x1, x2, x3, x4)  =  U34_ggg(x2, x3, x4)
U35_ggg(x1, x2, x3, x4)  =  U35_ggg(x3, x4)
U15_gga(x1, x2, x3)  =  U15_gga(x1, x2, x3)
U16_gga(x1, x2, x3)  =  U16_gga(x2, x3)
U17_gga(x1, x2, x3)  =  U17_gga(x3)
U37_ggg(x1, x2, x3, x4)  =  U37_ggg(x1, x2, x3, x4)
U38_ggg(x1, x2, x3, x4)  =  U38_ggg(x4)
U18_gga(x1, x2, x3)  =  U18_gga(x1, x2, x3)
U19_gga(x1, x2, x3)  =  U19_gga(x2, x3)
U20_gga(x1, x2, x3)  =  U20_gga(x3)
U21_gga(x1, x2, x3)  =  U21_gga(x1, x2, x3)
U22_gga(x1, x2, x3)  =  U22_gga(x2, x3)
U23_gga(x1, x2, x3)  =  U23_gga(x3)
U24_gga(x1, x2, x3)  =  U24_gga(x1, x2, x3)
U25_gga(x1, x2, x3)  =  U25_gga(x2, x3)
U26_gga(x1, x2, x3)  =  U26_gga(x3)
U27_gga(x1, x2, x3)  =  U27_gga(x1, x2, x3)
U28_gga(x1, x2, x3)  =  U28_gga(x2, x3)
U29_gga(x1, x2, x3)  =  U29_gga(x3)
U30_gga(x1, x2, x3)  =  U30_gga(x1, x2, x3)
U31_gga(x1, x2, x3)  =  U31_gga(x2, x3)
U32_gga(x1, x2, x3)  =  U32_gga(x3)
U33_gga(x1, x2, x3, x4)  =  U33_gga(x1, x2, x4)
U34_gga(x1, x2, x3, x4)  =  U34_gga(x2, x4)
U35_gga(x1, x2, x3, x4)  =  U35_gga(x4)
U37_gga(x1, x2, x3, x4)  =  U37_gga(x1, x2, x4)
U38_gga(x1, x2, x3, x4)  =  U38_gga(x4)
U39_gga(x1, x2, x3, x4)  =  U39_gga(x2, x4)
U40_gga(x1, x2, x3, x4)  =  U40_gga(x4)
plus166_in_gaa(x1, x2, x3)  =  plus166_in_gaa(x1)
plus166_out_gaa(x1, x2, x3)  =  plus166_out_gaa
U42_gaa(x1, x2, x3, x4)  =  U42_gaa(x4)
U36_gga(x1, x2, x3, x4)  =  U36_gga(x4)
plus154_in_aaa(x1, x2, x3)  =  plus154_in_aaa
plus154_out_aaa(x1, x2, x3)  =  plus154_out_aaa(x1)
U41_aaa(x1, x2, x3, x4)  =  U41_aaa(x4)
U39_ggg(x1, x2, x3, x4)  =  U39_ggg(x2, x3, x4)
U40_ggg(x1, x2, x3, x4)  =  U40_ggg(x4)
plus166_in_gag(x1, x2, x3)  =  plus166_in_gag(x1, x3)
plus166_out_gag(x1, x2, x3)  =  plus166_out_gag(x2)
U42_gag(x1, x2, x3, x4)  =  U42_gag(x4)
U36_ggg(x1, x2, x3, x4)  =  U36_ggg(x4)
plus154_in_aag(x1, x2, x3)  =  plus154_in_aag(x3)
plus154_out_aag(x1, x2, x3)  =  plus154_out_aag(x1, x2)
U41_aag(x1, x2, x3, x4)  =  U41_aag(x4)
U52_gga(x1, x2, x3)  =  U52_gga(x1, x2, x3)
U53_gga(x1, x2, x3)  =  U53_gga(x2, x3)
U54_gga(x1, x2, x3)  =  U54_gga(x3)
U55_gga(x1, x2, x3)  =  U55_gga(x1, x2, x3)
U56_gga(x1, x2, x3)  =  U56_gga(x2, x3)
U57_gga(x1, x2, x3)  =  U57_gga(x3)
U58_gga(x1, x2, x3)  =  U58_gga(x1, x2, x3)
U59_gga(x1, x2, x3)  =  U59_gga(x2, x3)
U60_gga(x1, x2, x3)  =  U60_gga(x3)
U61_gga(x1, x2, x3)  =  U61_gga(x1, x2, x3)
U62_gga(x1, x2, x3)  =  U62_gga(x2, x3)
U63_gga(x1, x2, x3)  =  U63_gga(x3)
U64_gga(x1, x2, x3)  =  U64_gga(x1, x2, x3)
U65_gga(x1, x2, x3)  =  U65_gga(x2, x3)
U66_gga(x1, x2, x3)  =  U66_gga(x3)
U67_gga(x1, x2, x3)  =  U67_gga(x1, x2, x3)
U68_gga(x1, x2, x3)  =  U68_gga(x2, x3)
U69_gga(x1, x2, x3)  =  U69_gga(x3)
U70_gga(x1, x2, x3)  =  U70_gga(x1, x2, x3)
U71_gga(x1, x2, x3)  =  U71_gga(x2, x3)
U72_gga(x1, x2, x3)  =  U72_gga(x3)
U73_gga(x1, x2, x3)  =  U73_gga(x1, x2, x3)
U74_gga(x1, x2, x3)  =  U74_gga(x2, x3)
U75_gga(x1, x2, x3)  =  U75_gga(x3)
U76_gga(x1, x2, x3, x4)  =  U76_gga(x1, x2, x4)
U77_gga(x1, x2, x3, x4)  =  U77_gga(x2, x4)
U78_gga(x1, x2, x3, x4)  =  U78_gga(x4)
U79_gga(x1, x2, x3, x4)  =  U79_gga(x4)
plus19_in_aaa(x1, x2, x3)  =  plus19_in_aaa
plus19_out_aaa(x1, x2, x3)  =  plus19_out_aaa(x1)
U1_aaa(x1, x2, x3, x4)  =  U1_aaa(x4)
U80_gga(x1, x2, x3, x4)  =  U80_gga(x1, x2, x4)
U81_gga(x1, x2, x3, x4)  =  U81_gga(x4)
U82_gga(x1, x2, x3, x4)  =  U82_gga(x2, x4)
U83_gga(x1, x2, x3, x4)  =  U83_gga(x4)
plus19_in_gaa(x1, x2, x3)  =  plus19_in_gaa(x1)
plus19_out_gaa(x1, x2, x3)  =  plus19_out_gaa
U1_gaa(x1, x2, x3, x4)  =  U1_gaa(x4)
PLUS166_IN_GAA(x1, x2, x3)  =  PLUS166_IN_GAA(x1)

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

(168) UsableRulesProof (EQUIVALENT transformation)

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

(169) Obligation:

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

PLUS166_IN_GAA(s(T189), T190, s(X482)) → PLUS166_IN_GAA(T189, T190, X482)

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

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

(170) PiDPToQDPProof (SOUND transformation)

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

(171) Obligation:

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

PLUS166_IN_GAA(s(T189)) → PLUS166_IN_GAA(T189)

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

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

  • PLUS166_IN_GAA(s(T189)) → PLUS166_IN_GAA(T189)
    The graph contains the following edges 1 > 1

(173) YES

(174) Obligation:

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

HALF60_IN_GA(s(s(T89)), s(X156)) → HALF60_IN_GA(T89, X156)

The TRS R consists of the following rules:

times1_in_gga(0, T5, 0) → times1_out_gga(0, T5, 0)
times1_in_gga(s(0), T23, T25) → U44_gga(T23, T25, times18_in_ga(T23, X45))
times18_in_ga(T35, 0) → times18_out_ga(T35, 0)
U44_gga(T23, T25, times18_out_ga(T23, X45)) → times1_out_gga(s(0), T23, T25)
times1_in_gga(s(0), T23, T25) → U45_gga(T23, T25, times18_in_ga(T23, T29))
U45_gga(T23, T25, times18_out_ga(T23, T29)) → U46_gga(T23, T25, plus19_in_gga(T23, T29, T25))
plus19_in_gga(0, T42, T42) → plus19_out_gga(0, T42, T42)
plus19_in_gga(s(T49), T50, s(T52)) → U1_gga(T49, T50, T52, plus19_in_gga(T49, T50, T52))
U1_gga(T49, T50, T52, plus19_out_gga(T49, T50, T52)) → plus19_out_gga(s(T49), T50, s(T52))
U46_gga(T23, T25, plus19_out_gga(T23, T29, T25)) → times1_out_gga(s(0), T23, T25)
times1_in_gga(s(s(T57)), T10, T12) → U47_gga(T57, T10, T12, even36_in_ga(T57, X90))
even36_in_ga(0, true) → even36_out_ga(0, true)
even36_in_ga(s(0), false) → even36_out_ga(s(0), false)
even36_in_ga(s(s(T61)), X101) → U2_ga(T61, X101, even36_in_ga(T61, X101))
U2_ga(T61, X101, even36_out_ga(T61, X101)) → even36_out_ga(s(s(T61)), X101)
U47_gga(T57, T10, T12, even36_out_ga(T57, X90)) → times1_out_gga(s(s(T57)), T10, T12)
times1_in_gga(s(s(T77)), T78, T80) → U48_gga(T77, T78, T80, even36_in_gg(T77, true))
even36_in_gg(0, true) → even36_out_gg(0, true)
even36_in_gg(s(0), false) → even36_out_gg(s(0), false)
even36_in_gg(s(s(T61)), X101) → U2_gg(T61, X101, even36_in_gg(T61, X101))
U2_gg(T61, X101, even36_out_gg(T61, X101)) → even36_out_gg(s(s(T61)), X101)
U48_gga(T77, T78, T80, even36_out_gg(T77, true)) → U49_gga(T77, T78, T80, half56_in_ga(T77, X128))
half56_in_ga(T86, s(X147)) → U43_ga(T86, X147, half60_in_ga(T86, X147))
half60_in_ga(0, 0) → half60_out_ga(0, 0)
half60_in_ga(s(s(T89)), s(X156)) → U3_ga(T89, X156, half60_in_ga(T89, X156))
U3_ga(T89, X156, half60_out_ga(T89, X156)) → half60_out_ga(s(s(T89)), s(X156))
U43_ga(T86, X147, half60_out_ga(T86, X147)) → half56_out_ga(T86, s(X147))
U49_gga(T77, T78, T80, half56_out_ga(T77, X128)) → times1_out_gga(s(s(T77)), T78, T80)
U48_gga(T77, T78, T80, even36_out_gg(T77, true)) → U50_gga(T77, T78, T80, half56_in_ga(T77, T82))
U50_gga(T77, T78, T80, half56_out_ga(T77, T82)) → U51_gga(T77, T78, T80, times69_in_gga(T82, T78, X129))
times69_in_gga(0, T99, 0) → times69_out_gga(0, T99, 0)
times69_in_gga(s(T104), T105, X182) → U4_gga(T104, T105, X182, even36_in_ga(s(T104), X181))
U4_gga(T104, T105, X182, even36_out_ga(s(T104), X181)) → times69_out_gga(s(T104), T105, X182)
times69_in_gga(s(T117), T118, X217) → U5_gga(T117, T118, X217, even36_in_gg(s(T117), true))
U5_gga(T117, T118, X217, even36_out_gg(s(T117), true)) → U6_gga(T117, T118, X217, half60_in_ga(s(T117), X215))
U6_gga(T117, T118, X217, half60_out_ga(s(T117), X215)) → times69_out_gga(s(T117), T118, X217)
U5_gga(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_gga(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_gga(T117, T118, X217, half60_out_ga(s(T117), T120)) → U8_gga(T117, T118, X217, times69_in_gga(T120, T118, X216))
times69_in_gga(s(T117), T118, 0) → U9_gga(T117, T118, even36_in_gg(s(T117), true))
U9_gga(T117, T118, even36_out_gg(s(T117), true)) → U10_gga(T117, T118, half60_in_ga(s(T117), T120))
U10_gga(T117, T118, half60_out_ga(s(T117), T120)) → U11_gga(T117, T118, times69_in_ggg(T120, T118, 0))
times69_in_ggg(0, T99, 0) → times69_out_ggg(0, T99, 0)
times69_in_ggg(s(T104), T105, X182) → U4_ggg(T104, T105, X182, even36_in_ga(s(T104), X181))
U4_ggg(T104, T105, X182, even36_out_ga(s(T104), X181)) → times69_out_ggg(s(T104), T105, X182)
times69_in_ggg(s(T117), T118, X217) → U5_ggg(T117, T118, X217, even36_in_gg(s(T117), true))
U5_ggg(T117, T118, X217, even36_out_gg(s(T117), true)) → U6_ggg(T117, T118, X217, half60_in_ga(s(T117), X215))
U6_ggg(T117, T118, X217, half60_out_ga(s(T117), X215)) → times69_out_ggg(s(T117), T118, X217)
U5_ggg(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_ggg(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_ggg(T117, T118, X217, half60_out_ga(s(T117), T120)) → U8_ggg(T117, T118, X217, times69_in_gga(T120, T118, X216))
times69_in_gga(s(T117), T118, s(s(0))) → U12_gga(T117, T118, even36_in_gg(s(T117), true))
U12_gga(T117, T118, even36_out_gg(s(T117), true)) → U13_gga(T117, T118, half60_in_ga(s(T117), T120))
U13_gga(T117, T118, half60_out_ga(s(T117), T120)) → U14_gga(T117, T118, times69_in_ggg(T120, T118, s(0)))
times69_in_ggg(s(T117), T118, 0) → U9_ggg(T117, T118, even36_in_gg(s(T117), true))
U9_ggg(T117, T118, even36_out_gg(s(T117), true)) → U10_ggg(T117, T118, half60_in_ga(s(T117), T120))
U10_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U11_ggg(T117, T118, times69_in_ggg(T120, T118, 0))
times69_in_ggg(s(T117), T118, s(s(0))) → U12_ggg(T117, T118, even36_in_gg(s(T117), true))
U12_ggg(T117, T118, even36_out_gg(s(T117), true)) → U13_ggg(T117, T118, half60_in_ga(s(T117), T120))
U13_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U14_ggg(T117, T118, times69_in_ggg(T120, T118, s(0)))
times69_in_ggg(s(T117), T118, s(s(s(s(0))))) → U15_ggg(T117, T118, even36_in_gg(s(T117), true))
U15_ggg(T117, T118, even36_out_gg(s(T117), true)) → U16_ggg(T117, T118, half60_in_ga(s(T117), T120))
U16_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U17_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(0))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_ggg(T117, T118, even36_in_gg(s(T117), true))
U18_ggg(T117, T118, even36_out_gg(s(T117), true)) → U19_ggg(T117, T118, half60_in_ga(s(T117), T120))
U19_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U20_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(0)))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → U21_ggg(T117, T118, even36_in_gg(s(T117), true))
U21_ggg(T117, T118, even36_out_gg(s(T117), true)) → U22_ggg(T117, T118, half60_in_ga(s(T117), T120))
U22_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U23_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(0))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U24_ggg(T117, T118, even36_in_gg(s(T117), true))
U24_ggg(T117, T118, even36_out_gg(s(T117), true)) → U25_ggg(T117, T118, half60_in_ga(s(T117), T120))
U25_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U26_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(0)))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U27_ggg(T117, T118, even36_in_gg(s(T117), true))
U27_ggg(T117, T118, even36_out_gg(s(T117), true)) → U28_ggg(T117, T118, half60_in_ga(s(T117), T120))
U28_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U29_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(0))))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U30_ggg(T117, T118, even36_in_gg(s(T117), true))
U30_ggg(T117, T118, even36_out_gg(s(T117), true)) → U31_ggg(T117, T118, half60_in_ga(s(T117), T120))
U31_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U32_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(s(0)))))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → U33_ggg(T117, T118, X411, even36_in_gg(s(T117), true))
U33_ggg(T117, T118, X411, even36_out_gg(s(T117), true)) → U34_ggg(T117, T118, X411, half60_in_ga(s(T117), T120))
U34_ggg(T117, T118, X411, half60_out_ga(s(T117), T120)) → U35_ggg(T117, T118, X411, times69_in_gga(T120, T118, s(s(s(s(s(s(s(s(T150))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(0))))) → U15_gga(T117, T118, even36_in_gg(s(T117), true))
U15_gga(T117, T118, even36_out_gg(s(T117), true)) → U16_gga(T117, T118, half60_in_ga(s(T117), T120))
U16_gga(T117, T118, half60_out_ga(s(T117), T120)) → U17_gga(T117, T118, times69_in_ggg(T120, T118, s(s(0))))
times69_in_ggg(s(T171), T172, X455) → U37_ggg(T171, T172, X455, even36_in_gg(s(T171), false))
U37_ggg(T171, T172, X455, even36_out_gg(s(T171), false)) → U38_ggg(T171, T172, X455, times69_in_gga(T171, T172, X454))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_gga(T117, T118, even36_in_gg(s(T117), true))
U18_gga(T117, T118, even36_out_gg(s(T117), true)) → U19_gga(T117, T118, half60_in_ga(s(T117), T120))
U19_gga(T117, T118, half60_out_ga(s(T117), T120)) → U20_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(0)))))
U20_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(0))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(0)))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → U21_gga(T117, T118, even36_in_gg(s(T117), true))
U21_gga(T117, T118, even36_out_gg(s(T117), true)) → U22_gga(T117, T118, half60_in_ga(s(T117), T120))
U22_gga(T117, T118, half60_out_ga(s(T117), T120)) → U23_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(0))))))
U23_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(0)))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(0)))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U24_gga(T117, T118, even36_in_gg(s(T117), true))
U24_gga(T117, T118, even36_out_gg(s(T117), true)) → U25_gga(T117, T118, half60_in_ga(s(T117), T120))
U25_gga(T117, T118, half60_out_ga(s(T117), T120)) → U26_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(0)))))))
U26_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(0))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0)))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U27_gga(T117, T118, even36_in_gg(s(T117), true))
U27_gga(T117, T118, even36_out_gg(s(T117), true)) → U28_gga(T117, T118, half60_in_ga(s(T117), T120))
U28_gga(T117, T118, half60_out_ga(s(T117), T120)) → U29_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(0))))))))
U29_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(0)))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U30_gga(T117, T118, even36_in_gg(s(T117), true))
U30_gga(T117, T118, even36_out_gg(s(T117), true)) → U31_gga(T117, T118, half60_in_ga(s(T117), T120))
U31_gga(T117, T118, half60_out_ga(s(T117), T120)) → U32_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(s(0)))))))))
U32_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(s(0))))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → U33_gga(T117, T118, X411, even36_in_gg(s(T117), true))
U33_gga(T117, T118, X411, even36_out_gg(s(T117), true)) → U34_gga(T117, T118, X411, half60_in_ga(s(T117), T120))
U34_gga(T117, T118, X411, half60_out_ga(s(T117), T120)) → U35_gga(T117, T118, X411, times69_in_gga(T120, T118, s(s(s(s(s(s(s(s(T150))))))))))
times69_in_gga(s(T171), T172, X455) → U37_gga(T171, T172, X455, even36_in_gg(s(T171), false))
U37_gga(T171, T172, X455, even36_out_gg(s(T171), false)) → U38_gga(T171, T172, X455, times69_in_gga(T171, T172, X454))
U38_gga(T171, T172, X455, times69_out_gga(T171, T172, X454)) → times69_out_gga(s(T171), T172, X455)
U37_gga(T171, T172, X455, even36_out_gg(s(T171), false)) → U39_gga(T171, T172, X455, times69_in_gga(T171, T172, T175))
U39_gga(T171, T172, X455, times69_out_gga(T171, T172, T175)) → U40_gga(T171, T172, X455, plus166_in_gaa(T172, T175, X455))
plus166_in_gaa(0, T184, T184) → plus166_out_gaa(0, T184, T184)
plus166_in_gaa(s(T189), T190, s(X482)) → U42_gaa(T189, T190, X482, plus166_in_gaa(T189, T190, X482))
U42_gaa(T189, T190, X482, plus166_out_gaa(T189, T190, X482)) → plus166_out_gaa(s(T189), T190, s(X482))
U40_gga(T171, T172, X455, plus166_out_gaa(T172, T175, X455)) → times69_out_gga(s(T171), T172, X455)
U35_gga(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → U36_gga(T117, T118, X411, plus154_in_aaa(T150, s(s(s(s(s(s(s(T150))))))), X411))
plus154_in_aaa(0, T158, s(T158)) → plus154_out_aaa(0, T158, s(T158))
plus154_in_aaa(s(T163), T164, s(X436)) → U41_aaa(T163, T164, X436, plus154_in_aaa(T163, T164, X436))
U41_aaa(T163, T164, X436, plus154_out_aaa(T163, T164, X436)) → plus154_out_aaa(s(T163), T164, s(X436))
U36_gga(T117, T118, X411, plus154_out_aaa(T150, s(s(s(s(s(s(s(T150))))))), X411)) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(X411)))))))))
U38_ggg(T171, T172, X455, times69_out_gga(T171, T172, X454)) → times69_out_ggg(s(T171), T172, X455)
U37_ggg(T171, T172, X455, even36_out_gg(s(T171), false)) → U39_ggg(T171, T172, X455, times69_in_gga(T171, T172, T175))
U39_ggg(T171, T172, X455, times69_out_gga(T171, T172, T175)) → U40_ggg(T171, T172, X455, plus166_in_gag(T172, T175, X455))
plus166_in_gag(0, T184, T184) → plus166_out_gag(0, T184, T184)
plus166_in_gag(s(T189), T190, s(X482)) → U42_gag(T189, T190, X482, plus166_in_gag(T189, T190, X482))
U42_gag(T189, T190, X482, plus166_out_gag(T189, T190, X482)) → plus166_out_gag(s(T189), T190, s(X482))
U40_ggg(T171, T172, X455, plus166_out_gag(T172, T175, X455)) → times69_out_ggg(s(T171), T172, X455)
U17_gga(T117, T118, times69_out_ggg(T120, T118, s(s(0)))) → times69_out_gga(s(T117), T118, s(s(s(s(0)))))
U35_ggg(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → U36_ggg(T117, T118, X411, plus154_in_aag(T150, s(s(s(s(s(s(s(T150))))))), X411))
plus154_in_aag(0, T158, s(T158)) → plus154_out_aag(0, T158, s(T158))
plus154_in_aag(s(T163), T164, s(X436)) → U41_aag(T163, T164, X436, plus154_in_aag(T163, T164, X436))
U41_aag(T163, T164, X436, plus154_out_aag(T163, T164, X436)) → plus154_out_aag(s(T163), T164, s(X436))
U36_ggg(T117, T118, X411, plus154_out_aag(T150, s(s(s(s(s(s(s(T150))))))), X411)) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(X411)))))))))
U32_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(s(0))))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
U29_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(0)))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
U26_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(0))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0)))))))))))
U23_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(0)))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(0)))))))))
U20_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(0))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(0)))))))
U17_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(0)))) → times69_out_ggg(s(T117), T118, s(s(s(s(0)))))
U14_ggg(T117, T118, times69_out_ggg(T120, T118, s(0))) → times69_out_ggg(s(T117), T118, s(s(0)))
U11_ggg(T117, T118, times69_out_ggg(T120, T118, 0)) → times69_out_ggg(s(T117), T118, 0)
U14_gga(T117, T118, times69_out_ggg(T120, T118, s(0))) → times69_out_gga(s(T117), T118, s(s(0)))
U8_ggg(T117, T118, X217, times69_out_gga(T120, T118, X216)) → times69_out_ggg(s(T117), T118, X217)
U11_gga(T117, T118, times69_out_ggg(T120, T118, 0)) → times69_out_gga(s(T117), T118, 0)
U8_gga(T117, T118, X217, times69_out_gga(T120, T118, X216)) → times69_out_gga(s(T117), T118, X217)
U51_gga(T77, T78, T80, times69_out_gga(T82, T78, X129)) → times1_out_gga(s(s(T77)), T78, T80)
times1_in_gga(s(s(T77)), T78, 0) → U52_gga(T77, T78, even36_in_gg(T77, true))
U52_gga(T77, T78, even36_out_gg(T77, true)) → U53_gga(T77, T78, half56_in_ga(T77, T82))
U53_gga(T77, T78, half56_out_ga(T77, T82)) → U54_gga(T77, T78, times69_in_ggg(T82, T78, 0))
U54_gga(T77, T78, times69_out_ggg(T82, T78, 0)) → times1_out_gga(s(s(T77)), T78, 0)
times1_in_gga(s(s(T77)), T78, s(s(0))) → U55_gga(T77, T78, even36_in_gg(T77, true))
U55_gga(T77, T78, even36_out_gg(T77, true)) → U56_gga(T77, T78, half56_in_ga(T77, T82))
U56_gga(T77, T78, half56_out_ga(T77, T82)) → U57_gga(T77, T78, times69_in_ggg(T82, T78, s(0)))
U57_gga(T77, T78, times69_out_ggg(T82, T78, s(0))) → times1_out_gga(s(s(T77)), T78, s(s(0)))
times1_in_gga(s(s(T77)), T78, s(s(s(s(0))))) → U58_gga(T77, T78, even36_in_gg(T77, true))
U58_gga(T77, T78, even36_out_gg(T77, true)) → U59_gga(T77, T78, half56_in_ga(T77, T82))
U59_gga(T77, T78, half56_out_ga(T77, T82)) → U60_gga(T77, T78, times69_in_ggg(T82, T78, s(s(0))))
U60_gga(T77, T78, times69_out_ggg(T82, T78, s(s(0)))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(0)))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(0))))))) → U61_gga(T77, T78, even36_in_gg(T77, true))
U61_gga(T77, T78, even36_out_gg(T77, true)) → U62_gga(T77, T78, half56_in_ga(T77, T82))
U62_gga(T77, T78, half56_out_ga(T77, T82)) → U63_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(0)))))
U63_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(0))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(0)))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(0))))))))) → U64_gga(T77, T78, even36_in_gg(T77, true))
U64_gga(T77, T78, even36_out_gg(T77, true)) → U65_gga(T77, T78, half56_in_ga(T77, T82))
U65_gga(T77, T78, half56_out_ga(T77, T82)) → U66_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(0))))))
U66_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(0)))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(0)))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U67_gga(T77, T78, even36_in_gg(T77, true))
U67_gga(T77, T78, even36_out_gg(T77, true)) → U68_gga(T77, T78, half56_in_ga(T77, T82))
U68_gga(T77, T78, half56_out_ga(T77, T82)) → U69_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(0)))))))
U69_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(0))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(0)))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U70_gga(T77, T78, even36_in_gg(T77, true))
U70_gga(T77, T78, even36_out_gg(T77, true)) → U71_gga(T77, T78, half56_in_ga(T77, T82))
U71_gga(T77, T78, half56_out_ga(T77, T82)) → U72_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(s(0))))))))
U72_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(s(0)))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U73_gga(T77, T78, even36_in_gg(T77, true))
U73_gga(T77, T78, even36_out_gg(T77, true)) → U74_gga(T77, T78, half56_in_ga(T77, T82))
U74_gga(T77, T78, half56_out_ga(T77, T82)) → U75_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(s(s(0)))))))))
U75_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(s(s(0))))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(T248))))))))) → U76_gga(T77, T78, T248, even36_in_gg(T77, true))
U76_gga(T77, T78, T248, even36_out_gg(T77, true)) → U77_gga(T77, T78, T248, half56_in_ga(T77, T82))
U77_gga(T77, T78, T248, half56_out_ga(T77, T82)) → U78_gga(T77, T78, T248, times69_in_gga(T82, T78, s(s(s(s(s(s(s(s(T246))))))))))
U78_gga(T77, T78, T248, times69_out_gga(T82, T78, s(s(s(s(s(s(s(s(T246)))))))))) → U79_gga(T77, T78, T248, plus19_in_aaa(T246, s(s(s(s(s(s(s(s(T246)))))))), T248))
plus19_in_aaa(0, T42, T42) → plus19_out_aaa(0, T42, T42)
plus19_in_aaa(s(T49), T50, s(T52)) → U1_aaa(T49, T50, T52, plus19_in_aaa(T49, T50, T52))
U1_aaa(T49, T50, T52, plus19_out_aaa(T49, T50, T52)) → plus19_out_aaa(s(T49), T50, s(T52))
U79_gga(T77, T78, T248, plus19_out_aaa(T246, s(s(s(s(s(s(s(s(T246)))))))), T248)) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(T248)))))))))
times1_in_gga(s(s(T258)), T259, T261) → U80_gga(T258, T259, T261, even36_in_gg(T258, false))
U80_gga(T258, T259, T261, even36_out_gg(T258, false)) → U81_gga(T258, T259, T261, times69_in_gga(s(T258), T259, X662))
U81_gga(T258, T259, T261, times69_out_gga(s(T258), T259, X662)) → times1_out_gga(s(s(T258)), T259, T261)
U80_gga(T258, T259, T261, even36_out_gg(T258, false)) → U82_gga(T258, T259, T261, times69_in_gga(s(T258), T259, T264))
U82_gga(T258, T259, T261, times69_out_gga(s(T258), T259, T264)) → U83_gga(T258, T259, T261, plus19_in_gaa(T259, T264, T261))
plus19_in_gaa(0, T42, T42) → plus19_out_gaa(0, T42, T42)
plus19_in_gaa(s(T49), T50, s(T52)) → U1_gaa(T49, T50, T52, plus19_in_gaa(T49, T50, T52))
U1_gaa(T49, T50, T52, plus19_out_gaa(T49, T50, T52)) → plus19_out_gaa(s(T49), T50, s(T52))
U83_gga(T258, T259, T261, plus19_out_gaa(T259, T264, T261)) → times1_out_gga(s(s(T258)), T259, T261)

The argument filtering Pi contains the following mapping:
times1_in_gga(x1, x2, x3)  =  times1_in_gga(x1, x2)
0  =  0
times1_out_gga(x1, x2, x3)  =  times1_out_gga
s(x1)  =  s(x1)
U44_gga(x1, x2, x3)  =  U44_gga(x3)
times18_in_ga(x1, x2)  =  times18_in_ga(x1)
times18_out_ga(x1, x2)  =  times18_out_ga(x2)
U45_gga(x1, x2, x3)  =  U45_gga(x1, x3)
U46_gga(x1, x2, x3)  =  U46_gga(x3)
plus19_in_gga(x1, x2, x3)  =  plus19_in_gga(x1, x2)
plus19_out_gga(x1, x2, x3)  =  plus19_out_gga(x3)
U1_gga(x1, x2, x3, x4)  =  U1_gga(x4)
U47_gga(x1, x2, x3, x4)  =  U47_gga(x4)
even36_in_ga(x1, x2)  =  even36_in_ga(x1)
even36_out_ga(x1, x2)  =  even36_out_ga(x2)
U2_ga(x1, x2, x3)  =  U2_ga(x3)
U48_gga(x1, x2, x3, x4)  =  U48_gga(x1, x2, x4)
even36_in_gg(x1, x2)  =  even36_in_gg(x1, x2)
true  =  true
even36_out_gg(x1, x2)  =  even36_out_gg
false  =  false
U2_gg(x1, x2, x3)  =  U2_gg(x3)
U49_gga(x1, x2, x3, x4)  =  U49_gga(x4)
half56_in_ga(x1, x2)  =  half56_in_ga(x1)
U43_ga(x1, x2, x3)  =  U43_ga(x3)
half60_in_ga(x1, x2)  =  half60_in_ga(x1)
half60_out_ga(x1, x2)  =  half60_out_ga(x2)
U3_ga(x1, x2, x3)  =  U3_ga(x3)
half56_out_ga(x1, x2)  =  half56_out_ga(x2)
U50_gga(x1, x2, x3, x4)  =  U50_gga(x2, x4)
U51_gga(x1, x2, x3, x4)  =  U51_gga(x4)
times69_in_gga(x1, x2, x3)  =  times69_in_gga(x1, x2)
times69_out_gga(x1, x2, x3)  =  times69_out_gga
U4_gga(x1, x2, x3, x4)  =  U4_gga(x4)
U5_gga(x1, x2, x3, x4)  =  U5_gga(x1, x2, x4)
U6_gga(x1, x2, x3, x4)  =  U6_gga(x4)
U7_gga(x1, x2, x3, x4)  =  U7_gga(x2, x4)
U8_gga(x1, x2, x3, x4)  =  U8_gga(x4)
U9_gga(x1, x2, x3)  =  U9_gga(x1, x2, x3)
U10_gga(x1, x2, x3)  =  U10_gga(x2, x3)
U11_gga(x1, x2, x3)  =  U11_gga(x3)
times69_in_ggg(x1, x2, x3)  =  times69_in_ggg(x1, x2, x3)
times69_out_ggg(x1, x2, x3)  =  times69_out_ggg
U4_ggg(x1, x2, x3, x4)  =  U4_ggg(x4)
U5_ggg(x1, x2, x3, x4)  =  U5_ggg(x1, x2, x4)
U6_ggg(x1, x2, x3, x4)  =  U6_ggg(x4)
U7_ggg(x1, x2, x3, x4)  =  U7_ggg(x2, x4)
U8_ggg(x1, x2, x3, x4)  =  U8_ggg(x4)
U12_gga(x1, x2, x3)  =  U12_gga(x1, x2, x3)
U13_gga(x1, x2, x3)  =  U13_gga(x2, x3)
U14_gga(x1, x2, x3)  =  U14_gga(x3)
U9_ggg(x1, x2, x3)  =  U9_ggg(x1, x2, x3)
U10_ggg(x1, x2, x3)  =  U10_ggg(x2, x3)
U11_ggg(x1, x2, x3)  =  U11_ggg(x3)
U12_ggg(x1, x2, x3)  =  U12_ggg(x1, x2, x3)
U13_ggg(x1, x2, x3)  =  U13_ggg(x2, x3)
U14_ggg(x1, x2, x3)  =  U14_ggg(x3)
U15_ggg(x1, x2, x3)  =  U15_ggg(x1, x2, x3)
U16_ggg(x1, x2, x3)  =  U16_ggg(x2, x3)
U17_ggg(x1, x2, x3)  =  U17_ggg(x3)
U18_ggg(x1, x2, x3)  =  U18_ggg(x1, x2, x3)
U19_ggg(x1, x2, x3)  =  U19_ggg(x2, x3)
U20_ggg(x1, x2, x3)  =  U20_ggg(x3)
U21_ggg(x1, x2, x3)  =  U21_ggg(x1, x2, x3)
U22_ggg(x1, x2, x3)  =  U22_ggg(x2, x3)
U23_ggg(x1, x2, x3)  =  U23_ggg(x3)
U24_ggg(x1, x2, x3)  =  U24_ggg(x1, x2, x3)
U25_ggg(x1, x2, x3)  =  U25_ggg(x2, x3)
U26_ggg(x1, x2, x3)  =  U26_ggg(x3)
U27_ggg(x1, x2, x3)  =  U27_ggg(x1, x2, x3)
U28_ggg(x1, x2, x3)  =  U28_ggg(x2, x3)
U29_ggg(x1, x2, x3)  =  U29_ggg(x3)
U30_ggg(x1, x2, x3)  =  U30_ggg(x1, x2, x3)
U31_ggg(x1, x2, x3)  =  U31_ggg(x2, x3)
U32_ggg(x1, x2, x3)  =  U32_ggg(x3)
U33_ggg(x1, x2, x3, x4)  =  U33_ggg(x1, x2, x3, x4)
U34_ggg(x1, x2, x3, x4)  =  U34_ggg(x2, x3, x4)
U35_ggg(x1, x2, x3, x4)  =  U35_ggg(x3, x4)
U15_gga(x1, x2, x3)  =  U15_gga(x1, x2, x3)
U16_gga(x1, x2, x3)  =  U16_gga(x2, x3)
U17_gga(x1, x2, x3)  =  U17_gga(x3)
U37_ggg(x1, x2, x3, x4)  =  U37_ggg(x1, x2, x3, x4)
U38_ggg(x1, x2, x3, x4)  =  U38_ggg(x4)
U18_gga(x1, x2, x3)  =  U18_gga(x1, x2, x3)
U19_gga(x1, x2, x3)  =  U19_gga(x2, x3)
U20_gga(x1, x2, x3)  =  U20_gga(x3)
U21_gga(x1, x2, x3)  =  U21_gga(x1, x2, x3)
U22_gga(x1, x2, x3)  =  U22_gga(x2, x3)
U23_gga(x1, x2, x3)  =  U23_gga(x3)
U24_gga(x1, x2, x3)  =  U24_gga(x1, x2, x3)
U25_gga(x1, x2, x3)  =  U25_gga(x2, x3)
U26_gga(x1, x2, x3)  =  U26_gga(x3)
U27_gga(x1, x2, x3)  =  U27_gga(x1, x2, x3)
U28_gga(x1, x2, x3)  =  U28_gga(x2, x3)
U29_gga(x1, x2, x3)  =  U29_gga(x3)
U30_gga(x1, x2, x3)  =  U30_gga(x1, x2, x3)
U31_gga(x1, x2, x3)  =  U31_gga(x2, x3)
U32_gga(x1, x2, x3)  =  U32_gga(x3)
U33_gga(x1, x2, x3, x4)  =  U33_gga(x1, x2, x4)
U34_gga(x1, x2, x3, x4)  =  U34_gga(x2, x4)
U35_gga(x1, x2, x3, x4)  =  U35_gga(x4)
U37_gga(x1, x2, x3, x4)  =  U37_gga(x1, x2, x4)
U38_gga(x1, x2, x3, x4)  =  U38_gga(x4)
U39_gga(x1, x2, x3, x4)  =  U39_gga(x2, x4)
U40_gga(x1, x2, x3, x4)  =  U40_gga(x4)
plus166_in_gaa(x1, x2, x3)  =  plus166_in_gaa(x1)
plus166_out_gaa(x1, x2, x3)  =  plus166_out_gaa
U42_gaa(x1, x2, x3, x4)  =  U42_gaa(x4)
U36_gga(x1, x2, x3, x4)  =  U36_gga(x4)
plus154_in_aaa(x1, x2, x3)  =  plus154_in_aaa
plus154_out_aaa(x1, x2, x3)  =  plus154_out_aaa(x1)
U41_aaa(x1, x2, x3, x4)  =  U41_aaa(x4)
U39_ggg(x1, x2, x3, x4)  =  U39_ggg(x2, x3, x4)
U40_ggg(x1, x2, x3, x4)  =  U40_ggg(x4)
plus166_in_gag(x1, x2, x3)  =  plus166_in_gag(x1, x3)
plus166_out_gag(x1, x2, x3)  =  plus166_out_gag(x2)
U42_gag(x1, x2, x3, x4)  =  U42_gag(x4)
U36_ggg(x1, x2, x3, x4)  =  U36_ggg(x4)
plus154_in_aag(x1, x2, x3)  =  plus154_in_aag(x3)
plus154_out_aag(x1, x2, x3)  =  plus154_out_aag(x1, x2)
U41_aag(x1, x2, x3, x4)  =  U41_aag(x4)
U52_gga(x1, x2, x3)  =  U52_gga(x1, x2, x3)
U53_gga(x1, x2, x3)  =  U53_gga(x2, x3)
U54_gga(x1, x2, x3)  =  U54_gga(x3)
U55_gga(x1, x2, x3)  =  U55_gga(x1, x2, x3)
U56_gga(x1, x2, x3)  =  U56_gga(x2, x3)
U57_gga(x1, x2, x3)  =  U57_gga(x3)
U58_gga(x1, x2, x3)  =  U58_gga(x1, x2, x3)
U59_gga(x1, x2, x3)  =  U59_gga(x2, x3)
U60_gga(x1, x2, x3)  =  U60_gga(x3)
U61_gga(x1, x2, x3)  =  U61_gga(x1, x2, x3)
U62_gga(x1, x2, x3)  =  U62_gga(x2, x3)
U63_gga(x1, x2, x3)  =  U63_gga(x3)
U64_gga(x1, x2, x3)  =  U64_gga(x1, x2, x3)
U65_gga(x1, x2, x3)  =  U65_gga(x2, x3)
U66_gga(x1, x2, x3)  =  U66_gga(x3)
U67_gga(x1, x2, x3)  =  U67_gga(x1, x2, x3)
U68_gga(x1, x2, x3)  =  U68_gga(x2, x3)
U69_gga(x1, x2, x3)  =  U69_gga(x3)
U70_gga(x1, x2, x3)  =  U70_gga(x1, x2, x3)
U71_gga(x1, x2, x3)  =  U71_gga(x2, x3)
U72_gga(x1, x2, x3)  =  U72_gga(x3)
U73_gga(x1, x2, x3)  =  U73_gga(x1, x2, x3)
U74_gga(x1, x2, x3)  =  U74_gga(x2, x3)
U75_gga(x1, x2, x3)  =  U75_gga(x3)
U76_gga(x1, x2, x3, x4)  =  U76_gga(x1, x2, x4)
U77_gga(x1, x2, x3, x4)  =  U77_gga(x2, x4)
U78_gga(x1, x2, x3, x4)  =  U78_gga(x4)
U79_gga(x1, x2, x3, x4)  =  U79_gga(x4)
plus19_in_aaa(x1, x2, x3)  =  plus19_in_aaa
plus19_out_aaa(x1, x2, x3)  =  plus19_out_aaa(x1)
U1_aaa(x1, x2, x3, x4)  =  U1_aaa(x4)
U80_gga(x1, x2, x3, x4)  =  U80_gga(x1, x2, x4)
U81_gga(x1, x2, x3, x4)  =  U81_gga(x4)
U82_gga(x1, x2, x3, x4)  =  U82_gga(x2, x4)
U83_gga(x1, x2, x3, x4)  =  U83_gga(x4)
plus19_in_gaa(x1, x2, x3)  =  plus19_in_gaa(x1)
plus19_out_gaa(x1, x2, x3)  =  plus19_out_gaa
U1_gaa(x1, x2, x3, x4)  =  U1_gaa(x4)
HALF60_IN_GA(x1, x2)  =  HALF60_IN_GA(x1)

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

(175) UsableRulesProof (EQUIVALENT transformation)

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

(176) Obligation:

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

HALF60_IN_GA(s(s(T89)), s(X156)) → HALF60_IN_GA(T89, X156)

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

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

(177) PiDPToQDPProof (SOUND transformation)

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

(178) Obligation:

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

HALF60_IN_GA(s(s(T89))) → HALF60_IN_GA(T89)

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

(179) QDPSizeChangeProof (EQUIVALENT transformation)

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

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

  • HALF60_IN_GA(s(s(T89))) → HALF60_IN_GA(T89)
    The graph contains the following edges 1 > 1

(180) YES

(181) Obligation:

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

EVEN36_IN_GG(s(s(T61)), X101) → EVEN36_IN_GG(T61, X101)

The TRS R consists of the following rules:

times1_in_gga(0, T5, 0) → times1_out_gga(0, T5, 0)
times1_in_gga(s(0), T23, T25) → U44_gga(T23, T25, times18_in_ga(T23, X45))
times18_in_ga(T35, 0) → times18_out_ga(T35, 0)
U44_gga(T23, T25, times18_out_ga(T23, X45)) → times1_out_gga(s(0), T23, T25)
times1_in_gga(s(0), T23, T25) → U45_gga(T23, T25, times18_in_ga(T23, T29))
U45_gga(T23, T25, times18_out_ga(T23, T29)) → U46_gga(T23, T25, plus19_in_gga(T23, T29, T25))
plus19_in_gga(0, T42, T42) → plus19_out_gga(0, T42, T42)
plus19_in_gga(s(T49), T50, s(T52)) → U1_gga(T49, T50, T52, plus19_in_gga(T49, T50, T52))
U1_gga(T49, T50, T52, plus19_out_gga(T49, T50, T52)) → plus19_out_gga(s(T49), T50, s(T52))
U46_gga(T23, T25, plus19_out_gga(T23, T29, T25)) → times1_out_gga(s(0), T23, T25)
times1_in_gga(s(s(T57)), T10, T12) → U47_gga(T57, T10, T12, even36_in_ga(T57, X90))
even36_in_ga(0, true) → even36_out_ga(0, true)
even36_in_ga(s(0), false) → even36_out_ga(s(0), false)
even36_in_ga(s(s(T61)), X101) → U2_ga(T61, X101, even36_in_ga(T61, X101))
U2_ga(T61, X101, even36_out_ga(T61, X101)) → even36_out_ga(s(s(T61)), X101)
U47_gga(T57, T10, T12, even36_out_ga(T57, X90)) → times1_out_gga(s(s(T57)), T10, T12)
times1_in_gga(s(s(T77)), T78, T80) → U48_gga(T77, T78, T80, even36_in_gg(T77, true))
even36_in_gg(0, true) → even36_out_gg(0, true)
even36_in_gg(s(0), false) → even36_out_gg(s(0), false)
even36_in_gg(s(s(T61)), X101) → U2_gg(T61, X101, even36_in_gg(T61, X101))
U2_gg(T61, X101, even36_out_gg(T61, X101)) → even36_out_gg(s(s(T61)), X101)
U48_gga(T77, T78, T80, even36_out_gg(T77, true)) → U49_gga(T77, T78, T80, half56_in_ga(T77, X128))
half56_in_ga(T86, s(X147)) → U43_ga(T86, X147, half60_in_ga(T86, X147))
half60_in_ga(0, 0) → half60_out_ga(0, 0)
half60_in_ga(s(s(T89)), s(X156)) → U3_ga(T89, X156, half60_in_ga(T89, X156))
U3_ga(T89, X156, half60_out_ga(T89, X156)) → half60_out_ga(s(s(T89)), s(X156))
U43_ga(T86, X147, half60_out_ga(T86, X147)) → half56_out_ga(T86, s(X147))
U49_gga(T77, T78, T80, half56_out_ga(T77, X128)) → times1_out_gga(s(s(T77)), T78, T80)
U48_gga(T77, T78, T80, even36_out_gg(T77, true)) → U50_gga(T77, T78, T80, half56_in_ga(T77, T82))
U50_gga(T77, T78, T80, half56_out_ga(T77, T82)) → U51_gga(T77, T78, T80, times69_in_gga(T82, T78, X129))
times69_in_gga(0, T99, 0) → times69_out_gga(0, T99, 0)
times69_in_gga(s(T104), T105, X182) → U4_gga(T104, T105, X182, even36_in_ga(s(T104), X181))
U4_gga(T104, T105, X182, even36_out_ga(s(T104), X181)) → times69_out_gga(s(T104), T105, X182)
times69_in_gga(s(T117), T118, X217) → U5_gga(T117, T118, X217, even36_in_gg(s(T117), true))
U5_gga(T117, T118, X217, even36_out_gg(s(T117), true)) → U6_gga(T117, T118, X217, half60_in_ga(s(T117), X215))
U6_gga(T117, T118, X217, half60_out_ga(s(T117), X215)) → times69_out_gga(s(T117), T118, X217)
U5_gga(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_gga(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_gga(T117, T118, X217, half60_out_ga(s(T117), T120)) → U8_gga(T117, T118, X217, times69_in_gga(T120, T118, X216))
times69_in_gga(s(T117), T118, 0) → U9_gga(T117, T118, even36_in_gg(s(T117), true))
U9_gga(T117, T118, even36_out_gg(s(T117), true)) → U10_gga(T117, T118, half60_in_ga(s(T117), T120))
U10_gga(T117, T118, half60_out_ga(s(T117), T120)) → U11_gga(T117, T118, times69_in_ggg(T120, T118, 0))
times69_in_ggg(0, T99, 0) → times69_out_ggg(0, T99, 0)
times69_in_ggg(s(T104), T105, X182) → U4_ggg(T104, T105, X182, even36_in_ga(s(T104), X181))
U4_ggg(T104, T105, X182, even36_out_ga(s(T104), X181)) → times69_out_ggg(s(T104), T105, X182)
times69_in_ggg(s(T117), T118, X217) → U5_ggg(T117, T118, X217, even36_in_gg(s(T117), true))
U5_ggg(T117, T118, X217, even36_out_gg(s(T117), true)) → U6_ggg(T117, T118, X217, half60_in_ga(s(T117), X215))
U6_ggg(T117, T118, X217, half60_out_ga(s(T117), X215)) → times69_out_ggg(s(T117), T118, X217)
U5_ggg(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_ggg(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_ggg(T117, T118, X217, half60_out_ga(s(T117), T120)) → U8_ggg(T117, T118, X217, times69_in_gga(T120, T118, X216))
times69_in_gga(s(T117), T118, s(s(0))) → U12_gga(T117, T118, even36_in_gg(s(T117), true))
U12_gga(T117, T118, even36_out_gg(s(T117), true)) → U13_gga(T117, T118, half60_in_ga(s(T117), T120))
U13_gga(T117, T118, half60_out_ga(s(T117), T120)) → U14_gga(T117, T118, times69_in_ggg(T120, T118, s(0)))
times69_in_ggg(s(T117), T118, 0) → U9_ggg(T117, T118, even36_in_gg(s(T117), true))
U9_ggg(T117, T118, even36_out_gg(s(T117), true)) → U10_ggg(T117, T118, half60_in_ga(s(T117), T120))
U10_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U11_ggg(T117, T118, times69_in_ggg(T120, T118, 0))
times69_in_ggg(s(T117), T118, s(s(0))) → U12_ggg(T117, T118, even36_in_gg(s(T117), true))
U12_ggg(T117, T118, even36_out_gg(s(T117), true)) → U13_ggg(T117, T118, half60_in_ga(s(T117), T120))
U13_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U14_ggg(T117, T118, times69_in_ggg(T120, T118, s(0)))
times69_in_ggg(s(T117), T118, s(s(s(s(0))))) → U15_ggg(T117, T118, even36_in_gg(s(T117), true))
U15_ggg(T117, T118, even36_out_gg(s(T117), true)) → U16_ggg(T117, T118, half60_in_ga(s(T117), T120))
U16_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U17_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(0))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_ggg(T117, T118, even36_in_gg(s(T117), true))
U18_ggg(T117, T118, even36_out_gg(s(T117), true)) → U19_ggg(T117, T118, half60_in_ga(s(T117), T120))
U19_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U20_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(0)))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → U21_ggg(T117, T118, even36_in_gg(s(T117), true))
U21_ggg(T117, T118, even36_out_gg(s(T117), true)) → U22_ggg(T117, T118, half60_in_ga(s(T117), T120))
U22_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U23_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(0))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U24_ggg(T117, T118, even36_in_gg(s(T117), true))
U24_ggg(T117, T118, even36_out_gg(s(T117), true)) → U25_ggg(T117, T118, half60_in_ga(s(T117), T120))
U25_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U26_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(0)))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U27_ggg(T117, T118, even36_in_gg(s(T117), true))
U27_ggg(T117, T118, even36_out_gg(s(T117), true)) → U28_ggg(T117, T118, half60_in_ga(s(T117), T120))
U28_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U29_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(0))))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U30_ggg(T117, T118, even36_in_gg(s(T117), true))
U30_ggg(T117, T118, even36_out_gg(s(T117), true)) → U31_ggg(T117, T118, half60_in_ga(s(T117), T120))
U31_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U32_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(s(0)))))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → U33_ggg(T117, T118, X411, even36_in_gg(s(T117), true))
U33_ggg(T117, T118, X411, even36_out_gg(s(T117), true)) → U34_ggg(T117, T118, X411, half60_in_ga(s(T117), T120))
U34_ggg(T117, T118, X411, half60_out_ga(s(T117), T120)) → U35_ggg(T117, T118, X411, times69_in_gga(T120, T118, s(s(s(s(s(s(s(s(T150))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(0))))) → U15_gga(T117, T118, even36_in_gg(s(T117), true))
U15_gga(T117, T118, even36_out_gg(s(T117), true)) → U16_gga(T117, T118, half60_in_ga(s(T117), T120))
U16_gga(T117, T118, half60_out_ga(s(T117), T120)) → U17_gga(T117, T118, times69_in_ggg(T120, T118, s(s(0))))
times69_in_ggg(s(T171), T172, X455) → U37_ggg(T171, T172, X455, even36_in_gg(s(T171), false))
U37_ggg(T171, T172, X455, even36_out_gg(s(T171), false)) → U38_ggg(T171, T172, X455, times69_in_gga(T171, T172, X454))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_gga(T117, T118, even36_in_gg(s(T117), true))
U18_gga(T117, T118, even36_out_gg(s(T117), true)) → U19_gga(T117, T118, half60_in_ga(s(T117), T120))
U19_gga(T117, T118, half60_out_ga(s(T117), T120)) → U20_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(0)))))
U20_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(0))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(0)))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → U21_gga(T117, T118, even36_in_gg(s(T117), true))
U21_gga(T117, T118, even36_out_gg(s(T117), true)) → U22_gga(T117, T118, half60_in_ga(s(T117), T120))
U22_gga(T117, T118, half60_out_ga(s(T117), T120)) → U23_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(0))))))
U23_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(0)))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(0)))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U24_gga(T117, T118, even36_in_gg(s(T117), true))
U24_gga(T117, T118, even36_out_gg(s(T117), true)) → U25_gga(T117, T118, half60_in_ga(s(T117), T120))
U25_gga(T117, T118, half60_out_ga(s(T117), T120)) → U26_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(0)))))))
U26_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(0))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0)))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U27_gga(T117, T118, even36_in_gg(s(T117), true))
U27_gga(T117, T118, even36_out_gg(s(T117), true)) → U28_gga(T117, T118, half60_in_ga(s(T117), T120))
U28_gga(T117, T118, half60_out_ga(s(T117), T120)) → U29_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(0))))))))
U29_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(0)))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U30_gga(T117, T118, even36_in_gg(s(T117), true))
U30_gga(T117, T118, even36_out_gg(s(T117), true)) → U31_gga(T117, T118, half60_in_ga(s(T117), T120))
U31_gga(T117, T118, half60_out_ga(s(T117), T120)) → U32_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(s(0)))))))))
U32_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(s(0))))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → U33_gga(T117, T118, X411, even36_in_gg(s(T117), true))
U33_gga(T117, T118, X411, even36_out_gg(s(T117), true)) → U34_gga(T117, T118, X411, half60_in_ga(s(T117), T120))
U34_gga(T117, T118, X411, half60_out_ga(s(T117), T120)) → U35_gga(T117, T118, X411, times69_in_gga(T120, T118, s(s(s(s(s(s(s(s(T150))))))))))
times69_in_gga(s(T171), T172, X455) → U37_gga(T171, T172, X455, even36_in_gg(s(T171), false))
U37_gga(T171, T172, X455, even36_out_gg(s(T171), false)) → U38_gga(T171, T172, X455, times69_in_gga(T171, T172, X454))
U38_gga(T171, T172, X455, times69_out_gga(T171, T172, X454)) → times69_out_gga(s(T171), T172, X455)
U37_gga(T171, T172, X455, even36_out_gg(s(T171), false)) → U39_gga(T171, T172, X455, times69_in_gga(T171, T172, T175))
U39_gga(T171, T172, X455, times69_out_gga(T171, T172, T175)) → U40_gga(T171, T172, X455, plus166_in_gaa(T172, T175, X455))
plus166_in_gaa(0, T184, T184) → plus166_out_gaa(0, T184, T184)
plus166_in_gaa(s(T189), T190, s(X482)) → U42_gaa(T189, T190, X482, plus166_in_gaa(T189, T190, X482))
U42_gaa(T189, T190, X482, plus166_out_gaa(T189, T190, X482)) → plus166_out_gaa(s(T189), T190, s(X482))
U40_gga(T171, T172, X455, plus166_out_gaa(T172, T175, X455)) → times69_out_gga(s(T171), T172, X455)
U35_gga(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → U36_gga(T117, T118, X411, plus154_in_aaa(T150, s(s(s(s(s(s(s(T150))))))), X411))
plus154_in_aaa(0, T158, s(T158)) → plus154_out_aaa(0, T158, s(T158))
plus154_in_aaa(s(T163), T164, s(X436)) → U41_aaa(T163, T164, X436, plus154_in_aaa(T163, T164, X436))
U41_aaa(T163, T164, X436, plus154_out_aaa(T163, T164, X436)) → plus154_out_aaa(s(T163), T164, s(X436))
U36_gga(T117, T118, X411, plus154_out_aaa(T150, s(s(s(s(s(s(s(T150))))))), X411)) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(X411)))))))))
U38_ggg(T171, T172, X455, times69_out_gga(T171, T172, X454)) → times69_out_ggg(s(T171), T172, X455)
U37_ggg(T171, T172, X455, even36_out_gg(s(T171), false)) → U39_ggg(T171, T172, X455, times69_in_gga(T171, T172, T175))
U39_ggg(T171, T172, X455, times69_out_gga(T171, T172, T175)) → U40_ggg(T171, T172, X455, plus166_in_gag(T172, T175, X455))
plus166_in_gag(0, T184, T184) → plus166_out_gag(0, T184, T184)
plus166_in_gag(s(T189), T190, s(X482)) → U42_gag(T189, T190, X482, plus166_in_gag(T189, T190, X482))
U42_gag(T189, T190, X482, plus166_out_gag(T189, T190, X482)) → plus166_out_gag(s(T189), T190, s(X482))
U40_ggg(T171, T172, X455, plus166_out_gag(T172, T175, X455)) → times69_out_ggg(s(T171), T172, X455)
U17_gga(T117, T118, times69_out_ggg(T120, T118, s(s(0)))) → times69_out_gga(s(T117), T118, s(s(s(s(0)))))
U35_ggg(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → U36_ggg(T117, T118, X411, plus154_in_aag(T150, s(s(s(s(s(s(s(T150))))))), X411))
plus154_in_aag(0, T158, s(T158)) → plus154_out_aag(0, T158, s(T158))
plus154_in_aag(s(T163), T164, s(X436)) → U41_aag(T163, T164, X436, plus154_in_aag(T163, T164, X436))
U41_aag(T163, T164, X436, plus154_out_aag(T163, T164, X436)) → plus154_out_aag(s(T163), T164, s(X436))
U36_ggg(T117, T118, X411, plus154_out_aag(T150, s(s(s(s(s(s(s(T150))))))), X411)) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(X411)))))))))
U32_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(s(0))))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
U29_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(0)))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
U26_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(0))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0)))))))))))
U23_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(0)))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(0)))))))))
U20_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(0))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(0)))))))
U17_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(0)))) → times69_out_ggg(s(T117), T118, s(s(s(s(0)))))
U14_ggg(T117, T118, times69_out_ggg(T120, T118, s(0))) → times69_out_ggg(s(T117), T118, s(s(0)))
U11_ggg(T117, T118, times69_out_ggg(T120, T118, 0)) → times69_out_ggg(s(T117), T118, 0)
U14_gga(T117, T118, times69_out_ggg(T120, T118, s(0))) → times69_out_gga(s(T117), T118, s(s(0)))
U8_ggg(T117, T118, X217, times69_out_gga(T120, T118, X216)) → times69_out_ggg(s(T117), T118, X217)
U11_gga(T117, T118, times69_out_ggg(T120, T118, 0)) → times69_out_gga(s(T117), T118, 0)
U8_gga(T117, T118, X217, times69_out_gga(T120, T118, X216)) → times69_out_gga(s(T117), T118, X217)
U51_gga(T77, T78, T80, times69_out_gga(T82, T78, X129)) → times1_out_gga(s(s(T77)), T78, T80)
times1_in_gga(s(s(T77)), T78, 0) → U52_gga(T77, T78, even36_in_gg(T77, true))
U52_gga(T77, T78, even36_out_gg(T77, true)) → U53_gga(T77, T78, half56_in_ga(T77, T82))
U53_gga(T77, T78, half56_out_ga(T77, T82)) → U54_gga(T77, T78, times69_in_ggg(T82, T78, 0))
U54_gga(T77, T78, times69_out_ggg(T82, T78, 0)) → times1_out_gga(s(s(T77)), T78, 0)
times1_in_gga(s(s(T77)), T78, s(s(0))) → U55_gga(T77, T78, even36_in_gg(T77, true))
U55_gga(T77, T78, even36_out_gg(T77, true)) → U56_gga(T77, T78, half56_in_ga(T77, T82))
U56_gga(T77, T78, half56_out_ga(T77, T82)) → U57_gga(T77, T78, times69_in_ggg(T82, T78, s(0)))
U57_gga(T77, T78, times69_out_ggg(T82, T78, s(0))) → times1_out_gga(s(s(T77)), T78, s(s(0)))
times1_in_gga(s(s(T77)), T78, s(s(s(s(0))))) → U58_gga(T77, T78, even36_in_gg(T77, true))
U58_gga(T77, T78, even36_out_gg(T77, true)) → U59_gga(T77, T78, half56_in_ga(T77, T82))
U59_gga(T77, T78, half56_out_ga(T77, T82)) → U60_gga(T77, T78, times69_in_ggg(T82, T78, s(s(0))))
U60_gga(T77, T78, times69_out_ggg(T82, T78, s(s(0)))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(0)))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(0))))))) → U61_gga(T77, T78, even36_in_gg(T77, true))
U61_gga(T77, T78, even36_out_gg(T77, true)) → U62_gga(T77, T78, half56_in_ga(T77, T82))
U62_gga(T77, T78, half56_out_ga(T77, T82)) → U63_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(0)))))
U63_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(0))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(0)))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(0))))))))) → U64_gga(T77, T78, even36_in_gg(T77, true))
U64_gga(T77, T78, even36_out_gg(T77, true)) → U65_gga(T77, T78, half56_in_ga(T77, T82))
U65_gga(T77, T78, half56_out_ga(T77, T82)) → U66_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(0))))))
U66_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(0)))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(0)))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U67_gga(T77, T78, even36_in_gg(T77, true))
U67_gga(T77, T78, even36_out_gg(T77, true)) → U68_gga(T77, T78, half56_in_ga(T77, T82))
U68_gga(T77, T78, half56_out_ga(T77, T82)) → U69_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(0)))))))
U69_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(0))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(0)))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U70_gga(T77, T78, even36_in_gg(T77, true))
U70_gga(T77, T78, even36_out_gg(T77, true)) → U71_gga(T77, T78, half56_in_ga(T77, T82))
U71_gga(T77, T78, half56_out_ga(T77, T82)) → U72_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(s(0))))))))
U72_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(s(0)))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U73_gga(T77, T78, even36_in_gg(T77, true))
U73_gga(T77, T78, even36_out_gg(T77, true)) → U74_gga(T77, T78, half56_in_ga(T77, T82))
U74_gga(T77, T78, half56_out_ga(T77, T82)) → U75_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(s(s(0)))))))))
U75_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(s(s(0))))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(T248))))))))) → U76_gga(T77, T78, T248, even36_in_gg(T77, true))
U76_gga(T77, T78, T248, even36_out_gg(T77, true)) → U77_gga(T77, T78, T248, half56_in_ga(T77, T82))
U77_gga(T77, T78, T248, half56_out_ga(T77, T82)) → U78_gga(T77, T78, T248, times69_in_gga(T82, T78, s(s(s(s(s(s(s(s(T246))))))))))
U78_gga(T77, T78, T248, times69_out_gga(T82, T78, s(s(s(s(s(s(s(s(T246)))))))))) → U79_gga(T77, T78, T248, plus19_in_aaa(T246, s(s(s(s(s(s(s(s(T246)))))))), T248))
plus19_in_aaa(0, T42, T42) → plus19_out_aaa(0, T42, T42)
plus19_in_aaa(s(T49), T50, s(T52)) → U1_aaa(T49, T50, T52, plus19_in_aaa(T49, T50, T52))
U1_aaa(T49, T50, T52, plus19_out_aaa(T49, T50, T52)) → plus19_out_aaa(s(T49), T50, s(T52))
U79_gga(T77, T78, T248, plus19_out_aaa(T246, s(s(s(s(s(s(s(s(T246)))))))), T248)) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(T248)))))))))
times1_in_gga(s(s(T258)), T259, T261) → U80_gga(T258, T259, T261, even36_in_gg(T258, false))
U80_gga(T258, T259, T261, even36_out_gg(T258, false)) → U81_gga(T258, T259, T261, times69_in_gga(s(T258), T259, X662))
U81_gga(T258, T259, T261, times69_out_gga(s(T258), T259, X662)) → times1_out_gga(s(s(T258)), T259, T261)
U80_gga(T258, T259, T261, even36_out_gg(T258, false)) → U82_gga(T258, T259, T261, times69_in_gga(s(T258), T259, T264))
U82_gga(T258, T259, T261, times69_out_gga(s(T258), T259, T264)) → U83_gga(T258, T259, T261, plus19_in_gaa(T259, T264, T261))
plus19_in_gaa(0, T42, T42) → plus19_out_gaa(0, T42, T42)
plus19_in_gaa(s(T49), T50, s(T52)) → U1_gaa(T49, T50, T52, plus19_in_gaa(T49, T50, T52))
U1_gaa(T49, T50, T52, plus19_out_gaa(T49, T50, T52)) → plus19_out_gaa(s(T49), T50, s(T52))
U83_gga(T258, T259, T261, plus19_out_gaa(T259, T264, T261)) → times1_out_gga(s(s(T258)), T259, T261)

The argument filtering Pi contains the following mapping:
times1_in_gga(x1, x2, x3)  =  times1_in_gga(x1, x2)
0  =  0
times1_out_gga(x1, x2, x3)  =  times1_out_gga
s(x1)  =  s(x1)
U44_gga(x1, x2, x3)  =  U44_gga(x3)
times18_in_ga(x1, x2)  =  times18_in_ga(x1)
times18_out_ga(x1, x2)  =  times18_out_ga(x2)
U45_gga(x1, x2, x3)  =  U45_gga(x1, x3)
U46_gga(x1, x2, x3)  =  U46_gga(x3)
plus19_in_gga(x1, x2, x3)  =  plus19_in_gga(x1, x2)
plus19_out_gga(x1, x2, x3)  =  plus19_out_gga(x3)
U1_gga(x1, x2, x3, x4)  =  U1_gga(x4)
U47_gga(x1, x2, x3, x4)  =  U47_gga(x4)
even36_in_ga(x1, x2)  =  even36_in_ga(x1)
even36_out_ga(x1, x2)  =  even36_out_ga(x2)
U2_ga(x1, x2, x3)  =  U2_ga(x3)
U48_gga(x1, x2, x3, x4)  =  U48_gga(x1, x2, x4)
even36_in_gg(x1, x2)  =  even36_in_gg(x1, x2)
true  =  true
even36_out_gg(x1, x2)  =  even36_out_gg
false  =  false
U2_gg(x1, x2, x3)  =  U2_gg(x3)
U49_gga(x1, x2, x3, x4)  =  U49_gga(x4)
half56_in_ga(x1, x2)  =  half56_in_ga(x1)
U43_ga(x1, x2, x3)  =  U43_ga(x3)
half60_in_ga(x1, x2)  =  half60_in_ga(x1)
half60_out_ga(x1, x2)  =  half60_out_ga(x2)
U3_ga(x1, x2, x3)  =  U3_ga(x3)
half56_out_ga(x1, x2)  =  half56_out_ga(x2)
U50_gga(x1, x2, x3, x4)  =  U50_gga(x2, x4)
U51_gga(x1, x2, x3, x4)  =  U51_gga(x4)
times69_in_gga(x1, x2, x3)  =  times69_in_gga(x1, x2)
times69_out_gga(x1, x2, x3)  =  times69_out_gga
U4_gga(x1, x2, x3, x4)  =  U4_gga(x4)
U5_gga(x1, x2, x3, x4)  =  U5_gga(x1, x2, x4)
U6_gga(x1, x2, x3, x4)  =  U6_gga(x4)
U7_gga(x1, x2, x3, x4)  =  U7_gga(x2, x4)
U8_gga(x1, x2, x3, x4)  =  U8_gga(x4)
U9_gga(x1, x2, x3)  =  U9_gga(x1, x2, x3)
U10_gga(x1, x2, x3)  =  U10_gga(x2, x3)
U11_gga(x1, x2, x3)  =  U11_gga(x3)
times69_in_ggg(x1, x2, x3)  =  times69_in_ggg(x1, x2, x3)
times69_out_ggg(x1, x2, x3)  =  times69_out_ggg
U4_ggg(x1, x2, x3, x4)  =  U4_ggg(x4)
U5_ggg(x1, x2, x3, x4)  =  U5_ggg(x1, x2, x4)
U6_ggg(x1, x2, x3, x4)  =  U6_ggg(x4)
U7_ggg(x1, x2, x3, x4)  =  U7_ggg(x2, x4)
U8_ggg(x1, x2, x3, x4)  =  U8_ggg(x4)
U12_gga(x1, x2, x3)  =  U12_gga(x1, x2, x3)
U13_gga(x1, x2, x3)  =  U13_gga(x2, x3)
U14_gga(x1, x2, x3)  =  U14_gga(x3)
U9_ggg(x1, x2, x3)  =  U9_ggg(x1, x2, x3)
U10_ggg(x1, x2, x3)  =  U10_ggg(x2, x3)
U11_ggg(x1, x2, x3)  =  U11_ggg(x3)
U12_ggg(x1, x2, x3)  =  U12_ggg(x1, x2, x3)
U13_ggg(x1, x2, x3)  =  U13_ggg(x2, x3)
U14_ggg(x1, x2, x3)  =  U14_ggg(x3)
U15_ggg(x1, x2, x3)  =  U15_ggg(x1, x2, x3)
U16_ggg(x1, x2, x3)  =  U16_ggg(x2, x3)
U17_ggg(x1, x2, x3)  =  U17_ggg(x3)
U18_ggg(x1, x2, x3)  =  U18_ggg(x1, x2, x3)
U19_ggg(x1, x2, x3)  =  U19_ggg(x2, x3)
U20_ggg(x1, x2, x3)  =  U20_ggg(x3)
U21_ggg(x1, x2, x3)  =  U21_ggg(x1, x2, x3)
U22_ggg(x1, x2, x3)  =  U22_ggg(x2, x3)
U23_ggg(x1, x2, x3)  =  U23_ggg(x3)
U24_ggg(x1, x2, x3)  =  U24_ggg(x1, x2, x3)
U25_ggg(x1, x2, x3)  =  U25_ggg(x2, x3)
U26_ggg(x1, x2, x3)  =  U26_ggg(x3)
U27_ggg(x1, x2, x3)  =  U27_ggg(x1, x2, x3)
U28_ggg(x1, x2, x3)  =  U28_ggg(x2, x3)
U29_ggg(x1, x2, x3)  =  U29_ggg(x3)
U30_ggg(x1, x2, x3)  =  U30_ggg(x1, x2, x3)
U31_ggg(x1, x2, x3)  =  U31_ggg(x2, x3)
U32_ggg(x1, x2, x3)  =  U32_ggg(x3)
U33_ggg(x1, x2, x3, x4)  =  U33_ggg(x1, x2, x3, x4)
U34_ggg(x1, x2, x3, x4)  =  U34_ggg(x2, x3, x4)
U35_ggg(x1, x2, x3, x4)  =  U35_ggg(x3, x4)
U15_gga(x1, x2, x3)  =  U15_gga(x1, x2, x3)
U16_gga(x1, x2, x3)  =  U16_gga(x2, x3)
U17_gga(x1, x2, x3)  =  U17_gga(x3)
U37_ggg(x1, x2, x3, x4)  =  U37_ggg(x1, x2, x3, x4)
U38_ggg(x1, x2, x3, x4)  =  U38_ggg(x4)
U18_gga(x1, x2, x3)  =  U18_gga(x1, x2, x3)
U19_gga(x1, x2, x3)  =  U19_gga(x2, x3)
U20_gga(x1, x2, x3)  =  U20_gga(x3)
U21_gga(x1, x2, x3)  =  U21_gga(x1, x2, x3)
U22_gga(x1, x2, x3)  =  U22_gga(x2, x3)
U23_gga(x1, x2, x3)  =  U23_gga(x3)
U24_gga(x1, x2, x3)  =  U24_gga(x1, x2, x3)
U25_gga(x1, x2, x3)  =  U25_gga(x2, x3)
U26_gga(x1, x2, x3)  =  U26_gga(x3)
U27_gga(x1, x2, x3)  =  U27_gga(x1, x2, x3)
U28_gga(x1, x2, x3)  =  U28_gga(x2, x3)
U29_gga(x1, x2, x3)  =  U29_gga(x3)
U30_gga(x1, x2, x3)  =  U30_gga(x1, x2, x3)
U31_gga(x1, x2, x3)  =  U31_gga(x2, x3)
U32_gga(x1, x2, x3)  =  U32_gga(x3)
U33_gga(x1, x2, x3, x4)  =  U33_gga(x1, x2, x4)
U34_gga(x1, x2, x3, x4)  =  U34_gga(x2, x4)
U35_gga(x1, x2, x3, x4)  =  U35_gga(x4)
U37_gga(x1, x2, x3, x4)  =  U37_gga(x1, x2, x4)
U38_gga(x1, x2, x3, x4)  =  U38_gga(x4)
U39_gga(x1, x2, x3, x4)  =  U39_gga(x2, x4)
U40_gga(x1, x2, x3, x4)  =  U40_gga(x4)
plus166_in_gaa(x1, x2, x3)  =  plus166_in_gaa(x1)
plus166_out_gaa(x1, x2, x3)  =  plus166_out_gaa
U42_gaa(x1, x2, x3, x4)  =  U42_gaa(x4)
U36_gga(x1, x2, x3, x4)  =  U36_gga(x4)
plus154_in_aaa(x1, x2, x3)  =  plus154_in_aaa
plus154_out_aaa(x1, x2, x3)  =  plus154_out_aaa(x1)
U41_aaa(x1, x2, x3, x4)  =  U41_aaa(x4)
U39_ggg(x1, x2, x3, x4)  =  U39_ggg(x2, x3, x4)
U40_ggg(x1, x2, x3, x4)  =  U40_ggg(x4)
plus166_in_gag(x1, x2, x3)  =  plus166_in_gag(x1, x3)
plus166_out_gag(x1, x2, x3)  =  plus166_out_gag(x2)
U42_gag(x1, x2, x3, x4)  =  U42_gag(x4)
U36_ggg(x1, x2, x3, x4)  =  U36_ggg(x4)
plus154_in_aag(x1, x2, x3)  =  plus154_in_aag(x3)
plus154_out_aag(x1, x2, x3)  =  plus154_out_aag(x1, x2)
U41_aag(x1, x2, x3, x4)  =  U41_aag(x4)
U52_gga(x1, x2, x3)  =  U52_gga(x1, x2, x3)
U53_gga(x1, x2, x3)  =  U53_gga(x2, x3)
U54_gga(x1, x2, x3)  =  U54_gga(x3)
U55_gga(x1, x2, x3)  =  U55_gga(x1, x2, x3)
U56_gga(x1, x2, x3)  =  U56_gga(x2, x3)
U57_gga(x1, x2, x3)  =  U57_gga(x3)
U58_gga(x1, x2, x3)  =  U58_gga(x1, x2, x3)
U59_gga(x1, x2, x3)  =  U59_gga(x2, x3)
U60_gga(x1, x2, x3)  =  U60_gga(x3)
U61_gga(x1, x2, x3)  =  U61_gga(x1, x2, x3)
U62_gga(x1, x2, x3)  =  U62_gga(x2, x3)
U63_gga(x1, x2, x3)  =  U63_gga(x3)
U64_gga(x1, x2, x3)  =  U64_gga(x1, x2, x3)
U65_gga(x1, x2, x3)  =  U65_gga(x2, x3)
U66_gga(x1, x2, x3)  =  U66_gga(x3)
U67_gga(x1, x2, x3)  =  U67_gga(x1, x2, x3)
U68_gga(x1, x2, x3)  =  U68_gga(x2, x3)
U69_gga(x1, x2, x3)  =  U69_gga(x3)
U70_gga(x1, x2, x3)  =  U70_gga(x1, x2, x3)
U71_gga(x1, x2, x3)  =  U71_gga(x2, x3)
U72_gga(x1, x2, x3)  =  U72_gga(x3)
U73_gga(x1, x2, x3)  =  U73_gga(x1, x2, x3)
U74_gga(x1, x2, x3)  =  U74_gga(x2, x3)
U75_gga(x1, x2, x3)  =  U75_gga(x3)
U76_gga(x1, x2, x3, x4)  =  U76_gga(x1, x2, x4)
U77_gga(x1, x2, x3, x4)  =  U77_gga(x2, x4)
U78_gga(x1, x2, x3, x4)  =  U78_gga(x4)
U79_gga(x1, x2, x3, x4)  =  U79_gga(x4)
plus19_in_aaa(x1, x2, x3)  =  plus19_in_aaa
plus19_out_aaa(x1, x2, x3)  =  plus19_out_aaa(x1)
U1_aaa(x1, x2, x3, x4)  =  U1_aaa(x4)
U80_gga(x1, x2, x3, x4)  =  U80_gga(x1, x2, x4)
U81_gga(x1, x2, x3, x4)  =  U81_gga(x4)
U82_gga(x1, x2, x3, x4)  =  U82_gga(x2, x4)
U83_gga(x1, x2, x3, x4)  =  U83_gga(x4)
plus19_in_gaa(x1, x2, x3)  =  plus19_in_gaa(x1)
plus19_out_gaa(x1, x2, x3)  =  plus19_out_gaa
U1_gaa(x1, x2, x3, x4)  =  U1_gaa(x4)
EVEN36_IN_GG(x1, x2)  =  EVEN36_IN_GG(x1, x2)

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

(182) UsableRulesProof (EQUIVALENT transformation)

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

(183) Obligation:

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

EVEN36_IN_GG(s(s(T61)), X101) → EVEN36_IN_GG(T61, X101)

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

(184) PiDPToQDPProof (EQUIVALENT transformation)

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

(185) Obligation:

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

EVEN36_IN_GG(s(s(T61)), X101) → EVEN36_IN_GG(T61, X101)

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

(186) QDPSizeChangeProof (EQUIVALENT transformation)

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

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

  • EVEN36_IN_GG(s(s(T61)), X101) → EVEN36_IN_GG(T61, X101)
    The graph contains the following edges 1 > 1, 2 >= 2

(187) YES

(188) Obligation:

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

EVEN36_IN_GA(s(s(T61)), X101) → EVEN36_IN_GA(T61, X101)

The TRS R consists of the following rules:

times1_in_gga(0, T5, 0) → times1_out_gga(0, T5, 0)
times1_in_gga(s(0), T23, T25) → U44_gga(T23, T25, times18_in_ga(T23, X45))
times18_in_ga(T35, 0) → times18_out_ga(T35, 0)
U44_gga(T23, T25, times18_out_ga(T23, X45)) → times1_out_gga(s(0), T23, T25)
times1_in_gga(s(0), T23, T25) → U45_gga(T23, T25, times18_in_ga(T23, T29))
U45_gga(T23, T25, times18_out_ga(T23, T29)) → U46_gga(T23, T25, plus19_in_gga(T23, T29, T25))
plus19_in_gga(0, T42, T42) → plus19_out_gga(0, T42, T42)
plus19_in_gga(s(T49), T50, s(T52)) → U1_gga(T49, T50, T52, plus19_in_gga(T49, T50, T52))
U1_gga(T49, T50, T52, plus19_out_gga(T49, T50, T52)) → plus19_out_gga(s(T49), T50, s(T52))
U46_gga(T23, T25, plus19_out_gga(T23, T29, T25)) → times1_out_gga(s(0), T23, T25)
times1_in_gga(s(s(T57)), T10, T12) → U47_gga(T57, T10, T12, even36_in_ga(T57, X90))
even36_in_ga(0, true) → even36_out_ga(0, true)
even36_in_ga(s(0), false) → even36_out_ga(s(0), false)
even36_in_ga(s(s(T61)), X101) → U2_ga(T61, X101, even36_in_ga(T61, X101))
U2_ga(T61, X101, even36_out_ga(T61, X101)) → even36_out_ga(s(s(T61)), X101)
U47_gga(T57, T10, T12, even36_out_ga(T57, X90)) → times1_out_gga(s(s(T57)), T10, T12)
times1_in_gga(s(s(T77)), T78, T80) → U48_gga(T77, T78, T80, even36_in_gg(T77, true))
even36_in_gg(0, true) → even36_out_gg(0, true)
even36_in_gg(s(0), false) → even36_out_gg(s(0), false)
even36_in_gg(s(s(T61)), X101) → U2_gg(T61, X101, even36_in_gg(T61, X101))
U2_gg(T61, X101, even36_out_gg(T61, X101)) → even36_out_gg(s(s(T61)), X101)
U48_gga(T77, T78, T80, even36_out_gg(T77, true)) → U49_gga(T77, T78, T80, half56_in_ga(T77, X128))
half56_in_ga(T86, s(X147)) → U43_ga(T86, X147, half60_in_ga(T86, X147))
half60_in_ga(0, 0) → half60_out_ga(0, 0)
half60_in_ga(s(s(T89)), s(X156)) → U3_ga(T89, X156, half60_in_ga(T89, X156))
U3_ga(T89, X156, half60_out_ga(T89, X156)) → half60_out_ga(s(s(T89)), s(X156))
U43_ga(T86, X147, half60_out_ga(T86, X147)) → half56_out_ga(T86, s(X147))
U49_gga(T77, T78, T80, half56_out_ga(T77, X128)) → times1_out_gga(s(s(T77)), T78, T80)
U48_gga(T77, T78, T80, even36_out_gg(T77, true)) → U50_gga(T77, T78, T80, half56_in_ga(T77, T82))
U50_gga(T77, T78, T80, half56_out_ga(T77, T82)) → U51_gga(T77, T78, T80, times69_in_gga(T82, T78, X129))
times69_in_gga(0, T99, 0) → times69_out_gga(0, T99, 0)
times69_in_gga(s(T104), T105, X182) → U4_gga(T104, T105, X182, even36_in_ga(s(T104), X181))
U4_gga(T104, T105, X182, even36_out_ga(s(T104), X181)) → times69_out_gga(s(T104), T105, X182)
times69_in_gga(s(T117), T118, X217) → U5_gga(T117, T118, X217, even36_in_gg(s(T117), true))
U5_gga(T117, T118, X217, even36_out_gg(s(T117), true)) → U6_gga(T117, T118, X217, half60_in_ga(s(T117), X215))
U6_gga(T117, T118, X217, half60_out_ga(s(T117), X215)) → times69_out_gga(s(T117), T118, X217)
U5_gga(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_gga(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_gga(T117, T118, X217, half60_out_ga(s(T117), T120)) → U8_gga(T117, T118, X217, times69_in_gga(T120, T118, X216))
times69_in_gga(s(T117), T118, 0) → U9_gga(T117, T118, even36_in_gg(s(T117), true))
U9_gga(T117, T118, even36_out_gg(s(T117), true)) → U10_gga(T117, T118, half60_in_ga(s(T117), T120))
U10_gga(T117, T118, half60_out_ga(s(T117), T120)) → U11_gga(T117, T118, times69_in_ggg(T120, T118, 0))
times69_in_ggg(0, T99, 0) → times69_out_ggg(0, T99, 0)
times69_in_ggg(s(T104), T105, X182) → U4_ggg(T104, T105, X182, even36_in_ga(s(T104), X181))
U4_ggg(T104, T105, X182, even36_out_ga(s(T104), X181)) → times69_out_ggg(s(T104), T105, X182)
times69_in_ggg(s(T117), T118, X217) → U5_ggg(T117, T118, X217, even36_in_gg(s(T117), true))
U5_ggg(T117, T118, X217, even36_out_gg(s(T117), true)) → U6_ggg(T117, T118, X217, half60_in_ga(s(T117), X215))
U6_ggg(T117, T118, X217, half60_out_ga(s(T117), X215)) → times69_out_ggg(s(T117), T118, X217)
U5_ggg(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_ggg(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_ggg(T117, T118, X217, half60_out_ga(s(T117), T120)) → U8_ggg(T117, T118, X217, times69_in_gga(T120, T118, X216))
times69_in_gga(s(T117), T118, s(s(0))) → U12_gga(T117, T118, even36_in_gg(s(T117), true))
U12_gga(T117, T118, even36_out_gg(s(T117), true)) → U13_gga(T117, T118, half60_in_ga(s(T117), T120))
U13_gga(T117, T118, half60_out_ga(s(T117), T120)) → U14_gga(T117, T118, times69_in_ggg(T120, T118, s(0)))
times69_in_ggg(s(T117), T118, 0) → U9_ggg(T117, T118, even36_in_gg(s(T117), true))
U9_ggg(T117, T118, even36_out_gg(s(T117), true)) → U10_ggg(T117, T118, half60_in_ga(s(T117), T120))
U10_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U11_ggg(T117, T118, times69_in_ggg(T120, T118, 0))
times69_in_ggg(s(T117), T118, s(s(0))) → U12_ggg(T117, T118, even36_in_gg(s(T117), true))
U12_ggg(T117, T118, even36_out_gg(s(T117), true)) → U13_ggg(T117, T118, half60_in_ga(s(T117), T120))
U13_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U14_ggg(T117, T118, times69_in_ggg(T120, T118, s(0)))
times69_in_ggg(s(T117), T118, s(s(s(s(0))))) → U15_ggg(T117, T118, even36_in_gg(s(T117), true))
U15_ggg(T117, T118, even36_out_gg(s(T117), true)) → U16_ggg(T117, T118, half60_in_ga(s(T117), T120))
U16_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U17_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(0))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_ggg(T117, T118, even36_in_gg(s(T117), true))
U18_ggg(T117, T118, even36_out_gg(s(T117), true)) → U19_ggg(T117, T118, half60_in_ga(s(T117), T120))
U19_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U20_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(0)))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → U21_ggg(T117, T118, even36_in_gg(s(T117), true))
U21_ggg(T117, T118, even36_out_gg(s(T117), true)) → U22_ggg(T117, T118, half60_in_ga(s(T117), T120))
U22_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U23_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(0))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U24_ggg(T117, T118, even36_in_gg(s(T117), true))
U24_ggg(T117, T118, even36_out_gg(s(T117), true)) → U25_ggg(T117, T118, half60_in_ga(s(T117), T120))
U25_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U26_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(0)))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U27_ggg(T117, T118, even36_in_gg(s(T117), true))
U27_ggg(T117, T118, even36_out_gg(s(T117), true)) → U28_ggg(T117, T118, half60_in_ga(s(T117), T120))
U28_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U29_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(0))))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U30_ggg(T117, T118, even36_in_gg(s(T117), true))
U30_ggg(T117, T118, even36_out_gg(s(T117), true)) → U31_ggg(T117, T118, half60_in_ga(s(T117), T120))
U31_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U32_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(s(0)))))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → U33_ggg(T117, T118, X411, even36_in_gg(s(T117), true))
U33_ggg(T117, T118, X411, even36_out_gg(s(T117), true)) → U34_ggg(T117, T118, X411, half60_in_ga(s(T117), T120))
U34_ggg(T117, T118, X411, half60_out_ga(s(T117), T120)) → U35_ggg(T117, T118, X411, times69_in_gga(T120, T118, s(s(s(s(s(s(s(s(T150))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(0))))) → U15_gga(T117, T118, even36_in_gg(s(T117), true))
U15_gga(T117, T118, even36_out_gg(s(T117), true)) → U16_gga(T117, T118, half60_in_ga(s(T117), T120))
U16_gga(T117, T118, half60_out_ga(s(T117), T120)) → U17_gga(T117, T118, times69_in_ggg(T120, T118, s(s(0))))
times69_in_ggg(s(T171), T172, X455) → U37_ggg(T171, T172, X455, even36_in_gg(s(T171), false))
U37_ggg(T171, T172, X455, even36_out_gg(s(T171), false)) → U38_ggg(T171, T172, X455, times69_in_gga(T171, T172, X454))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_gga(T117, T118, even36_in_gg(s(T117), true))
U18_gga(T117, T118, even36_out_gg(s(T117), true)) → U19_gga(T117, T118, half60_in_ga(s(T117), T120))
U19_gga(T117, T118, half60_out_ga(s(T117), T120)) → U20_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(0)))))
U20_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(0))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(0)))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → U21_gga(T117, T118, even36_in_gg(s(T117), true))
U21_gga(T117, T118, even36_out_gg(s(T117), true)) → U22_gga(T117, T118, half60_in_ga(s(T117), T120))
U22_gga(T117, T118, half60_out_ga(s(T117), T120)) → U23_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(0))))))
U23_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(0)))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(0)))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U24_gga(T117, T118, even36_in_gg(s(T117), true))
U24_gga(T117, T118, even36_out_gg(s(T117), true)) → U25_gga(T117, T118, half60_in_ga(s(T117), T120))
U25_gga(T117, T118, half60_out_ga(s(T117), T120)) → U26_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(0)))))))
U26_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(0))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0)))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U27_gga(T117, T118, even36_in_gg(s(T117), true))
U27_gga(T117, T118, even36_out_gg(s(T117), true)) → U28_gga(T117, T118, half60_in_ga(s(T117), T120))
U28_gga(T117, T118, half60_out_ga(s(T117), T120)) → U29_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(0))))))))
U29_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(0)))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U30_gga(T117, T118, even36_in_gg(s(T117), true))
U30_gga(T117, T118, even36_out_gg(s(T117), true)) → U31_gga(T117, T118, half60_in_ga(s(T117), T120))
U31_gga(T117, T118, half60_out_ga(s(T117), T120)) → U32_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(s(0)))))))))
U32_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(s(0))))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → U33_gga(T117, T118, X411, even36_in_gg(s(T117), true))
U33_gga(T117, T118, X411, even36_out_gg(s(T117), true)) → U34_gga(T117, T118, X411, half60_in_ga(s(T117), T120))
U34_gga(T117, T118, X411, half60_out_ga(s(T117), T120)) → U35_gga(T117, T118, X411, times69_in_gga(T120, T118, s(s(s(s(s(s(s(s(T150))))))))))
times69_in_gga(s(T171), T172, X455) → U37_gga(T171, T172, X455, even36_in_gg(s(T171), false))
U37_gga(T171, T172, X455, even36_out_gg(s(T171), false)) → U38_gga(T171, T172, X455, times69_in_gga(T171, T172, X454))
U38_gga(T171, T172, X455, times69_out_gga(T171, T172, X454)) → times69_out_gga(s(T171), T172, X455)
U37_gga(T171, T172, X455, even36_out_gg(s(T171), false)) → U39_gga(T171, T172, X455, times69_in_gga(T171, T172, T175))
U39_gga(T171, T172, X455, times69_out_gga(T171, T172, T175)) → U40_gga(T171, T172, X455, plus166_in_gaa(T172, T175, X455))
plus166_in_gaa(0, T184, T184) → plus166_out_gaa(0, T184, T184)
plus166_in_gaa(s(T189), T190, s(X482)) → U42_gaa(T189, T190, X482, plus166_in_gaa(T189, T190, X482))
U42_gaa(T189, T190, X482, plus166_out_gaa(T189, T190, X482)) → plus166_out_gaa(s(T189), T190, s(X482))
U40_gga(T171, T172, X455, plus166_out_gaa(T172, T175, X455)) → times69_out_gga(s(T171), T172, X455)
U35_gga(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → U36_gga(T117, T118, X411, plus154_in_aaa(T150, s(s(s(s(s(s(s(T150))))))), X411))
plus154_in_aaa(0, T158, s(T158)) → plus154_out_aaa(0, T158, s(T158))
plus154_in_aaa(s(T163), T164, s(X436)) → U41_aaa(T163, T164, X436, plus154_in_aaa(T163, T164, X436))
U41_aaa(T163, T164, X436, plus154_out_aaa(T163, T164, X436)) → plus154_out_aaa(s(T163), T164, s(X436))
U36_gga(T117, T118, X411, plus154_out_aaa(T150, s(s(s(s(s(s(s(T150))))))), X411)) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(X411)))))))))
U38_ggg(T171, T172, X455, times69_out_gga(T171, T172, X454)) → times69_out_ggg(s(T171), T172, X455)
U37_ggg(T171, T172, X455, even36_out_gg(s(T171), false)) → U39_ggg(T171, T172, X455, times69_in_gga(T171, T172, T175))
U39_ggg(T171, T172, X455, times69_out_gga(T171, T172, T175)) → U40_ggg(T171, T172, X455, plus166_in_gag(T172, T175, X455))
plus166_in_gag(0, T184, T184) → plus166_out_gag(0, T184, T184)
plus166_in_gag(s(T189), T190, s(X482)) → U42_gag(T189, T190, X482, plus166_in_gag(T189, T190, X482))
U42_gag(T189, T190, X482, plus166_out_gag(T189, T190, X482)) → plus166_out_gag(s(T189), T190, s(X482))
U40_ggg(T171, T172, X455, plus166_out_gag(T172, T175, X455)) → times69_out_ggg(s(T171), T172, X455)
U17_gga(T117, T118, times69_out_ggg(T120, T118, s(s(0)))) → times69_out_gga(s(T117), T118, s(s(s(s(0)))))
U35_ggg(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → U36_ggg(T117, T118, X411, plus154_in_aag(T150, s(s(s(s(s(s(s(T150))))))), X411))
plus154_in_aag(0, T158, s(T158)) → plus154_out_aag(0, T158, s(T158))
plus154_in_aag(s(T163), T164, s(X436)) → U41_aag(T163, T164, X436, plus154_in_aag(T163, T164, X436))
U41_aag(T163, T164, X436, plus154_out_aag(T163, T164, X436)) → plus154_out_aag(s(T163), T164, s(X436))
U36_ggg(T117, T118, X411, plus154_out_aag(T150, s(s(s(s(s(s(s(T150))))))), X411)) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(X411)))))))))
U32_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(s(0))))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
U29_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(0)))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
U26_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(0))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0)))))))))))
U23_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(0)))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(0)))))))))
U20_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(0))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(0)))))))
U17_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(0)))) → times69_out_ggg(s(T117), T118, s(s(s(s(0)))))
U14_ggg(T117, T118, times69_out_ggg(T120, T118, s(0))) → times69_out_ggg(s(T117), T118, s(s(0)))
U11_ggg(T117, T118, times69_out_ggg(T120, T118, 0)) → times69_out_ggg(s(T117), T118, 0)
U14_gga(T117, T118, times69_out_ggg(T120, T118, s(0))) → times69_out_gga(s(T117), T118, s(s(0)))
U8_ggg(T117, T118, X217, times69_out_gga(T120, T118, X216)) → times69_out_ggg(s(T117), T118, X217)
U11_gga(T117, T118, times69_out_ggg(T120, T118, 0)) → times69_out_gga(s(T117), T118, 0)
U8_gga(T117, T118, X217, times69_out_gga(T120, T118, X216)) → times69_out_gga(s(T117), T118, X217)
U51_gga(T77, T78, T80, times69_out_gga(T82, T78, X129)) → times1_out_gga(s(s(T77)), T78, T80)
times1_in_gga(s(s(T77)), T78, 0) → U52_gga(T77, T78, even36_in_gg(T77, true))
U52_gga(T77, T78, even36_out_gg(T77, true)) → U53_gga(T77, T78, half56_in_ga(T77, T82))
U53_gga(T77, T78, half56_out_ga(T77, T82)) → U54_gga(T77, T78, times69_in_ggg(T82, T78, 0))
U54_gga(T77, T78, times69_out_ggg(T82, T78, 0)) → times1_out_gga(s(s(T77)), T78, 0)
times1_in_gga(s(s(T77)), T78, s(s(0))) → U55_gga(T77, T78, even36_in_gg(T77, true))
U55_gga(T77, T78, even36_out_gg(T77, true)) → U56_gga(T77, T78, half56_in_ga(T77, T82))
U56_gga(T77, T78, half56_out_ga(T77, T82)) → U57_gga(T77, T78, times69_in_ggg(T82, T78, s(0)))
U57_gga(T77, T78, times69_out_ggg(T82, T78, s(0))) → times1_out_gga(s(s(T77)), T78, s(s(0)))
times1_in_gga(s(s(T77)), T78, s(s(s(s(0))))) → U58_gga(T77, T78, even36_in_gg(T77, true))
U58_gga(T77, T78, even36_out_gg(T77, true)) → U59_gga(T77, T78, half56_in_ga(T77, T82))
U59_gga(T77, T78, half56_out_ga(T77, T82)) → U60_gga(T77, T78, times69_in_ggg(T82, T78, s(s(0))))
U60_gga(T77, T78, times69_out_ggg(T82, T78, s(s(0)))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(0)))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(0))))))) → U61_gga(T77, T78, even36_in_gg(T77, true))
U61_gga(T77, T78, even36_out_gg(T77, true)) → U62_gga(T77, T78, half56_in_ga(T77, T82))
U62_gga(T77, T78, half56_out_ga(T77, T82)) → U63_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(0)))))
U63_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(0))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(0)))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(0))))))))) → U64_gga(T77, T78, even36_in_gg(T77, true))
U64_gga(T77, T78, even36_out_gg(T77, true)) → U65_gga(T77, T78, half56_in_ga(T77, T82))
U65_gga(T77, T78, half56_out_ga(T77, T82)) → U66_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(0))))))
U66_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(0)))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(0)))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U67_gga(T77, T78, even36_in_gg(T77, true))
U67_gga(T77, T78, even36_out_gg(T77, true)) → U68_gga(T77, T78, half56_in_ga(T77, T82))
U68_gga(T77, T78, half56_out_ga(T77, T82)) → U69_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(0)))))))
U69_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(0))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(0)))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U70_gga(T77, T78, even36_in_gg(T77, true))
U70_gga(T77, T78, even36_out_gg(T77, true)) → U71_gga(T77, T78, half56_in_ga(T77, T82))
U71_gga(T77, T78, half56_out_ga(T77, T82)) → U72_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(s(0))))))))
U72_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(s(0)))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U73_gga(T77, T78, even36_in_gg(T77, true))
U73_gga(T77, T78, even36_out_gg(T77, true)) → U74_gga(T77, T78, half56_in_ga(T77, T82))
U74_gga(T77, T78, half56_out_ga(T77, T82)) → U75_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(s(s(0)))))))))
U75_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(s(s(0))))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(T248))))))))) → U76_gga(T77, T78, T248, even36_in_gg(T77, true))
U76_gga(T77, T78, T248, even36_out_gg(T77, true)) → U77_gga(T77, T78, T248, half56_in_ga(T77, T82))
U77_gga(T77, T78, T248, half56_out_ga(T77, T82)) → U78_gga(T77, T78, T248, times69_in_gga(T82, T78, s(s(s(s(s(s(s(s(T246))))))))))
U78_gga(T77, T78, T248, times69_out_gga(T82, T78, s(s(s(s(s(s(s(s(T246)))))))))) → U79_gga(T77, T78, T248, plus19_in_aaa(T246, s(s(s(s(s(s(s(s(T246)))))))), T248))
plus19_in_aaa(0, T42, T42) → plus19_out_aaa(0, T42, T42)
plus19_in_aaa(s(T49), T50, s(T52)) → U1_aaa(T49, T50, T52, plus19_in_aaa(T49, T50, T52))
U1_aaa(T49, T50, T52, plus19_out_aaa(T49, T50, T52)) → plus19_out_aaa(s(T49), T50, s(T52))
U79_gga(T77, T78, T248, plus19_out_aaa(T246, s(s(s(s(s(s(s(s(T246)))))))), T248)) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(T248)))))))))
times1_in_gga(s(s(T258)), T259, T261) → U80_gga(T258, T259, T261, even36_in_gg(T258, false))
U80_gga(T258, T259, T261, even36_out_gg(T258, false)) → U81_gga(T258, T259, T261, times69_in_gga(s(T258), T259, X662))
U81_gga(T258, T259, T261, times69_out_gga(s(T258), T259, X662)) → times1_out_gga(s(s(T258)), T259, T261)
U80_gga(T258, T259, T261, even36_out_gg(T258, false)) → U82_gga(T258, T259, T261, times69_in_gga(s(T258), T259, T264))
U82_gga(T258, T259, T261, times69_out_gga(s(T258), T259, T264)) → U83_gga(T258, T259, T261, plus19_in_gaa(T259, T264, T261))
plus19_in_gaa(0, T42, T42) → plus19_out_gaa(0, T42, T42)
plus19_in_gaa(s(T49), T50, s(T52)) → U1_gaa(T49, T50, T52, plus19_in_gaa(T49, T50, T52))
U1_gaa(T49, T50, T52, plus19_out_gaa(T49, T50, T52)) → plus19_out_gaa(s(T49), T50, s(T52))
U83_gga(T258, T259, T261, plus19_out_gaa(T259, T264, T261)) → times1_out_gga(s(s(T258)), T259, T261)

The argument filtering Pi contains the following mapping:
times1_in_gga(x1, x2, x3)  =  times1_in_gga(x1, x2)
0  =  0
times1_out_gga(x1, x2, x3)  =  times1_out_gga
s(x1)  =  s(x1)
U44_gga(x1, x2, x3)  =  U44_gga(x3)
times18_in_ga(x1, x2)  =  times18_in_ga(x1)
times18_out_ga(x1, x2)  =  times18_out_ga(x2)
U45_gga(x1, x2, x3)  =  U45_gga(x1, x3)
U46_gga(x1, x2, x3)  =  U46_gga(x3)
plus19_in_gga(x1, x2, x3)  =  plus19_in_gga(x1, x2)
plus19_out_gga(x1, x2, x3)  =  plus19_out_gga(x3)
U1_gga(x1, x2, x3, x4)  =  U1_gga(x4)
U47_gga(x1, x2, x3, x4)  =  U47_gga(x4)
even36_in_ga(x1, x2)  =  even36_in_ga(x1)
even36_out_ga(x1, x2)  =  even36_out_ga(x2)
U2_ga(x1, x2, x3)  =  U2_ga(x3)
U48_gga(x1, x2, x3, x4)  =  U48_gga(x1, x2, x4)
even36_in_gg(x1, x2)  =  even36_in_gg(x1, x2)
true  =  true
even36_out_gg(x1, x2)  =  even36_out_gg
false  =  false
U2_gg(x1, x2, x3)  =  U2_gg(x3)
U49_gga(x1, x2, x3, x4)  =  U49_gga(x4)
half56_in_ga(x1, x2)  =  half56_in_ga(x1)
U43_ga(x1, x2, x3)  =  U43_ga(x3)
half60_in_ga(x1, x2)  =  half60_in_ga(x1)
half60_out_ga(x1, x2)  =  half60_out_ga(x2)
U3_ga(x1, x2, x3)  =  U3_ga(x3)
half56_out_ga(x1, x2)  =  half56_out_ga(x2)
U50_gga(x1, x2, x3, x4)  =  U50_gga(x2, x4)
U51_gga(x1, x2, x3, x4)  =  U51_gga(x4)
times69_in_gga(x1, x2, x3)  =  times69_in_gga(x1, x2)
times69_out_gga(x1, x2, x3)  =  times69_out_gga
U4_gga(x1, x2, x3, x4)  =  U4_gga(x4)
U5_gga(x1, x2, x3, x4)  =  U5_gga(x1, x2, x4)
U6_gga(x1, x2, x3, x4)  =  U6_gga(x4)
U7_gga(x1, x2, x3, x4)  =  U7_gga(x2, x4)
U8_gga(x1, x2, x3, x4)  =  U8_gga(x4)
U9_gga(x1, x2, x3)  =  U9_gga(x1, x2, x3)
U10_gga(x1, x2, x3)  =  U10_gga(x2, x3)
U11_gga(x1, x2, x3)  =  U11_gga(x3)
times69_in_ggg(x1, x2, x3)  =  times69_in_ggg(x1, x2, x3)
times69_out_ggg(x1, x2, x3)  =  times69_out_ggg
U4_ggg(x1, x2, x3, x4)  =  U4_ggg(x4)
U5_ggg(x1, x2, x3, x4)  =  U5_ggg(x1, x2, x4)
U6_ggg(x1, x2, x3, x4)  =  U6_ggg(x4)
U7_ggg(x1, x2, x3, x4)  =  U7_ggg(x2, x4)
U8_ggg(x1, x2, x3, x4)  =  U8_ggg(x4)
U12_gga(x1, x2, x3)  =  U12_gga(x1, x2, x3)
U13_gga(x1, x2, x3)  =  U13_gga(x2, x3)
U14_gga(x1, x2, x3)  =  U14_gga(x3)
U9_ggg(x1, x2, x3)  =  U9_ggg(x1, x2, x3)
U10_ggg(x1, x2, x3)  =  U10_ggg(x2, x3)
U11_ggg(x1, x2, x3)  =  U11_ggg(x3)
U12_ggg(x1, x2, x3)  =  U12_ggg(x1, x2, x3)
U13_ggg(x1, x2, x3)  =  U13_ggg(x2, x3)
U14_ggg(x1, x2, x3)  =  U14_ggg(x3)
U15_ggg(x1, x2, x3)  =  U15_ggg(x1, x2, x3)
U16_ggg(x1, x2, x3)  =  U16_ggg(x2, x3)
U17_ggg(x1, x2, x3)  =  U17_ggg(x3)
U18_ggg(x1, x2, x3)  =  U18_ggg(x1, x2, x3)
U19_ggg(x1, x2, x3)  =  U19_ggg(x2, x3)
U20_ggg(x1, x2, x3)  =  U20_ggg(x3)
U21_ggg(x1, x2, x3)  =  U21_ggg(x1, x2, x3)
U22_ggg(x1, x2, x3)  =  U22_ggg(x2, x3)
U23_ggg(x1, x2, x3)  =  U23_ggg(x3)
U24_ggg(x1, x2, x3)  =  U24_ggg(x1, x2, x3)
U25_ggg(x1, x2, x3)  =  U25_ggg(x2, x3)
U26_ggg(x1, x2, x3)  =  U26_ggg(x3)
U27_ggg(x1, x2, x3)  =  U27_ggg(x1, x2, x3)
U28_ggg(x1, x2, x3)  =  U28_ggg(x2, x3)
U29_ggg(x1, x2, x3)  =  U29_ggg(x3)
U30_ggg(x1, x2, x3)  =  U30_ggg(x1, x2, x3)
U31_ggg(x1, x2, x3)  =  U31_ggg(x2, x3)
U32_ggg(x1, x2, x3)  =  U32_ggg(x3)
U33_ggg(x1, x2, x3, x4)  =  U33_ggg(x1, x2, x3, x4)
U34_ggg(x1, x2, x3, x4)  =  U34_ggg(x2, x3, x4)
U35_ggg(x1, x2, x3, x4)  =  U35_ggg(x3, x4)
U15_gga(x1, x2, x3)  =  U15_gga(x1, x2, x3)
U16_gga(x1, x2, x3)  =  U16_gga(x2, x3)
U17_gga(x1, x2, x3)  =  U17_gga(x3)
U37_ggg(x1, x2, x3, x4)  =  U37_ggg(x1, x2, x3, x4)
U38_ggg(x1, x2, x3, x4)  =  U38_ggg(x4)
U18_gga(x1, x2, x3)  =  U18_gga(x1, x2, x3)
U19_gga(x1, x2, x3)  =  U19_gga(x2, x3)
U20_gga(x1, x2, x3)  =  U20_gga(x3)
U21_gga(x1, x2, x3)  =  U21_gga(x1, x2, x3)
U22_gga(x1, x2, x3)  =  U22_gga(x2, x3)
U23_gga(x1, x2, x3)  =  U23_gga(x3)
U24_gga(x1, x2, x3)  =  U24_gga(x1, x2, x3)
U25_gga(x1, x2, x3)  =  U25_gga(x2, x3)
U26_gga(x1, x2, x3)  =  U26_gga(x3)
U27_gga(x1, x2, x3)  =  U27_gga(x1, x2, x3)
U28_gga(x1, x2, x3)  =  U28_gga(x2, x3)
U29_gga(x1, x2, x3)  =  U29_gga(x3)
U30_gga(x1, x2, x3)  =  U30_gga(x1, x2, x3)
U31_gga(x1, x2, x3)  =  U31_gga(x2, x3)
U32_gga(x1, x2, x3)  =  U32_gga(x3)
U33_gga(x1, x2, x3, x4)  =  U33_gga(x1, x2, x4)
U34_gga(x1, x2, x3, x4)  =  U34_gga(x2, x4)
U35_gga(x1, x2, x3, x4)  =  U35_gga(x4)
U37_gga(x1, x2, x3, x4)  =  U37_gga(x1, x2, x4)
U38_gga(x1, x2, x3, x4)  =  U38_gga(x4)
U39_gga(x1, x2, x3, x4)  =  U39_gga(x2, x4)
U40_gga(x1, x2, x3, x4)  =  U40_gga(x4)
plus166_in_gaa(x1, x2, x3)  =  plus166_in_gaa(x1)
plus166_out_gaa(x1, x2, x3)  =  plus166_out_gaa
U42_gaa(x1, x2, x3, x4)  =  U42_gaa(x4)
U36_gga(x1, x2, x3, x4)  =  U36_gga(x4)
plus154_in_aaa(x1, x2, x3)  =  plus154_in_aaa
plus154_out_aaa(x1, x2, x3)  =  plus154_out_aaa(x1)
U41_aaa(x1, x2, x3, x4)  =  U41_aaa(x4)
U39_ggg(x1, x2, x3, x4)  =  U39_ggg(x2, x3, x4)
U40_ggg(x1, x2, x3, x4)  =  U40_ggg(x4)
plus166_in_gag(x1, x2, x3)  =  plus166_in_gag(x1, x3)
plus166_out_gag(x1, x2, x3)  =  plus166_out_gag(x2)
U42_gag(x1, x2, x3, x4)  =  U42_gag(x4)
U36_ggg(x1, x2, x3, x4)  =  U36_ggg(x4)
plus154_in_aag(x1, x2, x3)  =  plus154_in_aag(x3)
plus154_out_aag(x1, x2, x3)  =  plus154_out_aag(x1, x2)
U41_aag(x1, x2, x3, x4)  =  U41_aag(x4)
U52_gga(x1, x2, x3)  =  U52_gga(x1, x2, x3)
U53_gga(x1, x2, x3)  =  U53_gga(x2, x3)
U54_gga(x1, x2, x3)  =  U54_gga(x3)
U55_gga(x1, x2, x3)  =  U55_gga(x1, x2, x3)
U56_gga(x1, x2, x3)  =  U56_gga(x2, x3)
U57_gga(x1, x2, x3)  =  U57_gga(x3)
U58_gga(x1, x2, x3)  =  U58_gga(x1, x2, x3)
U59_gga(x1, x2, x3)  =  U59_gga(x2, x3)
U60_gga(x1, x2, x3)  =  U60_gga(x3)
U61_gga(x1, x2, x3)  =  U61_gga(x1, x2, x3)
U62_gga(x1, x2, x3)  =  U62_gga(x2, x3)
U63_gga(x1, x2, x3)  =  U63_gga(x3)
U64_gga(x1, x2, x3)  =  U64_gga(x1, x2, x3)
U65_gga(x1, x2, x3)  =  U65_gga(x2, x3)
U66_gga(x1, x2, x3)  =  U66_gga(x3)
U67_gga(x1, x2, x3)  =  U67_gga(x1, x2, x3)
U68_gga(x1, x2, x3)  =  U68_gga(x2, x3)
U69_gga(x1, x2, x3)  =  U69_gga(x3)
U70_gga(x1, x2, x3)  =  U70_gga(x1, x2, x3)
U71_gga(x1, x2, x3)  =  U71_gga(x2, x3)
U72_gga(x1, x2, x3)  =  U72_gga(x3)
U73_gga(x1, x2, x3)  =  U73_gga(x1, x2, x3)
U74_gga(x1, x2, x3)  =  U74_gga(x2, x3)
U75_gga(x1, x2, x3)  =  U75_gga(x3)
U76_gga(x1, x2, x3, x4)  =  U76_gga(x1, x2, x4)
U77_gga(x1, x2, x3, x4)  =  U77_gga(x2, x4)
U78_gga(x1, x2, x3, x4)  =  U78_gga(x4)
U79_gga(x1, x2, x3, x4)  =  U79_gga(x4)
plus19_in_aaa(x1, x2, x3)  =  plus19_in_aaa
plus19_out_aaa(x1, x2, x3)  =  plus19_out_aaa(x1)
U1_aaa(x1, x2, x3, x4)  =  U1_aaa(x4)
U80_gga(x1, x2, x3, x4)  =  U80_gga(x1, x2, x4)
U81_gga(x1, x2, x3, x4)  =  U81_gga(x4)
U82_gga(x1, x2, x3, x4)  =  U82_gga(x2, x4)
U83_gga(x1, x2, x3, x4)  =  U83_gga(x4)
plus19_in_gaa(x1, x2, x3)  =  plus19_in_gaa(x1)
plus19_out_gaa(x1, x2, x3)  =  plus19_out_gaa
U1_gaa(x1, x2, x3, x4)  =  U1_gaa(x4)
EVEN36_IN_GA(x1, x2)  =  EVEN36_IN_GA(x1)

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

(189) UsableRulesProof (EQUIVALENT transformation)

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

(190) Obligation:

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

EVEN36_IN_GA(s(s(T61)), X101) → EVEN36_IN_GA(T61, X101)

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

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

(191) PiDPToQDPProof (SOUND transformation)

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

(192) Obligation:

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

EVEN36_IN_GA(s(s(T61))) → EVEN36_IN_GA(T61)

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

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

  • EVEN36_IN_GA(s(s(T61))) → EVEN36_IN_GA(T61)
    The graph contains the following edges 1 > 1

(194) YES

(195) Obligation:

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

TIMES69_IN_GGA(s(T117), T118, X217) → U5_GGA(T117, T118, X217, even36_in_gg(s(T117), true))
U5_GGA(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_GGA(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_GGA(T117, T118, X217, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGA(T120, T118, X216)
TIMES69_IN_GGA(s(T117), T118, 0) → U9_GGA(T117, T118, even36_in_gg(s(T117), true))
U9_GGA(T117, T118, even36_out_gg(s(T117), true)) → U10_GGA(T117, T118, half60_in_ga(s(T117), T120))
U10_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, 0)
TIMES69_IN_GGG(s(T117), T118, X217) → U5_GGG(T117, T118, X217, even36_in_gg(s(T117), true))
U5_GGG(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_GGG(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_GGG(T117, T118, X217, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGA(T120, T118, X216)
TIMES69_IN_GGA(s(T117), T118, s(s(0))) → U12_GGA(T117, T118, even36_in_gg(s(T117), true))
U12_GGA(T117, T118, even36_out_gg(s(T117), true)) → U13_GGA(T117, T118, half60_in_ga(s(T117), T120))
U13_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(0))
TIMES69_IN_GGG(s(T171), T172, X455) → U37_GGG(T171, T172, X455, even36_in_gg(s(T171), false))
U37_GGG(T171, T172, X455, even36_out_gg(s(T171), false)) → TIMES69_IN_GGA(T171, T172, X454)
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(0))))) → U15_GGA(T117, T118, even36_in_gg(s(T117), true))
U15_GGA(T117, T118, even36_out_gg(s(T117), true)) → U16_GGA(T117, T118, half60_in_ga(s(T117), T120))
U16_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(0)))
TIMES69_IN_GGG(s(T117), T118, s(s(0))) → U12_GGG(T117, T118, even36_in_gg(s(T117), true))
U12_GGG(T117, T118, even36_out_gg(s(T117), true)) → U13_GGG(T117, T118, half60_in_ga(s(T117), T120))
U13_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(0))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_GGA(T117, T118, even36_in_gg(s(T117), true))
U18_GGA(T117, T118, even36_out_gg(s(T117), true)) → U19_GGA(T117, T118, half60_in_ga(s(T117), T120))
U19_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(0))))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → U21_GGA(T117, T118, even36_in_gg(s(T117), true))
U21_GGA(T117, T118, even36_out_gg(s(T117), true)) → U22_GGA(T117, T118, half60_in_ga(s(T117), T120))
U22_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(0)))))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(0))))) → U15_GGG(T117, T118, even36_in_gg(s(T117), true))
U15_GGG(T117, T118, even36_out_gg(s(T117), true)) → U16_GGG(T117, T118, half60_in_ga(s(T117), T120))
U16_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(0)))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U24_GGA(T117, T118, even36_in_gg(s(T117), true))
U24_GGA(T117, T118, even36_out_gg(s(T117), true)) → U25_GGA(T117, T118, half60_in_ga(s(T117), T120))
U25_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(0))))))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U27_GGA(T117, T118, even36_in_gg(s(T117), true))
U27_GGA(T117, T118, even36_out_gg(s(T117), true)) → U28_GGA(T117, T118, half60_in_ga(s(T117), T120))
U28_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(s(0)))))))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_GGG(T117, T118, even36_in_gg(s(T117), true))
U18_GGG(T117, T118, even36_out_gg(s(T117), true)) → U19_GGG(T117, T118, half60_in_ga(s(T117), T120))
U19_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(0))))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U30_GGA(T117, T118, even36_in_gg(s(T117), true))
U30_GGA(T117, T118, even36_out_gg(s(T117), true)) → U31_GGA(T117, T118, half60_in_ga(s(T117), T120))
U31_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(s(s(0))))))))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → U33_GGA(T117, T118, X411, even36_in_gg(s(T117), true))
U33_GGA(T117, T118, X411, even36_out_gg(s(T117), true)) → U34_GGA(T117, T118, X411, half60_in_ga(s(T117), T120))
U34_GGA(T117, T118, X411, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGA(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))
TIMES69_IN_GGA(s(T171), T172, X455) → U37_GGA(T171, T172, X455, even36_in_gg(s(T171), false))
U37_GGA(T171, T172, X455, even36_out_gg(s(T171), false)) → TIMES69_IN_GGA(T171, T172, X454)
TIMES69_IN_GGG(s(T117), T118, 0) → U9_GGG(T117, T118, even36_in_gg(s(T117), true))
U9_GGG(T117, T118, even36_out_gg(s(T117), true)) → U10_GGG(T117, T118, half60_in_ga(s(T117), T120))
U10_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, 0)

The TRS R consists of the following rules:

times1_in_gga(0, T5, 0) → times1_out_gga(0, T5, 0)
times1_in_gga(s(0), T23, T25) → U44_gga(T23, T25, times18_in_ga(T23, X45))
times18_in_ga(T35, 0) → times18_out_ga(T35, 0)
U44_gga(T23, T25, times18_out_ga(T23, X45)) → times1_out_gga(s(0), T23, T25)
times1_in_gga(s(0), T23, T25) → U45_gga(T23, T25, times18_in_ga(T23, T29))
U45_gga(T23, T25, times18_out_ga(T23, T29)) → U46_gga(T23, T25, plus19_in_gga(T23, T29, T25))
plus19_in_gga(0, T42, T42) → plus19_out_gga(0, T42, T42)
plus19_in_gga(s(T49), T50, s(T52)) → U1_gga(T49, T50, T52, plus19_in_gga(T49, T50, T52))
U1_gga(T49, T50, T52, plus19_out_gga(T49, T50, T52)) → plus19_out_gga(s(T49), T50, s(T52))
U46_gga(T23, T25, plus19_out_gga(T23, T29, T25)) → times1_out_gga(s(0), T23, T25)
times1_in_gga(s(s(T57)), T10, T12) → U47_gga(T57, T10, T12, even36_in_ga(T57, X90))
even36_in_ga(0, true) → even36_out_ga(0, true)
even36_in_ga(s(0), false) → even36_out_ga(s(0), false)
even36_in_ga(s(s(T61)), X101) → U2_ga(T61, X101, even36_in_ga(T61, X101))
U2_ga(T61, X101, even36_out_ga(T61, X101)) → even36_out_ga(s(s(T61)), X101)
U47_gga(T57, T10, T12, even36_out_ga(T57, X90)) → times1_out_gga(s(s(T57)), T10, T12)
times1_in_gga(s(s(T77)), T78, T80) → U48_gga(T77, T78, T80, even36_in_gg(T77, true))
even36_in_gg(0, true) → even36_out_gg(0, true)
even36_in_gg(s(0), false) → even36_out_gg(s(0), false)
even36_in_gg(s(s(T61)), X101) → U2_gg(T61, X101, even36_in_gg(T61, X101))
U2_gg(T61, X101, even36_out_gg(T61, X101)) → even36_out_gg(s(s(T61)), X101)
U48_gga(T77, T78, T80, even36_out_gg(T77, true)) → U49_gga(T77, T78, T80, half56_in_ga(T77, X128))
half56_in_ga(T86, s(X147)) → U43_ga(T86, X147, half60_in_ga(T86, X147))
half60_in_ga(0, 0) → half60_out_ga(0, 0)
half60_in_ga(s(s(T89)), s(X156)) → U3_ga(T89, X156, half60_in_ga(T89, X156))
U3_ga(T89, X156, half60_out_ga(T89, X156)) → half60_out_ga(s(s(T89)), s(X156))
U43_ga(T86, X147, half60_out_ga(T86, X147)) → half56_out_ga(T86, s(X147))
U49_gga(T77, T78, T80, half56_out_ga(T77, X128)) → times1_out_gga(s(s(T77)), T78, T80)
U48_gga(T77, T78, T80, even36_out_gg(T77, true)) → U50_gga(T77, T78, T80, half56_in_ga(T77, T82))
U50_gga(T77, T78, T80, half56_out_ga(T77, T82)) → U51_gga(T77, T78, T80, times69_in_gga(T82, T78, X129))
times69_in_gga(0, T99, 0) → times69_out_gga(0, T99, 0)
times69_in_gga(s(T104), T105, X182) → U4_gga(T104, T105, X182, even36_in_ga(s(T104), X181))
U4_gga(T104, T105, X182, even36_out_ga(s(T104), X181)) → times69_out_gga(s(T104), T105, X182)
times69_in_gga(s(T117), T118, X217) → U5_gga(T117, T118, X217, even36_in_gg(s(T117), true))
U5_gga(T117, T118, X217, even36_out_gg(s(T117), true)) → U6_gga(T117, T118, X217, half60_in_ga(s(T117), X215))
U6_gga(T117, T118, X217, half60_out_ga(s(T117), X215)) → times69_out_gga(s(T117), T118, X217)
U5_gga(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_gga(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_gga(T117, T118, X217, half60_out_ga(s(T117), T120)) → U8_gga(T117, T118, X217, times69_in_gga(T120, T118, X216))
times69_in_gga(s(T117), T118, 0) → U9_gga(T117, T118, even36_in_gg(s(T117), true))
U9_gga(T117, T118, even36_out_gg(s(T117), true)) → U10_gga(T117, T118, half60_in_ga(s(T117), T120))
U10_gga(T117, T118, half60_out_ga(s(T117), T120)) → U11_gga(T117, T118, times69_in_ggg(T120, T118, 0))
times69_in_ggg(0, T99, 0) → times69_out_ggg(0, T99, 0)
times69_in_ggg(s(T104), T105, X182) → U4_ggg(T104, T105, X182, even36_in_ga(s(T104), X181))
U4_ggg(T104, T105, X182, even36_out_ga(s(T104), X181)) → times69_out_ggg(s(T104), T105, X182)
times69_in_ggg(s(T117), T118, X217) → U5_ggg(T117, T118, X217, even36_in_gg(s(T117), true))
U5_ggg(T117, T118, X217, even36_out_gg(s(T117), true)) → U6_ggg(T117, T118, X217, half60_in_ga(s(T117), X215))
U6_ggg(T117, T118, X217, half60_out_ga(s(T117), X215)) → times69_out_ggg(s(T117), T118, X217)
U5_ggg(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_ggg(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_ggg(T117, T118, X217, half60_out_ga(s(T117), T120)) → U8_ggg(T117, T118, X217, times69_in_gga(T120, T118, X216))
times69_in_gga(s(T117), T118, s(s(0))) → U12_gga(T117, T118, even36_in_gg(s(T117), true))
U12_gga(T117, T118, even36_out_gg(s(T117), true)) → U13_gga(T117, T118, half60_in_ga(s(T117), T120))
U13_gga(T117, T118, half60_out_ga(s(T117), T120)) → U14_gga(T117, T118, times69_in_ggg(T120, T118, s(0)))
times69_in_ggg(s(T117), T118, 0) → U9_ggg(T117, T118, even36_in_gg(s(T117), true))
U9_ggg(T117, T118, even36_out_gg(s(T117), true)) → U10_ggg(T117, T118, half60_in_ga(s(T117), T120))
U10_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U11_ggg(T117, T118, times69_in_ggg(T120, T118, 0))
times69_in_ggg(s(T117), T118, s(s(0))) → U12_ggg(T117, T118, even36_in_gg(s(T117), true))
U12_ggg(T117, T118, even36_out_gg(s(T117), true)) → U13_ggg(T117, T118, half60_in_ga(s(T117), T120))
U13_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U14_ggg(T117, T118, times69_in_ggg(T120, T118, s(0)))
times69_in_ggg(s(T117), T118, s(s(s(s(0))))) → U15_ggg(T117, T118, even36_in_gg(s(T117), true))
U15_ggg(T117, T118, even36_out_gg(s(T117), true)) → U16_ggg(T117, T118, half60_in_ga(s(T117), T120))
U16_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U17_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(0))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_ggg(T117, T118, even36_in_gg(s(T117), true))
U18_ggg(T117, T118, even36_out_gg(s(T117), true)) → U19_ggg(T117, T118, half60_in_ga(s(T117), T120))
U19_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U20_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(0)))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → U21_ggg(T117, T118, even36_in_gg(s(T117), true))
U21_ggg(T117, T118, even36_out_gg(s(T117), true)) → U22_ggg(T117, T118, half60_in_ga(s(T117), T120))
U22_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U23_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(0))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U24_ggg(T117, T118, even36_in_gg(s(T117), true))
U24_ggg(T117, T118, even36_out_gg(s(T117), true)) → U25_ggg(T117, T118, half60_in_ga(s(T117), T120))
U25_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U26_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(0)))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U27_ggg(T117, T118, even36_in_gg(s(T117), true))
U27_ggg(T117, T118, even36_out_gg(s(T117), true)) → U28_ggg(T117, T118, half60_in_ga(s(T117), T120))
U28_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U29_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(0))))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U30_ggg(T117, T118, even36_in_gg(s(T117), true))
U30_ggg(T117, T118, even36_out_gg(s(T117), true)) → U31_ggg(T117, T118, half60_in_ga(s(T117), T120))
U31_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U32_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(s(0)))))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → U33_ggg(T117, T118, X411, even36_in_gg(s(T117), true))
U33_ggg(T117, T118, X411, even36_out_gg(s(T117), true)) → U34_ggg(T117, T118, X411, half60_in_ga(s(T117), T120))
U34_ggg(T117, T118, X411, half60_out_ga(s(T117), T120)) → U35_ggg(T117, T118, X411, times69_in_gga(T120, T118, s(s(s(s(s(s(s(s(T150))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(0))))) → U15_gga(T117, T118, even36_in_gg(s(T117), true))
U15_gga(T117, T118, even36_out_gg(s(T117), true)) → U16_gga(T117, T118, half60_in_ga(s(T117), T120))
U16_gga(T117, T118, half60_out_ga(s(T117), T120)) → U17_gga(T117, T118, times69_in_ggg(T120, T118, s(s(0))))
times69_in_ggg(s(T171), T172, X455) → U37_ggg(T171, T172, X455, even36_in_gg(s(T171), false))
U37_ggg(T171, T172, X455, even36_out_gg(s(T171), false)) → U38_ggg(T171, T172, X455, times69_in_gga(T171, T172, X454))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_gga(T117, T118, even36_in_gg(s(T117), true))
U18_gga(T117, T118, even36_out_gg(s(T117), true)) → U19_gga(T117, T118, half60_in_ga(s(T117), T120))
U19_gga(T117, T118, half60_out_ga(s(T117), T120)) → U20_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(0)))))
U20_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(0))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(0)))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → U21_gga(T117, T118, even36_in_gg(s(T117), true))
U21_gga(T117, T118, even36_out_gg(s(T117), true)) → U22_gga(T117, T118, half60_in_ga(s(T117), T120))
U22_gga(T117, T118, half60_out_ga(s(T117), T120)) → U23_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(0))))))
U23_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(0)))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(0)))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U24_gga(T117, T118, even36_in_gg(s(T117), true))
U24_gga(T117, T118, even36_out_gg(s(T117), true)) → U25_gga(T117, T118, half60_in_ga(s(T117), T120))
U25_gga(T117, T118, half60_out_ga(s(T117), T120)) → U26_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(0)))))))
U26_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(0))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0)))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U27_gga(T117, T118, even36_in_gg(s(T117), true))
U27_gga(T117, T118, even36_out_gg(s(T117), true)) → U28_gga(T117, T118, half60_in_ga(s(T117), T120))
U28_gga(T117, T118, half60_out_ga(s(T117), T120)) → U29_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(0))))))))
U29_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(0)))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U30_gga(T117, T118, even36_in_gg(s(T117), true))
U30_gga(T117, T118, even36_out_gg(s(T117), true)) → U31_gga(T117, T118, half60_in_ga(s(T117), T120))
U31_gga(T117, T118, half60_out_ga(s(T117), T120)) → U32_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(s(0)))))))))
U32_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(s(0))))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → U33_gga(T117, T118, X411, even36_in_gg(s(T117), true))
U33_gga(T117, T118, X411, even36_out_gg(s(T117), true)) → U34_gga(T117, T118, X411, half60_in_ga(s(T117), T120))
U34_gga(T117, T118, X411, half60_out_ga(s(T117), T120)) → U35_gga(T117, T118, X411, times69_in_gga(T120, T118, s(s(s(s(s(s(s(s(T150))))))))))
times69_in_gga(s(T171), T172, X455) → U37_gga(T171, T172, X455, even36_in_gg(s(T171), false))
U37_gga(T171, T172, X455, even36_out_gg(s(T171), false)) → U38_gga(T171, T172, X455, times69_in_gga(T171, T172, X454))
U38_gga(T171, T172, X455, times69_out_gga(T171, T172, X454)) → times69_out_gga(s(T171), T172, X455)
U37_gga(T171, T172, X455, even36_out_gg(s(T171), false)) → U39_gga(T171, T172, X455, times69_in_gga(T171, T172, T175))
U39_gga(T171, T172, X455, times69_out_gga(T171, T172, T175)) → U40_gga(T171, T172, X455, plus166_in_gaa(T172, T175, X455))
plus166_in_gaa(0, T184, T184) → plus166_out_gaa(0, T184, T184)
plus166_in_gaa(s(T189), T190, s(X482)) → U42_gaa(T189, T190, X482, plus166_in_gaa(T189, T190, X482))
U42_gaa(T189, T190, X482, plus166_out_gaa(T189, T190, X482)) → plus166_out_gaa(s(T189), T190, s(X482))
U40_gga(T171, T172, X455, plus166_out_gaa(T172, T175, X455)) → times69_out_gga(s(T171), T172, X455)
U35_gga(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → U36_gga(T117, T118, X411, plus154_in_aaa(T150, s(s(s(s(s(s(s(T150))))))), X411))
plus154_in_aaa(0, T158, s(T158)) → plus154_out_aaa(0, T158, s(T158))
plus154_in_aaa(s(T163), T164, s(X436)) → U41_aaa(T163, T164, X436, plus154_in_aaa(T163, T164, X436))
U41_aaa(T163, T164, X436, plus154_out_aaa(T163, T164, X436)) → plus154_out_aaa(s(T163), T164, s(X436))
U36_gga(T117, T118, X411, plus154_out_aaa(T150, s(s(s(s(s(s(s(T150))))))), X411)) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(X411)))))))))
U38_ggg(T171, T172, X455, times69_out_gga(T171, T172, X454)) → times69_out_ggg(s(T171), T172, X455)
U37_ggg(T171, T172, X455, even36_out_gg(s(T171), false)) → U39_ggg(T171, T172, X455, times69_in_gga(T171, T172, T175))
U39_ggg(T171, T172, X455, times69_out_gga(T171, T172, T175)) → U40_ggg(T171, T172, X455, plus166_in_gag(T172, T175, X455))
plus166_in_gag(0, T184, T184) → plus166_out_gag(0, T184, T184)
plus166_in_gag(s(T189), T190, s(X482)) → U42_gag(T189, T190, X482, plus166_in_gag(T189, T190, X482))
U42_gag(T189, T190, X482, plus166_out_gag(T189, T190, X482)) → plus166_out_gag(s(T189), T190, s(X482))
U40_ggg(T171, T172, X455, plus166_out_gag(T172, T175, X455)) → times69_out_ggg(s(T171), T172, X455)
U17_gga(T117, T118, times69_out_ggg(T120, T118, s(s(0)))) → times69_out_gga(s(T117), T118, s(s(s(s(0)))))
U35_ggg(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → U36_ggg(T117, T118, X411, plus154_in_aag(T150, s(s(s(s(s(s(s(T150))))))), X411))
plus154_in_aag(0, T158, s(T158)) → plus154_out_aag(0, T158, s(T158))
plus154_in_aag(s(T163), T164, s(X436)) → U41_aag(T163, T164, X436, plus154_in_aag(T163, T164, X436))
U41_aag(T163, T164, X436, plus154_out_aag(T163, T164, X436)) → plus154_out_aag(s(T163), T164, s(X436))
U36_ggg(T117, T118, X411, plus154_out_aag(T150, s(s(s(s(s(s(s(T150))))))), X411)) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(X411)))))))))
U32_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(s(0))))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
U29_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(0)))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
U26_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(0))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0)))))))))))
U23_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(0)))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(0)))))))))
U20_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(0))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(0)))))))
U17_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(0)))) → times69_out_ggg(s(T117), T118, s(s(s(s(0)))))
U14_ggg(T117, T118, times69_out_ggg(T120, T118, s(0))) → times69_out_ggg(s(T117), T118, s(s(0)))
U11_ggg(T117, T118, times69_out_ggg(T120, T118, 0)) → times69_out_ggg(s(T117), T118, 0)
U14_gga(T117, T118, times69_out_ggg(T120, T118, s(0))) → times69_out_gga(s(T117), T118, s(s(0)))
U8_ggg(T117, T118, X217, times69_out_gga(T120, T118, X216)) → times69_out_ggg(s(T117), T118, X217)
U11_gga(T117, T118, times69_out_ggg(T120, T118, 0)) → times69_out_gga(s(T117), T118, 0)
U8_gga(T117, T118, X217, times69_out_gga(T120, T118, X216)) → times69_out_gga(s(T117), T118, X217)
U51_gga(T77, T78, T80, times69_out_gga(T82, T78, X129)) → times1_out_gga(s(s(T77)), T78, T80)
times1_in_gga(s(s(T77)), T78, 0) → U52_gga(T77, T78, even36_in_gg(T77, true))
U52_gga(T77, T78, even36_out_gg(T77, true)) → U53_gga(T77, T78, half56_in_ga(T77, T82))
U53_gga(T77, T78, half56_out_ga(T77, T82)) → U54_gga(T77, T78, times69_in_ggg(T82, T78, 0))
U54_gga(T77, T78, times69_out_ggg(T82, T78, 0)) → times1_out_gga(s(s(T77)), T78, 0)
times1_in_gga(s(s(T77)), T78, s(s(0))) → U55_gga(T77, T78, even36_in_gg(T77, true))
U55_gga(T77, T78, even36_out_gg(T77, true)) → U56_gga(T77, T78, half56_in_ga(T77, T82))
U56_gga(T77, T78, half56_out_ga(T77, T82)) → U57_gga(T77, T78, times69_in_ggg(T82, T78, s(0)))
U57_gga(T77, T78, times69_out_ggg(T82, T78, s(0))) → times1_out_gga(s(s(T77)), T78, s(s(0)))
times1_in_gga(s(s(T77)), T78, s(s(s(s(0))))) → U58_gga(T77, T78, even36_in_gg(T77, true))
U58_gga(T77, T78, even36_out_gg(T77, true)) → U59_gga(T77, T78, half56_in_ga(T77, T82))
U59_gga(T77, T78, half56_out_ga(T77, T82)) → U60_gga(T77, T78, times69_in_ggg(T82, T78, s(s(0))))
U60_gga(T77, T78, times69_out_ggg(T82, T78, s(s(0)))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(0)))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(0))))))) → U61_gga(T77, T78, even36_in_gg(T77, true))
U61_gga(T77, T78, even36_out_gg(T77, true)) → U62_gga(T77, T78, half56_in_ga(T77, T82))
U62_gga(T77, T78, half56_out_ga(T77, T82)) → U63_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(0)))))
U63_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(0))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(0)))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(0))))))))) → U64_gga(T77, T78, even36_in_gg(T77, true))
U64_gga(T77, T78, even36_out_gg(T77, true)) → U65_gga(T77, T78, half56_in_ga(T77, T82))
U65_gga(T77, T78, half56_out_ga(T77, T82)) → U66_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(0))))))
U66_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(0)))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(0)))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U67_gga(T77, T78, even36_in_gg(T77, true))
U67_gga(T77, T78, even36_out_gg(T77, true)) → U68_gga(T77, T78, half56_in_ga(T77, T82))
U68_gga(T77, T78, half56_out_ga(T77, T82)) → U69_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(0)))))))
U69_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(0))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(0)))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U70_gga(T77, T78, even36_in_gg(T77, true))
U70_gga(T77, T78, even36_out_gg(T77, true)) → U71_gga(T77, T78, half56_in_ga(T77, T82))
U71_gga(T77, T78, half56_out_ga(T77, T82)) → U72_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(s(0))))))))
U72_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(s(0)))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U73_gga(T77, T78, even36_in_gg(T77, true))
U73_gga(T77, T78, even36_out_gg(T77, true)) → U74_gga(T77, T78, half56_in_ga(T77, T82))
U74_gga(T77, T78, half56_out_ga(T77, T82)) → U75_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(s(s(0)))))))))
U75_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(s(s(0))))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(T248))))))))) → U76_gga(T77, T78, T248, even36_in_gg(T77, true))
U76_gga(T77, T78, T248, even36_out_gg(T77, true)) → U77_gga(T77, T78, T248, half56_in_ga(T77, T82))
U77_gga(T77, T78, T248, half56_out_ga(T77, T82)) → U78_gga(T77, T78, T248, times69_in_gga(T82, T78, s(s(s(s(s(s(s(s(T246))))))))))
U78_gga(T77, T78, T248, times69_out_gga(T82, T78, s(s(s(s(s(s(s(s(T246)))))))))) → U79_gga(T77, T78, T248, plus19_in_aaa(T246, s(s(s(s(s(s(s(s(T246)))))))), T248))
plus19_in_aaa(0, T42, T42) → plus19_out_aaa(0, T42, T42)
plus19_in_aaa(s(T49), T50, s(T52)) → U1_aaa(T49, T50, T52, plus19_in_aaa(T49, T50, T52))
U1_aaa(T49, T50, T52, plus19_out_aaa(T49, T50, T52)) → plus19_out_aaa(s(T49), T50, s(T52))
U79_gga(T77, T78, T248, plus19_out_aaa(T246, s(s(s(s(s(s(s(s(T246)))))))), T248)) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(T248)))))))))
times1_in_gga(s(s(T258)), T259, T261) → U80_gga(T258, T259, T261, even36_in_gg(T258, false))
U80_gga(T258, T259, T261, even36_out_gg(T258, false)) → U81_gga(T258, T259, T261, times69_in_gga(s(T258), T259, X662))
U81_gga(T258, T259, T261, times69_out_gga(s(T258), T259, X662)) → times1_out_gga(s(s(T258)), T259, T261)
U80_gga(T258, T259, T261, even36_out_gg(T258, false)) → U82_gga(T258, T259, T261, times69_in_gga(s(T258), T259, T264))
U82_gga(T258, T259, T261, times69_out_gga(s(T258), T259, T264)) → U83_gga(T258, T259, T261, plus19_in_gaa(T259, T264, T261))
plus19_in_gaa(0, T42, T42) → plus19_out_gaa(0, T42, T42)
plus19_in_gaa(s(T49), T50, s(T52)) → U1_gaa(T49, T50, T52, plus19_in_gaa(T49, T50, T52))
U1_gaa(T49, T50, T52, plus19_out_gaa(T49, T50, T52)) → plus19_out_gaa(s(T49), T50, s(T52))
U83_gga(T258, T259, T261, plus19_out_gaa(T259, T264, T261)) → times1_out_gga(s(s(T258)), T259, T261)

The argument filtering Pi contains the following mapping:
times1_in_gga(x1, x2, x3)  =  times1_in_gga(x1, x2)
0  =  0
times1_out_gga(x1, x2, x3)  =  times1_out_gga
s(x1)  =  s(x1)
U44_gga(x1, x2, x3)  =  U44_gga(x3)
times18_in_ga(x1, x2)  =  times18_in_ga(x1)
times18_out_ga(x1, x2)  =  times18_out_ga(x2)
U45_gga(x1, x2, x3)  =  U45_gga(x1, x3)
U46_gga(x1, x2, x3)  =  U46_gga(x3)
plus19_in_gga(x1, x2, x3)  =  plus19_in_gga(x1, x2)
plus19_out_gga(x1, x2, x3)  =  plus19_out_gga(x3)
U1_gga(x1, x2, x3, x4)  =  U1_gga(x4)
U47_gga(x1, x2, x3, x4)  =  U47_gga(x4)
even36_in_ga(x1, x2)  =  even36_in_ga(x1)
even36_out_ga(x1, x2)  =  even36_out_ga(x2)
U2_ga(x1, x2, x3)  =  U2_ga(x3)
U48_gga(x1, x2, x3, x4)  =  U48_gga(x1, x2, x4)
even36_in_gg(x1, x2)  =  even36_in_gg(x1, x2)
true  =  true
even36_out_gg(x1, x2)  =  even36_out_gg
false  =  false
U2_gg(x1, x2, x3)  =  U2_gg(x3)
U49_gga(x1, x2, x3, x4)  =  U49_gga(x4)
half56_in_ga(x1, x2)  =  half56_in_ga(x1)
U43_ga(x1, x2, x3)  =  U43_ga(x3)
half60_in_ga(x1, x2)  =  half60_in_ga(x1)
half60_out_ga(x1, x2)  =  half60_out_ga(x2)
U3_ga(x1, x2, x3)  =  U3_ga(x3)
half56_out_ga(x1, x2)  =  half56_out_ga(x2)
U50_gga(x1, x2, x3, x4)  =  U50_gga(x2, x4)
U51_gga(x1, x2, x3, x4)  =  U51_gga(x4)
times69_in_gga(x1, x2, x3)  =  times69_in_gga(x1, x2)
times69_out_gga(x1, x2, x3)  =  times69_out_gga
U4_gga(x1, x2, x3, x4)  =  U4_gga(x4)
U5_gga(x1, x2, x3, x4)  =  U5_gga(x1, x2, x4)
U6_gga(x1, x2, x3, x4)  =  U6_gga(x4)
U7_gga(x1, x2, x3, x4)  =  U7_gga(x2, x4)
U8_gga(x1, x2, x3, x4)  =  U8_gga(x4)
U9_gga(x1, x2, x3)  =  U9_gga(x1, x2, x3)
U10_gga(x1, x2, x3)  =  U10_gga(x2, x3)
U11_gga(x1, x2, x3)  =  U11_gga(x3)
times69_in_ggg(x1, x2, x3)  =  times69_in_ggg(x1, x2, x3)
times69_out_ggg(x1, x2, x3)  =  times69_out_ggg
U4_ggg(x1, x2, x3, x4)  =  U4_ggg(x4)
U5_ggg(x1, x2, x3, x4)  =  U5_ggg(x1, x2, x4)
U6_ggg(x1, x2, x3, x4)  =  U6_ggg(x4)
U7_ggg(x1, x2, x3, x4)  =  U7_ggg(x2, x4)
U8_ggg(x1, x2, x3, x4)  =  U8_ggg(x4)
U12_gga(x1, x2, x3)  =  U12_gga(x1, x2, x3)
U13_gga(x1, x2, x3)  =  U13_gga(x2, x3)
U14_gga(x1, x2, x3)  =  U14_gga(x3)
U9_ggg(x1, x2, x3)  =  U9_ggg(x1, x2, x3)
U10_ggg(x1, x2, x3)  =  U10_ggg(x2, x3)
U11_ggg(x1, x2, x3)  =  U11_ggg(x3)
U12_ggg(x1, x2, x3)  =  U12_ggg(x1, x2, x3)
U13_ggg(x1, x2, x3)  =  U13_ggg(x2, x3)
U14_ggg(x1, x2, x3)  =  U14_ggg(x3)
U15_ggg(x1, x2, x3)  =  U15_ggg(x1, x2, x3)
U16_ggg(x1, x2, x3)  =  U16_ggg(x2, x3)
U17_ggg(x1, x2, x3)  =  U17_ggg(x3)
U18_ggg(x1, x2, x3)  =  U18_ggg(x1, x2, x3)
U19_ggg(x1, x2, x3)  =  U19_ggg(x2, x3)
U20_ggg(x1, x2, x3)  =  U20_ggg(x3)
U21_ggg(x1, x2, x3)  =  U21_ggg(x1, x2, x3)
U22_ggg(x1, x2, x3)  =  U22_ggg(x2, x3)
U23_ggg(x1, x2, x3)  =  U23_ggg(x3)
U24_ggg(x1, x2, x3)  =  U24_ggg(x1, x2, x3)
U25_ggg(x1, x2, x3)  =  U25_ggg(x2, x3)
U26_ggg(x1, x2, x3)  =  U26_ggg(x3)
U27_ggg(x1, x2, x3)  =  U27_ggg(x1, x2, x3)
U28_ggg(x1, x2, x3)  =  U28_ggg(x2, x3)
U29_ggg(x1, x2, x3)  =  U29_ggg(x3)
U30_ggg(x1, x2, x3)  =  U30_ggg(x1, x2, x3)
U31_ggg(x1, x2, x3)  =  U31_ggg(x2, x3)
U32_ggg(x1, x2, x3)  =  U32_ggg(x3)
U33_ggg(x1, x2, x3, x4)  =  U33_ggg(x1, x2, x3, x4)
U34_ggg(x1, x2, x3, x4)  =  U34_ggg(x2, x3, x4)
U35_ggg(x1, x2, x3, x4)  =  U35_ggg(x3, x4)
U15_gga(x1, x2, x3)  =  U15_gga(x1, x2, x3)
U16_gga(x1, x2, x3)  =  U16_gga(x2, x3)
U17_gga(x1, x2, x3)  =  U17_gga(x3)
U37_ggg(x1, x2, x3, x4)  =  U37_ggg(x1, x2, x3, x4)
U38_ggg(x1, x2, x3, x4)  =  U38_ggg(x4)
U18_gga(x1, x2, x3)  =  U18_gga(x1, x2, x3)
U19_gga(x1, x2, x3)  =  U19_gga(x2, x3)
U20_gga(x1, x2, x3)  =  U20_gga(x3)
U21_gga(x1, x2, x3)  =  U21_gga(x1, x2, x3)
U22_gga(x1, x2, x3)  =  U22_gga(x2, x3)
U23_gga(x1, x2, x3)  =  U23_gga(x3)
U24_gga(x1, x2, x3)  =  U24_gga(x1, x2, x3)
U25_gga(x1, x2, x3)  =  U25_gga(x2, x3)
U26_gga(x1, x2, x3)  =  U26_gga(x3)
U27_gga(x1, x2, x3)  =  U27_gga(x1, x2, x3)
U28_gga(x1, x2, x3)  =  U28_gga(x2, x3)
U29_gga(x1, x2, x3)  =  U29_gga(x3)
U30_gga(x1, x2, x3)  =  U30_gga(x1, x2, x3)
U31_gga(x1, x2, x3)  =  U31_gga(x2, x3)
U32_gga(x1, x2, x3)  =  U32_gga(x3)
U33_gga(x1, x2, x3, x4)  =  U33_gga(x1, x2, x4)
U34_gga(x1, x2, x3, x4)  =  U34_gga(x2, x4)
U35_gga(x1, x2, x3, x4)  =  U35_gga(x4)
U37_gga(x1, x2, x3, x4)  =  U37_gga(x1, x2, x4)
U38_gga(x1, x2, x3, x4)  =  U38_gga(x4)
U39_gga(x1, x2, x3, x4)  =  U39_gga(x2, x4)
U40_gga(x1, x2, x3, x4)  =  U40_gga(x4)
plus166_in_gaa(x1, x2, x3)  =  plus166_in_gaa(x1)
plus166_out_gaa(x1, x2, x3)  =  plus166_out_gaa
U42_gaa(x1, x2, x3, x4)  =  U42_gaa(x4)
U36_gga(x1, x2, x3, x4)  =  U36_gga(x4)
plus154_in_aaa(x1, x2, x3)  =  plus154_in_aaa
plus154_out_aaa(x1, x2, x3)  =  plus154_out_aaa(x1)
U41_aaa(x1, x2, x3, x4)  =  U41_aaa(x4)
U39_ggg(x1, x2, x3, x4)  =  U39_ggg(x2, x3, x4)
U40_ggg(x1, x2, x3, x4)  =  U40_ggg(x4)
plus166_in_gag(x1, x2, x3)  =  plus166_in_gag(x1, x3)
plus166_out_gag(x1, x2, x3)  =  plus166_out_gag(x2)
U42_gag(x1, x2, x3, x4)  =  U42_gag(x4)
U36_ggg(x1, x2, x3, x4)  =  U36_ggg(x4)
plus154_in_aag(x1, x2, x3)  =  plus154_in_aag(x3)
plus154_out_aag(x1, x2, x3)  =  plus154_out_aag(x1, x2)
U41_aag(x1, x2, x3, x4)  =  U41_aag(x4)
U52_gga(x1, x2, x3)  =  U52_gga(x1, x2, x3)
U53_gga(x1, x2, x3)  =  U53_gga(x2, x3)
U54_gga(x1, x2, x3)  =  U54_gga(x3)
U55_gga(x1, x2, x3)  =  U55_gga(x1, x2, x3)
U56_gga(x1, x2, x3)  =  U56_gga(x2, x3)
U57_gga(x1, x2, x3)  =  U57_gga(x3)
U58_gga(x1, x2, x3)  =  U58_gga(x1, x2, x3)
U59_gga(x1, x2, x3)  =  U59_gga(x2, x3)
U60_gga(x1, x2, x3)  =  U60_gga(x3)
U61_gga(x1, x2, x3)  =  U61_gga(x1, x2, x3)
U62_gga(x1, x2, x3)  =  U62_gga(x2, x3)
U63_gga(x1, x2, x3)  =  U63_gga(x3)
U64_gga(x1, x2, x3)  =  U64_gga(x1, x2, x3)
U65_gga(x1, x2, x3)  =  U65_gga(x2, x3)
U66_gga(x1, x2, x3)  =  U66_gga(x3)
U67_gga(x1, x2, x3)  =  U67_gga(x1, x2, x3)
U68_gga(x1, x2, x3)  =  U68_gga(x2, x3)
U69_gga(x1, x2, x3)  =  U69_gga(x3)
U70_gga(x1, x2, x3)  =  U70_gga(x1, x2, x3)
U71_gga(x1, x2, x3)  =  U71_gga(x2, x3)
U72_gga(x1, x2, x3)  =  U72_gga(x3)
U73_gga(x1, x2, x3)  =  U73_gga(x1, x2, x3)
U74_gga(x1, x2, x3)  =  U74_gga(x2, x3)
U75_gga(x1, x2, x3)  =  U75_gga(x3)
U76_gga(x1, x2, x3, x4)  =  U76_gga(x1, x2, x4)
U77_gga(x1, x2, x3, x4)  =  U77_gga(x2, x4)
U78_gga(x1, x2, x3, x4)  =  U78_gga(x4)
U79_gga(x1, x2, x3, x4)  =  U79_gga(x4)
plus19_in_aaa(x1, x2, x3)  =  plus19_in_aaa
plus19_out_aaa(x1, x2, x3)  =  plus19_out_aaa(x1)
U1_aaa(x1, x2, x3, x4)  =  U1_aaa(x4)
U80_gga(x1, x2, x3, x4)  =  U80_gga(x1, x2, x4)
U81_gga(x1, x2, x3, x4)  =  U81_gga(x4)
U82_gga(x1, x2, x3, x4)  =  U82_gga(x2, x4)
U83_gga(x1, x2, x3, x4)  =  U83_gga(x4)
plus19_in_gaa(x1, x2, x3)  =  plus19_in_gaa(x1)
plus19_out_gaa(x1, x2, x3)  =  plus19_out_gaa
U1_gaa(x1, x2, x3, x4)  =  U1_gaa(x4)
TIMES69_IN_GGA(x1, x2, x3)  =  TIMES69_IN_GGA(x1, x2)
U5_GGA(x1, x2, x3, x4)  =  U5_GGA(x1, x2, x4)
U7_GGA(x1, x2, x3, x4)  =  U7_GGA(x2, x4)
U9_GGA(x1, x2, x3)  =  U9_GGA(x1, x2, x3)
U10_GGA(x1, x2, x3)  =  U10_GGA(x2, x3)
TIMES69_IN_GGG(x1, x2, x3)  =  TIMES69_IN_GGG(x1, x2, x3)
U5_GGG(x1, x2, x3, x4)  =  U5_GGG(x1, x2, x4)
U7_GGG(x1, x2, x3, x4)  =  U7_GGG(x2, x4)
U12_GGA(x1, x2, x3)  =  U12_GGA(x1, x2, x3)
U13_GGA(x1, x2, x3)  =  U13_GGA(x2, x3)
U9_GGG(x1, x2, x3)  =  U9_GGG(x1, x2, x3)
U10_GGG(x1, x2, x3)  =  U10_GGG(x2, x3)
U12_GGG(x1, x2, x3)  =  U12_GGG(x1, x2, x3)
U13_GGG(x1, x2, x3)  =  U13_GGG(x2, x3)
U15_GGG(x1, x2, x3)  =  U15_GGG(x1, x2, x3)
U16_GGG(x1, x2, x3)  =  U16_GGG(x2, x3)
U18_GGG(x1, x2, x3)  =  U18_GGG(x1, x2, x3)
U19_GGG(x1, x2, x3)  =  U19_GGG(x2, x3)
U15_GGA(x1, x2, x3)  =  U15_GGA(x1, x2, x3)
U16_GGA(x1, x2, x3)  =  U16_GGA(x2, x3)
U37_GGG(x1, x2, x3, x4)  =  U37_GGG(x1, x2, x3, x4)
U18_GGA(x1, x2, x3)  =  U18_GGA(x1, x2, x3)
U19_GGA(x1, x2, x3)  =  U19_GGA(x2, x3)
U21_GGA(x1, x2, x3)  =  U21_GGA(x1, x2, x3)
U22_GGA(x1, x2, x3)  =  U22_GGA(x2, x3)
U24_GGA(x1, x2, x3)  =  U24_GGA(x1, x2, x3)
U25_GGA(x1, x2, x3)  =  U25_GGA(x2, x3)
U27_GGA(x1, x2, x3)  =  U27_GGA(x1, x2, x3)
U28_GGA(x1, x2, x3)  =  U28_GGA(x2, x3)
U30_GGA(x1, x2, x3)  =  U30_GGA(x1, x2, x3)
U31_GGA(x1, x2, x3)  =  U31_GGA(x2, x3)
U33_GGA(x1, x2, x3, x4)  =  U33_GGA(x1, x2, x4)
U34_GGA(x1, x2, x3, x4)  =  U34_GGA(x2, x4)
U37_GGA(x1, x2, x3, x4)  =  U37_GGA(x1, x2, x4)

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

(196) UsableRulesProof (EQUIVALENT transformation)

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

(197) Obligation:

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

TIMES69_IN_GGA(s(T117), T118, X217) → U5_GGA(T117, T118, X217, even36_in_gg(s(T117), true))
U5_GGA(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_GGA(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_GGA(T117, T118, X217, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGA(T120, T118, X216)
TIMES69_IN_GGA(s(T117), T118, 0) → U9_GGA(T117, T118, even36_in_gg(s(T117), true))
U9_GGA(T117, T118, even36_out_gg(s(T117), true)) → U10_GGA(T117, T118, half60_in_ga(s(T117), T120))
U10_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, 0)
TIMES69_IN_GGG(s(T117), T118, X217) → U5_GGG(T117, T118, X217, even36_in_gg(s(T117), true))
U5_GGG(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_GGG(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_GGG(T117, T118, X217, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGA(T120, T118, X216)
TIMES69_IN_GGA(s(T117), T118, s(s(0))) → U12_GGA(T117, T118, even36_in_gg(s(T117), true))
U12_GGA(T117, T118, even36_out_gg(s(T117), true)) → U13_GGA(T117, T118, half60_in_ga(s(T117), T120))
U13_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(0))
TIMES69_IN_GGG(s(T171), T172, X455) → U37_GGG(T171, T172, X455, even36_in_gg(s(T171), false))
U37_GGG(T171, T172, X455, even36_out_gg(s(T171), false)) → TIMES69_IN_GGA(T171, T172, X454)
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(0))))) → U15_GGA(T117, T118, even36_in_gg(s(T117), true))
U15_GGA(T117, T118, even36_out_gg(s(T117), true)) → U16_GGA(T117, T118, half60_in_ga(s(T117), T120))
U16_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(0)))
TIMES69_IN_GGG(s(T117), T118, s(s(0))) → U12_GGG(T117, T118, even36_in_gg(s(T117), true))
U12_GGG(T117, T118, even36_out_gg(s(T117), true)) → U13_GGG(T117, T118, half60_in_ga(s(T117), T120))
U13_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(0))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_GGA(T117, T118, even36_in_gg(s(T117), true))
U18_GGA(T117, T118, even36_out_gg(s(T117), true)) → U19_GGA(T117, T118, half60_in_ga(s(T117), T120))
U19_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(0))))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → U21_GGA(T117, T118, even36_in_gg(s(T117), true))
U21_GGA(T117, T118, even36_out_gg(s(T117), true)) → U22_GGA(T117, T118, half60_in_ga(s(T117), T120))
U22_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(0)))))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(0))))) → U15_GGG(T117, T118, even36_in_gg(s(T117), true))
U15_GGG(T117, T118, even36_out_gg(s(T117), true)) → U16_GGG(T117, T118, half60_in_ga(s(T117), T120))
U16_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(0)))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U24_GGA(T117, T118, even36_in_gg(s(T117), true))
U24_GGA(T117, T118, even36_out_gg(s(T117), true)) → U25_GGA(T117, T118, half60_in_ga(s(T117), T120))
U25_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(0))))))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U27_GGA(T117, T118, even36_in_gg(s(T117), true))
U27_GGA(T117, T118, even36_out_gg(s(T117), true)) → U28_GGA(T117, T118, half60_in_ga(s(T117), T120))
U28_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(s(0)))))))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_GGG(T117, T118, even36_in_gg(s(T117), true))
U18_GGG(T117, T118, even36_out_gg(s(T117), true)) → U19_GGG(T117, T118, half60_in_ga(s(T117), T120))
U19_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(0))))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U30_GGA(T117, T118, even36_in_gg(s(T117), true))
U30_GGA(T117, T118, even36_out_gg(s(T117), true)) → U31_GGA(T117, T118, half60_in_ga(s(T117), T120))
U31_GGA(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(s(s(0))))))))
TIMES69_IN_GGA(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → U33_GGA(T117, T118, X411, even36_in_gg(s(T117), true))
U33_GGA(T117, T118, X411, even36_out_gg(s(T117), true)) → U34_GGA(T117, T118, X411, half60_in_ga(s(T117), T120))
U34_GGA(T117, T118, X411, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGA(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))
TIMES69_IN_GGA(s(T171), T172, X455) → U37_GGA(T171, T172, X455, even36_in_gg(s(T171), false))
U37_GGA(T171, T172, X455, even36_out_gg(s(T171), false)) → TIMES69_IN_GGA(T171, T172, X454)
TIMES69_IN_GGG(s(T117), T118, 0) → U9_GGG(T117, T118, even36_in_gg(s(T117), true))
U9_GGG(T117, T118, even36_out_gg(s(T117), true)) → U10_GGG(T117, T118, half60_in_ga(s(T117), T120))
U10_GGG(T117, T118, half60_out_ga(s(T117), T120)) → TIMES69_IN_GGG(T120, T118, 0)

The TRS R consists of the following rules:

even36_in_gg(s(s(T61)), X101) → U2_gg(T61, X101, even36_in_gg(T61, X101))
half60_in_ga(s(s(T89)), s(X156)) → U3_ga(T89, X156, half60_in_ga(T89, X156))
even36_in_gg(s(0), false) → even36_out_gg(s(0), false)
U2_gg(T61, X101, even36_out_gg(T61, X101)) → even36_out_gg(s(s(T61)), X101)
U3_ga(T89, X156, half60_out_ga(T89, X156)) → half60_out_ga(s(s(T89)), s(X156))
even36_in_gg(0, true) → even36_out_gg(0, true)
half60_in_ga(0, 0) → half60_out_ga(0, 0)

The argument filtering Pi contains the following mapping:
0  =  0
s(x1)  =  s(x1)
even36_in_gg(x1, x2)  =  even36_in_gg(x1, x2)
true  =  true
even36_out_gg(x1, x2)  =  even36_out_gg
false  =  false
U2_gg(x1, x2, x3)  =  U2_gg(x3)
half60_in_ga(x1, x2)  =  half60_in_ga(x1)
half60_out_ga(x1, x2)  =  half60_out_ga(x2)
U3_ga(x1, x2, x3)  =  U3_ga(x3)
TIMES69_IN_GGA(x1, x2, x3)  =  TIMES69_IN_GGA(x1, x2)
U5_GGA(x1, x2, x3, x4)  =  U5_GGA(x1, x2, x4)
U7_GGA(x1, x2, x3, x4)  =  U7_GGA(x2, x4)
U9_GGA(x1, x2, x3)  =  U9_GGA(x1, x2, x3)
U10_GGA(x1, x2, x3)  =  U10_GGA(x2, x3)
TIMES69_IN_GGG(x1, x2, x3)  =  TIMES69_IN_GGG(x1, x2, x3)
U5_GGG(x1, x2, x3, x4)  =  U5_GGG(x1, x2, x4)
U7_GGG(x1, x2, x3, x4)  =  U7_GGG(x2, x4)
U12_GGA(x1, x2, x3)  =  U12_GGA(x1, x2, x3)
U13_GGA(x1, x2, x3)  =  U13_GGA(x2, x3)
U9_GGG(x1, x2, x3)  =  U9_GGG(x1, x2, x3)
U10_GGG(x1, x2, x3)  =  U10_GGG(x2, x3)
U12_GGG(x1, x2, x3)  =  U12_GGG(x1, x2, x3)
U13_GGG(x1, x2, x3)  =  U13_GGG(x2, x3)
U15_GGG(x1, x2, x3)  =  U15_GGG(x1, x2, x3)
U16_GGG(x1, x2, x3)  =  U16_GGG(x2, x3)
U18_GGG(x1, x2, x3)  =  U18_GGG(x1, x2, x3)
U19_GGG(x1, x2, x3)  =  U19_GGG(x2, x3)
U15_GGA(x1, x2, x3)  =  U15_GGA(x1, x2, x3)
U16_GGA(x1, x2, x3)  =  U16_GGA(x2, x3)
U37_GGG(x1, x2, x3, x4)  =  U37_GGG(x1, x2, x3, x4)
U18_GGA(x1, x2, x3)  =  U18_GGA(x1, x2, x3)
U19_GGA(x1, x2, x3)  =  U19_GGA(x2, x3)
U21_GGA(x1, x2, x3)  =  U21_GGA(x1, x2, x3)
U22_GGA(x1, x2, x3)  =  U22_GGA(x2, x3)
U24_GGA(x1, x2, x3)  =  U24_GGA(x1, x2, x3)
U25_GGA(x1, x2, x3)  =  U25_GGA(x2, x3)
U27_GGA(x1, x2, x3)  =  U27_GGA(x1, x2, x3)
U28_GGA(x1, x2, x3)  =  U28_GGA(x2, x3)
U30_GGA(x1, x2, x3)  =  U30_GGA(x1, x2, x3)
U31_GGA(x1, x2, x3)  =  U31_GGA(x2, x3)
U33_GGA(x1, x2, x3, x4)  =  U33_GGA(x1, x2, x4)
U34_GGA(x1, x2, x3, x4)  =  U34_GGA(x2, x4)
U37_GGA(x1, x2, x3, x4)  =  U37_GGA(x1, x2, x4)

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

(198) PiDPToQDPProof (SOUND transformation)

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

(199) Obligation:

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

TIMES69_IN_GGA(s(T117), T118) → U5_GGA(T117, T118, even36_in_gg(s(T117), true))
U5_GGA(T117, T118, even36_out_gg) → U7_GGA(T118, half60_in_ga(s(T117)))
U7_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGA(T120, T118)
TIMES69_IN_GGA(s(T117), T118) → U9_GGA(T117, T118, even36_in_gg(s(T117), true))
U9_GGA(T117, T118, even36_out_gg) → U10_GGA(T118, half60_in_ga(s(T117)))
U10_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, 0)
TIMES69_IN_GGG(s(T117), T118, X217) → U5_GGG(T117, T118, even36_in_gg(s(T117), true))
U5_GGG(T117, T118, even36_out_gg) → U7_GGG(T118, half60_in_ga(s(T117)))
U7_GGG(T118, half60_out_ga(T120)) → TIMES69_IN_GGA(T120, T118)
TIMES69_IN_GGA(s(T117), T118) → U12_GGA(T117, T118, even36_in_gg(s(T117), true))
U12_GGA(T117, T118, even36_out_gg) → U13_GGA(T118, half60_in_ga(s(T117)))
U13_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(0))
TIMES69_IN_GGG(s(T171), T172, X455) → U37_GGG(T171, T172, X455, even36_in_gg(s(T171), false))
U37_GGG(T171, T172, X455, even36_out_gg) → TIMES69_IN_GGA(T171, T172)
TIMES69_IN_GGA(s(T117), T118) → U15_GGA(T117, T118, even36_in_gg(s(T117), true))
U15_GGA(T117, T118, even36_out_gg) → U16_GGA(T118, half60_in_ga(s(T117)))
U16_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(0)))
TIMES69_IN_GGG(s(T117), T118, s(s(0))) → U12_GGG(T117, T118, even36_in_gg(s(T117), true))
U12_GGG(T117, T118, even36_out_gg) → U13_GGG(T118, half60_in_ga(s(T117)))
U13_GGG(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(0))
TIMES69_IN_GGA(s(T117), T118) → U18_GGA(T117, T118, even36_in_gg(s(T117), true))
U18_GGA(T117, T118, even36_out_gg) → U19_GGA(T118, half60_in_ga(s(T117)))
U19_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(0))))
TIMES69_IN_GGA(s(T117), T118) → U21_GGA(T117, T118, even36_in_gg(s(T117), true))
U21_GGA(T117, T118, even36_out_gg) → U22_GGA(T118, half60_in_ga(s(T117)))
U22_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(0)))))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(0))))) → U15_GGG(T117, T118, even36_in_gg(s(T117), true))
U15_GGG(T117, T118, even36_out_gg) → U16_GGG(T118, half60_in_ga(s(T117)))
U16_GGG(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(0)))
TIMES69_IN_GGA(s(T117), T118) → U24_GGA(T117, T118, even36_in_gg(s(T117), true))
U24_GGA(T117, T118, even36_out_gg) → U25_GGA(T118, half60_in_ga(s(T117)))
U25_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(0))))))
TIMES69_IN_GGA(s(T117), T118) → U27_GGA(T117, T118, even36_in_gg(s(T117), true))
U27_GGA(T117, T118, even36_out_gg) → U28_GGA(T118, half60_in_ga(s(T117)))
U28_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(s(0)))))))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_GGG(T117, T118, even36_in_gg(s(T117), true))
U18_GGG(T117, T118, even36_out_gg) → U19_GGG(T118, half60_in_ga(s(T117)))
U19_GGG(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(0))))
TIMES69_IN_GGA(s(T117), T118) → U30_GGA(T117, T118, even36_in_gg(s(T117), true))
U30_GGA(T117, T118, even36_out_gg) → U31_GGA(T118, half60_in_ga(s(T117)))
U31_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(s(s(0))))))))
TIMES69_IN_GGA(s(T117), T118) → U33_GGA(T117, T118, even36_in_gg(s(T117), true))
U33_GGA(T117, T118, even36_out_gg) → U34_GGA(T118, half60_in_ga(s(T117)))
U34_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGA(T120, T118)
TIMES69_IN_GGA(s(T171), T172) → U37_GGA(T171, T172, even36_in_gg(s(T171), false))
U37_GGA(T171, T172, even36_out_gg) → TIMES69_IN_GGA(T171, T172)
TIMES69_IN_GGG(s(T117), T118, 0) → U9_GGG(T117, T118, even36_in_gg(s(T117), true))
U9_GGG(T117, T118, even36_out_gg) → U10_GGG(T118, half60_in_ga(s(T117)))
U10_GGG(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, 0)

The TRS R consists of the following rules:

even36_in_gg(s(s(T61)), X101) → U2_gg(even36_in_gg(T61, X101))
half60_in_ga(s(s(T89))) → U3_ga(half60_in_ga(T89))
even36_in_gg(s(0), false) → even36_out_gg
U2_gg(even36_out_gg) → even36_out_gg
U3_ga(half60_out_ga(X156)) → half60_out_ga(s(X156))
even36_in_gg(0, true) → even36_out_gg
half60_in_ga(0) → half60_out_ga(0)

The set Q consists of the following terms:

even36_in_gg(x0, x1)
half60_in_ga(x0)
U2_gg(x0)
U3_ga(x0)

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

(200) Instantiation (EQUIVALENT transformation)

By instantiating [LPAR04] the rule TIMES69_IN_GGG(s(T117), T118, X217) → U5_GGG(T117, T118, even36_in_gg(s(T117), true)) we obtained the following new rules [LPAR04]:

TIMES69_IN_GGG(s(x0), z0, 0) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z0, s(0)) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z0, s(s(0))) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z0, s(s(s(0)))) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z0, s(s(s(s(0))))) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z0, s(s(s(s(s(0)))))) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z0, s(s(s(s(s(s(0))))))) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z0, s(s(s(s(s(s(s(0)))))))) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))

(201) Obligation:

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

TIMES69_IN_GGA(s(T117), T118) → U5_GGA(T117, T118, even36_in_gg(s(T117), true))
U5_GGA(T117, T118, even36_out_gg) → U7_GGA(T118, half60_in_ga(s(T117)))
U7_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGA(T120, T118)
TIMES69_IN_GGA(s(T117), T118) → U9_GGA(T117, T118, even36_in_gg(s(T117), true))
U9_GGA(T117, T118, even36_out_gg) → U10_GGA(T118, half60_in_ga(s(T117)))
U10_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, 0)
U5_GGG(T117, T118, even36_out_gg) → U7_GGG(T118, half60_in_ga(s(T117)))
U7_GGG(T118, half60_out_ga(T120)) → TIMES69_IN_GGA(T120, T118)
TIMES69_IN_GGA(s(T117), T118) → U12_GGA(T117, T118, even36_in_gg(s(T117), true))
U12_GGA(T117, T118, even36_out_gg) → U13_GGA(T118, half60_in_ga(s(T117)))
U13_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(0))
TIMES69_IN_GGG(s(T171), T172, X455) → U37_GGG(T171, T172, X455, even36_in_gg(s(T171), false))
U37_GGG(T171, T172, X455, even36_out_gg) → TIMES69_IN_GGA(T171, T172)
TIMES69_IN_GGA(s(T117), T118) → U15_GGA(T117, T118, even36_in_gg(s(T117), true))
U15_GGA(T117, T118, even36_out_gg) → U16_GGA(T118, half60_in_ga(s(T117)))
U16_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(0)))
TIMES69_IN_GGG(s(T117), T118, s(s(0))) → U12_GGG(T117, T118, even36_in_gg(s(T117), true))
U12_GGG(T117, T118, even36_out_gg) → U13_GGG(T118, half60_in_ga(s(T117)))
U13_GGG(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(0))
TIMES69_IN_GGA(s(T117), T118) → U18_GGA(T117, T118, even36_in_gg(s(T117), true))
U18_GGA(T117, T118, even36_out_gg) → U19_GGA(T118, half60_in_ga(s(T117)))
U19_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(0))))
TIMES69_IN_GGA(s(T117), T118) → U21_GGA(T117, T118, even36_in_gg(s(T117), true))
U21_GGA(T117, T118, even36_out_gg) → U22_GGA(T118, half60_in_ga(s(T117)))
U22_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(0)))))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(0))))) → U15_GGG(T117, T118, even36_in_gg(s(T117), true))
U15_GGG(T117, T118, even36_out_gg) → U16_GGG(T118, half60_in_ga(s(T117)))
U16_GGG(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(0)))
TIMES69_IN_GGA(s(T117), T118) → U24_GGA(T117, T118, even36_in_gg(s(T117), true))
U24_GGA(T117, T118, even36_out_gg) → U25_GGA(T118, half60_in_ga(s(T117)))
U25_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(0))))))
TIMES69_IN_GGA(s(T117), T118) → U27_GGA(T117, T118, even36_in_gg(s(T117), true))
U27_GGA(T117, T118, even36_out_gg) → U28_GGA(T118, half60_in_ga(s(T117)))
U28_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(s(0)))))))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_GGG(T117, T118, even36_in_gg(s(T117), true))
U18_GGG(T117, T118, even36_out_gg) → U19_GGG(T118, half60_in_ga(s(T117)))
U19_GGG(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(0))))
TIMES69_IN_GGA(s(T117), T118) → U30_GGA(T117, T118, even36_in_gg(s(T117), true))
U30_GGA(T117, T118, even36_out_gg) → U31_GGA(T118, half60_in_ga(s(T117)))
U31_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(s(s(0))))))))
TIMES69_IN_GGA(s(T117), T118) → U33_GGA(T117, T118, even36_in_gg(s(T117), true))
U33_GGA(T117, T118, even36_out_gg) → U34_GGA(T118, half60_in_ga(s(T117)))
U34_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGA(T120, T118)
TIMES69_IN_GGA(s(T171), T172) → U37_GGA(T171, T172, even36_in_gg(s(T171), false))
U37_GGA(T171, T172, even36_out_gg) → TIMES69_IN_GGA(T171, T172)
TIMES69_IN_GGG(s(T117), T118, 0) → U9_GGG(T117, T118, even36_in_gg(s(T117), true))
U9_GGG(T117, T118, even36_out_gg) → U10_GGG(T118, half60_in_ga(s(T117)))
U10_GGG(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, 0)
TIMES69_IN_GGG(s(x0), z0, 0) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z0, s(0)) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z0, s(s(0))) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z0, s(s(s(0)))) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z0, s(s(s(s(0))))) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z0, s(s(s(s(s(0)))))) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z0, s(s(s(s(s(s(0))))))) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z0, s(s(s(s(s(s(s(0)))))))) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))

The TRS R consists of the following rules:

even36_in_gg(s(s(T61)), X101) → U2_gg(even36_in_gg(T61, X101))
half60_in_ga(s(s(T89))) → U3_ga(half60_in_ga(T89))
even36_in_gg(s(0), false) → even36_out_gg
U2_gg(even36_out_gg) → even36_out_gg
U3_ga(half60_out_ga(X156)) → half60_out_ga(s(X156))
even36_in_gg(0, true) → even36_out_gg
half60_in_ga(0) → half60_out_ga(0)

The set Q consists of the following terms:

even36_in_gg(x0, x1)
half60_in_ga(x0)
U2_gg(x0)
U3_ga(x0)

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

(202) Instantiation (EQUIVALENT transformation)

By instantiating [LPAR04] the rule TIMES69_IN_GGG(s(T171), T172, X455) → U37_GGG(T171, T172, X455, even36_in_gg(s(T171), false)) we obtained the following new rules [LPAR04]:

TIMES69_IN_GGG(s(x0), z0, 0) → U37_GGG(x0, z0, 0, even36_in_gg(s(x0), false))
TIMES69_IN_GGG(s(x0), z0, s(0)) → U37_GGG(x0, z0, s(0), even36_in_gg(s(x0), false))
TIMES69_IN_GGG(s(x0), z0, s(s(0))) → U37_GGG(x0, z0, s(s(0)), even36_in_gg(s(x0), false))
TIMES69_IN_GGG(s(x0), z0, s(s(s(0)))) → U37_GGG(x0, z0, s(s(s(0))), even36_in_gg(s(x0), false))
TIMES69_IN_GGG(s(x0), z0, s(s(s(s(0))))) → U37_GGG(x0, z0, s(s(s(s(0)))), even36_in_gg(s(x0), false))
TIMES69_IN_GGG(s(x0), z0, s(s(s(s(s(0)))))) → U37_GGG(x0, z0, s(s(s(s(s(0))))), even36_in_gg(s(x0), false))
TIMES69_IN_GGG(s(x0), z0, s(s(s(s(s(s(0))))))) → U37_GGG(x0, z0, s(s(s(s(s(s(0)))))), even36_in_gg(s(x0), false))
TIMES69_IN_GGG(s(x0), z0, s(s(s(s(s(s(s(0)))))))) → U37_GGG(x0, z0, s(s(s(s(s(s(s(0))))))), even36_in_gg(s(x0), false))

(203) Obligation:

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

TIMES69_IN_GGA(s(T117), T118) → U5_GGA(T117, T118, even36_in_gg(s(T117), true))
U5_GGA(T117, T118, even36_out_gg) → U7_GGA(T118, half60_in_ga(s(T117)))
U7_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGA(T120, T118)
TIMES69_IN_GGA(s(T117), T118) → U9_GGA(T117, T118, even36_in_gg(s(T117), true))
U9_GGA(T117, T118, even36_out_gg) → U10_GGA(T118, half60_in_ga(s(T117)))
U10_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, 0)
U5_GGG(T117, T118, even36_out_gg) → U7_GGG(T118, half60_in_ga(s(T117)))
U7_GGG(T118, half60_out_ga(T120)) → TIMES69_IN_GGA(T120, T118)
TIMES69_IN_GGA(s(T117), T118) → U12_GGA(T117, T118, even36_in_gg(s(T117), true))
U12_GGA(T117, T118, even36_out_gg) → U13_GGA(T118, half60_in_ga(s(T117)))
U13_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(0))
U37_GGG(T171, T172, X455, even36_out_gg) → TIMES69_IN_GGA(T171, T172)
TIMES69_IN_GGA(s(T117), T118) → U15_GGA(T117, T118, even36_in_gg(s(T117), true))
U15_GGA(T117, T118, even36_out_gg) → U16_GGA(T118, half60_in_ga(s(T117)))
U16_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(0)))
TIMES69_IN_GGG(s(T117), T118, s(s(0))) → U12_GGG(T117, T118, even36_in_gg(s(T117), true))
U12_GGG(T117, T118, even36_out_gg) → U13_GGG(T118, half60_in_ga(s(T117)))
U13_GGG(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(0))
TIMES69_IN_GGA(s(T117), T118) → U18_GGA(T117, T118, even36_in_gg(s(T117), true))
U18_GGA(T117, T118, even36_out_gg) → U19_GGA(T118, half60_in_ga(s(T117)))
U19_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(0))))
TIMES69_IN_GGA(s(T117), T118) → U21_GGA(T117, T118, even36_in_gg(s(T117), true))
U21_GGA(T117, T118, even36_out_gg) → U22_GGA(T118, half60_in_ga(s(T117)))
U22_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(0)))))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(0))))) → U15_GGG(T117, T118, even36_in_gg(s(T117), true))
U15_GGG(T117, T118, even36_out_gg) → U16_GGG(T118, half60_in_ga(s(T117)))
U16_GGG(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(0)))
TIMES69_IN_GGA(s(T117), T118) → U24_GGA(T117, T118, even36_in_gg(s(T117), true))
U24_GGA(T117, T118, even36_out_gg) → U25_GGA(T118, half60_in_ga(s(T117)))
U25_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(0))))))
TIMES69_IN_GGA(s(T117), T118) → U27_GGA(T117, T118, even36_in_gg(s(T117), true))
U27_GGA(T117, T118, even36_out_gg) → U28_GGA(T118, half60_in_ga(s(T117)))
U28_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(s(0)))))))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_GGG(T117, T118, even36_in_gg(s(T117), true))
U18_GGG(T117, T118, even36_out_gg) → U19_GGG(T118, half60_in_ga(s(T117)))
U19_GGG(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(0))))
TIMES69_IN_GGA(s(T117), T118) → U30_GGA(T117, T118, even36_in_gg(s(T117), true))
U30_GGA(T117, T118, even36_out_gg) → U31_GGA(T118, half60_in_ga(s(T117)))
U31_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(s(s(0))))))))
TIMES69_IN_GGA(s(T117), T118) → U33_GGA(T117, T118, even36_in_gg(s(T117), true))
U33_GGA(T117, T118, even36_out_gg) → U34_GGA(T118, half60_in_ga(s(T117)))
U34_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGA(T120, T118)
TIMES69_IN_GGA(s(T171), T172) → U37_GGA(T171, T172, even36_in_gg(s(T171), false))
U37_GGA(T171, T172, even36_out_gg) → TIMES69_IN_GGA(T171, T172)
TIMES69_IN_GGG(s(T117), T118, 0) → U9_GGG(T117, T118, even36_in_gg(s(T117), true))
U9_GGG(T117, T118, even36_out_gg) → U10_GGG(T118, half60_in_ga(s(T117)))
U10_GGG(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, 0)
TIMES69_IN_GGG(s(x0), z0, 0) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z0, s(0)) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z0, s(s(0))) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z0, s(s(s(0)))) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z0, s(s(s(s(0))))) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z0, s(s(s(s(s(0)))))) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z0, s(s(s(s(s(s(0))))))) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z0, s(s(s(s(s(s(s(0)))))))) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z0, 0) → U37_GGG(x0, z0, 0, even36_in_gg(s(x0), false))
TIMES69_IN_GGG(s(x0), z0, s(0)) → U37_GGG(x0, z0, s(0), even36_in_gg(s(x0), false))
TIMES69_IN_GGG(s(x0), z0, s(s(0))) → U37_GGG(x0, z0, s(s(0)), even36_in_gg(s(x0), false))
TIMES69_IN_GGG(s(x0), z0, s(s(s(0)))) → U37_GGG(x0, z0, s(s(s(0))), even36_in_gg(s(x0), false))
TIMES69_IN_GGG(s(x0), z0, s(s(s(s(0))))) → U37_GGG(x0, z0, s(s(s(s(0)))), even36_in_gg(s(x0), false))
TIMES69_IN_GGG(s(x0), z0, s(s(s(s(s(0)))))) → U37_GGG(x0, z0, s(s(s(s(s(0))))), even36_in_gg(s(x0), false))
TIMES69_IN_GGG(s(x0), z0, s(s(s(s(s(s(0))))))) → U37_GGG(x0, z0, s(s(s(s(s(s(0)))))), even36_in_gg(s(x0), false))
TIMES69_IN_GGG(s(x0), z0, s(s(s(s(s(s(s(0)))))))) → U37_GGG(x0, z0, s(s(s(s(s(s(s(0))))))), even36_in_gg(s(x0), false))

The TRS R consists of the following rules:

even36_in_gg(s(s(T61)), X101) → U2_gg(even36_in_gg(T61, X101))
half60_in_ga(s(s(T89))) → U3_ga(half60_in_ga(T89))
even36_in_gg(s(0), false) → even36_out_gg
U2_gg(even36_out_gg) → even36_out_gg
U3_ga(half60_out_ga(X156)) → half60_out_ga(s(X156))
even36_in_gg(0, true) → even36_out_gg
half60_in_ga(0) → half60_out_ga(0)

The set Q consists of the following terms:

even36_in_gg(x0, x1)
half60_in_ga(x0)
U2_gg(x0)
U3_ga(x0)

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

(204) Instantiation (EQUIVALENT transformation)

By instantiating [LPAR04] the rule U37_GGG(T171, T172, X455, even36_out_gg) → TIMES69_IN_GGA(T171, T172) we obtained the following new rules [LPAR04]:

U37_GGG(z0, z1, 0, even36_out_gg) → TIMES69_IN_GGA(z0, z1)
U37_GGG(z0, z1, s(0), even36_out_gg) → TIMES69_IN_GGA(z0, z1)
U37_GGG(z0, z1, s(s(0)), even36_out_gg) → TIMES69_IN_GGA(z0, z1)
U37_GGG(z0, z1, s(s(s(0))), even36_out_gg) → TIMES69_IN_GGA(z0, z1)
U37_GGG(z0, z1, s(s(s(s(0)))), even36_out_gg) → TIMES69_IN_GGA(z0, z1)
U37_GGG(z0, z1, s(s(s(s(s(0))))), even36_out_gg) → TIMES69_IN_GGA(z0, z1)
U37_GGG(z0, z1, s(s(s(s(s(s(0)))))), even36_out_gg) → TIMES69_IN_GGA(z0, z1)
U37_GGG(z0, z1, s(s(s(s(s(s(s(0))))))), even36_out_gg) → TIMES69_IN_GGA(z0, z1)

(205) Obligation:

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

TIMES69_IN_GGA(s(T117), T118) → U5_GGA(T117, T118, even36_in_gg(s(T117), true))
U5_GGA(T117, T118, even36_out_gg) → U7_GGA(T118, half60_in_ga(s(T117)))
U7_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGA(T120, T118)
TIMES69_IN_GGA(s(T117), T118) → U9_GGA(T117, T118, even36_in_gg(s(T117), true))
U9_GGA(T117, T118, even36_out_gg) → U10_GGA(T118, half60_in_ga(s(T117)))
U10_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, 0)
U5_GGG(T117, T118, even36_out_gg) → U7_GGG(T118, half60_in_ga(s(T117)))
U7_GGG(T118, half60_out_ga(T120)) → TIMES69_IN_GGA(T120, T118)
TIMES69_IN_GGA(s(T117), T118) → U12_GGA(T117, T118, even36_in_gg(s(T117), true))
U12_GGA(T117, T118, even36_out_gg) → U13_GGA(T118, half60_in_ga(s(T117)))
U13_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(0))
TIMES69_IN_GGA(s(T117), T118) → U15_GGA(T117, T118, even36_in_gg(s(T117), true))
U15_GGA(T117, T118, even36_out_gg) → U16_GGA(T118, half60_in_ga(s(T117)))
U16_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(0)))
TIMES69_IN_GGG(s(T117), T118, s(s(0))) → U12_GGG(T117, T118, even36_in_gg(s(T117), true))
U12_GGG(T117, T118, even36_out_gg) → U13_GGG(T118, half60_in_ga(s(T117)))
U13_GGG(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(0))
TIMES69_IN_GGA(s(T117), T118) → U18_GGA(T117, T118, even36_in_gg(s(T117), true))
U18_GGA(T117, T118, even36_out_gg) → U19_GGA(T118, half60_in_ga(s(T117)))
U19_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(0))))
TIMES69_IN_GGA(s(T117), T118) → U21_GGA(T117, T118, even36_in_gg(s(T117), true))
U21_GGA(T117, T118, even36_out_gg) → U22_GGA(T118, half60_in_ga(s(T117)))
U22_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(0)))))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(0))))) → U15_GGG(T117, T118, even36_in_gg(s(T117), true))
U15_GGG(T117, T118, even36_out_gg) → U16_GGG(T118, half60_in_ga(s(T117)))
U16_GGG(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(0)))
TIMES69_IN_GGA(s(T117), T118) → U24_GGA(T117, T118, even36_in_gg(s(T117), true))
U24_GGA(T117, T118, even36_out_gg) → U25_GGA(T118, half60_in_ga(s(T117)))
U25_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(0))))))
TIMES69_IN_GGA(s(T117), T118) → U27_GGA(T117, T118, even36_in_gg(s(T117), true))
U27_GGA(T117, T118, even36_out_gg) → U28_GGA(T118, half60_in_ga(s(T117)))
U28_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(s(0)))))))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_GGG(T117, T118, even36_in_gg(s(T117), true))
U18_GGG(T117, T118, even36_out_gg) → U19_GGG(T118, half60_in_ga(s(T117)))
U19_GGG(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(0))))
TIMES69_IN_GGA(s(T117), T118) → U30_GGA(T117, T118, even36_in_gg(s(T117), true))
U30_GGA(T117, T118, even36_out_gg) → U31_GGA(T118, half60_in_ga(s(T117)))
U31_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(s(s(0))))))))
TIMES69_IN_GGA(s(T117), T118) → U33_GGA(T117, T118, even36_in_gg(s(T117), true))
U33_GGA(T117, T118, even36_out_gg) → U34_GGA(T118, half60_in_ga(s(T117)))
U34_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGA(T120, T118)
TIMES69_IN_GGA(s(T171), T172) → U37_GGA(T171, T172, even36_in_gg(s(T171), false))
U37_GGA(T171, T172, even36_out_gg) → TIMES69_IN_GGA(T171, T172)
TIMES69_IN_GGG(s(T117), T118, 0) → U9_GGG(T117, T118, even36_in_gg(s(T117), true))
U9_GGG(T117, T118, even36_out_gg) → U10_GGG(T118, half60_in_ga(s(T117)))
U10_GGG(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, 0)
TIMES69_IN_GGG(s(x0), z0, 0) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z0, s(0)) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z0, s(s(0))) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z0, s(s(s(0)))) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z0, s(s(s(s(0))))) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z0, s(s(s(s(s(0)))))) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z0, s(s(s(s(s(s(0))))))) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z0, s(s(s(s(s(s(s(0)))))))) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z0, 0) → U37_GGG(x0, z0, 0, even36_in_gg(s(x0), false))
TIMES69_IN_GGG(s(x0), z0, s(0)) → U37_GGG(x0, z0, s(0), even36_in_gg(s(x0), false))
TIMES69_IN_GGG(s(x0), z0, s(s(0))) → U37_GGG(x0, z0, s(s(0)), even36_in_gg(s(x0), false))
TIMES69_IN_GGG(s(x0), z0, s(s(s(0)))) → U37_GGG(x0, z0, s(s(s(0))), even36_in_gg(s(x0), false))
TIMES69_IN_GGG(s(x0), z0, s(s(s(s(0))))) → U37_GGG(x0, z0, s(s(s(s(0)))), even36_in_gg(s(x0), false))
TIMES69_IN_GGG(s(x0), z0, s(s(s(s(s(0)))))) → U37_GGG(x0, z0, s(s(s(s(s(0))))), even36_in_gg(s(x0), false))
TIMES69_IN_GGG(s(x0), z0, s(s(s(s(s(s(0))))))) → U37_GGG(x0, z0, s(s(s(s(s(s(0)))))), even36_in_gg(s(x0), false))
TIMES69_IN_GGG(s(x0), z0, s(s(s(s(s(s(s(0)))))))) → U37_GGG(x0, z0, s(s(s(s(s(s(s(0))))))), even36_in_gg(s(x0), false))
U37_GGG(z0, z1, 0, even36_out_gg) → TIMES69_IN_GGA(z0, z1)
U37_GGG(z0, z1, s(0), even36_out_gg) → TIMES69_IN_GGA(z0, z1)
U37_GGG(z0, z1, s(s(0)), even36_out_gg) → TIMES69_IN_GGA(z0, z1)
U37_GGG(z0, z1, s(s(s(0))), even36_out_gg) → TIMES69_IN_GGA(z0, z1)
U37_GGG(z0, z1, s(s(s(s(0)))), even36_out_gg) → TIMES69_IN_GGA(z0, z1)
U37_GGG(z0, z1, s(s(s(s(s(0))))), even36_out_gg) → TIMES69_IN_GGA(z0, z1)
U37_GGG(z0, z1, s(s(s(s(s(s(0)))))), even36_out_gg) → TIMES69_IN_GGA(z0, z1)
U37_GGG(z0, z1, s(s(s(s(s(s(s(0))))))), even36_out_gg) → TIMES69_IN_GGA(z0, z1)

The TRS R consists of the following rules:

even36_in_gg(s(s(T61)), X101) → U2_gg(even36_in_gg(T61, X101))
half60_in_ga(s(s(T89))) → U3_ga(half60_in_ga(T89))
even36_in_gg(s(0), false) → even36_out_gg
U2_gg(even36_out_gg) → even36_out_gg
U3_ga(half60_out_ga(X156)) → half60_out_ga(s(X156))
even36_in_gg(0, true) → even36_out_gg
half60_in_ga(0) → half60_out_ga(0)

The set Q consists of the following terms:

even36_in_gg(x0, x1)
half60_in_ga(x0)
U2_gg(x0)
U3_ga(x0)

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

(206) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


TIMES69_IN_GGA(s(T171), T172) → U37_GGA(T171, T172, even36_in_gg(s(T171), false))
TIMES69_IN_GGG(s(x0), z0, 0) → U37_GGG(x0, z0, 0, even36_in_gg(s(x0), false))
TIMES69_IN_GGG(s(x0), z0, s(0)) → U37_GGG(x0, z0, s(0), even36_in_gg(s(x0), false))
TIMES69_IN_GGG(s(x0), z0, s(s(0))) → U37_GGG(x0, z0, s(s(0)), even36_in_gg(s(x0), false))
TIMES69_IN_GGG(s(x0), z0, s(s(s(0)))) → U37_GGG(x0, z0, s(s(s(0))), even36_in_gg(s(x0), false))
TIMES69_IN_GGG(s(x0), z0, s(s(s(s(0))))) → U37_GGG(x0, z0, s(s(s(s(0)))), even36_in_gg(s(x0), false))
TIMES69_IN_GGG(s(x0), z0, s(s(s(s(s(0)))))) → U37_GGG(x0, z0, s(s(s(s(s(0))))), even36_in_gg(s(x0), false))
TIMES69_IN_GGG(s(x0), z0, s(s(s(s(s(s(0))))))) → U37_GGG(x0, z0, s(s(s(s(s(s(0)))))), even36_in_gg(s(x0), false))
TIMES69_IN_GGG(s(x0), z0, s(s(s(s(s(s(s(0)))))))) → U37_GGG(x0, z0, s(s(s(s(s(s(s(0))))))), even36_in_gg(s(x0), false))
The remaining pairs can at least be oriented weakly.
Used ordering: Polynomial interpretation [POLO]:

POL(0) = 0   
POL(TIMES69_IN_GGA(x1, x2)) = x1   
POL(TIMES69_IN_GGG(x1, x2, x3)) = x1   
POL(U10_GGA(x1, x2)) = x2   
POL(U10_GGG(x1, x2)) = x2   
POL(U12_GGA(x1, x2, x3)) = 1 + x1   
POL(U12_GGG(x1, x2, x3)) = 1 + x1   
POL(U13_GGA(x1, x2)) = x2   
POL(U13_GGG(x1, x2)) = x2   
POL(U15_GGA(x1, x2, x3)) = 1 + x1   
POL(U15_GGG(x1, x2, x3)) = 1 + x1   
POL(U16_GGA(x1, x2)) = x2   
POL(U16_GGG(x1, x2)) = x2   
POL(U18_GGA(x1, x2, x3)) = 1 + x1   
POL(U18_GGG(x1, x2, x3)) = 1 + x1   
POL(U19_GGA(x1, x2)) = x2   
POL(U19_GGG(x1, x2)) = x2   
POL(U21_GGA(x1, x2, x3)) = 1 + x1   
POL(U22_GGA(x1, x2)) = x2   
POL(U24_GGA(x1, x2, x3)) = 1 + x1   
POL(U25_GGA(x1, x2)) = x2   
POL(U27_GGA(x1, x2, x3)) = 1 + x1   
POL(U28_GGA(x1, x2)) = x2   
POL(U2_gg(x1)) = 0   
POL(U30_GGA(x1, x2, x3)) = 1 + x1   
POL(U31_GGA(x1, x2)) = x2   
POL(U33_GGA(x1, x2, x3)) = 1 + x1   
POL(U34_GGA(x1, x2)) = x2   
POL(U37_GGA(x1, x2, x3)) = x1   
POL(U37_GGG(x1, x2, x3, x4)) = x1   
POL(U3_ga(x1)) = 1 + x1   
POL(U5_GGA(x1, x2, x3)) = 1 + x1   
POL(U5_GGG(x1, x2, x3)) = 1 + x1   
POL(U7_GGA(x1, x2)) = x2   
POL(U7_GGG(x1, x2)) = x2   
POL(U9_GGA(x1, x2, x3)) = 1 + x1   
POL(U9_GGG(x1, x2, x3)) = 1 + x1   
POL(even36_in_gg(x1, x2)) = 0   
POL(even36_out_gg) = 0   
POL(false) = 0   
POL(half60_in_ga(x1)) = x1   
POL(half60_out_ga(x1)) = x1   
POL(s(x1)) = 1 + x1   
POL(true) = 0   

The following usable rules [FROCOS05] were oriented:

half60_in_ga(s(s(T89))) → U3_ga(half60_in_ga(T89))
half60_in_ga(0) → half60_out_ga(0)
U3_ga(half60_out_ga(X156)) → half60_out_ga(s(X156))

(207) Obligation:

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

TIMES69_IN_GGA(s(T117), T118) → U5_GGA(T117, T118, even36_in_gg(s(T117), true))
U5_GGA(T117, T118, even36_out_gg) → U7_GGA(T118, half60_in_ga(s(T117)))
U7_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGA(T120, T118)
TIMES69_IN_GGA(s(T117), T118) → U9_GGA(T117, T118, even36_in_gg(s(T117), true))
U9_GGA(T117, T118, even36_out_gg) → U10_GGA(T118, half60_in_ga(s(T117)))
U10_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, 0)
U5_GGG(T117, T118, even36_out_gg) → U7_GGG(T118, half60_in_ga(s(T117)))
U7_GGG(T118, half60_out_ga(T120)) → TIMES69_IN_GGA(T120, T118)
TIMES69_IN_GGA(s(T117), T118) → U12_GGA(T117, T118, even36_in_gg(s(T117), true))
U12_GGA(T117, T118, even36_out_gg) → U13_GGA(T118, half60_in_ga(s(T117)))
U13_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(0))
TIMES69_IN_GGA(s(T117), T118) → U15_GGA(T117, T118, even36_in_gg(s(T117), true))
U15_GGA(T117, T118, even36_out_gg) → U16_GGA(T118, half60_in_ga(s(T117)))
U16_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(0)))
TIMES69_IN_GGG(s(T117), T118, s(s(0))) → U12_GGG(T117, T118, even36_in_gg(s(T117), true))
U12_GGG(T117, T118, even36_out_gg) → U13_GGG(T118, half60_in_ga(s(T117)))
U13_GGG(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(0))
TIMES69_IN_GGA(s(T117), T118) → U18_GGA(T117, T118, even36_in_gg(s(T117), true))
U18_GGA(T117, T118, even36_out_gg) → U19_GGA(T118, half60_in_ga(s(T117)))
U19_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(0))))
TIMES69_IN_GGA(s(T117), T118) → U21_GGA(T117, T118, even36_in_gg(s(T117), true))
U21_GGA(T117, T118, even36_out_gg) → U22_GGA(T118, half60_in_ga(s(T117)))
U22_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(0)))))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(0))))) → U15_GGG(T117, T118, even36_in_gg(s(T117), true))
U15_GGG(T117, T118, even36_out_gg) → U16_GGG(T118, half60_in_ga(s(T117)))
U16_GGG(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(0)))
TIMES69_IN_GGA(s(T117), T118) → U24_GGA(T117, T118, even36_in_gg(s(T117), true))
U24_GGA(T117, T118, even36_out_gg) → U25_GGA(T118, half60_in_ga(s(T117)))
U25_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(0))))))
TIMES69_IN_GGA(s(T117), T118) → U27_GGA(T117, T118, even36_in_gg(s(T117), true))
U27_GGA(T117, T118, even36_out_gg) → U28_GGA(T118, half60_in_ga(s(T117)))
U28_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(s(0)))))))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_GGG(T117, T118, even36_in_gg(s(T117), true))
U18_GGG(T117, T118, even36_out_gg) → U19_GGG(T118, half60_in_ga(s(T117)))
U19_GGG(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(0))))
TIMES69_IN_GGA(s(T117), T118) → U30_GGA(T117, T118, even36_in_gg(s(T117), true))
U30_GGA(T117, T118, even36_out_gg) → U31_GGA(T118, half60_in_ga(s(T117)))
U31_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(s(s(0))))))))
TIMES69_IN_GGA(s(T117), T118) → U33_GGA(T117, T118, even36_in_gg(s(T117), true))
U33_GGA(T117, T118, even36_out_gg) → U34_GGA(T118, half60_in_ga(s(T117)))
U34_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGA(T120, T118)
U37_GGA(T171, T172, even36_out_gg) → TIMES69_IN_GGA(T171, T172)
TIMES69_IN_GGG(s(T117), T118, 0) → U9_GGG(T117, T118, even36_in_gg(s(T117), true))
U9_GGG(T117, T118, even36_out_gg) → U10_GGG(T118, half60_in_ga(s(T117)))
U10_GGG(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, 0)
TIMES69_IN_GGG(s(x0), z0, 0) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z0, s(0)) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z0, s(s(0))) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z0, s(s(s(0)))) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z0, s(s(s(s(0))))) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z0, s(s(s(s(s(0)))))) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z0, s(s(s(s(s(s(0))))))) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
TIMES69_IN_GGG(s(x0), z0, s(s(s(s(s(s(s(0)))))))) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
U37_GGG(z0, z1, 0, even36_out_gg) → TIMES69_IN_GGA(z0, z1)
U37_GGG(z0, z1, s(0), even36_out_gg) → TIMES69_IN_GGA(z0, z1)
U37_GGG(z0, z1, s(s(0)), even36_out_gg) → TIMES69_IN_GGA(z0, z1)
U37_GGG(z0, z1, s(s(s(0))), even36_out_gg) → TIMES69_IN_GGA(z0, z1)
U37_GGG(z0, z1, s(s(s(s(0)))), even36_out_gg) → TIMES69_IN_GGA(z0, z1)
U37_GGG(z0, z1, s(s(s(s(s(0))))), even36_out_gg) → TIMES69_IN_GGA(z0, z1)
U37_GGG(z0, z1, s(s(s(s(s(s(0)))))), even36_out_gg) → TIMES69_IN_GGA(z0, z1)
U37_GGG(z0, z1, s(s(s(s(s(s(s(0))))))), even36_out_gg) → TIMES69_IN_GGA(z0, z1)

The TRS R consists of the following rules:

even36_in_gg(s(s(T61)), X101) → U2_gg(even36_in_gg(T61, X101))
half60_in_ga(s(s(T89))) → U3_ga(half60_in_ga(T89))
even36_in_gg(s(0), false) → even36_out_gg
U2_gg(even36_out_gg) → even36_out_gg
U3_ga(half60_out_ga(X156)) → half60_out_ga(s(X156))
even36_in_gg(0, true) → even36_out_gg
half60_in_ga(0) → half60_out_ga(0)

The set Q consists of the following terms:

even36_in_gg(x0, x1)
half60_in_ga(x0)
U2_gg(x0)
U3_ga(x0)

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

(208) DependencyGraphProof (EQUIVALENT transformation)

The approximation of the Dependency Graph [LPAR04,FROCOS05,EDGSTAR] contains 1 SCC with 9 less nodes.

(209) Obligation:

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

U5_GGA(T117, T118, even36_out_gg) → U7_GGA(T118, half60_in_ga(s(T117)))
U7_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGA(T120, T118)
TIMES69_IN_GGA(s(T117), T118) → U5_GGA(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGA(s(T117), T118) → U9_GGA(T117, T118, even36_in_gg(s(T117), true))
U9_GGA(T117, T118, even36_out_gg) → U10_GGA(T118, half60_in_ga(s(T117)))
U10_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, 0)
TIMES69_IN_GGG(s(T117), T118, 0) → U9_GGG(T117, T118, even36_in_gg(s(T117), true))
U9_GGG(T117, T118, even36_out_gg) → U10_GGG(T118, half60_in_ga(s(T117)))
U10_GGG(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, 0)
TIMES69_IN_GGG(s(x0), z0, 0) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
U5_GGG(T117, T118, even36_out_gg) → U7_GGG(T118, half60_in_ga(s(T117)))
U7_GGG(T118, half60_out_ga(T120)) → TIMES69_IN_GGA(T120, T118)
TIMES69_IN_GGA(s(T117), T118) → U12_GGA(T117, T118, even36_in_gg(s(T117), true))
U12_GGA(T117, T118, even36_out_gg) → U13_GGA(T118, half60_in_ga(s(T117)))
U13_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(0))
TIMES69_IN_GGG(s(x0), z0, s(0)) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
TIMES69_IN_GGA(s(T117), T118) → U15_GGA(T117, T118, even36_in_gg(s(T117), true))
U15_GGA(T117, T118, even36_out_gg) → U16_GGA(T118, half60_in_ga(s(T117)))
U16_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(0)))
TIMES69_IN_GGG(s(T117), T118, s(s(0))) → U12_GGG(T117, T118, even36_in_gg(s(T117), true))
U12_GGG(T117, T118, even36_out_gg) → U13_GGG(T118, half60_in_ga(s(T117)))
U13_GGG(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(0))
TIMES69_IN_GGG(s(x0), z0, s(s(0))) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
TIMES69_IN_GGA(s(T117), T118) → U18_GGA(T117, T118, even36_in_gg(s(T117), true))
U18_GGA(T117, T118, even36_out_gg) → U19_GGA(T118, half60_in_ga(s(T117)))
U19_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(0))))
TIMES69_IN_GGG(s(x0), z0, s(s(s(0)))) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
TIMES69_IN_GGA(s(T117), T118) → U21_GGA(T117, T118, even36_in_gg(s(T117), true))
U21_GGA(T117, T118, even36_out_gg) → U22_GGA(T118, half60_in_ga(s(T117)))
U22_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(0)))))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(0))))) → U15_GGG(T117, T118, even36_in_gg(s(T117), true))
U15_GGG(T117, T118, even36_out_gg) → U16_GGG(T118, half60_in_ga(s(T117)))
U16_GGG(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(0)))
TIMES69_IN_GGG(s(x0), z0, s(s(s(s(0))))) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
TIMES69_IN_GGA(s(T117), T118) → U24_GGA(T117, T118, even36_in_gg(s(T117), true))
U24_GGA(T117, T118, even36_out_gg) → U25_GGA(T118, half60_in_ga(s(T117)))
U25_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(0))))))
TIMES69_IN_GGG(s(x0), z0, s(s(s(s(s(0)))))) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
TIMES69_IN_GGA(s(T117), T118) → U27_GGA(T117, T118, even36_in_gg(s(T117), true))
U27_GGA(T117, T118, even36_out_gg) → U28_GGA(T118, half60_in_ga(s(T117)))
U28_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(s(0)))))))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_GGG(T117, T118, even36_in_gg(s(T117), true))
U18_GGG(T117, T118, even36_out_gg) → U19_GGG(T118, half60_in_ga(s(T117)))
U19_GGG(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(0))))
TIMES69_IN_GGG(s(x0), z0, s(s(s(s(s(s(0))))))) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
TIMES69_IN_GGA(s(T117), T118) → U30_GGA(T117, T118, even36_in_gg(s(T117), true))
U30_GGA(T117, T118, even36_out_gg) → U31_GGA(T118, half60_in_ga(s(T117)))
U31_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(s(s(0))))))))
TIMES69_IN_GGG(s(x0), z0, s(s(s(s(s(s(s(0)))))))) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
TIMES69_IN_GGA(s(T117), T118) → U33_GGA(T117, T118, even36_in_gg(s(T117), true))
U33_GGA(T117, T118, even36_out_gg) → U34_GGA(T118, half60_in_ga(s(T117)))
U34_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGA(T120, T118)

The TRS R consists of the following rules:

even36_in_gg(s(s(T61)), X101) → U2_gg(even36_in_gg(T61, X101))
half60_in_ga(s(s(T89))) → U3_ga(half60_in_ga(T89))
even36_in_gg(s(0), false) → even36_out_gg
U2_gg(even36_out_gg) → even36_out_gg
U3_ga(half60_out_ga(X156)) → half60_out_ga(s(X156))
even36_in_gg(0, true) → even36_out_gg
half60_in_ga(0) → half60_out_ga(0)

The set Q consists of the following terms:

even36_in_gg(x0, x1)
half60_in_ga(x0)
U2_gg(x0)
U3_ga(x0)

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

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

No dependency pairs are removed.

The following rules are removed from R:

even36_in_gg(s(0), false) → even36_out_gg
Used ordering: POLO with Polynomial interpretation [POLO]:

POL(0) = 0   
POL(TIMES69_IN_GGA(x1, x2)) = 2·x1 + x2   
POL(TIMES69_IN_GGG(x1, x2, x3)) = 2·x1 + x2 + 2·x3   
POL(U10_GGA(x1, x2)) = x1 + x2   
POL(U10_GGG(x1, x2)) = x1 + x2   
POL(U12_GGA(x1, x2, x3)) = x1 + x2 + x3   
POL(U12_GGG(x1, x2, x3)) = x1 + x2 + x3   
POL(U13_GGA(x1, x2)) = x1 + x2   
POL(U13_GGG(x1, x2)) = x1 + x2   
POL(U15_GGA(x1, x2, x3)) = x1 + x2 + x3   
POL(U15_GGG(x1, x2, x3)) = x1 + x2 + x3   
POL(U16_GGA(x1, x2)) = x1 + x2   
POL(U16_GGG(x1, x2)) = x1 + x2   
POL(U18_GGA(x1, x2, x3)) = x1 + x2 + x3   
POL(U18_GGG(x1, x2, x3)) = x1 + x2 + x3   
POL(U19_GGA(x1, x2)) = x1 + x2   
POL(U19_GGG(x1, x2)) = x1 + x2   
POL(U21_GGA(x1, x2, x3)) = x1 + x2 + x3   
POL(U22_GGA(x1, x2)) = x1 + x2   
POL(U24_GGA(x1, x2, x3)) = x1 + x2 + x3   
POL(U25_GGA(x1, x2)) = x1 + x2   
POL(U27_GGA(x1, x2, x3)) = x1 + x2 + x3   
POL(U28_GGA(x1, x2)) = x1 + x2   
POL(U2_gg(x1)) = x1   
POL(U30_GGA(x1, x2, x3)) = x1 + x2 + x3   
POL(U31_GGA(x1, x2)) = x1 + x2   
POL(U33_GGA(x1, x2, x3)) = x1 + x2 + x3   
POL(U34_GGA(x1, x2)) = x1 + x2   
POL(U3_ga(x1)) = x1   
POL(U5_GGA(x1, x2, x3)) = x1 + x2 + x3   
POL(U5_GGG(x1, x2, x3)) = x1 + x2 + x3   
POL(U7_GGA(x1, x2)) = x1 + x2   
POL(U7_GGG(x1, x2)) = x1 + x2   
POL(U9_GGA(x1, x2, x3)) = x1 + x2 + x3   
POL(U9_GGG(x1, x2, x3)) = x1 + x2 + x3   
POL(even36_in_gg(x1, x2)) = x1 + 2·x2   
POL(even36_out_gg) = 0   
POL(false) = 2   
POL(half60_in_ga(x1)) = x1   
POL(half60_out_ga(x1)) = 2·x1   
POL(s(x1)) = x1   
POL(true) = 0   

(211) Obligation:

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

U5_GGA(T117, T118, even36_out_gg) → U7_GGA(T118, half60_in_ga(s(T117)))
U7_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGA(T120, T118)
TIMES69_IN_GGA(s(T117), T118) → U5_GGA(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGA(s(T117), T118) → U9_GGA(T117, T118, even36_in_gg(s(T117), true))
U9_GGA(T117, T118, even36_out_gg) → U10_GGA(T118, half60_in_ga(s(T117)))
U10_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, 0)
TIMES69_IN_GGG(s(T117), T118, 0) → U9_GGG(T117, T118, even36_in_gg(s(T117), true))
U9_GGG(T117, T118, even36_out_gg) → U10_GGG(T118, half60_in_ga(s(T117)))
U10_GGG(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, 0)
TIMES69_IN_GGG(s(x0), z0, 0) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
U5_GGG(T117, T118, even36_out_gg) → U7_GGG(T118, half60_in_ga(s(T117)))
U7_GGG(T118, half60_out_ga(T120)) → TIMES69_IN_GGA(T120, T118)
TIMES69_IN_GGA(s(T117), T118) → U12_GGA(T117, T118, even36_in_gg(s(T117), true))
U12_GGA(T117, T118, even36_out_gg) → U13_GGA(T118, half60_in_ga(s(T117)))
U13_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(0))
TIMES69_IN_GGG(s(x0), z0, s(0)) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
TIMES69_IN_GGA(s(T117), T118) → U15_GGA(T117, T118, even36_in_gg(s(T117), true))
U15_GGA(T117, T118, even36_out_gg) → U16_GGA(T118, half60_in_ga(s(T117)))
U16_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(0)))
TIMES69_IN_GGG(s(T117), T118, s(s(0))) → U12_GGG(T117, T118, even36_in_gg(s(T117), true))
U12_GGG(T117, T118, even36_out_gg) → U13_GGG(T118, half60_in_ga(s(T117)))
U13_GGG(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(0))
TIMES69_IN_GGG(s(x0), z0, s(s(0))) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
TIMES69_IN_GGA(s(T117), T118) → U18_GGA(T117, T118, even36_in_gg(s(T117), true))
U18_GGA(T117, T118, even36_out_gg) → U19_GGA(T118, half60_in_ga(s(T117)))
U19_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(0))))
TIMES69_IN_GGG(s(x0), z0, s(s(s(0)))) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
TIMES69_IN_GGA(s(T117), T118) → U21_GGA(T117, T118, even36_in_gg(s(T117), true))
U21_GGA(T117, T118, even36_out_gg) → U22_GGA(T118, half60_in_ga(s(T117)))
U22_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(0)))))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(0))))) → U15_GGG(T117, T118, even36_in_gg(s(T117), true))
U15_GGG(T117, T118, even36_out_gg) → U16_GGG(T118, half60_in_ga(s(T117)))
U16_GGG(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(0)))
TIMES69_IN_GGG(s(x0), z0, s(s(s(s(0))))) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
TIMES69_IN_GGA(s(T117), T118) → U24_GGA(T117, T118, even36_in_gg(s(T117), true))
U24_GGA(T117, T118, even36_out_gg) → U25_GGA(T118, half60_in_ga(s(T117)))
U25_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(0))))))
TIMES69_IN_GGG(s(x0), z0, s(s(s(s(s(0)))))) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
TIMES69_IN_GGA(s(T117), T118) → U27_GGA(T117, T118, even36_in_gg(s(T117), true))
U27_GGA(T117, T118, even36_out_gg) → U28_GGA(T118, half60_in_ga(s(T117)))
U28_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(s(0)))))))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_GGG(T117, T118, even36_in_gg(s(T117), true))
U18_GGG(T117, T118, even36_out_gg) → U19_GGG(T118, half60_in_ga(s(T117)))
U19_GGG(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(0))))
TIMES69_IN_GGG(s(x0), z0, s(s(s(s(s(s(0))))))) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
TIMES69_IN_GGA(s(T117), T118) → U30_GGA(T117, T118, even36_in_gg(s(T117), true))
U30_GGA(T117, T118, even36_out_gg) → U31_GGA(T118, half60_in_ga(s(T117)))
U31_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(s(s(0))))))))
TIMES69_IN_GGG(s(x0), z0, s(s(s(s(s(s(s(0)))))))) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
TIMES69_IN_GGA(s(T117), T118) → U33_GGA(T117, T118, even36_in_gg(s(T117), true))
U33_GGA(T117, T118, even36_out_gg) → U34_GGA(T118, half60_in_ga(s(T117)))
U34_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGA(T120, T118)

The TRS R consists of the following rules:

half60_in_ga(s(s(T89))) → U3_ga(half60_in_ga(T89))
half60_in_ga(0) → half60_out_ga(0)
U3_ga(half60_out_ga(X156)) → half60_out_ga(s(X156))
even36_in_gg(s(s(T61)), X101) → U2_gg(even36_in_gg(T61, X101))
even36_in_gg(0, true) → even36_out_gg
U2_gg(even36_out_gg) → even36_out_gg

The set Q consists of the following terms:

even36_in_gg(x0, x1)
half60_in_ga(x0)
U2_gg(x0)
U3_ga(x0)

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

(212) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


TIMES69_IN_GGA(s(T117), T118) → U5_GGA(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGA(s(T117), T118) → U21_GGA(T117, T118, even36_in_gg(s(T117), true))
The remaining pairs can at least be oriented weakly.
Used ordering: Matrix interpretation [MATRO]:

POL(U5_GGA(x1, x2, x3)) = 0 +
[1,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(even36_out_gg) =
/0\
\0/

POL(U7_GGA(x1, x2)) = 0 +
[0,0]
·x1 +
[1,0]
·x2

POL(half60_in_ga(x1)) =
/0\
\0/
+
/10\
\01/
·x1

POL(s(x1)) =
/0\
\1/
+
/11\
\00/
·x1

POL(half60_out_ga(x1)) =
/0\
\0/
+
/11\
\00/
·x1

POL(TIMES69_IN_GGA(x1, x2)) = 0 +
[1,1]
·x1 +
[0,0]
·x2

POL(even36_in_gg(x1, x2)) =
/0\
\0/
+
/00\
\00/
·x1 +
/11\
\00/
·x2

POL(true) =
/0\
\0/

POL(U9_GGA(x1, x2, x3)) = 1 +
[1,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(U10_GGA(x1, x2)) = 0 +
[0,0]
·x1 +
[1,1]
·x2

POL(TIMES69_IN_GGG(x1, x2, x3)) = 0 +
[1,0]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(0) =
/0\
\0/

POL(U9_GGG(x1, x2, x3)) = 0 +
[1,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(U10_GGG(x1, x2)) = 0 +
[0,0]
·x1 +
[1,0]
·x2

POL(U5_GGG(x1, x2, x3)) = 0 +
[1,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(U7_GGG(x1, x2)) = 0 +
[0,0]
·x1 +
[1,0]
·x2

POL(U12_GGA(x1, x2, x3)) = 1 +
[1,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(U13_GGA(x1, x2)) = 0 +
[0,0]
·x1 +
[1,1]
·x2

POL(U15_GGA(x1, x2, x3)) = 1 +
[1,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(U16_GGA(x1, x2)) = 0 +
[0,0]
·x1 +
[1,1]
·x2

POL(U12_GGG(x1, x2, x3)) = 0 +
[1,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(U13_GGG(x1, x2)) = 0 +
[0,0]
·x1 +
[1,0]
·x2

POL(U18_GGA(x1, x2, x3)) = 1 +
[1,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(U19_GGA(x1, x2)) = 0 +
[0,0]
·x1 +
[1,1]
·x2

POL(U21_GGA(x1, x2, x3)) = 0 +
[1,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(U22_GGA(x1, x2)) = 0 +
[0,0]
·x1 +
[1,0]
·x2

POL(U15_GGG(x1, x2, x3)) = 0 +
[1,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(U16_GGG(x1, x2)) = 0 +
[0,0]
·x1 +
[1,0]
·x2

POL(U24_GGA(x1, x2, x3)) = 1 +
[1,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(U25_GGA(x1, x2)) = 0 +
[0,0]
·x1 +
[1,1]
·x2

POL(U27_GGA(x1, x2, x3)) = 1 +
[1,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(U28_GGA(x1, x2)) = 0 +
[0,0]
·x1 +
[1,1]
·x2

POL(U18_GGG(x1, x2, x3)) = 0 +
[1,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(U19_GGG(x1, x2)) = 0 +
[0,0]
·x1 +
[1,0]
·x2

POL(U30_GGA(x1, x2, x3)) = 1 +
[1,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(U31_GGA(x1, x2)) = 0 +
[0,0]
·x1 +
[1,1]
·x2

POL(U33_GGA(x1, x2, x3)) = 1 +
[1,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(U34_GGA(x1, x2)) = 0 +
[0,0]
·x1 +
[1,1]
·x2

POL(U3_ga(x1)) =
/1\
\0/
+
/10\
\00/
·x1

POL(U2_gg(x1)) =
/1\
\1/
+
/00\
\10/
·x1

The following usable rules [FROCOS05] were oriented:

half60_in_ga(s(s(T89))) → U3_ga(half60_in_ga(T89))
half60_in_ga(0) → half60_out_ga(0)
U3_ga(half60_out_ga(X156)) → half60_out_ga(s(X156))

(213) Obligation:

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

U5_GGA(T117, T118, even36_out_gg) → U7_GGA(T118, half60_in_ga(s(T117)))
U7_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGA(T120, T118)
TIMES69_IN_GGA(s(T117), T118) → U9_GGA(T117, T118, even36_in_gg(s(T117), true))
U9_GGA(T117, T118, even36_out_gg) → U10_GGA(T118, half60_in_ga(s(T117)))
U10_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, 0)
TIMES69_IN_GGG(s(T117), T118, 0) → U9_GGG(T117, T118, even36_in_gg(s(T117), true))
U9_GGG(T117, T118, even36_out_gg) → U10_GGG(T118, half60_in_ga(s(T117)))
U10_GGG(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, 0)
TIMES69_IN_GGG(s(x0), z0, 0) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
U5_GGG(T117, T118, even36_out_gg) → U7_GGG(T118, half60_in_ga(s(T117)))
U7_GGG(T118, half60_out_ga(T120)) → TIMES69_IN_GGA(T120, T118)
TIMES69_IN_GGA(s(T117), T118) → U12_GGA(T117, T118, even36_in_gg(s(T117), true))
U12_GGA(T117, T118, even36_out_gg) → U13_GGA(T118, half60_in_ga(s(T117)))
U13_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(0))
TIMES69_IN_GGG(s(x0), z0, s(0)) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
TIMES69_IN_GGA(s(T117), T118) → U15_GGA(T117, T118, even36_in_gg(s(T117), true))
U15_GGA(T117, T118, even36_out_gg) → U16_GGA(T118, half60_in_ga(s(T117)))
U16_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(0)))
TIMES69_IN_GGG(s(T117), T118, s(s(0))) → U12_GGG(T117, T118, even36_in_gg(s(T117), true))
U12_GGG(T117, T118, even36_out_gg) → U13_GGG(T118, half60_in_ga(s(T117)))
U13_GGG(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(0))
TIMES69_IN_GGG(s(x0), z0, s(s(0))) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
TIMES69_IN_GGA(s(T117), T118) → U18_GGA(T117, T118, even36_in_gg(s(T117), true))
U18_GGA(T117, T118, even36_out_gg) → U19_GGA(T118, half60_in_ga(s(T117)))
U19_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(0))))
TIMES69_IN_GGG(s(x0), z0, s(s(s(0)))) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
U21_GGA(T117, T118, even36_out_gg) → U22_GGA(T118, half60_in_ga(s(T117)))
U22_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(0)))))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(0))))) → U15_GGG(T117, T118, even36_in_gg(s(T117), true))
U15_GGG(T117, T118, even36_out_gg) → U16_GGG(T118, half60_in_ga(s(T117)))
U16_GGG(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(0)))
TIMES69_IN_GGG(s(x0), z0, s(s(s(s(0))))) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
TIMES69_IN_GGA(s(T117), T118) → U24_GGA(T117, T118, even36_in_gg(s(T117), true))
U24_GGA(T117, T118, even36_out_gg) → U25_GGA(T118, half60_in_ga(s(T117)))
U25_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(0))))))
TIMES69_IN_GGG(s(x0), z0, s(s(s(s(s(0)))))) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
TIMES69_IN_GGA(s(T117), T118) → U27_GGA(T117, T118, even36_in_gg(s(T117), true))
U27_GGA(T117, T118, even36_out_gg) → U28_GGA(T118, half60_in_ga(s(T117)))
U28_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(s(0)))))))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_GGG(T117, T118, even36_in_gg(s(T117), true))
U18_GGG(T117, T118, even36_out_gg) → U19_GGG(T118, half60_in_ga(s(T117)))
U19_GGG(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(0))))
TIMES69_IN_GGG(s(x0), z0, s(s(s(s(s(s(0))))))) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
TIMES69_IN_GGA(s(T117), T118) → U30_GGA(T117, T118, even36_in_gg(s(T117), true))
U30_GGA(T117, T118, even36_out_gg) → U31_GGA(T118, half60_in_ga(s(T117)))
U31_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(s(s(0))))))))
TIMES69_IN_GGG(s(x0), z0, s(s(s(s(s(s(s(0)))))))) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
TIMES69_IN_GGA(s(T117), T118) → U33_GGA(T117, T118, even36_in_gg(s(T117), true))
U33_GGA(T117, T118, even36_out_gg) → U34_GGA(T118, half60_in_ga(s(T117)))
U34_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGA(T120, T118)

The TRS R consists of the following rules:

half60_in_ga(s(s(T89))) → U3_ga(half60_in_ga(T89))
half60_in_ga(0) → half60_out_ga(0)
U3_ga(half60_out_ga(X156)) → half60_out_ga(s(X156))
even36_in_gg(s(s(T61)), X101) → U2_gg(even36_in_gg(T61, X101))
even36_in_gg(0, true) → even36_out_gg
U2_gg(even36_out_gg) → even36_out_gg

The set Q consists of the following terms:

even36_in_gg(x0, x1)
half60_in_ga(x0)
U2_gg(x0)
U3_ga(x0)

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

(214) DependencyGraphProof (EQUIVALENT transformation)

The approximation of the Dependency Graph [LPAR04,FROCOS05,EDGSTAR] contains 1 SCC with 8 less nodes.

(215) Obligation:

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

U9_GGA(T117, T118, even36_out_gg) → U10_GGA(T118, half60_in_ga(s(T117)))
U10_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, 0)
TIMES69_IN_GGG(s(T117), T118, 0) → U9_GGG(T117, T118, even36_in_gg(s(T117), true))
U9_GGG(T117, T118, even36_out_gg) → U10_GGG(T118, half60_in_ga(s(T117)))
U10_GGG(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, 0)
TIMES69_IN_GGG(s(x0), z0, 0) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
U5_GGG(T117, T118, even36_out_gg) → U7_GGG(T118, half60_in_ga(s(T117)))
U7_GGG(T118, half60_out_ga(T120)) → TIMES69_IN_GGA(T120, T118)
TIMES69_IN_GGA(s(T117), T118) → U9_GGA(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGA(s(T117), T118) → U12_GGA(T117, T118, even36_in_gg(s(T117), true))
U12_GGA(T117, T118, even36_out_gg) → U13_GGA(T118, half60_in_ga(s(T117)))
U13_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(0))
TIMES69_IN_GGG(s(x0), z0, s(0)) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
TIMES69_IN_GGA(s(T117), T118) → U15_GGA(T117, T118, even36_in_gg(s(T117), true))
U15_GGA(T117, T118, even36_out_gg) → U16_GGA(T118, half60_in_ga(s(T117)))
U16_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(0)))
TIMES69_IN_GGG(s(T117), T118, s(s(0))) → U12_GGG(T117, T118, even36_in_gg(s(T117), true))
U12_GGG(T117, T118, even36_out_gg) → U13_GGG(T118, half60_in_ga(s(T117)))
U13_GGG(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(0))
TIMES69_IN_GGG(s(x0), z0, s(s(0))) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
TIMES69_IN_GGA(s(T117), T118) → U18_GGA(T117, T118, even36_in_gg(s(T117), true))
U18_GGA(T117, T118, even36_out_gg) → U19_GGA(T118, half60_in_ga(s(T117)))
U19_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(0))))
TIMES69_IN_GGG(s(x0), z0, s(s(s(0)))) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
TIMES69_IN_GGA(s(T117), T118) → U24_GGA(T117, T118, even36_in_gg(s(T117), true))
U24_GGA(T117, T118, even36_out_gg) → U25_GGA(T118, half60_in_ga(s(T117)))
U25_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(0))))))
TIMES69_IN_GGG(s(x0), z0, s(s(s(s(s(0)))))) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
TIMES69_IN_GGA(s(T117), T118) → U27_GGA(T117, T118, even36_in_gg(s(T117), true))
U27_GGA(T117, T118, even36_out_gg) → U28_GGA(T118, half60_in_ga(s(T117)))
U28_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(s(0)))))))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_GGG(T117, T118, even36_in_gg(s(T117), true))
U18_GGG(T117, T118, even36_out_gg) → U19_GGG(T118, half60_in_ga(s(T117)))
U19_GGG(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(0))))
TIMES69_IN_GGG(s(x0), z0, s(s(s(s(s(s(0))))))) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
TIMES69_IN_GGA(s(T117), T118) → U30_GGA(T117, T118, even36_in_gg(s(T117), true))
U30_GGA(T117, T118, even36_out_gg) → U31_GGA(T118, half60_in_ga(s(T117)))
U31_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(s(s(0))))))))
TIMES69_IN_GGG(s(x0), z0, s(s(s(s(s(s(s(0)))))))) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
TIMES69_IN_GGA(s(T117), T118) → U33_GGA(T117, T118, even36_in_gg(s(T117), true))
U33_GGA(T117, T118, even36_out_gg) → U34_GGA(T118, half60_in_ga(s(T117)))
U34_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGA(T120, T118)

The TRS R consists of the following rules:

half60_in_ga(s(s(T89))) → U3_ga(half60_in_ga(T89))
half60_in_ga(0) → half60_out_ga(0)
U3_ga(half60_out_ga(X156)) → half60_out_ga(s(X156))
even36_in_gg(s(s(T61)), X101) → U2_gg(even36_in_gg(T61, X101))
even36_in_gg(0, true) → even36_out_gg
U2_gg(even36_out_gg) → even36_out_gg

The set Q consists of the following terms:

even36_in_gg(x0, x1)
half60_in_ga(x0)
U2_gg(x0)
U3_ga(x0)

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

(216) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


TIMES69_IN_GGA(s(T117), T118) → U9_GGA(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGA(s(T117), T118) → U12_GGA(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGA(s(T117), T118) → U15_GGA(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGA(s(T117), T118) → U18_GGA(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGA(s(T117), T118) → U24_GGA(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGA(s(T117), T118) → U27_GGA(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGA(s(T117), T118) → U30_GGA(T117, T118, even36_in_gg(s(T117), true))
TIMES69_IN_GGA(s(T117), T118) → U33_GGA(T117, T118, even36_in_gg(s(T117), true))
The remaining pairs can at least be oriented weakly.
Used ordering: Matrix interpretation [MATRO]:

POL(U9_GGA(x1, x2, x3)) = 0 +
[0,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(even36_out_gg) =
/0\
\0/

POL(U10_GGA(x1, x2)) = 0 +
[0,0]
·x1 +
[1,0]
·x2

POL(half60_in_ga(x1)) =
/0\
\0/
+
/10\
\00/
·x1

POL(s(x1)) =
/0\
\1/
+
/01\
\10/
·x1

POL(half60_out_ga(x1)) =
/0\
\0/
+
/11\
\00/
·x1

POL(TIMES69_IN_GGG(x1, x2, x3)) = 0 +
[1,0]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(0) =
/0\
\0/

POL(U9_GGG(x1, x2, x3)) = 0 +
[0,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(even36_in_gg(x1, x2)) =
/0\
\0/
+
/00\
\10/
·x1 +
/00\
\10/
·x2

POL(true) =
/0\
\0/

POL(U10_GGG(x1, x2)) = 0 +
[0,0]
·x1 +
[1,0]
·x2

POL(U5_GGG(x1, x2, x3)) = 0 +
[0,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(U7_GGG(x1, x2)) = 0 +
[0,0]
·x1 +
[1,0]
·x2

POL(TIMES69_IN_GGA(x1, x2)) = 0 +
[1,1]
·x1 +
[0,0]
·x2

POL(U12_GGA(x1, x2, x3)) = 0 +
[0,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(U13_GGA(x1, x2)) = 0 +
[0,0]
·x1 +
[1,0]
·x2

POL(U15_GGA(x1, x2, x3)) = 0 +
[0,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(U16_GGA(x1, x2)) = 0 +
[0,0]
·x1 +
[1,0]
·x2

POL(U12_GGG(x1, x2, x3)) = 0 +
[0,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(U13_GGG(x1, x2)) = 0 +
[0,0]
·x1 +
[1,0]
·x2

POL(U18_GGA(x1, x2, x3)) = 0 +
[1,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(U19_GGA(x1, x2)) = 0 +
[0,0]
·x1 +
[1,0]
·x2

POL(U24_GGA(x1, x2, x3)) = 0 +
[0,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(U25_GGA(x1, x2)) = 0 +
[0,0]
·x1 +
[1,0]
·x2

POL(U27_GGA(x1, x2, x3)) = 0 +
[0,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(U28_GGA(x1, x2)) = 0 +
[0,0]
·x1 +
[1,0]
·x2

POL(U18_GGG(x1, x2, x3)) = 0 +
[0,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(U19_GGG(x1, x2)) = 0 +
[0,0]
·x1 +
[1,0]
·x2

POL(U30_GGA(x1, x2, x3)) = 0 +
[1,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(U31_GGA(x1, x2)) = 0 +
[0,0]
·x1 +
[1,0]
·x2

POL(U33_GGA(x1, x2, x3)) = 0 +
[0,1]
·x1 +
[0,0]
·x2 +
[0,0]
·x3

POL(U34_GGA(x1, x2)) = 0 +
[0,0]
·x1 +
[1,0]
·x2

POL(U3_ga(x1)) =
/1\
\0/
+
/10\
\00/
·x1

POL(U2_gg(x1)) =
/1\
\0/
+
/01\
\00/
·x1

The following usable rules [FROCOS05] were oriented:

half60_in_ga(s(s(T89))) → U3_ga(half60_in_ga(T89))
half60_in_ga(0) → half60_out_ga(0)
U3_ga(half60_out_ga(X156)) → half60_out_ga(s(X156))

(217) Obligation:

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

U9_GGA(T117, T118, even36_out_gg) → U10_GGA(T118, half60_in_ga(s(T117)))
U10_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, 0)
TIMES69_IN_GGG(s(T117), T118, 0) → U9_GGG(T117, T118, even36_in_gg(s(T117), true))
U9_GGG(T117, T118, even36_out_gg) → U10_GGG(T118, half60_in_ga(s(T117)))
U10_GGG(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, 0)
TIMES69_IN_GGG(s(x0), z0, 0) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
U5_GGG(T117, T118, even36_out_gg) → U7_GGG(T118, half60_in_ga(s(T117)))
U7_GGG(T118, half60_out_ga(T120)) → TIMES69_IN_GGA(T120, T118)
U12_GGA(T117, T118, even36_out_gg) → U13_GGA(T118, half60_in_ga(s(T117)))
U13_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(0))
TIMES69_IN_GGG(s(x0), z0, s(0)) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
U15_GGA(T117, T118, even36_out_gg) → U16_GGA(T118, half60_in_ga(s(T117)))
U16_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(0)))
TIMES69_IN_GGG(s(T117), T118, s(s(0))) → U12_GGG(T117, T118, even36_in_gg(s(T117), true))
U12_GGG(T117, T118, even36_out_gg) → U13_GGG(T118, half60_in_ga(s(T117)))
U13_GGG(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(0))
TIMES69_IN_GGG(s(x0), z0, s(s(0))) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
U18_GGA(T117, T118, even36_out_gg) → U19_GGA(T118, half60_in_ga(s(T117)))
U19_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(0))))
TIMES69_IN_GGG(s(x0), z0, s(s(s(0)))) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
U24_GGA(T117, T118, even36_out_gg) → U25_GGA(T118, half60_in_ga(s(T117)))
U25_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(0))))))
TIMES69_IN_GGG(s(x0), z0, s(s(s(s(s(0)))))) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
U27_GGA(T117, T118, even36_out_gg) → U28_GGA(T118, half60_in_ga(s(T117)))
U28_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(s(0)))))))
TIMES69_IN_GGG(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_GGG(T117, T118, even36_in_gg(s(T117), true))
U18_GGG(T117, T118, even36_out_gg) → U19_GGG(T118, half60_in_ga(s(T117)))
U19_GGG(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(0))))
TIMES69_IN_GGG(s(x0), z0, s(s(s(s(s(s(0))))))) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
U30_GGA(T117, T118, even36_out_gg) → U31_GGA(T118, half60_in_ga(s(T117)))
U31_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, s(s(s(s(s(s(s(0))))))))
TIMES69_IN_GGG(s(x0), z0, s(s(s(s(s(s(s(0)))))))) → U5_GGG(x0, z0, even36_in_gg(s(x0), true))
U33_GGA(T117, T118, even36_out_gg) → U34_GGA(T118, half60_in_ga(s(T117)))
U34_GGA(T118, half60_out_ga(T120)) → TIMES69_IN_GGA(T120, T118)

The TRS R consists of the following rules:

half60_in_ga(s(s(T89))) → U3_ga(half60_in_ga(T89))
half60_in_ga(0) → half60_out_ga(0)
U3_ga(half60_out_ga(X156)) → half60_out_ga(s(X156))
even36_in_gg(s(s(T61)), X101) → U2_gg(even36_in_gg(T61, X101))
even36_in_gg(0, true) → even36_out_gg
U2_gg(even36_out_gg) → even36_out_gg

The set Q consists of the following terms:

even36_in_gg(x0, x1)
half60_in_ga(x0)
U2_gg(x0)
U3_ga(x0)

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

(218) DependencyGraphProof (EQUIVALENT transformation)

The approximation of the Dependency Graph [LPAR04,FROCOS05,EDGSTAR] contains 1 SCC with 31 less nodes.

(219) Obligation:

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

U9_GGG(T117, T118, even36_out_gg) → U10_GGG(T118, half60_in_ga(s(T117)))
U10_GGG(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, 0)
TIMES69_IN_GGG(s(T117), T118, 0) → U9_GGG(T117, T118, even36_in_gg(s(T117), true))

The TRS R consists of the following rules:

half60_in_ga(s(s(T89))) → U3_ga(half60_in_ga(T89))
half60_in_ga(0) → half60_out_ga(0)
U3_ga(half60_out_ga(X156)) → half60_out_ga(s(X156))
even36_in_gg(s(s(T61)), X101) → U2_gg(even36_in_gg(T61, X101))
even36_in_gg(0, true) → even36_out_gg
U2_gg(even36_out_gg) → even36_out_gg

The set Q consists of the following terms:

even36_in_gg(x0, x1)
half60_in_ga(x0)
U2_gg(x0)
U3_ga(x0)

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

(220) MRRProof (EQUIVALENT transformation)

By using the rule removal processor [LPAR04] with the following ordering, at least one Dependency Pair or term rewrite system rule of this QDP problem can be strictly oriented.

Strictly oriented rules of the TRS R:

even36_in_gg(s(s(T61)), X101) → U2_gg(even36_in_gg(T61, X101))
U2_gg(even36_out_gg) → even36_out_gg

Used ordering: Polynomial interpretation [POLO]:

POL(0) = 0   
POL(TIMES69_IN_GGG(x1, x2, x3)) = 1 + 2·x1 + x2 + 2·x3   
POL(U10_GGG(x1, x2)) = x1 + x2   
POL(U2_gg(x1)) = 1 + x1   
POL(U3_ga(x1)) = 2 + x1   
POL(U9_GGG(x1, x2, x3)) = x1 + x2 + x3   
POL(even36_in_gg(x1, x2)) = x1 + x2   
POL(even36_out_gg) = 2   
POL(half60_in_ga(x1)) = 1 + x1   
POL(half60_out_ga(x1)) = 1 + 2·x1   
POL(s(x1)) = 1 + x1   
POL(true) = 2   

(221) Obligation:

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

U9_GGG(T117, T118, even36_out_gg) → U10_GGG(T118, half60_in_ga(s(T117)))
U10_GGG(T118, half60_out_ga(T120)) → TIMES69_IN_GGG(T120, T118, 0)
TIMES69_IN_GGG(s(T117), T118, 0) → U9_GGG(T117, T118, even36_in_gg(s(T117), true))

The TRS R consists of the following rules:

half60_in_ga(s(s(T89))) → U3_ga(half60_in_ga(T89))
half60_in_ga(0) → half60_out_ga(0)
U3_ga(half60_out_ga(X156)) → half60_out_ga(s(X156))
even36_in_gg(0, true) → even36_out_gg

The set Q consists of the following terms:

even36_in_gg(x0, x1)
half60_in_ga(x0)
U2_gg(x0)
U3_ga(x0)

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

(222) DependencyGraphProof (EQUIVALENT transformation)

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

(223) TRUE

(224) Obligation:

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

PLUS19_IN_GGA(s(T49), T50, s(T52)) → PLUS19_IN_GGA(T49, T50, T52)

The TRS R consists of the following rules:

times1_in_gga(0, T5, 0) → times1_out_gga(0, T5, 0)
times1_in_gga(s(0), T23, T25) → U44_gga(T23, T25, times18_in_ga(T23, X45))
times18_in_ga(T35, 0) → times18_out_ga(T35, 0)
U44_gga(T23, T25, times18_out_ga(T23, X45)) → times1_out_gga(s(0), T23, T25)
times1_in_gga(s(0), T23, T25) → U45_gga(T23, T25, times18_in_ga(T23, T29))
U45_gga(T23, T25, times18_out_ga(T23, T29)) → U46_gga(T23, T25, plus19_in_gga(T23, T29, T25))
plus19_in_gga(0, T42, T42) → plus19_out_gga(0, T42, T42)
plus19_in_gga(s(T49), T50, s(T52)) → U1_gga(T49, T50, T52, plus19_in_gga(T49, T50, T52))
U1_gga(T49, T50, T52, plus19_out_gga(T49, T50, T52)) → plus19_out_gga(s(T49), T50, s(T52))
U46_gga(T23, T25, plus19_out_gga(T23, T29, T25)) → times1_out_gga(s(0), T23, T25)
times1_in_gga(s(s(T57)), T10, T12) → U47_gga(T57, T10, T12, even36_in_ga(T57, X90))
even36_in_ga(0, true) → even36_out_ga(0, true)
even36_in_ga(s(0), false) → even36_out_ga(s(0), false)
even36_in_ga(s(s(T61)), X101) → U2_ga(T61, X101, even36_in_ga(T61, X101))
U2_ga(T61, X101, even36_out_ga(T61, X101)) → even36_out_ga(s(s(T61)), X101)
U47_gga(T57, T10, T12, even36_out_ga(T57, X90)) → times1_out_gga(s(s(T57)), T10, T12)
times1_in_gga(s(s(T77)), T78, T80) → U48_gga(T77, T78, T80, even36_in_gg(T77, true))
even36_in_gg(0, true) → even36_out_gg(0, true)
even36_in_gg(s(0), false) → even36_out_gg(s(0), false)
even36_in_gg(s(s(T61)), X101) → U2_gg(T61, X101, even36_in_gg(T61, X101))
U2_gg(T61, X101, even36_out_gg(T61, X101)) → even36_out_gg(s(s(T61)), X101)
U48_gga(T77, T78, T80, even36_out_gg(T77, true)) → U49_gga(T77, T78, T80, half56_in_ga(T77, X128))
half56_in_ga(T86, s(X147)) → U43_ga(T86, X147, half60_in_ga(T86, X147))
half60_in_ga(0, 0) → half60_out_ga(0, 0)
half60_in_ga(s(s(T89)), s(X156)) → U3_ga(T89, X156, half60_in_ga(T89, X156))
U3_ga(T89, X156, half60_out_ga(T89, X156)) → half60_out_ga(s(s(T89)), s(X156))
U43_ga(T86, X147, half60_out_ga(T86, X147)) → half56_out_ga(T86, s(X147))
U49_gga(T77, T78, T80, half56_out_ga(T77, X128)) → times1_out_gga(s(s(T77)), T78, T80)
U48_gga(T77, T78, T80, even36_out_gg(T77, true)) → U50_gga(T77, T78, T80, half56_in_ga(T77, T82))
U50_gga(T77, T78, T80, half56_out_ga(T77, T82)) → U51_gga(T77, T78, T80, times69_in_gga(T82, T78, X129))
times69_in_gga(0, T99, 0) → times69_out_gga(0, T99, 0)
times69_in_gga(s(T104), T105, X182) → U4_gga(T104, T105, X182, even36_in_ga(s(T104), X181))
U4_gga(T104, T105, X182, even36_out_ga(s(T104), X181)) → times69_out_gga(s(T104), T105, X182)
times69_in_gga(s(T117), T118, X217) → U5_gga(T117, T118, X217, even36_in_gg(s(T117), true))
U5_gga(T117, T118, X217, even36_out_gg(s(T117), true)) → U6_gga(T117, T118, X217, half60_in_ga(s(T117), X215))
U6_gga(T117, T118, X217, half60_out_ga(s(T117), X215)) → times69_out_gga(s(T117), T118, X217)
U5_gga(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_gga(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_gga(T117, T118, X217, half60_out_ga(s(T117), T120)) → U8_gga(T117, T118, X217, times69_in_gga(T120, T118, X216))
times69_in_gga(s(T117), T118, 0) → U9_gga(T117, T118, even36_in_gg(s(T117), true))
U9_gga(T117, T118, even36_out_gg(s(T117), true)) → U10_gga(T117, T118, half60_in_ga(s(T117), T120))
U10_gga(T117, T118, half60_out_ga(s(T117), T120)) → U11_gga(T117, T118, times69_in_ggg(T120, T118, 0))
times69_in_ggg(0, T99, 0) → times69_out_ggg(0, T99, 0)
times69_in_ggg(s(T104), T105, X182) → U4_ggg(T104, T105, X182, even36_in_ga(s(T104), X181))
U4_ggg(T104, T105, X182, even36_out_ga(s(T104), X181)) → times69_out_ggg(s(T104), T105, X182)
times69_in_ggg(s(T117), T118, X217) → U5_ggg(T117, T118, X217, even36_in_gg(s(T117), true))
U5_ggg(T117, T118, X217, even36_out_gg(s(T117), true)) → U6_ggg(T117, T118, X217, half60_in_ga(s(T117), X215))
U6_ggg(T117, T118, X217, half60_out_ga(s(T117), X215)) → times69_out_ggg(s(T117), T118, X217)
U5_ggg(T117, T118, X217, even36_out_gg(s(T117), true)) → U7_ggg(T117, T118, X217, half60_in_ga(s(T117), T120))
U7_ggg(T117, T118, X217, half60_out_ga(s(T117), T120)) → U8_ggg(T117, T118, X217, times69_in_gga(T120, T118, X216))
times69_in_gga(s(T117), T118, s(s(0))) → U12_gga(T117, T118, even36_in_gg(s(T117), true))
U12_gga(T117, T118, even36_out_gg(s(T117), true)) → U13_gga(T117, T118, half60_in_ga(s(T117), T120))
U13_gga(T117, T118, half60_out_ga(s(T117), T120)) → U14_gga(T117, T118, times69_in_ggg(T120, T118, s(0)))
times69_in_ggg(s(T117), T118, 0) → U9_ggg(T117, T118, even36_in_gg(s(T117), true))
U9_ggg(T117, T118, even36_out_gg(s(T117), true)) → U10_ggg(T117, T118, half60_in_ga(s(T117), T120))
U10_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U11_ggg(T117, T118, times69_in_ggg(T120, T118, 0))
times69_in_ggg(s(T117), T118, s(s(0))) → U12_ggg(T117, T118, even36_in_gg(s(T117), true))
U12_ggg(T117, T118, even36_out_gg(s(T117), true)) → U13_ggg(T117, T118, half60_in_ga(s(T117), T120))
U13_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U14_ggg(T117, T118, times69_in_ggg(T120, T118, s(0)))
times69_in_ggg(s(T117), T118, s(s(s(s(0))))) → U15_ggg(T117, T118, even36_in_gg(s(T117), true))
U15_ggg(T117, T118, even36_out_gg(s(T117), true)) → U16_ggg(T117, T118, half60_in_ga(s(T117), T120))
U16_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U17_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(0))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_ggg(T117, T118, even36_in_gg(s(T117), true))
U18_ggg(T117, T118, even36_out_gg(s(T117), true)) → U19_ggg(T117, T118, half60_in_ga(s(T117), T120))
U19_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U20_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(0)))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → U21_ggg(T117, T118, even36_in_gg(s(T117), true))
U21_ggg(T117, T118, even36_out_gg(s(T117), true)) → U22_ggg(T117, T118, half60_in_ga(s(T117), T120))
U22_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U23_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(0))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U24_ggg(T117, T118, even36_in_gg(s(T117), true))
U24_ggg(T117, T118, even36_out_gg(s(T117), true)) → U25_ggg(T117, T118, half60_in_ga(s(T117), T120))
U25_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U26_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(0)))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U27_ggg(T117, T118, even36_in_gg(s(T117), true))
U27_ggg(T117, T118, even36_out_gg(s(T117), true)) → U28_ggg(T117, T118, half60_in_ga(s(T117), T120))
U28_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U29_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(0))))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U30_ggg(T117, T118, even36_in_gg(s(T117), true))
U30_ggg(T117, T118, even36_out_gg(s(T117), true)) → U31_ggg(T117, T118, half60_in_ga(s(T117), T120))
U31_ggg(T117, T118, half60_out_ga(s(T117), T120)) → U32_ggg(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(s(0)))))))))
times69_in_ggg(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → U33_ggg(T117, T118, X411, even36_in_gg(s(T117), true))
U33_ggg(T117, T118, X411, even36_out_gg(s(T117), true)) → U34_ggg(T117, T118, X411, half60_in_ga(s(T117), T120))
U34_ggg(T117, T118, X411, half60_out_ga(s(T117), T120)) → U35_ggg(T117, T118, X411, times69_in_gga(T120, T118, s(s(s(s(s(s(s(s(T150))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(0))))) → U15_gga(T117, T118, even36_in_gg(s(T117), true))
U15_gga(T117, T118, even36_out_gg(s(T117), true)) → U16_gga(T117, T118, half60_in_ga(s(T117), T120))
U16_gga(T117, T118, half60_out_ga(s(T117), T120)) → U17_gga(T117, T118, times69_in_ggg(T120, T118, s(s(0))))
times69_in_ggg(s(T171), T172, X455) → U37_ggg(T171, T172, X455, even36_in_gg(s(T171), false))
U37_ggg(T171, T172, X455, even36_out_gg(s(T171), false)) → U38_ggg(T171, T172, X455, times69_in_gga(T171, T172, X454))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(0))))))) → U18_gga(T117, T118, even36_in_gg(s(T117), true))
U18_gga(T117, T118, even36_out_gg(s(T117), true)) → U19_gga(T117, T118, half60_in_ga(s(T117), T120))
U19_gga(T117, T118, half60_out_ga(s(T117), T120)) → U20_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(0)))))
U20_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(0))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(0)))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(0))))))))) → U21_gga(T117, T118, even36_in_gg(s(T117), true))
U21_gga(T117, T118, even36_out_gg(s(T117), true)) → U22_gga(T117, T118, half60_in_ga(s(T117), T120))
U22_gga(T117, T118, half60_out_ga(s(T117), T120)) → U23_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(0))))))
U23_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(0)))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(0)))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U24_gga(T117, T118, even36_in_gg(s(T117), true))
U24_gga(T117, T118, even36_out_gg(s(T117), true)) → U25_gga(T117, T118, half60_in_ga(s(T117), T120))
U25_gga(T117, T118, half60_out_ga(s(T117), T120)) → U26_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(0)))))))
U26_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(0))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0)))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U27_gga(T117, T118, even36_in_gg(s(T117), true))
U27_gga(T117, T118, even36_out_gg(s(T117), true)) → U28_gga(T117, T118, half60_in_ga(s(T117), T120))
U28_gga(T117, T118, half60_out_ga(s(T117), T120)) → U29_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(0))))))))
U29_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(0)))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U30_gga(T117, T118, even36_in_gg(s(T117), true))
U30_gga(T117, T118, even36_out_gg(s(T117), true)) → U31_gga(T117, T118, half60_in_ga(s(T117), T120))
U31_gga(T117, T118, half60_out_ga(s(T117), T120)) → U32_gga(T117, T118, times69_in_ggg(T120, T118, s(s(s(s(s(s(s(0)))))))))
U32_gga(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(s(0))))))))) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
times69_in_gga(s(T117), T118, s(s(s(s(s(s(s(s(X411))))))))) → U33_gga(T117, T118, X411, even36_in_gg(s(T117), true))
U33_gga(T117, T118, X411, even36_out_gg(s(T117), true)) → U34_gga(T117, T118, X411, half60_in_ga(s(T117), T120))
U34_gga(T117, T118, X411, half60_out_ga(s(T117), T120)) → U35_gga(T117, T118, X411, times69_in_gga(T120, T118, s(s(s(s(s(s(s(s(T150))))))))))
times69_in_gga(s(T171), T172, X455) → U37_gga(T171, T172, X455, even36_in_gg(s(T171), false))
U37_gga(T171, T172, X455, even36_out_gg(s(T171), false)) → U38_gga(T171, T172, X455, times69_in_gga(T171, T172, X454))
U38_gga(T171, T172, X455, times69_out_gga(T171, T172, X454)) → times69_out_gga(s(T171), T172, X455)
U37_gga(T171, T172, X455, even36_out_gg(s(T171), false)) → U39_gga(T171, T172, X455, times69_in_gga(T171, T172, T175))
U39_gga(T171, T172, X455, times69_out_gga(T171, T172, T175)) → U40_gga(T171, T172, X455, plus166_in_gaa(T172, T175, X455))
plus166_in_gaa(0, T184, T184) → plus166_out_gaa(0, T184, T184)
plus166_in_gaa(s(T189), T190, s(X482)) → U42_gaa(T189, T190, X482, plus166_in_gaa(T189, T190, X482))
U42_gaa(T189, T190, X482, plus166_out_gaa(T189, T190, X482)) → plus166_out_gaa(s(T189), T190, s(X482))
U40_gga(T171, T172, X455, plus166_out_gaa(T172, T175, X455)) → times69_out_gga(s(T171), T172, X455)
U35_gga(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → U36_gga(T117, T118, X411, plus154_in_aaa(T150, s(s(s(s(s(s(s(T150))))))), X411))
plus154_in_aaa(0, T158, s(T158)) → plus154_out_aaa(0, T158, s(T158))
plus154_in_aaa(s(T163), T164, s(X436)) → U41_aaa(T163, T164, X436, plus154_in_aaa(T163, T164, X436))
U41_aaa(T163, T164, X436, plus154_out_aaa(T163, T164, X436)) → plus154_out_aaa(s(T163), T164, s(X436))
U36_gga(T117, T118, X411, plus154_out_aaa(T150, s(s(s(s(s(s(s(T150))))))), X411)) → times69_out_gga(s(T117), T118, s(s(s(s(s(s(s(s(X411)))))))))
U38_ggg(T171, T172, X455, times69_out_gga(T171, T172, X454)) → times69_out_ggg(s(T171), T172, X455)
U37_ggg(T171, T172, X455, even36_out_gg(s(T171), false)) → U39_ggg(T171, T172, X455, times69_in_gga(T171, T172, T175))
U39_ggg(T171, T172, X455, times69_out_gga(T171, T172, T175)) → U40_ggg(T171, T172, X455, plus166_in_gag(T172, T175, X455))
plus166_in_gag(0, T184, T184) → plus166_out_gag(0, T184, T184)
plus166_in_gag(s(T189), T190, s(X482)) → U42_gag(T189, T190, X482, plus166_in_gag(T189, T190, X482))
U42_gag(T189, T190, X482, plus166_out_gag(T189, T190, X482)) → plus166_out_gag(s(T189), T190, s(X482))
U40_ggg(T171, T172, X455, plus166_out_gag(T172, T175, X455)) → times69_out_ggg(s(T171), T172, X455)
U17_gga(T117, T118, times69_out_ggg(T120, T118, s(s(0)))) → times69_out_gga(s(T117), T118, s(s(s(s(0)))))
U35_ggg(T117, T118, X411, times69_out_gga(T120, T118, s(s(s(s(s(s(s(s(T150)))))))))) → U36_ggg(T117, T118, X411, plus154_in_aag(T150, s(s(s(s(s(s(s(T150))))))), X411))
plus154_in_aag(0, T158, s(T158)) → plus154_out_aag(0, T158, s(T158))
plus154_in_aag(s(T163), T164, s(X436)) → U41_aag(T163, T164, X436, plus154_in_aag(T163, T164, X436))
U41_aag(T163, T164, X436, plus154_out_aag(T163, T164, X436)) → plus154_out_aag(s(T163), T164, s(X436))
U36_ggg(T117, T118, X411, plus154_out_aag(T150, s(s(s(s(s(s(s(T150))))))), X411)) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(X411)))))))))
U32_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(s(0))))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
U29_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(s(0)))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
U26_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(s(0))))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(s(s(0)))))))))))
U23_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(s(0)))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(s(s(0)))))))))
U20_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(s(0))))) → times69_out_ggg(s(T117), T118, s(s(s(s(s(s(0)))))))
U17_ggg(T117, T118, times69_out_ggg(T120, T118, s(s(0)))) → times69_out_ggg(s(T117), T118, s(s(s(s(0)))))
U14_ggg(T117, T118, times69_out_ggg(T120, T118, s(0))) → times69_out_ggg(s(T117), T118, s(s(0)))
U11_ggg(T117, T118, times69_out_ggg(T120, T118, 0)) → times69_out_ggg(s(T117), T118, 0)
U14_gga(T117, T118, times69_out_ggg(T120, T118, s(0))) → times69_out_gga(s(T117), T118, s(s(0)))
U8_ggg(T117, T118, X217, times69_out_gga(T120, T118, X216)) → times69_out_ggg(s(T117), T118, X217)
U11_gga(T117, T118, times69_out_ggg(T120, T118, 0)) → times69_out_gga(s(T117), T118, 0)
U8_gga(T117, T118, X217, times69_out_gga(T120, T118, X216)) → times69_out_gga(s(T117), T118, X217)
U51_gga(T77, T78, T80, times69_out_gga(T82, T78, X129)) → times1_out_gga(s(s(T77)), T78, T80)
times1_in_gga(s(s(T77)), T78, 0) → U52_gga(T77, T78, even36_in_gg(T77, true))
U52_gga(T77, T78, even36_out_gg(T77, true)) → U53_gga(T77, T78, half56_in_ga(T77, T82))
U53_gga(T77, T78, half56_out_ga(T77, T82)) → U54_gga(T77, T78, times69_in_ggg(T82, T78, 0))
U54_gga(T77, T78, times69_out_ggg(T82, T78, 0)) → times1_out_gga(s(s(T77)), T78, 0)
times1_in_gga(s(s(T77)), T78, s(s(0))) → U55_gga(T77, T78, even36_in_gg(T77, true))
U55_gga(T77, T78, even36_out_gg(T77, true)) → U56_gga(T77, T78, half56_in_ga(T77, T82))
U56_gga(T77, T78, half56_out_ga(T77, T82)) → U57_gga(T77, T78, times69_in_ggg(T82, T78, s(0)))
U57_gga(T77, T78, times69_out_ggg(T82, T78, s(0))) → times1_out_gga(s(s(T77)), T78, s(s(0)))
times1_in_gga(s(s(T77)), T78, s(s(s(s(0))))) → U58_gga(T77, T78, even36_in_gg(T77, true))
U58_gga(T77, T78, even36_out_gg(T77, true)) → U59_gga(T77, T78, half56_in_ga(T77, T82))
U59_gga(T77, T78, half56_out_ga(T77, T82)) → U60_gga(T77, T78, times69_in_ggg(T82, T78, s(s(0))))
U60_gga(T77, T78, times69_out_ggg(T82, T78, s(s(0)))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(0)))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(0))))))) → U61_gga(T77, T78, even36_in_gg(T77, true))
U61_gga(T77, T78, even36_out_gg(T77, true)) → U62_gga(T77, T78, half56_in_ga(T77, T82))
U62_gga(T77, T78, half56_out_ga(T77, T82)) → U63_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(0)))))
U63_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(0))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(0)))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(0))))))))) → U64_gga(T77, T78, even36_in_gg(T77, true))
U64_gga(T77, T78, even36_out_gg(T77, true)) → U65_gga(T77, T78, half56_in_ga(T77, T82))
U65_gga(T77, T78, half56_out_ga(T77, T82)) → U66_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(0))))))
U66_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(0)))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(0)))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(0))))))))))) → U67_gga(T77, T78, even36_in_gg(T77, true))
U67_gga(T77, T78, even36_out_gg(T77, true)) → U68_gga(T77, T78, half56_in_ga(T77, T82))
U68_gga(T77, T78, half56_out_ga(T77, T82)) → U69_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(0)))))))
U69_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(0))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(0)))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))) → U70_gga(T77, T78, even36_in_gg(T77, true))
U70_gga(T77, T78, even36_out_gg(T77, true)) → U71_gga(T77, T78, half56_in_ga(T77, T82))
U71_gga(T77, T78, half56_out_ga(T77, T82)) → U72_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(s(0))))))))
U72_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(s(0)))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))) → U73_gga(T77, T78, even36_in_gg(T77, true))
U73_gga(T77, T78, even36_out_gg(T77, true)) → U74_gga(T77, T78, half56_in_ga(T77, T82))
U74_gga(T77, T78, half56_out_ga(T77, T82)) → U75_gga(T77, T78, times69_in_ggg(T82, T78, s(s(s(s(s(s(s(0)))))))))
U75_gga(T77, T78, times69_out_ggg(T82, T78, s(s(s(s(s(s(s(0))))))))) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))))
times1_in_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(T248))))))))) → U76_gga(T77, T78, T248, even36_in_gg(T77, true))
U76_gga(T77, T78, T248, even36_out_gg(T77, true)) → U77_gga(T77, T78, T248, half56_in_ga(T77, T82))
U77_gga(T77, T78, T248, half56_out_ga(T77, T82)) → U78_gga(T77, T78, T248, times69_in_gga(T82, T78, s(s(s(s(s(s(s(s(T246))))))))))
U78_gga(T77, T78, T248, times69_out_gga(T82, T78, s(s(s(s(s(s(s(s(T246)))))))))) → U79_gga(T77, T78, T248, plus19_in_aaa(T246, s(s(s(s(s(s(s(s(T246)))))))), T248))
plus19_in_aaa(0, T42, T42) → plus19_out_aaa(0, T42, T42)
plus19_in_aaa(s(T49), T50, s(T52)) → U1_aaa(T49, T50, T52, plus19_in_aaa(T49, T50, T52))
U1_aaa(T49, T50, T52, plus19_out_aaa(T49, T50, T52)) → plus19_out_aaa(s(T49), T50, s(T52))
U79_gga(T77, T78, T248, plus19_out_aaa(T246, s(s(s(s(s(s(s(s(T246)))))))), T248)) → times1_out_gga(s(s(T77)), T78, s(s(s(s(s(s(s(s(T248)))))))))
times1_in_gga(s(s(T258)), T259, T261) → U80_gga(T258, T259, T261, even36_in_gg(T258, false))
U80_gga(T258, T259, T261, even36_out_gg(T258, false)) → U81_gga(T258, T259, T261, times69_in_gga(s(T258), T259, X662))
U81_gga(T258, T259, T261, times69_out_gga(s(T258), T259, X662)) → times1_out_gga(s(s(T258)), T259, T261)
U80_gga(T258, T259, T261, even36_out_gg(T258, false)) → U82_gga(T258, T259, T261, times69_in_gga(s(T258), T259, T264))
U82_gga(T258, T259, T261, times69_out_gga(s(T258), T259, T264)) → U83_gga(T258, T259, T261, plus19_in_gaa(T259, T264, T261))
plus19_in_gaa(0, T42, T42) → plus19_out_gaa(0, T42, T42)
plus19_in_gaa(s(T49), T50, s(T52)) → U1_gaa(T49, T50, T52, plus19_in_gaa(T49, T50, T52))
U1_gaa(T49, T50, T52, plus19_out_gaa(T49, T50, T52)) → plus19_out_gaa(s(T49), T50, s(T52))
U83_gga(T258, T259, T261, plus19_out_gaa(T259, T264, T261)) → times1_out_gga(s(s(T258)), T259, T261)

The argument filtering Pi contains the following mapping:
times1_in_gga(x1, x2, x3)  =  times1_in_gga(x1, x2)
0  =  0
times1_out_gga(x1, x2, x3)  =  times1_out_gga
s(x1)  =  s(x1)
U44_gga(x1, x2, x3)  =  U44_gga(x3)
times18_in_ga(x1, x2)  =  times18_in_ga(x1)
times18_out_ga(x1, x2)  =  times18_out_ga(x2)
U45_gga(x1, x2, x3)  =  U45_gga(x1, x3)
U46_gga(x1, x2, x3)  =  U46_gga(x3)
plus19_in_gga(x1, x2, x3)  =  plus19_in_gga(x1, x2)
plus19_out_gga(x1, x2, x3)  =  plus19_out_gga(x3)
U1_gga(x1, x2, x3, x4)  =  U1_gga(x4)
U47_gga(x1, x2, x3, x4)  =  U47_gga(x4)
even36_in_ga(x1, x2)  =  even36_in_ga(x1)
even36_out_ga(x1, x2)  =  even36_out_ga(x2)
U2_ga(x1, x2, x3)  =  U2_ga(x3)
U48_gga(x1, x2, x3, x4)  =  U48_gga(x1, x2, x4)
even36_in_gg(x1, x2)  =  even36_in_gg(x1, x2)
true  =  true
even36_out_gg(x1, x2)  =  even36_out_gg
false  =  false
U2_gg(x1, x2, x3)  =  U2_gg(x3)
U49_gga(x1, x2, x3, x4)  =  U49_gga(x4)
half56_in_ga(x1, x2)  =  half56_in_ga(x1)
U43_ga(x1, x2, x3)  =  U43_ga(x3)
half60_in_ga(x1, x2)  =  half60_in_ga(x1)
half60_out_ga(x1, x2)  =  half60_out_ga(x2)
U3_ga(x1, x2, x3)  =  U3_ga(x3)
half56_out_ga(x1, x2)  =  half56_out_ga(x2)
U50_gga(x1, x2, x3, x4)  =  U50_gga(x2, x4)
U51_gga(x1, x2, x3, x4)  =  U51_gga(x4)
times69_in_gga(x1, x2, x3)  =  times69_in_gga(x1, x2)
times69_out_gga(x1, x2, x3)  =  times69_out_gga
U4_gga(x1, x2, x3, x4)  =  U4_gga(x4)
U5_gga(x1, x2, x3, x4)  =  U5_gga(x1, x2, x4)
U6_gga(x1, x2, x3, x4)  =  U6_gga(x4)
U7_gga(x1, x2, x3, x4)  =  U7_gga(x2, x4)
U8_gga(x1, x2, x3, x4)  =  U8_gga(x4)
U9_gga(x1, x2, x3)  =  U9_gga(x1, x2, x3)
U10_gga(x1, x2, x3)  =  U10_gga(x2, x3)
U11_gga(x1, x2, x3)  =  U11_gga(x3)
times69_in_ggg(x1, x2, x3)  =  times69_in_ggg(x1, x2, x3)
times69_out_ggg(x1, x2, x3)  =  times69_out_ggg
U4_ggg(x1, x2, x3, x4)  =  U4_ggg(x4)
U5_ggg(x1, x2, x3, x4)  =  U5_ggg(x1, x2, x4)
U6_ggg(x1, x2, x3, x4)  =  U6_ggg(x4)
U7_ggg(x1, x2, x3, x4)  =  U7_ggg(x2, x4)
U8_ggg(x1, x2, x3, x4)  =  U8_ggg(x4)
U12_gga(x1, x2, x3)  =  U12_gga(x1, x2, x3)
U13_gga(x1, x2, x3)  =  U13_gga(x2, x3)
U14_gga(x1, x2, x3)  =  U14_gga(x3)
U9_ggg(x1, x2, x3)  =  U9_ggg(x1, x2, x3)
U10_ggg(x1, x2, x3)  =  U10_ggg(x2, x3)
U11_ggg(x1, x2, x3)  =  U11_ggg(x3)
U12_ggg(x1, x2, x3)  =  U12_ggg(x1, x2, x3)
U13_ggg(x1, x2, x3)  =  U13_ggg(x2, x3)
U14_ggg(x1, x2, x3)  =  U14_ggg(x3)
U15_ggg(x1, x2, x3)  =  U15_ggg(x1, x2, x3)
U16_ggg(x1, x2, x3)  =  U16_ggg(x2, x3)
U17_ggg(x1, x2, x3)  =  U17_ggg(x3)
U18_ggg(x1, x2, x3)  =  U18_ggg(x1, x2, x3)
U19_ggg(x1, x2, x3)  =  U19_ggg(x2, x3)
U20_ggg(x1, x2, x3)  =  U20_ggg(x3)
U21_ggg(x1, x2, x3)  =  U21_ggg(x1, x2, x3)
U22_ggg(x1, x2, x3)  =  U22_ggg(x2, x3)
U23_ggg(x1, x2, x3)  =  U23_ggg(x3)
U24_ggg(x1, x2, x3)  =  U24_ggg(x1, x2, x3)
U25_ggg(x1, x2, x3)  =  U25_ggg(x2, x3)
U26_ggg(x1, x2, x3)  =  U26_ggg(x3)
U27_ggg(x1, x2, x3)  =  U27_ggg(x1, x2, x3)
U28_ggg(x1, x2, x3)  =  U28_ggg(x2, x3)
U29_ggg(x1, x2, x3)  =  U29_ggg(x3)
U30_ggg(x1, x2, x3)  =  U30_ggg(x1, x2, x3)
U31_ggg(x1, x2, x3)  =  U31_ggg(x2, x3)
U32_ggg(x1, x2, x3)  =  U32_ggg(x3)
U33_ggg(x1, x2, x3, x4)  =  U33_ggg(x1, x2, x3, x4)
U34_ggg(x1, x2, x3, x4)  =  U34_ggg(x2, x3, x4)
U35_ggg(x1, x2, x3, x4)  =  U35_ggg(x3, x4)
U15_gga(x1, x2, x3)  =  U15_gga(x1, x2, x3)
U16_gga(x1, x2, x3)  =  U16_gga(x2, x3)
U17_gga(x1, x2, x3)  =  U17_gga(x3)
U37_ggg(x1, x2, x3, x4)  =  U37_ggg(x1, x2, x3, x4)
U38_ggg(x1, x2, x3, x4)  =  U38_ggg(x4)
U18_gga(x1, x2, x3)  =  U18_gga(x1, x2, x3)
U19_gga(x1, x2, x3)  =  U19_gga(x2, x3)
U20_gga(x1, x2, x3)  =  U20_gga(x3)
U21_gga(x1, x2, x3)  =  U21_gga(x1, x2, x3)
U22_gga(x1, x2, x3)  =  U22_gga(x2, x3)
U23_gga(x1, x2, x3)  =  U23_gga(x3)
U24_gga(x1, x2, x3)  =  U24_gga(x1, x2, x3)
U25_gga(x1, x2, x3)  =  U25_gga(x2, x3)
U26_gga(x1, x2, x3)  =  U26_gga(x3)
U27_gga(x1, x2, x3)  =  U27_gga(x1, x2, x3)
U28_gga(x1, x2, x3)  =  U28_gga(x2, x3)
U29_gga(x1, x2, x3)  =  U29_gga(x3)
U30_gga(x1, x2, x3)  =  U30_gga(x1, x2, x3)
U31_gga(x1, x2, x3)  =  U31_gga(x2, x3)
U32_gga(x1, x2, x3)  =  U32_gga(x3)
U33_gga(x1, x2, x3, x4)  =  U33_gga(x1, x2, x4)
U34_gga(x1, x2, x3, x4)  =  U34_gga(x2, x4)
U35_gga(x1, x2, x3, x4)  =  U35_gga(x4)
U37_gga(x1, x2, x3, x4)  =  U37_gga(x1, x2, x4)
U38_gga(x1, x2, x3, x4)  =  U38_gga(x4)
U39_gga(x1, x2, x3, x4)  =  U39_gga(x2, x4)
U40_gga(x1, x2, x3, x4)  =  U40_gga(x4)
plus166_in_gaa(x1, x2, x3)  =  plus166_in_gaa(x1)
plus166_out_gaa(x1, x2, x3)  =  plus166_out_gaa
U42_gaa(x1, x2, x3, x4)  =  U42_gaa(x4)
U36_gga(x1, x2, x3, x4)  =  U36_gga(x4)
plus154_in_aaa(x1, x2, x3)  =  plus154_in_aaa
plus154_out_aaa(x1, x2, x3)  =  plus154_out_aaa(x1)
U41_aaa(x1, x2, x3, x4)  =  U41_aaa(x4)
U39_ggg(x1, x2, x3, x4)  =  U39_ggg(x2, x3, x4)
U40_ggg(x1, x2, x3, x4)  =  U40_ggg(x4)
plus166_in_gag(x1, x2, x3)  =  plus166_in_gag(x1, x3)
plus166_out_gag(x1, x2, x3)  =  plus166_out_gag(x2)
U42_gag(x1, x2, x3, x4)  =  U42_gag(x4)
U36_ggg(x1, x2, x3, x4)  =  U36_ggg(x4)
plus154_in_aag(x1, x2, x3)  =  plus154_in_aag(x3)
plus154_out_aag(x1, x2, x3)  =  plus154_out_aag(x1, x2)
U41_aag(x1, x2, x3, x4)  =  U41_aag(x4)
U52_gga(x1, x2, x3)  =  U52_gga(x1, x2, x3)
U53_gga(x1, x2, x3)  =  U53_gga(x2, x3)
U54_gga(x1, x2, x3)  =  U54_gga(x3)
U55_gga(x1, x2, x3)  =  U55_gga(x1, x2, x3)
U56_gga(x1, x2, x3)  =  U56_gga(x2, x3)
U57_gga(x1, x2, x3)  =  U57_gga(x3)
U58_gga(x1, x2, x3)  =  U58_gga(x1, x2, x3)
U59_gga(x1, x2, x3)  =  U59_gga(x2, x3)
U60_gga(x1, x2, x3)  =  U60_gga(x3)
U61_gga(x1, x2, x3)  =  U61_gga(x1, x2, x3)
U62_gga(x1, x2, x3)  =  U62_gga(x2, x3)
U63_gga(x1, x2, x3)  =  U63_gga(x3)
U64_gga(x1, x2, x3)  =  U64_gga(x1, x2, x3)
U65_gga(x1, x2, x3)  =  U65_gga(x2, x3)
U66_gga(x1, x2, x3)  =  U66_gga(x3)
U67_gga(x1, x2, x3)  =  U67_gga(x1, x2, x3)
U68_gga(x1, x2, x3)  =  U68_gga(x2, x3)
U69_gga(x1, x2, x3)  =  U69_gga(x3)
U70_gga(x1, x2, x3)  =  U70_gga(x1, x2, x3)
U71_gga(x1, x2, x3)  =  U71_gga(x2, x3)
U72_gga(x1, x2, x3)  =  U72_gga(x3)
U73_gga(x1, x2, x3)  =  U73_gga(x1, x2, x3)
U74_gga(x1, x2, x3)  =  U74_gga(x2, x3)
U75_gga(x1, x2, x3)  =  U75_gga(x3)
U76_gga(x1, x2, x3, x4)  =  U76_gga(x1, x2, x4)
U77_gga(x1, x2, x3, x4)  =  U77_gga(x2, x4)
U78_gga(x1, x2, x3, x4)  =  U78_gga(x4)
U79_gga(x1, x2, x3, x4)  =  U79_gga(x4)
plus19_in_aaa(x1, x2, x3)  =  plus19_in_aaa
plus19_out_aaa(x1, x2, x3)  =  plus19_out_aaa(x1)
U1_aaa(x1, x2, x3, x4)  =  U1_aaa(x4)
U80_gga(x1, x2, x3, x4)  =  U80_gga(x1, x2, x4)
U81_gga(x1, x2, x3, x4)  =  U81_gga(x4)
U82_gga(x1, x2, x3, x4)  =  U82_gga(x2, x4)
U83_gga(x1, x2, x3, x4)  =  U83_gga(x4)
plus19_in_gaa(x1, x2, x3)  =  plus19_in_gaa(x1)
plus19_out_gaa(x1, x2, x3)  =  plus19_out_gaa
U1_gaa(x1, x2, x3, x4)  =  U1_gaa(x4)
PLUS19_IN_GGA(x1, x2, x3)  =  PLUS19_IN_GGA(x1, x2)

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

(225) UsableRulesProof (EQUIVALENT transformation)

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

(226) Obligation:

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

PLUS19_IN_GGA(s(T49), T50, s(T52)) → PLUS19_IN_GGA(T49, T50, T52)

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

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

(227) PiDPToQDPProof (SOUND transformation)

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

(228) Obligation:

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

PLUS19_IN_GGA(s(T49), T50) → PLUS19_IN_GGA(T49, T50)

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

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

  • PLUS19_IN_GGA(s(T49), T50) → PLUS19_IN_GGA(T49, T50)
    The graph contains the following edges 1 > 1, 2 >= 2

(230) YES